bruce-models 4.9.8 → 4.9.9

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.
Files changed (68) hide show
  1. package/dist/bruce-models.es5.js +174 -156
  2. package/dist/bruce-models.es5.js.map +1 -1
  3. package/dist/bruce-models.umd.js +174 -156
  4. package/dist/bruce-models.umd.js.map +1 -1
  5. package/dist/lib/account/account-features.js +1 -1
  6. package/dist/lib/account/account-features.js.map +1 -1
  7. package/dist/lib/account/account.js +11 -11
  8. package/dist/lib/account/account.js.map +1 -1
  9. package/dist/lib/ann-document/ann-document.js +4 -4
  10. package/dist/lib/ann-document/ann-document.js.map +1 -1
  11. package/dist/lib/api/abstract-api.js +1 -1
  12. package/dist/lib/api/abstract-api.js.map +1 -1
  13. package/dist/lib/api/api-getters.js +12 -3
  14. package/dist/lib/api/api-getters.js.map +1 -1
  15. package/dist/lib/bruce-models.js +1 -1
  16. package/dist/lib/client-file/client-file.js +2 -2
  17. package/dist/lib/client-file/client-file.js.map +1 -1
  18. package/dist/lib/custom-form/custom-form.js +6 -6
  19. package/dist/lib/custom-form/custom-form.js.map +1 -1
  20. package/dist/lib/data-source/data-source.js +6 -6
  21. package/dist/lib/data-source/data-source.js.map +1 -1
  22. package/dist/lib/entity/entity-attachment-type.js +2 -2
  23. package/dist/lib/entity/entity-attachment-type.js.map +1 -1
  24. package/dist/lib/entity/entity-attachment.js +6 -6
  25. package/dist/lib/entity/entity-attachment.js.map +1 -1
  26. package/dist/lib/entity/entity-comment.js +4 -4
  27. package/dist/lib/entity/entity-comment.js.map +1 -1
  28. package/dist/lib/entity/entity-coords.js +2 -2
  29. package/dist/lib/entity/entity-coords.js.map +1 -1
  30. package/dist/lib/entity/entity-link.js +4 -4
  31. package/dist/lib/entity/entity-link.js.map +1 -1
  32. package/dist/lib/entity/entity-lod-category.js +4 -4
  33. package/dist/lib/entity/entity-lod-category.js.map +1 -1
  34. package/dist/lib/entity/entity-lod.js +6 -6
  35. package/dist/lib/entity/entity-lod.js.map +1 -1
  36. package/dist/lib/entity/entity-relation-type.js +4 -4
  37. package/dist/lib/entity/entity-relation-type.js.map +1 -1
  38. package/dist/lib/entity/entity-relation.js +15 -15
  39. package/dist/lib/entity/entity-relation.js.map +1 -1
  40. package/dist/lib/entity/entity-source.js +2 -2
  41. package/dist/lib/entity/entity-source.js.map +1 -1
  42. package/dist/lib/entity/entity-tag.js +5 -5
  43. package/dist/lib/entity/entity-tag.js.map +1 -1
  44. package/dist/lib/entity/entity-type.js +4 -4
  45. package/dist/lib/entity/entity-type.js.map +1 -1
  46. package/dist/lib/environment.js +1 -1
  47. package/dist/lib/environment.js.map +1 -1
  48. package/dist/lib/import/imported-file.js +6 -6
  49. package/dist/lib/import/imported-file.js.map +1 -1
  50. package/dist/lib/plugin/plugin.js +4 -4
  51. package/dist/lib/plugin/plugin.js.map +1 -1
  52. package/dist/lib/program-key/program-key.js +4 -4
  53. package/dist/lib/program-key/program-key.js.map +1 -1
  54. package/dist/lib/project/project-view-bookmark.js +6 -6
  55. package/dist/lib/project/project-view-bookmark.js.map +1 -1
  56. package/dist/lib/project/project-view.js +4 -4
  57. package/dist/lib/project/project-view.js.map +1 -1
  58. package/dist/lib/style/style.js +4 -4
  59. package/dist/lib/style/style.js.map +1 -1
  60. package/dist/lib/tileset/tileset.js +15 -15
  61. package/dist/lib/tileset/tileset.js.map +1 -1
  62. package/dist/lib/user/session.js +2 -2
  63. package/dist/lib/user/session.js.map +1 -1
  64. package/dist/lib/user/user.js +26 -17
  65. package/dist/lib/user/user.js.map +1 -1
  66. package/dist/types/api/api-getters.d.ts +1 -0
  67. package/dist/types/bruce-models.d.ts +1 -1
  68. package/package.json +1 -1
