@indigina/wms-api 0.0.132 → 0.0.134

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.132
1
+ # @indigina/wms-api@0.0.134
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.132 --save
27
+ npm install @indigina/wms-api@0.0.134 --save
28
28
  ```
29
29
 
30
30
  _without publishing (not recommended):_
@@ -3131,6 +3131,50 @@ 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
+ }
3134
3178
  getPrintDetails(id, observe = 'body', reportProgress = false, options) {
3135
3179
  if (id === null || id === undefined) {
3136
3180
  throw new Error('Required parameter id was null or undefined when calling getPrintDetails.');
@@ -6093,7 +6137,7 @@ class UserPrintersService extends BaseService {
6093
6137
  reportProgress: reportProgress
6094
6138
  });
6095
6139
  }
6096
- updateUserPrinters(userPrinter, observe = 'body', reportProgress = false, options) {
6140
+ updateUserPrinters(userPrinterUpdateModel, observe = 'body', reportProgress = false, options) {
6097
6141
  let localVarHeaders = this.defaultHeaders;
6098
6142
  const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
6099
6143
  if (localVarHttpHeaderAcceptSelected !== undefined) {
@@ -6125,7 +6169,7 @@ class UserPrintersService extends BaseService {
6125
6169
  const { basePath, withCredentials } = this.configuration;
6126
6170
  return this.httpClient.request('put', `${basePath}${localVarPath}`, {
6127
6171
  context: localVarHttpContext,
6128
- body: userPrinter,
6172
+ body: userPrinterUpdateModel,
6129
6173
  responseType: responseType_,
6130
6174
  ...(withCredentials ? { withCredentials } : {}),
6131
6175
  headers: localVarHeaders,