UNPKG

svix

Version:

Svix webhooks API client and webhook verification library

23 lines (19 loc) 424 B
// this file is @generated export interface ReplayIn { since: Date; until?: Date | null; } export const ReplayInSerializer = { _fromJsonObject(object: any): ReplayIn { return { since: new Date(object["since"]), until: object["until"] ? new Date(object["until"]) : null, }; }, _toJsonObject(self: ReplayIn): any { return { since: self.since, until: self.until, }; }, };