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

export namespace AdMgtAddDyPlanServiceDeclare {
        export namespace $parameters {
            export interface RequestParam{
                adInfoId?: string
                adPositionId?: string
                adMaterialId?: string
                adStyleId?: string
                chargeType?: number
                price?: number
                startTime?: Date
                endTime?: Date
                displayTimes?: number
                displayTimesPerUser?: number
                cityDeliveryConfigs?: Array<CityDeliveryConfig>
                cityDeliveryBlacklistConfigs?: Array<CityDeliveryBlacklistConfig>
            }


            export interface CityDeliveryConfig{
                cityId?: string
                lotDeliveryConfigs?: Array<LotDeliveryConfig>
            }


            export interface LotDeliveryConfig{
                lotId?: string
            }


            export interface CityDeliveryBlacklistConfig{
                cityId?: string
                lotDeliveryBlacklistConfigs?: Array<LotDeliveryBlacklistConfig>
            }


            export interface LotDeliveryBlacklistConfig{
                lotId?: string
            }


        }
        export namespace $results {
        }



    export type Parameters = $parameters.RequestParam

    export type Result = OpResult<any>
}

export type Parameters = AdMgtAddDyPlanServiceDeclare.Parameters
export type Result = AdMgtAddDyPlanServiceDeclare.Result
