declare namespace PULLIN { type OGPParamsProps = { marketingGoal: string, bidMode: string; siteSet: string[]; automaticSiteEnabled: boolean, marketingTargetType?: string, marketingCarrierType?: string, marketingSubGoal?: string } interface AdReactContent { form: FormInstance OGPParams: OGPParamsProps, setOGPparams: React.Dispatch> putInType?: 'NOVEL' | 'GAME' } interface AddeliveryProps { adgroups: any, targeting: any[], dynamic: any, dynamicMaterialDTos: any dynamicCreativesTextDTOS: any, mediaType: 0 | 1 | 2 | 3 } interface DispatchAddelivery { addelivery: AddeliveryProps, setAddelivery: React.Dispatch> accountCreateLogs: AccountCreateLogsProps[] setAccountCreateLogs: React.Dispatch> materialData: any setMaterialData: React.Dispatch textData: any, setTextData: React.Dispatch, clearData: () => void, putInType?: 'NOVEL' | 'GAME', // 是否可以选择云端素材 isSelectRemote?: boolean } type DataType = { label: string | number, value: any, disabled?: boolean } interface FormItemDataProps { data: { label: string, value: string, icon: string, iconSelected: string }[] id?: any value?: string, onChange?: (value?: string) => void } interface FormItemDataNewProps { data: DataType[] id?: any, value?: any, onChange?: (value?: any) => void } interface FormItemDataArrayProps { id?: number, value?: string[], onChange?: (value?: string[]) => void } interface FormItemDataNew2Props { data: AdcreativeTemplateList[] id?: any, value?: any, onChange?: (value?: any) => void } interface GetTargeting { pageNum: number, pageSize: number, accountId?: number, targetingName?: string, taskType?: 'NOVEL' | 'GAME', min?: string, max?: string, } interface AccountCreateLogsProps { accountId: number, userActionSetsList?: any[], productList?: any[], wechatChannelList?: any[], conversionList?: any, customAudienceList?: any, excludedCustomAudienceList?: any, pageList?: any, coldStartAudienceList?: any[], newConversionList?: any[], videoChannelList?: any[] unionPositionPackage?: any[] excludeUnionPositionPackage?: any[] } interface DynamicReactContent { form: FormInstance value: any, adgroups: any, creativeComponents: any, setCreativeComponents: React.Dispatch, isUpdate: boolean, setIsUpdate: React.Dispatch> } interface AdcreativeTemplateList { creativeSampleImage: string, creativeTemplateAppellation: string, creativeTemplateId: number, creativeTemplateStyle: string, isGeneral: boolean, siteSet: number, label: string | number, value: any, tooltip?: string, img?: string } interface GetTaskV3Props { pageNum: number, pageSize: number, taskName?: string, createTimeMin?: string, createTimeMax?: string } interface GetTaskV3LogProps { pageNum: number, pageSize: number, taskId?: string } interface GetDynamicV3LogProps { pageNum: number, pageSize: number, adgroupCreateLogId?: string } type TextDtoProps = { label: string, value: string, required: boolean, restriction: { textRestriction: { minLength: number, maxLength: number, textPattern: string } } arrayProperty: { maxNumber: number minNumber: number } } /** * 当前广告新增创意 */ type NewAddDynamic = { adData: any[], putInType?: 'NOVEL' | 'GAME' visible?: boolean, tactics?: any, onClose?: () => void, onChange?: () => void } // 策略组 type AddV3StrategyProps = { type: string, strategyKey: string, strategyValue: string, remark?: string putInType?: 'NOVEL' | 'GAME' } type GetV3StrategyListProps = { pageNum: number, pageSize: number, strategyKey?: string, type?: string, putInType?: 'NOVEL' | 'GAME' } }