@indigina/wms-api 0.0.34 → 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} +95 -48
- 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 -9
- package/esm2022/model/report.mjs +12 -0
- package/fesm2022/indigina-wms-api.mjs +536 -260
- 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 -8
- package/model/{embedReportInfoModel.d.ts → report.d.ts} +12 -12
- package/package.json +1 -1
- package/esm2022/api/reports.service.mjs +0 -423
- package/esm2022/model/column.mjs +0 -2
- package/esm2022/model/dashboardColumn.mjs +0 -2
- package/esm2022/model/dashboardReportGroup.mjs +0 -2
- package/esm2022/model/dashboardReports.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/dashboardColumn.d.ts +0 -15
- package/model/dashboardReportGroup.d.ts +0 -20
- package/model/dashboardReports.d.ts +0 -14
- 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,12 +1,11 @@
|
|
|
1
1
|
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
import { DashboardReports } from '../model/dashboardReports';
|
|
4
3
|
import { EmbedReport } from '../model/embedReport';
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
4
|
+
import { Group } from '../model/group';
|
|
5
|
+
import { Report } from '../model/report';
|
|
7
6
|
import { Configuration } from '../configuration';
|
|
8
7
|
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class
|
|
8
|
+
export declare class AnalyticsService {
|
|
10
9
|
protected httpClient: HttpClient;
|
|
11
10
|
protected basePath: string;
|
|
12
11
|
defaultHeaders: HttpHeaders;
|
|
@@ -15,6 +14,48 @@ export declare class ReportsService {
|
|
|
15
14
|
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
16
15
|
private addToHttpParams;
|
|
17
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>>;
|
|
18
59
|
/**
|
|
19
60
|
* Get Castore Weekly Reports
|
|
20
61
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
@@ -36,128 +77,134 @@ export declare class ReportsService {
|
|
|
36
77
|
transferCache?: boolean;
|
|
37
78
|
}): Observable<HttpEvent<EmbedReport>>;
|
|
38
79
|
/**
|
|
39
|
-
*
|
|
80
|
+
* Get Embedded Report Info Model
|
|
81
|
+
* @param id
|
|
82
|
+
* @param workspaceId
|
|
83
|
+
* @param powerBiTenant
|
|
40
84
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
41
85
|
* @param reportProgress flag to report request and response progress.
|
|
42
86
|
*/
|
|
43
|
-
|
|
87
|
+
getEmbedded(id: string, workspaceId: string, powerBiTenant?: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
44
88
|
httpHeaderAccept?: 'application/json';
|
|
45
89
|
context?: HttpContext;
|
|
46
90
|
transferCache?: boolean;
|
|
47
|
-
}): Observable<
|
|
48
|
-
|
|
91
|
+
}): Observable<EmbedReport>;
|
|
92
|
+
getEmbedded(id: string, workspaceId: string, powerBiTenant?: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
49
93
|
httpHeaderAccept?: 'application/json';
|
|
50
94
|
context?: HttpContext;
|
|
51
95
|
transferCache?: boolean;
|
|
52
|
-
}): Observable<HttpResponse<
|
|
53
|
-
|
|
96
|
+
}): Observable<HttpResponse<EmbedReport>>;
|
|
97
|
+
getEmbedded(id: string, workspaceId: string, powerBiTenant?: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
54
98
|
httpHeaderAccept?: 'application/json';
|
|
55
99
|
context?: HttpContext;
|
|
56
100
|
transferCache?: boolean;
|
|
57
|
-
}): Observable<HttpEvent<
|
|
101
|
+
}): Observable<HttpEvent<EmbedReport>>;
|
|
58
102
|
/**
|
|
59
|
-
* Request WMS
|
|
103
|
+
* Request WMS Group Reports
|
|
104
|
+
* @param reportName
|
|
60
105
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
61
106
|
* @param reportProgress flag to report request and response progress.
|
|
62
107
|
*/
|
|
63
|
-
|
|
108
|
+
getGroupReports(reportName: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
64
109
|
httpHeaderAccept?: 'application/json';
|
|
65
110
|
context?: HttpContext;
|
|
66
111
|
transferCache?: boolean;
|
|
67
|
-
}): Observable<
|
|
68
|
-
|
|
112
|
+
}): Observable<Array<Group>>;
|
|
113
|
+
getGroupReports(reportName: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
69
114
|
httpHeaderAccept?: 'application/json';
|
|
70
115
|
context?: HttpContext;
|
|
71
116
|
transferCache?: boolean;
|
|
72
|
-
}): Observable<HttpResponse<
|
|
73
|
-
|
|
117
|
+
}): Observable<HttpResponse<Array<Group>>>;
|
|
118
|
+
getGroupReports(reportName: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
74
119
|
httpHeaderAccept?: 'application/json';
|
|
75
120
|
context?: HttpContext;
|
|
76
121
|
transferCache?: boolean;
|
|
77
|
-
}): Observable<HttpEvent<
|
|
122
|
+
}): Observable<HttpEvent<Array<Group>>>;
|
|
78
123
|
/**
|
|
79
|
-
*
|
|
124
|
+
* Retrieve a report by ID
|
|
125
|
+
* @param id
|
|
80
126
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
81
127
|
* @param reportProgress flag to report request and response progress.
|
|
82
128
|
*/
|
|
83
|
-
|
|
129
|
+
getReportById(id: number, observe?: 'body', reportProgress?: boolean, options?: {
|
|
84
130
|
httpHeaderAccept?: 'application/json';
|
|
85
131
|
context?: HttpContext;
|
|
86
132
|
transferCache?: boolean;
|
|
87
|
-
}): Observable<
|
|
88
|
-
|
|
133
|
+
}): Observable<Report>;
|
|
134
|
+
getReportById(id: number, observe?: 'response', reportProgress?: boolean, options?: {
|
|
89
135
|
httpHeaderAccept?: 'application/json';
|
|
90
136
|
context?: HttpContext;
|
|
91
137
|
transferCache?: boolean;
|
|
92
|
-
}): Observable<HttpResponse<
|
|
93
|
-
|
|
138
|
+
}): Observable<HttpResponse<Report>>;
|
|
139
|
+
getReportById(id: number, observe?: 'events', reportProgress?: boolean, options?: {
|
|
94
140
|
httpHeaderAccept?: 'application/json';
|
|
95
141
|
context?: HttpContext;
|
|
96
142
|
transferCache?: boolean;
|
|
97
|
-
}): Observable<HttpEvent<
|
|
143
|
+
}): Observable<HttpEvent<Report>>;
|
|
98
144
|
/**
|
|
99
|
-
* Get
|
|
100
|
-
* @param id
|
|
101
|
-
* @param workspaceId
|
|
102
|
-
* @param powerBiTenant
|
|
145
|
+
* Get Soho Manifest Reports
|
|
103
146
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
104
147
|
* @param reportProgress flag to report request and response progress.
|
|
105
148
|
*/
|
|
106
|
-
|
|
149
|
+
getSohoManifestReports(observe?: 'body', reportProgress?: boolean, options?: {
|
|
107
150
|
httpHeaderAccept?: 'application/json';
|
|
108
151
|
context?: HttpContext;
|
|
109
152
|
transferCache?: boolean;
|
|
110
153
|
}): Observable<EmbedReport>;
|
|
111
|
-
|
|
154
|
+
getSohoManifestReports(observe?: 'response', reportProgress?: boolean, options?: {
|
|
112
155
|
httpHeaderAccept?: 'application/json';
|
|
113
156
|
context?: HttpContext;
|
|
114
157
|
transferCache?: boolean;
|
|
115
158
|
}): Observable<HttpResponse<EmbedReport>>;
|
|
116
|
-
|
|
159
|
+
getSohoManifestReports(observe?: 'events', reportProgress?: boolean, options?: {
|
|
117
160
|
httpHeaderAccept?: 'application/json';
|
|
118
161
|
context?: HttpContext;
|
|
119
162
|
transferCache?: boolean;
|
|
120
163
|
}): Observable<HttpEvent<EmbedReport>>;
|
|
121
164
|
/**
|
|
122
|
-
*
|
|
165
|
+
* Update WMS Group Reports
|
|
166
|
+
* @param reportName
|
|
167
|
+
* @param group
|
|
123
168
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
124
169
|
* @param reportProgress flag to report request and response progress.
|
|
125
170
|
*/
|
|
126
|
-
|
|
171
|
+
updateGroupReports(reportName: string, group: Array<Group>, observe?: 'body', reportProgress?: boolean, options?: {
|
|
127
172
|
httpHeaderAccept?: 'application/json';
|
|
128
173
|
context?: HttpContext;
|
|
129
174
|
transferCache?: boolean;
|
|
130
|
-
}): Observable<
|
|
131
|
-
|
|
175
|
+
}): Observable<Array<Group>>;
|
|
176
|
+
updateGroupReports(reportName: string, group: Array<Group>, observe?: 'response', reportProgress?: boolean, options?: {
|
|
132
177
|
httpHeaderAccept?: 'application/json';
|
|
133
178
|
context?: HttpContext;
|
|
134
179
|
transferCache?: boolean;
|
|
135
|
-
}): Observable<HttpResponse<
|
|
136
|
-
|
|
180
|
+
}): Observable<HttpResponse<Array<Group>>>;
|
|
181
|
+
updateGroupReports(reportName: string, group: Array<Group>, observe?: 'events', reportProgress?: boolean, options?: {
|
|
137
182
|
httpHeaderAccept?: 'application/json';
|
|
138
183
|
context?: HttpContext;
|
|
139
184
|
transferCache?: boolean;
|
|
140
|
-
}): Observable<HttpEvent<
|
|
185
|
+
}): Observable<HttpEvent<Array<Group>>>;
|
|
141
186
|
/**
|
|
142
|
-
*
|
|
187
|
+
* Update an existing report
|
|
188
|
+
* @param id
|
|
189
|
+
* @param report
|
|
143
190
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
144
191
|
* @param reportProgress flag to report request and response progress.
|
|
145
192
|
*/
|
|
146
|
-
|
|
193
|
+
updateReport(id: number, report: Report, observe?: 'body', reportProgress?: boolean, options?: {
|
|
147
194
|
httpHeaderAccept?: 'application/json';
|
|
148
195
|
context?: HttpContext;
|
|
149
196
|
transferCache?: boolean;
|
|
150
|
-
}): Observable<
|
|
151
|
-
|
|
197
|
+
}): Observable<Report>;
|
|
198
|
+
updateReport(id: number, report: Report, observe?: 'response', reportProgress?: boolean, options?: {
|
|
152
199
|
httpHeaderAccept?: 'application/json';
|
|
153
200
|
context?: HttpContext;
|
|
154
201
|
transferCache?: boolean;
|
|
155
|
-
}): Observable<HttpResponse<
|
|
156
|
-
|
|
202
|
+
}): Observable<HttpResponse<Report>>;
|
|
203
|
+
updateReport(id: number, report: Report, observe?: 'events', reportProgress?: boolean, options?: {
|
|
157
204
|
httpHeaderAccept?: 'application/json';
|
|
158
205
|
context?: HttpContext;
|
|
159
206
|
transferCache?: boolean;
|
|
160
|
-
}): Observable<HttpEvent<
|
|
161
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
162
|
-
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>;
|
|
163
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
|
+
}
|