@@ -368,7 +368,7 @@ class AbstractApi {
368
368
  if (noCache) {
369
369
  return;
370
370
  }
371
- if (isNaN(duration)) {
371
+ if (isNaN(duration) || duration == null) {
372
372
  duration = Api.DEFAULT_CACHE_DURATION;
373
373
  }
374
374
  this.Cache.Set({
@@ -1399,6 +1399,15 @@ class ApiGetters {
1399
1399
  this.env = (params === null || params === void 0 ? void 0 : params.env) ? params.env : Api.EEnv.PROD;
1400
1400
  this.sessionId = params === null || params === void 0 ? void 0 : params.sessionId;
1401
1401
  }
1402
+ prepEnv(_env) {
1403
+ if (!_env) {
1404
+ _env = this.env;
1405
+ }
1406
+ if (!_env) {
1407
+ _env = Api.EEnv.PROD;
1408
+ }
1409
+ return _env.toUpperCase();
1410
+ }
1402
1411
  /**
1403
1412
  * Clears all cache items in all API instances.
1404
1413
  */
@@ -1489,7 +1498,7 @@ class ApiGetters {
1489
1498
  }
1490
1499
  let { accountId, env, loadConfig, loadWebSocket } = params;
1491
1500
  accountId = accountId ? accountId : this.accountId;
1492
- env = env ? env : this.env;
1501
+ env = this.prepEnv(env);
1493
1502
  const key = `${accountId}-${env}`;
1494
1503
  if (!this.bruce[key]) {
1495
1504
  this.bruce[key] = new BruceApi.Api({
@@ -1533,7 +1542,7 @@ class ApiGetters {
1533
1542
  params = {};
1534
1543
  }
1535
1544
  let { env } = params;
1536
- env = env ? env : this.env;
1545
+ env = this.prepEnv(env);
1537
1546
  const key = `${env}`;
1538
1547
  if (!this.global[key]) {
1539
1548
  this.global[key] = new GlobalApi.Api({
@@ -1553,7 +1562,7 @@ class ApiGetters {
1553
1562
  params = {};
1554
1563
  }
1555
1564
  let { env } = params;
1556
- env = env ? env : this.env;
1565
+ env = this.prepEnv(env);
1557
1566
  const key = `${env}`;
1558
1567
  if (!this.guardian[key]) {
1559
1568
  this.guardian[key] = new GuardianApi.Api({
@@ -1657,7 +1666,7 @@ var ENVIRONMENT;
1657
1666
  if (!_getters) {
1658
1667
  _getters = new ApiGetters({
1659
1668
  accountId: ENVIRONMENT.PARAMS.accountId,
1660
- env: ENVIRONMENT.PARAMS.env ? ENVIRONMENT.PARAMS.env : Api.EEnv.UAT,
1669
+ env: ENVIRONMENT.PARAMS.env ? ENVIRONMENT.PARAMS.env : Api.EEnv.PROD,
1661
1670
  sessionId: ENVIRONMENT.PARAMS.sessionId
1662
1671
  });
1663
1672
  }
@@ -1719,7 +1728,7 @@ var AnnDocument;
1719
1728
  api = ENVIRONMENT.Api().GetBruceApi();
1720
1729
  }
1721
1730
  const key = GetCacheKey(docId);
1722
- const cache = yield api.GetCacheItem(key, reqParams);
1731
+ const cache = api.GetCacheItem(key, reqParams);
1723
1732
  if (cache === null || cache === void 0 ? void 0 : cache.found) {
1724
1733
  return cache.data;
1725
1734
  }
@@ -1734,7 +1743,7 @@ var AnnDocument;
1734
1743
  rej(e);
1735
1744
  }
1736
1745
  }));
1737
- yield api.SetCacheItem({
1746
+ api.SetCacheItem({
1738
1747
  key,
1739
1748
  value: prom,
1740
1749
  req: reqParams
@@ -1757,7 +1766,7 @@ var AnnDocument;
1757
1766
  if (!type) {
1758
1767
  type = "";
1759
1768
  }
1760
- const cache = yield api.GetCacheItem(GetListCacheKey(type, entityId, expandSettings), reqParams);
1769
+ const cache = api.GetCacheItem(GetListCacheKey(type, entityId, expandSettings), reqParams);
1761
1770
  if (cache === null || cache === void 0 ? void 0 : cache.found) {
1762
1771
  return cache.data;
1763
1772
  }
@@ -1783,7 +1792,7 @@ var AnnDocument;
1783
1792
  rej(e);
1784
1793
  }
1785
1794
  }));
1786
- yield api.SetCacheItem({
1795
+ api.SetCacheItem({
1787
1796
  key: GetListCacheKey(type, entityId, expandSettings),
1788
1797
  value: req,
1789
1798
  req: reqParams
@@ -1861,7 +1870,7 @@ var CustomForm;
1861
1870
  if (!api) {
1862
1871
  api = ENVIRONMENT.Api().GetBruceApi();
1863
1872
  }
1864
- const cache = yield api.GetCacheItem(GetCacheKey(id), reqParams);
1873
+ const cache = api.GetCacheItem(GetCacheKey(id), reqParams);
1865
1874
  if (cache === null || cache === void 0 ? void 0 : cache.found) {
1866
1875
  return cache.data;
1867
1876
  }
@@ -1876,7 +1885,7 @@ var CustomForm;
1876
1885
  rej(err);
1877
1886
  }
1878
1887
  }));
1879
- yield api.SetCacheItem({
1888
+ api.SetCacheItem({
1880
1889
  key: GetCacheKey(id),
1881
1890
  value: prom,
1882
1891
  req: reqParams
@@ -1899,7 +1908,7 @@ var CustomForm;
1899
1908
  api = ENVIRONMENT.Api().GetBruceApi();
1900
1909
  }
1901
1910
  yield api.DELETE(`customForm/${id}`, Api.PrepReqParams(reqParams));
1902
- yield api.Cache.RemoveByStartsWith(Api.ECacheKey.CustomForm);
1911
+ api.Cache.RemoveByStartsWith(Api.ECacheKey.CustomForm);
1903
1912
  });
1904
1913
  }
1905
1914
  CustomForm.Delete = Delete;
@@ -1915,7 +1924,7 @@ var CustomForm;
1915
1924
  api = ENVIRONMENT.Api().GetBruceApi();
1916
1925
  }
1917
1926
  const url = typeId ? `entityType/${typeId}/customForms` : "customForms";
1918
- const cache = yield api.GetCacheItem(GetListCacheKey(typeId), reqParams);
1927
+ const cache = api.GetCacheItem(GetListCacheKey(typeId), reqParams);
1919
1928
  if (cache === null || cache === void 0 ? void 0 : cache.found) {
1920
1929
  return cache.data;
1921
1930
  }
@@ -1925,7 +1934,7 @@ var CustomForm;
1925
1934
  forms: data.Items
1926
1935
  };
1927
1936
  });
1928
- yield api.SetCacheItem({
1937
+ api.SetCacheItem({
1929
1938
  key: GetListCacheKey(typeId),
1930
1939
  value: prom,
1931
1940
  req: reqParams
@@ -1949,7 +1958,7 @@ var CustomForm;
1949
1958
  data.ID = 0;
1950
1959
  }
1951
1960
  const res = yield api.POST(`customForm/${data.ID}`, data, Api.PrepReqParams(reqParams));
1952
- yield api.Cache.RemoveByStartsWith(Api.ECacheKey.CustomForm);
1961
+ api.Cache.RemoveByStartsWith(Api.ECacheKey.CustomForm);
1953
1962
  return {
1954
1963
  form: res
1955
1964
  };
@@ -2407,7 +2416,7 @@ var EntityType;
2407
2416
  api = ENVIRONMENT.Api().GetBruceApi();
2408
2417
  }
2409
2418
  const key = GetCacheKey(typeId);
2410
- const cache = yield api.GetCacheItem(key, reqParams);
2419
+ const cache = api.GetCacheItem(key, reqParams);
2411
2420
  if (cache === null || cache === void 0 ? void 0 : cache.found) {
2412
2421
  return cache.data;
2413
2422
  }
@@ -2423,7 +2432,7 @@ var EntityType;
2423
2432
  rej(e);
2424
2433
  }
2425
2434
  }));
2426
- yield api.SetCacheItem({
2435
+ api.SetCacheItem({
2427
2436
  key,
2428
2437
  value: prom,
2429
2438
  req: reqParams
@@ -2462,7 +2471,7 @@ var EntityType;
2462
2471
  if (!api) {
2463
2472
  api = ENVIRONMENT.Api().GetBruceApi();
2464
2473
  }
2465
- const cache = yield api.GetCacheItem(GetListCacheKey({
2474
+ const cache = api.GetCacheItem(GetListCacheKey({
2466
2475
  typeIds: entityTypeIds,
2467
2476
  parentTypeId,
2468
2477
  expandSettings,
@@ -2528,7 +2537,7 @@ var EntityType;
2528
2537
  }
2529
2538
  }));
2530
2539
  if (!parentTypeId) {
2531
- yield api.SetCacheItem({
2540
+ api.SetCacheItem({
2532
2541
  key: GetListCacheKey({
2533
2542
  typeIds: entityTypeIds,
2534
2543
  parentTypeId,
@@ -5611,7 +5620,7 @@ var EntityAttachmentType;
5611
5620
  if (!api) {
5612
5621
  api = ENVIRONMENT.Api().GetBruceApi();
5613
5622
  }
5614
- const cache = yield api.GetCacheItem(GetListCacheKey(), reqParams);
5623
+ const cache = api.GetCacheItem(GetListCacheKey(), reqParams);
5615
5624
  if (cache === null || cache === void 0 ? void 0 : cache.found) {
5616
5625
  return cache.data;
5617
5626
  }
@@ -5626,7 +5635,7 @@ var EntityAttachmentType;
5626
5635
  rej(e);
5627
5636
  }
5628
5637
  }));
5629
- yield api.SetCacheItem({
5638
+ api.SetCacheItem({
5630
5639
  key: GetListCacheKey(),
5631
5640
  value: req,
5632
5641
  req: reqParams
@@ -5696,7 +5705,7 @@ var EntityAttachment;
5696
5705
  api.Cache.Remove(GetCacheKey(attachments[i].ID));
5697
5706
  }
5698
5707
  }
5699
- yield api.Cache.Remove(GetListCacheKey(entityId));
5708
+ api.Cache.Remove(GetListCacheKey(entityId));
5700
5709
  return {
5701
5710
  attachments: res.attachments
5702
5711
  };
@@ -5727,7 +5736,7 @@ var EntityAttachment;
5727
5736
  for (let i = 0; i < attachments.length; i++) {
5728
5737
  api.Cache.Remove(GetCacheKey(attachments[i].ID));
5729
5738
  }
5730
- yield api.Cache.RemoveByStartsWith(GetListCacheKey(entityId));
5739
+ api.Cache.RemoveByStartsWith(GetListCacheKey(entityId));
5731
5740
  });
5732
5741
  }
5733
5742
  EntityAttachment.UpdateOrder = UpdateOrder;
@@ -5745,8 +5754,8 @@ var EntityAttachment;
5745
5754
  api = ENVIRONMENT.Api().GetBruceApi();
5746
5755
  }
5747
5756
  yield api.DELETE(`entity/${entityId}/attachments/${attachmentId}`, Api.PrepReqParams(req));
5748
- yield api.Cache.Remove(GetCacheKey(attachmentId));
5749
- yield api.Cache.Remove(GetListCacheKey(params.entityId));
5757
+ api.Cache.Remove(GetCacheKey(attachmentId));
5758
+ api.Cache.Remove(GetListCacheKey(params.entityId));
5750
5759
  });
5751
5760
  }
5752
5761
  EntityAttachment.Delete = Delete;
@@ -5764,7 +5773,7 @@ var EntityAttachment;
5764
5773
  if (!api) {
5765
5774
  api = ENVIRONMENT.Api().GetBruceApi();
5766
5775
  }
5767
- const cache = yield api.GetCacheItem(GetListCacheKey(entityId), reqParams);
5776
+ const cache = api.GetCacheItem(GetListCacheKey(entityId), reqParams);
5768
5777
  if (cache === null || cache === void 0 ? void 0 : cache.found) {
5769
5778
  return cache.data;
5770
5779
  }
@@ -5779,7 +5788,7 @@ var EntityAttachment;
5779
5788
  rej(e);
5780
5789
  }
5781
5790
  }));
5782
- yield api.SetCacheItem({
5791
+ api.SetCacheItem({
5783
5792
  key: GetListCacheKey(entityId),
5784
5793
  value: req,
5785
5794
  req: reqParams
@@ -5868,7 +5877,7 @@ var EntityComment;
5868
5877
  const url = `entity/${data["TargetObject.ID"]}/comment` + (data.ID == null ? "" : "/" + data.ID);
5869
5878
  const res = yield api.POST(url, data, Api.PrepReqParams(reqParams));
5870
5879
  api.Cache.Remove(GetCacheKey(data.ID));
5871
- yield api.Cache.RemoveByStartsWith(Api.ECacheKey.Comment + Api.ECacheKey.Entity);
5880
+ api.Cache.RemoveByStartsWith(Api.ECacheKey.Comment + Api.ECacheKey.Entity);
5872
5881
  return {
5873
5882
  comment: res
5874
5883
  };
@@ -5890,7 +5899,7 @@ var EntityComment;
5890
5899
  }
5891
5900
  yield api.DELETE(`entity/${entityId}/comment/${commentId}`, Api.PrepReqParams(reqParams));
5892
5901
  api.Cache.Remove(GetCacheKey(commentId));
5893
- yield api.Cache.RemoveByStartsWith(Api.ECacheKey.Comment + Api.ECacheKey.Entity);
5902
+ api.Cache.RemoveByStartsWith(Api.ECacheKey.Comment + Api.ECacheKey.Entity);
5894
5903
  });
5895
5904
  }
5896
5905
  EntityComment.Delete = Delete;
@@ -5908,7 +5917,7 @@ var EntityComment;
5908
5917
  if (!api) {
5909
5918
  api = ENVIRONMENT.Api().GetBruceApi();
5910
5919
  }
5911
- const cache = yield api.GetCacheItem(GetListCacheKey(entityId), reqParams);
5920
+ const cache = api.GetCacheItem(GetListCacheKey(entityId), reqParams);
5912
5921
  if (cache === null || cache === void 0 ? void 0 : cache.found) {
5913
5922
  return cache.data;
5914
5923
  }
@@ -5923,7 +5932,7 @@ var EntityComment;
5923
5932
  rej(e);
5924
5933
  }
5925
5934
  }));
