/** * User Service API * Solomon AI User Service API - Manages user profiles and authentication * * The version of the OpenAPI document: 1.0 * Contact: yoanyomba@solomon-ai.co * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { APIKeyEnvironment } from './aPIKeyEnvironment'; import { ApiPermission } from './apiPermission'; import { ScopeType } from './scopeType'; export declare class OrgAPIKey { /** * Unique identifier for the API key. */ 'id'?: string; /** * Name of the API key. */ 'keyName': string; /** * Description of the API key. */ 'description'?: string; /** * Unique key identifier. */ 'keyId': string; /** * Hashed API key. */ 'keyHash'?: string; /** * Scopes assigned to the API key. */ 'scopes'?: Array; /** * Rate limit for the API key. */ 'rateLimit'?: number; /** * Allowed IP addresses (supports both IPv4 and IPv6 with CIDR notation). */ 'allowedIps'?: Array; /** * Allowed domains. */ 'allowedDomains'?: Array; /** * Usage count of the API key. */ 'usageCount'?: number; /** * Maximum usage count allowed. */ 'maxUsageCount'?: number; /** * Last used IP address. */ 'lastUsedIp'?: string; 'environment'?: APIKeyEnvironment; /** * Indicates if the key has been revoked. */ 'revoked'?: boolean; /** * Timestamp when the key was revoked. */ 'revokedAt'?: Date; /** * Reason for revocation. */ 'revokedReason'?: string; /** * Expiration date of the key. */ 'expiresAt'?: Date; /** * Timestamp when the key was created. */ 'createdAt'?: Date; /** * Timestamp when the key was last updated. */ 'updatedAt'?: Date; /** * ID of the creator. */ 'createdBy'?: string; /** * Timestamp when the key was last used. */ 'lastUsed'?: Date; /** * Indicates if the key is active. */ 'isActive'?: boolean; 'permissions'?: Array; 'deletedAt'?: Date; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } export declare namespace OrgAPIKey { }