@pulumi/esc-sdk 0.1.0-beta
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/LICENSE +201 -0
- package/README.md +20 -0
- package/esc/index.d.ts +37 -0
- package/esc/index.js +229 -0
- package/esc/index.js.map +1 -0
- package/esc/raw/api.d.ts +1058 -0
- package/esc/raw/api.js +949 -0
- package/esc/raw/api.js.map +1 -0
- package/esc/raw/base.d.ts +66 -0
- package/esc/raw/base.js +59 -0
- package/esc/raw/base.js.map +1 -0
- package/esc/raw/common.d.ts +65 -0
- package/esc/raw/common.js +152 -0
- package/esc/raw/common.js.map +1 -0
- package/esc/raw/configuration.d.ts +91 -0
- package/esc/raw/configuration.js +34 -0
- package/esc/raw/configuration.js.map +1 -0
- package/esc/raw/index.d.ts +13 -0
- package/esc/raw/index.js +33 -0
- package/esc/raw/index.js.map +1 -0
- package/package.json +52 -0
- package/package.json.bak +52 -0
- package/test/client.spec.d.ts +1 -0
- package/test/client.spec.js +181 -0
- package/test/client.spec.js.map +1 -0
package/esc/raw/api.js
ADDED
|
@@ -0,0 +1,949 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// Copyright 2024, Pulumi Corporation. All rights reserved.
|
|
5
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
6
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
7
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
8
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
9
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
10
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
11
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
12
|
+
});
|
|
13
|
+
};
|
|
14
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
15
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
16
|
+
};
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.EscApi = exports.EscApiFactory = exports.EscApiFp = exports.EscApiAxiosParamCreator = void 0;
|
|
19
|
+
const axios_1 = __importDefault(require("axios"));
|
|
20
|
+
// Some imports not used depending on template conditions
|
|
21
|
+
// @ts-ignore
|
|
22
|
+
const common_1 = require("./common");
|
|
23
|
+
// @ts-ignore
|
|
24
|
+
const base_1 = require("./base");
|
|
25
|
+
/**
|
|
26
|
+
* EscApi - axios parameter creator
|
|
27
|
+
* @export
|
|
28
|
+
*/
|
|
29
|
+
const EscApiAxiosParamCreator = function (configuration) {
|
|
30
|
+
return {
|
|
31
|
+
/**
|
|
32
|
+
* Checks an environment definition for errors
|
|
33
|
+
* @summary Checks an environment definition for errors
|
|
34
|
+
* @param {string} orgName Organization name
|
|
35
|
+
* @param {string} body Environment Yaml content
|
|
36
|
+
* @param {*} [options] Override http request option.
|
|
37
|
+
* @throws {RequiredError}
|
|
38
|
+
*/
|
|
39
|
+
checkEnvironmentYaml: (orgName_1, body_1, ...args_1) => __awaiter(this, [orgName_1, body_1, ...args_1], void 0, function* (orgName, body, options = {}) {
|
|
40
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
41
|
+
(0, common_1.assertParamExists)('checkEnvironmentYaml', 'orgName', orgName);
|
|
42
|
+
// verify required parameter 'body' is not null or undefined
|
|
43
|
+
(0, common_1.assertParamExists)('checkEnvironmentYaml', 'body', body);
|
|
44
|
+
const localVarPath = `/environments/{orgName}/yaml/check`
|
|
45
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)));
|
|
46
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
47
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
48
|
+
let baseOptions;
|
|
49
|
+
if (configuration) {
|
|
50
|
+
baseOptions = configuration.baseOptions;
|
|
51
|
+
}
|
|
52
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
53
|
+
const localVarHeaderParameter = {};
|
|
54
|
+
const localVarQueryParameter = {};
|
|
55
|
+
// authentication Authorization required
|
|
56
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
57
|
+
localVarHeaderParameter['Content-Type'] = 'application/x-yaml';
|
|
58
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
59
|
+
localVarHeaderParameter['X-Pulumi-Source'] = 'esc-sdk';
|
|
60
|
+
localVarHeaderParameter['User-Agent'] = 'esc-sdk/ts/0.1.0-dev.0';
|
|
61
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
62
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
63
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
64
|
+
return {
|
|
65
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
66
|
+
options: localVarRequestOptions,
|
|
67
|
+
};
|
|
68
|
+
}),
|
|
69
|
+
/**
|
|
70
|
+
* Creates an environment in the given org with the given name.
|
|
71
|
+
* @summary Create a new environment
|
|
72
|
+
* @param {string} orgName Organization name
|
|
73
|
+
* @param {string} envName Environment name
|
|
74
|
+
* @param {*} [options] Override http request option.
|
|
75
|
+
* @throws {RequiredError}
|
|
76
|
+
*/
|
|
77
|
+
createEnvironment: (orgName_2, envName_1, ...args_2) => __awaiter(this, [orgName_2, envName_1, ...args_2], void 0, function* (orgName, envName, options = {}) {
|
|
78
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
79
|
+
(0, common_1.assertParamExists)('createEnvironment', 'orgName', orgName);
|
|
80
|
+
// verify required parameter 'envName' is not null or undefined
|
|
81
|
+
(0, common_1.assertParamExists)('createEnvironment', 'envName', envName);
|
|
82
|
+
const localVarPath = `/environments/{orgName}/{envName}`
|
|
83
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
84
|
+
.replace(`{${"envName"}}`, encodeURIComponent(String(envName)));
|
|
85
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
86
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
87
|
+
let baseOptions;
|
|
88
|
+
if (configuration) {
|
|
89
|
+
baseOptions = configuration.baseOptions;
|
|
90
|
+
}
|
|
91
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
92
|
+
const localVarHeaderParameter = {};
|
|
93
|
+
const localVarQueryParameter = {};
|
|
94
|
+
// authentication Authorization required
|
|
95
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
96
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
97
|
+
localVarHeaderParameter['X-Pulumi-Source'] = 'esc-sdk';
|
|
98
|
+
localVarHeaderParameter['User-Agent'] = 'esc-sdk/ts/0.1.0-dev.0';
|
|
99
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
100
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
101
|
+
return {
|
|
102
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
103
|
+
options: localVarRequestOptions,
|
|
104
|
+
};
|
|
105
|
+
}),
|
|
106
|
+
/**
|
|
107
|
+
* Reads the definition for the given environment with static secrets in plaintext
|
|
108
|
+
* @summary Reads the definition for the given environment with static secrets in plaintext
|
|
109
|
+
* @param {string} orgName Organization name
|
|
110
|
+
* @param {string} envName Environment name
|
|
111
|
+
* @param {*} [options] Override http request option.
|
|
112
|
+
* @throws {RequiredError}
|
|
113
|
+
*/
|
|
114
|
+
decryptEnvironment: (orgName_3, envName_2, ...args_3) => __awaiter(this, [orgName_3, envName_2, ...args_3], void 0, function* (orgName, envName, options = {}) {
|
|
115
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
116
|
+
(0, common_1.assertParamExists)('decryptEnvironment', 'orgName', orgName);
|
|
117
|
+
// verify required parameter 'envName' is not null or undefined
|
|
118
|
+
(0, common_1.assertParamExists)('decryptEnvironment', 'envName', envName);
|
|
119
|
+
const localVarPath = `/environments/{orgName}/{envName}/decrypt`
|
|
120
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
121
|
+
.replace(`{${"envName"}}`, encodeURIComponent(String(envName)));
|
|
122
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
123
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
124
|
+
let baseOptions;
|
|
125
|
+
if (configuration) {
|
|
126
|
+
baseOptions = configuration.baseOptions;
|
|
127
|
+
}
|
|
128
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
129
|
+
const localVarHeaderParameter = {};
|
|
130
|
+
const localVarQueryParameter = {};
|
|
131
|
+
// authentication Authorization required
|
|
132
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
133
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
134
|
+
localVarHeaderParameter['X-Pulumi-Source'] = 'esc-sdk';
|
|
135
|
+
localVarHeaderParameter['User-Agent'] = 'esc-sdk/ts/0.1.0-dev.0';
|
|
136
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
137
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
138
|
+
return {
|
|
139
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
140
|
+
options: localVarRequestOptions,
|
|
141
|
+
};
|
|
142
|
+
}),
|
|
143
|
+
/**
|
|
144
|
+
* Delete an environment
|
|
145
|
+
* @summary Delete an environment
|
|
146
|
+
* @param {string} orgName Organization name
|
|
147
|
+
* @param {string} envName Environment name
|
|
148
|
+
* @param {*} [options] Override http request option.
|
|
149
|
+
* @throws {RequiredError}
|
|
150
|
+
*/
|
|
151
|
+
deleteEnvironment: (orgName_4, envName_3, ...args_4) => __awaiter(this, [orgName_4, envName_3, ...args_4], void 0, function* (orgName, envName, options = {}) {
|
|
152
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
153
|
+
(0, common_1.assertParamExists)('deleteEnvironment', 'orgName', orgName);
|
|
154
|
+
// verify required parameter 'envName' is not null or undefined
|
|
155
|
+
(0, common_1.assertParamExists)('deleteEnvironment', 'envName', envName);
|
|
156
|
+
const localVarPath = `/environments/{orgName}/{envName}`
|
|
157
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
158
|
+
.replace(`{${"envName"}}`, encodeURIComponent(String(envName)));
|
|
159
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
160
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
161
|
+
let baseOptions;
|
|
162
|
+
if (configuration) {
|
|
163
|
+
baseOptions = configuration.baseOptions;
|
|
164
|
+
}
|
|
165
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
166
|
+
const localVarHeaderParameter = {};
|
|
167
|
+
const localVarQueryParameter = {};
|
|
168
|
+
// authentication Authorization required
|
|
169
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
170
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
171
|
+
localVarHeaderParameter['X-Pulumi-Source'] = 'esc-sdk';
|
|
172
|
+
localVarHeaderParameter['User-Agent'] = 'esc-sdk/ts/0.1.0-dev.0';
|
|
173
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
174
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
175
|
+
return {
|
|
176
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
177
|
+
options: localVarRequestOptions,
|
|
178
|
+
};
|
|
179
|
+
}),
|
|
180
|
+
/**
|
|
181
|
+
* Read an environment
|
|
182
|
+
* @summary Read an environment
|
|
183
|
+
* @param {string} orgName Organization name
|
|
184
|
+
* @param {string} envName Environment name
|
|
185
|
+
* @param {*} [options] Override http request option.
|
|
186
|
+
* @throws {RequiredError}
|
|
187
|
+
*/
|
|
188
|
+
getEnvironment: (orgName_5, envName_4, ...args_5) => __awaiter(this, [orgName_5, envName_4, ...args_5], void 0, function* (orgName, envName, options = {}) {
|
|
189
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
190
|
+
(0, common_1.assertParamExists)('getEnvironment', 'orgName', orgName);
|
|
191
|
+
// verify required parameter 'envName' is not null or undefined
|
|
192
|
+
(0, common_1.assertParamExists)('getEnvironment', 'envName', envName);
|
|
193
|
+
const localVarPath = `/environments/{orgName}/{envName}`
|
|
194
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
195
|
+
.replace(`{${"envName"}}`, encodeURIComponent(String(envName)));
|
|
196
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
197
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
198
|
+
let baseOptions;
|
|
199
|
+
if (configuration) {
|
|
200
|
+
baseOptions = configuration.baseOptions;
|
|
201
|
+
}
|
|
202
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
203
|
+
const localVarHeaderParameter = {};
|
|
204
|
+
const localVarQueryParameter = {};
|
|
205
|
+
// authentication Authorization required
|
|
206
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
207
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
208
|
+
localVarHeaderParameter['X-Pulumi-Source'] = 'esc-sdk';
|
|
209
|
+
localVarHeaderParameter['User-Agent'] = 'esc-sdk/ts/0.1.0-dev.0';
|
|
210
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
211
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
212
|
+
return {
|
|
213
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
214
|
+
options: localVarRequestOptions,
|
|
215
|
+
};
|
|
216
|
+
}),
|
|
217
|
+
/**
|
|
218
|
+
* Returns the ETag for the given environment if it exists.
|
|
219
|
+
* @summary Return an Environment ETag
|
|
220
|
+
* @param {string} orgName Organization name
|
|
221
|
+
* @param {string} envName Environment name
|
|
222
|
+
* @param {*} [options] Override http request option.
|
|
223
|
+
* @throws {RequiredError}
|
|
224
|
+
*/
|
|
225
|
+
getEnvironmentETag: (orgName_6, envName_5, ...args_6) => __awaiter(this, [orgName_6, envName_5, ...args_6], void 0, function* (orgName, envName, options = {}) {
|
|
226
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
227
|
+
(0, common_1.assertParamExists)('getEnvironmentETag', 'orgName', orgName);
|
|
228
|
+
// verify required parameter 'envName' is not null or undefined
|
|
229
|
+
(0, common_1.assertParamExists)('getEnvironmentETag', 'envName', envName);
|
|
230
|
+
const localVarPath = `/environments/{orgName}/{envName}`
|
|
231
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
232
|
+
.replace(`{${"envName"}}`, encodeURIComponent(String(envName)));
|
|
233
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
234
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
235
|
+
let baseOptions;
|
|
236
|
+
if (configuration) {
|
|
237
|
+
baseOptions = configuration.baseOptions;
|
|
238
|
+
}
|
|
239
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'HEAD' }, baseOptions), options);
|
|
240
|
+
const localVarHeaderParameter = {};
|
|
241
|
+
const localVarQueryParameter = {};
|
|
242
|
+
// authentication Authorization required
|
|
243
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
244
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
245
|
+
localVarHeaderParameter['X-Pulumi-Source'] = 'esc-sdk';
|
|
246
|
+
localVarHeaderParameter['User-Agent'] = 'esc-sdk/ts/0.1.0-dev.0';
|
|
247
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
248
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
249
|
+
return {
|
|
250
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
251
|
+
options: localVarRequestOptions,
|
|
252
|
+
};
|
|
253
|
+
}),
|
|
254
|
+
/**
|
|
255
|
+
* List environments in the organization available to the current user
|
|
256
|
+
* @summary List environments in the organization
|
|
257
|
+
* @param {string} orgName Organization name
|
|
258
|
+
* @param {string} [continuationToken] continuation Token from previous query to fetch next page of results
|
|
259
|
+
* @param {*} [options] Override http request option.
|
|
260
|
+
* @throws {RequiredError}
|
|
261
|
+
*/
|
|
262
|
+
listEnvironments: (orgName_7, continuationToken_1, ...args_7) => __awaiter(this, [orgName_7, continuationToken_1, ...args_7], void 0, function* (orgName, continuationToken, options = {}) {
|
|
263
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
264
|
+
(0, common_1.assertParamExists)('listEnvironments', 'orgName', orgName);
|
|
265
|
+
const localVarPath = `/environments/{orgName}`
|
|
266
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)));
|
|
267
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
268
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
269
|
+
let baseOptions;
|
|
270
|
+
if (configuration) {
|
|
271
|
+
baseOptions = configuration.baseOptions;
|
|
272
|
+
}
|
|
273
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
274
|
+
const localVarHeaderParameter = {};
|
|
275
|
+
const localVarQueryParameter = {};
|
|
276
|
+
// authentication Authorization required
|
|
277
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
278
|
+
if (continuationToken !== undefined) {
|
|
279
|
+
localVarQueryParameter['continuationToken'] = continuationToken;
|
|
280
|
+
}
|
|
281
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
282
|
+
localVarHeaderParameter['X-Pulumi-Source'] = 'esc-sdk';
|
|
283
|
+
localVarHeaderParameter['User-Agent'] = 'esc-sdk/ts/0.1.0-dev.0';
|
|
284
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
285
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
286
|
+
return {
|
|
287
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
288
|
+
options: localVarRequestOptions,
|
|
289
|
+
};
|
|
290
|
+
}),
|
|
291
|
+
/**
|
|
292
|
+
* Opens a session the given environment for the indicated duration. This returns a session id that can be used to then read values. The default duration is 1 hour.
|
|
293
|
+
* @summary Open an environment session
|
|
294
|
+
* @param {string} orgName Organization name
|
|
295
|
+
* @param {string} envName Environment name
|
|
296
|
+
* @param {string} [duration] open duration - A duration string is a possibly signed sequence of decimal numbers, each with optional fraction and a unit suffix, such as “300ms”, “1.5h” or “2h45m”. Valid time units are “ns”, “us” (or “µs”), “ms”, “s”, “m”, “h”.
|
|
297
|
+
* @param {*} [options] Override http request option.
|
|
298
|
+
* @throws {RequiredError}
|
|
299
|
+
*/
|
|
300
|
+
openEnvironment: (orgName_8, envName_6, duration_1, ...args_8) => __awaiter(this, [orgName_8, envName_6, duration_1, ...args_8], void 0, function* (orgName, envName, duration, options = {}) {
|
|
301
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
302
|
+
(0, common_1.assertParamExists)('openEnvironment', 'orgName', orgName);
|
|
303
|
+
// verify required parameter 'envName' is not null or undefined
|
|
304
|
+
(0, common_1.assertParamExists)('openEnvironment', 'envName', envName);
|
|
305
|
+
const localVarPath = `/environments/{orgName}/{envName}/open`
|
|
306
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
307
|
+
.replace(`{${"envName"}}`, encodeURIComponent(String(envName)));
|
|
308
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
309
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
310
|
+
let baseOptions;
|
|
311
|
+
if (configuration) {
|
|
312
|
+
baseOptions = configuration.baseOptions;
|
|
313
|
+
}
|
|
314
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
315
|
+
const localVarHeaderParameter = {};
|
|
316
|
+
const localVarQueryParameter = {};
|
|
317
|
+
// authentication Authorization required
|
|
318
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
319
|
+
if (duration !== undefined) {
|
|
320
|
+
localVarQueryParameter['duration'] = duration;
|
|
321
|
+
}
|
|
322
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
323
|
+
localVarHeaderParameter['X-Pulumi-Source'] = 'esc-sdk';
|
|
324
|
+
localVarHeaderParameter['User-Agent'] = 'esc-sdk/ts/0.1.0-dev.0';
|
|
325
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
326
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
327
|
+
return {
|
|
328
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
329
|
+
options: localVarRequestOptions,
|
|
330
|
+
};
|
|
331
|
+
}),
|
|
332
|
+
/**
|
|
333
|
+
* Reads and decrypts secrets including retrieving dynamic secrets from providers.
|
|
334
|
+
* @summary Read an open environment
|
|
335
|
+
* @param {string} orgName Organization name
|
|
336
|
+
* @param {string} envName Environment name
|
|
337
|
+
* @param {string} openSessionID Open session ID returned from environment open
|
|
338
|
+
* @param {*} [options] Override http request option.
|
|
339
|
+
* @throws {RequiredError}
|
|
340
|
+
*/
|
|
341
|
+
readOpenEnvironment: (orgName_9, envName_7, openSessionID_1, ...args_9) => __awaiter(this, [orgName_9, envName_7, openSessionID_1, ...args_9], void 0, function* (orgName, envName, openSessionID, options = {}) {
|
|
342
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
343
|
+
(0, common_1.assertParamExists)('readOpenEnvironment', 'orgName', orgName);
|
|
344
|
+
// verify required parameter 'envName' is not null or undefined
|
|
345
|
+
(0, common_1.assertParamExists)('readOpenEnvironment', 'envName', envName);
|
|
346
|
+
// verify required parameter 'openSessionID' is not null or undefined
|
|
347
|
+
(0, common_1.assertParamExists)('readOpenEnvironment', 'openSessionID', openSessionID);
|
|
348
|
+
const localVarPath = `/environments/{orgName}/{envName}/open/{openSessionID}`
|
|
349
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
350
|
+
.replace(`{${"envName"}}`, encodeURIComponent(String(envName)))
|
|
351
|
+
.replace(`{${"openSessionID"}}`, encodeURIComponent(String(openSessionID)));
|
|
352
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
353
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
354
|
+
let baseOptions;
|
|
355
|
+
if (configuration) {
|
|
356
|
+
baseOptions = configuration.baseOptions;
|
|
357
|
+
}
|
|
358
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
359
|
+
const localVarHeaderParameter = {};
|
|
360
|
+
const localVarQueryParameter = {};
|
|
361
|
+
// authentication Authorization required
|
|
362
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
363
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
364
|
+
localVarHeaderParameter['X-Pulumi-Source'] = 'esc-sdk';
|
|
365
|
+
localVarHeaderParameter['User-Agent'] = 'esc-sdk/ts/0.1.0-dev.0';
|
|
366
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
367
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
368
|
+
return {
|
|
369
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
370
|
+
options: localVarRequestOptions,
|
|
371
|
+
};
|
|
372
|
+
}),
|
|
373
|
+
/**
|
|
374
|
+
* Reads and decrypts secrets including retrieving dynamic secrets from providers.
|
|
375
|
+
* @summary Read an open environment
|
|
376
|
+
* @param {string} orgName Organization name
|
|
377
|
+
* @param {string} envName Environment name
|
|
378
|
+
* @param {string} openSessionID Open session ID returned from environment open
|
|
379
|
+
* @param {string} property Path to a specific property using Pulumi path syntax https://www.pulumi.com/docs/concepts/config/#structured-configuration
|
|
380
|
+
* @param {*} [options] Override http request option.
|
|
381
|
+
* @throws {RequiredError}
|
|
382
|
+
*/
|
|
383
|
+
readOpenEnvironmentProperty: (orgName_10, envName_8, openSessionID_2, property_1, ...args_10) => __awaiter(this, [orgName_10, envName_8, openSessionID_2, property_1, ...args_10], void 0, function* (orgName, envName, openSessionID, property, options = {}) {
|
|
384
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
385
|
+
(0, common_1.assertParamExists)('readOpenEnvironmentProperty', 'orgName', orgName);
|
|
386
|
+
// verify required parameter 'envName' is not null or undefined
|
|
387
|
+
(0, common_1.assertParamExists)('readOpenEnvironmentProperty', 'envName', envName);
|
|
388
|
+
// verify required parameter 'openSessionID' is not null or undefined
|
|
389
|
+
(0, common_1.assertParamExists)('readOpenEnvironmentProperty', 'openSessionID', openSessionID);
|
|
390
|
+
// verify required parameter 'property' is not null or undefined
|
|
391
|
+
(0, common_1.assertParamExists)('readOpenEnvironmentProperty', 'property', property);
|
|
392
|
+
const localVarPath = `/environments/{orgName}/{envName}/open//{openSessionID}`
|
|
393
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
394
|
+
.replace(`{${"envName"}}`, encodeURIComponent(String(envName)))
|
|
395
|
+
.replace(`{${"openSessionID"}}`, encodeURIComponent(String(openSessionID)));
|
|
396
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
397
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
398
|
+
let baseOptions;
|
|
399
|
+
if (configuration) {
|
|
400
|
+
baseOptions = configuration.baseOptions;
|
|
401
|
+
}
|
|
402
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
403
|
+
const localVarHeaderParameter = {};
|
|
404
|
+
const localVarQueryParameter = {};
|
|
405
|
+
// authentication Authorization required
|
|
406
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
407
|
+
if (property !== undefined) {
|
|
408
|
+
localVarQueryParameter['property'] = property;
|
|
409
|
+
}
|
|
410
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
411
|
+
localVarHeaderParameter['X-Pulumi-Source'] = 'esc-sdk';
|
|
412
|
+
localVarHeaderParameter['User-Agent'] = 'esc-sdk/ts/0.1.0-dev.0';
|
|
413
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
414
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
415
|
+
return {
|
|
416
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
417
|
+
options: localVarRequestOptions,
|
|
418
|
+
};
|
|
419
|
+
}),
|
|
420
|
+
/**
|
|
421
|
+
* Validates and updates the given environment\'s definition.
|
|
422
|
+
* @summary Update an existing environment with Yaml file
|
|
423
|
+
* @param {string} orgName Organization name
|
|
424
|
+
* @param {string} envName Environment name
|
|
425
|
+
* @param {string} body Environment Yaml content
|
|
426
|
+
* @param {*} [options] Override http request option.
|
|
427
|
+
* @throws {RequiredError}
|
|
428
|
+
*/
|
|
429
|
+
updateEnvironmentYaml: (orgName_11, envName_9, body_2, ...args_11) => __awaiter(this, [orgName_11, envName_9, body_2, ...args_11], void 0, function* (orgName, envName, body, options = {}) {
|
|
430
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
431
|
+
(0, common_1.assertParamExists)('updateEnvironmentYaml', 'orgName', orgName);
|
|
432
|
+
// verify required parameter 'envName' is not null or undefined
|
|
433
|
+
(0, common_1.assertParamExists)('updateEnvironmentYaml', 'envName', envName);
|
|
434
|
+
// verify required parameter 'body' is not null or undefined
|
|
435
|
+
(0, common_1.assertParamExists)('updateEnvironmentYaml', 'body', body);
|
|
436
|
+
const localVarPath = `/environments/{orgName}/{envName}`
|
|
437
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
438
|
+
.replace(`{${"envName"}}`, encodeURIComponent(String(envName)));
|
|
439
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
440
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
441
|
+
let baseOptions;
|
|
442
|
+
if (configuration) {
|
|
443
|
+
baseOptions = configuration.baseOptions;
|
|
444
|
+
}
|
|
445
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
446
|
+
const localVarHeaderParameter = {};
|
|
447
|
+
const localVarQueryParameter = {};
|
|
448
|
+
// authentication Authorization required
|
|
449
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
450
|
+
localVarHeaderParameter['Content-Type'] = 'application/x-yaml';
|
|
451
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
452
|
+
localVarHeaderParameter['X-Pulumi-Source'] = 'esc-sdk';
|
|
453
|
+
localVarHeaderParameter['User-Agent'] = 'esc-sdk/ts/0.1.0-dev.0';
|
|
454
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
455
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
456
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
457
|
+
return {
|
|
458
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
459
|
+
options: localVarRequestOptions,
|
|
460
|
+
};
|
|
461
|
+
}),
|
|
462
|
+
};
|
|
463
|
+
};
|
|
464
|
+
exports.EscApiAxiosParamCreator = EscApiAxiosParamCreator;
|
|
465
|
+
/**
|
|
466
|
+
* EscApi - functional programming interface
|
|
467
|
+
* @export
|
|
468
|
+
*/
|
|
469
|
+
const EscApiFp = function (configuration) {
|
|
470
|
+
const localVarAxiosParamCreator = (0, exports.EscApiAxiosParamCreator)(configuration);
|
|
471
|
+
return {
|
|
472
|
+
/**
|
|
473
|
+
* Checks an environment definition for errors
|
|
474
|
+
* @summary Checks an environment definition for errors
|
|
475
|
+
* @param {string} orgName Organization name
|
|
476
|
+
* @param {string} body Environment Yaml content
|
|
477
|
+
* @param {*} [options] Override http request option.
|
|
478
|
+
* @throws {RequiredError}
|
|
479
|
+
*/
|
|
480
|
+
checkEnvironmentYaml(orgName, body, options) {
|
|
481
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
482
|
+
var _a, _b, _c;
|
|
483
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.checkEnvironmentYaml(orgName, body, options);
|
|
484
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
485
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EscApi.checkEnvironmentYaml']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
486
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
487
|
+
});
|
|
488
|
+
},
|
|
489
|
+
/**
|
|
490
|
+
* Creates an environment in the given org with the given name.
|
|
491
|
+
* @summary Create a new environment
|
|
492
|
+
* @param {string} orgName Organization name
|
|
493
|
+
* @param {string} envName Environment name
|
|
494
|
+
* @param {*} [options] Override http request option.
|
|
495
|
+
* @throws {RequiredError}
|
|
496
|
+
*/
|
|
497
|
+
createEnvironment(orgName, envName, options) {
|
|
498
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
499
|
+
var _a, _b, _c;
|
|
500
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createEnvironment(orgName, envName, options);
|
|
501
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
502
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EscApi.createEnvironment']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
503
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
504
|
+
});
|
|
505
|
+
},
|
|
506
|
+
/**
|
|
507
|
+
* Reads the definition for the given environment with static secrets in plaintext
|
|
508
|
+
* @summary Reads the definition for the given environment with static secrets in plaintext
|
|
509
|
+
* @param {string} orgName Organization name
|
|
510
|
+
* @param {string} envName Environment name
|
|
511
|
+
* @param {*} [options] Override http request option.
|
|
512
|
+
* @throws {RequiredError}
|
|
513
|
+
*/
|
|
514
|
+
decryptEnvironment(orgName, envName, options) {
|
|
515
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
516
|
+
var _a, _b, _c;
|
|
517
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.decryptEnvironment(orgName, envName, options);
|
|
518
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
519
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EscApi.decryptEnvironment']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
520
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
521
|
+
});
|
|
522
|
+
},
|
|
523
|
+
/**
|
|
524
|
+
* Delete an environment
|
|
525
|
+
* @summary Delete an environment
|
|
526
|
+
* @param {string} orgName Organization name
|
|
527
|
+
* @param {string} envName Environment name
|
|
528
|
+
* @param {*} [options] Override http request option.
|
|
529
|
+
* @throws {RequiredError}
|
|
530
|
+
*/
|
|
531
|
+
deleteEnvironment(orgName, envName, options) {
|
|
532
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
533
|
+
var _a, _b, _c;
|
|
534
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteEnvironment(orgName, envName, options);
|
|
535
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
536
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EscApi.deleteEnvironment']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
537
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
538
|
+
});
|
|
539
|
+
},
|
|
540
|
+
/**
|
|
541
|
+
* Read an environment
|
|
542
|
+
* @summary Read an environment
|
|
543
|
+
* @param {string} orgName Organization name
|
|
544
|
+
* @param {string} envName Environment name
|
|
545
|
+
* @param {*} [options] Override http request option.
|
|
546
|
+
* @throws {RequiredError}
|
|
547
|
+
*/
|
|
548
|
+
getEnvironment(orgName, envName, options) {
|
|
549
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
550
|
+
var _a, _b, _c;
|
|
551
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getEnvironment(orgName, envName, options);
|
|
552
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
553
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EscApi.getEnvironment']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
554
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
555
|
+
});
|
|
556
|
+
},
|
|
557
|
+
/**
|
|
558
|
+
* Returns the ETag for the given environment if it exists.
|
|
559
|
+
* @summary Return an Environment ETag
|
|
560
|
+
* @param {string} orgName Organization name
|
|
561
|
+
* @param {string} envName Environment name
|
|
562
|
+
* @param {*} [options] Override http request option.
|
|
563
|
+
* @throws {RequiredError}
|
|
564
|
+
*/
|
|
565
|
+
getEnvironmentETag(orgName, envName, options) {
|
|
566
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
567
|
+
var _a, _b, _c;
|
|
568
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getEnvironmentETag(orgName, envName, options);
|
|
569
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
570
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EscApi.getEnvironmentETag']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
571
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
572
|
+
});
|
|
573
|
+
},
|
|
574
|
+
/**
|
|
575
|
+
* List environments in the organization available to the current user
|
|
576
|
+
* @summary List environments in the organization
|
|
577
|
+
* @param {string} orgName Organization name
|
|
578
|
+
* @param {string} [continuationToken] continuation Token from previous query to fetch next page of results
|
|
579
|
+
* @param {*} [options] Override http request option.
|
|
580
|
+
* @throws {RequiredError}
|
|
581
|
+
*/
|
|
582
|
+
listEnvironments(orgName, continuationToken, options) {
|
|
583
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
584
|
+
var _a, _b, _c;
|
|
585
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listEnvironments(orgName, continuationToken, options);
|
|
586
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
587
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EscApi.listEnvironments']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
588
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
589
|
+
});
|
|
590
|
+
},
|
|
591
|
+
/**
|
|
592
|
+
* Opens a session the given environment for the indicated duration. This returns a session id that can be used to then read values. The default duration is 1 hour.
|
|
593
|
+
* @summary Open an environment session
|
|
594
|
+
* @param {string} orgName Organization name
|
|
595
|
+
* @param {string} envName Environment name
|
|
596
|
+
* @param {string} [duration] open duration - A duration string is a possibly signed sequence of decimal numbers, each with optional fraction and a unit suffix, such as “300ms”, “1.5h” or “2h45m”. Valid time units are “ns”, “us” (or “µs”), “ms”, “s”, “m”, “h”.
|
|
597
|
+
* @param {*} [options] Override http request option.
|
|
598
|
+
* @throws {RequiredError}
|
|
599
|
+
*/
|
|
600
|
+
openEnvironment(orgName, envName, duration, options) {
|
|
601
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
602
|
+
var _a, _b, _c;
|
|
603
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.openEnvironment(orgName, envName, duration, options);
|
|
604
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
605
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EscApi.openEnvironment']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
606
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
607
|
+
});
|
|
608
|
+
},
|
|
609
|
+
/**
|
|
610
|
+
* Reads and decrypts secrets including retrieving dynamic secrets from providers.
|
|
611
|
+
* @summary Read an open environment
|
|
612
|
+
* @param {string} orgName Organization name
|
|
613
|
+
* @param {string} envName Environment name
|
|
614
|
+
* @param {string} openSessionID Open session ID returned from environment open
|
|
615
|
+
* @param {*} [options] Override http request option.
|
|
616
|
+
* @throws {RequiredError}
|
|
617
|
+
*/
|
|
618
|
+
readOpenEnvironment(orgName, envName, openSessionID, options) {
|
|
619
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
620
|
+
var _a, _b, _c;
|
|
621
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.readOpenEnvironment(orgName, envName, openSessionID, options);
|
|
622
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
623
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EscApi.readOpenEnvironment']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
624
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
625
|
+
});
|
|
626
|
+
},
|
|
627
|
+
/**
|
|
628
|
+
* Reads and decrypts secrets including retrieving dynamic secrets from providers.
|
|
629
|
+
* @summary Read an open environment
|
|
630
|
+
* @param {string} orgName Organization name
|
|
631
|
+
* @param {string} envName Environment name
|
|
632
|
+
* @param {string} openSessionID Open session ID returned from environment open
|
|
633
|
+
* @param {string} property Path to a specific property using Pulumi path syntax https://www.pulumi.com/docs/concepts/config/#structured-configuration
|
|
634
|
+
* @param {*} [options] Override http request option.
|
|
635
|
+
* @throws {RequiredError}
|
|
636
|
+
*/
|
|
637
|
+
readOpenEnvironmentProperty(orgName, envName, openSessionID, property, options) {
|
|
638
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
639
|
+
var _a, _b, _c;
|
|
640
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.readOpenEnvironmentProperty(orgName, envName, openSessionID, property, options);
|
|
641
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
642
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EscApi.readOpenEnvironmentProperty']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
643
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
644
|
+
});
|
|
645
|
+
},
|
|
646
|
+
/**
|
|
647
|
+
* Validates and updates the given environment\'s definition.
|
|
648
|
+
* @summary Update an existing environment with Yaml file
|
|
649
|
+
* @param {string} orgName Organization name
|
|
650
|
+
* @param {string} envName Environment name
|
|
651
|
+
* @param {string} body Environment Yaml content
|
|
652
|
+
* @param {*} [options] Override http request option.
|
|
653
|
+
* @throws {RequiredError}
|
|
654
|
+
*/
|
|
655
|
+
updateEnvironmentYaml(orgName, envName, body, options) {
|
|
656
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
657
|
+
var _a, _b, _c;
|
|
658
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateEnvironmentYaml(orgName, envName, body, options);
|
|
659
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
660
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EscApi.updateEnvironmentYaml']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
661
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
662
|
+
});
|
|
663
|
+
},
|
|
664
|
+
};
|
|
665
|
+
};
|
|
666
|
+
exports.EscApiFp = EscApiFp;
|
|
667
|
+
/**
|
|
668
|
+
* EscApi - factory interface
|
|
669
|
+
* @export
|
|
670
|
+
*/
|
|
671
|
+
const EscApiFactory = function (configuration, basePath, axios) {
|
|
672
|
+
const localVarFp = (0, exports.EscApiFp)(configuration);
|
|
673
|
+
return {
|
|
674
|
+
/**
|
|
675
|
+
* Checks an environment definition for errors
|
|
676
|
+
* @summary Checks an environment definition for errors
|
|
677
|
+
* @param {string} orgName Organization name
|
|
678
|
+
* @param {string} body Environment Yaml content
|
|
679
|
+
* @param {*} [options] Override http request option.
|
|
680
|
+
* @throws {RequiredError}
|
|
681
|
+
*/
|
|
682
|
+
checkEnvironmentYaml(orgName, body, options) {
|
|
683
|
+
return localVarFp.checkEnvironmentYaml(orgName, body, options).then((request) => request(axios, basePath));
|
|
684
|
+
},
|
|
685
|
+
/**
|
|
686
|
+
* Creates an environment in the given org with the given name.
|
|
687
|
+
* @summary Create a new environment
|
|
688
|
+
* @param {string} orgName Organization name
|
|
689
|
+
* @param {string} envName Environment name
|
|
690
|
+
* @param {*} [options] Override http request option.
|
|
691
|
+
* @throws {RequiredError}
|
|
692
|
+
*/
|
|
693
|
+
createEnvironment(orgName, envName, options) {
|
|
694
|
+
return localVarFp.createEnvironment(orgName, envName, options).then((request) => request(axios, basePath));
|
|
695
|
+
},
|
|
696
|
+
/**
|
|
697
|
+
* Reads the definition for the given environment with static secrets in plaintext
|
|
698
|
+
* @summary Reads the definition for the given environment with static secrets in plaintext
|
|
699
|
+
* @param {string} orgName Organization name
|
|
700
|
+
* @param {string} envName Environment name
|
|
701
|
+
* @param {*} [options] Override http request option.
|
|
702
|
+
* @throws {RequiredError}
|
|
703
|
+
*/
|
|
704
|
+
decryptEnvironment(orgName, envName, options) {
|
|
705
|
+
return localVarFp.decryptEnvironment(orgName, envName, options).then((request) => request(axios, basePath));
|
|
706
|
+
},
|
|
707
|
+
/**
|
|
708
|
+
* Delete an environment
|
|
709
|
+
* @summary Delete an environment
|
|
710
|
+
* @param {string} orgName Organization name
|
|
711
|
+
* @param {string} envName Environment name
|
|
712
|
+
* @param {*} [options] Override http request option.
|
|
713
|
+
* @throws {RequiredError}
|
|
714
|
+
*/
|
|
715
|
+
deleteEnvironment(orgName, envName, options) {
|
|
716
|
+
return localVarFp.deleteEnvironment(orgName, envName, options).then((request) => request(axios, basePath));
|
|
717
|
+
},
|
|
718
|
+
/**
|
|
719
|
+
* Read an environment
|
|
720
|
+
* @summary Read an environment
|
|
721
|
+
* @param {string} orgName Organization name
|
|
722
|
+
* @param {string} envName Environment name
|
|
723
|
+
* @param {*} [options] Override http request option.
|
|
724
|
+
* @throws {RequiredError}
|
|
725
|
+
*/
|
|
726
|
+
getEnvironment(orgName, envName, options) {
|
|
727
|
+
return localVarFp.getEnvironment(orgName, envName, options).then((request) => request(axios, basePath));
|
|
728
|
+
},
|
|
729
|
+
/**
|
|
730
|
+
* Returns the ETag for the given environment if it exists.
|
|
731
|
+
* @summary Return an Environment ETag
|
|
732
|
+
* @param {string} orgName Organization name
|
|
733
|
+
* @param {string} envName Environment name
|
|
734
|
+
* @param {*} [options] Override http request option.
|
|
735
|
+
* @throws {RequiredError}
|
|
736
|
+
*/
|
|
737
|
+
getEnvironmentETag(orgName, envName, options) {
|
|
738
|
+
return localVarFp.getEnvironmentETag(orgName, envName, options).then((request) => request(axios, basePath));
|
|
739
|
+
},
|
|
740
|
+
/**
|
|
741
|
+
* List environments in the organization available to the current user
|
|
742
|
+
* @summary List environments in the organization
|
|
743
|
+
* @param {string} orgName Organization name
|
|
744
|
+
* @param {string} [continuationToken] continuation Token from previous query to fetch next page of results
|
|
745
|
+
* @param {*} [options] Override http request option.
|
|
746
|
+
* @throws {RequiredError}
|
|
747
|
+
*/
|
|
748
|
+
listEnvironments(orgName, continuationToken, options) {
|
|
749
|
+
return localVarFp.listEnvironments(orgName, continuationToken, options).then((request) => request(axios, basePath));
|
|
750
|
+
},
|
|
751
|
+
/**
|
|
752
|
+
* Opens a session the given environment for the indicated duration. This returns a session id that can be used to then read values. The default duration is 1 hour.
|
|
753
|
+
* @summary Open an environment session
|
|
754
|
+
* @param {string} orgName Organization name
|
|
755
|
+
* @param {string} envName Environment name
|
|
756
|
+
* @param {string} [duration] open duration - A duration string is a possibly signed sequence of decimal numbers, each with optional fraction and a unit suffix, such as “300ms”, “1.5h” or “2h45m”. Valid time units are “ns”, “us” (or “µs”), “ms”, “s”, “m”, “h”.
|
|
757
|
+
* @param {*} [options] Override http request option.
|
|
758
|
+
* @throws {RequiredError}
|
|
759
|
+
*/
|
|
760
|
+
openEnvironment(orgName, envName, duration, options) {
|
|
761
|
+
return localVarFp.openEnvironment(orgName, envName, duration, options).then((request) => request(axios, basePath));
|
|
762
|
+
},
|
|
763
|
+
/**
|
|
764
|
+
* Reads and decrypts secrets including retrieving dynamic secrets from providers.
|
|
765
|
+
* @summary Read an open environment
|
|
766
|
+
* @param {string} orgName Organization name
|
|
767
|
+
* @param {string} envName Environment name
|
|
768
|
+
* @param {string} openSessionID Open session ID returned from environment open
|
|
769
|
+
* @param {*} [options] Override http request option.
|
|
770
|
+
* @throws {RequiredError}
|
|
771
|
+
*/
|
|
772
|
+
readOpenEnvironment(orgName, envName, openSessionID, options) {
|
|
773
|
+
return localVarFp.readOpenEnvironment(orgName, envName, openSessionID, options).then((request) => request(axios, basePath));
|
|
774
|
+
},
|
|
775
|
+
/**
|
|
776
|
+
* Reads and decrypts secrets including retrieving dynamic secrets from providers.
|
|
777
|
+
* @summary Read an open environment
|
|
778
|
+
* @param {string} orgName Organization name
|
|
779
|
+
* @param {string} envName Environment name
|
|
780
|
+
* @param {string} openSessionID Open session ID returned from environment open
|
|
781
|
+
* @param {string} property Path to a specific property using Pulumi path syntax https://www.pulumi.com/docs/concepts/config/#structured-configuration
|
|
782
|
+
* @param {*} [options] Override http request option.
|
|
783
|
+
* @throws {RequiredError}
|
|
784
|
+
*/
|
|
785
|
+
readOpenEnvironmentProperty(orgName, envName, openSessionID, property, options) {
|
|
786
|
+
return localVarFp.readOpenEnvironmentProperty(orgName, envName, openSessionID, property, options).then((request) => request(axios, basePath));
|
|
787
|
+
},
|
|
788
|
+
/**
|
|
789
|
+
* Validates and updates the given environment\'s definition.
|
|
790
|
+
* @summary Update an existing environment with Yaml file
|
|
791
|
+
* @param {string} orgName Organization name
|
|
792
|
+
* @param {string} envName Environment name
|
|
793
|
+
* @param {string} body Environment Yaml content
|
|
794
|
+
* @param {*} [options] Override http request option.
|
|
795
|
+
* @throws {RequiredError}
|
|
796
|
+
*/
|
|
797
|
+
updateEnvironmentYaml(orgName, envName, body, options) {
|
|
798
|
+
return localVarFp.updateEnvironmentYaml(orgName, envName, body, options).then((request) => request(axios, basePath));
|
|
799
|
+
},
|
|
800
|
+
};
|
|
801
|
+
};
|
|
802
|
+
exports.EscApiFactory = EscApiFactory;
|
|
803
|
+
/**
|
|
804
|
+
* EscApi - object-oriented interface
|
|
805
|
+
* @export
|
|
806
|
+
* @class EscApi
|
|
807
|
+
* @extends {BaseAPI}
|
|
808
|
+
*/
|
|
809
|
+
class EscApi extends base_1.BaseAPI {
|
|
810
|
+
/**
|
|
811
|
+
* Checks an environment definition for errors
|
|
812
|
+
* @summary Checks an environment definition for errors
|
|
813
|
+
* @param {string} orgName Organization name
|
|
814
|
+
* @param {string} body Environment Yaml content
|
|
815
|
+
* @param {*} [options] Override http request option.
|
|
816
|
+
* @throws {RequiredError}
|
|
817
|
+
* @memberof EscApi
|
|
818
|
+
*/
|
|
819
|
+
checkEnvironmentYaml(orgName, body, options) {
|
|
820
|
+
return (0, exports.EscApiFp)(this.configuration).checkEnvironmentYaml(orgName, body, options).then((request) => request(this.axios, this.basePath));
|
|
821
|
+
}
|
|
822
|
+
/**
|
|
823
|
+
* Creates an environment in the given org with the given name.
|
|
824
|
+
* @summary Create a new environment
|
|
825
|
+
* @param {string} orgName Organization name
|
|
826
|
+
* @param {string} envName Environment name
|
|
827
|
+
* @param {*} [options] Override http request option.
|
|
828
|
+
* @throws {RequiredError}
|
|
829
|
+
* @memberof EscApi
|
|
830
|
+
*/
|
|
831
|
+
createEnvironment(orgName, envName, options) {
|
|
832
|
+
return (0, exports.EscApiFp)(this.configuration).createEnvironment(orgName, envName, options).then((request) => request(this.axios, this.basePath));
|
|
833
|
+
}
|
|
834
|
+
/**
|
|
835
|
+
* Reads the definition for the given environment with static secrets in plaintext
|
|
836
|
+
* @summary Reads the definition for the given environment with static secrets in plaintext
|
|
837
|
+
* @param {string} orgName Organization name
|
|
838
|
+
* @param {string} envName Environment name
|
|
839
|
+
* @param {*} [options] Override http request option.
|
|
840
|
+
* @throws {RequiredError}
|
|
841
|
+
* @memberof EscApi
|
|
842
|
+
*/
|
|
843
|
+
decryptEnvironment(orgName, envName, options) {
|
|
844
|
+
return (0, exports.EscApiFp)(this.configuration).decryptEnvironment(orgName, envName, options).then((request) => request(this.axios, this.basePath));
|
|
845
|
+
}
|
|
846
|
+
/**
|
|
847
|
+
* Delete an environment
|
|
848
|
+
* @summary Delete an environment
|
|
849
|
+
* @param {string} orgName Organization name
|
|
850
|
+
* @param {string} envName Environment name
|
|
851
|
+
* @param {*} [options] Override http request option.
|
|
852
|
+
* @throws {RequiredError}
|
|
853
|
+
* @memberof EscApi
|
|
854
|
+
*/
|
|
855
|
+
deleteEnvironment(orgName, envName, options) {
|
|
856
|
+
return (0, exports.EscApiFp)(this.configuration).deleteEnvironment(orgName, envName, options).then((request) => request(this.axios, this.basePath));
|
|
857
|
+
}
|
|
858
|
+
/**
|
|
859
|
+
* Read an environment
|
|
860
|
+
* @summary Read an environment
|
|
861
|
+
* @param {string} orgName Organization name
|
|
862
|
+
* @param {string} envName Environment name
|
|
863
|
+
* @param {*} [options] Override http request option.
|
|
864
|
+
* @throws {RequiredError}
|
|
865
|
+
* @memberof EscApi
|
|
866
|
+
*/
|
|
867
|
+
getEnvironment(orgName, envName, options) {
|
|
868
|
+
return (0, exports.EscApiFp)(this.configuration).getEnvironment(orgName, envName, options).then((request) => request(this.axios, this.basePath));
|
|
869
|
+
}
|
|
870
|
+
/**
|
|
871
|
+
* Returns the ETag for the given environment if it exists.
|
|
872
|
+
* @summary Return an Environment ETag
|
|
873
|
+
* @param {string} orgName Organization name
|
|
874
|
+
* @param {string} envName Environment name
|
|
875
|
+
* @param {*} [options] Override http request option.
|
|
876
|
+
* @throws {RequiredError}
|
|
877
|
+
* @memberof EscApi
|
|
878
|
+
*/
|
|
879
|
+
getEnvironmentETag(orgName, envName, options) {
|
|
880
|
+
return (0, exports.EscApiFp)(this.configuration).getEnvironmentETag(orgName, envName, options).then((request) => request(this.axios, this.basePath));
|
|
881
|
+
}
|
|
882
|
+
/**
|
|
883
|
+
* List environments in the organization available to the current user
|
|
884
|
+
* @summary List environments in the organization
|
|
885
|
+
* @param {string} orgName Organization name
|
|
886
|
+
* @param {string} [continuationToken] continuation Token from previous query to fetch next page of results
|
|
887
|
+
* @param {*} [options] Override http request option.
|
|
888
|
+
* @throws {RequiredError}
|
|
889
|
+
* @memberof EscApi
|
|
890
|
+
*/
|
|
891
|
+
listEnvironments(orgName, continuationToken, options) {
|
|
892
|
+
return (0, exports.EscApiFp)(this.configuration).listEnvironments(orgName, continuationToken, options).then((request) => request(this.axios, this.basePath));
|
|
893
|
+
}
|
|
894
|
+
/**
|
|
895
|
+
* Opens a session the given environment for the indicated duration. This returns a session id that can be used to then read values. The default duration is 1 hour.
|
|
896
|
+
* @summary Open an environment session
|
|
897
|
+
* @param {string} orgName Organization name
|
|
898
|
+
* @param {string} envName Environment name
|
|
899
|
+
* @param {string} [duration] open duration - A duration string is a possibly signed sequence of decimal numbers, each with optional fraction and a unit suffix, such as “300ms”, “1.5h” or “2h45m”. Valid time units are “ns”, “us” (or “µs”), “ms”, “s”, “m”, “h”.
|
|
900
|
+
* @param {*} [options] Override http request option.
|
|
901
|
+
* @throws {RequiredError}
|
|
902
|
+
* @memberof EscApi
|
|
903
|
+
*/
|
|
904
|
+
openEnvironment(orgName, envName, duration, options) {
|
|
905
|
+
return (0, exports.EscApiFp)(this.configuration).openEnvironment(orgName, envName, duration, options).then((request) => request(this.axios, this.basePath));
|
|
906
|
+
}
|
|
907
|
+
/**
|
|
908
|
+
* Reads and decrypts secrets including retrieving dynamic secrets from providers.
|
|
909
|
+
* @summary Read an open environment
|
|
910
|
+
* @param {string} orgName Organization name
|
|
911
|
+
* @param {string} envName Environment name
|
|
912
|
+
* @param {string} openSessionID Open session ID returned from environment open
|
|
913
|
+
* @param {*} [options] Override http request option.
|
|
914
|
+
* @throws {RequiredError}
|
|
915
|
+
* @memberof EscApi
|
|
916
|
+
*/
|
|
917
|
+
readOpenEnvironment(orgName, envName, openSessionID, options) {
|
|
918
|
+
return (0, exports.EscApiFp)(this.configuration).readOpenEnvironment(orgName, envName, openSessionID, options).then((request) => request(this.axios, this.basePath));
|
|
919
|
+
}
|
|
920
|
+
/**
|
|
921
|
+
* Reads and decrypts secrets including retrieving dynamic secrets from providers.
|
|
922
|
+
* @summary Read an open environment
|
|
923
|
+
* @param {string} orgName Organization name
|
|
924
|
+
* @param {string} envName Environment name
|
|
925
|
+
* @param {string} openSessionID Open session ID returned from environment open
|
|
926
|
+
* @param {string} property Path to a specific property using Pulumi path syntax https://www.pulumi.com/docs/concepts/config/#structured-configuration
|
|
927
|
+
* @param {*} [options] Override http request option.
|
|
928
|
+
* @throws {RequiredError}
|
|
929
|
+
* @memberof EscApi
|
|
930
|
+
*/
|
|
931
|
+
readOpenEnvironmentProperty(orgName, envName, openSessionID, property, options) {
|
|
932
|
+
return (0, exports.EscApiFp)(this.configuration).readOpenEnvironmentProperty(orgName, envName, openSessionID, property, options).then((request) => request(this.axios, this.basePath));
|
|
933
|
+
}
|
|
934
|
+
/**
|
|
935
|
+
* Validates and updates the given environment\'s definition.
|
|
936
|
+
* @summary Update an existing environment with Yaml file
|
|
937
|
+
* @param {string} orgName Organization name
|
|
938
|
+
* @param {string} envName Environment name
|
|
939
|
+
* @param {string} body Environment Yaml content
|
|
940
|
+
* @param {*} [options] Override http request option.
|
|
941
|
+
* @throws {RequiredError}
|
|
942
|
+
* @memberof EscApi
|
|
943
|
+
*/
|
|
944
|
+
updateEnvironmentYaml(orgName, envName, body, options) {
|
|
945
|
+
return (0, exports.EscApiFp)(this.configuration).updateEnvironmentYaml(orgName, envName, body, options).then((request) => request(this.axios, this.basePath));
|
|
946
|
+
}
|
|
947
|
+
}
|
|
948
|
+
exports.EscApi = EscApi;
|
|
949
|
+
//# sourceMappingURL=api.js.map
|