|
|
|
|
@@ -265,6 +265,7 @@ export type CohortStatsGql = {
|
|
|
|
|
activated7d: Scalars["Int"]["output"];
|
|
|
|
|
activatedNotPaid7d: Scalars["Int"]["output"];
|
|
|
|
|
paid7d: Scalars["Int"]["output"];
|
|
|
|
|
paidTotal: Scalars["Int"]["output"];
|
|
|
|
|
signups: Scalars["Int"]["output"];
|
|
|
|
|
weekStart: Scalars["Date"]["output"];
|
|
|
|
|
};
|
|
|
|
|
@@ -2323,6 +2324,8 @@ export type FunnelStatsGql = {
|
|
|
|
|
freemiumEpoch: Scalars["Date"]["output"];
|
|
|
|
|
newPaid7d: Scalars["Int"]["output"];
|
|
|
|
|
newPaid30d: Scalars["Int"]["output"];
|
|
|
|
|
newPaidToday: Scalars["Int"]["output"];
|
|
|
|
|
pastDueUsers: Scalars["Int"]["output"];
|
|
|
|
|
payingUsers: Scalars["Int"]["output"];
|
|
|
|
|
retentionPrevActive: Scalars["Int"]["output"];
|
|
|
|
|
retentionReturned: Scalars["Int"]["output"];
|
|
|
|
|
@@ -2579,6 +2582,7 @@ export type Mutation = {
|
|
|
|
|
startChallenge: ChallengeEntry;
|
|
|
|
|
submitCancellationFeedback: Scalars["Boolean"]["output"];
|
|
|
|
|
submitChallengeEntry: ChallengeEntry;
|
|
|
|
|
submitSessionCoachFeedback: SessionCoachFeedbackGql;
|
|
|
|
|
syncAppleSubscription: SyncAppleSubscriptionResultGql;
|
|
|
|
|
undismissChallenge: Scalars["Boolean"]["output"];
|
|
|
|
|
unfollowUser: UserGql;
|
|
|
|
|
@@ -2840,6 +2844,12 @@ export type MutationSubmitChallengeEntryArgs = {
|
|
|
|
|
videoId: Scalars["ID"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type MutationSubmitSessionCoachFeedbackArgs = {
|
|
|
|
|
generationId: Scalars["ID"]["input"];
|
|
|
|
|
response: SessionCoachFeedbackResponseEnum;
|
|
|
|
|
videoId: Scalars["Int"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type MutationSyncAppleSubscriptionArgs = {
|
|
|
|
|
input: SyncAppleSubscriptionInputGql;
|
|
|
|
|
};
|
|
|
|
|
@@ -3122,6 +3132,7 @@ export type Query = {
|
|
|
|
|
getResolvedTier: ResolvedTierGql;
|
|
|
|
|
getRuns: GetRunsResult;
|
|
|
|
|
getSessionCoach: SessionCoachGql;
|
|
|
|
|
getSessionCoachGenerationStatus?: Maybe<SessionCoachGenerationStatusGql>;
|
|
|
|
|
getShotAnnotationTypes: Array<ShotAnnotationTypeGql>;
|
|
|
|
|
getShotTableState: ShotTableStateGql;
|
|
|
|
|
getShots: Array<ShotGql>;
|
|
|
|
|
@@ -3283,6 +3294,11 @@ export type QueryGetSessionCoachArgs = {
|
|
|
|
|
videoId: Scalars["Int"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type QueryGetSessionCoachGenerationStatusArgs = {
|
|
|
|
|
generationId: Scalars["ID"]["input"];
|
|
|
|
|
videoId: Scalars["Int"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type QueryGetShotAnnotationTypesArgs = {
|
|
|
|
|
errorTypes?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
|
|
|
};
|
|
|
|
|
@@ -3685,6 +3701,19 @@ export type SessionCoachEvidenceGql = {
|
|
|
|
|
score: Scalars["Float"]["output"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type SessionCoachFeedbackGql = {
|
|
|
|
|
__typename?: "SessionCoachFeedbackGQL";
|
|
|
|
|
response: SessionCoachFeedbackResponseEnum;
|
|
|
|
|
updatedAt: Scalars["DateTime"]["output"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export enum SessionCoachFeedbackResponseEnum {
|
|
|
|
|
AlreadyWorkingOnThis = "ALREADY_WORKING_ON_THIS",
|
|
|
|
|
Helpful = "HELPFUL",
|
|
|
|
|
NotEnoughEvidence = "NOT_ENOUGH_EVIDENCE",
|
|
|
|
|
WrongFocus = "WRONG_FOCUS",
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type SessionCoachGql = {
|
|
|
|
|
__typename?: "SessionCoachGQL";
|
|
|
|
|
agentGeneration?: Maybe<SessionCoachGenerationGql>;
|
|
|
|
|
@@ -3737,6 +3766,7 @@ export type SessionCoachGenerationGql = {
|
|
|
|
|
createdAt: Scalars["DateTime"]["output"];
|
|
|
|
|
decision?: Maybe<SessionCoachDecisionGql>;
|
|
|
|
|
diagnostics?: Maybe<SessionCoachGenerationDiagnosticsGql>;
|
|
|
|
|
feedback?: Maybe<SessionCoachFeedbackGql>;
|
|
|
|
|
id: Scalars["ID"]["output"];
|
|
|
|
|
state: SessionCoachGenerationStateEnum;
|
|
|
|
|
};
|
|
|
|
|
@@ -3748,6 +3778,18 @@ export enum SessionCoachGenerationStateEnum {
|
|
|
|
|
Running = "RUNNING",
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type SessionCoachGenerationStatusGql = {
|
|
|
|
|
__typename?: "SessionCoachGenerationStatusGQL";
|
|
|
|
|
completedAt?: Maybe<Scalars["DateTime"]["output"]>;
|
|
|
|
|
createdAt: Scalars["DateTime"]["output"];
|
|
|
|
|
enqueueCount: Scalars["Int"]["output"];
|
|
|
|
|
id: Scalars["ID"]["output"];
|
|
|
|
|
lastEnqueuedAt?: Maybe<Scalars["DateTime"]["output"]>;
|
|
|
|
|
startedAt?: Maybe<Scalars["DateTime"]["output"]>;
|
|
|
|
|
state: SessionCoachGenerationStateEnum;
|
|
|
|
|
updatedAt: Scalars["DateTime"]["output"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export enum SessionCoachIneligibilityReasonEnum {
|
|
|
|
|
Multiplayer = "MULTIPLAYER",
|
|
|
|
|
}
|
|
|
|
|
@@ -7205,10 +7247,35 @@ export type GetSessionCoachQuery = {
|
|
|
|
|
abstentionReason?: string | null;
|
|
|
|
|
synthesisRationale?: string | null;
|
|
|
|
|
} | null;
|
|
|
|
|
feedback?: {
|
|
|
|
|
__typename?: "SessionCoachFeedbackGQL";
|
|
|
|
|
response: SessionCoachFeedbackResponseEnum;
|
|
|
|
|
updatedAt: any;
|
|
|
|
|
} | null;
|
|
|
|
|
} | null;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GetSessionCoachGenerationStatusQueryVariables = Exact<{
|
|
|
|
|
videoId: Scalars["Int"]["input"];
|
|
|
|
|
generationId: Scalars["ID"]["input"];
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
export type GetSessionCoachGenerationStatusQuery = {
|
|
|
|
|
__typename?: "Query";
|
|
|
|
|
getSessionCoachGenerationStatus?: {
|
|
|
|
|
__typename?: "SessionCoachGenerationStatusGQL";
|
|
|
|
|
id: string;
|
|
|
|
|
state: SessionCoachGenerationStateEnum;
|
|
|
|
|
createdAt: any;
|
|
|
|
|
updatedAt: any;
|
|
|
|
|
startedAt?: any | null;
|
|
|
|
|
lastEnqueuedAt?: any | null;
|
|
|
|
|
enqueueCount: number;
|
|
|
|
|
completedAt?: any | null;
|
|
|
|
|
} | null;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type RequestSessionCoachGenerationMutationVariables = Exact<{
|
|
|
|
|
videoId: Scalars["Int"]["input"];
|
|
|
|
|
}>;
|
|
|
|
|
@@ -7262,10 +7329,30 @@ export type RequestSessionCoachGenerationMutation = {
|
|
|
|
|
abstentionReason?: string | null;
|
|
|
|
|
synthesisRationale?: string | null;
|
|
|
|
|
} | null;
|
|
|
|
|
feedback?: {
|
|
|
|
|
__typename?: "SessionCoachFeedbackGQL";
|
|
|
|
|
response: SessionCoachFeedbackResponseEnum;
|
|
|
|
|
updatedAt: any;
|
|
|
|
|
} | null;
|
|
|
|
|
} | null;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type SubmitSessionCoachFeedbackMutationVariables = Exact<{
|
|
|
|
|
videoId: Scalars["Int"]["input"];
|
|
|
|
|
generationId: Scalars["ID"]["input"];
|
|
|
|
|
response: SessionCoachFeedbackResponseEnum;
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
export type SubmitSessionCoachFeedbackMutation = {
|
|
|
|
|
__typename?: "Mutation";
|
|
|
|
|
submitSessionCoachFeedback: {
|
|
|
|
|
__typename?: "SessionCoachFeedbackGQL";
|
|
|
|
|
response: SessionCoachFeedbackResponseEnum;
|
|
|
|
|
updatedAt: any;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type SessionCoachCandidateFieldsFragment = {
|
|
|
|
|
__typename?: "SessionCoachCandidateGQL";
|
|
|
|
|
id: string;
|
|
|
|
|
@@ -7343,6 +7430,11 @@ export type SessionCoachGenerationFieldsFragment = {
|
|
|
|
|
abstentionReason?: string | null;
|
|
|
|
|
synthesisRationale?: string | null;
|
|
|
|
|
} | null;
|
|
|
|
|
feedback?: {
|
|
|
|
|
__typename?: "SessionCoachFeedbackGQL";
|
|
|
|
|
response: SessionCoachFeedbackResponseEnum;
|
|
|
|
|
updatedAt: any;
|
|
|
|
|
} | null;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type CreateShotShareLinkMutationVariables = Exact<{
|
|
|
|
|
@@ -8268,6 +8360,8 @@ export type GetUsageStatsQuery = {
|
|
|
|
|
activationCohort: number;
|
|
|
|
|
activationActivated: number;
|
|
|
|
|
payingUsers: number;
|
|
|
|
|
pastDueUsers: number;
|
|
|
|
|
newPaidToday: number;
|
|
|
|
|
newPaid7d: number;
|
|
|
|
|
newPaid30d: number;
|
|
|
|
|
retentionPrevActive: number;
|
|
|
|
|
@@ -8280,6 +8374,7 @@ export type GetUsageStatsQuery = {
|
|
|
|
|
activated7d: number;
|
|
|
|
|
paid7d: number;
|
|
|
|
|
activatedNotPaid7d: number;
|
|
|
|
|
paidTotal: number;
|
|
|
|
|
}>;
|
|
|
|
|
windows: Array<{
|
|
|
|
|
__typename?: "UsageStatsWindowGQL";
|
|
|
|
|
@@ -10062,6 +10157,10 @@ export const SessionCoachGenerationFieldsFragmentDoc = gql`
|
|
|
|
|
abstentionReason
|
|
|
|
|
synthesisRationale
|
|
|
|
|
}
|
|
|
|
|
feedback {
|
|
|
|
|
response
|
|
|
|
|
updatedAt
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
export const PlayerClusterShotFieldsFragmentDoc = gql`
|
|
|
|
|
@@ -15862,6 +15961,90 @@ export type GetSessionCoachQueryResult = Apollo.QueryResult<
|
|
|
|
|
GetSessionCoachQuery,
|
|
|
|
|
GetSessionCoachQueryVariables
|
|
|
|
|
>;
|
|
|
|
|
export const GetSessionCoachGenerationStatusDocument = gql`
|
|
|
|
|
query GetSessionCoachGenerationStatus($videoId: Int!, $generationId: ID!) {
|
|
|
|
|
getSessionCoachGenerationStatus(
|
|
|
|
|
videoId: $videoId
|
|
|
|
|
generationId: $generationId
|
|
|
|
|
) {
|
|
|
|
|
id
|
|
|
|
|
state
|
|
|
|
|
createdAt
|
|
|
|
|
updatedAt
|
|
|
|
|
startedAt
|
|
|
|
|
lastEnqueuedAt
|
|
|
|
|
enqueueCount
|
|
|
|
|
completedAt
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* __useGetSessionCoachGenerationStatusQuery__
|
|
|
|
|
*
|
|
|
|
|
* To run a query within a React component, call `useGetSessionCoachGenerationStatusQuery` and pass it any options that fit your needs.
|
|
|
|
|
* When your component renders, `useGetSessionCoachGenerationStatusQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
|
|
|
* you can use to render your UI.
|
|
|
|
|
*
|
|
|
|
|
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
|
|
|
*
|
|
|
|
|
* @example
|
|
|
|
|
* const { data, loading, error } = useGetSessionCoachGenerationStatusQuery({
|
|
|
|
|
* variables: {
|
|
|
|
|
* videoId: // value for 'videoId'
|
|
|
|
|
* generationId: // value for 'generationId'
|
|
|
|
|
* },
|
|
|
|
|
* });
|
|
|
|
|
*/
|
|
|
|
|
export function useGetSessionCoachGenerationStatusQuery(
|
|
|
|
|
baseOptions: Apollo.QueryHookOptions<
|
|
|
|
|
GetSessionCoachGenerationStatusQuery,
|
|
|
|
|
GetSessionCoachGenerationStatusQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useQuery<
|
|
|
|
|
GetSessionCoachGenerationStatusQuery,
|
|
|
|
|
GetSessionCoachGenerationStatusQueryVariables
|
|
|
|
|
>(GetSessionCoachGenerationStatusDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export function useGetSessionCoachGenerationStatusLazyQuery(
|
|
|
|
|
baseOptions?: Apollo.LazyQueryHookOptions<
|
|
|
|
|
GetSessionCoachGenerationStatusQuery,
|
|
|
|
|
GetSessionCoachGenerationStatusQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useLazyQuery<
|
|
|
|
|
GetSessionCoachGenerationStatusQuery,
|
|
|
|
|
GetSessionCoachGenerationStatusQueryVariables
|
|
|
|
|
>(GetSessionCoachGenerationStatusDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export function useGetSessionCoachGenerationStatusSuspenseQuery(
|
|
|
|
|
baseOptions?: Apollo.SuspenseQueryHookOptions<
|
|
|
|
|
GetSessionCoachGenerationStatusQuery,
|
|
|
|
|
GetSessionCoachGenerationStatusQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useSuspenseQuery<
|
|
|
|
|
GetSessionCoachGenerationStatusQuery,
|
|
|
|
|
GetSessionCoachGenerationStatusQueryVariables
|
|
|
|
|
>(GetSessionCoachGenerationStatusDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export type GetSessionCoachGenerationStatusQueryHookResult = ReturnType<
|
|
|
|
|
typeof useGetSessionCoachGenerationStatusQuery
|
|
|
|
|
>;
|
|
|
|
|
export type GetSessionCoachGenerationStatusLazyQueryHookResult = ReturnType<
|
|
|
|
|
typeof useGetSessionCoachGenerationStatusLazyQuery
|
|
|
|
|
>;
|
|
|
|
|
export type GetSessionCoachGenerationStatusSuspenseQueryHookResult = ReturnType<
|
|
|
|
|
typeof useGetSessionCoachGenerationStatusSuspenseQuery
|
|
|
|
|
>;
|
|
|
|
|
export type GetSessionCoachGenerationStatusQueryResult = Apollo.QueryResult<
|
|
|
|
|
GetSessionCoachGenerationStatusQuery,
|
|
|
|
|
GetSessionCoachGenerationStatusQueryVariables
|
|
|
|
|
>;
|
|
|
|
|
export const RequestSessionCoachGenerationDocument = gql`
|
|
|
|
|
mutation RequestSessionCoachGeneration($videoId: Int!) {
|
|
|
|
|
requestSessionCoachGeneration(videoId: $videoId) {
|
|
|
|
|
@@ -15917,6 +16100,68 @@ export type RequestSessionCoachGenerationMutationOptions =
|
|
|
|
|
RequestSessionCoachGenerationMutation,
|
|
|
|
|
RequestSessionCoachGenerationMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
export const SubmitSessionCoachFeedbackDocument = gql`
|
|
|
|
|
mutation SubmitSessionCoachFeedback(
|
|
|
|
|
$videoId: Int!
|
|
|
|
|
$generationId: ID!
|
|
|
|
|
$response: SessionCoachFeedbackResponseEnum!
|
|
|
|
|
) {
|
|
|
|
|
submitSessionCoachFeedback(
|
|
|
|
|
videoId: $videoId
|
|
|
|
|
generationId: $generationId
|
|
|
|
|
response: $response
|
|
|
|
|
) {
|
|
|
|
|
response
|
|
|
|
|
updatedAt
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
export type SubmitSessionCoachFeedbackMutationFn = Apollo.MutationFunction<
|
|
|
|
|
SubmitSessionCoachFeedbackMutation,
|
|
|
|
|
SubmitSessionCoachFeedbackMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* __useSubmitSessionCoachFeedbackMutation__
|
|
|
|
|
*
|
|
|
|
|
* To run a mutation, you first call `useSubmitSessionCoachFeedbackMutation` within a React component and pass it any options that fit your needs.
|
|
|
|
|
* When your component renders, `useSubmitSessionCoachFeedbackMutation` returns a tuple that includes:
|
|
|
|
|
* - A mutate function that you can call at any time to execute the mutation
|
|
|
|
|
* - An object with fields that represent the current status of the mutation's execution
|
|
|
|
|
*
|
|
|
|
|
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
|
|
|
*
|
|
|
|
|
* @example
|
|
|
|
|
* const [submitSessionCoachFeedbackMutation, { data, loading, error }] = useSubmitSessionCoachFeedbackMutation({
|
|
|
|
|
* variables: {
|
|
|
|
|
* videoId: // value for 'videoId'
|
|
|
|
|
* generationId: // value for 'generationId'
|
|
|
|
|
* response: // value for 'response'
|
|
|
|
|
* },
|
|
|
|
|
* });
|
|
|
|
|
*/
|
|
|
|
|
export function useSubmitSessionCoachFeedbackMutation(
|
|
|
|
|
baseOptions?: Apollo.MutationHookOptions<
|
|
|
|
|
SubmitSessionCoachFeedbackMutation,
|
|
|
|
|
SubmitSessionCoachFeedbackMutationVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useMutation<
|
|
|
|
|
SubmitSessionCoachFeedbackMutation,
|
|
|
|
|
SubmitSessionCoachFeedbackMutationVariables
|
|
|
|
|
>(SubmitSessionCoachFeedbackDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export type SubmitSessionCoachFeedbackMutationHookResult = ReturnType<
|
|
|
|
|
typeof useSubmitSessionCoachFeedbackMutation
|
|
|
|
|
>;
|
|
|
|
|
export type SubmitSessionCoachFeedbackMutationResult =
|
|
|
|
|
Apollo.MutationResult<SubmitSessionCoachFeedbackMutation>;
|
|
|
|
|
export type SubmitSessionCoachFeedbackMutationOptions =
|
|
|
|
|
Apollo.BaseMutationOptions<
|
|
|
|
|
SubmitSessionCoachFeedbackMutation,
|
|
|
|
|
SubmitSessionCoachFeedbackMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
export const CreateShotShareLinkDocument = gql`
|
|
|
|
|
mutation CreateShotShareLink(
|
|
|
|
|
$shotIds: [Int!]!
|
|
|
|
|
@@ -17430,6 +17675,8 @@ export const GetUsageStatsDocument = gql`
|
|
|
|
|
activationCohort
|
|
|
|
|
activationActivated
|
|
|
|
|
payingUsers
|
|
|
|
|
pastDueUsers
|
|
|
|
|
newPaidToday
|
|
|
|
|
newPaid7d
|
|
|
|
|
newPaid30d
|
|
|
|
|
retentionPrevActive
|
|
|
|
|
@@ -17441,6 +17688,7 @@ export const GetUsageStatsDocument = gql`
|
|
|
|
|
activated7d
|
|
|
|
|
paid7d
|
|
|
|
|
activatedNotPaid7d
|
|
|
|
|
paidTotal
|
|
|
|
|
}
|
|
|
|
|
totalUsers
|
|
|
|
|
totalVideos
|
|
|
|
|
|