bruce-models 7.0.17 → 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.
@@ -16769,18 +16769,7 @@
16769
16769
  api = exports.ENVIRONMENT.Api().GetBruceApi();
16770
16770
  }
16771
16771
  reqParams = exports.Api.PrepReqParams(reqParams);
16772
- const prom = new Promise((res, rej) => __awaiter(this, void 0, void 0, function* () {
16773
- try {
16774
- const data = yield api.GET(`change/${id}`, exports.Api.PrepReqParams(reqParams));
16775
- res({
16776
- changeSet: data
16777
- });
16778
- }
16779
- catch (e) {
16780
- rej(e);
16781
- }
16782
- }));
16783
- return prom;
16772
+ return yield api.GET(`change/${id}`, exports.Api.PrepReqParams(reqParams));
16784
16773
  });
16785
16774
  }
16786
16775
  ChangeSet.Get = Get;
@@ -16794,7 +16783,7 @@
16794
16783
  api = exports.ENVIRONMENT.Api().GetBruceApi();
16795
16784
  }
16796
16785
  reqParams = exports.Api.PrepReqParams(reqParams);
16797
- return yield api.GET("changes", exports.Api.PrepReqParams(reqParams));
16786
+ return api.GET("changes", exports.Api.PrepReqParams(reqParams));
16798
16787
  });
16799
16788
  }
16800
16789
  ChangeSet.GetList = GetList;
@@ -16808,25 +16797,14 @@
16808
16797
  api = exports.ENVIRONMENT.Api().GetBruceApi();
16809
16798
  }
16810
16799
  reqParams = exports.Api.PrepReqParams(reqParams);
16811
- const prom = new Promise((res, rej) => __awaiter(this, void 0, void 0, function* () {
16812
- try {
16813
- const data = yield api.GET(`change/${id}/content`, exports.Api.PrepReqParams(reqParams));
16814
- res({
16815
- changeSet: data
16816
- });
16817
- }
16818
- catch (e) {
16819
- rej(e);
16820
- }
16821
- }));
16822
- return prom;
16800
+ return api.GET(`change/${id}/content`, exports.Api.PrepReqParams(reqParams));
16823
16801
  });
16824
16802
  }
16825
16803
  ChangeSet.GetChangeSetContent = GetChangeSetContent;
16826
16804
  })(exports.ChangeSet || (exports.ChangeSet = {}));
16827
16805
 
16828
16806
  // This is updated with the package.json version on build.
16829
- const VERSION = "7.0.17";
16807
+ const VERSION = "7.0.19";
16830
16808
 
16831
16809
  exports.VERSION = VERSION;
16832
16810
  exports.AbstractApi = AbstractApi;