@airtop/sdk 0.1.30-beta0 → 0.1.31-beta0
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/Client.d.ts +3 -0
- package/Client.js +13 -8
- package/api/errors/ForbiddenError.d.ts +8 -0
- package/api/errors/ForbiddenError.js +41 -0
- package/api/errors/UnauthorizedError.d.ts +8 -0
- package/api/errors/UnauthorizedError.js +41 -0
- package/api/errors/index.d.ts +2 -0
- package/api/errors/index.js +2 -0
- package/api/resources/automations/client/Client.d.ts +87 -0
- package/api/resources/automations/client/Client.js +451 -0
- package/api/resources/automations/client/index.d.ts +1 -0
- package/api/resources/automations/client/index.js +17 -0
- package/api/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.d.ts +19 -0
- package/api/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.js +5 -0
- package/api/resources/automations/client/requests/index.d.ts +1 -0
- package/api/resources/automations/client/requests/index.js +2 -0
- package/api/resources/automations/index.d.ts +1 -0
- package/api/resources/automations/index.js +17 -0
- package/api/resources/extensionConfigurations/client/Client.d.ts +0 -10
- package/api/resources/extensionConfigurations/client/Client.js +3 -68
- package/api/resources/extensionConfigurations/client/index.d.ts +1 -1
- package/api/resources/extensionConfigurations/client/index.js +0 -15
- package/api/resources/index.d.ts +2 -1
- package/api/resources/index.js +3 -2
- package/api/resources/profiles/client/Client.js +2 -2
- package/api/resources/requests/client/Client.js +2 -2
- package/api/resources/sessions/client/Client.js +14 -14
- package/api/resources/sessions/types/SessionsListRequestStatus.d.ts +4 -1
- package/api/resources/sessions/types/SessionsListRequestStatus.js +3 -0
- package/api/resources/windows/client/Client.js +52 -52
- package/api/types/AutomationOutput.d.ts +10 -0
- package/api/types/AutomationOutput.js +5 -0
- package/api/types/DeleteAutomationOutputWrapperBody.d.ts +4 -0
- package/api/types/DeleteAutomationOutputWrapperBody.js +5 -0
- package/api/types/ListAutomationsOutput.d.ts +7 -0
- package/api/types/ListAutomationsOutput.js +5 -0
- package/api/types/Pagination.d.ts +8 -0
- package/api/types/SessionConfigV1.d.ts +0 -2
- package/api/types/index.d.ts +3 -0
- package/api/types/index.js +3 -0
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +13 -8
- package/dist/api/errors/ForbiddenError.d.ts +8 -0
- package/dist/api/errors/ForbiddenError.js +41 -0
- package/dist/api/errors/UnauthorizedError.d.ts +8 -0
- package/dist/api/errors/UnauthorizedError.js +41 -0
- package/dist/api/errors/index.d.ts +2 -0
- package/dist/api/errors/index.js +2 -0
- package/dist/api/resources/automations/client/Client.d.ts +87 -0
- package/dist/api/resources/automations/client/Client.js +451 -0
- package/dist/api/resources/automations/client/index.d.ts +1 -0
- package/dist/api/resources/automations/client/index.js +17 -0
- package/dist/api/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.d.ts +19 -0
- package/dist/api/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.js +5 -0
- package/dist/api/resources/automations/client/requests/index.d.ts +1 -0
- package/dist/api/resources/automations/client/requests/index.js +2 -0
- package/dist/api/resources/automations/index.d.ts +1 -0
- package/dist/api/resources/automations/index.js +17 -0
- package/dist/api/resources/extensionConfigurations/client/Client.d.ts +0 -10
- package/dist/api/resources/extensionConfigurations/client/Client.js +3 -68
- package/dist/api/resources/extensionConfigurations/client/index.d.ts +1 -1
- package/dist/api/resources/extensionConfigurations/client/index.js +0 -15
- 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 +2 -2
- package/dist/api/resources/requests/client/Client.js +2 -2
- package/dist/api/resources/sessions/client/Client.js +14 -14
- package/dist/api/resources/sessions/types/SessionsListRequestStatus.d.ts +4 -1
- package/dist/api/resources/sessions/types/SessionsListRequestStatus.js +3 -0
- package/dist/api/resources/windows/client/Client.js +52 -52
- package/dist/api/types/AutomationOutput.d.ts +10 -0
- package/dist/api/types/AutomationOutput.js +5 -0
- package/dist/api/types/DeleteAutomationOutputWrapperBody.d.ts +4 -0
- package/dist/api/types/DeleteAutomationOutputWrapperBody.js +5 -0
- package/dist/api/types/ListAutomationsOutput.d.ts +7 -0
- package/dist/api/types/ListAutomationsOutput.js +5 -0
- package/dist/api/types/Pagination.d.ts +8 -0
- package/dist/api/types/SessionConfigV1.d.ts +0 -2
- package/dist/api/types/index.d.ts +3 -0
- package/dist/api/types/index.js +3 -0
- package/dist/serialization/resources/automations/client/index.d.ts +1 -0
- package/dist/serialization/resources/automations/client/index.js +17 -0
- package/dist/serialization/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.d.ts +14 -0
- package/dist/serialization/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.js +35 -0
- package/dist/serialization/resources/automations/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/automations/client/requests/index.js +5 -0
- package/dist/serialization/resources/automations/index.d.ts +1 -0
- package/dist/serialization/resources/automations/index.js +17 -0
- package/dist/serialization/resources/index.d.ts +2 -0
- package/dist/serialization/resources/index.js +3 -1
- package/dist/serialization/resources/sessions/types/SessionsListRequestStatus.d.ts +1 -1
- package/dist/serialization/resources/sessions/types/SessionsListRequestStatus.js +1 -1
- package/dist/serialization/types/AutomationOutput.d.ts +16 -0
- package/dist/serialization/types/AutomationOutput.js +37 -0
- package/dist/serialization/types/DeleteAutomationOutputWrapperBody.d.ts +10 -0
- package/dist/serialization/types/DeleteAutomationOutputWrapperBody.js +31 -0
- package/dist/serialization/types/ListAutomationsOutput.d.ts +13 -0
- package/dist/serialization/types/ListAutomationsOutput.js +34 -0
- package/dist/serialization/types/SessionConfigV1.d.ts +0 -1
- package/dist/serialization/types/SessionConfigV1.js +0 -1
- package/dist/serialization/types/index.d.ts +3 -0
- package/dist/serialization/types/index.js +3 -0
- package/package.json +1 -1
- package/reference.md +193 -6
- package/serialization/resources/automations/client/index.d.ts +1 -0
- package/serialization/resources/automations/client/index.js +17 -0
- package/serialization/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.d.ts +14 -0
- package/serialization/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.js +35 -0
- package/serialization/resources/automations/client/requests/index.d.ts +1 -0
- package/serialization/resources/automations/client/requests/index.js +5 -0
- package/serialization/resources/automations/index.d.ts +1 -0
- package/serialization/resources/automations/index.js +17 -0
- package/serialization/resources/index.d.ts +2 -0
- package/serialization/resources/index.js +3 -1
- package/serialization/resources/sessions/types/SessionsListRequestStatus.d.ts +1 -1
- package/serialization/resources/sessions/types/SessionsListRequestStatus.js +1 -1
- package/serialization/types/AutomationOutput.d.ts +16 -0
- package/serialization/types/AutomationOutput.js +37 -0
- package/serialization/types/DeleteAutomationOutputWrapperBody.d.ts +10 -0
- package/serialization/types/DeleteAutomationOutputWrapperBody.js +31 -0
- package/serialization/types/ListAutomationsOutput.d.ts +13 -0
- package/serialization/types/ListAutomationsOutput.js +34 -0
- package/serialization/types/SessionConfigV1.d.ts +0 -1
- package/serialization/types/SessionConfigV1.js +0 -1
- package/serialization/types/index.d.ts +3 -0
- package/serialization/types/index.js +3 -0
@@ -0,0 +1,17 @@
|
|
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("./requests"), exports);
|
package/dist/api/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.d.ts
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
/**
|
5
|
+
* @example
|
6
|
+
* {
|
7
|
+
* description: "description",
|
8
|
+
* id: "id",
|
9
|
+
* orgId: "orgId"
|
10
|
+
* }
|
11
|
+
*/
|
12
|
+
export interface UpdateAutomationDescriptionInputBody {
|
13
|
+
/** New description for the automation */
|
14
|
+
description: string;
|
15
|
+
/** ID of the automation to update */
|
16
|
+
id: string;
|
17
|
+
/** Organization ID */
|
18
|
+
orgId: string;
|
19
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export { type UpdateAutomationDescriptionInputBody } from "./UpdateAutomationDescriptionInputBody";
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from "./client";
|
@@ -0,0 +1,17 @@
|
|
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("./client"), exports);
|
@@ -22,16 +22,6 @@ export declare namespace ExtensionConfigurations {
|
|
22
22
|
export declare class ExtensionConfigurations {
|
23
23
|
protected readonly _options: ExtensionConfigurations.Options;
|
24
24
|
constructor(_options: ExtensionConfigurations.Options);
|
25
|
-
/**
|
26
|
-
* Delete extension configurations matching by name
|
27
|
-
*
|
28
|
-
* @param {Airtop.ExtensionConfigurationDeleteRequest} request
|
29
|
-
* @param {ExtensionConfigurations.RequestOptions} requestOptions - Request-specific configuration.
|
30
|
-
*
|
31
|
-
* @example
|
32
|
-
* await client.extensionConfigurations.extensionConfigurationDelete()
|
33
|
-
*/
|
34
|
-
extensionConfigurationDelete(request?: Airtop.ExtensionConfigurationDeleteRequest, requestOptions?: ExtensionConfigurations.RequestOptions): Promise<void>;
|
35
25
|
/**
|
36
26
|
* Get an extension configuration by name
|
37
27
|
*
|
@@ -43,77 +43,12 @@ const environments = __importStar(require("../../../../environments"));
|
|
43
43
|
const core = __importStar(require("../../../../core"));
|
44
44
|
const Airtop = __importStar(require("../../../index"));
|
45
45
|
const url_join_1 = __importDefault(require("url-join"));
|
46
|
-
const errors = __importStar(require("../../../../errors/index"));
|
47
46
|
const serializers = __importStar(require("../../../../serialization/index"));
|
47
|
+
const errors = __importStar(require("../../../../errors/index"));
|
48
48
|
class ExtensionConfigurations {
|
49
49
|
constructor(_options) {
|
50
50
|
this._options = _options;
|
51
51
|
}
|
52
|
-
/**
|
53
|
-
* Delete extension configurations matching by name
|
54
|
-
*
|
55
|
-
* @param {Airtop.ExtensionConfigurationDeleteRequest} request
|
56
|
-
* @param {ExtensionConfigurations.RequestOptions} requestOptions - Request-specific configuration.
|
57
|
-
*
|
58
|
-
* @example
|
59
|
-
* await client.extensionConfigurations.extensionConfigurationDelete()
|
60
|
-
*/
|
61
|
-
extensionConfigurationDelete(request = {}, requestOptions) {
|
62
|
-
var _a, _b;
|
63
|
-
return __awaiter(this, void 0, void 0, function* () {
|
64
|
-
const { extensionConfigurationNames } = request;
|
65
|
-
const _queryParams = {};
|
66
|
-
if (extensionConfigurationNames != null) {
|
67
|
-
if (Array.isArray(extensionConfigurationNames)) {
|
68
|
-
_queryParams["extensionConfigurationNames"] = extensionConfigurationNames.map((item) => item);
|
69
|
-
}
|
70
|
-
else {
|
71
|
-
_queryParams["extensionConfigurationNames"] = extensionConfigurationNames;
|
72
|
-
}
|
73
|
-
}
|
74
|
-
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
75
|
-
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.AirtopEnvironment.Default, "extension-configuration"),
|
76
|
-
method: "DELETE",
|
77
|
-
headers: {
|
78
|
-
Authorization: yield this._getAuthorizationHeader(),
|
79
|
-
"X-Fern-Language": "JavaScript",
|
80
|
-
"X-Fern-SDK-Name": "@airtop/sdk",
|
81
|
-
"X-Fern-SDK-Version": "0.1.27-beta0",
|
82
|
-
"User-Agent": "@airtop/sdk/0.1.27-beta0",
|
83
|
-
"X-Fern-Runtime": core.RUNTIME.type,
|
84
|
-
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
85
|
-
},
|
86
|
-
contentType: "application/json",
|
87
|
-
queryParameters: _queryParams,
|
88
|
-
requestType: "json",
|
89
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
90
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
91
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
92
|
-
});
|
93
|
-
if (_response.ok) {
|
94
|
-
return;
|
95
|
-
}
|
96
|
-
if (_response.error.reason === "status-code") {
|
97
|
-
throw new errors.AirtopError({
|
98
|
-
statusCode: _response.error.statusCode,
|
99
|
-
body: _response.error.body,
|
100
|
-
});
|
101
|
-
}
|
102
|
-
switch (_response.error.reason) {
|
103
|
-
case "non-json":
|
104
|
-
throw new errors.AirtopError({
|
105
|
-
statusCode: _response.error.statusCode,
|
106
|
-
body: _response.error.rawBody,
|
107
|
-
});
|
108
|
-
case "timeout":
|
109
|
-
throw new errors.AirtopTimeoutError();
|
110
|
-
case "unknown":
|
111
|
-
throw new errors.AirtopError({
|
112
|
-
message: _response.error.errorMessage,
|
113
|
-
});
|
114
|
-
}
|
115
|
-
});
|
116
|
-
}
|
117
52
|
/**
|
118
53
|
* Get an extension configuration by name
|
119
54
|
*
|
@@ -137,8 +72,8 @@ class ExtensionConfigurations {
|
|
137
72
|
Authorization: yield this._getAuthorizationHeader(),
|
138
73
|
"X-Fern-Language": "JavaScript",
|
139
74
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
140
|
-
"X-Fern-SDK-Version": "0.1.
|
141
|
-
"User-Agent": "@airtop/sdk/0.1.
|
75
|
+
"X-Fern-SDK-Version": "0.1.31-beta0",
|
76
|
+
"User-Agent": "@airtop/sdk/0.1.31-beta0",
|
142
77
|
"X-Fern-Runtime": core.RUNTIME.type,
|
143
78
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
144
79
|
},
|
@@ -1 +1 @@
|
|
1
|
-
export
|
1
|
+
export {};
|
@@ -1,17 +1,2 @@
|
|
1
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
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
-
__exportStar(require("./requests"), exports);
|
@@ -2,10 +2,11 @@ export * as windows from "./windows";
|
|
2
2
|
export * from "./windows/types";
|
3
3
|
export * as sessions from "./sessions";
|
4
4
|
export * from "./sessions/types";
|
5
|
+
export * as automations from "./automations";
|
5
6
|
export * as extensionConfigurations from "./extensionConfigurations";
|
6
7
|
export * as profiles from "./profiles";
|
7
8
|
export * as requests from "./requests";
|
8
9
|
export * from "./windows/client/requests";
|
9
|
-
export * from "./
|
10
|
+
export * from "./automations/client/requests";
|
10
11
|
export * from "./profiles/client/requests";
|
11
12
|
export * from "./sessions/client/requests";
|
@@ -26,15 +26,16 @@ 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.requests = exports.profiles = exports.extensionConfigurations = exports.sessions = exports.windows = void 0;
|
29
|
+
exports.requests = exports.profiles = exports.extensionConfigurations = exports.automations = exports.sessions = exports.windows = void 0;
|
30
30
|
exports.windows = __importStar(require("./windows"));
|
31
31
|
__exportStar(require("./windows/types"), exports);
|
32
32
|
exports.sessions = __importStar(require("./sessions"));
|
33
33
|
__exportStar(require("./sessions/types"), exports);
|
34
|
+
exports.automations = __importStar(require("./automations"));
|
34
35
|
exports.extensionConfigurations = __importStar(require("./extensionConfigurations"));
|
35
36
|
exports.profiles = __importStar(require("./profiles"));
|
36
37
|
exports.requests = __importStar(require("./requests"));
|
37
38
|
__exportStar(require("./windows/client/requests"), exports);
|
38
|
-
__exportStar(require("./
|
39
|
+
__exportStar(require("./automations/client/requests"), exports);
|
39
40
|
__exportStar(require("./profiles/client/requests"), exports);
|
40
41
|
__exportStar(require("./sessions/client/requests"), exports);
|
@@ -84,8 +84,8 @@ class Profiles {
|
|
84
84
|
Authorization: yield this._getAuthorizationHeader(),
|
85
85
|
"X-Fern-Language": "JavaScript",
|
86
86
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
87
|
-
"X-Fern-SDK-Version": "0.1.
|
88
|
-
"User-Agent": "@airtop/sdk/0.1.
|
87
|
+
"X-Fern-SDK-Version": "0.1.31-beta0",
|
88
|
+
"User-Agent": "@airtop/sdk/0.1.31-beta0",
|
89
89
|
"X-Fern-Runtime": core.RUNTIME.type,
|
90
90
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
91
91
|
},
|
@@ -65,8 +65,8 @@ class Requests {
|
|
65
65
|
Authorization: yield this._getAuthorizationHeader(),
|
66
66
|
"X-Fern-Language": "JavaScript",
|
67
67
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
68
|
-
"X-Fern-SDK-Version": "0.1.
|
69
|
-
"User-Agent": "@airtop/sdk/0.1.
|
68
|
+
"X-Fern-SDK-Version": "0.1.31-beta0",
|
69
|
+
"User-Agent": "@airtop/sdk/0.1.31-beta0",
|
70
70
|
"X-Fern-Runtime": core.RUNTIME.type,
|
71
71
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
72
72
|
},
|
@@ -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.31-beta0",
|
98
|
+
"User-Agent": "@airtop/sdk/0.1.31-beta0",
|
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.31-beta0",
|
184
|
+
"User-Agent": "@airtop/sdk/0.1.31-beta0",
|
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.31-beta0",
|
249
|
+
"User-Agent": "@airtop/sdk/0.1.31-beta0",
|
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.31-beta0",
|
336
|
+
"User-Agent": "@airtop/sdk/0.1.31-beta0",
|
337
337
|
"X-Fern-Runtime": core.RUNTIME.type,
|
338
338
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
339
339
|
},
|
@@ -388,8 +388,8 @@ class Sessions {
|
|
388
388
|
Authorization: yield this._getAuthorizationHeader(),
|
389
389
|
"X-Fern-Language": "JavaScript",
|
390
390
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
391
|
-
"X-Fern-SDK-Version": "0.1.
|
392
|
-
"User-Agent": "@airtop/sdk/0.1.
|
391
|
+
"X-Fern-SDK-Version": "0.1.31-beta0",
|
392
|
+
"User-Agent": "@airtop/sdk/0.1.31-beta0",
|
393
393
|
"X-Fern-Runtime": core.RUNTIME.type,
|
394
394
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
395
395
|
},
|
@@ -486,8 +486,8 @@ class Sessions {
|
|
486
486
|
Authorization: yield this._getAuthorizationHeader(),
|
487
487
|
"X-Fern-Language": "JavaScript",
|
488
488
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
489
|
-
"X-Fern-SDK-Version": "0.1.
|
490
|
-
"User-Agent": "@airtop/sdk/0.1.
|
489
|
+
"X-Fern-SDK-Version": "0.1.31-beta0",
|
490
|
+
"User-Agent": "@airtop/sdk/0.1.31-beta0",
|
491
491
|
"X-Fern-Runtime": core.RUNTIME.type,
|
492
492
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
493
493
|
},
|
@@ -539,8 +539,8 @@ class Sessions {
|
|
539
539
|
Authorization: yield this._getAuthorizationHeader(),
|
540
540
|
"X-Fern-Language": "JavaScript",
|
541
541
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
542
|
-
"X-Fern-SDK-Version": "0.1.
|
543
|
-
"User-Agent": "@airtop/sdk/0.1.
|
542
|
+
"X-Fern-SDK-Version": "0.1.31-beta0",
|
543
|
+
"User-Agent": "@airtop/sdk/0.1.31-beta0",
|
544
544
|
"X-Fern-Runtime": core.RUNTIME.type,
|
545
545
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
546
546
|
},
|
@@ -4,10 +4,13 @@
|
|
4
4
|
/**
|
5
5
|
* Status of the session to get.
|
6
6
|
*/
|
7
|
-
export declare type SessionsListRequestStatus = "awaitingCapacity" | "initializing" | "running" | "ended";
|
7
|
+
export declare type SessionsListRequestStatus = "awaitingCapacity" | "initializing" | "running" | "ended" | "completed" | "cancelled" | "all";
|
8
8
|
export declare const SessionsListRequestStatus: {
|
9
9
|
readonly AwaitingCapacity: "awaitingCapacity";
|
10
10
|
readonly Initializing: "initializing";
|
11
11
|
readonly Running: "running";
|
12
12
|
readonly Ended: "ended";
|
13
|
+
readonly Completed: "completed";
|
14
|
+
readonly Cancelled: "cancelled";
|
15
|
+
readonly All: "all";
|
13
16
|
};
|