/** * Typesense API * An open source search engine for building delightful search experiences. * * The version of the OpenAPI document: 30.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface ApiKey */ export interface ApiKey { /** * * @type {string} * @memberof ApiKey */ value?: string; /** * * @type {string} * @memberof ApiKey */ description: string; /** * * @type {Array} * @memberof ApiKey */ actions: Array; /** * * @type {Array} * @memberof ApiKey */ collections: Array; /** * * @type {number} * @memberof ApiKey */ expiresAt?: number; /** * * @type {number} * @memberof ApiKey */ readonly id?: number; /** * * @type {string} * @memberof ApiKey */ readonly valuePrefix?: string; } /** * Check if a given object implements the ApiKey interface. */ export declare function instanceOfApiKey(value: object): value is ApiKey; export declare function ApiKeyFromJSON(json: any): ApiKey; export declare function ApiKeyFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiKey; export declare function ApiKeyToJSON(json: any): ApiKey; export declare function ApiKeyToJSONTyped(value?: Omit | null, ignoreDiscriminator?: boolean): any;