@bpinternal/const 0.0.14 → 0.0.15
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 +18 -33
- package/dist/index.mjs +18 -33
- package/package.json +1 -1
- package/src/quotas.ts +16 -32
package/dist/index.cjs
CHANGED
|
@@ -189,13 +189,11 @@ var quotaTypes = [
|
|
|
189
189
|
"invocation_calls",
|
|
190
190
|
"storage_count",
|
|
191
191
|
"bot_count",
|
|
192
|
-
"
|
|
193
|
-
"
|
|
192
|
+
"knowledgebase_vector_storage",
|
|
193
|
+
"workspace_ratelimit",
|
|
194
194
|
"table_row_count",
|
|
195
195
|
"workspace_member_count",
|
|
196
196
|
"integrations_owned_count",
|
|
197
|
-
"cognitive_calls",
|
|
198
|
-
"model_credit",
|
|
199
197
|
"token_spend"
|
|
200
198
|
];
|
|
201
199
|
var quotaConfigs = {
|
|
@@ -209,9 +207,9 @@ var quotaConfigs = {
|
|
|
209
207
|
storage_count: {
|
|
210
208
|
name: "Storage Count",
|
|
211
209
|
description: "Maximum number of storage bytes that can be stored.",
|
|
212
|
-
default:
|
|
213
|
-
//
|
|
214
|
-
kind: "
|
|
210
|
+
default: 524288e3,
|
|
211
|
+
// 500 MB
|
|
212
|
+
kind: "workspace",
|
|
215
213
|
category: "count"
|
|
216
214
|
},
|
|
217
215
|
bot_count: {
|
|
@@ -228,39 +226,33 @@ var quotaConfigs = {
|
|
|
228
226
|
kind: "workspace",
|
|
229
227
|
category: "count"
|
|
230
228
|
},
|
|
231
|
-
|
|
232
|
-
name: "Knowledgebase Vector
|
|
233
|
-
description: "Maximum
|
|
234
|
-
default:
|
|
235
|
-
|
|
229
|
+
knowledgebase_vector_storage: {
|
|
230
|
+
name: "Knowledgebase Vector Storage",
|
|
231
|
+
description: "Maximum size knowledge base documents",
|
|
232
|
+
default: 104857600,
|
|
233
|
+
// 100 MB
|
|
234
|
+
kind: "workspace",
|
|
236
235
|
category: "count"
|
|
237
236
|
},
|
|
238
237
|
table_row_count: {
|
|
239
238
|
name: "Table Row Count",
|
|
240
239
|
description: "Maximum number of rows that can be stored in a table.",
|
|
241
240
|
default: 5e3,
|
|
242
|
-
kind: "
|
|
241
|
+
kind: "workspace",
|
|
243
242
|
category: "count"
|
|
244
243
|
},
|
|
245
244
|
invocation_calls: {
|
|
246
245
|
name: "Invocation Calls",
|
|
247
246
|
description: "Maximum number of times a bot can be invoked in a month.",
|
|
248
|
-
default:
|
|
249
|
-
kind: "
|
|
250
|
-
category: "calls"
|
|
251
|
-
},
|
|
252
|
-
cognitive_calls: {
|
|
253
|
-
name: "Cognitive Calls",
|
|
254
|
-
description: "Maximum number of times a cognitive service can be called in a month.",
|
|
255
|
-
default: 4e3,
|
|
256
|
-
kind: "bot",
|
|
247
|
+
default: 2e3,
|
|
248
|
+
kind: "workspace",
|
|
257
249
|
category: "calls"
|
|
258
250
|
},
|
|
259
|
-
|
|
260
|
-
name: "
|
|
261
|
-
description: "Maximum number of
|
|
251
|
+
workspace_ratelimit: {
|
|
252
|
+
name: "Workspace Ratelimit",
|
|
253
|
+
description: "Maximum number of API calls per second for a workspace.",
|
|
262
254
|
default: 100,
|
|
263
|
-
kind: "
|
|
255
|
+
kind: "workspace",
|
|
264
256
|
category: "ratelimit"
|
|
265
257
|
},
|
|
266
258
|
integrations_owned_count: {
|
|
@@ -270,13 +262,6 @@ var quotaConfigs = {
|
|
|
270
262
|
kind: "workspace",
|
|
271
263
|
category: "count"
|
|
272
264
|
},
|
|
273
|
-
model_credit: {
|
|
274
|
-
name: "Model Credit",
|
|
275
|
-
description: "Maximum amount of ai model credit that can be used in a month.",
|
|
276
|
-
default: 5e3,
|
|
277
|
-
kind: "bot",
|
|
278
|
-
category: "credit"
|
|
279
|
-
},
|
|
280
265
|
token_spend: {
|
|
281
266
|
name: "Token Spend",
|
|
282
267
|
description: "Maximum amount of token spend, expressed in nano-dollars (1 nano-dollar = $0.000000001) that can be used in a month.",
|
package/dist/index.mjs
CHANGED
|
@@ -159,13 +159,11 @@ var quotaTypes = [
|
|
|
159
159
|
"invocation_calls",
|
|
160
160
|
"storage_count",
|
|
161
161
|
"bot_count",
|
|
162
|
-
"
|
|
163
|
-
"
|
|
162
|
+
"knowledgebase_vector_storage",
|
|
163
|
+
"workspace_ratelimit",
|
|
164
164
|
"table_row_count",
|
|
165
165
|
"workspace_member_count",
|
|
166
166
|
"integrations_owned_count",
|
|
167
|
-
"cognitive_calls",
|
|
168
|
-
"model_credit",
|
|
169
167
|
"token_spend"
|
|
170
168
|
];
|
|
171
169
|
var quotaConfigs = {
|
|
@@ -179,9 +177,9 @@ var quotaConfigs = {
|
|
|
179
177
|
storage_count: {
|
|
180
178
|
name: "Storage Count",
|
|
181
179
|
description: "Maximum number of storage bytes that can be stored.",
|
|
182
|
-
default:
|
|
183
|
-
//
|
|
184
|
-
kind: "
|
|
180
|
+
default: 524288e3,
|
|
181
|
+
// 500 MB
|
|
182
|
+
kind: "workspace",
|
|
185
183
|
category: "count"
|
|
186
184
|
},
|
|
187
185
|
bot_count: {
|
|
@@ -198,39 +196,33 @@ var quotaConfigs = {
|
|
|
198
196
|
kind: "workspace",
|
|
199
197
|
category: "count"
|
|
200
198
|
},
|
|
201
|
-
|
|
202
|
-
name: "Knowledgebase Vector
|
|
203
|
-
description: "Maximum
|
|
204
|
-
default:
|
|
205
|
-
|
|
199
|
+
knowledgebase_vector_storage: {
|
|
200
|
+
name: "Knowledgebase Vector Storage",
|
|
201
|
+
description: "Maximum size knowledge base documents",
|
|
202
|
+
default: 104857600,
|
|
203
|
+
// 100 MB
|
|
204
|
+
kind: "workspace",
|
|
206
205
|
category: "count"
|
|
207
206
|
},
|
|
208
207
|
table_row_count: {
|
|
209
208
|
name: "Table Row Count",
|
|
210
209
|
description: "Maximum number of rows that can be stored in a table.",
|
|
211
210
|
default: 5e3,
|
|
212
|
-
kind: "
|
|
211
|
+
kind: "workspace",
|
|
213
212
|
category: "count"
|
|
214
213
|
},
|
|
215
214
|
invocation_calls: {
|
|
216
215
|
name: "Invocation Calls",
|
|
217
216
|
description: "Maximum number of times a bot can be invoked in a month.",
|
|
218
|
-
default:
|
|
219
|
-
kind: "
|
|
220
|
-
category: "calls"
|
|
221
|
-
},
|
|
222
|
-
cognitive_calls: {
|
|
223
|
-
name: "Cognitive Calls",
|
|
224
|
-
description: "Maximum number of times a cognitive service can be called in a month.",
|
|
225
|
-
default: 4e3,
|
|
226
|
-
kind: "bot",
|
|
217
|
+
default: 2e3,
|
|
218
|
+
kind: "workspace",
|
|
227
219
|
category: "calls"
|
|
228
220
|
},
|
|
229
|
-
|
|
230
|
-
name: "
|
|
231
|
-
description: "Maximum number of
|
|
221
|
+
workspace_ratelimit: {
|
|
222
|
+
name: "Workspace Ratelimit",
|
|
223
|
+
description: "Maximum number of API calls per second for a workspace.",
|
|
232
224
|
default: 100,
|
|
233
|
-
kind: "
|
|
225
|
+
kind: "workspace",
|
|
234
226
|
category: "ratelimit"
|
|
235
227
|
},
|
|
236
228
|
integrations_owned_count: {
|
|
@@ -240,13 +232,6 @@ var quotaConfigs = {
|
|
|
240
232
|
kind: "workspace",
|
|
241
233
|
category: "count"
|
|
242
234
|
},
|
|
243
|
-
model_credit: {
|
|
244
|
-
name: "Model Credit",
|
|
245
|
-
description: "Maximum amount of ai model credit that can be used in a month.",
|
|
246
|
-
default: 5e3,
|
|
247
|
-
kind: "bot",
|
|
248
|
-
category: "credit"
|
|
249
|
-
},
|
|
250
235
|
token_spend: {
|
|
251
236
|
name: "Token Spend",
|
|
252
237
|
description: "Maximum amount of token spend, expressed in nano-dollars (1 nano-dollar = $0.000000001) that can be used in a month.",
|
package/package.json
CHANGED
package/src/quotas.ts
CHANGED
|
@@ -30,13 +30,11 @@ export const quotaTypes = [
|
|
|
30
30
|
'invocation_calls',
|
|
31
31
|
'storage_count',
|
|
32
32
|
'bot_count',
|
|
33
|
-
'
|
|
34
|
-
'
|
|
33
|
+
'knowledgebase_vector_storage',
|
|
34
|
+
'workspace_ratelimit',
|
|
35
35
|
'table_row_count',
|
|
36
36
|
'workspace_member_count',
|
|
37
37
|
'integrations_owned_count',
|
|
38
|
-
'cognitive_calls',
|
|
39
|
-
'model_credit',
|
|
40
38
|
'token_spend'
|
|
41
39
|
] as const satisfies Readonly<string[]>
|
|
42
40
|
|
|
@@ -51,8 +49,8 @@ export const quotaConfigs = {
|
|
|
51
49
|
storage_count: {
|
|
52
50
|
name: 'Storage Count',
|
|
53
51
|
description: 'Maximum number of storage bytes that can be stored.',
|
|
54
|
-
default:
|
|
55
|
-
kind: '
|
|
52
|
+
default: 524_288_000, // 500 MB
|
|
53
|
+
kind: 'workspace',
|
|
56
54
|
category: 'count'
|
|
57
55
|
},
|
|
58
56
|
bot_count: {
|
|
@@ -69,39 +67,32 @@ export const quotaConfigs = {
|
|
|
69
67
|
kind: 'workspace',
|
|
70
68
|
category: 'count'
|
|
71
69
|
},
|
|
72
|
-
|
|
73
|
-
name: 'Knowledgebase Vector
|
|
74
|
-
description: 'Maximum
|
|
75
|
-
default:
|
|
76
|
-
kind: '
|
|
70
|
+
knowledgebase_vector_storage: {
|
|
71
|
+
name: 'Knowledgebase Vector Storage',
|
|
72
|
+
description: 'Maximum size knowledge base documents',
|
|
73
|
+
default: 104_857_600, // 100 MB
|
|
74
|
+
kind: 'workspace',
|
|
77
75
|
category: 'count'
|
|
78
76
|
},
|
|
79
77
|
table_row_count: {
|
|
80
78
|
name: 'Table Row Count',
|
|
81
79
|
description: 'Maximum number of rows that can be stored in a table.',
|
|
82
80
|
default: 5_000,
|
|
83
|
-
kind: '
|
|
81
|
+
kind: 'workspace',
|
|
84
82
|
category: 'count'
|
|
85
83
|
},
|
|
86
84
|
invocation_calls: {
|
|
87
85
|
name: 'Invocation Calls',
|
|
88
86
|
description: 'Maximum number of times a bot can be invoked in a month.',
|
|
89
|
-
default:
|
|
90
|
-
kind: '
|
|
91
|
-
category: 'calls'
|
|
92
|
-
},
|
|
93
|
-
cognitive_calls: {
|
|
94
|
-
name: 'Cognitive Calls',
|
|
95
|
-
description: 'Maximum number of times a cognitive service can be called in a month.',
|
|
96
|
-
default: 4_000,
|
|
97
|
-
kind: 'bot',
|
|
87
|
+
default: 2_000,
|
|
88
|
+
kind: 'workspace',
|
|
98
89
|
category: 'calls'
|
|
99
90
|
},
|
|
100
|
-
|
|
101
|
-
name: '
|
|
102
|
-
description: 'Maximum number of
|
|
91
|
+
workspace_ratelimit: {
|
|
92
|
+
name: 'Workspace Ratelimit',
|
|
93
|
+
description: 'Maximum number of API calls per second for a workspace.',
|
|
103
94
|
default: 100,
|
|
104
|
-
kind: '
|
|
95
|
+
kind: 'workspace',
|
|
105
96
|
category: 'ratelimit'
|
|
106
97
|
},
|
|
107
98
|
integrations_owned_count: {
|
|
@@ -111,13 +102,6 @@ export const quotaConfigs = {
|
|
|
111
102
|
kind: 'workspace',
|
|
112
103
|
category: 'count'
|
|
113
104
|
},
|
|
114
|
-
model_credit: {
|
|
115
|
-
name: 'Model Credit',
|
|
116
|
-
description: 'Maximum amount of ai model credit that can be used in a month.',
|
|
117
|
-
default: 5000,
|
|
118
|
-
kind: 'bot',
|
|
119
|
-
category: 'credit'
|
|
120
|
-
},
|
|
121
105
|
token_spend: {
|
|
122
106
|
name: 'Token Spend',
|
|
123
107
|
description:
|