/** * Dashboard API * Dashboard API documentation * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { ClientTypeEnum } from './ClientTypeEnum'; /** * A first-party client (CLI / MCP / demo / IDE plugin) authorized to act as * the user via the OAuth grant flow. Surfaced in `Profile → Authorized * Clients` for management. * @export * @interface AuthorizedClient */ export interface AuthorizedClient { /** * * @type {string} * @memberof AuthorizedClient */ id: string; /** * * @type {ClientTypeEnum} * @memberof AuthorizedClient */ clientType: ClientTypeEnum; /** * Package or product name reported at grant time. * @type {string} * @memberof AuthorizedClient */ clientName?: string | null; /** * Version reported at grant time. * @type {string} * @memberof AuthorizedClient */ clientVersion?: string | null; /** * User-editable label. Defaults to `client_metadata.hostname` at grant * time; the user can rename it from the management UI. * @type {string} * @memberof AuthorizedClient */ label?: string | null; /** * IP address recorded at grant approval time. * @type {string} * @memberof AuthorizedClient */ ipAtGrant?: string | null; /** * * @type {Date} * @memberof AuthorizedClient */ createdAt: Date; /** * Timestamp of the most recent successful auth check. Sampled at most * once per minute per client to avoid write amplification on hot loops. * @type {Date} * @memberof AuthorizedClient */ lastUsedAt?: Date | null; /** * When the client was revoked. Null = active. * @type {Date} * @memberof AuthorizedClient */ revokedAt?: Date | null; /** * When the client's JWT naturally expires (typically 30 days post-grant). * @type {Date} * @memberof AuthorizedClient */ expiresAt: Date; /** * True when the listing request's own JWT references this row. The UI * uses this to render a "This client" badge and require extra * confirmation on revoke. * @type {boolean} * @memberof AuthorizedClient */ isCurrent?: boolean; } export declare function AuthorizedClientFromJSON(json: any): AuthorizedClient; export declare function AuthorizedClientFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthorizedClient; export declare function AuthorizedClientToJSON(value?: AuthorizedClient | null): any;