@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
|
@@ -2649,7 +2649,6 @@ var CustomAttributesApi_1 = __importDefault(__webpack_require__(74890));
|
|
|
2649
2649
|
var customers_api_1 = __importDefault(__webpack_require__(6956));
|
|
2650
2650
|
var CustomerAvailabilityHourApi_1 = __importDefault(__webpack_require__(18495));
|
|
2651
2651
|
var customer_configuration_1 = __importDefault(__webpack_require__(23053));
|
|
2652
|
-
var dashboard_1 = __importDefault(__webpack_require__(23949));
|
|
2653
2652
|
var DeliveryBlocksApi_1 = __webpack_require__(42912);
|
|
2654
2653
|
var DeliveryCatalogApi_1 = __importDefault(__webpack_require__(2831));
|
|
2655
2654
|
var DeliveryCatalogApi_2 = __importDefault(__webpack_require__(67641));
|
|
@@ -2666,7 +2665,6 @@ var GoogleMapsHelperApi_1 = __importDefault(__webpack_require__(37828));
|
|
|
2666
2665
|
var Inventory_1 = __importDefault(__webpack_require__(74033));
|
|
2667
2666
|
var InventoryActionsConfiguration_1 = __importDefault(__webpack_require__(7373));
|
|
2668
2667
|
var Language_1 = __webpack_require__(67092);
|
|
2669
|
-
var LegacyReportsApi_1 = __importDefault(__webpack_require__(16761));
|
|
2670
2668
|
var lookup_api_1 = __importDefault(__webpack_require__(96142));
|
|
2671
2669
|
var MerchantApi_1 = __importDefault(__webpack_require__(63111));
|
|
2672
2670
|
var MerchantConfigurationApi_1 = __webpack_require__(83611);
|
|
@@ -2761,7 +2759,6 @@ var BringgDashboardSDK = /** @class */ (function () {
|
|
|
2761
2759
|
this.crews = null;
|
|
2762
2760
|
this.crossAppTransport = null;
|
|
2763
2761
|
this.customerConfiguration = null;
|
|
2764
|
-
this.dashboard = null;
|
|
2765
2762
|
this.deliveryBlocks = null;
|
|
2766
2763
|
this.fleets = null;
|
|
2767
2764
|
this.rules = null;
|
|
@@ -3030,7 +3027,6 @@ function init(session) {
|
|
|
3030
3027
|
bringg.companies = new Company_1.default(session);
|
|
3031
3028
|
bringg.crossAppTransport = new CrossAppTransport_1.default();
|
|
3032
3029
|
bringg.customerConfiguration = new customer_configuration_1.default(session);
|
|
3033
|
-
bringg.dashboard = new dashboard_1.default(session);
|
|
3034
3030
|
bringg.deliveryBlocks = new DeliveryBlocksApi_1.DeliveryBlocksApi(session);
|
|
3035
3031
|
bringg.fleets = new FleetApi_1.default(session);
|
|
3036
3032
|
bringg.rules = new RuleApi_1.default(session);
|
|
@@ -3095,7 +3091,6 @@ function init(session) {
|
|
|
3095
3091
|
bringg.billing = new BillingApi_1.default(session);
|
|
3096
3092
|
bringg.userAnalytics = new UserAnalyticsApi_1.default(session);
|
|
3097
3093
|
bringg.analyticsReports = new AnalyticsReportsApi_1.default(session);
|
|
3098
|
-
bringg.legacyReports = new LegacyReportsApi_1.default(session);
|
|
3099
3094
|
bringg.servicePlans = new ServicePlansApi_1.default(session);
|
|
3100
3095
|
bringg.alertsApi = new AlertsApi_1.default(session);
|
|
3101
3096
|
bringg.deliveryCatalog = new DeliveryCatalogApi_1.default(session);
|
|
@@ -6626,7 +6621,7 @@ var customers_service_1 = __importDefault(__webpack_require__(52639));
|
|
|
6626
6621
|
var CustomersApi = /** @class */ (function () {
|
|
6627
6622
|
function CustomersApi(session) {
|
|
6628
6623
|
var _this = this;
|
|
6629
|
-
this.customersStore = new data_store_1.default(
|
|
6624
|
+
this.customersStore = new data_store_1.default();
|
|
6630
6625
|
this.customersService = new customers_service_1.default(session);
|
|
6631
6626
|
this.storableDataService = new storable_data_service_1.default(this.customersStore, function (customer) {
|
|
6632
6627
|
return merge_mapper_1.mergeMapper.mergeIntoExisting(_this.customersStore, customer);
|
|
@@ -7214,248 +7209,6 @@ exports["default"] = Dashboard;
|
|
|
7214
7209
|
|
|
7215
7210
|
/***/ }),
|
|
7216
7211
|
|
|
7217
|
-
/***/ 58291:
|
|
7218
|
-
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
7219
|
-
|
|
7220
|
-
"use strict";
|
|
7221
|
-
|
|
7222
|
-
var __extends = (this && this.__extends) || (function () {
|
|
7223
|
-
var extendStatics = function (d, b) {
|
|
7224
|
-
extendStatics = Object.setPrototypeOf ||
|
|
7225
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
7226
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7227
|
-
return extendStatics(d, b);
|
|
7228
|
-
};
|
|
7229
|
-
return function (d, b) {
|
|
7230
|
-
if (typeof b !== "function" && b !== null)
|
|
7231
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
7232
|
-
extendStatics(d, b);
|
|
7233
|
-
function __() { this.constructor = d; }
|
|
7234
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
7235
|
-
};
|
|
7236
|
-
})();
|
|
7237
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
7238
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
7239
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
7240
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
7241
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7242
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7243
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
7244
|
-
});
|
|
7245
|
-
};
|
|
7246
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
7247
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
7248
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
7249
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
7250
|
-
function step(op) {
|
|
7251
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
7252
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
7253
|
-
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;
|
|
7254
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
7255
|
-
switch (op[0]) {
|
|
7256
|
-
case 0: case 1: t = op; break;
|
|
7257
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
7258
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
7259
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
7260
|
-
default:
|
|
7261
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
7262
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
7263
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
7264
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
7265
|
-
if (t[2]) _.ops.pop();
|
|
7266
|
-
_.trys.pop(); continue;
|
|
7267
|
-
}
|
|
7268
|
-
op = body.call(thisArg, _);
|
|
7269
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
7270
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
7271
|
-
}
|
|
7272
|
-
};
|
|
7273
|
-
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
7274
|
-
exports.WidgetGetResponseExtractor = exports.DashboardGetResponseExtractor = exports.Routes = void 0;
|
|
7275
|
-
var lodash_1 = __webpack_require__(96486);
|
|
7276
|
-
var BringgException_1 = __webpack_require__(43605);
|
|
7277
|
-
var Route_1 = __webpack_require__(92641);
|
|
7278
|
-
var SessionBasedService_1 = __webpack_require__(27826);
|
|
7279
|
-
var dashboard_consts_1 = __webpack_require__(27910);
|
|
7280
|
-
exports.Routes = {
|
|
7281
|
-
/* legacy routes - require all the widgets to be loaded to return response */
|
|
7282
|
-
GET_DASHBOARDS_FOR_ALL_TEAMS: new Route_1.Route('/dashboard', 0 /* HttpMethod.GET */),
|
|
7283
|
-
GET_DASHBOARDS_FOR_TEAM: new Route_1.Route('/dashboard/team/{:teamId}', 0 /* HttpMethod.GET */),
|
|
7284
|
-
/* new routes - get widgets structure and load each widget on it's own */
|
|
7285
|
-
GET_ALL_WIDGETS_STRUCTURE: new Route_1.Route('/dashboard/widgets', 0 /* HttpMethod.GET */),
|
|
7286
|
-
GET_WIDGET_DATA: new Route_1.Route('/dashboard/widgets/{:widgetId}', 0 /* HttpMethod.GET */)
|
|
7287
|
-
};
|
|
7288
|
-
var DashboardService = /** @class */ (function (_super) {
|
|
7289
|
-
__extends(DashboardService, _super);
|
|
7290
|
-
function DashboardService(session) {
|
|
7291
|
-
return _super.call(this, session.config.getApiEndpoint(), session) || this;
|
|
7292
|
-
}
|
|
7293
|
-
DashboardService.prototype.getDashboard = function (teamId) {
|
|
7294
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
7295
|
-
var widgets;
|
|
7296
|
-
return __generator(this, function (_a) {
|
|
7297
|
-
switch (_a.label) {
|
|
7298
|
-
case 0: return [4 /*yield*/, this.handleAuthorizedRequest({
|
|
7299
|
-
route: (0, lodash_1.isNumber)(teamId) ? exports.Routes.GET_DASHBOARDS_FOR_TEAM : exports.Routes.GET_DASHBOARDS_FOR_ALL_TEAMS,
|
|
7300
|
-
extractor: exports.DashboardGetResponseExtractor,
|
|
7301
|
-
exceptionProducer: BringgException_1.BringgException.serviceException('Failed to get widgets'),
|
|
7302
|
-
routeParams: { teamId: teamId }
|
|
7303
|
-
})];
|
|
7304
|
-
case 1:
|
|
7305
|
-
widgets = _a.sent();
|
|
7306
|
-
this.sendDataEvent(dashboard_consts_1.DASHBOARD_EVENTS.DASHBOARDS_DATA_UPDATED, { selectedTeam: teamId, widgets: widgets });
|
|
7307
|
-
return [2 /*return*/, widgets];
|
|
7308
|
-
}
|
|
7309
|
-
});
|
|
7310
|
-
});
|
|
7311
|
-
};
|
|
7312
|
-
DashboardService.prototype.getWidgetsStructure = function () {
|
|
7313
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
7314
|
-
return __generator(this, function (_a) {
|
|
7315
|
-
switch (_a.label) {
|
|
7316
|
-
case 0: return [4 /*yield*/, this.handleAuthorizedRequest({
|
|
7317
|
-
route: exports.Routes.GET_ALL_WIDGETS_STRUCTURE,
|
|
7318
|
-
extractor: exports.DashboardGetResponseExtractor,
|
|
7319
|
-
exceptionProducer: BringgException_1.BringgException.serviceException('Failed to get widgets structure')
|
|
7320
|
-
})];
|
|
7321
|
-
case 1: return [2 /*return*/, _a.sent()];
|
|
7322
|
-
}
|
|
7323
|
-
});
|
|
7324
|
-
});
|
|
7325
|
-
};
|
|
7326
|
-
DashboardService.prototype.getWidgetData = function (widgetId, teamId) {
|
|
7327
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
7328
|
-
var widgetData;
|
|
7329
|
-
return __generator(this, function (_a) {
|
|
7330
|
-
switch (_a.label) {
|
|
7331
|
-
case 0: return [4 /*yield*/, this.handleAuthorizedRequest({
|
|
7332
|
-
route: exports.Routes.GET_WIDGET_DATA,
|
|
7333
|
-
extractor: exports.WidgetGetResponseExtractor,
|
|
7334
|
-
exceptionProducer: BringgException_1.BringgException.serviceException('Failed to get widget data'),
|
|
7335
|
-
routeParams: { widgetId: widgetId },
|
|
7336
|
-
queryString: teamId ? { team_id: teamId } : undefined
|
|
7337
|
-
})];
|
|
7338
|
-
case 1:
|
|
7339
|
-
widgetData = _a.sent();
|
|
7340
|
-
this.sendDataEvent(dashboard_consts_1.DASHBOARD_EVENTS.WIDGET_DATA_FETCHED, { widgetId: widgetId, selectedTeam: teamId, widgetData: widgetData });
|
|
7341
|
-
return [2 /*return*/, widgetData];
|
|
7342
|
-
}
|
|
7343
|
-
});
|
|
7344
|
-
});
|
|
7345
|
-
};
|
|
7346
|
-
return DashboardService;
|
|
7347
|
-
}(SessionBasedService_1.SessionBasedService));
|
|
7348
|
-
exports["default"] = DashboardService;
|
|
7349
|
-
var DashboardGetResponseExtractor = function (response) { return response.widgets; };
|
|
7350
|
-
exports.DashboardGetResponseExtractor = DashboardGetResponseExtractor;
|
|
7351
|
-
var WidgetGetResponseExtractor = function (response) { return response.widget; };
|
|
7352
|
-
exports.WidgetGetResponseExtractor = WidgetGetResponseExtractor;
|
|
7353
|
-
//# sourceMappingURL=dashboard.service.js.map
|
|
7354
|
-
|
|
7355
|
-
/***/ }),
|
|
7356
|
-
|
|
7357
|
-
/***/ 27910:
|
|
7358
|
-
/***/ ((__unused_webpack_module, exports) => {
|
|
7359
|
-
|
|
7360
|
-
"use strict";
|
|
7361
|
-
|
|
7362
|
-
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
7363
|
-
exports.DASHBOARD_EVENTS = void 0;
|
|
7364
|
-
exports.DASHBOARD_EVENTS = {
|
|
7365
|
-
DASHBOARDS_DATA_UPDATED: 'dashboards data updated',
|
|
7366
|
-
WIDGET_DATA_FETCHED: 'widget data fetched'
|
|
7367
|
-
};
|
|
7368
|
-
//# sourceMappingURL=dashboard.consts.js.map
|
|
7369
|
-
|
|
7370
|
-
/***/ }),
|
|
7371
|
-
|
|
7372
|
-
/***/ 23949:
|
|
7373
|
-
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
7374
|
-
|
|
7375
|
-
"use strict";
|
|
7376
|
-
|
|
7377
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
7378
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
7379
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
7380
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
7381
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7382
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7383
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
7384
|
-
});
|
|
7385
|
-
};
|
|
7386
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
7387
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
7388
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
7389
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
7390
|
-
function step(op) {
|
|
7391
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
7392
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
7393
|
-
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;
|
|
7394
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
7395
|
-
switch (op[0]) {
|
|
7396
|
-
case 0: case 1: t = op; break;
|
|
7397
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
7398
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
7399
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
7400
|
-
default:
|
|
7401
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
7402
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
7403
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
7404
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
7405
|
-
if (t[2]) _.ops.pop();
|
|
7406
|
-
_.trys.pop(); continue;
|
|
7407
|
-
}
|
|
7408
|
-
op = body.call(thisArg, _);
|
|
7409
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
7410
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
7411
|
-
}
|
|
7412
|
-
};
|
|
7413
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
7414
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
7415
|
-
};
|
|
7416
|
-
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
7417
|
-
var dashboard_service_1 = __importDefault(__webpack_require__(58291));
|
|
7418
|
-
var Dashboard = /** @class */ (function () {
|
|
7419
|
-
function Dashboard(session) {
|
|
7420
|
-
this.dashboardService = new dashboard_service_1.default(session);
|
|
7421
|
-
}
|
|
7422
|
-
Dashboard.prototype.getDashboard = function (teamId) {
|
|
7423
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
7424
|
-
return __generator(this, function (_a) {
|
|
7425
|
-
switch (_a.label) {
|
|
7426
|
-
case 0: return [4 /*yield*/, this.dashboardService.getDashboard(teamId)];
|
|
7427
|
-
case 1: return [2 /*return*/, _a.sent()];
|
|
7428
|
-
}
|
|
7429
|
-
});
|
|
7430
|
-
});
|
|
7431
|
-
};
|
|
7432
|
-
Dashboard.prototype.getWidgetsStructure = function () {
|
|
7433
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
7434
|
-
return __generator(this, function (_a) {
|
|
7435
|
-
switch (_a.label) {
|
|
7436
|
-
case 0: return [4 /*yield*/, this.dashboardService.getWidgetsStructure()];
|
|
7437
|
-
case 1: return [2 /*return*/, _a.sent()];
|
|
7438
|
-
}
|
|
7439
|
-
});
|
|
7440
|
-
});
|
|
7441
|
-
};
|
|
7442
|
-
Dashboard.prototype.getWidgetData = function (widgetId, teamId) {
|
|
7443
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
7444
|
-
return __generator(this, function (_a) {
|
|
7445
|
-
switch (_a.label) {
|
|
7446
|
-
case 0: return [4 /*yield*/, this.dashboardService.getWidgetData(widgetId, teamId)];
|
|
7447
|
-
case 1: return [2 /*return*/, _a.sent()];
|
|
7448
|
-
}
|
|
7449
|
-
});
|
|
7450
|
-
});
|
|
7451
|
-
};
|
|
7452
|
-
return Dashboard;
|
|
7453
|
-
}());
|
|
7454
|
-
exports["default"] = Dashboard;
|
|
7455
|
-
//# sourceMappingURL=dashboard.js.map
|
|
7456
|
-
|
|
7457
|
-
/***/ }),
|
|
7458
|
-
|
|
7459
7212
|
/***/ 93670:
|
|
7460
7213
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
7461
7214
|
|
|
@@ -11505,119 +11258,6 @@ exports["default"] = LanguageStore;
|
|
|
11505
11258
|
|
|
11506
11259
|
/***/ }),
|
|
11507
11260
|
|
|
11508
|
-
/***/ 93208:
|
|
11509
|
-
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
11510
|
-
|
|
11511
|
-
"use strict";
|
|
11512
|
-
|
|
11513
|
-
var __extends = (this && this.__extends) || (function () {
|
|
11514
|
-
var extendStatics = function (d, b) {
|
|
11515
|
-
extendStatics = Object.setPrototypeOf ||
|
|
11516
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
11517
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
11518
|
-
return extendStatics(d, b);
|
|
11519
|
-
};
|
|
11520
|
-
return function (d, b) {
|
|
11521
|
-
if (typeof b !== "function" && b !== null)
|
|
11522
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
11523
|
-
extendStatics(d, b);
|
|
11524
|
-
function __() { this.constructor = d; }
|
|
11525
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
11526
|
-
};
|
|
11527
|
-
})();
|
|
11528
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
11529
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
11530
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
11531
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
11532
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
11533
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
11534
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
11535
|
-
});
|
|
11536
|
-
};
|
|
11537
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
11538
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
11539
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
11540
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
11541
|
-
function step(op) {
|
|
11542
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
11543
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
11544
|
-
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;
|
|
11545
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
11546
|
-
switch (op[0]) {
|
|
11547
|
-
case 0: case 1: t = op; break;
|
|
11548
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
11549
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
11550
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
11551
|
-
default:
|
|
11552
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
11553
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
11554
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
11555
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
11556
|
-
if (t[2]) _.ops.pop();
|
|
11557
|
-
_.trys.pop(); continue;
|
|
11558
|
-
}
|
|
11559
|
-
op = body.call(thisArg, _);
|
|
11560
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
11561
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
11562
|
-
}
|
|
11563
|
-
};
|
|
11564
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
11565
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
11566
|
-
};
|
|
11567
|
-
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
11568
|
-
var Entity_1 = __importDefault(__webpack_require__(7483));
|
|
11569
|
-
var Routes = {
|
|
11570
|
-
GET_NEW_LEGACY_REPORTS_LIST: '/reports/list'
|
|
11571
|
-
};
|
|
11572
|
-
var LegacyReportsEntity = /** @class */ (function (_super) {
|
|
11573
|
-
__extends(LegacyReportsEntity, _super);
|
|
11574
|
-
function LegacyReportsEntity(session) {
|
|
11575
|
-
return _super.call(this, {
|
|
11576
|
-
session: session,
|
|
11577
|
-
entityName: 'legacy-reports'
|
|
11578
|
-
}) || this;
|
|
11579
|
-
}
|
|
11580
|
-
LegacyReportsEntity.prototype.getNewLegacyReports = function () {
|
|
11581
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
11582
|
-
return __generator(this, function (_a) {
|
|
11583
|
-
switch (_a.label) {
|
|
11584
|
-
case 0: return [4 /*yield*/, this.service.routeGenerator.get(Routes.GET_NEW_LEGACY_REPORTS_LIST).invoke()];
|
|
11585
|
-
case 1: return [2 /*return*/, _a.sent()];
|
|
11586
|
-
}
|
|
11587
|
-
});
|
|
11588
|
-
});
|
|
11589
|
-
};
|
|
11590
|
-
return LegacyReportsEntity;
|
|
11591
|
-
}(Entity_1.default));
|
|
11592
|
-
exports["default"] = LegacyReportsEntity;
|
|
11593
|
-
//# sourceMappingURL=LegacyReportsEntity.js.map
|
|
11594
|
-
|
|
11595
|
-
/***/ }),
|
|
11596
|
-
|
|
11597
|
-
/***/ 16761:
|
|
11598
|
-
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
11599
|
-
|
|
11600
|
-
"use strict";
|
|
11601
|
-
|
|
11602
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
11603
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
11604
|
-
};
|
|
11605
|
-
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
11606
|
-
var LegacyReportsEntity_1 = __importDefault(__webpack_require__(93208));
|
|
11607
|
-
var LegacyReportsApi = /** @class */ (function () {
|
|
11608
|
-
function LegacyReportsApi(session) {
|
|
11609
|
-
this.legacyReportsEntity = new LegacyReportsEntity_1.default(session);
|
|
11610
|
-
}
|
|
11611
|
-
LegacyReportsApi.prototype.getNewLegacyReports = function () {
|
|
11612
|
-
return this.legacyReportsEntity.getNewLegacyReports();
|
|
11613
|
-
};
|
|
11614
|
-
return LegacyReportsApi;
|
|
11615
|
-
}());
|
|
11616
|
-
exports["default"] = LegacyReportsApi;
|
|
11617
|
-
//# sourceMappingURL=LegacyReportsApi.js.map
|
|
11618
|
-
|
|
11619
|
-
/***/ }),
|
|
11620
|
-
|
|
11621
11261
|
/***/ 96142:
|
|
11622
11262
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
11623
11263
|
|
|
@@ -22769,7 +22409,7 @@ var lodash_1 = __webpack_require__(96486);
|
|
|
22769
22409
|
var BringgException_1 = __webpack_require__(43605);
|
|
22770
22410
|
var Logger_1 = __importDefault(__webpack_require__(55860));
|
|
22771
22411
|
var abort_1 = __webpack_require__(34179);
|
|
22772
|
-
var version = '9.
|
|
22412
|
+
var version = '9.32.0';
|
|
22773
22413
|
function logErrorResponse(response) {
|
|
22774
22414
|
var data = response.data, status = response.status;
|
|
22775
22415
|
try {
|
|
@@ -33289,7 +32929,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
33289
32929
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
33290
32930
|
};
|
|
33291
32931
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
33292
|
-
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.
|
|
32932
|
+
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;
|
|
33293
32933
|
__exportStar(__webpack_require__(37360), exports);
|
|
33294
32934
|
__exportStar(__webpack_require__(5655), exports);
|
|
33295
32935
|
var BringgDashboardSDK_1 = __webpack_require__(5655);
|
|
@@ -33299,7 +32939,6 @@ exports.ChatMessageConsts = __importStar(__webpack_require__(39634));
|
|
|
33299
32939
|
__exportStar(__webpack_require__(55860), exports);
|
|
33300
32940
|
exports.Responses = __importStar(__webpack_require__(26171));
|
|
33301
32941
|
exports.CrewConsts = __importStar(__webpack_require__(67152));
|
|
33302
|
-
exports.DashboardConsts = __importStar(__webpack_require__(27910));
|
|
33303
32942
|
exports.DeliveryBlockConsts = __importStar(__webpack_require__(27774));
|
|
33304
32943
|
var delivery_windows_api_1 = __webpack_require__(49627);
|
|
33305
32944
|
Object.defineProperty(exports, "DeliveryWindowsApi", ({ enumerable: true, get: function () { return __importDefault(delivery_windows_api_1).default; } }));
|
|
@@ -35730,7 +35369,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
35730
35369
|
exports.AnalyticsServiceRpcAction = void 0;
|
|
35731
35370
|
var AnalyticsServiceRpcAction;
|
|
35732
35371
|
(function (AnalyticsServiceRpcAction) {
|
|
35733
|
-
AnalyticsServiceRpcAction["
|
|
35372
|
+
AnalyticsServiceRpcAction["CheckIsWebhookAuthConfigUsedInReportScheduledJobs"] = "analytics-service:report-scheduled-jobs:check-is-webhook-auth-config-used";
|
|
35373
|
+
AnalyticsServiceRpcAction["GetScheduledJobsCountByWebhookAuthConfigIds"] = "analytics-service:scheduled-jobs:get-count-by-webhook-auth-config-ids";
|
|
35734
35374
|
})(AnalyticsServiceRpcAction || (exports.AnalyticsServiceRpcAction = AnalyticsServiceRpcAction = {}));
|
|
35735
35375
|
//# sourceMappingURL=rpc.js.map
|
|
35736
35376
|
|
|
@@ -36093,9 +35733,10 @@ __exportStar(__webpack_require__(91684), exports);
|
|
|
36093
35733
|
__exportStar(__webpack_require__(28327), exports);
|
|
36094
35734
|
__exportStar(__webpack_require__(42586), exports);
|
|
36095
35735
|
__exportStar(__webpack_require__(25720), exports);
|
|
35736
|
+
__exportStar(__webpack_require__(87024), exports);
|
|
35737
|
+
__exportStar(__webpack_require__(12772), exports);
|
|
36096
35738
|
__exportStar(__webpack_require__(89792), exports);
|
|
36097
35739
|
__exportStar(__webpack_require__(29414), exports);
|
|
36098
|
-
__exportStar(__webpack_require__(5961), exports);
|
|
36099
35740
|
__exportStar(__webpack_require__(72615), exports);
|
|
36100
35741
|
//# sourceMappingURL=index.js.map
|
|
36101
35742
|
|
|
@@ -36162,40 +35803,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
36162
35803
|
|
|
36163
35804
|
/***/ }),
|
|
36164
35805
|
|
|
36165
|
-
/***/
|
|
36166
|
-
/***/ ((__unused_webpack_module, exports) => {
|
|
36167
|
-
|
|
36168
|
-
"use strict";
|
|
36169
|
-
|
|
36170
|
-
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
36171
|
-
//# sourceMappingURL=report_share.js.map
|
|
36172
|
-
|
|
36173
|
-
/***/ }),
|
|
36174
|
-
|
|
36175
|
-
/***/ 29414:
|
|
36176
|
-
/***/ ((__unused_webpack_module, exports) => {
|
|
36177
|
-
|
|
36178
|
-
"use strict";
|
|
36179
|
-
|
|
36180
|
-
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
36181
|
-
exports.DeliveryHubReportCoreObjects = exports.OwnFleetReportCoreObjects = void 0;
|
|
36182
|
-
var OwnFleetReportCoreObjects;
|
|
36183
|
-
(function (OwnFleetReportCoreObjects) {
|
|
36184
|
-
OwnFleetReportCoreObjects["None"] = "None";
|
|
36185
|
-
OwnFleetReportCoreObjects["Tasks"] = "Tasks";
|
|
36186
|
-
OwnFleetReportCoreObjects["Users"] = "Users";
|
|
36187
|
-
OwnFleetReportCoreObjects["Vehicles"] = "Vehicles";
|
|
36188
|
-
OwnFleetReportCoreObjects["Carriers"] = "Carriers";
|
|
36189
|
-
})(OwnFleetReportCoreObjects || (exports.OwnFleetReportCoreObjects = OwnFleetReportCoreObjects = {}));
|
|
36190
|
-
var DeliveryHubReportCoreObjects;
|
|
36191
|
-
(function (DeliveryHubReportCoreObjects) {
|
|
36192
|
-
DeliveryHubReportCoreObjects["Shipments"] = "Shipments";
|
|
36193
|
-
})(DeliveryHubReportCoreObjects || (exports.DeliveryHubReportCoreObjects = DeliveryHubReportCoreObjects = {}));
|
|
36194
|
-
//# sourceMappingURL=report_templates.js.map
|
|
36195
|
-
|
|
36196
|
-
/***/ }),
|
|
36197
|
-
|
|
36198
|
-
/***/ 5961:
|
|
35806
|
+
/***/ 87024:
|
|
36199
35807
|
/***/ ((__unused_webpack_module, exports) => {
|
|
36200
35808
|
|
|
36201
35809
|
"use strict";
|
|
@@ -36235,7 +35843,50 @@ var CronDayOfWeek;
|
|
|
36235
35843
|
CronDayOfWeek[CronDayOfWeek["Friday"] = 5] = "Friday";
|
|
36236
35844
|
CronDayOfWeek[CronDayOfWeek["Saturday"] = 6] = "Saturday";
|
|
36237
35845
|
})(CronDayOfWeek || (exports.CronDayOfWeek = CronDayOfWeek = {}));
|
|
36238
|
-
//# sourceMappingURL=
|
|
35846
|
+
//# sourceMappingURL=reports_scheduled_job.js.map
|
|
35847
|
+
|
|
35848
|
+
/***/ }),
|
|
35849
|
+
|
|
35850
|
+
/***/ 12772:
|
|
35851
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
35852
|
+
|
|
35853
|
+
"use strict";
|
|
35854
|
+
|
|
35855
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
35856
|
+
//# sourceMappingURL=webhook_auth_config.js.map
|
|
35857
|
+
|
|
35858
|
+
/***/ }),
|
|
35859
|
+
|
|
35860
|
+
/***/ 89792:
|
|
35861
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
35862
|
+
|
|
35863
|
+
"use strict";
|
|
35864
|
+
|
|
35865
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
35866
|
+
//# sourceMappingURL=report_share.js.map
|
|
35867
|
+
|
|
35868
|
+
/***/ }),
|
|
35869
|
+
|
|
35870
|
+
/***/ 29414:
|
|
35871
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
35872
|
+
|
|
35873
|
+
"use strict";
|
|
35874
|
+
|
|
35875
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
35876
|
+
exports.DeliveryHubReportCoreObjects = exports.OwnFleetReportCoreObjects = void 0;
|
|
35877
|
+
var OwnFleetReportCoreObjects;
|
|
35878
|
+
(function (OwnFleetReportCoreObjects) {
|
|
35879
|
+
OwnFleetReportCoreObjects["None"] = "None";
|
|
35880
|
+
OwnFleetReportCoreObjects["Tasks"] = "Tasks";
|
|
35881
|
+
OwnFleetReportCoreObjects["Users"] = "Users";
|
|
35882
|
+
OwnFleetReportCoreObjects["Vehicles"] = "Vehicles";
|
|
35883
|
+
OwnFleetReportCoreObjects["Carriers"] = "Carriers";
|
|
35884
|
+
})(OwnFleetReportCoreObjects || (exports.OwnFleetReportCoreObjects = OwnFleetReportCoreObjects = {}));
|
|
35885
|
+
var DeliveryHubReportCoreObjects;
|
|
35886
|
+
(function (DeliveryHubReportCoreObjects) {
|
|
35887
|
+
DeliveryHubReportCoreObjects["Shipments"] = "Shipments";
|
|
35888
|
+
})(DeliveryHubReportCoreObjects || (exports.DeliveryHubReportCoreObjects = DeliveryHubReportCoreObjects = {}));
|
|
35889
|
+
//# sourceMappingURL=report_templates.js.map
|
|
36239
35890
|
|
|
36240
35891
|
/***/ }),
|
|
36241
35892
|
|
|
@@ -38524,7 +38175,6 @@ var PrivilegeTypes;
|
|
|
38524
38175
|
PrivilegeTypes["ACCESS_TO_ALL_TASKS"] = "access_to_all_tasks";
|
|
38525
38176
|
PrivilegeTypes["ACCESS_COMPANY_TASKS_ONLY"] = "access_company_tasks_only";
|
|
38526
38177
|
PrivilegeTypes["EDIT_COMPANY"] = "edit_company";
|
|
38527
|
-
PrivilegeTypes["ENABLE_BI_DASHBOARD"] = "enable_bi_dashboard";
|
|
38528
38178
|
PrivilegeTypes["EDIT_EXCLUSION_WINDOWS"] = "edit_exclusion_windows";
|
|
38529
38179
|
PrivilegeTypes["VIEW_EXCLUSION_WINDOWS"] = "view_exclusion_windows";
|
|
38530
38180
|
PrivilegeTypes["EDIT_TASK_DETAILS"] = "edit_task_details";
|
|
@@ -38567,6 +38217,14 @@ var PrivilegeTypes;
|
|
|
38567
38217
|
PrivilegeTypes["IS_ANALYTICS_CAPACITY_UTILIZATION_REPORT_ENABLED"] = "is_analytics_capacity_utilization_report_enabled";
|
|
38568
38218
|
PrivilegeTypes["VIEW_PLANNED_DELIVERY_WINDOWS"] = "view_planned_delivery_windows";
|
|
38569
38219
|
PrivilegeTypes["EDIT_PLANNED_DELIVERY_WINDOWS"] = "edit_planned_delivery_windows";
|
|
38220
|
+
PrivilegeTypes["DRIVER_PROFILE_V2"] = "driver_profile_v2";
|
|
38221
|
+
PrivilegeTypes["DRIVER_PROFILE_V2_EDIT"] = "edit";
|
|
38222
|
+
PrivilegeTypes["DRIVER_PROFILE_V2_VIEW"] = "view";
|
|
38223
|
+
PrivilegeTypes["DRIVER_PROFILE_V2_NONE"] = "none";
|
|
38224
|
+
PrivilegeTypes["TEAMS_V2"] = "teams_v2";
|
|
38225
|
+
PrivilegeTypes["TEAMS_V2_EDIT"] = "edit";
|
|
38226
|
+
PrivilegeTypes["TEAMS_V2_VIEW"] = "view";
|
|
38227
|
+
PrivilegeTypes["TEAMS_V2_NONE"] = "none";
|
|
38570
38228
|
})(PrivilegeTypes || (exports.PrivilegeTypes = PrivilegeTypes = {}));
|
|
38571
38229
|
exports.PRIVILEGES_DEFAULTS = (_a = {},
|
|
38572
38230
|
_a[PrivilegeTypes.CANCEL_TASK] = true,
|