/**
 * Account and Transaction API SpecificationLib
 *
 * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
 */

import { lazy, object, optional, Schema } from '../schema';
import { Statement, statementSchema } from './statement';

export interface GetAccountStatementResponseData {
  statement?: Statement;
}

export const getAccountStatementResponseDataSchema: Schema<GetAccountStatementResponseData> = object(
  { statement: ['Statement', optional(lazy(() => statementSchema))] }
);
