@veeroute/lss-registry-angular 7.25.3009
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 +185 -0
- package/api/api.d.ts +13 -0
- package/api/backupsService.d.ts +56 -0
- package/api/backupsServiceInterface.d.ts +35 -0
- package/api/configurationsService.d.ts +256 -0
- package/api/configurationsServiceInterface.d.ts +132 -0
- package/api/explorerService.d.ts +279 -0
- package/api/explorerServiceInterface.d.ts +132 -0
- package/api/systemService.d.ts +78 -0
- package/api/systemServiceInterface.d.ts +37 -0
- package/api.base.service.d.ts +21 -0
- package/api.module.d.ts +11 -0
- package/cfg/process_types.json +172 -0
- package/configuration.d.ts +106 -0
- package/encoder.d.ts +11 -0
- package/esm2022/api/api.mjs +14 -0
- package/esm2022/api/backupsService.mjs +135 -0
- package/esm2022/api/backupsServiceInterface.mjs +2 -0
- package/esm2022/api/configurationsService.mjs +563 -0
- package/esm2022/api/configurationsServiceInterface.mjs +2 -0
- package/esm2022/api/explorerService.mjs +594 -0
- package/esm2022/api/explorerServiceInterface.mjs +2 -0
- package/esm2022/api/systemService.mjs +149 -0
- package/esm2022/api/systemServiceInterface.mjs +2 -0
- package/esm2022/api.base.service.mjs +79 -0
- package/esm2022/api.module.mjs +40 -0
- package/esm2022/configuration.mjs +145 -0
- package/esm2022/encoder.mjs +19 -0
- package/esm2022/index.mjs +8 -0
- package/esm2022/model/attribute.mjs +11 -0
- package/esm2022/model/checkResult.mjs +11 -0
- package/esm2022/model/configuration.mjs +2 -0
- package/esm2022/model/fileNamePath.mjs +11 -0
- package/esm2022/model/fileSpecification.mjs +11 -0
- package/esm2022/model/filesystem.mjs +2 -0
- package/esm2022/model/filesystemColumnType.mjs +23 -0
- package/esm2022/model/filesystemCounters.mjs +2 -0
- package/esm2022/model/filesystemPath.mjs +2 -0
- package/esm2022/model/folder.mjs +2 -0
- package/esm2022/model/folderCounters.mjs +11 -0
- package/esm2022/model/folderSpecification.mjs +2 -0
- package/esm2022/model/folderType.mjs +18 -0
- package/esm2022/model/general400.mjs +2 -0
- package/esm2022/model/general402.mjs +2 -0
- package/esm2022/model/general403.mjs +2 -0
- package/esm2022/model/general404.mjs +2 -0
- package/esm2022/model/general404Detail.mjs +2 -0
- package/esm2022/model/general429.mjs +2 -0
- package/esm2022/model/general500.mjs +2 -0
- package/esm2022/model/models.mjs +30 -0
- package/esm2022/model/schemaError.mjs +11 -0
- package/esm2022/model/service.mjs +26 -0
- package/esm2022/model/tableConfiguration.mjs +2 -0
- package/esm2022/model/tableConfigurationColumnType.mjs +22 -0
- package/esm2022/model/tableConfigurationList.mjs +2 -0
- package/esm2022/model/tableListCounters.mjs +2 -0
- package/esm2022/model/tableListCountersDetail.mjs +11 -0
- package/esm2022/model/tracedata.mjs +2 -0
- package/esm2022/model/versionResult.mjs +11 -0
- package/esm2022/param.mjs +2 -0
- package/esm2022/provide-api.mjs +15 -0
- package/esm2022/variables.mjs +9 -0
- package/esm2022/veeroute-lss-registry-angular.mjs +5 -0
- package/fesm2022/veeroute-lss-registry-angular.mjs +1887 -0
- package/fesm2022/veeroute-lss-registry-angular.mjs.map +1 -0
- package/index.d.ts +7 -0
- package/model/attribute.d.ts +23 -0
- package/model/checkResult.d.ts +19 -0
- package/model/configuration.d.ts +37 -0
- package/model/fileNamePath.d.ts +23 -0
- package/model/fileSpecification.d.ts +27 -0
- package/model/filesystem.d.ts +23 -0
- package/model/filesystemColumnType.d.ts +21 -0
- package/model/filesystemCounters.d.ts +24 -0
- package/model/filesystemPath.d.ts +20 -0
- package/model/folder.d.ts +60 -0
- package/model/folderCounters.d.ts +23 -0
- package/model/folderSpecification.d.ts +40 -0
- package/model/folderType.d.ts +16 -0
- package/model/general400.d.ts +26 -0
- package/model/general402.d.ts +21 -0
- package/model/general403.d.ts +21 -0
- package/model/general404.d.ts +21 -0
- package/model/general404Detail.d.ts +17 -0
- package/model/general429.d.ts +21 -0
- package/model/general500.d.ts +21 -0
- package/model/models.d.ts +29 -0
- package/model/schemaError.d.ts +23 -0
- package/model/service.d.ts +24 -0
- package/model/tableConfiguration.d.ts +29 -0
- package/model/tableConfigurationColumnType.d.ts +20 -0
- package/model/tableConfigurationList.d.ts +22 -0
- package/model/tableListCounters.d.ts +24 -0
- package/model/tableListCountersDetail.d.ts +19 -0
- package/model/tracedata.d.ts +49 -0
- package/model/versionResult.d.ts +27 -0
- package/package.json +33 -0
- package/param.d.ts +37 -0
- package/provide-api.d.ts +3 -0
- package/variables.d.ts +8 -0
|
@@ -0,0 +1,1887 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { InjectionToken, Optional, Inject, Injectable, SkipSelf, NgModule, makeEnvironmentProviders } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/common/http';
|
|
4
|
+
import { HttpHeaders, HttpContext, HttpParams } from '@angular/common/http';
|
|
5
|
+
|
|
6
|
+
const BASE_PATH = new InjectionToken('basePath');
|
|
7
|
+
const COLLECTION_FORMATS = {
|
|
8
|
+
'csv': ',',
|
|
9
|
+
'tsv': ' ',
|
|
10
|
+
'ssv': ' ',
|
|
11
|
+
'pipes': '|'
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Custom HttpParameterCodec
|
|
16
|
+
* Workaround for https://github.com/angular/angular/issues/18261
|
|
17
|
+
*/
|
|
18
|
+
class CustomHttpParameterCodec {
|
|
19
|
+
encodeKey(k) {
|
|
20
|
+
return encodeURIComponent(k);
|
|
21
|
+
}
|
|
22
|
+
encodeValue(v) {
|
|
23
|
+
return encodeURIComponent(v);
|
|
24
|
+
}
|
|
25
|
+
decodeKey(k) {
|
|
26
|
+
return decodeURIComponent(k);
|
|
27
|
+
}
|
|
28
|
+
decodeValue(v) {
|
|
29
|
+
return decodeURIComponent(v);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
class Configuration {
|
|
34
|
+
/**
|
|
35
|
+
* @deprecated Since 5.0. Use credentials instead
|
|
36
|
+
*/
|
|
37
|
+
apiKeys;
|
|
38
|
+
username;
|
|
39
|
+
password;
|
|
40
|
+
/**
|
|
41
|
+
* @deprecated Since 5.0. Use credentials instead
|
|
42
|
+
*/
|
|
43
|
+
accessToken;
|
|
44
|
+
basePath;
|
|
45
|
+
withCredentials;
|
|
46
|
+
/**
|
|
47
|
+
* Takes care of encoding query- and form-parameters.
|
|
48
|
+
*/
|
|
49
|
+
encoder;
|
|
50
|
+
/**
|
|
51
|
+
* Encoding of various path parameter
|
|
52
|
+
* <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values">styles</a>.
|
|
53
|
+
* <p>
|
|
54
|
+
* See {@link README.md} for more details
|
|
55
|
+
* </p>
|
|
56
|
+
*/
|
|
57
|
+
encodeParam;
|
|
58
|
+
/**
|
|
59
|
+
* The keys are the names in the securitySchemes section of the OpenAPI
|
|
60
|
+
* document. They should map to the value used for authentication
|
|
61
|
+
* minus any standard prefixes such as 'Basic' or 'Bearer'.
|
|
62
|
+
*/
|
|
63
|
+
credentials;
|
|
64
|
+
constructor({ accessToken, apiKeys, basePath, credentials, encodeParam, encoder, password, username, withCredentials } = {}) {
|
|
65
|
+
if (apiKeys) {
|
|
66
|
+
this.apiKeys = apiKeys;
|
|
67
|
+
}
|
|
68
|
+
if (username !== undefined) {
|
|
69
|
+
this.username = username;
|
|
70
|
+
}
|
|
71
|
+
if (password !== undefined) {
|
|
72
|
+
this.password = password;
|
|
73
|
+
}
|
|
74
|
+
if (accessToken !== undefined) {
|
|
75
|
+
this.accessToken = accessToken;
|
|
76
|
+
}
|
|
77
|
+
if (basePath !== undefined) {
|
|
78
|
+
this.basePath = basePath;
|
|
79
|
+
}
|
|
80
|
+
if (withCredentials !== undefined) {
|
|
81
|
+
this.withCredentials = withCredentials;
|
|
82
|
+
}
|
|
83
|
+
if (encoder) {
|
|
84
|
+
this.encoder = encoder;
|
|
85
|
+
}
|
|
86
|
+
this.encodeParam = encodeParam ?? (param => this.defaultEncodeParam(param));
|
|
87
|
+
this.credentials = credentials ?? {};
|
|
88
|
+
// init default ApiKeyAuth credential
|
|
89
|
+
if (!this.credentials['ApiKeyAuth']) {
|
|
90
|
+
this.credentials['ApiKeyAuth'] = () => {
|
|
91
|
+
return typeof this.accessToken === 'function'
|
|
92
|
+
? this.accessToken()
|
|
93
|
+
: this.accessToken;
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Select the correct content-type to use for a request.
|
|
99
|
+
* Uses {@link Configuration#isJsonMime} to determine the correct content-type.
|
|
100
|
+
* If no content type is found return the first found type if the contentTypes is not empty
|
|
101
|
+
* @param contentTypes - the array of content types that are available for selection
|
|
102
|
+
* @returns the selected content-type or <code>undefined</code> if no selection could be made.
|
|
103
|
+
*/
|
|
104
|
+
selectHeaderContentType(contentTypes) {
|
|
105
|
+
if (contentTypes.length === 0) {
|
|
106
|
+
return undefined;
|
|
107
|
+
}
|
|
108
|
+
const type = contentTypes.find((x) => this.isJsonMime(x));
|
|
109
|
+
if (type === undefined) {
|
|
110
|
+
return contentTypes[0];
|
|
111
|
+
}
|
|
112
|
+
return type;
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* Select the correct accept content-type to use for a request.
|
|
116
|
+
* Uses {@link Configuration#isJsonMime} to determine the correct accept content-type.
|
|
117
|
+
* If no content type is found return the first found type if the contentTypes is not empty
|
|
118
|
+
* @param accepts - the array of content types that are available for selection.
|
|
119
|
+
* @returns the selected content-type or <code>undefined</code> if no selection could be made.
|
|
120
|
+
*/
|
|
121
|
+
selectHeaderAccept(accepts) {
|
|
122
|
+
if (accepts.length === 0) {
|
|
123
|
+
return undefined;
|
|
124
|
+
}
|
|
125
|
+
const type = accepts.find((x) => this.isJsonMime(x));
|
|
126
|
+
if (type === undefined) {
|
|
127
|
+
return accepts[0];
|
|
128
|
+
}
|
|
129
|
+
return type;
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* Check if the given MIME is a JSON MIME.
|
|
133
|
+
* JSON MIME examples:
|
|
134
|
+
* application/json
|
|
135
|
+
* application/json; charset=UTF8
|
|
136
|
+
* APPLICATION/JSON
|
|
137
|
+
* application/vnd.company+json
|
|
138
|
+
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
139
|
+
* @return True if the given MIME is JSON, false otherwise.
|
|
140
|
+
*/
|
|
141
|
+
isJsonMime(mime) {
|
|
142
|
+
const jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
|
|
143
|
+
return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
|
|
144
|
+
}
|
|
145
|
+
lookupCredential(key) {
|
|
146
|
+
const value = this.credentials[key];
|
|
147
|
+
return typeof value === 'function'
|
|
148
|
+
? value()
|
|
149
|
+
: value;
|
|
150
|
+
}
|
|
151
|
+
addCredentialToHeaders(credentialKey, headerName, headers, prefix) {
|
|
152
|
+
const value = this.lookupCredential(credentialKey);
|
|
153
|
+
return value
|
|
154
|
+
? headers.set(headerName, (prefix ?? '') + value)
|
|
155
|
+
: headers;
|
|
156
|
+
}
|
|
157
|
+
addCredentialToQuery(credentialKey, paramName, query) {
|
|
158
|
+
const value = this.lookupCredential(credentialKey);
|
|
159
|
+
return value
|
|
160
|
+
? query.set(paramName, value)
|
|
161
|
+
: query;
|
|
162
|
+
}
|
|
163
|
+
defaultEncodeParam(param) {
|
|
164
|
+
// This implementation exists as fallback for missing configuration
|
|
165
|
+
// and for backwards compatibility to older typescript-angular generator versions.
|
|
166
|
+
// It only works for the 'simple' parameter style.
|
|
167
|
+
// Date-handling only works for the 'date-time' format.
|
|
168
|
+
// All other styles and Date-formats are probably handled incorrectly.
|
|
169
|
+
//
|
|
170
|
+
// But: if that's all you need (i.e.: the most common use-case): no need for customization!
|
|
171
|
+
const value = param.dataFormat === 'date-time' && param.value instanceof Date
|
|
172
|
+
? param.value.toISOString()
|
|
173
|
+
: param.value;
|
|
174
|
+
return encodeURIComponent(String(value));
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* VRt.Registry [RG]
|
|
180
|
+
*
|
|
181
|
+
* The version of the OpenAPI document: 7.25.3009
|
|
182
|
+
* Contact: servicedesk@veeroute.com
|
|
183
|
+
*
|
|
184
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
185
|
+
* Do not edit the class manually.
|
|
186
|
+
*/
|
|
187
|
+
class BaseService {
|
|
188
|
+
basePath = 'https://api.edge7.veeroute.cloud';
|
|
189
|
+
defaultHeaders = new HttpHeaders();
|
|
190
|
+
configuration;
|
|
191
|
+
encoder;
|
|
192
|
+
constructor(basePath, configuration) {
|
|
193
|
+
this.configuration = configuration || new Configuration();
|
|
194
|
+
if (typeof this.configuration.basePath !== 'string') {
|
|
195
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
196
|
+
if (firstBasePath != undefined) {
|
|
197
|
+
basePath = firstBasePath;
|
|
198
|
+
}
|
|
199
|
+
if (typeof basePath !== 'string') {
|
|
200
|
+
basePath = this.basePath;
|
|
201
|
+
}
|
|
202
|
+
this.configuration.basePath = basePath;
|
|
203
|
+
}
|
|
204
|
+
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
205
|
+
}
|
|
206
|
+
canConsumeForm(consumes) {
|
|
207
|
+
return consumes.indexOf('multipart/form-data') !== -1;
|
|
208
|
+
}
|
|
209
|
+
addToHttpParams(httpParams, value, key, isDeep = false) {
|
|
210
|
+
// If the value is an object (but not a Date), recursively add its keys.
|
|
211
|
+
if (typeof value === 'object' && !(value instanceof Date)) {
|
|
212
|
+
return this.addToHttpParamsRecursive(httpParams, value, isDeep ? key : undefined, isDeep);
|
|
213
|
+
}
|
|
214
|
+
return this.addToHttpParamsRecursive(httpParams, value, key);
|
|
215
|
+
}
|
|
216
|
+
addToHttpParamsRecursive(httpParams, value, key, isDeep = false) {
|
|
217
|
+
if (value === null || value === undefined) {
|
|
218
|
+
return httpParams;
|
|
219
|
+
}
|
|
220
|
+
if (typeof value === 'object') {
|
|
221
|
+
// If JSON format is preferred, key must be provided.
|
|
222
|
+
if (key != null) {
|
|
223
|
+
return isDeep
|
|
224
|
+
? Object.keys(value).reduce((hp, k) => hp.append(`${key}[${k}]`, value[k]), httpParams)
|
|
225
|
+
: httpParams.append(key, JSON.stringify(value));
|
|
226
|
+
}
|
|
227
|
+
// Otherwise, if it's an array, add each element.
|
|
228
|
+
if (Array.isArray(value)) {
|
|
229
|
+
value.forEach(elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
|
|
230
|
+
}
|
|
231
|
+
else if (value instanceof Date) {
|
|
232
|
+
if (key != null) {
|
|
233
|
+
httpParams = httpParams.append(key, value.toISOString());
|
|
234
|
+
}
|
|
235
|
+
else {
|
|
236
|
+
throw Error("key may not be null if value is Date");
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
else {
|
|
240
|
+
Object.keys(value).forEach(k => {
|
|
241
|
+
const paramKey = key ? `${key}.${k}` : k;
|
|
242
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value[k], paramKey);
|
|
243
|
+
});
|
|
244
|
+
}
|
|
245
|
+
return httpParams;
|
|
246
|
+
}
|
|
247
|
+
else if (key != null) {
|
|
248
|
+
return httpParams.append(key, value);
|
|
249
|
+
}
|
|
250
|
+
throw Error("key may not be null if value is not object or array");
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* VRt.Registry [RG]
|
|
256
|
+
*
|
|
257
|
+
* The version of the OpenAPI document: 7.25.3009
|
|
258
|
+
* Contact: servicedesk@veeroute.com
|
|
259
|
+
*
|
|
260
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
261
|
+
* Do not edit the class manually.
|
|
262
|
+
*/
|
|
263
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
264
|
+
class BackupsService extends BaseService {
|
|
265
|
+
httpClient;
|
|
266
|
+
constructor(httpClient, basePath, configuration) {
|
|
267
|
+
super(basePath, configuration);
|
|
268
|
+
this.httpClient = httpClient;
|
|
269
|
+
}
|
|
270
|
+
createBackup(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
271
|
+
const folderKey = requestParameters?.folderKey;
|
|
272
|
+
if (folderKey === null || folderKey === undefined) {
|
|
273
|
+
throw new Error('Required parameter folderKey was null or undefined when calling createBackup.');
|
|
274
|
+
}
|
|
275
|
+
let localVarHeaders = this.defaultHeaders;
|
|
276
|
+
// authentication (ApiKeyAuth) required
|
|
277
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('ApiKeyAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
278
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
279
|
+
'application/octet-stream',
|
|
280
|
+
'application/json'
|
|
281
|
+
]);
|
|
282
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
283
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
284
|
+
}
|
|
285
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
286
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
287
|
+
let responseType_ = 'json';
|
|
288
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
289
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
290
|
+
responseType_ = 'text';
|
|
291
|
+
}
|
|
292
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
293
|
+
responseType_ = 'json';
|
|
294
|
+
}
|
|
295
|
+
else {
|
|
296
|
+
responseType_ = 'blob';
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
let localVarPath = `/registry/backups/${this.configuration.encodeParam({ name: "folderKey", value: folderKey, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}`;
|
|
300
|
+
const { basePath, withCredentials } = this.configuration;
|
|
301
|
+
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
302
|
+
context: localVarHttpContext,
|
|
303
|
+
responseType: responseType_,
|
|
304
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
305
|
+
headers: localVarHeaders,
|
|
306
|
+
observe: observe,
|
|
307
|
+
transferCache: localVarTransferCache,
|
|
308
|
+
reportProgress: reportProgress
|
|
309
|
+
});
|
|
310
|
+
}
|
|
311
|
+
restoreBackup(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
312
|
+
const folderKey = requestParameters?.folderKey;
|
|
313
|
+
if (folderKey === null || folderKey === undefined) {
|
|
314
|
+
throw new Error('Required parameter folderKey was null or undefined when calling restoreBackup.');
|
|
315
|
+
}
|
|
316
|
+
const body = requestParameters?.body;
|
|
317
|
+
if (body === null || body === undefined) {
|
|
318
|
+
throw new Error('Required parameter body was null or undefined when calling restoreBackup.');
|
|
319
|
+
}
|
|
320
|
+
let localVarHeaders = this.defaultHeaders;
|
|
321
|
+
// authentication (ApiKeyAuth) required
|
|
322
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('ApiKeyAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
323
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
324
|
+
'application/json'
|
|
325
|
+
]);
|
|
326
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
327
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
328
|
+
}
|
|
329
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
330
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
331
|
+
// to determine the Content-Type header
|
|
332
|
+
const consumes = [
|
|
333
|
+
'application/octet-stream'
|
|
334
|
+
];
|
|
335
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
336
|
+
if (httpContentTypeSelected !== undefined) {
|
|
337
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
338
|
+
}
|
|
339
|
+
let responseType_ = 'json';
|
|
340
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
341
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
342
|
+
responseType_ = 'text';
|
|
343
|
+
}
|
|
344
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
345
|
+
responseType_ = 'json';
|
|
346
|
+
}
|
|
347
|
+
else {
|
|
348
|
+
responseType_ = 'blob';
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
let localVarPath = `/registry/backups/${this.configuration.encodeParam({ name: "folderKey", value: folderKey, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}`;
|
|
352
|
+
const { basePath, withCredentials } = this.configuration;
|
|
353
|
+
return this.httpClient.request('put', `${basePath}${localVarPath}`, {
|
|
354
|
+
context: localVarHttpContext,
|
|
355
|
+
body: body,
|
|
356
|
+
responseType: responseType_,
|
|
357
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
358
|
+
headers: localVarHeaders,
|
|
359
|
+
observe: observe,
|
|
360
|
+
transferCache: localVarTransferCache,
|
|
361
|
+
reportProgress: reportProgress
|
|
362
|
+
});
|
|
363
|
+
}
|
|
364
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BackupsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
365
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BackupsService, providedIn: 'root' });
|
|
366
|
+
}
|
|
367
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BackupsService, decorators: [{
|
|
368
|
+
type: Injectable,
|
|
369
|
+
args: [{
|
|
370
|
+
providedIn: 'root'
|
|
371
|
+
}]
|
|
372
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
373
|
+
type: Optional
|
|
374
|
+
}, {
|
|
375
|
+
type: Inject,
|
|
376
|
+
args: [BASE_PATH]
|
|
377
|
+
}] }, { type: Configuration, decorators: [{
|
|
378
|
+
type: Optional
|
|
379
|
+
}] }] });
|
|
380
|
+
|
|
381
|
+
/**
|
|
382
|
+
* VRt.Registry [RG]
|
|
383
|
+
*
|
|
384
|
+
* The version of the OpenAPI document: 7.25.3009
|
|
385
|
+
* Contact: servicedesk@veeroute.com
|
|
386
|
+
*
|
|
387
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
388
|
+
* Do not edit the class manually.
|
|
389
|
+
*/
|
|
390
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
391
|
+
class ConfigurationsService extends BaseService {
|
|
392
|
+
httpClient;
|
|
393
|
+
constructor(httpClient, basePath, configuration) {
|
|
394
|
+
super(basePath, configuration);
|
|
395
|
+
this.httpClient = httpClient;
|
|
396
|
+
}
|
|
397
|
+
createConfiguration(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
398
|
+
const fileSpecificationRegistry = requestParameters?.fileSpecificationRegistry;
|
|
399
|
+
if (fileSpecificationRegistry === null || fileSpecificationRegistry === undefined) {
|
|
400
|
+
throw new Error('Required parameter fileSpecificationRegistry was null or undefined when calling createConfiguration.');
|
|
401
|
+
}
|
|
402
|
+
let localVarHeaders = this.defaultHeaders;
|
|
403
|
+
// authentication (ApiKeyAuth) required
|
|
404
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('ApiKeyAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
405
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
406
|
+
'application/json'
|
|
407
|
+
]);
|
|
408
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
409
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
410
|
+
}
|
|
411
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
412
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
413
|
+
// to determine the Content-Type header
|
|
414
|
+
const consumes = [
|
|
415
|
+
'application/json'
|
|
416
|
+
];
|
|
417
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
418
|
+
if (httpContentTypeSelected !== undefined) {
|
|
419
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
420
|
+
}
|
|
421
|
+
let responseType_ = 'json';
|
|
422
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
423
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
424
|
+
responseType_ = 'text';
|
|
425
|
+
}
|
|
426
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
427
|
+
responseType_ = 'json';
|
|
428
|
+
}
|
|
429
|
+
else {
|
|
430
|
+
responseType_ = 'blob';
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
let localVarPath = `/registry/configurations`;
|
|
434
|
+
const { basePath, withCredentials } = this.configuration;
|
|
435
|
+
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
436
|
+
context: localVarHttpContext,
|
|
437
|
+
body: fileSpecificationRegistry,
|
|
438
|
+
responseType: responseType_,
|
|
439
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
440
|
+
headers: localVarHeaders,
|
|
441
|
+
observe: observe,
|
|
442
|
+
transferCache: localVarTransferCache,
|
|
443
|
+
reportProgress: reportProgress
|
|
444
|
+
});
|
|
445
|
+
}
|
|
446
|
+
deleteConfiguration(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
447
|
+
const configurationKey = requestParameters?.configurationKey;
|
|
448
|
+
if (configurationKey === null || configurationKey === undefined) {
|
|
449
|
+
throw new Error('Required parameter configurationKey was null or undefined when calling deleteConfiguration.');
|
|
450
|
+
}
|
|
451
|
+
let localVarHeaders = this.defaultHeaders;
|
|
452
|
+
// authentication (ApiKeyAuth) required
|
|
453
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('ApiKeyAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
454
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
455
|
+
'application/json'
|
|
456
|
+
]);
|
|
457
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
458
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
459
|
+
}
|
|
460
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
461
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
462
|
+
let responseType_ = 'json';
|
|
463
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
464
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
465
|
+
responseType_ = 'text';
|
|
466
|
+
}
|
|
467
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
468
|
+
responseType_ = 'json';
|
|
469
|
+
}
|
|
470
|
+
else {
|
|
471
|
+
responseType_ = 'blob';
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
let localVarPath = `/registry/configurations/${this.configuration.encodeParam({ name: "configurationKey", value: configurationKey, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}`;
|
|
475
|
+
const { basePath, withCredentials } = this.configuration;
|
|
476
|
+
return this.httpClient.request('delete', `${basePath}${localVarPath}`, {
|
|
477
|
+
context: localVarHttpContext,
|
|
478
|
+
responseType: responseType_,
|
|
479
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
480
|
+
headers: localVarHeaders,
|
|
481
|
+
observe: observe,
|
|
482
|
+
transferCache: localVarTransferCache,
|
|
483
|
+
reportProgress: reportProgress
|
|
484
|
+
});
|
|
485
|
+
}
|
|
486
|
+
duplicateConfiguration(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
487
|
+
const configurationKey = requestParameters?.configurationKey;
|
|
488
|
+
if (configurationKey === null || configurationKey === undefined) {
|
|
489
|
+
throw new Error('Required parameter configurationKey was null or undefined when calling duplicateConfiguration.');
|
|
490
|
+
}
|
|
491
|
+
const fileSpecificationRegistry = requestParameters?.fileSpecificationRegistry;
|
|
492
|
+
if (fileSpecificationRegistry === null || fileSpecificationRegistry === undefined) {
|
|
493
|
+
throw new Error('Required parameter fileSpecificationRegistry was null or undefined when calling duplicateConfiguration.');
|
|
494
|
+
}
|
|
495
|
+
let localVarHeaders = this.defaultHeaders;
|
|
496
|
+
// authentication (ApiKeyAuth) required
|
|
497
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('ApiKeyAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
498
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
499
|
+
'application/json'
|
|
500
|
+
]);
|
|
501
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
502
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
503
|
+
}
|
|
504
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
505
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
506
|
+
// to determine the Content-Type header
|
|
507
|
+
const consumes = [
|
|
508
|
+
'application/json'
|
|
509
|
+
];
|
|
510
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
511
|
+
if (httpContentTypeSelected !== undefined) {
|
|
512
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
513
|
+
}
|
|
514
|
+
let responseType_ = 'json';
|
|
515
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
516
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
517
|
+
responseType_ = 'text';
|
|
518
|
+
}
|
|
519
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
520
|
+
responseType_ = 'json';
|
|
521
|
+
}
|
|
522
|
+
else {
|
|
523
|
+
responseType_ = 'blob';
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
let localVarPath = `/registry/configurations/${this.configuration.encodeParam({ name: "configurationKey", value: configurationKey, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}/actions/duplicate`;
|
|
527
|
+
const { basePath, withCredentials } = this.configuration;
|
|
528
|
+
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
529
|
+
context: localVarHttpContext,
|
|
530
|
+
body: fileSpecificationRegistry,
|
|
531
|
+
responseType: responseType_,
|
|
532
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
533
|
+
headers: localVarHeaders,
|
|
534
|
+
observe: observe,
|
|
535
|
+
transferCache: localVarTransferCache,
|
|
536
|
+
reportProgress: reportProgress
|
|
537
|
+
});
|
|
538
|
+
}
|
|
539
|
+
readConfiguration(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
540
|
+
const configurationKey = requestParameters?.configurationKey;
|
|
541
|
+
if (configurationKey === null || configurationKey === undefined) {
|
|
542
|
+
throw new Error('Required parameter configurationKey was null or undefined when calling readConfiguration.');
|
|
543
|
+
}
|
|
544
|
+
let localVarHeaders = this.defaultHeaders;
|
|
545
|
+
// authentication (ApiKeyAuth) required
|
|
546
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('ApiKeyAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
547
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
548
|
+
'application/json'
|
|
549
|
+
]);
|
|
550
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
551
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
552
|
+
}
|
|
553
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
554
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
555
|
+
let responseType_ = 'json';
|
|
556
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
557
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
558
|
+
responseType_ = 'text';
|
|
559
|
+
}
|
|
560
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
561
|
+
responseType_ = 'json';
|
|
562
|
+
}
|
|
563
|
+
else {
|
|
564
|
+
responseType_ = 'blob';
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
let localVarPath = `/registry/configurations/${this.configuration.encodeParam({ name: "configurationKey", value: configurationKey, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}`;
|
|
568
|
+
const { basePath, withCredentials } = this.configuration;
|
|
569
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
570
|
+
context: localVarHttpContext,
|
|
571
|
+
responseType: responseType_,
|
|
572
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
573
|
+
headers: localVarHeaders,
|
|
574
|
+
observe: observe,
|
|
575
|
+
transferCache: localVarTransferCache,
|
|
576
|
+
reportProgress: reportProgress
|
|
577
|
+
});
|
|
578
|
+
}
|
|
579
|
+
readConfigurationContent(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
580
|
+
const configurationKey = requestParameters?.configurationKey;
|
|
581
|
+
if (configurationKey === null || configurationKey === undefined) {
|
|
582
|
+
throw new Error('Required parameter configurationKey was null or undefined when calling readConfigurationContent.');
|
|
583
|
+
}
|
|
584
|
+
let localVarHeaders = this.defaultHeaders;
|
|
585
|
+
// authentication (ApiKeyAuth) required
|
|
586
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('ApiKeyAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
587
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
588
|
+
'application/json'
|
|
589
|
+
]);
|
|
590
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
591
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
592
|
+
}
|
|
593
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
594
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
595
|
+
let responseType_ = 'json';
|
|
596
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
597
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
598
|
+
responseType_ = 'text';
|
|
599
|
+
}
|
|
600
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
601
|
+
responseType_ = 'json';
|
|
602
|
+
}
|
|
603
|
+
else {
|
|
604
|
+
responseType_ = 'blob';
|
|
605
|
+
}
|
|
606
|
+
}
|
|
607
|
+
let localVarPath = `/registry/configurations/${this.configuration.encodeParam({ name: "configurationKey", value: configurationKey, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}/content`;
|
|
608
|
+
const { basePath, withCredentials } = this.configuration;
|
|
609
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
610
|
+
context: localVarHttpContext,
|
|
611
|
+
responseType: responseType_,
|
|
612
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
613
|
+
headers: localVarHeaders,
|
|
614
|
+
observe: observe,
|
|
615
|
+
transferCache: localVarTransferCache,
|
|
616
|
+
reportProgress: reportProgress
|
|
617
|
+
});
|
|
618
|
+
}
|
|
619
|
+
readConfigurationSchema(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
620
|
+
const configurationKey = requestParameters?.configurationKey;
|
|
621
|
+
if (configurationKey === null || configurationKey === undefined) {
|
|
622
|
+
throw new Error('Required parameter configurationKey was null or undefined when calling readConfigurationSchema.');
|
|
623
|
+
}
|
|
624
|
+
let localVarHeaders = this.defaultHeaders;
|
|
625
|
+
// authentication (ApiKeyAuth) required
|
|
626
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('ApiKeyAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
627
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
628
|
+
'application/json'
|
|
629
|
+
]);
|
|
630
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
631
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
632
|
+
}
|
|
633
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
634
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
635
|
+
let responseType_ = 'json';
|
|
636
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
637
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
638
|
+
responseType_ = 'text';
|
|
639
|
+
}
|
|
640
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
641
|
+
responseType_ = 'json';
|
|
642
|
+
}
|
|
643
|
+
else {
|
|
644
|
+
responseType_ = 'blob';
|
|
645
|
+
}
|
|
646
|
+
}
|
|
647
|
+
let localVarPath = `/registry/configurations/${this.configuration.encodeParam({ name: "configurationKey", value: configurationKey, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}/schema`;
|
|
648
|
+
const { basePath, withCredentials } = this.configuration;
|
|
649
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
650
|
+
context: localVarHttpContext,
|
|
651
|
+
responseType: responseType_,
|
|
652
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
653
|
+
headers: localVarHeaders,
|
|
654
|
+
observe: observe,
|
|
655
|
+
transferCache: localVarTransferCache,
|
|
656
|
+
reportProgress: reportProgress
|
|
657
|
+
});
|
|
658
|
+
}
|
|
659
|
+
readConfigurationsTable(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
660
|
+
const folderKey = requestParameters?.folderKey;
|
|
661
|
+
const filter = requestParameters?.filter;
|
|
662
|
+
const offset = requestParameters?.offset;
|
|
663
|
+
const limit = requestParameters?.limit;
|
|
664
|
+
const sortField = requestParameters?.sortField;
|
|
665
|
+
const sortDirection = requestParameters?.sortDirection;
|
|
666
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
667
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, folderKey, 'folder_key');
|
|
668
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, filter, 'filter');
|
|
669
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, offset, 'offset');
|
|
670
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, limit, 'limit');
|
|
671
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, sortField, 'sort_field');
|
|
672
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, sortDirection, 'sort_direction');
|
|
673
|
+
let localVarHeaders = this.defaultHeaders;
|
|
674
|
+
// authentication (ApiKeyAuth) required
|
|
675
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('ApiKeyAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
676
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
677
|
+
'application/json'
|
|
678
|
+
]);
|
|
679
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
680
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
681
|
+
}
|
|
682
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
683
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
684
|
+
let responseType_ = 'json';
|
|
685
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
686
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
687
|
+
responseType_ = 'text';
|
|
688
|
+
}
|
|
689
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
690
|
+
responseType_ = 'json';
|
|
691
|
+
}
|
|
692
|
+
else {
|
|
693
|
+
responseType_ = 'blob';
|
|
694
|
+
}
|
|
695
|
+
}
|
|
696
|
+
let localVarPath = `/registry/configurations/batch/table`;
|
|
697
|
+
const { basePath, withCredentials } = this.configuration;
|
|
698
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
699
|
+
context: localVarHttpContext,
|
|
700
|
+
params: localVarQueryParameters,
|
|
701
|
+
responseType: responseType_,
|
|
702
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
703
|
+
headers: localVarHeaders,
|
|
704
|
+
observe: observe,
|
|
705
|
+
transferCache: localVarTransferCache,
|
|
706
|
+
reportProgress: reportProgress
|
|
707
|
+
});
|
|
708
|
+
}
|
|
709
|
+
searchConfigurations(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
710
|
+
const filter = requestParameters?.filter;
|
|
711
|
+
if (filter === null || filter === undefined) {
|
|
712
|
+
throw new Error('Required parameter filter was null or undefined when calling searchConfigurations.');
|
|
713
|
+
}
|
|
714
|
+
const offset = requestParameters?.offset;
|
|
715
|
+
const limit = requestParameters?.limit;
|
|
716
|
+
const sortField = requestParameters?.sortField;
|
|
717
|
+
const sortDirection = requestParameters?.sortDirection;
|
|
718
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
719
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, filter, 'filter');
|
|
720
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, offset, 'offset');
|
|
721
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, limit, 'limit');
|
|
722
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, sortField, 'sort_field');
|
|
723
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, sortDirection, 'sort_direction');
|
|
724
|
+
let localVarHeaders = this.defaultHeaders;
|
|
725
|
+
// authentication (ApiKeyAuth) required
|
|
726
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('ApiKeyAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
727
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
728
|
+
'application/json'
|
|
729
|
+
]);
|
|
730
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
731
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
732
|
+
}
|
|
733
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
734
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
735
|
+
let responseType_ = 'json';
|
|
736
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
737
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
738
|
+
responseType_ = 'text';
|
|
739
|
+
}
|
|
740
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
741
|
+
responseType_ = 'json';
|
|
742
|
+
}
|
|
743
|
+
else {
|
|
744
|
+
responseType_ = 'blob';
|
|
745
|
+
}
|
|
746
|
+
}
|
|
747
|
+
let localVarPath = `/registry/configurations/batch/search`;
|
|
748
|
+
const { basePath, withCredentials } = this.configuration;
|
|
749
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
750
|
+
context: localVarHttpContext,
|
|
751
|
+
params: localVarQueryParameters,
|
|
752
|
+
responseType: responseType_,
|
|
753
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
754
|
+
headers: localVarHeaders,
|
|
755
|
+
observe: observe,
|
|
756
|
+
transferCache: localVarTransferCache,
|
|
757
|
+
reportProgress: reportProgress
|
|
758
|
+
});
|
|
759
|
+
}
|
|
760
|
+
updateConfigurationContent(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
761
|
+
const configurationKey = requestParameters?.configurationKey;
|
|
762
|
+
if (configurationKey === null || configurationKey === undefined) {
|
|
763
|
+
throw new Error('Required parameter configurationKey was null or undefined when calling updateConfigurationContent.');
|
|
764
|
+
}
|
|
765
|
+
const body = requestParameters?.body;
|
|
766
|
+
if (body === null || body === undefined) {
|
|
767
|
+
throw new Error('Required parameter body was null or undefined when calling updateConfigurationContent.');
|
|
768
|
+
}
|
|
769
|
+
let localVarHeaders = this.defaultHeaders;
|
|
770
|
+
// authentication (ApiKeyAuth) required
|
|
771
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('ApiKeyAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
772
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
773
|
+
'application/json'
|
|
774
|
+
]);
|
|
775
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
776
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
777
|
+
}
|
|
778
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
779
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
780
|
+
// to determine the Content-Type header
|
|
781
|
+
const consumes = [
|
|
782
|
+
'application/json'
|
|
783
|
+
];
|
|
784
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
785
|
+
if (httpContentTypeSelected !== undefined) {
|
|
786
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
787
|
+
}
|
|
788
|
+
let responseType_ = 'json';
|
|
789
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
790
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
791
|
+
responseType_ = 'text';
|
|
792
|
+
}
|
|
793
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
794
|
+
responseType_ = 'json';
|
|
795
|
+
}
|
|
796
|
+
else {
|
|
797
|
+
responseType_ = 'blob';
|
|
798
|
+
}
|
|
799
|
+
}
|
|
800
|
+
let localVarPath = `/registry/configurations/${this.configuration.encodeParam({ name: "configurationKey", value: configurationKey, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}/content`;
|
|
801
|
+
const { basePath, withCredentials } = this.configuration;
|
|
802
|
+
return this.httpClient.request('put', `${basePath}${localVarPath}`, {
|
|
803
|
+
context: localVarHttpContext,
|
|
804
|
+
body: body,
|
|
805
|
+
responseType: responseType_,
|
|
806
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
807
|
+
headers: localVarHeaders,
|
|
808
|
+
observe: observe,
|
|
809
|
+
transferCache: localVarTransferCache,
|
|
810
|
+
reportProgress: reportProgress
|
|
811
|
+
});
|
|
812
|
+
}
|
|
813
|
+
updateConfigurationSchema(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
814
|
+
const configurationKey = requestParameters?.configurationKey;
|
|
815
|
+
if (configurationKey === null || configurationKey === undefined) {
|
|
816
|
+
throw new Error('Required parameter configurationKey was null or undefined when calling updateConfigurationSchema.');
|
|
817
|
+
}
|
|
818
|
+
const body = requestParameters?.body;
|
|
819
|
+
if (body === null || body === undefined) {
|
|
820
|
+
throw new Error('Required parameter body was null or undefined when calling updateConfigurationSchema.');
|
|
821
|
+
}
|
|
822
|
+
let localVarHeaders = this.defaultHeaders;
|
|
823
|
+
// authentication (ApiKeyAuth) required
|
|
824
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('ApiKeyAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
825
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
826
|
+
'application/json'
|
|
827
|
+
]);
|
|
828
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
829
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
830
|
+
}
|
|
831
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
832
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
833
|
+
// to determine the Content-Type header
|
|
834
|
+
const consumes = [
|
|
835
|
+
'application/json'
|
|
836
|
+
];
|
|
837
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
838
|
+
if (httpContentTypeSelected !== undefined) {
|
|
839
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
840
|
+
}
|
|
841
|
+
let responseType_ = 'json';
|
|
842
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
843
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
844
|
+
responseType_ = 'text';
|
|
845
|
+
}
|
|
846
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
847
|
+
responseType_ = 'json';
|
|
848
|
+
}
|
|
849
|
+
else {
|
|
850
|
+
responseType_ = 'blob';
|
|
851
|
+
}
|
|
852
|
+
}
|
|
853
|
+
let localVarPath = `/registry/configurations/${this.configuration.encodeParam({ name: "configurationKey", value: configurationKey, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}/schema`;
|
|
854
|
+
const { basePath, withCredentials } = this.configuration;
|
|
855
|
+
return this.httpClient.request('put', `${basePath}${localVarPath}`, {
|
|
856
|
+
context: localVarHttpContext,
|
|
857
|
+
body: body,
|
|
858
|
+
responseType: responseType_,
|
|
859
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
860
|
+
headers: localVarHeaders,
|
|
861
|
+
observe: observe,
|
|
862
|
+
transferCache: localVarTransferCache,
|
|
863
|
+
reportProgress: reportProgress
|
|
864
|
+
});
|
|
865
|
+
}
|
|
866
|
+
updateConfigurationSpecification(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
867
|
+
const configurationKey = requestParameters?.configurationKey;
|
|
868
|
+
if (configurationKey === null || configurationKey === undefined) {
|
|
869
|
+
throw new Error('Required parameter configurationKey was null or undefined when calling updateConfigurationSpecification.');
|
|
870
|
+
}
|
|
871
|
+
const fileSpecificationRegistry = requestParameters?.fileSpecificationRegistry;
|
|
872
|
+
if (fileSpecificationRegistry === null || fileSpecificationRegistry === undefined) {
|
|
873
|
+
throw new Error('Required parameter fileSpecificationRegistry was null or undefined when calling updateConfigurationSpecification.');
|
|
874
|
+
}
|
|
875
|
+
let localVarHeaders = this.defaultHeaders;
|
|
876
|
+
// authentication (ApiKeyAuth) required
|
|
877
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('ApiKeyAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
878
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
879
|
+
'application/json'
|
|
880
|
+
]);
|
|
881
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
882
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
883
|
+
}
|
|
884
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
885
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
886
|
+
// to determine the Content-Type header
|
|
887
|
+
const consumes = [
|
|
888
|
+
'application/json'
|
|
889
|
+
];
|
|
890
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
891
|
+
if (httpContentTypeSelected !== undefined) {
|
|
892
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
893
|
+
}
|
|
894
|
+
let responseType_ = 'json';
|
|
895
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
896
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
897
|
+
responseType_ = 'text';
|
|
898
|
+
}
|
|
899
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
900
|
+
responseType_ = 'json';
|
|
901
|
+
}
|
|
902
|
+
else {
|
|
903
|
+
responseType_ = 'blob';
|
|
904
|
+
}
|
|
905
|
+
}
|
|
906
|
+
let localVarPath = `/registry/configurations/${this.configuration.encodeParam({ name: "configurationKey", value: configurationKey, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}`;
|
|
907
|
+
const { basePath, withCredentials } = this.configuration;
|
|
908
|
+
return this.httpClient.request('put', `${basePath}${localVarPath}`, {
|
|
909
|
+
context: localVarHttpContext,
|
|
910
|
+
body: fileSpecificationRegistry,
|
|
911
|
+
responseType: responseType_,
|
|
912
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
913
|
+
headers: localVarHeaders,
|
|
914
|
+
observe: observe,
|
|
915
|
+
transferCache: localVarTransferCache,
|
|
916
|
+
reportProgress: reportProgress
|
|
917
|
+
});
|
|
918
|
+
}
|
|
919
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ConfigurationsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
920
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ConfigurationsService, providedIn: 'root' });
|
|
921
|
+
}
|
|
922
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ConfigurationsService, decorators: [{
|
|
923
|
+
type: Injectable,
|
|
924
|
+
args: [{
|
|
925
|
+
providedIn: 'root'
|
|
926
|
+
}]
|
|
927
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
928
|
+
type: Optional
|
|
929
|
+
}, {
|
|
930
|
+
type: Inject,
|
|
931
|
+
args: [BASE_PATH]
|
|
932
|
+
}] }, { type: Configuration, decorators: [{
|
|
933
|
+
type: Optional
|
|
934
|
+
}] }] });
|
|
935
|
+
|
|
936
|
+
/**
|
|
937
|
+
* VRt.Registry [RG]
|
|
938
|
+
*
|
|
939
|
+
* The version of the OpenAPI document: 7.25.3009
|
|
940
|
+
* Contact: servicedesk@veeroute.com
|
|
941
|
+
*
|
|
942
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
943
|
+
* Do not edit the class manually.
|
|
944
|
+
*/
|
|
945
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
946
|
+
class ExplorerService extends BaseService {
|
|
947
|
+
httpClient;
|
|
948
|
+
constructor(httpClient, basePath, configuration) {
|
|
949
|
+
super(basePath, configuration);
|
|
950
|
+
this.httpClient = httpClient;
|
|
951
|
+
}
|
|
952
|
+
createFolder(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
953
|
+
const folderSpecificationRegistry = requestParameters?.folderSpecificationRegistry;
|
|
954
|
+
if (folderSpecificationRegistry === null || folderSpecificationRegistry === undefined) {
|
|
955
|
+
throw new Error('Required parameter folderSpecificationRegistry was null or undefined when calling createFolder.');
|
|
956
|
+
}
|
|
957
|
+
let localVarHeaders = this.defaultHeaders;
|
|
958
|
+
// authentication (ApiKeyAuth) required
|
|
959
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('ApiKeyAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
960
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
961
|
+
'application/json'
|
|
962
|
+
]);
|
|
963
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
964
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
965
|
+
}
|
|
966
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
967
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
968
|
+
// to determine the Content-Type header
|
|
969
|
+
const consumes = [
|
|
970
|
+
'application/json'
|
|
971
|
+
];
|
|
972
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
973
|
+
if (httpContentTypeSelected !== undefined) {
|
|
974
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
975
|
+
}
|
|
976
|
+
let responseType_ = 'json';
|
|
977
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
978
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
979
|
+
responseType_ = 'text';
|
|
980
|
+
}
|
|
981
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
982
|
+
responseType_ = 'json';
|
|
983
|
+
}
|
|
984
|
+
else {
|
|
985
|
+
responseType_ = 'blob';
|
|
986
|
+
}
|
|
987
|
+
}
|
|
988
|
+
let localVarPath = `/registry/explorer`;
|
|
989
|
+
const { basePath, withCredentials } = this.configuration;
|
|
990
|
+
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
991
|
+
context: localVarHttpContext,
|
|
992
|
+
body: folderSpecificationRegistry,
|
|
993
|
+
responseType: responseType_,
|
|
994
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
995
|
+
headers: localVarHeaders,
|
|
996
|
+
observe: observe,
|
|
997
|
+
transferCache: localVarTransferCache,
|
|
998
|
+
reportProgress: reportProgress
|
|
999
|
+
});
|
|
1000
|
+
}
|
|
1001
|
+
createFoldersBatch(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
1002
|
+
const requestBody = requestParameters?.requestBody;
|
|
1003
|
+
if (requestBody === null || requestBody === undefined) {
|
|
1004
|
+
throw new Error('Required parameter requestBody was null or undefined when calling createFoldersBatch.');
|
|
1005
|
+
}
|
|
1006
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1007
|
+
// authentication (ApiKeyAuth) required
|
|
1008
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('ApiKeyAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
1009
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1010
|
+
'application/json'
|
|
1011
|
+
]);
|
|
1012
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1013
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1014
|
+
}
|
|
1015
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1016
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1017
|
+
// to determine the Content-Type header
|
|
1018
|
+
const consumes = [
|
|
1019
|
+
'application/json'
|
|
1020
|
+
];
|
|
1021
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1022
|
+
if (httpContentTypeSelected !== undefined) {
|
|
1023
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
1024
|
+
}
|
|
1025
|
+
let responseType_ = 'json';
|
|
1026
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1027
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1028
|
+
responseType_ = 'text';
|
|
1029
|
+
}
|
|
1030
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1031
|
+
responseType_ = 'json';
|
|
1032
|
+
}
|
|
1033
|
+
else {
|
|
1034
|
+
responseType_ = 'blob';
|
|
1035
|
+
}
|
|
1036
|
+
}
|
|
1037
|
+
let localVarPath = `/registry/explorer/batch/folders`;
|
|
1038
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1039
|
+
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
1040
|
+
context: localVarHttpContext,
|
|
1041
|
+
body: requestBody,
|
|
1042
|
+
responseType: responseType_,
|
|
1043
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1044
|
+
headers: localVarHeaders,
|
|
1045
|
+
observe: observe,
|
|
1046
|
+
transferCache: localVarTransferCache,
|
|
1047
|
+
reportProgress: reportProgress
|
|
1048
|
+
});
|
|
1049
|
+
}
|
|
1050
|
+
deleteFilesBatch(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
1051
|
+
const requestBody = requestParameters?.requestBody;
|
|
1052
|
+
if (requestBody === null || requestBody === undefined) {
|
|
1053
|
+
throw new Error('Required parameter requestBody was null or undefined when calling deleteFilesBatch.');
|
|
1054
|
+
}
|
|
1055
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1056
|
+
// authentication (ApiKeyAuth) required
|
|
1057
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('ApiKeyAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
1058
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1059
|
+
'application/json'
|
|
1060
|
+
]);
|
|
1061
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1062
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1063
|
+
}
|
|
1064
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1065
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1066
|
+
// to determine the Content-Type header
|
|
1067
|
+
const consumes = [
|
|
1068
|
+
'application/json'
|
|
1069
|
+
];
|
|
1070
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1071
|
+
if (httpContentTypeSelected !== undefined) {
|
|
1072
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
1073
|
+
}
|
|
1074
|
+
let responseType_ = 'json';
|
|
1075
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1076
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1077
|
+
responseType_ = 'text';
|
|
1078
|
+
}
|
|
1079
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1080
|
+
responseType_ = 'json';
|
|
1081
|
+
}
|
|
1082
|
+
else {
|
|
1083
|
+
responseType_ = 'blob';
|
|
1084
|
+
}
|
|
1085
|
+
}
|
|
1086
|
+
let localVarPath = `/registry/explorer/batch/files`;
|
|
1087
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1088
|
+
return this.httpClient.request('delete', `${basePath}${localVarPath}`, {
|
|
1089
|
+
context: localVarHttpContext,
|
|
1090
|
+
body: requestBody,
|
|
1091
|
+
responseType: responseType_,
|
|
1092
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1093
|
+
headers: localVarHeaders,
|
|
1094
|
+
observe: observe,
|
|
1095
|
+
transferCache: localVarTransferCache,
|
|
1096
|
+
reportProgress: reportProgress
|
|
1097
|
+
});
|
|
1098
|
+
}
|
|
1099
|
+
deleteFolder(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
1100
|
+
const folderKey = requestParameters?.folderKey;
|
|
1101
|
+
if (folderKey === null || folderKey === undefined) {
|
|
1102
|
+
throw new Error('Required parameter folderKey was null or undefined when calling deleteFolder.');
|
|
1103
|
+
}
|
|
1104
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1105
|
+
// authentication (ApiKeyAuth) required
|
|
1106
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('ApiKeyAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
1107
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1108
|
+
'application/json'
|
|
1109
|
+
]);
|
|
1110
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1111
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1112
|
+
}
|
|
1113
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1114
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1115
|
+
let responseType_ = 'json';
|
|
1116
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1117
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1118
|
+
responseType_ = 'text';
|
|
1119
|
+
}
|
|
1120
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1121
|
+
responseType_ = 'json';
|
|
1122
|
+
}
|
|
1123
|
+
else {
|
|
1124
|
+
responseType_ = 'blob';
|
|
1125
|
+
}
|
|
1126
|
+
}
|
|
1127
|
+
let localVarPath = `/registry/explorer/${this.configuration.encodeParam({ name: "folderKey", value: folderKey, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}`;
|
|
1128
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1129
|
+
return this.httpClient.request('delete', `${basePath}${localVarPath}`, {
|
|
1130
|
+
context: localVarHttpContext,
|
|
1131
|
+
responseType: responseType_,
|
|
1132
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1133
|
+
headers: localVarHeaders,
|
|
1134
|
+
observe: observe,
|
|
1135
|
+
transferCache: localVarTransferCache,
|
|
1136
|
+
reportProgress: reportProgress
|
|
1137
|
+
});
|
|
1138
|
+
}
|
|
1139
|
+
deleteFoldersBatch(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
1140
|
+
const requestBody = requestParameters?.requestBody;
|
|
1141
|
+
if (requestBody === null || requestBody === undefined) {
|
|
1142
|
+
throw new Error('Required parameter requestBody was null or undefined when calling deleteFoldersBatch.');
|
|
1143
|
+
}
|
|
1144
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1145
|
+
// authentication (ApiKeyAuth) required
|
|
1146
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('ApiKeyAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
1147
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1148
|
+
'application/json'
|
|
1149
|
+
]);
|
|
1150
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1151
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1152
|
+
}
|
|
1153
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1154
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1155
|
+
// to determine the Content-Type header
|
|
1156
|
+
const consumes = [
|
|
1157
|
+
'application/json'
|
|
1158
|
+
];
|
|
1159
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1160
|
+
if (httpContentTypeSelected !== undefined) {
|
|
1161
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
1162
|
+
}
|
|
1163
|
+
let responseType_ = 'json';
|
|
1164
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1165
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1166
|
+
responseType_ = 'text';
|
|
1167
|
+
}
|
|
1168
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1169
|
+
responseType_ = 'json';
|
|
1170
|
+
}
|
|
1171
|
+
else {
|
|
1172
|
+
responseType_ = 'blob';
|
|
1173
|
+
}
|
|
1174
|
+
}
|
|
1175
|
+
let localVarPath = `/registry/explorer/batch/folders`;
|
|
1176
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1177
|
+
return this.httpClient.request('delete', `${basePath}${localVarPath}`, {
|
|
1178
|
+
context: localVarHttpContext,
|
|
1179
|
+
body: requestBody,
|
|
1180
|
+
responseType: responseType_,
|
|
1181
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1182
|
+
headers: localVarHeaders,
|
|
1183
|
+
observe: observe,
|
|
1184
|
+
transferCache: localVarTransferCache,
|
|
1185
|
+
reportProgress: reportProgress
|
|
1186
|
+
});
|
|
1187
|
+
}
|
|
1188
|
+
readFileKey(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
1189
|
+
const fileNamePathRegistry = requestParameters?.fileNamePathRegistry;
|
|
1190
|
+
if (fileNamePathRegistry === null || fileNamePathRegistry === undefined) {
|
|
1191
|
+
throw new Error('Required parameter fileNamePathRegistry was null or undefined when calling readFileKey.');
|
|
1192
|
+
}
|
|
1193
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1194
|
+
// authentication (ApiKeyAuth) required
|
|
1195
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('ApiKeyAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
1196
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1197
|
+
'application/json'
|
|
1198
|
+
]);
|
|
1199
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1200
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1201
|
+
}
|
|
1202
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1203
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1204
|
+
// to determine the Content-Type header
|
|
1205
|
+
const consumes = [
|
|
1206
|
+
'application/json'
|
|
1207
|
+
];
|
|
1208
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1209
|
+
if (httpContentTypeSelected !== undefined) {
|
|
1210
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
1211
|
+
}
|
|
1212
|
+
let responseType_ = 'json';
|
|
1213
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1214
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1215
|
+
responseType_ = 'text';
|
|
1216
|
+
}
|
|
1217
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1218
|
+
responseType_ = 'json';
|
|
1219
|
+
}
|
|
1220
|
+
else {
|
|
1221
|
+
responseType_ = 'blob';
|
|
1222
|
+
}
|
|
1223
|
+
}
|
|
1224
|
+
let localVarPath = `/registry/explorer/batch/files`;
|
|
1225
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1226
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
1227
|
+
context: localVarHttpContext,
|
|
1228
|
+
body: fileNamePathRegistry,
|
|
1229
|
+
responseType: responseType_,
|
|
1230
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1231
|
+
headers: localVarHeaders,
|
|
1232
|
+
observe: observe,
|
|
1233
|
+
transferCache: localVarTransferCache,
|
|
1234
|
+
reportProgress: reportProgress
|
|
1235
|
+
});
|
|
1236
|
+
}
|
|
1237
|
+
readFilesystem(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
1238
|
+
const folderKey = requestParameters?.folderKey;
|
|
1239
|
+
const filter = requestParameters?.filter;
|
|
1240
|
+
const offset = requestParameters?.offset;
|
|
1241
|
+
const limit = requestParameters?.limit;
|
|
1242
|
+
const sortField = requestParameters?.sortField;
|
|
1243
|
+
const sortDirection = requestParameters?.sortDirection;
|
|
1244
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
1245
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, folderKey, 'folder_key');
|
|
1246
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, filter, 'filter');
|
|
1247
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, offset, 'offset');
|
|
1248
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, limit, 'limit');
|
|
1249
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, sortField, 'sort_field');
|
|
1250
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, sortDirection, 'sort_direction');
|
|
1251
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1252
|
+
// authentication (ApiKeyAuth) required
|
|
1253
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('ApiKeyAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
1254
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1255
|
+
'application/json'
|
|
1256
|
+
]);
|
|
1257
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1258
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1259
|
+
}
|
|
1260
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1261
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1262
|
+
let responseType_ = 'json';
|
|
1263
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1264
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1265
|
+
responseType_ = 'text';
|
|
1266
|
+
}
|
|
1267
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1268
|
+
responseType_ = 'json';
|
|
1269
|
+
}
|
|
1270
|
+
else {
|
|
1271
|
+
responseType_ = 'blob';
|
|
1272
|
+
}
|
|
1273
|
+
}
|
|
1274
|
+
let localVarPath = `/registry/explorer`;
|
|
1275
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1276
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
1277
|
+
context: localVarHttpContext,
|
|
1278
|
+
params: localVarQueryParameters,
|
|
1279
|
+
responseType: responseType_,
|
|
1280
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1281
|
+
headers: localVarHeaders,
|
|
1282
|
+
observe: observe,
|
|
1283
|
+
transferCache: localVarTransferCache,
|
|
1284
|
+
reportProgress: reportProgress
|
|
1285
|
+
});
|
|
1286
|
+
}
|
|
1287
|
+
readFilesystemCounters(observe = 'body', reportProgress = false, options) {
|
|
1288
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1289
|
+
// authentication (ApiKeyAuth) required
|
|
1290
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('ApiKeyAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
1291
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1292
|
+
'application/json'
|
|
1293
|
+
]);
|
|
1294
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1295
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1296
|
+
}
|
|
1297
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1298
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1299
|
+
let responseType_ = 'json';
|
|
1300
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1301
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1302
|
+
responseType_ = 'text';
|
|
1303
|
+
}
|
|
1304
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1305
|
+
responseType_ = 'json';
|
|
1306
|
+
}
|
|
1307
|
+
else {
|
|
1308
|
+
responseType_ = 'blob';
|
|
1309
|
+
}
|
|
1310
|
+
}
|
|
1311
|
+
let localVarPath = `/registry/explorer/batch/counters`;
|
|
1312
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1313
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
1314
|
+
context: localVarHttpContext,
|
|
1315
|
+
responseType: responseType_,
|
|
1316
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1317
|
+
headers: localVarHeaders,
|
|
1318
|
+
observe: observe,
|
|
1319
|
+
transferCache: localVarTransferCache,
|
|
1320
|
+
reportProgress: reportProgress
|
|
1321
|
+
});
|
|
1322
|
+
}
|
|
1323
|
+
readFolderKey(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
1324
|
+
const requestBody = requestParameters?.requestBody;
|
|
1325
|
+
if (requestBody === null || requestBody === undefined) {
|
|
1326
|
+
throw new Error('Required parameter requestBody was null or undefined when calling readFolderKey.');
|
|
1327
|
+
}
|
|
1328
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1329
|
+
// authentication (ApiKeyAuth) required
|
|
1330
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('ApiKeyAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
1331
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1332
|
+
'application/json'
|
|
1333
|
+
]);
|
|
1334
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1335
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1336
|
+
}
|
|
1337
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1338
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1339
|
+
// to determine the Content-Type header
|
|
1340
|
+
const consumes = [
|
|
1341
|
+
'application/json'
|
|
1342
|
+
];
|
|
1343
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1344
|
+
if (httpContentTypeSelected !== undefined) {
|
|
1345
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
1346
|
+
}
|
|
1347
|
+
let responseType_ = 'json';
|
|
1348
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1349
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1350
|
+
responseType_ = 'text';
|
|
1351
|
+
}
|
|
1352
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1353
|
+
responseType_ = 'json';
|
|
1354
|
+
}
|
|
1355
|
+
else {
|
|
1356
|
+
responseType_ = 'blob';
|
|
1357
|
+
}
|
|
1358
|
+
}
|
|
1359
|
+
let localVarPath = `/registry/explorer/batch/folders`;
|
|
1360
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1361
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
1362
|
+
context: localVarHttpContext,
|
|
1363
|
+
body: requestBody,
|
|
1364
|
+
responseType: responseType_,
|
|
1365
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1366
|
+
headers: localVarHeaders,
|
|
1367
|
+
observe: observe,
|
|
1368
|
+
transferCache: localVarTransferCache,
|
|
1369
|
+
reportProgress: reportProgress
|
|
1370
|
+
});
|
|
1371
|
+
}
|
|
1372
|
+
readFolderPath(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
1373
|
+
const folderKey = requestParameters?.folderKey;
|
|
1374
|
+
if (folderKey === null || folderKey === undefined) {
|
|
1375
|
+
throw new Error('Required parameter folderKey was null or undefined when calling readFolderPath.');
|
|
1376
|
+
}
|
|
1377
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1378
|
+
// authentication (ApiKeyAuth) required
|
|
1379
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('ApiKeyAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
1380
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1381
|
+
'application/json'
|
|
1382
|
+
]);
|
|
1383
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1384
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1385
|
+
}
|
|
1386
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1387
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1388
|
+
let responseType_ = 'json';
|
|
1389
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1390
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1391
|
+
responseType_ = 'text';
|
|
1392
|
+
}
|
|
1393
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1394
|
+
responseType_ = 'json';
|
|
1395
|
+
}
|
|
1396
|
+
else {
|
|
1397
|
+
responseType_ = 'blob';
|
|
1398
|
+
}
|
|
1399
|
+
}
|
|
1400
|
+
let localVarPath = `/registry/explorer/${this.configuration.encodeParam({ name: "folderKey", value: folderKey, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}/path`;
|
|
1401
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1402
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
1403
|
+
context: localVarHttpContext,
|
|
1404
|
+
responseType: responseType_,
|
|
1405
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1406
|
+
headers: localVarHeaders,
|
|
1407
|
+
observe: observe,
|
|
1408
|
+
transferCache: localVarTransferCache,
|
|
1409
|
+
reportProgress: reportProgress
|
|
1410
|
+
});
|
|
1411
|
+
}
|
|
1412
|
+
readFolderSpecification(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
1413
|
+
const folderKey = requestParameters?.folderKey;
|
|
1414
|
+
if (folderKey === null || folderKey === undefined) {
|
|
1415
|
+
throw new Error('Required parameter folderKey was null or undefined when calling readFolderSpecification.');
|
|
1416
|
+
}
|
|
1417
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1418
|
+
// authentication (ApiKeyAuth) required
|
|
1419
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('ApiKeyAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
1420
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1421
|
+
'application/json'
|
|
1422
|
+
]);
|
|
1423
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1424
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1425
|
+
}
|
|
1426
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1427
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1428
|
+
let responseType_ = 'json';
|
|
1429
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1430
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1431
|
+
responseType_ = 'text';
|
|
1432
|
+
}
|
|
1433
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1434
|
+
responseType_ = 'json';
|
|
1435
|
+
}
|
|
1436
|
+
else {
|
|
1437
|
+
responseType_ = 'blob';
|
|
1438
|
+
}
|
|
1439
|
+
}
|
|
1440
|
+
let localVarPath = `/registry/explorer/${this.configuration.encodeParam({ name: "folderKey", value: folderKey, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}/specification`;
|
|
1441
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1442
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
1443
|
+
context: localVarHttpContext,
|
|
1444
|
+
responseType: responseType_,
|
|
1445
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1446
|
+
headers: localVarHeaders,
|
|
1447
|
+
observe: observe,
|
|
1448
|
+
transferCache: localVarTransferCache,
|
|
1449
|
+
reportProgress: reportProgress
|
|
1450
|
+
});
|
|
1451
|
+
}
|
|
1452
|
+
updateFolder(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
1453
|
+
const folderKey = requestParameters?.folderKey;
|
|
1454
|
+
if (folderKey === null || folderKey === undefined) {
|
|
1455
|
+
throw new Error('Required parameter folderKey was null or undefined when calling updateFolder.');
|
|
1456
|
+
}
|
|
1457
|
+
const folderSpecificationRegistry = requestParameters?.folderSpecificationRegistry;
|
|
1458
|
+
if (folderSpecificationRegistry === null || folderSpecificationRegistry === undefined) {
|
|
1459
|
+
throw new Error('Required parameter folderSpecificationRegistry was null or undefined when calling updateFolder.');
|
|
1460
|
+
}
|
|
1461
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1462
|
+
// authentication (ApiKeyAuth) required
|
|
1463
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('ApiKeyAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
1464
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1465
|
+
'application/json'
|
|
1466
|
+
]);
|
|
1467
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1468
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1469
|
+
}
|
|
1470
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1471
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1472
|
+
// to determine the Content-Type header
|
|
1473
|
+
const consumes = [
|
|
1474
|
+
'application/json'
|
|
1475
|
+
];
|
|
1476
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1477
|
+
if (httpContentTypeSelected !== undefined) {
|
|
1478
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
1479
|
+
}
|
|
1480
|
+
let responseType_ = 'json';
|
|
1481
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1482
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1483
|
+
responseType_ = 'text';
|
|
1484
|
+
}
|
|
1485
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1486
|
+
responseType_ = 'json';
|
|
1487
|
+
}
|
|
1488
|
+
else {
|
|
1489
|
+
responseType_ = 'blob';
|
|
1490
|
+
}
|
|
1491
|
+
}
|
|
1492
|
+
let localVarPath = `/registry/explorer/${this.configuration.encodeParam({ name: "folderKey", value: folderKey, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}`;
|
|
1493
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1494
|
+
return this.httpClient.request('put', `${basePath}${localVarPath}`, {
|
|
1495
|
+
context: localVarHttpContext,
|
|
1496
|
+
body: folderSpecificationRegistry,
|
|
1497
|
+
responseType: responseType_,
|
|
1498
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1499
|
+
headers: localVarHeaders,
|
|
1500
|
+
observe: observe,
|
|
1501
|
+
transferCache: localVarTransferCache,
|
|
1502
|
+
reportProgress: reportProgress
|
|
1503
|
+
});
|
|
1504
|
+
}
|
|
1505
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ExplorerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1506
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ExplorerService, providedIn: 'root' });
|
|
1507
|
+
}
|
|
1508
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ExplorerService, decorators: [{
|
|
1509
|
+
type: Injectable,
|
|
1510
|
+
args: [{
|
|
1511
|
+
providedIn: 'root'
|
|
1512
|
+
}]
|
|
1513
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1514
|
+
type: Optional
|
|
1515
|
+
}, {
|
|
1516
|
+
type: Inject,
|
|
1517
|
+
args: [BASE_PATH]
|
|
1518
|
+
}] }, { type: Configuration, decorators: [{
|
|
1519
|
+
type: Optional
|
|
1520
|
+
}] }] });
|
|
1521
|
+
|
|
1522
|
+
/**
|
|
1523
|
+
* VRt.Registry [RG]
|
|
1524
|
+
*
|
|
1525
|
+
* The version of the OpenAPI document: 7.25.3009
|
|
1526
|
+
* Contact: servicedesk@veeroute.com
|
|
1527
|
+
*
|
|
1528
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
1529
|
+
* Do not edit the class manually.
|
|
1530
|
+
*/
|
|
1531
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
1532
|
+
class SystemService extends BaseService {
|
|
1533
|
+
httpClient;
|
|
1534
|
+
constructor(httpClient, basePath, configuration) {
|
|
1535
|
+
super(basePath, configuration);
|
|
1536
|
+
this.httpClient = httpClient;
|
|
1537
|
+
}
|
|
1538
|
+
check(observe = 'body', reportProgress = false, options) {
|
|
1539
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1540
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1541
|
+
'application/json'
|
|
1542
|
+
]);
|
|
1543
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1544
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1545
|
+
}
|
|
1546
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1547
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1548
|
+
let responseType_ = 'json';
|
|
1549
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1550
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1551
|
+
responseType_ = 'text';
|
|
1552
|
+
}
|
|
1553
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1554
|
+
responseType_ = 'json';
|
|
1555
|
+
}
|
|
1556
|
+
else {
|
|
1557
|
+
responseType_ = 'blob';
|
|
1558
|
+
}
|
|
1559
|
+
}
|
|
1560
|
+
let localVarPath = `/registry/system/check`;
|
|
1561
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1562
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
1563
|
+
context: localVarHttpContext,
|
|
1564
|
+
responseType: responseType_,
|
|
1565
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1566
|
+
headers: localVarHeaders,
|
|
1567
|
+
observe: observe,
|
|
1568
|
+
transferCache: localVarTransferCache,
|
|
1569
|
+
reportProgress: reportProgress
|
|
1570
|
+
});
|
|
1571
|
+
}
|
|
1572
|
+
file(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
1573
|
+
const filename = requestParameters?.filename;
|
|
1574
|
+
if (filename === null || filename === undefined) {
|
|
1575
|
+
throw new Error('Required parameter filename was null or undefined when calling file.');
|
|
1576
|
+
}
|
|
1577
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1578
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1579
|
+
'text/html',
|
|
1580
|
+
'text/plain',
|
|
1581
|
+
'application/json'
|
|
1582
|
+
]);
|
|
1583
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1584
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1585
|
+
}
|
|
1586
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1587
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1588
|
+
let responseType_ = 'json';
|
|
1589
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1590
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1591
|
+
responseType_ = 'text';
|
|
1592
|
+
}
|
|
1593
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1594
|
+
responseType_ = 'json';
|
|
1595
|
+
}
|
|
1596
|
+
else {
|
|
1597
|
+
responseType_ = 'blob';
|
|
1598
|
+
}
|
|
1599
|
+
}
|
|
1600
|
+
let localVarPath = `/registry/file/${this.configuration.encodeParam({ name: "filename", value: filename, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}`;
|
|
1601
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1602
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
1603
|
+
context: localVarHttpContext,
|
|
1604
|
+
responseType: responseType_,
|
|
1605
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1606
|
+
headers: localVarHeaders,
|
|
1607
|
+
observe: observe,
|
|
1608
|
+
transferCache: localVarTransferCache,
|
|
1609
|
+
reportProgress: reportProgress
|
|
1610
|
+
});
|
|
1611
|
+
}
|
|
1612
|
+
version(observe = 'body', reportProgress = false, options) {
|
|
1613
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1614
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1615
|
+
'application/json'
|
|
1616
|
+
]);
|
|
1617
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1618
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1619
|
+
}
|
|
1620
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1621
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1622
|
+
let responseType_ = 'json';
|
|
1623
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1624
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1625
|
+
responseType_ = 'text';
|
|
1626
|
+
}
|
|
1627
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1628
|
+
responseType_ = 'json';
|
|
1629
|
+
}
|
|
1630
|
+
else {
|
|
1631
|
+
responseType_ = 'blob';
|
|
1632
|
+
}
|
|
1633
|
+
}
|
|
1634
|
+
let localVarPath = `/registry/system/version`;
|
|
1635
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1636
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
1637
|
+
context: localVarHttpContext,
|
|
1638
|
+
responseType: responseType_,
|
|
1639
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1640
|
+
headers: localVarHeaders,
|
|
1641
|
+
observe: observe,
|
|
1642
|
+
transferCache: localVarTransferCache,
|
|
1643
|
+
reportProgress: reportProgress
|
|
1644
|
+
});
|
|
1645
|
+
}
|
|
1646
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SystemService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1647
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SystemService, providedIn: 'root' });
|
|
1648
|
+
}
|
|
1649
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SystemService, decorators: [{
|
|
1650
|
+
type: Injectable,
|
|
1651
|
+
args: [{
|
|
1652
|
+
providedIn: 'root'
|
|
1653
|
+
}]
|
|
1654
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1655
|
+
type: Optional
|
|
1656
|
+
}, {
|
|
1657
|
+
type: Inject,
|
|
1658
|
+
args: [BASE_PATH]
|
|
1659
|
+
}] }, { type: Configuration, decorators: [{
|
|
1660
|
+
type: Optional
|
|
1661
|
+
}] }] });
|
|
1662
|
+
|
|
1663
|
+
const APIS = [BackupsService, ConfigurationsService, ExplorerService, SystemService];
|
|
1664
|
+
|
|
1665
|
+
/**
|
|
1666
|
+
* VRt.Registry [RG]
|
|
1667
|
+
*
|
|
1668
|
+
* The version of the OpenAPI document: 7.25.3009
|
|
1669
|
+
* Contact: servicedesk@veeroute.com
|
|
1670
|
+
*
|
|
1671
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
1672
|
+
* Do not edit the class manually.
|
|
1673
|
+
*/
|
|
1674
|
+
|
|
1675
|
+
/**
|
|
1676
|
+
* VRt.Registry [RG]
|
|
1677
|
+
*
|
|
1678
|
+
* The version of the OpenAPI document: 7.25.3009
|
|
1679
|
+
* Contact: servicedesk@veeroute.com
|
|
1680
|
+
*
|
|
1681
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
1682
|
+
* Do not edit the class manually.
|
|
1683
|
+
*/
|
|
1684
|
+
|
|
1685
|
+
/**
|
|
1686
|
+
* VRt.Registry [RG]
|
|
1687
|
+
*
|
|
1688
|
+
* The version of the OpenAPI document: 7.25.3009
|
|
1689
|
+
* Contact: servicedesk@veeroute.com
|
|
1690
|
+
*
|
|
1691
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
1692
|
+
* Do not edit the class manually.
|
|
1693
|
+
*/
|
|
1694
|
+
|
|
1695
|
+
/**
|
|
1696
|
+
* VRt.Registry [RG]
|
|
1697
|
+
*
|
|
1698
|
+
* The version of the OpenAPI document: 7.25.3009
|
|
1699
|
+
* Contact: servicedesk@veeroute.com
|
|
1700
|
+
*
|
|
1701
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
1702
|
+
* Do not edit the class manually.
|
|
1703
|
+
*/
|
|
1704
|
+
|
|
1705
|
+
/**
|
|
1706
|
+
* VRt.Registry [RG]
|
|
1707
|
+
*
|
|
1708
|
+
* The version of the OpenAPI document: 7.25.3009
|
|
1709
|
+
* Contact: servicedesk@veeroute.com
|
|
1710
|
+
*
|
|
1711
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
1712
|
+
* Do not edit the class manually.
|
|
1713
|
+
*/
|
|
1714
|
+
/**
|
|
1715
|
+
* The name of the column in the table with folders.
|
|
1716
|
+
*/
|
|
1717
|
+
var FilesystemColumnTypeRegistry;
|
|
1718
|
+
(function (FilesystemColumnTypeRegistry) {
|
|
1719
|
+
FilesystemColumnTypeRegistry["NAME"] = "NAME";
|
|
1720
|
+
FilesystemColumnTypeRegistry["OWNER_COMPANY_KEY"] = "OWNER_COMPANY_KEY";
|
|
1721
|
+
FilesystemColumnTypeRegistry["OWNER_USERNAME"] = "OWNER_USERNAME";
|
|
1722
|
+
FilesystemColumnTypeRegistry["CREATION_DATE"] = "CREATION_DATE";
|
|
1723
|
+
FilesystemColumnTypeRegistry["EXPIRATION_DATE"] = "EXPIRATION_DATE";
|
|
1724
|
+
FilesystemColumnTypeRegistry["FOLDERS_COUNT"] = "FOLDERS_COUNT";
|
|
1725
|
+
FilesystemColumnTypeRegistry["FILES_COUNT"] = "FILES_COUNT";
|
|
1726
|
+
})(FilesystemColumnTypeRegistry || (FilesystemColumnTypeRegistry = {}));
|
|
1727
|
+
|
|
1728
|
+
/**
|
|
1729
|
+
* VRt.Registry [RG]
|
|
1730
|
+
*
|
|
1731
|
+
* The version of the OpenAPI document: 7.25.3009
|
|
1732
|
+
* Contact: servicedesk@veeroute.com
|
|
1733
|
+
*
|
|
1734
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
1735
|
+
* Do not edit the class manually.
|
|
1736
|
+
*/
|
|
1737
|
+
|
|
1738
|
+
/**
|
|
1739
|
+
* VRt.Registry [RG]
|
|
1740
|
+
*
|
|
1741
|
+
* The version of the OpenAPI document: 7.25.3009
|
|
1742
|
+
* Contact: servicedesk@veeroute.com
|
|
1743
|
+
*
|
|
1744
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
1745
|
+
* Do not edit the class manually.
|
|
1746
|
+
*/
|
|
1747
|
+
/**
|
|
1748
|
+
* Element type: * `ROOT` - root object * `FOLDER` - folder
|
|
1749
|
+
*/
|
|
1750
|
+
var FolderTypeRegistry;
|
|
1751
|
+
(function (FolderTypeRegistry) {
|
|
1752
|
+
FolderTypeRegistry["ROOT"] = "ROOT";
|
|
1753
|
+
FolderTypeRegistry["FOLDER"] = "FOLDER";
|
|
1754
|
+
})(FolderTypeRegistry || (FolderTypeRegistry = {}));
|
|
1755
|
+
|
|
1756
|
+
/**
|
|
1757
|
+
* VRt.Registry [RG]
|
|
1758
|
+
*
|
|
1759
|
+
* The version of the OpenAPI document: 7.25.3009
|
|
1760
|
+
* Contact: servicedesk@veeroute.com
|
|
1761
|
+
*
|
|
1762
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
1763
|
+
* Do not edit the class manually.
|
|
1764
|
+
*/
|
|
1765
|
+
|
|
1766
|
+
/**
|
|
1767
|
+
* VRt.Registry [RG]
|
|
1768
|
+
*
|
|
1769
|
+
* The version of the OpenAPI document: 7.25.3009
|
|
1770
|
+
* Contact: servicedesk@veeroute.com
|
|
1771
|
+
*
|
|
1772
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
1773
|
+
* Do not edit the class manually.
|
|
1774
|
+
*/
|
|
1775
|
+
/**
|
|
1776
|
+
* Service name.
|
|
1777
|
+
*/
|
|
1778
|
+
var ServiceRegistry;
|
|
1779
|
+
(function (ServiceRegistry) {
|
|
1780
|
+
ServiceRegistry["UNIVERSAL"] = "UNIVERSAL";
|
|
1781
|
+
ServiceRegistry["ROUTING"] = "ROUTING";
|
|
1782
|
+
ServiceRegistry["ACCOUNT"] = "ACCOUNT";
|
|
1783
|
+
ServiceRegistry["ADMIN"] = "ADMIN";
|
|
1784
|
+
ServiceRegistry["STUDIO"] = "STUDIO";
|
|
1785
|
+
ServiceRegistry["MONITOR"] = "MONITOR";
|
|
1786
|
+
ServiceRegistry["PACKER"] = "PACKER";
|
|
1787
|
+
ServiceRegistry["AGRO"] = "AGRO";
|
|
1788
|
+
ServiceRegistry["REGISTRY"] = "REGISTRY";
|
|
1789
|
+
ServiceRegistry["SUPPORT"] = "SUPPORT";
|
|
1790
|
+
})(ServiceRegistry || (ServiceRegistry = {}));
|
|
1791
|
+
|
|
1792
|
+
/**
|
|
1793
|
+
* VRt.Registry [RG]
|
|
1794
|
+
*
|
|
1795
|
+
* The version of the OpenAPI document: 7.25.3009
|
|
1796
|
+
* Contact: servicedesk@veeroute.com
|
|
1797
|
+
*
|
|
1798
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
1799
|
+
* Do not edit the class manually.
|
|
1800
|
+
*/
|
|
1801
|
+
/**
|
|
1802
|
+
* Column name in the table with waves: * `ESSENCE_KEY` - configuration key
|
|
1803
|
+
*/
|
|
1804
|
+
var TableConfigurationColumnTypeRegistry;
|
|
1805
|
+
(function (TableConfigurationColumnTypeRegistry) {
|
|
1806
|
+
TableConfigurationColumnTypeRegistry["ESSENCE_KEY"] = "ESSENCE_KEY";
|
|
1807
|
+
TableConfigurationColumnTypeRegistry["CREATION_DATE"] = "CREATION_DATE";
|
|
1808
|
+
TableConfigurationColumnTypeRegistry["EDIT_DATE"] = "EDIT_DATE";
|
|
1809
|
+
TableConfigurationColumnTypeRegistry["SPECIFICATION_NAME"] = "SPECIFICATION_NAME";
|
|
1810
|
+
TableConfigurationColumnTypeRegistry["SPECIFICATION_COMMENT"] = "SPECIFICATION_COMMENT";
|
|
1811
|
+
TableConfigurationColumnTypeRegistry["SPECIFICATION_FOLDER_KEY"] = "SPECIFICATION_FOLDER_KEY";
|
|
1812
|
+
})(TableConfigurationColumnTypeRegistry || (TableConfigurationColumnTypeRegistry = {}));
|
|
1813
|
+
|
|
1814
|
+
/**
|
|
1815
|
+
* VRt.Registry [RG]
|
|
1816
|
+
*
|
|
1817
|
+
* The version of the OpenAPI document: 7.25.3009
|
|
1818
|
+
* Contact: servicedesk@veeroute.com
|
|
1819
|
+
*
|
|
1820
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
1821
|
+
* Do not edit the class manually.
|
|
1822
|
+
*/
|
|
1823
|
+
|
|
1824
|
+
/**
|
|
1825
|
+
* VRt.Registry [RG]
|
|
1826
|
+
*
|
|
1827
|
+
* The version of the OpenAPI document: 7.25.3009
|
|
1828
|
+
* Contact: servicedesk@veeroute.com
|
|
1829
|
+
*
|
|
1830
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
1831
|
+
* Do not edit the class manually.
|
|
1832
|
+
*/
|
|
1833
|
+
|
|
1834
|
+
class LssRegistryApiModule {
|
|
1835
|
+
static forRoot(configurationFactory) {
|
|
1836
|
+
return {
|
|
1837
|
+
ngModule: LssRegistryApiModule,
|
|
1838
|
+
providers: [{ provide: Configuration, useFactory: configurationFactory }]
|
|
1839
|
+
};
|
|
1840
|
+
}
|
|
1841
|
+
constructor(parentModule, http) {
|
|
1842
|
+
if (parentModule) {
|
|
1843
|
+
throw new Error('LssRegistryApiModule is already loaded. Import in your base AppModule only.');
|
|
1844
|
+
}
|
|
1845
|
+
if (!http) {
|
|
1846
|
+
throw new Error('You need to import the HttpClientModule in your AppModule! \n' +
|
|
1847
|
+
'See also https://github.com/angular/angular/issues/20575');
|
|
1848
|
+
}
|
|
1849
|
+
}
|
|
1850
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LssRegistryApiModule, deps: [{ token: LssRegistryApiModule, optional: true, skipSelf: true }, { token: i1.HttpClient, optional: true }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1851
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: LssRegistryApiModule });
|
|
1852
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LssRegistryApiModule });
|
|
1853
|
+
}
|
|
1854
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LssRegistryApiModule, decorators: [{
|
|
1855
|
+
type: NgModule,
|
|
1856
|
+
args: [{
|
|
1857
|
+
imports: [],
|
|
1858
|
+
declarations: [],
|
|
1859
|
+
exports: [],
|
|
1860
|
+
providers: []
|
|
1861
|
+
}]
|
|
1862
|
+
}], ctorParameters: () => [{ type: LssRegistryApiModule, decorators: [{
|
|
1863
|
+
type: Optional
|
|
1864
|
+
}, {
|
|
1865
|
+
type: SkipSelf
|
|
1866
|
+
}] }, { type: i1.HttpClient, decorators: [{
|
|
1867
|
+
type: Optional
|
|
1868
|
+
}] }] });
|
|
1869
|
+
|
|
1870
|
+
// Returns the service class providers, to be used in the [ApplicationConfig](https://angular.dev/api/core/ApplicationConfig).
|
|
1871
|
+
function provideApi(configOrBasePath) {
|
|
1872
|
+
return makeEnvironmentProviders([
|
|
1873
|
+
typeof configOrBasePath === "string"
|
|
1874
|
+
? { provide: BASE_PATH, useValue: configOrBasePath }
|
|
1875
|
+
: {
|
|
1876
|
+
provide: Configuration,
|
|
1877
|
+
useValue: new Configuration({ ...configOrBasePath }),
|
|
1878
|
+
},
|
|
1879
|
+
]);
|
|
1880
|
+
}
|
|
1881
|
+
|
|
1882
|
+
/**
|
|
1883
|
+
* Generated bundle index. Do not edit.
|
|
1884
|
+
*/
|
|
1885
|
+
|
|
1886
|
+
export { APIS, BASE_PATH, BackupsService, COLLECTION_FORMATS, Configuration, ConfigurationsService, ExplorerService, FilesystemColumnTypeRegistry, FolderTypeRegistry, LssRegistryApiModule, ServiceRegistry, SystemService, TableConfigurationColumnTypeRegistry, provideApi };
|
|
1887
|
+
//# sourceMappingURL=veeroute-lss-registry-angular.mjs.map
|