@bringg/dashboard-sdk 9.73.2 → 9.73.3

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.
@@ -6,4 +6,5 @@ export default class TasksExplorerService {
6
6
  constructor(session: Session);
7
7
  getAll(req: DispatcherV2Request, commonOptions?: CommonOptions): Promise<DispatcherV2Response>;
8
8
  getAggregations(req: AggregationRequest, commonOptions?: CommonOptions): Promise<AggregationResponse>;
9
+ logSearchFieldHit(columnIds: string[]): Promise<void>;
9
10
  }
@@ -44,7 +44,8 @@ var baseUrl = 'data-query-service';
44
44
  var entityName = 'tasks-explorer';
45
45
  var Routes = {
46
46
  GET_ALL: "/".concat(baseUrl, "/").concat(entityName),
47
- GET_AGGREGATIONS: "/".concat(baseUrl, "/aggregation")
47
+ GET_AGGREGATIONS: "/".concat(baseUrl, "/aggregation"),
48
+ LOG_SEARCH_FIELD_HIT: "/".concat(baseUrl, "/search-field-hit")
48
49
  };
49
50
  var TasksExplorerService = /** @class */ (function () {
50
51
  function TasksExplorerService(session) {
@@ -74,6 +75,22 @@ var TasksExplorerService = /** @class */ (function () {
74
75
  });
75
76
  });
76
77
  };
78
+ TasksExplorerService.prototype.logSearchFieldHit = function (columnIds) {
79
+ return __awaiter(this, void 0, void 0, function () {
80
+ return __generator(this, function (_a) {
81
+ switch (_a.label) {
82
+ case 0: return [4 /*yield*/, this.service.routeGenerator
83
+ .post(Routes.LOG_SEARCH_FIELD_HIT)
84
+ .withPayload({ column_ids: columnIds })
85
+ .setException('failed to log search field hit')
86
+ .invoke()];
87
+ case 1:
88
+ _a.sent();
89
+ return [2 /*return*/];
90
+ }
91
+ });
92
+ });
93
+ };
77
94
  return TasksExplorerService;
78
95
  }());
79
96
  exports.default = TasksExplorerService;
