@bringg/dashboard-sdk 6.0.0 → 6.0.2

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.
@@ -330,7 +330,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexport
330
330
  /***/ (function(module, exports, __webpack_require__) {
331
331
 
332
332
  "use strict";
333
- eval("\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 __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};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.newConfigurationProvider = exports.getFullConfiguration = exports.setEnvironment = exports.getEnvironment = exports.getGlobals = exports.setGlobals = exports.setConfigurationProvider = exports.getConfigurationProvider = exports.resendConfirmationEmail = exports.login = exports.loginInternal = exports.initWithAuthToken = exports.initWithEmail = exports.initWithSessionCode = exports.setConfigurations = exports.BringgDashboardSDK = void 0;\n// eslint-disable-next-line no-restricted-imports\nvar mobx = __webpack_require__(/*! mobx */ \"./node_modules/mobx/dist/mobx.esm.js\");\nvar AlertConfigurationApi_1 = __webpack_require__(/*! ./AlertConfiguration/AlertConfigurationApi */ \"./dist/AlertConfiguration/AlertConfigurationApi.js\");\nvar AlertsApi_1 = __webpack_require__(/*! ./Alerts/AlertsApi */ \"./dist/Alerts/AlertsApi.js\");\nvar AnalyticsReportsApi_1 = __webpack_require__(/*! ./AnalyticsReports/AnalyticsReportsApi */ \"./dist/AnalyticsReports/AnalyticsReportsApi.js\");\nvar ApplicationApi_1 = __webpack_require__(/*! ./Application/ApplicationApi */ \"./dist/Application/ApplicationApi.js\");\nvar ApplicationMerchantConfigurationApi_1 = __webpack_require__(/*! ./ApplicationMerchantConfiguration/ApplicationMerchantConfigurationApi */ \"./dist/ApplicationMerchantConfiguration/ApplicationMerchantConfigurationApi.js\");\nvar ApplicationTeamConfigurationApi_1 = __webpack_require__(/*! ./ApplicationTeamConfiguration/ApplicationTeamConfigurationApi */ \"./dist/ApplicationTeamConfiguration/ApplicationTeamConfigurationApi.js\");\nvar BillingApi_1 = __webpack_require__(/*! ./Billing/BillingApi */ \"./dist/Billing/BillingApi.js\");\nvar ChatConversationApi_1 = __webpack_require__(/*! ./ChatConversation/ChatConversationApi */ \"./dist/ChatConversation/ChatConversationApi.js\");\nvar Company_1 = __webpack_require__(/*! ./Company/Company */ \"./dist/Company/Company.js\");\nvar ConfigurationProvider_1 = __webpack_require__(/*! ./Core/ConfigurationProvider */ \"./dist/Core/ConfigurationProvider.js\");\nvar Crew_1 = __webpack_require__(/*! ./Crew/Crew */ \"./dist/Crew/Crew.js\");\nvar CrossAppTransport_1 = __webpack_require__(/*! ./CrossAppTranport/CrossAppTransport */ \"./dist/CrossAppTranport/CrossAppTransport.js\");\nvar CustomAttributesApi_1 = __webpack_require__(/*! ./CustomAttributes/CustomAttributesApi */ \"./dist/CustomAttributes/CustomAttributesApi.js\");\nvar Customer_1 = __webpack_require__(/*! ./Customer/Customer */ \"./dist/Customer/Customer.js\");\nvar customers_api_1 = __webpack_require__(/*! ./Customer/v2/customers-api */ \"./dist/Customer/v2/customers-api.js\");\nvar CustomerAvailabilityHourApi_1 = __webpack_require__(/*! ./CustomerAvailabilityHour/CustomerAvailabilityHourApi */ \"./dist/CustomerAvailabilityHour/CustomerAvailabilityHourApi.js\");\nvar customer_configuration_1 = __webpack_require__(/*! ./CustomerConfiguration/customer.configuration */ \"./dist/CustomerConfiguration/customer.configuration.js\");\nvar dashboard_1 = __webpack_require__(/*! ./Dashboard/dashboard */ \"./dist/Dashboard/dashboard.js\");\nvar DeliveryBlocksApi_1 = __webpack_require__(/*! ./DeliveryBlocks/DeliveryBlocksApi */ \"./dist/DeliveryBlocks/DeliveryBlocksApi.js\");\nvar DeliveryCatalogApi_1 = __webpack_require__(/*! ./DeliveryCatalog/DeliveryCatalogApi */ \"./dist/DeliveryCatalog/DeliveryCatalogApi.js\");\nvar DeliveryCatalogApi_2 = __webpack_require__(/*! ./DeliveryCatalogGeneralEnv/DeliveryCatalogApi */ \"./dist/DeliveryCatalogGeneralEnv/DeliveryCatalogApi.js\");\nvar delivery_windows_api_1 = __webpack_require__(/*! ./DeliveryWindows/v2/delivery-windows-api */ \"./dist/DeliveryWindows/v2/delivery-windows-api.js\");\nvar ExclusionWindowApi_1 = __webpack_require__(/*! ./ExclusionWindow/ExclusionWindowApi */ \"./dist/ExclusionWindow/ExclusionWindowApi.js\");\nvar exclusion_window_api_1 = __webpack_require__(/*! ./ExclusionWindow/v2/exclusion-window-api */ \"./dist/ExclusionWindow/v2/exclusion-window-api.js\");\nvar FleetApi_1 = __webpack_require__(/*! ./Fleet/FleetApi */ \"./dist/Fleet/FleetApi.js\");\nvar FleetRouterApi_1 = __webpack_require__(/*! ./FleetRouter/FleetRouterApi */ \"./dist/FleetRouter/FleetRouterApi.js\");\nvar FleetTemplateApi_1 = __webpack_require__(/*! ./FleetTemplate/FleetTemplateApi */ \"./dist/FleetTemplate/FleetTemplateApi.js\");\nvar FloatingInventoryApi_1 = __webpack_require__(/*! ./FloatingInventory/FloatingInventoryApi */ \"./dist/FloatingInventory/FloatingInventoryApi.js\");\nvar floating_inventories_api_1 = __webpack_require__(/*! ./FloatingInventory/v2/floating-inventories-api */ \"./dist/FloatingInventory/v2/floating-inventories-api.js\");\nvar GeocodingApi_1 = __webpack_require__(/*! ./Geocoding/GeocodingApi */ \"./dist/Geocoding/GeocodingApi.js\");\nvar GoogleMapsHelperApi_1 = __webpack_require__(/*! ./GoogleMapsHelper/GoogleMapsHelperApi */ \"./dist/GoogleMapsHelper/GoogleMapsHelperApi.js\");\nvar Inventory_1 = __webpack_require__(/*! ./Inventory/Inventory */ \"./dist/Inventory/Inventory.js\");\nvar InventoryActionsConfiguration_1 = __webpack_require__(/*! ./InventoryActionsConfiguration/InventoryActionsConfiguration */ \"./dist/InventoryActionsConfiguration/InventoryActionsConfiguration.js\");\nvar Language_1 = __webpack_require__(/*! ./Language/Language */ \"./dist/Language/Language.js\");\nvar lookup_api_1 = __webpack_require__(/*! ./LookUp/lookup-api */ \"./dist/LookUp/lookup-api.js\");\nvar MerchantApi_1 = __webpack_require__(/*! ./Merchant/MerchantApi */ \"./dist/Merchant/MerchantApi.js\");\nvar MerchantConfigurationApi_1 = __webpack_require__(/*! ./MerchantConfiguration/MerchantConfigurationApi */ \"./dist/MerchantConfiguration/MerchantConfigurationApi.js\");\nvar NotificationTemplate_1 = __webpack_require__(/*! ./NotificationTemplate/NotificationTemplate */ \"./dist/NotificationTemplate/NotificationTemplate.js\");\nvar NotificationType_1 = __webpack_require__(/*! ./NotificationType/NotificationType */ \"./dist/NotificationType/NotificationType.js\");\nvar OauthApplicationApi_1 = __webpack_require__(/*! ./OauthApplications/OauthApplicationApi */ \"./dist/OauthApplications/OauthApplicationApi.js\");\nvar OnboardingApi_1 = __webpack_require__(/*! ./Onboarding/OnboardingApi */ \"./dist/Onboarding/OnboardingApi.js\");\nvar OpenFleetApi_1 = __webpack_require__(/*! ./OpenFleet/OpenFleetApi */ \"./dist/OpenFleet/OpenFleetApi.js\");\nvar OptimizationConfiguration_1 = __webpack_require__(/*! ./OptimizationConfiguration/OptimizationConfiguration */ \"./dist/OptimizationConfiguration/OptimizationConfiguration.js\");\nvar PackageApi_1 = __webpack_require__(/*! ./Package/PackageApi */ \"./dist/Package/PackageApi.js\");\nvar ParkingSpotApi_1 = __webpack_require__(/*! ./ParkingSpot/ParkingSpotApi */ \"./dist/ParkingSpot/ParkingSpotApi.js\");\nvar Photo_1 = __webpack_require__(/*! ./Photo/Photo */ \"./dist/Photo/Photo.js\");\nvar planned_delivery_windows_api_1 = __webpack_require__(/*! ./PlannedDeliveryWindows/planned-delivery-windows-api */ \"./dist/PlannedDeliveryWindows/planned-delivery-windows-api.js\");\nvar PlannedRoutesApi_1 = __webpack_require__(/*! ./PlannedRoutes/PlannedRoutesApi */ \"./dist/PlannedRoutes/PlannedRoutesApi.js\");\nvar PrivilegesApi_1 = __webpack_require__(/*! ./Privileges/PrivilegesApi */ \"./dist/Privileges/PrivilegesApi.js\");\nvar PushNotificationRegistration_1 = __webpack_require__(/*! ./PushNotificationRegistration/PushNotificationRegistration */ \"./dist/PushNotificationRegistration/PushNotificationRegistration.js\");\nvar PushTokenSubscriptionApi_1 = __webpack_require__(/*! ./PushTokenSubscription/PushTokenSubscriptionApi */ \"./dist/PushTokenSubscription/PushTokenSubscriptionApi.js\");\nvar RatesApi_1 = __webpack_require__(/*! ./Rates/RatesApi */ \"./dist/Rates/RatesApi.js\");\nvar ReasonToCancelTasksApi_1 = __webpack_require__(/*! ./ReasonToCancelTasks/ReasonToCancelTasksApi */ \"./dist/ReasonToCancelTasks/ReasonToCancelTasksApi.js\");\nvar ReasonToChangeInventory_1 = __webpack_require__(/*! ./ReasonToChangeInventory/ReasonToChangeInventory */ \"./dist/ReasonToChangeInventory/ReasonToChangeInventory.js\");\nvar ReasonToReassignTasksApi_1 = __webpack_require__(/*! ./ReasonToReassignTask/ReasonToReassignTasksApi */ \"./dist/ReasonToReassignTask/ReasonToReassignTasksApi.js\");\nvar ReportPreference_1 = __webpack_require__(/*! ./ReportPreference/ReportPreference */ \"./dist/ReportPreference/ReportPreference.js\");\nvar reports_1 = __webpack_require__(/*! ./Reports/reports */ \"./dist/Reports/reports.js\");\nvar ResourceUploadApi_1 = __webpack_require__(/*! ./ResourceUpload/ResourceUploadApi */ \"./dist/ResourceUpload/ResourceUploadApi.js\");\nvar RolloutsApi_1 = __webpack_require__(/*! ./Rollouts/RolloutsApi */ \"./dist/Rollouts/RolloutsApi.js\");\nvar RouteOptimizationApi_1 = __webpack_require__(/*! ./RouteOptimization/RouteOptimizationApi */ \"./dist/RouteOptimization/RouteOptimizationApi.js\");\nvar RouteOptimizationService_1 = __webpack_require__(/*! ./RouteOptimization/RouteOptimizationService */ \"./dist/RouteOptimization/RouteOptimizationService.js\");\nvar RuleApi_1 = __webpack_require__(/*! ./Rule/RuleApi */ \"./dist/Rule/RuleApi.js\");\nvar runs_1 = __webpack_require__(/*! ./Run/runs */ \"./dist/Run/runs.js\");\nvar runs_api_1 = __webpack_require__(/*! ./Run/v2/runs-api */ \"./dist/Run/v2/runs-api.js\");\nvar ScanApi_1 = __webpack_require__(/*! ./Scan/ScanApi */ \"./dist/Scan/ScanApi.js\");\nvar ServiceApi_1 = __webpack_require__(/*! ./Service/ServiceApi */ \"./dist/Service/ServiceApi.js\");\nvar ServiceAreaApi_1 = __webpack_require__(/*! ./ServiceArea/ServiceAreaApi */ \"./dist/ServiceArea/ServiceAreaApi.js\");\nvar service_area_api_1 = __webpack_require__(/*! ./ServiceArea/v2/service-area-api */ \"./dist/ServiceArea/v2/service-area-api.js\");\nvar ServicePlansApi_1 = __webpack_require__(/*! ./ServicePlans/ServicePlansApi */ \"./dist/ServicePlans/ServicePlansApi.js\");\nvar AuthService_1 = __webpack_require__(/*! ./Services/Identity/AuthService */ \"./dist/Services/Identity/AuthService.js\");\nvar Session_1 = __webpack_require__(/*! ./Services/Identity/Session */ \"./dist/Services/Identity/Session.js\");\nvar ShiftsApi_1 = __webpack_require__(/*! ./Shifts/ShiftsApi */ \"./dist/Shifts/ShiftsApi.js\");\nvar Signature_1 = __webpack_require__(/*! ./Signature/Signature */ \"./dist/Signature/Signature.js\");\nvar SkillsApi_1 = __webpack_require__(/*! ./Skills/SkillsApi */ \"./dist/Skills/SkillsApi.js\");\nvar Tag_1 = __webpack_require__(/*! ./Tag/Tag */ \"./dist/Tag/Tag.js\");\nvar TagCustomerConfiguration_1 = __webpack_require__(/*! ./TagCustomerConfiguration/TagCustomerConfiguration */ \"./dist/TagCustomerConfiguration/TagCustomerConfiguration.js\");\nvar TagMerchantConfiguration_1 = __webpack_require__(/*! ./TagMerchantConfiguration/TagMerchantConfiguration */ \"./dist/TagMerchantConfiguration/TagMerchantConfiguration.js\");\nvar TaskApi_1 = __webpack_require__(/*! ./Task/TaskApi */ \"./dist/Task/TaskApi.js\");\nvar tasks_api_1 = __webpack_require__(/*! ./Task/v2/tasks-api */ \"./dist/Task/v2/tasks-api.js\");\nvar TaskConfiguration_1 = __webpack_require__(/*! ./TaskConfiguration/TaskConfiguration */ \"./dist/TaskConfiguration/TaskConfiguration.js\");\nvar TaskInventory_1 = __webpack_require__(/*! ./TaskInventory/TaskInventory */ \"./dist/TaskInventory/TaskInventory.js\");\nvar TaskManagedAttributes_1 = __webpack_require__(/*! ./TaskManagedAttributes */ \"./dist/TaskManagedAttributes/index.js\");\nvar task_reject_reasons_api_1 = __webpack_require__(/*! ./TaskRejectReason/v2/task-reject-reasons-api */ \"./dist/TaskRejectReason/v2/task-reject-reasons-api.js\");\nvar TeamApi_1 = __webpack_require__(/*! ./Team/TeamApi */ \"./dist/Team/TeamApi.js\");\nvar TeamConfigurationApi_1 = __webpack_require__(/*! ./TeamConfiguration/TeamConfigurationApi */ \"./dist/TeamConfiguration/TeamConfigurationApi.js\");\nvar TeamServiceAreaApi_1 = __webpack_require__(/*! ./TeamServiceArea/TeamServiceAreaApi */ \"./dist/TeamServiceArea/TeamServiceAreaApi.js\");\nvar TemplatesApi_1 = __webpack_require__(/*! ./Templates/TemplatesApi */ \"./dist/Templates/TemplatesApi.js\");\nvar upload_api_1 = __webpack_require__(/*! ./Upload/v2/upload-api */ \"./dist/Upload/v2/upload-api.js\");\nvar Users_1 = __webpack_require__(/*! ./User/Users */ \"./dist/User/Users.js\");\nvar UserAnalyticsApi_1 = __webpack_require__(/*! ./UserAnalytics/UserAnalyticsApi */ \"./dist/UserAnalytics/UserAnalyticsApi.js\");\nvar UserConfiguration_1 = __webpack_require__(/*! ./UserConfiguration/UserConfiguration */ \"./dist/UserConfiguration/UserConfiguration.js\");\nvar UserTypeApi_1 = __webpack_require__(/*! ./UserType/UserTypeApi */ \"./dist/UserType/UserTypeApi.js\");\nvar vehicles_api_1 = __webpack_require__(/*! ./Vehicle/v2/vehicles-api */ \"./dist/Vehicle/v2/vehicles-api.js\");\nvar VehicleApi_1 = __webpack_require__(/*! ./Vehicle/VehicleApi */ \"./dist/Vehicle/VehicleApi.js\");\nvar VehicleCategoryApi_1 = __webpack_require__(/*! ./VehicleCategory/VehicleCategoryApi */ \"./dist/VehicleCategory/VehicleCategoryApi.js\");\nvar VehicleTypeApi_1 = __webpack_require__(/*! ./VehicleType/VehicleTypeApi */ \"./dist/VehicleType/VehicleTypeApi.js\");\nvar VrpAutoDispatchAnalyticApi_1 = __webpack_require__(/*! ./VrpAutoDispatchAnalytic/VrpAutoDispatchAnalyticApi */ \"./dist/VrpAutoDispatchAnalytic/VrpAutoDispatchAnalyticApi.js\");\nvar WebApplicationConfigurationApi_1 = __webpack_require__(/*! ./WebApplicationConfiguration/WebApplicationConfigurationApi */ \"./dist/WebApplicationConfiguration/WebApplicationConfigurationApi.js\");\nvar WebhookAuthenticationConfiguration_1 = __webpack_require__(/*! ./WebhookAuthenticationConfiguration/WebhookAuthenticationConfiguration */ \"./dist/WebhookAuthenticationConfiguration/WebhookAuthenticationConfiguration.js\");\nvar workflows_api_1 = __webpack_require__(/*! ./Workflow/v2/workflows-api */ \"./dist/Workflow/v2/workflows-api.js\");\nvar environment = 'production';\nvar configurationProvider = null;\nvar globals = null;\nvar BringgDashboardSDK = /** @class */ (function () {\n function BringgDashboardSDK(session) {\n this.applicationMerchantConfiguration = null;\n this.applicationTeamConfiguration = null;\n this.chat = null;\n this.companies = null;\n // eslint-disable-next-line @typescript-eslint/ban-types\n this.credentials = {};\n this.crews = null;\n this.crossAppTransport = null;\n this.customerConfiguration = null;\n this.customers = null;\n this.dashboard = null;\n this.deliveryBlocks = null;\n this.fleets = null;\n this.rules = null;\n this.floatingInventory = null;\n this.inventoryActionsConfigurations = null;\n this.languages = null;\n this.lookup = null;\n this.merchant = null;\n this.merchantConfiguration = null;\n this.notificationTemplates = null;\n this.notificationTypes = null;\n this.oauthApplication = null;\n this.plannedRoutes = null;\n this.privileges = null;\n this.reasonToChangeInventory = null;\n this.reasonToReassignTasks = null;\n this.reasonToCancelTasks = null;\n this.reportPreferences = null;\n this.reports = null;\n this.runs = null;\n this.rollouts = null;\n this.skills = null;\n this.taskConfigurations = null;\n this.taskInventory = null;\n this.inventory = null;\n this.tasks = null;\n this.teamConfiguration = null;\n this.teams = null;\n this.resourceUploads = null;\n this.userConfigurations = null;\n this.users = null;\n this.vehicleCategories = null;\n this.vehicleTypes = null;\n this.vehicles = null;\n this.session = session;\n }\n BringgDashboardSDK.setConfigurations = function (apiEndpointURL, monitorEndpointURL, generalEnvApiEndpoint) {\n configurationProvider.getApiEndpoint = function () { return apiEndpointURL; };\n configurationProvider.getAuthenticationEndpoint = function () { return apiEndpointURL; };\n configurationProvider.getRegionDiscoveryEndpoint = function () { return apiEndpointURL; };\n configurationProvider.getMonitoringEndpoint = function () { return monitorEndpointURL; };\n configurationProvider.getGeneralEnvApiEndpoint = function () { return generalEnvApiEndpoint; };\n };\n BringgDashboardSDK.initWithSessionCode = function (code, session, region, globals) {\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, BringgDashboardSDK.login({ code: code, session: session, region: region, globals: globals })];\n case 1: return [2 /*return*/, _a.sent()];\n }\n });\n });\n };\n BringgDashboardSDK.initWithEmail = function (email, password, merchant_uuid, recaptchaToken, recaptcha_qa_token, region, globals) {\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, BringgDashboardSDK.login({\n email: email,\n password: password,\n merchant_uuid: merchant_uuid,\n recaptchaToken: recaptchaToken,\n recaptcha_qa_token: recaptcha_qa_token,\n region: region,\n globals: globals\n })];\n case 1: return [2 /*return*/, _a.sent()];\n }\n });\n });\n };\n BringgDashboardSDK.initWithAuthToken = function (region, authenticationToken, globals) {\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, BringgDashboardSDK.login({ region: region, authenticationToken: authenticationToken, globals: globals })];\n case 1: return [2 /*return*/, (_a.sent())];\n }\n });\n });\n };\n BringgDashboardSDK.loginInternal = function (sdkInitialiser, params) {\n return __awaiter(this, void 0, void 0, function () {\n var response;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, Session_1.default.init(params)];\n case 1:\n response = _a.sent();\n return [2 /*return*/, sdkInitialiser(response)];\n }\n });\n });\n };\n BringgDashboardSDK.login = function (params) {\n var _a;\n return __awaiter(this, void 0, void 0, function () {\n var env, configuration;\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n setGlobals(params.globals);\n env = getEnvironment();\n if (!(['production', 'staging', 'edge'].includes(env) && !((_a = getConfigurationProvider()) === null || _a === void 0 ? void 0 : _a.isLoadedFromEndpoint))) return [3 /*break*/, 2];\n return [4 /*yield*/, ConfigurationProvider_1.ConfigurationProvider.fromUrl({\n urlReceived: ConfigurationProvider_1.ConfigurationProvider.getConfigUrl(env),\n fallbackConfig: getFullConfiguration(),\n commonRegionConfigKeys: getConfigurationProvider().getCommonRegionConfigKeys(),\n specificRegionConfigkeys: getConfigurationProvider().getRegionSpecificConfigKeys()\n })];\n case 1:\n configuration = _b.sent();\n if (configuration) {\n BringgDashboardSDK.setConfigurationProvider(configuration);\n }\n _b.label = 2;\n case 2: return [4 /*yield*/, this.loginInternal(function (a) { return init(a); }, params)];\n case 3: return [2 /*return*/, _b.sent()];\n }\n });\n });\n };\n BringgDashboardSDK.prototype.logout = function (keepServerSession) {\n if (keepServerSession === void 0) { keepServerSession = false; }\n 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.session.logout(keepServerSession)];\n case 1: return [2 /*return*/, _a.sent()];\n }\n });\n });\n };\n BringgDashboardSDK.resendConfirmationEmail = function (params) {\n return __awaiter(this, void 0, void 0, function () {\n var authService, email, password, merchant_uuid, recaptchaToken, recaptcha_qa_token;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n authService = AuthService_1.default.init(params.region);\n email = params.email, password = params.password, merchant_uuid = params.merchant_uuid, recaptchaToken = params.recaptchaToken, recaptcha_qa_token = params.recaptcha_qa_token;\n return [4 /*yield*/, authService.resendConfirmationEmail(email, password, merchant_uuid, recaptchaToken, recaptcha_qa_token)];\n case 1: return [2 /*return*/, _a.sent()];\n }\n });\n });\n };\n BringgDashboardSDK.prototype.switchAccounts = function () {\n return __awaiter(this, void 0, void 0, function () {\n var _a;\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n _a = init;\n return [4 /*yield*/, this.session.switchAccounts()];\n case 1: return [2 /*return*/, _a.apply(void 0, [_b.sent()])];\n }\n });\n });\n };\n BringgDashboardSDK.prototype.impersonate = function (user_id) {\n return __awaiter(this, void 0, void 0, function () {\n var _a;\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n _a = init;\n return [4 /*yield*/, this.session.impersonate(user_id)];\n case 1: return [2 /*return*/, _a.apply(void 0, [_b.sent()])];\n }\n });\n });\n };\n BringgDashboardSDK.prototype.impersonateByTeam = function (team_id) {\n return __awaiter(this, void 0, void 0, function () {\n var _a;\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n _a = init;\n return [4 /*yield*/, this.session.impersonateByTeam(team_id)];\n case 1: return [2 /*return*/, _a.apply(void 0, [_b.sent()])];\n }\n });\n });\n };\n BringgDashboardSDK.prototype.unwindImpersonation = function () {\n return __awaiter(this, void 0, void 0, function () {\n var _a;\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n _a = init;\n return [4 /*yield*/, this.session.unwindImpersonation()];\n case 1: return [2 /*return*/, _a.apply(void 0, [_b.sent()])];\n }\n });\n });\n };\n BringgDashboardSDK.setConfigurationProvider = setConfigurationProvider;\n BringgDashboardSDK.setEnvironment = setEnvironment;\n BringgDashboardSDK.getFullConfiguration = getFullConfiguration;\n BringgDashboardSDK.newConfigurationProvider = newConfigurationProvider;\n return BringgDashboardSDK;\n}());\nexports.BringgDashboardSDK = BringgDashboardSDK;\nfunction init(session) {\n return __awaiter(this, void 0, void 0, function () {\n var bringg, workflows, taskRejectReasons;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n bringg = new BringgDashboardSDK(session);\n bringg.v2 = {\n vehicles: new vehicles_api_1.default(session),\n tasks: new tasks_api_1.default(session),\n customers: new customers_api_1.default(session),\n plannedDeliveryWindows: new planned_delivery_windows_api_1.default(session),\n exclusionWindow: new exclusion_window_api_1.ExclusionWindowApi(session),\n serviceAreas: new service_area_api_1.ServiceAreaApi(session),\n lookup: new lookup_api_1.default(session),\n createWorkflows: function (mapper) {\n workflows = new workflows_api_1.default(session, mapper);\n return workflows;\n },\n workflows: function () {\n return workflows;\n },\n createTaskRejectReasons: function (mapper) {\n taskRejectReasons = new task_reject_reasons_api_1.default(session, mapper);\n return taskRejectReasons;\n },\n taskRejectReasons: function () {\n return taskRejectReasons;\n },\n runs: new runs_api_1.default(session),\n uploads: new upload_api_1.default(session),\n floatingInventories: new floating_inventories_api_1.FloatingInventoriesApi(session),\n deliveryWindows: new delivery_windows_api_1.default(session),\n taskManagedAttributes: new TaskManagedAttributes_1.TaskManagedAttributesApi(session)\n };\n bringg.application = new ApplicationApi_1.default(session);\n bringg.chat = new ChatConversationApi_1.default(session);\n bringg.companies = new Company_1.default(session);\n bringg.crossAppTransport = new CrossAppTransport_1.default();\n bringg.customerConfiguration = new customer_configuration_1.default(session);\n bringg.customers = new Customer_1.default(session);\n bringg.dashboard = new dashboard_1.default(session);\n bringg.deliveryBlocks = new DeliveryBlocksApi_1.DeliveryBlocksApi(session);\n bringg.fleets = new FleetApi_1.default(session);\n bringg.rules = new RuleApi_1.default(session);\n bringg.fleetRouterApi = new FleetRouterApi_1.default(session);\n bringg.alertConfiguration = new AlertConfigurationApi_1.default(session);\n bringg.floatingInventory = new FloatingInventoryApi_1.default(session);\n bringg.geocoding = new GeocodingApi_1.default(session);\n bringg.googleMapsHelper = new GoogleMapsHelperApi_1.default(session);\n bringg.inventoryActionsConfigurations = new InventoryActionsConfiguration_1.default(session);\n bringg.languages = new Language_1.Language(session);\n bringg.merchant = new MerchantApi_1.default(session);\n bringg.merchantConfiguration = new MerchantConfigurationApi_1.MerchantConfigurationApi(session);\n bringg.notificationTemplates = new NotificationTemplate_1.NotificationTemplate(session);\n bringg.notificationTypes = new NotificationType_1.NotificationType(session);\n bringg.oauthApplication = new OauthApplicationApi_1.default(session);\n bringg.onboardings = new OnboardingApi_1.default(session);\n bringg.photos = new Photo_1.default(session);\n bringg.plannedRoutes = new PlannedRoutesApi_1.default(session);\n bringg.privileges = new PrivilegesApi_1.default(session);\n bringg.pushTokenSubscription = new PushTokenSubscriptionApi_1.default(session);\n bringg.pushNotificationRegistration = new PushNotificationRegistration_1.default(session);\n bringg.reasonToChangeInventory = new ReasonToChangeInventory_1.default(session);\n bringg.reasonToReassignTasks = new ReasonToReassignTasksApi_1.default(session);\n bringg.reasonToCancelTasks = new ReasonToCancelTasksApi_1.default(session);\n bringg.reportPreferences = new ReportPreference_1.default(session);\n bringg.reports = new reports_1.default(session);\n bringg.runs = new runs_1.default(session);\n bringg.scans = new ScanApi_1.default(session);\n bringg.rollouts = new RolloutsApi_1.default(session);\n bringg.service = new ServiceApi_1.default(session);\n bringg.signatures = new Signature_1.default(session);\n bringg.skills = new SkillsApi_1.default(session);\n bringg.tagCustomerConfigurations = new TagCustomerConfiguration_1.default(session);\n bringg.tagMerchantConfigurations = new TagMerchantConfiguration_1.default(session);\n bringg.tags = new Tag_1.default(session);\n bringg.taskConfigurations = new TaskConfiguration_1.default(session);\n bringg.taskInventory = new TaskInventory_1.default(session);\n bringg.inventory = new Inventory_1.default(session);\n bringg.tasks = new TaskApi_1.default(session);\n bringg.teamConfiguration = new TeamConfigurationApi_1.default(session);\n bringg.teams = new TeamApi_1.default(session);\n bringg.resourceUploads = new ResourceUploadApi_1.default(session);\n bringg.userConfigurations = new UserConfiguration_1.default(session);\n bringg.userTypes = new UserTypeApi_1.default(session);\n bringg.users = new Users_1.default(session);\n bringg.vehicleCategories = new VehicleCategoryApi_1.default(session);\n bringg.vehicleTypes = new VehicleTypeApi_1.default(session);\n bringg.vehicles = new VehicleApi_1.default(session);\n bringg.vrpAutoDispatchAnalytic = new VrpAutoDispatchAnalyticApi_1.default(session);\n bringg.webApplicationConfiguration = new WebApplicationConfigurationApi_1.default(session);\n bringg.webhookAuthenticationConfiguration = new WebhookAuthenticationConfiguration_1.default(session);\n bringg.optimizationConfiguration = new OptimizationConfiguration_1.default(session);\n bringg.fleetTemplates = new FleetTemplateApi_1.default(session);\n bringg.openFleets = new OpenFleetApi_1.default(session);\n bringg.customerAvailabilityHours = new CustomerAvailabilityHourApi_1.default(session);\n bringg.exclusionWindows = new ExclusionWindowApi_1.default(session);\n bringg.shifts = new ShiftsApi_1.default(session);\n bringg.serviceAreas = new ServiceAreaApi_1.default(session);\n bringg.teamServiceAreas = new TeamServiceAreaApi_1.default(session);\n bringg.billing = new BillingApi_1.default(session);\n bringg.userAnalytics = new UserAnalyticsApi_1.default(session);\n bringg.analyticsReports = new AnalyticsReportsApi_1.default(session);\n bringg.servicePlans = new ServicePlansApi_1.default(session);\n bringg.alertsApi = new AlertsApi_1.default(session);\n bringg.deliveryCatalog = new DeliveryCatalogApi_1.default(session);\n bringg.deliveryCatalogGeneralEnv = new DeliveryCatalogApi_2.default(session);\n bringg.packageApi = new PackageApi_1.default(session);\n bringg.templatesApi = new TemplatesApi_1.default(session);\n bringg.routeOptimizationApi = new RouteOptimizationApi_1.default(session);\n bringg.ratesApi = new RatesApi_1.default(session);\n bringg.routeOptimizationService = new RouteOptimizationService_1.default(session);\n bringg.parkingSpotApi = new ParkingSpotApi_1.default(session);\n bringg.customAttributesApi = new CustomAttributesApi_1.default(session);\n // dependent\n bringg.crews = new Crew_1.default(session, bringg.users);\n bringg.applicationMerchantConfiguration = new ApplicationMerchantConfigurationApi_1.default(session, bringg.merchantConfiguration);\n bringg.applicationTeamConfiguration = new ApplicationTeamConfigurationApi_1.default(session);\n return [4 /*yield*/, initSessionConfiguration(bringg)];\n case 1:\n _a.sent();\n return [2 /*return*/, Object.freeze(bringg)];\n }\n });\n });\n}\nfunction initSessionConfiguration(bringg) {\n var _a;\n return __awaiter(this, void 0, void 0, function () {\n var apiKey;\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0: return [4 /*yield*/, Promise.all([bringg.merchantConfiguration.get(), bringg.webApplicationConfiguration.get()])];\n case 1:\n _b.sent();\n if (!((_a = configurationProvider === null || configurationProvider === void 0 ? void 0 : configurationProvider.isUserAnalyticsEnabled) === null || _a === void 0 ? void 0 : _a.call(configurationProvider))) return [3 /*break*/, 5];\n apiKey = configurationProvider.getUserAnalyticsApiKey();\n return [4 /*yield*/, bringg.userAnalytics.addSnippet({ apiKey: apiKey })];\n case 2:\n _b.sent();\n return [4 /*yield*/, bringg.merchant.get()];\n case 3:\n _b.sent();\n return [4 /*yield*/, bringg.userAnalytics.run({\n apiKey: apiKey,\n environment: environment\n })];\n case 4:\n _b.sent();\n _b.label = 5;\n case 5: return [2 /*return*/];\n }\n });\n });\n}\nfunction setConfigurations() {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return BringgDashboardSDK.setConfigurations.apply(BringgDashboardSDK, __spreadArray([], __read(args), false));\n}\nexports.setConfigurations = setConfigurations;\nfunction initWithSessionCode() {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return BringgDashboardSDK.initWithSessionCode.apply(BringgDashboardSDK, __spreadArray([], __read(args), false));\n}\nexports.initWithSessionCode = initWithSessionCode;\nfunction initWithEmail() {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return BringgDashboardSDK.initWithEmail.apply(BringgDashboardSDK, __spreadArray([], __read(args), false));\n}\nexports.initWithEmail = initWithEmail;\nfunction initWithAuthToken() {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return BringgDashboardSDK.initWithAuthToken.apply(BringgDashboardSDK, __spreadArray([], __read(args), false));\n}\nexports.initWithAuthToken = initWithAuthToken;\nfunction loginInternal() {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return BringgDashboardSDK.loginInternal.apply(BringgDashboardSDK, __spreadArray([], __read(args), false));\n}\nexports.loginInternal = loginInternal;\nfunction login() {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return BringgDashboardSDK.login.apply(BringgDashboardSDK, __spreadArray([], __read(args), false));\n}\nexports.login = login;\nfunction resendConfirmationEmail() {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return BringgDashboardSDK.resendConfirmationEmail.apply(BringgDashboardSDK, __spreadArray([], __read(args), false));\n}\nexports.resendConfirmationEmail = resendConfirmationEmail;\nfunction getConfigurationProvider() {\n return configurationProvider;\n}\nexports.getConfigurationProvider = getConfigurationProvider;\nfunction setConfigurationProvider(provider) {\n configurationProvider = provider;\n}\nexports.setConfigurationProvider = setConfigurationProvider;\nfunction setGlobals(bringgGlobals) {\n var withDefaults = bringgGlobals || { mobx: mobx };\n withDefaults.mobx = withDefaults.mobx || mobx;\n globals = withDefaults;\n}\nexports.setGlobals = setGlobals;\nfunction getGlobals() {\n return globals;\n}\nexports.getGlobals = getGlobals;\nfunction getEnvironment() {\n return environment;\n}\nexports.getEnvironment = getEnvironment;\nfunction setEnvironment(env) {\n environment = env;\n}\nexports.setEnvironment = setEnvironment;\nfunction getFullConfiguration() {\n return getConfigurationProvider().getFullConfig();\n}\nexports.getFullConfiguration = getFullConfiguration;\nfunction newConfigurationProvider(_a) {\n var config = _a.config, fallbackConfig = _a.fallbackConfig, clientId = _a.clientId, commonRegionConfigKeys = _a.commonRegionConfigKeys, specificRegionConfigkeys = _a.specificRegionConfigkeys, isLoadedFromEndpoint = _a.isLoadedFromEndpoint;\n return new ConfigurationProvider_1.ConfigurationProvider({\n config: config,\n fallbackConfig: fallbackConfig,\n clientId: clientId,\n commonRegionConfigKeys: commonRegionConfigKeys,\n specificRegionConfigkeys: specificRegionConfigkeys,\n isLoadedFromEndpoint: isLoadedFromEndpoint\n });\n}\nexports.newConfigurationProvider = newConfigurationProvider;\n//# sourceMappingURL=BringgDashboardSDK.js.map\n\n//# sourceURL=webpack://BringgDashboardSDK/./dist/BringgDashboardSDK.js?");
333
+ eval("\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 __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};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.newConfigurationProvider = exports.getFullConfiguration = exports.setEnvironment = exports.getEnvironment = exports.getGlobals = exports.setGlobals = exports.setConfigurationProvider = exports.getConfigurationProvider = exports.resendConfirmationEmail = exports.login = exports.loginInternal = exports.initWithAuthToken = exports.initWithEmail = exports.initWithSessionCode = exports.setConfigurations = exports.BringgDashboardSDK = void 0;\n// eslint-disable-next-line no-restricted-imports\nvar mobx = __webpack_require__(/*! mobx */ \"./node_modules/mobx/dist/mobx.esm.js\");\nvar AlertConfigurationApi_1 = __webpack_require__(/*! ./AlertConfiguration/AlertConfigurationApi */ \"./dist/AlertConfiguration/AlertConfigurationApi.js\");\nvar AlertsApi_1 = __webpack_require__(/*! ./Alerts/AlertsApi */ \"./dist/Alerts/AlertsApi.js\");\nvar AnalyticsReportsApi_1 = __webpack_require__(/*! ./AnalyticsReports/AnalyticsReportsApi */ \"./dist/AnalyticsReports/AnalyticsReportsApi.js\");\nvar ApplicationApi_1 = __webpack_require__(/*! ./Application/ApplicationApi */ \"./dist/Application/ApplicationApi.js\");\nvar ApplicationMerchantConfigurationApi_1 = __webpack_require__(/*! ./ApplicationMerchantConfiguration/ApplicationMerchantConfigurationApi */ \"./dist/ApplicationMerchantConfiguration/ApplicationMerchantConfigurationApi.js\");\nvar ApplicationTeamConfigurationApi_1 = __webpack_require__(/*! ./ApplicationTeamConfiguration/ApplicationTeamConfigurationApi */ \"./dist/ApplicationTeamConfiguration/ApplicationTeamConfigurationApi.js\");\nvar BillingApi_1 = __webpack_require__(/*! ./Billing/BillingApi */ \"./dist/Billing/BillingApi.js\");\nvar ChatConversationApi_1 = __webpack_require__(/*! ./ChatConversation/ChatConversationApi */ \"./dist/ChatConversation/ChatConversationApi.js\");\nvar Company_1 = __webpack_require__(/*! ./Company/Company */ \"./dist/Company/Company.js\");\nvar ConfigurationProvider_1 = __webpack_require__(/*! ./Core/ConfigurationProvider */ \"./dist/Core/ConfigurationProvider.js\");\nvar Crew_1 = __webpack_require__(/*! ./Crew/Crew */ \"./dist/Crew/Crew.js\");\nvar CrossAppTransport_1 = __webpack_require__(/*! ./CrossAppTranport/CrossAppTransport */ \"./dist/CrossAppTranport/CrossAppTransport.js\");\nvar CustomAttributesApi_1 = __webpack_require__(/*! ./CustomAttributes/CustomAttributesApi */ \"./dist/CustomAttributes/CustomAttributesApi.js\");\nvar Customer_1 = __webpack_require__(/*! ./Customer/Customer */ \"./dist/Customer/Customer.js\");\nvar customers_api_1 = __webpack_require__(/*! ./Customer/v2/customers-api */ \"./dist/Customer/v2/customers-api.js\");\nvar CustomerAvailabilityHourApi_1 = __webpack_require__(/*! ./CustomerAvailabilityHour/CustomerAvailabilityHourApi */ \"./dist/CustomerAvailabilityHour/CustomerAvailabilityHourApi.js\");\nvar customer_configuration_1 = __webpack_require__(/*! ./CustomerConfiguration/customer.configuration */ \"./dist/CustomerConfiguration/customer.configuration.js\");\nvar dashboard_1 = __webpack_require__(/*! ./Dashboard/dashboard */ \"./dist/Dashboard/dashboard.js\");\nvar DeliveryBlocksApi_1 = __webpack_require__(/*! ./DeliveryBlocks/DeliveryBlocksApi */ \"./dist/DeliveryBlocks/DeliveryBlocksApi.js\");\nvar DeliveryCatalogApi_1 = __webpack_require__(/*! ./DeliveryCatalog/DeliveryCatalogApi */ \"./dist/DeliveryCatalog/DeliveryCatalogApi.js\");\nvar DeliveryCatalogApi_2 = __webpack_require__(/*! ./DeliveryCatalogGeneralEnv/DeliveryCatalogApi */ \"./dist/DeliveryCatalogGeneralEnv/DeliveryCatalogApi.js\");\nvar delivery_windows_api_1 = __webpack_require__(/*! ./DeliveryWindows/v2/delivery-windows-api */ \"./dist/DeliveryWindows/v2/delivery-windows-api.js\");\nvar ExclusionWindowApi_1 = __webpack_require__(/*! ./ExclusionWindow/ExclusionWindowApi */ \"./dist/ExclusionWindow/ExclusionWindowApi.js\");\nvar exclusion_window_api_1 = __webpack_require__(/*! ./ExclusionWindow/v2/exclusion-window-api */ \"./dist/ExclusionWindow/v2/exclusion-window-api.js\");\nvar FleetApi_1 = __webpack_require__(/*! ./Fleet/FleetApi */ \"./dist/Fleet/FleetApi.js\");\nvar FleetRouterApi_1 = __webpack_require__(/*! ./FleetRouter/FleetRouterApi */ \"./dist/FleetRouter/FleetRouterApi.js\");\nvar FleetTemplateApi_1 = __webpack_require__(/*! ./FleetTemplate/FleetTemplateApi */ \"./dist/FleetTemplate/FleetTemplateApi.js\");\nvar FloatingInventoryApi_1 = __webpack_require__(/*! ./FloatingInventory/FloatingInventoryApi */ \"./dist/FloatingInventory/FloatingInventoryApi.js\");\nvar floating_inventories_api_1 = __webpack_require__(/*! ./FloatingInventory/v2/floating-inventories-api */ \"./dist/FloatingInventory/v2/floating-inventories-api.js\");\nvar GeocodingApi_1 = __webpack_require__(/*! ./Geocoding/GeocodingApi */ \"./dist/Geocoding/GeocodingApi.js\");\nvar GoogleMapsHelperApi_1 = __webpack_require__(/*! ./GoogleMapsHelper/GoogleMapsHelperApi */ \"./dist/GoogleMapsHelper/GoogleMapsHelperApi.js\");\nvar Inventory_1 = __webpack_require__(/*! ./Inventory/Inventory */ \"./dist/Inventory/Inventory.js\");\nvar InventoryActionsConfiguration_1 = __webpack_require__(/*! ./InventoryActionsConfiguration/InventoryActionsConfiguration */ \"./dist/InventoryActionsConfiguration/InventoryActionsConfiguration.js\");\nvar Language_1 = __webpack_require__(/*! ./Language/Language */ \"./dist/Language/Language.js\");\nvar lookup_api_1 = __webpack_require__(/*! ./LookUp/lookup-api */ \"./dist/LookUp/lookup-api.js\");\nvar MerchantApi_1 = __webpack_require__(/*! ./Merchant/MerchantApi */ \"./dist/Merchant/MerchantApi.js\");\nvar MerchantConfigurationApi_1 = __webpack_require__(/*! ./MerchantConfiguration/MerchantConfigurationApi */ \"./dist/MerchantConfiguration/MerchantConfigurationApi.js\");\nvar NotificationTemplate_1 = __webpack_require__(/*! ./NotificationTemplate/NotificationTemplate */ \"./dist/NotificationTemplate/NotificationTemplate.js\");\nvar NotificationType_1 = __webpack_require__(/*! ./NotificationType/NotificationType */ \"./dist/NotificationType/NotificationType.js\");\nvar OauthApplicationApi_1 = __webpack_require__(/*! ./OauthApplications/OauthApplicationApi */ \"./dist/OauthApplications/OauthApplicationApi.js\");\nvar OnboardingApi_1 = __webpack_require__(/*! ./Onboarding/OnboardingApi */ \"./dist/Onboarding/OnboardingApi.js\");\nvar OpenFleetApi_1 = __webpack_require__(/*! ./OpenFleet/OpenFleetApi */ \"./dist/OpenFleet/OpenFleetApi.js\");\nvar OptimizationConfiguration_1 = __webpack_require__(/*! ./OptimizationConfiguration/OptimizationConfiguration */ \"./dist/OptimizationConfiguration/OptimizationConfiguration.js\");\nvar PackageApi_1 = __webpack_require__(/*! ./Package/PackageApi */ \"./dist/Package/PackageApi.js\");\nvar ParkingSpotApi_1 = __webpack_require__(/*! ./ParkingSpot/ParkingSpotApi */ \"./dist/ParkingSpot/ParkingSpotApi.js\");\nvar Photo_1 = __webpack_require__(/*! ./Photo/Photo */ \"./dist/Photo/Photo.js\");\nvar planned_delivery_windows_api_1 = __webpack_require__(/*! ./PlannedDeliveryWindows/planned-delivery-windows-api */ \"./dist/PlannedDeliveryWindows/planned-delivery-windows-api.js\");\nvar PlannedRoutesApi_1 = __webpack_require__(/*! ./PlannedRoutes/PlannedRoutesApi */ \"./dist/PlannedRoutes/PlannedRoutesApi.js\");\nvar PrivilegesApi_1 = __webpack_require__(/*! ./Privileges/PrivilegesApi */ \"./dist/Privileges/PrivilegesApi.js\");\nvar PushNotificationRegistration_1 = __webpack_require__(/*! ./PushNotificationRegistration/PushNotificationRegistration */ \"./dist/PushNotificationRegistration/PushNotificationRegistration.js\");\nvar PushTokenSubscriptionApi_1 = __webpack_require__(/*! ./PushTokenSubscription/PushTokenSubscriptionApi */ \"./dist/PushTokenSubscription/PushTokenSubscriptionApi.js\");\nvar RatesApi_1 = __webpack_require__(/*! ./Rates/RatesApi */ \"./dist/Rates/RatesApi.js\");\nvar ReasonToCancelTasksApi_1 = __webpack_require__(/*! ./ReasonToCancelTasks/ReasonToCancelTasksApi */ \"./dist/ReasonToCancelTasks/ReasonToCancelTasksApi.js\");\nvar ReasonToChangeInventory_1 = __webpack_require__(/*! ./ReasonToChangeInventory/ReasonToChangeInventory */ \"./dist/ReasonToChangeInventory/ReasonToChangeInventory.js\");\nvar ReasonToReassignTasksApi_1 = __webpack_require__(/*! ./ReasonToReassignTask/ReasonToReassignTasksApi */ \"./dist/ReasonToReassignTask/ReasonToReassignTasksApi.js\");\nvar ReportPreference_1 = __webpack_require__(/*! ./ReportPreference/ReportPreference */ \"./dist/ReportPreference/ReportPreference.js\");\nvar reports_1 = __webpack_require__(/*! ./Reports/reports */ \"./dist/Reports/reports.js\");\nvar ResourceUploadApi_1 = __webpack_require__(/*! ./ResourceUpload/ResourceUploadApi */ \"./dist/ResourceUpload/ResourceUploadApi.js\");\nvar RolloutsApi_1 = __webpack_require__(/*! ./Rollouts/RolloutsApi */ \"./dist/Rollouts/RolloutsApi.js\");\nvar RouteOptimizationApi_1 = __webpack_require__(/*! ./RouteOptimization/RouteOptimizationApi */ \"./dist/RouteOptimization/RouteOptimizationApi.js\");\nvar RouteOptimizationService_1 = __webpack_require__(/*! ./RouteOptimization/RouteOptimizationService */ \"./dist/RouteOptimization/RouteOptimizationService.js\");\nvar RuleApi_1 = __webpack_require__(/*! ./Rule/RuleApi */ \"./dist/Rule/RuleApi.js\");\nvar runs_1 = __webpack_require__(/*! ./Run/runs */ \"./dist/Run/runs.js\");\nvar runs_api_1 = __webpack_require__(/*! ./Run/v2/runs-api */ \"./dist/Run/v2/runs-api.js\");\nvar ScanApi_1 = __webpack_require__(/*! ./Scan/ScanApi */ \"./dist/Scan/ScanApi.js\");\nvar ServiceApi_1 = __webpack_require__(/*! ./Service/ServiceApi */ \"./dist/Service/ServiceApi.js\");\nvar ServiceAreaApi_1 = __webpack_require__(/*! ./ServiceArea/ServiceAreaApi */ \"./dist/ServiceArea/ServiceAreaApi.js\");\nvar service_area_api_1 = __webpack_require__(/*! ./ServiceArea/v2/service-area-api */ \"./dist/ServiceArea/v2/service-area-api.js\");\nvar ServicePlansApi_1 = __webpack_require__(/*! ./ServicePlans/ServicePlansApi */ \"./dist/ServicePlans/ServicePlansApi.js\");\nvar AuthService_1 = __webpack_require__(/*! ./Services/Identity/AuthService */ \"./dist/Services/Identity/AuthService.js\");\nvar Session_1 = __webpack_require__(/*! ./Services/Identity/Session */ \"./dist/Services/Identity/Session.js\");\nvar ShiftsApi_1 = __webpack_require__(/*! ./Shifts/ShiftsApi */ \"./dist/Shifts/ShiftsApi.js\");\nvar Signature_1 = __webpack_require__(/*! ./Signature/Signature */ \"./dist/Signature/Signature.js\");\nvar SkillsApi_1 = __webpack_require__(/*! ./Skills/SkillsApi */ \"./dist/Skills/SkillsApi.js\");\nvar Tag_1 = __webpack_require__(/*! ./Tag/Tag */ \"./dist/Tag/Tag.js\");\nvar TagCustomerConfiguration_1 = __webpack_require__(/*! ./TagCustomerConfiguration/TagCustomerConfiguration */ \"./dist/TagCustomerConfiguration/TagCustomerConfiguration.js\");\nvar TagMerchantConfiguration_1 = __webpack_require__(/*! ./TagMerchantConfiguration/TagMerchantConfiguration */ \"./dist/TagMerchantConfiguration/TagMerchantConfiguration.js\");\nvar TaskApi_1 = __webpack_require__(/*! ./Task/TaskApi */ \"./dist/Task/TaskApi.js\");\nvar tasks_api_1 = __webpack_require__(/*! ./Task/v2/tasks-api */ \"./dist/Task/v2/tasks-api.js\");\nvar TaskConfiguration_1 = __webpack_require__(/*! ./TaskConfiguration/TaskConfiguration */ \"./dist/TaskConfiguration/TaskConfiguration.js\");\nvar TaskInventory_1 = __webpack_require__(/*! ./TaskInventory/TaskInventory */ \"./dist/TaskInventory/TaskInventory.js\");\nvar TaskManagedAttributes_1 = __webpack_require__(/*! ./TaskManagedAttributes */ \"./dist/TaskManagedAttributes/index.js\");\nvar task_reject_reasons_api_1 = __webpack_require__(/*! ./TaskRejectReason/v2/task-reject-reasons-api */ \"./dist/TaskRejectReason/v2/task-reject-reasons-api.js\");\nvar TeamApi_1 = __webpack_require__(/*! ./Team/TeamApi */ \"./dist/Team/TeamApi.js\");\nvar TeamConfigurationApi_1 = __webpack_require__(/*! ./TeamConfiguration/TeamConfigurationApi */ \"./dist/TeamConfiguration/TeamConfigurationApi.js\");\nvar TeamServiceAreaApi_1 = __webpack_require__(/*! ./TeamServiceArea/TeamServiceAreaApi */ \"./dist/TeamServiceArea/TeamServiceAreaApi.js\");\nvar TemplatesApi_1 = __webpack_require__(/*! ./Templates/TemplatesApi */ \"./dist/Templates/TemplatesApi.js\");\nvar upload_api_1 = __webpack_require__(/*! ./Upload/v2/upload-api */ \"./dist/Upload/v2/upload-api.js\");\nvar Users_1 = __webpack_require__(/*! ./User/Users */ \"./dist/User/Users.js\");\nvar UserAnalyticsApi_1 = __webpack_require__(/*! ./UserAnalytics/UserAnalyticsApi */ \"./dist/UserAnalytics/UserAnalyticsApi.js\");\nvar UserConfiguration_1 = __webpack_require__(/*! ./UserConfiguration/UserConfiguration */ \"./dist/UserConfiguration/UserConfiguration.js\");\nvar UserTypeApi_1 = __webpack_require__(/*! ./UserType/UserTypeApi */ \"./dist/UserType/UserTypeApi.js\");\nvar vehicles_api_1 = __webpack_require__(/*! ./Vehicle/v2/vehicles-api */ \"./dist/Vehicle/v2/vehicles-api.js\");\nvar VehicleApi_1 = __webpack_require__(/*! ./Vehicle/VehicleApi */ \"./dist/Vehicle/VehicleApi.js\");\nvar VehicleCategoryApi_1 = __webpack_require__(/*! ./VehicleCategory/VehicleCategoryApi */ \"./dist/VehicleCategory/VehicleCategoryApi.js\");\nvar VehicleTypeApi_1 = __webpack_require__(/*! ./VehicleType/VehicleTypeApi */ \"./dist/VehicleType/VehicleTypeApi.js\");\nvar VrpAutoDispatchAnalyticApi_1 = __webpack_require__(/*! ./VrpAutoDispatchAnalytic/VrpAutoDispatchAnalyticApi */ \"./dist/VrpAutoDispatchAnalytic/VrpAutoDispatchAnalyticApi.js\");\nvar WebApplicationConfigurationApi_1 = __webpack_require__(/*! ./WebApplicationConfiguration/WebApplicationConfigurationApi */ \"./dist/WebApplicationConfiguration/WebApplicationConfigurationApi.js\");\nvar WebhookAuthenticationConfiguration_1 = __webpack_require__(/*! ./WebhookAuthenticationConfiguration/WebhookAuthenticationConfiguration */ \"./dist/WebhookAuthenticationConfiguration/WebhookAuthenticationConfiguration.js\");\nvar workflows_api_1 = __webpack_require__(/*! ./Workflow/v2/workflows-api */ \"./dist/Workflow/v2/workflows-api.js\");\nvar environment = 'production';\nvar configurationProvider = null;\nvar globals = null;\nvar BringgDashboardSDK = /** @class */ (function () {\n function BringgDashboardSDK(session) {\n this.applicationMerchantConfiguration = null;\n this.applicationTeamConfiguration = null;\n this.chat = null;\n this.companies = null;\n // eslint-disable-next-line @typescript-eslint/ban-types\n this.credentials = {};\n this.crews = null;\n this.crossAppTransport = null;\n this.customerConfiguration = null;\n this.customers = null;\n this.dashboard = null;\n this.deliveryBlocks = null;\n this.fleets = null;\n this.rules = null;\n this.floatingInventory = null;\n this.inventoryActionsConfigurations = null;\n this.languages = null;\n this.lookup = null;\n this.merchant = null;\n this.merchantConfiguration = null;\n this.notificationTemplates = null;\n this.notificationTypes = null;\n this.oauthApplication = null;\n this.plannedRoutes = null;\n this.privileges = null;\n this.reasonToChangeInventory = null;\n this.reasonToReassignTasks = null;\n this.reasonToCancelTasks = null;\n this.reportPreferences = null;\n this.reports = null;\n this.runs = null;\n this.rollouts = null;\n this.skills = null;\n this.taskConfigurations = null;\n this.taskInventory = null;\n this.inventory = null;\n this.tasks = null;\n this.teamConfiguration = null;\n this.teams = null;\n this.resourceUploads = null;\n this.userConfigurations = null;\n this.users = null;\n this.vehicleCategories = null;\n this.vehicleTypes = null;\n this.vehicles = null;\n this.session = session;\n }\n BringgDashboardSDK.setConfigurations = function (apiEndpointURL, monitorEndpointURL, generalEnvApiEndpoint) {\n configurationProvider.getApiEndpoint = function () { return apiEndpointURL; };\n configurationProvider.getAuthenticationEndpoint = function () { return apiEndpointURL; };\n configurationProvider.getRegionDiscoveryEndpoint = function () { return apiEndpointURL; };\n configurationProvider.getMonitoringEndpoint = function () { return monitorEndpointURL; };\n configurationProvider.getGeneralEnvApiEndpoint = function () { return generalEnvApiEndpoint; };\n };\n BringgDashboardSDK.initWithSessionCode = function (code, session, region, globals) {\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, BringgDashboardSDK.login({ code: code, session: session, region: region, globals: globals })];\n case 1: return [2 /*return*/, _a.sent()];\n }\n });\n });\n };\n BringgDashboardSDK.initWithEmail = function (email, password, merchant_uuid, recaptchaToken, recaptcha_qa_token, region, globals) {\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, BringgDashboardSDK.login({\n email: email,\n password: password,\n merchant_uuid: merchant_uuid,\n recaptchaToken: recaptchaToken,\n recaptcha_qa_token: recaptcha_qa_token,\n region: region,\n globals: globals\n })];\n case 1: return [2 /*return*/, _a.sent()];\n }\n });\n });\n };\n BringgDashboardSDK.initWithAuthToken = function (region, authenticationToken, globals) {\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, BringgDashboardSDK.login({ region: region, authenticationToken: authenticationToken, globals: globals })];\n case 1: return [2 /*return*/, (_a.sent())];\n }\n });\n });\n };\n BringgDashboardSDK.loginInternal = function (sdkInitialiser, params) {\n return __awaiter(this, void 0, void 0, function () {\n var response;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, Session_1.default.init(params)];\n case 1:\n response = _a.sent();\n return [2 /*return*/, sdkInitialiser(response)];\n }\n });\n });\n };\n BringgDashboardSDK.login = function (params) {\n var _a;\n return __awaiter(this, void 0, void 0, function () {\n var env, configuration;\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n setGlobals(params.globals);\n env = getEnvironment();\n if (!(['production', 'staging', 'edge'].includes(env) && !((_a = getConfigurationProvider()) === null || _a === void 0 ? void 0 : _a.isLoadedFromEndpoint))) return [3 /*break*/, 2];\n return [4 /*yield*/, ConfigurationProvider_1.ConfigurationProvider.fromUrl({\n urlReceived: ConfigurationProvider_1.ConfigurationProvider.getConfigUrl(env),\n fallbackConfig: getFullConfiguration(),\n commonRegionConfigKeys: getConfigurationProvider().getCommonRegionConfigKeys(),\n specificRegionConfigkeys: getConfigurationProvider().getRegionSpecificConfigKeys(),\n clientId: getConfigurationProvider().getClientId()\n })];\n case 1:\n configuration = _b.sent();\n if (configuration) {\n BringgDashboardSDK.setConfigurationProvider(configuration);\n }\n _b.label = 2;\n case 2: return [4 /*yield*/, this.loginInternal(function (a) { return init(a); }, params)];\n case 3: return [2 /*return*/, _b.sent()];\n }\n });\n });\n };\n BringgDashboardSDK.prototype.logout = function (keepServerSession) {\n if (keepServerSession === void 0) { keepServerSession = false; }\n 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.session.logout(keepServerSession)];\n case 1: return [2 /*return*/, _a.sent()];\n }\n });\n });\n };\n BringgDashboardSDK.resendConfirmationEmail = function (params) {\n return __awaiter(this, void 0, void 0, function () {\n var authService, email, password, merchant_uuid, recaptchaToken, recaptcha_qa_token;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n authService = AuthService_1.default.init(params.region);\n email = params.email, password = params.password, merchant_uuid = params.merchant_uuid, recaptchaToken = params.recaptchaToken, recaptcha_qa_token = params.recaptcha_qa_token;\n return [4 /*yield*/, authService.resendConfirmationEmail(email, password, merchant_uuid, recaptchaToken, recaptcha_qa_token)];\n case 1: return [2 /*return*/, _a.sent()];\n }\n });\n });\n };\n BringgDashboardSDK.prototype.switchAccounts = function () {\n return __awaiter(this, void 0, void 0, function () {\n var _a;\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n _a = init;\n return [4 /*yield*/, this.session.switchAccounts()];\n case 1: return [2 /*return*/, _a.apply(void 0, [_b.sent()])];\n }\n });\n });\n };\n BringgDashboardSDK.prototype.impersonate = function (user_id) {\n return __awaiter(this, void 0, void 0, function () {\n var _a;\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n _a = init;\n return [4 /*yield*/, this.session.impersonate(user_id)];\n case 1: return [2 /*return*/, _a.apply(void 0, [_b.sent()])];\n }\n });\n });\n };\n BringgDashboardSDK.prototype.impersonateByTeam = function (team_id) {\n return __awaiter(this, void 0, void 0, function () {\n var _a;\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n _a = init;\n return [4 /*yield*/, this.session.impersonateByTeam(team_id)];\n case 1: return [2 /*return*/, _a.apply(void 0, [_b.sent()])];\n }\n });\n });\n };\n BringgDashboardSDK.prototype.unwindImpersonation = function () {\n return __awaiter(this, void 0, void 0, function () {\n var _a;\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n _a = init;\n return [4 /*yield*/, this.session.unwindImpersonation()];\n case 1: return [2 /*return*/, _a.apply(void 0, [_b.sent()])];\n }\n });\n });\n };\n BringgDashboardSDK.setConfigurationProvider = setConfigurationProvider;\n BringgDashboardSDK.setEnvironment = setEnvironment;\n BringgDashboardSDK.getFullConfiguration = getFullConfiguration;\n BringgDashboardSDK.newConfigurationProvider = newConfigurationProvider;\n return BringgDashboardSDK;\n}());\nexports.BringgDashboardSDK = BringgDashboardSDK;\nfunction init(session) {\n return __awaiter(this, void 0, void 0, function () {\n var bringg, workflows, taskRejectReasons;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n bringg = new BringgDashboardSDK(session);\n bringg.v2 = {\n vehicles: new vehicles_api_1.default(session),\n tasks: new tasks_api_1.default(session),\n customers: new customers_api_1.default(session),\n plannedDeliveryWindows: new planned_delivery_windows_api_1.default(session),\n exclusionWindow: new exclusion_window_api_1.ExclusionWindowApi(session),\n serviceAreas: new service_area_api_1.ServiceAreaApi(session),\n lookup: new lookup_api_1.default(session),\n createWorkflows: function (mapper) {\n workflows = new workflows_api_1.default(session, mapper);\n return workflows;\n },\n workflows: function () {\n return workflows;\n },\n createTaskRejectReasons: function (mapper) {\n taskRejectReasons = new task_reject_reasons_api_1.default(session, mapper);\n return taskRejectReasons;\n },\n taskRejectReasons: function () {\n return taskRejectReasons;\n },\n runs: new runs_api_1.default(session),\n uploads: new upload_api_1.default(session),\n floatingInventories: new floating_inventories_api_1.FloatingInventoriesApi(session),\n deliveryWindows: new delivery_windows_api_1.default(session),\n taskManagedAttributes: new TaskManagedAttributes_1.TaskManagedAttributesApi(session)\n };\n bringg.application = new ApplicationApi_1.default(session);\n bringg.chat = new ChatConversationApi_1.default(session);\n bringg.companies = new Company_1.default(session);\n bringg.crossAppTransport = new CrossAppTransport_1.default();\n bringg.customerConfiguration = new customer_configuration_1.default(session);\n bringg.customers = new Customer_1.default(session);\n bringg.dashboard = new dashboard_1.default(session);\n bringg.deliveryBlocks = new DeliveryBlocksApi_1.DeliveryBlocksApi(session);\n bringg.fleets = new FleetApi_1.default(session);\n bringg.rules = new RuleApi_1.default(session);\n bringg.fleetRouterApi = new FleetRouterApi_1.default(session);\n bringg.alertConfiguration = new AlertConfigurationApi_1.default(session);\n bringg.floatingInventory = new FloatingInventoryApi_1.default(session);\n bringg.geocoding = new GeocodingApi_1.default(session);\n bringg.googleMapsHelper = new GoogleMapsHelperApi_1.default(session);\n bringg.inventoryActionsConfigurations = new InventoryActionsConfiguration_1.default(session);\n bringg.languages = new Language_1.Language(session);\n bringg.merchant = new MerchantApi_1.default(session);\n bringg.merchantConfiguration = new MerchantConfigurationApi_1.MerchantConfigurationApi(session);\n bringg.notificationTemplates = new NotificationTemplate_1.NotificationTemplate(session);\n bringg.notificationTypes = new NotificationType_1.NotificationType(session);\n bringg.oauthApplication = new OauthApplicationApi_1.default(session);\n bringg.onboardings = new OnboardingApi_1.default(session);\n bringg.photos = new Photo_1.default(session);\n bringg.plannedRoutes = new PlannedRoutesApi_1.default(session);\n bringg.privileges = new PrivilegesApi_1.default(session);\n bringg.pushTokenSubscription = new PushTokenSubscriptionApi_1.default(session);\n bringg.pushNotificationRegistration = new PushNotificationRegistration_1.default(session);\n bringg.reasonToChangeInventory = new ReasonToChangeInventory_1.default(session);\n bringg.reasonToReassignTasks = new ReasonToReassignTasksApi_1.default(session);\n bringg.reasonToCancelTasks = new ReasonToCancelTasksApi_1.default(session);\n bringg.reportPreferences = new ReportPreference_1.default(session);\n bringg.reports = new reports_1.default(session);\n bringg.runs = new runs_1.default(session);\n bringg.scans = new ScanApi_1.default(session);\n bringg.rollouts = new RolloutsApi_1.default(session);\n bringg.service = new ServiceApi_1.default(session);\n bringg.signatures = new Signature_1.default(session);\n bringg.skills = new SkillsApi_1.default(session);\n bringg.tagCustomerConfigurations = new TagCustomerConfiguration_1.default(session);\n bringg.tagMerchantConfigurations = new TagMerchantConfiguration_1.default(session);\n bringg.tags = new Tag_1.default(session);\n bringg.taskConfigurations = new TaskConfiguration_1.default(session);\n bringg.taskInventory = new TaskInventory_1.default(session);\n bringg.inventory = new Inventory_1.default(session);\n bringg.tasks = new TaskApi_1.default(session);\n bringg.teamConfiguration = new TeamConfigurationApi_1.default(session);\n bringg.teams = new TeamApi_1.default(session);\n bringg.resourceUploads = new ResourceUploadApi_1.default(session);\n bringg.userConfigurations = new UserConfiguration_1.default(session);\n bringg.userTypes = new UserTypeApi_1.default(session);\n bringg.users = new Users_1.default(session);\n bringg.vehicleCategories = new VehicleCategoryApi_1.default(session);\n bringg.vehicleTypes = new VehicleTypeApi_1.default(session);\n bringg.vehicles = new VehicleApi_1.default(session);\n bringg.vrpAutoDispatchAnalytic = new VrpAutoDispatchAnalyticApi_1.default(session);\n bringg.webApplicationConfiguration = new WebApplicationConfigurationApi_1.default(session);\n bringg.webhookAuthenticationConfiguration = new WebhookAuthenticationConfiguration_1.default(session);\n bringg.optimizationConfiguration = new OptimizationConfiguration_1.default(session);\n bringg.fleetTemplates = new FleetTemplateApi_1.default(session);\n bringg.openFleets = new OpenFleetApi_1.default(session);\n bringg.customerAvailabilityHours = new CustomerAvailabilityHourApi_1.default(session);\n bringg.exclusionWindows = new ExclusionWindowApi_1.default(session);\n bringg.shifts = new ShiftsApi_1.default(session);\n bringg.serviceAreas = new ServiceAreaApi_1.default(session);\n bringg.teamServiceAreas = new TeamServiceAreaApi_1.default(session);\n bringg.billing = new BillingApi_1.default(session);\n bringg.userAnalytics = new UserAnalyticsApi_1.default(session);\n bringg.analyticsReports = new AnalyticsReportsApi_1.default(session);\n bringg.servicePlans = new ServicePlansApi_1.default(session);\n bringg.alertsApi = new AlertsApi_1.default(session);\n bringg.deliveryCatalog = new DeliveryCatalogApi_1.default(session);\n bringg.deliveryCatalogGeneralEnv = new DeliveryCatalogApi_2.default(session);\n bringg.packageApi = new PackageApi_1.default(session);\n bringg.templatesApi = new TemplatesApi_1.default(session);\n bringg.routeOptimizationApi = new RouteOptimizationApi_1.default(session);\n bringg.ratesApi = new RatesApi_1.default(session);\n bringg.routeOptimizationService = new RouteOptimizationService_1.default(session);\n bringg.parkingSpotApi = new ParkingSpotApi_1.default(session);\n bringg.customAttributesApi = new CustomAttributesApi_1.default(session);\n // dependent\n bringg.crews = new Crew_1.default(session, bringg.users);\n bringg.applicationMerchantConfiguration = new ApplicationMerchantConfigurationApi_1.default(session, bringg.merchantConfiguration);\n bringg.applicationTeamConfiguration = new ApplicationTeamConfigurationApi_1.default(session);\n return [4 /*yield*/, initSessionConfiguration(bringg)];\n case 1:\n _a.sent();\n return [2 /*return*/, Object.freeze(bringg)];\n }\n });\n });\n}\nfunction initSessionConfiguration(bringg) {\n var _a;\n return __awaiter(this, void 0, void 0, function () {\n var apiKey;\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0: return [4 /*yield*/, Promise.all([bringg.merchantConfiguration.get(), bringg.webApplicationConfiguration.get()])];\n case 1:\n _b.sent();\n if (!((_a = configurationProvider === null || configurationProvider === void 0 ? void 0 : configurationProvider.isUserAnalyticsEnabled) === null || _a === void 0 ? void 0 : _a.call(configurationProvider))) return [3 /*break*/, 5];\n apiKey = configurationProvider.getUserAnalyticsApiKey();\n return [4 /*yield*/, bringg.userAnalytics.addSnippet({ apiKey: apiKey })];\n case 2:\n _b.sent();\n return [4 /*yield*/, bringg.merchant.get()];\n case 3:\n _b.sent();\n return [4 /*yield*/, bringg.userAnalytics.run({\n apiKey: apiKey,\n environment: environment\n })];\n case 4:\n _b.sent();\n _b.label = 5;\n case 5: return [2 /*return*/];\n }\n });\n });\n}\nfunction setConfigurations() {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return BringgDashboardSDK.setConfigurations.apply(BringgDashboardSDK, __spreadArray([], __read(args), false));\n}\nexports.setConfigurations = setConfigurations;\nfunction initWithSessionCode() {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return BringgDashboardSDK.initWithSessionCode.apply(BringgDashboardSDK, __spreadArray([], __read(args), false));\n}\nexports.initWithSessionCode = initWithSessionCode;\nfunction initWithEmail() {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return BringgDashboardSDK.initWithEmail.apply(BringgDashboardSDK, __spreadArray([], __read(args), false));\n}\nexports.initWithEmail = initWithEmail;\nfunction initWithAuthToken() {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return BringgDashboardSDK.initWithAuthToken.apply(BringgDashboardSDK, __spreadArray([], __read(args), false));\n}\nexports.initWithAuthToken = initWithAuthToken;\nfunction loginInternal() {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return BringgDashboardSDK.loginInternal.apply(BringgDashboardSDK, __spreadArray([], __read(args), false));\n}\nexports.loginInternal = loginInternal;\nfunction login() {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return BringgDashboardSDK.login.apply(BringgDashboardSDK, __spreadArray([], __read(args), false));\n}\nexports.login = login;\nfunction resendConfirmationEmail() {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return BringgDashboardSDK.resendConfirmationEmail.apply(BringgDashboardSDK, __spreadArray([], __read(args), false));\n}\nexports.resendConfirmationEmail = resendConfirmationEmail;\nfunction getConfigurationProvider() {\n return configurationProvider;\n}\nexports.getConfigurationProvider = getConfigurationProvider;\nfunction setConfigurationProvider(provider) {\n configurationProvider = provider;\n}\nexports.setConfigurationProvider = setConfigurationProvider;\nfunction setGlobals(bringgGlobals) {\n var withDefaults = bringgGlobals || { mobx: mobx };\n withDefaults.mobx = withDefaults.mobx || mobx;\n globals = withDefaults;\n}\nexports.setGlobals = setGlobals;\nfunction getGlobals() {\n return globals;\n}\nexports.getGlobals = getGlobals;\nfunction getEnvironment() {\n return environment;\n}\nexports.getEnvironment = getEnvironment;\nfunction setEnvironment(env) {\n environment = env;\n}\nexports.setEnvironment = setEnvironment;\nfunction getFullConfiguration() {\n return getConfigurationProvider().getFullConfig();\n}\nexports.getFullConfiguration = getFullConfiguration;\nfunction newConfigurationProvider(_a) {\n var config = _a.config, fallbackConfig = _a.fallbackConfig, clientId = _a.clientId, commonRegionConfigKeys = _a.commonRegionConfigKeys, specificRegionConfigkeys = _a.specificRegionConfigkeys, isLoadedFromEndpoint = _a.isLoadedFromEndpoint;\n return new ConfigurationProvider_1.ConfigurationProvider({\n config: config,\n fallbackConfig: fallbackConfig,\n clientId: clientId,\n commonRegionConfigKeys: commonRegionConfigKeys,\n specificRegionConfigkeys: specificRegionConfigkeys,\n isLoadedFromEndpoint: isLoadedFromEndpoint\n });\n}\nexports.newConfigurationProvider = newConfigurationProvider;\n//# sourceMappingURL=BringgDashboardSDK.js.map\n\n//# sourceURL=webpack://BringgDashboardSDK/./dist/BringgDashboardSDK.js?");
334
334
 
335
335
  /***/ }),
