bruce-models 5.4.0 → 5.4.1

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.
@@ -11197,11 +11197,11 @@ var Account;
11197
11197
  */
11198
11198
  function UpdateAppSettings(params) {
11199
11199
  return __awaiter(this, void 0, void 0, function* () {
11200
- let { api, accountId: id, appId, settings: data, req: reqParams } = params;
11200
+ let { api, accountId: id, appId, settings: data, req: reqParams, override } = params;
11201
11201
  if (!api) {
11202
11202
  api = ENVIRONMENT.Api().GetGuardianApi();
11203
11203
  }
11204
- const res = yield api.POST(`account/${id}/applicationSettings/${appId}`, data, reqParams);
11204
+ const res = yield api.POST(`account/${id}/applicationSettings/${appId}?Override=${override ? "true" : "false"}`, data, reqParams);
11205
11205
  api.Cache.RemoveByStartsWith(Api.ECacheKey.Account + Api.ECacheKey.Id + id);
11206
11206
  return {
11207
11207
  settings: res
@@ -12122,7 +12122,7 @@ var User;
12122
12122
  */
12123
12123
  function UpdateSettings(params) {
12124
12124
  return __awaiter(this, void 0, void 0, function* () {
12125
- let { api, accId, userId, appId, settings, req } = params;
12125
+ let { api, accId, userId, appId, settings, req, override } = params;
12126
12126
  if (!userId || !appId) {
12127
12127
  throw ("UserId and appId are required.");
12128
12128
  }
@@ -12135,7 +12135,7 @@ var User;
12135
12135
  ClientAccountID: accId,
12136
12136
  UserID: userId
12137
12137
  };
12138
- const prom = api.POST(`user/${userId}/application/${appId}/settings`, postBody, req);
12138
+ const prom = api.POST(`user/${userId}/application/${appId}/settings?Override=${override ? "true" : "false"}`, postBody, req);
12139
12139
  api.Cache.Remove(GetSettingsCacheKey(userId, appId));
12140
12140
  return prom;
12141
12141
  });
@@ -14741,7 +14741,7 @@ var DataSource;
14741
14741
  })(DataSource || (DataSource = {}));
14742
14742
 
14743
14743
  // This is updated with the package.json version on build.
14744
- const VERSION = "5.4.0";
14744
+ const VERSION = "5.4.1";
14745
14745
 
14746
14746
  export { VERSION, AnnDocument, CustomForm, AbstractApi, Api, BruceApi, GlobalApi, GuardianApi, ApiGetters, Calculator, Bounds, BruceEvent, CacheControl, Camera, Cartes, Carto, Color, DelayQueue, Geometry, UTC, BruceVariable, LRUCache, GeoJson, EntityAttachmentType, EntityAttachment, EntityComment, EntityLink, EntityLod, EntityLodCategory, EntityRelationType, EntityRelation, EntitySource, EntityTag, EntityType, Entity, EntityCoords, EntityTypeVisualSettings, EntityAttribute, EntityHistoricData, EntityTableView, Comment, ClientFile, ProgramKey, ZoomControl, MenuItem, ProjectViewBookmark, ProjectView, ProjectViewLegacyTile, ProjectViewTile, ProjectViewLegacy, ProjectViewLegacyBookmark, PendingAction, MessageBroker, HostingLocation, Style, Tileset, Permission, Session, UserGroup, User, Account, AccountInvite, AccountFeatures, AccountLimits, EncryptUtils, MathUtils, ObjectUtils, PathUtils, UrlUtils, DataLab, DataLabGroup, ImportAssembly, ImportCad, ImportCsv, ImportJson, ImportGeoJson, ImportKml, ImportedFile, ExportBrz, ExportUsd, Markup, Uploader, Plugin, ENVIRONMENT, DataSource };
14747
14747
  //# sourceMappingURL=bruce-models.es5.js.map