@bpinternal/const 0.0.8 → 0.0.9

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
@@ -115,6 +115,8 @@ var prefixToObjectMap = {
115
115
  iak: "integrationApiKey",
116
116
  int: "integration",
117
117
  intver: "integrationVersion",
118
+ iss: "issue",
119
+ issevt: "issueEvent",
118
120
  kb: "knowledgeBase",
119
121
  limit: "limit",
120
122
  media: "media",
@@ -149,6 +151,8 @@ var objectToPrefixMap = {
149
151
  integration: "int",
150
152
  integrationVersion: "intver",
151
153
  integrationApiKey: "iak",
154
+ issue: "iss",
155
+ issueEvent: "issevt",
152
156
  knowledgeBase: "kb",
153
157
  limit: "limit",
154
158
  media: "media",
package/dist/index.mjs CHANGED
@@ -85,6 +85,8 @@ var prefixToObjectMap = {
85
85
  iak: "integrationApiKey",
86
86
  int: "integration",
87
87
  intver: "integrationVersion",
88
+ iss: "issue",
89
+ issevt: "issueEvent",
88
90
  kb: "knowledgeBase",
89
91
  limit: "limit",
90
92
  media: "media",
@@ -119,6 +121,8 @@ var objectToPrefixMap = {
119
121
  integration: "int",
120
122
  integrationVersion: "intver",
121
123
  integrationApiKey: "iak",
124
+ issue: "iss",
125
+ issueEvent: "issevt",
122
126
  knowledgeBase: "kb",
123
127
  limit: "limit",
124
128
  media: "media",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bpinternal/const",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "description": "Constant utilities for Botpress",
5
5
  "main": "./dist/index.cjs",
6
6
  "browser": "./dist/index.mjs",
package/src/prefixes.ts CHANGED
@@ -14,6 +14,8 @@ export const prefixToObjectMap = {
14
14
  iak: 'integrationApiKey',
15
15
  int: 'integration',
16
16
  intver: 'integrationVersion',
17
+ iss: 'issue',
18
+ issevt: 'issueEvent',
17
19
  kb: 'knowledgeBase',
18
20
  limit: 'limit',
19
21
  media: 'media',
@@ -49,6 +51,8 @@ export const objectToPrefixMap: Reverser<typeof prefixToObjectMap> = {
49
51
  integration: 'int',
50
52
  integrationVersion: 'intver',
51
53
  integrationApiKey: 'iak',
54
+ issue: 'iss',
55
+ issueEvent: 'issevt',
52
56
  knowledgeBase: 'kb',
53
57
  limit: 'limit',
54
58
  media: 'media',
@@ -89,6 +93,8 @@ export type FileId = Ids['FileId']
89
93
  export type FlowId = Ids['FlowId']
90
94
  export type IntegrationId = Ids['IntegrationId']
91
95
  export type IntegrationApiKeyId = Ids['IntegrationApiKeyId']
96
+ export type Issue = Ids['IssueId']
97
+ export type IssueEvent = Ids['IssueEventId']
92
98
  export type KnowledgeBaseId = Ids['KnowledgeBaseId']
93
99
  export type LimitId = Ids['LimitId']
94
100
  export type MediaId = Ids['MediaId']