Files
webapp/app/composables/graphql/public/kyc-generated.ts
Ruslan Bakiev 25f946b293
All checks were successful
Build Docker Image / build (push) Successful in 5m46s
Fix geo GraphQL schema mismatch: camelCase → snake_case
All geo .graphql operations and consuming code updated to match
server schema which uses snake_case field/argument names.
Removed non-existent QuoteCalculations query, using NearestOffers instead.
2026-03-09 21:45:57 +07:00

75 lines
5.7 KiB
TypeScript

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; }
};
export type CompanyFull = {
__typename?: 'CompanyFull';
activities?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
address?: Maybe<Scalars['String']['output']>;
capital?: Maybe<Scalars['String']['output']>;
companyType?: Maybe<Scalars['String']['output']>;
director?: Maybe<Scalars['String']['output']>;
inn?: Maybe<Scalars['String']['output']>;
isActive?: Maybe<Scalars['Boolean']['output']>;
lastUpdated?: Maybe<Scalars['String']['output']>;
name?: Maybe<Scalars['String']['output']>;
ogrn?: Maybe<Scalars['String']['output']>;
registrationYear?: Maybe<Scalars['Int']['output']>;
sources?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
};
export type CompanyTeaser = {
__typename?: 'CompanyTeaser';
companyType?: Maybe<Scalars['String']['output']>;
isActive?: Maybe<Scalars['Boolean']['output']>;
registrationYear?: Maybe<Scalars['Int']['output']>;
sourcesCount?: Maybe<Scalars['Int']['output']>;
};
export type Query = {
__typename?: 'Query';
health: Scalars['String']['output'];
kycProfileFull?: Maybe<CompanyFull>;
kycProfileTeaser?: Maybe<CompanyTeaser>;
};
export type QueryKycProfileFullArgs = {
profileUuid: Scalars['String']['input'];
};
export type QueryKycProfileTeaserArgs = {
profileUuid: Scalars['String']['input'];
};
export type GetKycProfileFullQueryVariables = Exact<{
profileUuid: Scalars['String']['input'];
}>;
export type GetKycProfileFullQueryResult = { __typename?: 'Query', kycProfileFull?: { __typename?: 'CompanyFull', inn?: string | null, ogrn?: string | null, name?: string | null, companyType?: string | null, registrationYear?: number | null, isActive?: boolean | null, address?: string | null, director?: string | null, capital?: string | null, activities?: Array<string | null> | null, sources?: Array<string | null> | null, lastUpdated?: string | null } | null };
export type GetKycProfileTeaserQueryVariables = Exact<{
profileUuid: Scalars['String']['input'];
}>;
export type GetKycProfileTeaserQueryResult = { __typename?: 'Query', kycProfileTeaser?: { __typename?: 'CompanyTeaser', companyType?: string | null, registrationYear?: number | null, isActive?: boolean | null, sourcesCount?: number | null } | null };
export const GetKycProfileFullDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetKycProfileFull"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"profileUuid"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"kycProfileFull"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"profileUuid"},"value":{"kind":"Variable","name":{"kind":"Name","value":"profileUuid"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"inn"}},{"kind":"Field","name":{"kind":"Name","value":"ogrn"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"companyType"}},{"kind":"Field","name":{"kind":"Name","value":"registrationYear"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"director"}},{"kind":"Field","name":{"kind":"Name","value":"capital"}},{"kind":"Field","name":{"kind":"Name","value":"activities"}},{"kind":"Field","name":{"kind":"Name","value":"sources"}},{"kind":"Field","name":{"kind":"Name","value":"lastUpdated"}}]}}]}}]} as unknown as DocumentNode<GetKycProfileFullQueryResult, GetKycProfileFullQueryVariables>;
export const GetKycProfileTeaserDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetKycProfileTeaser"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"profileUuid"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"kycProfileTeaser"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"profileUuid"},"value":{"kind":"Variable","name":{"kind":"Name","value":"profileUuid"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"companyType"}},{"kind":"Field","name":{"kind":"Name","value":"registrationYear"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"sourcesCount"}}]}}]}}]} as unknown as DocumentNode<GetKycProfileTeaserQueryResult, GetKycProfileTeaserQueryVariables>;