@bpinternal/const 0.0.27 → 0.0.29

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",
@@ -155,6 +156,7 @@ var objectToPrefixMap = {
155
156
  account: "accnt",
156
157
  accountPreference: "accntpf",
157
158
  action: "action",
159
+ activity: "activty",
158
160
  analytics: "anlytic",
159
161
  audit: "audit",
160
162
  bot: "bot",
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",
@@ -125,6 +126,7 @@ var objectToPrefixMap = {
125
126
  account: "accnt",
126
127
  accountPreference: "accntpf",
127
128
  action: "action",
129
+ activity: "activty",
128
130
  analytics: "anlytic",
129
131
  audit: "audit",
130
132
  bot: "bot",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bpinternal/const",
3
- "version": "0.0.27",
3
+ "version": "0.0.29",
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',
@@ -46,6 +47,7 @@ export const objectToPrefixMap: Reverser<typeof prefixToObjectMap> = {
46
47
  account: 'accnt',
47
48
  accountPreference: 'accntpf',
48
49
  action: 'action',
50
+ activity: 'activty',
49
51
  analytics: 'anlytic',
50
52
  audit: 'audit',
51
53
  bot: 'bot',
@@ -129,6 +131,7 @@ export type UsageId = Ids['UsageId']
129
131
  export type UserId = Ids['UserId']
130
132
  export type WebhookId = Ids['WebhookId']
131
133
  export type WorkspaceId = Ids['WorkspaceId']
134
+ export type TaskId = Ids['TaskId']
132
135
 
133
136
  type Reverser<T extends Record<PropertyKey, PropertyKey>> = {
134
137
  [P in keyof T as T[P]]: P