@bpinternal/const 0.0.8 → 0.0.10

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
@@ -73,6 +73,11 @@ var limitConfigs = {
73
73
  value: 50,
74
74
  unit: "count"
75
75
  },
76
+ issue_event_item_payload_bytes: {
77
+ value: 131072,
78
+ // 128 KB
79
+ unit: "bytes"
80
+ },
76
81
  message_payload_bytes: {
77
82
  value: 131072,
78
83
  // 128 KB
@@ -115,6 +120,8 @@ var prefixToObjectMap = {
115
120
  iak: "integrationApiKey",
116
121
  int: "integration",
117
122
  intver: "integrationVersion",
123
+ iss: "issue",
124
+ issevt: "issueEvent",
118
125
  kb: "knowledgeBase",
119
126
  limit: "limit",
120
127
  media: "media",
@@ -149,6 +156,8 @@ var objectToPrefixMap = {
149
156
  integration: "int",
150
157
  integrationVersion: "intver",
151
158
  integrationApiKey: "iak",
159
+ issue: "iss",
160
+ issueEvent: "issevt",
152
161
  knowledgeBase: "kb",
153
162
  limit: "limit",
154
163
  media: "media",
package/dist/index.mjs CHANGED
@@ -43,6 +43,11 @@ var limitConfigs = {
43
43
  value: 50,
44
44
  unit: "count"
45
45
  },
46
+ issue_event_item_payload_bytes: {
47
+ value: 131072,
48
+ // 128 KB
49
+ unit: "bytes"
50
+ },
46
51
  message_payload_bytes: {
47
52
  value: 131072,
48
53
  // 128 KB
@@ -85,6 +90,8 @@ var prefixToObjectMap = {
85
90
  iak: "integrationApiKey",
86
91
  int: "integration",
87
92
  intver: "integrationVersion",
93
+ iss: "issue",
94
+ issevt: "issueEvent",
88
95
  kb: "knowledgeBase",
89
96
  limit: "limit",
90
97
  media: "media",
@@ -119,6 +126,8 @@ var objectToPrefixMap = {
119
126
  integration: "int",
120
127
  integrationVersion: "intver",
121
128
  integrationApiKey: "iak",
129
+ issue: "iss",
130
+ issueEvent: "issevt",
122
131
  knowledgeBase: "kb",
123
132
  limit: "limit",
124
133
  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.10",
4
4
  "description": "Constant utilities for Botpress",
5
5
  "main": "./dist/index.cjs",
6
6
  "browser": "./dist/index.mjs",
package/src/limits.ts CHANGED
@@ -53,6 +53,10 @@ export const limitConfigs = {
53
53
  value: 50,
54
54
  unit: 'count'
55
55
  },
56
+ issue_event_item_payload_bytes: {
57
+ value: 131072, // 128 KB
58
+ unit: 'bytes'
59
+ },
56
60
  message_payload_bytes: {
57
61
  value: 131072, // 128 KB
58
62
  unit: 'bytes'
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']