5926
- yield api.SetCacheItem({
5935
+ api.SetCacheItem({
5927
5936
  key: GetListCacheKey(entityId),
5928
5937
  value: req,
5929
5938
  req: reqParams
@@ -5985,7 +5994,7 @@ var EntityLink;
5985
5994
  const url = `entity/${data["Entity.ID"]}/link` + (data.ID == null ? "" : "/" + data.ID);
5986
5995
  const res = yield api.POST(url, data, Api.PrepReqParams(reqParams));
5987
5996
  api.Cache.Remove(GetCacheKey(data.ID));
5988
- yield api.Cache.RemoveByStartsWith(Api.ECacheKey.Link + Api.ECacheKey.Entity);
5997
+ api.Cache.RemoveByStartsWith(Api.ECacheKey.Link + Api.ECacheKey.Entity);
5989
5998
  return {
5990
5999
  link: res
5991
6000
  };
@@ -6007,7 +6016,7 @@ var EntityLink;
6007
6016
  }
6008
6017
  yield api.DELETE(`entity/${entityId}/link/${linkId}`, Api.PrepReqParams(reqParams));
6009
6018
  api.Cache.Remove(GetCacheKey(linkId));
6010
- yield api.Cache.RemoveByStartsWith(Api.ECacheKey.Link + Api.ECacheKey.Entity);
6019
+ api.Cache.RemoveByStartsWith(Api.ECacheKey.Link + Api.ECacheKey.Entity);
6011
6020
  });
6012
6021
  }
6013
6022
  EntityLink.Delete = Delete;
@@ -6025,7 +6034,7 @@ var EntityLink;
6025
6034
  if (!api) {
6026
6035
  api = ENVIRONMENT.Api().GetBruceApi();
6027
6036
  }
6028
- const cache = yield api.GetCacheItem(GetListCacheKey(entityId), reqParams);
6037
+ const cache = api.GetCacheItem(GetListCacheKey(entityId), reqParams);
6029
6038
  if (cache === null || cache === void 0 ? void 0 : cache.found) {
6030
6039
  return cache.data;
6031
6040
  }
@@ -6040,7 +6049,7 @@ var EntityLink;
6040
6049
  rej(e);
6041
6050
  }
6042
6051
  }));
6043
- yield api.SetCacheItem({
6052
+ api.SetCacheItem({
6044
6053
  key: GetListCacheKey(entityId),
6045
6054
  value: req,
6046
6055
  req: reqParams
@@ -6130,7 +6139,7 @@ var EntityLod;
6130
6139
  if (!api) {
6131
6140
  api = ENVIRONMENT.Api().GetBruceApi();
6132
6141
  }
6133
- const cache = yield api.GetCacheItem(GetCacheKey(url), reqParams);
6142
+ const cache = api.GetCacheItem(GetCacheKey(url), reqParams);
6134
6143
  if (cache === null || cache === void 0 ? void 0 : cache.found) {
6135
6144
  return cache.data;
6136
6145
  }
@@ -6145,7 +6154,7 @@ var EntityLod;
6145
6154
  rej(e);
6146
6155
  }
6147
6156
  }));
6148
- yield api.SetCacheItem({
6157
+ api.SetCacheItem({
6149
6158
  key: GetCacheKey(url),
6150
6159
  value: req,
6151
6160
  req: reqParams
@@ -6192,7 +6201,7 @@ var EntityLod;
6192
6201
  if (!entityId) {
6193
6202
  throw ("Entity id is required.");
6194
6203
  }
6195
- const cache = yield api.GetCacheItem(GetEntityListKey(entityId), reqParams);
6204
+ const cache = api.GetCacheItem(GetEntityListKey(entityId), reqParams);
6196
6205
  if (cache === null || cache === void 0 ? void 0 : cache.found) {
6197
6206
  return cache.data;
6198
6207
  }
@@ -6208,7 +6217,7 @@ var EntityLod;
6208
6217
  rej(e);
6209
6218
  }
6210
6219
  }));
6211
- yield api.SetCacheItem({
6220
+ api.SetCacheItem({
6212
6221
  key: GetEntityListKey(entityId),
6213
6222
  value: prom,
6214
6223
  req: reqParams
@@ -6230,7 +6239,7 @@ var EntityLod;
6230
6239
  if (!group) {
6231
6240
  group = "DEFAULT";
6232
6241
  }
6233
- const cache = yield api.GetCacheItem(GetTypeListKey(typeId, group), reqParams);
6242
+ const cache = api.GetCacheItem(GetTypeListKey(typeId, group), reqParams);
6234
6243
  if (cache === null || cache === void 0 ? void 0 : cache.found) {
6235
6244
  return cache.data;
6236
6245
  }
@@ -6247,7 +6256,7 @@ var EntityLod;
6247
6256
  rej(e);
6248
6257
  }
6249
6258
  }));
6250
- yield api.SetCacheItem({
6259
+ api.SetCacheItem({
6251
6260
  key: GetTypeListKey(typeId, group),
6252
6261
  value: prom,
6253
6262
  req: reqParams
@@ -6366,7 +6375,7 @@ var EntityLodCategory;
6366
6375
  if (!api) {
6367
6376
  api = ENVIRONMENT.Api().GetBruceApi();
6368
6377
  }
6369
- const cache = yield api.GetCacheItem(GetListCacheKey(), reqParams);
6378
+ const cache = api.GetCacheItem(GetListCacheKey(), reqParams);
6370
6379
  if (cache === null || cache === void 0 ? void 0 : cache.found) {
6371
6380
  return cache.data;
6372
6381
  }
@@ -6381,7 +6390,7 @@ var EntityLodCategory;
6381
6390
  rej(e);
6382
6391
  }
6383
6392
  }));
6384
- yield api.SetCacheItem({
6393
+ api.SetCacheItem({
6385
6394
  key: GetListCacheKey(),
6386
6395
  value: req,
6387
6396
  req: reqParams
@@ -6404,7 +6413,7 @@ var EntityLodCategory;
6404
6413
  if (!api) {
6405
6414
  api = ENVIRONMENT.Api().GetBruceApi();
6406
6415
  }
6407
- const cache = yield api.GetCacheItem(GetCacheKey(id), reqParams);
6416
+ const cache = api.GetCacheItem(GetCacheKey(id), reqParams);
6408
6417
  if (cache === null || cache === void 0 ? void 0 : cache.found) {
6409
6418
  return cache.data;
6410
6419
  }
@@ -6419,7 +6428,7 @@ var EntityLodCategory;
6419
6428
  rej(e);
6420
6429
  }
6421
6430
  }));
6422
- yield api.SetCacheItem({
6431
+ api.SetCacheItem({
6423
6432
  key: GetCacheKey(id),
6424
6433
  value: req,
6425
6434
  req: reqParams
@@ -6520,7 +6529,7 @@ var EntityRelationType;
6520
6529
  api = ENVIRONMENT.Api().GetBruceApi();
6521
6530
  }
6522
6531
  const key = GetCacheKey(typeId);
6523
- const cache = yield api.GetCacheItem(key, reqParams);
6532
+ const cache = api.GetCacheItem(key, reqParams);
6524
6533
  if (cache === null || cache === void 0 ? void 0 : cache.found) {
6525
6534
  return cache.data;
6526
6535
  }
@@ -6535,7 +6544,7 @@ var EntityRelationType;
6535
6544
  rej(e);
6536
6545
  }
6537
6546
  }));
6538
- yield api.SetCacheItem({
6547
+ api.SetCacheItem({
6539
6548
  key,
6540
6549
  value: prom,
6541
6550
  req: reqParams
@@ -6574,7 +6583,7 @@ var EntityRelationType;
6574
6583
  if (!api) {
6575
6584
  api = ENVIRONMENT.Api().GetBruceApi();
6576
6585
  }
6577
- const cache = yield api.GetCacheItem(GetListCacheKey(), reqParams);
6586
+ const cache = api.GetCacheItem(GetListCacheKey(), reqParams);
6578
6587
  if (cache === null || cache === void 0 ? void 0 : cache.found) {
6579
6588
  return cache.data;
6580
6589
  }
@@ -6589,7 +6598,7 @@ var EntityRelationType;
6589
6598
  rej(e);
6590
6599
  }
6591
6600
  }));
