Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
27 kB
4
Indexable
Never
mutation addFestival ($data: FestivalInputCreate!) {
    addFestival (data: $data) {
        id
        title {
            DE
            EN
        }
        bundleIds
        shortDescription {
            DE
            EN
        }
        longDescription {
            DE
            EN
        }
        isPublished
        isArchived
        signUpDeadline
        startDate
        endDate
        isAvailable
        bundles {
            id
            courseType
            picture
            signUpDeadline
            startDate
            endDate
            priceRegular
            priceStudent
            paymentType
            danceType
            maxParticipants
            maxAdditionalQueue
            autoAcceptPeopleAfterDeadline
            location
            notes
            subEventIds
            isPrivate
            isPublished
            isArchived
            isForFestival
            parentCourseId
            isAvailable
            createdAt
            updatedAt
            extras {
                id
                name {
                    DE
                    EN
                }
                price
                courseId
            }
            subEvents {
                id
                courseType
                picture
                signUpDeadline
                startDate
                endDate
                priceRegular
                priceStudent
                paymentType
                danceType
                maxParticipants
                maxAdditionalQueue
                autoAcceptPeopleAfterDeadline
                location
                notes
                subEventIds
                isPrivate
                isPublished
                isArchived
                isForFestival
                parentCourseId
                isAvailable
                createdAt
                updatedAt
                extras {
                    id
                    name {
                        DE
                        EN
                    }
                    price
                    courseId
                }
                subEvents {
                    id
                    courseType
                    picture
                    signUpDeadline
                    startDate
                    endDate
                    priceRegular
                    priceStudent
                    paymentType
                    danceType
                    maxParticipants
                    maxAdditionalQueue
                    autoAcceptPeopleAfterDeadline
                    location
                    notes
                    subEventIds
                    isPrivate
                    isPublished
                    isArchived
                    isForFestival
                    parentCourseId
                    isAvailable
                    createdAt
                    updatedAt
                    extras {
                        id
                        price
                        courseId
                    }
                    bookings {
                        id
                        courseId
                        userId
                        status
                        role
                        createdAt
                        updatedAt
                    }
                    attendees {
                        id
                        userId
                        courseId
                        role
                        note
                        createdAt
                        updatedAt
                        firstName
                        lastName
                        picture
                    }
                    coursePaymentDates {
                        id
                        courseId
                        date
                    }
                    isFullyBooked
                    courseTeachers {
                        id
                        courseId
                        userId
                    }
                    coursePrivateMembers {
                        id
                        courseId
                        userId
                    }
                    lessons {
                        id
                        courseId
                        startDate
                        endDate
                        location
                        note
                        videoUrl
                        teachersIds
                        userAttendanceStatus
                    }
                    courseProperties {
                        courseId
                        title
                        subTitle
                        description
                        requirements
                        language
                    }
                }
                bookings {
                    id
                    courseId
                    userId
                    status
                    role
                    createdAt
                    updatedAt
                    course {
                        id
                        courseType
                        picture
                        signUpDeadline
                        startDate
                        endDate
                        priceRegular
                        priceStudent
                        paymentType
                        danceType
                        maxParticipants
                        maxAdditionalQueue
                        autoAcceptPeopleAfterDeadline
                        location
                        notes
                        subEventIds
                        isPrivate
                        isPublished
                        isArchived
                        isForFestival
                        parentCourseId
                        isAvailable
                        createdAt
                        updatedAt
                        isFullyBooked
                    }
                    profile {
                        id
                        title
                        firstName
                        lastName
                        email
                        password
                        role
                        language
                        mobilePhone
                        chosenCourseId
                        address
                        additionalAddressInfo
                        zipCode
                        birthDate
                        picture
                        createdAt
                        updatedAt
                        deletedAt
                    }
                    extras {
                        id
                        price
                        courseId
                    }
                    payments {
                        userId
                        courseId
                        bookingId
                        state
                        method
                        price
                        transactionId
                        studentDiscount
                        discountCodeId
                        extraIds
                        id
                        createdAt
                        updatedAt
                    }
                }
                attendees {
                    id
                    userId
                    courseId
                    role
                    note
                    createdAt
                    updatedAt
                    firstName
                    lastName
                    picture
                }
                coursePaymentDates {
                    id
                    courseId
                    date
                }
                isFullyBooked
                courseTeachers {
                    id
                    courseId
                    userId
                    profile {
                        id
                        title
                        firstName
                        lastName
                        email
                        password
                        role
                        language
                        mobilePhone
                        chosenCourseId
                        address
                        additionalAddressInfo
                        zipCode
                        birthDate
                        picture
                        createdAt
                        updatedAt
                        deletedAt
                    }
                }
                coursePrivateMembers {
                    id
                    courseId
                    userId
                    profile {
                        id
                        title
                        firstName
                        lastName
                        email
                        password
                        role
                        language
                        mobilePhone
                        chosenCourseId
                        address
                        additionalAddressInfo
                        zipCode
                        birthDate
                        picture
                        createdAt
                        updatedAt
                        deletedAt
                    }
                }
                lessons {
                    id
                    courseId
                    startDate
                    endDate
                    location
                    note
                    videoUrl
                    teachersIds
                    balanceRatio {
                        followers
                        leaders
                        single
                    }
                    attendance {
                        id
                        lessonId
                        userId
                        status
                        createdAt
                        updatedAt
                    }
                    userAttendanceStatus
                    lessonTeachersProfiles {
                        id
                        title
                        firstName
                        lastName
                        email
                        password
                        role
                        language
                        mobilePhone
                        chosenCourseId
                        address
                        additionalAddressInfo
                        zipCode
                        birthDate
                        picture
                        createdAt
                        updatedAt
                        deletedAt
                    }
                    courseDetails {
                        id
                        courseType
                        picture
                        signUpDeadline
                        startDate
                        endDate
                        priceRegular
                        priceStudent
                        paymentType
                        danceType
                        maxParticipants
                        maxAdditionalQueue
                        autoAcceptPeopleAfterDeadline
                        location
                        notes
                        subEventIds
                        isPrivate
                        isPublished
                        isArchived
                        isForFestival
                        parentCourseId
                        isAvailable
                        createdAt
                        updatedAt
                        isFullyBooked
                    }
                }
                courseProperties {
                    courseId
                    title
                    subTitle
                    description
                    requirements
                    language
                }
            }
            bookings {
                id
                courseId
                userId
                status
                role
                createdAt
                updatedAt
                course {
                    id
                    courseType
                    picture
                    signUpDeadline
                    startDate
                    endDate
                    priceRegular
                    priceStudent
                    paymentType
                    danceType
                    maxParticipants
                    maxAdditionalQueue
                    autoAcceptPeopleAfterDeadline
                    location
                    notes
                    subEventIds
                    isPrivate
                    isPublished
                    isArchived
                    isForFestival
                    parentCourseId
                    isAvailable
                    createdAt
                    updatedAt
                    extras {
                        id
                        price
                        courseId
                    }
                    subEvents {
                        id
                        courseType
                        picture
                        signUpDeadline
                        startDate
                        endDate
                        priceRegular
                        priceStudent
                        paymentType
                        danceType
                        maxParticipants
                        maxAdditionalQueue
                        autoAcceptPeopleAfterDeadline
                        location
                        notes
                        subEventIds
                        isPrivate
                        isPublished
                        isArchived
                        isForFestival
                        parentCourseId
                        isAvailable
                        createdAt
                        updatedAt
                        isFullyBooked
                    }
                    bookings {
                        id
                        courseId
                        userId
                        status
                        role
                        createdAt
                        updatedAt
                    }
                    attendees {
                        id
                        userId
                        courseId
                        role
                        note
                        createdAt
                        updatedAt
                        firstName
                        lastName
                        picture
                    }
                    coursePaymentDates {
                        id
                        courseId
                        date
                    }
                    isFullyBooked
                    courseTeachers {
                        id
                        courseId
                        userId
                    }
                    coursePrivateMembers {
                        id
                        courseId
                        userId
                    }
                    lessons {
                        id
                        courseId
                        startDate
                        endDate
                        location
                        note
                        videoUrl
                        teachersIds
                        userAttendanceStatus
                    }
                    courseProperties {
                        courseId
                        title
                        subTitle
                        description
                        requirements
                        language
                    }
                }
                profile {
                    id
                    title
                    firstName
                    lastName
                    email
                    password
                    role
                    language
                    mobilePhone
                    chosenCourseId
                    address
                    additionalAddressInfo
                    zipCode
                    birthDate
                    picture
                    createdAt
                    updatedAt
                    deletedAt
                    teacherInfo {
                        id
                        userId
                        iban
                        insuranceNumber
                        createdAt
                        updatedAt
                    }
                    salary {
                        id
                        userId
                        type
                        payoutType
                        salary
                        createdAt
                        updatedAt
                    }
                    verification {
                        id
                        userId
                        expiration
                        picture
                        status
                        type
                    }
                }
                extras {
                    id
                    name {
                        DE
                        EN
                    }
                    price
                    courseId
                }
                payments {
                    userId
                    courseId
                    bookingId
                    state
                    method
                    price
                    transactionId
                    studentDiscount
                    discountCodeId
                    extraIds
                    id
                    createdAt
                    updatedAt
                }
            }
            attendees {
                id
                userId
                courseId
                role
                note
                createdAt
                updatedAt
                firstName
                lastName
                picture
            }
            coursePaymentDates {
                id
                courseId
                date
            }
            isFullyBooked
            courseTeachers {
                id
                courseId
                userId
                profile {
                    id
                    title
                    firstName
                    lastName
                    email
                    password
                    role
                    language
                    mobilePhone
                    chosenCourseId
                    address
                    additionalAddressInfo
                    zipCode
                    birthDate
                    picture
                    createdAt
                    updatedAt
                    deletedAt
                    teacherInfo {
                        id
                        userId
                        iban
                        insuranceNumber
                        createdAt
                        updatedAt
                    }
                    salary {
                        id
                        userId
                        type
                        payoutType
                        salary
                        createdAt
                        updatedAt
                    }
                    verification {
                        id
                        userId
                        expiration
                        picture
                        status
                        type
                    }
                }
            }
            coursePrivateMembers {
                id
                courseId
                userId
                profile {
                    id
                    title
                    firstName
                    lastName
                    email
                    password
                    role
                    language
                    mobilePhone
                    chosenCourseId
                    address
                    additionalAddressInfo
                    zipCode
                    birthDate
                    picture
                    createdAt
                    updatedAt
                    deletedAt
                    teacherInfo {
                        id
                        userId
                        iban
                        insuranceNumber
                        createdAt
                        updatedAt
                    }
                    salary {
                        id
                        userId
                        type
                        payoutType
                        salary
                        createdAt
                        updatedAt
                    }
                    verification {
                        id
                        userId
                        expiration
                        picture
                        status
                        type
                    }
                }
            }
            lessons {
                id
                courseId
                startDate
                endDate
                location
                note
                videoUrl
                teachersIds
                balanceRatio {
                    followers
                    leaders
                    single
                }
                attendance {
                    id
                    lessonId
                    userId
                    status
                    createdAt
                    updatedAt
                }
                userAttendanceStatus
                lessonTeachersProfiles {
                    id
                    title
                    firstName
                    lastName
                    email
                    password
                    role
                    language
                    mobilePhone
                    chosenCourseId
                    address
                    additionalAddressInfo
                    zipCode
                    birthDate
                    picture
                    createdAt
                    updatedAt
                    deletedAt
                    teacherInfo {
                        id
                        userId
                        iban
                        insuranceNumber
                        createdAt
                        updatedAt
                    }
                    salary {
                        id
                        userId
                        type
                        payoutType
                        salary
                        createdAt
                        updatedAt
                    }
                    verification {
                        id
                        userId
                        expiration
                        picture
                        status
                        type
                    }
                }
                courseDetails {
                    id
                    courseType
                    picture
                    signUpDeadline
                    startDate
                    endDate
                    priceRegular
                    priceStudent
                    paymentType
                    danceType
                    maxParticipants
                    maxAdditionalQueue
                    autoAcceptPeopleAfterDeadline
                    location
                    notes
                    subEventIds
                    isPrivate
                    isPublished
                    isArchived
                    isForFestival
                    parentCourseId
                    isAvailable
                    createdAt
                    updatedAt
                    extras {
                        id
                        price
                        courseId
                    }
                    subEvents {
                        id
                        courseType
                        picture
                        signUpDeadline
                        startDate
                        endDate
                        priceRegular
                        priceStudent
                        paymentType
                        danceType
                        maxParticipants
                        maxAdditionalQueue
                        autoAcceptPeopleAfterDeadline
                        location
                        notes
                        subEventIds
                        isPrivate
                        isPublished
                        isArchived
                        isForFestival
                        parentCourseId
                        isAvailable
                        createdAt
                        updatedAt
                        isFullyBooked
                    }
                    bookings {
                        id
                        courseId
                        userId
                        status
                        role
                        createdAt
                        updatedAt
                    }
                    attendees {
                        id
                        userId
                        courseId
                        role
                        note
                        createdAt
                        updatedAt
                        firstName
                        lastName
                        picture
                    }
                    coursePaymentDates {
                        id
                        courseId
                        date
                    }
                    isFullyBooked
                    courseTeachers {
                        id
                        courseId
                        userId
                    }
                    coursePrivateMembers {
                        id
                        courseId
                        userId
                    }
                    lessons {
                        id
                        courseId
                        startDate
                        endDate
                        location
                        note
                        videoUrl
                        teachersIds
                        userAttendanceStatus
                    }
                    courseProperties {
                        courseId
                        title
                        subTitle
                        description
                        requirements
                        language
                    }
                }
            }
            courseProperties {
                courseId
                title
                subTitle
                description
                requirements
                language
            }
        }
    }
}