@letanure/resend-cli
Version:
A command-line interface for Resend email API
12 lines • 571 B
TypeScript
import type { CreateApiKeyResponseSuccess } from 'resend';
import type { ApiResult } from '../../../types/index.js';
import type { CreateApiKeyOptionsType } from './schema.js';
/**
* Creates an API key using the Resend API
*
* @param data - API key data for creation
* @param apiKey - API key for Resend API
* @returns Promise<ApiResult<CreateApiKeyResponseSuccess>> - Standard result format
*/
export declare function createApiKey(data: CreateApiKeyOptionsType, apiKey: string): Promise<ApiResult<CreateApiKeyResponseSuccess>>;
//# sourceMappingURL=action.d.ts.map