336
336
 
@@ -486,7 +486,7 @@ eval("\nvar __extends = (this && this.__extends) || (function () {\n var exte
486
486
  /***/ (function(module, exports, __webpack_require__) {
487
487
 
488
488
  "use strict";
489
- 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};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ConfigurationProvider = void 0;\nvar BringgDashboardSDK_1 = __webpack_require__(/*! ../BringgDashboardSDK */ \"./dist/BringgDashboardSDK.js\");\nvar URLEndpoint_1 = __webpack_require__(/*! ./Http/URLEndpoint */ \"./dist/Core/Http/URLEndpoint.js\");\nvar Logger_1 = __webpack_require__(/*! ./Logger */ \"./dist/Core/Logger.js\");\nvar ConfigurationProvider = /** @class */ (function () {\n function ConfigurationProvider(_a) {\n var config = _a.config, fallbackConfig = _a.fallbackConfig, isLoadedFromEndpoint = _a.isLoadedFromEndpoint, commonRegionConfigKeys = _a.commonRegionConfigKeys, specificRegionConfigkeys = _a.specificRegionConfigkeys, _b = _a.clientId, clientId = _b === void 0 ? 'Bringg Dashboard' : _b;\n this.clientId = clientId;\n this.isLoadedFromEndpoint = isLoadedFromEndpoint;\n this.commonRegionConfigKeys = commonRegionConfigKeys;\n this.specificRegionConfigkeys = specificRegionConfigkeys;\n this.config = this.enrichConfig({ config: config, fallbackConfig: fallbackConfig, commonRegionConfigKeys: commonRegionConfigKeys, specificRegionConfigkeys: specificRegionConfigkeys });\n }\n ConfigurationProvider.prototype.enrichConfig = function (_a) {\n var config = _a.config, fallbackConfig = _a.fallbackConfig, commonRegionConfigKeys = _a.commonRegionConfigKeys, specificRegionConfigkeys = _a.specificRegionConfigkeys;\n if (!fallbackConfig && !commonRegionConfigKeys && !specificRegionConfigkeys) {\n return config;\n }\n var newConfig = {};\n if (fallbackConfig) {\n newConfig = __assign({}, fallbackConfig);\n if (config.default_region) {\n newConfig['default_region'] = config.default_region;\n }\n }\n else {\n newConfig = __assign({}, config);\n }\n var newRegions = {};\n for (var regionName in config.regions) {\n var specificRegionConfigkeysToMerge = specificRegionConfigkeys && specificRegionConfigkeys[regionName];\n newRegions[regionName] = __assign(__assign(__assign({}, config.regions[regionName]), commonRegionConfigKeys), specificRegionConfigkeysToMerge);\n }\n newConfig['regions'] = newRegions;\n return newConfig;\n };\n ConfigurationProvider.fromUrl = function (_a) {\n var urlReceived = _a.urlReceived, fallbackConfig = _a.fallbackConfig, commonRegionConfigKeys = _a.commonRegionConfigKeys, specificRegionConfigkeys = _a.specificRegionConfigkeys, clientId = _a.clientId;\n return __awaiter(this, void 0, void 0, function () {\n var url, fetchedConfig, e_1;\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n url = urlReceived instanceof URLEndpoint_1.default ? urlReceived.encode() : urlReceived;\n _b.label = 1;\n case 1:\n _b.trys.push([1, 3, , 4]);\n return [4 /*yield*/, api(url)];\n case 2:\n fetchedConfig = _b.sent();\n return [2 /*return*/, new ConfigurationProvider({\n config: fetchedConfig,\n fallbackConfig: fallbackConfig,\n commonRegionConfigKeys: commonRegionConfigKeys,\n specificRegionConfigkeys: specificRegionConfigkeys,\n isLoadedFromEndpoint: true,\n clientId: clientId\n })];\n case 3:\n e_1 = _b.sent();\n Logger_1.default.error(\"can't initialise configuration from \".concat(url));\n return [3 /*break*/, 4];\n case 4: return [2 /*return*/];\n }\n });\n });\n };\n ConfigurationProvider.fromJson = function (_a) {\n var jsonConfig = _a.jsonConfig, fallbackConfig = _a.fallbackConfig, commonRegionConfigKeys = _a.commonRegionConfigKeys, specificRegionConfigkeys = _a.specificRegionConfigkeys, clientId = _a.clientId;\n return new ConfigurationProvider({\n config: JSON.parse(jsonConfig),\n fallbackConfig: fallbackConfig,\n commonRegionConfigKeys: commonRegionConfigKeys,\n specificRegionConfigkeys: specificRegionConfigkeys,\n clientId: clientId\n });\n };\n ConfigurationProvider.getNextRegion = function (region) {\n var regions = (0, BringgDashboardSDK_1.getConfigurationProvider)().getRegions();\n var currentRegionIndex = regions.indexOf(region);\n if (regions.length - 1 === currentRegionIndex) {\n return regions[0];\n }\n else {\n return regions[currentRegionIndex + 1];\n }\n };\n ConfigurationProvider.prototype.getApiEndpoint = function (region) {\n var _a, _b;\n return (_b = (_a = this.config) === null || _a === void 0 ? void 0 : _a.regions[region]) === null || _b === void 0 ? void 0 : _b.web_api_url;\n };\n ConfigurationProvider.prototype.getRegionDiscoveryEndpoint = function () {\n var _a, _b;\n return (_b = (_a = this.config) === null || _a === void 0 ? void 0 : _a.regions[this.getDefaultRegion()]) === null || _b === void 0 ? void 0 : _b.web_api_url;\n };\n ConfigurationProvider.prototype.getAuthenticationEndpoint = function (region) {\n var _a, _b;\n return (_b = (_a = this.config) === null || _a === void 0 ? void 0 : _a.regions[region]) === null || _b === void 0 ? void 0 : _b.web_api_url;\n };\n ConfigurationProvider.prototype.getMonitoringEndpoint = function (region) {\n var _a, _b, _c, _d;\n var realTimeUrl = (_b = (_a = this.config) === null || _a === void 0 ? void 0 : _a.regions[region]) === null || _b === void 0 ? void 0 : _b.real_time_url;\n var socketPort = (_d = (_c = this.config) === null || _c === void 0 ? void 0 : _c.regions[region]) === null || _d === void 0 ? void 0 : _d.socket_websocket_port;\n if (socketPort) {\n realTimeUrl += ':' + socketPort;\n }\n return realTimeUrl;\n };\n ConfigurationProvider.prototype.getGeneralEnvApiEndpoint = function () {\n var _a;\n return (_a = this.config) === null || _a === void 0 ? void 0 : _a.general_env_api_url;\n };\n ConfigurationProvider.prototype.getDefaultRegion = function () {\n var _a;\n return (_a = this.config) === null || _a === void 0 ? void 0 : _a.default_region;\n };\n ConfigurationProvider.prototype.getRegions = function () {\n return Object.keys(this.config.regions);\n };\n ConfigurationProvider.prototype.getClientId = function () {\n return this.clientId;\n };\n ConfigurationProvider.prototype.isUserAnalyticsEnabled = function () {\n var _a, _b;\n return (_b = (_a = this.config) === null || _a === void 0 ? void 0 : _a.user_analytics) === null || _b === void 0 ? void 0 : _b.enabled;\n };\n ConfigurationProvider.prototype.getUserAnalyticsApiKey = function () {\n var _a, _b;\n return (_b = (_a = this.config) === null || _a === void 0 ? void 0 : _a.user_analytics) === null || _b === void 0 ? void 0 : _b.api_key;\n };\n ConfigurationProvider.prototype.getCommonRegionConfigKeys = function () {\n return this.commonRegionConfigKeys;\n };\n ConfigurationProvider.prototype.getRegionSpecificConfigKeys = function () {\n return this.specificRegionConfigkeys;\n };\n ConfigurationProvider.prototype.getFullConfig = function () {\n return this.config;\n };\n ConfigurationProvider.getConfigUrl = function (env) { return \"https://consts.bringg.com/regions/\".concat(env, \".json\"); };\n return ConfigurationProvider;\n}());\nexports.ConfigurationProvider = ConfigurationProvider;\nfunction api(url) {\n return fetch(url).then(function (response) {\n if (!response.ok) {\n throw new Error(response.statusText);\n }\n return response.json().then(function (data) { return data; });\n });\n}\n//# sourceMappingURL=ConfigurationProvider.js.map\n\n//# sourceURL=webpack://BringgDashboardSDK/./dist/Core/ConfigurationProvider.js?");
489
+ 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};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ConfigurationProvider = void 0;\nvar BringgDashboardSDK_1 = __webpack_require__(/*! ../BringgDashboardSDK */ \"./dist/BringgDashboardSDK.js\");\nvar URLEndpoint_1 = __webpack_require__(/*! ./Http/URLEndpoint */ \"./dist/Core/Http/URLEndpoint.js\");\nvar Logger_1 = __webpack_require__(/*! ./Logger */ \"./dist/Core/Logger.js\");\nvar ConfigurationProvider = /** @class */ (function () {\n function ConfigurationProvider(_a) {\n var config = _a.config, fallbackConfig = _a.fallbackConfig, isLoadedFromEndpoint = _a.isLoadedFromEndpoint, commonRegionConfigKeys = _a.commonRegionConfigKeys, specificRegionConfigkeys = _a.specificRegionConfigkeys, _b = _a.clientId, clientId = _b === void 0 ? 'Bringg Dashboard' : _b;\n this.clientId = clientId;\n this.isLoadedFromEndpoint = isLoadedFromEndpoint;\n this.commonRegionConfigKeys = commonRegionConfigKeys;\n this.specificRegionConfigkeys = specificRegionConfigkeys;\n this.config = this.enrichConfig({ config: config, fallbackConfig: fallbackConfig, commonRegionConfigKeys: commonRegionConfigKeys, specificRegionConfigkeys: specificRegionConfigkeys });\n }\n ConfigurationProvider.prototype.enrichConfig = function (_a) {\n var config = _a.config, fallbackConfig = _a.fallbackConfig, commonRegionConfigKeys = _a.commonRegionConfigKeys, specificRegionConfigkeys = _a.specificRegionConfigkeys;\n if (!fallbackConfig && !commonRegionConfigKeys && !specificRegionConfigkeys) {\n return config;\n }\n var newConfig = {};\n if (fallbackConfig) {\n newConfig = __assign({}, fallbackConfig);\n if (config.default_region) {\n newConfig['default_region'] = config.default_region;\n }\n }\n else {\n newConfig = __assign({}, config);\n }\n var newRegions = {};\n for (var regionName in config.regions) {\n var specificRegionConfigkeysToMerge = specificRegionConfigkeys === null || specificRegionConfigkeys === void 0 ? void 0 : specificRegionConfigkeys[regionName];\n newRegions[regionName] = __assign(__assign(__assign({}, config.regions[regionName]), commonRegionConfigKeys), specificRegionConfigkeysToMerge);\n }\n newConfig['regions'] = newRegions;\n return newConfig;\n };\n ConfigurationProvider.fromUrl = function (_a) {\n var urlReceived = _a.urlReceived, fallbackConfig = _a.fallbackConfig, commonRegionConfigKeys = _a.commonRegionConfigKeys, specificRegionConfigkeys = _a.specificRegionConfigkeys, clientId = _a.clientId;\n return __awaiter(this, void 0, void 0, function () {\n var url, fetchedConfig, e_1;\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n url = urlReceived instanceof URLEndpoint_1.default ? urlReceived.encode() : urlReceived;\n _b.label = 1;\n case 1:\n _b.trys.push([1, 3, , 4]);\n return [4 /*yield*/, api(url)];\n case 2:\n fetchedConfig = _b.sent();\n return [2 /*return*/, new ConfigurationProvider({\n config: fetchedConfig,\n fallbackConfig: fallbackConfig,\n commonRegionConfigKeys: commonRegionConfigKeys,\n specificRegionConfigkeys: specificRegionConfigkeys,\n isLoadedFromEndpoint: true,\n clientId: clientId\n })];\n case 3:\n e_1 = _b.sent();\n Logger_1.default.error(\"can't initialise configuration from \".concat(url));\n return [3 /*break*/, 4];\n case 4: return [2 /*return*/];\n }\n });\n });\n };\n ConfigurationProvider.fromJson = function (_a) {\n var jsonConfig = _a.jsonConfig, fallbackConfig = _a.fallbackConfig, commonRegionConfigKeys = _a.commonRegionConfigKeys, specificRegionConfigkeys = _a.specificRegionConfigkeys, clientId = _a.clientId;\n return new ConfigurationProvider({\n config: JSON.parse(jsonConfig),\n fallbackConfig: fallbackConfig,\n commonRegionConfigKeys: commonRegionConfigKeys,\n specificRegionConfigkeys: specificRegionConfigkeys,\n clientId: clientId\n });\n };\n ConfigurationProvider.getNextRegion = function (region) {\n var regions = (0, BringgDashboardSDK_1.getConfigurationProvider)().getRegions();\n var currentRegionIndex = regions.indexOf(region);\n if (regions.length - 1 === currentRegionIndex) {\n return regions[0];\n }\n else {\n return regions[currentRegionIndex + 1];\n }\n };\n ConfigurationProvider.prototype.getApiEndpoint = function (region) {\n var _a, _b;\n return (_b = (_a = this.config) === null || _a === void 0 ? void 0 : _a.regions[region]) === null || _b === void 0 ? void 0 : _b.web_api_url;\n };\n ConfigurationProvider.prototype.getRegionDiscoveryEndpoint = function () {\n var _a, _b;\n return (_b = (_a = this.config) === null || _a === void 0 ? void 0 : _a.regions[this.getDefaultRegion()]) === null || _b === void 0 ? void 0 : _b.web_api_url;\n };\n ConfigurationProvider.prototype.getAuthenticationEndpoint = function (region) {\n var _a, _b;\n return (_b = (_a = this.config) === null || _a === void 0 ? void 0 : _a.regions[region]) === null || _b === void 0 ? void 0 : _b.web_api_url;\n };\n ConfigurationProvider.prototype.getMonitoringEndpoint = function (region) {\n var _a, _b, _c, _d;\n var realTimeUrl = (_b = (_a = this.config) === null || _a === void 0 ? void 0 : _a.regions[region]) === null || _b === void 0 ? void 0 : _b.real_time_url;\n var socketPort = (_d = (_c = this.config) === null || _c === void 0 ? void 0 : _c.regions[region]) === null || _d === void 0 ? void 0 : _d.socket_websocket_port;\n if (socketPort) {\n realTimeUrl += ':' + socketPort;\n }\n return realTimeUrl;\n };\n ConfigurationProvider.prototype.getGeneralEnvApiEndpoint = function () {\n var _a;\n return (_a = this.config) === null || _a === void 0 ? void 0 : _a.general_env_api_url;\n };\n ConfigurationProvider.prototype.getDefaultRegion = function () {\n var _a;\n return (_a = this.config) === null || _a === void 0 ? void 0 : _a.default_region;\n };\n ConfigurationProvider.prototype.getRegions = function () {\n return Object.keys(this.config.regions);\n };\n ConfigurationProvider.prototype.getClientId = function () {\n return this.clientId;\n };\n ConfigurationProvider.prototype.isUserAnalyticsEnabled = function () {\n var _a, _b;\n return (_b = (_a = this.config) === null || _a === void 0 ? void 0 : _a.user_analytics) === null || _b === void 0 ? void 0 : _b.enabled;\n };\n ConfigurationProvider.prototype.getUserAnalyticsApiKey = function () {\n var _a, _b;\n return (_b = (_a = this.config) === null || _a === void 0 ? void 0 : _a.user_analytics) === null || _b === void 0 ? void 0 : _b.api_key;\n };\n ConfigurationProvider.prototype.getCommonRegionConfigKeys = function () {\n return this.commonRegionConfigKeys;\n };\n ConfigurationProvider.prototype.getRegionSpecificConfigKeys = function () {\n return this.specificRegionConfigkeys;\n };\n ConfigurationProvider.prototype.getFullConfig = function () {\n return this.config;\n };\n ConfigurationProvider.getConfigUrl = function (env) { return \"https://consts.bringg.com/regions/\".concat(env, \".json\"); };\n return ConfigurationProvider;\n}());\nexports.ConfigurationProvider = ConfigurationProvider;\nfunction api(url) {\n return fetch(url).then(function (response) {\n if (!response.ok) {\n throw new Error(response.statusText);\n }\n return response.json().then(function (data) { return data; });\n });\n}\n//# sourceMappingURL=ConfigurationProvider.js.map\n\n//# sourceURL=webpack://BringgDashboardSDK/./dist/Core/ConfigurationProvider.js?");
490
490
 
491
491
  /***/ }),
