import type { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
export type Maybe<T> = T | null;
export type InputMaybe<T> = Maybe<T>;
export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };
export type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> = { [_ in K]?: never };
export type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };
/** All built-in and custom scalars, mapped to their actual values */
export type Scalars = {
  ID: { input: string; output: string; }
  String: { input: string; output: string; }
  Boolean: { input: boolean; output: boolean; }
  Int: { input: number; output: number; }
  Float: { input: number; output: number; }
  DateTime: { input: string; output: string; }
};

export type CreateKycRequestRussia = {
  __typename?: 'CreateKYCRequestRussia';
  kycRequest?: Maybe<KycRequestRussiaType>;
  success?: Maybe<Scalars['Boolean']['output']>;
};

export type KycRequestRussiaInput = {
  address: Scalars['String']['input'];
  bankName: Scalars['String']['input'];
  bik: Scalars['String']['input'];
  companyFullName: Scalars['String']['input'];
  companyName: Scalars['String']['input'];
  contactEmail: Scalars['String']['input'];
  contactPerson: Scalars['String']['input'];
  contactPhone: Scalars['String']['input'];
  correspondentAccount?: InputMaybe<Scalars['String']['input']>;
  inn: Scalars['String']['input'];
  kpp?: InputMaybe<Scalars['String']['input']>;
  ogrn?: InputMaybe<Scalars['String']['input']>;
  teamUuid: Scalars['String']['input'];
  userId: Scalars['String']['input'];
};

export type KycRequestRussiaType = {
  __typename?: 'KYCRequestRussiaType';
  address: Scalars['String']['output'];
  approvedAt?: Maybe<Scalars['DateTime']['output']>;
  approvedBy?: Maybe<Scalars['String']['output']>;
  bankName: Scalars['String']['output'];
  bik: Scalars['String']['output'];
  companyFullName: Scalars['String']['output'];
  companyName: Scalars['String']['output'];
  contactEmail: Scalars['String']['output'];
  contactPerson: Scalars['String']['output'];
  contactPhone: Scalars['String']['output'];
  correspondentAccount: Scalars['String']['output'];
  countryCode: Scalars['String']['output'];
  createdAt: Scalars['DateTime']['output'];
  id: Scalars['ID']['output'];
  inn: Scalars['String']['output'];
  kpp: Scalars['String']['output'];
  kycrequestPtr: KycRequestType;
  kycrequestrussia?: Maybe<KycRequestRussiaType>;
  ogrn: Scalars['String']['output'];
  registrationNumber: Scalars['String']['output'];
  score: Scalars['Int']['output'];
  status: KycAppKycRequestStatusChoices;
  teamName: Scalars['String']['output'];
  teamUuid: Scalars['String']['output'];
  updatedAt: Scalars['DateTime']['output'];
  userId: Scalars['String']['output'];
  uuid: Scalars['String']['output'];
};

export type KycRequestType = {
  __typename?: 'KYCRequestType';
  approvedAt?: Maybe<Scalars['DateTime']['output']>;
  approvedBy?: Maybe<Scalars['String']['output']>;
  contactEmail: Scalars['String']['output'];
  contactPerson: Scalars['String']['output'];
  contactPhone: Scalars['String']['output'];
  countryCode: Scalars['String']['output'];
  createdAt: Scalars['DateTime']['output'];
  id: Scalars['ID']['output'];
  kycrequestrussia?: Maybe<KycRequestRussiaType>;
  registrationNumber: Scalars['String']['output'];
  score: Scalars['Int']['output'];
  status: KycAppKycRequestStatusChoices;
  teamName: Scalars['String']['output'];
  teamUuid: Scalars['String']['output'];
  updatedAt: Scalars['DateTime']['output'];
  userId: Scalars['String']['output'];
  uuid: Scalars['String']['output'];
};

/** An enumeration. */
export enum KycAppKycRequestStatusChoices {
  /** Одобрено */
  Approved = 'APPROVED',
  /** Истекло */
  Expired = 'EXPIRED',
  /** На рассмотрении */
  InReview = 'IN_REVIEW',
  /** Ожидает проверки */
  Pending = 'PENDING',
  /** Отклонено */
  Rejected = 'REJECTED'
}

/** Team mutations - Team Access Token authentication */
export type TeamMutation = {
  __typename?: 'TeamMutation';
  createKycRequestRussia?: Maybe<CreateKycRequestRussia>;
};


/** Team mutations - Team Access Token authentication */
export type TeamMutationCreateKycRequestRussiaArgs = {
  input: KycRequestRussiaInput;
};

/** Team schema - Team Access Token authentication */
export type TeamQuery = {
  __typename?: 'TeamQuery';
  kycRequestRussia?: Maybe<KycRequestRussiaType>;
  kycRequests?: Maybe<Array<Maybe<KycRequestType>>>;
  kycRequestsRussia?: Maybe<Array<Maybe<KycRequestRussiaType>>>;
};


