@indigina/dcm-api 0.0.98 → 0.0.100
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.100
|
|
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.100 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
|
@@ -2723,6 +2723,40 @@ class ReportsService extends BaseService {
|
|
|
2723
2723
|
reportProgress: reportProgress
|
|
2724
2724
|
});
|
|
2725
2725
|
}
|
|
2726
|
+
getDcmVesselTrackerReports(observe = 'body', reportProgress = false, options) {
|
|
2727
|
+
let localVarHeaders = this.defaultHeaders;
|
|
2728
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
2729
|
+
'application/json'
|
|
2730
|
+
]);
|
|
2731
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2732
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
2733
|
+
}
|
|
2734
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2735
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
2736
|
+
let responseType_ = 'json';
|
|
2737
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
2738
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
2739
|
+
responseType_ = 'text';
|
|
2740
|
+
}
|
|
2741
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2742
|
+
responseType_ = 'json';
|
|
2743
|
+
}
|
|
2744
|
+
else {
|
|
2745
|
+
responseType_ = 'blob';
|
|
2746
|
+
}
|
|
2747
|
+
}
|
|
2748
|
+
let localVarPath = `/reports/dashboard-vessel-tracker`;
|
|
2749
|
+
const { basePath, withCredentials } = this.configuration;
|
|
2750
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
2751
|
+
context: localVarHttpContext,
|
|
2752
|
+
responseType: responseType_,
|
|
2753
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
2754
|
+
headers: localVarHeaders,
|
|
2755
|
+
observe: observe,
|
|
2756
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
2757
|
+
reportProgress: reportProgress
|
|
2758
|
+
});
|
|
2759
|
+
}
|
|
2726
2760
|
getSummaryDashboardReports(observe = 'body', reportProgress = false, options) {
|
|
2727
2761
|
let localVarHeaders = this.defaultHeaders;
|
|
2728
2762
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|