6592
- yield api.SetCacheItem({
6601
+ api.SetCacheItem({
6593
6602
  key: GetListCacheKey(),
6594
6603
  value: req,
6595
6604
  req: reqParams
@@ -6678,11 +6687,11 @@ var EntityRelation;
6678
6687
  };
6679
6688
  const url = `entity/${data["Principal.Entity.ID"]}/relation/${data["Relation.Type.ID"]}/add`;
6680
6689
  yield api.POST(url, reqData, Api.PrepReqParams(reqParams));
6681
- yield api.Cache.RemoveByStartsWith(Api.ECacheKey.Relation + Api.ECacheKey.Id + data["Principal.Entity.ID"]);
6682
- yield api.Cache.RemoveByStartsWith(Api.ECacheKey.Relation + Api.ECacheKey.Id + data["Related.Entity.ID"]);
6683
- yield api.Cache.RemoveByStartsWith(Api.ECacheKey.Relation + Api.ECacheKey.RelationType);
6690
+ api.Cache.RemoveByStartsWith(Api.ECacheKey.Relation + Api.ECacheKey.Id + data["Principal.Entity.ID"]);
6691
+ api.Cache.RemoveByStartsWith(Api.ECacheKey.Relation + Api.ECacheKey.Id + data["Related.Entity.ID"]);
6692
+ api.Cache.RemoveByStartsWith(Api.ECacheKey.Relation + Api.ECacheKey.RelationType);
6684
6693
  if (data["Data.Entity.ID"]) {
6685
- yield api.Cache.RemoveByStartsWith(Api.ECacheKey.Relation + Api.ECacheKey.Entity + Api.ECacheKey.Id + data["Data.Entity.ID"]);
6694
+ api.Cache.RemoveByStartsWith(Api.ECacheKey.Relation + Api.ECacheKey.Entity + Api.ECacheKey.Id + data["Data.Entity.ID"]);
6686
6695
  }
6687
6696
  });
6688
6697
  }
@@ -6705,9 +6714,9 @@ var EntityRelation;
6705
6714
  "Related.Entity.ID": [relatedEntityId]
6706
6715
  }, Api.PrepReqParams(reqParams));
6707
6716
  // Remove related cache entries
6708
- yield api.Cache.RemoveByStartsWith(Api.ECacheKey.Relation + Api.ECacheKey.Id + principalEntityId);
6709
- yield api.Cache.RemoveByStartsWith(Api.ECacheKey.Relation + Api.ECacheKey.Id + relatedEntityId);
6710
- yield api.Cache.RemoveByStartsWith(Api.ECacheKey.Relation + Api.ECacheKey.RelationType + Api.ECacheKey.Id + relationTypeId);
6717
+ api.Cache.RemoveByStartsWith(Api.ECacheKey.Relation + Api.ECacheKey.Id + principalEntityId);
6718
+ api.Cache.RemoveByStartsWith(Api.ECacheKey.Relation + Api.ECacheKey.Id + relatedEntityId);
6719
+ api.Cache.RemoveByStartsWith(Api.ECacheKey.Relation + Api.ECacheKey.RelationType + Api.ECacheKey.Id + relationTypeId);
6711
6720
  });
6712
6721
  }
6713
6722
  EntityRelation.Delete = Delete;
@@ -6727,11 +6736,11 @@ var EntityRelation;
6727
6736
  }
6728
6737
  const url = `entity/${data["Principal.Entity.ID"]}/otherEntityID/${data["Related.Entity.ID"]}/relation/${data["Relation.Type.ID"]}/update`;
6729
6738
  const res = yield api.POST(url, data, Api.PrepReqParams(reqParams));
6730
- yield api.Cache.RemoveByStartsWith(Api.ECacheKey.Relation + Api.ECacheKey.Id + data["Principal.Entity.ID"]);
6731
- yield api.Cache.RemoveByStartsWith(Api.ECacheKey.Relation + Api.ECacheKey.Id + data["Related.Entity.ID"]);
6732
- yield api.Cache.RemoveByStartsWith(Api.ECacheKey.Relation + Api.ECacheKey.RelationType + Api.ECacheKey.Id + data["Relation.Type.ID"]);
6739
+ api.Cache.RemoveByStartsWith(Api.ECacheKey.Relation + Api.ECacheKey.Id + data["Principal.Entity.ID"]);
6740
+ api.Cache.RemoveByStartsWith(Api.ECacheKey.Relation + Api.ECacheKey.Id + data["Related.Entity.ID"]);
6741
+ api.Cache.RemoveByStartsWith(Api.ECacheKey.Relation + Api.ECacheKey.RelationType + Api.ECacheKey.Id + data["Relation.Type.ID"]);
6733
6742
  if (data["Data.Entity.ID"]) {
6734
- yield api.Cache.RemoveByStartsWith(Api.ECacheKey.Relation + Api.ECacheKey.Entity + Api.ECacheKey.Id + data["Data.Entity.ID"]);
6743
+ api.Cache.RemoveByStartsWith(Api.ECacheKey.Relation + Api.ECacheKey.Entity + Api.ECacheKey.Id + data["Data.Entity.ID"]);
6735
6744
  }
6736
6745
  });
6737
6746
  }
@@ -6751,7 +6760,7 @@ var EntityRelation;
6751
6760
  api = ENVIRONMENT.Api().GetBruceApi();
6752
6761
  }
6753
6762
  filter = Object.assign({ relationTypeId: "", oneWayOnly: false, loadEntityData: false }, filter);
6754
- const cache = yield api.GetCacheItem(GetListCacheKey(entityId, filter), reqParams);
6763
+ const cache = api.GetCacheItem(GetListCacheKey(entityId, filter), reqParams);
6755
6764
  if (cache === null || cache === void 0 ? void 0 : cache.found) {
6756
6765
  return cache.data;
6757
6766
  }
@@ -6771,7 +6780,7 @@ var EntityRelation;
6771
6780
  rej(e);
6772
6781
  }
6773
6782
  }));
6774
- yield api.SetCacheItem({
6783
+ api.SetCacheItem({
6775
6784
  key: GetListCacheKey(entityId, filter),
6776
6785
  value: req,
6777
6786
  req: reqParams
@@ -6794,7 +6803,7 @@ var EntityRelation;
6794
6803
  if (!api) {
6795
6804
  api = ENVIRONMENT.Api().GetBruceApi();
6796
6805
  }
6797
- const cache = yield api.GetCacheItem(GetEntityCacheKey(entityId), reqParams);
6806
+ const cache = api.GetCacheItem(GetEntityCacheKey(entityId), reqParams);
6798
6807
  if (cache === null || cache === void 0 ? void 0 : cache.found) {
6799
6808
  return cache.data;
6800
6809
  }
@@ -6809,7 +6818,7 @@ var EntityRelation;
6809
6818
  rej(e);
6810
6819
  }
6811
6820
  }));
6812
- yield api.SetCacheItem({
6821
+ api.SetCacheItem({
6813
6822
  key: GetEntityCacheKey(entityId),
6814
6823
  value: prom,
6815
6824
  req: reqParams
@@ -6923,7 +6932,7 @@ var EntitySource;
6923
6932
  const reqs = [];
6924
6933
  for (let i = 0; i < sourceKeys.length; i++) {
6925
6934
  const sourceKey = sourceKeys[i];
6926
- const cache = yield api.GetCacheItem(GetCacheKey(sourceId, sourceKey), reqParams);
6935
+ const cache = api.GetCacheItem(GetCacheKey(sourceId, sourceKey), reqParams);
6927
6936
  if (cache === null || cache === void 0 ? void 0 : cache.found) {
6928
6937
  reqs.push(cache.data);
6929
6938
  }
@@ -7019,7 +7028,7 @@ var EntitySource;
7019
7028
  }
7020
7029
  const res = yield api.POST("entitysource", source);
7021
7030
  const cacheKey = GetCacheKey(source["Source.ID"], source["SourceRecord.Key"]);
7022
- yield api.Cache.Remove(cacheKey);
7031
+ api.Cache.Remove(cacheKey);
7023
7032
  return {
7024
7033
  source: res
7025
7034
  };
@@ -7142,7 +7151,7 @@ var EntityTag;
7142
7151
  rej(e);
7143
7152
  }
7144
7153
  }));
7145
- yield api.SetCacheItem({
7154
+ api.SetCacheItem({
7146
7155
  key: GetCacheKey(id),
7147
7156
  value: req,
7148
7157
  req: reqParams
@@ -7167,7 +7176,7 @@ var EntityTag;
7167
7176
  if (!api) {
7168
7177
  api = ENVIRONMENT.Api().GetBruceApi();
7169
7178
  }
7170
- const cache = yield api.GetCacheItem(GetListCacheKey(entityTypeId), reqParams);
7179
+ const cache = api.GetCacheItem(GetListCacheKey(entityTypeId), reqParams);
7171
7180
  if (cache === null || cache === void 0 ? void 0 : cache.found) {
7172
7181
  return cache.data;
7173
7182
  }
@@ -7182,7 +7191,7 @@ var EntityTag;
7182
7191
  rej(e);
7183
7192
  }
7184
7193
  }));
7185
- yield api.SetCacheItem({
7194
+ api.SetCacheItem({
7186
7195
  key: GetListCacheKey(entityTypeId),
7187
7196
  value: req,
7188
7197
  req: reqParams
@@ -7206,7 +7215,7 @@ var EntityTag;
7206
7215
  }
7207
7216
  yield api.DELETE(`layer/${tagId}`, Api.PrepReqParams(reqParams));
7208
7217
  api.Cache.Remove(GetCacheKey(tagId));
7209
- yield api.Cache.RemoveByStartsWith(GetListCacheKey());
7218
+ api.Cache.RemoveByStartsWith(GetListCacheKey());
7210
7219
  });
7211
7220
  }
7212
7221
  EntityTag.Delete = Delete;
@@ -7224,7 +7233,7 @@ var EntityTag;
7224
7233
  const url = data.ID ? `layer/${data.ID}` : "layer";
7225
7234
  const res = yield api.POST(url, data, Api.PrepReqParams(reqParams));
