svix
Version:
Svix webhooks API client and webhook verification library
15 lines (14 loc) • 346 B
TypeScript
export interface PostOptions {
idempotencyKey?: string;
}
export declare class ApiException<T> extends Error {
code: number;
body: T;
headers: Record<string, string>;
constructor(code: number, body: T, headers: Headers);
}
export type XOR<T, U> = (T & {
[K in keyof U]?: never;
}) | (U & {
[K in keyof T]?: never;
});