@bringg/dashboard-sdk 9.30.2-pre → 9.32.0
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/BringgDashboardSDK.d.ts +0 -4
- package/dist/BringgDashboardSDK.js +0 -5
- package/dist/BringgDashboardSDK.js.map +1 -1
- package/dist/Customer/v2/customers-api.js +1 -1
- package/dist/Customer/v2/customers-api.js.map +1 -1
- package/dist/Services/ServiceRequest.js +1 -1
- package/dist/WebhookAuthenticationConfiguration/Service/WebhookAuthenticationConfiguration.service.d.ts +2 -2
- package/dist/WebhookAuthenticationConfiguration/WebhookAuthenticationConfiguration.d.ts +1 -1
- package/dist/WebhookAuthenticationConfiguration/WebhookAuthenticationConfiguration.js.map +1 -1
- package/dist/bringg-dashboard-sdk-cjs2.js +60 -402
- package/dist/bringg-dashboard-sdk-cjs2.js.map +1 -1
- package/dist/bringg-dashboard-sdk.js +29 -73
- package/dist/bringg-dashboard-sdk.min.js +1 -1
- package/dist/bringg-dashboard-sdk.min.js.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/package.json +4 -3
- package/dist/Dashboard/Service/dashboard.service.d.ts +0 -26
- package/dist/Dashboard/Service/dashboard.service.js +0 -133
- package/dist/Dashboard/Service/dashboard.service.js.map +0 -1
- package/dist/Dashboard/dashboard.consts.d.ts +0 -8
- package/dist/Dashboard/dashboard.consts.js +0 -8
- package/dist/Dashboard/dashboard.consts.js.map +0 -1
- package/dist/Dashboard/dashboard.d.ts +0 -8
- package/dist/Dashboard/dashboard.js +0 -80
- package/dist/Dashboard/dashboard.js.map +0 -1
- package/dist/LegacyReports/Entity/LegacyReportsEntity.d.ts +0 -7
- package/dist/LegacyReports/Entity/LegacyReportsEntity.js +0 -82
- package/dist/LegacyReports/Entity/LegacyReportsEntity.js.map +0 -1
- package/dist/LegacyReports/LegacyReports.types.d.ts +0 -9
- package/dist/LegacyReports/LegacyReports.types.js +0 -3
- package/dist/LegacyReports/LegacyReports.types.js.map +0 -1
- package/dist/LegacyReports/LegacyReportsApi.d.ts +0 -7
- package/dist/LegacyReports/LegacyReportsApi.js +0 -17
- package/dist/LegacyReports/LegacyReportsApi.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -6,7 +6,6 @@ export * as ChatMessageConsts from './ChatMessage/ChatMessage.consts';
|
|
|
6
6
|
export * from './Core/Logger';
|
|
7
7
|
export * as Responses from './Core/Responses';
|
|
8
8
|
export * as CrewConsts from './Crew/Crew.consts';
|
|
9
|
-
export * as DashboardConsts from './Dashboard/dashboard.consts';
|
|
10
9
|
export { MappedStorableItem } from './data-entity';
|
|
11
10
|
export * as DeliveryBlockConsts from './DeliveryBlocks/DeliveryBlocks.consts';
|
|
12
11
|
export { DeliveryWindow } from './DeliveryWindows/v2/delivery-windows.consts';
|
package/dist/index.js
CHANGED
|
@@ -29,7 +29,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
29
29
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
30
30
|
};
|
|
31
31
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32
|
-
exports.WorkflowsApi = exports.VehicleTypeConsts = exports.VehicleCategoryConsts = exports.VehicleGroup = exports.VehiclesApi = exports.AbortUtils = exports.UserPresetViewsApi = exports.UploadApi = exports.UploadConsts = exports.TasksExplorerApi = exports.TaskRejectReasonsApi = exports.TaskInventoryConsts = exports.TasksApi = exports.TaskGroupValues = exports.TaskGroupTypes = exports.TagConsts = exports.ServiceAreaApi = exports.ServiceAreaFilterGroups = exports.RunsApi = exports.RunStatus = exports.RunConsts = exports.ResourceUploadType = exports.ReasonToChangeInventory = exports.PresetViews = exports.PlannedRoutesConsts = exports.PlannedDeliveryWindowsApi = exports.RecurrenceType = exports.PlannedDeliveryWindowsFilterGroups = exports.OptimizationResultApi = exports.NotificationTypesConsts = exports.NotificationTemplateConsts = exports.LookupConsts = exports.LanguageConsts = exports.ExclusionWindowApiV2 = exports.ExclusionWindowsFilterGroups = exports.DeliveryWindowsApi = exports.DeliveryBlockConsts = exports.
|
|
32
|
+
exports.WorkflowsApi = exports.VehicleTypeConsts = exports.VehicleCategoryConsts = exports.VehicleGroup = exports.VehiclesApi = exports.AbortUtils = exports.UserPresetViewsApi = exports.UploadApi = exports.UploadConsts = exports.TasksExplorerApi = exports.TaskRejectReasonsApi = exports.TaskInventoryConsts = exports.TasksApi = exports.TaskGroupValues = exports.TaskGroupTypes = exports.TagConsts = exports.ServiceAreaApi = exports.ServiceAreaFilterGroups = exports.RunsApi = exports.RunStatus = exports.RunConsts = exports.ResourceUploadType = exports.ReasonToChangeInventory = exports.PresetViews = exports.PlannedRoutesConsts = exports.PlannedDeliveryWindowsApi = exports.RecurrenceType = exports.PlannedDeliveryWindowsFilterGroups = exports.OptimizationResultApi = exports.NotificationTypesConsts = exports.NotificationTemplateConsts = exports.LookupConsts = exports.LanguageConsts = exports.ExclusionWindowApiV2 = exports.ExclusionWindowsFilterGroups = exports.DeliveryWindowsApi = exports.DeliveryBlockConsts = exports.CrewConsts = exports.Responses = exports.ChatMessageConsts = exports.ChatConversationConsts = exports.BringgDashboardSDK = void 0;
|
|
33
33
|
__exportStar(require("./AsyncOperationStatus/"), exports);
|
|
34
34
|
__exportStar(require("./BringgDashboardSDK"), exports);
|
|
35
35
|
var BringgDashboardSDK_1 = require("./BringgDashboardSDK");
|
|
@@ -39,7 +39,6 @@ exports.ChatMessageConsts = __importStar(require("./ChatMessage/ChatMessage.cons
|
|
|
39
39
|
__exportStar(require("./Core/Logger"), exports);
|
|
40
40
|
exports.Responses = __importStar(require("./Core/Responses"));
|
|
41
41
|
exports.CrewConsts = __importStar(require("./Crew/Crew.consts"));
|
|
42
|
-
exports.DashboardConsts = __importStar(require("./Dashboard/dashboard.consts"));
|
|
43
42
|
exports.DeliveryBlockConsts = __importStar(require("./DeliveryBlocks/DeliveryBlocks.consts"));
|
|
44
43
|
var delivery_windows_api_1 = require("./DeliveryWindows/v2/delivery-windows-api");
|
|
45
44
|
Object.defineProperty(exports, "DeliveryWindowsApi", { enumerable: true, get: function () { return __importDefault(delivery_windows_api_1).default; } });
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,0DAAwC;AACxC,uDAAqC;AACrC,2DAA0D;AAAjD,wHAAA,kBAAkB,OAAA;AAC3B,qGAAqF;AACrF,sFAAsE;AACtE,gDAA8B;AAC9B,8DAA8C;AAC9C,iEAAiD;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,0DAAwC;AACxC,uDAAqC;AACrC,2DAA0D;AAAjD,wHAAA,kBAAkB,OAAA;AAC3B,qGAAqF;AACrF,sFAAsE;AACtE,gDAA8B;AAC9B,8DAA8C;AAC9C,iEAAiD;AAEjD,8FAA8E;AAE9E,kFAA0F;AAAjF,2IAAA,OAAO,OAAsB;AACtC,wFAA4F;AAAnF,uIAAA,4BAA4B,OAAA;AACrC,kFAAuG;AAA9F,4HAAA,kBAAkB,OAAwB;AACnD,6EAA6D;AAE7D,uEAAuD;AACvD,iHAAiG;AACjG,sGAAsF;AACtF,wFAAgG;AAAvF,iJAAA,OAAO,OAAyB;AACzC,4GAKkE;AAHjE,qJAAA,kCAAkC,OAAA;AAElC,iIAAA,cAAc,OAAA;AAEf,sGAA6G;AAApG,0JAAA,OAAO,OAA6B;AAC7C,4FAA4E;AAC5E,mEAAwE;AAA/D,gIAAA,OAAO,OAAe;AAC/B,oHAAoG;AACpG,0EAAoF;AAA3E,yIAAA,OAAO,OAAsB;AAGtC,+DAA+C;AAC/C,iDAA4D;AAArC,wGAAA,SAAS,OAAA;AAChC,8CAAuD;AAA9C,oHAAA,OAAO,OAAW;AAC3B,4EAA+E;AAAtE,8HAAA,uBAAuB,OAAA;AAChC,sEAAmE;AAA1D,kHAAA,cAAc,OAAA;AACvB,8DAA8C;AAC9C,oDAAsF;AAA7E,8GAAA,cAAc,OAAA;AAAE,+GAAA,YAAY,OAAmB;AACxD,iDAA0D;AAAjD,sHAAA,OAAO,OAAY;AAC5B,4FAA4E;AAC5E,2DAAyC;AACzC,yFAAgG;AAAvF,gJAAA,OAAO,OAAwB;AACxC,4EAAoF;AAA3E,uIAAA,OAAO,OAAoB;AACpC,0EAA0D;AAC1D,qDAA8D;AAArD,wHAAA,OAAO,OAAa;AAC7B,iFAA6E;AAApE,2HAAA,kBAAkB,OAAA;AAC3B,4DAA4C;AAC5C,0DAAmE;AAA1D,4HAAA,OAAO,OAAe;AAC/B,2DAAwD;AAA/C,8GAAA,YAAY,OAAA;AACrB,kGAAkF;AAClF,sFAAsE;AACtE,6DAAsE;AAA7D,8HAAA,OAAO,OAAgB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bringg/dashboard-sdk",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.32.0",
|
|
4
4
|
"description": "Bringg dashboard SDK",
|
|
5
5
|
"main": "dist/bringg-dashboard-sdk.js",
|
|
6
6
|
"typings": "dist/index.d.ts",
|
|
@@ -20,7 +20,8 @@
|
|
|
20
20
|
"prettier": "prettier --write \"src/**/*.{ts,tsx,json,md}\"",
|
|
21
21
|
"prettier-check": "prettier -c \"src/**/*.{ts,tsx,json,md}\"",
|
|
22
22
|
"vulnerability-report": "npm audit --json | npm-audit-html",
|
|
23
|
-
"vulnerability-fix": "npm audit fix"
|
|
23
|
+
"vulnerability-fix": "npm audit fix",
|
|
24
|
+
"check:all": "npm run prettier-check && npm run typecheck && npm run lint"
|
|
24
25
|
},
|
|
25
26
|
"prettier": "@bringg/prettier-config",
|
|
26
27
|
"eslintConfig": {
|
|
@@ -62,7 +63,7 @@
|
|
|
62
63
|
"devDependencies": {
|
|
63
64
|
"@bringg/eslint-config": "^1.6.2",
|
|
64
65
|
"@bringg/prettier-config": "^2.0.0",
|
|
65
|
-
"@bringg/types": "^4.
|
|
66
|
+
"@bringg/types": "^4.183.3",
|
|
66
67
|
"@bringg/user-analytics": "3.3.0",
|
|
67
68
|
"@faker-js/faker": "^8.0.2",
|
|
68
69
|
"@types/lodash": "^4.14.179",
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import Session from '../../Services/Identity/Session';
|
|
2
|
-
import { Route } from '../../Services/Route';
|
|
3
|
-
import { SessionBasedService } from '../../Services/SessionBasedService';
|
|
4
|
-
export declare const Routes: {
|
|
5
|
-
GET_DASHBOARDS_FOR_ALL_TEAMS: Route;
|
|
6
|
-
GET_DASHBOARDS_FOR_TEAM: Route;
|
|
7
|
-
GET_ALL_WIDGETS_STRUCTURE: Route;
|
|
8
|
-
GET_WIDGET_DATA: Route;
|
|
9
|
-
};
|
|
10
|
-
export default class DashboardService extends SessionBasedService {
|
|
11
|
-
constructor(session: Session);
|
|
12
|
-
getDashboard(teamId?: number): Promise<Bringg.Widget[]>;
|
|
13
|
-
getWidgetsStructure(): Promise<Bringg.Widget[]>;
|
|
14
|
-
getWidgetData(widgetId: number, teamId?: number): Promise<Bringg.Widget>;
|
|
15
|
-
}
|
|
16
|
-
export declare const DashboardGetResponseExtractor: (response: DashboardGetResponseFormat) => import("@bringg/types").Widget[];
|
|
17
|
-
export declare const WidgetGetResponseExtractor: (response: WidgetGetResponseExtractor) => import("@bringg/types").Widget;
|
|
18
|
-
type DashboardGetResponseFormat = {
|
|
19
|
-
success: boolean;
|
|
20
|
-
widgets: Bringg.Widget[];
|
|
21
|
-
};
|
|
22
|
-
type WidgetGetResponseExtractor = {
|
|
23
|
-
success: boolean;
|
|
24
|
-
widget: Bringg.Widget;
|
|
25
|
-
};
|
|
26
|
-
export {};
|
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
18
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
19
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
20
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
21
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
22
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
23
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
24
|
-
});
|
|
25
|
-
};
|
|
26
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
27
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
28
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
29
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
30
|
-
function step(op) {
|
|
31
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
32
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
33
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
34
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
35
|
-
switch (op[0]) {
|
|
36
|
-
case 0: case 1: t = op; break;
|
|
37
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
38
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
39
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
40
|
-
default:
|
|
41
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
42
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
43
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
44
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
45
|
-
if (t[2]) _.ops.pop();
|
|
46
|
-
_.trys.pop(); continue;
|
|
47
|
-
}
|
|
48
|
-
op = body.call(thisArg, _);
|
|
49
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
50
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
54
|
-
exports.WidgetGetResponseExtractor = exports.DashboardGetResponseExtractor = exports.Routes = void 0;
|
|
55
|
-
var lodash_1 = require("lodash");
|
|
56
|
-
var BringgException_1 = require("../../Core/BringgException");
|
|
57
|
-
var Route_1 = require("../../Services/Route");
|
|
58
|
-
var SessionBasedService_1 = require("../../Services/SessionBasedService");
|
|
59
|
-
var dashboard_consts_1 = require("../dashboard.consts");
|
|
60
|
-
exports.Routes = {
|
|
61
|
-
/* legacy routes - require all the widgets to be loaded to return response */
|
|
62
|
-
GET_DASHBOARDS_FOR_ALL_TEAMS: new Route_1.Route('/dashboard', 0 /* HttpMethod.GET */),
|
|
63
|
-
GET_DASHBOARDS_FOR_TEAM: new Route_1.Route('/dashboard/team/{:teamId}', 0 /* HttpMethod.GET */),
|
|
64
|
-
/* new routes - get widgets structure and load each widget on it's own */
|
|
65
|
-
GET_ALL_WIDGETS_STRUCTURE: new Route_1.Route('/dashboard/widgets', 0 /* HttpMethod.GET */),
|
|
66
|
-
GET_WIDGET_DATA: new Route_1.Route('/dashboard/widgets/{:widgetId}', 0 /* HttpMethod.GET */)
|
|
67
|
-
};
|
|
68
|
-
var DashboardService = /** @class */ (function (_super) {
|
|
69
|
-
__extends(DashboardService, _super);
|
|
70
|
-
function DashboardService(session) {
|
|
71
|
-
return _super.call(this, session.config.getApiEndpoint(), session) || this;
|
|
72
|
-
}
|
|
73
|
-
DashboardService.prototype.getDashboard = function (teamId) {
|
|
74
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
75
|
-
var widgets;
|
|
76
|
-
return __generator(this, function (_a) {
|
|
77
|
-
switch (_a.label) {
|
|
78
|
-
case 0: return [4 /*yield*/, this.handleAuthorizedRequest({
|
|
79
|
-
route: (0, lodash_1.isNumber)(teamId) ? exports.Routes.GET_DASHBOARDS_FOR_TEAM : exports.Routes.GET_DASHBOARDS_FOR_ALL_TEAMS,
|
|
80
|
-
extractor: exports.DashboardGetResponseExtractor,
|
|
81
|
-
exceptionProducer: BringgException_1.BringgException.serviceException('Failed to get widgets'),
|
|
82
|
-
routeParams: { teamId: teamId }
|
|
83
|
-
})];
|
|
84
|
-
case 1:
|
|
85
|
-
widgets = _a.sent();
|
|
86
|
-
this.sendDataEvent(dashboard_consts_1.DASHBOARD_EVENTS.DASHBOARDS_DATA_UPDATED, { selectedTeam: teamId, widgets: widgets });
|
|
87
|
-
return [2 /*return*/, widgets];
|
|
88
|
-
}
|
|
89
|
-
});
|
|
90
|
-
});
|
|
91
|
-
};
|
|
92
|
-
DashboardService.prototype.getWidgetsStructure = function () {
|
|
93
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
94
|
-
return __generator(this, function (_a) {
|
|
95
|
-
switch (_a.label) {
|
|
96
|
-
case 0: return [4 /*yield*/, this.handleAuthorizedRequest({
|
|
97
|
-
route: exports.Routes.GET_ALL_WIDGETS_STRUCTURE,
|
|
98
|
-
extractor: exports.DashboardGetResponseExtractor,
|
|
99
|
-
exceptionProducer: BringgException_1.BringgException.serviceException('Failed to get widgets structure')
|
|
100
|
-
})];
|
|
101
|
-
case 1: return [2 /*return*/, _a.sent()];
|
|
102
|
-
}
|
|
103
|
-
});
|
|
104
|
-
});
|
|
105
|
-
};
|
|
106
|
-
DashboardService.prototype.getWidgetData = function (widgetId, teamId) {
|
|
107
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
108
|
-
var widgetData;
|
|
109
|
-
return __generator(this, function (_a) {
|
|
110
|
-
switch (_a.label) {
|
|
111
|
-
case 0: return [4 /*yield*/, this.handleAuthorizedRequest({
|
|
112
|
-
route: exports.Routes.GET_WIDGET_DATA,
|
|
113
|
-
extractor: exports.WidgetGetResponseExtractor,
|
|
114
|
-
exceptionProducer: BringgException_1.BringgException.serviceException('Failed to get widget data'),
|
|
115
|
-
routeParams: { widgetId: widgetId },
|
|
116
|
-
queryString: teamId ? { team_id: teamId } : undefined
|
|
117
|
-
})];
|
|
118
|
-
case 1:
|
|
119
|
-
widgetData = _a.sent();
|
|
120
|
-
this.sendDataEvent(dashboard_consts_1.DASHBOARD_EVENTS.WIDGET_DATA_FETCHED, { widgetId: widgetId, selectedTeam: teamId, widgetData: widgetData });
|
|
121
|
-
return [2 /*return*/, widgetData];
|
|
122
|
-
}
|
|
123
|
-
});
|
|
124
|
-
});
|
|
125
|
-
};
|
|
126
|
-
return DashboardService;
|
|
127
|
-
}(SessionBasedService_1.SessionBasedService));
|
|
128
|
-
exports.default = DashboardService;
|
|
129
|
-
var DashboardGetResponseExtractor = function (response) { return response.widgets; };
|
|
130
|
-
exports.DashboardGetResponseExtractor = DashboardGetResponseExtractor;
|
|
131
|
-
var WidgetGetResponseExtractor = function (response) { return response.widget; };
|
|
132
|
-
exports.WidgetGetResponseExtractor = WidgetGetResponseExtractor;
|
|
133
|
-
//# sourceMappingURL=dashboard.service.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dashboard.service.js","sourceRoot":"","sources":["../../../src/Dashboard/Service/dashboard.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iCAAkC;AAElC,8DAA6D;AAG7D,8CAA6C;AAC7C,0EAAyE;AACzE,wDAAuD;AAE1C,QAAA,MAAM,GAAG;IACrB,8EAA8E;IAC9E,4BAA4B,EAAE,IAAI,aAAK,CAAC,YAAY,yBAAiB;IACrE,uBAAuB,EAAE,IAAI,aAAK,CAAC,2BAA2B,yBAAiB;IAE/E,yEAAyE;IACzE,yBAAyB,EAAE,IAAI,aAAK,CAAC,oBAAoB,yBAAiB;IAC1E,eAAe,EAAE,IAAI,aAAK,CAAC,gCAAgC,yBAAiB;CAC5E,CAAC;AAEF;IAA8C,oCAAmB;IAChE,0BAAY,OAAgB;eAC3B,kBAAM,OAAO,CAAC,MAAM,CAAC,cAAc,EAAE,EAAE,OAAO,CAAC;IAChD,CAAC;IAEY,uCAAY,GAAzB,UAA0B,MAAe;;;;;4BACxB,qBAAM,IAAI,CAAC,uBAAuB,CAA8C;4BAC/F,KAAK,EAAE,IAAA,iBAAQ,EAAC,MAAM,CAAC,CAAC,CAAC,CAAC,cAAM,CAAC,uBAAuB,CAAC,CAAC,CAAC,cAAM,CAAC,4BAA4B;4BAC9F,SAAS,EAAE,qCAA6B;4BACxC,iBAAiB,EAAE,iCAAe,CAAC,gBAAgB,CAAC,uBAAuB,CAAC;4BAC5E,WAAW,EAAE,EAAE,MAAM,QAAA,EAAE;yBACvB,CAAC,EAAA;;wBALI,OAAO,GAAG,SAKd;wBAEF,IAAI,CAAC,aAAa,CAAC,mCAAgB,CAAC,uBAAuB,EAAE,EAAE,YAAY,EAAE,MAAM,EAAE,OAAO,SAAA,EAAE,CAAC,CAAC;wBAEhG,sBAAO,OAAO,EAAC;;;;KACf;IAEY,8CAAmB,GAAhC;;;;4BACQ,qBAAM,IAAI,CAAC,uBAAuB,CAA8C;4BACtF,KAAK,EAAE,cAAM,CAAC,yBAAyB;4BACvC,SAAS,EAAE,qCAA6B;4BACxC,iBAAiB,EAAE,iCAAe,CAAC,gBAAgB,CAAC,iCAAiC,CAAC;yBACtF,CAAC,EAAA;4BAJF,sBAAO,SAIL,EAAC;;;;KACH;IAEY,wCAAa,GAA1B,UAA2B,QAAgB,EAAE,MAAe;;;;;4BACxC,qBAAM,IAAI,CAAC,uBAAuB,CAA4C;4BAChG,KAAK,EAAE,cAAM,CAAC,eAAe;4BAC7B,SAAS,EAAE,kCAA0B;4BACrC,iBAAiB,EAAE,iCAAe,CAAC,gBAAgB,CAAC,2BAA2B,CAAC;4BAChF,WAAW,EAAE,EAAE,QAAQ,UAAA,EAAE;4BACzB,WAAW,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,SAAS;yBACrD,CAAC,EAAA;;wBANI,UAAU,GAAG,SAMjB;wBAEF,IAAI,CAAC,aAAa,CAAC,mCAAgB,CAAC,mBAAmB,EAAE,EAAE,QAAQ,UAAA,EAAE,YAAY,EAAE,MAAM,EAAE,UAAU,YAAA,EAAE,CAAC,CAAC;wBAEzG,sBAAO,UAAU,EAAC;;;;KAClB;IACF,uBAAC;AAAD,CAAC,AAvCD,CAA8C,yCAAmB,GAuChE;;AAEM,IAAM,6BAA6B,GAAG,UAAC,QAAoC,IAAK,OAAA,QAAQ,CAAC,OAAO,EAAhB,CAAgB,CAAC;AAA3F,QAAA,6BAA6B,iCAA8D;AACjG,IAAM,0BAA0B,GAAG,UAAC,QAAoC,IAAK,OAAA,QAAQ,CAAC,MAAM,EAAf,CAAe,CAAC;AAAvF,QAAA,0BAA0B,8BAA6D"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DASHBOARD_EVENTS = void 0;
|
|
4
|
-
exports.DASHBOARD_EVENTS = {
|
|
5
|
-
DASHBOARDS_DATA_UPDATED: 'dashboards data updated',
|
|
6
|
-
WIDGET_DATA_FETCHED: 'widget data fetched'
|
|
7
|
-
};
|
|
8
|
-
//# sourceMappingURL=dashboard.consts.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dashboard.consts.js","sourceRoot":"","sources":["../../src/Dashboard/dashboard.consts.ts"],"names":[],"mappings":";;;AAAa,QAAA,gBAAgB,GAAG;IAC/B,uBAAuB,EAAE,yBAAyB;IAClD,mBAAmB,EAAE,qBAAqB;CAC1C,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import Session from '../Services/Identity/Session';
|
|
2
|
-
export default class Dashboard {
|
|
3
|
-
private dashboardService;
|
|
4
|
-
constructor(session: Session);
|
|
5
|
-
getDashboard(teamId?: number): Promise<Bringg.Widget[]>;
|
|
6
|
-
getWidgetsStructure(): Promise<Bringg.Widget[]>;
|
|
7
|
-
getWidgetData(widgetId: number, teamId?: number): Promise<Bringg.Widget>;
|
|
8
|
-
}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
12
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
13
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
14
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
|
-
function step(op) {
|
|
16
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
|
-
switch (op[0]) {
|
|
21
|
-
case 0: case 1: t = op; break;
|
|
22
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
23
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
24
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
25
|
-
default:
|
|
26
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
27
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
28
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
29
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
30
|
-
if (t[2]) _.ops.pop();
|
|
31
|
-
_.trys.pop(); continue;
|
|
32
|
-
}
|
|
33
|
-
op = body.call(thisArg, _);
|
|
34
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
35
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
39
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
40
|
-
};
|
|
41
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
42
|
-
var dashboard_service_1 = __importDefault(require("./Service/dashboard.service"));
|
|
43
|
-
var Dashboard = /** @class */ (function () {
|
|
44
|
-
function Dashboard(session) {
|
|
45
|
-
this.dashboardService = new dashboard_service_1.default(session);
|
|
46
|
-
}
|
|
47
|
-
Dashboard.prototype.getDashboard = function (teamId) {
|
|
48
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
49
|
-
return __generator(this, function (_a) {
|
|
50
|
-
switch (_a.label) {
|
|
51
|
-
case 0: return [4 /*yield*/, this.dashboardService.getDashboard(teamId)];
|
|
52
|
-
case 1: return [2 /*return*/, _a.sent()];
|
|
53
|
-
}
|
|
54
|
-
});
|
|
55
|
-
});
|
|
56
|
-
};
|
|
57
|
-
Dashboard.prototype.getWidgetsStructure = function () {
|
|
58
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
59
|
-
return __generator(this, function (_a) {
|
|
60
|
-
switch (_a.label) {
|
|
61
|
-
case 0: return [4 /*yield*/, this.dashboardService.getWidgetsStructure()];
|
|
62
|
-
case 1: return [2 /*return*/, _a.sent()];
|
|
63
|
-
}
|
|
64
|
-
});
|
|
65
|
-
});
|
|
66
|
-
};
|
|
67
|
-
Dashboard.prototype.getWidgetData = function (widgetId, teamId) {
|
|
68
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
69
|
-
return __generator(this, function (_a) {
|
|
70
|
-
switch (_a.label) {
|
|
71
|
-
case 0: return [4 /*yield*/, this.dashboardService.getWidgetData(widgetId, teamId)];
|
|
72
|
-
case 1: return [2 /*return*/, _a.sent()];
|
|
73
|
-
}
|
|
74
|
-
});
|
|
75
|
-
});
|
|
76
|
-
};
|
|
77
|
-
return Dashboard;
|
|
78
|
-
}());
|
|
79
|
-
exports.default = Dashboard;
|
|
80
|
-
//# sourceMappingURL=dashboard.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dashboard.js","sourceRoot":"","sources":["../../src/Dashboard/dashboard.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,kFAA2D;AAE3D;IAGC,mBAAY,OAAgB;QAC3B,IAAI,CAAC,gBAAgB,GAAG,IAAI,2BAAgB,CAAC,OAAO,CAAC,CAAC;IACvD,CAAC;IAEY,gCAAY,GAAzB,UAA0B,MAAe;;;;4BACjC,qBAAM,IAAI,CAAC,gBAAgB,CAAC,YAAY,CAAC,MAAM,CAAC,EAAA;4BAAvD,sBAAO,SAAgD,EAAC;;;;KACxD;IAEY,uCAAmB,GAAhC;;;;4BACQ,qBAAM,IAAI,CAAC,gBAAgB,CAAC,mBAAmB,EAAE,EAAA;4BAAxD,sBAAO,SAAiD,EAAC;;;;KACzD;IAEY,iCAAa,GAA1B,UAA2B,QAAgB,EAAE,MAAe;;;;4BACpD,qBAAM,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC,QAAQ,EAAE,MAAM,CAAC,EAAA;4BAAlE,sBAAO,SAA2D,EAAC;;;;KACnE;IACF,gBAAC;AAAD,CAAC,AAlBD,IAkBC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import Entity from '../../Core/Entity';
|
|
2
|
-
import Session from '../../Services/Identity/Session';
|
|
3
|
-
import { GetLegacyReportsResponse } from '../LegacyReports.types';
|
|
4
|
-
export default class LegacyReportsEntity extends Entity<LegacyReportsEntity> {
|
|
5
|
-
constructor(session: Session);
|
|
6
|
-
getNewLegacyReports(): Promise<GetLegacyReportsResponse>;
|
|
7
|
-
}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
18
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
19
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
20
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
21
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
22
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
23
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
24
|
-
});
|
|
25
|
-
};
|
|
26
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
27
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
28
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
29
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
30
|
-
function step(op) {
|
|
31
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
32
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
33
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
34
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
35
|
-
switch (op[0]) {
|
|
36
|
-
case 0: case 1: t = op; break;
|
|
37
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
38
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
39
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
40
|
-
default:
|
|
41
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
42
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
43
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
44
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
45
|
-
if (t[2]) _.ops.pop();
|
|
46
|
-
_.trys.pop(); continue;
|
|
47
|
-
}
|
|
48
|
-
op = body.call(thisArg, _);
|
|
49
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
50
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
54
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
55
|
-
};
|
|
56
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
57
|
-
var Entity_1 = __importDefault(require("../../Core/Entity"));
|
|
58
|
-
var Routes = {
|
|
59
|
-
GET_NEW_LEGACY_REPORTS_LIST: '/reports/list'
|
|
60
|
-
};
|
|
61
|
-
var LegacyReportsEntity = /** @class */ (function (_super) {
|
|
62
|
-
__extends(LegacyReportsEntity, _super);
|
|
63
|
-
function LegacyReportsEntity(session) {
|
|
64
|
-
return _super.call(this, {
|
|
65
|
-
session: session,
|
|
66
|
-
entityName: 'legacy-reports'
|
|
67
|
-
}) || this;
|
|
68
|
-
}
|
|
69
|
-
LegacyReportsEntity.prototype.getNewLegacyReports = function () {
|
|
70
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
71
|
-
return __generator(this, function (_a) {
|
|
72
|
-
switch (_a.label) {
|
|
73
|
-
case 0: return [4 /*yield*/, this.service.routeGenerator.get(Routes.GET_NEW_LEGACY_REPORTS_LIST).invoke()];
|
|
74
|
-
case 1: return [2 /*return*/, _a.sent()];
|
|
75
|
-
}
|
|
76
|
-
});
|
|
77
|
-
});
|
|
78
|
-
};
|
|
79
|
-
return LegacyReportsEntity;
|
|
80
|
-
}(Entity_1.default));
|
|
81
|
-
exports.default = LegacyReportsEntity;
|
|
82
|
-
//# sourceMappingURL=LegacyReportsEntity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LegacyReportsEntity.js","sourceRoot":"","sources":["../../../src/LegacyReports/Entity/LegacyReportsEntity.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6DAAuC;AAIvC,IAAM,MAAM,GAAG;IACd,2BAA2B,EAAE,eAAe;CAC5C,CAAC;AAEF;IAAiD,uCAA2B;IAC3E,6BAAY,OAAgB;eAC3B,kBAAM;YACL,OAAO,SAAA;YACP,UAAU,EAAE,gBAAgB;SAC5B,CAAC;IACH,CAAC;IAEK,iDAAmB,GAAzB;;;;4BACQ,qBAAM,IAAI,CAAC,OAAO,CAAC,cAAc,CAAC,GAAG,CAAC,MAAM,CAAC,2BAA2B,CAAC,CAAC,MAAM,EAAE,EAAA;4BAAzF,sBAAO,SAAkF,EAAC;;;;KAC1F;IACF,0BAAC;AAAD,CAAC,AAXD,CAAiD,gBAAM,GAWtD"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { NewLegacyReportDto } from '@bringg/types';
|
|
2
|
-
import LegacyReportsEntity from './Entity/LegacyReportsEntity';
|
|
3
|
-
type AnalyticsReportsEntityWOService = Omit<LegacyReportsEntity, 'service'>;
|
|
4
|
-
export type AnEnReturn<T extends keyof AnalyticsReportsEntityWOService> = ReturnType<LegacyReportsEntity[T]>;
|
|
5
|
-
export interface GetLegacyReportsResponse {
|
|
6
|
-
reports: NewLegacyReportDto[];
|
|
7
|
-
success: boolean;
|
|
8
|
-
}
|
|
9
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LegacyReports.types.js","sourceRoot":"","sources":["../../src/LegacyReports/LegacyReports.types.ts"],"names":[],"mappings":""}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import Session from '../Services/Identity/Session';
|
|
2
|
-
import { AnEnReturn } from './LegacyReports.types';
|
|
3
|
-
export default class LegacyReportsApi {
|
|
4
|
-
private legacyReportsEntity;
|
|
5
|
-
constructor(session: Session);
|
|
6
|
-
getNewLegacyReports(): AnEnReturn<'getNewLegacyReports'>;
|
|
7
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
var LegacyReportsEntity_1 = __importDefault(require("./Entity/LegacyReportsEntity"));
|
|
7
|
-
var LegacyReportsApi = /** @class */ (function () {
|
|
8
|
-
function LegacyReportsApi(session) {
|
|
9
|
-
this.legacyReportsEntity = new LegacyReportsEntity_1.default(session);
|
|
10
|
-
}
|
|
11
|
-
LegacyReportsApi.prototype.getNewLegacyReports = function () {
|
|
12
|
-
return this.legacyReportsEntity.getNewLegacyReports();
|
|
13
|
-
};
|
|
14
|
-
return LegacyReportsApi;
|
|
15
|
-
}());
|
|
16
|
-
exports.default = LegacyReportsApi;
|
|
17
|
-
//# sourceMappingURL=LegacyReportsApi.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LegacyReportsApi.js","sourceRoot":"","sources":["../../src/LegacyReports/LegacyReportsApi.ts"],"names":[],"mappings":";;;;;AACA,qFAA+D;AAG/D;IAGC,0BAAY,OAAgB;QAC3B,IAAI,CAAC,mBAAmB,GAAG,IAAI,6BAAmB,CAAC,OAAO,CAAC,CAAC;IAC7D,CAAC;IAED,8CAAmB,GAAnB;QACC,OAAO,IAAI,CAAC,mBAAmB,CAAC,mBAAmB,EAAE,CAAC;IACvD,CAAC;IACF,uBAAC;AAAD,CAAC,AAVD,IAUC"}
|