@bringg/dashboard-sdk 9.56.0 → 9.57.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/BringgDashboardSDK.d.ts +2 -0
- package/dist/BringgDashboardSDK.js +2 -0
- package/dist/BringgDashboardSDK.js.map +1 -1
- package/dist/CapacityPlanningInsights/CapacityInsightsApi.d.ts +13 -0
- package/dist/CapacityPlanningInsights/CapacityInsightsApi.js +165 -0
- package/dist/CapacityPlanningInsights/CapacityInsightsApi.js.map +1 -0
- package/dist/CapacityPlanningInsights/Entity/CapacityInsightsEntity.d.ts +10 -0
- package/dist/CapacityPlanningInsights/Entity/CapacityInsightsEntity.js +120 -0
- package/dist/CapacityPlanningInsights/Entity/CapacityInsightsEntity.js.map +1 -0
- package/dist/CapacityPlanningInsights/types.d.ts +21 -0
- package/dist/CapacityPlanningInsights/types.js +3 -0
- package/dist/CapacityPlanningInsights/types.js.map +1 -0
- package/dist/Services/ServiceRequest.js +1 -1
- package/dist/bringg-dashboard-sdk-cjs2.js +487 -3
- package/dist/bringg-dashboard-sdk-cjs2.js.map +1 -1
- package/dist/bringg-dashboard-sdk.js +110 -11
- package/dist/bringg-dashboard-sdk.min.js +1 -1
- package/dist/bringg-dashboard-sdk.min.js.map +1 -1
- package/package.json +3 -3
|
@@ -2686,6 +2686,7 @@ var ApplicationMerchantConfigurationApi_1 = __importDefault(__webpack_require__(
|
|
|
2686
2686
|
var ApplicationTeamConfigurationApi_1 = __importDefault(__webpack_require__(59306));
|
|
2687
2687
|
var AsyncOperationStatus_1 = __webpack_require__(37360);
|
|
2688
2688
|
var BillingApi_1 = __importDefault(__webpack_require__(25475));
|
|
2689
|
+
var CapacityInsightsApi_1 = __importDefault(__webpack_require__(75494));
|
|
2689
2690
|
var Chat_1 = __importDefault(__webpack_require__(17629));
|
|
2690
2691
|
var ChatConversationApi_1 = __importDefault(__webpack_require__(74617));
|
|
2691
2692
|
var Company_1 = __importDefault(__webpack_require__(97275));
|
|
@@ -3189,6 +3190,7 @@ function init(session) {
|
|
|
3189
3190
|
bringg.orderExecutionActions = new order_execution_actions_api_1.default(session);
|
|
3190
3191
|
bringg.presetViews = new preset_views_api_1.default(session);
|
|
3191
3192
|
bringg.userPresetViews = new user_preset_views_api_1.default(session);
|
|
3193
|
+
bringg.capacityInsights = new CapacityInsightsApi_1.default(session);
|
|
3192
3194
|
// dependent
|
|
3193
3195
|
bringg.crews = new Crew_1.default(session, bringg.users);
|
|
3194
3196
|
bringg.applicationMerchantConfiguration = new ApplicationMerchantConfigurationApi_1.default(session, bringg.merchantConfiguration);
|
|
@@ -3356,6 +3358,305 @@ exports.newConfigurationProvider = newConfigurationProvider;
|
|
|
3356
3358
|
|
|
3357
3359
|
/***/ }),
|
|
3358
3360
|
|
|
3361
|
+
/***/ 75494:
|
|
3362
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
3363
|
+
|
|
3364
|
+
"use strict";
|
|
3365
|
+
|
|
3366
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3367
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3368
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
3369
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
3370
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
3371
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
3372
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
3373
|
+
});
|
|
3374
|
+
};
|
|
3375
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
3376
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
3377
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
3378
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
3379
|
+
function step(op) {
|
|
3380
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
3381
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
3382
|
+
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;
|
|
3383
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
3384
|
+
switch (op[0]) {
|
|
3385
|
+
case 0: case 1: t = op; break;
|
|
3386
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
3387
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
3388
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
3389
|
+
default:
|
|
3390
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
3391
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
3392
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
3393
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
3394
|
+
if (t[2]) _.ops.pop();
|
|
3395
|
+
_.trys.pop(); continue;
|
|
3396
|
+
}
|
|
3397
|
+
op = body.call(thisArg, _);
|
|
3398
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
3399
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
3400
|
+
}
|
|
3401
|
+
};
|
|
3402
|
+
var __read = (this && this.__read) || function (o, n) {
|
|
3403
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
3404
|
+
if (!m) return o;
|
|
3405
|
+
var i = m.call(o), r, ar = [], e;
|
|
3406
|
+
try {
|
|
3407
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
3408
|
+
}
|
|
3409
|
+
catch (error) { e = { error: error }; }
|
|
3410
|
+
finally {
|
|
3411
|
+
try {
|
|
3412
|
+
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
3413
|
+
}
|
|
3414
|
+
finally { if (e) throw e.error; }
|
|
3415
|
+
}
|
|
3416
|
+
return ar;
|
|
3417
|
+
};
|
|
3418
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
3419
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
3420
|
+
if (ar || !(i in from)) {
|
|
3421
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
3422
|
+
ar[i] = from[i];
|
|
3423
|
+
}
|
|
3424
|
+
}
|
|
3425
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
3426
|
+
};
|
|
3427
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3428
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
3429
|
+
};
|
|
3430
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
3431
|
+
var moment_1 = __importDefault(__webpack_require__(30381));
|
|
3432
|
+
var CapacityInsightsEntity_1 = __importDefault(__webpack_require__(53948));
|
|
3433
|
+
var DATE_FORMAT = 'YYYY-MM-DD';
|
|
3434
|
+
var CapacityInsightsApi = /** @class */ (function () {
|
|
3435
|
+
function CapacityInsightsApi(session) {
|
|
3436
|
+
this.capacityInsightsEntity = new CapacityInsightsEntity_1.default(session);
|
|
3437
|
+
}
|
|
3438
|
+
CapacityInsightsApi.prototype.getInsightCount = function (params) {
|
|
3439
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
3440
|
+
return __generator(this, function (_a) {
|
|
3441
|
+
return [2 /*return*/, this.capacityInsightsEntity.getInsightCount(params)];
|
|
3442
|
+
});
|
|
3443
|
+
});
|
|
3444
|
+
};
|
|
3445
|
+
CapacityInsightsApi.prototype.getInsights = function (params) {
|
|
3446
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
3447
|
+
return __generator(this, function (_a) {
|
|
3448
|
+
return [2 /*return*/, this.capacityInsightsEntity.getInsights(params)];
|
|
3449
|
+
});
|
|
3450
|
+
});
|
|
3451
|
+
};
|
|
3452
|
+
CapacityInsightsApi.prototype.updateInsightDone = function (params) {
|
|
3453
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
3454
|
+
return __generator(this, function (_a) {
|
|
3455
|
+
return [2 /*return*/, this.capacityInsightsEntity.updateInsightDone(params)];
|
|
3456
|
+
});
|
|
3457
|
+
});
|
|
3458
|
+
};
|
|
3459
|
+
CapacityInsightsApi.prototype.getInsightsForDates = function (dates, teamId) {
|
|
3460
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
3461
|
+
var sortedDates, dateStart, dateEnd, insights, insightsByDate;
|
|
3462
|
+
return __generator(this, function (_a) {
|
|
3463
|
+
switch (_a.label) {
|
|
3464
|
+
case 0:
|
|
3465
|
+
if (dates.length === 0) {
|
|
3466
|
+
return [2 /*return*/, {}];
|
|
3467
|
+
}
|
|
3468
|
+
sortedDates = __spreadArray([], __read(dates), false).sort(function (a, b) { return a.valueOf() - b.valueOf(); });
|
|
3469
|
+
dateStart = sortedDates[0].format(DATE_FORMAT);
|
|
3470
|
+
dateEnd = sortedDates[sortedDates.length - 1].format(DATE_FORMAT);
|
|
3471
|
+
return [4 /*yield*/, this.getInsights({
|
|
3472
|
+
teamId: teamId,
|
|
3473
|
+
dateStart: dateStart,
|
|
3474
|
+
dateEnd: dateEnd
|
|
3475
|
+
})];
|
|
3476
|
+
case 1:
|
|
3477
|
+
insights = _a.sent();
|
|
3478
|
+
insightsByDate = {};
|
|
3479
|
+
dates.forEach(function (date) {
|
|
3480
|
+
var dateString = date.format(DATE_FORMAT);
|
|
3481
|
+
insightsByDate[dateString] = insights.filter(function (insight) {
|
|
3482
|
+
var insightDate = (0, moment_1.default)(insight.scheduled_date).format(DATE_FORMAT);
|
|
3483
|
+
return insightDate === dateString;
|
|
3484
|
+
});
|
|
3485
|
+
});
|
|
3486
|
+
return [2 /*return*/, insightsByDate];
|
|
3487
|
+
}
|
|
3488
|
+
});
|
|
3489
|
+
});
|
|
3490
|
+
};
|
|
3491
|
+
CapacityInsightsApi.prototype.getInsightCountsForTeams = function (teamIds, dateStart, dateEnd) {
|
|
3492
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
3493
|
+
var BATCH_SIZE, countsMap, i, batch, response;
|
|
3494
|
+
return __generator(this, function (_a) {
|
|
3495
|
+
switch (_a.label) {
|
|
3496
|
+
case 0:
|
|
3497
|
+
if (teamIds.length === 0) {
|
|
3498
|
+
return [2 /*return*/, new Map()];
|
|
3499
|
+
}
|
|
3500
|
+
BATCH_SIZE = 100;
|
|
3501
|
+
countsMap = new Map();
|
|
3502
|
+
i = 0;
|
|
3503
|
+
_a.label = 1;
|
|
3504
|
+
case 1:
|
|
3505
|
+
if (!(i < teamIds.length)) return [3 /*break*/, 4];
|
|
3506
|
+
batch = teamIds.slice(i, i + BATCH_SIZE);
|
|
3507
|
+
return [4 /*yield*/, this.getInsightCount({
|
|
3508
|
+
teamIds: batch,
|
|
3509
|
+
dateStart: dateStart.format(DATE_FORMAT),
|
|
3510
|
+
dateEnd: dateEnd.format(DATE_FORMAT)
|
|
3511
|
+
})];
|
|
3512
|
+
case 2:
|
|
3513
|
+
response = _a.sent();
|
|
3514
|
+
response.forEach(function (item) {
|
|
3515
|
+
countsMap.set(item.team_id, item.insight_count);
|
|
3516
|
+
});
|
|
3517
|
+
_a.label = 3;
|
|
3518
|
+
case 3:
|
|
3519
|
+
i += BATCH_SIZE;
|
|
3520
|
+
return [3 /*break*/, 1];
|
|
3521
|
+
case 4: return [2 /*return*/, countsMap];
|
|
3522
|
+
}
|
|
3523
|
+
});
|
|
3524
|
+
});
|
|
3525
|
+
};
|
|
3526
|
+
return CapacityInsightsApi;
|
|
3527
|
+
}());
|
|
3528
|
+
exports["default"] = CapacityInsightsApi;
|
|
3529
|
+
//# sourceMappingURL=CapacityInsightsApi.js.map
|
|
3530
|
+
|
|
3531
|
+
/***/ }),
|
|
3532
|
+
|
|
3533
|
+
/***/ 53948:
|
|
3534
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
3535
|
+
|
|
3536
|
+
"use strict";
|
|
3537
|
+
|
|
3538
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3539
|
+
var extendStatics = function (d, b) {
|
|
3540
|
+
extendStatics = Object.setPrototypeOf ||
|
|
3541
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
3542
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
3543
|
+
return extendStatics(d, b);
|
|
3544
|
+
};
|
|
3545
|
+
return function (d, b) {
|
|
3546
|
+
if (typeof b !== "function" && b !== null)
|
|
3547
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
3548
|
+
extendStatics(d, b);
|
|
3549
|
+
function __() { this.constructor = d; }
|
|
3550
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
3551
|
+
};
|
|
3552
|
+
})();
|
|
3553
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3554
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3555
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
3556
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
3557
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
3558
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
3559
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
3560
|
+
});
|
|
3561
|
+
};
|
|
3562
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
3563
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
3564
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
3565
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
3566
|
+
function step(op) {
|
|
3567
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
3568
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
3569
|
+
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;
|
|
3570
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
3571
|
+
switch (op[0]) {
|
|
3572
|
+
case 0: case 1: t = op; break;
|
|
3573
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
3574
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
3575
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
3576
|
+
default:
|
|
3577
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
3578
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
3579
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
3580
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
3581
|
+
if (t[2]) _.ops.pop();
|
|
3582
|
+
_.trys.pop(); continue;
|
|
3583
|
+
}
|
|
3584
|
+
op = body.call(thisArg, _);
|
|
3585
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
3586
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
3587
|
+
}
|
|
3588
|
+
};
|
|
3589
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3590
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
3591
|
+
};
|
|
3592
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
3593
|
+
var Entity_1 = __importDefault(__webpack_require__(7483));
|
|
3594
|
+
var CapacityInsightsEntity = /** @class */ (function (_super) {
|
|
3595
|
+
__extends(CapacityInsightsEntity, _super);
|
|
3596
|
+
function CapacityInsightsEntity(session) {
|
|
3597
|
+
return _super.call(this, {
|
|
3598
|
+
session: session,
|
|
3599
|
+
entityName: 'insights',
|
|
3600
|
+
routePrefix: 'capacity-planning-service'
|
|
3601
|
+
}) || this;
|
|
3602
|
+
}
|
|
3603
|
+
CapacityInsightsEntity.prototype.getInsightCount = function (params) {
|
|
3604
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
3605
|
+
var queryParams;
|
|
3606
|
+
return __generator(this, function (_a) {
|
|
3607
|
+
queryParams = {
|
|
3608
|
+
team_ids: params.teamIds,
|
|
3609
|
+
date_start: params.dateStart,
|
|
3610
|
+
date_end: params.dateEnd
|
|
3611
|
+
};
|
|
3612
|
+
return [2 /*return*/, this.service.routeGenerator
|
|
3613
|
+
.get('/count')
|
|
3614
|
+
.withQueryString(queryParams)
|
|
3615
|
+
.setException('Failed to fetch insight count')
|
|
3616
|
+
.invoke()];
|
|
3617
|
+
});
|
|
3618
|
+
});
|
|
3619
|
+
};
|
|
3620
|
+
CapacityInsightsEntity.prototype.getInsights = function (params) {
|
|
3621
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
3622
|
+
var queryParams;
|
|
3623
|
+
return __generator(this, function (_a) {
|
|
3624
|
+
queryParams = {
|
|
3625
|
+
team_id: params.teamId.toString(),
|
|
3626
|
+
date_start: params.dateStart,
|
|
3627
|
+
date_end: params.dateEnd
|
|
3628
|
+
};
|
|
3629
|
+
return [2 /*return*/, this.service.routeGenerator
|
|
3630
|
+
.get('/')
|
|
3631
|
+
.withQueryString(queryParams)
|
|
3632
|
+
.setException('Failed to fetch insights')
|
|
3633
|
+
.invoke()];
|
|
3634
|
+
});
|
|
3635
|
+
});
|
|
3636
|
+
};
|
|
3637
|
+
CapacityInsightsEntity.prototype.updateInsightDone = function (params) {
|
|
3638
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
3639
|
+
var formParams;
|
|
3640
|
+
return __generator(this, function (_a) {
|
|
3641
|
+
formParams = new URLSearchParams();
|
|
3642
|
+
formParams.append('done', params.done.toString());
|
|
3643
|
+
return [2 /*return*/, this.service.routeGenerator
|
|
3644
|
+
.put('/{:insightId}/done')
|
|
3645
|
+
.withRouteParams({ insightId: params.insightId.toString() })
|
|
3646
|
+
.withPayload(formParams.toString())
|
|
3647
|
+
.withHeaders({ 'Content-Type': 'application/x-www-form-urlencoded' })
|
|
3648
|
+
.setException('Failed to update insight done status')
|
|
3649
|
+
.invoke()];
|
|
3650
|
+
});
|
|
3651
|
+
});
|
|
3652
|
+
};
|
|
3653
|
+
return CapacityInsightsEntity;
|
|
3654
|
+
}(Entity_1.default));
|
|
3655
|
+
exports["default"] = CapacityInsightsEntity;
|
|
3656
|
+
//# sourceMappingURL=CapacityInsightsEntity.js.map
|
|
3657
|
+
|
|
3658
|
+
/***/ }),
|
|
3659
|
+
|
|
3359
3660
|
/***/ 17629:
|
|
3360
3661
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
3361
3662
|
|
|
@@ -22426,7 +22727,7 @@ var lodash_1 = __webpack_require__(96486);
|
|
|
22426
22727
|
var BringgException_1 = __webpack_require__(43605);
|
|
22427
22728
|
var Logger_1 = __importDefault(__webpack_require__(55860));
|
|
22428
22729
|
var abort_1 = __webpack_require__(34179);
|
|
22429
|
-
var version = '9.
|
|
22730
|
+
var version = '9.57.0';
|
|
22430
22731
|
function logErrorResponse(response) {
|
|
22431
22732
|
var data = response.data, status = response.status;
|
|
22432
22733
|
try {
|
|
@@ -35781,12 +36082,14 @@ __exportStar(__webpack_require__(21434), exports);
|
|
|
35781
36082
|
__exportStar(__webpack_require__(65111), exports);
|
|
35782
36083
|
__exportStar(__webpack_require__(91758), exports);
|
|
35783
36084
|
__exportStar(__webpack_require__(72285), exports);
|
|
36085
|
+
__exportStar(__webpack_require__(6533), exports);
|
|
35784
36086
|
__exportStar(__webpack_require__(68734), exports);
|
|
35785
36087
|
__exportStar(__webpack_require__(37443), exports);
|
|
35786
36088
|
__exportStar(__webpack_require__(51837), exports);
|
|
35787
36089
|
__exportStar(__webpack_require__(55936), exports);
|
|
35788
36090
|
__exportStar(__webpack_require__(58466), exports);
|
|
35789
36091
|
__exportStar(__webpack_require__(14570), exports);
|
|
36092
|
+
__exportStar(__webpack_require__(29384), exports);
|
|
35790
36093
|
__exportStar(__webpack_require__(97935), exports);
|
|
35791
36094
|
__exportStar(__webpack_require__(18980), exports);
|
|
35792
36095
|
__exportStar(__webpack_require__(15632), exports);
|
|
@@ -35854,6 +36157,7 @@ __exportStar(__webpack_require__(69786), exports);
|
|
|
35854
36157
|
__exportStar(__webpack_require__(52632), exports);
|
|
35855
36158
|
__exportStar(__webpack_require__(87907), exports);
|
|
35856
36159
|
__exportStar(__webpack_require__(97868), exports);
|
|
36160
|
+
__exportStar(__webpack_require__(5220), exports);
|
|
35857
36161
|
__exportStar(__webpack_require__(96425), exports);
|
|
35858
36162
|
__exportStar(__webpack_require__(89220), exports);
|
|
35859
36163
|
__exportStar(__webpack_require__(70242), exports);
|
|
@@ -35865,6 +36169,7 @@ __exportStar(__webpack_require__(87785), exports);
|
|
|
35865
36169
|
__exportStar(__webpack_require__(63413), exports);
|
|
35866
36170
|
__exportStar(__webpack_require__(10228), exports);
|
|
35867
36171
|
__exportStar(__webpack_require__(53543), exports);
|
|
36172
|
+
__exportStar(__webpack_require__(78048), exports);
|
|
35868
36173
|
__exportStar(__webpack_require__(2730), exports);
|
|
35869
36174
|
__exportStar(__webpack_require__(56526), exports);
|
|
35870
36175
|
exports.RouteOptimizer = __webpack_require__(44336);
|
|
@@ -35900,6 +36205,7 @@ __exportStar(__webpack_require__(686), exports);
|
|
|
35900
36205
|
__exportStar(__webpack_require__(23400), exports);
|
|
35901
36206
|
__exportStar(__webpack_require__(67175), exports);
|
|
35902
36207
|
__exportStar(__webpack_require__(46347), exports);
|
|
36208
|
+
__exportStar(__webpack_require__(70467), exports);
|
|
35903
36209
|
__exportStar(__webpack_require__(43048), exports);
|
|
35904
36210
|
__exportStar(__webpack_require__(41164), exports);
|
|
35905
36211
|
__exportStar(__webpack_require__(25443), exports);
|
|
@@ -37256,6 +37562,82 @@ var LOGIN_ERRORS;
|
|
|
37256
37562
|
|
|
37257
37563
|
/***/ }),
|
|
37258
37564
|
|
|
37565
|
+
/***/ 10870:
|
|
37566
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
37567
|
+
|
|
37568
|
+
"use strict";
|
|
37569
|
+
|
|
37570
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
37571
|
+
exports.CapacityPlanningServiceRpcAction = void 0;
|
|
37572
|
+
var CapacityPlanningServiceRpcAction;
|
|
37573
|
+
(function (CapacityPlanningServiceRpcAction) {
|
|
37574
|
+
CapacityPlanningServiceRpcAction["GET_INSIGHTS_BY_OPTIMIZATION_REQUESTS_UUIDS"] = "get_insights_by_optimizations_request_uuids";
|
|
37575
|
+
})(CapacityPlanningServiceRpcAction || (exports.CapacityPlanningServiceRpcAction = CapacityPlanningServiceRpcAction = {}));
|
|
37576
|
+
//# sourceMappingURL=capacity-planning-service-rpc-client.js.map
|
|
37577
|
+
|
|
37578
|
+
/***/ }),
|
|
37579
|
+
|
|
37580
|
+
/***/ 48711:
|
|
37581
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
37582
|
+
|
|
37583
|
+
"use strict";
|
|
37584
|
+
|
|
37585
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
37586
|
+
exports.CapacityPlanningSeverity = exports.CapacityPlanningActionType = exports.CapacityPlanningProblems = exports.CapacityPlanningKPIs = void 0;
|
|
37587
|
+
var CapacityPlanningKPIs;
|
|
37588
|
+
(function (CapacityPlanningKPIs) {
|
|
37589
|
+
CapacityPlanningKPIs[CapacityPlanningKPIs["AdditionalShipments"] = 0] = "AdditionalShipments";
|
|
37590
|
+
CapacityPlanningKPIs[CapacityPlanningKPIs["ServiceCoverage"] = 1] = "ServiceCoverage";
|
|
37591
|
+
})(CapacityPlanningKPIs || (exports.CapacityPlanningKPIs = CapacityPlanningKPIs = {}));
|
|
37592
|
+
var CapacityPlanningProblems;
|
|
37593
|
+
(function (CapacityPlanningProblems) {
|
|
37594
|
+
CapacityPlanningProblems[CapacityPlanningProblems["UnassignedOrders"] = 0] = "UnassignedOrders";
|
|
37595
|
+
CapacityPlanningProblems[CapacityPlanningProblems["NoService"] = 1] = "NoService";
|
|
37596
|
+
CapacityPlanningProblems[CapacityPlanningProblems["LowResources"] = 2] = "LowResources";
|
|
37597
|
+
CapacityPlanningProblems[CapacityPlanningProblems["CapacityLimitation"] = 3] = "CapacityLimitation";
|
|
37598
|
+
CapacityPlanningProblems[CapacityPlanningProblems["UnderUtilization"] = 4] = "UnderUtilization";
|
|
37599
|
+
})(CapacityPlanningProblems || (exports.CapacityPlanningProblems = CapacityPlanningProblems = {}));
|
|
37600
|
+
var CapacityPlanningActionType;
|
|
37601
|
+
(function (CapacityPlanningActionType) {
|
|
37602
|
+
CapacityPlanningActionType[CapacityPlanningActionType["UpdateResources"] = 0] = "UpdateResources";
|
|
37603
|
+
CapacityPlanningActionType[CapacityPlanningActionType["UpdateAreas"] = 1] = "UpdateAreas";
|
|
37604
|
+
})(CapacityPlanningActionType || (exports.CapacityPlanningActionType = CapacityPlanningActionType = {}));
|
|
37605
|
+
var CapacityPlanningSeverity;
|
|
37606
|
+
(function (CapacityPlanningSeverity) {
|
|
37607
|
+
CapacityPlanningSeverity[CapacityPlanningSeverity["High"] = 0] = "High";
|
|
37608
|
+
CapacityPlanningSeverity[CapacityPlanningSeverity["Medium"] = 1] = "Medium";
|
|
37609
|
+
CapacityPlanningSeverity[CapacityPlanningSeverity["Low"] = 2] = "Low";
|
|
37610
|
+
})(CapacityPlanningSeverity || (exports.CapacityPlanningSeverity = CapacityPlanningSeverity = {}));
|
|
37611
|
+
//# sourceMappingURL=capacity_planning_insight.js.map
|
|
37612
|
+
|
|
37613
|
+
/***/ }),
|
|
37614
|
+
|
|
37615
|
+
/***/ 6533:
|
|
37616
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
37617
|
+
|
|
37618
|
+
"use strict";
|
|
37619
|
+
|
|
37620
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
37621
|
+
if (k2 === undefined) k2 = k;
|
|
37622
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
37623
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
37624
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
37625
|
+
}
|
|
37626
|
+
Object.defineProperty(o, k2, desc);
|
|
37627
|
+
}) : (function(o, m, k, k2) {
|
|
37628
|
+
if (k2 === undefined) k2 = k;
|
|
37629
|
+
o[k2] = m[k];
|
|
37630
|
+
}));
|
|
37631
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
37632
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37633
|
+
};
|
|
37634
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
37635
|
+
__exportStar(__webpack_require__(48711), exports);
|
|
37636
|
+
__exportStar(__webpack_require__(10870), exports);
|
|
37637
|
+
//# sourceMappingURL=index.js.map
|
|
37638
|
+
|
|
37639
|
+
/***/ }),
|
|
37640
|
+
|
|
37259
37641
|
/***/ 53888:
|
|
37260
37642
|
/***/ ((__unused_webpack_module, exports) => {
|
|
37261
37643
|
|
|
@@ -37471,6 +37853,23 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
37471
37853
|
|
|
37472
37854
|
/***/ }),
|
|
37473
37855
|
|
|
37856
|
+
/***/ 29384:
|
|
37857
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
37858
|
+
|
|
37859
|
+
"use strict";
|
|
37860
|
+
|
|
37861
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
37862
|
+
exports.CostTypeEnum = void 0;
|
|
37863
|
+
var CostTypeEnum;
|
|
37864
|
+
(function (CostTypeEnum) {
|
|
37865
|
+
CostTypeEnum[CostTypeEnum["OVERALL_COST_PER_MINUTE"] = 1] = "OVERALL_COST_PER_MINUTE";
|
|
37866
|
+
CostTypeEnum[CostTypeEnum["ORDER_COST_PERCENTAGE"] = 2] = "ORDER_COST_PERCENTAGE";
|
|
37867
|
+
CostTypeEnum[CostTypeEnum["COST_BREAKDOWN"] = 3] = "COST_BREAKDOWN";
|
|
37868
|
+
})(CostTypeEnum || (exports.CostTypeEnum = CostTypeEnum = {}));
|
|
37869
|
+
//# sourceMappingURL=cost_type.js.map
|
|
37870
|
+
|
|
37871
|
+
/***/ }),
|
|
37872
|
+
|
|
37474
37873
|
/***/ 97935:
|
|
37475
37874
|
/***/ ((__unused_webpack_module, exports) => {
|
|
37476
37875
|
|
|
@@ -38424,12 +38823,17 @@ var EventType;
|
|
|
38424
38823
|
EventType["RunCalculateEtaForRuns"] = "RUN_CALCULATE_ETA_FOR_RUNS";
|
|
38425
38824
|
EventType["WayPointScheduleChanged"] = "way_point:schedule_changed";
|
|
38426
38825
|
EventType["TaskManagedAttributeChanged"] = "task_managed_attribute:changed";
|
|
38826
|
+
EventType["ApplicationMerchantConfigurationCreated"] = "application_merchant_configuration:created";
|
|
38827
|
+
EventType["ApplicationMerchantConfigurationUpdated"] = "application_merchant_configuration:updated";
|
|
38828
|
+
EventType["ApplicationMerchantConfigurationRemoved"] = "application_merchant_configuration:removed";
|
|
38829
|
+
EventType["VehicleUpdated"] = "vehicle:update";
|
|
38427
38830
|
})(EventType || (exports.EventType = EventType = {}));
|
|
38428
38831
|
var AvailabilityCalculationOrigin;
|
|
38429
38832
|
(function (AvailabilityCalculationOrigin) {
|
|
38430
38833
|
AvailabilityCalculationOrigin["QUOTE_ORDERS"] = "QUOTE_ORDERS";
|
|
38431
38834
|
AvailabilityCalculationOrigin["AUTOMATION_PLATFORM"] = "AUTOMATION_PLATFORM";
|
|
38432
38835
|
AvailabilityCalculationOrigin["SIMULATOR"] = "SIMULATOR";
|
|
38836
|
+
AvailabilityCalculationOrigin["ADMIN_BCONTROL"] = "ADMIN_BCONTROL";
|
|
38433
38837
|
})(AvailabilityCalculationOrigin || (exports.AvailabilityCalculationOrigin = AvailabilityCalculationOrigin = {}));
|
|
38434
38838
|
//# sourceMappingURL=event.js.map
|
|
38435
38839
|
|
|
@@ -38550,6 +38954,8 @@ var FleetType;
|
|
|
38550
38954
|
FleetType[FleetType["Eva"] = 38] = "Eva";
|
|
38551
38955
|
FleetType[FleetType["CIL"] = 39] = "CIL";
|
|
38552
38956
|
FleetType[FleetType["RasXps"] = 40] = "RasXps";
|
|
38957
|
+
FleetType[FleetType["DispatchIt"] = 41] = "DispatchIt";
|
|
38958
|
+
FleetType[FleetType["Curri"] = 42] = "Curri";
|
|
38553
38959
|
FleetType[FleetType["EmulatedDeliveryProvider"] = 999] = "EmulatedDeliveryProvider";
|
|
38554
38960
|
})(FleetType || (exports.FleetType = FleetType = {}));
|
|
38555
38961
|
exports.FleetTypeToCapabilities = (_a = {},
|
|
@@ -38625,7 +39031,9 @@ exports.FleetTypeToCapabilities = (_a = {},
|
|
|
38625
39031
|
},
|
|
38626
39032
|
_a[FleetType.Eva] = { create_delivery: true, get_quote: true, update_delivery: true, pickup_eta_available: true },
|
|
38627
39033
|
_a[FleetType.CIL] = { create_delivery: true, get_quote: true, update_delivery: true },
|
|
38628
|
-
_a[FleetType.RasXps] = { create_delivery: true, get_quote: true, update_delivery:
|
|
39034
|
+
_a[FleetType.RasXps] = { create_delivery: true, get_quote: true, update_delivery: true },
|
|
39035
|
+
_a[FleetType.DispatchIt] = { create_delivery: true, get_quote: true, update_delivery: true },
|
|
39036
|
+
_a[FleetType.Curri] = { create_delivery: true, get_quote: true, update_delivery: true },
|
|
38629
39037
|
_a);
|
|
38630
39038
|
//# sourceMappingURL=fleet.js.map
|
|
38631
39039
|
|
|
@@ -39245,6 +39653,8 @@ var OptimizationOrigin;
|
|
|
39245
39653
|
OptimizationOrigin["QUOTES_CACHE_REFRESH"] = "quotes_cache_refresh";
|
|
39246
39654
|
OptimizationOrigin["REALTIME_ETA_APP"] = "realtime_eta_app";
|
|
39247
39655
|
OptimizationOrigin["AGENT_TRIGGERED_OPTIMIZATION"] = "agent_triggered_optimization";
|
|
39656
|
+
OptimizationOrigin["CAPACITY_PLANNING_BACKGROUND"] = "capacity_planning_background";
|
|
39657
|
+
OptimizationOrigin["CAPACITY_SANDBOX_DUMMY_ORDERS_OPTIMIZATION"] = "capacity_sandbox_dummy_orders_optimization";
|
|
39248
39658
|
})(OptimizationOrigin || (exports.OptimizationOrigin = OptimizationOrigin = {}));
|
|
39249
39659
|
var RouteItemType;
|
|
39250
39660
|
(function (RouteItemType) {
|
|
@@ -39509,6 +39919,7 @@ var PrivilegeTypes;
|
|
|
39509
39919
|
PrivilegeTypes["VEHICLE_CREATE_AND_UPDATE"] = "allow_dispatcher_create_vehicle";
|
|
39510
39920
|
PrivilegeTypes["ALLOW_DISPATCHER_EDIT_SERVICE_AREA"] = "allow_dispatcher_edit_service_area";
|
|
39511
39921
|
PrivilegeTypes["SEND_TO_DRIVERS"] = "send_to_drivers";
|
|
39922
|
+
PrivilegeTypes["SEND_TASK_FROM_DISPATCH_TO_PLANNING"] = "send_task_from_dispatch_to_planning";
|
|
39512
39923
|
PrivilegeTypes["OPTIMIZE_ORDERS"] = "optimize_orders";
|
|
39513
39924
|
PrivilegeTypes["ASSIGN_USER_TO_COMPANY"] = "assign_user_to_company";
|
|
39514
39925
|
PrivilegeTypes["ENABLE_WEBHOOKS"] = "enable_webhooks";
|
|
@@ -39544,6 +39955,9 @@ var PrivilegeTypes;
|
|
|
39544
39955
|
PrivilegeTypes["CHANGE_SKILLS"] = "change_skills";
|
|
39545
39956
|
PrivilegeTypes["CREATE_SKILLS"] = "create_skills";
|
|
39546
39957
|
PrivilegeTypes["ALLOW_USING_ROUTE_SIMULATOR"] = "allow_using_route_simulator";
|
|
39958
|
+
PrivilegeTypes["ALLOW_DISPATCHER_EDIT_ROUTE_COST_CALCULATION"] = "allow_dispatcher_edit_route_cost_calculation";
|
|
39959
|
+
PrivilegeTypes["CHANGE_SKILLS_ORDER_PAGE"] = "change_skills_order_page";
|
|
39960
|
+
PrivilegeTypes["ALLOW_DISPATCHER_EDIT_ADDITIONAL_DRIVER_COST_FIELDS"] = "allow_dispatcher_edit_additional_driver_cost_fields";
|
|
39547
39961
|
})(PrivilegeTypes || (exports.PrivilegeTypes = PrivilegeTypes = {}));
|
|
39548
39962
|
exports.PRIVILEGES_DEFAULTS = (_a = {},
|
|
39549
39963
|
_a[PrivilegeTypes.CANCEL_TASK] = true,
|
|
@@ -39602,6 +40016,28 @@ var ApplicationType;
|
|
|
39602
40016
|
|
|
39603
40017
|
/***/ }),
|
|
39604
40018
|
|
|
40019
|
+
/***/ 5220:
|
|
40020
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
40021
|
+
|
|
40022
|
+
"use strict";
|
|
40023
|
+
|
|
40024
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
40025
|
+
exports.QuestionnaireStatus = exports.QuestionnaireTrigger = void 0;
|
|
40026
|
+
var QuestionnaireTrigger;
|
|
40027
|
+
(function (QuestionnaireTrigger) {
|
|
40028
|
+
QuestionnaireTrigger[QuestionnaireTrigger["Hidden"] = 0] = "Hidden";
|
|
40029
|
+
QuestionnaireTrigger[QuestionnaireTrigger["BeforeScheduling"] = 1] = "BeforeScheduling";
|
|
40030
|
+
QuestionnaireTrigger[QuestionnaireTrigger["AfterScheduling"] = 2] = "AfterScheduling";
|
|
40031
|
+
})(QuestionnaireTrigger || (exports.QuestionnaireTrigger = QuestionnaireTrigger = {}));
|
|
40032
|
+
var QuestionnaireStatus;
|
|
40033
|
+
(function (QuestionnaireStatus) {
|
|
40034
|
+
QuestionnaireStatus[QuestionnaireStatus["Pending"] = 0] = "Pending";
|
|
40035
|
+
QuestionnaireStatus[QuestionnaireStatus["Completed"] = 1] = "Completed";
|
|
40036
|
+
})(QuestionnaireStatus || (exports.QuestionnaireStatus = QuestionnaireStatus = {}));
|
|
40037
|
+
//# sourceMappingURL=questionnaire_data.js.map
|
|
40038
|
+
|
|
40039
|
+
/***/ }),
|
|
40040
|
+
|
|
39605
40041
|
/***/ 96425:
|
|
39606
40042
|
/***/ ((__unused_webpack_module, exports) => {
|
|
39607
40043
|
|
|
@@ -39992,6 +40428,23 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
39992
40428
|
|
|
39993
40429
|
/***/ }),
|
|
39994
40430
|
|
|
40431
|
+
/***/ 78048:
|
|
40432
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
40433
|
+
|
|
40434
|
+
"use strict";
|
|
40435
|
+
|
|
40436
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
40437
|
+
exports.RouteCostModel = void 0;
|
|
40438
|
+
var RouteCostModel;
|
|
40439
|
+
(function (RouteCostModel) {
|
|
40440
|
+
RouteCostModel[RouteCostModel["overall_cost_per_minute"] = 1] = "overall_cost_per_minute";
|
|
40441
|
+
RouteCostModel[RouteCostModel["order_cost_percentage"] = 2] = "order_cost_percentage";
|
|
40442
|
+
RouteCostModel[RouteCostModel["cost_breakdown"] = 3] = "cost_breakdown";
|
|
40443
|
+
})(RouteCostModel || (exports.RouteCostModel = RouteCostModel = {}));
|
|
40444
|
+
//# sourceMappingURL=route_cost.js.map
|
|
40445
|
+
|
|
40446
|
+
/***/ }),
|
|
40447
|
+
|
|
39995
40448
|
/***/ 2730:
|
|
39996
40449
|
/***/ ((__unused_webpack_module, exports) => {
|
|
39997
40450
|
|
|
@@ -40669,6 +41122,7 @@ var TaskHistoryEvent;
|
|
|
40669
41122
|
TaskHistoryEvent[TaskHistoryEvent["way_point_field_value_changed"] = 55] = "way_point_field_value_changed";
|
|
40670
41123
|
TaskHistoryEvent[TaskHistoryEvent["way_point_added"] = 56] = "way_point_added";
|
|
40671
41124
|
TaskHistoryEvent[TaskHistoryEvent["way_point_removed"] = 57] = "way_point_removed";
|
|
41125
|
+
TaskHistoryEvent[TaskHistoryEvent["external_delivery_update_failed"] = 58] = "external_delivery_update_failed";
|
|
40672
41126
|
})(TaskHistoryEvent || (exports.TaskHistoryEvent = TaskHistoryEvent = {}));
|
|
40673
41127
|
var TaskCustomAttributesChangeOrigin;
|
|
40674
41128
|
(function (TaskCustomAttributesChangeOrigin) {
|
|
@@ -40985,6 +41439,27 @@ var TaskServiceType;
|
|
|
40985
41439
|
|
|
40986
41440
|
/***/ }),
|
|
40987
41441
|
|
|
41442
|
+
/***/ 70467:
|
|
41443
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
41444
|
+
|
|
41445
|
+
"use strict";
|
|
41446
|
+
|
|
41447
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
41448
|
+
exports.TaskTemplateType = exports.TaskTemplatingActions = void 0;
|
|
41449
|
+
var TaskTemplatingActions;
|
|
41450
|
+
(function (TaskTemplatingActions) {
|
|
41451
|
+
TaskTemplatingActions["CreateTaskFromTaskAndTemplate"] = "create_task_from_task_and_template";
|
|
41452
|
+
TaskTemplatingActions["GetRelatedTaskIds"] = "get_related_task_ids";
|
|
41453
|
+
})(TaskTemplatingActions || (exports.TaskTemplatingActions = TaskTemplatingActions = {}));
|
|
41454
|
+
var TaskTemplateType;
|
|
41455
|
+
(function (TaskTemplateType) {
|
|
41456
|
+
TaskTemplateType["FloatingHelper"] = "FloatingHelper";
|
|
41457
|
+
TaskTemplateType["Meetup"] = "Meetup";
|
|
41458
|
+
})(TaskTemplateType || (exports.TaskTemplateType = TaskTemplateType = {}));
|
|
41459
|
+
//# sourceMappingURL=task_templates.js.map
|
|
41460
|
+
|
|
41461
|
+
/***/ }),
|
|
41462
|
+
|
|
40988
41463
|
/***/ 41164:
|
|
40989
41464
|
/***/ ((__unused_webpack_module, exports) => {
|
|
40990
41465
|
|
|
@@ -41256,7 +41731,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
41256
41731
|
"use strict";
|
|
41257
41732
|
|
|
41258
41733
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
41259
|
-
exports.OAuth2RequestType = exports.JWTTokenEncoding = exports.JWTAlgorithm = exports.AuthorizationType = exports.AuthenticationMethod = void 0;
|
|
41734
|
+
exports.ClientCredentialsPlacement = exports.OAuth2RequestType = exports.JWTTokenEncoding = exports.JWTAlgorithm = exports.AuthorizationType = exports.AuthenticationMethod = void 0;
|
|
41260
41735
|
var AuthenticationMethod;
|
|
41261
41736
|
(function (AuthenticationMethod) {
|
|
41262
41737
|
AuthenticationMethod[AuthenticationMethod["WEBHOOKS"] = 0] = "WEBHOOKS";
|
|
@@ -41284,6 +41759,11 @@ var OAuth2RequestType;
|
|
|
41284
41759
|
OAuth2RequestType[OAuth2RequestType["JSON"] = 1] = "JSON";
|
|
41285
41760
|
OAuth2RequestType[OAuth2RequestType["QUERY_STRING"] = 2] = "QUERY_STRING";
|
|
41286
41761
|
})(OAuth2RequestType || (exports.OAuth2RequestType = OAuth2RequestType = {}));
|
|
41762
|
+
var ClientCredentialsPlacement;
|
|
41763
|
+
(function (ClientCredentialsPlacement) {
|
|
41764
|
+
ClientCredentialsPlacement["BODY"] = "body";
|
|
41765
|
+
ClientCredentialsPlacement["HEADER"] = "header";
|
|
41766
|
+
})(ClientCredentialsPlacement || (exports.ClientCredentialsPlacement = ClientCredentialsPlacement = {}));
|
|
41287
41767
|
//# sourceMappingURL=webhook_authentication_configuration.js.map
|
|
41288
41768
|
|
|
41289
41769
|
/***/ }),
|
|
@@ -41588,6 +42068,7 @@ var AttributeDatatype;
|
|
|
41588
42068
|
var EntityDataType;
|
|
41589
42069
|
(function (EntityDataType) {
|
|
41590
42070
|
EntityDataType["Driver"] = "driver";
|
|
42071
|
+
EntityDataType["Task"] = "task";
|
|
41591
42072
|
})(EntityDataType || (exports.EntityDataType = EntityDataType = {}));
|
|
41592
42073
|
var RuleCompareOperator;
|
|
41593
42074
|
(function (RuleCompareOperator) {
|
|
@@ -41664,6 +42145,7 @@ var FactType;
|
|
|
41664
42145
|
FactType["PlannedDeliveryWindow"] = "planned_delivery_window";
|
|
41665
42146
|
FactType["DeliveryWindow"] = "delivery_window";
|
|
41666
42147
|
FactType["ServiceArea"] = "service_area";
|
|
42148
|
+
FactType["Vehicle"] = "vehicle";
|
|
41667
42149
|
})(FactType || (exports.FactType = FactType = {}));
|
|
41668
42150
|
var RuleRequestType;
|
|
41669
42151
|
(function (RuleRequestType) {
|
|
@@ -41679,6 +42161,7 @@ var DisplayFact;
|
|
|
41679
42161
|
DisplayFact["DeliveryWindow"] = "delivery_window";
|
|
41680
42162
|
DisplayFact["ServiceArea"] = "service_area";
|
|
41681
42163
|
DisplayFact["Run"] = "run";
|
|
42164
|
+
DisplayFact["Vehicle"] = "vehicle";
|
|
41682
42165
|
})(DisplayFact || (exports.DisplayFact = DisplayFact = {}));
|
|
41683
42166
|
//# sourceMappingURL=rule_types.js.map
|
|
41684
42167
|
|
|
@@ -41706,6 +42189,7 @@ var SharedLocationPlaceHolderType;
|
|
|
41706
42189
|
SharedLocationPlaceHolderType["ADDRESS"] = "Delivery address";
|
|
41707
42190
|
SharedLocationPlaceHolderType["TEAM_DESCRIPTION"] = "Team description";
|
|
41708
42191
|
SharedLocationPlaceHolderType["UUID"] = "Unique notification ID";
|
|
42192
|
+
SharedLocationPlaceHolderType["VERIFICATION_PIN_CODE"] = "Verification pin code";
|
|
41709
42193
|
})(SharedLocationPlaceHolderType || (exports.SharedLocationPlaceHolderType = SharedLocationPlaceHolderType = {}));
|
|
41710
42194
|
var SharedLocationPlaceHolderLinkType;
|
|
41711
42195
|
(function (SharedLocationPlaceHolderLinkType) {
|