@veeroute/lss-account-angular 7.21.2852 → 7.22.2904
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 +118 -117
- package/api/auditService.d.ts +4 -9
- package/api/auditServiceInterface.d.ts +1 -1
- package/api/authService.d.ts +4 -9
- package/api/authServiceInterface.d.ts +1 -1
- package/api/dataService.d.ts +4 -9
- package/api/dataServiceInterface.d.ts +1 -1
- package/api/infoService.d.ts +4 -9
- package/api/infoServiceInterface.d.ts +1 -1
- package/api/quotaService.d.ts +4 -9
- package/api/quotaServiceInterface.d.ts +1 -1
- package/api/statisticsService.d.ts +4 -9
- package/api/statisticsServiceInterface.d.ts +1 -1
- package/api/systemService.d.ts +4 -9
- package/api/systemServiceInterface.d.ts +1 -1
- package/api.base.service.d.ts +21 -0
- package/configuration.d.ts +4 -2
- package/esm2022/api/auditService.mjs +25 -115
- package/esm2022/api/auditServiceInterface.mjs +1 -1
- package/esm2022/api/authService.mjs +31 -121
- package/esm2022/api/authServiceInterface.mjs +1 -1
- package/esm2022/api/dataService.mjs +18 -92
- package/esm2022/api/dataServiceInterface.mjs +1 -1
- package/esm2022/api/infoService.mjs +24 -108
- package/esm2022/api/infoServiceInterface.mjs +1 -1
- package/esm2022/api/quotaService.mjs +15 -85
- package/esm2022/api/quotaServiceInterface.mjs +1 -1
- package/esm2022/api/statisticsService.mjs +33 -133
- package/esm2022/api/statisticsServiceInterface.mjs +1 -1
- package/esm2022/api/systemService.mjs +32 -118
- package/esm2022/api/systemServiceInterface.mjs +1 -1
- package/esm2022/api.base.service.mjs +79 -0
- package/esm2022/configuration.mjs +33 -17
- package/esm2022/index.mjs +2 -1
- package/esm2022/model/accountAuditResult.mjs +1 -1
- package/esm2022/model/attribute.mjs +2 -2
- package/esm2022/model/auditAction.mjs +1 -1
- package/esm2022/model/auditActionStatistics.mjs +1 -1
- package/esm2022/model/auditCounters.mjs +1 -1
- package/esm2022/model/auditCountersDetail.mjs +2 -2
- package/esm2022/model/calculationInfo.mjs +1 -1
- package/esm2022/model/calculationStatus.mjs +2 -2
- package/esm2022/model/checkResult.mjs +2 -2
- package/esm2022/model/dateStatistics.mjs +1 -1
- package/esm2022/model/flowStage.mjs +2 -2
- package/esm2022/model/flowType.mjs +2 -2
- package/esm2022/model/general400.mjs +1 -1
- package/esm2022/model/general402.mjs +1 -1
- package/esm2022/model/general403.mjs +1 -1
- package/esm2022/model/general404.mjs +1 -1
- package/esm2022/model/general404Detail.mjs +1 -1
- package/esm2022/model/general429.mjs +1 -1
- package/esm2022/model/general500.mjs +1 -1
- package/esm2022/model/infoChangeRequest.mjs +1 -1
- package/esm2022/model/passwordChangeRequest.mjs +2 -2
- package/esm2022/model/processQuota.mjs +1 -1
- package/esm2022/model/processStatistics.mjs +1 -1
- package/esm2022/model/processType.mjs +2 -2
- package/esm2022/model/quotaBase.mjs +1 -1
- package/esm2022/model/quotasResult.mjs +1 -1
- package/esm2022/model/schemaError.mjs +2 -2
- package/esm2022/model/service.mjs +2 -2
- package/esm2022/model/serviceQuota.mjs +1 -1
- package/esm2022/model/serviceStatistics.mjs +1 -1
- package/esm2022/model/tokenRequest.mjs +2 -2
- package/esm2022/model/tokenValidationResult.mjs +1 -1
- package/esm2022/model/tracedata.mjs +1 -1
- package/esm2022/model/user.mjs +1 -1
- package/esm2022/model/userRole.mjs +2 -2
- package/esm2022/model/userStatistics.mjs +1 -1
- package/esm2022/model/versionResult.mjs +2 -2
- package/esm2022/provide-api.mjs +15 -0
- package/fesm2022/veeroute-lss-account-angular.mjs +270 -753
- package/fesm2022/veeroute-lss-account-angular.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/model/accountAuditResult.d.ts +1 -1
- package/model/attribute.d.ts +1 -1
- package/model/auditAction.d.ts +1 -1
- package/model/auditActionStatistics.d.ts +1 -1
- package/model/auditCounters.d.ts +1 -1
- package/model/auditCountersDetail.d.ts +1 -1
- package/model/calculationInfo.d.ts +1 -1
- package/model/calculationStatus.d.ts +1 -1
- package/model/checkResult.d.ts +1 -1
- package/model/dateStatistics.d.ts +1 -1
- package/model/flowStage.d.ts +1 -1
- package/model/flowType.d.ts +1 -1
- package/model/general400.d.ts +1 -1
- package/model/general402.d.ts +1 -1
- package/model/general403.d.ts +1 -1
- package/model/general404.d.ts +1 -1
- package/model/general404Detail.d.ts +1 -1
- package/model/general429.d.ts +1 -1
- package/model/general500.d.ts +1 -1
- package/model/infoChangeRequest.d.ts +1 -1
- package/model/passwordChangeRequest.d.ts +1 -1
- package/model/processQuota.d.ts +1 -1
- package/model/processStatistics.d.ts +1 -1
- package/model/processType.d.ts +1 -1
- package/model/quotaBase.d.ts +1 -1
- package/model/quotasResult.d.ts +1 -1
- package/model/schemaError.d.ts +1 -1
- package/model/service.d.ts +1 -1
- package/model/serviceQuota.d.ts +1 -1
- package/model/serviceStatistics.d.ts +1 -1
- package/model/tokenRequest.d.ts +1 -1
- package/model/tokenValidationResult.d.ts +1 -1
- package/model/tracedata.d.ts +1 -1
- package/model/user.d.ts +1 -1
- package/model/userRole.d.ts +1 -1
- package/model/userStatistics.d.ts +1 -1
- package/model/versionResult.d.ts +1 -1
- package/package.json +1 -1
- package/provide-api.d.ts +3 -0
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, Optional, Inject, Injectable, SkipSelf, NgModule } from '@angular/core';
|
|
2
|
+
import { InjectionToken, Optional, Inject, Injectable, SkipSelf, NgModule, makeEnvironmentProviders } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/common/http';
|
|
4
4
|
import { HttpHeaders, HttpParams, HttpContext } from '@angular/common/http';
|
|
5
5
|
|
|
6
|
+
const BASE_PATH = new InjectionToken('basePath');
|
|
7
|
+
const COLLECTION_FORMATS = {
|
|
8
|
+
'csv': ',',
|
|
9
|
+
'tsv': ' ',
|
|
10
|
+
'ssv': ' ',
|
|
11
|
+
'pipes': '|'
|
|
12
|
+
};
|
|
13
|
+
|
|
6
14
|
/**
|
|
7
15
|
* Custom HttpParameterCodec
|
|
8
16
|
* Workaround for https://github.com/angular/angular/issues/18261
|
|
@@ -22,14 +30,6 @@ class CustomHttpParameterCodec {
|
|
|
22
30
|
}
|
|
23
31
|
}
|
|
24
32
|
|
|
25
|
-
const BASE_PATH = new InjectionToken('basePath');
|
|
26
|
-
const COLLECTION_FORMATS = {
|
|
27
|
-
'csv': ',',
|
|
28
|
-
'tsv': ' ',
|
|
29
|
-
'ssv': ' ',
|
|
30
|
-
'pipes': '|'
|
|
31
|
-
};
|
|
32
|
-
|
|
33
33
|
class Configuration {
|
|
34
34
|
/**
|
|
35
35
|
* @deprecated Since 5.0. Use credentials instead
|
|
@@ -61,26 +61,30 @@ class Configuration {
|
|
|
61
61
|
* minus any standard prefixes such as 'Basic' or 'Bearer'.
|
|
62
62
|
*/
|
|
63
63
|
credentials;
|
|
64
|
-
constructor(
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
this.withCredentials = configurationParameters.withCredentials;
|
|
71
|
-
this.encoder = configurationParameters.encoder;
|
|
72
|
-
if (configurationParameters.encodeParam) {
|
|
73
|
-
this.encodeParam = configurationParameters.encodeParam;
|
|
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;
|
|
74
70
|
}
|
|
75
|
-
|
|
76
|
-
this.
|
|
71
|
+
if (password !== undefined) {
|
|
72
|
+
this.password = password;
|
|
77
73
|
}
|
|
78
|
-
if (
|
|
79
|
-
this.
|
|
74
|
+
if (accessToken !== undefined) {
|
|
75
|
+
this.accessToken = accessToken;
|
|
80
76
|
}
|
|
81
|
-
|
|
82
|
-
this.
|
|
77
|
+
if (basePath !== undefined) {
|
|
78
|
+
this.basePath = basePath;
|
|
83
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 ?? {};
|
|
84
88
|
// init default ApiKeyAuth credential
|
|
85
89
|
if (!this.credentials['ApiKeyAuth']) {
|
|
86
90
|
this.credentials['ApiKeyAuth'] = () => {
|
|
@@ -144,6 +148,18 @@ class Configuration {
|
|
|
144
148
|
? value()
|
|
145
149
|
: value;
|
|
146
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
|
+
}
|
|
147
163
|
defaultEncodeParam(param) {
|
|
148
164
|
// This implementation exists as fallback for missing configuration
|
|
149
165
|
// and for backwards compatibility to older typescript-angular generator versions.
|
|
@@ -162,24 +178,19 @@ class Configuration {
|
|
|
162
178
|
/**
|
|
163
179
|
* VRt.Account [AC]
|
|
164
180
|
*
|
|
165
|
-
* The version of the OpenAPI document: 7.
|
|
181
|
+
* The version of the OpenAPI document: 7.22.2904
|
|
166
182
|
* Contact: servicedesk@veeroute.com
|
|
167
183
|
*
|
|
168
184
|
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
169
185
|
* Do not edit the class manually.
|
|
170
186
|
*/
|
|
171
|
-
|
|
172
|
-
class AuditService {
|
|
173
|
-
httpClient;
|
|
187
|
+
class BaseService {
|
|
174
188
|
basePath = 'https://api.edge7.veeroute.cloud';
|
|
175
189
|
defaultHeaders = new HttpHeaders();
|
|
176
|
-
configuration
|
|
190
|
+
configuration;
|
|
177
191
|
encoder;
|
|
178
|
-
constructor(
|
|
179
|
-
this.
|
|
180
|
-
if (configuration) {
|
|
181
|
-
this.configuration = configuration;
|
|
182
|
-
}
|
|
192
|
+
constructor(basePath, configuration) {
|
|
193
|
+
this.configuration = configuration || new Configuration();
|
|
183
194
|
if (typeof this.configuration.basePath !== 'string') {
|
|
184
195
|
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
185
196
|
if (firstBasePath != undefined) {
|
|
@@ -192,43 +203,69 @@ class AuditService {
|
|
|
192
203
|
}
|
|
193
204
|
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
194
205
|
}
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
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);
|
|
202
213
|
}
|
|
203
|
-
return httpParams;
|
|
214
|
+
return this.addToHttpParamsRecursive(httpParams, value, key);
|
|
204
215
|
}
|
|
205
|
-
addToHttpParamsRecursive(httpParams, value, key) {
|
|
206
|
-
if (value
|
|
216
|
+
addToHttpParamsRecursive(httpParams, value, key, isDeep = false) {
|
|
217
|
+
if (value === null || value === undefined) {
|
|
207
218
|
return httpParams;
|
|
208
219
|
}
|
|
209
|
-
if (typeof value ===
|
|
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.
|
|
210
228
|
if (Array.isArray(value)) {
|
|
211
229
|
value.forEach(elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
|
|
212
230
|
}
|
|
213
231
|
else if (value instanceof Date) {
|
|
214
232
|
if (key != null) {
|
|
215
|
-
httpParams = httpParams.append(key, value.toISOString()
|
|
233
|
+
httpParams = httpParams.append(key, value.toISOString());
|
|
216
234
|
}
|
|
217
235
|
else {
|
|
218
236
|
throw Error("key may not be null if value is Date");
|
|
219
237
|
}
|
|
220
238
|
}
|
|
221
239
|
else {
|
|
222
|
-
Object.keys(value).forEach(k =>
|
|
240
|
+
Object.keys(value).forEach(k => {
|
|
241
|
+
const paramKey = key ? `${key}.${k}` : k;
|
|
242
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value[k], paramKey);
|
|
243
|
+
});
|
|
223
244
|
}
|
|
245
|
+
return httpParams;
|
|
224
246
|
}
|
|
225
247
|
else if (key != null) {
|
|
226
|
-
|
|
227
|
-
}
|
|
228
|
-
else {
|
|
229
|
-
throw Error("key may not be null if value is not object or array");
|
|
248
|
+
return httpParams.append(key, value);
|
|
230
249
|
}
|
|
231
|
-
|
|
250
|
+
throw Error("key may not be null if value is not object or array");
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* VRt.Account [AC]
|
|
256
|
+
*
|
|
257
|
+
* The version of the OpenAPI document: 7.22.2904
|
|
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 AuditService extends BaseService {
|
|
265
|
+
httpClient;
|
|
266
|
+
constructor(httpClient, basePath, configuration) {
|
|
267
|
+
super(basePath, configuration);
|
|
268
|
+
this.httpClient = httpClient;
|
|
232
269
|
}
|
|
233
270
|
readAudit(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
234
271
|
const offset = requestParameters?.offset;
|
|
@@ -242,62 +279,27 @@ class AuditService {
|
|
|
242
279
|
const sortField = requestParameters?.sortField;
|
|
243
280
|
const sortDirection = requestParameters?.sortDirection;
|
|
244
281
|
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, to, 'to');
|
|
256
|
-
}
|
|
257
|
-
if (service !== undefined && service !== null) {
|
|
258
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, service, 'service');
|
|
259
|
-
}
|
|
260
|
-
if (operation !== undefined && operation !== null) {
|
|
261
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, operation, 'operation');
|
|
262
|
-
}
|
|
263
|
-
if (processType !== undefined && processType !== null) {
|
|
264
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, processType, 'process_type');
|
|
265
|
-
}
|
|
266
|
-
if (status !== undefined && status !== null) {
|
|
267
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, status, 'status');
|
|
268
|
-
}
|
|
269
|
-
if (sortField !== undefined && sortField !== null) {
|
|
270
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, sortField, 'sort_field');
|
|
271
|
-
}
|
|
272
|
-
if (sortDirection !== undefined && sortDirection !== null) {
|
|
273
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, sortDirection, 'sort_direction');
|
|
274
|
-
}
|
|
282
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, offset, 'offset');
|
|
283
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, limit, 'limit');
|
|
284
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, from, 'from');
|
|
285
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, to, 'to');
|
|
286
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, service, 'service');
|
|
287
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, operation, 'operation');
|
|
288
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, processType, 'process_type');
|
|
289
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, status, 'status');
|
|
290
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, sortField, 'sort_field');
|
|
291
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, sortDirection, 'sort_direction');
|
|
275
292
|
let localVarHeaders = this.defaultHeaders;
|
|
276
|
-
let localVarCredential;
|
|
277
293
|
// authentication (ApiKeyAuth) required
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
283
|
-
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
284
|
-
// to determine the Accept header
|
|
285
|
-
const httpHeaderAccepts = [
|
|
286
|
-
'application/json'
|
|
287
|
-
];
|
|
288
|
-
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
289
|
-
}
|
|
294
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('ApiKeyAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
295
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
296
|
+
'application/json'
|
|
297
|
+
]);
|
|
290
298
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
291
299
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
292
300
|
}
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
localVarHttpContext = new HttpContext();
|
|
296
|
-
}
|
|
297
|
-
let localVarTransferCache = options && options.transferCache;
|
|
298
|
-
if (localVarTransferCache === undefined) {
|
|
299
|
-
localVarTransferCache = true;
|
|
300
|
-
}
|
|
301
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
302
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
301
303
|
let responseType_ = 'json';
|
|
302
304
|
if (localVarHttpHeaderAcceptSelected) {
|
|
303
305
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -311,11 +313,12 @@ class AuditService {
|
|
|
311
313
|
}
|
|
312
314
|
}
|
|
313
315
|
let localVarPath = `/account/audit`;
|
|
314
|
-
|
|
316
|
+
const { basePath, withCredentials } = this.configuration;
|
|
317
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
315
318
|
context: localVarHttpContext,
|
|
316
319
|
params: localVarQueryParameters,
|
|
317
320
|
responseType: responseType_,
|
|
318
|
-
withCredentials:
|
|
321
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
319
322
|
headers: localVarHeaders,
|
|
320
323
|
observe: observe,
|
|
321
324
|
transferCache: localVarTransferCache,
|
|
@@ -342,102 +345,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
342
345
|
/**
|
|
343
346
|
* VRt.Account [AC]
|
|
344
347
|
*
|
|
345
|
-
* The version of the OpenAPI document: 7.
|
|
348
|
+
* The version of the OpenAPI document: 7.22.2904
|
|
346
349
|
* Contact: servicedesk@veeroute.com
|
|
347
350
|
*
|
|
348
351
|
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
349
352
|
* Do not edit the class manually.
|
|
350
353
|
*/
|
|
351
354
|
/* tslint:disable:no-unused-variable member-ordering */
|
|
352
|
-
class AuthService {
|
|
355
|
+
class AuthService extends BaseService {
|
|
353
356
|
httpClient;
|
|
354
|
-
basePath = 'https://api.edge7.veeroute.cloud';
|
|
355
|
-
defaultHeaders = new HttpHeaders();
|
|
356
|
-
configuration = new Configuration();
|
|
357
|
-
encoder;
|
|
358
357
|
constructor(httpClient, basePath, configuration) {
|
|
358
|
+
super(basePath, configuration);
|
|
359
359
|
this.httpClient = httpClient;
|
|
360
|
-
if (configuration) {
|
|
361
|
-
this.configuration = configuration;
|
|
362
|
-
}
|
|
363
|
-
if (typeof this.configuration.basePath !== 'string') {
|
|
364
|
-
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
365
|
-
if (firstBasePath != undefined) {
|
|
366
|
-
basePath = firstBasePath;
|
|
367
|
-
}
|
|
368
|
-
if (typeof basePath !== 'string') {
|
|
369
|
-
basePath = this.basePath;
|
|
370
|
-
}
|
|
371
|
-
this.configuration.basePath = basePath;
|
|
372
|
-
}
|
|
373
|
-
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
374
|
-
}
|
|
375
|
-
// @ts-ignore
|
|
376
|
-
addToHttpParams(httpParams, value, key) {
|
|
377
|
-
if (typeof value === "object" && value instanceof Date === false) {
|
|
378
|
-
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
379
|
-
}
|
|
380
|
-
else {
|
|
381
|
-
httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
|
|
382
|
-
}
|
|
383
|
-
return httpParams;
|
|
384
|
-
}
|
|
385
|
-
addToHttpParamsRecursive(httpParams, value, key) {
|
|
386
|
-
if (value == null) {
|
|
387
|
-
return httpParams;
|
|
388
|
-
}
|
|
389
|
-
if (typeof value === "object") {
|
|
390
|
-
if (Array.isArray(value)) {
|
|
391
|
-
value.forEach(elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
|
|
392
|
-
}
|
|
393
|
-
else if (value instanceof Date) {
|
|
394
|
-
if (key != null) {
|
|
395
|
-
httpParams = httpParams.append(key, value.toISOString().substring(0, 10));
|
|
396
|
-
}
|
|
397
|
-
else {
|
|
398
|
-
throw Error("key may not be null if value is Date");
|
|
399
|
-
}
|
|
400
|
-
}
|
|
401
|
-
else {
|
|
402
|
-
Object.keys(value).forEach(k => httpParams = this.addToHttpParamsRecursive(httpParams, value[k], key != null ? `${key}.${k}` : k));
|
|
403
|
-
}
|
|
404
|
-
}
|
|
405
|
-
else if (key != null) {
|
|
406
|
-
httpParams = httpParams.append(key, value);
|
|
407
|
-
}
|
|
408
|
-
else {
|
|
409
|
-
throw Error("key may not be null if value is not object or array");
|
|
410
|
-
}
|
|
411
|
-
return httpParams;
|
|
412
360
|
}
|
|
413
361
|
changePassword(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
414
362
|
const passwordChangeRequestAccount = requestParameters?.passwordChangeRequestAccount;
|
|
415
363
|
let localVarHeaders = this.defaultHeaders;
|
|
416
|
-
let localVarCredential;
|
|
417
364
|
// authentication (ApiKeyAuth) required
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
423
|
-
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
424
|
-
// to determine the Accept header
|
|
425
|
-
const httpHeaderAccepts = [
|
|
426
|
-
'application/json'
|
|
427
|
-
];
|
|
428
|
-
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
429
|
-
}
|
|
365
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('ApiKeyAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
366
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
367
|
+
'application/json'
|
|
368
|
+
]);
|
|
430
369
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
431
370
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
432
371
|
}
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
localVarHttpContext = new HttpContext();
|
|
436
|
-
}
|
|
437
|
-
let localVarTransferCache = options && options.transferCache;
|
|
438
|
-
if (localVarTransferCache === undefined) {
|
|
439
|
-
localVarTransferCache = true;
|
|
440
|
-
}
|
|
372
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
373
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
441
374
|
// to determine the Content-Type header
|
|
442
375
|
const consumes = [
|
|
443
376
|
'application/json'
|
|
@@ -459,11 +392,12 @@ class AuthService {
|
|
|
459
392
|
}
|
|
460
393
|
}
|
|
461
394
|
let localVarPath = `/account/password`;
|
|
462
|
-
|
|
395
|
+
const { basePath, withCredentials } = this.configuration;
|
|
396
|
+
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
463
397
|
context: localVarHttpContext,
|
|
464
398
|
body: passwordChangeRequestAccount,
|
|
465
399
|
responseType: responseType_,
|
|
466
|
-
withCredentials:
|
|
400
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
467
401
|
headers: localVarHeaders,
|
|
468
402
|
observe: observe,
|
|
469
403
|
transferCache: localVarTransferCache,
|
|
@@ -476,25 +410,14 @@ class AuthService {
|
|
|
476
410
|
throw new Error('Required parameter tokenRequestAccount was null or undefined when calling runTokenGeneration.');
|
|
477
411
|
}
|
|
478
412
|
let localVarHeaders = this.defaultHeaders;
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
const httpHeaderAccepts = [
|
|
483
|
-
'application/json'
|
|
484
|
-
];
|
|
485
|
-
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
486
|
-
}
|
|
413
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
414
|
+
'application/json'
|
|
415
|
+
]);
|
|
487
416
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
488
417
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
489
418
|
}
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
localVarHttpContext = new HttpContext();
|
|
493
|
-
}
|
|
494
|
-
let localVarTransferCache = options && options.transferCache;
|
|
495
|
-
if (localVarTransferCache === undefined) {
|
|
496
|
-
localVarTransferCache = true;
|
|
497
|
-
}
|
|
419
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
420
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
498
421
|
// to determine the Content-Type header
|
|
499
422
|
const consumes = [
|
|
500
423
|
'application/json'
|
|
@@ -516,11 +439,12 @@ class AuthService {
|
|
|
516
439
|
}
|
|
517
440
|
}
|
|
518
441
|
let localVarPath = `/account/token/generation`;
|
|
519
|
-
|
|
442
|
+
const { basePath, withCredentials } = this.configuration;
|
|
443
|
+
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
520
444
|
context: localVarHttpContext,
|
|
521
445
|
body: tokenRequestAccount,
|
|
522
446
|
responseType: responseType_,
|
|
523
|
-
withCredentials:
|
|
447
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
524
448
|
headers: localVarHeaders,
|
|
525
449
|
observe: observe,
|
|
526
450
|
transferCache: localVarTransferCache,
|
|
@@ -533,25 +457,14 @@ class AuthService {
|
|
|
533
457
|
throw new Error('Required parameter body was null or undefined when calling runTokenValidation.');
|
|
534
458
|
}
|
|
535
459
|
let localVarHeaders = this.defaultHeaders;
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
const httpHeaderAccepts = [
|
|
540
|
-
'application/json'
|
|
541
|
-
];
|
|
542
|
-
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
543
|
-
}
|
|
460
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
461
|
+
'application/json'
|
|
462
|
+
]);
|
|
544
463
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
545
464
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
546
465
|
}
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
localVarHttpContext = new HttpContext();
|
|
550
|
-
}
|
|
551
|
-
let localVarTransferCache = options && options.transferCache;
|
|
552
|
-
if (localVarTransferCache === undefined) {
|
|
553
|
-
localVarTransferCache = true;
|
|
554
|
-
}
|
|
466
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
467
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
555
468
|
// to determine the Content-Type header
|
|
556
469
|
const consumes = [
|
|
557
470
|
'application/json'
|
|
@@ -573,11 +486,12 @@ class AuthService {
|
|
|
573
486
|
}
|
|
574
487
|
}
|
|
575
488
|
let localVarPath = `/account/token/validation`;
|
|
576
|
-
|
|
489
|
+
const { basePath, withCredentials } = this.configuration;
|
|
490
|
+
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
577
491
|
context: localVarHttpContext,
|
|
578
492
|
body: body,
|
|
579
493
|
responseType: responseType_,
|
|
580
|
-
withCredentials:
|
|
494
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
581
495
|
headers: localVarHeaders,
|
|
582
496
|
observe: observe,
|
|
583
497
|
transferCache: localVarTransferCache,
|
|
@@ -604,73 +518,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
604
518
|
/**
|
|
605
519
|
* VRt.Account [AC]
|
|
606
520
|
*
|
|
607
|
-
* The version of the OpenAPI document: 7.
|
|
521
|
+
* The version of the OpenAPI document: 7.22.2904
|
|
608
522
|
* Contact: servicedesk@veeroute.com
|
|
609
523
|
*
|
|
610
524
|
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
611
525
|
* Do not edit the class manually.
|
|
612
526
|
*/
|
|
613
527
|
/* tslint:disable:no-unused-variable member-ordering */
|
|
614
|
-
class DataService {
|
|
528
|
+
class DataService extends BaseService {
|
|
615
529
|
httpClient;
|
|
616
|
-
basePath = 'https://api.edge7.veeroute.cloud';
|
|
617
|
-
defaultHeaders = new HttpHeaders();
|
|
618
|
-
configuration = new Configuration();
|
|
619
|
-
encoder;
|
|
620
530
|
constructor(httpClient, basePath, configuration) {
|
|
531
|
+
super(basePath, configuration);
|
|
621
532
|
this.httpClient = httpClient;
|
|
622
|
-
if (configuration) {
|
|
623
|
-
this.configuration = configuration;
|
|
624
|
-
}
|
|
625
|
-
if (typeof this.configuration.basePath !== 'string') {
|
|
626
|
-
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
627
|
-
if (firstBasePath != undefined) {
|
|
628
|
-
basePath = firstBasePath;
|
|
629
|
-
}
|
|
630
|
-
if (typeof basePath !== 'string') {
|
|
631
|
-
basePath = this.basePath;
|
|
632
|
-
}
|
|
633
|
-
this.configuration.basePath = basePath;
|
|
634
|
-
}
|
|
635
|
-
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
636
|
-
}
|
|
637
|
-
// @ts-ignore
|
|
638
|
-
addToHttpParams(httpParams, value, key) {
|
|
639
|
-
if (typeof value === "object" && value instanceof Date === false) {
|
|
640
|
-
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
641
|
-
}
|
|
642
|
-
else {
|
|
643
|
-
httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
|
|
644
|
-
}
|
|
645
|
-
return httpParams;
|
|
646
|
-
}
|
|
647
|
-
addToHttpParamsRecursive(httpParams, value, key) {
|
|
648
|
-
if (value == null) {
|
|
649
|
-
return httpParams;
|
|
650
|
-
}
|
|
651
|
-
if (typeof value === "object") {
|
|
652
|
-
if (Array.isArray(value)) {
|
|
653
|
-
value.forEach(elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
|
|
654
|
-
}
|
|
655
|
-
else if (value instanceof Date) {
|
|
656
|
-
if (key != null) {
|
|
657
|
-
httpParams = httpParams.append(key, value.toISOString().substring(0, 10));
|
|
658
|
-
}
|
|
659
|
-
else {
|
|
660
|
-
throw Error("key may not be null if value is Date");
|
|
661
|
-
}
|
|
662
|
-
}
|
|
663
|
-
else {
|
|
664
|
-
Object.keys(value).forEach(k => httpParams = this.addToHttpParamsRecursive(httpParams, value[k], key != null ? `${key}.${k}` : k));
|
|
665
|
-
}
|
|
666
|
-
}
|
|
667
|
-
else if (key != null) {
|
|
668
|
-
httpParams = httpParams.append(key, value);
|
|
669
|
-
}
|
|
670
|
-
else {
|
|
671
|
-
throw Error("key may not be null if value is not object or array");
|
|
672
|
-
}
|
|
673
|
-
return httpParams;
|
|
674
533
|
}
|
|
675
534
|
readData(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
676
535
|
const processCode = requestParameters?.processCode;
|
|
@@ -680,39 +539,20 @@ class DataService {
|
|
|
680
539
|
const dataFlowType = requestParameters?.dataFlowType;
|
|
681
540
|
const dataFlowStage = requestParameters?.dataFlowStage;
|
|
682
541
|
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
}
|
|
686
|
-
if (dataFlowStage !== undefined && dataFlowStage !== null) {
|
|
687
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, dataFlowStage, 'data_flow_stage');
|
|
688
|
-
}
|
|
542
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, dataFlowType, 'data_flow_type');
|
|
543
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, dataFlowStage, 'data_flow_stage');
|
|
689
544
|
let localVarHeaders = this.defaultHeaders;
|
|
690
|
-
let localVarCredential;
|
|
691
545
|
// authentication (ApiKeyAuth) required
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
698
|
-
// to determine the Accept header
|
|
699
|
-
const httpHeaderAccepts = [
|
|
700
|
-
'application/octet-stream',
|
|
701
|
-
'application/json'
|
|
702
|
-
];
|
|
703
|
-
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
704
|
-
}
|
|
546
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('ApiKeyAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
547
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
548
|
+
'application/octet-stream',
|
|
549
|
+
'application/json'
|
|
550
|
+
]);
|
|
705
551
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
706
552
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
707
553
|
}
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
localVarHttpContext = new HttpContext();
|
|
711
|
-
}
|
|
712
|
-
let localVarTransferCache = options && options.transferCache;
|
|
713
|
-
if (localVarTransferCache === undefined) {
|
|
714
|
-
localVarTransferCache = true;
|
|
715
|
-
}
|
|
554
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
555
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
716
556
|
let responseType_ = 'json';
|
|
717
557
|
if (localVarHttpHeaderAcceptSelected) {
|
|
718
558
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -726,11 +566,12 @@ class DataService {
|
|
|
726
566
|
}
|
|
727
567
|
}
|
|
728
568
|
let localVarPath = `/account/data/${this.configuration.encodeParam({ name: "processCode", value: processCode, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}`;
|
|
729
|
-
|
|
569
|
+
const { basePath, withCredentials } = this.configuration;
|
|
570
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
730
571
|
context: localVarHttpContext,
|
|
731
572
|
params: localVarQueryParameters,
|
|
732
573
|
responseType: responseType_,
|
|
733
|
-
withCredentials:
|
|
574
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
734
575
|
headers: localVarHeaders,
|
|
735
576
|
observe: observe,
|
|
736
577
|
transferCache: localVarTransferCache,
|
|
@@ -757,101 +598,31 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
757
598
|
/**
|
|
758
599
|
* VRt.Account [AC]
|
|
759
600
|
*
|
|
760
|
-
* The version of the OpenAPI document: 7.
|
|
601
|
+
* The version of the OpenAPI document: 7.22.2904
|
|
761
602
|
* Contact: servicedesk@veeroute.com
|
|
762
603
|
*
|
|
763
604
|
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
764
605
|
* Do not edit the class manually.
|
|
765
606
|
*/
|
|
766
607
|
/* tslint:disable:no-unused-variable member-ordering */
|
|
767
|
-
class InfoService {
|
|
608
|
+
class InfoService extends BaseService {
|
|
768
609
|
httpClient;
|
|
769
|
-
basePath = 'https://api.edge7.veeroute.cloud';
|
|
770
|
-
defaultHeaders = new HttpHeaders();
|
|
771
|
-
configuration = new Configuration();
|
|
772
|
-
encoder;
|
|
773
610
|
constructor(httpClient, basePath, configuration) {
|
|
611
|
+
super(basePath, configuration);
|
|
774
612
|
this.httpClient = httpClient;
|
|
775
|
-
if (configuration) {
|
|
776
|
-
this.configuration = configuration;
|
|
777
|
-
}
|
|
778
|
-
if (typeof this.configuration.basePath !== 'string') {
|
|
779
|
-
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
780
|
-
if (firstBasePath != undefined) {
|
|
781
|
-
basePath = firstBasePath;
|
|
782
|
-
}
|
|
783
|
-
if (typeof basePath !== 'string') {
|
|
784
|
-
basePath = this.basePath;
|
|
785
|
-
}
|
|
786
|
-
this.configuration.basePath = basePath;
|
|
787
|
-
}
|
|
788
|
-
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
789
|
-
}
|
|
790
|
-
// @ts-ignore
|
|
791
|
-
addToHttpParams(httpParams, value, key) {
|
|
792
|
-
if (typeof value === "object" && value instanceof Date === false) {
|
|
793
|
-
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
794
|
-
}
|
|
795
|
-
else {
|
|
796
|
-
httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
|
|
797
|
-
}
|
|
798
|
-
return httpParams;
|
|
799
|
-
}
|
|
800
|
-
addToHttpParamsRecursive(httpParams, value, key) {
|
|
801
|
-
if (value == null) {
|
|
802
|
-
return httpParams;
|
|
803
|
-
}
|
|
804
|
-
if (typeof value === "object") {
|
|
805
|
-
if (Array.isArray(value)) {
|
|
806
|
-
value.forEach(elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
|
|
807
|
-
}
|
|
808
|
-
else if (value instanceof Date) {
|
|
809
|
-
if (key != null) {
|
|
810
|
-
httpParams = httpParams.append(key, value.toISOString().substring(0, 10));
|
|
811
|
-
}
|
|
812
|
-
else {
|
|
813
|
-
throw Error("key may not be null if value is Date");
|
|
814
|
-
}
|
|
815
|
-
}
|
|
816
|
-
else {
|
|
817
|
-
Object.keys(value).forEach(k => httpParams = this.addToHttpParamsRecursive(httpParams, value[k], key != null ? `${key}.${k}` : k));
|
|
818
|
-
}
|
|
819
|
-
}
|
|
820
|
-
else if (key != null) {
|
|
821
|
-
httpParams = httpParams.append(key, value);
|
|
822
|
-
}
|
|
823
|
-
else {
|
|
824
|
-
throw Error("key may not be null if value is not object or array");
|
|
825
|
-
}
|
|
826
|
-
return httpParams;
|
|
827
613
|
}
|
|
828
614
|
readInfo(observe = 'body', reportProgress = false, options) {
|
|
829
615
|
let localVarHeaders = this.defaultHeaders;
|
|
830
|
-
let localVarCredential;
|
|
831
616
|
// authentication (ApiKeyAuth) required
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
837
|
-
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
838
|
-
// to determine the Accept header
|
|
839
|
-
const httpHeaderAccepts = [
|
|
840
|
-
'application/json'
|
|
841
|
-
];
|
|
842
|
-
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
843
|
-
}
|
|
617
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('ApiKeyAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
618
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
619
|
+
'application/json'
|
|
620
|
+
]);
|
|
844
621
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
845
622
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
846
623
|
}
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
localVarHttpContext = new HttpContext();
|
|
850
|
-
}
|
|
851
|
-
let localVarTransferCache = options && options.transferCache;
|
|
852
|
-
if (localVarTransferCache === undefined) {
|
|
853
|
-
localVarTransferCache = true;
|
|
854
|
-
}
|
|
624
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
625
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
855
626
|
let responseType_ = 'json';
|
|
856
627
|
if (localVarHttpHeaderAcceptSelected) {
|
|
857
628
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -865,10 +636,11 @@ class InfoService {
|
|
|
865
636
|
}
|
|
866
637
|
}
|
|
867
638
|
let localVarPath = `/account/info`;
|
|
868
|
-
|
|
639
|
+
const { basePath, withCredentials } = this.configuration;
|
|
640
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
869
641
|
context: localVarHttpContext,
|
|
870
642
|
responseType: responseType_,
|
|
871
|
-
withCredentials:
|
|
643
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
872
644
|
headers: localVarHeaders,
|
|
873
645
|
observe: observe,
|
|
874
646
|
transferCache: localVarTransferCache,
|
|
@@ -881,31 +653,16 @@ class InfoService {
|
|
|
881
653
|
throw new Error('Required parameter infoChangeRequestAccount was null or undefined when calling updateInfo.');
|
|
882
654
|
}
|
|
883
655
|
let localVarHeaders = this.defaultHeaders;
|
|
884
|
-
let localVarCredential;
|
|
885
656
|
// authentication (ApiKeyAuth) required
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
891
|
-
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
892
|
-
// to determine the Accept header
|
|
893
|
-
const httpHeaderAccepts = [
|
|
894
|
-
'application/json'
|
|
895
|
-
];
|
|
896
|
-
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
897
|
-
}
|
|
657
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('ApiKeyAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
658
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
659
|
+
'application/json'
|
|
660
|
+
]);
|
|
898
661
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
899
662
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
900
663
|
}
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
localVarHttpContext = new HttpContext();
|
|
904
|
-
}
|
|
905
|
-
let localVarTransferCache = options && options.transferCache;
|
|
906
|
-
if (localVarTransferCache === undefined) {
|
|
907
|
-
localVarTransferCache = true;
|
|
908
|
-
}
|
|
664
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
665
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
909
666
|
// to determine the Content-Type header
|
|
910
667
|
const consumes = [
|
|
911
668
|
'application/json'
|
|
@@ -927,11 +684,12 @@ class InfoService {
|
|
|
927
684
|
}
|
|
928
685
|
}
|
|
929
686
|
let localVarPath = `/account/info`;
|
|
930
|
-
|
|
687
|
+
const { basePath, withCredentials } = this.configuration;
|
|
688
|
+
return this.httpClient.request('put', `${basePath}${localVarPath}`, {
|
|
931
689
|
context: localVarHttpContext,
|
|
932
690
|
body: infoChangeRequestAccount,
|
|
933
691
|
responseType: responseType_,
|
|
934
|
-
withCredentials:
|
|
692
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
935
693
|
headers: localVarHeaders,
|
|
936
694
|
observe: observe,
|
|
937
695
|
transferCache: localVarTransferCache,
|
|
@@ -958,101 +716,31 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
958
716
|
/**
|
|
959
717
|
* VRt.Account [AC]
|
|
960
718
|
*
|
|
961
|
-
* The version of the OpenAPI document: 7.
|
|
719
|
+
* The version of the OpenAPI document: 7.22.2904
|
|
962
720
|
* Contact: servicedesk@veeroute.com
|
|
963
721
|
*
|
|
964
722
|
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
965
723
|
* Do not edit the class manually.
|
|
966
724
|
*/
|
|
967
725
|
/* tslint:disable:no-unused-variable member-ordering */
|
|
968
|
-
class QuotaService {
|
|
726
|
+
class QuotaService extends BaseService {
|
|
969
727
|
httpClient;
|
|
970
|
-
basePath = 'https://api.edge7.veeroute.cloud';
|
|
971
|
-
defaultHeaders = new HttpHeaders();
|
|
972
|
-
configuration = new Configuration();
|
|
973
|
-
encoder;
|
|
974
728
|
constructor(httpClient, basePath, configuration) {
|
|
729
|
+
super(basePath, configuration);
|
|
975
730
|
this.httpClient = httpClient;
|
|
976
|
-
if (configuration) {
|
|
977
|
-
this.configuration = configuration;
|
|
978
|
-
}
|
|
979
|
-
if (typeof this.configuration.basePath !== 'string') {
|
|
980
|
-
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
981
|
-
if (firstBasePath != undefined) {
|
|
982
|
-
basePath = firstBasePath;
|
|
983
|
-
}
|
|
984
|
-
if (typeof basePath !== 'string') {
|
|
985
|
-
basePath = this.basePath;
|
|
986
|
-
}
|
|
987
|
-
this.configuration.basePath = basePath;
|
|
988
|
-
}
|
|
989
|
-
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
990
|
-
}
|
|
991
|
-
// @ts-ignore
|
|
992
|
-
addToHttpParams(httpParams, value, key) {
|
|
993
|
-
if (typeof value === "object" && value instanceof Date === false) {
|
|
994
|
-
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
995
|
-
}
|
|
996
|
-
else {
|
|
997
|
-
httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
|
|
998
|
-
}
|
|
999
|
-
return httpParams;
|
|
1000
|
-
}
|
|
1001
|
-
addToHttpParamsRecursive(httpParams, value, key) {
|
|
1002
|
-
if (value == null) {
|
|
1003
|
-
return httpParams;
|
|
1004
|
-
}
|
|
1005
|
-
if (typeof value === "object") {
|
|
1006
|
-
if (Array.isArray(value)) {
|
|
1007
|
-
value.forEach(elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
|
|
1008
|
-
}
|
|
1009
|
-
else if (value instanceof Date) {
|
|
1010
|
-
if (key != null) {
|
|
1011
|
-
httpParams = httpParams.append(key, value.toISOString().substring(0, 10));
|
|
1012
|
-
}
|
|
1013
|
-
else {
|
|
1014
|
-
throw Error("key may not be null if value is Date");
|
|
1015
|
-
}
|
|
1016
|
-
}
|
|
1017
|
-
else {
|
|
1018
|
-
Object.keys(value).forEach(k => httpParams = this.addToHttpParamsRecursive(httpParams, value[k], key != null ? `${key}.${k}` : k));
|
|
1019
|
-
}
|
|
1020
|
-
}
|
|
1021
|
-
else if (key != null) {
|
|
1022
|
-
httpParams = httpParams.append(key, value);
|
|
1023
|
-
}
|
|
1024
|
-
else {
|
|
1025
|
-
throw Error("key may not be null if value is not object or array");
|
|
1026
|
-
}
|
|
1027
|
-
return httpParams;
|
|
1028
731
|
}
|
|
1029
732
|
readQuota(observe = 'body', reportProgress = false, options) {
|
|
1030
733
|
let localVarHeaders = this.defaultHeaders;
|
|
1031
|
-
let localVarCredential;
|
|
1032
734
|
// authentication (ApiKeyAuth) required
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
1038
|
-
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
1039
|
-
// to determine the Accept header
|
|
1040
|
-
const httpHeaderAccepts = [
|
|
1041
|
-
'application/json'
|
|
1042
|
-
];
|
|
1043
|
-
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1044
|
-
}
|
|
735
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('ApiKeyAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
736
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
737
|
+
'application/json'
|
|
738
|
+
]);
|
|
1045
739
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1046
740
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1047
741
|
}
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
localVarHttpContext = new HttpContext();
|
|
1051
|
-
}
|
|
1052
|
-
let localVarTransferCache = options && options.transferCache;
|
|
1053
|
-
if (localVarTransferCache === undefined) {
|
|
1054
|
-
localVarTransferCache = true;
|
|
1055
|
-
}
|
|
742
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
743
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1056
744
|
let responseType_ = 'json';
|
|
1057
745
|
if (localVarHttpHeaderAcceptSelected) {
|
|
1058
746
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -1066,10 +754,11 @@ class QuotaService {
|
|
|
1066
754
|
}
|
|
1067
755
|
}
|
|
1068
756
|
let localVarPath = `/account/quota`;
|
|
1069
|
-
|
|
757
|
+
const { basePath, withCredentials } = this.configuration;
|
|
758
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
1070
759
|
context: localVarHttpContext,
|
|
1071
760
|
responseType: responseType_,
|
|
1072
|
-
withCredentials:
|
|
761
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1073
762
|
headers: localVarHeaders,
|
|
1074
763
|
observe: observe,
|
|
1075
764
|
transferCache: localVarTransferCache,
|
|
@@ -1096,73 +785,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
1096
785
|
/**
|
|
1097
786
|
* VRt.Account [AC]
|
|
1098
787
|
*
|
|
1099
|
-
* The version of the OpenAPI document: 7.
|
|
788
|
+
* The version of the OpenAPI document: 7.22.2904
|
|
1100
789
|
* Contact: servicedesk@veeroute.com
|
|
1101
790
|
*
|
|
1102
791
|
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
1103
792
|
* Do not edit the class manually.
|
|
1104
793
|
*/
|
|
1105
794
|
/* tslint:disable:no-unused-variable member-ordering */
|
|
1106
|
-
class StatisticsService {
|
|
795
|
+
class StatisticsService extends BaseService {
|
|
1107
796
|
httpClient;
|
|
1108
|
-
basePath = 'https://api.edge7.veeroute.cloud';
|
|
1109
|
-
defaultHeaders = new HttpHeaders();
|
|
1110
|
-
configuration = new Configuration();
|
|
1111
|
-
encoder;
|
|
1112
797
|
constructor(httpClient, basePath, configuration) {
|
|
798
|
+
super(basePath, configuration);
|
|
1113
799
|
this.httpClient = httpClient;
|
|
1114
|
-
if (configuration) {
|
|
1115
|
-
this.configuration = configuration;
|
|
1116
|
-
}
|
|
1117
|
-
if (typeof this.configuration.basePath !== 'string') {
|
|
1118
|
-
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
1119
|
-
if (firstBasePath != undefined) {
|
|
1120
|
-
basePath = firstBasePath;
|
|
1121
|
-
}
|
|
1122
|
-
if (typeof basePath !== 'string') {
|
|
1123
|
-
basePath = this.basePath;
|
|
1124
|
-
}
|
|
1125
|
-
this.configuration.basePath = basePath;
|
|
1126
|
-
}
|
|
1127
|
-
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
1128
|
-
}
|
|
1129
|
-
// @ts-ignore
|
|
1130
|
-
addToHttpParams(httpParams, value, key) {
|
|
1131
|
-
if (typeof value === "object" && value instanceof Date === false) {
|
|
1132
|
-
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
1133
|
-
}
|
|
1134
|
-
else {
|
|
1135
|
-
httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
|
|
1136
|
-
}
|
|
1137
|
-
return httpParams;
|
|
1138
|
-
}
|
|
1139
|
-
addToHttpParamsRecursive(httpParams, value, key) {
|
|
1140
|
-
if (value == null) {
|
|
1141
|
-
return httpParams;
|
|
1142
|
-
}
|
|
1143
|
-
if (typeof value === "object") {
|
|
1144
|
-
if (Array.isArray(value)) {
|
|
1145
|
-
value.forEach(elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
|
|
1146
|
-
}
|
|
1147
|
-
else if (value instanceof Date) {
|
|
1148
|
-
if (key != null) {
|
|
1149
|
-
httpParams = httpParams.append(key, value.toISOString().substring(0, 10));
|
|
1150
|
-
}
|
|
1151
|
-
else {
|
|
1152
|
-
throw Error("key may not be null if value is Date");
|
|
1153
|
-
}
|
|
1154
|
-
}
|
|
1155
|
-
else {
|
|
1156
|
-
Object.keys(value).forEach(k => httpParams = this.addToHttpParamsRecursive(httpParams, value[k], key != null ? `${key}.${k}` : k));
|
|
1157
|
-
}
|
|
1158
|
-
}
|
|
1159
|
-
else if (key != null) {
|
|
1160
|
-
httpParams = httpParams.append(key, value);
|
|
1161
|
-
}
|
|
1162
|
-
else {
|
|
1163
|
-
throw Error("key may not be null if value is not object or array");
|
|
1164
|
-
}
|
|
1165
|
-
return httpParams;
|
|
1166
800
|
}
|
|
1167
801
|
generateReport(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
1168
802
|
const from = requestParameters?.from;
|
|
@@ -1170,45 +804,22 @@ class StatisticsService {
|
|
|
1170
804
|
const service = requestParameters?.service;
|
|
1171
805
|
const processType = requestParameters?.processType;
|
|
1172
806
|
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, to, 'to');
|
|
1178
|
-
}
|
|
1179
|
-
if (service !== undefined && service !== null) {
|
|
1180
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, service, 'service');
|
|
1181
|
-
}
|
|
1182
|
-
if (processType !== undefined && processType !== null) {
|
|
1183
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, processType, 'process_type');
|
|
1184
|
-
}
|
|
807
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, from, 'from');
|
|
808
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, to, 'to');
|
|
809
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, service, 'service');
|
|
810
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, processType, 'process_type');
|
|
1185
811
|
let localVarHeaders = this.defaultHeaders;
|
|
1186
|
-
let localVarCredential;
|
|
1187
812
|
// authentication (ApiKeyAuth) required
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
1194
|
-
// to determine the Accept header
|
|
1195
|
-
const httpHeaderAccepts = [
|
|
1196
|
-
'application/octet-stream',
|
|
1197
|
-
'application/json'
|
|
1198
|
-
];
|
|
1199
|
-
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1200
|
-
}
|
|
813
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('ApiKeyAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
814
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
815
|
+
'application/octet-stream',
|
|
816
|
+
'application/json'
|
|
817
|
+
]);
|
|
1201
818
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1202
819
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1203
820
|
}
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
localVarHttpContext = new HttpContext();
|
|
1207
|
-
}
|
|
1208
|
-
let localVarTransferCache = options && options.transferCache;
|
|
1209
|
-
if (localVarTransferCache === undefined) {
|
|
1210
|
-
localVarTransferCache = true;
|
|
1211
|
-
}
|
|
821
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
822
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1212
823
|
let responseType_ = 'json';
|
|
1213
824
|
if (localVarHttpHeaderAcceptSelected) {
|
|
1214
825
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -1222,11 +833,12 @@ class StatisticsService {
|
|
|
1222
833
|
}
|
|
1223
834
|
}
|
|
1224
835
|
let localVarPath = `/account/report`;
|
|
1225
|
-
|
|
836
|
+
const { basePath, withCredentials } = this.configuration;
|
|
837
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
1226
838
|
context: localVarHttpContext,
|
|
1227
839
|
params: localVarQueryParameters,
|
|
1228
840
|
responseType: responseType_,
|
|
1229
|
-
withCredentials:
|
|
841
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1230
842
|
headers: localVarHeaders,
|
|
1231
843
|
observe: observe,
|
|
1232
844
|
transferCache: localVarTransferCache,
|
|
@@ -1239,44 +851,21 @@ class StatisticsService {
|
|
|
1239
851
|
const service = requestParameters?.service;
|
|
1240
852
|
const processType = requestParameters?.processType;
|
|
1241
853
|
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, to, 'to');
|
|
1247
|
-
}
|
|
1248
|
-
if (service !== undefined && service !== null) {
|
|
1249
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, service, 'service');
|
|
1250
|
-
}
|
|
1251
|
-
if (processType !== undefined && processType !== null) {
|
|
1252
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, processType, 'process_type');
|
|
1253
|
-
}
|
|
854
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, from, 'from');
|
|
855
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, to, 'to');
|
|
856
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, service, 'service');
|
|
857
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, processType, 'process_type');
|
|
1254
858
|
let localVarHeaders = this.defaultHeaders;
|
|
1255
|
-
let localVarCredential;
|
|
1256
859
|
// authentication (ApiKeyAuth) required
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
1262
|
-
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
1263
|
-
// to determine the Accept header
|
|
1264
|
-
const httpHeaderAccepts = [
|
|
1265
|
-
'application/json'
|
|
1266
|
-
];
|
|
1267
|
-
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1268
|
-
}
|
|
860
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('ApiKeyAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
861
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
862
|
+
'application/json'
|
|
863
|
+
]);
|
|
1269
864
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1270
865
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1271
866
|
}
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
localVarHttpContext = new HttpContext();
|
|
1275
|
-
}
|
|
1276
|
-
let localVarTransferCache = options && options.transferCache;
|
|
1277
|
-
if (localVarTransferCache === undefined) {
|
|
1278
|
-
localVarTransferCache = true;
|
|
1279
|
-
}
|
|
867
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
868
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1280
869
|
let responseType_ = 'json';
|
|
1281
870
|
if (localVarHttpHeaderAcceptSelected) {
|
|
1282
871
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -1290,11 +879,12 @@ class StatisticsService {
|
|
|
1290
879
|
}
|
|
1291
880
|
}
|
|
1292
881
|
let localVarPath = `/account/statistics`;
|
|
1293
|
-
|
|
882
|
+
const { basePath, withCredentials } = this.configuration;
|
|
883
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
1294
884
|
context: localVarHttpContext,
|
|
1295
885
|
params: localVarQueryParameters,
|
|
1296
886
|
responseType: responseType_,
|
|
1297
|
-
withCredentials:
|
|
887
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1298
888
|
headers: localVarHeaders,
|
|
1299
889
|
observe: observe,
|
|
1300
890
|
transferCache: localVarTransferCache,
|
|
@@ -1321,95 +911,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
1321
911
|
/**
|
|
1322
912
|
* VRt.Account [AC]
|
|
1323
913
|
*
|
|
1324
|
-
* The version of the OpenAPI document: 7.
|
|
914
|
+
* The version of the OpenAPI document: 7.22.2904
|
|
1325
915
|
* Contact: servicedesk@veeroute.com
|
|
1326
916
|
*
|
|
1327
917
|
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
1328
918
|
* Do not edit the class manually.
|
|
1329
919
|
*/
|
|
1330
920
|
/* tslint:disable:no-unused-variable member-ordering */
|
|
1331
|
-
class SystemService {
|
|
921
|
+
class SystemService extends BaseService {
|
|
1332
922
|
httpClient;
|
|
1333
|
-
basePath = 'https://api.edge7.veeroute.cloud';
|
|
1334
|
-
defaultHeaders = new HttpHeaders();
|
|
1335
|
-
configuration = new Configuration();
|
|
1336
|
-
encoder;
|
|
1337
923
|
constructor(httpClient, basePath, configuration) {
|
|
924
|
+
super(basePath, configuration);
|
|
1338
925
|
this.httpClient = httpClient;
|
|
1339
|
-
if (configuration) {
|
|
1340
|
-
this.configuration = configuration;
|
|
1341
|
-
}
|
|
1342
|
-
if (typeof this.configuration.basePath !== 'string') {
|
|
1343
|
-
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
1344
|
-
if (firstBasePath != undefined) {
|
|
1345
|
-
basePath = firstBasePath;
|
|
1346
|
-
}
|
|
1347
|
-
if (typeof basePath !== 'string') {
|
|
1348
|
-
basePath = this.basePath;
|
|
1349
|
-
}
|
|
1350
|
-
this.configuration.basePath = basePath;
|
|
1351
|
-
}
|
|
1352
|
-
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
1353
|
-
}
|
|
1354
|
-
// @ts-ignore
|
|
1355
|
-
addToHttpParams(httpParams, value, key) {
|
|
1356
|
-
if (typeof value === "object" && value instanceof Date === false) {
|
|
1357
|
-
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
1358
|
-
}
|
|
1359
|
-
else {
|
|
1360
|
-
httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
|
|
1361
|
-
}
|
|
1362
|
-
return httpParams;
|
|
1363
|
-
}
|
|
1364
|
-
addToHttpParamsRecursive(httpParams, value, key) {
|
|
1365
|
-
if (value == null) {
|
|
1366
|
-
return httpParams;
|
|
1367
|
-
}
|
|
1368
|
-
if (typeof value === "object") {
|
|
1369
|
-
if (Array.isArray(value)) {
|
|
1370
|
-
value.forEach(elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
|
|
1371
|
-
}
|
|
1372
|
-
else if (value instanceof Date) {
|
|
1373
|
-
if (key != null) {
|
|
1374
|
-
httpParams = httpParams.append(key, value.toISOString().substring(0, 10));
|
|
1375
|
-
}
|
|
1376
|
-
else {
|
|
1377
|
-
throw Error("key may not be null if value is Date");
|
|
1378
|
-
}
|
|
1379
|
-
}
|
|
1380
|
-
else {
|
|
1381
|
-
Object.keys(value).forEach(k => httpParams = this.addToHttpParamsRecursive(httpParams, value[k], key != null ? `${key}.${k}` : k));
|
|
1382
|
-
}
|
|
1383
|
-
}
|
|
1384
|
-
else if (key != null) {
|
|
1385
|
-
httpParams = httpParams.append(key, value);
|
|
1386
|
-
}
|
|
1387
|
-
else {
|
|
1388
|
-
throw Error("key may not be null if value is not object or array");
|
|
1389
|
-
}
|
|
1390
|
-
return httpParams;
|
|
1391
926
|
}
|
|
1392
927
|
check(observe = 'body', reportProgress = false, options) {
|
|
1393
928
|
let localVarHeaders = this.defaultHeaders;
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
const httpHeaderAccepts = [
|
|
1398
|
-
'application/json'
|
|
1399
|
-
];
|
|
1400
|
-
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1401
|
-
}
|
|
929
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
930
|
+
'application/json'
|
|
931
|
+
]);
|
|
1402
932
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1403
933
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1404
934
|
}
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
localVarHttpContext = new HttpContext();
|
|
1408
|
-
}
|
|
1409
|
-
let localVarTransferCache = options && options.transferCache;
|
|
1410
|
-
if (localVarTransferCache === undefined) {
|
|
1411
|
-
localVarTransferCache = true;
|
|
1412
|
-
}
|
|
935
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
936
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1413
937
|
let responseType_ = 'json';
|
|
1414
938
|
if (localVarHttpHeaderAcceptSelected) {
|
|
1415
939
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -1423,10 +947,11 @@ class SystemService {
|
|
|
1423
947
|
}
|
|
1424
948
|
}
|
|
1425
949
|
let localVarPath = `/account/system/check`;
|
|
1426
|
-
|
|
950
|
+
const { basePath, withCredentials } = this.configuration;
|
|
951
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
1427
952
|
context: localVarHttpContext,
|
|
1428
953
|
responseType: responseType_,
|
|
1429
|
-
withCredentials:
|
|
954
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1430
955
|
headers: localVarHeaders,
|
|
1431
956
|
observe: observe,
|
|
1432
957
|
transferCache: localVarTransferCache,
|
|
@@ -1439,27 +964,16 @@ class SystemService {
|
|
|
1439
964
|
throw new Error('Required parameter filename was null or undefined when calling file.');
|
|
1440
965
|
}
|
|
1441
966
|
let localVarHeaders = this.defaultHeaders;
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
'text/plain',
|
|
1448
|
-
'application/json'
|
|
1449
|
-
];
|
|
1450
|
-
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1451
|
-
}
|
|
967
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
968
|
+
'text/html',
|
|
969
|
+
'text/plain',
|
|
970
|
+
'application/json'
|
|
971
|
+
]);
|
|
1452
972
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1453
973
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1454
974
|
}
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
localVarHttpContext = new HttpContext();
|
|
1458
|
-
}
|
|
1459
|
-
let localVarTransferCache = options && options.transferCache;
|
|
1460
|
-
if (localVarTransferCache === undefined) {
|
|
1461
|
-
localVarTransferCache = true;
|
|
1462
|
-
}
|
|
975
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
976
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1463
977
|
let responseType_ = 'json';
|
|
1464
978
|
if (localVarHttpHeaderAcceptSelected) {
|
|
1465
979
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -1473,10 +987,11 @@ class SystemService {
|
|
|
1473
987
|
}
|
|
1474
988
|
}
|
|
1475
989
|
let localVarPath = `/account/file/${this.configuration.encodeParam({ name: "filename", value: filename, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}`;
|
|
1476
|
-
|
|
990
|
+
const { basePath, withCredentials } = this.configuration;
|
|
991
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
1477
992
|
context: localVarHttpContext,
|
|
1478
993
|
responseType: responseType_,
|
|
1479
|
-
withCredentials:
|
|
994
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1480
995
|
headers: localVarHeaders,
|
|
1481
996
|
observe: observe,
|
|
1482
997
|
transferCache: localVarTransferCache,
|
|
@@ -1485,25 +1000,14 @@ class SystemService {
|
|
|
1485
1000
|
}
|
|
1486
1001
|
version(observe = 'body', reportProgress = false, options) {
|
|
1487
1002
|
let localVarHeaders = this.defaultHeaders;
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
const httpHeaderAccepts = [
|
|
1492
|
-
'application/json'
|
|
1493
|
-
];
|
|
1494
|
-
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1495
|
-
}
|
|
1003
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1004
|
+
'application/json'
|
|
1005
|
+
]);
|
|
1496
1006
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1497
1007
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1498
1008
|
}
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
localVarHttpContext = new HttpContext();
|
|
1502
|
-
}
|
|
1503
|
-
let localVarTransferCache = options && options.transferCache;
|
|
1504
|
-
if (localVarTransferCache === undefined) {
|
|
1505
|
-
localVarTransferCache = true;
|
|
1506
|
-
}
|
|
1009
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1010
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1507
1011
|
let responseType_ = 'json';
|
|
1508
1012
|
if (localVarHttpHeaderAcceptSelected) {
|
|
1509
1013
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -1517,10 +1021,11 @@ class SystemService {
|
|
|
1517
1021
|
}
|
|
1518
1022
|
}
|
|
1519
1023
|
let localVarPath = `/account/system/version`;
|
|
1520
|
-
|
|
1024
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1025
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
1521
1026
|
context: localVarHttpContext,
|
|
1522
1027
|
responseType: responseType_,
|
|
1523
|
-
withCredentials:
|
|
1028
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1524
1029
|
headers: localVarHeaders,
|
|
1525
1030
|
observe: observe,
|
|
1526
1031
|
transferCache: localVarTransferCache,
|
|
@@ -1549,7 +1054,7 @@ const APIS = [AuditService, AuthService, DataService, InfoService, QuotaService,
|
|
|
1549
1054
|
/**
|
|
1550
1055
|
* VRt.Account [AC]
|
|
1551
1056
|
*
|
|
1552
|
-
* The version of the OpenAPI document: 7.
|
|
1057
|
+
* The version of the OpenAPI document: 7.22.2904
|
|
1553
1058
|
* Contact: servicedesk@veeroute.com
|
|
1554
1059
|
*
|
|
1555
1060
|
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
@@ -1559,7 +1064,7 @@ const APIS = [AuditService, AuthService, DataService, InfoService, QuotaService,
|
|
|
1559
1064
|
/**
|
|
1560
1065
|
* VRt.Account [AC]
|
|
1561
1066
|
*
|
|
1562
|
-
* The version of the OpenAPI document: 7.
|
|
1067
|
+
* The version of the OpenAPI document: 7.22.2904
|
|
1563
1068
|
* Contact: servicedesk@veeroute.com
|
|
1564
1069
|
*
|
|
1565
1070
|
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
@@ -1569,7 +1074,7 @@ const APIS = [AuditService, AuthService, DataService, InfoService, QuotaService,
|
|
|
1569
1074
|
/**
|
|
1570
1075
|
* VRt.Account [AC]
|
|
1571
1076
|
*
|
|
1572
|
-
* The version of the OpenAPI document: 7.
|
|
1077
|
+
* The version of the OpenAPI document: 7.22.2904
|
|
1573
1078
|
* Contact: servicedesk@veeroute.com
|
|
1574
1079
|
*
|
|
1575
1080
|
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
@@ -1593,7 +1098,7 @@ var CalculationStatusAccount;
|
|
|
1593
1098
|
/**
|
|
1594
1099
|
* VRt.Account [AC]
|
|
1595
1100
|
*
|
|
1596
|
-
* The version of the OpenAPI document: 7.
|
|
1101
|
+
* The version of the OpenAPI document: 7.22.2904
|
|
1597
1102
|
* Contact: servicedesk@veeroute.com
|
|
1598
1103
|
*
|
|
1599
1104
|
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
@@ -1603,7 +1108,7 @@ var CalculationStatusAccount;
|
|
|
1603
1108
|
/**
|
|
1604
1109
|
* VRt.Account [AC]
|
|
1605
1110
|
*
|
|
1606
|
-
* The version of the OpenAPI document: 7.
|
|
1111
|
+
* The version of the OpenAPI document: 7.22.2904
|
|
1607
1112
|
* Contact: servicedesk@veeroute.com
|
|
1608
1113
|
*
|
|
1609
1114
|
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
@@ -1620,7 +1125,7 @@ var FlowStageAccount;
|
|
|
1620
1125
|
/**
|
|
1621
1126
|
* VRt.Account [AC]
|
|
1622
1127
|
*
|
|
1623
|
-
* The version of the OpenAPI document: 7.
|
|
1128
|
+
* The version of the OpenAPI document: 7.22.2904
|
|
1624
1129
|
* Contact: servicedesk@veeroute.com
|
|
1625
1130
|
*
|
|
1626
1131
|
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
@@ -1638,7 +1143,7 @@ var FlowTypeAccount;
|
|
|
1638
1143
|
/**
|
|
1639
1144
|
* VRt.Account [AC]
|
|
1640
1145
|
*
|
|
1641
|
-
* The version of the OpenAPI document: 7.
|
|
1146
|
+
* The version of the OpenAPI document: 7.22.2904
|
|
1642
1147
|
* Contact: servicedesk@veeroute.com
|
|
1643
1148
|
*
|
|
1644
1149
|
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
@@ -1648,7 +1153,7 @@ var FlowTypeAccount;
|
|
|
1648
1153
|
/**
|
|
1649
1154
|
* VRt.Account [AC]
|
|
1650
1155
|
*
|
|
1651
|
-
* The version of the OpenAPI document: 7.
|
|
1156
|
+
* The version of the OpenAPI document: 7.22.2904
|
|
1652
1157
|
* Contact: servicedesk@veeroute.com
|
|
1653
1158
|
*
|
|
1654
1159
|
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
@@ -1671,7 +1176,7 @@ var ProcessTypeAccount;
|
|
|
1671
1176
|
/**
|
|
1672
1177
|
* VRt.Account [AC]
|
|
1673
1178
|
*
|
|
1674
|
-
* The version of the OpenAPI document: 7.
|
|
1179
|
+
* The version of the OpenAPI document: 7.22.2904
|
|
1675
1180
|
* Contact: servicedesk@veeroute.com
|
|
1676
1181
|
*
|
|
1677
1182
|
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
@@ -1681,7 +1186,7 @@ var ProcessTypeAccount;
|
|
|
1681
1186
|
/**
|
|
1682
1187
|
* VRt.Account [AC]
|
|
1683
1188
|
*
|
|
1684
|
-
* The version of the OpenAPI document: 7.
|
|
1189
|
+
* The version of the OpenAPI document: 7.22.2904
|
|
1685
1190
|
* Contact: servicedesk@veeroute.com
|
|
1686
1191
|
*
|
|
1687
1192
|
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
@@ -1705,7 +1210,7 @@ var ServiceAccount;
|
|
|
1705
1210
|
/**
|
|
1706
1211
|
* VRt.Account [AC]
|
|
1707
1212
|
*
|
|
1708
|
-
* The version of the OpenAPI document: 7.
|
|
1213
|
+
* The version of the OpenAPI document: 7.22.2904
|
|
1709
1214
|
* Contact: servicedesk@veeroute.com
|
|
1710
1215
|
*
|
|
1711
1216
|
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
@@ -1715,7 +1220,7 @@ var ServiceAccount;
|
|
|
1715
1220
|
/**
|
|
1716
1221
|
* VRt.Account [AC]
|
|
1717
1222
|
*
|
|
1718
|
-
* The version of the OpenAPI document: 7.
|
|
1223
|
+
* The version of the OpenAPI document: 7.22.2904
|
|
1719
1224
|
* Contact: servicedesk@veeroute.com
|
|
1720
1225
|
*
|
|
1721
1226
|
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
@@ -1737,7 +1242,7 @@ var UserRoleAccount;
|
|
|
1737
1242
|
/**
|
|
1738
1243
|
* VRt.Account [AC]
|
|
1739
1244
|
*
|
|
1740
|
-
* The version of the OpenAPI document: 7.
|
|
1245
|
+
* The version of the OpenAPI document: 7.22.2904
|
|
1741
1246
|
* Contact: servicedesk@veeroute.com
|
|
1742
1247
|
*
|
|
1743
1248
|
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
@@ -1780,9 +1285,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
1780
1285
|
type: Optional
|
|
1781
1286
|
}] }] });
|
|
1782
1287
|
|
|
1288
|
+
// Returns the service class providers, to be used in the [ApplicationConfig](https://angular.dev/api/core/ApplicationConfig).
|
|
1289
|
+
function provideApi(configOrBasePath) {
|
|
1290
|
+
return makeEnvironmentProviders([
|
|
1291
|
+
typeof configOrBasePath === "string"
|
|
1292
|
+
? { provide: BASE_PATH, useValue: configOrBasePath }
|
|
1293
|
+
: {
|
|
1294
|
+
provide: Configuration,
|
|
1295
|
+
useValue: new Configuration({ ...configOrBasePath }),
|
|
1296
|
+
},
|
|
1297
|
+
]);
|
|
1298
|
+
}
|
|
1299
|
+
|
|
1783
1300
|
/**
|
|
1784
1301
|
* Generated bundle index. Do not edit.
|
|
1785
1302
|
*/
|
|
1786
1303
|
|
|
1787
|
-
export { APIS, AuditService, AuthService, BASE_PATH, COLLECTION_FORMATS, CalculationStatusAccount, Configuration, DataService, FlowStageAccount, FlowTypeAccount, InfoService, LssAccountApiModule, ProcessTypeAccount, QuotaService, ServiceAccount, StatisticsService, SystemService, UserRoleAccount };
|
|
1304
|
+
export { APIS, AuditService, AuthService, BASE_PATH, COLLECTION_FORMATS, CalculationStatusAccount, Configuration, DataService, FlowStageAccount, FlowTypeAccount, InfoService, LssAccountApiModule, ProcessTypeAccount, QuotaService, ServiceAccount, StatisticsService, SystemService, UserRoleAccount, provideApi };
|
|
1788
1305
|
//# sourceMappingURL=veeroute-lss-account-angular.mjs.map
|