diff --git a/src/index.tsx b/src/index.tsx index 9387fb6..cf43e9a 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -2281,6 +2281,7 @@ export type Mutation = { editShot: EditShotReturn; editUploadStream: Scalars["Boolean"]["output"]; editUser: UserGql; + ensureStripeCustomerExists: UserGql; findPrerecordTableLayout?: Maybe; followUser: UserGql; getHlsInitUploadLink: GetUploadLinkReturn; @@ -2352,6 +2353,10 @@ export type MutationEditUserArgs = { input: EditUserInputGql; }; +export type MutationEnsureStripeCustomerExistsArgs = { + email: Scalars["String"]["input"]; +}; + export type MutationFindPrerecordTableLayoutArgs = { b64Image: Scalars["String"]["input"]; videoId: Scalars["Int"]["input"]; @@ -3041,6 +3046,7 @@ export type UserGql = { id: Scalars["Int"]["output"]; isAdmin?: Maybe; profileImageUri?: Maybe; + stripeCustomerId?: Maybe; updatedAt?: Maybe; username: Scalars["String"]["output"]; videosPrivateByDefault?: Maybe; diff --git a/src/schema.gql b/src/schema.gql index f9e79a0..6b4db05 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -356,6 +356,7 @@ type UserGQL { isAdmin: Boolean fargoRating: Int activeVideoId: Int + stripeCustomerId: String profileImageUri: String createdAt: DateTime updatedAt: DateTime @@ -878,6 +879,7 @@ type Mutation { followUser(followedUserId: Int!): UserGQL! unfollowUser(followedUserId: Int!): UserGQL! retireTags(tagIds: [Int!]!): Boolean! + ensureStripeCustomerExists(email: String!): UserGQL! findPrerecordTableLayout(b64Image: String!, videoId: Int!): HomographyInfoGQL createUploadStream( videoMetadata: VideoMetadataInput!