@bringg/dashboard-sdk 9.76.2 → 9.77.0-pre.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.
@@ -2525,7 +2525,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexpo
2525
2525
  /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
2526
2526
 
2527
2527
  "use strict";
2528
- eval("\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n 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;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.AnonymousServiceRequest = exports.AuthorizedServiceRequest = exports.ResponseHandler = exports.RequestOptions = exports.logErrorResponse = void 0;\nvar axios_1 = __importDefault(__webpack_require__(/*! axios */ \"./node_modules/axios/index.js\"));\nvar lodash_1 = __webpack_require__(/*! lodash */ \"./node_modules/lodash/lodash.js\");\nvar BringgException_1 = __webpack_require__(/*! ../Core/BringgException */ \"./dist/Core/BringgException.js\");\nvar Logger_1 = __importDefault(__webpack_require__(/*! ../Core/Logger */ \"./dist/Core/Logger.js\"));\nvar abort_1 = __webpack_require__(/*! ../utils/abort */ \"./dist/utils/abort.js\");\nvar version = '9.76.2';\nfunction logErrorResponse(response) {\n var data = response.data, status = response.status;\n try {\n Logger_1.default.error(response.config.method.toUpperCase(), response.config.url, status);\n }\n catch (e) {\n //\n }\n try {\n Logger_1.default.info(response.config.method.toUpperCase(), response.config.url, status, data);\n }\n catch (e) {\n //\n }\n try {\n Logger_1.default.debug(response);\n }\n catch (e) {\n //\n }\n}\nexports.logErrorResponse = logErrorResponse;\nvar DEFAULT_TIMEOUT = 120000;\nvar RequestOptions = /** @class */ (function () {\n function RequestOptions(clientId, timeout, queryString, authenticationToken, headers, responseType, signal) {\n // NiceToHave: move headers to HttpHeaders class\n this.headers = __assign(__assign({ 'Content-Type': 'application/json' }, headers), { 'sdk-version': version, Client: clientId });\n this.timeout = timeout;\n this.validateStatus = lodash_1.stubTrue;\n if (queryString) {\n this.params = queryString;\n }\n if (authenticationToken) {\n this.headers['Authorization'] = \"Token token=\".concat(authenticationToken);\n }\n if (responseType) {\n this.responseType = responseType;\n }\n if (signal) {\n this.signal = signal;\n }\n }\n RequestOptions.new = function (_a) {\n var _b = _a === void 0 ? {} : _a, _c = _b.clientId, clientId = _c === void 0 ? 'Bringg Dashboard' : _c, _d = _b.timeout, timeout = _d === void 0 ? DEFAULT_TIMEOUT : _d, queryString = _b.queryString, authenticationToken = _b.authenticationToken, headers = _b.headers, responseType = _b.responseType, signal = _b.signal;\n return new RequestOptions(clientId, timeout || DEFAULT_TIMEOUT, queryString, authenticationToken, headers, responseType, signal);\n };\n return RequestOptions;\n}());\nexports.RequestOptions = RequestOptions;\nvar ResponseHandler = /** @class */ (function () {\n function ResponseHandler(response, signal) {\n this.axiosPromise = response;\n this.signal = signal;\n }\n ResponseHandler.prototype.handle = function (consumer) {\n return __awaiter(this, void 0, void 0, function () {\n var axiosResponse, e_1;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if ((0, lodash_1.isUndefined)(consumer)) {\n throw new Error('consumer must be defined');\n }\n _a.label = 1;\n case 1:\n _a.trys.push([1, 3, , 4]);\n return [4 /*yield*/, this.axiosPromise];\n case 2:\n axiosResponse = _a.sent();\n return [2 /*return*/, consumer(axiosResponse)];\n case 3:\n e_1 = _a.sent();\n if (axios_1.default.isCancel(e_1)) {\n (0, abort_1.throwAbortError)(this.signal, 'Request Aborted');\n }\n if (e_1 instanceof BringgException_1.BringgException) {\n throw e_1;\n }\n return [2 /*return*/, consumer(e_1)];\n case 4: return [2 /*return*/];\n }\n });\n });\n };\n return ResponseHandler;\n}());\nexports.ResponseHandler = ResponseHandler;\nfunction get(axiosInstance, host, uri, queryString, signal) {\n return new ResponseHandler(axiosInstance.get(\"\".concat(host).concat(uri), { params: queryString, signal: signal }), signal);\n}\nfunction post(axiosInstance, host, uri, queryString, payload, signal) {\n return new ResponseHandler(axiosInstance.post(\"\".concat(host).concat(uri), payload, { params: queryString, signal: signal }), signal);\n}\nfunction put(axiosInstance, host, uri, queryString, payload, signal) {\n return new ResponseHandler(axiosInstance.put(\"\".concat(host).concat(uri), payload, { params: queryString, signal: signal }), signal);\n}\nfunction patch(axiosInstance, host, uri, queryString, payload, signal) {\n return new ResponseHandler(axiosInstance.patch(\"\".concat(host).concat(uri), payload, { params: queryString, signal: signal }), signal);\n}\nfunction remove(axiosInstance, host, uri, queryString, payload, signal) {\n return new ResponseHandler(axiosInstance.delete(\"\".concat(host).concat(uri), { params: queryString, data: payload, signal: signal }), signal);\n}\nfunction routify(axiosInstance, endpoint, route, routeParams, queryString, payload, signal) {\n switch (route.httpMethod) {\n case 0 /* HttpMethod.GET */:\n return get(axiosInstance, endpoint.encode(), route.applyParams(routeParams), queryString, signal);\n case 1 /* HttpMethod.POST */:\n return post(axiosInstance, endpoint.encode(), route.applyParams(routeParams), queryString, payload, signal);\n case 2 /* HttpMethod.PUT */:\n return put(axiosInstance, endpoint.encode(), route.applyParams(routeParams), queryString, payload, signal);\n case 3 /* HttpMethod.PATCH */:\n return patch(axiosInstance, endpoint.encode(), route.applyParams(routeParams), queryString, payload, signal);\n case 4 /* HttpMethod.DELETE */:\n return remove(axiosInstance, endpoint.encode(), route.applyParams(routeParams), queryString, payload, signal);\n }\n}\nfunction wrapWithInterceptors(axios) {\n axios.interceptors.request.use(function (req) {\n var method = req.method, url = req.url, params = req.params, headers = req.headers, data = req.data;\n try {\n Logger_1.default.debug('REQUEST:', method.toUpperCase(), url);\n }\n catch (e) {\n //\n }\n try {\n Logger_1.default.trace('REQUEST-query-string:', params);\n Logger_1.default.trace('REQUEST-headers:', headers);\n Logger_1.default.trace('REQUEST-data:', data);\n }\n catch (e) {\n //\n }\n return req;\n });\n axios.interceptors.response.use(function (res) {\n var statusText = res.statusText, status = res.status, headers = res.headers, data = res.data;\n try {\n Logger_1.default.debug('RESPONSE:', res.config.url, status, statusText);\n }\n catch (e) {\n //\n }\n try {\n Logger_1.default.trace('RESPONSE-headers:', headers);\n Logger_1.default.trace('RESPONSE-data:', data);\n }\n catch (e) {\n //\n }\n return res;\n });\n return axios;\n}\nfunction axiosInstance(clientId, authenticationToken, headers, responseType, timeout, signal) {\n return wrapWithInterceptors(axios_1.default.create(RequestOptions.new({ clientId: clientId, authenticationToken: authenticationToken, headers: headers, responseType: responseType, timeout: timeout, signal: signal })));\n}\nfunction anonymousAxiosInstance(clientId, headers, signal) {\n return wrapWithInterceptors(axios_1.default.create(RequestOptions.new({ clientId: clientId, headers: headers, signal: signal })));\n}\nvar AuthorizedServiceRequest = /** @class */ (function () {\n function AuthorizedServiceRequest(clientId, authToken) {\n this.authToken = authToken;\n this.clientId = clientId;\n }\n AuthorizedServiceRequest.prototype.invoke = function (endpoint, route, routeParams, queryString, payload, headers, responseType, timeout, signal) {\n if (signal === null || signal === void 0 ? void 0 : signal.aborted) {\n (0, abort_1.throwAbortError)(signal, 'Request aborted (before even started the request)');\n }\n return routify(axiosInstance(this.clientId, this.authToken, headers, responseType, timeout), endpoint, route, routeParams, queryString, payload, signal);\n };\n return AuthorizedServiceRequest;\n}());\nexports.AuthorizedServiceRequest = AuthorizedServiceRequest;\nvar AnonymousServiceRequest = /** @class */ (function () {\n function AnonymousServiceRequest(clientId, headers) {\n this.clientId = clientId;\n this.headers = headers;\n }\n AnonymousServiceRequest.prototype.invoke = function (endpoint, route, routeParams, queryString, payload, signal) {\n if (signal === null || signal === void 0 ? void 0 : signal.aborted) {\n (0, abort_1.throwAbortError)(signal, 'Request aborted (before even started the request)');\n }\n return routify(anonymousAxiosInstance(this.clientId, this.headers, signal), endpoint, route, routeParams, queryString, payload);\n };\n return AnonymousServiceRequest;\n}());\nexports.AnonymousServiceRequest = AnonymousServiceRequest;\n//# sourceMappingURL=ServiceRequest.js.map\n\n//# sourceURL=webpack://BringgDashboardSDK/./dist/Services/ServiceRequest.js?");
2528
+ eval("\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n 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;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.AnonymousServiceRequest = exports.AuthorizedServiceRequest = exports.ResponseHandler = exports.RequestOptions = exports.logErrorResponse = void 0;\nvar axios_1 = __importDefault(__webpack_require__(/*! axios */ \"./node_modules/axios/index.js\"));\nvar lodash_1 = __webpack_require__(/*! lodash */ \"./node_modules/lodash/lodash.js\");\nvar BringgException_1 = __webpack_require__(/*! ../Core/BringgException */ \"./dist/Core/BringgException.js\");\nvar Logger_1 = __importDefault(__webpack_require__(/*! ../Core/Logger */ \"./dist/Core/Logger.js\"));\nvar abort_1 = __webpack_require__(/*! ../utils/abort */ \"./dist/utils/abort.js\");\nvar version = '9.77.0-pre.1';\nfunction logErrorResponse(response) {\n var data = response.data, status = response.status;\n try {\n Logger_1.default.error(response.config.method.toUpperCase(), response.config.url, status);\n }\n catch (e) {\n //\n }\n try {\n Logger_1.default.info(response.config.method.toUpperCase(), response.config.url, status, data);\n }\n catch (e) {\n //\n }\n try {\n Logger_1.default.debug(response);\n }\n catch (e) {\n //\n }\n}\nexports.logErrorResponse = logErrorResponse;\nvar DEFAULT_TIMEOUT = 120000;\nvar RequestOptions = /** @class */ (function () {\n function RequestOptions(clientId, timeout, queryString, authenticationToken, headers, responseType, signal) {\n // NiceToHave: move headers to HttpHeaders class\n this.headers = __assign(__assign({ 'Content-Type': 'application/json' }, headers), { 'sdk-version': version, Client: clientId });\n this.timeout = timeout;\n this.validateStatus = lodash_1.stubTrue;\n if (queryString) {\n this.params = queryString;\n }\n if (authenticationToken) {\n this.headers['Authorization'] = \"Token token=\".concat(authenticationToken);\n }\n if (responseType) {\n this.responseType = responseType;\n }\n if (signal) {\n this.signal = signal;\n }\n }\n RequestOptions.new = function (_a) {\n var _b = _a === void 0 ? {} : _a, _c = _b.clientId, clientId = _c === void 0 ? 'Bringg Dashboard' : _c, _d = _b.timeout, timeout = _d === void 0 ? DEFAULT_TIMEOUT : _d, queryString = _b.queryString, authenticationToken = _b.authenticationToken, headers = _b.headers, responseType = _b.responseType, signal = _b.signal;\n return new RequestOptions(clientId, timeout || DEFAULT_TIMEOUT, queryString, authenticationToken, headers, responseType, signal);\n };\n return RequestOptions;\n}());\nexports.RequestOptions = RequestOptions;\nvar ResponseHandler = /** @class */ (function () {\n function ResponseHandler(response, signal) {\n this.axiosPromise = response;\n this.signal = signal;\n }\n ResponseHandler.prototype.handle = function (consumer) {\n return __awaiter(this, void 0, void 0, function () {\n var axiosResponse, e_1;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if ((0, lodash_1.isUndefined)(consumer)) {\n throw new Error('consumer must be defined');\n }\n _a.label = 1;\n case 1:\n _a.trys.push([1, 3, , 4]);\n return [4 /*yield*/, this.axiosPromise];\n case 2:\n axiosResponse = _a.sent();\n return [2 /*return*/, consumer(axiosResponse)];\n case 3:\n e_1 = _a.sent();\n if (axios_1.default.isCancel(e_1)) {\n (0, abort_1.throwAbortError)(this.signal, 'Request Aborted');\n }\n if (e_1 instanceof BringgException_1.BringgException) {\n throw e_1;\n }\n return [2 /*return*/, consumer(e_1)];\n case 4: return [2 /*return*/];\n }\n });\n });\n };\n return ResponseHandler;\n}());\nexports.ResponseHandler = ResponseHandler;\nfunction get(axiosInstance, host, uri, queryString, signal) {\n return new ResponseHandler(axiosInstance.get(\"\".concat(host).concat(uri), { params: queryString, signal: signal }), signal);\n}\nfunction post(axiosInstance, host, uri, queryString, payload, signal) {\n return new ResponseHandler(axiosInstance.post(\"\".concat(host).concat(uri), payload, { params: queryString, signal: signal }), signal);\n}\nfunction put(axiosInstance, host, uri, queryString, payload, signal) {\n return new ResponseHandler(axiosInstance.put(\"\".concat(host).concat(uri), payload, { params: queryString, signal: signal }), signal);\n}\nfunction patch(axiosInstance, host, uri, queryString, payload, signal) {\n return new ResponseHandler(axiosInstance.patch(\"\".concat(host).concat(uri), payload, { params: queryString, signal: signal }), signal);\n}\nfunction remove(axiosInstance, host, uri, queryString, payload, signal) {\n return new ResponseHandler(axiosInstance.delete(\"\".concat(host).concat(uri), { params: queryString, data: payload, signal: signal }), signal);\n}\nfunction routify(axiosInstance, endpoint, route, routeParams, queryString, payload, signal) {\n switch (route.httpMethod) {\n case 0 /* HttpMethod.GET */:\n return get(axiosInstance, endpoint.encode(), route.applyParams(routeParams), queryString, signal);\n case 1 /* HttpMethod.POST */:\n return post(axiosInstance, endpoint.encode(), route.applyParams(routeParams), queryString, payload, signal);\n case 2 /* HttpMethod.PUT */:\n return put(axiosInstance, endpoint.encode(), route.applyParams(routeParams), queryString, payload, signal);\n case 3 /* HttpMethod.PATCH */:\n return patch(axiosInstance, endpoint.encode(), route.applyParams(routeParams), queryString, payload, signal);\n case 4 /* HttpMethod.DELETE */:\n return remove(axiosInstance, endpoint.encode(), route.applyParams(routeParams), queryString, payload, signal);\n }\n}\nfunction wrapWithInterceptors(axios) {\n axios.interceptors.request.use(function (req) {\n var method = req.method, url = req.url, params = req.params, headers = req.headers, data = req.data;\n try {\n Logger_1.default.debug('REQUEST:', method.toUpperCase(), url);\n }\n catch (e) {\n //\n }\n try {\n Logger_1.default.trace('REQUEST-query-string:', params);\n Logger_1.default.trace('REQUEST-headers:', headers);\n Logger_1.default.trace('REQUEST-data:', data);\n }\n catch (e) {\n //\n }\n return req;\n });\n axios.interceptors.response.use(function (res) {\n var statusText = res.statusText, status = res.status, headers = res.headers, data = res.data;\n try {\n Logger_1.default.debug('RESPONSE:', res.config.url, status, statusText);\n }\n catch (e) {\n //\n }\n try {\n Logger_1.default.trace('RESPONSE-headers:', headers);\n Logger_1.default.trace('RESPONSE-data:', data);\n }\n catch (e) {\n //\n }\n return res;\n });\n return axios;\n}\nfunction axiosInstance(clientId, authenticationToken, headers, responseType, timeout, signal) {\n return wrapWithInterceptors(axios_1.default.create(RequestOptions.new({ clientId: clientId, authenticationToken: authenticationToken, headers: headers, responseType: responseType, timeout: timeout, signal: signal })));\n}\nfunction anonymousAxiosInstance(clientId, headers, signal) {\n return wrapWithInterceptors(axios_1.default.create(RequestOptions.new({ clientId: clientId, headers: headers, signal: signal })));\n}\nvar AuthorizedServiceRequest = /** @class */ (function () {\n function AuthorizedServiceRequest(clientId, authToken) {\n this.authToken = authToken;\n this.clientId = clientId;\n }\n AuthorizedServiceRequest.prototype.invoke = function (endpoint, route, routeParams, queryString, payload, headers, responseType, timeout, signal) {\n if (signal === null || signal === void 0 ? void 0 : signal.aborted) {\n (0, abort_1.throwAbortError)(signal, 'Request aborted (before even started the request)');\n }\n return routify(axiosInstance(this.clientId, this.authToken, headers, responseType, timeout), endpoint, route, routeParams, queryString, payload, signal);\n };\n return AuthorizedServiceRequest;\n}());\nexports.AuthorizedServiceRequest = AuthorizedServiceRequest;\nvar AnonymousServiceRequest = /** @class */ (function () {\n function AnonymousServiceRequest(clientId, headers) {\n this.clientId = clientId;\n this.headers = headers;\n }\n AnonymousServiceRequest.prototype.invoke = function (endpoint, route, routeParams, queryString, payload, signal) {\n if (signal === null || signal === void 0 ? void 0 : signal.aborted) {\n (0, abort_1.throwAbortError)(signal, 'Request aborted (before even started the request)');\n }\n return routify(anonymousAxiosInstance(this.clientId, this.headers, signal), endpoint, route, routeParams, queryString, payload);\n };\n return AnonymousServiceRequest;\n}());\nexports.AnonymousServiceRequest = AnonymousServiceRequest;\n//# sourceMappingURL=ServiceRequest.js.map\n\n//# sourceURL=webpack://BringgDashboardSDK/./dist/Services/ServiceRequest.js?");
2529
2529
 
