@infrab4a/connect 0.9.6-beta.0 → 0.9.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.
@@ -776,6 +776,17 @@
776
776
  return UserAddress;
777
777
  }(Address));
778
778
 
779
+ var UserPaymentMethod = /** @class */ (function (_super) {
780
+ __extends(UserPaymentMethod, _super);
781
+ function UserPaymentMethod() {
782
+ return _super !== null && _super.apply(this, arguments) || this;
783
+ }
784
+ UserPaymentMethod.prototype.identifierFields = function () {
785
+ return ['id'];
786
+ };
787
+ return UserPaymentMethod;
788
+ }(BaseModel));
789
+
779
790
  var Lead = /** @class */ (function (_super) {
780
791
  __extends(Lead, _super);
781
792
  function Lead() {
@@ -1635,6 +1646,20 @@
1635
1646
  return UserAddressFirestoreRepository;
1636
1647
  }(withSubCollection(withCrudFirestore(withHelpers(withFirestore(Base))), User)));
1637
1648
 
1649
+ var UserPaymentMethodFirestoreRepository = /** @class */ (function (_super) {
1650
+ __extends(UserPaymentMethodFirestoreRepository, _super);
1651
+ function UserPaymentMethodFirestoreRepository(firestore, parentRepository) {
1652
+ var _this = _super.call(this) || this;
1653
+ _this.firestore = firestore;
1654
+ _this.parentRepository = parentRepository;
1655
+ _this.collectionName = 'payment_method';
1656
+ _this.parentIdField = 'userId';
1657
+ _this.model = UserPaymentMethod;
1658
+ return _this;
1659
+ }
1660
+ return UserPaymentMethodFirestoreRepository;
1661
+ }(withSubCollection(withCrudFirestore(withHelpers(withFirestore(Base))), User)));
1662
+
1638
1663
  var SubscriptionPaymentFirestoreRepository = /** @class */ (function (_super) {
1639
1664
  __extends(SubscriptionPaymentFirestoreRepository, _super);
1640
1665
  function SubscriptionPaymentFirestoreRepository(firestore, parentRepository) {
@@ -2075,6 +2100,8 @@
2075
2100
  exports.UserAddressFirestoreRepository = UserAddressFirestoreRepository;
2076
2101
  exports.UserBeautyProfileFirestoreRepository = UserBeautyProfileFirestoreRepository;
2077
2102
  exports.UserFirestoreRepository = UserFirestoreRepository;
2103
+ exports.UserPaymentMethod = UserPaymentMethod;
2104
+ exports.UserPaymentMethodFirestoreRepository = UserPaymentMethodFirestoreRepository;
2078
2105
  exports.Variant = Variant;
2079
2106
  exports.withCreateFirestore = withCreateFirestore;
2080
2107
  exports.withCrudFirestore = withCrudFirestore;