@tiledesk/tiledesk-server 2.9.11 → 2.9.12
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +3 -0
- package/package.json +1 -1
- package/services/QuoteManager.js +6 -1
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
package/services/QuoteManager.js
CHANGED
@@ -13,12 +13,14 @@ const emailEvent = require('../event/emailEvent');
|
|
13
13
|
// CUSTOM: { requests: 3000, messages: 0, tokens: 5000000, email: 200, chatbots: 20, kbs: 500}
|
14
14
|
// }
|
15
15
|
|
16
|
+
|
16
17
|
const PLANS_LIST = {
|
17
18
|
FREE_TRIAL: { requests: 200, messages: 0, tokens: 100000, email: 200, chatbots: 20, namespace: 3, kbs: 50 }, // same as PREMIUM
|
18
19
|
SANDBOX: { requests: 200, messages: 0, tokens: 100000, email: 200, chatbots: 2, namespace: 1, kbs: 50 },
|
19
20
|
BASIC: { requests: 800, messages: 0, tokens: 2000000, email: 200, chatbots: 5, namespace: 1, kbs: 150 },
|
20
21
|
PREMIUM: { requests: 3000, messages: 0, tokens: 5000000, email: 200, chatbots: 20, namespace: 3, kbs: 300 },
|
21
|
-
|
22
|
+
TEAM: { requests: 5000, messages: 0, tokens: 10000000, email: 200, chatbots: 50, namespace: 10, kbs: 1000 },
|
23
|
+
CUSTOM: { requests: 5000, messages: 0, tokens: 10000000, email: 200, chatbots: 50, namespace: 10, kbs: 1000 },
|
22
24
|
}
|
23
25
|
|
24
26
|
const typesList = ['requests', 'messages', 'email', 'tokens', 'chatbots', 'kbs']
|
@@ -333,6 +335,9 @@ class QuoteManager {
|
|
333
335
|
case 'Premium':
|
334
336
|
limits = PLANS_LIST.PREMIUM;
|
335
337
|
break;
|
338
|
+
case 'Team':
|
339
|
+
limits = PLANS_LIST.TEAM;
|
340
|
+
break;
|
336
341
|
case 'Custom':
|
337
342
|
limits = PLANS_LIST.CUSTOM;
|
338
343
|
break;
|