import { lazy , object , optional , Schema , string } from '../schema' ; import { DisputeEvidenceCreatedWebhookObject , disputeEvidenceCreatedWebhookObjectSchema , } from './disputeEvidenceCreatedWebhookObject' ; export interface DisputeEvidenceCreatedWebhookData { /** Name of the affected dispute's type. */ type ? : string ; /** ID of the affected dispute. */ id ? : string ; object ? : DisputeEvidenceCreatedWebhookObject ; } export const disputeEvidenceCreatedWebhookDataSchema = object ( { type : [ 'type' , optional ( string ( ) ) ] , id : [ 'id' , optional ( string ( ) ) ] , object : [ 'object' , optional ( lazy ( ( ) => disputeEvidenceCreatedWebhookObjectSchema ) ) , ] , } ) ;