add schema and operations for submit cancellation feedback, along with associated enum

This commit is contained in:
2025-12-16 16:51:08 -08:00
parent ced1b153de
commit f5e6459882
3 changed files with 115 additions and 0 deletions

View File

@@ -1072,6 +1072,11 @@ type Mutation {
deleteUser: Boolean!
createSubscription(priceId: String!): CreateSubscriptionResultGQL!
cancelSubscription: UserSubscriptionStatusGQL!
submitCancellationFeedback(
reasons: [CancellationReasonEnum!] = null
feedback: String = null
metadata: CancellationFeedbackMetadataInput = null
): Boolean!
findPrerecordTableLayout(b64Image: String!, videoId: Int!): HomographyInfoGQL
createUploadStream(
videoMetadata: VideoMetadataInput!
@@ -1196,6 +1201,21 @@ type CreateSubscriptionResultGQL {
sessionId: String!
}
enum CancellationReasonEnum {
DONT_PLAY_ENOUGH
TOO_EXPENSIVE
MISSING_FEATURES
TECHNICAL_ISSUES
DATA_NOT_ACCURATE
OTHER
}
input CancellationFeedbackMetadataInput {
appVersion: String = null
gitRevision: String = null
platform: String = null
}
type CreateUploadStreamReturn {
videoId: Int!
}