@veeroute/lss-packer-angular 7.21.2852 → 7.23.2924
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/packService.d.ts +4 -9
- package/api/packServiceInterface.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/packService.mjs +69 -223
- package/esm2022/api/packServiceInterface.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/attribute.mjs +2 -2
- package/esm2022/model/calculationAsyncResult.mjs +1 -1
- package/esm2022/model/calculationInfo.mjs +1 -1
- package/esm2022/model/calculationSettings.mjs +2 -2
- package/esm2022/model/calculationState.mjs +1 -1
- package/esm2022/model/calculationStatus.mjs +2 -2
- package/esm2022/model/checkResult.mjs +2 -2
- package/esm2022/model/coordinates.mjs +2 -2
- package/esm2022/model/custom400WithErrorsAndWarnings.mjs +1 -1
- package/esm2022/model/dimensions.mjs +2 -2
- package/esm2022/model/entityError.mjs +1 -1
- package/esm2022/model/entityErrorType.mjs +2 -2
- package/esm2022/model/entityPath.mjs +1 -1
- package/esm2022/model/entityType.mjs +2 -2
- package/esm2022/model/entityWarning.mjs +1 -1
- package/esm2022/model/entityWarningType.mjs +2 -2
- package/esm2022/model/general402.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/packResult.mjs +1 -1
- package/esm2022/model/packSettings.mjs +1 -1
- package/esm2022/model/packStatistics.mjs +1 -1
- package/esm2022/model/packTask.mjs +1 -1
- package/esm2022/model/package.mjs +1 -1
- package/esm2022/model/packageLayout.mjs +1 -1
- package/esm2022/model/packageStatistics.mjs +1 -1
- package/esm2022/model/packageType.mjs +2 -2
- package/esm2022/model/product.mjs +1 -1
- package/esm2022/model/productGroupLayout.mjs +1 -1
- package/esm2022/model/productLayout.mjs +1 -1
- package/esm2022/model/schemaError.mjs +2 -2
- package/esm2022/model/service.mjs +2 -2
- package/esm2022/model/tracedata.mjs +1 -1
- package/esm2022/model/unpackedItems.mjs +2 -2
- package/esm2022/model/validateResult.mjs +1 -1
- package/esm2022/model/versionResult.mjs +2 -2
- package/esm2022/provide-api.mjs +15 -0
- package/fesm2022/veeroute-lss-packer-angular.mjs +209 -343
- package/fesm2022/veeroute-lss-packer-angular.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/model/attribute.d.ts +1 -1
- package/model/calculationAsyncResult.d.ts +1 -1
- package/model/calculationInfo.d.ts +1 -1
- package/model/calculationSettings.d.ts +1 -1
- package/model/calculationState.d.ts +1 -1
- package/model/calculationStatus.d.ts +1 -1
- package/model/checkResult.d.ts +1 -1
- package/model/coordinates.d.ts +1 -1
- package/model/custom400WithErrorsAndWarnings.d.ts +1 -1
- package/model/dimensions.d.ts +1 -1
- package/model/entityError.d.ts +1 -1
- package/model/entityErrorType.d.ts +1 -1
- package/model/entityPath.d.ts +1 -1
- package/model/entityType.d.ts +1 -1
- package/model/entityWarning.d.ts +1 -1
- package/model/entityWarningType.d.ts +1 -1
- package/model/general402.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/packResult.d.ts +1 -1
- package/model/packSettings.d.ts +1 -1
- package/model/packStatistics.d.ts +1 -1
- package/model/packTask.d.ts +1 -1
- package/model/package.d.ts +10 -1
- package/model/packageLayout.d.ts +7 -1
- package/model/packageStatistics.d.ts +1 -1
- package/model/packageType.d.ts +1 -1
- package/model/product.d.ts +4 -1
- package/model/productGroupLayout.d.ts +4 -1
- package/model/productLayout.d.ts +4 -1
- package/model/schemaError.d.ts +1 -1
- package/model/service.d.ts +1 -1
- package/model/tracedata.d.ts +1 -1
- package/model/unpackedItems.d.ts +1 -1
- package/model/validateResult.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, 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.Packer [PC]
|
|
164
180
|
*
|
|
165
|
-
* The version of the OpenAPI document: 7.
|
|
181
|
+
* The version of the OpenAPI document: 7.23.2924
|
|
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 PackService {
|
|
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 PackService {
|
|
|
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.Packer [PC]
|
|
256
|
+
*
|
|
257
|
+
* The version of the OpenAPI document: 7.23.2924
|
|
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 PackService extends BaseService {
|
|
265
|
+
httpClient;
|
|
266
|
+
constructor(httpClient, basePath, configuration) {
|
|
267
|
+
super(basePath, configuration);
|
|
268
|
+
this.httpClient = httpClient;
|
|
232
269
|
}
|
|
233
270
|
cancelPackCalculation(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
234
271
|
const processCode = requestParameters?.processCode;
|
|
@@ -236,31 +273,16 @@ class PackService {
|
|
|
236
273
|
throw new Error('Required parameter processCode was null or undefined when calling cancelPackCalculation.');
|
|
237
274
|
}
|
|
238
275
|
let localVarHeaders = this.defaultHeaders;
|
|
239
|
-
let localVarCredential;
|
|
240
276
|
// authentication (ApiKeyAuth) required
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
246
|
-
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
247
|
-
// to determine the Accept header
|
|
248
|
-
const httpHeaderAccepts = [
|
|
249
|
-
'application/json'
|
|
250
|
-
];
|
|
251
|
-
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
252
|
-
}
|
|
277
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('ApiKeyAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
278
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
279
|
+
'application/json'
|
|
280
|
+
]);
|
|
253
281
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
254
282
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
255
283
|
}
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
localVarHttpContext = new HttpContext();
|
|
259
|
-
}
|
|
260
|
-
let localVarTransferCache = options && options.transferCache;
|
|
261
|
-
if (localVarTransferCache === undefined) {
|
|
262
|
-
localVarTransferCache = true;
|
|
263
|
-
}
|
|
284
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
285
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
264
286
|
let responseType_ = 'json';
|
|
265
287
|
if (localVarHttpHeaderAcceptSelected) {
|
|
266
288
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -274,10 +296,11 @@ class PackService {
|
|
|
274
296
|
}
|
|
275
297
|
}
|
|
276
298
|
let localVarPath = `/packer/pack/calculation-async/${this.configuration.encodeParam({ name: "processCode", value: processCode, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}`;
|
|
277
|
-
|
|
299
|
+
const { basePath, withCredentials } = this.configuration;
|
|
300
|
+
return this.httpClient.request('delete', `${basePath}${localVarPath}`, {
|
|
278
301
|
context: localVarHttpContext,
|
|
279
302
|
responseType: responseType_,
|
|
280
|
-
withCredentials:
|
|
303
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
281
304
|
headers: localVarHeaders,
|
|
282
305
|
observe: observe,
|
|
283
306
|
transferCache: localVarTransferCache,
|
|
@@ -290,31 +313,16 @@ class PackService {
|
|
|
290
313
|
throw new Error('Required parameter processCode was null or undefined when calling deletePackResult.');
|
|
291
314
|
}
|
|
292
315
|
let localVarHeaders = this.defaultHeaders;
|
|
293
|
-
let localVarCredential;
|
|
294
316
|
// authentication (ApiKeyAuth) required
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
300
|
-
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
301
|
-
// to determine the Accept header
|
|
302
|
-
const httpHeaderAccepts = [
|
|
303
|
-
'application/json'
|
|
304
|
-
];
|
|
305
|
-
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
306
|
-
}
|
|
317
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('ApiKeyAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
318
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
319
|
+
'application/json'
|
|
320
|
+
]);
|
|
307
321
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
308
322
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
309
323
|
}
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
localVarHttpContext = new HttpContext();
|
|
313
|
-
}
|
|
314
|
-
let localVarTransferCache = options && options.transferCache;
|
|
315
|
-
if (localVarTransferCache === undefined) {
|
|
316
|
-
localVarTransferCache = true;
|
|
317
|
-
}
|
|
324
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
325
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
318
326
|
let responseType_ = 'json';
|
|
319
327
|
if (localVarHttpHeaderAcceptSelected) {
|
|
320
328
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -328,10 +336,11 @@ class PackService {
|
|
|
328
336
|
}
|
|
329
337
|
}
|
|
330
338
|
let localVarPath = `/packer/pack/result/${this.configuration.encodeParam({ name: "processCode", value: processCode, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}`;
|
|
331
|
-
|
|
339
|
+
const { basePath, withCredentials } = this.configuration;
|
|
340
|
+
return this.httpClient.request('delete', `${basePath}${localVarPath}`, {
|
|
332
341
|
context: localVarHttpContext,
|
|
333
342
|
responseType: responseType_,
|
|
334
|
-
withCredentials:
|
|
343
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
335
344
|
headers: localVarHeaders,
|
|
336
345
|
observe: observe,
|
|
337
346
|
transferCache: localVarTransferCache,
|
|
@@ -344,31 +353,16 @@ class PackService {
|
|
|
344
353
|
throw new Error('Required parameter processCode was null or undefined when calling readPackResult.');
|
|
345
354
|
}
|
|
346
355
|
let localVarHeaders = this.defaultHeaders;
|
|
347
|
-
let localVarCredential;
|
|
348
356
|
// authentication (ApiKeyAuth) required
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
354
|
-
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
355
|
-
// to determine the Accept header
|
|
356
|
-
const httpHeaderAccepts = [
|
|
357
|
-
'application/json'
|
|
358
|
-
];
|
|
359
|
-
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
360
|
-
}
|
|
357
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('ApiKeyAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
358
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
359
|
+
'application/json'
|
|
360
|
+
]);
|
|
361
361
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
362
362
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
363
363
|
}
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
localVarHttpContext = new HttpContext();
|
|
367
|
-
}
|
|
368
|
-
let localVarTransferCache = options && options.transferCache;
|
|
369
|
-
if (localVarTransferCache === undefined) {
|
|
370
|
-
localVarTransferCache = true;
|
|
371
|
-
}
|
|
364
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
365
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
372
366
|
let responseType_ = 'json';
|
|
373
367
|
if (localVarHttpHeaderAcceptSelected) {
|
|
374
368
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -382,10 +376,11 @@ class PackService {
|
|
|
382
376
|
}
|
|
383
377
|
}
|
|
384
378
|
let localVarPath = `/packer/pack/result/${this.configuration.encodeParam({ name: "processCode", value: processCode, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}`;
|
|
385
|
-
|
|
379
|
+
const { basePath, withCredentials } = this.configuration;
|
|
380
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
386
381
|
context: localVarHttpContext,
|
|
387
382
|
responseType: responseType_,
|
|
388
|
-
withCredentials:
|
|
383
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
389
384
|
headers: localVarHeaders,
|
|
390
385
|
observe: observe,
|
|
391
386
|
transferCache: localVarTransferCache,
|
|
@@ -398,31 +393,16 @@ class PackService {
|
|
|
398
393
|
throw new Error('Required parameter processCode was null or undefined when calling readPackState.');
|
|
399
394
|
}
|
|
400
395
|
let localVarHeaders = this.defaultHeaders;
|
|
401
|
-
let localVarCredential;
|
|
402
396
|
// authentication (ApiKeyAuth) required
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
408
|
-
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
409
|
-
// to determine the Accept header
|
|
410
|
-
const httpHeaderAccepts = [
|
|
411
|
-
'application/json'
|
|
412
|
-
];
|
|
413
|
-
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
414
|
-
}
|
|
397
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('ApiKeyAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
398
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
399
|
+
'application/json'
|
|
400
|
+
]);
|
|
415
401
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
416
402
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
417
403
|
}
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
localVarHttpContext = new HttpContext();
|
|
421
|
-
}
|
|
422
|
-
let localVarTransferCache = options && options.transferCache;
|
|
423
|
-
if (localVarTransferCache === undefined) {
|
|
424
|
-
localVarTransferCache = true;
|
|
425
|
-
}
|
|
404
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
405
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
426
406
|
let responseType_ = 'json';
|
|
427
407
|
if (localVarHttpHeaderAcceptSelected) {
|
|
428
408
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -436,10 +416,11 @@ class PackService {
|
|
|
436
416
|
}
|
|
437
417
|
}
|
|
438
418
|
let localVarPath = `/packer/pack/state/${this.configuration.encodeParam({ name: "processCode", value: processCode, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}`;
|
|
439
|
-
|
|
419
|
+
const { basePath, withCredentials } = this.configuration;
|
|
420
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
440
421
|
context: localVarHttpContext,
|
|
441
422
|
responseType: responseType_,
|
|
442
|
-
withCredentials:
|
|
423
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
443
424
|
headers: localVarHeaders,
|
|
444
425
|
observe: observe,
|
|
445
426
|
transferCache: localVarTransferCache,
|
|
@@ -452,31 +433,16 @@ class PackService {
|
|
|
452
433
|
throw new Error('Required parameter packTaskPacker was null or undefined when calling runPackCalculation.');
|
|
453
434
|
}
|
|
454
435
|
let localVarHeaders = this.defaultHeaders;
|
|
455
|
-
let localVarCredential;
|
|
456
436
|
// authentication (ApiKeyAuth) required
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
462
|
-
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
463
|
-
// to determine the Accept header
|
|
464
|
-
const httpHeaderAccepts = [
|
|
465
|
-
'application/json'
|
|
466
|
-
];
|
|
467
|
-
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
468
|
-
}
|
|
437
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('ApiKeyAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
438
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
439
|
+
'application/json'
|
|
440
|
+
]);
|
|
469
441
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
470
442
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
471
443
|
}
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
localVarHttpContext = new HttpContext();
|
|
475
|
-
}
|
|
476
|
-
let localVarTransferCache = options && options.transferCache;
|
|
477
|
-
if (localVarTransferCache === undefined) {
|
|
478
|
-
localVarTransferCache = true;
|
|
479
|
-
}
|
|
444
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
445
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
480
446
|
// to determine the Content-Type header
|
|
481
447
|
const consumes = [
|
|
482
448
|
'application/json'
|
|
@@ -498,11 +464,12 @@ class PackService {
|
|
|
498
464
|
}
|
|
499
465
|
}
|
|
500
466
|
let localVarPath = `/packer/pack/calculation`;
|
|
501
|
-
|
|
467
|
+
const { basePath, withCredentials } = this.configuration;
|
|
468
|
+
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
502
469
|
context: localVarHttpContext,
|
|
503
470
|
body: packTaskPacker,
|
|
504
471
|
responseType: responseType_,
|
|
505
|
-
withCredentials:
|
|
472
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
506
473
|
headers: localVarHeaders,
|
|
507
474
|
observe: observe,
|
|
508
475
|
transferCache: localVarTransferCache,
|
|
@@ -515,31 +482,16 @@ class PackService {
|
|
|
515
482
|
throw new Error('Required parameter packTaskPacker was null or undefined when calling runPackCalculationAsync.');
|
|
516
483
|
}
|
|
517
484
|
let localVarHeaders = this.defaultHeaders;
|
|
518
|
-
let localVarCredential;
|
|
519
485
|
// authentication (ApiKeyAuth) required
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
525
|
-
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
526
|
-
// to determine the Accept header
|
|
527
|
-
const httpHeaderAccepts = [
|
|
528
|
-
'application/json'
|
|
529
|
-
];
|
|
530
|
-
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
531
|
-
}
|
|
486
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('ApiKeyAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
487
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
488
|
+
'application/json'
|
|
489
|
+
]);
|
|
532
490
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
533
491
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
534
492
|
}
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
localVarHttpContext = new HttpContext();
|
|
538
|
-
}
|
|
539
|
-
let localVarTransferCache = options && options.transferCache;
|
|
540
|
-
if (localVarTransferCache === undefined) {
|
|
541
|
-
localVarTransferCache = true;
|
|
542
|
-
}
|
|
493
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
494
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
543
495
|
// to determine the Content-Type header
|
|
544
496
|
const consumes = [
|
|
545
497
|
'application/json'
|
|
@@ -561,11 +513,12 @@ class PackService {
|
|
|
561
513
|
}
|
|
562
514
|
}
|
|
563
515
|
let localVarPath = `/packer/pack/calculation-async`;
|
|
564
|
-
|
|
516
|
+
const { basePath, withCredentials } = this.configuration;
|
|
517
|
+
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
565
518
|
context: localVarHttpContext,
|
|
566
519
|
body: packTaskPacker,
|
|
567
520
|
responseType: responseType_,
|
|
568
|
-
withCredentials:
|
|
521
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
569
522
|
headers: localVarHeaders,
|
|
570
523
|
observe: observe,
|
|
571
524
|
transferCache: localVarTransferCache,
|
|
@@ -578,31 +531,16 @@ class PackService {
|
|
|
578
531
|
throw new Error('Required parameter packTaskPacker was null or undefined when calling runPackValidation.');
|
|
579
532
|
}
|
|
580
533
|
let localVarHeaders = this.defaultHeaders;
|
|
581
|
-
let localVarCredential;
|
|
582
534
|
// authentication (ApiKeyAuth) required
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
588
|
-
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
589
|
-
// to determine the Accept header
|
|
590
|
-
const httpHeaderAccepts = [
|
|
591
|
-
'application/json'
|
|
592
|
-
];
|
|
593
|
-
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
594
|
-
}
|
|
535
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('ApiKeyAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
536
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
537
|
+
'application/json'
|
|
538
|
+
]);
|
|
595
539
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
596
540
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
597
541
|
}
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
localVarHttpContext = new HttpContext();
|
|
601
|
-
}
|
|
602
|
-
let localVarTransferCache = options && options.transferCache;
|
|
603
|
-
if (localVarTransferCache === undefined) {
|
|
604
|
-
localVarTransferCache = true;
|
|
605
|
-
}
|
|
542
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
543
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
606
544
|
// to determine the Content-Type header
|
|
607
545
|
const consumes = [
|
|
608
546
|
'application/json'
|
|
@@ -624,11 +562,12 @@ class PackService {
|
|
|
624
562
|
}
|
|
625
563
|
}
|
|
626
564
|
let localVarPath = `/packer/pack/validation`;
|
|
627
|
-
|
|
565
|
+
const { basePath, withCredentials } = this.configuration;
|
|
566
|
+
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
628
567
|
context: localVarHttpContext,
|
|
629
568
|
body: packTaskPacker,
|
|
630
569
|
responseType: responseType_,
|
|
631
|
-
withCredentials:
|
|
570
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
632
571
|
headers: localVarHeaders,
|
|
633
572
|
observe: observe,
|
|
634
573
|
transferCache: localVarTransferCache,
|
|
@@ -655,95 +594,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
655
594
|
/**
|
|
656
595
|
* VRt.Packer [PC]
|
|
657
596
|
*
|
|
658
|
-
* The version of the OpenAPI document: 7.
|
|
597
|
+
* The version of the OpenAPI document: 7.23.2924
|
|
659
598
|
* Contact: servicedesk@veeroute.com
|
|
660
599
|
*
|
|
661
600
|
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
662
601
|
* Do not edit the class manually.
|
|
663
602
|
*/
|
|
664
603
|
/* tslint:disable:no-unused-variable member-ordering */
|
|
665
|
-
class SystemService {
|
|
604
|
+
class SystemService extends BaseService {
|
|
666
605
|
httpClient;
|
|
667
|
-
basePath = 'https://api.edge7.veeroute.cloud';
|
|
668
|
-
defaultHeaders = new HttpHeaders();
|
|
669
|
-
configuration = new Configuration();
|
|
670
|
-
encoder;
|
|
671
606
|
constructor(httpClient, basePath, configuration) {
|
|
607
|
+
super(basePath, configuration);
|
|
672
608
|
this.httpClient = httpClient;
|
|
673
|
-
if (configuration) {
|
|
674
|
-
this.configuration = configuration;
|
|
675
|
-
}
|
|
676
|
-
if (typeof this.configuration.basePath !== 'string') {
|
|
677
|
-
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
678
|
-
if (firstBasePath != undefined) {
|
|
679
|
-
basePath = firstBasePath;
|
|
680
|
-
}
|
|
681
|
-
if (typeof basePath !== 'string') {
|
|
682
|
-
basePath = this.basePath;
|
|
683
|
-
}
|
|
684
|
-
this.configuration.basePath = basePath;
|
|
685
|
-
}
|
|
686
|
-
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
687
|
-
}
|
|
688
|
-
// @ts-ignore
|
|
689
|
-
addToHttpParams(httpParams, value, key) {
|
|
690
|
-
if (typeof value === "object" && value instanceof Date === false) {
|
|
691
|
-
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
692
|
-
}
|
|
693
|
-
else {
|
|
694
|
-
httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
|
|
695
|
-
}
|
|
696
|
-
return httpParams;
|
|
697
|
-
}
|
|
698
|
-
addToHttpParamsRecursive(httpParams, value, key) {
|
|
699
|
-
if (value == null) {
|
|
700
|
-
return httpParams;
|
|
701
|
-
}
|
|
702
|
-
if (typeof value === "object") {
|
|
703
|
-
if (Array.isArray(value)) {
|
|
704
|
-
value.forEach(elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
|
|
705
|
-
}
|
|
706
|
-
else if (value instanceof Date) {
|
|
707
|
-
if (key != null) {
|
|
708
|
-
httpParams = httpParams.append(key, value.toISOString().substring(0, 10));
|
|
709
|
-
}
|
|
710
|
-
else {
|
|
711
|
-
throw Error("key may not be null if value is Date");
|
|
712
|
-
}
|
|
713
|
-
}
|
|
714
|
-
else {
|
|
715
|
-
Object.keys(value).forEach(k => httpParams = this.addToHttpParamsRecursive(httpParams, value[k], key != null ? `${key}.${k}` : k));
|
|
716
|
-
}
|
|
717
|
-
}
|
|
718
|
-
else if (key != null) {
|
|
719
|
-
httpParams = httpParams.append(key, value);
|
|
720
|
-
}
|
|
721
|
-
else {
|
|
722
|
-
throw Error("key may not be null if value is not object or array");
|
|
723
|
-
}
|
|
724
|
-
return httpParams;
|
|
725
609
|
}
|
|
726
610
|
check(observe = 'body', reportProgress = false, options) {
|
|
727
611
|
let localVarHeaders = this.defaultHeaders;
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
const httpHeaderAccepts = [
|
|
732
|
-
'application/json'
|
|
733
|
-
];
|
|
734
|
-
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
735
|
-
}
|
|
612
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
613
|
+
'application/json'
|
|
614
|
+
]);
|
|
736
615
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
737
616
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
738
617
|
}
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
localVarHttpContext = new HttpContext();
|
|
742
|
-
}
|
|
743
|
-
let localVarTransferCache = options && options.transferCache;
|
|
744
|
-
if (localVarTransferCache === undefined) {
|
|
745
|
-
localVarTransferCache = true;
|
|
746
|
-
}
|
|
618
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
619
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
747
620
|
let responseType_ = 'json';
|
|
748
621
|
if (localVarHttpHeaderAcceptSelected) {
|
|
749
622
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -757,10 +630,11 @@ class SystemService {
|
|
|
757
630
|
}
|
|
758
631
|
}
|
|
759
632
|
let localVarPath = `/packer/system/check`;
|
|
760
|
-
|
|
633
|
+
const { basePath, withCredentials } = this.configuration;
|
|
634
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
761
635
|
context: localVarHttpContext,
|
|
762
636
|
responseType: responseType_,
|
|
763
|
-
withCredentials:
|
|
637
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
764
638
|
headers: localVarHeaders,
|
|
765
639
|
observe: observe,
|
|
766
640
|
transferCache: localVarTransferCache,
|
|
@@ -773,27 +647,16 @@ class SystemService {
|
|
|
773
647
|
throw new Error('Required parameter filename was null or undefined when calling file.');
|
|
774
648
|
}
|
|
775
649
|
let localVarHeaders = this.defaultHeaders;
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
'text/plain',
|
|
782
|
-
'application/json'
|
|
783
|
-
];
|
|
784
|
-
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
785
|
-
}
|
|
650
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
651
|
+
'text/html',
|
|
652
|
+
'text/plain',
|
|
653
|
+
'application/json'
|
|
654
|
+
]);
|
|
786
655
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
787
656
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
788
657
|
}
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
localVarHttpContext = new HttpContext();
|
|
792
|
-
}
|
|
793
|
-
let localVarTransferCache = options && options.transferCache;
|
|
794
|
-
if (localVarTransferCache === undefined) {
|
|
795
|
-
localVarTransferCache = true;
|
|
796
|
-
}
|
|
658
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
659
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
797
660
|
let responseType_ = 'json';
|
|
798
661
|
if (localVarHttpHeaderAcceptSelected) {
|
|
799
662
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -807,10 +670,11 @@ class SystemService {
|
|
|
807
670
|
}
|
|
808
671
|
}
|
|
809
672
|
let localVarPath = `/packer/file/${this.configuration.encodeParam({ name: "filename", value: filename, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}`;
|
|
810
|
-
|
|
673
|
+
const { basePath, withCredentials } = this.configuration;
|
|
674
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
811
675
|
context: localVarHttpContext,
|
|
812
676
|
responseType: responseType_,
|
|
813
|
-
withCredentials:
|
|
677
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
814
678
|
headers: localVarHeaders,
|
|
815
679
|
observe: observe,
|
|
816
680
|
transferCache: localVarTransferCache,
|
|
@@ -819,25 +683,14 @@ class SystemService {
|
|
|
819
683
|
}
|
|
820
684
|
version(observe = 'body', reportProgress = false, options) {
|
|
821
685
|
let localVarHeaders = this.defaultHeaders;
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
const httpHeaderAccepts = [
|
|
826
|
-
'application/json'
|
|
827
|
-
];
|
|
828
|
-
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
829
|
-
}
|
|
686
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
687
|
+
'application/json'
|
|
688
|
+
]);
|
|
830
689
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
831
690
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
832
691
|
}
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
localVarHttpContext = new HttpContext();
|
|
836
|
-
}
|
|
837
|
-
let localVarTransferCache = options && options.transferCache;
|
|
838
|
-
if (localVarTransferCache === undefined) {
|
|
839
|
-
localVarTransferCache = true;
|
|
840
|
-
}
|
|
692
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
693
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
841
694
|
let responseType_ = 'json';
|
|
842
695
|
if (localVarHttpHeaderAcceptSelected) {
|
|
843
696
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -851,10 +704,11 @@ class SystemService {
|
|
|
851
704
|
}
|
|
852
705
|
}
|
|
853
706
|
let localVarPath = `/packer/system/version`;
|
|
854
|
-
|
|
707
|
+
const { basePath, withCredentials } = this.configuration;
|
|
708
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
855
709
|
context: localVarHttpContext,
|
|
856
710
|
responseType: responseType_,
|
|
857
|
-
withCredentials:
|
|
711
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
858
712
|
headers: localVarHeaders,
|
|
859
713
|
observe: observe,
|
|
860
714
|
transferCache: localVarTransferCache,
|
|
@@ -883,7 +737,7 @@ const APIS = [PackService, SystemService];
|
|
|
883
737
|
/**
|
|
884
738
|
* VRt.Packer [PC]
|
|
885
739
|
*
|
|
886
|
-
* The version of the OpenAPI document: 7.
|
|
740
|
+
* The version of the OpenAPI document: 7.23.2924
|
|
887
741
|
* Contact: servicedesk@veeroute.com
|
|
888
742
|
*
|
|
889
743
|
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
@@ -893,7 +747,7 @@ const APIS = [PackService, SystemService];
|
|
|
893
747
|
/**
|
|
894
748
|
* VRt.Packer [PC]
|
|
895
749
|
*
|
|
896
|
-
* The version of the OpenAPI document: 7.
|
|
750
|
+
* The version of the OpenAPI document: 7.23.2924
|
|
897
751
|
* Contact: servicedesk@veeroute.com
|
|
898
752
|
*
|
|
899
753
|
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
@@ -903,7 +757,7 @@ const APIS = [PackService, SystemService];
|
|
|
903
757
|
/**
|
|
904
758
|
* VRt.Packer [PC]
|
|
905
759
|
*
|
|
906
|
-
* The version of the OpenAPI document: 7.
|
|
760
|
+
* The version of the OpenAPI document: 7.23.2924
|
|
907
761
|
* Contact: servicedesk@veeroute.com
|
|
908
762
|
*
|
|
909
763
|
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
@@ -927,7 +781,7 @@ var CalculationStatusPacker;
|
|
|
927
781
|
/**
|
|
928
782
|
* VRt.Packer [PC]
|
|
929
783
|
*
|
|
930
|
-
* The version of the OpenAPI document: 7.
|
|
784
|
+
* The version of the OpenAPI document: 7.23.2924
|
|
931
785
|
* Contact: servicedesk@veeroute.com
|
|
932
786
|
*
|
|
933
787
|
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
@@ -937,7 +791,7 @@ var CalculationStatusPacker;
|
|
|
937
791
|
/**
|
|
938
792
|
* VRt.Packer [PC]
|
|
939
793
|
*
|
|
940
|
-
* The version of the OpenAPI document: 7.
|
|
794
|
+
* The version of the OpenAPI document: 7.23.2924
|
|
941
795
|
* Contact: servicedesk@veeroute.com
|
|
942
796
|
*
|
|
943
797
|
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
@@ -947,7 +801,7 @@ var CalculationStatusPacker;
|
|
|
947
801
|
/**
|
|
948
802
|
* VRt.Packer [PC]
|
|
949
803
|
*
|
|
950
|
-
* The version of the OpenAPI document: 7.
|
|
804
|
+
* The version of the OpenAPI document: 7.23.2924
|
|
951
805
|
* Contact: servicedesk@veeroute.com
|
|
952
806
|
*
|
|
953
807
|
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
@@ -957,7 +811,7 @@ var CalculationStatusPacker;
|
|
|
957
811
|
/**
|
|
958
812
|
* VRt.Packer [PC]
|
|
959
813
|
*
|
|
960
|
-
* The version of the OpenAPI document: 7.
|
|
814
|
+
* The version of the OpenAPI document: 7.23.2924
|
|
961
815
|
* Contact: servicedesk@veeroute.com
|
|
962
816
|
*
|
|
963
817
|
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
@@ -985,7 +839,7 @@ var EntityErrorTypePacker;
|
|
|
985
839
|
/**
|
|
986
840
|
* VRt.Packer [PC]
|
|
987
841
|
*
|
|
988
|
-
* The version of the OpenAPI document: 7.
|
|
842
|
+
* The version of the OpenAPI document: 7.23.2924
|
|
989
843
|
* Contact: servicedesk@veeroute.com
|
|
990
844
|
*
|
|
991
845
|
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
@@ -1005,7 +859,7 @@ var EntityTypePacker;
|
|
|
1005
859
|
/**
|
|
1006
860
|
* VRt.Packer [PC]
|
|
1007
861
|
*
|
|
1008
|
-
* The version of the OpenAPI document: 7.
|
|
862
|
+
* The version of the OpenAPI document: 7.23.2924
|
|
1009
863
|
* Contact: servicedesk@veeroute.com
|
|
1010
864
|
*
|
|
1011
865
|
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
@@ -1025,7 +879,7 @@ var EntityWarningTypePacker;
|
|
|
1025
879
|
/**
|
|
1026
880
|
* VRt.Packer [PC]
|
|
1027
881
|
*
|
|
1028
|
-
* The version of the OpenAPI document: 7.
|
|
882
|
+
* The version of the OpenAPI document: 7.23.2924
|
|
1029
883
|
* Contact: servicedesk@veeroute.com
|
|
1030
884
|
*
|
|
1031
885
|
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
@@ -1044,7 +898,7 @@ var PackageTypePacker;
|
|
|
1044
898
|
/**
|
|
1045
899
|
* VRt.Packer [PC]
|
|
1046
900
|
*
|
|
1047
|
-
* The version of the OpenAPI document: 7.
|
|
901
|
+
* The version of the OpenAPI document: 7.23.2924
|
|
1048
902
|
* Contact: servicedesk@veeroute.com
|
|
1049
903
|
*
|
|
1050
904
|
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
@@ -1054,7 +908,7 @@ var PackageTypePacker;
|
|
|
1054
908
|
/**
|
|
1055
909
|
* VRt.Packer [PC]
|
|
1056
910
|
*
|
|
1057
|
-
* The version of the OpenAPI document: 7.
|
|
911
|
+
* The version of the OpenAPI document: 7.23.2924
|
|
1058
912
|
* Contact: servicedesk@veeroute.com
|
|
1059
913
|
*
|
|
1060
914
|
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
@@ -1078,7 +932,7 @@ var ServicePacker;
|
|
|
1078
932
|
/**
|
|
1079
933
|
* VRt.Packer [PC]
|
|
1080
934
|
*
|
|
1081
|
-
* The version of the OpenAPI document: 7.
|
|
935
|
+
* The version of the OpenAPI document: 7.23.2924
|
|
1082
936
|
* Contact: servicedesk@veeroute.com
|
|
1083
937
|
*
|
|
1084
938
|
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
@@ -1088,7 +942,7 @@ var ServicePacker;
|
|
|
1088
942
|
/**
|
|
1089
943
|
* VRt.Packer [PC]
|
|
1090
944
|
*
|
|
1091
|
-
* The version of the OpenAPI document: 7.
|
|
945
|
+
* The version of the OpenAPI document: 7.23.2924
|
|
1092
946
|
* Contact: servicedesk@veeroute.com
|
|
1093
947
|
*
|
|
1094
948
|
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
@@ -1131,9 +985,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
1131
985
|
type: Optional
|
|
1132
986
|
}] }] });
|
|
1133
987
|
|
|
988
|
+
// Returns the service class providers, to be used in the [ApplicationConfig](https://angular.dev/api/core/ApplicationConfig).
|
|
989
|
+
function provideApi(configOrBasePath) {
|
|
990
|
+
return makeEnvironmentProviders([
|
|
991
|
+
typeof configOrBasePath === "string"
|
|
992
|
+
? { provide: BASE_PATH, useValue: configOrBasePath }
|
|
993
|
+
: {
|
|
994
|
+
provide: Configuration,
|
|
995
|
+
useValue: new Configuration({ ...configOrBasePath }),
|
|
996
|
+
},
|
|
997
|
+
]);
|
|
998
|
+
}
|
|
999
|
+
|
|
1134
1000
|
/**
|
|
1135
1001
|
* Generated bundle index. Do not edit.
|
|
1136
1002
|
*/
|
|
1137
1003
|
|
|
1138
|
-
export { APIS, BASE_PATH, COLLECTION_FORMATS, CalculationStatusPacker, Configuration, EntityErrorTypePacker, EntityTypePacker, EntityWarningTypePacker, LssPackerApiModule, PackService, PackageTypePacker, ServicePacker, SystemService };
|
|
1004
|
+
export { APIS, BASE_PATH, COLLECTION_FORMATS, CalculationStatusPacker, Configuration, EntityErrorTypePacker, EntityTypePacker, EntityWarningTypePacker, LssPackerApiModule, PackService, PackageTypePacker, ServicePacker, SystemService, provideApi };
|
|
1139
1005
|
//# sourceMappingURL=veeroute-lss-packer-angular.mjs.map
|