@botpress/cli 4.17.14 → 4.17.16

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.
Files changed (205) hide show
  1. package/.turbo/turbo-build.log +16 -12
  2. package/bin.js +1 -1
  3. package/dist/api/bot-body.d.ts +5 -0
  4. package/dist/api/client.d.ts +50 -0
  5. package/dist/api/index.d.ts +6 -0
  6. package/dist/api/integration-body.d.ts +5 -0
  7. package/dist/api/interface-body.d.ts +7 -0
  8. package/dist/api/paging.d.ts +9 -0
  9. package/dist/api/plugin-body.d.ts +5 -0
  10. package/dist/api/retry.d.ts +2 -0
  11. package/dist/api/types.d.ts +62 -0
  12. package/dist/chat/index.d.ts +25 -0
  13. package/dist/cli.d.ts +1 -0
  14. package/dist/cli.js +51 -0
  15. package/dist/cli.js.map +7 -0
  16. package/dist/code-generation/bot-implementation/bot-implementation.d.ts +8 -0
  17. package/dist/code-generation/bot-implementation/bot-plugins/index.d.ts +7 -0
  18. package/dist/code-generation/bot-implementation/bot-plugins/plugin-module.d.ts +13 -0
  19. package/dist/code-generation/bot-implementation/bot-typings/actions-module.d.ts +21 -0
  20. package/dist/code-generation/bot-implementation/bot-typings/events-module.d.ts +10 -0
  21. package/dist/code-generation/bot-implementation/bot-typings/index.d.ts +7 -0
  22. package/dist/code-generation/bot-implementation/bot-typings/states-module.d.ts +17 -0
  23. package/dist/code-generation/bot-implementation/bot-typings/tables-module.d.ts +10 -0
  24. package/dist/code-generation/bot-implementation/bot-typings/workflows-module.d.ts +27 -0
  25. package/dist/code-generation/bot-implementation/index.d.ts +3 -0
  26. package/dist/code-generation/consts.d.ts +5 -0
  27. package/dist/code-generation/generators.d.ts +10 -0
  28. package/dist/code-generation/index.d.ts +8 -0
  29. package/dist/code-generation/integration-implementation/index.d.ts +3 -0
  30. package/dist/code-generation/integration-implementation/integration-implementation.d.ts +7 -0
  31. package/dist/code-generation/integration-implementation/integration-secret.d.ts +8 -0
  32. package/dist/code-generation/integration-implementation/integration-typings/actions-module.d.ts +21 -0
  33. package/dist/code-generation/integration-implementation/integration-typings/channels-module.d.ts +5 -0
  34. package/dist/code-generation/integration-implementation/integration-typings/configuration-module.d.ts +7 -0
  35. package/dist/code-generation/integration-implementation/integration-typings/configurations-module.d.ts +10 -0
  36. package/dist/code-generation/integration-implementation/integration-typings/entities-module.d.ts +10 -0
  37. package/dist/code-generation/integration-implementation/integration-typings/events-module.d.ts +10 -0
  38. package/dist/code-generation/integration-implementation/integration-typings/index.d.ts +8 -0
  39. package/dist/code-generation/integration-implementation/integration-typings/states-module.d.ts +17 -0
  40. package/dist/code-generation/integration-package/index.d.ts +2 -0
  41. package/dist/code-generation/integration-package/integration-package-definition/actions-module.d.ts +21 -0
  42. package/dist/code-generation/integration-package/integration-package-definition/channels-module.d.ts +5 -0
  43. package/dist/code-generation/integration-package/integration-package-definition/configuration-module.d.ts +7 -0
  44. package/dist/code-generation/integration-package/integration-package-definition/configurations-module.d.ts +10 -0
  45. package/dist/code-generation/integration-package/integration-package-definition/entities-module.d.ts +10 -0
  46. package/dist/code-generation/integration-package/integration-package-definition/events-module.d.ts +10 -0
  47. package/dist/code-generation/integration-package/integration-package-definition/index.d.ts +8 -0
  48. package/dist/code-generation/integration-package/integration-package-definition/interfaces-module.d.ts +10 -0
  49. package/dist/code-generation/integration-package/integration-package-definition/states-module.d.ts +10 -0
  50. package/dist/code-generation/integration-package/integration-package-definition/typings.d.ts +10 -0
  51. package/dist/code-generation/interface-implementation/index.d.ts +4 -0
  52. package/dist/code-generation/interface-implementation/integration-typings/actions-module.d.ts +21 -0
  53. package/dist/code-generation/interface-implementation/integration-typings/channels-module.d.ts +5 -0
  54. package/dist/code-generation/interface-implementation/integration-typings/entities-module.d.ts +10 -0
  55. package/dist/code-generation/interface-implementation/integration-typings/events-module.d.ts +10 -0
  56. package/dist/code-generation/interface-implementation/integration-typings/index.d.ts +8 -0
  57. package/dist/code-generation/interface-package/index.d.ts +2 -0
  58. package/dist/code-generation/interface-package/interface-package-definition/actions-module.d.ts +21 -0
  59. package/dist/code-generation/interface-package/interface-package-definition/channels-module.d.ts +5 -0
  60. package/dist/code-generation/interface-package/interface-package-definition/entities-module.d.ts +10 -0
  61. package/dist/code-generation/interface-package/interface-package-definition/events-module.d.ts +10 -0
  62. package/dist/code-generation/interface-package/interface-package-definition/index.d.ts +8 -0
  63. package/dist/code-generation/interface-package/interface-package-definition/typings.d.ts +7 -0
  64. package/dist/code-generation/module.d.ts +49 -0
  65. package/dist/code-generation/plugin-implementation/index.d.ts +3 -0
  66. package/dist/code-generation/plugin-implementation/plugin-implementation.d.ts +7 -0
  67. package/dist/code-generation/plugin-implementation/plugin-typings/actions-module.d.ts +21 -0
  68. package/dist/code-generation/plugin-implementation/plugin-typings/configuration-module.d.ts +7 -0
  69. package/dist/code-generation/plugin-implementation/plugin-typings/events-module.d.ts +10 -0
  70. package/dist/code-generation/plugin-implementation/plugin-typings/index.d.ts +8 -0
  71. package/dist/code-generation/plugin-implementation/plugin-typings/states-module.d.ts +17 -0
  72. package/dist/code-generation/plugin-implementation/plugin-typings/tables-module.d.ts +10 -0
  73. package/dist/code-generation/plugin-implementation/plugin-typings/workflows-module.d.ts +27 -0
  74. package/dist/code-generation/plugin-package/index.d.ts +2 -0
  75. package/dist/code-generation/plugin-package/plugin-package-definition/actions-module.d.ts +21 -0
  76. package/dist/code-generation/plugin-package/plugin-package-definition/configuration-module.d.ts +7 -0
  77. package/dist/code-generation/plugin-package/plugin-package-definition/events-module.d.ts +10 -0
  78. package/dist/code-generation/plugin-package/plugin-package-definition/index.d.ts +8 -0
  79. package/dist/code-generation/plugin-package/plugin-package-definition/interfaces-module.d.ts +7 -0
  80. package/dist/code-generation/plugin-package/plugin-package-definition/recurring-events-module.d.ts +5 -0
  81. package/dist/code-generation/plugin-package/plugin-package-definition/states-module.d.ts +10 -0
  82. package/dist/code-generation/plugin-package/plugin-package-definition/typings.d.ts +7 -0
  83. package/dist/code-generation/strings.d.ts +4 -0
  84. package/dist/code-generation/typings.d.ts +162 -0
  85. package/dist/code-generation/typings.test.d.ts +1 -0
  86. package/dist/command-definitions.d.ts +1480 -0
  87. package/dist/command-implementations/add-command.d.ts +15 -0
  88. package/dist/command-implementations/add-command.js +3 -2
  89. package/dist/command-implementations/add-command.js.map +2 -2
  90. package/dist/command-implementations/base-command.d.ts +13 -0
  91. package/dist/command-implementations/bot-commands.d.ts +20 -0
  92. package/dist/command-implementations/build-command.d.ts +9 -0
  93. package/dist/command-implementations/build-command.js +2 -4
  94. package/dist/command-implementations/build-command.js.map +2 -2
  95. package/dist/command-implementations/bundle-command.d.ts +10 -0
  96. package/dist/command-implementations/bundle-command.js +6 -5
  97. package/dist/command-implementations/bundle-command.js.map +2 -2
  98. package/dist/command-implementations/chat-command.d.ts +13 -0
  99. package/dist/command-implementations/deploy-command.d.ts +18 -0
  100. package/dist/command-implementations/deploy-command.js +9 -5
  101. package/dist/command-implementations/deploy-command.js.map +2 -2
  102. package/dist/command-implementations/dev-command.d.ts +21 -0
  103. package/dist/command-implementations/dev-command.js +9 -6
  104. package/dist/command-implementations/dev-command.js.map +2 -2
  105. package/dist/command-implementations/gen-command.d.ts +11 -0
  106. package/dist/command-implementations/gen-command.js +8 -5
  107. package/dist/command-implementations/gen-command.js.map +2 -2
  108. package/dist/command-implementations/global-command.d.ts +57 -0
  109. package/dist/command-implementations/index.d.ts +1534 -0
  110. package/dist/command-implementations/init-command.d.ts +17 -0
  111. package/dist/command-implementations/integration-commands.d.ts +15 -0
  112. package/dist/command-implementations/interface-commands.d.ts +14 -0
  113. package/dist/command-implementations/lint-command.d.ts +15 -0
  114. package/dist/command-implementations/lint-command.js +15 -8
  115. package/dist/command-implementations/lint-command.js.map +3 -3
  116. package/dist/command-implementations/login-command.d.ts +6 -0
  117. package/dist/command-implementations/logout-command.d.ts +6 -0
  118. package/dist/command-implementations/plugin-commands.d.ts +14 -0
  119. package/dist/command-implementations/profile-commands.d.ts +14 -0
  120. package/dist/command-implementations/project-command.d.ts +94 -0
  121. package/dist/command-implementations/project-command.js +54 -18
  122. package/dist/command-implementations/project-command.js.map +2 -2
  123. package/dist/command-implementations/read-command.d.ts +10 -0
  124. package/dist/command-implementations/read-command.js +9 -5
  125. package/dist/command-implementations/read-command.js.map +2 -2
  126. package/dist/command-implementations/serve-command.d.ts +6 -0
  127. package/dist/command-implementations/serve-command.js +5 -4
  128. package/dist/command-implementations/serve-command.js.map +2 -2
  129. package/dist/command-tree.d.ts +39 -0
  130. package/dist/config.d.ts +1441 -0
  131. package/dist/consts.d.ts +41 -0
  132. package/dist/errors.d.ts +56 -0
  133. package/dist/index.d.ts +1524 -0
  134. package/dist/index.js +50 -25
  135. package/dist/index.js.map +3 -3
  136. package/dist/init.d.ts +1 -0
  137. package/dist/linter/base-linter.d.ts +21 -0
  138. package/dist/linter/base-linter.test.d.ts +1 -0
  139. package/dist/linter/bot-linter.d.ts +5 -0
  140. package/dist/linter/integration-linter.d.ts +7 -0
  141. package/dist/linter/interface-linter.d.ts +5 -0
  142. package/dist/linter/ruleset-tests/bot.ruleset.test.d.ts +1 -0
  143. package/dist/linter/ruleset-tests/common.d.ts +9 -0
  144. package/dist/linter/ruleset-tests/integration.ruleset.test.d.ts +1 -0
  145. package/dist/linter/ruleset-tests/interface.ruleset.test.d.ts +1 -0
  146. package/dist/linter/rulesets/bot.ruleset.d.ts +165 -0
  147. package/dist/linter/rulesets/integration.ruleset.d.ts +390 -0
  148. package/dist/linter/rulesets/interface.ruleset.d.ts +141 -0
  149. package/dist/linter/spectral-functions.d.ts +11 -0
  150. package/dist/logger/base-logger.d.ts +43 -0
  151. package/dist/logger/index.d.ts +22 -0
  152. package/dist/logger/logger.test.d.ts +1 -0
  153. package/dist/package-ref.d.ts +22 -0
  154. package/dist/package-ref.test.d.ts +1 -0
  155. package/dist/project-templates.d.ts +42 -0
  156. package/dist/register-yargs.d.ts +4 -0
  157. package/dist/root.d.ts +7 -0
  158. package/dist/sdk/index.d.ts +2 -0
  159. package/dist/sdk/validate-bot.d.ts +2 -0
  160. package/dist/sdk/validate-bot.test.d.ts +1 -0
  161. package/dist/sdk/validate-integration.d.ts +2 -0
  162. package/dist/tables/index.d.ts +1 -0
  163. package/dist/tables/schemas.d.ts +1259 -0
  164. package/dist/tables/tables-publisher.d.ts +22 -0
  165. package/dist/typings.d.ts +27 -0
  166. package/dist/utils/attribute-utils.d.ts +10 -0
  167. package/dist/utils/cache-utils.d.ts +14 -0
  168. package/dist/utils/case-utils.d.ts +14 -0
  169. package/dist/utils/case-utils.test.d.ts +1 -0
  170. package/dist/utils/concurrency-utils.d.ts +1 -0
  171. package/dist/utils/concurrency-utils.test.d.ts +1 -0
  172. package/dist/utils/esbuild-utils.d.ts +29 -0
  173. package/dist/utils/event-emitter.d.ts +7 -0
  174. package/dist/utils/file-watcher.d.ts +17 -0
  175. package/dist/utils/guard-utils.d.ts +4 -0
  176. package/dist/utils/id-utils.d.ts +2 -0
  177. package/dist/utils/index.d.ts +22 -0
  178. package/dist/utils/object-utils.d.ts +1 -0
  179. package/dist/utils/path-utils.d.ts +28 -0
  180. package/dist/utils/path-utils.test.d.ts +1 -0
  181. package/dist/utils/pkgjson-utils.d.ts +17 -0
  182. package/dist/utils/promise-utils.d.ts +2 -0
  183. package/dist/utils/promise-utils.test.d.ts +1 -0
  184. package/dist/utils/prompt-utils.d.ts +33 -0
  185. package/dist/utils/record-utils.d.ts +8 -0
  186. package/dist/utils/record-utils.test.d.ts +1 -0
  187. package/dist/utils/require-utils.d.ts +2 -0
  188. package/dist/utils/require-utils.test.d.ts +1 -0
  189. package/dist/utils/schema-utils.d.ts +13 -0
  190. package/dist/utils/schema-utils.test.d.ts +1 -0
  191. package/dist/utils/semver-utils.d.ts +8 -0
  192. package/dist/utils/string-utils.d.ts +2 -0
  193. package/dist/utils/template-utils.d.ts +1 -0
  194. package/dist/utils/tunnel-utils.d.ts +49 -0
  195. package/dist/utils/type-utils.d.ts +19 -0
  196. package/dist/utils/url-utils.d.ts +19 -0
  197. package/dist/worker/child-entrypoint.d.ts +1 -0
  198. package/dist/worker/child-wrapper.d.ts +18 -0
  199. package/dist/worker/config.d.ts +28 -0
  200. package/dist/worker/index.d.ts +2 -0
  201. package/dist/worker/is-child.d.ts +14 -0
  202. package/dist/worker/worker-state.d.ts +30 -0
  203. package/dist/worker/worker.d.ts +20 -0
  204. package/package.json +6 -4
  205. package/tsconfig.build.json +14 -0
