@migration-planner-ui/agent-client 0.0.30 → 0.0.32
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/README.md +112 -25
- package/dist/apis/AgentUiApi.d.ts +126 -0
- package/dist/apis/AgentUiApi.d.ts.map +1 -0
- package/dist/apis/AgentUiApi.js +163 -0
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.d.ts.map +1 -0
- package/dist/apis/index.js +3 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +5 -0
- package/dist/models/Credentials.d.ts +51 -0
- package/dist/models/Credentials.d.ts.map +1 -0
- package/dist/models/Credentials.js +53 -0
- package/dist/models/Datastore.d.ts +81 -0
- package/dist/models/Datastore.d.ts.map +1 -0
- package/dist/models/Datastore.js +73 -0
- package/dist/models/DiskSizeTierSummary.d.ts +39 -0
- package/dist/models/DiskSizeTierSummary.d.ts.map +1 -0
- package/dist/models/DiskSizeTierSummary.js +47 -0
- package/dist/models/DiskTypeSummary.d.ts +39 -0
- package/dist/models/DiskTypeSummary.d.ts.map +1 -0
- package/dist/models/DiskTypeSummary.js +47 -0
- package/dist/models/Histogram.d.ts +45 -0
- package/dist/models/Histogram.d.ts.map +1 -0
- package/dist/models/Histogram.js +51 -0
- package/dist/models/Host.d.ts +63 -0
- package/dist/models/Host.d.ts.map +1 -0
- package/dist/models/Host.js +55 -0
- package/dist/models/Infra.d.ts +107 -0
- package/dist/models/Infra.d.ts.map +1 -0
- package/dist/models/Infra.js +74 -0
- package/dist/models/Inventory.d.ts +48 -0
- package/dist/models/Inventory.d.ts.map +1 -0
- package/dist/models/Inventory.js +51 -0
- package/dist/models/InventoryData.d.ts +48 -0
- package/dist/models/InventoryData.d.ts.map +1 -0
- package/dist/models/InventoryData.js +52 -0
- package/dist/models/InventoryReply.d.ts +40 -0
- package/dist/models/InventoryReply.d.ts.map +1 -0
- package/dist/models/InventoryReply.js +48 -0
- package/dist/models/MigrationIssue.d.ts +51 -0
- package/dist/models/MigrationIssue.d.ts.map +1 -0
- package/dist/models/MigrationIssue.js +53 -0
- package/dist/models/ModelError.d.ts +33 -0
- package/dist/models/ModelError.d.ts.map +1 -0
- package/dist/models/ModelError.js +43 -0
- package/dist/models/Network.d.ts +67 -0
- package/dist/models/Network.d.ts.map +1 -0
- package/dist/models/Network.js +62 -0
- package/dist/models/OsInfo.d.ts +45 -0
- package/dist/models/OsInfo.d.ts.map +1 -0
- package/dist/models/OsInfo.js +49 -0
- package/dist/models/ServiceUIReply.d.ts +33 -0
- package/dist/models/ServiceUIReply.d.ts.map +1 -0
- package/dist/models/ServiceUIReply.js +43 -0
- package/dist/models/StatusReply.d.ts +81 -0
- package/dist/models/StatusReply.d.ts.map +1 -0
- package/dist/models/StatusReply.js +70 -0
- package/dist/models/VCenter.d.ts +33 -0
- package/dist/models/VCenter.d.ts.map +1 -0
- package/dist/models/VCenter.js +43 -0
- package/dist/models/VMResourceBreakdown.d.ts +59 -0
- package/dist/models/VMResourceBreakdown.d.ts.map +1 -0
- package/dist/models/VMResourceBreakdown.js +58 -0
- package/dist/models/VMs.d.ts +149 -0
- package/dist/models/VMs.d.ts.map +1 -0
- package/dist/models/VMs.js +97 -0
- package/dist/models/VersionReply.d.ts +33 -0
- package/dist/models/VersionReply.d.ts.map +1 -0
- package/dist/models/VersionReply.js +43 -0
- package/dist/models/index.d.ts +21 -0
- package/dist/models/index.d.ts.map +1 -0
- package/dist/models/index.js +22 -0
- package/dist/runtime.d.ts +185 -0
- package/dist/runtime.d.ts.map +1 -0
- package/dist/runtime.js +334 -0
- package/package.json +29 -15
- package/src/apis/AgentApi.ts +0 -83
- package/src/apis/index.ts +0 -1
- package/src/models/Credentials.ts +0 -6
- package/src/models/CredentialsError.ts +0 -17
- package/src/models/Either.ts +0 -1
- package/src/models/SourceStatus.ts +0 -7
- package/src/models/StatusReply.ts +0 -6
- package/src/models/index.ts +0 -5
- package/tsconfig.json +0 -17
- package/tsconfig.tsbuildinfo +0 -1
package/dist/runtime.js
ADDED
|
@@ -0,0 +1,334 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Migration Planner Agent UI API
|
|
5
|
+
* API endpoints for the agent UI to interact with the migration discovery VM
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: undefined
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
export const BASE_PATH = "http://localhost".replace(/\/+$/, "");
|
|
24
|
+
export class Configuration {
|
|
25
|
+
constructor(configuration = {}) {
|
|
26
|
+
this.configuration = configuration;
|
|
27
|
+
}
|
|
28
|
+
set config(configuration) {
|
|
29
|
+
this.configuration = configuration;
|
|
30
|
+
}
|
|
31
|
+
get basePath() {
|
|
32
|
+
return this.configuration.basePath != null ? this.configuration.basePath : BASE_PATH;
|
|
33
|
+
}
|
|
34
|
+
get fetchApi() {
|
|
35
|
+
return this.configuration.fetchApi;
|
|
36
|
+
}
|
|
37
|
+
get middleware() {
|
|
38
|
+
return this.configuration.middleware || [];
|
|
39
|
+
}
|
|
40
|
+
get queryParamsStringify() {
|
|
41
|
+
return this.configuration.queryParamsStringify || querystring;
|
|
42
|
+
}
|
|
43
|
+
get username() {
|
|
44
|
+
return this.configuration.username;
|
|
45
|
+
}
|
|
46
|
+
get password() {
|
|
47
|
+
return this.configuration.password;
|
|
48
|
+
}
|
|
49
|
+
get apiKey() {
|
|
50
|
+
const apiKey = this.configuration.apiKey;
|
|
51
|
+
if (apiKey) {
|
|
52
|
+
return typeof apiKey === 'function' ? apiKey : () => apiKey;
|
|
53
|
+
}
|
|
54
|
+
return undefined;
|
|
55
|
+
}
|
|
56
|
+
get accessToken() {
|
|
57
|
+
const accessToken = this.configuration.accessToken;
|
|
58
|
+
if (accessToken) {
|
|
59
|
+
return typeof accessToken === 'function' ? accessToken : () => __awaiter(this, void 0, void 0, function* () { return accessToken; });
|
|
60
|
+
}
|
|
61
|
+
return undefined;
|
|
62
|
+
}
|
|
63
|
+
get headers() {
|
|
64
|
+
return this.configuration.headers;
|
|
65
|
+
}
|
|
66
|
+
get credentials() {
|
|
67
|
+
return this.configuration.credentials;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
export const DefaultConfig = new Configuration();
|
|
71
|
+
/**
|
|
72
|
+
* This is the base class for all generated API classes.
|
|
73
|
+
*/
|
|
74
|
+
export class BaseAPI {
|
|
75
|
+
constructor(configuration = DefaultConfig) {
|
|
76
|
+
this.configuration = configuration;
|
|
77
|
+
this.fetchApi = (url, init) => __awaiter(this, void 0, void 0, function* () {
|
|
78
|
+
let fetchParams = { url, init };
|
|
79
|
+
for (const middleware of this.middleware) {
|
|
80
|
+
if (middleware.pre) {
|
|
81
|
+
fetchParams = (yield middleware.pre(Object.assign({ fetch: this.fetchApi }, fetchParams))) || fetchParams;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
let response = undefined;
|
|
85
|
+
try {
|
|
86
|
+
response = yield (this.configuration.fetchApi || fetch)(fetchParams.url, fetchParams.init);
|
|
87
|
+
}
|
|
88
|
+
catch (e) {
|
|
89
|
+
for (const middleware of this.middleware) {
|
|
90
|
+
if (middleware.onError) {
|
|
91
|
+
response = (yield middleware.onError({
|
|
92
|
+
fetch: this.fetchApi,
|
|
93
|
+
url: fetchParams.url,
|
|
94
|
+
init: fetchParams.init,
|
|
95
|
+
error: e,
|
|
96
|
+
response: response ? response.clone() : undefined,
|
|
97
|
+
})) || response;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
if (response === undefined) {
|
|
101
|
+
if (e instanceof Error) {
|
|
102
|
+
throw new FetchError(e, 'The request failed and the interceptors did not return an alternative response');
|
|
103
|
+
}
|
|
104
|
+
else {
|
|
105
|
+
throw e;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
for (const middleware of this.middleware) {
|
|
110
|
+
if (middleware.post) {
|
|
111
|
+
response = (yield middleware.post({
|
|
112
|
+
fetch: this.fetchApi,
|
|
113
|
+
url: fetchParams.url,
|
|
114
|
+
init: fetchParams.init,
|
|
115
|
+
response: response.clone(),
|
|
116
|
+
})) || response;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
return response;
|
|
120
|
+
});
|
|
121
|
+
this.middleware = configuration.middleware;
|
|
122
|
+
}
|
|
123
|
+
withMiddleware(...middlewares) {
|
|
124
|
+
const next = this.clone();
|
|
125
|
+
next.middleware = next.middleware.concat(...middlewares);
|
|
126
|
+
return next;
|
|
127
|
+
}
|
|
128
|
+
withPreMiddleware(...preMiddlewares) {
|
|
129
|
+
const middlewares = preMiddlewares.map((pre) => ({ pre }));
|
|
130
|
+
return this.withMiddleware(...middlewares);
|
|
131
|
+
}
|
|
132
|
+
withPostMiddleware(...postMiddlewares) {
|
|
133
|
+
const middlewares = postMiddlewares.map((post) => ({ post }));
|
|
134
|
+
return this.withMiddleware(...middlewares);
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* Check if the given MIME is a JSON MIME.
|
|
138
|
+
* JSON MIME examples:
|
|
139
|
+
* application/json
|
|
140
|
+
* application/json; charset=UTF8
|
|
141
|
+
* APPLICATION/JSON
|
|
142
|
+
* application/vnd.company+json
|
|
143
|
+
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
144
|
+
* @return True if the given MIME is JSON, false otherwise.
|
|
145
|
+
*/
|
|
146
|
+
isJsonMime(mime) {
|
|
147
|
+
if (!mime) {
|
|
148
|
+
return false;
|
|
149
|
+
}
|
|
150
|
+
return BaseAPI.jsonRegex.test(mime);
|
|
151
|
+
}
|
|
152
|
+
request(context, initOverrides) {
|
|
153
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
154
|
+
const { url, init } = yield this.createFetchParams(context, initOverrides);
|
|
155
|
+
const response = yield this.fetchApi(url, init);
|
|
156
|
+
if (response && (response.status >= 200 && response.status < 300)) {
|
|
157
|
+
return response;
|
|
158
|
+
}
|
|
159
|
+
throw new ResponseError(response, 'Response returned an error code');
|
|
160
|
+
});
|
|
161
|
+
}
|
|
162
|
+
createFetchParams(context, initOverrides) {
|
|
163
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
164
|
+
let url = this.configuration.basePath + context.path;
|
|
165
|
+
if (context.query !== undefined && Object.keys(context.query).length !== 0) {
|
|
166
|
+
// only add the querystring to the URL if there are query parameters.
|
|
167
|
+
// this is done to avoid urls ending with a "?" character which buggy webservers
|
|
168
|
+
// do not handle correctly sometimes.
|
|
169
|
+
url += '?' + this.configuration.queryParamsStringify(context.query);
|
|
170
|
+
}
|
|
171
|
+
const headers = Object.assign({}, this.configuration.headers, context.headers);
|
|
172
|
+
Object.keys(headers).forEach(key => headers[key] === undefined ? delete headers[key] : {});
|
|
173
|
+
const initOverrideFn = typeof initOverrides === "function"
|
|
174
|
+
? initOverrides
|
|
175
|
+
: () => __awaiter(this, void 0, void 0, function* () { return initOverrides; });
|
|
176
|
+
const initParams = {
|
|
177
|
+
method: context.method,
|
|
178
|
+
headers,
|
|
179
|
+
body: context.body,
|
|
180
|
+
credentials: this.configuration.credentials,
|
|
181
|
+
};
|
|
182
|
+
const overriddenInit = Object.assign(Object.assign({}, initParams), (yield initOverrideFn({
|
|
183
|
+
init: initParams,
|
|
184
|
+
context,
|
|
185
|
+
})));
|
|
186
|
+
let body;
|
|
187
|
+
if (isFormData(overriddenInit.body)
|
|
188
|
+
|| (overriddenInit.body instanceof URLSearchParams)
|
|
189
|
+
|| isBlob(overriddenInit.body)) {
|
|
190
|
+
body = overriddenInit.body;
|
|
191
|
+
}
|
|
192
|
+
else if (this.isJsonMime(headers['Content-Type'])) {
|
|
193
|
+
body = JSON.stringify(overriddenInit.body);
|
|
194
|
+
}
|
|
195
|
+
else {
|
|
196
|
+
body = overriddenInit.body;
|
|
197
|
+
}
|
|
198
|
+
const init = Object.assign(Object.assign({}, overriddenInit), { body });
|
|
199
|
+
return { url, init };
|
|
200
|
+
});
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* Create a shallow clone of `this` by constructing a new instance
|
|
204
|
+
* and then shallow cloning data members.
|
|
205
|
+
*/
|
|
206
|
+
clone() {
|
|
207
|
+
const constructor = this.constructor;
|
|
208
|
+
const next = new constructor(this.configuration);
|
|
209
|
+
next.middleware = this.middleware.slice();
|
|
210
|
+
return next;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
BaseAPI.jsonRegex = new RegExp('^(:?application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(:?;.*)?$', 'i');
|
|
214
|
+
;
|
|
215
|
+
function isBlob(value) {
|
|
216
|
+
return typeof Blob !== 'undefined' && value instanceof Blob;
|
|
217
|
+
}
|
|
218
|
+
function isFormData(value) {
|
|
219
|
+
return typeof FormData !== "undefined" && value instanceof FormData;
|
|
220
|
+
}
|
|
221
|
+
export class ResponseError extends Error {
|
|
222
|
+
constructor(response, msg) {
|
|
223
|
+
super(msg);
|
|
224
|
+
this.response = response;
|
|
225
|
+
this.name = "ResponseError";
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
export class FetchError extends Error {
|
|
229
|
+
constructor(cause, msg) {
|
|
230
|
+
super(msg);
|
|
231
|
+
this.cause = cause;
|
|
232
|
+
this.name = "FetchError";
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
export class RequiredError extends Error {
|
|
236
|
+
constructor(field, msg) {
|
|
237
|
+
super(msg);
|
|
238
|
+
this.field = field;
|
|
239
|
+
this.name = "RequiredError";
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
export const COLLECTION_FORMATS = {
|
|
243
|
+
csv: ",",
|
|
244
|
+
ssv: " ",
|
|
245
|
+
tsv: "\t",
|
|
246
|
+
pipes: "|",
|
|
247
|
+
};
|
|
248
|
+
export function querystring(params, prefix = '') {
|
|
249
|
+
return Object.keys(params)
|
|
250
|
+
.map(key => querystringSingleKey(key, params[key], prefix))
|
|
251
|
+
.filter(part => part.length > 0)
|
|
252
|
+
.join('&');
|
|
253
|
+
}
|
|
254
|
+
function querystringSingleKey(key, value, keyPrefix = '') {
|
|
255
|
+
const fullKey = keyPrefix + (keyPrefix.length ? `[${key}]` : key);
|
|
256
|
+
if (value instanceof Array) {
|
|
257
|
+
const multiValue = value.map(singleValue => encodeURIComponent(String(singleValue)))
|
|
258
|
+
.join(`&${encodeURIComponent(fullKey)}=`);
|
|
259
|
+
return `${encodeURIComponent(fullKey)}=${multiValue}`;
|
|
260
|
+
}
|
|
261
|
+
if (value instanceof Set) {
|
|
262
|
+
const valueAsArray = Array.from(value);
|
|
263
|
+
return querystringSingleKey(key, valueAsArray, keyPrefix);
|
|
264
|
+
}
|
|
265
|
+
if (value instanceof Date) {
|
|
266
|
+
return `${encodeURIComponent(fullKey)}=${encodeURIComponent(value.toISOString())}`;
|
|
267
|
+
}
|
|
268
|
+
if (value instanceof Object) {
|
|
269
|
+
return querystring(value, fullKey);
|
|
270
|
+
}
|
|
271
|
+
return `${encodeURIComponent(fullKey)}=${encodeURIComponent(String(value))}`;
|
|
272
|
+
}
|
|
273
|
+
export function exists(json, key) {
|
|
274
|
+
const value = json[key];
|
|
275
|
+
return value !== null && value !== undefined;
|
|
276
|
+
}
|
|
277
|
+
export function mapValues(data, fn) {
|
|
278
|
+
const result = {};
|
|
279
|
+
for (const key of Object.keys(data)) {
|
|
280
|
+
result[key] = fn(data[key]);
|
|
281
|
+
}
|
|
282
|
+
return result;
|
|
283
|
+
}
|
|
284
|
+
export function canConsumeForm(consumes) {
|
|
285
|
+
for (const consume of consumes) {
|
|
286
|
+
if ('multipart/form-data' === consume.contentType) {
|
|
287
|
+
return true;
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
return false;
|
|
291
|
+
}
|
|
292
|
+
export class JSONApiResponse {
|
|
293
|
+
constructor(raw, transformer = (jsonValue) => jsonValue) {
|
|
294
|
+
this.raw = raw;
|
|
295
|
+
this.transformer = transformer;
|
|
296
|
+
}
|
|
297
|
+
value() {
|
|
298
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
299
|
+
return this.transformer(yield this.raw.json());
|
|
300
|
+
});
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
export class VoidApiResponse {
|
|
304
|
+
constructor(raw) {
|
|
305
|
+
this.raw = raw;
|
|
306
|
+
}
|
|
307
|
+
value() {
|
|
308
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
309
|
+
return undefined;
|
|
310
|
+
});
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
export class BlobApiResponse {
|
|
314
|
+
constructor(raw) {
|
|
315
|
+
this.raw = raw;
|
|
316
|
+
}
|
|
317
|
+
value() {
|
|
318
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
319
|
+
return yield this.raw.blob();
|
|
320
|
+
});
|
|
321
|
+
}
|
|
322
|
+
;
|
|
323
|
+
}
|
|
324
|
+
export class TextApiResponse {
|
|
325
|
+
constructor(raw) {
|
|
326
|
+
this.raw = raw;
|
|
327
|
+
}
|
|
328
|
+
value() {
|
|
329
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
330
|
+
return yield this.raw.text();
|
|
331
|
+
});
|
|
332
|
+
}
|
|
333
|
+
;
|
|
334
|
+
}
|
package/package.json
CHANGED
|
@@ -1,32 +1,41 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@migration-planner-ui/agent-client",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "A client for Migration Planner Agent API",
|
|
3
|
+
"version": "0.0.32",
|
|
4
|
+
"description": "A client for the Migration Planner Agent API",
|
|
5
5
|
"author": "Jonathan Kilzi <jkilzi@redhat.com>",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "https://github.com/jkilzi/migration-planner-ui.git",
|
|
9
9
|
"directory": "packages/agent-client"
|
|
10
10
|
},
|
|
11
|
+
"type": "module",
|
|
11
12
|
"exports": {
|
|
12
|
-
"./apis":
|
|
13
|
-
"./
|
|
14
|
-
"./dist/apis/index.d.ts"
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
"./dist/models/index.
|
|
19
|
-
|
|
13
|
+
"./apis": {
|
|
14
|
+
"import": "./dist/apis/index.js",
|
|
15
|
+
"types": "./dist/apis/index.d.ts",
|
|
16
|
+
"default": "./src/apis/index.ts"
|
|
17
|
+
},
|
|
18
|
+
"./models": {
|
|
19
|
+
"import": "./dist/models/index.js",
|
|
20
|
+
"types": "./dist/models/index.d.ts",
|
|
21
|
+
"default": "./src/models/index.ts"
|
|
22
|
+
},
|
|
23
|
+
"./runtime": {
|
|
24
|
+
"import": "./dist/runtime.js",
|
|
25
|
+
"types": "./dist/runtime.d.ts",
|
|
26
|
+
"default": "./src/runtime.ts"
|
|
27
|
+
}
|
|
20
28
|
},
|
|
21
29
|
"typesVersions": {
|
|
22
30
|
"*": {
|
|
23
31
|
"apis": [
|
|
24
|
-
"./src/apis/index.ts",
|
|
25
32
|
"./dist/apis/index.d.ts"
|
|
26
33
|
],
|
|
27
34
|
"models": [
|
|
28
|
-
"./src/models/index.ts",
|
|
29
35
|
"./dist/models/index.d.ts"
|
|
36
|
+
],
|
|
37
|
+
"runtime": [
|
|
38
|
+
"./dist/runtime.d.ts"
|
|
30
39
|
]
|
|
31
40
|
}
|
|
32
41
|
},
|
|
@@ -34,10 +43,15 @@
|
|
|
34
43
|
"publishConfig": {
|
|
35
44
|
"access": "public"
|
|
36
45
|
},
|
|
46
|
+
"files": [
|
|
47
|
+
"dist"
|
|
48
|
+
],
|
|
37
49
|
"scripts": {
|
|
38
50
|
"build": "yarn run -T tsc -b",
|
|
39
|
-
"bundle": "yarn build && yarn pack --out
|
|
40
|
-
"clean": "rm -rf node_modules dist",
|
|
41
|
-
"
|
|
51
|
+
"bundle": "yarn build && yarn pack --out ../../out/%s-%v.tgz",
|
|
52
|
+
"clean": "rm -rf node_modules dist .tmp",
|
|
53
|
+
"check": "echo 'Skipping check: this package contains mostly generated code'",
|
|
54
|
+
"check:fix": "echo 'Skipping check:fix: this package contains mostly generated code'",
|
|
55
|
+
"format": "echo 'Skipping format: this package contains mostly generated code'"
|
|
42
56
|
}
|
|
43
57
|
}
|
package/src/apis/AgentApi.ts
DELETED
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Either,
|
|
3
|
-
Credentials,
|
|
4
|
-
StatusReply,
|
|
5
|
-
CredentialsError,
|
|
6
|
-
} from "../models";
|
|
7
|
-
|
|
8
|
-
interface Configuration {
|
|
9
|
-
basePath: string;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export interface AgentApiInterface {
|
|
13
|
-
putCredentials(
|
|
14
|
-
credentials: Credentials,
|
|
15
|
-
options?: RequestInit & { pathParams?: string[] }
|
|
16
|
-
): Promise<Either<number, CredentialsError>>;
|
|
17
|
-
getStatus(options?: RequestInit): Promise<StatusReply>;
|
|
18
|
-
getAgentVersion():Promise<string>;
|
|
19
|
-
getServiceUiUrl():Promise<string>;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export class AgentApi implements AgentApiInterface {
|
|
23
|
-
private readonly configuration: Configuration;
|
|
24
|
-
|
|
25
|
-
constructor(configuration: Configuration) {
|
|
26
|
-
this.configuration = configuration;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
async getStatus(options?: RequestInit): Promise<StatusReply> {
|
|
30
|
-
const request = new Request(this.configuration.basePath + "/status", {
|
|
31
|
-
method: "GET",
|
|
32
|
-
...(options?.signal && { signal: options.signal }),
|
|
33
|
-
});
|
|
34
|
-
|
|
35
|
-
const response = await fetch(request);
|
|
36
|
-
const statusReply = (await response.json()) as StatusReply;
|
|
37
|
-
return statusReply;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
async putCredentials(
|
|
41
|
-
credentials: Credentials,
|
|
42
|
-
options?: RequestInit & { pathParams?: string[] }
|
|
43
|
-
): Promise<Either<number, CredentialsError>> {
|
|
44
|
-
const request = new Request(this.configuration.basePath + "/credentials", {
|
|
45
|
-
method: "PUT",
|
|
46
|
-
body: JSON.stringify(credentials),
|
|
47
|
-
...(options?.signal && { signal: options.signal }),
|
|
48
|
-
});
|
|
49
|
-
|
|
50
|
-
const response = await fetch(request);
|
|
51
|
-
if (response.ok) {
|
|
52
|
-
return [response.status, null];
|
|
53
|
-
} else {
|
|
54
|
-
let message = response.statusText;
|
|
55
|
-
const error = new CredentialsError(response.status, message);
|
|
56
|
-
if (response.arrayBuffer.length > 0) {
|
|
57
|
-
message = await response.text();
|
|
58
|
-
error.message = message;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
return [null, error];
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
async getAgentVersion(): Promise<string> {
|
|
66
|
-
const request = new Request(this.configuration.basePath + "/version", {
|
|
67
|
-
method: "GET"
|
|
68
|
-
});
|
|
69
|
-
|
|
70
|
-
const response = await fetch(request);
|
|
71
|
-
const statusReply = (await response.json()) as { version: string };
|
|
72
|
-
return statusReply.version;
|
|
73
|
-
}
|
|
74
|
-
async getServiceUiUrl(): Promise<string> {
|
|
75
|
-
const request = new Request(this.configuration.basePath + "/url", {
|
|
76
|
-
method: "GET"
|
|
77
|
-
});
|
|
78
|
-
|
|
79
|
-
const response = await fetch(request);
|
|
80
|
-
const uiReply = (await response.json()) as { url: string };
|
|
81
|
-
return uiReply.url;
|
|
82
|
-
}
|
|
83
|
-
}
|
package/src/apis/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./AgentApi";
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export class CredentialsError extends Error {
|
|
2
|
-
codeN?: number;
|
|
3
|
-
|
|
4
|
-
constructor(code?: number, ...errorArgs: Parameters<ErrorConstructor>) {
|
|
5
|
-
super(...errorArgs);
|
|
6
|
-
this.codeN = code;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
toString(): string {
|
|
10
|
-
const code = this.codeN ? `code=${this.codeN}` : "";
|
|
11
|
-
return `${super.toString()} ${code}`;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
get code(): number | undefined {
|
|
15
|
-
return this.codeN;
|
|
16
|
-
}
|
|
17
|
-
}
|
package/src/models/Either.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type Either<GoodType, BadType> = [GoodType, null] | [null, BadType];
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export enum SourceStatus {
|
|
2
|
-
SourceStatusError = "error",
|
|
3
|
-
SourceStatusGatheringInitialInventory = "gathering-initial-inventory",
|
|
4
|
-
SourceStatusNotConnected = "not-connected",
|
|
5
|
-
SourceStatusUpToDate = "up-to-date",
|
|
6
|
-
SourceStatusWaitingForCredentials = "waiting-for-credentials",
|
|
7
|
-
}
|
package/src/models/index.ts
DELETED
package/tsconfig.json
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target": "es6",
|
|
4
|
-
"module": "ESNext",
|
|
5
|
-
"moduleResolution": "bundler",
|
|
6
|
-
"rootDir": "src",
|
|
7
|
-
"outDir": "dist",
|
|
8
|
-
"paths": {
|
|
9
|
-
"#/*": ["./src/*"]
|
|
10
|
-
},
|
|
11
|
-
"composite": true,
|
|
12
|
-
"declaration": true,
|
|
13
|
-
"useDefineForClassFields": true,
|
|
14
|
-
"jsx": "react-jsx",
|
|
15
|
-
},
|
|
16
|
-
"exclude": ["dist", "node_modules"]
|
|
17
|
-
}
|
package/tsconfig.tsbuildinfo
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"program":{"fileNames":["../../node_modules/typescript/lib/lib.es6.d.ts","../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../node_modules/@types/react/global.d.ts","../../node_modules/csstype/index.d.ts","../../node_modules/@types/prop-types/index.d.ts","../../node_modules/@types/react/index.d.ts","../../node_modules/@types/react/jsx-runtime.d.ts","./src/models/Credentials.ts","./src/models/SourceStatus.ts","./src/models/StatusReply.ts","./src/models/CredentialsError.ts","./src/models/Either.ts","./src/models/index.ts","./src/apis/AgentApi.ts","./src/apis/index.ts","../../node_modules/@types/d3-array/index.d.ts","../../node_modules/@types/d3-color/index.d.ts","../../node_modules/@types/d3-ease/index.d.ts","../../node_modules/@types/d3-interpolate/index.d.ts","../../node_modules/@types/d3-path/index.d.ts","../../node_modules/@types/d3-time/index.d.ts","../../node_modules/@types/d3-scale/index.d.ts","../../node_modules/@types/d3-shape/index.d.ts","../../node_modules/@types/d3-timer/index.d.ts","../../node_modules/@types/debounce-promise/index.d.ts","../../node_modules/@types/estree/index.d.ts","../../node_modules/@types/json-schema/index.d.ts","../../node_modules/@types/eslint/use-at-your-own-risk.d.ts","../../node_modules/@types/eslint/index.d.ts","../../node_modules/@types/eslint__js/index.d.ts","../../node_modules/@types/humanize-plus/index.d.ts","../../node_modules/@types/js-cookie/index.d.ts","../../node_modules/@types/lodash/common/common.d.ts","../../node_modules/@types/lodash/common/array.d.ts","../../node_modules/@types/lodash/common/collection.d.ts","../../node_modules/@types/lodash/common/date.d.ts","../../node_modules/@types/lodash/common/function.d.ts","../../node_modules/@types/lodash/common/lang.d.ts","../../node_modules/@types/lodash/common/math.d.ts","../../node_modules/@types/lodash/common/number.d.ts","../../node_modules/@types/lodash/common/object.d.ts","../../node_modules/@types/lodash/common/seq.d.ts","../../node_modules/@types/lodash/common/string.d.ts","../../node_modules/@types/lodash/common/util.d.ts","../../node_modules/@types/lodash/index.d.ts","../../node_modules/@types/node/compatibility/disposable.d.ts","../../node_modules/@types/node/compatibility/indexable.d.ts","../../node_modules/@types/node/compatibility/iterators.d.ts","../../node_modules/@types/node/compatibility/index.d.ts","../../node_modules/@types/node/ts5.6/globals.typedarray.d.ts","../../node_modules/@types/node/ts5.6/buffer.buffer.d.ts","../../node_modules/buffer/index.d.ts","../../node_modules/undici-types/header.d.ts","../../node_modules/undici-types/readable.d.ts","../../node_modules/undici-types/file.d.ts","../../node_modules/undici-types/fetch.d.ts","../../node_modules/undici-types/formdata.d.ts","../../node_modules/undici-types/connector.d.ts","../../node_modules/undici-types/client.d.ts","../../node_modules/undici-types/errors.d.ts","../../node_modules/undici-types/dispatcher.d.ts","../../node_modules/undici-types/global-dispatcher.d.ts","../../node_modules/undici-types/global-origin.d.ts","../../node_modules/undici-types/pool-stats.d.ts","../../node_modules/undici-types/pool.d.ts","../../node_modules/undici-types/handlers.d.ts","../../node_modules/undici-types/balanced-pool.d.ts","../../node_modules/undici-types/agent.d.ts","../../node_modules/undici-types/mock-interceptor.d.ts","../../node_modules/undici-types/mock-agent.d.ts","../../node_modules/undici-types/mock-client.d.ts","../../node_modules/undici-types/mock-pool.d.ts","../../node_modules/undici-types/mock-errors.d.ts","../../node_modules/undici-types/proxy-agent.d.ts","../../node_modules/undici-types/env-http-proxy-agent.d.ts","../../node_modules/undici-types/retry-handler.d.ts","../../node_modules/undici-types/retry-agent.d.ts","../../node_modules/undici-types/api.d.ts","../../node_modules/undici-types/interceptors.d.ts","../../node_modules/undici-types/util.d.ts","../../node_modules/undici-types/cookies.d.ts","../../node_modules/undici-types/patch.d.ts","../../node_modules/undici-types/websocket.d.ts","../../node_modules/undici-types/eventsource.d.ts","../../node_modules/undici-types/filereader.d.ts","../../node_modules/undici-types/diagnostics-channel.d.ts","../../node_modules/undici-types/content-type.d.ts","../../node_modules/undici-types/cache.d.ts","../../node_modules/undici-types/index.d.ts","../../node_modules/@types/node/globals.d.ts","../../node_modules/@types/node/assert.d.ts","../../node_modules/@types/node/assert/strict.d.ts","../../node_modules/@types/node/async_hooks.d.ts","../../node_modules/@types/node/buffer.d.ts","../../node_modules/@types/node/child_process.d.ts","../../node_modules/@types/node/cluster.d.ts","../../node_modules/@types/node/console.d.ts","../../node_modules/@types/node/constants.d.ts","../../node_modules/@types/node/crypto.d.ts","../../node_modules/@types/node/dgram.d.ts","../../node_modules/@types/node/diagnostics_channel.d.ts","../../node_modules/@types/node/dns.d.ts","../../node_modules/@types/node/dns/promises.d.ts","../../node_modules/@types/node/domain.d.ts","../../node_modules/@types/node/dom-events.d.ts","../../node_modules/@types/node/events.d.ts","../../node_modules/@types/node/fs.d.ts","../../node_modules/@types/node/fs/promises.d.ts","../../node_modules/@types/node/http.d.ts","../../node_modules/@types/node/http2.d.ts","../../node_modules/@types/node/https.d.ts","../../node_modules/@types/node/inspector.d.ts","../../node_modules/@types/node/module.d.ts","../../node_modules/@types/node/net.d.ts","../../node_modules/@types/node/os.d.ts","../../node_modules/@types/node/path.d.ts","../../node_modules/@types/node/perf_hooks.d.ts","../../node_modules/@types/node/process.d.ts","../../node_modules/@types/node/punycode.d.ts","../../node_modules/@types/node/querystring.d.ts","../../node_modules/@types/node/readline.d.ts","../../node_modules/@types/node/readline/promises.d.ts","../../node_modules/@types/node/repl.d.ts","../../node_modules/@types/node/sea.d.ts","../../node_modules/@types/node/sqlite.d.ts","../../node_modules/@types/node/stream.d.ts","../../node_modules/@types/node/stream/promises.d.ts","../../node_modules/@types/node/stream/consumers.d.ts","../../node_modules/@types/node/stream/web.d.ts","../../node_modules/@types/node/string_decoder.d.ts","../../node_modules/@types/node/test.d.ts","../../node_modules/@types/node/timers.d.ts","../../node_modules/@types/node/timers/promises.d.ts","../../node_modules/@types/node/tls.d.ts","../../node_modules/@types/node/trace_events.d.ts","../../node_modules/@types/node/tty.d.ts","../../node_modules/@types/node/url.d.ts","../../node_modules/@types/node/util.d.ts","../../node_modules/@types/node/v8.d.ts","../../node_modules/@types/node/vm.d.ts","../../node_modules/@types/node/wasi.d.ts","../../node_modules/@types/node/worker_threads.d.ts","../../node_modules/@types/node/zlib.d.ts","../../node_modules/@types/node/ts5.6/index.d.ts","../../node_modules/@types/parse-json/index.d.ts","../../node_modules/@types/raf/index.d.ts","../../node_modules/@types/react-dom/index.d.ts","../../node_modules/@types/trusted-types/lib/index.d.ts","../../node_modules/@types/trusted-types/index.d.ts","../../node_modules/@types/use-sync-external-store/index.d.ts"],"fileInfos":["df039a67536fe2acc3affdcbfb645892f842db36fe599e8e652e2f0c640a90d1",{"version":"44e584d4f6444f58791784f1d530875970993129442a847597db702a073ca68c","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4",{"version":"4af6b0c727b7a2896463d512fafd23634229adf69ac7c00e2ae15a09cb084fad","affectsGlobalScope":true},{"version":"9c00a480825408b6a24c63c1b71362232927247595d7c97659bc24dc68ae0757","affectsGlobalScope":true},{"version":"80e18897e5884b6723488d4f5652167e7bb5024f946743134ecc4aa4ee731f89","affectsGlobalScope":true},{"version":"cd034f499c6cdca722b60c04b5b1b78e058487a7085a8e0d6fb50809947ee573","affectsGlobalScope":true},{"version":"6920e1448680767498a0b77c6a00a8e77d14d62c3da8967b171f1ddffa3c18e4","affectsGlobalScope":true},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"bc47685641087c015972a3f072480889f0d6c65515f12bd85222f49a98952ed7","affectsGlobalScope":true},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true},{"version":"ea011c76963fb15ef1cdd7ce6a6808b46322c527de2077b6cfdf23ae6f5f9ec7","affectsGlobalScope":true},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true},{"version":"bb42a7797d996412ecdc5b2787720de477103a0b2e53058569069a0e2bae6c7e","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"b541a838a13f9234aba650a825393ffc2292dc0fc87681a5d81ef0c96d281e7a","affectsGlobalScope":true},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true},{"version":"ae37d6ccd1560b0203ab88d46987393adaaa78c919e51acf32fb82c86502e98c","affectsGlobalScope":true},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"5e07ed3809d48205d5b985642a59f2eba47c402374a7cf8006b686f79efadcbd","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"479553e3779be7d4f68e9f40cdb82d038e5ef7592010100410723ceced22a0f7","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"36a2e4c9a67439aca5f91bb304611d5ae6e20d420503e96c230cf8fcdc948d94","affectsGlobalScope":true},"8a8eb4ebffd85e589a1cc7c178e291626c359543403d58c9cd22b81fab5b1fb9","ed6b820c54de95b2510bb673490d61c7f2187f532a339d8d04981645a918961f",{"version":"78e9a9dec8fcd712a2a775d8b67bf7d166c2fb06644bba3132f33dbef06db781","affectsGlobalScope":true},"42c169fb8c2d42f4f668c624a9a11e719d5d07dacbebb63cbcf7ef365b0a75b3",{"version":"91e6644fa81a2d7a906a0ab4f41b5dbfa68cb68ad66518cc4eae5c1e65777406","signature":"8d926428f292cba6a9ce82760caf629635cdecc2df919299a8a8bbf114138775"},{"version":"3a5fbf4f15231e6f6faec65114d1e21aec805582730c6981439fa5e838672c4c","signature":"13e265fdbabb3aad547f181e88143758154bf5475c7bf68a73a78b5a540764e9"},{"version":"2aa7fbed6df435e3a8a686372aab04092df22fb9ef17f2c421b13f6d9c48863f","signature":"abe3ff2362c72a5e74fedc457ac8b71117bf761c51435abfea474aa3816aa779"},{"version":"3e51768f5e93731827be6bd46589c84969f9d7279a28679cba44abfad42e538b","signature":"47886a30a9c72d442c3e60ea86948eefb642c0251fa6eec5e62a5d61c79eb645"},"f462e2eb3aa4a67d0f7d5c9e3aafb368e68f3cc8f1f4c006b624c90bb2fdf720","f913b853b3864dddda72b7bb88f26d551a88b467d42cec33627d40dc45ad3e29",{"version":"4ebad592d0457b7bd27d6fa856e45badef52e76f448e455e4ec095719baa3206","signature":"0107c308938026032d89b30cc0b2f32a4efbf4872a26b0041e96836865963b6e"},"dc37db30149714527eb1b49bea6b4b7bb06b183c8fdda9f15f93b2db8a5869e6","e0c868a08451c879984ccf4d4e3c1240b3be15af8988d230214977a3a3dad4ce","6fc1a4f64372593767a9b7b774e9b3b92bf04e8785c3f9ea98973aa9f4bbe490","ff09b6fbdcf74d8af4e131b8866925c5e18d225540b9b19ce9485ca93e574d84","d5895252efa27a50f134a9b580aa61f7def5ab73d0a8071f9b5bf9a317c01c2d","f94362be0203351e67499c41bd1f3c91f4dabf6872e5c880f269d5ad7ffda603","432a61971738da04b67e04e08390ac124cc543479083709896b2071d0a790066","1ba55e9efbea1dcf7a6563969ff406de1a9a865cbbdaea2714f090fff163e2b5",{"version":"75bc851da666e3e8ddfe0056f56ae55e4bd52e42590e35cbe55d89752a991006","affectsGlobalScope":true},"1f366bde16e0513fa7b64f87f86689c4d36efd85afce7eb24753e9c99b91c319","41a816c7e35b1449943f3a14db9fd6eb6cd69630a8b33f4bfc0bae7034558504","785b9d575b49124ce01b46f5b9402157c7611e6532effa562ac6aebec0074dfc","f3d8c757e148ad968f0d98697987db363070abada5f503da3c06aefd9d4248c1","a4a39b5714adfcadd3bbea6698ca2e942606d833bde62ad5fb6ec55f5e438ff8","bbc1d029093135d7d9bfa4b38cbf8761db505026cc458b5e9c8b74f4000e5e75","bc5c8a86f2025c4f52e4b13f08f2b76daddf50d5bad325795226f94537060e5d","39d0b6bff3b8c6019bda130371a1726da7d9b841d104467be6db239c5c32e9c2","b3338366fe1f2c5f978e2ec200f57d35c5bd2c4c90c2191f1e638cfa5621c1f6","ff81bffa4ecfceae2e86b5920c3fcb250b66b1d6ed72944dffdf58123be2481b","458111fc89d11d2151277c822dfdc1a28fa5b6b2493cf942e37d4cd0a6ee5f22","da2b6356b84a40111aaecb18304ea4e4fcb43d70efb1c13ca7d7a906445ee0d3","187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","aa2c18a1b5a086bbcaae10a4efba409cc95ba7287d8cf8f2591b53704fea3dea","6f294731b495c65ecf46a5694f0082954b961cf05463bea823f8014098eaffa0","0aaef8cded245bf5036a7a40b65622dd6c4da71f7a35343112edbe112b348a1e","00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","bdf0ed7d9ebae6175a5d1b4ec4065d07f8099379370a804b1faff05004dc387d","3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd","b03afe4bec768ae333582915146f48b161e567a81b5ebc31c4d78af089770ac9","df996e25faa505f85aeb294d15ebe61b399cf1d1e49959cdfaf2cc0815c203f9","4f6a12044ee6f458db11964153830abbc499e73d065c51c329ec97407f4b13dd",{"version":"70521b6ab0dcba37539e5303104f29b721bfb2940b2776da4cc818c07e1fefc1","affectsGlobalScope":true},{"version":"030e350db2525514580ed054f712ffb22d273e6bc7eddc1bb7eda1e0ba5d395e","affectsGlobalScope":true},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true},"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a",{"version":"613b21ccdf3be6329d56e6caa13b258c842edf8377be7bc9f014ed14cdcfc308","affectsGlobalScope":true},{"version":"2d1319e6b5d0efd8c5eae07eb864a00102151e8b9afddd2d45db52e9aae002c4","affectsGlobalScope":true},"8e9c23ba78aabc2e0a27033f18737a6df754067731e69dc5f52823957d60a4b6","5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","24bd580b5743dc56402c440dc7f9a4f5d592ad7a419f25414d37a7bfe11e342b","25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","6bdc71028db658243775263e93a7db2fd2abfce3ca569c3cca5aee6ed5eb186d","cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","4d2b0eb911816f66abe4970898f97a2cfc902bcd743cbfa5017fad79f7ef90d8","bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","24b8685c62562f5d98615c5a0c1d05f297cf5065f15246edfe99e81ec4c0e011","93507c745e8f29090efb99399c3f77bec07db17acd75634249dc92f961573387","339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107",{"version":"81184fe8e67d78ac4e5374650f0892d547d665d77da2b2f544b5d84729c4a15d","affectsGlobalScope":true},"f52e8dacc97d71dcc96af29e49584353f9c54cb916d132e3e768d8b8129c928d","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","76103716ba397bbb61f9fa9c9090dca59f39f9047cb1352b2179c5d8e7f4e8d0",{"version":"53eac70430b30089a3a1959d8306b0f9cfaf0de75224b68ef25243e0b5ad1ca3","affectsGlobalScope":true},"4314c7a11517e221f7296b46547dbc4df047115b182f544d072bdccffa57fc72","115971d64632ea4742b5b115fb64ed04bcaae2c3c342f13d9ba7e3f9ee39c4e7",{"version":"c2510f124c0293ab80b1777c44d80f812b75612f297b9857406468c0f4dafe29","affectsGlobalScope":true},"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb",{"version":"a76037255d4e7af8b20d191a4d3ad13236fba352239d3d9d54868a98dbb222f5","affectsGlobalScope":true},"24642567d3729bcc545bacb65ee7c0db423400c7f1ef757cab25d05650064f98","e6f5a38687bebe43a4cef426b69d34373ef68be9a6b1538ec0a371e69f309354","a6bf63d17324010ca1fbf0389cab83f93389bb0b9a01dc8a346d092f65b3605f","e009777bef4b023a999b2e5b9a136ff2cde37dc3f77c744a02840f05b18be8ff","1e0d1f8b0adfa0b0330e028c7941b5a98c08b600efe7f14d2d2a00854fb2f393",{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true},{"version":"875928df2f3e9a3aed4019539a15d04ff6140a06df6cd1b2feb836d22a81eaca","affectsGlobalScope":true},"20b97c3368b1a63d2156deea35d03b125bb07908906eb35e0438042a3bbb3e71","f65eecc63138013d13fefea9092e83c3043cb52a5e351d22ea194e81021c1cd5","4617299caf33afef24b5e074e6d20ce8f510dd212cebd75884ef27c64457a77b","fa56be9b96f747e93b895d8dc2aa4fb9f0816743e6e2abb9d60705e88d4743a2","8257c55ff6bff6169142a35fce6811b511d857b4ae4f522cdb6ce20fd2116b2c","6d386bc0d7f3afa1d401afc3e00ed6b09205a354a9795196caed937494a713e6",{"version":"5990bd8b9bc91f6e90269685ff5a154eeda52c18238f89f0101fb4d08cd80476","affectsGlobalScope":true},"94c4187083503a74f4544503b5a30e2bd7af0032dc739b0c9a7ce87f8bddc7b9","b1b6ee0d012aeebe11d776a155d8979730440082797695fc8e2a5c326285678f","45875bcae57270aeb3ebc73a5e3fb4c7b9d91d6b045f107c1d8513c28ece71c0",{"version":"3eb62baae4df08c9173e6903d3ca45942ccec8c3659b0565684a75f3292cffbb","affectsGlobalScope":true},{"version":"6f6abdaf8764ef01a552a958f45e795b5e79153b87ddad3af5264b86d2681b72","affectsGlobalScope":true},"3f16a7e4deafa527ed9995a772bb380eb7d3c2c0fd4ae178c5263ed18394db2c","c6b4e0a02545304935ecbf7de7a8e056a31bb50939b5b321c9d50a405b5a0bba","fab29e6d649aa074a6b91e3bdf2bff484934a46067f6ee97a30fcd9762ae2213","8145e07aad6da5f23f2fcd8c8e4c5c13fb26ee986a79d03b0829b8fce152d8b2","e1120271ebbc9952fdc7b2dd3e145560e52e06956345e6fdf91d70ca4886464f","15c5e91b5f08be34a78e3d976179bf5b7a9cc28dc0ef1ffebffeb3c7812a2dca","a8f06c2382a30b7cb89ad2dfc48fc3b2b490f3dafcd839dadc008e4e5d57031d","553870e516f8c772b89f3820576152ebc70181d7994d96917bb943e37da7f8a7","37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633",{"version":"745c4240220559bd340c8aeb6e3c5270a709d3565e934dc22a69c304703956bc","affectsGlobalScope":true},"2754d8221d77c7b382096651925eb476f1066b3348da4b73fe71ced7801edada",{"version":"918d3b03a75858dcd5dbb275f19448b6b9a222aa8fc8471aca38c28a32ecb40f","affectsGlobalScope":true},{"version":"bef91efa0baea5d0e0f0f27b574a8bc100ce62a6d7e70220a0d58af6acab5e89","affectsGlobalScope":true},"282fd2a1268a25345b830497b4b7bf5037a5e04f6a9c44c840cb605e19fea841","5360a27d3ebca11b224d7d3e38e3e2c63f8290cb1fcf6c3610401898f8e68bc3","66ba1b2c3e3a3644a1011cd530fb444a96b1b2dfe2f5e837a002d41a1a799e60","7e514f5b852fdbc166b539fdd1f4e9114f29911592a5eb10a94bb3a13ccac3c4",{"version":"7d6ff413e198d25639f9f01f16673e7df4e4bd2875a42455afd4ecc02ef156da","affectsGlobalScope":true},{"version":"6bd91a2a356600dee28eb0438082d0799a18a974a6537c4410a796bab749813c","affectsGlobalScope":true},"a5c09990a37469b0311a92ce8feeb8682e83918723aedbd445bd7a0f510eaaa3","ae25afbbf1ed5df63a177d67b9048bf7481067f1b8dc9c39212e59db94fc9fc6","ac5ed35e649cdd8143131964336ab9076937fa91802ec760b3ea63b59175c10a",{"version":"89332fc3cc945c8df2bc0aead55230430a0dabd3277c39a43315e00330de97a6","affectsGlobalScope":true},"78dc0513cc4f1642906b74dda42146bcbd9df7401717d6e89ea6d72d12ecb539","171fd8807643c46a9d17e843959abdf10480d57d60d38d061fb44a4c8d4a8cc4","916be7d770b0ae0406be9486ac12eb9825f21514961dd050594c4b250617d5a8","4cf58cd73f135e59d2268b4b792623bd8cc7ea887d96498f2a64d550beb930bb","adb17fea4d847e1267ae1241fa1ac3917c7e332999ebdab388a24d82d4f58240","15fe687c59d62741b4494d5e623d497d55eb38966ecf5bea7f36e48fc3fbe15e",{"version":"2c3b8be03577c98530ef9cb1a76e2c812636a871f367e9edf4c5f3ce702b77f8","affectsGlobalScope":true},"61f41da9aaa809e5142b1d849d4e70f3e09913a5cb32c629bf6e61ef27967ff7"],"root":[[55,62]],"options":{"composite":true,"declaration":true,"jsx":4,"module":99,"outDir":"./dist","rootDir":"./src","target":2,"useDefineForClassFields":true},"fileIdsList":[[98,141],[64,98,141],[68,98,141],[67,98,141],[73,74,75,98,141],[76,98,141],[80,82,83,84,85,86,87,88,89,90,91,92,98,141],[80,81,83,84,85,86,87,88,89,90,91,92,98,141],[81,82,83,84,85,86,87,88,89,90,91,92,98,141],[80,81,82,84,85,86,87,88,89,90,91,92,98,141],[80,81,82,83,85,86,87,88,89,90,91,92,98,141],[80,81,82,83,84,86,87,88,89,90,91,92,98,141],[80,81,82,83,84,85,87,88,89,90,91,92,98,141],[80,81,82,83,84,85,86,88,89,90,91,92,98,141],[80,81,82,83,84,85,86,87,89,90,91,92,98,141],[80,81,82,83,84,85,86,87,88,90,91,92,98,141],[80,81,82,83,84,85,86,87,88,89,91,92,98,141],[80,81,82,83,84,85,86,87,88,89,90,92,98,141],[80,81,82,83,84,85,86,87,88,89,90,91,98,141],[98,138,141],[98,140,141],[98,141,146,176],[98,141,142,147,153,154,161,173,184],[98,141,142,143,153,161],[93,94,95,98,141],[98,141,144,185],[98,141,145,146,154,162],[98,141,146,173,181],[98,141,147,149,153,161],[98,140,141,148],[98,141,149,150],[98,141,153],[98,141,151,153],[98,140,141,153],[98,141,153,154,155,173,184],[98,141,153,154,155,168,173,176],[98,136,141,189],[98,136,141,149,153,156,161,173,184],[98,141,153,154,156,157,161,173,181,184],[98,141,156,158,173,181,184],[98,141,153,159],[98,141,160,184,189],[98,141,149,153,161,173],[98,141,162],[98,141,163],[98,140,141,164],[98,138,139,140,141,142,143,144,145,146,147,148,149,150,151,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190],[98,141,166],[98,141,167],[98,141,153,168,169],[98,141,168,170,185,187],[98,141,153,173,174,175,176],[98,141,173,175],[98,141,173,174],[98,141,176],[98,141,177],[98,138,141,173],[98,141,153,179,180],[98,141,179,180],[98,141,146,161,173,181],[98,141,182],[141],[96,97,98,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190],[98,141,161,183],[98,141,156,167,184],[98,141,146,185],[98,141,173,186],[98,141,160,187],[98,141,188],[98,141,146,153,155,164,173,184,187,189],[98,141,173,190],[53,98,141],[50,51,52,98,141],[98,141,195],[98,108,112,141,184],[98,108,141,173,184],[98,103,141],[98,105,108,141,181,184],[98,141,161,181],[98,141,191],[98,103,141,191],[98,105,108,141,161,184],[98,100,101,104,107,141,153,173,184],[98,108,115,141],[98,100,106,141],[98,108,129,130,141],[98,104,108,141,176,184,191],[98,129,141,191],[98,102,103,141,191],[98,108,141],[98,102,103,104,105,106,107,108,109,110,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,130,131,132,133,134,135,141],[98,108,123,141],[98,108,115,116,141],[98,106,108,116,117,141],[98,107,141],[98,100,103,108,141],[98,108,112,116,117,141],[98,112,141],[98,106,108,111,141,184],[98,100,105,108,115,141],[98,141,173],[98,103,108,129,141,189,191],[54,60,98,141],[54,61,98,141],[54,98,141],[54,56,98,141],[54,55,56,57,58,59,98,141]],"referencedMap":[[63,1],[64,1],[65,1],[66,2],[67,1],[69,3],[70,4],[68,1],[71,1],[72,1],[76,5],[75,6],[77,6],[73,1],[78,1],[79,1],[74,1],[81,7],[82,8],[80,9],[83,10],[84,11],[85,12],[86,13],[87,14],[88,15],[89,16],[90,17],[91,18],[92,19],[138,20],[139,20],[140,21],[141,22],[142,23],[143,24],[93,1],[96,25],[94,1],[95,1],[144,26],[145,27],[146,28],[147,29],[148,30],[149,31],[150,31],[152,32],[151,33],[153,34],[154,35],[155,36],[137,37],[156,38],[157,39],[158,40],[159,41],[160,42],[161,43],[162,44],[163,45],[164,46],[165,47],[166,48],[167,49],[168,50],[169,50],[170,51],[171,1],[172,1],[173,52],[175,53],[174,54],[176,55],[177,56],[178,57],[179,58],[180,59],[181,60],[182,61],[98,62],[97,1],[191,63],[183,64],[184,65],[185,66],[186,67],[187,68],[188,69],[189,70],[190,71],[192,1],[52,1],[193,1],[194,72],[50,1],[53,73],[54,72],[196,74],[195,1],[197,1],[99,1],[51,1],[48,1],[49,1],[9,1],[10,1],[14,1],[13,1],[3,1],[15,1],[16,1],[17,1],[18,1],[19,1],[20,1],[21,1],[22,1],[4,1],[23,1],[5,1],[24,1],[28,1],[25,1],[26,1],[27,1],[29,1],[30,1],[31,1],[6,1],[32,1],[33,1],[34,1],[35,1],[7,1],[39,1],[36,1],[37,1],[38,1],[40,1],[8,1],[41,1],[46,1],[47,1],[42,1],[43,1],[44,1],[45,1],[2,1],[1,1],[12,1],[11,1],[115,75],[125,76],[114,75],[135,77],[106,78],[105,79],[134,80],[128,81],[133,82],[108,83],[122,84],[107,85],[131,86],[103,87],[102,80],[132,88],[104,89],[109,90],[110,1],[113,90],[100,1],[136,91],[126,92],[117,93],[118,94],[120,95],[116,96],[119,97],[129,80],[111,98],[112,99],[121,100],[101,101],[124,92],[123,90],[127,1],[130,102],[61,103],[62,104],[55,105],[58,105],[59,105],[56,105],[57,106],[60,107]],"latestChangedDtsFile":"./dist/apis/index.d.ts"},"version":"5.5.4"}
|