diff --git a/saleor/api.tsx b/saleor/api.tsx
index 8b0a6c137..4fd97147c 100644
--- a/saleor/api.tsx
+++ b/saleor/api.tsx
@@ -12808,6 +12808,11 @@ export type AddressSetDefaultMutationVariables = Exact<{
export type AddressSetDefaultMutation = { __typename?: 'Mutation', addressSetDefault?: Maybe<{ __typename?: 'AddressSetDefault', errors: Array<{ __typename?: 'AccountError', field?: Maybe
, message?: Maybe, code: AccountErrorCode }> }> };
+export type MeDetailsQueryVariables = Exact<{ [key: string]: never; }>;
+
+
+export type MeDetailsQuery = { __typename?: 'Query', me?: Maybe<{ __typename?: 'User', id: string, lastLogin?: Maybe, dateJoined: any, email: string, firstName: string, lastName: string, avatar?: Maybe<{ __typename?: 'Image', url: string, alt?: Maybe }>, orders?: Maybe<{ __typename?: 'OrderCountableConnection', totalCount?: Maybe }> }> };
+
export const AddressFragmentDoc = gql`
fragment AddressFragment on Address {
phone
@@ -13845,6 +13850,51 @@ export function useAddressSetDefaultMutation(baseOptions?: Apollo.MutationHookOp
export type AddressSetDefaultMutationHookResult = ReturnType;
export type AddressSetDefaultMutationMutationResult = Apollo.MutationResult;
export type AddressSetDefaultMutationMutationOptions = Apollo.BaseMutationOptions;
+export const MeDetailsQueryDocument = gql`
+ query meDetailsQuery {
+ me {
+ id
+ lastLogin
+ dateJoined
+ email
+ firstName
+ lastName
+ avatar {
+ ...ImageFragment
+ }
+ orders {
+ totalCount
+ }
+ }
+}
+ ${ImageFragmentDoc}`;
+
+/**
+ * __useMeDetailsQuery__
+ *
+ * To run a query within a React component, call `useMeDetailsQuery` and pass it any options that fit your needs.
+ * When your component renders, `useMeDetailsQuery` 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 } = useMeDetailsQuery({
+ * variables: {
+ * },
+ * });
+ */
+export function useMeDetailsQuery(baseOptions?: Apollo.QueryHookOptions) {
+ const options = {...defaultOptions, ...baseOptions}
+ return Apollo.useQuery(MeDetailsQueryDocument, options);
+ }
+export function useMeDetailsQueryLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) {
+ const options = {...defaultOptions, ...baseOptions}
+ return Apollo.useLazyQuery(MeDetailsQueryDocument, options);
+ }
+export type MeDetailsQueryHookResult = ReturnType;
+export type MeDetailsQueryLazyQueryHookResult = ReturnType;
+export type MeDetailsQueryQueryResult = Apollo.QueryResult;
export type AccountAddressCreateKeySpecifier = ('accountErrors' | 'address' | 'errors' | 'user' | AccountAddressCreateKeySpecifier)[];
export type AccountAddressCreateFieldPolicy = {
accountErrors?: FieldPolicy | FieldReadFunction,