@indigina/dcm-api 0.0.1 → 0.0.3
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 +25 -2
- package/api/api.d.ts +5 -1
- package/api/containers.service.d.ts +34 -0
- package/api/health.service.d.ts +1 -1
- package/api/shipments.service.d.ts +52 -0
- package/configuration.d.ts +24 -0
- package/esm2020/api/api.mjs +6 -2
- package/esm2020/api/containers.service.mjs +132 -0
- package/esm2020/api/health.service.mjs +9 -5
- package/esm2020/api/shipments.service.mjs +171 -0
- package/esm2020/api.module.mjs +20 -14
- package/esm2020/configuration.mjs +20 -1
- package/esm2020/index.mjs +2 -1
- package/esm2020/model/containersToDeliverCount.mjs +13 -0
- package/esm2020/model/modelError.mjs +2 -0
- package/esm2020/model/models.mjs +5 -2
- package/esm2020/model/shipmentsApprovalCount.mjs +13 -0
- package/esm2020/model/shipmentsInTransitCount.mjs +13 -0
- package/esm2020/param.mjs +2 -0
- package/fesm2015/indigina-dcm-api.mjs +336 -19
- package/fesm2015/indigina-dcm-api.mjs.map +1 -1
- package/fesm2020/indigina-dcm-api.mjs +368 -19
- package/fesm2020/indigina-dcm-api.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/model/containersToDeliverCount.d.ts +16 -0
- package/model/failures.d.ts +1 -1
- package/model/models.d.ts +4 -1
- package/model/shipmentsApprovalCount.d.ts +15 -0
- package/model/shipmentsInTransitCount.d.ts +14 -0
- package/package.json +5 -5
- package/param.d.ts +37 -0
- package/esm2020/model/error.mjs +0 -2
- package/indigina-dcm-api.d.ts +0 -5
- /package/model/{error.d.ts → modelError.d.ts} +0 -0
|
@@ -39,6 +39,12 @@ class Configuration {
|
|
|
39
39
|
this.basePath = configurationParameters.basePath;
|
|
40
40
|
this.withCredentials = configurationParameters.withCredentials;
|
|
41
41
|
this.encoder = configurationParameters.encoder;
|
|
42
|
+
if (configurationParameters.encodeParam) {
|
|
43
|
+
this.encodeParam = configurationParameters.encodeParam;
|
|
44
|
+
}
|
|
45
|
+
else {
|
|
46
|
+
this.encodeParam = param => this.defaultEncodeParam(param);
|
|
47
|
+
}
|
|
42
48
|
if (configurationParameters.credentials) {
|
|
43
49
|
this.credentials = configurationParameters.credentials;
|
|
44
50
|
}
|
|
@@ -100,7 +106,143 @@ class Configuration {
|
|
|
100
106
|
? value()
|
|
101
107
|
: value;
|
|
102
108
|
}
|
|
109
|
+
defaultEncodeParam(param) {
|
|
110
|
+
// This implementation exists as fallback for missing configuration
|
|
111
|
+
// and for backwards compatibility to older typescript-angular generator versions.
|
|
112
|
+
// It only works for the 'simple' parameter style.
|
|
113
|
+
// Date-handling only works for the 'date-time' format.
|
|
114
|
+
// All other styles and Date-formats are probably handled incorrectly.
|
|
115
|
+
//
|
|
116
|
+
// But: if that's all you need (i.e.: the most common use-case): no need for customization!
|
|
117
|
+
const value = param.dataFormat === 'date-time' && param.value instanceof Date
|
|
118
|
+
? param.value.toISOString()
|
|
119
|
+
: param.value;
|
|
120
|
+
return encodeURIComponent(String(value));
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* Dcm.API.Client
|
|
126
|
+
* DCM API Client for Angular applications
|
|
127
|
+
*
|
|
128
|
+
* The version of the OpenAPI document: v1
|
|
129
|
+
*
|
|
130
|
+
*
|
|
131
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
132
|
+
* https://openapi-generator.tech
|
|
133
|
+
* Do not edit the class manually.
|
|
134
|
+
*/
|
|
135
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
136
|
+
class ContainersService {
|
|
137
|
+
constructor(httpClient, basePath, configuration) {
|
|
138
|
+
this.httpClient = httpClient;
|
|
139
|
+
this.basePath = 'http://localhost';
|
|
140
|
+
this.defaultHeaders = new HttpHeaders();
|
|
141
|
+
this.configuration = new Configuration();
|
|
142
|
+
if (configuration) {
|
|
143
|
+
this.configuration = configuration;
|
|
144
|
+
}
|
|
145
|
+
if (typeof this.configuration.basePath !== 'string') {
|
|
146
|
+
if (Array.isArray(basePath) && basePath.length > 0) {
|
|
147
|
+
basePath = basePath[0];
|
|
148
|
+
}
|
|
149
|
+
if (typeof basePath !== 'string') {
|
|
150
|
+
basePath = this.basePath;
|
|
151
|
+
}
|
|
152
|
+
this.configuration.basePath = basePath;
|
|
153
|
+
}
|
|
154
|
+
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
155
|
+
}
|
|
156
|
+
// @ts-ignore
|
|
157
|
+
addToHttpParams(httpParams, value, key) {
|
|
158
|
+
if (typeof value === "object" && value instanceof Date === false) {
|
|
159
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
160
|
+
}
|
|
161
|
+
else {
|
|
162
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
|
|
163
|
+
}
|
|
164
|
+
return httpParams;
|
|
165
|
+
}
|
|
166
|
+
addToHttpParamsRecursive(httpParams, value, key) {
|
|
167
|
+
if (value == null) {
|
|
168
|
+
return httpParams;
|
|
169
|
+
}
|
|
170
|
+
if (typeof value === "object") {
|
|
171
|
+
if (Array.isArray(value)) {
|
|
172
|
+
value.forEach(elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
|
|
173
|
+
}
|
|
174
|
+
else if (value instanceof Date) {
|
|
175
|
+
if (key != null) {
|
|
176
|
+
httpParams = httpParams.append(key, value.toISOString().substr(0, 10));
|
|
177
|
+
}
|
|
178
|
+
else {
|
|
179
|
+
throw Error("key may not be null if value is Date");
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
else {
|
|
183
|
+
Object.keys(value).forEach(k => httpParams = this.addToHttpParamsRecursive(httpParams, value[k], key != null ? `${key}.${k}` : k));
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
else if (key != null) {
|
|
187
|
+
httpParams = httpParams.append(key, value);
|
|
188
|
+
}
|
|
189
|
+
else {
|
|
190
|
+
throw Error("key may not be null if value is not object or array");
|
|
191
|
+
}
|
|
192
|
+
return httpParams;
|
|
193
|
+
}
|
|
194
|
+
getContainersToDeliverCount(observe = 'body', reportProgress = false, options) {
|
|
195
|
+
let localVarHeaders = this.defaultHeaders;
|
|
196
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
197
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
198
|
+
// to determine the Accept header
|
|
199
|
+
const httpHeaderAccepts = [
|
|
200
|
+
'application/json'
|
|
201
|
+
];
|
|
202
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
203
|
+
}
|
|
204
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
205
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
206
|
+
}
|
|
207
|
+
let localVarHttpContext = options && options.context;
|
|
208
|
+
if (localVarHttpContext === undefined) {
|
|
209
|
+
localVarHttpContext = new HttpContext();
|
|
210
|
+
}
|
|
211
|
+
let responseType_ = 'json';
|
|
212
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
213
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
214
|
+
responseType_ = 'text';
|
|
215
|
+
}
|
|
216
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
217
|
+
responseType_ = 'json';
|
|
218
|
+
}
|
|
219
|
+
else {
|
|
220
|
+
responseType_ = 'blob';
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
let localVarPath = `/containers/todeliver/count`;
|
|
224
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
225
|
+
context: localVarHttpContext,
|
|
226
|
+
responseType: responseType_,
|
|
227
|
+
withCredentials: this.configuration.withCredentials,
|
|
228
|
+
headers: localVarHeaders,
|
|
229
|
+
observe: observe,
|
|
230
|
+
reportProgress: reportProgress
|
|
231
|
+
});
|
|
232
|
+
}
|
|
103
233
|
}
|
|
234
|
+
ContainersService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ContainersService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
235
|
+
ContainersService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ContainersService });
|
|
236
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ContainersService, decorators: [{
|
|
237
|
+
type: Injectable
|
|
238
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
239
|
+
type: Optional
|
|
240
|
+
}, {
|
|
241
|
+
type: Inject,
|
|
242
|
+
args: [BASE_PATH]
|
|
243
|
+
}] }, { type: Configuration, decorators: [{
|
|
244
|
+
type: Optional
|
|
245
|
+
}] }]; } });
|
|
104
246
|
|
|
105
247
|
/**
|
|
106
248
|
* Dcm.API.Client
|
|
@@ -113,6 +255,7 @@ class Configuration {
|
|
|
113
255
|
* https://openapi-generator.tech
|
|
114
256
|
* Do not edit the class manually.
|
|
115
257
|
*/
|
|
258
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
116
259
|
class HealthService {
|
|
117
260
|
constructor(httpClient, basePath, configuration) {
|
|
118
261
|
this.httpClient = httpClient;
|
|
@@ -123,6 +266,9 @@ class HealthService {
|
|
|
123
266
|
this.configuration = configuration;
|
|
124
267
|
}
|
|
125
268
|
if (typeof this.configuration.basePath !== 'string') {
|
|
269
|
+
if (Array.isArray(basePath) && basePath.length > 0) {
|
|
270
|
+
basePath = basePath[0];
|
|
271
|
+
}
|
|
126
272
|
if (typeof basePath !== 'string') {
|
|
127
273
|
basePath = this.basePath;
|
|
128
274
|
}
|
|
@@ -198,7 +344,8 @@ class HealthService {
|
|
|
198
344
|
responseType_ = 'blob';
|
|
199
345
|
}
|
|
200
346
|
}
|
|
201
|
-
|
|
347
|
+
let localVarPath = `/health`;
|
|
348
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
202
349
|
context: localVarHttpContext,
|
|
203
350
|
responseType: responseType_,
|
|
204
351
|
withCredentials: this.configuration.withCredentials,
|
|
@@ -208,9 +355,9 @@ class HealthService {
|
|
|
208
355
|
});
|
|
209
356
|
}
|
|
210
357
|
}
|
|
211
|
-
HealthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
212
|
-
HealthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
213
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
358
|
+
HealthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HealthService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
359
|
+
HealthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HealthService });
|
|
360
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HealthService, decorators: [{
|
|
214
361
|
type: Injectable
|
|
215
362
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
216
363
|
type: Optional
|
|
@@ -221,7 +368,205 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
221
368
|
type: Optional
|
|
222
369
|
}] }]; } });
|
|
223
370
|
|
|
224
|
-
|
|
371
|
+
/**
|
|
372
|
+
* Dcm.API.Client
|
|
373
|
+
* DCM API Client for Angular applications
|
|
374
|
+
*
|
|
375
|
+
* The version of the OpenAPI document: v1
|
|
376
|
+
*
|
|
377
|
+
*
|
|
378
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
379
|
+
* https://openapi-generator.tech
|
|
380
|
+
* Do not edit the class manually.
|
|
381
|
+
*/
|
|
382
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
383
|
+
class ShipmentsService {
|
|
384
|
+
constructor(httpClient, basePath, configuration) {
|
|
385
|
+
this.httpClient = httpClient;
|
|
386
|
+
this.basePath = 'http://localhost';
|
|
387
|
+
this.defaultHeaders = new HttpHeaders();
|
|
388
|
+
this.configuration = new Configuration();
|
|
389
|
+
if (configuration) {
|
|
390
|
+
this.configuration = configuration;
|
|
391
|
+
}
|
|
392
|
+
if (typeof this.configuration.basePath !== 'string') {
|
|
393
|
+
if (Array.isArray(basePath) && basePath.length > 0) {
|
|
394
|
+
basePath = basePath[0];
|
|
395
|
+
}
|
|
396
|
+
if (typeof basePath !== 'string') {
|
|
397
|
+
basePath = this.basePath;
|
|
398
|
+
}
|
|
399
|
+
this.configuration.basePath = basePath;
|
|
400
|
+
}
|
|
401
|
+
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
402
|
+
}
|
|
403
|
+
// @ts-ignore
|
|
404
|
+
addToHttpParams(httpParams, value, key) {
|
|
405
|
+
if (typeof value === "object" && value instanceof Date === false) {
|
|
406
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
407
|
+
}
|
|
408
|
+
else {
|
|
409
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
|
|
410
|
+
}
|
|
411
|
+
return httpParams;
|
|
412
|
+
}
|
|
413
|
+
addToHttpParamsRecursive(httpParams, value, key) {
|
|
414
|
+
if (value == null) {
|
|
415
|
+
return httpParams;
|
|
416
|
+
}
|
|
417
|
+
if (typeof value === "object") {
|
|
418
|
+
if (Array.isArray(value)) {
|
|
419
|
+
value.forEach(elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
|
|
420
|
+
}
|
|
421
|
+
else if (value instanceof Date) {
|
|
422
|
+
if (key != null) {
|
|
423
|
+
httpParams = httpParams.append(key, value.toISOString().substr(0, 10));
|
|
424
|
+
}
|
|
425
|
+
else {
|
|
426
|
+
throw Error("key may not be null if value is Date");
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
else {
|
|
430
|
+
Object.keys(value).forEach(k => httpParams = this.addToHttpParamsRecursive(httpParams, value[k], key != null ? `${key}.${k}` : k));
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
else if (key != null) {
|
|
434
|
+
httpParams = httpParams.append(key, value);
|
|
435
|
+
}
|
|
436
|
+
else {
|
|
437
|
+
throw Error("key may not be null if value is not object or array");
|
|
438
|
+
}
|
|
439
|
+
return httpParams;
|
|
440
|
+
}
|
|
441
|
+
getShipmentsApprovalCount(observe = 'body', reportProgress = false, options) {
|
|
442
|
+
let localVarHeaders = this.defaultHeaders;
|
|
443
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
444
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
445
|
+
// to determine the Accept header
|
|
446
|
+
const httpHeaderAccepts = [
|
|
447
|
+
'application/json'
|
|
448
|
+
];
|
|
449
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
450
|
+
}
|
|
451
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
452
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
453
|
+
}
|
|
454
|
+
let localVarHttpContext = options && options.context;
|
|
455
|
+
if (localVarHttpContext === undefined) {
|
|
456
|
+
localVarHttpContext = new HttpContext();
|
|
457
|
+
}
|
|
458
|
+
let responseType_ = 'json';
|
|
459
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
460
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
461
|
+
responseType_ = 'text';
|
|
462
|
+
}
|
|
463
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
464
|
+
responseType_ = 'json';
|
|
465
|
+
}
|
|
466
|
+
else {
|
|
467
|
+
responseType_ = 'blob';
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
let localVarPath = `/shipments/approvals/count`;
|
|
471
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
472
|
+
context: localVarHttpContext,
|
|
473
|
+
responseType: responseType_,
|
|
474
|
+
withCredentials: this.configuration.withCredentials,
|
|
475
|
+
headers: localVarHeaders,
|
|
476
|
+
observe: observe,
|
|
477
|
+
reportProgress: reportProgress
|
|
478
|
+
});
|
|
479
|
+
}
|
|
480
|
+
getShipmentsInTransitCount(observe = 'body', reportProgress = false, options) {
|
|
481
|
+
let localVarHeaders = this.defaultHeaders;
|
|
482
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
483
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
484
|
+
// to determine the Accept header
|
|
485
|
+
const httpHeaderAccepts = [
|
|
486
|
+
'application/json'
|
|
487
|
+
];
|
|
488
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
489
|
+
}
|
|
490
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
491
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
492
|
+
}
|
|
493
|
+
let localVarHttpContext = options && options.context;
|
|
494
|
+
if (localVarHttpContext === undefined) {
|
|
495
|
+
localVarHttpContext = new HttpContext();
|
|
496
|
+
}
|
|
497
|
+
let responseType_ = 'json';
|
|
498
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
499
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
500
|
+
responseType_ = 'text';
|
|
501
|
+
}
|
|
502
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
503
|
+
responseType_ = 'json';
|
|
504
|
+
}
|
|
505
|
+
else {
|
|
506
|
+
responseType_ = 'blob';
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
let localVarPath = `/shipments/intransit/count`;
|
|
510
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
511
|
+
context: localVarHttpContext,
|
|
512
|
+
responseType: responseType_,
|
|
513
|
+
withCredentials: this.configuration.withCredentials,
|
|
514
|
+
headers: localVarHeaders,
|
|
515
|
+
observe: observe,
|
|
516
|
+
reportProgress: reportProgress
|
|
517
|
+
});
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
ShipmentsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ShipmentsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
521
|
+
ShipmentsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ShipmentsService });
|
|
522
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ShipmentsService, decorators: [{
|
|
523
|
+
type: Injectable
|
|
524
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
525
|
+
type: Optional
|
|
526
|
+
}, {
|
|
527
|
+
type: Inject,
|
|
528
|
+
args: [BASE_PATH]
|
|
529
|
+
}] }, { type: Configuration, decorators: [{
|
|
530
|
+
type: Optional
|
|
531
|
+
}] }]; } });
|
|
532
|
+
|
|
533
|
+
const APIS = [ContainersService, HealthService, ShipmentsService];
|
|
534
|
+
|
|
535
|
+
/**
|
|
536
|
+
* Dcm.API.Client
|
|
537
|
+
* DCM API Client for Angular applications
|
|
538
|
+
*
|
|
539
|
+
* The version of the OpenAPI document: v1
|
|
540
|
+
*
|
|
541
|
+
*
|
|
542
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
543
|
+
* https://openapi-generator.tech
|
|
544
|
+
* Do not edit the class manually.
|
|
545
|
+
*/
|
|
546
|
+
|
|
547
|
+
/**
|
|
548
|
+
* Dcm.API.Client
|
|
549
|
+
* DCM API Client for Angular applications
|
|
550
|
+
*
|
|
551
|
+
* The version of the OpenAPI document: v1
|
|
552
|
+
*
|
|
553
|
+
*
|
|
554
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
555
|
+
* https://openapi-generator.tech
|
|
556
|
+
* Do not edit the class manually.
|
|
557
|
+
*/
|
|
558
|
+
|
|
559
|
+
/**
|
|
560
|
+
* Dcm.API.Client
|
|
561
|
+
* DCM API Client for Angular applications
|
|
562
|
+
*
|
|
563
|
+
* The version of the OpenAPI document: v1
|
|
564
|
+
*
|
|
565
|
+
*
|
|
566
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
567
|
+
* https://openapi-generator.tech
|
|
568
|
+
* Do not edit the class manually.
|
|
569
|
+
*/
|
|
225
570
|
|
|
226
571
|
/**
|
|
227
572
|
* Dcm.API.Client
|
|
@@ -236,6 +581,12 @@ const APIS = [HealthService];
|
|
|
236
581
|
*/
|
|
237
582
|
|
|
238
583
|
class ApiModule {
|
|
584
|
+
static forRoot(configurationFactory) {
|
|
585
|
+
return {
|
|
586
|
+
ngModule: ApiModule,
|
|
587
|
+
providers: [{ provide: Configuration, useFactory: configurationFactory }]
|
|
588
|
+
};
|
|
589
|
+
}
|
|
239
590
|
constructor(parentModule, http) {
|
|
240
591
|
if (parentModule) {
|
|
241
592
|
throw new Error('ApiModule is already loaded. Import in your base AppModule only.');
|
|
@@ -245,26 +596,24 @@ class ApiModule {
|
|
|
245
596
|
'See also https://github.com/angular/angular/issues/20575');
|
|
246
597
|
}
|
|
247
598
|
}
|
|
248
|
-
static forRoot(configurationFactory) {
|
|
249
|
-
return {
|
|
250
|
-
ngModule: ApiModule,
|
|
251
|
-
providers: [{ provide: Configuration, useFactory: configurationFactory }]
|
|
252
|
-
};
|
|
253
|
-
}
|
|
254
599
|
}
|
|
255
|
-
ApiModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
256
|
-
ApiModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
257
|
-
ApiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
600
|
+
ApiModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ApiModule, deps: [{ token: ApiModule, optional: true, skipSelf: true }, { token: i1.HttpClient, optional: true }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
601
|
+
ApiModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: ApiModule });
|
|
602
|
+
ApiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ApiModule, providers: [
|
|
603
|
+
ContainersService,
|
|
604
|
+
HealthService,
|
|
605
|
+
ShipmentsService
|
|
606
|
+
] });
|
|
607
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ApiModule, decorators: [{
|
|
261
608
|
type: NgModule,
|
|
262
609
|
args: [{
|
|
263
610
|
imports: [],
|
|
264
611
|
declarations: [],
|
|
265
612
|
exports: [],
|
|
266
613
|
providers: [
|
|
267
|
-
|
|
614
|
+
ContainersService,
|
|
615
|
+
HealthService,
|
|
616
|
+
ShipmentsService
|
|
268
617
|
]
|
|
269
618
|
}]
|
|
270
619
|
}], ctorParameters: function () { return [{ type: ApiModule, decorators: [{
|
|
@@ -279,5 +628,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
279
628
|
* Generated bundle index. Do not edit.
|
|
280
629
|
*/
|
|
281
630
|
|
|
282
|
-
export { APIS, ApiModule, BASE_PATH, COLLECTION_FORMATS, Configuration, HealthService };
|
|
631
|
+
export { APIS, ApiModule, BASE_PATH, COLLECTION_FORMATS, Configuration, ContainersService, HealthService, ShipmentsService };
|
|
283
632
|
//# sourceMappingURL=indigina-dcm-api.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"indigina-dcm-api.mjs","sources":["../../encoder.ts","../../variables.ts","../../configuration.ts","../../api/health.service.ts","../../api/api.ts","../../model/failures.ts","../../api.module.ts","../../indigina-dcm-api.ts"],"sourcesContent":["import { HttpParameterCodec } from '@angular/common/http';\n\n/**\n * Custom HttpParameterCodec\n * Workaround for https://github.com/angular/angular/issues/18261\n */\nexport class CustomHttpParameterCodec implements HttpParameterCodec {\n encodeKey(k: string): string {\n return encodeURIComponent(k);\n }\n encodeValue(v: string): string {\n return encodeURIComponent(v);\n }\n decodeKey(k: string): string {\n return decodeURIComponent(k);\n }\n decodeValue(v: string): string {\n return decodeURIComponent(v);\n }\n}\n","import { InjectionToken } from '@angular/core';\n\nexport const BASE_PATH = new InjectionToken<string>('basePath');\nexport const COLLECTION_FORMATS = {\n 'csv': ',',\n 'tsv': ' ',\n 'ssv': ' ',\n 'pipes': '|'\n}\n","import { HttpParameterCodec } from '@angular/common/http';\n\nexport interface ConfigurationParameters {\n /**\n * @deprecated Since 5.0. Use credentials instead\n */\n apiKeys?: {[ key: string ]: string};\n username?: string;\n password?: string;\n /**\n * @deprecated Since 5.0. Use credentials instead\n */\n accessToken?: string | (() => string);\n basePath?: string;\n withCredentials?: boolean;\n encoder?: HttpParameterCodec;\n /**\n * The keys are the names in the securitySchemes section of the OpenAPI\n * document. They should map to the value used for authentication\n * minus any standard prefixes such as 'Basic' or 'Bearer'.\n */\n credentials?: {[ key: string ]: string | (() => string | undefined)};\n}\n\nexport class Configuration {\n /**\n * @deprecated Since 5.0. Use credentials instead\n */\n apiKeys?: {[ key: string ]: string};\n username?: string;\n password?: string;\n /**\n * @deprecated Since 5.0. Use credentials instead\n */\n accessToken?: string | (() => string);\n basePath?: string;\n withCredentials?: boolean;\n encoder?: HttpParameterCodec;\n /**\n * The keys are the names in the securitySchemes section of the OpenAPI\n * document. They should map to the value used for authentication\n * minus any standard prefixes such as 'Basic' or 'Bearer'.\n */\n credentials: {[ key: string ]: string | (() => string | undefined)};\n\n constructor(configurationParameters: ConfigurationParameters = {}) {\n this.apiKeys = configurationParameters.apiKeys;\n this.username = configurationParameters.username;\n this.password = configurationParameters.password;\n this.accessToken = configurationParameters.accessToken;\n this.basePath = configurationParameters.basePath;\n this.withCredentials = configurationParameters.withCredentials;\n this.encoder = configurationParameters.encoder;\n if (configurationParameters.credentials) {\n this.credentials = configurationParameters.credentials;\n }\n else {\n this.credentials = {};\n }\n }\n\n /**\n * Select the correct content-type to use for a request.\n * Uses {@link Configuration#isJsonMime} to determine the correct content-type.\n * If no content type is found return the first found type if the contentTypes is not empty\n * @param contentTypes - the array of content types that are available for selection\n * @returns the selected content-type or <code>undefined</code> if no selection could be made.\n */\n public selectHeaderContentType (contentTypes: string[]): string | undefined {\n if (contentTypes.length === 0) {\n return undefined;\n }\n\n const type = contentTypes.find((x: string) => this.isJsonMime(x));\n if (type === undefined) {\n return contentTypes[0];\n }\n return type;\n }\n\n /**\n * Select the correct accept content-type to use for a request.\n * Uses {@link Configuration#isJsonMime} to determine the correct accept content-type.\n * If no content type is found return the first found type if the contentTypes is not empty\n * @param accepts - the array of content types that are available for selection.\n * @returns the selected content-type or <code>undefined</code> if no selection could be made.\n */\n public selectHeaderAccept(accepts: string[]): string | undefined {\n if (accepts.length === 0) {\n return undefined;\n }\n\n const type = accepts.find((x: string) => this.isJsonMime(x));\n if (type === undefined) {\n return accepts[0];\n }\n return type;\n }\n\n /**\n * Check if the given MIME is a JSON MIME.\n * JSON MIME examples:\n * application/json\n * application/json; charset=UTF8\n * APPLICATION/JSON\n * application/vnd.company+json\n * @param mime - MIME (Multipurpose Internet Mail Extensions)\n * @return True if the given MIME is JSON, false otherwise.\n */\n public isJsonMime(mime: string): boolean {\n const jsonMime: RegExp = new RegExp('^(application\\/json|[^;/ \\t]+\\/[^;/ \\t]+[+]json)[ \\t]*(;.*)?$', 'i');\n return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');\n }\n\n public lookupCredential(key: string): string | undefined {\n const value = this.credentials[key];\n return typeof value === 'function'\n ? value()\n : value;\n }\n}\n","/**\n * Dcm.API.Client\n * DCM API Client for Angular applications\n *\n * The version of the OpenAPI document: v1\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n/* tslint:disable:no-unused-variable member-ordering */\n\nimport { Inject, Injectable, Optional } from '@angular/core';\nimport { HttpClient, HttpHeaders, HttpParams,\n HttpResponse, HttpEvent, HttpParameterCodec, HttpContext \n } from '@angular/common/http';\nimport { CustomHttpParameterCodec } from '../encoder';\nimport { Observable } from 'rxjs';\n\n\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS } from '../variables';\nimport { Configuration } from '../configuration';\n\n\n\n@Injectable()\nexport class HealthService {\n\n protected basePath = 'http://localhost';\n public defaultHeaders = new HttpHeaders();\n public configuration = new Configuration();\n public encoder: HttpParameterCodec;\n\n constructor(protected httpClient: HttpClient, @Optional()@Inject(BASE_PATH) basePath: string, @Optional() configuration: Configuration) {\n if (configuration) {\n this.configuration = configuration;\n }\n if (typeof this.configuration.basePath !== 'string') {\n if (typeof basePath !== 'string') {\n basePath = this.basePath;\n }\n this.configuration.basePath = basePath;\n }\n this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();\n }\n\n\n // @ts-ignore\n private addToHttpParams(httpParams: HttpParams, value: any, key?: string): HttpParams {\n if (typeof value === \"object\" && value instanceof Date === false) {\n httpParams = this.addToHttpParamsRecursive(httpParams, value);\n } else {\n httpParams = this.addToHttpParamsRecursive(httpParams, value, key);\n }\n return httpParams;\n }\n\n private addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string): HttpParams {\n if (value == null) {\n return httpParams;\n }\n\n if (typeof value === \"object\") {\n if (Array.isArray(value)) {\n (value as any[]).forEach( elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));\n } else if (value instanceof Date) {\n if (key != null) {\n httpParams = httpParams.append(key, (value as Date).toISOString().substr(0, 10));\n } else {\n throw Error(\"key may not be null if value is Date\");\n }\n } else {\n Object.keys(value).forEach( k => httpParams = this.addToHttpParamsRecursive(\n httpParams, value[k], key != null ? `${key}.${k}` : k));\n }\n } else if (key != null) {\n httpParams = httpParams.append(key, value);\n } else {\n throw Error(\"key may not be null if value is not object or array\");\n }\n return httpParams;\n }\n\n /**\n * Api health check\n * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.\n * @param reportProgress flag to report request and response progress.\n */\n public getHealth(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'text/plain' | 'application/json', context?: HttpContext}): Observable<string>;\n public getHealth(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'text/plain' | 'application/json', context?: HttpContext}): Observable<HttpResponse<string>>;\n public getHealth(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'text/plain' | 'application/json', context?: HttpContext}): Observable<HttpEvent<string>>;\n public getHealth(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'text/plain' | 'application/json', context?: HttpContext}): Observable<any> {\n\n let localVarHeaders = this.defaultHeaders;\n\n let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;\n if (localVarHttpHeaderAcceptSelected === undefined) {\n // to determine the Accept header\n const httpHeaderAccepts: string[] = [\n 'text/plain',\n 'application/json'\n ];\n localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);\n }\n if (localVarHttpHeaderAcceptSelected !== undefined) {\n localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);\n }\n\n let localVarHttpContext: HttpContext | undefined = options && options.context;\n if (localVarHttpContext === undefined) {\n localVarHttpContext = new HttpContext();\n }\n\n\n let responseType_: 'text' | 'json' | 'blob' = 'json';\n if (localVarHttpHeaderAcceptSelected) {\n if (localVarHttpHeaderAcceptSelected.startsWith('text')) {\n responseType_ = 'text';\n } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {\n responseType_ = 'json';\n } else {\n responseType_ = 'blob';\n }\n }\n\n return this.httpClient.get<string>(`${this.configuration.basePath}/health`,\n {\n context: localVarHttpContext,\n responseType: <any>responseType_,\n withCredentials: this.configuration.withCredentials,\n headers: localVarHeaders,\n observe: observe,\n reportProgress: reportProgress\n }\n );\n }\n\n}\n","export * from './health.service';\nimport { HealthService } from './health.service';\nexport const APIS = [HealthService];\n","/**\n * Dcm.API.Client\n * DCM API Client for Angular applications\n *\n * The version of the OpenAPI document: v1\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\n/**\n * @type Failures\n * @export\n */\nexport type Failures = { [key: string]: Array<string>; };\n\n","import { NgModule, ModuleWithProviders, SkipSelf, Optional } from '@angular/core';\nimport { Configuration } from './configuration';\nimport { HttpClient } from '@angular/common/http';\n\nimport { HealthService } from './api/health.service';\n\n@NgModule({\n imports: [],\n declarations: [],\n exports: [],\n providers: [\n HealthService ]\n})\nexport class ApiModule {\n public static forRoot(configurationFactory: () => Configuration): ModuleWithProviders<ApiModule> {\n return {\n ngModule: ApiModule,\n providers: [ { provide: Configuration, useFactory: configurationFactory } ]\n };\n }\n\n constructor( @Optional() @SkipSelf() parentModule: ApiModule,\n @Optional() http: HttpClient) {\n if (parentModule) {\n throw new Error('ApiModule is already loaded. Import in your base AppModule only.');\n }\n if (!http) {\n throw new Error('You need to import the HttpClientModule in your AppModule! \\n' +\n 'See also https://github.com/angular/angular/issues/20575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S;YACnB,SAAS,EAAE,CAAE,EAAE,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,oBAAoB,EAAE,CAAE;SAC9E,CAAC;KACL;;AANQ,SAAA,CAAA,IAAA,GAAA,EAAA,CAAA,kBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,SAAS,kBAQiC,SAAS,EAAA,QAAA,EAAA,IAAA,EAAA,QAAA,EAAA,IAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;uGARnD,SAAS,EAAA,CAAA,CAAA;AAAT,SAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,SAAS,EAHT,SAAA,EAAA;QACT,aAAa;AAAE,KAAA,EAAA,OAAA,EAAA,CAJH,EAAE,CAAA,EAAA,CAAA,CAAA;2FAML,SAAS,EAAA,UAAA,EAAA,CAAA;kBAPrB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAO,EAAE;AAChB,oBAAA,YAAY,EAAE,EAAE;AAChB,oBAAA,OAAO,EAAO,EAAE;AAChB,oBAAA,SAAS,EAAE;wBACT,aAAa;AAAE,qBAAA;AAClB,iBAAA,CAAA;0DASsD,SAAS,EAAA,UAAA,EAAA,CAAA;0BAA9C,QAAQ;;0BAAI,QAAQ;;0BACpB,QAAQ;;;ACtB1B;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"indigina-dcm-api.mjs","sources":["../../encoder.ts","../../variables.ts","../../configuration.ts","../../api/containers.service.ts","../../api/health.service.ts","../../api/shipments.service.ts","../../api/api.ts","../../model/containersToDeliverCount.ts","../../model/failures.ts","../../model/shipmentsApprovalCount.ts","../../model/shipmentsInTransitCount.ts","../../api.module.ts","../../indigina-dcm-api.ts"],"sourcesContent":["import { HttpParameterCodec } from '@angular/common/http';\n\n/**\n * Custom HttpParameterCodec\n * Workaround for https://github.com/angular/angular/issues/18261\n */\nexport class CustomHttpParameterCodec implements HttpParameterCodec {\n encodeKey(k: string): string {\n return encodeURIComponent(k);\n }\n encodeValue(v: string): string {\n return encodeURIComponent(v);\n }\n decodeKey(k: string): string {\n return decodeURIComponent(k);\n }\n decodeValue(v: string): string {\n return decodeURIComponent(v);\n }\n}\n","import { InjectionToken } from '@angular/core';\n\nexport const BASE_PATH = new InjectionToken<string>('basePath');\nexport const COLLECTION_FORMATS = {\n 'csv': ',',\n 'tsv': ' ',\n 'ssv': ' ',\n 'pipes': '|'\n}\n","import { HttpParameterCodec } from '@angular/common/http';\nimport { Param } from './param';\n\nexport interface ConfigurationParameters {\n /**\n * @deprecated Since 5.0. Use credentials instead\n */\n apiKeys?: {[ key: string ]: string};\n username?: string;\n password?: string;\n /**\n * @deprecated Since 5.0. Use credentials instead\n */\n accessToken?: string | (() => string);\n basePath?: string;\n withCredentials?: boolean;\n /**\n * Takes care of encoding query- and form-parameters.\n */\n encoder?: HttpParameterCodec;\n /**\n * Override the default method for encoding path parameters in various\n * <a href=\"https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values\">styles</a>.\n * <p>\n * See {@link README.md} for more details\n * </p>\n */\n encodeParam?: (param: Param) => string;\n /**\n * The keys are the names in the securitySchemes section of the OpenAPI\n * document. They should map to the value used for authentication\n * minus any standard prefixes such as 'Basic' or 'Bearer'.\n */\n credentials?: {[ key: string ]: string | (() => string | undefined)};\n}\n\nexport class Configuration {\n /**\n * @deprecated Since 5.0. Use credentials instead\n */\n apiKeys?: {[ key: string ]: string};\n username?: string;\n password?: string;\n /**\n * @deprecated Since 5.0. Use credentials instead\n */\n accessToken?: string | (() => string);\n basePath?: string;\n withCredentials?: boolean;\n /**\n * Takes care of encoding query- and form-parameters.\n */\n encoder?: HttpParameterCodec;\n /**\n * Encoding of various path parameter\n * <a href=\"https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values\">styles</a>.\n * <p>\n * See {@link README.md} for more details\n * </p>\n */\n encodeParam: (param: Param) => string;\n /**\n * The keys are the names in the securitySchemes section of the OpenAPI\n * document. They should map to the value used for authentication\n * minus any standard prefixes such as 'Basic' or 'Bearer'.\n */\n credentials: {[ key: string ]: string | (() => string | undefined)};\n\n constructor(configurationParameters: ConfigurationParameters = {}) {\n this.apiKeys = configurationParameters.apiKeys;\n this.username = configurationParameters.username;\n this.password = configurationParameters.password;\n this.accessToken = configurationParameters.accessToken;\n this.basePath = configurationParameters.basePath;\n this.withCredentials = configurationParameters.withCredentials;\n this.encoder = configurationParameters.encoder;\n if (configurationParameters.encodeParam) {\n this.encodeParam = configurationParameters.encodeParam;\n }\n else {\n this.encodeParam = param => this.defaultEncodeParam(param);\n }\n if (configurationParameters.credentials) {\n this.credentials = configurationParameters.credentials;\n }\n else {\n this.credentials = {};\n }\n }\n\n /**\n * Select the correct content-type to use for a request.\n * Uses {@link Configuration#isJsonMime} to determine the correct content-type.\n * If no content type is found return the first found type if the contentTypes is not empty\n * @param contentTypes - the array of content types that are available for selection\n * @returns the selected content-type or <code>undefined</code> if no selection could be made.\n */\n public selectHeaderContentType (contentTypes: string[]): string | undefined {\n if (contentTypes.length === 0) {\n return undefined;\n }\n\n const type = contentTypes.find((x: string) => this.isJsonMime(x));\n if (type === undefined) {\n return contentTypes[0];\n }\n return type;\n }\n\n /**\n * Select the correct accept content-type to use for a request.\n * Uses {@link Configuration#isJsonMime} to determine the correct accept content-type.\n * If no content type is found return the first found type if the contentTypes is not empty\n * @param accepts - the array of content types that are available for selection.\n * @returns the selected content-type or <code>undefined</code> if no selection could be made.\n */\n public selectHeaderAccept(accepts: string[]): string | undefined {\n if (accepts.length === 0) {\n return undefined;\n }\n\n const type = accepts.find((x: string) => this.isJsonMime(x));\n if (type === undefined) {\n return accepts[0];\n }\n return type;\n }\n\n /**\n * Check if the given MIME is a JSON MIME.\n * JSON MIME examples:\n * application/json\n * application/json; charset=UTF8\n * APPLICATION/JSON\n * application/vnd.company+json\n * @param mime - MIME (Multipurpose Internet Mail Extensions)\n * @return True if the given MIME is JSON, false otherwise.\n */\n public isJsonMime(mime: string): boolean {\n const jsonMime: RegExp = new RegExp('^(application\\/json|[^;/ \\t]+\\/[^;/ \\t]+[+]json)[ \\t]*(;.*)?$', 'i');\n return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');\n }\n\n public lookupCredential(key: string): string | undefined {\n const value = this.credentials[key];\n return typeof value === 'function'\n ? value()\n : value;\n }\n\n private defaultEncodeParam(param: Param): string {\n // This implementation exists as fallback for missing configuration\n // and for backwards compatibility to older typescript-angular generator versions.\n // It only works for the 'simple' parameter style.\n // Date-handling only works for the 'date-time' format.\n // All other styles and Date-formats are probably handled incorrectly.\n //\n // But: if that's all you need (i.e.: the most common use-case): no need for customization!\n\n const value = param.dataFormat === 'date-time' && param.value instanceof Date\n ? (param.value as Date).toISOString()\n : param.value;\n\n return encodeURIComponent(String(value));\n }\n}\n","/**\n * Dcm.API.Client\n * DCM API Client for Angular applications\n *\n * The version of the OpenAPI document: v1\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n/* tslint:disable:no-unused-variable member-ordering */\n\nimport { Inject, Injectable, Optional } from '@angular/core';\nimport { HttpClient, HttpHeaders, HttpParams,\n HttpResponse, HttpEvent, HttpParameterCodec, HttpContext \n } from '@angular/common/http';\nimport { CustomHttpParameterCodec } from '../encoder';\nimport { Observable } from 'rxjs';\n\n// @ts-ignore\nimport { ContainersToDeliverCount } from '../model/containersToDeliverCount';\n\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS } from '../variables';\nimport { Configuration } from '../configuration';\n\n\n\n@Injectable()\nexport class ContainersService {\n\n protected basePath = 'http://localhost';\n public defaultHeaders = new HttpHeaders();\n public configuration = new Configuration();\n public encoder: HttpParameterCodec;\n\n constructor(protected httpClient: HttpClient, @Optional()@Inject(BASE_PATH) basePath: string|string[], @Optional() configuration: Configuration) {\n if (configuration) {\n this.configuration = configuration;\n }\n if (typeof this.configuration.basePath !== 'string') {\n if (Array.isArray(basePath) && basePath.length > 0) {\n basePath = basePath[0];\n }\n\n if (typeof basePath !== 'string') {\n basePath = this.basePath;\n }\n this.configuration.basePath = basePath;\n }\n this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();\n }\n\n\n // @ts-ignore\n private addToHttpParams(httpParams: HttpParams, value: any, key?: string): HttpParams {\n if (typeof value === \"object\" && value instanceof Date === false) {\n httpParams = this.addToHttpParamsRecursive(httpParams, value);\n } else {\n httpParams = this.addToHttpParamsRecursive(httpParams, value, key);\n }\n return httpParams;\n }\n\n private addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string): HttpParams {\n if (value == null) {\n return httpParams;\n }\n\n if (typeof value === \"object\") {\n if (Array.isArray(value)) {\n (value as any[]).forEach( elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));\n } else if (value instanceof Date) {\n if (key != null) {\n httpParams = httpParams.append(key, (value as Date).toISOString().substr(0, 10));\n } else {\n throw Error(\"key may not be null if value is Date\");\n }\n } else {\n Object.keys(value).forEach( k => httpParams = this.addToHttpParamsRecursive(\n httpParams, value[k], key != null ? `${key}.${k}` : k));\n }\n } else if (key != null) {\n httpParams = httpParams.append(key, value);\n } else {\n throw Error(\"key may not be null if value is not object or array\");\n }\n return httpParams;\n }\n\n /**\n * Containers to deliver\n * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.\n * @param reportProgress flag to report request and response progress.\n */\n public getContainersToDeliverCount(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<ContainersToDeliverCount>;\n public getContainersToDeliverCount(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<HttpResponse<ContainersToDeliverCount>>;\n public getContainersToDeliverCount(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<HttpEvent<ContainersToDeliverCount>>;\n public getContainersToDeliverCount(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<any> {\n\n let localVarHeaders = this.defaultHeaders;\n\n let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;\n if (localVarHttpHeaderAcceptSelected === undefined) {\n // to determine the Accept header\n const httpHeaderAccepts: string[] = [\n 'application/json'\n ];\n localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);\n }\n if (localVarHttpHeaderAcceptSelected !== undefined) {\n localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);\n }\n\n let localVarHttpContext: HttpContext | undefined = options && options.context;\n if (localVarHttpContext === undefined) {\n localVarHttpContext = new HttpContext();\n }\n\n\n let responseType_: 'text' | 'json' | 'blob' = 'json';\n if (localVarHttpHeaderAcceptSelected) {\n if (localVarHttpHeaderAcceptSelected.startsWith('text')) {\n responseType_ = 'text';\n } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {\n responseType_ = 'json';\n } else {\n responseType_ = 'blob';\n }\n }\n\n let localVarPath = `/containers/todeliver/count`;\n return this.httpClient.request<ContainersToDeliverCount>('get', `${this.configuration.basePath}${localVarPath}`,\n {\n context: localVarHttpContext,\n responseType: <any>responseType_,\n withCredentials: this.configuration.withCredentials,\n headers: localVarHeaders,\n observe: observe,\n reportProgress: reportProgress\n }\n );\n }\n\n}\n","/**\n * Dcm.API.Client\n * DCM API Client for Angular applications\n *\n * The version of the OpenAPI document: v1\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n/* tslint:disable:no-unused-variable member-ordering */\n\nimport { Inject, Injectable, Optional } from '@angular/core';\nimport { HttpClient, HttpHeaders, HttpParams,\n HttpResponse, HttpEvent, HttpParameterCodec, HttpContext \n } from '@angular/common/http';\nimport { CustomHttpParameterCodec } from '../encoder';\nimport { Observable } from 'rxjs';\n\n\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS } from '../variables';\nimport { Configuration } from '../configuration';\n\n\n\n@Injectable()\nexport class HealthService {\n\n protected basePath = 'http://localhost';\n public defaultHeaders = new HttpHeaders();\n public configuration = new Configuration();\n public encoder: HttpParameterCodec;\n\n constructor(protected httpClient: HttpClient, @Optional()@Inject(BASE_PATH) basePath: string|string[], @Optional() configuration: Configuration) {\n if (configuration) {\n this.configuration = configuration;\n }\n if (typeof this.configuration.basePath !== 'string') {\n if (Array.isArray(basePath) && basePath.length > 0) {\n basePath = basePath[0];\n }\n\n if (typeof basePath !== 'string') {\n basePath = this.basePath;\n }\n this.configuration.basePath = basePath;\n }\n this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();\n }\n\n\n // @ts-ignore\n private addToHttpParams(httpParams: HttpParams, value: any, key?: string): HttpParams {\n if (typeof value === \"object\" && value instanceof Date === false) {\n httpParams = this.addToHttpParamsRecursive(httpParams, value);\n } else {\n httpParams = this.addToHttpParamsRecursive(httpParams, value, key);\n }\n return httpParams;\n }\n\n private addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string): HttpParams {\n if (value == null) {\n return httpParams;\n }\n\n if (typeof value === \"object\") {\n if (Array.isArray(value)) {\n (value as any[]).forEach( elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));\n } else if (value instanceof Date) {\n if (key != null) {\n httpParams = httpParams.append(key, (value as Date).toISOString().substr(0, 10));\n } else {\n throw Error(\"key may not be null if value is Date\");\n }\n } else {\n Object.keys(value).forEach( k => httpParams = this.addToHttpParamsRecursive(\n httpParams, value[k], key != null ? `${key}.${k}` : k));\n }\n } else if (key != null) {\n httpParams = httpParams.append(key, value);\n } else {\n throw Error(\"key may not be null if value is not object or array\");\n }\n return httpParams;\n }\n\n /**\n * Api health check\n * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.\n * @param reportProgress flag to report request and response progress.\n */\n public getHealth(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'text/plain' | 'application/json', context?: HttpContext}): Observable<string>;\n public getHealth(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'text/plain' | 'application/json', context?: HttpContext}): Observable<HttpResponse<string>>;\n public getHealth(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'text/plain' | 'application/json', context?: HttpContext}): Observable<HttpEvent<string>>;\n public getHealth(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'text/plain' | 'application/json', context?: HttpContext}): Observable<any> {\n\n let localVarHeaders = this.defaultHeaders;\n\n let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;\n if (localVarHttpHeaderAcceptSelected === undefined) {\n // to determine the Accept header\n const httpHeaderAccepts: string[] = [\n 'text/plain',\n 'application/json'\n ];\n localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);\n }\n if (localVarHttpHeaderAcceptSelected !== undefined) {\n localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);\n }\n\n let localVarHttpContext: HttpContext | undefined = options && options.context;\n if (localVarHttpContext === undefined) {\n localVarHttpContext = new HttpContext();\n }\n\n\n let responseType_: 'text' | 'json' | 'blob' = 'json';\n if (localVarHttpHeaderAcceptSelected) {\n if (localVarHttpHeaderAcceptSelected.startsWith('text')) {\n responseType_ = 'text';\n } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {\n responseType_ = 'json';\n } else {\n responseType_ = 'blob';\n }\n }\n\n let localVarPath = `/health`;\n return this.httpClient.request<string>('get', `${this.configuration.basePath}${localVarPath}`,\n {\n context: localVarHttpContext,\n responseType: <any>responseType_,\n withCredentials: this.configuration.withCredentials,\n headers: localVarHeaders,\n observe: observe,\n reportProgress: reportProgress\n }\n );\n }\n\n}\n","/**\n * Dcm.API.Client\n * DCM API Client for Angular applications\n *\n * The version of the OpenAPI document: v1\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n/* tslint:disable:no-unused-variable member-ordering */\n\nimport { Inject, Injectable, Optional } from '@angular/core';\nimport { HttpClient, HttpHeaders, HttpParams,\n HttpResponse, HttpEvent, HttpParameterCodec, HttpContext \n } from '@angular/common/http';\nimport { CustomHttpParameterCodec } from '../encoder';\nimport { Observable } from 'rxjs';\n\n// @ts-ignore\nimport { ShipmentsApprovalCount } from '../model/shipmentsApprovalCount';\n// @ts-ignore\nimport { ShipmentsInTransitCount } from '../model/shipmentsInTransitCount';\n\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS } from '../variables';\nimport { Configuration } from '../configuration';\n\n\n\n@Injectable()\nexport class ShipmentsService {\n\n protected basePath = 'http://localhost';\n public defaultHeaders = new HttpHeaders();\n public configuration = new Configuration();\n public encoder: HttpParameterCodec;\n\n constructor(protected httpClient: HttpClient, @Optional()@Inject(BASE_PATH) basePath: string|string[], @Optional() configuration: Configuration) {\n if (configuration) {\n this.configuration = configuration;\n }\n if (typeof this.configuration.basePath !== 'string') {\n if (Array.isArray(basePath) && basePath.length > 0) {\n basePath = basePath[0];\n }\n\n if (typeof basePath !== 'string') {\n basePath = this.basePath;\n }\n this.configuration.basePath = basePath;\n }\n this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();\n }\n\n\n // @ts-ignore\n private addToHttpParams(httpParams: HttpParams, value: any, key?: string): HttpParams {\n if (typeof value === \"object\" && value instanceof Date === false) {\n httpParams = this.addToHttpParamsRecursive(httpParams, value);\n } else {\n httpParams = this.addToHttpParamsRecursive(httpParams, value, key);\n }\n return httpParams;\n }\n\n private addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string): HttpParams {\n if (value == null) {\n return httpParams;\n }\n\n if (typeof value === \"object\") {\n if (Array.isArray(value)) {\n (value as any[]).forEach( elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));\n } else if (value instanceof Date) {\n if (key != null) {\n httpParams = httpParams.append(key, (value as Date).toISOString().substr(0, 10));\n } else {\n throw Error(\"key may not be null if value is Date\");\n }\n } else {\n Object.keys(value).forEach( k => httpParams = this.addToHttpParamsRecursive(\n httpParams, value[k], key != null ? `${key}.${k}` : k));\n }\n } else if (key != null) {\n httpParams = httpParams.append(key, value);\n } else {\n throw Error(\"key may not be null if value is not object or array\");\n }\n return httpParams;\n }\n\n /**\n * Approval waiting shipments\n * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.\n * @param reportProgress flag to report request and response progress.\n */\n public getShipmentsApprovalCount(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<ShipmentsApprovalCount>;\n public getShipmentsApprovalCount(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<HttpResponse<ShipmentsApprovalCount>>;\n public getShipmentsApprovalCount(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<HttpEvent<ShipmentsApprovalCount>>;\n public getShipmentsApprovalCount(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<any> {\n\n let localVarHeaders = this.defaultHeaders;\n\n let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;\n if (localVarHttpHeaderAcceptSelected === undefined) {\n // to determine the Accept header\n const httpHeaderAccepts: string[] = [\n 'application/json'\n ];\n localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);\n }\n if (localVarHttpHeaderAcceptSelected !== undefined) {\n localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);\n }\n\n let localVarHttpContext: HttpContext | undefined = options && options.context;\n if (localVarHttpContext === undefined) {\n localVarHttpContext = new HttpContext();\n }\n\n\n let responseType_: 'text' | 'json' | 'blob' = 'json';\n if (localVarHttpHeaderAcceptSelected) {\n if (localVarHttpHeaderAcceptSelected.startsWith('text')) {\n responseType_ = 'text';\n } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {\n responseType_ = 'json';\n } else {\n responseType_ = 'blob';\n }\n }\n\n let localVarPath = `/shipments/approvals/count`;\n return this.httpClient.request<ShipmentsApprovalCount>('get', `${this.configuration.basePath}${localVarPath}`,\n {\n context: localVarHttpContext,\n responseType: <any>responseType_,\n withCredentials: this.configuration.withCredentials,\n headers: localVarHeaders,\n observe: observe,\n reportProgress: reportProgress\n }\n );\n }\n\n /**\n * In transit shipments\n * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.\n * @param reportProgress flag to report request and response progress.\n */\n public getShipmentsInTransitCount(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<ShipmentsInTransitCount>;\n public getShipmentsInTransitCount(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<HttpResponse<ShipmentsInTransitCount>>;\n public getShipmentsInTransitCount(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<HttpEvent<ShipmentsInTransitCount>>;\n public getShipmentsInTransitCount(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<any> {\n\n let localVarHeaders = this.defaultHeaders;\n\n let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;\n if (localVarHttpHeaderAcceptSelected === undefined) {\n // to determine the Accept header\n const httpHeaderAccepts: string[] = [\n 'application/json'\n ];\n localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);\n }\n if (localVarHttpHeaderAcceptSelected !== undefined) {\n localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);\n }\n\n let localVarHttpContext: HttpContext | undefined = options && options.context;\n if (localVarHttpContext === undefined) {\n localVarHttpContext = new HttpContext();\n }\n\n\n let responseType_: 'text' | 'json' | 'blob' = 'json';\n if (localVarHttpHeaderAcceptSelected) {\n if (localVarHttpHeaderAcceptSelected.startsWith('text')) {\n responseType_ = 'text';\n } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {\n responseType_ = 'json';\n } else {\n responseType_ = 'blob';\n }\n }\n\n let localVarPath = `/shipments/intransit/count`;\n return this.httpClient.request<ShipmentsInTransitCount>('get', `${this.configuration.basePath}${localVarPath}`,\n {\n context: localVarHttpContext,\n responseType: <any>responseType_,\n withCredentials: this.configuration.withCredentials,\n headers: localVarHeaders,\n observe: observe,\n reportProgress: reportProgress\n }\n );\n }\n\n}\n","export * from './containers.service';\nimport { ContainersService } from './containers.service';\nexport * from './health.service';\nimport { HealthService } from './health.service';\nexport * from './shipments.service';\nimport { ShipmentsService } from './shipments.service';\nexport const APIS = [ContainersService, HealthService, ShipmentsService];\n","/**\n * Dcm.API.Client\n * DCM API Client for Angular applications\n *\n * The version of the OpenAPI document: v1\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nexport interface ContainersToDeliverCount { \n containersCount: number;\n containersToRescheduleCount: number;\n plannedDeliveriesCount: number;\n}\n\n","/**\n * Dcm.API.Client\n * DCM API Client for Angular applications\n *\n * The version of the OpenAPI document: v1\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\n/**\n * @type Failures\n * @export\n */\nexport type Failures = { [key: string]: Array<string>; };\n\n","/**\n * Dcm.API.Client\n * DCM API Client for Angular applications\n *\n * The version of the OpenAPI document: v1\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nexport interface ShipmentsApprovalCount { \n shipmentsCount: number;\n autoApprovedShipmentsCount: number;\n}\n\n","/**\n * Dcm.API.Client\n * DCM API Client for Angular applications\n *\n * The version of the OpenAPI document: v1\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nexport interface ShipmentsInTransitCount { \n shipmentsCount: number;\n}\n\n","import { NgModule, ModuleWithProviders, SkipSelf, Optional } from '@angular/core';\nimport { Configuration } from './configuration';\nimport { HttpClient } from '@angular/common/http';\n\nimport { ContainersService } from './api/containers.service';\nimport { HealthService } from './api/health.service';\nimport { ShipmentsService } from './api/shipments.service';\n\n@NgModule({\n imports: [],\n declarations: [],\n exports: [],\n providers: [\n ContainersService,\n HealthService,\n ShipmentsService ]\n})\nexport class ApiModule {\n public static forRoot(configurationFactory: () => Configuration): ModuleWithProviders<ApiModule> {\n return {\n ngModule: ApiModule,\n providers: [ { provide: Configuration, useFactory: configurationFactory } ]\n };\n }\n\n constructor( @Optional() @SkipSelf() parentModule: ApiModule,\n @Optional() http: HttpClient) {\n if (parentModule) {\n throw new Error('ApiModule is already loaded. Import in your base AppModule only.');\n }\n if (!http) {\n throw new Error('You need to import the HttpClientModule in your AppModule! \\n' +\n 'See also https://github.com/angular/angular/issues/20575');\n }\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i2.Configuration"],"mappings":";;;;;AAEA;;;AAGG;MACU,wBAAwB,CAAA;AACjC,IAAA,SAAS,CAAC,CAAS,EAAA;AACf,QAAA,OAAO,kBAAkB,CAAC,CAAC,CAAC,CAAC;KAChC;AACD,IAAA,WAAW,CAAC,CAAS,EAAA;AACjB,QA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API Client for Angular applications
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export interface ContainersToDeliverCount {
|
|
13
|
+
containersCount: number;
|
|
14
|
+
containersToRescheduleCount: number;
|
|
15
|
+
plannedDeliveriesCount: number;
|
|
16
|
+
}
|