UNPKG

svix

Version:

Svix webhooks API client and webhook verification library

29 lines (25 loc) 721 B
// this file is @generated export interface IngestSourceConsumerPortalAccessIn { /** * How long the token will be valid for, in seconds. * * Valid values are between 1 hour and 7 days. The default is 7 days. */ expiry?: number | null; /** Whether the app portal should be in read-only mode. */ readOnly?: boolean | null; } export const IngestSourceConsumerPortalAccessInSerializer = { _fromJsonObject(object: any): IngestSourceConsumerPortalAccessIn { return { expiry: object["expiry"], readOnly: object["readOnly"], }; }, _toJsonObject(self: IngestSourceConsumerPortalAccessIn): any { return { expiry: self.expiry, readOnly: self.readOnly, }; }, };