@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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken,
|
|
2
|
+
import { InjectionToken, Optional, Inject, Injectable, SkipSelf, NgModule } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/common/http';
|
|
4
4
|
import { HttpHeaders, HttpContext, HttpParams } from '@angular/common/http';
|
|
5
5
|
|
|
@@ -153,7 +153,566 @@ class Configuration {
|
|
|
153
153
|
|
|
154
154
|
/**
|
|
155
155
|
* Wms.API.Client
|
|
156
|
-
*
|
|
156
|
+
*
|
|
157
|
+
*
|
|
158
|
+
*
|
|
159
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
160
|
+
* https://openapi-generator.tech
|
|
161
|
+
* Do not edit the class manually.
|
|
162
|
+
*/
|
|
163
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
164
|
+
class AnalyticsService {
|
|
165
|
+
httpClient;
|
|
166
|
+
basePath = 'http://localhost';
|
|
167
|
+
defaultHeaders = new HttpHeaders();
|
|
168
|
+
configuration = new Configuration();
|
|
169
|
+
encoder;
|
|
170
|
+
constructor(httpClient, basePath, configuration) {
|
|
171
|
+
this.httpClient = httpClient;
|
|
172
|
+
if (configuration) {
|
|
173
|
+
this.configuration = configuration;
|
|
174
|
+
}
|
|
175
|
+
if (typeof this.configuration.basePath !== 'string') {
|
|
176
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
177
|
+
if (firstBasePath != undefined) {
|
|
178
|
+
basePath = firstBasePath;
|
|
179
|
+
}
|
|
180
|
+
if (typeof basePath !== 'string') {
|
|
181
|
+
basePath = this.basePath;
|
|
182
|
+
}
|
|
183
|
+
this.configuration.basePath = basePath;
|
|
184
|
+
}
|
|
185
|
+
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
186
|
+
}
|
|
187
|
+
// @ts-ignore
|
|
188
|
+
addToHttpParams(httpParams, value, key) {
|
|
189
|
+
if (typeof value === "object" && value instanceof Date === false) {
|
|
190
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
191
|
+
}
|
|
192
|
+
else {
|
|
193
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
|
|
194
|
+
}
|
|
195
|
+
return httpParams;
|
|
196
|
+
}
|
|
197
|
+
addToHttpParamsRecursive(httpParams, value, key) {
|
|
198
|
+
if (value == null) {
|
|
199
|
+
return httpParams;
|
|
200
|
+
}
|
|
201
|
+
if (typeof value === "object") {
|
|
202
|
+
if (Array.isArray(value)) {
|
|
203
|
+
value.forEach(elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
|
|
204
|
+
}
|
|
205
|
+
else if (value instanceof Date) {
|
|
206
|
+
if (key != null) {
|
|
207
|
+
httpParams = httpParams.append(key, value.toISOString().substring(0, 10));
|
|
208
|
+
}
|
|
209
|
+
else {
|
|
210
|
+
throw Error("key may not be null if value is Date");
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
else {
|
|
214
|
+
Object.keys(value).forEach(k => httpParams = this.addToHttpParamsRecursive(httpParams, value[k], key != null ? `${key}.${k}` : k));
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
else if (key != null) {
|
|
218
|
+
httpParams = httpParams.append(key, value);
|
|
219
|
+
}
|
|
220
|
+
else {
|
|
221
|
+
throw Error("key may not be null if value is not object or array");
|
|
222
|
+
}
|
|
223
|
+
return httpParams;
|
|
224
|
+
}
|
|
225
|
+
createReport(report, observe = 'body', reportProgress = false, options) {
|
|
226
|
+
if (report === null || report === undefined) {
|
|
227
|
+
throw new Error('Required parameter report was null or undefined when calling createReport.');
|
|
228
|
+
}
|
|
229
|
+
let localVarHeaders = this.defaultHeaders;
|
|
230
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
231
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
232
|
+
// to determine the Accept header
|
|
233
|
+
const httpHeaderAccepts = [
|
|
234
|
+
'application/json'
|
|
235
|
+
];
|
|
236
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
237
|
+
}
|
|
238
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
239
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
240
|
+
}
|
|
241
|
+
let localVarHttpContext = options && options.context;
|
|
242
|
+
if (localVarHttpContext === undefined) {
|
|
243
|
+
localVarHttpContext = new HttpContext();
|
|
244
|
+
}
|
|
245
|
+
let localVarTransferCache = options && options.transferCache;
|
|
246
|
+
if (localVarTransferCache === undefined) {
|
|
247
|
+
localVarTransferCache = true;
|
|
248
|
+
}
|
|
249
|
+
// to determine the Content-Type header
|
|
250
|
+
const consumes = [
|
|
251
|
+
'application/json'
|
|
252
|
+
];
|
|
253
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
254
|
+
if (httpContentTypeSelected !== undefined) {
|
|
255
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
256
|
+
}
|
|
257
|
+
let responseType_ = 'json';
|
|
258
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
259
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
260
|
+
responseType_ = 'text';
|
|
261
|
+
}
|
|
262
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
263
|
+
responseType_ = 'json';
|
|
264
|
+
}
|
|
265
|
+
else {
|
|
266
|
+
responseType_ = 'blob';
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
let localVarPath = `/analytics/reports`;
|
|
270
|
+
return this.httpClient.request('post', `${this.configuration.basePath}${localVarPath}`, {
|
|
271
|
+
context: localVarHttpContext,
|
|
272
|
+
body: report,
|
|
273
|
+
responseType: responseType_,
|
|
274
|
+
withCredentials: this.configuration.withCredentials,
|
|
275
|
+
headers: localVarHeaders,
|
|
276
|
+
observe: observe,
|
|
277
|
+
transferCache: localVarTransferCache,
|
|
278
|
+
reportProgress: reportProgress
|
|
279
|
+
});
|
|
280
|
+
}
|
|
281
|
+
deleteReport(id, observe = 'body', reportProgress = false, options) {
|
|
282
|
+
if (id === null || id === undefined) {
|
|
283
|
+
throw new Error('Required parameter id was null or undefined when calling deleteReport.');
|
|
284
|
+
}
|
|
285
|
+
let localVarHeaders = this.defaultHeaders;
|
|
286
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
287
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
288
|
+
// to determine the Accept header
|
|
289
|
+
const httpHeaderAccepts = [];
|
|
290
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
291
|
+
}
|
|
292
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
293
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
294
|
+
}
|
|
295
|
+
let localVarHttpContext = options && options.context;
|
|
296
|
+
if (localVarHttpContext === undefined) {
|
|
297
|
+
localVarHttpContext = new HttpContext();
|
|
298
|
+
}
|
|
299
|
+
let localVarTransferCache = options && options.transferCache;
|
|
300
|
+
if (localVarTransferCache === undefined) {
|
|
301
|
+
localVarTransferCache = true;
|
|
302
|
+
}
|
|
303
|
+
let responseType_ = 'json';
|
|
304
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
305
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
306
|
+
responseType_ = 'text';
|
|
307
|
+
}
|
|
308
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
309
|
+
responseType_ = 'json';
|
|
310
|
+
}
|
|
311
|
+
else {
|
|
312
|
+
responseType_ = 'blob';
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
let localVarPath = `/analytics/reports/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}`;
|
|
316
|
+
return this.httpClient.request('delete', `${this.configuration.basePath}${localVarPath}`, {
|
|
317
|
+
context: localVarHttpContext,
|
|
318
|
+
responseType: responseType_,
|
|
319
|
+
withCredentials: this.configuration.withCredentials,
|
|
320
|
+
headers: localVarHeaders,
|
|
321
|
+
observe: observe,
|
|
322
|
+
transferCache: localVarTransferCache,
|
|
323
|
+
reportProgress: reportProgress
|
|
324
|
+
});
|
|
325
|
+
}
|
|
326
|
+
getCastoreWeeklyReports(observe = 'body', reportProgress = false, options) {
|
|
327
|
+
let localVarHeaders = this.defaultHeaders;
|
|
328
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
329
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
330
|
+
// to determine the Accept header
|
|
331
|
+
const httpHeaderAccepts = [
|
|
332
|
+
'application/json'
|
|
333
|
+
];
|
|
334
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
335
|
+
}
|
|
336
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
337
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
338
|
+
}
|
|
339
|
+
let localVarHttpContext = options && options.context;
|
|
340
|
+
if (localVarHttpContext === undefined) {
|
|
341
|
+
localVarHttpContext = new HttpContext();
|
|
342
|
+
}
|
|
343
|
+
let localVarTransferCache = options && options.transferCache;
|
|
344
|
+
if (localVarTransferCache === undefined) {
|
|
345
|
+
localVarTransferCache = true;
|
|
346
|
+
}
|
|
347
|
+
let responseType_ = 'json';
|
|
348
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
349
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
350
|
+
responseType_ = 'text';
|
|
351
|
+
}
|
|
352
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
353
|
+
responseType_ = 'json';
|
|
354
|
+
}
|
|
355
|
+
else {
|
|
356
|
+
responseType_ = 'blob';
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
let localVarPath = `/analytics/castore-weekly`;
|
|
360
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
361
|
+
context: localVarHttpContext,
|
|
362
|
+
responseType: responseType_,
|
|
363
|
+
withCredentials: this.configuration.withCredentials,
|
|
364
|
+
headers: localVarHeaders,
|
|
365
|
+
observe: observe,
|
|
366
|
+
transferCache: localVarTransferCache,
|
|
367
|
+
reportProgress: reportProgress
|
|
368
|
+
});
|
|
369
|
+
}
|
|
370
|
+
getEmbedded(id, workspaceId, powerBiTenant, observe = 'body', reportProgress = false, options) {
|
|
371
|
+
if (id === null || id === undefined) {
|
|
372
|
+
throw new Error('Required parameter id was null or undefined when calling getEmbedded.');
|
|
373
|
+
}
|
|
374
|
+
if (workspaceId === null || workspaceId === undefined) {
|
|
375
|
+
throw new Error('Required parameter workspaceId was null or undefined when calling getEmbedded.');
|
|
376
|
+
}
|
|
377
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
378
|
+
if (id !== undefined && id !== null) {
|
|
379
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, id, 'id');
|
|
380
|
+
}
|
|
381
|
+
if (workspaceId !== undefined && workspaceId !== null) {
|
|
382
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, workspaceId, 'workspaceId');
|
|
383
|
+
}
|
|
384
|
+
if (powerBiTenant !== undefined && powerBiTenant !== null) {
|
|
385
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, powerBiTenant, 'powerBiTenant');
|
|
386
|
+
}
|
|
387
|
+
let localVarHeaders = this.defaultHeaders;
|
|
388
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
389
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
390
|
+
// to determine the Accept header
|
|
391
|
+
const httpHeaderAccepts = [
|
|
392
|
+
'application/json'
|
|
393
|
+
];
|
|
394
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
395
|
+
}
|
|
396
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
397
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
398
|
+
}
|
|
399
|
+
let localVarHttpContext = options && options.context;
|
|
400
|
+
if (localVarHttpContext === undefined) {
|
|
401
|
+
localVarHttpContext = new HttpContext();
|
|
402
|
+
}
|
|
403
|
+
let localVarTransferCache = options && options.transferCache;
|
|
404
|
+
if (localVarTransferCache === undefined) {
|
|
405
|
+
localVarTransferCache = true;
|
|
406
|
+
}
|
|
407
|
+
let responseType_ = 'json';
|
|
408
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
409
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
410
|
+
responseType_ = 'text';
|
|
411
|
+
}
|
|
412
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
413
|
+
responseType_ = 'json';
|
|
414
|
+
}
|
|
415
|
+
else {
|
|
416
|
+
responseType_ = 'blob';
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
let localVarPath = `/analytics/embed`;
|
|
420
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
421
|
+
context: localVarHttpContext,
|
|
422
|
+
params: localVarQueryParameters,
|
|
423
|
+
responseType: responseType_,
|
|
424
|
+
withCredentials: this.configuration.withCredentials,
|
|
425
|
+
headers: localVarHeaders,
|
|
426
|
+
observe: observe,
|
|
427
|
+
transferCache: localVarTransferCache,
|
|
428
|
+
reportProgress: reportProgress
|
|
429
|
+
});
|
|
430
|
+
}
|
|
431
|
+
getGroupReports(reportName, observe = 'body', reportProgress = false, options) {
|
|
432
|
+
if (reportName === null || reportName === undefined) {
|
|
433
|
+
throw new Error('Required parameter reportName was null or undefined when calling getGroupReports.');
|
|
434
|
+
}
|
|
435
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
436
|
+
if (reportName !== undefined && reportName !== null) {
|
|
437
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, reportName, 'reportName');
|
|
438
|
+
}
|
|
439
|
+
let localVarHeaders = this.defaultHeaders;
|
|
440
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
441
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
442
|
+
// to determine the Accept header
|
|
443
|
+
const httpHeaderAccepts = [
|
|
444
|
+
'application/json'
|
|
445
|
+
];
|
|
446
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
447
|
+
}
|
|
448
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
449
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
450
|
+
}
|
|
451
|
+
let localVarHttpContext = options && options.context;
|
|
452
|
+
if (localVarHttpContext === undefined) {
|
|
453
|
+
localVarHttpContext = new HttpContext();
|
|
454
|
+
}
|
|
455
|
+
let localVarTransferCache = options && options.transferCache;
|
|
456
|
+
if (localVarTransferCache === undefined) {
|
|
457
|
+
localVarTransferCache = true;
|
|
458
|
+
}
|
|
459
|
+
let responseType_ = 'json';
|
|
460
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
461
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
462
|
+
responseType_ = 'text';
|
|
463
|
+
}
|
|
464
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
465
|
+
responseType_ = 'json';
|
|
466
|
+
}
|
|
467
|
+
else {
|
|
468
|
+
responseType_ = 'blob';
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
let localVarPath = `/analytics/group-reports`;
|
|
472
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
473
|
+
context: localVarHttpContext,
|
|
474
|
+
params: localVarQueryParameters,
|
|
475
|
+
responseType: responseType_,
|
|
476
|
+
withCredentials: this.configuration.withCredentials,
|
|
477
|
+
headers: localVarHeaders,
|
|
478
|
+
observe: observe,
|
|
479
|
+
transferCache: localVarTransferCache,
|
|
480
|
+
reportProgress: reportProgress
|
|
481
|
+
});
|
|
482
|
+
}
|
|
483
|
+
getReportById(id, observe = 'body', reportProgress = false, options) {
|
|
484
|
+
if (id === null || id === undefined) {
|
|
485
|
+
throw new Error('Required parameter id was null or undefined when calling getReportById.');
|
|
486
|
+
}
|
|
487
|
+
let localVarHeaders = this.defaultHeaders;
|
|
488
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
489
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
490
|
+
// to determine the Accept header
|
|
491
|
+
const httpHeaderAccepts = [
|
|
492
|
+
'application/json'
|
|
493
|
+
];
|
|
494
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
495
|
+
}
|
|
496
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
497
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
498
|
+
}
|
|
499
|
+
let localVarHttpContext = options && options.context;
|
|
500
|
+
if (localVarHttpContext === undefined) {
|
|
501
|
+
localVarHttpContext = new HttpContext();
|
|
502
|
+
}
|
|
503
|
+
let localVarTransferCache = options && options.transferCache;
|
|
504
|
+
if (localVarTransferCache === undefined) {
|
|
505
|
+
localVarTransferCache = true;
|
|
506
|
+
}
|
|
507
|
+
let responseType_ = 'json';
|
|
508
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
509
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
510
|
+
responseType_ = 'text';
|
|
511
|
+
}
|
|
512
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
513
|
+
responseType_ = 'json';
|
|
514
|
+
}
|
|
515
|
+
else {
|
|
516
|
+
responseType_ = 'blob';
|
|
517
|
+
}
|
|
518
|
+
}
|
|
519
|
+
let localVarPath = `/analytics/reports/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}`;
|
|
520
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
521
|
+
context: localVarHttpContext,
|
|
522
|
+
responseType: responseType_,
|
|
523
|
+
withCredentials: this.configuration.withCredentials,
|
|
524
|
+
headers: localVarHeaders,
|
|
525
|
+
observe: observe,
|
|
526
|
+
transferCache: localVarTransferCache,
|
|
527
|
+
reportProgress: reportProgress
|
|
528
|
+
});
|
|
529
|
+
}
|
|
530
|
+
getSohoManifestReports(observe = 'body', reportProgress = false, options) {
|
|
531
|
+
let localVarHeaders = this.defaultHeaders;
|
|
532
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
533
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
534
|
+
// to determine the Accept header
|
|
535
|
+
const httpHeaderAccepts = [
|
|
536
|
+
'application/json'
|
|
537
|
+
];
|
|
538
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
539
|
+
}
|
|
540
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
541
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
542
|
+
}
|
|
543
|
+
let localVarHttpContext = options && options.context;
|
|
544
|
+
if (localVarHttpContext === undefined) {
|
|
545
|
+
localVarHttpContext = new HttpContext();
|
|
546
|
+
}
|
|
547
|
+
let localVarTransferCache = options && options.transferCache;
|
|
548
|
+
if (localVarTransferCache === undefined) {
|
|
549
|
+
localVarTransferCache = true;
|
|
550
|
+
}
|
|
551
|
+
let responseType_ = 'json';
|
|
552
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
553
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
554
|
+
responseType_ = 'text';
|
|
555
|
+
}
|
|
556
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
557
|
+
responseType_ = 'json';
|
|
558
|
+
}
|
|
559
|
+
else {
|
|
560
|
+
responseType_ = 'blob';
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
let localVarPath = `/analytics/soho-manifest`;
|
|
564
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
565
|
+
context: localVarHttpContext,
|
|
566
|
+
responseType: responseType_,
|
|
567
|
+
withCredentials: this.configuration.withCredentials,
|
|
568
|
+
headers: localVarHeaders,
|
|
569
|
+
observe: observe,
|
|
570
|
+
transferCache: localVarTransferCache,
|
|
571
|
+
reportProgress: reportProgress
|
|
572
|
+
});
|
|
573
|
+
}
|
|
574
|
+
updateGroupReports(reportName, group, observe = 'body', reportProgress = false, options) {
|
|
575
|
+
if (reportName === null || reportName === undefined) {
|
|
576
|
+
throw new Error('Required parameter reportName was null or undefined when calling updateGroupReports.');
|
|
577
|
+
}
|
|
578
|
+
if (group === null || group === undefined) {
|
|
579
|
+
throw new Error('Required parameter group was null or undefined when calling updateGroupReports.');
|
|
580
|
+
}
|
|
581
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
582
|
+
if (reportName !== undefined && reportName !== null) {
|
|
583
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, reportName, 'reportName');
|
|
584
|
+
}
|
|
585
|
+
let localVarHeaders = this.defaultHeaders;
|
|
586
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
587
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
588
|
+
// to determine the Accept header
|
|
589
|
+
const httpHeaderAccepts = [
|
|
590
|
+
'application/json'
|
|
591
|
+
];
|
|
592
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
593
|
+
}
|
|
594
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
595
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
596
|
+
}
|
|
597
|
+
let localVarHttpContext = options && options.context;
|
|
598
|
+
if (localVarHttpContext === undefined) {
|
|
599
|
+
localVarHttpContext = new HttpContext();
|
|
600
|
+
}
|
|
601
|
+
let localVarTransferCache = options && options.transferCache;
|
|
602
|
+
if (localVarTransferCache === undefined) {
|
|
603
|
+
localVarTransferCache = true;
|
|
604
|
+
}
|
|
605
|
+
// to determine the Content-Type header
|
|
606
|
+
const consumes = [
|
|
607
|
+
'application/json'
|
|
608
|
+
];
|
|
609
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
610
|
+
if (httpContentTypeSelected !== undefined) {
|
|
611
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
612
|
+
}
|
|
613
|
+
let responseType_ = 'json';
|
|
614
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
615
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
616
|
+
responseType_ = 'text';
|
|
617
|
+
}
|
|
618
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
619
|
+
responseType_ = 'json';
|
|
620
|
+
}
|
|
621
|
+
else {
|
|
622
|
+
responseType_ = 'blob';
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
let localVarPath = `/analytics/group-reports`;
|
|
626
|
+
return this.httpClient.request('put', `${this.configuration.basePath}${localVarPath}`, {
|
|
627
|
+
context: localVarHttpContext,
|
|
628
|
+
body: group,
|
|
629
|
+
params: localVarQueryParameters,
|
|
630
|
+
responseType: responseType_,
|
|
631
|
+
withCredentials: this.configuration.withCredentials,
|
|
632
|
+
headers: localVarHeaders,
|
|
633
|
+
observe: observe,
|
|
634
|
+
transferCache: localVarTransferCache,
|
|
635
|
+
reportProgress: reportProgress
|
|
636
|
+
});
|
|
637
|
+
}
|
|
638
|
+
updateReport(id, report, observe = 'body', reportProgress = false, options) {
|
|
639
|
+
if (id === null || id === undefined) {
|
|
640
|
+
throw new Error('Required parameter id was null or undefined when calling updateReport.');
|
|
641
|
+
}
|
|
642
|
+
if (report === null || report === undefined) {
|
|
643
|
+
throw new Error('Required parameter report was null or undefined when calling updateReport.');
|
|
644
|
+
}
|
|
645
|
+
let localVarHeaders = this.defaultHeaders;
|
|
646
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
647
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
648
|
+
// to determine the Accept header
|
|
649
|
+
const httpHeaderAccepts = [
|
|
650
|
+
'application/json'
|
|
651
|
+
];
|
|
652
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
653
|
+
}
|
|
654
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
655
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
656
|
+
}
|
|
657
|
+
let localVarHttpContext = options && options.context;
|
|
658
|
+
if (localVarHttpContext === undefined) {
|
|
659
|
+
localVarHttpContext = new HttpContext();
|
|
660
|
+
}
|
|
661
|
+
let localVarTransferCache = options && options.transferCache;
|
|
662
|
+
if (localVarTransferCache === undefined) {
|
|
663
|
+
localVarTransferCache = true;
|
|
664
|
+
}
|
|
665
|
+
// to determine the Content-Type header
|
|
666
|
+
const consumes = [
|
|
667
|
+
'application/json'
|
|
668
|
+
];
|
|
669
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
670
|
+
if (httpContentTypeSelected !== undefined) {
|
|
671
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
672
|
+
}
|
|
673
|
+
let responseType_ = 'json';
|
|
674
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
675
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
676
|
+
responseType_ = 'text';
|
|
677
|
+
}
|
|
678
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
679
|
+
responseType_ = 'json';
|
|
680
|
+
}
|
|
681
|
+
else {
|
|
682
|
+
responseType_ = 'blob';
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
let localVarPath = `/analytics/reports/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}`;
|
|
686
|
+
return this.httpClient.request('put', `${this.configuration.basePath}${localVarPath}`, {
|
|
687
|
+
context: localVarHttpContext,
|
|
688
|
+
body: report,
|
|
689
|
+
responseType: responseType_,
|
|
690
|
+
withCredentials: this.configuration.withCredentials,
|
|
691
|
+
headers: localVarHeaders,
|
|
692
|
+
observe: observe,
|
|
693
|
+
transferCache: localVarTransferCache,
|
|
694
|
+
reportProgress: reportProgress
|
|
695
|
+
});
|
|
696
|
+
}
|
|
697
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: AnalyticsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
698
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: AnalyticsService, providedIn: 'root' });
|
|
699
|
+
}
|
|
700
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: AnalyticsService, decorators: [{
|
|
701
|
+
type: Injectable,
|
|
702
|
+
args: [{
|
|
703
|
+
providedIn: 'root'
|
|
704
|
+
}]
|
|
705
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
706
|
+
type: Optional
|
|
707
|
+
}, {
|
|
708
|
+
type: Inject,
|
|
709
|
+
args: [BASE_PATH]
|
|
710
|
+
}] }, { type: Configuration, decorators: [{
|
|
711
|
+
type: Optional
|
|
712
|
+
}] }] });
|
|
713
|
+
|
|
714
|
+
/**
|
|
715
|
+
* Wms.API.Client
|
|
157
716
|
*
|
|
158
717
|
*
|
|
159
718
|
*
|
|
@@ -399,10 +958,10 @@ class DcsService {
|
|
|
399
958
|
reportProgress: reportProgress
|
|
400
959
|
});
|
|
401
960
|
}
|
|
402
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
403
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
961
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: DcsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
962
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: DcsService, providedIn: 'root' });
|
|
404
963
|
}
|
|
405
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
964
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: DcsService, decorators: [{
|
|
406
965
|
type: Injectable,
|
|
407
966
|
args: [{
|
|
408
967
|
providedIn: 'root'
|
|
@@ -418,7 +977,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImpor
|
|
|
418
977
|
|
|
419
978
|
/**
|
|
420
979
|
* Wms.API.Client
|
|
421
|
-
* WMS API Client for Angular applications
|
|
422
980
|
*
|
|
423
981
|
*
|
|
424
982
|
*
|
|
@@ -533,10 +1091,10 @@ class HealthService {
|
|
|
533
1091
|
reportProgress: reportProgress
|
|
534
1092
|
});
|
|
535
1093
|
}
|
|
536
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
537
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1094
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: HealthService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1095
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: HealthService, providedIn: 'root' });
|
|
538
1096
|
}
|
|
539
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1097
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: HealthService, decorators: [{
|
|
540
1098
|
type: Injectable,
|
|
541
1099
|
args: [{
|
|
542
1100
|
providedIn: 'root'
|
|
@@ -552,7 +1110,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImpor
|
|
|
552
1110
|
|
|
553
1111
|
/**
|
|
554
1112
|
* Wms.API.Client
|
|
555
|
-
* WMS API Client for Angular applications
|
|
556
1113
|
*
|
|
557
1114
|
*
|
|
558
1115
|
*
|
|
@@ -666,10 +1223,10 @@ class PermissionsService {
|
|
|
666
1223
|
reportProgress: reportProgress
|
|
667
1224
|
});
|
|
668
1225
|
}
|
|
669
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
670
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1226
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: PermissionsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1227
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: PermissionsService, providedIn: 'root' });
|
|
671
1228
|
}
|
|
672
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1229
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: PermissionsService, decorators: [{
|
|
673
1230
|
type: Injectable,
|
|
674
1231
|
args: [{
|
|
675
1232
|
providedIn: 'root'
|
|
@@ -685,7 +1242,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImpor
|
|
|
685
1242
|
|
|
686
1243
|
/**
|
|
687
1244
|
* Wms.API.Client
|
|
688
|
-
* WMS API Client for Angular applications
|
|
689
1245
|
*
|
|
690
1246
|
*
|
|
691
1247
|
*
|
|
@@ -694,7 +1250,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImpor
|
|
|
694
1250
|
* Do not edit the class manually.
|
|
695
1251
|
*/
|
|
696
1252
|
/* tslint:disable:no-unused-variable member-ordering */
|
|
697
|
-
class
|
|
1253
|
+
class SummaryService {
|
|
698
1254
|
httpClient;
|
|
699
1255
|
basePath = 'http://localhost';
|
|
700
1256
|
defaultHeaders = new HttpHeaders();
|
|
@@ -755,243 +1311,6 @@ class ReportsService {
|
|
|
755
1311
|
}
|
|
756
1312
|
return httpParams;
|
|
757
1313
|
}
|
|
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
1314
|
getSummaryDashboardReports(observe = 'body', reportProgress = false, options) {
|
|
996
1315
|
let localVarHeaders = this.defaultHeaders;
|
|
997
1316
|
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
@@ -1025,7 +1344,7 @@ class ReportsService {
|
|
|
1025
1344
|
responseType_ = 'blob';
|
|
1026
1345
|
}
|
|
1027
1346
|
}
|
|
1028
|
-
let localVarPath = `/
|
|
1347
|
+
let localVarPath = `/summary/dashboard`;
|
|
1029
1348
|
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
1030
1349
|
context: localVarHttpContext,
|
|
1031
1350
|
responseType: responseType_,
|
|
@@ -1036,10 +1355,10 @@ class ReportsService {
|
|
|
1036
1355
|
reportProgress: reportProgress
|
|
1037
1356
|
});
|
|
1038
1357
|
}
|
|
1039
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1040
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1358
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: SummaryService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1359
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: SummaryService, providedIn: 'root' });
|
|
1041
1360
|
}
|
|
1042
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1361
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: SummaryService, decorators: [{
|
|
1043
1362
|
type: Injectable,
|
|
1044
1363
|
args: [{
|
|
1045
1364
|
providedIn: 'root'
|
|
@@ -1055,7 +1374,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImpor
|
|
|
1055
1374
|
|
|
1056
1375
|
/**
|
|
1057
1376
|
* Wms.API.Client
|
|
1058
|
-
* WMS API Client for Angular applications
|
|
1059
1377
|
*
|
|
1060
1378
|
*
|
|
1061
1379
|
*
|
|
@@ -1313,10 +1631,10 @@ class UserService {
|
|
|
1313
1631
|
reportProgress: reportProgress
|
|
1314
1632
|
});
|
|
1315
1633
|
}
|
|
1316
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1317
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1634
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: UserService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1635
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: UserService, providedIn: 'root' });
|
|
1318
1636
|
}
|
|
1319
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1637
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: UserService, decorators: [{
|
|
1320
1638
|
type: Injectable,
|
|
1321
1639
|
args: [{
|
|
1322
1640
|
providedIn: 'root'
|
|
@@ -1330,11 +1648,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImpor
|
|
|
1330
1648
|
type: Optional
|
|
1331
1649
|
}] }] });
|
|
1332
1650
|
|
|
1333
|
-
const APIS = [DcsService, HealthService, PermissionsService,
|
|
1651
|
+
const APIS = [AnalyticsService, DcsService, HealthService, PermissionsService, SummaryService, UserService];
|
|
1334
1652
|
|
|
1335
1653
|
/**
|
|
1336
1654
|
* Wms.API.Client
|
|
1337
|
-
* WMS API Client for Angular applications
|
|
1338
1655
|
*
|
|
1339
1656
|
*
|
|
1340
1657
|
*
|
|
@@ -1345,7 +1662,6 @@ const APIS = [DcsService, HealthService, PermissionsService, ReportsService, Use
|
|
|
1345
1662
|
|
|
1346
1663
|
/**
|
|
1347
1664
|
* Wms.API.Client
|
|
1348
|
-
* WMS API Client for Angular applications
|
|
1349
1665
|
*
|
|
1350
1666
|
*
|
|
1351
1667
|
*
|
|
@@ -1356,7 +1672,6 @@ const APIS = [DcsService, HealthService, PermissionsService, ReportsService, Use
|
|
|
1356
1672
|
|
|
1357
1673
|
/**
|
|
1358
1674
|
* Wms.API.Client
|
|
1359
|
-
* WMS API Client for Angular applications
|
|
1360
1675
|
*
|
|
1361
1676
|
*
|
|
1362
1677
|
*
|
|
@@ -1367,7 +1682,6 @@ const APIS = [DcsService, HealthService, PermissionsService, ReportsService, Use
|
|
|
1367
1682
|
|
|
1368
1683
|
/**
|
|
1369
1684
|
* Wms.API.Client
|
|
1370
|
-
* WMS API Client for Angular applications
|
|
1371
1685
|
*
|
|
1372
1686
|
*
|
|
1373
1687
|
*
|
|
@@ -1378,7 +1692,6 @@ const APIS = [DcsService, HealthService, PermissionsService, ReportsService, Use
|
|
|
1378
1692
|
|
|
1379
1693
|
/**
|
|
1380
1694
|
* Wms.API.Client
|
|
1381
|
-
* WMS API Client for Angular applications
|
|
1382
1695
|
*
|
|
1383
1696
|
*
|
|
1384
1697
|
*
|
|
@@ -1389,7 +1702,6 @@ const APIS = [DcsService, HealthService, PermissionsService, ReportsService, Use
|
|
|
1389
1702
|
|
|
1390
1703
|
/**
|
|
1391
1704
|
* Wms.API.Client
|
|
1392
|
-
* WMS API Client for Angular applications
|
|
1393
1705
|
*
|
|
1394
1706
|
*
|
|
1395
1707
|
*
|
|
@@ -1400,7 +1712,6 @@ const APIS = [DcsService, HealthService, PermissionsService, ReportsService, Use
|
|
|
1400
1712
|
|
|
1401
1713
|
/**
|
|
1402
1714
|
* Wms.API.Client
|
|
1403
|
-
* WMS API Client for Angular applications
|
|
1404
1715
|
*
|
|
1405
1716
|
*
|
|
1406
1717
|
*
|
|
@@ -1411,7 +1722,6 @@ const APIS = [DcsService, HealthService, PermissionsService, ReportsService, Use
|
|
|
1411
1722
|
|
|
1412
1723
|
/**
|
|
1413
1724
|
* Wms.API.Client
|
|
1414
|
-
* WMS API Client for Angular applications
|
|
1415
1725
|
*
|
|
1416
1726
|
*
|
|
1417
1727
|
*
|
|
@@ -1419,14 +1729,9 @@ const APIS = [DcsService, HealthService, PermissionsService, ReportsService, Use
|
|
|
1419
1729
|
* https://openapi-generator.tech
|
|
1420
1730
|
* Do not edit the class manually.
|
|
1421
1731
|
*/
|
|
1422
|
-
const PowerBiTenant = {
|
|
1423
|
-
SekoBi360: 'SekoBi360',
|
|
1424
|
-
Others: 'Others'
|
|
1425
|
-
};
|
|
1426
1732
|
|
|
1427
1733
|
/**
|
|
1428
1734
|
* Wms.API.Client
|
|
1429
|
-
* WMS API Client for Angular applications
|
|
1430
1735
|
*
|
|
1431
1736
|
*
|
|
1432
1737
|
*
|
|
@@ -1437,7 +1742,6 @@ const PowerBiTenant = {
|
|
|
1437
1742
|
|
|
1438
1743
|
/**
|
|
1439
1744
|
* Wms.API.Client
|
|
1440
|
-
* WMS API Client for Angular applications
|
|
1441
1745
|
*
|
|
1442
1746
|
*
|
|
1443
1747
|
*
|
|
@@ -1448,7 +1752,6 @@ const PowerBiTenant = {
|
|
|
1448
1752
|
|
|
1449
1753
|
/**
|
|
1450
1754
|
* Wms.API.Client
|
|
1451
|
-
* WMS API Client for Angular applications
|
|
1452
1755
|
*
|
|
1453
1756
|
*
|
|
1454
1757
|
*
|
|
@@ -1459,7 +1762,6 @@ const PowerBiTenant = {
|
|
|
1459
1762
|
|
|
1460
1763
|
/**
|
|
1461
1764
|
* Wms.API.Client
|
|
1462
|
-
* WMS API Client for Angular applications
|
|
1463
1765
|
*
|
|
1464
1766
|
*
|
|
1465
1767
|
*
|
|
@@ -1470,7 +1772,6 @@ const PowerBiTenant = {
|
|
|
1470
1772
|
|
|
1471
1773
|
/**
|
|
1472
1774
|
* Wms.API.Client
|
|
1473
|
-
* WMS API Client for Angular applications
|
|
1474
1775
|
*
|
|
1475
1776
|
*
|
|
1476
1777
|
*
|
|
@@ -1495,11 +1796,11 @@ class ApiModule {
|
|
|
1495
1796
|
'See also https://github.com/angular/angular/issues/20575');
|
|
1496
1797
|
}
|
|
1497
1798
|
}
|
|
1498
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1499
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1500
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1799
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: ApiModule, deps: [{ token: ApiModule, optional: true, skipSelf: true }, { token: i1.HttpClient, optional: true }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1800
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.0", ngImport: i0, type: ApiModule });
|
|
1801
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: ApiModule });
|
|
1501
1802
|
}
|
|
1502
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1803
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: ApiModule, decorators: [{
|
|
1503
1804
|
type: NgModule,
|
|
1504
1805
|
args: [{
|
|
1505
1806
|
imports: [],
|
|
@@ -1519,5 +1820,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImpor
|
|
|
1519
1820
|
* Generated bundle index. Do not edit.
|
|
1520
1821
|
*/
|
|
1521
1822
|
|
|
1522
|
-
export { APIS, ApiModule, BASE_PATH, COLLECTION_FORMATS, Configuration, DcsService, HealthService, PermissionsService,
|
|
1823
|
+
export { APIS, AnalyticsService, ApiModule, BASE_PATH, COLLECTION_FORMATS, Configuration, DcsService, HealthService, PermissionsService, SummaryService, UserService };
|
|
1523
1824
|
//# sourceMappingURL=indigina-wms-api.mjs.map
|