@bringg/dashboard-sdk 9.95.0 → 9.96.0-pre.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/BringgDashboardSDK.d.ts +11 -1
- package/dist/BringgDashboardSDK.js +9 -1
- package/dist/BringgDashboardSDK.js.map +1 -1
- package/dist/CheckinDistanceReason/v2/checkin-distance-reasons-api.d.ts +19 -0
- package/dist/CheckinDistanceReason/v2/checkin-distance-reasons-api.js +99 -0
- package/dist/CheckinDistanceReason/v2/checkin-distance-reasons-api.js.map +1 -0
- package/dist/CheckinDistanceReason/v2/checkin-distance-reasons-service.d.ts +13 -0
- package/dist/CheckinDistanceReason/v2/checkin-distance-reasons-service.js +115 -0
- package/dist/CheckinDistanceReason/v2/checkin-distance-reasons-service.js.map +1 -0
- package/dist/TaskConfiguration/Entity/TaskConfigurationEntity.d.ts +2 -1
- package/dist/TaskConfiguration/Entity/TaskConfigurationEntity.js +3 -0
- package/dist/TaskConfiguration/Entity/TaskConfigurationEntity.js.map +1 -1
- package/dist/TaskConfiguration/TaskConfiguration.consts.d.ts +4 -0
- package/dist/TaskConfiguration/TaskConfiguration.d.ts +6 -4
- package/dist/TaskConfiguration/TaskConfiguration.js +51 -0
- package/dist/TaskConfiguration/TaskConfiguration.js.map +1 -1
- package/dist/bringg-dashboard-sdk-cjs2.js +380 -3
- package/dist/bringg-dashboard-sdk-cjs2.js.map +1 -1
- package/dist/bringg-dashboard-sdk.js +74 -8
- package/dist/bringg-dashboard-sdk.min.js +1 -1
- package/dist/bringg-dashboard-sdk.min.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -3139,6 +3139,7 @@ var CarrierCancellationReasonMappingsApi_1 = __importDefault(__webpack_require__
|
|
|
3139
3139
|
var CarrierCancellationReasonsApi_1 = __importDefault(__webpack_require__(73116));
|
|
3140
3140
|
var Chat_1 = __importDefault(__webpack_require__(17629));
|
|
3141
3141
|
var ChatConversationApi_1 = __importDefault(__webpack_require__(74617));
|
|
3142
|
+
var checkin_distance_reasons_api_1 = __importDefault(__webpack_require__(16754));
|
|
3142
3143
|
var Company_1 = __importDefault(__webpack_require__(97275));
|
|
3143
3144
|
var ConfigurationProfiles_1 = __importDefault(__webpack_require__(65624));
|
|
3144
3145
|
var ConfigurationProvider_1 = __webpack_require__(44858);
|
|
@@ -3536,7 +3537,7 @@ var BringgDashboardSDK = /** @class */ (function () {
|
|
|
3536
3537
|
exports.BringgDashboardSDK = BringgDashboardSDK;
|
|
3537
3538
|
function init(session) {
|
|
3538
3539
|
return __awaiter(this, void 0, void 0, function () {
|
|
3539
|
-
var bringg, customersApi, workflows, taskRejectReasons;
|
|
3540
|
+
var bringg, customersApi, workflows, taskRejectReasons, checkinDistanceReasons;
|
|
3540
3541
|
return __generator(this, function (_a) {
|
|
3541
3542
|
switch (_a.label) {
|
|
3542
3543
|
case 0:
|
|
@@ -3568,6 +3569,13 @@ function init(session) {
|
|
|
3568
3569
|
taskRejectReasons: function () {
|
|
3569
3570
|
return taskRejectReasons;
|
|
3570
3571
|
},
|
|
3572
|
+
createCheckinDistanceReasons: function (mapper) {
|
|
3573
|
+
checkinDistanceReasons = new checkin_distance_reasons_api_1.default(session, mapper);
|
|
3574
|
+
return checkinDistanceReasons;
|
|
3575
|
+
},
|
|
3576
|
+
checkinDistanceReasons: function () {
|
|
3577
|
+
return checkinDistanceReasons;
|
|
3578
|
+
},
|
|
3571
3579
|
runs: new runs_api_1.default(session, function () { return bringg; }),
|
|
3572
3580
|
uploads: new upload_api_1.default(session),
|
|
3573
3581
|
floatingInventories: new floating_inventories_api_1.FloatingInventoriesApi(session),
|
|
@@ -5181,6 +5189,234 @@ exports["default"] = ChatMessage;
|
|
|
5181
5189
|
|
|
5182
5190
|
/***/ }),
|
|
5183
5191
|
|
|
5192
|
+
/***/ 16754:
|
|
5193
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
5194
|
+
|
|
5195
|
+
"use strict";
|
|
5196
|
+
|
|
5197
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
5198
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
5199
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5200
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5201
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
5202
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
5203
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
5204
|
+
});
|
|
5205
|
+
};
|
|
5206
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
5207
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
5208
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
5209
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
5210
|
+
function step(op) {
|
|
5211
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
5212
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
5213
|
+
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;
|
|
5214
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
5215
|
+
switch (op[0]) {
|
|
5216
|
+
case 0: case 1: t = op; break;
|
|
5217
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
5218
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
5219
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
5220
|
+
default:
|
|
5221
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
5222
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
5223
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
5224
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
5225
|
+
if (t[2]) _.ops.pop();
|
|
5226
|
+
_.trys.pop(); continue;
|
|
5227
|
+
}
|
|
5228
|
+
op = body.call(thisArg, _);
|
|
5229
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
5230
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
5231
|
+
}
|
|
5232
|
+
};
|
|
5233
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
5234
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
5235
|
+
};
|
|
5236
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5237
|
+
var data_store_1 = __importDefault(__webpack_require__(73135));
|
|
5238
|
+
var storable_data_service_1 = __importDefault(__webpack_require__(45297));
|
|
5239
|
+
var checkin_distance_reasons_service_1 = __importDefault(__webpack_require__(85743));
|
|
5240
|
+
var CheckinDistanceReasonsApi = /** @class */ (function () {
|
|
5241
|
+
function CheckinDistanceReasonsApi(session, mapper) {
|
|
5242
|
+
this.checkinDistanceReasonsStore = new data_store_1.default();
|
|
5243
|
+
this.checkinDistanceReasonsService = new checkin_distance_reasons_service_1.default(session);
|
|
5244
|
+
this.storableDataService = new storable_data_service_1.default(this.checkinDistanceReasonsStore, mapper);
|
|
5245
|
+
}
|
|
5246
|
+
CheckinDistanceReasonsApi.prototype.loadAll = function (options) {
|
|
5247
|
+
var _this = this;
|
|
5248
|
+
return this.storableDataService.loadAll('loadAll', function () { return _this.checkinDistanceReasonsService.loadAll(options); }, options);
|
|
5249
|
+
};
|
|
5250
|
+
CheckinDistanceReasonsApi.prototype.delete = function (id, commonOption) {
|
|
5251
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
5252
|
+
var _this = this;
|
|
5253
|
+
return __generator(this, function (_a) {
|
|
5254
|
+
switch (_a.label) {
|
|
5255
|
+
case 0: return [4 /*yield*/, this.storableDataService.delete('delete', function () { return _this.checkinDistanceReasonsService.delete(id, commonOption); }, id)];
|
|
5256
|
+
case 1:
|
|
5257
|
+
_a.sent();
|
|
5258
|
+
return [2 /*return*/];
|
|
5259
|
+
}
|
|
5260
|
+
});
|
|
5261
|
+
});
|
|
5262
|
+
};
|
|
5263
|
+
CheckinDistanceReasonsApi.prototype.update = function (id, checkinDistanceReason, commonOption) {
|
|
5264
|
+
var _this = this;
|
|
5265
|
+
return this.storableDataService.modify('update', function () {
|
|
5266
|
+
return _this.checkinDistanceReasonsService.update(id, checkinDistanceReason, commonOption);
|
|
5267
|
+
});
|
|
5268
|
+
};
|
|
5269
|
+
CheckinDistanceReasonsApi.prototype.patch = function (id, checkinDistanceReason, commonOption) {
|
|
5270
|
+
var _this = this;
|
|
5271
|
+
return this.storableDataService.modify('patch', function () {
|
|
5272
|
+
return _this.checkinDistanceReasonsService.patch(id, checkinDistanceReason, commonOption);
|
|
5273
|
+
});
|
|
5274
|
+
};
|
|
5275
|
+
CheckinDistanceReasonsApi.prototype.create = function (checkinDistanceReason, commonOption) {
|
|
5276
|
+
var _this = this;
|
|
5277
|
+
return this.storableDataService.modify('create', function () {
|
|
5278
|
+
return _this.checkinDistanceReasonsService.create(checkinDistanceReason, commonOption);
|
|
5279
|
+
});
|
|
5280
|
+
};
|
|
5281
|
+
CheckinDistanceReasonsApi.prototype.get = function (id) {
|
|
5282
|
+
return this.checkinDistanceReasonsStore.get(id);
|
|
5283
|
+
};
|
|
5284
|
+
/** Returns the loaded reasons in creation (id) order, the same order the server and the driver app use. */
|
|
5285
|
+
CheckinDistanceReasonsApi.prototype.getAll = function () {
|
|
5286
|
+
return this.checkinDistanceReasonsStore.getAll();
|
|
5287
|
+
};
|
|
5288
|
+
CheckinDistanceReasonsApi.prototype.removeAll = function () {
|
|
5289
|
+
this.checkinDistanceReasonsStore.removeAll();
|
|
5290
|
+
};
|
|
5291
|
+
return CheckinDistanceReasonsApi;
|
|
5292
|
+
}());
|
|
5293
|
+
exports["default"] = CheckinDistanceReasonsApi;
|
|
5294
|
+
//# sourceMappingURL=checkin-distance-reasons-api.js.map
|
|
5295
|
+
|
|
5296
|
+
/***/ }),
|
|
5297
|
+
|
|
5298
|
+
/***/ 85743:
|
|
5299
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
5300
|
+
|
|
5301
|
+
"use strict";
|
|
5302
|
+
|
|
5303
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
5304
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
5305
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5306
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5307
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
5308
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
5309
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
5310
|
+
});
|
|
5311
|
+
};
|
|
5312
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
5313
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
5314
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
5315
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
5316
|
+
function step(op) {
|
|
5317
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
5318
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
5319
|
+
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;
|
|
5320
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
5321
|
+
switch (op[0]) {
|
|
5322
|
+
case 0: case 1: t = op; break;
|
|
5323
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
5324
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
5325
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
5326
|
+
default:
|
|
5327
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
5328
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
5329
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
5330
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
5331
|
+
if (t[2]) _.ops.pop();
|
|
5332
|
+
_.trys.pop(); continue;
|
|
5333
|
+
}
|
|
5334
|
+
op = body.call(thisArg, _);
|
|
5335
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
5336
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
5337
|
+
}
|
|
5338
|
+
};
|
|
5339
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
5340
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
5341
|
+
};
|
|
5342
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5343
|
+
var CrudService_1 = __importDefault(__webpack_require__(14809));
|
|
5344
|
+
var entityName = 'checkin_distance_reasons';
|
|
5345
|
+
var CheckinDistanceReasonsService = /** @class */ (function () {
|
|
5346
|
+
function CheckinDistanceReasonsService(session) {
|
|
5347
|
+
this.service = new CrudService_1.default(session, entityName);
|
|
5348
|
+
}
|
|
5349
|
+
CheckinDistanceReasonsService.prototype.loadAll = function (commonOptions) {
|
|
5350
|
+
if (commonOptions === void 0) { commonOptions = {}; }
|
|
5351
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
5352
|
+
var response;
|
|
5353
|
+
return __generator(this, function (_a) {
|
|
5354
|
+
switch (_a.label) {
|
|
5355
|
+
case 0: return [4 /*yield*/, this.service.getAll(undefined, commonOptions)];
|
|
5356
|
+
case 1:
|
|
5357
|
+
response = _a.sent();
|
|
5358
|
+
return [2 /*return*/, response.checkin_distance_reasons];
|
|
5359
|
+
}
|
|
5360
|
+
});
|
|
5361
|
+
});
|
|
5362
|
+
};
|
|
5363
|
+
CheckinDistanceReasonsService.prototype.delete = function (id, commonOptions) {
|
|
5364
|
+
if (commonOptions === void 0) { commonOptions = {}; }
|
|
5365
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
5366
|
+
return __generator(this, function (_a) {
|
|
5367
|
+
return [2 /*return*/, this.service.delete(id, undefined, commonOptions)];
|
|
5368
|
+
});
|
|
5369
|
+
});
|
|
5370
|
+
};
|
|
5371
|
+
CheckinDistanceReasonsService.prototype.update = function (id, checkinDistanceReason, commonOptions) {
|
|
5372
|
+
if (commonOptions === void 0) { commonOptions = {}; }
|
|
5373
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
5374
|
+
var response;
|
|
5375
|
+
return __generator(this, function (_a) {
|
|
5376
|
+
switch (_a.label) {
|
|
5377
|
+
case 0: return [4 /*yield*/, this.service.update(id, checkinDistanceReason, commonOptions)];
|
|
5378
|
+
case 1:
|
|
5379
|
+
response = _a.sent();
|
|
5380
|
+
return [2 /*return*/, response.checkin_distance_reason];
|
|
5381
|
+
}
|
|
5382
|
+
});
|
|
5383
|
+
});
|
|
5384
|
+
};
|
|
5385
|
+
CheckinDistanceReasonsService.prototype.patch = function (id, checkinDistanceReason, commonOptions) {
|
|
5386
|
+
if (commonOptions === void 0) { commonOptions = {}; }
|
|
5387
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
5388
|
+
var response;
|
|
5389
|
+
return __generator(this, function (_a) {
|
|
5390
|
+
switch (_a.label) {
|
|
5391
|
+
case 0: return [4 /*yield*/, this.service.patch(id, checkinDistanceReason, commonOptions)];
|
|
5392
|
+
case 1:
|
|
5393
|
+
response = _a.sent();
|
|
5394
|
+
return [2 /*return*/, response.checkin_distance_reason];
|
|
5395
|
+
}
|
|
5396
|
+
});
|
|
5397
|
+
});
|
|
5398
|
+
};
|
|
5399
|
+
CheckinDistanceReasonsService.prototype.create = function (checkinDistanceReason, commonOptions) {
|
|
5400
|
+
if (commonOptions === void 0) { commonOptions = {}; }
|
|
5401
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
5402
|
+
var response;
|
|
5403
|
+
return __generator(this, function (_a) {
|
|
5404
|
+
switch (_a.label) {
|
|
5405
|
+
case 0: return [4 /*yield*/, this.service.create(checkinDistanceReason, commonOptions)];
|
|
5406
|
+
case 1:
|
|
5407
|
+
response = _a.sent();
|
|
5408
|
+
return [2 /*return*/, response.checkin_distance_reason];
|
|
5409
|
+
}
|
|
5410
|
+
});
|
|
5411
|
+
});
|
|
5412
|
+
};
|
|
5413
|
+
return CheckinDistanceReasonsService;
|
|
5414
|
+
}());
|
|
5415
|
+
exports["default"] = CheckinDistanceReasonsService;
|
|
5416
|
+
//# sourceMappingURL=checkin-distance-reasons-service.js.map
|
|
5417
|
+
|
|
5418
|
+
/***/ }),
|
|
5419
|
+
|
|
5184
5420
|
/***/ 97275:
|
|
5185
5421
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
5186
5422
|
|
|
@@ -25043,7 +25279,7 @@ var BringgException_1 = __webpack_require__(43605);
|
|
|
25043
25279
|
var client_page_1 = __webpack_require__(16573);
|
|
25044
25280
|
var Logger_1 = __importDefault(__webpack_require__(55860));
|
|
25045
25281
|
var abort_1 = __webpack_require__(34179);
|
|
25046
|
-
var version = '9.
|
|
25282
|
+
var version = '9.96.0-pre.1';
|
|
25047
25283
|
function logErrorResponse(response) {
|
|
25048
25284
|
var data = response.data, status = response.status;
|
|
25049
25285
|
try {
|
|
@@ -28862,6 +29098,9 @@ var TaskConfigurationEntity = /** @class */ (function (_super) {
|
|
|
28862
29098
|
routes: [Entity_1.BaseRoutes.Create, Entity_1.BaseRoutes.Update]
|
|
28863
29099
|
}) || this;
|
|
28864
29100
|
}
|
|
29101
|
+
TaskConfigurationEntity.prototype.getAll = function () {
|
|
29102
|
+
return this.service.routeGenerator.get('/merchant/task_configurations').invoke();
|
|
29103
|
+
};
|
|
28865
29104
|
TaskConfigurationEntity.prototype.getAllActionData = function () {
|
|
28866
29105
|
return this.service.routeGenerator.get('/merchant/task_configurations/get_all_action_data').invoke();
|
|
28867
29106
|
};
|
|
@@ -28877,6 +29116,42 @@ exports["default"] = TaskConfigurationEntity;
|
|
|
28877
29116
|
|
|
28878
29117
|
"use strict";
|
|
28879
29118
|
|
|
29119
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29120
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
29121
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
29122
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
29123
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
29124
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
29125
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
29126
|
+
});
|
|
29127
|
+
};
|
|
29128
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
29129
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
29130
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
29131
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
29132
|
+
function step(op) {
|
|
29133
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
29134
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
29135
|
+
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;
|
|
29136
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
29137
|
+
switch (op[0]) {
|
|
29138
|
+
case 0: case 1: t = op; break;
|
|
29139
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
29140
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
29141
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
29142
|
+
default:
|
|
29143
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
29144
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
29145
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
29146
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
29147
|
+
if (t[2]) _.ops.pop();
|
|
29148
|
+
_.trys.pop(); continue;
|
|
29149
|
+
}
|
|
29150
|
+
op = body.call(thisArg, _);
|
|
29151
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
29152
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
29153
|
+
}
|
|
29154
|
+
};
|
|
28880
29155
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
28881
29156
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
28882
29157
|
};
|
|
@@ -28886,6 +29161,21 @@ var TaskConfiguration = /** @class */ (function () {
|
|
|
28886
29161
|
function TaskConfiguration(session) {
|
|
28887
29162
|
this.TaskConfigurationEntity = new TaskConfigurationEntity_1.default(session);
|
|
28888
29163
|
}
|
|
29164
|
+
/** Every task configuration of the merchant, with or without actions (id, title, checkin_distance_enforcement). */
|
|
29165
|
+
TaskConfiguration.prototype.getAll = function () {
|
|
29166
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
29167
|
+
var response;
|
|
29168
|
+
return __generator(this, function (_a) {
|
|
29169
|
+
switch (_a.label) {
|
|
29170
|
+
case 0: return [4 /*yield*/, this.TaskConfigurationEntity.getAll()];
|
|
29171
|
+
case 1:
|
|
29172
|
+
response = _a.sent();
|
|
29173
|
+
return [2 /*return*/, response.task_configurations];
|
|
29174
|
+
}
|
|
29175
|
+
});
|
|
29176
|
+
});
|
|
29177
|
+
};
|
|
29178
|
+
/** Only the task configurations that have actions. */
|
|
28889
29179
|
TaskConfiguration.prototype.getAllActionData = function () {
|
|
28890
29180
|
return this.TaskConfigurationEntity.getAllActionData();
|
|
28891
29181
|
};
|
|
@@ -37064,12 +37354,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
37064
37354
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37065
37355
|
};
|
|
37066
37356
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
37067
|
-
exports.WorkflowsApi = exports.VehicleTypeConsts = exports.VehicleCategoryConsts = exports.VehicleGroup = exports.VehiclesApi = exports.AbortUtils = exports.UsersApi = exports.UserGroupValues = exports.UserGroupTypes = exports.UploadApi = exports.UploadConsts = exports.TasksExplorerApi = exports.TaskRejectReasonsApi = exports.TaskInventoryConsts = exports.TasksApi = exports.TaskGroupValues = exports.TaskGroupTypes = exports.TagConsts = exports.ServiceAreaApi = exports.ServiceAreaFilterGroups = exports.ServicesSetupConsts = exports.RunsApi = exports.RunStatus = exports.RunConsts = exports.ResourceUploadType = exports.ReasonToChangeInventory = exports.PrivilegesConsts = exports.PlannedRoutesConsts = exports.PlannedDeliveryWindowsApi = exports.RecurrenceType = exports.PlannedDeliveryWindowsFilterGroups = exports.OptimizationResultApi = exports.NotificationTypesConsts = exports.NotificationTemplateConsts = exports.LookupConsts = exports.LanguageConsts = exports.ExclusionWindowApiV2 = exports.ExclusionWindowsFilterGroups = exports.DeliveryWindowsApi = exports.DeliveryBlockConsts = exports.CrewConsts = exports.Responses = exports.clientPageFromLocation = exports.CLIENT_PAGE_HEADER = exports.ChatMessageConsts = exports.ChatConversationConsts = void 0;
|
|
37357
|
+
exports.WorkflowsApi = exports.VehicleTypeConsts = exports.VehicleCategoryConsts = exports.VehicleGroup = exports.VehiclesApi = exports.AbortUtils = exports.UsersApi = exports.UserGroupValues = exports.UserGroupTypes = exports.UploadApi = exports.UploadConsts = exports.TasksExplorerApi = exports.TaskRejectReasonsApi = exports.TaskInventoryConsts = exports.TasksApi = exports.TaskGroupValues = exports.TaskGroupTypes = exports.TagConsts = exports.ServiceAreaApi = exports.ServiceAreaFilterGroups = exports.ServicesSetupConsts = exports.RunsApi = exports.RunStatus = exports.RunConsts = exports.ResourceUploadType = exports.ReasonToChangeInventory = exports.PrivilegesConsts = exports.PlannedRoutesConsts = exports.PlannedDeliveryWindowsApi = exports.RecurrenceType = exports.PlannedDeliveryWindowsFilterGroups = exports.OptimizationResultApi = exports.NotificationTypesConsts = exports.NotificationTemplateConsts = exports.LookupConsts = exports.LanguageConsts = exports.ExclusionWindowApiV2 = exports.ExclusionWindowsFilterGroups = exports.DeliveryWindowsApi = exports.DeliveryBlockConsts = exports.CrewConsts = exports.Responses = exports.clientPageFromLocation = exports.CLIENT_PAGE_HEADER = exports.CheckinDistanceReasonsApi = exports.ChatMessageConsts = exports.ChatConversationConsts = void 0;
|
|
37068
37358
|
__exportStar(__webpack_require__(82661), exports);
|
|
37069
37359
|
__exportStar(__webpack_require__(37360), exports);
|
|
37070
37360
|
__exportStar(__webpack_require__(5655), exports);
|
|
37071
37361
|
exports.ChatConversationConsts = __importStar(__webpack_require__(44448));
|
|
37072
37362
|
exports.ChatMessageConsts = __importStar(__webpack_require__(39634));
|
|
37363
|
+
var checkin_distance_reasons_api_1 = __webpack_require__(16754);
|
|
37364
|
+
Object.defineProperty(exports, "CheckinDistanceReasonsApi", ({ enumerable: true, get: function () { return __importDefault(checkin_distance_reasons_api_1).default; } }));
|
|
37073
37365
|
var client_page_1 = __webpack_require__(16573);
|
|
37074
37366
|
Object.defineProperty(exports, "CLIENT_PAGE_HEADER", ({ enumerable: true, get: function () { return client_page_1.CLIENT_PAGE_HEADER; } }));
|
|
37075
37367
|
Object.defineProperty(exports, "clientPageFromLocation", ({ enumerable: true, get: function () { return client_page_1.clientPageFromLocation; } }));
|
|
@@ -40093,6 +40385,8 @@ __exportStar(__webpack_require__(1555), exports);
|
|
|
40093
40385
|
__exportStar(__webpack_require__(68734), exports);
|
|
40094
40386
|
__exportStar(__webpack_require__(37443), exports);
|
|
40095
40387
|
__exportStar(__webpack_require__(51837), exports);
|
|
40388
|
+
__exportStar(__webpack_require__(34268), exports);
|
|
40389
|
+
__exportStar(__webpack_require__(4593), exports);
|
|
40096
40390
|
__exportStar(__webpack_require__(55936), exports);
|
|
40097
40391
|
__exportStar(__webpack_require__(58466), exports);
|
|
40098
40392
|
__exportStar(__webpack_require__(14570), exports);
|
|
@@ -42038,6 +42332,77 @@ var ChatMessageOrigin;
|
|
|
42038
42332
|
|
|
42039
42333
|
/***/ }),
|
|
42040
42334
|
|
|
42335
|
+
/***/ 13345:
|
|
42336
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
42337
|
+
|
|
42338
|
+
"use strict";
|
|
42339
|
+
|
|
42340
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
42341
|
+
//# sourceMappingURL=checkin_distance_reason.js.map
|
|
42342
|
+
|
|
42343
|
+
/***/ }),
|
|
42344
|
+
|
|
42345
|
+
/***/ 11908:
|
|
42346
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
42347
|
+
|
|
42348
|
+
"use strict";
|
|
42349
|
+
|
|
42350
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
42351
|
+
//# sourceMappingURL=checkin_distance_reasons_api_types.js.map
|
|
42352
|
+
|
|
42353
|
+
/***/ }),
|
|
42354
|
+
|
|
42355
|
+
/***/ 4593:
|
|
42356
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
42357
|
+
|
|
42358
|
+
"use strict";
|
|
42359
|
+
|
|
42360
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
42361
|
+
if (k2 === undefined) k2 = k;
|
|
42362
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
42363
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
42364
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
42365
|
+
}
|
|
42366
|
+
Object.defineProperty(o, k2, desc);
|
|
42367
|
+
}) : (function(o, m, k, k2) {
|
|
42368
|
+
if (k2 === undefined) k2 = k;
|
|
42369
|
+
o[k2] = m[k];
|
|
42370
|
+
}));
|
|
42371
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
42372
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
42373
|
+
};
|
|
42374
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
42375
|
+
__exportStar(__webpack_require__(13345), exports);
|
|
42376
|
+
__exportStar(__webpack_require__(11908), exports);
|
|
42377
|
+
//# sourceMappingURL=index.js.map
|
|
42378
|
+
|
|
42379
|
+
/***/ }),
|
|
42380
|
+
|
|
42381
|
+
/***/ 34268:
|
|
42382
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
42383
|
+
|
|
42384
|
+
"use strict";
|
|
42385
|
+
|
|
42386
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
42387
|
+
exports.CheckinDistanceEnforcementWayPointType = exports.CheckinDistanceEnforcementMode = void 0;
|
|
42388
|
+
var CheckinDistanceEnforcementMode;
|
|
42389
|
+
(function (CheckinDistanceEnforcementMode) {
|
|
42390
|
+
CheckinDistanceEnforcementMode["Warn"] = "warn";
|
|
42391
|
+
CheckinDistanceEnforcementMode["WarnReason"] = "warn_reason";
|
|
42392
|
+
CheckinDistanceEnforcementMode["Block"] = "block";
|
|
42393
|
+
})(CheckinDistanceEnforcementMode || (exports.CheckinDistanceEnforcementMode = CheckinDistanceEnforcementMode = {}));
|
|
42394
|
+
var CheckinDistanceEnforcementWayPointType;
|
|
42395
|
+
(function (CheckinDistanceEnforcementWayPointType) {
|
|
42396
|
+
CheckinDistanceEnforcementWayPointType[CheckinDistanceEnforcementWayPointType["All"] = 1] = "All";
|
|
42397
|
+
CheckinDistanceEnforcementWayPointType[CheckinDistanceEnforcementWayPointType["First"] = 2] = "First";
|
|
42398
|
+
CheckinDistanceEnforcementWayPointType[CheckinDistanceEnforcementWayPointType["Last"] = 3] = "Last";
|
|
42399
|
+
CheckinDistanceEnforcementWayPointType[CheckinDistanceEnforcementWayPointType["Customer"] = 4] = "Customer";
|
|
42400
|
+
CheckinDistanceEnforcementWayPointType[CheckinDistanceEnforcementWayPointType["Warehouse"] = 5] = "Warehouse";
|
|
42401
|
+
})(CheckinDistanceEnforcementWayPointType || (exports.CheckinDistanceEnforcementWayPointType = CheckinDistanceEnforcementWayPointType = {}));
|
|
42402
|
+
//# sourceMappingURL=checkin_distance_enforcement.js.map
|
|
42403
|
+
|
|
42404
|
+
/***/ }),
|
|
42405
|
+
|
|
42041
42406
|
/***/ 55936:
|
|
42042
42407
|
/***/ ((__unused_webpack_module, exports) => {
|
|
42043
42408
|
|
|
@@ -44143,6 +44508,7 @@ var PresetViewSupportedView;
|
|
|
44143
44508
|
PresetViewSupportedView[PresetViewSupportedView["DispatchRoutesMonitoring"] = 6] = "DispatchRoutesMonitoring";
|
|
44144
44509
|
PresetViewSupportedView[PresetViewSupportedView["PlanningOrderExplorer"] = 7] = "PlanningOrderExplorer";
|
|
44145
44510
|
PresetViewSupportedView[PresetViewSupportedView["PlanningRoutesMonitoring"] = 8] = "PlanningRoutesMonitoring";
|
|
44511
|
+
PresetViewSupportedView[PresetViewSupportedView["Vehicles"] = 9] = "Vehicles";
|
|
44146
44512
|
})(PresetViewSupportedView || (exports.PresetViewSupportedView = PresetViewSupportedView = {}));
|
|
44147
44513
|
var PresetViewScope;
|
|
44148
44514
|
(function (PresetViewScope) {
|
|
@@ -46519,6 +46885,17 @@ var FactType;
|
|
|
46519
46885
|
var RuleRequestType;
|
|
46520
46886
|
(function (RuleRequestType) {
|
|
46521
46887
|
RuleRequestType["Evaluate"] = "rule:evaluate";
|
|
46888
|
+
RuleRequestType["EvaluateByIds"] = "rule:evaluateByIds";
|
|
46889
|
+
RuleRequestType["EvaluateByKeys"] = "rule:evaluateByKeys";
|
|
46890
|
+
RuleRequestType["GetMany"] = "rule:getMany";
|
|
46891
|
+
RuleRequestType["UnifiedCrud"] = "rule:unifiedCrud";
|
|
46892
|
+
RuleRequestType["CreateMany"] = "rule:createMany";
|
|
46893
|
+
RuleRequestType["UpdateMany"] = "rule:updateMany";
|
|
46894
|
+
RuleRequestType["DeleteMany"] = "rule:deleteMany";
|
|
46895
|
+
RuleRequestType["GetAttributeUsage"] = "rule:getAttributeUsage";
|
|
46896
|
+
RuleRequestType["GetAttributesUsageMany"] = "rule:getAttributesUsageMany";
|
|
46897
|
+
RuleRequestType["CustomAttributeCheckRecordUsage"] = "custom-attributes:check-record-usage";
|
|
46898
|
+
RuleRequestType["SharedLocationTemplateCheckRecordUsage"] = "shared-location-template:check-record-usage";
|
|
46522
46899
|
})(RuleRequestType || (exports.RuleRequestType = RuleRequestType = {}));
|
|
46523
46900
|
var DisplayFact;
|
|
46524
46901
|
(function (DisplayFact) {
|