@indigina/dcm-api 0.0.99 → 0.0.102
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.102
|
|
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.102 --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
|
}
|
|
@@ -2723,6 +2764,40 @@ class ReportsService extends BaseService {
|
|
|
2723
2764
|
reportProgress: reportProgress
|
|
2724
2765
|
});
|
|
2725
2766
|
}
|
|
2767
|
+
getDcmVesselTrackerReports(observe = 'body', reportProgress = false, options) {
|
|
2768
|
+
let localVarHeaders = this.defaultHeaders;
|
|
2769
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
2770
|
+
'application/json'
|
|
2771
|
+
]);
|
|
2772
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2773
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
2774
|
+
}
|
|
2775
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2776
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
2777
|
+
let responseType_ = 'json';
|
|
2778
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
2779
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
2780
|
+
responseType_ = 'text';
|
|
2781
|
+
}
|
|
2782
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2783
|
+
responseType_ = 'json';
|
|
2784
|
+
}
|
|
2785
|
+
else {
|
|
2786
|
+
responseType_ = 'blob';
|
|
2787
|
+
}
|
|
2788
|
+
}
|
|
2789
|
+
let localVarPath = `/reports/dashboard-vessel-tracker`;
|
|
2790
|
+
const { basePath, withCredentials } = this.configuration;
|
|
2791
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
2792
|
+
context: localVarHttpContext,
|
|
2793
|
+
responseType: responseType_,
|
|
2794
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
2795
|
+
headers: localVarHeaders,
|
|
2796
|
+
observe: observe,
|
|
2797
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
2798
|
+
reportProgress: reportProgress
|
|
2799
|
+
});
|
|
2800
|
+
}
|
|
2726
2801
|
getSummaryDashboardReports(observe = 'body', reportProgress = false, options) {
|
|
2727
2802
|
let localVarHeaders = this.defaultHeaders;
|
|
2728
2803
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|