@botpress/api 0.13.1 → 0.14.0

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.
@@ -12,6 +12,7 @@ export declare const state: {
12
12
  properties: {
13
13
  channel: {
14
14
  type: "string";
15
+ maxLength: number;
15
16
  description: string;
16
17
  };
17
18
  tags: {
@@ -24,6 +25,7 @@ export declare const state: {
24
25
  };
25
26
  integrationName: {
26
27
  type: "string";
28
+ maxLength: number;
27
29
  description: string;
28
30
  };
29
31
  };
@@ -147,6 +149,7 @@ export declare const state: {
147
149
  properties: {
148
150
  channel: {
149
151
  type: "string";
152
+ maxLength: number;
150
153
  description: string;
151
154
  };
152
155
  tags: {
@@ -159,6 +162,7 @@ export declare const state: {
159
162
  };
160
163
  integrationName: {
161
164
  type: "string";
165
+ maxLength: number;
162
166
  description: string;
163
167
  };
164
168
  };
@@ -317,6 +321,8 @@ export declare const state: {
317
321
  properties: {
318
322
  userId: {
319
323
  type: "string";
324
+ minLength: number;
325
+ maxLength: number;
320
326
  description: string;
321
327
  };
322
328
  };
@@ -414,6 +420,7 @@ export declare const state: {
414
420
  properties: {
415
421
  type: {
416
422
  type: "string";
423
+ maxLength: number;
417
424
  description: string;
418
425
  };
419
426
  payload: {
@@ -426,6 +433,8 @@ export declare const state: {
426
433
  properties: {
427
434
  dateTime: {
428
435
  type: "string";
436
+ maxLength: number;
437
+ minLength: number;
429
438
  description: string;
430
439
  };
431
440
  delay: {
@@ -438,14 +447,20 @@ export declare const state: {
438
447
  };
439
448
  conversationId: {
440
449
  type: "string";
450
+ minLength: number;
451
+ maxLength: number;
441
452
  description: string;
442
453
  };
443
454
  userId: {
444
455
  type: "string";
456
+ minLength: number;
457
+ maxLength: number;
445
458
  description: string;
446
459
  };
447
460
  messageId: {
448
461
  type: "string";
462
+ minLength: number;
463
+ maxLength: number;
449
464
  description: string;
450
465
  };
451
466
  };
@@ -577,14 +592,19 @@ export declare const state: {
577
592
  };
578
593
  userId: {
579
594
  type: "string";
595
+ minLength: number;
596
+ maxLength: number;
580
597
  description: string;
581
598
  };
582
599
  conversationId: {
583
600
  type: "string";
601
+ minLength: number;
602
+ maxLength: number;
584
603
  description: string;
585
604
  };
586
605
  type: {
587
606
  type: "string";
607
+ maxLength: number;
588
608
  description: string;
589
609
  };
590
610
  tags: {
@@ -600,6 +620,8 @@ export declare const state: {
600
620
  properties: {
601
621
  dateTime: {
602
622
  type: "string";
623
+ maxLength: number;
624
+ minLength: number;
603
625
  description: string;
604
626
  };
605
627
  delay: {
@@ -651,14 +673,19 @@ export declare const state: {
651
673
  };
652
674
  userId: {
653
675
  type: "string";
676
+ minLength: number;
677
+ maxLength: number;
654
678
  description: string;
655
679
  };
656
680
  conversationId: {
657
681
  type: "string";
682
+ minLength: number;
683
+ maxLength: number;
658
684
  description: string;
659
685
  };
660
686
  type: {
661
687
  type: "string";
688
+ maxLength: number;
662
689
  description: string;
663
690
  };
664
691
  tags: {
@@ -674,6 +701,8 @@ export declare const state: {
674
701
  properties: {
675
702
  dateTime: {
676
703
  type: "string";
704
+ maxLength: number;
705
+ minLength: number;
677
706
  description: string;
678
707
  };
679
708
  delay: {
@@ -880,14 +909,17 @@ export declare const state: {
880
909
  };
881
910
  integrationName: {
882
911
  type: "string";
912
+ maxLength: number;
883
913
  description: string;
884
914
  };
885
915
  name: {
886
916
  type: "string";
917
+ maxLength: number;
887
918
  description: string;
888
919
  };
889
920
  pictureUrl: {
890
921
  type: "string";
922
+ maxLength: number;
891
923
  description: string;
892
924
  };
893
925
  };
@@ -1019,14 +1051,17 @@ export declare const state: {
1019
1051
  };
1020
1052
  integrationName: {
1021
1053
  type: "string";
1054
+ maxLength: number;
1022
1055
  description: string;
1023
1056
  };
1024
1057
  name: {
1025
1058
  type: "string";
1059
+ maxLength: number;
1026
1060
  description: string;
1027
1061
  };
1028
1062
  pictureUrl: {
1029
1063
  type: "string";
1064
+ maxLength: number;
1030
1065
  description: string;
1031
1066
  };
1032
1067
  };
@@ -1079,16 +1114,16 @@ export declare const state: {
1079
1114
  };
1080
1115
  name: {
1081
1116
  type: "string";
1082
- nullable: true;
1117
+ maxLength: number;
1083
1118
  description: string;
1084
1119
  };
1085
1120
  pictureUrl: {
1086
1121
  type: "string";
1122
+ maxLength: number;
1087
1123
  nullable: true;
1088
1124
  description: string;
1089
1125
  };
1090
1126
  };
1091
- required: string[];
1092
1127
  title: string;
1093
1128
  additionalProperties: false;
1094
1129
  };
@@ -1300,6 +1335,7 @@ export declare const state: {
1300
1335
  properties: {
1301
1336
  type: {
1302
1337
  type: "string";
1338
+ maxLength: number;
1303
1339
  description: string;
1304
1340
  };
1305
1341
  input: {
@@ -1343,6 +1379,7 @@ export declare const state: {
1343
1379
  properties: {
1344
1380
  identifier: {
1345
1381
  type: "string";
1382
+ maxLength: number;
1346
1383
  description: string;
1347
1384
  };
1348
1385
  };
@@ -1563,14 +1600,18 @@ export declare const state: {
1563
1600
  properties: {
1564
1601
  id: {
1565
1602
  type: "string";
1603
+ minLength: number;
1604
+ maxLength: number;
1566
1605
  description: string;
1567
1606
  };
1568
1607
  name: {
1569
1608
  type: "string";
1609
+ maxLength: number;
1570
1610
  description: string;
1571
1611
  };
1572
1612
  version: {
1573
1613
  type: "string";
1614
+ maxLength: number;
1574
1615
  description: string;
1575
1616
  };
1576
1617
  createdAt: {
@@ -1759,6 +1800,8 @@ export declare const state: {
1759
1800
  properties: {
1760
1801
  cron: {
1761
1802
  type: "string";
1803
+ maxLength: number;
1804
+ description: string;
1762
1805
  };
1763
1806
  };
1764
1807
  required: string[];
@@ -1766,6 +1809,8 @@ export declare const state: {
1766
1809
  };
1767
1810
  type: {
1768
1811
  type: "string";
1812
+ maxLength: number;
1813
+ description: string;
1769
1814
  };
1770
1815
  payload: {
1771
1816
  type: "object";
@@ -2113,6 +2158,8 @@ export declare const state: {
2113
2158
  properties: {
2114
2159
  cron: {
2115
2160
  type: "string";
2161
+ maxLength: number;
2162
+ description: string;
2116
2163
  };
2117
2164
  };
2118
2165
  required: string[];
@@ -2120,6 +2167,8 @@ export declare const state: {
2120
2167
  };
2121
2168
  type: {
2122
2169
  type: "string";
2170
+ maxLength: number;
2171
+ description: string;
2123
2172
  };
2124
2173
  payload: {
2125
2174
  type: "object";
@@ -2256,7 +2305,8 @@ export declare const state: {
2256
2305
  properties: {
2257
2306
  id: {
2258
2307
  type: "string";
2259
- format: string;
2308
+ minLength: number;
2309
+ maxLength: number;
2260
2310
  description: string;
2261
2311
  };
2262
2312
  createdAt: {
@@ -3868,10 +3918,12 @@ export declare const state: {
3868
3918
  properties: {
3869
3919
  name: {
3870
3920
  type: "string";
3921
+ maxLength: number;
3871
3922
  description: string;
3872
3923
  };
3873
3924
  version: {
3874
3925
  type: "string";
3926
+ maxLength: number;
3875
3927
  description: string;
3876
3928
  };
3877
3929
  configuration: {
@@ -3890,6 +3942,8 @@ export declare const state: {
3890
3942
  };
3891
3943
  linkTemplateScript: {
3892
3944
  type: "string";
3945
+ maxLength: number;
3946
+ description: string;
3893
3947
  };
3894
3948
  };
3895
3949
  additionalProperties: false;
@@ -3991,9 +4045,13 @@ export declare const state: {
3991
4045
  properties: {
3992
4046
  fallbackHandlerScript: {
3993
4047
  type: "string";
4048
+ maxLength: number;
4049
+ description: string;
3994
4050
  };
3995
4051
  extractScript: {
3996
4052
  type: "string";
4053
+ maxLength: number;
4054
+ description: string;
3997
4055
  };
3998
4056
  };
3999
4057
  additionalProperties: false;
@@ -4233,6 +4291,8 @@ export declare const state: {
4233
4291
  properties: {
4234
4292
  linkTemplateScript: {
4235
4293
  type: "string";
4294
+ maxLength: number;
4295
+ description: string;
4236
4296
  nullable: true;
4237
4297
  };
4238
4298
  required: {
@@ -4358,10 +4418,14 @@ export declare const state: {
4358
4418
  properties: {
4359
4419
  extractScript: {
4360
4420
  type: "string";
4421
+ maxLength: number;
4422
+ description: string;
4361
4423
  nullable: true;
4362
4424
  };
4363
4425
  fallbackHandlerScript: {
4364
4426
  type: "string";
4427
+ maxLength: number;
4428
+ description: string;
4365
4429
  nullable: true;
4366
4430
  };
4367
4431
  };
@@ -4587,14 +4651,18 @@ export declare const state: {
4587
4651
  properties: {
4588
4652
  id: {
4589
4653
  type: "string";
4654
+ minLength: number;
4655
+ maxLength: number;
4590
4656
  description: string;
4591
4657
  };
4592
4658
  name: {
4593
4659
  type: "string";
4660
+ maxLength: number;
4594
4661
  description: string;
4595
4662
  };
4596
4663
  version: {
4597
4664
  type: "string";
4665
+ maxLength: number;
4598
4666
  description: string;
4599
4667
  };
4600
4668
  createdAt: {
@@ -5277,7 +5345,8 @@ export declare const state: {
5277
5345
  properties: {
5278
5346
  id: {
5279
5347
  type: "string";
5280
- format: string;
5348
+ minLength: number;
5349
+ maxLength: number;
5281
5350
  description: string;
5282
5351
  };
5283
5352
  createdAt: {
@@ -5292,6 +5361,7 @@ export declare const state: {
5292
5361
  };
5293
5362
  signingSecret: {
5294
5363
  type: "string";
5364
+ maxLength: number;
5295
5365
  description: string;
5296
5366
  };
5297
5367
  integrations: {
@@ -5304,20 +5374,28 @@ export declare const state: {
5304
5374
  };
5305
5375
  name: {
5306
5376
  type: "string";
5377
+ maxLength: number;
5307
5378
  description: string;
5308
5379
  };
5309
5380
  version: {
5310
5381
  type: "string";
5382
+ maxLength: number;
5311
5383
  description: string;
5312
5384
  };
5313
5385
  webhookUrl: {
5314
5386
  type: "string";
5387
+ maxLength: number;
5388
+ description: string;
5315
5389
  };
5316
5390
  webhookId: {
5317
5391
  type: "string";
5392
+ maxLength: number;
5393
+ description: string;
5318
5394
  };
5319
5395
  identifier: {
5320
5396
  type: "string";
5397
+ maxLength: number;
5398
+ description: string;
5321
5399
  };
5322
5400
  configuration: {
5323
5401
  type: "object";
@@ -5329,10 +5407,14 @@ export declare const state: {
5329
5407
  };
5330
5408
  statusReason: {
5331
5409
  type: "string";
5410
+ maxLength: number;
5411
+ description: string;
5332
5412
  nullable: true;
5333
5413
  };
5334
5414
  id: {
5335
5415
  type: "string";
5416
+ minLength: number;
5417
+ maxLength: number;
5336
5418
  description: string;
5337
5419
  };
5338
5420
  createdAt: {
@@ -5530,6 +5612,8 @@ export declare const state: {
5530
5612
  properties: {
5531
5613
  cron: {
5532
5614
  type: "string";
5615
+ maxLength: number;
5616
+ description: string;
5533
5617
  };
5534
5618
  };
5535
5619
  required: string[];
@@ -5537,6 +5621,8 @@ export declare const state: {
5537
5621
  };
5538
5622
  type: {
5539
5623
  type: "string";
5624
+ maxLength: number;
5625
+ description: string;
5540
5626
  };
5541
5627
  payload: {
5542
5628
  type: "object";
@@ -5595,6 +5681,8 @@ export declare const state: {
5595
5681
  properties: {
5596
5682
  id: {
5597
5683
  type: "string";
5684
+ minLength: number;
5685
+ maxLength: number;
5598
5686
  description: string;
5599
5687
  };
5600
5688
  createdAt: {
@@ -5612,10 +5700,12 @@ export declare const state: {
5612
5700
  properties: {
5613
5701
  fallbackHandlerScript: {
5614
5702
  type: "string";
5703
+ maxLength: number;
5615
5704
  description: string;
5616
5705
  };
5617
5706
  extractScript: {
5618
5707
  type: "string";
5708
+ maxLength: number;
5619
5709
  description: string;
5620
5710
  };
5621
5711
  };
@@ -5624,10 +5714,12 @@ export declare const state: {
5624
5714
  };
5625
5715
  name: {
5626
5716
  type: "string";
5717
+ maxLength: number;
5627
5718
  description: string;
5628
5719
  };
5629
5720
  version: {
5630
5721
  type: "string";
5722
+ maxLength: number;
5631
5723
  description: string;
5632
5724
  };
5633
5725
  configuration: {
@@ -5638,6 +5730,8 @@ export declare const state: {
5638
5730
  properties: {
5639
5731
  linkTemplateScript: {
5640
5732
  type: "string";
5733
+ maxLength: number;
5734
+ description: string;
5641
5735
  };
5642
5736
  required: {
5643
5737
  type: "boolean";
@@ -6147,6 +6241,8 @@ export declare const state: {
6147
6241
  properties: {
6148
6242
  id: {
6149
6243
  type: "string";
6244
+ minLength: number;
6245
+ maxLength: number;
6150
6246
  description: string;
6151
6247
  };
6152
6248
  createdAt: {
@@ -6168,10 +6264,12 @@ export declare const state: {
6168
6264
  };
6169
6265
  name: {
6170
6266
  type: "string";
6267
+ maxLength: number;
6171
6268
  description: string;
6172
6269
  };
6173
6270
  pictureUrl: {
6174
6271
  type: "string";
6272
+ maxLength: number;
6175
6273
  description: string;
6176
6274
  };
6177
6275
  };
@@ -6187,6 +6285,8 @@ export declare const state: {
6187
6285
  properties: {
6188
6286
  id: {
6189
6287
  type: "string";
6288
+ minLength: number;
6289
+ maxLength: number;
6190
6290
  description: string;
6191
6291
  };
6192
6292
  createdAt: {
@@ -6227,6 +6327,8 @@ export declare const state: {
6227
6327
  properties: {
6228
6328
  id: {
6229
6329
  type: "string";
6330
+ minLength: number;
6331
+ maxLength: number;
6230
6332
  description: string;
6231
6333
  };
6232
6334
  createdAt: {
@@ -6236,6 +6338,7 @@ export declare const state: {
6236
6338
  };
6237
6339
  type: {
6238
6340
  type: "string";
6341
+ maxLength: number;
6239
6342
  description: string;
6240
6343
  };
6241
6344
  payload: {
@@ -6245,14 +6348,20 @@ export declare const state: {
6245
6348
  };
6246
6349
  conversationId: {
6247
6350
  type: "string";
6351
+ minLength: number;
6352
+ maxLength: number;
6248
6353
  description: string;
6249
6354
  };
6250
6355
  userId: {
6251
6356
  type: "string";
6357
+ minLength: number;
6358
+ maxLength: number;
6252
6359
  description: string;
6253
6360
  };
6254
6361
  messageId: {
6255
6362
  type: "string";
6363
+ minLength: number;
6364
+ maxLength: number;
6256
6365
  description: string;
6257
6366
  };
6258
6367
  };
@@ -6268,6 +6377,8 @@ export declare const state: {
6268
6377
  properties: {
6269
6378
  id: {
6270
6379
  type: "string";
6380
+ minLength: number;
6381
+ maxLength: number;
6271
6382
  description: string;
6272
6383
  };
6273
6384
  createdAt: {
@@ -6277,6 +6388,7 @@ export declare const state: {
6277
6388
  };
6278
6389
  type: {
6279
6390
  type: "string";
6391
+ maxLength: number;
6280
6392
  description: string;
6281
6393
  };
6282
6394
  payload: {
@@ -6291,10 +6403,14 @@ export declare const state: {
6291
6403
  };
6292
6404
  userId: {
6293
6405
  type: "string";
6406
+ minLength: number;
6407
+ maxLength: number;
6294
6408
  description: string;
6295
6409
  };
6296
6410
  conversationId: {
6297
6411
  type: "string";
6412
+ minLength: number;
6413
+ maxLength: number;
6298
6414
  description: string;
6299
6415
  };
6300
6416
  tags: {
@@ -6317,6 +6433,8 @@ export declare const state: {
6317
6433
  properties: {
6318
6434
  id: {
6319
6435
  type: "string";
6436
+ minLength: number;
6437
+ maxLength: number;
6320
6438
  description: string;
6321
6439
  };
6322
6440
  createdAt: {
@@ -6331,18 +6449,25 @@ export declare const state: {
6331
6449
  };
6332
6450
  botId: {
6333
6451
  type: "string";
6452
+ minLength: number;
6453
+ maxLength: number;
6334
6454
  description: string;
6335
6455
  };
6336
6456
  conversationId: {
6337
6457
  type: "string";
6458
+ minLength: number;
6459
+ maxLength: number;
6338
6460
  description: string;
6339
6461
  };
6340
6462
  userId: {
6341
6463
  type: "string";
6464
+ minLength: number;
6465
+ maxLength: number;
6342
6466
  description: string;
6343
6467
  };
6344
6468
  name: {
6345
6469
  type: "string";
6470
+ maxLength: number;
6346
6471
  description: string;
6347
6472
  };
6348
6473
  type: {