@infrab4a/connect 0.0.4 → 0.1.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.
- package/bundles/infrab4a-connect.umd.js +469 -38
- package/bundles/infrab4a-connect.umd.js.map +1 -1
- package/esm2015/lib/domain/index.js +3 -1
- package/esm2015/lib/domain/location/index.js +2 -0
- package/esm2015/lib/domain/location/models/address.js +4 -0
- package/esm2015/lib/domain/location/models/index.js +3 -0
- package/esm2015/lib/domain/location/models/types/index.js +4 -0
- package/esm2015/lib/domain/location/models/types/location-bound.type.js +2 -0
- package/esm2015/lib/domain/location/models/types/location-geometry.type.js +2 -0
- package/esm2015/lib/domain/location/models/types/location-lat-lng.type.js +2 -0
- package/esm2015/lib/domain/shopping/index.js +3 -0
- package/esm2015/lib/domain/shopping/models/checkout.js +7 -0
- package/esm2015/lib/domain/shopping/models/coupons/coupon.js +15 -0
- package/esm2015/lib/domain/shopping/models/coupons/enums/coupon-subtypes.enum.js +6 -0
- package/esm2015/lib/domain/shopping/models/coupons/enums/coupon-types.enum.js +8 -0
- package/esm2015/lib/domain/shopping/models/coupons/enums/exclusivities.enum.js +7 -0
- package/esm2015/lib/domain/shopping/models/coupons/enums/index.js +4 -0
- package/esm2015/lib/domain/shopping/models/coupons/financial-coupon.js +28 -0
- package/esm2015/lib/domain/shopping/models/coupons/index.js +4 -0
- package/esm2015/lib/domain/shopping/models/enums/checkout-types.enum.js +6 -0
- package/esm2015/lib/domain/shopping/models/enums/index.js +3 -0
- package/esm2015/lib/domain/shopping/models/enums/order-status.enum.js +12 -0
- package/esm2015/lib/domain/shopping/models/index.js +10 -0
- package/esm2015/lib/domain/shopping/models/line-item.js +4 -0
- package/esm2015/lib/domain/shopping/models/order.js +4 -0
- package/esm2015/lib/domain/shopping/models/payment.js +129 -0
- package/esm2015/lib/domain/shopping/models/shipping-method.js +7 -0
- package/esm2015/lib/domain/shopping/models/subscription/checkout.js +7 -0
- package/esm2015/lib/domain/shopping/models/subscription/index.js +3 -0
- package/esm2015/lib/domain/shopping/models/subscription/plan.js +7 -0
- package/esm2015/lib/domain/shopping/models/types/index.js +8 -0
- package/esm2015/lib/domain/shopping/models/types/payment-address.type.js +2 -0
- package/esm2015/lib/domain/shopping/models/types/payment-billing.type.js +2 -0
- package/esm2015/lib/domain/shopping/models/types/payment-card.type.js +2 -0
- package/esm2015/lib/domain/shopping/models/types/payment-customer.type.js +2 -0
- package/esm2015/lib/domain/shopping/models/types/payment-document.type.js +2 -0
- package/esm2015/lib/domain/shopping/models/types/payment-item.type.js +2 -0
- package/esm2015/lib/domain/shopping/models/types/payment-shipping.type.js +2 -0
- package/esm2015/lib/domain/shopping/repositories/checkout.repository.js +2 -0
- package/esm2015/lib/domain/shopping/repositories/coupon.repository.js +2 -0
- package/esm2015/lib/domain/shopping/repositories/index.js +6 -0
- package/esm2015/lib/domain/shopping/repositories/order.repository.js +2 -0
- package/esm2015/lib/domain/shopping/repositories/payment.repository.js +2 -0
- package/esm2015/lib/domain/shopping/repositories/subscription/checkout.repository.js +2 -0
- package/esm2015/lib/domain/shopping/repositories/subscription/index.js +3 -0
- package/esm2015/lib/domain/shopping/repositories/subscription/plan.repository.js +2 -0
- package/esm2015/lib/domain/users/models/enums/index.js +1 -4
- package/esm2015/lib/domain/users/models/index.js +3 -3
- package/esm2015/lib/domain/users/models/subscription/edition.js +7 -0
- package/esm2015/lib/domain/users/models/subscription/enums/billing-status.enum.js +5 -0
- package/esm2015/lib/domain/users/models/subscription/enums/edition-status.enum.js +5 -0
- package/esm2015/lib/domain/users/models/subscription/enums/index.js +5 -0
- package/esm2015/lib/domain/users/models/subscription/enums/payment-type.enum.js +7 -0
- package/esm2015/lib/domain/users/models/subscription/enums/status.enum.js +5 -0
- package/esm2015/lib/domain/users/models/subscription/index.js +5 -0
- package/esm2015/lib/domain/users/models/subscription/payment.js +7 -0
- package/esm2015/lib/domain/users/models/subscription/subscription.js +7 -0
- package/esm2015/lib/domain/users/models/user-address.js +7 -0
- package/esm2015/lib/domain/users/repositories/edition.repository.js +1 -1
- package/esm2015/lib/domain/users/repositories/index.js +3 -1
- package/esm2015/lib/domain/users/repositories/subscription-payment.repository.js +2 -0
- package/esm2015/lib/domain/users/repositories/subscription.repository.js +1 -1
- package/esm2015/lib/domain/users/repositories/user-address.repository.js +2 -0
- package/esm2015/lib/infra/firebase/firestore/repositories/index.js +2 -1
- package/esm2015/lib/infra/firebase/firestore/repositories/shopping/checkout-firestore.repository.js +12 -0
- package/esm2015/lib/infra/firebase/firestore/repositories/shopping/checkout-subscription-firestore.repository.js +12 -0
- package/esm2015/lib/infra/firebase/firestore/repositories/shopping/coupon-firestore.repository.js +12 -0
- package/esm2015/lib/infra/firebase/firestore/repositories/shopping/index.js +7 -0
- package/esm2015/lib/infra/firebase/firestore/repositories/shopping/order-firestore.repository.js +12 -0
- package/esm2015/lib/infra/firebase/firestore/repositories/shopping/payment-firestore.repository.js +12 -0
- package/esm2015/lib/infra/firebase/firestore/repositories/shopping/subscription-plan-firestore.repository.js +12 -0
- package/esm2015/lib/infra/firebase/firestore/repositories/users/index.js +3 -1
- package/esm2015/lib/infra/firebase/firestore/repositories/users/subscription-payment-firestore.repository.js +14 -0
- package/esm2015/lib/infra/firebase/firestore/repositories/users/user-address-firestore.repository.js +14 -0
- package/fesm2015/infrab4a-connect.js +359 -29
- package/fesm2015/infrab4a-connect.js.map +1 -1
- package/lib/domain/index.d.ts +2 -0
- package/lib/domain/location/index.d.ts +1 -0
- package/lib/domain/location/models/address.d.ts +21 -0
- package/lib/domain/location/models/index.d.ts +2 -0
- package/lib/domain/location/models/types/index.d.ts +3 -0
- package/lib/domain/location/models/types/location-bound.type.d.ts +6 -0
- package/lib/domain/location/models/types/location-geometry.type.d.ts +7 -0
- package/lib/domain/location/models/types/location-lat-lng.type.d.ts +4 -0
- package/lib/domain/shopping/index.d.ts +2 -0
- package/lib/domain/shopping/models/checkout.d.ts +26 -0
- package/lib/domain/shopping/models/coupons/coupon.d.ts +24 -0
- package/lib/domain/shopping/models/coupons/enums/coupon-subtypes.enum.d.ts +4 -0
- package/lib/domain/shopping/models/coupons/enums/coupon-types.enum.d.ts +6 -0
- package/lib/domain/shopping/models/coupons/enums/exclusivities.enum.d.ts +5 -0
- package/lib/domain/shopping/models/coupons/enums/index.d.ts +3 -0
- package/lib/domain/shopping/models/coupons/financial-coupon.d.ts +8 -0
- package/lib/domain/shopping/models/coupons/index.d.ts +3 -0
- package/lib/domain/shopping/models/enums/checkout-types.enum.d.ts +4 -0
- package/lib/domain/shopping/models/enums/index.d.ts +2 -0
- package/lib/domain/shopping/models/enums/order-status.enum.d.ts +10 -0
- package/lib/domain/shopping/models/index.d.ts +9 -0
- package/lib/domain/shopping/models/line-item.d.ts +7 -0
- package/lib/domain/shopping/models/order.d.ts +7 -0
- package/lib/domain/shopping/models/payment.d.ts +69 -0
- package/lib/domain/shopping/models/shipping-method.d.ts +18 -0
- package/lib/domain/shopping/models/subscription/checkout.d.ts +23 -0
- package/lib/domain/shopping/models/subscription/index.d.ts +2 -0
- package/lib/domain/shopping/models/subscription/plan.d.ts +12 -0
- package/lib/domain/shopping/models/types/index.d.ts +7 -0
- package/lib/domain/shopping/models/types/payment-address.type.d.ts +12 -0
- package/lib/domain/shopping/models/types/payment-billing.type.d.ts +7 -0
- package/lib/domain/shopping/models/types/payment-card.type.d.ts +14 -0
- package/lib/domain/shopping/models/types/payment-customer.type.d.ts +18 -0
- package/lib/domain/shopping/models/types/payment-document.type.d.ts +6 -0
- package/lib/domain/shopping/models/types/payment-item.type.d.ts +11 -0
- package/lib/domain/shopping/models/types/payment-shipping.type.d.ts +10 -0
- package/lib/domain/shopping/repositories/checkout.repository.d.ts +4 -0
- package/lib/domain/shopping/repositories/coupon.repository.d.ts +4 -0
- package/lib/domain/shopping/repositories/index.d.ts +5 -0
- package/lib/domain/shopping/repositories/order.repository.d.ts +4 -0
- package/lib/domain/shopping/repositories/payment.repository.d.ts +4 -0
- package/lib/domain/shopping/repositories/subscription/checkout.repository.d.ts +4 -0
- package/lib/domain/shopping/repositories/subscription/index.d.ts +2 -0
- package/lib/domain/shopping/repositories/subscription/plan.repository.d.ts +4 -0
- package/lib/domain/users/models/enums/index.d.ts +0 -3
- package/lib/domain/users/models/index.d.ts +2 -2
- package/lib/domain/users/models/{edition.d.ts → subscription/edition.d.ts} +3 -3
- package/lib/domain/users/models/subscription/enums/index.d.ts +4 -0
- package/lib/domain/users/models/subscription/enums/payment-type.enum.d.ts +5 -0
- package/lib/domain/users/models/subscription/index.d.ts +4 -0
- package/lib/domain/users/models/subscription/payment.d.ts +14 -0
- package/lib/domain/users/models/subscription/subscription.d.ts +30 -0
- package/lib/domain/users/models/user-address.d.ts +7 -0
- package/lib/domain/users/repositories/edition.repository.d.ts +1 -1
- package/lib/domain/users/repositories/index.d.ts +2 -0
- package/lib/domain/users/repositories/subscription-payment.repository.d.ts +4 -0
- package/lib/domain/users/repositories/subscription.repository.d.ts +1 -1
- package/lib/domain/users/repositories/user-address.repository.d.ts +4 -0
- package/lib/infra/firebase/firestore/repositories/index.d.ts +1 -0
- package/lib/infra/firebase/firestore/repositories/shopping/checkout-firestore.repository.d.ts +48 -0
- package/lib/infra/firebase/firestore/repositories/shopping/checkout-subscription-firestore.repository.d.ts +48 -0
- package/lib/infra/firebase/firestore/repositories/shopping/coupon-firestore.repository.d.ts +48 -0
- package/lib/infra/firebase/firestore/repositories/shopping/index.d.ts +6 -0
- package/lib/infra/firebase/firestore/repositories/shopping/order-firestore.repository.d.ts +48 -0
- package/lib/infra/firebase/firestore/repositories/shopping/payment-firestore.repository.d.ts +48 -0
- package/lib/infra/firebase/firestore/repositories/shopping/subscription-plan-firestore.repository.d.ts +48 -0
- package/lib/infra/firebase/firestore/repositories/users/index.d.ts +2 -0
- package/lib/infra/firebase/firestore/repositories/users/subscription-payment-firestore.repository.d.ts +59 -0
- package/lib/infra/firebase/firestore/repositories/users/user-address-firestore.repository.d.ts +59 -0
- package/package.json +2 -1
- package/esm2015/lib/domain/users/models/edition.js +0 -7
- package/esm2015/lib/domain/users/models/enums/billing-status.enum.js +0 -5
- package/esm2015/lib/domain/users/models/enums/edition-status.enum.js +0 -5
- package/esm2015/lib/domain/users/models/enums/status.enum.js +0 -5
- package/esm2015/lib/domain/users/models/subscription.js +0 -7
- package/lib/domain/users/models/subscription.d.ts +0 -15
- /package/lib/domain/users/models/{enums → subscription/enums}/billing-status.enum.d.ts +0 -0
- /package/lib/domain/users/models/{enums → subscription/enums}/edition-status.enum.d.ts +0 -0
- /package/lib/domain/users/models/{enums → subscription/enums}/status.enum.d.ts +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('class-transformer'), require('lodash'), require('firebase/app')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@infrab4a/connect', ['exports', 'class-transformer', 'lodash', 'firebase/app'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.infrab4a = global.infrab4a || {}, global.infrab4a.connect = {}), global["class-transformer"], global.lodash, global.firebase));
|
|
5
|
-
})(this, (function (exports, classTransformer, lodash, firebase) { 'use strict';
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('class-transformer'), require('lodash'), require('ts-md5'), require('firebase/app')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@infrab4a/connect', ['exports', 'class-transformer', 'lodash', 'ts-md5', 'firebase/app'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.infrab4a = global.infrab4a || {}, global.infrab4a.connect = {}), global["class-transformer"], global.lodash, global.tsMd5, global.firebase));
|
|
5
|
+
})(this, (function (exports, classTransformer, lodash, tsMd5, firebase) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -32,11 +32,6 @@
|
|
|
32
32
|
Where["LIKE"] = "like";
|
|
33
33
|
})(exports.Where || (exports.Where = {}));
|
|
34
34
|
|
|
35
|
-
exports.Status = void 0;
|
|
36
|
-
(function (Status) {
|
|
37
|
-
Status["ACTIVE"] = "active";
|
|
38
|
-
})(exports.Status || (exports.Status = {}));
|
|
39
|
-
|
|
40
35
|
exports.UserType = void 0;
|
|
41
36
|
(function (UserType) {
|
|
42
37
|
UserType["B2C"] = "Cliente Transacional";
|
|
@@ -47,16 +42,6 @@
|
|
|
47
42
|
UserType["Influencer"] = "Influencer";
|
|
48
43
|
})(exports.UserType || (exports.UserType = {}));
|
|
49
44
|
|
|
50
|
-
exports.BillingStatus = void 0;
|
|
51
|
-
(function (BillingStatus) {
|
|
52
|
-
BillingStatus["PAYED"] = "PAGO";
|
|
53
|
-
})(exports.BillingStatus || (exports.BillingStatus = {}));
|
|
54
|
-
|
|
55
|
-
exports.EditionStatus = void 0;
|
|
56
|
-
(function (EditionStatus) {
|
|
57
|
-
EditionStatus["ALLOCATION_WAITING"] = "Aguardando aloca\u00E7\u00E3o";
|
|
58
|
-
})(exports.EditionStatus || (exports.EditionStatus = {}));
|
|
59
|
-
|
|
60
45
|
exports.BeardSizes = void 0;
|
|
61
46
|
(function (BeardSizes) {
|
|
62
47
|
BeardSizes["BIG"] = "Grande";
|
|
@@ -96,6 +81,28 @@
|
|
|
96
81
|
OfficePosition["Director"] = "Diretor";
|
|
97
82
|
})(exports.OfficePosition || (exports.OfficePosition = {}));
|
|
98
83
|
|
|
84
|
+
exports.BillingStatus = void 0;
|
|
85
|
+
(function (BillingStatus) {
|
|
86
|
+
BillingStatus["PAYED"] = "PAGO";
|
|
87
|
+
})(exports.BillingStatus || (exports.BillingStatus = {}));
|
|
88
|
+
|
|
89
|
+
exports.EditionStatus = void 0;
|
|
90
|
+
(function (EditionStatus) {
|
|
91
|
+
EditionStatus["ALLOCATION_WAITING"] = "Aguardando aloca\u00E7\u00E3o";
|
|
92
|
+
})(exports.EditionStatus || (exports.EditionStatus = {}));
|
|
93
|
+
|
|
94
|
+
exports.PaymentType = void 0;
|
|
95
|
+
(function (PaymentType) {
|
|
96
|
+
PaymentType["AQUISITION"] = "Aquisi\u00E7\u00E3o";
|
|
97
|
+
PaymentType["RENEWAL"] = "Renova\u00E7\u00E3o";
|
|
98
|
+
PaymentType["FREIGHT"] = "mudan\u00E7a de endere\u00E7o, Frete";
|
|
99
|
+
})(exports.PaymentType || (exports.PaymentType = {}));
|
|
100
|
+
|
|
101
|
+
exports.Status = void 0;
|
|
102
|
+
(function (Status) {
|
|
103
|
+
Status["ACTIVE"] = "active";
|
|
104
|
+
})(exports.Status || (exports.Status = {}));
|
|
105
|
+
|
|
99
106
|
/*! *****************************************************************************
|
|
100
107
|
Copyright (c) Microsoft Corporation.
|
|
101
108
|
|
|
@@ -414,25 +421,26 @@
|
|
|
414
421
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
415
422
|
}
|
|
416
423
|
|
|
417
|
-
var
|
|
418
|
-
__extends(
|
|
419
|
-
function
|
|
424
|
+
var Edition = /** @class */ (function (_super) {
|
|
425
|
+
__extends(Edition, _super);
|
|
426
|
+
function Edition() {
|
|
420
427
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
421
428
|
}
|
|
422
|
-
|
|
423
|
-
var instance = _super.toInstance.call(this, data);
|
|
424
|
-
instance.displayName = data.firstName + " " + data.lastName;
|
|
425
|
-
return instance;
|
|
426
|
-
};
|
|
427
|
-
User.prototype.identifierFields = function () {
|
|
429
|
+
Edition.prototype.identifierFields = function () {
|
|
428
430
|
return ['id'];
|
|
429
431
|
};
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
432
|
+
return Edition;
|
|
433
|
+
}(BaseModel));
|
|
434
|
+
|
|
435
|
+
var SubscriptionPayment = /** @class */ (function (_super) {
|
|
436
|
+
__extends(SubscriptionPayment, _super);
|
|
437
|
+
function SubscriptionPayment() {
|
|
438
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
439
|
+
}
|
|
440
|
+
SubscriptionPayment.prototype.identifierFields = function () {
|
|
441
|
+
return ['id'];
|
|
434
442
|
};
|
|
435
|
-
return
|
|
443
|
+
return SubscriptionPayment;
|
|
436
444
|
}(BaseModel));
|
|
437
445
|
|
|
438
446
|
var Subscription = /** @class */ (function (_super) {
|
|
@@ -446,15 +454,25 @@
|
|
|
446
454
|
return Subscription;
|
|
447
455
|
}(BaseModel));
|
|
448
456
|
|
|
449
|
-
var
|
|
450
|
-
__extends(
|
|
451
|
-
function
|
|
457
|
+
var User = /** @class */ (function (_super) {
|
|
458
|
+
__extends(User, _super);
|
|
459
|
+
function User() {
|
|
452
460
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
453
461
|
}
|
|
454
|
-
|
|
462
|
+
User.toInstance = function (data) {
|
|
463
|
+
var instance = _super.toInstance.call(this, data);
|
|
464
|
+
instance.displayName = data.firstName + " " + data.lastName;
|
|
465
|
+
return instance;
|
|
466
|
+
};
|
|
467
|
+
User.prototype.identifierFields = function () {
|
|
455
468
|
return ['id'];
|
|
456
469
|
};
|
|
457
|
-
|
|
470
|
+
User.prototype.toPlain = function () {
|
|
471
|
+
var plain = _super.prototype.toPlain.call(this);
|
|
472
|
+
delete plain.beautyProfile;
|
|
473
|
+
return plain;
|
|
474
|
+
};
|
|
475
|
+
return User;
|
|
458
476
|
}(BaseModel));
|
|
459
477
|
|
|
460
478
|
var BeautyProfile = /** @class */ (function (_super) {
|
|
@@ -473,6 +491,25 @@
|
|
|
473
491
|
return BeautyProfile;
|
|
474
492
|
}(BaseModel));
|
|
475
493
|
|
|
494
|
+
var Address = /** @class */ (function (_super) {
|
|
495
|
+
__extends(Address, _super);
|
|
496
|
+
function Address() {
|
|
497
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
498
|
+
}
|
|
499
|
+
return Address;
|
|
500
|
+
}(BaseModel));
|
|
501
|
+
|
|
502
|
+
var UserAddress = /** @class */ (function (_super) {
|
|
503
|
+
__extends(UserAddress, _super);
|
|
504
|
+
function UserAddress() {
|
|
505
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
506
|
+
}
|
|
507
|
+
UserAddress.prototype.identifierFields = function () {
|
|
508
|
+
return ['id'];
|
|
509
|
+
};
|
|
510
|
+
return UserAddress;
|
|
511
|
+
}(Address));
|
|
512
|
+
|
|
476
513
|
var Base = /** @class */ (function () {
|
|
477
514
|
function Base() {
|
|
478
515
|
var args = [];
|
|
@@ -595,6 +632,280 @@
|
|
|
595
632
|
return Variant;
|
|
596
633
|
}(BaseModel));
|
|
597
634
|
|
|
635
|
+
exports.CouponTypes = void 0;
|
|
636
|
+
(function (CouponTypes) {
|
|
637
|
+
CouponTypes[CouponTypes["FINANCIAL"] = 1] = "FINANCIAL";
|
|
638
|
+
CouponTypes[CouponTypes["PRODUCT"] = 2] = "PRODUCT";
|
|
639
|
+
CouponTypes[CouponTypes["GIFTCARD"] = 3] = "GIFTCARD";
|
|
640
|
+
CouponTypes[CouponTypes["VOUCHER"] = 4] = "VOUCHER";
|
|
641
|
+
})(exports.CouponTypes || (exports.CouponTypes = {}));
|
|
642
|
+
|
|
643
|
+
exports.CouponSubtypes = void 0;
|
|
644
|
+
(function (CouponSubtypes) {
|
|
645
|
+
CouponSubtypes[CouponSubtypes["ABSOLUTE"] = 1] = "ABSOLUTE";
|
|
646
|
+
CouponSubtypes[CouponSubtypes["PERCENTAGE"] = 2] = "PERCENTAGE";
|
|
647
|
+
})(exports.CouponSubtypes || (exports.CouponSubtypes = {}));
|
|
648
|
+
|
|
649
|
+
exports.Exclusivities = void 0;
|
|
650
|
+
(function (Exclusivities) {
|
|
651
|
+
Exclusivities[Exclusivities["ALL_USERS"] = 1] = "ALL_USERS";
|
|
652
|
+
Exclusivities[Exclusivities["SPECIFIC_USER"] = 2] = "SPECIFIC_USER";
|
|
653
|
+
Exclusivities[Exclusivities["COLLABORATORS"] = 3] = "COLLABORATORS";
|
|
654
|
+
})(exports.Exclusivities || (exports.Exclusivities = {}));
|
|
655
|
+
|
|
656
|
+
var Coupon = /** @class */ (function (_super) {
|
|
657
|
+
__extends(Coupon, _super);
|
|
658
|
+
function Coupon() {
|
|
659
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
660
|
+
}
|
|
661
|
+
Coupon.prototype.identifierFields = function () {
|
|
662
|
+
return ['id'];
|
|
663
|
+
};
|
|
664
|
+
return Coupon;
|
|
665
|
+
}(BaseModel));
|
|
666
|
+
__decorate([
|
|
667
|
+
classTransformer.Expose({ name: 'checkout_type' })
|
|
668
|
+
], Coupon.prototype, "checkoutType", void 0);
|
|
669
|
+
__decorate([
|
|
670
|
+
classTransformer.Expose({ name: 'exclusivity_type' })
|
|
671
|
+
], Coupon.prototype, "exclusivityType", void 0);
|
|
672
|
+
|
|
673
|
+
exports.CheckoutTypes = void 0;
|
|
674
|
+
(function (CheckoutTypes) {
|
|
675
|
+
CheckoutTypes[CheckoutTypes["ECOMMERCE"] = 1] = "ECOMMERCE";
|
|
676
|
+
CheckoutTypes[CheckoutTypes["SUBSCRIPTION"] = 2] = "SUBSCRIPTION";
|
|
677
|
+
})(exports.CheckoutTypes || (exports.CheckoutTypes = {}));
|
|
678
|
+
|
|
679
|
+
var COUPON_EXPIRATION = 60 * 60 * 24 * 30;
|
|
680
|
+
var FinancialCoupon = /** @class */ (function (_super) {
|
|
681
|
+
__extends(FinancialCoupon, _super);
|
|
682
|
+
function FinancialCoupon() {
|
|
683
|
+
var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
|
|
684
|
+
_this.type = exports.CouponTypes.FINANCIAL;
|
|
685
|
+
return _this;
|
|
686
|
+
}
|
|
687
|
+
FinancialCoupon.isFinancialCoupon = function (coupon) {
|
|
688
|
+
return coupon.type === exports.CouponTypes.FINANCIAL && !!coupon.subtype;
|
|
689
|
+
};
|
|
690
|
+
FinancialCoupon.createCoupon = function (userId) {
|
|
691
|
+
return this.toInstance({
|
|
692
|
+
name: tsMd5.Md5.hashStr(userId + "_" + Date.now).toString(),
|
|
693
|
+
nickname: "" + Date.now(),
|
|
694
|
+
type: exports.CouponTypes.FINANCIAL,
|
|
695
|
+
subtype: exports.CouponSubtypes.PERCENTAGE,
|
|
696
|
+
checkoutType: exports.CheckoutTypes.ECOMMERCE,
|
|
697
|
+
discount: 30,
|
|
698
|
+
user: userId,
|
|
699
|
+
createdAt: Date.now(),
|
|
700
|
+
expiresIn: Date.now() + COUPON_EXPIRATION,
|
|
701
|
+
});
|
|
702
|
+
};
|
|
703
|
+
return FinancialCoupon;
|
|
704
|
+
}(Coupon));
|
|
705
|
+
|
|
706
|
+
exports.OrderStatus = void 0;
|
|
707
|
+
(function (OrderStatus) {
|
|
708
|
+
OrderStatus["AGUARDANDO_PAGAMENTO"] = "Aguardando pagamento";
|
|
709
|
+
OrderStatus["EM_PREPARO"] = "Preparando pedido";
|
|
710
|
+
OrderStatus["NF_EMITIDA"] = "Nota Fiscal Emitida";
|
|
711
|
+
OrderStatus["AGUARDANDO_ENVIO"] = "Aguardando Transaportadora";
|
|
712
|
+
OrderStatus["ENVIADO"] = "Pedido Enviado";
|
|
713
|
+
OrderStatus["ENTREGUE"] = "Pedido entregue";
|
|
714
|
+
OrderStatus["CANCELADO"] = "Cancelado";
|
|
715
|
+
OrderStatus["CREDIT_CARD"] = "credit_card";
|
|
716
|
+
})(exports.OrderStatus || (exports.OrderStatus = {}));
|
|
717
|
+
|
|
718
|
+
var Checkout = /** @class */ (function (_super) {
|
|
719
|
+
__extends(Checkout, _super);
|
|
720
|
+
function Checkout() {
|
|
721
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
722
|
+
}
|
|
723
|
+
Checkout.prototype.identifierFields = function () {
|
|
724
|
+
return ['id'];
|
|
725
|
+
};
|
|
726
|
+
return Checkout;
|
|
727
|
+
}(BaseModel));
|
|
728
|
+
|
|
729
|
+
var LineItem = /** @class */ (function (_super) {
|
|
730
|
+
__extends(LineItem, _super);
|
|
731
|
+
function LineItem() {
|
|
732
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
733
|
+
}
|
|
734
|
+
return LineItem;
|
|
735
|
+
}(Product));
|
|
736
|
+
|
|
737
|
+
var Order = /** @class */ (function (_super) {
|
|
738
|
+
__extends(Order, _super);
|
|
739
|
+
function Order() {
|
|
740
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
741
|
+
}
|
|
742
|
+
return Order;
|
|
743
|
+
}(Checkout));
|
|
744
|
+
|
|
745
|
+
var Payment = /** @class */ (function (_super) {
|
|
746
|
+
__extends(Payment, _super);
|
|
747
|
+
function Payment() {
|
|
748
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
749
|
+
}
|
|
750
|
+
Payment.prototype.identifierFields = function () {
|
|
751
|
+
return ['id'];
|
|
752
|
+
};
|
|
753
|
+
return Payment;
|
|
754
|
+
}(BaseModel));
|
|
755
|
+
__decorate([
|
|
756
|
+
classTransformer.Expose({ name: 'refuse_reason' })
|
|
757
|
+
], Payment.prototype, "refuseReason", void 0);
|
|
758
|
+
__decorate([
|
|
759
|
+
classTransformer.Expose({ name: 'status_reason' })
|
|
760
|
+
], Payment.prototype, "statusReason", void 0);
|
|
761
|
+
__decorate([
|
|
762
|
+
classTransformer.Expose({ name: 'acquirer_response_code' })
|
|
763
|
+
], Payment.prototype, "acquirerResponseCode", void 0);
|
|
764
|
+
__decorate([
|
|
765
|
+
classTransformer.Expose({ name: 'acquirer_name' })
|
|
766
|
+
], Payment.prototype, "acquirerName", void 0);
|
|
767
|
+
__decorate([
|
|
768
|
+
classTransformer.Expose({ name: 'acquirer_id' })
|
|
769
|
+
], Payment.prototype, "acquirerId", void 0);
|
|
770
|
+
__decorate([
|
|
771
|
+
classTransformer.Expose({ name: 'authorization_code' })
|
|
772
|
+
], Payment.prototype, "authorizationCode", void 0);
|
|
773
|
+
__decorate([
|
|
774
|
+
classTransformer.Expose({ name: 'soft_descriptor' })
|
|
775
|
+
], Payment.prototype, "softDescriptor", void 0);
|
|
776
|
+
__decorate([
|
|
777
|
+
classTransformer.Expose({ name: 'date_created' })
|
|
778
|
+
], Payment.prototype, "dateCreated", void 0);
|
|
779
|
+
__decorate([
|
|
780
|
+
classTransformer.Expose({ name: 'date_updated' })
|
|
781
|
+
], Payment.prototype, "dateUpdated", void 0);
|
|
782
|
+
__decorate([
|
|
783
|
+
classTransformer.Expose({ name: 'authorized_amount' })
|
|
784
|
+
], Payment.prototype, "authorizedAmount", void 0);
|
|
785
|
+
__decorate([
|
|
786
|
+
classTransformer.Expose({ name: 'paid_amount' })
|
|
787
|
+
], Payment.prototype, "paidAmount", void 0);
|
|
788
|
+
__decorate([
|
|
789
|
+
classTransformer.Expose({ name: 'refunded_amount' })
|
|
790
|
+
], Payment.prototype, "refundedAmount", void 0);
|
|
791
|
+
__decorate([
|
|
792
|
+
classTransformer.Expose({ name: 'card_holder_name' })
|
|
793
|
+
], Payment.prototype, "cardHolderName", void 0);
|
|
794
|
+
__decorate([
|
|
795
|
+
classTransformer.Expose({ name: 'card_last_digits' })
|
|
796
|
+
], Payment.prototype, "cardLastDigits", void 0);
|
|
797
|
+
__decorate([
|
|
798
|
+
classTransformer.Expose({ name: 'card_first_digits' })
|
|
799
|
+
], Payment.prototype, "cardFirstDigits", void 0);
|
|
800
|
+
__decorate([
|
|
801
|
+
classTransformer.Expose({ name: 'card_brand' })
|
|
802
|
+
], Payment.prototype, "cardBrand", void 0);
|
|
803
|
+
__decorate([
|
|
804
|
+
classTransformer.Expose({ name: 'card_pin_mode' })
|
|
805
|
+
], Payment.prototype, "cardPinMode", void 0);
|
|
806
|
+
__decorate([
|
|
807
|
+
classTransformer.Expose({ name: 'card_magstripe_fallback' })
|
|
808
|
+
], Payment.prototype, "cardMagstripeFallback", void 0);
|
|
809
|
+
__decorate([
|
|
810
|
+
classTransformer.Expose({ name: 'cvm_pin' })
|
|
811
|
+
], Payment.prototype, "cvmPin", void 0);
|
|
812
|
+
__decorate([
|
|
813
|
+
classTransformer.Expose({ name: 'postback_url' })
|
|
814
|
+
], Payment.prototype, "postbackUrl", void 0);
|
|
815
|
+
__decorate([
|
|
816
|
+
classTransformer.Expose({ name: 'payment_method' })
|
|
817
|
+
], Payment.prototype, "paymentMethod", void 0);
|
|
818
|
+
__decorate([
|
|
819
|
+
classTransformer.Expose({ name: 'capture_method' })
|
|
820
|
+
], Payment.prototype, "captureMethod", void 0);
|
|
821
|
+
__decorate([
|
|
822
|
+
classTransformer.Expose({ name: 'antifraud_score' })
|
|
823
|
+
], Payment.prototype, "antifraudScore", void 0);
|
|
824
|
+
__decorate([
|
|
825
|
+
classTransformer.Expose({ name: 'boleto_url' })
|
|
826
|
+
], Payment.prototype, "boletoUrl", void 0);
|
|
827
|
+
__decorate([
|
|
828
|
+
classTransformer.Expose({ name: 'boleto_barcode' })
|
|
829
|
+
], Payment.prototype, "boletoBarcode", void 0);
|
|
830
|
+
__decorate([
|
|
831
|
+
classTransformer.Expose({ name: 'boleto_expiration_date' })
|
|
832
|
+
], Payment.prototype, "boletoExpirationDate", void 0);
|
|
833
|
+
__decorate([
|
|
834
|
+
classTransformer.Expose({ name: 'subscription_id' })
|
|
835
|
+
], Payment.prototype, "subscriptionId", void 0);
|
|
836
|
+
__decorate([
|
|
837
|
+
classTransformer.Expose({ name: 'split_rules' })
|
|
838
|
+
], Payment.prototype, "splitRules", void 0);
|
|
839
|
+
__decorate([
|
|
840
|
+
classTransformer.Expose({ name: 'antifraud_metadata' })
|
|
841
|
+
], Payment.prototype, "antifraudMetadata", void 0);
|
|
842
|
+
__decorate([
|
|
843
|
+
classTransformer.Expose({ name: 'reference_key' })
|
|
844
|
+
], Payment.prototype, "referenceKey", void 0);
|
|
845
|
+
__decorate([
|
|
846
|
+
classTransformer.Expose({ name: 'local_transaction_id' })
|
|
847
|
+
], Payment.prototype, "localTransactionId", void 0);
|
|
848
|
+
__decorate([
|
|
849
|
+
classTransformer.Expose({ name: 'local_time' })
|
|
850
|
+
], Payment.prototype, "localTime", void 0);
|
|
851
|
+
__decorate([
|
|
852
|
+
classTransformer.Expose({ name: 'fraud_covered' })
|
|
853
|
+
], Payment.prototype, "fraudCovered", void 0);
|
|
854
|
+
__decorate([
|
|
855
|
+
classTransformer.Expose({ name: 'fraud_reimbursed' })
|
|
856
|
+
], Payment.prototype, "fraudReimbursed", void 0);
|
|
857
|
+
__decorate([
|
|
858
|
+
classTransformer.Expose({ name: 'order_id' })
|
|
859
|
+
], Payment.prototype, "orderId", void 0);
|
|
860
|
+
__decorate([
|
|
861
|
+
classTransformer.Expose({ name: 'risk_level' })
|
|
862
|
+
], Payment.prototype, "riskLevel", void 0);
|
|
863
|
+
__decorate([
|
|
864
|
+
classTransformer.Expose({ name: 'receipt_url' })
|
|
865
|
+
], Payment.prototype, "receiptUrl", void 0);
|
|
866
|
+
__decorate([
|
|
867
|
+
classTransformer.Expose({ name: 'private_label' })
|
|
868
|
+
], Payment.prototype, "privateLabel", void 0);
|
|
869
|
+
__decorate([
|
|
870
|
+
classTransformer.Expose({ name: 'pix_qr_code' })
|
|
871
|
+
], Payment.prototype, "pixQrCode", void 0);
|
|
872
|
+
__decorate([
|
|
873
|
+
classTransformer.Expose({ name: 'pix_expiration_date' })
|
|
874
|
+
], Payment.prototype, "pixExpirationDate", void 0);
|
|
875
|
+
|
|
876
|
+
var ShippingMethod = /** @class */ (function (_super) {
|
|
877
|
+
__extends(ShippingMethod, _super);
|
|
878
|
+
function ShippingMethod() {
|
|
879
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
880
|
+
}
|
|
881
|
+
ShippingMethod.prototype.identifierFields = function () {
|
|
882
|
+
return ['id'];
|
|
883
|
+
};
|
|
884
|
+
return ShippingMethod;
|
|
885
|
+
}(BaseModel));
|
|
886
|
+
|
|
887
|
+
var CheckoutSubscription = /** @class */ (function (_super) {
|
|
888
|
+
__extends(CheckoutSubscription, _super);
|
|
889
|
+
function CheckoutSubscription() {
|
|
890
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
891
|
+
}
|
|
892
|
+
CheckoutSubscription.prototype.identifierFields = function () {
|
|
893
|
+
return ['id'];
|
|
894
|
+
};
|
|
895
|
+
return CheckoutSubscription;
|
|
896
|
+
}(BaseModel));
|
|
897
|
+
|
|
898
|
+
var SubscriptionPlan = /** @class */ (function (_super) {
|
|
899
|
+
__extends(SubscriptionPlan, _super);
|
|
900
|
+
function SubscriptionPlan() {
|
|
901
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
902
|
+
}
|
|
903
|
+
SubscriptionPlan.prototype.identifierFields = function () {
|
|
904
|
+
return ['id'];
|
|
905
|
+
};
|
|
906
|
+
return SubscriptionPlan;
|
|
907
|
+
}(BaseModel));
|
|
908
|
+
|
|
598
909
|
var InvalidArgumentError = /** @class */ (function (_super) {
|
|
599
910
|
__extends(InvalidArgumentError, _super);
|
|
600
911
|
function InvalidArgumentError(message) {
|
|
@@ -1009,6 +1320,34 @@
|
|
|
1009
1320
|
return UserBeautyProfileFirestoreRepository;
|
|
1010
1321
|
}(withSubCollection(withCrudFirestore(withHelpers(withFirestore(Base))), User)));
|
|
1011
1322
|
|
|
1323
|
+
var UserAddressFirestoreRepository = /** @class */ (function (_super) {
|
|
1324
|
+
__extends(UserAddressFirestoreRepository, _super);
|
|
1325
|
+
function UserAddressFirestoreRepository(firestore, parentRepository) {
|
|
1326
|
+
var _this = _super.call(this) || this;
|
|
1327
|
+
_this.firestore = firestore;
|
|
1328
|
+
_this.parentRepository = parentRepository;
|
|
1329
|
+
_this.collectionName = 'address';
|
|
1330
|
+
_this.parentIdField = 'userId';
|
|
1331
|
+
_this.model = UserAddress;
|
|
1332
|
+
return _this;
|
|
1333
|
+
}
|
|
1334
|
+
return UserAddressFirestoreRepository;
|
|
1335
|
+
}(withSubCollection(withCrudFirestore(withHelpers(withFirestore(Base))), User)));
|
|
1336
|
+
|
|
1337
|
+
var SubscriptionPaymentFirestoreRepository = /** @class */ (function (_super) {
|
|
1338
|
+
__extends(SubscriptionPaymentFirestoreRepository, _super);
|
|
1339
|
+
function SubscriptionPaymentFirestoreRepository(firestore, parentRepository) {
|
|
1340
|
+
var _this = _super.call(this) || this;
|
|
1341
|
+
_this.firestore = firestore;
|
|
1342
|
+
_this.parentRepository = parentRepository;
|
|
1343
|
+
_this.collectionName = 'Payments';
|
|
1344
|
+
_this.parentIdField = 'subscriptionId';
|
|
1345
|
+
_this.model = SubscriptionPayment;
|
|
1346
|
+
return _this;
|
|
1347
|
+
}
|
|
1348
|
+
return SubscriptionPaymentFirestoreRepository;
|
|
1349
|
+
}(withSubCollection(withCrudFirestore(withHelpers(withFirestore(Base))), Subscription)));
|
|
1350
|
+
|
|
1012
1351
|
var CategoryFirestoreRepository = /** @class */ (function (_super) {
|
|
1013
1352
|
__extends(CategoryFirestoreRepository, _super);
|
|
1014
1353
|
function CategoryFirestoreRepository(firestore) {
|
|
@@ -1047,6 +1386,78 @@
|
|
|
1047
1386
|
return ProductVariantFirestoreRepository;
|
|
1048
1387
|
}(withSubCollection(withCrudFirestore(withHelpers(withFirestore(Base))), Product)));
|
|
1049
1388
|
|
|
1389
|
+
var CheckoutFirestoreRepository = /** @class */ (function (_super) {
|
|
1390
|
+
__extends(CheckoutFirestoreRepository, _super);
|
|
1391
|
+
function CheckoutFirestoreRepository(firestore) {
|
|
1392
|
+
var _this = _super.call(this) || this;
|
|
1393
|
+
_this.firestore = firestore;
|
|
1394
|
+
_this.collectionName = 'checkouts';
|
|
1395
|
+
_this.model = Checkout;
|
|
1396
|
+
return _this;
|
|
1397
|
+
}
|
|
1398
|
+
return CheckoutFirestoreRepository;
|
|
1399
|
+
}(withCrudFirestore(withHelpers(withFirestore(Base)))));
|
|
1400
|
+
|
|
1401
|
+
var CouponFirestoreRepository = /** @class */ (function (_super) {
|
|
1402
|
+
__extends(CouponFirestoreRepository, _super);
|
|
1403
|
+
function CouponFirestoreRepository(firestore) {
|
|
1404
|
+
var _this = _super.call(this) || this;
|
|
1405
|
+
_this.firestore = firestore;
|
|
1406
|
+
_this.collectionName = 'coupons';
|
|
1407
|
+
_this.model = Coupon;
|
|
1408
|
+
return _this;
|
|
1409
|
+
}
|
|
1410
|
+
return CouponFirestoreRepository;
|
|
1411
|
+
}(withCrudFirestore(withHelpers(withFirestore(Base)))));
|
|
1412
|
+
|
|
1413
|
+
var OrderFirestoreRepository = /** @class */ (function (_super) {
|
|
1414
|
+
__extends(OrderFirestoreRepository, _super);
|
|
1415
|
+
function OrderFirestoreRepository(firestore) {
|
|
1416
|
+
var _this = _super.call(this) || this;
|
|
1417
|
+
_this.firestore = firestore;
|
|
1418
|
+
_this.collectionName = 'orders';
|
|
1419
|
+
_this.model = Order;
|
|
1420
|
+
return _this;
|
|
1421
|
+
}
|
|
1422
|
+
return OrderFirestoreRepository;
|
|
1423
|
+
}(withCrudFirestore(withHelpers(withFirestore(Base)))));
|
|
1424
|
+
|
|
1425
|
+
var PaymentFirestoreRepository = /** @class */ (function (_super) {
|
|
1426
|
+
__extends(PaymentFirestoreRepository, _super);
|
|
1427
|
+
function PaymentFirestoreRepository(firestore) {
|
|
1428
|
+
var _this = _super.call(this) || this;
|
|
1429
|
+
_this.firestore = firestore;
|
|
1430
|
+
_this.collectionName = 'payments';
|
|
1431
|
+
_this.model = Payment;
|
|
1432
|
+
return _this;
|
|
1433
|
+
}
|
|
1434
|
+
return PaymentFirestoreRepository;
|
|
1435
|
+
}(withCrudFirestore(withHelpers(withFirestore(Base)))));
|
|
1436
|
+
|
|
1437
|
+
var CheckoutSubscriptionFirestoreRepository = /** @class */ (function (_super) {
|
|
1438
|
+
__extends(CheckoutSubscriptionFirestoreRepository, _super);
|
|
1439
|
+
function CheckoutSubscriptionFirestoreRepository(firestore) {
|
|
1440
|
+
var _this = _super.call(this) || this;
|
|
1441
|
+
_this.firestore = firestore;
|
|
1442
|
+
_this.collectionName = 'checkoutsSubscription';
|
|
1443
|
+
_this.model = CheckoutSubscription;
|
|
1444
|
+
return _this;
|
|
1445
|
+
}
|
|
1446
|
+
return CheckoutSubscriptionFirestoreRepository;
|
|
1447
|
+
}(withCrudFirestore(withHelpers(withFirestore(Base)))));
|
|
1448
|
+
|
|
1449
|
+
var SubscriptionPlanFirestoreRepository = /** @class */ (function (_super) {
|
|
1450
|
+
__extends(SubscriptionPlanFirestoreRepository, _super);
|
|
1451
|
+
function SubscriptionPlanFirestoreRepository(firestore) {
|
|
1452
|
+
var _this = _super.call(this) || this;
|
|
1453
|
+
_this.firestore = firestore;
|
|
1454
|
+
_this.collectionName = 'subscriptionPlans';
|
|
1455
|
+
_this.model = SubscriptionPlan;
|
|
1456
|
+
return _this;
|
|
1457
|
+
}
|
|
1458
|
+
return SubscriptionPlanFirestoreRepository;
|
|
1459
|
+
}(withCrudFirestore(withHelpers(withFirestore(Base)))));
|
|
1460
|
+
|
|
1050
1461
|
var AuthenticationFirebaseAuthService = /** @class */ (function () {
|
|
1051
1462
|
function AuthenticationFirebaseAuthService(firebaseAuth) {
|
|
1052
1463
|
this.firebaseAuth = firebaseAuth;
|
|
@@ -1114,6 +1525,7 @@
|
|
|
1114
1525
|
enumerable: true,
|
|
1115
1526
|
get: function () { return lodash.isString; }
|
|
1116
1527
|
});
|
|
1528
|
+
exports.Address = Address;
|
|
1117
1529
|
exports.Authentication = Authentication;
|
|
1118
1530
|
exports.AuthenticationFirebaseAuthService = AuthenticationFirebaseAuthService;
|
|
1119
1531
|
exports.Base = Base;
|
|
@@ -1121,19 +1533,38 @@
|
|
|
1121
1533
|
exports.BeautyProfile = BeautyProfile;
|
|
1122
1534
|
exports.Category = Category;
|
|
1123
1535
|
exports.CategoryFirestoreRepository = CategoryFirestoreRepository;
|
|
1536
|
+
exports.Checkout = Checkout;
|
|
1537
|
+
exports.CheckoutFirestoreRepository = CheckoutFirestoreRepository;
|
|
1538
|
+
exports.CheckoutSubscription = CheckoutSubscription;
|
|
1539
|
+
exports.CheckoutSubscriptionFirestoreRepository = CheckoutSubscriptionFirestoreRepository;
|
|
1540
|
+
exports.Coupon = Coupon;
|
|
1541
|
+
exports.CouponFirestoreRepository = CouponFirestoreRepository;
|
|
1124
1542
|
exports.Edition = Edition;
|
|
1543
|
+
exports.FinancialCoupon = FinancialCoupon;
|
|
1125
1544
|
exports.InvalidArgumentError = InvalidArgumentError;
|
|
1545
|
+
exports.LineItem = LineItem;
|
|
1126
1546
|
exports.NotFoundError = NotFoundError;
|
|
1547
|
+
exports.Order = Order;
|
|
1548
|
+
exports.OrderFirestoreRepository = OrderFirestoreRepository;
|
|
1549
|
+
exports.Payment = Payment;
|
|
1550
|
+
exports.PaymentFirestoreRepository = PaymentFirestoreRepository;
|
|
1127
1551
|
exports.Product = Product;
|
|
1128
1552
|
exports.ProductFirestoreRepository = ProductFirestoreRepository;
|
|
1129
1553
|
exports.ProductVariantFirestoreRepository = ProductVariantFirestoreRepository;
|
|
1130
1554
|
exports.RequiredArgumentError = RequiredArgumentError;
|
|
1555
|
+
exports.ShippingMethod = ShippingMethod;
|
|
1131
1556
|
exports.SignOut = SignOut;
|
|
1132
1557
|
exports.Subscription = Subscription;
|
|
1133
1558
|
exports.SubscriptionEditionFirestoreRepository = SubscriptionEditionFirestoreRepository;
|
|
1134
1559
|
exports.SubscriptionFirestoreRepository = SubscriptionFirestoreRepository;
|
|
1560
|
+
exports.SubscriptionPayment = SubscriptionPayment;
|
|
1561
|
+
exports.SubscriptionPaymentFirestoreRepository = SubscriptionPaymentFirestoreRepository;
|
|
1562
|
+
exports.SubscriptionPlan = SubscriptionPlan;
|
|
1563
|
+
exports.SubscriptionPlanFirestoreRepository = SubscriptionPlanFirestoreRepository;
|
|
1135
1564
|
exports.UnauthorizedError = UnauthorizedError;
|
|
1136
1565
|
exports.User = User;
|
|
1566
|
+
exports.UserAddress = UserAddress;
|
|
1567
|
+
exports.UserAddressFirestoreRepository = UserAddressFirestoreRepository;
|
|
1137
1568
|
exports.UserBeautyProfileFirestoreRepository = UserBeautyProfileFirestoreRepository;
|
|
1138
1569
|
exports.UserFirestoreRepository = UserFirestoreRepository;
|
|
1139
1570
|
exports.Variant = Variant;
|