@bpinternal/const 0.0.26 → 0.0.28

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
@@ -112,6 +112,7 @@ var prefixToObjectMap = {
112
112
  accnt: "account",
113
113
  accntpf: "accountPreference",
114
114
  action: "action",
115
+ activty: "activity",
115
116
  anlytic: "analytics",
116
117
  audit: "audit",
117
118
  bak: "botApiKey",
@@ -145,6 +146,7 @@ var prefixToObjectMap = {
145
146
  state: "state",
146
147
  table: "table",
147
148
  tag: "tag",
149
+ task: "task",
148
150
  usage: "usage",
149
151
  user: "user",
150
152
  webhook: "webhook",
@@ -154,6 +156,7 @@ var objectToPrefixMap = {
154
156
  account: "accnt",
155
157
  accountPreference: "accntpf",
156
158
  action: "action",
159
+ activity: "activty",
157
160
  analytics: "anlytic",
158
161
  audit: "audit",
159
162
  bot: "bot",
@@ -187,6 +190,7 @@ var objectToPrefixMap = {
187
190
  state: "state",
188
191
  table: "table",
189
192
  tag: "tag",
193
+ task: "task",
190
194
  usage: "usage",
191
195
  user: "user",
192
196
  webhook: "webhook",
package/dist/index.mjs CHANGED
@@ -82,6 +82,7 @@ var prefixToObjectMap = {
82
82
  accnt: "account",
83
83
  accntpf: "accountPreference",
84
84
  action: "action",
85
+ activty: "activity",
85
86
  anlytic: "analytics",
86
87
  audit: "audit",
87
88
  bak: "botApiKey",
@@ -115,6 +116,7 @@ var prefixToObjectMap = {
115
116
  state: "state",
116
117
  table: "table",
117
118
  tag: "tag",
119
+ task: "task",
118
120
  usage: "usage",
119
121
  user: "user",
120
122
  webhook: "webhook",
@@ -124,6 +126,7 @@ var objectToPrefixMap = {
124
126
  account: "accnt",
125
127
  accountPreference: "accntpf",
126
128
  action: "action",
129
+ activity: "activty",
127
130
  analytics: "anlytic",
128
131
  audit: "audit",
129
132
  bot: "bot",
@@ -157,6 +160,7 @@ var objectToPrefixMap = {
157
160
  state: "state",
158
161
  table: "table",
159
162
  tag: "tag",
163
+ task: "task",
160
164
  usage: "usage",
161
165
  user: "user",
162
166
  webhook: "webhook",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bpinternal/const",
3
- "version": "0.0.26",
3
+ "version": "0.0.28",
4
4
  "description": "Constant utilities for Botpress",
5
5
  "main": "./dist/index.cjs",
6
6
  "browser": "./dist/index.mjs",
package/src/prefixes.ts CHANGED
@@ -2,6 +2,7 @@ export const prefixToObjectMap = {
2
2
  accnt: 'account',
3
3
  accntpf: 'accountPreference',
4
4
  action: 'action',
5
+ activty: 'activity',
5
6
  anlytic: 'analytics',
6
7
  audit: 'audit',
7
8
  bak: 'botApiKey',
@@ -35,6 +36,7 @@ export const prefixToObjectMap = {
35
36
  state: 'state',
36
37
  table: 'table',
37
38
  tag: 'tag',
39
+ task: 'task',
38
40
  usage: 'usage',
39
41
  user: 'user',
40
42
  webhook: 'webhook',
@@ -45,6 +47,7 @@ export const objectToPrefixMap: Reverser<typeof prefixToObjectMap> = {
45
47
  account: 'accnt',
46
48
  accountPreference: 'accntpf',
47
49
  action: 'action',
50
+ activity: 'activty',
48
51
  analytics: 'anlytic',
49
52
  audit: 'audit',
50
53
  bot: 'bot',
@@ -78,6 +81,7 @@ export const objectToPrefixMap: Reverser<typeof prefixToObjectMap> = {
78
81
  state: 'state',
79
82
  table: 'table',
80
83
  tag: 'tag',
84
+ task: 'task',
81
85
  usage: 'usage',
82
86
  user: 'user',
83
87
  webhook: 'webhook',