@bitblit/ratchet-misc
Version:
Ratchet miscellaneous tooling that requires smallish dependant libraries
33 lines (32 loc) • 1.11 kB
TypeScript
export interface CreateWebhook {
url: string;
description?: string;
events: Array<CreateWebhookEventsEnum>;
type?: CreateWebhookTypeEnum;
}
export declare enum CreateWebhookEventsEnum {
Sent = "sent",
HardBounce = "hardBounce",
SoftBounce = "softBounce",
Blocked = "blocked",
Spam = "spam",
Delivered = "delivered",
Request = "request",
Click = "click",
Invalid = "invalid",
Deferred = "deferred",
Opened = "opened",
UniqueOpened = "uniqueOpened",
Unsubscribed = "unsubscribed",
ListAddition = "listAddition",
ContactUpdated = "contactUpdated",
ContactDeleted = "contactDeleted"
}
export declare enum CreateWebhookTypeEnum {
Transactional = "transactional",
Marketing = "marketing"
}
export declare function instanceOfCreateWebhook(value: object): boolean;
export declare function CreateWebhookFromJSON(json: any): CreateWebhook;
export declare function CreateWebhookFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateWebhook;
export declare function CreateWebhookToJSON(value?: CreateWebhook | null): any;