492
492
 
@@ -707,7 +707,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexport
707
707
  /***/ (function(module, exports, __webpack_require__) {
708
708
 
709
709
  "use strict";
710
- eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar CustomAttributesEntity_1 = __webpack_require__(/*! ./Entity/CustomAttributesEntity */ \"./dist/CustomAttributes/Entity/CustomAttributesEntity.js\");\nvar CustomAttributesApi = /** @class */ (function () {\n function CustomAttributesApi(session) {\n this.customAttributesEntity = new CustomAttributesEntity_1.default(session);\n }\n CustomAttributesApi.prototype.getAllCustomAttributes = function () {\n return this.customAttributesEntity.getAllCustomAttributes();\n };\n CustomAttributesApi.prototype.createCustomAttribute = function (payload) {\n return this.customAttributesEntity.createCustomAttribute(payload);\n };\n CustomAttributesApi.prototype.updateCustomAttribute = function (payload) {\n return this.customAttributesEntity.updateCustomAttribute(payload);\n };\n CustomAttributesApi.prototype.deleteCustomAttribute = function (id) {\n return this.customAttributesEntity.deleteCustomAttribute(id);\n };\n return CustomAttributesApi;\n}());\nexports.default = CustomAttributesApi;\n//# sourceMappingURL=CustomAttributesApi.js.map\n\n//# sourceURL=webpack://BringgDashboardSDK/./dist/CustomAttributes/CustomAttributesApi.js?");
710
+ eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar CustomAttributesEntity_1 = __webpack_require__(/*! ./Entity/CustomAttributesEntity */ \"./dist/CustomAttributes/Entity/CustomAttributesEntity.js\");\nvar CustomAttributesApi = /** @class */ (function () {\n function CustomAttributesApi(session) {\n this.customAttributesEntity = new CustomAttributesEntity_1.default(session);\n }\n CustomAttributesApi.prototype.getAllCustomAttributes = function (params) {\n return this.customAttributesEntity.getAllCustomAttributes(params);\n };\n CustomAttributesApi.prototype.createCustomAttribute = function (payload) {\n return this.customAttributesEntity.createCustomAttribute(payload);\n };\n CustomAttributesApi.prototype.updateCustomAttribute = function (payload) {\n return this.customAttributesEntity.updateCustomAttribute(payload);\n };\n CustomAttributesApi.prototype.deleteCustomAttribute = function (id) {\n return this.customAttributesEntity.deleteCustomAttribute(id);\n };\n return CustomAttributesApi;\n}());\nexports.default = CustomAttributesApi;\n//# sourceMappingURL=CustomAttributesApi.js.map\n\n//# sourceURL=webpack://BringgDashboardSDK/./dist/CustomAttributes/CustomAttributesApi.js?");
711
711
 
712
712
  /***/ }),
