import Response from "../util/Response"; import { AxiosPromise } from "axios"; declare class AccessKeys { /** * List all access keys for a given title. * * @see https://api.glitch.fun/api/documentation#/Access%20Keys/get_titles__title_id__keys * * @param title_id The UUID of the title. * @param params Optional query parameters for pagination. * @returns promise */ static list(title_id: string, params?: Record): AxiosPromise>; /** * Bulk create access keys from a string of codes. * * @see https://api.glitch.fun/api/documentation#/Access%20Keys/post_titles__title_id__keys * * @param title_id The UUID of the title. * @param data The platform and codes to upload. * @param data.platform The platform for the keys (e.g., 'steam'). * @param data.codes A string of codes separated by newlines, commas, or spaces. * @returns Promise */ static store(title_id: string, data: { platform: string; codes: string; }, params?: Record): AxiosPromise>; /** * Deletes an unassigned access key. * * @see https://api.glitch.fun/api/documentation#/Access%20Keys/delete_keys__key_id_ * * @param key_id The UUID of the access key to delete. * @returns promise */ static delete(key_id: string, params?: Record): AxiosPromise>; /** * Emails the assigned key to the influencer. * * @param key_id The UUID of the access key. * @returns promise */ static sendEmail(key_id: string): AxiosPromise>; } export default AccessKeys;