@botpress/api 0.44.0 → 0.44.1

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/index.js CHANGED
@@ -285720,7 +285720,8 @@ var state = {
285720
285720
  "id": {
285721
285721
  "type": "string",
285722
285722
  "minLength": 28,
285723
- "maxLength": 36
285723
+ "maxLength": 36,
285724
+ "description": "ID of the interface"
285724
285725
  },
285725
285726
  "name": {
285726
285727
  "type": "string",
@@ -285774,6 +285775,22 @@ var state = {
285774
285775
  ],
285775
285776
  "additionalProperties": false
285776
285777
  }
285778
+ },
285779
+ "channels": {
285780
+ "type": "object",
285781
+ "additionalProperties": {
285782
+ "type": "object",
285783
+ "properties": {
285784
+ "name": {
285785
+ "type": "string",
285786
+ "maxLength": 200
285787
+ }
285788
+ },
285789
+ "required": [
285790
+ "name"
285791
+ ],
285792
+ "additionalProperties": false
285793
+ }
285777
285794
  }
285778
285795
  },
285779
285796
  "required": [
@@ -285781,7 +285798,8 @@ var state = {
285781
285798
  "name",
285782
285799
  "entities",
285783
285800
  "actions",
285784
- "events"
285801
+ "events",
285802
+ "channels"
285785
285803
  ],
285786
285804
  "additionalProperties": false
285787
285805
  }
@@ -286378,7 +286396,8 @@ var state = {
286378
286396
  "id": {
286379
286397
  "type": "string",
286380
286398
  "minLength": 28,
286381
- "maxLength": 36
286399
+ "maxLength": 36,
286400
+ "description": "ID of the interface"
286382
286401
  },
286383
286402
  "name": {
286384
286403
  "type": "string",
@@ -286432,6 +286451,22 @@ var state = {
286432
286451
  ],
286433
286452
  "additionalProperties": false
286434
286453
  }
286454
+ },
286455
+ "channels": {
286456
+ "type": "object",
286457
+ "additionalProperties": {
286458
+ "type": "object",
286459
+ "properties": {
286460
+ "name": {
286461
+ "type": "string",
286462
+ "maxLength": 200
286463
+ }
286464
+ },
286465
+ "required": [
286466
+ "name"
286467
+ ],
286468
+ "additionalProperties": false
286469
+ }
286435
286470
  }
286436
286471
  },
286437
286472
  "required": [
@@ -286439,7 +286474,8 @@ var state = {
286439
286474
  "name",
286440
286475
  "entities",
286441
286476
  "actions",
286442
- "events"
286477
+ "events",
286478
+ "channels"
286443
286479
  ],
286444
286480
  "additionalProperties": false
286445
286481
  }
@@ -291020,7 +291056,8 @@ var state = {
291020
291056
  "id": {
291021
291057
  "type": "string",
291022
291058
  "minLength": 28,
291023
- "maxLength": 36
291059
+ "maxLength": 36,
291060
+ "description": "ID of the interface"
291024
291061
  },
291025
291062
  "entities": {
291026
291063
  "type": "object",
@@ -291069,13 +291106,26 @@ var state = {
291069
291106
  ],
291070
291107
  "additionalProperties": false
291071
291108
  }
291109
+ },
291110
+ "channels": {
291111
+ "type": "object",
291112
+ "additionalProperties": {
291113
+ "type": "object",
291114
+ "properties": {
291115
+ "name": {
291116
+ "type": "string",
291117
+ "maxLength": 200
291118
+ }
291119
+ },
291120
+ "required": [
291121
+ "name"
291122
+ ],
291123
+ "additionalProperties": false
291124
+ }
291072
291125
  }
291073
291126
  },
291074
291127
  "required": [
291075
- "id",
291076
- "entities",
291077
- "actions",
291078
- "events"
291128
+ "id"
291079
291129
  ],
291080
291130
  "additionalProperties": false