713
713
 
@@ -720,7 +720,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Cu
720
720
  /***/ (function(module, exports, __webpack_require__) {
721
721
 
722
722
  "use strict";
723
- eval("\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\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};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Entity_1 = __webpack_require__(/*! ../../Core/Entity */ \"./dist/Core/Entity.js\");\nvar CustomAttributes_consts_1 = __webpack_require__(/*! ../CustomAttributes.consts */ \"./dist/CustomAttributes/CustomAttributes.consts.js\");\nvar CustomAttributesEntity = /** @class */ (function (_super) {\n __extends(CustomAttributesEntity, _super);\n function CustomAttributesEntity(session) {\n return _super.call(this, {\n session: session,\n entityName: 'custom_attributes'\n }) || this;\n }\n CustomAttributesEntity.prototype.getAllCustomAttributes = function () {\n 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.service.routeGenerator\n .get(CustomAttributes_consts_1.Routes.SERVICE_ROUTE)\n .setException('failed to get all custom attributes')\n .invoke()];\n case 1: return [2 /*return*/, _a.sent()];\n }\n });\n });\n };\n CustomAttributesEntity.prototype.createCustomAttribute = function (payload) {\n 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.service.routeGenerator.post(CustomAttributes_consts_1.Routes.SERVICE_ROUTE).withPayload(payload).invoke()];\n case 1: return [2 /*return*/, _a.sent()];\n }\n });\n });\n };\n CustomAttributesEntity.prototype.updateCustomAttribute = function (payload) {\n 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.service.routeGenerator.patch(CustomAttributes_consts_1.Routes.SERVICE_ROUTE).withPayload(payload).invoke()];\n case 1: return [2 /*return*/, _a.sent()];\n }\n });\n });\n };\n CustomAttributesEntity.prototype.deleteCustomAttribute = function (id) {\n 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.service.routeGenerator\n .delete(CustomAttributes_consts_1.Routes.DELETE)\n .withRouteParams({ id: id })\n .setException('failed to delete custom attribute')\n .invoke()];\n case 1: return [2 /*return*/, _a.sent()];\n }\n });\n });\n };\n return CustomAttributesEntity;\n}(Entity_1.default));\nexports.default = CustomAttributesEntity;\n//# sourceMappingURL=CustomAttributesEntity.js.map\n\n//# sourceURL=webpack://BringgDashboardSDK/./dist/CustomAttributes/Entity/CustomAttributesEntity.js?");
723
+ eval("\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\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};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Entity_1 = __webpack_require__(/*! ../../Core/Entity */ \"./dist/Core/Entity.js\");\nvar CustomAttributes_consts_1 = __webpack_require__(/*! ../CustomAttributes.consts */ \"./dist/CustomAttributes/CustomAttributes.consts.js\");\nvar CustomAttributesEntity = /** @class */ (function (_super) {\n __extends(CustomAttributesEntity, _super);\n function CustomAttributesEntity(session) {\n return _super.call(this, {\n session: session,\n entityName: 'custom_attributes'\n }) || this;\n }\n CustomAttributesEntity.prototype.getAllCustomAttributes = function (params) {\n 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.service.routeGenerator\n .get(CustomAttributes_consts_1.Routes.SERVICE_ROUTE)\n .withQueryString(params)\n .setException('failed to get all custom attributes')\n .invoke()];\n case 1: return [2 /*return*/, _a.sent()];\n }\n });\n });\n };\n CustomAttributesEntity.prototype.createCustomAttribute = function (payload) {\n 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.service.routeGenerator.post(CustomAttributes_consts_1.Routes.SERVICE_ROUTE).withPayload(payload).invoke()];\n case 1: return [2 /*return*/, _a.sent()];\n }\n });\n });\n };\n CustomAttributesEntity.prototype.updateCustomAttribute = function (payload) {\n 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.service.routeGenerator.patch(CustomAttributes_consts_1.Routes.SERVICE_ROUTE).withPayload(payload).invoke()];\n case 1: return [2 /*return*/, _a.sent()];\n }\n });\n });\n };\n CustomAttributesEntity.prototype.deleteCustomAttribute = function (id) {\n 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.service.routeGenerator\n .delete(CustomAttributes_consts_1.Routes.DELETE)\n .withRouteParams({ id: id })\n .setException('failed to delete custom attribute')\n .invoke()];\n case 1: return [2 /*return*/, _a.sent()];\n }\n });\n });\n };\n return CustomAttributesEntity;\n}(Entity_1.default));\nexports.default = CustomAttributesEntity;\n//# sourceMappingURL=CustomAttributesEntity.js.map\n\n//# sourceURL=webpack://BringgDashboardSDK/./dist/CustomAttributes/Entity/CustomAttributesEntity.js?");
724
724
 
725
725
  /***/ }),
