@bpinternal/const 0.0.21 → 0.0.22

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
@@ -198,7 +198,8 @@ var quotaTypes = [
198
198
  "integrations_owned_count",
199
199
  "ai_spend",
200
200
  "openai_spend",
201
- "bing_search_spend"
201
+ "bing_search_spend",
202
+ "always_alive"
202
203
  ];
203
204
  var quotaConfigs = {
204
205
  invocation_timeout: {
@@ -300,6 +301,14 @@ var quotaConfigs = {
300
301
  category: "credit",
301
302
  trackUsagePerBot: true,
302
303
  parent: "ai_spend"
304
+ },
305
+ always_alive: {
306
+ name: "Always Alive",
307
+ description: "Maximum number of bots that can be in always alive mode.",
308
+ default: 0,
309
+ kind: "workspace",
310
+ category: "count",
311
+ trackUsagePerBot: false
303
312
  }
304
313
  };
305
314
  // Annotate the CommonJS export names for ESM import in node:
package/dist/index.mjs CHANGED
@@ -168,7 +168,8 @@ var quotaTypes = [
168
168
  "integrations_owned_count",
169
169
  "ai_spend",
170
170
  "openai_spend",
171
- "bing_search_spend"
171
+ "bing_search_spend",
172
+ "always_alive"
172
173
  ];
173
174
  var quotaConfigs = {
174
175
  invocation_timeout: {
@@ -270,6 +271,14 @@ var quotaConfigs = {
270
271
  category: "credit",
271
272
  trackUsagePerBot: true,
272
273
  parent: "ai_spend"
274
+ },
275
+ always_alive: {
276
+ name: "Always Alive",
277
+ description: "Maximum number of bots that can be in always alive mode.",
278
+ default: 0,
279
+ kind: "workspace",
280
+ category: "count",
281
+ trackUsagePerBot: false
273
282
  }
274
283
  };
275
284
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bpinternal/const",
3
- "version": "0.0.21",
3
+ "version": "0.0.22",
4
4
  "description": "Constant utilities for Botpress",
5
5
  "main": "./dist/index.cjs",
6
6
  "browser": "./dist/index.mjs",
package/src/quotas.ts CHANGED
@@ -46,6 +46,7 @@ export const quotaTypes = [
46
46
  'ai_spend',
47
47
  'openai_spend',
48
48
  'bing_search_spend',
49
+ 'always_alive',
49
50
  ] as const satisfies Readonly<string[]>
50
51
 
51
52
  export const quotaConfigs = {
@@ -150,4 +151,12 @@ export const quotaConfigs = {
150
151
  trackUsagePerBot: true,
151
152
  parent: 'ai_spend'
152
153
  },
154
+ always_alive: {
155
+ name: 'Always Alive',
156
+ description: 'Maximum number of bots that can be in always alive mode.',
157
+ default: 0,
158
+ kind: 'workspace',
159
+ category: 'count',
160
+ trackUsagePerBot: false,
161
+ },
153
162
  } as const satisfies Record<QuotaType, Quota>