@bringg/dashboard-sdk 9.28.4 → 9.28.5
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/Services/ServiceRequest.js +1 -1
- package/dist/bringg-dashboard-sdk-cjs2.js +288 -7
- package/dist/bringg-dashboard-sdk-cjs2.js.map +1 -1
- package/dist/bringg-dashboard-sdk.js +44 -11
- package/dist/bringg-dashboard-sdk.min.js +1 -1
- package/dist/bringg-dashboard-sdk.min.js.map +1 -1
- package/package.json +2 -2
|
@@ -56,7 +56,7 @@ var lodash_1 = require("lodash");
|
|
|
56
56
|
var BringgException_1 = require("../Core/BringgException");
|
|
57
57
|
var Logger_1 = __importDefault(require("../Core/Logger"));
|
|
58
58
|
var abort_1 = require("../utils/abort");
|
|
59
|
-
var version = '9.28.
|
|
59
|
+
var version = '9.28.5';
|
|
60
60
|
function logErrorResponse(response) {
|
|
61
61
|
var data = response.data, status = response.status;
|
|
62
62
|
try {
|
|
@@ -22742,7 +22742,7 @@ var lodash_1 = __webpack_require__(96486);
|
|
|
22742
22742
|
var BringgException_1 = __webpack_require__(43605);
|
|
22743
22743
|
var Logger_1 = __importDefault(__webpack_require__(55860));
|
|
22744
22744
|
var abort_1 = __webpack_require__(34179);
|
|
22745
|
-
var version = '9.28.
|
|
22745
|
+
var version = '9.28.5';
|
|
22746
22746
|
function logErrorResponse(response) {
|
|
22747
22747
|
var data = response.data, status = response.status;
|
|
22748
22748
|
try {
|
|
@@ -35123,11 +35123,13 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
35123
35123
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
35124
35124
|
};
|
|
35125
35125
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
35126
|
+
exports.RouteOptimizer = exports.MapOptimizer = void 0;
|
|
35126
35127
|
__exportStar(__webpack_require__(82285), exports);
|
|
35127
35128
|
__exportStar(__webpack_require__(2267), exports);
|
|
35128
35129
|
__exportStar(__webpack_require__(13401), exports);
|
|
35129
35130
|
__exportStar(__webpack_require__(63725), exports);
|
|
35130
35131
|
__exportStar(__webpack_require__(26383), exports);
|
|
35132
|
+
__exportStar(__webpack_require__(11168), exports);
|
|
35131
35133
|
__exportStar(__webpack_require__(82849), exports);
|
|
35132
35134
|
__exportStar(__webpack_require__(54581), exports);
|
|
35133
35135
|
__exportStar(__webpack_require__(21434), exports);
|
|
@@ -35177,6 +35179,7 @@ __exportStar(__webpack_require__(55820), exports);
|
|
|
35177
35179
|
__exportStar(__webpack_require__(52658), exports);
|
|
35178
35180
|
__exportStar(__webpack_require__(7798), exports);
|
|
35179
35181
|
__exportStar(__webpack_require__(9922), exports);
|
|
35182
|
+
exports.MapOptimizer = __webpack_require__(72385);
|
|
35180
35183
|
__exportStar(__webpack_require__(46298), exports);
|
|
35181
35184
|
__exportStar(__webpack_require__(95372), exports);
|
|
35182
35185
|
__exportStar(__webpack_require__(81422), exports);
|
|
@@ -35215,6 +35218,7 @@ __exportStar(__webpack_require__(10228), exports);
|
|
|
35215
35218
|
__exportStar(__webpack_require__(53543), exports);
|
|
35216
35219
|
__exportStar(__webpack_require__(2730), exports);
|
|
35217
35220
|
__exportStar(__webpack_require__(56526), exports);
|
|
35221
|
+
exports.RouteOptimizer = __webpack_require__(44336);
|
|
35218
35222
|
__exportStar(__webpack_require__(37390), exports);
|
|
35219
35223
|
__exportStar(__webpack_require__(4443), exports);
|
|
35220
35224
|
__exportStar(__webpack_require__(71836), exports);
|
|
@@ -35319,6 +35323,7 @@ var ActionType;
|
|
|
35319
35323
|
ActionType[ActionType["DUPLICATE_TASK"] = 26] = "DUPLICATE_TASK";
|
|
35320
35324
|
ActionType[ActionType["USER_WEBHOOK"] = 27] = "USER_WEBHOOK";
|
|
35321
35325
|
ActionType[ActionType["DELIVERY_WINDOW_WEBHOOK"] = 28] = "DELIVERY_WINDOW_WEBHOOK";
|
|
35326
|
+
ActionType[ActionType["RESTORE_PREVIOUSLY_REMOVED_WAYPOINT"] = 29] = "RESTORE_PREVIOUSLY_REMOVED_WAYPOINT";
|
|
35322
35327
|
})(ActionType || (exports.ActionType = ActionType = {}));
|
|
35323
35328
|
var ActionKey;
|
|
35324
35329
|
(function (ActionKey) {
|
|
@@ -35433,6 +35438,16 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
35433
35438
|
|
|
35434
35439
|
/***/ }),
|
|
35435
35440
|
|
|
35441
|
+
/***/ 11168:
|
|
35442
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
35443
|
+
|
|
35444
|
+
"use strict";
|
|
35445
|
+
|
|
35446
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
35447
|
+
//# sourceMappingURL=ai_insights.js.map
|
|
35448
|
+
|
|
35449
|
+
/***/ }),
|
|
35450
|
+
|
|
35436
35451
|
/***/ 82849:
|
|
35437
35452
|
/***/ ((__unused_webpack_module, exports) => {
|
|
35438
35453
|
|
|
@@ -35574,6 +35589,21 @@ var SharedEntityAccessLevel;
|
|
|
35574
35589
|
"use strict";
|
|
35575
35590
|
|
|
35576
35591
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
35592
|
+
exports.PredefinedDateRange = void 0;
|
|
35593
|
+
var PredefinedDateRange;
|
|
35594
|
+
(function (PredefinedDateRange) {
|
|
35595
|
+
PredefinedDateRange["today"] = "today";
|
|
35596
|
+
PredefinedDateRange["yesterday"] = "yesterday";
|
|
35597
|
+
PredefinedDateRange["tomorrow"] = "tomorrow";
|
|
35598
|
+
PredefinedDateRange["this week"] = "this week";
|
|
35599
|
+
PredefinedDateRange["this month"] = "this month";
|
|
35600
|
+
PredefinedDateRange["from 6 days ago to now"] = "from 6 days ago to now";
|
|
35601
|
+
PredefinedDateRange["from 29 days ago to now"] = "from 29 days ago to now";
|
|
35602
|
+
PredefinedDateRange["last month"] = "last month";
|
|
35603
|
+
PredefinedDateRange["next 7 days"] = "next 7 days";
|
|
35604
|
+
PredefinedDateRange["next 30 days"] = "next 30 days";
|
|
35605
|
+
PredefinedDateRange["next month"] = "next month";
|
|
35606
|
+
})(PredefinedDateRange || (exports.PredefinedDateRange = PredefinedDateRange = {}));
|
|
35577
35607
|
//# sourceMappingURL=cubejs.js.map
|
|
35578
35608
|
|
|
35579
35609
|
/***/ }),
|
|
@@ -35902,6 +35932,8 @@ var WidgetType;
|
|
|
35902
35932
|
WidgetType[WidgetType["ReversedBarChart"] = 5] = "ReversedBarChart";
|
|
35903
35933
|
WidgetType[WidgetType["ReversedFullWidthBarChart"] = 6] = "ReversedFullWidthBarChart";
|
|
35904
35934
|
WidgetType[WidgetType["BasicLineChart"] = 7] = "BasicLineChart";
|
|
35935
|
+
WidgetType[WidgetType["MultiHorizontalReversedBarChart"] = 8] = "MultiHorizontalReversedBarChart";
|
|
35936
|
+
WidgetType[WidgetType["DoubleYAxisChart"] = 9] = "DoubleYAxisChart";
|
|
35905
35937
|
})(WidgetType || (exports.WidgetType = WidgetType = {}));
|
|
35906
35938
|
//# sourceMappingURL=widgets.js.map
|
|
35907
35939
|
|
|
@@ -36070,6 +36102,7 @@ var RecurrencePeriod;
|
|
|
36070
36102
|
RecurrencePeriod["Monthly"] = "Monthly";
|
|
36071
36103
|
RecurrencePeriod["Weekly"] = "Weekly";
|
|
36072
36104
|
RecurrencePeriod["Daily"] = "Daily";
|
|
36105
|
+
RecurrencePeriod["Hourly"] = "Hourly";
|
|
36073
36106
|
})(RecurrencePeriod || (exports.RecurrencePeriod = RecurrencePeriod = {}));
|
|
36074
36107
|
var ReportDeliveryType;
|
|
36075
36108
|
(function (ReportDeliveryType) {
|
|
@@ -36134,7 +36167,6 @@ var ApplicationUuid;
|
|
|
36134
36167
|
ApplicationUuid["BackToWarehouse"] = "d21a5684-8997-11e8-9a94-a6cf71072f73";
|
|
36135
36168
|
ApplicationUuid["Boulanger"] = "34dc733d-7d17-4e44-8884-bb1ec1197da6";
|
|
36136
36169
|
ApplicationUuid["Clover"] = "7661994f-da60-4f5d-bda9-4c132fb19484";
|
|
36137
|
-
ApplicationUuid["CocaCola"] = "eaf03283-dce4-4567-b6bf-f3eb3573357e";
|
|
36138
36170
|
ApplicationUuid["CancellationTasks"] = "94c67d35-e289-44de-a19d-8ee0b02b00e0";
|
|
36139
36171
|
ApplicationUuid["Chat"] = "6ee9296a-38bd-4d8e-81c6-b16001a20ee3";
|
|
36140
36172
|
ApplicationUuid["CocaColaBrazilApp"] = "f9bd58a4-a514-11ea-bb37-0242ac130002";
|
|
@@ -36180,7 +36212,6 @@ var ApplicationUuid;
|
|
|
36180
36212
|
ApplicationUuid["SuperAdmin"] = "2b8d33ba-41dc-4db5-bf42-791cd340154e";
|
|
36181
36213
|
ApplicationUuid["ShareLocationOnUpdate"] = "b9c4b248-c517-11e9-aa8c-2a2ae2dbcce4";
|
|
36182
36214
|
ApplicationUuid["Shell"] = "7167224f-1689-44eb-a615-ca2935e71b83";
|
|
36183
|
-
ApplicationUuid["Shopify"] = "2c376813-6647-498f-b53f-a53352ba02d7";
|
|
36184
36215
|
ApplicationUuid["SingleSignOn"] = "ec763a46-8ad7-48d8-aab7-dcefcb794ff9";
|
|
36185
36216
|
ApplicationUuid["SmsDriverNotifier"] = "cbd475f3-a88b-45cb-aaf5-4d9bbe2c2f0b";
|
|
36186
36217
|
ApplicationUuid["StoreAppApp"] = "b4152c59-70a3-415e-b414-ce419550782e";
|
|
@@ -37093,7 +37124,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
37093
37124
|
"use strict";
|
|
37094
37125
|
|
|
37095
37126
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
37096
|
-
exports.RouteOrderByField = exports.RunStatusFilterOptions = exports.PlannedTasksFilterOptions = exports.UnassignedFilterOptions = exports.ReadyForPickupFilterOptions = exports.GroupMode = void 0;
|
|
37127
|
+
exports.RouteOrderByField = exports.SORT_VALUE = exports.RunStatusFilterOptions = exports.PlannedTasksFilterOptions = exports.UnassignedFilterOptions = exports.ReadyForPickupFilterOptions = exports.GroupMode = void 0;
|
|
37097
37128
|
var GroupMode;
|
|
37098
37129
|
(function (GroupMode) {
|
|
37099
37130
|
GroupMode["Driver"] = "Driver";
|
|
@@ -37125,6 +37156,7 @@ var RunStatusFilterOptions;
|
|
|
37125
37156
|
RunStatusFilterOptions[RunStatusFilterOptions["OPEN"] = 1] = "OPEN";
|
|
37126
37157
|
RunStatusFilterOptions[RunStatusFilterOptions["CLOSE"] = 2] = "CLOSE";
|
|
37127
37158
|
})(RunStatusFilterOptions || (exports.RunStatusFilterOptions = RunStatusFilterOptions = {}));
|
|
37159
|
+
exports.SORT_VALUE = 'sort_value';
|
|
37128
37160
|
var RouteOrderByField;
|
|
37129
37161
|
(function (RouteOrderByField) {
|
|
37130
37162
|
RouteOrderByField["Name"] = "Name";
|
|
@@ -37728,6 +37760,36 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
37728
37760
|
|
|
37729
37761
|
/***/ }),
|
|
37730
37762
|
|
|
37763
|
+
/***/ 72385:
|
|
37764
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
37765
|
+
|
|
37766
|
+
"use strict";
|
|
37767
|
+
|
|
37768
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
37769
|
+
exports.SpeedFactorCrudAction = exports.MapOptimizerAction = void 0;
|
|
37770
|
+
var MapOptimizerAction;
|
|
37771
|
+
(function (MapOptimizerAction) {
|
|
37772
|
+
MapOptimizerAction["AddDirections"] = "add_directions";
|
|
37773
|
+
MapOptimizerAction["CalculateDistanceMatrix"] = "calculate_distance_matrix";
|
|
37774
|
+
MapOptimizerAction["CalculateDistanceMatrixWithMultipleTimeWindows"] = "calculate_distance_matrix_with_multiple_tw";
|
|
37775
|
+
MapOptimizerAction["CalculateRoutes"] = "calculate_routes";
|
|
37776
|
+
MapOptimizerAction["CalculateRoutesMatrix"] = "calculate_routes_matrix";
|
|
37777
|
+
MapOptimizerAction["CalculateIsochrone"] = "calculate_isochrone";
|
|
37778
|
+
MapOptimizerAction["ServiceAreaSpeedFactorsCRUD"] = "service_area_speed_factors_CRUD";
|
|
37779
|
+
})(MapOptimizerAction || (exports.MapOptimizerAction = MapOptimizerAction = {}));
|
|
37780
|
+
var SpeedFactorCrudAction;
|
|
37781
|
+
(function (SpeedFactorCrudAction) {
|
|
37782
|
+
SpeedFactorCrudAction["Create"] = "create";
|
|
37783
|
+
SpeedFactorCrudAction["Read"] = "read";
|
|
37784
|
+
SpeedFactorCrudAction["Update"] = "update";
|
|
37785
|
+
SpeedFactorCrudAction["UpdateSeries"] = "update_series";
|
|
37786
|
+
SpeedFactorCrudAction["Delete"] = "delete";
|
|
37787
|
+
SpeedFactorCrudAction["DeleteSeries"] = "delete_series";
|
|
37788
|
+
})(SpeedFactorCrudAction || (exports.SpeedFactorCrudAction = SpeedFactorCrudAction = {}));
|
|
37789
|
+
//# sourceMappingURL=map_optimizer_types.js.map
|
|
37790
|
+
|
|
37791
|
+
/***/ }),
|
|
37792
|
+
|
|
37731
37793
|
/***/ 46298:
|
|
37732
37794
|
/***/ ((__unused_webpack_module, exports) => {
|
|
37733
37795
|
|
|
@@ -38349,6 +38411,7 @@ var PrivilegeTypes;
|
|
|
38349
38411
|
PrivilegeTypes["EDIT_COMPANY"] = "edit_company";
|
|
38350
38412
|
PrivilegeTypes["ENABLE_BI_DASHBOARD"] = "enable_bi_dashboard";
|
|
38351
38413
|
PrivilegeTypes["EDIT_EXCLUSION_WINDOWS"] = "edit_exclusion_windows";
|
|
38414
|
+
PrivilegeTypes["VIEW_EXCLUSION_WINDOWS"] = "view_exclusion_windows";
|
|
38352
38415
|
PrivilegeTypes["EDIT_TASK_DETAILS"] = "edit_task_details";
|
|
38353
38416
|
PrivilegeTypes["TASKS_CSV_IMPORTER_EDIT_HEADERS"] = "tasks_csv_importer_edit_headers";
|
|
38354
38417
|
PrivilegeTypes["EDIT_SERVICE_AREAS"] = "edit_service_areas";
|
|
@@ -38387,6 +38450,8 @@ var PrivilegeTypes;
|
|
|
38387
38450
|
PrivilegeTypes["ALLOW_USING_ROUTE_PLANNER_IN_DISPATCH"] = "allow_using_route_planner_in_dispatch";
|
|
38388
38451
|
PrivilegeTypes["ALLOW_USING_ROUTE_PLANNER_IN_PLANNING"] = "allow_using_route_planner_in_planning";
|
|
38389
38452
|
PrivilegeTypes["IS_ANALYTICS_CAPACITY_UTILIZATION_REPORT_ENABLED"] = "is_analytics_capacity_utilization_report_enabled";
|
|
38453
|
+
PrivilegeTypes["VIEW_PLANNED_DELIVERY_WINDOWS"] = "view_planned_delivery_windows";
|
|
38454
|
+
PrivilegeTypes["EDIT_PLANNED_DELIVERY_WINDOWS"] = "edit_planned_delivery_windows";
|
|
38390
38455
|
})(PrivilegeTypes || (exports.PrivilegeTypes = PrivilegeTypes = {}));
|
|
38391
38456
|
exports.PRIVILEGES_DEFAULTS = (_a = {},
|
|
38392
38457
|
_a[PrivilegeTypes.CANCEL_TASK] = true,
|
|
@@ -38402,6 +38467,8 @@ exports.PRIVILEGES_DEFAULTS = (_a = {},
|
|
|
38402
38467
|
_a[PrivilegeTypes.FLOATING_INVENTORY_TRANSFER_OWNERSHIP_TO_TEAM] = true,
|
|
38403
38468
|
_a[PrivilegeTypes.ALLOW_USING_ROUTE_PLANNER_IN_DISPATCH] = true,
|
|
38404
38469
|
_a[PrivilegeTypes.ALLOW_USING_ROUTE_PLANNER_IN_PLANNING] = true,
|
|
38470
|
+
_a[PrivilegeTypes.VIEW_PLANNED_DELIVERY_WINDOWS] = true,
|
|
38471
|
+
_a[PrivilegeTypes.VIEW_EXCLUSION_WINDOWS] = true,
|
|
38405
38472
|
_a);
|
|
38406
38473
|
//# sourceMappingURL=privilege.js.map
|
|
38407
38474
|
|
|
@@ -38527,6 +38594,7 @@ var RealtimeEvent;
|
|
|
38527
38594
|
RealtimeEvent["EtaRecalculateDone"] = "eta_recalculate:done";
|
|
38528
38595
|
RealtimeEvent["FloatingInventoryAdded"] = "floating_inventory:added";
|
|
38529
38596
|
RealtimeEvent["FloatingInventoryRemoved"] = "floating_inventory:removed";
|
|
38597
|
+
RealtimeEvent["InsightStream"] = "insight_stream";
|
|
38530
38598
|
RealtimeEvent["MerchantConfigurationUpdated"] = "merchant:configuration_updated";
|
|
38531
38599
|
RealtimeEvent["UserConfigurationUpdated"] = "user:configuration_updated";
|
|
38532
38600
|
RealtimeEvent["MerchantUpdated"] = "merchant:updated";
|
|
@@ -38761,6 +38829,214 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
38761
38829
|
|
|
38762
38830
|
/***/ }),
|
|
38763
38831
|
|
|
38832
|
+
/***/ 44336:
|
|
38833
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
38834
|
+
|
|
38835
|
+
"use strict";
|
|
38836
|
+
|
|
38837
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
38838
|
+
exports.OptimizationPriorities = exports.ERROR_CODE = exports.TASK_FIFO = exports.ValidLimitations = exports.WayPointType = exports.ActivityType = exports.SquashType = exports.FleetSize = exports.DMEngine = exports.OptimizationSolver = exports.UnassignedAfterOptimization = exports.UnassignedBeforeOptimization = exports.UnassignedJobReasonForServer = exports.UnassignedJobReason = exports.Actions = exports.DEFAULT_OPTIMIZATION_PARAMETERS = void 0;
|
|
38839
|
+
exports.DEFAULT_OPTIMIZATION_PARAMETERS = {
|
|
38840
|
+
TASK_PRIORITY: 2,
|
|
38841
|
+
TASK_DURATION_IN_MINUTES: 1,
|
|
38842
|
+
TASK_CAPACITY: 1,
|
|
38843
|
+
USER_TYPE_CAPACITY: 1,
|
|
38844
|
+
USER_TYPE_COST: 1,
|
|
38845
|
+
USER_TYPE_ID: 0,
|
|
38846
|
+
MIN_OPTIMIZATION_PRIORITY: 10
|
|
38847
|
+
};
|
|
38848
|
+
var Actions;
|
|
38849
|
+
(function (Actions) {
|
|
38850
|
+
Actions["ScheduledRouteOptimization"] = "scheduled_route_optimization";
|
|
38851
|
+
Actions["BatchScheduledRouteOptimization"] = "batch_scheduled_route_optimization";
|
|
38852
|
+
Actions["RouteOptimizationRequest"] = "route_optimization_request";
|
|
38853
|
+
Actions["RouteOptimizationRpcRequest"] = "route_optimization_request_rpc";
|
|
38854
|
+
Actions["RouteOptimizationCacheRefresh"] = "route_optimization_cache_refresh";
|
|
38855
|
+
Actions["RouteOptimizationDone"] = "route_optimization_done";
|
|
38856
|
+
Actions["CalculateDistanceMatrix"] = "calculate_distance_matrix";
|
|
38857
|
+
Actions["CalculateRoutesResponse"] = "help_build_distance_matrix_response";
|
|
38858
|
+
Actions["CalculateETA"] = "calculate_eta";
|
|
38859
|
+
Actions["AcceptQuote"] = "accept_quote";
|
|
38860
|
+
Actions["SplitToClusters"] = "split_to_clusters";
|
|
38861
|
+
})(Actions || (exports.Actions = Actions = {}));
|
|
38862
|
+
var UnassignedJobReason;
|
|
38863
|
+
(function (UnassignedJobReason) {
|
|
38864
|
+
UnassignedJobReason["reason_not_found"] = "reason not found";
|
|
38865
|
+
UnassignedJobReason["out_of_max_distance"] = "cannot be assigned due to max distance constraint of vehicle";
|
|
38866
|
+
UnassignedJobReason["no_driver_in_tasks_time_window"] = "no driver in appropriate time window";
|
|
38867
|
+
UnassignedJobReason["exceed_all_drivers_allowed_maximal_load"] = "Exceed all drivers maximal load";
|
|
38868
|
+
UnassignedJobReason["exceed_all_drivers_containers"] = "Exceed all drivers containers";
|
|
38869
|
+
UnassignedJobReason["no_driver_with_required_skills"] = "no_driver_with_required_skills";
|
|
38870
|
+
UnassignedJobReason["excluded_from_all_drivers"] = "no driver that can serve the job";
|
|
38871
|
+
UnassignedJobReason["driver_that_task_assign_to_not_found_in_optimization"] = "driver that task assigned to not found in optimization";
|
|
38872
|
+
UnassignedJobReason["active_task_not_assigned_to_driver"] = "active task not assigned to driver";
|
|
38873
|
+
UnassignedJobReason["illegal_coordinate"] = "illegal coordinate";
|
|
38874
|
+
UnassignedJobReason["task_assigned_to_driver_that_rejected_the_task"] = "task assigned to driver that rejected the task";
|
|
38875
|
+
UnassignedJobReason["invalid_capacity_dimensions_for_task"] = "invalid capacity dimensions for task";
|
|
38876
|
+
UnassignedJobReason["negative_capacity_requirements"] = "The capacity value must not be negative.";
|
|
38877
|
+
UnassignedJobReason["negative_max_time_in_vehicle"] = "The maximum time in vehicle must be positive.";
|
|
38878
|
+
UnassignedJobReason["negative_service_time"] = "The service time of must be positive";
|
|
38879
|
+
UnassignedJobReason["negative_loading_time"] = "The loading time of must be positive";
|
|
38880
|
+
UnassignedJobReason["max_time_in_vehicle_not_supported_for_job_type"] = "The maximum time in vehicle is not yet supported for Pickups and Services.";
|
|
38881
|
+
UnassignedJobReason["invalid_priority"] = "The priority value is not valid. Only 1 (very high) to 10 (very low) are allowed.";
|
|
38882
|
+
UnassignedJobReason["load_constrains"] = "does not fit into any vehicle due to capacity";
|
|
38883
|
+
UnassignedJobReason["time_constraints"] = "cannot be visited within time window";
|
|
38884
|
+
UnassignedJobReason["time_or_customer_availability_constraints"] = "Order cannot be fulfilled at this time due to time window or your availability limitations";
|
|
38885
|
+
UnassignedJobReason["skills_constraint"] = "cannot serve required skill";
|
|
38886
|
+
UnassignedJobReason["max_time_in_vehicle_constraint"] = "cannot be assigned due to max time on vehicle constraint of vehicle";
|
|
38887
|
+
UnassignedJobReason["failed_to_pack"] = "failed to pack";
|
|
38888
|
+
UnassignedJobReason["route_constraint"] = "failed due to route constraint";
|
|
38889
|
+
UnassignedJobReason["driving_times_limitations"] = "failed due driving time limitations";
|
|
38890
|
+
UnassignedJobReason["failed_to_find_driver_for_cluster"] = "failed to find driver for cluster";
|
|
38891
|
+
UnassignedJobReason["tasks_unmatched_conditions"] = "Order removed from optimization due to unmatched conditions";
|
|
38892
|
+
})(UnassignedJobReason || (exports.UnassignedJobReason = UnassignedJobReason = {}));
|
|
38893
|
+
exports.UnassignedJobReasonForServer = {
|
|
38894
|
+
'reason not found': 'reason_not_found',
|
|
38895
|
+
'cannot be assigned due to max distance constraint of vehicle': 'OUT_OF_MAX_DISTANCE',
|
|
38896
|
+
'no driver in appropriate time window': 'NO_DRIVER_IN_TASKS_TIME_WINDOW',
|
|
38897
|
+
'Exceed all drivers maximal load': 'EXCEED_ALL_DRIVERS_ALLOWED_MAXIMAL_LOAD',
|
|
38898
|
+
'Exceed all drivers containers': 'EXCEED_ALL_DRIVERS_CONTAINERS',
|
|
38899
|
+
no_driver_with_required_skills: 'NO_DRIVER_WITH_REQUIRED_SKILLS',
|
|
38900
|
+
'no driver that can serve the job': 'EXCLUDED_FROM_ALL_DRIVERS',
|
|
38901
|
+
'driver that task assigned to not found in optimization': 'DRIVER_THAT_TASK_ASSIGN_TO_NOT_FOUND_IN_OPTIMIZATION',
|
|
38902
|
+
'active task not assigned to driver': 'ACTIVE_TASK_NOT_ASSIGNED_TO_DRIVER',
|
|
38903
|
+
'illegal coordinate': 'ILLEGAL_COORDINATE',
|
|
38904
|
+
'task assigned to driver that rejected the task': 'TASK_ASSIGNED_TO_DRIVER_THAT_REJECTED_THE_TASK',
|
|
38905
|
+
'invalid capacity dimensions for task': 'INVALID_CAPACITY_DIMENSIONS_FOR_TASK',
|
|
38906
|
+
'The capacity value must not be negative.': 'NEGATIVE_CAPACITY_REQUIREMENTS',
|
|
38907
|
+
'The maximum time in vehicle must be positive.': 'NEGATIVE_MAX_TIME_IN_VEHICLE',
|
|
38908
|
+
'The service time of must be positive': 'NEGATIVE_SERVICE_TIME',
|
|
38909
|
+
'The loading time of must be positive': 'NEGATIVE_LOADING_TIME',
|
|
38910
|
+
'The maximum time in vehicle is not yet supported for Pickups and Services.': 'MAX_TIME_IN_VEHICLE_NOT_SUPPORTED_FOR_JOB_TYPE',
|
|
38911
|
+
'The priority value is not valid. Only 1 (very high) to 10 (very low) are allowed.': 'INVALID_PRIORITY',
|
|
38912
|
+
'does not fit into any vehicle due to capacity': 'LOAD_CONSTRAINS',
|
|
38913
|
+
'cannot be visited within time window': 'TIME_CONSTRAINTS',
|
|
38914
|
+
'Order cannot be fulfilled at this time due to time window or your availability limitations': 'TIME_OR_CUSTOMER_AVAILABILITY_CONSTRAINTS',
|
|
38915
|
+
'cannot serve required skill': 'SKILLS_CONSTRAINT',
|
|
38916
|
+
'cannot be assigned due to max time on vehicle constraint of vehicle': 'MAX_TIME_IN_VEHICLE_CONSTRAINT',
|
|
38917
|
+
'failed to pack': 'FAILED_TO_PACK',
|
|
38918
|
+
'failed due to route constraint': 'ROUTE_CONSTRAINT',
|
|
38919
|
+
'failed due driving time limitations': 'DRIVING_TIMES_LIMITATIONS',
|
|
38920
|
+
'failed to find driver for cluster': 'FAILED_TO_FIND_DRIVER_FOR_CLUSTER',
|
|
38921
|
+
'failed due to routing area': 'FAILED_TO_INSERT_DUE_TO_ROUTING_AREA'
|
|
38922
|
+
};
|
|
38923
|
+
exports.UnassignedBeforeOptimization = [
|
|
38924
|
+
UnassignedJobReason.out_of_max_distance,
|
|
38925
|
+
UnassignedJobReason.no_driver_in_tasks_time_window,
|
|
38926
|
+
UnassignedJobReason.no_driver_with_required_skills,
|
|
38927
|
+
UnassignedJobReason.exceed_all_drivers_allowed_maximal_load,
|
|
38928
|
+
UnassignedJobReason.exceed_all_drivers_containers,
|
|
38929
|
+
UnassignedJobReason.excluded_from_all_drivers,
|
|
38930
|
+
UnassignedJobReason.driver_that_task_assign_to_not_found_in_optimization,
|
|
38931
|
+
UnassignedJobReason.active_task_not_assigned_to_driver,
|
|
38932
|
+
UnassignedJobReason.illegal_coordinate,
|
|
38933
|
+
UnassignedJobReason.task_assigned_to_driver_that_rejected_the_task,
|
|
38934
|
+
UnassignedJobReason.invalid_capacity_dimensions_for_task,
|
|
38935
|
+
UnassignedJobReason.negative_capacity_requirements,
|
|
38936
|
+
UnassignedJobReason.negative_max_time_in_vehicle,
|
|
38937
|
+
UnassignedJobReason.negative_service_time,
|
|
38938
|
+
UnassignedJobReason.negative_loading_time,
|
|
38939
|
+
UnassignedJobReason.max_time_in_vehicle_not_supported_for_job_type,
|
|
38940
|
+
UnassignedJobReason.invalid_priority,
|
|
38941
|
+
UnassignedJobReason.tasks_unmatched_conditions
|
|
38942
|
+
];
|
|
38943
|
+
exports.UnassignedAfterOptimization = [
|
|
38944
|
+
UnassignedJobReason.load_constrains,
|
|
38945
|
+
UnassignedJobReason.time_constraints,
|
|
38946
|
+
UnassignedJobReason.time_or_customer_availability_constraints,
|
|
38947
|
+
UnassignedJobReason.skills_constraint,
|
|
38948
|
+
UnassignedJobReason.failed_to_find_driver_for_cluster,
|
|
38949
|
+
UnassignedJobReason.failed_to_pack,
|
|
38950
|
+
UnassignedJobReason.route_constraint,
|
|
38951
|
+
UnassignedJobReason.max_time_in_vehicle_constraint,
|
|
38952
|
+
UnassignedJobReason.driving_times_limitations
|
|
38953
|
+
];
|
|
38954
|
+
var OptimizationSolver;
|
|
38955
|
+
(function (OptimizationSolver) {
|
|
38956
|
+
OptimizationSolver["G2S"] = "g2s";
|
|
38957
|
+
OptimizationSolver["Vroom"] = "vroom";
|
|
38958
|
+
OptimizationSolver["Jsprit"] = "jsprit";
|
|
38959
|
+
OptimizationSolver["GoogleCloudFleetRouting"] = "google_cfr";
|
|
38960
|
+
})(OptimizationSolver || (exports.OptimizationSolver = OptimizationSolver = {}));
|
|
38961
|
+
var DMEngine;
|
|
38962
|
+
(function (DMEngine) {
|
|
38963
|
+
DMEngine["OSRM"] = "osrm";
|
|
38964
|
+
DMEngine["GRAPHHOPPER"] = "graphhopper";
|
|
38965
|
+
DMEngine["NEXTBILLION"] = "nextbillion";
|
|
38966
|
+
DMEngine["HERE"] = "here";
|
|
38967
|
+
DMEngine["VALHALLA"] = "valhalla";
|
|
38968
|
+
DMEngine["ORS"] = "ors";
|
|
38969
|
+
DMEngine["UNKNOWN"] = "unknown";
|
|
38970
|
+
})(DMEngine || (exports.DMEngine = DMEngine = {}));
|
|
38971
|
+
var FleetSize;
|
|
38972
|
+
(function (FleetSize) {
|
|
38973
|
+
FleetSize["Finite"] = "FINITE";
|
|
38974
|
+
FleetSize["Infinite"] = "INFINITE_WITH_BREAKS";
|
|
38975
|
+
})(FleetSize || (exports.FleetSize = FleetSize = {}));
|
|
38976
|
+
var SquashType;
|
|
38977
|
+
(function (SquashType) {
|
|
38978
|
+
SquashType["Pickup"] = "pu";
|
|
38979
|
+
SquashType["Dropoff"] = "do";
|
|
38980
|
+
})(SquashType || (exports.SquashType = SquashType = {}));
|
|
38981
|
+
var ActivityType;
|
|
38982
|
+
(function (ActivityType) {
|
|
38983
|
+
ActivityType["foot"] = "foot";
|
|
38984
|
+
ActivityType["vehicle"] = "vehicle";
|
|
38985
|
+
})(ActivityType || (exports.ActivityType = ActivityType = {}));
|
|
38986
|
+
var WayPointType;
|
|
38987
|
+
(function (WayPointType) {
|
|
38988
|
+
WayPointType[WayPointType["pickup"] = 0] = "pickup";
|
|
38989
|
+
WayPointType[WayPointType["delivery"] = 1] = "delivery";
|
|
38990
|
+
})(WayPointType || (exports.WayPointType = WayPointType = {}));
|
|
38991
|
+
exports.ValidLimitations = ['mustBeOnTop', 'mustBeOnBottom', 'disable2DRotation'];
|
|
38992
|
+
var TASK_FIFO;
|
|
38993
|
+
(function (TASK_FIFO) {
|
|
38994
|
+
TASK_FIFO[TASK_FIFO["none"] = 0] = "none";
|
|
38995
|
+
TASK_FIFO[TASK_FIFO["by_pickup"] = 1] = "by_pickup";
|
|
38996
|
+
TASK_FIFO[TASK_FIFO["by_dropoff"] = 2] = "by_dropoff";
|
|
38997
|
+
})(TASK_FIFO || (exports.TASK_FIFO = TASK_FIFO = {}));
|
|
38998
|
+
var ERROR_CODE;
|
|
38999
|
+
(function (ERROR_CODE) {
|
|
39000
|
+
ERROR_CODE[ERROR_CODE["NO_DRIVER_TYPE_PASSED"] = 1] = "NO_DRIVER_TYPE_PASSED";
|
|
39001
|
+
ERROR_CODE[ERROR_CODE["NO_ROUTE_START_IN_DRIVER_SHIFT"] = 2] = "NO_ROUTE_START_IN_DRIVER_SHIFT";
|
|
39002
|
+
ERROR_CODE[ERROR_CODE["NO_DRIVER_PASSED"] = 3] = "NO_DRIVER_PASSED";
|
|
39003
|
+
ERROR_CODE[ERROR_CODE["NO_DRIVER_TYPES_PASSED"] = 4] = "NO_DRIVER_TYPES_PASSED";
|
|
39004
|
+
ERROR_CODE[ERROR_CODE["NO_TASKS_PASSED"] = 5] = "NO_TASKS_PASSED";
|
|
39005
|
+
ERROR_CODE[ERROR_CODE["NO_ROUTES_FOR_CALCULATE_ETA"] = 6] = "NO_ROUTES_FOR_CALCULATE_ETA";
|
|
39006
|
+
ERROR_CODE[ERROR_CODE["NO_DROP_OFF_FOR_PICK_UP_TASK"] = 7] = "NO_DROP_OFF_FOR_PICK_UP_TASK";
|
|
39007
|
+
ERROR_CODE[ERROR_CODE["NO_PICK_UP_AND_DROP_OFF_FOR_TASK"] = 8] = "NO_PICK_UP_AND_DROP_OFF_FOR_TASK";
|
|
39008
|
+
ERROR_CODE[ERROR_CODE["INVALID_ROUTE_START_LOCATION"] = 9] = "INVALID_ROUTE_START_LOCATION";
|
|
39009
|
+
ERROR_CODE[ERROR_CODE["INVALID_TIME_WINDOW_ON_BREAK"] = 10] = "INVALID_TIME_WINDOW_ON_BREAK";
|
|
39010
|
+
ERROR_CODE[ERROR_CODE["INVALID_BREAK_DURATION_LESS_THEN_ZERO"] = 11] = "INVALID_BREAK_DURATION_LESS_THEN_ZERO";
|
|
39011
|
+
ERROR_CODE[ERROR_CODE["INVALID_DRIVERS_LOCATION"] = 12] = "INVALID_DRIVERS_LOCATION";
|
|
39012
|
+
ERROR_CODE[ERROR_CODE["INVALID_TASK_PRIORITY"] = 13] = "INVALID_TASK_PRIORITY";
|
|
39013
|
+
ERROR_CODE[ERROR_CODE["INVALID_TIME_WINDOW_ON_WAY_POINT"] = 14] = "INVALID_TIME_WINDOW_ON_WAY_POINT";
|
|
39014
|
+
ERROR_CODE[ERROR_CODE["INVALID_COORDINATE"] = 15] = "INVALID_COORDINATE";
|
|
39015
|
+
ERROR_CODE[ERROR_CODE["INVALID_RUN_ID"] = 16] = "INVALID_RUN_ID";
|
|
39016
|
+
ERROR_CODE[ERROR_CODE["ABNORMAL_REQUEST"] = 17] = "ABNORMAL_REQUEST";
|
|
39017
|
+
ERROR_CODE[ERROR_CODE["INVALID_VEHICLE_DIMENSIONS"] = 18] = "INVALID_VEHICLE_DIMENSIONS";
|
|
39018
|
+
ERROR_CODE[ERROR_CODE["INVALID_TASK_DIMENSIONS"] = 19] = "INVALID_TASK_DIMENSIONS";
|
|
39019
|
+
ERROR_CODE[ERROR_CODE["INVALID_DRIVER_TIME_WINDOW"] = 20] = "INVALID_DRIVER_TIME_WINDOW";
|
|
39020
|
+
ERROR_CODE[ERROR_CODE["INVALID_DRIVERS_QUANTITY"] = 21] = "INVALID_DRIVERS_QUANTITY";
|
|
39021
|
+
ERROR_CODE[ERROR_CODE["INVALID_ETOS"] = 22] = "INVALID_ETOS";
|
|
39022
|
+
ERROR_CODE[ERROR_CODE["TIMEOUT"] = 23] = "TIMEOUT";
|
|
39023
|
+
ERROR_CODE[ERROR_CODE["NOT_ENOUGH_TIME_TO_RUN_OPTIMIZATION"] = 24] = "NOT_ENOUGH_TIME_TO_RUN_OPTIMIZATION";
|
|
39024
|
+
ERROR_CODE[ERROR_CODE["OPTIMIZATION_SOLVER_INTERNAL_ERROR"] = 25] = "OPTIMIZATION_SOLVER_INTERNAL_ERROR";
|
|
39025
|
+
ERROR_CODE[ERROR_CODE["REQUEST_EXCEED_QUOTA"] = 26] = "REQUEST_EXCEED_QUOTA";
|
|
39026
|
+
ERROR_CODE[ERROR_CODE["TOO_MANY_FAILED_OPTIMIZATIONS_FOR_TIME_WINDOW"] = 27] = "TOO_MANY_FAILED_OPTIMIZATIONS_FOR_TIME_WINDOW";
|
|
39027
|
+
})(ERROR_CODE || (exports.ERROR_CODE = ERROR_CODE = {}));
|
|
39028
|
+
var OptimizationPriorities;
|
|
39029
|
+
(function (OptimizationPriorities) {
|
|
39030
|
+
OptimizationPriorities["CLUSTERED"] = "CLUSTERED";
|
|
39031
|
+
OptimizationPriorities["MIN_DRIVERS"] = "MIN_DRIVERS";
|
|
39032
|
+
OptimizationPriorities["MIN_UNASSIGNED"] = "MIN_UNASSIGNED";
|
|
39033
|
+
OptimizationPriorities["FAIRNESS"] = "FAIRNESS";
|
|
39034
|
+
OptimizationPriorities["MIN_TIME"] = "MIN_TIME";
|
|
39035
|
+
})(OptimizationPriorities || (exports.OptimizationPriorities = OptimizationPriorities = {}));
|
|
39036
|
+
//# sourceMappingURL=route_optimizer_types.js.map
|
|
39037
|
+
|
|
39038
|
+
/***/ }),
|
|
39039
|
+
|
|
38764
39040
|
/***/ 4443:
|
|
38765
39041
|
/***/ ((__unused_webpack_module, exports) => {
|
|
38766
39042
|
|
|
@@ -39842,13 +40118,18 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
39842
40118
|
"use strict";
|
|
39843
40119
|
|
|
39844
40120
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
39845
|
-
exports.Plan = void 0;
|
|
40121
|
+
exports.RateLimiterTiers = exports.Plan = void 0;
|
|
39846
40122
|
var Plan;
|
|
39847
40123
|
(function (Plan) {
|
|
39848
40124
|
Plan[Plan["Simple"] = 0] = "Simple";
|
|
39849
40125
|
Plan[Plan["Advanced"] = 1] = "Advanced";
|
|
39850
40126
|
Plan[Plan["Full"] = 2] = "Full";
|
|
39851
40127
|
})(Plan || (exports.Plan = Plan = {}));
|
|
40128
|
+
var RateLimiterTiers;
|
|
40129
|
+
(function (RateLimiterTiers) {
|
|
40130
|
+
RateLimiterTiers[RateLimiterTiers["Strict"] = 0] = "Strict";
|
|
40131
|
+
RateLimiterTiers[RateLimiterTiers["Permissive"] = 1] = "Permissive";
|
|
40132
|
+
})(RateLimiterTiers || (exports.RateLimiterTiers = RateLimiterTiers = {}));
|
|
39852
40133
|
//# sourceMappingURL=webhooks_configuration.js.map
|
|
39853
40134
|
|
|
39854
40135
|
/***/ }),
|
|
@@ -43689,7 +43970,7 @@ module.exports = Set;
|
|
|
43689
43970
|
|
|
43690
43971
|
var MapCache = __webpack_require__(83369),
|
|
43691
43972
|
setCacheAdd = __webpack_require__(90619),
|
|
43692
|
-
setCacheHas = __webpack_require__(
|
|
43973
|
+
setCacheHas = __webpack_require__(12082);
|
|
43693
43974
|
|
|
43694
43975
|
/**
|
|
43695
43976
|
*
|
|
@@ -48050,7 +48331,7 @@ module.exports = setCacheAdd;
|
|
|
48050
48331
|
|
|
48051
48332
|
/***/ }),
|
|
48052
48333
|
|
|
48053
|
-
/***/
|
|
48334
|
+
/***/ 12082:
|
|
48054
48335
|
/***/ ((module) => {
|
|
48055
48336
|
|
|
48056
48337
|
/**
|