From 1c67f4bea3f58e97af740532ca3bfd97b81341d1 Mon Sep 17 00:00:00 2001 From: davelopez <46503462+davelopez@users.noreply.github.com> Date: Fri, 27 Jan 2023 14:24:58 +0100 Subject: [PATCH] Update client API schema --- client/src/schema/schema.ts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/client/src/schema/schema.ts b/client/src/schema/schema.ts index ccbd8669e19d..69c1c47bca38 100644 --- a/client/src/schema/schema.ts +++ b/client/src/schema/schema.ts @@ -6847,6 +6847,12 @@ export interface components { */ update_time: string; }; + /** + * StoredItemOrderBy + * @description Available options for sorting Stored Items results. + * @enum {string} + */ + StoredItemOrderBy: "name-asc" | "name-dsc" | "size-asc" | "size-dsc" | "update_time-asc" | "update_time-dsc"; /** * SuitableConverter * @description Base model definition with common configuration used by all derived models. @@ -13508,6 +13514,14 @@ export interface operations { discarded_datasets_api_storage_datasets_discarded_get: { /** Returns discarded datasets owned by the given user. The results can be paginated. */ parameters?: { + /** @description Starts at the beginning skip the first ( offset - 1 ) items and begin returning at the Nth item */ + /** @description The maximum number of items to return. */ + /** @description String containing one of the valid ordering attributes followed by '-asc' or '-dsc' for ascending and descending order respectively. */ + query?: { + offset?: number; + limit?: number; + order?: components["schemas"]["StoredItemOrderBy"]; + }; /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ header?: { "run-as"?: string; @@ -13587,9 +13601,11 @@ export interface operations { parameters?: { /** @description Starts at the beginning skip the first ( offset - 1 ) items and begin returning at the Nth item */ /** @description The maximum number of items to return. */ + /** @description String containing one of the valid ordering attributes followed by '-asc' or '-dsc' for ascending and descending order respectively. */ query?: { offset?: number; limit?: number; + order?: components["schemas"]["StoredItemOrderBy"]; }; /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ header?: {