613 lines
53 KiB
TypeScript
613 lines
53 KiB
TypeScript
import type { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
|
|
export type Maybe<T> = T | null;
|
|
export type InputMaybe<T> = Maybe<T>;
|
|
export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
|
|
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };
|
|
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };
|
|
export type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> = { [_ in K]?: never };
|
|
export type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };
|
|
/** All built-in and custom scalars, mapped to their actual values */
|
|
export type Scalars = {
|
|
ID: { input: string; output: string; }
|
|
String: { input: string; output: string; }
|
|
Boolean: { input: boolean; output: boolean; }
|
|
Int: { input: number; output: number; }
|
|
Float: { input: number; output: number; }
|
|
/**
|
|
* Allows use of a JSON String for input / output from the GraphQL schema.
|
|
*
|
|
* Use of this type is *not recommended* as you lose the benefits of having a defined, static
|
|
* schema (one of the key benefits of GraphQL).
|
|
*/
|
|
JSONString: { 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 */
|
|
count?: Maybe<Scalars['Int']['output']>;
|
|
/** Zoom level to expand cluster */
|
|
expansionZoom?: Maybe<Scalars['Int']['output']>;
|
|
/** UUID for points, 'cluster-N' for clusters */
|
|
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']>;
|
|
};
|
|
|
|
/** 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';
|
|
country?: Maybe<Scalars['String']['output']>;
|
|
countryCode?: Maybe<Scalars['String']['output']>;
|
|
distanceKm?: Maybe<Scalars['Float']['output']>;
|
|
edges?: Maybe<Array<Maybe<EdgeType>>>;
|
|
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']>>>;
|
|
uuid?: Maybe<Scalars['String']['output']>;
|
|
};
|
|
|
|
/** Calculation result that may include one or multiple offers. */
|
|
export type OfferCalculationType = {
|
|
__typename?: 'OfferCalculationType';
|
|
offers?: Maybe<Array<Maybe<OfferWithRouteType>>>;
|
|
};
|
|
|
|
/** Offer node with location and product info. */
|
|
export type OfferNodeType = {
|
|
__typename?: 'OfferNodeType';
|
|
country?: Maybe<Scalars['String']['output']>;
|
|
countryCode?: Maybe<Scalars['String']['output']>;
|
|
currency?: Maybe<Scalars['String']['output']>;
|
|
distanceKm?: 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']>;
|
|
quantity?: Maybe<Scalars['String']['output']>;
|
|
supplierName?: Maybe<Scalars['String']['output']>;
|
|
supplierUuid?: 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';
|
|
country?: Maybe<Scalars['String']['output']>;
|
|
countryCode?: Maybe<Scalars['String']['output']>;
|
|
currency?: Maybe<Scalars['String']['output']>;
|
|
distanceKm?: 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']>;
|
|
quantity?: Maybe<Scalars['String']['output']>;
|
|
routes?: Maybe<Array<Maybe<RoutePathType>>>;
|
|
supplierName?: Maybe<Scalars['String']['output']>;
|
|
supplierUuid?: 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';
|
|
name?: Maybe<Scalars['String']['output']>;
|
|
/** Number of offers for this product */
|
|
offersCount?: Maybe<Scalars['Int']['output']>;
|
|
uuid?: Maybe<Scalars['String']['output']>;
|
|
};
|
|
|
|
/** Root query. */
|
|
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 route from a specific offer to hub */
|
|
offerToHub?: Maybe<ProductRouteOptionType>;
|
|
/** Get offers for a product with routes to hub (auto → rail* → auto) */
|
|
offersByHub?: Maybe<Array<Maybe<ProductRouteOptionType>>>;
|
|
/** 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 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>>>;
|
|
};
|
|
|
|
|
|
/** Root query. */
|
|
export type QueryAutoRouteArgs = {
|
|
fromLat: Scalars['Float']['input'];
|
|
fromLon: Scalars['Float']['input'];
|
|
toLat: Scalars['Float']['input'];
|
|
toLon: Scalars['Float']['input'];
|
|
};
|
|
|
|
|
|
/** Root query. */
|
|
export type QueryClusteredNodesArgs = {
|
|
east: Scalars['Float']['input'];
|
|
nodeType?: InputMaybe<Scalars['String']['input']>;
|
|
north: Scalars['Float']['input'];
|
|
south: Scalars['Float']['input'];
|
|
transportType?: 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']>;
|
|
};
|
|
|
|
|
|
/** Root query. */
|
|
export type QueryHubsListArgs = {
|
|
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']>;
|
|
west?: InputMaybe<Scalars['Float']['input']>;
|
|
};
|
|
|
|
|
|
/** Root query. */
|
|
export type QueryHubsNearOfferArgs = {
|
|
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
offerUuid: Scalars['String']['input'];
|
|
};
|
|
|
|
|
|
/** Root query. */
|
|
export type QueryNearestHubsArgs = {
|
|
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']>;
|
|
};
|
|
|
|
|
|
/** 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']>;
|
|
radius?: InputMaybe<Scalars['Float']['input']>;
|
|
};
|
|
|
|
|
|
/** Root query. */
|
|
export type QueryNearestSuppliersArgs = {
|
|
lat: Scalars['Float']['input'];
|
|
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
lon: Scalars['Float']['input'];
|
|
productUuid?: 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']>;
|
|
uuid: Scalars['String']['input'];
|
|
};
|
|
|
|
|
|
/** Root query. */
|
|
export type QueryNodesArgs = {
|
|
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']>;
|
|
search?: InputMaybe<Scalars['String']['input']>;
|
|
south?: InputMaybe<Scalars['Float']['input']>;
|
|
transportType?: InputMaybe<Scalars['String']['input']>;
|
|
west?: InputMaybe<Scalars['Float']['input']>;
|
|
};
|
|
|
|
|
|
/** Root query. */
|
|
export type QueryNodesCountArgs = {
|
|
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']>;
|
|
west?: InputMaybe<Scalars['Float']['input']>;
|
|
};
|
|
|
|
|
|
/** Root query. */
|
|
export type QueryOfferToHubArgs = {
|
|
hubUuid: Scalars['String']['input'];
|
|
offerUuid: Scalars['String']['input'];
|
|
};
|
|
|
|
|
|
/** Root query. */
|
|
export type QueryOffersByHubArgs = {
|
|
hubUuid: Scalars['String']['input'];
|
|
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
productUuid: Scalars['String']['input'];
|
|
};
|
|
|
|
|
|
/** Root query. */
|
|
export type QueryOffersByProductArgs = {
|
|
productUuid: Scalars['String']['input'];
|
|
};
|
|
|
|
|
|
/** Root query. */
|
|
export type QueryOffersBySupplierProductArgs = {
|
|
productUuid: Scalars['String']['input'];
|
|
supplierUuid: Scalars['String']['input'];
|
|
};
|
|
|
|
|
|
/** Root query. */
|
|
export type QueryProductsBySupplierArgs = {
|
|
supplierUuid: Scalars['String']['input'];
|
|
};
|
|
|
|
|
|
/** Root query. */
|
|
export type QueryProductsListArgs = {
|
|
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']>;
|
|
west?: InputMaybe<Scalars['Float']['input']>;
|
|
};
|
|
|
|
|
|
/** Root query. */
|
|
export type QueryProductsNearHubArgs = {
|
|
hubUuid: Scalars['String']['input'];
|
|
radiusKm?: 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']>;
|
|
};
|
|
|
|
|
|
/** 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 = {
|
|
lat: Scalars['Float']['input'];
|
|
lon: Scalars['Float']['input'];
|
|
offerUuid: Scalars['String']['input'];
|
|
};
|
|
|
|
|
|
/** Root query. */
|
|
export type QuerySuppliersForProductArgs = {
|
|
productUuid: Scalars['String']['input'];
|
|
};
|
|
|
|
|
|
/** Root query. */
|
|
export type QuerySuppliersListArgs = {
|
|
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']>;
|
|
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']>;
|
|
};
|
|
|
|
/** 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']>;
|
|
};
|
|
|
|
/** Route between two points with geometry. */
|
|
export type RouteType = {
|
|
__typename?: 'RouteType';
|
|
distanceKm?: Maybe<Scalars['Float']['output']>;
|
|
/** GeoJSON LineString coordinates */
|
|
geometry?: Maybe<Scalars['JSONString']['output']>;
|
|
};
|
|
|
|
/** Unique supplier from offers. */
|
|
export type SupplierType = {
|
|
__typename?: 'SupplierType';
|
|
distanceKm?: Maybe<Scalars['Float']['output']>;
|
|
latitude?: Maybe<Scalars['Float']['output']>;
|
|
longitude?: Maybe<Scalars['Float']['output']>;
|
|
name?: Maybe<Scalars['String']['output']>;
|
|
uuid?: Maybe<Scalars['String']['output']>;
|
|
};
|
|
|
|
export type GetAutoRouteQueryVariables = Exact<{
|
|
fromLat: Scalars['Float']['input'];
|
|
fromLon: Scalars['Float']['input'];
|
|
toLat: Scalars['Float']['input'];
|
|
toLon: Scalars['Float']['input'];
|
|
}>;
|
|
|
|
|
|
export type GetAutoRouteQueryResult = { __typename?: 'Query', autoRoute?: { __typename?: 'RouteType', distanceKm?: number | null, geometry?: Record<string, unknown> | null } | null };
|
|
|
|
export type GetClusteredNodesQueryVariables = Exact<{
|
|
west: Scalars['Float']['input'];
|
|
south: Scalars['Float']['input'];
|
|
east: Scalars['Float']['input'];
|
|
north: Scalars['Float']['input'];
|
|
zoom: Scalars['Int']['input'];
|
|
transportType?: InputMaybe<Scalars['String']['input']>;
|
|
nodeType?: 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 GetHubCountriesQueryVariables = Exact<{ [key: string]: never; }>;
|
|
|
|
|
|
export type GetHubCountriesQueryResult = { __typename?: 'Query', hubCountries?: Array<string | null> | null };
|
|
|
|
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 GetRailRouteQueryVariables = Exact<{
|
|
fromLat: Scalars['Float']['input'];
|
|
fromLon: Scalars['Float']['input'];
|
|
toLat: Scalars['Float']['input'];
|
|
toLon: Scalars['Float']['input'];
|
|
}>;
|
|
|
|
|
|
export type GetRailRouteQueryResult = { __typename?: 'Query', railRoute?: { __typename?: 'RouteType', distanceKm?: number | null, geometry?: Record<string, unknown> | null } | null };
|
|
|
|
export type HubsListQueryVariables = Exact<{
|
|
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
country?: InputMaybe<Scalars['String']['input']>;
|
|
transportType?: InputMaybe<Scalars['String']['input']>;
|
|
west?: InputMaybe<Scalars['Float']['input']>;
|
|
south?: InputMaybe<Scalars['Float']['input']>;
|
|
east?: InputMaybe<Scalars['Float']['input']>;
|
|
north?: InputMaybe<Scalars['Float']['input']>;
|
|
}>;
|
|
|
|
|
|
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 NearestHubsQueryVariables = Exact<{
|
|
lat: Scalars['Float']['input'];
|
|
lon: Scalars['Float']['input'];
|
|
radius?: InputMaybe<Scalars['Float']['input']>;
|
|
productUuid?: InputMaybe<Scalars['String']['input']>;
|
|
limit?: InputMaybe<Scalars['Int']['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 NearestOffersQueryVariables = Exact<{
|
|
lat: Scalars['Float']['input'];
|
|
lon: Scalars['Float']['input'];
|
|
radius?: InputMaybe<Scalars['Float']['input']>;
|
|
productUuid?: InputMaybe<Scalars['String']['input']>;
|
|
hubUuid?: InputMaybe<Scalars['String']['input']>;
|
|
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
}>;
|
|
|
|
|
|
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 NearestSuppliersQueryVariables = Exact<{
|
|
lat: Scalars['Float']['input'];
|
|
lon: Scalars['Float']['input'];
|
|
radius?: InputMaybe<Scalars['Float']['input']>;
|
|
productUuid?: InputMaybe<Scalars['String']['input']>;
|
|
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
}>;
|
|
|
|
|
|
export type NearestSuppliersQueryResult = { __typename?: 'Query', nearestSuppliers?: Array<{ __typename?: 'SupplierType', uuid?: string | null } | null> | null };
|
|
|
|
export type ProductsListQueryVariables = Exact<{
|
|
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
west?: InputMaybe<Scalars['Float']['input']>;
|
|
south?: InputMaybe<Scalars['Float']['input']>;
|
|
east?: InputMaybe<Scalars['Float']['input']>;
|
|
north?: InputMaybe<Scalars['Float']['input']>;
|
|
}>;
|
|
|
|
|
|
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 SuppliersListQueryVariables = Exact<{
|
|
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
country?: InputMaybe<Scalars['String']['input']>;
|
|
west?: InputMaybe<Scalars['Float']['input']>;
|
|
south?: InputMaybe<Scalars['Float']['input']>;
|
|
east?: InputMaybe<Scalars['Float']['input']>;
|
|
north?: InputMaybe<Scalars['Float']['input']>;
|
|
}>;
|
|
|
|
|
|
export type SuppliersListQueryResult = { __typename?: 'Query', suppliersList?: Array<{ __typename?: 'SupplierType', uuid?: string | null, name?: string | null, latitude?: number | null, longitude?: number | null } | null> | 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"}}}],"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"}}}],"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"}}}],"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"}}}],"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>; |