bruce-models 7.1.39 → 7.1.41

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.
@@ -2319,6 +2319,25 @@ var AnnDocument;
2319
2319
  });
2320
2320
  }
2321
2321
  AnnDocument.Get = Get;
2322
+ /**
2323
+ * Returns the client files available for downloading from an annotated document.
2324
+ */
2325
+ function GetFiles(params) {
2326
+ return __awaiter(this, void 0, void 0, function* () {
2327
+ let { api, docId, req: reqParams } = params;
2328
+ if (!docId) {
2329
+ throw ("Doc ID is required.");
2330
+ }
2331
+ if (!api) {
2332
+ api = ENVIRONMENT.Api().GetBruceApi();
2333
+ }
2334
+ const data = yield api.GET(`documentView/${docId}/files`, Api.PrepReqParams(reqParams));
2335
+ return {
2336
+ clientFiles: data.Items
2337
+ };
2338
+ });
2339
+ }
2340
+ AnnDocument.GetFiles = GetFiles;
2322
2341
  /**
2323
2342
  * Returns a list of annotated documents by type.
2324
2343
  * @param params
@@ -18492,7 +18511,7 @@ var ChangeSet;
18492
18511
  })(ChangeSet || (ChangeSet = {}));
18493
18512
 
18494
18513
  // This is updated with the package.json version on build.
18495
- const VERSION = "7.1.39";
18514
+ const VERSION = "7.1.41";
18496
18515
 
18497
18516
  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, EntityTypeTrigger, EntityType, Entity, EntityCoords, EntityAttribute, EntityHistoricData, EntityTableView, DashboardView, Comment, ClientFile, ProgramKey, ZoomControl, MenuItem, ProjectViewBookmark, ProjectView, ProjectViewLegacyTile, ProjectViewTile, ProjectViewLegacy, ProjectViewLegacyBookmark, ProjectViewBookmarkGroup, PendingAction, MessageBroker, HostingLocation, Style, Tileset, Permission, Session, UserGroup, User, UserMfaMethod, Account, AccountConcept, AccountInvite, AccountFeatures, AccountLimits, AccountTemplate, AccountType, EncryptUtils, MathUtils, ObjectUtils, PathUtils, UrlUtils, DataLab, DataTransform, DataLabGroup, DataFeed, ImportAssembly, ImportCad, ImportCsv, ImportJson, ImportGeoJson, ImportKml, ImportLcc, ImportedFile, ExportBrz, ExportUsd, Markup, Uploader, Plugin, ENVIRONMENT, DataSource, Scenario, Tracking, NAVIGATOR_CHAT_EVENT_ENTITY_HIGHLIGHT_APPLIED, NAVIGATOR_CHAT_EVENT_SCENE_CONTEXT_PREFETCHED, NavigatorChatClient, NavigatorMcpWebSocketClient, ChangeSet };
18498
18517
  //# sourceMappingURL=bruce-models.es5.js.map