726
726
 
@@ -2657,7 +2657,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexport
2657
2657
  /***/ (function(module, exports, __webpack_require__) {
2658
2658
 
2659
2659
  "use strict";
2660
- 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};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AnonymousServiceRequest = exports.AuthorizedServiceRequest = exports.ResponseHandler = exports.RequestOptions = exports.logErrorResponse = void 0;\nvar axios_1 = __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 = __webpack_require__(/*! ../Core/Logger */ \"./dist/Core/Logger.js\");\nvar abort_1 = __webpack_require__(/*! ../utils/abort */ \"./dist/utils/abort.js\");\nvar version = '6.0.0';\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, \n // eslint-disable-next-line @typescript-eslint/ban-types\n queryString, authenticationToken, \n // eslint-disable-next-line @typescript-eslint/ban-types\n 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, \n// eslint-disable-next-line @typescript-eslint/ban-types\nrouteParams, 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, \n// eslint-disable-next-line @typescript-eslint/ban-types\nheaders, 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}\n// eslint-disable-next-line @typescript-eslint/ban-types\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, \n // eslint-disable-next-line @typescript-eslint/ban-types\n routeParams, \n // eslint-disable-next-line @typescript-eslint/ban-types\n queryString, payload, \n // eslint-disable-next-line @typescript-eslint/ban-types\n 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, \n // eslint-disable-next-line @typescript-eslint/ban-types\n routeParams, \n // eslint-disable-next-line @typescript-eslint/ban-types\n 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?");
2660
+ 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};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AnonymousServiceRequest = exports.AuthorizedServiceRequest = exports.ResponseHandler = exports.RequestOptions = exports.logErrorResponse = void 0;\nvar axios_1 = __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 = __webpack_require__(/*! ../Core/Logger */ \"./dist/Core/Logger.js\");\nvar abort_1 = __webpack_require__(/*! ../utils/abort */ \"./dist/utils/abort.js\");\nvar version = '6.0.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, \n // eslint-disable-next-line @typescript-eslint/ban-types\n queryString, authenticationToken, \n // eslint-disable-next-line @typescript-eslint/ban-types\n 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, \n// eslint-disable-next-line @typescript-eslint/ban-types\nrouteParams, 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, \n// eslint-disable-next-line @typescript-eslint/ban-types\nheaders, 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}\n// eslint-disable-next-line @typescript-eslint/ban-types\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, \n // eslint-disable-next-line @typescript-eslint/ban-types\n routeParams, \n // eslint-disable-next-line @typescript-eslint/ban-types\n queryString, payload, \n // eslint-disable-next-line @typescript-eslint/ban-types\n 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, \n // eslint-disable-next-line @typescript-eslint/ban-types\n routeParams, \n // eslint-disable-next-line @typescript-eslint/ban-types\n 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?");
2661
2661
 
