diff --git a/src/index.tsx b/src/index.tsx index b6e53cb..750efc9 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -164,6 +164,12 @@ export type CreateBucketSetInput = { keyName: Scalars["String"]["input"]; }; +export type CreateSubscriptionResultGql = { + __typename?: "CreateSubscriptionResultGQL"; + checkoutUrl: Scalars["String"]["output"]; + sessionId: Scalars["String"]["output"]; +}; + export type CreateUploadStreamReturn = { __typename?: "CreateUploadStreamReturn"; videoId: Scalars["Int"]["output"]; @@ -2272,6 +2278,7 @@ export type Mutation = { addAnnotationToShot: AddShotAnnotationReturn; commentOnVideo: Scalars["Boolean"]["output"]; createBucketSet: BucketSetGql; + createSubscription: CreateSubscriptionResultGql; createUploadStream: CreateUploadStreamReturn; deleteComment: Scalars["Boolean"]["output"]; deleteTags: Scalars["Boolean"]["output"]; @@ -2311,6 +2318,10 @@ export type MutationCreateBucketSetArgs = { params: CreateBucketSetInput; }; +export type MutationCreateSubscriptionArgs = { + priceId: Scalars["String"]["input"]; +}; + export type MutationCreateUploadStreamArgs = { videoMetadata: VideoMetadataInput; }; diff --git a/src/schema.gql b/src/schema.gql index 278bafb..988ff54 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -883,6 +883,7 @@ type Mutation { unfollowUser(followedUserId: Int!): UserGQL! retireTags(tagIds: [Int!]!): Boolean! ensureStripeCustomerExists: UserGQL! + createSubscription(priceId: String!): CreateSubscriptionResultGQL! findPrerecordTableLayout(b64Image: String!, videoId: Int!): HomographyInfoGQL createUploadStream( videoMetadata: VideoMetadataInput! @@ -992,6 +993,11 @@ input EditUserInputGQL { videosPrivateByDefault: Boolean = null } +type CreateSubscriptionResultGQL { + checkoutUrl: String! + sessionId: String! +} + type CreateUploadStreamReturn { videoId: Int! }