bruce-models 0.2.7 → 0.2.8

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.
@@ -5238,6 +5238,9 @@ var User;
5238
5238
  case 1:
5239
5239
  res = _a.sent();
5240
5240
  api.Cache.RemoveByContains(Api.ECacheKey.User + Api.ECacheKey.Id + res.ID);
5241
+ if (data.Email) {
5242
+ api.Cache.RemoveByContains(Api.ECacheKey.User + Api.ECacheKey.UserEmail + data.Email);
5243
+ }
5241
5244
  return [2 /*return*/, res];
5242
5245
  }
5243
5246
  });
@@ -5588,7 +5591,25 @@ var Account;
5588
5591
  EDbRegion["Paris"] = "EU";
5589
5592
  EDbRegion["Singapore"] = "SE";
5590
5593
  EDbRegion["Australia"] = "AU";
5591
- })(EDbRegion || (EDbRegion = {}));
5594
+ })(EDbRegion = Account$$1.EDbRegion || (Account$$1.EDbRegion = {}));
5595
+ Account$$1.DbRegions = [
5596
+ {
5597
+ name: "North California, USA",
5598
+ value: EDbRegion.USA
5599
+ },
5600
+ {
5601
+ name: "Paris, France",
5602
+ value: EDbRegion.Paris
5603
+ },
5604
+ {
5605
+ name: "Singapore",
5606
+ value: EDbRegion.Singapore
5607
+ },
5608
+ {
5609
+ name: "Sydney, Australia",
5610
+ value: EDbRegion.Australia
5611
+ }
5612
+ ];
5592
5613
  function Get(api, id) {
5593
5614
  return __awaiter(this, void 0, void 0, function () {
5594
5615
  var cacheData, req;