import type { ActivityTypeId } from "../types/ActivityTypeId"; import type { DateTimeTzString } from "../types/DateTimeTzString"; import type { URlString } from "../types/URlString"; import type { User } from "./User"; export interface Webhook { readonly id: number; readonly name: string; readonly description: string; readonly hookUrl: URlString; readonly allEvent: boolean; readonly activityTypeIds: ActivityTypeId[]; readonly created: DateTimeTzString; readonly createdUser: User; readonly updated: DateTimeTzString; readonly updatedUser: User; }