bruce-models 7.1.27 → 7.1.28

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.
@@ -4223,7 +4223,7 @@ var Entity;
4223
4223
  */
4224
4224
  function GetListByIds(params) {
4225
4225
  return __awaiter(this, void 0, void 0, function* () {
4226
- let { api, entityIds, scenario, migrated, schemaId, req: reqParams, expandAttachments, expandLODs, expandRelations, expandLocation, expandSources, expandImports, expandComments, expandEntityType, expand: expandStr, historicFrom, historicKey, historicTo, historicPoint, maxSearchTimeSec } = params;
4226
+ let { api, entityIds, scenario, migrated, schemaId, req: reqParams, entityTypeId: typeId, expandAttachments, expandLODs, expandRelations, expandLocation, expandSources, expandImports, expandComments, expandEntityType, expand: expandStr, historicFrom, historicKey, historicTo, historicPoint, maxSearchTimeSec } = params;
4227
4227
  if (!entityIds.length) {
4228
4228
  throw ("Entity IDs are required.");
4229
4229
  }
@@ -4251,6 +4251,7 @@ var Entity;
4251
4251
  historicPoint: historicPoint,
4252
4252
  schemaId: schemaId,
4253
4253
  scenario: scenario,
4254
+ typeId: typeId
4254
4255
  };
4255
4256
  const crashRiskReqs = [];
4256
4257
  const reqIds = [];
@@ -4350,6 +4351,9 @@ var Entity;
4350
4351
  if (scenario) {
4351
4352
  reqData["Scenario"] = scenario;
4352
4353
  }
4354
+ if (typeId) {
4355
+ reqData["Type"] = typeId;
4356
+ }
4353
4357
  const urlParams = new URLSearchParams();
4354
4358
  if (schemaId) {
4355
4359
  urlParams.set("Schema", schemaId);
@@ -5185,7 +5189,7 @@ var Entity;
5185
5189
  * @returns
5186
5190
  */
5187
5191
  function GetCacheKey(params) {
5188
- let { entityId, scenario: scenarioId, entityTypeId, schemaId, expandLocation, expandRelations, expandImports, expandAttachments, expandLODs, expandSources, expandEntityType, expandComments, expand, historicFrom, historicKey, historicTo, historicPoint } = params;
5192
+ let { entityId, scenario: scenarioId, entityTypeId, schemaId, typeId, expandLocation, expandRelations, expandImports, expandAttachments, expandLODs, expandSources, expandEntityType, expandComments, expand, historicFrom, historicKey, historicTo, historicPoint } = params;
5189
5193
  if (!scenarioId) {
5190
5194
  scenarioId = 0;
5191
5195
  }
@@ -5208,12 +5212,16 @@ var Entity;
5208
5212
  if (!schemaId) {
5209
5213
  schemaId = "";
5210
5214
  }
5215
+ if (!typeId) {
5216
+ typeId = "";
5217
+ }
5211
5218
  let key = `${Api.ECacheKey.Entity}${Api.ECacheKey.Id}${entityId}${String(entityTypeId)}${schemaId}`;
5212
5219
  key += `${String(Boolean(expandLocation))}${String(Boolean(expandRelations))}${String(Boolean(expandSources))}${String(Boolean(expandImports))}`;
5213
5220
  key += `${String(Boolean(expandAttachments))}${String(Boolean(expandLODs))}`;
5214
5221
  key += `${Api.ECacheKey.EntityHistoricData}${Api.ECacheKey.Id}${historicKey}-${historicFrom}-${historicTo}-${historicPoint}`;
5215
5222
  key += `${String(Boolean(expandEntityType))}${String(Boolean(expandComments))}${expand || ""}`;
5216
5223
  key += `${Api.ECacheKey.Id}${scenarioId}`;
5224
+ key += `${typeId}`;
5217
5225
  return key;
5218
5226
  }
5219
5227
  Entity.GetCacheKey = GetCacheKey;
@@ -18048,7 +18056,7 @@ var ChangeSet;
18048
18056
  })(ChangeSet || (ChangeSet = {}));
18049
18057
 
18050
18058
  // This is updated with the package.json version on build.
18051
- const VERSION = "7.1.27";
18059
+ const VERSION = "7.1.28";
18052
18060
 
18053
18061
  export { VERSION, Assembly, 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, EntityTypeTrigger, EntityType, Entity, EntityCoords, EntityAttribute, EntityHistoricData, EntityTableView, Comment, ClientFile, ProgramKey, ZoomControl, MenuItem, ProjectViewBookmark, ProjectView, ProjectViewLegacyTile, ProjectViewTile, ProjectViewLegacy, ProjectViewLegacyBookmark, ProjectViewBookmarkGroup, PendingAction, MessageBroker, HostingLocation, Style, Tileset, Permission, Session, UserGroup, User, UserMfaMethod, Account, AccountInvite, AccountFeatures, AccountLimits, AccountTemplate, AccountType, EncryptUtils, MathUtils, ObjectUtils, PathUtils, UrlUtils, DataLab, DataLabGroup, DataFeed, ImportAssembly, ImportCad, ImportCsv, ImportJson, ImportGeoJson, ImportKml, ImportedFile, ExportBrz, ExportUsd, Markup, Uploader, Plugin, ENVIRONMENT, DataSource, Scenario, Tracking, NavigatorChatClient, NavigatorMcpWebSocketClient, ChangeSet };
18054
18062
  //# sourceMappingURL=bruce-models.es5.js.map