UNPKG

svix

Version:

Svix webhooks API client and webhook verification library

26 lines (22 loc) 595 B
// this file is @generated export interface EndpointTransformationOut { code?: string | null; enabled?: boolean; updatedAt?: Date | null; } export const EndpointTransformationOutSerializer = { _fromJsonObject(object: any): EndpointTransformationOut { return { code: object["code"], enabled: object["enabled"], updatedAt: object["updatedAt"] ? new Date(object["updatedAt"]) : null, }; }, _toJsonObject(self: EndpointTransformationOut): any { return { code: self.code, enabled: self.enabled, updatedAt: self.updatedAt, }; }, };