bruce-models 6.0.3 → 6.0.4

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.
@@ -10182,14 +10182,21 @@ var Tileset;
10182
10182
  */
10183
10183
  function BakeMetadata(params) {
10184
10184
  return __awaiter(this, void 0, void 0, function* () {
10185
- let { api, tilesetId, req: reqParams } = params;
10185
+ let { api, tilesetId, req: reqParams, entityIds, parentChildIds } = params;
10186
10186
  if (!tilesetId) {
10187
10187
  throw ("Tileset ID is required.");
10188
10188
  }
10189
10189
  if (!api) {
10190
10190
  api = ENVIRONMENT.Api().GetBruceApi();
10191
10191
  }
10192
- return yield api.POST(`v3/tileset/${tilesetId}/bakeMetadata`, Api.PrepReqParams(reqParams));
10192
+ const body = {};
10193
+ if (entityIds === null || entityIds === void 0 ? void 0 : entityIds.length) {
10194
+ body["Entity.ID"] = entityIds;
10195
+ }
10196
+ if (parentChildIds === null || parentChildIds === void 0 ? void 0 : parentChildIds.length) {
10197
+ body["ParentChild.ID"] = parentChildIds;
10198
+ }
10199
+ return yield api.POST(`v3/tileset/${tilesetId}/bakeMetadata`, body, Api.PrepReqParams(reqParams));
10193
10200
  });
10194
10201
  }
10195
10202
  Tileset$$1.BakeMetadata = BakeMetadata;
@@ -15720,7 +15727,7 @@ var Scenario;
15720
15727
  })(Scenario || (Scenario = {}));
15721
15728
 
15722
15729
  // This is updated with the package.json version on build.
15723
- const VERSION = "6.0.3";
15730
+ const VERSION = "6.0.4";
15724
15731
 
15725
15732
  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, 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, Account, AccountInvite, AccountFeatures, AccountLimits, AccountTemplate, AccountType, EncryptUtils, MathUtils, ObjectUtils, PathUtils, UrlUtils, DataLab, DataLabGroup, ImportAssembly, ImportCad, ImportCsv, ImportJson, ImportGeoJson, ImportKml, ImportedFile, ExportBrz, ExportUsd, Markup, Uploader, Plugin, ENVIRONMENT, DataSource, Scenario };
15726
15733
  //# sourceMappingURL=bruce-models.es5.js.map