@botpress/api 1.6.0 → 1.8.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.
@@ -1753,6 +1753,7 @@ export const state = {
1753
1753
  "identifier": {
1754
1754
  "type": "string",
1755
1755
  "maxLength": 200,
1756
+ "nullable": true,
1756
1757
  "description": "Unique identifier of the integration that was installed on the bot"
1757
1758
  },
1758
1759
  "scheduleRegisterCall": {
@@ -1777,7 +1778,7 @@ export const state = {
1777
1778
  "additionalProperties": false
1778
1779
  },
1779
1780
  "nullable": true,
1780
- "description": "Sandbox identifiers for the integration. Setting this to null will remove all sandbox identifiers. Setting an individual sandbox identifier to null will remove that sandbox identifier. This is an experimental feature meant to be used by specific integrations."
1781
+ "description": "**EXPERIMENTAL** Sandbox identifiers for the integration. Setting this to null will remove all sandbox identifiers. Setting an individual sandbox identifier to null will remove that sandbox identifier. This is an experimental feature meant to be used by specific integrations."
1781
1782
  }
1782
1783
  },
1783
1784
  "title": "configureIntegrationBody",
@@ -2607,7 +2608,7 @@ export const state = {
2607
2608
  "title": "Botpress API",
2608
2609
  "description": "API for Botpress Cloud",
2609
2610
  "server": "https://api.botpress.cloud",
2610
- "version": "1.6.0",
2611
+ "version": "1.8.0",
2611
2612
  "prefix": "v1"
2612
2613
  },
2613
2614
  "errors": [
@@ -3269,6 +3270,14 @@ export const state = {
3269
3270
  "schema"
3270
3271
  ],
3271
3272
  "additionalProperties": false
3273
+ },
3274
+ "attributes": {
3275
+ "type": "object",
3276
+ "additionalProperties": {
3277
+ "type": "string",
3278
+ "maxLength": 200
3279
+ },
3280
+ "description": "Optional attributes"
3272
3281
  }
3273
3282
  },
3274
3283
  "required": [
@@ -3845,6 +3854,14 @@ export const state = {
3845
3854
  "schema"
3846
3855
  ],
3847
3856
  "additionalProperties": false
3857
+ },
3858
+ "attributes": {
3859
+ "type": "object",
3860
+ "additionalProperties": {
3861
+ "type": "string",
3862
+ "maxLength": 200
3863
+ },
3864
+ "description": "Optional attributes"
3848
3865
  }
3849
3866
  },
3850
3867
  "required": [
@@ -4140,6 +4157,14 @@ export const state = {
4140
4157
  "schema"
4141
4158
  ],
4142
4159
  "additionalProperties": false
4160
+ },
4161
+ "attributes": {
4162
+ "type": "object",
4163
+ "additionalProperties": {
4164
+ "type": "string",
4165
+ "maxLength": 200
4166
+ },
4167
+ "description": "Optional attributes"
4143
4168
  }
4144
4169
  },
4145
4170
  "required": [
@@ -4385,6 +4410,14 @@ export const state = {
4385
4410
  "schema"
4386
4411
  ],
4387
4412
  "additionalProperties": false
4413
+ },
4414
+ "attributes": {
4415
+ "type": "object",
4416
+ "additionalProperties": {
4417
+ "type": "string",
4418
+ "maxLength": 200
4419
+ },
4420
+ "description": "Optional attributes"
4388
4421
  }
4389
4422
  },
4390
4423
  "required": [
package/src/gen/state.ts CHANGED
@@ -1753,6 +1753,7 @@ export const state = {
1753
1753
  "identifier": {
1754
1754
  "type": "string",
1755
1755
  "maxLength": 200,
1756
+ "nullable": true,
1756
1757
  "description": "Unique identifier of the integration that was installed on the bot"
1757
1758
  },
1758
1759
  "scheduleRegisterCall": {
@@ -1777,7 +1778,7 @@ export const state = {
1777
1778
  "additionalProperties": false
1778
1779
  },
1779
1780
  "nullable": true,
1780
- "description": "Sandbox identifiers for the integration. Setting this to null will remove all sandbox identifiers. Setting an individual sandbox identifier to null will remove that sandbox identifier. This is an experimental feature meant to be used by specific integrations."
1781
+ "description": "**EXPERIMENTAL** Sandbox identifiers for the integration. Setting this to null will remove all sandbox identifiers. Setting an individual sandbox identifier to null will remove that sandbox identifier. This is an experimental feature meant to be used by specific integrations."
1781
1782
  }
1782
1783
  },
1783
1784
  "title": "configureIntegrationBody",
@@ -3745,6 +3746,14 @@ export const state = {
3745
3746
  "schema"
3746
3747
  ],
3747
3748
  "additionalProperties": false
3749
+ },
3750
+ "attributes": {
3751
+ "type": "object",
3752
+ "additionalProperties": {
3753
+ "type": "string",
3754
+ "maxLength": 200
3755
+ },
3756
+ "description": "Optional attributes"
3748
3757
  }
