@bringg/dashboard-sdk 10.2.0-pre.1 → 10.2.0-pre.60536
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 +25 -0
- package/dist/CheckinDistanceReason/v2/checkin-distance-reasons-api.js +109 -0
- package/dist/CheckinDistanceReason/v2/checkin-distance-reasons-api.js.map +1 -0
- package/dist/CheckinDistanceReason/v2/checkin-distance-reasons-service.d.ts +15 -0
- package/dist/CheckinDistanceReason/v2/checkin-distance-reasons-service.js +140 -0
- package/dist/CheckinDistanceReason/v2/checkin-distance-reasons-service.js.map +1 -0
- package/dist/Tag/Entity/TagEntity.d.ts +1 -10
- package/dist/Tag/Entity/TagEntity.js +0 -60
- package/dist/Tag/Entity/TagEntity.js.map +1 -1
- package/dist/Tag/Tag.consts.d.ts +0 -9
- package/dist/Tag/Tag.consts.js.map +1 -1
- package/dist/Tag/Tag.d.ts +3 -11
- package/dist/Tag/Tag.js +1 -25
- package/dist/Tag/Tag.js.map +1 -1
- package/dist/TaskConfiguration/Entity/TaskConfigurationEntity.d.ts +2 -1
- package/dist/TaskConfiguration/Entity/TaskConfigurationEntity.js +4 -1
- 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 +416 -101
- package/dist/bringg-dashboard-sdk-cjs2.js.map +1 -1
- package/dist/bringg-dashboard-sdk.js +86 -20
- package/dist/bringg-dashboard-sdk.min.js +1 -1
- package/dist/bringg-dashboard-sdk.min.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +4 -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);
|
|
@@ -3534,7 +3535,7 @@ var BringgDashboardSDK = /** @class */ (function () {
|
|
|
3534
3535
|
exports.BringgDashboardSDK = BringgDashboardSDK;
|
|
3535
3536
|
function init(session) {
|
|
3536
3537
|
return __awaiter(this, void 0, void 0, function () {
|
|
3537
|
-
var bringg, customersApi, workflows, taskRejectReasons;
|
|
3538
|
+
var bringg, customersApi, workflows, taskRejectReasons, checkinDistanceReasons;
|
|
3538
3539
|
return __generator(this, function (_a) {
|
|
3539
3540
|
switch (_a.label) {
|
|
3540
3541
|
case 0:
|
|
@@ -3566,6 +3567,13 @@ function init(session) {
|
|
|
3566
3567
|
taskRejectReasons: function () {
|
|
3567
3568
|
return taskRejectReasons;
|
|
3568
3569
|
},
|
|
3570
|
+
createCheckinDistanceReasons: function (mapper) {
|
|
3571
|
+
checkinDistanceReasons = new checkin_distance_reasons_api_1.default(session, mapper);
|
|
3572
|
+
return checkinDistanceReasons;
|
|
3573
|
+
},
|
|
3574
|
+
checkinDistanceReasons: function () {
|
|
3575
|
+
return checkinDistanceReasons;
|
|
3576
|
+
},
|
|
3569
3577
|
runs: new runs_api_1.default(session, function () { return bringg; }),
|
|
3570
3578
|
uploads: new upload_api_1.default(session),
|
|
3571
3579
|
floatingInventories: new floating_inventories_api_1.FloatingInventoriesApi(session),
|
|
@@ -5178,6 +5186,269 @@ exports["default"] = ChatMessage;
|
|
|
5178
5186
|
|
|
5179
5187
|
/***/ }),
|
|
5180
5188
|
|
|
5189
|
+
/***/ 16754:
|
|
5190
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
5191
|
+
|
|
5192
|
+
"use strict";
|
|
5193
|
+
|
|
5194
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
5195
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
5196
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5197
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5198
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
5199
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
5200
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
5201
|
+
});
|
|
5202
|
+
};
|
|
5203
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
5204
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
5205
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
5206
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
5207
|
+
function step(op) {
|
|
5208
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
5209
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
5210
|
+
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;
|
|
5211
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
5212
|
+
switch (op[0]) {
|
|
5213
|
+
case 0: case 1: t = op; break;
|
|
5214
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
5215
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
5216
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
5217
|
+
default:
|
|
5218
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
5219
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
5220
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
5221
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
5222
|
+
if (t[2]) _.ops.pop();
|
|
5223
|
+
_.trys.pop(); continue;
|
|
5224
|
+
}
|
|
5225
|
+
op = body.call(thisArg, _);
|
|
5226
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
5227
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
5228
|
+
}
|
|
5229
|
+
};
|
|
5230
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
5231
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
5232
|
+
};
|
|
5233
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5234
|
+
var data_store_1 = __importDefault(__webpack_require__(73135));
|
|
5235
|
+
var storable_data_service_1 = __importDefault(__webpack_require__(45297));
|
|
5236
|
+
var checkin_distance_reasons_service_1 = __importDefault(__webpack_require__(85743));
|
|
5237
|
+
var CheckinDistanceReasonsApi = /** @class */ (function () {
|
|
5238
|
+
function CheckinDistanceReasonsApi(session, mapper) {
|
|
5239
|
+
this.checkinDistanceReasonsStore = new data_store_1.default();
|
|
5240
|
+
this.checkinDistanceReasonsService = new checkin_distance_reasons_service_1.default(session);
|
|
5241
|
+
this.storableDataService = new storable_data_service_1.default(this.checkinDistanceReasonsStore, mapper);
|
|
5242
|
+
}
|
|
5243
|
+
CheckinDistanceReasonsApi.prototype.loadAll = function (options) {
|
|
5244
|
+
var _this = this;
|
|
5245
|
+
return this.storableDataService.loadAll('loadAll', function () { return _this.checkinDistanceReasonsService.loadAll(options); }, options);
|
|
5246
|
+
};
|
|
5247
|
+
CheckinDistanceReasonsApi.prototype.delete = function (id, commonOption) {
|
|
5248
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
5249
|
+
var _this = this;
|
|
5250
|
+
return __generator(this, function (_a) {
|
|
5251
|
+
switch (_a.label) {
|
|
5252
|
+
case 0: return [4 /*yield*/, this.storableDataService.delete('delete', function () { return _this.checkinDistanceReasonsService.delete(id, commonOption); }, id)];
|
|
5253
|
+
case 1:
|
|
5254
|
+
_a.sent();
|
|
5255
|
+
return [2 /*return*/];
|
|
5256
|
+
}
|
|
5257
|
+
});
|
|
5258
|
+
});
|
|
5259
|
+
};
|
|
5260
|
+
CheckinDistanceReasonsApi.prototype.update = function (id, checkinDistanceReason, commonOption) {
|
|
5261
|
+
var _this = this;
|
|
5262
|
+
return this.storableDataService.modify('update', function () {
|
|
5263
|
+
return _this.checkinDistanceReasonsService.update(id, checkinDistanceReason, commonOption);
|
|
5264
|
+
});
|
|
5265
|
+
};
|
|
5266
|
+
CheckinDistanceReasonsApi.prototype.patch = function (id, checkinDistanceReason, commonOption) {
|
|
5267
|
+
var _this = this;
|
|
5268
|
+
return this.storableDataService.modify('patch', function () {
|
|
5269
|
+
return _this.checkinDistanceReasonsService.patch(id, checkinDistanceReason, commonOption);
|
|
5270
|
+
});
|
|
5271
|
+
};
|
|
5272
|
+
CheckinDistanceReasonsApi.prototype.create = function (checkinDistanceReason, commonOption) {
|
|
5273
|
+
var _this = this;
|
|
5274
|
+
return this.storableDataService.modify('create', function () {
|
|
5275
|
+
return _this.checkinDistanceReasonsService.create(checkinDistanceReason, commonOption);
|
|
5276
|
+
});
|
|
5277
|
+
};
|
|
5278
|
+
/**
|
|
5279
|
+
* Saves a new order. ids: every non-deleted reason id of the merchant, in the new order.
|
|
5280
|
+
* The server rejects any other list and changes nothing; the store keeps the old order then.
|
|
5281
|
+
*/
|
|
5282
|
+
CheckinDistanceReasonsApi.prototype.reorder = function (ids, commonOption) {
|
|
5283
|
+
var _this = this;
|
|
5284
|
+
return this.storableDataService.modifyMany('reorder', function () {
|
|
5285
|
+
return _this.checkinDistanceReasonsService.reorder(ids, commonOption);
|
|
5286
|
+
});
|
|
5287
|
+
};
|
|
5288
|
+
CheckinDistanceReasonsApi.prototype.get = function (id) {
|
|
5289
|
+
return this.checkinDistanceReasonsStore.get(id);
|
|
5290
|
+
};
|
|
5291
|
+
/** Returns the loaded reasons by position, then id: the order the server and the driver app use. */
|
|
5292
|
+
CheckinDistanceReasonsApi.prototype.getAll = function () {
|
|
5293
|
+
return this.checkinDistanceReasonsStore.getAll().sort(function (a, b) { return a.position - b.position || a.id - b.id; });
|
|
5294
|
+
};
|
|
5295
|
+
CheckinDistanceReasonsApi.prototype.removeAll = function () {
|
|
5296
|
+
this.checkinDistanceReasonsStore.removeAll();
|
|
5297
|
+
};
|
|
5298
|
+
return CheckinDistanceReasonsApi;
|
|
5299
|
+
}());
|
|
5300
|
+
exports["default"] = CheckinDistanceReasonsApi;
|
|
5301
|
+
//# sourceMappingURL=checkin-distance-reasons-api.js.map
|
|
5302
|
+
|
|
5303
|
+
/***/ }),
|
|
5304
|
+
|
|
5305
|
+
/***/ 85743:
|
|
5306
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
5307
|
+
|
|
5308
|
+
"use strict";
|
|
5309
|
+
|
|
5310
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
5311
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
5312
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5313
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5314
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
5315
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
5316
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
5317
|
+
});
|
|
5318
|
+
};
|
|
5319
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
5320
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
5321
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
5322
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
5323
|
+
function step(op) {
|
|
5324
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
5325
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
5326
|
+
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;
|
|
5327
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
5328
|
+
switch (op[0]) {
|
|
5329
|
+
case 0: case 1: t = op; break;
|
|
5330
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
5331
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
5332
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
5333
|
+
default:
|
|
5334
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
5335
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
5336
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
5337
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
5338
|
+
if (t[2]) _.ops.pop();
|
|
5339
|
+
_.trys.pop(); continue;
|
|
5340
|
+
}
|
|
5341
|
+
op = body.call(thisArg, _);
|
|
5342
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
5343
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
5344
|
+
}
|
|
5345
|
+
};
|
|
5346
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
5347
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
5348
|
+
};
|
|
5349
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5350
|
+
var CrudService_1 = __importDefault(__webpack_require__(14809));
|
|
5351
|
+
var entityName = 'checkin_distance_reasons';
|
|
5352
|
+
var Routes = {
|
|
5353
|
+
REORDER: "/".concat(entityName, "/reorder")
|
|
5354
|
+
};
|
|
5355
|
+
var CheckinDistanceReasonsService = /** @class */ (function () {
|
|
5356
|
+
function CheckinDistanceReasonsService(session) {
|
|
5357
|
+
this.service = new CrudService_1.default(session, entityName);
|
|
5358
|
+
}
|
|
5359
|
+
CheckinDistanceReasonsService.prototype.loadAll = function (commonOptions) {
|
|
5360
|
+
if (commonOptions === void 0) { commonOptions = {}; }
|
|
5361
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
5362
|
+
var response;
|
|
5363
|
+
return __generator(this, function (_a) {
|
|
5364
|
+
switch (_a.label) {
|
|
5365
|
+
case 0: return [4 /*yield*/, this.service.getAll(undefined, commonOptions)];
|
|
5366
|
+
case 1:
|
|
5367
|
+
response = _a.sent();
|
|
5368
|
+
return [2 /*return*/, response.checkin_distance_reasons];
|
|
5369
|
+
}
|
|
5370
|
+
});
|
|
5371
|
+
});
|
|
5372
|
+
};
|
|
5373
|
+
CheckinDistanceReasonsService.prototype.delete = function (id, commonOptions) {
|
|
5374
|
+
if (commonOptions === void 0) { commonOptions = {}; }
|
|
5375
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
5376
|
+
return __generator(this, function (_a) {
|
|
5377
|
+
return [2 /*return*/, this.service.delete(id, undefined, commonOptions)];
|
|
5378
|
+
});
|
|
5379
|
+
});
|
|
5380
|
+
};
|
|
5381
|
+
CheckinDistanceReasonsService.prototype.update = function (id, checkinDistanceReason, commonOptions) {
|
|
5382
|
+
if (commonOptions === void 0) { commonOptions = {}; }
|
|
5383
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
5384
|
+
var response;
|
|
5385
|
+
return __generator(this, function (_a) {
|
|
5386
|
+
switch (_a.label) {
|
|
5387
|
+
case 0: return [4 /*yield*/, this.service.update(id, checkinDistanceReason, commonOptions)];
|
|
5388
|
+
case 1:
|
|
5389
|
+
response = _a.sent();
|
|
5390
|
+
return [2 /*return*/, response.checkin_distance_reason];
|
|
5391
|
+
}
|
|
5392
|
+
});
|
|
5393
|
+
});
|
|
5394
|
+
};
|
|
5395
|
+
CheckinDistanceReasonsService.prototype.patch = function (id, checkinDistanceReason, commonOptions) {
|
|
5396
|
+
if (commonOptions === void 0) { commonOptions = {}; }
|
|
5397
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
5398
|
+
var response;
|
|
5399
|
+
return __generator(this, function (_a) {
|
|
5400
|
+
switch (_a.label) {
|
|
5401
|
+
case 0: return [4 /*yield*/, this.service.patch(id, checkinDistanceReason, commonOptions)];
|
|
5402
|
+
case 1:
|
|
5403
|
+
response = _a.sent();
|
|
5404
|
+
return [2 /*return*/, response.checkin_distance_reason];
|
|
5405
|
+
}
|
|
5406
|
+
});
|
|
5407
|
+
});
|
|
5408
|
+
};
|
|
5409
|
+
/** ids: every non-deleted reason id of the merchant, in the new order. Returns the reasons in that order. */
|
|
5410
|
+
CheckinDistanceReasonsService.prototype.reorder = function (ids, commonOptions) {
|
|
5411
|
+
if (commonOptions === void 0) { commonOptions = {}; }
|
|
5412
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
5413
|
+
var payload, response;
|
|
5414
|
+
return __generator(this, function (_a) {
|
|
5415
|
+
switch (_a.label) {
|
|
5416
|
+
case 0:
|
|
5417
|
+
payload = { ids: ids };
|
|
5418
|
+
return [4 /*yield*/, this.service.routeGenerator
|
|
5419
|
+
.patch(Routes.REORDER)
|
|
5420
|
+
.withPayload(payload)
|
|
5421
|
+
.setException("Failed to reorder ".concat(entityName))
|
|
5422
|
+
.withCommonOptions(commonOptions)
|
|
5423
|
+
.invoke()];
|
|
5424
|
+
case 1:
|
|
5425
|
+
response = _a.sent();
|
|
5426
|
+
return [2 /*return*/, response.checkin_distance_reasons];
|
|
5427
|
+
}
|
|
5428
|
+
});
|
|
5429
|
+
});
|
|
5430
|
+
};
|
|
5431
|
+
CheckinDistanceReasonsService.prototype.create = function (checkinDistanceReason, commonOptions) {
|
|
5432
|
+
if (commonOptions === void 0) { commonOptions = {}; }
|
|
5433
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
5434
|
+
var response;
|
|
5435
|
+
return __generator(this, function (_a) {
|
|
5436
|
+
switch (_a.label) {
|
|
5437
|
+
case 0: return [4 /*yield*/, this.service.create(checkinDistanceReason, commonOptions)];
|
|
5438
|
+
case 1:
|
|
5439
|
+
response = _a.sent();
|
|
5440
|
+
return [2 /*return*/, response.checkin_distance_reason];
|
|
5441
|
+
}
|
|
5442
|
+
});
|
|
5443
|
+
});
|
|
5444
|
+
};
|
|
5445
|
+
return CheckinDistanceReasonsService;
|
|
5446
|
+
}());
|
|
5447
|
+
exports["default"] = CheckinDistanceReasonsService;
|
|
5448
|
+
//# sourceMappingURL=checkin-distance-reasons-service.js.map
|
|
5449
|
+
|
|
5450
|
+
/***/ }),
|
|
5451
|
+
|
|
5181
5452
|
/***/ 97275:
|
|
5182
5453
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
5183
5454
|
|
|
@@ -25027,7 +25298,7 @@ var BringgException_1 = __webpack_require__(43605);
|
|
|
25027
25298
|
var client_page_1 = __webpack_require__(16573);
|
|
25028
25299
|
var Logger_1 = __importDefault(__webpack_require__(55860));
|
|
25029
25300
|
var abort_1 = __webpack_require__(34179);
|
|
25030
|
-
var version = '10.2.0-pre.
|
|
25301
|
+
var version = '10.2.0-pre.60536';
|
|
25031
25302
|
function logErrorResponse(response) {
|
|
25032
25303
|
var data = response.data, status = response.status;
|
|
25033
25304
|
try {
|
|
@@ -26140,14 +26411,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26140
26411
|
};
|
|
26141
26412
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
26142
26413
|
var Entity_1 = __importStar(__webpack_require__(7483));
|
|
26143
|
-
var BASE_ROUTE = '/tags';
|
|
26144
|
-
var REASON_TO_CANCEL_TASKS_ROUTE = '/reason_to_cancel_tasks';
|
|
26145
|
-
var Routes = {
|
|
26146
|
-
CREATE_WITH_CONFIGURATIONS: "".concat(BASE_ROUTE, "/create_tag"),
|
|
26147
|
-
CREATE_CANCEL_REASONS_CONFIGURATION: "".concat(REASON_TO_CANCEL_TASKS_ROUTE, "/create_tag_reason_to_cancel_tasks_configuration"),
|
|
26148
|
-
DELETE_CANCEL_REASONS_CONFIGURATION: "".concat(REASON_TO_CANCEL_TASKS_ROUTE, "/delete_tag_reason_to_cancel_tasks_configuration"),
|
|
26149
|
-
UPDATE_CANCEL_REASONS: "".concat(REASON_TO_CANCEL_TASKS_ROUTE, "/update_tag_reasons_to_cancel_task")
|
|
26150
|
-
};
|
|
26151
26414
|
var TagEntity = /** @class */ (function (_super) {
|
|
26152
26415
|
__extends(TagEntity, _super);
|
|
26153
26416
|
function TagEntity(session) {
|
|
@@ -26157,58 +26420,6 @@ var TagEntity = /** @class */ (function (_super) {
|
|
|
26157
26420
|
routes: [Entity_1.BaseRoutes.Create, Entity_1.BaseRoutes.Update, Entity_1.BaseRoutes.Delete, Entity_1.BaseRoutes.GetAll]
|
|
26158
26421
|
}) || this;
|
|
26159
26422
|
}
|
|
26160
|
-
TagEntity.prototype.createWithConfigurations = function (options) {
|
|
26161
|
-
return this.service.routeGenerator
|
|
26162
|
-
.post(Routes.CREATE_WITH_CONFIGURATIONS)
|
|
26163
|
-
.withPayload(options)
|
|
26164
|
-
.setException('Could not create tag')
|
|
26165
|
-
.invoke();
|
|
26166
|
-
};
|
|
26167
|
-
TagEntity.prototype.createConfiguration = function (tagId, type) {
|
|
26168
|
-
return (this.service.routeGenerator
|
|
26169
|
-
.post("".concat(BASE_ROUTE, "/").concat(tagId, "/create_tag_").concat(type, "_configuration"))
|
|
26170
|
-
// The server looks the tag up by `params[:id]`, which the nested route doesn't provide (it has `tag_id`)
|
|
26171
|
-
.withPayload({ id: tagId })
|
|
26172
|
-
.setException("Could not create ".concat(type, " configuration for tag #").concat(tagId))
|
|
26173
|
-
.invoke());
|
|
26174
|
-
};
|
|
26175
|
-
TagEntity.prototype.deleteConfiguration = function (tagId, type) {
|
|
26176
|
-
return this.service.routeGenerator
|
|
26177
|
-
.delete("".concat(BASE_ROUTE, "/").concat(tagId, "/delete_tag_").concat(type, "_configuration"))
|
|
26178
|
-
.setException("Could not delete ".concat(type, " configuration of tag #").concat(tagId))
|
|
26179
|
-
.invoke();
|
|
26180
|
-
};
|
|
26181
|
-
TagEntity.prototype.createCancelReasonsConfiguration = function (tagId) {
|
|
26182
|
-
return this.service.routeGenerator
|
|
26183
|
-
.post(Routes.CREATE_CANCEL_REASONS_CONFIGURATION)
|
|
26184
|
-
.withPayload({ tag_id: tagId })
|
|
26185
|
-
.setException("Could not create cancel reasons configuration for tag #".concat(tagId))
|
|
26186
|
-
.invoke();
|
|
26187
|
-
};
|
|
26188
|
-
TagEntity.prototype.deleteCancelReasonsConfiguration = function (tagId) {
|
|
26189
|
-
return this.service.routeGenerator
|
|
26190
|
-
.delete(Routes.DELETE_CANCEL_REASONS_CONFIGURATION)
|
|
26191
|
-
.withQueryString({ tag_id: tagId })
|
|
26192
|
-
.setException("Could not delete cancel reasons configuration of tag #".concat(tagId))
|
|
26193
|
-
.invoke();
|
|
26194
|
-
};
|
|
26195
|
-
TagEntity.prototype.updateCancelReasons = function (tagId, tag) {
|
|
26196
|
-
return this.service.routeGenerator
|
|
26197
|
-
.post(Routes.UPDATE_CANCEL_REASONS)
|
|
26198
|
-
.withPayload({ tag_id: tagId, tag: tag })
|
|
26199
|
-
.setException("Could not update cancel reasons of tag #".concat(tagId))
|
|
26200
|
-
.invoke();
|
|
26201
|
-
};
|
|
26202
|
-
TagEntity.prototype.uploadImage = function (tagId, field, imageFile) {
|
|
26203
|
-
var formData = new FormData();
|
|
26204
|
-
formData.append('file', imageFile);
|
|
26205
|
-
return this.service.routeGenerator
|
|
26206
|
-
.post("".concat(BASE_ROUTE, "/").concat(tagId, "/").concat(field, "/"))
|
|
26207
|
-
.withHeaders({ 'Content-Type': 'multipart/form-data' })
|
|
26208
|
-
.withPayload(formData)
|
|
26209
|
-
.setException("Could not upload ".concat(field, " of tag #").concat(tagId))
|
|
26210
|
-
.invoke();
|
|
26211
|
-
};
|
|
26212
26423
|
return TagEntity;
|
|
26213
26424
|
}(Entity_1.default));
|
|
26214
26425
|
exports["default"] = TagEntity;
|
|
@@ -26243,7 +26454,6 @@ var Tag = /** @class */ (function () {
|
|
|
26243
26454
|
function Tag(session) {
|
|
26244
26455
|
this.tagEntity = new TagEntity_1.default(session);
|
|
26245
26456
|
}
|
|
26246
|
-
// The server answers with the array of tags itself, not `{ tags }`
|
|
26247
26457
|
Tag.prototype.getAll = function () {
|
|
26248
26458
|
return this.tagEntity.service.getAll();
|
|
26249
26459
|
};
|
|
@@ -26251,34 +26461,11 @@ var Tag = /** @class */ (function () {
|
|
|
26251
26461
|
return this.tagEntity.service.create(tag);
|
|
26252
26462
|
};
|
|
26253
26463
|
Tag.prototype.update = function (id, tag) {
|
|
26254
|
-
|
|
26255
|
-
// Sending the tag flat fails: its own `tag` name field stops Rails from wrapping the params.
|
|
26256
|
-
return this.tagEntity.service.update(id, { id: id, tag: tag });
|
|
26464
|
+
return this.tagEntity.service.update(id, tag);
|
|
26257
26465
|
};
|
|
26258
26466
|
Tag.prototype.delete = function (id) {
|
|
26259
26467
|
return this.tagEntity.service.delete(id);
|
|
26260
26468
|
};
|
|
26261
|
-
Tag.prototype.createTagWithConfigurations = function (options) {
|
|
26262
|
-
return this.tagEntity.createWithConfigurations(options);
|
|
26263
|
-
};
|
|
26264
|
-
Tag.prototype.createTagConfiguration = function (tagId, type) {
|
|
26265
|
-
return this.tagEntity.createConfiguration(tagId, type);
|
|
26266
|
-
};
|
|
26267
|
-
Tag.prototype.deleteTagConfiguration = function (tagId, type) {
|
|
26268
|
-
return this.tagEntity.deleteConfiguration(tagId, type);
|
|
26269
|
-
};
|
|
26270
|
-
Tag.prototype.createTagCancelReasonsConfiguration = function (tagId) {
|
|
26271
|
-
return this.tagEntity.createCancelReasonsConfiguration(tagId);
|
|
26272
|
-
};
|
|
26273
|
-
Tag.prototype.deleteTagCancelReasonsConfiguration = function (tagId) {
|
|
26274
|
-
return this.tagEntity.deleteCancelReasonsConfiguration(tagId);
|
|
26275
|
-
};
|
|
26276
|
-
Tag.prototype.updateTagCancelReasons = function (tagId, tag) {
|
|
26277
|
-
return this.tagEntity.updateCancelReasons(tagId, tag);
|
|
26278
|
-
};
|
|
26279
|
-
Tag.prototype.uploadTagImage = function (tagId, field, imageFile) {
|
|
26280
|
-
return this.tagEntity.uploadImage(tagId, field, imageFile);
|
|
26281
|
-
};
|
|
26282
26469
|
return Tag;
|
|
26283
26470
|
}());
|
|
26284
26471
|
exports["default"] = Tag;
|
|
@@ -28927,9 +29114,12 @@ var TaskConfigurationEntity = /** @class */ (function (_super) {
|
|
|
28927
29114
|
session: session,
|
|
28928
29115
|
entityName: 'task_configurations',
|
|
28929
29116
|
routePrefix: 'merchant',
|
|
28930
|
-
routes: [Entity_1.BaseRoutes.Create, Entity_1.BaseRoutes.Update]
|
|
29117
|
+
routes: [Entity_1.BaseRoutes.GetAll, Entity_1.BaseRoutes.Create, Entity_1.BaseRoutes.Update]
|
|
28931
29118
|
}) || this;
|
|
28932
29119
|
}
|
|
29120
|
+
TaskConfigurationEntity.prototype.getAll = function () {
|
|
29121
|
+
return this.service.getAll();
|
|
29122
|
+
};
|
|
28933
29123
|
TaskConfigurationEntity.prototype.getAllActionData = function () {
|
|
28934
29124
|
return this.service.routeGenerator.get('/merchant/task_configurations/get_all_action_data').invoke();
|
|
28935
29125
|
};
|
|
@@ -28940,11 +29130,57 @@ exports["default"] = TaskConfigurationEntity;
|
|
|
28940
29130
|
|
|
28941
29131
|
/***/ }),
|
|
28942
29132
|
|
|
29133
|
+
/***/ 77841:
|
|
29134
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
29135
|
+
|
|
29136
|
+
"use strict";
|
|
29137
|
+
|
|
29138
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
29139
|
+
//# sourceMappingURL=TaskConfiguration.consts.js.map
|
|
29140
|
+
|
|
29141
|
+
/***/ }),
|
|
29142
|
+
|
|
28943
29143
|
/***/ 15127:
|
|
28944
29144
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
28945
29145
|
|
|
28946
29146
|
"use strict";
|
|
28947
29147
|
|
|
29148
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29149
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
29150
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
29151
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
29152
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
29153
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
29154
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
29155
|
+
});
|
|
29156
|
+
};
|
|
29157
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
29158
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
29159
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
29160
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
29161
|
+
function step(op) {
|
|
29162
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
29163
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
29164
|
+
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;
|
|
29165
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
29166
|
+
switch (op[0]) {
|
|
29167
|
+
case 0: case 1: t = op; break;
|
|
29168
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
29169
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
29170
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
29171
|
+
default:
|
|
29172
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
29173
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
29174
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
29175
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
29176
|
+
if (t[2]) _.ops.pop();
|
|
29177
|
+
_.trys.pop(); continue;
|
|
29178
|
+
}
|
|
29179
|
+
op = body.call(thisArg, _);
|
|
29180
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
29181
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
29182
|
+
}
|
|
29183
|
+
};
|
|
28948
29184
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
28949
29185
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
28950
29186
|
};
|
|
@@ -28954,6 +29190,21 @@ var TaskConfiguration = /** @class */ (function () {
|
|
|
28954
29190
|
function TaskConfiguration(session) {
|
|
28955
29191
|
this.TaskConfigurationEntity = new TaskConfigurationEntity_1.default(session);
|
|
28956
29192
|
}
|
|
29193
|
+
/** Every task configuration of the merchant, with or without actions (id, title, checkin_distance_enforcement). */
|
|
29194
|
+
TaskConfiguration.prototype.getAll = function () {
|
|
29195
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
29196
|
+
var response;
|
|
29197
|
+
return __generator(this, function (_a) {
|
|
29198
|
+
switch (_a.label) {
|
|
29199
|
+
case 0: return [4 /*yield*/, this.TaskConfigurationEntity.getAll()];
|
|
29200
|
+
case 1:
|
|
29201
|
+
response = _a.sent();
|
|
29202
|
+
return [2 /*return*/, response.task_configurations];
|
|
29203
|
+
}
|
|
29204
|
+
});
|
|
29205
|
+
});
|
|
29206
|
+
};
|
|
29207
|
+
/** Only the task configurations that have actions. */
|
|
28957
29208
|
TaskConfiguration.prototype.getAllActionData = function () {
|
|
28958
29209
|
return this.TaskConfigurationEntity.getAllActionData();
|
|
28959
29210
|
};
|
|
@@ -35530,12 +35781,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
35530
35781
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
35531
35782
|
};
|
|
35532
35783
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
35533
|
-
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;
|
|
35784
|
+
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.TaskConfigurationConsts = 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;
|
|
35534
35785
|
__exportStar(__webpack_require__(82661), exports);
|
|
35535
35786
|
__exportStar(__webpack_require__(37360), exports);
|
|
35536
35787
|
__exportStar(__webpack_require__(5655), exports);
|
|
35537
35788
|
exports.ChatConversationConsts = __importStar(__webpack_require__(44448));
|
|
35538
35789
|
exports.ChatMessageConsts = __importStar(__webpack_require__(39634));
|
|
35790
|
+
var checkin_distance_reasons_api_1 = __webpack_require__(16754);
|
|
35791
|
+
Object.defineProperty(exports, "CheckinDistanceReasonsApi", ({ enumerable: true, get: function () { return __importDefault(checkin_distance_reasons_api_1).default; } }));
|
|
35539
35792
|
var client_page_1 = __webpack_require__(16573);
|
|
35540
35793
|
Object.defineProperty(exports, "CLIENT_PAGE_HEADER", ({ enumerable: true, get: function () { return client_page_1.CLIENT_PAGE_HEADER; } }));
|
|
35541
35794
|
Object.defineProperty(exports, "clientPageFromLocation", ({ enumerable: true, get: function () { return client_page_1.clientPageFromLocation; } }));
|
|
@@ -35581,6 +35834,7 @@ Object.defineProperty(exports, "TaskGroupTypes", ({ enumerable: true, get: funct
|
|
|
35581
35834
|
Object.defineProperty(exports, "TaskGroupValues", ({ enumerable: true, get: function () { return Tasks_consts_1.GROUP_VALUES; } }));
|
|
35582
35835
|
var tasks_api_1 = __webpack_require__(35022);
|
|
35583
35836
|
Object.defineProperty(exports, "TasksApi", ({ enumerable: true, get: function () { return __importDefault(tasks_api_1).default; } }));
|
|
35837
|
+
exports.TaskConfigurationConsts = __importStar(__webpack_require__(77841));
|
|
35584
35838
|
exports.TaskInventoryConsts = __importStar(__webpack_require__(31289));
|
|
35585
35839
|
__exportStar(__webpack_require__(26931), exports);
|
|
35586
35840
|
var task_reject_reasons_api_1 = __webpack_require__(62954);
|
|
@@ -38544,7 +38798,6 @@ __exportStar(__webpack_require__(2267), exports);
|
|
|
38544
38798
|
__exportStar(__webpack_require__(13401), exports);
|
|
38545
38799
|
__exportStar(__webpack_require__(63725), exports);
|
|
38546
38800
|
__exportStar(__webpack_require__(26383), exports);
|
|
38547
|
-
__exportStar(__webpack_require__(11168), exports);
|
|
38548
38801
|
__exportStar(__webpack_require__(82849), exports);
|
|
38549
38802
|
__exportStar(__webpack_require__(54581), exports);
|
|
38550
38803
|
__exportStar(__webpack_require__(21434), exports);
|
|
@@ -38559,6 +38812,8 @@ __exportStar(__webpack_require__(1555), exports);
|
|
|
38559
38812
|
__exportStar(__webpack_require__(68734), exports);
|
|
38560
38813
|
__exportStar(__webpack_require__(37443), exports);
|
|
38561
38814
|
__exportStar(__webpack_require__(51837), exports);
|
|
38815
|
+
__exportStar(__webpack_require__(34268), exports);
|
|
38816
|
+
__exportStar(__webpack_require__(4593), exports);
|
|
38562
38817
|
__exportStar(__webpack_require__(55936), exports);
|
|
38563
38818
|
__exportStar(__webpack_require__(58466), exports);
|
|
38564
38819
|
__exportStar(__webpack_require__(14570), exports);
|
|
@@ -38890,16 +39145,6 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
38890
39145
|
|
|
38891
39146
|
/***/ }),
|
|
38892
39147
|
|
|
38893
|
-
/***/ 11168:
|
|
38894
|
-
/***/ ((__unused_webpack_module, exports) => {
|
|
38895
|
-
|
|
38896
|
-
"use strict";
|
|
38897
|
-
|
|
38898
|
-
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
38899
|
-
//# sourceMappingURL=ai_insights.js.map
|
|
38900
|
-
|
|
38901
|
-
/***/ }),
|
|
38902
|
-
|
|
38903
39148
|
/***/ 82849:
|
|
38904
39149
|
/***/ ((__unused_webpack_module, exports) => {
|
|
38905
39150
|
|
|
@@ -40505,6 +40750,77 @@ var ChatMessageOrigin;
|
|
|
40505
40750
|
|
|
40506
40751
|
/***/ }),
|
|
40507
40752
|
|
|
40753
|
+
/***/ 13345:
|
|
40754
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
40755
|
+
|
|
40756
|
+
"use strict";
|
|
40757
|
+
|
|
40758
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
40759
|
+
//# sourceMappingURL=checkin_distance_reason.js.map
|
|
40760
|
+
|
|
40761
|
+
/***/ }),
|
|
40762
|
+
|
|
40763
|
+
/***/ 11908:
|
|
40764
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
40765
|
+
|
|
40766
|
+
"use strict";
|
|
40767
|
+
|
|
40768
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
40769
|
+
//# sourceMappingURL=checkin_distance_reasons_api_types.js.map
|
|
40770
|
+
|
|
40771
|
+
/***/ }),
|
|
40772
|
+
|
|
40773
|
+
/***/ 4593:
|
|
40774
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
40775
|
+
|
|
40776
|
+
"use strict";
|
|
40777
|
+
|
|
40778
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
40779
|
+
if (k2 === undefined) k2 = k;
|
|
40780
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
40781
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
40782
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
40783
|
+
}
|
|
40784
|
+
Object.defineProperty(o, k2, desc);
|
|
40785
|
+
}) : (function(o, m, k, k2) {
|
|
40786
|
+
if (k2 === undefined) k2 = k;
|
|
40787
|
+
o[k2] = m[k];
|
|
40788
|
+
}));
|
|
40789
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
40790
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
40791
|
+
};
|
|
40792
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
40793
|
+
__exportStar(__webpack_require__(13345), exports);
|
|
40794
|
+
__exportStar(__webpack_require__(11908), exports);
|
|
40795
|
+
//# sourceMappingURL=index.js.map
|
|
40796
|
+
|
|
40797
|
+
/***/ }),
|
|
40798
|
+
|
|
40799
|
+
/***/ 34268:
|
|
40800
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
40801
|
+
|
|
40802
|
+
"use strict";
|
|
40803
|
+
|
|
40804
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
40805
|
+
exports.CheckinDistanceEnforcementWayPointType = exports.CheckinDistanceEnforcementMode = void 0;
|
|
40806
|
+
var CheckinDistanceEnforcementMode;
|
|
40807
|
+
(function (CheckinDistanceEnforcementMode) {
|
|
40808
|
+
CheckinDistanceEnforcementMode["Warn"] = "warn";
|
|
40809
|
+
CheckinDistanceEnforcementMode["WarnReason"] = "warn_reason";
|
|
40810
|
+
CheckinDistanceEnforcementMode["Block"] = "block";
|
|
40811
|
+
})(CheckinDistanceEnforcementMode || (exports.CheckinDistanceEnforcementMode = CheckinDistanceEnforcementMode = {}));
|
|
40812
|
+
var CheckinDistanceEnforcementWayPointType;
|
|
40813
|
+
(function (CheckinDistanceEnforcementWayPointType) {
|
|
40814
|
+
CheckinDistanceEnforcementWayPointType[CheckinDistanceEnforcementWayPointType["All"] = 1] = "All";
|
|
40815
|
+
CheckinDistanceEnforcementWayPointType[CheckinDistanceEnforcementWayPointType["First"] = 2] = "First";
|
|
40816
|
+
CheckinDistanceEnforcementWayPointType[CheckinDistanceEnforcementWayPointType["Last"] = 3] = "Last";
|
|
40817
|
+
CheckinDistanceEnforcementWayPointType[CheckinDistanceEnforcementWayPointType["Customer"] = 4] = "Customer";
|
|
40818
|
+
CheckinDistanceEnforcementWayPointType[CheckinDistanceEnforcementWayPointType["Warehouse"] = 5] = "Warehouse";
|
|
40819
|
+
})(CheckinDistanceEnforcementWayPointType || (exports.CheckinDistanceEnforcementWayPointType = CheckinDistanceEnforcementWayPointType = {}));
|
|
40820
|
+
//# sourceMappingURL=checkin_distance_enforcement.js.map
|
|
40821
|
+
|
|
40822
|
+
/***/ }),
|
|
40823
|
+
|
|
40508
40824
|
/***/ 55936:
|
|
40509
40825
|
/***/ ((__unused_webpack_module, exports) => {
|
|
40510
40826
|
|
|
@@ -42914,7 +43230,6 @@ var RealtimeEvent;
|
|
|
42914
43230
|
RealtimeEvent["EtaRecalculateDone"] = "eta_recalculate:done";
|
|
42915
43231
|
RealtimeEvent["FloatingInventoryAdded"] = "floating_inventory:added";
|
|
42916
43232
|
RealtimeEvent["FloatingInventoryRemoved"] = "floating_inventory:removed";
|
|
42917
|
-
RealtimeEvent["InsightStream"] = "insight_stream";
|
|
42918
43233
|
RealtimeEvent["MerchantConfigurationUpdated"] = "merchant:configuration_updated";
|
|
42919
43234
|
RealtimeEvent["UserConfigurationUpdated"] = "user:configuration_updated";
|
|
42920
43235
|
RealtimeEvent["MerchantUpdated"] = "merchant:updated";
|