@indigina/wms-api 0.0.35 → 0.0.37
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 +35 -27
- package/api/{reports.service.d.ts → analytics.service.d.ts} +103 -35
- package/api/api.d.ts +5 -3
- package/api/summary.service.d.ts +37 -0
- package/fesm2022/indigina-wms-api.mjs +584 -283
- package/fesm2022/indigina-wms-api.mjs.map +1 -1
- package/model/applicationSetting.d.ts +0 -1
- package/model/commandStatusResult.d.ts +0 -1
- package/model/countingSummary.d.ts +0 -1
- package/model/currentUser.d.ts +0 -1
- package/model/dispatchSummary.d.ts +0 -1
- package/model/embedReport.d.ts +1 -2
- package/model/embedTokenDto.d.ts +0 -1
- package/model/failures.d.ts +0 -1
- package/model/group.d.ts +19 -0
- package/model/modelError.d.ts +0 -1
- package/model/models.d.ts +2 -5
- package/model/receivingSummary.d.ts +0 -1
- package/model/replenishmentSummary.d.ts +0 -1
- package/model/report.d.ts +26 -0
- package/model/setNewFeaturesVisibilityCommand.d.ts +0 -1
- package/model/summaryDashboardReports.d.ts +0 -1
- package/model/userApplication.d.ts +0 -1
- package/model/userApplications.d.ts +0 -1
- package/model/userPermissions.d.ts +0 -1
- package/package.json +2 -4
- package/esm2022/api/api.mjs +0 -12
- package/esm2022/api/dcs.service.mjs +0 -274
- package/esm2022/api/health.service.mjs +0 -143
- package/esm2022/api/permissions.service.mjs +0 -142
- package/esm2022/api/reports.service.mjs +0 -379
- package/esm2022/api/user.service.mjs +0 -286
- package/esm2022/api.module.mjs +0 -40
- package/esm2022/configuration.mjs +0 -121
- package/esm2022/encoder.mjs +0 -19
- package/esm2022/index.mjs +0 -7
- package/esm2022/indigina-wms-api.mjs +0 -5
- package/esm2022/model/applicationSetting.mjs +0 -12
- package/esm2022/model/column.mjs +0 -2
- package/esm2022/model/commandStatusResult.mjs +0 -12
- package/esm2022/model/countingSummary.mjs +0 -12
- package/esm2022/model/currentUser.mjs +0 -12
- package/esm2022/model/dispatchSummary.mjs +0 -12
- package/esm2022/model/embedReport.mjs +0 -2
- package/esm2022/model/embedReportInfoModel.mjs +0 -2
- package/esm2022/model/embedTokenDto.mjs +0 -12
- package/esm2022/model/failures.mjs +0 -12
- package/esm2022/model/modelError.mjs +0 -2
- package/esm2022/model/models.mjs +0 -22
- package/esm2022/model/powerBiTenant.mjs +0 -15
- package/esm2022/model/receivingSummary.mjs +0 -12
- package/esm2022/model/replenishmentSummary.mjs +0 -12
- package/esm2022/model/reportResponse.mjs +0 -2
- package/esm2022/model/reportTabs.mjs +0 -2
- package/esm2022/model/setNewFeaturesVisibilityCommand.mjs +0 -12
- package/esm2022/model/summaryDashboardReports.mjs +0 -2
- package/esm2022/model/userApplication.mjs +0 -12
- package/esm2022/model/userApplications.mjs +0 -2
- package/esm2022/model/userPermissions.mjs +0 -12
- package/esm2022/param.mjs +0 -2
- package/esm2022/variables.mjs +0 -9
- package/model/column.d.ts +0 -15
- package/model/embedReportInfoModel.d.ts +0 -27
- package/model/powerBiTenant.d.ts +0 -15
- package/model/reportResponse.d.ts +0 -15
- package/model/reportTabs.d.ts +0 -15
package/README.md
CHANGED
|
@@ -1,32 +1,35 @@
|
|
|
1
|
-
|
|
1
|
+
# @indigina/wms-api@0.0.37
|
|
2
|
+
|
|
3
|
+
WMS API Client for Angular applications
|
|
2
4
|
|
|
3
5
|
The version of the OpenAPI document: v1
|
|
4
6
|
|
|
5
|
-
|
|
7
|
+
## Building
|
|
6
8
|
|
|
7
9
|
To install the required dependencies and to build the typescript sources run:
|
|
8
|
-
|
|
10
|
+
|
|
11
|
+
```console
|
|
9
12
|
npm install
|
|
10
13
|
npm run build
|
|
11
14
|
```
|
|
12
15
|
|
|
13
|
-
|
|
16
|
+
## Publishing
|
|
14
17
|
|
|
15
|
-
First build the package then run
|
|
18
|
+
First build the package then run `npm publish dist` (don't forget to specify the `dist` folder!)
|
|
16
19
|
|
|
17
|
-
|
|
20
|
+
## Consuming
|
|
18
21
|
|
|
19
22
|
Navigate to the folder of your consuming project and run one of next commands.
|
|
20
23
|
|
|
21
24
|
_published:_
|
|
22
25
|
|
|
23
|
-
```
|
|
24
|
-
npm install @indigina/wms-api@0.0.
|
|
26
|
+
```console
|
|
27
|
+
npm install @indigina/wms-api@0.0.37 --save
|
|
25
28
|
```
|
|
26
29
|
|
|
27
30
|
_without publishing (not recommended):_
|
|
28
31
|
|
|
29
|
-
```
|
|
32
|
+
```console
|
|
30
33
|
npm install PATH_TO_GENERATED_PACKAGE/dist.tgz --save
|
|
31
34
|
```
|
|
32
35
|
|
|
@@ -35,26 +38,26 @@ _It's important to take the tgz file, otherwise you'll get trouble with links on
|
|
|
35
38
|
_using `npm link`:_
|
|
36
39
|
|
|
37
40
|
In PATH_TO_GENERATED_PACKAGE/dist:
|
|
38
|
-
|
|
41
|
+
|
|
42
|
+
```console
|
|
39
43
|
npm link
|
|
40
44
|
```
|
|
41
45
|
|
|
42
46
|
In your project:
|
|
43
|
-
|
|
47
|
+
|
|
48
|
+
```console
|
|
44
49
|
npm link @indigina/wms-api
|
|
45
50
|
```
|
|
46
51
|
|
|
47
52
|
__Note for Windows users:__ The Angular CLI has troubles to use linked npm packages.
|
|
48
|
-
Please refer to this issue https://github.com/angular/angular-cli/issues/8284 for a solution / workaround.
|
|
53
|
+
Please refer to this issue <https://github.com/angular/angular-cli/issues/8284> for a solution / workaround.
|
|
49
54
|
Published packages are not effected by this issue.
|
|
50
55
|
|
|
51
|
-
|
|
52
|
-
#### General usage
|
|
56
|
+
### General usage
|
|
53
57
|
|
|
54
58
|
In your Angular project:
|
|
55
59
|
|
|
56
|
-
|
|
57
|
-
```
|
|
60
|
+
```typescript
|
|
58
61
|
// without configuring providers
|
|
59
62
|
import { ApiModule } from '@indigina/wms-api';
|
|
60
63
|
import { HttpClientModule } from '@angular/common/http';
|
|
@@ -73,7 +76,7 @@ import { HttpClientModule } from '@angular/common/http';
|
|
|
73
76
|
export class AppModule {}
|
|
74
77
|
```
|
|
75
78
|
|
|
76
|
-
```
|
|
79
|
+
```typescript
|
|
77
80
|
// configuring providers
|
|
78
81
|
import { ApiModule, Configuration, ConfigurationParameters } from '@indigina/wms-api';
|
|
79
82
|
|
|
@@ -93,7 +96,7 @@ export function apiConfigFactory (): Configuration {
|
|
|
93
96
|
export class AppModule {}
|
|
94
97
|
```
|
|
95
98
|
|
|
96
|
-
```
|
|
99
|
+
```typescript
|
|
97
100
|
// configuring providers with an authentication service that manages your access tokens
|
|
98
101
|
import { ApiModule, Configuration } from '@indigina/wms-api';
|
|
99
102
|
|
|
@@ -118,7 +121,7 @@ import { ApiModule, Configuration } from '@indigina/wms-api';
|
|
|
118
121
|
export class AppModule {}
|
|
119
122
|
```
|
|
120
123
|
|
|
121
|
-
```
|
|
124
|
+
```typescript
|
|
122
125
|
import { DefaultApi } from '@indigina/wms-api';
|
|
123
126
|
|
|
124
127
|
export class AppComponent {
|
|
@@ -129,11 +132,13 @@ export class AppComponent {
|
|
|
129
132
|
Note: The ApiModule is restricted to being instantiated once app wide.
|
|
130
133
|
This is to ensure that all services are treated as singletons.
|
|
131
134
|
|
|
132
|
-
|
|
135
|
+
### Using multiple OpenAPI files / APIs / ApiModules
|
|
136
|
+
|
|
133
137
|
In order to use multiple `ApiModules` generated from different OpenAPI files,
|
|
134
138
|
you can create an alias name when importing the modules
|
|
135
139
|
in order to avoid naming conflicts:
|
|
136
|
-
|
|
140
|
+
|
|
141
|
+
```typescript
|
|
137
142
|
import { ApiModule } from 'my-api-path';
|
|
138
143
|
import { ApiModule as OtherApiModule } from 'my-other-api-path';
|
|
139
144
|
import { HttpClientModule } from '@angular/common/http';
|
|
@@ -152,20 +157,21 @@ export class AppModule {
|
|
|
152
157
|
}
|
|
153
158
|
```
|
|
154
159
|
|
|
155
|
-
|
|
156
160
|
### Set service base path
|
|
161
|
+
|
|
157
162
|
If different than the generated base path, during app bootstrap, you can provide the base path to your service.
|
|
158
163
|
|
|
159
|
-
```
|
|
164
|
+
```typescript
|
|
160
165
|
import { BASE_PATH } from '@indigina/wms-api';
|
|
161
166
|
|
|
162
167
|
bootstrap(AppComponent, [
|
|
163
168
|
{ provide: BASE_PATH, useValue: 'https://your-web-service.com' },
|
|
164
169
|
]);
|
|
165
170
|
```
|
|
171
|
+
|
|
166
172
|
or
|
|
167
173
|
|
|
168
|
-
```
|
|
174
|
+
```typescript
|
|
169
175
|
import { BASE_PATH } from '@indigina/wms-api';
|
|
170
176
|
|
|
171
177
|
@NgModule({
|
|
@@ -177,11 +183,11 @@ import { BASE_PATH } from '@indigina/wms-api';
|
|
|
177
183
|
export class AppModule {}
|
|
178
184
|
```
|
|
179
185
|
|
|
186
|
+
### Using @angular/cli
|
|
180
187
|
|
|
181
|
-
#### Using @angular/cli
|
|
182
188
|
First extend your `src/environments/*.ts` files by adding the corresponding base path:
|
|
183
189
|
|
|
184
|
-
```
|
|
190
|
+
```typescript
|
|
185
191
|
export const environment = {
|
|
186
192
|
production: false,
|
|
187
193
|
API_BASE_PATH: 'http://127.0.0.1:8080'
|
|
@@ -189,7 +195,8 @@ export const environment = {
|
|
|
189
195
|
```
|
|
190
196
|
|
|
191
197
|
In the src/app/app.module.ts:
|
|
192
|
-
|
|
198
|
+
|
|
199
|
+
```typescript
|
|
193
200
|
import { BASE_PATH } from '@indigina/wms-api';
|
|
194
201
|
import { environment } from '../environments/environment';
|
|
195
202
|
|
|
@@ -217,6 +224,7 @@ pass an arrow-function or method-reference to the `encodeParam` property of the
|
|
|
217
224
|
(see [General Usage](#general-usage) above).
|
|
218
225
|
|
|
219
226
|
Example value for use in your Configuration-Provider:
|
|
227
|
+
|
|
220
228
|
```typescript
|
|
221
229
|
new Configuration({
|
|
222
230
|
encodeParam: (param: Param) => myFancyParamEncoder(param),
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { EmbedReport } from '../model/embedReport';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { Group } from '../model/group';
|
|
5
|
+
import { Report } from '../model/report';
|
|
6
6
|
import { Configuration } from '../configuration';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class
|
|
8
|
+
export declare class AnalyticsService {
|
|
9
9
|
protected httpClient: HttpClient;
|
|
10
10
|
protected basePath: string;
|
|
11
11
|
defaultHeaders: HttpHeaders;
|
|
@@ -14,6 +14,48 @@ export declare class ReportsService {
|
|
|
14
14
|
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
15
15
|
private addToHttpParams;
|
|
16
16
|
private addToHttpParamsRecursive;
|
|
17
|
+
/**
|
|
18
|
+
* Create a new report
|
|
19
|
+
* @param report
|
|
20
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
21
|
+
* @param reportProgress flag to report request and response progress.
|
|
22
|
+
*/
|
|
23
|
+
createReport(report: Report, observe?: 'body', reportProgress?: boolean, options?: {
|
|
24
|
+
httpHeaderAccept?: 'application/json';
|
|
25
|
+
context?: HttpContext;
|
|
26
|
+
transferCache?: boolean;
|
|
27
|
+
}): Observable<Report>;
|
|
28
|
+
createReport(report: Report, observe?: 'response', reportProgress?: boolean, options?: {
|
|
29
|
+
httpHeaderAccept?: 'application/json';
|
|
30
|
+
context?: HttpContext;
|
|
31
|
+
transferCache?: boolean;
|
|
32
|
+
}): Observable<HttpResponse<Report>>;
|
|
33
|
+
createReport(report: Report, observe?: 'events', reportProgress?: boolean, options?: {
|
|
34
|
+
httpHeaderAccept?: 'application/json';
|
|
35
|
+
context?: HttpContext;
|
|
36
|
+
transferCache?: boolean;
|
|
37
|
+
}): Observable<HttpEvent<Report>>;
|
|
38
|
+
/**
|
|
39
|
+
* Delete a report
|
|
40
|
+
* @param id
|
|
41
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
42
|
+
* @param reportProgress flag to report request and response progress.
|
|
43
|
+
*/
|
|
44
|
+
deleteReport(id: number, observe?: 'body', reportProgress?: boolean, options?: {
|
|
45
|
+
httpHeaderAccept?: undefined;
|
|
46
|
+
context?: HttpContext;
|
|
47
|
+
transferCache?: boolean;
|
|
48
|
+
}): Observable<any>;
|
|
49
|
+
deleteReport(id: number, observe?: 'response', reportProgress?: boolean, options?: {
|
|
50
|
+
httpHeaderAccept?: undefined;
|
|
51
|
+
context?: HttpContext;
|
|
52
|
+
transferCache?: boolean;
|
|
53
|
+
}): Observable<HttpResponse<any>>;
|
|
54
|
+
deleteReport(id: number, observe?: 'events', reportProgress?: boolean, options?: {
|
|
55
|
+
httpHeaderAccept?: undefined;
|
|
56
|
+
context?: HttpContext;
|
|
57
|
+
transferCache?: boolean;
|
|
58
|
+
}): Observable<HttpEvent<any>>;
|
|
17
59
|
/**
|
|
18
60
|
* Get Castore Weekly Reports
|
|
19
61
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
@@ -35,68 +77,70 @@ export declare class ReportsService {
|
|
|
35
77
|
transferCache?: boolean;
|
|
36
78
|
}): Observable<HttpEvent<EmbedReport>>;
|
|
37
79
|
/**
|
|
38
|
-
*
|
|
80
|
+
* Get Embedded Report Info Model
|
|
81
|
+
* @param id
|
|
82
|
+
* @param workspaceId
|
|
83
|
+
* @param powerBiTenant
|
|
39
84
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
40
85
|
* @param reportProgress flag to report request and response progress.
|
|
41
86
|
*/
|
|
42
|
-
|
|
87
|
+
getEmbedded(id: string, workspaceId: string, powerBiTenant?: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
43
88
|
httpHeaderAccept?: 'application/json';
|
|
44
89
|
context?: HttpContext;
|
|
45
90
|
transferCache?: boolean;
|
|
46
|
-
}): Observable<
|
|
47
|
-
|
|
91
|
+
}): Observable<EmbedReport>;
|
|
92
|
+
getEmbedded(id: string, workspaceId: string, powerBiTenant?: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
48
93
|
httpHeaderAccept?: 'application/json';
|
|
49
94
|
context?: HttpContext;
|
|
50
95
|
transferCache?: boolean;
|
|
51
|
-
}): Observable<HttpResponse<
|
|
52
|
-
|
|
96
|
+
}): Observable<HttpResponse<EmbedReport>>;
|
|
97
|
+
getEmbedded(id: string, workspaceId: string, powerBiTenant?: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
53
98
|
httpHeaderAccept?: 'application/json';
|
|
54
99
|
context?: HttpContext;
|
|
55
100
|
transferCache?: boolean;
|
|
56
|
-
}): Observable<HttpEvent<
|
|
101
|
+
}): Observable<HttpEvent<EmbedReport>>;
|
|
57
102
|
/**
|
|
58
|
-
* Request WMS
|
|
103
|
+
* Request WMS Group Reports
|
|
104
|
+
* @param reportName
|
|
59
105
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
60
106
|
* @param reportProgress flag to report request and response progress.
|
|
61
107
|
*/
|
|
62
|
-
|
|
108
|
+
getGroupReports(reportName: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
63
109
|
httpHeaderAccept?: 'application/json';
|
|
64
110
|
context?: HttpContext;
|
|
65
111
|
transferCache?: boolean;
|
|
66
|
-
}): Observable<
|
|
67
|
-
|
|
112
|
+
}): Observable<Array<Group>>;
|
|
113
|
+
getGroupReports(reportName: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
68
114
|
httpHeaderAccept?: 'application/json';
|
|
69
115
|
context?: HttpContext;
|
|
70
116
|
transferCache?: boolean;
|
|
71
|
-
}): Observable<HttpResponse<
|
|
72
|
-
|
|
117
|
+
}): Observable<HttpResponse<Array<Group>>>;
|
|
118
|
+
getGroupReports(reportName: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
73
119
|
httpHeaderAccept?: 'application/json';
|
|
74
120
|
context?: HttpContext;
|
|
75
121
|
transferCache?: boolean;
|
|
76
|
-
}): Observable<HttpEvent<
|
|
122
|
+
}): Observable<HttpEvent<Array<Group>>>;
|
|
77
123
|
/**
|
|
78
|
-
*
|
|
124
|
+
* Retrieve a report by ID
|
|
79
125
|
* @param id
|
|
80
|
-
* @param workspaceId
|
|
81
|
-
* @param powerBiTenant
|
|
82
126
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
83
127
|
* @param reportProgress flag to report request and response progress.
|
|
84
128
|
*/
|
|
85
|
-
|
|
129
|
+
getReportById(id: number, observe?: 'body', reportProgress?: boolean, options?: {
|
|
86
130
|
httpHeaderAccept?: 'application/json';
|
|
87
131
|
context?: HttpContext;
|
|
88
132
|
transferCache?: boolean;
|
|
89
|
-
}): Observable<
|
|
90
|
-
|
|
133
|
+
}): Observable<Report>;
|
|
134
|
+
getReportById(id: number, observe?: 'response', reportProgress?: boolean, options?: {
|
|
91
135
|
httpHeaderAccept?: 'application/json';
|
|
92
136
|
context?: HttpContext;
|
|
93
137
|
transferCache?: boolean;
|
|
94
|
-
}): Observable<HttpResponse<
|
|
95
|
-
|
|
138
|
+
}): Observable<HttpResponse<Report>>;
|
|
139
|
+
getReportById(id: number, observe?: 'events', reportProgress?: boolean, options?: {
|
|
96
140
|
httpHeaderAccept?: 'application/json';
|
|
97
141
|
context?: HttpContext;
|
|
98
142
|
transferCache?: boolean;
|
|
99
|
-
}): Observable<HttpEvent<
|
|
143
|
+
}): Observable<HttpEvent<Report>>;
|
|
100
144
|
/**
|
|
101
145
|
* Get Soho Manifest Reports
|
|
102
146
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
@@ -118,25 +162,49 @@ export declare class ReportsService {
|
|
|
118
162
|
transferCache?: boolean;
|
|
119
163
|
}): Observable<HttpEvent<EmbedReport>>;
|
|
120
164
|
/**
|
|
121
|
-
*
|
|
165
|
+
* Update WMS Group Reports
|
|
166
|
+
* @param reportName
|
|
167
|
+
* @param group
|
|
168
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
169
|
+
* @param reportProgress flag to report request and response progress.
|
|
170
|
+
*/
|
|
171
|
+
updateGroupReports(reportName: string, group: Array<Group>, observe?: 'body', reportProgress?: boolean, options?: {
|
|
172
|
+
httpHeaderAccept?: 'application/json';
|
|
173
|
+
context?: HttpContext;
|
|
174
|
+
transferCache?: boolean;
|
|
175
|
+
}): Observable<Array<Group>>;
|
|
176
|
+
updateGroupReports(reportName: string, group: Array<Group>, observe?: 'response', reportProgress?: boolean, options?: {
|
|
177
|
+
httpHeaderAccept?: 'application/json';
|
|
178
|
+
context?: HttpContext;
|
|
179
|
+
transferCache?: boolean;
|
|
180
|
+
}): Observable<HttpResponse<Array<Group>>>;
|
|
181
|
+
updateGroupReports(reportName: string, group: Array<Group>, observe?: 'events', reportProgress?: boolean, options?: {
|
|
182
|
+
httpHeaderAccept?: 'application/json';
|
|
183
|
+
context?: HttpContext;
|
|
184
|
+
transferCache?: boolean;
|
|
185
|
+
}): Observable<HttpEvent<Array<Group>>>;
|
|
186
|
+
/**
|
|
187
|
+
* Update an existing report
|
|
188
|
+
* @param id
|
|
189
|
+
* @param report
|
|
122
190
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
123
191
|
* @param reportProgress flag to report request and response progress.
|
|
124
192
|
*/
|
|
125
|
-
|
|
193
|
+
updateReport(id: number, report: Report, observe?: 'body', reportProgress?: boolean, options?: {
|
|
126
194
|
httpHeaderAccept?: 'application/json';
|
|
127
195
|
context?: HttpContext;
|
|
128
196
|
transferCache?: boolean;
|
|
129
|
-
}): Observable<
|
|
130
|
-
|
|
197
|
+
}): Observable<Report>;
|
|
198
|
+
updateReport(id: number, report: Report, observe?: 'response', reportProgress?: boolean, options?: {
|
|
131
199
|
httpHeaderAccept?: 'application/json';
|
|
132
200
|
context?: HttpContext;
|
|
133
201
|
transferCache?: boolean;
|
|
134
|
-
}): Observable<HttpResponse<
|
|
135
|
-
|
|
202
|
+
}): Observable<HttpResponse<Report>>;
|
|
203
|
+
updateReport(id: number, report: Report, observe?: 'events', reportProgress?: boolean, options?: {
|
|
136
204
|
httpHeaderAccept?: 'application/json';
|
|
137
205
|
context?: HttpContext;
|
|
138
206
|
transferCache?: boolean;
|
|
139
|
-
}): Observable<HttpEvent<
|
|
140
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
141
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
207
|
+
}): Observable<HttpEvent<Report>>;
|
|
208
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnalyticsService, [null, { optional: true; }, { optional: true; }]>;
|
|
209
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AnalyticsService>;
|
|
142
210
|
}
|
package/api/api.d.ts
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
|
+
export * from './analytics.service';
|
|
2
|
+
import { AnalyticsService } from './analytics.service';
|
|
1
3
|
export * from './dcs.service';
|
|
2
4
|
import { DcsService } from './dcs.service';
|
|
3
5
|
export * from './health.service';
|
|
4
6
|
import { HealthService } from './health.service';
|
|
5
7
|
export * from './permissions.service';
|
|
6
8
|
import { PermissionsService } from './permissions.service';
|
|
7
|
-
export * from './
|
|
8
|
-
import {
|
|
9
|
+
export * from './summary.service';
|
|
10
|
+
import { SummaryService } from './summary.service';
|
|
9
11
|
export * from './user.service';
|
|
10
12
|
import { UserService } from './user.service';
|
|
11
|
-
export declare const APIS: (typeof DcsService | typeof HealthService | typeof PermissionsService | typeof
|
|
13
|
+
export declare const APIS: (typeof AnalyticsService | typeof DcsService | typeof HealthService | typeof PermissionsService | typeof SummaryService | typeof UserService)[];
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { SummaryDashboardReports } from '../model/summaryDashboardReports';
|
|
4
|
+
import { Configuration } from '../configuration';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class SummaryService {
|
|
7
|
+
protected httpClient: HttpClient;
|
|
8
|
+
protected basePath: string;
|
|
9
|
+
defaultHeaders: HttpHeaders;
|
|
10
|
+
configuration: Configuration;
|
|
11
|
+
encoder: HttpParameterCodec;
|
|
12
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
13
|
+
private addToHttpParams;
|
|
14
|
+
private addToHttpParamsRecursive;
|
|
15
|
+
/**
|
|
16
|
+
* Request WMS summary dashboard report embedding links
|
|
17
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
18
|
+
* @param reportProgress flag to report request and response progress.
|
|
19
|
+
*/
|
|
20
|
+
getSummaryDashboardReports(observe?: 'body', reportProgress?: boolean, options?: {
|
|
21
|
+
httpHeaderAccept?: 'application/json';
|
|
22
|
+
context?: HttpContext;
|
|
23
|
+
transferCache?: boolean;
|
|
24
|
+
}): Observable<SummaryDashboardReports>;
|
|
25
|
+
getSummaryDashboardReports(observe?: 'response', reportProgress?: boolean, options?: {
|
|
26
|
+
httpHeaderAccept?: 'application/json';
|
|
27
|
+
context?: HttpContext;
|
|
28
|
+
transferCache?: boolean;
|
|
29
|
+
}): Observable<HttpResponse<SummaryDashboardReports>>;
|
|
30
|
+
getSummaryDashboardReports(observe?: 'events', reportProgress?: boolean, options?: {
|
|
31
|
+
httpHeaderAccept?: 'application/json';
|
|
32
|
+
context?: HttpContext;
|
|
33
|
+
transferCache?: boolean;
|
|
34
|
+
}): Observable<HttpEvent<SummaryDashboardReports>>;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SummaryService, [null, { optional: true; }, { optional: true; }]>;
|
|
36
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SummaryService>;
|
|
37
|
+
}
|