3749
3758
  },
3750
3759
  "required": [
@@ -4462,6 +4471,14 @@ export const state = {
4462
4471
  "schema"
4463
4472
  ],
4464
4473
  "additionalProperties": false
4474
+ },
4475
+ "attributes": {
4476
+ "type": "object",
4477
+ "additionalProperties": {
4478
+ "type": "string",
4479
+ "maxLength": 200
4480
+ },
4481
+ "description": "Optional attributes"
4465
4482
  }
4466
4483
  },
4467
4484
  "required": [
@@ -4974,6 +4991,14 @@ export const state = {
4974
4991
  "schema"
4975
4992
  ],
4976
4993
  "additionalProperties": false
4994
+ },
4995
+ "attributes": {
4996
+ "type": "object",
4997
+ "additionalProperties": {
4998
+ "type": "string",
4999
+ "maxLength": 200
5000
+ },
5001
+ "description": "Optional attributes"
4977
5002
  }
4978
5003
  },
4979
5004
  "required": [
@@ -5348,6 +5373,14 @@ export const state = {
5348
5373
  "schema"
5349
5374
  ],
5350
5375
  "additionalProperties": false
5376
+ },
5377
+ "attributes": {
5378
+ "type": "object",
5379
+ "additionalProperties": {
5380
+ "type": "string",
5381
+ "maxLength": 200
5382
+ },
5383
+ "description": "Optional attributes"
5351
5384
  }
5352
5385
  },
5353
5386
  "required": [
@@ -5751,6 +5784,14 @@ export const state = {
5751
5784
  "schema"
5752
5785
  ],
5753
5786
  "additionalProperties": false
5787
+ },
5788
+ "attributes": {
5789
+ "type": "object",
5790
+ "additionalProperties": {
5791
+ "type": "string",
5792
+ "maxLength": 200
5793
+ },
5794
+ "description": "Optional attributes"
5754
5795
  }
5755
5796
  },
5756
5797
  "required": [
@@ -6138,6 +6179,14 @@ export const state = {
6138
6179
  "schema"
6139
6180
  ],
6140
6181
  "additionalProperties": false
6182
+ },
6183
+ "attributes": {
6184
+ "type": "object",
6185
+ "additionalProperties": {
6186
+ "type": "string",
6187
+ "maxLength": 200
6188
+ },
6189
+ "description": "Optional attributes"
6141
6190
  }
6142
6191
  },
