bruce-models 7.1.85 → 7.1.86

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.
@@ -8544,11 +8544,12 @@ var ChangeSet;
8544
8544
  */
8545
8545
  function Get(params) {
8546
8546
  return __awaiter(this, void 0, void 0, function* () {
8547
- let { id, api, req: reqParams } = params;
8547
+ let { id, expandCount, api, req: reqParams } = params;
8548
8548
  if (!api) {
8549
8549
  api = ENVIRONMENT.Api().GetBruceApi();
8550
8550
  }
8551
- return yield api.GET(`v3/change/${id}`, Api.PrepReqParams(reqParams));
8551
+ const query = expandCount ? "?Expand=Count" : "";
8552
+ return yield api.GET(`v3/change/${id}${query}`, Api.PrepReqParams(reqParams));
8552
8553
  });
8553
8554
  }
8554
8555
  ChangeSet.Get = Get;
@@ -8558,7 +8559,7 @@ var ChangeSet;
8558
8559
  */
8559
8560
  function GetList(params) {
8560
8561
  return __awaiter(this, void 0, void 0, function* () {
8561
- let { api, req: reqParams, pageSize, pageIndex } = params;
8562
+ let { api, req: reqParams, pageSize, pageIndex, expandCount } = params;
8562
8563
  if (!api) {
8563
8564
  api = ENVIRONMENT.Api().GetBruceApi();
8564
8565
  }
@@ -8569,6 +8570,9 @@ var ChangeSet;
8569
8570
  if (pageIndex != null) {
8570
8571
  urlParams.append("PageIndex", String(pageIndex));
8571
8572
  }
8573
+ if (expandCount) {
8574
+ urlParams.append("Expand", "Count");
8575
+ }
8572
8576
  const query = urlParams.toString();
8573
8577
  return api.GET(query ? `v3/changes?${query}` : "v3/changes", Api.PrepReqParams(reqParams));
8574
8578
  });
@@ -20740,7 +20744,7 @@ var UrlUtils;
20740
20744
  })(UrlUtils || (UrlUtils = {}));
20741
20745
 
20742
20746
  // This is updated with the package.json version on build.
20743
- const VERSION = "7.1.85";
20747
+ const VERSION = "7.1.86";
20744
20748
 
20745
20749
  export { VERSION, Account, AccountAudit, AccountConcept, AccountFeatures, AccountInvite, AccountLimits, AccountTemplate, AccountType, AnnDocument, AbstractApi, Api, ApiGetters, BruceApi, GlobalApi, GuardianApi, Assembly, Calculator, ChangeSet, ClientFile, Bounds, BruceEvent, BruceVariable, CacheControl, Camera, Cartes, Carto, Color, DelayQueue, GeoJson, Geometry, LRUCache, UTC, CustomForm, DashboardView, DataFeed, DataLab, DataLabGroup, DataSource, DataTransform, Comment, Entity, EntityAttachment, EntityAttachmentType, EntityAttribute, EntityComment, EntityCoords, EntityHistoricData, EntityLink, EntityLod, EntityLodCategory, EntityRelation, EntityRelationType, EntitySource, EntityTableView, EntityTag, EntityType, EntityTypeRelation, EntityTypeTrigger, Ontology, OntologyDocument, ENVIRONMENT, ExportBrz, ExportCsv, ExportUsd, Hexbin, ImportAssembly, ImportCad, ImportCsv, ImportGeoJson, ImportJson, ImportKml, ImportLcc, ImportedFile, Uploader, Markup, UIMarkup, NAVIGATOR_CHAT_EVENT_ENTITY_HIGHLIGHT_APPLIED, NAVIGATOR_CHAT_EVENT_SCENE_CONTEXT_PREFETCHED, NavigatorChatClient, NavigatorMcpWebSocketClient, Plugin, ProgramKey, MenuItem, ProjectView, ProjectViewBookmark, ProjectViewBookmarkGroup, ProjectViewLegacy, ProjectViewLegacyBookmark, ProjectViewLegacyTile, ProjectViewTile, ZoomControl, Scenario, HostingLocation, MessageBroker, PendingAction, RecordChangeFeed, Style, Tileset, Tracking, Permission, Session, User, UserGroup, UserMfaMethod, EncryptUtils, MathUtils, ObjectUtils, PathUtils, UrlUtils };
20746
20750
  //# sourceMappingURL=bruce-models.es5.js.map