/**
 * You can only subscribe to the same resource and the same target once. A status 409 will be returned if you attempt to send duplicate subscription.
 */
export interface SubscriptionRequest {
    resource: string;
    target: string;
    properties: string | null;
}
export interface Subscription {
    id: number;
    resource: string;
    target: string;
    properties: string | null;
    created_date: string;
    deleted_date: string | null;
    signing_pub_key: string;
}
/**
 * THis is what the webhook event should look like.
 * TODO: Define `resource` parameter
 */
export interface SubscriptionEvent {
    data: any;
    action: 'saved' | 'deleted';
    event_id: number;
    application_id: number;
    resource: string;
}
