@indigina/wms-api 0.0.42 → 0.0.43

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/wms-api@0.0.42
1
+ # @indigina/wms-api@0.0.43
2
2
 
3
3
  WMS 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/wms-api@0.0.42 --save
27
+ npm install @indigina/wms-api@0.0.43 --save
28
28
  ```
29
29
 
30
30
  _without publishing (not recommended):_
@@ -1,6 +1,6 @@
1
1
  import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
2
2
  import { Observable } from 'rxjs';
3
- import { SummaryDashboardReports } from '../model/summaryDashboardReports';
3
+ import { EmbedReport } from '../model/embedReport';
4
4
  import { Configuration } from '../configuration';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class SummaryService {
@@ -14,24 +14,25 @@ export declare class SummaryService {
14
14
  private addToHttpParamsRecursive;
15
15
  /**
16
16
  * Request WMS summary dashboard report embedding links
17
+ * @param dashboardName The name of the dashboard report to retrieve
17
18
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
18
19
  * @param reportProgress flag to report request and response progress.
19
20
  */
20
- getSummaryDashboardReports(observe?: 'body', reportProgress?: boolean, options?: {
21
+ getSummaryDashboardReport(dashboardName: string, observe?: 'body', reportProgress?: boolean, options?: {
21
22
  httpHeaderAccept?: 'application/json';
22
23
  context?: HttpContext;
23
24
  transferCache?: boolean;
24
- }): Observable<SummaryDashboardReports>;
25
- getSummaryDashboardReports(observe?: 'response', reportProgress?: boolean, options?: {
25
+ }): Observable<EmbedReport>;
26
+ getSummaryDashboardReport(dashboardName: string, observe?: 'response', reportProgress?: boolean, options?: {
26
27
  httpHeaderAccept?: 'application/json';
27
28
  context?: HttpContext;
28
29
  transferCache?: boolean;
29
- }): Observable<HttpResponse<SummaryDashboardReports>>;
30
- getSummaryDashboardReports(observe?: 'events', reportProgress?: boolean, options?: {
30
+ }): Observable<HttpResponse<EmbedReport>>;
31
+ getSummaryDashboardReport(dashboardName: string, observe?: 'events', reportProgress?: boolean, options?: {
31
32
  httpHeaderAccept?: 'application/json';
32
33
  context?: HttpContext;
33
34
  transferCache?: boolean;
34
- }): Observable<HttpEvent<SummaryDashboardReports>>;
35
+ }): Observable<HttpEvent<EmbedReport>>;
35
36
  static ɵfac: i0.ɵɵFactoryDeclaration<SummaryService, [null, { optional: true; }, { optional: true; }]>;
36
37
  static ɵprov: i0.ɵɵInjectableDeclaration<SummaryService>;
37
38
  }
@@ -2211,7 +2211,10 @@ class SummaryService {
2211
2211
  }
2212
2212
  return httpParams;
2213
2213
  }
2214
- getSummaryDashboardReports(observe = 'body', reportProgress = false, options) {
2214
+ getSummaryDashboardReport(dashboardName, observe = 'body', reportProgress = false, options) {
2215
+ if (dashboardName === null || dashboardName === undefined) {
2216
+ throw new Error('Required parameter dashboardName was null or undefined when calling getSummaryDashboardReport.');
2217
+ }
2215
2218
  let localVarHeaders = this.defaultHeaders;
2216
2219
  let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
2217
2220
  if (localVarHttpHeaderAcceptSelected === undefined) {