@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
|
@@ -151,6 +151,567 @@ class Configuration {
|
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
153
|
|
|
154
|
+
/**
|
|
155
|
+
* Wms.API.Client
|
|
156
|
+
* WMS API Client for Angular applications
|
|
157
|
+
*
|
|
158
|
+
*
|
|
159
|
+
*
|
|
160
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
161
|
+
* https://openapi-generator.tech
|
|
162
|
+
* Do not edit the class manually.
|
|
163
|
+
*/
|
|
164
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
165
|
+
class AnalyticsService {
|
|
166
|
+
httpClient;
|
|
167
|
+
basePath = 'http://localhost';
|
|
168
|
+
defaultHeaders = new HttpHeaders();
|
|
169
|
+
configuration = new Configuration();
|
|
170
|
+
encoder;
|
|
171
|
+
constructor(httpClient, basePath, configuration) {
|
|
172
|
+
this.httpClient = httpClient;
|
|
173
|
+
if (configuration) {
|
|
174
|
+
this.configuration = configuration;
|
|
175
|
+
}
|
|
176
|
+
if (typeof this.configuration.basePath !== 'string') {
|
|
177
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
178
|
+
if (firstBasePath != undefined) {
|
|
179
|
+
basePath = firstBasePath;
|
|
180
|
+
}
|
|
181
|
+
if (typeof basePath !== 'string') {
|
|
182
|
+
basePath = this.basePath;
|
|
183
|
+
}
|
|
184
|
+
this.configuration.basePath = basePath;
|
|
185
|
+
}
|
|
186
|
+
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
187
|
+
}
|
|
188
|
+
// @ts-ignore
|
|
189
|
+
addToHttpParams(httpParams, value, key) {
|
|
190
|
+
if (typeof value === "object" && value instanceof Date === false) {
|
|
191
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
192
|
+
}
|
|
193
|
+
else {
|
|
194
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
|
|
195
|
+
}
|
|
196
|
+
return httpParams;
|
|
197
|
+
}
|
|
198
|
+
addToHttpParamsRecursive(httpParams, value, key) {
|
|
199
|
+
if (value == null) {
|
|
200
|
+
return httpParams;
|
|
201
|
+
}
|
|
202
|
+
if (typeof value === "object") {
|
|
203
|
+
if (Array.isArray(value)) {
|
|
204
|
+
value.forEach(elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
|
|
205
|
+
}
|
|
206
|
+
else if (value instanceof Date) {
|
|
207
|
+
if (key != null) {
|
|
208
|
+
httpParams = httpParams.append(key, value.toISOString().substring(0, 10));
|
|
209
|
+
}
|
|
210
|
+
else {
|
|
211
|
+
throw Error("key may not be null if value is Date");
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
else {
|
|
215
|
+
Object.keys(value).forEach(k => httpParams = this.addToHttpParamsRecursive(httpParams, value[k], key != null ? `${key}.${k}` : k));
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
else if (key != null) {
|
|
219
|
+
httpParams = httpParams.append(key, value);
|
|
220
|
+
}
|
|
221
|
+
else {
|
|
222
|
+
throw Error("key may not be null if value is not object or array");
|
|
223
|
+
}
|
|
224
|
+
return httpParams;
|
|
225
|
+
}
|
|
226
|
+
createReport(report, observe = 'body', reportProgress = false, options) {
|
|
227
|
+
if (report === null || report === undefined) {
|
|
228
|
+
throw new Error('Required parameter report was null or undefined when calling createReport.');
|
|
229
|
+
}
|
|
230
|
+
let localVarHeaders = this.defaultHeaders;
|
|
231
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
232
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
233
|
+
// to determine the Accept header
|
|
234
|
+
const httpHeaderAccepts = [
|
|
235
|
+
'application/json'
|
|
236
|
+
];
|
|
237
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
238
|
+
}
|
|
239
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
240
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
241
|
+
}
|
|
242
|
+
let localVarHttpContext = options && options.context;
|
|
243
|
+
if (localVarHttpContext === undefined) {
|
|
244
|
+
localVarHttpContext = new HttpContext();
|
|
245
|
+
}
|
|
246
|
+
let localVarTransferCache = options && options.transferCache;
|
|
247
|
+
if (localVarTransferCache === undefined) {
|
|
248
|
+
localVarTransferCache = true;
|
|
249
|
+
}
|
|
250
|
+
// to determine the Content-Type header
|
|
251
|
+
const consumes = [
|
|
252
|
+
'application/json'
|
|
253
|
+
];
|
|
254
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
255
|
+
if (httpContentTypeSelected !== undefined) {
|
|
256
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
257
|
+
}
|
|
258
|
+
let responseType_ = 'json';
|
|
259
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
260
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
261
|
+
responseType_ = 'text';
|
|
262
|
+
}
|
|
263
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
264
|
+
responseType_ = 'json';
|
|
265
|
+
}
|
|
266
|
+
else {
|
|
267
|
+
responseType_ = 'blob';
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
let localVarPath = `/analytics/reports`;
|
|
271
|
+
return this.httpClient.request('post', `${this.configuration.basePath}${localVarPath}`, {
|
|
272
|
+
context: localVarHttpContext,
|
|
273
|
+
body: report,
|
|
274
|
+
responseType: responseType_,
|
|
275
|
+
withCredentials: this.configuration.withCredentials,
|
|
276
|
+
headers: localVarHeaders,
|
|
277
|
+
observe: observe,
|
|
278
|
+
transferCache: localVarTransferCache,
|
|
279
|
+
reportProgress: reportProgress
|
|
280
|
+
});
|
|
281
|
+
}
|
|
282
|
+
deleteReport(id, observe = 'body', reportProgress = false, options) {
|
|
283
|
+
if (id === null || id === undefined) {
|
|
284
|
+
throw new Error('Required parameter id was null or undefined when calling deleteReport.');
|
|
285
|
+
}
|
|
286
|
+
let localVarHeaders = this.defaultHeaders;
|
|
287
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
288
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
289
|
+
// to determine the Accept header
|
|
290
|
+
const httpHeaderAccepts = [];
|
|
291
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
292
|
+
}
|
|
293
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
294
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
295
|
+
}
|
|
296
|
+
let localVarHttpContext = options && options.context;
|
|
297
|
+
if (localVarHttpContext === undefined) {
|
|
298
|
+
localVarHttpContext = new HttpContext();
|
|
299
|
+
}
|
|
300
|
+
let localVarTransferCache = options && options.transferCache;
|
|
301
|
+
if (localVarTransferCache === undefined) {
|
|
302
|
+
localVarTransferCache = true;
|
|
303
|
+
}
|
|
304
|
+
let responseType_ = 'json';
|
|
305
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
306
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
307
|
+
responseType_ = 'text';
|
|
308
|
+
}
|
|
309
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
310
|
+
responseType_ = 'json';
|
|
311
|
+
}
|
|
312
|
+
else {
|
|
313
|
+
responseType_ = 'blob';
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
let localVarPath = `/analytics/reports/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}`;
|
|
317
|
+
return this.httpClient.request('delete', `${this.configuration.basePath}${localVarPath}`, {
|
|
318
|
+
context: localVarHttpContext,
|
|
319
|
+
responseType: responseType_,
|
|
320
|
+
withCredentials: this.configuration.withCredentials,
|
|
321
|
+
headers: localVarHeaders,
|
|
322
|
+
observe: observe,
|
|
323
|
+
transferCache: localVarTransferCache,
|
|
324
|
+
reportProgress: reportProgress
|
|
325
|
+
});
|
|
326
|
+
}
|
|
327
|
+
getCastoreWeeklyReports(observe = 'body', reportProgress = false, options) {
|
|
328
|
+
let localVarHeaders = this.defaultHeaders;
|
|
329
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
330
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
331
|
+
// to determine the Accept header
|
|
332
|
+
const httpHeaderAccepts = [
|
|
333
|
+
'application/json'
|
|
334
|
+
];
|
|
335
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
336
|
+
}
|
|
337
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
338
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
339
|
+
}
|
|
340
|
+
let localVarHttpContext = options && options.context;
|
|
341
|
+
if (localVarHttpContext === undefined) {
|
|
342
|
+
localVarHttpContext = new HttpContext();
|
|
343
|
+
}
|
|
344
|
+
let localVarTransferCache = options && options.transferCache;
|
|
345
|
+
if (localVarTransferCache === undefined) {
|
|
346
|
+
localVarTransferCache = true;
|
|
347
|
+
}
|
|
348
|
+
let responseType_ = 'json';
|
|
349
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
350
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
351
|
+
responseType_ = 'text';
|
|
352
|
+
}
|
|
353
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
354
|
+
responseType_ = 'json';
|
|
355
|
+
}
|
|
356
|
+
else {
|
|
357
|
+
responseType_ = 'blob';
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
let localVarPath = `/analytics/castore-weekly`;
|
|
361
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
362
|
+
context: localVarHttpContext,
|
|
363
|
+
responseType: responseType_,
|
|
364
|
+
withCredentials: this.configuration.withCredentials,
|
|
365
|
+
headers: localVarHeaders,
|
|
366
|
+
observe: observe,
|
|
367
|
+
transferCache: localVarTransferCache,
|
|
368
|
+
reportProgress: reportProgress
|
|
369
|
+
});
|
|
370
|
+
}
|
|
371
|
+
getEmbedded(id, workspaceId, powerBiTenant, observe = 'body', reportProgress = false, options) {
|
|
372
|
+
if (id === null || id === undefined) {
|
|
373
|
+
throw new Error('Required parameter id was null or undefined when calling getEmbedded.');
|
|
374
|
+
}
|
|
375
|
+
if (workspaceId === null || workspaceId === undefined) {
|
|
376
|
+
throw new Error('Required parameter workspaceId was null or undefined when calling getEmbedded.');
|
|
377
|
+
}
|
|
378
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
379
|
+
if (id !== undefined && id !== null) {
|
|
380
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, id, 'id');
|
|
381
|
+
}
|
|
382
|
+
if (workspaceId !== undefined && workspaceId !== null) {
|
|
383
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, workspaceId, 'workspaceId');
|
|
384
|
+
}
|
|
385
|
+
if (powerBiTenant !== undefined && powerBiTenant !== null) {
|
|
386
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, powerBiTenant, 'powerBiTenant');
|
|
387
|
+
}
|
|
388
|
+
let localVarHeaders = this.defaultHeaders;
|
|
389
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
390
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
391
|
+
// to determine the Accept header
|
|
392
|
+
const httpHeaderAccepts = [
|
|
393
|
+
'application/json'
|
|
394
|
+
];
|
|
395
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
396
|
+
}
|
|
397
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
398
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
399
|
+
}
|
|
400
|
+
let localVarHttpContext = options && options.context;
|
|
401
|
+
if (localVarHttpContext === undefined) {
|
|
402
|
+
localVarHttpContext = new HttpContext();
|
|
403
|
+
}
|
|
404
|
+
let localVarTransferCache = options && options.transferCache;
|
|
405
|
+
if (localVarTransferCache === undefined) {
|
|
406
|
+
localVarTransferCache = true;
|
|
407
|
+
}
|
|
408
|
+
let responseType_ = 'json';
|
|
409
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
410
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
411
|
+
responseType_ = 'text';
|
|
412
|
+
}
|
|
413
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
414
|
+
responseType_ = 'json';
|
|
415
|
+
}
|
|
416
|
+
else {
|
|
417
|
+
responseType_ = 'blob';
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
let localVarPath = `/analytics/embed`;
|
|
421
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
422
|
+
context: localVarHttpContext,
|
|
423
|
+
params: localVarQueryParameters,
|
|
424
|
+
responseType: responseType_,
|
|
425
|
+
withCredentials: this.configuration.withCredentials,
|
|
426
|
+
headers: localVarHeaders,
|
|
427
|
+
observe: observe,
|
|
428
|
+
transferCache: localVarTransferCache,
|
|
429
|
+
reportProgress: reportProgress
|
|
430
|
+
});
|
|
431
|
+
}
|
|
432
|
+
getGroupReports(reportName, observe = 'body', reportProgress = false, options) {
|
|
433
|
+
if (reportName === null || reportName === undefined) {
|
|
434
|
+
throw new Error('Required parameter reportName was null or undefined when calling getGroupReports.');
|
|
435
|
+
}
|
|
436
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
437
|
+
if (reportName !== undefined && reportName !== null) {
|
|
438
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, reportName, 'reportName');
|
|
439
|
+
}
|
|
440
|
+
let localVarHeaders = this.defaultHeaders;
|
|
441
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
442
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
443
|
+
// to determine the Accept header
|
|
444
|
+
const httpHeaderAccepts = [
|
|
445
|
+
'application/json'
|
|
446
|
+
];
|
|
447
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
448
|
+
}
|
|
449
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
450
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
451
|
+
}
|
|
452
|
+
let localVarHttpContext = options && options.context;
|
|
453
|
+
if (localVarHttpContext === undefined) {
|
|
454
|
+
localVarHttpContext = new HttpContext();
|
|
455
|
+
}
|
|
456
|
+
let localVarTransferCache = options && options.transferCache;
|
|
457
|
+
if (localVarTransferCache === undefined) {
|
|
458
|
+
localVarTransferCache = true;
|
|
459
|
+
}
|
|
460
|
+
let responseType_ = 'json';
|
|
461
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
462
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
463
|
+
responseType_ = 'text';
|
|
464
|
+
}
|
|
465
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
466
|
+
responseType_ = 'json';
|
|
467
|
+
}
|
|
468
|
+
else {
|
|
469
|
+
responseType_ = 'blob';
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
let localVarPath = `/analytics/group-reports`;
|
|
473
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
474
|
+
context: localVarHttpContext,
|
|
475
|
+
params: localVarQueryParameters,
|
|
476
|
+
responseType: responseType_,
|
|
477
|
+
withCredentials: this.configuration.withCredentials,
|
|
478
|
+
headers: localVarHeaders,
|
|
479
|
+
observe: observe,
|
|
480
|
+
transferCache: localVarTransferCache,
|
|
481
|
+
reportProgress: reportProgress
|
|
482
|
+
});
|
|
483
|
+
}
|
|
484
|
+
getReportById(id, observe = 'body', reportProgress = false, options) {
|
|
485
|
+
if (id === null || id === undefined) {
|
|
486
|
+
throw new Error('Required parameter id was null or undefined when calling getReportById.');
|
|
487
|
+
}
|
|
488
|
+
let localVarHeaders = this.defaultHeaders;
|
|
489
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
490
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
491
|
+
// to determine the Accept header
|
|
492
|
+
const httpHeaderAccepts = [
|
|
493
|
+
'application/json'
|
|
494
|
+
];
|
|
495
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
496
|
+
}
|
|
497
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
498
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
499
|
+
}
|
|
500
|
+
let localVarHttpContext = options && options.context;
|
|
501
|
+
if (localVarHttpContext === undefined) {
|
|
502
|
+
localVarHttpContext = new HttpContext();
|
|
503
|
+
}
|
|
504
|
+
let localVarTransferCache = options && options.transferCache;
|
|
505
|
+
if (localVarTransferCache === undefined) {
|
|
506
|
+
localVarTransferCache = true;
|
|
507
|
+
}
|
|
508
|
+
let responseType_ = 'json';
|
|
509
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
510
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
511
|
+
responseType_ = 'text';
|
|
512
|
+
}
|
|
513
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
514
|
+
responseType_ = 'json';
|
|
515
|
+
}
|
|
516
|
+
else {
|
|
517
|
+
responseType_ = 'blob';
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
let localVarPath = `/analytics/reports/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}`;
|
|
521
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
522
|
+
context: localVarHttpContext,
|
|
523
|
+
responseType: responseType_,
|
|
524
|
+
withCredentials: this.configuration.withCredentials,
|
|
525
|
+
headers: localVarHeaders,
|
|
526
|
+
observe: observe,
|
|
527
|
+
transferCache: localVarTransferCache,
|
|
528
|
+
reportProgress: reportProgress
|
|
529
|
+
});
|
|
530
|
+
}
|
|
531
|
+
getSohoManifestReports(observe = 'body', reportProgress = false, options) {
|
|
532
|
+
let localVarHeaders = this.defaultHeaders;
|
|
533
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
534
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
535
|
+
// to determine the Accept header
|
|
536
|
+
const httpHeaderAccepts = [
|
|
537
|
+
'application/json'
|
|
538
|
+
];
|
|
539
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
540
|
+
}
|
|
541
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
542
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
543
|
+
}
|
|
544
|
+
let localVarHttpContext = options && options.context;
|
|
545
|
+
if (localVarHttpContext === undefined) {
|
|
546
|
+
localVarHttpContext = new HttpContext();
|
|
547
|
+
}
|
|
548
|
+
let localVarTransferCache = options && options.transferCache;
|
|
549
|
+
if (localVarTransferCache === undefined) {
|
|
550
|
+
localVarTransferCache = true;
|
|
551
|
+
}
|
|
552
|
+
let responseType_ = 'json';
|
|
553
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
554
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
555
|
+
responseType_ = 'text';
|
|
556
|
+
}
|
|
557
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
558
|
+
responseType_ = 'json';
|
|
559
|
+
}
|
|
560
|
+
else {
|
|
561
|
+
responseType_ = 'blob';
|
|
562
|
+
}
|
|
563
|
+
}
|
|
564
|
+
let localVarPath = `/analytics/soho-manifest`;
|
|
565
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
566
|
+
context: localVarHttpContext,
|
|
567
|
+
responseType: responseType_,
|
|
568
|
+
withCredentials: this.configuration.withCredentials,
|
|
569
|
+
headers: localVarHeaders,
|
|
570
|
+
observe: observe,
|
|
571
|
+
transferCache: localVarTransferCache,
|
|
572
|
+
reportProgress: reportProgress
|
|
573
|
+
});
|
|
574
|
+
}
|
|
575
|
+
updateGroupReports(reportName, group, observe = 'body', reportProgress = false, options) {
|
|
576
|
+
if (reportName === null || reportName === undefined) {
|
|
577
|
+
throw new Error('Required parameter reportName was null or undefined when calling updateGroupReports.');
|
|
578
|
+
}
|
|
579
|
+
if (group === null || group === undefined) {
|
|
580
|
+
throw new Error('Required parameter group was null or undefined when calling updateGroupReports.');
|
|
581
|
+
}
|
|
582
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
583
|
+
if (reportName !== undefined && reportName !== null) {
|
|
584
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, reportName, 'reportName');
|
|
585
|
+
}
|
|
586
|
+
let localVarHeaders = this.defaultHeaders;
|
|
587
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
588
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
589
|
+
// to determine the Accept header
|
|
590
|
+
const httpHeaderAccepts = [
|
|
591
|
+
'application/json'
|
|
592
|
+
];
|
|
593
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
594
|
+
}
|
|
595
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
596
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
597
|
+
}
|
|
598
|
+
let localVarHttpContext = options && options.context;
|
|
599
|
+
if (localVarHttpContext === undefined) {
|
|
600
|
+
localVarHttpContext = new HttpContext();
|
|
601
|
+
}
|
|
602
|
+
let localVarTransferCache = options && options.transferCache;
|
|
603
|
+
if (localVarTransferCache === undefined) {
|
|
604
|
+
localVarTransferCache = true;
|
|
605
|
+
}
|
|
606
|
+
// to determine the Content-Type header
|
|
607
|
+
const consumes = [
|
|
608
|
+
'application/json'
|
|
609
|
+
];
|
|
610
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
611
|
+
if (httpContentTypeSelected !== undefined) {
|
|
612
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
613
|
+
}
|
|
614
|
+
let responseType_ = 'json';
|
|
615
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
616
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
617
|
+
responseType_ = 'text';
|
|
618
|
+
}
|
|
619
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
620
|
+
responseType_ = 'json';
|
|
621
|
+
}
|
|
622
|
+
else {
|
|
623
|
+
responseType_ = 'blob';
|
|
624
|
+
}
|
|
625
|
+
}
|
|
626
|
+
let localVarPath = `/analytics/group-reports`;
|
|
627
|
+
return this.httpClient.request('put', `${this.configuration.basePath}${localVarPath}`, {
|
|
628
|
+
context: localVarHttpContext,
|
|
629
|
+
body: group,
|
|
630
|
+
params: localVarQueryParameters,
|
|
631
|
+
responseType: responseType_,
|
|
632
|
+
withCredentials: this.configuration.withCredentials,
|
|
633
|
+
headers: localVarHeaders,
|
|
634
|
+
observe: observe,
|
|
635
|
+
transferCache: localVarTransferCache,
|
|
636
|
+
reportProgress: reportProgress
|
|
637
|
+
});
|
|
638
|
+
}
|
|
639
|
+
updateReport(id, report, observe = 'body', reportProgress = false, options) {
|
|
640
|
+
if (id === null || id === undefined) {
|
|
641
|
+
throw new Error('Required parameter id was null or undefined when calling updateReport.');
|
|
642
|
+
}
|
|
643
|
+
if (report === null || report === undefined) {
|
|
644
|
+
throw new Error('Required parameter report was null or undefined when calling updateReport.');
|
|
645
|
+
}
|
|
646
|
+
let localVarHeaders = this.defaultHeaders;
|
|
647
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
648
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
649
|
+
// to determine the Accept header
|
|
650
|
+
const httpHeaderAccepts = [
|
|
651
|
+
'application/json'
|
|
652
|
+
];
|
|
653
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
654
|
+
}
|
|
655
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
656
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
657
|
+
}
|
|
658
|
+
let localVarHttpContext = options && options.context;
|
|
659
|
+
if (localVarHttpContext === undefined) {
|
|
660
|
+
localVarHttpContext = new HttpContext();
|
|
661
|
+
}
|
|
662
|
+
let localVarTransferCache = options && options.transferCache;
|
|
663
|
+
if (localVarTransferCache === undefined) {
|
|
664
|
+
localVarTransferCache = true;
|
|
665
|
+
}
|
|
666
|
+
// to determine the Content-Type header
|
|
667
|
+
const consumes = [
|
|
668
|
+
'application/json'
|
|
669
|
+
];
|
|
670
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
671
|
+
if (httpContentTypeSelected !== undefined) {
|
|
672
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
673
|
+
}
|
|
674
|
+
let responseType_ = 'json';
|
|
675
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
676
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
677
|
+
responseType_ = 'text';
|
|
678
|
+
}
|
|
679
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
680
|
+
responseType_ = 'json';
|
|
681
|
+
}
|
|
682
|
+
else {
|
|
683
|
+
responseType_ = 'blob';
|
|
684
|
+
}
|
|
685
|
+
}
|
|
686
|
+
let localVarPath = `/analytics/reports/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}`;
|
|
687
|
+
return this.httpClient.request('put', `${this.configuration.basePath}${localVarPath}`, {
|
|
688
|
+
context: localVarHttpContext,
|
|
689
|
+
body: report,
|
|
690
|
+
responseType: responseType_,
|
|
691
|
+
withCredentials: this.configuration.withCredentials,
|
|
692
|
+
headers: localVarHeaders,
|
|
693
|
+
observe: observe,
|
|
694
|
+
transferCache: localVarTransferCache,
|
|
695
|
+
reportProgress: reportProgress
|
|
696
|
+
});
|
|
697
|
+
}
|
|
698
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: AnalyticsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
699
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: AnalyticsService, providedIn: 'root' });
|
|
700
|
+
}
|
|
701
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: AnalyticsService, decorators: [{
|
|
702
|
+
type: Injectable,
|
|
703
|
+
args: [{
|
|
704
|
+
providedIn: 'root'
|
|
705
|
+
}]
|
|
706
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
707
|
+
type: Optional
|
|
708
|
+
}, {
|
|
709
|
+
type: Inject,
|
|
710
|
+
args: [BASE_PATH]
|
|
711
|
+
}] }, { type: Configuration, decorators: [{
|
|
712
|
+
type: Optional
|
|
713
|
+
}] }] });
|
|
714
|
+
|
|
154
715
|
/**
|
|
155
716
|
* Wms.API.Client
|
|
156
717
|
* WMS API Client for Angular applications
|
|
@@ -694,7 +1255,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImpor
|
|
|
694
1255
|
* Do not edit the class manually.
|
|
695
1256
|
*/
|
|
696
1257
|
/* tslint:disable:no-unused-variable member-ordering */
|
|
697
|
-
class
|
|
1258
|
+
class SummaryService {
|
|
698
1259
|
httpClient;
|
|
699
1260
|
basePath = 'http://localhost';
|
|
700
1261
|
defaultHeaders = new HttpHeaders();
|
|
@@ -755,243 +1316,6 @@ class ReportsService {
|
|
|
755
1316
|
}
|
|
756
1317
|
return httpParams;
|
|
757
1318
|
}
|
|
758
|
-
getCastoreWeeklyReports(observe = 'body', reportProgress = false, options) {
|
|
759
|
-
let localVarHeaders = this.defaultHeaders;
|
|
760
|
-
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
761
|
-
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
762
|
-
// to determine the Accept header
|
|
763
|
-
const httpHeaderAccepts = [
|
|
764
|
-
'application/json'
|
|
765
|
-
];
|
|
766
|
-
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
767
|
-
}
|
|
768
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
769
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
770
|
-
}
|
|
771
|
-
let localVarHttpContext = options && options.context;
|
|
772
|
-
if (localVarHttpContext === undefined) {
|
|
773
|
-
localVarHttpContext = new HttpContext();
|
|
774
|
-
}
|
|
775
|
-
let localVarTransferCache = options && options.transferCache;
|
|
776
|
-
if (localVarTransferCache === undefined) {
|
|
777
|
-
localVarTransferCache = true;
|
|
778
|
-
}
|
|
779
|
-
let responseType_ = 'json';
|
|
780
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
781
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
782
|
-
responseType_ = 'text';
|
|
783
|
-
}
|
|
784
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
785
|
-
responseType_ = 'json';
|
|
786
|
-
}
|
|
787
|
-
else {
|
|
788
|
-
responseType_ = 'blob';
|
|
789
|
-
}
|
|
790
|
-
}
|
|
791
|
-
let localVarPath = `/reports/castore-weekly`;
|
|
792
|
-
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
793
|
-
context: localVarHttpContext,
|
|
794
|
-
responseType: responseType_,
|
|
795
|
-
withCredentials: this.configuration.withCredentials,
|
|
796
|
-
headers: localVarHeaders,
|
|
797
|
-
observe: observe,
|
|
798
|
-
transferCache: localVarTransferCache,
|
|
799
|
-
reportProgress: reportProgress
|
|
800
|
-
});
|
|
801
|
-
}
|
|
802
|
-
getClientReports(observe = 'body', reportProgress = false, options) {
|
|
803
|
-
let localVarHeaders = this.defaultHeaders;
|
|
804
|
-
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
805
|
-
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
806
|
-
// to determine the Accept header
|
|
807
|
-
const httpHeaderAccepts = [
|
|
808
|
-
'application/json'
|
|
809
|
-
];
|
|
810
|
-
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
811
|
-
}
|
|
812
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
813
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
814
|
-
}
|
|
815
|
-
let localVarHttpContext = options && options.context;
|
|
816
|
-
if (localVarHttpContext === undefined) {
|
|
817
|
-
localVarHttpContext = new HttpContext();
|
|
818
|
-
}
|
|
819
|
-
let localVarTransferCache = options && options.transferCache;
|
|
820
|
-
if (localVarTransferCache === undefined) {
|
|
821
|
-
localVarTransferCache = true;
|
|
822
|
-
}
|
|
823
|
-
let responseType_ = 'json';
|
|
824
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
825
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
826
|
-
responseType_ = 'text';
|
|
827
|
-
}
|
|
828
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
829
|
-
responseType_ = 'json';
|
|
830
|
-
}
|
|
831
|
-
else {
|
|
832
|
-
responseType_ = 'blob';
|
|
833
|
-
}
|
|
834
|
-
}
|
|
835
|
-
let localVarPath = `/reports/client`;
|
|
836
|
-
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
837
|
-
context: localVarHttpContext,
|
|
838
|
-
responseType: responseType_,
|
|
839
|
-
withCredentials: this.configuration.withCredentials,
|
|
840
|
-
headers: localVarHeaders,
|
|
841
|
-
observe: observe,
|
|
842
|
-
transferCache: localVarTransferCache,
|
|
843
|
-
reportProgress: reportProgress
|
|
844
|
-
});
|
|
845
|
-
}
|
|
846
|
-
getDcReports(observe = 'body', reportProgress = false, options) {
|
|
847
|
-
let localVarHeaders = this.defaultHeaders;
|
|
848
|
-
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
849
|
-
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
850
|
-
// to determine the Accept header
|
|
851
|
-
const httpHeaderAccepts = [
|
|
852
|
-
'application/json'
|
|
853
|
-
];
|
|
854
|
-
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
855
|
-
}
|
|
856
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
857
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
858
|
-
}
|
|
859
|
-
let localVarHttpContext = options && options.context;
|
|
860
|
-
if (localVarHttpContext === undefined) {
|
|
861
|
-
localVarHttpContext = new HttpContext();
|
|
862
|
-
}
|
|
863
|
-
let localVarTransferCache = options && options.transferCache;
|
|
864
|
-
if (localVarTransferCache === undefined) {
|
|
865
|
-
localVarTransferCache = true;
|
|
866
|
-
}
|
|
867
|
-
let responseType_ = 'json';
|
|
868
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
869
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
870
|
-
responseType_ = 'text';
|
|
871
|
-
}
|
|
872
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
873
|
-
responseType_ = 'json';
|
|
874
|
-
}
|
|
875
|
-
else {
|
|
876
|
-
responseType_ = 'blob';
|
|
877
|
-
}
|
|
878
|
-
}
|
|
879
|
-
let localVarPath = `/reports/dc`;
|
|
880
|
-
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
881
|
-
context: localVarHttpContext,
|
|
882
|
-
responseType: responseType_,
|
|
883
|
-
withCredentials: this.configuration.withCredentials,
|
|
884
|
-
headers: localVarHeaders,
|
|
885
|
-
observe: observe,
|
|
886
|
-
transferCache: localVarTransferCache,
|
|
887
|
-
reportProgress: reportProgress
|
|
888
|
-
});
|
|
889
|
-
}
|
|
890
|
-
getEmbedded(id, workspaceId, powerBiTenant, observe = 'body', reportProgress = false, options) {
|
|
891
|
-
if (id === null || id === undefined) {
|
|
892
|
-
throw new Error('Required parameter id was null or undefined when calling getEmbedded.');
|
|
893
|
-
}
|
|
894
|
-
if (workspaceId === null || workspaceId === undefined) {
|
|
895
|
-
throw new Error('Required parameter workspaceId was null or undefined when calling getEmbedded.');
|
|
896
|
-
}
|
|
897
|
-
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
898
|
-
if (id !== undefined && id !== null) {
|
|
899
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, id, 'id');
|
|
900
|
-
}
|
|
901
|
-
if (workspaceId !== undefined && workspaceId !== null) {
|
|
902
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, workspaceId, 'workspaceId');
|
|
903
|
-
}
|
|
904
|
-
if (powerBiTenant !== undefined && powerBiTenant !== null) {
|
|
905
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, powerBiTenant, 'powerBiTenant');
|
|
906
|
-
}
|
|
907
|
-
let localVarHeaders = this.defaultHeaders;
|
|
908
|
-
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
909
|
-
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
910
|
-
// to determine the Accept header
|
|
911
|
-
const httpHeaderAccepts = [
|
|
912
|
-
'application/json'
|
|
913
|
-
];
|
|
914
|
-
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
915
|
-
}
|
|
916
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
917
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
918
|
-
}
|
|
919
|
-
let localVarHttpContext = options && options.context;
|
|
920
|
-
if (localVarHttpContext === undefined) {
|
|
921
|
-
localVarHttpContext = new HttpContext();
|
|
922
|
-
}
|
|
923
|
-
let localVarTransferCache = options && options.transferCache;
|
|
924
|
-
if (localVarTransferCache === undefined) {
|
|
925
|
-
localVarTransferCache = true;
|
|
926
|
-
}
|
|
927
|
-
let responseType_ = 'json';
|
|
928
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
929
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
930
|
-
responseType_ = 'text';
|
|
931
|
-
}
|
|
932
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
933
|
-
responseType_ = 'json';
|
|
934
|
-
}
|
|
935
|
-
else {
|
|
936
|
-
responseType_ = 'blob';
|
|
937
|
-
}
|
|
938
|
-
}
|
|
939
|
-
let localVarPath = `/reports/embed`;
|
|
940
|
-
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
941
|
-
context: localVarHttpContext,
|
|
942
|
-
params: localVarQueryParameters,
|
|
943
|
-
responseType: responseType_,
|
|
944
|
-
withCredentials: this.configuration.withCredentials,
|
|
945
|
-
headers: localVarHeaders,
|
|
946
|
-
observe: observe,
|
|
947
|
-
transferCache: localVarTransferCache,
|
|
948
|
-
reportProgress: reportProgress
|
|
949
|
-
});
|
|
950
|
-
}
|
|
951
|
-
getSohoManifestReports(observe = 'body', reportProgress = false, options) {
|
|
952
|
-
let localVarHeaders = this.defaultHeaders;
|
|
953
|
-
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
954
|
-
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
955
|
-
// to determine the Accept header
|
|
956
|
-
const httpHeaderAccepts = [
|
|
957
|
-
'application/json'
|
|
958
|
-
];
|
|
959
|
-
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
960
|
-
}
|
|
961
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
962
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
963
|
-
}
|
|
964
|
-
let localVarHttpContext = options && options.context;
|
|
965
|
-
if (localVarHttpContext === undefined) {
|
|
966
|
-
localVarHttpContext = new HttpContext();
|
|
967
|
-
}
|
|
968
|
-
let localVarTransferCache = options && options.transferCache;
|
|
969
|
-
if (localVarTransferCache === undefined) {
|
|
970
|
-
localVarTransferCache = true;
|
|
971
|
-
}
|
|
972
|
-
let responseType_ = 'json';
|
|
973
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
974
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
975
|
-
responseType_ = 'text';
|
|
976
|
-
}
|
|
977
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
978
|
-
responseType_ = 'json';
|
|
979
|
-
}
|
|
980
|
-
else {
|
|
981
|
-
responseType_ = 'blob';
|
|
982
|
-
}
|
|
983
|
-
}
|
|
984
|
-
let localVarPath = `/reports/soho-manifest`;
|
|
985
|
-
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
986
|
-
context: localVarHttpContext,
|
|
987
|
-
responseType: responseType_,
|
|
988
|
-
withCredentials: this.configuration.withCredentials,
|
|
989
|
-
headers: localVarHeaders,
|
|
990
|
-
observe: observe,
|
|
991
|
-
transferCache: localVarTransferCache,
|
|
992
|
-
reportProgress: reportProgress
|
|
993
|
-
});
|
|
994
|
-
}
|
|
995
1319
|
getSummaryDashboardReports(observe = 'body', reportProgress = false, options) {
|
|
996
1320
|
let localVarHeaders = this.defaultHeaders;
|
|
997
1321
|
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
@@ -1025,7 +1349,7 @@ class ReportsService {
|
|
|
1025
1349
|
responseType_ = 'blob';
|
|
1026
1350
|
}
|
|
1027
1351
|
}
|
|
1028
|
-
let localVarPath = `/
|
|
1352
|
+
let localVarPath = `/summary/dashboard`;
|
|
1029
1353
|
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
1030
1354
|
context: localVarHttpContext,
|
|
1031
1355
|
responseType: responseType_,
|
|
@@ -1036,10 +1360,10 @@ class ReportsService {
|
|
|
1036
1360
|
reportProgress: reportProgress
|
|
1037
1361
|
});
|
|
1038
1362
|
}
|
|
1039
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type:
|
|
1040
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type:
|
|
1363
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: SummaryService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1364
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: SummaryService, providedIn: 'root' });
|
|
1041
1365
|
}
|
|
1042
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type:
|
|
1366
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: SummaryService, decorators: [{
|
|
1043
1367
|
type: Injectable,
|
|
1044
1368
|
args: [{
|
|
1045
1369
|
providedIn: 'root'
|
|
@@ -1330,7 +1654,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImpor
|
|
|
1330
1654
|
type: Optional
|
|
1331
1655
|
}] }] });
|
|
1332
1656
|
|
|
1333
|
-
const APIS = [DcsService, HealthService, PermissionsService,
|
|
1657
|
+
const APIS = [AnalyticsService, DcsService, HealthService, PermissionsService, SummaryService, UserService];
|
|
1334
1658
|
|
|
1335
1659
|
/**
|
|
1336
1660
|
* Wms.API.Client
|
|
@@ -1419,10 +1743,6 @@ const APIS = [DcsService, HealthService, PermissionsService, ReportsService, Use
|
|
|
1419
1743
|
* https://openapi-generator.tech
|
|
1420
1744
|
* Do not edit the class manually.
|
|
1421
1745
|
*/
|
|
1422
|
-
const PowerBiTenant = {
|
|
1423
|
-
SekoBi360: 'SekoBi360',
|
|
1424
|
-
Others: 'Others'
|
|
1425
|
-
};
|
|
1426
1746
|
|
|
1427
1747
|
/**
|
|
1428
1748
|
* Wms.API.Client
|
|
@@ -1519,5 +1839,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImpor
|
|
|
1519
1839
|
* Generated bundle index. Do not edit.
|
|
1520
1840
|
*/
|
|
1521
1841
|
|
|
1522
|
-
export { APIS, ApiModule, BASE_PATH, COLLECTION_FORMATS, Configuration, DcsService, HealthService, PermissionsService,
|
|
1842
|
+
export { APIS, AnalyticsService, ApiModule, BASE_PATH, COLLECTION_FORMATS, Configuration, DcsService, HealthService, PermissionsService, SummaryService, UserService };
|
|
1523
1843
|
//# sourceMappingURL=indigina-wms-api.mjs.map
|