@bringg/dashboard-sdk 0.4.70 → 0.4.71

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.
Files changed (68) hide show
  1. package/dist/AnalyticsReports/Entity/AnalyticsReportsEntity.js +7 -28
  2. package/dist/AnalyticsReports/Entity/AnalyticsReportsEntity.js.map +1 -1
  3. package/dist/Application/Entity/ApplicationEntity.js.map +1 -1
  4. package/dist/ApplicationMerchantConfiguration/Entity/ApplicationMerchantConfigurationEntity.js.map +1 -1
  5. package/dist/Billing/Entity/BillingEntity.js +13 -52
  6. package/dist/Billing/Entity/BillingEntity.js.map +1 -1
  7. package/dist/ChatConversation/Entity/ChatConversation.js.map +1 -1
  8. package/dist/ChatMessage/Entity/ChatMessage.js.map +1 -1
  9. package/dist/Company/Entity/CompanyEntity.js +1 -4
  10. package/dist/Company/Entity/CompanyEntity.js.map +1 -1
  11. package/dist/Core/BaseStore.js.map +1 -1
  12. package/dist/Core/BringgException.js.map +1 -1
  13. package/dist/Core/Entity.js.map +1 -1
  14. package/dist/Core/Logger.js.map +1 -1
  15. package/dist/Core/MethodsArgsDecorators.js.map +1 -1
  16. package/dist/Core/Polly.js.map +1 -1
  17. package/dist/Core/StoreEntity.js.map +1 -1
  18. package/dist/Crew/Crew.js.map +1 -1
  19. package/dist/Crew/Store/CrewStore.js.map +1 -1
  20. package/dist/Customer/CustomerEntity.js.map +1 -1
  21. package/dist/CustomerAvailabilityHour/Entity/CustomerAvailabilityHourEntity.js.map +1 -1
  22. package/dist/CustomerConfiguration/Service/customer.configuration.service.js.map +1 -1
  23. package/dist/DeliveryBlocks/Entity/DeliveryBlocksEntity.js.map +1 -1
  24. package/dist/ExclusionWindow/Entity/ExclusionWindowEntity.js.map +1 -1
  25. package/dist/GoogleMapsHelper/Entity/GoogleMapsHelper.js.map +1 -1
  26. package/dist/Language/Store/LanguageStore.js.map +1 -1
  27. package/dist/Merchant/Entity/MerchantEntity.js.map +1 -1
  28. package/dist/MerchantConfiguration/Entity/MerchantConfigurationEntity.js.map +1 -1
  29. package/dist/Reports/Service/reports.service.js +2 -8
  30. package/dist/Reports/Service/reports.service.js.map +1 -1
  31. package/dist/ResourceUpload/ResourceUploadApi.js.map +1 -1
  32. package/dist/Rollouts/Entity/RolloutsEntity.js.map +1 -1
  33. package/dist/Rule/Entity/RuleEntity.js +2 -8
  34. package/dist/Rule/Entity/RuleEntity.js.map +1 -1
  35. package/dist/Run/Service/runs.service.d.ts +8 -0
  36. package/dist/Run/Service/runs.service.js +32 -1
  37. package/dist/Run/Service/runs.service.js.map +1 -1
  38. package/dist/Run/runs.d.ts +3 -0
  39. package/dist/Run/runs.js +20 -0
  40. package/dist/Run/runs.js.map +1 -1
  41. package/dist/Scan/Entity/ScanEntity.js.map +1 -1
  42. package/dist/Services/Identity/AuthService.js.map +1 -1
  43. package/dist/Services/Identity/Session.js.map +1 -1
  44. package/dist/Services/PersistentConnection.js +1 -2
  45. package/dist/Services/PersistentConnection.js.map +1 -1
  46. package/dist/Services/ServiceRequest.js +1 -1
  47. package/dist/Services/ServiceRequest.js.map +1 -1
  48. package/dist/Task/Entity/TaskEntity.js.map +1 -1
  49. package/dist/Task/TaskApi.js.map +1 -1
  50. package/dist/Task/Tasks.consts.js.map +1 -1
  51. package/dist/TaskInventory/TaskInventory.consts.js.map +1 -1
  52. package/dist/Team/Entity/Team.js.map +1 -1
  53. package/dist/User/Service/UsersService.js.map +1 -1
  54. package/dist/User/Store/UsersStore.js.map +1 -1
  55. package/dist/User/Users.js.map +1 -1
  56. package/dist/UserConfiguration/Entity/UserConfigurationEntity.js +1 -4
  57. package/dist/UserConfiguration/Entity/UserConfigurationEntity.js.map +1 -1
  58. package/dist/Vehicle/Entity/VehicleEntity.js.map +1 -1
  59. package/dist/VrpAutoDispatchAnalytic/Entity/VrpAutoDispatchAnalyticEntity.js.map +1 -1
  60. package/dist/WebApplicationConfiguration/Entity/WebApplicationConfigurationEntity.js.map +1 -1
  61. package/dist/bringg-dashboard-sdk-cjs2.js +80 -108
  62. package/dist/bringg-dashboard-sdk-cjs2.js.map +1 -1
  63. package/dist/bringg-dashboard-sdk.js +10 -10
  64. package/dist/bringg-dashboard-sdk.min.js +2 -2
  65. package/dist/bringg-dashboard-sdk.min.js.map +1 -1
  66. package/dist/stats.json +694 -684
  67. package/dist/utils/decorators/cached-promise.js.map +1 -1
  68. package/package.json +2 -3
