export const createSleepData = `
  mutation CreateSleepData($input: CreateSleepDataInput!) {
    createSleepData(input: $input) {
      id
      userId
      user {
        connectionId
        id
        email
        nickname
        darkMode
        intercomId
        activeCoaching {
          id
          userId
          stage
          activeWeek
          started
          ended
          lessons
          createdAt
          updatedAt
          owner
        }
        sleepPoints {
          efficiency
          duration
          socialJetLag
          timing
        }
        createdAt
        updatedAt
      }
      date
      rating
      night {
        value
        sourceName
        sourceId
        startDate
        endDate
      }
      createdAt
      updatedAt
      owner
    }
  }
` ; export const updateSleepData = `
  mutation UpdateSleepData($input: UpdateSleepDataInput!) {
    updateSleepData(input: $input) {
      id
      userId
      user {
        connectionId
        id
        email
        nickname
        darkMode
        intercomId
        activeCoaching {
          id
          userId
          stage
          activeWeek
          started
          ended
          lessons
          createdAt
          updatedAt
          owner
        }
        sleepPoints {
          efficiency
          duration
          socialJetLag
          timing
        }
        createdAt
        updatedAt
      }
      date
      rating
      night {
        value
        sourceName
        sourceId
        startDate
        endDate
      }
      createdAt
      updatedAt
      owner
    }
  }
` ; export const deleteSleepData = `
  mutation DeleteSleepData($input: DeleteSleepDataInput!) {
    deleteSleepData(input: $input) {
      id
      userId
      user {
        connectionId
        id
        email
        nickname
        darkMode
        intercomId
        activeCoaching {
          id
          userId
          stage
          activeWeek
          started
          ended
          lessons
          createdAt
          updatedAt
          owner
        }
        sleepPoints {
          efficiency
          duration
          socialJetLag
          timing
        }
        createdAt
        updatedAt
      }
      date
      rating
      night {
        value
        sourceName
        sourceId
        startDate
        endDate
      }
      createdAt
      updatedAt
      owner
    }
  }
` ; export const createRequest = `
  mutation CreateRequest($input: CreateRequestInput!) {
    createRequest(input: $input) {
      id
      requesterName
      requesterId
      userName
      userId
      accepted
      createdAt
      updatedAt
    }
  }
` ; export const updateRequest = `
  mutation UpdateRequest($input: UpdateRequestInput!) {
    updateRequest(input: $input) {
      id
      requesterName
      requesterId
      userName
      userId
      accepted
      createdAt
      updatedAt
    }
  }
` ; export const deleteRequest = `
  mutation DeleteRequest($input: DeleteRequestInput!) {
    deleteRequest(input: $input) {
      id
      requesterName
      requesterId
      userName
      userId
      accepted
      createdAt
      updatedAt
    }
  }
` ; export const createUser = `
  mutation CreateUser($input: CreateUserInput!) {
    createUser(input: $input) {
      connectionId
      id
      email
      nickname
      darkMode
      intercomId
      activeCoaching {
        id
        userId
        user {
          connectionId
          id
          email
          nickname
          darkMode
          intercomId
          createdAt
          updatedAt
        }
        stage
        active {
          connectionId
          id
          email
          nickname
          darkMode
          intercomId
          createdAt
          updatedAt
        }
        activeWeek
        started
        ended
        weeks {
          started
          ended
          locked
          slug
        }
        lessons
        createdAt
        updatedAt
        owner
      }
      sleepPoints {
        efficiency
        duration
        socialJetLag
        timing
      }
      createdAt
      updatedAt
    }
  }
` ; export const updateUser = `
  mutation UpdateUser($input: UpdateUserInput!) {
    updateUser(input: $input) {
      connectionId
      id
      email
      nickname
      darkMode
      intercomId
      activeCoaching {
        id
        userId
        user {
          connectionId
          id
          email
          nickname
          darkMode
          intercomId
          createdAt
          updatedAt
        }
        stage
        active {
          connectionId
          id
          email
          nickname
          darkMode
          intercomId
          createdAt
          updatedAt
        }
        activeWeek
        started
        ended
        weeks {
          started
          ended
          locked
          slug
        }
        lessons
        createdAt
        updatedAt
        owner
      }
      sleepPoints {
        efficiency
        duration
        socialJetLag
        timing
      }
      createdAt
      updatedAt
    }
  }
` ; export const deleteUser = `
  mutation DeleteUser($input: DeleteUserInput!) {
    deleteUser(input: $input) {
      connectionId
      id
      email
      nickname
      darkMode
      intercomId
      activeCoaching {
        id
        userId
        user {
          connectionId
          id
          email
          nickname
          darkMode
          intercomId
          createdAt
          updatedAt
        }
        stage
        active {
          connectionId
          id
          email
          nickname
          darkMode
          intercomId
          createdAt
          updatedAt
        }
        activeWeek
        started
        ended
        weeks {
          started
          ended
          locked
          slug
        }
        lessons
        createdAt
        updatedAt
        owner
      }
      sleepPoints {
        efficiency
        duration
        socialJetLag
        timing
      }
      createdAt
      updatedAt
    }
  }
` ; export const createCoachingData = `
  mutation CreateCoachingData($input: CreateCoachingDataInput!) {
    createCoachingData(input: $input) {
      id
      userId
      user {
        connectionId
        id
        email
        nickname
        darkMode
        intercomId
        activeCoaching {
          id
          userId
          stage
          activeWeek
          started
          ended
          lessons
          createdAt
          updatedAt
          owner
        }
        sleepPoints {
          efficiency
          duration
          socialJetLag
          timing
        }
        createdAt
        updatedAt
      }
      stage
      active {
        connectionId
        id
        email
        nickname
        darkMode
        intercomId
        activeCoaching {
          id
          userId
          stage
          activeWeek
          started
          ended
          lessons
          createdAt
          updatedAt
          owner
        }
        sleepPoints {
          efficiency
          duration
          socialJetLag
          timing
        }
        createdAt
        updatedAt
      }
      activeWeek
      started
      ended
      weeks {
        started
        ended
        locked
        slug
      }
      lessons
      createdAt
      updatedAt
      owner
    }
  }
` ; export const updateCoachingData = `
  mutation UpdateCoachingData($input: UpdateCoachingDataInput!) {
    updateCoachingData(input: $input) {
      id
      userId
      user {
        connectionId
        id
        email
        nickname
        darkMode
        intercomId
        activeCoaching {
          id
          userId
          stage
          activeWeek
          started
          ended
          lessons
          createdAt
          updatedAt
          owner
        }
        sleepPoints {
          efficiency
          duration
          socialJetLag
          timing
        }
        createdAt
        updatedAt
      }
      stage
      active {
        connectionId
        id
        email
        nickname
        darkMode
        intercomId
        activeCoaching {
          id
          userId
          stage
          activeWeek
          started
          ended
          lessons
          createdAt
          updatedAt
          owner
        }
        sleepPoints {
          efficiency
          duration
          socialJetLag
          timing
        }
        createdAt
        updatedAt
      }
      activeWeek
      started
      ended
      weeks {
        started
        ended
        locked
        slug
      }
      lessons
      createdAt
      updatedAt
      owner
    }
  }
` ; export const deleteCoachingData = `
  mutation DeleteCoachingData($input: DeleteCoachingDataInput!) {
    deleteCoachingData(input: $input) {
      id
      userId
      user {
        connectionId
        id
        email
        nickname
        darkMode
        intercomId
        activeCoaching {
          id
          userId
          stage
          activeWeek
          started
          ended
          lessons
          createdAt
          updatedAt
          owner
        }
        sleepPoints {
          efficiency
          duration
          socialJetLag
          timing
        }
        createdAt
        updatedAt
      }
      stage
      active {
        connectionId
        id
        email
        nickname
        darkMode
        intercomId
        activeCoaching {
          id
          userId
          stage
          activeWeek
          started
          ended
          lessons
          createdAt
          updatedAt
          owner
        }
        sleepPoints {
          efficiency
          duration
          socialJetLag
          timing
        }
        createdAt
        updatedAt
      }
      activeWeek
      started
      ended
      weeks {
        started
        ended
        locked
        slug
      }
      lessons
      createdAt
      updatedAt
      owner
    }
  }
` ; export const createHabit = `
  mutation CreateHabit($input: CreateHabitInput!) {
    createHabit(input: $input) {
      id
      userId
      user {
        connectionId
        id
        email
        nickname
        darkMode
        intercomId
        activeCoaching {
          id
          userId
          stage
          activeWeek
          started
          ended
          lessons
          createdAt
          updatedAt
          owner
        }
        sleepPoints {
          efficiency
          duration
          socialJetLag
          timing
        }
        createdAt
        updatedAt
      }
      dayStreak
      longestDayStreak
      latestCompletedDate
      title
      description
      date
      days {
        key
        value
      }
      archived
      period
      createdAt
      updatedAt
      owner
    }
  }
` ; export const updateHabit = `
  mutation UpdateHabit($input: UpdateHabitInput!) {
    updateHabit(input: $input) {
      id
      userId
      user {
        connectionId
        id
        email
        nickname
        darkMode
        intercomId
        activeCoaching {
          id
          userId
          stage
          activeWeek
          started
          ended
          lessons
          createdAt
          updatedAt
          owner
        }
        sleepPoints {
          efficiency
          duration
          socialJetLag
          timing
        }
        createdAt
        updatedAt
      }
      dayStreak
      longestDayStreak
      latestCompletedDate
      title
      description
      date
      days {
        key
        value
      }
      archived
      period
      createdAt
      updatedAt
      owner
    }
  }
` ; export const deleteHabit = `
  mutation DeleteHabit($input: DeleteHabitInput!) {
    deleteHabit(input: $input) {
      id
      userId
      user {
        connectionId
        id
        email
        nickname
        darkMode
        intercomId
        activeCoaching {
          id
          userId
          stage
          activeWeek
          started
          ended
          lessons
          createdAt
          updatedAt
          owner
        }
        sleepPoints {
          efficiency
          duration
          socialJetLag
          timing
        }
        createdAt
        updatedAt
      }
      dayStreak
      longestDayStreak
      latestCompletedDate
      title
      description
      date
      days {
        key
        value
      }
      archived
      period
      createdAt
      updatedAt
      owner
    }
  }
` ; export const createNight = `
  mutation CreateNight($input: CreateNightInput!) {
    createNight(input: $input) {
      id
      userId
      user {
        connectionId
        id
        email
        nickname
        darkMode
        intercomId
        activeCoaching {
          id
          userId
          stage
          activeWeek
          started
          ended
          lessons
          createdAt
          updatedAt
          owner
        }
        sleepPoints {
          efficiency
          duration
          socialJetLag
          timing
        }
        createdAt
        updatedAt
      }
      sourceId
      sourceName
      value
      startDate
      endDate
      totalDuration
      createdAt
      updatedAt
      owner
    }
  }
` ; export const updateNight = `
  mutation UpdateNight($input: UpdateNightInput!) {
    updateNight(input: $input) {
      id
      userId
      user {
        connectionId
        id
        email
        nickname
        darkMode
        intercomId
        activeCoaching {
          id
          userId
          stage
          activeWeek
          started
          ended
          lessons
          createdAt
          updatedAt
          owner
        }
        sleepPoints {
          efficiency
          duration
          socialJetLag
          timing
        }
        createdAt
        updatedAt
      }
      sourceId
      sourceName
      value
      startDate
      endDate
      totalDuration
      createdAt
      updatedAt
      owner
    }
  }
` ; export const deleteNight = `
  mutation DeleteNight($input: DeleteNightInput!) {
    deleteNight(input: $input) {
      id
      userId
      user {
        connectionId
        id
        email
        nickname
        darkMode
        intercomId
        activeCoaching {
          id
          userId
          stage
          activeWeek
          started
          ended
          lessons
          createdAt
          updatedAt
          owner
        }
        sleepPoints {
          efficiency
          duration
          socialJetLag
          timing
        }
        createdAt
        updatedAt
      }
      sourceId
      sourceName
      value
      startDate
      endDate
      totalDuration
      createdAt
      updatedAt
      owner
    }
  }
` ; export const createLikedContent = `
  mutation CreateLikedContent($input: CreateLikedContentInput!) {
    createLikedContent(input: $input) {
      id
      name
      type
      slug
      createdAt
      updatedAt
      owner
    }
  }
` ; export const updateLikedContent = `
  mutation UpdateLikedContent($input: UpdateLikedContentInput!) {
    updateLikedContent(input: $input) {
      id
      name
      type
      slug
      createdAt
      updatedAt
      owner
    }
  }
` ; export const deleteLikedContent = `
  mutation DeleteLikedContent($input: DeleteLikedContentInput!) {
    deleteLikedContent(input: $input) {
      id
      name
      type
      slug
      createdAt
      updatedAt
      owner
    }
  }
` ; export const createNightRating = `
  mutation CreateNightRating($input: CreateNightRatingInput!) {
    createNightRating(input: $input) {
      id
      userId
      user {
        connectionId
        id
        email
        nickname
        darkMode
        intercomId
        activeCoaching {
          id
          userId
          stage
          activeWeek
          started
          ended
          lessons
          createdAt
          updatedAt
          owner
        }
        sleepPoints {
          efficiency
          duration
          socialJetLag
          timing
        }
        createdAt
        updatedAt
      }
      rating
      date
      createdAt
      updatedAt
      owner
    }
  }
` ; export const updateNightRating = `
  mutation UpdateNightRating($input: UpdateNightRatingInput!) {
    updateNightRating(input: $input) {
      id
      userId
      user {
        connectionId
        id
        email
        nickname
        darkMode
        intercomId
        activeCoaching {
          id
          userId
          stage
          activeWeek
          started
          ended
          lessons
          createdAt
          updatedAt
          owner
        }
        sleepPoints {
          efficiency
          duration
          socialJetLag
          timing
        }
        createdAt
        updatedAt
      }
      rating
      date
      createdAt
      updatedAt
      owner
    }
  }
` ; export const deleteNightRating = `
  mutation DeleteNightRating($input: DeleteNightRatingInput!) {
    deleteNightRating(input: $input) {
      id
      userId
      user {
        connectionId
        id
        email
        nickname
        darkMode
        intercomId
        activeCoaching {
          id
          userId
          stage
          activeWeek
          started
          ended
          lessons
          createdAt
          updatedAt
          owner
        }
        sleepPoints {
          efficiency
          duration
          socialJetLag
          timing
        }
        createdAt
        updatedAt
      }
      rating
      date
      createdAt
      updatedAt
      owner
    }
  }
` ; export const createFeedbackContent = `
  mutation CreateFeedbackContent($input: CreateFeedbackContentInput!) {
    createFeedbackContent(input: $input) {
      id
      type
      slug
      rating
      createdAt
      updatedAt
      owner
    }
  }
` ; export const updateFeedbackContent = `
  mutation UpdateFeedbackContent($input: UpdateFeedbackContentInput!) {
    updateFeedbackContent(input: $input) {
      id
      type
      slug
      rating
      createdAt
      updatedAt
      owner
    }
  }
` ; export const deleteFeedbackContent = `
  mutation DeleteFeedbackContent($input: DeleteFeedbackContentInput!) {
    deleteFeedbackContent(input: $input) {
      id
      type
      slug
      rating
      createdAt
      updatedAt
      owner
    }
  }
` ; export const createComments = `
  mutation CreateComments($input: CreateCommentsInput!) {
    createComments(input: $input) {
      id
      type
      slug
      firstName
      lastName
      guest
      comment
      createdAt
      updatedAt
      owner
    }
  }
` ; export const updateComments = `
  mutation UpdateComments($input: UpdateCommentsInput!) {
    updateComments(input: $input) {
      id
      type
      slug
      firstName
      lastName
      guest
      comment
      createdAt
      updatedAt
      owner
    }
  }
` ; export const deleteComments = `
  mutation DeleteComments($input: DeleteCommentsInput!) {
    deleteComments(input: $input) {
      id
      type
      slug
      firstName
      lastName
      guest
      comment
      createdAt
      updatedAt
      owner
    }
  }
` ;