@bringg/dashboard-sdk 8.5.5-pre.2 → 8.6.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 +2 -0
- package/dist/BringgDashboardSDK.js +3 -1
- package/dist/BringgDashboardSDK.js.map +1 -1
- package/dist/Chat/Chat.d.ts +10 -0
- package/dist/Chat/Chat.js +20 -0
- package/dist/Chat/Chat.js.map +1 -0
- package/dist/Chat/Chat.types.d.ts +4 -0
- package/dist/Chat/Chat.types.js +3 -0
- package/dist/Chat/Chat.types.js.map +1 -0
- package/dist/Chat/Service/Chat.service.d.ts +13 -0
- package/dist/Chat/Service/Chat.service.js +99 -0
- package/dist/Chat/Service/Chat.service.js.map +1 -0
- package/dist/Services/ServiceRequest.js +1 -1
- package/dist/bringg-dashboard-sdk-cjs2.js +275 -17
- package/dist/bringg-dashboard-sdk-cjs2.js.map +1 -1
- package/dist/bringg-dashboard-sdk.js +97 -20
- package/dist/bringg-dashboard-sdk.min.js +1 -1
- package/dist/bringg-dashboard-sdk.min.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -2501,6 +2501,7 @@ var ApplicationMerchantConfigurationApi_1 = __webpack_require__(82996);
|
|
|
2501
2501
|
var ApplicationTeamConfigurationApi_1 = __webpack_require__(59306);
|
|
2502
2502
|
var AsyncOperationStatus_1 = __webpack_require__(37360);
|
|
2503
2503
|
var BillingApi_1 = __webpack_require__(25475);
|
|
2504
|
+
var Chat_1 = __webpack_require__(17629);
|
|
2504
2505
|
var ChatConversationApi_1 = __webpack_require__(74617);
|
|
2505
2506
|
var Company_1 = __webpack_require__(97275);
|
|
2506
2507
|
var ConfigurationProvider_1 = __webpack_require__(44858);
|
|
@@ -2852,7 +2853,8 @@ function init(session) {
|
|
|
2852
2853
|
uploads: new upload_api_1.default(session),
|
|
2853
2854
|
floatingInventories: new floating_inventories_api_1.FloatingInventoriesApi(session),
|
|
2854
2855
|
deliveryWindows: new delivery_windows_api_1.default(session),
|
|
2855
|
-
taskManagedAttributes: new TaskManagedAttributes_1.TaskManagedAttributesApi(session)
|
|
2856
|
+
taskManagedAttributes: new TaskManagedAttributes_1.TaskManagedAttributesApi(session),
|
|
2857
|
+
chat: new Chat_1.default(session)
|
|
2856
2858
|
};
|
|
2857
2859
|
bringg.application = new ApplicationApi_1.default(session);
|
|
2858
2860
|
bringg.chat = new ChatConversationApi_1.default(session);
|
|
@@ -3081,6 +3083,139 @@ exports.newConfigurationProvider = newConfigurationProvider;
|
|
|
3081
3083
|
|
|
3082
3084
|
/***/ }),
|
|
3083
3085
|
|
|
3086
|
+
/***/ 17629:
|
|
3087
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
3088
|
+
|
|
3089
|
+
"use strict";
|
|
3090
|
+
|
|
3091
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
3092
|
+
var Chat_service_1 = __webpack_require__(44377);
|
|
3093
|
+
var Chat = /** @class */ (function () {
|
|
3094
|
+
function Chat(session) {
|
|
3095
|
+
this.chatService = new Chat_service_1.default(session);
|
|
3096
|
+
}
|
|
3097
|
+
Chat.prototype.getChatMerchantApp = function () {
|
|
3098
|
+
return this.chatService.getChatMerchantApp();
|
|
3099
|
+
};
|
|
3100
|
+
Chat.prototype.createChatMerchantApp = function () {
|
|
3101
|
+
return this.chatService.createChatMerchantApp();
|
|
3102
|
+
};
|
|
3103
|
+
Chat.prototype.getChatMerchantAppExists = function () {
|
|
3104
|
+
return this.chatService.getChatMerchantAppExists();
|
|
3105
|
+
};
|
|
3106
|
+
return Chat;
|
|
3107
|
+
}());
|
|
3108
|
+
exports["default"] = Chat;
|
|
3109
|
+
//# sourceMappingURL=Chat.js.map
|
|
3110
|
+
|
|
3111
|
+
/***/ }),
|
|
3112
|
+
|
|
3113
|
+
/***/ 44377:
|
|
3114
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
3115
|
+
|
|
3116
|
+
"use strict";
|
|
3117
|
+
|
|
3118
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3119
|
+
var extendStatics = function (d, b) {
|
|
3120
|
+
extendStatics = Object.setPrototypeOf ||
|
|
3121
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
3122
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
3123
|
+
return extendStatics(d, b);
|
|
3124
|
+
};
|
|
3125
|
+
return function (d, b) {
|
|
3126
|
+
if (typeof b !== "function" && b !== null)
|
|
3127
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
3128
|
+
extendStatics(d, b);
|
|
3129
|
+
function __() { this.constructor = d; }
|
|
3130
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
3131
|
+
};
|
|
3132
|
+
})();
|
|
3133
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3134
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3135
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
3136
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
3137
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
3138
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
3139
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
3140
|
+
});
|
|
3141
|
+
};
|
|
3142
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
3143
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
3144
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
3145
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
3146
|
+
function step(op) {
|
|
3147
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
3148
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
3149
|
+
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;
|
|
3150
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
3151
|
+
switch (op[0]) {
|
|
3152
|
+
case 0: case 1: t = op; break;
|
|
3153
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
3154
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
3155
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
3156
|
+
default:
|
|
3157
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
3158
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
3159
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
3160
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
3161
|
+
if (t[2]) _.ops.pop();
|
|
3162
|
+
_.trys.pop(); continue;
|
|
3163
|
+
}
|
|
3164
|
+
op = body.call(thisArg, _);
|
|
3165
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
3166
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
3167
|
+
}
|
|
3168
|
+
};
|
|
3169
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
3170
|
+
var URLEndpoint_1 = __webpack_require__(77908);
|
|
3171
|
+
var RouteGenerator_1 = __webpack_require__(84075);
|
|
3172
|
+
var SessionBasedService_1 = __webpack_require__(27826);
|
|
3173
|
+
var DEVELOPMENT_URL = 'http://localhost:3080';
|
|
3174
|
+
var SERVICE_PREFIX = false ? 0 : '/chat-service/v2';
|
|
3175
|
+
var Routes = {
|
|
3176
|
+
CHAT_MERCHANT_APP: "".concat(SERVICE_PREFIX, "/merchant"),
|
|
3177
|
+
CHAT_MERCHANT_APP_EXISTS: "".concat(SERVICE_PREFIX, "/merchant/exists")
|
|
3178
|
+
};
|
|
3179
|
+
var ChatService = /** @class */ (function (_super) {
|
|
3180
|
+
__extends(ChatService, _super);
|
|
3181
|
+
function ChatService(session) {
|
|
3182
|
+
var _this = this;
|
|
3183
|
+
var endpoint = false
|
|
3184
|
+
? 0
|
|
3185
|
+
: session.config.getApiEndpoint();
|
|
3186
|
+
_this = _super.call(this, endpoint, session) || this;
|
|
3187
|
+
_this.entityName = 'chat';
|
|
3188
|
+
_this.routeGenerator = new RouteGenerator_1.default(_this);
|
|
3189
|
+
return _this;
|
|
3190
|
+
}
|
|
3191
|
+
ChatService.prototype.getChatMerchantApp = function () {
|
|
3192
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
3193
|
+
return __generator(this, function (_a) {
|
|
3194
|
+
return [2 /*return*/, this.routeGenerator.get(Routes.CHAT_MERCHANT_APP).invoke()];
|
|
3195
|
+
});
|
|
3196
|
+
});
|
|
3197
|
+
};
|
|
3198
|
+
ChatService.prototype.createChatMerchantApp = function () {
|
|
3199
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
3200
|
+
return __generator(this, function (_a) {
|
|
3201
|
+
return [2 /*return*/, this.routeGenerator.post(Routes.CHAT_MERCHANT_APP).invoke()];
|
|
3202
|
+
});
|
|
3203
|
+
});
|
|
3204
|
+
};
|
|
3205
|
+
ChatService.prototype.getChatMerchantAppExists = function () {
|
|
3206
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
3207
|
+
return __generator(this, function (_a) {
|
|
3208
|
+
return [2 /*return*/, this.routeGenerator.get(Routes.CHAT_MERCHANT_APP_EXISTS).invoke()];
|
|
3209
|
+
});
|
|
3210
|
+
});
|
|
3211
|
+
};
|
|
3212
|
+
return ChatService;
|
|
3213
|
+
}(SessionBasedService_1.SessionBasedService));
|
|
3214
|
+
exports["default"] = ChatService;
|
|
3215
|
+
//# sourceMappingURL=Chat.service.js.map
|
|
3216
|
+
|
|
3217
|
+
/***/ }),
|
|
3218
|
+
|
|
3084
3219
|
/***/ 44448:
|
|
3085
3220
|
/***/ ((__unused_webpack_module, exports) => {
|
|
3086
3221
|
|
|
@@ -19751,7 +19886,7 @@ var lodash_1 = __webpack_require__(96486);
|
|
|
19751
19886
|
var BringgException_1 = __webpack_require__(43605);
|
|
19752
19887
|
var Logger_1 = __webpack_require__(55860);
|
|
19753
19888
|
var abort_1 = __webpack_require__(34179);
|
|
19754
|
-
var version = '8.
|
|
19889
|
+
var version = '8.6.0';
|
|
19755
19890
|
function logErrorResponse(response) {
|
|
19756
19891
|
var data = response.data, status = response.status;
|
|
19757
19892
|
try {
|
|
@@ -30276,6 +30411,7 @@ __exportStar(__webpack_require__(54581), exports);
|
|
|
30276
30411
|
__exportStar(__webpack_require__(21434), exports);
|
|
30277
30412
|
__exportStar(__webpack_require__(65111), exports);
|
|
30278
30413
|
__exportStar(__webpack_require__(72285), exports);
|
|
30414
|
+
__exportStar(__webpack_require__(68734), exports);
|
|
30279
30415
|
__exportStar(__webpack_require__(37443), exports);
|
|
30280
30416
|
__exportStar(__webpack_require__(51837), exports);
|
|
30281
30417
|
__exportStar(__webpack_require__(55936), exports);
|
|
@@ -30320,6 +30456,7 @@ __exportStar(__webpack_require__(46298), exports);
|
|
|
30320
30456
|
__exportStar(__webpack_require__(95372), exports);
|
|
30321
30457
|
__exportStar(__webpack_require__(81422), exports);
|
|
30322
30458
|
__exportStar(__webpack_require__(58547), exports);
|
|
30459
|
+
__exportStar(__webpack_require__(36368), exports);
|
|
30323
30460
|
__exportStar(__webpack_require__(96244), exports);
|
|
30324
30461
|
__exportStar(__webpack_require__(24039), exports);
|
|
30325
30462
|
__exportStar(__webpack_require__(93364), exports);
|
|
@@ -30327,6 +30464,7 @@ __exportStar(__webpack_require__(55166), exports);
|
|
|
30327
30464
|
__exportStar(__webpack_require__(56628), exports);
|
|
30328
30465
|
__exportStar(__webpack_require__(69424), exports);
|
|
30329
30466
|
__exportStar(__webpack_require__(70879), exports);
|
|
30467
|
+
__exportStar(__webpack_require__(55009), exports);
|
|
30330
30468
|
__exportStar(__webpack_require__(53569), exports);
|
|
30331
30469
|
__exportStar(__webpack_require__(78623), exports);
|
|
30332
30470
|
__exportStar(__webpack_require__(48967), exports);
|
|
@@ -30346,6 +30484,7 @@ __exportStar(__webpack_require__(64323), exports);
|
|
|
30346
30484
|
__exportStar(__webpack_require__(63413), exports);
|
|
30347
30485
|
__exportStar(__webpack_require__(10228), exports);
|
|
30348
30486
|
__exportStar(__webpack_require__(53543), exports);
|
|
30487
|
+
__exportStar(__webpack_require__(2730), exports);
|
|
30349
30488
|
__exportStar(__webpack_require__(56526), exports);
|
|
30350
30489
|
__exportStar(__webpack_require__(37390), exports);
|
|
30351
30490
|
__exportStar(__webpack_require__(4443), exports);
|
|
@@ -30449,7 +30588,6 @@ var ActionKey;
|
|
|
30449
30588
|
ActionKey["SHARED_LOCATION"] = "sharedLocation";
|
|
30450
30589
|
ActionKey["OPTIMIZATION"] = "optimization";
|
|
30451
30590
|
ActionKey["CANCEL_TASK"] = "cancelTask";
|
|
30452
|
-
ActionKey["LEAN_COPY"] = "leanCopy";
|
|
30453
30591
|
ActionKey["CALCULATE_AVAILABILITY_STATE"] = "calculateAvailabilityState";
|
|
30454
30592
|
ActionKey["NARROW_ACTIONABLE_WP_TIME_WINDOW"] = "narrowActionableWpTimeWindow";
|
|
30455
30593
|
ActionKey["EMAIL_SHARED_LOCATION"] = "emailSharedLocation";
|
|
@@ -30836,6 +30974,7 @@ __exportStar(__webpack_require__(91684), exports);
|
|
|
30836
30974
|
__exportStar(__webpack_require__(28327), exports);
|
|
30837
30975
|
__exportStar(__webpack_require__(42586), exports);
|
|
30838
30976
|
__exportStar(__webpack_require__(89792), exports);
|
|
30977
|
+
__exportStar(__webpack_require__(29414), exports);
|
|
30839
30978
|
__exportStar(__webpack_require__(5961), exports);
|
|
30840
30979
|
__exportStar(__webpack_require__(72615), exports);
|
|
30841
30980
|
__exportStar(__webpack_require__(32657), exports);
|
|
@@ -30904,6 +31043,29 @@ exports.__esModule = true;
|
|
|
30904
31043
|
|
|
30905
31044
|
/***/ }),
|
|
30906
31045
|
|
|
31046
|
+
/***/ 29414:
|
|
31047
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
31048
|
+
|
|
31049
|
+
"use strict";
|
|
31050
|
+
|
|
31051
|
+
exports.__esModule = true;
|
|
31052
|
+
exports.DeliveryHubReportCoreObjects = exports.OwnFleetReportCoreObjects = void 0;
|
|
31053
|
+
var OwnFleetReportCoreObjects;
|
|
31054
|
+
(function (OwnFleetReportCoreObjects) {
|
|
31055
|
+
OwnFleetReportCoreObjects["None"] = "None";
|
|
31056
|
+
OwnFleetReportCoreObjects["Tasks"] = "Tasks";
|
|
31057
|
+
OwnFleetReportCoreObjects["Users"] = "Users";
|
|
31058
|
+
OwnFleetReportCoreObjects["Vehicles"] = "Vehicles";
|
|
31059
|
+
OwnFleetReportCoreObjects["Carriers"] = "Carriers";
|
|
31060
|
+
})(OwnFleetReportCoreObjects = exports.OwnFleetReportCoreObjects || (exports.OwnFleetReportCoreObjects = {}));
|
|
31061
|
+
var DeliveryHubReportCoreObjects;
|
|
31062
|
+
(function (DeliveryHubReportCoreObjects) {
|
|
31063
|
+
DeliveryHubReportCoreObjects["Shipments"] = "Shipments";
|
|
31064
|
+
})(DeliveryHubReportCoreObjects = exports.DeliveryHubReportCoreObjects || (exports.DeliveryHubReportCoreObjects = {}));
|
|
31065
|
+
//# sourceMappingURL=report_templates.js.map
|
|
31066
|
+
|
|
31067
|
+
/***/ }),
|
|
31068
|
+
|
|
30907
31069
|
/***/ 5961:
|
|
30908
31070
|
/***/ ((__unused_webpack_module, exports) => {
|
|
30909
31071
|
|
|
@@ -31094,6 +31256,41 @@ var LOGIN_ERRORS;
|
|
|
31094
31256
|
|
|
31095
31257
|
/***/ }),
|
|
31096
31258
|
|
|
31259
|
+
/***/ 43720:
|
|
31260
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
31261
|
+
|
|
31262
|
+
"use strict";
|
|
31263
|
+
|
|
31264
|
+
exports.__esModule = true;
|
|
31265
|
+
//# sourceMappingURL=chat_merchant_apps_types.js.map
|
|
31266
|
+
|
|
31267
|
+
/***/ }),
|
|
31268
|
+
|
|
31269
|
+
/***/ 68734:
|
|
31270
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
31271
|
+
|
|
31272
|
+
"use strict";
|
|
31273
|
+
|
|
31274
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
31275
|
+
if (k2 === undefined) k2 = k;
|
|
31276
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
31277
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
31278
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
31279
|
+
}
|
|
31280
|
+
Object.defineProperty(o, k2, desc);
|
|
31281
|
+
}) : (function(o, m, k, k2) {
|
|
31282
|
+
if (k2 === undefined) k2 = k;
|
|
31283
|
+
o[k2] = m[k];
|
|
31284
|
+
}));
|
|
31285
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
31286
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
31287
|
+
};
|
|
31288
|
+
exports.__esModule = true;
|
|
31289
|
+
__exportStar(__webpack_require__(43720), exports);
|
|
31290
|
+
//# sourceMappingURL=index.js.map
|
|
31291
|
+
|
|
31292
|
+
/***/ }),
|
|
31293
|
+
|
|
31097
31294
|
/***/ 37443:
|
|
31098
31295
|
/***/ ((__unused_webpack_module, exports) => {
|
|
31099
31296
|
|
|
@@ -32480,6 +32677,16 @@ var DynamicCapacityValuesOptions;
|
|
|
32480
32677
|
|
|
32481
32678
|
/***/ }),
|
|
32482
32679
|
|
|
32680
|
+
/***/ 36368:
|
|
32681
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
32682
|
+
|
|
32683
|
+
"use strict";
|
|
32684
|
+
|
|
32685
|
+
exports.__esModule = true;
|
|
32686
|
+
//# sourceMappingURL=merchant_prototypes.js.map
|
|
32687
|
+
|
|
32688
|
+
/***/ }),
|
|
32689
|
+
|
|
32483
32690
|
/***/ 96244:
|
|
32484
32691
|
/***/ ((__unused_webpack_module, exports) => {
|
|
32485
32692
|
|
|
@@ -32595,13 +32802,29 @@ exports.__esModule = true;
|
|
|
32595
32802
|
|
|
32596
32803
|
/***/ }),
|
|
32597
32804
|
|
|
32805
|
+
/***/ 55009:
|
|
32806
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
32807
|
+
|
|
32808
|
+
"use strict";
|
|
32809
|
+
|
|
32810
|
+
exports.__esModule = true;
|
|
32811
|
+
exports.OriginOptions = void 0;
|
|
32812
|
+
var OriginOptions;
|
|
32813
|
+
(function (OriginOptions) {
|
|
32814
|
+
OriginOptions[OriginOptions["Manual"] = 0] = "Manual";
|
|
32815
|
+
OriginOptions[OriginOptions["Automation"] = 1] = "Automation";
|
|
32816
|
+
})(OriginOptions = exports.OriginOptions || (exports.OriginOptions = {}));
|
|
32817
|
+
//# sourceMappingURL=optimization_simulator.js.map
|
|
32818
|
+
|
|
32819
|
+
/***/ }),
|
|
32820
|
+
|
|
32598
32821
|
/***/ 53569:
|
|
32599
32822
|
/***/ ((__unused_webpack_module, exports) => {
|
|
32600
32823
|
|
|
32601
32824
|
"use strict";
|
|
32602
32825
|
|
|
32603
32826
|
exports.__esModule = true;
|
|
32604
|
-
exports.RouteItemType = exports.OptimizationOrigin = exports.OptimizationResponseType = exports.OPTIMIZATION_TYPE = void 0;
|
|
32827
|
+
exports.OptimizeFor = exports.RouteItemType = exports.OptimizationOrigin = exports.OptimizationResponseType = exports.OPTIMIZATION_TYPE = void 0;
|
|
32605
32828
|
var OPTIMIZATION_TYPE;
|
|
32606
32829
|
(function (OPTIMIZATION_TYPE) {
|
|
32607
32830
|
OPTIMIZATION_TYPE[OPTIMIZATION_TYPE["ANONYMOUS"] = 1] = "ANONYMOUS";
|
|
@@ -32624,15 +32847,22 @@ var OptimizationOrigin;
|
|
|
32624
32847
|
(function (OptimizationOrigin) {
|
|
32625
32848
|
OptimizationOrigin["ROUTE_OPTIMIZATION"] = "route_optimization";
|
|
32626
32849
|
OptimizationOrigin["ROUTE_OPTIMIZATION_QUOTES"] = "route_optimization_quotes";
|
|
32850
|
+
OptimizationOrigin["AVAILABILITY_CALCULATION"] = "availability_calculation";
|
|
32627
32851
|
OptimizationOrigin["SCHEDULED_ROUTE_OPTIMIZATION"] = "scheduled_route_optimization";
|
|
32628
32852
|
OptimizationOrigin["SINGLE_DRIVER_OPTIMIZATION"] = "single_driver_optimization";
|
|
32629
32853
|
OptimizationOrigin["VRP_AUTO_DISPATCH"] = "vrp_auto_dispatch";
|
|
32630
32854
|
OptimizationOrigin["VRP_AUTO_DISPATCH_QUOTES"] = "vrp_auto_dispatch_quotes";
|
|
32855
|
+
OptimizationOrigin["QUOTES_CACHE_REFRESH"] = "quotes_cache_refresh";
|
|
32631
32856
|
})(OptimizationOrigin = exports.OptimizationOrigin || (exports.OptimizationOrigin = {}));
|
|
32632
32857
|
var RouteItemType;
|
|
32633
32858
|
(function (RouteItemType) {
|
|
32634
32859
|
RouteItemType["Break"] = "break";
|
|
32635
32860
|
})(RouteItemType = exports.RouteItemType || (exports.RouteItemType = {}));
|
|
32861
|
+
var OptimizeFor;
|
|
32862
|
+
(function (OptimizeFor) {
|
|
32863
|
+
OptimizeFor["CUSTOM"] = "custom";
|
|
32864
|
+
OptimizeFor["NEXT_SHIFT"] = "next_shift";
|
|
32865
|
+
})(OptimizeFor = exports.OptimizeFor || (exports.OptimizeFor = {}));
|
|
32636
32866
|
//# sourceMappingURL=optimization_type.js.map
|
|
32637
32867
|
|
|
32638
32868
|
/***/ }),
|
|
@@ -32698,8 +32928,9 @@ exports.__esModule = true;
|
|
|
32698
32928
|
|
|
32699
32929
|
"use strict";
|
|
32700
32930
|
|
|
32931
|
+
var _a;
|
|
32701
32932
|
exports.__esModule = true;
|
|
32702
|
-
exports.PrivilegeTypes = void 0;
|
|
32933
|
+
exports.PRIVILEGES_DEFAULTS = exports.PrivilegeTypes = void 0;
|
|
32703
32934
|
var PrivilegeTypes;
|
|
32704
32935
|
(function (PrivilegeTypes) {
|
|
32705
32936
|
PrivilegeTypes["DISPATCH_SCREEN"] = "dispatch";
|
|
@@ -32752,7 +32983,34 @@ var PrivilegeTypes;
|
|
|
32752
32983
|
PrivilegeTypes["CREATE_ANALYTICS_BI_DASHBOARDS"] = "create_analytics_bi_dashboards";
|
|
32753
32984
|
PrivilegeTypes["ALLOW_DISPATCHER_CREATE_VEHICLE"] = "allow_dispatcher_create_vehicle";
|
|
32754
32985
|
PrivilegeTypes["ALLOW_DISPATCHER_EDIT_SERVICE_AREA"] = "allow_dispatcher_edit_service_area";
|
|
32986
|
+
PrivilegeTypes["SEND_TO_DRIVERS"] = "send_to_drivers";
|
|
32987
|
+
PrivilegeTypes["OPTIMIZE_ORDERS"] = "optimize_orders";
|
|
32988
|
+
PrivilegeTypes["ASSIGN_USER_TO_COMPANY"] = "assign_user_to_company";
|
|
32989
|
+
PrivilegeTypes["ENABLE_WEBHOOKS"] = "enable_webhooks";
|
|
32990
|
+
PrivilegeTypes["ENABLE_MERCHANT_LOGS"] = "enable_merchant_logs";
|
|
32991
|
+
PrivilegeTypes["ENABLE_SELF_ASSIGNMENT_TO_TEAMS"] = "enable_self_assignment_to_teams";
|
|
32992
|
+
PrivilegeTypes["ENABLE_CHAT"] = "enable_chat";
|
|
32993
|
+
PrivilegeTypes["ALLOW_ASSIGN_VEHICLE_TO_RUN"] = "allow_assign_vehicle_to_run";
|
|
32994
|
+
PrivilegeTypes["REASSIGN_FLEET"] = "reassign_fleet";
|
|
32995
|
+
PrivilegeTypes["SHARE_ANALYTICS_DASHBOARDS"] = "share_analytics_dashboards";
|
|
32996
|
+
PrivilegeTypes["MODIFY_PLANNED_ROUTE_IDENTIFIER"] = "modify_planned_route_identifier";
|
|
32997
|
+
PrivilegeTypes["FLOATING_INVENTORY_TAKE_OWNERSHIP_FROM_DRIVER"] = "floating_inventory_take_ownership_from_driver";
|
|
32998
|
+
PrivilegeTypes["FLOATING_INVENTORY_TRANSFER_OWNERSHIP_TO_TEAM"] = "floating_inventory_transfer_ownership_to_team";
|
|
32999
|
+
PrivilegeTypes["IS_CHAT_ADMIN"] = "is_chat_admin";
|
|
32755
33000
|
})(PrivilegeTypes = exports.PrivilegeTypes || (exports.PrivilegeTypes = {}));
|
|
33001
|
+
exports.PRIVILEGES_DEFAULTS = (_a = {},
|
|
33002
|
+
_a[PrivilegeTypes.CANCEL_TASK] = true,
|
|
33003
|
+
_a[PrivilegeTypes.LOCK_UNLOCK_TASK] = true,
|
|
33004
|
+
_a[PrivilegeTypes.RESCHEDULE_CANCELLED_ORDER] = true,
|
|
33005
|
+
_a[PrivilegeTypes.SEND_TO_DRIVERS] = true,
|
|
33006
|
+
_a[PrivilegeTypes.OPTIMIZE_ORDERS] = true,
|
|
33007
|
+
_a[PrivilegeTypes.EDIT_TASK_DETAILS] = true,
|
|
33008
|
+
_a[PrivilegeTypes.ENABLE_CHAT] = true,
|
|
33009
|
+
_a[PrivilegeTypes.SHARE_ANALYTICS_REPORTS] = true,
|
|
33010
|
+
_a[PrivilegeTypes.CREATE_ANALYTICS_BI_DASHBOARDS] = true,
|
|
33011
|
+
_a[PrivilegeTypes.MODIFY_PLANNED_ROUTE_IDENTIFIER] = true,
|
|
33012
|
+
_a[PrivilegeTypes.FLOATING_INVENTORY_TRANSFER_OWNERSHIP_TO_TEAM] = true,
|
|
33013
|
+
_a);
|
|
32756
33014
|
//# sourceMappingURL=privilege.js.map
|
|
32757
33015
|
|
|
32758
33016
|
/***/ }),
|
|
@@ -33072,6 +33330,8 @@ var RequestOrigin;
|
|
|
33072
33330
|
RequestOrigin[RequestOrigin["ScheduledRakeTask"] = 4] = "ScheduledRakeTask";
|
|
33073
33331
|
RequestOrigin[RequestOrigin["CustomerExperienceApi"] = 5] = "CustomerExperienceApi";
|
|
33074
33332
|
RequestOrigin[RequestOrigin["OpenFleetApi"] = 6] = "OpenFleetApi";
|
|
33333
|
+
RequestOrigin[RequestOrigin["FloatingInventoryApp"] = 7] = "FloatingInventoryApp";
|
|
33334
|
+
RequestOrigin[RequestOrigin["AutomationPlatform"] = 8] = "AutomationPlatform";
|
|
33075
33335
|
})(RequestOrigin = exports.RequestOrigin || (exports.RequestOrigin = {}));
|
|
33076
33336
|
//# sourceMappingURL=request_origin.js.map
|
|
33077
33337
|
|
|
@@ -33087,6 +33347,16 @@ exports.__esModule = true;
|
|
|
33087
33347
|
|
|
33088
33348
|
/***/ }),
|
|
33089
33349
|
|
|
33350
|
+
/***/ 2730:
|
|
33351
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
33352
|
+
|
|
33353
|
+
"use strict";
|
|
33354
|
+
|
|
33355
|
+
exports.__esModule = true;
|
|
33356
|
+
//# sourceMappingURL=route_kpi.js.map
|
|
33357
|
+
|
|
33358
|
+
/***/ }),
|
|
33359
|
+
|
|
33090
33360
|
/***/ 56526:
|
|
33091
33361
|
/***/ ((__unused_webpack_module, exports) => {
|
|
33092
33362
|
|
|
@@ -34269,7 +34539,6 @@ __exportStar(__webpack_require__(99848), exports);
|
|
|
34269
34539
|
__exportStar(__webpack_require__(73360), exports);
|
|
34270
34540
|
__exportStar(__webpack_require__(46849), exports);
|
|
34271
34541
|
__exportStar(__webpack_require__(72973), exports);
|
|
34272
|
-
__exportStar(__webpack_require__(23978), exports);
|
|
34273
34542
|
__exportStar(__webpack_require__(96365), exports);
|
|
34274
34543
|
__exportStar(__webpack_require__(11520), exports);
|
|
34275
34544
|
__exportStar(__webpack_require__(3140), exports);
|
|
@@ -34281,17 +34550,6 @@ __exportStar(__webpack_require__(50222), exports);
|
|
|
34281
34550
|
|
|
34282
34551
|
/***/ }),
|
|
34283
34552
|
|
|
34284
|
-
/***/ 23978:
|
|
34285
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
34286
|
-
|
|
34287
|
-
"use strict";
|
|
34288
|
-
|
|
34289
|
-
exports.__esModule = true;
|
|
34290
|
-
var action_1 = __webpack_require__(82285);
|
|
34291
|
-
//# sourceMappingURL=lean_copy_types.js.map
|
|
34292
|
-
|
|
34293
|
-
/***/ }),
|
|
34294
|
-
|
|
34295
34553
|
/***/ 96365:
|
|
34296
34554
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
34297
34555
|
|