import { File } from '../mslib/File'
import { OpResult } from '../mslib/OpResult'

export namespace AdMgtGetMatListServiceDeclare {
        export namespace $parameters {
            export interface RequestParam{
                adInfoId?: string
                adPositionId?: string
            }


        }
        export namespace $results {
            export interface MaterialInfo{
                id?: string
                name?: string
                materialDeatils?: Array<MaterialDeatil>
                styleInfo?: StyleInfo
            }


            export interface MaterialDeatil{
                id?: string
                type?: number
                value?: string
            }


            export interface StyleInfo{
                id?: string
                adPositionType?: number
                name?: string
                width?: number
                height?: number
            }


        }



    export type Parameters = $parameters.RequestParam

    export type Result = OpResult<Array<$results.MaterialInfo>>
}

export type Parameters = AdMgtGetMatListServiceDeclare.Parameters
export type Result = AdMgtGetMatListServiceDeclare.Result
