@burdenoff/microfe-movethewheels 2026.510.105
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +82 -0
- package/dist/AIAssistantPage-hD0VYJdH.js +210 -0
- package/dist/AnalyticsPage-DHTHCUtr.js +201 -0
- package/dist/CreateOrderPage-Cprg4Y9V.js +471 -0
- package/dist/CustomerDetailsPage-DNDEw7IW.js +239 -0
- package/dist/CustomersPage-CDjjeCEL.js +119 -0
- package/dist/DashboardPage-8iTPXRAG.js +374 -0
- package/dist/DataTable-CRIKfdIN.js +239 -0
- package/dist/DriverDetailsPage-CRyRCno7.js +297 -0
- package/dist/DriversPage-16O8fVmf.js +127 -0
- package/dist/FinancePage-BYUxK5dR.js +154 -0
- package/dist/FleetPage-CHYETCWT.js +293 -0
- package/dist/ImportExportPage-C3MKKxfc.js +232 -0
- package/dist/InventoryPage--822AxZM.js +223 -0
- package/dist/LiveTrackingPage-Dp3rTJDr.js +332 -0
- package/dist/MarketplacePage-DjEqudfM.js +192 -0
- package/dist/MetricCard-GTbxAk1a.js +135 -0
- package/dist/OrderDetailsPage-BIuYG0ub.js +398 -0
- package/dist/OrdersListPage-CW5V0Uvh.js +257 -0
- package/dist/PageLayout-B7b0vl0R.js +1894 -0
- package/dist/ProductDetailsPage-Q3X7AT-7.js +168 -0
- package/dist/ProductsPage-CUj9JpnW.js +131 -0
- package/dist/ReportsPage-DblO5CdJ.js +227 -0
- package/dist/RouteDetailsPage-CLctgk6A.js +240 -0
- package/dist/RoutesPage-8hrv6RWT.js +116 -0
- package/dist/SettingsPage-BJ5BQeqn.js +247 -0
- package/dist/StatusBadge-BrrwraIA.js +206 -0
- package/dist/TrackingPage-BGqHDh-w.js +322 -0
- package/dist/VehicleDetailsPage-XnDH4iQR.js +194 -0
- package/dist/VehiclesPage-Cs4XxHkA.js +127 -0
- package/dist/WarehouseDetailsPage-GemdMvr_.js +215 -0
- package/dist/WarehousesPage-QTiuDuXy.js +121 -0
- package/dist/arrow-left-6CiLhqVp.js +11 -0
- package/dist/box-BunB_4UH.js +18 -0
- package/dist/chart-column-DWwVEVQ-.js +22 -0
- package/dist/chevron-right-DhZVf20o.js +8 -0
- package/dist/circle-alert-D5f6RZxt.js +26 -0
- package/dist/circle-check-big-D-JMHcTe.js +11 -0
- package/dist/clock-CvwBKbQP.js +13 -0
- package/dist/dev/main.d.ts +1 -0
- package/dist/dollar-sign-CP9qeU5d.js +14 -0
- package/dist/download-CIuG04pJ.js +21 -0
- package/dist/file-text-Dd_thxkn.js +26 -0
- package/dist/filter-DyRMX9CU.js +8 -0
- package/dist/formatters-_vJlC-47.js +50 -0
- package/dist/generated/global-operations.d.ts +1 -0
- package/dist/generated/global-types.d.ts +20715 -0
- package/dist/generated/wspace-operations.d.ts +3704 -0
- package/dist/generated/wspace-types.d.ts +53362 -0
- package/dist/graphqlClient-CdJyR_ed.js +55 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +772 -0
- package/dist/map-BqH1cBJi.js +18 -0
- package/dist/map-pin-CFBOmh-A.js +13 -0
- package/dist/movethewheels/MoveTheWheelsRoot.d.ts +25 -0
- package/dist/movethewheels/MoveTheWheelsRoutes.d.ts +7 -0
- package/dist/movethewheels/components/DataTable.d.ts +32 -0
- package/dist/movethewheels/components/MetricCard.d.ts +43 -0
- package/dist/movethewheels/components/PageLayout.d.ts +68 -0
- package/dist/movethewheels/components/StatusBadge.d.ts +49 -0
- package/dist/movethewheels/components/index.d.ts +10 -0
- package/dist/movethewheels/components/ui.d.ts +22 -0
- package/dist/movethewheels/constants/index.d.ts +24 -0
- package/dist/movethewheels/constants/mockData.d.ts +33 -0
- package/dist/movethewheels/hooks/index.d.ts +12 -0
- package/dist/movethewheels/hooks/useAnalytics.d.ts +118 -0
- package/dist/movethewheels/hooks/useCustomers.d.ts +37 -0
- package/dist/movethewheels/hooks/useFleet.d.ts +71 -0
- package/dist/movethewheels/hooks/useInventory.d.ts +60 -0
- package/dist/movethewheels/hooks/useOrders.d.ts +47 -0
- package/dist/movethewheels/hooks/useRoutes.d.ts +41 -0
- package/dist/movethewheels/hooks/useTracking.d.ts +69 -0
- package/dist/movethewheels/index.d.ts +30 -0
- package/dist/movethewheels/pages/AIAssistantPage.d.ts +4 -0
- package/dist/movethewheels/pages/AnalyticsPage.d.ts +4 -0
- package/dist/movethewheels/pages/CreateOrderPage.d.ts +6 -0
- package/dist/movethewheels/pages/CustomerDetailsPage.d.ts +4 -0
- package/dist/movethewheels/pages/CustomersPage.d.ts +4 -0
- package/dist/movethewheels/pages/DashboardPage.d.ts +6 -0
- package/dist/movethewheels/pages/DriverDetailsPage.d.ts +4 -0
- package/dist/movethewheels/pages/DriversPage.d.ts +4 -0
- package/dist/movethewheels/pages/FinancePage.d.ts +4 -0
- package/dist/movethewheels/pages/FleetPage.d.ts +6 -0
- package/dist/movethewheels/pages/ImportExportPage.d.ts +4 -0
- package/dist/movethewheels/pages/InventoryPage.d.ts +4 -0
- package/dist/movethewheels/pages/LiveTrackingPage.d.ts +6 -0
- package/dist/movethewheels/pages/MarketplacePage.d.ts +4 -0
- package/dist/movethewheels/pages/OrderDetailsPage.d.ts +6 -0
- package/dist/movethewheels/pages/OrdersListPage.d.ts +6 -0
- package/dist/movethewheels/pages/ProductDetailsPage.d.ts +4 -0
- package/dist/movethewheels/pages/ProductsPage.d.ts +4 -0
- package/dist/movethewheels/pages/ReportsPage.d.ts +4 -0
- package/dist/movethewheels/pages/RouteDetailsPage.d.ts +4 -0
- package/dist/movethewheels/pages/RoutesPage.d.ts +4 -0
- package/dist/movethewheels/pages/SettingsPage.d.ts +4 -0
- package/dist/movethewheels/pages/TrackingPage.d.ts +6 -0
- package/dist/movethewheels/pages/VehicleDetailsPage.d.ts +4 -0
- package/dist/movethewheels/pages/VehiclesPage.d.ts +4 -0
- package/dist/movethewheels/pages/WarehouseDetailsPage.d.ts +4 -0
- package/dist/movethewheels/pages/WarehousesPage.d.ts +4 -0
- package/dist/movethewheels/providers/MoveTheWheelsProvider.d.ts +16 -0
- package/dist/movethewheels/store/movethewheelsStore.d.ts +73 -0
- package/dist/movethewheels/types/index.d.ts +655 -0
- package/dist/movethewheels/utils/cn.d.ts +6 -0
- package/dist/movethewheels/utils/formatters.d.ts +60 -0
- package/dist/movethewheels/utils/graphqlClient.d.ts +11 -0
- package/dist/movethewheels/utils/index.d.ts +7 -0
- package/dist/movethewheels/utils/navigation.d.ts +23 -0
- package/dist/navigation-BgnOfsVd.js +6 -0
- package/dist/navigation-C2fY_aS9.js +8 -0
- package/dist/package-DVZbDRcV.js +22 -0
- package/dist/phone-KdwpVmC4.js +18 -0
- package/dist/plus-Bl7uX6Ji.js +11 -0
- package/dist/refresh-cw-BYjl3K-8.js +22 -0
- package/dist/route-Ce_poKFi.js +51 -0
- package/dist/save-C-qDVat-.js +18 -0
- package/dist/search-5pdn5eOO.js +13 -0
- package/dist/settings-C4kIDsYg.js +28 -0
- package/dist/square-pen-BwQ67vLE.js +11 -0
- package/dist/star-BlVsC3Ad.js +8 -0
- package/dist/store-DTmQT5M0.js +26 -0
- package/dist/trending-up-C1faflCI.js +11 -0
- package/dist/triangle-alert-CUoVAA4L.js +18 -0
- package/dist/truck-BmDAzu05.js +30 -0
- package/dist/useAnalytics-ph7eTIK6.js +297 -0
- package/dist/useCustomers-bS3a4ytk.js +186 -0
- package/dist/useFleet-BdETplNE.js +398 -0
- package/dist/useInventory-Dwn18FPz.js +323 -0
- package/dist/useOrders-D_3_hGMp.js +324 -0
- package/dist/useRoutes-v4aBaS-E.js +224 -0
- package/dist/useTracking-De2KIUNu.js +261 -0
- package/dist/user-BplzDrLP.js +13 -0
- package/dist/users-i-igmsP4.js +24 -0
- package/dist/warehouse-DewG0PXh.js +25 -0
- package/dist/wrench-CoSDEIC7.js +31 -0
- package/package.json +107 -0
- package/src/dev/main.tsx +110 -0
- package/src/dev/styles.css +139 -0
- package/src/generated/global-operations.ts +2 -0
- package/src/generated/global-types.ts +24048 -0
- package/src/generated/wspace-operations.ts +3734 -0
- package/src/generated/wspace-types.ts +60715 -0
- package/src/index.ts +4 -0
- package/src/movethewheels/MoveTheWheelsRoot.tsx +258 -0
- package/src/movethewheels/MoveTheWheelsRoutes.tsx +119 -0
- package/src/movethewheels/components/DataTable.tsx +367 -0
- package/src/movethewheels/components/MetricCard.tsx +180 -0
- package/src/movethewheels/components/PageLayout.tsx +234 -0
- package/src/movethewheels/components/StatusBadge.tsx +243 -0
- package/src/movethewheels/components/index.ts +26 -0
- package/src/movethewheels/components/ui.tsx +124 -0
- package/src/movethewheels/constants/index.ts +65 -0
- package/src/movethewheels/constants/mockData.ts +1342 -0
- package/src/movethewheels/hooks/index.ts +55 -0
- package/src/movethewheels/hooks/useAnalytics.ts +476 -0
- package/src/movethewheels/hooks/useCustomers.ts +359 -0
- package/src/movethewheels/hooks/useFleet.ts +778 -0
- package/src/movethewheels/hooks/useInventory.ts +632 -0
- package/src/movethewheels/hooks/useOrders.ts +703 -0
- package/src/movethewheels/hooks/useRoutes.ts +453 -0
- package/src/movethewheels/hooks/useTracking.ts +505 -0
- package/src/movethewheels/index.ts +68 -0
- package/src/movethewheels/pages/AIAssistantPage.tsx +160 -0
- package/src/movethewheels/pages/AnalyticsPage.tsx +190 -0
- package/src/movethewheels/pages/CreateOrderPage.tsx +454 -0
- package/src/movethewheels/pages/CustomerDetailsPage.tsx +207 -0
- package/src/movethewheels/pages/CustomersPage.tsx +115 -0
- package/src/movethewheels/pages/DashboardPage.tsx +414 -0
- package/src/movethewheels/pages/DriverDetailsPage.tsx +261 -0
- package/src/movethewheels/pages/DriversPage.tsx +118 -0
- package/src/movethewheels/pages/FinancePage.tsx +141 -0
- package/src/movethewheels/pages/FleetPage.tsx +289 -0
- package/src/movethewheels/pages/ImportExportPage.tsx +165 -0
- package/src/movethewheels/pages/InventoryPage.tsx +212 -0
- package/src/movethewheels/pages/LiveTrackingPage.tsx +325 -0
- package/src/movethewheels/pages/MarketplacePage.tsx +235 -0
- package/src/movethewheels/pages/OrderDetailsPage.tsx +387 -0
- package/src/movethewheels/pages/OrdersListPage.tsx +241 -0
- package/src/movethewheels/pages/ProductDetailsPage.tsx +155 -0
- package/src/movethewheels/pages/ProductsPage.tsx +124 -0
- package/src/movethewheels/pages/ReportsPage.tsx +164 -0
- package/src/movethewheels/pages/RouteDetailsPage.tsx +245 -0
- package/src/movethewheels/pages/RoutesPage.tsx +104 -0
- package/src/movethewheels/pages/SettingsPage.tsx +242 -0
- package/src/movethewheels/pages/TrackingPage.tsx +419 -0
- package/src/movethewheels/pages/VehicleDetailsPage.tsx +218 -0
- package/src/movethewheels/pages/VehiclesPage.tsx +124 -0
- package/src/movethewheels/pages/WarehouseDetailsPage.tsx +216 -0
- package/src/movethewheels/pages/WarehousesPage.tsx +122 -0
- package/src/movethewheels/providers/MoveTheWheelsProvider.tsx +66 -0
- package/src/movethewheels/store/movethewheelsStore.ts +136 -0
- package/src/movethewheels/types/index.ts +744 -0
- package/src/movethewheels/utils/cn.ts +9 -0
- package/src/movethewheels/utils/formatters.ts +215 -0
- package/src/movethewheels/utils/graphqlClient.ts +63 -0
- package/src/movethewheels/utils/index.ts +8 -0
- package/src/movethewheels/utils/navigation.ts +70 -0
- package/src/operations/global/.gitkeep +0 -0
- package/src/operations/wspace/movethewheels/fragments/core.graphql +191 -0
- package/src/operations/wspace/movethewheels/mutations/entities.graphql +87 -0
- package/src/operations/wspace/movethewheels/mutations/logistics.graphql +86 -0
- package/src/operations/wspace/movethewheels/mutations/marketplace-reports.graphql +81 -0
- package/src/operations/wspace/movethewheels/mutations/orders.graphql +21 -0
- package/src/operations/wspace/movethewheels/queries/dashboard.graphql +61 -0
- package/src/operations/wspace/movethewheels/queries/entities.graphql +83 -0
- package/src/operations/wspace/movethewheels/queries/logistics.graphql +84 -0
- package/src/operations/wspace/movethewheels/queries/marketplace-reports.graphql +40 -0
- package/src/operations/wspace/movethewheels/queries/orders.graphql +43 -0
|
@@ -0,0 +1,3734 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import * as Types from './wspace-types';
|
|
3
|
+
|
|
4
|
+
import { gql } from '@apollo/client';
|
|
5
|
+
import * as Apollo from '@apollo/client';
|
|
6
|
+
import * as ApolloReactHooks from '@apollo/client/react';
|
|
7
|
+
const defaultOptions = {} as const;
|
|
8
|
+
export type MovethewheelsOrderCoreFragment = { __typename?: 'MovethewheelsOrder', id: string, orderNumber: string, orderType: Types.OrderType, status: Types.OrderStatus, priority: Types.OrderPriority, customerId: string, trackingNumber?: string | null, pickupAddress: Record<string, unknown>, deliveryAddress: Record<string, unknown>, items: Record<string, unknown>, pricing?: Record<string, unknown> | null, scheduledDelivery?: string | null, vehicleId?: string | null, driverId?: string | null, createdAt: string, updatedAt: string };
|
|
9
|
+
|
|
10
|
+
export type CustomerCoreFragment = { __typename?: 'Customer', id: string, name: string, email?: string | null, phone?: string | null, type: string, company?: string | null, address?: Record<string, unknown> | null, rating?: number | null, createdAt: string, updatedAt: string };
|
|
11
|
+
|
|
12
|
+
export type ProductCoreFragment = { __typename?: 'Product', id: string, sku: string, name: string, description?: string | null, category?: string | null, brand?: string | null, dimensions?: Record<string, unknown> | null, weight?: number | null, value?: number | null, hazardous: boolean, fragile: boolean, temperatureControlled: boolean, createdAt: string, updatedAt: string };
|
|
13
|
+
|
|
14
|
+
export type VehicleCoreFragment = { __typename?: 'Vehicle', id: string, vehicleNumber: string, make?: string | null, model?: string | null, year?: number | null, licensePlate?: string | null, type: Types.VehicleType, ownershipType?: string | null, capacity?: Record<string, unknown> | null, status: Types.VehicleStatus, currentLocation?: Record<string, unknown> | null, fuelLevel?: number | null, mileage?: number | null, createdAt: string, updatedAt: string };
|
|
15
|
+
|
|
16
|
+
export type DriverCoreFragment = { __typename?: 'Driver', id: string, employeeId: string, firstName: string, lastName: string, phone?: string | null, email?: string | null, licenseNumber?: string | null, licenseClass?: string | null, licenseExpiry?: string | null, status: Types.DriverStatus, currentLocation?: Record<string, unknown> | null, rating?: number | null, userId?: string | null, vehicleId?: string | null, createdAt: string, updatedAt: string };
|
|
17
|
+
|
|
18
|
+
export type WarehouseCoreFragment = { __typename?: 'Warehouse', id: string, name: string, code: string, type: Types.WarehouseType, address: Record<string, unknown>, contactInfo?: Record<string, unknown> | null, operatingHours?: Record<string, unknown> | null, capabilities?: Record<string, unknown> | null, status: string, totalCapacity?: number | null, usedCapacity?: number | null, createdAt: string, updatedAt: string };
|
|
19
|
+
|
|
20
|
+
export type InventoryItemCoreFragment = { __typename?: 'InventoryItem', id: string, productId: string, warehouseId: string, locationId?: string | null, onHand: number, available: number, allocated: number, damaged: number, unitCost?: number | null, reorderPoint?: number | null, safetyStock?: number | null, createdAt: string, updatedAt: string };
|
|
21
|
+
|
|
22
|
+
export type RouteCoreFragment = { __typename?: 'Route', id: string, name: string, status: Types.RouteStatus, shipmentId?: string | null, vehicleId?: string | null, driverId?: string | null, waypoints: Record<string, unknown>, estimatedDistance?: number | null, estimatedDuration?: number | null, actualDistance?: number | null, actualDuration?: number | null, fuelCost?: number | null, createdAt: string, updatedAt: string };
|
|
23
|
+
|
|
24
|
+
export type ShipmentCoreFragment = { __typename?: 'Shipment', id: string, shipmentNumber: string, orderId: string, customerId?: string | null, carrierId?: string | null, status: Types.ShipmentStatus, origin: Record<string, unknown>, destination: Record<string, unknown>, cargoDetails?: Record<string, unknown> | null, trackingNumber?: string | null, estimatedDelivery?: string | null, actualDelivery?: string | null, createdAt: string, updatedAt: string };
|
|
25
|
+
|
|
26
|
+
export type ServiceProviderCoreFragment = { __typename?: 'ServiceProvider', id: string, name: string, type: string, description?: string | null, rating?: number | null, contactInfo?: Record<string, unknown> | null, services?: Record<string, unknown> | null, isVerified: boolean, isActive: boolean, createdAt: string, updatedAt: string };
|
|
27
|
+
|
|
28
|
+
export type ServiceOfferingCoreFragment = { __typename?: 'ServiceOffering', id: string, providerId: string, name: string, description?: string | null, category?: string | null, price: number, currency: string, availability?: Record<string, unknown> | null, createdAt: string, updatedAt: string };
|
|
29
|
+
|
|
30
|
+
export type MovethewheelsReportCoreFragment = { __typename?: 'MovethewheelsReport', id: string, name: string, type: string, description?: string | null, schedule?: string | null, lastGenerated?: string | null, configuration?: Record<string, unknown> | null, status: string, createdAt: string, updatedAt: string };
|
|
31
|
+
|
|
32
|
+
export type CreateCustomerMutationVariables = Types.Exact<{
|
|
33
|
+
input: Types.CreateCustomerInput;
|
|
34
|
+
}>;
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
export type CreateCustomerMutation = { __typename?: 'Mutation', createCustomer: { __typename?: 'Customer', id: string, name: string, email?: string | null, phone?: string | null, type: string, company?: string | null, address?: Record<string, unknown> | null, rating?: number | null, createdAt: string, updatedAt: string } };
|
|
38
|
+
|
|
39
|
+
export type UpdateCustomerMutationVariables = Types.Exact<{
|
|
40
|
+
id: Types.Scalars['ID']['input'];
|
|
41
|
+
input: Types.UpdateCustomerInput;
|
|
42
|
+
}>;
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
export type UpdateCustomerMutation = { __typename?: 'Mutation', updateCustomer: { __typename?: 'Customer', id: string, name: string, email?: string | null, phone?: string | null, type: string, company?: string | null, address?: Record<string, unknown> | null, rating?: number | null, createdAt: string, updatedAt: string } };
|
|
46
|
+
|
|
47
|
+
export type DeleteCustomerMutationVariables = Types.Exact<{
|
|
48
|
+
id: Types.Scalars['ID']['input'];
|
|
49
|
+
}>;
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
export type DeleteCustomerMutation = { __typename?: 'Mutation', deleteCustomer: boolean };
|
|
53
|
+
|
|
54
|
+
export type CreateProductMutationVariables = Types.Exact<{
|
|
55
|
+
input: Types.CreateProductInput;
|
|
56
|
+
}>;
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
export type CreateProductMutation = { __typename?: 'Mutation', createProduct: { __typename?: 'Product', id: string, sku: string, name: string, description?: string | null, category?: string | null, brand?: string | null, dimensions?: Record<string, unknown> | null, weight?: number | null, value?: number | null, hazardous: boolean, fragile: boolean, temperatureControlled: boolean, createdAt: string, updatedAt: string } };
|
|
60
|
+
|
|
61
|
+
export type UpdateProductMutationVariables = Types.Exact<{
|
|
62
|
+
id: Types.Scalars['ID']['input'];
|
|
63
|
+
input: Types.UpdateProductInput;
|
|
64
|
+
}>;
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
export type UpdateProductMutation = { __typename?: 'Mutation', updateProduct: { __typename?: 'Product', id: string, sku: string, name: string, description?: string | null, category?: string | null, brand?: string | null, dimensions?: Record<string, unknown> | null, weight?: number | null, value?: number | null, hazardous: boolean, fragile: boolean, temperatureControlled: boolean, createdAt: string, updatedAt: string } };
|
|
68
|
+
|
|
69
|
+
export type DeleteProductMutationVariables = Types.Exact<{
|
|
70
|
+
id: Types.Scalars['ID']['input'];
|
|
71
|
+
}>;
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
export type DeleteProductMutation = { __typename?: 'Mutation', deleteProduct: boolean };
|
|
75
|
+
|
|
76
|
+
export type CreateVehicleMutationVariables = Types.Exact<{
|
|
77
|
+
input: Types.CreateVehicleInput;
|
|
78
|
+
}>;
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
export type CreateVehicleMutation = { __typename?: 'Mutation', createVehicle: { __typename?: 'Vehicle', id: string, vehicleNumber: string, make?: string | null, model?: string | null, year?: number | null, licensePlate?: string | null, type: Types.VehicleType, ownershipType?: string | null, capacity?: Record<string, unknown> | null, status: Types.VehicleStatus, currentLocation?: Record<string, unknown> | null, fuelLevel?: number | null, mileage?: number | null, createdAt: string, updatedAt: string } };
|
|
82
|
+
|
|
83
|
+
export type UpdateVehicleMutationVariables = Types.Exact<{
|
|
84
|
+
id: Types.Scalars['ID']['input'];
|
|
85
|
+
input: Types.UpdateVehicleInput;
|
|
86
|
+
}>;
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
export type UpdateVehicleMutation = { __typename?: 'Mutation', updateVehicle: { __typename?: 'Vehicle', id: string, vehicleNumber: string, make?: string | null, model?: string | null, year?: number | null, licensePlate?: string | null, type: Types.VehicleType, ownershipType?: string | null, capacity?: Record<string, unknown> | null, status: Types.VehicleStatus, currentLocation?: Record<string, unknown> | null, fuelLevel?: number | null, mileage?: number | null, createdAt: string, updatedAt: string } };
|
|
90
|
+
|
|
91
|
+
export type UpdateVehicleStatusMutationVariables = Types.Exact<{
|
|
92
|
+
id: Types.Scalars['ID']['input'];
|
|
93
|
+
status: Types.VehicleStatus;
|
|
94
|
+
}>;
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
export type UpdateVehicleStatusMutation = { __typename?: 'Mutation', updateVehicleStatus: { __typename?: 'Vehicle', id: string, vehicleNumber: string, make?: string | null, model?: string | null, year?: number | null, licensePlate?: string | null, type: Types.VehicleType, ownershipType?: string | null, capacity?: Record<string, unknown> | null, status: Types.VehicleStatus, currentLocation?: Record<string, unknown> | null, fuelLevel?: number | null, mileage?: number | null, createdAt: string, updatedAt: string } };
|
|
98
|
+
|
|
99
|
+
export type UpdateVehicleLocationMutationVariables = Types.Exact<{
|
|
100
|
+
id: Types.Scalars['ID']['input'];
|
|
101
|
+
location: Types.Scalars['JSON']['input'];
|
|
102
|
+
}>;
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
export type UpdateVehicleLocationMutation = { __typename?: 'Mutation', updateVehicleLocation: { __typename?: 'Vehicle', id: string, vehicleNumber: string, make?: string | null, model?: string | null, year?: number | null, licensePlate?: string | null, type: Types.VehicleType, ownershipType?: string | null, capacity?: Record<string, unknown> | null, status: Types.VehicleStatus, currentLocation?: Record<string, unknown> | null, fuelLevel?: number | null, mileage?: number | null, createdAt: string, updatedAt: string } };
|
|
106
|
+
|
|
107
|
+
export type DeleteVehicleMutationVariables = Types.Exact<{
|
|
108
|
+
id: Types.Scalars['ID']['input'];
|
|
109
|
+
}>;
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
export type DeleteVehicleMutation = { __typename?: 'Mutation', deleteVehicle: boolean };
|
|
113
|
+
|
|
114
|
+
export type CreateDriverMutationVariables = Types.Exact<{
|
|
115
|
+
input: Types.CreateDriverInput;
|
|
116
|
+
}>;
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
export type CreateDriverMutation = { __typename?: 'Mutation', createDriver: { __typename?: 'Driver', id: string, employeeId: string, firstName: string, lastName: string, phone?: string | null, email?: string | null, licenseNumber?: string | null, licenseClass?: string | null, licenseExpiry?: string | null, status: Types.DriverStatus, currentLocation?: Record<string, unknown> | null, rating?: number | null, userId?: string | null, vehicleId?: string | null, createdAt: string, updatedAt: string } };
|
|
120
|
+
|
|
121
|
+
export type UpdateDriverMutationVariables = Types.Exact<{
|
|
122
|
+
id: Types.Scalars['ID']['input'];
|
|
123
|
+
input: Types.UpdateDriverInput;
|
|
124
|
+
}>;
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
export type UpdateDriverMutation = { __typename?: 'Mutation', updateDriver: { __typename?: 'Driver', id: string, employeeId: string, firstName: string, lastName: string, phone?: string | null, email?: string | null, licenseNumber?: string | null, licenseClass?: string | null, licenseExpiry?: string | null, status: Types.DriverStatus, currentLocation?: Record<string, unknown> | null, rating?: number | null, userId?: string | null, vehicleId?: string | null, createdAt: string, updatedAt: string } };
|
|
128
|
+
|
|
129
|
+
export type UpdateDriverStatusMutationVariables = Types.Exact<{
|
|
130
|
+
id: Types.Scalars['ID']['input'];
|
|
131
|
+
status: Types.DriverStatus;
|
|
132
|
+
}>;
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
export type UpdateDriverStatusMutation = { __typename?: 'Mutation', updateDriverStatus: { __typename?: 'Driver', id: string, employeeId: string, firstName: string, lastName: string, phone?: string | null, email?: string | null, licenseNumber?: string | null, licenseClass?: string | null, licenseExpiry?: string | null, status: Types.DriverStatus, currentLocation?: Record<string, unknown> | null, rating?: number | null, userId?: string | null, vehicleId?: string | null, createdAt: string, updatedAt: string } };
|
|
136
|
+
|
|
137
|
+
export type AssignDriverVehicleMutationVariables = Types.Exact<{
|
|
138
|
+
id: Types.Scalars['ID']['input'];
|
|
139
|
+
vehicleId?: Types.InputMaybe<Types.Scalars['ID']['input']>;
|
|
140
|
+
}>;
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
export type AssignDriverVehicleMutation = { __typename?: 'Mutation', assignDriverVehicle: { __typename?: 'Driver', id: string, employeeId: string, firstName: string, lastName: string, phone?: string | null, email?: string | null, licenseNumber?: string | null, licenseClass?: string | null, licenseExpiry?: string | null, status: Types.DriverStatus, currentLocation?: Record<string, unknown> | null, rating?: number | null, userId?: string | null, vehicleId?: string | null, createdAt: string, updatedAt: string } };
|
|
144
|
+
|
|
145
|
+
export type DeleteDriverMutationVariables = Types.Exact<{
|
|
146
|
+
id: Types.Scalars['ID']['input'];
|
|
147
|
+
}>;
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
export type DeleteDriverMutation = { __typename?: 'Mutation', deleteDriver: boolean };
|
|
151
|
+
|
|
152
|
+
export type CreateWarehouseMutationVariables = Types.Exact<{
|
|
153
|
+
input: Types.CreateWarehouseInput;
|
|
154
|
+
}>;
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
export type CreateWarehouseMutation = { __typename?: 'Mutation', createWarehouse: { __typename?: 'Warehouse', id: string, name: string, code: string, type: Types.WarehouseType, address: Record<string, unknown>, contactInfo?: Record<string, unknown> | null, operatingHours?: Record<string, unknown> | null, capabilities?: Record<string, unknown> | null, status: string, totalCapacity?: number | null, usedCapacity?: number | null, createdAt: string, updatedAt: string } };
|
|
158
|
+
|
|
159
|
+
export type UpdateWarehouseMutationVariables = Types.Exact<{
|
|
160
|
+
id: Types.Scalars['ID']['input'];
|
|
161
|
+
input: Types.UpdateWarehouseInput;
|
|
162
|
+
}>;
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
export type UpdateWarehouseMutation = { __typename?: 'Mutation', updateWarehouse: { __typename?: 'Warehouse', id: string, name: string, code: string, type: Types.WarehouseType, address: Record<string, unknown>, contactInfo?: Record<string, unknown> | null, operatingHours?: Record<string, unknown> | null, capabilities?: Record<string, unknown> | null, status: string, totalCapacity?: number | null, usedCapacity?: number | null, createdAt: string, updatedAt: string } };
|
|
166
|
+
|
|
167
|
+
export type DeleteWarehouseMutationVariables = Types.Exact<{
|
|
168
|
+
id: Types.Scalars['ID']['input'];
|
|
169
|
+
}>;
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
export type DeleteWarehouseMutation = { __typename?: 'Mutation', deleteWarehouse: boolean };
|
|
173
|
+
|
|
174
|
+
export type CreateInventoryItemMutationVariables = Types.Exact<{
|
|
175
|
+
input: Types.CreateInventoryItemInput;
|
|
176
|
+
}>;
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
export type CreateInventoryItemMutation = { __typename?: 'Mutation', createInventoryItem: { __typename?: 'InventoryItem', id: string, productId: string, warehouseId: string, locationId?: string | null, onHand: number, available: number, allocated: number, damaged: number, unitCost?: number | null, reorderPoint?: number | null, safetyStock?: number | null, createdAt: string, updatedAt: string } };
|
|
180
|
+
|
|
181
|
+
export type UpdateInventoryItemMutationVariables = Types.Exact<{
|
|
182
|
+
id: Types.Scalars['ID']['input'];
|
|
183
|
+
input: Types.UpdateInventoryItemInput;
|
|
184
|
+
}>;
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
export type UpdateInventoryItemMutation = { __typename?: 'Mutation', updateInventoryItem: { __typename?: 'InventoryItem', id: string, productId: string, warehouseId: string, locationId?: string | null, onHand: number, available: number, allocated: number, damaged: number, unitCost?: number | null, reorderPoint?: number | null, safetyStock?: number | null, createdAt: string, updatedAt: string } };
|
|
188
|
+
|
|
189
|
+
export type AdjustInventoryStockMutationVariables = Types.Exact<{
|
|
190
|
+
input: Types.AdjustInventoryStockInput;
|
|
191
|
+
}>;
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
export type AdjustInventoryStockMutation = { __typename?: 'Mutation', adjustInventoryStock: { __typename?: 'InventoryItem', id: string, productId: string, warehouseId: string, locationId?: string | null, onHand: number, available: number, allocated: number, damaged: number, unitCost?: number | null, reorderPoint?: number | null, safetyStock?: number | null, createdAt: string, updatedAt: string } };
|
|
195
|
+
|
|
196
|
+
export type DeleteInventoryItemMutationVariables = Types.Exact<{
|
|
197
|
+
id: Types.Scalars['ID']['input'];
|
|
198
|
+
}>;
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
export type DeleteInventoryItemMutation = { __typename?: 'Mutation', deleteInventoryItem: boolean };
|
|
202
|
+
|
|
203
|
+
export type CreateRouteMutationVariables = Types.Exact<{
|
|
204
|
+
input: Types.CreateRouteInput;
|
|
205
|
+
}>;
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
export type CreateRouteMutation = { __typename?: 'Mutation', createRoute: { __typename?: 'Route', id: string, name: string, status: Types.RouteStatus, shipmentId?: string | null, vehicleId?: string | null, driverId?: string | null, waypoints: Record<string, unknown>, estimatedDistance?: number | null, estimatedDuration?: number | null, actualDistance?: number | null, actualDuration?: number | null, fuelCost?: number | null, createdAt: string, updatedAt: string } };
|
|
209
|
+
|
|
210
|
+
export type UpdateRouteMutationVariables = Types.Exact<{
|
|
211
|
+
id: Types.Scalars['ID']['input'];
|
|
212
|
+
input: Types.UpdateRouteInput;
|
|
213
|
+
}>;
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
export type UpdateRouteMutation = { __typename?: 'Mutation', updateRoute: { __typename?: 'Route', id: string, name: string, status: Types.RouteStatus, shipmentId?: string | null, vehicleId?: string | null, driverId?: string | null, waypoints: Record<string, unknown>, estimatedDistance?: number | null, estimatedDuration?: number | null, actualDistance?: number | null, actualDuration?: number | null, fuelCost?: number | null, createdAt: string, updatedAt: string } };
|
|
217
|
+
|
|
218
|
+
export type OptimizeRouteMutationVariables = Types.Exact<{
|
|
219
|
+
id: Types.Scalars['ID']['input'];
|
|
220
|
+
}>;
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
export type OptimizeRouteMutation = { __typename?: 'Mutation', optimizeRoute: { __typename?: 'Route', id: string, name: string, status: Types.RouteStatus, shipmentId?: string | null, vehicleId?: string | null, driverId?: string | null, waypoints: Record<string, unknown>, estimatedDistance?: number | null, estimatedDuration?: number | null, actualDistance?: number | null, actualDuration?: number | null, fuelCost?: number | null, createdAt: string, updatedAt: string } };
|
|
224
|
+
|
|
225
|
+
export type DeleteRouteMutationVariables = Types.Exact<{
|
|
226
|
+
id: Types.Scalars['ID']['input'];
|
|
227
|
+
}>;
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
export type DeleteRouteMutation = { __typename?: 'Mutation', deleteRoute: boolean };
|
|
231
|
+
|
|
232
|
+
export type CreateShipmentMutationVariables = Types.Exact<{
|
|
233
|
+
input: Types.CreateShipmentInput;
|
|
234
|
+
}>;
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
export type CreateShipmentMutation = { __typename?: 'Mutation', createShipment: { __typename?: 'Shipment', id: string, shipmentNumber: string, orderId: string, customerId?: string | null, carrierId?: string | null, status: Types.ShipmentStatus, origin: Record<string, unknown>, destination: Record<string, unknown>, cargoDetails?: Record<string, unknown> | null, trackingNumber?: string | null, estimatedDelivery?: string | null, actualDelivery?: string | null, createdAt: string, updatedAt: string } };
|
|
238
|
+
|
|
239
|
+
export type UpdateShipmentMutationVariables = Types.Exact<{
|
|
240
|
+
id: Types.Scalars['ID']['input'];
|
|
241
|
+
input: Types.UpdateShipmentInput;
|
|
242
|
+
}>;
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
export type UpdateShipmentMutation = { __typename?: 'Mutation', updateShipment: { __typename?: 'Shipment', id: string, shipmentNumber: string, orderId: string, customerId?: string | null, carrierId?: string | null, status: Types.ShipmentStatus, origin: Record<string, unknown>, destination: Record<string, unknown>, cargoDetails?: Record<string, unknown> | null, trackingNumber?: string | null, estimatedDelivery?: string | null, actualDelivery?: string | null, createdAt: string, updatedAt: string } };
|
|
246
|
+
|
|
247
|
+
export type DeleteShipmentMutationVariables = Types.Exact<{
|
|
248
|
+
id: Types.Scalars['ID']['input'];
|
|
249
|
+
}>;
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
export type DeleteShipmentMutation = { __typename?: 'Mutation', deleteShipment: boolean };
|
|
253
|
+
|
|
254
|
+
export type AddTrackingEventMutationVariables = Types.Exact<{
|
|
255
|
+
input: Types.AddTrackingEventInput;
|
|
256
|
+
}>;
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
export type AddTrackingEventMutation = { __typename?: 'Mutation', addTrackingEvent: { __typename?: 'TrackingEvent', id: string, shipmentId: string, eventType: Types.TrackingEventType, location?: Record<string, unknown> | null, details?: string | null, timestamp: string } };
|
|
260
|
+
|
|
261
|
+
export type CreateServiceProviderMutationVariables = Types.Exact<{
|
|
262
|
+
input: Types.CreateServiceProviderInput;
|
|
263
|
+
}>;
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
export type CreateServiceProviderMutation = { __typename?: 'Mutation', createServiceProvider: { __typename?: 'ServiceProvider', id: string, name: string, type: string, description?: string | null, rating?: number | null, contactInfo?: Record<string, unknown> | null, services?: Record<string, unknown> | null, isVerified: boolean, isActive: boolean, createdAt: string, updatedAt: string } };
|
|
267
|
+
|
|
268
|
+
export type UpdateServiceProviderMutationVariables = Types.Exact<{
|
|
269
|
+
id: Types.Scalars['ID']['input'];
|
|
270
|
+
input: Types.UpdateServiceProviderInput;
|
|
271
|
+
}>;
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
export type UpdateServiceProviderMutation = { __typename?: 'Mutation', updateServiceProvider: { __typename?: 'ServiceProvider', id: string, name: string, type: string, description?: string | null, rating?: number | null, contactInfo?: Record<string, unknown> | null, services?: Record<string, unknown> | null, isVerified: boolean, isActive: boolean, createdAt: string, updatedAt: string } };
|
|
275
|
+
|
|
276
|
+
export type DeleteServiceProviderMutationVariables = Types.Exact<{
|
|
277
|
+
id: Types.Scalars['ID']['input'];
|
|
278
|
+
}>;
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
export type DeleteServiceProviderMutation = { __typename?: 'Mutation', deleteServiceProvider: boolean };
|
|
282
|
+
|
|
283
|
+
export type CreateServiceOfferingMutationVariables = Types.Exact<{
|
|
284
|
+
input: Types.CreateServiceOfferingInput;
|
|
285
|
+
}>;
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
export type CreateServiceOfferingMutation = { __typename?: 'Mutation', createServiceOffering: { __typename?: 'ServiceOffering', id: string, providerId: string, name: string, description?: string | null, category?: string | null, price: number, currency: string, availability?: Record<string, unknown> | null, createdAt: string, updatedAt: string } };
|
|
289
|
+
|
|
290
|
+
export type UpdateServiceOfferingMutationVariables = Types.Exact<{
|
|
291
|
+
id: Types.Scalars['ID']['input'];
|
|
292
|
+
input: Types.UpdateServiceOfferingInput;
|
|
293
|
+
}>;
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
export type UpdateServiceOfferingMutation = { __typename?: 'Mutation', updateServiceOffering: { __typename?: 'ServiceOffering', id: string, providerId: string, name: string, description?: string | null, category?: string | null, price: number, currency: string, availability?: Record<string, unknown> | null, createdAt: string, updatedAt: string } };
|
|
297
|
+
|
|
298
|
+
export type DeleteServiceOfferingMutationVariables = Types.Exact<{
|
|
299
|
+
id: Types.Scalars['ID']['input'];
|
|
300
|
+
}>;
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
export type DeleteServiceOfferingMutation = { __typename?: 'Mutation', deleteServiceOffering: boolean };
|
|
304
|
+
|
|
305
|
+
export type CreateMovethewheelsReportMutationVariables = Types.Exact<{
|
|
306
|
+
input: Types.CreateMovethewheelsReportInput;
|
|
307
|
+
}>;
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
export type CreateMovethewheelsReportMutation = { __typename?: 'Mutation', createMovethewheelsReport: { __typename?: 'MovethewheelsReport', id: string, name: string, type: string, description?: string | null, schedule?: string | null, lastGenerated?: string | null, configuration?: Record<string, unknown> | null, status: string, createdAt: string, updatedAt: string } };
|
|
311
|
+
|
|
312
|
+
export type UpdateMovethewheelsReportMutationVariables = Types.Exact<{
|
|
313
|
+
id: Types.Scalars['ID']['input'];
|
|
314
|
+
input: Types.UpdateMovethewheelsReportInput;
|
|
315
|
+
}>;
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
export type UpdateMovethewheelsReportMutation = { __typename?: 'Mutation', updateMovethewheelsReport: { __typename?: 'MovethewheelsReport', id: string, name: string, type: string, description?: string | null, schedule?: string | null, lastGenerated?: string | null, configuration?: Record<string, unknown> | null, status: string, createdAt: string, updatedAt: string } };
|
|
319
|
+
|
|
320
|
+
export type DeleteMovethewheelsReportMutationVariables = Types.Exact<{
|
|
321
|
+
id: Types.Scalars['ID']['input'];
|
|
322
|
+
}>;
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
export type DeleteMovethewheelsReportMutation = { __typename?: 'Mutation', deleteMovethewheelsReport: boolean };
|
|
326
|
+
|
|
327
|
+
export type GenerateMovethewheelsReportMutationVariables = Types.Exact<{
|
|
328
|
+
input: Types.GenerateMovethewheelsReportInput;
|
|
329
|
+
}>;
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
export type GenerateMovethewheelsReportMutation = { __typename?: 'Mutation', generateMovethewheelsReport: { __typename?: 'GeneratedReport', generatedAt: string, result?: Record<string, unknown> | null, report: { __typename?: 'MovethewheelsReport', id: string, name: string, type: string, description?: string | null, schedule?: string | null, lastGenerated?: string | null, configuration?: Record<string, unknown> | null, status: string, createdAt: string, updatedAt: string } } };
|
|
333
|
+
|
|
334
|
+
export type ImportMovethewheelsDataMutationVariables = Types.Exact<{
|
|
335
|
+
input: Types.MovethewheelsImportDataInput;
|
|
336
|
+
}>;
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
export type ImportMovethewheelsDataMutation = { __typename?: 'Mutation', importData: { __typename?: 'ImportExportResult', success: boolean, message: string, payload?: Record<string, unknown> | null } };
|
|
340
|
+
|
|
341
|
+
export type ExportMovethewheelsDataMutationVariables = Types.Exact<{
|
|
342
|
+
input: Types.MovethewheelsExportDataInput;
|
|
343
|
+
}>;
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
export type ExportMovethewheelsDataMutation = { __typename?: 'Mutation', exportData: { __typename?: 'ImportExportResult', success: boolean, message: string, payload?: Record<string, unknown> | null } };
|
|
347
|
+
|
|
348
|
+
export type UpdateMovethewheelsModuleSettingsMutationVariables = Types.Exact<{
|
|
349
|
+
input: Types.UpdateMovethewheelsModuleSettingsInput;
|
|
350
|
+
}>;
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
export type UpdateMovethewheelsModuleSettingsMutation = { __typename?: 'Mutation', updateModuleSettings: { __typename?: 'ModuleSettings', workspaceId: string, preferences: Record<string, unknown>, updatedAt: string } };
|
|
354
|
+
|
|
355
|
+
export type CreateMovethewheelsOrderMutationVariables = Types.Exact<{
|
|
356
|
+
input: Types.CreateOrderInput;
|
|
357
|
+
}>;
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
export type CreateMovethewheelsOrderMutation = { __typename?: 'Mutation', createMovethewheelsOrder: { __typename?: 'MovethewheelsOrder', id: string, orderNumber: string, orderType: Types.OrderType, status: Types.OrderStatus, priority: Types.OrderPriority, customerId: string, trackingNumber?: string | null, pickupAddress: Record<string, unknown>, deliveryAddress: Record<string, unknown>, items: Record<string, unknown>, pricing?: Record<string, unknown> | null, scheduledDelivery?: string | null, vehicleId?: string | null, driverId?: string | null, createdAt: string, updatedAt: string } };
|
|
361
|
+
|
|
362
|
+
export type UpdateMovethewheelsOrderMutationVariables = Types.Exact<{
|
|
363
|
+
id: Types.Scalars['ID']['input'];
|
|
364
|
+
input: Types.UpdateOrderInput;
|
|
365
|
+
}>;
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
export type UpdateMovethewheelsOrderMutation = { __typename?: 'Mutation', updateMovethewheelsOrder: { __typename?: 'MovethewheelsOrder', id: string, orderNumber: string, orderType: Types.OrderType, status: Types.OrderStatus, priority: Types.OrderPriority, customerId: string, trackingNumber?: string | null, pickupAddress: Record<string, unknown>, deliveryAddress: Record<string, unknown>, items: Record<string, unknown>, pricing?: Record<string, unknown> | null, scheduledDelivery?: string | null, vehicleId?: string | null, driverId?: string | null, createdAt: string, updatedAt: string } };
|
|
369
|
+
|
|
370
|
+
export type UpdateMovethewheelsOrderStatusMutationVariables = Types.Exact<{
|
|
371
|
+
id: Types.Scalars['ID']['input'];
|
|
372
|
+
input: Types.UpdateOrderStatusInput;
|
|
373
|
+
}>;
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
export type UpdateMovethewheelsOrderStatusMutation = { __typename?: 'Mutation', updateMovethewheelsOrderStatus: { __typename?: 'MovethewheelsOrder', id: string, orderNumber: string, orderType: Types.OrderType, status: Types.OrderStatus, priority: Types.OrderPriority, customerId: string, trackingNumber?: string | null, pickupAddress: Record<string, unknown>, deliveryAddress: Record<string, unknown>, items: Record<string, unknown>, pricing?: Record<string, unknown> | null, scheduledDelivery?: string | null, vehicleId?: string | null, driverId?: string | null, createdAt: string, updatedAt: string } };
|
|
377
|
+
|
|
378
|
+
export type DeleteMovethewheelsOrderMutationVariables = Types.Exact<{
|
|
379
|
+
id: Types.Scalars['ID']['input'];
|
|
380
|
+
}>;
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
export type DeleteMovethewheelsOrderMutation = { __typename?: 'Mutation', deleteMovethewheelsOrder: boolean };
|
|
384
|
+
|
|
385
|
+
export type GetMovethewheelsDashboardQueryVariables = Types.Exact<{ [key: string]: never; }>;
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
export type GetMovethewheelsDashboardQuery = { __typename?: 'Query', dashboardMetrics: { __typename?: 'DashboardMetrics', totalOrders: number, activeDeliveries: number, availableDrivers: number, activeVehicles: number, lowStockItems: number, totalRevenue: number, recentOrders: Array<{ __typename?: 'MovethewheelsOrder', id: string, orderNumber: string, orderType: Types.OrderType, status: Types.OrderStatus, priority: Types.OrderPriority, customerId: string, trackingNumber?: string | null, pickupAddress: Record<string, unknown>, deliveryAddress: Record<string, unknown>, items: Record<string, unknown>, pricing?: Record<string, unknown> | null, scheduledDelivery?: string | null, vehicleId?: string | null, driverId?: string | null, createdAt: string, updatedAt: string }> }, orderStats: { __typename?: 'OrderStats', total: number, pending: number, inTransit: number, delivered: number, cancelled: number, failed: number }, fleetStats: { __typename?: 'FleetStats', totalVehicles: number, activeVehicles: number, inTransitVehicles: number, maintenanceVehicles: number, totalDrivers: number, availableDrivers: number, onDeliveryDrivers: number }, financeMetrics: { __typename?: 'FinanceMetrics', fuelCost: number, openInvoices: number, revenue: { __typename?: 'RevenueMetrics', totalRevenue: number, averageOrderValue: number, deliveredRevenue: number } }, analytics: { __typename?: 'AnalyticsSeries', deliveryTrend: Array<{ __typename?: 'AnalyticsPoint', label: string, value: number }>, orderTrend: Array<{ __typename?: 'AnalyticsPoint', label: string, value: number }>, revenueTrend: Array<{ __typename?: 'AnalyticsPoint', label: string, value: number }> } };
|
|
389
|
+
|
|
390
|
+
export type GetAssistantInsightsQueryVariables = Types.Exact<{
|
|
391
|
+
question: Types.Scalars['String']['input'];
|
|
392
|
+
}>;
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
export type GetAssistantInsightsQuery = { __typename?: 'Query', assistantInsights: { __typename?: 'AssistantInsights', question: string, answer: string, generatedAt: string } };
|
|
396
|
+
|
|
397
|
+
export type ListCustomersQueryVariables = Types.Exact<{
|
|
398
|
+
filter?: Types.InputMaybe<Types.CustomerFilterInput>;
|
|
399
|
+
pagination?: Types.InputMaybe<Types.PaginationInput>;
|
|
400
|
+
}>;
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
export type ListCustomersQuery = { __typename?: 'Query', customers: Array<{ __typename?: 'Customer', id: string, name: string, email?: string | null, phone?: string | null, type: string, company?: string | null, address?: Record<string, unknown> | null, rating?: number | null, createdAt: string, updatedAt: string }> };
|
|
404
|
+
|
|
405
|
+
export type GetCustomerQueryVariables = Types.Exact<{
|
|
406
|
+
id: Types.Scalars['ID']['input'];
|
|
407
|
+
}>;
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
export type GetCustomerQuery = { __typename?: 'Query', customer?: { __typename?: 'Customer', id: string, name: string, email?: string | null, phone?: string | null, type: string, company?: string | null, address?: Record<string, unknown> | null, rating?: number | null, createdAt: string, updatedAt: string } | null };
|
|
411
|
+
|
|
412
|
+
export type ListProductsQueryVariables = Types.Exact<{
|
|
413
|
+
filter?: Types.InputMaybe<Types.ProductFilterInput>;
|
|
414
|
+
pagination?: Types.InputMaybe<Types.PaginationInput>;
|
|
415
|
+
}>;
|
|
416
|
+
|
|
417
|
+
|
|
418
|
+
export type ListProductsQuery = { __typename?: 'Query', products: Array<{ __typename?: 'Product', id: string, sku: string, name: string, description?: string | null, category?: string | null, brand?: string | null, dimensions?: Record<string, unknown> | null, weight?: number | null, value?: number | null, hazardous: boolean, fragile: boolean, temperatureControlled: boolean, createdAt: string, updatedAt: string }> };
|
|
419
|
+
|
|
420
|
+
export type GetProductQueryVariables = Types.Exact<{
|
|
421
|
+
id: Types.Scalars['ID']['input'];
|
|
422
|
+
}>;
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
export type GetProductQuery = { __typename?: 'Query', product?: { __typename?: 'Product', id: string, sku: string, name: string, description?: string | null, category?: string | null, brand?: string | null, dimensions?: Record<string, unknown> | null, weight?: number | null, value?: number | null, hazardous: boolean, fragile: boolean, temperatureControlled: boolean, createdAt: string, updatedAt: string } | null };
|
|
426
|
+
|
|
427
|
+
export type ListVehiclesQueryVariables = Types.Exact<{
|
|
428
|
+
filter?: Types.InputMaybe<Types.VehicleFilterInput>;
|
|
429
|
+
pagination?: Types.InputMaybe<Types.PaginationInput>;
|
|
430
|
+
}>;
|
|
431
|
+
|
|
432
|
+
|
|
433
|
+
export type ListVehiclesQuery = { __typename?: 'Query', vehicles: Array<{ __typename?: 'Vehicle', id: string, vehicleNumber: string, make?: string | null, model?: string | null, year?: number | null, licensePlate?: string | null, type: Types.VehicleType, ownershipType?: string | null, capacity?: Record<string, unknown> | null, status: Types.VehicleStatus, currentLocation?: Record<string, unknown> | null, fuelLevel?: number | null, mileage?: number | null, createdAt: string, updatedAt: string }> };
|
|
434
|
+
|
|
435
|
+
export type GetVehicleQueryVariables = Types.Exact<{
|
|
436
|
+
id: Types.Scalars['ID']['input'];
|
|
437
|
+
}>;
|
|
438
|
+
|
|
439
|
+
|
|
440
|
+
export type GetVehicleQuery = { __typename?: 'Query', vehicle?: { __typename?: 'Vehicle', id: string, vehicleNumber: string, make?: string | null, model?: string | null, year?: number | null, licensePlate?: string | null, type: Types.VehicleType, ownershipType?: string | null, capacity?: Record<string, unknown> | null, status: Types.VehicleStatus, currentLocation?: Record<string, unknown> | null, fuelLevel?: number | null, mileage?: number | null, createdAt: string, updatedAt: string } | null };
|
|
441
|
+
|
|
442
|
+
export type ListDriversQueryVariables = Types.Exact<{
|
|
443
|
+
filter?: Types.InputMaybe<Types.DriverFilterInput>;
|
|
444
|
+
pagination?: Types.InputMaybe<Types.PaginationInput>;
|
|
445
|
+
}>;
|
|
446
|
+
|
|
447
|
+
|
|
448
|
+
export type ListDriversQuery = { __typename?: 'Query', drivers: Array<{ __typename?: 'Driver', id: string, employeeId: string, firstName: string, lastName: string, phone?: string | null, email?: string | null, licenseNumber?: string | null, licenseClass?: string | null, licenseExpiry?: string | null, status: Types.DriverStatus, currentLocation?: Record<string, unknown> | null, rating?: number | null, userId?: string | null, vehicleId?: string | null, createdAt: string, updatedAt: string }> };
|
|
449
|
+
|
|
450
|
+
export type GetDriverQueryVariables = Types.Exact<{
|
|
451
|
+
id: Types.Scalars['ID']['input'];
|
|
452
|
+
}>;
|
|
453
|
+
|
|
454
|
+
|
|
455
|
+
export type GetDriverQuery = { __typename?: 'Query', driver?: { __typename?: 'Driver', id: string, employeeId: string, firstName: string, lastName: string, phone?: string | null, email?: string | null, licenseNumber?: string | null, licenseClass?: string | null, licenseExpiry?: string | null, status: Types.DriverStatus, currentLocation?: Record<string, unknown> | null, rating?: number | null, userId?: string | null, vehicleId?: string | null, createdAt: string, updatedAt: string } | null };
|
|
456
|
+
|
|
457
|
+
export type ListWarehousesQueryVariables = Types.Exact<{
|
|
458
|
+
filter?: Types.InputMaybe<Types.WarehouseFilterInput>;
|
|
459
|
+
pagination?: Types.InputMaybe<Types.PaginationInput>;
|
|
460
|
+
}>;
|
|
461
|
+
|
|
462
|
+
|
|
463
|
+
export type ListWarehousesQuery = { __typename?: 'Query', warehouses: Array<{ __typename?: 'Warehouse', id: string, name: string, code: string, type: Types.WarehouseType, address: Record<string, unknown>, contactInfo?: Record<string, unknown> | null, operatingHours?: Record<string, unknown> | null, capabilities?: Record<string, unknown> | null, status: string, totalCapacity?: number | null, usedCapacity?: number | null, createdAt: string, updatedAt: string, locations: Array<{ __typename?: 'WarehouseLocation', id: string, locationCode: string, zone?: string | null, aisle?: string | null, rack?: string | null, shelf?: string | null, bin?: string | null, locationType?: string | null, capacity?: number | null, status: string }> }> };
|
|
464
|
+
|
|
465
|
+
export type GetWarehouseQueryVariables = Types.Exact<{
|
|
466
|
+
id: Types.Scalars['ID']['input'];
|
|
467
|
+
}>;
|
|
468
|
+
|
|
469
|
+
|
|
470
|
+
export type GetWarehouseQuery = { __typename?: 'Query', warehouse?: { __typename?: 'Warehouse', id: string, name: string, code: string, type: Types.WarehouseType, address: Record<string, unknown>, contactInfo?: Record<string, unknown> | null, operatingHours?: Record<string, unknown> | null, capabilities?: Record<string, unknown> | null, status: string, totalCapacity?: number | null, usedCapacity?: number | null, createdAt: string, updatedAt: string, locations: Array<{ __typename?: 'WarehouseLocation', id: string, locationCode: string, zone?: string | null, aisle?: string | null, rack?: string | null, shelf?: string | null, bin?: string | null, locationType?: string | null, capacity?: number | null, status: string }> } | null };
|
|
471
|
+
|
|
472
|
+
export type ListInventoryItemsQueryVariables = Types.Exact<{
|
|
473
|
+
filter?: Types.InputMaybe<Types.InventoryFilterInput>;
|
|
474
|
+
pagination?: Types.InputMaybe<Types.PaginationInput>;
|
|
475
|
+
}>;
|
|
476
|
+
|
|
477
|
+
|
|
478
|
+
export type ListInventoryItemsQuery = { __typename?: 'Query', inventoryItems: Array<{ __typename?: 'InventoryItem', id: string, productId: string, warehouseId: string, locationId?: string | null, onHand: number, available: number, allocated: number, damaged: number, unitCost?: number | null, reorderPoint?: number | null, safetyStock?: number | null, createdAt: string, updatedAt: string, product?: { __typename?: 'Product', id: string, name: string, sku: string, category?: string | null } | null, warehouse?: { __typename?: 'Warehouse', id: string, name: string, code: string, type: Types.WarehouseType } | null }> };
|
|
479
|
+
|
|
480
|
+
export type GetInventoryStatsQueryVariables = Types.Exact<{ [key: string]: never; }>;
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
export type GetInventoryStatsQuery = { __typename?: 'Query', inventoryStats: { __typename?: 'InventoryStats', totalOnHand: number, totalAvailable: number, totalAllocated: number, totalDamaged: number, lowStockCount: number } };
|
|
484
|
+
|
|
485
|
+
export type ListRoutesQueryVariables = Types.Exact<{
|
|
486
|
+
filter?: Types.InputMaybe<Types.RouteFilterInput>;
|
|
487
|
+
pagination?: Types.InputMaybe<Types.PaginationInput>;
|
|
488
|
+
}>;
|
|
489
|
+
|
|
490
|
+
|
|
491
|
+
export type ListRoutesQuery = { __typename?: 'Query', routes: Array<{ __typename?: 'Route', id: string, name: string, status: Types.RouteStatus, shipmentId?: string | null, vehicleId?: string | null, driverId?: string | null, waypoints: Record<string, unknown>, estimatedDistance?: number | null, estimatedDuration?: number | null, actualDistance?: number | null, actualDuration?: number | null, fuelCost?: number | null, createdAt: string, updatedAt: string }> };
|
|
492
|
+
|
|
493
|
+
export type GetRouteQueryVariables = Types.Exact<{
|
|
494
|
+
id: Types.Scalars['ID']['input'];
|
|
495
|
+
}>;
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
export type GetRouteQuery = { __typename?: 'Query', route?: { __typename?: 'Route', id: string, name: string, status: Types.RouteStatus, shipmentId?: string | null, vehicleId?: string | null, driverId?: string | null, waypoints: Record<string, unknown>, estimatedDistance?: number | null, estimatedDuration?: number | null, actualDistance?: number | null, actualDuration?: number | null, fuelCost?: number | null, createdAt: string, updatedAt: string } | null };
|
|
499
|
+
|
|
500
|
+
export type ListShipmentsQueryVariables = Types.Exact<{
|
|
501
|
+
filter?: Types.InputMaybe<Types.ShipmentFilterInput>;
|
|
502
|
+
pagination?: Types.InputMaybe<Types.PaginationInput>;
|
|
503
|
+
}>;
|
|
504
|
+
|
|
505
|
+
|
|
506
|
+
export type ListShipmentsQuery = { __typename?: 'Query', shipments: Array<{ __typename?: 'Shipment', id: string, shipmentNumber: string, orderId: string, customerId?: string | null, carrierId?: string | null, status: Types.ShipmentStatus, origin: Record<string, unknown>, destination: Record<string, unknown>, cargoDetails?: Record<string, unknown> | null, trackingNumber?: string | null, estimatedDelivery?: string | null, actualDelivery?: string | null, createdAt: string, updatedAt: string }> };
|
|
507
|
+
|
|
508
|
+
export type GetShipmentQueryVariables = Types.Exact<{
|
|
509
|
+
id: Types.Scalars['ID']['input'];
|
|
510
|
+
}>;
|
|
511
|
+
|
|
512
|
+
|
|
513
|
+
export type GetShipmentQuery = { __typename?: 'Query', shipment?: { __typename?: 'Shipment', id: string, shipmentNumber: string, orderId: string, customerId?: string | null, carrierId?: string | null, status: Types.ShipmentStatus, origin: Record<string, unknown>, destination: Record<string, unknown>, cargoDetails?: Record<string, unknown> | null, trackingNumber?: string | null, estimatedDelivery?: string | null, actualDelivery?: string | null, createdAt: string, updatedAt: string, trackingEvents: Array<{ __typename?: 'TrackingEvent', id: string, eventType: Types.TrackingEventType, location?: Record<string, unknown> | null, details?: string | null, timestamp: string }> } | null };
|
|
514
|
+
|
|
515
|
+
export type GetOrderTrackingQueryVariables = Types.Exact<{
|
|
516
|
+
orderId: Types.Scalars['ID']['input'];
|
|
517
|
+
}>;
|
|
518
|
+
|
|
519
|
+
|
|
520
|
+
export type GetOrderTrackingQuery = { __typename?: 'Query', orderTracking: Array<{ __typename?: 'TrackingEvent', id: string, shipmentId: string, eventType: Types.TrackingEventType, location?: Record<string, unknown> | null, details?: string | null, timestamp: string }> };
|
|
521
|
+
|
|
522
|
+
export type GetActiveDeliveriesQueryVariables = Types.Exact<{ [key: string]: never; }>;
|
|
523
|
+
|
|
524
|
+
|
|
525
|
+
export type GetActiveDeliveriesQuery = { __typename?: 'Query', activeDeliveries: Array<{ __typename?: 'Shipment', id: string, shipmentNumber: string, orderId: string, customerId?: string | null, carrierId?: string | null, status: Types.ShipmentStatus, origin: Record<string, unknown>, destination: Record<string, unknown>, cargoDetails?: Record<string, unknown> | null, trackingNumber?: string | null, estimatedDelivery?: string | null, actualDelivery?: string | null, createdAt: string, updatedAt: string }> };
|
|
526
|
+
|
|
527
|
+
export type GetTrackingAlertsQueryVariables = Types.Exact<{ [key: string]: never; }>;
|
|
528
|
+
|
|
529
|
+
|
|
530
|
+
export type GetTrackingAlertsQuery = { __typename?: 'Query', trackingAlerts: Array<{ __typename?: 'TrackingAlert', shipmentId: string, shipmentNumber: string, alertType: string, message: string }> };
|
|
531
|
+
|
|
532
|
+
export type ListServiceProvidersQueryVariables = Types.Exact<{
|
|
533
|
+
filter?: Types.InputMaybe<Types.ServiceProviderFilterInput>;
|
|
534
|
+
pagination?: Types.InputMaybe<Types.PaginationInput>;
|
|
535
|
+
}>;
|
|
536
|
+
|
|
537
|
+
|
|
538
|
+
export type ListServiceProvidersQuery = { __typename?: 'Query', serviceProviders: Array<{ __typename?: 'ServiceProvider', id: string, name: string, type: string, description?: string | null, rating?: number | null, contactInfo?: Record<string, unknown> | null, services?: Record<string, unknown> | null, isVerified: boolean, isActive: boolean, createdAt: string, updatedAt: string }> };
|
|
539
|
+
|
|
540
|
+
export type ListServiceOfferingsQueryVariables = Types.Exact<{
|
|
541
|
+
filter?: Types.InputMaybe<Types.ServiceOfferingFilterInput>;
|
|
542
|
+
pagination?: Types.InputMaybe<Types.PaginationInput>;
|
|
543
|
+
}>;
|
|
544
|
+
|
|
545
|
+
|
|
546
|
+
export type ListServiceOfferingsQuery = { __typename?: 'Query', serviceOfferings: Array<{ __typename?: 'ServiceOffering', id: string, providerId: string, name: string, description?: string | null, category?: string | null, price: number, currency: string, availability?: Record<string, unknown> | null, createdAt: string, updatedAt: string, provider?: { __typename?: 'ServiceProvider', id: string, name: string, type: string, rating?: number | null } | null }> };
|
|
547
|
+
|
|
548
|
+
export type ListMovethewheelsReportsQueryVariables = Types.Exact<{
|
|
549
|
+
filter?: Types.InputMaybe<Types.MovethewheelsReportFilterInput>;
|
|
550
|
+
pagination?: Types.InputMaybe<Types.PaginationInput>;
|
|
551
|
+
}>;
|
|
552
|
+
|
|
553
|
+
|
|
554
|
+
export type ListMovethewheelsReportsQuery = { __typename?: 'Query', movethewheelsReports: Array<{ __typename?: 'MovethewheelsReport', id: string, name: string, type: string, description?: string | null, schedule?: string | null, lastGenerated?: string | null, configuration?: Record<string, unknown> | null, status: string, createdAt: string, updatedAt: string }> };
|
|
555
|
+
|
|
556
|
+
export type GetMovethewheelsReportQueryVariables = Types.Exact<{
|
|
557
|
+
id: Types.Scalars['ID']['input'];
|
|
558
|
+
}>;
|
|
559
|
+
|
|
560
|
+
|
|
561
|
+
export type GetMovethewheelsReportQuery = { __typename?: 'Query', movethewheelsReport?: { __typename?: 'MovethewheelsReport', id: string, name: string, type: string, description?: string | null, schedule?: string | null, lastGenerated?: string | null, configuration?: Record<string, unknown> | null, status: string, createdAt: string, updatedAt: string } | null };
|
|
562
|
+
|
|
563
|
+
export type GetMovethewheelsModuleSettingsQueryVariables = Types.Exact<{ [key: string]: never; }>;
|
|
564
|
+
|
|
565
|
+
|
|
566
|
+
export type GetMovethewheelsModuleSettingsQuery = { __typename?: 'Query', moduleSettings: { __typename?: 'ModuleSettings', workspaceId: string, preferences: Record<string, unknown>, updatedAt: string } };
|
|
567
|
+
|
|
568
|
+
export type ListMovethewheelsOrdersQueryVariables = Types.Exact<{
|
|
569
|
+
filter?: Types.InputMaybe<Types.OrderFilterInput>;
|
|
570
|
+
pagination?: Types.InputMaybe<Types.PaginationInput>;
|
|
571
|
+
}>;
|
|
572
|
+
|
|
573
|
+
|
|
574
|
+
export type ListMovethewheelsOrdersQuery = { __typename?: 'Query', movethewheelsOrders: Array<{ __typename?: 'MovethewheelsOrder', id: string, orderNumber: string, orderType: Types.OrderType, status: Types.OrderStatus, priority: Types.OrderPriority, customerId: string, trackingNumber?: string | null, pickupAddress: Record<string, unknown>, deliveryAddress: Record<string, unknown>, items: Record<string, unknown>, pricing?: Record<string, unknown> | null, scheduledDelivery?: string | null, vehicleId?: string | null, driverId?: string | null, createdAt: string, updatedAt: string }> };
|
|
575
|
+
|
|
576
|
+
export type GetMovethewheelsOrderQueryVariables = Types.Exact<{
|
|
577
|
+
id: Types.Scalars['ID']['input'];
|
|
578
|
+
}>;
|
|
579
|
+
|
|
580
|
+
|
|
581
|
+
export type GetMovethewheelsOrderQuery = { __typename?: 'Query', movethewheelsOrder?: { __typename?: 'MovethewheelsOrder', id: string, orderNumber: string, orderType: Types.OrderType, status: Types.OrderStatus, priority: Types.OrderPriority, customerId: string, trackingNumber?: string | null, pickupAddress: Record<string, unknown>, deliveryAddress: Record<string, unknown>, items: Record<string, unknown>, pricing?: Record<string, unknown> | null, scheduledDelivery?: string | null, vehicleId?: string | null, driverId?: string | null, createdAt: string, updatedAt: string, customer?: { __typename?: 'Customer', id: string, name: string, email?: string | null, phone?: string | null } | null, vehicle?: { __typename?: 'Vehicle', id: string, vehicleNumber: string, type: Types.VehicleType, status: Types.VehicleStatus } | null, driver?: { __typename?: 'Driver', id: string, firstName: string, lastName: string, status: Types.DriverStatus } | null, statusHistory: Array<{ __typename?: 'OrderStatusHistory', id: string, status: Types.OrderStatus, previousStatus?: Types.OrderStatus | null, notes?: string | null, location?: Record<string, unknown> | null, createdAt: string }>, shipment?: { __typename?: 'Shipment', id: string, shipmentNumber: string, status: Types.ShipmentStatus, trackingNumber?: string | null } | null } | null };
|
|
582
|
+
|
|
583
|
+
export const MovethewheelsOrderCoreFragmentDoc = gql`
|
|
584
|
+
fragment MovethewheelsOrderCore on MovethewheelsOrder {
|
|
585
|
+
id
|
|
586
|
+
orderNumber
|
|
587
|
+
orderType
|
|
588
|
+
status
|
|
589
|
+
priority
|
|
590
|
+
customerId
|
|
591
|
+
trackingNumber
|
|
592
|
+
pickupAddress
|
|
593
|
+
deliveryAddress
|
|
594
|
+
items
|
|
595
|
+
pricing
|
|
596
|
+
scheduledDelivery
|
|
597
|
+
vehicleId
|
|
598
|
+
driverId
|
|
599
|
+
createdAt
|
|
600
|
+
updatedAt
|
|
601
|
+
}
|
|
602
|
+
`;
|
|
603
|
+
export const CustomerCoreFragmentDoc = gql`
|
|
604
|
+
fragment CustomerCore on Customer {
|
|
605
|
+
id
|
|
606
|
+
name
|
|
607
|
+
email
|
|
608
|
+
phone
|
|
609
|
+
type
|
|
610
|
+
company
|
|
611
|
+
address
|
|
612
|
+
rating
|
|
613
|
+
createdAt
|
|
614
|
+
updatedAt
|
|
615
|
+
}
|
|
616
|
+
`;
|
|
617
|
+
export const ProductCoreFragmentDoc = gql`
|
|
618
|
+
fragment ProductCore on Product {
|
|
619
|
+
id
|
|
620
|
+
sku
|
|
621
|
+
name
|
|
622
|
+
description
|
|
623
|
+
category
|
|
624
|
+
brand
|
|
625
|
+
dimensions
|
|
626
|
+
weight
|
|
627
|
+
value
|
|
628
|
+
hazardous
|
|
629
|
+
fragile
|
|
630
|
+
temperatureControlled
|
|
631
|
+
createdAt
|
|
632
|
+
updatedAt
|
|
633
|
+
}
|
|
634
|
+
`;
|
|
635
|
+
export const VehicleCoreFragmentDoc = gql`
|
|
636
|
+
fragment VehicleCore on Vehicle {
|
|
637
|
+
id
|
|
638
|
+
vehicleNumber
|
|
639
|
+
make
|
|
640
|
+
model
|
|
641
|
+
year
|
|
642
|
+
licensePlate
|
|
643
|
+
type
|
|
644
|
+
ownershipType
|
|
645
|
+
capacity
|
|
646
|
+
status
|
|
647
|
+
currentLocation
|
|
648
|
+
fuelLevel
|
|
649
|
+
mileage
|
|
650
|
+
createdAt
|
|
651
|
+
updatedAt
|
|
652
|
+
}
|
|
653
|
+
`;
|
|
654
|
+
export const DriverCoreFragmentDoc = gql`
|
|
655
|
+
fragment DriverCore on Driver {
|
|
656
|
+
id
|
|
657
|
+
employeeId
|
|
658
|
+
firstName
|
|
659
|
+
lastName
|
|
660
|
+
phone
|
|
661
|
+
email
|
|
662
|
+
licenseNumber
|
|
663
|
+
licenseClass
|
|
664
|
+
licenseExpiry
|
|
665
|
+
status
|
|
666
|
+
currentLocation
|
|
667
|
+
rating
|
|
668
|
+
userId
|
|
669
|
+
vehicleId
|
|
670
|
+
createdAt
|
|
671
|
+
updatedAt
|
|
672
|
+
}
|
|
673
|
+
`;
|
|
674
|
+
export const WarehouseCoreFragmentDoc = gql`
|
|
675
|
+
fragment WarehouseCore on Warehouse {
|
|
676
|
+
id
|
|
677
|
+
name
|
|
678
|
+
code
|
|
679
|
+
type
|
|
680
|
+
address
|
|
681
|
+
contactInfo
|
|
682
|
+
operatingHours
|
|
683
|
+
capabilities
|
|
684
|
+
status
|
|
685
|
+
totalCapacity
|
|
686
|
+
usedCapacity
|
|
687
|
+
createdAt
|
|
688
|
+
updatedAt
|
|
689
|
+
}
|
|
690
|
+
`;
|
|
691
|
+
export const InventoryItemCoreFragmentDoc = gql`
|
|
692
|
+
fragment InventoryItemCore on InventoryItem {
|
|
693
|
+
id
|
|
694
|
+
productId
|
|
695
|
+
warehouseId
|
|
696
|
+
locationId
|
|
697
|
+
onHand
|
|
698
|
+
available
|
|
699
|
+
allocated
|
|
700
|
+
damaged
|
|
701
|
+
unitCost
|
|
702
|
+
reorderPoint
|
|
703
|
+
safetyStock
|
|
704
|
+
createdAt
|
|
705
|
+
updatedAt
|
|
706
|
+
}
|
|
707
|
+
`;
|
|
708
|
+
export const RouteCoreFragmentDoc = gql`
|
|
709
|
+
fragment RouteCore on Route {
|
|
710
|
+
id
|
|
711
|
+
name
|
|
712
|
+
status
|
|
713
|
+
shipmentId
|
|
714
|
+
vehicleId
|
|
715
|
+
driverId
|
|
716
|
+
waypoints
|
|
717
|
+
estimatedDistance
|
|
718
|
+
estimatedDuration
|
|
719
|
+
actualDistance
|
|
720
|
+
actualDuration
|
|
721
|
+
fuelCost
|
|
722
|
+
createdAt
|
|
723
|
+
updatedAt
|
|
724
|
+
}
|
|
725
|
+
`;
|
|
726
|
+
export const ShipmentCoreFragmentDoc = gql`
|
|
727
|
+
fragment ShipmentCore on Shipment {
|
|
728
|
+
id
|
|
729
|
+
shipmentNumber
|
|
730
|
+
orderId
|
|
731
|
+
customerId
|
|
732
|
+
carrierId
|
|
733
|
+
status
|
|
734
|
+
origin
|
|
735
|
+
destination
|
|
736
|
+
cargoDetails
|
|
737
|
+
trackingNumber
|
|
738
|
+
estimatedDelivery
|
|
739
|
+
actualDelivery
|
|
740
|
+
createdAt
|
|
741
|
+
updatedAt
|
|
742
|
+
}
|
|
743
|
+
`;
|
|
744
|
+
export const ServiceProviderCoreFragmentDoc = gql`
|
|
745
|
+
fragment ServiceProviderCore on ServiceProvider {
|
|
746
|
+
id
|
|
747
|
+
name
|
|
748
|
+
type
|
|
749
|
+
description
|
|
750
|
+
rating
|
|
751
|
+
contactInfo
|
|
752
|
+
services
|
|
753
|
+
isVerified
|
|
754
|
+
isActive
|
|
755
|
+
createdAt
|
|
756
|
+
updatedAt
|
|
757
|
+
}
|
|
758
|
+
`;
|
|
759
|
+
export const ServiceOfferingCoreFragmentDoc = gql`
|
|
760
|
+
fragment ServiceOfferingCore on ServiceOffering {
|
|
761
|
+
id
|
|
762
|
+
providerId
|
|
763
|
+
name
|
|
764
|
+
description
|
|
765
|
+
category
|
|
766
|
+
price
|
|
767
|
+
currency
|
|
768
|
+
availability
|
|
769
|
+
createdAt
|
|
770
|
+
updatedAt
|
|
771
|
+
}
|
|
772
|
+
`;
|
|
773
|
+
export const MovethewheelsReportCoreFragmentDoc = gql`
|
|
774
|
+
fragment MovethewheelsReportCore on MovethewheelsReport {
|
|
775
|
+
id
|
|
776
|
+
name
|
|
777
|
+
type
|
|
778
|
+
description
|
|
779
|
+
schedule
|
|
780
|
+
lastGenerated
|
|
781
|
+
configuration
|
|
782
|
+
status
|
|
783
|
+
createdAt
|
|
784
|
+
updatedAt
|
|
785
|
+
}
|
|
786
|
+
`;
|
|
787
|
+
export const CreateCustomerDocument = gql`
|
|
788
|
+
mutation CreateCustomer($input: CreateCustomerInput!) {
|
|
789
|
+
createCustomer(input: $input) {
|
|
790
|
+
...CustomerCore
|
|
791
|
+
}
|
|
792
|
+
}
|
|
793
|
+
${CustomerCoreFragmentDoc}`;
|
|
794
|
+
export type CreateCustomerMutationFn = Apollo.MutationFunction<Types.CreateCustomerMutation, Types.CreateCustomerMutationVariables>;
|
|
795
|
+
|
|
796
|
+
/**
|
|
797
|
+
* __useCreateCustomerMutation__
|
|
798
|
+
*
|
|
799
|
+
* To run a mutation, you first call `useCreateCustomerMutation` within a React component and pass it any options that fit your needs.
|
|
800
|
+
* When your component renders, `useCreateCustomerMutation` returns a tuple that includes:
|
|
801
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
802
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
803
|
+
*
|
|
804
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
805
|
+
*
|
|
806
|
+
* @example
|
|
807
|
+
* const [createCustomerMutation, { data, loading, error }] = useCreateCustomerMutation({
|
|
808
|
+
* variables: {
|
|
809
|
+
* input: // value for 'input'
|
|
810
|
+
* },
|
|
811
|
+
* });
|
|
812
|
+
*/
|
|
813
|
+
export function useCreateCustomerMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CreateCustomerMutation, Types.CreateCustomerMutationVariables>) {
|
|
814
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
815
|
+
return ApolloReactHooks.useMutation<Types.CreateCustomerMutation, Types.CreateCustomerMutationVariables>(CreateCustomerDocument, options);
|
|
816
|
+
}
|
|
817
|
+
export type CreateCustomerMutationHookResult = ReturnType<typeof useCreateCustomerMutation>;
|
|
818
|
+
export type CreateCustomerMutationResult = Apollo.MutationResult<Types.CreateCustomerMutation>;
|
|
819
|
+
export type CreateCustomerMutationOptions = Apollo.BaseMutationOptions<Types.CreateCustomerMutation, Types.CreateCustomerMutationVariables>;
|
|
820
|
+
export const UpdateCustomerDocument = gql`
|
|
821
|
+
mutation UpdateCustomer($id: ID!, $input: UpdateCustomerInput!) {
|
|
822
|
+
updateCustomer(id: $id, input: $input) {
|
|
823
|
+
...CustomerCore
|
|
824
|
+
}
|
|
825
|
+
}
|
|
826
|
+
${CustomerCoreFragmentDoc}`;
|
|
827
|
+
export type UpdateCustomerMutationFn = Apollo.MutationFunction<Types.UpdateCustomerMutation, Types.UpdateCustomerMutationVariables>;
|
|
828
|
+
|
|
829
|
+
/**
|
|
830
|
+
* __useUpdateCustomerMutation__
|
|
831
|
+
*
|
|
832
|
+
* To run a mutation, you first call `useUpdateCustomerMutation` within a React component and pass it any options that fit your needs.
|
|
833
|
+
* When your component renders, `useUpdateCustomerMutation` returns a tuple that includes:
|
|
834
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
835
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
836
|
+
*
|
|
837
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
838
|
+
*
|
|
839
|
+
* @example
|
|
840
|
+
* const [updateCustomerMutation, { data, loading, error }] = useUpdateCustomerMutation({
|
|
841
|
+
* variables: {
|
|
842
|
+
* id: // value for 'id'
|
|
843
|
+
* input: // value for 'input'
|
|
844
|
+
* },
|
|
845
|
+
* });
|
|
846
|
+
*/
|
|
847
|
+
export function useUpdateCustomerMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateCustomerMutation, Types.UpdateCustomerMutationVariables>) {
|
|
848
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
849
|
+
return ApolloReactHooks.useMutation<Types.UpdateCustomerMutation, Types.UpdateCustomerMutationVariables>(UpdateCustomerDocument, options);
|
|
850
|
+
}
|
|
851
|
+
export type UpdateCustomerMutationHookResult = ReturnType<typeof useUpdateCustomerMutation>;
|
|
852
|
+
export type UpdateCustomerMutationResult = Apollo.MutationResult<Types.UpdateCustomerMutation>;
|
|
853
|
+
export type UpdateCustomerMutationOptions = Apollo.BaseMutationOptions<Types.UpdateCustomerMutation, Types.UpdateCustomerMutationVariables>;
|
|
854
|
+
export const DeleteCustomerDocument = gql`
|
|
855
|
+
mutation DeleteCustomer($id: ID!) {
|
|
856
|
+
deleteCustomer(id: $id)
|
|
857
|
+
}
|
|
858
|
+
`;
|
|
859
|
+
export type DeleteCustomerMutationFn = Apollo.MutationFunction<Types.DeleteCustomerMutation, Types.DeleteCustomerMutationVariables>;
|
|
860
|
+
|
|
861
|
+
/**
|
|
862
|
+
* __useDeleteCustomerMutation__
|
|
863
|
+
*
|
|
864
|
+
* To run a mutation, you first call `useDeleteCustomerMutation` within a React component and pass it any options that fit your needs.
|
|
865
|
+
* When your component renders, `useDeleteCustomerMutation` returns a tuple that includes:
|
|
866
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
867
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
868
|
+
*
|
|
869
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
870
|
+
*
|
|
871
|
+
* @example
|
|
872
|
+
* const [deleteCustomerMutation, { data, loading, error }] = useDeleteCustomerMutation({
|
|
873
|
+
* variables: {
|
|
874
|
+
* id: // value for 'id'
|
|
875
|
+
* },
|
|
876
|
+
* });
|
|
877
|
+
*/
|
|
878
|
+
export function useDeleteCustomerMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeleteCustomerMutation, Types.DeleteCustomerMutationVariables>) {
|
|
879
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
880
|
+
return ApolloReactHooks.useMutation<Types.DeleteCustomerMutation, Types.DeleteCustomerMutationVariables>(DeleteCustomerDocument, options);
|
|
881
|
+
}
|
|
882
|
+
export type DeleteCustomerMutationHookResult = ReturnType<typeof useDeleteCustomerMutation>;
|
|
883
|
+
export type DeleteCustomerMutationResult = Apollo.MutationResult<Types.DeleteCustomerMutation>;
|
|
884
|
+
export type DeleteCustomerMutationOptions = Apollo.BaseMutationOptions<Types.DeleteCustomerMutation, Types.DeleteCustomerMutationVariables>;
|
|
885
|
+
export const CreateProductDocument = gql`
|
|
886
|
+
mutation CreateProduct($input: CreateProductInput!) {
|
|
887
|
+
createProduct(input: $input) {
|
|
888
|
+
...ProductCore
|
|
889
|
+
}
|
|
890
|
+
}
|
|
891
|
+
${ProductCoreFragmentDoc}`;
|
|
892
|
+
export type CreateProductMutationFn = Apollo.MutationFunction<Types.CreateProductMutation, Types.CreateProductMutationVariables>;
|
|
893
|
+
|
|
894
|
+
/**
|
|
895
|
+
* __useCreateProductMutation__
|
|
896
|
+
*
|
|
897
|
+
* To run a mutation, you first call `useCreateProductMutation` within a React component and pass it any options that fit your needs.
|
|
898
|
+
* When your component renders, `useCreateProductMutation` returns a tuple that includes:
|
|
899
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
900
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
901
|
+
*
|
|
902
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
903
|
+
*
|
|
904
|
+
* @example
|
|
905
|
+
* const [createProductMutation, { data, loading, error }] = useCreateProductMutation({
|
|
906
|
+
* variables: {
|
|
907
|
+
* input: // value for 'input'
|
|
908
|
+
* },
|
|
909
|
+
* });
|
|
910
|
+
*/
|
|
911
|
+
export function useCreateProductMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CreateProductMutation, Types.CreateProductMutationVariables>) {
|
|
912
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
913
|
+
return ApolloReactHooks.useMutation<Types.CreateProductMutation, Types.CreateProductMutationVariables>(CreateProductDocument, options);
|
|
914
|
+
}
|
|
915
|
+
export type CreateProductMutationHookResult = ReturnType<typeof useCreateProductMutation>;
|
|
916
|
+
export type CreateProductMutationResult = Apollo.MutationResult<Types.CreateProductMutation>;
|
|
917
|
+
export type CreateProductMutationOptions = Apollo.BaseMutationOptions<Types.CreateProductMutation, Types.CreateProductMutationVariables>;
|
|
918
|
+
export const UpdateProductDocument = gql`
|
|
919
|
+
mutation UpdateProduct($id: ID!, $input: UpdateProductInput!) {
|
|
920
|
+
updateProduct(id: $id, input: $input) {
|
|
921
|
+
...ProductCore
|
|
922
|
+
}
|
|
923
|
+
}
|
|
924
|
+
${ProductCoreFragmentDoc}`;
|
|
925
|
+
export type UpdateProductMutationFn = Apollo.MutationFunction<Types.UpdateProductMutation, Types.UpdateProductMutationVariables>;
|
|
926
|
+
|
|
927
|
+
/**
|
|
928
|
+
* __useUpdateProductMutation__
|
|
929
|
+
*
|
|
930
|
+
* To run a mutation, you first call `useUpdateProductMutation` within a React component and pass it any options that fit your needs.
|
|
931
|
+
* When your component renders, `useUpdateProductMutation` returns a tuple that includes:
|
|
932
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
933
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
934
|
+
*
|
|
935
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
936
|
+
*
|
|
937
|
+
* @example
|
|
938
|
+
* const [updateProductMutation, { data, loading, error }] = useUpdateProductMutation({
|
|
939
|
+
* variables: {
|
|
940
|
+
* id: // value for 'id'
|
|
941
|
+
* input: // value for 'input'
|
|
942
|
+
* },
|
|
943
|
+
* });
|
|
944
|
+
*/
|
|
945
|
+
export function useUpdateProductMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateProductMutation, Types.UpdateProductMutationVariables>) {
|
|
946
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
947
|
+
return ApolloReactHooks.useMutation<Types.UpdateProductMutation, Types.UpdateProductMutationVariables>(UpdateProductDocument, options);
|
|
948
|
+
}
|
|
949
|
+
export type UpdateProductMutationHookResult = ReturnType<typeof useUpdateProductMutation>;
|
|
950
|
+
export type UpdateProductMutationResult = Apollo.MutationResult<Types.UpdateProductMutation>;
|
|
951
|
+
export type UpdateProductMutationOptions = Apollo.BaseMutationOptions<Types.UpdateProductMutation, Types.UpdateProductMutationVariables>;
|
|
952
|
+
export const DeleteProductDocument = gql`
|
|
953
|
+
mutation DeleteProduct($id: ID!) {
|
|
954
|
+
deleteProduct(id: $id)
|
|
955
|
+
}
|
|
956
|
+
`;
|
|
957
|
+
export type DeleteProductMutationFn = Apollo.MutationFunction<Types.DeleteProductMutation, Types.DeleteProductMutationVariables>;
|
|
958
|
+
|
|
959
|
+
/**
|
|
960
|
+
* __useDeleteProductMutation__
|
|
961
|
+
*
|
|
962
|
+
* To run a mutation, you first call `useDeleteProductMutation` within a React component and pass it any options that fit your needs.
|
|
963
|
+
* When your component renders, `useDeleteProductMutation` returns a tuple that includes:
|
|
964
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
965
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
966
|
+
*
|
|
967
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
968
|
+
*
|
|
969
|
+
* @example
|
|
970
|
+
* const [deleteProductMutation, { data, loading, error }] = useDeleteProductMutation({
|
|
971
|
+
* variables: {
|
|
972
|
+
* id: // value for 'id'
|
|
973
|
+
* },
|
|
974
|
+
* });
|
|
975
|
+
*/
|
|
976
|
+
export function useDeleteProductMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeleteProductMutation, Types.DeleteProductMutationVariables>) {
|
|
977
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
978
|
+
return ApolloReactHooks.useMutation<Types.DeleteProductMutation, Types.DeleteProductMutationVariables>(DeleteProductDocument, options);
|
|
979
|
+
}
|
|
980
|
+
export type DeleteProductMutationHookResult = ReturnType<typeof useDeleteProductMutation>;
|
|
981
|
+
export type DeleteProductMutationResult = Apollo.MutationResult<Types.DeleteProductMutation>;
|
|
982
|
+
export type DeleteProductMutationOptions = Apollo.BaseMutationOptions<Types.DeleteProductMutation, Types.DeleteProductMutationVariables>;
|
|
983
|
+
export const CreateVehicleDocument = gql`
|
|
984
|
+
mutation CreateVehicle($input: CreateVehicleInput!) {
|
|
985
|
+
createVehicle(input: $input) {
|
|
986
|
+
...VehicleCore
|
|
987
|
+
}
|
|
988
|
+
}
|
|
989
|
+
${VehicleCoreFragmentDoc}`;
|
|
990
|
+
export type CreateVehicleMutationFn = Apollo.MutationFunction<Types.CreateVehicleMutation, Types.CreateVehicleMutationVariables>;
|
|
991
|
+
|
|
992
|
+
/**
|
|
993
|
+
* __useCreateVehicleMutation__
|
|
994
|
+
*
|
|
995
|
+
* To run a mutation, you first call `useCreateVehicleMutation` within a React component and pass it any options that fit your needs.
|
|
996
|
+
* When your component renders, `useCreateVehicleMutation` returns a tuple that includes:
|
|
997
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
998
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
999
|
+
*
|
|
1000
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
1001
|
+
*
|
|
1002
|
+
* @example
|
|
1003
|
+
* const [createVehicleMutation, { data, loading, error }] = useCreateVehicleMutation({
|
|
1004
|
+
* variables: {
|
|
1005
|
+
* input: // value for 'input'
|
|
1006
|
+
* },
|
|
1007
|
+
* });
|
|
1008
|
+
*/
|
|
1009
|
+
export function useCreateVehicleMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CreateVehicleMutation, Types.CreateVehicleMutationVariables>) {
|
|
1010
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
1011
|
+
return ApolloReactHooks.useMutation<Types.CreateVehicleMutation, Types.CreateVehicleMutationVariables>(CreateVehicleDocument, options);
|
|
1012
|
+
}
|
|
1013
|
+
export type CreateVehicleMutationHookResult = ReturnType<typeof useCreateVehicleMutation>;
|
|
1014
|
+
export type CreateVehicleMutationResult = Apollo.MutationResult<Types.CreateVehicleMutation>;
|
|
1015
|
+
export type CreateVehicleMutationOptions = Apollo.BaseMutationOptions<Types.CreateVehicleMutation, Types.CreateVehicleMutationVariables>;
|
|
1016
|
+
export const UpdateVehicleDocument = gql`
|
|
1017
|
+
mutation UpdateVehicle($id: ID!, $input: UpdateVehicleInput!) {
|
|
1018
|
+
updateVehicle(id: $id, input: $input) {
|
|
1019
|
+
...VehicleCore
|
|
1020
|
+
}
|
|
1021
|
+
}
|
|
1022
|
+
${VehicleCoreFragmentDoc}`;
|
|
1023
|
+
export type UpdateVehicleMutationFn = Apollo.MutationFunction<Types.UpdateVehicleMutation, Types.UpdateVehicleMutationVariables>;
|
|
1024
|
+
|
|
1025
|
+
/**
|
|
1026
|
+
* __useUpdateVehicleMutation__
|
|
1027
|
+
*
|
|
1028
|
+
* To run a mutation, you first call `useUpdateVehicleMutation` within a React component and pass it any options that fit your needs.
|
|
1029
|
+
* When your component renders, `useUpdateVehicleMutation` returns a tuple that includes:
|
|
1030
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1031
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1032
|
+
*
|
|
1033
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
1034
|
+
*
|
|
1035
|
+
* @example
|
|
1036
|
+
* const [updateVehicleMutation, { data, loading, error }] = useUpdateVehicleMutation({
|
|
1037
|
+
* variables: {
|
|
1038
|
+
* id: // value for 'id'
|
|
1039
|
+
* input: // value for 'input'
|
|
1040
|
+
* },
|
|
1041
|
+
* });
|
|
1042
|
+
*/
|
|
1043
|
+
export function useUpdateVehicleMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateVehicleMutation, Types.UpdateVehicleMutationVariables>) {
|
|
1044
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
1045
|
+
return ApolloReactHooks.useMutation<Types.UpdateVehicleMutation, Types.UpdateVehicleMutationVariables>(UpdateVehicleDocument, options);
|
|
1046
|
+
}
|
|
1047
|
+
export type UpdateVehicleMutationHookResult = ReturnType<typeof useUpdateVehicleMutation>;
|
|
1048
|
+
export type UpdateVehicleMutationResult = Apollo.MutationResult<Types.UpdateVehicleMutation>;
|
|
1049
|
+
export type UpdateVehicleMutationOptions = Apollo.BaseMutationOptions<Types.UpdateVehicleMutation, Types.UpdateVehicleMutationVariables>;
|
|
1050
|
+
export const UpdateVehicleStatusDocument = gql`
|
|
1051
|
+
mutation UpdateVehicleStatus($id: ID!, $status: VehicleStatus!) {
|
|
1052
|
+
updateVehicleStatus(id: $id, status: $status) {
|
|
1053
|
+
...VehicleCore
|
|
1054
|
+
}
|
|
1055
|
+
}
|
|
1056
|
+
${VehicleCoreFragmentDoc}`;
|
|
1057
|
+
export type UpdateVehicleStatusMutationFn = Apollo.MutationFunction<Types.UpdateVehicleStatusMutation, Types.UpdateVehicleStatusMutationVariables>;
|
|
1058
|
+
|
|
1059
|
+
/**
|
|
1060
|
+
* __useUpdateVehicleStatusMutation__
|
|
1061
|
+
*
|
|
1062
|
+
* To run a mutation, you first call `useUpdateVehicleStatusMutation` within a React component and pass it any options that fit your needs.
|
|
1063
|
+
* When your component renders, `useUpdateVehicleStatusMutation` returns a tuple that includes:
|
|
1064
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1065
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1066
|
+
*
|
|
1067
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
1068
|
+
*
|
|
1069
|
+
* @example
|
|
1070
|
+
* const [updateVehicleStatusMutation, { data, loading, error }] = useUpdateVehicleStatusMutation({
|
|
1071
|
+
* variables: {
|
|
1072
|
+
* id: // value for 'id'
|
|
1073
|
+
* status: // value for 'status'
|
|
1074
|
+
* },
|
|
1075
|
+
* });
|
|
1076
|
+
*/
|
|
1077
|
+
export function useUpdateVehicleStatusMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateVehicleStatusMutation, Types.UpdateVehicleStatusMutationVariables>) {
|
|
1078
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
1079
|
+
return ApolloReactHooks.useMutation<Types.UpdateVehicleStatusMutation, Types.UpdateVehicleStatusMutationVariables>(UpdateVehicleStatusDocument, options);
|
|
1080
|
+
}
|
|
1081
|
+
export type UpdateVehicleStatusMutationHookResult = ReturnType<typeof useUpdateVehicleStatusMutation>;
|
|
1082
|
+
export type UpdateVehicleStatusMutationResult = Apollo.MutationResult<Types.UpdateVehicleStatusMutation>;
|
|
1083
|
+
export type UpdateVehicleStatusMutationOptions = Apollo.BaseMutationOptions<Types.UpdateVehicleStatusMutation, Types.UpdateVehicleStatusMutationVariables>;
|
|
1084
|
+
export const UpdateVehicleLocationDocument = gql`
|
|
1085
|
+
mutation UpdateVehicleLocation($id: ID!, $location: JSON!) {
|
|
1086
|
+
updateVehicleLocation(id: $id, location: $location) {
|
|
1087
|
+
...VehicleCore
|
|
1088
|
+
}
|
|
1089
|
+
}
|
|
1090
|
+
${VehicleCoreFragmentDoc}`;
|
|
1091
|
+
export type UpdateVehicleLocationMutationFn = Apollo.MutationFunction<Types.UpdateVehicleLocationMutation, Types.UpdateVehicleLocationMutationVariables>;
|
|
1092
|
+
|
|
1093
|
+
/**
|
|
1094
|
+
* __useUpdateVehicleLocationMutation__
|
|
1095
|
+
*
|
|
1096
|
+
* To run a mutation, you first call `useUpdateVehicleLocationMutation` within a React component and pass it any options that fit your needs.
|
|
1097
|
+
* When your component renders, `useUpdateVehicleLocationMutation` returns a tuple that includes:
|
|
1098
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1099
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1100
|
+
*
|
|
1101
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
1102
|
+
*
|
|
1103
|
+
* @example
|
|
1104
|
+
* const [updateVehicleLocationMutation, { data, loading, error }] = useUpdateVehicleLocationMutation({
|
|
1105
|
+
* variables: {
|
|
1106
|
+
* id: // value for 'id'
|
|
1107
|
+
* location: // value for 'location'
|
|
1108
|
+
* },
|
|
1109
|
+
* });
|
|
1110
|
+
*/
|
|
1111
|
+
export function useUpdateVehicleLocationMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateVehicleLocationMutation, Types.UpdateVehicleLocationMutationVariables>) {
|
|
1112
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
1113
|
+
return ApolloReactHooks.useMutation<Types.UpdateVehicleLocationMutation, Types.UpdateVehicleLocationMutationVariables>(UpdateVehicleLocationDocument, options);
|
|
1114
|
+
}
|
|
1115
|
+
export type UpdateVehicleLocationMutationHookResult = ReturnType<typeof useUpdateVehicleLocationMutation>;
|
|
1116
|
+
export type UpdateVehicleLocationMutationResult = Apollo.MutationResult<Types.UpdateVehicleLocationMutation>;
|
|
1117
|
+
export type UpdateVehicleLocationMutationOptions = Apollo.BaseMutationOptions<Types.UpdateVehicleLocationMutation, Types.UpdateVehicleLocationMutationVariables>;
|
|
1118
|
+
export const DeleteVehicleDocument = gql`
|
|
1119
|
+
mutation DeleteVehicle($id: ID!) {
|
|
1120
|
+
deleteVehicle(id: $id)
|
|
1121
|
+
}
|
|
1122
|
+
`;
|
|
1123
|
+
export type DeleteVehicleMutationFn = Apollo.MutationFunction<Types.DeleteVehicleMutation, Types.DeleteVehicleMutationVariables>;
|
|
1124
|
+
|
|
1125
|
+
/**
|
|
1126
|
+
* __useDeleteVehicleMutation__
|
|
1127
|
+
*
|
|
1128
|
+
* To run a mutation, you first call `useDeleteVehicleMutation` within a React component and pass it any options that fit your needs.
|
|
1129
|
+
* When your component renders, `useDeleteVehicleMutation` returns a tuple that includes:
|
|
1130
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1131
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1132
|
+
*
|
|
1133
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
1134
|
+
*
|
|
1135
|
+
* @example
|
|
1136
|
+
* const [deleteVehicleMutation, { data, loading, error }] = useDeleteVehicleMutation({
|
|
1137
|
+
* variables: {
|
|
1138
|
+
* id: // value for 'id'
|
|
1139
|
+
* },
|
|
1140
|
+
* });
|
|
1141
|
+
*/
|
|
1142
|
+
export function useDeleteVehicleMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeleteVehicleMutation, Types.DeleteVehicleMutationVariables>) {
|
|
1143
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
1144
|
+
return ApolloReactHooks.useMutation<Types.DeleteVehicleMutation, Types.DeleteVehicleMutationVariables>(DeleteVehicleDocument, options);
|
|
1145
|
+
}
|
|
1146
|
+
export type DeleteVehicleMutationHookResult = ReturnType<typeof useDeleteVehicleMutation>;
|
|
1147
|
+
export type DeleteVehicleMutationResult = Apollo.MutationResult<Types.DeleteVehicleMutation>;
|
|
1148
|
+
export type DeleteVehicleMutationOptions = Apollo.BaseMutationOptions<Types.DeleteVehicleMutation, Types.DeleteVehicleMutationVariables>;
|
|
1149
|
+
export const CreateDriverDocument = gql`
|
|
1150
|
+
mutation CreateDriver($input: CreateDriverInput!) {
|
|
1151
|
+
createDriver(input: $input) {
|
|
1152
|
+
...DriverCore
|
|
1153
|
+
}
|
|
1154
|
+
}
|
|
1155
|
+
${DriverCoreFragmentDoc}`;
|
|
1156
|
+
export type CreateDriverMutationFn = Apollo.MutationFunction<Types.CreateDriverMutation, Types.CreateDriverMutationVariables>;
|
|
1157
|
+
|
|
1158
|
+
/**
|
|
1159
|
+
* __useCreateDriverMutation__
|
|
1160
|
+
*
|
|
1161
|
+
* To run a mutation, you first call `useCreateDriverMutation` within a React component and pass it any options that fit your needs.
|
|
1162
|
+
* When your component renders, `useCreateDriverMutation` returns a tuple that includes:
|
|
1163
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1164
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1165
|
+
*
|
|
1166
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
1167
|
+
*
|
|
1168
|
+
* @example
|
|
1169
|
+
* const [createDriverMutation, { data, loading, error }] = useCreateDriverMutation({
|
|
1170
|
+
* variables: {
|
|
1171
|
+
* input: // value for 'input'
|
|
1172
|
+
* },
|
|
1173
|
+
* });
|
|
1174
|
+
*/
|
|
1175
|
+
export function useCreateDriverMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CreateDriverMutation, Types.CreateDriverMutationVariables>) {
|
|
1176
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
1177
|
+
return ApolloReactHooks.useMutation<Types.CreateDriverMutation, Types.CreateDriverMutationVariables>(CreateDriverDocument, options);
|
|
1178
|
+
}
|
|
1179
|
+
export type CreateDriverMutationHookResult = ReturnType<typeof useCreateDriverMutation>;
|
|
1180
|
+
export type CreateDriverMutationResult = Apollo.MutationResult<Types.CreateDriverMutation>;
|
|
1181
|
+
export type CreateDriverMutationOptions = Apollo.BaseMutationOptions<Types.CreateDriverMutation, Types.CreateDriverMutationVariables>;
|
|
1182
|
+
export const UpdateDriverDocument = gql`
|
|
1183
|
+
mutation UpdateDriver($id: ID!, $input: UpdateDriverInput!) {
|
|
1184
|
+
updateDriver(id: $id, input: $input) {
|
|
1185
|
+
...DriverCore
|
|
1186
|
+
}
|
|
1187
|
+
}
|
|
1188
|
+
${DriverCoreFragmentDoc}`;
|
|
1189
|
+
export type UpdateDriverMutationFn = Apollo.MutationFunction<Types.UpdateDriverMutation, Types.UpdateDriverMutationVariables>;
|
|
1190
|
+
|
|
1191
|
+
/**
|
|
1192
|
+
* __useUpdateDriverMutation__
|
|
1193
|
+
*
|
|
1194
|
+
* To run a mutation, you first call `useUpdateDriverMutation` within a React component and pass it any options that fit your needs.
|
|
1195
|
+
* When your component renders, `useUpdateDriverMutation` returns a tuple that includes:
|
|
1196
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1197
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1198
|
+
*
|
|
1199
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
1200
|
+
*
|
|
1201
|
+
* @example
|
|
1202
|
+
* const [updateDriverMutation, { data, loading, error }] = useUpdateDriverMutation({
|
|
1203
|
+
* variables: {
|
|
1204
|
+
* id: // value for 'id'
|
|
1205
|
+
* input: // value for 'input'
|
|
1206
|
+
* },
|
|
1207
|
+
* });
|
|
1208
|
+
*/
|
|
1209
|
+
export function useUpdateDriverMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateDriverMutation, Types.UpdateDriverMutationVariables>) {
|
|
1210
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
1211
|
+
return ApolloReactHooks.useMutation<Types.UpdateDriverMutation, Types.UpdateDriverMutationVariables>(UpdateDriverDocument, options);
|
|
1212
|
+
}
|
|
1213
|
+
export type UpdateDriverMutationHookResult = ReturnType<typeof useUpdateDriverMutation>;
|
|
1214
|
+
export type UpdateDriverMutationResult = Apollo.MutationResult<Types.UpdateDriverMutation>;
|
|
1215
|
+
export type UpdateDriverMutationOptions = Apollo.BaseMutationOptions<Types.UpdateDriverMutation, Types.UpdateDriverMutationVariables>;
|
|
1216
|
+
export const UpdateDriverStatusDocument = gql`
|
|
1217
|
+
mutation UpdateDriverStatus($id: ID!, $status: DriverStatus!) {
|
|
1218
|
+
updateDriverStatus(id: $id, status: $status) {
|
|
1219
|
+
...DriverCore
|
|
1220
|
+
}
|
|
1221
|
+
}
|
|
1222
|
+
${DriverCoreFragmentDoc}`;
|
|
1223
|
+
export type UpdateDriverStatusMutationFn = Apollo.MutationFunction<Types.UpdateDriverStatusMutation, Types.UpdateDriverStatusMutationVariables>;
|
|
1224
|
+
|
|
1225
|
+
/**
|
|
1226
|
+
* __useUpdateDriverStatusMutation__
|
|
1227
|
+
*
|
|
1228
|
+
* To run a mutation, you first call `useUpdateDriverStatusMutation` within a React component and pass it any options that fit your needs.
|
|
1229
|
+
* When your component renders, `useUpdateDriverStatusMutation` returns a tuple that includes:
|
|
1230
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1231
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1232
|
+
*
|
|
1233
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
1234
|
+
*
|
|
1235
|
+
* @example
|
|
1236
|
+
* const [updateDriverStatusMutation, { data, loading, error }] = useUpdateDriverStatusMutation({
|
|
1237
|
+
* variables: {
|
|
1238
|
+
* id: // value for 'id'
|
|
1239
|
+
* status: // value for 'status'
|
|
1240
|
+
* },
|
|
1241
|
+
* });
|
|
1242
|
+
*/
|
|
1243
|
+
export function useUpdateDriverStatusMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateDriverStatusMutation, Types.UpdateDriverStatusMutationVariables>) {
|
|
1244
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
1245
|
+
return ApolloReactHooks.useMutation<Types.UpdateDriverStatusMutation, Types.UpdateDriverStatusMutationVariables>(UpdateDriverStatusDocument, options);
|
|
1246
|
+
}
|
|
1247
|
+
export type UpdateDriverStatusMutationHookResult = ReturnType<typeof useUpdateDriverStatusMutation>;
|
|
1248
|
+
export type UpdateDriverStatusMutationResult = Apollo.MutationResult<Types.UpdateDriverStatusMutation>;
|
|
1249
|
+
export type UpdateDriverStatusMutationOptions = Apollo.BaseMutationOptions<Types.UpdateDriverStatusMutation, Types.UpdateDriverStatusMutationVariables>;
|
|
1250
|
+
export const AssignDriverVehicleDocument = gql`
|
|
1251
|
+
mutation AssignDriverVehicle($id: ID!, $vehicleId: ID) {
|
|
1252
|
+
assignDriverVehicle(id: $id, vehicleId: $vehicleId) {
|
|
1253
|
+
...DriverCore
|
|
1254
|
+
}
|
|
1255
|
+
}
|
|
1256
|
+
${DriverCoreFragmentDoc}`;
|
|
1257
|
+
export type AssignDriverVehicleMutationFn = Apollo.MutationFunction<Types.AssignDriverVehicleMutation, Types.AssignDriverVehicleMutationVariables>;
|
|
1258
|
+
|
|
1259
|
+
/**
|
|
1260
|
+
* __useAssignDriverVehicleMutation__
|
|
1261
|
+
*
|
|
1262
|
+
* To run a mutation, you first call `useAssignDriverVehicleMutation` within a React component and pass it any options that fit your needs.
|
|
1263
|
+
* When your component renders, `useAssignDriverVehicleMutation` returns a tuple that includes:
|
|
1264
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1265
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1266
|
+
*
|
|
1267
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
1268
|
+
*
|
|
1269
|
+
* @example
|
|
1270
|
+
* const [assignDriverVehicleMutation, { data, loading, error }] = useAssignDriverVehicleMutation({
|
|
1271
|
+
* variables: {
|
|
1272
|
+
* id: // value for 'id'
|
|
1273
|
+
* vehicleId: // value for 'vehicleId'
|
|
1274
|
+
* },
|
|
1275
|
+
* });
|
|
1276
|
+
*/
|
|
1277
|
+
export function useAssignDriverVehicleMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.AssignDriverVehicleMutation, Types.AssignDriverVehicleMutationVariables>) {
|
|
1278
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
1279
|
+
return ApolloReactHooks.useMutation<Types.AssignDriverVehicleMutation, Types.AssignDriverVehicleMutationVariables>(AssignDriverVehicleDocument, options);
|
|
1280
|
+
}
|
|
1281
|
+
export type AssignDriverVehicleMutationHookResult = ReturnType<typeof useAssignDriverVehicleMutation>;
|
|
1282
|
+
export type AssignDriverVehicleMutationResult = Apollo.MutationResult<Types.AssignDriverVehicleMutation>;
|
|
1283
|
+
export type AssignDriverVehicleMutationOptions = Apollo.BaseMutationOptions<Types.AssignDriverVehicleMutation, Types.AssignDriverVehicleMutationVariables>;
|
|
1284
|
+
export const DeleteDriverDocument = gql`
|
|
1285
|
+
mutation DeleteDriver($id: ID!) {
|
|
1286
|
+
deleteDriver(id: $id)
|
|
1287
|
+
}
|
|
1288
|
+
`;
|
|
1289
|
+
export type DeleteDriverMutationFn = Apollo.MutationFunction<Types.DeleteDriverMutation, Types.DeleteDriverMutationVariables>;
|
|
1290
|
+
|
|
1291
|
+
/**
|
|
1292
|
+
* __useDeleteDriverMutation__
|
|
1293
|
+
*
|
|
1294
|
+
* To run a mutation, you first call `useDeleteDriverMutation` within a React component and pass it any options that fit your needs.
|
|
1295
|
+
* When your component renders, `useDeleteDriverMutation` returns a tuple that includes:
|
|
1296
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1297
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1298
|
+
*
|
|
1299
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
1300
|
+
*
|
|
1301
|
+
* @example
|
|
1302
|
+
* const [deleteDriverMutation, { data, loading, error }] = useDeleteDriverMutation({
|
|
1303
|
+
* variables: {
|
|
1304
|
+
* id: // value for 'id'
|
|
1305
|
+
* },
|
|
1306
|
+
* });
|
|
1307
|
+
*/
|
|
1308
|
+
export function useDeleteDriverMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeleteDriverMutation, Types.DeleteDriverMutationVariables>) {
|
|
1309
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
1310
|
+
return ApolloReactHooks.useMutation<Types.DeleteDriverMutation, Types.DeleteDriverMutationVariables>(DeleteDriverDocument, options);
|
|
1311
|
+
}
|
|
1312
|
+
export type DeleteDriverMutationHookResult = ReturnType<typeof useDeleteDriverMutation>;
|
|
1313
|
+
export type DeleteDriverMutationResult = Apollo.MutationResult<Types.DeleteDriverMutation>;
|
|
1314
|
+
export type DeleteDriverMutationOptions = Apollo.BaseMutationOptions<Types.DeleteDriverMutation, Types.DeleteDriverMutationVariables>;
|
|
1315
|
+
export const CreateWarehouseDocument = gql`
|
|
1316
|
+
mutation CreateWarehouse($input: CreateWarehouseInput!) {
|
|
1317
|
+
createWarehouse(input: $input) {
|
|
1318
|
+
...WarehouseCore
|
|
1319
|
+
}
|
|
1320
|
+
}
|
|
1321
|
+
${WarehouseCoreFragmentDoc}`;
|
|
1322
|
+
export type CreateWarehouseMutationFn = Apollo.MutationFunction<Types.CreateWarehouseMutation, Types.CreateWarehouseMutationVariables>;
|
|
1323
|
+
|
|
1324
|
+
/**
|
|
1325
|
+
* __useCreateWarehouseMutation__
|
|
1326
|
+
*
|
|
1327
|
+
* To run a mutation, you first call `useCreateWarehouseMutation` within a React component and pass it any options that fit your needs.
|
|
1328
|
+
* When your component renders, `useCreateWarehouseMutation` returns a tuple that includes:
|
|
1329
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1330
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1331
|
+
*
|
|
1332
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
1333
|
+
*
|
|
1334
|
+
* @example
|
|
1335
|
+
* const [createWarehouseMutation, { data, loading, error }] = useCreateWarehouseMutation({
|
|
1336
|
+
* variables: {
|
|
1337
|
+
* input: // value for 'input'
|
|
1338
|
+
* },
|
|
1339
|
+
* });
|
|
1340
|
+
*/
|
|
1341
|
+
export function useCreateWarehouseMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CreateWarehouseMutation, Types.CreateWarehouseMutationVariables>) {
|
|
1342
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
1343
|
+
return ApolloReactHooks.useMutation<Types.CreateWarehouseMutation, Types.CreateWarehouseMutationVariables>(CreateWarehouseDocument, options);
|
|
1344
|
+
}
|
|
1345
|
+
export type CreateWarehouseMutationHookResult = ReturnType<typeof useCreateWarehouseMutation>;
|
|
1346
|
+
export type CreateWarehouseMutationResult = Apollo.MutationResult<Types.CreateWarehouseMutation>;
|
|
1347
|
+
export type CreateWarehouseMutationOptions = Apollo.BaseMutationOptions<Types.CreateWarehouseMutation, Types.CreateWarehouseMutationVariables>;
|
|
1348
|
+
export const UpdateWarehouseDocument = gql`
|
|
1349
|
+
mutation UpdateWarehouse($id: ID!, $input: UpdateWarehouseInput!) {
|
|
1350
|
+
updateWarehouse(id: $id, input: $input) {
|
|
1351
|
+
...WarehouseCore
|
|
1352
|
+
}
|
|
1353
|
+
}
|
|
1354
|
+
${WarehouseCoreFragmentDoc}`;
|
|
1355
|
+
export type UpdateWarehouseMutationFn = Apollo.MutationFunction<Types.UpdateWarehouseMutation, Types.UpdateWarehouseMutationVariables>;
|
|
1356
|
+
|
|
1357
|
+
/**
|
|
1358
|
+
* __useUpdateWarehouseMutation__
|
|
1359
|
+
*
|
|
1360
|
+
* To run a mutation, you first call `useUpdateWarehouseMutation` within a React component and pass it any options that fit your needs.
|
|
1361
|
+
* When your component renders, `useUpdateWarehouseMutation` returns a tuple that includes:
|
|
1362
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1363
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1364
|
+
*
|
|
1365
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
1366
|
+
*
|
|
1367
|
+
* @example
|
|
1368
|
+
* const [updateWarehouseMutation, { data, loading, error }] = useUpdateWarehouseMutation({
|
|
1369
|
+
* variables: {
|
|
1370
|
+
* id: // value for 'id'
|
|
1371
|
+
* input: // value for 'input'
|
|
1372
|
+
* },
|
|
1373
|
+
* });
|
|
1374
|
+
*/
|
|
1375
|
+
export function useUpdateWarehouseMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateWarehouseMutation, Types.UpdateWarehouseMutationVariables>) {
|
|
1376
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
1377
|
+
return ApolloReactHooks.useMutation<Types.UpdateWarehouseMutation, Types.UpdateWarehouseMutationVariables>(UpdateWarehouseDocument, options);
|
|
1378
|
+
}
|
|
1379
|
+
export type UpdateWarehouseMutationHookResult = ReturnType<typeof useUpdateWarehouseMutation>;
|
|
1380
|
+
export type UpdateWarehouseMutationResult = Apollo.MutationResult<Types.UpdateWarehouseMutation>;
|
|
1381
|
+
export type UpdateWarehouseMutationOptions = Apollo.BaseMutationOptions<Types.UpdateWarehouseMutation, Types.UpdateWarehouseMutationVariables>;
|
|
1382
|
+
export const DeleteWarehouseDocument = gql`
|
|
1383
|
+
mutation DeleteWarehouse($id: ID!) {
|
|
1384
|
+
deleteWarehouse(id: $id)
|
|
1385
|
+
}
|
|
1386
|
+
`;
|
|
1387
|
+
export type DeleteWarehouseMutationFn = Apollo.MutationFunction<Types.DeleteWarehouseMutation, Types.DeleteWarehouseMutationVariables>;
|
|
1388
|
+
|
|
1389
|
+
/**
|
|
1390
|
+
* __useDeleteWarehouseMutation__
|
|
1391
|
+
*
|
|
1392
|
+
* To run a mutation, you first call `useDeleteWarehouseMutation` within a React component and pass it any options that fit your needs.
|
|
1393
|
+
* When your component renders, `useDeleteWarehouseMutation` returns a tuple that includes:
|
|
1394
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1395
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1396
|
+
*
|
|
1397
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
1398
|
+
*
|
|
1399
|
+
* @example
|
|
1400
|
+
* const [deleteWarehouseMutation, { data, loading, error }] = useDeleteWarehouseMutation({
|
|
1401
|
+
* variables: {
|
|
1402
|
+
* id: // value for 'id'
|
|
1403
|
+
* },
|
|
1404
|
+
* });
|
|
1405
|
+
*/
|
|
1406
|
+
export function useDeleteWarehouseMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeleteWarehouseMutation, Types.DeleteWarehouseMutationVariables>) {
|
|
1407
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
1408
|
+
return ApolloReactHooks.useMutation<Types.DeleteWarehouseMutation, Types.DeleteWarehouseMutationVariables>(DeleteWarehouseDocument, options);
|
|
1409
|
+
}
|
|
1410
|
+
export type DeleteWarehouseMutationHookResult = ReturnType<typeof useDeleteWarehouseMutation>;
|
|
1411
|
+
export type DeleteWarehouseMutationResult = Apollo.MutationResult<Types.DeleteWarehouseMutation>;
|
|
1412
|
+
export type DeleteWarehouseMutationOptions = Apollo.BaseMutationOptions<Types.DeleteWarehouseMutation, Types.DeleteWarehouseMutationVariables>;
|
|
1413
|
+
export const CreateInventoryItemDocument = gql`
|
|
1414
|
+
mutation CreateInventoryItem($input: CreateInventoryItemInput!) {
|
|
1415
|
+
createInventoryItem(input: $input) {
|
|
1416
|
+
...InventoryItemCore
|
|
1417
|
+
}
|
|
1418
|
+
}
|
|
1419
|
+
${InventoryItemCoreFragmentDoc}`;
|
|
1420
|
+
export type CreateInventoryItemMutationFn = Apollo.MutationFunction<Types.CreateInventoryItemMutation, Types.CreateInventoryItemMutationVariables>;
|
|
1421
|
+
|
|
1422
|
+
/**
|
|
1423
|
+
* __useCreateInventoryItemMutation__
|
|
1424
|
+
*
|
|
1425
|
+
* To run a mutation, you first call `useCreateInventoryItemMutation` within a React component and pass it any options that fit your needs.
|
|
1426
|
+
* When your component renders, `useCreateInventoryItemMutation` returns a tuple that includes:
|
|
1427
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1428
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1429
|
+
*
|
|
1430
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
1431
|
+
*
|
|
1432
|
+
* @example
|
|
1433
|
+
* const [createInventoryItemMutation, { data, loading, error }] = useCreateInventoryItemMutation({
|
|
1434
|
+
* variables: {
|
|
1435
|
+
* input: // value for 'input'
|
|
1436
|
+
* },
|
|
1437
|
+
* });
|
|
1438
|
+
*/
|
|
1439
|
+
export function useCreateInventoryItemMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CreateInventoryItemMutation, Types.CreateInventoryItemMutationVariables>) {
|
|
1440
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
1441
|
+
return ApolloReactHooks.useMutation<Types.CreateInventoryItemMutation, Types.CreateInventoryItemMutationVariables>(CreateInventoryItemDocument, options);
|
|
1442
|
+
}
|
|
1443
|
+
export type CreateInventoryItemMutationHookResult = ReturnType<typeof useCreateInventoryItemMutation>;
|
|
1444
|
+
export type CreateInventoryItemMutationResult = Apollo.MutationResult<Types.CreateInventoryItemMutation>;
|
|
1445
|
+
export type CreateInventoryItemMutationOptions = Apollo.BaseMutationOptions<Types.CreateInventoryItemMutation, Types.CreateInventoryItemMutationVariables>;
|
|
1446
|
+
export const UpdateInventoryItemDocument = gql`
|
|
1447
|
+
mutation UpdateInventoryItem($id: ID!, $input: UpdateInventoryItemInput!) {
|
|
1448
|
+
updateInventoryItem(id: $id, input: $input) {
|
|
1449
|
+
...InventoryItemCore
|
|
1450
|
+
}
|
|
1451
|
+
}
|
|
1452
|
+
${InventoryItemCoreFragmentDoc}`;
|
|
1453
|
+
export type UpdateInventoryItemMutationFn = Apollo.MutationFunction<Types.UpdateInventoryItemMutation, Types.UpdateInventoryItemMutationVariables>;
|
|
1454
|
+
|
|
1455
|
+
/**
|
|
1456
|
+
* __useUpdateInventoryItemMutation__
|
|
1457
|
+
*
|
|
1458
|
+
* To run a mutation, you first call `useUpdateInventoryItemMutation` within a React component and pass it any options that fit your needs.
|
|
1459
|
+
* When your component renders, `useUpdateInventoryItemMutation` returns a tuple that includes:
|
|
1460
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1461
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1462
|
+
*
|
|
1463
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
1464
|
+
*
|
|
1465
|
+
* @example
|
|
1466
|
+
* const [updateInventoryItemMutation, { data, loading, error }] = useUpdateInventoryItemMutation({
|
|
1467
|
+
* variables: {
|
|
1468
|
+
* id: // value for 'id'
|
|
1469
|
+
* input: // value for 'input'
|
|
1470
|
+
* },
|
|
1471
|
+
* });
|
|
1472
|
+
*/
|
|
1473
|
+
export function useUpdateInventoryItemMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateInventoryItemMutation, Types.UpdateInventoryItemMutationVariables>) {
|
|
1474
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
1475
|
+
return ApolloReactHooks.useMutation<Types.UpdateInventoryItemMutation, Types.UpdateInventoryItemMutationVariables>(UpdateInventoryItemDocument, options);
|
|
1476
|
+
}
|
|
1477
|
+
export type UpdateInventoryItemMutationHookResult = ReturnType<typeof useUpdateInventoryItemMutation>;
|
|
1478
|
+
export type UpdateInventoryItemMutationResult = Apollo.MutationResult<Types.UpdateInventoryItemMutation>;
|
|
1479
|
+
export type UpdateInventoryItemMutationOptions = Apollo.BaseMutationOptions<Types.UpdateInventoryItemMutation, Types.UpdateInventoryItemMutationVariables>;
|
|
1480
|
+
export const AdjustInventoryStockDocument = gql`
|
|
1481
|
+
mutation AdjustInventoryStock($input: AdjustInventoryStockInput!) {
|
|
1482
|
+
adjustInventoryStock(input: $input) {
|
|
1483
|
+
...InventoryItemCore
|
|
1484
|
+
}
|
|
1485
|
+
}
|
|
1486
|
+
${InventoryItemCoreFragmentDoc}`;
|
|
1487
|
+
export type AdjustInventoryStockMutationFn = Apollo.MutationFunction<Types.AdjustInventoryStockMutation, Types.AdjustInventoryStockMutationVariables>;
|
|
1488
|
+
|
|
1489
|
+
/**
|
|
1490
|
+
* __useAdjustInventoryStockMutation__
|
|
1491
|
+
*
|
|
1492
|
+
* To run a mutation, you first call `useAdjustInventoryStockMutation` within a React component and pass it any options that fit your needs.
|
|
1493
|
+
* When your component renders, `useAdjustInventoryStockMutation` returns a tuple that includes:
|
|
1494
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1495
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1496
|
+
*
|
|
1497
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
1498
|
+
*
|
|
1499
|
+
* @example
|
|
1500
|
+
* const [adjustInventoryStockMutation, { data, loading, error }] = useAdjustInventoryStockMutation({
|
|
1501
|
+
* variables: {
|
|
1502
|
+
* input: // value for 'input'
|
|
1503
|
+
* },
|
|
1504
|
+
* });
|
|
1505
|
+
*/
|
|
1506
|
+
export function useAdjustInventoryStockMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.AdjustInventoryStockMutation, Types.AdjustInventoryStockMutationVariables>) {
|
|
1507
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
1508
|
+
return ApolloReactHooks.useMutation<Types.AdjustInventoryStockMutation, Types.AdjustInventoryStockMutationVariables>(AdjustInventoryStockDocument, options);
|
|
1509
|
+
}
|
|
1510
|
+
export type AdjustInventoryStockMutationHookResult = ReturnType<typeof useAdjustInventoryStockMutation>;
|
|
1511
|
+
export type AdjustInventoryStockMutationResult = Apollo.MutationResult<Types.AdjustInventoryStockMutation>;
|
|
1512
|
+
export type AdjustInventoryStockMutationOptions = Apollo.BaseMutationOptions<Types.AdjustInventoryStockMutation, Types.AdjustInventoryStockMutationVariables>;
|
|
1513
|
+
export const DeleteInventoryItemDocument = gql`
|
|
1514
|
+
mutation DeleteInventoryItem($id: ID!) {
|
|
1515
|
+
deleteInventoryItem(id: $id)
|
|
1516
|
+
}
|
|
1517
|
+
`;
|
|
1518
|
+
export type DeleteInventoryItemMutationFn = Apollo.MutationFunction<Types.DeleteInventoryItemMutation, Types.DeleteInventoryItemMutationVariables>;
|
|
1519
|
+
|
|
1520
|
+
/**
|
|
1521
|
+
* __useDeleteInventoryItemMutation__
|
|
1522
|
+
*
|
|
1523
|
+
* To run a mutation, you first call `useDeleteInventoryItemMutation` within a React component and pass it any options that fit your needs.
|
|
1524
|
+
* When your component renders, `useDeleteInventoryItemMutation` returns a tuple that includes:
|
|
1525
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1526
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1527
|
+
*
|
|
1528
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
1529
|
+
*
|
|
1530
|
+
* @example
|
|
1531
|
+
* const [deleteInventoryItemMutation, { data, loading, error }] = useDeleteInventoryItemMutation({
|
|
1532
|
+
* variables: {
|
|
1533
|
+
* id: // value for 'id'
|
|
1534
|
+
* },
|
|
1535
|
+
* });
|
|
1536
|
+
*/
|
|
1537
|
+
export function useDeleteInventoryItemMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeleteInventoryItemMutation, Types.DeleteInventoryItemMutationVariables>) {
|
|
1538
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
1539
|
+
return ApolloReactHooks.useMutation<Types.DeleteInventoryItemMutation, Types.DeleteInventoryItemMutationVariables>(DeleteInventoryItemDocument, options);
|
|
1540
|
+
}
|
|
1541
|
+
export type DeleteInventoryItemMutationHookResult = ReturnType<typeof useDeleteInventoryItemMutation>;
|
|
1542
|
+
export type DeleteInventoryItemMutationResult = Apollo.MutationResult<Types.DeleteInventoryItemMutation>;
|
|
1543
|
+
export type DeleteInventoryItemMutationOptions = Apollo.BaseMutationOptions<Types.DeleteInventoryItemMutation, Types.DeleteInventoryItemMutationVariables>;
|
|
1544
|
+
export const CreateRouteDocument = gql`
|
|
1545
|
+
mutation CreateRoute($input: CreateRouteInput!) {
|
|
1546
|
+
createRoute(input: $input) {
|
|
1547
|
+
...RouteCore
|
|
1548
|
+
}
|
|
1549
|
+
}
|
|
1550
|
+
${RouteCoreFragmentDoc}`;
|
|
1551
|
+
export type CreateRouteMutationFn = Apollo.MutationFunction<Types.CreateRouteMutation, Types.CreateRouteMutationVariables>;
|
|
1552
|
+
|
|
1553
|
+
/**
|
|
1554
|
+
* __useCreateRouteMutation__
|
|
1555
|
+
*
|
|
1556
|
+
* To run a mutation, you first call `useCreateRouteMutation` within a React component and pass it any options that fit your needs.
|
|
1557
|
+
* When your component renders, `useCreateRouteMutation` returns a tuple that includes:
|
|
1558
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1559
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1560
|
+
*
|
|
1561
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
1562
|
+
*
|
|
1563
|
+
* @example
|
|
1564
|
+
* const [createRouteMutation, { data, loading, error }] = useCreateRouteMutation({
|
|
1565
|
+
* variables: {
|
|
1566
|
+
* input: // value for 'input'
|
|
1567
|
+
* },
|
|
1568
|
+
* });
|
|
1569
|
+
*/
|
|
1570
|
+
export function useCreateRouteMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CreateRouteMutation, Types.CreateRouteMutationVariables>) {
|
|
1571
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
1572
|
+
return ApolloReactHooks.useMutation<Types.CreateRouteMutation, Types.CreateRouteMutationVariables>(CreateRouteDocument, options);
|
|
1573
|
+
}
|
|
1574
|
+
export type CreateRouteMutationHookResult = ReturnType<typeof useCreateRouteMutation>;
|
|
1575
|
+
export type CreateRouteMutationResult = Apollo.MutationResult<Types.CreateRouteMutation>;
|
|
1576
|
+
export type CreateRouteMutationOptions = Apollo.BaseMutationOptions<Types.CreateRouteMutation, Types.CreateRouteMutationVariables>;
|
|
1577
|
+
export const UpdateRouteDocument = gql`
|
|
1578
|
+
mutation UpdateRoute($id: ID!, $input: UpdateRouteInput!) {
|
|
1579
|
+
updateRoute(id: $id, input: $input) {
|
|
1580
|
+
...RouteCore
|
|
1581
|
+
}
|
|
1582
|
+
}
|
|
1583
|
+
${RouteCoreFragmentDoc}`;
|
|
1584
|
+
export type UpdateRouteMutationFn = Apollo.MutationFunction<Types.UpdateRouteMutation, Types.UpdateRouteMutationVariables>;
|
|
1585
|
+
|
|
1586
|
+
/**
|
|
1587
|
+
* __useUpdateRouteMutation__
|
|
1588
|
+
*
|
|
1589
|
+
* To run a mutation, you first call `useUpdateRouteMutation` within a React component and pass it any options that fit your needs.
|
|
1590
|
+
* When your component renders, `useUpdateRouteMutation` returns a tuple that includes:
|
|
1591
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1592
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1593
|
+
*
|
|
1594
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
1595
|
+
*
|
|
1596
|
+
* @example
|
|
1597
|
+
* const [updateRouteMutation, { data, loading, error }] = useUpdateRouteMutation({
|
|
1598
|
+
* variables: {
|
|
1599
|
+
* id: // value for 'id'
|
|
1600
|
+
* input: // value for 'input'
|
|
1601
|
+
* },
|
|
1602
|
+
* });
|
|
1603
|
+
*/
|
|
1604
|
+
export function useUpdateRouteMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateRouteMutation, Types.UpdateRouteMutationVariables>) {
|
|
1605
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
1606
|
+
return ApolloReactHooks.useMutation<Types.UpdateRouteMutation, Types.UpdateRouteMutationVariables>(UpdateRouteDocument, options);
|
|
1607
|
+
}
|
|
1608
|
+
export type UpdateRouteMutationHookResult = ReturnType<typeof useUpdateRouteMutation>;
|
|
1609
|
+
export type UpdateRouteMutationResult = Apollo.MutationResult<Types.UpdateRouteMutation>;
|
|
1610
|
+
export type UpdateRouteMutationOptions = Apollo.BaseMutationOptions<Types.UpdateRouteMutation, Types.UpdateRouteMutationVariables>;
|
|
1611
|
+
export const OptimizeRouteDocument = gql`
|
|
1612
|
+
mutation OptimizeRoute($id: ID!) {
|
|
1613
|
+
optimizeRoute(id: $id) {
|
|
1614
|
+
...RouteCore
|
|
1615
|
+
}
|
|
1616
|
+
}
|
|
1617
|
+
${RouteCoreFragmentDoc}`;
|
|
1618
|
+
export type OptimizeRouteMutationFn = Apollo.MutationFunction<Types.OptimizeRouteMutation, Types.OptimizeRouteMutationVariables>;
|
|
1619
|
+
|
|
1620
|
+
/**
|
|
1621
|
+
* __useOptimizeRouteMutation__
|
|
1622
|
+
*
|
|
1623
|
+
* To run a mutation, you first call `useOptimizeRouteMutation` within a React component and pass it any options that fit your needs.
|
|
1624
|
+
* When your component renders, `useOptimizeRouteMutation` returns a tuple that includes:
|
|
1625
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1626
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1627
|
+
*
|
|
1628
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
1629
|
+
*
|
|
1630
|
+
* @example
|
|
1631
|
+
* const [optimizeRouteMutation, { data, loading, error }] = useOptimizeRouteMutation({
|
|
1632
|
+
* variables: {
|
|
1633
|
+
* id: // value for 'id'
|
|
1634
|
+
* },
|
|
1635
|
+
* });
|
|
1636
|
+
*/
|
|
1637
|
+
export function useOptimizeRouteMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.OptimizeRouteMutation, Types.OptimizeRouteMutationVariables>) {
|
|
1638
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
1639
|
+
return ApolloReactHooks.useMutation<Types.OptimizeRouteMutation, Types.OptimizeRouteMutationVariables>(OptimizeRouteDocument, options);
|
|
1640
|
+
}
|
|
1641
|
+
export type OptimizeRouteMutationHookResult = ReturnType<typeof useOptimizeRouteMutation>;
|
|
1642
|
+
export type OptimizeRouteMutationResult = Apollo.MutationResult<Types.OptimizeRouteMutation>;
|
|
1643
|
+
export type OptimizeRouteMutationOptions = Apollo.BaseMutationOptions<Types.OptimizeRouteMutation, Types.OptimizeRouteMutationVariables>;
|
|
1644
|
+
export const DeleteRouteDocument = gql`
|
|
1645
|
+
mutation DeleteRoute($id: ID!) {
|
|
1646
|
+
deleteRoute(id: $id)
|
|
1647
|
+
}
|
|
1648
|
+
`;
|
|
1649
|
+
export type DeleteRouteMutationFn = Apollo.MutationFunction<Types.DeleteRouteMutation, Types.DeleteRouteMutationVariables>;
|
|
1650
|
+
|
|
1651
|
+
/**
|
|
1652
|
+
* __useDeleteRouteMutation__
|
|
1653
|
+
*
|
|
1654
|
+
* To run a mutation, you first call `useDeleteRouteMutation` within a React component and pass it any options that fit your needs.
|
|
1655
|
+
* When your component renders, `useDeleteRouteMutation` returns a tuple that includes:
|
|
1656
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1657
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1658
|
+
*
|
|
1659
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
1660
|
+
*
|
|
1661
|
+
* @example
|
|
1662
|
+
* const [deleteRouteMutation, { data, loading, error }] = useDeleteRouteMutation({
|
|
1663
|
+
* variables: {
|
|
1664
|
+
* id: // value for 'id'
|
|
1665
|
+
* },
|
|
1666
|
+
* });
|
|
1667
|
+
*/
|
|
1668
|
+
export function useDeleteRouteMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeleteRouteMutation, Types.DeleteRouteMutationVariables>) {
|
|
1669
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
1670
|
+
return ApolloReactHooks.useMutation<Types.DeleteRouteMutation, Types.DeleteRouteMutationVariables>(DeleteRouteDocument, options);
|
|
1671
|
+
}
|
|
1672
|
+
export type DeleteRouteMutationHookResult = ReturnType<typeof useDeleteRouteMutation>;
|
|
1673
|
+
export type DeleteRouteMutationResult = Apollo.MutationResult<Types.DeleteRouteMutation>;
|
|
1674
|
+
export type DeleteRouteMutationOptions = Apollo.BaseMutationOptions<Types.DeleteRouteMutation, Types.DeleteRouteMutationVariables>;
|
|
1675
|
+
export const CreateShipmentDocument = gql`
|
|
1676
|
+
mutation CreateShipment($input: CreateShipmentInput!) {
|
|
1677
|
+
createShipment(input: $input) {
|
|
1678
|
+
...ShipmentCore
|
|
1679
|
+
}
|
|
1680
|
+
}
|
|
1681
|
+
${ShipmentCoreFragmentDoc}`;
|
|
1682
|
+
export type CreateShipmentMutationFn = Apollo.MutationFunction<Types.CreateShipmentMutation, Types.CreateShipmentMutationVariables>;
|
|
1683
|
+
|
|
1684
|
+
/**
|
|
1685
|
+
* __useCreateShipmentMutation__
|
|
1686
|
+
*
|
|
1687
|
+
* To run a mutation, you first call `useCreateShipmentMutation` within a React component and pass it any options that fit your needs.
|
|
1688
|
+
* When your component renders, `useCreateShipmentMutation` returns a tuple that includes:
|
|
1689
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1690
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1691
|
+
*
|
|
1692
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
1693
|
+
*
|
|
1694
|
+
* @example
|
|
1695
|
+
* const [createShipmentMutation, { data, loading, error }] = useCreateShipmentMutation({
|
|
1696
|
+
* variables: {
|
|
1697
|
+
* input: // value for 'input'
|
|
1698
|
+
* },
|
|
1699
|
+
* });
|
|
1700
|
+
*/
|
|
1701
|
+
export function useCreateShipmentMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CreateShipmentMutation, Types.CreateShipmentMutationVariables>) {
|
|
1702
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
1703
|
+
return ApolloReactHooks.useMutation<Types.CreateShipmentMutation, Types.CreateShipmentMutationVariables>(CreateShipmentDocument, options);
|
|
1704
|
+
}
|
|
1705
|
+
export type CreateShipmentMutationHookResult = ReturnType<typeof useCreateShipmentMutation>;
|
|
1706
|
+
export type CreateShipmentMutationResult = Apollo.MutationResult<Types.CreateShipmentMutation>;
|
|
1707
|
+
export type CreateShipmentMutationOptions = Apollo.BaseMutationOptions<Types.CreateShipmentMutation, Types.CreateShipmentMutationVariables>;
|
|
1708
|
+
export const UpdateShipmentDocument = gql`
|
|
1709
|
+
mutation UpdateShipment($id: ID!, $input: UpdateShipmentInput!) {
|
|
1710
|
+
updateShipment(id: $id, input: $input) {
|
|
1711
|
+
...ShipmentCore
|
|
1712
|
+
}
|
|
1713
|
+
}
|
|
1714
|
+
${ShipmentCoreFragmentDoc}`;
|
|
1715
|
+
export type UpdateShipmentMutationFn = Apollo.MutationFunction<Types.UpdateShipmentMutation, Types.UpdateShipmentMutationVariables>;
|
|
1716
|
+
|
|
1717
|
+
/**
|
|
1718
|
+
* __useUpdateShipmentMutation__
|
|
1719
|
+
*
|
|
1720
|
+
* To run a mutation, you first call `useUpdateShipmentMutation` within a React component and pass it any options that fit your needs.
|
|
1721
|
+
* When your component renders, `useUpdateShipmentMutation` returns a tuple that includes:
|
|
1722
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1723
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1724
|
+
*
|
|
1725
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
1726
|
+
*
|
|
1727
|
+
* @example
|
|
1728
|
+
* const [updateShipmentMutation, { data, loading, error }] = useUpdateShipmentMutation({
|
|
1729
|
+
* variables: {
|
|
1730
|
+
* id: // value for 'id'
|
|
1731
|
+
* input: // value for 'input'
|
|
1732
|
+
* },
|
|
1733
|
+
* });
|
|
1734
|
+
*/
|
|
1735
|
+
export function useUpdateShipmentMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateShipmentMutation, Types.UpdateShipmentMutationVariables>) {
|
|
1736
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
1737
|
+
return ApolloReactHooks.useMutation<Types.UpdateShipmentMutation, Types.UpdateShipmentMutationVariables>(UpdateShipmentDocument, options);
|
|
1738
|
+
}
|
|
1739
|
+
export type UpdateShipmentMutationHookResult = ReturnType<typeof useUpdateShipmentMutation>;
|
|
1740
|
+
export type UpdateShipmentMutationResult = Apollo.MutationResult<Types.UpdateShipmentMutation>;
|
|
1741
|
+
export type UpdateShipmentMutationOptions = Apollo.BaseMutationOptions<Types.UpdateShipmentMutation, Types.UpdateShipmentMutationVariables>;
|
|
1742
|
+
export const DeleteShipmentDocument = gql`
|
|
1743
|
+
mutation DeleteShipment($id: ID!) {
|
|
1744
|
+
deleteShipment(id: $id)
|
|
1745
|
+
}
|
|
1746
|
+
`;
|
|
1747
|
+
export type DeleteShipmentMutationFn = Apollo.MutationFunction<Types.DeleteShipmentMutation, Types.DeleteShipmentMutationVariables>;
|
|
1748
|
+
|
|
1749
|
+
/**
|
|
1750
|
+
* __useDeleteShipmentMutation__
|
|
1751
|
+
*
|
|
1752
|
+
* To run a mutation, you first call `useDeleteShipmentMutation` within a React component and pass it any options that fit your needs.
|
|
1753
|
+
* When your component renders, `useDeleteShipmentMutation` returns a tuple that includes:
|
|
1754
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1755
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1756
|
+
*
|
|
1757
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
1758
|
+
*
|
|
1759
|
+
* @example
|
|
1760
|
+
* const [deleteShipmentMutation, { data, loading, error }] = useDeleteShipmentMutation({
|
|
1761
|
+
* variables: {
|
|
1762
|
+
* id: // value for 'id'
|
|
1763
|
+
* },
|
|
1764
|
+
* });
|
|
1765
|
+
*/
|
|
1766
|
+
export function useDeleteShipmentMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeleteShipmentMutation, Types.DeleteShipmentMutationVariables>) {
|
|
1767
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
1768
|
+
return ApolloReactHooks.useMutation<Types.DeleteShipmentMutation, Types.DeleteShipmentMutationVariables>(DeleteShipmentDocument, options);
|
|
1769
|
+
}
|
|
1770
|
+
export type DeleteShipmentMutationHookResult = ReturnType<typeof useDeleteShipmentMutation>;
|
|
1771
|
+
export type DeleteShipmentMutationResult = Apollo.MutationResult<Types.DeleteShipmentMutation>;
|
|
1772
|
+
export type DeleteShipmentMutationOptions = Apollo.BaseMutationOptions<Types.DeleteShipmentMutation, Types.DeleteShipmentMutationVariables>;
|
|
1773
|
+
export const AddTrackingEventDocument = gql`
|
|
1774
|
+
mutation AddTrackingEvent($input: AddTrackingEventInput!) {
|
|
1775
|
+
addTrackingEvent(input: $input) {
|
|
1776
|
+
id
|
|
1777
|
+
shipmentId
|
|
1778
|
+
eventType
|
|
1779
|
+
location
|
|
1780
|
+
details
|
|
1781
|
+
timestamp
|
|
1782
|
+
}
|
|
1783
|
+
}
|
|
1784
|
+
`;
|
|
1785
|
+
export type AddTrackingEventMutationFn = Apollo.MutationFunction<Types.AddTrackingEventMutation, Types.AddTrackingEventMutationVariables>;
|
|
1786
|
+
|
|
1787
|
+
/**
|
|
1788
|
+
* __useAddTrackingEventMutation__
|
|
1789
|
+
*
|
|
1790
|
+
* To run a mutation, you first call `useAddTrackingEventMutation` within a React component and pass it any options that fit your needs.
|
|
1791
|
+
* When your component renders, `useAddTrackingEventMutation` returns a tuple that includes:
|
|
1792
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1793
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1794
|
+
*
|
|
1795
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
1796
|
+
*
|
|
1797
|
+
* @example
|
|
1798
|
+
* const [addTrackingEventMutation, { data, loading, error }] = useAddTrackingEventMutation({
|
|
1799
|
+
* variables: {
|
|
1800
|
+
* input: // value for 'input'
|
|
1801
|
+
* },
|
|
1802
|
+
* });
|
|
1803
|
+
*/
|
|
1804
|
+
export function useAddTrackingEventMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.AddTrackingEventMutation, Types.AddTrackingEventMutationVariables>) {
|
|
1805
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
1806
|
+
return ApolloReactHooks.useMutation<Types.AddTrackingEventMutation, Types.AddTrackingEventMutationVariables>(AddTrackingEventDocument, options);
|
|
1807
|
+
}
|
|
1808
|
+
export type AddTrackingEventMutationHookResult = ReturnType<typeof useAddTrackingEventMutation>;
|
|
1809
|
+
export type AddTrackingEventMutationResult = Apollo.MutationResult<Types.AddTrackingEventMutation>;
|
|
1810
|
+
export type AddTrackingEventMutationOptions = Apollo.BaseMutationOptions<Types.AddTrackingEventMutation, Types.AddTrackingEventMutationVariables>;
|
|
1811
|
+
export const CreateServiceProviderDocument = gql`
|
|
1812
|
+
mutation CreateServiceProvider($input: CreateServiceProviderInput!) {
|
|
1813
|
+
createServiceProvider(input: $input) {
|
|
1814
|
+
...ServiceProviderCore
|
|
1815
|
+
}
|
|
1816
|
+
}
|
|
1817
|
+
${ServiceProviderCoreFragmentDoc}`;
|
|
1818
|
+
export type CreateServiceProviderMutationFn = Apollo.MutationFunction<Types.CreateServiceProviderMutation, Types.CreateServiceProviderMutationVariables>;
|
|
1819
|
+
|
|
1820
|
+
/**
|
|
1821
|
+
* __useCreateServiceProviderMutation__
|
|
1822
|
+
*
|
|
1823
|
+
* To run a mutation, you first call `useCreateServiceProviderMutation` within a React component and pass it any options that fit your needs.
|
|
1824
|
+
* When your component renders, `useCreateServiceProviderMutation` returns a tuple that includes:
|
|
1825
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1826
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1827
|
+
*
|
|
1828
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
1829
|
+
*
|
|
1830
|
+
* @example
|
|
1831
|
+
* const [createServiceProviderMutation, { data, loading, error }] = useCreateServiceProviderMutation({
|
|
1832
|
+
* variables: {
|
|
1833
|
+
* input: // value for 'input'
|
|
1834
|
+
* },
|
|
1835
|
+
* });
|
|
1836
|
+
*/
|
|
1837
|
+
export function useCreateServiceProviderMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CreateServiceProviderMutation, Types.CreateServiceProviderMutationVariables>) {
|
|
1838
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
1839
|
+
return ApolloReactHooks.useMutation<Types.CreateServiceProviderMutation, Types.CreateServiceProviderMutationVariables>(CreateServiceProviderDocument, options);
|
|
1840
|
+
}
|
|
1841
|
+
export type CreateServiceProviderMutationHookResult = ReturnType<typeof useCreateServiceProviderMutation>;
|
|
1842
|
+
export type CreateServiceProviderMutationResult = Apollo.MutationResult<Types.CreateServiceProviderMutation>;
|
|
1843
|
+
export type CreateServiceProviderMutationOptions = Apollo.BaseMutationOptions<Types.CreateServiceProviderMutation, Types.CreateServiceProviderMutationVariables>;
|
|
1844
|
+
export const UpdateServiceProviderDocument = gql`
|
|
1845
|
+
mutation UpdateServiceProvider($id: ID!, $input: UpdateServiceProviderInput!) {
|
|
1846
|
+
updateServiceProvider(id: $id, input: $input) {
|
|
1847
|
+
...ServiceProviderCore
|
|
1848
|
+
}
|
|
1849
|
+
}
|
|
1850
|
+
${ServiceProviderCoreFragmentDoc}`;
|
|
1851
|
+
export type UpdateServiceProviderMutationFn = Apollo.MutationFunction<Types.UpdateServiceProviderMutation, Types.UpdateServiceProviderMutationVariables>;
|
|
1852
|
+
|
|
1853
|
+
/**
|
|
1854
|
+
* __useUpdateServiceProviderMutation__
|
|
1855
|
+
*
|
|
1856
|
+
* To run a mutation, you first call `useUpdateServiceProviderMutation` within a React component and pass it any options that fit your needs.
|
|
1857
|
+
* When your component renders, `useUpdateServiceProviderMutation` returns a tuple that includes:
|
|
1858
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1859
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1860
|
+
*
|
|
1861
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
1862
|
+
*
|
|
1863
|
+
* @example
|
|
1864
|
+
* const [updateServiceProviderMutation, { data, loading, error }] = useUpdateServiceProviderMutation({
|
|
1865
|
+
* variables: {
|
|
1866
|
+
* id: // value for 'id'
|
|
1867
|
+
* input: // value for 'input'
|
|
1868
|
+
* },
|
|
1869
|
+
* });
|
|
1870
|
+
*/
|
|
1871
|
+
export function useUpdateServiceProviderMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateServiceProviderMutation, Types.UpdateServiceProviderMutationVariables>) {
|
|
1872
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
1873
|
+
return ApolloReactHooks.useMutation<Types.UpdateServiceProviderMutation, Types.UpdateServiceProviderMutationVariables>(UpdateServiceProviderDocument, options);
|
|
1874
|
+
}
|
|
1875
|
+
export type UpdateServiceProviderMutationHookResult = ReturnType<typeof useUpdateServiceProviderMutation>;
|
|
1876
|
+
export type UpdateServiceProviderMutationResult = Apollo.MutationResult<Types.UpdateServiceProviderMutation>;
|
|
1877
|
+
export type UpdateServiceProviderMutationOptions = Apollo.BaseMutationOptions<Types.UpdateServiceProviderMutation, Types.UpdateServiceProviderMutationVariables>;
|
|
1878
|
+
export const DeleteServiceProviderDocument = gql`
|
|
1879
|
+
mutation DeleteServiceProvider($id: ID!) {
|
|
1880
|
+
deleteServiceProvider(id: $id)
|
|
1881
|
+
}
|
|
1882
|
+
`;
|
|
1883
|
+
export type DeleteServiceProviderMutationFn = Apollo.MutationFunction<Types.DeleteServiceProviderMutation, Types.DeleteServiceProviderMutationVariables>;
|
|
1884
|
+
|
|
1885
|
+
/**
|
|
1886
|
+
* __useDeleteServiceProviderMutation__
|
|
1887
|
+
*
|
|
1888
|
+
* To run a mutation, you first call `useDeleteServiceProviderMutation` within a React component and pass it any options that fit your needs.
|
|
1889
|
+
* When your component renders, `useDeleteServiceProviderMutation` returns a tuple that includes:
|
|
1890
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1891
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1892
|
+
*
|
|
1893
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
1894
|
+
*
|
|
1895
|
+
* @example
|
|
1896
|
+
* const [deleteServiceProviderMutation, { data, loading, error }] = useDeleteServiceProviderMutation({
|
|
1897
|
+
* variables: {
|
|
1898
|
+
* id: // value for 'id'
|
|
1899
|
+
* },
|
|
1900
|
+
* });
|
|
1901
|
+
*/
|
|
1902
|
+
export function useDeleteServiceProviderMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeleteServiceProviderMutation, Types.DeleteServiceProviderMutationVariables>) {
|
|
1903
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
1904
|
+
return ApolloReactHooks.useMutation<Types.DeleteServiceProviderMutation, Types.DeleteServiceProviderMutationVariables>(DeleteServiceProviderDocument, options);
|
|
1905
|
+
}
|
|
1906
|
+
export type DeleteServiceProviderMutationHookResult = ReturnType<typeof useDeleteServiceProviderMutation>;
|
|
1907
|
+
export type DeleteServiceProviderMutationResult = Apollo.MutationResult<Types.DeleteServiceProviderMutation>;
|
|
1908
|
+
export type DeleteServiceProviderMutationOptions = Apollo.BaseMutationOptions<Types.DeleteServiceProviderMutation, Types.DeleteServiceProviderMutationVariables>;
|
|
1909
|
+
export const CreateServiceOfferingDocument = gql`
|
|
1910
|
+
mutation CreateServiceOffering($input: CreateServiceOfferingInput!) {
|
|
1911
|
+
createServiceOffering(input: $input) {
|
|
1912
|
+
...ServiceOfferingCore
|
|
1913
|
+
}
|
|
1914
|
+
}
|
|
1915
|
+
${ServiceOfferingCoreFragmentDoc}`;
|
|
1916
|
+
export type CreateServiceOfferingMutationFn = Apollo.MutationFunction<Types.CreateServiceOfferingMutation, Types.CreateServiceOfferingMutationVariables>;
|
|
1917
|
+
|
|
1918
|
+
/**
|
|
1919
|
+
* __useCreateServiceOfferingMutation__
|
|
1920
|
+
*
|
|
1921
|
+
* To run a mutation, you first call `useCreateServiceOfferingMutation` within a React component and pass it any options that fit your needs.
|
|
1922
|
+
* When your component renders, `useCreateServiceOfferingMutation` returns a tuple that includes:
|
|
1923
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1924
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1925
|
+
*
|
|
1926
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
1927
|
+
*
|
|
1928
|
+
* @example
|
|
1929
|
+
* const [createServiceOfferingMutation, { data, loading, error }] = useCreateServiceOfferingMutation({
|
|
1930
|
+
* variables: {
|
|
1931
|
+
* input: // value for 'input'
|
|
1932
|
+
* },
|
|
1933
|
+
* });
|
|
1934
|
+
*/
|
|
1935
|
+
export function useCreateServiceOfferingMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CreateServiceOfferingMutation, Types.CreateServiceOfferingMutationVariables>) {
|
|
1936
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
1937
|
+
return ApolloReactHooks.useMutation<Types.CreateServiceOfferingMutation, Types.CreateServiceOfferingMutationVariables>(CreateServiceOfferingDocument, options);
|
|
1938
|
+
}
|
|
1939
|
+
export type CreateServiceOfferingMutationHookResult = ReturnType<typeof useCreateServiceOfferingMutation>;
|
|
1940
|
+
export type CreateServiceOfferingMutationResult = Apollo.MutationResult<Types.CreateServiceOfferingMutation>;
|
|
1941
|
+
export type CreateServiceOfferingMutationOptions = Apollo.BaseMutationOptions<Types.CreateServiceOfferingMutation, Types.CreateServiceOfferingMutationVariables>;
|
|
1942
|
+
export const UpdateServiceOfferingDocument = gql`
|
|
1943
|
+
mutation UpdateServiceOffering($id: ID!, $input: UpdateServiceOfferingInput!) {
|
|
1944
|
+
updateServiceOffering(id: $id, input: $input) {
|
|
1945
|
+
...ServiceOfferingCore
|
|
1946
|
+
}
|
|
1947
|
+
}
|
|
1948
|
+
${ServiceOfferingCoreFragmentDoc}`;
|
|
1949
|
+
export type UpdateServiceOfferingMutationFn = Apollo.MutationFunction<Types.UpdateServiceOfferingMutation, Types.UpdateServiceOfferingMutationVariables>;
|
|
1950
|
+
|
|
1951
|
+
/**
|
|
1952
|
+
* __useUpdateServiceOfferingMutation__
|
|
1953
|
+
*
|
|
1954
|
+
* To run a mutation, you first call `useUpdateServiceOfferingMutation` within a React component and pass it any options that fit your needs.
|
|
1955
|
+
* When your component renders, `useUpdateServiceOfferingMutation` returns a tuple that includes:
|
|
1956
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1957
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1958
|
+
*
|
|
1959
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
1960
|
+
*
|
|
1961
|
+
* @example
|
|
1962
|
+
* const [updateServiceOfferingMutation, { data, loading, error }] = useUpdateServiceOfferingMutation({
|
|
1963
|
+
* variables: {
|
|
1964
|
+
* id: // value for 'id'
|
|
1965
|
+
* input: // value for 'input'
|
|
1966
|
+
* },
|
|
1967
|
+
* });
|
|
1968
|
+
*/
|
|
1969
|
+
export function useUpdateServiceOfferingMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateServiceOfferingMutation, Types.UpdateServiceOfferingMutationVariables>) {
|
|
1970
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
1971
|
+
return ApolloReactHooks.useMutation<Types.UpdateServiceOfferingMutation, Types.UpdateServiceOfferingMutationVariables>(UpdateServiceOfferingDocument, options);
|
|
1972
|
+
}
|
|
1973
|
+
export type UpdateServiceOfferingMutationHookResult = ReturnType<typeof useUpdateServiceOfferingMutation>;
|
|
1974
|
+
export type UpdateServiceOfferingMutationResult = Apollo.MutationResult<Types.UpdateServiceOfferingMutation>;
|
|
1975
|
+
export type UpdateServiceOfferingMutationOptions = Apollo.BaseMutationOptions<Types.UpdateServiceOfferingMutation, Types.UpdateServiceOfferingMutationVariables>;
|
|
1976
|
+
export const DeleteServiceOfferingDocument = gql`
|
|
1977
|
+
mutation DeleteServiceOffering($id: ID!) {
|
|
1978
|
+
deleteServiceOffering(id: $id)
|
|
1979
|
+
}
|
|
1980
|
+
`;
|
|
1981
|
+
export type DeleteServiceOfferingMutationFn = Apollo.MutationFunction<Types.DeleteServiceOfferingMutation, Types.DeleteServiceOfferingMutationVariables>;
|
|
1982
|
+
|
|
1983
|
+
/**
|
|
1984
|
+
* __useDeleteServiceOfferingMutation__
|
|
1985
|
+
*
|
|
1986
|
+
* To run a mutation, you first call `useDeleteServiceOfferingMutation` within a React component and pass it any options that fit your needs.
|
|
1987
|
+
* When your component renders, `useDeleteServiceOfferingMutation` returns a tuple that includes:
|
|
1988
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1989
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1990
|
+
*
|
|
1991
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
1992
|
+
*
|
|
1993
|
+
* @example
|
|
1994
|
+
* const [deleteServiceOfferingMutation, { data, loading, error }] = useDeleteServiceOfferingMutation({
|
|
1995
|
+
* variables: {
|
|
1996
|
+
* id: // value for 'id'
|
|
1997
|
+
* },
|
|
1998
|
+
* });
|
|
1999
|
+
*/
|
|
2000
|
+
export function useDeleteServiceOfferingMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeleteServiceOfferingMutation, Types.DeleteServiceOfferingMutationVariables>) {
|
|
2001
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2002
|
+
return ApolloReactHooks.useMutation<Types.DeleteServiceOfferingMutation, Types.DeleteServiceOfferingMutationVariables>(DeleteServiceOfferingDocument, options);
|
|
2003
|
+
}
|
|
2004
|
+
export type DeleteServiceOfferingMutationHookResult = ReturnType<typeof useDeleteServiceOfferingMutation>;
|
|
2005
|
+
export type DeleteServiceOfferingMutationResult = Apollo.MutationResult<Types.DeleteServiceOfferingMutation>;
|
|
2006
|
+
export type DeleteServiceOfferingMutationOptions = Apollo.BaseMutationOptions<Types.DeleteServiceOfferingMutation, Types.DeleteServiceOfferingMutationVariables>;
|
|
2007
|
+
export const CreateMovethewheelsReportDocument = gql`
|
|
2008
|
+
mutation CreateMovethewheelsReport($input: CreateMovethewheelsReportInput!) {
|
|
2009
|
+
createMovethewheelsReport(input: $input) {
|
|
2010
|
+
...MovethewheelsReportCore
|
|
2011
|
+
}
|
|
2012
|
+
}
|
|
2013
|
+
${MovethewheelsReportCoreFragmentDoc}`;
|
|
2014
|
+
export type CreateMovethewheelsReportMutationFn = Apollo.MutationFunction<Types.CreateMovethewheelsReportMutation, Types.CreateMovethewheelsReportMutationVariables>;
|
|
2015
|
+
|
|
2016
|
+
/**
|
|
2017
|
+
* __useCreateMovethewheelsReportMutation__
|
|
2018
|
+
*
|
|
2019
|
+
* To run a mutation, you first call `useCreateMovethewheelsReportMutation` within a React component and pass it any options that fit your needs.
|
|
2020
|
+
* When your component renders, `useCreateMovethewheelsReportMutation` returns a tuple that includes:
|
|
2021
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2022
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2023
|
+
*
|
|
2024
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
2025
|
+
*
|
|
2026
|
+
* @example
|
|
2027
|
+
* const [createMovethewheelsReportMutation, { data, loading, error }] = useCreateMovethewheelsReportMutation({
|
|
2028
|
+
* variables: {
|
|
2029
|
+
* input: // value for 'input'
|
|
2030
|
+
* },
|
|
2031
|
+
* });
|
|
2032
|
+
*/
|
|
2033
|
+
export function useCreateMovethewheelsReportMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CreateMovethewheelsReportMutation, Types.CreateMovethewheelsReportMutationVariables>) {
|
|
2034
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2035
|
+
return ApolloReactHooks.useMutation<Types.CreateMovethewheelsReportMutation, Types.CreateMovethewheelsReportMutationVariables>(CreateMovethewheelsReportDocument, options);
|
|
2036
|
+
}
|
|
2037
|
+
export type CreateMovethewheelsReportMutationHookResult = ReturnType<typeof useCreateMovethewheelsReportMutation>;
|
|
2038
|
+
export type CreateMovethewheelsReportMutationResult = Apollo.MutationResult<Types.CreateMovethewheelsReportMutation>;
|
|
2039
|
+
export type CreateMovethewheelsReportMutationOptions = Apollo.BaseMutationOptions<Types.CreateMovethewheelsReportMutation, Types.CreateMovethewheelsReportMutationVariables>;
|
|
2040
|
+
export const UpdateMovethewheelsReportDocument = gql`
|
|
2041
|
+
mutation UpdateMovethewheelsReport($id: ID!, $input: UpdateMovethewheelsReportInput!) {
|
|
2042
|
+
updateMovethewheelsReport(id: $id, input: $input) {
|
|
2043
|
+
...MovethewheelsReportCore
|
|
2044
|
+
}
|
|
2045
|
+
}
|
|
2046
|
+
${MovethewheelsReportCoreFragmentDoc}`;
|
|
2047
|
+
export type UpdateMovethewheelsReportMutationFn = Apollo.MutationFunction<Types.UpdateMovethewheelsReportMutation, Types.UpdateMovethewheelsReportMutationVariables>;
|
|
2048
|
+
|
|
2049
|
+
/**
|
|
2050
|
+
* __useUpdateMovethewheelsReportMutation__
|
|
2051
|
+
*
|
|
2052
|
+
* To run a mutation, you first call `useUpdateMovethewheelsReportMutation` within a React component and pass it any options that fit your needs.
|
|
2053
|
+
* When your component renders, `useUpdateMovethewheelsReportMutation` returns a tuple that includes:
|
|
2054
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2055
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2056
|
+
*
|
|
2057
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
2058
|
+
*
|
|
2059
|
+
* @example
|
|
2060
|
+
* const [updateMovethewheelsReportMutation, { data, loading, error }] = useUpdateMovethewheelsReportMutation({
|
|
2061
|
+
* variables: {
|
|
2062
|
+
* id: // value for 'id'
|
|
2063
|
+
* input: // value for 'input'
|
|
2064
|
+
* },
|
|
2065
|
+
* });
|
|
2066
|
+
*/
|
|
2067
|
+
export function useUpdateMovethewheelsReportMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateMovethewheelsReportMutation, Types.UpdateMovethewheelsReportMutationVariables>) {
|
|
2068
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2069
|
+
return ApolloReactHooks.useMutation<Types.UpdateMovethewheelsReportMutation, Types.UpdateMovethewheelsReportMutationVariables>(UpdateMovethewheelsReportDocument, options);
|
|
2070
|
+
}
|
|
2071
|
+
export type UpdateMovethewheelsReportMutationHookResult = ReturnType<typeof useUpdateMovethewheelsReportMutation>;
|
|
2072
|
+
export type UpdateMovethewheelsReportMutationResult = Apollo.MutationResult<Types.UpdateMovethewheelsReportMutation>;
|
|
2073
|
+
export type UpdateMovethewheelsReportMutationOptions = Apollo.BaseMutationOptions<Types.UpdateMovethewheelsReportMutation, Types.UpdateMovethewheelsReportMutationVariables>;
|
|
2074
|
+
export const DeleteMovethewheelsReportDocument = gql`
|
|
2075
|
+
mutation DeleteMovethewheelsReport($id: ID!) {
|
|
2076
|
+
deleteMovethewheelsReport(id: $id)
|
|
2077
|
+
}
|
|
2078
|
+
`;
|
|
2079
|
+
export type DeleteMovethewheelsReportMutationFn = Apollo.MutationFunction<Types.DeleteMovethewheelsReportMutation, Types.DeleteMovethewheelsReportMutationVariables>;
|
|
2080
|
+
|
|
2081
|
+
/**
|
|
2082
|
+
* __useDeleteMovethewheelsReportMutation__
|
|
2083
|
+
*
|
|
2084
|
+
* To run a mutation, you first call `useDeleteMovethewheelsReportMutation` within a React component and pass it any options that fit your needs.
|
|
2085
|
+
* When your component renders, `useDeleteMovethewheelsReportMutation` returns a tuple that includes:
|
|
2086
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2087
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2088
|
+
*
|
|
2089
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
2090
|
+
*
|
|
2091
|
+
* @example
|
|
2092
|
+
* const [deleteMovethewheelsReportMutation, { data, loading, error }] = useDeleteMovethewheelsReportMutation({
|
|
2093
|
+
* variables: {
|
|
2094
|
+
* id: // value for 'id'
|
|
2095
|
+
* },
|
|
2096
|
+
* });
|
|
2097
|
+
*/
|
|
2098
|
+
export function useDeleteMovethewheelsReportMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeleteMovethewheelsReportMutation, Types.DeleteMovethewheelsReportMutationVariables>) {
|
|
2099
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2100
|
+
return ApolloReactHooks.useMutation<Types.DeleteMovethewheelsReportMutation, Types.DeleteMovethewheelsReportMutationVariables>(DeleteMovethewheelsReportDocument, options);
|
|
2101
|
+
}
|
|
2102
|
+
export type DeleteMovethewheelsReportMutationHookResult = ReturnType<typeof useDeleteMovethewheelsReportMutation>;
|
|
2103
|
+
export type DeleteMovethewheelsReportMutationResult = Apollo.MutationResult<Types.DeleteMovethewheelsReportMutation>;
|
|
2104
|
+
export type DeleteMovethewheelsReportMutationOptions = Apollo.BaseMutationOptions<Types.DeleteMovethewheelsReportMutation, Types.DeleteMovethewheelsReportMutationVariables>;
|
|
2105
|
+
export const GenerateMovethewheelsReportDocument = gql`
|
|
2106
|
+
mutation GenerateMovethewheelsReport($input: GenerateMovethewheelsReportInput!) {
|
|
2107
|
+
generateMovethewheelsReport(input: $input) {
|
|
2108
|
+
generatedAt
|
|
2109
|
+
result
|
|
2110
|
+
report {
|
|
2111
|
+
...MovethewheelsReportCore
|
|
2112
|
+
}
|
|
2113
|
+
}
|
|
2114
|
+
}
|
|
2115
|
+
${MovethewheelsReportCoreFragmentDoc}`;
|
|
2116
|
+
export type GenerateMovethewheelsReportMutationFn = Apollo.MutationFunction<Types.GenerateMovethewheelsReportMutation, Types.GenerateMovethewheelsReportMutationVariables>;
|
|
2117
|
+
|
|
2118
|
+
/**
|
|
2119
|
+
* __useGenerateMovethewheelsReportMutation__
|
|
2120
|
+
*
|
|
2121
|
+
* To run a mutation, you first call `useGenerateMovethewheelsReportMutation` within a React component and pass it any options that fit your needs.
|
|
2122
|
+
* When your component renders, `useGenerateMovethewheelsReportMutation` returns a tuple that includes:
|
|
2123
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2124
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2125
|
+
*
|
|
2126
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
2127
|
+
*
|
|
2128
|
+
* @example
|
|
2129
|
+
* const [generateMovethewheelsReportMutation, { data, loading, error }] = useGenerateMovethewheelsReportMutation({
|
|
2130
|
+
* variables: {
|
|
2131
|
+
* input: // value for 'input'
|
|
2132
|
+
* },
|
|
2133
|
+
* });
|
|
2134
|
+
*/
|
|
2135
|
+
export function useGenerateMovethewheelsReportMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.GenerateMovethewheelsReportMutation, Types.GenerateMovethewheelsReportMutationVariables>) {
|
|
2136
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2137
|
+
return ApolloReactHooks.useMutation<Types.GenerateMovethewheelsReportMutation, Types.GenerateMovethewheelsReportMutationVariables>(GenerateMovethewheelsReportDocument, options);
|
|
2138
|
+
}
|
|
2139
|
+
export type GenerateMovethewheelsReportMutationHookResult = ReturnType<typeof useGenerateMovethewheelsReportMutation>;
|
|
2140
|
+
export type GenerateMovethewheelsReportMutationResult = Apollo.MutationResult<Types.GenerateMovethewheelsReportMutation>;
|
|
2141
|
+
export type GenerateMovethewheelsReportMutationOptions = Apollo.BaseMutationOptions<Types.GenerateMovethewheelsReportMutation, Types.GenerateMovethewheelsReportMutationVariables>;
|
|
2142
|
+
export const ImportMovethewheelsDataDocument = gql`
|
|
2143
|
+
mutation ImportMovethewheelsData($input: MovethewheelsImportDataInput!) {
|
|
2144
|
+
importData(input: $input) {
|
|
2145
|
+
success
|
|
2146
|
+
message
|
|
2147
|
+
payload
|
|
2148
|
+
}
|
|
2149
|
+
}
|
|
2150
|
+
`;
|
|
2151
|
+
export type ImportMovethewheelsDataMutationFn = Apollo.MutationFunction<Types.ImportMovethewheelsDataMutation, Types.ImportMovethewheelsDataMutationVariables>;
|
|
2152
|
+
|
|
2153
|
+
/**
|
|
2154
|
+
* __useImportMovethewheelsDataMutation__
|
|
2155
|
+
*
|
|
2156
|
+
* To run a mutation, you first call `useImportMovethewheelsDataMutation` within a React component and pass it any options that fit your needs.
|
|
2157
|
+
* When your component renders, `useImportMovethewheelsDataMutation` returns a tuple that includes:
|
|
2158
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2159
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2160
|
+
*
|
|
2161
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
2162
|
+
*
|
|
2163
|
+
* @example
|
|
2164
|
+
* const [importMovethewheelsDataMutation, { data, loading, error }] = useImportMovethewheelsDataMutation({
|
|
2165
|
+
* variables: {
|
|
2166
|
+
* input: // value for 'input'
|
|
2167
|
+
* },
|
|
2168
|
+
* });
|
|
2169
|
+
*/
|
|
2170
|
+
export function useImportMovethewheelsDataMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.ImportMovethewheelsDataMutation, Types.ImportMovethewheelsDataMutationVariables>) {
|
|
2171
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2172
|
+
return ApolloReactHooks.useMutation<Types.ImportMovethewheelsDataMutation, Types.ImportMovethewheelsDataMutationVariables>(ImportMovethewheelsDataDocument, options);
|
|
2173
|
+
}
|
|
2174
|
+
export type ImportMovethewheelsDataMutationHookResult = ReturnType<typeof useImportMovethewheelsDataMutation>;
|
|
2175
|
+
export type ImportMovethewheelsDataMutationResult = Apollo.MutationResult<Types.ImportMovethewheelsDataMutation>;
|
|
2176
|
+
export type ImportMovethewheelsDataMutationOptions = Apollo.BaseMutationOptions<Types.ImportMovethewheelsDataMutation, Types.ImportMovethewheelsDataMutationVariables>;
|
|
2177
|
+
export const ExportMovethewheelsDataDocument = gql`
|
|
2178
|
+
mutation ExportMovethewheelsData($input: MovethewheelsExportDataInput!) {
|
|
2179
|
+
exportData(input: $input) {
|
|
2180
|
+
success
|
|
2181
|
+
message
|
|
2182
|
+
payload
|
|
2183
|
+
}
|
|
2184
|
+
}
|
|
2185
|
+
`;
|
|
2186
|
+
export type ExportMovethewheelsDataMutationFn = Apollo.MutationFunction<Types.ExportMovethewheelsDataMutation, Types.ExportMovethewheelsDataMutationVariables>;
|
|
2187
|
+
|
|
2188
|
+
/**
|
|
2189
|
+
* __useExportMovethewheelsDataMutation__
|
|
2190
|
+
*
|
|
2191
|
+
* To run a mutation, you first call `useExportMovethewheelsDataMutation` within a React component and pass it any options that fit your needs.
|
|
2192
|
+
* When your component renders, `useExportMovethewheelsDataMutation` returns a tuple that includes:
|
|
2193
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2194
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2195
|
+
*
|
|
2196
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
2197
|
+
*
|
|
2198
|
+
* @example
|
|
2199
|
+
* const [exportMovethewheelsDataMutation, { data, loading, error }] = useExportMovethewheelsDataMutation({
|
|
2200
|
+
* variables: {
|
|
2201
|
+
* input: // value for 'input'
|
|
2202
|
+
* },
|
|
2203
|
+
* });
|
|
2204
|
+
*/
|
|
2205
|
+
export function useExportMovethewheelsDataMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.ExportMovethewheelsDataMutation, Types.ExportMovethewheelsDataMutationVariables>) {
|
|
2206
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2207
|
+
return ApolloReactHooks.useMutation<Types.ExportMovethewheelsDataMutation, Types.ExportMovethewheelsDataMutationVariables>(ExportMovethewheelsDataDocument, options);
|
|
2208
|
+
}
|
|
2209
|
+
export type ExportMovethewheelsDataMutationHookResult = ReturnType<typeof useExportMovethewheelsDataMutation>;
|
|
2210
|
+
export type ExportMovethewheelsDataMutationResult = Apollo.MutationResult<Types.ExportMovethewheelsDataMutation>;
|
|
2211
|
+
export type ExportMovethewheelsDataMutationOptions = Apollo.BaseMutationOptions<Types.ExportMovethewheelsDataMutation, Types.ExportMovethewheelsDataMutationVariables>;
|
|
2212
|
+
export const UpdateMovethewheelsModuleSettingsDocument = gql`
|
|
2213
|
+
mutation UpdateMovethewheelsModuleSettings($input: UpdateMovethewheelsModuleSettingsInput!) {
|
|
2214
|
+
updateModuleSettings(input: $input) {
|
|
2215
|
+
workspaceId
|
|
2216
|
+
preferences
|
|
2217
|
+
updatedAt
|
|
2218
|
+
}
|
|
2219
|
+
}
|
|
2220
|
+
`;
|
|
2221
|
+
export type UpdateMovethewheelsModuleSettingsMutationFn = Apollo.MutationFunction<Types.UpdateMovethewheelsModuleSettingsMutation, Types.UpdateMovethewheelsModuleSettingsMutationVariables>;
|
|
2222
|
+
|
|
2223
|
+
/**
|
|
2224
|
+
* __useUpdateMovethewheelsModuleSettingsMutation__
|
|
2225
|
+
*
|
|
2226
|
+
* To run a mutation, you first call `useUpdateMovethewheelsModuleSettingsMutation` within a React component and pass it any options that fit your needs.
|
|
2227
|
+
* When your component renders, `useUpdateMovethewheelsModuleSettingsMutation` returns a tuple that includes:
|
|
2228
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2229
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2230
|
+
*
|
|
2231
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
2232
|
+
*
|
|
2233
|
+
* @example
|
|
2234
|
+
* const [updateMovethewheelsModuleSettingsMutation, { data, loading, error }] = useUpdateMovethewheelsModuleSettingsMutation({
|
|
2235
|
+
* variables: {
|
|
2236
|
+
* input: // value for 'input'
|
|
2237
|
+
* },
|
|
2238
|
+
* });
|
|
2239
|
+
*/
|
|
2240
|
+
export function useUpdateMovethewheelsModuleSettingsMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateMovethewheelsModuleSettingsMutation, Types.UpdateMovethewheelsModuleSettingsMutationVariables>) {
|
|
2241
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2242
|
+
return ApolloReactHooks.useMutation<Types.UpdateMovethewheelsModuleSettingsMutation, Types.UpdateMovethewheelsModuleSettingsMutationVariables>(UpdateMovethewheelsModuleSettingsDocument, options);
|
|
2243
|
+
}
|
|
2244
|
+
export type UpdateMovethewheelsModuleSettingsMutationHookResult = ReturnType<typeof useUpdateMovethewheelsModuleSettingsMutation>;
|
|
2245
|
+
export type UpdateMovethewheelsModuleSettingsMutationResult = Apollo.MutationResult<Types.UpdateMovethewheelsModuleSettingsMutation>;
|
|
2246
|
+
export type UpdateMovethewheelsModuleSettingsMutationOptions = Apollo.BaseMutationOptions<Types.UpdateMovethewheelsModuleSettingsMutation, Types.UpdateMovethewheelsModuleSettingsMutationVariables>;
|
|
2247
|
+
export const CreateMovethewheelsOrderDocument = gql`
|
|
2248
|
+
mutation CreateMovethewheelsOrder($input: CreateOrderInput!) {
|
|
2249
|
+
createMovethewheelsOrder(input: $input) {
|
|
2250
|
+
...MovethewheelsOrderCore
|
|
2251
|
+
}
|
|
2252
|
+
}
|
|
2253
|
+
${MovethewheelsOrderCoreFragmentDoc}`;
|
|
2254
|
+
export type CreateMovethewheelsOrderMutationFn = Apollo.MutationFunction<Types.CreateMovethewheelsOrderMutation, Types.CreateMovethewheelsOrderMutationVariables>;
|
|
2255
|
+
|
|
2256
|
+
/**
|
|
2257
|
+
* __useCreateMovethewheelsOrderMutation__
|
|
2258
|
+
*
|
|
2259
|
+
* To run a mutation, you first call `useCreateMovethewheelsOrderMutation` within a React component and pass it any options that fit your needs.
|
|
2260
|
+
* When your component renders, `useCreateMovethewheelsOrderMutation` returns a tuple that includes:
|
|
2261
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2262
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2263
|
+
*
|
|
2264
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
2265
|
+
*
|
|
2266
|
+
* @example
|
|
2267
|
+
* const [createMovethewheelsOrderMutation, { data, loading, error }] = useCreateMovethewheelsOrderMutation({
|
|
2268
|
+
* variables: {
|
|
2269
|
+
* input: // value for 'input'
|
|
2270
|
+
* },
|
|
2271
|
+
* });
|
|
2272
|
+
*/
|
|
2273
|
+
export function useCreateMovethewheelsOrderMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CreateMovethewheelsOrderMutation, Types.CreateMovethewheelsOrderMutationVariables>) {
|
|
2274
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2275
|
+
return ApolloReactHooks.useMutation<Types.CreateMovethewheelsOrderMutation, Types.CreateMovethewheelsOrderMutationVariables>(CreateMovethewheelsOrderDocument, options);
|
|
2276
|
+
}
|
|
2277
|
+
export type CreateMovethewheelsOrderMutationHookResult = ReturnType<typeof useCreateMovethewheelsOrderMutation>;
|
|
2278
|
+
export type CreateMovethewheelsOrderMutationResult = Apollo.MutationResult<Types.CreateMovethewheelsOrderMutation>;
|
|
2279
|
+
export type CreateMovethewheelsOrderMutationOptions = Apollo.BaseMutationOptions<Types.CreateMovethewheelsOrderMutation, Types.CreateMovethewheelsOrderMutationVariables>;
|
|
2280
|
+
export const UpdateMovethewheelsOrderDocument = gql`
|
|
2281
|
+
mutation UpdateMovethewheelsOrder($id: ID!, $input: UpdateOrderInput!) {
|
|
2282
|
+
updateMovethewheelsOrder(id: $id, input: $input) {
|
|
2283
|
+
...MovethewheelsOrderCore
|
|
2284
|
+
}
|
|
2285
|
+
}
|
|
2286
|
+
${MovethewheelsOrderCoreFragmentDoc}`;
|
|
2287
|
+
export type UpdateMovethewheelsOrderMutationFn = Apollo.MutationFunction<Types.UpdateMovethewheelsOrderMutation, Types.UpdateMovethewheelsOrderMutationVariables>;
|
|
2288
|
+
|
|
2289
|
+
/**
|
|
2290
|
+
* __useUpdateMovethewheelsOrderMutation__
|
|
2291
|
+
*
|
|
2292
|
+
* To run a mutation, you first call `useUpdateMovethewheelsOrderMutation` within a React component and pass it any options that fit your needs.
|
|
2293
|
+
* When your component renders, `useUpdateMovethewheelsOrderMutation` returns a tuple that includes:
|
|
2294
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2295
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2296
|
+
*
|
|
2297
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
2298
|
+
*
|
|
2299
|
+
* @example
|
|
2300
|
+
* const [updateMovethewheelsOrderMutation, { data, loading, error }] = useUpdateMovethewheelsOrderMutation({
|
|
2301
|
+
* variables: {
|
|
2302
|
+
* id: // value for 'id'
|
|
2303
|
+
* input: // value for 'input'
|
|
2304
|
+
* },
|
|
2305
|
+
* });
|
|
2306
|
+
*/
|
|
2307
|
+
export function useUpdateMovethewheelsOrderMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateMovethewheelsOrderMutation, Types.UpdateMovethewheelsOrderMutationVariables>) {
|
|
2308
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2309
|
+
return ApolloReactHooks.useMutation<Types.UpdateMovethewheelsOrderMutation, Types.UpdateMovethewheelsOrderMutationVariables>(UpdateMovethewheelsOrderDocument, options);
|
|
2310
|
+
}
|
|
2311
|
+
export type UpdateMovethewheelsOrderMutationHookResult = ReturnType<typeof useUpdateMovethewheelsOrderMutation>;
|
|
2312
|
+
export type UpdateMovethewheelsOrderMutationResult = Apollo.MutationResult<Types.UpdateMovethewheelsOrderMutation>;
|
|
2313
|
+
export type UpdateMovethewheelsOrderMutationOptions = Apollo.BaseMutationOptions<Types.UpdateMovethewheelsOrderMutation, Types.UpdateMovethewheelsOrderMutationVariables>;
|
|
2314
|
+
export const UpdateMovethewheelsOrderStatusDocument = gql`
|
|
2315
|
+
mutation UpdateMovethewheelsOrderStatus($id: ID!, $input: UpdateOrderStatusInput!) {
|
|
2316
|
+
updateMovethewheelsOrderStatus(id: $id, input: $input) {
|
|
2317
|
+
...MovethewheelsOrderCore
|
|
2318
|
+
}
|
|
2319
|
+
}
|
|
2320
|
+
${MovethewheelsOrderCoreFragmentDoc}`;
|
|
2321
|
+
export type UpdateMovethewheelsOrderStatusMutationFn = Apollo.MutationFunction<Types.UpdateMovethewheelsOrderStatusMutation, Types.UpdateMovethewheelsOrderStatusMutationVariables>;
|
|
2322
|
+
|
|
2323
|
+
/**
|
|
2324
|
+
* __useUpdateMovethewheelsOrderStatusMutation__
|
|
2325
|
+
*
|
|
2326
|
+
* To run a mutation, you first call `useUpdateMovethewheelsOrderStatusMutation` within a React component and pass it any options that fit your needs.
|
|
2327
|
+
* When your component renders, `useUpdateMovethewheelsOrderStatusMutation` returns a tuple that includes:
|
|
2328
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2329
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2330
|
+
*
|
|
2331
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
2332
|
+
*
|
|
2333
|
+
* @example
|
|
2334
|
+
* const [updateMovethewheelsOrderStatusMutation, { data, loading, error }] = useUpdateMovethewheelsOrderStatusMutation({
|
|
2335
|
+
* variables: {
|
|
2336
|
+
* id: // value for 'id'
|
|
2337
|
+
* input: // value for 'input'
|
|
2338
|
+
* },
|
|
2339
|
+
* });
|
|
2340
|
+
*/
|
|
2341
|
+
export function useUpdateMovethewheelsOrderStatusMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateMovethewheelsOrderStatusMutation, Types.UpdateMovethewheelsOrderStatusMutationVariables>) {
|
|
2342
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2343
|
+
return ApolloReactHooks.useMutation<Types.UpdateMovethewheelsOrderStatusMutation, Types.UpdateMovethewheelsOrderStatusMutationVariables>(UpdateMovethewheelsOrderStatusDocument, options);
|
|
2344
|
+
}
|
|
2345
|
+
export type UpdateMovethewheelsOrderStatusMutationHookResult = ReturnType<typeof useUpdateMovethewheelsOrderStatusMutation>;
|
|
2346
|
+
export type UpdateMovethewheelsOrderStatusMutationResult = Apollo.MutationResult<Types.UpdateMovethewheelsOrderStatusMutation>;
|
|
2347
|
+
export type UpdateMovethewheelsOrderStatusMutationOptions = Apollo.BaseMutationOptions<Types.UpdateMovethewheelsOrderStatusMutation, Types.UpdateMovethewheelsOrderStatusMutationVariables>;
|
|
2348
|
+
export const DeleteMovethewheelsOrderDocument = gql`
|
|
2349
|
+
mutation DeleteMovethewheelsOrder($id: ID!) {
|
|
2350
|
+
deleteMovethewheelsOrder(id: $id)
|
|
2351
|
+
}
|
|
2352
|
+
`;
|
|
2353
|
+
export type DeleteMovethewheelsOrderMutationFn = Apollo.MutationFunction<Types.DeleteMovethewheelsOrderMutation, Types.DeleteMovethewheelsOrderMutationVariables>;
|
|
2354
|
+
|
|
2355
|
+
/**
|
|
2356
|
+
* __useDeleteMovethewheelsOrderMutation__
|
|
2357
|
+
*
|
|
2358
|
+
* To run a mutation, you first call `useDeleteMovethewheelsOrderMutation` within a React component and pass it any options that fit your needs.
|
|
2359
|
+
* When your component renders, `useDeleteMovethewheelsOrderMutation` returns a tuple that includes:
|
|
2360
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2361
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2362
|
+
*
|
|
2363
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
2364
|
+
*
|
|
2365
|
+
* @example
|
|
2366
|
+
* const [deleteMovethewheelsOrderMutation, { data, loading, error }] = useDeleteMovethewheelsOrderMutation({
|
|
2367
|
+
* variables: {
|
|
2368
|
+
* id: // value for 'id'
|
|
2369
|
+
* },
|
|
2370
|
+
* });
|
|
2371
|
+
*/
|
|
2372
|
+
export function useDeleteMovethewheelsOrderMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeleteMovethewheelsOrderMutation, Types.DeleteMovethewheelsOrderMutationVariables>) {
|
|
2373
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2374
|
+
return ApolloReactHooks.useMutation<Types.DeleteMovethewheelsOrderMutation, Types.DeleteMovethewheelsOrderMutationVariables>(DeleteMovethewheelsOrderDocument, options);
|
|
2375
|
+
}
|
|
2376
|
+
export type DeleteMovethewheelsOrderMutationHookResult = ReturnType<typeof useDeleteMovethewheelsOrderMutation>;
|
|
2377
|
+
export type DeleteMovethewheelsOrderMutationResult = Apollo.MutationResult<Types.DeleteMovethewheelsOrderMutation>;
|
|
2378
|
+
export type DeleteMovethewheelsOrderMutationOptions = Apollo.BaseMutationOptions<Types.DeleteMovethewheelsOrderMutation, Types.DeleteMovethewheelsOrderMutationVariables>;
|
|
2379
|
+
export const GetMovethewheelsDashboardDocument = gql`
|
|
2380
|
+
query GetMovethewheelsDashboard {
|
|
2381
|
+
dashboardMetrics {
|
|
2382
|
+
totalOrders
|
|
2383
|
+
activeDeliveries
|
|
2384
|
+
availableDrivers
|
|
2385
|
+
activeVehicles
|
|
2386
|
+
lowStockItems
|
|
2387
|
+
totalRevenue
|
|
2388
|
+
recentOrders {
|
|
2389
|
+
...MovethewheelsOrderCore
|
|
2390
|
+
}
|
|
2391
|
+
}
|
|
2392
|
+
orderStats {
|
|
2393
|
+
total
|
|
2394
|
+
pending
|
|
2395
|
+
inTransit
|
|
2396
|
+
delivered
|
|
2397
|
+
cancelled
|
|
2398
|
+
failed
|
|
2399
|
+
}
|
|
2400
|
+
fleetStats {
|
|
2401
|
+
totalVehicles
|
|
2402
|
+
activeVehicles
|
|
2403
|
+
inTransitVehicles
|
|
2404
|
+
maintenanceVehicles
|
|
2405
|
+
totalDrivers
|
|
2406
|
+
availableDrivers
|
|
2407
|
+
onDeliveryDrivers
|
|
2408
|
+
}
|
|
2409
|
+
financeMetrics {
|
|
2410
|
+
fuelCost
|
|
2411
|
+
openInvoices
|
|
2412
|
+
revenue {
|
|
2413
|
+
totalRevenue
|
|
2414
|
+
averageOrderValue
|
|
2415
|
+
deliveredRevenue
|
|
2416
|
+
}
|
|
2417
|
+
}
|
|
2418
|
+
analytics {
|
|
2419
|
+
deliveryTrend {
|
|
2420
|
+
label
|
|
2421
|
+
value
|
|
2422
|
+
}
|
|
2423
|
+
orderTrend {
|
|
2424
|
+
label
|
|
2425
|
+
value
|
|
2426
|
+
}
|
|
2427
|
+
revenueTrend {
|
|
2428
|
+
label
|
|
2429
|
+
value
|
|
2430
|
+
}
|
|
2431
|
+
}
|
|
2432
|
+
}
|
|
2433
|
+
${MovethewheelsOrderCoreFragmentDoc}`;
|
|
2434
|
+
|
|
2435
|
+
/**
|
|
2436
|
+
* __useGetMovethewheelsDashboardQuery__
|
|
2437
|
+
*
|
|
2438
|
+
* To run a query within a React component, call `useGetMovethewheelsDashboardQuery` and pass it any options that fit your needs.
|
|
2439
|
+
* When your component renders, `useGetMovethewheelsDashboardQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2440
|
+
* you can use to render your UI.
|
|
2441
|
+
*
|
|
2442
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
2443
|
+
*
|
|
2444
|
+
* @example
|
|
2445
|
+
* const { data, loading, error } = useGetMovethewheelsDashboardQuery({
|
|
2446
|
+
* variables: {
|
|
2447
|
+
* },
|
|
2448
|
+
* });
|
|
2449
|
+
*/
|
|
2450
|
+
export function useGetMovethewheelsDashboardQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetMovethewheelsDashboardQuery, Types.GetMovethewheelsDashboardQueryVariables>) {
|
|
2451
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2452
|
+
return ApolloReactHooks.useQuery<Types.GetMovethewheelsDashboardQuery, Types.GetMovethewheelsDashboardQueryVariables>(GetMovethewheelsDashboardDocument, options);
|
|
2453
|
+
}
|
|
2454
|
+
export function useGetMovethewheelsDashboardLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetMovethewheelsDashboardQuery, Types.GetMovethewheelsDashboardQueryVariables>) {
|
|
2455
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2456
|
+
return ApolloReactHooks.useLazyQuery<Types.GetMovethewheelsDashboardQuery, Types.GetMovethewheelsDashboardQueryVariables>(GetMovethewheelsDashboardDocument, options);
|
|
2457
|
+
}
|
|
2458
|
+
// @ts-ignore
|
|
2459
|
+
export function useGetMovethewheelsDashboardSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMovethewheelsDashboardQuery, Types.GetMovethewheelsDashboardQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetMovethewheelsDashboardQuery, Types.GetMovethewheelsDashboardQueryVariables>;
|
|
2460
|
+
export function useGetMovethewheelsDashboardSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMovethewheelsDashboardQuery, Types.GetMovethewheelsDashboardQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetMovethewheelsDashboardQuery | undefined, Types.GetMovethewheelsDashboardQueryVariables>;
|
|
2461
|
+
export function useGetMovethewheelsDashboardSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMovethewheelsDashboardQuery, Types.GetMovethewheelsDashboardQueryVariables>) {
|
|
2462
|
+
const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
2463
|
+
return ApolloReactHooks.useSuspenseQuery<Types.GetMovethewheelsDashboardQuery, Types.GetMovethewheelsDashboardQueryVariables>(GetMovethewheelsDashboardDocument, options);
|
|
2464
|
+
}
|
|
2465
|
+
export type GetMovethewheelsDashboardQueryHookResult = ReturnType<typeof useGetMovethewheelsDashboardQuery>;
|
|
2466
|
+
export type GetMovethewheelsDashboardLazyQueryHookResult = ReturnType<typeof useGetMovethewheelsDashboardLazyQuery>;
|
|
2467
|
+
export type GetMovethewheelsDashboardSuspenseQueryHookResult = ReturnType<typeof useGetMovethewheelsDashboardSuspenseQuery>;
|
|
2468
|
+
export type GetMovethewheelsDashboardQueryResult = Apollo.QueryResult<Types.GetMovethewheelsDashboardQuery, Types.GetMovethewheelsDashboardQueryVariables>;
|
|
2469
|
+
export const GetAssistantInsightsDocument = gql`
|
|
2470
|
+
query GetAssistantInsights($question: String!) {
|
|
2471
|
+
assistantInsights(question: $question) {
|
|
2472
|
+
question
|
|
2473
|
+
answer
|
|
2474
|
+
generatedAt
|
|
2475
|
+
}
|
|
2476
|
+
}
|
|
2477
|
+
`;
|
|
2478
|
+
|
|
2479
|
+
/**
|
|
2480
|
+
* __useGetAssistantInsightsQuery__
|
|
2481
|
+
*
|
|
2482
|
+
* To run a query within a React component, call `useGetAssistantInsightsQuery` and pass it any options that fit your needs.
|
|
2483
|
+
* When your component renders, `useGetAssistantInsightsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2484
|
+
* you can use to render your UI.
|
|
2485
|
+
*
|
|
2486
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
2487
|
+
*
|
|
2488
|
+
* @example
|
|
2489
|
+
* const { data, loading, error } = useGetAssistantInsightsQuery({
|
|
2490
|
+
* variables: {
|
|
2491
|
+
* question: // value for 'question'
|
|
2492
|
+
* },
|
|
2493
|
+
* });
|
|
2494
|
+
*/
|
|
2495
|
+
export function useGetAssistantInsightsQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetAssistantInsightsQuery, Types.GetAssistantInsightsQueryVariables> & ({ variables: Types.GetAssistantInsightsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {
|
|
2496
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2497
|
+
return ApolloReactHooks.useQuery<Types.GetAssistantInsightsQuery, Types.GetAssistantInsightsQueryVariables>(GetAssistantInsightsDocument, options);
|
|
2498
|
+
}
|
|
2499
|
+
export function useGetAssistantInsightsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetAssistantInsightsQuery, Types.GetAssistantInsightsQueryVariables>) {
|
|
2500
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2501
|
+
return ApolloReactHooks.useLazyQuery<Types.GetAssistantInsightsQuery, Types.GetAssistantInsightsQueryVariables>(GetAssistantInsightsDocument, options);
|
|
2502
|
+
}
|
|
2503
|
+
// @ts-ignore
|
|
2504
|
+
export function useGetAssistantInsightsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetAssistantInsightsQuery, Types.GetAssistantInsightsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetAssistantInsightsQuery, Types.GetAssistantInsightsQueryVariables>;
|
|
2505
|
+
export function useGetAssistantInsightsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetAssistantInsightsQuery, Types.GetAssistantInsightsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetAssistantInsightsQuery | undefined, Types.GetAssistantInsightsQueryVariables>;
|
|
2506
|
+
export function useGetAssistantInsightsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetAssistantInsightsQuery, Types.GetAssistantInsightsQueryVariables>) {
|
|
2507
|
+
const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
2508
|
+
return ApolloReactHooks.useSuspenseQuery<Types.GetAssistantInsightsQuery, Types.GetAssistantInsightsQueryVariables>(GetAssistantInsightsDocument, options);
|
|
2509
|
+
}
|
|
2510
|
+
export type GetAssistantInsightsQueryHookResult = ReturnType<typeof useGetAssistantInsightsQuery>;
|
|
2511
|
+
export type GetAssistantInsightsLazyQueryHookResult = ReturnType<typeof useGetAssistantInsightsLazyQuery>;
|
|
2512
|
+
export type GetAssistantInsightsSuspenseQueryHookResult = ReturnType<typeof useGetAssistantInsightsSuspenseQuery>;
|
|
2513
|
+
export type GetAssistantInsightsQueryResult = Apollo.QueryResult<Types.GetAssistantInsightsQuery, Types.GetAssistantInsightsQueryVariables>;
|
|
2514
|
+
export const ListCustomersDocument = gql`
|
|
2515
|
+
query ListCustomers($filter: CustomerFilterInput, $pagination: PaginationInput) {
|
|
2516
|
+
customers(filter: $filter, pagination: $pagination) {
|
|
2517
|
+
...CustomerCore
|
|
2518
|
+
}
|
|
2519
|
+
}
|
|
2520
|
+
${CustomerCoreFragmentDoc}`;
|
|
2521
|
+
|
|
2522
|
+
/**
|
|
2523
|
+
* __useListCustomersQuery__
|
|
2524
|
+
*
|
|
2525
|
+
* To run a query within a React component, call `useListCustomersQuery` and pass it any options that fit your needs.
|
|
2526
|
+
* When your component renders, `useListCustomersQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2527
|
+
* you can use to render your UI.
|
|
2528
|
+
*
|
|
2529
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
2530
|
+
*
|
|
2531
|
+
* @example
|
|
2532
|
+
* const { data, loading, error } = useListCustomersQuery({
|
|
2533
|
+
* variables: {
|
|
2534
|
+
* filter: // value for 'filter'
|
|
2535
|
+
* pagination: // value for 'pagination'
|
|
2536
|
+
* },
|
|
2537
|
+
* });
|
|
2538
|
+
*/
|
|
2539
|
+
export function useListCustomersQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.ListCustomersQuery, Types.ListCustomersQueryVariables>) {
|
|
2540
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2541
|
+
return ApolloReactHooks.useQuery<Types.ListCustomersQuery, Types.ListCustomersQueryVariables>(ListCustomersDocument, options);
|
|
2542
|
+
}
|
|
2543
|
+
export function useListCustomersLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.ListCustomersQuery, Types.ListCustomersQueryVariables>) {
|
|
2544
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2545
|
+
return ApolloReactHooks.useLazyQuery<Types.ListCustomersQuery, Types.ListCustomersQueryVariables>(ListCustomersDocument, options);
|
|
2546
|
+
}
|
|
2547
|
+
// @ts-ignore
|
|
2548
|
+
export function useListCustomersSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.ListCustomersQuery, Types.ListCustomersQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListCustomersQuery, Types.ListCustomersQueryVariables>;
|
|
2549
|
+
export function useListCustomersSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListCustomersQuery, Types.ListCustomersQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListCustomersQuery | undefined, Types.ListCustomersQueryVariables>;
|
|
2550
|
+
export function useListCustomersSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListCustomersQuery, Types.ListCustomersQueryVariables>) {
|
|
2551
|
+
const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
2552
|
+
return ApolloReactHooks.useSuspenseQuery<Types.ListCustomersQuery, Types.ListCustomersQueryVariables>(ListCustomersDocument, options);
|
|
2553
|
+
}
|
|
2554
|
+
export type ListCustomersQueryHookResult = ReturnType<typeof useListCustomersQuery>;
|
|
2555
|
+
export type ListCustomersLazyQueryHookResult = ReturnType<typeof useListCustomersLazyQuery>;
|
|
2556
|
+
export type ListCustomersSuspenseQueryHookResult = ReturnType<typeof useListCustomersSuspenseQuery>;
|
|
2557
|
+
export type ListCustomersQueryResult = Apollo.QueryResult<Types.ListCustomersQuery, Types.ListCustomersQueryVariables>;
|
|
2558
|
+
export const GetCustomerDocument = gql`
|
|
2559
|
+
query GetCustomer($id: ID!) {
|
|
2560
|
+
customer(id: $id) {
|
|
2561
|
+
...CustomerCore
|
|
2562
|
+
}
|
|
2563
|
+
}
|
|
2564
|
+
${CustomerCoreFragmentDoc}`;
|
|
2565
|
+
|
|
2566
|
+
/**
|
|
2567
|
+
* __useGetCustomerQuery__
|
|
2568
|
+
*
|
|
2569
|
+
* To run a query within a React component, call `useGetCustomerQuery` and pass it any options that fit your needs.
|
|
2570
|
+
* When your component renders, `useGetCustomerQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2571
|
+
* you can use to render your UI.
|
|
2572
|
+
*
|
|
2573
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
2574
|
+
*
|
|
2575
|
+
* @example
|
|
2576
|
+
* const { data, loading, error } = useGetCustomerQuery({
|
|
2577
|
+
* variables: {
|
|
2578
|
+
* id: // value for 'id'
|
|
2579
|
+
* },
|
|
2580
|
+
* });
|
|
2581
|
+
*/
|
|
2582
|
+
export function useGetCustomerQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetCustomerQuery, Types.GetCustomerQueryVariables> & ({ variables: Types.GetCustomerQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {
|
|
2583
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2584
|
+
return ApolloReactHooks.useQuery<Types.GetCustomerQuery, Types.GetCustomerQueryVariables>(GetCustomerDocument, options);
|
|
2585
|
+
}
|
|
2586
|
+
export function useGetCustomerLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetCustomerQuery, Types.GetCustomerQueryVariables>) {
|
|
2587
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2588
|
+
return ApolloReactHooks.useLazyQuery<Types.GetCustomerQuery, Types.GetCustomerQueryVariables>(GetCustomerDocument, options);
|
|
2589
|
+
}
|
|
2590
|
+
// @ts-ignore
|
|
2591
|
+
export function useGetCustomerSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetCustomerQuery, Types.GetCustomerQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetCustomerQuery, Types.GetCustomerQueryVariables>;
|
|
2592
|
+
export function useGetCustomerSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetCustomerQuery, Types.GetCustomerQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetCustomerQuery | undefined, Types.GetCustomerQueryVariables>;
|
|
2593
|
+
export function useGetCustomerSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetCustomerQuery, Types.GetCustomerQueryVariables>) {
|
|
2594
|
+
const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
2595
|
+
return ApolloReactHooks.useSuspenseQuery<Types.GetCustomerQuery, Types.GetCustomerQueryVariables>(GetCustomerDocument, options);
|
|
2596
|
+
}
|
|
2597
|
+
export type GetCustomerQueryHookResult = ReturnType<typeof useGetCustomerQuery>;
|
|
2598
|
+
export type GetCustomerLazyQueryHookResult = ReturnType<typeof useGetCustomerLazyQuery>;
|
|
2599
|
+
export type GetCustomerSuspenseQueryHookResult = ReturnType<typeof useGetCustomerSuspenseQuery>;
|
|
2600
|
+
export type GetCustomerQueryResult = Apollo.QueryResult<Types.GetCustomerQuery, Types.GetCustomerQueryVariables>;
|
|
2601
|
+
export const ListProductsDocument = gql`
|
|
2602
|
+
query ListProducts($filter: ProductFilterInput, $pagination: PaginationInput) {
|
|
2603
|
+
products(filter: $filter, pagination: $pagination) {
|
|
2604
|
+
...ProductCore
|
|
2605
|
+
}
|
|
2606
|
+
}
|
|
2607
|
+
${ProductCoreFragmentDoc}`;
|
|
2608
|
+
|
|
2609
|
+
/**
|
|
2610
|
+
* __useListProductsQuery__
|
|
2611
|
+
*
|
|
2612
|
+
* To run a query within a React component, call `useListProductsQuery` and pass it any options that fit your needs.
|
|
2613
|
+
* When your component renders, `useListProductsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2614
|
+
* you can use to render your UI.
|
|
2615
|
+
*
|
|
2616
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
2617
|
+
*
|
|
2618
|
+
* @example
|
|
2619
|
+
* const { data, loading, error } = useListProductsQuery({
|
|
2620
|
+
* variables: {
|
|
2621
|
+
* filter: // value for 'filter'
|
|
2622
|
+
* pagination: // value for 'pagination'
|
|
2623
|
+
* },
|
|
2624
|
+
* });
|
|
2625
|
+
*/
|
|
2626
|
+
export function useListProductsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.ListProductsQuery, Types.ListProductsQueryVariables>) {
|
|
2627
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2628
|
+
return ApolloReactHooks.useQuery<Types.ListProductsQuery, Types.ListProductsQueryVariables>(ListProductsDocument, options);
|
|
2629
|
+
}
|
|
2630
|
+
export function useListProductsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.ListProductsQuery, Types.ListProductsQueryVariables>) {
|
|
2631
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2632
|
+
return ApolloReactHooks.useLazyQuery<Types.ListProductsQuery, Types.ListProductsQueryVariables>(ListProductsDocument, options);
|
|
2633
|
+
}
|
|
2634
|
+
// @ts-ignore
|
|
2635
|
+
export function useListProductsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.ListProductsQuery, Types.ListProductsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListProductsQuery, Types.ListProductsQueryVariables>;
|
|
2636
|
+
export function useListProductsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListProductsQuery, Types.ListProductsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListProductsQuery | undefined, Types.ListProductsQueryVariables>;
|
|
2637
|
+
export function useListProductsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListProductsQuery, Types.ListProductsQueryVariables>) {
|
|
2638
|
+
const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
2639
|
+
return ApolloReactHooks.useSuspenseQuery<Types.ListProductsQuery, Types.ListProductsQueryVariables>(ListProductsDocument, options);
|
|
2640
|
+
}
|
|
2641
|
+
export type ListProductsQueryHookResult = ReturnType<typeof useListProductsQuery>;
|
|
2642
|
+
export type ListProductsLazyQueryHookResult = ReturnType<typeof useListProductsLazyQuery>;
|
|
2643
|
+
export type ListProductsSuspenseQueryHookResult = ReturnType<typeof useListProductsSuspenseQuery>;
|
|
2644
|
+
export type ListProductsQueryResult = Apollo.QueryResult<Types.ListProductsQuery, Types.ListProductsQueryVariables>;
|
|
2645
|
+
export const GetProductDocument = gql`
|
|
2646
|
+
query GetProduct($id: ID!) {
|
|
2647
|
+
product(id: $id) {
|
|
2648
|
+
...ProductCore
|
|
2649
|
+
}
|
|
2650
|
+
}
|
|
2651
|
+
${ProductCoreFragmentDoc}`;
|
|
2652
|
+
|
|
2653
|
+
/**
|
|
2654
|
+
* __useGetProductQuery__
|
|
2655
|
+
*
|
|
2656
|
+
* To run a query within a React component, call `useGetProductQuery` and pass it any options that fit your needs.
|
|
2657
|
+
* When your component renders, `useGetProductQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2658
|
+
* you can use to render your UI.
|
|
2659
|
+
*
|
|
2660
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
2661
|
+
*
|
|
2662
|
+
* @example
|
|
2663
|
+
* const { data, loading, error } = useGetProductQuery({
|
|
2664
|
+
* variables: {
|
|
2665
|
+
* id: // value for 'id'
|
|
2666
|
+
* },
|
|
2667
|
+
* });
|
|
2668
|
+
*/
|
|
2669
|
+
export function useGetProductQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetProductQuery, Types.GetProductQueryVariables> & ({ variables: Types.GetProductQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {
|
|
2670
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2671
|
+
return ApolloReactHooks.useQuery<Types.GetProductQuery, Types.GetProductQueryVariables>(GetProductDocument, options);
|
|
2672
|
+
}
|
|
2673
|
+
export function useGetProductLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetProductQuery, Types.GetProductQueryVariables>) {
|
|
2674
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2675
|
+
return ApolloReactHooks.useLazyQuery<Types.GetProductQuery, Types.GetProductQueryVariables>(GetProductDocument, options);
|
|
2676
|
+
}
|
|
2677
|
+
// @ts-ignore
|
|
2678
|
+
export function useGetProductSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetProductQuery, Types.GetProductQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetProductQuery, Types.GetProductQueryVariables>;
|
|
2679
|
+
export function useGetProductSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetProductQuery, Types.GetProductQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetProductQuery | undefined, Types.GetProductQueryVariables>;
|
|
2680
|
+
export function useGetProductSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetProductQuery, Types.GetProductQueryVariables>) {
|
|
2681
|
+
const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
2682
|
+
return ApolloReactHooks.useSuspenseQuery<Types.GetProductQuery, Types.GetProductQueryVariables>(GetProductDocument, options);
|
|
2683
|
+
}
|
|
2684
|
+
export type GetProductQueryHookResult = ReturnType<typeof useGetProductQuery>;
|
|
2685
|
+
export type GetProductLazyQueryHookResult = ReturnType<typeof useGetProductLazyQuery>;
|
|
2686
|
+
export type GetProductSuspenseQueryHookResult = ReturnType<typeof useGetProductSuspenseQuery>;
|
|
2687
|
+
export type GetProductQueryResult = Apollo.QueryResult<Types.GetProductQuery, Types.GetProductQueryVariables>;
|
|
2688
|
+
export const ListVehiclesDocument = gql`
|
|
2689
|
+
query ListVehicles($filter: VehicleFilterInput, $pagination: PaginationInput) {
|
|
2690
|
+
vehicles(filter: $filter, pagination: $pagination) {
|
|
2691
|
+
...VehicleCore
|
|
2692
|
+
}
|
|
2693
|
+
}
|
|
2694
|
+
${VehicleCoreFragmentDoc}`;
|
|
2695
|
+
|
|
2696
|
+
/**
|
|
2697
|
+
* __useListVehiclesQuery__
|
|
2698
|
+
*
|
|
2699
|
+
* To run a query within a React component, call `useListVehiclesQuery` and pass it any options that fit your needs.
|
|
2700
|
+
* When your component renders, `useListVehiclesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2701
|
+
* you can use to render your UI.
|
|
2702
|
+
*
|
|
2703
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
2704
|
+
*
|
|
2705
|
+
* @example
|
|
2706
|
+
* const { data, loading, error } = useListVehiclesQuery({
|
|
2707
|
+
* variables: {
|
|
2708
|
+
* filter: // value for 'filter'
|
|
2709
|
+
* pagination: // value for 'pagination'
|
|
2710
|
+
* },
|
|
2711
|
+
* });
|
|
2712
|
+
*/
|
|
2713
|
+
export function useListVehiclesQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.ListVehiclesQuery, Types.ListVehiclesQueryVariables>) {
|
|
2714
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2715
|
+
return ApolloReactHooks.useQuery<Types.ListVehiclesQuery, Types.ListVehiclesQueryVariables>(ListVehiclesDocument, options);
|
|
2716
|
+
}
|
|
2717
|
+
export function useListVehiclesLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.ListVehiclesQuery, Types.ListVehiclesQueryVariables>) {
|
|
2718
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2719
|
+
return ApolloReactHooks.useLazyQuery<Types.ListVehiclesQuery, Types.ListVehiclesQueryVariables>(ListVehiclesDocument, options);
|
|
2720
|
+
}
|
|
2721
|
+
// @ts-ignore
|
|
2722
|
+
export function useListVehiclesSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.ListVehiclesQuery, Types.ListVehiclesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListVehiclesQuery, Types.ListVehiclesQueryVariables>;
|
|
2723
|
+
export function useListVehiclesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListVehiclesQuery, Types.ListVehiclesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListVehiclesQuery | undefined, Types.ListVehiclesQueryVariables>;
|
|
2724
|
+
export function useListVehiclesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListVehiclesQuery, Types.ListVehiclesQueryVariables>) {
|
|
2725
|
+
const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
2726
|
+
return ApolloReactHooks.useSuspenseQuery<Types.ListVehiclesQuery, Types.ListVehiclesQueryVariables>(ListVehiclesDocument, options);
|
|
2727
|
+
}
|
|
2728
|
+
export type ListVehiclesQueryHookResult = ReturnType<typeof useListVehiclesQuery>;
|
|
2729
|
+
export type ListVehiclesLazyQueryHookResult = ReturnType<typeof useListVehiclesLazyQuery>;
|
|
2730
|
+
export type ListVehiclesSuspenseQueryHookResult = ReturnType<typeof useListVehiclesSuspenseQuery>;
|
|
2731
|
+
export type ListVehiclesQueryResult = Apollo.QueryResult<Types.ListVehiclesQuery, Types.ListVehiclesQueryVariables>;
|
|
2732
|
+
export const GetVehicleDocument = gql`
|
|
2733
|
+
query GetVehicle($id: ID!) {
|
|
2734
|
+
vehicle(id: $id) {
|
|
2735
|
+
...VehicleCore
|
|
2736
|
+
}
|
|
2737
|
+
}
|
|
2738
|
+
${VehicleCoreFragmentDoc}`;
|
|
2739
|
+
|
|
2740
|
+
/**
|
|
2741
|
+
* __useGetVehicleQuery__
|
|
2742
|
+
*
|
|
2743
|
+
* To run a query within a React component, call `useGetVehicleQuery` and pass it any options that fit your needs.
|
|
2744
|
+
* When your component renders, `useGetVehicleQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2745
|
+
* you can use to render your UI.
|
|
2746
|
+
*
|
|
2747
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
2748
|
+
*
|
|
2749
|
+
* @example
|
|
2750
|
+
* const { data, loading, error } = useGetVehicleQuery({
|
|
2751
|
+
* variables: {
|
|
2752
|
+
* id: // value for 'id'
|
|
2753
|
+
* },
|
|
2754
|
+
* });
|
|
2755
|
+
*/
|
|
2756
|
+
export function useGetVehicleQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetVehicleQuery, Types.GetVehicleQueryVariables> & ({ variables: Types.GetVehicleQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {
|
|
2757
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2758
|
+
return ApolloReactHooks.useQuery<Types.GetVehicleQuery, Types.GetVehicleQueryVariables>(GetVehicleDocument, options);
|
|
2759
|
+
}
|
|
2760
|
+
export function useGetVehicleLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetVehicleQuery, Types.GetVehicleQueryVariables>) {
|
|
2761
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2762
|
+
return ApolloReactHooks.useLazyQuery<Types.GetVehicleQuery, Types.GetVehicleQueryVariables>(GetVehicleDocument, options);
|
|
2763
|
+
}
|
|
2764
|
+
// @ts-ignore
|
|
2765
|
+
export function useGetVehicleSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetVehicleQuery, Types.GetVehicleQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetVehicleQuery, Types.GetVehicleQueryVariables>;
|
|
2766
|
+
export function useGetVehicleSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetVehicleQuery, Types.GetVehicleQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetVehicleQuery | undefined, Types.GetVehicleQueryVariables>;
|
|
2767
|
+
export function useGetVehicleSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetVehicleQuery, Types.GetVehicleQueryVariables>) {
|
|
2768
|
+
const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
2769
|
+
return ApolloReactHooks.useSuspenseQuery<Types.GetVehicleQuery, Types.GetVehicleQueryVariables>(GetVehicleDocument, options);
|
|
2770
|
+
}
|
|
2771
|
+
export type GetVehicleQueryHookResult = ReturnType<typeof useGetVehicleQuery>;
|
|
2772
|
+
export type GetVehicleLazyQueryHookResult = ReturnType<typeof useGetVehicleLazyQuery>;
|
|
2773
|
+
export type GetVehicleSuspenseQueryHookResult = ReturnType<typeof useGetVehicleSuspenseQuery>;
|
|
2774
|
+
export type GetVehicleQueryResult = Apollo.QueryResult<Types.GetVehicleQuery, Types.GetVehicleQueryVariables>;
|
|
2775
|
+
export const ListDriversDocument = gql`
|
|
2776
|
+
query ListDrivers($filter: DriverFilterInput, $pagination: PaginationInput) {
|
|
2777
|
+
drivers(filter: $filter, pagination: $pagination) {
|
|
2778
|
+
...DriverCore
|
|
2779
|
+
}
|
|
2780
|
+
}
|
|
2781
|
+
${DriverCoreFragmentDoc}`;
|
|
2782
|
+
|
|
2783
|
+
/**
|
|
2784
|
+
* __useListDriversQuery__
|
|
2785
|
+
*
|
|
2786
|
+
* To run a query within a React component, call `useListDriversQuery` and pass it any options that fit your needs.
|
|
2787
|
+
* When your component renders, `useListDriversQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2788
|
+
* you can use to render your UI.
|
|
2789
|
+
*
|
|
2790
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
2791
|
+
*
|
|
2792
|
+
* @example
|
|
2793
|
+
* const { data, loading, error } = useListDriversQuery({
|
|
2794
|
+
* variables: {
|
|
2795
|
+
* filter: // value for 'filter'
|
|
2796
|
+
* pagination: // value for 'pagination'
|
|
2797
|
+
* },
|
|
2798
|
+
* });
|
|
2799
|
+
*/
|
|
2800
|
+
export function useListDriversQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.ListDriversQuery, Types.ListDriversQueryVariables>) {
|
|
2801
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2802
|
+
return ApolloReactHooks.useQuery<Types.ListDriversQuery, Types.ListDriversQueryVariables>(ListDriversDocument, options);
|
|
2803
|
+
}
|
|
2804
|
+
export function useListDriversLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.ListDriversQuery, Types.ListDriversQueryVariables>) {
|
|
2805
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2806
|
+
return ApolloReactHooks.useLazyQuery<Types.ListDriversQuery, Types.ListDriversQueryVariables>(ListDriversDocument, options);
|
|
2807
|
+
}
|
|
2808
|
+
// @ts-ignore
|
|
2809
|
+
export function useListDriversSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.ListDriversQuery, Types.ListDriversQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListDriversQuery, Types.ListDriversQueryVariables>;
|
|
2810
|
+
export function useListDriversSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListDriversQuery, Types.ListDriversQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListDriversQuery | undefined, Types.ListDriversQueryVariables>;
|
|
2811
|
+
export function useListDriversSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListDriversQuery, Types.ListDriversQueryVariables>) {
|
|
2812
|
+
const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
2813
|
+
return ApolloReactHooks.useSuspenseQuery<Types.ListDriversQuery, Types.ListDriversQueryVariables>(ListDriversDocument, options);
|
|
2814
|
+
}
|
|
2815
|
+
export type ListDriversQueryHookResult = ReturnType<typeof useListDriversQuery>;
|
|
2816
|
+
export type ListDriversLazyQueryHookResult = ReturnType<typeof useListDriversLazyQuery>;
|
|
2817
|
+
export type ListDriversSuspenseQueryHookResult = ReturnType<typeof useListDriversSuspenseQuery>;
|
|
2818
|
+
export type ListDriversQueryResult = Apollo.QueryResult<Types.ListDriversQuery, Types.ListDriversQueryVariables>;
|
|
2819
|
+
export const GetDriverDocument = gql`
|
|
2820
|
+
query GetDriver($id: ID!) {
|
|
2821
|
+
driver(id: $id) {
|
|
2822
|
+
...DriverCore
|
|
2823
|
+
}
|
|
2824
|
+
}
|
|
2825
|
+
${DriverCoreFragmentDoc}`;
|
|
2826
|
+
|
|
2827
|
+
/**
|
|
2828
|
+
* __useGetDriverQuery__
|
|
2829
|
+
*
|
|
2830
|
+
* To run a query within a React component, call `useGetDriverQuery` and pass it any options that fit your needs.
|
|
2831
|
+
* When your component renders, `useGetDriverQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2832
|
+
* you can use to render your UI.
|
|
2833
|
+
*
|
|
2834
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
2835
|
+
*
|
|
2836
|
+
* @example
|
|
2837
|
+
* const { data, loading, error } = useGetDriverQuery({
|
|
2838
|
+
* variables: {
|
|
2839
|
+
* id: // value for 'id'
|
|
2840
|
+
* },
|
|
2841
|
+
* });
|
|
2842
|
+
*/
|
|
2843
|
+
export function useGetDriverQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetDriverQuery, Types.GetDriverQueryVariables> & ({ variables: Types.GetDriverQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {
|
|
2844
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2845
|
+
return ApolloReactHooks.useQuery<Types.GetDriverQuery, Types.GetDriverQueryVariables>(GetDriverDocument, options);
|
|
2846
|
+
}
|
|
2847
|
+
export function useGetDriverLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetDriverQuery, Types.GetDriverQueryVariables>) {
|
|
2848
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2849
|
+
return ApolloReactHooks.useLazyQuery<Types.GetDriverQuery, Types.GetDriverQueryVariables>(GetDriverDocument, options);
|
|
2850
|
+
}
|
|
2851
|
+
// @ts-ignore
|
|
2852
|
+
export function useGetDriverSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetDriverQuery, Types.GetDriverQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetDriverQuery, Types.GetDriverQueryVariables>;
|
|
2853
|
+
export function useGetDriverSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetDriverQuery, Types.GetDriverQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetDriverQuery | undefined, Types.GetDriverQueryVariables>;
|
|
2854
|
+
export function useGetDriverSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetDriverQuery, Types.GetDriverQueryVariables>) {
|
|
2855
|
+
const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
2856
|
+
return ApolloReactHooks.useSuspenseQuery<Types.GetDriverQuery, Types.GetDriverQueryVariables>(GetDriverDocument, options);
|
|
2857
|
+
}
|
|
2858
|
+
export type GetDriverQueryHookResult = ReturnType<typeof useGetDriverQuery>;
|
|
2859
|
+
export type GetDriverLazyQueryHookResult = ReturnType<typeof useGetDriverLazyQuery>;
|
|
2860
|
+
export type GetDriverSuspenseQueryHookResult = ReturnType<typeof useGetDriverSuspenseQuery>;
|
|
2861
|
+
export type GetDriverQueryResult = Apollo.QueryResult<Types.GetDriverQuery, Types.GetDriverQueryVariables>;
|
|
2862
|
+
export const ListWarehousesDocument = gql`
|
|
2863
|
+
query ListWarehouses($filter: WarehouseFilterInput, $pagination: PaginationInput) {
|
|
2864
|
+
warehouses(filter: $filter, pagination: $pagination) {
|
|
2865
|
+
...WarehouseCore
|
|
2866
|
+
locations {
|
|
2867
|
+
id
|
|
2868
|
+
locationCode
|
|
2869
|
+
zone
|
|
2870
|
+
aisle
|
|
2871
|
+
rack
|
|
2872
|
+
shelf
|
|
2873
|
+
bin
|
|
2874
|
+
locationType
|
|
2875
|
+
capacity
|
|
2876
|
+
status
|
|
2877
|
+
}
|
|
2878
|
+
}
|
|
2879
|
+
}
|
|
2880
|
+
${WarehouseCoreFragmentDoc}`;
|
|
2881
|
+
|
|
2882
|
+
/**
|
|
2883
|
+
* __useListWarehousesQuery__
|
|
2884
|
+
*
|
|
2885
|
+
* To run a query within a React component, call `useListWarehousesQuery` and pass it any options that fit your needs.
|
|
2886
|
+
* When your component renders, `useListWarehousesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2887
|
+
* you can use to render your UI.
|
|
2888
|
+
*
|
|
2889
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
2890
|
+
*
|
|
2891
|
+
* @example
|
|
2892
|
+
* const { data, loading, error } = useListWarehousesQuery({
|
|
2893
|
+
* variables: {
|
|
2894
|
+
* filter: // value for 'filter'
|
|
2895
|
+
* pagination: // value for 'pagination'
|
|
2896
|
+
* },
|
|
2897
|
+
* });
|
|
2898
|
+
*/
|
|
2899
|
+
export function useListWarehousesQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.ListWarehousesQuery, Types.ListWarehousesQueryVariables>) {
|
|
2900
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2901
|
+
return ApolloReactHooks.useQuery<Types.ListWarehousesQuery, Types.ListWarehousesQueryVariables>(ListWarehousesDocument, options);
|
|
2902
|
+
}
|
|
2903
|
+
export function useListWarehousesLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.ListWarehousesQuery, Types.ListWarehousesQueryVariables>) {
|
|
2904
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2905
|
+
return ApolloReactHooks.useLazyQuery<Types.ListWarehousesQuery, Types.ListWarehousesQueryVariables>(ListWarehousesDocument, options);
|
|
2906
|
+
}
|
|
2907
|
+
// @ts-ignore
|
|
2908
|
+
export function useListWarehousesSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.ListWarehousesQuery, Types.ListWarehousesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListWarehousesQuery, Types.ListWarehousesQueryVariables>;
|
|
2909
|
+
export function useListWarehousesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListWarehousesQuery, Types.ListWarehousesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListWarehousesQuery | undefined, Types.ListWarehousesQueryVariables>;
|
|
2910
|
+
export function useListWarehousesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListWarehousesQuery, Types.ListWarehousesQueryVariables>) {
|
|
2911
|
+
const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
2912
|
+
return ApolloReactHooks.useSuspenseQuery<Types.ListWarehousesQuery, Types.ListWarehousesQueryVariables>(ListWarehousesDocument, options);
|
|
2913
|
+
}
|
|
2914
|
+
export type ListWarehousesQueryHookResult = ReturnType<typeof useListWarehousesQuery>;
|
|
2915
|
+
export type ListWarehousesLazyQueryHookResult = ReturnType<typeof useListWarehousesLazyQuery>;
|
|
2916
|
+
export type ListWarehousesSuspenseQueryHookResult = ReturnType<typeof useListWarehousesSuspenseQuery>;
|
|
2917
|
+
export type ListWarehousesQueryResult = Apollo.QueryResult<Types.ListWarehousesQuery, Types.ListWarehousesQueryVariables>;
|
|
2918
|
+
export const GetWarehouseDocument = gql`
|
|
2919
|
+
query GetWarehouse($id: ID!) {
|
|
2920
|
+
warehouse(id: $id) {
|
|
2921
|
+
...WarehouseCore
|
|
2922
|
+
locations {
|
|
2923
|
+
id
|
|
2924
|
+
locationCode
|
|
2925
|
+
zone
|
|
2926
|
+
aisle
|
|
2927
|
+
rack
|
|
2928
|
+
shelf
|
|
2929
|
+
bin
|
|
2930
|
+
locationType
|
|
2931
|
+
capacity
|
|
2932
|
+
status
|
|
2933
|
+
}
|
|
2934
|
+
}
|
|
2935
|
+
}
|
|
2936
|
+
${WarehouseCoreFragmentDoc}`;
|
|
2937
|
+
|
|
2938
|
+
/**
|
|
2939
|
+
* __useGetWarehouseQuery__
|
|
2940
|
+
*
|
|
2941
|
+
* To run a query within a React component, call `useGetWarehouseQuery` and pass it any options that fit your needs.
|
|
2942
|
+
* When your component renders, `useGetWarehouseQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2943
|
+
* you can use to render your UI.
|
|
2944
|
+
*
|
|
2945
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
2946
|
+
*
|
|
2947
|
+
* @example
|
|
2948
|
+
* const { data, loading, error } = useGetWarehouseQuery({
|
|
2949
|
+
* variables: {
|
|
2950
|
+
* id: // value for 'id'
|
|
2951
|
+
* },
|
|
2952
|
+
* });
|
|
2953
|
+
*/
|
|
2954
|
+
export function useGetWarehouseQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetWarehouseQuery, Types.GetWarehouseQueryVariables> & ({ variables: Types.GetWarehouseQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {
|
|
2955
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2956
|
+
return ApolloReactHooks.useQuery<Types.GetWarehouseQuery, Types.GetWarehouseQueryVariables>(GetWarehouseDocument, options);
|
|
2957
|
+
}
|
|
2958
|
+
export function useGetWarehouseLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetWarehouseQuery, Types.GetWarehouseQueryVariables>) {
|
|
2959
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2960
|
+
return ApolloReactHooks.useLazyQuery<Types.GetWarehouseQuery, Types.GetWarehouseQueryVariables>(GetWarehouseDocument, options);
|
|
2961
|
+
}
|
|
2962
|
+
// @ts-ignore
|
|
2963
|
+
export function useGetWarehouseSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetWarehouseQuery, Types.GetWarehouseQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetWarehouseQuery, Types.GetWarehouseQueryVariables>;
|
|
2964
|
+
export function useGetWarehouseSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetWarehouseQuery, Types.GetWarehouseQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetWarehouseQuery | undefined, Types.GetWarehouseQueryVariables>;
|
|
2965
|
+
export function useGetWarehouseSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetWarehouseQuery, Types.GetWarehouseQueryVariables>) {
|
|
2966
|
+
const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
2967
|
+
return ApolloReactHooks.useSuspenseQuery<Types.GetWarehouseQuery, Types.GetWarehouseQueryVariables>(GetWarehouseDocument, options);
|
|
2968
|
+
}
|
|
2969
|
+
export type GetWarehouseQueryHookResult = ReturnType<typeof useGetWarehouseQuery>;
|
|
2970
|
+
export type GetWarehouseLazyQueryHookResult = ReturnType<typeof useGetWarehouseLazyQuery>;
|
|
2971
|
+
export type GetWarehouseSuspenseQueryHookResult = ReturnType<typeof useGetWarehouseSuspenseQuery>;
|
|
2972
|
+
export type GetWarehouseQueryResult = Apollo.QueryResult<Types.GetWarehouseQuery, Types.GetWarehouseQueryVariables>;
|
|
2973
|
+
export const ListInventoryItemsDocument = gql`
|
|
2974
|
+
query ListInventoryItems($filter: InventoryFilterInput, $pagination: PaginationInput) {
|
|
2975
|
+
inventoryItems(filter: $filter, pagination: $pagination) {
|
|
2976
|
+
...InventoryItemCore
|
|
2977
|
+
product {
|
|
2978
|
+
id
|
|
2979
|
+
name
|
|
2980
|
+
sku
|
|
2981
|
+
category
|
|
2982
|
+
}
|
|
2983
|
+
warehouse {
|
|
2984
|
+
id
|
|
2985
|
+
name
|
|
2986
|
+
code
|
|
2987
|
+
type
|
|
2988
|
+
}
|
|
2989
|
+
}
|
|
2990
|
+
}
|
|
2991
|
+
${InventoryItemCoreFragmentDoc}`;
|
|
2992
|
+
|
|
2993
|
+
/**
|
|
2994
|
+
* __useListInventoryItemsQuery__
|
|
2995
|
+
*
|
|
2996
|
+
* To run a query within a React component, call `useListInventoryItemsQuery` and pass it any options that fit your needs.
|
|
2997
|
+
* When your component renders, `useListInventoryItemsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2998
|
+
* you can use to render your UI.
|
|
2999
|
+
*
|
|
3000
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
3001
|
+
*
|
|
3002
|
+
* @example
|
|
3003
|
+
* const { data, loading, error } = useListInventoryItemsQuery({
|
|
3004
|
+
* variables: {
|
|
3005
|
+
* filter: // value for 'filter'
|
|
3006
|
+
* pagination: // value for 'pagination'
|
|
3007
|
+
* },
|
|
3008
|
+
* });
|
|
3009
|
+
*/
|
|
3010
|
+
export function useListInventoryItemsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.ListInventoryItemsQuery, Types.ListInventoryItemsQueryVariables>) {
|
|
3011
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3012
|
+
return ApolloReactHooks.useQuery<Types.ListInventoryItemsQuery, Types.ListInventoryItemsQueryVariables>(ListInventoryItemsDocument, options);
|
|
3013
|
+
}
|
|
3014
|
+
export function useListInventoryItemsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.ListInventoryItemsQuery, Types.ListInventoryItemsQueryVariables>) {
|
|
3015
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3016
|
+
return ApolloReactHooks.useLazyQuery<Types.ListInventoryItemsQuery, Types.ListInventoryItemsQueryVariables>(ListInventoryItemsDocument, options);
|
|
3017
|
+
}
|
|
3018
|
+
// @ts-ignore
|
|
3019
|
+
export function useListInventoryItemsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.ListInventoryItemsQuery, Types.ListInventoryItemsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListInventoryItemsQuery, Types.ListInventoryItemsQueryVariables>;
|
|
3020
|
+
export function useListInventoryItemsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListInventoryItemsQuery, Types.ListInventoryItemsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListInventoryItemsQuery | undefined, Types.ListInventoryItemsQueryVariables>;
|
|
3021
|
+
export function useListInventoryItemsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListInventoryItemsQuery, Types.ListInventoryItemsQueryVariables>) {
|
|
3022
|
+
const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
3023
|
+
return ApolloReactHooks.useSuspenseQuery<Types.ListInventoryItemsQuery, Types.ListInventoryItemsQueryVariables>(ListInventoryItemsDocument, options);
|
|
3024
|
+
}
|
|
3025
|
+
export type ListInventoryItemsQueryHookResult = ReturnType<typeof useListInventoryItemsQuery>;
|
|
3026
|
+
export type ListInventoryItemsLazyQueryHookResult = ReturnType<typeof useListInventoryItemsLazyQuery>;
|
|
3027
|
+
export type ListInventoryItemsSuspenseQueryHookResult = ReturnType<typeof useListInventoryItemsSuspenseQuery>;
|
|
3028
|
+
export type ListInventoryItemsQueryResult = Apollo.QueryResult<Types.ListInventoryItemsQuery, Types.ListInventoryItemsQueryVariables>;
|
|
3029
|
+
export const GetInventoryStatsDocument = gql`
|
|
3030
|
+
query GetInventoryStats {
|
|
3031
|
+
inventoryStats {
|
|
3032
|
+
totalOnHand
|
|
3033
|
+
totalAvailable
|
|
3034
|
+
totalAllocated
|
|
3035
|
+
totalDamaged
|
|
3036
|
+
lowStockCount
|
|
3037
|
+
}
|
|
3038
|
+
}
|
|
3039
|
+
`;
|
|
3040
|
+
|
|
3041
|
+
/**
|
|
3042
|
+
* __useGetInventoryStatsQuery__
|
|
3043
|
+
*
|
|
3044
|
+
* To run a query within a React component, call `useGetInventoryStatsQuery` and pass it any options that fit your needs.
|
|
3045
|
+
* When your component renders, `useGetInventoryStatsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3046
|
+
* you can use to render your UI.
|
|
3047
|
+
*
|
|
3048
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
3049
|
+
*
|
|
3050
|
+
* @example
|
|
3051
|
+
* const { data, loading, error } = useGetInventoryStatsQuery({
|
|
3052
|
+
* variables: {
|
|
3053
|
+
* },
|
|
3054
|
+
* });
|
|
3055
|
+
*/
|
|
3056
|
+
export function useGetInventoryStatsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetInventoryStatsQuery, Types.GetInventoryStatsQueryVariables>) {
|
|
3057
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3058
|
+
return ApolloReactHooks.useQuery<Types.GetInventoryStatsQuery, Types.GetInventoryStatsQueryVariables>(GetInventoryStatsDocument, options);
|
|
3059
|
+
}
|
|
3060
|
+
export function useGetInventoryStatsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetInventoryStatsQuery, Types.GetInventoryStatsQueryVariables>) {
|
|
3061
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3062
|
+
return ApolloReactHooks.useLazyQuery<Types.GetInventoryStatsQuery, Types.GetInventoryStatsQueryVariables>(GetInventoryStatsDocument, options);
|
|
3063
|
+
}
|
|
3064
|
+
// @ts-ignore
|
|
3065
|
+
export function useGetInventoryStatsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetInventoryStatsQuery, Types.GetInventoryStatsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetInventoryStatsQuery, Types.GetInventoryStatsQueryVariables>;
|
|
3066
|
+
export function useGetInventoryStatsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetInventoryStatsQuery, Types.GetInventoryStatsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetInventoryStatsQuery | undefined, Types.GetInventoryStatsQueryVariables>;
|
|
3067
|
+
export function useGetInventoryStatsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetInventoryStatsQuery, Types.GetInventoryStatsQueryVariables>) {
|
|
3068
|
+
const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
3069
|
+
return ApolloReactHooks.useSuspenseQuery<Types.GetInventoryStatsQuery, Types.GetInventoryStatsQueryVariables>(GetInventoryStatsDocument, options);
|
|
3070
|
+
}
|
|
3071
|
+
export type GetInventoryStatsQueryHookResult = ReturnType<typeof useGetInventoryStatsQuery>;
|
|
3072
|
+
export type GetInventoryStatsLazyQueryHookResult = ReturnType<typeof useGetInventoryStatsLazyQuery>;
|
|
3073
|
+
export type GetInventoryStatsSuspenseQueryHookResult = ReturnType<typeof useGetInventoryStatsSuspenseQuery>;
|
|
3074
|
+
export type GetInventoryStatsQueryResult = Apollo.QueryResult<Types.GetInventoryStatsQuery, Types.GetInventoryStatsQueryVariables>;
|
|
3075
|
+
export const ListRoutesDocument = gql`
|
|
3076
|
+
query ListRoutes($filter: RouteFilterInput, $pagination: PaginationInput) {
|
|
3077
|
+
routes(filter: $filter, pagination: $pagination) {
|
|
3078
|
+
...RouteCore
|
|
3079
|
+
}
|
|
3080
|
+
}
|
|
3081
|
+
${RouteCoreFragmentDoc}`;
|
|
3082
|
+
|
|
3083
|
+
/**
|
|
3084
|
+
* __useListRoutesQuery__
|
|
3085
|
+
*
|
|
3086
|
+
* To run a query within a React component, call `useListRoutesQuery` and pass it any options that fit your needs.
|
|
3087
|
+
* When your component renders, `useListRoutesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3088
|
+
* you can use to render your UI.
|
|
3089
|
+
*
|
|
3090
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
3091
|
+
*
|
|
3092
|
+
* @example
|
|
3093
|
+
* const { data, loading, error } = useListRoutesQuery({
|
|
3094
|
+
* variables: {
|
|
3095
|
+
* filter: // value for 'filter'
|
|
3096
|
+
* pagination: // value for 'pagination'
|
|
3097
|
+
* },
|
|
3098
|
+
* });
|
|
3099
|
+
*/
|
|
3100
|
+
export function useListRoutesQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.ListRoutesQuery, Types.ListRoutesQueryVariables>) {
|
|
3101
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3102
|
+
return ApolloReactHooks.useQuery<Types.ListRoutesQuery, Types.ListRoutesQueryVariables>(ListRoutesDocument, options);
|
|
3103
|
+
}
|
|
3104
|
+
export function useListRoutesLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.ListRoutesQuery, Types.ListRoutesQueryVariables>) {
|
|
3105
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3106
|
+
return ApolloReactHooks.useLazyQuery<Types.ListRoutesQuery, Types.ListRoutesQueryVariables>(ListRoutesDocument, options);
|
|
3107
|
+
}
|
|
3108
|
+
// @ts-ignore
|
|
3109
|
+
export function useListRoutesSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.ListRoutesQuery, Types.ListRoutesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListRoutesQuery, Types.ListRoutesQueryVariables>;
|
|
3110
|
+
export function useListRoutesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListRoutesQuery, Types.ListRoutesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListRoutesQuery | undefined, Types.ListRoutesQueryVariables>;
|
|
3111
|
+
export function useListRoutesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListRoutesQuery, Types.ListRoutesQueryVariables>) {
|
|
3112
|
+
const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
3113
|
+
return ApolloReactHooks.useSuspenseQuery<Types.ListRoutesQuery, Types.ListRoutesQueryVariables>(ListRoutesDocument, options);
|
|
3114
|
+
}
|
|
3115
|
+
export type ListRoutesQueryHookResult = ReturnType<typeof useListRoutesQuery>;
|
|
3116
|
+
export type ListRoutesLazyQueryHookResult = ReturnType<typeof useListRoutesLazyQuery>;
|
|
3117
|
+
export type ListRoutesSuspenseQueryHookResult = ReturnType<typeof useListRoutesSuspenseQuery>;
|
|
3118
|
+
export type ListRoutesQueryResult = Apollo.QueryResult<Types.ListRoutesQuery, Types.ListRoutesQueryVariables>;
|
|
3119
|
+
export const GetRouteDocument = gql`
|
|
3120
|
+
query GetRoute($id: ID!) {
|
|
3121
|
+
route(id: $id) {
|
|
3122
|
+
...RouteCore
|
|
3123
|
+
}
|
|
3124
|
+
}
|
|
3125
|
+
${RouteCoreFragmentDoc}`;
|
|
3126
|
+
|
|
3127
|
+
/**
|
|
3128
|
+
* __useGetRouteQuery__
|
|
3129
|
+
*
|
|
3130
|
+
* To run a query within a React component, call `useGetRouteQuery` and pass it any options that fit your needs.
|
|
3131
|
+
* When your component renders, `useGetRouteQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3132
|
+
* you can use to render your UI.
|
|
3133
|
+
*
|
|
3134
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
3135
|
+
*
|
|
3136
|
+
* @example
|
|
3137
|
+
* const { data, loading, error } = useGetRouteQuery({
|
|
3138
|
+
* variables: {
|
|
3139
|
+
* id: // value for 'id'
|
|
3140
|
+
* },
|
|
3141
|
+
* });
|
|
3142
|
+
*/
|
|
3143
|
+
export function useGetRouteQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetRouteQuery, Types.GetRouteQueryVariables> & ({ variables: Types.GetRouteQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {
|
|
3144
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3145
|
+
return ApolloReactHooks.useQuery<Types.GetRouteQuery, Types.GetRouteQueryVariables>(GetRouteDocument, options);
|
|
3146
|
+
}
|
|
3147
|
+
export function useGetRouteLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetRouteQuery, Types.GetRouteQueryVariables>) {
|
|
3148
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3149
|
+
return ApolloReactHooks.useLazyQuery<Types.GetRouteQuery, Types.GetRouteQueryVariables>(GetRouteDocument, options);
|
|
3150
|
+
}
|
|
3151
|
+
// @ts-ignore
|
|
3152
|
+
export function useGetRouteSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetRouteQuery, Types.GetRouteQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetRouteQuery, Types.GetRouteQueryVariables>;
|
|
3153
|
+
export function useGetRouteSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetRouteQuery, Types.GetRouteQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetRouteQuery | undefined, Types.GetRouteQueryVariables>;
|
|
3154
|
+
export function useGetRouteSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetRouteQuery, Types.GetRouteQueryVariables>) {
|
|
3155
|
+
const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
3156
|
+
return ApolloReactHooks.useSuspenseQuery<Types.GetRouteQuery, Types.GetRouteQueryVariables>(GetRouteDocument, options);
|
|
3157
|
+
}
|
|
3158
|
+
export type GetRouteQueryHookResult = ReturnType<typeof useGetRouteQuery>;
|
|
3159
|
+
export type GetRouteLazyQueryHookResult = ReturnType<typeof useGetRouteLazyQuery>;
|
|
3160
|
+
export type GetRouteSuspenseQueryHookResult = ReturnType<typeof useGetRouteSuspenseQuery>;
|
|
3161
|
+
export type GetRouteQueryResult = Apollo.QueryResult<Types.GetRouteQuery, Types.GetRouteQueryVariables>;
|
|
3162
|
+
export const ListShipmentsDocument = gql`
|
|
3163
|
+
query ListShipments($filter: ShipmentFilterInput, $pagination: PaginationInput) {
|
|
3164
|
+
shipments(filter: $filter, pagination: $pagination) {
|
|
3165
|
+
...ShipmentCore
|
|
3166
|
+
}
|
|
3167
|
+
}
|
|
3168
|
+
${ShipmentCoreFragmentDoc}`;
|
|
3169
|
+
|
|
3170
|
+
/**
|
|
3171
|
+
* __useListShipmentsQuery__
|
|
3172
|
+
*
|
|
3173
|
+
* To run a query within a React component, call `useListShipmentsQuery` and pass it any options that fit your needs.
|
|
3174
|
+
* When your component renders, `useListShipmentsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3175
|
+
* you can use to render your UI.
|
|
3176
|
+
*
|
|
3177
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
3178
|
+
*
|
|
3179
|
+
* @example
|
|
3180
|
+
* const { data, loading, error } = useListShipmentsQuery({
|
|
3181
|
+
* variables: {
|
|
3182
|
+
* filter: // value for 'filter'
|
|
3183
|
+
* pagination: // value for 'pagination'
|
|
3184
|
+
* },
|
|
3185
|
+
* });
|
|
3186
|
+
*/
|
|
3187
|
+
export function useListShipmentsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.ListShipmentsQuery, Types.ListShipmentsQueryVariables>) {
|
|
3188
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3189
|
+
return ApolloReactHooks.useQuery<Types.ListShipmentsQuery, Types.ListShipmentsQueryVariables>(ListShipmentsDocument, options);
|
|
3190
|
+
}
|
|
3191
|
+
export function useListShipmentsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.ListShipmentsQuery, Types.ListShipmentsQueryVariables>) {
|
|
3192
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3193
|
+
return ApolloReactHooks.useLazyQuery<Types.ListShipmentsQuery, Types.ListShipmentsQueryVariables>(ListShipmentsDocument, options);
|
|
3194
|
+
}
|
|
3195
|
+
// @ts-ignore
|
|
3196
|
+
export function useListShipmentsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.ListShipmentsQuery, Types.ListShipmentsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListShipmentsQuery, Types.ListShipmentsQueryVariables>;
|
|
3197
|
+
export function useListShipmentsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListShipmentsQuery, Types.ListShipmentsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListShipmentsQuery | undefined, Types.ListShipmentsQueryVariables>;
|
|
3198
|
+
export function useListShipmentsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListShipmentsQuery, Types.ListShipmentsQueryVariables>) {
|
|
3199
|
+
const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
3200
|
+
return ApolloReactHooks.useSuspenseQuery<Types.ListShipmentsQuery, Types.ListShipmentsQueryVariables>(ListShipmentsDocument, options);
|
|
3201
|
+
}
|
|
3202
|
+
export type ListShipmentsQueryHookResult = ReturnType<typeof useListShipmentsQuery>;
|
|
3203
|
+
export type ListShipmentsLazyQueryHookResult = ReturnType<typeof useListShipmentsLazyQuery>;
|
|
3204
|
+
export type ListShipmentsSuspenseQueryHookResult = ReturnType<typeof useListShipmentsSuspenseQuery>;
|
|
3205
|
+
export type ListShipmentsQueryResult = Apollo.QueryResult<Types.ListShipmentsQuery, Types.ListShipmentsQueryVariables>;
|
|
3206
|
+
export const GetShipmentDocument = gql`
|
|
3207
|
+
query GetShipment($id: ID!) {
|
|
3208
|
+
shipment(id: $id) {
|
|
3209
|
+
...ShipmentCore
|
|
3210
|
+
trackingEvents {
|
|
3211
|
+
id
|
|
3212
|
+
eventType
|
|
3213
|
+
location
|
|
3214
|
+
details
|
|
3215
|
+
timestamp
|
|
3216
|
+
}
|
|
3217
|
+
}
|
|
3218
|
+
}
|
|
3219
|
+
${ShipmentCoreFragmentDoc}`;
|
|
3220
|
+
|
|
3221
|
+
/**
|
|
3222
|
+
* __useGetShipmentQuery__
|
|
3223
|
+
*
|
|
3224
|
+
* To run a query within a React component, call `useGetShipmentQuery` and pass it any options that fit your needs.
|
|
3225
|
+
* When your component renders, `useGetShipmentQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3226
|
+
* you can use to render your UI.
|
|
3227
|
+
*
|
|
3228
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
3229
|
+
*
|
|
3230
|
+
* @example
|
|
3231
|
+
* const { data, loading, error } = useGetShipmentQuery({
|
|
3232
|
+
* variables: {
|
|
3233
|
+
* id: // value for 'id'
|
|
3234
|
+
* },
|
|
3235
|
+
* });
|
|
3236
|
+
*/
|
|
3237
|
+
export function useGetShipmentQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetShipmentQuery, Types.GetShipmentQueryVariables> & ({ variables: Types.GetShipmentQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {
|
|
3238
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3239
|
+
return ApolloReactHooks.useQuery<Types.GetShipmentQuery, Types.GetShipmentQueryVariables>(GetShipmentDocument, options);
|
|
3240
|
+
}
|
|
3241
|
+
export function useGetShipmentLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetShipmentQuery, Types.GetShipmentQueryVariables>) {
|
|
3242
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3243
|
+
return ApolloReactHooks.useLazyQuery<Types.GetShipmentQuery, Types.GetShipmentQueryVariables>(GetShipmentDocument, options);
|
|
3244
|
+
}
|
|
3245
|
+
// @ts-ignore
|
|
3246
|
+
export function useGetShipmentSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetShipmentQuery, Types.GetShipmentQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetShipmentQuery, Types.GetShipmentQueryVariables>;
|
|
3247
|
+
export function useGetShipmentSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetShipmentQuery, Types.GetShipmentQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetShipmentQuery | undefined, Types.GetShipmentQueryVariables>;
|
|
3248
|
+
export function useGetShipmentSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetShipmentQuery, Types.GetShipmentQueryVariables>) {
|
|
3249
|
+
const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
3250
|
+
return ApolloReactHooks.useSuspenseQuery<Types.GetShipmentQuery, Types.GetShipmentQueryVariables>(GetShipmentDocument, options);
|
|
3251
|
+
}
|
|
3252
|
+
export type GetShipmentQueryHookResult = ReturnType<typeof useGetShipmentQuery>;
|
|
3253
|
+
export type GetShipmentLazyQueryHookResult = ReturnType<typeof useGetShipmentLazyQuery>;
|
|
3254
|
+
export type GetShipmentSuspenseQueryHookResult = ReturnType<typeof useGetShipmentSuspenseQuery>;
|
|
3255
|
+
export type GetShipmentQueryResult = Apollo.QueryResult<Types.GetShipmentQuery, Types.GetShipmentQueryVariables>;
|
|
3256
|
+
export const GetOrderTrackingDocument = gql`
|
|
3257
|
+
query GetOrderTracking($orderId: ID!) {
|
|
3258
|
+
orderTracking(orderId: $orderId) {
|
|
3259
|
+
id
|
|
3260
|
+
shipmentId
|
|
3261
|
+
eventType
|
|
3262
|
+
location
|
|
3263
|
+
details
|
|
3264
|
+
timestamp
|
|
3265
|
+
}
|
|
3266
|
+
}
|
|
3267
|
+
`;
|
|
3268
|
+
|
|
3269
|
+
/**
|
|
3270
|
+
* __useGetOrderTrackingQuery__
|
|
3271
|
+
*
|
|
3272
|
+
* To run a query within a React component, call `useGetOrderTrackingQuery` and pass it any options that fit your needs.
|
|
3273
|
+
* When your component renders, `useGetOrderTrackingQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3274
|
+
* you can use to render your UI.
|
|
3275
|
+
*
|
|
3276
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
3277
|
+
*
|
|
3278
|
+
* @example
|
|
3279
|
+
* const { data, loading, error } = useGetOrderTrackingQuery({
|
|
3280
|
+
* variables: {
|
|
3281
|
+
* orderId: // value for 'orderId'
|
|
3282
|
+
* },
|
|
3283
|
+
* });
|
|
3284
|
+
*/
|
|
3285
|
+
export function useGetOrderTrackingQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetOrderTrackingQuery, Types.GetOrderTrackingQueryVariables> & ({ variables: Types.GetOrderTrackingQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {
|
|
3286
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3287
|
+
return ApolloReactHooks.useQuery<Types.GetOrderTrackingQuery, Types.GetOrderTrackingQueryVariables>(GetOrderTrackingDocument, options);
|
|
3288
|
+
}
|
|
3289
|
+
export function useGetOrderTrackingLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetOrderTrackingQuery, Types.GetOrderTrackingQueryVariables>) {
|
|
3290
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3291
|
+
return ApolloReactHooks.useLazyQuery<Types.GetOrderTrackingQuery, Types.GetOrderTrackingQueryVariables>(GetOrderTrackingDocument, options);
|
|
3292
|
+
}
|
|
3293
|
+
// @ts-ignore
|
|
3294
|
+
export function useGetOrderTrackingSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetOrderTrackingQuery, Types.GetOrderTrackingQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetOrderTrackingQuery, Types.GetOrderTrackingQueryVariables>;
|
|
3295
|
+
export function useGetOrderTrackingSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetOrderTrackingQuery, Types.GetOrderTrackingQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetOrderTrackingQuery | undefined, Types.GetOrderTrackingQueryVariables>;
|
|
3296
|
+
export function useGetOrderTrackingSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetOrderTrackingQuery, Types.GetOrderTrackingQueryVariables>) {
|
|
3297
|
+
const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
3298
|
+
return ApolloReactHooks.useSuspenseQuery<Types.GetOrderTrackingQuery, Types.GetOrderTrackingQueryVariables>(GetOrderTrackingDocument, options);
|
|
3299
|
+
}
|
|
3300
|
+
export type GetOrderTrackingQueryHookResult = ReturnType<typeof useGetOrderTrackingQuery>;
|
|
3301
|
+
export type GetOrderTrackingLazyQueryHookResult = ReturnType<typeof useGetOrderTrackingLazyQuery>;
|
|
3302
|
+
export type GetOrderTrackingSuspenseQueryHookResult = ReturnType<typeof useGetOrderTrackingSuspenseQuery>;
|
|
3303
|
+
export type GetOrderTrackingQueryResult = Apollo.QueryResult<Types.GetOrderTrackingQuery, Types.GetOrderTrackingQueryVariables>;
|
|
3304
|
+
export const GetActiveDeliveriesDocument = gql`
|
|
3305
|
+
query GetActiveDeliveries {
|
|
3306
|
+
activeDeliveries {
|
|
3307
|
+
...ShipmentCore
|
|
3308
|
+
}
|
|
3309
|
+
}
|
|
3310
|
+
${ShipmentCoreFragmentDoc}`;
|
|
3311
|
+
|
|
3312
|
+
/**
|
|
3313
|
+
* __useGetActiveDeliveriesQuery__
|
|
3314
|
+
*
|
|
3315
|
+
* To run a query within a React component, call `useGetActiveDeliveriesQuery` and pass it any options that fit your needs.
|
|
3316
|
+
* When your component renders, `useGetActiveDeliveriesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3317
|
+
* you can use to render your UI.
|
|
3318
|
+
*
|
|
3319
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
3320
|
+
*
|
|
3321
|
+
* @example
|
|
3322
|
+
* const { data, loading, error } = useGetActiveDeliveriesQuery({
|
|
3323
|
+
* variables: {
|
|
3324
|
+
* },
|
|
3325
|
+
* });
|
|
3326
|
+
*/
|
|
3327
|
+
export function useGetActiveDeliveriesQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetActiveDeliveriesQuery, Types.GetActiveDeliveriesQueryVariables>) {
|
|
3328
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3329
|
+
return ApolloReactHooks.useQuery<Types.GetActiveDeliveriesQuery, Types.GetActiveDeliveriesQueryVariables>(GetActiveDeliveriesDocument, options);
|
|
3330
|
+
}
|
|
3331
|
+
export function useGetActiveDeliveriesLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetActiveDeliveriesQuery, Types.GetActiveDeliveriesQueryVariables>) {
|
|
3332
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3333
|
+
return ApolloReactHooks.useLazyQuery<Types.GetActiveDeliveriesQuery, Types.GetActiveDeliveriesQueryVariables>(GetActiveDeliveriesDocument, options);
|
|
3334
|
+
}
|
|
3335
|
+
// @ts-ignore
|
|
3336
|
+
export function useGetActiveDeliveriesSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetActiveDeliveriesQuery, Types.GetActiveDeliveriesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetActiveDeliveriesQuery, Types.GetActiveDeliveriesQueryVariables>;
|
|
3337
|
+
export function useGetActiveDeliveriesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetActiveDeliveriesQuery, Types.GetActiveDeliveriesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetActiveDeliveriesQuery | undefined, Types.GetActiveDeliveriesQueryVariables>;
|
|
3338
|
+
export function useGetActiveDeliveriesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetActiveDeliveriesQuery, Types.GetActiveDeliveriesQueryVariables>) {
|
|
3339
|
+
const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
3340
|
+
return ApolloReactHooks.useSuspenseQuery<Types.GetActiveDeliveriesQuery, Types.GetActiveDeliveriesQueryVariables>(GetActiveDeliveriesDocument, options);
|
|
3341
|
+
}
|
|
3342
|
+
export type GetActiveDeliveriesQueryHookResult = ReturnType<typeof useGetActiveDeliveriesQuery>;
|
|
3343
|
+
export type GetActiveDeliveriesLazyQueryHookResult = ReturnType<typeof useGetActiveDeliveriesLazyQuery>;
|
|
3344
|
+
export type GetActiveDeliveriesSuspenseQueryHookResult = ReturnType<typeof useGetActiveDeliveriesSuspenseQuery>;
|
|
3345
|
+
export type GetActiveDeliveriesQueryResult = Apollo.QueryResult<Types.GetActiveDeliveriesQuery, Types.GetActiveDeliveriesQueryVariables>;
|
|
3346
|
+
export const GetTrackingAlertsDocument = gql`
|
|
3347
|
+
query GetTrackingAlerts {
|
|
3348
|
+
trackingAlerts {
|
|
3349
|
+
shipmentId
|
|
3350
|
+
shipmentNumber
|
|
3351
|
+
alertType
|
|
3352
|
+
message
|
|
3353
|
+
}
|
|
3354
|
+
}
|
|
3355
|
+
`;
|
|
3356
|
+
|
|
3357
|
+
/**
|
|
3358
|
+
* __useGetTrackingAlertsQuery__
|
|
3359
|
+
*
|
|
3360
|
+
* To run a query within a React component, call `useGetTrackingAlertsQuery` and pass it any options that fit your needs.
|
|
3361
|
+
* When your component renders, `useGetTrackingAlertsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3362
|
+
* you can use to render your UI.
|
|
3363
|
+
*
|
|
3364
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
3365
|
+
*
|
|
3366
|
+
* @example
|
|
3367
|
+
* const { data, loading, error } = useGetTrackingAlertsQuery({
|
|
3368
|
+
* variables: {
|
|
3369
|
+
* },
|
|
3370
|
+
* });
|
|
3371
|
+
*/
|
|
3372
|
+
export function useGetTrackingAlertsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetTrackingAlertsQuery, Types.GetTrackingAlertsQueryVariables>) {
|
|
3373
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3374
|
+
return ApolloReactHooks.useQuery<Types.GetTrackingAlertsQuery, Types.GetTrackingAlertsQueryVariables>(GetTrackingAlertsDocument, options);
|
|
3375
|
+
}
|
|
3376
|
+
export function useGetTrackingAlertsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetTrackingAlertsQuery, Types.GetTrackingAlertsQueryVariables>) {
|
|
3377
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3378
|
+
return ApolloReactHooks.useLazyQuery<Types.GetTrackingAlertsQuery, Types.GetTrackingAlertsQueryVariables>(GetTrackingAlertsDocument, options);
|
|
3379
|
+
}
|
|
3380
|
+
// @ts-ignore
|
|
3381
|
+
export function useGetTrackingAlertsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetTrackingAlertsQuery, Types.GetTrackingAlertsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetTrackingAlertsQuery, Types.GetTrackingAlertsQueryVariables>;
|
|
3382
|
+
export function useGetTrackingAlertsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetTrackingAlertsQuery, Types.GetTrackingAlertsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetTrackingAlertsQuery | undefined, Types.GetTrackingAlertsQueryVariables>;
|
|
3383
|
+
export function useGetTrackingAlertsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetTrackingAlertsQuery, Types.GetTrackingAlertsQueryVariables>) {
|
|
3384
|
+
const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
3385
|
+
return ApolloReactHooks.useSuspenseQuery<Types.GetTrackingAlertsQuery, Types.GetTrackingAlertsQueryVariables>(GetTrackingAlertsDocument, options);
|
|
3386
|
+
}
|
|
3387
|
+
export type GetTrackingAlertsQueryHookResult = ReturnType<typeof useGetTrackingAlertsQuery>;
|
|
3388
|
+
export type GetTrackingAlertsLazyQueryHookResult = ReturnType<typeof useGetTrackingAlertsLazyQuery>;
|
|
3389
|
+
export type GetTrackingAlertsSuspenseQueryHookResult = ReturnType<typeof useGetTrackingAlertsSuspenseQuery>;
|
|
3390
|
+
export type GetTrackingAlertsQueryResult = Apollo.QueryResult<Types.GetTrackingAlertsQuery, Types.GetTrackingAlertsQueryVariables>;
|
|
3391
|
+
export const ListServiceProvidersDocument = gql`
|
|
3392
|
+
query ListServiceProviders($filter: ServiceProviderFilterInput, $pagination: PaginationInput) {
|
|
3393
|
+
serviceProviders(filter: $filter, pagination: $pagination) {
|
|
3394
|
+
...ServiceProviderCore
|
|
3395
|
+
}
|
|
3396
|
+
}
|
|
3397
|
+
${ServiceProviderCoreFragmentDoc}`;
|
|
3398
|
+
|
|
3399
|
+
/**
|
|
3400
|
+
* __useListServiceProvidersQuery__
|
|
3401
|
+
*
|
|
3402
|
+
* To run a query within a React component, call `useListServiceProvidersQuery` and pass it any options that fit your needs.
|
|
3403
|
+
* When your component renders, `useListServiceProvidersQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3404
|
+
* you can use to render your UI.
|
|
3405
|
+
*
|
|
3406
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
3407
|
+
*
|
|
3408
|
+
* @example
|
|
3409
|
+
* const { data, loading, error } = useListServiceProvidersQuery({
|
|
3410
|
+
* variables: {
|
|
3411
|
+
* filter: // value for 'filter'
|
|
3412
|
+
* pagination: // value for 'pagination'
|
|
3413
|
+
* },
|
|
3414
|
+
* });
|
|
3415
|
+
*/
|
|
3416
|
+
export function useListServiceProvidersQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.ListServiceProvidersQuery, Types.ListServiceProvidersQueryVariables>) {
|
|
3417
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3418
|
+
return ApolloReactHooks.useQuery<Types.ListServiceProvidersQuery, Types.ListServiceProvidersQueryVariables>(ListServiceProvidersDocument, options);
|
|
3419
|
+
}
|
|
3420
|
+
export function useListServiceProvidersLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.ListServiceProvidersQuery, Types.ListServiceProvidersQueryVariables>) {
|
|
3421
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3422
|
+
return ApolloReactHooks.useLazyQuery<Types.ListServiceProvidersQuery, Types.ListServiceProvidersQueryVariables>(ListServiceProvidersDocument, options);
|
|
3423
|
+
}
|
|
3424
|
+
// @ts-ignore
|
|
3425
|
+
export function useListServiceProvidersSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.ListServiceProvidersQuery, Types.ListServiceProvidersQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListServiceProvidersQuery, Types.ListServiceProvidersQueryVariables>;
|
|
3426
|
+
export function useListServiceProvidersSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListServiceProvidersQuery, Types.ListServiceProvidersQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListServiceProvidersQuery | undefined, Types.ListServiceProvidersQueryVariables>;
|
|
3427
|
+
export function useListServiceProvidersSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListServiceProvidersQuery, Types.ListServiceProvidersQueryVariables>) {
|
|
3428
|
+
const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
3429
|
+
return ApolloReactHooks.useSuspenseQuery<Types.ListServiceProvidersQuery, Types.ListServiceProvidersQueryVariables>(ListServiceProvidersDocument, options);
|
|
3430
|
+
}
|
|
3431
|
+
export type ListServiceProvidersQueryHookResult = ReturnType<typeof useListServiceProvidersQuery>;
|
|
3432
|
+
export type ListServiceProvidersLazyQueryHookResult = ReturnType<typeof useListServiceProvidersLazyQuery>;
|
|
3433
|
+
export type ListServiceProvidersSuspenseQueryHookResult = ReturnType<typeof useListServiceProvidersSuspenseQuery>;
|
|
3434
|
+
export type ListServiceProvidersQueryResult = Apollo.QueryResult<Types.ListServiceProvidersQuery, Types.ListServiceProvidersQueryVariables>;
|
|
3435
|
+
export const ListServiceOfferingsDocument = gql`
|
|
3436
|
+
query ListServiceOfferings($filter: ServiceOfferingFilterInput, $pagination: PaginationInput) {
|
|
3437
|
+
serviceOfferings(filter: $filter, pagination: $pagination) {
|
|
3438
|
+
...ServiceOfferingCore
|
|
3439
|
+
provider {
|
|
3440
|
+
id
|
|
3441
|
+
name
|
|
3442
|
+
type
|
|
3443
|
+
rating
|
|
3444
|
+
}
|
|
3445
|
+
}
|
|
3446
|
+
}
|
|
3447
|
+
${ServiceOfferingCoreFragmentDoc}`;
|
|
3448
|
+
|
|
3449
|
+
/**
|
|
3450
|
+
* __useListServiceOfferingsQuery__
|
|
3451
|
+
*
|
|
3452
|
+
* To run a query within a React component, call `useListServiceOfferingsQuery` and pass it any options that fit your needs.
|
|
3453
|
+
* When your component renders, `useListServiceOfferingsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3454
|
+
* you can use to render your UI.
|
|
3455
|
+
*
|
|
3456
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
3457
|
+
*
|
|
3458
|
+
* @example
|
|
3459
|
+
* const { data, loading, error } = useListServiceOfferingsQuery({
|
|
3460
|
+
* variables: {
|
|
3461
|
+
* filter: // value for 'filter'
|
|
3462
|
+
* pagination: // value for 'pagination'
|
|
3463
|
+
* },
|
|
3464
|
+
* });
|
|
3465
|
+
*/
|
|
3466
|
+
export function useListServiceOfferingsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.ListServiceOfferingsQuery, Types.ListServiceOfferingsQueryVariables>) {
|
|
3467
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3468
|
+
return ApolloReactHooks.useQuery<Types.ListServiceOfferingsQuery, Types.ListServiceOfferingsQueryVariables>(ListServiceOfferingsDocument, options);
|
|
3469
|
+
}
|
|
3470
|
+
export function useListServiceOfferingsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.ListServiceOfferingsQuery, Types.ListServiceOfferingsQueryVariables>) {
|
|
3471
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3472
|
+
return ApolloReactHooks.useLazyQuery<Types.ListServiceOfferingsQuery, Types.ListServiceOfferingsQueryVariables>(ListServiceOfferingsDocument, options);
|
|
3473
|
+
}
|
|
3474
|
+
// @ts-ignore
|
|
3475
|
+
export function useListServiceOfferingsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.ListServiceOfferingsQuery, Types.ListServiceOfferingsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListServiceOfferingsQuery, Types.ListServiceOfferingsQueryVariables>;
|
|
3476
|
+
export function useListServiceOfferingsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListServiceOfferingsQuery, Types.ListServiceOfferingsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListServiceOfferingsQuery | undefined, Types.ListServiceOfferingsQueryVariables>;
|
|
3477
|
+
export function useListServiceOfferingsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListServiceOfferingsQuery, Types.ListServiceOfferingsQueryVariables>) {
|
|
3478
|
+
const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
3479
|
+
return ApolloReactHooks.useSuspenseQuery<Types.ListServiceOfferingsQuery, Types.ListServiceOfferingsQueryVariables>(ListServiceOfferingsDocument, options);
|
|
3480
|
+
}
|
|
3481
|
+
export type ListServiceOfferingsQueryHookResult = ReturnType<typeof useListServiceOfferingsQuery>;
|
|
3482
|
+
export type ListServiceOfferingsLazyQueryHookResult = ReturnType<typeof useListServiceOfferingsLazyQuery>;
|
|
3483
|
+
export type ListServiceOfferingsSuspenseQueryHookResult = ReturnType<typeof useListServiceOfferingsSuspenseQuery>;
|
|
3484
|
+
export type ListServiceOfferingsQueryResult = Apollo.QueryResult<Types.ListServiceOfferingsQuery, Types.ListServiceOfferingsQueryVariables>;
|
|
3485
|
+
export const ListMovethewheelsReportsDocument = gql`
|
|
3486
|
+
query ListMovethewheelsReports($filter: MovethewheelsReportFilterInput, $pagination: PaginationInput) {
|
|
3487
|
+
movethewheelsReports(filter: $filter, pagination: $pagination) {
|
|
3488
|
+
...MovethewheelsReportCore
|
|
3489
|
+
}
|
|
3490
|
+
}
|
|
3491
|
+
${MovethewheelsReportCoreFragmentDoc}`;
|
|
3492
|
+
|
|
3493
|
+
/**
|
|
3494
|
+
* __useListMovethewheelsReportsQuery__
|
|
3495
|
+
*
|
|
3496
|
+
* To run a query within a React component, call `useListMovethewheelsReportsQuery` and pass it any options that fit your needs.
|
|
3497
|
+
* When your component renders, `useListMovethewheelsReportsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3498
|
+
* you can use to render your UI.
|
|
3499
|
+
*
|
|
3500
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
3501
|
+
*
|
|
3502
|
+
* @example
|
|
3503
|
+
* const { data, loading, error } = useListMovethewheelsReportsQuery({
|
|
3504
|
+
* variables: {
|
|
3505
|
+
* filter: // value for 'filter'
|
|
3506
|
+
* pagination: // value for 'pagination'
|
|
3507
|
+
* },
|
|
3508
|
+
* });
|
|
3509
|
+
*/
|
|
3510
|
+
export function useListMovethewheelsReportsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.ListMovethewheelsReportsQuery, Types.ListMovethewheelsReportsQueryVariables>) {
|
|
3511
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3512
|
+
return ApolloReactHooks.useQuery<Types.ListMovethewheelsReportsQuery, Types.ListMovethewheelsReportsQueryVariables>(ListMovethewheelsReportsDocument, options);
|
|
3513
|
+
}
|
|
3514
|
+
export function useListMovethewheelsReportsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.ListMovethewheelsReportsQuery, Types.ListMovethewheelsReportsQueryVariables>) {
|
|
3515
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3516
|
+
return ApolloReactHooks.useLazyQuery<Types.ListMovethewheelsReportsQuery, Types.ListMovethewheelsReportsQueryVariables>(ListMovethewheelsReportsDocument, options);
|
|
3517
|
+
}
|
|
3518
|
+
// @ts-ignore
|
|
3519
|
+
export function useListMovethewheelsReportsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.ListMovethewheelsReportsQuery, Types.ListMovethewheelsReportsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListMovethewheelsReportsQuery, Types.ListMovethewheelsReportsQueryVariables>;
|
|
3520
|
+
export function useListMovethewheelsReportsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListMovethewheelsReportsQuery, Types.ListMovethewheelsReportsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListMovethewheelsReportsQuery | undefined, Types.ListMovethewheelsReportsQueryVariables>;
|
|
3521
|
+
export function useListMovethewheelsReportsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListMovethewheelsReportsQuery, Types.ListMovethewheelsReportsQueryVariables>) {
|
|
3522
|
+
const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
3523
|
+
return ApolloReactHooks.useSuspenseQuery<Types.ListMovethewheelsReportsQuery, Types.ListMovethewheelsReportsQueryVariables>(ListMovethewheelsReportsDocument, options);
|
|
3524
|
+
}
|
|
3525
|
+
export type ListMovethewheelsReportsQueryHookResult = ReturnType<typeof useListMovethewheelsReportsQuery>;
|
|
3526
|
+
export type ListMovethewheelsReportsLazyQueryHookResult = ReturnType<typeof useListMovethewheelsReportsLazyQuery>;
|
|
3527
|
+
export type ListMovethewheelsReportsSuspenseQueryHookResult = ReturnType<typeof useListMovethewheelsReportsSuspenseQuery>;
|
|
3528
|
+
export type ListMovethewheelsReportsQueryResult = Apollo.QueryResult<Types.ListMovethewheelsReportsQuery, Types.ListMovethewheelsReportsQueryVariables>;
|
|
3529
|
+
export const GetMovethewheelsReportDocument = gql`
|
|
3530
|
+
query GetMovethewheelsReport($id: ID!) {
|
|
3531
|
+
movethewheelsReport(id: $id) {
|
|
3532
|
+
...MovethewheelsReportCore
|
|
3533
|
+
}
|
|
3534
|
+
}
|
|
3535
|
+
${MovethewheelsReportCoreFragmentDoc}`;
|
|
3536
|
+
|
|
3537
|
+
/**
|
|
3538
|
+
* __useGetMovethewheelsReportQuery__
|
|
3539
|
+
*
|
|
3540
|
+
* To run a query within a React component, call `useGetMovethewheelsReportQuery` and pass it any options that fit your needs.
|
|
3541
|
+
* When your component renders, `useGetMovethewheelsReportQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3542
|
+
* you can use to render your UI.
|
|
3543
|
+
*
|
|
3544
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
3545
|
+
*
|
|
3546
|
+
* @example
|
|
3547
|
+
* const { data, loading, error } = useGetMovethewheelsReportQuery({
|
|
3548
|
+
* variables: {
|
|
3549
|
+
* id: // value for 'id'
|
|
3550
|
+
* },
|
|
3551
|
+
* });
|
|
3552
|
+
*/
|
|
3553
|
+
export function useGetMovethewheelsReportQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetMovethewheelsReportQuery, Types.GetMovethewheelsReportQueryVariables> & ({ variables: Types.GetMovethewheelsReportQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {
|
|
3554
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3555
|
+
return ApolloReactHooks.useQuery<Types.GetMovethewheelsReportQuery, Types.GetMovethewheelsReportQueryVariables>(GetMovethewheelsReportDocument, options);
|
|
3556
|
+
}
|
|
3557
|
+
export function useGetMovethewheelsReportLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetMovethewheelsReportQuery, Types.GetMovethewheelsReportQueryVariables>) {
|
|
3558
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3559
|
+
return ApolloReactHooks.useLazyQuery<Types.GetMovethewheelsReportQuery, Types.GetMovethewheelsReportQueryVariables>(GetMovethewheelsReportDocument, options);
|
|
3560
|
+
}
|
|
3561
|
+
// @ts-ignore
|
|
3562
|
+
export function useGetMovethewheelsReportSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMovethewheelsReportQuery, Types.GetMovethewheelsReportQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetMovethewheelsReportQuery, Types.GetMovethewheelsReportQueryVariables>;
|
|
3563
|
+
export function useGetMovethewheelsReportSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMovethewheelsReportQuery, Types.GetMovethewheelsReportQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetMovethewheelsReportQuery | undefined, Types.GetMovethewheelsReportQueryVariables>;
|
|
3564
|
+
export function useGetMovethewheelsReportSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMovethewheelsReportQuery, Types.GetMovethewheelsReportQueryVariables>) {
|
|
3565
|
+
const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
3566
|
+
return ApolloReactHooks.useSuspenseQuery<Types.GetMovethewheelsReportQuery, Types.GetMovethewheelsReportQueryVariables>(GetMovethewheelsReportDocument, options);
|
|
3567
|
+
}
|
|
3568
|
+
export type GetMovethewheelsReportQueryHookResult = ReturnType<typeof useGetMovethewheelsReportQuery>;
|
|
3569
|
+
export type GetMovethewheelsReportLazyQueryHookResult = ReturnType<typeof useGetMovethewheelsReportLazyQuery>;
|
|
3570
|
+
export type GetMovethewheelsReportSuspenseQueryHookResult = ReturnType<typeof useGetMovethewheelsReportSuspenseQuery>;
|
|
3571
|
+
export type GetMovethewheelsReportQueryResult = Apollo.QueryResult<Types.GetMovethewheelsReportQuery, Types.GetMovethewheelsReportQueryVariables>;
|
|
3572
|
+
export const GetMovethewheelsModuleSettingsDocument = gql`
|
|
3573
|
+
query GetMovethewheelsModuleSettings {
|
|
3574
|
+
moduleSettings {
|
|
3575
|
+
workspaceId
|
|
3576
|
+
preferences
|
|
3577
|
+
updatedAt
|
|
3578
|
+
}
|
|
3579
|
+
}
|
|
3580
|
+
`;
|
|
3581
|
+
|
|
3582
|
+
/**
|
|
3583
|
+
* __useGetMovethewheelsModuleSettingsQuery__
|
|
3584
|
+
*
|
|
3585
|
+
* To run a query within a React component, call `useGetMovethewheelsModuleSettingsQuery` and pass it any options that fit your needs.
|
|
3586
|
+
* When your component renders, `useGetMovethewheelsModuleSettingsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3587
|
+
* you can use to render your UI.
|
|
3588
|
+
*
|
|
3589
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
3590
|
+
*
|
|
3591
|
+
* @example
|
|
3592
|
+
* const { data, loading, error } = useGetMovethewheelsModuleSettingsQuery({
|
|
3593
|
+
* variables: {
|
|
3594
|
+
* },
|
|
3595
|
+
* });
|
|
3596
|
+
*/
|
|
3597
|
+
export function useGetMovethewheelsModuleSettingsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetMovethewheelsModuleSettingsQuery, Types.GetMovethewheelsModuleSettingsQueryVariables>) {
|
|
3598
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3599
|
+
return ApolloReactHooks.useQuery<Types.GetMovethewheelsModuleSettingsQuery, Types.GetMovethewheelsModuleSettingsQueryVariables>(GetMovethewheelsModuleSettingsDocument, options);
|
|
3600
|
+
}
|
|
3601
|
+
export function useGetMovethewheelsModuleSettingsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetMovethewheelsModuleSettingsQuery, Types.GetMovethewheelsModuleSettingsQueryVariables>) {
|
|
3602
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3603
|
+
return ApolloReactHooks.useLazyQuery<Types.GetMovethewheelsModuleSettingsQuery, Types.GetMovethewheelsModuleSettingsQueryVariables>(GetMovethewheelsModuleSettingsDocument, options);
|
|
3604
|
+
}
|
|
3605
|
+
// @ts-ignore
|
|
3606
|
+
export function useGetMovethewheelsModuleSettingsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMovethewheelsModuleSettingsQuery, Types.GetMovethewheelsModuleSettingsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetMovethewheelsModuleSettingsQuery, Types.GetMovethewheelsModuleSettingsQueryVariables>;
|
|
3607
|
+
export function useGetMovethewheelsModuleSettingsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMovethewheelsModuleSettingsQuery, Types.GetMovethewheelsModuleSettingsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetMovethewheelsModuleSettingsQuery | undefined, Types.GetMovethewheelsModuleSettingsQueryVariables>;
|
|
3608
|
+
export function useGetMovethewheelsModuleSettingsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMovethewheelsModuleSettingsQuery, Types.GetMovethewheelsModuleSettingsQueryVariables>) {
|
|
3609
|
+
const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
3610
|
+
return ApolloReactHooks.useSuspenseQuery<Types.GetMovethewheelsModuleSettingsQuery, Types.GetMovethewheelsModuleSettingsQueryVariables>(GetMovethewheelsModuleSettingsDocument, options);
|
|
3611
|
+
}
|
|
3612
|
+
export type GetMovethewheelsModuleSettingsQueryHookResult = ReturnType<typeof useGetMovethewheelsModuleSettingsQuery>;
|
|
3613
|
+
export type GetMovethewheelsModuleSettingsLazyQueryHookResult = ReturnType<typeof useGetMovethewheelsModuleSettingsLazyQuery>;
|
|
3614
|
+
export type GetMovethewheelsModuleSettingsSuspenseQueryHookResult = ReturnType<typeof useGetMovethewheelsModuleSettingsSuspenseQuery>;
|
|
3615
|
+
export type GetMovethewheelsModuleSettingsQueryResult = Apollo.QueryResult<Types.GetMovethewheelsModuleSettingsQuery, Types.GetMovethewheelsModuleSettingsQueryVariables>;
|
|
3616
|
+
export const ListMovethewheelsOrdersDocument = gql`
|
|
3617
|
+
query ListMovethewheelsOrders($filter: OrderFilterInput, $pagination: PaginationInput) {
|
|
3618
|
+
movethewheelsOrders(filter: $filter, pagination: $pagination) {
|
|
3619
|
+
...MovethewheelsOrderCore
|
|
3620
|
+
}
|
|
3621
|
+
}
|
|
3622
|
+
${MovethewheelsOrderCoreFragmentDoc}`;
|
|
3623
|
+
|
|
3624
|
+
/**
|
|
3625
|
+
* __useListMovethewheelsOrdersQuery__
|
|
3626
|
+
*
|
|
3627
|
+
* To run a query within a React component, call `useListMovethewheelsOrdersQuery` and pass it any options that fit your needs.
|
|
3628
|
+
* When your component renders, `useListMovethewheelsOrdersQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3629
|
+
* you can use to render your UI.
|
|
3630
|
+
*
|
|
3631
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
3632
|
+
*
|
|
3633
|
+
* @example
|
|
3634
|
+
* const { data, loading, error } = useListMovethewheelsOrdersQuery({
|
|
3635
|
+
* variables: {
|
|
3636
|
+
* filter: // value for 'filter'
|
|
3637
|
+
* pagination: // value for 'pagination'
|
|
3638
|
+
* },
|
|
3639
|
+
* });
|
|
3640
|
+
*/
|
|
3641
|
+
export function useListMovethewheelsOrdersQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.ListMovethewheelsOrdersQuery, Types.ListMovethewheelsOrdersQueryVariables>) {
|
|
3642
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3643
|
+
return ApolloReactHooks.useQuery<Types.ListMovethewheelsOrdersQuery, Types.ListMovethewheelsOrdersQueryVariables>(ListMovethewheelsOrdersDocument, options);
|
|
3644
|
+
}
|
|
3645
|
+
export function useListMovethewheelsOrdersLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.ListMovethewheelsOrdersQuery, Types.ListMovethewheelsOrdersQueryVariables>) {
|
|
3646
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3647
|
+
return ApolloReactHooks.useLazyQuery<Types.ListMovethewheelsOrdersQuery, Types.ListMovethewheelsOrdersQueryVariables>(ListMovethewheelsOrdersDocument, options);
|
|
3648
|
+
}
|
|
3649
|
+
// @ts-ignore
|
|
3650
|
+
export function useListMovethewheelsOrdersSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.ListMovethewheelsOrdersQuery, Types.ListMovethewheelsOrdersQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListMovethewheelsOrdersQuery, Types.ListMovethewheelsOrdersQueryVariables>;
|
|
3651
|
+
export function useListMovethewheelsOrdersSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListMovethewheelsOrdersQuery, Types.ListMovethewheelsOrdersQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListMovethewheelsOrdersQuery | undefined, Types.ListMovethewheelsOrdersQueryVariables>;
|
|
3652
|
+
export function useListMovethewheelsOrdersSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListMovethewheelsOrdersQuery, Types.ListMovethewheelsOrdersQueryVariables>) {
|
|
3653
|
+
const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
3654
|
+
return ApolloReactHooks.useSuspenseQuery<Types.ListMovethewheelsOrdersQuery, Types.ListMovethewheelsOrdersQueryVariables>(ListMovethewheelsOrdersDocument, options);
|
|
3655
|
+
}
|
|
3656
|
+
export type ListMovethewheelsOrdersQueryHookResult = ReturnType<typeof useListMovethewheelsOrdersQuery>;
|
|
3657
|
+
export type ListMovethewheelsOrdersLazyQueryHookResult = ReturnType<typeof useListMovethewheelsOrdersLazyQuery>;
|
|
3658
|
+
export type ListMovethewheelsOrdersSuspenseQueryHookResult = ReturnType<typeof useListMovethewheelsOrdersSuspenseQuery>;
|
|
3659
|
+
export type ListMovethewheelsOrdersQueryResult = Apollo.QueryResult<Types.ListMovethewheelsOrdersQuery, Types.ListMovethewheelsOrdersQueryVariables>;
|
|
3660
|
+
export const GetMovethewheelsOrderDocument = gql`
|
|
3661
|
+
query GetMovethewheelsOrder($id: ID!) {
|
|
3662
|
+
movethewheelsOrder(id: $id) {
|
|
3663
|
+
...MovethewheelsOrderCore
|
|
3664
|
+
customer {
|
|
3665
|
+
id
|
|
3666
|
+
name
|
|
3667
|
+
email
|
|
3668
|
+
phone
|
|
3669
|
+
}
|
|
3670
|
+
vehicle {
|
|
3671
|
+
id
|
|
3672
|
+
vehicleNumber
|
|
3673
|
+
type
|
|
3674
|
+
status
|
|
3675
|
+
}
|
|
3676
|
+
driver {
|
|
3677
|
+
id
|
|
3678
|
+
firstName
|
|
3679
|
+
lastName
|
|
3680
|
+
status
|
|
3681
|
+
}
|
|
3682
|
+
statusHistory {
|
|
3683
|
+
id
|
|
3684
|
+
status
|
|
3685
|
+
previousStatus
|
|
3686
|
+
notes
|
|
3687
|
+
location
|
|
3688
|
+
createdAt
|
|
3689
|
+
}
|
|
3690
|
+
shipment {
|
|
3691
|
+
id
|
|
3692
|
+
shipmentNumber
|
|
3693
|
+
status
|
|
3694
|
+
trackingNumber
|
|
3695
|
+
}
|
|
3696
|
+
}
|
|
3697
|
+
}
|
|
3698
|
+
${MovethewheelsOrderCoreFragmentDoc}`;
|
|
3699
|
+
|
|
3700
|
+
/**
|
|
3701
|
+
* __useGetMovethewheelsOrderQuery__
|
|
3702
|
+
*
|
|
3703
|
+
* To run a query within a React component, call `useGetMovethewheelsOrderQuery` and pass it any options that fit your needs.
|
|
3704
|
+
* When your component renders, `useGetMovethewheelsOrderQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3705
|
+
* you can use to render your UI.
|
|
3706
|
+
*
|
|
3707
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
3708
|
+
*
|
|
3709
|
+
* @example
|
|
3710
|
+
* const { data, loading, error } = useGetMovethewheelsOrderQuery({
|
|
3711
|
+
* variables: {
|
|
3712
|
+
* id: // value for 'id'
|
|
3713
|
+
* },
|
|
3714
|
+
* });
|
|
3715
|
+
*/
|
|
3716
|
+
export function useGetMovethewheelsOrderQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetMovethewheelsOrderQuery, Types.GetMovethewheelsOrderQueryVariables> & ({ variables: Types.GetMovethewheelsOrderQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {
|
|
3717
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3718
|
+
return ApolloReactHooks.useQuery<Types.GetMovethewheelsOrderQuery, Types.GetMovethewheelsOrderQueryVariables>(GetMovethewheelsOrderDocument, options);
|
|
3719
|
+
}
|
|
3720
|
+
export function useGetMovethewheelsOrderLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetMovethewheelsOrderQuery, Types.GetMovethewheelsOrderQueryVariables>) {
|
|
3721
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3722
|
+
return ApolloReactHooks.useLazyQuery<Types.GetMovethewheelsOrderQuery, Types.GetMovethewheelsOrderQueryVariables>(GetMovethewheelsOrderDocument, options);
|
|
3723
|
+
}
|
|
3724
|
+
// @ts-ignore
|
|
3725
|
+
export function useGetMovethewheelsOrderSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMovethewheelsOrderQuery, Types.GetMovethewheelsOrderQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetMovethewheelsOrderQuery, Types.GetMovethewheelsOrderQueryVariables>;
|
|
3726
|
+
export function useGetMovethewheelsOrderSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMovethewheelsOrderQuery, Types.GetMovethewheelsOrderQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetMovethewheelsOrderQuery | undefined, Types.GetMovethewheelsOrderQueryVariables>;
|
|
3727
|
+
export function useGetMovethewheelsOrderSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMovethewheelsOrderQuery, Types.GetMovethewheelsOrderQueryVariables>) {
|
|
3728
|
+
const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
3729
|
+
return ApolloReactHooks.useSuspenseQuery<Types.GetMovethewheelsOrderQuery, Types.GetMovethewheelsOrderQueryVariables>(GetMovethewheelsOrderDocument, options);
|
|
3730
|
+
}
|
|
3731
|
+
export type GetMovethewheelsOrderQueryHookResult = ReturnType<typeof useGetMovethewheelsOrderQuery>;
|
|
3732
|
+
export type GetMovethewheelsOrderLazyQueryHookResult = ReturnType<typeof useGetMovethewheelsOrderLazyQuery>;
|
|
3733
|
+
export type GetMovethewheelsOrderSuspenseQueryHookResult = ReturnType<typeof useGetMovethewheelsOrderSuspenseQuery>;
|
|
3734
|
+
export type GetMovethewheelsOrderQueryResult = Apollo.QueryResult<Types.GetMovethewheelsOrderQuery, Types.GetMovethewheelsOrderQueryVariables>;
|