@bpinternal/const 0.0.19 → 0.0.21
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 +9 -7
- package/dist/index.mjs +9 -7
- package/package.json +1 -1
- package/src/prefixes.ts +6 -4
- package/src/quotas.ts +3 -3
package/dist/index.cjs
CHANGED
|
@@ -110,18 +110,18 @@ var prefixToObjectMap = {
|
|
|
110
110
|
audit: "audit",
|
|
111
111
|
bak: "botApiKey",
|
|
112
112
|
bot: "bot",
|
|
113
|
-
devbot: "devBot",
|
|
114
113
|
card: "card",
|
|
115
114
|
cfg: "configuration",
|
|
116
115
|
channel: "channel",
|
|
117
116
|
conv: "conversation",
|
|
117
|
+
devbot: "devBot",
|
|
118
|
+
devint: "devIntegration",
|
|
118
119
|
evt: "event",
|
|
119
120
|
file: "file",
|
|
120
121
|
flow: "flow",
|
|
121
122
|
iak: "integrationApiKey",
|
|
122
123
|
int: "integration",
|
|
123
124
|
intver: "integrationVersion",
|
|
124
|
-
devint: "devIntegration",
|
|
125
125
|
iss: "issue",
|
|
126
126
|
issevt: "issueEvent",
|
|
127
127
|
kb: "knowledgeBase",
|
|
@@ -129,6 +129,7 @@ var prefixToObjectMap = {
|
|
|
129
129
|
media: "media",
|
|
130
130
|
msg: "message",
|
|
131
131
|
node: "node",
|
|
132
|
+
notif: "notification",
|
|
132
133
|
pat: "personalAccessToken",
|
|
133
134
|
quota: "quota",
|
|
134
135
|
recevt: "recurringEvent",
|
|
@@ -148,19 +149,19 @@ var objectToPrefixMap = {
|
|
|
148
149
|
analytics: "anlytic",
|
|
149
150
|
audit: "audit",
|
|
150
151
|
bot: "bot",
|
|
151
|
-
devBot: "devbot",
|
|
152
152
|
botApiKey: "bak",
|
|
153
153
|
card: "card",
|
|
154
154
|
channel: "channel",
|
|
155
155
|
configuration: "cfg",
|
|
156
156
|
conversation: "conv",
|
|
157
|
+
devBot: "devbot",
|
|
158
|
+
devIntegration: "devint",
|
|
157
159
|
event: "evt",
|
|
158
160
|
file: "file",
|
|
159
161
|
flow: "flow",
|
|
160
162
|
integration: "int",
|
|
161
163
|
integrationApiKey: "iak",
|
|
162
164
|
integrationVersion: "intver",
|
|
163
|
-
devIntegration: "devint",
|
|
164
165
|
issue: "iss",
|
|
165
166
|
issueEvent: "issevt",
|
|
166
167
|
knowledgeBase: "kb",
|
|
@@ -168,6 +169,7 @@ var objectToPrefixMap = {
|
|
|
168
169
|
media: "media",
|
|
169
170
|
message: "msg",
|
|
170
171
|
node: "node",
|
|
172
|
+
notification: "notif",
|
|
171
173
|
personalAccessToken: "pat",
|
|
172
174
|
quota: "quota",
|
|
173
175
|
recurringEvent: "recevt",
|
|
@@ -210,7 +212,7 @@ var quotaConfigs = {
|
|
|
210
212
|
storage_count: {
|
|
211
213
|
name: "Storage Count",
|
|
212
214
|
description: "Maximum number of storage bytes that can be stored.",
|
|
213
|
-
default:
|
|
215
|
+
default: 5e8,
|
|
214
216
|
// 500 MB
|
|
215
217
|
kind: "workspace",
|
|
216
218
|
category: "count",
|
|
@@ -234,8 +236,8 @@ var quotaConfigs = {
|
|
|
234
236
|
},
|
|
235
237
|
knowledgebase_vector_storage: {
|
|
236
238
|
name: "Knowledgebase Vector Storage",
|
|
237
|
-
description: "Maximum size knowledge base documents",
|
|
238
|
-
default:
|
|
239
|
+
description: "Maximum size of knowledge base documents",
|
|
240
|
+
default: 1e8,
|
|
239
241
|
// 100 MB
|
|
240
242
|
kind: "workspace",
|
|
241
243
|
category: "count",
|
package/dist/index.mjs
CHANGED
|
@@ -80,18 +80,18 @@ var prefixToObjectMap = {
|
|
|
80
80
|
audit: "audit",
|
|
81
81
|
bak: "botApiKey",
|
|
82
82
|
bot: "bot",
|
|
83
|
-
devbot: "devBot",
|
|
84
83
|
card: "card",
|
|
85
84
|
cfg: "configuration",
|
|
86
85
|
channel: "channel",
|
|
87
86
|
conv: "conversation",
|
|
87
|
+
devbot: "devBot",
|
|
88
|
+
devint: "devIntegration",
|
|
88
89
|
evt: "event",
|
|
89
90
|
file: "file",
|
|
90
91
|
flow: "flow",
|
|
91
92
|
iak: "integrationApiKey",
|
|
92
93
|
int: "integration",
|
|
93
94
|
intver: "integrationVersion",
|
|
94
|
-
devint: "devIntegration",
|
|
95
95
|
iss: "issue",
|
|
96
96
|
issevt: "issueEvent",
|
|
97
97
|
kb: "knowledgeBase",
|
|
@@ -99,6 +99,7 @@ var prefixToObjectMap = {
|
|
|
99
99
|
media: "media",
|
|
100
100
|
msg: "message",
|
|
101
101
|
node: "node",
|
|
102
|
+
notif: "notification",
|
|
102
103
|
pat: "personalAccessToken",
|
|
103
104
|
quota: "quota",
|
|
104
105
|
recevt: "recurringEvent",
|
|
@@ -118,19 +119,19 @@ var objectToPrefixMap = {
|
|
|
118
119
|
analytics: "anlytic",
|
|
119
120
|
audit: "audit",
|
|
120
121
|
bot: "bot",
|
|
121
|
-
devBot: "devbot",
|
|
122
122
|
botApiKey: "bak",
|
|
123
123
|
card: "card",
|
|
124
124
|
channel: "channel",
|
|
125
125
|
configuration: "cfg",
|
|
126
126
|
conversation: "conv",
|
|
127
|
+
devBot: "devbot",
|
|
128
|
+
devIntegration: "devint",
|
|
127
129
|
event: "evt",
|
|
128
130
|
file: "file",
|
|
129
131
|
flow: "flow",
|
|
130
132
|
integration: "int",
|
|
131
133
|
integrationApiKey: "iak",
|
|
132
134
|
integrationVersion: "intver",
|
|
133
|
-
devIntegration: "devint",
|
|
134
135
|
issue: "iss",
|
|
135
136
|
issueEvent: "issevt",
|
|
136
137
|
knowledgeBase: "kb",
|
|
@@ -138,6 +139,7 @@ var objectToPrefixMap = {
|
|
|
138
139
|
media: "media",
|
|
139
140
|
message: "msg",
|
|
140
141
|
node: "node",
|
|
142
|
+
notification: "notif",
|
|
141
143
|
personalAccessToken: "pat",
|
|
142
144
|
quota: "quota",
|
|
143
145
|
recurringEvent: "recevt",
|
|
@@ -180,7 +182,7 @@ var quotaConfigs = {
|
|
|
180
182
|
storage_count: {
|
|
181
183
|
name: "Storage Count",
|
|
182
184
|
description: "Maximum number of storage bytes that can be stored.",
|
|
183
|
-
default:
|
|
185
|
+
default: 5e8,
|
|
184
186
|
// 500 MB
|
|
185
187
|
kind: "workspace",
|
|
186
188
|
category: "count",
|
|
@@ -204,8 +206,8 @@ var quotaConfigs = {
|
|
|
204
206
|
},
|
|
205
207
|
knowledgebase_vector_storage: {
|
|
206
208
|
name: "Knowledgebase Vector Storage",
|
|
207
|
-
description: "Maximum size knowledge base documents",
|
|
208
|
-
default:
|
|
209
|
+
description: "Maximum size of knowledge base documents",
|
|
210
|
+
default: 1e8,
|
|
209
211
|
// 100 MB
|
|
210
212
|
kind: "workspace",
|
|
211
213
|
category: "count",
|
package/package.json
CHANGED
package/src/prefixes.ts
CHANGED
|
@@ -4,18 +4,18 @@ export const prefixToObjectMap = {
|
|
|
4
4
|
audit: 'audit',
|
|
5
5
|
bak: 'botApiKey',
|
|
6
6
|
bot: 'bot',
|
|
7
|
-
devbot: 'devBot',
|
|
8
7
|
card: 'card',
|
|
9
8
|
cfg: 'configuration',
|
|
10
9
|
channel: 'channel',
|
|
11
10
|
conv: 'conversation',
|
|
11
|
+
devbot: 'devBot',
|
|
12
|
+
devint: 'devIntegration',
|
|
12
13
|
evt: 'event',
|
|
13
14
|
file: 'file',
|
|
14
15
|
flow: 'flow',
|
|
15
16
|
iak: 'integrationApiKey',
|
|
16
17
|
int: 'integration',
|
|
17
18
|
intver: 'integrationVersion',
|
|
18
|
-
devint: 'devIntegration',
|
|
19
19
|
iss: 'issue',
|
|
20
20
|
issevt: 'issueEvent',
|
|
21
21
|
kb: 'knowledgeBase',
|
|
@@ -23,6 +23,7 @@ export const prefixToObjectMap = {
|
|
|
23
23
|
media: 'media',
|
|
24
24
|
msg: 'message',
|
|
25
25
|
node: 'node',
|
|
26
|
+
notif: 'notification',
|
|
26
27
|
pat: 'personalAccessToken',
|
|
27
28
|
quota: 'quota',
|
|
28
29
|
recevt: 'recurringEvent',
|
|
@@ -43,19 +44,19 @@ export const objectToPrefixMap: Reverser<typeof prefixToObjectMap> = {
|
|
|
43
44
|
analytics: 'anlytic',
|
|
44
45
|
audit: 'audit',
|
|
45
46
|
bot: 'bot',
|
|
46
|
-
devBot: 'devbot',
|
|
47
47
|
botApiKey: 'bak',
|
|
48
48
|
card: 'card',
|
|
49
49
|
channel: 'channel',
|
|
50
50
|
configuration: 'cfg',
|
|
51
51
|
conversation: 'conv',
|
|
52
|
+
devBot: 'devbot',
|
|
53
|
+
devIntegration: 'devint',
|
|
52
54
|
event: 'evt',
|
|
53
55
|
file: 'file',
|
|
54
56
|
flow: 'flow',
|
|
55
57
|
integration: 'int',
|
|
56
58
|
integrationApiKey: 'iak',
|
|
57
59
|
integrationVersion: 'intver',
|
|
58
|
-
devIntegration: 'devint',
|
|
59
60
|
issue: 'iss',
|
|
60
61
|
issueEvent: 'issevt',
|
|
61
62
|
knowledgeBase: 'kb',
|
|
@@ -63,6 +64,7 @@ export const objectToPrefixMap: Reverser<typeof prefixToObjectMap> = {
|
|
|
63
64
|
media: 'media',
|
|
64
65
|
message: 'msg',
|
|
65
66
|
node: 'node',
|
|
67
|
+
notification: 'notif',
|
|
66
68
|
personalAccessToken: 'pat',
|
|
67
69
|
quota: 'quota',
|
|
68
70
|
recurringEvent: 'recevt',
|
package/src/quotas.ts
CHANGED
|
@@ -60,7 +60,7 @@ export const quotaConfigs = {
|
|
|
60
60
|
storage_count: {
|
|
61
61
|
name: 'Storage Count',
|
|
62
62
|
description: 'Maximum number of storage bytes that can be stored.',
|
|
63
|
-
default:
|
|
63
|
+
default: 500_000_000, // 500 MB
|
|
64
64
|
kind: 'workspace',
|
|
65
65
|
category: 'count',
|
|
66
66
|
trackUsagePerBot: true
|
|
@@ -83,8 +83,8 @@ export const quotaConfigs = {
|
|
|
83
83
|
},
|
|
84
84
|
knowledgebase_vector_storage: {
|
|
85
85
|
name: 'Knowledgebase Vector Storage',
|
|
86
|
-
description: 'Maximum size knowledge base documents',
|
|
87
|
-
default:
|
|
86
|
+
description: 'Maximum size of knowledge base documents',
|
|
87
|
+
default: 100_000_000, // 100 MB
|
|
88
88
|
kind: 'workspace',
|
|
89
89
|
category: 'count',
|
|
90
90
|
trackUsagePerBot: true
|