@indigina/wms-api 0.0.46 → 0.0.47
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/dcs.service.d.ts +20 -12
- package/fesm2022/indigina-wms-api.mjs +52 -4
- package/fesm2022/indigina-wms-api.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @indigina/wms-api@0.0.
|
|
1
|
+
# @indigina/wms-api@0.0.47
|
|
2
2
|
|
|
3
3
|
WMS API Client for Angular applications
|
|
4
4
|
|
|
@@ -24,7 +24,7 @@ Navigate to the folder of your consuming project and run one of next commands.
|
|
|
24
24
|
_published:_
|
|
25
25
|
|
|
26
26
|
```console
|
|
27
|
-
npm install @indigina/wms-api@0.0.
|
|
27
|
+
npm install @indigina/wms-api@0.0.47 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
package/api/dcs.service.d.ts
CHANGED
|
@@ -17,80 +17,88 @@ export declare class DcsService {
|
|
|
17
17
|
private addToHttpParamsRecursive;
|
|
18
18
|
/**
|
|
19
19
|
* Get Counting Summary
|
|
20
|
+
* @param clientIds
|
|
21
|
+
* @param countingTypes
|
|
20
22
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
21
23
|
* @param reportProgress flag to report request and response progress.
|
|
22
24
|
*/
|
|
23
|
-
getCountingSummary(observe?: 'body', reportProgress?: boolean, options?: {
|
|
25
|
+
getCountingSummary(clientIds?: Array<string>, countingTypes?: Array<string>, observe?: 'body', reportProgress?: boolean, options?: {
|
|
24
26
|
httpHeaderAccept?: 'application/json';
|
|
25
27
|
context?: HttpContext;
|
|
26
28
|
transferCache?: boolean;
|
|
27
29
|
}): Observable<CountingSummary>;
|
|
28
|
-
getCountingSummary(observe?: 'response', reportProgress?: boolean, options?: {
|
|
30
|
+
getCountingSummary(clientIds?: Array<string>, countingTypes?: Array<string>, observe?: 'response', reportProgress?: boolean, options?: {
|
|
29
31
|
httpHeaderAccept?: 'application/json';
|
|
30
32
|
context?: HttpContext;
|
|
31
33
|
transferCache?: boolean;
|
|
32
34
|
}): Observable<HttpResponse<CountingSummary>>;
|
|
33
|
-
getCountingSummary(observe?: 'events', reportProgress?: boolean, options?: {
|
|
35
|
+
getCountingSummary(clientIds?: Array<string>, countingTypes?: Array<string>, observe?: 'events', reportProgress?: boolean, options?: {
|
|
34
36
|
httpHeaderAccept?: 'application/json';
|
|
35
37
|
context?: HttpContext;
|
|
36
38
|
transferCache?: boolean;
|
|
37
39
|
}): Observable<HttpEvent<CountingSummary>>;
|
|
38
40
|
/**
|
|
39
41
|
* Get Dispatch Summary
|
|
42
|
+
* @param clientIds
|
|
43
|
+
* @param orderTypes
|
|
40
44
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
41
45
|
* @param reportProgress flag to report request and response progress.
|
|
42
46
|
*/
|
|
43
|
-
getDispatchSummary(observe?: 'body', reportProgress?: boolean, options?: {
|
|
47
|
+
getDispatchSummary(clientIds?: Array<string>, orderTypes?: Array<string>, observe?: 'body', reportProgress?: boolean, options?: {
|
|
44
48
|
httpHeaderAccept?: 'application/json';
|
|
45
49
|
context?: HttpContext;
|
|
46
50
|
transferCache?: boolean;
|
|
47
51
|
}): Observable<DispatchSummary>;
|
|
48
|
-
getDispatchSummary(observe?: 'response', reportProgress?: boolean, options?: {
|
|
52
|
+
getDispatchSummary(clientIds?: Array<string>, orderTypes?: Array<string>, observe?: 'response', reportProgress?: boolean, options?: {
|
|
49
53
|
httpHeaderAccept?: 'application/json';
|
|
50
54
|
context?: HttpContext;
|
|
51
55
|
transferCache?: boolean;
|
|
52
56
|
}): Observable<HttpResponse<DispatchSummary>>;
|
|
53
|
-
getDispatchSummary(observe?: 'events', reportProgress?: boolean, options?: {
|
|
57
|
+
getDispatchSummary(clientIds?: Array<string>, orderTypes?: Array<string>, observe?: 'events', reportProgress?: boolean, options?: {
|
|
54
58
|
httpHeaderAccept?: 'application/json';
|
|
55
59
|
context?: HttpContext;
|
|
56
60
|
transferCache?: boolean;
|
|
57
61
|
}): Observable<HttpEvent<DispatchSummary>>;
|
|
58
62
|
/**
|
|
59
63
|
* Get Receiving Summary
|
|
64
|
+
* @param clientIds
|
|
65
|
+
* @param deliveryTypes
|
|
60
66
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
61
67
|
* @param reportProgress flag to report request and response progress.
|
|
62
68
|
*/
|
|
63
|
-
getReceivingSummary(observe?: 'body', reportProgress?: boolean, options?: {
|
|
69
|
+
getReceivingSummary(clientIds?: Array<string>, deliveryTypes?: Array<string>, observe?: 'body', reportProgress?: boolean, options?: {
|
|
64
70
|
httpHeaderAccept?: 'application/json';
|
|
65
71
|
context?: HttpContext;
|
|
66
72
|
transferCache?: boolean;
|
|
67
73
|
}): Observable<ReceivingSummary>;
|
|
68
|
-
getReceivingSummary(observe?: 'response', reportProgress?: boolean, options?: {
|
|
74
|
+
getReceivingSummary(clientIds?: Array<string>, deliveryTypes?: Array<string>, observe?: 'response', reportProgress?: boolean, options?: {
|
|
69
75
|
httpHeaderAccept?: 'application/json';
|
|
70
76
|
context?: HttpContext;
|
|
71
77
|
transferCache?: boolean;
|
|
72
78
|
}): Observable<HttpResponse<ReceivingSummary>>;
|
|
73
|
-
getReceivingSummary(observe?: 'events', reportProgress?: boolean, options?: {
|
|
79
|
+
getReceivingSummary(clientIds?: Array<string>, deliveryTypes?: Array<string>, observe?: 'events', reportProgress?: boolean, options?: {
|
|
74
80
|
httpHeaderAccept?: 'application/json';
|
|
75
81
|
context?: HttpContext;
|
|
76
82
|
transferCache?: boolean;
|
|
77
83
|
}): Observable<HttpEvent<ReceivingSummary>>;
|
|
78
84
|
/**
|
|
79
85
|
* Get Replenishment Summary
|
|
86
|
+
* @param clientIds
|
|
87
|
+
* @param replenishmentTypes
|
|
80
88
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
81
89
|
* @param reportProgress flag to report request and response progress.
|
|
82
90
|
*/
|
|
83
|
-
getReplenishmentSummary(observe?: 'body', reportProgress?: boolean, options?: {
|
|
91
|
+
getReplenishmentSummary(clientIds?: Array<string>, replenishmentTypes?: Array<string>, observe?: 'body', reportProgress?: boolean, options?: {
|
|
84
92
|
httpHeaderAccept?: 'application/json';
|
|
85
93
|
context?: HttpContext;
|
|
86
94
|
transferCache?: boolean;
|
|
87
95
|
}): Observable<ReplenishmentSummary>;
|
|
88
|
-
getReplenishmentSummary(observe?: 'response', reportProgress?: boolean, options?: {
|
|
96
|
+
getReplenishmentSummary(clientIds?: Array<string>, replenishmentTypes?: Array<string>, observe?: 'response', reportProgress?: boolean, options?: {
|
|
89
97
|
httpHeaderAccept?: 'application/json';
|
|
90
98
|
context?: HttpContext;
|
|
91
99
|
transferCache?: boolean;
|
|
92
100
|
}): Observable<HttpResponse<ReplenishmentSummary>>;
|
|
93
|
-
getReplenishmentSummary(observe?: 'events', reportProgress?: boolean, options?: {
|
|
101
|
+
getReplenishmentSummary(clientIds?: Array<string>, replenishmentTypes?: Array<string>, observe?: 'events', reportProgress?: boolean, options?: {
|
|
94
102
|
httpHeaderAccept?: 'application/json';
|
|
95
103
|
context?: HttpContext;
|
|
96
104
|
transferCache?: boolean;
|
|
@@ -978,7 +978,18 @@ class DcsService {
|
|
|
978
978
|
}
|
|
979
979
|
return httpParams;
|
|
980
980
|
}
|
|
981
|
-
getCountingSummary(observe = 'body', reportProgress = false, options) {
|
|
981
|
+
getCountingSummary(clientIds, countingTypes, observe = 'body', reportProgress = false, options) {
|
|
982
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
983
|
+
if (clientIds) {
|
|
984
|
+
clientIds.forEach((element) => {
|
|
985
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, element, 'clientIds');
|
|
986
|
+
});
|
|
987
|
+
}
|
|
988
|
+
if (countingTypes) {
|
|
989
|
+
countingTypes.forEach((element) => {
|
|
990
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, element, 'countingTypes');
|
|
991
|
+
});
|
|
992
|
+
}
|
|
982
993
|
let localVarHeaders = this.defaultHeaders;
|
|
983
994
|
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
984
995
|
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
@@ -1014,6 +1025,7 @@ class DcsService {
|
|
|
1014
1025
|
let localVarPath = `/dcs/counting/summary`;
|
|
1015
1026
|
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
1016
1027
|
context: localVarHttpContext,
|
|
1028
|
+
params: localVarQueryParameters,
|
|
1017
1029
|
responseType: responseType_,
|
|
1018
1030
|
withCredentials: this.configuration.withCredentials,
|
|
1019
1031
|
headers: localVarHeaders,
|
|
@@ -1022,7 +1034,18 @@ class DcsService {
|
|
|
1022
1034
|
reportProgress: reportProgress
|
|
1023
1035
|
});
|
|
1024
1036
|
}
|
|
1025
|
-
getDispatchSummary(observe = 'body', reportProgress = false, options) {
|
|
1037
|
+
getDispatchSummary(clientIds, orderTypes, observe = 'body', reportProgress = false, options) {
|
|
1038
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
1039
|
+
if (clientIds) {
|
|
1040
|
+
clientIds.forEach((element) => {
|
|
1041
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, element, 'clientIds');
|
|
1042
|
+
});
|
|
1043
|
+
}
|
|
1044
|
+
if (orderTypes) {
|
|
1045
|
+
orderTypes.forEach((element) => {
|
|
1046
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, element, 'orderTypes');
|
|
1047
|
+
});
|
|
1048
|
+
}
|
|
1026
1049
|
let localVarHeaders = this.defaultHeaders;
|
|
1027
1050
|
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
1028
1051
|
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
@@ -1058,6 +1081,7 @@ class DcsService {
|
|
|
1058
1081
|
let localVarPath = `/dcs/dispatches/summary`;
|
|
1059
1082
|
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
1060
1083
|
context: localVarHttpContext,
|
|
1084
|
+
params: localVarQueryParameters,
|
|
1061
1085
|
responseType: responseType_,
|
|
1062
1086
|
withCredentials: this.configuration.withCredentials,
|
|
1063
1087
|
headers: localVarHeaders,
|
|
@@ -1066,7 +1090,18 @@ class DcsService {
|
|
|
1066
1090
|
reportProgress: reportProgress
|
|
1067
1091
|
});
|
|
1068
1092
|
}
|
|
1069
|
-
getReceivingSummary(observe = 'body', reportProgress = false, options) {
|
|
1093
|
+
getReceivingSummary(clientIds, deliveryTypes, observe = 'body', reportProgress = false, options) {
|
|
1094
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
1095
|
+
if (clientIds) {
|
|
1096
|
+
clientIds.forEach((element) => {
|
|
1097
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, element, 'clientIds');
|
|
1098
|
+
});
|
|
1099
|
+
}
|
|
1100
|
+
if (deliveryTypes) {
|
|
1101
|
+
deliveryTypes.forEach((element) => {
|
|
1102
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, element, 'deliveryTypes');
|
|
1103
|
+
});
|
|
1104
|
+
}
|
|
1070
1105
|
let localVarHeaders = this.defaultHeaders;
|
|
1071
1106
|
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
1072
1107
|
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
@@ -1102,6 +1137,7 @@ class DcsService {
|
|
|
1102
1137
|
let localVarPath = `/dcs/receiving/summary`;
|
|
1103
1138
|
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
1104
1139
|
context: localVarHttpContext,
|
|
1140
|
+
params: localVarQueryParameters,
|
|
1105
1141
|
responseType: responseType_,
|
|
1106
1142
|
withCredentials: this.configuration.withCredentials,
|
|
1107
1143
|
headers: localVarHeaders,
|
|
@@ -1110,7 +1146,18 @@ class DcsService {
|
|
|
1110
1146
|
reportProgress: reportProgress
|
|
1111
1147
|
});
|
|
1112
1148
|
}
|
|
1113
|
-
getReplenishmentSummary(observe = 'body', reportProgress = false, options) {
|
|
1149
|
+
getReplenishmentSummary(clientIds, replenishmentTypes, observe = 'body', reportProgress = false, options) {
|
|
1150
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
1151
|
+
if (clientIds) {
|
|
1152
|
+
clientIds.forEach((element) => {
|
|
1153
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, element, 'clientIds');
|
|
1154
|
+
});
|
|
1155
|
+
}
|
|
1156
|
+
if (replenishmentTypes) {
|
|
1157
|
+
replenishmentTypes.forEach((element) => {
|
|
1158
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, element, 'replenishmentTypes');
|
|
1159
|
+
});
|
|
1160
|
+
}
|
|
1114
1161
|
let localVarHeaders = this.defaultHeaders;
|
|
1115
1162
|
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
1116
1163
|
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
@@ -1146,6 +1193,7 @@ class DcsService {
|
|
|
1146
1193
|
let localVarPath = `/dcs/replenishment/summary`;
|
|
1147
1194
|
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
1148
1195
|
context: localVarHttpContext,
|
|
1196
|
+
params: localVarQueryParameters,
|
|
1149
1197
|
responseType: responseType_,
|
|
1150
1198
|
withCredentials: this.configuration.withCredentials,
|
|
1151
1199
|
headers: localVarHeaders,
|