@bringg/dashboard-sdk 0.4.55 → 0.4.59
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/dist/AnalyticsReports/AnalyticsReports.types.d.ts +0 -10
- package/dist/AnalyticsReports/AnalyticsReports.types.js +0 -6
- package/dist/AnalyticsReports/AnalyticsReports.types.js.map +1 -1
- package/dist/AnalyticsReports/AnalyticsReportsApi.d.ts +6 -5
- package/dist/AnalyticsReports/AnalyticsReportsApi.js +5 -2
- package/dist/AnalyticsReports/AnalyticsReportsApi.js.map +1 -1
- package/dist/AnalyticsReports/Entity/AnalyticsReportsEntity.d.ts +6 -5
- package/dist/AnalyticsReports/Entity/AnalyticsReportsEntity.js +16 -5
- package/dist/AnalyticsReports/Entity/AnalyticsReportsEntity.js.map +1 -1
- package/dist/Services/ServiceRequest.js +1 -1
- package/dist/bringg-dashboard-sdk-cjs2.js +32 -9
- package/dist/bringg-dashboard-sdk-cjs2.js.map +1 -1
- package/dist/bringg-dashboard-sdk.js +7 -7
- package/dist/bringg-dashboard-sdk.min.js +2 -2
- package/dist/bringg-dashboard-sdk.min.js.map +1 -1
- package/dist/stats.json +193 -173
- package/package.json +2 -2
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
export declare enum Order {
|
|
2
|
-
asc = "asc",
|
|
3
|
-
desc = "desc"
|
|
4
|
-
}
|
|
5
|
-
export declare type GetReportPayload = {
|
|
6
|
-
order?: Order;
|
|
7
|
-
orderBy?: string;
|
|
8
|
-
limit?: number;
|
|
9
|
-
offset?: number;
|
|
10
|
-
};
|
|
11
1
|
export interface ReportResponse<T> {
|
|
12
2
|
data: T;
|
|
13
3
|
success: boolean;
|
|
@@ -1,9 +1,3 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Order = void 0;
|
|
4
|
-
var Order;
|
|
5
|
-
(function (Order) {
|
|
6
|
-
Order["asc"] = "asc";
|
|
7
|
-
Order["desc"] = "desc";
|
|
8
|
-
})(Order = exports.Order || (exports.Order = {}));
|
|
9
3
|
//# sourceMappingURL=AnalyticsReports.types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnalyticsReports.types.js","sourceRoot":"","sources":["../../src/AnalyticsReports/AnalyticsReports.types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AnalyticsReports.types.js","sourceRoot":"","sources":["../../src/AnalyticsReports/AnalyticsReports.types.ts"],"names":[],"mappings":""}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { ReportDtoInterface } from '@bringg/types';
|
|
1
|
+
import { ExecuteReportInterface, ReportDtoInterface, ReportPagination } from '@bringg/types';
|
|
2
2
|
import Session from '../Services/Identity/Session';
|
|
3
|
-
import {
|
|
3
|
+
import { ReportResponse } from './AnalyticsReports.types';
|
|
4
4
|
export default class AnalyticsReportsApi {
|
|
5
5
|
private analyticsReportsEntity;
|
|
6
6
|
constructor(session: Session);
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
getReport(reportId: string): Promise<ReportDtoInterface>;
|
|
8
|
+
getUserReports(queryString: ReportPagination): Promise<ReportResponse<ReportDtoInterface[]>>;
|
|
9
|
+
getExecutedReport(reportId: string, queryParams: ExecuteReportInterface): Promise<Record<string, string>>;
|
|
10
|
+
getSystemReports(queryString: ReportPagination): Promise<ReportResponse<ReportDtoInterface[]>>;
|
|
10
11
|
}
|
|
@@ -5,11 +5,14 @@ var AnalyticsReportsApi = /** @class */ (function () {
|
|
|
5
5
|
function AnalyticsReportsApi(session) {
|
|
6
6
|
this.analyticsReportsEntity = new AnalyticsReportsEntity_1.default(session);
|
|
7
7
|
}
|
|
8
|
+
AnalyticsReportsApi.prototype.getReport = function (reportId) {
|
|
9
|
+
return this.analyticsReportsEntity.getReport(reportId);
|
|
10
|
+
};
|
|
8
11
|
AnalyticsReportsApi.prototype.getUserReports = function (queryString) {
|
|
9
12
|
return this.analyticsReportsEntity.getUserReports(queryString);
|
|
10
13
|
};
|
|
11
|
-
AnalyticsReportsApi.prototype.getExecutedReport = function (reportId,
|
|
12
|
-
return this.analyticsReportsEntity.getExecutedReport(reportId,
|
|
14
|
+
AnalyticsReportsApi.prototype.getExecutedReport = function (reportId, queryParams) {
|
|
15
|
+
return this.analyticsReportsEntity.getExecutedReport(reportId, queryParams);
|
|
13
16
|
};
|
|
14
17
|
AnalyticsReportsApi.prototype.getSystemReports = function (queryString) {
|
|
15
18
|
return this.analyticsReportsEntity.getSystemReports(queryString);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnalyticsReportsApi.js","sourceRoot":"","sources":["../../src/AnalyticsReports/AnalyticsReportsApi.ts"],"names":[],"mappings":";;AAIA,0EAAqE;AAErE;IAGC,6BAAY,OAAgB;QAC3B,IAAI,CAAC,sBAAsB,GAAG,IAAI,gCAAsB,CAAC,OAAO,CAAC,CAAC;IACnE,CAAC;IAED,4CAAc,GAAd,UAAe,WAA6B;QAC3C,OAAO,IAAI,CAAC,sBAAsB,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC;IAChE,CAAC;IAED,+CAAiB,GAAjB,UAAkB,QAAgB,EAAE,
|
|
1
|
+
{"version":3,"file":"AnalyticsReportsApi.js","sourceRoot":"","sources":["../../src/AnalyticsReports/AnalyticsReportsApi.ts"],"names":[],"mappings":";;AAIA,0EAAqE;AAErE;IAGC,6BAAY,OAAgB;QAC3B,IAAI,CAAC,sBAAsB,GAAG,IAAI,gCAAsB,CAAC,OAAO,CAAC,CAAC;IACnE,CAAC;IAED,uCAAS,GAAT,UAAU,QAAgB;QACzB,OAAO,IAAI,CAAC,sBAAsB,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;IACxD,CAAC;IAED,4CAAc,GAAd,UAAe,WAA6B;QAC3C,OAAO,IAAI,CAAC,sBAAsB,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC;IAChE,CAAC;IAED,+CAAiB,GAAjB,UAAkB,QAAgB,EAAE,WAAmC;QACtE,OAAO,IAAI,CAAC,sBAAsB,CAAC,iBAAiB,CAAC,QAAQ,EAAE,WAAW,CAAC,CAAC;IAC7E,CAAC;IAED,8CAAgB,GAAhB,UAAiB,WAA6B;QAC7C,OAAO,IAAI,CAAC,sBAAsB,CAAC,gBAAgB,CAAC,WAAW,CAAC,CAAC;IAClE,CAAC;IACF,0BAAC;AAAD,CAAC,AAtBD,IAsBC"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { ReportDtoInterface } from '@bringg/types';
|
|
1
|
+
import { ExecuteReportInterface, ReportDtoInterface, ReportPagination } from '@bringg/types';
|
|
2
2
|
import Entity from '../../Core/Entity';
|
|
3
3
|
import Session from '../../Services/Identity/Session';
|
|
4
|
-
import {
|
|
4
|
+
import { ReportResponse } from '../AnalyticsReports.types';
|
|
5
5
|
export default class AnalyticsReportsEntity extends Entity<AnalyticsReportsEntity> {
|
|
6
6
|
constructor(session: Session);
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
getReport(reportId: string): Promise<ReportDtoInterface>;
|
|
8
|
+
getUserReports(queryString: ReportPagination): Promise<ReportResponse<ReportDtoInterface[]>>;
|
|
9
|
+
getExecutedReport(reportId: string, queryParams: ExecuteReportInterface): Promise<Record<string, string>>;
|
|
10
|
+
getSystemReports(queryString: ReportPagination): Promise<ReportResponse<ReportDtoInterface[]>>;
|
|
10
11
|
}
|
|
@@ -59,8 +59,9 @@ var Version;
|
|
|
59
59
|
var BaseRoute = '/report-service';
|
|
60
60
|
var Routes = {
|
|
61
61
|
GET_USER_REPORTS: BaseRoute + "/" + Version.v1 + "/reports",
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
GET_SYSTEM_REPORTS: BaseRoute + "/" + Version.v1 + "/system-reports",
|
|
63
|
+
GET_REPORT: BaseRoute + "/" + Version.v1 + "/reports/{:reportId}",
|
|
64
|
+
GET_EXECUTED_REPORT: BaseRoute + "/" + Version.v1 + "/reports/{:reportId}/execute"
|
|
64
65
|
};
|
|
65
66
|
var AnalyticsReportsEntity = /** @class */ (function (_super) {
|
|
66
67
|
__extends(AnalyticsReportsEntity, _super);
|
|
@@ -70,6 +71,16 @@ var AnalyticsReportsEntity = /** @class */ (function (_super) {
|
|
|
70
71
|
entityName: 'report-service'
|
|
71
72
|
}) || this;
|
|
72
73
|
}
|
|
74
|
+
AnalyticsReportsEntity.prototype.getReport = function (reportId) {
|
|
75
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
76
|
+
return __generator(this, function (_a) {
|
|
77
|
+
switch (_a.label) {
|
|
78
|
+
case 0: return [4 /*yield*/, this.service.routeGenerator.get(Routes.GET_REPORT.replace('{:reportId}', reportId)).invoke()];
|
|
79
|
+
case 1: return [2 /*return*/, _a.sent()];
|
|
80
|
+
}
|
|
81
|
+
});
|
|
82
|
+
});
|
|
83
|
+
};
|
|
73
84
|
AnalyticsReportsEntity.prototype.getUserReports = function (queryString) {
|
|
74
85
|
return __awaiter(this, void 0, void 0, function () {
|
|
75
86
|
return __generator(this, function (_a) {
|
|
@@ -83,14 +94,14 @@ var AnalyticsReportsEntity = /** @class */ (function (_super) {
|
|
|
83
94
|
});
|
|
84
95
|
});
|
|
85
96
|
};
|
|
86
|
-
AnalyticsReportsEntity.prototype.getExecutedReport = function (reportId,
|
|
97
|
+
AnalyticsReportsEntity.prototype.getExecutedReport = function (reportId, queryParams) {
|
|
87
98
|
return __awaiter(this, void 0, void 0, function () {
|
|
88
99
|
return __generator(this, function (_a) {
|
|
89
100
|
switch (_a.label) {
|
|
90
101
|
case 0: return [4 /*yield*/, this.service.routeGenerator
|
|
91
|
-
.
|
|
102
|
+
.post(Routes.GET_EXECUTED_REPORT)
|
|
92
103
|
.withRouteParams({ reportId: reportId })
|
|
93
|
-
.
|
|
104
|
+
.withPayload(queryParams)
|
|
94
105
|
.invoke()];
|
|
95
106
|
case 1: return [2 /*return*/, _a.sent()];
|
|
96
107
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnalyticsReportsEntity.js","sourceRoot":"","sources":["../../../src/AnalyticsReports/Entity/AnalyticsReportsEntity.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,4CAAuC;AAIvC,IAAK,OAEJ;AAFD,WAAK,OAAO;IACX,oBAAS,CAAA;AACV,CAAC,EAFI,OAAO,KAAP,OAAO,QAEX;AACD,IAAM,SAAS,GAAG,iBAAiB,CAAC;AACpC,IAAM,MAAM,GAAG;IACd,gBAAgB,EAAK,SAAS,SAAI,OAAO,CAAC,EAAE,aAAU;IACtD,
|
|
1
|
+
{"version":3,"file":"AnalyticsReportsEntity.js","sourceRoot":"","sources":["../../../src/AnalyticsReports/Entity/AnalyticsReportsEntity.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,4CAAuC;AAIvC,IAAK,OAEJ;AAFD,WAAK,OAAO;IACX,oBAAS,CAAA;AACV,CAAC,EAFI,OAAO,KAAP,OAAO,QAEX;AACD,IAAM,SAAS,GAAG,iBAAiB,CAAC;AACpC,IAAM,MAAM,GAAG;IACd,gBAAgB,EAAK,SAAS,SAAI,OAAO,CAAC,EAAE,aAAU;IACtD,kBAAkB,EAAK,SAAS,SAAI,OAAO,CAAC,EAAE,oBAAiB;IAC/D,UAAU,EAAK,SAAS,SAAI,OAAO,CAAC,EAAE,yBAAsB;IAC5D,mBAAmB,EAAK,SAAS,SAAI,OAAO,CAAC,EAAE,iCAA8B;CAC7E,CAAC;AAEF;IAAoD,0CAA8B;IACjF,gCAAY,OAAgB;eAC3B,kBAAM;YACL,OAAO,SAAA;YACP,UAAU,EAAE,gBAAgB;SAC5B,CAAC;IACH,CAAC;IAEK,0CAAS,GAAf,UAAgB,QAAgB;;;;4BACxB,qBAAM,IAAI,CAAC,OAAO,CAAC,cAAc,CAAC,GAAG,CAAC,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,aAAa,EAAE,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,EAAA;4BAAzG,sBAAO,SAAkG,EAAC;;;;KAC1G;IAEK,+CAAc,GAApB,UAAqB,WAA6B;;;;4BAC1C,qBAAM,IAAI,CAAC,OAAO,CAAC,cAAc;6BACtC,GAAG,CAAC,MAAM,CAAC,gBAAgB,CAAC;6BAC5B,eAAe,CAAC,WAAW,CAAC;6BAC5B,MAAM,EAAE,EAAA;4BAHV,sBAAO,SAGG,EAAC;;;;KACX;IAEK,kDAAiB,GAAvB,UAAwB,QAAgB,EAAE,WAAmC;;;;4BACrE,qBAAM,IAAI,CAAC,OAAO,CAAC,cAAc;6BACtC,IAAI,CAAC,MAAM,CAAC,mBAAmB,CAAC;6BAChC,eAAe,CAAC,EAAE,QAAQ,UAAA,EAAE,CAAC;6BAC7B,WAAW,CAAC,WAAW,CAAC;6BACxB,MAAM,EAAE,EAAA;4BAJV,sBAAO,SAIG,EAAC;;;;KACX;IAEK,iDAAgB,GAAtB,UAAuB,WAA6B;;;;4BAC5C,qBAAM,IAAI,CAAC,OAAO,CAAC,cAAc;6BACtC,GAAG,CAAC,MAAM,CAAC,kBAAkB,CAAC;6BAC9B,eAAe,CAAC,WAAW,CAAC;6BAC5B,MAAM,EAAE,EAAA;4BAHV,sBAAO,SAGG,EAAC;;;;KACX;IACF,6BAAC;AAAD,CAAC,AAjCD,CAAoD,gBAAM,GAiCzD"}
|
|
@@ -52,7 +52,7 @@ var axios_1 = require("axios");
|
|
|
52
52
|
var Logger_1 = require("../Core/Logger");
|
|
53
53
|
var lodash_1 = require("lodash");
|
|
54
54
|
var BringgException_1 = require("../Core/BringgException");
|
|
55
|
-
var version = '0.4.
|
|
55
|
+
var version = '0.4.59';
|
|
56
56
|
function logErrorResponse(response) {
|
|
57
57
|
var data = response.data, status = response.status;
|
|
58
58
|
try {
|
|
@@ -30008,7 +30008,7 @@ var axios_1 = __webpack_require__(146);
|
|
|
30008
30008
|
var Logger_1 = __webpack_require__(39);
|
|
30009
30009
|
var lodash_1 = __webpack_require__(10);
|
|
30010
30010
|
var BringgException_1 = __webpack_require__(15);
|
|
30011
|
-
var version = '0.4.
|
|
30011
|
+
var version = '0.4.59';
|
|
30012
30012
|
function logErrorResponse(response) {
|
|
30013
30013
|
var data = response.data, status = response.status;
|
|
30014
30014
|
try {
|
|
@@ -31564,7 +31564,7 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
|
31564
31564
|
o[k2] = m[k];
|
|
31565
31565
|
}));
|
|
31566
31566
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
31567
|
-
for (var p in m) if (p !== "default" && !
|
|
31567
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
31568
31568
|
};
|
|
31569
31569
|
exports.__esModule = true;
|
|
31570
31570
|
__exportStar(__webpack_require__(307), exports);
|
|
@@ -52206,6 +52206,7 @@ var ApplicationUuid;
|
|
|
52206
52206
|
ApplicationUuid["Webhooks"] = "5920d1a0-4c82-11e4-916c-0800200c9a66";
|
|
52207
52207
|
ApplicationUuid["WebhookTimeZone"] = "d3b976db-a8cf-4930-9489-b13d21075180";
|
|
52208
52208
|
ApplicationUuid["WebhookApp"] = "52228df2-2759-432d-8865-2593d2ba6c12";
|
|
52209
|
+
ApplicationUuid["EventBasedActions"] = "56cc30b4-1600-42ca-ba58-94220961f110";
|
|
52209
52210
|
})(ApplicationUuid = exports.ApplicationUuid || (exports.ApplicationUuid = {}));
|
|
52210
52211
|
//# sourceMappingURL=application.js.map
|
|
52211
52212
|
|
|
@@ -53861,10 +53862,12 @@ var AttributeDatatype;
|
|
|
53861
53862
|
var RuleCategory;
|
|
53862
53863
|
(function (RuleCategory) {
|
|
53863
53864
|
RuleCategory[RuleCategory["FleetRouter"] = 0] = "FleetRouter";
|
|
53865
|
+
RuleCategory[RuleCategory["Action"] = 1] = "Action";
|
|
53864
53866
|
})(RuleCategory = exports.RuleCategory || (exports.RuleCategory = {}));
|
|
53865
53867
|
var Entity;
|
|
53866
53868
|
(function (Entity) {
|
|
53867
53869
|
Entity["Fleet"] = "fleet";
|
|
53870
|
+
Entity["Action"] = "action";
|
|
53868
53871
|
})(Entity = exports.Entity || (exports.Entity = {}));
|
|
53869
53872
|
var FactType;
|
|
53870
53873
|
(function (FactType) {
|
|
@@ -53883,6 +53886,12 @@ var RuleRequestType;
|
|
|
53883
53886
|
"use strict";
|
|
53884
53887
|
|
|
53885
53888
|
exports.__esModule = true;
|
|
53889
|
+
exports.Order = void 0;
|
|
53890
|
+
var Order;
|
|
53891
|
+
(function (Order) {
|
|
53892
|
+
Order["asc"] = "asc";
|
|
53893
|
+
Order["desc"] = "desc";
|
|
53894
|
+
})(Order = exports.Order || (exports.Order = {}));
|
|
53886
53895
|
//# sourceMappingURL=report.js.map
|
|
53887
53896
|
|
|
53888
53897
|
/***/ }),
|
|
@@ -57799,11 +57808,14 @@ var AnalyticsReportsApi = /** @class */ (function () {
|
|
|
57799
57808
|
function AnalyticsReportsApi(session) {
|
|
57800
57809
|
this.analyticsReportsEntity = new AnalyticsReportsEntity_1.default(session);
|
|
57801
57810
|
}
|
|
57811
|
+
AnalyticsReportsApi.prototype.getReport = function (reportId) {
|
|
57812
|
+
return this.analyticsReportsEntity.getReport(reportId);
|
|
57813
|
+
};
|
|
57802
57814
|
AnalyticsReportsApi.prototype.getUserReports = function (queryString) {
|
|
57803
57815
|
return this.analyticsReportsEntity.getUserReports(queryString);
|
|
57804
57816
|
};
|
|
57805
|
-
AnalyticsReportsApi.prototype.getExecutedReport = function (reportId,
|
|
57806
|
-
return this.analyticsReportsEntity.getExecutedReport(reportId,
|
|
57817
|
+
AnalyticsReportsApi.prototype.getExecutedReport = function (reportId, queryParams) {
|
|
57818
|
+
return this.analyticsReportsEntity.getExecutedReport(reportId, queryParams);
|
|
57807
57819
|
};
|
|
57808
57820
|
AnalyticsReportsApi.prototype.getSystemReports = function (queryString) {
|
|
57809
57821
|
return this.analyticsReportsEntity.getSystemReports(queryString);
|
|
@@ -57879,8 +57891,9 @@ var Version;
|
|
|
57879
57891
|
var BaseRoute = '/report-service';
|
|
57880
57892
|
var Routes = {
|
|
57881
57893
|
GET_USER_REPORTS: BaseRoute + "/" + Version.v1 + "/reports",
|
|
57882
|
-
|
|
57883
|
-
|
|
57894
|
+
GET_SYSTEM_REPORTS: BaseRoute + "/" + Version.v1 + "/system-reports",
|
|
57895
|
+
GET_REPORT: BaseRoute + "/" + Version.v1 + "/reports/{:reportId}",
|
|
57896
|
+
GET_EXECUTED_REPORT: BaseRoute + "/" + Version.v1 + "/reports/{:reportId}/execute"
|
|
57884
57897
|
};
|
|
57885
57898
|
var AnalyticsReportsEntity = /** @class */ (function (_super) {
|
|
57886
57899
|
__extends(AnalyticsReportsEntity, _super);
|
|
@@ -57890,6 +57903,16 @@ var AnalyticsReportsEntity = /** @class */ (function (_super) {
|
|
|
57890
57903
|
entityName: 'report-service'
|
|
57891
57904
|
}) || this;
|
|
57892
57905
|
}
|
|
57906
|
+
AnalyticsReportsEntity.prototype.getReport = function (reportId) {
|
|
57907
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
57908
|
+
return __generator(this, function (_a) {
|
|
57909
|
+
switch (_a.label) {
|
|
57910
|
+
case 0: return [4 /*yield*/, this.service.routeGenerator.get(Routes.GET_REPORT.replace('{:reportId}', reportId)).invoke()];
|
|
57911
|
+
case 1: return [2 /*return*/, _a.sent()];
|
|
57912
|
+
}
|
|
57913
|
+
});
|
|
57914
|
+
});
|
|
57915
|
+
};
|
|
57893
57916
|
AnalyticsReportsEntity.prototype.getUserReports = function (queryString) {
|
|
57894
57917
|
return __awaiter(this, void 0, void 0, function () {
|
|
57895
57918
|
return __generator(this, function (_a) {
|
|
@@ -57903,14 +57926,14 @@ var AnalyticsReportsEntity = /** @class */ (function (_super) {
|
|
|
57903
57926
|
});
|
|
57904
57927
|
});
|
|
57905
57928
|
};
|
|
57906
|
-
AnalyticsReportsEntity.prototype.getExecutedReport = function (reportId,
|
|
57929
|
+
AnalyticsReportsEntity.prototype.getExecutedReport = function (reportId, queryParams) {
|
|
57907
57930
|
return __awaiter(this, void 0, void 0, function () {
|
|
57908
57931
|
return __generator(this, function (_a) {
|
|
57909
57932
|
switch (_a.label) {
|
|
57910
57933
|
case 0: return [4 /*yield*/, this.service.routeGenerator
|
|
57911
|
-
.
|
|
57934
|
+
.post(Routes.GET_EXECUTED_REPORT)
|
|
57912
57935
|
.withRouteParams({ reportId: reportId })
|
|
57913
|
-
.
|
|
57936
|
+
.withPayload(queryParams)
|
|
57914
57937
|
.invoke()];
|
|
57915
57938
|
case 1: return [2 /*return*/, _a.sent()];
|
|
57916
57939
|
}
|