Fix geo GraphQL schema mismatch: camelCase → snake_case
All checks were successful
Build Docker Image / build (push) Successful in 5m46s
All checks were successful
Build Docker Image / build (push) Successful in 5m46s
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.
This commit is contained in:
@@ -13,96 +13,61 @@ export type Scalars = {
|
||||
Boolean: { input: boolean; output: boolean; }
|
||||
Int: { input: number; output: number; }
|
||||
Float: { input: number; output: number; }
|
||||
Date: { input: string; output: string; }
|
||||
DateTime: { input: string; output: string; }
|
||||
Decimal: { input: string; output: string; }
|
||||
};
|
||||
|
||||
export type OfferType = {
|
||||
__typename?: 'OfferType';
|
||||
categoryName: Scalars['String']['output'];
|
||||
createdAt: Scalars['DateTime']['output'];
|
||||
export type Offer = {
|
||||
__typename?: 'Offer';
|
||||
categoryName?: Maybe<Scalars['String']['output']>;
|
||||
createdAt: Scalars['String']['output'];
|
||||
currency: Scalars['String']['output'];
|
||||
description: Scalars['String']['output'];
|
||||
id: Scalars['ID']['output'];
|
||||
locationCountry: Scalars['String']['output'];
|
||||
locationCountryCode: Scalars['String']['output'];
|
||||
description?: Maybe<Scalars['String']['output']>;
|
||||
locationCountry?: Maybe<Scalars['String']['output']>;
|
||||
locationCountryCode?: Maybe<Scalars['String']['output']>;
|
||||
locationLatitude?: Maybe<Scalars['Float']['output']>;
|
||||
locationLongitude?: Maybe<Scalars['Float']['output']>;
|
||||
locationName: Scalars['String']['output'];
|
||||
locationUuid: Scalars['String']['output'];
|
||||
pricePerUnit?: Maybe<Scalars['Decimal']['output']>;
|
||||
locationName?: Maybe<Scalars['String']['output']>;
|
||||
locationUuid?: Maybe<Scalars['String']['output']>;
|
||||
pricePerUnit: Scalars['Float']['output'];
|
||||
productName: Scalars['String']['output'];
|
||||
productUuid: Scalars['String']['output'];
|
||||
quantity: Scalars['Decimal']['output'];
|
||||
status: OffersOfferStatusChoices;
|
||||
quantity: Scalars['Float']['output'];
|
||||
status: Scalars['String']['output'];
|
||||
teamUuid: Scalars['String']['output'];
|
||||
terminusDocumentId: Scalars['String']['output'];
|
||||
terminusSchemaId: Scalars['String']['output'];
|
||||
unit: Scalars['String']['output'];
|
||||
updatedAt: Scalars['DateTime']['output'];
|
||||
updatedAt: Scalars['String']['output'];
|
||||
uuid: Scalars['String']['output'];
|
||||
validUntil?: Maybe<Scalars['Date']['output']>;
|
||||
workflowError: Scalars['String']['output'];
|
||||
workflowStatus: OffersOfferWorkflowStatusChoices;
|
||||
validUntil?: Maybe<Scalars['String']['output']>;
|
||||
};
|
||||
|
||||
/** An enumeration. */
|
||||
export enum OffersOfferStatusChoices {
|
||||
/** Активно */
|
||||
Active = 'ACTIVE',
|
||||
/** Отменено */
|
||||
Cancelled = 'CANCELLED',
|
||||
/** Закрыто */
|
||||
Closed = 'CLOSED',
|
||||
/** Черновик */
|
||||
Draft = 'DRAFT'
|
||||
}
|
||||
|
||||
/** An enumeration. */
|
||||
export enum OffersOfferWorkflowStatusChoices {
|
||||
/** Активен */
|
||||
Active = 'ACTIVE',
|
||||
/** Ошибка */
|
||||
Error = 'ERROR',
|
||||
/** Ожидает обработки */
|
||||
Pending = 'PENDING'
|
||||
}
|
||||
|
||||
export type Product = {
|
||||
__typename?: 'Product';
|
||||
categoryId?: Maybe<Scalars['Int']['output']>;
|
||||
categoryId?: Maybe<Scalars['String']['output']>;
|
||||
categoryName?: Maybe<Scalars['String']['output']>;
|
||||
name?: Maybe<Scalars['String']['output']>;
|
||||
terminusSchemaId?: Maybe<Scalars['String']['output']>;
|
||||
uuid?: Maybe<Scalars['String']['output']>;
|
||||
};
|
||||
|
||||
/** Public schema - no authentication required */
|
||||
export type PublicQuery = {
|
||||
__typename?: 'PublicQuery';
|
||||
/** Get products that have active offers */
|
||||
export type Query = {
|
||||
__typename?: 'Query';
|
||||
getAvailableProducts?: Maybe<Array<Maybe<Product>>>;
|
||||
getOffer?: Maybe<OfferType>;
|
||||
getOffers?: Maybe<Array<Maybe<OfferType>>>;
|
||||
getOffer?: Maybe<Offer>;
|
||||
getOffers?: Maybe<Array<Maybe<Offer>>>;
|
||||
getOffersCount?: Maybe<Scalars['Int']['output']>;
|
||||
getProducts?: Maybe<Array<Maybe<Product>>>;
|
||||
getSupplierProfile?: Maybe<SupplierProfileType>;
|
||||
/** Get supplier profile by team UUID */
|
||||
getSupplierProfileByTeam?: Maybe<SupplierProfileType>;
|
||||
getSupplierProfiles?: Maybe<Array<Maybe<SupplierProfileType>>>;
|
||||
getSupplierProfile?: Maybe<SupplierProfile>;
|
||||
getSupplierProfileByTeam?: Maybe<SupplierProfile>;
|
||||
getSupplierProfiles?: Maybe<Array<Maybe<SupplierProfile>>>;
|
||||
getSupplierProfilesCount?: Maybe<Scalars['Int']['output']>;
|
||||
};
|
||||
|
||||
|
||||
/** Public schema - no authentication required */
|
||||
export type PublicQueryGetOfferArgs = {
|
||||
export type QueryGetOfferArgs = {
|
||||
uuid: Scalars['String']['input'];
|
||||
};
|
||||
|
||||
|
||||
/** Public schema - no authentication required */
|
||||
export type PublicQueryGetOffersArgs = {
|
||||
export type QueryGetOffersArgs = {
|
||||
categoryName?: InputMaybe<Scalars['String']['input']>;
|
||||
limit?: InputMaybe<Scalars['Int']['input']>;
|
||||
locationUuid?: InputMaybe<Scalars['String']['input']>;
|
||||
@@ -113,8 +78,7 @@ export type PublicQueryGetOffersArgs = {
|
||||
};
|
||||
|
||||
|
||||
/** Public schema - no authentication required */
|
||||
export type PublicQueryGetOffersCountArgs = {
|
||||
export type QueryGetOffersCountArgs = {
|
||||
categoryName?: InputMaybe<Scalars['String']['input']>;
|
||||
locationUuid?: InputMaybe<Scalars['String']['input']>;
|
||||
productUuid?: InputMaybe<Scalars['String']['input']>;
|
||||
@@ -123,20 +87,17 @@ export type PublicQueryGetOffersCountArgs = {
|
||||
};
|
||||
|
||||
|
||||
/** Public schema - no authentication required */
|
||||
export type PublicQueryGetSupplierProfileArgs = {
|
||||
export type QueryGetSupplierProfileArgs = {
|
||||
uuid: Scalars['String']['input'];
|
||||
};
|
||||
|
||||
|
||||
/** Public schema - no authentication required */
|
||||
export type PublicQueryGetSupplierProfileByTeamArgs = {
|
||||
export type QueryGetSupplierProfileByTeamArgs = {
|
||||
teamUuid: Scalars['String']['input'];
|
||||
};
|
||||
|
||||
|
||||
/** Public schema - no authentication required */
|
||||
export type PublicQueryGetSupplierProfilesArgs = {
|
||||
export type QueryGetSupplierProfilesArgs = {
|
||||
country?: InputMaybe<Scalars['String']['input']>;
|
||||
isVerified?: InputMaybe<Scalars['Boolean']['input']>;
|
||||
limit?: InputMaybe<Scalars['Int']['input']>;
|
||||
@@ -144,51 +105,46 @@ export type PublicQueryGetSupplierProfilesArgs = {
|
||||
};
|
||||
|
||||
|
||||
/** Public schema - no authentication required */
|
||||
export type PublicQueryGetSupplierProfilesCountArgs = {
|
||||
export type QueryGetSupplierProfilesCountArgs = {
|
||||
country?: InputMaybe<Scalars['String']['input']>;
|
||||
isVerified?: InputMaybe<Scalars['Boolean']['input']>;
|
||||
};
|
||||
|
||||
/** Профиль поставщика на бирже */
|
||||
export type SupplierProfileType = {
|
||||
__typename?: 'SupplierProfileType';
|
||||
country: Scalars['String']['output'];
|
||||
export type SupplierProfile = {
|
||||
__typename?: 'SupplierProfile';
|
||||
country?: Maybe<Scalars['String']['output']>;
|
||||
countryCode?: Maybe<Scalars['String']['output']>;
|
||||
createdAt: Scalars['DateTime']['output'];
|
||||
description: Scalars['String']['output'];
|
||||
id: Scalars['ID']['output'];
|
||||
description?: Maybe<Scalars['String']['output']>;
|
||||
isActive: Scalars['Boolean']['output'];
|
||||
isVerified: Scalars['Boolean']['output'];
|
||||
kycProfileUuid: Scalars['String']['output'];
|
||||
kycProfileUuid?: Maybe<Scalars['String']['output']>;
|
||||
latitude?: Maybe<Scalars['Float']['output']>;
|
||||
logoUrl: Scalars['String']['output'];
|
||||
logoUrl?: Maybe<Scalars['String']['output']>;
|
||||
longitude?: Maybe<Scalars['Float']['output']>;
|
||||
name: Scalars['String']['output'];
|
||||
offersCount?: Maybe<Scalars['Int']['output']>;
|
||||
teamUuid: Scalars['String']['output'];
|
||||
updatedAt: Scalars['DateTime']['output'];
|
||||
uuid: Scalars['String']['output'];
|
||||
};
|
||||
|
||||
export type GetAvailableProductsQueryVariables = Exact<{ [key: string]: never; }>;
|
||||
|
||||
|
||||
export type GetAvailableProductsQueryResult = { __typename?: 'PublicQuery', getAvailableProducts?: Array<{ __typename?: 'Product', uuid?: string | null, name?: string | null, categoryId?: number | null, categoryName?: string | null, terminusSchemaId?: string | null } | null> | null };
|
||||
export type GetAvailableProductsQueryResult = { __typename?: 'Query', getAvailableProducts?: Array<{ __typename?: 'Product', uuid?: string | null, name?: string | null, categoryId?: string | null, categoryName?: string | null, terminusSchemaId?: string | null } | null> | null };
|
||||
|
||||
export type GetLocationOffersQueryVariables = Exact<{
|
||||
locationUuid: Scalars['String']['input'];
|
||||
}>;
|
||||
|
||||
|
||||
export type GetLocationOffersQueryResult = { __typename?: 'PublicQuery', getOffers?: Array<{ __typename?: 'OfferType', uuid: string, teamUuid: string, status: OffersOfferStatusChoices, locationUuid: string, locationName: string, locationCountry: string, locationCountryCode: string, locationLatitude?: number | null, locationLongitude?: number | null, productUuid: string, productName: string, categoryName: string, quantity: string, unit: string, pricePerUnit?: string | null, currency: string, description: string, validUntil?: string | null, createdAt: string, updatedAt: string } | null> | null };
|
||||
export type GetLocationOffersQueryResult = { __typename?: 'Query', getOffers?: Array<{ __typename?: 'Offer', uuid: string, teamUuid: string, status: string, locationUuid?: string | null, locationName?: string | null, locationCountry?: string | null, locationCountryCode?: string | null, locationLatitude?: number | null, locationLongitude?: number | null, productUuid: string, productName: string, categoryName?: string | null, quantity: number, unit: string, pricePerUnit: number, currency: string, description?: string | null, validUntil?: string | null, createdAt: string, updatedAt: string } | null> | null };
|
||||
|
||||
export type GetOfferQueryVariables = Exact<{
|
||||
uuid: Scalars['String']['input'];
|
||||
}>;
|
||||
|
||||
|
||||
export type GetOfferQueryResult = { __typename?: 'PublicQuery', getOffer?: { __typename?: 'OfferType', uuid: string, teamUuid: string, status: OffersOfferStatusChoices, locationUuid: string, locationName: string, locationCountry: string, locationCountryCode: string, locationLatitude?: number | null, locationLongitude?: number | null, productUuid: string, productName: string, categoryName: string, quantity: string, unit: string, pricePerUnit?: string | null, currency: string, description: string, validUntil?: string | null, createdAt: string, updatedAt: string } | null };
|
||||
export type GetOfferQueryResult = { __typename?: 'Query', getOffer?: { __typename?: 'Offer', uuid: string, teamUuid: string, status: string, locationUuid?: string | null, locationName?: string | null, locationCountry?: string | null, locationCountryCode?: string | null, locationLatitude?: number | null, locationLongitude?: number | null, productUuid: string, productName: string, categoryName?: string | null, quantity: number, unit: string, pricePerUnit: number, currency: string, description?: string | null, validUntil?: string | null, createdAt: string, updatedAt: string } | null };
|
||||
|
||||
export type GetOffersQueryVariables = Exact<{
|
||||
productUuid?: InputMaybe<Scalars['String']['input']>;
|
||||
@@ -200,47 +156,47 @@ export type GetOffersQueryVariables = Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type GetOffersQueryResult = { __typename?: 'PublicQuery', getOffersCount?: number | null, getOffers?: Array<{ __typename?: 'OfferType', uuid: string, teamUuid: string, locationUuid: string, locationName: string, locationCountry: string, locationCountryCode: string, locationLatitude?: number | null, locationLongitude?: number | null, productUuid: string, productName: string, categoryName: string, quantity: string, unit: string, pricePerUnit?: string | null, currency: string, description: string, validUntil?: string | null, createdAt: string, updatedAt: string } | null> | null };
|
||||
export type GetOffersQueryResult = { __typename?: 'Query', getOffersCount?: number | null, getOffers?: Array<{ __typename?: 'Offer', uuid: string, teamUuid: string, locationUuid?: string | null, locationName?: string | null, locationCountry?: string | null, locationCountryCode?: string | null, locationLatitude?: number | null, locationLongitude?: number | null, productUuid: string, productName: string, categoryName?: string | null, quantity: number, unit: string, pricePerUnit: number, currency: string, description?: string | null, validUntil?: string | null, createdAt: string, updatedAt: string } | null> | null };
|
||||
|
||||
export type GetProductQueryVariables = Exact<{
|
||||
uuid: Scalars['String']['input'];
|
||||
}>;
|
||||
|
||||
|
||||
export type GetProductQueryResult = { __typename?: 'PublicQuery', getProducts?: Array<{ __typename?: 'Product', uuid?: string | null, name?: string | null, categoryId?: number | null, categoryName?: string | null, terminusSchemaId?: string | null } | null> | null };
|
||||
export type GetProductQueryResult = { __typename?: 'Query', getProducts?: Array<{ __typename?: 'Product', uuid?: string | null, name?: string | null, categoryId?: string | null, categoryName?: string | null, terminusSchemaId?: string | null } | null> | null };
|
||||
|
||||
export type GetProductOffersQueryVariables = Exact<{
|
||||
productUuid: Scalars['String']['input'];
|
||||
}>;
|
||||
|
||||
|
||||
export type GetProductOffersQueryResult = { __typename?: 'PublicQuery', getOffers?: Array<{ __typename?: 'OfferType', uuid: string, teamUuid: string, status: OffersOfferStatusChoices, locationUuid: string, locationName: string, locationCountry: string, locationCountryCode: string, locationLatitude?: number | null, locationLongitude?: number | null, productUuid: string, productName: string, categoryName: string, quantity: string, unit: string, pricePerUnit?: string | null, currency: string, description: string, validUntil?: string | null, createdAt: string, updatedAt: string } | null> | null };
|
||||
export type GetProductOffersQueryResult = { __typename?: 'Query', getOffers?: Array<{ __typename?: 'Offer', uuid: string, teamUuid: string, status: string, locationUuid?: string | null, locationName?: string | null, locationCountry?: string | null, locationCountryCode?: string | null, locationLatitude?: number | null, locationLongitude?: number | null, productUuid: string, productName: string, categoryName?: string | null, quantity: number, unit: string, pricePerUnit: number, currency: string, description?: string | null, validUntil?: string | null, createdAt: string, updatedAt: string } | null> | null };
|
||||
|
||||
export type GetProductsQueryVariables = Exact<{ [key: string]: never; }>;
|
||||
|
||||
|
||||
export type GetProductsQueryResult = { __typename?: 'PublicQuery', getProducts?: Array<{ __typename?: 'Product', uuid?: string | null, name?: string | null, categoryId?: number | null, categoryName?: string | null, terminusSchemaId?: string | null } | null> | null };
|
||||
export type GetProductsQueryResult = { __typename?: 'Query', getProducts?: Array<{ __typename?: 'Product', uuid?: string | null, name?: string | null, categoryId?: string | null, categoryName?: string | null, terminusSchemaId?: string | null } | null> | null };
|
||||
|
||||
export type GetSupplierOffersQueryVariables = Exact<{
|
||||
teamUuid: Scalars['String']['input'];
|
||||
}>;
|
||||
|
||||
|
||||
export type GetSupplierOffersQueryResult = { __typename?: 'PublicQuery', getOffers?: Array<{ __typename?: 'OfferType', uuid: string, teamUuid: string, status: OffersOfferStatusChoices, locationUuid: string, locationName: string, locationCountry: string, locationCountryCode: string, locationLatitude?: number | null, locationLongitude?: number | null, productUuid: string, productName: string, categoryName: string, quantity: string, unit: string, pricePerUnit?: string | null, currency: string, description: string, validUntil?: string | null, createdAt: string, updatedAt: string } | null> | null };
|
||||
export type GetSupplierOffersQueryResult = { __typename?: 'Query', getOffers?: Array<{ __typename?: 'Offer', uuid: string, teamUuid: string, status: string, locationUuid?: string | null, locationName?: string | null, locationCountry?: string | null, locationCountryCode?: string | null, locationLatitude?: number | null, locationLongitude?: number | null, productUuid: string, productName: string, categoryName?: string | null, quantity: number, unit: string, pricePerUnit: number, currency: string, description?: string | null, validUntil?: string | null, createdAt: string, updatedAt: string } | null> | null };
|
||||
|
||||
export type GetSupplierProfileQueryVariables = Exact<{
|
||||
uuid: Scalars['String']['input'];
|
||||
}>;
|
||||
|
||||
|
||||
export type GetSupplierProfileQueryResult = { __typename?: 'PublicQuery', getSupplierProfile?: { __typename?: 'SupplierProfileType', uuid: string, teamUuid: string, kycProfileUuid: string, name: string, description: string, country: string, logoUrl: string, isVerified: boolean, isActive: boolean, offersCount?: number | null, latitude?: number | null, longitude?: number | null } | null };
|
||||
export type GetSupplierProfileQueryResult = { __typename?: 'Query', getSupplierProfile?: { __typename?: 'SupplierProfile', uuid: string, teamUuid: string, kycProfileUuid?: string | null, name: string, description?: string | null, country?: string | null, logoUrl?: string | null, isVerified: boolean, isActive: boolean, offersCount?: number | null, latitude?: number | null, longitude?: number | null } | null };
|
||||
|
||||
export type GetSupplierProfileByTeamQueryVariables = Exact<{
|
||||
teamUuid: Scalars['String']['input'];
|
||||
}>;
|
||||
|
||||
|
||||
export type GetSupplierProfileByTeamQueryResult = { __typename?: 'PublicQuery', getSupplierProfileByTeam?: { __typename?: 'SupplierProfileType', uuid: string, teamUuid: string, kycProfileUuid: string, name: string, description: string, country: string, logoUrl: string, isVerified: boolean, isActive: boolean, offersCount?: number | null } | null };
|
||||
export type GetSupplierProfileByTeamQueryResult = { __typename?: 'Query', getSupplierProfileByTeam?: { __typename?: 'SupplierProfile', uuid: string, teamUuid: string, kycProfileUuid?: string | null, name: string, description?: string | null, country?: string | null, logoUrl?: string | null, isVerified: boolean, isActive: boolean, offersCount?: number | null } | null };
|
||||
|
||||
export type GetSupplierProfilesQueryVariables = Exact<{
|
||||
country?: InputMaybe<Scalars['String']['input']>;
|
||||
@@ -249,7 +205,7 @@ export type GetSupplierProfilesQueryVariables = Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type GetSupplierProfilesQueryResult = { __typename?: 'PublicQuery', getSupplierProfilesCount?: number | null, getSupplierProfiles?: Array<{ __typename?: 'SupplierProfileType', uuid: string, teamUuid: string, name: string, description: string, country: string, countryCode?: string | null, logoUrl: string, offersCount?: number | null, latitude?: number | null, longitude?: number | null } | null> | null };
|
||||
export type GetSupplierProfilesQueryResult = { __typename?: 'Query', getSupplierProfilesCount?: number | null, getSupplierProfiles?: Array<{ __typename?: 'SupplierProfile', uuid: string, teamUuid: string, name: string, description?: string | null, country?: string | null, countryCode?: string | null, logoUrl?: string | null, offersCount?: number | null, latitude?: number | null, longitude?: number | null } | null> | null };
|
||||
|
||||
|
||||
export const GetAvailableProductsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetAvailableProducts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"getAvailableProducts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"uuid"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"categoryId"}},{"kind":"Field","name":{"kind":"Name","value":"categoryName"}},{"kind":"Field","name":{"kind":"Name","value":"terminusSchemaId"}}]}}]}}]} as unknown as DocumentNode<GetAvailableProductsQueryResult, GetAvailableProductsQueryVariables>;
|
||||
|
||||
@@ -13,292 +13,228 @@ export type Scalars = {
|
||||
Boolean: { input: boolean; output: boolean; }
|
||||
Int: { input: number; output: number; }
|
||||
Float: { input: number; output: number; }
|
||||
JSONString: { input: Record<string, unknown>; output: Record<string, unknown>; }
|
||||
JSON: { input: Record<string, unknown>; output: Record<string, unknown>; }
|
||||
};
|
||||
|
||||
/** Cluster or individual point for map display. */
|
||||
export type ClusterPointType = {
|
||||
__typename?: 'ClusterPointType';
|
||||
/** 1 for single point, >1 for cluster */
|
||||
export type ClusterPoint = {
|
||||
__typename?: 'ClusterPoint';
|
||||
count?: Maybe<Scalars['Int']['output']>;
|
||||
/** Zoom level to expand cluster */
|
||||
expansionZoom?: Maybe<Scalars['Int']['output']>;
|
||||
/** UUID for points, 'cluster-N' for clusters */
|
||||
expansion_zoom?: Maybe<Scalars['Int']['output']>;
|
||||
id?: Maybe<Scalars['String']['output']>;
|
||||
latitude?: Maybe<Scalars['Float']['output']>;
|
||||
longitude?: Maybe<Scalars['Float']['output']>;
|
||||
/** Node name (only for single points) */
|
||||
name?: Maybe<Scalars['String']['output']>;
|
||||
};
|
||||
|
||||
/** Edge between two nodes (route). */
|
||||
export type EdgeType = {
|
||||
__typename?: 'EdgeType';
|
||||
distanceKm?: Maybe<Scalars['Float']['output']>;
|
||||
toLatitude?: Maybe<Scalars['Float']['output']>;
|
||||
toLongitude?: Maybe<Scalars['Float']['output']>;
|
||||
toName?: Maybe<Scalars['String']['output']>;
|
||||
toUuid?: Maybe<Scalars['String']['output']>;
|
||||
transportType?: Maybe<Scalars['String']['output']>;
|
||||
travelTimeSeconds?: Maybe<Scalars['Int']['output']>;
|
||||
export type Edge = {
|
||||
__typename?: 'Edge';
|
||||
distance_km?: Maybe<Scalars['Float']['output']>;
|
||||
to_latitude?: Maybe<Scalars['Float']['output']>;
|
||||
to_longitude?: Maybe<Scalars['Float']['output']>;
|
||||
to_name?: Maybe<Scalars['String']['output']>;
|
||||
to_uuid?: Maybe<Scalars['String']['output']>;
|
||||
transport_type?: Maybe<Scalars['String']['output']>;
|
||||
travel_time_seconds?: Maybe<Scalars['Int']['output']>;
|
||||
};
|
||||
|
||||
/** Auto + rail edges for a node, rail uses nearest rail node. */
|
||||
export type NodeConnectionsType = {
|
||||
__typename?: 'NodeConnectionsType';
|
||||
autoEdges?: Maybe<Array<Maybe<EdgeType>>>;
|
||||
hub?: Maybe<NodeType>;
|
||||
railEdges?: Maybe<Array<Maybe<EdgeType>>>;
|
||||
railNode?: Maybe<NodeType>;
|
||||
};
|
||||
|
||||
/** Logistics node with edges to neighbors. */
|
||||
export type NodeType = {
|
||||
__typename?: 'NodeType';
|
||||
export type Node = {
|
||||
__typename?: 'Node';
|
||||
country?: Maybe<Scalars['String']['output']>;
|
||||
countryCode?: Maybe<Scalars['String']['output']>;
|
||||
distanceKm?: Maybe<Scalars['Float']['output']>;
|
||||
edges?: Maybe<Array<Maybe<EdgeType>>>;
|
||||
country_code?: Maybe<Scalars['String']['output']>;
|
||||
distance_km?: Maybe<Scalars['Float']['output']>;
|
||||
edges?: Maybe<Array<Maybe<Edge>>>;
|
||||
latitude?: Maybe<Scalars['Float']['output']>;
|
||||
longitude?: Maybe<Scalars['Float']['output']>;
|
||||
name?: Maybe<Scalars['String']['output']>;
|
||||
syncedAt?: Maybe<Scalars['String']['output']>;
|
||||
transportTypes?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
||||
synced_at?: Maybe<Scalars['String']['output']>;
|
||||
transport_types?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
||||
uuid?: Maybe<Scalars['String']['output']>;
|
||||
};
|
||||
|
||||
/** Calculation result that may include one or multiple offers. */
|
||||
export type OfferCalculationType = {
|
||||
__typename?: 'OfferCalculationType';
|
||||
offers?: Maybe<Array<Maybe<OfferWithRouteType>>>;
|
||||
export type NodeConnections = {
|
||||
__typename?: 'NodeConnections';
|
||||
auto_edges?: Maybe<Array<Maybe<Edge>>>;
|
||||
hub?: Maybe<Node>;
|
||||
rail_edges?: Maybe<Array<Maybe<Edge>>>;
|
||||
rail_node?: Maybe<Node>;
|
||||
};
|
||||
|
||||
/** Offer node with location and product info. */
|
||||
export type OfferNodeType = {
|
||||
__typename?: 'OfferNodeType';
|
||||
export type OfferNode = {
|
||||
__typename?: 'OfferNode';
|
||||
country?: Maybe<Scalars['String']['output']>;
|
||||
countryCode?: Maybe<Scalars['String']['output']>;
|
||||
country_code?: Maybe<Scalars['String']['output']>;
|
||||
currency?: Maybe<Scalars['String']['output']>;
|
||||
distanceKm?: Maybe<Scalars['Float']['output']>;
|
||||
distance_km?: Maybe<Scalars['Float']['output']>;
|
||||
latitude?: Maybe<Scalars['Float']['output']>;
|
||||
longitude?: Maybe<Scalars['Float']['output']>;
|
||||
pricePerUnit?: Maybe<Scalars['String']['output']>;
|
||||
productName?: Maybe<Scalars['String']['output']>;
|
||||
productUuid?: Maybe<Scalars['String']['output']>;
|
||||
price_per_unit?: Maybe<Scalars['String']['output']>;
|
||||
product_name?: Maybe<Scalars['String']['output']>;
|
||||
product_uuid?: Maybe<Scalars['String']['output']>;
|
||||
quantity?: Maybe<Scalars['String']['output']>;
|
||||
supplierName?: Maybe<Scalars['String']['output']>;
|
||||
supplierUuid?: Maybe<Scalars['String']['output']>;
|
||||
supplier_name?: Maybe<Scalars['String']['output']>;
|
||||
supplier_uuid?: Maybe<Scalars['String']['output']>;
|
||||
unit?: Maybe<Scalars['String']['output']>;
|
||||
uuid?: Maybe<Scalars['String']['output']>;
|
||||
};
|
||||
|
||||
/** Offer with route information to destination. */
|
||||
export type OfferWithRouteType = {
|
||||
__typename?: 'OfferWithRouteType';
|
||||
export type OfferWithRoute = {
|
||||
__typename?: 'OfferWithRoute';
|
||||
country?: Maybe<Scalars['String']['output']>;
|
||||
countryCode?: Maybe<Scalars['String']['output']>;
|
||||
country_code?: Maybe<Scalars['String']['output']>;
|
||||
currency?: Maybe<Scalars['String']['output']>;
|
||||
distanceKm?: Maybe<Scalars['Float']['output']>;
|
||||
distance_km?: Maybe<Scalars['Float']['output']>;
|
||||
latitude?: Maybe<Scalars['Float']['output']>;
|
||||
longitude?: Maybe<Scalars['Float']['output']>;
|
||||
pricePerUnit?: Maybe<Scalars['String']['output']>;
|
||||
productName?: Maybe<Scalars['String']['output']>;
|
||||
productUuid?: Maybe<Scalars['String']['output']>;
|
||||
price_per_unit?: Maybe<Scalars['String']['output']>;
|
||||
product_name?: Maybe<Scalars['String']['output']>;
|
||||
product_uuid?: Maybe<Scalars['String']['output']>;
|
||||
quantity?: Maybe<Scalars['String']['output']>;
|
||||
routes?: Maybe<Array<Maybe<RoutePathType>>>;
|
||||
supplierName?: Maybe<Scalars['String']['output']>;
|
||||
supplierUuid?: Maybe<Scalars['String']['output']>;
|
||||
routes?: Maybe<Array<Maybe<RoutePath>>>;
|
||||
supplier_name?: Maybe<Scalars['String']['output']>;
|
||||
supplier_uuid?: Maybe<Scalars['String']['output']>;
|
||||
unit?: Maybe<Scalars['String']['output']>;
|
||||
uuid?: Maybe<Scalars['String']['output']>;
|
||||
};
|
||||
|
||||
/** Route options for a product source to the destination. */
|
||||
export type ProductRouteOptionType = {
|
||||
__typename?: 'ProductRouteOptionType';
|
||||
distanceKm?: Maybe<Scalars['Float']['output']>;
|
||||
routes?: Maybe<Array<Maybe<RoutePathType>>>;
|
||||
sourceLat?: Maybe<Scalars['Float']['output']>;
|
||||
sourceLon?: Maybe<Scalars['Float']['output']>;
|
||||
sourceName?: Maybe<Scalars['String']['output']>;
|
||||
sourceUuid?: Maybe<Scalars['String']['output']>;
|
||||
};
|
||||
|
||||
/** Unique product from offers. */
|
||||
export type ProductType = {
|
||||
__typename?: 'ProductType';
|
||||
export type Product = {
|
||||
__typename?: 'Product';
|
||||
name?: Maybe<Scalars['String']['output']>;
|
||||
/** Number of offers for this product */
|
||||
offersCount?: Maybe<Scalars['Int']['output']>;
|
||||
offers_count?: Maybe<Scalars['Int']['output']>;
|
||||
uuid?: Maybe<Scalars['String']['output']>;
|
||||
};
|
||||
|
||||
/** Root query. */
|
||||
export type ProductRouteOption = {
|
||||
__typename?: 'ProductRouteOption';
|
||||
distance_km?: Maybe<Scalars['Float']['output']>;
|
||||
routes?: Maybe<Array<Maybe<RoutePath>>>;
|
||||
source_lat?: Maybe<Scalars['Float']['output']>;
|
||||
source_lon?: Maybe<Scalars['Float']['output']>;
|
||||
source_name?: Maybe<Scalars['String']['output']>;
|
||||
source_uuid?: Maybe<Scalars['String']['output']>;
|
||||
};
|
||||
|
||||
export type Query = {
|
||||
__typename?: 'Query';
|
||||
/** Get auto route between two points via GraphHopper */
|
||||
autoRoute?: Maybe<RouteType>;
|
||||
/** Get clustered nodes for map display (server-side clustering) */
|
||||
clusteredNodes?: Maybe<Array<Maybe<ClusterPointType>>>;
|
||||
/** List of countries that have logistics hubs */
|
||||
hubCountries?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
||||
/** Get hubs where a product is available nearby */
|
||||
hubsForProduct?: Maybe<Array<Maybe<NodeType>>>;
|
||||
/** Get paginated list of logistics hubs */
|
||||
hubsList?: Maybe<Array<Maybe<NodeType>>>;
|
||||
/** Get nearest hubs to an offer location */
|
||||
hubsNearOffer?: Maybe<Array<Maybe<NodeType>>>;
|
||||
/** Find nearest hubs to coordinates (optionally filtered by product) */
|
||||
nearestHubs?: Maybe<Array<Maybe<NodeType>>>;
|
||||
/** Find nearest logistics nodes to given coordinates */
|
||||
nearestNodes?: Maybe<Array<Maybe<NodeType>>>;
|
||||
/** Find nearest offers to coordinates with optional routes to hub */
|
||||
nearestOffers?: Maybe<Array<Maybe<OfferWithRouteType>>>;
|
||||
/** Find nearest suppliers to coordinates (optionally filtered by product) */
|
||||
nearestSuppliers?: Maybe<Array<Maybe<SupplierType>>>;
|
||||
/** Get node by UUID with all edges to neighbors */
|
||||
node?: Maybe<NodeType>;
|
||||
/** Get auto + rail edges for a node (rail uses nearest rail node) */
|
||||
nodeConnections?: Maybe<NodeConnectionsType>;
|
||||
/** Get all nodes (without edges for performance) */
|
||||
nodes?: Maybe<Array<Maybe<NodeType>>>;
|
||||
/** Get total count of nodes (with optional transport/country/bounds filter) */
|
||||
nodesCount?: Maybe<Scalars['Int']['output']>;
|
||||
/** Get all offers for a product */
|
||||
offersByProduct?: Maybe<Array<Maybe<OfferNodeType>>>;
|
||||
/** Get offers from a supplier for a specific product */
|
||||
offersBySupplierProduct?: Maybe<Array<Maybe<OfferNodeType>>>;
|
||||
/** Get offers for a product with routes to hub (auto → rail* → auto) */
|
||||
offersForHub?: Maybe<Array<Maybe<ProductRouteOptionType>>>;
|
||||
/** Get unique products from all offers */
|
||||
products?: Maybe<Array<Maybe<ProductType>>>;
|
||||
/** Get products offered by a supplier */
|
||||
productsBySupplier?: Maybe<Array<Maybe<ProductType>>>;
|
||||
/** Get paginated list of products from graph */
|
||||
productsList?: Maybe<Array<Maybe<ProductType>>>;
|
||||
/** Get products available near a hub */
|
||||
productsNearHub?: Maybe<Array<Maybe<ProductType>>>;
|
||||
/** Get quote calculations (single offer or split offers) */
|
||||
quoteCalculations?: Maybe<Array<Maybe<OfferCalculationType>>>;
|
||||
/** Get rail route between two points via OpenRailRouting */
|
||||
railRoute?: Maybe<RouteType>;
|
||||
/** Get route from offer to target coordinates (finds nearest hub to coordinate) */
|
||||
routeToCoordinate?: Maybe<ProductRouteOptionType>;
|
||||
/** Get unique suppliers from all offers */
|
||||
suppliers?: Maybe<Array<Maybe<SupplierType>>>;
|
||||
/** Get suppliers that offer a specific product */
|
||||
suppliersForProduct?: Maybe<Array<Maybe<SupplierType>>>;
|
||||
/** Get paginated list of suppliers from graph */
|
||||
suppliersList?: Maybe<Array<Maybe<SupplierType>>>;
|
||||
auto_route?: Maybe<Route>;
|
||||
clustered_nodes: Array<ClusterPoint>;
|
||||
hub_countries: Array<Scalars['String']['output']>;
|
||||
hubs_for_product: Array<Node>;
|
||||
hubs_list: Array<Node>;
|
||||
hubs_near_offer: Array<Node>;
|
||||
nearest_hubs: Array<Node>;
|
||||
nearest_nodes: Array<Node>;
|
||||
nearest_offers: Array<OfferWithRoute>;
|
||||
nearest_suppliers: Array<Supplier>;
|
||||
node?: Maybe<Node>;
|
||||
node_connections?: Maybe<NodeConnections>;
|
||||
nodes: Array<Node>;
|
||||
nodes_count: Scalars['Int']['output'];
|
||||
offer_to_hub?: Maybe<ProductRouteOption>;
|
||||
offers_by_hub: Array<ProductRouteOption>;
|
||||
offers_by_product: Array<OfferNode>;
|
||||
offers_by_supplier_product: Array<OfferNode>;
|
||||
products: Array<Product>;
|
||||
products_by_supplier: Array<Product>;
|
||||
products_list: Array<Product>;
|
||||
products_near_hub: Array<Product>;
|
||||
rail_route?: Maybe<Route>;
|
||||
route_to_coordinate?: Maybe<ProductRouteOption>;
|
||||
suppliers: Array<Supplier>;
|
||||
suppliers_for_product: Array<Supplier>;
|
||||
suppliers_list: Array<Supplier>;
|
||||
};
|
||||
|
||||
|
||||
/** Root query. */
|
||||
export type QueryAutoRouteArgs = {
|
||||
fromLat: Scalars['Float']['input'];
|
||||
fromLon: Scalars['Float']['input'];
|
||||
toLat: Scalars['Float']['input'];
|
||||
toLon: Scalars['Float']['input'];
|
||||
export type QueryAuto_RouteArgs = {
|
||||
from_lat: Scalars['Float']['input'];
|
||||
from_lon: Scalars['Float']['input'];
|
||||
to_lat: Scalars['Float']['input'];
|
||||
to_lon: Scalars['Float']['input'];
|
||||
};
|
||||
|
||||
|
||||
/** Root query. */
|
||||
export type QueryClusteredNodesArgs = {
|
||||
export type QueryClustered_NodesArgs = {
|
||||
east: Scalars['Float']['input'];
|
||||
hubUuid?: InputMaybe<Scalars['String']['input']>;
|
||||
nodeType?: InputMaybe<Scalars['String']['input']>;
|
||||
node_type?: InputMaybe<Scalars['String']['input']>;
|
||||
north: Scalars['Float']['input'];
|
||||
productUuid?: InputMaybe<Scalars['String']['input']>;
|
||||
south: Scalars['Float']['input'];
|
||||
supplierUuid?: InputMaybe<Scalars['String']['input']>;
|
||||
transportType?: InputMaybe<Scalars['String']['input']>;
|
||||
transport_type?: InputMaybe<Scalars['String']['input']>;
|
||||
west: Scalars['Float']['input'];
|
||||
zoom: Scalars['Int']['input'];
|
||||
};
|
||||
|
||||
|
||||
/** Root query. */
|
||||
export type QueryHubsForProductArgs = {
|
||||
productUuid: Scalars['String']['input'];
|
||||
radiusKm?: InputMaybe<Scalars['Float']['input']>;
|
||||
export type QueryHubs_For_ProductArgs = {
|
||||
product_uuid: Scalars['String']['input'];
|
||||
radius_km?: InputMaybe<Scalars['Float']['input']>;
|
||||
};
|
||||
|
||||
|
||||
/** Root query. */
|
||||
export type QueryHubsListArgs = {
|
||||
export type QueryHubs_ListArgs = {
|
||||
country?: InputMaybe<Scalars['String']['input']>;
|
||||
east?: InputMaybe<Scalars['Float']['input']>;
|
||||
limit?: InputMaybe<Scalars['Int']['input']>;
|
||||
north?: InputMaybe<Scalars['Float']['input']>;
|
||||
offset?: InputMaybe<Scalars['Int']['input']>;
|
||||
south?: InputMaybe<Scalars['Float']['input']>;
|
||||
transportType?: InputMaybe<Scalars['String']['input']>;
|
||||
transport_type?: InputMaybe<Scalars['String']['input']>;
|
||||
west?: InputMaybe<Scalars['Float']['input']>;
|
||||
};
|
||||
|
||||
|
||||
/** Root query. */
|
||||
export type QueryHubsNearOfferArgs = {
|
||||
export type QueryHubs_Near_OfferArgs = {
|
||||
limit?: InputMaybe<Scalars['Int']['input']>;
|
||||
offerUuid: Scalars['String']['input'];
|
||||
offer_uuid: Scalars['String']['input'];
|
||||
};
|
||||
|
||||
|
||||
/** Root query. */
|
||||
export type QueryNearestHubsArgs = {
|
||||
export type QueryNearest_HubsArgs = {
|
||||
lat: Scalars['Float']['input'];
|
||||
limit?: InputMaybe<Scalars['Int']['input']>;
|
||||
lon: Scalars['Float']['input'];
|
||||
productUuid?: InputMaybe<Scalars['String']['input']>;
|
||||
radius?: InputMaybe<Scalars['Float']['input']>;
|
||||
sourceUuid?: InputMaybe<Scalars['String']['input']>;
|
||||
useGraph?: InputMaybe<Scalars['Boolean']['input']>;
|
||||
};
|
||||
|
||||
|
||||
/** Root query. */
|
||||
export type QueryNearestNodesArgs = {
|
||||
lat: Scalars['Float']['input'];
|
||||
limit?: InputMaybe<Scalars['Int']['input']>;
|
||||
lon: Scalars['Float']['input'];
|
||||
};
|
||||
|
||||
|
||||
/** Root query. */
|
||||
export type QueryNearestOffersArgs = {
|
||||
hubUuid?: InputMaybe<Scalars['String']['input']>;
|
||||
lat: Scalars['Float']['input'];
|
||||
limit?: InputMaybe<Scalars['Int']['input']>;
|
||||
lon: Scalars['Float']['input'];
|
||||
productUuid?: InputMaybe<Scalars['String']['input']>;
|
||||
product_uuid?: InputMaybe<Scalars['String']['input']>;
|
||||
radius?: InputMaybe<Scalars['Float']['input']>;
|
||||
};
|
||||
|
||||
|
||||
/** Root query. */
|
||||
export type QueryNearestSuppliersArgs = {
|
||||
export type QueryNearest_NodesArgs = {
|
||||
lat: Scalars['Float']['input'];
|
||||
limit?: InputMaybe<Scalars['Int']['input']>;
|
||||
lon: Scalars['Float']['input'];
|
||||
productUuid?: InputMaybe<Scalars['String']['input']>;
|
||||
};
|
||||
|
||||
|
||||
export type QueryNearest_OffersArgs = {
|
||||
hub_uuid?: InputMaybe<Scalars['String']['input']>;
|
||||
lat: Scalars['Float']['input'];
|
||||
limit?: InputMaybe<Scalars['Int']['input']>;
|
||||
lon: Scalars['Float']['input'];
|
||||
product_uuid?: InputMaybe<Scalars['String']['input']>;
|
||||
radius?: InputMaybe<Scalars['Float']['input']>;
|
||||
};
|
||||
|
||||
|
||||
export type QueryNearest_SuppliersArgs = {
|
||||
lat: Scalars['Float']['input'];
|
||||
limit?: InputMaybe<Scalars['Int']['input']>;
|
||||
lon: Scalars['Float']['input'];
|
||||
product_uuid?: InputMaybe<Scalars['String']['input']>;
|
||||
radius?: InputMaybe<Scalars['Float']['input']>;
|
||||
};
|
||||
|
||||
|
||||
/** Root query. */
|
||||
export type QueryNodeArgs = {
|
||||
uuid: Scalars['String']['input'];
|
||||
};
|
||||
|
||||
|
||||
/** Root query. */
|
||||
export type QueryNodeConnectionsArgs = {
|
||||
limitAuto?: InputMaybe<Scalars['Int']['input']>;
|
||||
limitRail?: InputMaybe<Scalars['Int']['input']>;
|
||||
export type QueryNode_ConnectionsArgs = {
|
||||
limit_auto?: InputMaybe<Scalars['Int']['input']>;
|
||||
limit_rail?: InputMaybe<Scalars['Int']['input']>;
|
||||
uuid: Scalars['String']['input'];
|
||||
};
|
||||
|
||||
|
||||
/** Root query. */
|
||||
export type QueryNodesArgs = {
|
||||
country?: InputMaybe<Scalars['String']['input']>;
|
||||
east?: InputMaybe<Scalars['Float']['input']>;
|
||||
@@ -307,51 +243,51 @@ export type QueryNodesArgs = {
|
||||
offset?: InputMaybe<Scalars['Int']['input']>;
|
||||
search?: InputMaybe<Scalars['String']['input']>;
|
||||
south?: InputMaybe<Scalars['Float']['input']>;
|
||||
transportType?: InputMaybe<Scalars['String']['input']>;
|
||||
transport_type?: InputMaybe<Scalars['String']['input']>;
|
||||
west?: InputMaybe<Scalars['Float']['input']>;
|
||||
};
|
||||
|
||||
|
||||
/** Root query. */
|
||||
export type QueryNodesCountArgs = {
|
||||
export type QueryNodes_CountArgs = {
|
||||
country?: InputMaybe<Scalars['String']['input']>;
|
||||
east?: InputMaybe<Scalars['Float']['input']>;
|
||||
north?: InputMaybe<Scalars['Float']['input']>;
|
||||
south?: InputMaybe<Scalars['Float']['input']>;
|
||||
transportType?: InputMaybe<Scalars['String']['input']>;
|
||||
transport_type?: InputMaybe<Scalars['String']['input']>;
|
||||
west?: InputMaybe<Scalars['Float']['input']>;
|
||||
};
|
||||
|
||||
|
||||
/** Root query. */
|
||||
export type QueryOffersByProductArgs = {
|
||||
productUuid: Scalars['String']['input'];
|
||||
export type QueryOffer_To_HubArgs = {
|
||||
hub_uuid: Scalars['String']['input'];
|
||||
offer_uuid: Scalars['String']['input'];
|
||||
};
|
||||
|
||||
|
||||
/** Root query. */
|
||||
export type QueryOffersBySupplierProductArgs = {
|
||||
productUuid: Scalars['String']['input'];
|
||||
supplierUuid: Scalars['String']['input'];
|
||||
};
|
||||
|
||||
|
||||
/** Root query. */
|
||||
export type QueryOffersForHubArgs = {
|
||||
hubUuid: Scalars['String']['input'];
|
||||
export type QueryOffers_By_HubArgs = {
|
||||
hub_uuid: Scalars['String']['input'];
|
||||
limit?: InputMaybe<Scalars['Int']['input']>;
|
||||
productUuid: Scalars['String']['input'];
|
||||
product_uuid: Scalars['String']['input'];
|
||||
};
|
||||
|
||||
|
||||
/** Root query. */
|
||||
export type QueryProductsBySupplierArgs = {
|
||||
supplierUuid: Scalars['String']['input'];
|
||||
export type QueryOffers_By_ProductArgs = {
|
||||
product_uuid: Scalars['String']['input'];
|
||||
};
|
||||
|
||||
|
||||
/** Root query. */
|
||||
export type QueryProductsListArgs = {
|
||||
export type QueryOffers_By_Supplier_ProductArgs = {
|
||||
product_uuid: Scalars['String']['input'];
|
||||
supplier_uuid: Scalars['String']['input'];
|
||||
};
|
||||
|
||||
|
||||
export type QueryProducts_By_SupplierArgs = {
|
||||
supplier_uuid: Scalars['String']['input'];
|
||||
};
|
||||
|
||||
|
||||
export type QueryProducts_ListArgs = {
|
||||
east?: InputMaybe<Scalars['Float']['input']>;
|
||||
limit?: InputMaybe<Scalars['Int']['input']>;
|
||||
north?: InputMaybe<Scalars['Float']['input']>;
|
||||
@@ -361,50 +297,33 @@ export type QueryProductsListArgs = {
|
||||
};
|
||||
|
||||
|
||||
/** Root query. */
|
||||
export type QueryProductsNearHubArgs = {
|
||||
hubUuid: Scalars['String']['input'];
|
||||
radiusKm?: InputMaybe<Scalars['Float']['input']>;
|
||||
export type QueryProducts_Near_HubArgs = {
|
||||
hub_uuid: Scalars['String']['input'];
|
||||
radius_km?: InputMaybe<Scalars['Float']['input']>;
|
||||
};
|
||||
|
||||
|
||||
/** Root query. */
|
||||
export type QueryQuoteCalculationsArgs = {
|
||||
hubUuid?: InputMaybe<Scalars['String']['input']>;
|
||||
lat: Scalars['Float']['input'];
|
||||
limit?: InputMaybe<Scalars['Int']['input']>;
|
||||
lon: Scalars['Float']['input'];
|
||||
productUuid?: InputMaybe<Scalars['String']['input']>;
|
||||
quantity?: InputMaybe<Scalars['Float']['input']>;
|
||||
radius?: InputMaybe<Scalars['Float']['input']>;
|
||||
export type QueryRail_RouteArgs = {
|
||||
from_lat: Scalars['Float']['input'];
|
||||
from_lon: Scalars['Float']['input'];
|
||||
to_lat: Scalars['Float']['input'];
|
||||
to_lon: Scalars['Float']['input'];
|
||||
};
|
||||
|
||||
|
||||
/** Root query. */
|
||||
export type QueryRailRouteArgs = {
|
||||
fromLat: Scalars['Float']['input'];
|
||||
fromLon: Scalars['Float']['input'];
|
||||
toLat: Scalars['Float']['input'];
|
||||
toLon: Scalars['Float']['input'];
|
||||
};
|
||||
|
||||
|
||||
/** Root query. */
|
||||
export type QueryRouteToCoordinateArgs = {
|
||||
export type QueryRoute_To_CoordinateArgs = {
|
||||
lat: Scalars['Float']['input'];
|
||||
lon: Scalars['Float']['input'];
|
||||
offerUuid: Scalars['String']['input'];
|
||||
offer_uuid: Scalars['String']['input'];
|
||||
};
|
||||
|
||||
|
||||
/** Root query. */
|
||||
export type QuerySuppliersForProductArgs = {
|
||||
productUuid: Scalars['String']['input'];
|
||||
export type QuerySuppliers_For_ProductArgs = {
|
||||
product_uuid: Scalars['String']['input'];
|
||||
};
|
||||
|
||||
|
||||
/** Root query. */
|
||||
export type QuerySuppliersListArgs = {
|
||||
export type QuerySuppliers_ListArgs = {
|
||||
country?: InputMaybe<Scalars['String']['input']>;
|
||||
east?: InputMaybe<Scalars['Float']['input']>;
|
||||
limit?: InputMaybe<Scalars['Int']['input']>;
|
||||
@@ -414,42 +333,37 @@ export type QuerySuppliersListArgs = {
|
||||
west?: InputMaybe<Scalars['Float']['input']>;
|
||||
};
|
||||
|
||||
/** Complete route through graph with multiple stages. */
|
||||
export type RoutePathType = {
|
||||
__typename?: 'RoutePathType';
|
||||
stages?: Maybe<Array<Maybe<RouteStageType>>>;
|
||||
totalDistanceKm?: Maybe<Scalars['Float']['output']>;
|
||||
totalTimeSeconds?: Maybe<Scalars['Int']['output']>;
|
||||
export type Route = {
|
||||
__typename?: 'Route';
|
||||
distance_km?: Maybe<Scalars['Float']['output']>;
|
||||
geometry?: Maybe<Scalars['JSON']['output']>;
|
||||
};
|
||||
|
||||
/** Single stage in a multi-hop route. */
|
||||
export type RouteStageType = {
|
||||
__typename?: 'RouteStageType';
|
||||
distanceKm?: Maybe<Scalars['Float']['output']>;
|
||||
fromLat?: Maybe<Scalars['Float']['output']>;
|
||||
fromLon?: Maybe<Scalars['Float']['output']>;
|
||||
fromName?: Maybe<Scalars['String']['output']>;
|
||||
fromUuid?: Maybe<Scalars['String']['output']>;
|
||||
toLat?: Maybe<Scalars['Float']['output']>;
|
||||
toLon?: Maybe<Scalars['Float']['output']>;
|
||||
toName?: Maybe<Scalars['String']['output']>;
|
||||
toUuid?: Maybe<Scalars['String']['output']>;
|
||||
transportType?: Maybe<Scalars['String']['output']>;
|
||||
travelTimeSeconds?: Maybe<Scalars['Int']['output']>;
|
||||
export type RoutePath = {
|
||||
__typename?: 'RoutePath';
|
||||
stages?: Maybe<Array<Maybe<RouteStage>>>;
|
||||
total_distance_km?: Maybe<Scalars['Float']['output']>;
|
||||
total_time_seconds?: Maybe<Scalars['Int']['output']>;
|
||||
};
|
||||
|
||||
/** Route between two points with geometry. */
|
||||
export type RouteType = {
|
||||
__typename?: 'RouteType';
|
||||
distanceKm?: Maybe<Scalars['Float']['output']>;
|
||||
/** GeoJSON LineString coordinates */
|
||||
geometry?: Maybe<Scalars['JSONString']['output']>;
|
||||
export type RouteStage = {
|
||||
__typename?: 'RouteStage';
|
||||
distance_km?: Maybe<Scalars['Float']['output']>;
|
||||
from_lat?: Maybe<Scalars['Float']['output']>;
|
||||
from_lon?: Maybe<Scalars['Float']['output']>;
|
||||
from_name?: Maybe<Scalars['String']['output']>;
|
||||
from_uuid?: Maybe<Scalars['String']['output']>;
|
||||
to_lat?: Maybe<Scalars['Float']['output']>;
|
||||
to_lon?: Maybe<Scalars['Float']['output']>;
|
||||
to_name?: Maybe<Scalars['String']['output']>;
|
||||
to_uuid?: Maybe<Scalars['String']['output']>;
|
||||
transport_type?: Maybe<Scalars['String']['output']>;
|
||||
travel_time_seconds?: Maybe<Scalars['Int']['output']>;
|
||||
};
|
||||
|
||||
/** Unique supplier from offers. */
|
||||
export type SupplierType = {
|
||||
__typename?: 'SupplierType';
|
||||
distanceKm?: Maybe<Scalars['Float']['output']>;
|
||||
export type Supplier = {
|
||||
__typename?: 'Supplier';
|
||||
distance_km?: Maybe<Scalars['Float']['output']>;
|
||||
latitude?: Maybe<Scalars['Float']['output']>;
|
||||
longitude?: Maybe<Scalars['Float']['output']>;
|
||||
name?: Maybe<Scalars['String']['output']>;
|
||||
@@ -464,7 +378,7 @@ export type GetAutoRouteQueryVariables = Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type GetAutoRouteQueryResult = { __typename?: 'Query', autoRoute?: { __typename?: 'RouteType', distanceKm?: number | null, geometry?: Record<string, unknown> | null } | null };
|
||||
export type GetAutoRouteQueryResult = { __typename?: 'Query', auto_route?: { __typename?: 'Route', distance_km?: number | null, geometry?: Record<string, unknown> | null } | null };
|
||||
|
||||
export type GetClusteredNodesQueryVariables = Exact<{
|
||||
west: Scalars['Float']['input'];
|
||||
@@ -474,25 +388,22 @@ export type GetClusteredNodesQueryVariables = Exact<{
|
||||
zoom: Scalars['Int']['input'];
|
||||
transportType?: InputMaybe<Scalars['String']['input']>;
|
||||
nodeType?: InputMaybe<Scalars['String']['input']>;
|
||||
productUuid?: InputMaybe<Scalars['String']['input']>;
|
||||
hubUuid?: InputMaybe<Scalars['String']['input']>;
|
||||
supplierUuid?: InputMaybe<Scalars['String']['input']>;
|
||||
}>;
|
||||
|
||||
|
||||
export type GetClusteredNodesQueryResult = { __typename?: 'Query', clusteredNodes?: Array<{ __typename?: 'ClusterPointType', id?: string | null, latitude?: number | null, longitude?: number | null, count?: number | null, expansionZoom?: number | null, name?: string | null } | null> | null };
|
||||
export type GetClusteredNodesQueryResult = { __typename?: 'Query', clustered_nodes: Array<{ __typename?: 'ClusterPoint', id?: string | null, latitude?: number | null, longitude?: number | null, count?: number | null, expansion_zoom?: number | null, name?: string | null }> };
|
||||
|
||||
export type GetHubCountriesQueryVariables = Exact<{ [key: string]: never; }>;
|
||||
|
||||
|
||||
export type GetHubCountriesQueryResult = { __typename?: 'Query', hubCountries?: Array<string | null> | null };
|
||||
export type GetHubCountriesQueryResult = { __typename?: 'Query', hub_countries: Array<string> };
|
||||
|
||||
export type GetNodeQueryVariables = Exact<{
|
||||
uuid: Scalars['String']['input'];
|
||||
}>;
|
||||
|
||||
|
||||
export type GetNodeQueryResult = { __typename?: 'Query', node?: { __typename?: 'NodeType', uuid?: string | null, name?: string | null, latitude?: number | null, longitude?: number | null, country?: string | null, countryCode?: string | null, transportTypes?: Array<string | null> | null } | null };
|
||||
export type GetNodeQueryResult = { __typename?: 'Query', node?: { __typename?: 'Node', uuid?: string | null, name?: string | null, latitude?: number | null, longitude?: number | null, country?: string | null, country_code?: string | null, transport_types?: Array<string | null> | null } | null };
|
||||
|
||||
export type GetRailRouteQueryVariables = Exact<{
|
||||
fromLat: Scalars['Float']['input'];
|
||||
@@ -502,7 +413,7 @@ export type GetRailRouteQueryVariables = Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type GetRailRouteQueryResult = { __typename?: 'Query', railRoute?: { __typename?: 'RouteType', distanceKm?: number | null, geometry?: Record<string, unknown> | null } | null };
|
||||
export type GetRailRouteQueryResult = { __typename?: 'Query', rail_route?: { __typename?: 'Route', distance_km?: number | null, geometry?: Record<string, unknown> | null } | null };
|
||||
|
||||
export type HubsListQueryVariables = Exact<{
|
||||
limit?: InputMaybe<Scalars['Int']['input']>;
|
||||
@@ -516,7 +427,7 @@ export type HubsListQueryVariables = Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type HubsListQueryResult = { __typename?: 'Query', hubsList?: Array<{ __typename?: 'NodeType', uuid?: string | null, name?: string | null, latitude?: number | null, longitude?: number | null, country?: string | null, countryCode?: string | null, transportTypes?: Array<string | null> | null } | null> | null };
|
||||
export type HubsListQueryResult = { __typename?: 'Query', hubs_list: Array<{ __typename?: 'Node', uuid?: string | null, name?: string | null, latitude?: number | null, longitude?: number | null, country?: string | null, country_code?: string | null, transport_types?: Array<string | null> | null }> };
|
||||
|
||||
export type NearestHubsQueryVariables = Exact<{
|
||||
lat: Scalars['Float']['input'];
|
||||
@@ -524,11 +435,10 @@ export type NearestHubsQueryVariables = Exact<{
|
||||
radius?: InputMaybe<Scalars['Float']['input']>;
|
||||
productUuid?: InputMaybe<Scalars['String']['input']>;
|
||||
limit?: InputMaybe<Scalars['Int']['input']>;
|
||||
useGraph?: InputMaybe<Scalars['Boolean']['input']>;
|
||||
}>;
|
||||
|
||||
|
||||
export type NearestHubsQueryResult = { __typename?: 'Query', nearestHubs?: Array<{ __typename?: 'NodeType', uuid?: string | null, name?: string | null, latitude?: number | null, longitude?: number | null, country?: string | null, countryCode?: string | null, transportTypes?: Array<string | null> | null } | null> | null };
|
||||
export type NearestHubsQueryResult = { __typename?: 'Query', nearest_hubs: Array<{ __typename?: 'Node', uuid?: string | null, name?: string | null, latitude?: number | null, longitude?: number | null, country?: string | null, country_code?: string | null, transport_types?: Array<string | null> | null }> };
|
||||
|
||||
export type NearestOffersQueryVariables = Exact<{
|
||||
lat: Scalars['Float']['input'];
|
||||
@@ -540,7 +450,7 @@ export type NearestOffersQueryVariables = Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type NearestOffersQueryResult = { __typename?: 'Query', nearestOffers?: Array<{ __typename?: 'OfferWithRouteType', uuid?: string | null, productUuid?: string | null, productName?: string | null, supplierUuid?: string | null, supplierName?: string | null, latitude?: number | null, longitude?: number | null, country?: string | null, countryCode?: string | null, pricePerUnit?: string | null, currency?: string | null, quantity?: string | null, unit?: string | null, distanceKm?: number | null, routes?: Array<{ __typename?: 'RoutePathType', totalDistanceKm?: number | null, totalTimeSeconds?: number | null, stages?: Array<{ __typename?: 'RouteStageType', fromUuid?: string | null, fromName?: string | null, fromLat?: number | null, fromLon?: number | null, toUuid?: string | null, toName?: string | null, toLat?: number | null, toLon?: number | null, distanceKm?: number | null, travelTimeSeconds?: number | null, transportType?: string | null } | null> | null } | null> | null } | null> | null };
|
||||
export type NearestOffersQueryResult = { __typename?: 'Query', nearest_offers: Array<{ __typename?: 'OfferWithRoute', uuid?: string | null, product_uuid?: string | null, product_name?: string | null, supplier_uuid?: string | null, supplier_name?: string | null, latitude?: number | null, longitude?: number | null, country?: string | null, country_code?: string | null, price_per_unit?: string | null, currency?: string | null, quantity?: string | null, unit?: string | null, distance_km?: number | null, routes?: Array<{ __typename?: 'RoutePath', total_distance_km?: number | null, total_time_seconds?: number | null, stages?: Array<{ __typename?: 'RouteStage', from_uuid?: string | null, from_name?: string | null, from_lat?: number | null, from_lon?: number | null, to_uuid?: string | null, to_name?: string | null, to_lat?: number | null, to_lon?: number | null, distance_km?: number | null, travel_time_seconds?: number | null, transport_type?: string | null } | null> | null } | null> | null }> };
|
||||
|
||||
export type NearestSuppliersQueryVariables = Exact<{
|
||||
lat: Scalars['Float']['input'];
|
||||
@@ -551,7 +461,7 @@ export type NearestSuppliersQueryVariables = Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type NearestSuppliersQueryResult = { __typename?: 'Query', nearestSuppliers?: Array<{ __typename?: 'SupplierType', uuid?: string | null } | null> | null };
|
||||
export type NearestSuppliersQueryResult = { __typename?: 'Query', nearest_suppliers: Array<{ __typename?: 'Supplier', uuid?: string | null }> };
|
||||
|
||||
export type ProductsListQueryVariables = Exact<{
|
||||
limit?: InputMaybe<Scalars['Int']['input']>;
|
||||
@@ -563,20 +473,7 @@ export type ProductsListQueryVariables = Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type ProductsListQueryResult = { __typename?: 'Query', productsList?: Array<{ __typename?: 'ProductType', uuid?: string | null, name?: string | null, offersCount?: number | null } | null> | null };
|
||||
|
||||
export type QuoteCalculationsQueryVariables = Exact<{
|
||||
lat: Scalars['Float']['input'];
|
||||
lon: Scalars['Float']['input'];
|
||||
radius?: InputMaybe<Scalars['Float']['input']>;
|
||||
productUuid?: InputMaybe<Scalars['String']['input']>;
|
||||
hubUuid?: InputMaybe<Scalars['String']['input']>;
|
||||
quantity?: InputMaybe<Scalars['Float']['input']>;
|
||||
limit?: InputMaybe<Scalars['Int']['input']>;
|
||||
}>;
|
||||
|
||||
|
||||
export type QuoteCalculationsQueryResult = { __typename?: 'Query', quoteCalculations?: Array<{ __typename?: 'OfferCalculationType', offers?: Array<{ __typename?: 'OfferWithRouteType', uuid?: string | null, productUuid?: string | null, productName?: string | null, supplierUuid?: string | null, supplierName?: string | null, latitude?: number | null, longitude?: number | null, country?: string | null, countryCode?: string | null, pricePerUnit?: string | null, currency?: string | null, quantity?: string | null, unit?: string | null, distanceKm?: number | null, routes?: Array<{ __typename?: 'RoutePathType', totalDistanceKm?: number | null, totalTimeSeconds?: number | null, stages?: Array<{ __typename?: 'RouteStageType', fromUuid?: string | null, fromName?: string | null, fromLat?: number | null, fromLon?: number | null, toUuid?: string | null, toName?: string | null, toLat?: number | null, toLon?: number | null, distanceKm?: number | null, travelTimeSeconds?: number | null, transportType?: string | null } | null> | null } | null> | null } | null> | null } | null> | null };
|
||||
export type ProductsListQueryResult = { __typename?: 'Query', products_list: Array<{ __typename?: 'Product', uuid?: string | null, name?: string | null, offers_count?: number | null }> };
|
||||
|
||||
export type SuppliersListQueryVariables = Exact<{
|
||||
limit?: InputMaybe<Scalars['Int']['input']>;
|
||||
@@ -589,18 +486,17 @@ export type SuppliersListQueryVariables = Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type SuppliersListQueryResult = { __typename?: 'Query', suppliersList?: Array<{ __typename?: 'SupplierType', uuid?: string | null, name?: string | null, latitude?: number | null, longitude?: number | null } | null> | null };
|
||||
export type SuppliersListQueryResult = { __typename?: 'Query', suppliers_list: Array<{ __typename?: 'Supplier', uuid?: string | null, name?: string | null, latitude?: number | null, longitude?: number | null }> };
|
||||
|
||||
|
||||
export const GetAutoRouteDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetAutoRoute"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"fromLat"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"fromLon"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"toLat"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"toLon"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"autoRoute"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"fromLat"},"value":{"kind":"Variable","name":{"kind":"Name","value":"fromLat"}}},{"kind":"Argument","name":{"kind":"Name","value":"fromLon"},"value":{"kind":"Variable","name":{"kind":"Name","value":"fromLon"}}},{"kind":"Argument","name":{"kind":"Name","value":"toLat"},"value":{"kind":"Variable","name":{"kind":"Name","value":"toLat"}}},{"kind":"Argument","name":{"kind":"Name","value":"toLon"},"value":{"kind":"Variable","name":{"kind":"Name","value":"toLon"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"distanceKm"}},{"kind":"Field","name":{"kind":"Name","value":"geometry"}}]}}]}}]} as unknown as DocumentNode<GetAutoRouteQueryResult, GetAutoRouteQueryVariables>;
|
||||
export const GetClusteredNodesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetClusteredNodes"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"west"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"south"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"east"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"north"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"zoom"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"transportType"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"nodeType"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"productUuid"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"hubUuid"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"supplierUuid"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"clusteredNodes"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"west"},"value":{"kind":"Variable","name":{"kind":"Name","value":"west"}}},{"kind":"Argument","name":{"kind":"Name","value":"south"},"value":{"kind":"Variable","name":{"kind":"Name","value":"south"}}},{"kind":"Argument","name":{"kind":"Name","value":"east"},"value":{"kind":"Variable","name":{"kind":"Name","value":"east"}}},{"kind":"Argument","name":{"kind":"Name","value":"north"},"value":{"kind":"Variable","name":{"kind":"Name","value":"north"}}},{"kind":"Argument","name":{"kind":"Name","value":"zoom"},"value":{"kind":"Variable","name":{"kind":"Name","value":"zoom"}}},{"kind":"Argument","name":{"kind":"Name","value":"transportType"},"value":{"kind":"Variable","name":{"kind":"Name","value":"transportType"}}},{"kind":"Argument","name":{"kind":"Name","value":"nodeType"},"value":{"kind":"Variable","name":{"kind":"Name","value":"nodeType"}}},{"kind":"Argument","name":{"kind":"Name","value":"productUuid"},"value":{"kind":"Variable","name":{"kind":"Name","value":"productUuid"}}},{"kind":"Argument","name":{"kind":"Name","value":"hubUuid"},"value":{"kind":"Variable","name":{"kind":"Name","value":"hubUuid"}}},{"kind":"Argument","name":{"kind":"Name","value":"supplierUuid"},"value":{"kind":"Variable","name":{"kind":"Name","value":"supplierUuid"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"latitude"}},{"kind":"Field","name":{"kind":"Name","value":"longitude"}},{"kind":"Field","name":{"kind":"Name","value":"count"}},{"kind":"Field","name":{"kind":"Name","value":"expansionZoom"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode<GetClusteredNodesQueryResult, GetClusteredNodesQueryVariables>;
|
||||
export const GetHubCountriesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetHubCountries"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"hubCountries"}}]}}]} as unknown as DocumentNode<GetHubCountriesQueryResult, GetHubCountriesQueryVariables>;
|
||||
export const GetNodeDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetNode"},"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":"node"},"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":"name"}},{"kind":"Field","name":{"kind":"Name","value":"latitude"}},{"kind":"Field","name":{"kind":"Name","value":"longitude"}},{"kind":"Field","name":{"kind":"Name","value":"country"}},{"kind":"Field","name":{"kind":"Name","value":"countryCode"}},{"kind":"Field","name":{"kind":"Name","value":"transportTypes"}}]}}]}}]} as unknown as DocumentNode<GetNodeQueryResult, GetNodeQueryVariables>;
|
||||
export const GetRailRouteDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetRailRoute"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"fromLat"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"fromLon"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"toLat"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"toLon"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"railRoute"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"fromLat"},"value":{"kind":"Variable","name":{"kind":"Name","value":"fromLat"}}},{"kind":"Argument","name":{"kind":"Name","value":"fromLon"},"value":{"kind":"Variable","name":{"kind":"Name","value":"fromLon"}}},{"kind":"Argument","name":{"kind":"Name","value":"toLat"},"value":{"kind":"Variable","name":{"kind":"Name","value":"toLat"}}},{"kind":"Argument","name":{"kind":"Name","value":"toLon"},"value":{"kind":"Variable","name":{"kind":"Name","value":"toLon"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"distanceKm"}},{"kind":"Field","name":{"kind":"Name","value":"geometry"}}]}}]}}]} as unknown as DocumentNode<GetRailRouteQueryResult, GetRailRouteQueryVariables>;
|
||||
export const HubsListDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"HubsList"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"offset"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"country"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"transportType"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"west"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"south"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"east"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"north"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"hubsList"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}},{"kind":"Argument","name":{"kind":"Name","value":"offset"},"value":{"kind":"Variable","name":{"kind":"Name","value":"offset"}}},{"kind":"Argument","name":{"kind":"Name","value":"country"},"value":{"kind":"Variable","name":{"kind":"Name","value":"country"}}},{"kind":"Argument","name":{"kind":"Name","value":"transportType"},"value":{"kind":"Variable","name":{"kind":"Name","value":"transportType"}}},{"kind":"Argument","name":{"kind":"Name","value":"west"},"value":{"kind":"Variable","name":{"kind":"Name","value":"west"}}},{"kind":"Argument","name":{"kind":"Name","value":"south"},"value":{"kind":"Variable","name":{"kind":"Name","value":"south"}}},{"kind":"Argument","name":{"kind":"Name","value":"east"},"value":{"kind":"Variable","name":{"kind":"Name","value":"east"}}},{"kind":"Argument","name":{"kind":"Name","value":"north"},"value":{"kind":"Variable","name":{"kind":"Name","value":"north"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"uuid"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"latitude"}},{"kind":"Field","name":{"kind":"Name","value":"longitude"}},{"kind":"Field","name":{"kind":"Name","value":"country"}},{"kind":"Field","name":{"kind":"Name","value":"countryCode"}},{"kind":"Field","name":{"kind":"Name","value":"transportTypes"}}]}}]}}]} as unknown as DocumentNode<HubsListQueryResult, HubsListQueryVariables>;
|
||||
export const NearestHubsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"NearestHubs"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"lat"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"lon"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"radius"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"productUuid"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"useGraph"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nearestHubs"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"lat"},"value":{"kind":"Variable","name":{"kind":"Name","value":"lat"}}},{"kind":"Argument","name":{"kind":"Name","value":"lon"},"value":{"kind":"Variable","name":{"kind":"Name","value":"lon"}}},{"kind":"Argument","name":{"kind":"Name","value":"radius"},"value":{"kind":"Variable","name":{"kind":"Name","value":"radius"}}},{"kind":"Argument","name":{"kind":"Name","value":"productUuid"},"value":{"kind":"Variable","name":{"kind":"Name","value":"productUuid"}}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}},{"kind":"Argument","name":{"kind":"Name","value":"useGraph"},"value":{"kind":"Variable","name":{"kind":"Name","value":"useGraph"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"uuid"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"latitude"}},{"kind":"Field","name":{"kind":"Name","value":"longitude"}},{"kind":"Field","name":{"kind":"Name","value":"country"}},{"kind":"Field","name":{"kind":"Name","value":"countryCode"}},{"kind":"Field","name":{"kind":"Name","value":"transportTypes"}}]}}]}}]} as unknown as DocumentNode<NearestHubsQueryResult, NearestHubsQueryVariables>;
|
||||
export const NearestOffersDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"NearestOffers"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"lat"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"lon"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"radius"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"productUuid"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"hubUuid"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nearestOffers"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"lat"},"value":{"kind":"Variable","name":{"kind":"Name","value":"lat"}}},{"kind":"Argument","name":{"kind":"Name","value":"lon"},"value":{"kind":"Variable","name":{"kind":"Name","value":"lon"}}},{"kind":"Argument","name":{"kind":"Name","value":"radius"},"value":{"kind":"Variable","name":{"kind":"Name","value":"radius"}}},{"kind":"Argument","name":{"kind":"Name","value":"productUuid"},"value":{"kind":"Variable","name":{"kind":"Name","value":"productUuid"}}},{"kind":"Argument","name":{"kind":"Name","value":"hubUuid"},"value":{"kind":"Variable","name":{"kind":"Name","value":"hubUuid"}}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"uuid"}},{"kind":"Field","name":{"kind":"Name","value":"productUuid"}},{"kind":"Field","name":{"kind":"Name","value":"productName"}},{"kind":"Field","name":{"kind":"Name","value":"supplierUuid"}},{"kind":"Field","name":{"kind":"Name","value":"supplierName"}},{"kind":"Field","name":{"kind":"Name","value":"latitude"}},{"kind":"Field","name":{"kind":"Name","value":"longitude"}},{"kind":"Field","name":{"kind":"Name","value":"country"}},{"kind":"Field","name":{"kind":"Name","value":"countryCode"}},{"kind":"Field","name":{"kind":"Name","value":"pricePerUnit"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"unit"}},{"kind":"Field","name":{"kind":"Name","value":"distanceKm"}},{"kind":"Field","name":{"kind":"Name","value":"routes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalDistanceKm"}},{"kind":"Field","name":{"kind":"Name","value":"totalTimeSeconds"}},{"kind":"Field","name":{"kind":"Name","value":"stages"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fromUuid"}},{"kind":"Field","name":{"kind":"Name","value":"fromName"}},{"kind":"Field","name":{"kind":"Name","value":"fromLat"}},{"kind":"Field","name":{"kind":"Name","value":"fromLon"}},{"kind":"Field","name":{"kind":"Name","value":"toUuid"}},{"kind":"Field","name":{"kind":"Name","value":"toName"}},{"kind":"Field","name":{"kind":"Name","value":"toLat"}},{"kind":"Field","name":{"kind":"Name","value":"toLon"}},{"kind":"Field","name":{"kind":"Name","value":"distanceKm"}},{"kind":"Field","name":{"kind":"Name","value":"travelTimeSeconds"}},{"kind":"Field","name":{"kind":"Name","value":"transportType"}}]}}]}}]}}]}}]} as unknown as DocumentNode<NearestOffersQueryResult, NearestOffersQueryVariables>;
|
||||
export const NearestSuppliersDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"NearestSuppliers"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"lat"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"lon"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"radius"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"productUuid"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nearestSuppliers"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"lat"},"value":{"kind":"Variable","name":{"kind":"Name","value":"lat"}}},{"kind":"Argument","name":{"kind":"Name","value":"lon"},"value":{"kind":"Variable","name":{"kind":"Name","value":"lon"}}},{"kind":"Argument","name":{"kind":"Name","value":"radius"},"value":{"kind":"Variable","name":{"kind":"Name","value":"radius"}}},{"kind":"Argument","name":{"kind":"Name","value":"productUuid"},"value":{"kind":"Variable","name":{"kind":"Name","value":"productUuid"}}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"uuid"}}]}}]}}]} as unknown as DocumentNode<NearestSuppliersQueryResult, NearestSuppliersQueryVariables>;
|
||||
export const ProductsListDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ProductsList"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"offset"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"west"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"south"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"east"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"north"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"productsList"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}},{"kind":"Argument","name":{"kind":"Name","value":"offset"},"value":{"kind":"Variable","name":{"kind":"Name","value":"offset"}}},{"kind":"Argument","name":{"kind":"Name","value":"west"},"value":{"kind":"Variable","name":{"kind":"Name","value":"west"}}},{"kind":"Argument","name":{"kind":"Name","value":"south"},"value":{"kind":"Variable","name":{"kind":"Name","value":"south"}}},{"kind":"Argument","name":{"kind":"Name","value":"east"},"value":{"kind":"Variable","name":{"kind":"Name","value":"east"}}},{"kind":"Argument","name":{"kind":"Name","value":"north"},"value":{"kind":"Variable","name":{"kind":"Name","value":"north"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"uuid"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"offersCount"}}]}}]}}]} as unknown as DocumentNode<ProductsListQueryResult, ProductsListQueryVariables>;
|
||||
export const QuoteCalculationsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"QuoteCalculations"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"lat"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"lon"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"radius"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"productUuid"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"hubUuid"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"quantity"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"quoteCalculations"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"lat"},"value":{"kind":"Variable","name":{"kind":"Name","value":"lat"}}},{"kind":"Argument","name":{"kind":"Name","value":"lon"},"value":{"kind":"Variable","name":{"kind":"Name","value":"lon"}}},{"kind":"Argument","name":{"kind":"Name","value":"radius"},"value":{"kind":"Variable","name":{"kind":"Name","value":"radius"}}},{"kind":"Argument","name":{"kind":"Name","value":"productUuid"},"value":{"kind":"Variable","name":{"kind":"Name","value":"productUuid"}}},{"kind":"Argument","name":{"kind":"Name","value":"hubUuid"},"value":{"kind":"Variable","name":{"kind":"Name","value":"hubUuid"}}},{"kind":"Argument","name":{"kind":"Name","value":"quantity"},"value":{"kind":"Variable","name":{"kind":"Name","value":"quantity"}}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"offers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"uuid"}},{"kind":"Field","name":{"kind":"Name","value":"productUuid"}},{"kind":"Field","name":{"kind":"Name","value":"productName"}},{"kind":"Field","name":{"kind":"Name","value":"supplierUuid"}},{"kind":"Field","name":{"kind":"Name","value":"supplierName"}},{"kind":"Field","name":{"kind":"Name","value":"latitude"}},{"kind":"Field","name":{"kind":"Name","value":"longitude"}},{"kind":"Field","name":{"kind":"Name","value":"country"}},{"kind":"Field","name":{"kind":"Name","value":"countryCode"}},{"kind":"Field","name":{"kind":"Name","value":"pricePerUnit"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"unit"}},{"kind":"Field","name":{"kind":"Name","value":"distanceKm"}},{"kind":"Field","name":{"kind":"Name","value":"routes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalDistanceKm"}},{"kind":"Field","name":{"kind":"Name","value":"totalTimeSeconds"}},{"kind":"Field","name":{"kind":"Name","value":"stages"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fromUuid"}},{"kind":"Field","name":{"kind":"Name","value":"fromName"}},{"kind":"Field","name":{"kind":"Name","value":"fromLat"}},{"kind":"Field","name":{"kind":"Name","value":"fromLon"}},{"kind":"Field","name":{"kind":"Name","value":"toUuid"}},{"kind":"Field","name":{"kind":"Name","value":"toName"}},{"kind":"Field","name":{"kind":"Name","value":"toLat"}},{"kind":"Field","name":{"kind":"Name","value":"toLon"}},{"kind":"Field","name":{"kind":"Name","value":"distanceKm"}},{"kind":"Field","name":{"kind":"Name","value":"travelTimeSeconds"}},{"kind":"Field","name":{"kind":"Name","value":"transportType"}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode<QuoteCalculationsQueryResult, QuoteCalculationsQueryVariables>;
|
||||
export const SuppliersListDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"SuppliersList"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"offset"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"country"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"west"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"south"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"east"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"north"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"suppliersList"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}},{"kind":"Argument","name":{"kind":"Name","value":"offset"},"value":{"kind":"Variable","name":{"kind":"Name","value":"offset"}}},{"kind":"Argument","name":{"kind":"Name","value":"country"},"value":{"kind":"Variable","name":{"kind":"Name","value":"country"}}},{"kind":"Argument","name":{"kind":"Name","value":"west"},"value":{"kind":"Variable","name":{"kind":"Name","value":"west"}}},{"kind":"Argument","name":{"kind":"Name","value":"south"},"value":{"kind":"Variable","name":{"kind":"Name","value":"south"}}},{"kind":"Argument","name":{"kind":"Name","value":"east"},"value":{"kind":"Variable","name":{"kind":"Name","value":"east"}}},{"kind":"Argument","name":{"kind":"Name","value":"north"},"value":{"kind":"Variable","name":{"kind":"Name","value":"north"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"uuid"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"latitude"}},{"kind":"Field","name":{"kind":"Name","value":"longitude"}}]}}]}}]} as unknown as DocumentNode<SuppliersListQueryResult, SuppliersListQueryVariables>;
|
||||
export const GetAutoRouteDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetAutoRoute"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"fromLat"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"fromLon"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"toLat"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"toLon"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"auto_route"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"from_lat"},"value":{"kind":"Variable","name":{"kind":"Name","value":"fromLat"}}},{"kind":"Argument","name":{"kind":"Name","value":"from_lon"},"value":{"kind":"Variable","name":{"kind":"Name","value":"fromLon"}}},{"kind":"Argument","name":{"kind":"Name","value":"to_lat"},"value":{"kind":"Variable","name":{"kind":"Name","value":"toLat"}}},{"kind":"Argument","name":{"kind":"Name","value":"to_lon"},"value":{"kind":"Variable","name":{"kind":"Name","value":"toLon"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"distance_km"}},{"kind":"Field","name":{"kind":"Name","value":"geometry"}}]}}]}}]} as unknown as DocumentNode<GetAutoRouteQueryResult, GetAutoRouteQueryVariables>;
|
||||
export const GetClusteredNodesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetClusteredNodes"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"west"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"south"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"east"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"north"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"zoom"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"transportType"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"nodeType"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"clustered_nodes"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"west"},"value":{"kind":"Variable","name":{"kind":"Name","value":"west"}}},{"kind":"Argument","name":{"kind":"Name","value":"south"},"value":{"kind":"Variable","name":{"kind":"Name","value":"south"}}},{"kind":"Argument","name":{"kind":"Name","value":"east"},"value":{"kind":"Variable","name":{"kind":"Name","value":"east"}}},{"kind":"Argument","name":{"kind":"Name","value":"north"},"value":{"kind":"Variable","name":{"kind":"Name","value":"north"}}},{"kind":"Argument","name":{"kind":"Name","value":"zoom"},"value":{"kind":"Variable","name":{"kind":"Name","value":"zoom"}}},{"kind":"Argument","name":{"kind":"Name","value":"transport_type"},"value":{"kind":"Variable","name":{"kind":"Name","value":"transportType"}}},{"kind":"Argument","name":{"kind":"Name","value":"node_type"},"value":{"kind":"Variable","name":{"kind":"Name","value":"nodeType"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"latitude"}},{"kind":"Field","name":{"kind":"Name","value":"longitude"}},{"kind":"Field","name":{"kind":"Name","value":"count"}},{"kind":"Field","name":{"kind":"Name","value":"expansion_zoom"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode<GetClusteredNodesQueryResult, GetClusteredNodesQueryVariables>;
|
||||
export const GetHubCountriesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetHubCountries"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"hub_countries"}}]}}]} as unknown as DocumentNode<GetHubCountriesQueryResult, GetHubCountriesQueryVariables>;
|
||||
export const GetNodeDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetNode"},"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":"node"},"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":"name"}},{"kind":"Field","name":{"kind":"Name","value":"latitude"}},{"kind":"Field","name":{"kind":"Name","value":"longitude"}},{"kind":"Field","name":{"kind":"Name","value":"country"}},{"kind":"Field","name":{"kind":"Name","value":"country_code"}},{"kind":"Field","name":{"kind":"Name","value":"transport_types"}}]}}]}}]} as unknown as DocumentNode<GetNodeQueryResult, GetNodeQueryVariables>;
|
||||
export const GetRailRouteDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetRailRoute"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"fromLat"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"fromLon"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"toLat"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"toLon"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"rail_route"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"from_lat"},"value":{"kind":"Variable","name":{"kind":"Name","value":"fromLat"}}},{"kind":"Argument","name":{"kind":"Name","value":"from_lon"},"value":{"kind":"Variable","name":{"kind":"Name","value":"fromLon"}}},{"kind":"Argument","name":{"kind":"Name","value":"to_lat"},"value":{"kind":"Variable","name":{"kind":"Name","value":"toLat"}}},{"kind":"Argument","name":{"kind":"Name","value":"to_lon"},"value":{"kind":"Variable","name":{"kind":"Name","value":"toLon"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"distance_km"}},{"kind":"Field","name":{"kind":"Name","value":"geometry"}}]}}]}}]} as unknown as DocumentNode<GetRailRouteQueryResult, GetRailRouteQueryVariables>;
|
||||
export const HubsListDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"HubsList"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"offset"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"country"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"transportType"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"west"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"south"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"east"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"north"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"hubs_list"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}},{"kind":"Argument","name":{"kind":"Name","value":"offset"},"value":{"kind":"Variable","name":{"kind":"Name","value":"offset"}}},{"kind":"Argument","name":{"kind":"Name","value":"country"},"value":{"kind":"Variable","name":{"kind":"Name","value":"country"}}},{"kind":"Argument","name":{"kind":"Name","value":"transport_type"},"value":{"kind":"Variable","name":{"kind":"Name","value":"transportType"}}},{"kind":"Argument","name":{"kind":"Name","value":"west"},"value":{"kind":"Variable","name":{"kind":"Name","value":"west"}}},{"kind":"Argument","name":{"kind":"Name","value":"south"},"value":{"kind":"Variable","name":{"kind":"Name","value":"south"}}},{"kind":"Argument","name":{"kind":"Name","value":"east"},"value":{"kind":"Variable","name":{"kind":"Name","value":"east"}}},{"kind":"Argument","name":{"kind":"Name","value":"north"},"value":{"kind":"Variable","name":{"kind":"Name","value":"north"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"uuid"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"latitude"}},{"kind":"Field","name":{"kind":"Name","value":"longitude"}},{"kind":"Field","name":{"kind":"Name","value":"country"}},{"kind":"Field","name":{"kind":"Name","value":"country_code"}},{"kind":"Field","name":{"kind":"Name","value":"transport_types"}}]}}]}}]} as unknown as DocumentNode<HubsListQueryResult, HubsListQueryVariables>;
|
||||
export const NearestHubsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"NearestHubs"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"lat"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"lon"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"radius"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"productUuid"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nearest_hubs"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"lat"},"value":{"kind":"Variable","name":{"kind":"Name","value":"lat"}}},{"kind":"Argument","name":{"kind":"Name","value":"lon"},"value":{"kind":"Variable","name":{"kind":"Name","value":"lon"}}},{"kind":"Argument","name":{"kind":"Name","value":"radius"},"value":{"kind":"Variable","name":{"kind":"Name","value":"radius"}}},{"kind":"Argument","name":{"kind":"Name","value":"product_uuid"},"value":{"kind":"Variable","name":{"kind":"Name","value":"productUuid"}}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"uuid"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"latitude"}},{"kind":"Field","name":{"kind":"Name","value":"longitude"}},{"kind":"Field","name":{"kind":"Name","value":"country"}},{"kind":"Field","name":{"kind":"Name","value":"country_code"}},{"kind":"Field","name":{"kind":"Name","value":"transport_types"}}]}}]}}]} as unknown as DocumentNode<NearestHubsQueryResult, NearestHubsQueryVariables>;
|
||||
export const NearestOffersDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"NearestOffers"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"lat"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"lon"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"radius"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"productUuid"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"hubUuid"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nearest_offers"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"lat"},"value":{"kind":"Variable","name":{"kind":"Name","value":"lat"}}},{"kind":"Argument","name":{"kind":"Name","value":"lon"},"value":{"kind":"Variable","name":{"kind":"Name","value":"lon"}}},{"kind":"Argument","name":{"kind":"Name","value":"radius"},"value":{"kind":"Variable","name":{"kind":"Name","value":"radius"}}},{"kind":"Argument","name":{"kind":"Name","value":"product_uuid"},"value":{"kind":"Variable","name":{"kind":"Name","value":"productUuid"}}},{"kind":"Argument","name":{"kind":"Name","value":"hub_uuid"},"value":{"kind":"Variable","name":{"kind":"Name","value":"hubUuid"}}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"uuid"}},{"kind":"Field","name":{"kind":"Name","value":"product_uuid"}},{"kind":"Field","name":{"kind":"Name","value":"product_name"}},{"kind":"Field","name":{"kind":"Name","value":"supplier_uuid"}},{"kind":"Field","name":{"kind":"Name","value":"supplier_name"}},{"kind":"Field","name":{"kind":"Name","value":"latitude"}},{"kind":"Field","name":{"kind":"Name","value":"longitude"}},{"kind":"Field","name":{"kind":"Name","value":"country"}},{"kind":"Field","name":{"kind":"Name","value":"country_code"}},{"kind":"Field","name":{"kind":"Name","value":"price_per_unit"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"unit"}},{"kind":"Field","name":{"kind":"Name","value":"distance_km"}},{"kind":"Field","name":{"kind":"Name","value":"routes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total_distance_km"}},{"kind":"Field","name":{"kind":"Name","value":"total_time_seconds"}},{"kind":"Field","name":{"kind":"Name","value":"stages"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"from_uuid"}},{"kind":"Field","name":{"kind":"Name","value":"from_name"}},{"kind":"Field","name":{"kind":"Name","value":"from_lat"}},{"kind":"Field","name":{"kind":"Name","value":"from_lon"}},{"kind":"Field","name":{"kind":"Name","value":"to_uuid"}},{"kind":"Field","name":{"kind":"Name","value":"to_name"}},{"kind":"Field","name":{"kind":"Name","value":"to_lat"}},{"kind":"Field","name":{"kind":"Name","value":"to_lon"}},{"kind":"Field","name":{"kind":"Name","value":"distance_km"}},{"kind":"Field","name":{"kind":"Name","value":"travel_time_seconds"}},{"kind":"Field","name":{"kind":"Name","value":"transport_type"}}]}}]}}]}}]}}]} as unknown as DocumentNode<NearestOffersQueryResult, NearestOffersQueryVariables>;
|
||||
export const NearestSuppliersDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"NearestSuppliers"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"lat"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"lon"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"radius"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"productUuid"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nearest_suppliers"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"lat"},"value":{"kind":"Variable","name":{"kind":"Name","value":"lat"}}},{"kind":"Argument","name":{"kind":"Name","value":"lon"},"value":{"kind":"Variable","name":{"kind":"Name","value":"lon"}}},{"kind":"Argument","name":{"kind":"Name","value":"radius"},"value":{"kind":"Variable","name":{"kind":"Name","value":"radius"}}},{"kind":"Argument","name":{"kind":"Name","value":"product_uuid"},"value":{"kind":"Variable","name":{"kind":"Name","value":"productUuid"}}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"uuid"}}]}}]}}]} as unknown as DocumentNode<NearestSuppliersQueryResult, NearestSuppliersQueryVariables>;
|
||||
export const ProductsListDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ProductsList"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"offset"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"west"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"south"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"east"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"north"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"products_list"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}},{"kind":"Argument","name":{"kind":"Name","value":"offset"},"value":{"kind":"Variable","name":{"kind":"Name","value":"offset"}}},{"kind":"Argument","name":{"kind":"Name","value":"west"},"value":{"kind":"Variable","name":{"kind":"Name","value":"west"}}},{"kind":"Argument","name":{"kind":"Name","value":"south"},"value":{"kind":"Variable","name":{"kind":"Name","value":"south"}}},{"kind":"Argument","name":{"kind":"Name","value":"east"},"value":{"kind":"Variable","name":{"kind":"Name","value":"east"}}},{"kind":"Argument","name":{"kind":"Name","value":"north"},"value":{"kind":"Variable","name":{"kind":"Name","value":"north"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"uuid"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"offers_count"}}]}}]}}]} as unknown as DocumentNode<ProductsListQueryResult, ProductsListQueryVariables>;
|
||||
export const SuppliersListDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"SuppliersList"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"offset"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"country"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"west"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"south"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"east"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"north"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"suppliers_list"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}},{"kind":"Argument","name":{"kind":"Name","value":"offset"},"value":{"kind":"Variable","name":{"kind":"Name","value":"offset"}}},{"kind":"Argument","name":{"kind":"Name","value":"country"},"value":{"kind":"Variable","name":{"kind":"Name","value":"country"}}},{"kind":"Argument","name":{"kind":"Name","value":"west"},"value":{"kind":"Variable","name":{"kind":"Name","value":"west"}}},{"kind":"Argument","name":{"kind":"Name","value":"south"},"value":{"kind":"Variable","name":{"kind":"Name","value":"south"}}},{"kind":"Argument","name":{"kind":"Name","value":"east"},"value":{"kind":"Variable","name":{"kind":"Name","value":"east"}}},{"kind":"Argument","name":{"kind":"Name","value":"north"},"value":{"kind":"Variable","name":{"kind":"Name","value":"north"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"uuid"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"latitude"}},{"kind":"Field","name":{"kind":"Name","value":"longitude"}}]}}]}}]} as unknown as DocumentNode<SuppliersListQueryResult, SuppliersListQueryVariables>;
|
||||
@@ -13,12 +13,10 @@ export type Scalars = {
|
||||
Boolean: { input: boolean; output: boolean; }
|
||||
Int: { input: number; output: number; }
|
||||
Float: { input: number; output: number; }
|
||||
DateTime: { input: string; output: string; }
|
||||
};
|
||||
|
||||
/** Full company data (requires auth). */
|
||||
export type CompanyFullType = {
|
||||
__typename?: 'CompanyFullType';
|
||||
export type CompanyFull = {
|
||||
__typename?: 'CompanyFull';
|
||||
activities?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
||||
address?: Maybe<Scalars['String']['output']>;
|
||||
capital?: Maybe<Scalars['String']['output']>;
|
||||
@@ -26,45 +24,35 @@ export type CompanyFullType = {
|
||||
director?: Maybe<Scalars['String']['output']>;
|
||||
inn?: Maybe<Scalars['String']['output']>;
|
||||
isActive?: Maybe<Scalars['Boolean']['output']>;
|
||||
lastUpdated?: Maybe<Scalars['DateTime']['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']>>>;
|
||||
};
|
||||
|
||||
/** Public company data (teaser). */
|
||||
export type CompanyTeaserType = {
|
||||
__typename?: 'CompanyTeaserType';
|
||||
/** Company type: ООО, АО, ИП, etc. */
|
||||
export type CompanyTeaser = {
|
||||
__typename?: 'CompanyTeaser';
|
||||
companyType?: Maybe<Scalars['String']['output']>;
|
||||
/** Is company active */
|
||||
isActive?: Maybe<Scalars['Boolean']['output']>;
|
||||
/** Year of registration */
|
||||
registrationYear?: Maybe<Scalars['Int']['output']>;
|
||||
/** Number of data sources */
|
||||
sourcesCount?: Maybe<Scalars['Int']['output']>;
|
||||
};
|
||||
|
||||
/** Public queries - no authentication required. */
|
||||
export type PublicQuery = {
|
||||
__typename?: 'PublicQuery';
|
||||
health?: Maybe<Scalars['String']['output']>;
|
||||
/** Get full KYC profile data by UUID (requires auth) */
|
||||
kycProfileFull?: Maybe<CompanyFullType>;
|
||||
/** Get public KYC profile teaser data by UUID */
|
||||
kycProfileTeaser?: Maybe<CompanyTeaserType>;
|
||||
export type Query = {
|
||||
__typename?: 'Query';
|
||||
health: Scalars['String']['output'];
|
||||
kycProfileFull?: Maybe<CompanyFull>;
|
||||
kycProfileTeaser?: Maybe<CompanyTeaser>;
|
||||
};
|
||||
|
||||
|
||||
/** Public queries - no authentication required. */
|
||||
export type PublicQueryKycProfileFullArgs = {
|
||||
export type QueryKycProfileFullArgs = {
|
||||
profileUuid: Scalars['String']['input'];
|
||||
};
|
||||
|
||||
|
||||
/** Public queries - no authentication required. */
|
||||
export type PublicQueryKycProfileTeaserArgs = {
|
||||
export type QueryKycProfileTeaserArgs = {
|
||||
profileUuid: Scalars['String']['input'];
|
||||
};
|
||||
|
||||
@@ -73,14 +61,14 @@ export type GetKycProfileFullQueryVariables = Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type GetKycProfileFullQueryResult = { __typename?: 'PublicQuery', kycProfileFull?: { __typename?: 'CompanyFullType', 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 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?: 'PublicQuery', kycProfileTeaser?: { __typename?: 'CompanyTeaserType', companyType?: string | null, registrationYear?: number | null, isActive?: boolean | null, sourcesCount?: number | null } | null };
|
||||
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>;
|
||||
|
||||
Reference in New Issue
Block a user