Compare commits
4 Commits
dean/camer
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 079e4e8719 | |||
| af68bc3c60 | |||
| f12d2c5a1b | |||
| 4e3f649a2c |
@@ -331,6 +331,7 @@ export type EditableShotFieldInputGql = {
|
||||
export enum EntitlementSourceTypeEnum {
|
||||
Admin = "ADMIN",
|
||||
AlphaLegacy = "ALPHA_LEGACY",
|
||||
Apple = "APPLE",
|
||||
Manual = "MANUAL",
|
||||
Stripe = "STRIPE",
|
||||
}
|
||||
@@ -2429,6 +2430,7 @@ export type Mutation = {
|
||||
startChallenge: ChallengeEntry;
|
||||
submitCancellationFeedback: Scalars["Boolean"]["output"];
|
||||
submitChallengeEntry: ChallengeEntry;
|
||||
syncAppleSubscription: SyncAppleSubscriptionResultGql;
|
||||
undismissChallenge: Scalars["Boolean"]["output"];
|
||||
unfollowUser: UserGql;
|
||||
updateShotAnnotations: UpdateShotAnnotationReturn;
|
||||
@@ -2632,6 +2634,10 @@ export type MutationSubmitChallengeEntryArgs = {
|
||||
videoId: Scalars["ID"]["input"];
|
||||
};
|
||||
|
||||
export type MutationSyncAppleSubscriptionArgs = {
|
||||
input: SyncAppleSubscriptionInputGql;
|
||||
};
|
||||
|
||||
export type MutationUndismissChallengeArgs = {
|
||||
challengeId: Scalars["ID"]["input"];
|
||||
};
|
||||
@@ -2814,6 +2820,7 @@ export type Query = {
|
||||
challenges: Array<Challenge>;
|
||||
doesUsernameExist: Scalars["Boolean"]["output"];
|
||||
getAggregatedShotMetrics: Array<AggregateResultGql>;
|
||||
getAppleAppAccountToken: Scalars["String"]["output"];
|
||||
getAvailableSubscriptionOptions: StripeSubscriptionOptionsGql;
|
||||
getBucketSet?: Maybe<BucketSetGql>;
|
||||
getDeployedConfig: DeployedConfigGql;
|
||||
@@ -3377,6 +3384,27 @@ export type SuccessfulAddAddShotAnnotationErrors =
|
||||
| AddShotAnnotationErrors
|
||||
| SuccessfulAdd;
|
||||
|
||||
export type SyncAppleSubscriptionInputGql = {
|
||||
signedRenewalInfo?: InputMaybe<Scalars["String"]["input"]>;
|
||||
signedTransactionInfo: Scalars["String"]["input"];
|
||||
};
|
||||
|
||||
export type SyncAppleSubscriptionResultGql = {
|
||||
__typename?: "SyncAppleSubscriptionResultGQL";
|
||||
appleStatus?: Maybe<Scalars["Int"]["output"]>;
|
||||
entitlementEndsAt?: Maybe<Scalars["DateTime"]["output"]>;
|
||||
entitlementSource?: Maybe<EntitlementSourceTypeEnum>;
|
||||
entitlementStartsAt?: Maybe<Scalars["DateTime"]["output"]>;
|
||||
errorCode?: Maybe<Scalars["String"]["output"]>;
|
||||
errorMessage?: Maybe<Scalars["String"]["output"]>;
|
||||
expiresAt?: Maybe<Scalars["DateTime"]["output"]>;
|
||||
hasActiveSubscription: Scalars["Boolean"]["output"];
|
||||
latestTransactionId?: Maybe<Scalars["String"]["output"]>;
|
||||
ok: Scalars["Boolean"]["output"];
|
||||
originalTransactionId?: Maybe<Scalars["String"]["output"]>;
|
||||
productId?: Maybe<Scalars["String"]["output"]>;
|
||||
};
|
||||
|
||||
export type TableStateGql = {
|
||||
__typename?: "TableStateGQL";
|
||||
homography?: Maybe<HomographyInfoGql>;
|
||||
|
||||
@@ -98,6 +98,7 @@ type Query {
|
||||
): UserRelationshipsResult!
|
||||
getAvailableSubscriptionOptions: StripeSubscriptionOptionsGQL!
|
||||
getUserSubscriptionStatus: UserSubscriptionStatusGQL!
|
||||
getAppleAppAccountToken: String!
|
||||
getQuotaStatus: QuotaStatusGQL!
|
||||
getPlayTime(userId: Int!, filters: VideoFilterInput = null): UserPlayTimeGQL!
|
||||
getUserVideos(
|
||||
@@ -1020,6 +1021,7 @@ enum EntitlementSourceTypeEnum {
|
||||
ADMIN
|
||||
MANUAL
|
||||
STRIPE
|
||||
APPLE
|
||||
ALPHA_LEGACY
|
||||
}
|
||||
|
||||
@@ -1175,6 +1177,9 @@ type Mutation {
|
||||
retireTags(tagIds: [Int!]!): Boolean!
|
||||
ensureStripeCustomerExists: UserGQL!
|
||||
deleteUser: Boolean!
|
||||
syncAppleSubscription(
|
||||
input: SyncAppleSubscriptionInputGQL!
|
||||
): SyncAppleSubscriptionResultGQL!
|
||||
createSubscription(priceId: String!): CreateSubscriptionResultGQL!
|
||||
createCustomerPortalSession: CreateCustomerPortalSessionResultGQL!
|
||||
cancelSubscription: UserSubscriptionStatusGQL!
|
||||
@@ -1328,6 +1333,26 @@ input EditUserInputGQL {
|
||||
agreesToMarketing: Boolean = null
|
||||
}
|
||||
|
||||
type SyncAppleSubscriptionResultGQL {
|
||||
ok: Boolean!
|
||||
errorCode: String
|
||||
errorMessage: String
|
||||
hasActiveSubscription: Boolean!
|
||||
entitlementSource: EntitlementSourceTypeEnum
|
||||
entitlementStartsAt: DateTime
|
||||
entitlementEndsAt: DateTime
|
||||
appleStatus: Int
|
||||
originalTransactionId: String
|
||||
latestTransactionId: String
|
||||
productId: String
|
||||
expiresAt: DateTime
|
||||
}
|
||||
|
||||
input SyncAppleSubscriptionInputGQL {
|
||||
signedTransactionInfo: String!
|
||||
signedRenewalInfo: String = null
|
||||
}
|
||||
|
||||
type CreateSubscriptionResultGQL {
|
||||
checkoutUrl: String!
|
||||
sessionId: String!
|
||||
|
||||
Reference in New Issue
Block a user