|
|
|
|
@@ -409,10 +409,10 @@ export type DeployedConfigGql = {
|
|
|
|
|
defaultAndroidRecordingFormat: StreamSegmentTypeEnum;
|
|
|
|
|
devMode: Scalars["Boolean"]["output"];
|
|
|
|
|
environment: Scalars["String"]["output"];
|
|
|
|
|
externalSignInProviderAvailability: Array<ExternalSignInProviderAvailability>;
|
|
|
|
|
firebase: Scalars["Boolean"]["output"];
|
|
|
|
|
minimumAllowedAppVersion: Scalars["String"]["output"];
|
|
|
|
|
quotaEnforcementEnabled: Scalars["Boolean"]["output"];
|
|
|
|
|
socialAuthProviderAvailability: Array<SocialAuthProviderAvailabilityGql>;
|
|
|
|
|
storageLimitEnforcementEnabled: Scalars["Boolean"]["output"];
|
|
|
|
|
subscriptionGatingEnabled: Scalars["Boolean"]["output"];
|
|
|
|
|
};
|
|
|
|
|
@@ -472,6 +472,25 @@ export type EnumAggregation = {
|
|
|
|
|
feature: Scalars["String"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export enum ExternalSignInPlatform {
|
|
|
|
|
Android = "ANDROID",
|
|
|
|
|
Ios = "IOS",
|
|
|
|
|
Web = "WEB",
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export enum ExternalSignInProvider {
|
|
|
|
|
Apple = "APPLE",
|
|
|
|
|
Facebook = "FACEBOOK",
|
|
|
|
|
Google = "GOOGLE",
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ExternalSignInProviderAvailability = {
|
|
|
|
|
__typename?: "ExternalSignInProviderAvailability";
|
|
|
|
|
enabled: Scalars["Boolean"]["output"];
|
|
|
|
|
platform: ExternalSignInPlatform;
|
|
|
|
|
provider: ExternalSignInProvider;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type FilterInput =
|
|
|
|
|
| {
|
|
|
|
|
andFilters: Array<FilterInput>;
|
|
|
|
|
@@ -4096,25 +4115,6 @@ export enum SimulationEventType {
|
|
|
|
|
StickBall = "STICK_BALL",
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export enum SocialAuthPlatformEnum {
|
|
|
|
|
Android = "ANDROID",
|
|
|
|
|
Ios = "IOS",
|
|
|
|
|
Web = "WEB",
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type SocialAuthProviderAvailabilityGql = {
|
|
|
|
|
__typename?: "SocialAuthProviderAvailabilityGQL";
|
|
|
|
|
enabled: Scalars["Boolean"]["output"];
|
|
|
|
|
platform: SocialAuthPlatformEnum;
|
|
|
|
|
provider: SocialAuthProviderEnum;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export enum SocialAuthProviderEnum {
|
|
|
|
|
Apple = "APPLE",
|
|
|
|
|
Facebook = "FACEBOOK",
|
|
|
|
|
Google = "GOOGLE",
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type SpinTypeBreakdownGql = {
|
|
|
|
|
__typename?: "SpinTypeBreakdownGQL";
|
|
|
|
|
center: Scalars["Int"]["output"];
|
|
|
|
|
@@ -4709,31 +4709,6 @@ export type GetAggregatedShotMetricsQuery = {
|
|
|
|
|
}>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GetAuthBootstrapQueryVariables = Exact<{ [key: string]: never }>;
|
|
|
|
|
|
|
|
|
|
export type GetAuthBootstrapQuery = {
|
|
|
|
|
__typename?: "Query";
|
|
|
|
|
getAuthBootstrap: {
|
|
|
|
|
__typename?: "AuthBootstrapGQL";
|
|
|
|
|
status: AuthBootstrapStatusEnum;
|
|
|
|
|
user?: { __typename?: "UserGQL"; id: number; username: string } | null;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type CompleteAuthRegistrationMutationVariables = Exact<{
|
|
|
|
|
username: Scalars["String"]["input"];
|
|
|
|
|
agreesToMarketing: Scalars["Boolean"]["input"];
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
export type CompleteAuthRegistrationMutation = {
|
|
|
|
|
__typename?: "Mutation";
|
|
|
|
|
completeAuthRegistration: {
|
|
|
|
|
__typename?: "CompleteAuthRegistrationGQL";
|
|
|
|
|
errorCode?: AuthRegistrationErrorEnum | null;
|
|
|
|
|
user?: { __typename?: "UserGQL"; id: number; username: string } | null;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GetChallengesQueryVariables = Exact<{ [key: string]: never }>;
|
|
|
|
|
|
|
|
|
|
export type GetChallengesQuery = {
|
|
|
|
|
@@ -5161,12 +5136,6 @@ export type GetDeployedConfigQuery = {
|
|
|
|
|
message: string;
|
|
|
|
|
priority: number;
|
|
|
|
|
}>;
|
|
|
|
|
socialAuthProviderAvailability: Array<{
|
|
|
|
|
__typename?: "SocialAuthProviderAvailabilityGQL";
|
|
|
|
|
provider: SocialAuthProviderEnum;
|
|
|
|
|
platform: SocialAuthPlatformEnum;
|
|
|
|
|
enabled: boolean;
|
|
|
|
|
}>;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
@@ -10751,144 +10720,6 @@ export type GetAggregatedShotMetricsQueryResult = Apollo.QueryResult<
|
|
|
|
|
GetAggregatedShotMetricsQuery,
|
|
|
|
|
GetAggregatedShotMetricsQueryVariables
|
|
|
|
|
>;
|
|
|
|
|
export const GetAuthBootstrapDocument = gql`
|
|
|
|
|
query getAuthBootstrap {
|
|
|
|
|
getAuthBootstrap {
|
|
|
|
|
status
|
|
|
|
|
user {
|
|
|
|
|
id
|
|
|
|
|
username
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* __useGetAuthBootstrapQuery__
|
|
|
|
|
*
|
|
|
|
|
* To run a query within a React component, call `useGetAuthBootstrapQuery` and pass it any options that fit your needs.
|
|
|
|
|
* When your component renders, `useGetAuthBootstrapQuery` 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 } = useGetAuthBootstrapQuery({
|
|
|
|
|
* variables: {
|
|
|
|
|
* },
|
|
|
|
|
* });
|
|
|
|
|
*/
|
|
|
|
|
export function useGetAuthBootstrapQuery(
|
|
|
|
|
baseOptions?: Apollo.QueryHookOptions<
|
|
|
|
|
GetAuthBootstrapQuery,
|
|
|
|
|
GetAuthBootstrapQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useQuery<GetAuthBootstrapQuery, GetAuthBootstrapQueryVariables>(
|
|
|
|
|
GetAuthBootstrapDocument,
|
|
|
|
|
options,
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
export function useGetAuthBootstrapLazyQuery(
|
|
|
|
|
baseOptions?: Apollo.LazyQueryHookOptions<
|
|
|
|
|
GetAuthBootstrapQuery,
|
|
|
|
|
GetAuthBootstrapQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useLazyQuery<
|
|
|
|
|
GetAuthBootstrapQuery,
|
|
|
|
|
GetAuthBootstrapQueryVariables
|
|
|
|
|
>(GetAuthBootstrapDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export function useGetAuthBootstrapSuspenseQuery(
|
|
|
|
|
baseOptions?: Apollo.SuspenseQueryHookOptions<
|
|
|
|
|
GetAuthBootstrapQuery,
|
|
|
|
|
GetAuthBootstrapQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useSuspenseQuery<
|
|
|
|
|
GetAuthBootstrapQuery,
|
|
|
|
|
GetAuthBootstrapQueryVariables
|
|
|
|
|
>(GetAuthBootstrapDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export type GetAuthBootstrapQueryHookResult = ReturnType<
|
|
|
|
|
typeof useGetAuthBootstrapQuery
|
|
|
|
|
>;
|
|
|
|
|
export type GetAuthBootstrapLazyQueryHookResult = ReturnType<
|
|
|
|
|
typeof useGetAuthBootstrapLazyQuery
|
|
|
|
|
>;
|
|
|
|
|
export type GetAuthBootstrapSuspenseQueryHookResult = ReturnType<
|
|
|
|
|
typeof useGetAuthBootstrapSuspenseQuery
|
|
|
|
|
>;
|
|
|
|
|
export type GetAuthBootstrapQueryResult = Apollo.QueryResult<
|
|
|
|
|
GetAuthBootstrapQuery,
|
|
|
|
|
GetAuthBootstrapQueryVariables
|
|
|
|
|
>;
|
|
|
|
|
export const CompleteAuthRegistrationDocument = gql`
|
|
|
|
|
mutation completeAuthRegistration(
|
|
|
|
|
$username: String!
|
|
|
|
|
$agreesToMarketing: Boolean!
|
|
|
|
|
) {
|
|
|
|
|
completeAuthRegistration(
|
|
|
|
|
username: $username
|
|
|
|
|
agreesToMarketing: $agreesToMarketing
|
|
|
|
|
) {
|
|
|
|
|
errorCode
|
|
|
|
|
user {
|
|
|
|
|
id
|
|
|
|
|
username
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
export type CompleteAuthRegistrationMutationFn = Apollo.MutationFunction<
|
|
|
|
|
CompleteAuthRegistrationMutation,
|
|
|
|
|
CompleteAuthRegistrationMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* __useCompleteAuthRegistrationMutation__
|
|
|
|
|
*
|
|
|
|
|
* To run a mutation, you first call `useCompleteAuthRegistrationMutation` within a React component and pass it any options that fit your needs.
|
|
|
|
|
* When your component renders, `useCompleteAuthRegistrationMutation` 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 [completeAuthRegistrationMutation, { data, loading, error }] = useCompleteAuthRegistrationMutation({
|
|
|
|
|
* variables: {
|
|
|
|
|
* username: // value for 'username'
|
|
|
|
|
* agreesToMarketing: // value for 'agreesToMarketing'
|
|
|
|
|
* },
|
|
|
|
|
* });
|
|
|
|
|
*/
|
|
|
|
|
export function useCompleteAuthRegistrationMutation(
|
|
|
|
|
baseOptions?: Apollo.MutationHookOptions<
|
|
|
|
|
CompleteAuthRegistrationMutation,
|
|
|
|
|
CompleteAuthRegistrationMutationVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useMutation<
|
|
|
|
|
CompleteAuthRegistrationMutation,
|
|
|
|
|
CompleteAuthRegistrationMutationVariables
|
|
|
|
|
>(CompleteAuthRegistrationDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export type CompleteAuthRegistrationMutationHookResult = ReturnType<
|
|
|
|
|
typeof useCompleteAuthRegistrationMutation
|
|
|
|
|
>;
|
|
|
|
|
export type CompleteAuthRegistrationMutationResult =
|
|
|
|
|
Apollo.MutationResult<CompleteAuthRegistrationMutation>;
|
|
|
|
|
export type CompleteAuthRegistrationMutationOptions =
|
|
|
|
|
Apollo.BaseMutationOptions<
|
|
|
|
|
CompleteAuthRegistrationMutation,
|
|
|
|
|
CompleteAuthRegistrationMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
export const GetChallengesDocument = gql`
|
|
|
|
|
query GetChallenges {
|
|
|
|
|
challenges {
|
|
|
|
|
@@ -12296,11 +12127,6 @@ export const GetDeployedConfigDocument = gql`
|
|
|
|
|
}
|
|
|
|
|
defaultAndroidRecordingFormat
|
|
|
|
|
bucketUrl
|
|
|
|
|
socialAuthProviderAvailability {
|
|
|
|
|
provider
|
|
|
|
|
platform
|
|
|
|
|
enabled
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
|