bunny-client
Version:
TypeScript API Client for BunnyCDN 🐰
30 lines • 1.05 kB
TypeScript
import type { CreateAttachment, Ticket } from "../types";
export interface ReplyTicketRequest {
/**
* User-specific [API Key](https://dash.bunny.net/account/settings)
* @example "cb1a7c68-89a0-462a-9495-13ebd7366cfe"
*/
apiKey?: string;
/**
* File attachments related to this ticket
*/
Attachments?: CreateAttachment[];
/**
* Ticket id
* @example 196584
*/
id: number;
/**
* Ticket message
* @example "My videos are still buffering"
*/
Message?: string;
}
export type ReplyTicketResponse = Ticket;
export declare const replyTicket: import("untypeable/dist/client-ca591958").g<ReplyTicketRequest, Ticket>;
export declare const replyTicketEndpoints: {
readonly "POST /support/ticket/:id/reply": "POST /support/ticket/:id/reply";
readonly replyTicket: "replyTicket";
};
export declare function replyTicketClient(defaultRequestInit: RequestInit, { apiKey, id, ...input }: ReplyTicketRequest): Promise<ReplyTicketResponse>;
//# sourceMappingURL=replyTicket.d.ts.map