@@ -0,0 +1,1524 @@
1
+ import type * as typings from './typings';
2
+ declare const _default: {
3
+ login: (argv: typings.CommandArgv<{
4
+ description: string;
5
+ schema: {
6
+ token: {
7
+ type: "string";
8
+ description: string;
9
+ };
10
+ workspaceId: {
11
+ type: "string";
12
+ description: string;
13
+ };
14
+ apiUrl: {
15
+ default: string;
16
+ type: "string";
17
+ description: string;
18
+ };
19
+ verbose: {
20
+ type: "boolean";
21
+ description: string;
22
+ alias: string;
23
+ default: boolean;
24
+ };
25
+ confirm: {
26
+ type: "boolean";
27
+ description: string;
28
+ alias: string;
29
+ default: boolean;
30
+ };
31
+ json: {
32
+ type: "boolean";
33
+ description: string;
34
+ default: boolean;
35
+ };
36
+ botpressHome: {
37
+ type: "string";
38
+ description: string;
39
+ default: string;
40
+ };
41
+ profile: {
42
+ type: "string";
43
+ description: string;
44
+ alias: string;
45
+ };
46
+ };
47
+ }>) => Promise<{
48
+ exitCode: number;
49
+ }>;
50
+ logout: (argv: typings.CommandArgv<{
51
+ description: string;
52
+ schema: {
53
+ verbose: {
54
+ type: "boolean";
55
+ description: string;
56
+ alias: string;
57
+ default: boolean;
58
+ };
59
+ confirm: {
60
+ type: "boolean";
61
+ description: string;
62
+ alias: string;
63
+ default: boolean;
64
+ };
65
+ json: {
66
+ type: "boolean";
67
+ description: string;
68
+ default: boolean;
69
+ };
70
+ botpressHome: {
71
+ type: "string";
72
+ description: string;
73
+ default: string;
74
+ };
75
+ profile: {
76
+ type: "string";
77
+ description: string;
78
+ alias: string;
79
+ };
80
+ };
81
+ }>) => Promise<{
82
+ exitCode: number;
83
+ }>;
84
+ bots: {
85
+ create: (argv: typings.CommandArgv<{
86
+ description: string;
87
+ schema: {
88
+ name: {
89
+ type: "string";
90
+ description: string;
91
+ };
92
+ ifNotExists: {
93
+ type: "boolean";
94
+ description: string;
95
+ default: boolean;
96
+ };
97
+ apiUrl: {
98
+ type: "string";
99
+ description: string;
100
+ };
101
+ workspaceId: {
102
+ type: "string";
103
+ description: string;
104
+ };
105
+ token: {
106
+ type: "string";
107
+ description: string;
108
+ };
109
+ verbose: {
110
+ type: "boolean";
111
+ description: string;
112
+ alias: string;
113
+ default: boolean;
114
+ };
115
+ confirm: {
116
+ type: "boolean";
117
+ description: string;
118
+ alias: string;
119
+ default: boolean;
120
+ };
121
+ json: {
122
+ type: "boolean";
123
+ description: string;
124
+ default: boolean;
125
+ };
126
+ botpressHome: {
127
+ type: "string";
128
+ description: string;
129
+ default: string;
130
+ };
131
+ profile: {
132
+ type: "string";
133
+ description: string;
134
+ alias: string;
135
+ };
136
+ };
137
+ alias: string;
138
+ }>) => Promise<{
139
+ exitCode: number;
140
+ }>;
141
+ get: (argv: typings.CommandArgv<{
142
+ description: string;
143
+ schema: {
144
+ botRef: {
145
+ type: "string";
146
+ description: string;
147
+ demandOption: true;
148
+ positional: true;
149
+ idx: number;
150
+ };
151
+ apiUrl: {
152
+ type: "string";
153
+ description: string;
154
+ };
155
+ workspaceId: {
156
+ type: "string";
157
+ description: string;
158
+ };
159
+ token: {
160
+ type: "string";
161
+ description: string;
162
+ };
163
+ verbose: {
164
+ type: "boolean";
165
+ description: string;
166
+ alias: string;
167
+ default: boolean;
168
+ };
169
+ confirm: {
170
+ type: "boolean";
171
+ description: string;
172
+ alias: string;
173
+ default: boolean;
174
+ };
175
+ json: {
176
+ type: "boolean";
177
+ description: string;
178
+ default: boolean;
179
+ };
180
+ botpressHome: {
181
+ type: "string";
182
+ description: string;
183
+ default: string;
184
+ };
185
+ profile: {
186
+ type: "string";
187
+ description: string;
188
+ alias: string;
189
+ };
190
+ };
191
+ }>) => Promise<{
192
+ exitCode: number;
193
+ }>;
194
+ delete: (argv: typings.CommandArgv<{
195
+ description: string;
196
+ schema: {
197
+ botRef: {
198
+ type: "string";
199
+ description: string;
200
+ demandOption: true;
201
+ positional: true;
202
+ idx: number;
203
+ };
204
+ apiUrl: {
205
+ type: "string";
206
+ description: string;
207
+ };
208
+ workspaceId: {
209
+ type: "string";
210
+ description: string;
211
+ };
212
+ token: {
213
+ type: "string";
214
+ description: string;
215
+ };
216
+ verbose: {
217
+ type: "boolean";
218
+ description: string;
219
+ alias: string;
220
+ default: boolean;
221
+ };
222
+ confirm: {
223
+ type: "boolean";
224
+ description: string;
225
+ alias: string;
226
+ default: boolean;
227
+ };
228
+ json: {
229
+ type: "boolean";
230
+ description: string;
231
+ default: boolean;
232
+ };
233
+ botpressHome: {
234
+ type: "string";
235
+ description: string;
236
+ default: string;
237
+ };
238
+ profile: {
239
+ type: "string";
240
+ description: string;
241
+ alias: string;
242
+ };
243
+ };
244
+ alias: string;
245
+ }>) => Promise<{
246
+ exitCode: number;
247
+ }>;
248
+ list: (argv: typings.CommandArgv<{
249
+ description: string;
250
+ schema: {
251
+ dev: {
252
+ type: "boolean";
253
+ description: string;
254
+ default: boolean;
255
+ };
256
+ apiUrl: {
257
+ type: "string";
258
+ description: string;
259
+ };
260
+ workspaceId: {
261
+ type: "string";
262
+ description: string;
263
+ };
264
+ token: {
265
+ type: "string";
266
+ description: string;
267
+ };
268
+ verbose: {
269
+ type: "boolean";
270
+ description: string;
271
+ alias: string;
272
+ default: boolean;
273
+ };
274
+ confirm: {
275
+ type: "boolean";
276
+ description: string;
277
+ alias: string;
278
+ default: boolean;
279
+ };
280
+ json: {
281
+ type: "boolean";
282
+ description: string;
283
+ default: boolean;
284
+ };
285
+ botpressHome: {
286
+ type: "string";
287
+ description: string;
288
+ default: string;
289
+ };
290
+ profile: {
291
+ type: "string";
292
+ description: string;
293
+ alias: string;
294
+ };
295
+ };
296
+ alias: string;
297
+ }>) => Promise<{
298
+ exitCode: number;
299
+ }>;
300
+ };
301
+ integrations: {
302
+ get: (argv: typings.CommandArgv<{
303
+ description: string;
304
+ schema: {
305
+ integrationRef: {
306
+ demandOption: true;
307
+ description: string;
308
+ type: "string";
309
+ positional: true;
310
+ idx: number;
311
+ };
312
+ apiUrl: {
313
+ type: "string";
314
+ description: string;
315
+ };
316
+ workspaceId: {
317
+ type: "string";
318
+ description: string;
319
+ };
320
+ token: {
321
+ type: "string";
322
+ description: string;
323
+ };
324
+ verbose: {
325
+ type: "boolean";
326
+ description: string;
327
+ alias: string;
328
+ default: boolean;
329
+ };
330
+ confirm: {
331
+ type: "boolean";
332
+ description: string;
333
+ alias: string;
334
+ default: boolean;
335
+ };
336
+ json: {
337
+ type: "boolean";
338
+ description: string;
339
+ default: boolean;
340
+ };
341
+ botpressHome: {
342
+ type: "string";
343
+ description: string;
344
+ default: string;
345
+ };
346
+ profile: {
347
+ type: "string";
348
+ description: string;
349
+ alias: string;
350
+ };
351
+ };
352
+ }>) => Promise<{
353
+ exitCode: number;
354
+ }>;
355
+ list: (argv: typings.CommandArgv<{
356
+ description: string;
357
+ schema: {
358
+ name: {
359
+ type: "string";
360
+ description: string;
361
+ };
362
+ versionNumber: {
363
+ type: "string";
364
+ description: string;
365
+ };
366
+ dev: {
367
+ type: "boolean";
368
+ description: string;
369
+ default: boolean;
370
+ };
371
+ apiUrl: {
372
+ type: "string";
373
+ description: string;
374
+ };
375
+ workspaceId: {
376
+ type: "string";
377
+ description: string;
378
+ };
379
+ token: {
380
+ type: "string";
381
+ description: string;
382
+ };
383
+ verbose: {
384
+ type: "boolean";
385
+ description: string;
386
+ alias: string;
387
+ default: boolean;
388
+ };
389
+ confirm: {
390
+ type: "boolean";
391
+ description: string;
392
+ alias: string;
393
+ default: boolean;
394
+ };
395
+ json: {
396
+ type: "boolean";
397
+ description: string;
398
+ default: boolean;
399
+ };
400
+ botpressHome: {
401
+ type: "string";
402
+ description: string;
403
+ default: string;
404
+ };
405
+ profile: {
406
+ type: "string";
407
+ description: string;
408
+ alias: string;
409
+ };
410
+ };
411
+ alias: string;
412
+ }>) => Promise<{
413
+ exitCode: number;
414
+ }>;
415
+ delete: (argv: typings.CommandArgv<{
416
+ description: string;
417
+ schema: {
418
+ integrationRef: {
419
+ demandOption: true;
420
+ description: string;
421
+ type: "string";
422
+ positional: true;
423
+ idx: number;
424
+ };
425
+ apiUrl: {
426
+ type: "string";
427
+ description: string;
428
+ };
429
+ workspaceId: {
430
+ type: "string";
431
+ description: string;
432
+ };
433
+ token: {
434
+ type: "string";
435
+ description: string;
436
+ };
437
+ verbose: {
438
+ type: "boolean";
439
+ description: string;
440
+ alias: string;
441
+ default: boolean;
442
+ };
443
+ confirm: {
444
+ type: "boolean";
445
+ description: string;
446
+ alias: string;
447
+ default: boolean;
448
+ };
449
+ json: {
450
+ type: "boolean";
451
+ description: string;
452
+ default: boolean;
453
+ };
454
+ botpressHome: {
455
+ type: "string";
456
+ description: string;
457
+ default: string;
458
+ };
459
+ profile: {
460
+ type: "string";
461
+ description: string;
462
+ alias: string;
463
+ };
464
+ };
465
+ alias: string;
466
+ }>) => Promise<{
467
+ exitCode: number;
468
+ }>;
469
+ };
470
+ interfaces: {
471
+ get: (argv: typings.CommandArgv<{
472
+ description: string;
473
+ schema: {
474
+ interfaceRef: {
475
+ demandOption: true;
476
+ description: string;
477
+ type: "string";
478
+ positional: true;
479
+ idx: number;
480
+ };
481
+ apiUrl: {
482
+ type: "string";
483
+ description: string;
484
+ };
485
+ workspaceId: {
486
+ type: "string";
487
+ description: string;
488
+ };
489
+ token: {
490
+ type: "string";
491
+ description: string;
492
+ };
493
+ verbose: {
494
+ type: "boolean";
495
+ description: string;
496
+ alias: string;
497
+ default: boolean;
498
+ };
499
+ confirm: {
500
+ type: "boolean";
501
+ description: string;
502
+ alias: string;
503
+ default: boolean;
504
+ };
505
+ json: {
506
+ type: "boolean";
507
+ description: string;
508
+ default: boolean;
509
+ };
510
+ botpressHome: {
511
+ type: "string";
512
+ description: string;
513
+ default: string;
514
+ };
515
+ profile: {
516
+ type: "string";
517
+ description: string;
518
+ alias: string;
519
+ };
520
+ };
521
+ }>) => Promise<{
522
+ exitCode: number;
523
+ }>;
524
+ list: (argv: typings.CommandArgv<{
525
+ description: string;
526
+ schema: {
527
+ apiUrl: {
528
+ type: "string";
529
+ description: string;
530
+ };
531
+ workspaceId: {
532
+ type: "string";
533
+ description: string;
534
+ };
535
+ token: {
536
+ type: "string";
537
+ description: string;
538
+ };
539
+ verbose: {
540
+ type: "boolean";
541
+ description: string;
542
+ alias: string;
543
+ default: boolean;
544
+ };
545
+ confirm: {
546
+ type: "boolean";
547
+ description: string;
548
+ alias: string;
549
+ default: boolean;
550
+ };
551
+ json: {
552
+ type: "boolean";
553
+ description: string;
554
+ default: boolean;
555
+ };
556
+ botpressHome: {
557
+ type: "string";
558
+ description: string;
559
+ default: string;
560
+ };
561
+ profile: {
562
+ type: "string";
563
+ description: string;
564
+ alias: string;
565
+ };
566
+ };
567
+ alias: string;
568
+ }>) => Promise<{
569
+ exitCode: number;
570
+ }>;
571
+ delete: (argv: typings.CommandArgv<{
572
+ description: string;
573
+ schema: {
574
+ interfaceRef: {
575
+ demandOption: true;
576
+ description: string;
577
+ type: "string";
578
+ positional: true;
579
+ idx: number;
580
+ };
581
+ apiUrl: {
582
+ type: "string";
583
+ description: string;
584
+ };
585
+ workspaceId: {
586
+ type: "string";
587
+ description: string;
588
+ };
589
+ token: {
590
+ type: "string";
591
+ description: string;
592
+ };
593
+ verbose: {
594
+ type: "boolean";
595
+ description: string;
596
+ alias: string;
597
+ default: boolean;
598
+ };
599
+ confirm: {
600
+ type: "boolean";
601
+ description: string;
602
+ alias: string;
603
+ default: boolean;
604
+ };
605
+ json: {
606
+ type: "boolean";
607
+ description: string;
608
+ default: boolean;
609
+ };
610
+ botpressHome: {
611
+ type: "string";
612
+ description: string;
613
+ default: string;
614
+ };
615
+ profile: {
616
+ type: "string";
617
+ description: string;
618
+ alias: string;
619
+ };
620
+ };
621
+ alias: string;
622
+ }>) => Promise<{
623
+ exitCode: number;
624
+ }>;
625
+ };
626
+ plugins: {
627
+ get: (argv: typings.CommandArgv<{
628
+ description: string;
629
+ schema: {
630
+ pluginRef: {
631
+ demandOption: true;
632
+ description: string;
633
+ type: "string";
634
+ positional: true;
635
+ idx: number;
636
+ };
637
+ apiUrl: {
638
+ type: "string";
639
+ description: string;
640
+ };
641
+ workspaceId: {
642
+ type: "string";
643
+ description: string;
644
+ };
645
+ token: {
646
+ type: "string";
647
+ description: string;
648
+ };
649
+ verbose: {
650
+ type: "boolean";
651
+ description: string;
652
+ alias: string;
653
+ default: boolean;
654
+ };
655
+ confirm: {
656
+ type: "boolean";
657
+ description: string;
658
+ alias: string;
659
+ default: boolean;
660
+ };
661
+ json: {
662
+ type: "boolean";
663
+ description: string;
664
+ default: boolean;
665
+ };
666
+ botpressHome: {
667
+ type: "string";
668
+ description: string;
669
+ default: string;
670
+ };
671
+ profile: {
672
+ type: "string";
673
+ description: string;
674
+ alias: string;
675
+ };
676
+ };
677
+ }>) => Promise<{
678
+ exitCode: number;
679
+ }>;
680
+ list: (argv: typings.CommandArgv<{
681
+ description: string;
682
+ schema: {
683
+ name: {
684
+ type: "string";
685
+ description: string;
686
+ };
687
+ versionNumber: {
688
+ type: "string";
689
+ description: string;
690
+ };
691
+ apiUrl: {
692
+ type: "string";
693
+ description: string;
694
+ };
695
+ workspaceId: {
696
+ type: "string";
697
+ description: string;
698
+ };
699
+ token: {
700
+ type: "string";
701
+ description: string;
702
+ };
703
+ verbose: {
704
+ type: "boolean";
705
+ description: string;
706
+ alias: string;
707
+ default: boolean;
708
+ };
709
+ confirm: {
710
+ type: "boolean";
711
+ description: string;
712
+ alias: string;
713
+ default: boolean;
714
+ };
715
+ json: {
716
+ type: "boolean";
717
+ description: string;
718
+ default: boolean;
719
+ };
720
+ botpressHome: {
721
+ type: "string";
722
+ description: string;
723
+ default: string;
724
+ };
725
+ profile: {
726
+ type: "string";
727
+ description: string;
728
+ alias: string;
729
+ };
730
+ };
731
+ alias: string;
732
+ }>) => Promise<{
733
+ exitCode: number;
734
+ }>;
735
+ delete: (argv: typings.CommandArgv<{
736
+ description: string;
737
+ schema: {
738
+ pluginRef: {
739
+ demandOption: true;
740
+ description: string;
741
+ type: "string";
742
+ positional: true;
743
+ idx: number;
744
+ };
745
+ apiUrl: {
746
+ type: "string";
747
+ description: string;
748
+ };
749
+ workspaceId: {
750
+ type: "string";
751
+ description: string;
752
+ };
753
+ token: {
754
+ type: "string";
755
+ description: string;
756
+ };
757
+ verbose: {
758
+ type: "boolean";
759
+ description: string;
760
+ alias: string;
761
+ default: boolean;
762
+ };
763
+ confirm: {
764
+ type: "boolean";
765
+ description: string;
766
+ alias: string;
767
+ default: boolean;
768
+ };
769
+ json: {
770
+ type: "boolean";
771
+ description: string;
772
+ default: boolean;
773
+ };
774
+ botpressHome: {
775
+ type: "string";
776
+ description: string;
777
+ default: string;
778
+ };
779
+ profile: {
780
+ type: "string";
781
+ description: string;
782
+ alias: string;
783
+ };
784
+ };
785
+ alias: string;
786
+ }>) => Promise<{
787
+ exitCode: number;
788
+ }>;
789
+ };
790
+ init: (argv: typings.CommandArgv<{
791
+ description: string;
792
+ schema: {
793
+ workDir: {
794
+ type: "string";
795
+ description: string;
796
+ default: string;
797
+ };
798
+ type: {
799
+ type: "string";
800
+ choices: readonly ["bot", "integration", "plugin"];
801
+ };
802
+ template: {
803
+ type: "string";
804
+ choices: ("empty" | "hello-world" | "webhook-message")[];
805
+ description: string;
806
+ };
807
+ name: {
808
+ type: "string";
809
+ description: string;
810
+ };
811
+ verbose: {
812
+ type: "boolean";
813
+ description: string;
814
+ alias: string;
815
+ default: boolean;
816
+ };
817
+ confirm: {
818
+ type: "boolean";
819
+ description: string;
820
+ alias: string;
821
+ default: boolean;
822
+ };
823
+ json: {
824
+ type: "boolean";
825
+ description: string;
826
+ default: boolean;
827
+ };
828
+ botpressHome: {
829
+ type: "string";
830
+ description: string;
831
+ default: string;
832
+ };
833
+ profile: {
834
+ type: "string";
835
+ description: string;
836
+ alias: string;
837
+ };
838
+ };
839
+ }>) => Promise<{
840
+ exitCode: number;
841
+ }>;
842
+ generate: (argv: typings.CommandArgv<{
843
+ description: string;
844
+ schema: {
845
+ workDir: {
846
+ type: "string";
847
+ description: string;
848
+ default: string;
849
+ };
850
+ verbose: {
851
+ type: "boolean";
852
+ description: string;
853
+ alias: string;
854
+ default: boolean;
855
+ };
856
+ confirm: {
857
+ type: "boolean";
858
+ description: string;
859
+ alias: string;
860
+ default: boolean;
861
+ };
862
+ json: {
863
+ type: "boolean";
864
+ description: string;
865
+ default: boolean;
866
+ };
867
+ botpressHome: {
868
+ type: "string";
869
+ description: string;
870
+ default: string;
871
+ };
872
+ profile: {
873
+ type: "string";
874
+ description: string;
875
+ alias: string;
876
+ };
877
+ };
878
+ alias: string;
879
+ }>) => Promise<{
880
+ exitCode: number;
881
+ }>;
882
+ bundle: (argv: typings.CommandArgv<{
883
+ description: string;
884
+ schema: {
885
+ sourceMap: {
886
+ type: "boolean";
887
+ description: string;
888
+ default: boolean;
889
+ };
890
+ minify: {
891
+ type: "boolean";
892
+ description: string;
893
+ default: boolean;
894
+ };
895
+ workDir: {
896
+ type: "string";
897
+ description: string;
898
+ default: string;
899
+ };
900
+ verbose: {
901
+ type: "boolean";
902
+ description: string;
903
+ alias: string;
904
+ default: boolean;
905
+ };
906
+ confirm: {
907
+ type: "boolean";
908
+ description: string;
909
+ alias: string;
910
+ default: boolean;
911
+ };
912
+ json: {
913
+ type: "boolean";
914
+ description: string;
915
+ default: boolean;
916
+ };
917
+ botpressHome: {
918
+ type: "string";
919
+ description: string;
920
+ default: string;
921
+ };
922
+ profile: {
923
+ type: "string";
924
+ description: string;
925
+ alias: string;
926
+ };
927
+ };
928
+ }>) => Promise<{
929
+ exitCode: number;
930
+ }>;
931
+ build: (argv: typings.CommandArgv<{
932
+ description: string;
933
+ schema: {
934
+ sourceMap: {
935
+ type: "boolean";
936
+ description: string;
937
+ default: boolean;
938
+ };
939
+ minify: {
940
+ type: "boolean";
941
+ description: string;
942
+ default: boolean;
943
+ };
944
+ workDir: {
945
+ type: "string";
946
+ description: string;
947
+ default: string;
948
+ };
949
+ verbose: {
950
+ type: "boolean";
951
+ description: string;
952
+ alias: string;
953
+ default: boolean;
954
+ };
955
+ confirm: {
956
+ type: "boolean";
957
+ description: string;
958
+ alias: string;
959
+ default: boolean;
960
+ };
961
+ json: {
962
+ type: "boolean";
963
+ description: string;
964
+ default: boolean;
965
+ };
966
+ botpressHome: {
967
+ type: "string";
968
+ description: string;
969
+ default: string;
970
+ };
971
+ profile: {
972
+ type: "string";
973
+ description: string;
974
+ alias: string;
975
+ };
976
+ };
977
+ }>) => Promise<{
978
+ exitCode: number;
979
+ }>;
980
+ read: (argv: typings.CommandArgv<{
981
+ description: string;
982
+ schema: {
983
+ workDir: {
984
+ type: "string";
985
+ description: string;
986
+ default: string;
987
+ };
988
+ verbose: {
989
+ type: "boolean";
990
+ description: string;
991
+ alias: string;
992
+ default: boolean;
993
+ };
994
+ confirm: {
995
+ type: "boolean";
996
+ description: string;
997
+ alias: string;
998
+ default: boolean;
999
+ };
1000
+ json: {
1001
+ type: "boolean";
1002
+ description: string;
1003
+ default: boolean;
1004
+ };
1005
+ botpressHome: {
1006
+ type: "string";
1007
+ description: string;
1008
+ default: string;
1009
+ };
1010
+ profile: {
1011
+ type: "string";
1012
+ description: string;
1013
+ alias: string;
1014
+ };
1015
+ };
1016
+ }>) => Promise<{
1017
+ exitCode: number;
1018
+ }>;
1019
+ serve: (argv: typings.CommandArgv<{
1020
+ description: string;
1021
+ schema: {
1022
+ port: {
1023
+ type: "number";
1024
+ description: string;
1025
+ };
1026
+ secrets: {
1027
+ type: "string";
1028
+ description: string;
1029
+ array: true;
1030
+ default: never[];
1031
+ };
1032
+ workDir: {
1033
+ type: "string";
1034
+ description: string;
1035
+ default: string;
1036
+ };
1037
+ verbose: {
1038
+ type: "boolean";
1039
+ description: string;
1040
+ alias: string;
1041
+ default: boolean;
1042
+ };
1043
+ confirm: {
1044
+ type: "boolean";
1045
+ description: string;
1046
+ alias: string;
1047
+ default: boolean;
1048
+ };
1049
+ json: {
1050
+ type: "boolean";
1051
+ description: string;
1052
+ default: boolean;
1053
+ };
1054
+ botpressHome: {
1055
+ type: "string";
1056
+ description: string;
1057
+ default: string;
1058
+ };
1059
+ profile: {
1060
+ type: "string";
1061
+ description: string;
1062
+ alias: string;
1063
+ };
1064
+ };
1065
+ }>) => Promise<{
1066
+ exitCode: number;
1067
+ }>;
1068
+ deploy: (argv: typings.CommandArgv<{
1069
+ description: string;
1070
+ schema: {
1071
+ readonly botId: {
1072
+ readonly type: "string";
1073
+ readonly description: "The bot ID to deploy. Only used when deploying a bot";
1074
+ };
1075
+ readonly noBuild: {
1076
+ type: "boolean";
1077
+ description: string;
1078
+ default: boolean;
1079
+ };
1080
+ readonly dryRun: {
1081
+ readonly type: "boolean";
1082
+ readonly description: "Ask the API not to perform the actual operation";
1083
+ readonly default: false;
1084
+ };
1085
+ readonly createNewBot: {
1086
+ readonly type: "boolean";
1087
+ readonly description: "Create a new bot when deploying. Only used when deploying a bot";
1088
+ };
1089
+ readonly sourceMap: {
1090
+ type: "boolean";
1091
+ description: string;
1092
+ default: boolean;
1093
+ };
1094
+ readonly minify: {
1095
+ type: "boolean";
1096
+ description: string;
1097
+ default: boolean;
1098
+ };
1099
+ readonly visibility: {
1100
+ readonly type: "string";
1101
+ readonly choices: readonly ["public", "private", "unlisted"];
1102
+ readonly description: "The visibility of the project. By default, projects are always private. Unlisted visibility is only supported for integrations.";
1103
+ readonly default: "private";
1104
+ };
1105
+ readonly public: {
1106
+ type: "boolean";
1107
+ description: string;
1108
+ default: boolean;
1109
+ deprecated: true;
1110
+ };
1111
+ readonly allowDeprecated: {
1112
+ readonly type: "boolean";
1113
+ readonly description: "Allow deprecated features in the project";
1114
+ readonly default: false;
1115
+ };
1116
+ readonly secrets: {
1117
+ type: "string";
1118
+ description: string;
1119
+ array: true;
1120
+ default: never[];
1121
+ };
1122
+ readonly apiUrl: {
1123
+ type: "string";
1124
+ description: string;
1125
+ };
1126
+ readonly workspaceId: {
1127
+ type: "string";
1128
+ description: string;
1129
+ };
1130
+ readonly token: {
1131
+ type: "string";
1132
+ description: string;
1133
+ };
1134
+ readonly workDir: {
1135
+ type: "string";
1136
+ description: string;
1137
+ default: string;
1138
+ };
1139
+ readonly verbose: {
1140
+ type: "boolean";
1141
+ description: string;
1142
+ alias: string;
1143
+ default: boolean;
1144
+ };
1145
+ readonly confirm: {
1146
+ type: "boolean";
1147
+ description: string;
1148
+ alias: string;
1149
+ default: boolean;
1150
+ };
1151
+ readonly json: {
1152
+ type: "boolean";
1153
+ description: string;
1154
+ default: boolean;
1155
+ };
1156
+ readonly botpressHome: {
1157
+ type: "string";
1158
+ description: string;
1159
+ default: string;
1160
+ };
1161
+ readonly profile: {
1162
+ type: "string";
1163
+ description: string;
1164
+ alias: string;
1165
+ };
1166
+ };
1167
+ }>) => Promise<{
1168
+ exitCode: number;
1169
+ }>;
1170
+ add: (argv: typings.CommandArgv<{
1171
+ description: string;
1172
+ schema: {
1173
+ packageRef: {
1174
+ type: "string";
1175
+ description: string;
1176
+ positional: true;
1177
+ idx: number;
1178
+ };
1179
+ packageType: {
1180
+ type: "string";
1181
+ description: string;
1182
+ choices: readonly ["integration", "interface", "plugin"];
1183
+ };
1184
+ installPath: {
1185
+ type: "string";
1186
+ description: string;
1187
+ default: string;
1188
+ };
1189
+ useDev: {
1190
+ type: "boolean";
1191
+ description: string;
1192
+ default: boolean;
1193
+ };
1194
+ apiUrl: {
1195
+ type: "string";
1196
+ description: string;
1197
+ };
1198
+ workspaceId: {
1199
+ type: "string";
1200
+ description: string;
1201
+ };
1202
+ token: {
1203
+ type: "string";
1204
+ description: string;
1205
+ };
1206
+ verbose: {
1207
+ type: "boolean";
1208
+ description: string;
1209
+ alias: string;
1210
+ default: boolean;
1211
+ };
1212
+ confirm: {
1213
+ type: "boolean";
1214
+ description: string;
1215
+ alias: string;
1216
+ default: boolean;
1217
+ };
1218
+ json: {
1219
+ type: "boolean";
1220
+ description: string;
1221
+ default: boolean;
1222
+ };
1223
+ botpressHome: {
1224
+ type: "string";
1225
+ description: string;
1226
+ default: string;
1227
+ };
1228
+ profile: {
1229
+ type: "string";
1230
+ description: string;
1231
+ alias: string;
1232
+ };
1233
+ };
1234
+ }>) => Promise<{
1235
+ exitCode: number;
1236
+ }>;
1237
+ dev: (argv: typings.CommandArgv<{
1238
+ description: string;
1239
+ schema: {
1240
+ sourceMap: {
1241
+ type: "boolean";
1242
+ description: string;
1243
+ default: boolean;
1244
+ };
1245
+ minify: {
1246
+ type: "boolean";
1247
+ description: string;
1248
+ default: boolean;
1249
+ };
1250
+ port: {
1251
+ type: "number";
1252
+ description: string;
1253
+ };
1254
+ tunnelUrl: {
1255
+ type: "string";
1256
+ description: string;
1257
+ default: string;
1258
+ };
1259
+ tunnelId: {
1260
+ type: "string";
1261
+ description: string;
1262
+ };
1263
+ secrets: {
1264
+ type: "string";
1265
+ description: string;
1266
+ array: true;
1267
+ default: never[];
1268
+ };
1269
+ apiUrl: {
1270
+ type: "string";
1271
+ description: string;
1272
+ };
1273
+ workspaceId: {
1274
+ type: "string";
1275
+ description: string;
1276
+ };
1277
+ token: {
1278
+ type: "string";
1279
+ description: string;
1280
+ };
1281
+ workDir: {
1282
+ type: "string";
1283
+ description: string;
1284
+ default: string;
1285
+ };
1286
+ verbose: {
1287
+ type: "boolean";
1288
+ description: string;
1289
+ alias: string;
1290
+ default: boolean;
1291
+ };
1292
+ confirm: {
1293
+ type: "boolean";
1294
+ description: string;
1295
+ alias: string;
1296
+ default: boolean;
1297
+ };
1298
+ json: {
1299
+ type: "boolean";
1300
+ description: string;
1301
+ default: boolean;
1302
+ };
1303
+ botpressHome: {
1304
+ type: "string";
1305
+ description: string;
1306
+ default: string;
1307
+ };
1308
+ profile: {
1309
+ type: "string";
1310
+ description: string;
1311
+ alias: string;
1312
+ };
1313
+ };
1314
+ }>) => Promise<{
1315
+ exitCode: number;
1316
+ }>;
1317
+ lint: (argv: typings.CommandArgv<{
1318
+ description: string;
1319
+ schema: {
1320
+ workDir: {
1321
+ type: "string";
1322
+ description: string;
1323
+ default: string;
1324
+ };
1325
+ verbose: {
1326
+ type: "boolean";
1327
+ description: string;
1328
+ alias: string;
1329
+ default: boolean;
1330
+ };
1331
+ confirm: {
1332
+ type: "boolean";
1333
+ description: string;
1334
+ alias: string;
1335
+ default: boolean;
1336
+ };
1337
+ json: {
1338
+ type: "boolean";
1339
+ description: string;
1340
+ default: boolean;
1341
+ };
1342
+ botpressHome: {
1343
+ type: "string";
1344
+ description: string;
1345
+ default: string;
1346
+ };
1347
+ profile: {
1348
+ type: "string";
1349
+ description: string;
1350
+ alias: string;
1351
+ };
1352
+ };
1353
+ }>) => Promise<{
1354
+ exitCode: number;
1355
+ }>;
1356
+ chat: (argv: typings.CommandArgv<{
1357
+ description: string;
1358
+ schema: {
1359
+ chatApiUrl: {
1360
+ type: "string";
1361
+ description: string;
1362
+ };
1363
+ botId: {
1364
+ type: "string";
1365
+ positional: true;
1366
+ idx: number;
1367
+ description: string;
1368
+ };
1369
+ apiUrl: {
1370
+ type: "string";
1371
+ description: string;
1372
+ };
1373
+ workspaceId: {
1374
+ type: "string";
1375
+ description: string;
1376
+ };
1377
+ token: {
1378
+ type: "string";
1379
+ description: string;
1380
+ };
1381
+ verbose: {
1382
+ type: "boolean";
1383
+ description: string;
1384
+ alias: string;
1385
+ default: boolean;
1386
+ };
1387
+ confirm: {
1388
+ type: "boolean";
1389
+ description: string;
1390
+ alias: string;
1391
+ default: boolean;
1392
+ };
1393
+ json: {
1394
+ type: "boolean";
1395
+ description: string;
1396
+ default: boolean;
1397
+ };
1398
+ botpressHome: {
1399
+ type: "string";
1400
+ description: string;
1401
+ default: string;
1402
+ };
1403
+ profile: {
1404
+ type: "string";
1405
+ description: string;
1406
+ alias: string;
1407
+ };
1408
+ };
1409
+ }>) => Promise<{
1410
+ exitCode: number;
1411
+ }>;
1412
+ profiles: {
1413
+ list: (argv: typings.CommandArgv<{
1414
+ description: string;
1415
+ schema: {
1416
+ verbose: {
1417
+ type: "boolean";
1418
+ description: string;
1419
+ alias: string;
1420
+ default: boolean;
1421
+ };
1422
+ confirm: {
1423
+ type: "boolean";
1424
+ description: string;
1425
+ alias: string;
1426
+ default: boolean;
1427
+ };
1428
+ json: {
1429
+ type: "boolean";
1430
+ description: string;
1431
+ default: boolean;
1432
+ };
1433
+ botpressHome: {
1434
+ type: "string";
1435
+ description: string;
1436
+ default: string;
1437
+ };
1438
+ profile: {
1439
+ type: "string";
1440
+ description: string;
1441
+ alias: string;
1442
+ };
1443
+ };
1444
+ alias: string;
1445
+ }>) => Promise<{
1446
+ exitCode: number;
1447
+ }>;
1448
+ active: (argv: typings.CommandArgv<{
1449
+ description: string;
1450
+ schema: {
1451
+ verbose: {
1452
+ type: "boolean";
1453
+ description: string;
1454
+ alias: string;
1455
+ default: boolean;
1456
+ };
1457
+ confirm: {
1458
+ type: "boolean";
1459
+ description: string;
1460
+ alias: string;
1461
+ default: boolean;
1462
+ };
1463
+ json: {
1464
+ type: "boolean";
1465
+ description: string;
1466
+ default: boolean;
1467
+ };
1468
+ botpressHome: {
1469
+ type: "string";
1470
+ description: string;
1471
+ default: string;
1472
+ };
1473
+ profile: {
1474
+ type: "string";
1475
+ description: string;
1476
+ alias: string;
1477
+ };
1478
+ };
1479
+ }>) => Promise<{
1480
+ exitCode: number;
1481
+ }>;
1482
+ use: (argv: typings.CommandArgv<{
1483
+ description: string;
1484
+ schema: {
1485
+ profileToUse: {
1486
+ type: "string";
1487
+ description: string;
1488
+ positional: true;
1489
+ idx: number;
1490
+ };
1491
+ verbose: {
1492
+ type: "boolean";
1493
+ description: string;
1494
+ alias: string;
1495
+ default: boolean;
1496
+ };
1497
+ confirm: {
1498
+ type: "boolean";
1499
+ description: string;
1500
+ alias: string;
1501
+ default: boolean;
1502
+ };
1503
+ json: {
1504
+ type: "boolean";
1505
+ description: string;
1506
+ default: boolean;
1507
+ };
1508
+ botpressHome: {
1509
+ type: "string";
1510
+ description: string;
1511
+ default: string;
1512
+ };
1513
+ profile: {
1514
+ type: "string";
1515
+ description: string;
1516
+ alias: string;
1517
+ };
1518
+ };
1519
+ }>) => Promise<{
1520
+ exitCode: number;
1521
+ }>;
1522
+ };
1523
+ };
1524
+ export default _default;