bruce-models 3.9.0 → 3.9.1

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.
@@ -3002,7 +3002,7 @@
3002
3002
  */
3003
3003
  function Get(params) {
3004
3004
  return __awaiter(this, void 0, void 0, function* () {
3005
- let { api, entityId, req: reqParams, expandLocation, expandRelations, entityTypeId, historicFrom, historicKey, historicTo } = params;
3005
+ let { api, entityId, req: reqParams, expandLocation, expandRelations, entityTypeId, historicFrom, historicKey, historicTo, historicPoint } = params;
3006
3006
  if (!entityId) {
3007
3007
  throw ("Entity ID is required.");
3008
3008
  }
@@ -3016,7 +3016,8 @@
3016
3016
  expandRelations,
3017
3017
  historicFrom,
3018
3018
  historicKey,
3019
- historicTo
3019
+ historicTo,
3020
+ historicPoint
3020
3021
  });
3021
3022
  const cache = api.GetCacheItem(key, reqParams);
3022
3023
  if (cache === null || cache === void 0 ? void 0 : cache.found) {
@@ -3034,6 +3035,18 @@
3034
3035
  if (entityTypeId) {
3035
3036
  urlParams.append("BruceEntityType", entityTypeId);
3036
3037
  }
3038
+ if (historicKey) {
3039
+ urlParams.set("historicKey", historicKey);
3040
+ }
3041
+ if (historicFrom) {
3042
+ urlParams.set("historicFrom", historicFrom);
3043
+ }
3044
+ if (historicTo) {
3045
+ urlParams.set("historicTo", historicTo);
3046
+ }
3047
+ if (historicPoint) {
3048
+ urlParams.set("historicPoint", historicPoint);
3049
+ }
3037
3050
  const data = yield api.GET(`entity/${entityId}?${urlParams.toString()}`, exports.Api.PrepReqParams(reqParams));
3038
3051
  res({
3039
3052
  entity: data
@@ -11145,7 +11158,7 @@
11145
11158
  })(exports.DataSource || (exports.DataSource = {}));
11146
11159
 
11147
11160
  // This is updated with the package.json version on build.
11148
- const VERSION = "3.9.0";
11161
+ const VERSION = "3.9.1";
11149
11162
 
11150
11163
  exports.VERSION = VERSION;
11151
11164
  exports.AbstractApi = AbstractApi;