2530
2530
  /***/ }),
2531
2531
 
@@ -2822,7 +2822,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexpo
2822
2822
  /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
2823
2823
 
2824
2824
  "use strict";
2825
- eval("\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar storable_realtime_subscriptions_1 = __importDefault(__webpack_require__(/*! ../../Data/storable-realtime-subscriptions */ \"./dist/Data/storable-realtime-subscriptions.js\"));\nvar Tasks_consts_1 = __webpack_require__(/*! ../Tasks.consts */ \"./dist/Task/Tasks.consts.js\");\nvar TaskRealtimeSubscriptions = /** @class */ (function () {\n function TaskRealtimeSubscriptions(session, tasksStore, storableDataService) {\n this.tasksStore = tasksStore;\n this.storableRealtimeSubscriptions = new storable_realtime_subscriptions_1.default(session, tasksStore, storableDataService);\n }\n TaskRealtimeSubscriptions.prototype.updateStoreOnEvents = function () {\n var _this = this;\n var events = [\n {\n name: Tasks_consts_1.TaskRealTimeEvents.TASK_UPDATE,\n isDelete: false,\n extraDataFunc: function (task) {\n var isPartialUpdate = !Object.prototype.hasOwnProperty.call(task, 'status');\n return { ignore: isPartialUpdate && !_this.tasksStore.get(task.id) };\n }\n },\n {\n name: Tasks_consts_1.TaskRealTimeEvents.NEW_TASK,\n isDelete: false\n },\n { name: Tasks_consts_1.TaskRealTimeEvents.TASK_DELETED, isDelete: true }\n ];\n var subEntityEvents = [\n {\n name: Tasks_consts_1.TaskRealTimeEvents.NEW_SCAN,\n eventToRaise: Tasks_consts_1.TaskRealTimeEvents.TASK_UPDATE,\n parentField: 'task_id',\n field: 'scans',\n ignoreFields: ['way_points'],\n isDelete: false\n },\n {\n name: Tasks_consts_1.TaskRealTimeEvents.NEW_NOTE,\n eventToRaise: Tasks_consts_1.TaskRealTimeEvents.TASK_UPDATE,\n parentField: 'task_id',\n field: 'task_notes',\n ignoreFields: ['way_points'],\n isDelete: false\n },\n {\n name: Tasks_consts_1.TaskRealTimeEvents.WAYPOINT_ADDED,\n eventToRaise: Tasks_consts_1.TaskRealTimeEvents.TASK_UPDATE,\n parentField: 'task_id',\n field: 'way_points',\n ignoreFields: ['way_points'],\n isDelete: false\n },\n {\n name: Tasks_consts_1.TaskRealTimeEvents.WAYPOINT_UPDATED,\n eventToRaise: Tasks_consts_1.TaskRealTimeEvents.TASK_UPDATE,\n parentField: 'task_id',\n field: 'way_points',\n ignoreFields: ['way_points'],\n isDelete: false\n },\n {\n name: Tasks_consts_1.TaskRealTimeEvents.WAYPOINT_DELETED,\n eventToRaise: Tasks_consts_1.TaskRealTimeEvents.TASK_UPDATE,\n idField: 'way_point_id',\n parentField: 'task_id',\n field: 'way_points',\n ignoreFields: ['way_points'],\n isDelete: true\n }\n ];\n this.storableRealtimeSubscriptions.updateStoreOnEvents(events, subEntityEvents);\n };\n TaskRealtimeSubscriptions.prototype.onCreate = function (callback) {\n return this.storableRealtimeSubscriptions.onEvent(Tasks_consts_1.TaskRealTimeEvents.NEW_TASK, callback);\n };\n TaskRealtimeSubscriptions.prototype.onDelete = function (callback) {\n return this.storableRealtimeSubscriptions.onEvent(Tasks_consts_1.TaskRealTimeEvents.TASK_DELETED, callback);\n };\n TaskRealtimeSubscriptions.prototype.onWayPointUpdate = function (callback) {\n return this.storableRealtimeSubscriptions.onEvent(Tasks_consts_1.TaskRealTimeEvents.WAYPOINT_UPDATED, callback);\n };\n TaskRealtimeSubscriptions.prototype.onWayPointDelete = function (callback) {\n return this.storableRealtimeSubscriptions.onEvent(Tasks_consts_1.TaskRealTimeEvents.WAYPOINT_DELETED, callback);\n };\n TaskRealtimeSubscriptions.prototype.onUpdate = function (callback) {\n return this.storableRealtimeSubscriptions.onEvent(Tasks_consts_1.TaskRealTimeEvents.TASK_UPDATE, callback);\n };\n TaskRealtimeSubscriptions.prototype.callRealTimeEvent = function (modifiedItem) {\n var realTimeEvent = modifiedItem.diff ? Tasks_consts_1.TaskRealTimeEvents.TASK_UPDATE : Tasks_consts_1.TaskRealTimeEvents.NEW_TASK;\n this.storableRealtimeSubscriptions.runEventCallbacks(realTimeEvent, modifiedItem);\n };\n TaskRealtimeSubscriptions.prototype.callUpdateTaskRealTimeEvents = function (modifiedItems) {\n var e_1, _a;\n try {\n for (var modifiedItems_1 = __values(modifiedItems), modifiedItems_1_1 = modifiedItems_1.next(); !modifiedItems_1_1.done; modifiedItems_1_1 = modifiedItems_1.next()) {\n var modifiedItem = modifiedItems_1_1.value;\n this.callRealTimeEvent(modifiedItem);\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (modifiedItems_1_1 && !modifiedItems_1_1.done && (_a = modifiedItems_1.return)) _a.call(modifiedItems_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n };\n return TaskRealtimeSubscriptions;\n}());\nexports[\"default\"] = TaskRealtimeSubscriptions;\n//# sourceMappingURL=task-realtime-subscriptions.js.map\n\n//# sourceURL=webpack://BringgDashboardSDK/./dist/Task/v2/task-realtime-subscriptions.js?");
2825
+ eval("\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar storable_realtime_subscriptions_1 = __importDefault(__webpack_require__(/*! ../../Data/storable-realtime-subscriptions */ \"./dist/Data/storable-realtime-subscriptions.js\"));\nvar vrp_auto_dispatch_status_entity_1 = __importDefault(__webpack_require__(/*! ../../VrpAutoDispatchStatus/Entity/vrp-auto-dispatch-status-entity */ \"./dist/VrpAutoDispatchStatus/Entity/vrp-auto-dispatch-status-entity.js\"));\nvar Tasks_consts_1 = __webpack_require__(/*! ../Tasks.consts */ \"./dist/Task/Tasks.consts.js\");\nvar TaskRealtimeSubscriptions = /** @class */ (function () {\n function TaskRealtimeSubscriptions(session, tasksStore, storableDataService) {\n this.tasksStore = tasksStore;\n this.storableRealtimeSubscriptions = new storable_realtime_subscriptions_1.default(session, tasksStore, storableDataService);\n this.vrpAutoDispatchStatusEntity = new vrp_auto_dispatch_status_entity_1.default(tasksStore, this.storableRealtimeSubscriptions);\n }\n TaskRealtimeSubscriptions.prototype.updateStoreOnEvents = function () {\n var _this = this;\n var events = [\n {\n name: Tasks_consts_1.TaskRealTimeEvents.TASK_UPDATE,\n isDelete: false,\n extraDataFunc: function (task) {\n var isPartialUpdate = !Object.prototype.hasOwnProperty.call(task, 'status');\n return { ignore: isPartialUpdate && !_this.tasksStore.get(task.id) };\n }\n },\n {\n name: Tasks_consts_1.TaskRealTimeEvents.NEW_TASK,\n isDelete: false\n },\n { name: Tasks_consts_1.TaskRealTimeEvents.TASK_DELETED, isDelete: true }\n ];\n var subEntityEvents = [\n {\n name: Tasks_consts_1.TaskRealTimeEvents.NEW_SCAN,\n eventToRaise: Tasks_consts_1.TaskRealTimeEvents.TASK_UPDATE,\n parentField: 'task_id',\n field: 'scans',\n ignoreFields: ['way_points'],\n isDelete: false\n },\n {\n name: Tasks_consts_1.TaskRealTimeEvents.NEW_NOTE,\n eventToRaise: Tasks_consts_1.TaskRealTimeEvents.TASK_UPDATE,\n parentField: 'task_id',\n field: 'task_notes',\n ignoreFields: ['way_points'],\n isDelete: false\n },\n {\n name: Tasks_consts_1.TaskRealTimeEvents.WAYPOINT_ADDED,\n eventToRaise: Tasks_consts_1.TaskRealTimeEvents.TASK_UPDATE,\n parentField: 'task_id',\n field: 'way_points',\n ignoreFields: ['way_points'],\n isDelete: false\n },\n {\n name: Tasks_consts_1.TaskRealTimeEvents.WAYPOINT_UPDATED,\n eventToRaise: Tasks_consts_1.TaskRealTimeEvents.TASK_UPDATE,\n parentField: 'task_id',\n field: 'way_points',\n ignoreFields: ['way_points'],\n isDelete: false\n },\n {\n name: Tasks_consts_1.TaskRealTimeEvents.WAYPOINT_DELETED,\n eventToRaise: Tasks_consts_1.TaskRealTimeEvents.TASK_UPDATE,\n idField: 'way_point_id',\n parentField: 'task_id',\n field: 'way_points',\n ignoreFields: ['way_points'],\n isDelete: true\n }\n ];\n this.storableRealtimeSubscriptions.updateStoreOnEvents(events, subEntityEvents);\n };\n TaskRealtimeSubscriptions.prototype.onCreate = function (callback) {\n return this.storableRealtimeSubscriptions.onEvent(Tasks_consts_1.TaskRealTimeEvents.NEW_TASK, callback);\n };\n TaskRealtimeSubscriptions.prototype.onDelete = function (callback) {\n return this.storableRealtimeSubscriptions.onEvent(Tasks_consts_1.TaskRealTimeEvents.TASK_DELETED, callback);\n };\n TaskRealtimeSubscriptions.prototype.onWayPointUpdate = function (callback) {\n return this.storableRealtimeSubscriptions.onEvent(Tasks_consts_1.TaskRealTimeEvents.WAYPOINT_UPDATED, callback);\n };\n TaskRealtimeSubscriptions.prototype.onWayPointDelete = function (callback) {\n return this.storableRealtimeSubscriptions.onEvent(Tasks_consts_1.TaskRealTimeEvents.WAYPOINT_DELETED, callback);\n };\n TaskRealtimeSubscriptions.prototype.onUpdate = function (callback) {\n return this.storableRealtimeSubscriptions.onEvent(Tasks_consts_1.TaskRealTimeEvents.TASK_UPDATE, callback);\n };\n TaskRealtimeSubscriptions.prototype.subscribeToVrpAutoDispatchDone = function () {\n return this.vrpAutoDispatchStatusEntity.subscribeToVrpAutoDispatchDone();\n };\n TaskRealtimeSubscriptions.prototype.callRealTimeEvent = function (modifiedItem) {\n var realTimeEvent = modifiedItem.diff ? Tasks_consts_1.TaskRealTimeEvents.TASK_UPDATE : Tasks_consts_1.TaskRealTimeEvents.NEW_TASK;\n this.storableRealtimeSubscriptions.runEventCallbacks(realTimeEvent, modifiedItem);\n };\n TaskRealtimeSubscriptions.prototype.callUpdateTaskRealTimeEvents = function (modifiedItems) {\n var e_1, _a;\n try {\n for (var modifiedItems_1 = __values(modifiedItems), modifiedItems_1_1 = modifiedItems_1.next(); !modifiedItems_1_1.done; modifiedItems_1_1 = modifiedItems_1.next()) {\n var modifiedItem = modifiedItems_1_1.value;\n this.callRealTimeEvent(modifiedItem);\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (modifiedItems_1_1 && !modifiedItems_1_1.done && (_a = modifiedItems_1.return)) _a.call(modifiedItems_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n };\n return TaskRealtimeSubscriptions;\n}());\nexports[\"default\"] = TaskRealtimeSubscriptions;\n//# sourceMappingURL=task-realtime-subscriptions.js.map\n\n//# sourceURL=webpack://BringgDashboardSDK/./dist/Task/v2/task-realtime-subscriptions.js?");
2826
2826
 
2827
2827
  /***/ }),
2828
2828
 
