@indigina/dcm-api 0.0.20 → 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/containers.service.d.ts +121 -0
- 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 +275 -0
- 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
|
@@ -400,6 +400,270 @@ class ContainersService {
|
|
|
400
400
|
reportProgress: reportProgress
|
|
401
401
|
});
|
|
402
402
|
}
|
|
403
|
+
getDeliveriesRequireAmendConfirmationCount(observe = 'body', reportProgress = false, options) {
|
|
404
|
+
let localVarHeaders = this.defaultHeaders;
|
|
405
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
406
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
407
|
+
// to determine the Accept header
|
|
408
|
+
const httpHeaderAccepts = [
|
|
409
|
+
'application/json'
|
|
410
|
+
];
|
|
411
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
412
|
+
}
|
|
413
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
414
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
415
|
+
}
|
|
416
|
+
let localVarHttpContext = options && options.context;
|
|
417
|
+
if (localVarHttpContext === undefined) {
|
|
418
|
+
localVarHttpContext = new HttpContext();
|
|
419
|
+
}
|
|
420
|
+
let localVarTransferCache = options && options.transferCache;
|
|
421
|
+
if (localVarTransferCache === undefined) {
|
|
422
|
+
localVarTransferCache = true;
|
|
423
|
+
}
|
|
424
|
+
let responseType_ = 'json';
|
|
425
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
426
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
427
|
+
responseType_ = 'text';
|
|
428
|
+
}
|
|
429
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
430
|
+
responseType_ = 'json';
|
|
431
|
+
}
|
|
432
|
+
else {
|
|
433
|
+
responseType_ = 'blob';
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
let localVarPath = `/containers/deliveriesRequireAmendConfirmation/count`;
|
|
437
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
438
|
+
context: localVarHttpContext,
|
|
439
|
+
responseType: responseType_,
|
|
440
|
+
withCredentials: this.configuration.withCredentials,
|
|
441
|
+
headers: localVarHeaders,
|
|
442
|
+
observe: observe,
|
|
443
|
+
transferCache: localVarTransferCache,
|
|
444
|
+
reportProgress: reportProgress
|
|
445
|
+
});
|
|
446
|
+
}
|
|
447
|
+
getDeliveriesRequireCancelConfirmationCount(observe = 'body', reportProgress = false, options) {
|
|
448
|
+
let localVarHeaders = this.defaultHeaders;
|
|
449
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
450
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
451
|
+
// to determine the Accept header
|
|
452
|
+
const httpHeaderAccepts = [
|
|
453
|
+
'application/json'
|
|
454
|
+
];
|
|
455
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
456
|
+
}
|
|
457
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
458
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
459
|
+
}
|
|
460
|
+
let localVarHttpContext = options && options.context;
|
|
461
|
+
if (localVarHttpContext === undefined) {
|
|
462
|
+
localVarHttpContext = new HttpContext();
|
|
463
|
+
}
|
|
464
|
+
let localVarTransferCache = options && options.transferCache;
|
|
465
|
+
if (localVarTransferCache === undefined) {
|
|
466
|
+
localVarTransferCache = true;
|
|
467
|
+
}
|
|
468
|
+
let responseType_ = 'json';
|
|
469
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
470
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
471
|
+
responseType_ = 'text';
|
|
472
|
+
}
|
|
473
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
474
|
+
responseType_ = 'json';
|
|
475
|
+
}
|
|
476
|
+
else {
|
|
477
|
+
responseType_ = 'blob';
|
|
478
|
+
}
|
|
479
|
+
}
|
|
480
|
+
let localVarPath = `/containers/deliveriesRequireCancelConfirmation/count`;
|
|
481
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
482
|
+
context: localVarHttpContext,
|
|
483
|
+
responseType: responseType_,
|
|
484
|
+
withCredentials: this.configuration.withCredentials,
|
|
485
|
+
headers: localVarHeaders,
|
|
486
|
+
observe: observe,
|
|
487
|
+
transferCache: localVarTransferCache,
|
|
488
|
+
reportProgress: reportProgress
|
|
489
|
+
});
|
|
490
|
+
}
|
|
491
|
+
getDeliveriesRequireConfirmationCount(observe = 'body', reportProgress = false, options) {
|
|
492
|
+
let localVarHeaders = this.defaultHeaders;
|
|
493
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
494
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
495
|
+
// to determine the Accept header
|
|
496
|
+
const httpHeaderAccepts = [
|
|
497
|
+
'application/json'
|
|
498
|
+
];
|
|
499
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
500
|
+
}
|
|
501
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
502
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
503
|
+
}
|
|
504
|
+
let localVarHttpContext = options && options.context;
|
|
505
|
+
if (localVarHttpContext === undefined) {
|
|
506
|
+
localVarHttpContext = new HttpContext();
|
|
507
|
+
}
|
|
508
|
+
let localVarTransferCache = options && options.transferCache;
|
|
509
|
+
if (localVarTransferCache === undefined) {
|
|
510
|
+
localVarTransferCache = true;
|
|
511
|
+
}
|
|
512
|
+
let responseType_ = 'json';
|
|
513
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
514
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
515
|
+
responseType_ = 'text';
|
|
516
|
+
}
|
|
517
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
518
|
+
responseType_ = 'json';
|
|
519
|
+
}
|
|
520
|
+
else {
|
|
521
|
+
responseType_ = 'blob';
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
let localVarPath = `/containers/deliveriesRequireConfirmation/count`;
|
|
525
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
526
|
+
context: localVarHttpContext,
|
|
527
|
+
responseType: responseType_,
|
|
528
|
+
withCredentials: this.configuration.withCredentials,
|
|
529
|
+
headers: localVarHeaders,
|
|
530
|
+
observe: observe,
|
|
531
|
+
transferCache: localVarTransferCache,
|
|
532
|
+
reportProgress: reportProgress
|
|
533
|
+
});
|
|
534
|
+
}
|
|
535
|
+
getDeliveriesToBookCount(observe = 'body', reportProgress = false, options) {
|
|
536
|
+
let localVarHeaders = this.defaultHeaders;
|
|
537
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
538
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
539
|
+
// to determine the Accept header
|
|
540
|
+
const httpHeaderAccepts = [
|
|
541
|
+
'application/json'
|
|
542
|
+
];
|
|
543
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
544
|
+
}
|
|
545
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
546
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
547
|
+
}
|
|
548
|
+
let localVarHttpContext = options && options.context;
|
|
549
|
+
if (localVarHttpContext === undefined) {
|
|
550
|
+
localVarHttpContext = new HttpContext();
|
|
551
|
+
}
|
|
552
|
+
let localVarTransferCache = options && options.transferCache;
|
|
553
|
+
if (localVarTransferCache === undefined) {
|
|
554
|
+
localVarTransferCache = true;
|
|
555
|
+
}
|
|
556
|
+
let responseType_ = 'json';
|
|
557
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
558
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
559
|
+
responseType_ = 'text';
|
|
560
|
+
}
|
|
561
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
562
|
+
responseType_ = 'json';
|
|
563
|
+
}
|
|
564
|
+
else {
|
|
565
|
+
responseType_ = 'blob';
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
let localVarPath = `/containers/deliveriesToBook/count`;
|
|
569
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
570
|
+
context: localVarHttpContext,
|
|
571
|
+
responseType: responseType_,
|
|
572
|
+
withCredentials: this.configuration.withCredentials,
|
|
573
|
+
headers: localVarHeaders,
|
|
574
|
+
observe: observe,
|
|
575
|
+
transferCache: localVarTransferCache,
|
|
576
|
+
reportProgress: reportProgress
|
|
577
|
+
});
|
|
578
|
+
}
|
|
579
|
+
getDeliveriesToRescheduleCount(observe = 'body', reportProgress = false, options) {
|
|
580
|
+
let localVarHeaders = this.defaultHeaders;
|
|
581
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
582
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
583
|
+
// to determine the Accept header
|
|
584
|
+
const httpHeaderAccepts = [
|
|
585
|
+
'application/json'
|
|
586
|
+
];
|
|
587
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
588
|
+
}
|
|
589
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
590
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
591
|
+
}
|
|
592
|
+
let localVarHttpContext = options && options.context;
|
|
593
|
+
if (localVarHttpContext === undefined) {
|
|
594
|
+
localVarHttpContext = new HttpContext();
|
|
595
|
+
}
|
|
596
|
+
let localVarTransferCache = options && options.transferCache;
|
|
597
|
+
if (localVarTransferCache === undefined) {
|
|
598
|
+
localVarTransferCache = true;
|
|
599
|
+
}
|
|
600
|
+
let responseType_ = 'json';
|
|
601
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
602
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
603
|
+
responseType_ = 'text';
|
|
604
|
+
}
|
|
605
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
606
|
+
responseType_ = 'json';
|
|
607
|
+
}
|
|
608
|
+
else {
|
|
609
|
+
responseType_ = 'blob';
|
|
610
|
+
}
|
|
611
|
+
}
|
|
612
|
+
let localVarPath = `/containers/deliveriesToReschedule/count`;
|
|
613
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
614
|
+
context: localVarHttpContext,
|
|
615
|
+
responseType: responseType_,
|
|
616
|
+
withCredentials: this.configuration.withCredentials,
|
|
617
|
+
headers: localVarHeaders,
|
|
618
|
+
observe: observe,
|
|
619
|
+
transferCache: localVarTransferCache,
|
|
620
|
+
reportProgress: reportProgress
|
|
621
|
+
});
|
|
622
|
+
}
|
|
623
|
+
getPlannedDeliveriesAndPodCount(observe = 'body', reportProgress = false, options) {
|
|
624
|
+
let localVarHeaders = this.defaultHeaders;
|
|
625
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
626
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
627
|
+
// to determine the Accept header
|
|
628
|
+
const httpHeaderAccepts = [
|
|
629
|
+
'application/json'
|
|
630
|
+
];
|
|
631
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
632
|
+
}
|
|
633
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
634
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
635
|
+
}
|
|
636
|
+
let localVarHttpContext = options && options.context;
|
|
637
|
+
if (localVarHttpContext === undefined) {
|
|
638
|
+
localVarHttpContext = new HttpContext();
|
|
639
|
+
}
|
|
640
|
+
let localVarTransferCache = options && options.transferCache;
|
|
641
|
+
if (localVarTransferCache === undefined) {
|
|
642
|
+
localVarTransferCache = true;
|
|
643
|
+
}
|
|
644
|
+
let responseType_ = 'json';
|
|
645
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
646
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
647
|
+
responseType_ = 'text';
|
|
648
|
+
}
|
|
649
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
650
|
+
responseType_ = 'json';
|
|
651
|
+
}
|
|
652
|
+
else {
|
|
653
|
+
responseType_ = 'blob';
|
|
654
|
+
}
|
|
655
|
+
}
|
|
656
|
+
let localVarPath = `/containers/plannedDeliveriesAndPod/count`;
|
|
657
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
658
|
+
context: localVarHttpContext,
|
|
659
|
+
responseType: responseType_,
|
|
660
|
+
withCredentials: this.configuration.withCredentials,
|
|
661
|
+
headers: localVarHeaders,
|
|
662
|
+
observe: observe,
|
|
663
|
+
transferCache: localVarTransferCache,
|
|
664
|
+
reportProgress: reportProgress
|
|
665
|
+
});
|
|
666
|
+
}
|
|
403
667
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: ContainersService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
404
668
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: ContainersService, providedIn: 'root' });
|
|
405
669
|
}
|
|
@@ -1667,6 +1931,17 @@ const APIS = [BookingsService, ContainersService, HealthService, PermissionsServ
|
|
|
1667
1931
|
* Do not edit the class manually.
|
|
1668
1932
|
*/
|
|
1669
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
|
+
|
|
1670
1945
|
/**
|
|
1671
1946
|
* Dcm.API.Client
|
|
1672
1947
|
* DCM API Client for Angular applications
|