UNPKG

svix

Version:

Svix webhooks API client and webhook verification library

28 lines (24 loc) 826 B
// this file is @generated import { type MessageAttemptExhaustedEventData, MessageAttemptExhaustedEventDataSerializer, } from "./messageAttemptExhaustedEventData"; /** Sent when a message delivery has failed (all of the retry attempts have been exhausted). */ export interface MessageAttemptExhaustedEvent { data: MessageAttemptExhaustedEventData; type: string; } export const MessageAttemptExhaustedEventSerializer = { _fromJsonObject(object: any): MessageAttemptExhaustedEvent { return { data: MessageAttemptExhaustedEventDataSerializer._fromJsonObject(object["data"]), type: object["type"], }; }, _toJsonObject(self: MessageAttemptExhaustedEvent): any { return { data: MessageAttemptExhaustedEventDataSerializer._toJsonObject(self.data), type: self.type, }; }, };