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

export namespace AdDataReportForCloseServiceDeclare {
        export namespace $parameters {
            export interface RequestParam{
                requestId?: string
                lotId?: string
                userInfo?: UserInfo
                positionInfos?: Array<PositionInfo>
                triggerTimestamp?: number
                cityId?: string
            }


            export interface UserInfo{
                userId?: string
                userType?: string
                adFlowId?: string
            }


            export interface PositionInfo{
                id?: string
                adInfos?: Array<AdInfo>
            }


            export interface AdInfo{
                id?: string
                adDeliveryPlanId?: string
                materialInfo?: MaterialInfo
            }


            export interface MaterialInfo{
                id?: string
                styleId?: string
            }


        }
        export namespace $results {
            export interface Res{
                code?: string
                msg?: string
            }


        }



    export type Parameters = $parameters.RequestParam

    export type Result = OpResult<$results.Res>
}

export type Parameters = AdDataReportForCloseServiceDeclare.Parameters
export type Result = AdDataReportForCloseServiceDeclare.Result
