|
|
|
|
@@ -224,6 +224,11 @@ export type CreateBucketSetInput = {
|
|
|
|
|
keyName: Scalars["String"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type CreateCustomerPortalSessionResultGql = {
|
|
|
|
|
__typename?: "CreateCustomerPortalSessionResultGQL";
|
|
|
|
|
portalUrl: Scalars["String"]["output"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type CreateSubscriptionResultGql = {
|
|
|
|
|
__typename?: "CreateSubscriptionResultGQL";
|
|
|
|
|
checkoutUrl: Scalars["String"]["output"];
|
|
|
|
|
@@ -2373,6 +2378,7 @@ export type Mutation = {
|
|
|
|
|
commentOnVideo: Scalars["Boolean"]["output"];
|
|
|
|
|
createBucketSet: BucketSetGql;
|
|
|
|
|
createChallenge: Challenge;
|
|
|
|
|
createCustomerPortalSession: CreateCustomerPortalSessionResultGql;
|
|
|
|
|
createRuleSet: RuleSet;
|
|
|
|
|
createSubscription: CreateSubscriptionResultGql;
|
|
|
|
|
createUploadStream: CreateUploadStreamReturn;
|
|
|
|
|
@@ -2451,6 +2457,10 @@ export type MutationCreateChallengeArgs = {
|
|
|
|
|
startDate: Scalars["DateTime"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type MutationCreateCustomerPortalSessionArgs = {
|
|
|
|
|
returnUrl?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type MutationCreateRuleSetArgs = {
|
|
|
|
|
description?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
name: Scalars["String"]["input"];
|
|
|
|
|
@@ -2462,7 +2472,6 @@ export type MutationCreateSubscriptionArgs = {
|
|
|
|
|
|
|
|
|
|
export type MutationCreateUploadStreamArgs = {
|
|
|
|
|
expectedDurationSeconds?: InputMaybe<Scalars["Float"]["input"]>;
|
|
|
|
|
uploadKind?: InputMaybe<UploadKindEnum>;
|
|
|
|
|
videoMetadata: VideoMetadataInput;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
@@ -2960,11 +2969,9 @@ export type QuotaStatusGql = {
|
|
|
|
|
durationLimitSeconds?: Maybe<Scalars["Int"]["output"]>;
|
|
|
|
|
durationRemainingSeconds?: Maybe<Scalars["Float"]["output"]>;
|
|
|
|
|
durationUsedSeconds: Scalars["Float"]["output"];
|
|
|
|
|
importUploadPermission: UploadPermissionGql;
|
|
|
|
|
maxVideoDurationSeconds?: Maybe<Scalars["Int"]["output"]>;
|
|
|
|
|
periodEnd: Scalars["DateTime"]["output"];
|
|
|
|
|
periodStart: Scalars["DateTime"]["output"];
|
|
|
|
|
recordingPermission: UploadPermissionGql;
|
|
|
|
|
tierName: Scalars["String"]["output"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
@@ -3350,11 +3357,6 @@ export type UpdateShotAnnotationReturn = {
|
|
|
|
|
shot?: Maybe<ShotGql>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export enum UploadKindEnum {
|
|
|
|
|
Import = "IMPORT",
|
|
|
|
|
Recording = "RECORDING",
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type UploadLink = {
|
|
|
|
|
__typename?: "UploadLink";
|
|
|
|
|
headers: Array<Maybe<Header>>;
|
|
|
|
|
@@ -3367,12 +3369,6 @@ export type UploadLinkGetProfileUploadLinkErrors =
|
|
|
|
|
|
|
|
|
|
export type UploadLinkGetUploadLinkErrors = GetUploadLinkErrors | UploadLink;
|
|
|
|
|
|
|
|
|
|
export type UploadPermissionGql = {
|
|
|
|
|
__typename?: "UploadPermissionGQL";
|
|
|
|
|
allowed: Scalars["Boolean"]["output"];
|
|
|
|
|
reason?: Maybe<Scalars["String"]["output"]>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type UploadSegmentGql = {
|
|
|
|
|
__typename?: "UploadSegmentGQL";
|
|
|
|
|
durationInSeconds?: Maybe<Scalars["Float"]["output"]>;
|
|
|
|
|
@@ -4111,15 +4107,11 @@ 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;
|
|
|
|
|
@@ -4134,26 +4126,13 @@ export type GetFeedQuery = {
|
|
|
|
|
__typename?: "UploadStreamGQL";
|
|
|
|
|
id: string;
|
|
|
|
|
lastIntendedSegmentBound?: number | null;
|
|
|
|
|
isCompleted: boolean;
|
|
|
|
|
streamSegmentType: StreamSegmentTypeEnum;
|
|
|
|
|
} | null;
|
|
|
|
|
tags: Array<{
|
|
|
|
|
__typename?: "VideoTag";
|
|
|
|
|
name: string;
|
|
|
|
|
tagClasses: Array<{ __typename?: "VideoTagClass"; name: string }>;
|
|
|
|
|
}>;
|
|
|
|
|
tags: Array<{ __typename?: "VideoTag"; 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";
|
|
|
|
|
@@ -4213,15 +4192,11 @@ 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;
|
|
|
|
|
@@ -4236,23 +4211,13 @@ export type VideoCardFieldsFragment = {
|
|
|
|
|
__typename?: "UploadStreamGQL";
|
|
|
|
|
id: string;
|
|
|
|
|
lastIntendedSegmentBound?: number | null;
|
|
|
|
|
isCompleted: boolean;
|
|
|
|
|
streamSegmentType: StreamSegmentTypeEnum;
|
|
|
|
|
} | null;
|
|
|
|
|
tags: Array<{
|
|
|
|
|
__typename?: "VideoTag";
|
|
|
|
|
name: string;
|
|
|
|
|
tagClasses: Array<{ __typename?: "VideoTagClass"; name: string }>;
|
|
|
|
|
}>;
|
|
|
|
|
tags: Array<{ __typename?: "VideoTag"; 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";
|
|
|
|
|
@@ -4326,15 +4291,11 @@ 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;
|
|
|
|
|
@@ -4349,26 +4310,13 @@ export type GetVideoFeedQuery = {
|
|
|
|
|
__typename?: "UploadStreamGQL";
|
|
|
|
|
id: string;
|
|
|
|
|
lastIntendedSegmentBound?: number | null;
|
|
|
|
|
isCompleted: boolean;
|
|
|
|
|
streamSegmentType: StreamSegmentTypeEnum;
|
|
|
|
|
} | null;
|
|
|
|
|
tags: Array<{
|
|
|
|
|
__typename?: "VideoTag";
|
|
|
|
|
name: string;
|
|
|
|
|
tagClasses: Array<{ __typename?: "VideoTagClass"; name: string }>;
|
|
|
|
|
}>;
|
|
|
|
|
tags: Array<{ __typename?: "VideoTag"; 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";
|
|
|
|
|
@@ -4763,6 +4711,18 @@ export type CreateSubscriptionMutation = {
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type CreateCustomerPortalSessionMutationVariables = Exact<{
|
|
|
|
|
returnUrl?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
export type CreateCustomerPortalSessionMutation = {
|
|
|
|
|
__typename?: "Mutation";
|
|
|
|
|
createCustomerPortalSession: {
|
|
|
|
|
__typename?: "CreateCustomerPortalSessionResultGQL";
|
|
|
|
|
portalUrl: string;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GetAvailableSubscriptionOptionsQueryVariables = Exact<{
|
|
|
|
|
[key: string]: never;
|
|
|
|
|
}>;
|
|
|
|
|
@@ -6533,41 +6493,26 @@ 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
|
|
|
|
|
@@ -9666,6 +9611,57 @@ export type CreateSubscriptionMutationOptions = Apollo.BaseMutationOptions<
|
|
|
|
|
CreateSubscriptionMutation,
|
|
|
|
|
CreateSubscriptionMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
export const CreateCustomerPortalSessionDocument = gql`
|
|
|
|
|
mutation CreateCustomerPortalSession($returnUrl: String) {
|
|
|
|
|
createCustomerPortalSession(returnUrl: $returnUrl) {
|
|
|
|
|
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: {
|
|
|
|
|
* returnUrl: // value for 'returnUrl'
|
|
|
|
|
* },
|
|
|
|
|
* });
|
|
|
|
|
*/
|
|
|
|
|
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 {
|
|
|
|
|
|