@botpress/api 1.18.2 → 1.19.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.18.2",
1219
+ "version": "1.19.0",
1220
1220
  "prefix": "v1"
1221
1221
  },
1222
1222
  "errors": [
@@ -4809,6 +4809,31 @@ export const state = {
4809
4809
  "expiresAt": {
4810
4810
  "type": "string",
4811
4811
  "description": "File expiry timestamp in ISO 8601 format"
4812
+ },
4813
+ "owner": {
4814
+ "type": "object",
4815
+ "properties": {
4816
+ "type": {
4817
+ "type": "string",
4818
+ "enum": [
4819
+ "bot",
4820
+ "integration",
4821
+ "user"
4822
+ ]
4823
+ },
4824
+ "id": {
4825
+ "type": "string",
4826
+ "description": "This field is present if `type` is \"user\" or \"bot\". If `type` is \"user\", this is the user ID. If `type` is \"bot\", this is the bot ID."
4827
+ },
4828
+ "name": {
4829
+ "type": "string",
4830
+ "description": "This field is present if the `type` is \"integration\". If `type` is \"integration\", this is the integration name."
4831
+ }
4832
+ },
4833
+ "required": [
4834
+ "type"
4835
+ ],
4836
+ "additionalProperties": false
4812
4837
  }
4813
4838
  },
4814
4839
  "required": [
@@ -4824,7 +4849,8 @@ export const state = {
4824
4849
  "updatedAt",
4825
4850
  "accessPolicies",
4826
4851
  "index",
4827
- "status"
4852
+ "status",
4853
+ "owner"
4828
4854
  ],
4829
4855
  "additionalProperties": false
4830
4856
  }