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.
@@ -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: {
@@ -13804,6 +13825,36 @@ var ImportedFile;
13804
13825
  ImportedFile.Get = Get;
13805
13826
  })(ImportedFile || (ImportedFile = {}));
13806
13827
 
13828
+ var ExportBrz;
13829
+ (function (ExportBrz) {
13830
+ function Export(params) {
13831
+ return __awaiter(this, void 0, void 0, function* () {
13832
+ let { api, fileExport, req: reqParams } = params;
13833
+ if (!api) {
13834
+ api = ENVIRONMENT.Api().GetBruceApi();
13835
+ }
13836
+ fileExport["Type"] = "BRZ";
13837
+ return api.POST("export", fileExport, Api.PrepReqParams(reqParams));
13838
+ });
13839
+ }
13840
+ ExportBrz.Export = Export;
13841
+ })(ExportBrz || (ExportBrz = {}));
13842
+
13843
+ var ExportUsd;
13844
+ (function (ExportUsd) {
13845
+ function Export(params) {
13846
+ return __awaiter(this, void 0, void 0, function* () {
13847
+ let { api, fileExport, req: reqParams } = params;
13848
+ if (!api) {
13849
+ api = ENVIRONMENT.Api().GetBruceApi();
13850
+ }
13851
+ fileExport["Type"] = "USD";
13852
+ return api.POST("export", fileExport, Api.PrepReqParams(reqParams));
13853
+ });
13854
+ }
13855
+ ExportUsd.Export = Export;
13856
+ })(ExportUsd || (ExportUsd = {}));
13857
+
13807
13858
  /**
13808
13859
  * Description of a "Markup" which is stored in bookmark records.
13809
13860
  */
@@ -14504,7 +14555,7 @@ var DataSource;
14504
14555
  })(DataSource || (DataSource = {}));
14505
14556
 
14506
14557
  // This is updated with the package.json version on build.
14507
- const VERSION = "5.2.2";
14558
+ const VERSION = "5.2.4";
14508
14559
 
14509
- 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, Markup, Uploader, Plugin, ENVIRONMENT, DataSource };
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 };
14510
14561
  //# sourceMappingURL=bruce-models.es5.js.map