From c0dcbf64b475807835dce33f8fd5c5538530eb60 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 22 Jul 2026 08:38:39 +0000 Subject: [PATCH] Update SDK to version v3.122.1 - Generated from OpenAPI spec version v3.122.1 - Auto-generated by GitHub Actions --- .sdk-version | 2 +- apis/CollectionsApi.ts | 4 ++-- docs/CollectionsApi.md | 2 +- models/CollectionListItemBody.ts | 7 +++++++ package.json | 2 +- types/ObjectParamAPI.ts | 4 ++-- types/ObservableAPI.ts | 4 ++-- types/PromiseAPI.ts | 4 ++-- 8 files changed, 18 insertions(+), 11 deletions(-) diff --git a/.sdk-version b/.sdk-version index 97567de..93bb0a9 100644 --- a/.sdk-version +++ b/.sdk-version @@ -1 +1 @@ -v3.121.0 +v3.122.1 diff --git a/apis/CollectionsApi.ts b/apis/CollectionsApi.ts index 6c2fc38..a323901 100644 --- a/apis/CollectionsApi.ts +++ b/apis/CollectionsApi.ts @@ -673,7 +673,7 @@ export class CollectionsApiRequestFactory extends BaseAPIRequestFactory { * @param orderBy * @param order */ - public async v3ListCollections(searchTerm?: string, filters?: Array<'official_only' | 'user_only' | 'team_only' | 'public_only' | 'hide_empty'>, limit?: number, offset?: number, orderBy?: 'created' | 'collection' | 'model' | 'collection_size' | 'updated', order?: 'ASC' | 'DESC', _options?: Configuration): Promise { + public async v3ListCollections(searchTerm?: string, filters?: Array<'official_only' | 'user_only' | 'team_only' | 'public_only' | 'hide_empty'>, limit?: number, offset?: number, orderBy?: 'created' | 'collection' | 'model' | 'collection_size' | 'updated' | 'owner', order?: 'ASC' | 'DESC', _options?: Configuration): Promise { let _config = _options || this.configuration; @@ -711,7 +711,7 @@ export class CollectionsApiRequestFactory extends BaseAPIRequestFactory { // Query Params if (orderBy !== undefined) { - requestContext.setQueryParam("order_by", ObjectSerializer.serialize(orderBy, "'created' | 'collection' | 'model' | 'collection_size' | 'updated'", "")); + requestContext.setQueryParam("order_by", ObjectSerializer.serialize(orderBy, "'created' | 'collection' | 'model' | 'collection_size' | 'updated' | 'owner'", "")); } // Query Params diff --git a/docs/CollectionsApi.md b/docs/CollectionsApi.md index be07825..c478e28 100644 --- a/docs/CollectionsApi.md +++ b/docs/CollectionsApi.md @@ -692,7 +692,7 @@ Name | Type | Description | Notes **filters** | **Array<'official_only' | 'user_only' | 'team_only' | 'public_only' | 'hide_empty' | '11184809'>** | | (optional) defaults to undefined **limit** | [**number**] | | (optional) defaults to 20 **offset** | [**number**] | | (optional) defaults to 0 - **orderBy** | [**'created' | 'collection' | 'model' | 'collection_size' | 'updated'**]**Array<'created' | 'collection' | 'model' | 'collection_size' | 'updated' | '11184809'>** | | (optional) defaults to 'collection' + **orderBy** | [**'created' | 'collection' | 'model' | 'collection_size' | 'updated' | 'owner'**]**Array<'created' | 'collection' | 'model' | 'collection_size' | 'updated' | 'owner' | '11184809'>** | | (optional) defaults to 'collection' **order** | [**'ASC' | 'DESC'**]**Array<'ASC' | 'DESC' | '11184809'>** | | (optional) defaults to 'ASC' diff --git a/models/CollectionListItemBody.ts b/models/CollectionListItemBody.ts index a9822ed..2203f36 100644 --- a/models/CollectionListItemBody.ts +++ b/models/CollectionListItemBody.ts @@ -23,6 +23,7 @@ export class CollectionListItemBody { 'modelName': string; 'officialCollection': boolean; 'teamId': number; + 'updatedAt': Date; static readonly discriminator: string | undefined = undefined; @@ -94,6 +95,12 @@ export class CollectionListItemBody { "baseName": "team_id", "type": "number", "format": "int64" + }, + { + "name": "updatedAt", + "baseName": "updated_at", + "type": "Date", + "format": "date-time" } ]; static getAttributeTypeMap() { diff --git a/package.json b/package.json index 1d7d290..c99e26f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@revengai/sdk", - "version": "3.121.0", + "version": "3.122.1", "description": "TypeScript SDK for the RevEng.AI API", "author": "RevEng.AI", "repository": { diff --git a/types/ObjectParamAPI.ts b/types/ObjectParamAPI.ts index b1379f5..c649ec3 100644 --- a/types/ObjectParamAPI.ts +++ b/types/ObjectParamAPI.ts @@ -2975,10 +2975,10 @@ export interface CollectionsApiV3ListCollectionsRequest { /** * * Defaults to: 'collection' - * @type 'created' | 'collection' | 'model' | 'collection_size' | 'updated' + * @type 'created' | 'collection' | 'model' | 'collection_size' | 'updated' | 'owner' * @memberof CollectionsApiv3ListCollections */ - orderBy?: 'created' | 'collection' | 'model' | 'collection_size' | 'updated' + orderBy?: 'created' | 'collection' | 'model' | 'collection_size' | 'updated' | 'owner' /** * * Defaults to: 'ASC' diff --git a/types/ObservableAPI.ts b/types/ObservableAPI.ts index f7a8477..159ac52 100644 --- a/types/ObservableAPI.ts +++ b/types/ObservableAPI.ts @@ -3256,7 +3256,7 @@ export class ObservableCollectionsApi { * @param [orderBy] * @param [order] */ - public v3ListCollectionsWithHttpInfo(searchTerm?: string, filters?: Array<'official_only' | 'user_only' | 'team_only' | 'public_only' | 'hide_empty'>, limit?: number, offset?: number, orderBy?: 'created' | 'collection' | 'model' | 'collection_size' | 'updated', order?: 'ASC' | 'DESC', _options?: ConfigurationOptions): Observable> { + public v3ListCollectionsWithHttpInfo(searchTerm?: string, filters?: Array<'official_only' | 'user_only' | 'team_only' | 'public_only' | 'hide_empty'>, limit?: number, offset?: number, orderBy?: 'created' | 'collection' | 'model' | 'collection_size' | 'updated' | 'owner', order?: 'ASC' | 'DESC', _options?: ConfigurationOptions): Observable> { const _config = mergeConfiguration(this.configuration, _options); const requestContextPromise = this.requestFactory.v3ListCollections(searchTerm, filters, limit, offset, orderBy, order, _config); @@ -3286,7 +3286,7 @@ export class ObservableCollectionsApi { * @param [orderBy] * @param [order] */ - public v3ListCollections(searchTerm?: string, filters?: Array<'official_only' | 'user_only' | 'team_only' | 'public_only' | 'hide_empty'>, limit?: number, offset?: number, orderBy?: 'created' | 'collection' | 'model' | 'collection_size' | 'updated', order?: 'ASC' | 'DESC', _options?: ConfigurationOptions): Observable { + public v3ListCollections(searchTerm?: string, filters?: Array<'official_only' | 'user_only' | 'team_only' | 'public_only' | 'hide_empty'>, limit?: number, offset?: number, orderBy?: 'created' | 'collection' | 'model' | 'collection_size' | 'updated' | 'owner', order?: 'ASC' | 'DESC', _options?: ConfigurationOptions): Observable { return this.v3ListCollectionsWithHttpInfo(searchTerm, filters, limit, offset, orderBy, order, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } diff --git a/types/PromiseAPI.ts b/types/PromiseAPI.ts index 3aebc54..b7be06c 100644 --- a/types/PromiseAPI.ts +++ b/types/PromiseAPI.ts @@ -2384,7 +2384,7 @@ export class PromiseCollectionsApi { * @param [orderBy] * @param [order] */ - public v3ListCollectionsWithHttpInfo(searchTerm?: string, filters?: Array<'official_only' | 'user_only' | 'team_only' | 'public_only' | 'hide_empty'>, limit?: number, offset?: number, orderBy?: 'created' | 'collection' | 'model' | 'collection_size' | 'updated', order?: 'ASC' | 'DESC', _options?: PromiseConfigurationOptions): Promise> { + public v3ListCollectionsWithHttpInfo(searchTerm?: string, filters?: Array<'official_only' | 'user_only' | 'team_only' | 'public_only' | 'hide_empty'>, limit?: number, offset?: number, orderBy?: 'created' | 'collection' | 'model' | 'collection_size' | 'updated' | 'owner', order?: 'ASC' | 'DESC', _options?: PromiseConfigurationOptions): Promise> { const observableOptions = wrapOptions(_options); const result = this.api.v3ListCollectionsWithHttpInfo(searchTerm, filters, limit, offset, orderBy, order, observableOptions); return result.toPromise(); @@ -2400,7 +2400,7 @@ export class PromiseCollectionsApi { * @param [orderBy] * @param [order] */ - public v3ListCollections(searchTerm?: string, filters?: Array<'official_only' | 'user_only' | 'team_only' | 'public_only' | 'hide_empty'>, limit?: number, offset?: number, orderBy?: 'created' | 'collection' | 'model' | 'collection_size' | 'updated', order?: 'ASC' | 'DESC', _options?: PromiseConfigurationOptions): Promise { + public v3ListCollections(searchTerm?: string, filters?: Array<'official_only' | 'user_only' | 'team_only' | 'public_only' | 'hide_empty'>, limit?: number, offset?: number, orderBy?: 'created' | 'collection' | 'model' | 'collection_size' | 'updated' | 'owner', order?: 'ASC' | 'DESC', _options?: PromiseConfigurationOptions): Promise { const observableOptions = wrapOptions(_options); const result = this.api.v3ListCollections(searchTerm, filters, limit, offset, orderBy, order, observableOptions); return result.toPromise();