@botpress/api 0.64.1 → 0.65.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.
package/src/gen/state.ts CHANGED
@@ -12690,6 +12690,99 @@ export const state = {
12690
12690
  }
12691
12691
  }
12692
12692
  },
12693
+ "listFileTags": {
12694
+ "name": "listFileTags",
12695
+ "path": "/v1/files/tags",
12696
+ "description": "List available tags",
12697
+ "method": "get",
12698
+ "section": "files",
12699
+ "parameters": {
12700
+ "nextToken": {
12701
+ "in": "query",
12702
+ "description": "Provide the `meta.nextToken` value provided in the last API response to retrieve the next page of results",
12703
+ "type": "string"
12704
+ }
12705
+ },
12706
+ "response": {
12707
+ "description": "Returns the list of available tags used across all files of the bot.",
12708
+ "schema": {
12709
+ "type": "object",
12710
+ "properties": {
12711
+ "tags": {
12712
+ "type": "array",
12713
+ "items": {
12714
+ "type": "string"
12715
+ }
12716
+ },
12717
+ "meta": {
12718
+ "type": "object",
12719
+ "properties": {
12720
+ "nextToken": {
12721
+ "type": "string",
12722
+ "description": "The token to use to retrieve the next page of results, passed as a query string parameter (value should be URL-encoded) to this API endpoint."
12723
+ }
12724
+ },
12725
+ "additionalProperties": false
12726
+ }
12727
+ },
12728
+ "required": [
12729
+ "tags",
12730
+ "meta"
12731
+ ],
12732
+ "title": "listFileTagsResponse",
12733
+ "additionalProperties": false
12734
+ }
12735
+ }
12736
+ },
12737
+ "listFileTagValues": {
12738
+ "name": "listFileTagValues",
12739
+ "path": "/v1/files/tags/{tag}/values",
12740
+ "description": "List available tags",
12741
+ "method": "get",
12742
+ "section": "files",
12743
+ "parameters": {
12744
+ "nextToken": {
12745
+ "in": "query",
12746
+ "description": "Provide the `meta.nextToken` value provided in the last API response to retrieve the next page of results",
12747
+ "type": "string"
12748
+ },
12749
+ "tag": {
12750
+ "type": "string",
12751
+ "description": "Tag name",
12752
+ "in": "path"
12753
+ }
12754
+ },
12755
+ "response": {
12756
+ "description": "Returns the list of available values used for a given tag across all files of the bot.",
12757
+ "schema": {
12758
+ "type": "object",
12759
+ "properties": {
12760
+ "values": {
12761
+ "type": "array",
12762
+ "items": {
12763
+ "type": "string"
12764
+ }
12765
+ },
12766
+ "meta": {
12767
+ "type": "object",
12768
+ "properties": {
12769
+ "nextToken": {
12770
+ "type": "string",
12771
+ "description": "The token to use to retrieve the next page of results, passed as a query string parameter (value should be URL-encoded) to this API endpoint."
12772
+ }
12773
+ },
12774
+ "additionalProperties": false
12775
+ }
12776
+ },
12777
+ "required": [
12778
+ "values",
12779
+ "meta"
12780
+ ],
12781
+ "title": "listFileTagValuesResponse",
12782
+ "additionalProperties": false
12783
+ }
12784
+ }
12785
+ },
12693
12786
  "listTables": {
12694
12787
  "name": "listTables",
12695
12788
  "path": "/v1/tables",
@@ -13901,7 +13994,7 @@ export const state = {
13901
13994
  "title": "Botpress API",
13902
13995
  "description": "API for Botpress Cloud",
13903
13996
  "server": "https://api.botpress.cloud",
13904
- "version": "0.64.1",
13997
+ "version": "0.65.0",
13905
13998
  "prefix": "v1"
13906
13999
  },
13907
14000
  "errors": [
@@ -14227,6 +14320,8 @@ export const state = {
14227
14320
  "copyFileResponse": true,
14228
14321
  "searchFilesResponse": true,
14229
14322
  "listFilePassagesResponse": true,
14323
+ "listFileTagsResponse": true,
14324
+ "listFileTagValuesResponse": true,
14230
14325
  "listTablesResponse": true,
14231
14326
  "getTableResponse": true,
14232
14327
  "getOrCreateTableResponse": true,
@@ -17739,7 +17834,9 @@ export const state = {
17739
17834
  "updateFileMetadata",
17740
17835
  "copyFile",
17741
17836
  "searchFiles",
17742
- "listFilePassages"
17837
+ "listFilePassages",
17838
+ "listFileTags",
17839
+ "listFileTagValues"
17743
17840
  ],
17744
17841
  "schema": "File"
17745
17842
  }