@bringg/dashboard-sdk 9.79.1 → 9.80.1
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 +2 -0
- package/dist/BringgDashboardSDK.js +2 -0
- package/dist/BringgDashboardSDK.js.map +1 -1
- package/dist/ConfigurationProfiles/ConfigurationProfiles.d.ts +11 -0
- package/dist/ConfigurationProfiles/ConfigurationProfiles.js +29 -0
- package/dist/ConfigurationProfiles/ConfigurationProfiles.js.map +1 -0
- package/dist/ConfigurationProfiles/Service/ConfigurationProfilesService.d.ts +18 -0
- package/dist/ConfigurationProfiles/Service/ConfigurationProfilesService.js +129 -0
- package/dist/ConfigurationProfiles/Service/ConfigurationProfilesService.js.map +1 -0
- package/dist/Task/Tasks.consts.d.ts +1 -0
- package/dist/Task/Tasks.consts.js +3 -1
- package/dist/Task/Tasks.consts.js.map +1 -1
- package/dist/Task/v2/task-realtime-subscriptions.d.ts +2 -0
- package/dist/Task/v2/task-realtime-subscriptions.js +9 -0
- package/dist/Task/v2/task-realtime-subscriptions.js.map +1 -1
- package/dist/bringg-dashboard-sdk-cjs2.js +230 -4
- package/dist/bringg-dashboard-sdk-cjs2.js.map +1 -1
- package/dist/bringg-dashboard-sdk.js +53 -9
- package/dist/bringg-dashboard-sdk.min.js +1 -1
- package/dist/bringg-dashboard-sdk.min.js.map +1 -1
- package/package.json +2 -2
|
@@ -2692,6 +2692,7 @@ var CarrierCancellationReasonsApi_1 = __importDefault(__webpack_require__(73116)
|
|
|
2692
2692
|
var Chat_1 = __importDefault(__webpack_require__(17629));
|
|
2693
2693
|
var ChatConversationApi_1 = __importDefault(__webpack_require__(74617));
|
|
2694
2694
|
var Company_1 = __importDefault(__webpack_require__(97275));
|
|
2695
|
+
var ConfigurationProfiles_1 = __importDefault(__webpack_require__(65624));
|
|
2695
2696
|
var ConfigurationProvider_1 = __webpack_require__(44858);
|
|
2696
2697
|
var Crew_1 = __importDefault(__webpack_require__(83916));
|
|
2697
2698
|
var CrossAppTransport_1 = __importDefault(__webpack_require__(25154));
|
|
@@ -3176,6 +3177,7 @@ function init(session) {
|
|
|
3176
3177
|
bringg.webhookAuthenticationConfiguration = new WebhookAuthenticationConfiguration_1.default(session);
|
|
3177
3178
|
bringg.optimizationConfiguration = new OptimizationConfiguration_1.default(session);
|
|
3178
3179
|
bringg.optimizationConfigurationV2 = new OptimizationConfigurationV2_1.default(session);
|
|
3180
|
+
bringg.configurationProfiles = new ConfigurationProfiles_1.default(session);
|
|
3179
3181
|
bringg.fleetTemplates = new FleetTemplateApi_1.default(session);
|
|
3180
3182
|
bringg.openFleets = new OpenFleetApi_1.default(session);
|
|
3181
3183
|
bringg.customerAvailabilityHours = new CustomerAvailabilityHourApi_1.default(session);
|
|
@@ -4793,6 +4795,178 @@ exports["default"] = CompanyEntity;
|
|
|
4793
4795
|
|
|
4794
4796
|
/***/ }),
|
|
4795
4797
|
|
|
4798
|
+
/***/ 65624:
|
|
4799
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
4800
|
+
|
|
4801
|
+
"use strict";
|
|
4802
|
+
|
|
4803
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4804
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4805
|
+
};
|
|
4806
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4807
|
+
var ConfigurationProfilesService_1 = __importDefault(__webpack_require__(44716));
|
|
4808
|
+
var ConfigurationProfiles = /** @class */ (function () {
|
|
4809
|
+
function ConfigurationProfiles(session) {
|
|
4810
|
+
this.configurationProfilesService = new ConfigurationProfilesService_1.default(session);
|
|
4811
|
+
}
|
|
4812
|
+
ConfigurationProfiles.prototype.getAll = function (applicationUuid) {
|
|
4813
|
+
return this.configurationProfilesService.list(applicationUuid);
|
|
4814
|
+
};
|
|
4815
|
+
ConfigurationProfiles.prototype.create = function (applicationUuid, payload) {
|
|
4816
|
+
return this.configurationProfilesService.create(applicationUuid, payload);
|
|
4817
|
+
};
|
|
4818
|
+
ConfigurationProfiles.prototype.update = function (applicationUuid, id, payload) {
|
|
4819
|
+
return this.configurationProfilesService.update(applicationUuid, id, payload);
|
|
4820
|
+
};
|
|
4821
|
+
ConfigurationProfiles.prototype.setDefault = function (applicationUuid, id) {
|
|
4822
|
+
return this.configurationProfilesService.setDefault(applicationUuid, id);
|
|
4823
|
+
};
|
|
4824
|
+
ConfigurationProfiles.prototype.delete = function (applicationUuid, id) {
|
|
4825
|
+
return this.configurationProfilesService.delete(applicationUuid, id);
|
|
4826
|
+
};
|
|
4827
|
+
return ConfigurationProfiles;
|
|
4828
|
+
}());
|
|
4829
|
+
exports["default"] = ConfigurationProfiles;
|
|
4830
|
+
//# sourceMappingURL=ConfigurationProfiles.js.map
|
|
4831
|
+
|
|
4832
|
+
/***/ }),
|
|
4833
|
+
|
|
4834
|
+
/***/ 44716:
|
|
4835
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
4836
|
+
|
|
4837
|
+
"use strict";
|
|
4838
|
+
|
|
4839
|
+
var __extends = (this && this.__extends) || (function () {
|
|
4840
|
+
var extendStatics = function (d, b) {
|
|
4841
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4842
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
4843
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
4844
|
+
return extendStatics(d, b);
|
|
4845
|
+
};
|
|
4846
|
+
return function (d, b) {
|
|
4847
|
+
if (typeof b !== "function" && b !== null)
|
|
4848
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
4849
|
+
extendStatics(d, b);
|
|
4850
|
+
function __() { this.constructor = d; }
|
|
4851
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
4852
|
+
};
|
|
4853
|
+
})();
|
|
4854
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
4855
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4856
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4857
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
4858
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
4859
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
4860
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
4861
|
+
});
|
|
4862
|
+
};
|
|
4863
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
4864
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
4865
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
4866
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
4867
|
+
function step(op) {
|
|
4868
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
4869
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
4870
|
+
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;
|
|
4871
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
4872
|
+
switch (op[0]) {
|
|
4873
|
+
case 0: case 1: t = op; break;
|
|
4874
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
4875
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
4876
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
4877
|
+
default:
|
|
4878
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
4879
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
4880
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
4881
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
4882
|
+
if (t[2]) _.ops.pop();
|
|
4883
|
+
_.trys.pop(); continue;
|
|
4884
|
+
}
|
|
4885
|
+
op = body.call(thisArg, _);
|
|
4886
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
4887
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
4888
|
+
}
|
|
4889
|
+
};
|
|
4890
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4891
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4892
|
+
};
|
|
4893
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4894
|
+
exports.Routes = void 0;
|
|
4895
|
+
var BaseService_1 = __importDefault(__webpack_require__(41992));
|
|
4896
|
+
var SERVICE_NAME = 'settings-service';
|
|
4897
|
+
exports.Routes = {
|
|
4898
|
+
LIST: "/".concat(SERVICE_NAME, "/applications/{:application_uuid}/configuration-profiles"),
|
|
4899
|
+
CREATE: "/".concat(SERVICE_NAME, "/applications/{:application_uuid}/configuration-profiles"),
|
|
4900
|
+
UPDATE: "/".concat(SERVICE_NAME, "/applications/{:application_uuid}/configuration-profiles/{:id}"),
|
|
4901
|
+
SET_DEFAULT: "/".concat(SERVICE_NAME, "/applications/{:application_uuid}/configuration-profiles/{:id}/make-default"),
|
|
4902
|
+
DELETE: "/".concat(SERVICE_NAME, "/applications/{:application_uuid}/configuration-profiles/{:id}")
|
|
4903
|
+
};
|
|
4904
|
+
var ConfigurationProfilesService = /** @class */ (function (_super) {
|
|
4905
|
+
__extends(ConfigurationProfilesService, _super);
|
|
4906
|
+
function ConfigurationProfilesService(session) {
|
|
4907
|
+
return _super.call(this, session, 'configuration_profiles') || this;
|
|
4908
|
+
}
|
|
4909
|
+
ConfigurationProfilesService.prototype.list = function (applicationUuid) {
|
|
4910
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
4911
|
+
return __generator(this, function (_a) {
|
|
4912
|
+
return [2 /*return*/, this.routeGenerator.get(exports.Routes.LIST).withRouteParams({ application_uuid: applicationUuid }).invoke()];
|
|
4913
|
+
});
|
|
4914
|
+
});
|
|
4915
|
+
};
|
|
4916
|
+
ConfigurationProfilesService.prototype.create = function (applicationUuid, payload) {
|
|
4917
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
4918
|
+
return __generator(this, function (_a) {
|
|
4919
|
+
return [2 /*return*/, this.routeGenerator
|
|
4920
|
+
.post(exports.Routes.CREATE)
|
|
4921
|
+
.withRouteParams({ application_uuid: applicationUuid })
|
|
4922
|
+
.withPayload(payload)
|
|
4923
|
+
.invoke()];
|
|
4924
|
+
});
|
|
4925
|
+
});
|
|
4926
|
+
};
|
|
4927
|
+
ConfigurationProfilesService.prototype.update = function (applicationUuid, id, payload) {
|
|
4928
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
4929
|
+
return __generator(this, function (_a) {
|
|
4930
|
+
return [2 /*return*/, this.routeGenerator
|
|
4931
|
+
.patch(exports.Routes.UPDATE)
|
|
4932
|
+
.withRouteParams({ application_uuid: applicationUuid, id: id })
|
|
4933
|
+
.withPayload(payload)
|
|
4934
|
+
.invoke()];
|
|
4935
|
+
});
|
|
4936
|
+
});
|
|
4937
|
+
};
|
|
4938
|
+
ConfigurationProfilesService.prototype.setDefault = function (applicationUuid, id) {
|
|
4939
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
4940
|
+
return __generator(this, function (_a) {
|
|
4941
|
+
return [2 /*return*/, this.routeGenerator
|
|
4942
|
+
.put(exports.Routes.SET_DEFAULT)
|
|
4943
|
+
.withRouteParams({ application_uuid: applicationUuid, id: id })
|
|
4944
|
+
.invoke()];
|
|
4945
|
+
});
|
|
4946
|
+
});
|
|
4947
|
+
};
|
|
4948
|
+
ConfigurationProfilesService.prototype.delete = function (applicationUuid, id) {
|
|
4949
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
4950
|
+
return __generator(this, function (_a) {
|
|
4951
|
+
switch (_a.label) {
|
|
4952
|
+
case 0: return [4 /*yield*/, this.routeGenerator
|
|
4953
|
+
.delete(exports.Routes.DELETE)
|
|
4954
|
+
.withRouteParams({ application_uuid: applicationUuid, id: id })
|
|
4955
|
+
.invoke()];
|
|
4956
|
+
case 1:
|
|
4957
|
+
_a.sent();
|
|
4958
|
+
return [2 /*return*/];
|
|
4959
|
+
}
|
|
4960
|
+
});
|
|
4961
|
+
});
|
|
4962
|
+
};
|
|
4963
|
+
return ConfigurationProfilesService;
|
|
4964
|
+
}(BaseService_1.default));
|
|
4965
|
+
exports["default"] = ConfigurationProfilesService;
|
|
4966
|
+
//# sourceMappingURL=ConfigurationProfilesService.js.map
|
|
4967
|
+
|
|
4968
|
+
/***/ }),
|
|
4969
|
+
|
|
4796
4970
|
/***/ 41992:
|
|
4797
4971
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
4798
4972
|
|
|
@@ -23858,7 +24032,7 @@ var lodash_1 = __webpack_require__(96486);
|
|
|
23858
24032
|
var BringgException_1 = __webpack_require__(43605);
|
|
23859
24033
|
var Logger_1 = __importDefault(__webpack_require__(55860));
|
|
23860
24034
|
var abort_1 = __webpack_require__(34179);
|
|
23861
|
-
var version = '9.
|
|
24035
|
+
var version = '9.80.1';
|
|
23862
24036
|
function logErrorResponse(response) {
|
|
23863
24037
|
var data = response.data, status = response.status;
|
|
23864
24038
|
try {
|
|
@@ -26461,7 +26635,7 @@ var __values = (this && this.__values) || function(o) {
|
|
|
26461
26635
|
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
26462
26636
|
};
|
|
26463
26637
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
26464
|
-
exports.taskDefaultFields = exports.Routes = exports.baseRoute = exports.TaskRealTimeEvents = exports.answersExtractor = exports.quotesExtractor = exports.formExtractor = exports.taskIdsExtractor = exports.scanCodeExtractor = exports.locationExtractor = exports.childTasksExtractor = exports.tasksExtractor = exports.successExtractor = exports.taskExtractor = exports.defaultExtractor = exports.noteTypes = exports.taskToGroupMapper = exports.groupFilter = exports.TaskGroupTypes = exports.GROUP_VALUES = void 0;
|
|
26638
|
+
exports.taskDefaultFields = exports.Routes = exports.baseRoute = exports.TaskRealTimeEvents = exports.DISABLE_WAYPOINT_CUSTOMER_ENRICHMENT_FEATURE_FLAG = exports.answersExtractor = exports.quotesExtractor = exports.formExtractor = exports.taskIdsExtractor = exports.scanCodeExtractor = exports.locationExtractor = exports.childTasksExtractor = exports.tasksExtractor = exports.successExtractor = exports.taskExtractor = exports.defaultExtractor = exports.noteTypes = exports.taskToGroupMapper = exports.groupFilter = exports.TaskGroupTypes = exports.GROUP_VALUES = void 0;
|
|
26465
26639
|
var TaskHelpers_1 = __webpack_require__(73119);
|
|
26466
26640
|
var GROUP_VALUES;
|
|
26467
26641
|
(function (GROUP_VALUES) {
|
|
@@ -26534,6 +26708,8 @@ var quotesExtractor = function (response) { return response.quotes; };
|
|
|
26534
26708
|
exports.quotesExtractor = quotesExtractor;
|
|
26535
26709
|
var answersExtractor = function (response) { return response.answers; };
|
|
26536
26710
|
exports.answersExtractor = answersExtractor;
|
|
26711
|
+
// Turning this on re-exposes the stale way_point.customer it was introduced to fix.
|
|
26712
|
+
exports.DISABLE_WAYPOINT_CUSTOMER_ENRICHMENT_FEATURE_FLAG = 'disable_waypoint_customer_enrichment';
|
|
26537
26713
|
var TaskRealTimeEvents;
|
|
26538
26714
|
(function (TaskRealTimeEvents) {
|
|
26539
26715
|
TaskRealTimeEvents["TASK_UPDATE"] = "task update";
|
|
@@ -26719,6 +26895,7 @@ var vrp_auto_dispatch_status_entity_1 = __importDefault(__webpack_require__(7589
|
|
|
26719
26895
|
var Tasks_consts_1 = __webpack_require__(24976);
|
|
26720
26896
|
var TaskRealtimeSubscriptions = /** @class */ (function () {
|
|
26721
26897
|
function TaskRealtimeSubscriptions(session, tasksStore, storableDataService, customersApi) {
|
|
26898
|
+
this.session = session;
|
|
26722
26899
|
this.tasksStore = tasksStore;
|
|
26723
26900
|
this.customersApi = customersApi;
|
|
26724
26901
|
this.storableRealtimeSubscriptions = new storable_realtime_subscriptions_1.default(session, tasksStore, storableDataService);
|
|
@@ -26784,6 +26961,9 @@ var TaskRealtimeSubscriptions = /** @class */ (function () {
|
|
|
26784
26961
|
{
|
|
26785
26962
|
shouldEnrich: function (payload, getTask) {
|
|
26786
26963
|
var _a, _b, _c;
|
|
26964
|
+
if (_this.isWaypointCustomerEnrichmentDisabled()) {
|
|
26965
|
+
return false;
|
|
26966
|
+
}
|
|
26787
26967
|
if (!('customer_id' in payload) || 'customer' in payload) {
|
|
26788
26968
|
return false;
|
|
26789
26969
|
}
|
|
@@ -26878,6 +27058,11 @@ var TaskRealtimeSubscriptions = /** @class */ (function () {
|
|
|
26878
27058
|
finally { if (e_1) throw e_1.error; }
|
|
26879
27059
|
}
|
|
26880
27060
|
};
|
|
27061
|
+
TaskRealtimeSubscriptions.prototype.isWaypointCustomerEnrichmentDisabled = function () {
|
|
27062
|
+
var _a;
|
|
27063
|
+
var featureFlags = (((_a = this.session.merchant) === null || _a === void 0 ? void 0 : _a.feature_flags) || {});
|
|
27064
|
+
return Boolean(featureFlags[Tasks_consts_1.DISABLE_WAYPOINT_CUSTOMER_ENRICHMENT_FEATURE_FLAG]);
|
|
27065
|
+
};
|
|
26881
27066
|
return TaskRealtimeSubscriptions;
|
|
26882
27067
|
}());
|
|
26883
27068
|
exports["default"] = TaskRealtimeSubscriptions;
|
|
@@ -37785,6 +37970,7 @@ __exportStar(__webpack_require__(11168), exports);
|
|
|
37785
37970
|
__exportStar(__webpack_require__(82849), exports);
|
|
37786
37971
|
__exportStar(__webpack_require__(54581), exports);
|
|
37787
37972
|
__exportStar(__webpack_require__(21434), exports);
|
|
37973
|
+
__exportStar(__webpack_require__(30983), exports);
|
|
37788
37974
|
__exportStar(__webpack_require__(65111), exports);
|
|
37789
37975
|
__exportStar(__webpack_require__(91758), exports);
|
|
37790
37976
|
__exportStar(__webpack_require__(72285), exports);
|
|
@@ -39300,6 +39486,18 @@ var TaskTimePredictionApplicationFieldName;
|
|
|
39300
39486
|
|
|
39301
39487
|
/***/ }),
|
|
39302
39488
|
|
|
39489
|
+
/***/ 30983:
|
|
39490
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
39491
|
+
|
|
39492
|
+
"use strict";
|
|
39493
|
+
|
|
39494
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
39495
|
+
exports.MANAGED_BY_PROFILE = void 0;
|
|
39496
|
+
exports.MANAGED_BY_PROFILE = 'managed_by_profile';
|
|
39497
|
+
//# sourceMappingURL=application_configuration_profile.js.map
|
|
39498
|
+
|
|
39499
|
+
/***/ }),
|
|
39500
|
+
|
|
39303
39501
|
/***/ 65111:
|
|
39304
39502
|
/***/ ((__unused_webpack_module, exports) => {
|
|
39305
39503
|
|
|
@@ -39374,6 +39572,23 @@ var CapacityPlanningServiceRpcAction;
|
|
|
39374
39572
|
|
|
39375
39573
|
/***/ }),
|
|
39376
39574
|
|
|
39575
|
+
/***/ 57465:
|
|
39576
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
39577
|
+
|
|
39578
|
+
"use strict";
|
|
39579
|
+
|
|
39580
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
39581
|
+
exports.ResourceAdditionMode = void 0;
|
|
39582
|
+
var ResourceAdditionMode;
|
|
39583
|
+
(function (ResourceAdditionMode) {
|
|
39584
|
+
ResourceAdditionMode["Driver"] = "driver";
|
|
39585
|
+
ResourceAdditionMode["Vehicle"] = "vehicle";
|
|
39586
|
+
ResourceAdditionMode["Both"] = "both";
|
|
39587
|
+
})(ResourceAdditionMode || (exports.ResourceAdditionMode = ResourceAdditionMode = {}));
|
|
39588
|
+
//# sourceMappingURL=capacity_advisor_configuration.js.map
|
|
39589
|
+
|
|
39590
|
+
/***/ }),
|
|
39591
|
+
|
|
39377
39592
|
/***/ 48711:
|
|
39378
39593
|
/***/ ((__unused_webpack_module, exports) => {
|
|
39379
39594
|
|
|
@@ -39455,6 +39670,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
39455
39670
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
39456
39671
|
};
|
|
39457
39672
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
39673
|
+
__exportStar(__webpack_require__(57465), exports);
|
|
39458
39674
|
__exportStar(__webpack_require__(48711), exports);
|
|
39459
39675
|
__exportStar(__webpack_require__(3201), exports);
|
|
39460
39676
|
__exportStar(__webpack_require__(10870), exports);
|
|
@@ -40146,13 +40362,20 @@ var OrderPageTabs;
|
|
|
40146
40362
|
"use strict";
|
|
40147
40363
|
|
|
40148
40364
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
40149
|
-
exports.ResourceLocationId = exports.DeliveryBlockResourceLocationType = exports.BreakType = void 0;
|
|
40365
|
+
exports.ResourceLocationId = exports.DeliveryBlockResourceLocationType = exports.UtilizationDimension = exports.BreakType = void 0;
|
|
40150
40366
|
var BreakType;
|
|
40151
40367
|
(function (BreakType) {
|
|
40152
40368
|
BreakType[BreakType["Fixed"] = 0] = "Fixed";
|
|
40153
40369
|
BreakType[BreakType["Flex"] = 1] = "Flex";
|
|
40154
40370
|
BreakType[BreakType["Relative"] = 2] = "Relative";
|
|
40155
40371
|
})(BreakType || (exports.BreakType = BreakType = {}));
|
|
40372
|
+
var UtilizationDimension;
|
|
40373
|
+
(function (UtilizationDimension) {
|
|
40374
|
+
UtilizationDimension["Time"] = "time";
|
|
40375
|
+
UtilizationDimension["MaxTasks"] = "max_tasks";
|
|
40376
|
+
UtilizationDimension["Weight"] = "weight";
|
|
40377
|
+
UtilizationDimension["HandlingUnits"] = "handling_units";
|
|
40378
|
+
})(UtilizationDimension || (exports.UtilizationDimension = UtilizationDimension = {}));
|
|
40156
40379
|
var DeliveryBlockResourceLocationType;
|
|
40157
40380
|
(function (DeliveryBlockResourceLocationType) {
|
|
40158
40381
|
DeliveryBlockResourceLocationType[DeliveryBlockResourceLocationType["DRIVER_ADDRESS"] = 1] = "DRIVER_ADDRESS";
|
|
@@ -41829,6 +42052,10 @@ var PrivilegeTypes;
|
|
|
41829
42052
|
PrivilegeTypes["ALLOW_DISPATCHER_EDIT_ADDITIONAL_DRIVER_COST_FIELDS"] = "allow_dispatcher_edit_additional_driver_cost_fields";
|
|
41830
42053
|
PrivilegeTypes["EDIT_RESERVE_CAPACITY"] = "edit_reserve_capacity";
|
|
41831
42054
|
PrivilegeTypes["VEHICLES"] = "vehicles";
|
|
42055
|
+
PrivilegeTypes["CAPACITY_ADVISOR_SETTINGS"] = "capacity_advisor_settings";
|
|
42056
|
+
PrivilegeTypes["CAPACITY_ADVISOR_SETTINGS_EDIT"] = "edit";
|
|
42057
|
+
PrivilegeTypes["CAPACITY_ADVISOR_SETTINGS_VIEW"] = "view";
|
|
42058
|
+
PrivilegeTypes["CAPACITY_ADVISOR_SETTINGS_NONE"] = "none";
|
|
41832
42059
|
})(PrivilegeTypes || (exports.PrivilegeTypes = PrivilegeTypes = {}));
|
|
41833
42060
|
exports.PRIVILEGES_DEFAULTS = (_a = {},
|
|
41834
42061
|
_a[PrivilegeTypes.CANCEL_TASK] = true,
|
|
@@ -43093,7 +43320,6 @@ var TaskTypeId;
|
|
|
43093
43320
|
TaskTypeId[TaskTypeId["PICKUP_AND_DELIVERY"] = 5] = "PICKUP_AND_DELIVERY";
|
|
43094
43321
|
TaskTypeId[TaskTypeId["CLICK_AND_COLLECT"] = 6] = "CLICK_AND_COLLECT";
|
|
43095
43322
|
TaskTypeId[TaskTypeId["SERVICE"] = 7] = "SERVICE";
|
|
43096
|
-
TaskTypeId[TaskTypeId["ROAMING"] = 8] = "ROAMING";
|
|
43097
43323
|
})(TaskTypeId || (exports.TaskTypeId = TaskTypeId = {}));
|
|
43098
43324
|
var TaskSubType;
|
|
43099
43325
|
(function (TaskSubType) {
|