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.
@@ -11015,6 +11015,27 @@
11015
11015
  });
11016
11016
  }
11017
11017
  Account.Create = Create;
11018
+ /**
11019
+ * Call to start a cleanup job. Do not start multiple cleanups at once.
11020
+ * @param params
11021
+ * @returns
11022
+ */
11023
+ function Cleanup(params) {
11024
+ return __awaiter(this, void 0, void 0, function* () {
11025
+ let { api, cleanTilesets, cleanPlugins, cleanLODs, cleanClientFiles } = params;
11026
+ if (!api) {
11027
+ api = exports.ENVIRONMENT.Api().GetBruceApi();
11028
+ }
11029
+ const data = yield api.POST("cleanup", {
11030
+ "CleanTilesets": cleanTilesets,
11031
+ "CleanPlugins": cleanPlugins,
11032
+ "CleanLODs": cleanLODs,
11033
+ "CleanClientFiles": cleanClientFiles
11034
+ });
11035
+ return data;
11036
+ });
11037
+ }
11038
+ Account.Cleanup = Cleanup;
11018
11039
  /**
11019
11040
  * Returns cache identifier for an account by ID.
11020
11041
  * Example: {
@@ -14254,7 +14275,7 @@
14254
14275
  })(exports.DataSource || (exports.DataSource = {}));
14255
14276
 
14256
14277
  // This is updated with the package.json version on build.
14257
- const VERSION = "5.2.3";
14278
+ const VERSION = "5.2.4";
14258
14279
 
14259
14280
  exports.VERSION = VERSION;
14260
14281
  exports.AbstractApi = AbstractApi;