6143
6192
  "required": [
@@ -7380,7 +7429,7 @@ export const state = {
7380
7429
  },
7381
7430
  "createIntegrationShareableId": {
7382
7431
  "name": "createIntegrationShareableId",
7383
- "description": "(Experimental) Generate a shareable ID for an integration installed in a bot. This ID is meant to identify the crossover of a bot and an integration version, just like the webhook ID, but in a human-readable format. It is used for the integrations channel sandbox feature.",
7432
+ "description": "**EXPERIMENTAL** Generate a shareable ID for an integration installed in a bot. This ID is meant to identify the crossover of a bot and an integration version, just like the webhook ID, but in a human-readable format. It is used for the integrations channel sandbox feature.",
7384
7433
  "method": "post",
7385
7434
  "path": "/v1/admin/bots/{botId}/integrations/{integrationId}/shareable-id",
7386
7435
  "section": "bot",
@@ -7423,7 +7472,7 @@ export const state = {
7423
7472
  },
7424
7473
  "deleteIntegrationShareableId": {
7425
7474
  "name": "deleteIntegrationShareableId",
7426
- "description": "(Experimental) Delete a shareable ID for an integration installed in a bot. This ID is meant to identify the crossover of a bot and an integration version, just like the webhook ID, but in a human-readable format. It is used for the integrations channel sandbox feature.",
7475
+ "description": "**EXPERIMENTAL** Delete a shareable ID for an integration installed in a bot. This ID is meant to identify the crossover of a bot and an integration version, just like the webhook ID, but in a human-readable format. It is used for the integrations channel sandbox feature.",
7427
7476
  "method": "delete",
7428
7477
  "path": "/v1/admin/bots/{botId}/integrations/{integrationId}/shareable-id",
7429
7478
  "section": "bot",
@@ -7450,7 +7499,7 @@ export const state = {
7450
7499
  },
7451
7500
  "getIntegrationShareableId": {
7452
7501
  "name": "getIntegrationShareableId",
7453
- "description": "(Experimental) Get an existing shareable ID for an integration installed in a bot. This ID is meant to identify the crossover of a bot and an integration version, just like the webhook ID, but in a human-readable format. It is used for the integrations channel sandbox feature.",
7502
+ "description": "**EXPERIMENTAL** Get an existing shareable ID for an integration installed in a bot. This ID is meant to identify the crossover of a bot and an integration version, just like the webhook ID, but in a human-readable format. It is used for the integrations channel sandbox feature.",
7454
7503
  "method": "get",
7455
7504
  "path": "/v1/admin/bots/{botId}/integrations/{integrationId}/shareable-id",
7456
7505
  "section": "bot",
@@ -9827,6 +9876,14 @@ export const state = {
9827
9876
  "schema"
9828
9877
  ],
9829
9878
  "additionalProperties": false
9879
+ },
9880
+ "attributes": {
9881
+ "type": "object",
9882
+ "additionalProperties": {
9883
+ "type": "string",
9884
+ "maxLength": 200
9885
+ },
9886
+ "description": "Optional attributes"
9830
9887
  }
9831
9888
  },
9832
9889
  "required": [
@@ -10393,6 +10450,14 @@ export const state = {
10393
10450
  "schema"
10394
10451
  ],
10395
10452
  "additionalProperties": false
10453
+ },
10454
+ "attributes": {
10455
+ "type": "object",
10456
+ "additionalProperties": {
10457
+ "type": "string",
10458
+ "maxLength": 200
10459
+ },
10460
+ "description": "Optional attributes"
10396
10461
  }
10397
10462
  },
10398
10463
  "required": [
@@ -11026,13 +11091,21 @@ export const state = {
11026
11091
  "schema"
11027
11092
  ],
11028
11093
  "additionalProperties": false
11094
+ },
11095
+ "attributes": {
11096
+ "type": "object",
11097
+ "additionalProperties": {
11098
+ "type": "string",
11099
+ "maxLength": 200,
11100
+ "nullable": true
11101
+ },
11102
+ "description": "Optional attributes. Set attributes to null to remove them"
11029
11103
  }
11030
11104
  },
11031
11105
  "required": [
11032
11106
  "input",
11033
11107
  "output"
11034
11108
  ],
11035
- "description": "Action definition",
11036
11109
  "nullable": true,
11037
11110
  "additionalProperties": false
11038
11111
  }
@@ -11609,13 +11682,21 @@ export const state = {
11609
11682
  "schema"
11610
11683
  ],
11611
11684
  "additionalProperties": false
11685
+ },
11686
+ "attributes": {
11687
+ "type": "object",
11688
+ "additionalProperties": {
11689
+ "type": "string",
11690
+ "maxLength": 200,
11691
+ "nullable": true
11692
+ },
11693
+ "description": "Optional attributes. Set attributes to null to remove them"
11612
11694
  }
11613
11695
  },
11614
11696
  "required": [
11615
11697
  "input",
11616
11698
  "output"
11617
11699
  ],
11618
- "description": "Action definition",
11619
11700
  "nullable": true,
11620
11701
  "additionalProperties": false
11621
11702
  }
@@ -12500,6 +12581,14 @@ export const state = {
12500
12581
  "schema"
12501
12582
  ],
12502
12583
  "additionalProperties": false
