@indigina/wms-api 0.0.48 → 0.0.49
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 +53 -0
- package/fesm2022/indigina-wms-api.mjs +135 -0
- package/fesm2022/indigina-wms-api.mjs.map +1 -1
- package/model/dc.d.ts +16 -0
- package/model/dcs.d.ts +14 -0
- package/model/models.d.ts +2 -0
- 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.49
|
|
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.49 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
package/api/dcs.service.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { CountingSummary } from '../model/countingSummary';
|
|
4
|
+
import { Dc } from '../model/dc';
|
|
5
|
+
import { Dcs } from '../model/dcs';
|
|
4
6
|
import { DispatchSummary } from '../model/dispatchSummary';
|
|
5
7
|
import { ReceivingSummary } from '../model/receivingSummary';
|
|
6
8
|
import { ReplenishmentSummary } from '../model/replenishmentSummary';
|
|
@@ -37,6 +39,57 @@ export declare class DcsService {
|
|
|
37
39
|
context?: HttpContext;
|
|
38
40
|
transferCache?: boolean;
|
|
39
41
|
}): Observable<HttpEvent<CountingSummary>>;
|
|
42
|
+
/**
|
|
43
|
+
* Getting dc by id
|
|
44
|
+
* @param id
|
|
45
|
+
* @param $skip
|
|
46
|
+
* @param $top
|
|
47
|
+
* @param $orderby
|
|
48
|
+
* @param $filter
|
|
49
|
+
* @param $search
|
|
50
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
51
|
+
* @param reportProgress flag to report request and response progress.
|
|
52
|
+
*/
|
|
53
|
+
getDc(id: string, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
54
|
+
httpHeaderAccept?: 'application/json';
|
|
55
|
+
context?: HttpContext;
|
|
56
|
+
transferCache?: boolean;
|
|
57
|
+
}): Observable<Dc>;
|
|
58
|
+
getDc(id: string, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
59
|
+
httpHeaderAccept?: 'application/json';
|
|
60
|
+
context?: HttpContext;
|
|
61
|
+
transferCache?: boolean;
|
|
62
|
+
}): Observable<HttpResponse<Dc>>;
|
|
63
|
+
getDc(id: string, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
64
|
+
httpHeaderAccept?: 'application/json';
|
|
65
|
+
context?: HttpContext;
|
|
66
|
+
transferCache?: boolean;
|
|
67
|
+
}): Observable<HttpEvent<Dc>>;
|
|
68
|
+
/**
|
|
69
|
+
* Getting dcs
|
|
70
|
+
* @param $skip
|
|
71
|
+
* @param $top
|
|
72
|
+
* @param $orderby
|
|
73
|
+
* @param $filter
|
|
74
|
+
* @param $search
|
|
75
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
76
|
+
* @param reportProgress flag to report request and response progress.
|
|
77
|
+
*/
|
|
78
|
+
getDcs($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
79
|
+
httpHeaderAccept?: 'application/json';
|
|
80
|
+
context?: HttpContext;
|
|
81
|
+
transferCache?: boolean;
|
|
82
|
+
}): Observable<Dcs>;
|
|
83
|
+
getDcs($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
84
|
+
httpHeaderAccept?: 'application/json';
|
|
85
|
+
context?: HttpContext;
|
|
86
|
+
transferCache?: boolean;
|
|
87
|
+
}): Observable<HttpResponse<Dcs>>;
|
|
88
|
+
getDcs($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
89
|
+
httpHeaderAccept?: 'application/json';
|
|
90
|
+
context?: HttpContext;
|
|
91
|
+
transferCache?: boolean;
|
|
92
|
+
}): Observable<HttpEvent<Dcs>>;
|
|
40
93
|
/**
|
|
41
94
|
* Get Dispatch Summary
|
|
42
95
|
* @param clientIds
|
|
@@ -1034,6 +1034,131 @@ class DcsService {
|
|
|
1034
1034
|
reportProgress: reportProgress
|
|
1035
1035
|
});
|
|
1036
1036
|
}
|
|
1037
|
+
getDc(id, $skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
|
|
1038
|
+
if (id === null || id === undefined) {
|
|
1039
|
+
throw new Error('Required parameter id was null or undefined when calling getDc.');
|
|
1040
|
+
}
|
|
1041
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
1042
|
+
if ($skip !== undefined && $skip !== null) {
|
|
1043
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $skip, '$skip');
|
|
1044
|
+
}
|
|
1045
|
+
if ($top !== undefined && $top !== null) {
|
|
1046
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $top, '$top');
|
|
1047
|
+
}
|
|
1048
|
+
if ($orderby !== undefined && $orderby !== null) {
|
|
1049
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $orderby, '$orderby');
|
|
1050
|
+
}
|
|
1051
|
+
if ($filter !== undefined && $filter !== null) {
|
|
1052
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $filter, '$filter');
|
|
1053
|
+
}
|
|
1054
|
+
if ($search !== undefined && $search !== null) {
|
|
1055
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $search, '$search');
|
|
1056
|
+
}
|
|
1057
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1058
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
1059
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
1060
|
+
// to determine the Accept header
|
|
1061
|
+
const httpHeaderAccepts = [
|
|
1062
|
+
'application/json'
|
|
1063
|
+
];
|
|
1064
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1065
|
+
}
|
|
1066
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1067
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1068
|
+
}
|
|
1069
|
+
let localVarHttpContext = options && options.context;
|
|
1070
|
+
if (localVarHttpContext === undefined) {
|
|
1071
|
+
localVarHttpContext = new HttpContext();
|
|
1072
|
+
}
|
|
1073
|
+
let localVarTransferCache = options && options.transferCache;
|
|
1074
|
+
if (localVarTransferCache === undefined) {
|
|
1075
|
+
localVarTransferCache = true;
|
|
1076
|
+
}
|
|
1077
|
+
let responseType_ = 'json';
|
|
1078
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1079
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1080
|
+
responseType_ = 'text';
|
|
1081
|
+
}
|
|
1082
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1083
|
+
responseType_ = 'json';
|
|
1084
|
+
}
|
|
1085
|
+
else {
|
|
1086
|
+
responseType_ = 'blob';
|
|
1087
|
+
}
|
|
1088
|
+
}
|
|
1089
|
+
let localVarPath = `/dcs/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/`;
|
|
1090
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
1091
|
+
context: localVarHttpContext,
|
|
1092
|
+
params: localVarQueryParameters,
|
|
1093
|
+
responseType: responseType_,
|
|
1094
|
+
withCredentials: this.configuration.withCredentials,
|
|
1095
|
+
headers: localVarHeaders,
|
|
1096
|
+
observe: observe,
|
|
1097
|
+
transferCache: localVarTransferCache,
|
|
1098
|
+
reportProgress: reportProgress
|
|
1099
|
+
});
|
|
1100
|
+
}
|
|
1101
|
+
getDcs($skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
|
|
1102
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
1103
|
+
if ($skip !== undefined && $skip !== null) {
|
|
1104
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $skip, '$skip');
|
|
1105
|
+
}
|
|
1106
|
+
if ($top !== undefined && $top !== null) {
|
|
1107
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $top, '$top');
|
|
1108
|
+
}
|
|
1109
|
+
if ($orderby !== undefined && $orderby !== null) {
|
|
1110
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $orderby, '$orderby');
|
|
1111
|
+
}
|
|
1112
|
+
if ($filter !== undefined && $filter !== null) {
|
|
1113
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $filter, '$filter');
|
|
1114
|
+
}
|
|
1115
|
+
if ($search !== undefined && $search !== null) {
|
|
1116
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $search, '$search');
|
|
1117
|
+
}
|
|
1118
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1119
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
1120
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
1121
|
+
// to determine the Accept header
|
|
1122
|
+
const httpHeaderAccepts = [
|
|
1123
|
+
'application/json'
|
|
1124
|
+
];
|
|
1125
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1126
|
+
}
|
|
1127
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1128
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1129
|
+
}
|
|
1130
|
+
let localVarHttpContext = options && options.context;
|
|
1131
|
+
if (localVarHttpContext === undefined) {
|
|
1132
|
+
localVarHttpContext = new HttpContext();
|
|
1133
|
+
}
|
|
1134
|
+
let localVarTransferCache = options && options.transferCache;
|
|
1135
|
+
if (localVarTransferCache === undefined) {
|
|
1136
|
+
localVarTransferCache = true;
|
|
1137
|
+
}
|
|
1138
|
+
let responseType_ = 'json';
|
|
1139
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1140
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1141
|
+
responseType_ = 'text';
|
|
1142
|
+
}
|
|
1143
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1144
|
+
responseType_ = 'json';
|
|
1145
|
+
}
|
|
1146
|
+
else {
|
|
1147
|
+
responseType_ = 'blob';
|
|
1148
|
+
}
|
|
1149
|
+
}
|
|
1150
|
+
let localVarPath = `/dcs`;
|
|
1151
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
1152
|
+
context: localVarHttpContext,
|
|
1153
|
+
params: localVarQueryParameters,
|
|
1154
|
+
responseType: responseType_,
|
|
1155
|
+
withCredentials: this.configuration.withCredentials,
|
|
1156
|
+
headers: localVarHeaders,
|
|
1157
|
+
observe: observe,
|
|
1158
|
+
transferCache: localVarTransferCache,
|
|
1159
|
+
reportProgress: reportProgress
|
|
1160
|
+
});
|
|
1161
|
+
}
|
|
1037
1162
|
getDispatchSummary(clientIds, orderTypes, observe = 'body', reportProgress = false, options) {
|
|
1038
1163
|
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
1039
1164
|
if (clientIds) {
|
|
@@ -3886,6 +4011,16 @@ const APIS = [AnalyticsService, CompaniesService, DcsService, DeliveriesService,
|
|
|
3886
4011
|
* Do not edit the class manually.
|
|
3887
4012
|
*/
|
|
3888
4013
|
|
|
4014
|
+
/**
|
|
4015
|
+
* Wms.API.Client
|
|
4016
|
+
*
|
|
4017
|
+
*
|
|
4018
|
+
*
|
|
4019
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
4020
|
+
* https://openapi-generator.tech
|
|
4021
|
+
* Do not edit the class manually.
|
|
4022
|
+
*/
|
|
4023
|
+
|
|
3889
4024
|
/**
|
|
3890
4025
|
* Wms.API.Client
|
|
3891
4026
|
*
|