@indigina/dcm-api 0.0.95 → 0.0.96

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.95
1
+ # @indigina/dcm-api@0.0.96
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.95 --save
27
+ npm install @indigina/dcm-api@0.0.96 --save
28
28
  ```
29
29
 
30
30
  _without publishing (not recommended):_
@@ -2411,6 +2411,47 @@ class PurchaseOrdersService extends BaseService {
2411
2411
  reportProgress: reportProgress
2412
2412
  });
2413
2413
  }
2414
+ getProductsFromIndex($skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
2415
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
2416
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
2417
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
2418
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
2419
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$filter', $filter, QueryParamStyle.Form, true);
2420
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$search', $search, QueryParamStyle.Form, true);
2421
+ let localVarHeaders = this.defaultHeaders;
2422
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
2423
+ 'application/json'
2424
+ ]);
2425
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
2426
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
2427
+ }
2428
+ const localVarHttpContext = options?.context ?? new HttpContext();
2429
+ const localVarTransferCache = options?.transferCache ?? true;
2430
+ let responseType_ = 'json';
2431
+ if (localVarHttpHeaderAcceptSelected) {
2432
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
2433
+ responseType_ = 'text';
2434
+ }
2435
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
2436
+ responseType_ = 'json';
2437
+ }
2438
+ else {
2439
+ responseType_ = 'blob';
2440
+ }
2441
+ }
2442
+ let localVarPath = `/purchaseOrders/products/search`;
2443
+ const { basePath, withCredentials } = this.configuration;
2444
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
2445
+ context: localVarHttpContext,
2446
+ params: localVarQueryParameters.toHttpParams(),
2447
+ responseType: responseType_,
2448
+ ...(withCredentials ? { withCredentials } : {}),
2449
+ headers: localVarHeaders,
2450
+ observe: observe,
2451
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2452
+ reportProgress: reportProgress
2453
+ });
2454
+ }
2414
2455
  getPurchaseOrderProducts(id, $skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
2415
2456
  if (id === null || id === undefined) {
2416
2457
  throw new Error('Required parameter id was null or undefined when calling getPurchaseOrderProducts.');