@botpress/api 0.13.0 → 0.13.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/dist/gen/state.d.ts +129 -3
- package/dist/index.js +1532 -583
- package/package.json +2 -2
- package/src/gen/openapi.json +1 -1
- package/src/gen/state.ts +198 -48
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,8 +31,9 @@ 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
|
},
|
|
35
38
|
},
|
|
36
39
|
required: ["channel", "tags"],
|
|
@@ -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,8 +178,9 @@ 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
|
},
|
|
179
185
|
},
|
|
180
186
|
required: ["channel", "tags"],
|
|
@@ -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,13 +1195,14 @@ 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
1208
|
required: ["tags"],
|
|
@@ -1389,7 +1428,9 @@ export const state = {
|
|
|
1389
1428
|
properties: {
|
|
1390
1429
|
type: {
|
|
1391
1430
|
type: "string",
|
|
1392
|
-
|
|
1431
|
+
maxLength: 200,
|
|
1432
|
+
description:
|
|
1433
|
+
"Unique identifier of the integration that was installed on the bot",
|
|
1393
1434
|
},
|
|
1394
1435
|
input: {
|
|
1395
1436
|
type: "object",
|
|
@@ -1432,6 +1473,7 @@ export const state = {
|
|
|
1432
1473
|
properties: {
|
|
1433
1474
|
identifier: {
|
|
1434
1475
|
type: "string",
|
|
1476
|
+
maxLength: 200,
|
|
1435
1477
|
description:
|
|
1436
1478
|
"Unique identifier of the integration that was installed on the bot",
|
|
1437
1479
|
},
|
|
@@ -1658,17 +1700,21 @@ export const state = {
|
|
|
1658
1700
|
properties: {
|
|
1659
1701
|
id: {
|
|
1660
1702
|
type: "string",
|
|
1661
|
-
|
|
1703
|
+
minLength: 28,
|
|
1704
|
+
maxLength: 36,
|
|
1705
|
+
description: "User id",
|
|
1662
1706
|
},
|
|
1663
1707
|
name: {
|
|
1664
1708
|
type: "string",
|
|
1709
|
+
maxLength: 200,
|
|
1665
1710
|
description:
|
|
1666
|
-
"
|
|
1711
|
+
"Unique identifier of the integration that was installed on the bot",
|
|
1667
1712
|
},
|
|
1668
1713
|
version: {
|
|
1669
1714
|
type: "string",
|
|
1715
|
+
maxLength: 200,
|
|
1670
1716
|
description:
|
|
1671
|
-
"
|
|
1717
|
+
"Unique identifier of the integration that was installed on the bot",
|
|
1672
1718
|
},
|
|
1673
1719
|
createdAt: {
|
|
1674
1720
|
type: "string",
|
|
@@ -1875,6 +1921,9 @@ export const state = {
|
|
|
1875
1921
|
properties: {
|
|
1876
1922
|
cron: {
|
|
1877
1923
|
type: "string",
|
|
1924
|
+
maxLength: 200,
|
|
1925
|
+
description:
|
|
1926
|
+
"Unique identifier of the integration that was installed on the bot",
|
|
1878
1927
|
},
|
|
1879
1928
|
},
|
|
1880
1929
|
required: ["cron"],
|
|
@@ -1882,6 +1931,9 @@ export const state = {
|
|
|
1882
1931
|
},
|
|
1883
1932
|
type: {
|
|
1884
1933
|
type: "string",
|
|
1934
|
+
maxLength: 200,
|
|
1935
|
+
description:
|
|
1936
|
+
"Unique identifier of the integration that was installed on the bot",
|
|
1885
1937
|
},
|
|
1886
1938
|
payload: {
|
|
1887
1939
|
type: "object",
|
|
@@ -2245,6 +2297,9 @@ export const state = {
|
|
|
2245
2297
|
properties: {
|
|
2246
2298
|
cron: {
|
|
2247
2299
|
type: "string",
|
|
2300
|
+
maxLength: 200,
|
|
2301
|
+
description:
|
|
2302
|
+
"Unique identifier of the integration that was installed on the bot",
|
|
2248
2303
|
},
|
|
2249
2304
|
},
|
|
2250
2305
|
required: ["cron"],
|
|
@@ -2252,6 +2307,9 @@ export const state = {
|
|
|
2252
2307
|
},
|
|
2253
2308
|
type: {
|
|
2254
2309
|
type: "string",
|
|
2310
|
+
maxLength: 200,
|
|
2311
|
+
description:
|
|
2312
|
+
"Unique identifier of the integration that was installed on the bot",
|
|
2255
2313
|
},
|
|
2256
2314
|
payload: {
|
|
2257
2315
|
type: "object",
|
|
@@ -2392,8 +2450,9 @@ export const state = {
|
|
|
2392
2450
|
properties: {
|
|
2393
2451
|
id: {
|
|
2394
2452
|
type: "string",
|
|
2395
|
-
|
|
2396
|
-
|
|
2453
|
+
minLength: 28,
|
|
2454
|
+
maxLength: 36,
|
|
2455
|
+
description: "User id",
|
|
2397
2456
|
},
|
|
2398
2457
|
createdAt: {
|
|
2399
2458
|
type: "string",
|
|
@@ -3414,6 +3473,7 @@ export const state = {
|
|
|
3414
3473
|
"integrations_owned_count",
|
|
3415
3474
|
"cognitive_calls",
|
|
3416
3475
|
"model_credit",
|
|
3476
|
+
"token_spend",
|
|
3417
3477
|
],
|
|
3418
3478
|
required: true,
|
|
3419
3479
|
},
|
|
@@ -3473,6 +3533,7 @@ export const state = {
|
|
|
3473
3533
|
"integrations_owned_count",
|
|
3474
3534
|
"cognitive_calls",
|
|
3475
3535
|
"model_credit",
|
|
3536
|
+
"token_spend",
|
|
3476
3537
|
],
|
|
3477
3538
|
required: true,
|
|
3478
3539
|
},
|
|
@@ -3513,6 +3574,7 @@ export const state = {
|
|
|
3513
3574
|
"integrations_owned_count",
|
|
3514
3575
|
"cognitive_calls",
|
|
3515
3576
|
"model_credit",
|
|
3577
|
+
"token_spend",
|
|
3516
3578
|
],
|
|
3517
3579
|
description: "Usage type that can be used",
|
|
3518
3580
|
},
|
|
@@ -3581,6 +3643,7 @@ export const state = {
|
|
|
3581
3643
|
"integrations_owned_count",
|
|
3582
3644
|
"cognitive_calls",
|
|
3583
3645
|
"model_credit",
|
|
3646
|
+
"token_spend",
|
|
3584
3647
|
],
|
|
3585
3648
|
description: "Usage type that can be used",
|
|
3586
3649
|
},
|
|
@@ -4234,11 +4297,15 @@ export const state = {
|
|
|
4234
4297
|
properties: {
|
|
4235
4298
|
name: {
|
|
4236
4299
|
type: "string",
|
|
4237
|
-
|
|
4300
|
+
maxLength: 200,
|
|
4301
|
+
description:
|
|
4302
|
+
"Unique identifier of the integration that was installed on the bot",
|
|
4238
4303
|
},
|
|
4239
4304
|
version: {
|
|
4240
4305
|
type: "string",
|
|
4241
|
-
|
|
4306
|
+
maxLength: 200,
|
|
4307
|
+
description:
|
|
4308
|
+
"Unique identifier of the integration that was installed on the bot",
|
|
4242
4309
|
},
|
|
4243
4310
|
configuration: {
|
|
4244
4311
|
type: "object",
|
|
@@ -4257,6 +4324,8 @@ export const state = {
|
|
|
4257
4324
|
},
|
|
4258
4325
|
linkTemplateScript: {
|
|
4259
4326
|
type: "string",
|
|
4327
|
+
maxLength: 2000,
|
|
4328
|
+
description: "Signing secret of the [Bot](#schema_bot)",
|
|
4260
4329
|
},
|
|
4261
4330
|
},
|
|
4262
4331
|
additionalProperties: false,
|
|
@@ -4360,9 +4429,13 @@ export const state = {
|
|
|
4360
4429
|
properties: {
|
|
4361
4430
|
fallbackHandlerScript: {
|
|
4362
4431
|
type: "string",
|
|
4432
|
+
maxLength: 2000,
|
|
4433
|
+
description: "Signing secret of the [Bot](#schema_bot)",
|
|
4363
4434
|
},
|
|
4364
4435
|
extractScript: {
|
|
4365
4436
|
type: "string",
|
|
4437
|
+
maxLength: 2000,
|
|
4438
|
+
description: "Signing secret of the [Bot](#schema_bot)",
|
|
4366
4439
|
},
|
|
4367
4440
|
},
|
|
4368
4441
|
additionalProperties: false,
|
|
@@ -4616,6 +4689,8 @@ export const state = {
|
|
|
4616
4689
|
properties: {
|
|
4617
4690
|
linkTemplateScript: {
|
|
4618
4691
|
type: "string",
|
|
4692
|
+
maxLength: 2000,
|
|
4693
|
+
description: "Signing secret of the [Bot](#schema_bot)",
|
|
4619
4694
|
nullable: true,
|
|
4620
4695
|
},
|
|
4621
4696
|
required: {
|
|
@@ -4745,10 +4820,14 @@ export const state = {
|
|
|
4745
4820
|
properties: {
|
|
4746
4821
|
extractScript: {
|
|
4747
4822
|
type: "string",
|
|
4823
|
+
maxLength: 2000,
|
|
4824
|
+
description: "Signing secret of the [Bot](#schema_bot)",
|
|
4748
4825
|
nullable: true,
|
|
4749
4826
|
},
|
|
4750
4827
|
fallbackHandlerScript: {
|
|
4751
4828
|
type: "string",
|
|
4829
|
+
maxLength: 2000,
|
|
4830
|
+
description: "Signing secret of the [Bot](#schema_bot)",
|
|
4752
4831
|
nullable: true,
|
|
4753
4832
|
},
|
|
4754
4833
|
},
|
|
@@ -4986,17 +5065,21 @@ export const state = {
|
|
|
4986
5065
|
properties: {
|
|
4987
5066
|
id: {
|
|
4988
5067
|
type: "string",
|
|
4989
|
-
|
|
5068
|
+
minLength: 28,
|
|
5069
|
+
maxLength: 36,
|
|
5070
|
+
description: "User id",
|
|
4990
5071
|
},
|
|
4991
5072
|
name: {
|
|
4992
5073
|
type: "string",
|
|
5074
|
+
maxLength: 200,
|
|
4993
5075
|
description:
|
|
4994
|
-
"
|
|
5076
|
+
"Unique identifier of the integration that was installed on the bot",
|
|
4995
5077
|
},
|
|
4996
5078
|
version: {
|
|
4997
5079
|
type: "string",
|
|
5080
|
+
maxLength: 200,
|
|
4998
5081
|
description:
|
|
4999
|
-
"
|
|
5082
|
+
"Unique identifier of the integration that was installed on the bot",
|
|
5000
5083
|
},
|
|
5001
5084
|
createdAt: {
|
|
5002
5085
|
type: "string",
|
|
@@ -5230,6 +5313,7 @@ export const state = {
|
|
|
5230
5313
|
"integrations_owned_count",
|
|
5231
5314
|
"cognitive_calls",
|
|
5232
5315
|
"model_credit",
|
|
5316
|
+
"token_spend",
|
|
5233
5317
|
],
|
|
5234
5318
|
required: true,
|
|
5235
5319
|
},
|
|
@@ -5282,6 +5366,7 @@ export const state = {
|
|
|
5282
5366
|
"integrations_owned_count",
|
|
5283
5367
|
"cognitive_calls",
|
|
5284
5368
|
"model_credit",
|
|
5369
|
+
"token_spend",
|
|
5285
5370
|
],
|
|
5286
5371
|
required: true,
|
|
5287
5372
|
},
|
|
@@ -5530,7 +5615,7 @@ export const state = {
|
|
|
5530
5615
|
title: "Botpress API",
|
|
5531
5616
|
description: "API for Botpress Cloud",
|
|
5532
5617
|
server: "https://api.botpress.cloud",
|
|
5533
|
-
version: "0.13.
|
|
5618
|
+
version: "0.13.2",
|
|
5534
5619
|
prefix: "v1",
|
|
5535
5620
|
},
|
|
5536
5621
|
errors: [
|
|
@@ -5792,8 +5877,9 @@ export const state = {
|
|
|
5792
5877
|
properties: {
|
|
5793
5878
|
id: {
|
|
5794
5879
|
type: "string",
|
|
5795
|
-
|
|
5796
|
-
|
|
5880
|
+
minLength: 28,
|
|
5881
|
+
maxLength: 36,
|
|
5882
|
+
description: "ID of the [Conversation](#schema_conversation)",
|
|
5797
5883
|
},
|
|
5798
5884
|
createdAt: {
|
|
5799
5885
|
type: "string",
|
|
@@ -5809,6 +5895,7 @@ export const state = {
|
|
|
5809
5895
|
},
|
|
5810
5896
|
signingSecret: {
|
|
5811
5897
|
type: "string",
|
|
5898
|
+
maxLength: 2000,
|
|
5812
5899
|
description: "Signing secret of the [Bot](#schema_bot)",
|
|
5813
5900
|
},
|
|
5814
5901
|
integrations: {
|
|
@@ -5821,21 +5908,31 @@ export const state = {
|
|
|
5821
5908
|
},
|
|
5822
5909
|
name: {
|
|
5823
5910
|
type: "string",
|
|
5824
|
-
|
|
5911
|
+
maxLength: 200,
|
|
5912
|
+
description:
|
|
5913
|
+
"Type of the [Message](#schema_message) represents the resource type that the message is related to",
|
|
5825
5914
|
},
|
|
5826
5915
|
version: {
|
|
5827
5916
|
type: "string",
|
|
5917
|
+
maxLength: 200,
|
|
5828
5918
|
description:
|
|
5829
|
-
"
|
|
5919
|
+
"Type of the [Message](#schema_message) represents the resource type that the message is related to",
|
|
5830
5920
|
},
|
|
5831
5921
|
webhookUrl: {
|
|
5832
5922
|
type: "string",
|
|
5923
|
+
maxLength: 2000,
|
|
5924
|
+
description: "Signing secret of the [Bot](#schema_bot)",
|
|
5833
5925
|
},
|
|
5834
5926
|
webhookId: {
|
|
5835
5927
|
type: "string",
|
|
5928
|
+
maxLength: 200,
|
|
5929
|
+
description:
|
|
5930
|
+
"Type of the [Message](#schema_message) represents the resource type that the message is related to",
|
|
5836
5931
|
},
|
|
5837
5932
|
identifier: {
|
|
5838
5933
|
type: "string",
|
|
5934
|
+
maxLength: 2000,
|
|
5935
|
+
description: "Signing secret of the [Bot](#schema_bot)",
|
|
5839
5936
|
},
|
|
5840
5937
|
configuration: {
|
|
5841
5938
|
type: "object",
|
|
@@ -5854,11 +5951,15 @@ export const state = {
|
|
|
5854
5951
|
},
|
|
5855
5952
|
statusReason: {
|
|
5856
5953
|
type: "string",
|
|
5954
|
+
maxLength: 2000,
|
|
5955
|
+
description: "Signing secret of the [Bot](#schema_bot)",
|
|
5857
5956
|
nullable: true,
|
|
5858
5957
|
},
|
|
5859
5958
|
id: {
|
|
5860
5959
|
type: "string",
|
|
5861
|
-
|
|
5960
|
+
minLength: 28,
|
|
5961
|
+
maxLength: 36,
|
|
5962
|
+
description: "ID of the [Conversation](#schema_conversation)",
|
|
5862
5963
|
},
|
|
5863
5964
|
createdAt: {
|
|
5864
5965
|
type: "string",
|
|
@@ -6082,6 +6183,9 @@ export const state = {
|
|
|
6082
6183
|
properties: {
|
|
6083
6184
|
cron: {
|
|
6084
6185
|
type: "string",
|
|
6186
|
+
maxLength: 200,
|
|
6187
|
+
description:
|
|
6188
|
+
"Type of the [Message](#schema_message) represents the resource type that the message is related to",
|
|
6085
6189
|
},
|
|
6086
6190
|
},
|
|
6087
6191
|
required: ["cron"],
|
|
@@ -6089,6 +6193,9 @@ export const state = {
|
|
|
6089
6193
|
},
|
|
6090
6194
|
type: {
|
|
6091
6195
|
type: "string",
|
|
6196
|
+
maxLength: 200,
|
|
6197
|
+
description:
|
|
6198
|
+
"Type of the [Message](#schema_message) represents the resource type that the message is related to",
|
|
6092
6199
|
},
|
|
6093
6200
|
payload: {
|
|
6094
6201
|
type: "object",
|
|
@@ -6165,7 +6272,9 @@ export const state = {
|
|
|
6165
6272
|
properties: {
|
|
6166
6273
|
id: {
|
|
6167
6274
|
type: "string",
|
|
6168
|
-
|
|
6275
|
+
minLength: 28,
|
|
6276
|
+
maxLength: 36,
|
|
6277
|
+
description: "ID of the [Conversation](#schema_conversation)",
|
|
6169
6278
|
},
|
|
6170
6279
|
createdAt: {
|
|
6171
6280
|
type: "string",
|
|
@@ -6184,11 +6293,13 @@ export const state = {
|
|
|
6184
6293
|
properties: {
|
|
6185
6294
|
fallbackHandlerScript: {
|
|
6186
6295
|
type: "string",
|
|
6296
|
+
maxLength: 2000,
|
|
6187
6297
|
description:
|
|
6188
6298
|
"VRL Script of the [Integration](#schema_integration) to handle incoming requests for a request that doesn't have an identifier",
|
|
6189
6299
|
},
|
|
6190
6300
|
extractScript: {
|
|
6191
6301
|
type: "string",
|
|
6302
|
+
maxLength: 2000,
|
|
6192
6303
|
description:
|
|
6193
6304
|
"VRL Script of the [Integration](#schema_integration) to extract the identifier from an incoming webhook often use for OAuth",
|
|
6194
6305
|
},
|
|
@@ -6199,11 +6310,15 @@ export const state = {
|
|
|
6199
6310
|
},
|
|
6200
6311
|
name: {
|
|
6201
6312
|
type: "string",
|
|
6202
|
-
|
|
6313
|
+
maxLength: 200,
|
|
6314
|
+
description:
|
|
6315
|
+
"Type of the [Message](#schema_message) represents the resource type that the message is related to",
|
|
6203
6316
|
},
|
|
6204
6317
|
version: {
|
|
6205
6318
|
type: "string",
|
|
6206
|
-
|
|
6319
|
+
maxLength: 200,
|
|
6320
|
+
description:
|
|
6321
|
+
"Type of the [Message](#schema_message) represents the resource type that the message is related to",
|
|
6207
6322
|
},
|
|
6208
6323
|
configuration: {
|
|
6209
6324
|
type: "object",
|
|
@@ -6213,6 +6328,8 @@ export const state = {
|
|
|
6213
6328
|
properties: {
|
|
6214
6329
|
linkTemplateScript: {
|
|
6215
6330
|
type: "string",
|
|
6331
|
+
maxLength: 2000,
|
|
6332
|
+
description: "Signing secret of the [Bot](#schema_bot)",
|
|
6216
6333
|
},
|
|
6217
6334
|
required: {
|
|
6218
6335
|
type: "boolean",
|
|
@@ -6683,6 +6800,7 @@ export const state = {
|
|
|
6683
6800
|
"integrations_owned_count",
|
|
6684
6801
|
"cognitive_calls",
|
|
6685
6802
|
"model_credit",
|
|
6803
|
+
"token_spend",
|
|
6686
6804
|
],
|
|
6687
6805
|
description: "Usage type that can be used",
|
|
6688
6806
|
},
|
|
@@ -6799,7 +6917,9 @@ export const state = {
|
|
|
6799
6917
|
properties: {
|
|
6800
6918
|
id: {
|
|
6801
6919
|
type: "string",
|
|
6802
|
-
|
|
6920
|
+
minLength: 28,
|
|
6921
|
+
maxLength: 36,
|
|
6922
|
+
description: "ID of the [Conversation](#schema_conversation)",
|
|
6803
6923
|
},
|
|
6804
6924
|
createdAt: {
|
|
6805
6925
|
type: "string",
|
|
@@ -6823,10 +6943,12 @@ export const state = {
|
|
|
6823
6943
|
},
|
|
6824
6944
|
name: {
|
|
6825
6945
|
type: "string",
|
|
6946
|
+
maxLength: 200,
|
|
6826
6947
|
description: "Name of the [User](#schema_user)",
|
|
6827
6948
|
},
|
|
6828
6949
|
pictureUrl: {
|
|
6829
6950
|
type: "string",
|
|
6951
|
+
maxLength: 40000,
|
|
6830
6952
|
description: "Picture URL of the [User](#schema_user)",
|
|
6831
6953
|
},
|
|
6832
6954
|
},
|
|
@@ -6843,7 +6965,9 @@ export const state = {
|
|
|
6843
6965
|
properties: {
|
|
6844
6966
|
id: {
|
|
6845
6967
|
type: "string",
|
|
6846
|
-
|
|
6968
|
+
minLength: 28,
|
|
6969
|
+
maxLength: 36,
|
|
6970
|
+
description: "ID of the [Conversation](#schema_conversation)",
|
|
6847
6971
|
},
|
|
6848
6972
|
createdAt: {
|
|
6849
6973
|
type: "string",
|
|
@@ -6896,7 +7020,9 @@ export const state = {
|
|
|
6896
7020
|
properties: {
|
|
6897
7021
|
id: {
|
|
6898
7022
|
type: "string",
|
|
6899
|
-
|
|
7023
|
+
minLength: 28,
|
|
7024
|
+
maxLength: 36,
|
|
7025
|
+
description: "ID of the [Conversation](#schema_conversation)",
|
|
6900
7026
|
},
|
|
6901
7027
|
createdAt: {
|
|
6902
7028
|
type: "string",
|
|
@@ -6906,7 +7032,9 @@ export const state = {
|
|
|
6906
7032
|
},
|
|
6907
7033
|
type: {
|
|
6908
7034
|
type: "string",
|
|
6909
|
-
|
|
7035
|
+
maxLength: 200,
|
|
7036
|
+
description:
|
|
7037
|
+
"Type of the [Message](#schema_message) represents the resource type that the message is related to",
|
|
6910
7038
|
},
|
|
6911
7039
|
payload: {
|
|
6912
7040
|
type: "object",
|
|
@@ -6916,15 +7044,21 @@ export const state = {
|
|
|
6916
7044
|
},
|
|
6917
7045
|
conversationId: {
|
|
6918
7046
|
type: "string",
|
|
7047
|
+
minLength: 28,
|
|
7048
|
+
maxLength: 36,
|
|
6919
7049
|
description:
|
|
6920
7050
|
"ID of the [Conversation](#schema_conversation) to link the event to.",
|
|
6921
7051
|
},
|
|
6922
7052
|
userId: {
|
|
6923
7053
|
type: "string",
|
|
7054
|
+
minLength: 28,
|
|
7055
|
+
maxLength: 36,
|
|
6924
7056
|
description: "ID of the [User](#schema_user) to link the event to.",
|
|
6925
7057
|
},
|
|
6926
7058
|
messageId: {
|
|
6927
7059
|
type: "string",
|
|
7060
|
+
minLength: 28,
|
|
7061
|
+
maxLength: 36,
|
|
6928
7062
|
description:
|
|
6929
7063
|
"ID of the [Message](#schema_message) to link the event to.",
|
|
6930
7064
|
},
|
|
@@ -6941,7 +7075,9 @@ export const state = {
|
|
|
6941
7075
|
properties: {
|
|
6942
7076
|
id: {
|
|
6943
7077
|
type: "string",
|
|
6944
|
-
|
|
7078
|
+
minLength: 28,
|
|
7079
|
+
maxLength: 36,
|
|
7080
|
+
description: "ID of the [Conversation](#schema_conversation)",
|
|
6945
7081
|
},
|
|
6946
7082
|
createdAt: {
|
|
6947
7083
|
type: "string",
|
|
@@ -6951,6 +7087,7 @@ export const state = {
|
|
|
6951
7087
|
},
|
|
6952
7088
|
type: {
|
|
6953
7089
|
type: "string",
|
|
7090
|
+
maxLength: 200,
|
|
6954
7091
|
description:
|
|
6955
7092
|
"Type of the [Message](#schema_message) represents the resource type that the message is related to",
|
|
6956
7093
|
},
|
|
@@ -6967,10 +7104,14 @@ export const state = {
|
|
|
6967
7104
|
},
|
|
6968
7105
|
userId: {
|
|
6969
7106
|
type: "string",
|
|
6970
|
-
|
|
7107
|
+
minLength: 28,
|
|
7108
|
+
maxLength: 36,
|
|
7109
|
+
description: "ID of the [Conversation](#schema_conversation)",
|
|
6971
7110
|
},
|
|
6972
7111
|
conversationId: {
|
|
6973
7112
|
type: "string",
|
|
7113
|
+
minLength: 28,
|
|
7114
|
+
maxLength: 36,
|
|
6974
7115
|
description: "ID of the [Conversation](#schema_conversation)",
|
|
6975
7116
|
},
|
|
6976
7117
|
tags: {
|
|
@@ -7004,7 +7145,9 @@ export const state = {
|
|
|
7004
7145
|
properties: {
|
|
7005
7146
|
id: {
|
|
7006
7147
|
type: "string",
|
|
7007
|
-
|
|
7148
|
+
minLength: 28,
|
|
7149
|
+
maxLength: 36,
|
|
7150
|
+
description: "ID of the [Conversation](#schema_conversation)",
|
|
7008
7151
|
},
|
|
7009
7152
|
createdAt: {
|
|
7010
7153
|
type: "string",
|
|
@@ -7020,20 +7163,27 @@ export const state = {
|
|
|
7020
7163
|
},
|
|
7021
7164
|
botId: {
|
|
7022
7165
|
type: "string",
|
|
7023
|
-
|
|
7166
|
+
minLength: 28,
|
|
7167
|
+
maxLength: 36,
|
|
7168
|
+
description: "ID of the [Conversation](#schema_conversation)",
|
|
7024
7169
|
},
|
|
7025
7170
|
conversationId: {
|
|
7026
7171
|
type: "string",
|
|
7172
|
+
minLength: 28,
|
|
7173
|
+
maxLength: 36,
|
|
7027
7174
|
description: "Id of the [Conversation](#schema_conversation)",
|
|
7028
7175
|
},
|
|
7029
7176
|
userId: {
|
|
7030
7177
|
type: "string",
|
|
7178
|
+
minLength: 28,
|
|
7179
|
+
maxLength: 36,
|
|
7031
7180
|
description: "Id of the [User](#schema_user)",
|
|
7032
7181
|
},
|
|
7033
7182
|
name: {
|
|
7034
7183
|
type: "string",
|
|
7184
|
+
maxLength: 200,
|
|
7035
7185
|
description:
|
|
7036
|
-
"
|
|
7186
|
+
"Type of the [Message](#schema_message) represents the resource type that the message is related to",
|
|
7037
7187
|
},
|
|
7038
7188
|
type: {
|
|
7039
7189
|
type: "string",
|