@infrab4a/connect 0.11.0-beta.0 → 0.12.0

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.
@@ -25,6 +25,7 @@
25
25
  exports.Where = void 0;
26
26
  (function (Where) {
27
27
  Where["EQUALS"] = "==";
28
+ Where["NOTEQUALS"] = "!=";
28
29
  Where["GT"] = ">";
29
30
  Where["GTE"] = ">=";
30
31
  Where["IN"] = "in";
@@ -246,6 +247,7 @@
246
247
  exports.EditionStatus = void 0;
247
248
  (function (EditionStatus) {
248
249
  EditionStatus["ALLOCATION_WAITING"] = "Aguardando aloca\u00E7\u00E3o";
250
+ EditionStatus["SHIPPED"] = "Enviado";
249
251
  })(exports.EditionStatus || (exports.EditionStatus = {}));
250
252
 
251
253
  exports.PaymentType = void 0;
@@ -1031,7 +1033,7 @@
1031
1033
  auth = _a.sent();
1032
1034
  delete params.password;
1033
1035
  return [4 /*yield*/, this.userRepository.create(Object.assign(Object.assign({}, params), { id: auth.id, email: email,
1034
- displayName: displayName, dateCreated: new Date(), dateModified: new Date() }))];
1036
+ displayName: displayName, type: exports.UserType.B2C, dateCreated: new Date(), dateModified: new Date() }))];
1035
1037
  case 2:
1036
1038
  user = _a.sent();
1037
1039
  return [2 /*return*/, user];