|
|
|
|
@@ -205,6 +205,11 @@ export enum ClientUploadStatusEnum {
|
|
|
|
|
UploadEnabled = "UPLOAD_ENABLED",
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ClusterAssignmentInput = {
|
|
|
|
|
clusterId: Scalars["Int"]["input"];
|
|
|
|
|
userId?: InputMaybe<Scalars["Int"]["input"]>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type CommentGql = {
|
|
|
|
|
__typename?: "CommentGQL";
|
|
|
|
|
id: Scalars["Int"]["output"];
|
|
|
|
|
@@ -2182,6 +2187,12 @@ export type FilterInput =
|
|
|
|
|
videoId: Array<Scalars["Int"]["input"]>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type FinalizePlayerAssignmentsInput = {
|
|
|
|
|
clusterAssignments?: Array<ClusterAssignmentInput>;
|
|
|
|
|
shotMoves?: Array<ShotMoveInput>;
|
|
|
|
|
videoId: Scalars["Int"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type FloatOrdering = {
|
|
|
|
|
descending?: Scalars["Boolean"]["input"];
|
|
|
|
|
startingAt?: InputMaybe<Scalars["Float"]["input"]>;
|
|
|
|
|
@@ -2394,6 +2405,7 @@ export type Mutation = {
|
|
|
|
|
editUploadStream: Scalars["Boolean"]["output"];
|
|
|
|
|
editUser: UserGql;
|
|
|
|
|
ensureStripeCustomerExists: UserGql;
|
|
|
|
|
finalizePlayerAssignments: Array<PlayerClusterGql>;
|
|
|
|
|
findPrerecordTableLayout?: Maybe<HomographyInfoGql>;
|
|
|
|
|
followUser: UserGql;
|
|
|
|
|
getHlsInitUploadLink: GetUploadLinkReturn;
|
|
|
|
|
@@ -2517,6 +2529,10 @@ export type MutationEditUserArgs = {
|
|
|
|
|
input: EditUserInputGql;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type MutationFinalizePlayerAssignmentsArgs = {
|
|
|
|
|
input: FinalizePlayerAssignmentsInput;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type MutationFindPrerecordTableLayoutArgs = {
|
|
|
|
|
b64Image: Scalars["String"]["input"];
|
|
|
|
|
videoId: Scalars["Int"]["input"];
|
|
|
|
|
@@ -2679,6 +2695,29 @@ export type PageInfoGql = {
|
|
|
|
|
hasNextPage: Scalars["Boolean"]["output"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type PlayerClusterGql = {
|
|
|
|
|
__typename?: "PlayerClusterGQL";
|
|
|
|
|
clusterId: Scalars["Int"]["output"];
|
|
|
|
|
confirmed: Scalars["Boolean"]["output"];
|
|
|
|
|
nShots: Scalars["Int"]["output"];
|
|
|
|
|
shots: Array<PlayerClusterShotGql>;
|
|
|
|
|
userId?: Maybe<Scalars["Int"]["output"]>;
|
|
|
|
|
videoId: Scalars["Int"]["output"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type PlayerClusterShotGql = {
|
|
|
|
|
__typename?: "PlayerClusterShotGQL";
|
|
|
|
|
bboxX1: Scalars["Int"]["output"];
|
|
|
|
|
bboxX2: Scalars["Int"]["output"];
|
|
|
|
|
bboxY1: Scalars["Int"]["output"];
|
|
|
|
|
bboxY2: Scalars["Int"]["output"];
|
|
|
|
|
confidence: Scalars["Float"]["output"];
|
|
|
|
|
cropUrl?: Maybe<Scalars["String"]["output"]>;
|
|
|
|
|
fullFrameUrl?: Maybe<Scalars["String"]["output"]>;
|
|
|
|
|
isConfirmed: Scalars["Boolean"]["output"];
|
|
|
|
|
shotId: Scalars["Int"]["output"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export enum PocketEnum {
|
|
|
|
|
Corner = "CORNER",
|
|
|
|
|
Side = "SIDE",
|
|
|
|
|
@@ -2789,6 +2828,7 @@ export type Query = {
|
|
|
|
|
notifications: NotificationConnection;
|
|
|
|
|
ruleSets: Array<RuleSet>;
|
|
|
|
|
unreadNotificationCount: Scalars["Int"]["output"];
|
|
|
|
|
videoPlayerClusters: Array<PlayerClusterGql>;
|
|
|
|
|
waitFor: Scalars["Float"]["output"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
@@ -2955,6 +2995,10 @@ export type QueryNotificationsArgs = {
|
|
|
|
|
offset?: Scalars["Int"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type QueryVideoPlayerClustersArgs = {
|
|
|
|
|
videoId: Scalars["Int"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type QueryWaitForArgs = {
|
|
|
|
|
duration: Scalars["Float"]["input"];
|
|
|
|
|
};
|
|
|
|
|
@@ -3172,6 +3216,11 @@ export type ShotGql = {
|
|
|
|
|
videoId: Scalars["Int"]["output"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type ShotMoveInput = {
|
|
|
|
|
newClusterId: Scalars["Int"]["input"];
|
|
|
|
|
shotId: Scalars["Int"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type ShotsOrderingComponent =
|
|
|
|
|
| {
|
|
|
|
|
difficulty: FloatOrdering;
|
|
|
|
|
@@ -3270,6 +3319,7 @@ export type StripeProductGql = {
|
|
|
|
|
export type StripeSubscriptionOptionsGql = {
|
|
|
|
|
__typename?: "StripeSubscriptionOptionsGQL";
|
|
|
|
|
products: Array<StripeProductGql>;
|
|
|
|
|
trialPeriodDays?: Maybe<Scalars["Int"]["output"]>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export enum StripeSubscriptionStatusEnum {
|
|
|
|
|
@@ -4103,11 +4153,15 @@ export type GetFeedQuery = {
|
|
|
|
|
id: number;
|
|
|
|
|
name?: string | null;
|
|
|
|
|
screenshotUri?: string | null;
|
|
|
|
|
totalShotsMade: number;
|
|
|
|
|
totalShots: number;
|
|
|
|
|
makePercentage: number;
|
|
|
|
|
averageTimeBetweenShots?: number | null;
|
|
|
|
|
averageDifficulty?: number | null;
|
|
|
|
|
createdAt?: any | null;
|
|
|
|
|
updatedAt?: any | null;
|
|
|
|
|
startTime?: any | null;
|
|
|
|
|
endTime?: any | null;
|
|
|
|
|
private: boolean;
|
|
|
|
|
elapsedTime?: number | null;
|
|
|
|
|
tableSize: number;
|
|
|
|
|
@@ -4122,13 +4176,26 @@ export type GetFeedQuery = {
|
|
|
|
|
__typename?: "UploadStreamGQL";
|
|
|
|
|
id: string;
|
|
|
|
|
lastIntendedSegmentBound?: number | null;
|
|
|
|
|
isCompleted: boolean;
|
|
|
|
|
streamSegmentType: StreamSegmentTypeEnum;
|
|
|
|
|
} | null;
|
|
|
|
|
tags: Array<{ __typename?: "VideoTag"; name: string }>;
|
|
|
|
|
tags: Array<{
|
|
|
|
|
__typename?: "VideoTag";
|
|
|
|
|
name: string;
|
|
|
|
|
tagClasses: Array<{ __typename?: "VideoTagClass"; name: string }>;
|
|
|
|
|
}>;
|
|
|
|
|
currentProcessing?: {
|
|
|
|
|
__typename?: "VideoProcessingGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
status: ProcessingStatusEnum;
|
|
|
|
|
errors: Array<{
|
|
|
|
|
__typename?: "VideoProcessingErrorGQL";
|
|
|
|
|
message: string;
|
|
|
|
|
}>;
|
|
|
|
|
statuses: Array<{
|
|
|
|
|
__typename?: "VideoProcessingStatusGQL";
|
|
|
|
|
status: ProcessingStatusEnum;
|
|
|
|
|
}>;
|
|
|
|
|
} | null;
|
|
|
|
|
reactions: Array<{
|
|
|
|
|
__typename?: "ReactionGQL";
|
|
|
|
|
@@ -4188,11 +4255,15 @@ export type VideoCardFieldsFragment = {
|
|
|
|
|
id: number;
|
|
|
|
|
name?: string | null;
|
|
|
|
|
screenshotUri?: string | null;
|
|
|
|
|
totalShotsMade: number;
|
|
|
|
|
totalShots: number;
|
|
|
|
|
makePercentage: number;
|
|
|
|
|
averageTimeBetweenShots?: number | null;
|
|
|
|
|
averageDifficulty?: number | null;
|
|
|
|
|
createdAt?: any | null;
|
|
|
|
|
updatedAt?: any | null;
|
|
|
|
|
startTime?: any | null;
|
|
|
|
|
endTime?: any | null;
|
|
|
|
|
private: boolean;
|
|
|
|
|
elapsedTime?: number | null;
|
|
|
|
|
tableSize: number;
|
|
|
|
|
@@ -4207,13 +4278,23 @@ export type VideoCardFieldsFragment = {
|
|
|
|
|
__typename?: "UploadStreamGQL";
|
|
|
|
|
id: string;
|
|
|
|
|
lastIntendedSegmentBound?: number | null;
|
|
|
|
|
isCompleted: boolean;
|
|
|
|
|
streamSegmentType: StreamSegmentTypeEnum;
|
|
|
|
|
} | null;
|
|
|
|
|
tags: Array<{ __typename?: "VideoTag"; name: string }>;
|
|
|
|
|
tags: Array<{
|
|
|
|
|
__typename?: "VideoTag";
|
|
|
|
|
name: string;
|
|
|
|
|
tagClasses: Array<{ __typename?: "VideoTagClass"; name: string }>;
|
|
|
|
|
}>;
|
|
|
|
|
currentProcessing?: {
|
|
|
|
|
__typename?: "VideoProcessingGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
status: ProcessingStatusEnum;
|
|
|
|
|
errors: Array<{ __typename?: "VideoProcessingErrorGQL"; message: string }>;
|
|
|
|
|
statuses: Array<{
|
|
|
|
|
__typename?: "VideoProcessingStatusGQL";
|
|
|
|
|
status: ProcessingStatusEnum;
|
|
|
|
|
}>;
|
|
|
|
|
} | null;
|
|
|
|
|
reactions: Array<{
|
|
|
|
|
__typename?: "ReactionGQL";
|
|
|
|
|
@@ -4287,11 +4368,15 @@ export type GetVideoFeedQuery = {
|
|
|
|
|
id: number;
|
|
|
|
|
name?: string | null;
|
|
|
|
|
screenshotUri?: string | null;
|
|
|
|
|
totalShotsMade: number;
|
|
|
|
|
totalShots: number;
|
|
|
|
|
makePercentage: number;
|
|
|
|
|
averageTimeBetweenShots?: number | null;
|
|
|
|
|
averageDifficulty?: number | null;
|
|
|
|
|
createdAt?: any | null;
|
|
|
|
|
updatedAt?: any | null;
|
|
|
|
|
startTime?: any | null;
|
|
|
|
|
endTime?: any | null;
|
|
|
|
|
private: boolean;
|
|
|
|
|
elapsedTime?: number | null;
|
|
|
|
|
tableSize: number;
|
|
|
|
|
@@ -4306,13 +4391,26 @@ export type GetVideoFeedQuery = {
|
|
|
|
|
__typename?: "UploadStreamGQL";
|
|
|
|
|
id: string;
|
|
|
|
|
lastIntendedSegmentBound?: number | null;
|
|
|
|
|
isCompleted: boolean;
|
|
|
|
|
streamSegmentType: StreamSegmentTypeEnum;
|
|
|
|
|
} | null;
|
|
|
|
|
tags: Array<{ __typename?: "VideoTag"; name: string }>;
|
|
|
|
|
tags: Array<{
|
|
|
|
|
__typename?: "VideoTag";
|
|
|
|
|
name: string;
|
|
|
|
|
tagClasses: Array<{ __typename?: "VideoTagClass"; name: string }>;
|
|
|
|
|
}>;
|
|
|
|
|
currentProcessing?: {
|
|
|
|
|
__typename?: "VideoProcessingGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
status: ProcessingStatusEnum;
|
|
|
|
|
errors: Array<{
|
|
|
|
|
__typename?: "VideoProcessingErrorGQL";
|
|
|
|
|
message: string;
|
|
|
|
|
}>;
|
|
|
|
|
statuses: Array<{
|
|
|
|
|
__typename?: "VideoProcessingStatusGQL";
|
|
|
|
|
status: ProcessingStatusEnum;
|
|
|
|
|
}>;
|
|
|
|
|
} | null;
|
|
|
|
|
reactions: Array<{
|
|
|
|
|
__typename?: "ReactionGQL";
|
|
|
|
|
@@ -4707,18 +4805,6 @@ export type CreateSubscriptionMutation = {
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type CreateCustomerPortalSessionMutationVariables = Exact<{
|
|
|
|
|
[key: string]: never;
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
export type CreateCustomerPortalSessionMutation = {
|
|
|
|
|
__typename?: "Mutation";
|
|
|
|
|
createCustomerPortalSession: {
|
|
|
|
|
__typename?: "CreateCustomerPortalSessionResultGQL";
|
|
|
|
|
portalUrl: string;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GetAvailableSubscriptionOptionsQueryVariables = Exact<{
|
|
|
|
|
[key: string]: never;
|
|
|
|
|
}>;
|
|
|
|
|
@@ -6489,26 +6575,41 @@ export const VideoCardFieldsFragmentDoc = gql`
|
|
|
|
|
}
|
|
|
|
|
name
|
|
|
|
|
screenshotUri
|
|
|
|
|
totalShotsMade
|
|
|
|
|
totalShots
|
|
|
|
|
makePercentage
|
|
|
|
|
averageTimeBetweenShots
|
|
|
|
|
averageDifficulty
|
|
|
|
|
createdAt
|
|
|
|
|
updatedAt
|
|
|
|
|
startTime
|
|
|
|
|
endTime
|
|
|
|
|
private
|
|
|
|
|
elapsedTime
|
|
|
|
|
screenshotUri
|
|
|
|
|
stream {
|
|
|
|
|
id
|
|
|
|
|
lastIntendedSegmentBound
|
|
|
|
|
isCompleted
|
|
|
|
|
streamSegmentType
|
|
|
|
|
}
|
|
|
|
|
tableSize
|
|
|
|
|
pocketSize
|
|
|
|
|
tags {
|
|
|
|
|
tagClasses {
|
|
|
|
|
name
|
|
|
|
|
}
|
|
|
|
|
name
|
|
|
|
|
}
|
|
|
|
|
currentProcessing {
|
|
|
|
|
id
|
|
|
|
|
errors {
|
|
|
|
|
message
|
|
|
|
|
}
|
|
|
|
|
status
|
|
|
|
|
statuses {
|
|
|
|
|
status
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
reactions {
|
|
|
|
|
videoId
|
|
|
|
|
@@ -9607,56 +9708,6 @@ export type CreateSubscriptionMutationOptions = Apollo.BaseMutationOptions<
|
|
|
|
|
CreateSubscriptionMutation,
|
|
|
|
|
CreateSubscriptionMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
export const CreateCustomerPortalSessionDocument = gql`
|
|
|
|
|
mutation CreateCustomerPortalSession {
|
|
|
|
|
createCustomerPortalSession {
|
|
|
|
|
portalUrl
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
export type CreateCustomerPortalSessionMutationFn = Apollo.MutationFunction<
|
|
|
|
|
CreateCustomerPortalSessionMutation,
|
|
|
|
|
CreateCustomerPortalSessionMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* __useCreateCustomerPortalSessionMutation__
|
|
|
|
|
*
|
|
|
|
|
* To run a mutation, you first call `useCreateCustomerPortalSessionMutation` within a React component and pass it any options that fit your needs.
|
|
|
|
|
* When your component renders, `useCreateCustomerPortalSessionMutation` 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 [createCustomerPortalSessionMutation, { data, loading, error }] = useCreateCustomerPortalSessionMutation({
|
|
|
|
|
* variables: {
|
|
|
|
|
* },
|
|
|
|
|
* });
|
|
|
|
|
*/
|
|
|
|
|
export function useCreateCustomerPortalSessionMutation(
|
|
|
|
|
baseOptions?: Apollo.MutationHookOptions<
|
|
|
|
|
CreateCustomerPortalSessionMutation,
|
|
|
|
|
CreateCustomerPortalSessionMutationVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useMutation<
|
|
|
|
|
CreateCustomerPortalSessionMutation,
|
|
|
|
|
CreateCustomerPortalSessionMutationVariables
|
|
|
|
|
>(CreateCustomerPortalSessionDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export type CreateCustomerPortalSessionMutationHookResult = ReturnType<
|
|
|
|
|
typeof useCreateCustomerPortalSessionMutation
|
|
|
|
|
>;
|
|
|
|
|
export type CreateCustomerPortalSessionMutationResult =
|
|
|
|
|
Apollo.MutationResult<CreateCustomerPortalSessionMutation>;
|
|
|
|
|
export type CreateCustomerPortalSessionMutationOptions =
|
|
|
|
|
Apollo.BaseMutationOptions<
|
|
|
|
|
CreateCustomerPortalSessionMutation,
|
|
|
|
|
CreateCustomerPortalSessionMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
export const GetAvailableSubscriptionOptionsDocument = gql`
|
|
|
|
|
query GetAvailableSubscriptionOptions {
|
|
|
|
|
getAvailableSubscriptionOptions {
|
|
|
|
|
|