/** * Boat Public API v1 * Public JSON API for creating, operating, prompting, observing, and exposing Boat sandboxes from backend services, CI jobs, hosted workers, and Boat automation products. The v1 reference intentionally documents the developer integration surface only. Dashboard billing actions are not part of v1. * * 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. */ /** * * @export * @interface CreateScopedApiKeyRequest */ export interface CreateScopedApiKeyRequest { /** * * @type {string} * @memberof CreateScopedApiKeyRequest */ name?: string; /** * Duration such as 90d, 24h, or seconds. Max 365d. * @type {string} * @memberof CreateScopedApiKeyRequest */ ttl?: string; /** * * @type {CreateScopedApiKeyRequestPresetEnum} * @memberof CreateScopedApiKeyRequest */ preset?: CreateScopedApiKeyRequestPresetEnum; /** * * @type {Array} * @memberof CreateScopedApiKeyRequest */ actions?: Array; /** * * @type {Array} * @memberof CreateScopedApiKeyRequest */ boxIds?: Array; /** * * @type {Array} * @memberof CreateScopedApiKeyRequest */ environmentIds?: Array; } /** * @export */ export declare const CreateScopedApiKeyRequestPresetEnum: { readonly ReadOnly: 'read-only'; readonly FullBox: 'full-box'; readonly Ci: 'ci'; readonly Admin: 'admin'; }; export type CreateScopedApiKeyRequestPresetEnum = typeof CreateScopedApiKeyRequestPresetEnum[keyof typeof CreateScopedApiKeyRequestPresetEnum]; /** * Check if a given object implements the CreateScopedApiKeyRequest interface. */ export declare function instanceOfCreateScopedApiKeyRequest(value: object): value is CreateScopedApiKeyRequest; export declare function CreateScopedApiKeyRequestFromJSON(json: any): CreateScopedApiKeyRequest; export declare function CreateScopedApiKeyRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateScopedApiKeyRequest; export declare function CreateScopedApiKeyRequestToJSON(json: any): CreateScopedApiKeyRequest; export declare function CreateScopedApiKeyRequestToJSONTyped(value?: CreateScopedApiKeyRequest | null, ignoreDiscriminator?: boolean): any;