2662
2662
  /***/ }),
2663
2663
 
@@ -4178,7 +4178,7 @@ eval("\nvar __importDefault = (this && this.__importDefault) || function (mod) {
4178
4178
  /***/ (function(module, exports, __webpack_require__) {
4179
4179
 
4180
4180
  "use strict";
4181
- 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};\nexports.__esModule = true;\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/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/auth */ \"./node_modules/@bringg/types/types/auth.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/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/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/dispute */ \"./node_modules/@bringg/types/types/dispute.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/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);\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_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_configuration */ \"./node_modules/@bringg/types/types/optimization_configuration.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/optimization_type */ \"./node_modules/@bringg/types/types/optimization_type.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/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/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/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_optimization */ \"./node_modules/@bringg/types/types/route_optimization.js\"), exports);\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/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/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/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_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/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/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_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/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?");
4181
+ 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};\nexports.__esModule = true;\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/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/auth */ \"./node_modules/@bringg/types/types/auth.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/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/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/dispute */ \"./node_modules/@bringg/types/types/dispute.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/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);\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_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_configuration */ \"./node_modules/@bringg/types/types/optimization_configuration.js\"), exports);\n__exportStar(__webpack_require__(/*! ./types/optimization_type */ \"./node_modules/@bringg/types/types/optimization_type.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/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/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/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_optimization */ \"./node_modules/@bringg/types/types/route_optimization.js\"), exports);\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/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/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/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_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/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/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_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/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?");
4182
4182
 
