@bpinternal/const 0.0.24 → 0.0.26

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/dist/index.cjs CHANGED
@@ -214,7 +214,7 @@ var quotaConfigs = {
214
214
  name: "Invocation Timeout",
215
215
  description: "Maximum time in milliseconds a bot can run before timing out.",
216
216
  default: 6e4,
217
- kind: "bot",
217
+ kind: "workspace",
218
218
  category: "timeout",
219
219
  trackUsagePerBot: false
220
220
  },
@@ -261,8 +261,8 @@ var quotaConfigs = {
261
261
  trackUsagePerBot: true
262
262
  },
263
263
  invocation_calls: {
264
- name: "Invocation Calls",
265
- description: "Maximum number of times a bot can be invoked in a month.",
264
+ name: "Messages",
265
+ description: "Maximum number of messages sent to a bot in a month.",
266
266
  default: 2e3,
267
267
  kind: "workspace",
268
268
  category: "calls",
package/dist/index.mjs CHANGED
@@ -184,7 +184,7 @@ var quotaConfigs = {
184
184
  name: "Invocation Timeout",
185
185
  description: "Maximum time in milliseconds a bot can run before timing out.",
186
186
  default: 6e4,
187
- kind: "bot",
187
+ kind: "workspace",
188
188
  category: "timeout",
189
189
  trackUsagePerBot: false
190
190
  },
@@ -231,8 +231,8 @@ var quotaConfigs = {
231
231
  trackUsagePerBot: true
232
232
  },
233
233
  invocation_calls: {
234
- name: "Invocation Calls",
235
- description: "Maximum number of times a bot can be invoked in a month.",
234
+ name: "Messages",
235
+ description: "Maximum number of messages sent to a bot in a month.",
236
236
  default: 2e3,
237
237
  kind: "workspace",
238
238
  category: "calls",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bpinternal/const",
3
- "version": "0.0.24",
3
+ "version": "0.0.26",
4
4
  "description": "Constant utilities for Botpress",
5
5
  "main": "./dist/index.cjs",
6
6
  "browser": "./dist/index.mjs",
package/src/quotas.ts CHANGED
@@ -54,7 +54,7 @@ export const quotaConfigs = {
54
54
  name: 'Invocation Timeout',
55
55
  description: 'Maximum time in milliseconds a bot can run before timing out.',
56
56
  default: 60_000,
57
- kind: 'bot',
57
+ kind: 'workspace',
58
58
  category: 'timeout',
59
59
  trackUsagePerBot: false
60
60
  },
@@ -99,8 +99,8 @@ export const quotaConfigs = {
99
99
  trackUsagePerBot: true
100
100
  },
101
101
  invocation_calls: {
102
- name: 'Invocation Calls',
103
- description: 'Maximum number of times a bot can be invoked in a month.',
102
+ name: 'Messages',
103
+ description: 'Maximum number of messages sent to a bot in a month.',
104
104
  default: 2_000,
105
105
  kind: 'workspace',
106
106
  category: 'calls',