@@ -30025,7 +30025,7 @@ var axios_1 = __webpack_require__(146);
30025
30025
  var Logger_1 = __webpack_require__(39);
30026
30026
  var lodash_1 = __webpack_require__(10);
30027
30027
  var BringgException_1 = __webpack_require__(15);
30028
- var version = '0.4.70';
30028
+ var version = '0.4.71';
30029
30029
  function logErrorResponse(response) {
30030
30030
  var data = response.data, status = response.status;
30031
30031
  try {
@@ -38472,8 +38472,7 @@ var PersistentConnection = /** @class */ (function () {
38472
38472
  switch (_a.label) {
38473
38473
  case 0: return [4 /*yield*/, new Polly_1.default()
38474
38474
  .handle(function (er) {
38475
- Logger_1.default.error("Failed establishing persistent connection to realtime, retry again in " + exports.REALTIME_CONNECTION_RETRY_TIME /
38476
- 1000 + " seconds, " + er);
38475
+ Logger_1.default.error("Failed establishing persistent connection to realtime, retry again in " + exports.REALTIME_CONNECTION_RETRY_TIME / 1000 + " seconds, " + er);
38477
38476
  return er.message !== 'timeout';
38478
38477
  })
38479
38478
  .waitAndRetry([exports.REALTIME_CONNECTION_RETRY_TIME])
@@ -43186,6 +43185,26 @@ var Runs = /** @class */ (function () {
43186
43185
  });
43187
43186
  });
43188
43187
  };
43188
+ Runs.prototype.assignVehicles = function (id, vehicleId, tasks) {
43189
+ return __awaiter(this, void 0, void 0, function () {
43190
+ return __generator(this, function (_a) {
43191
+ switch (_a.label) {
43192
+ case 0: return [4 /*yield*/, this.runsService.assignVehicles(id, vehicleId, tasks)];
43193
+ case 1: return [2 /*return*/, _a.sent()];
43194
+ }
43195
+ });
43196
+ });
43197
+ };
43198
+ Runs.prototype.unassignVehicles = function (id) {
43199
+ return __awaiter(this, void 0, void 0, function () {
43200
+ return __generator(this, function (_a) {
43201
+ switch (_a.label) {
43202
+ case 0: return [4 /*yield*/, this.runsService.unassignVehicles(id)];
43203
+ case 1: return [2 /*return*/, _a.sent()];
43204
+ }
43205
+ });
43206
+ });
43207
+ };
43189
43208
  Runs.prototype.bulkClose = function (runIds) {
43190
43209
  return __awaiter(this, void 0, void 0, function () {
43191
43210
  return __generator(this, function (_a) {
@@ -43296,7 +43315,9 @@ exports.Routes = {
43296
43315
  UNASSIGN_VEHICLE: new Route_1.Route('/runs/{:id}/unassign_vehicle', 2 /* PUT */),
43297
43316
  BULK_CLOSE: new Route_1.Route('/runs/bulk_close', 1 /* POST */),
43298
43317
  MARK_DONE_PLANNING: new Route_1.Route('/runs/mark_done_planning', 1 /* POST */),
43299
- GET_ACTUAL_BREAKS: new Route_1.Route('/runs/actual_breaks', 0 /* GET */)
43318
+ GET_ACTUAL_BREAKS: new Route_1.Route('/runs/actual_breaks', 0 /* GET */),
43319
+ ASSIGN_VEHICLES: new Route_1.Route('/runs/{:id}/vehicles_assignment', 3 /* PATCH */),
43320
+ UNASSIGN_VEHICLES: new Route_1.Route('/runs/{:id}/vehicles_assignment', 4 /* DELETE */)
43300
43321
  };
43301
43322
  var RunsService = /** @class */ (function (_super) {
43302
43323
  __extends(RunsService, _super);
@@ -43441,6 +43462,35 @@ var RunsService = /** @class */ (function (_super) {
43441
43462
  });
43442
43463
  });
43443
43464
  };
43465
+ RunsService.prototype.assignVehicles = function (id, vehicleId, tasks) {
43466
+ return __awaiter(this, void 0, void 0, function () {
43467
+ var response;
43468
+ return __generator(this, function (_a) {
43469
+ switch (_a.label) {
43470
+ case 0: return [4 /*yield*/, this.handleAuthorizedRequest(exports.Routes.ASSIGN_VEHICLES, runs_consts_1.defaultExtractor, BringgException_1.BringgException.serviceException('Failed to assign vehicles to run'), {
43471
+ vehicle_id: vehicleId,
43472
+ tasks: tasks
43473
+ }, { id: id })];
43474
+ case 1:
43475
+ response = _a.sent();
43476
+ return [2 /*return*/, response];
43477
+ }
43478
+ });
43479
+ });
43480
+ };
43481
+ RunsService.prototype.unassignVehicles = function (id) {
43482
+ return __awaiter(this, void 0, void 0, function () {
43483
+ var response;
43484
+ return __generator(this, function (_a) {
43485
+ switch (_a.label) {
43486
+ case 0: return [4 /*yield*/, this.handleAuthorizedRequest(exports.Routes.UNASSIGN_VEHICLES, runs_consts_1.defaultExtractor, BringgException_1.BringgException.serviceException('Failed to unassign vehicles from run'), {}, { id: id })];
43487
+ case 1:
43488
+ response = _a.sent();
43489
+ return [2 /*return*/, response];
43490
+ }
43491
+ });
43492
+ });
43493
+ };
43444
43494
  RunsService.prototype.bulkClose = function (runIds) {
43445
43495
  return __awaiter(this, void 0, void 0, function () {
43446
43496
  var runBulkClose;
@@ -47485,10 +47535,7 @@ var CompanyEntity = /** @class */ (function (_super) {
47485
47535
  }) || this;
47486
47536
  }
47487
47537
  CompanyEntity.prototype.getUsers = function (companyId) {
47488
- return this.service.routeGenerator
47489
- .get("/companies/" + companyId + "/users")
47490
- .withRouteParams({ companyId: companyId })
47491
- .invoke();
47538
+ return this.service.routeGenerator.get("/companies/" + companyId + "/users").withRouteParams({ companyId: companyId }).invoke();
47492
47539
  };
47493
47540
  return CompanyEntity;
47494
47541
  }(Entity_1.default));
@@ -47796,10 +47843,7 @@ var ReportsService = /** @class */ (function (_super) {
47796
47843
  case 0:
47797
47844
  if (request) {
47798
47845
  payload = JSON.stringify(request);
47799
- return [2 /*return*/, this.routeGenerator
47800
- .get(exports.Routes.GET_LAYOUT)
47801
- .withQueryString({ payload: payload })
47802
- .invoke()];
47846
+ return [2 /*return*/, this.routeGenerator.get(exports.Routes.GET_LAYOUT).withQueryString({ payload: payload }).invoke()];
47803
47847
  }
47804
47848
  return [4 /*yield*/, this.routeGenerator.get(exports.Routes.GET_LAYOUT).invoke()];
47805
47849
  case 1: return [2 /*return*/, _a.sent()];
@@ -47832,10 +47876,7 @@ var ReportsService = /** @class */ (function (_super) {
47832
47876
  switch (_a.label) {
47833
47877
  case 0:
47834
47878
  payload = JSON.stringify(__assign({}, options));
47835
- return [4 /*yield*/, this.routeGenerator
47836
- .get(exports.Routes.GET_FILTERS)
47837
- .withQueryString({ payload: payload })
47838
- .invoke()];
47879
+ return [4 /*yield*/, this.routeGenerator.get(exports.Routes.GET_FILTERS).withQueryString({ payload: payload }).invoke()];
47839
47880
  case 1: return [2 /*return*/, _a.sent()];
47840
47881
  }
47841
47882
  });
@@ -48429,10 +48470,7 @@ var UserConfigurationEntity = /** @class */ (function (_super) {
48429
48470
  UserConfigurationEntity.prototype.update = function (userConfiguration) {
48430
48471
  return __awaiter(this, void 0, void 0, function () {
48431
48472
  return __generator(this, function (_a) {
48432
- return [2 /*return*/, this.service.routeGenerator
48433
- .put("/merchant/user_configuration")
48434
- .withPayload(userConfiguration)
48435
- .invoke()];
48473
+ return [2 /*return*/, this.service.routeGenerator.put("/merchant/user_configuration").withPayload(userConfiguration).invoke()];
48436
48474
  });
48437
48475
  });
48438
48476
  };
@@ -51738,10 +51776,7 @@ var RuleEntity = /** @class */ (function (_super) {
51738
51776
  RuleEntity.prototype.getMetadata = function (query) {
51739
51777
  return __awaiter(this, void 0, void 0, function () {
51740
51778
  return __generator(this, function (_a) {
51741
- return [2 /*return*/, this.service.routeGenerator
51742
- .get(exports.Routes.GET_METADATA)
51743
- .withQueryString(query)
51744
- .invoke()];
51779
+ return [2 /*return*/, this.service.routeGenerator.get(exports.Routes.GET_METADATA).withQueryString(query).invoke()];
51745
51780
  });
51746
51781
  });
51747
51782
  };
@@ -51758,10 +51793,7 @@ var RuleEntity = /** @class */ (function (_super) {
51758
51793
  RuleEntity.prototype.saveRules = function (data) {
51759
51794
  return __awaiter(this, void 0, void 0, function () {
51760
51795
  return __generator(this, function (_a) {
51761
- return [2 /*return*/, this.service.routeGenerator
51762
- .patch(exports.Routes.POST_RULES)
51763
- .withPayload(data)
51764
- .invoke()];
51796
+ return [2 /*return*/, this.service.routeGenerator.patch(exports.Routes.POST_RULES).withPayload(data).invoke()];
51765
51797
  });
51766
51798
  });
51767
51799
  };
@@ -57967,10 +57999,7 @@ var BillingEntity = /** @class */ (function (_super) {
57967
57999
  return __awaiter(this, void 0, void 0, function () {
57968
58000
  return __generator(this, function (_a) {
57969
58001
  switch (_a.label) {
57970
- case 0: return [4 /*yield*/, this.service.routeGenerator
57971
- .get(Routes.GET_TASKS)
57972
- .withQueryString(queryString)
57973
- .invoke()];
58002
+ case 0: return [4 /*yield*/, this.service.routeGenerator.get(Routes.GET_TASKS).withQueryString(queryString).invoke()];
57974
58003
  case 1: return [2 /*return*/, _a.sent()];
57975
58004
  }
57976
58005
  });
@@ -57980,10 +58009,7 @@ var BillingEntity = /** @class */ (function (_super) {
57980
58009
  return __awaiter(this, void 0, void 0, function () {
57981
58010
  return __generator(this, function (_a) {
57982
58011
  switch (_a.label) {
57983
- case 0: return [4 /*yield*/, this.service.routeGenerator
57984
- .post(Routes.GET_ORDERS)
57985
- .withPayload(payload)
57986
- .invoke()];
58012
+ case 0: return [4 /*yield*/, this.service.routeGenerator.post(Routes.GET_ORDERS).withPayload(payload).invoke()];
57987
58013
  case 1: return [2 /*return*/, _a.sent()];
57988
58014
  }
57989
58015
  });
@@ -57993,10 +58019,7 @@ var BillingEntity = /** @class */ (function (_super) {
57993
58019
  return __awaiter(this, void 0, void 0, function () {
57994
58020
  return __generator(this, function (_a) {
57995
58021
  switch (_a.label) {
57996
- case 0: return [4 /*yield*/, this.service.routeGenerator
57997
- .get(Routes.GET_AGGREGATED_TASKS)
57998
- .withQueryString(queryString)
57999
- .invoke()];
58022
+ case 0: return [4 /*yield*/, this.service.routeGenerator.get(Routes.GET_AGGREGATED_TASKS).withQueryString(queryString).invoke()];
58000
58023
  case 1: return [2 /*return*/, _a.sent()];
58001
58024
  }
58002
58025
  });
@@ -58006,10 +58029,7 @@ var BillingEntity = /** @class */ (function (_super) {
58006
58029
  return __awaiter(this, void 0, void 0, function () {
58007
58030
  return __generator(this, function (_a) {
58008
58031
  switch (_a.label) {
58009
- case 0: return [4 /*yield*/, this.service.routeGenerator
58010
- .post(Routes.GET_AGGREGATED_TASKS_V2)
58011
- .withPayload(payload)
58012
- .invoke()];
58032
+ case 0: return [4 /*yield*/, this.service.routeGenerator.post(Routes.GET_AGGREGATED_TASKS_V2).withPayload(payload).invoke()];
58013
58033
  case 1: return [2 /*return*/, _a.sent()];
58014
58034
  }
58015
58035
  });
@@ -58019,10 +58039,7 @@ var BillingEntity = /** @class */ (function (_super) {
58019
58039
  return __awaiter(this, void 0, void 0, function () {
58020
58040
  return __generator(this, function (_a) {
58021
58041
  switch (_a.label) {
58022
- case 0: return [4 /*yield*/, this.service.routeGenerator
58023
- .post(Routes.GET_ORDERS_REPORT)
58024
- .withPayload(payload)
58025
- .invoke()];
58042
+ case 0: return [4 /*yield*/, this.service.routeGenerator.post(Routes.GET_ORDERS_REPORT).withPayload(payload).invoke()];
58026
58043
  case 1: return [2 /*return*/, _a.sent()];
58027
58044
  }
58028
58045
  });
@@ -58032,10 +58049,7 @@ var BillingEntity = /** @class */ (function (_super) {
58032
58049
  return __awaiter(this, void 0, void 0, function () {
58033
58050
  return __generator(this, function (_a) {
58034
58051
  switch (_a.label) {
58035
- case 0: return [4 /*yield*/, this.service.routeGenerator
58036
- .post(Routes.GET_REFUNDS_REPORT)
58037
- .withPayload(payload)
58038
- .invoke()];
58052
+ case 0: return [4 /*yield*/, this.service.routeGenerator.post(Routes.GET_REFUNDS_REPORT).withPayload(payload).invoke()];
58039
58053
  case 1: return [2 /*return*/, _a.sent()];
58040
58054
  }
58041
58055
  });
@@ -58058,10 +58072,7 @@ var BillingEntity = /** @class */ (function (_super) {
58058
58072
  return __awaiter(this, void 0, void 0, function () {
58059
58073
  return __generator(this, function (_a) {
58060
58074
  switch (_a.label) {
58061
- case 0: return [4 /*yield*/, this.service.routeGenerator
58062
- .post(Routes.GET_REFUNDS)
58063
- .withPayload(payload)
58064
- .invoke()];
58075
+ case 0: return [4 /*yield*/, this.service.routeGenerator.post(Routes.GET_REFUNDS).withPayload(payload).invoke()];
58065
58076
  case 1: return [2 /*return*/, _a.sent()];
58066
58077
  }
58067
58078
  });
@@ -58071,10 +58082,7 @@ var BillingEntity = /** @class */ (function (_super) {
58071
58082
  return __awaiter(this, void 0, void 0, function () {
58072
58083
  return __generator(this, function (_a) {
58073
58084
  switch (_a.label) {
58074
- case 0: return [4 /*yield*/, this.service.routeGenerator
58075
- .get(Routes.GET_FLEETS)
58076
- .withQueryString(queryString)
58077
- .invoke()];
58085
+ case 0: return [4 /*yield*/, this.service.routeGenerator.get(Routes.GET_FLEETS).withQueryString(queryString).invoke()];
58078
58086
  case 1: return [2 /*return*/, _a.sent()];
58079
58087
  }
58080
58088
  });
@@ -58084,10 +58092,7 @@ var BillingEntity = /** @class */ (function (_super) {
58084
58092
  return __awaiter(this, void 0, void 0, function () {
58085
58093
  return __generator(this, function (_a) {
58086
58094
  switch (_a.label) {
58087
- case 0: return [4 /*yield*/, this.service.routeGenerator
58088
- .post(Routes.GET_FLEETS_V3)
58089
- .withPayload(payload)
58090
- .invoke()];
58095
+ case 0: return [4 /*yield*/, this.service.routeGenerator.post(Routes.GET_FLEETS_V3).withPayload(payload).invoke()];
58091
58096
  case 1: return [2 /*return*/, _a.sent()];
58092
58097
  }
58093
58098
  });
@@ -58097,10 +58102,7 @@ var BillingEntity = /** @class */ (function (_super) {
58097
58102
  return __awaiter(this, void 0, void 0, function () {
58098
58103
  return __generator(this, function (_a) {
58099
58104
  switch (_a.label) {
58100
- case 0: return [4 /*yield*/, this.service.routeGenerator
58101
- .get(Routes.GET_TEAMS)
58102
- .withQueryString(queryString)
58103
- .invoke()];
58105
+ case 0: return [4 /*yield*/, this.service.routeGenerator.get(Routes.GET_TEAMS).withQueryString(queryString).invoke()];
58104
58106
  case 1: return [2 /*return*/, _a.sent()];
58105
58107
  }
58106
58108
  });
@@ -58110,10 +58112,7 @@ var BillingEntity = /** @class */ (function (_super) {
58110
58112
  return __awaiter(this, void 0, void 0, function () {
58111
58113
  return __generator(this, function (_a) {
58112
58114
  switch (_a.label) {
58113
- case 0: return [4 /*yield*/, this.service.routeGenerator
58114
- .post(Routes.GET_TEAMS_V3)
58115
- .withPayload(payload)
58116
- .invoke()];
58115
+ case 0: return [4 /*yield*/, this.service.routeGenerator.post(Routes.GET_TEAMS_V3).withPayload(payload).invoke()];
58117
58116
  case 1: return [2 /*return*/, _a.sent()];
58118
58117
  }
58119
58118
  });
@@ -58123,10 +58122,7 @@ var BillingEntity = /** @class */ (function (_super) {
58123
58122
  return __awaiter(this, void 0, void 0, function () {
58124
58123
  return __generator(this, function (_a) {
58125
58124
  switch (_a.label) {
58126
- case 0: return [4 /*yield*/, this.service.routeGenerator
58127
- .post(Routes.POST_DISPUTE)
58128
- .withPayload(payload)
58129
- .invoke()];
58125
+ case 0: return [4 /*yield*/, this.service.routeGenerator.post(Routes.POST_DISPUTE).withPayload(payload).invoke()];
58130
58126
  case 1: return [2 /*return*/, _a.sent()];
58131
58127
  }
58132
58128
  });
@@ -58136,10 +58132,7 @@ var BillingEntity = /** @class */ (function (_super) {
58136
58132
  return __awaiter(this, void 0, void 0, function () {
58137
58133
  return __generator(this, function (_a) {
58138
58134
  switch (_a.label) {
58139
- case 0: return [4 /*yield*/, this.service.routeGenerator
58140
- .post(Routes.GET_DISPUTES_BY_TASK_IDS)
58141
- .withPayload(payload)
58142
- .invoke()];
58135
+ case 0: return [4 /*yield*/, this.service.routeGenerator.post(Routes.GET_DISPUTES_BY_TASK_IDS).withPayload(payload).invoke()];
58143
58136
  case 1: return [2 /*return*/, _a.sent()];
58144
58137
  }
58145
58138
  });
@@ -58488,10 +58481,7 @@ var AnalyticsReportsEntity = /** @class */ (function (_super) {
58488
58481
  return __awaiter(this, void 0, void 0, function () {
58489
58482
  return __generator(this, function (_a) {
58490
58483
  switch (_a.label) {
58491
- case 0: return [4 /*yield*/, this.service.routeGenerator
58492
- .get(Routes.GET_REPORT)
58493
- .withRouteParams({ reportId: reportId })
58494
- .invoke()];
58484
+ case 0: return [4 /*yield*/, this.service.routeGenerator.get(Routes.GET_REPORT).withRouteParams({ reportId: reportId }).invoke()];
58495
58485
  case 1: return [2 /*return*/, _a.sent()];
58496
58486
  }
58497
58487
  });
@@ -58501,10 +58491,7 @@ var AnalyticsReportsEntity = /** @class */ (function (_super) {
58501
58491
  return __awaiter(this, void 0, void 0, function () {
58502
58492
  return __generator(this, function (_a) {
58503
58493
  switch (_a.label) {
58504
- case 0: return [4 /*yield*/, this.service.routeGenerator
58505
- .delete(Routes.DELETE_REPORT)
58506
- .withRouteParams({ reportId: reportId })
58507
- .invoke()];
58494
+ case 0: return [4 /*yield*/, this.service.routeGenerator.delete(Routes.DELETE_REPORT).withRouteParams({ reportId: reportId }).invoke()];
58508
58495
  case 1: return [2 /*return*/, _a.sent()];
58509
58496
  }
58510
58497
  });
@@ -58514,10 +58501,7 @@ var AnalyticsReportsEntity = /** @class */ (function (_super) {
58514
58501
  return __awaiter(this, void 0, void 0, function () {
58515
58502
  return __generator(this, function (_a) {
58516
58503
  switch (_a.label) {
58517
- case 0: return [4 /*yield*/, this.service.routeGenerator
58518
- .get(Routes.GET_USER_REPORTS)
58519
- .withQueryString(queryString)
58520
- .invoke()];
58504
+ case 0: return [4 /*yield*/, this.service.routeGenerator.get(Routes.GET_USER_REPORTS).withQueryString(queryString).invoke()];
58521
58505
  case 1: return [2 /*return*/, _a.sent()];
58522
58506
  }
58523
58507
  });
@@ -58541,10 +58525,7 @@ var AnalyticsReportsEntity = /** @class */ (function (_super) {
58541
58525
  return __awaiter(this, void 0, void 0, function () {
58542
58526
  return __generator(this, function (_a) {
58543
58527
  switch (_a.label) {
58544
- case 0: return [4 /*yield*/, this.service.routeGenerator
58545
- .get(Routes.GET_SYSTEM_REPORTS)
58546
- .withQueryString(queryString)
58547
- .invoke()];
58528
+ case 0: return [4 /*yield*/, this.service.routeGenerator.get(Routes.GET_SYSTEM_REPORTS).withQueryString(queryString).invoke()];
58548
58529
  case 1: return [2 /*return*/, _a.sent()];
58549
58530
  }
58550
58531
  });
@@ -58554,10 +58535,7 @@ var AnalyticsReportsEntity = /** @class */ (function (_super) {
58554
58535
  return __awaiter(this, void 0, void 0, function () {
58555
58536
  return __generator(this, function (_a) {
58556
58537
  switch (_a.label) {
58557
- case 0: return [4 /*yield*/, this.service.routeGenerator
58558
- .post(Routes.CREATE_SCHEDULE_JOB)
58559
- .withPayload(queryParams)
58560
- .invoke()];
58538
+ case 0: return [4 /*yield*/, this.service.routeGenerator.post(Routes.CREATE_SCHEDULE_JOB).withPayload(queryParams).invoke()];
58561
58539
  case 1: return [2 /*return*/, _a.sent()];
58562
58540
  }
58563
58541
  });
@@ -58581,10 +58559,7 @@ var AnalyticsReportsEntity = /** @class */ (function (_super) {
58581
58559
  return __awaiter(this, void 0, void 0, function () {
58582
58560
  return __generator(this, function (_a) {
58583
58561
  switch (_a.label) {
58584
- case 0: return [4 /*yield*/, this.service.routeGenerator
58585
- .get(Routes.GET_SCHEDULE_JOB)
58586
- .withRouteParams({ jobId: jobId })
58587
- .invoke()];
58562
+ case 0: return [4 /*yield*/, this.service.routeGenerator.get(Routes.GET_SCHEDULE_JOB).withRouteParams({ jobId: jobId }).invoke()];
58588
58563
  case 1: return [2 /*return*/, _a.sent()];
58589
58564
  }
58590
58565
  });
@@ -58594,10 +58569,7 @@ var AnalyticsReportsEntity = /** @class */ (function (_super) {
58594
58569
  return __awaiter(this, void 0, void 0, function () {
58595
58570
  return __generator(this, function (_a) {
58596
58571
  switch (_a.label) {
58597
- case 0: return [4 /*yield*/, this.service.routeGenerator
58598
- .delete(Routes.DELETE_SCHEDULE_JOB)
58599
- .withRouteParams({ jobId: jobId })
58600
- .invoke()];
58572
+ case 0: return [4 /*yield*/, this.service.routeGenerator.delete(Routes.DELETE_SCHEDULE_JOB).withRouteParams({ jobId: jobId }).invoke()];
58601
58573
  case 1: return [2 /*return*/, _a.sent()];
58602
58574
  }
58603
58575
  });