bruce-models 5.2.3 → 5.2.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.
@@ -11230,6 +11230,27 @@ var Account;
11230
11230
  });
11231
11231
  }
11232
11232
  Account.Create = Create;
11233
+ /**
11234
+ * Call to start a cleanup job. Do not start multiple cleanups at once.
11235
+ * @param params
11236
+ * @returns
11237
+ */
11238
+ function Cleanup(params) {
11239
+ return __awaiter(this, void 0, void 0, function* () {
11240
+ let { api, cleanTilesets, cleanPlugins, cleanLODs, cleanClientFiles } = params;
11241
+ if (!api) {
11242
+ api = ENVIRONMENT.Api().GetBruceApi();
11243
+ }
11244
+ const data = yield api.POST("cleanup", {
11245
+ "CleanTilesets": cleanTilesets,
11246
+ "CleanPlugins": cleanPlugins,
11247
+ "CleanLODs": cleanLODs,
11248
+ "CleanClientFiles": cleanClientFiles
11249
+ });
11250
+ return data;
11251
+ });
11252
+ }
11253
+ Account.Cleanup = Cleanup;
11233
11254
  /**
11234
11255
  * Returns cache identifier for an account by ID.
11235
11256
  * Example: {
@@ -14534,7 +14555,7 @@ var DataSource;
14534
14555
  })(DataSource || (DataSource = {}));
14535
14556
 
14536
14557
  // This is updated with the package.json version on build.
14537
- const VERSION = "5.2.3";
14558
+ const VERSION = "5.2.4";
14538
14559
 
14539
14560
  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, ImportAssembly, ImportCad, ImportCsv, ImportJson, ImportGeoJson, ImportKml, ImportedFile, ExportBrz, ExportUsd, Markup, Uploader, Plugin, ENVIRONMENT, DataSource };
14540
14561
  //# sourceMappingURL=bruce-models.es5.js.map