291081
291131
  }
@@ -291572,7 +291622,8 @@ var state = {
291572
291622
  "id": {
291573
291623
  "type": "string",
291574
291624
  "minLength": 28,
291575
- "maxLength": 36
291625
+ "maxLength": 36,
291626
+ "description": "ID of the interface"
291576
291627
  },
291577
291628
  "entities": {
291578
291629
  "type": "object",
@@ -291621,13 +291672,26 @@ var state = {
291621
291672
  ],
291622
291673
  "additionalProperties": false
291623
291674
  }
291675
+ },
291676
+ "channels": {
291677
+ "type": "object",
291678
+ "additionalProperties": {
291679
+ "type": "object",
291680
+ "properties": {
291681
+ "name": {
291682
+ "type": "string",
291683
+ "maxLength": 200
291684
+ }
291685
+ },
291686
+ "required": [
291687
+ "name"
291688
+ ],
291689
+ "additionalProperties": false
291690
+ }
291624
291691
  }
291625
291692
  },
291626
291693
  "required": [
291627
- "id",
291628
- "entities",
291629
- "actions",
291630
- "events"
291694
+ "id"
291631
291695
  ],
291632
291696
  "nullable": true,
291633
291697
  "additionalProperties": false
@@ -292034,6 +292098,33 @@ var state = {
292034
292098
  "maxLength": 200,
292035
292099
  "description": "Version of the [Interface](#schema_interface)"
292036
292100
  },