4183
4183
  /***/ }),
4184
4184
 
@@ -4191,7 +4191,7 @@ eval("\nvar __createBinding = (this && this.__createBinding) || (Object.create ?
4191
4191
  /***/ (function(module, exports, __webpack_require__) {
4192
4192
 
4193
4193
  "use strict";
4194
- eval("\nexports.__esModule = true;\nexports.ActionKey = exports.ActionType = void 0;\nvar ActionType;\n(function (ActionType) {\n ActionType[ActionType[\"ALERT\"] = 0] = \"ALERT\";\n ActionType[ActionType[\"INTERNAL_SMS\"] = 1] = \"INTERNAL_SMS\";\n ActionType[ActionType[\"INTERNAL_EMAIL\"] = 2] = \"INTERNAL_EMAIL\";\n ActionType[ActionType[\"WEBHOOK\"] = 3] = \"WEBHOOK\";\n ActionType[ActionType[\"ENTITY_UPDATE\"] = 4] = \"ENTITY_UPDATE\";\n ActionType[ActionType[\"RELEASE\"] = 5] = \"RELEASE\";\n ActionType[ActionType[\"MARK_NOT_READY\"] = 6] = \"MARK_NOT_READY\";\n ActionType[ActionType[\"FINISH_TASK\"] = 7] = \"FINISH_TASK\";\n ActionType[ActionType[\"SHARE_WITH_CUSTOMER\"] = 8] = \"SHARE_WITH_CUSTOMER\";\n ActionType[ActionType[\"AUTO_UNASSIGN\"] = 9] = \"AUTO_UNASSIGN\";\n ActionType[ActionType[\"RESCHEDULE_TASKS\"] = 10] = \"RESCHEDULE_TASKS\";\n ActionType[ActionType[\"SHARED_LOCATION\"] = 11] = \"SHARED_LOCATION\";\n ActionType[ActionType[\"CONVERT_LINKED_TO_MM\"] = 12] = \"CONVERT_LINKED_TO_MM\";\n ActionType[ActionType[\"CONVERT_MM_TO_LINKED\"] = 13] = \"CONVERT_MM_TO_LINKED\";\n ActionType[ActionType[\"OPTIMIZATION\"] = 14] = \"OPTIMIZATION\";\n ActionType[ActionType[\"CANCEL_TASK\"] = 15] = \"CANCEL_TASK\";\n ActionType[ActionType[\"TOTAL_WEIGHT_NULLIFY\"] = 16] = \"TOTAL_WEIGHT_NULLIFY\";\n ActionType[ActionType[\"TOTAL_HANDLING_UNITS_NULLIFY_ALL\"] = 17] = \"TOTAL_HANDLING_UNITS_NULLIFY_ALL\";\n ActionType[ActionType[\"LEAN_COPY\"] = 18] = \"LEAN_COPY\";\n ActionType[ActionType[\"CALCULATE_AVAILABILITY_STATE\"] = 19] = \"CALCULATE_AVAILABILITY_STATE\";\n ActionType[ActionType[\"CALCULATE_AVAILABILITY_STATE_GENERIC\"] = 20] = \"CALCULATE_AVAILABILITY_STATE_GENERIC\";\n ActionType[ActionType[\"ASSIGN_TEAM_BY_PDW\"] = 21] = \"ASSIGN_TEAM_BY_PDW\";\n})(ActionType = exports.ActionType || (exports.ActionType = {}));\nvar ActionKey;\n(function (ActionKey) {\n ActionKey[\"UPDATE\"] = \"updateEntity\";\n ActionKey[\"GENERIC_ACTION\"] = \"genericAction\";\n ActionKey[\"ALERT\"] = \"alert\";\n ActionKey[\"SHARED_LOCATION\"] = \"sharedLocation\";\n ActionKey[\"OPTIMIZATION\"] = \"optimization\";\n ActionKey[\"CANCEL_TASK\"] = \"cancelTask\";\n ActionKey[\"LEAN_COPY\"] = \"leanCopy\";\n ActionKey[\"CALCULATE_AVAILABILITY_STATE\"] = \"calculateAvailabilityState\";\n})(ActionKey = exports.ActionKey || (exports.ActionKey = {}));\n//# sourceMappingURL=action.js.map\n\n//# sourceURL=webpack://BringgDashboardSDK/./node_modules/@bringg/types/types/action.js?");
4194
+ eval("\nexports.__esModule = true;\nexports.ActionKey = exports.ActionType = void 0;\nvar ActionType;\n(function (ActionType) {\n ActionType[ActionType[\"ALERT\"] = 0] = \"ALERT\";\n ActionType[ActionType[\"INTERNAL_SMS\"] = 1] = \"INTERNAL_SMS\";\n ActionType[ActionType[\"INTERNAL_EMAIL\"] = 2] = \"INTERNAL_EMAIL\";\n ActionType[ActionType[\"WEBHOOK\"] = 3] = \"WEBHOOK\";\n ActionType[ActionType[\"ENTITY_UPDATE\"] = 4] = \"ENTITY_UPDATE\";\n ActionType[ActionType[\"RELEASE\"] = 5] = \"RELEASE\";\n ActionType[ActionType[\"MARK_NOT_READY\"] = 6] = \"MARK_NOT_READY\";\n ActionType[ActionType[\"FINISH_TASK\"] = 7] = \"FINISH_TASK\";\n ActionType[ActionType[\"SHARE_WITH_CUSTOMER\"] = 8] = \"SHARE_WITH_CUSTOMER\";\n ActionType[ActionType[\"AUTO_UNASSIGN\"] = 9] = \"AUTO_UNASSIGN\";\n ActionType[ActionType[\"RESCHEDULE_TASKS\"] = 10] = \"RESCHEDULE_TASKS\";\n ActionType[ActionType[\"SHARED_LOCATION\"] = 11] = \"SHARED_LOCATION\";\n ActionType[ActionType[\"CONVERT_LINKED_TO_MM\"] = 12] = \"CONVERT_LINKED_TO_MM\";\n ActionType[ActionType[\"CONVERT_MM_TO_LINKED\"] = 13] = \"CONVERT_MM_TO_LINKED\";\n ActionType[ActionType[\"OPTIMIZATION\"] = 14] = \"OPTIMIZATION\";\n ActionType[ActionType[\"CANCEL_TASK\"] = 15] = \"CANCEL_TASK\";\n ActionType[ActionType[\"TOTAL_WEIGHT_NULLIFY\"] = 16] = \"TOTAL_WEIGHT_NULLIFY\";\n ActionType[ActionType[\"TOTAL_HANDLING_UNITS_NULLIFY_ALL\"] = 17] = \"TOTAL_HANDLING_UNITS_NULLIFY_ALL\";\n ActionType[ActionType[\"LEAN_COPY\"] = 18] = \"LEAN_COPY\";\n ActionType[ActionType[\"CALCULATE_AVAILABILITY_STATE\"] = 19] = \"CALCULATE_AVAILABILITY_STATE\";\n ActionType[ActionType[\"CALCULATE_AVAILABILITY_STATE_GENERIC\"] = 20] = \"CALCULATE_AVAILABILITY_STATE_GENERIC\";\n ActionType[ActionType[\"ASSIGN_TEAM_BY_PDW\"] = 21] = \"ASSIGN_TEAM_BY_PDW\";\n ActionType[ActionType[\"NARROW_ACTIONABLE_WP_TIME_WINDOW\"] = 22] = \"NARROW_ACTIONABLE_WP_TIME_WINDOW\";\n})(ActionType = exports.ActionType || (exports.ActionType = {}));\nvar ActionKey;\n(function (ActionKey) {\n ActionKey[\"UPDATE\"] = \"updateEntity\";\n ActionKey[\"GENERIC_ACTION\"] = \"genericAction\";\n ActionKey[\"ALERT\"] = \"alert\";\n ActionKey[\"SHARED_LOCATION\"] = \"sharedLocation\";\n ActionKey[\"OPTIMIZATION\"] = \"optimization\";\n ActionKey[\"CANCEL_TASK\"] = \"cancelTask\";\n ActionKey[\"LEAN_COPY\"] = \"leanCopy\";\n ActionKey[\"CALCULATE_AVAILABILITY_STATE\"] = \"calculateAvailabilityState\";\n ActionKey[\"NARROW_ACTIONABLE_WP_TIME_WINDOW\"] = \"narrowActionableWpTimeWindow\";\n})(ActionKey = exports.ActionKey || (exports.ActionKey = {}));\n//# sourceMappingURL=action.js.map\n\n//# sourceURL=webpack://BringgDashboardSDK/./node_modules/@bringg/types/types/action.js?");
4195
4195
 
4196
4196
  /***/ }),
4197
4197
 
@@ -4546,6 +4546,19 @@ eval("\nexports.__esModule = true;\n//# sourceMappingURL=company.js.map\n\n//# s
4546
4546
 
4547
4547
  /***/ }),
4548
4548
 
4549
+ /***/ "./node_modules/@bringg/types/types/config_loader.js":
4550
+ /*!***********************************************************!*\
4551
+ !*** ./node_modules/@bringg/types/types/config_loader.js ***!
4552
+ \***********************************************************/
4553
+ /*! no static exports found */
4554
+ /*! all exports used */
4555
+ /***/ (function(module, exports, __webpack_require__) {
4556
+
4557
+ "use strict";
4558
+ eval("\nexports.__esModule = true;\n//# sourceMappingURL=config_loader.js.map\n\n//# sourceURL=webpack://BringgDashboardSDK/./node_modules/@bringg/types/types/config_loader.js?");
4559
+
4560
+ /***/ }),
4561
+
4549
4562
  /***/ "./node_modules/@bringg/types/types/country.js":
