const videoById = `
query VideoDetailsQuery($uid: String!) {
    video(id: $uid) {
      aspectRatio
      ccUrl
      ccFiles {
        file
        lang
        langName
        version
        source
      }
      contentOwner
      contentOwnerName
      contentOwnerIsPublic
      created
      defaultVideoUrl
      distributionId
      evergreen
      feedDescription
      feedSource
      feedSourceId
      landingPageLink
      lang
      name
      originalName
      origin
      plot
      notes
      publisherLink
      refId
      releaseYear
      scenesTotalCount
      score
      status
      thumbnailUrl
      type
      uid
      updated
      videoCreationDate
      videoLength
      videoParent
      videoUrl
      videoParentName
      approval {
        status
        updated
        refUserId
        firstName
        lastName
      }
      label {
        labelId
        name
        value
        color
      }
      thumbnailFiles {
        width
        height
        file
        sizeInBytes
      }
      videoFiles {
        width
        height
        file
        sizeInBytes
      }
      videoFileHls {
        file
        sizeInBytes
      }
      sourceVideoFile {
        width
        height
        file
        sizeInBytes
      }
      keywords {
        category
        value
        probability
        version
        id
      }
      joinedKeywords {
        category
        value
        probability
        version
        id
      }
      iab {
        data
      }
      details {
        keywords {
          category
          value
          probability
          version
          id
        }
        iab {
          data
        }
        metaData {
          uid
          url
          refId
          type
          studio
          genres
          releaseDate
          actors
          length
          plot
          contentRating
          thumbnailFile {
            bucket
            key
            url
          }
          sourceThumbnailUrl
        }
      }
      access {
        level
        sites {
          id
          name
        }
        users {
          id
          role
          name
          email
          firstName
          lastName
        }
      }
      highlights
      highlightsPublished
      slides
      slidesPublished
      accountId
      sponsored {
        primaryText
        buttonLabel
        secondaryText
        timeToAppear
        advertiserId
        advertiserName
        advertiserLogo
        sponsored
        }
    }
    metaDataSearch(videoId: $uid) {
      totalCount
      metaData {
        uid
        url
        refId
        type
        studio
        genres
        releaseDate
        actors
        length
        plot
        contentRating
        thumbnailFile {
          bucket
          key
          url
        }
        sourceThumbnailUrl
      }
    }
  }
`;

export default videoById;
