@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.
- package/.turbo/turbo-build.log +12 -12
- package/dist/code-generation/strings.d.ts +1 -1
- package/dist/command-definitions.d.ts +426 -426
- package/dist/command-implementations/index.d.ts +470 -470
- package/dist/config.d.ts +295 -295
- package/dist/index.d.ts +460 -460
- package/dist/linter/ruleset-tests/common.d.ts +1 -1
- package/dist/project-templates.d.ts +15 -15
- package/dist/tables/schemas.d.ts +18 -18
- package/dist/utils/case-utils.d.ts +6 -6
- package/dist/utils/path-utils.d.ts +1 -1
- package/dist/utils/prompt-utils.js +7 -1
- package/dist/utils/prompt-utils.js.map +2 -2
- package/dist/utils/type-utils.d.ts +1 -1
- package/dist/utils/url-utils.d.ts +1 -1
- package/package.json +6 -6
- package/templates/empty-bot/package.json +3 -3
- package/templates/empty-bot/tsconfig.json +3 -2
- package/templates/empty-integration/package.json +3 -3
- package/templates/empty-integration/tsconfig.json +3 -2
- package/templates/empty-plugin/package.json +2 -2
- package/templates/empty-plugin/tsconfig.json +3 -2
- package/templates/hello-world/package.json +3 -3
- package/templates/hello-world/tsconfig.json +3 -2
- package/templates/webhook-message/package.json +3 -3
- package/templates/webhook-message/tsconfig.json +3 -2
- package/tsconfig.build.json +1 -1
- package/tsconfig.ts-node.json +6 -0
- package/eslint.config.mjs +0 -14
package/dist/config.d.ts
CHANGED
|
@@ -29,11 +29,6 @@ export declare const schemas: {
|
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
31
|
readonly project: {
|
|
32
|
-
workDir: {
|
|
33
|
-
type: "string";
|
|
34
|
-
description: string;
|
|
35
|
-
default: string;
|
|
36
|
-
};
|
|
37
32
|
verbose: {
|
|
38
33
|
type: "boolean";
|
|
39
34
|
description: string;
|
|
@@ -61,6 +56,11 @@ export declare const schemas: {
|
|
|
61
56
|
description: string;
|
|
62
57
|
alias: string;
|
|
63
58
|
};
|
|
59
|
+
workDir: {
|
|
60
|
+
type: "string";
|
|
61
|
+
description: string;
|
|
62
|
+
default: string;
|
|
63
|
+
};
|
|
64
64
|
};
|
|
65
65
|
readonly credentials: {
|
|
66
66
|
apiUrl: {
|
|
@@ -85,6 +85,33 @@ export declare const schemas: {
|
|
|
85
85
|
};
|
|
86
86
|
};
|
|
87
87
|
readonly login: {
|
|
88
|
+
verbose: {
|
|
89
|
+
type: "boolean";
|
|
90
|
+
description: string;
|
|
91
|
+
alias: string;
|
|
92
|
+
default: boolean;
|
|
93
|
+
};
|
|
94
|
+
confirm: {
|
|
95
|
+
type: "boolean";
|
|
96
|
+
description: string;
|
|
97
|
+
alias: string;
|
|
98
|
+
default: boolean;
|
|
99
|
+
};
|
|
100
|
+
json: {
|
|
101
|
+
type: "boolean";
|
|
102
|
+
description: string;
|
|
103
|
+
default: boolean;
|
|
104
|
+
};
|
|
105
|
+
botpressHome: {
|
|
106
|
+
type: "string";
|
|
107
|
+
description: string;
|
|
108
|
+
default: string;
|
|
109
|
+
};
|
|
110
|
+
profile: {
|
|
111
|
+
type: "string";
|
|
112
|
+
description: string;
|
|
113
|
+
alias: string;
|
|
114
|
+
};
|
|
88
115
|
token: {
|
|
89
116
|
type: "string";
|
|
90
117
|
description: string;
|
|
@@ -94,10 +121,12 @@ export declare const schemas: {
|
|
|
94
121
|
description: string;
|
|
95
122
|
};
|
|
96
123
|
apiUrl: {
|
|
97
|
-
default: string;
|
|
98
124
|
type: "string";
|
|
99
125
|
description: string;
|
|
126
|
+
default: string;
|
|
100
127
|
};
|
|
128
|
+
};
|
|
129
|
+
readonly logout: {
|
|
101
130
|
verbose: {
|
|
102
131
|
type: "boolean";
|
|
103
132
|
description: string;
|
|
@@ -126,7 +155,7 @@ export declare const schemas: {
|
|
|
126
155
|
alias: string;
|
|
127
156
|
};
|
|
128
157
|
};
|
|
129
|
-
readonly
|
|
158
|
+
readonly createBot: {
|
|
130
159
|
verbose: {
|
|
131
160
|
type: "boolean";
|
|
132
161
|
description: string;
|
|
@@ -154,29 +183,29 @@ export declare const schemas: {
|
|
|
154
183
|
description: string;
|
|
155
184
|
alias: string;
|
|
156
185
|
};
|
|
157
|
-
|
|
158
|
-
readonly createBot: {
|
|
159
|
-
name: {
|
|
186
|
+
apiUrl: {
|
|
160
187
|
type: "string";
|
|
161
188
|
description: string;
|
|
162
189
|
};
|
|
163
|
-
|
|
164
|
-
type: "
|
|
190
|
+
workspaceId: {
|
|
191
|
+
type: "string";
|
|
165
192
|
description: string;
|
|
166
|
-
default: boolean;
|
|
167
193
|
};
|
|
168
|
-
|
|
194
|
+
token: {
|
|
169
195
|
type: "string";
|
|
170
196
|
description: string;
|
|
171
197
|
};
|
|
172
|
-
|
|
198
|
+
name: {
|
|
173
199
|
type: "string";
|
|
174
200
|
description: string;
|
|
175
201
|
};
|
|
176
|
-
|
|
177
|
-
type: "
|
|
202
|
+
ifNotExists: {
|
|
203
|
+
type: "boolean";
|
|
178
204
|
description: string;
|
|
205
|
+
default: boolean;
|
|
179
206
|
};
|
|
207
|
+
};
|
|
208
|
+
readonly getBot: {
|
|
180
209
|
verbose: {
|
|
181
210
|
type: "boolean";
|
|
182
211
|
description: string;
|
|
@@ -204,15 +233,6 @@ export declare const schemas: {
|
|
|
204
233
|
description: string;
|
|
205
234
|
alias: string;
|
|
206
235
|
};
|
|
207
|
-
};
|
|
208
|
-
readonly getBot: {
|
|
209
|
-
botRef: {
|
|
210
|
-
type: "string";
|
|
211
|
-
description: string;
|
|
212
|
-
demandOption: true;
|
|
213
|
-
positional: true;
|
|
214
|
-
idx: number;
|
|
215
|
-
};
|
|
216
236
|
apiUrl: {
|
|
217
237
|
type: "string";
|
|
218
238
|
description: string;
|
|
@@ -225,6 +245,15 @@ export declare const schemas: {
|
|
|
225
245
|
type: "string";
|
|
226
246
|
description: string;
|
|
227
247
|
};
|
|
248
|
+
botRef: {
|
|
249
|
+
type: "string";
|
|
250
|
+
description: string;
|
|
251
|
+
demandOption: true;
|
|
252
|
+
positional: true;
|
|
253
|
+
idx: number;
|
|
254
|
+
};
|
|
255
|
+
};
|
|
256
|
+
readonly deleteBot: {
|
|
228
257
|
verbose: {
|
|
229
258
|
type: "boolean";
|
|
230
259
|
description: string;
|
|
@@ -252,15 +281,6 @@ export declare const schemas: {
|
|
|
252
281
|
description: string;
|
|
253
282
|
alias: string;
|
|
254
283
|
};
|
|
255
|
-
};
|
|
256
|
-
readonly deleteBot: {
|
|
257
|
-
botRef: {
|
|
258
|
-
type: "string";
|
|
259
|
-
description: string;
|
|
260
|
-
demandOption: true;
|
|
261
|
-
positional: true;
|
|
262
|
-
idx: number;
|
|
263
|
-
};
|
|
264
284
|
apiUrl: {
|
|
265
285
|
type: "string";
|
|
266
286
|
description: string;
|
|
@@ -273,6 +293,15 @@ export declare const schemas: {
|
|
|
273
293
|
type: "string";
|
|
274
294
|
description: string;
|
|
275
295
|
};
|
|
296
|
+
botRef: {
|
|
297
|
+
type: "string";
|
|
298
|
+
description: string;
|
|
299
|
+
demandOption: true;
|
|
300
|
+
positional: true;
|
|
301
|
+
idx: number;
|
|
302
|
+
};
|
|
303
|
+
};
|
|
304
|
+
readonly listBots: {
|
|
276
305
|
verbose: {
|
|
277
306
|
type: "boolean";
|
|
278
307
|
description: string;
|
|
@@ -300,13 +329,6 @@ export declare const schemas: {
|
|
|
300
329
|
description: string;
|
|
301
330
|
alias: string;
|
|
302
331
|
};
|
|
303
|
-
};
|
|
304
|
-
readonly listBots: {
|
|
305
|
-
dev: {
|
|
306
|
-
type: "boolean";
|
|
307
|
-
description: string;
|
|
308
|
-
default: boolean;
|
|
309
|
-
};
|
|
310
332
|
apiUrl: {
|
|
311
333
|
type: "string";
|
|
312
334
|
description: string;
|
|
@@ -319,6 +341,13 @@ export declare const schemas: {
|
|
|
319
341
|
type: "string";
|
|
320
342
|
description: string;
|
|
321
343
|
};
|
|
344
|
+
dev: {
|
|
345
|
+
type: "boolean";
|
|
346
|
+
description: string;
|
|
347
|
+
default: boolean;
|
|
348
|
+
};
|
|
349
|
+
};
|
|
350
|
+
readonly getIntegration: {
|
|
322
351
|
verbose: {
|
|
323
352
|
type: "boolean";
|
|
324
353
|
description: string;
|
|
@@ -346,15 +375,6 @@ export declare const schemas: {
|
|
|
346
375
|
description: string;
|
|
347
376
|
alias: string;
|
|
348
377
|
};
|
|
349
|
-
};
|
|
350
|
-
readonly getIntegration: {
|
|
351
|
-
integrationRef: {
|
|
352
|
-
demandOption: true;
|
|
353
|
-
description: string;
|
|
354
|
-
type: "string";
|
|
355
|
-
positional: true;
|
|
356
|
-
idx: number;
|
|
357
|
-
};
|
|
358
378
|
apiUrl: {
|
|
359
379
|
type: "string";
|
|
360
380
|
description: string;
|
|
@@ -367,6 +387,15 @@ export declare const schemas: {
|
|
|
367
387
|
type: "string";
|
|
368
388
|
description: string;
|
|
369
389
|
};
|
|
390
|
+
integrationRef: {
|
|
391
|
+
type: "string";
|
|
392
|
+
positional: true;
|
|
393
|
+
idx: number;
|
|
394
|
+
demandOption: true;
|
|
395
|
+
description: string;
|
|
396
|
+
};
|
|
397
|
+
};
|
|
398
|
+
readonly listIntegrations: {
|
|
370
399
|
verbose: {
|
|
371
400
|
type: "boolean";
|
|
372
401
|
description: string;
|
|
@@ -394,8 +423,18 @@ export declare const schemas: {
|
|
|
394
423
|
description: string;
|
|
395
424
|
alias: string;
|
|
396
425
|
};
|
|
397
|
-
|
|
398
|
-
|
|
426
|
+
apiUrl: {
|
|
427
|
+
type: "string";
|
|
428
|
+
description: string;
|
|
429
|
+
};
|
|
430
|
+
workspaceId: {
|
|
431
|
+
type: "string";
|
|
432
|
+
description: string;
|
|
433
|
+
};
|
|
434
|
+
token: {
|
|
435
|
+
type: "string";
|
|
436
|
+
description: string;
|
|
437
|
+
};
|
|
399
438
|
name: {
|
|
400
439
|
type: "string";
|
|
401
440
|
description: string;
|
|
@@ -421,18 +460,8 @@ export declare const schemas: {
|
|
|
421
460
|
description: string;
|
|
422
461
|
default: boolean;
|
|
423
462
|
};
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
description: string;
|
|
427
|
-
};
|
|
428
|
-
workspaceId: {
|
|
429
|
-
type: "string";
|
|
430
|
-
description: string;
|
|
431
|
-
};
|
|
432
|
-
token: {
|
|
433
|
-
type: "string";
|
|
434
|
-
description: string;
|
|
435
|
-
};
|
|
463
|
+
};
|
|
464
|
+
readonly deleteIntegration: {
|
|
436
465
|
verbose: {
|
|
437
466
|
type: "boolean";
|
|
438
467
|
description: string;
|
|
@@ -460,15 +489,6 @@ export declare const schemas: {
|
|
|
460
489
|
description: string;
|
|
461
490
|
alias: string;
|
|
462
491
|
};
|
|
463
|
-
};
|
|
464
|
-
readonly deleteIntegration: {
|
|
465
|
-
integrationRef: {
|
|
466
|
-
demandOption: true;
|
|
467
|
-
description: string;
|
|
468
|
-
type: "string";
|
|
469
|
-
positional: true;
|
|
470
|
-
idx: number;
|
|
471
|
-
};
|
|
472
492
|
apiUrl: {
|
|
473
493
|
type: "string";
|
|
474
494
|
description: string;
|
|
@@ -481,6 +501,15 @@ export declare const schemas: {
|
|
|
481
501
|
type: "string";
|
|
482
502
|
description: string;
|
|
483
503
|
};
|
|
504
|
+
integrationRef: {
|
|
505
|
+
type: "string";
|
|
506
|
+
positional: true;
|
|
507
|
+
idx: number;
|
|
508
|
+
demandOption: true;
|
|
509
|
+
description: string;
|
|
510
|
+
};
|
|
511
|
+
};
|
|
512
|
+
readonly getInterface: {
|
|
484
513
|
verbose: {
|
|
485
514
|
type: "boolean";
|
|
486
515
|
description: string;
|
|
@@ -508,15 +537,6 @@ export declare const schemas: {
|
|
|
508
537
|
description: string;
|
|
509
538
|
alias: string;
|
|
510
539
|
};
|
|
511
|
-
};
|
|
512
|
-
readonly getInterface: {
|
|
513
|
-
interfaceRef: {
|
|
514
|
-
demandOption: true;
|
|
515
|
-
description: string;
|
|
516
|
-
type: "string";
|
|
517
|
-
positional: true;
|
|
518
|
-
idx: number;
|
|
519
|
-
};
|
|
520
540
|
apiUrl: {
|
|
521
541
|
type: "string";
|
|
522
542
|
description: string;
|
|
@@ -529,6 +549,15 @@ export declare const schemas: {
|
|
|
529
549
|
type: "string";
|
|
530
550
|
description: string;
|
|
531
551
|
};
|
|
552
|
+
interfaceRef: {
|
|
553
|
+
type: "string";
|
|
554
|
+
positional: true;
|
|
555
|
+
idx: number;
|
|
556
|
+
demandOption: true;
|
|
557
|
+
description: string;
|
|
558
|
+
};
|
|
559
|
+
};
|
|
560
|
+
readonly listInterfaces: {
|
|
532
561
|
verbose: {
|
|
533
562
|
type: "boolean";
|
|
534
563
|
description: string;
|
|
@@ -556,8 +585,6 @@ export declare const schemas: {
|
|
|
556
585
|
description: string;
|
|
557
586
|
alias: string;
|
|
558
587
|
};
|
|
559
|
-
};
|
|
560
|
-
readonly listInterfaces: {
|
|
561
588
|
apiUrl: {
|
|
562
589
|
type: "string";
|
|
563
590
|
description: string;
|
|
@@ -570,6 +597,8 @@ export declare const schemas: {
|
|
|
570
597
|
type: "string";
|
|
571
598
|
description: string;
|
|
572
599
|
};
|
|
600
|
+
};
|
|
601
|
+
readonly deleteInterface: {
|
|
573
602
|
verbose: {
|
|
574
603
|
type: "boolean";
|
|
575
604
|
description: string;
|
|
@@ -597,15 +626,6 @@ export declare const schemas: {
|
|
|
597
626
|
description: string;
|
|
598
627
|
alias: string;
|
|
599
628
|
};
|
|
600
|
-
};
|
|
601
|
-
readonly deleteInterface: {
|
|
602
|
-
interfaceRef: {
|
|
603
|
-
demandOption: true;
|
|
604
|
-
description: string;
|
|
605
|
-
type: "string";
|
|
606
|
-
positional: true;
|
|
607
|
-
idx: number;
|
|
608
|
-
};
|
|
609
629
|
apiUrl: {
|
|
610
630
|
type: "string";
|
|
611
631
|
description: string;
|
|
@@ -618,6 +638,15 @@ export declare const schemas: {
|
|
|
618
638
|
type: "string";
|
|
619
639
|
description: string;
|
|
620
640
|
};
|
|
641
|
+
interfaceRef: {
|
|
642
|
+
type: "string";
|
|
643
|
+
positional: true;
|
|
644
|
+
idx: number;
|
|
645
|
+
demandOption: true;
|
|
646
|
+
description: string;
|
|
647
|
+
};
|
|
648
|
+
};
|
|
649
|
+
readonly getPlugin: {
|
|
621
650
|
verbose: {
|
|
622
651
|
type: "boolean";
|
|
623
652
|
description: string;
|
|
@@ -645,15 +674,6 @@ export declare const schemas: {
|
|
|
645
674
|
description: string;
|
|
646
675
|
alias: string;
|
|
647
676
|
};
|
|
648
|
-
};
|
|
649
|
-
readonly getPlugin: {
|
|
650
|
-
pluginRef: {
|
|
651
|
-
demandOption: true;
|
|
652
|
-
description: string;
|
|
653
|
-
type: "string";
|
|
654
|
-
positional: true;
|
|
655
|
-
idx: number;
|
|
656
|
-
};
|
|
657
677
|
apiUrl: {
|
|
658
678
|
type: "string";
|
|
659
679
|
description: string;
|
|
@@ -666,6 +686,15 @@ export declare const schemas: {
|
|
|
666
686
|
type: "string";
|
|
667
687
|
description: string;
|
|
668
688
|
};
|
|
689
|
+
pluginRef: {
|
|
690
|
+
type: "string";
|
|
691
|
+
positional: true;
|
|
692
|
+
idx: number;
|
|
693
|
+
demandOption: true;
|
|
694
|
+
description: string;
|
|
695
|
+
};
|
|
696
|
+
};
|
|
697
|
+
readonly listPlugins: {
|
|
669
698
|
verbose: {
|
|
670
699
|
type: "boolean";
|
|
671
700
|
description: string;
|
|
@@ -693,28 +722,28 @@ export declare const schemas: {
|
|
|
693
722
|
description: string;
|
|
694
723
|
alias: string;
|
|
695
724
|
};
|
|
696
|
-
|
|
697
|
-
readonly listPlugins: {
|
|
698
|
-
name: {
|
|
725
|
+
apiUrl: {
|
|
699
726
|
type: "string";
|
|
700
727
|
description: string;
|
|
701
728
|
};
|
|
702
|
-
|
|
729
|
+
workspaceId: {
|
|
703
730
|
type: "string";
|
|
704
731
|
description: string;
|
|
705
732
|
};
|
|
706
|
-
|
|
733
|
+
token: {
|
|
707
734
|
type: "string";
|
|
708
735
|
description: string;
|
|
709
736
|
};
|
|
710
|
-
|
|
737
|
+
name: {
|
|
711
738
|
type: "string";
|
|
712
739
|
description: string;
|
|
713
740
|
};
|
|
714
|
-
|
|
741
|
+
versionNumber: {
|
|
715
742
|
type: "string";
|
|
716
743
|
description: string;
|
|
717
744
|
};
|
|
745
|
+
};
|
|
746
|
+
readonly deletePlugin: {
|
|
718
747
|
verbose: {
|
|
719
748
|
type: "boolean";
|
|
720
749
|
description: string;
|
|
@@ -742,16 +771,7 @@ export declare const schemas: {
|
|
|
742
771
|
description: string;
|
|
743
772
|
alias: string;
|
|
744
773
|
};
|
|
745
|
-
|
|
746
|
-
readonly deletePlugin: {
|
|
747
|
-
pluginRef: {
|
|
748
|
-
demandOption: true;
|
|
749
|
-
description: string;
|
|
750
|
-
type: "string";
|
|
751
|
-
positional: true;
|
|
752
|
-
idx: number;
|
|
753
|
-
};
|
|
754
|
-
apiUrl: {
|
|
774
|
+
apiUrl: {
|
|
755
775
|
type: "string";
|
|
756
776
|
description: string;
|
|
757
777
|
};
|
|
@@ -763,6 +783,15 @@ export declare const schemas: {
|
|
|
763
783
|
type: "string";
|
|
764
784
|
description: string;
|
|
765
785
|
};
|
|
786
|
+
pluginRef: {
|
|
787
|
+
type: "string";
|
|
788
|
+
positional: true;
|
|
789
|
+
idx: number;
|
|
790
|
+
demandOption: true;
|
|
791
|
+
description: string;
|
|
792
|
+
};
|
|
793
|
+
};
|
|
794
|
+
readonly init: {
|
|
766
795
|
verbose: {
|
|
767
796
|
type: "boolean";
|
|
768
797
|
description: string;
|
|
@@ -790,8 +819,6 @@ export declare const schemas: {
|
|
|
790
819
|
description: string;
|
|
791
820
|
alias: string;
|
|
792
821
|
};
|
|
793
|
-
};
|
|
794
|
-
readonly init: {
|
|
795
822
|
workDir: {
|
|
796
823
|
type: "string";
|
|
797
824
|
description: string;
|
|
@@ -810,6 +837,8 @@ export declare const schemas: {
|
|
|
810
837
|
type: "string";
|
|
811
838
|
description: string;
|
|
812
839
|
};
|
|
840
|
+
};
|
|
841
|
+
readonly generate: {
|
|
813
842
|
verbose: {
|
|
814
843
|
type: "boolean";
|
|
815
844
|
description: string;
|
|
@@ -837,13 +866,13 @@ export declare const schemas: {
|
|
|
837
866
|
description: string;
|
|
838
867
|
alias: string;
|
|
839
868
|
};
|
|
840
|
-
};
|
|
841
|
-
readonly generate: {
|
|
842
869
|
workDir: {
|
|
843
870
|
type: "string";
|
|
844
871
|
description: string;
|
|
845
872
|
default: string;
|
|
846
873
|
};
|
|
874
|
+
};
|
|
875
|
+
readonly bundle: {
|
|
847
876
|
verbose: {
|
|
848
877
|
type: "boolean";
|
|
849
878
|
description: string;
|
|
@@ -871,8 +900,11 @@ export declare const schemas: {
|
|
|
871
900
|
description: string;
|
|
872
901
|
alias: string;
|
|
873
902
|
};
|
|
874
|
-
|
|
875
|
-
|
|
903
|
+
workDir: {
|
|
904
|
+
type: "string";
|
|
905
|
+
description: string;
|
|
906
|
+
default: string;
|
|
907
|
+
};
|
|
876
908
|
sourceMap: {
|
|
877
909
|
type: "boolean";
|
|
878
910
|
description: string;
|
|
@@ -883,11 +915,8 @@ export declare const schemas: {
|
|
|
883
915
|
description: string;
|
|
884
916
|
default: boolean;
|
|
885
917
|
};
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
description: string;
|
|
889
|
-
default: string;
|
|
890
|
-
};
|
|
918
|
+
};
|
|
919
|
+
readonly build: {
|
|
891
920
|
verbose: {
|
|
892
921
|
type: "boolean";
|
|
893
922
|
description: string;
|
|
@@ -915,8 +944,11 @@ export declare const schemas: {
|
|
|
915
944
|
description: string;
|
|
916
945
|
alias: string;
|
|
917
946
|
};
|
|
918
|
-
|
|
919
|
-
|
|
947
|
+
workDir: {
|
|
948
|
+
type: "string";
|
|
949
|
+
description: string;
|
|
950
|
+
default: string;
|
|
951
|
+
};
|
|
920
952
|
sourceMap: {
|
|
921
953
|
type: "boolean";
|
|
922
954
|
description: string;
|
|
@@ -927,11 +959,8 @@ export declare const schemas: {
|
|
|
927
959
|
description: string;
|
|
928
960
|
default: boolean;
|
|
929
961
|
};
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
description: string;
|
|
933
|
-
default: string;
|
|
934
|
-
};
|
|
962
|
+
};
|
|
963
|
+
readonly read: {
|
|
935
964
|
verbose: {
|
|
936
965
|
type: "boolean";
|
|
937
966
|
description: string;
|
|
@@ -959,13 +988,13 @@ export declare const schemas: {
|
|
|
959
988
|
description: string;
|
|
960
989
|
alias: string;
|
|
961
990
|
};
|
|
962
|
-
};
|
|
963
|
-
readonly read: {
|
|
964
991
|
workDir: {
|
|
965
992
|
type: "string";
|
|
966
993
|
description: string;
|
|
967
994
|
default: string;
|
|
968
995
|
};
|
|
996
|
+
};
|
|
997
|
+
readonly serve: {
|
|
969
998
|
verbose: {
|
|
970
999
|
type: "boolean";
|
|
971
1000
|
description: string;
|
|
@@ -993,11 +1022,10 @@ export declare const schemas: {
|
|
|
993
1022
|
description: string;
|
|
994
1023
|
alias: string;
|
|
995
1024
|
};
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
port: {
|
|
999
|
-
type: "number";
|
|
1025
|
+
workDir: {
|
|
1026
|
+
type: "string";
|
|
1000
1027
|
description: string;
|
|
1028
|
+
default: string;
|
|
1001
1029
|
};
|
|
1002
1030
|
secrets: {
|
|
1003
1031
|
type: "string";
|
|
@@ -1005,43 +1033,65 @@ export declare const schemas: {
|
|
|
1005
1033
|
array: true;
|
|
1006
1034
|
default: never[];
|
|
1007
1035
|
};
|
|
1008
|
-
|
|
1009
|
-
type: "
|
|
1036
|
+
port: {
|
|
1037
|
+
type: "number";
|
|
1010
1038
|
description: string;
|
|
1011
|
-
default: string;
|
|
1012
1039
|
};
|
|
1013
|
-
|
|
1040
|
+
};
|
|
1041
|
+
readonly deploy: {
|
|
1042
|
+
readonly verbose: {
|
|
1014
1043
|
type: "boolean";
|
|
1015
1044
|
description: string;
|
|
1016
1045
|
alias: string;
|
|
1017
1046
|
default: boolean;
|
|
1018
1047
|
};
|
|
1019
|
-
confirm: {
|
|
1048
|
+
readonly confirm: {
|
|
1020
1049
|
type: "boolean";
|
|
1021
1050
|
description: string;
|
|
1022
1051
|
alias: string;
|
|
1023
1052
|
default: boolean;
|
|
1024
1053
|
};
|
|
1025
|
-
json: {
|
|
1054
|
+
readonly json: {
|
|
1026
1055
|
type: "boolean";
|
|
1027
1056
|
description: string;
|
|
1028
1057
|
default: boolean;
|
|
1029
1058
|
};
|
|
1030
|
-
botpressHome: {
|
|
1059
|
+
readonly botpressHome: {
|
|
1031
1060
|
type: "string";
|
|
1032
1061
|
description: string;
|
|
1033
1062
|
default: string;
|
|
1034
1063
|
};
|
|
1035
|
-
profile: {
|
|
1064
|
+
readonly profile: {
|
|
1036
1065
|
type: "string";
|
|
1037
1066
|
description: string;
|
|
1038
1067
|
alias: string;
|
|
1039
1068
|
};
|
|
1040
|
-
|
|
1041
|
-
|
|
1069
|
+
readonly workDir: {
|
|
1070
|
+
type: "string";
|
|
1071
|
+
description: string;
|
|
1072
|
+
default: string;
|
|
1073
|
+
};
|
|
1074
|
+
readonly apiUrl: {
|
|
1075
|
+
type: "string";
|
|
1076
|
+
description: string;
|
|
1077
|
+
};
|
|
1078
|
+
readonly workspaceId: {
|
|
1079
|
+
type: "string";
|
|
1080
|
+
description: string;
|
|
1081
|
+
};
|
|
1082
|
+
readonly token: {
|
|
1083
|
+
type: "string";
|
|
1084
|
+
description: string;
|
|
1085
|
+
};
|
|
1086
|
+
readonly secrets: {
|
|
1087
|
+
type: "string";
|
|
1088
|
+
description: string;
|
|
1089
|
+
array: true;
|
|
1090
|
+
default: never[];
|
|
1091
|
+
};
|
|
1042
1092
|
readonly botId: {
|
|
1043
|
-
readonly type:
|
|
1044
|
-
readonly description:
|
|
1093
|
+
readonly type: 'string';
|
|
1094
|
+
readonly description: 'The bot ID to deploy. Only used when deploying a bot';
|
|
1045
1095
|
};
|
|
1046
1096
|
readonly noBuild: {
|
|
1047
1097
|
type: "boolean";
|
|
@@ -1049,13 +1099,13 @@ export declare const schemas: {
|
|
|
1049
1099
|
default: boolean;
|
|
1050
1100
|
};
|
|
1051
1101
|
readonly dryRun: {
|
|
1052
|
-
readonly type:
|
|
1053
|
-
readonly description:
|
|
1102
|
+
readonly type: 'boolean';
|
|
1103
|
+
readonly description: 'Ask the API not to perform the actual operation';
|
|
1054
1104
|
readonly default: false;
|
|
1055
1105
|
};
|
|
1056
1106
|
readonly createNewBot: {
|
|
1057
|
-
readonly type:
|
|
1058
|
-
readonly description:
|
|
1107
|
+
readonly type: 'boolean';
|
|
1108
|
+
readonly description: 'Create a new bot when deploying. Only used when deploying a bot';
|
|
1059
1109
|
};
|
|
1060
1110
|
readonly sourceMap: {
|
|
1061
1111
|
type: "boolean";
|
|
@@ -1068,10 +1118,10 @@ export declare const schemas: {
|
|
|
1068
1118
|
default: boolean;
|
|
1069
1119
|
};
|
|
1070
1120
|
readonly visibility: {
|
|
1071
|
-
readonly type:
|
|
1121
|
+
readonly type: 'string';
|
|
1072
1122
|
readonly choices: readonly ["public", "private", "unlisted"];
|
|
1073
|
-
readonly description:
|
|
1074
|
-
readonly default:
|
|
1123
|
+
readonly description: 'The visibility of the project. By default, projects are always private. Unlisted visibility is only supported for integrations and plugins.';
|
|
1124
|
+
readonly default: 'private';
|
|
1075
1125
|
};
|
|
1076
1126
|
readonly public: {
|
|
1077
1127
|
type: "boolean";
|
|
@@ -1080,71 +1130,60 @@ export declare const schemas: {
|
|
|
1080
1130
|
deprecated: true;
|
|
1081
1131
|
};
|
|
1082
1132
|
readonly allowDeprecated: {
|
|
1083
|
-
readonly type:
|
|
1084
|
-
readonly description:
|
|
1133
|
+
readonly type: 'boolean';
|
|
1134
|
+
readonly description: 'Allow deprecated features in the project';
|
|
1085
1135
|
readonly default: false;
|
|
1086
1136
|
};
|
|
1087
1137
|
readonly url: {
|
|
1088
|
-
readonly type:
|
|
1089
|
-
readonly description:
|
|
1138
|
+
readonly type: 'string';
|
|
1139
|
+
readonly description: 'Custom URL for the integration. Only used when deploying an integration';
|
|
1090
1140
|
};
|
|
1091
1141
|
readonly bypassBreakingChangeDetection: {
|
|
1092
|
-
readonly type:
|
|
1142
|
+
readonly type: 'boolean';
|
|
1093
1143
|
readonly hidden: true;
|
|
1094
1144
|
readonly default: false;
|
|
1095
1145
|
};
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
array: true;
|
|
1100
|
-
default: never[];
|
|
1101
|
-
};
|
|
1102
|
-
readonly apiUrl: {
|
|
1103
|
-
type: "string";
|
|
1104
|
-
description: string;
|
|
1105
|
-
};
|
|
1106
|
-
readonly workspaceId: {
|
|
1107
|
-
type: "string";
|
|
1108
|
-
description: string;
|
|
1109
|
-
};
|
|
1110
|
-
readonly token: {
|
|
1111
|
-
type: "string";
|
|
1112
|
-
description: string;
|
|
1113
|
-
};
|
|
1114
|
-
readonly workDir: {
|
|
1115
|
-
type: "string";
|
|
1116
|
-
description: string;
|
|
1117
|
-
default: string;
|
|
1118
|
-
};
|
|
1119
|
-
readonly verbose: {
|
|
1146
|
+
};
|
|
1147
|
+
readonly add: {
|
|
1148
|
+
verbose: {
|
|
1120
1149
|
type: "boolean";
|
|
1121
1150
|
description: string;
|
|
1122
1151
|
alias: string;
|
|
1123
1152
|
default: boolean;
|
|
1124
1153
|
};
|
|
1125
|
-
|
|
1154
|
+
confirm: {
|
|
1126
1155
|
type: "boolean";
|
|
1127
1156
|
description: string;
|
|
1128
1157
|
alias: string;
|
|
1129
1158
|
default: boolean;
|
|
1130
1159
|
};
|
|
1131
|
-
|
|
1160
|
+
json: {
|
|
1132
1161
|
type: "boolean";
|
|
1133
1162
|
description: string;
|
|
1134
1163
|
default: boolean;
|
|
1135
1164
|
};
|
|
1136
|
-
|
|
1165
|
+
botpressHome: {
|
|
1137
1166
|
type: "string";
|
|
1138
1167
|
description: string;
|
|
1139
1168
|
default: string;
|
|
1140
1169
|
};
|
|
1141
|
-
|
|
1170
|
+
profile: {
|
|
1142
1171
|
type: "string";
|
|
1143
1172
|
description: string;
|
|
1144
1173
|
alias: string;
|
|
1145
1174
|
};
|
|
1146
|
-
|
|
1147
|
-
|
|
1175
|
+
apiUrl: {
|
|
1176
|
+
type: "string";
|
|
1177
|
+
description: string;
|
|
1178
|
+
};
|
|
1179
|
+
workspaceId: {
|
|
1180
|
+
type: "string";
|
|
1181
|
+
description: string;
|
|
1182
|
+
};
|
|
1183
|
+
token: {
|
|
1184
|
+
type: "string";
|
|
1185
|
+
description: string;
|
|
1186
|
+
};
|
|
1148
1187
|
packageRef: {
|
|
1149
1188
|
type: "string";
|
|
1150
1189
|
description: string;
|
|
@@ -1165,18 +1204,8 @@ export declare const schemas: {
|
|
|
1165
1204
|
type: "string";
|
|
1166
1205
|
description: string;
|
|
1167
1206
|
};
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
description: string;
|
|
1171
|
-
};
|
|
1172
|
-
workspaceId: {
|
|
1173
|
-
type: "string";
|
|
1174
|
-
description: string;
|
|
1175
|
-
};
|
|
1176
|
-
token: {
|
|
1177
|
-
type: "string";
|
|
1178
|
-
description: string;
|
|
1179
|
-
};
|
|
1207
|
+
};
|
|
1208
|
+
readonly remove: {
|
|
1180
1209
|
verbose: {
|
|
1181
1210
|
type: "boolean";
|
|
1182
1211
|
description: string;
|
|
@@ -1204,31 +1233,31 @@ export declare const schemas: {
|
|
|
1204
1233
|
description: string;
|
|
1205
1234
|
alias: string;
|
|
1206
1235
|
};
|
|
1207
|
-
|
|
1208
|
-
readonly remove: {
|
|
1209
|
-
workDir: {
|
|
1236
|
+
apiUrl: {
|
|
1210
1237
|
type: "string";
|
|
1211
1238
|
description: string;
|
|
1212
|
-
default: string;
|
|
1213
1239
|
};
|
|
1214
|
-
|
|
1215
|
-
idx: number;
|
|
1216
|
-
positional: true;
|
|
1240
|
+
workspaceId: {
|
|
1217
1241
|
type: "string";
|
|
1218
1242
|
description: string;
|
|
1219
1243
|
};
|
|
1220
|
-
|
|
1244
|
+
token: {
|
|
1221
1245
|
type: "string";
|
|
1222
1246
|
description: string;
|
|
1223
1247
|
};
|
|
1224
|
-
|
|
1248
|
+
workDir: {
|
|
1225
1249
|
type: "string";
|
|
1226
1250
|
description: string;
|
|
1251
|
+
default: string;
|
|
1227
1252
|
};
|
|
1228
|
-
|
|
1253
|
+
alias: {
|
|
1254
|
+
idx: number;
|
|
1255
|
+
positional: true;
|
|
1229
1256
|
type: "string";
|
|
1230
1257
|
description: string;
|
|
1231
1258
|
};
|
|
1259
|
+
};
|
|
1260
|
+
readonly dev: {
|
|
1232
1261
|
verbose: {
|
|
1233
1262
|
type: "boolean";
|
|
1234
1263
|
description: string;
|
|
@@ -1256,8 +1285,29 @@ export declare const schemas: {
|
|
|
1256
1285
|
description: string;
|
|
1257
1286
|
alias: string;
|
|
1258
1287
|
};
|
|
1259
|
-
|
|
1260
|
-
|
|
1288
|
+
workDir: {
|
|
1289
|
+
type: "string";
|
|
1290
|
+
description: string;
|
|
1291
|
+
default: string;
|
|
1292
|
+
};
|
|
1293
|
+
apiUrl: {
|
|
1294
|
+
type: "string";
|
|
1295
|
+
description: string;
|
|
1296
|
+
};
|
|
1297
|
+
workspaceId: {
|
|
1298
|
+
type: "string";
|
|
1299
|
+
description: string;
|
|
1300
|
+
};
|
|
1301
|
+
token: {
|
|
1302
|
+
type: "string";
|
|
1303
|
+
description: string;
|
|
1304
|
+
};
|
|
1305
|
+
secrets: {
|
|
1306
|
+
type: "string";
|
|
1307
|
+
description: string;
|
|
1308
|
+
array: true;
|
|
1309
|
+
default: never[];
|
|
1310
|
+
};
|
|
1261
1311
|
sourceMap: {
|
|
1262
1312
|
type: "boolean";
|
|
1263
1313
|
description: string;
|
|
@@ -1292,29 +1342,8 @@ export declare const schemas: {
|
|
|
1292
1342
|
default: boolean;
|
|
1293
1343
|
alias: string;
|
|
1294
1344
|
};
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
description: string;
|
|
1298
|
-
array: true;
|
|
1299
|
-
default: never[];
|
|
1300
|
-
};
|
|
1301
|
-
apiUrl: {
|
|
1302
|
-
type: "string";
|
|
1303
|
-
description: string;
|
|
1304
|
-
};
|
|
1305
|
-
workspaceId: {
|
|
1306
|
-
type: "string";
|
|
1307
|
-
description: string;
|
|
1308
|
-
};
|
|
1309
|
-
token: {
|
|
1310
|
-
type: "string";
|
|
1311
|
-
description: string;
|
|
1312
|
-
};
|
|
1313
|
-
workDir: {
|
|
1314
|
-
type: "string";
|
|
1315
|
-
description: string;
|
|
1316
|
-
default: string;
|
|
1317
|
-
};
|
|
1345
|
+
};
|
|
1346
|
+
readonly lint: {
|
|
1318
1347
|
verbose: {
|
|
1319
1348
|
type: "boolean";
|
|
1320
1349
|
description: string;
|
|
@@ -1342,13 +1371,13 @@ export declare const schemas: {
|
|
|
1342
1371
|
description: string;
|
|
1343
1372
|
alias: string;
|
|
1344
1373
|
};
|
|
1345
|
-
};
|
|
1346
|
-
readonly lint: {
|
|
1347
1374
|
workDir: {
|
|
1348
1375
|
type: "string";
|
|
1349
1376
|
description: string;
|
|
1350
1377
|
default: string;
|
|
1351
1378
|
};
|
|
1379
|
+
};
|
|
1380
|
+
readonly chat: {
|
|
1352
1381
|
verbose: {
|
|
1353
1382
|
type: "boolean";
|
|
1354
1383
|
description: string;
|
|
@@ -1376,35 +1405,35 @@ export declare const schemas: {
|
|
|
1376
1405
|
description: string;
|
|
1377
1406
|
alias: string;
|
|
1378
1407
|
};
|
|
1379
|
-
|
|
1380
|
-
readonly chat: {
|
|
1381
|
-
chatApiUrl: {
|
|
1408
|
+
apiUrl: {
|
|
1382
1409
|
type: "string";
|
|
1383
1410
|
description: string;
|
|
1384
1411
|
};
|
|
1385
|
-
|
|
1412
|
+
workspaceId: {
|
|
1386
1413
|
type: "string";
|
|
1387
|
-
positional: true;
|
|
1388
|
-
idx: number;
|
|
1389
1414
|
description: string;
|
|
1390
1415
|
};
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
default: "sse";
|
|
1416
|
+
token: {
|
|
1417
|
+
type: "string";
|
|
1394
1418
|
description: string;
|
|
1395
1419
|
};
|
|
1396
|
-
|
|
1420
|
+
chatApiUrl: {
|
|
1397
1421
|
type: "string";
|
|
1398
1422
|
description: string;
|
|
1399
1423
|
};
|
|
1400
|
-
|
|
1424
|
+
botId: {
|
|
1401
1425
|
type: "string";
|
|
1426
|
+
positional: true;
|
|
1427
|
+
idx: number;
|
|
1402
1428
|
description: string;
|
|
1403
1429
|
};
|
|
1404
|
-
|
|
1405
|
-
|
|
1430
|
+
protocol: {
|
|
1431
|
+
choices: ("sse" | "websocket")[];
|
|
1432
|
+
default: 'sse';
|
|
1406
1433
|
description: string;
|
|
1407
1434
|
};
|
|
1435
|
+
};
|
|
1436
|
+
readonly listProfiles: {
|
|
1408
1437
|
verbose: {
|
|
1409
1438
|
type: "boolean";
|
|
1410
1439
|
description: string;
|
|
@@ -1432,13 +1461,13 @@ export declare const schemas: {
|
|
|
1432
1461
|
description: string;
|
|
1433
1462
|
alias: string;
|
|
1434
1463
|
};
|
|
1435
|
-
};
|
|
1436
|
-
readonly listProfiles: {
|
|
1437
1464
|
displayToken: {
|
|
1438
1465
|
type: "boolean";
|
|
1439
1466
|
description: string;
|
|
1440
1467
|
default: boolean;
|
|
1441
1468
|
};
|
|
1469
|
+
};
|
|
1470
|
+
readonly activeProfile: {
|
|
1442
1471
|
verbose: {
|
|
1443
1472
|
type: "boolean";
|
|
1444
1473
|
description: string;
|
|
@@ -1466,13 +1495,13 @@ export declare const schemas: {
|
|
|
1466
1495
|
description: string;
|
|
1467
1496
|
alias: string;
|
|
1468
1497
|
};
|
|
1469
|
-
};
|
|
1470
|
-
readonly activeProfile: {
|
|
1471
1498
|
displayToken: {
|
|
1472
1499
|
type: "boolean";
|
|
1473
1500
|
description: string;
|
|
1474
1501
|
default: boolean;
|
|
1475
1502
|
};
|
|
1503
|
+
};
|
|
1504
|
+
readonly useProfile: {
|
|
1476
1505
|
verbose: {
|
|
1477
1506
|
type: "boolean";
|
|
1478
1507
|
description: string;
|
|
@@ -1500,14 +1529,14 @@ export declare const schemas: {
|
|
|
1500
1529
|
description: string;
|
|
1501
1530
|
alias: string;
|
|
1502
1531
|
};
|
|
1503
|
-
};
|
|
1504
|
-
readonly useProfile: {
|
|
1505
1532
|
profileToUse: {
|
|
1506
1533
|
type: "string";
|
|
1507
1534
|
description: string;
|
|
1508
1535
|
positional: true;
|
|
1509
1536
|
idx: number;
|
|
1510
1537
|
};
|
|
1538
|
+
};
|
|
1539
|
+
readonly getProfile: {
|
|
1511
1540
|
verbose: {
|
|
1512
1541
|
type: "boolean";
|
|
1513
1542
|
description: string;
|
|
@@ -1535,8 +1564,6 @@ export declare const schemas: {
|
|
|
1535
1564
|
description: string;
|
|
1536
1565
|
alias: string;
|
|
1537
1566
|
};
|
|
1538
|
-
};
|
|
1539
|
-
readonly getProfile: {
|
|
1540
1567
|
profileToGet: {
|
|
1541
1568
|
type: "string";
|
|
1542
1569
|
description: string;
|
|
@@ -1548,32 +1575,5 @@ export declare const schemas: {
|
|
|
1548
1575
|
description: string;
|
|
1549
1576
|
default: boolean;
|
|
1550
1577
|
};
|
|
1551
|
-
verbose: {
|
|
1552
|
-
type: "boolean";
|
|
1553
|
-
description: string;
|
|
1554
|
-
alias: string;
|
|
1555
|
-
default: boolean;
|
|
1556
|
-
};
|
|
1557
|
-
confirm: {
|
|
1558
|
-
type: "boolean";
|
|
1559
|
-
description: string;
|
|
1560
|
-
alias: string;
|
|
1561
|
-
default: boolean;
|
|
1562
|
-
};
|
|
1563
|
-
json: {
|
|
1564
|
-
type: "boolean";
|
|
1565
|
-
description: string;
|
|
1566
|
-
default: boolean;
|
|
1567
|
-
};
|
|
1568
|
-
botpressHome: {
|
|
1569
|
-
type: "string";
|
|
1570
|
-
description: string;
|
|
1571
|
-
default: string;
|
|
1572
|
-
};
|
|
1573
|
-
profile: {
|
|
1574
|
-
type: "string";
|
|
1575
|
-
description: string;
|
|
1576
|
-
alias: string;
|
|
1577
|
-
};
|
|
1578
1578
|
};
|
|
1579
1579
|
};
|