@indigina/wms-api 0.0.136 → 0.0.137

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.136
1
+ # @indigina/wms-api@0.0.137
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.136 --save
27
+ npm install @indigina/wms-api@0.0.137 --save
28
28
  ```
29
29
 
30
30
  _without publishing (not recommended):_
@@ -3863,7 +3863,7 @@ class PrintersService extends BaseService {
3863
3863
  reportProgress: reportProgress
3864
3864
  });
3865
3865
  }
3866
- getPrintTypePrinterTrays(id, $skip, $top, $orderby, $filter, observe = 'body', reportProgress = false, options) {
3866
+ getPrintTypePrinterTrays(id, $skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
3867
3867
  if (id === null || id === undefined) {
3868
3868
  throw new Error('Required parameter id was null or undefined when calling getPrintTypePrinterTrays.');
3869
3869
  }
@@ -3872,6 +3872,7 @@ class PrintersService extends BaseService {
3872
3872
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
3873
3873
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
3874
3874
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$filter', $filter, QueryParamStyle.Form, true);
3875
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$search', $search, QueryParamStyle.Form, true);
3875
3876
  let localVarHeaders = this.defaultHeaders;
3876
3877
  const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
3877
3878
  'application/json'
@@ -3943,7 +3944,7 @@ class PrintersService extends BaseService {
3943
3944
  reportProgress: reportProgress
3944
3945
  });
3945
3946
  }
3946
- getPrinterTrays(id, $skip, $top, $orderby, $filter, observe = 'body', reportProgress = false, options) {
3947
+ getPrinterTrays(id, $skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
3947
3948
  if (id === null || id === undefined) {
3948
3949
  throw new Error('Required parameter id was null or undefined when calling getPrinterTrays.');
3949
3950
  }
@@ -3952,6 +3953,7 @@ class PrintersService extends BaseService {
3952
3953
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
3953
3954
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
3954
3955
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$filter', $filter, QueryParamStyle.Form, true);
3956
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$search', $search, QueryParamStyle.Form, true);
3955
3957
  let localVarHeaders = this.defaultHeaders;
3956
3958
  const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
3957
3959
  'application/json'
@@ -4027,6 +4029,47 @@ class PrintersService extends BaseService {
4027
4029
  reportProgress: reportProgress
4028
4030
  });
4029
4031
  }
4032
+ getPrintersFromIndex($skip, $top, $orderby, $filter, searchTerm, observe = 'body', reportProgress = false, options) {
4033
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
4034
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
4035
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
4036
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
4037
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$filter', $filter, QueryParamStyle.Form, true);
4038
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'searchTerm', searchTerm, QueryParamStyle.Form, true);
4039
+ let localVarHeaders = this.defaultHeaders;
4040
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
4041
+ 'application/json'
4042
+ ]);
4043
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
4044
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
4045
+ }
4046
+ const localVarHttpContext = options?.context ?? new HttpContext();
4047
+ const localVarTransferCache = options?.transferCache ?? true;
4048
+ let responseType_ = 'json';
4049
+ if (localVarHttpHeaderAcceptSelected) {
4050
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
4051
+ responseType_ = 'text';
4052
+ }
4053
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
4054
+ responseType_ = 'json';
4055
+ }
4056
+ else {
4057
+ responseType_ = 'blob';
4058
+ }
4059
+ }
4060
+ let localVarPath = `/printers/search`;
4061
+ const { basePath, withCredentials } = this.configuration;
4062
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
4063
+ context: localVarHttpContext,
4064
+ params: localVarQueryParameters.toHttpParams(),
4065
+ responseType: responseType_,
4066
+ ...(withCredentials ? { withCredentials } : {}),
4067
+ headers: localVarHeaders,
4068
+ observe: observe,
4069
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
4070
+ reportProgress: reportProgress
4071
+ });
4072
+ }
4030
4073
  updatePrintTypePrinterTrays(id, printTypePrinterTrayUpdateModel, observe = 'body', reportProgress = false, options) {
4031
4074
  if (id === null || id === undefined) {
4032
4075
  throw new Error('Required parameter id was null or undefined when calling updatePrintTypePrinterTrays.');