@wrcb/cb-common 1.0.821 → 1.0.823
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.
|
@@ -4,3 +4,11 @@ export declare enum SmaSubscriptionPlan {
|
|
|
4
4
|
Crescimento = "crescimento",
|
|
5
5
|
Escala = "escala"
|
|
6
6
|
}
|
|
7
|
+
export declare const SMA_FREE_LIFETIME_POSTS = 3;
|
|
8
|
+
/** null = sem limite (Escala personalizado). Free usa limite vitalício, não semanal. */
|
|
9
|
+
export declare const SMA_PLAN_WEEKLY_LIMITS: Record<SmaSubscriptionPlan, {
|
|
10
|
+
posts: number | null;
|
|
11
|
+
carousels: number | null;
|
|
12
|
+
}>;
|
|
13
|
+
/** null = ilimitado. Limite de empresas por plano (aplicado a usuários Consumer). */
|
|
14
|
+
export declare const SMA_PLAN_BUSINESS_LIMIT: Record<SmaSubscriptionPlan, number | null>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SmaSubscriptionPlan = void 0;
|
|
3
|
+
exports.SMA_PLAN_BUSINESS_LIMIT = exports.SMA_PLAN_WEEKLY_LIMITS = exports.SMA_FREE_LIFETIME_POSTS = exports.SmaSubscriptionPlan = void 0;
|
|
4
4
|
var SmaSubscriptionPlan;
|
|
5
5
|
(function (SmaSubscriptionPlan) {
|
|
6
6
|
SmaSubscriptionPlan["Free"] = "free";
|
|
@@ -8,3 +8,18 @@ var SmaSubscriptionPlan;
|
|
|
8
8
|
SmaSubscriptionPlan["Crescimento"] = "crescimento";
|
|
9
9
|
SmaSubscriptionPlan["Escala"] = "escala";
|
|
10
10
|
})(SmaSubscriptionPlan || (exports.SmaSubscriptionPlan = SmaSubscriptionPlan = {}));
|
|
11
|
+
exports.SMA_FREE_LIFETIME_POSTS = 3;
|
|
12
|
+
/** null = sem limite (Escala personalizado). Free usa limite vitalício, não semanal. */
|
|
13
|
+
exports.SMA_PLAN_WEEKLY_LIMITS = {
|
|
14
|
+
[SmaSubscriptionPlan.Free]: { posts: null, carousels: 0 },
|
|
15
|
+
[SmaSubscriptionPlan.Essencial]: { posts: 3, carousels: 3 },
|
|
16
|
+
[SmaSubscriptionPlan.Crescimento]: { posts: 6, carousels: 6 }, // total entre todas as empresas
|
|
17
|
+
[SmaSubscriptionPlan.Escala]: { posts: null, carousels: null },
|
|
18
|
+
};
|
|
19
|
+
/** null = ilimitado. Limite de empresas por plano (aplicado a usuários Consumer). */
|
|
20
|
+
exports.SMA_PLAN_BUSINESS_LIMIT = {
|
|
21
|
+
[SmaSubscriptionPlan.Free]: 1,
|
|
22
|
+
[SmaSubscriptionPlan.Essencial]: 1,
|
|
23
|
+
[SmaSubscriptionPlan.Crescimento]: 2,
|
|
24
|
+
[SmaSubscriptionPlan.Escala]: null,
|
|
25
|
+
};
|