@botpress/api 0.13.1 → 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/src/gen/state.ts CHANGED
@@ -17,7 +17,9 @@ export const state = {
17
17
  properties: {
18
18
  channel: {
19
19
  type: "string",
20
- description: "Channel name",
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
- description: "Channel name",
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
- description: "Type of the [Event](#schema_event).",
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
- description: "ID of the [User](#schema_user)",
641
+ minLength: 28,
642
+ maxLength: 36,
643
+ description: "User id",
624
644
  },
625
645
  conversationId: {
626
646
  type: "string",
627
- description: "ID of the [Conversation](#schema_conversation)",
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
- "Type of the [Message](#schema_message) represents the resource type that the message is related to",
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 [Message](#schema_message) will be sent, in the ISO 8601 format",
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
- description: "ID of the [User](#schema_user)",
730
+ minLength: 28,
731
+ maxLength: 36,
732
+ description: "User id",
706
733
  },
707
734
  conversationId: {
708
735
  type: "string",
709
- description: "ID of the [Conversation](#schema_conversation)",
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
- "Type of the [Message](#schema_message) represents the resource type that the message is related to",
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 [Message](#schema_message) will be sent, in the ISO 8601 format",
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
- description: "URL of the user picture",
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
- description: "URL of the user picture",
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
- nullable: true,
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: "URL of the user picture",
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
- description: "Type of the action",
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
- description: "ID of the [Integration](#schema_integration)",
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
- "Name of the [Integration](#schema_integration)",
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
- "Version of the [Integration](#schema_integration)",
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
- format: "uuid",
2396
- description: "Id of the [Bot](#schema_bot)",
2453
+ minLength: 28,
2454
+ maxLength: 36,
2455
+ description: "User id",
2397
2456
  },
2398
2457
  createdAt: {
2399
2458
  type: "string",
@@ -4238,11 +4297,15 @@ export const state = {
4238
4297
  properties: {
4239
4298
  name: {
4240
4299
  type: "string",
4241
- description: "Name of the [Integration](#schema_integration)",
4300
+ maxLength: 200,
4301
+ description:
4302
+ "Unique identifier of the integration that was installed on the bot",
4242
4303
  },
4243
4304
  version: {
4244
4305
  type: "string",
4245
- description: "Version of the [Integration](#schema_integration)",
4306
+ maxLength: 200,
4307
+ description:
4308
+ "Unique identifier of the integration that was installed on the bot",
4246
4309
  },
4247
4310
  configuration: {
4248
4311
  type: "object",
@@ -4261,6 +4324,8 @@ export const state = {
4261
4324
  },
4262
4325
  linkTemplateScript: {
4263
4326
  type: "string",
4327
+ maxLength: 2000,
4328
+ description: "Signing secret of the [Bot](#schema_bot)",
4264
4329
  },
4265
4330
  },
4266
4331
  additionalProperties: false,
@@ -4364,9 +4429,13 @@ export const state = {
4364
4429
  properties: {
4365
4430
  fallbackHandlerScript: {
4366
4431
  type: "string",
4432
+ maxLength: 2000,
4433
+ description: "Signing secret of the [Bot](#schema_bot)",
4367
4434
  },
4368
4435
  extractScript: {
4369
4436
  type: "string",
4437
+ maxLength: 2000,
4438
+ description: "Signing secret of the [Bot](#schema_bot)",
4370
4439
  },
4371
4440
  },
4372
4441
  additionalProperties: false,
@@ -4620,6 +4689,8 @@ export const state = {
4620
4689
  properties: {
4621
4690
  linkTemplateScript: {
4622
4691
  type: "string",
4692
+ maxLength: 2000,
4693
+ description: "Signing secret of the [Bot](#schema_bot)",
4623
4694
  nullable: true,
4624
4695
  },
4625
4696
  required: {
@@ -4749,10 +4820,14 @@ export const state = {
4749
4820
  properties: {
4750
4821
  extractScript: {
4751
4822
  type: "string",
4823
+ maxLength: 2000,
4824
+ description: "Signing secret of the [Bot](#schema_bot)",
4752
4825
  nullable: true,
4753
4826
  },
4754
4827
  fallbackHandlerScript: {
4755
4828
  type: "string",
4829
+ maxLength: 2000,
4830
+ description: "Signing secret of the [Bot](#schema_bot)",
4756
4831
  nullable: true,
4757
4832
  },
4758
4833
  },
@@ -4990,17 +5065,21 @@ export const state = {
4990
5065
  properties: {
4991
5066
  id: {
4992
5067
  type: "string",
4993
- description: "ID of the [Integration](#schema_integration)",
5068
+ minLength: 28,
5069
+ maxLength: 36,
5070
+ description: "User id",
4994
5071
  },
4995
5072
  name: {
4996
5073
  type: "string",
5074
+ maxLength: 200,
4997
5075
  description:
4998
- "Name of the [Integration](#schema_integration)",
5076
+ "Unique identifier of the integration that was installed on the bot",
4999
5077
  },
5000
5078
  version: {
5001
5079
  type: "string",
5080
+ maxLength: 200,
5002
5081
  description:
5003
- "Version of the [Integration](#schema_integration)",
5082
+ "Unique identifier of the integration that was installed on the bot",
5004
5083
  },
5005
5084
  createdAt: {
5006
5085
  type: "string",
@@ -5536,7 +5615,7 @@ export const state = {
5536
5615
  title: "Botpress API",
5537
5616
  description: "API for Botpress Cloud",
5538
5617
  server: "https://api.botpress.cloud",
5539
- version: "0.13.1",
5618
+ version: "0.13.2",
5540
5619
  prefix: "v1",
5541
5620
  },
5542
5621
  errors: [
@@ -5798,8 +5877,9 @@ export const state = {
5798
5877
  properties: {
5799
5878
  id: {
5800
5879
  type: "string",
5801
- format: "uuid",
5802
- description: "Id of the [Bot](#schema_bot)",
5880
+ minLength: 28,
5881
+ maxLength: 36,
5882
+ description: "ID of the [Conversation](#schema_conversation)",
5803
5883
  },
5804
5884
  createdAt: {
5805
5885
  type: "string",
@@ -5815,6 +5895,7 @@ export const state = {
5815
5895
  },
5816
5896
  signingSecret: {
5817
5897
  type: "string",
5898
+ maxLength: 2000,
5818
5899
  description: "Signing secret of the [Bot](#schema_bot)",
5819
5900
  },
5820
5901
  integrations: {
@@ -5827,21 +5908,31 @@ export const state = {
5827
5908
  },
5828
5909
  name: {
5829
5910
  type: "string",
5830
- description: "Name of the [Integration](#schema_integration)",
5911
+ maxLength: 200,
5912
+ description:
5913
+ "Type of the [Message](#schema_message) represents the resource type that the message is related to",
5831
5914
  },
5832
5915
  version: {
5833
5916
  type: "string",
5917
+ maxLength: 200,
5834
5918
  description:
5835
- "Version of the [Integration](#schema_integration)",
5919
+ "Type of the [Message](#schema_message) represents the resource type that the message is related to",
5836
5920
  },
5837
5921
  webhookUrl: {
5838
5922
  type: "string",
5923
+ maxLength: 2000,
5924
+ description: "Signing secret of the [Bot](#schema_bot)",
5839
5925
  },
5840
5926
  webhookId: {
5841
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",
5842
5931
  },
5843
5932
  identifier: {
5844
5933
  type: "string",
5934
+ maxLength: 2000,
5935
+ description: "Signing secret of the [Bot](#schema_bot)",
5845
5936
  },
5846
5937
  configuration: {
5847
5938
  type: "object",
@@ -5860,11 +5951,15 @@ export const state = {
5860
5951
  },
5861
5952
  statusReason: {
5862
5953
  type: "string",
5954
+ maxLength: 2000,
5955
+ description: "Signing secret of the [Bot](#schema_bot)",
5863
5956
  nullable: true,
5864
5957
  },
5865
5958
  id: {
5866
5959
  type: "string",
5867
- description: "ID of the [Integration](#schema_integration)",
5960
+ minLength: 28,
5961
+ maxLength: 36,
5962
+ description: "ID of the [Conversation](#schema_conversation)",
5868
5963
  },
5869
5964
  createdAt: {
5870
5965
  type: "string",
@@ -6088,6 +6183,9 @@ export const state = {
6088
6183
  properties: {
6089
6184
  cron: {
6090
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",
6091
6189
  },
6092
6190
  },
6093
6191
  required: ["cron"],
@@ -6095,6 +6193,9 @@ export const state = {
6095
6193
  },
6096
6194
  type: {
6097
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",
6098
6199
  },
6099
6200
  payload: {
6100
6201
  type: "object",
@@ -6171,7 +6272,9 @@ export const state = {
6171
6272
  properties: {
6172
6273
  id: {
6173
6274
  type: "string",
6174
- description: "ID of the [Integration](#schema_integration)",
6275
+ minLength: 28,
6276
+ maxLength: 36,
6277
+ description: "ID of the [Conversation](#schema_conversation)",
6175
6278
  },
6176
6279
  createdAt: {
6177
6280
  type: "string",
@@ -6190,11 +6293,13 @@ export const state = {
6190
6293
  properties: {
6191
6294
  fallbackHandlerScript: {
6192
6295
  type: "string",
6296
+ maxLength: 2000,
6193
6297
  description:
6194
6298
  "VRL Script of the [Integration](#schema_integration) to handle incoming requests for a request that doesn't have an identifier",
6195
6299
  },
6196
6300
  extractScript: {
6197
6301
  type: "string",
6302
+ maxLength: 2000,
6198
6303
  description:
6199
6304
  "VRL Script of the [Integration](#schema_integration) to extract the identifier from an incoming webhook often use for OAuth",
6200
6305
  },
@@ -6205,11 +6310,15 @@ export const state = {
6205
6310
  },
6206
6311
  name: {
6207
6312
  type: "string",
6208
- description: "Name of the [Integration](#schema_integration)",
6313
+ maxLength: 200,
6314
+ description:
6315
+ "Type of the [Message](#schema_message) represents the resource type that the message is related to",
6209
6316
  },
6210
6317
  version: {
6211
6318
  type: "string",
6212
- description: "Version of the [Integration](#schema_integration)",
6319
+ maxLength: 200,
6320
+ description:
6321
+ "Type of the [Message](#schema_message) represents the resource type that the message is related to",
6213
6322
  },
6214
6323
  configuration: {
6215
6324
  type: "object",
@@ -6219,6 +6328,8 @@ export const state = {
6219
6328
  properties: {
6220
6329
  linkTemplateScript: {
6221
6330
  type: "string",
6331
+ maxLength: 2000,
6332
+ description: "Signing secret of the [Bot](#schema_bot)",
6222
6333
  },
6223
6334
  required: {
6224
6335
  type: "boolean",
@@ -6806,7 +6917,9 @@ export const state = {
6806
6917
  properties: {
6807
6918
  id: {
6808
6919
  type: "string",
6809
- description: "Id of the [User](#schema_user)",
6920
+ minLength: 28,
6921
+ maxLength: 36,
6922
+ description: "ID of the [Conversation](#schema_conversation)",
6810
6923
  },
6811
6924
  createdAt: {
6812
6925
  type: "string",
@@ -6830,10 +6943,12 @@ export const state = {
6830
6943
  },
6831
6944
  name: {
6832
6945
  type: "string",
6946
+ maxLength: 200,
6833
6947
  description: "Name of the [User](#schema_user)",
6834
6948
  },
6835
6949
  pictureUrl: {
6836
6950
  type: "string",
6951
+ maxLength: 40000,
6837
6952
  description: "Picture URL of the [User](#schema_user)",
6838
6953
  },
6839
6954
  },
@@ -6850,7 +6965,9 @@ export const state = {
6850
6965
  properties: {
6851
6966
  id: {
6852
6967
  type: "string",
6853
- description: "Id of the [Conversation](#schema_conversation)",
6968
+ minLength: 28,
6969
+ maxLength: 36,
6970
+ description: "ID of the [Conversation](#schema_conversation)",
6854
6971
  },
6855
6972
  createdAt: {
6856
6973
  type: "string",
@@ -6903,7 +7020,9 @@ export const state = {
6903
7020
  properties: {
6904
7021
  id: {
6905
7022
  type: "string",
6906
- description: "Id of the [Event](#schema_event)",
7023
+ minLength: 28,
7024
+ maxLength: 36,
7025
+ description: "ID of the [Conversation](#schema_conversation)",
6907
7026
  },
6908
7027
  createdAt: {
6909
7028
  type: "string",
@@ -6913,7 +7032,9 @@ export const state = {
6913
7032
  },
6914
7033
  type: {
6915
7034
  type: "string",
6916
- description: "Type of the [Event](#schema_event).",
7035
+ maxLength: 200,
7036
+ description:
7037
+ "Type of the [Message](#schema_message) represents the resource type that the message is related to",
6917
7038
  },
6918
7039
  payload: {
6919
7040
  type: "object",
@@ -6923,15 +7044,21 @@ export const state = {
6923
7044
  },
6924
7045
  conversationId: {
6925
7046
  type: "string",
7047
+ minLength: 28,
7048
+ maxLength: 36,
6926
7049
  description:
6927
7050
  "ID of the [Conversation](#schema_conversation) to link the event to.",
6928
7051
  },
6929
7052
  userId: {
6930
7053
  type: "string",
7054
+ minLength: 28,
7055
+ maxLength: 36,
6931
7056
  description: "ID of the [User](#schema_user) to link the event to.",
6932
7057
  },
6933
7058
  messageId: {
6934
7059
  type: "string",
7060
+ minLength: 28,
7061
+ maxLength: 36,
6935
7062
  description:
6936
7063
  "ID of the [Message](#schema_message) to link the event to.",
6937
7064
  },
@@ -6948,7 +7075,9 @@ export const state = {
6948
7075
  properties: {
6949
7076
  id: {
6950
7077
  type: "string",
6951
- description: "Id of the [Message](#schema_message)",
7078
+ minLength: 28,
7079
+ maxLength: 36,
7080
+ description: "ID of the [Conversation](#schema_conversation)",
6952
7081
  },
6953
7082
  createdAt: {
6954
7083
  type: "string",
@@ -6958,6 +7087,7 @@ export const state = {
6958
7087
  },
6959
7088
  type: {
6960
7089
  type: "string",
7090
+ maxLength: 200,
6961
7091
  description:
6962
7092
  "Type of the [Message](#schema_message) represents the resource type that the message is related to",
6963
7093
  },
@@ -6974,10 +7104,14 @@ export const state = {
6974
7104
  },
6975
7105
  userId: {
6976
7106
  type: "string",
6977
- description: "ID of the [User](#schema_user)",
7107
+ minLength: 28,
7108
+ maxLength: 36,
7109
+ description: "ID of the [Conversation](#schema_conversation)",
6978
7110
  },
6979
7111
  conversationId: {
6980
7112
  type: "string",
7113
+ minLength: 28,
7114
+ maxLength: 36,
6981
7115
  description: "ID of the [Conversation](#schema_conversation)",
6982
7116
  },
6983
7117
  tags: {
@@ -7011,7 +7145,9 @@ export const state = {
7011
7145
  properties: {
7012
7146
  id: {
7013
7147
  type: "string",
7014
- description: "Id of the [State](#schema_state)",
7148
+ minLength: 28,
7149
+ maxLength: 36,
7150
+ description: "ID of the [Conversation](#schema_conversation)",
7015
7151
  },
7016
7152
  createdAt: {
7017
7153
  type: "string",
@@ -7027,20 +7163,27 @@ export const state = {
7027
7163
  },
7028
7164
  botId: {
7029
7165
  type: "string",
7030
- description: "Id of the [Bot](#schema_bot)",
7166
+ minLength: 28,
7167
+ maxLength: 36,
7168
+ description: "ID of the [Conversation](#schema_conversation)",
7031
7169
  },
7032
7170
  conversationId: {
7033
7171
  type: "string",
7172
+ minLength: 28,
7173
+ maxLength: 36,
7034
7174
  description: "Id of the [Conversation](#schema_conversation)",
7035
7175
  },
7036
7176
  userId: {
7037
7177
  type: "string",
7178
+ minLength: 28,
7179
+ maxLength: 36,
7038
7180
  description: "Id of the [User](#schema_user)",
7039
7181
  },
7040
7182
  name: {
7041
7183
  type: "string",
7184
+ maxLength: 200,
7042
7185
  description:
7043
- "Name of the [State](#schema_state) which is declared inside the bot definition",
7186
+ "Type of the [Message](#schema_message) represents the resource type that the message is related to",
7044
7187
  },
7045
7188
  type: {
7046
7189
  type: "string",