@indigina/dcm-api 0.0.8 → 0.0.10
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/shipments.service.d.ts +26 -0
- package/api/user.service.d.ts +41 -0
- package/esm2022/api/shipments.service.mjs +63 -2
- package/esm2022/api/user.service.mjs +89 -1
- package/esm2022/model/company.mjs +13 -0
- package/esm2022/model/country.mjs +13 -0
- package/esm2022/model/departmentShipment.mjs +13 -0
- package/esm2022/model/models.mjs +14 -1
- package/esm2022/model/pendingMessagesCount.mjs +13 -0
- package/esm2022/model/port.mjs +2 -0
- package/esm2022/model/shipment.mjs +2 -0
- package/esm2022/model/shipmentApprovalType.mjs +16 -0
- package/esm2022/model/shipmentState.mjs +23 -0
- package/esm2022/model/shipmentType.mjs +17 -0
- package/esm2022/model/shipmentsList.mjs +2 -0
- package/esm2022/model/transportCarrier.mjs +13 -0
- package/esm2022/model/transportLocation.mjs +13 -0
- package/esm2022/model/user.mjs +13 -0
- package/fesm2022/indigina-dcm-api.mjs +291 -2
- package/fesm2022/indigina-dcm-api.mjs.map +1 -1
- package/model/company.d.ts +15 -0
- package/model/country.d.ts +15 -0
- package/model/departmentShipment.d.ts +16 -0
- package/model/models.d.ts +13 -0
- package/model/pendingMessagesCount.d.ts +14 -0
- package/model/port.d.ts +17 -0
- package/model/shipment.d.ts +63 -0
- package/model/shipmentApprovalType.d.ts +16 -0
- package/model/shipmentState.d.ts +23 -0
- package/model/shipmentType.d.ts +17 -0
- package/model/shipmentsList.d.ts +16 -0
- package/model/transportCarrier.d.ts +14 -0
- package/model/transportLocation.d.ts +15 -0
- package/model/user.d.ts +15 -0
- package/package.json +1 -1
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dcm.API.Client
|
|
3
|
+
* DCM 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 const ShipmentState = {
|
|
13
|
+
Draft: 'Draft',
|
|
14
|
+
RequestAuthorisation: 'RequestAuthorisation',
|
|
15
|
+
AuthorisedToShip: 'AuthorisedToShip',
|
|
16
|
+
Amend: 'Amend',
|
|
17
|
+
Confirmed: 'Confirmed',
|
|
18
|
+
Delivered: 'Delivered',
|
|
19
|
+
Arrived: 'Arrived',
|
|
20
|
+
CancellationRequested: 'CancellationRequested',
|
|
21
|
+
Cancelled: 'Cancelled'
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2hpcG1lbnRTdGF0ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL21vZGVsL3NoaXBtZW50U3RhdGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7Ozs7R0FVRztBQUtILE1BQU0sQ0FBQyxNQUFNLGFBQWEsR0FBRztJQUN6QixLQUFLLEVBQUUsT0FBd0I7SUFDL0Isb0JBQW9CLEVBQUUsc0JBQXVDO0lBQzdELGdCQUFnQixFQUFFLGtCQUFtQztJQUNyRCxLQUFLLEVBQUUsT0FBd0I7SUFDL0IsU0FBUyxFQUFFLFdBQTRCO0lBQ3ZDLFNBQVMsRUFBRSxXQUE0QjtJQUN2QyxPQUFPLEVBQUUsU0FBMEI7SUFDbkMscUJBQXFCLEVBQUUsdUJBQXdDO0lBQy9ELFNBQVMsRUFBRSxXQUE0QjtDQUMxQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBEY20uQVBJLkNsaWVudFxuICogRENNIEFQSSBDbGllbnQgZm9yIEFuZ3VsYXIgYXBwbGljYXRpb25zXG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uY2VsbGF0aW9uUmVxdWVzdGVkOiAnQ2FuY2VsbGF0aW9uUmVxdWVzdGVkJyBhcyBTaGlwbWVudFN0YXRlLFxuICAgIENhbmNlbGxlZDogJ0NhbmNlbGxlZCcgYXMgU2hpcG1lbnRTdGF0ZVxufTtcblxuIl19
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dcm.API.Client
|
|
3
|
+
* DCM 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 const ShipmentType = {
|
|
13
|
+
Air: 'Air',
|
|
14
|
+
Sea: 'Sea',
|
|
15
|
+
Road: 'Road'
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2hpcG1lbnRUeXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vbW9kZWwvc2hpcG1lbnRUeXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7Ozs7O0dBVUc7QUFLSCxNQUFNLENBQUMsTUFBTSxZQUFZLEdBQUc7SUFDeEIsR0FBRyxFQUFFLEtBQXFCO0lBQzFCLEdBQUcsRUFBRSxLQUFxQjtJQUMxQixJQUFJLEVBQUUsTUFBc0I7Q0FDL0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogRGNtLkFQSS5DbGllbnRcbiAqIERDTSBBUEkgQ2xpZW50IGZvciBBbmd1bGFyIGFwcGxpY2F0aW9uc1xuICpcbiAqIFRoZSB2ZXJzaW9uIG9mIHRoZSBPcGVuQVBJIGRvY3VtZW50OiB2MVxuIC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lbmFwaS1nZW5lcmF0b3IudGVjaFxuICogRG8gbm90IGVkaXQgdGhlIGNsYXNzIG1hbnVhbGx5LlxuICovXG5pbXBvcnQgeyBTaGlwbWVudCB9IGZyb20gJy4vc2hpcG1lbnQnO1xuXG5cbmV4cG9ydCBpbnRlcmZhY2UgU2hpcG1lbnRzTGlzdCB7IFxuICAgIHRvdGFsOiBudW1iZXI7XG4gICAgZGF0YTogQXJyYXk8U2hpcG1lbnQ+O1xufVxuXG4iXX0=
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dcm.API.Client
|
|
3
|
+
* DCM 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 {};
|
|
13
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNwb3J0Q2Fycmllci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL21vZGVsL3RyYW5zcG9ydENhcnJpZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7Ozs7R0FVRyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogRGNtLkFQSS5DbGllbnRcbiAqIERDTSBBUEkgQ2xpZW50IGZvciBBbmd1bGFyIGFwcGxpY2F0aW9uc1xuICpcbiAqIFRoZSB2ZXJzaW9uIG9mIHRoZSBPcGVuQVBJIGRvY3VtZW50OiB2MVxuICogXG4gKlxuICogTk9URTogVGhpcyBjbGFzcyBpcyBhdXRvIGdlbmVyYXRlZCBieSBPcGVuQVBJIEdlbmVyYXRvciAoaHR0cHM6Ly9vcGVuYXBpLWdlbmVyYXRvci50ZWNoKS5cbiAqIGh0dHBzOi8vb3BlbmFwaS1nZW5lcmF0b3IudGVjaFxuICogRG8gbm90IGVkaXQgdGhlIGNsYXNzIG1hbnVhbGx5LlxuICovXG5cblxuZXhwb3J0IGludGVyZmFjZSBUcmFuc3BvcnRDYXJyaWVyIHsgXG4gICAgY2FycmllckVudW1JZDogbnVtYmVyIHwgbnVsbDtcbn1cblxuIl19
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dcm.API.Client
|
|
3
|
+
* DCM 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 {};
|
|
13
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNwb3J0TG9jYXRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9tb2RlbC90cmFuc3BvcnRMb2NhdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7Ozs7OztHQVVHIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBEY20uQVBJLkNsaWVudFxuICogRENNIEFQSSBDbGllbnQgZm9yIEFuZ3VsYXIgYXBwbGljYXRpb25zXG4gKlxuICogVGhlIHZlcnNpb24gb2YgdGhlIE9wZW5BUEkgZG9jdW1lbnQ6IHYxXG4gKiBcbiAqXG4gKiBOT1RFOiBUaGlzIGNsYXNzIGlzIGF1dG8gZ2VuZXJhdGVkIGJ5IE9wZW5BUEkgR2VuZXJhdG9yIChodHRwczovL29wZW5hcGktZ2VuZXJhdG9yLnRlY2gpLlxuICogaHR0cHM6Ly9vcGVuYXBpLWdlbmVyYXRvci50ZWNoXG4gKiBEbyBub3QgZWRpdCB0aGUgY2xhc3MgbWFudWFsbHkuXG4gKi9cblxuXG5leHBvcnQgaW50ZXJmYWNlIFRyYW5zcG9ydExvY2F0aW9uIHsgXG4gICAgaWQ6IHN0cmluZztcbiAgICBuYW1lOiBzdHJpbmc7XG59XG5cbiJdfQ==
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dcm.API.Client
|
|
3
|
+
* DCM 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 {};
|
|
13
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL21vZGVsL3VzZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7Ozs7R0FVRyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogRGNtLkFQSS5DbGllbnRcbiAqIERDTSBBUEkgQ2xpZW50IGZvciBBbmd1bGFyIGFwcGxpY2F0aW9uc1xuICpcbiAqIFRoZSB2ZXJzaW9uIG9mIHRoZSBPcGVuQVBJIGRvY3VtZW50OiB2MVxuICogXG4gKlxuICogTk9URTogVGhpcyBjbGFzcyBpcyBhdXRvIGdlbmVyYXRlZCBieSBPcGVuQVBJIEdlbmVyYXRvciAoaHR0cHM6Ly9vcGVuYXBpLWdlbmVyYXRvci50ZWNoKS5cbiAqIGh0dHBzOi8vb3BlbmFwaS1nZW5lcmF0b3IudGVjaFxuICogRG8gbm90IGVkaXQgdGhlIGNsYXNzIG1hbnVhbGx5LlxuICovXG5cblxuZXhwb3J0IGludGVyZmFjZSBVc2VyIHsgXG4gICAgaWQ6IHN0cmluZztcbiAgICBmdWxsTmFtZTogc3RyaW5nO1xufVxuXG4iXX0=
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { InjectionToken, Injectable, Optional, Inject, NgModule, SkipSelf } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/common/http';
|
|
4
|
-
import { HttpHeaders, HttpContext } from '@angular/common/http';
|
|
4
|
+
import { HttpHeaders, HttpContext, HttpParams } from '@angular/common/http';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Custom HttpParameterCodec
|
|
@@ -623,6 +623,67 @@ class ShipmentsService {
|
|
|
623
623
|
}
|
|
624
624
|
return httpParams;
|
|
625
625
|
}
|
|
626
|
+
getShipments($skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
|
|
627
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
628
|
+
if ($skip !== undefined && $skip !== null) {
|
|
629
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $skip, '$skip');
|
|
630
|
+
}
|
|
631
|
+
if ($top !== undefined && $top !== null) {
|
|
632
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $top, '$top');
|
|
633
|
+
}
|
|
634
|
+
if ($orderby !== undefined && $orderby !== null) {
|
|
635
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $orderby, '$orderby');
|
|
636
|
+
}
|
|
637
|
+
if ($filter !== undefined && $filter !== null) {
|
|
638
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $filter, '$filter');
|
|
639
|
+
}
|
|
640
|
+
if ($search !== undefined && $search !== null) {
|
|
641
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $search, '$search');
|
|
642
|
+
}
|
|
643
|
+
let localVarHeaders = this.defaultHeaders;
|
|
644
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
645
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
646
|
+
// to determine the Accept header
|
|
647
|
+
const httpHeaderAccepts = [
|
|
648
|
+
'application/json'
|
|
649
|
+
];
|
|
650
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
651
|
+
}
|
|
652
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
653
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
654
|
+
}
|
|
655
|
+
let localVarHttpContext = options && options.context;
|
|
656
|
+
if (localVarHttpContext === undefined) {
|
|
657
|
+
localVarHttpContext = new HttpContext();
|
|
658
|
+
}
|
|
659
|
+
let localVarTransferCache = options && options.transferCache;
|
|
660
|
+
if (localVarTransferCache === undefined) {
|
|
661
|
+
localVarTransferCache = true;
|
|
662
|
+
}
|
|
663
|
+
let responseType_ = 'json';
|
|
664
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
665
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
666
|
+
responseType_ = 'text';
|
|
667
|
+
}
|
|
668
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
669
|
+
responseType_ = 'json';
|
|
670
|
+
}
|
|
671
|
+
else {
|
|
672
|
+
responseType_ = 'blob';
|
|
673
|
+
}
|
|
674
|
+
}
|
|
675
|
+
let localVarPath = `/shipments/list`;
|
|
676
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
677
|
+
context: localVarHttpContext,
|
|
678
|
+
params: localVarQueryParameters,
|
|
679
|
+
responseType: responseType_,
|
|
680
|
+
withCredentials: this.configuration.withCredentials,
|
|
681
|
+
headers: localVarHeaders,
|
|
682
|
+
observe: observe,
|
|
683
|
+
transferCache: localVarTransferCache,
|
|
684
|
+
reportProgress: reportProgress
|
|
685
|
+
});
|
|
686
|
+
}
|
|
626
687
|
getShipmentsApprovalCount(observe = 'body', reportProgress = false, options) {
|
|
627
688
|
let localVarHeaders = this.defaultHeaders;
|
|
628
689
|
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
@@ -800,6 +861,94 @@ class UserService {
|
|
|
800
861
|
}
|
|
801
862
|
return httpParams;
|
|
802
863
|
}
|
|
864
|
+
getChatPendingCount(observe = 'body', reportProgress = false, options) {
|
|
865
|
+
let localVarHeaders = this.defaultHeaders;
|
|
866
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
867
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
868
|
+
// to determine the Accept header
|
|
869
|
+
const httpHeaderAccepts = [
|
|
870
|
+
'application/json'
|
|
871
|
+
];
|
|
872
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
873
|
+
}
|
|
874
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
875
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
876
|
+
}
|
|
877
|
+
let localVarHttpContext = options && options.context;
|
|
878
|
+
if (localVarHttpContext === undefined) {
|
|
879
|
+
localVarHttpContext = new HttpContext();
|
|
880
|
+
}
|
|
881
|
+
let localVarTransferCache = options && options.transferCache;
|
|
882
|
+
if (localVarTransferCache === undefined) {
|
|
883
|
+
localVarTransferCache = true;
|
|
884
|
+
}
|
|
885
|
+
let responseType_ = 'json';
|
|
886
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
887
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
888
|
+
responseType_ = 'text';
|
|
889
|
+
}
|
|
890
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
891
|
+
responseType_ = 'json';
|
|
892
|
+
}
|
|
893
|
+
else {
|
|
894
|
+
responseType_ = 'blob';
|
|
895
|
+
}
|
|
896
|
+
}
|
|
897
|
+
let localVarPath = `/user/chatCount`;
|
|
898
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
899
|
+
context: localVarHttpContext,
|
|
900
|
+
responseType: responseType_,
|
|
901
|
+
withCredentials: this.configuration.withCredentials,
|
|
902
|
+
headers: localVarHeaders,
|
|
903
|
+
observe: observe,
|
|
904
|
+
transferCache: localVarTransferCache,
|
|
905
|
+
reportProgress: reportProgress
|
|
906
|
+
});
|
|
907
|
+
}
|
|
908
|
+
getMailPendingCount(observe = 'body', reportProgress = false, options) {
|
|
909
|
+
let localVarHeaders = this.defaultHeaders;
|
|
910
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
911
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
912
|
+
// to determine the Accept header
|
|
913
|
+
const httpHeaderAccepts = [
|
|
914
|
+
'application/json'
|
|
915
|
+
];
|
|
916
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
917
|
+
}
|
|
918
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
919
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
920
|
+
}
|
|
921
|
+
let localVarHttpContext = options && options.context;
|
|
922
|
+
if (localVarHttpContext === undefined) {
|
|
923
|
+
localVarHttpContext = new HttpContext();
|
|
924
|
+
}
|
|
925
|
+
let localVarTransferCache = options && options.transferCache;
|
|
926
|
+
if (localVarTransferCache === undefined) {
|
|
927
|
+
localVarTransferCache = true;
|
|
928
|
+
}
|
|
929
|
+
let responseType_ = 'json';
|
|
930
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
931
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
932
|
+
responseType_ = 'text';
|
|
933
|
+
}
|
|
934
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
935
|
+
responseType_ = 'json';
|
|
936
|
+
}
|
|
937
|
+
else {
|
|
938
|
+
responseType_ = 'blob';
|
|
939
|
+
}
|
|
940
|
+
}
|
|
941
|
+
let localVarPath = `/user/mailCount`;
|
|
942
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
943
|
+
context: localVarHttpContext,
|
|
944
|
+
responseType: responseType_,
|
|
945
|
+
withCredentials: this.configuration.withCredentials,
|
|
946
|
+
headers: localVarHeaders,
|
|
947
|
+
observe: observe,
|
|
948
|
+
transferCache: localVarTransferCache,
|
|
949
|
+
reportProgress: reportProgress
|
|
950
|
+
});
|
|
951
|
+
}
|
|
803
952
|
getUserInfo(observe = 'body', reportProgress = false, options) {
|
|
804
953
|
let localVarHeaders = this.defaultHeaders;
|
|
805
954
|
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
@@ -863,6 +1012,146 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImpor
|
|
|
863
1012
|
|
|
864
1013
|
const APIS = [ContainersService, HealthService, PermissionsService, ShipmentsService, UserService];
|
|
865
1014
|
|
|
1015
|
+
/**
|
|
1016
|
+
* Dcm.API.Client
|
|
1017
|
+
* DCM API Client for Angular applications
|
|
1018
|
+
*
|
|
1019
|
+
* The version of the OpenAPI document: v1
|
|
1020
|
+
*
|
|
1021
|
+
*
|
|
1022
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1023
|
+
* https://openapi-generator.tech
|
|
1024
|
+
* Do not edit the class manually.
|
|
1025
|
+
*/
|
|
1026
|
+
|
|
1027
|
+
/**
|
|
1028
|
+
* Dcm.API.Client
|
|
1029
|
+
* DCM API Client for Angular applications
|
|
1030
|
+
*
|
|
1031
|
+
* The version of the OpenAPI document: v1
|
|
1032
|
+
*
|
|
1033
|
+
*
|
|
1034
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1035
|
+
* https://openapi-generator.tech
|
|
1036
|
+
* Do not edit the class manually.
|
|
1037
|
+
*/
|
|
1038
|
+
|
|
1039
|
+
/**
|
|
1040
|
+
* Dcm.API.Client
|
|
1041
|
+
* DCM API Client for Angular applications
|
|
1042
|
+
*
|
|
1043
|
+
* The version of the OpenAPI document: v1
|
|
1044
|
+
*
|
|
1045
|
+
*
|
|
1046
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1047
|
+
* https://openapi-generator.tech
|
|
1048
|
+
* Do not edit the class manually.
|
|
1049
|
+
*/
|
|
1050
|
+
|
|
1051
|
+
/**
|
|
1052
|
+
* Dcm.API.Client
|
|
1053
|
+
* DCM API Client for Angular applications
|
|
1054
|
+
*
|
|
1055
|
+
* The version of the OpenAPI document: v1
|
|
1056
|
+
*
|
|
1057
|
+
*
|
|
1058
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1059
|
+
* https://openapi-generator.tech
|
|
1060
|
+
* Do not edit the class manually.
|
|
1061
|
+
*/
|
|
1062
|
+
|
|
1063
|
+
/**
|
|
1064
|
+
* Dcm.API.Client
|
|
1065
|
+
* DCM API Client for Angular applications
|
|
1066
|
+
*
|
|
1067
|
+
* The version of the OpenAPI document: v1
|
|
1068
|
+
*
|
|
1069
|
+
*
|
|
1070
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1071
|
+
* https://openapi-generator.tech
|
|
1072
|
+
* Do not edit the class manually.
|
|
1073
|
+
*/
|
|
1074
|
+
|
|
1075
|
+
/**
|
|
1076
|
+
* Dcm.API.Client
|
|
1077
|
+
* DCM API Client for Angular applications
|
|
1078
|
+
*
|
|
1079
|
+
* The version of the OpenAPI document: v1
|
|
1080
|
+
*
|
|
1081
|
+
*
|
|
1082
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1083
|
+
* https://openapi-generator.tech
|
|
1084
|
+
* Do not edit the class manually.
|
|
1085
|
+
*/
|
|
1086
|
+
|
|
1087
|
+
/**
|
|
1088
|
+
* Dcm.API.Client
|
|
1089
|
+
* DCM API Client for Angular applications
|
|
1090
|
+
*
|
|
1091
|
+
* The version of the OpenAPI document: v1
|
|
1092
|
+
*
|
|
1093
|
+
*
|
|
1094
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1095
|
+
* https://openapi-generator.tech
|
|
1096
|
+
* Do not edit the class manually.
|
|
1097
|
+
*/
|
|
1098
|
+
|
|
1099
|
+
/**
|
|
1100
|
+
* Dcm.API.Client
|
|
1101
|
+
* DCM API Client for Angular applications
|
|
1102
|
+
*
|
|
1103
|
+
* The version of the OpenAPI document: v1
|
|
1104
|
+
*
|
|
1105
|
+
*
|
|
1106
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1107
|
+
* https://openapi-generator.tech
|
|
1108
|
+
* Do not edit the class manually.
|
|
1109
|
+
*/
|
|
1110
|
+
const ShipmentApprovalType = {
|
|
1111
|
+
Auto: 'Auto',
|
|
1112
|
+
Manual: 'Manual'
|
|
1113
|
+
};
|
|
1114
|
+
|
|
1115
|
+
/**
|
|
1116
|
+
* Dcm.API.Client
|
|
1117
|
+
* DCM API Client for Angular applications
|
|
1118
|
+
*
|
|
1119
|
+
* The version of the OpenAPI document: v1
|
|
1120
|
+
*
|
|
1121
|
+
*
|
|
1122
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1123
|
+
* https://openapi-generator.tech
|
|
1124
|
+
* Do not edit the class manually.
|
|
1125
|
+
*/
|
|
1126
|
+
const ShipmentState = {
|
|
1127
|
+
Draft: 'Draft',
|
|
1128
|
+
RequestAuthorisation: 'RequestAuthorisation',
|
|
1129
|
+
AuthorisedToShip: 'AuthorisedToShip',
|
|
1130
|
+
Amend: 'Amend',
|
|
1131
|
+
Confirmed: 'Confirmed',
|
|
1132
|
+
Delivered: 'Delivered',
|
|
1133
|
+
Arrived: 'Arrived',
|
|
1134
|
+
CancellationRequested: 'CancellationRequested',
|
|
1135
|
+
Cancelled: 'Cancelled'
|
|
1136
|
+
};
|
|
1137
|
+
|
|
1138
|
+
/**
|
|
1139
|
+
* Dcm.API.Client
|
|
1140
|
+
* DCM API Client for Angular applications
|
|
1141
|
+
*
|
|
1142
|
+
* The version of the OpenAPI document: v1
|
|
1143
|
+
*
|
|
1144
|
+
*
|
|
1145
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1146
|
+
* https://openapi-generator.tech
|
|
1147
|
+
* Do not edit the class manually.
|
|
1148
|
+
*/
|
|
1149
|
+
const ShipmentType = {
|
|
1150
|
+
Air: 'Air',
|
|
1151
|
+
Sea: 'Sea',
|
|
1152
|
+
Road: 'Road'
|
|
1153
|
+
};
|
|
1154
|
+
|
|
866
1155
|
/**
|
|
867
1156
|
* Dcm.API.Client
|
|
868
1157
|
* DCM API Client for Angular applications
|
|
@@ -975,5 +1264,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImpor
|
|
|
975
1264
|
* Generated bundle index. Do not edit.
|
|
976
1265
|
*/
|
|
977
1266
|
|
|
978
|
-
export { APIS, ApiModule, BASE_PATH, COLLECTION_FORMATS, Configuration, ContainersService, HealthService, PermissionsService, ShipmentsService, UserService };
|
|
1267
|
+
export { APIS, ApiModule, BASE_PATH, COLLECTION_FORMATS, Configuration, ContainersService, HealthService, PermissionsService, ShipmentApprovalType, ShipmentState, ShipmentType, ShipmentsService, UserService };
|
|
979
1268
|
//# sourceMappingURL=indigina-dcm-api.mjs.map
|