4550
4563
  /*!*****************************************************!*\
4551
4564
  !*** ./node_modules/@bringg/types/types/country.js ***!
@@ -4594,7 +4607,7 @@ eval("\nvar _a;\nexports.__esModule = true;\nexports.Currencies = exports.Curren
4594
4607
  /***/ (function(module, exports, __webpack_require__) {
4595
4608
 
4596
4609
  "use strict";
4597
- eval("\nexports.__esModule = true;\nexports.pathValidationRegExp = exports.CustomAttributeConsumerEntity = exports.CustomAttributesRpcActions = exports.CustomAttributeResolverType = exports.CustomAttributeDataType = exports.CustomAttributeEntityType = void 0;\nvar CustomAttributeEntityType;\n(function (CustomAttributeEntityType) {\n CustomAttributeEntityType[CustomAttributeEntityType[\"Task\"] = 0] = \"Task\";\n CustomAttributeEntityType[CustomAttributeEntityType[\"Waypoint\"] = 1] = \"Waypoint\";\n CustomAttributeEntityType[CustomAttributeEntityType[\"Customer\"] = 2] = \"Customer\";\n CustomAttributeEntityType[CustomAttributeEntityType[\"Team\"] = 3] = \"Team\";\n CustomAttributeEntityType[CustomAttributeEntityType[\"User\"] = 4] = \"User\";\n})(CustomAttributeEntityType = exports.CustomAttributeEntityType || (exports.CustomAttributeEntityType = {}));\nvar CustomAttributeDataType;\n(function (CustomAttributeDataType) {\n CustomAttributeDataType[CustomAttributeDataType[\"Number\"] = 0] = \"Number\";\n CustomAttributeDataType[CustomAttributeDataType[\"String\"] = 1] = \"String\";\n CustomAttributeDataType[CustomAttributeDataType[\"Boolean\"] = 2] = \"Boolean\";\n CustomAttributeDataType[CustomAttributeDataType[\"Enum\"] = 3] = \"Enum\";\n})(CustomAttributeDataType = exports.CustomAttributeDataType || (exports.CustomAttributeDataType = {}));\nvar CustomAttributeResolverType;\n(function (CustomAttributeResolverType) {\n CustomAttributeResolverType[\"JSONata\"] = \"JSONata\";\n})(CustomAttributeResolverType = exports.CustomAttributeResolverType || (exports.CustomAttributeResolverType = {}));\nvar CustomAttributesRpcActions;\n(function (CustomAttributesRpcActions) {\n CustomAttributesRpcActions[\"GetAll\"] = \"get_all\";\n CustomAttributesRpcActions[\"GetAllInternal\"] = \"get_all_internal\";\n CustomAttributesRpcActions[\"UpsertSuggestion\"] = \"upsert_suggestion\";\n CustomAttributesRpcActions[\"CheckUsage\"] = \"custom_attributes:check_record_usage\";\n})(CustomAttributesRpcActions = exports.CustomAttributesRpcActions || (exports.CustomAttributesRpcActions = {}));\nvar CustomAttributeConsumerEntity;\n(function (CustomAttributeConsumerEntity) {\n CustomAttributeConsumerEntity[\"AnalyticsReport\"] = \"analytics_report\";\n CustomAttributeConsumerEntity[\"Rule\"] = \"rule\";\n})(CustomAttributeConsumerEntity = exports.CustomAttributeConsumerEntity || (exports.CustomAttributeConsumerEntity = {}));\nexports.pathValidationRegExp = /^[a-zA-Z_$\\d]+(\\[\\d+\\])*?$/;\n//# sourceMappingURL=custom_attribute.js.map\n\n//# sourceURL=webpack://BringgDashboardSDK/./node_modules/@bringg/types/types/custom_attribute.js?");
4610
+ eval("\nexports.__esModule = true;\nexports.pathValidationRegExp = exports.CustomAttributeConsumerEntity = exports.CustomAttributesRpcActions = exports.CustomAttributeResolverType = exports.CustomAttributeDataType = exports.CustomAttributeEntityType = void 0;\nvar CustomAttributeEntityType;\n(function (CustomAttributeEntityType) {\n CustomAttributeEntityType[CustomAttributeEntityType[\"Task\"] = 0] = \"Task\";\n CustomAttributeEntityType[CustomAttributeEntityType[\"Waypoint\"] = 1] = \"Waypoint\";\n CustomAttributeEntityType[CustomAttributeEntityType[\"Customer\"] = 2] = \"Customer\";\n CustomAttributeEntityType[CustomAttributeEntityType[\"Team\"] = 3] = \"Team\";\n CustomAttributeEntityType[CustomAttributeEntityType[\"User\"] = 4] = \"User\";\n})(CustomAttributeEntityType = exports.CustomAttributeEntityType || (exports.CustomAttributeEntityType = {}));\nvar CustomAttributeDataType;\n(function (CustomAttributeDataType) {\n CustomAttributeDataType[CustomAttributeDataType[\"Number\"] = 0] = \"Number\";\n CustomAttributeDataType[CustomAttributeDataType[\"String\"] = 1] = \"String\";\n CustomAttributeDataType[CustomAttributeDataType[\"Boolean\"] = 2] = \"Boolean\";\n CustomAttributeDataType[CustomAttributeDataType[\"Enum\"] = 3] = \"Enum\";\n})(CustomAttributeDataType = exports.CustomAttributeDataType || (exports.CustomAttributeDataType = {}));\nvar CustomAttributeResolverType;\n(function (CustomAttributeResolverType) {\n CustomAttributeResolverType[\"JSONata\"] = \"JSONata\";\n})(CustomAttributeResolverType = exports.CustomAttributeResolverType || (exports.CustomAttributeResolverType = {}));\nvar CustomAttributesRpcActions;\n(function (CustomAttributesRpcActions) {\n CustomAttributesRpcActions[\"GetAll\"] = \"get_all\";\n CustomAttributesRpcActions[\"GetAllByIds\"] = \"get_all_by_ids\";\n CustomAttributesRpcActions[\"GetAllInternal\"] = \"get_all_internal\";\n CustomAttributesRpcActions[\"UpsertSuggestion\"] = \"upsert_suggestion\";\n CustomAttributesRpcActions[\"CheckUsage\"] = \"custom_attributes:check_record_usage\";\n})(CustomAttributesRpcActions = exports.CustomAttributesRpcActions || (exports.CustomAttributesRpcActions = {}));\nvar CustomAttributeConsumerEntity;\n(function (CustomAttributeConsumerEntity) {\n CustomAttributeConsumerEntity[\"AnalyticsReport\"] = \"analytics_report\";\n CustomAttributeConsumerEntity[\"Rule\"] = \"rule\";\n})(CustomAttributeConsumerEntity = exports.CustomAttributeConsumerEntity || (exports.CustomAttributeConsumerEntity = {}));\nexports.pathValidationRegExp = /^[a-zA-Z_$\\d]+(\\[\\d+\\])*?$/;\n//# sourceMappingURL=custom_attribute.js.map\n\n//# sourceURL=webpack://BringgDashboardSDK/./node_modules/@bringg/types/types/custom_attribute.js?");
4598
4611
 
4599
4612
  /***/ }),
4600
4613
 
@@ -5322,7 +5335,7 @@ eval("\nexports.__esModule = true;\nexports.RealtimeEvent = void 0;\nvar Realtim
5322
5335
  /***/ (function(module, exports, __webpack_require__) {
5323
5336
 
5324
5337
  "use strict";
5325
- eval("\nexports.__esModule = true;\nexports.ReasonToCancelTaskType = void 0;\nvar ReasonToCancelTaskType;\n(function (ReasonToCancelTaskType) {\n ReasonToCancelTaskType[\"CUSTOMER_WAS_NOT_AT_DESTINATION\"] = \"customer_was_not_at_destination\";\n ReasonToCancelTaskType[\"CUSTOMER_REFUSED_TO_ACCEPT\"] = \"customer_refused_to_accept\";\n ReasonToCancelTaskType[\"INCORRECT_ADDRESS\"] = \"incorrect_address\";\n ReasonToCancelTaskType[\"DAMAGED_GOODS\"] = \"damaged_goods\";\n ReasonToCancelTaskType[\"TECHNICAL_DIFFICULTIES\"] = \"technical_difficulties\";\n ReasonToCancelTaskType[\"OTHER\"] = \"other\";\n ReasonToCancelTaskType[\"RESERVATION_EXPIRED\"] = \"reservation_expired\";\n ReasonToCancelTaskType[\"CUSTOM\"] = \"custom\";\n ReasonToCancelTaskType[\"PRIMARY_ORDER_CANCELLED\"] = \"primary_order_cancelled\";\n})(ReasonToCancelTaskType = exports.ReasonToCancelTaskType || (exports.ReasonToCancelTaskType = {}));\n//# sourceMappingURL=reason_to_cancel_task.js.map\n\n//# sourceURL=webpack://BringgDashboardSDK/./node_modules/@bringg/types/types/reason_to_cancel_task.js?");
5338
+ eval("\nexports.__esModule = true;\nexports.ReasonToCancelTaskType = exports.ReasonOrderType = void 0;\nvar ReasonOrderType;\n(function (ReasonOrderType) {\n ReasonOrderType[ReasonOrderType[\"NONE\"] = 0] = \"NONE\";\n ReasonOrderType[ReasonOrderType[\"PICKUP\"] = 1] = \"PICKUP\";\n ReasonOrderType[ReasonOrderType[\"DROPOFF\"] = 2] = \"DROPOFF\";\n ReasonOrderType[ReasonOrderType[\"PICKUP_AND_DROPOFF\"] = 3] = \"PICKUP_AND_DROPOFF\";\n ReasonOrderType[ReasonOrderType[\"CURBSIDE\"] = 6] = \"CURBSIDE\";\n})(ReasonOrderType = exports.ReasonOrderType || (exports.ReasonOrderType = {}));\nvar ReasonToCancelTaskType;\n(function (ReasonToCancelTaskType) {\n ReasonToCancelTaskType[\"CUSTOMER_WAS_NOT_AT_DESTINATION\"] = \"customer_was_not_at_destination\";\n ReasonToCancelTaskType[\"CUSTOMER_REFUSED_TO_ACCEPT\"] = \"customer_refused_to_accept\";\n ReasonToCancelTaskType[\"INCORRECT_ADDRESS\"] = \"incorrect_address\";\n ReasonToCancelTaskType[\"DAMAGED_GOODS\"] = \"damaged_goods\";\n ReasonToCancelTaskType[\"TECHNICAL_DIFFICULTIES\"] = \"technical_difficulties\";\n ReasonToCancelTaskType[\"OTHER\"] = \"other\";\n ReasonToCancelTaskType[\"RESERVATION_EXPIRED\"] = \"reservation_expired\";\n ReasonToCancelTaskType[\"CUSTOM\"] = \"custom\";\n ReasonToCancelTaskType[\"PRIMARY_ORDER_CANCELLED\"] = \"primary_order_cancelled\";\n})(ReasonToCancelTaskType = exports.ReasonToCancelTaskType || (exports.ReasonToCancelTaskType = {}));\n//# sourceMappingURL=reason_to_cancel_task.js.map\n\n//# sourceURL=webpack://BringgDashboardSDK/./node_modules/@bringg/types/types/reason_to_cancel_task.js?");
5326
5339
 
5327
5340
  /***/ }),
5328
5341
 
@@ -6180,7 +6193,7 @@ eval("\nexports.__esModule = true;\nvar action_1 = __webpack_require__(/*! ../ac
6180
6193
  /***/ (function(module, exports, __webpack_require__) {
6181
6194
 
6182
6195
  "use strict";
6183
- 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};\nexports.__esModule = true;\n__exportStar(__webpack_require__(/*! ./alert-action-types */ \"./node_modules/@bringg/types/types/workflow/alert-action-types.js\"), exports);\n__exportStar(__webpack_require__(/*! ./alerts_configuration */ \"./node_modules/@bringg/types/types/workflow/alerts_configuration.js\"), exports);\n__exportStar(__webpack_require__(/*! ./calculate_availability_state_types */ \"./node_modules/@bringg/types/types/workflow/calculate_availability_state_types.js\"), exports);\n__exportStar(__webpack_require__(/*! ./cancel_task_types */ \"./node_modules/@bringg/types/types/workflow/cancel_task_types.js\"), exports);\n__exportStar(__webpack_require__(/*! ./generic-action-types */ \"./node_modules/@bringg/types/types/workflow/generic-action-types.js\"), exports);\n__exportStar(__webpack_require__(/*! ./lean_copy_types */ \"./node_modules/@bringg/types/types/workflow/lean_copy_types.js\"), exports);\n__exportStar(__webpack_require__(/*! ./optimization_types */ \"./node_modules/@bringg/types/types/workflow/optimization_types.js\"), exports);\n__exportStar(__webpack_require__(/*! ./rule_types */ \"./node_modules/@bringg/types/types/workflow/rule_types.js\"), exports);\n__exportStar(__webpack_require__(/*! ./share_location_types */ \"./node_modules/@bringg/types/types/workflow/share_location_types.js\"), exports);\n__exportStar(__webpack_require__(/*! ./update_entity_types */ \"./node_modules/@bringg/types/types/workflow/update_entity_types.js\"), exports);\n__exportStar(__webpack_require__(/*! ./workflow-template-strings */ \"./node_modules/@bringg/types/types/workflow/workflow-template-strings.js\"), exports);\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://BringgDashboardSDK/./node_modules/@bringg/types/types/workflow/index.js?");
6196
+ 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};\nexports.__esModule = true;\n__exportStar(__webpack_require__(/*! ./alert-action-types */ \"./node_modules/@bringg/types/types/workflow/alert-action-types.js\"), exports);\n__exportStar(__webpack_require__(/*! ./alerts_configuration */ \"./node_modules/@bringg/types/types/workflow/alerts_configuration.js\"), exports);\n__exportStar(__webpack_require__(/*! ./calculate_availability_state_types */ \"./node_modules/@bringg/types/types/workflow/calculate_availability_state_types.js\"), exports);\n__exportStar(__webpack_require__(/*! ./cancel_task_types */ \"./node_modules/@bringg/types/types/workflow/cancel_task_types.js\"), exports);\n__exportStar(__webpack_require__(/*! ./generic-action-types */ \"./node_modules/@bringg/types/types/workflow/generic-action-types.js\"), exports);\n__exportStar(__webpack_require__(/*! ./lean_copy_types */ \"./node_modules/@bringg/types/types/workflow/lean_copy_types.js\"), exports);\n__exportStar(__webpack_require__(/*! ./narrow_actionable_wp_types */ \"./node_modules/@bringg/types/types/workflow/narrow_actionable_wp_types.js\"), exports);\n__exportStar(__webpack_require__(/*! ./optimization_types */ \"./node_modules/@bringg/types/types/workflow/optimization_types.js\"), exports);\n__exportStar(__webpack_require__(/*! ./rule_types */ \"./node_modules/@bringg/types/types/workflow/rule_types.js\"), exports);\n__exportStar(__webpack_require__(/*! ./share_location_types */ \"./node_modules/@bringg/types/types/workflow/share_location_types.js\"), exports);\n__exportStar(__webpack_require__(/*! ./update_entity_types */ \"./node_modules/@bringg/types/types/workflow/update_entity_types.js\"), exports);\n__exportStar(__webpack_require__(/*! ./workflow-template-strings */ \"./node_modules/@bringg/types/types/workflow/workflow-template-strings.js\"), exports);\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://BringgDashboardSDK/./node_modules/@bringg/types/types/workflow/index.js?");
6184
6197
 
6185
6198
  /***/ }),
6186
6199
 
@@ -6197,6 +6210,19 @@ eval("\nexports.__esModule = true;\nvar action_1 = __webpack_require__(/*! ../ac
6197
6210
 
6198
6211
  /***/ }),
6199
6212
 
6213
+ /***/ "./node_modules/@bringg/types/types/workflow/narrow_actionable_wp_types.js":
6214
+ /*!*********************************************************************************!*\
6215
+ !*** ./node_modules/@bringg/types/types/workflow/narrow_actionable_wp_types.js ***!
6216
+ \*********************************************************************************/
6217
+ /*! no static exports found */
6218
+ /*! all exports used */
6219
+ /***/ (function(module, exports, __webpack_require__) {
6220
+
6221
+ "use strict";
6222
+ eval("\nexports.__esModule = true;\nvar action_1 = __webpack_require__(/*! ../action */ \"./node_modules/@bringg/types/types/action.js\");\n//# sourceMappingURL=narrow_actionable_wp_types.js.map\n\n//# sourceURL=webpack://BringgDashboardSDK/./node_modules/@bringg/types/types/workflow/narrow_actionable_wp_types.js?");
6223
+
6224
+ /***/ }),
6225
+
6200
6226
  /***/ "./node_modules/@bringg/types/types/workflow/optimization_types.js":
6201
6227
  /*!*************************************************************************!*\
6202
6228
  !*** ./node_modules/@bringg/types/types/workflow/optimization_types.js ***!