@botpress/cli 7.0.0 → 7.0.2

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.
@@ -3,19 +3,6 @@ declare const _default: {
3
3
  login: (argv: CommandArgv<{
4
4
  description: string;
5
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
6
  verbose: {
20
7
  type: "boolean";
21
8
  description: string;
@@ -43,6 +30,19 @@ declare const _default: {
43
30
  description: string;
44
31
  alias: string;
45
32
  };
33
+ token: {
34
+ type: "string";
35
+ description: string;
36
+ };
37
+ workspaceId: {
38
+ type: "string";
39
+ description: string;
40
+ };
41
+ apiUrl: {
42
+ type: "string";
43
+ description: string;
44
+ default: string;
45
+ };
46
46
  };
47
47
  }>) => Promise<{
48
48
  exitCode: number;
@@ -86,15 +86,33 @@ declare const _default: {
86
86
  create: (argv: CommandArgv<{
87
87
  description: string;
88
88
  schema: {
89
- name: {
90
- type: "string";
89
+ verbose: {
90
+ type: "boolean";
91
+ description: string;
92
+ alias: string;
93
+ default: boolean;
94
+ };
95
+ confirm: {
96
+ type: "boolean";
91
97
  description: string;
98
+ alias: string;
99
+ default: boolean;
92
100
  };
93
- ifNotExists: {
101
+ json: {
94
102
  type: "boolean";
95
103
  description: string;
96
104
  default: boolean;
97
105
  };
106
+ botpressHome: {
107
+ type: "string";
108
+ description: string;
109
+ default: string;
110
+ };
111
+ profile: {
112
+ type: "string";
113
+ description: string;
114
+ alias: string;
115
+ };
98
116
  apiUrl: {
99
117
  type: "string";
100
118
  description: string;
@@ -107,6 +125,23 @@ declare const _default: {
107
125
  type: "string";
108
126
  description: string;
109
127
  };
128
+ name: {
129
+ type: "string";
130
+ description: string;
131
+ };
132
+ ifNotExists: {
133
+ type: "boolean";
134
+ description: string;
135
+ default: boolean;
136
+ };
137
+ };
138
+ alias: string;
139
+ }>) => Promise<{
140
+ exitCode: number;
141
+ }>;
142
+ get: (argv: CommandArgv<{
143
+ description: string;
144
+ schema: {
110
145
  verbose: {
111
146
  type: "boolean";
112
147
  description: string;
@@ -134,21 +169,6 @@ declare const _default: {
134
169
  description: string;
135
170
  alias: string;
136
171
  };
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
172
  apiUrl: {
153
173
  type: "string";
154
174
  description: string;
@@ -161,6 +181,20 @@ declare const _default: {
161
181
  type: "string";
162
182
  description: string;
163
183
  };
184
+ botRef: {
185
+ type: "string";
186
+ description: string;
187
+ demandOption: true;
188
+ positional: true;
189
+ idx: number;
190
+ };
191
+ };
192
+ }>) => Promise<{
193
+ exitCode: number;
194
+ }>;
195
+ delete: (argv: CommandArgv<{
196
+ description: string;
197
+ schema: {
164
198
  verbose: {
165
199
  type: "boolean";
166
200
  description: string;
@@ -188,20 +222,6 @@ declare const _default: {
188
222
  description: string;
189
223
  alias: string;
190
224
  };
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
225
  apiUrl: {
206
226
  type: "string";
207
227
  description: string;
@@ -214,6 +234,21 @@ declare const _default: {
214
234
  type: "string";
215
235
  description: string;
216
236
  };
237
+ botRef: {
238
+ type: "string";
239
+ description: string;
240
+ demandOption: true;
241
+ positional: true;
242
+ idx: number;
243
+ };
244
+ };
245
+ alias: string;
246
+ }>) => Promise<{
247
+ exitCode: number;
248
+ }>;
249
+ list: (argv: CommandArgv<{
250
+ description: string;
251
+ schema: {
217
252
  verbose: {
218
253
  type: "boolean";
219
254
  description: string;
@@ -241,19 +276,6 @@ declare const _default: {
241
276
  description: string;
242
277
  alias: string;
243
278
  };
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
279
  apiUrl: {
258
280
  type: "string";
259
281
  description: string;
@@ -266,6 +288,23 @@ declare const _default: {
266
288
  type: "string";
267
289
  description: string;
268
290
  };
291
+ dev: {
292
+ type: "boolean";
293
+ description: string;
294
+ default: boolean;
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: {
269
308
  verbose: {
270
309
  type: "boolean";
271
310
  description: string;
@@ -293,25 +332,6 @@ declare const _default: {
293
332
  description: string;
294
333
  alias: string;
295
334
  };
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
335
  apiUrl: {
316
336
  type: "string";
317
337
  description: string;
@@ -324,6 +344,20 @@ declare const _default: {
324
344
  type: "string";
325
345
  description: string;
326
346
  };
347
+ integrationRef: {
348
+ type: "string";
349
+ positional: true;
350
+ idx: number;
351
+ demandOption: true;
352
+ description: string;
353
+ };
354
+ };
355
+ }>) => Promise<{
356
+ exitCode: number;
357
+ }>;
358
+ list: (argv: CommandArgv<{
359
+ description: string;
360
+ schema: {
327
361
  verbose: {
328
362
  type: "boolean";
329
363
  description: string;
@@ -351,13 +385,18 @@ declare const _default: {
351
385
  description: string;
352
386
  alias: string;
353
387
  };
354
- };
355
- }>) => Promise<{
356
- exitCode: number;
357
- }>;
358
- list: (argv: CommandArgv<{
359
- description: string;
360
- schema: {
388
+ apiUrl: {
389
+ type: "string";
390
+ description: string;
391
+ };
392
+ workspaceId: {
393
+ type: "string";
394
+ description: string;
395
+ };
396
+ token: {
397
+ type: "string";
398
+ description: string;
399
+ };
361
400
  name: {
362
401
  type: "string";
363
402
  description: string;
@@ -383,18 +422,14 @@ declare const _default: {
383
422
  description: string;
384
423
  default: boolean;
385
424
  };
386
- apiUrl: {
387
- type: "string";
388
- description: string;
389
- };
390
- workspaceId: {
391
- type: "string";
392
- description: string;
393
- };
394
- token: {
395
- type: "string";
396
- description: string;
397
- };
425
+ };
426
+ alias: string;
427
+ }>) => Promise<{
428
+ exitCode: number;
429
+ }>;
430
+ delete: (argv: CommandArgv<{
431
+ description: string;
432
+ schema: {
398
433
  verbose: {
399
434
  type: "boolean";
400
435
  description: string;
@@ -422,21 +457,6 @@ declare const _default: {
422
457
  description: string;
423
458
  alias: string;
424
459
  };
425
- };
426
- alias: string;
427
- }>) => Promise<{
428
- exitCode: number;
429
- }>;
430
- delete: (argv: CommandArgv<{
431
- description: string;
432
- schema: {
433
- integrationRef: {
434
- demandOption: true;
435
- description: string;
436
- type: "string";
437
- positional: true;
438
- idx: number;
439
- };
440
460
  apiUrl: {
441
461
  type: "string";
442
462
  description: string;
@@ -449,32 +469,12 @@ declare const _default: {
449
469
  type: "string";
450
470
  description: string;
451
471
  };
452
- verbose: {
453
- type: "boolean";
472
+ integrationRef: {
473
+ type: "string";
474
+ positional: true;
475
+ idx: number;
476
+ demandOption: true;
454
477
  description: string;
455
- alias: string;
456
- default: boolean;
457
- };
458
- confirm: {
459
- type: "boolean";
460
- description: string;
461
- alias: string;
462
- default: boolean;
463
- };
464
- json: {
465
- type: "boolean";
466
- description: string;
467
- default: boolean;
468
- };
469
- botpressHome: {
470
- type: "string";
471
- description: string;
472
- default: string;
473
- };
474
- profile: {
475
- type: "string";
476
- description: string;
477
- alias: string;
478
478
  };
479
479
  };
480
480
  alias: string;
@@ -488,25 +488,6 @@ declare const _default: {
488
488
  get: (argv: CommandArgv<{
489
489
  description: string;
490
490
  schema: {
491
- interfaceRef: {
492
- demandOption: true;
493
- description: string;
494
- type: "string";
495
- positional: true;
496
- idx: number;
497
- };
498
- apiUrl: {
499
- type: "string";
500
- description: string;
501
- };
502
- workspaceId: {
503
- type: "string";
504
- description: string;
505
- };
506
- token: {
507
- type: "string";
508
- description: string;
509
- };
510
491
  verbose: {
511
492
  type: "boolean";
512
493
  description: string;
@@ -534,13 +515,6 @@ declare const _default: {
534
515
  description: string;
535
516
  alias: string;
536
517
  };
537
- };
538
- }>) => Promise<{
539
- exitCode: number;
540
- }>;
541
- list: (argv: CommandArgv<{
542
- description: string;
543
- schema: {
544
518
  apiUrl: {
545
519
  type: "string";
546
520
  description: string;
@@ -553,6 +527,20 @@ declare const _default: {
553
527
  type: "string";
554
528
  description: string;
555
529
  };
530
+ interfaceRef: {
531
+ type: "string";
532
+ positional: true;
533
+ idx: number;
534
+ demandOption: true;
535
+ description: string;
536
+ };
537
+ };
538
+ }>) => Promise<{
539
+ exitCode: number;
540
+ }>;
541
+ list: (argv: CommandArgv<{
542
+ description: string;
543
+ schema: {
556
544
  verbose: {
557
545
  type: "boolean";
558
546
  description: string;
@@ -580,21 +568,6 @@ declare const _default: {
580
568
  description: string;
581
569
  alias: string;
582
570
  };
583
- };
584
- alias: string;
585
- }>) => Promise<{
586
- exitCode: number;
587
- }>;
588
- delete: (argv: CommandArgv<{
589
- description: string;
590
- schema: {
591
- interfaceRef: {
592
- demandOption: true;
593
- description: string;
594
- type: "string";
595
- positional: true;
596
- idx: number;
597
- };
598
571
  apiUrl: {
599
572
  type: "string";
600
573
  description: string;
@@ -607,6 +580,14 @@ declare const _default: {
607
580
  type: "string";
608
581
  description: string;
609
582
  };
583
+ };
584
+ alias: string;
585
+ }>) => Promise<{
586
+ exitCode: number;
587
+ }>;
588
+ delete: (argv: CommandArgv<{
589
+ description: string;
590
+ schema: {
610
591
  verbose: {
611
592
  type: "boolean";
612
593
  description: string;
@@ -634,25 +615,6 @@ declare const _default: {
634
615
  description: string;
635
616
  alias: string;
636
617
  };
637
- };
638
- alias: string;
639
- }>) => Promise<{
640
- exitCode: number;
641
- }>;
642
- };
643
- };
644
- plugins: {
645
- subcommands: {
646
- get: (argv: CommandArgv<{
647
- description: string;
648
- schema: {
649
- pluginRef: {
650
- demandOption: true;
651
- description: string;
652
- type: "string";
653
- positional: true;
654
- idx: number;
655
- };
656
618
  apiUrl: {
657
619
  type: "string";
658
620
  description: string;
@@ -665,6 +627,25 @@ declare const _default: {
665
627
  type: "string";
666
628
  description: string;
667
629
  };
630
+ interfaceRef: {
631
+ type: "string";
632
+ positional: true;
633
+ idx: number;
634
+ demandOption: true;
635
+ description: string;
636
+ };
637
+ };
638
+ alias: string;
639
+ }>) => Promise<{
640
+ exitCode: number;
641
+ }>;
642
+ };
643
+ };
644
+ plugins: {
645
+ subcommands: {
646
+ get: (argv: CommandArgv<{
647
+ description: string;
648
+ schema: {
668
649
  verbose: {
669
650
  type: "boolean";
670
651
  description: string;
@@ -692,21 +673,6 @@ declare const _default: {
692
673
  description: string;
693
674
  alias: string;
694
675
  };
695
- };
696
- }>) => Promise<{
697
- exitCode: number;
698
- }>;
699
- list: (argv: CommandArgv<{
700
- description: string;
701
- schema: {
702
- name: {
703
- type: "string";
704
- description: string;
705
- };
706
- versionNumber: {
707
- type: "string";
708
- description: string;
709
- };
710
676
  apiUrl: {
711
677
  type: "string";
712
678
  description: string;
@@ -719,6 +685,20 @@ declare const _default: {
719
685
  type: "string";
720
686
  description: string;
721
687
  };
688
+ pluginRef: {
689
+ type: "string";
690
+ positional: true;
691
+ idx: number;
692
+ demandOption: true;
693
+ description: string;
694
+ };
695
+ };
696
+ }>) => Promise<{
697
+ exitCode: number;
698
+ }>;
699
+ list: (argv: CommandArgv<{
700
+ description: string;
701
+ schema: {
722
702
  verbose: {
723
703
  type: "boolean";
724
704
  description: string;
@@ -746,21 +726,6 @@ declare const _default: {
746
726
  description: string;
747
727
  alias: string;
748
728
  };
749
- };
750
- alias: string;
751
- }>) => Promise<{
752
- exitCode: number;
753
- }>;
754
- delete: (argv: CommandArgv<{
755
- description: string;
756
- schema: {
757
- pluginRef: {
758
- demandOption: true;
759
- description: string;
760
- type: "string";
761
- positional: true;
762
- idx: number;
763
- };
764
729
  apiUrl: {
765
730
  type: "string";
766
731
  description: string;
@@ -773,6 +738,22 @@ declare const _default: {
773
738
  type: "string";
774
739
  description: string;
775
740
  };
741
+ name: {
742
+ type: "string";
743
+ description: string;
744
+ };
745
+ versionNumber: {
746
+ type: "string";
747
+ description: string;
748
+ };
749
+ };
750
+ alias: string;
751
+ }>) => Promise<{
752
+ exitCode: number;
753
+ }>;
754
+ delete: (argv: CommandArgv<{
755
+ description: string;
756
+ schema: {
776
757
  verbose: {
777
758
  type: "boolean";
778
759
  description: string;
@@ -800,6 +781,25 @@ declare const _default: {
800
781
  description: string;
801
782
  alias: string;
802
783
  };
784
+ apiUrl: {
785
+ type: "string";
786
+ description: string;
787
+ };
788
+ workspaceId: {
789
+ type: "string";
790
+ description: string;
791
+ };
792
+ token: {
793
+ type: "string";
794
+ description: string;
795
+ };
796
+ pluginRef: {
797
+ type: "string";
798
+ positional: true;
799
+ idx: number;
800
+ demandOption: true;
801
+ description: string;
802
+ };
803
803
  };
804
804
  alias: string;
805
805
  }>) => Promise<{
@@ -810,6 +810,33 @@ declare const _default: {
810
810
  init: (argv: CommandArgv<{
811
811
  description: string;
812
812
  schema: {
813
+ verbose: {
814
+ type: "boolean";
815
+ description: string;
816
+ alias: string;
817
+ default: boolean;
818
+ };
819
+ confirm: {
820
+ type: "boolean";
821
+ description: string;
822
+ alias: string;
823
+ default: boolean;
824
+ };
825
+ json: {
826
+ type: "boolean";
827
+ description: string;
828
+ default: boolean;
829
+ };
830
+ botpressHome: {
831
+ type: "string";
832
+ description: string;
833
+ default: string;
834
+ };
835
+ profile: {
836
+ type: "string";
837
+ description: string;
838
+ alias: string;
839
+ };
813
840
  workDir: {
814
841
  type: "string";
815
842
  description: string;
@@ -828,6 +855,13 @@ declare const _default: {
828
855
  type: "string";
829
856
  description: string;
830
857
  };
858
+ };
859
+ }>) => Promise<{
860
+ exitCode: number;
861
+ }>;
862
+ generate: (argv: CommandArgv<{
863
+ description: string;
864
+ schema: {
831
865
  verbose: {
832
866
  type: "boolean";
833
867
  description: string;
@@ -855,18 +889,19 @@ declare const _default: {
855
889
  description: string;
856
890
  alias: string;
857
891
  };
892
+ workDir: {
893
+ type: "string";
894
+ description: string;
895
+ default: string;
896
+ };
858
897
  };
898
+ alias: string;
859
899
  }>) => Promise<{
860
900
  exitCode: number;
861
901
  }>;
862
- generate: (argv: CommandArgv<{
902
+ bundle: (argv: CommandArgv<{
863
903
  description: string;
864
904
  schema: {
865
- workDir: {
866
- type: "string";
867
- description: string;
868
- default: string;
869
- };
870
905
  verbose: {
871
906
  type: "boolean";
872
907
  description: string;
@@ -894,14 +929,11 @@ declare const _default: {
894
929
  description: string;
895
930
  alias: string;
896
931
  };
897
- };
898
- alias: string;
899
- }>) => Promise<{
900
- exitCode: number;
901
- }>;
902
- bundle: (argv: CommandArgv<{
903
- description: string;
904
- schema: {
932
+ workDir: {
933
+ type: "string";
934
+ description: string;
935
+ default: string;
936
+ };
905
937
  sourceMap: {
906
938
  type: "boolean";
907
939
  description: string;
@@ -912,11 +944,13 @@ declare const _default: {
912
944
  description: string;
913
945
  default: boolean;
914
946
  };
915
- workDir: {
916
- type: "string";
917
- description: string;
918
- default: string;
919
- };
947
+ };
948
+ }>) => Promise<{
949
+ exitCode: number;
950
+ }>;
951
+ build: (argv: CommandArgv<{
952
+ description: string;
953
+ schema: {
920
954
  verbose: {
921
955
  type: "boolean";
922
956
  description: string;
@@ -944,13 +978,11 @@ declare const _default: {
944
978
  description: string;
945
979
  alias: string;
946
980
  };
947
- };
948
- }>) => Promise<{
949
- exitCode: number;
950
- }>;
951
- build: (argv: CommandArgv<{
952
- description: string;
953
- schema: {
981
+ workDir: {
982
+ type: "string";
983
+ description: string;
984
+ default: string;
985
+ };
954
986
  sourceMap: {
955
987
  type: "boolean";
956
988
  description: string;
@@ -961,11 +993,13 @@ declare const _default: {
961
993
  description: string;
962
994
  default: boolean;
963
995
  };
964
- workDir: {
965
- type: "string";
966
- description: string;
967
- default: string;
968
- };
996
+ };
997
+ }>) => Promise<{
998
+ exitCode: number;
999
+ }>;
1000
+ read: (argv: CommandArgv<{
1001
+ description: string;
1002
+ schema: {
969
1003
  verbose: {
970
1004
  type: "boolean";
971
1005
  description: string;
@@ -993,18 +1027,18 @@ declare const _default: {
993
1027
  description: string;
994
1028
  alias: string;
995
1029
  };
1030
+ workDir: {
1031
+ type: "string";
1032
+ description: string;
1033
+ default: string;
1034
+ };
996
1035
  };
997
1036
  }>) => Promise<{
998
1037
  exitCode: number;
999
1038
  }>;
1000
- read: (argv: CommandArgv<{
1039
+ serve: (argv: CommandArgv<{
1001
1040
  description: string;
1002
1041
  schema: {
1003
- workDir: {
1004
- type: "string";
1005
- description: string;
1006
- default: string;
1007
- };
1008
1042
  verbose: {
1009
1043
  type: "boolean";
1010
1044
  description: string;
@@ -1032,16 +1066,10 @@ declare const _default: {
1032
1066
  description: string;
1033
1067
  alias: string;
1034
1068
  };
1035
- };
1036
- }>) => Promise<{
1037
- exitCode: number;
1038
- }>;
1039
- serve: (argv: CommandArgv<{
1040
- description: string;
1041
- schema: {
1042
- port: {
1043
- type: "number";
1069
+ workDir: {
1070
+ type: "string";
1044
1071
  description: string;
1072
+ default: string;
1045
1073
  };
1046
1074
  secrets: {
1047
1075
  type: "string";
@@ -1049,48 +1077,70 @@ declare const _default: {
1049
1077
  array: true;
1050
1078
  default: never[];
1051
1079
  };
1052
- workDir: {
1053
- type: "string";
1080
+ port: {
1081
+ type: "number";
1054
1082
  description: string;
1055
- default: string;
1056
1083
  };
1057
- verbose: {
1084
+ };
1085
+ }>) => Promise<{
1086
+ exitCode: number;
1087
+ }>;
1088
+ deploy: (argv: CommandArgv<{
1089
+ description: string;
1090
+ schema: {
1091
+ readonly verbose: {
1058
1092
  type: "boolean";
1059
1093
  description: string;
1060
1094
  alias: string;
1061
1095
  default: boolean;
1062
1096
  };
1063
- confirm: {
1097
+ readonly confirm: {
1064
1098
  type: "boolean";
1065
1099
  description: string;
1066
1100
  alias: string;
1067
1101
  default: boolean;
1068
1102
  };
1069
- json: {
1103
+ readonly json: {
1070
1104
  type: "boolean";
1071
1105
  description: string;
1072
1106
  default: boolean;
1073
1107
  };
1074
- botpressHome: {
1108
+ readonly botpressHome: {
1075
1109
  type: "string";
1076
1110
  description: string;
1077
1111
  default: string;
1078
1112
  };
1079
- profile: {
1113
+ readonly profile: {
1080
1114
  type: "string";
1081
1115
  description: string;
1082
1116
  alias: string;
1083
1117
  };
1084
- };
1085
- }>) => Promise<{
1086
- exitCode: number;
1087
- }>;
1088
- deploy: (argv: CommandArgv<{
1089
- description: string;
1090
- schema: {
1118
+ readonly workDir: {
1119
+ type: "string";
1120
+ description: string;
1121
+ default: string;
1122
+ };
1123
+ readonly apiUrl: {
1124
+ type: "string";
1125
+ description: string;
1126
+ };
1127
+ readonly workspaceId: {
1128
+ type: "string";
1129
+ description: string;
1130
+ };
1131
+ readonly token: {
1132
+ type: "string";
1133
+ description: string;
1134
+ };
1135
+ readonly secrets: {
1136
+ type: "string";
1137
+ description: string;
1138
+ array: true;
1139
+ default: never[];
1140
+ };
1091
1141
  readonly botId: {
1092
- readonly type: "string";
1093
- readonly description: "The bot ID to deploy. Only used when deploying a bot";
1142
+ readonly type: 'string';
1143
+ readonly description: 'The bot ID to deploy. Only used when deploying a bot';
1094
1144
  };
1095
1145
  readonly noBuild: {
1096
1146
  type: "boolean";
@@ -1098,13 +1148,13 @@ declare const _default: {
1098
1148
  default: boolean;
1099
1149
  };
1100
1150
  readonly dryRun: {
1101
- readonly type: "boolean";
1102
- readonly description: "Ask the API not to perform the actual operation";
1151
+ readonly type: 'boolean';
1152
+ readonly description: 'Ask the API not to perform the actual operation';
1103
1153
  readonly default: false;
1104
1154
  };
1105
1155
  readonly createNewBot: {
1106
- readonly type: "boolean";
1107
- readonly description: "Create a new bot when deploying. Only used when deploying a bot";
1156
+ readonly type: 'boolean';
1157
+ readonly description: 'Create a new bot when deploying. Only used when deploying a bot';
1108
1158
  };
1109
1159
  readonly sourceMap: {
1110
1160
  type: "boolean";
@@ -1117,10 +1167,10 @@ declare const _default: {
1117
1167
  default: boolean;
1118
1168
  };
1119
1169
  readonly visibility: {
1120
- readonly type: "string";
1170
+ readonly type: 'string';
1121
1171
  readonly choices: readonly ["public", "private", "unlisted"];
1122
- readonly description: "The visibility of the project. By default, projects are always private. Unlisted visibility is only supported for integrations and plugins.";
1123
- readonly default: "private";
1172
+ readonly description: 'The visibility of the project. By default, projects are always private. Unlisted visibility is only supported for integrations and plugins.';
1173
+ readonly default: 'private';
1124
1174
  };
1125
1175
  readonly public: {
1126
1176
  type: "boolean";
@@ -1129,76 +1179,65 @@ declare const _default: {
1129
1179
  deprecated: true;
1130
1180
  };
1131
1181
  readonly allowDeprecated: {
1132
- readonly type: "boolean";
1133
- readonly description: "Allow deprecated features in the project";
1182
+ readonly type: 'boolean';
1183
+ readonly description: 'Allow deprecated features in the project';
1134
1184
  readonly default: false;
1135
1185
  };
1136
1186
  readonly url: {
1137
- readonly type: "string";
1138
- readonly description: "Custom URL for the integration. Only used when deploying an integration";
1187
+ readonly type: 'string';
1188
+ readonly description: 'Custom URL for the integration. Only used when deploying an integration';
1139
1189
  };
1140
1190
  readonly bypassBreakingChangeDetection: {
1141
- readonly type: "boolean";
1191
+ readonly type: 'boolean';
1142
1192
  readonly hidden: true;
1143
1193
  readonly default: false;
1144
1194
  };
1145
- readonly secrets: {
1146
- type: "string";
1147
- description: string;
1148
- array: true;
1149
- default: never[];
1150
- };
1151
- readonly apiUrl: {
1152
- type: "string";
1153
- description: string;
1154
- };
1155
- readonly workspaceId: {
1156
- type: "string";
1157
- description: string;
1158
- };
1159
- readonly token: {
1160
- type: "string";
1161
- description: string;
1162
- };
1163
- readonly workDir: {
1164
- type: "string";
1165
- description: string;
1166
- default: string;
1167
- };
1168
- readonly verbose: {
1195
+ };
1196
+ }>) => Promise<{
1197
+ exitCode: number;
1198
+ }>;
1199
+ add: (argv: CommandArgv<{
1200
+ description: string;
1201
+ schema: {
1202
+ verbose: {
1169
1203
  type: "boolean";
1170
1204
  description: string;
1171
1205
  alias: string;
1172
1206
  default: boolean;
1173
1207
  };
1174
- readonly confirm: {
1208
+ confirm: {
1175
1209
  type: "boolean";
1176
1210
  description: string;
1177
1211
  alias: string;
1178
1212
  default: boolean;
1179
1213
  };
1180
- readonly json: {
1214
+ json: {
1181
1215
  type: "boolean";
1182
1216
  description: string;
1183
1217
  default: boolean;
1184
1218
  };
1185
- readonly botpressHome: {
1219
+ botpressHome: {
1186
1220
  type: "string";
1187
1221
  description: string;
1188
1222
  default: string;
1189
1223
  };
1190
- readonly profile: {
1224
+ profile: {
1191
1225
  type: "string";
1192
1226
  description: string;
1193
1227
  alias: string;
1194
1228
  };
1195
- };
1196
- }>) => Promise<{
1197
- exitCode: number;
1198
- }>;
1199
- add: (argv: CommandArgv<{
1200
- description: string;
1201
- schema: {
1229
+ apiUrl: {
1230
+ type: "string";
1231
+ description: string;
1232
+ };
1233
+ workspaceId: {
1234
+ type: "string";
1235
+ description: string;
1236
+ };
1237
+ token: {
1238
+ type: "string";
1239
+ description: string;
1240
+ };
1202
1241
  packageRef: {
1203
1242
  type: "string";
1204
1243
  description: string;
@@ -1219,18 +1258,14 @@ declare const _default: {
1219
1258
  type: "string";
1220
1259
  description: string;
1221
1260
  };
1222
- apiUrl: {
1223
- type: "string";
1224
- description: string;
1225
- };
1226
- workspaceId: {
1227
- type: "string";
1228
- description: string;
1229
- };
1230
- token: {
1231
- type: "string";
1232
- description: string;
1233
- };
1261
+ };
1262
+ alias: string[];
1263
+ }>) => Promise<{
1264
+ exitCode: number;
1265
+ }>;
1266
+ remove: (argv: CommandArgv<{
1267
+ description: string;
1268
+ schema: {
1234
1269
  verbose: {
1235
1270
  type: "boolean";
1236
1271
  description: string;
@@ -1258,37 +1293,37 @@ declare const _default: {
1258
1293
  description: string;
1259
1294
  alias: string;
1260
1295
  };
1261
- };
1262
- alias: string[];
1263
- }>) => Promise<{
1264
- exitCode: number;
1265
- }>;
1266
- remove: (argv: CommandArgv<{
1267
- description: string;
1268
- schema: {
1269
- workDir: {
1296
+ apiUrl: {
1270
1297
  type: "string";
1271
1298
  description: string;
1272
- default: string;
1273
1299
  };
1274
- alias: {
1275
- idx: number;
1276
- positional: true;
1300
+ workspaceId: {
1277
1301
  type: "string";
1278
1302
  description: string;
1279
1303
  };
1280
- apiUrl: {
1304
+ token: {
1281
1305
  type: "string";
1282
1306
  description: string;
1283
1307
  };
1284
- workspaceId: {
1308
+ workDir: {
1285
1309
  type: "string";
1286
1310
  description: string;
1311
+ default: string;
1287
1312
  };
1288
- token: {
1313
+ alias: {
1314
+ idx: number;
1315
+ positional: true;
1289
1316
  type: "string";
1290
1317
  description: string;
1291
1318
  };
1319
+ };
1320
+ alias: string;
1321
+ }>) => Promise<{
1322
+ exitCode: number;
1323
+ }>;
1324
+ dev: (argv: CommandArgv<{
1325
+ description: string;
1326
+ schema: {
1292
1327
  verbose: {
1293
1328
  type: "boolean";
1294
1329
  description: string;
@@ -1316,14 +1351,29 @@ declare const _default: {
1316
1351
  description: string;
1317
1352
  alias: string;
1318
1353
  };
1319
- };
1320
- alias: string;
1321
- }>) => Promise<{
1322
- exitCode: number;
1323
- }>;
1324
- dev: (argv: CommandArgv<{
1325
- description: string;
1326
- schema: {
1354
+ workDir: {
1355
+ type: "string";
1356
+ description: string;
1357
+ default: string;
1358
+ };
1359
+ apiUrl: {
1360
+ type: "string";
1361
+ description: string;
1362
+ };
1363
+ workspaceId: {
1364
+ type: "string";
1365
+ description: string;
1366
+ };
1367
+ token: {
1368
+ type: "string";
1369
+ description: string;
1370
+ };
1371
+ secrets: {
1372
+ type: "string";
1373
+ description: string;
1374
+ array: true;
1375
+ default: never[];
1376
+ };
1327
1377
  sourceMap: {
1328
1378
  type: "boolean";
1329
1379
  description: string;
@@ -1358,29 +1408,13 @@ declare const _default: {
1358
1408
  default: boolean;
1359
1409
  alias: string;
1360
1410
  };
1361
- secrets: {
1362
- type: "string";
1363
- description: string;
1364
- array: true;
1365
- default: never[];
1366
- };
1367
- apiUrl: {
1368
- type: "string";
1369
- description: string;
1370
- };
1371
- workspaceId: {
1372
- type: "string";
1373
- description: string;
1374
- };
1375
- token: {
1376
- type: "string";
1377
- description: string;
1378
- };
1379
- workDir: {
1380
- type: "string";
1381
- description: string;
1382
- default: string;
1383
- };
1411
+ };
1412
+ }>) => Promise<{
1413
+ exitCode: number;
1414
+ }>;
1415
+ lint: (argv: CommandArgv<{
1416
+ description: string;
1417
+ schema: {
1384
1418
  verbose: {
1385
1419
  type: "boolean";
1386
1420
  description: string;
@@ -1408,18 +1442,18 @@ declare const _default: {
1408
1442
  description: string;
1409
1443
  alias: string;
1410
1444
  };
1445
+ workDir: {
1446
+ type: "string";
1447
+ description: string;
1448
+ default: string;
1449
+ };
1411
1450
  };
1412
1451
  }>) => Promise<{
1413
1452
  exitCode: number;
1414
1453
  }>;
1415
- lint: (argv: CommandArgv<{
1454
+ chat: (argv: CommandArgv<{
1416
1455
  description: string;
1417
1456
  schema: {
1418
- workDir: {
1419
- type: "string";
1420
- description: string;
1421
- default: string;
1422
- };
1423
1457
  verbose: {
1424
1458
  type: "boolean";
1425
1459
  description: string;
@@ -1447,28 +1481,6 @@ declare const _default: {
1447
1481
  description: string;
1448
1482
  alias: string;
1449
1483
  };
1450
- };
1451
- }>) => Promise<{
1452
- exitCode: number;
1453
- }>;
1454
- chat: (argv: CommandArgv<{
1455
- description: string;
1456
- schema: {
1457
- chatApiUrl: {
1458
- type: "string";
1459
- description: string;
1460
- };
1461
- botId: {
1462
- type: "string";
1463
- positional: true;
1464
- idx: number;
1465
- description: string;
1466
- };
1467
- protocol: {
1468
- choices: ("websocket" | "sse")[];
1469
- default: "sse";
1470
- description: string;
1471
- };
1472
1484
  apiUrl: {
1473
1485
  type: "string";
1474
1486
  description: string;
@@ -1481,32 +1493,20 @@ declare const _default: {
1481
1493
  type: "string";
1482
1494
  description: string;
1483
1495
  };
1484
- verbose: {
1485
- type: "boolean";
1486
- description: string;
1487
- alias: string;
1488
- default: boolean;
1489
- };
1490
- confirm: {
1491
- type: "boolean";
1492
- description: string;
1493
- alias: string;
1494
- default: boolean;
1495
- };
1496
- json: {
1497
- type: "boolean";
1496
+ chatApiUrl: {
1497
+ type: "string";
1498
1498
  description: string;
1499
- default: boolean;
1500
1499
  };
1501
- botpressHome: {
1500
+ botId: {
1502
1501
  type: "string";
1502
+ positional: true;
1503
+ idx: number;
1503
1504
  description: string;
1504
- default: string;
1505
1505
  };
1506
- profile: {
1507
- type: "string";
1506
+ protocol: {
1507
+ choices: ("sse" | "websocket")[];
1508
+ default: 'sse';
1508
1509
  description: string;
1509
- alias: string;
1510
1510
  };
1511
1511
  };
1512
1512
  }>) => Promise<{
@@ -1517,11 +1517,6 @@ declare const _default: {
1517
1517
  list: (argv: CommandArgv<{
1518
1518
  description: string;
1519
1519
  schema: {
1520
- displayToken: {
1521
- type: "boolean";
1522
- description: string;
1523
- default: boolean;
1524
- };
1525
1520
  verbose: {
1526
1521
  type: "boolean";
1527
1522
  description: string;
@@ -1549,6 +1544,11 @@ declare const _default: {
1549
1544
  description: string;
1550
1545
  alias: string;
1551
1546
  };
1547
+ displayToken: {
1548
+ type: "boolean";
1549
+ description: string;
1550
+ default: boolean;
1551
+ };
1552
1552
  };
1553
1553
  alias: string;
1554
1554
  }>) => Promise<{
@@ -1557,11 +1557,6 @@ declare const _default: {
1557
1557
  active: (argv: CommandArgv<{
1558
1558
  description: string;
1559
1559
  schema: {
1560
- displayToken: {
1561
- type: "boolean";
1562
- description: string;
1563
- default: boolean;
1564
- };
1565
1560
  verbose: {
1566
1561
  type: "boolean";
1567
1562
  description: string;
@@ -1589,6 +1584,11 @@ declare const _default: {
1589
1584
  description: string;
1590
1585
  alias: string;
1591
1586
  };
1587
+ displayToken: {
1588
+ type: "boolean";
1589
+ description: string;
1590
+ default: boolean;
1591
+ };
1592
1592
  };
1593
1593
  }>) => Promise<{
1594
1594
  exitCode: number;
@@ -1596,12 +1596,6 @@ declare const _default: {
1596
1596
  use: (argv: CommandArgv<{
1597
1597
  description: string;
1598
1598
  schema: {
1599
- profileToUse: {
1600
- type: "string";
1601
- description: string;
1602
- positional: true;
1603
- idx: number;
1604
- };
1605
1599
  verbose: {
1606
1600
  type: "boolean";
1607
1601
  description: string;
@@ -1629,6 +1623,12 @@ declare const _default: {
1629
1623
  description: string;
1630
1624
  alias: string;
1631
1625
  };
1626
+ profileToUse: {
1627
+ type: "string";
1628
+ description: string;
1629
+ positional: true;
1630
+ idx: number;
1631
+ };
1632
1632
  };
1633
1633
  }>) => Promise<{
1634
1634
  exitCode: number;
@@ -1636,17 +1636,6 @@ declare const _default: {
1636
1636
  get: (argv: CommandArgv<{
1637
1637
  description: string;
1638
1638
  schema: {
1639
- profileToGet: {
1640
- type: "string";
1641
- description: string;
1642
- positional: true;
1643
- idx: number;
1644
- };
1645
- displayToken: {
1646
- type: "boolean";
1647
- description: string;
1648
- default: boolean;
1649
- };
1650
1639
  verbose: {
1651
1640
  type: "boolean";
1652
1641
  description: string;
@@ -1674,6 +1663,17 @@ declare const _default: {
1674
1663
  description: string;
1675
1664
  alias: string;
1676
1665
  };
1666
+ profileToGet: {
1667
+ type: "string";
1668
+ description: string;
1669
+ positional: true;
1670
+ idx: number;
1671
+ };
1672
+ displayToken: {
1673
+ type: "boolean";
1674
+ description: string;
1675
+ default: boolean;
1676
+ };
1677
1677
  };
1678
1678
  }>) => Promise<{
1679
1679
  exitCode: number;