@indigina/dcm-api 0.0.100 → 0.0.103
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.
|
|
1
|
+
# @indigina/dcm-api@0.0.103
|
|
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.
|
|
27
|
+
npm install @indigina/dcm-api@0.0.103 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
|
@@ -2300,6 +2300,47 @@ class PoItemsService extends BaseService {
|
|
|
2300
2300
|
reportProgress: reportProgress
|
|
2301
2301
|
});
|
|
2302
2302
|
}
|
|
2303
|
+
getProductsShippingDetails($skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
|
|
2304
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
2305
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
|
|
2306
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
|
|
2307
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
|
|
2308
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$filter', $filter, QueryParamStyle.Form, true);
|
|
2309
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$search', $search, QueryParamStyle.Form, true);
|
|
2310
|
+
let localVarHeaders = this.defaultHeaders;
|
|
2311
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
2312
|
+
'application/json'
|
|
2313
|
+
]);
|
|
2314
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2315
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
2316
|
+
}
|
|
2317
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2318
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
2319
|
+
let responseType_ = 'json';
|
|
2320
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
2321
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
2322
|
+
responseType_ = 'text';
|
|
2323
|
+
}
|
|
2324
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2325
|
+
responseType_ = 'json';
|
|
2326
|
+
}
|
|
2327
|
+
else {
|
|
2328
|
+
responseType_ = 'blob';
|
|
2329
|
+
}
|
|
2330
|
+
}
|
|
2331
|
+
let localVarPath = `/poItems/productsShippingDetails`;
|
|
2332
|
+
const { basePath, withCredentials } = this.configuration;
|
|
2333
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
2334
|
+
context: localVarHttpContext,
|
|
2335
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
2336
|
+
responseType: responseType_,
|
|
2337
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
2338
|
+
headers: localVarHeaders,
|
|
2339
|
+
observe: observe,
|
|
2340
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
2341
|
+
reportProgress: reportProgress
|
|
2342
|
+
});
|
|
2343
|
+
}
|
|
2303
2344
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PoItemsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2304
2345
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PoItemsService, providedIn: 'root' });
|
|
2305
2346
|
}
|