Interface IWebHookDelivery

interface IWebHookDelivery {
    eventType: string;
    id: string;
    request: {
        body: object;
        headers: {
            [k: string]: string;
        };
        url: string;
    };
    response: {
        body: string;
        headers: {
            [k: string]: string;
        };
        statusCode: number;
    };
    status: string;
    statusMessage: string;
    triggeredAt: string;
    webhookId: string;
}

Properties

eventType: string
id: string
request: {
    body: object;
    headers: {
        [k: string]: string;
    };
    url: string;
}

Type declaration

  • body: object
  • headers: {
        [k: string]: string;
    }
    • [k: string]: string
  • url: string
response: {
    body: string;
    headers: {
        [k: string]: string;
    };
    statusCode: number;
}

Type declaration

  • body: string
  • headers: {
        [k: string]: string;
    }
    • [k: string]: string
  • statusCode: number
status: string
statusMessage: string
triggeredAt: string
webhookId: string