diff --git a/src/index.tsx b/src/index.tsx index 9387fb6..1b6bb1c 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -2285,6 +2285,7 @@ export type Mutation = { followUser: UserGql; getHlsInitUploadLink: GetUploadLinkReturn; getProfileImageUploadLink: GetProfileUploadLinkReturn; + getStripeCustomer: UserGql; getUploadLink: GetUploadLinkReturn; reactToVideo: Scalars["Boolean"]["output"]; retireTags: Scalars["Boolean"]["output"]; @@ -2369,6 +2370,10 @@ export type MutationGetProfileImageUploadLinkArgs = { fileExt?: InputMaybe; }; +export type MutationGetStripeCustomerArgs = { + email: Scalars["String"]["input"]; +}; + export type MutationGetUploadLinkArgs = { segmentIndex: Scalars["Int"]["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..4f43761 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! + getStripeCustomer(email: String!): UserGQL! findPrerecordTableLayout(b64Image: String!, videoId: Int!): HomographyInfoGQL createUploadStream( videoMetadata: VideoMetadataInput!