/** Team schema - Team Access Token authentication */
export type TeamQueryKycRequestRussiaArgs = {
  uuid: Scalars['String']['input'];
};

export type CreateKycRequestRussiaMutationVariables = Exact<{
  input: KycRequestRussiaInput;
}>;


export type CreateKycRequestRussiaMutation = { __typename?: 'TeamMutation', createKycRequestRussia?: { __typename?: 'CreateKYCRequestRussia', success?: boolean | null, kycRequest?: { __typename?: 'KYCRequestRussiaType', uuid: string, status: KycAppKycRequestStatusChoices, companyName: string, inn: string, contactEmail: string, createdAt: string } | null } | null };

export type GetKycRequestRussiaQueryVariables = Exact<{
  uuid: Scalars['String']['input'];
}>;


export type GetKycRequestRussiaQuery = { __typename?: 'TeamQuery', kycRequestRussia?: { __typename?: 'KYCRequestRussiaType', uuid: string, status: KycAppKycRequestStatusChoices, companyName: string, companyFullName: string, inn: string, kpp: string, ogrn: string, address: string, bankName: string, bik: string, correspondentAccount: string, contactPerson: string, contactEmail: string, contactPhone: string, approvedBy?: string | null, approvedAt?: string | null, createdAt: string, updatedAt: string } | null };

export type GetKycRequestsRussiaQueryVariables = Exact<{ [key: string]: never; }>;


export type GetKycRequestsRussiaQuery = { __typename?: 'TeamQuery', kycRequestsRussia?: Array<{ __typename?: 'KYCRequestRussiaType', uuid: string, status: KycAppKycRequestStatusChoices, companyName: string, companyFullName: string, inn: string, kpp: string, ogrn: string, address: string, bankName: string, bik: string, correspondentAccount: string, contactPerson: string, contactEmail: string, contactPhone: string, approvedBy?: string | null, approvedAt?: string | null, createdAt: string, updatedAt: string } | null> | null };


export const CreateKycRequestRussiaDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateKYCRequestRussia"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"KYCRequestRussiaInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createKycRequestRussia"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"success"}},{"kind":"Field","name":{"kind":"Name","value":"kycRequest"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"uuid"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"companyName"}},{"kind":"Field","name":{"kind":"Name","value":"inn"}},{"kind":"Field","name":{"kind":"Name","value":"contactEmail"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}}]}}]}}]}}]} as unknown as DocumentNode<CreateKycRequestRussiaMutation, CreateKycRequestRussiaMutationVariables>;
export const GetKycRequestRussiaDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetKYCRequestRussia"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"uuid"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"kycRequestRussia"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"uuid"},"value":{"kind":"Variable","name":{"kind":"Name","value":"uuid"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"uuid"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"companyName"}},{"kind":"Field","name":{"kind":"Name","value":"companyFullName"}},{"kind":"Field","name":{"kind":"Name","value":"inn"}},{"kind":"Field","name":{"kind":"Name","value":"kpp"}},{"kind":"Field","name":{"kind":"Name","value":"ogrn"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"bankName"}},{"kind":"Field","name":{"kind":"Name","value":"bik"}},{"kind":"Field","name":{"kind":"Name","value":"correspondentAccount"}},{"kind":"Field","name":{"kind":"Name","value":"contactPerson"}},{"kind":"Field","name":{"kind":"Name","value":"contactEmail"}},{"kind":"Field","name":{"kind":"Name","value":"contactPhone"}},{"kind":"Field","name":{"kind":"Name","value":"approvedBy"}},{"kind":"Field","name":{"kind":"Name","value":"approvedAt"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]}}]} as unknown as DocumentNode<GetKycRequestRussiaQuery, GetKycRequestRussiaQueryVariables>;
export const GetKycRequestsRussiaDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetKYCRequestsRussia"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"kycRequestsRussia"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"uuid"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"companyName"}},{"kind":"Field","name":{"kind":"Name","value":"companyFullName"}},{"kind":"Field","name":{"kind":"Name","value":"inn"}},{"kind":"Field","name":{"kind":"Name","value":"kpp"}},{"kind":"Field","name":{"kind":"Name","value":"ogrn"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"bankName"}},{"kind":"Field","name":{"kind":"Name","value":"bik"}},{"kind":"Field","name":{"kind":"Name","value":"correspondentAccount"}},{"kind":"Field","name":{"kind":"Name","value":"contactPerson"}},{"kind":"Field","name":{"kind":"Name","value":"contactEmail"}},{"kind":"Field","name":{"kind":"Name","value":"contactPhone"}},{"kind":"Field","name":{"kind":"Name","value":"approvedBy"}},{"kind":"Field","name":{"kind":"Name","value":"approvedAt"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]}}]} as unknown as DocumentNode<GetKycRequestsRussiaQuery, GetKycRequestsRussiaQueryVariables>;