import { lazy , object , optional , Schema } from '../schema' ; import { Dispute , disputeSchema } from './dispute' ; export interface DisputeEvidenceCreatedWebhookObject { /** Represents a dispute a cardholder initiated with their bank. */ object ? : Dispute ; } export const disputeEvidenceCreatedWebhookObjectSchema = object ( { object : [ 'object' , optional ( lazy ( ( ) => disputeSchema ) ) ] } ) ;