bruce-models 6.0.1 → 6.0.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.
@@ -10173,6 +10173,26 @@ var Tileset;
10173
10173
  });
10174
10174
  }
10175
10175
  Tileset$$1.Generate = Generate;
10176
+ /**
10177
+ * Requests to rebake metadata for a given Tileset.
10178
+ * Only supported for Assembly (MODEL) type at the moment.
10179
+ * This will throw an error if no metadata exists and therefor cannot be rebaked.
10180
+ * @param params
10181
+ * @returns
10182
+ */
10183
+ function BakeMetadata(params) {
10184
+ return __awaiter(this, void 0, void 0, function* () {
10185
+ let { api, tilesetId, req: reqParams } = params;
10186
+ if (!tilesetId) {
10187
+ throw ("Tileset ID is required.");
10188
+ }
10189
+ if (!api) {
10190
+ api = ENVIRONMENT.Api().GetBruceApi();
10191
+ }
10192
+ return yield api.POST(`v3/tileset/${tilesetId}/bakeMetadata`, Api.PrepReqParams(reqParams));
10193
+ });
10194
+ }
10195
+ Tileset$$1.BakeMetadata = BakeMetadata;
10176
10196
  /**
10177
10197
  * Utils for publishing the tileset to other Nextspace accounts.
10178
10198
  */
@@ -15700,7 +15720,7 @@ var Scenario;
15700
15720
  })(Scenario || (Scenario = {}));
15701
15721
 
15702
15722
  // This is updated with the package.json version on build.
15703
- const VERSION = "6.0.1";
15723
+ const VERSION = "6.0.3";
15704
15724
 
15705
15725
  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 };
15706
15726
  //# sourceMappingURL=bruce-models.es5.js.map