@epilot/file-client 1.20.0 → 1.21.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/dist/openapi.d.ts CHANGED
@@ -234,6 +234,14 @@ declare namespace Components {
234
234
  * Whether the collection is starred / favorited
235
235
  */
236
236
  starred?: boolean;
237
+ /**
238
+ * List of location slugs where the collection is enabled. If empty, enabled for all.
239
+ */
240
+ enabled_locations?: string[];
241
+ /**
242
+ * List of purpose IDs where the collection is enabled. If empty, enabled for all.
243
+ */
244
+ enabled_purposes?: string[];
237
245
  }
238
246
  /**
239
247
  * Request body for creating a file collection
@@ -251,6 +259,14 @@ declare namespace Components {
251
259
  * Whether the collection is starred / favorited
252
260
  */
253
261
  starred?: boolean;
262
+ /**
263
+ * List of location slugs where the collection is enabled. If empty, enabled for all.
264
+ */
265
+ enabled_locations?: string[];
266
+ /**
267
+ * List of purpose IDs where the collection is enabled. If empty, enabled for all.
268
+ */
269
+ enabled_purposes?: string[];
254
270
  }
255
271
  /**
256
272
  * Generated uuid for a file collection
@@ -303,6 +319,19 @@ declare namespace Components {
303
319
  * 0
304
320
  */
305
321
  order?: number;
322
+ /**
323
+ * List of location slugs where the collection is enabled. If empty, enabled for all.
324
+ */
325
+ enabled_locations?: string[];
326
+ /**
327
+ * List of purpose slugs where the collection is enabled. If empty, enabled for all.
328
+ * example:
329
+ * [
330
+ * "purpose:9eefcb98-93cf-4c5b-a040-f1d26d57c177",
331
+ * "purpose:5c544c09-a691-43ed-a7fa-0a8b44b5b161"
332
+ * ]
333
+ */
334
+ enabled_purposes?: string[];
306
335
  /**
307
336
  * Timestamp when the collection was created
308
337
  * example:
package/dist/openapi.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
4
  "title": "File API",
5
- "version": "1.5.0",
5
+ "version": "1.7.0",
6
6
  "description": "Upload and manage epilot Files\n\n## Changelog\n<a href=\"changelog\">View API Changelog</a>\n"
7
7
  },
8
8
  "tags": [
@@ -2010,6 +2010,24 @@
2010
2010
  "description": "Display order for the collection",
2011
2011
  "example": 0
2012
2012
  },
2013
+ "enabled_locations": {
2014
+ "description": "List of location slugs where the collection is enabled. If empty, enabled for all.",
2015
+ "type": "array",
2016
+ "items": {
2017
+ "type": "string"
2018
+ }
2019
+ },
2020
+ "enabled_purposes": {
2021
+ "description": "List of purpose slugs where the collection is enabled. If empty, enabled for all.",
2022
+ "type": "array",
2023
+ "items": {
2024
+ "type": "string"
2025
+ },
2026
+ "example": [
2027
+ "purpose:9eefcb98-93cf-4c5b-a040-f1d26d57c177",
2028
+ "purpose:5c544c09-a691-43ed-a7fa-0a8b44b5b161"
2029
+ ]
2030
+ },
2013
2031
  "created_at": {
2014
2032
  "type": "string",
2015
2033
  "format": "date-time",
@@ -2045,6 +2063,20 @@
2045
2063
  "type": "boolean",
2046
2064
  "description": "Whether the collection is starred / favorited",
2047
2065
  "default": false
2066
+ },
2067
+ "enabled_locations": {
2068
+ "description": "List of location slugs where the collection is enabled. If empty, enabled for all.",
2069
+ "type": "array",
2070
+ "items": {
2071
+ "type": "string"
2072
+ }
2073
+ },
2074
+ "enabled_purposes": {
2075
+ "description": "List of purpose IDs where the collection is enabled. If empty, enabled for all.",
2076
+ "type": "array",
2077
+ "items": {
2078
+ "type": "string"
2079
+ }
2048
2080
  }
2049
2081
  }
2050
2082
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/file-client",
3
- "version": "1.20.0",
3
+ "version": "1.21.0",
4
4
  "description": "Client library for the epilot File API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",