@@ -2833,7 +2833,7 @@ eval("\nvar __values = (this && this.__values) || function(o) {\n var s = typ
2833
2833
  /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
2834
2834
 
2835
2835
  "use strict";
2836
- eval("\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n 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;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar types_1 = __webpack_require__(/*! @bringg/types */ \"./node_modules/@bringg/types/index.js\");\nvar light_data_store_1 = __importDefault(__webpack_require__(/*! ../../Data/light-data-store */ \"./dist/Data/light-data-store.js\"));\nvar data_entity_1 = __webpack_require__(/*! ../../data-entity */ \"./dist/data-entity.js\");\nvar data_store_1 = __importDefault(__webpack_require__(/*! ../../data-store */ \"./dist/data-store.js\"));\nvar storable_data_service_1 = __importDefault(__webpack_require__(/*! ../../storable-data-service */ \"./dist/storable-data-service.js\"));\nvar keyset_pagination_consts_1 = __webpack_require__(/*! ../../utils/consts/keyset-pagination.consts */ \"./dist/utils/consts/keyset-pagination.consts.js\");\nvar Tasks_consts_1 = __webpack_require__(/*! ../Tasks.consts */ \"./dist/Task/Tasks.consts.js\");\nvar task_merger_1 = __webpack_require__(/*! ./task-merger */ \"./dist/Task/v2/task-merger.js\");\nvar task_realtime_subscriptions_1 = __importDefault(__webpack_require__(/*! ./task-realtime-subscriptions */ \"./dist/Task/v2/task-realtime-subscriptions.js\"));\nvar tasks_service_1 = __importDefault(__webpack_require__(/*! ./tasks-service */ \"./dist/Task/v2/tasks-service.js\"));\n// hard coded fields to take advantage of the light data store cache\nvar READY_TO_EXECUTE_FIELDS = ['ready_to_execute'];\nvar TasksApi = /** @class */ (function () {\n function TasksApi(session) {\n var _this = this;\n var groupFilters = [\n {\n groupType: Tasks_consts_1.TaskGroupTypes.Main,\n keyFunc: function (task) {\n if (task.invalidated) {\n return Tasks_consts_1.GROUP_VALUES.Invalid;\n }\n else if (task.group_leader_id) {\n return Tasks_consts_1.GROUP_VALUES.Followers;\n }\n else if ([types_1.TaskStatus.Done, types_1.TaskStatus.Cancelled].indexOf(task.status) !== -1) {\n return Tasks_consts_1.GROUP_VALUES.Closed;\n }\n else if (task.status === types_1.TaskStatus.Unacknowledged) {\n return Tasks_consts_1.GROUP_VALUES.Unacknowledged;\n }\n else if (task.ready_to_execute) {\n return Tasks_consts_1.GROUP_VALUES.Open;\n }\n else {\n return Tasks_consts_1.GROUP_VALUES.Planning;\n }\n }\n },\n {\n groupType: Tasks_consts_1.TaskGroupTypes.Followers,\n keyFunc: function (task) { return task.group_leader_id; }\n }\n ];\n this.tasksStore = new data_store_1.default(groupFilters, { shallow: true });\n this.tasksService = new tasks_service_1.default(session);\n var lightDataStore = new light_data_store_1.default();\n this.storableDataService = new storable_data_service_1.default(this.tasksStore, function (task, params) {\n return task_merger_1.taskMerger.mergeTaskIntoExisting({\n tasksStore: _this.tasksStore,\n task: task,\n params: params\n });\n }, [lightDataStore]);\n this.taskRealtimeSubscriptions = new task_realtime_subscriptions_1.default(session, this.tasksStore, this.storableDataService);\n }\n TasksApi.prototype.updateStoreOnEvents = function () {\n this.taskRealtimeSubscriptions.updateStoreOnEvents();\n };\n TasksApi.prototype.onUpdate = function (callback) {\n return this.taskRealtimeSubscriptions.onUpdate(callback);\n };\n TasksApi.prototype.onCreate = function (callback) {\n return this.taskRealtimeSubscriptions.onCreate(callback);\n };\n TasksApi.prototype.onDelete = function (callback) {\n return this.taskRealtimeSubscriptions.onDelete(callback);\n };\n TasksApi.prototype.onWayPointUpdate = function (callback) {\n return this.taskRealtimeSubscriptions.onWayPointUpdate(callback);\n };\n TasksApi.prototype.onWayPointDelete = function (callback) {\n return this.taskRealtimeSubscriptions.onWayPointDelete(callback);\n };\n TasksApi.prototype.get = function (id, fields) {\n return this.getMany([id], this.getFieldsToLoad(fields))[0];\n };\n TasksApi.prototype.getMany = function (ids, fields) {\n return this.storableDataService.getFromStores(ids, this.getFieldsToLoad(fields));\n };\n TasksApi.prototype.getGroup = function (groupType, groupValue) {\n return this.tasksStore.getGroup(groupType, groupValue);\n };\n TasksApi.prototype.isInGroup = function (taskId, groupType, groupValue) {\n return this.tasksStore.isInGroup(taskId, groupType, groupValue);\n };\n TasksApi.prototype.getAllById = function () {\n return this.tasksStore.getAllById();\n };\n TasksApi.prototype.load = function (id, options) {\n var _this = this;\n if (options === void 0) { options = data_entity_1.DEFAULT_OPTIONS; }\n return this.storableDataService.load('load', function () { return _this.tasksService.load(id); }, id, options);\n };\n TasksApi.prototype.loadMany = function (ids, fields, options) {\n if (options === void 0) { options = data_entity_1.DEFAULT_OPTIONS; }\n return __awaiter(this, void 0, void 0, function () {\n var allFields;\n var _this = this;\n return __generator(this, function (_a) {\n allFields = this.getFieldsToLoad(fields);\n return [2 /*return*/, this.storableDataService.loadMany('batchLoad', function (idsToLoad) { return _this.tasksService.batchLoad(idsToLoad, allFields, { signal: options.signal }); }, ids, __assign(__assign({}, options), { fields: allFields }))];\n });\n });\n };\n TasksApi.prototype.loadPlanning = function (columns, options) {\n if (options === void 0) { options = data_entity_1.DEFAULT_OPTIONS; }\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n return [2 /*return*/, this.loadKeySet('loadPlanningTasks', columns, __assign(__assign({}, options), { groupType: Tasks_consts_1.TaskGroupTypes.Main, groupValue: Tasks_consts_1.GROUP_VALUES.Planning }))];\n });\n });\n };\n TasksApi.prototype.loadOpen = function (columns, options) {\n if (options === void 0) { options = data_entity_1.DEFAULT_OPTIONS; }\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n return [2 /*return*/, this.loadKeySet('loadOpenTasks', columns, __assign(__assign({}, options), { groupType: Tasks_consts_1.TaskGroupTypes.Main, groupValue: Tasks_consts_1.GROUP_VALUES.Open }))];\n });\n });\n };\n TasksApi.prototype.loadKeySet = function (action, columns, options) {\n if (options === void 0) { options = data_entity_1.DEFAULT_OPTIONS; }\n return __awaiter(this, void 0, void 0, function () {\n var loadResult, request;\n var _this = this;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n request = {\n limit: options.chunkSize,\n page_action: keyset_pagination_consts_1.KeysetPaginationPageAction.NEXT_ONLY,\n pgver: keyset_pagination_consts_1.KEYSET_PAGINATION_VER,\n columns: columns,\n cursor: options.cursor,\n team_ids: options.teamIds\n };\n return [4 /*yield*/, this.storableDataService.loadMany(action, function () { return __awaiter(_this, void 0, void 0, function () {\n var result;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, this.tasksService[action](request)];\n case 1:\n result = _a.sent();\n loadResult = result;\n return [2 /*return*/, result.items];\n }\n });\n }); }, [], __assign(__assign({}, options), { fields: this.getFieldsToLoad(columns) }))];\n case 1:\n _a.sent();\n if (!loadResult.next_page_cursor) {\n this.tasksStore.setGroupInitialized(options.groupType, options.groupValue);\n }\n return [2 /*return*/, __assign(__assign({}, loadResult), { items: loadResult.items.map(function (item) { return _this.tasksStore.get(item.id); }) })];\n }\n });\n });\n };\n TasksApi.prototype.massAssign = function (userId, taskIds, options, targetRun) {\n return this.tasksService.massAssign(userId, taskIds, options, targetRun);\n };\n TasksApi.prototype.massUnassign = function (taskIds, options) {\n return this.tasksService.massUnassign(taskIds, options);\n };\n TasksApi.prototype.massCancel = function (taskIds, reasonId, text, automaticallyCancelled) {\n return this.tasksService.massCancel(taskIds, reasonId, text, automaticallyCancelled);\n };\n TasksApi.prototype.loadInvalid = function (_a) {\n var _this = this;\n if (_a === void 0) { _a = {}; }\n var columns = _a.columns, options = __rest(_a, [\"columns\"]);\n return this.storableDataService.loadAll('loadInvalid', function () { return _this.tasksService.loadInvalid(columns); }, __assign(__assign(__assign({}, data_entity_1.DEFAULT_OPTIONS), options), { fields: this.getFieldsToLoad(columns), groupType: Tasks_consts_1.TaskGroupTypes.Main, groupValue: Tasks_consts_1.GROUP_VALUES.Invalid }));\n };\n TasksApi.prototype.broadcastToDrivers = function (id, userIds, message) {\n return this.tasksService.broadcastToDrivers(id, userIds, message);\n };\n TasksApi.prototype.acknowledgeTask = function (id) {\n var _this = this;\n return this.storableDataService.modify('acknowledgeTask', function () { return _this.tasksService.acknowledgeTask(id); }, function (modifiedItem) { return _this.taskRealtimeSubscriptions.callRealTimeEvent(modifiedItem); });\n };\n TasksApi.prototype.releaseToDrivers = function (ids) {\n return __awaiter(this, void 0, void 0, function () {\n var result;\n var _this = this;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, this.storableDataService.modifyMany('releaseToDrivers', function () { return __awaiter(_this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, this.tasksService.releaseToDrivers(ids)];\n case 1:\n result = _a.sent();\n return [2 /*return*/, ids.map(function (id) { return ({ id: id, ready_to_execute: true }); })];\n }\n });\n }); }, READY_TO_EXECUTE_FIELDS, function (modifiedItem) { return _this.taskRealtimeSubscriptions.callUpdateTaskRealTimeEvents(modifiedItem); })];\n case 1:\n _a.sent();\n return [2 /*return*/, result];\n }\n });\n });\n };\n TasksApi.prototype.moveToPlanning = function (ids) {\n return __awaiter(this, void 0, void 0, function () {\n var result;\n var _this = this;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, this.storableDataService.modifyMany('releaseToDrivers', function () { return __awaiter(_this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, this.tasksService.moveToPlanning(ids)];\n case 1:\n result = _a.sent();\n return [2 /*return*/, ids.map(function (id) { return ({ id: id, ready_to_execute: false }); })];\n }\n });\n }); }, READY_TO_EXECUTE_FIELDS, function (modifiedItem) { return _this.taskRealtimeSubscriptions.callUpdateTaskRealTimeEvents(modifiedItem); })];\n case 1:\n _a.sent();\n return [2 /*return*/, result];\n }\n });\n });\n };\n TasksApi.prototype.update = function (task) {\n var _this = this;\n return this.storableDataService.modify('update', function () { return _this.tasksService.update(task); }, function (modifiedItem) { return _this.taskRealtimeSubscriptions.callRealTimeEvent(modifiedItem); });\n };\n TasksApi.prototype.updatePreparationStatus = function (taskId, preparationStatus) {\n var _this = this;\n return this.storableDataService.modify('updatePreparationStatus', function () { return _this.tasksService.updatePreparationStatus(taskId, preparationStatus); }, function (modifiedItem) { return _this.taskRealtimeSubscriptions.callRealTimeEvent(modifiedItem); });\n };\n TasksApi.prototype.rescheduleVirtualTasks = function (taskIds, noLaterThan, noEarlierThan) {\n return this.tasksService.rescheduleVirtualTasks(taskIds, noLaterThan, noEarlierThan);\n };\n TasksApi.prototype.duplicate = function (taskId) {\n var _this = this;\n return this.storableDataService.modify('duplicate', function () { return _this.tasksService.duplicate(taskId); }, function (modifiedItem) { return _this.taskRealtimeSubscriptions.callRealTimeEvent(modifiedItem); });\n };\n TasksApi.prototype.cancel = function (id) {\n var _this = this;\n return this.storableDataService.modify('cancel', function () {\n return _this.tasksService.cancel(id);\n }, function (modifiedItem) { return _this.taskRealtimeSubscriptions.callRealTimeEvent(modifiedItem); });\n };\n TasksApi.prototype.getChildTasks = function (taskId) {\n return this.tasksService.getChildTasks(taskId);\n };\n TasksApi.prototype.lock = function (taskIds) {\n return this.tasksService.lock(taskIds);\n };\n TasksApi.prototype.unlock = function (taskIds) {\n return this.tasksService.unlock(taskIds);\n };\n TasksApi.prototype.finish = function (id) {\n var _this = this;\n return this.storableDataService.modify('finish', function () { return _this.tasksService.finish(id); }, function (modifiedItem) { return _this.taskRealtimeSubscriptions.callRealTimeEvent(modifiedItem); });\n };\n TasksApi.prototype.rescheduleCancelled = function (taskId) {\n return this.tasksService.rescheduleCancelled(taskId);\n };\n TasksApi.prototype.getRescheduleQuote = function (taskId) {\n return this.tasksService.getRescheduleQuote(taskId);\n };\n TasksApi.prototype.addTaskNote = function (taskId, wayPointId, note, type, image, hiddenFromDrivers) {\n return this.tasksService.addTaskNote(taskId, wayPointId, note, type, image, hiddenFromDrivers);\n };\n TasksApi.prototype.getLocations = function (taskId) {\n return this.tasksService.getLocations(taskId);\n };\n TasksApi.prototype.deleteWayPoint = function (taskId, wayPointId) {\n return this.tasksService.deleteWayPoint(taskId, wayPointId);\n };\n TasksApi.prototype.importTasksCsv = function (file) {\n return this.tasksService.importTasksCsv(file);\n };\n TasksApi.prototype.activityLog = function (taskId) {\n return this.tasksService.activityLog(taskId);\n };\n TasksApi.prototype.massDeleteGroups = function (groupLeaderTaskIds) {\n return this.tasksService.massDeleteGroups(groupLeaderTaskIds);\n };\n TasksApi.prototype.hasDefectiveGeocode = function () {\n return this.tasksService.hasDefectiveGeocode();\n };\n TasksApi.prototype.getFieldsToLoad = function (fields) {\n if (!fields) {\n return fields;\n }\n if (typeof fields === 'string') {\n fields = fields.split(',');\n }\n var allFields = __spreadArray([], __read(fields), false);\n Tasks_consts_1.taskDefaultFields.forEach(function (field) {\n if (typeof field === 'object') {\n if (field['way_points']) {\n var wayPointsIndex = allFields.findIndex(function (field) { return typeof field === 'object' && field['way_points']; });\n var wayPointsFields_1 = wayPointsIndex > -1 ? allFields.splice(wayPointsIndex, 1)[0]['way_points'] : [];\n field['way_points'].forEach(function (wayPointField) {\n if (!wayPointsFields_1.includes(wayPointField)) {\n wayPointsFields_1.push(wayPointField);\n }\n });\n allFields.push({ way_points: wayPointsFields_1 });\n }\n }\n else if (!fields.includes(field)) {\n allFields.push(field);\n }\n });\n // To take advantage of the LightData store cache\n if (allFields.length === fields.length) {\n return fields;\n }\n return allFields;\n };\n return TasksApi;\n}());\nexports[\"default\"] = TasksApi;\n//# sourceMappingURL=tasks-api.js.map\n\n//# sourceURL=webpack://BringgDashboardSDK/./dist/Task/v2/tasks-api.js?");
2836
+ eval("\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n 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;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar types_1 = __webpack_require__(/*! @bringg/types */ \"./node_modules/@bringg/types/index.js\");\nvar light_data_store_1 = __importDefault(__webpack_require__(/*! ../../Data/light-data-store */ \"./dist/Data/light-data-store.js\"));\nvar data_entity_1 = __webpack_require__(/*! ../../data-entity */ \"./dist/data-entity.js\");\nvar data_store_1 = __importDefault(__webpack_require__(/*! ../../data-store */ \"./dist/data-store.js\"));\nvar storable_data_service_1 = __importDefault(__webpack_require__(/*! ../../storable-data-service */ \"./dist/storable-data-service.js\"));\nvar keyset_pagination_consts_1 = __webpack_require__(/*! ../../utils/consts/keyset-pagination.consts */ \"./dist/utils/consts/keyset-pagination.consts.js\");\nvar Tasks_consts_1 = __webpack_require__(/*! ../Tasks.consts */ \"./dist/Task/Tasks.consts.js\");\nvar task_merger_1 = __webpack_require__(/*! ./task-merger */ \"./dist/Task/v2/task-merger.js\");\nvar task_realtime_subscriptions_1 = __importDefault(__webpack_require__(/*! ./task-realtime-subscriptions */ \"./dist/Task/v2/task-realtime-subscriptions.js\"));\nvar tasks_service_1 = __importDefault(__webpack_require__(/*! ./tasks-service */ \"./dist/Task/v2/tasks-service.js\"));\n// hard coded fields to take advantage of the light data store cache\nvar READY_TO_EXECUTE_FIELDS = ['ready_to_execute'];\nvar TasksApi = /** @class */ (function () {\n function TasksApi(session) {\n var _this = this;\n var groupFilters = [\n {\n groupType: Tasks_consts_1.TaskGroupTypes.Main,\n keyFunc: function (task) {\n if (task.invalidated) {\n return Tasks_consts_1.GROUP_VALUES.Invalid;\n }\n else if (task.group_leader_id) {\n return Tasks_consts_1.GROUP_VALUES.Followers;\n }\n else if ([types_1.TaskStatus.Done, types_1.TaskStatus.Cancelled].indexOf(task.status) !== -1) {\n return Tasks_consts_1.GROUP_VALUES.Closed;\n }\n else if (task.status === types_1.TaskStatus.Unacknowledged) {\n return Tasks_consts_1.GROUP_VALUES.Unacknowledged;\n }\n else if (task.ready_to_execute) {\n return Tasks_consts_1.GROUP_VALUES.Open;\n }\n else {\n return Tasks_consts_1.GROUP_VALUES.Planning;\n }\n }\n },\n {\n groupType: Tasks_consts_1.TaskGroupTypes.Followers,\n keyFunc: function (task) { return task.group_leader_id; }\n }\n ];\n this.tasksStore = new data_store_1.default(groupFilters, { shallow: true });\n this.tasksService = new tasks_service_1.default(session);\n var lightDataStore = new light_data_store_1.default();\n this.storableDataService = new storable_data_service_1.default(this.tasksStore, function (task, params) {\n return task_merger_1.taskMerger.mergeTaskIntoExisting({\n tasksStore: _this.tasksStore,\n task: task,\n params: params\n });\n }, [lightDataStore]);\n this.taskRealtimeSubscriptions = new task_realtime_subscriptions_1.default(session, this.tasksStore, this.storableDataService);\n }\n TasksApi.prototype.updateStoreOnEvents = function () {\n this.taskRealtimeSubscriptions.updateStoreOnEvents();\n };\n TasksApi.prototype.onUpdate = function (callback) {\n return this.taskRealtimeSubscriptions.onUpdate(callback);\n };\n TasksApi.prototype.onCreate = function (callback) {\n return this.taskRealtimeSubscriptions.onCreate(callback);\n };\n TasksApi.prototype.onDelete = function (callback) {\n return this.taskRealtimeSubscriptions.onDelete(callback);\n };\n /**\n * Subscribes to the 'vrp auto dispatch done' WebSocket event and updates each\n * affected task's `task_auto_dispatch_status` in the store without refetching.\n *\n * @returns A function that unsubscribes from the event when called.\n */\n TasksApi.prototype.subscribeToVrpAutoDispatchDone = function () {\n return this.taskRealtimeSubscriptions.subscribeToVrpAutoDispatchDone();\n };\n TasksApi.prototype.onWayPointUpdate = function (callback) {\n return this.taskRealtimeSubscriptions.onWayPointUpdate(callback);\n };\n TasksApi.prototype.onWayPointDelete = function (callback) {\n return this.taskRealtimeSubscriptions.onWayPointDelete(callback);\n };\n TasksApi.prototype.get = function (id, fields) {\n return this.getMany([id], this.getFieldsToLoad(fields))[0];\n };\n TasksApi.prototype.getMany = function (ids, fields) {\n return this.storableDataService.getFromStores(ids, this.getFieldsToLoad(fields));\n };\n TasksApi.prototype.getGroup = function (groupType, groupValue) {\n return this.tasksStore.getGroup(groupType, groupValue);\n };\n TasksApi.prototype.isInGroup = function (taskId, groupType, groupValue) {\n return this.tasksStore.isInGroup(taskId, groupType, groupValue);\n };\n TasksApi.prototype.getAllById = function () {\n return this.tasksStore.getAllById();\n };\n TasksApi.prototype.load = function (id, options) {\n var _this = this;\n if (options === void 0) { options = data_entity_1.DEFAULT_OPTIONS; }\n return this.storableDataService.load('load', function () { return _this.tasksService.load(id); }, id, options);\n };\n TasksApi.prototype.loadMany = function (ids, fields, options) {\n if (options === void 0) { options = data_entity_1.DEFAULT_OPTIONS; }\n return __awaiter(this, void 0, void 0, function () {\n var allFields;\n var _this = this;\n return __generator(this, function (_a) {\n allFields = this.getFieldsToLoad(fields);\n return [2 /*return*/, this.storableDataService.loadMany('batchLoad', function (idsToLoad) { return _this.tasksService.batchLoad(idsToLoad, allFields, { signal: options.signal }); }, ids, __assign(__assign({}, options), { fields: allFields }))];\n });\n });\n };\n TasksApi.prototype.loadPlanning = function (columns, options) {\n if (options === void 0) { options = data_entity_1.DEFAULT_OPTIONS; }\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n return [2 /*return*/, this.loadKeySet('loadPlanningTasks', columns, __assign(__assign({}, options), { groupType: Tasks_consts_1.TaskGroupTypes.Main, groupValue: Tasks_consts_1.GROUP_VALUES.Planning }))];\n });\n });\n };\n TasksApi.prototype.loadOpen = function (columns, options) {\n if (options === void 0) { options = data_entity_1.DEFAULT_OPTIONS; }\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n return [2 /*return*/, this.loadKeySet('loadOpenTasks', columns, __assign(__assign({}, options), { groupType: Tasks_consts_1.TaskGroupTypes.Main, groupValue: Tasks_consts_1.GROUP_VALUES.Open }))];\n });\n });\n };\n TasksApi.prototype.loadKeySet = function (action, columns, options) {\n if (options === void 0) { options = data_entity_1.DEFAULT_OPTIONS; }\n return __awaiter(this, void 0, void 0, function () {\n var loadResult, request;\n var _this = this;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n request = {\n limit: options.chunkSize,\n page_action: keyset_pagination_consts_1.KeysetPaginationPageAction.NEXT_ONLY,\n pgver: keyset_pagination_consts_1.KEYSET_PAGINATION_VER,\n columns: columns,\n cursor: options.cursor,\n team_ids: options.teamIds\n };\n return [4 /*yield*/, this.storableDataService.loadMany(action, function () { return __awaiter(_this, void 0, void 0, function () {\n var result;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, this.tasksService[action](request)];\n case 1:\n result = _a.sent();\n loadResult = result;\n return [2 /*return*/, result.items];\n }\n });\n }); }, [], __assign(__assign({}, options), { fields: this.getFieldsToLoad(columns) }))];\n case 1:\n _a.sent();\n if (!loadResult.next_page_cursor) {\n this.tasksStore.setGroupInitialized(options.groupType, options.groupValue);\n }\n return [2 /*return*/, __assign(__assign({}, loadResult), { items: loadResult.items.map(function (item) { return _this.tasksStore.get(item.id); }) })];\n }\n });\n });\n };\n TasksApi.prototype.massAssign = function (userId, taskIds, options, targetRun) {\n return this.tasksService.massAssign(userId, taskIds, options, targetRun);\n };\n TasksApi.prototype.massUnassign = function (taskIds, options) {\n return this.tasksService.massUnassign(taskIds, options);\n };\n TasksApi.prototype.massCancel = function (taskIds, reasonId, text, automaticallyCancelled) {\n return this.tasksService.massCancel(taskIds, reasonId, text, automaticallyCancelled);\n };\n TasksApi.prototype.loadInvalid = function (_a) {\n var _this = this;\n if (_a === void 0) { _a = {}; }\n var columns = _a.columns, options = __rest(_a, [\"columns\"]);\n return this.storableDataService.loadAll('loadInvalid', function () { return _this.tasksService.loadInvalid(columns); }, __assign(__assign(__assign({}, data_entity_1.DEFAULT_OPTIONS), options), { fields: this.getFieldsToLoad(columns), groupType: Tasks_consts_1.TaskGroupTypes.Main, groupValue: Tasks_consts_1.GROUP_VALUES.Invalid }));\n };\n TasksApi.prototype.broadcastToDrivers = function (id, userIds, message) {\n return this.tasksService.broadcastToDrivers(id, userIds, message);\n };\n TasksApi.prototype.acknowledgeTask = function (id) {\n var _this = this;\n return this.storableDataService.modify('acknowledgeTask', function () { return _this.tasksService.acknowledgeTask(id); }, function (modifiedItem) { return _this.taskRealtimeSubscriptions.callRealTimeEvent(modifiedItem); });\n };\n TasksApi.prototype.releaseToDrivers = function (ids) {\n return __awaiter(this, void 0, void 0, function () {\n var result;\n var _this = this;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, this.storableDataService.modifyMany('releaseToDrivers', function () { return __awaiter(_this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, this.tasksService.releaseToDrivers(ids)];\n case 1:\n result = _a.sent();\n return [2 /*return*/, ids.map(function (id) { return ({ id: id, ready_to_execute: true }); })];\n }\n });\n }); }, READY_TO_EXECUTE_FIELDS, function (modifiedItem) { return _this.taskRealtimeSubscriptions.callUpdateTaskRealTimeEvents(modifiedItem); })];\n case 1:\n _a.sent();\n return [2 /*return*/, result];\n }\n });\n });\n };\n TasksApi.prototype.moveToPlanning = function (ids) {\n return __awaiter(this, void 0, void 0, function () {\n var result;\n var _this = this;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, this.storableDataService.modifyMany('releaseToDrivers', function () { return __awaiter(_this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, this.tasksService.moveToPlanning(ids)];\n case 1:\n result = _a.sent();\n return [2 /*return*/, ids.map(function (id) { return ({ id: id, ready_to_execute: false }); })];\n }\n });\n }); }, READY_TO_EXECUTE_FIELDS, function (modifiedItem) { return _this.taskRealtimeSubscriptions.callUpdateTaskRealTimeEvents(modifiedItem); })];\n case 1:\n _a.sent();\n return [2 /*return*/, result];\n }\n });\n });\n };\n TasksApi.prototype.update = function (task) {\n var _this = this;\n return this.storableDataService.modify('update', function () { return _this.tasksService.update(task); }, function (modifiedItem) { return _this.taskRealtimeSubscriptions.callRealTimeEvent(modifiedItem); });\n };\n TasksApi.prototype.updatePreparationStatus = function (taskId, preparationStatus) {\n var _this = this;\n return this.storableDataService.modify('updatePreparationStatus', function () { return _this.tasksService.updatePreparationStatus(taskId, preparationStatus); }, function (modifiedItem) { return _this.taskRealtimeSubscriptions.callRealTimeEvent(modifiedItem); });\n };\n TasksApi.prototype.rescheduleVirtualTasks = function (taskIds, noLaterThan, noEarlierThan) {\n return this.tasksService.rescheduleVirtualTasks(taskIds, noLaterThan, noEarlierThan);\n };\n TasksApi.prototype.duplicate = function (taskId) {\n var _this = this;\n return this.storableDataService.modify('duplicate', function () { return _this.tasksService.duplicate(taskId); }, function (modifiedItem) { return _this.taskRealtimeSubscriptions.callRealTimeEvent(modifiedItem); });\n };\n TasksApi.prototype.cancel = function (id) {\n var _this = this;\n return this.storableDataService.modify('cancel', function () {\n return _this.tasksService.cancel(id);\n }, function (modifiedItem) { return _this.taskRealtimeSubscriptions.callRealTimeEvent(modifiedItem); });\n };\n TasksApi.prototype.getChildTasks = function (taskId) {\n return this.tasksService.getChildTasks(taskId);\n };\n TasksApi.prototype.lock = function (taskIds) {\n return this.tasksService.lock(taskIds);\n };\n TasksApi.prototype.unlock = function (taskIds) {\n return this.tasksService.unlock(taskIds);\n };\n TasksApi.prototype.finish = function (id) {\n var _this = this;\n return this.storableDataService.modify('finish', function () { return _this.tasksService.finish(id); }, function (modifiedItem) { return _this.taskRealtimeSubscriptions.callRealTimeEvent(modifiedItem); });\n };\n TasksApi.prototype.rescheduleCancelled = function (taskId) {\n return this.tasksService.rescheduleCancelled(taskId);\n };\n TasksApi.prototype.getRescheduleQuote = function (taskId) {\n return this.tasksService.getRescheduleQuote(taskId);\n };\n TasksApi.prototype.addTaskNote = function (taskId, wayPointId, note, type, image, hiddenFromDrivers) {\n return this.tasksService.addTaskNote(taskId, wayPointId, note, type, image, hiddenFromDrivers);\n };\n TasksApi.prototype.getLocations = function (taskId) {\n return this.tasksService.getLocations(taskId);\n };\n TasksApi.prototype.deleteWayPoint = function (taskId, wayPointId) {\n return this.tasksService.deleteWayPoint(taskId, wayPointId);\n };\n TasksApi.prototype.importTasksCsv = function (file) {\n return this.tasksService.importTasksCsv(file);\n };\n TasksApi.prototype.activityLog = function (taskId) {\n return this.tasksService.activityLog(taskId);\n };\n TasksApi.prototype.massDeleteGroups = function (groupLeaderTaskIds) {\n return this.tasksService.massDeleteGroups(groupLeaderTaskIds);\n };\n TasksApi.prototype.hasDefectiveGeocode = function () {\n return this.tasksService.hasDefectiveGeocode();\n };\n TasksApi.prototype.getFieldsToLoad = function (fields) {\n if (!fields) {\n return fields;\n }\n if (typeof fields === 'string') {\n fields = fields.split(',');\n }\n var allFields = __spreadArray([], __read(fields), false);\n Tasks_consts_1.taskDefaultFields.forEach(function (field) {\n if (typeof field === 'object') {\n if (field['way_points']) {\n var wayPointsIndex = allFields.findIndex(function (field) { return typeof field === 'object' && field['way_points']; });\n var wayPointsFields_1 = wayPointsIndex > -1 ? allFields.splice(wayPointsIndex, 1)[0]['way_points'] : [];\n field['way_points'].forEach(function (wayPointField) {\n if (!wayPointsFields_1.includes(wayPointField)) {\n wayPointsFields_1.push(wayPointField);\n }\n });\n allFields.push({ way_points: wayPointsFields_1 });\n }\n }\n else if (!fields.includes(field)) {\n allFields.push(field);\n }\n });\n // To take advantage of the LightData store cache\n if (allFields.length === fields.length) {\n return fields;\n }\n return allFields;\n };\n return TasksApi;\n}());\nexports[\"default\"] = TasksApi;\n//# sourceMappingURL=tasks-api.js.map\n\n//# sourceURL=webpack://BringgDashboardSDK/./dist/Task/v2/tasks-api.js?");
2837
2837
 
2838
2838
  /***/ }),
