/** * OpenAPI definition * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v0 * * * 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 ApiKeyRead */ export interface ApiKeyRead { /** * * @type {string} * @memberof ApiKeyRead */ id?: string; /** * * @type {string} * @memberof ApiKeyRead */ name?: string; /** * * @type {string} * @memberof ApiKeyRead */ objectType?: ApiKeyReadObjectTypeEnum; /** * * @type {string} * @memberof ApiKeyRead */ ownerType?: ApiKeyReadOwnerTypeEnum; /** * * @type {string} * @memberof ApiKeyRead */ accessLevel?: ApiKeyReadAccessLevelEnum; /** * * @type {string} * @memberof ApiKeyRead */ secret?: string; /** * * @type {string} * @memberof ApiKeyRead */ lastUsedAt?: string; /** * * @type {string} * @memberof ApiKeyRead */ organizationId?: string; /** * * @type {string} * @memberof ApiKeyRead */ projectId?: string; /** * * @type {string} * @memberof ApiKeyRead */ environmentId?: string; /** * * @type {string} * @memberof ApiKeyRead */ createdAt?: string; } /** * @export */ export declare const ApiKeyReadObjectTypeEnum: { readonly Org: "ORG"; readonly Project: "PROJECT"; readonly Env: "ENV"; }; export type ApiKeyReadObjectTypeEnum = typeof ApiKeyReadObjectTypeEnum[keyof typeof ApiKeyReadObjectTypeEnum]; /** * @export */ export declare const ApiKeyReadOwnerTypeEnum: { readonly Member: "MEMBER"; readonly PdpConfig: "PDP_CONFIG"; readonly Elements: "ELEMENTS"; }; export type ApiKeyReadOwnerTypeEnum = typeof ApiKeyReadOwnerTypeEnum[keyof typeof ApiKeyReadOwnerTypeEnum]; /** * @export */ export declare const ApiKeyReadAccessLevelEnum: { readonly Admin: "ADMIN"; readonly Write: "WRITE"; readonly Read: "READ"; readonly NoAccess: "NO_ACCESS"; }; export type ApiKeyReadAccessLevelEnum = typeof ApiKeyReadAccessLevelEnum[keyof typeof ApiKeyReadAccessLevelEnum]; /** * Check if a given object implements the ApiKeyRead interface. */ export declare function instanceOfApiKeyRead(value: object): value is ApiKeyRead; export declare function ApiKeyReadFromJSON(json: any): ApiKeyRead; export declare function ApiKeyReadFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiKeyRead; export declare function ApiKeyReadToJSON(json: any): ApiKeyRead; export declare function ApiKeyReadToJSONTyped(value?: ApiKeyRead | null, ignoreDiscriminator?: boolean): any;