7226
7235
  api.Cache.Remove(GetCacheKey(data.ID));
7227
- yield api.Cache.RemoveByStartsWith(GetListCacheKey());
7236
+ api.Cache.RemoveByStartsWith(GetListCacheKey());
7228
7237
  return {
7229
7238
  tag: res
7230
7239
  };
@@ -7319,7 +7328,7 @@ var EntityCoords;
7319
7328
  if (!api) {
7320
7329
  api = ENVIRONMENT.Api().GetBruceApi();
7321
7330
  }
7322
- const cache = yield api.GetCacheItem(GetCacheKey(entityId), reqParams);
7331
+ const cache = api.GetCacheItem(GetCacheKey(entityId), reqParams);
7323
7332
  if (cache === null || cache === void 0 ? void 0 : cache.found) {
7324
7333
  return cache.data;
7325
7334
  }
@@ -7334,7 +7343,7 @@ var EntityCoords;
7334
7343
  rej(e);
7335
7344
  }
7336
7345
  }));
7337
- yield api.SetCacheItem({
7346
+ api.SetCacheItem({
7338
7347
  key: GetCacheKey(entityId),
7339
7348
  value: prom,
7340
7349
  req: reqParams
@@ -7640,7 +7649,7 @@ var Style;
7640
7649
  if (!api) {
7641
7650
  api = ENVIRONMENT.Api().GetBruceApi();
7642
7651
  }
7643
- const cache = yield api.GetCacheItem(GetListCacheKey(), reqParams);
7652
+ const cache = api.GetCacheItem(GetListCacheKey(), reqParams);
7644
7653
  if (cache === null || cache === void 0 ? void 0 : cache.found) {
7645
7654
  return cache.data;
7646
7655
  }
@@ -7655,7 +7664,7 @@ var Style;
7655
7664
  rej(e);
7656
7665
  }
7657
7666
  }));
7658
- yield api.SetCacheItem({
7667
+ api.SetCacheItem({
7659
7668
  key: GetListCacheKey(),
7660
7669
  value: res,
7661
7670
  req: reqParams
@@ -7678,7 +7687,7 @@ var Style;
7678
7687
  if (!api) {
7679
7688
  api = ENVIRONMENT.Api().GetBruceApi();
7680
7689
  }
7681
- const cache = yield api.GetCacheItem(GetCacheKey(id), reqParams);
7690
+ const cache = api.GetCacheItem(GetCacheKey(id), reqParams);
7682
7691
  if (cache === null || cache === void 0 ? void 0 : cache.found) {
7683
7692
  return cache.data;
7684
7693
  }
@@ -7693,7 +7702,7 @@ var Style;
7693
7702
  rej(e);
7694
7703
  }
7695
7704
  }));
7696
- yield api.SetCacheItem({
7705
+ api.SetCacheItem({
7697
7706
  key: GetCacheKey(id),
7698
7707
  value: prom,
7699
7708
  req: reqParams
@@ -8386,7 +8395,7 @@ var ClientFile;
8386
8395
  throw ("File ID is required.");
8387
8396
  }
8388
8397
  const key = GetCacheKey(fileId);
8389
- const cache = yield api.GetCacheItem(key, reqParams);
8398
+ const cache = api.GetCacheItem(key, reqParams);
8390
8399
  if (cache === null || cache === void 0 ? void 0 : cache.found) {
8391
8400
  return cache.data;
8392
8401
  }
@@ -8401,7 +8410,7 @@ var ClientFile;
8401
8410
  rej(e);
8402
8411
  }
8403
8412
  }));
8404
- yield api.SetCacheItem({
8413
+ api.SetCacheItem({
8405
8414
  key,
8406
8415
  value: prom,
8407
8416
  req: reqParams
@@ -8912,7 +8921,7 @@ var ProgramKey;
8912
8921
  });
8913
8922
  const key = prom.programKeys.find(k => k.ProgramId === programId);
8914
8923
  // const key = GetCacheKey(programId);
8915
- // const cache = await api.GetCacheItem(key, reqParams);
8924
+ // const cache = api.GetCacheItem(key, reqParams);
8916
8925
  // if (cache?.found) {
8917
8926
  // return cache.data;
8918
8927
  // }
@@ -8927,7 +8936,7 @@ var ProgramKey;
8927
8936
  // rej(e);
8928
8937
  // }
8929
8938
  // });
8930
- // await api.SetCacheItem({
8939
+ // api.SetCacheItem({
8931
8940
  // key,
8932
8941
  // value: prom,
8933
8942
  // req: reqParams
@@ -8949,7 +8958,7 @@ var ProgramKey;
8949
8958
  if (!api) {
8950
8959
  api = ENVIRONMENT.Api().GetBruceApi();
8951
8960
  }
8952
- const cache = yield api.GetCacheItem(GetListCacheKey(), reqParams);
8961
+ const cache = api.GetCacheItem(GetListCacheKey(), reqParams);
8953
8962
  if (cache === null || cache === void 0 ? void 0 : cache.found) {
8954
8963
  return cache.data;
8955
8964
  }
@@ -8964,7 +8973,7 @@ var ProgramKey;
8964
8973
  rej(e);
8965
8974
  }
8966
8975
  }));
8967
- yield api.SetCacheItem({
8976
+ api.SetCacheItem({
8968
8977
  key: GetListCacheKey(),
8969
8978
  value: req,
8970
8979
  req: reqParams
@@ -9199,7 +9208,7 @@ var Tileset;
9199
9208
  if (!api) {
9200
9209
  api = ENVIRONMENT.Api().GetBruceApi();
9201
9210
  }
9202
- const cache = yield api.GetCacheItem(GetCacheKey(tilesetId, loadFiles), reqParams);
9211
+ const cache = api.GetCacheItem(GetCacheKey(tilesetId, loadFiles), reqParams);
9203
9212
  if (cache === null || cache === void 0 ? void 0 : cache.found) {
9204
9213
  return cache.data;
9205
9214
  }
@@ -9219,7 +9228,7 @@ var Tileset;
9219
9228
  rej(e);
9220
9229
  }
9221
9230
  }));
9222
- yield api.SetCacheItem({
9231
+ api.SetCacheItem({
9223
9232
  key: GetCacheKey(tilesetId, loadFiles),
9224
9233
  value: prom,
9225
9234
  req: reqParams
@@ -9275,7 +9284,7 @@ var Tileset;
9275
9284
  if (!api) {
9276
9285
  api = ENVIRONMENT.Api().GetBruceApi();
9277
9286
  }
9278
- const cache = yield api.GetCacheItem(GetListCacheKey({
9287
+ const cache = api.GetCacheItem(GetListCacheKey({
9279
9288
  assertLocation: assertLocation,
9280
9289
  expandSettings: expandSettings,
9281
9290
  type: type
@@ -9315,7 +9324,7 @@ var Tileset;
9315
9324
  rej(e);
9316
9325
  }
9317
9326
  }));
9318
- yield api.SetCacheItem({
9327
+ api.SetCacheItem({
9319
9328
  key: GetListCacheKey({
9320
9329
  assertLocation: assertLocation,
9321
9330
  expandSettings: expandSettings,
@@ -9342,8 +9351,8 @@ var Tileset;
9342
9351
  api = ENVIRONMENT.Api().GetBruceApi();
9343
9352
  }
9344
9353
  yield api.DELETE(`tileset/delete/${tilesetId}`, reqParams);
9345
- yield api.Cache.RemoveByStartsWith(Api.ECacheKey.Tileset + Api.ECacheKey.Id + tilesetId);
9346
- yield api.Cache.RemoveByStartsWith(Api.ECacheKey.Tileset);
9354
+ api.Cache.RemoveByStartsWith(Api.ECacheKey.Tileset + Api.ECacheKey.Id + tilesetId);
9355
+ api.Cache.RemoveByStartsWith(Api.ECacheKey.Tileset);
9347
9356
  });
9348
9357
  }
9349
9358
  Tileset$$1.Delete = Delete;
@@ -9380,8 +9389,8 @@ var Tileset;
9380
9389
  yield api.POST(`tileset/update/${data.id}`, data, Api.PrepReqParams(reqParams));
9381
9390
  }
9382
9391
  }
9383
- yield api.Cache.RemoveByStartsWith(Api.ECacheKey.Tileset + Api.ECacheKey.Id + data.id);
9384
- yield api.Cache.RemoveByStartsWith(Api.ECacheKey.Tileset);
9392
+ api.Cache.RemoveByStartsWith(Api.ECacheKey.Tileset + Api.ECacheKey.Id + data.id);
9393
+ api.Cache.RemoveByStartsWith(Api.ECacheKey.Tileset);
9385
9394
  return {
9386
9395
  tileset: data
9387
9396
  };
@@ -9666,9 +9675,9 @@ var Tileset;
9666
9675
  };
9667
9676
  data.ID = res.ID;
9668
9677
  yield api.POST(`tileset/${data.ID}/enableForAccounts`, req, reqParams);
9669
- yield api.Cache.Remove(GetCacheKey(data["PublishedBy.ClientAccount.ID"], data["Tileset.ID"]));
9670
- yield api.Cache.Remove(GetCacheKey(data["PublishedBy.ClientAccount.ID"]));
9671
- yield api.Cache.RemoveByStartsWith(Api.ECacheKey.PublishTileset + Api.ECacheKey.TilesetAccess);
9678
+ api.Cache.Remove(GetCacheKey(data["PublishedBy.ClientAccount.ID"], data["Tileset.ID"]));
9679
+ api.Cache.Remove(GetCacheKey(data["PublishedBy.ClientAccount.ID"]));
9680
+ api.Cache.RemoveByStartsWith(Api.ECacheKey.PublishTileset + Api.ECacheKey.TilesetAccess);
9672
9681
  return {
9673
9682
  published: data
9674
9683
  };
@@ -9684,7 +9693,7 @@ var Tileset;
9684
9693
  if (!accountId || !tilesetId) {
9685
9694
  throw ("Client account ID and tileset ID are required.");
9686
9695
  }
9687
- const cache = yield api.GetCacheItem(GetCacheKey(accountId, tilesetId), reqParams);
9696
+ const cache = api.GetCacheItem(GetCacheKey(accountId, tilesetId), reqParams);
9688
9697
  if (cache === null || cache === void 0 ? void 0 : cache.found) {
9689
9698
  return cache.data;
9690
9699
  }
@@ -9699,7 +9708,7 @@ var Tileset;
9699
9708
  rej(e);
9700
9709
  }
9701
9710
  }));
9702
- yield api.SetCacheItem({
9711
+ api.SetCacheItem({
9703
9712
  key: GetCacheKey(accountId, tilesetId),
9704
9713
  value: prom,
9705
9714
  req: reqParams
@@ -9717,7 +9726,7 @@ var Tileset;
9717
9726
  if (!accountId) {
9718
9727
  throw ("Client account ID is required.");
9719
9728
  }
9720
- const cache = yield api.GetCacheItem(GetCacheKey(accountId), reqParams);
9729
+ const cache = api.GetCacheItem(GetCacheKey(accountId), reqParams);
9721
9730
  if (cache === null || cache === void 0 ? void 0 : cache.found) {
9722
9731
  return cache.data;
9723
9732
  }
@@ -9732,7 +9741,7 @@ var Tileset;
9732
9741
  rej(e);
9733
9742
  }
9734
9743
  }));
9735
- yield api.SetCacheItem({
9744
+ api.SetCacheItem({
9736
9745
  key: GetCacheKey(accountId),
9737
9746
  value: req,
9738
9747
  req: reqParams
@@ -10071,7 +10080,7 @@ var ProjectViewBookmark;
10071
10080
  api = ENVIRONMENT.Api().GetBruceApi();
10072
10081
  }
10073
10082
  const key = GetCacheKey(viewId, bookmarkId);
10074
- const cache = yield api.GetCacheItem(key, reqParams);
10083
+ const cache = api.GetCacheItem(key, reqParams);
10075
10084
  if (cache === null || cache === void 0 ? void 0 : cache.found) {
10076
10085
  return cache.data;
10077
10086
  }
@@ -10086,7 +10095,7 @@ var ProjectViewBookmark;
10086
10095
  rej(e);
10087
10096
  }
10088
10097
  }));