@@ -1 +1 @@
1
- {"version":3,"file":"tasks-explorer-service.js","sourceRoot":"","sources":["../../../src/TasksExplorer/Services/tasks-explorer-service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,uEAAiD;AAIjD,IAAM,OAAO,GAAG,oBAAoB,CAAC;AACrC,IAAM,UAAU,GAAG,gBAAgB,CAAC;AAEpC,IAAM,MAAM,GAAG;IACd,OAAO,EAAE,WAAI,OAAO,cAAI,UAAU,CAAE;IACpC,gBAAgB,EAAE,WAAI,OAAO,iBAAc;CAC3C,CAAC;AAEF;IAGC,8BAAY,OAAgB;QAC3B,IAAI,CAAC,OAAO,GAAG,IAAI,qBAAW,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC;IACrD,CAAC;IAEY,qCAAM,GAAnB,UAAoB,GAAwB,EAAE,aAA6B;;;gBAC1E,sBAAO,IAAI,CAAC,OAAO,CAAC,cAAc;yBAChC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC;yBACpB,WAAW,CAAC,GAAG,CAAC;yBAChB,YAAY,CAAC,uBAAuB,CAAC;yBACrC,iBAAiB,CAAC,aAAa,CAAC;yBAChC,MAAM,EAA8C,EAAC;;;KACvD;IAEY,8CAAe,GAA5B,UAA6B,GAAuB,EAAE,aAA6B;;;gBAClF,sBAAO,IAAI,CAAC,OAAO,CAAC,cAAc;yBAChC,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC;yBAC7B,WAAW,CAAC,GAAG,CAAC;yBAChB,YAAY,CAAC,8BAA8B,CAAC;yBAC5C,iBAAiB,CAAC,aAAa,CAAC;yBAChC,MAAM,EAA4C,EAAC;;;KACrD;IACF,2BAAC;AAAD,CAAC,AAxBD,IAwBC"}
1
+ {"version":3,"file":"tasks-explorer-service.js","sourceRoot":"","sources":["../../../src/TasksExplorer/Services/tasks-explorer-service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,uEAAiD;AAIjD,IAAM,OAAO,GAAG,oBAAoB,CAAC;AACrC,IAAM,UAAU,GAAG,gBAAgB,CAAC;AAEpC,IAAM,MAAM,GAAG;IACd,OAAO,EAAE,WAAI,OAAO,cAAI,UAAU,CAAE;IACpC,gBAAgB,EAAE,WAAI,OAAO,iBAAc;IAC3C,oBAAoB,EAAE,WAAI,OAAO,sBAAmB;CACpD,CAAC;AAEF;IAGC,8BAAY,OAAgB;QAC3B,IAAI,CAAC,OAAO,GAAG,IAAI,qBAAW,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC;IACrD,CAAC;IAEY,qCAAM,GAAnB,UAAoB,GAAwB,EAAE,aAA6B;;;gBAC1E,sBAAO,IAAI,CAAC,OAAO,CAAC,cAAc;yBAChC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC;yBACpB,WAAW,CAAC,GAAG,CAAC;yBAChB,YAAY,CAAC,uBAAuB,CAAC;yBACrC,iBAAiB,CAAC,aAAa,CAAC;yBAChC,MAAM,EAA8C,EAAC;;;KACvD;IAEY,8CAAe,GAA5B,UAA6B,GAAuB,EAAE,aAA6B;;;gBAClF,sBAAO,IAAI,CAAC,OAAO,CAAC,cAAc;yBAChC,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC;yBAC7B,WAAW,CAAC,GAAG,CAAC;yBAChB,YAAY,CAAC,8BAA8B,CAAC;yBAC5C,iBAAiB,CAAC,aAAa,CAAC;yBAChC,MAAM,EAA4C,EAAC;;;KACrD;IAEY,gDAAiB,GAA9B,UAA+B,SAAmB;;;;4BACjD,qBAAM,IAAI,CAAC,OAAO,CAAC,cAAc;6BAC/B,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC;6BACjC,WAAW,CAAC,EAAE,UAAU,EAAE,SAAS,EAAE,CAAC;6BACtC,YAAY,CAAC,gCAAgC,CAAC;6BAC9C,MAAM,EAAc,EAAA;;wBAJtB,SAIsB,CAAC;;;;;KACvB;IACF,2BAAC;AAAD,CAAC,AAhCD,IAgCC"}
@@ -6,4 +6,5 @@ export default class TasksExplorerApi {
6
6
  constructor(session: Session);
7
7
  getAll(req: DispatcherV2Request, commonOptions?: CommonOptions): Promise<DispatcherV2Response>;
8
8
  getAggregations(req: AggregationRequest, commonOptions?: CommonOptions): Promise<AggregationResponse>;
9
+ logSearchFieldHit(columnIds: string[]): Promise<void>;
9
10
  }
@@ -60,6 +60,13 @@ var TasksExplorerApi = /** @class */ (function () {
60
60
  });
61
61
  });
62
62
  };
63
+ TasksExplorerApi.prototype.logSearchFieldHit = function (columnIds) {
64
+ return __awaiter(this, void 0, void 0, function () {
65
+ return __generator(this, function (_a) {
66
+ return [2 /*return*/, this.tasksExplorerService.logSearchFieldHit(columnIds)];
67
+ });
68
+ });
69
+ };
63
70
  return TasksExplorerApi;
64
71
  }());
65
72
  exports.default = TasksExplorerApi;
