@bringg/dashboard-sdk 10.2.0-pre.1 → 10.2.0-pre.60537
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 +27 -0
- package/dist/CheckinDistanceReason/v2/checkin-distance-reasons-api.js +118 -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 +425 -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,278 @@ 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 answers with its full list, which replaces the store, so a reason deleted elsewhere drops out.
|
|
5281
|
+
* The server rejects any other list and changes nothing; the store keeps the old order then. A rejection
|
|
5282
|
+
* usually means the local list is out of date, so reload it with `loadAll({ useCache: false })` before retrying.
|
|
5283
|
+
*/
|
|
5284
|
+
CheckinDistanceReasonsApi.prototype.reorder = function (ids, commonOption) {
|
|
5285
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
5286
|
+
var _this = this;
|
|
5287
|
+
return __generator(this, function (_a) {
|
|
5288
|
+
switch (_a.label) {
|
|
5289
|
+
case 0: return [4 /*yield*/, this.storableDataService.loadAll('reorder', function () { return _this.checkinDistanceReasonsService.reorder(ids, commonOption); }, { useCache: false })];
|
|
5290
|
+
case 1:
|
|
5291
|
+
_a.sent();
|
|
5292
|
+
return [2 /*return*/, this.getAll()];
|
|
5293
|
+
}
|
|
5294
|
+
});
|
|
5295
|
+
});
|
|
5296
|
+
};
|
|
5297
|
+
CheckinDistanceReasonsApi.prototype.get = function (id) {
|
|
5298
|
+
return this.checkinDistanceReasonsStore.get(id);
|
|
5299
|
+
};
|
|
5300
|
+
/** Returns the loaded reasons by position, then id: the order the server and the driver app use. */
|
|
5301
|
+
CheckinDistanceReasonsApi.prototype.getAll = function () {
|
|
5302
|
+
return this.checkinDistanceReasonsStore.getAll().sort(function (a, b) { return a.position - b.position || a.id - b.id; });
|
|
5303
|
+
};
|
|
5304
|
+
CheckinDistanceReasonsApi.prototype.removeAll = function () {
|
|
5305
|
+
this.checkinDistanceReasonsStore.removeAll();
|
|
5306
|
+
};
|
|
5307
|
+
return CheckinDistanceReasonsApi;
|
|
5308
|
+
}());
|
|
5309
|
+
exports["default"] = CheckinDistanceReasonsApi;
|
|
5310
|
+
//# sourceMappingURL=checkin-distance-reasons-api.js.map
|
|
5311
|
+
|
|
5312
|
+
/***/ }),
|
|
5313
|
+
|
|
5314
|
+
/***/ 85743:
|
|
5315
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
5316
|
+
|
|
5317
|
+
"use strict";
|
|
5318
|
+
|
|
5319
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
5320
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
5321
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5322
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5323
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
5324
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
5325
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
5326
|
+
});
|
|
5327
|
+
};
|
|
5328
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
5329
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
5330
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
5331
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
5332
|
+
function step(op) {
|
|
5333
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
5334
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
5335
|
+
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;
|
|
5336
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
5337
|
+
switch (op[0]) {
|
|
5338
|
+
case 0: case 1: t = op; break;
|
|
5339
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
5340
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
5341
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
5342
|
+
default:
|
|
5343
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
5344
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
5345
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
5346
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
5347
|
+
if (t[2]) _.ops.pop();
|
|
5348
|
+
_.trys.pop(); continue;
|
|
5349
|
+
}
|
|
5350
|
+
op = body.call(thisArg, _);
|
|
5351
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
5352
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
5353
|
+
}
|
|
5354
|
+
};
|
|
5355
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
5356
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
5357
|
+
};
|
|
5358
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5359
|
+
var CrudService_1 = __importDefault(__webpack_require__(14809));
|
|
5360
|
+
var entityName = 'checkin_distance_reasons';
|
|
5361
|
+
var Routes = {
|
|
5362
|
+
REORDER: "/".concat(entityName, "/reorder")
|
|
5363
|
+
};
|
|
5364
|
+
var CheckinDistanceReasonsService = /** @class */ (function () {
|
|
5365
|
+
function CheckinDistanceReasonsService(session) {
|
|
5366
|
+
this.service = new CrudService_1.default(session, entityName);
|
|
5367
|
+
}
|
|
5368
|
+
CheckinDistanceReasonsService.prototype.loadAll = function (commonOptions) {
|
|
5369
|
+
if (commonOptions === void 0) { commonOptions = {}; }
|
|
5370
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
5371
|
+
var response;
|
|
5372
|
+
return __generator(this, function (_a) {
|
|
5373
|
+
switch (_a.label) {
|
|
5374
|
+
case 0: return [4 /*yield*/, this.service.getAll(undefined, commonOptions)];
|
|
5375
|
+
case 1:
|
|
5376
|
+
response = _a.sent();
|
|
5377
|
+
return [2 /*return*/, response.checkin_distance_reasons];
|
|
5378
|
+
}
|
|
5379
|
+
});
|
|
5380
|
+
});
|
|
5381
|
+
};
|
|
5382
|
+
CheckinDistanceReasonsService.prototype.delete = function (id, commonOptions) {
|
|
5383
|
+
if (commonOptions === void 0) { commonOptions = {}; }
|
|
5384
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
5385
|
+
return __generator(this, function (_a) {
|
|
5386
|
+
return [2 /*return*/, this.service.delete(id, undefined, commonOptions)];
|
|
5387
|
+
});
|
|
5388
|
+
});
|
|
5389
|
+
};
|
|
5390
|
+
CheckinDistanceReasonsService.prototype.update = function (id, checkinDistanceReason, commonOptions) {
|
|
5391
|
+
if (commonOptions === void 0) { commonOptions = {}; }
|
|
5392
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
5393
|
+
var response;
|
|
5394
|
+
return __generator(this, function (_a) {
|
|
5395
|
+
switch (_a.label) {
|
|
5396
|
+
case 0: return [4 /*yield*/, this.service.update(id, checkinDistanceReason, commonOptions)];
|
|
5397
|
+
case 1:
|
|
5398
|
+
response = _a.sent();
|
|
5399
|
+
return [2 /*return*/, response.checkin_distance_reason];
|
|
5400
|
+
}
|
|
5401
|
+
});
|
|
5402
|
+
});
|
|
5403
|
+
};
|
|
5404
|
+
CheckinDistanceReasonsService.prototype.patch = function (id, checkinDistanceReason, commonOptions) {
|
|
5405
|
+
if (commonOptions === void 0) { commonOptions = {}; }
|
|
5406
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
5407
|
+
var response;
|
|
5408
|
+
return __generator(this, function (_a) {
|
|
5409
|
+
switch (_a.label) {
|
|
5410
|
+
case 0: return [4 /*yield*/, this.service.patch(id, checkinDistanceReason, commonOptions)];
|
|
5411
|
+
case 1:
|
|
5412
|
+
response = _a.sent();
|
|
5413
|
+
return [2 /*return*/, response.checkin_distance_reason];
|
|
5414
|
+
}
|
|
5415
|
+
});
|
|
5416
|
+
});
|
|
5417
|
+
};
|
|
5418
|
+
/** ids: every non-deleted reason id of the merchant, in the new order. Returns the reasons in that order. */
|
|
5419
|
+
CheckinDistanceReasonsService.prototype.reorder = function (ids, commonOptions) {
|
|
5420
|
+
if (commonOptions === void 0) { commonOptions = {}; }
|
|
5421
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
5422
|
+
var payload, response;
|
|
5423
|
+
return __generator(this, function (_a) {
|
|
5424
|
+
switch (_a.label) {
|
|
5425
|
+
case 0:
|
|
5426
|
+
payload = { ids: ids };
|
|
5427
|
+
return [4 /*yield*/, this.service.routeGenerator
|
|
5428
|
+
.patch(Routes.REORDER)
|
|
5429
|
+
.withPayload(payload)
|
|
5430
|
+
.setException("Failed to reorder ".concat(entityName))
|
|
5431
|
+
.withCommonOptions(commonOptions)
|
|
5432
|
+
.invoke()];
|
|
5433
|
+
case 1:
|
|
5434
|
+
response = _a.sent();
|
|
5435
|
+
return [2 /*return*/, response.checkin_distance_reasons];
|
|
5436
|
+
}
|
|
5437
|
+
});
|
|
5438
|
+
});
|
|
5439
|
+
};
|
|
5440
|
+
CheckinDistanceReasonsService.prototype.create = function (checkinDistanceReason, commonOptions) {
|
|
5441
|
+
if (commonOptions === void 0) { commonOptions = {}; }
|
|
5442
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
5443
|
+
var response;
|
|
5444
|
+
return __generator(this, function (_a) {
|
|
5445
|
+
switch (_a.label) {
|
|
5446
|
+
case 0: return [4 /*yield*/, this.service.create(checkinDistanceReason, commonOptions)];
|
|
5447
|
+
case 1:
|
|
5448
|
+
response = _a.sent();
|
|
5449
|
+
return [2 /*return*/, response.checkin_distance_reason];
|
|
5450
|
+
}
|
|
5451
|
+
});
|
|
5452
|
+
});
|
|
5453
|
+
};
|
|
5454
|
+
return CheckinDistanceReasonsService;
|
|
5455
|
+
}());
|
|
5456
|
+
exports["default"] = CheckinDistanceReasonsService;
|
|
5457
|
+
//# sourceMappingURL=checkin-distance-reasons-service.js.map
|
|
5458
|
+
|
|
5459
|
+
/***/ }),
|
|
5460
|
+
|
|
5181
5461
|
/***/ 97275:
|
|
5182
5462
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
5183
5463
|
|
|
@@ -25027,7 +25307,7 @@ var BringgException_1 = __webpack_require__(43605);
|
|
|
25027
25307
|
var client_page_1 = __webpack_require__(16573);
|
|
25028
25308
|
var Logger_1 = __importDefault(__webpack_require__(55860));
|
|
25029
25309
|
var abort_1 = __webpack_require__(34179);
|
|
25030
|
-
var version = '10.2.0-pre.
|
|
25310
|
+
var version = '10.2.0-pre.60537';
|
|
25031
25311
|
function logErrorResponse(response) {
|
|
25032
25312
|
var data = response.data, status = response.status;
|
|
25033
25313
|
try {
|
|
@@ -26140,14 +26420,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26140
26420
|
};
|
|
26141
26421
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
26142
26422
|
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
26423
|
var TagEntity = /** @class */ (function (_super) {
|
|
26152
26424
|
__extends(TagEntity, _super);
|
|
26153
26425
|
function TagEntity(session) {
|
|
@@ -26157,58 +26429,6 @@ var TagEntity = /** @class */ (function (_super) {
|
|
|
26157
26429
|
routes: [Entity_1.BaseRoutes.Create, Entity_1.BaseRoutes.Update, Entity_1.BaseRoutes.Delete, Entity_1.BaseRoutes.GetAll]
|
|
26158
26430
|
}) || this;
|
|
26159
26431
|
}
|
|
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
26432
|
return TagEntity;
|
|
26213
26433
|
}(Entity_1.default));
|
|
26214
26434
|
exports["default"] = TagEntity;
|
|
@@ -26243,7 +26463,6 @@ var Tag = /** @class */ (function () {
|
|
|
26243
26463
|
function Tag(session) {
|
|
26244
26464
|
this.tagEntity = new TagEntity_1.default(session);
|
|
26245
26465
|
}
|
|
26246
|
-
// The server answers with the array of tags itself, not `{ tags }`
|
|
26247
26466
|
Tag.prototype.getAll = function () {
|
|
26248
26467
|
return this.tagEntity.service.getAll();
|
|
26249
26468
|
};
|
|
@@ -26251,34 +26470,11 @@ var Tag = /** @class */ (function () {
|
|
|
26251
26470
|
return this.tagEntity.service.create(tag);
|
|
26252
26471
|
};
|
|
26253
26472
|
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 });
|
|
26473
|
+
return this.tagEntity.service.update(id, tag);
|
|
26257
26474
|
};
|
|
26258
26475
|
Tag.prototype.delete = function (id) {
|
|
26259
26476
|
return this.tagEntity.service.delete(id);
|
|
26260
26477
|
};
|
|
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
26478
|
return Tag;
|
|
26283
26479
|
}());
|
|
26284
26480
|
exports["default"] = Tag;
|
|
@@ -28927,9 +29123,12 @@ var TaskConfigurationEntity = /** @class */ (function (_super) {
|
|
|
28927
29123
|
session: session,
|
|
28928
29124
|
entityName: 'task_configurations',
|
|
28929
29125
|
routePrefix: 'merchant',
|
|
28930
|
-
routes: [Entity_1.BaseRoutes.Create, Entity_1.BaseRoutes.Update]
|
|
29126
|
+
routes: [Entity_1.BaseRoutes.GetAll, Entity_1.BaseRoutes.Create, Entity_1.BaseRoutes.Update]
|
|
28931
29127
|
}) || this;
|
|
28932
29128
|
}
|
|
29129
|
+
TaskConfigurationEntity.prototype.getAll = function () {
|
|
29130
|
+
return this.service.getAll();
|
|
29131
|
+
};
|
|
28933
29132
|
TaskConfigurationEntity.prototype.getAllActionData = function () {
|
|
28934
29133
|
return this.service.routeGenerator.get('/merchant/task_configurations/get_all_action_data').invoke();
|
|
28935
29134
|
};
|
|
@@ -28940,11 +29139,57 @@ exports["default"] = TaskConfigurationEntity;
|
|
|
28940
29139
|
|
|
28941
29140
|
/***/ }),
|
|
28942
29141
|
|
|
29142
|
+
/***/ 77841:
|
|
29143
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
29144
|
+
|
|
29145
|
+
"use strict";
|
|
29146
|
+
|
|
29147
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
29148
|
+
//# sourceMappingURL=TaskConfiguration.consts.js.map
|
|
29149
|
+
|
|
29150
|
+
/***/ }),
|
|
29151
|
+
|
|
28943
29152
|
/***/ 15127:
|
|
28944
29153
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
28945
29154
|
|
|
28946
29155
|
"use strict";
|
|
28947
29156
|
|
|
29157
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29158
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
29159
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
29160
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
29161
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
29162
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
29163
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
29164
|
+
});
|
|
29165
|
+
};
|
|
29166
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
29167
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
29168
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
29169
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
29170
|
+
function step(op) {
|
|
29171
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
29172
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
29173
|
+
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;
|
|
29174
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
29175
|
+
switch (op[0]) {
|
|
29176
|
+
case 0: case 1: t = op; break;
|
|
29177
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
29178
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
29179
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
29180
|
+
default:
|
|
29181
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
29182
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
29183
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
29184
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
29185
|
+
if (t[2]) _.ops.pop();
|
|
29186
|
+
_.trys.pop(); continue;
|
|
29187
|
+
}
|
|
29188
|
+
op = body.call(thisArg, _);
|
|
29189
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
29190
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
29191
|
+
}
|
|
29192
|
+
};
|
|
28948
29193
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
28949
29194
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
28950
29195
|
};
|
|
@@ -28954,6 +29199,21 @@ var TaskConfiguration = /** @class */ (function () {
|
|
|
28954
29199
|
function TaskConfiguration(session) {
|
|
28955
29200
|
this.TaskConfigurationEntity = new TaskConfigurationEntity_1.default(session);
|
|
28956
29201
|
}
|
|
29202
|
+
/** Every task configuration of the merchant, with or without actions (id, title, checkin_distance_enforcement). */
|
|
29203
|
+
TaskConfiguration.prototype.getAll = function () {
|
|
29204
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
29205
|
+
var response;
|
|
29206
|
+
return __generator(this, function (_a) {
|
|
29207
|
+
switch (_a.label) {
|
|
29208
|
+
case 0: return [4 /*yield*/, this.TaskConfigurationEntity.getAll()];
|
|
29209
|
+
case 1:
|
|
29210
|
+
response = _a.sent();
|
|
29211
|
+
return [2 /*return*/, response.task_configurations];
|
|
29212
|
+
}
|
|
29213
|
+
});
|
|
29214
|
+
});
|
|
29215
|
+
};
|
|
29216
|
+
/** Only the task configurations that have actions. */
|
|
28957
29217
|
TaskConfiguration.prototype.getAllActionData = function () {
|
|
28958
29218
|
return this.TaskConfigurationEntity.getAllActionData();
|
|
28959
29219
|
};
|
|
@@ -35530,12 +35790,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
35530
35790
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
35531
35791
|
};
|
|
35532
35792
|
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;
|
|
35793
|
+
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
35794
|
__exportStar(__webpack_require__(82661), exports);
|
|
35535
35795
|
__exportStar(__webpack_require__(37360), exports);
|
|
35536
35796
|
__exportStar(__webpack_require__(5655), exports);
|
|
35537
35797
|
exports.ChatConversationConsts = __importStar(__webpack_require__(44448));
|
|
35538
35798
|
exports.ChatMessageConsts = __importStar(__webpack_require__(39634));
|
|
35799
|
+
var checkin_distance_reasons_api_1 = __webpack_require__(16754);
|
|
35800
|
+
Object.defineProperty(exports, "CheckinDistanceReasonsApi", ({ enumerable: true, get: function () { return __importDefault(checkin_distance_reasons_api_1).default; } }));
|
|
35539
35801
|
var client_page_1 = __webpack_require__(16573);
|
|
35540
35802
|
Object.defineProperty(exports, "CLIENT_PAGE_HEADER", ({ enumerable: true, get: function () { return client_page_1.CLIENT_PAGE_HEADER; } }));
|
|
35541
35803
|
Object.defineProperty(exports, "clientPageFromLocation", ({ enumerable: true, get: function () { return client_page_1.clientPageFromLocation; } }));
|
|
@@ -35581,6 +35843,7 @@ Object.defineProperty(exports, "TaskGroupTypes", ({ enumerable: true, get: funct
|
|
|
35581
35843
|
Object.defineProperty(exports, "TaskGroupValues", ({ enumerable: true, get: function () { return Tasks_consts_1.GROUP_VALUES; } }));
|
|
35582
35844
|
var tasks_api_1 = __webpack_require__(35022);
|
|
35583
35845
|
Object.defineProperty(exports, "TasksApi", ({ enumerable: true, get: function () { return __importDefault(tasks_api_1).default; } }));
|
|
35846
|
+
exports.TaskConfigurationConsts = __importStar(__webpack_require__(77841));
|
|
35584
35847
|
exports.TaskInventoryConsts = __importStar(__webpack_require__(31289));
|
|
35585
35848
|
__exportStar(__webpack_require__(26931), exports);
|
|
35586
35849
|
var task_reject_reasons_api_1 = __webpack_require__(62954);
|
|
@@ -38544,7 +38807,6 @@ __exportStar(__webpack_require__(2267), exports);
|
|
|
38544
38807
|
__exportStar(__webpack_require__(13401), exports);
|
|
38545
38808
|
__exportStar(__webpack_require__(63725), exports);
|
|
38546
38809
|
__exportStar(__webpack_require__(26383), exports);
|
|
38547
|
-
__exportStar(__webpack_require__(11168), exports);
|
|
38548
38810
|
__exportStar(__webpack_require__(82849), exports);
|
|
38549
38811
|
__exportStar(__webpack_require__(54581), exports);
|
|
38550
38812
|
__exportStar(__webpack_require__(21434), exports);
|
|
@@ -38559,6 +38821,8 @@ __exportStar(__webpack_require__(1555), exports);
|
|
|
38559
38821
|
__exportStar(__webpack_require__(68734), exports);
|
|
38560
38822
|
__exportStar(__webpack_require__(37443), exports);
|
|
38561
38823
|
__exportStar(__webpack_require__(51837), exports);
|
|
38824
|
+
__exportStar(__webpack_require__(34268), exports);
|
|
38825
|
+
__exportStar(__webpack_require__(4593), exports);
|
|
38562
38826
|
__exportStar(__webpack_require__(55936), exports);
|
|
38563
38827
|
__exportStar(__webpack_require__(58466), exports);
|
|
38564
38828
|
__exportStar(__webpack_require__(14570), exports);
|
|
@@ -38890,16 +39154,6 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
38890
39154
|
|
|
38891
39155
|
/***/ }),
|
|
38892
39156
|
|
|
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
39157
|
/***/ 82849:
|
|
38904
39158
|
/***/ ((__unused_webpack_module, exports) => {
|
|
38905
39159
|
|
|
@@ -40505,6 +40759,77 @@ var ChatMessageOrigin;
|
|
|
40505
40759
|
|
|
40506
40760
|
/***/ }),
|
|
40507
40761
|
|
|
40762
|
+
/***/ 13345:
|
|
40763
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
40764
|
+
|
|
40765
|
+
"use strict";
|
|
40766
|
+
|
|
40767
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
40768
|
+
//# sourceMappingURL=checkin_distance_reason.js.map
|
|
40769
|
+
|
|
40770
|
+
/***/ }),
|
|
40771
|
+
|
|
40772
|
+
/***/ 11908:
|
|
40773
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
40774
|
+
|
|
40775
|
+
"use strict";
|
|
40776
|
+
|
|
40777
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
40778
|
+
//# sourceMappingURL=checkin_distance_reasons_api_types.js.map
|
|
40779
|
+
|
|
40780
|
+
/***/ }),
|
|
40781
|
+
|
|
40782
|
+
/***/ 4593:
|
|
40783
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
40784
|
+
|
|
40785
|
+
"use strict";
|
|
40786
|
+
|
|
40787
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
40788
|
+
if (k2 === undefined) k2 = k;
|
|
40789
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
40790
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
40791
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
40792
|
+
}
|
|
40793
|
+
Object.defineProperty(o, k2, desc);
|
|
40794
|
+
}) : (function(o, m, k, k2) {
|
|
40795
|
+
if (k2 === undefined) k2 = k;
|
|
40796
|
+
o[k2] = m[k];
|
|
40797
|
+
}));
|
|
40798
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
40799
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
40800
|
+
};
|
|
40801
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
40802
|
+
__exportStar(__webpack_require__(13345), exports);
|
|
40803
|
+
__exportStar(__webpack_require__(11908), exports);
|
|
40804
|
+
//# sourceMappingURL=index.js.map
|
|
40805
|
+
|
|
40806
|
+
/***/ }),
|
|
40807
|
+
|
|
40808
|
+
/***/ 34268:
|
|
40809
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
40810
|
+
|
|
40811
|
+
"use strict";
|
|
40812
|
+
|
|
40813
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
40814
|
+
exports.CheckinDistanceEnforcementWayPointType = exports.CheckinDistanceEnforcementMode = void 0;
|
|
40815
|
+
var CheckinDistanceEnforcementMode;
|
|
40816
|
+
(function (CheckinDistanceEnforcementMode) {
|
|
40817
|
+
CheckinDistanceEnforcementMode["Warn"] = "warn";
|
|
40818
|
+
CheckinDistanceEnforcementMode["WarnReason"] = "warn_reason";
|
|
40819
|
+
CheckinDistanceEnforcementMode["Block"] = "block";
|
|
40820
|
+
})(CheckinDistanceEnforcementMode || (exports.CheckinDistanceEnforcementMode = CheckinDistanceEnforcementMode = {}));
|
|
40821
|
+
var CheckinDistanceEnforcementWayPointType;
|
|
40822
|
+
(function (CheckinDistanceEnforcementWayPointType) {
|
|
40823
|
+
CheckinDistanceEnforcementWayPointType[CheckinDistanceEnforcementWayPointType["All"] = 1] = "All";
|
|
40824
|
+
CheckinDistanceEnforcementWayPointType[CheckinDistanceEnforcementWayPointType["First"] = 2] = "First";
|
|
40825
|
+
CheckinDistanceEnforcementWayPointType[CheckinDistanceEnforcementWayPointType["Last"] = 3] = "Last";
|
|
40826
|
+
CheckinDistanceEnforcementWayPointType[CheckinDistanceEnforcementWayPointType["Customer"] = 4] = "Customer";
|
|
40827
|
+
CheckinDistanceEnforcementWayPointType[CheckinDistanceEnforcementWayPointType["Warehouse"] = 5] = "Warehouse";
|
|
40828
|
+
})(CheckinDistanceEnforcementWayPointType || (exports.CheckinDistanceEnforcementWayPointType = CheckinDistanceEnforcementWayPointType = {}));
|
|
40829
|
+
//# sourceMappingURL=checkin_distance_enforcement.js.map
|
|
40830
|
+
|
|
40831
|
+
/***/ }),
|
|
40832
|
+
|
|
40508
40833
|
/***/ 55936:
|
|
40509
40834
|
/***/ ((__unused_webpack_module, exports) => {
|
|
40510
40835
|
|
|
@@ -42914,7 +43239,6 @@ var RealtimeEvent;
|
|
|
42914
43239
|
RealtimeEvent["EtaRecalculateDone"] = "eta_recalculate:done";
|
|
42915
43240
|
RealtimeEvent["FloatingInventoryAdded"] = "floating_inventory:added";
|
|
42916
43241
|
RealtimeEvent["FloatingInventoryRemoved"] = "floating_inventory:removed";
|
|
42917
|
-
RealtimeEvent["InsightStream"] = "insight_stream";
|
|
42918
43242
|
RealtimeEvent["MerchantConfigurationUpdated"] = "merchant:configuration_updated";
|
|
42919
43243
|
RealtimeEvent["UserConfigurationUpdated"] = "user:configuration_updated";
|
|
42920
43244
|
RealtimeEvent["MerchantUpdated"] = "merchant:updated";
|