10089
- yield api.SetCacheItem({
10098
+ api.SetCacheItem({
10090
10099
  key,
10091
10100
  value: prom,
10092
10101
  req: reqParams
@@ -10128,7 +10137,7 @@ var ProjectViewBookmark;
10128
10137
  if (!api) {
10129
10138
  api = ENVIRONMENT.Api().GetBruceApi();
10130
10139
  }
10131
- const cache = yield api.GetCacheItem(GetListCacheKey(viewId), reqParams);
10140
+ const cache = api.GetCacheItem(GetListCacheKey(viewId), reqParams);
10132
10141
  if (cache === null || cache === void 0 ? void 0 : cache.found) {
10133
10142
  return cache.data;
10134
10143
  }
@@ -10146,7 +10155,7 @@ var ProjectViewBookmark;
10146
10155
  bookmark: item
10147
10156
  });
10148
10157
  });
10149
- yield api.SetCacheItem({
10158
+ api.SetCacheItem({
10150
10159
  key: GetCacheKey(viewId, item.ID),
10151
10160
  value: prom,
10152
10161
  req: reqParams
@@ -10160,7 +10169,7 @@ var ProjectViewBookmark;
10160
10169
  rej(e);
10161
10170
  }
10162
10171
  }));
10163
- yield api.SetCacheItem({
10172
+ api.SetCacheItem({
10164
10173
  key: GetListCacheKey(viewId),
10165
10174
  value: req,
10166
10175
  req: reqParams
@@ -10207,7 +10216,7 @@ var ProjectViewBookmark;
10207
10216
  "DisplayOrder.Start": 0
10208
10217
  };
10209
10218
  yield api.POST(`ui.view/${viewId}/slides/setOrder`, reqData, Api.PrepReqParams(reqParams));
10210
- yield api.Cache.RemoveByStartsWith(GetListCacheKey(viewId));
10219
+ api.Cache.RemoveByStartsWith(GetListCacheKey(viewId));
10211
10220
  });
10212
10221
  }
10213
10222
  ProjectViewBookmark.SetOrder = SetOrder;
@@ -10273,7 +10282,7 @@ var ProjectView;
10273
10282
  api = ENVIRONMENT.Api().GetBruceApi();
10274
10283
  }
10275
10284
  const key = GetCacheKey(viewId);
10276
- const cache = yield api.GetCacheItem(key, reqParams);
10285
+ const cache = api.GetCacheItem(key, reqParams);
10277
10286
  if (cache === null || cache === void 0 ? void 0 : cache.found) {
10278
10287
  return cache.data;
10279
10288
  }
@@ -10288,7 +10297,7 @@ var ProjectView;
10288
10297
  rej(e);
10289
10298
  }
10290
10299
  }));
10291
- yield api.SetCacheItem({
10300
+ api.SetCacheItem({
10292
10301
  key,
10293
10302
  value: prom,
10294
10303
  req: reqParams
@@ -10308,7 +10317,7 @@ var ProjectView;
10308
10317
  if (!api) {
10309
10318
  api = ENVIRONMENT.Api().GetBruceApi();
10310
10319
  }
10311
- const cache = yield api.GetCacheItem(GetListCacheKey(type), reqParams);
10320
+ const cache = api.GetCacheItem(GetListCacheKey(type), reqParams);
10312
10321
  if (cache === null || cache === void 0 ? void 0 : cache.found) {
10313
10322
  return cache.data;
10314
10323
  }
@@ -10323,7 +10332,7 @@ var ProjectView;
10323
10332
  rej(e);
10324
10333
  }
10325
10334
  }));
