@bringg/dashboard-sdk 9.73.0 → 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.
@@ -56,7 +56,7 @@ var lodash_1 = require("lodash");
56
56
  var BringgException_1 = require("../Core/BringgException");
57
57
  var Logger_1 = __importDefault(require("../Core/Logger"));
58
58
  var abort_1 = require("../utils/abort");
59
- var version = '9.73.0';
59
+ var version = '_SDK_VERSION_';
60
60
  function logErrorResponse(response) {
61
61
  var data = response.data, status = response.status;
62
62
  try {
@@ -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":["../../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AgC,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,aAA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