UNPKG

svix

Version:

Svix webhooks API client and webhook verification library

24 lines (20 loc) 479 B
// this file is @generated /* eslint @typescript-eslint/no-explicit-any: 0 */ export interface RecoverIn { since: Date; until?: Date | null; } export const RecoverInSerializer = { _fromJsonObject(object: any): RecoverIn { return { since: new Date(object["since"]), until: object["until"] ? new Date(object["until"]) : null, }; }, _toJsonObject(self: RecoverIn): any { return { since: self.since, until: self.until, }; }, };