|
|
|
|
@@ -3391,16 +3391,12 @@ export type StorageStatusGql = {
|
|
|
|
|
isNearLimit: Scalars["Boolean"]["output"];
|
|
|
|
|
isOverLimit: Scalars["Boolean"]["output"];
|
|
|
|
|
isUnlimited: Scalars["Boolean"]["output"];
|
|
|
|
|
lastCalculatedAt?: Maybe<Scalars["DateTime"]["output"]>;
|
|
|
|
|
policyConfigured: Scalars["Boolean"]["output"];
|
|
|
|
|
remainingStorageBytes?: Maybe<Scalars["BigInt"]["output"]>;
|
|
|
|
|
retainedStorageLimitBytes?: Maybe<Scalars["BigInt"]["output"]>;
|
|
|
|
|
retainedStorageUsedBytes: Scalars["BigInt"]["output"];
|
|
|
|
|
storageUsageRatio?: Maybe<Scalars["Float"]["output"]>;
|
|
|
|
|
tierName: Scalars["String"]["output"];
|
|
|
|
|
usageCalculated: Scalars["Boolean"]["output"];
|
|
|
|
|
usageEstimated: Scalars["Boolean"]["output"];
|
|
|
|
|
usageSource?: Maybe<Scalars["String"]["output"]>;
|
|
|
|
|
userId: Scalars["Int"]["output"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
@@ -5132,23 +5128,6 @@ export type GetSubscriptionStatusQuery = {
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GetResolvedTierQueryVariables = Exact<{ [key: string]: never }>;
|
|
|
|
|
|
|
|
|
|
export type GetResolvedTierQuery = {
|
|
|
|
|
__typename?: "Query";
|
|
|
|
|
getResolvedTier: {
|
|
|
|
|
__typename?: "ResolvedTierGQL";
|
|
|
|
|
tierName: string;
|
|
|
|
|
tierDisplayName: string;
|
|
|
|
|
hasActiveSubscription: boolean;
|
|
|
|
|
entitlementSource?: EntitlementSourceTypeEnum | null;
|
|
|
|
|
entitlementStatus?: string | null;
|
|
|
|
|
entitlementStartsAt?: any | null;
|
|
|
|
|
entitlementEndsAt?: any | null;
|
|
|
|
|
capabilities: Array<string>;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GetStorageStatusQueryVariables = Exact<{ [key: string]: never }>;
|
|
|
|
|
|
|
|
|
|
export type GetStorageStatusQuery = {
|
|
|
|
|
@@ -5165,9 +5144,6 @@ export type GetStorageStatusQuery = {
|
|
|
|
|
storageUsageRatio?: number | null;
|
|
|
|
|
isNearLimit: boolean;
|
|
|
|
|
isOverLimit: boolean;
|
|
|
|
|
usageCalculated: boolean;
|
|
|
|
|
usageSource?: string | null;
|
|
|
|
|
lastCalculatedAt?: any | null;
|
|
|
|
|
} | null;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
@@ -10956,85 +10932,6 @@ export type GetSubscriptionStatusQueryResult = Apollo.QueryResult<
|
|
|
|
|
GetSubscriptionStatusQuery,
|
|
|
|
|
GetSubscriptionStatusQueryVariables
|
|
|
|
|
>;
|
|
|
|
|
export const GetResolvedTierDocument = gql`
|
|
|
|
|
query GetResolvedTier {
|
|
|
|
|
getResolvedTier {
|
|
|
|
|
tierName
|
|
|
|
|
tierDisplayName
|
|
|
|
|
hasActiveSubscription
|
|
|
|
|
entitlementSource
|
|
|
|
|
entitlementStatus
|
|
|
|
|
entitlementStartsAt
|
|
|
|
|
entitlementEndsAt
|
|
|
|
|
capabilities
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* __useGetResolvedTierQuery__
|
|
|
|
|
*
|
|
|
|
|
* To run a query within a React component, call `useGetResolvedTierQuery` and pass it any options that fit your needs.
|
|
|
|
|
* When your component renders, `useGetResolvedTierQuery` 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 } = useGetResolvedTierQuery({
|
|
|
|
|
* variables: {
|
|
|
|
|
* },
|
|
|
|
|
* });
|
|
|
|
|
*/
|
|
|
|
|
export function useGetResolvedTierQuery(
|
|
|
|
|
baseOptions?: Apollo.QueryHookOptions<
|
|
|
|
|
GetResolvedTierQuery,
|
|
|
|
|
GetResolvedTierQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useQuery<GetResolvedTierQuery, GetResolvedTierQueryVariables>(
|
|
|
|
|
GetResolvedTierDocument,
|
|
|
|
|
options,
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
export function useGetResolvedTierLazyQuery(
|
|
|
|
|
baseOptions?: Apollo.LazyQueryHookOptions<
|
|
|
|
|
GetResolvedTierQuery,
|
|
|
|
|
GetResolvedTierQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useLazyQuery<
|
|
|
|
|
GetResolvedTierQuery,
|
|
|
|
|
GetResolvedTierQueryVariables
|
|
|
|
|
>(GetResolvedTierDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export function useGetResolvedTierSuspenseQuery(
|
|
|
|
|
baseOptions?: Apollo.SuspenseQueryHookOptions<
|
|
|
|
|
GetResolvedTierQuery,
|
|
|
|
|
GetResolvedTierQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useSuspenseQuery<
|
|
|
|
|
GetResolvedTierQuery,
|
|
|
|
|
GetResolvedTierQueryVariables
|
|
|
|
|
>(GetResolvedTierDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export type GetResolvedTierQueryHookResult = ReturnType<
|
|
|
|
|
typeof useGetResolvedTierQuery
|
|
|
|
|
>;
|
|
|
|
|
export type GetResolvedTierLazyQueryHookResult = ReturnType<
|
|
|
|
|
typeof useGetResolvedTierLazyQuery
|
|
|
|
|
>;
|
|
|
|
|
export type GetResolvedTierSuspenseQueryHookResult = ReturnType<
|
|
|
|
|
typeof useGetResolvedTierSuspenseQuery
|
|
|
|
|
>;
|
|
|
|
|
export type GetResolvedTierQueryResult = Apollo.QueryResult<
|
|
|
|
|
GetResolvedTierQuery,
|
|
|
|
|
GetResolvedTierQueryVariables
|
|
|
|
|
>;
|
|
|
|
|
export const GetStorageStatusDocument = gql`
|
|
|
|
|
query GetStorageStatus {
|
|
|
|
|
getStorageStatus {
|
|
|
|
|
@@ -11048,9 +10945,6 @@ export const GetStorageStatusDocument = gql`
|
|
|
|
|
storageUsageRatio
|
|
|
|
|
isNearLimit
|
|
|
|
|
isOverLimit
|
|
|
|
|
usageCalculated
|
|
|
|
|
usageSource
|
|
|
|
|
lastCalculatedAt
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
|