12584
+ },
12585
+ "attributes": {
12586
+ "type": "object",
12587
+ "additionalProperties": {
12588
+ "type": "string",
12589
+ "maxLength": 200
12590
+ },
12591
+ "description": "Optional attributes"
12503
12592
  }
12504
12593
  },
12505
12594
  "required": [
@@ -12779,13 +12868,20 @@ export const state = {
12779
12868
  "schema"
12780
12869
  ],
12781
12870
  "additionalProperties": false
12871
+ },
12872
+ "attributes": {
12873
+ "type": "object",
12874
+ "additionalProperties": {
12875
+ "type": "string",
12876
+ "maxLength": 200,
12877
+ "nullable": true
12878
+ }
12782
12879
  }
12783
12880
  },
12784
12881
  "required": [
12785
12882
  "input",
12786
12883
  "output"
12787
12884
  ],
12788
- "description": "Action definition",
12789
12885
  "nullable": true,
12790
12886
  "additionalProperties": false
12791
12887
  }
@@ -13129,6 +13225,14 @@ export const state = {
13129
13225
  "schema"
13130
13226
  ],
13131
13227
  "additionalProperties": false
13228
+ },
13229
+ "attributes": {
13230
+ "type": "object",
13231
+ "additionalProperties": {
13232
+ "type": "string",
13233
+ "maxLength": 200
13234
+ },
13235
+ "description": "Optional attributes"
13132
13236
  }
13133
13237
  },
13134
13238
  "required": [
@@ -13520,6 +13624,14 @@ export const state = {
13520
13624
  "schema"
13521
13625
  ],
13522
13626
  "additionalProperties": false
13627
+ },
13628
+ "attributes": {
13629
+ "type": "object",
13630
+ "additionalProperties": {
13631
+ "type": "string",
13632
+ "maxLength": 200
13633
+ },
13634
+ "description": "Optional attributes"
13523
13635
  }
13524
13636
  },
13525
13637
  "required": [
@@ -17139,7 +17251,7 @@ export const state = {
17139
17251
  "title": "Botpress API",
17140
17252
  "description": "API for Botpress Cloud",
17141
17253
  "server": "https://api.botpress.cloud",
17142
- "version": "1.6.0",
17254
+ "version": "1.8.0",
17143
17255
  "prefix": "v1"
17144
17256
  },
17145
17257
  "errors": [
@@ -17971,6 +18083,14 @@ export const state = {
17971
18083
  "schema"
17972
18084
  ],
17973
18085
  "additionalProperties": false
18086
+ },
18087
+ "attributes": {
18088
+ "type": "object",
18089
+ "additionalProperties": {
18090
+ "type": "string",
18091
+ "maxLength": 200
18092
+ },
18093
+ "description": "Optional attributes"
17974
18094
  }
17975
18095
  },
17976
18096
  "required": [
@@ -18547,6 +18667,14 @@ export const state = {
18547
18667
  "schema"
18548
18668
  ],
18549
18669
  "additionalProperties": false
18670
+ },
18671
+ "attributes": {
18672
+ "type": "object",
18673
+ "additionalProperties": {
18674
+ "type": "string",
18675
+ "maxLength": 200
18676
+ },
18677
+ "description": "Optional attributes"
18550
18678
  }
18551
18679
  },
18552
18680
  "required": [
@@ -18842,6 +18970,14 @@ export const state = {
18842
18970
  "schema"
18843
18971
  ],
18844
18972
  "additionalProperties": false
18973
+ },
18974
+ "attributes": {
18975
+ "type": "object",
18976
+ "additionalProperties": {
18977
+ "type": "string",
18978
+ "maxLength": 200
18979
+ },
18980
+ "description": "Optional attributes"
18845
18981
  }
18846
18982
  },
18847
18983
  "required": [
@@ -19087,6 +19223,14 @@ export const state = {
19087
19223
  "schema"
19088
19224
  ],
19089
19225
  "additionalProperties": false
19226
+ },
19227
+ "attributes": {
19228
+ "type": "object",
19229
+ "additionalProperties": {
19230
+ "type": "string",
19231
+ "maxLength": 200
19232
+ },
19233
+ "description": "Optional attributes"
19090
19234
  }
19091
19235
  },
19092
19236
  "required": [