@bpinternal/const 0.0.20 → 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 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",
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",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bpinternal/const",
3
- "version": "0.0.20",
3
+ "version": "0.0.21",
4
4
  "description": "Constant utilities for Botpress",
5
5
  "main": "./dist/index.cjs",
6
6
  "browser": "./dist/index.mjs",
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',