add createSubscription
All checks were successful
Tests / Tests (pull_request) Successful in 9s

This commit is contained in:
Loewy 2025-07-08 16:20:14 -07:00
parent 2b43493a4f
commit 567cbc549c
2 changed files with 17 additions and 0 deletions

View File

@ -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;
};

View File

@ -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!
}