import { DataProvider } from './DataProvider'

export enum Status {
  UNKNOWN = 'UNKNOWN',
  ACTIVE = 'ACTIVE',
  INACTIVE = 'INACTIVE',
  UNUSED = 'UNUSED',
}

export enum Type {
  FIRST_PARTY = 'FIRST_PARTY',
  SHARED = 'SHARED',
  THIRD_PARTY = 'THIRD_PARTY',
  UNKNOWN = 'UNKNOWN',
}

/**
 * results
 * @targetNSAlias `tns`
 * @targetNamespace `https://www.google.com/apis/ads/publisher/v202502`
 */
export interface Results {
  /** xsd:long */
  id?: number
  /** xsd:string */
  name?: string
  /** xsd:long */
  categoryIds?: Array<number>
  /** xsd:string */
  description?: string
  /** AudienceSegment.Status|xsd:string|UNKNOWN,ACTIVE,INACTIVE,UNUSED */
  status?: Status | keyof typeof Status
  /** xsd:long */
  size?: number
  /** xsd:long */
  mobileWebSize?: number
  /** xsd:long */
  idfaSize?: number
  /** xsd:long */
  adIdSize?: number
  /** xsd:long */
  ppidSize?: number
  /** dataProvider */
  dataProvider?: DataProvider
  /** AudienceSegment.Type|xsd:string|FIRST_PARTY,SHARED,THIRD_PARTY,UNKNOWN */
  type?: Type | keyof typeof Type
}
