Revert "feat(server): deprecated the subscription module."

This reverts commit 3b79ac66ae.
This commit is contained in:
Ahmed Bouhuolia
2024-04-13 11:05:53 +02:00
parent 4d616e9287
commit a39dcd00d5
37 changed files with 1445 additions and 7 deletions

View File

@@ -0,0 +1,8 @@
export default class NoPaymentModelWithPricedPlan {
constructor() {
}
}

View File

@@ -0,0 +1,8 @@
export default class NotAllowedChangeSubscriptionPlan {
constructor() {
this.name = "NotAllowedChangeSubscriptionPlan";
}
}

View File

@@ -0,0 +1,7 @@
export default class PaymentAmountInvalidWithPlan{
constructor() {
}
}

View File

@@ -0,0 +1,3 @@
export default class PaymentInputInvalid {
constructor() {}
}

View File

@@ -0,0 +1,5 @@
export default class VoucherCodeRequired {
constructor() {
this.name = 'VoucherCodeRequired';
}
}

View File

@@ -1,15 +1,25 @@
import NotAllowedChangeSubscriptionPlan from './NotAllowedChangeSubscriptionPlan';
import ServiceError from './ServiceError';
import ServiceErrors from './ServiceErrors';
import NoPaymentModelWithPricedPlan from './NoPaymentModelWithPricedPlan';
import PaymentInputInvalid from './PaymentInputInvalid';
import PaymentAmountInvalidWithPlan from './PaymentAmountInvalidWithPlan';
import TenantAlreadyInitialized from './TenantAlreadyInitialized';
import TenantAlreadySeeded from './TenantAlreadySeeded';
import TenantDBAlreadyExists from './TenantDBAlreadyExists';
import TenantDatabaseNotBuilt from './TenantDatabaseNotBuilt';
import VoucherCodeRequired from './VoucherCodeRequired';
export {
NotAllowedChangeSubscriptionPlan,
NoPaymentModelWithPricedPlan,
PaymentAmountInvalidWithPlan,
ServiceError,
ServiceErrors,
PaymentInputInvalid,
TenantAlreadyInitialized,
TenantAlreadySeeded,
TenantDBAlreadyExists,
TenantDatabaseNotBuilt,
};
VoucherCodeRequired,
};