@indigina/dcm-api 0.0.96 → 0.0.98

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/dcm-api@0.0.96
1
+ # @indigina/dcm-api@0.0.98
2
2
 
3
3
  DCM 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/dcm-api@0.0.96 --save
27
+ npm install @indigina/dcm-api@0.0.98 --save
28
28
  ```
29
29
 
30
30
  _without publishing (not recommended):_
@@ -2411,13 +2411,13 @@ class PurchaseOrdersService extends BaseService {
2411
2411
  reportProgress: reportProgress
2412
2412
  });
2413
2413
  }
2414
- getProductsFromIndex($skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
2414
+ getProductsFromIndex($skip, $top, $orderby, $filter, searchTerm, observe = 'body', reportProgress = false, options) {
2415
2415
  let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
2416
2416
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
2417
2417
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
2418
2418
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
2419
2419
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$filter', $filter, QueryParamStyle.Form, true);
2420
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$search', $search, QueryParamStyle.Form, true);
2420
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'searchTerm', searchTerm, QueryParamStyle.Form, true);
2421
2421
  let localVarHeaders = this.defaultHeaders;
2422
2422
  const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
2423
2423
  'application/json'
@@ -3218,10 +3218,12 @@ class ShipmentsService extends BaseService {
3218
3218
  reportProgress: reportProgress
3219
3219
  });
3220
3220
  }
3221
- getShipmentProductTotals(shipmentId, observe = 'body', reportProgress = false, options) {
3221
+ getShipmentProductTotals(shipmentId, containerId, observe = 'body', reportProgress = false, options) {
3222
3222
  if (shipmentId === null || shipmentId === undefined) {
3223
3223
  throw new Error('Required parameter shipmentId was null or undefined when calling getShipmentProductTotals.');
3224
3224
  }
3225
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
3226
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'containerId', containerId, QueryParamStyle.Form, true);
3225
3227
  let localVarHeaders = this.defaultHeaders;
3226
3228
  const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
3227
3229
  'application/json'
@@ -3247,6 +3249,7 @@ class ShipmentsService extends BaseService {
3247
3249
  const { basePath, withCredentials } = this.configuration;
3248
3250
  return this.httpClient.request('get', `${basePath}${localVarPath}`, {
3249
3251
  context: localVarHttpContext,
3252
+ params: localVarQueryParameters.toHttpParams(),
3250
3253
  responseType: responseType_,
3251
3254
  ...(withCredentials ? { withCredentials } : {}),
3252
3255
  headers: localVarHeaders,