2839
2839
 
@@ -3486,6 +3486,17 @@ eval("\nvar __importDefault = (this && this.__importDefault) || function (mod) {
3486
3486
 
3487
3487
  /***/ }),
3488
3488
 
3489
+ /***/ "./dist/VrpAutoDispatchStatus/Entity/vrp-auto-dispatch-status-entity.js":
3490
+ /*!******************************************************************************!*\
3491
+ !*** ./dist/VrpAutoDispatchStatus/Entity/vrp-auto-dispatch-status-entity.js ***!
3492
+ \******************************************************************************/
3493
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
3494
+
3495
+ "use strict";
3496
+ eval("\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar Tasks_consts_1 = __webpack_require__(/*! ../../Task/Tasks.consts */ \"./dist/Task/Tasks.consts.js\");\nvar VRP_AUTO_DISPATCH_DONE_EVENT = 'vrp auto dispatch done';\nvar VrpAutoDispatchStatusEntity = /** @class */ (function () {\n function VrpAutoDispatchStatusEntity(tasksStore, storableRealtimeSubscriptions) {\n this.tasksStore = tasksStore;\n this.storableRealtimeSubscriptions = storableRealtimeSubscriptions;\n }\n VrpAutoDispatchStatusEntity.prototype.subscribeToVrpAutoDispatchDone = function () {\n var _this = this;\n return this.storableRealtimeSubscriptions.onAnyEvent(VRP_AUTO_DISPATCH_DONE_EVENT, function (teamState) {\n Object.values(teamState).forEach(function (tasksByTeam) {\n Object.entries(tasksByTeam).forEach(function (_a) {\n var _b;\n var _c = __read(_a, 2), taskId = _c[0], status = _c[1].status;\n if (status == null) {\n return;\n }\n var task = _this.tasksStore.get(Number(taskId));\n if (!task) {\n return;\n }\n if (((_b = task.task_auto_dispatch_status) === null || _b === void 0 ? void 0 : _b.status) === status) {\n return;\n }\n task.task_auto_dispatch_status = { status: status };\n _this.storableRealtimeSubscriptions.runEventCallbacks(Tasks_consts_1.TaskRealTimeEvents.TASK_UPDATE, {\n current: task,\n diff: { task_auto_dispatch_status: { status: status } }\n });\n });\n });\n });\n };\n return VrpAutoDispatchStatusEntity;\n}());\nexports[\"default\"] = VrpAutoDispatchStatusEntity;\n//# sourceMappingURL=vrp-auto-dispatch-status-entity.js.map\n\n//# sourceURL=webpack://BringgDashboardSDK/./dist/VrpAutoDispatchStatus/Entity/vrp-auto-dispatch-status-entity.js?");
3497
+
3498
+ /***/ }),
3499
+
3489
3500
  /***/ "./dist/WebApplicationConfiguration/Entity/WebApplicationConfigurationEntity.js":
