@bpinternal/const 0.0.11 → 0.0.12

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
@@ -132,6 +132,7 @@ var prefixToObjectMap = {
132
132
  recevt: "recurringEvent",
133
133
  sandbox: "sandbox",
134
134
  schema: "schema",
135
+ script: "script",
135
136
  state: "state",
136
137
  table: "table",
137
138
  tag: "tag",
@@ -154,8 +155,8 @@ var objectToPrefixMap = {
154
155
  file: "file",
155
156
  flow: "flow",
156
157
  integration: "int",
157
- integrationVersion: "intver",
158
158
  integrationApiKey: "iak",
159
+ integrationVersion: "intver",
159
160
  issue: "iss",
160
161
  issueEvent: "issevt",
161
162
  knowledgeBase: "kb",
@@ -168,6 +169,7 @@ var objectToPrefixMap = {
168
169
  recurringEvent: "recevt",
169
170
  sandbox: "sandbox",
170
171
  schema: "schema",
172
+ script: "script",
171
173
  state: "state",
172
174
  table: "table",
173
175
  tag: "tag",
package/dist/index.mjs CHANGED
@@ -102,6 +102,7 @@ var prefixToObjectMap = {
102
102
  recevt: "recurringEvent",
103
103
  sandbox: "sandbox",
104
104
  schema: "schema",
105
+ script: "script",
105
106
  state: "state",
106
107
  table: "table",
107
108
  tag: "tag",
@@ -124,8 +125,8 @@ var objectToPrefixMap = {
124
125
  file: "file",
125
126
  flow: "flow",
126
127
  integration: "int",
127
- integrationVersion: "intver",
128
128
  integrationApiKey: "iak",
129
+ integrationVersion: "intver",
129
130
  issue: "iss",
130
131
  issueEvent: "issevt",
131
132
  knowledgeBase: "kb",
@@ -138,6 +139,7 @@ var objectToPrefixMap = {
138
139
  recurringEvent: "recevt",
139
140
  sandbox: "sandbox",
140
141
  schema: "schema",
142
+ script: "script",
141
143
  state: "state",
142
144
  table: "table",
143
145
  tag: "tag",
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@bpinternal/const",
3
- "version": "0.0.11",
3
+ "version": "0.0.12",
4
4
  "description": "Constant utilities for Botpress",
5
5
  "main": "./dist/index.cjs",
6
6
  "browser": "./dist/index.mjs",
7
7
  "types": "./src/index.ts",
8
8
  "license": "MIT",
9
9
  "scripts": {
10
- "type-check": "tsc --noEmit",
10
+ "type:check": "tsc --noEmit",
11
11
  "build:nodejs": "esbuild src/index.ts --bundle --platform=node --target=node16 --outfile=dist/index.cjs",
12
12
  "build:browser": "esbuild src/index.ts --bundle --platform=browser --target=es2017 --format=esm --outfile=dist/index.mjs",
13
13
  "build": "npm run build:nodejs && npm run build:browser",
package/src/prefixes.ts CHANGED
@@ -26,6 +26,7 @@ export const prefixToObjectMap = {
26
26
  recevt: 'recurringEvent',
27
27
  sandbox: 'sandbox',
28
28
  schema: 'schema',
29
+ script: 'script',
29
30
  state: 'state',
30
31
  table: 'table',
31
32
  tag: 'tag',
@@ -49,8 +50,8 @@ export const objectToPrefixMap: Reverser<typeof prefixToObjectMap> = {
49
50
  file: 'file',
50
51
  flow: 'flow',
51
52
  integration: 'int',
52
- integrationVersion: 'intver',
53
53
  integrationApiKey: 'iak',
54
+ integrationVersion: 'intver',
54
55
  issue: 'iss',
55
56
  issueEvent: 'issevt',
56
57
  knowledgeBase: 'kb',
@@ -63,6 +64,7 @@ export const objectToPrefixMap: Reverser<typeof prefixToObjectMap> = {
63
64
  recurringEvent: 'recevt',
64
65
  sandbox: 'sandbox',
65
66
  schema: 'schema',
67
+ script: 'script',
66
68
  state: 'state',
67
69
  table: 'table',
68
70
  tag: 'tag',
@@ -82,8 +84,8 @@ type Ids = {
82
84
  export type ActionId = Ids['ActionId']
83
85
  export type AnalyticsId = Ids['AnalyticsId']
84
86
  export type AuditId = Ids['AuditId']
85
- export type BotId = Ids['BotId']
86
87
  export type BotApiKeyId = Ids['BotApiKeyId']
88
+ export type BotId = Ids['BotId']
87
89
  export type CardId = Ids['CardId']
88
90
  export type ChannelId = Ids['ChannelId']
89
91
  export type ConfigurationId = Ids['ConfigurationId']
@@ -91,8 +93,8 @@ export type ConversationId = Ids['ConversationId']
91
93
  export type EventId = Ids['EventId']
92
94
  export type FileId = Ids['FileId']
93
95
  export type FlowId = Ids['FlowId']
94
- export type IntegrationId = Ids['IntegrationId']
95
96
  export type IntegrationApiKeyId = Ids['IntegrationApiKeyId']
97
+ export type IntegrationId = Ids['IntegrationId']
96
98
  export type Issue = Ids['IssueId']
97
99
  export type IssueEvent = Ids['IssueEventId']
98
100
  export type KnowledgeBaseId = Ids['KnowledgeBaseId']
@@ -105,6 +107,7 @@ export type QuotaId = Ids['QuotaId']
105
107
  export type RecurringEventId = Ids['RecurringEventId']
106
108
  export type SandboxId = Ids['SandboxId']
107
109
  export type SchemaId = Ids['SchemaId']
110
+ export type ScriptId = Ids['ScriptId']
108
111
  export type StateId = Ids['StateId']
109
112
  export type TableId = Ids['TableId']
110
113
  export type TagId = Ids['TagId']