@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.
- package/bundles/infrab4a-connect.umd.js +27 -0
- package/bundles/infrab4a-connect.umd.js.map +1 -1
- package/esm2015/lib/domain/catalog/models/category.js +1 -1
- package/esm2015/lib/domain/users/models/index.js +2 -1
- package/esm2015/lib/domain/users/models/user-payment-method.js +7 -0
- package/esm2015/lib/domain/users/repositories/index.js +2 -1
- package/esm2015/lib/domain/users/repositories/user-payment-method.repository.js +2 -0
- package/esm2015/lib/infra/firebase/firestore/repositories/users/index.js +2 -1
- package/esm2015/lib/infra/firebase/firestore/repositories/users/user-payment-method-firestore.repository.js +14 -0
- package/fesm2015/infrab4a-connect.js +18 -1
- package/fesm2015/infrab4a-connect.js.map +1 -1
- package/lib/domain/catalog/models/category.d.ts +1 -0
- package/lib/domain/users/models/index.d.ts +1 -0
- package/lib/domain/users/models/user-payment-method.d.ts +13 -0
- package/lib/domain/users/repositories/index.d.ts +1 -0
- package/lib/domain/users/repositories/user-payment-method.repository.d.ts +4 -0
- package/lib/infra/firebase/firestore/repositories/users/index.d.ts +1 -0
- package/lib/infra/firebase/firestore/repositories/users/user-payment-method-firestore.repository.d.ts +60 -0
- package/package.json +1 -1
|
@@ -4,4 +4,4 @@ export class Category extends BaseModel {
|
|
|
4
4
|
return ['id'];
|
|
5
5
|
}
|
|
6
6
|
}
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2F0ZWdvcnkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb25uZWN0L3NyYy9saWIvZG9tYWluL2NhdGFsb2cvbW9kZWxzL2NhdGVnb3J5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGlu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ICBwdWJsaXNoZWQ6IGJvb2xlYW5cblxuICBpZGVudGlmaWVyRmllbGRzKCk6IE5vbkZ1bmN0aW9uUHJvcGVydHlOYW1lczxDYXRlZ29yeT5bXSB7XG4gICAgcmV0dXJuIFsnaWQnXVxuICB9XG59XG4iXX0=
|
|
@@ -3,5 +3,6 @@ export * from './subscription';
|
|
|
3
3
|
export * from './user';
|
|
4
4
|
export * from './beauty-profile';
|
|
5
5
|
export * from './user-address';
|
|
6
|
+
export * from './user-payment-method';
|
|
6
7
|
export * from './lead';
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb25uZWN0L3NyYy9saWIvZG9tYWluL3VzZXJzL21vZGVscy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLFNBQVMsQ0FBQTtBQUN2QixjQUFjLGdCQUFnQixDQUFBO0FBQzlCLGNBQWMsUUFBUSxDQUFBO0FBQ3RCLGNBQWMsa0JBQWtCLENBQUE7QUFDaEMsY0FBYyxnQkFBZ0IsQ0FBQTtBQUM5QixjQUFjLHVCQUF1QixDQUFBO0FBQ3JDLGNBQWMsUUFBUSxDQUFBIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9lbnVtcydcbmV4cG9ydCAqIGZyb20gJy4vc3Vic2NyaXB0aW9uJ1xuZXhwb3J0ICogZnJvbSAnLi91c2VyJ1xuZXhwb3J0ICogZnJvbSAnLi9iZWF1dHktcHJvZmlsZSdcbmV4cG9ydCAqIGZyb20gJy4vdXNlci1hZGRyZXNzJ1xuZXhwb3J0ICogZnJvbSAnLi91c2VyLXBheW1lbnQtbWV0aG9kJ1xuZXhwb3J0ICogZnJvbSAnLi9sZWFkJ1xuIl19
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BaseModel } from '../../general/model/base.model';
|
|
2
|
+
export class UserPaymentMethod extends BaseModel {
|
|
3
|
+
identifierFields() {
|
|
4
|
+
return ['id'];
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci1wYXltZW50LW1ldGhvZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Nvbm5lY3Qvc3JjL2xpYi9kb21haW4vdXNlcnMvbW9kZWxzL3VzZXItcGF5bWVudC1tZXRob2QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGdDQUFnQyxDQUFBO0FBRzFELE1BQU0sT0FBTyxpQkFBa0IsU0FBUSxTQUE0QjtJQVVqRSxnQkFBZ0I7UUFDZCxPQUFPLENBQUMsSUFBSSxDQUFDLENBQUE7SUFDZixDQUFDO0NBQ0YiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBCYXNlTW9kZWwgfSBmcm9tICcuLi8uLi9nZW5lcmFsL21vZGVsL2Jhc2UubW9kZWwnXG5pbXBvcnQgeyBOb25GdW5jdGlvblByb3BlcnR5TmFtZXMgfSBmcm9tICcuLi8uLi9nZW5lcmFsL21vZGVsL3R5cGVzL25vbi1mdW5jdGlvbi1wcm9wZXJ0eS1uYW1lLnR5cGUnXG5cbmV4cG9ydCBjbGFzcyBVc2VyUGF5bWVudE1ldGhvZCBleHRlbmRzIEJhc2VNb2RlbDxVc2VyUGF5bWVudE1ldGhvZD4ge1xuICBicmFuZDogc3RyaW5nXG4gIGNwZjogc3RyaW5nXG4gIGhvbGRlck5hbWU6IHN0cmluZ1xuICBsYXN0NDogc3RyaW5nXG4gIHBhZ2FybWVUb2tlbjogc3RyaW5nXG4gIHZhbGlkVW50aWw6IHN0cmluZ1xuICB1c2VySWQ6IHN0cmluZ1xuICBpZDogc3RyaW5nXG5cbiAgaWRlbnRpZmllckZpZWxkcygpOiBOb25GdW5jdGlvblByb3BlcnR5TmFtZXM8VXNlclBheW1lbnRNZXRob2Q+W10ge1xuICAgIHJldHVybiBbJ2lkJ11cbiAgfVxufVxuIl19
|
|
@@ -3,6 +3,7 @@ export * from './subscription.repository';
|
|
|
3
3
|
export * from './edition.repository';
|
|
4
4
|
export * from './beauty-profile.repository';
|
|
5
5
|
export * from './user-address.repository';
|
|
6
|
+
export * from './user-payment-method.repository';
|
|
6
7
|
export * from './subscription-payment.repository';
|
|
7
8
|
export * from './lead.repository';
|
|
8
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
9
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb25uZWN0L3NyYy9saWIvZG9tYWluL3VzZXJzL3JlcG9zaXRvcmllcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLG1CQUFtQixDQUFBO0FBQ2pDLGNBQWMsMkJBQTJCLENBQUE7QUFDekMsY0FBYyxzQkFBc0IsQ0FBQTtBQUNwQyxjQUFjLDZCQUE2QixDQUFBO0FBQzNDLGNBQWMsMkJBQTJCLENBQUE7QUFDekMsY0FBYyxrQ0FBa0MsQ0FBQTtBQUNoRCxjQUFjLG1DQUFtQyxDQUFBO0FBQ2pELGNBQWMsbUJBQW1CLENBQUEiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3VzZXIucmVwb3NpdG9yeSdcbmV4cG9ydCAqIGZyb20gJy4vc3Vic2NyaXB0aW9uLnJlcG9zaXRvcnkn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 @@ export * from './user-firestore.repository';
|
|
|
3
3
|
export * from './subscription-edition-firestore.repository';
|
|
4
4
|
export * from './user-beauty-profile-firestore.repository';
|
|
5
5
|
export * from './user-address-firestore.repository';
|
|
6
|
+
export * from './user-payment-method-firestore.repository';
|
|
6
7
|
export * from './subscription-payment-firestore.repository';
|
|
7
8
|
export * from './lead-firestore.repository';
|
|
8
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
9
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb25uZWN0L3NyYy9saWIvaW5mcmEvZmlyZWJhc2UvZmlyZXN0b3JlL3JlcG9zaXRvcmllcy91c2Vycy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHFDQUFxQyxDQUFBO0FBQ25ELGNBQWMsNkJBQTZCLENBQUE7QUFDM0MsY0FBYyw2Q0FBNkMsQ0FBQTtBQUMzRCxjQUFjLDRDQUE0QyxDQUFBO0FBQzFELGNBQWMscUNBQXFDLENBQUE7QUFDbkQsY0FBYyw0Q0FBNEMsQ0FBQTtBQUMxRCxjQUFjLDZDQUE2QyxDQUFBO0FBQzNELGNBQWMsNkJBQTZCLENBQUEiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3N1YnNjcmlwdGlvbi1maXJlc3RvcmUucmVwb3NpdG9yeSdcbmV4cG9ydCAqIGZyb20gJy4vdXNlci1maXJlc3RvcmUucmVwb3NpdG9yeSdcbmV4cG9ydCAqIGZyb20gJy4vc3Vic2NyaXB0aW9uLWVkaXRpb24tZmlyZXN0b3JlLnJlcG9zaXRvcnknXG5leHBvcnQgKiBmcm9tICcuL3VzZXItYmVhdXR5LXByb2ZpbGUtZmlyZXN0b3JlLnJlcG9zaXRvcnknXG5leHBvcnQgKiBmcm9tICcuL3VzZXItYWRkcmVzcy1maXJlc3RvcmUucmVwb3NpdG9yeSdcbmV4cG9ydCAqIGZyb20gJy4vdXNlci1wYXltZW50LW1ldGhvZC1maXJlc3RvcmUucmVwb3NpdG9yeSdcbmV4cG9ydCAqIGZyb20gJy4vc3Vic2NyaXB0aW9uLXBheW1lbnQtZmlyZXN0b3JlLnJlcG9zaXRvcnknXG5leHBvcnQgKiBmcm9tICcuL2xlYWQtZmlyZXN0b3JlLnJlcG9zaXRvcnknXG4iXX0=
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Base } from '../../../../../utils';
|
|
2
|
+
import { User, UserPaymentMethod } from '../../../../../domain';
|
|
3
|
+
import { withCrudFirestore, withFirestore, withHelpers, withSubCollection } from '../../mixins';
|
|
4
|
+
export class UserPaymentMethodFirestoreRepository extends withSubCollection(withCrudFirestore(withHelpers(withFirestore(Base))), User) {
|
|
5
|
+
constructor(firestore, parentRepository) {
|
|
6
|
+
super();
|
|
7
|
+
this.firestore = firestore;
|
|
8
|
+
this.parentRepository = parentRepository;
|
|
9
|
+
this.collectionName = 'payment_method';
|
|
10
|
+
this.parentIdField = 'userId';
|
|
11
|
+
this.model = UserPaymentMethod;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci1wYXltZW50LW1ldGhvZC1maXJlc3RvcmUucmVwb3NpdG9yeS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Nvbm5lY3Qvc3JjL2xpYi9pbmZyYS9maXJlYmFzZS9maXJlc3RvcmUvcmVwb3NpdG9yaWVzL3VzZXJzL3VzZXItcGF5bWVudC1tZXRob2QtZmlyZXN0b3JlLnJlcG9zaXRvcnkudHMiXSwibmFtZXMiOltdLCJtYXB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IHdpdGhIZWxwZXJzLCB3aXRoU3ViQ29sbGVjdGlvbiB9IGZyb20gJy4uLy4uL21peGlucydcblxuaW1wb3J0IHsgVXNlckZpcmVzdG9yZVJlcG9zaXRvcnkgfSBmcm9tICcuL3VzZXItZmlyZXN0b3JlLnJlcG9zaXRvcnknXG5cbmV4cG9ydCBjbGFzcyBVc2VyUGF5bWVudE1ldGhvZEZpcmVzdG9yZVJlcG9zaXRvcnlcbiAgZXh0ZW5kcyB3aXRoU3ViQ29sbGVjdGlvbih3aXRoQ3J1ZEZpcmVzdG9yZSh3aXRoSGVscGVycyh3aXRoRmlyZXN0b3JlPFVzZXJQYXltZW50TWV0aG9kPihCYXNlKSkpLCBVc2VyKVxuICBpbXBsZW1lbnRzIFVzZXJQYXltZW50TWV0aG9kUmVwb3NpdG9yeVxue1xuICBjb25zdHJ1Y3RvcihyZWFkb25seSBmaXJlc3RvcmU6IEZpcmViYXNlRmlyZXN0b3JlLCByZWFkb25seSBwYXJlbnRSZXBvc2l0b3J5OiBVc2VyRmlyZXN0b3JlUmVwb3NpdG9yeSkge1xuICAgIHN1cGVyKClcbiAgICB0aGlzLmNvbGxlY3Rpb25OYW1lID0gJ3BheW1lbnRfbWV0aG9kJ1xuICAgIHRoaXMucGFyZW50SWRGaWVsZCA9ICd1c2VySWQnXG4gICAgdGhpcy5tb2RlbCA9IFVzZXJQYXltZW50TWV0aG9kXG4gIH1cbn1cbiJdfQ==
|
|
@@ -423,6 +423,12 @@ class UserAddress extends Address {
|
|
|
423
423
|
}
|
|
424
424
|
}
|
|
425
425
|
|
|
426
|
+
class UserPaymentMethod extends BaseModel {
|
|
427
|
+
identifierFields() {
|
|
428
|
+
return ['id'];
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
|
|
426
432
|
class Lead extends BaseModel {
|
|
427
433
|
identifierFields() {
|
|
428
434
|
return ['id'];
|
|
@@ -1001,6 +1007,17 @@ class UserAddressFirestoreRepository extends withSubCollection(withCrudFirestore
|
|
|
1001
1007
|
}
|
|
1002
1008
|
}
|
|
1003
1009
|
|
|
1010
|
+
class UserPaymentMethodFirestoreRepository extends withSubCollection(withCrudFirestore(withHelpers(withFirestore(Base))), User) {
|
|
1011
|
+
constructor(firestore, parentRepository) {
|
|
1012
|
+
super();
|
|
1013
|
+
this.firestore = firestore;
|
|
1014
|
+
this.parentRepository = parentRepository;
|
|
1015
|
+
this.collectionName = 'payment_method';
|
|
1016
|
+
this.parentIdField = 'userId';
|
|
1017
|
+
this.model = UserPaymentMethod;
|
|
1018
|
+
}
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1004
1021
|
class SubscriptionPaymentFirestoreRepository extends withSubCollection(withCrudFirestore(withHelpers(withFirestore(Base))), Subscription) {
|
|
1005
1022
|
constructor(firestore, parentRepository) {
|
|
1006
1023
|
super();
|
|
@@ -1242,5 +1259,5 @@ class AuthenticationFirebaseAuthService {
|
|
|
1242
1259
|
* Generated bundle index. Do not edit.
|
|
1243
1260
|
*/
|
|
1244
1261
|
|
|
1245
|
-
export { Address, Area, Authentication, AuthenticationFirebaseAuthService, Base, BaseModel, BeardSizes, BeautyProfile, BillingStatus, Buy2Win, Buy2WinFirestoreRepository, Category, CategoryFirestoreRepository, Checkout, CheckoutFirestoreRepository, CheckoutSubscription, CheckoutSubscriptionFirestoreRepository, CheckoutTypes, Coupon, CouponFirestoreRepository, CouponSubtypes, CouponTypes, DuplicatedResultsError, Edition, EditionStatus, Exclusivities, FinancialCoupon, HairTypes, Home, HomeFirestoreRepository, InvalidArgumentError, Lead, LeadFirestoreRepository, LegacyOrderFirestoreRepository, LineItem, NotFoundError, OfficePosition, Order, OrderFirestoreRepository, OrderStatus, Payment, PaymentFirestoreRepository, PaymentType, Product, ProductFirestoreRepository, ProductVariantFirestoreRepository, RequiredArgumentError, ShippingMethod, ShopMenu, ShopMenuFirestoreRepository, Shops, SignInMethods, SignOut, Status, Subscription, SubscriptionEditionFirestoreRepository, SubscriptionFirestoreRepository, SubscriptionPayment, SubscriptionPaymentFirestoreRepository, SubscriptionPlan, SubscriptionPlanFirestoreRepository, UnauthorizedError, UpdateOptionActions, User, UserAddress, UserAddressFirestoreRepository, UserBeautyProfileFirestoreRepository, UserFirestoreRepository, UserType, Variant, Where, withCreateFirestore, withCrudFirestore, withDeleteFirestore, withFindFirestore, withFirestore, withGetFirestore, withHelpers, withSubCollection, withUpdateFirestore };
|
|
1262
|
+
export { Address, Area, Authentication, AuthenticationFirebaseAuthService, Base, BaseModel, BeardSizes, BeautyProfile, BillingStatus, Buy2Win, Buy2WinFirestoreRepository, Category, CategoryFirestoreRepository, Checkout, CheckoutFirestoreRepository, CheckoutSubscription, CheckoutSubscriptionFirestoreRepository, CheckoutTypes, Coupon, CouponFirestoreRepository, CouponSubtypes, CouponTypes, DuplicatedResultsError, Edition, EditionStatus, Exclusivities, FinancialCoupon, HairTypes, Home, HomeFirestoreRepository, InvalidArgumentError, Lead, LeadFirestoreRepository, LegacyOrderFirestoreRepository, LineItem, NotFoundError, OfficePosition, Order, OrderFirestoreRepository, OrderStatus, Payment, PaymentFirestoreRepository, PaymentType, Product, ProductFirestoreRepository, ProductVariantFirestoreRepository, RequiredArgumentError, ShippingMethod, ShopMenu, ShopMenuFirestoreRepository, Shops, SignInMethods, SignOut, Status, Subscription, SubscriptionEditionFirestoreRepository, SubscriptionFirestoreRepository, SubscriptionPayment, SubscriptionPaymentFirestoreRepository, SubscriptionPlan, SubscriptionPlanFirestoreRepository, UnauthorizedError, UpdateOptionActions, User, UserAddress, UserAddressFirestoreRepository, UserBeautyProfileFirestoreRepository, UserFirestoreRepository, UserPaymentMethod, UserPaymentMethodFirestoreRepository, UserType, Variant, Where, withCreateFirestore, withCrudFirestore, withDeleteFirestore, withFindFirestore, withFirestore, withGetFirestore, withHelpers, withSubCollection, withUpdateFirestore };
|
|
1246
1263
|
//# sourceMappingURL=infrab4a-connect.js.map
|