@botpress/api 1.8.0 → 1.10.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.
@@ -1216,7 +1216,7 @@ export const state = {
1216
1216
  "title": "Botpress API",
1217
1217
  "description": "API for Botpress Cloud",
1218
1218
  "server": "https://api.botpress.cloud",
1219
- "version": "1.8.0",
1219
+ "version": "1.10.0",
1220
1220
  "prefix": "v1"
1221
1221
  },
1222
1222
  "errors": [
@@ -1715,6 +1715,14 @@ export const state = {
1715
1715
  "schema": {
1716
1716
  "type": "object",
1717
1717
  "additionalProperties": true
1718
+ },
1719
+ "attributes": {
1720
+ "type": "object",
1721
+ "additionalProperties": {
1722
+ "type": "string",
1723
+ "maxLength": 200
1724
+ },
1725
+ "description": "Optional attributes"
1718
1726
  }
1719
1727
  },
1720
1728
  "required": [
@@ -2367,6 +2375,14 @@ export const state = {
2367
2375
  "schema": {
2368
2376
  "type": "object",
2369
2377
  "additionalProperties": true
2378
+ },
2379
+ "attributes": {
2380
+ "type": "object",
2381
+ "additionalProperties": {
2382
+ "type": "string",
2383
+ "maxLength": 200
2384
+ },
2385
+ "description": "Optional attributes"
2370
2386
  }
2371
2387
  },
2372
2388
  "required": [
@@ -2670,6 +2686,14 @@ export const state = {
2670
2686
  "schema": {
2671
2687
  "type": "object",
2672
2688
  "additionalProperties": true
2689
+ },
2690
+ "attributes": {
2691
+ "type": "object",
2692
+ "additionalProperties": {
2693
+ "type": "string",
2694
+ "maxLength": 200
2695
+ },
2696
+ "description": "Optional attributes"
2673
2697
  }
2674
2698
  },
2675
2699
  "required": [
@@ -2800,6 +2824,29 @@ export const state = {
2800
2824
  ],
2801
2825
  "description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
2802
2826
  "additionalProperties": false
2827
+ },
2828
+ "title": {
2829
+ "type": "string",
2830
+ "minLength": 1,
2831
+ "maxLength": 64,
2832
+ "description": "Title of the interface. This is the name that will be displayed in the UI"
2833
+ },
2834
+ "description": {
2835
+ "type": "string",
2836
+ "maxLength": 256,
2837
+ "description": "Description of the interface. This is the description that will be displayed in the UI"
2838
+ },
2839
+ "iconUrl": {
2840
+ "type": "string",
2841
+ "description": "URL of the icon of the interface. This is the icon that will be displayed in the UI"
2842
+ },
2843
+ "readmeUrl": {
2844
+ "type": "string",
2845
+ "description": "URL of the readme of the interface. This is the readme that will be displayed in the UI"
2846
+ },
2847
+ "public": {
2848
+ "type": "boolean",
2849
+ "description": "Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version."
2803
2850
  }
2804
2851
  },
2805
2852
  "required": [
@@ -2811,7 +2858,12 @@ export const state = {
2811
2858
  "entities",
2812
2859
  "events",
2813
2860
  "actions",
2814
- "channels"
2861
+ "channels",
2862
+ "title",
2863
+ "description",
2864
+ "iconUrl",
2865
+ "readmeUrl",
2866
+ "public"
2815
2867
  ],
2816
2868
  "additionalProperties": false
2817
2869
  }
@@ -2923,6 +2975,14 @@ export const state = {
2923
2975
  "schema": {
2924
2976
  "type": "object",
2925
2977
  "additionalProperties": true
2978
+ },
2979
+ "attributes": {
2980
+ "type": "object",
2981
+ "additionalProperties": {
2982
+ "type": "string",
2983
+ "maxLength": 200
2984
+ },
2985
+ "description": "Optional attributes"
2926
2986
  }
2927
2987
  },
2928
2988
  "required": [