bruce-models 6.9.5 → 6.9.7

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.
@@ -4378,7 +4378,7 @@ var Entity;
4378
4378
  function GetList(params) {
4379
4379
  var _a;
4380
4380
  return __awaiter(this, void 0, void 0, function* () {
4381
- let { api, filter, scenario, migrated, schemaId, req: reqParams, viaCdn, viaCdnCacheToken, analysis, expandRelations, expandImports, expandLocation, expandSources, expandComments, expandEntityType, expand: expandStr, historicFrom, historicKey, historicTo, historicPoint, maxSearchTimeSec } = params;
4381
+ let { api, filter, scenario, migrated, schemaId, req: reqParams, viaCdn, viaCdnCacheToken, analysis, expandRelations, expandImports, expandLocation, expandSources, expandComments, expandEntityType, expand: expandStr, expandAttachments, historicFrom, historicKey, historicTo, historicPoint, maxSearchTimeSec } = params;
4382
4382
  if (!api) {
4383
4383
  api = ENVIRONMENT.Api().GetBruceApi();
4384
4384
  }
@@ -4429,7 +4429,7 @@ var Entity;
4429
4429
  ExpandSources: expandSources,
4430
4430
  Scenario: scenario
4431
4431
  };
4432
- if (expandLocation || expandRelations || expandImports || expandEntityType || expandComments || expandStr) {
4432
+ if (expandLocation || expandRelations || expandImports || expandEntityType || expandComments || expandStr || expandAttachments) {
4433
4433
  let expand = "";
4434
4434
  if (expandLocation) {
4435
4435
  expand += "location";
@@ -4458,6 +4458,12 @@ var Entity;
4458
4458
  }
4459
4459
  expand += "comment";
4460
4460
  }
4461
+ if (expandAttachments) {
4462
+ if (expand) {
4463
+ expand += ",";
4464
+ }
4465
+ expand += "attachment";
4466
+ }
4461
4467
  if (expandStr) {
4462
4468
  if (expand) {
4463
4469
  expand += ",";
@@ -4473,6 +4479,7 @@ var Entity;
4473
4479
  let imports;
4474
4480
  let sources;
4475
4481
  let entityTypeSources;
4482
+ let entityTypes;
4476
4483
  let nextPage;
4477
4484
  let nextPageUrl;
4478
4485
  if (analysis || expandRelations || (viaCdn && api.GetCdnBaseUrl())) {
@@ -4536,6 +4543,12 @@ var Entity;
4536
4543
  }
4537
4544
  expand += "Comment";
4538
4545
  }
4546
+ if (expandAttachments) {
4547
+ if (expand.length) {
4548
+ expand += ",";
4549
+ }
4550
+ expand += "Attachment";
4551
+ }
4539
4552
  if (expandStr) {
4540
4553
  if (expand.length) {
4541
4554
  expand += ",";
@@ -4581,6 +4594,7 @@ var Entity;
4581
4594
  imports = data.Imports;
4582
4595
  sources = data.Source;
4583
4596
  entityTypeSources = data["EntityType.Source"];
4597
+ entityTypes = data["EntityType"];
4584
4598
  nextPage = data.NextPage;
4585
4599
  nextPageUrl = data.NextPageURL;
4586
4600
  }
@@ -4623,6 +4637,12 @@ var Entity;
4623
4637
  }
4624
4638
  expand += "Comment";
4625
4639
  }
4640
+ if (expandAttachments) {
4641
+ if (expand.length) {
4642
+ expand += ",";
4643
+ }
4644
+ expand += "Attachment";
4645
+ }
4626
4646
  if (expandStr) {
4627
4647
  if (expand.length) {
4628
4648
  expand += ",";
@@ -4665,6 +4685,11 @@ var Entity;
4665
4685
  expandLocation,
4666
4686
  expandImports,
4667
4687
  expandSources,
4688
+ expandAttachments,
4689
+ expandEntityType,
4690
+ expandComments,
4691
+ expand: expandStr,
4692
+ historicPoint: historicPoint,
4668
4693
  entityTypeId: typeIdCacheKey,
4669
4694
  historicFrom: historicFrom,
4670
4695
  historicKey: historicKey,
@@ -4685,6 +4710,7 @@ var Entity;
4685
4710
  nextPageUrl = data.NextPageURL;
4686
4711
  sources = data.Source;
4687
4712
  entityTypeSources = data["EntityType.Source"];
4713
+ entityTypes = data["EntityType"];
4688
4714
  }
4689
4715
  // Callback to get the next page.
4690
4716
  let getNextPage;
@@ -4711,7 +4737,8 @@ var Entity;
4711
4737
  nextPageUrl: data.NextPageURL,
4712
4738
  getNextPage: nextPageUrl ? getNextPage : null,
4713
4739
  sources: data.Source,
4714
- entityTypeSources: data["EntityType.Source"]
4740
+ entityTypeSources: data["EntityType.Source"],
4741
+ entityTypes: data["EntityType"]
4715
4742
  };
4716
4743
  });
4717
4744
  }
@@ -4723,7 +4750,8 @@ var Entity;
4723
4750
  nextPageUrl,
4724
4751
  getNextPage,
4725
4752
  sources,
4726
- entityTypeSources
4753
+ entityTypeSources,
4754
+ entityTypes
4727
4755
  };
4728
4756
  });
4729
4757
  }
@@ -9231,7 +9259,6 @@ var Uploader;
9231
9259
  };
9232
9260
  data = yield api.UPLOAD(url, partialFile, reqParams);
9233
9261
  retryCount = 0;
9234
- uploaded += partSize;
9235
9262
  // Flush the pending upload.
9236
9263
  const pendingLoaded = uploadedPending.get(filePartIndex) || 0;
9237
9264
  uploaded += pendingLoaded;
@@ -16953,7 +16980,7 @@ class NavigatorMcpWebSocketClient {
16953
16980
  }
16954
16981
 
16955
16982
  // This is updated with the package.json version on build.
16956
- const VERSION = "6.9.5";
16983
+ const VERSION = "6.9.7";
16957
16984
 
16958
16985
  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, EntityType, Entity, EntityCoords, EntityAttribute, EntityHistoricData, EntityTableView, Comment, ClientFile, ProgramKey, ZoomControl, MenuItem, ProjectViewBookmark, ProjectView, ProjectViewLegacyTile, ProjectViewTile, ProjectViewLegacy, ProjectViewLegacyBookmark, ProjectViewBookmarkGroup, PendingAction, MessageBroker, HostingLocation, Style, Tileset, Permission, Session, UserGroup, User, UserMfaMethod, Account, AccountInvite, AccountFeatures, AccountLimits, AccountTemplate, AccountType, EncryptUtils, MathUtils, ObjectUtils, PathUtils, UrlUtils, DataLab, DataLabGroup, ImportAssembly, ImportCad, ImportCsv, ImportJson, ImportGeoJson, ImportKml, ImportedFile, ExportBrz, ExportUsd, Markup, Uploader, Plugin, ENVIRONMENT, DataSource, Scenario, Tracking, NavigatorChatClient, NavigatorMcpWebSocketClient };
16959
16986
  //# sourceMappingURL=bruce-models.es5.js.map