@indigina/wms-api 0.0.134 → 0.0.135
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
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @indigina/wms-api@0.0.
|
|
1
|
+
# @indigina/wms-api@0.0.135
|
|
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.135 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
|
@@ -3131,50 +3131,6 @@ class DispatchesService extends BaseService {
|
|
|
3131
3131
|
reportProgress: reportProgress
|
|
3132
3132
|
});
|
|
3133
3133
|
}
|
|
3134
|
-
getOwnerCompanyIdsWithoutDispatches(orderStatus, ownerCompanyIds, observe = 'body', reportProgress = false, options) {
|
|
3135
|
-
if (orderStatus === null || orderStatus === undefined) {
|
|
3136
|
-
throw new Error('Required parameter orderStatus was null or undefined when calling getOwnerCompanyIdsWithoutDispatches.');
|
|
3137
|
-
}
|
|
3138
|
-
if (ownerCompanyIds === null || ownerCompanyIds === undefined) {
|
|
3139
|
-
throw new Error('Required parameter ownerCompanyIds was null or undefined when calling getOwnerCompanyIdsWithoutDispatches.');
|
|
3140
|
-
}
|
|
3141
|
-
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
3142
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'orderStatus', orderStatus, QueryParamStyle.Form, true);
|
|
3143
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'ownerCompanyIds', ownerCompanyIds, QueryParamStyle.Form, true);
|
|
3144
|
-
let localVarHeaders = this.defaultHeaders;
|
|
3145
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
3146
|
-
'application/json'
|
|
3147
|
-
]);
|
|
3148
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
3149
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
3150
|
-
}
|
|
3151
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
3152
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
3153
|
-
let responseType_ = 'json';
|
|
3154
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
3155
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
3156
|
-
responseType_ = 'text';
|
|
3157
|
-
}
|
|
3158
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
3159
|
-
responseType_ = 'json';
|
|
3160
|
-
}
|
|
3161
|
-
else {
|
|
3162
|
-
responseType_ = 'blob';
|
|
3163
|
-
}
|
|
3164
|
-
}
|
|
3165
|
-
let localVarPath = `/dispatches/owner-companies/without-dispatch`;
|
|
3166
|
-
const { basePath, withCredentials } = this.configuration;
|
|
3167
|
-
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
3168
|
-
context: localVarHttpContext,
|
|
3169
|
-
params: localVarQueryParameters.toHttpParams(),
|
|
3170
|
-
responseType: responseType_,
|
|
3171
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
3172
|
-
headers: localVarHeaders,
|
|
3173
|
-
observe: observe,
|
|
3174
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
3175
|
-
reportProgress: reportProgress
|
|
3176
|
-
});
|
|
3177
|
-
}
|
|
3178
3134
|
getPrintDetails(id, observe = 'body', reportProgress = false, options) {
|
|
3179
3135
|
if (id === null || id === undefined) {
|
|
3180
3136
|
throw new Error('Required parameter id was null or undefined when calling getPrintDetails.');
|