bruce-models 2.9.1 → 2.9.2

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.
@@ -10269,7 +10269,7 @@ var Session;
10269
10269
  }
10270
10270
  function Get(params) {
10271
10271
  return __awaiter(this, void 0, void 0, function* () {
10272
- let { api, sessionId, req: reqParams } = params;
10272
+ let { api, sessionId, req: reqParams, accountId } = params;
10273
10273
  if (!api) {
10274
10274
  api = ENVIRONMENT.Api().GetGuardianApi();
10275
10275
  }
@@ -10283,7 +10283,7 @@ var Session;
10283
10283
  }
10284
10284
  const prom = new Promise((res, rej) => __awaiter(this, void 0, void 0, function* () {
10285
10285
  try {
10286
- const data = yield api.GET(`session/${sessionId}`, reqParams);
10286
+ const data = yield api.GET(`session/${sessionId}${accountId ? `?account=${accountId}` : ""}`, reqParams);
10287
10287
  res({
10288
10288
  session: data
10289
10289
  });
@@ -11995,7 +11995,7 @@ var DataSource;
11995
11995
  DataSource.GetList = GetList;
11996
11996
  })(DataSource || (DataSource = {}));
11997
11997
 
11998
- const VERSION$1 = "2.9.1";
11998
+ const VERSION$1 = "2.9.2";
11999
11999
 
12000
12000
  export { VERSION$1 as VERSION, AnnDocument, CustomForm, AbstractApi, Api, BruceApi, CamApi, IdmApi, GlobalApi, GuardianApi, ApiGetters, Calculator, Bounds, BruceEvent, CacheControl, Camera, Cartes, Carto, Color, DelayQueue, Geometry, UTC, BruceVariable, LRUCache, EntityAttachmentType, EntityAttachment, EntityComment, EntityLink, EntityLod, EntityLodCategory, EntityRelationType, EntityRelation, EntitySource, EntityTag, EntityType, Entity, EntityGlobe, EntityFilterGetter, BatchedDataGetter, EntityCoords, EntityTypeVisualSettings, EntityAttribute, ClientFile, ProgramKey, ZoomControl, MenuItem, ProjectViewBookmark, ProjectView, ProjectViewLegacyTile, ProjectViewTile, PendingAction, MessageBroker, HostingLocation, Style, Tileset, Permission, Session, UserGroup, User, Account, AccountInvite, EncryptUtils, MathUtils, ObjectUtils, PathUtils, UrlUtils, DataLab, ImportCad, ImportCsv, ImportJson, ImportKml, ImportedFile, Markup, Uploader, Plugin, ENVIRONMENT, DataSource };
12001
12001
  //# sourceMappingURL=bruce-models.es5.js.map