@botpress/cli 4.17.14 → 4.17.15

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