3490
3501
  /*!**************************************************************************************!*\
3491
3502
  !*** ./dist/WebApplicationConfiguration/Entity/WebApplicationConfigurationEntity.js ***!
@@ -3614,7 +3625,7 @@ eval("\nvar __createBinding = (this && this.__createBinding) || (Object.create ?
3614
3625
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
3615
3626
 
3616
3627
  "use strict";
3617
- eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar StoreEntity_1 = __webpack_require__(/*! ./Core/StoreEntity */ \"./dist/Core/StoreEntity.js\");\nvar RealtimeSubscriptions = /** @class */ (function () {\n function RealtimeSubscriptions(session) {\n var _this = this;\n this.subscribe = function (eventType, callback) {\n var raiseOnEvent = function (entity) { return _this.onEvent(eventType, entity); };\n if (!_this.subscriptions.has(eventType)) {\n _this.realTime.on(eventType, raiseOnEvent);\n _this.subscriptions.set(eventType, new Set());\n }\n _this.subscriptions.get(eventType).add(callback);\n return function () {\n _this.subscriptions.get(eventType).delete(callback);\n if (_this.subscriptions.get(eventType).size === 0) {\n _this.realTime.off(eventType, raiseOnEvent);\n _this.subscriptions.delete(eventType);\n }\n };\n };\n this.onEvent = function (eventType, entity) {\n if (_this.subscriptions.get(eventType)) {\n return Array.from(_this.subscriptions.get(eventType)).map(function (fn) { return fn(entity); });\n }\n };\n this.realTime = new StoreEntity_1.RealTimeHandler(session.persistentConnection);\n this.subscriptions = new Map();\n }\n return RealtimeSubscriptions;\n}());\nexports[\"default\"] = RealtimeSubscriptions;\n//# sourceMappingURL=realtime-subscriptions.js.map\n\n//# sourceURL=webpack://BringgDashboardSDK/./dist/realtime-subscriptions.js?");
3628
+ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar StoreEntity_1 = __webpack_require__(/*! ./Core/StoreEntity */ \"./dist/Core/StoreEntity.js\");\nvar RealtimeSubscriptions = /** @class */ (function () {\n function RealtimeSubscriptions(session) {\n var _this = this;\n this.subscribe = function (eventType, callback) {\n if (!_this.subscriptions.has(eventType)) {\n var raiseOnEvent = function (entity) { return _this.onEvent(eventType, entity); };\n _this.raiseOnEventByType.set(eventType, raiseOnEvent);\n _this.realTime.on(eventType, raiseOnEvent);\n _this.subscriptions.set(eventType, new Set());\n }\n _this.subscriptions.get(eventType).add(callback);\n return function () {\n _this.subscriptions.get(eventType).delete(callback);\n if (_this.subscriptions.get(eventType).size === 0) {\n _this.realTime.off(eventType, _this.raiseOnEventByType.get(eventType));\n _this.raiseOnEventByType.delete(eventType);\n _this.subscriptions.delete(eventType);\n }\n };\n };\n this.onEvent = function (eventType, entity) {\n if (_this.subscriptions.get(eventType)) {\n return Array.from(_this.subscriptions.get(eventType)).map(function (fn) { return fn(entity); });\n }\n };\n this.realTime = new StoreEntity_1.RealTimeHandler(session.persistentConnection);\n this.subscriptions = new Map();\n this.raiseOnEventByType = new Map();\n }\n return RealtimeSubscriptions;\n}());\nexports[\"default\"] = RealtimeSubscriptions;\n//# sourceMappingURL=realtime-subscriptions.js.map\n\n//# sourceURL=webpack://BringgDashboardSDK/./dist/realtime-subscriptions.js?");
3618
3629
 
3619
3630
  /***/ }),
3620
3631
 
@@ -3999,7 +4010,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexpo
3999
4010
  /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
4000
4011
 
4001
4012
  "use strict";
4002
- eval("\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.RouteOptimizer = exports.MapOptimizer = void 0;\n__exportStar(__webpack_require__(/*! ./types/action */ \"./node_modules/@bringg/types/types/action.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/action_data */ \"./node_modules/@bringg/types/types/action_data.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/actual_break */ \"./node_modules/@bringg/types/types/actual_break.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/addons_management */ \"./node_modules/@bringg/types/types/addons_management/index.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/admin_users */ \"./node_modules/@bringg/types/types/admin_users.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/ai_insights */ \"./node_modules/@bringg/types/types/ai_insights.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/alert */ \"./node_modules/@bringg/types/types/alert.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/analytics */ \"./node_modules/@bringg/types/types/analytics/index.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/application */ \"./node_modules/@bringg/types/types/application.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/async_operation_status */ \"./node_modules/@bringg/types/types/async_operation_status.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/audit_changes */ \"./node_modules/@bringg/types/types/audit_changes.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/auth */ \"./node_modules/@bringg/types/types/auth.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/auto_dispatch_status */ \"./node_modules/@bringg/types/types/auto_dispatch_status.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/capacity-planning */ \"./node_modules/@bringg/types/types/capacity-planning/index.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/carrier_cancellation_reason */ \"./node_modules/@bringg/types/types/carrier_cancellation_reason.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/chat */ \"./node_modules/@bringg/types/types/chat/index.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/chat_conversation */ \"./node_modules/@bringg/types/types/chat_conversation.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/chat_message */ \"./node_modules/@bringg/types/types/chat_message.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/common */ \"./node_modules/@bringg/types/types/common.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/company */ \"./node_modules/@bringg/types/types/company.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/config_loader */ \"./node_modules/@bringg/types/types/config_loader.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/cost_type */ \"./node_modules/@bringg/types/types/cost_type.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/country */ \"./node_modules/@bringg/types/types/country.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/crew */ \"./node_modules/@bringg/types/types/crew.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/currency */ \"./node_modules/@bringg/types/types/currency.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/custom_attribute */ \"./node_modules/@bringg/types/types/custom_attribute.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/custom_filter */ \"./node_modules/@bringg/types/types/custom_filter.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/customer */ \"./node_modules/@bringg/types/types/customer.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/customer_configuration */ \"./node_modules/@bringg/types/types/customer_configuration.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/customer_experience */ \"./node_modules/@bringg/types/types/customer_experience.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/customers_service */ \"./node_modules/@bringg/types/types/customers_service.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/dashboard_ui_configuration */ \"./node_modules/@bringg/types/types/dashboard_ui_configuration.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/delivery_block */ \"./node_modules/@bringg/types/types/delivery_block.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/delivery_block_schedule */ \"./node_modules/@bringg/types/types/delivery_block_schedule.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/delivery_provider */ \"./node_modules/@bringg/types/types/delivery_provider.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/delivery_provider_aggregator_item */ \"./node_modules/@bringg/types/types/delivery_provider_aggregator_item.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/delivery_provider_category_item */ \"./node_modules/@bringg/types/types/delivery_provider_category_item.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/delivery_provider_display_destination_item */ \"./node_modules/@bringg/types/types/delivery_provider_display_destination_item.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/delivery_provider_lookup_item */ \"./node_modules/@bringg/types/types/delivery_provider_lookup_item.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/delivery_provider_offering */ \"./node_modules/@bringg/types/types/delivery_provider_offering.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/deprecated_alert_types */ \"./node_modules/@bringg/types/types/deprecated_alert_types.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/dispatcher-v2 */ \"./node_modules/@bringg/types/types/dispatcher-v2/index.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/dispute */ \"./node_modules/@bringg/types/types/dispute.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/distance_units */ \"./node_modules/@bringg/types/types/distance_units.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/driver_unavailability */ \"./node_modules/@bringg/types/types/driver_unavailability.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/emulated_delivery_provider_types */ \"./node_modules/@bringg/types/types/emulated_delivery_provider_types.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/error_code */ \"./node_modules/@bringg/types/types/error_code.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/event */ \"./node_modules/@bringg/types/types/event.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/external_data_team */ \"./node_modules/@bringg/types/types/external_data_team.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/filter_conditions */ \"./node_modules/@bringg/types/types/filter_conditions.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/fleet */ \"./node_modules/@bringg/types/types/fleet.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/fleet_router_rules */ \"./node_modules/@bringg/types/types/fleet_router_rules.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/fleet_template */ \"./node_modules/@bringg/types/types/fleet_template.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/floating_inventory */ \"./node_modules/@bringg/types/types/floating_inventory.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/franchisee */ \"./node_modules/@bringg/types/types/franchisee.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/geocoding */ \"./node_modules/@bringg/types/types/geocoding.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/handling_units */ \"./node_modules/@bringg/types/types/handling_units.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/integration */ \"./node_modules/@bringg/types/types/integration.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/keyset_pagination */ \"./node_modules/@bringg/types/types/keyset_pagination.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/language */ \"./node_modules/@bringg/types/types/language.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/location */ \"./node_modules/@bringg/types/types/location.js\"), exports);\nexports.MapOptimizer = __webpack_require__(/*! ./types/map_optimizer_types */ \"./node_modules/@bringg/types/types/map_optimizer_types.js\");\n__exportStar(__webpack_require__(/*! ./types/mapbox */ \"./node_modules/@bringg/types/types/mapbox.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/menu */ \"./node_modules/@bringg/types/types/menu.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/merchant */ \"./node_modules/@bringg/types/types/merchant.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/merchant_configuration */ \"./node_modules/@bringg/types/types/merchant_configuration.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/merchant_prototypes */ \"./node_modules/@bringg/types/types/merchant_prototypes.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/merchant_secrets_service */ \"./node_modules/@bringg/types/types/merchant_secrets_service.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/notification_subscription */ \"./node_modules/@bringg/types/types/notification_subscription.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/notification_template */ \"./node_modules/@bringg/types/types/notification_template.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/notification_type */ \"./node_modules/@bringg/types/types/notification_type.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/open_fleet */ \"./node_modules/@bringg/types/types/open_fleet.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/opt_in_out_history */ \"./node_modules/@bringg/types/types/opt_in_out_history.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/optimization_assignment */ \"./node_modules/@bringg/types/types/optimization_assignment.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/optimization_configuration */ \"./node_modules/@bringg/types/types/optimization_configuration.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/optimization_configurations_teams */ \"./node_modules/@bringg/types/types/optimization_configurations_teams.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/optimization_rerun */ \"./node_modules/@bringg/types/types/optimization_rerun.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/optimization_result */ \"./node_modules/@bringg/types/types/optimization_result.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/optimization_type */ \"./node_modules/@bringg/types/types/optimization_type.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/order_hitory_page_types */ \"./node_modules/@bringg/types/types/order_hitory_page_types.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/otp_actions */ \"./node_modules/@bringg/types/types/otp_actions.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/package */ \"./node_modules/@bringg/types/types/package.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/parking_spot */ \"./node_modules/@bringg/types/types/parking_spot.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/planned_delivery_window */ \"./node_modules/@bringg/types/types/planned_delivery_window.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/planned_route */ \"./node_modules/@bringg/types/types/planned_route.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/predicate */ \"./node_modules/@bringg/types/types/predicate.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/preset_view */ \"./node_modules/@bringg/types/types/preset_view/index.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/privilege */ \"./node_modules/@bringg/types/types/privilege.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/push_notification_registration */ \"./node_modules/@bringg/types/types/push_notification_registration.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/push_token_subscription */ \"./node_modules/@bringg/types/types/push_token_subscription.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/questionnaire_data */ \"./node_modules/@bringg/types/types/questionnaire_data.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/quote */ \"./node_modules/@bringg/types/types/quote.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/rate_card */ \"./node_modules/@bringg/types/types/rate_card.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/rating */ \"./node_modules/@bringg/types/types/rating.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/realtime_event */ \"./node_modules/@bringg/types/types/realtime_event.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/reason_to_cancel_task */ \"./node_modules/@bringg/types/types/reason_to_cancel_task.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/reason_to_change_inventory */ \"./node_modules/@bringg/types/types/reason_to_change_inventory.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/reason_to_reassign_task */ \"./node_modules/@bringg/types/types/reason_to_reassign_task.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/relay */ \"./node_modules/@bringg/types/types/relay/index.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/report_preference */ \"./node_modules/@bringg/types/types/report_preference.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/reports */ \"./node_modules/@bringg/types/types/reports.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/request_origin */ \"./node_modules/@bringg/types/types/request_origin.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/route_cost */ \"./node_modules/@bringg/types/types/route_cost.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/route_kpi */ \"./node_modules/@bringg/types/types/route_kpi.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/route_optimization */ \"./node_modules/@bringg/types/types/route_optimization.js\"), exports);\nexports.RouteOptimizer = __webpack_require__(/*! ./types/route_optimizer_types */ \"./node_modules/@bringg/types/types/route_optimizer_types.js\");\n__exportStar(__webpack_require__(/*! ./types/route-settings */ \"./node_modules/@bringg/types/types/route-settings.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/routesMonitoring */ \"./node_modules/@bringg/types/types/routesMonitoring/index.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/rpc */ \"./node_modules/@bringg/types/types/rpc.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/run */ \"./node_modules/@bringg/types/types/run.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/scan */ \"./node_modules/@bringg/types/types/scan.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/security_configuration */ \"./node_modules/@bringg/types/types/security_configuration.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/serializer */ \"./node_modules/@bringg/types/types/serializer.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/service */ \"./node_modules/@bringg/types/types/service.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/service_area */ \"./node_modules/@bringg/types/types/service_area.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/service_event */ \"./node_modules/@bringg/types/types/service_event.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/service_plan */ \"./node_modules/@bringg/types/types/service_plan.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/service_window */ \"./node_modules/@bringg/types/types/service_window.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/shared_location */ \"./node_modules/@bringg/types/types/shared_location.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/shift */ \"./node_modules/@bringg/types/types/shift.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/skill */ \"./node_modules/@bringg/types/types/skill.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/sms_data */ \"./node_modules/@bringg/types/types/sms_data.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/sms_number */ \"./node_modules/@bringg/types/types/sms_number.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/sms_provider_account */ \"./node_modules/@bringg/types/types/sms_provider_account.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/sms_setting */ \"./node_modules/@bringg/types/types/sms_setting.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/support-search */ \"./node_modules/@bringg/types/types/support-search.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/support-ticket */ \"./node_modules/@bringg/types/types/support-ticket.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/tag */ \"./node_modules/@bringg/types/types/tag.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/tag_customer_configuration */ \"./node_modules/@bringg/types/types/tag_customer_configuration.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/tag_merchant_configuration */ \"./node_modules/@bringg/types/types/tag_merchant_configuration.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/tag_rules_configuration */ \"./node_modules/@bringg/types/types/tag_rules_configuration.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/task */ \"./node_modules/@bringg/types/types/task.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/task_aggregations */ \"./node_modules/@bringg/types/types/task_aggregations.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/task_configuration */ \"./node_modules/@bringg/types/types/task_configuration.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/task_managed_attribute */ \"./node_modules/@bringg/types/types/task_managed_attribute.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/task_payment_history */ \"./node_modules/@bringg/types/types/task_payment_history.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/task_rates */ \"./node_modules/@bringg/types/types/task_rates.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/task_reassign_reasons */ \"./node_modules/@bringg/types/types/task_reassign_reasons.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/task_reject */ \"./node_modules/@bringg/types/types/task_reject.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/task_service */ \"./node_modules/@bringg/types/types/task_service.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/task_templates */ \"./node_modules/@bringg/types/types/task_templates.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/taskRejectReason */ \"./node_modules/@bringg/types/types/taskRejectReason/index.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/team_configuration */ \"./node_modules/@bringg/types/types/team_configuration.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/team_service_zip_codes */ \"./node_modules/@bringg/types/types/team_service_zip_codes.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/teams */ \"./node_modules/@bringg/types/types/teams.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/template_languages */ \"./node_modules/@bringg/types/types/template_languages.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/template_merchants */ \"./node_modules/@bringg/types/types/template_merchants.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/templates */ \"./node_modules/@bringg/types/types/templates.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/tender_notify */ \"./node_modules/@bringg/types/types/tender_notify.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/time-window-change-origin */ \"./node_modules/@bringg/types/types/time-window-change-origin.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/twilio_number */ \"./node_modules/@bringg/types/types/twilio_number.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/upload */ \"./node_modules/@bringg/types/types/upload.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/user_configuration */ \"./node_modules/@bringg/types/types/user_configuration.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/user_realtime_data */ \"./node_modules/@bringg/types/types/user_realtime_data.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/user_types */ \"./node_modules/@bringg/types/types/user_types.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/users */ \"./node_modules/@bringg/types/types/users.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/vehicle */ \"./node_modules/@bringg/types/types/vehicle.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/vehicle_category */ \"./node_modules/@bringg/types/types/vehicle_category.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/vehicle_lookup */ \"./node_modules/@bringg/types/types/vehicle_lookup.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/vehicle_type */ \"./node_modules/@bringg/types/types/vehicle_type.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/web_application_configuration */ \"./node_modules/@bringg/types/types/web_application_configuration.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/webhook_authentication_configuration */ \"./node_modules/@bringg/types/types/webhook_authentication_configuration.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/webhook_definition */ \"./node_modules/@bringg/types/types/webhook_definition.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/webhooks */ \"./node_modules/@bringg/types/types/webhooks.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/webhooks_configuration */ \"./node_modules/@bringg/types/types/webhooks_configuration.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/widget */ \"./node_modules/@bringg/types/types/widget.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/windows */ \"./node_modules/@bringg/types/types/windows.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/workflow */ \"./node_modules/@bringg/types/types/workflow/index.js\"), exports);\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://BringgDashboardSDK/./node_modules/@bringg/types/index.js?");
4013
+ eval("\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.RouteOptimizer = exports.MapOptimizer = void 0;\n__exportStar(__webpack_require__(/*! ./types/action */ \"./node_modules/@bringg/types/types/action.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/action_data */ \"./node_modules/@bringg/types/types/action_data.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/actual_break */ \"./node_modules/@bringg/types/types/actual_break.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/addons_management */ \"./node_modules/@bringg/types/types/addons_management/index.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/admin_users */ \"./node_modules/@bringg/types/types/admin_users.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/ai_insights */ \"./node_modules/@bringg/types/types/ai_insights.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/alert */ \"./node_modules/@bringg/types/types/alert.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/analytics */ \"./node_modules/@bringg/types/types/analytics/index.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/application */ \"./node_modules/@bringg/types/types/application.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/async_operation_status */ \"./node_modules/@bringg/types/types/async_operation_status.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/audit_changes */ \"./node_modules/@bringg/types/types/audit_changes.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/auth */ \"./node_modules/@bringg/types/types/auth.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/auto_dispatch_status */ \"./node_modules/@bringg/types/types/auto_dispatch_status.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/capacity-planning */ \"./node_modules/@bringg/types/types/capacity-planning/index.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/carrier_availability */ \"./node_modules/@bringg/types/types/carrier_availability.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/carrier_cancellation_reason */ \"./node_modules/@bringg/types/types/carrier_cancellation_reason.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/chat */ \"./node_modules/@bringg/types/types/chat/index.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/chat_conversation */ \"./node_modules/@bringg/types/types/chat_conversation.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/chat_message */ \"./node_modules/@bringg/types/types/chat_message.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/common */ \"./node_modules/@bringg/types/types/common.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/company */ \"./node_modules/@bringg/types/types/company.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/config_loader */ \"./node_modules/@bringg/types/types/config_loader.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/cost_type */ \"./node_modules/@bringg/types/types/cost_type.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/country */ \"./node_modules/@bringg/types/types/country.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/crew */ \"./node_modules/@bringg/types/types/crew.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/currency */ \"./node_modules/@bringg/types/types/currency.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/custom_attribute */ \"./node_modules/@bringg/types/types/custom_attribute.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/custom_filter */ \"./node_modules/@bringg/types/types/custom_filter.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/customer */ \"./node_modules/@bringg/types/types/customer.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/customer_configuration */ \"./node_modules/@bringg/types/types/customer_configuration.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/customer_experience */ \"./node_modules/@bringg/types/types/customer_experience.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/customers_service */ \"./node_modules/@bringg/types/types/customers_service.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/dashboard_ui_configuration */ \"./node_modules/@bringg/types/types/dashboard_ui_configuration.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/delivery_block */ \"./node_modules/@bringg/types/types/delivery_block.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/delivery_block_schedule */ \"./node_modules/@bringg/types/types/delivery_block_schedule.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/delivery_provider */ \"./node_modules/@bringg/types/types/delivery_provider.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/delivery_provider_aggregator_item */ \"./node_modules/@bringg/types/types/delivery_provider_aggregator_item.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/delivery_provider_category_item */ \"./node_modules/@bringg/types/types/delivery_provider_category_item.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/delivery_provider_display_destination_item */ \"./node_modules/@bringg/types/types/delivery_provider_display_destination_item.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/delivery_provider_lookup_item */ \"./node_modules/@bringg/types/types/delivery_provider_lookup_item.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/delivery_provider_offering */ \"./node_modules/@bringg/types/types/delivery_provider_offering.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/deprecated_alert_types */ \"./node_modules/@bringg/types/types/deprecated_alert_types.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/dispatcher-v2 */ \"./node_modules/@bringg/types/types/dispatcher-v2/index.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/dispute */ \"./node_modules/@bringg/types/types/dispute.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/distance_units */ \"./node_modules/@bringg/types/types/distance_units.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/driver_unavailability */ \"./node_modules/@bringg/types/types/driver_unavailability.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/emulated_delivery_provider_types */ \"./node_modules/@bringg/types/types/emulated_delivery_provider_types.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/error_code */ \"./node_modules/@bringg/types/types/error_code.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/event */ \"./node_modules/@bringg/types/types/event.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/external_data_team */ \"./node_modules/@bringg/types/types/external_data_team.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/filter_conditions */ \"./node_modules/@bringg/types/types/filter_conditions.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/fleet */ \"./node_modules/@bringg/types/types/fleet.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/fleet_router_rules */ \"./node_modules/@bringg/types/types/fleet_router_rules.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/fleet_template */ \"./node_modules/@bringg/types/types/fleet_template.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/floating_inventory */ \"./node_modules/@bringg/types/types/floating_inventory.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/franchisee */ \"./node_modules/@bringg/types/types/franchisee.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/geocoding */ \"./node_modules/@bringg/types/types/geocoding.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/handling_units */ \"./node_modules/@bringg/types/types/handling_units.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/integration */ \"./node_modules/@bringg/types/types/integration.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/keyset_pagination */ \"./node_modules/@bringg/types/types/keyset_pagination.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/language */ \"./node_modules/@bringg/types/types/language.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/location */ \"./node_modules/@bringg/types/types/location.js\"), exports);\nexports.MapOptimizer = __webpack_require__(/*! ./types/map_optimizer_types */ \"./node_modules/@bringg/types/types/map_optimizer_types.js\");\n__exportStar(__webpack_require__(/*! ./types/mapbox */ \"./node_modules/@bringg/types/types/mapbox.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/menu */ \"./node_modules/@bringg/types/types/menu.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/merchant */ \"./node_modules/@bringg/types/types/merchant.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/merchant_configuration */ \"./node_modules/@bringg/types/types/merchant_configuration.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/merchant_prototypes */ \"./node_modules/@bringg/types/types/merchant_prototypes.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/merchant_secrets_service */ \"./node_modules/@bringg/types/types/merchant_secrets_service.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/notification_subscription */ \"./node_modules/@bringg/types/types/notification_subscription.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/notification_template */ \"./node_modules/@bringg/types/types/notification_template.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/notification_type */ \"./node_modules/@bringg/types/types/notification_type.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/open_fleet */ \"./node_modules/@bringg/types/types/open_fleet.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/opt_in_out_history */ \"./node_modules/@bringg/types/types/opt_in_out_history.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/optimization_assignment */ \"./node_modules/@bringg/types/types/optimization_assignment.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/optimization_configuration */ \"./node_modules/@bringg/types/types/optimization_configuration.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/optimization_configurations_teams */ \"./node_modules/@bringg/types/types/optimization_configurations_teams.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/optimization_rerun */ \"./node_modules/@bringg/types/types/optimization_rerun.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/optimization_result */ \"./node_modules/@bringg/types/types/optimization_result.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/optimization_type */ \"./node_modules/@bringg/types/types/optimization_type.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/order_hitory_page_types */ \"./node_modules/@bringg/types/types/order_hitory_page_types.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/otp_actions */ \"./node_modules/@bringg/types/types/otp_actions.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/package */ \"./node_modules/@bringg/types/types/package.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/parking_spot */ \"./node_modules/@bringg/types/types/parking_spot.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/planned_delivery_window */ \"./node_modules/@bringg/types/types/planned_delivery_window.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/planned_route */ \"./node_modules/@bringg/types/types/planned_route.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/predicate */ \"./node_modules/@bringg/types/types/predicate.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/preset_view */ \"./node_modules/@bringg/types/types/preset_view/index.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/privilege */ \"./node_modules/@bringg/types/types/privilege.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/push_notification_registration */ \"./node_modules/@bringg/types/types/push_notification_registration.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/push_token_subscription */ \"./node_modules/@bringg/types/types/push_token_subscription.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/questionnaire_data */ \"./node_modules/@bringg/types/types/questionnaire_data.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/quote */ \"./node_modules/@bringg/types/types/quote.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/rate_card */ \"./node_modules/@bringg/types/types/rate_card.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/rating */ \"./node_modules/@bringg/types/types/rating.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/realtime_event */ \"./node_modules/@bringg/types/types/realtime_event.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/reason_to_cancel_task */ \"./node_modules/@bringg/types/types/reason_to_cancel_task.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/reason_to_change_inventory */ \"./node_modules/@bringg/types/types/reason_to_change_inventory.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/reason_to_reassign_task */ \"./node_modules/@bringg/types/types/reason_to_reassign_task.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/relay */ \"./node_modules/@bringg/types/types/relay/index.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/report_preference */ \"./node_modules/@bringg/types/types/report_preference.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/reports */ \"./node_modules/@bringg/types/types/reports.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/request_origin */ \"./node_modules/@bringg/types/types/request_origin.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/route_cost */ \"./node_modules/@bringg/types/types/route_cost.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/route_kpi */ \"./node_modules/@bringg/types/types/route_kpi.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/route_optimization */ \"./node_modules/@bringg/types/types/route_optimization.js\"), exports);\nexports.RouteOptimizer = __webpack_require__(/*! ./types/route_optimizer_types */ \"./node_modules/@bringg/types/types/route_optimizer_types.js\");\n__exportStar(__webpack_require__(/*! ./types/route-settings */ \"./node_modules/@bringg/types/types/route-settings.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/routesMonitoring */ \"./node_modules/@bringg/types/types/routesMonitoring/index.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/rpc */ \"./node_modules/@bringg/types/types/rpc.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/run */ \"./node_modules/@bringg/types/types/run.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/scan */ \"./node_modules/@bringg/types/types/scan.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/security_configuration */ \"./node_modules/@bringg/types/types/security_configuration.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/serializer */ \"./node_modules/@bringg/types/types/serializer.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/service */ \"./node_modules/@bringg/types/types/service.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/service_area */ \"./node_modules/@bringg/types/types/service_area.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/service_event */ \"./node_modules/@bringg/types/types/service_event.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/service_plan */ \"./node_modules/@bringg/types/types/service_plan.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/service_window */ \"./node_modules/@bringg/types/types/service_window.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/shared_location */ \"./node_modules/@bringg/types/types/shared_location.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/shift */ \"./node_modules/@bringg/types/types/shift.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/skill */ \"./node_modules/@bringg/types/types/skill.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/sms_data */ \"./node_modules/@bringg/types/types/sms_data.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/sms_number */ \"./node_modules/@bringg/types/types/sms_number.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/sms_provider_account */ \"./node_modules/@bringg/types/types/sms_provider_account.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/sms_setting */ \"./node_modules/@bringg/types/types/sms_setting.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/support-search */ \"./node_modules/@bringg/types/types/support-search.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/support-ticket */ \"./node_modules/@bringg/types/types/support-ticket.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/tag */ \"./node_modules/@bringg/types/types/tag.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/tag_customer_configuration */ \"./node_modules/@bringg/types/types/tag_customer_configuration.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/tag_merchant_configuration */ \"./node_modules/@bringg/types/types/tag_merchant_configuration.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/tag_rules_configuration */ \"./node_modules/@bringg/types/types/tag_rules_configuration.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/task */ \"./node_modules/@bringg/types/types/task.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/task_aggregations */ \"./node_modules/@bringg/types/types/task_aggregations.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/task_configuration */ \"./node_modules/@bringg/types/types/task_configuration.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/task_managed_attribute */ \"./node_modules/@bringg/types/types/task_managed_attribute.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/task_payment_history */ \"./node_modules/@bringg/types/types/task_payment_history.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/task_rates */ \"./node_modules/@bringg/types/types/task_rates.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/task_reassign_reasons */ \"./node_modules/@bringg/types/types/task_reassign_reasons.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/task_reject */ \"./node_modules/@bringg/types/types/task_reject.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/task_service */ \"./node_modules/@bringg/types/types/task_service.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/task_templates */ \"./node_modules/@bringg/types/types/task_templates.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/taskRejectReason */ \"./node_modules/@bringg/types/types/taskRejectReason/index.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/team_configuration */ \"./node_modules/@bringg/types/types/team_configuration.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/team_service_zip_codes */ \"./node_modules/@bringg/types/types/team_service_zip_codes.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/teams */ \"./node_modules/@bringg/types/types/teams.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/template_languages */ \"./node_modules/@bringg/types/types/template_languages.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/template_merchants */ \"./node_modules/@bringg/types/types/template_merchants.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/templates */ \"./node_modules/@bringg/types/types/templates.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/tender_notify */ \"./node_modules/@bringg/types/types/tender_notify.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/time-window-change-origin */ \"./node_modules/@bringg/types/types/time-window-change-origin.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/twilio_number */ \"./node_modules/@bringg/types/types/twilio_number.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/upload */ \"./node_modules/@bringg/types/types/upload.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/user_configuration */ \"./node_modules/@bringg/types/types/user_configuration.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/user_realtime_data */ \"./node_modules/@bringg/types/types/user_realtime_data.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/user_types */ \"./node_modules/@bringg/types/types/user_types.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/users */ \"./node_modules/@bringg/types/types/users.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/vehicle */ \"./node_modules/@bringg/types/types/vehicle.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/vehicle_category */ \"./node_modules/@bringg/types/types/vehicle_category.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/vehicle_lookup */ \"./node_modules/@bringg/types/types/vehicle_lookup.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/vehicle_type */ \"./node_modules/@bringg/types/types/vehicle_type.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/web_application_configuration */ \"./node_modules/@bringg/types/types/web_application_configuration.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/webhook_authentication_configuration */ \"./node_modules/@bringg/types/types/webhook_authentication_configuration.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/webhook_definition */ \"./node_modules/@bringg/types/types/webhook_definition.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/webhooks */ \"./node_modules/@bringg/types/types/webhooks.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/webhooks_configuration */ \"./node_modules/@bringg/types/types/webhooks_configuration.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/widget */ \"./node_modules/@bringg/types/types/widget.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/windows */ \"./node_modules/@bringg/types/types/windows.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/workflow */ \"./node_modules/@bringg/types/types/workflow/index.js\"), exports);\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://BringgDashboardSDK/./node_modules/@bringg/types/index.js?");
4003
4014
 
