@bpinternal/const 0.0.17 → 0.0.18

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
@@ -194,7 +194,7 @@ var quotaTypes = [
194
194
  "table_row_count",
195
195
  "workspace_member_count",
196
196
  "integrations_owned_count",
197
- "token_spend"
197
+ "ai_spend"
198
198
  ];
199
199
  var quotaConfigs = {
200
200
  invocation_timeout: {
@@ -271,9 +271,9 @@ var quotaConfigs = {
271
271
  category: "count",
272
272
  trackUsagePerBot: false
273
273
  },
274
- token_spend: {
275
- name: "Token Spend",
276
- description: "Maximum amount of token spend, expressed in nano-dollars (1 nano-dollar = $0.000000001) that can be used in a month.",
274
+ ai_spend: {
275
+ name: "AI Spend",
276
+ description: "Maximum amount of AI spend, expressed in nano-dollars (1 nano-dollar = $0.000000001) that can be used in a month.",
277
277
  default: 5e9,
278
278
  kind: "workspace",
279
279
  category: "credit",
package/dist/index.mjs CHANGED
@@ -164,7 +164,7 @@ var quotaTypes = [
164
164
  "table_row_count",
165
165
  "workspace_member_count",
166
166
  "integrations_owned_count",
167
- "token_spend"
167
+ "ai_spend"
168
168
  ];
169
169
  var quotaConfigs = {
170
170
  invocation_timeout: {
@@ -241,9 +241,9 @@ var quotaConfigs = {
241
241
  category: "count",
242
242
  trackUsagePerBot: false
243
243
  },
244
- token_spend: {
245
- name: "Token Spend",
246
- description: "Maximum amount of token spend, expressed in nano-dollars (1 nano-dollar = $0.000000001) that can be used in a month.",
244
+ ai_spend: {
245
+ name: "AI Spend",
246
+ description: "Maximum amount of AI spend, expressed in nano-dollars (1 nano-dollar = $0.000000001) that can be used in a month.",
247
247
  default: 5e9,
248
248
  kind: "workspace",
249
249
  category: "credit",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bpinternal/const",
3
- "version": "0.0.17",
3
+ "version": "0.0.18",
4
4
  "description": "Constant utilities for Botpress",
5
5
  "main": "./dist/index.cjs",
6
6
  "browser": "./dist/index.mjs",
package/src/quotas.ts CHANGED
@@ -39,7 +39,7 @@ export const quotaTypes = [
39
39
  'table_row_count',
40
40
  'workspace_member_count',
41
41
  'integrations_owned_count',
42
- 'token_spend'
42
+ 'ai_spend'
43
43
  ] as const satisfies Readonly<string[]>
44
44
 
45
45
  export const quotaConfigs = {
@@ -115,10 +115,10 @@ export const quotaConfigs = {
115
115
  category: 'count',
116
116
  trackUsagePerBot: false
117
117
  },
118
- token_spend: {
119
- name: 'Token Spend',
118
+ ai_spend: {
119
+ name: 'AI Spend',
120
120
  description:
121
- 'Maximum amount of token spend, expressed in nano-dollars (1 nano-dollar = $0.000000001) that can be used in a month.',
121
+ 'Maximum amount of AI spend, expressed in nano-dollars (1 nano-dollar = $0.000000001) that can be used in a month.',
122
122
  default: 5_000_000_000,
123
123
  kind: 'workspace',
124
124
  category: 'credit',