@indigina/dcm-api 0.0.89 → 0.0.90

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.89
1
+ # @indigina/dcm-api@0.0.90
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.89 --save
27
+ npm install @indigina/dcm-api@0.0.90 --save
28
28
  ```
29
29
 
30
30
  _without publishing (not recommended):_
@@ -2303,6 +2303,47 @@ class PurchaseOrdersService extends BaseService {
2303
2303
  reportProgress: reportProgress
2304
2304
  });
2305
2305
  }
2306
+ getProducts($skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
2307
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
2308
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
2309
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
2310
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
2311
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$filter', $filter, QueryParamStyle.Form, true);
2312
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$search', $search, QueryParamStyle.Form, true);
2313
+ let localVarHeaders = this.defaultHeaders;
2314
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
2315
+ 'application/json'
2316
+ ]);
2317
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
2318
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
2319
+ }
2320
+ const localVarHttpContext = options?.context ?? new HttpContext();
2321
+ const localVarTransferCache = options?.transferCache ?? true;
2322
+ let responseType_ = 'json';
2323
+ if (localVarHttpHeaderAcceptSelected) {
2324
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
2325
+ responseType_ = 'text';
2326
+ }
2327
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
2328
+ responseType_ = 'json';
2329
+ }
2330
+ else {
2331
+ responseType_ = 'blob';
2332
+ }
2333
+ }
2334
+ let localVarPath = `/purchaseOrders/products`;
2335
+ const { basePath, withCredentials } = this.configuration;
2336
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
2337
+ context: localVarHttpContext,
2338
+ params: localVarQueryParameters.toHttpParams(),
2339
+ responseType: responseType_,
2340
+ ...(withCredentials ? { withCredentials } : {}),
2341
+ headers: localVarHeaders,
2342
+ observe: observe,
2343
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2344
+ reportProgress: reportProgress
2345
+ });
2346
+ }
2306
2347
  getPurchaseOrderProducts(id, $skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
2307
2348
  if (id === null || id === undefined) {
2308
2349
  throw new Error('Required parameter id was null or undefined when calling getPurchaseOrderProducts.');
@@ -4331,6 +4372,16 @@ const PowerBiTenant = {
4331
4372
  Others: 'Others'
4332
4373
  };
4333
4374
 
4375
+ /**
4376
+ * Dcm.API.Client
4377
+ *
4378
+ *
4379
+ *
4380
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4381
+ * https://openapi-generator.tech
4382
+ * Do not edit the class manually.
4383
+ */
4384
+
4334
4385
  /**
4335
4386
  * Dcm.API.Client
4336
4387
  *