UNPKG

@aptly-as/types

Version:
17 lines (16 loc) 499 B
import { AptlyWebhookStatus, AptlyWebhookType } from '../enums/index.js'; import { AptlyBaseSchema } from './extends.js'; export interface AptlyWebhookSchema<ID, DATE> extends AptlyBaseSchema<ID, DATE> { organization: ID; user?: ID; app?: ID; appWebhook?: ID; project?: ID; status: AptlyWebhookStatus; url: string; types: AptlyWebhookType[]; secret?: string; state?: string; created: DATE; } export type AptlyWebhook = AptlyWebhookSchema<string, string>;