@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.
- package/dist/gen/state.d.ts +129 -4
- package/dist/index.js +1535 -608
- package/package.json +2 -2
- package/src/gen/openapi.json +1 -1
- package/src/gen/state.ts +208 -80
package/src/gen/state.ts
CHANGED
|
@@ -17,7 +17,9 @@ export const state = {
|
|
|
17
17
|
properties: {
|
|
18
18
|
channel: {
|
|
19
19
|
type: "string",
|
|
20
|
-
|
|
20
|
+
maxLength: 200,
|
|
21
|
+
description:
|
|
22
|
+
"Unique identifier of the integration that was installed on the bot",
|
|
21
23
|
},
|
|
22
24
|
tags: {
|
|
23
25
|
type: "object",
|
|
@@ -29,6 +31,7 @@ export const state = {
|
|
|
29
31
|
},
|
|
30
32
|
integrationName: {
|
|
31
33
|
type: "string",
|
|
34
|
+
maxLength: 200,
|
|
32
35
|
description:
|
|
33
36
|
"[DEPRECATED] To create a conversation from within a bot, call an action of the integration instead.",
|
|
34
37
|
},
|
|
@@ -161,7 +164,9 @@ export const state = {
|
|
|
161
164
|
properties: {
|
|
162
165
|
channel: {
|
|
163
166
|
type: "string",
|
|
164
|
-
|
|
167
|
+
maxLength: 200,
|
|
168
|
+
description:
|
|
169
|
+
"Unique identifier of the integration that was installed on the bot",
|
|
165
170
|
},
|
|
166
171
|
tags: {
|
|
167
172
|
type: "object",
|
|
@@ -173,6 +178,7 @@ export const state = {
|
|
|
173
178
|
},
|
|
174
179
|
integrationName: {
|
|
175
180
|
type: "string",
|
|
181
|
+
maxLength: 200,
|
|
176
182
|
description:
|
|
177
183
|
"[DEPRECATED] To create a conversation from within a bot, call an action of the integration instead.",
|
|
178
184
|
},
|
|
@@ -342,6 +348,8 @@ export const state = {
|
|
|
342
348
|
properties: {
|
|
343
349
|
userId: {
|
|
344
350
|
type: "string",
|
|
351
|
+
minLength: 28,
|
|
352
|
+
maxLength: 36,
|
|
345
353
|
description: "User id",
|
|
346
354
|
},
|
|
347
355
|
},
|
|
@@ -442,7 +450,9 @@ export const state = {
|
|
|
442
450
|
properties: {
|
|
443
451
|
type: {
|
|
444
452
|
type: "string",
|
|
445
|
-
|
|
453
|
+
maxLength: 200,
|
|
454
|
+
description:
|
|
455
|
+
"Unique identifier of the integration that was installed on the bot",
|
|
446
456
|
},
|
|
447
457
|
payload: {
|
|
448
458
|
type: "object",
|
|
@@ -455,6 +465,8 @@ export const state = {
|
|
|
455
465
|
properties: {
|
|
456
466
|
dateTime: {
|
|
457
467
|
type: "string",
|
|
468
|
+
maxLength: 28,
|
|
469
|
+
minLength: 24,
|
|
458
470
|
description:
|
|
459
471
|
"When the [Event](#schema_event) will be sent, in the ISO 8601 format",
|
|
460
472
|
},
|
|
@@ -470,16 +482,22 @@ export const state = {
|
|
|
470
482
|
},
|
|
471
483
|
conversationId: {
|
|
472
484
|
type: "string",
|
|
485
|
+
minLength: 28,
|
|
486
|
+
maxLength: 36,
|
|
473
487
|
description:
|
|
474
488
|
"ID of the [Conversation](#schema_conversation) to link the event to.",
|
|
475
489
|
},
|
|
476
490
|
userId: {
|
|
477
491
|
type: "string",
|
|
492
|
+
minLength: 28,
|
|
493
|
+
maxLength: 36,
|
|
478
494
|
description:
|
|
479
495
|
"ID of the [User](#schema_user) to link the event to.",
|
|
480
496
|
},
|
|
481
497
|
messageId: {
|
|
482
498
|
type: "string",
|
|
499
|
+
minLength: 28,
|
|
500
|
+
maxLength: 36,
|
|
483
501
|
description:
|
|
484
502
|
"ID of the [Message](#schema_message) to link the event to.",
|
|
485
503
|
},
|
|
@@ -620,16 +638,21 @@ export const state = {
|
|
|
620
638
|
},
|
|
621
639
|
userId: {
|
|
622
640
|
type: "string",
|
|
623
|
-
|
|
641
|
+
minLength: 28,
|
|
642
|
+
maxLength: 36,
|
|
643
|
+
description: "User id",
|
|
624
644
|
},
|
|
625
645
|
conversationId: {
|
|
626
646
|
type: "string",
|
|
627
|
-
|
|
647
|
+
minLength: 28,
|
|
648
|
+
maxLength: 36,
|
|
649
|
+
description: "User id",
|
|
628
650
|
},
|
|
629
651
|
type: {
|
|
630
652
|
type: "string",
|
|
653
|
+
maxLength: 200,
|
|
631
654
|
description:
|
|
632
|
-
"
|
|
655
|
+
"Unique identifier of the integration that was installed on the bot",
|
|
633
656
|
},
|
|
634
657
|
tags: {
|
|
635
658
|
type: "object",
|
|
@@ -645,8 +668,10 @@ export const state = {
|
|
|
645
668
|
properties: {
|
|
646
669
|
dateTime: {
|
|
647
670
|
type: "string",
|
|
671
|
+
maxLength: 28,
|
|
672
|
+
minLength: 24,
|
|
648
673
|
description:
|
|
649
|
-
"When the [
|
|
674
|
+
"When the [Event](#schema_event) will be sent, in the ISO 8601 format",
|
|
650
675
|
},
|
|
651
676
|
delay: {
|
|
652
677
|
type: "number",
|
|
@@ -702,16 +727,21 @@ export const state = {
|
|
|
702
727
|
},
|
|
703
728
|
userId: {
|
|
704
729
|
type: "string",
|
|
705
|
-
|
|
730
|
+
minLength: 28,
|
|
731
|
+
maxLength: 36,
|
|
732
|
+
description: "User id",
|
|
706
733
|
},
|
|
707
734
|
conversationId: {
|
|
708
735
|
type: "string",
|
|
709
|
-
|
|
736
|
+
minLength: 28,
|
|
737
|
+
maxLength: 36,
|
|
738
|
+
description: "User id",
|
|
710
739
|
},
|
|
711
740
|
type: {
|
|
712
741
|
type: "string",
|
|
742
|
+
maxLength: 200,
|
|
713
743
|
description:
|
|
714
|
-
"
|
|
744
|
+
"Unique identifier of the integration that was installed on the bot",
|
|
715
745
|
},
|
|
716
746
|
tags: {
|
|
717
747
|
type: "object",
|
|
@@ -727,8 +757,10 @@ export const state = {
|
|
|
727
757
|
properties: {
|
|
728
758
|
dateTime: {
|
|
729
759
|
type: "string",
|
|
760
|
+
maxLength: 28,
|
|
761
|
+
minLength: 24,
|
|
730
762
|
description:
|
|
731
|
-
"When the [
|
|
763
|
+
"When the [Event](#schema_event) will be sent, in the ISO 8601 format",
|
|
732
764
|
},
|
|
733
765
|
delay: {
|
|
734
766
|
type: "number",
|
|
@@ -946,16 +978,19 @@ export const state = {
|
|
|
946
978
|
},
|
|
947
979
|
integrationName: {
|
|
948
980
|
type: "string",
|
|
981
|
+
maxLength: 200,
|
|
949
982
|
description:
|
|
950
983
|
"[DEPRECATED] To create a user from within a bot, call an action of the integration instead.",
|
|
951
984
|
},
|
|
952
985
|
name: {
|
|
953
986
|
type: "string",
|
|
987
|
+
maxLength: 200,
|
|
954
988
|
description: "Name of the user",
|
|
955
989
|
},
|
|
956
990
|
pictureUrl: {
|
|
957
991
|
type: "string",
|
|
958
|
-
|
|
992
|
+
maxLength: 40000,
|
|
993
|
+
description: "URI of the user picture",
|
|
959
994
|
},
|
|
960
995
|
},
|
|
961
996
|
required: ["tags"],
|
|
@@ -1094,16 +1129,19 @@ export const state = {
|
|
|
1094
1129
|
},
|
|
1095
1130
|
integrationName: {
|
|
1096
1131
|
type: "string",
|
|
1132
|
+
maxLength: 200,
|
|
1097
1133
|
description:
|
|
1098
1134
|
"[DEPRECATED] To create a user from within a bot, call an action of the integration instead.",
|
|
1099
1135
|
},
|
|
1100
1136
|
name: {
|
|
1101
1137
|
type: "string",
|
|
1138
|
+
maxLength: 200,
|
|
1102
1139
|
description: "Name of the user",
|
|
1103
1140
|
},
|
|
1104
1141
|
pictureUrl: {
|
|
1105
1142
|
type: "string",
|
|
1106
|
-
|
|
1143
|
+
maxLength: 40000,
|
|
1144
|
+
description: "URI of the user picture",
|
|
1107
1145
|
},
|
|
1108
1146
|
},
|
|
1109
1147
|
required: ["tags"],
|
|
@@ -1157,16 +1195,16 @@ export const state = {
|
|
|
1157
1195
|
},
|
|
1158
1196
|
name: {
|
|
1159
1197
|
type: "string",
|
|
1160
|
-
|
|
1198
|
+
maxLength: 200,
|
|
1161
1199
|
description: "Name of the user",
|
|
1162
1200
|
},
|
|
1163
1201
|
pictureUrl: {
|
|
1164
1202
|
type: "string",
|
|
1203
|
+
maxLength: 40000,
|
|
1165
1204
|
nullable: true,
|
|
1166
|
-
description: "
|
|
1205
|
+
description: "URI of the user picture",
|
|
1167
1206
|
},
|
|
1168
1207
|
},
|
|
1169
|
-
required: ["tags"],
|
|
1170
1208
|
title: "updateUserBody",
|
|
1171
1209
|
additionalProperties: false,
|
|
1172
1210
|
},
|
|
@@ -1389,7 +1427,9 @@ export const state = {
|
|
|
1389
1427
|
properties: {
|
|
1390
1428
|
type: {
|
|
1391
1429
|
type: "string",
|
|
1392
|
-
|
|
1430
|
+
maxLength: 200,
|
|
1431
|
+
description:
|
|
1432
|
+
"Unique identifier of the integration that was installed on the bot",
|
|
1393
1433
|
},
|
|
1394
1434
|
input: {
|
|
1395
1435
|
type: "object",
|
|
@@ -1432,6 +1472,7 @@ export const state = {
|
|
|
1432
1472
|
properties: {
|
|
1433
1473
|
identifier: {
|
|
1434
1474
|
type: "string",
|
|
1475
|
+
maxLength: 200,
|
|
1435
1476
|
description:
|
|
1436
1477
|
"Unique identifier of the integration that was installed on the bot",
|
|
1437
1478
|
},
|
|
@@ -1658,17 +1699,21 @@ export const state = {
|
|
|
1658
1699
|
properties: {
|
|
1659
1700
|
id: {
|
|
1660
1701
|
type: "string",
|
|
1661
|
-
|
|
1702
|
+
minLength: 28,
|
|
1703
|
+
maxLength: 36,
|
|
1704
|
+
description: "User id",
|
|
1662
1705
|
},
|
|
1663
1706
|
name: {
|
|
1664
1707
|
type: "string",
|
|
1708
|
+
maxLength: 200,
|
|
1665
1709
|
description:
|
|
1666
|
-
"
|
|
1710
|
+
"Unique identifier of the integration that was installed on the bot",
|
|
1667
1711
|
},
|
|
1668
1712
|
version: {
|
|
1669
1713
|
type: "string",
|
|
1714
|
+
maxLength: 200,
|
|
1670
1715
|
description:
|
|
1671
|
-
"
|
|
1716
|
+
"Unique identifier of the integration that was installed on the bot",
|
|
1672
1717
|
},
|
|
1673
1718
|
createdAt: {
|
|
1674
1719
|
type: "string",
|
|
@@ -1875,6 +1920,9 @@ export const state = {
|
|
|
1875
1920
|
properties: {
|
|
1876
1921
|
cron: {
|
|
1877
1922
|
type: "string",
|
|
1923
|
+
maxLength: 200,
|
|
1924
|
+
description:
|
|
1925
|
+
"Unique identifier of the integration that was installed on the bot",
|
|
1878
1926
|
},
|
|
1879
1927
|
},
|
|
1880
1928
|
required: ["cron"],
|
|
@@ -1882,6 +1930,9 @@ export const state = {
|
|
|
1882
1930
|
},
|
|
1883
1931
|
type: {
|
|
1884
1932
|
type: "string",
|
|
1933
|
+
maxLength: 200,
|
|
1934
|
+
description:
|
|
1935
|
+
"Unique identifier of the integration that was installed on the bot",
|
|
1885
1936
|
},
|
|
1886
1937
|
payload: {
|
|
1887
1938
|
type: "object",
|
|
@@ -2245,6 +2296,9 @@ export const state = {
|
|
|
2245
2296
|
properties: {
|
|
2246
2297
|
cron: {
|
|
2247
2298
|
type: "string",
|
|
2299
|
+
maxLength: 200,
|
|
2300
|
+
description:
|
|
2301
|
+
"Unique identifier of the integration that was installed on the bot",
|
|
2248
2302
|
},
|
|
2249
2303
|
},
|
|
2250
2304
|
required: ["cron"],
|
|
@@ -2252,6 +2306,9 @@ export const state = {
|
|
|
2252
2306
|
},
|
|
2253
2307
|
type: {
|
|
2254
2308
|
type: "string",
|
|
2309
|
+
maxLength: 200,
|
|
2310
|
+
description:
|
|
2311
|
+
"Unique identifier of the integration that was installed on the bot",
|
|
2255
2312
|
},
|
|
2256
2313
|
payload: {
|
|
2257
2314
|
type: "object",
|
|
@@ -2392,8 +2449,9 @@ export const state = {
|
|
|
2392
2449
|
properties: {
|
|
2393
2450
|
id: {
|
|
2394
2451
|
type: "string",
|
|
2395
|
-
|
|
2396
|
-
|
|
2452
|
+
minLength: 28,
|
|
2453
|
+
maxLength: 36,
|
|
2454
|
+
description: "User id",
|
|
2397
2455
|
},
|
|
2398
2456
|
createdAt: {
|
|
2399
2457
|
type: "string",
|
|
@@ -3407,14 +3465,12 @@ export const state = {
|
|
|
3407
3465
|
"invocation_calls",
|
|
3408
3466
|
"storage_count",
|
|
3409
3467
|
"bot_count",
|
|
3410
|
-
"
|
|
3411
|
-
"
|
|
3468
|
+
"knowledgebase_vector_storage",
|
|
3469
|
+
"workspace_ratelimit",
|
|
3412
3470
|
"table_row_count",
|
|
3413
3471
|
"workspace_member_count",
|
|
3414
3472
|
"integrations_owned_count",
|
|
3415
|
-
"
|
|
3416
|
-
"model_credit",
|
|
3417
|
-
"token_spend",
|
|
3473
|
+
"ai_spend",
|
|
3418
3474
|
],
|
|
3419
3475
|
required: true,
|
|
3420
3476
|
},
|
|
@@ -3467,14 +3523,12 @@ export const state = {
|
|
|
3467
3523
|
"invocation_calls",
|
|
3468
3524
|
"storage_count",
|
|
3469
3525
|
"bot_count",
|
|
3470
|
-
"
|
|
3471
|
-
"
|
|
3526
|
+
"knowledgebase_vector_storage",
|
|
3527
|
+
"workspace_ratelimit",
|
|
3472
3528
|
"table_row_count",
|
|
3473
3529
|
"workspace_member_count",
|
|
3474
3530
|
"integrations_owned_count",
|
|
3475
|
-
"
|
|
3476
|
-
"model_credit",
|
|
3477
|
-
"token_spend",
|
|
3531
|
+
"ai_spend",
|
|
3478
3532
|
],
|
|
3479
3533
|
required: true,
|
|
3480
3534
|
},
|
|
@@ -3508,14 +3562,12 @@ export const state = {
|
|
|
3508
3562
|
"invocation_calls",
|
|
3509
3563
|
"storage_count",
|
|
3510
3564
|
"bot_count",
|
|
3511
|
-
"
|
|
3512
|
-
"
|
|
3565
|
+
"knowledgebase_vector_storage",
|
|
3566
|
+
"workspace_ratelimit",
|
|
3513
3567
|
"table_row_count",
|
|
3514
3568
|
"workspace_member_count",
|
|
3515
3569
|
"integrations_owned_count",
|
|
3516
|
-
"
|
|
3517
|
-
"model_credit",
|
|
3518
|
-
"token_spend",
|
|
3570
|
+
"ai_spend",
|
|
3519
3571
|
],
|
|
3520
3572
|
description: "Usage type that can be used",
|
|
3521
3573
|
},
|
|
@@ -3577,14 +3629,12 @@ export const state = {
|
|
|
3577
3629
|
"invocation_calls",
|
|
3578
3630
|
"storage_count",
|
|
3579
3631
|
"bot_count",
|
|
3580
|
-
"
|
|
3581
|
-
"
|
|
3632
|
+
"knowledgebase_vector_storage",
|
|
3633
|
+
"workspace_ratelimit",
|
|
3582
3634
|
"table_row_count",
|
|
3583
3635
|
"workspace_member_count",
|
|
3584
3636
|
"integrations_owned_count",
|
|
3585
|
-
"
|
|
3586
|
-
"model_credit",
|
|
3587
|
-
"token_spend",
|
|
3637
|
+
"ai_spend",
|
|
3588
3638
|
],
|
|
3589
3639
|
description: "Usage type that can be used",
|
|
3590
3640
|
},
|
|
@@ -4238,11 +4288,15 @@ export const state = {
|
|
|
4238
4288
|
properties: {
|
|
4239
4289
|
name: {
|
|
4240
4290
|
type: "string",
|
|
4241
|
-
|
|
4291
|
+
maxLength: 200,
|
|
4292
|
+
description:
|
|
4293
|
+
"Unique identifier of the integration that was installed on the bot",
|
|
4242
4294
|
},
|
|
4243
4295
|
version: {
|
|
4244
4296
|
type: "string",
|
|
4245
|
-
|
|
4297
|
+
maxLength: 200,
|
|
4298
|
+
description:
|
|
4299
|
+
"Unique identifier of the integration that was installed on the bot",
|
|
4246
4300
|
},
|
|
4247
4301
|
configuration: {
|
|
4248
4302
|
type: "object",
|
|
@@ -4261,6 +4315,8 @@ export const state = {
|
|
|
4261
4315
|
},
|
|
4262
4316
|
linkTemplateScript: {
|
|
4263
4317
|
type: "string",
|
|
4318
|
+
maxLength: 2000,
|
|
4319
|
+
description: "Signing secret of the [Bot](#schema_bot)",
|
|
4264
4320
|
},
|
|
4265
4321
|
},
|
|
4266
4322
|
additionalProperties: false,
|
|
@@ -4364,9 +4420,13 @@ export const state = {
|
|
|
4364
4420
|
properties: {
|
|
4365
4421
|
fallbackHandlerScript: {
|
|
4366
4422
|
type: "string",
|
|
4423
|
+
maxLength: 2000,
|
|
4424
|
+
description: "Signing secret of the [Bot](#schema_bot)",
|
|
4367
4425
|
},
|
|
4368
4426
|
extractScript: {
|
|
4369
4427
|
type: "string",
|
|
4428
|
+
maxLength: 2000,
|
|
4429
|
+
description: "Signing secret of the [Bot](#schema_bot)",
|
|
4370
4430
|
},
|
|
4371
4431
|
},
|
|
4372
4432
|
additionalProperties: false,
|
|
@@ -4620,6 +4680,8 @@ export const state = {
|
|
|
4620
4680
|
properties: {
|
|
4621
4681
|
linkTemplateScript: {
|
|
4622
4682
|
type: "string",
|
|
4683
|
+
maxLength: 2000,
|
|
4684
|
+
description: "Signing secret of the [Bot](#schema_bot)",
|
|
4623
4685
|
nullable: true,
|
|
4624
4686
|
},
|
|
4625
4687
|
required: {
|
|
@@ -4749,10 +4811,14 @@ export const state = {
|
|
|
4749
4811
|
properties: {
|
|
4750
4812
|
extractScript: {
|
|
4751
4813
|
type: "string",
|
|
4814
|
+
maxLength: 2000,
|
|
4815
|
+
description: "Signing secret of the [Bot](#schema_bot)",
|
|
4752
4816
|
nullable: true,
|
|
4753
4817
|
},
|
|
4754
4818
|
fallbackHandlerScript: {
|
|
4755
4819
|
type: "string",
|
|
4820
|
+
maxLength: 2000,
|
|
4821
|
+
description: "Signing secret of the [Bot](#schema_bot)",
|
|
4756
4822
|
nullable: true,
|
|
4757
4823
|
},
|
|
4758
4824
|
},
|
|
@@ -4990,17 +5056,21 @@ export const state = {
|
|
|
4990
5056
|
properties: {
|
|
4991
5057
|
id: {
|
|
4992
5058
|
type: "string",
|
|
4993
|
-
|
|
5059
|
+
minLength: 28,
|
|
5060
|
+
maxLength: 36,
|
|
5061
|
+
description: "User id",
|
|
4994
5062
|
},
|
|
4995
5063
|
name: {
|
|
4996
5064
|
type: "string",
|
|
5065
|
+
maxLength: 200,
|
|
4997
5066
|
description:
|
|
4998
|
-
"
|
|
5067
|
+
"Unique identifier of the integration that was installed on the bot",
|
|
4999
5068
|
},
|
|
5000
5069
|
version: {
|
|
5001
5070
|
type: "string",
|
|
5071
|
+
maxLength: 200,
|
|
5002
5072
|
description:
|
|
5003
|
-
"
|
|
5073
|
+
"Unique identifier of the integration that was installed on the bot",
|
|
5004
5074
|
},
|
|
5005
5075
|
createdAt: {
|
|
5006
5076
|
type: "string",
|
|
@@ -5227,14 +5297,12 @@ export const state = {
|
|
|
5227
5297
|
"invocation_calls",
|
|
5228
5298
|
"storage_count",
|
|
5229
5299
|
"bot_count",
|
|
5230
|
-
"
|
|
5231
|
-
"
|
|
5300
|
+
"knowledgebase_vector_storage",
|
|
5301
|
+
"workspace_ratelimit",
|
|
5232
5302
|
"table_row_count",
|
|
5233
5303
|
"workspace_member_count",
|
|
5234
5304
|
"integrations_owned_count",
|
|
5235
|
-
"
|
|
5236
|
-
"model_credit",
|
|
5237
|
-
"token_spend",
|
|
5305
|
+
"ai_spend",
|
|
5238
5306
|
],
|
|
5239
5307
|
required: true,
|
|
5240
5308
|
},
|
|
@@ -5280,14 +5348,12 @@ export const state = {
|
|
|
5280
5348
|
"invocation_calls",
|
|
5281
5349
|
"storage_count",
|
|
5282
5350
|
"bot_count",
|
|
5283
|
-
"
|
|
5284
|
-
"
|
|
5351
|
+
"knowledgebase_vector_storage",
|
|
5352
|
+
"workspace_ratelimit",
|
|
5285
5353
|
"table_row_count",
|
|
5286
5354
|
"workspace_member_count",
|
|
5287
5355
|
"integrations_owned_count",
|
|
5288
|
-
"
|
|
5289
|
-
"model_credit",
|
|
5290
|
-
"token_spend",
|
|
5356
|
+
"ai_spend",
|
|
5291
5357
|
],
|
|
5292
5358
|
required: true,
|
|
5293
5359
|
},
|
|
@@ -5536,7 +5602,7 @@ export const state = {
|
|
|
5536
5602
|
title: "Botpress API",
|
|
5537
5603
|
description: "API for Botpress Cloud",
|
|
5538
5604
|
server: "https://api.botpress.cloud",
|
|
5539
|
-
version: "0.
|
|
5605
|
+
version: "0.14.0",
|
|
5540
5606
|
prefix: "v1",
|
|
5541
5607
|
},
|
|
5542
5608
|
errors: [
|
|
@@ -5798,8 +5864,9 @@ export const state = {
|
|
|
5798
5864
|
properties: {
|
|
5799
5865
|
id: {
|
|
5800
5866
|
type: "string",
|
|
5801
|
-
|
|
5802
|
-
|
|
5867
|
+
minLength: 28,
|
|
5868
|
+
maxLength: 36,
|
|
5869
|
+
description: "ID of the [Conversation](#schema_conversation)",
|
|
5803
5870
|
},
|
|
5804
5871
|
createdAt: {
|
|
5805
5872
|
type: "string",
|
|
@@ -5815,6 +5882,7 @@ export const state = {
|
|
|
5815
5882
|
},
|
|
5816
5883
|
signingSecret: {
|
|
5817
5884
|
type: "string",
|
|
5885
|
+
maxLength: 2000,
|
|
5818
5886
|
description: "Signing secret of the [Bot](#schema_bot)",
|
|
5819
5887
|
},
|
|
5820
5888
|
integrations: {
|
|
@@ -5827,21 +5895,31 @@ export const state = {
|
|
|
5827
5895
|
},
|
|
5828
5896
|
name: {
|
|
5829
5897
|
type: "string",
|
|
5830
|
-
|
|
5898
|
+
maxLength: 200,
|
|
5899
|
+
description:
|
|
5900
|
+
"Type of the [Message](#schema_message) represents the resource type that the message is related to",
|
|
5831
5901
|
},
|
|
5832
5902
|
version: {
|
|
5833
5903
|
type: "string",
|
|
5904
|
+
maxLength: 200,
|
|
5834
5905
|
description:
|
|
5835
|
-
"
|
|
5906
|
+
"Type of the [Message](#schema_message) represents the resource type that the message is related to",
|
|
5836
5907
|
},
|
|
5837
5908
|
webhookUrl: {
|
|
5838
5909
|
type: "string",
|
|
5910
|
+
maxLength: 2000,
|
|
5911
|
+
description: "Signing secret of the [Bot](#schema_bot)",
|
|
5839
5912
|
},
|
|
5840
5913
|
webhookId: {
|
|
5841
5914
|
type: "string",
|
|
5915
|
+
maxLength: 200,
|
|
5916
|
+
description:
|
|
5917
|
+
"Type of the [Message](#schema_message) represents the resource type that the message is related to",
|
|
5842
5918
|
},
|
|
5843
5919
|
identifier: {
|
|
5844
5920
|
type: "string",
|
|
5921
|
+
maxLength: 2000,
|
|
5922
|
+
description: "Signing secret of the [Bot](#schema_bot)",
|
|
5845
5923
|
},
|
|
5846
5924
|
configuration: {
|
|
5847
5925
|
type: "object",
|
|
@@ -5860,11 +5938,15 @@ export const state = {
|
|
|
5860
5938
|
},
|
|
5861
5939
|
statusReason: {
|
|
5862
5940
|
type: "string",
|
|
5941
|
+
maxLength: 2000,
|
|
5942
|
+
description: "Signing secret of the [Bot](#schema_bot)",
|
|
5863
5943
|
nullable: true,
|
|
5864
5944
|
},
|
|
5865
5945
|
id: {
|
|
5866
5946
|
type: "string",
|
|
5867
|
-
|
|
5947
|
+
minLength: 28,
|
|
5948
|
+
maxLength: 36,
|
|
5949
|
+
description: "ID of the [Conversation](#schema_conversation)",
|
|
5868
5950
|
},
|
|
5869
5951
|
createdAt: {
|
|
5870
5952
|
type: "string",
|
|
@@ -6088,6 +6170,9 @@ export const state = {
|
|
|
6088
6170
|
properties: {
|
|
6089
6171
|
cron: {
|
|
6090
6172
|
type: "string",
|
|
6173
|
+
maxLength: 200,
|
|
6174
|
+
description:
|
|
6175
|
+
"Type of the [Message](#schema_message) represents the resource type that the message is related to",
|
|
6091
6176
|
},
|
|
6092
6177
|
},
|
|
6093
6178
|
required: ["cron"],
|
|
@@ -6095,6 +6180,9 @@ export const state = {
|
|
|
6095
6180
|
},
|
|
6096
6181
|
type: {
|
|
6097
6182
|
type: "string",
|
|
6183
|
+
maxLength: 200,
|
|
6184
|
+
description:
|
|
6185
|
+
"Type of the [Message](#schema_message) represents the resource type that the message is related to",
|
|
6098
6186
|
},
|
|
6099
6187
|
payload: {
|
|
6100
6188
|
type: "object",
|
|
@@ -6171,7 +6259,9 @@ export const state = {
|
|
|
6171
6259
|
properties: {
|
|
6172
6260
|
id: {
|
|
6173
6261
|
type: "string",
|
|
6174
|
-
|
|
6262
|
+
minLength: 28,
|
|
6263
|
+
maxLength: 36,
|
|
6264
|
+
description: "ID of the [Conversation](#schema_conversation)",
|
|
6175
6265
|
},
|
|
6176
6266
|
createdAt: {
|
|
6177
6267
|
type: "string",
|
|
@@ -6190,11 +6280,13 @@ export const state = {
|
|
|
6190
6280
|
properties: {
|
|
6191
6281
|
fallbackHandlerScript: {
|
|
6192
6282
|
type: "string",
|
|
6283
|
+
maxLength: 2000,
|
|
6193
6284
|
description:
|
|
6194
6285
|
"VRL Script of the [Integration](#schema_integration) to handle incoming requests for a request that doesn't have an identifier",
|
|
6195
6286
|
},
|
|
6196
6287
|
extractScript: {
|
|
6197
6288
|
type: "string",
|
|
6289
|
+
maxLength: 2000,
|
|
6198
6290
|
description:
|
|
6199
6291
|
"VRL Script of the [Integration](#schema_integration) to extract the identifier from an incoming webhook often use for OAuth",
|
|
6200
6292
|
},
|
|
@@ -6205,11 +6297,15 @@ export const state = {
|
|
|
6205
6297
|
},
|
|
6206
6298
|
name: {
|
|
6207
6299
|
type: "string",
|
|
6208
|
-
|
|
6300
|
+
maxLength: 200,
|
|
6301
|
+
description:
|
|
6302
|
+
"Type of the [Message](#schema_message) represents the resource type that the message is related to",
|
|
6209
6303
|
},
|
|
6210
6304
|
version: {
|
|
6211
6305
|
type: "string",
|
|
6212
|
-
|
|
6306
|
+
maxLength: 200,
|
|
6307
|
+
description:
|
|
6308
|
+
"Type of the [Message](#schema_message) represents the resource type that the message is related to",
|
|
6213
6309
|
},
|
|
6214
6310
|
configuration: {
|
|
6215
6311
|
type: "object",
|
|
@@ -6219,6 +6315,8 @@ export const state = {
|
|
|
6219
6315
|
properties: {
|
|
6220
6316
|
linkTemplateScript: {
|
|
6221
6317
|
type: "string",
|
|
6318
|
+
maxLength: 2000,
|
|
6319
|
+
description: "Signing secret of the [Bot](#schema_bot)",
|
|
6222
6320
|
},
|
|
6223
6321
|
required: {
|
|
6224
6322
|
type: "boolean",
|
|
@@ -6682,14 +6780,12 @@ export const state = {
|
|
|
6682
6780
|
"invocation_calls",
|
|
6683
6781
|
"storage_count",
|
|
6684
6782
|
"bot_count",
|
|
6685
|
-
"
|
|
6686
|
-
"
|
|
6783
|
+
"knowledgebase_vector_storage",
|
|
6784
|
+
"workspace_ratelimit",
|
|
6687
6785
|
"table_row_count",
|
|
6688
6786
|
"workspace_member_count",
|
|
6689
6787
|
"integrations_owned_count",
|
|
6690
|
-
"
|
|
6691
|
-
"model_credit",
|
|
6692
|
-
"token_spend",
|
|
6788
|
+
"ai_spend",
|
|
6693
6789
|
],
|
|
6694
6790
|
description: "Usage type that can be used",
|
|
6695
6791
|
},
|
|
@@ -6806,7 +6902,9 @@ export const state = {
|
|
|
6806
6902
|
properties: {
|
|
6807
6903
|
id: {
|
|
6808
6904
|
type: "string",
|
|
6809
|
-
|
|
6905
|
+
minLength: 28,
|
|
6906
|
+
maxLength: 36,
|
|
6907
|
+
description: "ID of the [Conversation](#schema_conversation)",
|
|
6810
6908
|
},
|
|
6811
6909
|
createdAt: {
|
|
6812
6910
|
type: "string",
|
|
@@ -6830,10 +6928,12 @@ export const state = {
|
|
|
6830
6928
|
},
|
|
6831
6929
|
name: {
|
|
6832
6930
|
type: "string",
|
|
6931
|
+
maxLength: 200,
|
|
6833
6932
|
description: "Name of the [User](#schema_user)",
|
|
6834
6933
|
},
|
|
6835
6934
|
pictureUrl: {
|
|
6836
6935
|
type: "string",
|
|
6936
|
+
maxLength: 40000,
|
|
6837
6937
|
description: "Picture URL of the [User](#schema_user)",
|
|
6838
6938
|
},
|
|
6839
6939
|
},
|
|
@@ -6850,7 +6950,9 @@ export const state = {
|
|
|
6850
6950
|
properties: {
|
|
6851
6951
|
id: {
|
|
6852
6952
|
type: "string",
|
|
6853
|
-
|
|
6953
|
+
minLength: 28,
|
|
6954
|
+
maxLength: 36,
|
|
6955
|
+
description: "ID of the [Conversation](#schema_conversation)",
|
|
6854
6956
|
},
|
|
6855
6957
|
createdAt: {
|
|
6856
6958
|
type: "string",
|
|
@@ -6903,7 +7005,9 @@ export const state = {
|
|
|
6903
7005
|
properties: {
|
|
6904
7006
|
id: {
|
|
6905
7007
|
type: "string",
|
|
6906
|
-
|
|
7008
|
+
minLength: 28,
|
|
7009
|
+
maxLength: 36,
|
|
7010
|
+
description: "ID of the [Conversation](#schema_conversation)",
|
|
6907
7011
|
},
|
|
6908
7012
|
createdAt: {
|
|
6909
7013
|
type: "string",
|
|
@@ -6913,7 +7017,9 @@ export const state = {
|
|
|
6913
7017
|
},
|
|
6914
7018
|
type: {
|
|
6915
7019
|
type: "string",
|
|
6916
|
-
|
|
7020
|
+
maxLength: 200,
|
|
7021
|
+
description:
|
|
7022
|
+
"Type of the [Message](#schema_message) represents the resource type that the message is related to",
|
|
6917
7023
|
},
|
|
6918
7024
|
payload: {
|
|
6919
7025
|
type: "object",
|
|
@@ -6923,15 +7029,21 @@ export const state = {
|
|
|
6923
7029
|
},
|
|
6924
7030
|
conversationId: {
|
|
6925
7031
|
type: "string",
|
|
7032
|
+
minLength: 28,
|
|
7033
|
+
maxLength: 36,
|
|
6926
7034
|
description:
|
|
6927
7035
|
"ID of the [Conversation](#schema_conversation) to link the event to.",
|
|
6928
7036
|
},
|
|
6929
7037
|
userId: {
|
|
6930
7038
|
type: "string",
|
|
7039
|
+
minLength: 28,
|
|
7040
|
+
maxLength: 36,
|
|
6931
7041
|
description: "ID of the [User](#schema_user) to link the event to.",
|
|
6932
7042
|
},
|
|
6933
7043
|
messageId: {
|
|
6934
7044
|
type: "string",
|
|
7045
|
+
minLength: 28,
|
|
7046
|
+
maxLength: 36,
|
|
6935
7047
|
description:
|
|
6936
7048
|
"ID of the [Message](#schema_message) to link the event to.",
|
|
6937
7049
|
},
|
|
@@ -6948,7 +7060,9 @@ export const state = {
|
|
|
6948
7060
|
properties: {
|
|
6949
7061
|
id: {
|
|
6950
7062
|
type: "string",
|
|
6951
|
-
|
|
7063
|
+
minLength: 28,
|
|
7064
|
+
maxLength: 36,
|
|
7065
|
+
description: "ID of the [Conversation](#schema_conversation)",
|
|
6952
7066
|
},
|
|
6953
7067
|
createdAt: {
|
|
6954
7068
|
type: "string",
|
|
@@ -6958,6 +7072,7 @@ export const state = {
|
|
|
6958
7072
|
},
|
|
6959
7073
|
type: {
|
|
6960
7074
|
type: "string",
|
|
7075
|
+
maxLength: 200,
|
|
6961
7076
|
description:
|
|
6962
7077
|
"Type of the [Message](#schema_message) represents the resource type that the message is related to",
|
|
6963
7078
|
},
|
|
@@ -6974,10 +7089,14 @@ export const state = {
|
|
|
6974
7089
|
},
|
|
6975
7090
|
userId: {
|
|
6976
7091
|
type: "string",
|
|
6977
|
-
|
|
7092
|
+
minLength: 28,
|
|
7093
|
+
maxLength: 36,
|
|
7094
|
+
description: "ID of the [Conversation](#schema_conversation)",
|
|
6978
7095
|
},
|
|
6979
7096
|
conversationId: {
|
|
6980
7097
|
type: "string",
|
|
7098
|
+
minLength: 28,
|
|
7099
|
+
maxLength: 36,
|
|
6981
7100
|
description: "ID of the [Conversation](#schema_conversation)",
|
|
6982
7101
|
},
|
|
6983
7102
|
tags: {
|
|
@@ -7011,7 +7130,9 @@ export const state = {
|
|
|
7011
7130
|
properties: {
|
|
7012
7131
|
id: {
|
|
7013
7132
|
type: "string",
|
|
7014
|
-
|
|
7133
|
+
minLength: 28,
|
|
7134
|
+
maxLength: 36,
|
|
7135
|
+
description: "ID of the [Conversation](#schema_conversation)",
|
|
7015
7136
|
},
|
|
7016
7137
|
createdAt: {
|
|
7017
7138
|
type: "string",
|
|
@@ -7027,20 +7148,27 @@ export const state = {
|
|
|
7027
7148
|
},
|
|
7028
7149
|
botId: {
|
|
7029
7150
|
type: "string",
|
|
7030
|
-
|
|
7151
|
+
minLength: 28,
|
|
7152
|
+
maxLength: 36,
|
|
7153
|
+
description: "ID of the [Conversation](#schema_conversation)",
|
|
7031
7154
|
},
|
|
7032
7155
|
conversationId: {
|
|
7033
7156
|
type: "string",
|
|
7157
|
+
minLength: 28,
|
|
7158
|
+
maxLength: 36,
|
|
7034
7159
|
description: "Id of the [Conversation](#schema_conversation)",
|
|
7035
7160
|
},
|
|
7036
7161
|
userId: {
|
|
7037
7162
|
type: "string",
|
|
7163
|
+
minLength: 28,
|
|
7164
|
+
maxLength: 36,
|
|
7038
7165
|
description: "Id of the [User](#schema_user)",
|
|
7039
7166
|
},
|
|
7040
7167
|
name: {
|
|
7041
7168
|
type: "string",
|
|
7169
|
+
maxLength: 200,
|
|
7042
7170
|
description:
|
|
7043
|
-
"
|
|
7171
|
+
"Type of the [Message](#schema_message) represents the resource type that the message is related to",
|
|
7044
7172
|
},
|
|
7045
7173
|
type: {
|
|
7046
7174
|
type: "string",
|