@indigina/dcm-api 0.0.21 → 0.0.22
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 +2 -2
- package/api/bookings.service.d.ts +0 -120
- package/api/containers.service.d.ts +121 -0
- package/esm2022/api/bookings.service.mjs +1 -265
- package/esm2022/api/containers.service.mjs +265 -1
- package/esm2022/model/containersCount.mjs +12 -0
- package/esm2022/model/models.mjs +2 -1
- package/fesm2022/indigina-dcm-api.mjs +116 -105
- package/fesm2022/indigina-dcm-api.mjs.map +1 -1
- package/model/containersCount.d.ts +13 -0
- package/model/models.d.ts +1 -0
- package/package.json +1 -1
|
@@ -223,7 +223,7 @@ class BookingsService {
|
|
|
223
223
|
}
|
|
224
224
|
return httpParams;
|
|
225
225
|
}
|
|
226
|
-
|
|
226
|
+
getVendorDraftBookingsCount(observe = 'body', reportProgress = false, options) {
|
|
227
227
|
let localVarHeaders = this.defaultHeaders;
|
|
228
228
|
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
229
229
|
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
@@ -256,7 +256,7 @@ class BookingsService {
|
|
|
256
256
|
responseType_ = 'blob';
|
|
257
257
|
}
|
|
258
258
|
}
|
|
259
|
-
let localVarPath = `/bookings/
|
|
259
|
+
let localVarPath = `/bookings/vendorDrafts/count`;
|
|
260
260
|
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
261
261
|
context: localVarHttpContext,
|
|
262
262
|
responseType: responseType_,
|
|
@@ -267,7 +267,96 @@ class BookingsService {
|
|
|
267
267
|
reportProgress: reportProgress
|
|
268
268
|
});
|
|
269
269
|
}
|
|
270
|
-
|
|
270
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: BookingsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
271
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: BookingsService, providedIn: 'root' });
|
|
272
|
+
}
|
|
273
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: BookingsService, decorators: [{
|
|
274
|
+
type: Injectable,
|
|
275
|
+
args: [{
|
|
276
|
+
providedIn: 'root'
|
|
277
|
+
}]
|
|
278
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
279
|
+
type: Optional
|
|
280
|
+
}, {
|
|
281
|
+
type: Inject,
|
|
282
|
+
args: [BASE_PATH]
|
|
283
|
+
}] }, { type: Configuration, decorators: [{
|
|
284
|
+
type: Optional
|
|
285
|
+
}] }] });
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* Dcm.API.Client
|
|
289
|
+
* DCM API Client for Angular applications
|
|
290
|
+
*
|
|
291
|
+
*
|
|
292
|
+
*
|
|
293
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
294
|
+
* https://openapi-generator.tech
|
|
295
|
+
* Do not edit the class manually.
|
|
296
|
+
*/
|
|
297
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
298
|
+
class ContainersService {
|
|
299
|
+
httpClient;
|
|
300
|
+
basePath = 'http://localhost';
|
|
301
|
+
defaultHeaders = new HttpHeaders();
|
|
302
|
+
configuration = new Configuration();
|
|
303
|
+
encoder;
|
|
304
|
+
constructor(httpClient, basePath, configuration) {
|
|
305
|
+
this.httpClient = httpClient;
|
|
306
|
+
if (configuration) {
|
|
307
|
+
this.configuration = configuration;
|
|
308
|
+
}
|
|
309
|
+
if (typeof this.configuration.basePath !== 'string') {
|
|
310
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
311
|
+
if (firstBasePath != undefined) {
|
|
312
|
+
basePath = firstBasePath;
|
|
313
|
+
}
|
|
314
|
+
if (typeof basePath !== 'string') {
|
|
315
|
+
basePath = this.basePath;
|
|
316
|
+
}
|
|
317
|
+
this.configuration.basePath = basePath;
|
|
318
|
+
}
|
|
319
|
+
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
320
|
+
}
|
|
321
|
+
// @ts-ignore
|
|
322
|
+
addToHttpParams(httpParams, value, key) {
|
|
323
|
+
if (typeof value === "object" && value instanceof Date === false) {
|
|
324
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
325
|
+
}
|
|
326
|
+
else {
|
|
327
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
|
|
328
|
+
}
|
|
329
|
+
return httpParams;
|
|
330
|
+
}
|
|
331
|
+
addToHttpParamsRecursive(httpParams, value, key) {
|
|
332
|
+
if (value == null) {
|
|
333
|
+
return httpParams;
|
|
334
|
+
}
|
|
335
|
+
if (typeof value === "object") {
|
|
336
|
+
if (Array.isArray(value)) {
|
|
337
|
+
value.forEach(elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
|
|
338
|
+
}
|
|
339
|
+
else if (value instanceof Date) {
|
|
340
|
+
if (key != null) {
|
|
341
|
+
httpParams = httpParams.append(key, value.toISOString().substring(0, 10));
|
|
342
|
+
}
|
|
343
|
+
else {
|
|
344
|
+
throw Error("key may not be null if value is Date");
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
else {
|
|
348
|
+
Object.keys(value).forEach(k => httpParams = this.addToHttpParamsRecursive(httpParams, value[k], key != null ? `${key}.${k}` : k));
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
else if (key != null) {
|
|
352
|
+
httpParams = httpParams.append(key, value);
|
|
353
|
+
}
|
|
354
|
+
else {
|
|
355
|
+
throw Error("key may not be null if value is not object or array");
|
|
356
|
+
}
|
|
357
|
+
return httpParams;
|
|
358
|
+
}
|
|
359
|
+
getContainersToDeliverCount(observe = 'body', reportProgress = false, options) {
|
|
271
360
|
let localVarHeaders = this.defaultHeaders;
|
|
272
361
|
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
273
362
|
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
@@ -300,7 +389,7 @@ class BookingsService {
|
|
|
300
389
|
responseType_ = 'blob';
|
|
301
390
|
}
|
|
302
391
|
}
|
|
303
|
-
let localVarPath = `/
|
|
392
|
+
let localVarPath = `/containers/todeliver/count`;
|
|
304
393
|
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
305
394
|
context: localVarHttpContext,
|
|
306
395
|
responseType: responseType_,
|
|
@@ -311,7 +400,7 @@ class BookingsService {
|
|
|
311
400
|
reportProgress: reportProgress
|
|
312
401
|
});
|
|
313
402
|
}
|
|
314
|
-
|
|
403
|
+
getDeliveriesRequireAmendConfirmationCount(observe = 'body', reportProgress = false, options) {
|
|
315
404
|
let localVarHeaders = this.defaultHeaders;
|
|
316
405
|
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
317
406
|
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
@@ -344,7 +433,7 @@ class BookingsService {
|
|
|
344
433
|
responseType_ = 'blob';
|
|
345
434
|
}
|
|
346
435
|
}
|
|
347
|
-
let localVarPath = `/
|
|
436
|
+
let localVarPath = `/containers/deliveriesRequireAmendConfirmation/count`;
|
|
348
437
|
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
349
438
|
context: localVarHttpContext,
|
|
350
439
|
responseType: responseType_,
|
|
@@ -355,7 +444,7 @@ class BookingsService {
|
|
|
355
444
|
reportProgress: reportProgress
|
|
356
445
|
});
|
|
357
446
|
}
|
|
358
|
-
|
|
447
|
+
getDeliveriesRequireCancelConfirmationCount(observe = 'body', reportProgress = false, options) {
|
|
359
448
|
let localVarHeaders = this.defaultHeaders;
|
|
360
449
|
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
361
450
|
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
@@ -388,7 +477,7 @@ class BookingsService {
|
|
|
388
477
|
responseType_ = 'blob';
|
|
389
478
|
}
|
|
390
479
|
}
|
|
391
|
-
let localVarPath = `/
|
|
480
|
+
let localVarPath = `/containers/deliveriesRequireCancelConfirmation/count`;
|
|
392
481
|
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
393
482
|
context: localVarHttpContext,
|
|
394
483
|
responseType: responseType_,
|
|
@@ -399,7 +488,7 @@ class BookingsService {
|
|
|
399
488
|
reportProgress: reportProgress
|
|
400
489
|
});
|
|
401
490
|
}
|
|
402
|
-
|
|
491
|
+
getDeliveriesRequireConfirmationCount(observe = 'body', reportProgress = false, options) {
|
|
403
492
|
let localVarHeaders = this.defaultHeaders;
|
|
404
493
|
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
405
494
|
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
@@ -432,7 +521,7 @@ class BookingsService {
|
|
|
432
521
|
responseType_ = 'blob';
|
|
433
522
|
}
|
|
434
523
|
}
|
|
435
|
-
let localVarPath = `/
|
|
524
|
+
let localVarPath = `/containers/deliveriesRequireConfirmation/count`;
|
|
436
525
|
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
437
526
|
context: localVarHttpContext,
|
|
438
527
|
responseType: responseType_,
|
|
@@ -443,7 +532,7 @@ class BookingsService {
|
|
|
443
532
|
reportProgress: reportProgress
|
|
444
533
|
});
|
|
445
534
|
}
|
|
446
|
-
|
|
535
|
+
getDeliveriesToBookCount(observe = 'body', reportProgress = false, options) {
|
|
447
536
|
let localVarHeaders = this.defaultHeaders;
|
|
448
537
|
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
449
538
|
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
@@ -476,7 +565,7 @@ class BookingsService {
|
|
|
476
565
|
responseType_ = 'blob';
|
|
477
566
|
}
|
|
478
567
|
}
|
|
479
|
-
let localVarPath = `/
|
|
568
|
+
let localVarPath = `/containers/deliveriesToBook/count`;
|
|
480
569
|
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
481
570
|
context: localVarHttpContext,
|
|
482
571
|
responseType: responseType_,
|
|
@@ -487,7 +576,7 @@ class BookingsService {
|
|
|
487
576
|
reportProgress: reportProgress
|
|
488
577
|
});
|
|
489
578
|
}
|
|
490
|
-
|
|
579
|
+
getDeliveriesToRescheduleCount(observe = 'body', reportProgress = false, options) {
|
|
491
580
|
let localVarHeaders = this.defaultHeaders;
|
|
492
581
|
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
493
582
|
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
@@ -520,7 +609,7 @@ class BookingsService {
|
|
|
520
609
|
responseType_ = 'blob';
|
|
521
610
|
}
|
|
522
611
|
}
|
|
523
|
-
let localVarPath = `/
|
|
612
|
+
let localVarPath = `/containers/deliveriesToReschedule/count`;
|
|
524
613
|
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
525
614
|
context: localVarHttpContext,
|
|
526
615
|
responseType: responseType_,
|
|
@@ -531,96 +620,7 @@ class BookingsService {
|
|
|
531
620
|
reportProgress: reportProgress
|
|
532
621
|
});
|
|
533
622
|
}
|
|
534
|
-
|
|
535
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: BookingsService, providedIn: 'root' });
|
|
536
|
-
}
|
|
537
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: BookingsService, decorators: [{
|
|
538
|
-
type: Injectable,
|
|
539
|
-
args: [{
|
|
540
|
-
providedIn: 'root'
|
|
541
|
-
}]
|
|
542
|
-
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
543
|
-
type: Optional
|
|
544
|
-
}, {
|
|
545
|
-
type: Inject,
|
|
546
|
-
args: [BASE_PATH]
|
|
547
|
-
}] }, { type: Configuration, decorators: [{
|
|
548
|
-
type: Optional
|
|
549
|
-
}] }] });
|
|
550
|
-
|
|
551
|
-
/**
|
|
552
|
-
* Dcm.API.Client
|
|
553
|
-
* DCM API Client for Angular applications
|
|
554
|
-
*
|
|
555
|
-
*
|
|
556
|
-
*
|
|
557
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
558
|
-
* https://openapi-generator.tech
|
|
559
|
-
* Do not edit the class manually.
|
|
560
|
-
*/
|
|
561
|
-
/* tslint:disable:no-unused-variable member-ordering */
|
|
562
|
-
class ContainersService {
|
|
563
|
-
httpClient;
|
|
564
|
-
basePath = 'http://localhost';
|
|
565
|
-
defaultHeaders = new HttpHeaders();
|
|
566
|
-
configuration = new Configuration();
|
|
567
|
-
encoder;
|
|
568
|
-
constructor(httpClient, basePath, configuration) {
|
|
569
|
-
this.httpClient = httpClient;
|
|
570
|
-
if (configuration) {
|
|
571
|
-
this.configuration = configuration;
|
|
572
|
-
}
|
|
573
|
-
if (typeof this.configuration.basePath !== 'string') {
|
|
574
|
-
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
575
|
-
if (firstBasePath != undefined) {
|
|
576
|
-
basePath = firstBasePath;
|
|
577
|
-
}
|
|
578
|
-
if (typeof basePath !== 'string') {
|
|
579
|
-
basePath = this.basePath;
|
|
580
|
-
}
|
|
581
|
-
this.configuration.basePath = basePath;
|
|
582
|
-
}
|
|
583
|
-
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
584
|
-
}
|
|
585
|
-
// @ts-ignore
|
|
586
|
-
addToHttpParams(httpParams, value, key) {
|
|
587
|
-
if (typeof value === "object" && value instanceof Date === false) {
|
|
588
|
-
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
589
|
-
}
|
|
590
|
-
else {
|
|
591
|
-
httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
|
|
592
|
-
}
|
|
593
|
-
return httpParams;
|
|
594
|
-
}
|
|
595
|
-
addToHttpParamsRecursive(httpParams, value, key) {
|
|
596
|
-
if (value == null) {
|
|
597
|
-
return httpParams;
|
|
598
|
-
}
|
|
599
|
-
if (typeof value === "object") {
|
|
600
|
-
if (Array.isArray(value)) {
|
|
601
|
-
value.forEach(elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
|
|
602
|
-
}
|
|
603
|
-
else if (value instanceof Date) {
|
|
604
|
-
if (key != null) {
|
|
605
|
-
httpParams = httpParams.append(key, value.toISOString().substring(0, 10));
|
|
606
|
-
}
|
|
607
|
-
else {
|
|
608
|
-
throw Error("key may not be null if value is Date");
|
|
609
|
-
}
|
|
610
|
-
}
|
|
611
|
-
else {
|
|
612
|
-
Object.keys(value).forEach(k => httpParams = this.addToHttpParamsRecursive(httpParams, value[k], key != null ? `${key}.${k}` : k));
|
|
613
|
-
}
|
|
614
|
-
}
|
|
615
|
-
else if (key != null) {
|
|
616
|
-
httpParams = httpParams.append(key, value);
|
|
617
|
-
}
|
|
618
|
-
else {
|
|
619
|
-
throw Error("key may not be null if value is not object or array");
|
|
620
|
-
}
|
|
621
|
-
return httpParams;
|
|
622
|
-
}
|
|
623
|
-
getContainersToDeliverCount(observe = 'body', reportProgress = false, options) {
|
|
623
|
+
getPlannedDeliveriesAndPodCount(observe = 'body', reportProgress = false, options) {
|
|
624
624
|
let localVarHeaders = this.defaultHeaders;
|
|
625
625
|
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
626
626
|
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
@@ -653,7 +653,7 @@ class ContainersService {
|
|
|
653
653
|
responseType_ = 'blob';
|
|
654
654
|
}
|
|
655
655
|
}
|
|
656
|
-
let localVarPath = `/containers/
|
|
656
|
+
let localVarPath = `/containers/plannedDeliveriesAndPod/count`;
|
|
657
657
|
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
658
658
|
context: localVarHttpContext,
|
|
659
659
|
responseType: responseType_,
|
|
@@ -1931,6 +1931,17 @@ const APIS = [BookingsService, ContainersService, HealthService, PermissionsServ
|
|
|
1931
1931
|
* Do not edit the class manually.
|
|
1932
1932
|
*/
|
|
1933
1933
|
|
|
1934
|
+
/**
|
|
1935
|
+
* Dcm.API.Client
|
|
1936
|
+
* DCM API Client for Angular applications
|
|
1937
|
+
*
|
|
1938
|
+
*
|
|
1939
|
+
*
|
|
1940
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1941
|
+
* https://openapi-generator.tech
|
|
1942
|
+
* Do not edit the class manually.
|
|
1943
|
+
*/
|
|
1944
|
+
|
|
1934
1945
|
/**
|
|
1935
1946
|
* Dcm.API.Client
|
|
1936
1947
|
* DCM API Client for Angular applications
|