10326
- yield api.SetCacheItem({
10335
+ api.SetCacheItem({
10327
10336
  key: GetListCacheKey(type),
10328
10337
  value: prom,
10329
10338
  req: reqParams
@@ -10937,7 +10946,7 @@ var Account;
10937
10946
  if (!api) {
10938
10947
  api = ENVIRONMENT.Api().GetGuardianApi();
10939
10948
  }
10940
- const cache = yield api.GetCacheItem(GetCacheKey(id), reqParams);
10949
+ const cache = api.GetCacheItem(GetCacheKey(id), reqParams);
10941
10950
  if (cache === null || cache === void 0 ? void 0 : cache.found) {
10942
10951
  return cache.data;
10943
10952
  }
@@ -10946,7 +10955,7 @@ var Account;
10946
10955
  const data = yield api.GET(`accountbyid/${id}`, reqParams);
10947
10956
  // Update the cache by subdomain as well in case it's different to the ID.
10948
10957
  if ((data === null || data === void 0 ? void 0 : data.ID) && (reqParams === null || reqParams === void 0 ? void 0 : reqParams.noCache) != false) {
10949
- yield api.SetCacheItem({
10958
+ api.SetCacheItem({
10950
10959
  key: data.Subdomain,
10951
10960
  value: prom,
10952
10961
  req: reqParams
@@ -10960,7 +10969,7 @@ var Account;
10960
10969
  rej(e);
10961
10970
  }
10962
10971
  }));
10963
- yield api.SetCacheItem({
10972
+ api.SetCacheItem({
10964
10973
  key: GetCacheKey(id),
10965
10974
  value: prom,
10966
10975
  req: reqParams
@@ -10980,7 +10989,7 @@ var Account;
10980
10989
  if (!api) {
10981
10990
  api = ENVIRONMENT.Api().GetGuardianApi();
10982
10991
  }
10983
- const cache = yield api.GetCacheItem(GetCacheKey(subdomain), reqParams);
10992
+ const cache = api.GetCacheItem(GetCacheKey(subdomain), reqParams);
10984
10993
  if (cache === null || cache === void 0 ? void 0 : cache.found) {
10985
10994
  return cache.data;
10986
10995
  }
@@ -10989,7 +10998,7 @@ var Account;
10989
10998
  const data = yield api.GET(`account/${subdomain}`, reqParams);
10990
10999
  // Update the cache by ID as well in case it's different to the subdomain.
10991
11000
  if ((data === null || data === void 0 ? void 0 : data.ID) && (reqParams === null || reqParams === void 0 ? void 0 : reqParams.noCache) != false) {
10992
- yield api.SetCacheItem({
11001
+ api.SetCacheItem({
10993
11002
  key: data.ID,
10994
11003
  value: prom,
10995
11004
  req: reqParams
@@ -11003,7 +11012,7 @@ var Account;
11003
11012
  rej(e);
11004
11013
  }
11005
11014
  }));
11006
- yield api.SetCacheItem({
11015
+ api.SetCacheItem({
11007
11016
  key: GetCacheKey(subdomain),
11008
11017
  value: prom,
11009
11018
  req: reqParams
@@ -11023,7 +11032,7 @@ var Account;
11023
11032
  if (!api) {
11024
11033
  api = ENVIRONMENT.Api().GetGuardianApi();
11025
11034
  }
11026
- const cache = yield api.GetCacheItem(GetListCacheKey(api.GetSessionId()), reqParams);
11035
+ const cache = api.GetCacheItem(GetListCacheKey(api.GetSessionId()), reqParams);
11027
11036
  if (cache === null || cache === void 0 ? void 0 : cache.found) {
11028
11037
  return cache.data;
11029
11038
  }
@@ -11040,7 +11049,7 @@ var Account;
11040
11049
  rej(e);
11041
11050
  }
11042
11051
  }));
11043
- yield api.SetCacheItem({
11052
+ api.SetCacheItem({
11044
11053
  key: GetListCacheKey(api.GetSessionId()),
11045
11054
  value: prom,
11046
11055
  req: reqParams
@@ -11060,7 +11069,7 @@ var Account;
11060
11069
  if (!api) {
11061
11070
  api = ENVIRONMENT.Api().GetGuardianApi();
11062
11071
  }
11063
- const cache = yield api.GetCacheItem(GetCacheKey(id, appId), reqParams);
11072
+ const cache = api.GetCacheItem(GetCacheKey(id, appId), reqParams);
11064
11073
  if (cache === null || cache === void 0 ? void 0 : cache.found) {
11065
11074
  return cache.data;
11066
11075
  }
@@ -11078,7 +11087,7 @@ var Account;
11078
11087
  rej(e);
11079
11088
  }
11080
11089
  }));
11081
- yield api.SetCacheItem({
11090
+ api.SetCacheItem({
11082
11091
  key: GetCacheKey(id, appId),
11083
11092
  value: prom,
11084
11093
  req: reqParams
@@ -11100,7 +11109,7 @@ var Account;
11100
11109
  api = ENVIRONMENT.Api().GetGuardianApi();
11101
11110
  }
11102
11111
  const res = yield api.POST(`account/${id}/applicationSettings/${appId}`, data, reqParams);
11103
- yield api.Cache.RemoveByStartsWith(Api.ECacheKey.Account + Api.ECacheKey.Id + id);
11112
+ api.Cache.RemoveByStartsWith(Api.ECacheKey.Account + Api.ECacheKey.Id + id);
11104
11113
  return {
11105
11114
  settings: res
11106
11115
  };
@@ -11441,7 +11450,7 @@ var Session;
11441
11450
  api = ENVIRONMENT.Api().GetGuardianApi();
11442
11451
  }
11443
11452
  const key = GetCacheKey(sessionId);
11444
- const cache = yield api.GetCacheItem(key, reqParams);
11453
+ const cache = api.GetCacheItem(key, reqParams);
11445
11454
  if (cache === null || cache === void 0 ? void 0 : cache.found) {
11446
11455
  return cache.data;
11447
11456
  }
@@ -11456,7 +11465,7 @@ var Session;
11456
11465
  rej(e);
11457
11466
  }
11458
11467
  }));
11459
- yield api.SetCacheItem({
11468
+ api.SetCacheItem({
11460
11469
  key,
11461
11470
  value: prom,
11462
11471
  req: reqParams,
@@ -11846,13 +11855,22 @@ var User;
11846
11855
  if (!api) {
11847
11856
  api = ENVIRONMENT.Api().GetGuardianApi();
11848
11857
  }
11849
- const cache = yield api.GetCacheItem(GetCacheKey(id, accountId), reqParams);
11858
+ const cacheKey = GetCacheKey(id, accountId);
11859
+ const cache = api.GetCacheItem(cacheKey, reqParams);
11850
11860
  if (cache === null || cache === void 0 ? void 0 : cache.found) {
11851
11861
  return cache.data;
11852
11862
  }
11853
11863
  const prom = new Promise((res, rej) => __awaiter(this, void 0, void 0, function* () {
11854
11864
  try {
11855
- const data = yield api.GET(`user/${id}${accountId ? `?clientAccountID=${accountId}` : ""}`, reqParams);
11865
+ const urlParams = new URLSearchParams();
11866
+ if (accountId) {
11867
+ urlParams.append("clientAccountID", accountId);
11868
+ }
11869
+ let url = `user/${id}`;
11870
+ if (urlParams.toString().length) {
11871
+ url += "?" + urlParams.toString();
11872
+ }
11873
+ const data = yield api.GET(url, reqParams);
11856
11874
  res({
11857
11875
  user: data
11858
11876
  });
@@ -11861,8 +11879,8 @@ var User;
11861
11879
  rej(e);
11862
11880
  }
11863
11881
  }));
11864
- yield api.SetCacheItem({
11865
- key: GetCacheKey(id, accountId),
11882
+ api.SetCacheItem({
11883
+ key: cacheKey,
11866
11884
  value: prom,
11867
11885
  req: reqParams
11868
11886
  });
@@ -11901,10 +11919,10 @@ var User;
11901
11919
  const res = yield api.POST(`user/${data.ID}`, data, reqParams);
11902
11920
  api.Cache.RemoveByContains(Api.ECacheKey.User + Api.ECacheKey.Id + data.ID);
11903
11921
  if (data.Type == EType.AccessToken) {
11904
- yield api.Cache.RemoveByStartsWith(Api.ECacheKey.AccessToken + Api.ECacheKey.Account);
11922
+ api.Cache.RemoveByStartsWith(Api.ECacheKey.AccessToken + Api.ECacheKey.Account);
11905
11923
  }
11906
11924
  else if (data.Type == EType.User) {
11907
- yield api.Cache.RemoveByStartsWith(Api.ECacheKey.User + Api.ECacheKey.Account);
11925
+ api.Cache.RemoveByStartsWith(Api.ECacheKey.User + Api.ECacheKey.Account);
11908
11926
  }
11909
11927
  return {
11910
11928
  user: res
@@ -11926,7 +11944,7 @@ var User;
11926
11944
  if (!api) {
11927
11945
  api = ENVIRONMENT.Api().GetGuardianApi();
11928
11946
  }
11929
- const cache = yield api.GetCacheItem(GetSettingsCacheKey(userId, appId), req);
11947
+ const cache = api.GetCacheItem(GetSettingsCacheKey(userId, appId), req);
11930
11948
  if (cache === null || cache === void 0 ? void 0 : cache.found) {
11931
11949
  return cache.data;
11932
11950
  }
@@ -11952,7 +11970,7 @@ var User;
11952
11970
  rej(e);
11953
11971
  }
11954
11972
  }));
11955
- yield api.SetCacheItem({
11973
+ api.SetCacheItem({
11956
11974
  key: GetSettingsCacheKey(userId, appId),
11957
11975
  value: prom,
11958
11976
  req: req
@@ -12048,7 +12066,7 @@ var User;
12048
12066
  if (!api) {
12049
12067
  api = ENVIRONMENT.Api().GetGuardianApi();
12050
12068
  }
12051
- const cache = yield api.GetCacheItem(GetEmailCacheKey(email, accountId), reqParams);
12069
+ const cache = api.GetCacheItem(GetEmailCacheKey(email, accountId), reqParams);
12052
12070
  if (cache === null || cache === void 0 ? void 0 : cache.found) {
12053
12071
  return cache.data;
12054
12072
  }
@@ -12063,7 +12081,7 @@ var User;
12063
12081
  rej(e);
12064
12082
  }
12065
12083
  }));
12066
- yield api.SetCacheItem({
12084
+ api.SetCacheItem({
12067
12085
  key: GetEmailCacheKey(email, accountId),
12068
12086
  value: prom,
12069
12087
  req: reqParams
@@ -12089,7 +12107,7 @@ var User;
12089
12107
  if (!exclusive) {
12090
12108
  exclusive = false;
12091
12109
  }
12092
- const cache = exclusive ? null : yield api.GetCacheItem(GetListCacheKey(accountId), reqParams);
12110
+ const cache = exclusive ? null : api.GetCacheItem(GetListCacheKey(accountId), reqParams);
12093
12111
  if (cache === null || cache === void 0 ? void 0 : cache.found) {
12094
12112
  return cache.data;
12095
12113
  }
@@ -12107,7 +12125,7 @@ var User;
12107
12125
  req.then((data) => __awaiter(this, void 0, void 0, function* () {
12108
12126
  const users = data.users;
12109
12127
  for (let i = 0; i < users.length; i++) {
12110
- yield api.SetCacheItem({
12128
+ api.SetCacheItem({
12111
12129
  key: GetCacheKey(users[i].ID, accountId),
12112
12130
  value: {
12113
12131
  user: users[i]
@@ -12117,7 +12135,7 @@ var User;
12117
12135
  }
12118
12136
  }));
12119
12137
  if (!exclusive) {
12120
- yield api.SetCacheItem({
12138
+ api.SetCacheItem({
12121
12139
  key: GetListCacheKey(accountId),
12122
12140
  value: req,
12123
12141
  req: reqParams
@@ -12284,7 +12302,7 @@ var User;
12284
12302
  if (!api) {
12285
12303
  api = ENVIRONMENT.Api().GetGuardianApi();
12286
12304
  }
12287
- const cache = yield api.GetCacheItem(GetListCacheKey(accountId), reqParams);
12305
+ const cache = api.GetCacheItem(GetListCacheKey(accountId), reqParams);
12288
12306
  if (cache === null || cache === void 0 ? void 0 : cache.found) {
12289
12307
  return cache.data;
12290
12308
  }
@@ -12299,7 +12317,7 @@ var User;
12299
12317
  rej(e);
12300
12318
  }
12301
12319
  }));
12302
- yield api.SetCacheItem({
12320
+ api.SetCacheItem({
12303
12321
  key: GetListCacheKey(accountId),
12304
12322
  value: req,
12305
12323
  req: reqParams
@@ -12320,7 +12338,7 @@ var User;
12320
12338
  }
12321
12339
  yield api.DELETE(`accessToken/${id}`, reqParams);
12322
12340
  api.Cache.RemoveByContains(Api.ECacheKey.User + Api.ECacheKey.Id + id);
12323
- yield api.Cache.RemoveByStartsWith(Api.ECacheKey.AccessToken + Api.ECacheKey.Account);
12341
+ api.Cache.RemoveByStartsWith(Api.ECacheKey.AccessToken + Api.ECacheKey.Account);
12324
12342
  });
12325
12343
  }
12326
12344
  AccessToken.Delete = Delete;
@@ -12345,7 +12363,7 @@ var User;
12345
12363
  data.Type = EType.AccessToken;
12346
12364
  }
12347
12365
  data = yield api.POST("accessToken", data, reqParams);
12348
- yield api.Cache.RemoveByStartsWith(Api.ECacheKey.AccessToken + Api.ECacheKey.Account);
12366
+ api.Cache.RemoveByStartsWith(Api.ECacheKey.AccessToken + Api.ECacheKey.Account);
12349
12367
  return {
12350
12368
  user: data
12351
12369
  };
@@ -12559,7 +12577,7 @@ var AccountFeatures;
12559
12577
  api = ENVIRONMENT.Api().GetBruceApi();
12560
12578
  }
12561
12579
  const accountId = api.AccountId;
12562
- const cache = yield api.GetCacheItem(GetCacheKey(accountId), reqParams);
12580
+ const cache = api.GetCacheItem(GetCacheKey(accountId), reqParams);
12563
12581
  if (cache === null || cache === void 0 ? void 0 : cache.found) {
12564
12582
  return cache.data;
12565
12583
  }
@@ -13597,7 +13615,7 @@ var ImportedFile;
13597
13615
  if (!pageIndex) {
13598
13616
  pageIndex = 0;
13599
13617
  }
13600
- const cache = yield api.GetCacheItem(GetListCacheKey(type, pageIndex), reqParams);
13618
+ const cache = api.GetCacheItem(GetListCacheKey(type, pageIndex), reqParams);
13601
13619
  if (cache === null || cache === void 0 ? void 0 : cache.found) {
13602
13620
  return cache.data;
13603
13621
  }
@@ -13622,7 +13640,7 @@ var ImportedFile;
13622
13640
  rej(e);
13623
13641
  }
13624
13642
  }));
13625
- yield api.SetCacheItem({
13643
+ api.SetCacheItem({
13626
13644
  key: GetListCacheKey(type, pageIndex),
13627
13645
  value: prom,
13628
13646
  req: reqParams
@@ -13642,7 +13660,7 @@ var ImportedFile;
13642
13660
  if (!api) {
13643
13661
  api = ENVIRONMENT.Api().GetBruceApi();
13644
13662
  }
13645
- const cache = yield api.GetCacheItem(GetCacheKeyByRootId(rootId), reqParams);
13663
+ const cache = api.GetCacheItem(GetCacheKeyByRootId(rootId), reqParams);
13646
13664
  if (cache === null || cache === void 0 ? void 0 : cache.found) {
13647
13665
  return cache.data;
13648
13666
  }
@@ -13657,7 +13675,7 @@ var ImportedFile;
13657
13675
  rej(e);
13658
13676
  }
13659
13677
  }));
13660
- yield api.SetCacheItem({
13678
+ api.SetCacheItem({
13661
13679
  key: GetCacheKeyByRootId(rootId),
13662
13680
  value: prom,
13663
13681
  req: reqParams
@@ -13677,7 +13695,7 @@ var ImportedFile;
13677
13695
  if (!api) {
13678
13696
  api = ENVIRONMENT.Api().GetBruceApi();
13679
13697
  }
13680
- const cache = yield api.GetCacheItem(GetCacheKey(fileId), reqParams);
13698
+ const cache = api.GetCacheItem(GetCacheKey(fileId), reqParams);
13681
13699
  if (cache === null || cache === void 0 ? void 0 : cache.found) {
13682
13700
  return cache.data;
13683
13701
  }
@@ -13692,7 +13710,7 @@ var ImportedFile;
13692
13710
  rej(e);
13693
13711
  }
13694
13712
  }));
13695
- yield api.SetCacheItem({
13713
+ api.SetCacheItem({
13696
13714
  key: GetCacheKey(fileId),
13697
13715
  value: prom,
13698
13716
  req: reqParams
@@ -13914,7 +13932,7 @@ var Plugin;
13914
13932
  if (!api) {
13915
13933
  api = ENVIRONMENT.Api().GetBruceApi();
13916
13934
  }
13917
- const cache = yield api.GetCacheItem(GetCacheKey(pluginId), req);
13935
+ const cache = api.GetCacheItem(GetCacheKey(pluginId), req);
13918
13936
  if (cache === null || cache === void 0 ? void 0 : cache.found) {
13919
13937
  return cache.data;
13920
13938
  }
@@ -13929,7 +13947,7 @@ var Plugin;
13929
13947
  rej(e);
13930
13948
  }
13931
13949
  }));
13932
- yield api.SetCacheItem({
13950
+ api.SetCacheItem({
13933
13951
  key: GetCacheKey(pluginId),
13934
13952
  value: prom,
13935
13953
  req: req
@@ -13949,7 +13967,7 @@ var Plugin;
13949
13967
  if (!api) {
13950
13968
  api = ENVIRONMENT.Api().GetBruceApi();
13951
13969
  }
13952
- const cache = yield api.GetCacheItem(GetListCacheKey(), req);
13970
+ const cache = api.GetCacheItem(GetListCacheKey(), req);
13953
13971
  if (cache === null || cache === void 0 ? void 0 : cache.found) {
13954
13972
  return cache.data;
13955
13973
  }
@@ -13964,7 +13982,7 @@ var Plugin;
13964
13982
  rej(e);
13965
13983
  }
13966
13984
  }));
13967
- yield api.SetCacheItem({
13985
+ api.SetCacheItem({
13968
13986
  key: GetListCacheKey(),
13969
13987
  value: prom,
13970
13988
  req: req
@@ -14249,8 +14267,8 @@ var DataSource;
14249
14267
  }
14250
14268
  const url = `source` + (data.ID == null ? "" : "/" + data.ID);
14251
14269
  const res = yield api.POST(url, data, Api.PrepReqParams(reqParams));
14252
- yield api.Cache.Remove(GetCacheKey(data.ID));
14253
- yield api.Cache.Remove(GetListCacheKey());
14270
+ api.Cache.Remove(GetCacheKey(data.ID));
14271
+ api.Cache.Remove(GetListCacheKey());
14254
14272
  return {
14255
14273
  source: res
14256
14274
  };
@@ -14268,8 +14286,8 @@ var DataSource;
14268
14286
  api = ENVIRONMENT.Api().GetBruceApi();
14269
14287
  }
14270
14288
  yield api.DELETE(`source/${id}`, Api.PrepReqParams(reqParams));
14271
- yield api.Cache.Remove(GetCacheKey(id));
14272
- yield api.Cache.Remove(GetListCacheKey());
14289
+ api.Cache.Remove(GetCacheKey(id));
14290
+ api.Cache.Remove(GetListCacheKey());
14273
14291
  });
14274
14292
  }
14275
14293
  DataSource.Delete = Delete;
@@ -14285,7 +14303,7 @@ var DataSource;
14285
14303
  api = ENVIRONMENT.Api().GetBruceApi();
14286
14304
  }
14287
14305
  reqParams = Api.PrepReqParams(reqParams);
14288
- const cacheData = yield api.GetCacheItem(GetCacheKey(id), reqParams);
14306
+ const cacheData = api.GetCacheItem(GetCacheKey(id), reqParams);
14289
14307
  if (cacheData === null || cacheData === void 0 ? void 0 : cacheData.found) {
14290
14308
  return cacheData.data;
14291
14309
  }
@@ -14321,7 +14339,7 @@ var DataSource;
14321
14339
  api = ENVIRONMENT.Api().GetBruceApi();
14322
14340
  }
14323
14341
  reqParams = Api.PrepReqParams(reqParams);
14324
- const cacheData = yield api.GetCacheItem(GetListCacheKey(), reqParams);
14342
+ const cacheData = api.GetCacheItem(GetListCacheKey(), reqParams);
14325
14343
  if (cacheData === null || cacheData === void 0 ? void 0 : cacheData.found) {
14326
14344
  return cacheData.data;
14327
14345
  }
@@ -14399,7 +14417,7 @@ var DataSource;
14399
14417
  })(DataSource || (DataSource = {}));
14400
14418
 
14401
14419
  // This is updated with the package.json version on build.
14402
- const VERSION = "4.9.8";
14420
+ const VERSION = "4.9.9";
14403
14421
 
14404
14422
  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 };
14405
14423
  //# sourceMappingURL=bruce-models.es5.js.map