@indigina/wms-api 0.0.35 → 0.0.36
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 +2 -2
- 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/esm2022/api/analytics.service.mjs +570 -0
- package/esm2022/api/api.mjs +6 -4
- package/esm2022/api/summary.service.mjs +142 -0
- package/esm2022/model/embedReport.mjs +1 -1
- package/esm2022/model/group.mjs +2 -0
- package/esm2022/model/models.mjs +3 -6
- package/esm2022/model/report.mjs +12 -0
- package/fesm2022/indigina-wms-api.mjs +568 -248
- package/fesm2022/indigina-wms-api.mjs.map +1 -1
- package/model/embedReport.d.ts +1 -1
- package/model/{column.d.ts → group.d.ts} +9 -4
- package/model/models.d.ts +2 -5
- package/model/{embedReportInfoModel.d.ts → report.d.ts} +12 -12
- package/package.json +1 -1
- package/esm2022/api/reports.service.mjs +0 -379
- package/esm2022/model/column.mjs +0 -2
- package/esm2022/model/embedReportInfoModel.mjs +0 -2
- package/esm2022/model/powerBiTenant.mjs +0 -15
- package/esm2022/model/reportResponse.mjs +0 -2
- package/esm2022/model/reportTabs.mjs +0 -2
- 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,4 +1,4 @@
|
|
|
1
|
-
## @indigina/wms-api@0.0.
|
|
1
|
+
## @indigina/wms-api@0.0.36
|
|
2
2
|
|
|
3
3
|
The version of the OpenAPI document: v1
|
|
4
4
|
|
|
@@ -21,7 +21,7 @@ Navigate to the folder of your consuming project and run one of next commands.
|
|
|
21
21
|
_published:_
|
|
22
22
|
|
|
23
23
|
```
|
|
24
|
-
npm install @indigina/wms-api@0.0.
|
|
24
|
+
npm install @indigina/wms-api@0.0.36 --save
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
_without publishing (not recommended):_
|
|
@@ -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
|
+
}
|