import { object , optional , Schema , string } from '../schema' ; /** Provides information about the subscription event. */ export interface SubscriptionEventInfo { /** A human-readable explanation for the event. */ detail ? : string ; /** Supported info codes of a subscription event. */ code ? : string ; } export const subscriptionEventInfoSchema = object ( { detail : [ 'detail' , optional ( string ( ) ) ] , code : [ 'code' , optional ( string ( ) ) ] } ) ;