bruce-models 7.0.13 → 7.0.15

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.
@@ -16742,8 +16742,7 @@
16742
16742
  api = exports.ENVIRONMENT.Api().GetBruceApi();
16743
16743
  }
16744
16744
  const url = `change` + (data.ID == null ? "" : "/" + data.ID);
16745
- const res = yield api.POST(url, data, exports.Api.PrepReqParams(reqParams));
16746
- return;
16745
+ return api.POST(url, data, exports.Api.PrepReqParams(reqParams));
16747
16746
  });
16748
16747
  }
16749
16748
  ChangeSet.Update = Update;
@@ -16795,25 +16794,14 @@
16795
16794
  api = exports.ENVIRONMENT.Api().GetBruceApi();
16796
16795
  }
16797
16796
  reqParams = exports.Api.PrepReqParams(reqParams);
16798
- const prom = new Promise((res, rej) => __awaiter(this, void 0, void 0, function* () {
16799
- try {
16800
- const data = yield api.GET("changes", exports.Api.PrepReqParams(reqParams));
16801
- res({
16802
- changeSet: data === null || data === void 0 ? void 0 : data.Items
16803
- });
16804
- }
16805
- catch (e) {
16806
- rej(e);
16807
- }
16808
- }));
16809
- return prom;
16797
+ return yield api.GET("changes", exports.Api.PrepReqParams(reqParams));
16810
16798
  });
16811
16799
  }
16812
16800
  ChangeSet.GetList = GetList;
16813
16801
  })(exports.ChangeSet || (exports.ChangeSet = {}));
16814
16802
 
16815
16803
  // This is updated with the package.json version on build.
16816
- const VERSION = "7.0.13";
16804
+ const VERSION = "7.0.15";
16817
16805
 
16818
16806
  exports.VERSION = VERSION;
16819
16807
  exports.AbstractApi = AbstractApi;