292101
+ "entities": {
292102
+ "type": "object",
292103
+ "additionalProperties": {
292104
+ "type": "object",
292105
+ "properties": {
292106
+ "title": {
292107
+ "type": "string",
292108
+ "maxLength": 64,
292109
+ "description": "Title of the entity"
292110
+ },
292111
+ "description": {
292112
+ "type": "string",
292113
+ "maxLength": 256,
292114
+ "description": "Description of the entity"
292115
+ },
292116
+ "schema": {
292117
+ "type": "object",
292118
+ "additionalProperties": true
292119
+ }
292120
+ },
292121
+ "required": [
292122
+ "schema"
292123
+ ],
292124
+ "description": "Entity definition",
292125
+ "additionalProperties": false
292126
+ }
292127
+ },
292037
292128
  "events": {
292038
292129
  "type": "object",
292039
292130
  "additionalProperties": {
@@ -292117,7 +292208,7 @@ var state = {
292117
292208
  "additionalProperties": false
292118
292209
  }
292119
292210
  },
292120
- "entities": {
292211
+ "channels": {
292121
292212
  "type": "object",
292122
292213
  "additionalProperties": {
292123
292214
  "type": "object",
@@ -292125,22 +292216,34 @@ var state = {
292125
292216
  "title": {
292126
292217
  "type": "string",
292127
292218
  "maxLength": 64,
292128
- "description": "Title of the entity"
292219
+ "description": "Title of the channel"
292129
292220
  },
292130
292221
  "description": {
292131
292222
  "type": "string",
292132
292223
  "maxLength": 256,
292133
- "description": "Description of the entity"
292224
+ "description": "Description of the channel"
292134
292225
  },
292135
- "schema": {
292226
+ "messages": {
292136
292227
  "type": "object",
292137
- "additionalProperties": true
292228
+ "additionalProperties": {
292229
+ "type": "object",
292230
+ "properties": {
292231
+ "schema": {
292232
+ "type": "object",
292233
+ "additionalProperties": true
292234
+ }
292235
+ },
292236
+ "required": [
292237
+ "schema"
292238
+ ],
292239
+ "description": "Message definition",
292240
+ "additionalProperties": false
292241
+ }
292138
292242
  }
292139
292243
  },
292140
292244
  "required": [
292141
- "schema"
292245
+ "messages"
292142
292246
  ],
292143
- "description": "Entity definition",
292144
292247
  "additionalProperties": false
292145
292248
  }
292146
292249
  },
@@ -292166,10 +292269,7 @@ var state = {
292166
292269
  },
292167
292270
  "required": [
292168
292271
  "name",
292169
- "version",
292170
- "events",
292171
- "actions",
292172
- "entities"
292272
+ "version"
292173
292273
  ],
292174
292274
  "title": "createInterfaceBody",
292175
292275
  "additionalProperties": false
@@ -292275,6 +292375,34 @@ var state = {
292275
292375
  "schema": {
292276
292376
  "type": "object",
292277
292377
  "properties": {
292378
+ "entities": {
292379
+ "type": "object",
292380
+ "additionalProperties": {
292381
+ "type": "object",
292382
+ "properties": {
292383
+ "title": {
292384
+ "type": "string",
292385
+ "maxLength": 64,
292386
+ "description": "Title of the entity"
292387
+ },
292388
+ "description": {
292389
+ "type": "string",
292390
+ "maxLength": 256,
292391
+ "description": "Description of the entity"
292392
+ },
292393
+ "schema": {
292394
+ "type": "object",
292395
+ "additionalProperties": true
292396
+ }
292397
+ },
292398
+ "required": [
292399
+ "schema"
292400
+ ],
292401
+ "description": "Entity definition",
292402
+ "nullable": true,
292403
+ "additionalProperties": false
292404
+ }
292405
+ },
292278
292406
  "events": {
292279
292407
  "type": "object",
292280
292408
  "additionalProperties": {
@@ -292360,7 +292488,7 @@ var state = {
292360
292488
  "additionalProperties": false
292361
292489
  }
292362
292490
  },
292363
- "entities": {
292491
+ "channels": {
292364
292492
  "type": "object",
292365
292493
  "additionalProperties": {
292366
292494
  "type": "object",
@@ -292368,22 +292496,32 @@ var state = {
292368
292496
  "title": {
292369
292497
  "type": "string",
292370
292498
  "maxLength": 64,
292371
- "description": "Title of the entity"
292499
+ "description": "Title of the channel"
292372
292500
  },
292373
292501
  "description": {
292374
292502
  "type": "string",
292375
292503
  "maxLength": 256,
292376
- "description": "Description of the entity"
292504
+ "description": "Description of the channel"
292377
292505
  },
292378
- "schema": {
292506
+ "messages": {
292379
292507
  "type": "object",
292380
- "additionalProperties": true
292508
+ "additionalProperties": {
292509
+ "type": "object",
292510
+ "properties": {
292511
+ "schema": {
292512
+ "type": "object",
292513
+ "additionalProperties": true
292514
+ }
292515
+ },
292516
+ "required": [
292517
+ "schema"
292518
+ ],
292519
+ "description": "Message definition",
292520
+ "nullable": true,
292521
+ "additionalProperties": false
292522
+ }
292381
292523
  }
292382
292524
  },
292383
- "required": [
292384
- "schema"
292385
- ],
292386
- "description": "Entity definition",
292387
292525
  "nullable": true,
292388
292526
  "additionalProperties": false
292389
292527
  }
@@ -294722,7 +294860,7 @@ var state = {
294722
294860
  "title": "Botpress API",
294723
294861
  "description": "API for Botpress Cloud",
294724
294862
  "server": "https://api.botpress.cloud",
294725
- "version": "0.44.0",
294863
+ "version": "0.44.1",
294726
294864
  "prefix": "v1"
294727
294865
  },
294728
294866
  "errors": [
@@ -295661,7 +295799,8 @@ var state = {
295661
295799
  "id": {
295662
295800
  "type": "string",
295663
295801
  "minLength": 28,
295664
- "maxLength": 36
295802
+ "maxLength": 36,
295803
+ "description": "ID of the interface"
295665
295804
  },
295666
295805
  "name": {
295667
295806
  "type": "string",
@@ -295715,6 +295854,22 @@ var state = {
295715
295854
  ],
295716
295855
  "additionalProperties": false
295717
295856
  }
295857
+ },
295858
+ "channels": {
295859
+ "type": "object",
295860
+ "additionalProperties": {
295861
+ "type": "object",
295862
+ "properties": {
295863
+ "name": {
295864
+ "type": "string",
295865
+ "maxLength": 200
295866
+ }
295867
+ },
295868
+ "required": [
295869
+ "name"
295870
+ ],
295871
+ "additionalProperties": false
295872
+ }
295718
295873
  }
295719
295874
  },
295720
295875
  "required": [
@@ -295722,7 +295877,8 @@ var state = {
295722
295877
  "name",
295723
295878
  "entities",
295724
295879
  "actions",
295725
- "events"
295880
+ "events",
295881
+ "channels"
295726
295882
  ],
295727
295883
  "additionalProperties": false
295728
295884
  }
@@ -296235,6 +296391,33 @@ var state = {
296235
296391
  "maxLength": 200,
296236
296392
  "description": "Version of the [Interface](#schema_interface)"
296237
296393
  },
296394
+ "entities": {
296395
+ "type": "object",
296396
+ "additionalProperties": {
296397
+ "type": "object",
296398
+ "properties": {
296399
+ "title": {
296400
+ "type": "string",
296401
+ "maxLength": 64,
296402
+ "description": "Title of the entity"
296403
+ },
296404
+ "description": {
296405
+ "type": "string",
296406
+ "maxLength": 256,
296407
+ "description": "Description of the entity"
296408
+ },
296409
+ "schema": {
296410
+ "type": "object",
296411
+ "additionalProperties": true
296412
+ }
296413
+ },
296414
+ "required": [
296415
+ "schema"
296416
+ ],
296417
+ "description": "Entity definition",
296418
+ "additionalProperties": false
296419
+ }
296420
+ },
296238
296421
  "events": {
296239
296422
  "type": "object",
296240
296423
  "additionalProperties": {
@@ -296318,7 +296501,7 @@ var state = {
296318
296501
  "additionalProperties": false
296319
296502
  }
296320
296503
  },
296321
- "entities": {
296504
+ "channels": {
296322
296505
  "type": "object",
296323
296506
  "additionalProperties": {
296324
296507
  "type": "object",
@@ -296326,22 +296509,34 @@ var state = {
296326
296509
  "title": {
296327
296510
  "type": "string",
296328
296511
  "maxLength": 64,
296329
- "description": "Title of the entity"
296512
+ "description": "Title of the channel"
296330
296513
  },
296331
296514
  "description": {
296332
296515
  "type": "string",
296333
296516
  "maxLength": 256,
296334
- "description": "Description of the entity"
296517
+ "description": "Description of the channel"
296335
296518
  },
296336
- "schema": {
296519
+ "messages": {
296337
296520
  "type": "object",
296338
- "additionalProperties": true
296521
+ "additionalProperties": {
296522
+ "type": "object",
296523
+ "properties": {
296524
+ "schema": {
296525
+ "type": "object",
296526
+ "additionalProperties": true
296527
+ }
296528
+ },
296529
+ "required": [
296530
+ "schema"
296531
+ ],
296532
+ "description": "Message definition",
296533
+ "additionalProperties": false
296534
+ }
296339
296535
  }
296340
296536
  },
296341
296537
  "required": [
296342
- "schema"
296538
+ "messages"
296343
296539
  ],
296344
- "description": "Entity definition",
296345
296540
  "additionalProperties": false
296346
296541
  }
296347
296542
  },
@@ -296371,9 +296566,10 @@ var state = {
296371
296566
  "updatedAt",
296372
296567
  "name",
296373
296568
  "version",
296569
+ "entities",
296374
296570
  "events",
296375
296571
  "actions",
296376
- "entities"
296572
+ "channels"
296377
296573
  ],
296378
296574
  "additionalProperties": false
296379
296575
  }