4004
4015
  /***/ }),
4005
4016
 
@@ -4784,6 +4795,17 @@ eval("\nvar __createBinding = (this && this.__createBinding) || (Object.create ?
4784
4795
 
4785
4796
  /***/ }),
4786
4797
 
4798
+ /***/ "./node_modules/@bringg/types/types/carrier_availability.js":
4799
+ /*!******************************************************************!*\
4800
+ !*** ./node_modules/@bringg/types/types/carrier_availability.js ***!
4801
+ \******************************************************************/
4802
+ /***/ ((__unused_webpack_module, exports) => {
4803
+
4804
+ "use strict";
4805
+ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n//# sourceMappingURL=carrier_availability.js.map\n\n//# sourceURL=webpack://BringgDashboardSDK/./node_modules/@bringg/types/types/carrier_availability.js?");
4806
+
4807
+ /***/ }),
4808
+
4787
4809
  /***/ "./node_modules/@bringg/types/types/carrier_cancellation_reason.js":
4788
4810
  /*!*************************************************************************!*\
4789
4811
  !*** ./node_modules/@bringg/types/types/carrier_cancellation_reason.js ***!
@@ -5231,7 +5253,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexpo
5231
5253
  /***/ ((__unused_webpack_module, exports) => {
5232
5254
 
5233
5255
  "use strict";
5234
- eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.AvailabilityCalculationOrigin = exports.EventType = exports.AssociationsChangedType = void 0;\nvar AssociationsChangedType;\n(function (AssociationsChangedType) {\n AssociationsChangedType[\"way_point\"] = \"way_point\";\n AssociationsChangedType[\"task_inventory\"] = \"task_inventory\";\n AssociationsChangedType[\"form\"] = \"form\";\n AssociationsChangedType[\"task_note\"] = \"task_note\";\n AssociationsChangedType[\"task_photo\"] = \"task_photo\";\n AssociationsChangedType[\"signature\"] = \"signature\";\n})(AssociationsChangedType || (exports.AssociationsChangedType = AssociationsChangedType = {}));\nvar EventType;\n(function (EventType) {\n EventType[\"ApplicationActionRun\"] = \"application:action:run\";\n EventType[\"UserPreLeftHome\"] = \"user:pre_left_home\";\n EventType[\"UserPreGotHome\"] = \"user:pre_got_home\";\n EventType[\"UserTypeChanged\"] = \"user_type_changed\";\n EventType[\"TaskCashoutCreated\"] = \"task:cashout:created\";\n EventType[\"EmployeeUpdateLocation\"] = \"employee:update_location\";\n EventType[\"EmployeeUpdate\"] = \"employee:update\";\n EventType[\"TaskNew\"] = \"task:new\";\n EventType[\"TaskAcknowledged\"] = \"task:acknowledged\";\n EventType[\"TaskAccepted\"] = \"task:status_changed:accepted\";\n EventType[\"TaskAssigned\"] = \"task:status_changed:assigned\";\n EventType[\"TaskCancelled\"] = \"task:status_changed:cancelled\";\n EventType[\"TaskCheckedIn\"] = \"task:status_changed:checked_in\";\n EventType[\"TaskDone\"] = \"task:status_changed:done\";\n EventType[\"TaskOnTheWay\"] = \"task:status_changed:on_the_way\";\n EventType[\"TaskStatusChangedRejected\"] = \"task:status_changed:rejected\";\n EventType[\"TaskPaymentHistoryCreated\"] = \"task_payment_history:created\";\n EventType[\"UserRated\"] = \"user:rated\";\n EventType[\"CustomerTipped\"] = \"customer:tipped\";\n EventType[\"CustomerCreated\"] = \"customer:created\";\n EventType[\"CustomerUpdated\"] = \"customer:updated\";\n EventType[\"CustomerOptedIn\"] = \"customer:opted_in\";\n EventType[\"CustomerOptedOut\"] = \"customer:opted_out\";\n EventType[\"CustomerAvailabilityHoursCreated\"] = \"customer:availability_hours:created\";\n EventType[\"CustomerAvailabilityHoursUpdated\"] = \"customer:availability_hours:updated\";\n EventType[\"DeliveryBlockBreakCreated\"] = \"delivery_block_break:created\";\n EventType[\"EmployeeTurnsOffline\"] = \"employee_turns_offline\";\n EventType[\"EmployeeTurnsOnline\"] = \"employee_turns_online\";\n EventType[\"ShiftStarted\"] = \"shift:started\";\n EventType[\"ShiftEnded\"] = \"shift:ended\";\n EventType[\"TaskWayPointAdded\"] = \"task:way_point:added\";\n EventType[\"TaskWayPointRemoved\"] = \"task:way_point:removed\";\n EventType[\"TaskChangePreparation\"] = \"task:change_preparation\";\n EventType[\"TaskPreparationChanged\"] = \"task:preparation_changed\";\n EventType[\"TaskStartPreparation\"] = \"task:start_preparation\";\n EventType[\"TaskStatusChanged\"] = \"task:status_changed\";\n EventType[\"TaskDeleted\"] = \"task:deleted\";\n EventType[\"TaskUpdate\"] = \"task:update\";\n EventType[\"TaskPackagesChanged\"] = \"task:packages_changed\";\n EventType[\"TeamUserAdded\"] = \"team:user_added\";\n EventType[\"UserNew\"] = \"user:new\";\n EventType[\"TeamUserRemoved\"] = \"team:user_removed\";\n EventType[\"TeamTaskAdded\"] = \"team:task_added\";\n EventType[\"TeamTaskRemoved\"] = \"team:task_removed\";\n EventType[\"TaskCreated\"] = \"task:created\";\n EventType[\"TaskCreatedFinal\"] = \"task:created:final\";\n EventType[\"TaskCreatedFinalProcessingDone\"] = \"task:created:final:processing:done\";\n EventType[\"TaskRemoved\"] = \"task:removed\";\n EventType[\"TaskRejected\"] = \"task:rejected\";\n EventType[\"UserGotHome\"] = \"user:got_home\";\n EventType[\"UserLeftHome\"] = \"user:left_home\";\n EventType[\"TaskLate\"] = \"task:late\";\n EventType[\"AppAdded\"] = \"app:added\";\n EventType[\"AppRemoved\"] = \"app:removed\";\n EventType[\"RequestPush\"] = \"request_push\";\n EventType[\"UsersReadyToExecute\"] = \"users:ready_to_execute\";\n EventType[\"UserReadyToExecute\"] = \"user:ready_to_execute\";\n EventType[\"RequestOptimizeRoute\"] = \"request_optimize_route\";\n EventType[\"RequestRecalculateEta\"] = \"request_recalculate_eta\";\n EventType[\"RequestOptimizeDriverRoute\"] = \"request_optimize_driver_route\";\n EventType[\"RequestRescheduleCancelledTask\"] = \"request_reschedule_cancelled_task\";\n EventType[\"SharedLocationCreated\"] = \"shared_location:created\";\n EventType[\"MerchantCreated\"] = \"merchant_created\";\n EventType[\"UserActivityChange\"] = \"user_activity_change\";\n EventType[\"FormCreated\"] = \"form_created\";\n EventType[\"NoteCreated\"] = \"note_created\";\n EventType[\"FloatingInventoryUpdated\"] = \"floating_inventory:updated\";\n EventType[\"WayPointUpdated\"] = \"way_point:updated\";\n EventType[\"WayPointStarted\"] = \"way_point:started\";\n EventType[\"WayPointArrived\"] = \"way_point:checkin\";\n EventType[\"WayPointLeft\"] = \"way_point:checkout\";\n EventType[\"MassWayPointLeft\"] = \"mass:way_point:checkout\";\n EventType[\"WayPointOnTheWayProcessingDone\"] = \"way_point:on_the_way:processing:done\";\n EventType[\"TaskWayPointsDoneProcessingDone\"] = \"task:way_points:done:processing:done\";\n EventType[\"TaskProcessingDone\"] = \"task:processing:done\";\n EventType[\"WayPointRecalculateDistance\"] = \"way_point:recalculate_distance\";\n EventType[\"RecalculateDistance\"] = \"recalculate_distance\";\n EventType[\"TaskReadyToExecute\"] = \"task:ready_to_execute\";\n EventType[\"TeamCreated\"] = \"team:created\";\n EventType[\"TeamUpdate\"] = \"team:update\";\n EventType[\"MerchantConfigurationUpdated\"] = \"merchant:configuration_updated\";\n EventType[\"RouteOptimized\"] = \"route:optimized\";\n EventType[\"RouteOptimizationProgress\"] = \"route:optimization:progress\";\n EventType[\"RouteOptimizationCanceled\"] = \"route:optimization:canceled\";\n EventType[\"RouteOptimizationPolling\"] = \"route:optimization:polling\";\n EventType[\"RouteOptimizationDone\"] = \"route:optimization:done\";\n EventType[\"RouteOptimizationApplied\"] = \"route:optimization:applied\";\n EventType[\"PlanningDone\"] = \"planning:done\";\n EventType[\"InventoryScheduledArrivalCreated\"] = \"inventory:scheduled_arrival:created\";\n EventType[\"Scanned\"] = \"scanned\";\n EventType[\"InventoryScanned\"] = \"inventory_scanned\";\n EventType[\"AlertCreated\"] = \"alert_created\";\n EventType[\"RunStarted\"] = \"run:started\";\n EventType[\"RunEnded\"] = \"run:ended\";\n EventType[\"RunDeleted\"] = \"run:deleted\";\n EventType[\"RunTaskAdded\"] = \"run:task:added\";\n EventType[\"RunTaskRemoved\"] = \"run:task:removed\";\n EventType[\"RunUpdated\"] = \"run:updated\";\n EventType[\"RunCreated\"] = \"run:created\";\n EventType[\"RunSendUpdateWebhook\"] = \"run:send_update_webhook\";\n EventType[\"RunCalculateAggregations\"] = \"run:calculate_aggregations\";\n EventType[\"InvoiceCreated\"] = \"invoice:created\";\n EventType[\"RunDebriefed\"] = \"run:debriefed\";\n EventType[\"TasksMassRemove\"] = \"tasks:mass_remove\";\n EventType[\"TasksMassAssigned\"] = \"tasks:mass_assigned\";\n EventType[\"TasksReadyToExecute\"] = \"tasks:ready_to_execute\";\n EventType[\"TaskMassUngroup\"] = \"task:mass_ungroup\";\n EventType[\"TaskReservationExpired\"] = \"task:reservation_expired\";\n EventType[\"ManifestDone\"] = \"manifest:done\";\n EventType[\"LocationHistoryReceived\"] = \"location_history_received\";\n EventType[\"QuoteReceived\"] = \"quote_received\";\n EventType[\"QuoteAccepted\"] = \"quote_accepted\";\n EventType[\"DeliveryBlockAssigned\"] = \"delivery_block:assigned\";\n EventType[\"DeliveryBlockUnassigned\"] = \"delivery_block:unassigned\";\n EventType[\"DeliveryBlockCreated\"] = \"delivery_block:created\";\n EventType[\"DeliveryBlockUpdated\"] = \"delivery_block:updated\";\n EventType[\"DeliveryBlockDeleted\"] = \"delivery_block:deleted\";\n EventType[\"DriverShiftScheduleUpdated\"] = \"driver_shift_schedule:updated\";\n EventType[\"SchedulerEvent\"] = \"scheduler_event\";\n EventType[\"MobileAnalyticsEvent\"] = \"mobile_analytics_event\";\n EventType[\"MenuUpdated\"] = \"menu:updated\";\n EventType[\"TaskInventoryUpdate\"] = \"task_inventory:update\";\n EventType[\"MobileActionEvent\"] = \"mobile_action_event\";\n EventType[\"WayPointAnswersCreated\"] = \"way_point:answers:created\";\n EventType[\"WayPointScheduledArrivalUpdated\"] = \"way_point:scheduled_arrival:updated\";\n EventType[\"MaskedPhoneCallFinished\"] = \"masked_phone:call_finished\";\n EventType[\"RapidSosRequested\"] = \"rapid_sos_requested\";\n EventType[\"RatingSubmitted\"] = \"rating:submitted\";\n EventType[\"UserActualBreakUpdated\"] = \"user:actual_break:updated\";\n EventType[\"TimeBasedEvent\"] = \"time_based_event\";\n EventType[\"OpenFleetIntegrationEvent\"] = \"open_fleet:integration_event\";\n EventType[\"WorkflowTimeBasedEvent\"] = \"workflow:time_based_event\";\n EventType[\"WorkflowManual\"] = \"workflow:manual\";\n EventType[\"WorkflowProcessNextChunk\"] = \"workflow:process_next_chunk\";\n EventType[\"VrpAutoDispatchFailed\"] = \"vrp_auto_dispatch_failed\";\n EventType[\"PackageCreated\"] = \"package:created\";\n EventType[\"PackageUpdated\"] = \"package:updated\";\n EventType[\"PackageDeleted\"] = \"package:deleted\";\n EventType[\"FleetDeliveryActionCreateFailed\"] = \"fleet_delivery_action:create:failed\";\n EventType[\"FleetDeliveryActionCancelledBeforePickup\"] = \"fleet_delivery_action:cancelled_before_pickup\";\n EventType[\"FleetAssigned\"] = \"fleet:assigned\";\n EventType[\"NoFleetFound\"] = \"fleet_router:no_fleet_found\";\n EventType[\"SmsSendFailed\"] = \"sms:send:failed\";\n EventType[\"TaskAcceptedByExternalFleet\"] = \"task:accepted_by_external_fleet\";\n EventType[\"GroupTaskCalculateAggregations\"] = \"group_task:calculate_aggregations\";\n EventType[\"DriverUnavailabilityChange\"] = \"user:unavailability_change\";\n EventType[\"WayPointCalculateServiceAreas\"] = \"way_point:calculate_service_areas\";\n EventType[\"DeliveryWindowCreated\"] = \"delivery_window:created\";\n EventType[\"DeliveryWindowUpdated\"] = \"delivery_window:updated\";\n EventType[\"DeliveryWindowDeleted\"] = \"delivery_window:deleted\";\n EventType[\"PlannedDeliveryWindowCreated\"] = \"planned_delivery_window:created\";\n EventType[\"PlannedDeliveryWindowUpdated\"] = \"planned_delivery_window:updated\";\n EventType[\"ExclusionWindowCreated\"] = \"exclusion_window:created\";\n EventType[\"ExclusionWindowUpdated\"] = \"exclusion_window:updated\";\n EventType[\"UnassignedAvailabilityTasks\"] = \"unassigned_availability_tasks\";\n EventType[\"DeliveryProviderOfferingCreated\"] = \"delivery_provider_offering:created\";\n EventType[\"DeliveryProviderOfferingUpdated\"] = \"delivery_provider_offering:updated\";\n EventType[\"RecurringTemplateTimesReassigned\"] = \"recurring_template:times_reassigned\";\n EventType[\"CustomWorkflowWebhookTaskEvent\"] = \"custom_workflow:webhook:task\";\n EventType[\"CustomWorkflowWebhookTasksEvent\"] = \"custom_workflow:webhook:tasks\";\n EventType[\"FeetStatusUpdate\"] = \"fleet:status:update\";\n EventType[\"CustomWorkflowWebhookUserEvent\"] = \"custom_workflow:webhook:user\";\n EventType[\"DeliveryWindowFillRatioChanged\"] = \"delivery_window_fill_ratio_changed\";\n EventType[\"CustomWorkflowWebhookDeliveryWindowEvent\"] = \"custom_workflow:webhook:delivery_window\";\n EventType[\"RealtimeDriverLocationWebhookTick\"] = \"workflow:realtime_driver_location_webhook_tick\";\n EventType[\"RealtimeDriverLocationWebhookEvent\"] = \"workflow:realtime_driver_location_webhook\";\n EventType[\"ServiceAreaCreated\"] = \"service_area:created\";\n EventType[\"ServiceAreaUpdated\"] = \"service_area:updated\";\n EventType[\"ServiceAreaDeleted\"] = \"service_area:deleted\";\n EventType[\"TeamsServiceAreaUpdated\"] = \"teams_service_area:updated\";\n EventType[\"ServiceAreaZipcodeUpdated\"] = \"service_area_zipcode:updated\";\n EventType[\"DriverPaymentCreated\"] = \"driver_payment:created\";\n EventType[\"WayPointCheckout\"] = \"way_point:checkout\";\n EventType[\"AnalyticsScheduledReportReady\"] = \"analytics:scheduled_report:ready\";\n EventType[\"AvailabilityCalculationDone\"] = \"availability_calculation:done\";\n EventType[\"WayPointGeocodingFailed\"] = \"way_point:geocoding_failed\";\n EventType[\"RelayTaskCanceled\"] = \"relay:task_canceled\";\n EventType[\"RecalculateTaskEta\"] = \"recalculate_task_eta\";\n EventType[\"RealtimeRunCalculateEtaForRuns\"] = \"REALTIME_RUN_CALCULATE_ETA_FOR_RUNS\";\n EventType[\"RunCalculateEtaForConsecutiveRuns\"] = \"RUN_CALCULATE_ETA_FOR_CONSECUTIVE_RUNS\";\n EventType[\"RunCalculateEtaForRuns\"] = \"RUN_CALCULATE_ETA_FOR_RUNS\";\n EventType[\"WayPointScheduleChanged\"] = \"way_point:schedule_changed\";\n EventType[\"TaskManagedAttributeChanged\"] = \"task_managed_attribute:changed\";\n EventType[\"ApplicationMerchantConfigurationCreated\"] = \"application_merchant_configuration:created\";\n EventType[\"ApplicationMerchantConfigurationUpdated\"] = \"application_merchant_configuration:updated\";\n EventType[\"ApplicationMerchantConfigurationRemoved\"] = \"application_merchant_configuration:removed\";\n EventType[\"VehicleUpdated\"] = \"vehicle:update\";\n})(EventType || (exports.EventType = EventType = {}));\nvar AvailabilityCalculationOrigin;\n(function (AvailabilityCalculationOrigin) {\n AvailabilityCalculationOrigin[\"QUOTE_ORDERS\"] = \"QUOTE_ORDERS\";\n AvailabilityCalculationOrigin[\"AUTOMATION_PLATFORM\"] = \"AUTOMATION_PLATFORM\";\n AvailabilityCalculationOrigin[\"SIMULATOR\"] = \"SIMULATOR\";\n AvailabilityCalculationOrigin[\"ADMIN_BCONTROL\"] = \"ADMIN_BCONTROL\";\n AvailabilityCalculationOrigin[\"BACKGROUND_EVENTS\"] = \"BACKGROUND_EVENTS\";\n})(AvailabilityCalculationOrigin || (exports.AvailabilityCalculationOrigin = AvailabilityCalculationOrigin = {}));\n//# sourceMappingURL=event.js.map\n\n//# sourceURL=webpack://BringgDashboardSDK/./node_modules/@bringg/types/types/event.js?");
5256
+ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.AvailabilityCalculationOrigin = exports.EventType = exports.AssociationsChangedType = void 0;\nvar AssociationsChangedType;\n(function (AssociationsChangedType) {\n AssociationsChangedType[\"way_point\"] = \"way_point\";\n AssociationsChangedType[\"task_inventory\"] = \"task_inventory\";\n AssociationsChangedType[\"form\"] = \"form\";\n AssociationsChangedType[\"task_note\"] = \"task_note\";\n AssociationsChangedType[\"task_photo\"] = \"task_photo\";\n AssociationsChangedType[\"signature\"] = \"signature\";\n})(AssociationsChangedType || (exports.AssociationsChangedType = AssociationsChangedType = {}));\nvar EventType;\n(function (EventType) {\n EventType[\"ApplicationActionRun\"] = \"application:action:run\";\n EventType[\"UserPreLeftHome\"] = \"user:pre_left_home\";\n EventType[\"UserPreGotHome\"] = \"user:pre_got_home\";\n EventType[\"UserTypeChanged\"] = \"user_type_changed\";\n EventType[\"TaskCashoutCreated\"] = \"task:cashout:created\";\n EventType[\"EmployeeUpdateLocation\"] = \"employee:update_location\";\n EventType[\"EmployeeUpdate\"] = \"employee:update\";\n EventType[\"TaskNew\"] = \"task:new\";\n EventType[\"TaskAcknowledged\"] = \"task:acknowledged\";\n EventType[\"TaskAccepted\"] = \"task:status_changed:accepted\";\n EventType[\"TaskAssigned\"] = \"task:status_changed:assigned\";\n EventType[\"TaskCancelled\"] = \"task:status_changed:cancelled\";\n EventType[\"TaskCheckedIn\"] = \"task:status_changed:checked_in\";\n EventType[\"TaskDone\"] = \"task:status_changed:done\";\n EventType[\"TaskOnTheWay\"] = \"task:status_changed:on_the_way\";\n EventType[\"TaskStatusChangedRejected\"] = \"task:status_changed:rejected\";\n EventType[\"TaskPaymentHistoryCreated\"] = \"task_payment_history:created\";\n EventType[\"UserRated\"] = \"user:rated\";\n EventType[\"CustomerTipped\"] = \"customer:tipped\";\n EventType[\"CustomerCreated\"] = \"customer:created\";\n EventType[\"CustomerUpdated\"] = \"customer:updated\";\n EventType[\"CustomerOptedIn\"] = \"customer:opted_in\";\n EventType[\"CustomerOptedOut\"] = \"customer:opted_out\";\n EventType[\"CustomerAvailabilityHoursCreated\"] = \"customer:availability_hours:created\";\n EventType[\"CustomerAvailabilityHoursUpdated\"] = \"customer:availability_hours:updated\";\n EventType[\"DeliveryBlockBreakCreated\"] = \"delivery_block_break:created\";\n EventType[\"EmployeeTurnsOffline\"] = \"employee_turns_offline\";\n EventType[\"EmployeeTurnsOnline\"] = \"employee_turns_online\";\n EventType[\"ShiftStarted\"] = \"shift:started\";\n EventType[\"ShiftEnded\"] = \"shift:ended\";\n EventType[\"TaskWayPointAdded\"] = \"task:way_point:added\";\n EventType[\"TaskWayPointRemoved\"] = \"task:way_point:removed\";\n EventType[\"TaskChangePreparation\"] = \"task:change_preparation\";\n EventType[\"TaskPreparationChanged\"] = \"task:preparation_changed\";\n EventType[\"TaskStartPreparation\"] = \"task:start_preparation\";\n EventType[\"TaskStatusChanged\"] = \"task:status_changed\";\n EventType[\"TaskDeleted\"] = \"task:deleted\";\n EventType[\"TaskUpdate\"] = \"task:update\";\n EventType[\"TaskPackagesChanged\"] = \"task:packages_changed\";\n EventType[\"TeamUserAdded\"] = \"team:user_added\";\n EventType[\"UserNew\"] = \"user:new\";\n EventType[\"TeamUserRemoved\"] = \"team:user_removed\";\n EventType[\"TeamTaskAdded\"] = \"team:task_added\";\n EventType[\"TeamTaskRemoved\"] = \"team:task_removed\";\n EventType[\"TaskCreated\"] = \"task:created\";\n EventType[\"TaskCreatedFinal\"] = \"task:created:final\";\n EventType[\"TaskCreatedFinalProcessingDone\"] = \"task:created:final:processing:done\";\n EventType[\"TaskRemoved\"] = \"task:removed\";\n EventType[\"TaskRejected\"] = \"task:rejected\";\n EventType[\"UserGotHome\"] = \"user:got_home\";\n EventType[\"UserLeftHome\"] = \"user:left_home\";\n EventType[\"TaskLate\"] = \"task:late\";\n EventType[\"AppAdded\"] = \"app:added\";\n EventType[\"AppRemoved\"] = \"app:removed\";\n EventType[\"RequestPush\"] = \"request_push\";\n EventType[\"UsersReadyToExecute\"] = \"users:ready_to_execute\";\n EventType[\"UserReadyToExecute\"] = \"user:ready_to_execute\";\n EventType[\"RequestOptimizeRoute\"] = \"request_optimize_route\";\n EventType[\"RequestRecalculateEta\"] = \"request_recalculate_eta\";\n EventType[\"RequestOptimizeDriverRoute\"] = \"request_optimize_driver_route\";\n EventType[\"RequestRescheduleCancelledTask\"] = \"request_reschedule_cancelled_task\";\n EventType[\"SharedLocationCreated\"] = \"shared_location:created\";\n EventType[\"MerchantCreated\"] = \"merchant_created\";\n EventType[\"UserActivityChange\"] = \"user_activity_change\";\n EventType[\"FormCreated\"] = \"form_created\";\n EventType[\"NoteCreated\"] = \"note_created\";\n EventType[\"FloatingInventoryUpdated\"] = \"floating_inventory:updated\";\n EventType[\"WayPointUpdated\"] = \"way_point:updated\";\n EventType[\"WayPointStarted\"] = \"way_point:started\";\n EventType[\"WayPointArrived\"] = \"way_point:checkin\";\n EventType[\"WayPointLeft\"] = \"way_point:checkout\";\n EventType[\"MassWayPointLeft\"] = \"mass:way_point:checkout\";\n EventType[\"WayPointOnTheWayProcessingDone\"] = \"way_point:on_the_way:processing:done\";\n EventType[\"TaskWayPointsDoneProcessingDone\"] = \"task:way_points:done:processing:done\";\n EventType[\"TaskProcessingDone\"] = \"task:processing:done\";\n EventType[\"WayPointRecalculateDistance\"] = \"way_point:recalculate_distance\";\n EventType[\"RecalculateDistance\"] = \"recalculate_distance\";\n EventType[\"TaskReadyToExecute\"] = \"task:ready_to_execute\";\n EventType[\"TeamCreated\"] = \"team:created\";\n EventType[\"TeamUpdate\"] = \"team:update\";\n EventType[\"MerchantConfigurationUpdated\"] = \"merchant:configuration_updated\";\n EventType[\"RouteOptimized\"] = \"route:optimized\";\n EventType[\"RouteOptimizationProgress\"] = \"route:optimization:progress\";\n EventType[\"RouteOptimizationCanceled\"] = \"route:optimization:canceled\";\n EventType[\"RouteOptimizationPolling\"] = \"route:optimization:polling\";\n EventType[\"RouteOptimizationDone\"] = \"route:optimization:done\";\n EventType[\"RouteOptimizationApplied\"] = \"route:optimization:applied\";\n EventType[\"PlanningDone\"] = \"planning:done\";\n EventType[\"InventoryScheduledArrivalCreated\"] = \"inventory:scheduled_arrival:created\";\n EventType[\"Scanned\"] = \"scanned\";\n EventType[\"InventoryScanned\"] = \"inventory_scanned\";\n EventType[\"AlertCreated\"] = \"alert_created\";\n EventType[\"RunStarted\"] = \"run:started\";\n EventType[\"RunEnded\"] = \"run:ended\";\n EventType[\"RunDeleted\"] = \"run:deleted\";\n EventType[\"RunTaskAdded\"] = \"run:task:added\";\n EventType[\"RunTaskRemoved\"] = \"run:task:removed\";\n EventType[\"RunUpdated\"] = \"run:updated\";\n EventType[\"RunCreated\"] = \"run:created\";\n EventType[\"RunSendUpdateWebhook\"] = \"run:send_update_webhook\";\n EventType[\"RunCalculateAggregations\"] = \"run:calculate_aggregations\";\n EventType[\"InvoiceCreated\"] = \"invoice:created\";\n EventType[\"RunDebriefed\"] = \"run:debriefed\";\n EventType[\"TasksMassRemove\"] = \"tasks:mass_remove\";\n EventType[\"TasksMassAssigned\"] = \"tasks:mass_assigned\";\n EventType[\"TasksReadyToExecute\"] = \"tasks:ready_to_execute\";\n EventType[\"TaskMassUngroup\"] = \"task:mass_ungroup\";\n EventType[\"TaskReservationExpired\"] = \"task:reservation_expired\";\n EventType[\"ManifestDone\"] = \"manifest:done\";\n EventType[\"LocationHistoryReceived\"] = \"location_history_received\";\n EventType[\"QuoteReceived\"] = \"quote_received\";\n EventType[\"QuoteAccepted\"] = \"quote_accepted\";\n EventType[\"DeliveryBlockAssigned\"] = \"delivery_block:assigned\";\n EventType[\"DeliveryBlockUnassigned\"] = \"delivery_block:unassigned\";\n EventType[\"DeliveryBlockCreated\"] = \"delivery_block:created\";\n EventType[\"DeliveryBlockUpdated\"] = \"delivery_block:updated\";\n EventType[\"DeliveryBlockDeleted\"] = \"delivery_block:deleted\";\n EventType[\"DriverShiftScheduleUpdated\"] = \"driver_shift_schedule:updated\";\n EventType[\"SchedulerEvent\"] = \"scheduler_event\";\n EventType[\"MobileAnalyticsEvent\"] = \"mobile_analytics_event\";\n EventType[\"MenuUpdated\"] = \"menu:updated\";\n EventType[\"TaskInventoryUpdate\"] = \"task_inventory:update\";\n EventType[\"MobileActionEvent\"] = \"mobile_action_event\";\n EventType[\"WayPointAnswersCreated\"] = \"way_point:answers:created\";\n EventType[\"WayPointScheduledArrivalUpdated\"] = \"way_point:scheduled_arrival:updated\";\n EventType[\"MaskedPhoneCallFinished\"] = \"masked_phone:call_finished\";\n EventType[\"RapidSosRequested\"] = \"rapid_sos_requested\";\n EventType[\"RatingSubmitted\"] = \"rating:submitted\";\n EventType[\"UserActualBreakUpdated\"] = \"user:actual_break:updated\";\n EventType[\"TimeBasedEvent\"] = \"time_based_event\";\n EventType[\"OpenFleetIntegrationEvent\"] = \"open_fleet:integration_event\";\n EventType[\"WorkflowTimeBasedEvent\"] = \"workflow:time_based_event\";\n EventType[\"WorkflowManual\"] = \"workflow:manual\";\n EventType[\"WorkflowProcessNextChunk\"] = \"workflow:process_next_chunk\";\n EventType[\"VrpAutoDispatchFailed\"] = \"vrp_auto_dispatch_failed\";\n EventType[\"PackageCreated\"] = \"package:created\";\n EventType[\"PackageUpdated\"] = \"package:updated\";\n EventType[\"PackageDeleted\"] = \"package:deleted\";\n EventType[\"FleetDeliveryActionCreateFailed\"] = \"fleet_delivery_action:create:failed\";\n EventType[\"FleetDeliveryActionCancelledBeforePickup\"] = \"fleet_delivery_action:cancelled_before_pickup\";\n EventType[\"FleetAssigned\"] = \"fleet:assigned\";\n EventType[\"NoFleetFound\"] = \"fleet_router:no_fleet_found\";\n EventType[\"SmsSendFailed\"] = \"sms:send:failed\";\n EventType[\"TaskAcceptedByExternalFleet\"] = \"task:accepted_by_external_fleet\";\n EventType[\"GroupTaskCalculateAggregations\"] = \"group_task:calculate_aggregations\";\n EventType[\"DriverUnavailabilityChange\"] = \"user:unavailability_change\";\n EventType[\"WayPointCalculateServiceAreas\"] = \"way_point:calculate_service_areas\";\n EventType[\"DeliveryWindowCreated\"] = \"delivery_window:created\";\n EventType[\"DeliveryWindowUpdated\"] = \"delivery_window:updated\";\n EventType[\"DeliveryWindowDeleted\"] = \"delivery_window:deleted\";\n EventType[\"PlannedDeliveryWindowCreated\"] = \"planned_delivery_window:created\";\n EventType[\"PlannedDeliveryWindowUpdated\"] = \"planned_delivery_window:updated\";\n EventType[\"ExclusionWindowCreated\"] = \"exclusion_window:created\";\n EventType[\"ExclusionWindowUpdated\"] = \"exclusion_window:updated\";\n EventType[\"UnassignedAvailabilityTasks\"] = \"unassigned_availability_tasks\";\n EventType[\"DeliveryProviderOfferingCreated\"] = \"delivery_provider_offering:created\";\n EventType[\"DeliveryProviderOfferingUpdated\"] = \"delivery_provider_offering:updated\";\n EventType[\"RecurringTemplateTimesReassigned\"] = \"recurring_template:times_reassigned\";\n EventType[\"CustomWorkflowWebhookTaskEvent\"] = \"custom_workflow:webhook:task\";\n EventType[\"CustomWorkflowWebhookTasksEvent\"] = \"custom_workflow:webhook:tasks\";\n EventType[\"FeetStatusUpdate\"] = \"fleet:status:update\";\n EventType[\"CustomWorkflowWebhookUserEvent\"] = \"custom_workflow:webhook:user\";\n EventType[\"DeliveryWindowFillRatioChanged\"] = \"delivery_window_fill_ratio_changed\";\n EventType[\"CustomWorkflowWebhookDeliveryWindowEvent\"] = \"custom_workflow:webhook:delivery_window\";\n EventType[\"RealtimeDriverLocationWebhookTick\"] = \"workflow:realtime_driver_location_webhook_tick\";\n EventType[\"RealtimeDriverLocationWebhookEvent\"] = \"workflow:realtime_driver_location_webhook\";\n EventType[\"ServiceAreaCreated\"] = \"service_area:created\";\n EventType[\"ServiceAreaUpdated\"] = \"service_area:updated\";\n EventType[\"ServiceAreaDeleted\"] = \"service_area:deleted\";\n EventType[\"TeamsServiceAreaUpdated\"] = \"teams_service_area:updated\";\n EventType[\"ServiceAreaZipcodeUpdated\"] = \"service_area_zipcode:updated\";\n EventType[\"DriverPaymentCreated\"] = \"driver_payment:created\";\n EventType[\"WayPointCheckout\"] = \"way_point:checkout\";\n EventType[\"AnalyticsScheduledReportReady\"] = \"analytics:scheduled_report:ready\";\n EventType[\"AvailabilityCalculationDone\"] = \"availability_calculation:done\";\n EventType[\"WayPointGeocodingFailed\"] = \"way_point:geocoding_failed\";\n EventType[\"RelayTaskCanceled\"] = \"relay:task_canceled\";\n EventType[\"RecalculateTaskEta\"] = \"recalculate_task_eta\";\n EventType[\"RealtimeRunCalculateEtaForRuns\"] = \"REALTIME_RUN_CALCULATE_ETA_FOR_RUNS\";\n EventType[\"RunCalculateEtaForConsecutiveRuns\"] = \"RUN_CALCULATE_ETA_FOR_CONSECUTIVE_RUNS\";\n EventType[\"RunCalculateEtaForRuns\"] = \"RUN_CALCULATE_ETA_FOR_RUNS\";\n EventType[\"WayPointScheduleChanged\"] = \"way_point:schedule_changed\";\n EventType[\"TaskManagedAttributeChanged\"] = \"task_managed_attribute:changed\";\n EventType[\"ApplicationMerchantConfigurationCreated\"] = \"application_merchant_configuration:created\";\n EventType[\"ApplicationMerchantConfigurationUpdated\"] = \"application_merchant_configuration:updated\";\n EventType[\"ApplicationMerchantConfigurationRemoved\"] = \"application_merchant_configuration:removed\";\n EventType[\"ApplicationTeamConfigurationCreated\"] = \"application_team_configuration:created\";\n EventType[\"ApplicationTeamConfigurationUpdated\"] = \"application_team_configuration:updated\";\n EventType[\"ApplicationTeamConfigurationRemoved\"] = \"application_team_configuration:removed\";\n EventType[\"VehicleUpdated\"] = \"vehicle:update\";\n})(EventType || (exports.EventType = EventType = {}));\nvar AvailabilityCalculationOrigin;\n(function (AvailabilityCalculationOrigin) {\n AvailabilityCalculationOrigin[\"QUOTE_ORDERS\"] = \"QUOTE_ORDERS\";\n AvailabilityCalculationOrigin[\"AUTOMATION_PLATFORM\"] = \"AUTOMATION_PLATFORM\";\n AvailabilityCalculationOrigin[\"SIMULATOR\"] = \"SIMULATOR\";\n AvailabilityCalculationOrigin[\"ADMIN_BCONTROL\"] = \"ADMIN_BCONTROL\";\n AvailabilityCalculationOrigin[\"BACKGROUND_EVENTS\"] = \"BACKGROUND_EVENTS\";\n})(AvailabilityCalculationOrigin || (exports.AvailabilityCalculationOrigin = AvailabilityCalculationOrigin = {}));\n//# sourceMappingURL=event.js.map\n\n//# sourceURL=webpack://BringgDashboardSDK/./node_modules/@bringg/types/types/event.js?");
5235
5257
 
5236
5258
  /***/ }),
5237
5259