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