@bringg/dashboard-sdk 0.6.0 → 0.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AnalyticsReports/AnalyticsReportsApi.d.ts +5 -0
- package/dist/AnalyticsReports/AnalyticsReportsApi.js +15 -0
- package/dist/AnalyticsReports/AnalyticsReportsApi.js.map +1 -1
- package/dist/AnalyticsReports/Entity/AnalyticsReportsEntity.d.ts +6 -1
- package/dist/AnalyticsReports/Entity/AnalyticsReportsEntity.js +70 -1
- package/dist/AnalyticsReports/Entity/AnalyticsReportsEntity.js.map +1 -1
- package/dist/Application/Entity/ApplicationEntity.d.ts +3 -1
- package/dist/Application/Entity/ApplicationEntity.js +26 -24
- package/dist/Application/Entity/ApplicationEntity.js.map +1 -1
- package/dist/Services/ServiceRequest.js +1 -1
- package/dist/bringg-dashboard-sdk-cjs2.js +240 -133
- package/dist/bringg-dashboard-sdk-cjs2.js.map +1 -1
- package/dist/bringg-dashboard-sdk.js +17 -4
- package/dist/bringg-dashboard-sdk.min.js +2 -2
- package/dist/bringg-dashboard-sdk.min.js.map +1 -1
- package/package.json +3 -2
|
@@ -22084,26 +22084,26 @@ var FleetTemplateApi_1 = __webpack_require__(438);
|
|
|
22084
22084
|
var OpenFleetApi_1 = __webpack_require__(440);
|
|
22085
22085
|
var GeocodingApi_1 = __webpack_require__(442);
|
|
22086
22086
|
var ApplicationApi_1 = __webpack_require__(444);
|
|
22087
|
-
var CustomerAvailabilityHourApi_1 = __webpack_require__(
|
|
22088
|
-
var ShiftsApi_1 = __webpack_require__(
|
|
22089
|
-
var ExclusionWindowApi_1 = __webpack_require__(
|
|
22090
|
-
var Country_1 = __webpack_require__(
|
|
22091
|
-
var OauthApplicationApi_1 = __webpack_require__(
|
|
22092
|
-
var Inventory_1 = __webpack_require__(
|
|
22093
|
-
var PushNotificationRegistration_1 = __webpack_require__(
|
|
22094
|
-
var ReasonToCancelTasksApi_1 = __webpack_require__(
|
|
22095
|
-
var CustomFilterApi_1 = __webpack_require__(
|
|
22096
|
-
var FloatingInventoryApi_1 = __webpack_require__(
|
|
22097
|
-
var ServiceAreaApi_1 = __webpack_require__(
|
|
22098
|
-
var BillingApi_1 = __webpack_require__(
|
|
22099
|
-
var PackageApi_1 = __webpack_require__(
|
|
22100
|
-
var UserAnalyticsApi_1 = __webpack_require__(
|
|
22101
|
-
var AnalyticsReportsApi_1 = __webpack_require__(
|
|
22102
|
-
var ServicePlansApi_1 = __webpack_require__(
|
|
22103
|
-
var AlertsApi_1 = __webpack_require__(
|
|
22104
|
-
var DeliveryCatalogApi_1 = __webpack_require__(
|
|
22105
|
-
var RouteOptimizationApi_1 = __webpack_require__(
|
|
22106
|
-
var RatesApi_1 = __webpack_require__(
|
|
22087
|
+
var CustomerAvailabilityHourApi_1 = __webpack_require__(447);
|
|
22088
|
+
var ShiftsApi_1 = __webpack_require__(449);
|
|
22089
|
+
var ExclusionWindowApi_1 = __webpack_require__(451);
|
|
22090
|
+
var Country_1 = __webpack_require__(453);
|
|
22091
|
+
var OauthApplicationApi_1 = __webpack_require__(454);
|
|
22092
|
+
var Inventory_1 = __webpack_require__(456);
|
|
22093
|
+
var PushNotificationRegistration_1 = __webpack_require__(458);
|
|
22094
|
+
var ReasonToCancelTasksApi_1 = __webpack_require__(460);
|
|
22095
|
+
var CustomFilterApi_1 = __webpack_require__(462);
|
|
22096
|
+
var FloatingInventoryApi_1 = __webpack_require__(464);
|
|
22097
|
+
var ServiceAreaApi_1 = __webpack_require__(467);
|
|
22098
|
+
var BillingApi_1 = __webpack_require__(469);
|
|
22099
|
+
var PackageApi_1 = __webpack_require__(471);
|
|
22100
|
+
var UserAnalyticsApi_1 = __webpack_require__(474);
|
|
22101
|
+
var AnalyticsReportsApi_1 = __webpack_require__(479);
|
|
22102
|
+
var ServicePlansApi_1 = __webpack_require__(481);
|
|
22103
|
+
var AlertsApi_1 = __webpack_require__(484);
|
|
22104
|
+
var DeliveryCatalogApi_1 = __webpack_require__(487);
|
|
22105
|
+
var RouteOptimizationApi_1 = __webpack_require__(489);
|
|
22106
|
+
var RatesApi_1 = __webpack_require__(490);
|
|
22107
22107
|
var BringgDashboardSDK = /** @class */ (function () {
|
|
22108
22108
|
function BringgDashboardSDK(session) {
|
|
22109
22109
|
this.applicationMerchantConfiguration = null;
|
|
@@ -30505,7 +30505,7 @@ var axios_1 = __webpack_require__(146);
|
|
|
30505
30505
|
var Logger_1 = __webpack_require__(39);
|
|
30506
30506
|
var lodash_1 = __webpack_require__(11);
|
|
30507
30507
|
var BringgException_1 = __webpack_require__(15);
|
|
30508
|
-
var version = '0.6.
|
|
30508
|
+
var version = '0.6.2';
|
|
30509
30509
|
function logErrorResponse(response) {
|
|
30510
30510
|
var data = response.data, status = response.status;
|
|
30511
30511
|
try {
|
|
@@ -36746,7 +36746,7 @@ var Logger_1 = __webpack_require__(39);
|
|
|
36746
36746
|
//export types
|
|
36747
36747
|
var BringgDashboardSDK_1 = __webpack_require__(61);
|
|
36748
36748
|
Object.defineProperty(exports, "BringgDashboardSDK", { enumerable: true, get: function () { return BringgDashboardSDK_1.BringgDashboardSDK; } });
|
|
36749
|
-
var VehicleTypeConsts = __webpack_require__(
|
|
36749
|
+
var VehicleTypeConsts = __webpack_require__(493);
|
|
36750
36750
|
exports.VehicleTypeConsts = VehicleTypeConsts;
|
|
36751
36751
|
var TaskInventoryConsts = __webpack_require__(136);
|
|
36752
36752
|
exports.TaskInventoryConsts = TaskInventoryConsts;
|
|
@@ -36754,7 +36754,7 @@ var RunConsts = __webpack_require__(73);
|
|
|
36754
36754
|
exports.RunConsts = RunConsts;
|
|
36755
36755
|
var ReasonToChangeInventory = __webpack_require__(135);
|
|
36756
36756
|
exports.ReasonToChangeInventory = ReasonToChangeInventory;
|
|
36757
|
-
var PlannedRoutesConsts = __webpack_require__(
|
|
36757
|
+
var PlannedRoutesConsts = __webpack_require__(494);
|
|
36758
36758
|
exports.PlannedRoutesConsts = PlannedRoutesConsts;
|
|
36759
36759
|
var NotificationTypesConsts = __webpack_require__(140);
|
|
36760
36760
|
exports.NotificationTypesConsts = NotificationTypesConsts;
|
|
@@ -36764,19 +36764,19 @@ var LanguageConsts = __webpack_require__(139);
|
|
|
36764
36764
|
exports.LanguageConsts = LanguageConsts;
|
|
36765
36765
|
var DashboardConsts = __webpack_require__(134);
|
|
36766
36766
|
exports.DashboardConsts = DashboardConsts;
|
|
36767
|
-
var CrewConsts = __webpack_require__(
|
|
36767
|
+
var CrewConsts = __webpack_require__(495);
|
|
36768
36768
|
exports.CrewConsts = CrewConsts;
|
|
36769
36769
|
var ChatMessageConsts = __webpack_require__(138);
|
|
36770
36770
|
exports.ChatMessageConsts = ChatMessageConsts;
|
|
36771
36771
|
var ChatConversationConsts = __webpack_require__(137);
|
|
36772
36772
|
exports.ChatConversationConsts = ChatConversationConsts;
|
|
36773
|
-
var Responses = __webpack_require__(
|
|
36773
|
+
var Responses = __webpack_require__(496);
|
|
36774
36774
|
exports.Responses = Responses;
|
|
36775
|
-
var TagConsts = __webpack_require__(
|
|
36775
|
+
var TagConsts = __webpack_require__(497);
|
|
36776
36776
|
exports.TagConsts = TagConsts;
|
|
36777
|
-
var DeliveryBlockConsts = __webpack_require__(
|
|
36777
|
+
var DeliveryBlockConsts = __webpack_require__(498);
|
|
36778
36778
|
exports.DeliveryBlockConsts = DeliveryBlockConsts;
|
|
36779
|
-
var ResourceUploadType_1 = __webpack_require__(
|
|
36779
|
+
var ResourceUploadType_1 = __webpack_require__(499);
|
|
36780
36780
|
exports.ResourceUploadType = ResourceUploadType_1.default;
|
|
36781
36781
|
var runs_consts_1 = __webpack_require__(73);
|
|
36782
36782
|
Object.defineProperty(exports, "RunStatus", { enumerable: true, get: function () { return runs_consts_1.RunStatus; } });
|
|
@@ -57734,31 +57734,38 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
57734
57734
|
};
|
|
57735
57735
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
57736
57736
|
var StoreEntity_1 = __webpack_require__(9);
|
|
57737
|
-
var uuid_1 = __webpack_require__(
|
|
57737
|
+
var uuid_1 = __webpack_require__(500);
|
|
57738
57738
|
var _ = __webpack_require__(11);
|
|
57739
|
+
var pDefer = __webpack_require__(446);
|
|
57739
57740
|
var entityName = 'application_action';
|
|
57740
57741
|
var ApplicationEntity = /** @class */ (function (_super) {
|
|
57741
57742
|
__extends(ApplicationEntity, _super);
|
|
57742
57743
|
function ApplicationEntity(session) {
|
|
57743
|
-
|
|
57744
|
+
var _this = _super.call(this, {
|
|
57744
57745
|
session: session,
|
|
57745
57746
|
entityName: entityName
|
|
57746
57747
|
}) || this;
|
|
57748
|
+
_this.inFlightActions = new Map();
|
|
57749
|
+
_this.realTime.on('application action process done', _this.handleApplicationActionResult);
|
|
57750
|
+
return _this;
|
|
57747
57751
|
}
|
|
57752
|
+
ApplicationEntity.prototype.generateActionUuid = function () {
|
|
57753
|
+
return uuid_1.v4();
|
|
57754
|
+
};
|
|
57748
57755
|
ApplicationEntity.prototype.executeAction = function (actionName, data, options) {
|
|
57749
57756
|
if (options === void 0) { options = {}; }
|
|
57750
57757
|
return __awaiter(this, void 0, void 0, function () {
|
|
57751
|
-
var actionUuid,
|
|
57758
|
+
var actionUuid, deferred;
|
|
57752
57759
|
return __generator(this, function (_a) {
|
|
57753
57760
|
switch (_a.label) {
|
|
57754
57761
|
case 0:
|
|
57755
|
-
actionUuid =
|
|
57756
|
-
eventType = "application action done [" + actionUuid + "]";
|
|
57762
|
+
actionUuid = this.generateActionUuid();
|
|
57757
57763
|
_.defaults(options, { timeout: 10000 });
|
|
57758
57764
|
_a.label = 1;
|
|
57759
57765
|
case 1:
|
|
57760
57766
|
_a.trys.push([1, , 4, 5]);
|
|
57761
|
-
|
|
57767
|
+
deferred = pDefer();
|
|
57768
|
+
this.inFlightActions.set(actionUuid, deferred);
|
|
57762
57769
|
return [4 /*yield*/, this.createApplicationAction({
|
|
57763
57770
|
action_name: actionName,
|
|
57764
57771
|
data: __assign(__assign({}, data), { deadline: Date.now() + options.timeout }),
|
|
@@ -57766,33 +57773,16 @@ var ApplicationEntity = /** @class */ (function (_super) {
|
|
|
57766
57773
|
})];
|
|
57767
57774
|
case 2:
|
|
57768
57775
|
_a.sent();
|
|
57769
|
-
return [4 /*yield*/, Promise.race([
|
|
57776
|
+
return [4 /*yield*/, Promise.race([deferred.promise, this.asyncTimeout(options.timeout)])];
|
|
57770
57777
|
case 3: return [2 /*return*/, _a.sent()];
|
|
57771
57778
|
case 4:
|
|
57772
|
-
this.
|
|
57779
|
+
this.inFlightActions.delete(actionUuid);
|
|
57773
57780
|
return [7 /*endfinally*/];
|
|
57774
57781
|
case 5: return [2 /*return*/];
|
|
57775
57782
|
}
|
|
57776
57783
|
});
|
|
57777
57784
|
});
|
|
57778
57785
|
};
|
|
57779
|
-
ApplicationEntity.prototype.waitForResultFromRealtime = function (eventName) {
|
|
57780
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
57781
|
-
var _this = this;
|
|
57782
|
-
return __generator(this, function (_a) {
|
|
57783
|
-
return [2 /*return*/, new Promise(function (resolve, reject) {
|
|
57784
|
-
_this.realTime.on(eventName, function (result) {
|
|
57785
|
-
if (result.success) {
|
|
57786
|
-
resolve(result.data);
|
|
57787
|
-
}
|
|
57788
|
-
else {
|
|
57789
|
-
reject(new Error(result.error));
|
|
57790
|
-
}
|
|
57791
|
-
});
|
|
57792
|
-
})];
|
|
57793
|
-
});
|
|
57794
|
-
});
|
|
57795
|
-
};
|
|
57796
57786
|
ApplicationEntity.prototype.createApplicationAction = function (data) {
|
|
57797
57787
|
return __awaiter(this, void 0, void 0, function () {
|
|
57798
57788
|
return __generator(this, function (_a) {
|
|
@@ -57810,6 +57800,18 @@ var ApplicationEntity = /** @class */ (function (_super) {
|
|
|
57810
57800
|
});
|
|
57811
57801
|
});
|
|
57812
57802
|
};
|
|
57803
|
+
ApplicationEntity.prototype.handleApplicationActionResult = function (result) {
|
|
57804
|
+
var defered = this.inFlightActions.get(result.uuid);
|
|
57805
|
+
if (_.isNil(defered)) {
|
|
57806
|
+
return;
|
|
57807
|
+
}
|
|
57808
|
+
if (result.success) {
|
|
57809
|
+
defered.resolve(result.data);
|
|
57810
|
+
}
|
|
57811
|
+
else {
|
|
57812
|
+
defered.reject(new Error(result.error));
|
|
57813
|
+
}
|
|
57814
|
+
};
|
|
57813
57815
|
ApplicationEntity.prototype.asyncTimeout = function (milliseconds) {
|
|
57814
57816
|
return __awaiter(this, void 0, void 0, function () {
|
|
57815
57817
|
return __generator(this, function (_a) {
|
|
@@ -57833,6 +57835,27 @@ exports.default = ApplicationEntity;
|
|
|
57833
57835
|
|
|
57834
57836
|
"use strict";
|
|
57835
57837
|
|
|
57838
|
+
|
|
57839
|
+
const pDefer = () => {
|
|
57840
|
+
const deferred = {};
|
|
57841
|
+
|
|
57842
|
+
deferred.promise = new Promise((resolve, reject) => {
|
|
57843
|
+
deferred.resolve = resolve;
|
|
57844
|
+
deferred.reject = reject;
|
|
57845
|
+
});
|
|
57846
|
+
|
|
57847
|
+
return deferred;
|
|
57848
|
+
};
|
|
57849
|
+
|
|
57850
|
+
module.exports = pDefer;
|
|
57851
|
+
|
|
57852
|
+
|
|
57853
|
+
/***/ }),
|
|
57854
|
+
/* 447 */
|
|
57855
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
57856
|
+
|
|
57857
|
+
"use strict";
|
|
57858
|
+
|
|
57836
57859
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
57837
57860
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
57838
57861
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -57870,7 +57893,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
57870
57893
|
}
|
|
57871
57894
|
};
|
|
57872
57895
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
57873
|
-
var CustomerAvailabilityHourEntity_1 = __webpack_require__(
|
|
57896
|
+
var CustomerAvailabilityHourEntity_1 = __webpack_require__(448);
|
|
57874
57897
|
var CustomerAvailabilityHourApi = /** @class */ (function () {
|
|
57875
57898
|
function CustomerAvailabilityHourApi(session) {
|
|
57876
57899
|
this.customerAvailabilityHourEntity = new CustomerAvailabilityHourEntity_1.default(session);
|
|
@@ -57888,7 +57911,7 @@ exports.default = CustomerAvailabilityHourApi;
|
|
|
57888
57911
|
//# sourceMappingURL=CustomerAvailabilityHourApi.js.map
|
|
57889
57912
|
|
|
57890
57913
|
/***/ }),
|
|
57891
|
-
/*
|
|
57914
|
+
/* 448 */
|
|
57892
57915
|
/***/ (function(module, exports, __webpack_require__) {
|
|
57893
57916
|
|
|
57894
57917
|
"use strict";
|
|
@@ -57999,13 +58022,13 @@ exports.default = CustomerAvailabilityHourEntity;
|
|
|
57999
58022
|
//# sourceMappingURL=CustomerAvailabilityHourEntity.js.map
|
|
58000
58023
|
|
|
58001
58024
|
/***/ }),
|
|
58002
|
-
/*
|
|
58025
|
+
/* 449 */
|
|
58003
58026
|
/***/ (function(module, exports, __webpack_require__) {
|
|
58004
58027
|
|
|
58005
58028
|
"use strict";
|
|
58006
58029
|
|
|
58007
58030
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
58008
|
-
var Shifts_1 = __webpack_require__(
|
|
58031
|
+
var Shifts_1 = __webpack_require__(450);
|
|
58009
58032
|
var ShiftsApi = /** @class */ (function () {
|
|
58010
58033
|
function ShiftsApi(session) {
|
|
58011
58034
|
this.shiftsEntity = new Shifts_1.default(session);
|
|
@@ -58031,7 +58054,7 @@ exports.default = ShiftsApi;
|
|
|
58031
58054
|
//# sourceMappingURL=ShiftsApi.js.map
|
|
58032
58055
|
|
|
58033
58056
|
/***/ }),
|
|
58034
|
-
/*
|
|
58057
|
+
/* 450 */
|
|
58035
58058
|
/***/ (function(module, exports, __webpack_require__) {
|
|
58036
58059
|
|
|
58037
58060
|
"use strict";
|
|
@@ -58157,7 +58180,7 @@ exports.default = ShiftsEntity;
|
|
|
58157
58180
|
//# sourceMappingURL=Shifts.js.map
|
|
58158
58181
|
|
|
58159
58182
|
/***/ }),
|
|
58160
|
-
/*
|
|
58183
|
+
/* 451 */
|
|
58161
58184
|
/***/ (function(module, exports, __webpack_require__) {
|
|
58162
58185
|
|
|
58163
58186
|
"use strict";
|
|
@@ -58199,7 +58222,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
58199
58222
|
}
|
|
58200
58223
|
};
|
|
58201
58224
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
58202
|
-
var ExclusionWindowEntity_1 = __webpack_require__(
|
|
58225
|
+
var ExclusionWindowEntity_1 = __webpack_require__(452);
|
|
58203
58226
|
var ExclusionWindowApi = /** @class */ (function () {
|
|
58204
58227
|
function ExclusionWindowApi(session) {
|
|
58205
58228
|
this.exclusionWindowEntity = new ExclusionWindowEntity_1.default(session);
|
|
@@ -58245,7 +58268,7 @@ exports.default = ExclusionWindowApi;
|
|
|
58245
58268
|
//# sourceMappingURL=ExclusionWindowApi.js.map
|
|
58246
58269
|
|
|
58247
58270
|
/***/ }),
|
|
58248
|
-
/*
|
|
58271
|
+
/* 452 */
|
|
58249
58272
|
/***/ (function(module, exports, __webpack_require__) {
|
|
58250
58273
|
|
|
58251
58274
|
"use strict";
|
|
@@ -58335,7 +58358,7 @@ exports.default = ExclusionWindowEntity;
|
|
|
58335
58358
|
//# sourceMappingURL=ExclusionWindowEntity.js.map
|
|
58336
58359
|
|
|
58337
58360
|
/***/ }),
|
|
58338
|
-
/*
|
|
58361
|
+
/* 453 */
|
|
58339
58362
|
/***/ (function(module, exports, __webpack_require__) {
|
|
58340
58363
|
|
|
58341
58364
|
"use strict";
|
|
@@ -58371,7 +58394,7 @@ exports.default = Country;
|
|
|
58371
58394
|
//# sourceMappingURL=Country.js.map
|
|
58372
58395
|
|
|
58373
58396
|
/***/ }),
|
|
58374
|
-
/*
|
|
58397
|
+
/* 454 */
|
|
58375
58398
|
/***/ (function(module, exports, __webpack_require__) {
|
|
58376
58399
|
|
|
58377
58400
|
"use strict";
|
|
@@ -58413,7 +58436,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
58413
58436
|
}
|
|
58414
58437
|
};
|
|
58415
58438
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
58416
|
-
var OauthApplicationEntity_1 = __webpack_require__(
|
|
58439
|
+
var OauthApplicationEntity_1 = __webpack_require__(455);
|
|
58417
58440
|
var OauthApplicationApi = /** @class */ (function () {
|
|
58418
58441
|
function OauthApplicationApi(session) {
|
|
58419
58442
|
this.entity = new OauthApplicationEntity_1.default(session);
|
|
@@ -58473,7 +58496,7 @@ exports.default = OauthApplicationApi;
|
|
|
58473
58496
|
//# sourceMappingURL=OauthApplicationApi.js.map
|
|
58474
58497
|
|
|
58475
58498
|
/***/ }),
|
|
58476
|
-
/*
|
|
58499
|
+
/* 455 */
|
|
58477
58500
|
/***/ (function(module, exports, __webpack_require__) {
|
|
58478
58501
|
|
|
58479
58502
|
"use strict";
|
|
@@ -58590,13 +58613,13 @@ exports.default = OauthApplicationEntity;
|
|
|
58590
58613
|
//# sourceMappingURL=OauthApplicationEntity.js.map
|
|
58591
58614
|
|
|
58592
58615
|
/***/ }),
|
|
58593
|
-
/*
|
|
58616
|
+
/* 456 */
|
|
58594
58617
|
/***/ (function(module, exports, __webpack_require__) {
|
|
58595
58618
|
|
|
58596
58619
|
"use strict";
|
|
58597
58620
|
|
|
58598
58621
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
58599
|
-
var InventoryEntity_1 = __webpack_require__(
|
|
58622
|
+
var InventoryEntity_1 = __webpack_require__(457);
|
|
58600
58623
|
var Inventory = /** @class */ (function () {
|
|
58601
58624
|
function Inventory(session) {
|
|
58602
58625
|
this.inventory = new InventoryEntity_1.default(session);
|
|
@@ -58619,7 +58642,7 @@ exports.default = Inventory;
|
|
|
58619
58642
|
//# sourceMappingURL=Inventory.js.map
|
|
58620
58643
|
|
|
58621
58644
|
/***/ }),
|
|
58622
|
-
/*
|
|
58645
|
+
/* 457 */
|
|
58623
58646
|
/***/ (function(module, exports, __webpack_require__) {
|
|
58624
58647
|
|
|
58625
58648
|
"use strict";
|
|
@@ -58656,7 +58679,7 @@ exports.default = InventoryEntity;
|
|
|
58656
58679
|
//# sourceMappingURL=InventoryEntity.js.map
|
|
58657
58680
|
|
|
58658
58681
|
/***/ }),
|
|
58659
|
-
/*
|
|
58682
|
+
/* 458 */
|
|
58660
58683
|
/***/ (function(module, exports, __webpack_require__) {
|
|
58661
58684
|
|
|
58662
58685
|
"use strict";
|
|
@@ -58698,7 +58721,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
58698
58721
|
}
|
|
58699
58722
|
};
|
|
58700
58723
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
58701
|
-
var PushNotificationRegistrationEntity_1 = __webpack_require__(
|
|
58724
|
+
var PushNotificationRegistrationEntity_1 = __webpack_require__(459);
|
|
58702
58725
|
var PushNotificationRegistration = /** @class */ (function () {
|
|
58703
58726
|
function PushNotificationRegistration(session) {
|
|
58704
58727
|
this.pushNotificationRegistrationEntity = new PushNotificationRegistrationEntity_1.default(session);
|
|
@@ -58723,7 +58746,7 @@ exports.default = PushNotificationRegistration;
|
|
|
58723
58746
|
//# sourceMappingURL=PushNotificationRegistration.js.map
|
|
58724
58747
|
|
|
58725
58748
|
/***/ }),
|
|
58726
|
-
/*
|
|
58749
|
+
/* 459 */
|
|
58727
58750
|
/***/ (function(module, exports, __webpack_require__) {
|
|
58728
58751
|
|
|
58729
58752
|
"use strict";
|
|
@@ -58756,7 +58779,7 @@ exports.default = PushNotificationRegistrationEntity;
|
|
|
58756
58779
|
//# sourceMappingURL=PushNotificationRegistrationEntity.js.map
|
|
58757
58780
|
|
|
58758
58781
|
/***/ }),
|
|
58759
|
-
/*
|
|
58782
|
+
/* 460 */
|
|
58760
58783
|
/***/ (function(module, exports, __webpack_require__) {
|
|
58761
58784
|
|
|
58762
58785
|
"use strict";
|
|
@@ -58798,7 +58821,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
58798
58821
|
}
|
|
58799
58822
|
};
|
|
58800
58823
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
58801
|
-
var ReasonToCancelTasksEntity_1 = __webpack_require__(
|
|
58824
|
+
var ReasonToCancelTasksEntity_1 = __webpack_require__(461);
|
|
58802
58825
|
var ReasonToCancelTasks = /** @class */ (function () {
|
|
58803
58826
|
function ReasonToCancelTasks(session) {
|
|
58804
58827
|
this.reasonToCancelTasksEntity = new ReasonToCancelTasksEntity_1.default(session);
|
|
@@ -58819,7 +58842,7 @@ exports.default = ReasonToCancelTasks;
|
|
|
58819
58842
|
//# sourceMappingURL=ReasonToCancelTasksApi.js.map
|
|
58820
58843
|
|
|
58821
58844
|
/***/ }),
|
|
58822
|
-
/*
|
|
58845
|
+
/* 461 */
|
|
58823
58846
|
/***/ (function(module, exports, __webpack_require__) {
|
|
58824
58847
|
|
|
58825
58848
|
"use strict";
|
|
@@ -58867,7 +58890,7 @@ exports.default = ReasonToCancelTasksEntity;
|
|
|
58867
58890
|
//# sourceMappingURL=ReasonToCancelTasksEntity.js.map
|
|
58868
58891
|
|
|
58869
58892
|
/***/ }),
|
|
58870
|
-
/*
|
|
58893
|
+
/* 462 */
|
|
58871
58894
|
/***/ (function(module, exports, __webpack_require__) {
|
|
58872
58895
|
|
|
58873
58896
|
"use strict";
|
|
@@ -58909,7 +58932,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
58909
58932
|
}
|
|
58910
58933
|
};
|
|
58911
58934
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
58912
|
-
var CustomFilterEntity_1 = __webpack_require__(
|
|
58935
|
+
var CustomFilterEntity_1 = __webpack_require__(463);
|
|
58913
58936
|
var CustomFilterApi = /** @class */ (function () {
|
|
58914
58937
|
function CustomFilterApi(session) {
|
|
58915
58938
|
this.customFilterEntity = new CustomFilterEntity_1.default(session);
|
|
@@ -58948,7 +58971,7 @@ exports.default = CustomFilterApi;
|
|
|
58948
58971
|
//# sourceMappingURL=CustomFilterApi.js.map
|
|
58949
58972
|
|
|
58950
58973
|
/***/ }),
|
|
58951
|
-
/*
|
|
58974
|
+
/* 463 */
|
|
58952
58975
|
/***/ (function(module, exports, __webpack_require__) {
|
|
58953
58976
|
|
|
58954
58977
|
"use strict";
|
|
@@ -58986,13 +59009,13 @@ exports.default = CustomFilterEntity;
|
|
|
58986
59009
|
//# sourceMappingURL=CustomFilterEntity.js.map
|
|
58987
59010
|
|
|
58988
59011
|
/***/ }),
|
|
58989
|
-
/*
|
|
59012
|
+
/* 464 */
|
|
58990
59013
|
/***/ (function(module, exports, __webpack_require__) {
|
|
58991
59014
|
|
|
58992
59015
|
"use strict";
|
|
58993
59016
|
|
|
58994
59017
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
58995
|
-
var FloatingInventoryEntity_1 = __webpack_require__(
|
|
59018
|
+
var FloatingInventoryEntity_1 = __webpack_require__(465);
|
|
58996
59019
|
var FloatingInventory = /** @class */ (function () {
|
|
58997
59020
|
function FloatingInventory(session) {
|
|
58998
59021
|
this.floatingInventory = new FloatingInventoryEntity_1.default(session);
|
|
@@ -59006,7 +59029,7 @@ exports.default = FloatingInventory;
|
|
|
59006
59029
|
//# sourceMappingURL=FloatingInventoryApi.js.map
|
|
59007
59030
|
|
|
59008
59031
|
/***/ }),
|
|
59009
|
-
/*
|
|
59032
|
+
/* 465 */
|
|
59010
59033
|
/***/ (function(module, exports, __webpack_require__) {
|
|
59011
59034
|
|
|
59012
59035
|
"use strict";
|
|
@@ -59028,7 +59051,7 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
59028
59051
|
})();
|
|
59029
59052
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
59030
59053
|
var Entity_1 = __webpack_require__(5);
|
|
59031
|
-
var FloatingInventory_consts_1 = __webpack_require__(
|
|
59054
|
+
var FloatingInventory_consts_1 = __webpack_require__(466);
|
|
59032
59055
|
var BASE_ROUTE = 'floating_inventories';
|
|
59033
59056
|
var USERS_WITH_AVAILABLE_FLOATING_INVENTORY = "/" + BASE_ROUTE + "/users_with_available_floating_inventory";
|
|
59034
59057
|
var FloatingInventoryEntity = /** @class */ (function (_super) {
|
|
@@ -59053,7 +59076,7 @@ exports.default = FloatingInventoryEntity;
|
|
|
59053
59076
|
//# sourceMappingURL=FloatingInventoryEntity.js.map
|
|
59054
59077
|
|
|
59055
59078
|
/***/ }),
|
|
59056
|
-
/*
|
|
59079
|
+
/* 466 */
|
|
59057
59080
|
/***/ (function(module, exports, __webpack_require__) {
|
|
59058
59081
|
|
|
59059
59082
|
"use strict";
|
|
@@ -59065,13 +59088,13 @@ exports.userIdsExtractor = userIdsExtractor;
|
|
|
59065
59088
|
//# sourceMappingURL=FloatingInventory.consts.js.map
|
|
59066
59089
|
|
|
59067
59090
|
/***/ }),
|
|
59068
|
-
/*
|
|
59091
|
+
/* 467 */
|
|
59069
59092
|
/***/ (function(module, exports, __webpack_require__) {
|
|
59070
59093
|
|
|
59071
59094
|
"use strict";
|
|
59072
59095
|
|
|
59073
59096
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
59074
|
-
var ServiceAreaEntity_1 = __webpack_require__(
|
|
59097
|
+
var ServiceAreaEntity_1 = __webpack_require__(468);
|
|
59075
59098
|
var ServiceAreaApi = /** @class */ (function () {
|
|
59076
59099
|
function ServiceAreaApi(session) {
|
|
59077
59100
|
this.serviceAreaEntity = new ServiceAreaEntity_1.default(session);
|
|
@@ -59100,7 +59123,7 @@ exports.default = ServiceAreaApi;
|
|
|
59100
59123
|
//# sourceMappingURL=ServiceAreaApi.js.map
|
|
59101
59124
|
|
|
59102
59125
|
/***/ }),
|
|
59103
|
-
/*
|
|
59126
|
+
/* 468 */
|
|
59104
59127
|
/***/ (function(module, exports, __webpack_require__) {
|
|
59105
59128
|
|
|
59106
59129
|
"use strict";
|
|
@@ -59150,13 +59173,13 @@ exports.default = ServiceAreaEntity;
|
|
|
59150
59173
|
//# sourceMappingURL=ServiceAreaEntity.js.map
|
|
59151
59174
|
|
|
59152
59175
|
/***/ }),
|
|
59153
|
-
/*
|
|
59176
|
+
/* 469 */
|
|
59154
59177
|
/***/ (function(module, exports, __webpack_require__) {
|
|
59155
59178
|
|
|
59156
59179
|
"use strict";
|
|
59157
59180
|
|
|
59158
59181
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
59159
|
-
var BillingEntity_1 = __webpack_require__(
|
|
59182
|
+
var BillingEntity_1 = __webpack_require__(470);
|
|
59160
59183
|
var BillingApi = /** @class */ (function () {
|
|
59161
59184
|
function BillingApi(session) {
|
|
59162
59185
|
this.billingEntity = new BillingEntity_1.default(session);
|
|
@@ -59209,7 +59232,7 @@ exports.default = BillingApi;
|
|
|
59209
59232
|
//# sourceMappingURL=BillingApi.js.map
|
|
59210
59233
|
|
|
59211
59234
|
/***/ }),
|
|
59212
|
-
/*
|
|
59235
|
+
/* 470 */
|
|
59213
59236
|
/***/ (function(module, exports, __webpack_require__) {
|
|
59214
59237
|
|
|
59215
59238
|
"use strict";
|
|
@@ -59447,13 +59470,13 @@ exports.default = BillingEntity;
|
|
|
59447
59470
|
//# sourceMappingURL=BillingEntity.js.map
|
|
59448
59471
|
|
|
59449
59472
|
/***/ }),
|
|
59450
|
-
/*
|
|
59473
|
+
/* 471 */
|
|
59451
59474
|
/***/ (function(module, exports, __webpack_require__) {
|
|
59452
59475
|
|
|
59453
59476
|
"use strict";
|
|
59454
59477
|
|
|
59455
59478
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
59456
|
-
var PackageEntity_1 = __webpack_require__(
|
|
59479
|
+
var PackageEntity_1 = __webpack_require__(472);
|
|
59457
59480
|
var PackageApi = /** @class */ (function () {
|
|
59458
59481
|
function PackageApi(session) {
|
|
59459
59482
|
this.packageEntity = new PackageEntity_1.default(session);
|
|
@@ -59482,7 +59505,7 @@ exports.default = PackageApi;
|
|
|
59482
59505
|
//# sourceMappingURL=PackageApi.js.map
|
|
59483
59506
|
|
|
59484
59507
|
/***/ }),
|
|
59485
|
-
/*
|
|
59508
|
+
/* 472 */
|
|
59486
59509
|
/***/ (function(module, exports, __webpack_require__) {
|
|
59487
59510
|
|
|
59488
59511
|
"use strict";
|
|
@@ -59540,7 +59563,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
59540
59563
|
};
|
|
59541
59564
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
59542
59565
|
var Entity_1 = __webpack_require__(5);
|
|
59543
|
-
var Package_consts_1 = __webpack_require__(
|
|
59566
|
+
var Package_consts_1 = __webpack_require__(473);
|
|
59544
59567
|
var PackageEntity = /** @class */ (function (_super) {
|
|
59545
59568
|
__extends(PackageEntity, _super);
|
|
59546
59569
|
function PackageEntity(session) {
|
|
@@ -59639,7 +59662,7 @@ exports.default = PackageEntity;
|
|
|
59639
59662
|
//# sourceMappingURL=PackageEntity.js.map
|
|
59640
59663
|
|
|
59641
59664
|
/***/ }),
|
|
59642
|
-
/*
|
|
59665
|
+
/* 473 */
|
|
59643
59666
|
/***/ (function(module, exports, __webpack_require__) {
|
|
59644
59667
|
|
|
59645
59668
|
"use strict";
|
|
@@ -59655,7 +59678,7 @@ exports.Routes = {
|
|
|
59655
59678
|
//# sourceMappingURL=Package.consts.js.map
|
|
59656
59679
|
|
|
59657
59680
|
/***/ }),
|
|
59658
|
-
/*
|
|
59681
|
+
/* 474 */
|
|
59659
59682
|
/***/ (function(module, exports, __webpack_require__) {
|
|
59660
59683
|
|
|
59661
59684
|
"use strict";
|
|
@@ -59697,8 +59720,8 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
59697
59720
|
}
|
|
59698
59721
|
};
|
|
59699
59722
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
59700
|
-
var user_analytics_1 = __webpack_require__(
|
|
59701
|
-
var types_1 = __webpack_require__(
|
|
59723
|
+
var user_analytics_1 = __webpack_require__(475);
|
|
59724
|
+
var types_1 = __webpack_require__(478);
|
|
59702
59725
|
var UserAnalyticsApi = /** @class */ (function () {
|
|
59703
59726
|
function UserAnalyticsApi(session) {
|
|
59704
59727
|
this.session = session;
|
|
@@ -59754,13 +59777,13 @@ exports.default = UserAnalyticsApi;
|
|
|
59754
59777
|
//# sourceMappingURL=UserAnalyticsApi.js.map
|
|
59755
59778
|
|
|
59756
59779
|
/***/ }),
|
|
59757
|
-
/*
|
|
59780
|
+
/* 475 */
|
|
59758
59781
|
/***/ (function(module, exports, __webpack_require__) {
|
|
59759
59782
|
|
|
59760
59783
|
"use strict";
|
|
59761
59784
|
|
|
59762
59785
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
59763
|
-
const pendo_1 = __webpack_require__(
|
|
59786
|
+
const pendo_1 = __webpack_require__(476);
|
|
59764
59787
|
class AnalyticsApi {
|
|
59765
59788
|
constructor() {
|
|
59766
59789
|
this.provider = new pendo_1.PendoProvider();
|
|
@@ -59780,14 +59803,14 @@ exports.default = AnalyticsApi;
|
|
|
59780
59803
|
//# sourceMappingURL=index.js.map
|
|
59781
59804
|
|
|
59782
59805
|
/***/ }),
|
|
59783
|
-
/*
|
|
59806
|
+
/* 476 */
|
|
59784
59807
|
/***/ (function(module, exports, __webpack_require__) {
|
|
59785
59808
|
|
|
59786
59809
|
"use strict";
|
|
59787
59810
|
|
|
59788
59811
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
59789
59812
|
exports.PendoProvider = void 0;
|
|
59790
|
-
const pendoSnippet_1 = __webpack_require__(
|
|
59813
|
+
const pendoSnippet_1 = __webpack_require__(477);
|
|
59791
59814
|
class PendoProvider {
|
|
59792
59815
|
async addSnippet({ apiKey }) {
|
|
59793
59816
|
(0, pendoSnippet_1.addSnippet)(apiKey);
|
|
@@ -59809,7 +59832,7 @@ exports.PendoProvider = PendoProvider;
|
|
|
59809
59832
|
//# sourceMappingURL=pendo.js.map
|
|
59810
59833
|
|
|
59811
59834
|
/***/ }),
|
|
59812
|
-
/*
|
|
59835
|
+
/* 477 */
|
|
59813
59836
|
/***/ (function(module, exports, __webpack_require__) {
|
|
59814
59837
|
|
|
59815
59838
|
"use strict";
|
|
@@ -59838,7 +59861,7 @@ exports.addSnippet = addSnippet;
|
|
|
59838
59861
|
//# sourceMappingURL=pendoSnippet.js.map
|
|
59839
59862
|
|
|
59840
59863
|
/***/ }),
|
|
59841
|
-
/*
|
|
59864
|
+
/* 478 */
|
|
59842
59865
|
/***/ (function(module, exports, __webpack_require__) {
|
|
59843
59866
|
|
|
59844
59867
|
"use strict";
|
|
@@ -59854,7 +59877,7 @@ var Role;
|
|
|
59854
59877
|
//# sourceMappingURL=types.js.map
|
|
59855
59878
|
|
|
59856
59879
|
/***/ }),
|
|
59857
|
-
/*
|
|
59880
|
+
/* 479 */
|
|
59858
59881
|
/***/ (function(module, exports, __webpack_require__) {
|
|
59859
59882
|
|
|
59860
59883
|
"use strict";
|
|
@@ -59896,7 +59919,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
59896
59919
|
}
|
|
59897
59920
|
};
|
|
59898
59921
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
59899
|
-
var AnalyticsReportsEntity_1 = __webpack_require__(
|
|
59922
|
+
var AnalyticsReportsEntity_1 = __webpack_require__(480);
|
|
59900
59923
|
var AnalyticsReportsApi = /** @class */ (function () {
|
|
59901
59924
|
function AnalyticsReportsApi(session) {
|
|
59902
59925
|
this.analyticsReportsEntity = new AnalyticsReportsEntity_1.default(session);
|
|
@@ -59966,13 +59989,28 @@ var AnalyticsReportsApi = /** @class */ (function () {
|
|
|
59966
59989
|
AnalyticsReportsApi.prototype.getReportRowsCount = function (queryJson) {
|
|
59967
59990
|
return this.analyticsReportsEntity.getReportRowsCount(queryJson);
|
|
59968
59991
|
};
|
|
59992
|
+
AnalyticsReportsApi.prototype.shareReport = function (reportId, reportShareDto) {
|
|
59993
|
+
return this.analyticsReportsEntity.shareReport(reportId, reportShareDto);
|
|
59994
|
+
};
|
|
59995
|
+
AnalyticsReportsApi.prototype.updateReportShares = function (reportId, reportShareId, updateDto) {
|
|
59996
|
+
return this.analyticsReportsEntity.updateReportShares(reportId, reportShareId, updateDto);
|
|
59997
|
+
};
|
|
59998
|
+
AnalyticsReportsApi.prototype.deleteReportShares = function (reportId, reportShareId) {
|
|
59999
|
+
return this.analyticsReportsEntity.deleteReportShares(reportId, reportShareId);
|
|
60000
|
+
};
|
|
60001
|
+
AnalyticsReportsApi.prototype.deleteAllReportShares = function (reportId) {
|
|
60002
|
+
return this.analyticsReportsEntity.deleteAllReportShares(reportId);
|
|
60003
|
+
};
|
|
60004
|
+
AnalyticsReportsApi.prototype.optOutReport = function (reportId) {
|
|
60005
|
+
return this.analyticsReportsEntity.optOutReport(reportId);
|
|
60006
|
+
};
|
|
59969
60007
|
return AnalyticsReportsApi;
|
|
59970
60008
|
}());
|
|
59971
60009
|
exports.default = AnalyticsReportsApi;
|
|
59972
60010
|
//# sourceMappingURL=AnalyticsReportsApi.js.map
|
|
59973
60011
|
|
|
59974
60012
|
/***/ }),
|
|
59975
|
-
/*
|
|
60013
|
+
/* 480 */
|
|
59976
60014
|
/***/ (function(module, exports, __webpack_require__) {
|
|
59977
60015
|
|
|
59978
60016
|
"use strict";
|
|
@@ -60057,7 +60095,12 @@ var Routes = {
|
|
|
60057
60095
|
GET_ACTIVE_REPORT_EXECUTIONS: createRoute('/report-executions/active'),
|
|
60058
60096
|
RETRY_EXECUTION_REPORT: createRoute('/report-executions/{:executionId}/retry'),
|
|
60059
60097
|
REMOVE_EXECUTION_REPORT: createRoute('/report-executions/{:executionId}'),
|
|
60060
|
-
GET_REPORT_ROWS_COUNT: createRoute('/report-query/rows-count')
|
|
60098
|
+
GET_REPORT_ROWS_COUNT: createRoute('/report-query/rows-count'),
|
|
60099
|
+
SHARE_REPORT: createRoute('/reports/{:reportId}/shares'),
|
|
60100
|
+
UPDATE_REPORT_SHARES: createRoute('/reports/{:reportId}/shares/{:reportShareId}'),
|
|
60101
|
+
DELETE_REPORT_SHARES: createRoute('/reports/{:reportId}/shares/{:reportShareId}'),
|
|
60102
|
+
DELETE_ALL_REPORT_SHARES: createRoute('/reports/{:reportId}/shares'),
|
|
60103
|
+
OPT_OUT_SHARES: createRoute('/reports/{:reportId}/opt-out')
|
|
60061
60104
|
};
|
|
60062
60105
|
var AnalyticsReportsEntity = /** @class */ (function (_super) {
|
|
60063
60106
|
__extends(AnalyticsReportsEntity, _super);
|
|
@@ -60265,19 +60308,83 @@ var AnalyticsReportsEntity = /** @class */ (function (_super) {
|
|
|
60265
60308
|
});
|
|
60266
60309
|
});
|
|
60267
60310
|
};
|
|
60311
|
+
AnalyticsReportsEntity.prototype.shareReport = function (reportId, payload) {
|
|
60312
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
60313
|
+
return __generator(this, function (_a) {
|
|
60314
|
+
switch (_a.label) {
|
|
60315
|
+
case 0: return [4 /*yield*/, this.service.routeGenerator
|
|
60316
|
+
.post(Routes.SHARE_REPORT)
|
|
60317
|
+
.withRouteParams({ reportId: reportId })
|
|
60318
|
+
.withPayload(payload)
|
|
60319
|
+
.invoke()];
|
|
60320
|
+
case 1: return [2 /*return*/, _a.sent()];
|
|
60321
|
+
}
|
|
60322
|
+
});
|
|
60323
|
+
});
|
|
60324
|
+
};
|
|
60325
|
+
AnalyticsReportsEntity.prototype.updateReportShares = function (reportId, reportShareId, payload) {
|
|
60326
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
60327
|
+
return __generator(this, function (_a) {
|
|
60328
|
+
switch (_a.label) {
|
|
60329
|
+
case 0: return [4 /*yield*/, this.service.routeGenerator
|
|
60330
|
+
.put(Routes.UPDATE_REPORT_SHARES)
|
|
60331
|
+
.withRouteParams({ reportId: reportId, reportShareId: reportShareId })
|
|
60332
|
+
.withPayload(payload)
|
|
60333
|
+
.invoke()];
|
|
60334
|
+
case 1: return [2 /*return*/, _a.sent()];
|
|
60335
|
+
}
|
|
60336
|
+
});
|
|
60337
|
+
});
|
|
60338
|
+
};
|
|
60339
|
+
AnalyticsReportsEntity.prototype.deleteReportShares = function (reportId, reportShareId) {
|
|
60340
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
60341
|
+
return __generator(this, function (_a) {
|
|
60342
|
+
switch (_a.label) {
|
|
60343
|
+
case 0: return [4 /*yield*/, this.service.routeGenerator
|
|
60344
|
+
.delete(Routes.DELETE_REPORT_SHARES)
|
|
60345
|
+
.withRouteParams({ reportId: reportId, reportShareId: reportShareId })
|
|
60346
|
+
.invoke()];
|
|
60347
|
+
case 1: return [2 /*return*/, _a.sent()];
|
|
60348
|
+
}
|
|
60349
|
+
});
|
|
60350
|
+
});
|
|
60351
|
+
};
|
|
60352
|
+
AnalyticsReportsEntity.prototype.deleteAllReportShares = function (reportId) {
|
|
60353
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
60354
|
+
return __generator(this, function (_a) {
|
|
60355
|
+
switch (_a.label) {
|
|
60356
|
+
case 0: return [4 /*yield*/, this.service.routeGenerator
|
|
60357
|
+
.delete(Routes.DELETE_ALL_REPORT_SHARES)
|
|
60358
|
+
.withRouteParams({ reportId: reportId })
|
|
60359
|
+
.invoke()];
|
|
60360
|
+
case 1: return [2 /*return*/, _a.sent()];
|
|
60361
|
+
}
|
|
60362
|
+
});
|
|
60363
|
+
});
|
|
60364
|
+
};
|
|
60365
|
+
AnalyticsReportsEntity.prototype.optOutReport = function (reportId) {
|
|
60366
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
60367
|
+
return __generator(this, function (_a) {
|
|
60368
|
+
switch (_a.label) {
|
|
60369
|
+
case 0: return [4 /*yield*/, this.service.routeGenerator.delete(Routes.OPT_OUT_SHARES).withRouteParams({ reportId: reportId }).invoke()];
|
|
60370
|
+
case 1: return [2 /*return*/, _a.sent()];
|
|
60371
|
+
}
|
|
60372
|
+
});
|
|
60373
|
+
});
|
|
60374
|
+
};
|
|
60268
60375
|
return AnalyticsReportsEntity;
|
|
60269
60376
|
}(Entity_1.default));
|
|
60270
60377
|
exports.default = AnalyticsReportsEntity;
|
|
60271
60378
|
//# sourceMappingURL=AnalyticsReportsEntity.js.map
|
|
60272
60379
|
|
|
60273
60380
|
/***/ }),
|
|
60274
|
-
/*
|
|
60381
|
+
/* 481 */
|
|
60275
60382
|
/***/ (function(module, exports, __webpack_require__) {
|
|
60276
60383
|
|
|
60277
60384
|
"use strict";
|
|
60278
60385
|
|
|
60279
60386
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
60280
|
-
var ServicePlansEntity_1 = __webpack_require__(
|
|
60387
|
+
var ServicePlansEntity_1 = __webpack_require__(482);
|
|
60281
60388
|
var ServicePlansApi = /** @class */ (function () {
|
|
60282
60389
|
function ServicePlansApi(session) {
|
|
60283
60390
|
this.servicePlansEntity = new ServicePlansEntity_1.default(session);
|
|
@@ -60294,7 +60401,7 @@ exports.default = ServicePlansApi;
|
|
|
60294
60401
|
//# sourceMappingURL=ServicePlansApi.js.map
|
|
60295
60402
|
|
|
60296
60403
|
/***/ }),
|
|
60297
|
-
/*
|
|
60404
|
+
/* 482 */
|
|
60298
60405
|
/***/ (function(module, exports, __webpack_require__) {
|
|
60299
60406
|
|
|
60300
60407
|
"use strict";
|
|
@@ -60353,7 +60460,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
60353
60460
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
60354
60461
|
var Entity_1 = __webpack_require__(5);
|
|
60355
60462
|
var StoreEntity_1 = __webpack_require__(9);
|
|
60356
|
-
var ServicePlans_consts_1 = __webpack_require__(
|
|
60463
|
+
var ServicePlans_consts_1 = __webpack_require__(483);
|
|
60357
60464
|
var ServicePlanSEntity = /** @class */ (function (_super) {
|
|
60358
60465
|
__extends(ServicePlanSEntity, _super);
|
|
60359
60466
|
function ServicePlanSEntity(session) {
|
|
@@ -60383,7 +60490,7 @@ exports.default = ServicePlanSEntity;
|
|
|
60383
60490
|
//# sourceMappingURL=ServicePlansEntity.js.map
|
|
60384
60491
|
|
|
60385
60492
|
/***/ }),
|
|
60386
|
-
/*
|
|
60493
|
+
/* 483 */
|
|
60387
60494
|
/***/ (function(module, exports, __webpack_require__) {
|
|
60388
60495
|
|
|
60389
60496
|
"use strict";
|
|
@@ -60397,13 +60504,13 @@ exports.planningResponseExtractor = planningResponseExtractor;
|
|
|
60397
60504
|
//# sourceMappingURL=ServicePlans.consts.js.map
|
|
60398
60505
|
|
|
60399
60506
|
/***/ }),
|
|
60400
|
-
/*
|
|
60507
|
+
/* 484 */
|
|
60401
60508
|
/***/ (function(module, exports, __webpack_require__) {
|
|
60402
60509
|
|
|
60403
60510
|
"use strict";
|
|
60404
60511
|
|
|
60405
60512
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
60406
|
-
var AlertsEntity_1 = __webpack_require__(
|
|
60513
|
+
var AlertsEntity_1 = __webpack_require__(485);
|
|
60407
60514
|
var AlertsApi = /** @class */ (function () {
|
|
60408
60515
|
function AlertsApi(session) {
|
|
60409
60516
|
this.alertsEntity = new AlertsEntity_1.default(session);
|
|
@@ -60438,7 +60545,7 @@ exports.default = AlertsApi;
|
|
|
60438
60545
|
//# sourceMappingURL=AlertsApi.js.map
|
|
60439
60546
|
|
|
60440
60547
|
/***/ }),
|
|
60441
|
-
/*
|
|
60548
|
+
/* 485 */
|
|
60442
60549
|
/***/ (function(module, exports, __webpack_require__) {
|
|
60443
60550
|
|
|
60444
60551
|
"use strict";
|
|
@@ -60496,7 +60603,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
60496
60603
|
};
|
|
60497
60604
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
60498
60605
|
var StoreEntity_1 = __webpack_require__(9);
|
|
60499
|
-
var Alerts_consts_1 = __webpack_require__(
|
|
60606
|
+
var Alerts_consts_1 = __webpack_require__(486);
|
|
60500
60607
|
// Some adjustments to StoreEntity logic is required if proxying through store is required
|
|
60501
60608
|
var AlertsEntity = /** @class */ (function (_super) {
|
|
60502
60609
|
__extends(AlertsEntity, _super);
|
|
@@ -60595,7 +60702,7 @@ exports.default = AlertsEntity;
|
|
|
60595
60702
|
//# sourceMappingURL=AlertsEntity.js.map
|
|
60596
60703
|
|
|
60597
60704
|
/***/ }),
|
|
60598
|
-
/*
|
|
60705
|
+
/* 486 */
|
|
60599
60706
|
/***/ (function(module, exports, __webpack_require__) {
|
|
60600
60707
|
|
|
60601
60708
|
"use strict";
|
|
@@ -60623,7 +60730,7 @@ exports.Routes = {
|
|
|
60623
60730
|
//# sourceMappingURL=Alerts.consts.js.map
|
|
60624
60731
|
|
|
60625
60732
|
/***/ }),
|
|
60626
|
-
/*
|
|
60733
|
+
/* 487 */
|
|
60627
60734
|
/***/ (function(module, exports, __webpack_require__) {
|
|
60628
60735
|
|
|
60629
60736
|
"use strict";
|
|
@@ -60665,7 +60772,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
60665
60772
|
}
|
|
60666
60773
|
};
|
|
60667
60774
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
60668
|
-
var DeliveryCatalogEntity_1 = __webpack_require__(
|
|
60775
|
+
var DeliveryCatalogEntity_1 = __webpack_require__(488);
|
|
60669
60776
|
var DeliveryCatalogApi = /** @class */ (function () {
|
|
60670
60777
|
function DeliveryCatalogApi(session) {
|
|
60671
60778
|
this.deliveryCatalogEntity = new DeliveryCatalogEntity_1.default(session);
|
|
@@ -60806,7 +60913,7 @@ exports.default = DeliveryCatalogApi;
|
|
|
60806
60913
|
//# sourceMappingURL=DeliveryCatalogApi.js.map
|
|
60807
60914
|
|
|
60808
60915
|
/***/ }),
|
|
60809
|
-
/*
|
|
60916
|
+
/* 488 */
|
|
60810
60917
|
/***/ (function(module, exports, __webpack_require__) {
|
|
60811
60918
|
|
|
60812
60919
|
"use strict";
|
|
@@ -61031,7 +61138,7 @@ exports.default = DeliveryCatalogEntity;
|
|
|
61031
61138
|
//# sourceMappingURL=DeliveryCatalogEntity.js.map
|
|
61032
61139
|
|
|
61033
61140
|
/***/ }),
|
|
61034
|
-
/*
|
|
61141
|
+
/* 489 */
|
|
61035
61142
|
/***/ (function(module, exports, __webpack_require__) {
|
|
61036
61143
|
|
|
61037
61144
|
"use strict";
|
|
@@ -61072,13 +61179,13 @@ exports.default = RouteOptimizationApi;
|
|
|
61072
61179
|
//# sourceMappingURL=RouteOptimizationApi.js.map
|
|
61073
61180
|
|
|
61074
61181
|
/***/ }),
|
|
61075
|
-
/*
|
|
61182
|
+
/* 490 */
|
|
61076
61183
|
/***/ (function(module, exports, __webpack_require__) {
|
|
61077
61184
|
|
|
61078
61185
|
"use strict";
|
|
61079
61186
|
|
|
61080
61187
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
61081
|
-
var RatesEntity_1 = __webpack_require__(
|
|
61188
|
+
var RatesEntity_1 = __webpack_require__(491);
|
|
61082
61189
|
var RatesApi = /** @class */ (function () {
|
|
61083
61190
|
function RatesApi(session) {
|
|
61084
61191
|
this.ratesEntity = new RatesEntity_1.default(session);
|
|
@@ -61095,7 +61202,7 @@ exports.default = RatesApi;
|
|
|
61095
61202
|
//# sourceMappingURL=RatesApi.js.map
|
|
61096
61203
|
|
|
61097
61204
|
/***/ }),
|
|
61098
|
-
/*
|
|
61205
|
+
/* 491 */
|
|
61099
61206
|
/***/ (function(module, exports, __webpack_require__) {
|
|
61100
61207
|
|
|
61101
61208
|
"use strict";
|
|
@@ -61153,7 +61260,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
61153
61260
|
};
|
|
61154
61261
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
61155
61262
|
var Entity_1 = __webpack_require__(5);
|
|
61156
|
-
var Rates_consts_1 = __webpack_require__(
|
|
61263
|
+
var Rates_consts_1 = __webpack_require__(492);
|
|
61157
61264
|
// Yet no internal rates related store and socket events
|
|
61158
61265
|
// enough to extend Entity instead of StoreEntity
|
|
61159
61266
|
var RatesEntity = /** @class */ (function (_super) {
|
|
@@ -61198,7 +61305,7 @@ exports.default = RatesEntity;
|
|
|
61198
61305
|
//# sourceMappingURL=RatesEntity.js.map
|
|
61199
61306
|
|
|
61200
61307
|
/***/ }),
|
|
61201
|
-
/*
|
|
61308
|
+
/* 492 */
|
|
61202
61309
|
/***/ (function(module, exports, __webpack_require__) {
|
|
61203
61310
|
|
|
61204
61311
|
"use strict";
|
|
@@ -61212,7 +61319,7 @@ exports.Routes = {
|
|
|
61212
61319
|
//# sourceMappingURL=Rates.consts.js.map
|
|
61213
61320
|
|
|
61214
61321
|
/***/ }),
|
|
61215
|
-
/*
|
|
61322
|
+
/* 493 */
|
|
61216
61323
|
/***/ (function(module, exports, __webpack_require__) {
|
|
61217
61324
|
|
|
61218
61325
|
"use strict";
|
|
@@ -61221,7 +61328,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
61221
61328
|
//# sourceMappingURL=VehicleType.consts.js.map
|
|
61222
61329
|
|
|
61223
61330
|
/***/ }),
|
|
61224
|
-
/*
|
|
61331
|
+
/* 494 */
|
|
61225
61332
|
/***/ (function(module, exports, __webpack_require__) {
|
|
61226
61333
|
|
|
61227
61334
|
"use strict";
|
|
@@ -61230,7 +61337,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
61230
61337
|
//# sourceMappingURL=PlannedRoutes.consts.js.map
|
|
61231
61338
|
|
|
61232
61339
|
/***/ }),
|
|
61233
|
-
/*
|
|
61340
|
+
/* 495 */
|
|
61234
61341
|
/***/ (function(module, exports, __webpack_require__) {
|
|
61235
61342
|
|
|
61236
61343
|
"use strict";
|
|
@@ -61239,7 +61346,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
61239
61346
|
//# sourceMappingURL=Crew.consts.js.map
|
|
61240
61347
|
|
|
61241
61348
|
/***/ }),
|
|
61242
|
-
/*
|
|
61349
|
+
/* 496 */
|
|
61243
61350
|
/***/ (function(module, exports, __webpack_require__) {
|
|
61244
61351
|
|
|
61245
61352
|
"use strict";
|
|
@@ -61248,7 +61355,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
61248
61355
|
//# sourceMappingURL=Responses.js.map
|
|
61249
61356
|
|
|
61250
61357
|
/***/ }),
|
|
61251
|
-
/*
|
|
61358
|
+
/* 497 */
|
|
61252
61359
|
/***/ (function(module, exports, __webpack_require__) {
|
|
61253
61360
|
|
|
61254
61361
|
"use strict";
|
|
@@ -61260,7 +61367,7 @@ exports.defaultExtractor = defaultExtractor;
|
|
|
61260
61367
|
//# sourceMappingURL=Tag.consts.js.map
|
|
61261
61368
|
|
|
61262
61369
|
/***/ }),
|
|
61263
|
-
/*
|
|
61370
|
+
/* 498 */
|
|
61264
61371
|
/***/ (function(module, exports, __webpack_require__) {
|
|
61265
61372
|
|
|
61266
61373
|
"use strict";
|
|
@@ -61269,7 +61376,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
61269
61376
|
//# sourceMappingURL=DeliveryBlocks.consts.js.map
|
|
61270
61377
|
|
|
61271
61378
|
/***/ }),
|
|
61272
|
-
/*
|
|
61379
|
+
/* 499 */
|
|
61273
61380
|
/***/ (function(module, exports, __webpack_require__) {
|
|
61274
61381
|
|
|
61275
61382
|
"use strict";
|
|
@@ -61283,7 +61390,7 @@ exports.default = ResourceUploadType;
|
|
|
61283
61390
|
//# sourceMappingURL=ResourceUploadType.js.map
|
|
61284
61391
|
|
|
61285
61392
|
/***/ }),
|
|
61286
|
-
/*
|
|
61393
|
+
/* 500 */
|
|
61287
61394
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
61288
61395
|
|
|
61289
61396
|
"use strict";
|