bruce-models 7.0.18 → 7.0.19

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.
@@ -17085,18 +17085,7 @@ var ChangeSet;
17085
17085
  api = ENVIRONMENT.Api().GetBruceApi();
17086
17086
  }
17087
17087
  reqParams = Api.PrepReqParams(reqParams);
17088
- const prom = new Promise((res, rej) => __awaiter(this, void 0, void 0, function* () {
17089
- try {
17090
- const data = yield api.GET(`change/${id}`, Api.PrepReqParams(reqParams));
17091
- res({
17092
- changeSet: data
17093
- });
17094
- }
17095
- catch (e) {
17096
- rej(e);
17097
- }
17098
- }));
17099
- return prom;
17088
+ return yield api.GET(`change/${id}`, Api.PrepReqParams(reqParams));
17100
17089
  });
17101
17090
  }
17102
17091
  ChangeSet.Get = Get;
@@ -17110,7 +17099,7 @@ var ChangeSet;
17110
17099
  api = ENVIRONMENT.Api().GetBruceApi();
17111
17100
  }
17112
17101
  reqParams = Api.PrepReqParams(reqParams);
17113
- return yield api.GET("changes", Api.PrepReqParams(reqParams));
17102
+ return api.GET("changes", Api.PrepReqParams(reqParams));
17114
17103
  });
17115
17104
  }
17116
17105
  ChangeSet.GetList = GetList;
@@ -17124,25 +17113,14 @@ var ChangeSet;
17124
17113
  api = ENVIRONMENT.Api().GetBruceApi();
17125
17114
  }
17126
17115
  reqParams = Api.PrepReqParams(reqParams);
17127
- const prom = new Promise((res, rej) => __awaiter(this, void 0, void 0, function* () {
17128
- try {
17129
- const data = yield api.GET(`change/${id}/content`, Api.PrepReqParams(reqParams));
17130
- res({
17131
- changeSet: data
17132
- });
17133
- }
17134
- catch (e) {
17135
- rej(e);
17136
- }
17137
- }));
17138
- return prom;
17116
+ return api.GET(`change/${id}/content`, Api.PrepReqParams(reqParams));
17139
17117
  });
17140
17118
  }
17141
17119
  ChangeSet.GetChangeSetContent = GetChangeSetContent;
17142
17120
  })(ChangeSet || (ChangeSet = {}));
17143
17121
 
17144
17122
  // This is updated with the package.json version on build.
17145
- const VERSION = "7.0.18";
17123
+ const VERSION = "7.0.19";
17146
17124
 
17147
17125
  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, ChangeSet };
17148
17126
  //# sourceMappingURL=bruce-models.es5.js.map