@broadcom/endevor-bridge-for-git-rest-api
Version:
Endevor Bridge for Git Rest client
23 lines (22 loc) • 726 B
TypeScript
import { WebhookAuthorization } from "./WebhookAuthorization";
import { OperationType } from "./OperationType";
import { OperationResultCode } from "./OperationResultCode";
import { IResponse } from "../../../response/IResponse";
import { HookType } from "./HookType";
export interface IWebhookPayload extends IResponse {
context?: string;
repository?: string;
id?: number;
enabled: boolean;
name: string;
description: string;
type: HookType;
url: string;
param?: string;
authorizationType: WebhookAuthorization;
authorizationName: string;
authorizationSecret: string;
branches?: string[];
operationTypes: OperationType[];
operationResults: OperationResultCode[];
}