acquia-dam-sdk
Version:
Interact with the Acquia DAM API
32 lines (30 loc) • 877 B
TypeScript
interface CreateAssetsWebhookResult {
id: string;
}
interface GetWorkflowWebhookResult {
event?: 'DELIVERABLE_STATUS_CHANGED' | 'PROJECT_CREATED';
target: string;
}
interface ListAssetsWebhooksResult {
item_type: string;
items: GetAssetsWebhookResult[];
limit: number;
offset: number;
total_count: number;
}
interface ListWorkflowWebhooksResult {
items: GetWorkflowWebhookResult[];
}
interface GetAssetsWebhookResult {
created_by_user: {
uuid: string;
};
created_date: Date;
delivery_enabled: boolean;
event_type: string;
last_delivered_date: Date | null;
last_pinged_date: Date | null;
signing_enabled: boolean;
webhook_configuration_id: string;
}
export type { CreateAssetsWebhookResult, GetAssetsWebhookResult, GetWorkflowWebhookResult, ListAssetsWebhooksResult, ListWorkflowWebhooksResult };