bruce-models 5.2.2 → 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: {
@@ -13529,6 +13550,34 @@
13529
13550
  ImportedFile.Get = Get;
13530
13551
  })(exports.ImportedFile || (exports.ImportedFile = {}));
13531
13552
 
13553
+ (function (ExportBrz) {
13554
+ function Export(params) {
13555
+ return __awaiter(this, void 0, void 0, function* () {
13556
+ let { api, fileExport, req: reqParams } = params;
13557
+ if (!api) {
13558
+ api = exports.ENVIRONMENT.Api().GetBruceApi();
13559
+ }
13560
+ fileExport["Type"] = "BRZ";
13561
+ return api.POST("export", fileExport, exports.Api.PrepReqParams(reqParams));
13562
+ });
13563
+ }
13564
+ ExportBrz.Export = Export;
13565
+ })(exports.ExportBrz || (exports.ExportBrz = {}));
13566
+
13567
+ (function (ExportUsd) {
13568
+ function Export(params) {
13569
+ return __awaiter(this, void 0, void 0, function* () {
13570
+ let { api, fileExport, req: reqParams } = params;
13571
+ if (!api) {
13572
+ api = exports.ENVIRONMENT.Api().GetBruceApi();
13573
+ }
13574
+ fileExport["Type"] = "USD";
13575
+ return api.POST("export", fileExport, exports.Api.PrepReqParams(reqParams));
13576
+ });
13577
+ }
13578
+ ExportUsd.Export = Export;
13579
+ })(exports.ExportUsd || (exports.ExportUsd = {}));
13580
+
13532
13581
  /**
13533
13582
  * Description of a "Markup" which is stored in bookmark records.
13534
13583
  */
@@ -14226,7 +14275,7 @@
14226
14275
  })(exports.DataSource || (exports.DataSource = {}));
14227
14276
 
14228
14277
  // This is updated with the package.json version on build.
14229
- const VERSION = "5.2.2";
14278
+ const VERSION = "5.2.4";
14230
14279
 
14231
14280
  exports.VERSION = VERSION;
14232
14281
  exports.AbstractApi = AbstractApi;