bruce-models 7.1.31 → 7.1.33

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.
@@ -9025,6 +9025,88 @@
9025
9025
  EntityTableView.Delete = Delete;
9026
9026
  })(exports.EntityTableView || (exports.EntityTableView = {}));
9027
9027
 
9028
+ (function (DashboardView) {
9029
+ /**
9030
+ * Returns a record matching the given viewId.
9031
+ * @param params
9032
+ */
9033
+ function Get(params) {
9034
+ return __awaiter(this, void 0, void 0, function* () {
9035
+ let { viewId, api, req } = params;
9036
+ if (!api) {
9037
+ api = exports.ENVIRONMENT.Api().GetBruceApi();
9038
+ }
9039
+ req = exports.Api.PrepReqParams(req);
9040
+ const res = yield api.GET(`ui.dashboardview/${viewId}`, req);
9041
+ return {
9042
+ view: res
9043
+ };
9044
+ });
9045
+ }
9046
+ DashboardView.Get = Get;
9047
+ /**
9048
+ * Returns the list of all available Dashboard Views.
9049
+ * @param params
9050
+ */
9051
+ function GetList(params) {
9052
+ return __awaiter(this, void 0, void 0, function* () {
9053
+ if (!params) {
9054
+ params = {};
9055
+ }
9056
+ let { api, req } = params;
9057
+ if (!api) {
9058
+ api = exports.ENVIRONMENT.Api().GetBruceApi();
9059
+ }
9060
+ req = exports.Api.PrepReqParams(req);
9061
+ const res = yield api.GET("ui.dashboardviews", req);
9062
+ let items = res === null || res === void 0 ? void 0 : res.Items;
9063
+ if (!items) {
9064
+ items = [];
9065
+ }
9066
+ return {
9067
+ views: items
9068
+ };
9069
+ });
9070
+ }
9071
+ DashboardView.GetList = GetList;
9072
+ /**
9073
+ * Creates or updates a Dashboard View record.
9074
+ */
9075
+ function Update(params) {
9076
+ return __awaiter(this, void 0, void 0, function* () {
9077
+ let { view, api, req } = params;
9078
+ if (!api) {
9079
+ api = exports.ENVIRONMENT.Api().GetBruceApi();
9080
+ }
9081
+ req = exports.Api.PrepReqParams(req);
9082
+ let viewId = view.ID;
9083
+ if (!viewId) {
9084
+ viewId = 0;
9085
+ }
9086
+ const res = yield api.POST(`ui.dashboardview/${viewId}`, view, req);
9087
+ return {
9088
+ view: res
9089
+ };
9090
+ });
9091
+ }
9092
+ DashboardView.Update = Update;
9093
+ /**
9094
+ * Deletes a Dashboard View record.
9095
+ * @param params
9096
+ */
9097
+ function Delete(params) {
9098
+ return __awaiter(this, void 0, void 0, function* () {
9099
+ let { viewId, api, req } = params;
9100
+ if (!api) {
9101
+ api = exports.ENVIRONMENT.Api().GetBruceApi();
9102
+ }
9103
+ req = exports.Api.PrepReqParams(req);
9104
+ return yield api.DELETE(`ui.dashboardview/${viewId}`, req);
9105
+ });
9106
+ }
9107
+ DashboardView.Delete = Delete;
9108
+ })(exports.DashboardView || (exports.DashboardView = {}));
9109
+
9028
9110
  (function (Style) {
9029
9111
  /**
9030
9112
  * Types of styles available.
@@ -17113,6 +17195,8 @@
17113
17195
 
17114
17196
  const DEFAULT_JOB_POLL_INTERVAL_MS = 1000;
17115
17197
  const DEFAULT_JOB_POLL_TIMEOUT_MS = 10 * 60 * 1000; // match server timeout (10 minutes)
17198
+ const NAVIGATOR_CHAT_EVENT_ENTITY_HIGHLIGHT_APPLIED = "entity_highlight_applied";
17199
+ const NAVIGATOR_CHAT_EVENT_SCENE_CONTEXT_PREFETCHED = "scene_context_prefetched";
17116
17200
  const DEFAULT_BASE_URL = "http://localhost:8888";
17117
17201
  /**
17118
17202
  * Lightweight client for the Navigator MCP chat HTTP endpoints.
@@ -17409,6 +17493,13 @@
17409
17493
  setAuth(auth) {
17410
17494
  this.currentAuth = auth;
17411
17495
  }
17496
+ sendChatEvent(event) {
17497
+ this.send({
17498
+ jsonrpc: "2.0",
17499
+ method: "chat/event",
17500
+ params: event
17501
+ });
17502
+ }
17412
17503
  logger() {
17413
17504
  var _a;
17414
17505
  return (_a = this.options.logger) !== null && _a !== void 0 ? _a : console;
@@ -17689,7 +17780,7 @@
17689
17780
  })(exports.ChangeSet || (exports.ChangeSet = {}));
17690
17781
 
17691
17782
  // This is updated with the package.json version on build.
17692
- const VERSION = "7.1.31";
17783
+ const VERSION = "7.1.33";
17693
17784
 
17694
17785
  exports.VERSION = VERSION;
17695
17786
  exports.AbstractApi = AbstractApi;
@@ -17698,6 +17789,8 @@
17698
17789
  exports.CacheControl = CacheControl;
17699
17790
  exports.DelayQueue = DelayQueue;
17700
17791
  exports.LRUCache = LRUCache;
17792
+ exports.NAVIGATOR_CHAT_EVENT_ENTITY_HIGHLIGHT_APPLIED = NAVIGATOR_CHAT_EVENT_ENTITY_HIGHLIGHT_APPLIED;
17793
+ exports.NAVIGATOR_CHAT_EVENT_SCENE_CONTEXT_PREFETCHED = NAVIGATOR_CHAT_EVENT_SCENE_CONTEXT_PREFETCHED;
17701
17794
  exports.NavigatorChatClient = NavigatorChatClient;
17702
17795
  exports.NavigatorMcpWebSocketClient = NavigatorMcpWebSocketClient;
17703
17796