diff --git a/packages/clients/src/api/container/v1beta1/marshalling.gen.ts b/packages/clients/src/api/container/v1beta1/marshalling.gen.ts index be91bd021..ee63da137 100644 --- a/packages/clients/src/api/container/v1beta1/marshalling.gen.ts +++ b/packages/clients/src/api/container/v1beta1/marshalling.gen.ts @@ -163,6 +163,7 @@ export const unmarshalToken = (data: unknown) => { return { containerId: data.container_id, + description: data.description, expiresAt: unmarshalDate(data.expires_at), id: data.id, namespaceId: data.namespace_id, @@ -319,6 +320,7 @@ export const marshalCreateTokenRequest = ( request: CreateTokenRequest, defaults: DefaultValues, ): Record => ({ + description: request.description, expires_at: request.expiresAt, ...resolveOneOf([ { diff --git a/packages/clients/src/api/container/v1beta1/types.gen.ts b/packages/clients/src/api/container/v1beta1/types.gen.ts index 49427a4c9..17ab68ec9 100644 --- a/packages/clients/src/api/container/v1beta1/types.gen.ts +++ b/packages/clients/src/api/container/v1beta1/types.gen.ts @@ -213,6 +213,7 @@ export interface Token { id: string status: TokenStatus expiresAt?: Date + description?: string } export type ListNamespacesRequest = { @@ -434,6 +435,7 @@ export type CreateTokenRequest = { /** One-of ('scope'): at most one of 'containerId', 'namespaceId' could be set. */ namespaceId?: string expiresAt?: Date + description?: string } export type GetTokenRequest = { diff --git a/packages/clients/src/api/function/v1beta1/marshalling.gen.ts b/packages/clients/src/api/function/v1beta1/marshalling.gen.ts index 13a28380d..e9dd9e753 100644 --- a/packages/clients/src/api/function/v1beta1/marshalling.gen.ts +++ b/packages/clients/src/api/function/v1beta1/marshalling.gen.ts @@ -185,6 +185,7 @@ export const unmarshalToken = (data: unknown) => { } return { + description: data.description, expiresAt: unmarshalDate(data.expires_at), functionId: data.function_id, id: data.id, @@ -373,6 +374,7 @@ export const marshalCreateTokenRequest = ( request: CreateTokenRequest, defaults: DefaultValues, ): Record => ({ + description: request.description, expires_at: request.expiresAt, ...resolveOneOf([ { diff --git a/packages/clients/src/api/function/v1beta1/types.gen.ts b/packages/clients/src/api/function/v1beta1/types.gen.ts index 66c01c9bd..31149dbe2 100644 --- a/packages/clients/src/api/function/v1beta1/types.gen.ts +++ b/packages/clients/src/api/function/v1beta1/types.gen.ts @@ -260,6 +260,7 @@ export interface Token { id: string status: TokenStatus expiresAt?: Date + description?: string } /** Upload url */ @@ -501,6 +502,7 @@ export type CreateTokenRequest = { /** One-of ('scope'): at most one of 'functionId', 'namespaceId' could be set. */ namespaceId?: string expiresAt?: Date + description?: string } export type GetTokenRequest = {