@@ -1 +1 @@
1
- {"version":3,"file":"tasks-explorer-api.js","sourceRoot":"","sources":["../../../src/TasksExplorer/v2/tasks-explorer-api.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,8FAAsE;AAEtE;IAGC,0BAAY,OAAgB;QAC3B,IAAI,CAAC,oBAAoB,GAAG,IAAI,gCAAoB,CAAC,OAAO,CAAC,CAAC;IAC/D,CAAC;IAEY,iCAAM,GAAnB,UAAoB,GAAwB,EAAE,aAAiC;QAAjC,8BAAA,EAAA,kBAAiC;;;gBAC9E,sBAAO,IAAI,CAAC,oBAAoB,CAAC,MAAM,CAAC,GAAG,EAAE,aAAa,CAAC,EAAC;;;KAC5D;IAEY,0CAAe,GAA5B,UACC,GAAuB,EACvB,aAAiC;QAAjC,8BAAA,EAAA,kBAAiC;;;gBAEjC,sBAAO,IAAI,CAAC,oBAAoB,CAAC,eAAe,CAAC,GAAG,EAAE,aAAa,CAAC,EAAC;;;KACrE;IACF,uBAAC;AAAD,CAAC,AAjBD,IAiBC"}
1
+ {"version":3,"file":"tasks-explorer-api.js","sourceRoot":"","sources":["../../../src/TasksExplorer/v2/tasks-explorer-api.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,8FAAsE;AAEtE;IAGC,0BAAY,OAAgB;QAC3B,IAAI,CAAC,oBAAoB,GAAG,IAAI,gCAAoB,CAAC,OAAO,CAAC,CAAC;IAC/D,CAAC;IAEY,iCAAM,GAAnB,UAAoB,GAAwB,EAAE,aAAiC;QAAjC,8BAAA,EAAA,kBAAiC;;;gBAC9E,sBAAO,IAAI,CAAC,oBAAoB,CAAC,MAAM,CAAC,GAAG,EAAE,aAAa,CAAC,EAAC;;;KAC5D;IAEY,0CAAe,GAA5B,UACC,GAAuB,EACvB,aAAiC;QAAjC,8BAAA,EAAA,kBAAiC;;;gBAEjC,sBAAO,IAAI,CAAC,oBAAoB,CAAC,eAAe,CAAC,GAAG,EAAE,aAAa,CAAC,EAAC;;;KACrE;IAEY,4CAAiB,GAA9B,UAA+B,SAAmB;;;gBACjD,sBAAO,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,SAAS,CAAC,EAAC;;;KAC9D;IACF,uBAAC;AAAD,CAAC,AArBD,IAqBC"}
@@ -23416,7 +23416,7 @@ var lodash_1 = __webpack_require__(96486);
23416
23416
  var BringgException_1 = __webpack_require__(43605);
23417
23417
  var Logger_1 = __importDefault(__webpack_require__(55860));
23418
23418
  var abort_1 = __webpack_require__(34179);
23419
- var version = '9.73.2';
23419
+ var version = '9.73.3';
23420
23420
  function logErrorResponse(response) {
23421
23421
  var data = response.data, status = response.status;
23422
23422
  try {
@@ -28126,7 +28126,8 @@ var baseUrl = 'data-query-service';
28126
28126
  var entityName = 'tasks-explorer';
28127
28127
  var Routes = {
28128
28128
  GET_ALL: "/".concat(baseUrl, "/").concat(entityName),
28129
- GET_AGGREGATIONS: "/".concat(baseUrl, "/aggregation")
28129
+ GET_AGGREGATIONS: "/".concat(baseUrl, "/aggregation"),
28130
+ LOG_SEARCH_FIELD_HIT: "/".concat(baseUrl, "/search-field-hit")
28130
28131
  };
28131
28132
  var TasksExplorerService = /** @class */ (function () {
28132
28133
  function TasksExplorerService(session) {
@@ -28156,6 +28157,22 @@ var TasksExplorerService = /** @class */ (function () {
28156
28157
  });
28157
28158
  });
28158
28159
  };
28160
+ TasksExplorerService.prototype.logSearchFieldHit = function (columnIds) {
28161
+ return __awaiter(this, void 0, void 0, function () {
28162
+ return __generator(this, function (_a) {
28163
+ switch (_a.label) {
28164
+ case 0: return [4 /*yield*/, this.service.routeGenerator
28165
+ .post(Routes.LOG_SEARCH_FIELD_HIT)
28166
+ .withPayload({ column_ids: columnIds })
28167
+ .setException('failed to log search field hit')
28168
+ .invoke()];
28169
+ case 1:
28170
+ _a.sent();
28171
+ return [2 /*return*/];
28172
+ }
28173
+ });
28174
+ });
28175
+ };
28159
28176
  return TasksExplorerService;
28160
28177
  }());
28161
28178
  exports["default"] = TasksExplorerService;
@@ -28229,6 +28246,13 @@ var TasksExplorerApi = /** @class */ (function () {
28229
28246
  });
28230
28247
  });
28231
28248
  };
28249
+ TasksExplorerApi.prototype.logSearchFieldHit = function (columnIds) {
28250
+ return __awaiter(this, void 0, void 0, function () {
28251
+ return __generator(this, function (_a) {
28252
+ return [2 /*return*/, this.tasksExplorerService.logSearchFieldHit(columnIds)];
28253
+ });
28254
+ });
28255
+ };
28232
28256
  return TasksExplorerApi;
28233
28257
  }());
28234
28258
  exports["default"] = TasksExplorerApi;