@burdenoff/microfe-movethewheels 2026.1016.3 → 2026.1016.4

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.
Files changed (88) hide show
  1. package/README.md +10 -0
  2. package/dist/MoveTheWheelsRoot.js +5 -0
  3. package/dist/MoveTheWheelsRoutes.js +25 -21
  4. package/dist/components/ContainerEvidencePicker.js +55 -55
  5. package/dist/components/FleetAlertsPanel.js +2 -2
  6. package/dist/components/freight-invoice/InvoiceForm.js +366 -0
  7. package/dist/components/freight-invoice/InvoiceResults.js +240 -0
  8. package/dist/generated/consolidation-operations.d.ts +195 -265
  9. package/dist/generated/container-condition-operations.d.ts +124 -187
  10. package/dist/generated/container-operations.d.ts +59 -85
  11. package/dist/generated/empty-reuse-operations.d.ts +165 -271
  12. package/dist/generated/free-time-operations.d.ts +120 -184
  13. package/dist/generated/freight-cost-operations.d.ts +307 -476
  14. package/dist/generated/freight-invoice-operations.d.ts +1447 -0
  15. package/dist/generated/logistics-procedure-operations.d.ts +100 -156
  16. package/dist/generated/pending-pick-operations.d.ts +769 -1025
  17. package/dist/generated/shipment-status-authority-operations.d.ts +82 -103
  18. package/dist/generated/stock-binding-operations.d.ts +188 -260
  19. package/dist/generated/stock-observation-operations.d.ts +103 -138
  20. package/dist/generated/tracking-quality-operations.d.ts +27 -41
  21. package/dist/generated/trip-utilization-operations.d.ts +137 -185
  22. package/dist/generated/wspace-operations.d.ts +628 -2272
  23. package/dist/generated/wspace-types.d.ts +4 -23
  24. package/dist/hooks/useInvoiceComparisonRecovery.js +118 -0
  25. package/dist/movethewheels/components/ContainerEvidencePicker.d.ts +2 -1
  26. package/dist/movethewheels/components/freight-invoice/InvoiceForm.d.ts +19 -0
  27. package/dist/movethewheels/components/freight-invoice/InvoiceResults.d.ts +9 -0
  28. package/dist/movethewheels/hooks/useFleet.d.ts +1 -1
  29. package/dist/movethewheels/hooks/useFleetIntelligence.d.ts +1 -1
  30. package/dist/movethewheels/hooks/useInvoiceComparisonRecovery.d.ts +22 -0
  31. package/dist/movethewheels/hooks/useProcedureSelection.d.ts +1 -3
  32. package/dist/movethewheels/pages/FreightInvoicePage.d.ts +10 -0
  33. package/dist/movethewheels/utils/driverLicenseExpiry.d.ts +6 -0
  34. package/dist/movethewheels/utils/invoiceComparison.d.ts +32 -0
  35. package/dist/pages/DriverDetailsPage.js +306 -282
  36. package/dist/pages/FreightEstimatePage.js +1 -0
  37. package/dist/pages/FreightInvoicePage.js +346 -0
  38. package/dist/src/generated/consolidation-operations.js +3961 -503
  39. package/dist/src/generated/container-condition-operations.js +2968 -206
  40. package/dist/src/generated/container-operations.js +997 -99
  41. package/dist/src/generated/empty-reuse-operations.js +4811 -747
  42. package/dist/src/generated/free-time-operations.js +2824 -233
  43. package/dist/src/generated/freight-cost-operations.js +4852 -812
  44. package/dist/src/generated/freight-invoice-operations.js +4894 -0
  45. package/dist/src/generated/logistics-procedure-operations.js +2707 -360
  46. package/dist/src/generated/pending-pick-operations.js +8244 -1196
  47. package/dist/src/generated/shipment-status-authority-operations.js +1157 -84
  48. package/dist/src/generated/stock-binding-operations.js +2779 -173
  49. package/dist/src/generated/stock-observation-operations.js +1274 -91
  50. package/dist/src/generated/tracking-quality-operations.js +407 -42
  51. package/dist/src/generated/trip-utilization-operations.js +1765 -138
  52. package/dist/src/generated/wspace-operations.js +428 -706
  53. package/dist/utils/driverLicenseExpiry.js +14 -0
  54. package/dist/utils/invoiceComparison.js +272 -0
  55. package/package.json +29 -29
  56. package/src/generated/consolidation-operations.ts +60 -559
  57. package/src/generated/container-condition-operations.ts +63 -265
  58. package/src/generated/container-operations.ts +37 -132
  59. package/src/generated/empty-reuse-operations.ts +83 -824
  60. package/src/generated/free-time-operations.ts +55 -284
  61. package/src/generated/freight-cost-operations.ts +42 -848
  62. package/src/generated/freight-invoice-operations.ts +830 -0
  63. package/src/generated/logistics-procedure-operations.ts +60 -414
  64. package/src/generated/pending-pick-operations.ts +48 -1239
  65. package/src/generated/shipment-status-authority-operations.ts +33 -113
  66. package/src/generated/stock-binding-operations.ts +29 -198
  67. package/src/generated/stock-observation-operations.ts +24 -111
  68. package/src/generated/tracking-quality-operations.ts +19 -57
  69. package/src/generated/trip-utilization-operations.ts +32 -166
  70. package/src/generated/wspace-operations.ts +284 -2906
  71. package/src/generated/wspace-types.ts +2 -8
  72. package/src/movethewheels/MoveTheWheelsRoot.tsx +6 -0
  73. package/src/movethewheels/MoveTheWheelsRoutes.tsx +2 -0
  74. package/src/movethewheels/components/ContainerEvidencePicker.tsx +12 -4
  75. package/src/movethewheels/components/FleetAlertsPanel.tsx +4 -2
  76. package/src/movethewheels/components/freight-invoice/InvoiceForm.tsx +412 -0
  77. package/src/movethewheels/components/freight-invoice/InvoiceResults.tsx +162 -0
  78. package/src/movethewheels/hooks/useFleet.ts +1 -1
  79. package/src/movethewheels/hooks/useFleetIntelligence.ts +5 -1
  80. package/src/movethewheels/hooks/useInvoiceComparisonRecovery.ts +227 -0
  81. package/src/movethewheels/pages/DriverDetailsPage.tsx +35 -9
  82. package/src/movethewheels/pages/FreightEstimatePage.tsx +1 -0
  83. package/src/movethewheels/pages/FreightInvoicePage.tsx +477 -0
  84. package/src/movethewheels/utils/driverLicenseExpiry.ts +25 -0
  85. package/src/movethewheels/utils/invoiceComparison.ts +520 -0
  86. package/src/operations/freight-invoice/comparison.graphql +40 -0
  87. package/src/operations/wspace/freight-invoice-evidence.graphql +6 -0
  88. package/patches/braces@3.0.3.patch +0 -87
@@ -1,3187 +1,565 @@
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 ContainerEvidenceFilesQueryVariables = Types.Exact<{
9
- pagination?: Types.InputMaybe<Types.PaginationInput>;
1
+ /** Internal type. DO NOT USE DIRECTLY. */
2
+ type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
3
+ /** Internal type. DO NOT USE DIRECTLY. */
4
+ export type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };
5
+ import type * as Types from './wspace-types';
6
+
7
+ import type { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
8
+ export type ContainerEvidenceFilesQueryVariables = Exact<{
9
+ pagination?: Types.PaginationInput | null | undefined;
10
+ }>;
11
+
12
+
13
+ export type ContainerEvidenceFilesQuery = { getFiles: { hasMore: boolean, files: Array<{ id: string, name: string, canRead: boolean | null }> } };
14
+
15
+ export type ContainerEvidenceVersionsQueryVariables = Exact<{
16
+ fileId: string;
17
+ pagination?: Types.PaginationInput | null | undefined;
10
18
  }>;
11
19
 
12
20
 
13
- export type ContainerEvidenceFilesQuery = { __typename?: 'Query', getFiles: { __typename?: 'FileList', hasMore: boolean, files: Array<{ __typename?: 'File', id: string, name: string, canRead?: boolean | null }> } };
21
+ export type ContainerEvidenceVersionsQuery = { getFileVersions: { hasMore: boolean, versions: Array<{ id: string, fileId: string, name: string, versionNumber: number, versionLabel: string | null, sha256Hash: string | null, createdAt: string }> } };
14
22
 
15
- export type ContainerEvidenceVersionsQueryVariables = Types.Exact<{
16
- fileId: Types.Scalars['ID']['input'];
17
- pagination?: Types.InputMaybe<Types.PaginationInput>;
23
+ export type InvoiceEvidenceVersionsQueryVariables = Exact<{
24
+ fileId: string;
25
+ pagination?: Types.PaginationInput | null | undefined;
18
26
  }>;
19
27
 
20
28
 
21
- export type ContainerEvidenceVersionsQuery = { __typename?: 'Query', getFileVersions: { __typename?: 'FileVersionList', hasMore: boolean, versions: Array<{ __typename?: 'FileVersion', id: string, fileId: string, name: string, versionNumber: number, versionLabel?: string | null, sha256Hash?: string | null, createdAt: string }> } };
29
+ export type InvoiceEvidenceVersionsQuery = { getFileVersions: { hasMore: boolean, versions: Array<{ id: string, fileId: string, name: string, versionNumber: number, versionLabel: string | null, sha256Hash: string | null, createdAt: string, isCurrentVersion: boolean }> } };
22
30
 
23
- export type MovethewheelsOrderCoreFragment = { __typename?: 'MtwDeliveryJob', id: string, deliveryJobNumber: string, status: Types.DeliveryJobStatus, priority: Types.DeliveryPriority, customerId: string, trackingNumber?: string | null, pickupAddress: Record<string, unknown>, deliveryAddress: Record<string, unknown>, cargoItems: Record<string, unknown>, pricing?: Record<string, unknown> | null, scheduledDelivery?: string | null, vehicleId?: string | null, driverId?: string | null, createdAt: string, updatedAt: string };
31
+ export type MovethewheelsOrderCoreFragment = { id: string, deliveryJobNumber: string, status: Types.DeliveryJobStatus, priority: Types.DeliveryPriority, customerId: string, trackingNumber: string | null, pickupAddress: Record<string, unknown>, deliveryAddress: Record<string, unknown>, cargoItems: Record<string, unknown>, pricing: Record<string, unknown> | null, scheduledDelivery: string | null, vehicleId: string | null, driverId: string | null, createdAt: string, updatedAt: string };
24
32
 
25
- export type CustomerCoreFragment = { __typename?: 'MtwCustomer', 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 };
33
+ export type CustomerCoreFragment = { 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 };
26
34
 
27
- export type ProductCoreFragment = { __typename?: 'MtwCargoItem', 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 };
35
+ export type ProductCoreFragment = { 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 };
28
36
 
29
- export type VehicleCoreFragment = { __typename?: 'MtwVehicle', 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 };
37
+ export type VehicleCoreFragment = { 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 };
30
38
 
31
- export type DriverCoreFragment = { __typename?: 'MtwDriver', 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 };
39
+ export type DriverCoreFragment = { 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 };
32
40
 
33
- export type WarehouseCoreFragment = { __typename?: 'MtwWarehouse', 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 };
41
+ export type WarehouseCoreFragment = { 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 };
34
42
 
35
- export type InventoryItemCoreFragment = { __typename?: 'MtwInventoryItem', id: string, cargoItemId: 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 };
43
+ export type InventoryItemCoreFragment = { id: string, cargoItemId: 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 };
36
44
 
37
- export type RouteCoreFragment = { __typename?: 'MtwRoute', 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 };
45
+ export type RouteCoreFragment = { 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 };
38
46
 
39
- export type ShipmentCoreFragment = { __typename?: 'MtwShipment', id: string, shipmentNumber: string, deliveryJobId?: string | null, 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 };
47
+ export type ShipmentCoreFragment = { id: string, shipmentNumber: string, deliveryJobId: string | null, 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 };
40
48
 
41
- export type CreateCustomerMutationVariables = Types.Exact<{
49
+ export type CreateCustomerMutationVariables = Exact<{
42
50
  input: Types.CreateCustomerInput;
43
51
  }>;
44
52
 
45
53
 
46
- export type CreateCustomerMutation = { __typename?: 'Mutation', createCustomer: { __typename?: 'MtwCustomer', 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 } };
54
+ export type CreateCustomerMutation = { createCustomer: { 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 } };
47
55
 
48
- export type UpdateCustomerMutationVariables = Types.Exact<{
49
- id: Types.Scalars['ID']['input'];
56
+ export type UpdateCustomerMutationVariables = Exact<{
57
+ id: string;
50
58
  input: Types.UpdateCustomerInput;
51
59
  }>;
52
60
 
53
61
 
54
- export type UpdateCustomerMutation = { __typename?: 'Mutation', updateCustomer: { __typename?: 'MtwCustomer', 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 } };
62
+ export type UpdateCustomerMutation = { updateCustomer: { 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 } };
55
63
 
56
- export type DeleteCustomerMutationVariables = Types.Exact<{
57
- id: Types.Scalars['ID']['input'];
64
+ export type DeleteCustomerMutationVariables = Exact<{
65
+ id: string;
58
66
  }>;
59
67
 
60
68
 
61
- export type DeleteCustomerMutation = { __typename?: 'Mutation', deleteCustomer: boolean };
69
+ export type DeleteCustomerMutation = { deleteCustomer: boolean };
62
70
 
63
- export type CreateProductMutationVariables = Types.Exact<{
71
+ export type CreateProductMutationVariables = Exact<{
64
72
  input: Types.CreateCargoItemInput;
65
73
  }>;
66
74
 
67
75
 
68
- export type CreateProductMutation = { __typename?: 'Mutation', createCargoItem: { __typename?: 'MtwCargoItem', 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 } };
76
+ export type CreateProductMutation = { createCargoItem: { 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 } };
69
77
 
70
- export type UpdateProductMutationVariables = Types.Exact<{
71
- id: Types.Scalars['ID']['input'];
78
+ export type UpdateProductMutationVariables = Exact<{
79
+ id: string;
72
80
  input: Types.UpdateCargoItemInput;
73
81
  }>;
74
82
 
75
83
 
76
- export type UpdateProductMutation = { __typename?: 'Mutation', updateCargoItem: { __typename?: 'MtwCargoItem', 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 } };
84
+ export type UpdateProductMutation = { updateCargoItem: { 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 } };
77
85
 
78
- export type DeleteProductMutationVariables = Types.Exact<{
79
- id: Types.Scalars['ID']['input'];
86
+ export type DeleteProductMutationVariables = Exact<{
87
+ id: string;
80
88
  }>;
81
89
 
82
90
 
83
- export type DeleteProductMutation = { __typename?: 'Mutation', deleteCargoItem: boolean };
91
+ export type DeleteProductMutation = { deleteCargoItem: boolean };
84
92
 
85
- export type CreateVehicleMutationVariables = Types.Exact<{
93
+ export type CreateVehicleMutationVariables = Exact<{
86
94
  input: Types.CreateVehicleInput;
87
95
  }>;
88
96
 
89
97
 
90
- export type CreateVehicleMutation = { __typename?: 'Mutation', createVehicle: { __typename?: 'MtwVehicle', 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
+ export type CreateVehicleMutation = { createVehicle: { 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 } };
91
99
 
92
- export type UpdateVehicleMutationVariables = Types.Exact<{
93
- id: Types.Scalars['ID']['input'];
100
+ export type UpdateVehicleMutationVariables = Exact<{
101
+ id: string;
94
102
  input: Types.UpdateVehicleInput;
95
103
  }>;
96
104
 
97
105
 
98
- export type UpdateVehicleMutation = { __typename?: 'Mutation', updateVehicle: { __typename?: 'MtwVehicle', 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
+ export type UpdateVehicleMutation = { updateVehicle: { 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 } };
99
107
 
100
- export type UpdateVehicleStatusMutationVariables = Types.Exact<{
101
- id: Types.Scalars['ID']['input'];
108
+ export type UpdateVehicleStatusMutationVariables = Exact<{
109
+ id: string;
102
110
  status: Types.VehicleStatus;
103
111
  }>;
104
112
 
105
113
 
106
- export type UpdateVehicleStatusMutation = { __typename?: 'Mutation', updateVehicleStatus: { __typename?: 'MtwVehicle', 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 } };
114
+ export type UpdateVehicleStatusMutation = { updateVehicleStatus: { 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 } };
107
115
 
108
- export type UpdateVehicleLocationMutationVariables = Types.Exact<{
109
- id: Types.Scalars['ID']['input'];
110
- location: Types.Scalars['JSON']['input'];
116
+ export type UpdateVehicleLocationMutationVariables = Exact<{
117
+ id: string;
118
+ location: Record<string, unknown>;
111
119
  }>;
112
120
 
113
121
 
114
- export type UpdateVehicleLocationMutation = { __typename?: 'Mutation', updateVehicleLocation: { __typename?: 'MtwVehicle', 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 } };
122
+ export type UpdateVehicleLocationMutation = { updateVehicleLocation: { 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 } };
115
123
 
116
- export type DeleteVehicleMutationVariables = Types.Exact<{
117
- id: Types.Scalars['ID']['input'];
124
+ export type DeleteVehicleMutationVariables = Exact<{
125
+ id: string;
118
126
  }>;
119
127
 
120
128
 
121
- export type DeleteVehicleMutation = { __typename?: 'Mutation', deleteVehicle: boolean };
129
+ export type DeleteVehicleMutation = { deleteVehicle: boolean };
122
130
 
123
- export type CreateDriverMutationVariables = Types.Exact<{
131
+ export type CreateDriverMutationVariables = Exact<{
124
132
  input: Types.CreateDriverInput;
125
133
  }>;
126
134
 
127
135
 
128
- export type CreateDriverMutation = { __typename?: 'Mutation', createDriver: { __typename?: 'MtwDriver', 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
+ export type CreateDriverMutation = { createDriver: { 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 } };
129
137
 
130
- export type UpdateDriverMutationVariables = Types.Exact<{
131
- id: Types.Scalars['ID']['input'];
138
+ export type UpdateDriverMutationVariables = Exact<{
139
+ id: string;
132
140
  input: Types.UpdateDriverInput;
133
141
  }>;
134
142
 
135
143
 
136
- export type UpdateDriverMutation = { __typename?: 'Mutation', updateDriver: { __typename?: 'MtwDriver', 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
+ export type UpdateDriverMutation = { updateDriver: { 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 } };
137
145
 
138
- export type UpdateDriverStatusMutationVariables = Types.Exact<{
139
- id: Types.Scalars['ID']['input'];
146
+ export type UpdateDriverStatusMutationVariables = Exact<{
147
+ id: string;
140
148
  status: Types.DriverStatus;
141
149
  }>;
142
150
 
143
151
 
144
- export type UpdateDriverStatusMutation = { __typename?: 'Mutation', updateDriverStatus: { __typename?: 'MtwDriver', 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 } };
152
+ export type UpdateDriverStatusMutation = { updateDriverStatus: { 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 } };
145
153
 
146
- export type AssignDriverVehicleMutationVariables = Types.Exact<{
147
- id: Types.Scalars['ID']['input'];
148
- vehicleId?: Types.InputMaybe<Types.Scalars['ID']['input']>;
154
+ export type AssignDriverVehicleMutationVariables = Exact<{
155
+ id: string;
156
+ vehicleId?: string | null | undefined;
149
157
  }>;
150
158
 
151
159
 
152
- export type AssignDriverVehicleMutation = { __typename?: 'Mutation', assignDriverVehicle: { __typename?: 'MtwDriver', 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 } };
160
+ export type AssignDriverVehicleMutation = { assignDriverVehicle: { 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 } };
153
161
 
154
- export type DeleteDriverMutationVariables = Types.Exact<{
155
- id: Types.Scalars['ID']['input'];
162
+ export type DeleteDriverMutationVariables = Exact<{
163
+ id: string;
156
164
  }>;
157
165
 
158
166
 
159
- export type DeleteDriverMutation = { __typename?: 'Mutation', deleteDriver: boolean };
167
+ export type DeleteDriverMutation = { deleteDriver: boolean };
160
168
 
161
- export type CreateWarehouseMutationVariables = Types.Exact<{
169
+ export type CreateWarehouseMutationVariables = Exact<{
162
170
  input: Types.CreateWarehouseInput;
163
171
  }>;
164
172
 
165
173
 
166
- export type CreateWarehouseMutation = { __typename?: 'Mutation', createWarehouse: { __typename?: 'MtwWarehouse', 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 } };
174
+ export type CreateWarehouseMutation = { createWarehouse: { 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 } };
167
175
 
168
- export type UpdateWarehouseMutationVariables = Types.Exact<{
169
- id: Types.Scalars['ID']['input'];
176
+ export type UpdateWarehouseMutationVariables = Exact<{
177
+ id: string;
170
178
  input: Types.UpdateWarehouseInput;
171
179
  }>;
172
180
 
173
181
 
174
- export type UpdateWarehouseMutation = { __typename?: 'Mutation', updateWarehouse: { __typename?: 'MtwWarehouse', 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 } };
182
+ export type UpdateWarehouseMutation = { updateWarehouse: { 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 } };
175
183
 
176
- export type DeleteWarehouseMutationVariables = Types.Exact<{
177
- id: Types.Scalars['ID']['input'];
184
+ export type DeleteWarehouseMutationVariables = Exact<{
185
+ id: string;
178
186
  }>;
179
187
 
180
188
 
181
- export type DeleteWarehouseMutation = { __typename?: 'Mutation', deleteWarehouse: boolean };
189
+ export type DeleteWarehouseMutation = { deleteWarehouse: boolean };
182
190
 
183
- export type CreateInventoryItemMutationVariables = Types.Exact<{
191
+ export type CreateInventoryItemMutationVariables = Exact<{
184
192
  input: Types.CreateInventoryItemInput;
185
193
  }>;
186
194
 
187
195
 
188
- export type CreateInventoryItemMutation = { __typename?: 'Mutation', createInventoryItem: { __typename?: 'MtwInventoryItem', id: string, cargoItemId: 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 } };
196
+ export type CreateInventoryItemMutation = { createInventoryItem: { id: string, cargoItemId: 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 } };
189
197
 
190
- export type UpdateInventoryItemMutationVariables = Types.Exact<{
191
- id: Types.Scalars['ID']['input'];
198
+ export type UpdateInventoryItemMutationVariables = Exact<{
199
+ id: string;
192
200
  input: Types.UpdateInventoryItemInput;
193
201
  }>;
194
202
 
195
203
 
196
- export type UpdateInventoryItemMutation = { __typename?: 'Mutation', updateInventoryItem: { __typename?: 'MtwInventoryItem', id: string, cargoItemId: 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 } };
204
+ export type UpdateInventoryItemMutation = { updateInventoryItem: { id: string, cargoItemId: 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 } };
197
205
 
198
- export type AdjustInventoryStockMutationVariables = Types.Exact<{
206
+ export type AdjustInventoryStockMutationVariables = Exact<{
199
207
  input: Types.AdjustInventoryStockInput;
200
208
  }>;
201
209
 
202
210
 
203
- export type AdjustInventoryStockMutation = { __typename?: 'Mutation', adjustInventoryStock: { __typename?: 'MtwInventoryItem', id: string, cargoItemId: 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 } };
211
+ export type AdjustInventoryStockMutation = { adjustInventoryStock: { id: string, cargoItemId: 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 } };
204
212
 
205
- export type DeleteInventoryItemMutationVariables = Types.Exact<{
206
- id: Types.Scalars['ID']['input'];
213
+ export type DeleteInventoryItemMutationVariables = Exact<{
214
+ id: string;
207
215
  }>;
208
216
 
209
217
 
210
- export type DeleteInventoryItemMutation = { __typename?: 'Mutation', deleteInventoryItem: boolean };
218
+ export type DeleteInventoryItemMutation = { deleteInventoryItem: boolean };
211
219
 
212
- export type CreateRouteMutationVariables = Types.Exact<{
220
+ export type CreateRouteMutationVariables = Exact<{
213
221
  input: Types.CreateRouteInput;
214
222
  }>;
215
223
 
216
224
 
217
- export type CreateRouteMutation = { __typename?: 'Mutation', createRoute: { __typename?: 'MtwRoute', 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 } };
225
+ export type CreateRouteMutation = { createRoute: { 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 } };
218
226
 
219
- export type UpdateRouteMutationVariables = Types.Exact<{
220
- id: Types.Scalars['ID']['input'];
227
+ export type UpdateRouteMutationVariables = Exact<{
228
+ id: string;
221
229
  input: Types.UpdateRouteInput;
222
230
  }>;
223
231
 
224
232
 
225
- export type UpdateRouteMutation = { __typename?: 'Mutation', updateRoute: { __typename?: 'MtwRoute', 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 } };
233
+ export type UpdateRouteMutation = { updateRoute: { 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 } };
226
234
 
227
- export type OptimizeRouteMutationVariables = Types.Exact<{
228
- id: Types.Scalars['ID']['input'];
235
+ export type OptimizeRouteMutationVariables = Exact<{
236
+ id: string;
229
237
  }>;
230
238
 
231
239
 
232
- export type OptimizeRouteMutation = { __typename?: 'Mutation', optimizeRoute: { __typename?: 'MtwRoute', 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 } };
240
+ export type OptimizeRouteMutation = { optimizeRoute: { 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 } };
233
241
 
234
- export type DeleteRouteMutationVariables = Types.Exact<{
235
- id: Types.Scalars['ID']['input'];
242
+ export type DeleteRouteMutationVariables = Exact<{
243
+ id: string;
236
244
  }>;
237
245
 
238
246
 
239
- export type DeleteRouteMutation = { __typename?: 'Mutation', deleteRoute: boolean };
247
+ export type DeleteRouteMutation = { deleteRoute: boolean };
240
248
 
241
- export type CreateShipmentMutationVariables = Types.Exact<{
249
+ export type CreateShipmentMutationVariables = Exact<{
242
250
  input: Types.CreateShipmentInput;
243
251
  }>;
244
252
 
245
253
 
246
- export type CreateShipmentMutation = { __typename?: 'Mutation', createShipment: { __typename?: 'MtwShipment', id: string, shipmentNumber: string, deliveryJobId?: string | null, 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 } };
254
+ export type CreateShipmentMutation = { createShipment: { id: string, shipmentNumber: string, deliveryJobId: string | null, 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 } };
247
255
 
248
- export type UpdateShipmentMutationVariables = Types.Exact<{
249
- id: Types.Scalars['ID']['input'];
256
+ export type UpdateShipmentMutationVariables = Exact<{
257
+ id: string;
250
258
  input: Types.UpdateShipmentInput;
251
259
  }>;
252
260
 
253
261
 
254
- export type UpdateShipmentMutation = { __typename?: 'Mutation', updateShipment: { __typename?: 'MtwShipment', id: string, shipmentNumber: string, deliveryJobId?: string | null, 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 } };
262
+ export type UpdateShipmentMutation = { updateShipment: { id: string, shipmentNumber: string, deliveryJobId: string | null, 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 } };
255
263
 
256
- export type DeleteShipmentMutationVariables = Types.Exact<{
257
- id: Types.Scalars['ID']['input'];
264
+ export type DeleteShipmentMutationVariables = Exact<{
265
+ id: string;
258
266
  }>;
259
267
 
260
268
 
261
- export type DeleteShipmentMutation = { __typename?: 'Mutation', deleteShipment: boolean };
269
+ export type DeleteShipmentMutation = { deleteShipment: boolean };
262
270
 
263
- export type AddTrackingEventMutationVariables = Types.Exact<{
271
+ export type AddTrackingEventMutationVariables = Exact<{
264
272
  input: Types.AddTrackingEventInput;
265
273
  }>;
266
274
 
267
275
 
268
- export type AddTrackingEventMutation = { __typename?: 'Mutation', addTrackingEvent: { __typename?: 'MtwTrackingEvent', id: string, shipmentId: string, eventType: Types.TrackingEventType, location?: Record<string, unknown> | null, details?: string | null, timestamp: string } };
276
+ export type AddTrackingEventMutation = { addTrackingEvent: { id: string, shipmentId: string, eventType: Types.TrackingEventType, location: Record<string, unknown> | null, details: string | null, timestamp: string } };
269
277
 
270
- export type ExportMovethewheelsDataMutationVariables = Types.Exact<{
278
+ export type ExportMovethewheelsDataMutationVariables = Exact<{
271
279
  input: Types.ExportMtwEntitiesInput;
272
280
  }>;
273
281
 
274
282
 
275
- export type ExportMovethewheelsDataMutation = { __typename?: 'Mutation', exportMtwEntities: { __typename?: 'MtwExportJob', id: string, workspaceId: string, entityTypes: Array<string>, format: Types.MtwExportFormat, status: string, downloadUrl?: string | null, createdAt: string } };
283
+ export type ExportMovethewheelsDataMutation = { exportMtwEntities: { id: string, workspaceId: string, entityTypes: Array<string>, format: Types.MtwExportFormat, status: string, downloadUrl: string | null, createdAt: string } };
276
284
 
277
- export type CreateMovethewheelsOrderMutationVariables = Types.Exact<{
285
+ export type CreateMovethewheelsOrderMutationVariables = Exact<{
278
286
  input: Types.CreateDeliveryJobInput;
279
287
  }>;
280
288
 
281
289
 
282
- export type CreateMovethewheelsOrderMutation = { __typename?: 'Mutation', createDeliveryJob: { __typename?: 'MtwDeliveryJob', id: string, deliveryJobNumber: string, status: Types.DeliveryJobStatus, priority: Types.DeliveryPriority, customerId: string, trackingNumber?: string | null, pickupAddress: Record<string, unknown>, deliveryAddress: Record<string, unknown>, cargoItems: Record<string, unknown>, pricing?: Record<string, unknown> | null, scheduledDelivery?: string | null, vehicleId?: string | null, driverId?: string | null, createdAt: string, updatedAt: string } };
290
+ export type CreateMovethewheelsOrderMutation = { createDeliveryJob: { id: string, deliveryJobNumber: string, status: Types.DeliveryJobStatus, priority: Types.DeliveryPriority, customerId: string, trackingNumber: string | null, pickupAddress: Record<string, unknown>, deliveryAddress: Record<string, unknown>, cargoItems: Record<string, unknown>, pricing: Record<string, unknown> | null, scheduledDelivery: string | null, vehicleId: string | null, driverId: string | null, createdAt: string, updatedAt: string } };
283
291
 
284
- export type UpdateMovethewheelsOrderMutationVariables = Types.Exact<{
285
- id: Types.Scalars['ID']['input'];
292
+ export type UpdateMovethewheelsOrderMutationVariables = Exact<{
293
+ id: string;
286
294
  input: Types.UpdateDeliveryJobInput;
287
295
  }>;
288
296
 
289
297
 
290
- export type UpdateMovethewheelsOrderMutation = { __typename?: 'Mutation', updateDeliveryJob: { __typename?: 'MtwDeliveryJob', id: string, deliveryJobNumber: string, status: Types.DeliveryJobStatus, priority: Types.DeliveryPriority, customerId: string, trackingNumber?: string | null, pickupAddress: Record<string, unknown>, deliveryAddress: Record<string, unknown>, cargoItems: Record<string, unknown>, pricing?: Record<string, unknown> | null, scheduledDelivery?: string | null, vehicleId?: string | null, driverId?: string | null, createdAt: string, updatedAt: string } };
298
+ export type UpdateMovethewheelsOrderMutation = { updateDeliveryJob: { id: string, deliveryJobNumber: string, status: Types.DeliveryJobStatus, priority: Types.DeliveryPriority, customerId: string, trackingNumber: string | null, pickupAddress: Record<string, unknown>, deliveryAddress: Record<string, unknown>, cargoItems: Record<string, unknown>, pricing: Record<string, unknown> | null, scheduledDelivery: string | null, vehicleId: string | null, driverId: string | null, createdAt: string, updatedAt: string } };
291
299
 
292
- export type UpdateMovethewheelsOrderStatusMutationVariables = Types.Exact<{
293
- id: Types.Scalars['ID']['input'];
300
+ export type UpdateMovethewheelsOrderStatusMutationVariables = Exact<{
301
+ id: string;
294
302
  input: Types.UpdateDeliveryJobStatusInput;
295
303
  }>;
296
304
 
297
305
 
298
- export type UpdateMovethewheelsOrderStatusMutation = { __typename?: 'Mutation', updateDeliveryJobStatus: { __typename?: 'MtwDeliveryJob', id: string, deliveryJobNumber: string, status: Types.DeliveryJobStatus, priority: Types.DeliveryPriority, customerId: string, trackingNumber?: string | null, pickupAddress: Record<string, unknown>, deliveryAddress: Record<string, unknown>, cargoItems: Record<string, unknown>, pricing?: Record<string, unknown> | null, scheduledDelivery?: string | null, vehicleId?: string | null, driverId?: string | null, createdAt: string, updatedAt: string } };
306
+ export type UpdateMovethewheelsOrderStatusMutation = { updateDeliveryJobStatus: { id: string, deliveryJobNumber: string, status: Types.DeliveryJobStatus, priority: Types.DeliveryPriority, customerId: string, trackingNumber: string | null, pickupAddress: Record<string, unknown>, deliveryAddress: Record<string, unknown>, cargoItems: Record<string, unknown>, pricing: Record<string, unknown> | null, scheduledDelivery: string | null, vehicleId: string | null, driverId: string | null, createdAt: string, updatedAt: string } };
299
307
 
300
- export type DeleteMovethewheelsOrderMutationVariables = Types.Exact<{
301
- id: Types.Scalars['ID']['input'];
308
+ export type DeleteMovethewheelsOrderMutationVariables = Exact<{
309
+ id: string;
302
310
  }>;
303
311
 
304
312
 
305
- export type DeleteMovethewheelsOrderMutation = { __typename?: 'Mutation', deleteDeliveryJob: boolean };
313
+ export type DeleteMovethewheelsOrderMutation = { deleteDeliveryJob: boolean };
306
314
 
307
- export type GetMovethewheelsDashboardQueryVariables = Types.Exact<{ [key: string]: never; }>;
315
+ export type GetMovethewheelsDashboardQueryVariables = Exact<{ [key: string]: never; }>;
308
316
 
309
317
 
310
- export type GetMovethewheelsDashboardQuery = { __typename?: 'Query', dashboardMetrics: { __typename?: 'MtwDashboardMetrics', totalDeliveryJobs: number, activeDeliveries: number, availableDrivers: number, activeVehicles: number, lowStockItems: number, totalRevenue: number, recentDeliveryJobs: Array<{ __typename?: 'MtwDeliveryJob', id: string, deliveryJobNumber: string, status: Types.DeliveryJobStatus, priority: Types.DeliveryPriority, customerId: string, trackingNumber?: string | null, pickupAddress: Record<string, unknown>, deliveryAddress: Record<string, unknown>, cargoItems: Record<string, unknown>, pricing?: Record<string, unknown> | null, scheduledDelivery?: string | null, vehicleId?: string | null, driverId?: string | null, createdAt: string, updatedAt: string }> }, deliveryJobStats: { __typename?: 'MtwDeliveryJobStats', total: number, pending: number, confirmed: number, assigned: number, pickedUp: number, inTransit: number, outForDelivery: number, delivered: number, cancelled: number, failed: number, returned: number }, fleetStats: { __typename?: 'MtwFleetStats', totalVehicles: number, activeVehicles: number, inTransitVehicles: number, maintenanceVehicles: number, totalDrivers: number, availableDrivers: number, onDeliveryDrivers: number }, financeMetrics: { __typename?: 'MtwFinanceMetrics', fuelCost: number, openInvoices: number, revenue: { __typename?: 'MtwRevenueMetrics', totalRevenue: number, averageOrderValue: number, deliveredRevenue: number } }, analytics: { __typename?: 'MtwAnalyticsSeries', deliveryTrend: Array<{ __typename?: 'MtwAnalyticsPoint', label: string, value: number }>, orderTrend: Array<{ __typename?: 'MtwAnalyticsPoint', label: string, value: number }>, revenueTrend: Array<{ __typename?: 'MtwAnalyticsPoint', label: string, value: number }> } };
318
+ export type GetMovethewheelsDashboardQuery = { dashboardMetrics: { totalDeliveryJobs: number, activeDeliveries: number, availableDrivers: number, activeVehicles: number, lowStockItems: number, totalRevenue: number, recentDeliveryJobs: Array<{ id: string, deliveryJobNumber: string, status: Types.DeliveryJobStatus, priority: Types.DeliveryPriority, customerId: string, trackingNumber: string | null, pickupAddress: Record<string, unknown>, deliveryAddress: Record<string, unknown>, cargoItems: Record<string, unknown>, pricing: Record<string, unknown> | null, scheduledDelivery: string | null, vehicleId: string | null, driverId: string | null, createdAt: string, updatedAt: string }> }, deliveryJobStats: { total: number, pending: number, confirmed: number, assigned: number, pickedUp: number, inTransit: number, outForDelivery: number, delivered: number, cancelled: number, failed: number, returned: number }, fleetStats: { totalVehicles: number, activeVehicles: number, inTransitVehicles: number, maintenanceVehicles: number, totalDrivers: number, availableDrivers: number, onDeliveryDrivers: number }, financeMetrics: { fuelCost: number, openInvoices: number, revenue: { totalRevenue: number, averageOrderValue: number, deliveredRevenue: number } }, analytics: { deliveryTrend: Array<{ label: string, value: number }>, orderTrend: Array<{ label: string, value: number }>, revenueTrend: Array<{ label: string, value: number }> } };
311
319
 
312
- export type ListCustomersQueryVariables = Types.Exact<{
313
- filter?: Types.InputMaybe<Types.CustomerFilterInput>;
314
- pagination?: Types.InputMaybe<Types.PaginationInput>;
320
+ export type ListCustomersQueryVariables = Exact<{
321
+ filter?: Types.CustomerFilterInput | null | undefined;
322
+ pagination?: Types.PaginationInput | null | undefined;
315
323
  }>;
316
324
 
317
325
 
318
- export type ListCustomersQuery = { __typename?: 'Query', customers: Array<{ __typename?: 'MtwCustomer', 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 }> };
326
+ export type ListCustomersQuery = { customers: Array<{ 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 }> };
319
327
 
320
- export type GetCustomerQueryVariables = Types.Exact<{
321
- id: Types.Scalars['ID']['input'];
328
+ export type GetCustomerQueryVariables = Exact<{
329
+ id: string;
322
330
  }>;
323
331
 
324
332
 
325
- export type GetCustomerQuery = { __typename?: 'Query', customer?: { __typename?: 'MtwCustomer', 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 };
333
+ export type GetCustomerQuery = { 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 };
326
334
 
327
- export type ListProductsQueryVariables = Types.Exact<{
328
- filter?: Types.InputMaybe<Types.CargoItemFilterInput>;
329
- pagination?: Types.InputMaybe<Types.PaginationInput>;
335
+ export type ListProductsQueryVariables = Exact<{
336
+ filter?: Types.CargoItemFilterInput | null | undefined;
337
+ pagination?: Types.PaginationInput | null | undefined;
330
338
  }>;
331
339
 
332
340
 
333
- export type ListProductsQuery = { __typename?: 'Query', cargoItems: Array<{ __typename?: 'MtwCargoItem', 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 }> };
341
+ export type ListProductsQuery = { cargoItems: Array<{ 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 }> };
334
342
 
335
- export type GetProductQueryVariables = Types.Exact<{
336
- id: Types.Scalars['ID']['input'];
343
+ export type GetProductQueryVariables = Exact<{
344
+ id: string;
337
345
  }>;
338
346
 
339
347
 
340
- export type GetProductQuery = { __typename?: 'Query', cargoItem?: { __typename?: 'MtwCargoItem', 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 };
348
+ export type GetProductQuery = { cargoItem: { 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 };
341
349
 
342
- export type ListVehiclesQueryVariables = Types.Exact<{
343
- filter?: Types.InputMaybe<Types.VehicleFilterInput>;
344
- pagination?: Types.InputMaybe<Types.PaginationInput>;
350
+ export type ListVehiclesQueryVariables = Exact<{
351
+ filter?: Types.VehicleFilterInput | null | undefined;
352
+ pagination?: Types.PaginationInput | null | undefined;
345
353
  }>;
346
354
 
347
355
 
348
- export type ListVehiclesQuery = { __typename?: 'Query', vehicles: Array<{ __typename?: 'MtwVehicle', 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 }> };
356
+ export type ListVehiclesQuery = { vehicles: Array<{ 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 }> };
349
357
 
350
- export type GetVehicleQueryVariables = Types.Exact<{
351
- id: Types.Scalars['ID']['input'];
358
+ export type GetVehicleQueryVariables = Exact<{
359
+ id: string;
352
360
  }>;
353
361
 
354
362
 
355
- export type GetVehicleQuery = { __typename?: 'Query', vehicle?: { __typename?: 'MtwVehicle', 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 };
363
+ export type GetVehicleQuery = { 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 };
356
364
 
357
- export type ListDriversQueryVariables = Types.Exact<{
358
- filter?: Types.InputMaybe<Types.DriverFilterInput>;
359
- pagination?: Types.InputMaybe<Types.PaginationInput>;
365
+ export type ListDriversQueryVariables = Exact<{
366
+ filter?: Types.DriverFilterInput | null | undefined;
367
+ pagination?: Types.PaginationInput | null | undefined;
360
368
  }>;
361
369
 
362
370
 
363
- export type ListDriversQuery = { __typename?: 'Query', drivers: Array<{ __typename?: 'MtwDriver', 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 }> };
371
+ export type ListDriversQuery = { drivers: Array<{ 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 }> };
364
372
 
365
- export type GetDriverQueryVariables = Types.Exact<{
366
- id: Types.Scalars['ID']['input'];
373
+ export type GetDriverQueryVariables = Exact<{
374
+ id: string;
367
375
  }>;
368
376
 
369
377
 
370
- export type GetDriverQuery = { __typename?: 'Query', driver?: { __typename?: 'MtwDriver', 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 };
378
+ export type GetDriverQuery = { 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 };
371
379
 
372
- export type ListWarehousesQueryVariables = Types.Exact<{
373
- filter?: Types.InputMaybe<Types.WarehouseFilterInput>;
374
- pagination?: Types.InputMaybe<Types.PaginationInput>;
380
+ export type ListWarehousesQueryVariables = Exact<{
381
+ filter?: Types.WarehouseFilterInput | null | undefined;
382
+ pagination?: Types.PaginationInput | null | undefined;
375
383
  }>;
376
384
 
377
385
 
378
- export type ListWarehousesQuery = { __typename?: 'Query', warehouses: Array<{ __typename?: 'MtwWarehouse', 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?: 'MtwWarehouseLocation', 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 }> }> };
386
+ export type ListWarehousesQuery = { warehouses: Array<{ 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<{ 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 }> }> };
379
387
 
380
- export type GetWarehouseQueryVariables = Types.Exact<{
381
- id: Types.Scalars['ID']['input'];
388
+ export type GetWarehouseQueryVariables = Exact<{
389
+ id: string;
382
390
  }>;
383
391
 
384
392
 
385
- export type GetWarehouseQuery = { __typename?: 'Query', warehouse?: { __typename?: 'MtwWarehouse', 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?: 'MtwWarehouseLocation', 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 };
393
+ export type GetWarehouseQuery = { 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<{ 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 };
386
394
 
387
- export type GetMovethewheelsDemandForecastByLaneQueryVariables = Types.Exact<{
388
- weeks: Types.Scalars['Int']['input'];
395
+ export type GetMovethewheelsDemandForecastByLaneQueryVariables = Exact<{
396
+ weeks: number;
389
397
  }>;
390
398
 
391
399
 
392
- export type GetMovethewheelsDemandForecastByLaneQuery = { __typename?: 'Query', demandForecastByLane: Array<{ __typename?: 'MtwDemandForecastPoint', scopeType: Types.DemandForecastScope, scopeKey: string, periodStart: string, periodEnd: string, predictedVolume: number, predictedRevenue: number, actualVolume?: number | null, actualRevenue?: number | null, confidence: number }> };
400
+ export type GetMovethewheelsDemandForecastByLaneQuery = { demandForecastByLane: Array<{ scopeType: Types.DemandForecastScope, scopeKey: string, periodStart: string, periodEnd: string, predictedVolume: number, predictedRevenue: number, actualVolume: number | null, actualRevenue: number | null, confidence: number }> };
393
401
 
394
- export type GetMovethewheelsDemandForecastByCustomerQueryVariables = Types.Exact<{
395
- weeks: Types.Scalars['Int']['input'];
402
+ export type GetMovethewheelsDemandForecastByCustomerQueryVariables = Exact<{
403
+ weeks: number;
396
404
  }>;
397
405
 
398
406
 
399
- export type GetMovethewheelsDemandForecastByCustomerQuery = { __typename?: 'Query', demandForecastByCustomer: Array<{ __typename?: 'MtwDemandForecastPoint', scopeType: Types.DemandForecastScope, scopeKey: string, periodStart: string, periodEnd: string, predictedVolume: number, predictedRevenue: number, actualVolume?: number | null, actualRevenue?: number | null, confidence: number }> };
407
+ export type GetMovethewheelsDemandForecastByCustomerQuery = { demandForecastByCustomer: Array<{ scopeType: Types.DemandForecastScope, scopeKey: string, periodStart: string, periodEnd: string, predictedVolume: number, predictedRevenue: number, actualVolume: number | null, actualRevenue: number | null, confidence: number }> };
400
408
 
401
- export type GetMovethewheelsDemandForecastVarianceQueryVariables = Types.Exact<{
409
+ export type GetMovethewheelsDemandForecastVarianceQueryVariables = Exact<{
402
410
  scopeType: Types.DemandForecastScope;
403
- limit: Types.Scalars['Int']['input'];
411
+ limit: number;
404
412
  }>;
405
413
 
406
414
 
407
- export type GetMovethewheelsDemandForecastVarianceQuery = { __typename?: 'Query', demandForecastVariance: Array<{ __typename?: 'MtwDemandForecastVariance', scopeType: Types.DemandForecastScope, scopeKey: string, periodStart: string, periodEnd: string, predictedVolume: number, actualVolume: number, volumeVariance: number, predictedRevenue: number, actualRevenue: number, revenueVariance: number }> };
415
+ export type GetMovethewheelsDemandForecastVarianceQuery = { demandForecastVariance: Array<{ scopeType: Types.DemandForecastScope, scopeKey: string, periodStart: string, periodEnd: string, predictedVolume: number, actualVolume: number, volumeVariance: number, predictedRevenue: number, actualRevenue: number, revenueVariance: number }> };
408
416
 
409
- export type ListInventoryItemsQueryVariables = Types.Exact<{
410
- filter?: Types.InputMaybe<Types.InventoryFilterInput>;
411
- pagination?: Types.InputMaybe<Types.PaginationInput>;
417
+ export type ListInventoryItemsQueryVariables = Exact<{
418
+ filter?: Types.InventoryFilterInput | null | undefined;
419
+ pagination?: Types.PaginationInput | null | undefined;
412
420
  }>;
413
421
 
414
422
 
415
- export type ListInventoryItemsQuery = { __typename?: 'Query', inventoryItems: Array<{ __typename?: 'MtwInventoryItem', id: string, cargoItemId: 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, cargoItem?: { __typename?: 'MtwCargoItem', id: string, name: string, sku: string, category?: string | null } | null, warehouse?: { __typename?: 'MtwWarehouse', id: string, name: string, code: string, type: Types.WarehouseType } | null }> };
423
+ export type ListInventoryItemsQuery = { inventoryItems: Array<{ id: string, cargoItemId: 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, cargoItem: { id: string, name: string, sku: string, category: string | null } | null, warehouse: { id: string, name: string, code: string, type: Types.WarehouseType } | null }> };
416
424
 
417
- export type GetInventoryStatsQueryVariables = Types.Exact<{ [key: string]: never; }>;
425
+ export type GetInventoryStatsQueryVariables = Exact<{ [key: string]: never; }>;
418
426
 
419
427
 
420
- export type GetInventoryStatsQuery = { __typename?: 'Query', inventoryStats: { __typename?: 'MtwInventoryStats', totalOnHand: number, totalAvailable: number, totalAllocated: number, totalDamaged: number, lowStockCount: number } };
428
+ export type GetInventoryStatsQuery = { inventoryStats: { totalOnHand: number, totalAvailable: number, totalAllocated: number, totalDamaged: number, lowStockCount: number } };
421
429
 
422
- export type ListRoutesQueryVariables = Types.Exact<{
423
- filter?: Types.InputMaybe<Types.RouteFilterInput>;
424
- pagination?: Types.InputMaybe<Types.PaginationInput>;
430
+ export type ListRoutesQueryVariables = Exact<{
431
+ filter?: Types.RouteFilterInput | null | undefined;
432
+ pagination?: Types.PaginationInput | null | undefined;
425
433
  }>;
426
434
 
427
435
 
428
- export type ListRoutesQuery = { __typename?: 'Query', routes: Array<{ __typename?: 'MtwRoute', 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 }> };
436
+ export type ListRoutesQuery = { routes: Array<{ 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 }> };
429
437
 
430
- export type GetRouteQueryVariables = Types.Exact<{
431
- id: Types.Scalars['ID']['input'];
438
+ export type GetRouteQueryVariables = Exact<{
439
+ id: string;
432
440
  }>;
433
441
 
434
442
 
435
- export type GetRouteQuery = { __typename?: 'Query', route?: { __typename?: 'MtwRoute', 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 };
443
+ export type GetRouteQuery = { 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 };
436
444
 
437
- export type ListShipmentsQueryVariables = Types.Exact<{
438
- filter?: Types.InputMaybe<Types.ShipmentFilterInput>;
439
- pagination?: Types.InputMaybe<Types.PaginationInput>;
445
+ export type ListShipmentsQueryVariables = Exact<{
446
+ filter?: Types.ShipmentFilterInput | null | undefined;
447
+ pagination?: Types.PaginationInput | null | undefined;
440
448
  }>;
441
449
 
442
450
 
443
- export type ListShipmentsQuery = { __typename?: 'Query', shipments: Array<{ __typename?: 'MtwShipment', id: string, shipmentNumber: string, deliveryJobId?: string | null, 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 }> };
451
+ export type ListShipmentsQuery = { shipments: Array<{ id: string, shipmentNumber: string, deliveryJobId: string | null, 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 }> };
444
452
 
445
- export type GetShipmentQueryVariables = Types.Exact<{
446
- id: Types.Scalars['ID']['input'];
453
+ export type GetShipmentQueryVariables = Exact<{
454
+ id: string;
447
455
  }>;
448
456
 
449
457
 
450
- export type GetShipmentQuery = { __typename?: 'Query', shipment?: { __typename?: 'MtwShipment', id: string, shipmentNumber: string, deliveryJobId?: string | null, 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?: 'MtwTrackingEvent', id: string, eventType: Types.TrackingEventType, location?: Record<string, unknown> | null, details?: string | null, timestamp: string }> } | null };
458
+ export type GetShipmentQuery = { shipment: { id: string, shipmentNumber: string, deliveryJobId: string | null, 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<{ id: string, eventType: Types.TrackingEventType, location: Record<string, unknown> | null, details: string | null, timestamp: string }> } | null };
451
459
 
452
- export type GetDeliveryJobTrackingQueryVariables = Types.Exact<{
453
- deliveryJobId: Types.Scalars['ID']['input'];
454
- pagination?: Types.InputMaybe<Types.PaginationInput>;
460
+ export type GetDeliveryJobTrackingQueryVariables = Exact<{
461
+ deliveryJobId: string;
462
+ pagination?: Types.PaginationInput | null | undefined;
455
463
  }>;
456
464
 
457
465
 
458
- export type GetDeliveryJobTrackingQuery = { __typename?: 'Query', deliveryJobTracking: Array<{ __typename?: 'MtwTrackingEvent', id: string, shipmentId: string, eventType: Types.TrackingEventType, location?: Record<string, unknown> | null, details?: string | null, timestamp: string }> };
466
+ export type GetDeliveryJobTrackingQuery = { deliveryJobTracking: Array<{ id: string, shipmentId: string, eventType: Types.TrackingEventType, location: Record<string, unknown> | null, details: string | null, timestamp: string }> };
459
467
 
460
- export type GetActiveDeliveriesQueryVariables = Types.Exact<{ [key: string]: never; }>;
468
+ export type GetActiveDeliveriesQueryVariables = Exact<{ [key: string]: never; }>;
461
469
 
462
470
 
463
- export type GetActiveDeliveriesQuery = { __typename?: 'Query', activeDeliveries: Array<{ __typename?: 'MtwShipment', id: string, shipmentNumber: string, deliveryJobId?: string | null, 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 }> };
471
+ export type GetActiveDeliveriesQuery = { activeDeliveries: Array<{ id: string, shipmentNumber: string, deliveryJobId: string | null, 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 }> };
464
472
 
465
- export type GetTrackingAlertsQueryVariables = Types.Exact<{ [key: string]: never; }>;
473
+ export type GetTrackingAlertsQueryVariables = Exact<{ [key: string]: never; }>;
466
474
 
467
475
 
468
- export type GetTrackingAlertsQuery = { __typename?: 'Query', trackingAlerts: Array<{ __typename?: 'MtwTrackingAlert', shipmentId: string, shipmentNumber: string, alertType: string, message: string }> };
476
+ export type GetTrackingAlertsQuery = { trackingAlerts: Array<{ shipmentId: string, shipmentNumber: string, alertType: string, message: string }> };
469
477
 
470
- export type ListMovethewheelsOrdersQueryVariables = Types.Exact<{
471
- filter?: Types.InputMaybe<Types.DeliveryJobFilterInput>;
472
- pagination?: Types.InputMaybe<Types.PaginationInput>;
478
+ export type ListMovethewheelsOrdersQueryVariables = Exact<{
479
+ filter?: Types.DeliveryJobFilterInput | null | undefined;
480
+ pagination?: Types.PaginationInput | null | undefined;
473
481
  }>;
474
482
 
475
483
 
476
- export type ListMovethewheelsOrdersQuery = { __typename?: 'Query', deliveryJobs: Array<{ __typename?: 'MtwDeliveryJob', id: string, deliveryJobNumber: string, status: Types.DeliveryJobStatus, priority: Types.DeliveryPriority, customerId: string, trackingNumber?: string | null, pickupAddress: Record<string, unknown>, deliveryAddress: Record<string, unknown>, cargoItems: Record<string, unknown>, pricing?: Record<string, unknown> | null, scheduledDelivery?: string | null, vehicleId?: string | null, driverId?: string | null, createdAt: string, updatedAt: string }> };
484
+ export type ListMovethewheelsOrdersQuery = { deliveryJobs: Array<{ id: string, deliveryJobNumber: string, status: Types.DeliveryJobStatus, priority: Types.DeliveryPriority, customerId: string, trackingNumber: string | null, pickupAddress: Record<string, unknown>, deliveryAddress: Record<string, unknown>, cargoItems: Record<string, unknown>, pricing: Record<string, unknown> | null, scheduledDelivery: string | null, vehicleId: string | null, driverId: string | null, createdAt: string, updatedAt: string }> };
477
485
 
478
- export type GetMovethewheelsOrderQueryVariables = Types.Exact<{
479
- id: Types.Scalars['ID']['input'];
486
+ export type GetMovethewheelsOrderQueryVariables = Exact<{
487
+ id: string;
480
488
  }>;
481
489
 
482
490
 
483
- export type GetMovethewheelsOrderQuery = { __typename?: 'Query', deliveryJob?: { __typename?: 'MtwDeliveryJob', id: string, deliveryJobNumber: string, status: Types.DeliveryJobStatus, priority: Types.DeliveryPriority, customerId: string, trackingNumber?: string | null, pickupAddress: Record<string, unknown>, deliveryAddress: Record<string, unknown>, cargoItems: Record<string, unknown>, pricing?: Record<string, unknown> | null, scheduledDelivery?: string | null, vehicleId?: string | null, driverId?: string | null, createdAt: string, updatedAt: string, customer?: { __typename?: 'MtwCustomer', id: string, name: string, email?: string | null, phone?: string | null } | null, vehicle?: { __typename?: 'MtwVehicle', id: string, vehicleNumber: string, type: Types.VehicleType, status: Types.VehicleStatus } | null, driver?: { __typename?: 'MtwDriver', id: string, firstName: string, lastName: string, status: Types.DriverStatus } | null, statusHistory: Array<{ __typename?: 'MtwDeliveryJobStatusHistory', id: string, status: Types.DeliveryJobStatus, previousStatus?: Types.DeliveryJobStatus | null, notes?: string | null, location?: Record<string, unknown> | null, createdAt: string }>, shipment?: { __typename?: 'MtwShipment', id: string, shipmentNumber: string, status: Types.ShipmentStatus, trackingNumber?: string | null } | null } | null };
484
-
485
- export const MovethewheelsOrderCoreFragmentDoc = gql`
486
- fragment MovethewheelsOrderCore on MtwDeliveryJob {
487
- id
488
- deliveryJobNumber
489
- status
490
- priority
491
- customerId
492
- trackingNumber
493
- pickupAddress
494
- deliveryAddress
495
- cargoItems
496
- pricing
497
- scheduledDelivery
498
- vehicleId
499
- driverId
500
- createdAt
501
- updatedAt
502
- }
503
- `;
504
- export const CustomerCoreFragmentDoc = gql`
505
- fragment CustomerCore on MtwCustomer {
506
- id
507
- name
508
- email
509
- phone
510
- type
511
- company
512
- address
513
- rating
514
- createdAt
515
- updatedAt
516
- }
517
- `;
518
- export const ProductCoreFragmentDoc = gql`
519
- fragment ProductCore on MtwCargoItem {
520
- id
521
- sku
522
- name
523
- description
524
- category
525
- brand
526
- dimensions
527
- weight
528
- value
529
- hazardous
530
- fragile
531
- temperatureControlled
532
- createdAt
533
- updatedAt
534
- }
535
- `;
536
- export const VehicleCoreFragmentDoc = gql`
537
- fragment VehicleCore on MtwVehicle {
538
- id
539
- vehicleNumber
540
- make
541
- model
542
- year
543
- licensePlate
544
- type
545
- ownershipType
546
- capacity
547
- status
548
- currentLocation
549
- fuelLevel
550
- mileage
551
- createdAt
552
- updatedAt
553
- }
554
- `;
555
- export const DriverCoreFragmentDoc = gql`
556
- fragment DriverCore on MtwDriver {
557
- id
558
- employeeId
559
- firstName
560
- lastName
561
- phone
562
- email
563
- licenseNumber
564
- licenseClass
565
- licenseExpiry
566
- status
567
- currentLocation
568
- rating
569
- userId
570
- vehicleId
571
- createdAt
572
- updatedAt
573
- }
574
- `;
575
- export const WarehouseCoreFragmentDoc = gql`
576
- fragment WarehouseCore on MtwWarehouse {
577
- id
578
- name
579
- code
580
- type
581
- address
582
- contactInfo
583
- operatingHours
584
- capabilities
585
- status
586
- totalCapacity
587
- usedCapacity
588
- createdAt
589
- updatedAt
590
- }
591
- `;
592
- export const InventoryItemCoreFragmentDoc = gql`
593
- fragment InventoryItemCore on MtwInventoryItem {
594
- id
595
- cargoItemId
596
- warehouseId
597
- locationId
598
- onHand
599
- available
600
- allocated
601
- damaged
602
- unitCost
603
- reorderPoint
604
- safetyStock
605
- createdAt
606
- updatedAt
607
- }
608
- `;
609
- export const RouteCoreFragmentDoc = gql`
610
- fragment RouteCore on MtwRoute {
611
- id
612
- name
613
- status
614
- shipmentId
615
- vehicleId
616
- driverId
617
- waypoints
618
- estimatedDistance
619
- estimatedDuration
620
- actualDistance
621
- actualDuration
622
- fuelCost
623
- createdAt
624
- updatedAt
625
- }
626
- `;
627
- export const ShipmentCoreFragmentDoc = gql`
628
- fragment ShipmentCore on MtwShipment {
629
- id
630
- shipmentNumber
631
- deliveryJobId
632
- customerId
633
- carrierId
634
- status
635
- origin
636
- destination
637
- cargoDetails
638
- trackingNumber
639
- estimatedDelivery
640
- actualDelivery
641
- createdAt
642
- updatedAt
643
- }
644
- `;
645
- export const ContainerEvidenceFilesDocument = gql`
646
- query ContainerEvidenceFiles($pagination: PaginationInput) {
647
- getFiles(filter: {status: ACTIVE}, pagination: $pagination) {
648
- files {
649
- id
650
- name
651
- canRead
652
- }
653
- hasMore
654
- }
655
- }
656
- `;
657
-
658
- /**
659
- * __useContainerEvidenceFilesQuery__
660
- *
661
- * To run a query within a React component, call `useContainerEvidenceFilesQuery` and pass it any options that fit your needs.
662
- * When your component renders, `useContainerEvidenceFilesQuery` returns an object from Apollo Client that contains loading, error, and data properties
663
- * you can use to render your UI.
664
- *
665
- * @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;
666
- *
667
- * @example
668
- * const { data, loading, error } = useContainerEvidenceFilesQuery({
669
- * variables: {
670
- * pagination: // value for 'pagination'
671
- * },
672
- * });
673
- */
674
- export function useContainerEvidenceFilesQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.ContainerEvidenceFilesQuery, Types.ContainerEvidenceFilesQueryVariables>) {
675
- const options = {...defaultOptions, ...baseOptions}
676
- return ApolloReactHooks.useQuery<Types.ContainerEvidenceFilesQuery, Types.ContainerEvidenceFilesQueryVariables>(ContainerEvidenceFilesDocument, options);
677
- }
678
- export function useContainerEvidenceFilesLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.ContainerEvidenceFilesQuery, Types.ContainerEvidenceFilesQueryVariables>) {
679
- const options = {...defaultOptions, ...baseOptions}
680
- return ApolloReactHooks.useLazyQuery<Types.ContainerEvidenceFilesQuery, Types.ContainerEvidenceFilesQueryVariables>(ContainerEvidenceFilesDocument, options);
681
- }
682
- // @ts-ignore
683
- export function useContainerEvidenceFilesSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.ContainerEvidenceFilesQuery, Types.ContainerEvidenceFilesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ContainerEvidenceFilesQuery, Types.ContainerEvidenceFilesQueryVariables>;
684
- export function useContainerEvidenceFilesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ContainerEvidenceFilesQuery, Types.ContainerEvidenceFilesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ContainerEvidenceFilesQuery | undefined, Types.ContainerEvidenceFilesQueryVariables>;
685
- export function useContainerEvidenceFilesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ContainerEvidenceFilesQuery, Types.ContainerEvidenceFilesQueryVariables>) {
686
- const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
687
- return ApolloReactHooks.useSuspenseQuery<Types.ContainerEvidenceFilesQuery, Types.ContainerEvidenceFilesQueryVariables>(ContainerEvidenceFilesDocument, options);
688
- }
689
- export type ContainerEvidenceFilesQueryHookResult = ReturnType<typeof useContainerEvidenceFilesQuery>;
690
- export type ContainerEvidenceFilesLazyQueryHookResult = ReturnType<typeof useContainerEvidenceFilesLazyQuery>;
691
- export type ContainerEvidenceFilesSuspenseQueryHookResult = ReturnType<typeof useContainerEvidenceFilesSuspenseQuery>;
692
- export type ContainerEvidenceFilesQueryResult = Apollo.QueryResult<Types.ContainerEvidenceFilesQuery, Types.ContainerEvidenceFilesQueryVariables>;
693
- export const ContainerEvidenceVersionsDocument = gql`
694
- query ContainerEvidenceVersions($fileId: ID!, $pagination: PaginationInput) {
695
- getFileVersions(fileId: $fileId, pagination: $pagination) {
696
- versions {
697
- id
698
- fileId
699
- name
700
- versionNumber
701
- versionLabel
702
- sha256Hash
703
- createdAt
704
- }
705
- hasMore
706
- }
707
- }
708
- `;
709
-
710
- /**
711
- * __useContainerEvidenceVersionsQuery__
712
- *
713
- * To run a query within a React component, call `useContainerEvidenceVersionsQuery` and pass it any options that fit your needs.
714
- * When your component renders, `useContainerEvidenceVersionsQuery` returns an object from Apollo Client that contains loading, error, and data properties
715
- * you can use to render your UI.
716
- *
717
- * @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;
718
- *
719
- * @example
720
- * const { data, loading, error } = useContainerEvidenceVersionsQuery({
721
- * variables: {
722
- * fileId: // value for 'fileId'
723
- * pagination: // value for 'pagination'
724
- * },
725
- * });
726
- */
727
- export function useContainerEvidenceVersionsQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.ContainerEvidenceVersionsQuery, Types.ContainerEvidenceVersionsQueryVariables> & ({ variables: Types.ContainerEvidenceVersionsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {
728
- const options = {...defaultOptions, ...baseOptions}
729
- return ApolloReactHooks.useQuery<Types.ContainerEvidenceVersionsQuery, Types.ContainerEvidenceVersionsQueryVariables>(ContainerEvidenceVersionsDocument, options);
730
- }
731
- export function useContainerEvidenceVersionsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.ContainerEvidenceVersionsQuery, Types.ContainerEvidenceVersionsQueryVariables>) {
732
- const options = {...defaultOptions, ...baseOptions}
733
- return ApolloReactHooks.useLazyQuery<Types.ContainerEvidenceVersionsQuery, Types.ContainerEvidenceVersionsQueryVariables>(ContainerEvidenceVersionsDocument, options);
734
- }
735
- // @ts-ignore
736
- export function useContainerEvidenceVersionsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.ContainerEvidenceVersionsQuery, Types.ContainerEvidenceVersionsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ContainerEvidenceVersionsQuery, Types.ContainerEvidenceVersionsQueryVariables>;
737
- export function useContainerEvidenceVersionsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ContainerEvidenceVersionsQuery, Types.ContainerEvidenceVersionsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ContainerEvidenceVersionsQuery | undefined, Types.ContainerEvidenceVersionsQueryVariables>;
738
- export function useContainerEvidenceVersionsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ContainerEvidenceVersionsQuery, Types.ContainerEvidenceVersionsQueryVariables>) {
739
- const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
740
- return ApolloReactHooks.useSuspenseQuery<Types.ContainerEvidenceVersionsQuery, Types.ContainerEvidenceVersionsQueryVariables>(ContainerEvidenceVersionsDocument, options);
741
- }
742
- export type ContainerEvidenceVersionsQueryHookResult = ReturnType<typeof useContainerEvidenceVersionsQuery>;
743
- export type ContainerEvidenceVersionsLazyQueryHookResult = ReturnType<typeof useContainerEvidenceVersionsLazyQuery>;
744
- export type ContainerEvidenceVersionsSuspenseQueryHookResult = ReturnType<typeof useContainerEvidenceVersionsSuspenseQuery>;
745
- export type ContainerEvidenceVersionsQueryResult = Apollo.QueryResult<Types.ContainerEvidenceVersionsQuery, Types.ContainerEvidenceVersionsQueryVariables>;
746
- export const CreateCustomerDocument = gql`
747
- mutation CreateCustomer($input: CreateCustomerInput!) {
748
- createCustomer(input: $input) {
749
- ...CustomerCore
750
- }
751
- }
752
- ${CustomerCoreFragmentDoc}`;
753
- export type CreateCustomerMutationFn = Apollo.MutationFunction<Types.CreateCustomerMutation, Types.CreateCustomerMutationVariables>;
754
-
755
- /**
756
- * __useCreateCustomerMutation__
757
- *
758
- * To run a mutation, you first call `useCreateCustomerMutation` within a React component and pass it any options that fit your needs.
759
- * When your component renders, `useCreateCustomerMutation` returns a tuple that includes:
760
- * - A mutate function that you can call at any time to execute the mutation
761
- * - An object with fields that represent the current status of the mutation's execution
762
- *
763
- * @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;
764
- *
765
- * @example
766
- * const [createCustomerMutation, { data, loading, error }] = useCreateCustomerMutation({
767
- * variables: {
768
- * input: // value for 'input'
769
- * },
770
- * });
771
- */
772
- export function useCreateCustomerMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CreateCustomerMutation, Types.CreateCustomerMutationVariables>) {
773
- const options = {...defaultOptions, ...baseOptions}
774
- return ApolloReactHooks.useMutation<Types.CreateCustomerMutation, Types.CreateCustomerMutationVariables>(CreateCustomerDocument, options);
775
- }
776
- export type CreateCustomerMutationHookResult = ReturnType<typeof useCreateCustomerMutation>;
777
- export type CreateCustomerMutationResult = Apollo.MutationResult<Types.CreateCustomerMutation>;
778
- export type CreateCustomerMutationOptions = Apollo.BaseMutationOptions<Types.CreateCustomerMutation, Types.CreateCustomerMutationVariables>;
779
- export const UpdateCustomerDocument = gql`
780
- mutation UpdateCustomer($id: ID!, $input: UpdateCustomerInput!) {
781
- updateCustomer(id: $id, input: $input) {
782
- ...CustomerCore
783
- }
784
- }
785
- ${CustomerCoreFragmentDoc}`;
786
- export type UpdateCustomerMutationFn = Apollo.MutationFunction<Types.UpdateCustomerMutation, Types.UpdateCustomerMutationVariables>;
787
-
788
- /**
789
- * __useUpdateCustomerMutation__
790
- *
791
- * To run a mutation, you first call `useUpdateCustomerMutation` within a React component and pass it any options that fit your needs.
792
- * When your component renders, `useUpdateCustomerMutation` returns a tuple that includes:
793
- * - A mutate function that you can call at any time to execute the mutation
794
- * - An object with fields that represent the current status of the mutation's execution
795
- *
796
- * @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;
797
- *
798
- * @example
799
- * const [updateCustomerMutation, { data, loading, error }] = useUpdateCustomerMutation({
800
- * variables: {
801
- * id: // value for 'id'
802
- * input: // value for 'input'
803
- * },
804
- * });
805
- */
806
- export function useUpdateCustomerMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateCustomerMutation, Types.UpdateCustomerMutationVariables>) {
807
- const options = {...defaultOptions, ...baseOptions}
808
- return ApolloReactHooks.useMutation<Types.UpdateCustomerMutation, Types.UpdateCustomerMutationVariables>(UpdateCustomerDocument, options);
809
- }
810
- export type UpdateCustomerMutationHookResult = ReturnType<typeof useUpdateCustomerMutation>;
811
- export type UpdateCustomerMutationResult = Apollo.MutationResult<Types.UpdateCustomerMutation>;
812
- export type UpdateCustomerMutationOptions = Apollo.BaseMutationOptions<Types.UpdateCustomerMutation, Types.UpdateCustomerMutationVariables>;
813
- export const DeleteCustomerDocument = gql`
814
- mutation DeleteCustomer($id: ID!) {
815
- deleteCustomer(id: $id)
816
- }
817
- `;
818
- export type DeleteCustomerMutationFn = Apollo.MutationFunction<Types.DeleteCustomerMutation, Types.DeleteCustomerMutationVariables>;
819
-
820
- /**
821
- * __useDeleteCustomerMutation__
822
- *
823
- * To run a mutation, you first call `useDeleteCustomerMutation` within a React component and pass it any options that fit your needs.
824
- * When your component renders, `useDeleteCustomerMutation` returns a tuple that includes:
825
- * - A mutate function that you can call at any time to execute the mutation
826
- * - An object with fields that represent the current status of the mutation's execution
827
- *
828
- * @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;
829
- *
830
- * @example
831
- * const [deleteCustomerMutation, { data, loading, error }] = useDeleteCustomerMutation({
832
- * variables: {
833
- * id: // value for 'id'
834
- * },
835
- * });
836
- */
837
- export function useDeleteCustomerMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeleteCustomerMutation, Types.DeleteCustomerMutationVariables>) {
838
- const options = {...defaultOptions, ...baseOptions}
839
- return ApolloReactHooks.useMutation<Types.DeleteCustomerMutation, Types.DeleteCustomerMutationVariables>(DeleteCustomerDocument, options);
840
- }
841
- export type DeleteCustomerMutationHookResult = ReturnType<typeof useDeleteCustomerMutation>;
842
- export type DeleteCustomerMutationResult = Apollo.MutationResult<Types.DeleteCustomerMutation>;
843
- export type DeleteCustomerMutationOptions = Apollo.BaseMutationOptions<Types.DeleteCustomerMutation, Types.DeleteCustomerMutationVariables>;
844
- export const CreateProductDocument = gql`
845
- mutation CreateProduct($input: CreateCargoItemInput!) {
846
- createCargoItem(input: $input) {
847
- ...ProductCore
848
- }
849
- }
850
- ${ProductCoreFragmentDoc}`;
851
- export type CreateProductMutationFn = Apollo.MutationFunction<Types.CreateProductMutation, Types.CreateProductMutationVariables>;
852
-
853
- /**
854
- * __useCreateProductMutation__
855
- *
856
- * To run a mutation, you first call `useCreateProductMutation` within a React component and pass it any options that fit your needs.
857
- * When your component renders, `useCreateProductMutation` returns a tuple that includes:
858
- * - A mutate function that you can call at any time to execute the mutation
859
- * - An object with fields that represent the current status of the mutation's execution
860
- *
861
- * @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;
862
- *
863
- * @example
864
- * const [createProductMutation, { data, loading, error }] = useCreateProductMutation({
865
- * variables: {
866
- * input: // value for 'input'
867
- * },
868
- * });
869
- */
870
- export function useCreateProductMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CreateProductMutation, Types.CreateProductMutationVariables>) {
871
- const options = {...defaultOptions, ...baseOptions}
872
- return ApolloReactHooks.useMutation<Types.CreateProductMutation, Types.CreateProductMutationVariables>(CreateProductDocument, options);
873
- }
874
- export type CreateProductMutationHookResult = ReturnType<typeof useCreateProductMutation>;
875
- export type CreateProductMutationResult = Apollo.MutationResult<Types.CreateProductMutation>;
876
- export type CreateProductMutationOptions = Apollo.BaseMutationOptions<Types.CreateProductMutation, Types.CreateProductMutationVariables>;
877
- export const UpdateProductDocument = gql`
878
- mutation UpdateProduct($id: ID!, $input: UpdateCargoItemInput!) {
879
- updateCargoItem(id: $id, input: $input) {
880
- ...ProductCore
881
- }
882
- }
883
- ${ProductCoreFragmentDoc}`;
884
- export type UpdateProductMutationFn = Apollo.MutationFunction<Types.UpdateProductMutation, Types.UpdateProductMutationVariables>;
885
-
886
- /**
887
- * __useUpdateProductMutation__
888
- *
889
- * To run a mutation, you first call `useUpdateProductMutation` within a React component and pass it any options that fit your needs.
890
- * When your component renders, `useUpdateProductMutation` returns a tuple that includes:
891
- * - A mutate function that you can call at any time to execute the mutation
892
- * - An object with fields that represent the current status of the mutation's execution
893
- *
894
- * @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;
895
- *
896
- * @example
897
- * const [updateProductMutation, { data, loading, error }] = useUpdateProductMutation({
898
- * variables: {
899
- * id: // value for 'id'
900
- * input: // value for 'input'
901
- * },
902
- * });
903
- */
904
- export function useUpdateProductMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateProductMutation, Types.UpdateProductMutationVariables>) {
905
- const options = {...defaultOptions, ...baseOptions}
906
- return ApolloReactHooks.useMutation<Types.UpdateProductMutation, Types.UpdateProductMutationVariables>(UpdateProductDocument, options);
907
- }
908
- export type UpdateProductMutationHookResult = ReturnType<typeof useUpdateProductMutation>;
909
- export type UpdateProductMutationResult = Apollo.MutationResult<Types.UpdateProductMutation>;
910
- export type UpdateProductMutationOptions = Apollo.BaseMutationOptions<Types.UpdateProductMutation, Types.UpdateProductMutationVariables>;
911
- export const DeleteProductDocument = gql`
912
- mutation DeleteProduct($id: ID!) {
913
- deleteCargoItem(id: $id)
914
- }
915
- `;
916
- export type DeleteProductMutationFn = Apollo.MutationFunction<Types.DeleteProductMutation, Types.DeleteProductMutationVariables>;
917
-
918
- /**
919
- * __useDeleteProductMutation__
920
- *
921
- * To run a mutation, you first call `useDeleteProductMutation` within a React component and pass it any options that fit your needs.
922
- * When your component renders, `useDeleteProductMutation` returns a tuple that includes:
923
- * - A mutate function that you can call at any time to execute the mutation
924
- * - An object with fields that represent the current status of the mutation's execution
925
- *
926
- * @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;
927
- *
928
- * @example
929
- * const [deleteProductMutation, { data, loading, error }] = useDeleteProductMutation({
930
- * variables: {
931
- * id: // value for 'id'
932
- * },
933
- * });
934
- */
935
- export function useDeleteProductMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeleteProductMutation, Types.DeleteProductMutationVariables>) {
936
- const options = {...defaultOptions, ...baseOptions}
937
- return ApolloReactHooks.useMutation<Types.DeleteProductMutation, Types.DeleteProductMutationVariables>(DeleteProductDocument, options);
938
- }
939
- export type DeleteProductMutationHookResult = ReturnType<typeof useDeleteProductMutation>;
940
- export type DeleteProductMutationResult = Apollo.MutationResult<Types.DeleteProductMutation>;
941
- export type DeleteProductMutationOptions = Apollo.BaseMutationOptions<Types.DeleteProductMutation, Types.DeleteProductMutationVariables>;
942
- export const CreateVehicleDocument = gql`
943
- mutation CreateVehicle($input: CreateVehicleInput!) {
944
- createVehicle(input: $input) {
945
- ...VehicleCore
946
- }
947
- }
948
- ${VehicleCoreFragmentDoc}`;
949
- export type CreateVehicleMutationFn = Apollo.MutationFunction<Types.CreateVehicleMutation, Types.CreateVehicleMutationVariables>;
950
-
951
- /**
952
- * __useCreateVehicleMutation__
953
- *
954
- * To run a mutation, you first call `useCreateVehicleMutation` within a React component and pass it any options that fit your needs.
955
- * When your component renders, `useCreateVehicleMutation` returns a tuple that includes:
956
- * - A mutate function that you can call at any time to execute the mutation
957
- * - An object with fields that represent the current status of the mutation's execution
958
- *
959
- * @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;
960
- *
961
- * @example
962
- * const [createVehicleMutation, { data, loading, error }] = useCreateVehicleMutation({
963
- * variables: {
964
- * input: // value for 'input'
965
- * },
966
- * });
967
- */
968
- export function useCreateVehicleMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CreateVehicleMutation, Types.CreateVehicleMutationVariables>) {
969
- const options = {...defaultOptions, ...baseOptions}
970
- return ApolloReactHooks.useMutation<Types.CreateVehicleMutation, Types.CreateVehicleMutationVariables>(CreateVehicleDocument, options);
971
- }
972
- export type CreateVehicleMutationHookResult = ReturnType<typeof useCreateVehicleMutation>;
973
- export type CreateVehicleMutationResult = Apollo.MutationResult<Types.CreateVehicleMutation>;
974
- export type CreateVehicleMutationOptions = Apollo.BaseMutationOptions<Types.CreateVehicleMutation, Types.CreateVehicleMutationVariables>;
975
- export const UpdateVehicleDocument = gql`
976
- mutation UpdateVehicle($id: ID!, $input: UpdateVehicleInput!) {
977
- updateVehicle(id: $id, input: $input) {
978
- ...VehicleCore
979
- }
980
- }
981
- ${VehicleCoreFragmentDoc}`;
982
- export type UpdateVehicleMutationFn = Apollo.MutationFunction<Types.UpdateVehicleMutation, Types.UpdateVehicleMutationVariables>;
983
-
984
- /**
985
- * __useUpdateVehicleMutation__
986
- *
987
- * To run a mutation, you first call `useUpdateVehicleMutation` within a React component and pass it any options that fit your needs.
988
- * When your component renders, `useUpdateVehicleMutation` returns a tuple that includes:
989
- * - A mutate function that you can call at any time to execute the mutation
990
- * - An object with fields that represent the current status of the mutation's execution
991
- *
992
- * @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;
993
- *
994
- * @example
995
- * const [updateVehicleMutation, { data, loading, error }] = useUpdateVehicleMutation({
996
- * variables: {
997
- * id: // value for 'id'
998
- * input: // value for 'input'
999
- * },
1000
- * });
1001
- */
1002
- export function useUpdateVehicleMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateVehicleMutation, Types.UpdateVehicleMutationVariables>) {
1003
- const options = {...defaultOptions, ...baseOptions}
1004
- return ApolloReactHooks.useMutation<Types.UpdateVehicleMutation, Types.UpdateVehicleMutationVariables>(UpdateVehicleDocument, options);
1005
- }
1006
- export type UpdateVehicleMutationHookResult = ReturnType<typeof useUpdateVehicleMutation>;
1007
- export type UpdateVehicleMutationResult = Apollo.MutationResult<Types.UpdateVehicleMutation>;
1008
- export type UpdateVehicleMutationOptions = Apollo.BaseMutationOptions<Types.UpdateVehicleMutation, Types.UpdateVehicleMutationVariables>;
1009
- export const UpdateVehicleStatusDocument = gql`
1010
- mutation UpdateVehicleStatus($id: ID!, $status: VehicleStatus!) {
1011
- updateVehicleStatus(id: $id, status: $status) {
1012
- ...VehicleCore
1013
- }
1014
- }
1015
- ${VehicleCoreFragmentDoc}`;
1016
- export type UpdateVehicleStatusMutationFn = Apollo.MutationFunction<Types.UpdateVehicleStatusMutation, Types.UpdateVehicleStatusMutationVariables>;
1017
-
1018
- /**
1019
- * __useUpdateVehicleStatusMutation__
1020
- *
1021
- * To run a mutation, you first call `useUpdateVehicleStatusMutation` within a React component and pass it any options that fit your needs.
1022
- * When your component renders, `useUpdateVehicleStatusMutation` returns a tuple that includes:
1023
- * - A mutate function that you can call at any time to execute the mutation
1024
- * - An object with fields that represent the current status of the mutation's execution
1025
- *
1026
- * @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;
1027
- *
1028
- * @example
1029
- * const [updateVehicleStatusMutation, { data, loading, error }] = useUpdateVehicleStatusMutation({
1030
- * variables: {
1031
- * id: // value for 'id'
1032
- * status: // value for 'status'
1033
- * },
1034
- * });
1035
- */
1036
- export function useUpdateVehicleStatusMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateVehicleStatusMutation, Types.UpdateVehicleStatusMutationVariables>) {
1037
- const options = {...defaultOptions, ...baseOptions}
1038
- return ApolloReactHooks.useMutation<Types.UpdateVehicleStatusMutation, Types.UpdateVehicleStatusMutationVariables>(UpdateVehicleStatusDocument, options);
1039
- }
1040
- export type UpdateVehicleStatusMutationHookResult = ReturnType<typeof useUpdateVehicleStatusMutation>;
1041
- export type UpdateVehicleStatusMutationResult = Apollo.MutationResult<Types.UpdateVehicleStatusMutation>;
1042
- export type UpdateVehicleStatusMutationOptions = Apollo.BaseMutationOptions<Types.UpdateVehicleStatusMutation, Types.UpdateVehicleStatusMutationVariables>;
1043
- export const UpdateVehicleLocationDocument = gql`
1044
- mutation UpdateVehicleLocation($id: ID!, $location: JSON!) {
1045
- updateVehicleLocation(id: $id, location: $location) {
1046
- ...VehicleCore
1047
- }
1048
- }
1049
- ${VehicleCoreFragmentDoc}`;
1050
- export type UpdateVehicleLocationMutationFn = Apollo.MutationFunction<Types.UpdateVehicleLocationMutation, Types.UpdateVehicleLocationMutationVariables>;
1051
-
1052
- /**
1053
- * __useUpdateVehicleLocationMutation__
1054
- *
1055
- * To run a mutation, you first call `useUpdateVehicleLocationMutation` within a React component and pass it any options that fit your needs.
1056
- * When your component renders, `useUpdateVehicleLocationMutation` returns a tuple that includes:
1057
- * - A mutate function that you can call at any time to execute the mutation
1058
- * - An object with fields that represent the current status of the mutation's execution
1059
- *
1060
- * @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;
1061
- *
1062
- * @example
1063
- * const [updateVehicleLocationMutation, { data, loading, error }] = useUpdateVehicleLocationMutation({
1064
- * variables: {
1065
- * id: // value for 'id'
1066
- * location: // value for 'location'
1067
- * },
1068
- * });
1069
- */
1070
- export function useUpdateVehicleLocationMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateVehicleLocationMutation, Types.UpdateVehicleLocationMutationVariables>) {
1071
- const options = {...defaultOptions, ...baseOptions}
1072
- return ApolloReactHooks.useMutation<Types.UpdateVehicleLocationMutation, Types.UpdateVehicleLocationMutationVariables>(UpdateVehicleLocationDocument, options);
1073
- }
1074
- export type UpdateVehicleLocationMutationHookResult = ReturnType<typeof useUpdateVehicleLocationMutation>;
1075
- export type UpdateVehicleLocationMutationResult = Apollo.MutationResult<Types.UpdateVehicleLocationMutation>;
1076
- export type UpdateVehicleLocationMutationOptions = Apollo.BaseMutationOptions<Types.UpdateVehicleLocationMutation, Types.UpdateVehicleLocationMutationVariables>;
1077
- export const DeleteVehicleDocument = gql`
1078
- mutation DeleteVehicle($id: ID!) {
1079
- deleteVehicle(id: $id)
1080
- }
1081
- `;
1082
- export type DeleteVehicleMutationFn = Apollo.MutationFunction<Types.DeleteVehicleMutation, Types.DeleteVehicleMutationVariables>;
1083
-
1084
- /**
1085
- * __useDeleteVehicleMutation__
1086
- *
1087
- * To run a mutation, you first call `useDeleteVehicleMutation` within a React component and pass it any options that fit your needs.
1088
- * When your component renders, `useDeleteVehicleMutation` returns a tuple that includes:
1089
- * - A mutate function that you can call at any time to execute the mutation
1090
- * - An object with fields that represent the current status of the mutation's execution
1091
- *
1092
- * @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;
1093
- *
1094
- * @example
1095
- * const [deleteVehicleMutation, { data, loading, error }] = useDeleteVehicleMutation({
1096
- * variables: {
1097
- * id: // value for 'id'
1098
- * },
1099
- * });
1100
- */
1101
- export function useDeleteVehicleMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeleteVehicleMutation, Types.DeleteVehicleMutationVariables>) {
1102
- const options = {...defaultOptions, ...baseOptions}
1103
- return ApolloReactHooks.useMutation<Types.DeleteVehicleMutation, Types.DeleteVehicleMutationVariables>(DeleteVehicleDocument, options);
1104
- }
1105
- export type DeleteVehicleMutationHookResult = ReturnType<typeof useDeleteVehicleMutation>;
1106
- export type DeleteVehicleMutationResult = Apollo.MutationResult<Types.DeleteVehicleMutation>;
1107
- export type DeleteVehicleMutationOptions = Apollo.BaseMutationOptions<Types.DeleteVehicleMutation, Types.DeleteVehicleMutationVariables>;
1108
- export const CreateDriverDocument = gql`
1109
- mutation CreateDriver($input: CreateDriverInput!) {
1110
- createDriver(input: $input) {
1111
- ...DriverCore
1112
- }
1113
- }
1114
- ${DriverCoreFragmentDoc}`;
1115
- export type CreateDriverMutationFn = Apollo.MutationFunction<Types.CreateDriverMutation, Types.CreateDriverMutationVariables>;
1116
-
1117
- /**
1118
- * __useCreateDriverMutation__
1119
- *
1120
- * To run a mutation, you first call `useCreateDriverMutation` within a React component and pass it any options that fit your needs.
1121
- * When your component renders, `useCreateDriverMutation` returns a tuple that includes:
1122
- * - A mutate function that you can call at any time to execute the mutation
1123
- * - An object with fields that represent the current status of the mutation's execution
1124
- *
1125
- * @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;
1126
- *
1127
- * @example
1128
- * const [createDriverMutation, { data, loading, error }] = useCreateDriverMutation({
1129
- * variables: {
1130
- * input: // value for 'input'
1131
- * },
1132
- * });
1133
- */
1134
- export function useCreateDriverMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CreateDriverMutation, Types.CreateDriverMutationVariables>) {
1135
- const options = {...defaultOptions, ...baseOptions}
1136
- return ApolloReactHooks.useMutation<Types.CreateDriverMutation, Types.CreateDriverMutationVariables>(CreateDriverDocument, options);
1137
- }
1138
- export type CreateDriverMutationHookResult = ReturnType<typeof useCreateDriverMutation>;
1139
- export type CreateDriverMutationResult = Apollo.MutationResult<Types.CreateDriverMutation>;
1140
- export type CreateDriverMutationOptions = Apollo.BaseMutationOptions<Types.CreateDriverMutation, Types.CreateDriverMutationVariables>;
1141
- export const UpdateDriverDocument = gql`
1142
- mutation UpdateDriver($id: ID!, $input: UpdateDriverInput!) {
1143
- updateDriver(id: $id, input: $input) {
1144
- ...DriverCore
1145
- }
1146
- }
1147
- ${DriverCoreFragmentDoc}`;
1148
- export type UpdateDriverMutationFn = Apollo.MutationFunction<Types.UpdateDriverMutation, Types.UpdateDriverMutationVariables>;
1149
-
1150
- /**
1151
- * __useUpdateDriverMutation__
1152
- *
1153
- * To run a mutation, you first call `useUpdateDriverMutation` within a React component and pass it any options that fit your needs.
1154
- * When your component renders, `useUpdateDriverMutation` returns a tuple that includes:
1155
- * - A mutate function that you can call at any time to execute the mutation
1156
- * - An object with fields that represent the current status of the mutation's execution
1157
- *
1158
- * @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;
1159
- *
1160
- * @example
1161
- * const [updateDriverMutation, { data, loading, error }] = useUpdateDriverMutation({
1162
- * variables: {
1163
- * id: // value for 'id'
1164
- * input: // value for 'input'
1165
- * },
1166
- * });
1167
- */
1168
- export function useUpdateDriverMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateDriverMutation, Types.UpdateDriverMutationVariables>) {
1169
- const options = {...defaultOptions, ...baseOptions}
1170
- return ApolloReactHooks.useMutation<Types.UpdateDriverMutation, Types.UpdateDriverMutationVariables>(UpdateDriverDocument, options);
1171
- }
1172
- export type UpdateDriverMutationHookResult = ReturnType<typeof useUpdateDriverMutation>;
1173
- export type UpdateDriverMutationResult = Apollo.MutationResult<Types.UpdateDriverMutation>;
1174
- export type UpdateDriverMutationOptions = Apollo.BaseMutationOptions<Types.UpdateDriverMutation, Types.UpdateDriverMutationVariables>;
1175
- export const UpdateDriverStatusDocument = gql`
1176
- mutation UpdateDriverStatus($id: ID!, $status: DriverStatus!) {
1177
- updateDriverStatus(id: $id, status: $status) {
1178
- ...DriverCore
1179
- }
1180
- }
1181
- ${DriverCoreFragmentDoc}`;
1182
- export type UpdateDriverStatusMutationFn = Apollo.MutationFunction<Types.UpdateDriverStatusMutation, Types.UpdateDriverStatusMutationVariables>;
1183
-
1184
- /**
1185
- * __useUpdateDriverStatusMutation__
1186
- *
1187
- * To run a mutation, you first call `useUpdateDriverStatusMutation` within a React component and pass it any options that fit your needs.
1188
- * When your component renders, `useUpdateDriverStatusMutation` returns a tuple that includes:
1189
- * - A mutate function that you can call at any time to execute the mutation
1190
- * - An object with fields that represent the current status of the mutation's execution
1191
- *
1192
- * @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;
1193
- *
1194
- * @example
1195
- * const [updateDriverStatusMutation, { data, loading, error }] = useUpdateDriverStatusMutation({
1196
- * variables: {
1197
- * id: // value for 'id'
1198
- * status: // value for 'status'
1199
- * },
1200
- * });
1201
- */
1202
- export function useUpdateDriverStatusMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateDriverStatusMutation, Types.UpdateDriverStatusMutationVariables>) {
1203
- const options = {...defaultOptions, ...baseOptions}
1204
- return ApolloReactHooks.useMutation<Types.UpdateDriverStatusMutation, Types.UpdateDriverStatusMutationVariables>(UpdateDriverStatusDocument, options);
1205
- }
1206
- export type UpdateDriverStatusMutationHookResult = ReturnType<typeof useUpdateDriverStatusMutation>;
1207
- export type UpdateDriverStatusMutationResult = Apollo.MutationResult<Types.UpdateDriverStatusMutation>;
1208
- export type UpdateDriverStatusMutationOptions = Apollo.BaseMutationOptions<Types.UpdateDriverStatusMutation, Types.UpdateDriverStatusMutationVariables>;
1209
- export const AssignDriverVehicleDocument = gql`
1210
- mutation AssignDriverVehicle($id: ID!, $vehicleId: ID) {
1211
- assignDriverVehicle(id: $id, vehicleId: $vehicleId) {
1212
- ...DriverCore
1213
- }
1214
- }
1215
- ${DriverCoreFragmentDoc}`;
1216
- export type AssignDriverVehicleMutationFn = Apollo.MutationFunction<Types.AssignDriverVehicleMutation, Types.AssignDriverVehicleMutationVariables>;
1217
-
1218
- /**
1219
- * __useAssignDriverVehicleMutation__
1220
- *
1221
- * To run a mutation, you first call `useAssignDriverVehicleMutation` within a React component and pass it any options that fit your needs.
1222
- * When your component renders, `useAssignDriverVehicleMutation` returns a tuple that includes:
1223
- * - A mutate function that you can call at any time to execute the mutation
1224
- * - An object with fields that represent the current status of the mutation's execution
1225
- *
1226
- * @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;
1227
- *
1228
- * @example
1229
- * const [assignDriverVehicleMutation, { data, loading, error }] = useAssignDriverVehicleMutation({
1230
- * variables: {
1231
- * id: // value for 'id'
1232
- * vehicleId: // value for 'vehicleId'
1233
- * },
1234
- * });
1235
- */
1236
- export function useAssignDriverVehicleMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.AssignDriverVehicleMutation, Types.AssignDriverVehicleMutationVariables>) {
1237
- const options = {...defaultOptions, ...baseOptions}
1238
- return ApolloReactHooks.useMutation<Types.AssignDriverVehicleMutation, Types.AssignDriverVehicleMutationVariables>(AssignDriverVehicleDocument, options);
1239
- }
1240
- export type AssignDriverVehicleMutationHookResult = ReturnType<typeof useAssignDriverVehicleMutation>;
1241
- export type AssignDriverVehicleMutationResult = Apollo.MutationResult<Types.AssignDriverVehicleMutation>;
1242
- export type AssignDriverVehicleMutationOptions = Apollo.BaseMutationOptions<Types.AssignDriverVehicleMutation, Types.AssignDriverVehicleMutationVariables>;
1243
- export const DeleteDriverDocument = gql`
1244
- mutation DeleteDriver($id: ID!) {
1245
- deleteDriver(id: $id)
1246
- }
1247
- `;
1248
- export type DeleteDriverMutationFn = Apollo.MutationFunction<Types.DeleteDriverMutation, Types.DeleteDriverMutationVariables>;
1249
-
1250
- /**
1251
- * __useDeleteDriverMutation__
1252
- *
1253
- * To run a mutation, you first call `useDeleteDriverMutation` within a React component and pass it any options that fit your needs.
1254
- * When your component renders, `useDeleteDriverMutation` returns a tuple that includes:
1255
- * - A mutate function that you can call at any time to execute the mutation
1256
- * - An object with fields that represent the current status of the mutation's execution
1257
- *
1258
- * @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;
1259
- *
1260
- * @example
1261
- * const [deleteDriverMutation, { data, loading, error }] = useDeleteDriverMutation({
1262
- * variables: {
1263
- * id: // value for 'id'
1264
- * },
1265
- * });
1266
- */
1267
- export function useDeleteDriverMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeleteDriverMutation, Types.DeleteDriverMutationVariables>) {
1268
- const options = {...defaultOptions, ...baseOptions}
1269
- return ApolloReactHooks.useMutation<Types.DeleteDriverMutation, Types.DeleteDriverMutationVariables>(DeleteDriverDocument, options);
1270
- }
1271
- export type DeleteDriverMutationHookResult = ReturnType<typeof useDeleteDriverMutation>;
1272
- export type DeleteDriverMutationResult = Apollo.MutationResult<Types.DeleteDriverMutation>;
1273
- export type DeleteDriverMutationOptions = Apollo.BaseMutationOptions<Types.DeleteDriverMutation, Types.DeleteDriverMutationVariables>;
1274
- export const CreateWarehouseDocument = gql`
1275
- mutation CreateWarehouse($input: CreateWarehouseInput!) {
1276
- createWarehouse(input: $input) {
1277
- ...WarehouseCore
1278
- }
1279
- }
1280
- ${WarehouseCoreFragmentDoc}`;
1281
- export type CreateWarehouseMutationFn = Apollo.MutationFunction<Types.CreateWarehouseMutation, Types.CreateWarehouseMutationVariables>;
1282
-
1283
- /**
1284
- * __useCreateWarehouseMutation__
1285
- *
1286
- * To run a mutation, you first call `useCreateWarehouseMutation` within a React component and pass it any options that fit your needs.
1287
- * When your component renders, `useCreateWarehouseMutation` returns a tuple that includes:
1288
- * - A mutate function that you can call at any time to execute the mutation
1289
- * - An object with fields that represent the current status of the mutation's execution
1290
- *
1291
- * @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;
1292
- *
1293
- * @example
1294
- * const [createWarehouseMutation, { data, loading, error }] = useCreateWarehouseMutation({
1295
- * variables: {
1296
- * input: // value for 'input'
1297
- * },
1298
- * });
1299
- */
1300
- export function useCreateWarehouseMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CreateWarehouseMutation, Types.CreateWarehouseMutationVariables>) {
1301
- const options = {...defaultOptions, ...baseOptions}
1302
- return ApolloReactHooks.useMutation<Types.CreateWarehouseMutation, Types.CreateWarehouseMutationVariables>(CreateWarehouseDocument, options);
1303
- }
1304
- export type CreateWarehouseMutationHookResult = ReturnType<typeof useCreateWarehouseMutation>;
1305
- export type CreateWarehouseMutationResult = Apollo.MutationResult<Types.CreateWarehouseMutation>;
1306
- export type CreateWarehouseMutationOptions = Apollo.BaseMutationOptions<Types.CreateWarehouseMutation, Types.CreateWarehouseMutationVariables>;
1307
- export const UpdateWarehouseDocument = gql`
1308
- mutation UpdateWarehouse($id: ID!, $input: UpdateWarehouseInput!) {
1309
- updateWarehouse(id: $id, input: $input) {
1310
- ...WarehouseCore
1311
- }
1312
- }
1313
- ${WarehouseCoreFragmentDoc}`;
1314
- export type UpdateWarehouseMutationFn = Apollo.MutationFunction<Types.UpdateWarehouseMutation, Types.UpdateWarehouseMutationVariables>;
1315
-
1316
- /**
1317
- * __useUpdateWarehouseMutation__
1318
- *
1319
- * To run a mutation, you first call `useUpdateWarehouseMutation` within a React component and pass it any options that fit your needs.
1320
- * When your component renders, `useUpdateWarehouseMutation` returns a tuple that includes:
1321
- * - A mutate function that you can call at any time to execute the mutation
1322
- * - An object with fields that represent the current status of the mutation's execution
1323
- *
1324
- * @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;
1325
- *
1326
- * @example
1327
- * const [updateWarehouseMutation, { data, loading, error }] = useUpdateWarehouseMutation({
1328
- * variables: {
1329
- * id: // value for 'id'
1330
- * input: // value for 'input'
1331
- * },
1332
- * });
1333
- */
1334
- export function useUpdateWarehouseMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateWarehouseMutation, Types.UpdateWarehouseMutationVariables>) {
1335
- const options = {...defaultOptions, ...baseOptions}
1336
- return ApolloReactHooks.useMutation<Types.UpdateWarehouseMutation, Types.UpdateWarehouseMutationVariables>(UpdateWarehouseDocument, options);
1337
- }
1338
- export type UpdateWarehouseMutationHookResult = ReturnType<typeof useUpdateWarehouseMutation>;
1339
- export type UpdateWarehouseMutationResult = Apollo.MutationResult<Types.UpdateWarehouseMutation>;
1340
- export type UpdateWarehouseMutationOptions = Apollo.BaseMutationOptions<Types.UpdateWarehouseMutation, Types.UpdateWarehouseMutationVariables>;
1341
- export const DeleteWarehouseDocument = gql`
1342
- mutation DeleteWarehouse($id: ID!) {
1343
- deleteWarehouse(id: $id)
1344
- }
1345
- `;
1346
- export type DeleteWarehouseMutationFn = Apollo.MutationFunction<Types.DeleteWarehouseMutation, Types.DeleteWarehouseMutationVariables>;
1347
-
1348
- /**
1349
- * __useDeleteWarehouseMutation__
1350
- *
1351
- * To run a mutation, you first call `useDeleteWarehouseMutation` within a React component and pass it any options that fit your needs.
1352
- * When your component renders, `useDeleteWarehouseMutation` returns a tuple that includes:
1353
- * - A mutate function that you can call at any time to execute the mutation
1354
- * - An object with fields that represent the current status of the mutation's execution
1355
- *
1356
- * @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;
1357
- *
1358
- * @example
1359
- * const [deleteWarehouseMutation, { data, loading, error }] = useDeleteWarehouseMutation({
1360
- * variables: {
1361
- * id: // value for 'id'
1362
- * },
1363
- * });
1364
- */
1365
- export function useDeleteWarehouseMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeleteWarehouseMutation, Types.DeleteWarehouseMutationVariables>) {
1366
- const options = {...defaultOptions, ...baseOptions}
1367
- return ApolloReactHooks.useMutation<Types.DeleteWarehouseMutation, Types.DeleteWarehouseMutationVariables>(DeleteWarehouseDocument, options);
1368
- }
1369
- export type DeleteWarehouseMutationHookResult = ReturnType<typeof useDeleteWarehouseMutation>;
1370
- export type DeleteWarehouseMutationResult = Apollo.MutationResult<Types.DeleteWarehouseMutation>;
1371
- export type DeleteWarehouseMutationOptions = Apollo.BaseMutationOptions<Types.DeleteWarehouseMutation, Types.DeleteWarehouseMutationVariables>;
1372
- export const CreateInventoryItemDocument = gql`
1373
- mutation CreateInventoryItem($input: CreateInventoryItemInput!) {
1374
- createInventoryItem(input: $input) {
1375
- ...InventoryItemCore
1376
- }
1377
- }
1378
- ${InventoryItemCoreFragmentDoc}`;
1379
- export type CreateInventoryItemMutationFn = Apollo.MutationFunction<Types.CreateInventoryItemMutation, Types.CreateInventoryItemMutationVariables>;
1380
-
1381
- /**
1382
- * __useCreateInventoryItemMutation__
1383
- *
1384
- * To run a mutation, you first call `useCreateInventoryItemMutation` within a React component and pass it any options that fit your needs.
1385
- * When your component renders, `useCreateInventoryItemMutation` returns a tuple that includes:
1386
- * - A mutate function that you can call at any time to execute the mutation
1387
- * - An object with fields that represent the current status of the mutation's execution
1388
- *
1389
- * @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;
1390
- *
1391
- * @example
1392
- * const [createInventoryItemMutation, { data, loading, error }] = useCreateInventoryItemMutation({
1393
- * variables: {
1394
- * input: // value for 'input'
1395
- * },
1396
- * });
1397
- */
1398
- export function useCreateInventoryItemMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CreateInventoryItemMutation, Types.CreateInventoryItemMutationVariables>) {
1399
- const options = {...defaultOptions, ...baseOptions}
1400
- return ApolloReactHooks.useMutation<Types.CreateInventoryItemMutation, Types.CreateInventoryItemMutationVariables>(CreateInventoryItemDocument, options);
1401
- }
1402
- export type CreateInventoryItemMutationHookResult = ReturnType<typeof useCreateInventoryItemMutation>;
1403
- export type CreateInventoryItemMutationResult = Apollo.MutationResult<Types.CreateInventoryItemMutation>;
1404
- export type CreateInventoryItemMutationOptions = Apollo.BaseMutationOptions<Types.CreateInventoryItemMutation, Types.CreateInventoryItemMutationVariables>;
1405
- export const UpdateInventoryItemDocument = gql`
1406
- mutation UpdateInventoryItem($id: ID!, $input: UpdateInventoryItemInput!) {
1407
- updateInventoryItem(id: $id, input: $input) {
1408
- ...InventoryItemCore
1409
- }
1410
- }
1411
- ${InventoryItemCoreFragmentDoc}`;
1412
- export type UpdateInventoryItemMutationFn = Apollo.MutationFunction<Types.UpdateInventoryItemMutation, Types.UpdateInventoryItemMutationVariables>;
1413
-
1414
- /**
1415
- * __useUpdateInventoryItemMutation__
1416
- *
1417
- * To run a mutation, you first call `useUpdateInventoryItemMutation` within a React component and pass it any options that fit your needs.
1418
- * When your component renders, `useUpdateInventoryItemMutation` returns a tuple that includes:
1419
- * - A mutate function that you can call at any time to execute the mutation
1420
- * - An object with fields that represent the current status of the mutation's execution
1421
- *
1422
- * @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;
1423
- *
1424
- * @example
1425
- * const [updateInventoryItemMutation, { data, loading, error }] = useUpdateInventoryItemMutation({
1426
- * variables: {
1427
- * id: // value for 'id'
1428
- * input: // value for 'input'
1429
- * },
1430
- * });
1431
- */
1432
- export function useUpdateInventoryItemMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateInventoryItemMutation, Types.UpdateInventoryItemMutationVariables>) {
1433
- const options = {...defaultOptions, ...baseOptions}
1434
- return ApolloReactHooks.useMutation<Types.UpdateInventoryItemMutation, Types.UpdateInventoryItemMutationVariables>(UpdateInventoryItemDocument, options);
1435
- }
1436
- export type UpdateInventoryItemMutationHookResult = ReturnType<typeof useUpdateInventoryItemMutation>;
1437
- export type UpdateInventoryItemMutationResult = Apollo.MutationResult<Types.UpdateInventoryItemMutation>;
1438
- export type UpdateInventoryItemMutationOptions = Apollo.BaseMutationOptions<Types.UpdateInventoryItemMutation, Types.UpdateInventoryItemMutationVariables>;
1439
- export const AdjustInventoryStockDocument = gql`
1440
- mutation AdjustInventoryStock($input: AdjustInventoryStockInput!) {
1441
- adjustInventoryStock(input: $input) {
1442
- ...InventoryItemCore
1443
- }
1444
- }
1445
- ${InventoryItemCoreFragmentDoc}`;
1446
- export type AdjustInventoryStockMutationFn = Apollo.MutationFunction<Types.AdjustInventoryStockMutation, Types.AdjustInventoryStockMutationVariables>;
1447
-
1448
- /**
1449
- * __useAdjustInventoryStockMutation__
1450
- *
1451
- * To run a mutation, you first call `useAdjustInventoryStockMutation` within a React component and pass it any options that fit your needs.
1452
- * When your component renders, `useAdjustInventoryStockMutation` returns a tuple that includes:
1453
- * - A mutate function that you can call at any time to execute the mutation
1454
- * - An object with fields that represent the current status of the mutation's execution
1455
- *
1456
- * @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;
1457
- *
1458
- * @example
1459
- * const [adjustInventoryStockMutation, { data, loading, error }] = useAdjustInventoryStockMutation({
1460
- * variables: {
1461
- * input: // value for 'input'
1462
- * },
1463
- * });
1464
- */
1465
- export function useAdjustInventoryStockMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.AdjustInventoryStockMutation, Types.AdjustInventoryStockMutationVariables>) {
1466
- const options = {...defaultOptions, ...baseOptions}
1467
- return ApolloReactHooks.useMutation<Types.AdjustInventoryStockMutation, Types.AdjustInventoryStockMutationVariables>(AdjustInventoryStockDocument, options);
1468
- }
1469
- export type AdjustInventoryStockMutationHookResult = ReturnType<typeof useAdjustInventoryStockMutation>;
1470
- export type AdjustInventoryStockMutationResult = Apollo.MutationResult<Types.AdjustInventoryStockMutation>;
1471
- export type AdjustInventoryStockMutationOptions = Apollo.BaseMutationOptions<Types.AdjustInventoryStockMutation, Types.AdjustInventoryStockMutationVariables>;
1472
- export const DeleteInventoryItemDocument = gql`
1473
- mutation DeleteInventoryItem($id: ID!) {
1474
- deleteInventoryItem(id: $id)
1475
- }
1476
- `;
1477
- export type DeleteInventoryItemMutationFn = Apollo.MutationFunction<Types.DeleteInventoryItemMutation, Types.DeleteInventoryItemMutationVariables>;
1478
-
1479
- /**
1480
- * __useDeleteInventoryItemMutation__
1481
- *
1482
- * To run a mutation, you first call `useDeleteInventoryItemMutation` within a React component and pass it any options that fit your needs.
1483
- * When your component renders, `useDeleteInventoryItemMutation` returns a tuple that includes:
1484
- * - A mutate function that you can call at any time to execute the mutation
1485
- * - An object with fields that represent the current status of the mutation's execution
1486
- *
1487
- * @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;
1488
- *
1489
- * @example
1490
- * const [deleteInventoryItemMutation, { data, loading, error }] = useDeleteInventoryItemMutation({
1491
- * variables: {
1492
- * id: // value for 'id'
1493
- * },
1494
- * });
1495
- */
1496
- export function useDeleteInventoryItemMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeleteInventoryItemMutation, Types.DeleteInventoryItemMutationVariables>) {
1497
- const options = {...defaultOptions, ...baseOptions}
1498
- return ApolloReactHooks.useMutation<Types.DeleteInventoryItemMutation, Types.DeleteInventoryItemMutationVariables>(DeleteInventoryItemDocument, options);
1499
- }
1500
- export type DeleteInventoryItemMutationHookResult = ReturnType<typeof useDeleteInventoryItemMutation>;
1501
- export type DeleteInventoryItemMutationResult = Apollo.MutationResult<Types.DeleteInventoryItemMutation>;
1502
- export type DeleteInventoryItemMutationOptions = Apollo.BaseMutationOptions<Types.DeleteInventoryItemMutation, Types.DeleteInventoryItemMutationVariables>;
1503
- export const CreateRouteDocument = gql`
1504
- mutation CreateRoute($input: CreateRouteInput!) {
1505
- createRoute(input: $input) {
1506
- ...RouteCore
1507
- }
1508
- }
1509
- ${RouteCoreFragmentDoc}`;
1510
- export type CreateRouteMutationFn = Apollo.MutationFunction<Types.CreateRouteMutation, Types.CreateRouteMutationVariables>;
1511
-
1512
- /**
1513
- * __useCreateRouteMutation__
1514
- *
1515
- * To run a mutation, you first call `useCreateRouteMutation` within a React component and pass it any options that fit your needs.
1516
- * When your component renders, `useCreateRouteMutation` returns a tuple that includes:
1517
- * - A mutate function that you can call at any time to execute the mutation
1518
- * - An object with fields that represent the current status of the mutation's execution
1519
- *
1520
- * @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;
1521
- *
1522
- * @example
1523
- * const [createRouteMutation, { data, loading, error }] = useCreateRouteMutation({
1524
- * variables: {
1525
- * input: // value for 'input'
1526
- * },
1527
- * });
1528
- */
1529
- export function useCreateRouteMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CreateRouteMutation, Types.CreateRouteMutationVariables>) {
1530
- const options = {...defaultOptions, ...baseOptions}
1531
- return ApolloReactHooks.useMutation<Types.CreateRouteMutation, Types.CreateRouteMutationVariables>(CreateRouteDocument, options);
1532
- }
1533
- export type CreateRouteMutationHookResult = ReturnType<typeof useCreateRouteMutation>;
1534
- export type CreateRouteMutationResult = Apollo.MutationResult<Types.CreateRouteMutation>;
1535
- export type CreateRouteMutationOptions = Apollo.BaseMutationOptions<Types.CreateRouteMutation, Types.CreateRouteMutationVariables>;
1536
- export const UpdateRouteDocument = gql`
1537
- mutation UpdateRoute($id: ID!, $input: UpdateRouteInput!) {
1538
- updateRoute(id: $id, input: $input) {
1539
- ...RouteCore
1540
- }
1541
- }
1542
- ${RouteCoreFragmentDoc}`;
1543
- export type UpdateRouteMutationFn = Apollo.MutationFunction<Types.UpdateRouteMutation, Types.UpdateRouteMutationVariables>;
1544
-
1545
- /**
1546
- * __useUpdateRouteMutation__
1547
- *
1548
- * To run a mutation, you first call `useUpdateRouteMutation` within a React component and pass it any options that fit your needs.
1549
- * When your component renders, `useUpdateRouteMutation` returns a tuple that includes:
1550
- * - A mutate function that you can call at any time to execute the mutation
1551
- * - An object with fields that represent the current status of the mutation's execution
1552
- *
1553
- * @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;
1554
- *
1555
- * @example
1556
- * const [updateRouteMutation, { data, loading, error }] = useUpdateRouteMutation({
1557
- * variables: {
1558
- * id: // value for 'id'
1559
- * input: // value for 'input'
1560
- * },
1561
- * });
1562
- */
1563
- export function useUpdateRouteMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateRouteMutation, Types.UpdateRouteMutationVariables>) {
1564
- const options = {...defaultOptions, ...baseOptions}
1565
- return ApolloReactHooks.useMutation<Types.UpdateRouteMutation, Types.UpdateRouteMutationVariables>(UpdateRouteDocument, options);
1566
- }
1567
- export type UpdateRouteMutationHookResult = ReturnType<typeof useUpdateRouteMutation>;
1568
- export type UpdateRouteMutationResult = Apollo.MutationResult<Types.UpdateRouteMutation>;
1569
- export type UpdateRouteMutationOptions = Apollo.BaseMutationOptions<Types.UpdateRouteMutation, Types.UpdateRouteMutationVariables>;
1570
- export const OptimizeRouteDocument = gql`
1571
- mutation OptimizeRoute($id: ID!) {
1572
- optimizeRoute(id: $id) {
1573
- ...RouteCore
1574
- }
1575
- }
1576
- ${RouteCoreFragmentDoc}`;
1577
- export type OptimizeRouteMutationFn = Apollo.MutationFunction<Types.OptimizeRouteMutation, Types.OptimizeRouteMutationVariables>;
1578
-
1579
- /**
1580
- * __useOptimizeRouteMutation__
1581
- *
1582
- * To run a mutation, you first call `useOptimizeRouteMutation` within a React component and pass it any options that fit your needs.
1583
- * When your component renders, `useOptimizeRouteMutation` returns a tuple that includes:
1584
- * - A mutate function that you can call at any time to execute the mutation
1585
- * - An object with fields that represent the current status of the mutation's execution
1586
- *
1587
- * @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;
1588
- *
1589
- * @example
1590
- * const [optimizeRouteMutation, { data, loading, error }] = useOptimizeRouteMutation({
1591
- * variables: {
1592
- * id: // value for 'id'
1593
- * },
1594
- * });
1595
- */
1596
- export function useOptimizeRouteMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.OptimizeRouteMutation, Types.OptimizeRouteMutationVariables>) {
1597
- const options = {...defaultOptions, ...baseOptions}
1598
- return ApolloReactHooks.useMutation<Types.OptimizeRouteMutation, Types.OptimizeRouteMutationVariables>(OptimizeRouteDocument, options);
1599
- }
1600
- export type OptimizeRouteMutationHookResult = ReturnType<typeof useOptimizeRouteMutation>;
1601
- export type OptimizeRouteMutationResult = Apollo.MutationResult<Types.OptimizeRouteMutation>;
1602
- export type OptimizeRouteMutationOptions = Apollo.BaseMutationOptions<Types.OptimizeRouteMutation, Types.OptimizeRouteMutationVariables>;
1603
- export const DeleteRouteDocument = gql`
1604
- mutation DeleteRoute($id: ID!) {
1605
- deleteRoute(id: $id)
1606
- }
1607
- `;
1608
- export type DeleteRouteMutationFn = Apollo.MutationFunction<Types.DeleteRouteMutation, Types.DeleteRouteMutationVariables>;
1609
-
1610
- /**
1611
- * __useDeleteRouteMutation__
1612
- *
1613
- * To run a mutation, you first call `useDeleteRouteMutation` within a React component and pass it any options that fit your needs.
1614
- * When your component renders, `useDeleteRouteMutation` returns a tuple that includes:
1615
- * - A mutate function that you can call at any time to execute the mutation
1616
- * - An object with fields that represent the current status of the mutation's execution
1617
- *
1618
- * @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;
1619
- *
1620
- * @example
1621
- * const [deleteRouteMutation, { data, loading, error }] = useDeleteRouteMutation({
1622
- * variables: {
1623
- * id: // value for 'id'
1624
- * },
1625
- * });
1626
- */
1627
- export function useDeleteRouteMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeleteRouteMutation, Types.DeleteRouteMutationVariables>) {
1628
- const options = {...defaultOptions, ...baseOptions}
1629
- return ApolloReactHooks.useMutation<Types.DeleteRouteMutation, Types.DeleteRouteMutationVariables>(DeleteRouteDocument, options);
1630
- }
1631
- export type DeleteRouteMutationHookResult = ReturnType<typeof useDeleteRouteMutation>;
1632
- export type DeleteRouteMutationResult = Apollo.MutationResult<Types.DeleteRouteMutation>;
1633
- export type DeleteRouteMutationOptions = Apollo.BaseMutationOptions<Types.DeleteRouteMutation, Types.DeleteRouteMutationVariables>;
1634
- export const CreateShipmentDocument = gql`
1635
- mutation CreateShipment($input: CreateShipmentInput!) {
1636
- createShipment(input: $input) {
1637
- ...ShipmentCore
1638
- }
1639
- }
1640
- ${ShipmentCoreFragmentDoc}`;
1641
- export type CreateShipmentMutationFn = Apollo.MutationFunction<Types.CreateShipmentMutation, Types.CreateShipmentMutationVariables>;
1642
-
1643
- /**
1644
- * __useCreateShipmentMutation__
1645
- *
1646
- * To run a mutation, you first call `useCreateShipmentMutation` within a React component and pass it any options that fit your needs.
1647
- * When your component renders, `useCreateShipmentMutation` returns a tuple that includes:
1648
- * - A mutate function that you can call at any time to execute the mutation
1649
- * - An object with fields that represent the current status of the mutation's execution
1650
- *
1651
- * @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;
1652
- *
1653
- * @example
1654
- * const [createShipmentMutation, { data, loading, error }] = useCreateShipmentMutation({
1655
- * variables: {
1656
- * input: // value for 'input'
1657
- * },
1658
- * });
1659
- */
1660
- export function useCreateShipmentMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CreateShipmentMutation, Types.CreateShipmentMutationVariables>) {
1661
- const options = {...defaultOptions, ...baseOptions}
1662
- return ApolloReactHooks.useMutation<Types.CreateShipmentMutation, Types.CreateShipmentMutationVariables>(CreateShipmentDocument, options);
1663
- }
1664
- export type CreateShipmentMutationHookResult = ReturnType<typeof useCreateShipmentMutation>;
1665
- export type CreateShipmentMutationResult = Apollo.MutationResult<Types.CreateShipmentMutation>;
1666
- export type CreateShipmentMutationOptions = Apollo.BaseMutationOptions<Types.CreateShipmentMutation, Types.CreateShipmentMutationVariables>;
1667
- export const UpdateShipmentDocument = gql`
1668
- mutation UpdateShipment($id: ID!, $input: UpdateShipmentInput!) {
1669
- updateShipment(id: $id, input: $input) {
1670
- ...ShipmentCore
1671
- }
1672
- }
1673
- ${ShipmentCoreFragmentDoc}`;
1674
- export type UpdateShipmentMutationFn = Apollo.MutationFunction<Types.UpdateShipmentMutation, Types.UpdateShipmentMutationVariables>;
1675
-
1676
- /**
1677
- * __useUpdateShipmentMutation__
1678
- *
1679
- * To run a mutation, you first call `useUpdateShipmentMutation` within a React component and pass it any options that fit your needs.
1680
- * When your component renders, `useUpdateShipmentMutation` returns a tuple that includes:
1681
- * - A mutate function that you can call at any time to execute the mutation
1682
- * - An object with fields that represent the current status of the mutation's execution
1683
- *
1684
- * @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;
1685
- *
1686
- * @example
1687
- * const [updateShipmentMutation, { data, loading, error }] = useUpdateShipmentMutation({
1688
- * variables: {
1689
- * id: // value for 'id'
1690
- * input: // value for 'input'
1691
- * },
1692
- * });
1693
- */
1694
- export function useUpdateShipmentMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateShipmentMutation, Types.UpdateShipmentMutationVariables>) {
1695
- const options = {...defaultOptions, ...baseOptions}
1696
- return ApolloReactHooks.useMutation<Types.UpdateShipmentMutation, Types.UpdateShipmentMutationVariables>(UpdateShipmentDocument, options);
1697
- }
1698
- export type UpdateShipmentMutationHookResult = ReturnType<typeof useUpdateShipmentMutation>;
1699
- export type UpdateShipmentMutationResult = Apollo.MutationResult<Types.UpdateShipmentMutation>;
1700
- export type UpdateShipmentMutationOptions = Apollo.BaseMutationOptions<Types.UpdateShipmentMutation, Types.UpdateShipmentMutationVariables>;
1701
- export const DeleteShipmentDocument = gql`
1702
- mutation DeleteShipment($id: ID!) {
1703
- deleteShipment(id: $id)
1704
- }
1705
- `;
1706
- export type DeleteShipmentMutationFn = Apollo.MutationFunction<Types.DeleteShipmentMutation, Types.DeleteShipmentMutationVariables>;
1707
-
1708
- /**
1709
- * __useDeleteShipmentMutation__
1710
- *
1711
- * To run a mutation, you first call `useDeleteShipmentMutation` within a React component and pass it any options that fit your needs.
1712
- * When your component renders, `useDeleteShipmentMutation` returns a tuple that includes:
1713
- * - A mutate function that you can call at any time to execute the mutation
1714
- * - An object with fields that represent the current status of the mutation's execution
1715
- *
1716
- * @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;
1717
- *
1718
- * @example
1719
- * const [deleteShipmentMutation, { data, loading, error }] = useDeleteShipmentMutation({
1720
- * variables: {
1721
- * id: // value for 'id'
1722
- * },
1723
- * });
1724
- */
1725
- export function useDeleteShipmentMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeleteShipmentMutation, Types.DeleteShipmentMutationVariables>) {
1726
- const options = {...defaultOptions, ...baseOptions}
1727
- return ApolloReactHooks.useMutation<Types.DeleteShipmentMutation, Types.DeleteShipmentMutationVariables>(DeleteShipmentDocument, options);
1728
- }
1729
- export type DeleteShipmentMutationHookResult = ReturnType<typeof useDeleteShipmentMutation>;
1730
- export type DeleteShipmentMutationResult = Apollo.MutationResult<Types.DeleteShipmentMutation>;
1731
- export type DeleteShipmentMutationOptions = Apollo.BaseMutationOptions<Types.DeleteShipmentMutation, Types.DeleteShipmentMutationVariables>;
1732
- export const AddTrackingEventDocument = gql`
1733
- mutation AddTrackingEvent($input: AddTrackingEventInput!) {
1734
- addTrackingEvent(input: $input) {
1735
- id
1736
- shipmentId
1737
- eventType
1738
- location
1739
- details
1740
- timestamp
1741
- }
1742
- }
1743
- `;
1744
- export type AddTrackingEventMutationFn = Apollo.MutationFunction<Types.AddTrackingEventMutation, Types.AddTrackingEventMutationVariables>;
1745
-
1746
- /**
1747
- * __useAddTrackingEventMutation__
1748
- *
1749
- * To run a mutation, you first call `useAddTrackingEventMutation` within a React component and pass it any options that fit your needs.
1750
- * When your component renders, `useAddTrackingEventMutation` returns a tuple that includes:
1751
- * - A mutate function that you can call at any time to execute the mutation
1752
- * - An object with fields that represent the current status of the mutation's execution
1753
- *
1754
- * @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;
1755
- *
1756
- * @example
1757
- * const [addTrackingEventMutation, { data, loading, error }] = useAddTrackingEventMutation({
1758
- * variables: {
1759
- * input: // value for 'input'
1760
- * },
1761
- * });
1762
- */
1763
- export function useAddTrackingEventMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.AddTrackingEventMutation, Types.AddTrackingEventMutationVariables>) {
1764
- const options = {...defaultOptions, ...baseOptions}
1765
- return ApolloReactHooks.useMutation<Types.AddTrackingEventMutation, Types.AddTrackingEventMutationVariables>(AddTrackingEventDocument, options);
1766
- }
1767
- export type AddTrackingEventMutationHookResult = ReturnType<typeof useAddTrackingEventMutation>;
1768
- export type AddTrackingEventMutationResult = Apollo.MutationResult<Types.AddTrackingEventMutation>;
1769
- export type AddTrackingEventMutationOptions = Apollo.BaseMutationOptions<Types.AddTrackingEventMutation, Types.AddTrackingEventMutationVariables>;
1770
- export const ExportMovethewheelsDataDocument = gql`
1771
- mutation ExportMovethewheelsData($input: ExportMtwEntitiesInput!) {
1772
- exportMtwEntities(input: $input) {
1773
- id
1774
- workspaceId
1775
- entityTypes
1776
- format
1777
- status
1778
- downloadUrl
1779
- createdAt
1780
- }
1781
- }
1782
- `;
1783
- export type ExportMovethewheelsDataMutationFn = Apollo.MutationFunction<Types.ExportMovethewheelsDataMutation, Types.ExportMovethewheelsDataMutationVariables>;
1784
-
1785
- /**
1786
- * __useExportMovethewheelsDataMutation__
1787
- *
1788
- * To run a mutation, you first call `useExportMovethewheelsDataMutation` within a React component and pass it any options that fit your needs.
1789
- * When your component renders, `useExportMovethewheelsDataMutation` returns a tuple that includes:
1790
- * - A mutate function that you can call at any time to execute the mutation
1791
- * - An object with fields that represent the current status of the mutation's execution
1792
- *
1793
- * @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;
1794
- *
1795
- * @example
1796
- * const [exportMovethewheelsDataMutation, { data, loading, error }] = useExportMovethewheelsDataMutation({
1797
- * variables: {
1798
- * input: // value for 'input'
1799
- * },
1800
- * });
1801
- */
1802
- export function useExportMovethewheelsDataMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.ExportMovethewheelsDataMutation, Types.ExportMovethewheelsDataMutationVariables>) {
1803
- const options = {...defaultOptions, ...baseOptions}
1804
- return ApolloReactHooks.useMutation<Types.ExportMovethewheelsDataMutation, Types.ExportMovethewheelsDataMutationVariables>(ExportMovethewheelsDataDocument, options);
1805
- }
1806
- export type ExportMovethewheelsDataMutationHookResult = ReturnType<typeof useExportMovethewheelsDataMutation>;
1807
- export type ExportMovethewheelsDataMutationResult = Apollo.MutationResult<Types.ExportMovethewheelsDataMutation>;
1808
- export type ExportMovethewheelsDataMutationOptions = Apollo.BaseMutationOptions<Types.ExportMovethewheelsDataMutation, Types.ExportMovethewheelsDataMutationVariables>;
1809
- export const CreateMovethewheelsOrderDocument = gql`
1810
- mutation CreateMovethewheelsOrder($input: CreateDeliveryJobInput!) {
1811
- createDeliveryJob(input: $input) {
1812
- ...MovethewheelsOrderCore
1813
- }
1814
- }
1815
- ${MovethewheelsOrderCoreFragmentDoc}`;
1816
- export type CreateMovethewheelsOrderMutationFn = Apollo.MutationFunction<Types.CreateMovethewheelsOrderMutation, Types.CreateMovethewheelsOrderMutationVariables>;
1817
-
1818
- /**
1819
- * __useCreateMovethewheelsOrderMutation__
1820
- *
1821
- * To run a mutation, you first call `useCreateMovethewheelsOrderMutation` within a React component and pass it any options that fit your needs.
1822
- * When your component renders, `useCreateMovethewheelsOrderMutation` returns a tuple that includes:
1823
- * - A mutate function that you can call at any time to execute the mutation
1824
- * - An object with fields that represent the current status of the mutation's execution
1825
- *
1826
- * @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;
1827
- *
1828
- * @example
1829
- * const [createMovethewheelsOrderMutation, { data, loading, error }] = useCreateMovethewheelsOrderMutation({
1830
- * variables: {
1831
- * input: // value for 'input'
1832
- * },
1833
- * });
1834
- */
1835
- export function useCreateMovethewheelsOrderMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CreateMovethewheelsOrderMutation, Types.CreateMovethewheelsOrderMutationVariables>) {
1836
- const options = {...defaultOptions, ...baseOptions}
1837
- return ApolloReactHooks.useMutation<Types.CreateMovethewheelsOrderMutation, Types.CreateMovethewheelsOrderMutationVariables>(CreateMovethewheelsOrderDocument, options);
1838
- }
1839
- export type CreateMovethewheelsOrderMutationHookResult = ReturnType<typeof useCreateMovethewheelsOrderMutation>;
1840
- export type CreateMovethewheelsOrderMutationResult = Apollo.MutationResult<Types.CreateMovethewheelsOrderMutation>;
1841
- export type CreateMovethewheelsOrderMutationOptions = Apollo.BaseMutationOptions<Types.CreateMovethewheelsOrderMutation, Types.CreateMovethewheelsOrderMutationVariables>;
1842
- export const UpdateMovethewheelsOrderDocument = gql`
1843
- mutation UpdateMovethewheelsOrder($id: ID!, $input: UpdateDeliveryJobInput!) {
1844
- updateDeliveryJob(id: $id, input: $input) {
1845
- ...MovethewheelsOrderCore
1846
- }
1847
- }
1848
- ${MovethewheelsOrderCoreFragmentDoc}`;
1849
- export type UpdateMovethewheelsOrderMutationFn = Apollo.MutationFunction<Types.UpdateMovethewheelsOrderMutation, Types.UpdateMovethewheelsOrderMutationVariables>;
1850
-
1851
- /**
1852
- * __useUpdateMovethewheelsOrderMutation__
1853
- *
1854
- * To run a mutation, you first call `useUpdateMovethewheelsOrderMutation` within a React component and pass it any options that fit your needs.
1855
- * When your component renders, `useUpdateMovethewheelsOrderMutation` returns a tuple that includes:
1856
- * - A mutate function that you can call at any time to execute the mutation
1857
- * - An object with fields that represent the current status of the mutation's execution
1858
- *
1859
- * @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;
1860
- *
1861
- * @example
1862
- * const [updateMovethewheelsOrderMutation, { data, loading, error }] = useUpdateMovethewheelsOrderMutation({
1863
- * variables: {
1864
- * id: // value for 'id'
1865
- * input: // value for 'input'
1866
- * },
1867
- * });
1868
- */
1869
- export function useUpdateMovethewheelsOrderMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateMovethewheelsOrderMutation, Types.UpdateMovethewheelsOrderMutationVariables>) {
1870
- const options = {...defaultOptions, ...baseOptions}
1871
- return ApolloReactHooks.useMutation<Types.UpdateMovethewheelsOrderMutation, Types.UpdateMovethewheelsOrderMutationVariables>(UpdateMovethewheelsOrderDocument, options);
1872
- }
1873
- export type UpdateMovethewheelsOrderMutationHookResult = ReturnType<typeof useUpdateMovethewheelsOrderMutation>;
1874
- export type UpdateMovethewheelsOrderMutationResult = Apollo.MutationResult<Types.UpdateMovethewheelsOrderMutation>;
1875
- export type UpdateMovethewheelsOrderMutationOptions = Apollo.BaseMutationOptions<Types.UpdateMovethewheelsOrderMutation, Types.UpdateMovethewheelsOrderMutationVariables>;
1876
- export const UpdateMovethewheelsOrderStatusDocument = gql`
1877
- mutation UpdateMovethewheelsOrderStatus($id: ID!, $input: UpdateDeliveryJobStatusInput!) {
1878
- updateDeliveryJobStatus(id: $id, input: $input) {
1879
- ...MovethewheelsOrderCore
1880
- }
1881
- }
1882
- ${MovethewheelsOrderCoreFragmentDoc}`;
1883
- export type UpdateMovethewheelsOrderStatusMutationFn = Apollo.MutationFunction<Types.UpdateMovethewheelsOrderStatusMutation, Types.UpdateMovethewheelsOrderStatusMutationVariables>;
1884
-
1885
- /**
1886
- * __useUpdateMovethewheelsOrderStatusMutation__
1887
- *
1888
- * To run a mutation, you first call `useUpdateMovethewheelsOrderStatusMutation` within a React component and pass it any options that fit your needs.
1889
- * When your component renders, `useUpdateMovethewheelsOrderStatusMutation` 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 [updateMovethewheelsOrderStatusMutation, { data, loading, error }] = useUpdateMovethewheelsOrderStatusMutation({
1897
- * variables: {
1898
- * id: // value for 'id'
1899
- * input: // value for 'input'
1900
- * },
1901
- * });
1902
- */
1903
- export function useUpdateMovethewheelsOrderStatusMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateMovethewheelsOrderStatusMutation, Types.UpdateMovethewheelsOrderStatusMutationVariables>) {
1904
- const options = {...defaultOptions, ...baseOptions}
1905
- return ApolloReactHooks.useMutation<Types.UpdateMovethewheelsOrderStatusMutation, Types.UpdateMovethewheelsOrderStatusMutationVariables>(UpdateMovethewheelsOrderStatusDocument, options);
1906
- }
1907
- export type UpdateMovethewheelsOrderStatusMutationHookResult = ReturnType<typeof useUpdateMovethewheelsOrderStatusMutation>;
1908
- export type UpdateMovethewheelsOrderStatusMutationResult = Apollo.MutationResult<Types.UpdateMovethewheelsOrderStatusMutation>;
1909
- export type UpdateMovethewheelsOrderStatusMutationOptions = Apollo.BaseMutationOptions<Types.UpdateMovethewheelsOrderStatusMutation, Types.UpdateMovethewheelsOrderStatusMutationVariables>;
1910
- export const DeleteMovethewheelsOrderDocument = gql`
1911
- mutation DeleteMovethewheelsOrder($id: ID!) {
1912
- deleteDeliveryJob(id: $id)
1913
- }
1914
- `;
1915
- export type DeleteMovethewheelsOrderMutationFn = Apollo.MutationFunction<Types.DeleteMovethewheelsOrderMutation, Types.DeleteMovethewheelsOrderMutationVariables>;
1916
-
1917
- /**
1918
- * __useDeleteMovethewheelsOrderMutation__
1919
- *
1920
- * To run a mutation, you first call `useDeleteMovethewheelsOrderMutation` within a React component and pass it any options that fit your needs.
1921
- * When your component renders, `useDeleteMovethewheelsOrderMutation` returns a tuple that includes:
1922
- * - A mutate function that you can call at any time to execute the mutation
1923
- * - An object with fields that represent the current status of the mutation's execution
1924
- *
1925
- * @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;
1926
- *
1927
- * @example
1928
- * const [deleteMovethewheelsOrderMutation, { data, loading, error }] = useDeleteMovethewheelsOrderMutation({
1929
- * variables: {
1930
- * id: // value for 'id'
1931
- * },
1932
- * });
1933
- */
1934
- export function useDeleteMovethewheelsOrderMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeleteMovethewheelsOrderMutation, Types.DeleteMovethewheelsOrderMutationVariables>) {
1935
- const options = {...defaultOptions, ...baseOptions}
1936
- return ApolloReactHooks.useMutation<Types.DeleteMovethewheelsOrderMutation, Types.DeleteMovethewheelsOrderMutationVariables>(DeleteMovethewheelsOrderDocument, options);
1937
- }
1938
- export type DeleteMovethewheelsOrderMutationHookResult = ReturnType<typeof useDeleteMovethewheelsOrderMutation>;
1939
- export type DeleteMovethewheelsOrderMutationResult = Apollo.MutationResult<Types.DeleteMovethewheelsOrderMutation>;
1940
- export type DeleteMovethewheelsOrderMutationOptions = Apollo.BaseMutationOptions<Types.DeleteMovethewheelsOrderMutation, Types.DeleteMovethewheelsOrderMutationVariables>;
1941
- export const GetMovethewheelsDashboardDocument = gql`
1942
- query GetMovethewheelsDashboard {
1943
- dashboardMetrics {
1944
- totalDeliveryJobs
1945
- activeDeliveries
1946
- availableDrivers
1947
- activeVehicles
1948
- lowStockItems
1949
- totalRevenue
1950
- recentDeliveryJobs {
1951
- ...MovethewheelsOrderCore
1952
- }
1953
- }
1954
- deliveryJobStats {
1955
- total
1956
- pending
1957
- confirmed
1958
- assigned
1959
- pickedUp
1960
- inTransit
1961
- outForDelivery
1962
- delivered
1963
- cancelled
1964
- failed
1965
- returned
1966
- }
1967
- fleetStats {
1968
- totalVehicles
1969
- activeVehicles
1970
- inTransitVehicles
1971
- maintenanceVehicles
1972
- totalDrivers
1973
- availableDrivers
1974
- onDeliveryDrivers
1975
- }
1976
- financeMetrics {
1977
- fuelCost
1978
- openInvoices
1979
- revenue {
1980
- totalRevenue
1981
- averageOrderValue
1982
- deliveredRevenue
1983
- }
1984
- }
1985
- analytics {
1986
- deliveryTrend {
1987
- label
1988
- value
1989
- }
1990
- orderTrend {
1991
- label
1992
- value
1993
- }
1994
- revenueTrend {
1995
- label
1996
- value
1997
- }
1998
- }
1999
- }
2000
- ${MovethewheelsOrderCoreFragmentDoc}`;
2001
-
2002
- /**
2003
- * __useGetMovethewheelsDashboardQuery__
2004
- *
2005
- * To run a query within a React component, call `useGetMovethewheelsDashboardQuery` and pass it any options that fit your needs.
2006
- * When your component renders, `useGetMovethewheelsDashboardQuery` returns an object from Apollo Client that contains loading, error, and data properties
2007
- * you can use to render your UI.
2008
- *
2009
- * @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;
2010
- *
2011
- * @example
2012
- * const { data, loading, error } = useGetMovethewheelsDashboardQuery({
2013
- * variables: {
2014
- * },
2015
- * });
2016
- */
2017
- export function useGetMovethewheelsDashboardQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetMovethewheelsDashboardQuery, Types.GetMovethewheelsDashboardQueryVariables>) {
2018
- const options = {...defaultOptions, ...baseOptions}
2019
- return ApolloReactHooks.useQuery<Types.GetMovethewheelsDashboardQuery, Types.GetMovethewheelsDashboardQueryVariables>(GetMovethewheelsDashboardDocument, options);
2020
- }
2021
- export function useGetMovethewheelsDashboardLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetMovethewheelsDashboardQuery, Types.GetMovethewheelsDashboardQueryVariables>) {
2022
- const options = {...defaultOptions, ...baseOptions}
2023
- return ApolloReactHooks.useLazyQuery<Types.GetMovethewheelsDashboardQuery, Types.GetMovethewheelsDashboardQueryVariables>(GetMovethewheelsDashboardDocument, options);
2024
- }
2025
- // @ts-ignore
2026
- export function useGetMovethewheelsDashboardSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMovethewheelsDashboardQuery, Types.GetMovethewheelsDashboardQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetMovethewheelsDashboardQuery, Types.GetMovethewheelsDashboardQueryVariables>;
2027
- export function useGetMovethewheelsDashboardSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMovethewheelsDashboardQuery, Types.GetMovethewheelsDashboardQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetMovethewheelsDashboardQuery | undefined, Types.GetMovethewheelsDashboardQueryVariables>;
2028
- export function useGetMovethewheelsDashboardSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMovethewheelsDashboardQuery, Types.GetMovethewheelsDashboardQueryVariables>) {
2029
- const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
2030
- return ApolloReactHooks.useSuspenseQuery<Types.GetMovethewheelsDashboardQuery, Types.GetMovethewheelsDashboardQueryVariables>(GetMovethewheelsDashboardDocument, options);
2031
- }
2032
- export type GetMovethewheelsDashboardQueryHookResult = ReturnType<typeof useGetMovethewheelsDashboardQuery>;
2033
- export type GetMovethewheelsDashboardLazyQueryHookResult = ReturnType<typeof useGetMovethewheelsDashboardLazyQuery>;
2034
- export type GetMovethewheelsDashboardSuspenseQueryHookResult = ReturnType<typeof useGetMovethewheelsDashboardSuspenseQuery>;
2035
- export type GetMovethewheelsDashboardQueryResult = Apollo.QueryResult<Types.GetMovethewheelsDashboardQuery, Types.GetMovethewheelsDashboardQueryVariables>;
2036
- export const ListCustomersDocument = gql`
2037
- query ListCustomers($filter: CustomerFilterInput, $pagination: PaginationInput) {
2038
- customers(filter: $filter, pagination: $pagination) {
2039
- ...CustomerCore
2040
- }
2041
- }
2042
- ${CustomerCoreFragmentDoc}`;
2043
-
2044
- /**
2045
- * __useListCustomersQuery__
2046
- *
2047
- * To run a query within a React component, call `useListCustomersQuery` and pass it any options that fit your needs.
2048
- * When your component renders, `useListCustomersQuery` returns an object from Apollo Client that contains loading, error, and data properties
2049
- * you can use to render your UI.
2050
- *
2051
- * @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;
2052
- *
2053
- * @example
2054
- * const { data, loading, error } = useListCustomersQuery({
2055
- * variables: {
2056
- * filter: // value for 'filter'
2057
- * pagination: // value for 'pagination'
2058
- * },
2059
- * });
2060
- */
2061
- export function useListCustomersQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.ListCustomersQuery, Types.ListCustomersQueryVariables>) {
2062
- const options = {...defaultOptions, ...baseOptions}
2063
- return ApolloReactHooks.useQuery<Types.ListCustomersQuery, Types.ListCustomersQueryVariables>(ListCustomersDocument, options);
2064
- }
2065
- export function useListCustomersLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.ListCustomersQuery, Types.ListCustomersQueryVariables>) {
2066
- const options = {...defaultOptions, ...baseOptions}
2067
- return ApolloReactHooks.useLazyQuery<Types.ListCustomersQuery, Types.ListCustomersQueryVariables>(ListCustomersDocument, options);
2068
- }
2069
- // @ts-ignore
2070
- export function useListCustomersSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.ListCustomersQuery, Types.ListCustomersQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListCustomersQuery, Types.ListCustomersQueryVariables>;
2071
- export function useListCustomersSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListCustomersQuery, Types.ListCustomersQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListCustomersQuery | undefined, Types.ListCustomersQueryVariables>;
2072
- export function useListCustomersSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListCustomersQuery, Types.ListCustomersQueryVariables>) {
2073
- const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
2074
- return ApolloReactHooks.useSuspenseQuery<Types.ListCustomersQuery, Types.ListCustomersQueryVariables>(ListCustomersDocument, options);
2075
- }
2076
- export type ListCustomersQueryHookResult = ReturnType<typeof useListCustomersQuery>;
2077
- export type ListCustomersLazyQueryHookResult = ReturnType<typeof useListCustomersLazyQuery>;
2078
- export type ListCustomersSuspenseQueryHookResult = ReturnType<typeof useListCustomersSuspenseQuery>;
2079
- export type ListCustomersQueryResult = Apollo.QueryResult<Types.ListCustomersQuery, Types.ListCustomersQueryVariables>;
2080
- export const GetCustomerDocument = gql`
2081
- query GetCustomer($id: ID!) {
2082
- customer(id: $id) {
2083
- ...CustomerCore
2084
- }
2085
- }
2086
- ${CustomerCoreFragmentDoc}`;
2087
-
2088
- /**
2089
- * __useGetCustomerQuery__
2090
- *
2091
- * To run a query within a React component, call `useGetCustomerQuery` and pass it any options that fit your needs.
2092
- * When your component renders, `useGetCustomerQuery` returns an object from Apollo Client that contains loading, error, and data properties
2093
- * you can use to render your UI.
2094
- *
2095
- * @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;
2096
- *
2097
- * @example
2098
- * const { data, loading, error } = useGetCustomerQuery({
2099
- * variables: {
2100
- * id: // value for 'id'
2101
- * },
2102
- * });
2103
- */
2104
- export function useGetCustomerQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetCustomerQuery, Types.GetCustomerQueryVariables> & ({ variables: Types.GetCustomerQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {
2105
- const options = {...defaultOptions, ...baseOptions}
2106
- return ApolloReactHooks.useQuery<Types.GetCustomerQuery, Types.GetCustomerQueryVariables>(GetCustomerDocument, options);
2107
- }
2108
- export function useGetCustomerLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetCustomerQuery, Types.GetCustomerQueryVariables>) {
2109
- const options = {...defaultOptions, ...baseOptions}
2110
- return ApolloReactHooks.useLazyQuery<Types.GetCustomerQuery, Types.GetCustomerQueryVariables>(GetCustomerDocument, options);
2111
- }
2112
- // @ts-ignore
2113
- export function useGetCustomerSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetCustomerQuery, Types.GetCustomerQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetCustomerQuery, Types.GetCustomerQueryVariables>;
2114
- export function useGetCustomerSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetCustomerQuery, Types.GetCustomerQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetCustomerQuery | undefined, Types.GetCustomerQueryVariables>;
2115
- export function useGetCustomerSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetCustomerQuery, Types.GetCustomerQueryVariables>) {
2116
- const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
2117
- return ApolloReactHooks.useSuspenseQuery<Types.GetCustomerQuery, Types.GetCustomerQueryVariables>(GetCustomerDocument, options);
2118
- }
2119
- export type GetCustomerQueryHookResult = ReturnType<typeof useGetCustomerQuery>;
2120
- export type GetCustomerLazyQueryHookResult = ReturnType<typeof useGetCustomerLazyQuery>;
2121
- export type GetCustomerSuspenseQueryHookResult = ReturnType<typeof useGetCustomerSuspenseQuery>;
2122
- export type GetCustomerQueryResult = Apollo.QueryResult<Types.GetCustomerQuery, Types.GetCustomerQueryVariables>;
2123
- export const ListProductsDocument = gql`
2124
- query ListProducts($filter: CargoItemFilterInput, $pagination: PaginationInput) {
2125
- cargoItems(filter: $filter, pagination: $pagination) {
2126
- ...ProductCore
2127
- }
2128
- }
2129
- ${ProductCoreFragmentDoc}`;
2130
-
2131
- /**
2132
- * __useListProductsQuery__
2133
- *
2134
- * To run a query within a React component, call `useListProductsQuery` and pass it any options that fit your needs.
2135
- * When your component renders, `useListProductsQuery` returns an object from Apollo Client that contains loading, error, and data properties
2136
- * you can use to render your UI.
2137
- *
2138
- * @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;
2139
- *
2140
- * @example
2141
- * const { data, loading, error } = useListProductsQuery({
2142
- * variables: {
2143
- * filter: // value for 'filter'
2144
- * pagination: // value for 'pagination'
2145
- * },
2146
- * });
2147
- */
2148
- export function useListProductsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.ListProductsQuery, Types.ListProductsQueryVariables>) {
2149
- const options = {...defaultOptions, ...baseOptions}
2150
- return ApolloReactHooks.useQuery<Types.ListProductsQuery, Types.ListProductsQueryVariables>(ListProductsDocument, options);
2151
- }
2152
- export function useListProductsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.ListProductsQuery, Types.ListProductsQueryVariables>) {
2153
- const options = {...defaultOptions, ...baseOptions}
2154
- return ApolloReactHooks.useLazyQuery<Types.ListProductsQuery, Types.ListProductsQueryVariables>(ListProductsDocument, options);
2155
- }
2156
- // @ts-ignore
2157
- export function useListProductsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.ListProductsQuery, Types.ListProductsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListProductsQuery, Types.ListProductsQueryVariables>;
2158
- export function useListProductsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListProductsQuery, Types.ListProductsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListProductsQuery | undefined, Types.ListProductsQueryVariables>;
2159
- export function useListProductsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListProductsQuery, Types.ListProductsQueryVariables>) {
2160
- const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
2161
- return ApolloReactHooks.useSuspenseQuery<Types.ListProductsQuery, Types.ListProductsQueryVariables>(ListProductsDocument, options);
2162
- }
2163
- export type ListProductsQueryHookResult = ReturnType<typeof useListProductsQuery>;
2164
- export type ListProductsLazyQueryHookResult = ReturnType<typeof useListProductsLazyQuery>;
2165
- export type ListProductsSuspenseQueryHookResult = ReturnType<typeof useListProductsSuspenseQuery>;
2166
- export type ListProductsQueryResult = Apollo.QueryResult<Types.ListProductsQuery, Types.ListProductsQueryVariables>;
2167
- export const GetProductDocument = gql`
2168
- query GetProduct($id: ID!) {
2169
- cargoItem(id: $id) {
2170
- ...ProductCore
2171
- }
2172
- }
2173
- ${ProductCoreFragmentDoc}`;
2174
-
2175
- /**
2176
- * __useGetProductQuery__
2177
- *
2178
- * To run a query within a React component, call `useGetProductQuery` and pass it any options that fit your needs.
2179
- * When your component renders, `useGetProductQuery` returns an object from Apollo Client that contains loading, error, and data properties
2180
- * you can use to render your UI.
2181
- *
2182
- * @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;
2183
- *
2184
- * @example
2185
- * const { data, loading, error } = useGetProductQuery({
2186
- * variables: {
2187
- * id: // value for 'id'
2188
- * },
2189
- * });
2190
- */
2191
- export function useGetProductQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetProductQuery, Types.GetProductQueryVariables> & ({ variables: Types.GetProductQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {
2192
- const options = {...defaultOptions, ...baseOptions}
2193
- return ApolloReactHooks.useQuery<Types.GetProductQuery, Types.GetProductQueryVariables>(GetProductDocument, options);
2194
- }
2195
- export function useGetProductLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetProductQuery, Types.GetProductQueryVariables>) {
2196
- const options = {...defaultOptions, ...baseOptions}
2197
- return ApolloReactHooks.useLazyQuery<Types.GetProductQuery, Types.GetProductQueryVariables>(GetProductDocument, options);
2198
- }
2199
- // @ts-ignore
2200
- export function useGetProductSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetProductQuery, Types.GetProductQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetProductQuery, Types.GetProductQueryVariables>;
2201
- export function useGetProductSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetProductQuery, Types.GetProductQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetProductQuery | undefined, Types.GetProductQueryVariables>;
2202
- export function useGetProductSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetProductQuery, Types.GetProductQueryVariables>) {
2203
- const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
2204
- return ApolloReactHooks.useSuspenseQuery<Types.GetProductQuery, Types.GetProductQueryVariables>(GetProductDocument, options);
2205
- }
2206
- export type GetProductQueryHookResult = ReturnType<typeof useGetProductQuery>;
2207
- export type GetProductLazyQueryHookResult = ReturnType<typeof useGetProductLazyQuery>;
2208
- export type GetProductSuspenseQueryHookResult = ReturnType<typeof useGetProductSuspenseQuery>;
2209
- export type GetProductQueryResult = Apollo.QueryResult<Types.GetProductQuery, Types.GetProductQueryVariables>;
2210
- export const ListVehiclesDocument = gql`
2211
- query ListVehicles($filter: VehicleFilterInput, $pagination: PaginationInput) {
2212
- vehicles(filter: $filter, pagination: $pagination) {
2213
- ...VehicleCore
2214
- }
2215
- }
2216
- ${VehicleCoreFragmentDoc}`;
2217
-
2218
- /**
2219
- * __useListVehiclesQuery__
2220
- *
2221
- * To run a query within a React component, call `useListVehiclesQuery` and pass it any options that fit your needs.
2222
- * When your component renders, `useListVehiclesQuery` returns an object from Apollo Client that contains loading, error, and data properties
2223
- * you can use to render your UI.
2224
- *
2225
- * @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;
2226
- *
2227
- * @example
2228
- * const { data, loading, error } = useListVehiclesQuery({
2229
- * variables: {
2230
- * filter: // value for 'filter'
2231
- * pagination: // value for 'pagination'
2232
- * },
2233
- * });
2234
- */
2235
- export function useListVehiclesQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.ListVehiclesQuery, Types.ListVehiclesQueryVariables>) {
2236
- const options = {...defaultOptions, ...baseOptions}
2237
- return ApolloReactHooks.useQuery<Types.ListVehiclesQuery, Types.ListVehiclesQueryVariables>(ListVehiclesDocument, options);
2238
- }
2239
- export function useListVehiclesLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.ListVehiclesQuery, Types.ListVehiclesQueryVariables>) {
2240
- const options = {...defaultOptions, ...baseOptions}
2241
- return ApolloReactHooks.useLazyQuery<Types.ListVehiclesQuery, Types.ListVehiclesQueryVariables>(ListVehiclesDocument, options);
2242
- }
2243
- // @ts-ignore
2244
- export function useListVehiclesSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.ListVehiclesQuery, Types.ListVehiclesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListVehiclesQuery, Types.ListVehiclesQueryVariables>;
2245
- export function useListVehiclesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListVehiclesQuery, Types.ListVehiclesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListVehiclesQuery | undefined, Types.ListVehiclesQueryVariables>;
2246
- export function useListVehiclesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListVehiclesQuery, Types.ListVehiclesQueryVariables>) {
2247
- const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
2248
- return ApolloReactHooks.useSuspenseQuery<Types.ListVehiclesQuery, Types.ListVehiclesQueryVariables>(ListVehiclesDocument, options);
2249
- }
2250
- export type ListVehiclesQueryHookResult = ReturnType<typeof useListVehiclesQuery>;
2251
- export type ListVehiclesLazyQueryHookResult = ReturnType<typeof useListVehiclesLazyQuery>;
2252
- export type ListVehiclesSuspenseQueryHookResult = ReturnType<typeof useListVehiclesSuspenseQuery>;
2253
- export type ListVehiclesQueryResult = Apollo.QueryResult<Types.ListVehiclesQuery, Types.ListVehiclesQueryVariables>;
2254
- export const GetVehicleDocument = gql`
2255
- query GetVehicle($id: ID!) {
2256
- vehicle(id: $id) {
2257
- ...VehicleCore
2258
- }
2259
- }
2260
- ${VehicleCoreFragmentDoc}`;
2261
-
2262
- /**
2263
- * __useGetVehicleQuery__
2264
- *
2265
- * To run a query within a React component, call `useGetVehicleQuery` and pass it any options that fit your needs.
2266
- * When your component renders, `useGetVehicleQuery` returns an object from Apollo Client that contains loading, error, and data properties
2267
- * you can use to render your UI.
2268
- *
2269
- * @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;
2270
- *
2271
- * @example
2272
- * const { data, loading, error } = useGetVehicleQuery({
2273
- * variables: {
2274
- * id: // value for 'id'
2275
- * },
2276
- * });
2277
- */
2278
- export function useGetVehicleQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetVehicleQuery, Types.GetVehicleQueryVariables> & ({ variables: Types.GetVehicleQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {
2279
- const options = {...defaultOptions, ...baseOptions}
2280
- return ApolloReactHooks.useQuery<Types.GetVehicleQuery, Types.GetVehicleQueryVariables>(GetVehicleDocument, options);
2281
- }
2282
- export function useGetVehicleLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetVehicleQuery, Types.GetVehicleQueryVariables>) {
2283
- const options = {...defaultOptions, ...baseOptions}
2284
- return ApolloReactHooks.useLazyQuery<Types.GetVehicleQuery, Types.GetVehicleQueryVariables>(GetVehicleDocument, options);
2285
- }
2286
- // @ts-ignore
2287
- export function useGetVehicleSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetVehicleQuery, Types.GetVehicleQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetVehicleQuery, Types.GetVehicleQueryVariables>;
2288
- export function useGetVehicleSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetVehicleQuery, Types.GetVehicleQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetVehicleQuery | undefined, Types.GetVehicleQueryVariables>;
2289
- export function useGetVehicleSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetVehicleQuery, Types.GetVehicleQueryVariables>) {
2290
- const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
2291
- return ApolloReactHooks.useSuspenseQuery<Types.GetVehicleQuery, Types.GetVehicleQueryVariables>(GetVehicleDocument, options);
2292
- }
2293
- export type GetVehicleQueryHookResult = ReturnType<typeof useGetVehicleQuery>;
2294
- export type GetVehicleLazyQueryHookResult = ReturnType<typeof useGetVehicleLazyQuery>;
2295
- export type GetVehicleSuspenseQueryHookResult = ReturnType<typeof useGetVehicleSuspenseQuery>;
2296
- export type GetVehicleQueryResult = Apollo.QueryResult<Types.GetVehicleQuery, Types.GetVehicleQueryVariables>;
2297
- export const ListDriversDocument = gql`
2298
- query ListDrivers($filter: DriverFilterInput, $pagination: PaginationInput) {
2299
- drivers(filter: $filter, pagination: $pagination) {
2300
- ...DriverCore
2301
- }
2302
- }
2303
- ${DriverCoreFragmentDoc}`;
2304
-
2305
- /**
2306
- * __useListDriversQuery__
2307
- *
2308
- * To run a query within a React component, call `useListDriversQuery` and pass it any options that fit your needs.
2309
- * When your component renders, `useListDriversQuery` returns an object from Apollo Client that contains loading, error, and data properties
2310
- * you can use to render your UI.
2311
- *
2312
- * @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;
2313
- *
2314
- * @example
2315
- * const { data, loading, error } = useListDriversQuery({
2316
- * variables: {
2317
- * filter: // value for 'filter'
2318
- * pagination: // value for 'pagination'
2319
- * },
2320
- * });
2321
- */
2322
- export function useListDriversQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.ListDriversQuery, Types.ListDriversQueryVariables>) {
2323
- const options = {...defaultOptions, ...baseOptions}
2324
- return ApolloReactHooks.useQuery<Types.ListDriversQuery, Types.ListDriversQueryVariables>(ListDriversDocument, options);
2325
- }
2326
- export function useListDriversLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.ListDriversQuery, Types.ListDriversQueryVariables>) {
2327
- const options = {...defaultOptions, ...baseOptions}
2328
- return ApolloReactHooks.useLazyQuery<Types.ListDriversQuery, Types.ListDriversQueryVariables>(ListDriversDocument, options);
2329
- }
2330
- // @ts-ignore
2331
- export function useListDriversSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.ListDriversQuery, Types.ListDriversQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListDriversQuery, Types.ListDriversQueryVariables>;
2332
- export function useListDriversSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListDriversQuery, Types.ListDriversQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListDriversQuery | undefined, Types.ListDriversQueryVariables>;
2333
- export function useListDriversSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListDriversQuery, Types.ListDriversQueryVariables>) {
2334
- const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
2335
- return ApolloReactHooks.useSuspenseQuery<Types.ListDriversQuery, Types.ListDriversQueryVariables>(ListDriversDocument, options);
2336
- }
2337
- export type ListDriversQueryHookResult = ReturnType<typeof useListDriversQuery>;
2338
- export type ListDriversLazyQueryHookResult = ReturnType<typeof useListDriversLazyQuery>;
2339
- export type ListDriversSuspenseQueryHookResult = ReturnType<typeof useListDriversSuspenseQuery>;
2340
- export type ListDriversQueryResult = Apollo.QueryResult<Types.ListDriversQuery, Types.ListDriversQueryVariables>;
2341
- export const GetDriverDocument = gql`
2342
- query GetDriver($id: ID!) {
2343
- driver(id: $id) {
2344
- ...DriverCore
2345
- }
2346
- }
2347
- ${DriverCoreFragmentDoc}`;
2348
-
2349
- /**
2350
- * __useGetDriverQuery__
2351
- *
2352
- * To run a query within a React component, call `useGetDriverQuery` and pass it any options that fit your needs.
2353
- * When your component renders, `useGetDriverQuery` returns an object from Apollo Client that contains loading, error, and data properties
2354
- * you can use to render your UI.
2355
- *
2356
- * @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;
2357
- *
2358
- * @example
2359
- * const { data, loading, error } = useGetDriverQuery({
2360
- * variables: {
2361
- * id: // value for 'id'
2362
- * },
2363
- * });
2364
- */
2365
- export function useGetDriverQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetDriverQuery, Types.GetDriverQueryVariables> & ({ variables: Types.GetDriverQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {
2366
- const options = {...defaultOptions, ...baseOptions}
2367
- return ApolloReactHooks.useQuery<Types.GetDriverQuery, Types.GetDriverQueryVariables>(GetDriverDocument, options);
2368
- }
2369
- export function useGetDriverLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetDriverQuery, Types.GetDriverQueryVariables>) {
2370
- const options = {...defaultOptions, ...baseOptions}
2371
- return ApolloReactHooks.useLazyQuery<Types.GetDriverQuery, Types.GetDriverQueryVariables>(GetDriverDocument, options);
2372
- }
2373
- // @ts-ignore
2374
- export function useGetDriverSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetDriverQuery, Types.GetDriverQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetDriverQuery, Types.GetDriverQueryVariables>;
2375
- export function useGetDriverSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetDriverQuery, Types.GetDriverQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetDriverQuery | undefined, Types.GetDriverQueryVariables>;
2376
- export function useGetDriverSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetDriverQuery, Types.GetDriverQueryVariables>) {
2377
- const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
2378
- return ApolloReactHooks.useSuspenseQuery<Types.GetDriverQuery, Types.GetDriverQueryVariables>(GetDriverDocument, options);
2379
- }
2380
- export type GetDriverQueryHookResult = ReturnType<typeof useGetDriverQuery>;
2381
- export type GetDriverLazyQueryHookResult = ReturnType<typeof useGetDriverLazyQuery>;
2382
- export type GetDriverSuspenseQueryHookResult = ReturnType<typeof useGetDriverSuspenseQuery>;
2383
- export type GetDriverQueryResult = Apollo.QueryResult<Types.GetDriverQuery, Types.GetDriverQueryVariables>;
2384
- export const ListWarehousesDocument = gql`
2385
- query ListWarehouses($filter: WarehouseFilterInput, $pagination: PaginationInput) {
2386
- warehouses(filter: $filter, pagination: $pagination) {
2387
- ...WarehouseCore
2388
- locations {
2389
- id
2390
- locationCode
2391
- zone
2392
- aisle
2393
- rack
2394
- shelf
2395
- bin
2396
- locationType
2397
- capacity
2398
- status
2399
- }
2400
- }
2401
- }
2402
- ${WarehouseCoreFragmentDoc}`;
2403
-
2404
- /**
2405
- * __useListWarehousesQuery__
2406
- *
2407
- * To run a query within a React component, call `useListWarehousesQuery` and pass it any options that fit your needs.
2408
- * When your component renders, `useListWarehousesQuery` returns an object from Apollo Client that contains loading, error, and data properties
2409
- * you can use to render your UI.
2410
- *
2411
- * @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;
2412
- *
2413
- * @example
2414
- * const { data, loading, error } = useListWarehousesQuery({
2415
- * variables: {
2416
- * filter: // value for 'filter'
2417
- * pagination: // value for 'pagination'
2418
- * },
2419
- * });
2420
- */
2421
- export function useListWarehousesQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.ListWarehousesQuery, Types.ListWarehousesQueryVariables>) {
2422
- const options = {...defaultOptions, ...baseOptions}
2423
- return ApolloReactHooks.useQuery<Types.ListWarehousesQuery, Types.ListWarehousesQueryVariables>(ListWarehousesDocument, options);
2424
- }
2425
- export function useListWarehousesLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.ListWarehousesQuery, Types.ListWarehousesQueryVariables>) {
2426
- const options = {...defaultOptions, ...baseOptions}
2427
- return ApolloReactHooks.useLazyQuery<Types.ListWarehousesQuery, Types.ListWarehousesQueryVariables>(ListWarehousesDocument, options);
2428
- }
2429
- // @ts-ignore
2430
- export function useListWarehousesSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.ListWarehousesQuery, Types.ListWarehousesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListWarehousesQuery, Types.ListWarehousesQueryVariables>;
2431
- export function useListWarehousesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListWarehousesQuery, Types.ListWarehousesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListWarehousesQuery | undefined, Types.ListWarehousesQueryVariables>;
2432
- export function useListWarehousesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListWarehousesQuery, Types.ListWarehousesQueryVariables>) {
2433
- const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
2434
- return ApolloReactHooks.useSuspenseQuery<Types.ListWarehousesQuery, Types.ListWarehousesQueryVariables>(ListWarehousesDocument, options);
2435
- }
2436
- export type ListWarehousesQueryHookResult = ReturnType<typeof useListWarehousesQuery>;
2437
- export type ListWarehousesLazyQueryHookResult = ReturnType<typeof useListWarehousesLazyQuery>;
2438
- export type ListWarehousesSuspenseQueryHookResult = ReturnType<typeof useListWarehousesSuspenseQuery>;
2439
- export type ListWarehousesQueryResult = Apollo.QueryResult<Types.ListWarehousesQuery, Types.ListWarehousesQueryVariables>;
2440
- export const GetWarehouseDocument = gql`
2441
- query GetWarehouse($id: ID!) {
2442
- warehouse(id: $id) {
2443
- ...WarehouseCore
2444
- locations {
2445
- id
2446
- locationCode
2447
- zone
2448
- aisle
2449
- rack
2450
- shelf
2451
- bin
2452
- locationType
2453
- capacity
2454
- status
2455
- }
2456
- }
2457
- }
2458
- ${WarehouseCoreFragmentDoc}`;
2459
-
2460
- /**
2461
- * __useGetWarehouseQuery__
2462
- *
2463
- * To run a query within a React component, call `useGetWarehouseQuery` and pass it any options that fit your needs.
2464
- * When your component renders, `useGetWarehouseQuery` returns an object from Apollo Client that contains loading, error, and data properties
2465
- * you can use to render your UI.
2466
- *
2467
- * @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;
2468
- *
2469
- * @example
2470
- * const { data, loading, error } = useGetWarehouseQuery({
2471
- * variables: {
2472
- * id: // value for 'id'
2473
- * },
2474
- * });
2475
- */
2476
- export function useGetWarehouseQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetWarehouseQuery, Types.GetWarehouseQueryVariables> & ({ variables: Types.GetWarehouseQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {
2477
- const options = {...defaultOptions, ...baseOptions}
2478
- return ApolloReactHooks.useQuery<Types.GetWarehouseQuery, Types.GetWarehouseQueryVariables>(GetWarehouseDocument, options);
2479
- }
2480
- export function useGetWarehouseLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetWarehouseQuery, Types.GetWarehouseQueryVariables>) {
2481
- const options = {...defaultOptions, ...baseOptions}
2482
- return ApolloReactHooks.useLazyQuery<Types.GetWarehouseQuery, Types.GetWarehouseQueryVariables>(GetWarehouseDocument, options);
2483
- }
2484
- // @ts-ignore
2485
- export function useGetWarehouseSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetWarehouseQuery, Types.GetWarehouseQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetWarehouseQuery, Types.GetWarehouseQueryVariables>;
2486
- export function useGetWarehouseSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetWarehouseQuery, Types.GetWarehouseQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetWarehouseQuery | undefined, Types.GetWarehouseQueryVariables>;
2487
- export function useGetWarehouseSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetWarehouseQuery, Types.GetWarehouseQueryVariables>) {
2488
- const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
2489
- return ApolloReactHooks.useSuspenseQuery<Types.GetWarehouseQuery, Types.GetWarehouseQueryVariables>(GetWarehouseDocument, options);
2490
- }
2491
- export type GetWarehouseQueryHookResult = ReturnType<typeof useGetWarehouseQuery>;
2492
- export type GetWarehouseLazyQueryHookResult = ReturnType<typeof useGetWarehouseLazyQuery>;
2493
- export type GetWarehouseSuspenseQueryHookResult = ReturnType<typeof useGetWarehouseSuspenseQuery>;
2494
- export type GetWarehouseQueryResult = Apollo.QueryResult<Types.GetWarehouseQuery, Types.GetWarehouseQueryVariables>;
2495
- export const GetMovethewheelsDemandForecastByLaneDocument = gql`
2496
- query GetMovethewheelsDemandForecastByLane($weeks: Int!) {
2497
- demandForecastByLane(weeks: $weeks) {
2498
- scopeType
2499
- scopeKey
2500
- periodStart
2501
- periodEnd
2502
- predictedVolume
2503
- predictedRevenue
2504
- actualVolume
2505
- actualRevenue
2506
- confidence
2507
- }
2508
- }
2509
- `;
2510
-
2511
- /**
2512
- * __useGetMovethewheelsDemandForecastByLaneQuery__
2513
- *
2514
- * To run a query within a React component, call `useGetMovethewheelsDemandForecastByLaneQuery` and pass it any options that fit your needs.
2515
- * When your component renders, `useGetMovethewheelsDemandForecastByLaneQuery` returns an object from Apollo Client that contains loading, error, and data properties
2516
- * you can use to render your UI.
2517
- *
2518
- * @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;
2519
- *
2520
- * @example
2521
- * const { data, loading, error } = useGetMovethewheelsDemandForecastByLaneQuery({
2522
- * variables: {
2523
- * weeks: // value for 'weeks'
2524
- * },
2525
- * });
2526
- */
2527
- export function useGetMovethewheelsDemandForecastByLaneQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetMovethewheelsDemandForecastByLaneQuery, Types.GetMovethewheelsDemandForecastByLaneQueryVariables> & ({ variables: Types.GetMovethewheelsDemandForecastByLaneQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {
2528
- const options = {...defaultOptions, ...baseOptions}
2529
- return ApolloReactHooks.useQuery<Types.GetMovethewheelsDemandForecastByLaneQuery, Types.GetMovethewheelsDemandForecastByLaneQueryVariables>(GetMovethewheelsDemandForecastByLaneDocument, options);
2530
- }
2531
- export function useGetMovethewheelsDemandForecastByLaneLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetMovethewheelsDemandForecastByLaneQuery, Types.GetMovethewheelsDemandForecastByLaneQueryVariables>) {
2532
- const options = {...defaultOptions, ...baseOptions}
2533
- return ApolloReactHooks.useLazyQuery<Types.GetMovethewheelsDemandForecastByLaneQuery, Types.GetMovethewheelsDemandForecastByLaneQueryVariables>(GetMovethewheelsDemandForecastByLaneDocument, options);
2534
- }
2535
- // @ts-ignore
2536
- export function useGetMovethewheelsDemandForecastByLaneSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMovethewheelsDemandForecastByLaneQuery, Types.GetMovethewheelsDemandForecastByLaneQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetMovethewheelsDemandForecastByLaneQuery, Types.GetMovethewheelsDemandForecastByLaneQueryVariables>;
2537
- export function useGetMovethewheelsDemandForecastByLaneSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMovethewheelsDemandForecastByLaneQuery, Types.GetMovethewheelsDemandForecastByLaneQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetMovethewheelsDemandForecastByLaneQuery | undefined, Types.GetMovethewheelsDemandForecastByLaneQueryVariables>;
2538
- export function useGetMovethewheelsDemandForecastByLaneSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMovethewheelsDemandForecastByLaneQuery, Types.GetMovethewheelsDemandForecastByLaneQueryVariables>) {
2539
- const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
2540
- return ApolloReactHooks.useSuspenseQuery<Types.GetMovethewheelsDemandForecastByLaneQuery, Types.GetMovethewheelsDemandForecastByLaneQueryVariables>(GetMovethewheelsDemandForecastByLaneDocument, options);
2541
- }
2542
- export type GetMovethewheelsDemandForecastByLaneQueryHookResult = ReturnType<typeof useGetMovethewheelsDemandForecastByLaneQuery>;
2543
- export type GetMovethewheelsDemandForecastByLaneLazyQueryHookResult = ReturnType<typeof useGetMovethewheelsDemandForecastByLaneLazyQuery>;
2544
- export type GetMovethewheelsDemandForecastByLaneSuspenseQueryHookResult = ReturnType<typeof useGetMovethewheelsDemandForecastByLaneSuspenseQuery>;
2545
- export type GetMovethewheelsDemandForecastByLaneQueryResult = Apollo.QueryResult<Types.GetMovethewheelsDemandForecastByLaneQuery, Types.GetMovethewheelsDemandForecastByLaneQueryVariables>;
2546
- export const GetMovethewheelsDemandForecastByCustomerDocument = gql`
2547
- query GetMovethewheelsDemandForecastByCustomer($weeks: Int!) {
2548
- demandForecastByCustomer(weeks: $weeks) {
2549
- scopeType
2550
- scopeKey
2551
- periodStart
2552
- periodEnd
2553
- predictedVolume
2554
- predictedRevenue
2555
- actualVolume
2556
- actualRevenue
2557
- confidence
2558
- }
2559
- }
2560
- `;
2561
-
2562
- /**
2563
- * __useGetMovethewheelsDemandForecastByCustomerQuery__
2564
- *
2565
- * To run a query within a React component, call `useGetMovethewheelsDemandForecastByCustomerQuery` and pass it any options that fit your needs.
2566
- * When your component renders, `useGetMovethewheelsDemandForecastByCustomerQuery` returns an object from Apollo Client that contains loading, error, and data properties
2567
- * you can use to render your UI.
2568
- *
2569
- * @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;
2570
- *
2571
- * @example
2572
- * const { data, loading, error } = useGetMovethewheelsDemandForecastByCustomerQuery({
2573
- * variables: {
2574
- * weeks: // value for 'weeks'
2575
- * },
2576
- * });
2577
- */
2578
- export function useGetMovethewheelsDemandForecastByCustomerQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetMovethewheelsDemandForecastByCustomerQuery, Types.GetMovethewheelsDemandForecastByCustomerQueryVariables> & ({ variables: Types.GetMovethewheelsDemandForecastByCustomerQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {
2579
- const options = {...defaultOptions, ...baseOptions}
2580
- return ApolloReactHooks.useQuery<Types.GetMovethewheelsDemandForecastByCustomerQuery, Types.GetMovethewheelsDemandForecastByCustomerQueryVariables>(GetMovethewheelsDemandForecastByCustomerDocument, options);
2581
- }
2582
- export function useGetMovethewheelsDemandForecastByCustomerLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetMovethewheelsDemandForecastByCustomerQuery, Types.GetMovethewheelsDemandForecastByCustomerQueryVariables>) {
2583
- const options = {...defaultOptions, ...baseOptions}
2584
- return ApolloReactHooks.useLazyQuery<Types.GetMovethewheelsDemandForecastByCustomerQuery, Types.GetMovethewheelsDemandForecastByCustomerQueryVariables>(GetMovethewheelsDemandForecastByCustomerDocument, options);
2585
- }
2586
- // @ts-ignore
2587
- export function useGetMovethewheelsDemandForecastByCustomerSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMovethewheelsDemandForecastByCustomerQuery, Types.GetMovethewheelsDemandForecastByCustomerQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetMovethewheelsDemandForecastByCustomerQuery, Types.GetMovethewheelsDemandForecastByCustomerQueryVariables>;
2588
- export function useGetMovethewheelsDemandForecastByCustomerSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMovethewheelsDemandForecastByCustomerQuery, Types.GetMovethewheelsDemandForecastByCustomerQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetMovethewheelsDemandForecastByCustomerQuery | undefined, Types.GetMovethewheelsDemandForecastByCustomerQueryVariables>;
2589
- export function useGetMovethewheelsDemandForecastByCustomerSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMovethewheelsDemandForecastByCustomerQuery, Types.GetMovethewheelsDemandForecastByCustomerQueryVariables>) {
2590
- const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
2591
- return ApolloReactHooks.useSuspenseQuery<Types.GetMovethewheelsDemandForecastByCustomerQuery, Types.GetMovethewheelsDemandForecastByCustomerQueryVariables>(GetMovethewheelsDemandForecastByCustomerDocument, options);
2592
- }
2593
- export type GetMovethewheelsDemandForecastByCustomerQueryHookResult = ReturnType<typeof useGetMovethewheelsDemandForecastByCustomerQuery>;
2594
- export type GetMovethewheelsDemandForecastByCustomerLazyQueryHookResult = ReturnType<typeof useGetMovethewheelsDemandForecastByCustomerLazyQuery>;
2595
- export type GetMovethewheelsDemandForecastByCustomerSuspenseQueryHookResult = ReturnType<typeof useGetMovethewheelsDemandForecastByCustomerSuspenseQuery>;
2596
- export type GetMovethewheelsDemandForecastByCustomerQueryResult = Apollo.QueryResult<Types.GetMovethewheelsDemandForecastByCustomerQuery, Types.GetMovethewheelsDemandForecastByCustomerQueryVariables>;
2597
- export const GetMovethewheelsDemandForecastVarianceDocument = gql`
2598
- query GetMovethewheelsDemandForecastVariance($scopeType: DemandForecastScope!, $limit: Int!) {
2599
- demandForecastVariance(scopeType: $scopeType, limit: $limit) {
2600
- scopeType
2601
- scopeKey
2602
- periodStart
2603
- periodEnd
2604
- predictedVolume
2605
- actualVolume
2606
- volumeVariance
2607
- predictedRevenue
2608
- actualRevenue
2609
- revenueVariance
2610
- }
2611
- }
2612
- `;
2613
-
2614
- /**
2615
- * __useGetMovethewheelsDemandForecastVarianceQuery__
2616
- *
2617
- * To run a query within a React component, call `useGetMovethewheelsDemandForecastVarianceQuery` and pass it any options that fit your needs.
2618
- * When your component renders, `useGetMovethewheelsDemandForecastVarianceQuery` returns an object from Apollo Client that contains loading, error, and data properties
2619
- * you can use to render your UI.
2620
- *
2621
- * @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;
2622
- *
2623
- * @example
2624
- * const { data, loading, error } = useGetMovethewheelsDemandForecastVarianceQuery({
2625
- * variables: {
2626
- * scopeType: // value for 'scopeType'
2627
- * limit: // value for 'limit'
2628
- * },
2629
- * });
2630
- */
2631
- export function useGetMovethewheelsDemandForecastVarianceQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetMovethewheelsDemandForecastVarianceQuery, Types.GetMovethewheelsDemandForecastVarianceQueryVariables> & ({ variables: Types.GetMovethewheelsDemandForecastVarianceQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {
2632
- const options = {...defaultOptions, ...baseOptions}
2633
- return ApolloReactHooks.useQuery<Types.GetMovethewheelsDemandForecastVarianceQuery, Types.GetMovethewheelsDemandForecastVarianceQueryVariables>(GetMovethewheelsDemandForecastVarianceDocument, options);
2634
- }
2635
- export function useGetMovethewheelsDemandForecastVarianceLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetMovethewheelsDemandForecastVarianceQuery, Types.GetMovethewheelsDemandForecastVarianceQueryVariables>) {
2636
- const options = {...defaultOptions, ...baseOptions}
2637
- return ApolloReactHooks.useLazyQuery<Types.GetMovethewheelsDemandForecastVarianceQuery, Types.GetMovethewheelsDemandForecastVarianceQueryVariables>(GetMovethewheelsDemandForecastVarianceDocument, options);
2638
- }
2639
- // @ts-ignore
2640
- export function useGetMovethewheelsDemandForecastVarianceSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMovethewheelsDemandForecastVarianceQuery, Types.GetMovethewheelsDemandForecastVarianceQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetMovethewheelsDemandForecastVarianceQuery, Types.GetMovethewheelsDemandForecastVarianceQueryVariables>;
2641
- export function useGetMovethewheelsDemandForecastVarianceSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMovethewheelsDemandForecastVarianceQuery, Types.GetMovethewheelsDemandForecastVarianceQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetMovethewheelsDemandForecastVarianceQuery | undefined, Types.GetMovethewheelsDemandForecastVarianceQueryVariables>;
2642
- export function useGetMovethewheelsDemandForecastVarianceSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMovethewheelsDemandForecastVarianceQuery, Types.GetMovethewheelsDemandForecastVarianceQueryVariables>) {
2643
- const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
2644
- return ApolloReactHooks.useSuspenseQuery<Types.GetMovethewheelsDemandForecastVarianceQuery, Types.GetMovethewheelsDemandForecastVarianceQueryVariables>(GetMovethewheelsDemandForecastVarianceDocument, options);
2645
- }
2646
- export type GetMovethewheelsDemandForecastVarianceQueryHookResult = ReturnType<typeof useGetMovethewheelsDemandForecastVarianceQuery>;
2647
- export type GetMovethewheelsDemandForecastVarianceLazyQueryHookResult = ReturnType<typeof useGetMovethewheelsDemandForecastVarianceLazyQuery>;
2648
- export type GetMovethewheelsDemandForecastVarianceSuspenseQueryHookResult = ReturnType<typeof useGetMovethewheelsDemandForecastVarianceSuspenseQuery>;
2649
- export type GetMovethewheelsDemandForecastVarianceQueryResult = Apollo.QueryResult<Types.GetMovethewheelsDemandForecastVarianceQuery, Types.GetMovethewheelsDemandForecastVarianceQueryVariables>;
2650
- export const ListInventoryItemsDocument = gql`
2651
- query ListInventoryItems($filter: InventoryFilterInput, $pagination: PaginationInput) {
2652
- inventoryItems(filter: $filter, pagination: $pagination) {
2653
- ...InventoryItemCore
2654
- cargoItem {
2655
- id
2656
- name
2657
- sku
2658
- category
2659
- }
2660
- warehouse {
2661
- id
2662
- name
2663
- code
2664
- type
2665
- }
2666
- }
2667
- }
2668
- ${InventoryItemCoreFragmentDoc}`;
2669
-
2670
- /**
2671
- * __useListInventoryItemsQuery__
2672
- *
2673
- * To run a query within a React component, call `useListInventoryItemsQuery` and pass it any options that fit your needs.
2674
- * When your component renders, `useListInventoryItemsQuery` returns an object from Apollo Client that contains loading, error, and data properties
2675
- * you can use to render your UI.
2676
- *
2677
- * @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;
2678
- *
2679
- * @example
2680
- * const { data, loading, error } = useListInventoryItemsQuery({
2681
- * variables: {
2682
- * filter: // value for 'filter'
2683
- * pagination: // value for 'pagination'
2684
- * },
2685
- * });
2686
- */
2687
- export function useListInventoryItemsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.ListInventoryItemsQuery, Types.ListInventoryItemsQueryVariables>) {
2688
- const options = {...defaultOptions, ...baseOptions}
2689
- return ApolloReactHooks.useQuery<Types.ListInventoryItemsQuery, Types.ListInventoryItemsQueryVariables>(ListInventoryItemsDocument, options);
2690
- }
2691
- export function useListInventoryItemsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.ListInventoryItemsQuery, Types.ListInventoryItemsQueryVariables>) {
2692
- const options = {...defaultOptions, ...baseOptions}
2693
- return ApolloReactHooks.useLazyQuery<Types.ListInventoryItemsQuery, Types.ListInventoryItemsQueryVariables>(ListInventoryItemsDocument, options);
2694
- }
2695
- // @ts-ignore
2696
- export function useListInventoryItemsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.ListInventoryItemsQuery, Types.ListInventoryItemsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListInventoryItemsQuery, Types.ListInventoryItemsQueryVariables>;
2697
- export function useListInventoryItemsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListInventoryItemsQuery, Types.ListInventoryItemsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListInventoryItemsQuery | undefined, Types.ListInventoryItemsQueryVariables>;
2698
- export function useListInventoryItemsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListInventoryItemsQuery, Types.ListInventoryItemsQueryVariables>) {
2699
- const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
2700
- return ApolloReactHooks.useSuspenseQuery<Types.ListInventoryItemsQuery, Types.ListInventoryItemsQueryVariables>(ListInventoryItemsDocument, options);
2701
- }
2702
- export type ListInventoryItemsQueryHookResult = ReturnType<typeof useListInventoryItemsQuery>;
2703
- export type ListInventoryItemsLazyQueryHookResult = ReturnType<typeof useListInventoryItemsLazyQuery>;
2704
- export type ListInventoryItemsSuspenseQueryHookResult = ReturnType<typeof useListInventoryItemsSuspenseQuery>;
2705
- export type ListInventoryItemsQueryResult = Apollo.QueryResult<Types.ListInventoryItemsQuery, Types.ListInventoryItemsQueryVariables>;
2706
- export const GetInventoryStatsDocument = gql`
2707
- query GetInventoryStats {
2708
- inventoryStats {
2709
- totalOnHand
2710
- totalAvailable
2711
- totalAllocated
2712
- totalDamaged
2713
- lowStockCount
2714
- }
2715
- }
2716
- `;
2717
-
2718
- /**
2719
- * __useGetInventoryStatsQuery__
2720
- *
2721
- * To run a query within a React component, call `useGetInventoryStatsQuery` and pass it any options that fit your needs.
2722
- * When your component renders, `useGetInventoryStatsQuery` returns an object from Apollo Client that contains loading, error, and data properties
2723
- * you can use to render your UI.
2724
- *
2725
- * @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;
2726
- *
2727
- * @example
2728
- * const { data, loading, error } = useGetInventoryStatsQuery({
2729
- * variables: {
2730
- * },
2731
- * });
2732
- */
2733
- export function useGetInventoryStatsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetInventoryStatsQuery, Types.GetInventoryStatsQueryVariables>) {
2734
- const options = {...defaultOptions, ...baseOptions}
2735
- return ApolloReactHooks.useQuery<Types.GetInventoryStatsQuery, Types.GetInventoryStatsQueryVariables>(GetInventoryStatsDocument, options);
2736
- }
2737
- export function useGetInventoryStatsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetInventoryStatsQuery, Types.GetInventoryStatsQueryVariables>) {
2738
- const options = {...defaultOptions, ...baseOptions}
2739
- return ApolloReactHooks.useLazyQuery<Types.GetInventoryStatsQuery, Types.GetInventoryStatsQueryVariables>(GetInventoryStatsDocument, options);
2740
- }
2741
- // @ts-ignore
2742
- export function useGetInventoryStatsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetInventoryStatsQuery, Types.GetInventoryStatsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetInventoryStatsQuery, Types.GetInventoryStatsQueryVariables>;
2743
- export function useGetInventoryStatsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetInventoryStatsQuery, Types.GetInventoryStatsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetInventoryStatsQuery | undefined, Types.GetInventoryStatsQueryVariables>;
2744
- export function useGetInventoryStatsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetInventoryStatsQuery, Types.GetInventoryStatsQueryVariables>) {
2745
- const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
2746
- return ApolloReactHooks.useSuspenseQuery<Types.GetInventoryStatsQuery, Types.GetInventoryStatsQueryVariables>(GetInventoryStatsDocument, options);
2747
- }
2748
- export type GetInventoryStatsQueryHookResult = ReturnType<typeof useGetInventoryStatsQuery>;
2749
- export type GetInventoryStatsLazyQueryHookResult = ReturnType<typeof useGetInventoryStatsLazyQuery>;
2750
- export type GetInventoryStatsSuspenseQueryHookResult = ReturnType<typeof useGetInventoryStatsSuspenseQuery>;
2751
- export type GetInventoryStatsQueryResult = Apollo.QueryResult<Types.GetInventoryStatsQuery, Types.GetInventoryStatsQueryVariables>;
2752
- export const ListRoutesDocument = gql`
2753
- query ListRoutes($filter: RouteFilterInput, $pagination: PaginationInput) {
2754
- routes(filter: $filter, pagination: $pagination) {
2755
- ...RouteCore
2756
- }
2757
- }
2758
- ${RouteCoreFragmentDoc}`;
2759
-
2760
- /**
2761
- * __useListRoutesQuery__
2762
- *
2763
- * To run a query within a React component, call `useListRoutesQuery` and pass it any options that fit your needs.
2764
- * When your component renders, `useListRoutesQuery` returns an object from Apollo Client that contains loading, error, and data properties
2765
- * you can use to render your UI.
2766
- *
2767
- * @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;
2768
- *
2769
- * @example
2770
- * const { data, loading, error } = useListRoutesQuery({
2771
- * variables: {
2772
- * filter: // value for 'filter'
2773
- * pagination: // value for 'pagination'
2774
- * },
2775
- * });
2776
- */
2777
- export function useListRoutesQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.ListRoutesQuery, Types.ListRoutesQueryVariables>) {
2778
- const options = {...defaultOptions, ...baseOptions}
2779
- return ApolloReactHooks.useQuery<Types.ListRoutesQuery, Types.ListRoutesQueryVariables>(ListRoutesDocument, options);
2780
- }
2781
- export function useListRoutesLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.ListRoutesQuery, Types.ListRoutesQueryVariables>) {
2782
- const options = {...defaultOptions, ...baseOptions}
2783
- return ApolloReactHooks.useLazyQuery<Types.ListRoutesQuery, Types.ListRoutesQueryVariables>(ListRoutesDocument, options);
2784
- }
2785
- // @ts-ignore
2786
- export function useListRoutesSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.ListRoutesQuery, Types.ListRoutesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListRoutesQuery, Types.ListRoutesQueryVariables>;
2787
- export function useListRoutesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListRoutesQuery, Types.ListRoutesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListRoutesQuery | undefined, Types.ListRoutesQueryVariables>;
2788
- export function useListRoutesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListRoutesQuery, Types.ListRoutesQueryVariables>) {
2789
- const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
2790
- return ApolloReactHooks.useSuspenseQuery<Types.ListRoutesQuery, Types.ListRoutesQueryVariables>(ListRoutesDocument, options);
2791
- }
2792
- export type ListRoutesQueryHookResult = ReturnType<typeof useListRoutesQuery>;
2793
- export type ListRoutesLazyQueryHookResult = ReturnType<typeof useListRoutesLazyQuery>;
2794
- export type ListRoutesSuspenseQueryHookResult = ReturnType<typeof useListRoutesSuspenseQuery>;
2795
- export type ListRoutesQueryResult = Apollo.QueryResult<Types.ListRoutesQuery, Types.ListRoutesQueryVariables>;
2796
- export const GetRouteDocument = gql`
2797
- query GetRoute($id: ID!) {
2798
- route(id: $id) {
2799
- ...RouteCore
2800
- }
2801
- }
2802
- ${RouteCoreFragmentDoc}`;
2803
-
2804
- /**
2805
- * __useGetRouteQuery__
2806
- *
2807
- * To run a query within a React component, call `useGetRouteQuery` and pass it any options that fit your needs.
2808
- * When your component renders, `useGetRouteQuery` returns an object from Apollo Client that contains loading, error, and data properties
2809
- * you can use to render your UI.
2810
- *
2811
- * @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;
2812
- *
2813
- * @example
2814
- * const { data, loading, error } = useGetRouteQuery({
2815
- * variables: {
2816
- * id: // value for 'id'
2817
- * },
2818
- * });
2819
- */
2820
- export function useGetRouteQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetRouteQuery, Types.GetRouteQueryVariables> & ({ variables: Types.GetRouteQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {
2821
- const options = {...defaultOptions, ...baseOptions}
2822
- return ApolloReactHooks.useQuery<Types.GetRouteQuery, Types.GetRouteQueryVariables>(GetRouteDocument, options);
2823
- }
2824
- export function useGetRouteLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetRouteQuery, Types.GetRouteQueryVariables>) {
2825
- const options = {...defaultOptions, ...baseOptions}
2826
- return ApolloReactHooks.useLazyQuery<Types.GetRouteQuery, Types.GetRouteQueryVariables>(GetRouteDocument, options);
2827
- }
2828
- // @ts-ignore
2829
- export function useGetRouteSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetRouteQuery, Types.GetRouteQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetRouteQuery, Types.GetRouteQueryVariables>;
2830
- export function useGetRouteSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetRouteQuery, Types.GetRouteQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetRouteQuery | undefined, Types.GetRouteQueryVariables>;
2831
- export function useGetRouteSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetRouteQuery, Types.GetRouteQueryVariables>) {
2832
- const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
2833
- return ApolloReactHooks.useSuspenseQuery<Types.GetRouteQuery, Types.GetRouteQueryVariables>(GetRouteDocument, options);
2834
- }
2835
- export type GetRouteQueryHookResult = ReturnType<typeof useGetRouteQuery>;
2836
- export type GetRouteLazyQueryHookResult = ReturnType<typeof useGetRouteLazyQuery>;
2837
- export type GetRouteSuspenseQueryHookResult = ReturnType<typeof useGetRouteSuspenseQuery>;
2838
- export type GetRouteQueryResult = Apollo.QueryResult<Types.GetRouteQuery, Types.GetRouteQueryVariables>;
2839
- export const ListShipmentsDocument = gql`
2840
- query ListShipments($filter: ShipmentFilterInput, $pagination: PaginationInput) {
2841
- shipments(filter: $filter, pagination: $pagination) {
2842
- ...ShipmentCore
2843
- }
2844
- }
2845
- ${ShipmentCoreFragmentDoc}`;
2846
-
2847
- /**
2848
- * __useListShipmentsQuery__
2849
- *
2850
- * To run a query within a React component, call `useListShipmentsQuery` and pass it any options that fit your needs.
2851
- * When your component renders, `useListShipmentsQuery` returns an object from Apollo Client that contains loading, error, and data properties
2852
- * you can use to render your UI.
2853
- *
2854
- * @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;
2855
- *
2856
- * @example
2857
- * const { data, loading, error } = useListShipmentsQuery({
2858
- * variables: {
2859
- * filter: // value for 'filter'
2860
- * pagination: // value for 'pagination'
2861
- * },
2862
- * });
2863
- */
2864
- export function useListShipmentsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.ListShipmentsQuery, Types.ListShipmentsQueryVariables>) {
2865
- const options = {...defaultOptions, ...baseOptions}
2866
- return ApolloReactHooks.useQuery<Types.ListShipmentsQuery, Types.ListShipmentsQueryVariables>(ListShipmentsDocument, options);
2867
- }
2868
- export function useListShipmentsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.ListShipmentsQuery, Types.ListShipmentsQueryVariables>) {
2869
- const options = {...defaultOptions, ...baseOptions}
2870
- return ApolloReactHooks.useLazyQuery<Types.ListShipmentsQuery, Types.ListShipmentsQueryVariables>(ListShipmentsDocument, options);
2871
- }
2872
- // @ts-ignore
2873
- export function useListShipmentsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.ListShipmentsQuery, Types.ListShipmentsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListShipmentsQuery, Types.ListShipmentsQueryVariables>;
2874
- export function useListShipmentsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListShipmentsQuery, Types.ListShipmentsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListShipmentsQuery | undefined, Types.ListShipmentsQueryVariables>;
2875
- export function useListShipmentsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListShipmentsQuery, Types.ListShipmentsQueryVariables>) {
2876
- const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
2877
- return ApolloReactHooks.useSuspenseQuery<Types.ListShipmentsQuery, Types.ListShipmentsQueryVariables>(ListShipmentsDocument, options);
2878
- }
2879
- export type ListShipmentsQueryHookResult = ReturnType<typeof useListShipmentsQuery>;
2880
- export type ListShipmentsLazyQueryHookResult = ReturnType<typeof useListShipmentsLazyQuery>;
2881
- export type ListShipmentsSuspenseQueryHookResult = ReturnType<typeof useListShipmentsSuspenseQuery>;
2882
- export type ListShipmentsQueryResult = Apollo.QueryResult<Types.ListShipmentsQuery, Types.ListShipmentsQueryVariables>;
2883
- export const GetShipmentDocument = gql`
2884
- query GetShipment($id: ID!) {
2885
- shipment(id: $id) {
2886
- ...ShipmentCore
2887
- trackingEvents {
2888
- id
2889
- eventType
2890
- location
2891
- details
2892
- timestamp
2893
- }
2894
- }
2895
- }
2896
- ${ShipmentCoreFragmentDoc}`;
2897
-
2898
- /**
2899
- * __useGetShipmentQuery__
2900
- *
2901
- * To run a query within a React component, call `useGetShipmentQuery` and pass it any options that fit your needs.
2902
- * When your component renders, `useGetShipmentQuery` returns an object from Apollo Client that contains loading, error, and data properties
2903
- * you can use to render your UI.
2904
- *
2905
- * @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;
2906
- *
2907
- * @example
2908
- * const { data, loading, error } = useGetShipmentQuery({
2909
- * variables: {
2910
- * id: // value for 'id'
2911
- * },
2912
- * });
2913
- */
2914
- export function useGetShipmentQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetShipmentQuery, Types.GetShipmentQueryVariables> & ({ variables: Types.GetShipmentQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {
2915
- const options = {...defaultOptions, ...baseOptions}
2916
- return ApolloReactHooks.useQuery<Types.GetShipmentQuery, Types.GetShipmentQueryVariables>(GetShipmentDocument, options);
2917
- }
2918
- export function useGetShipmentLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetShipmentQuery, Types.GetShipmentQueryVariables>) {
2919
- const options = {...defaultOptions, ...baseOptions}
2920
- return ApolloReactHooks.useLazyQuery<Types.GetShipmentQuery, Types.GetShipmentQueryVariables>(GetShipmentDocument, options);
2921
- }
2922
- // @ts-ignore
2923
- export function useGetShipmentSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetShipmentQuery, Types.GetShipmentQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetShipmentQuery, Types.GetShipmentQueryVariables>;
2924
- export function useGetShipmentSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetShipmentQuery, Types.GetShipmentQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetShipmentQuery | undefined, Types.GetShipmentQueryVariables>;
2925
- export function useGetShipmentSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetShipmentQuery, Types.GetShipmentQueryVariables>) {
2926
- const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
2927
- return ApolloReactHooks.useSuspenseQuery<Types.GetShipmentQuery, Types.GetShipmentQueryVariables>(GetShipmentDocument, options);
2928
- }
2929
- export type GetShipmentQueryHookResult = ReturnType<typeof useGetShipmentQuery>;
2930
- export type GetShipmentLazyQueryHookResult = ReturnType<typeof useGetShipmentLazyQuery>;
2931
- export type GetShipmentSuspenseQueryHookResult = ReturnType<typeof useGetShipmentSuspenseQuery>;
2932
- export type GetShipmentQueryResult = Apollo.QueryResult<Types.GetShipmentQuery, Types.GetShipmentQueryVariables>;
2933
- export const GetDeliveryJobTrackingDocument = gql`
2934
- query GetDeliveryJobTracking($deliveryJobId: ID!, $pagination: PaginationInput) {
2935
- deliveryJobTracking(deliveryJobId: $deliveryJobId, pagination: $pagination) {
2936
- id
2937
- shipmentId
2938
- eventType
2939
- location
2940
- details
2941
- timestamp
2942
- }
2943
- }
2944
- `;
2945
-
2946
- /**
2947
- * __useGetDeliveryJobTrackingQuery__
2948
- *
2949
- * To run a query within a React component, call `useGetDeliveryJobTrackingQuery` and pass it any options that fit your needs.
2950
- * When your component renders, `useGetDeliveryJobTrackingQuery` returns an object from Apollo Client that contains loading, error, and data properties
2951
- * you can use to render your UI.
2952
- *
2953
- * @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;
2954
- *
2955
- * @example
2956
- * const { data, loading, error } = useGetDeliveryJobTrackingQuery({
2957
- * variables: {
2958
- * deliveryJobId: // value for 'deliveryJobId'
2959
- * pagination: // value for 'pagination'
2960
- * },
2961
- * });
2962
- */
2963
- export function useGetDeliveryJobTrackingQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetDeliveryJobTrackingQuery, Types.GetDeliveryJobTrackingQueryVariables> & ({ variables: Types.GetDeliveryJobTrackingQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {
2964
- const options = {...defaultOptions, ...baseOptions}
2965
- return ApolloReactHooks.useQuery<Types.GetDeliveryJobTrackingQuery, Types.GetDeliveryJobTrackingQueryVariables>(GetDeliveryJobTrackingDocument, options);
2966
- }
2967
- export function useGetDeliveryJobTrackingLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetDeliveryJobTrackingQuery, Types.GetDeliveryJobTrackingQueryVariables>) {
2968
- const options = {...defaultOptions, ...baseOptions}
2969
- return ApolloReactHooks.useLazyQuery<Types.GetDeliveryJobTrackingQuery, Types.GetDeliveryJobTrackingQueryVariables>(GetDeliveryJobTrackingDocument, options);
2970
- }
2971
- // @ts-ignore
2972
- export function useGetDeliveryJobTrackingSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetDeliveryJobTrackingQuery, Types.GetDeliveryJobTrackingQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetDeliveryJobTrackingQuery, Types.GetDeliveryJobTrackingQueryVariables>;
2973
- export function useGetDeliveryJobTrackingSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetDeliveryJobTrackingQuery, Types.GetDeliveryJobTrackingQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetDeliveryJobTrackingQuery | undefined, Types.GetDeliveryJobTrackingQueryVariables>;
2974
- export function useGetDeliveryJobTrackingSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetDeliveryJobTrackingQuery, Types.GetDeliveryJobTrackingQueryVariables>) {
2975
- const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
2976
- return ApolloReactHooks.useSuspenseQuery<Types.GetDeliveryJobTrackingQuery, Types.GetDeliveryJobTrackingQueryVariables>(GetDeliveryJobTrackingDocument, options);
2977
- }
2978
- export type GetDeliveryJobTrackingQueryHookResult = ReturnType<typeof useGetDeliveryJobTrackingQuery>;
2979
- export type GetDeliveryJobTrackingLazyQueryHookResult = ReturnType<typeof useGetDeliveryJobTrackingLazyQuery>;
2980
- export type GetDeliveryJobTrackingSuspenseQueryHookResult = ReturnType<typeof useGetDeliveryJobTrackingSuspenseQuery>;
2981
- export type GetDeliveryJobTrackingQueryResult = Apollo.QueryResult<Types.GetDeliveryJobTrackingQuery, Types.GetDeliveryJobTrackingQueryVariables>;
2982
- export const GetActiveDeliveriesDocument = gql`
2983
- query GetActiveDeliveries {
2984
- activeDeliveries {
2985
- ...ShipmentCore
2986
- }
2987
- }
2988
- ${ShipmentCoreFragmentDoc}`;
2989
-
2990
- /**
2991
- * __useGetActiveDeliveriesQuery__
2992
- *
2993
- * To run a query within a React component, call `useGetActiveDeliveriesQuery` and pass it any options that fit your needs.
2994
- * When your component renders, `useGetActiveDeliveriesQuery` returns an object from Apollo Client that contains loading, error, and data properties
2995
- * you can use to render your UI.
2996
- *
2997
- * @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;
2998
- *
2999
- * @example
3000
- * const { data, loading, error } = useGetActiveDeliveriesQuery({
3001
- * variables: {
3002
- * },
3003
- * });
3004
- */
3005
- export function useGetActiveDeliveriesQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetActiveDeliveriesQuery, Types.GetActiveDeliveriesQueryVariables>) {
3006
- const options = {...defaultOptions, ...baseOptions}
3007
- return ApolloReactHooks.useQuery<Types.GetActiveDeliveriesQuery, Types.GetActiveDeliveriesQueryVariables>(GetActiveDeliveriesDocument, options);
3008
- }
3009
- export function useGetActiveDeliveriesLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetActiveDeliveriesQuery, Types.GetActiveDeliveriesQueryVariables>) {
3010
- const options = {...defaultOptions, ...baseOptions}
3011
- return ApolloReactHooks.useLazyQuery<Types.GetActiveDeliveriesQuery, Types.GetActiveDeliveriesQueryVariables>(GetActiveDeliveriesDocument, options);
3012
- }
3013
- // @ts-ignore
3014
- export function useGetActiveDeliveriesSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetActiveDeliveriesQuery, Types.GetActiveDeliveriesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetActiveDeliveriesQuery, Types.GetActiveDeliveriesQueryVariables>;
3015
- export function useGetActiveDeliveriesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetActiveDeliveriesQuery, Types.GetActiveDeliveriesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetActiveDeliveriesQuery | undefined, Types.GetActiveDeliveriesQueryVariables>;
3016
- export function useGetActiveDeliveriesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetActiveDeliveriesQuery, Types.GetActiveDeliveriesQueryVariables>) {
3017
- const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
3018
- return ApolloReactHooks.useSuspenseQuery<Types.GetActiveDeliveriesQuery, Types.GetActiveDeliveriesQueryVariables>(GetActiveDeliveriesDocument, options);
3019
- }
3020
- export type GetActiveDeliveriesQueryHookResult = ReturnType<typeof useGetActiveDeliveriesQuery>;
3021
- export type GetActiveDeliveriesLazyQueryHookResult = ReturnType<typeof useGetActiveDeliveriesLazyQuery>;
3022
- export type GetActiveDeliveriesSuspenseQueryHookResult = ReturnType<typeof useGetActiveDeliveriesSuspenseQuery>;
3023
- export type GetActiveDeliveriesQueryResult = Apollo.QueryResult<Types.GetActiveDeliveriesQuery, Types.GetActiveDeliveriesQueryVariables>;
3024
- export const GetTrackingAlertsDocument = gql`
3025
- query GetTrackingAlerts {
3026
- trackingAlerts {
3027
- shipmentId
3028
- shipmentNumber
3029
- alertType
3030
- message
3031
- }
3032
- }
3033
- `;
3034
-
3035
- /**
3036
- * __useGetTrackingAlertsQuery__
3037
- *
3038
- * To run a query within a React component, call `useGetTrackingAlertsQuery` and pass it any options that fit your needs.
3039
- * When your component renders, `useGetTrackingAlertsQuery` returns an object from Apollo Client that contains loading, error, and data properties
3040
- * you can use to render your UI.
3041
- *
3042
- * @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;
3043
- *
3044
- * @example
3045
- * const { data, loading, error } = useGetTrackingAlertsQuery({
3046
- * variables: {
3047
- * },
3048
- * });
3049
- */
3050
- export function useGetTrackingAlertsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetTrackingAlertsQuery, Types.GetTrackingAlertsQueryVariables>) {
3051
- const options = {...defaultOptions, ...baseOptions}
3052
- return ApolloReactHooks.useQuery<Types.GetTrackingAlertsQuery, Types.GetTrackingAlertsQueryVariables>(GetTrackingAlertsDocument, options);
3053
- }
3054
- export function useGetTrackingAlertsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetTrackingAlertsQuery, Types.GetTrackingAlertsQueryVariables>) {
3055
- const options = {...defaultOptions, ...baseOptions}
3056
- return ApolloReactHooks.useLazyQuery<Types.GetTrackingAlertsQuery, Types.GetTrackingAlertsQueryVariables>(GetTrackingAlertsDocument, options);
3057
- }
3058
- // @ts-ignore
3059
- export function useGetTrackingAlertsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetTrackingAlertsQuery, Types.GetTrackingAlertsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetTrackingAlertsQuery, Types.GetTrackingAlertsQueryVariables>;
3060
- export function useGetTrackingAlertsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetTrackingAlertsQuery, Types.GetTrackingAlertsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetTrackingAlertsQuery | undefined, Types.GetTrackingAlertsQueryVariables>;
3061
- export function useGetTrackingAlertsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetTrackingAlertsQuery, Types.GetTrackingAlertsQueryVariables>) {
3062
- const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
3063
- return ApolloReactHooks.useSuspenseQuery<Types.GetTrackingAlertsQuery, Types.GetTrackingAlertsQueryVariables>(GetTrackingAlertsDocument, options);
3064
- }
3065
- export type GetTrackingAlertsQueryHookResult = ReturnType<typeof useGetTrackingAlertsQuery>;
3066
- export type GetTrackingAlertsLazyQueryHookResult = ReturnType<typeof useGetTrackingAlertsLazyQuery>;
3067
- export type GetTrackingAlertsSuspenseQueryHookResult = ReturnType<typeof useGetTrackingAlertsSuspenseQuery>;
3068
- export type GetTrackingAlertsQueryResult = Apollo.QueryResult<Types.GetTrackingAlertsQuery, Types.GetTrackingAlertsQueryVariables>;
3069
- export const ListMovethewheelsOrdersDocument = gql`
3070
- query ListMovethewheelsOrders($filter: DeliveryJobFilterInput, $pagination: PaginationInput) {
3071
- deliveryJobs(filter: $filter, pagination: $pagination) {
3072
- ...MovethewheelsOrderCore
3073
- }
3074
- }
3075
- ${MovethewheelsOrderCoreFragmentDoc}`;
3076
-
3077
- /**
3078
- * __useListMovethewheelsOrdersQuery__
3079
- *
3080
- * To run a query within a React component, call `useListMovethewheelsOrdersQuery` and pass it any options that fit your needs.
3081
- * When your component renders, `useListMovethewheelsOrdersQuery` returns an object from Apollo Client that contains loading, error, and data properties
3082
- * you can use to render your UI.
3083
- *
3084
- * @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;
3085
- *
3086
- * @example
3087
- * const { data, loading, error } = useListMovethewheelsOrdersQuery({
3088
- * variables: {
3089
- * filter: // value for 'filter'
3090
- * pagination: // value for 'pagination'
3091
- * },
3092
- * });
3093
- */
3094
- export function useListMovethewheelsOrdersQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.ListMovethewheelsOrdersQuery, Types.ListMovethewheelsOrdersQueryVariables>) {
3095
- const options = {...defaultOptions, ...baseOptions}
3096
- return ApolloReactHooks.useQuery<Types.ListMovethewheelsOrdersQuery, Types.ListMovethewheelsOrdersQueryVariables>(ListMovethewheelsOrdersDocument, options);
3097
- }
3098
- export function useListMovethewheelsOrdersLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.ListMovethewheelsOrdersQuery, Types.ListMovethewheelsOrdersQueryVariables>) {
3099
- const options = {...defaultOptions, ...baseOptions}
3100
- return ApolloReactHooks.useLazyQuery<Types.ListMovethewheelsOrdersQuery, Types.ListMovethewheelsOrdersQueryVariables>(ListMovethewheelsOrdersDocument, options);
3101
- }
3102
- // @ts-ignore
3103
- export function useListMovethewheelsOrdersSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.ListMovethewheelsOrdersQuery, Types.ListMovethewheelsOrdersQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListMovethewheelsOrdersQuery, Types.ListMovethewheelsOrdersQueryVariables>;
3104
- export function useListMovethewheelsOrdersSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListMovethewheelsOrdersQuery, Types.ListMovethewheelsOrdersQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListMovethewheelsOrdersQuery | undefined, Types.ListMovethewheelsOrdersQueryVariables>;
3105
- export function useListMovethewheelsOrdersSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListMovethewheelsOrdersQuery, Types.ListMovethewheelsOrdersQueryVariables>) {
3106
- const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
3107
- return ApolloReactHooks.useSuspenseQuery<Types.ListMovethewheelsOrdersQuery, Types.ListMovethewheelsOrdersQueryVariables>(ListMovethewheelsOrdersDocument, options);
3108
- }
3109
- export type ListMovethewheelsOrdersQueryHookResult = ReturnType<typeof useListMovethewheelsOrdersQuery>;
3110
- export type ListMovethewheelsOrdersLazyQueryHookResult = ReturnType<typeof useListMovethewheelsOrdersLazyQuery>;
3111
- export type ListMovethewheelsOrdersSuspenseQueryHookResult = ReturnType<typeof useListMovethewheelsOrdersSuspenseQuery>;
3112
- export type ListMovethewheelsOrdersQueryResult = Apollo.QueryResult<Types.ListMovethewheelsOrdersQuery, Types.ListMovethewheelsOrdersQueryVariables>;
3113
- export const GetMovethewheelsOrderDocument = gql`
3114
- query GetMovethewheelsOrder($id: ID!) {
3115
- deliveryJob(id: $id) {
3116
- ...MovethewheelsOrderCore
3117
- customer {
3118
- id
3119
- name
3120
- email
3121
- phone
3122
- }
3123
- vehicle {
3124
- id
3125
- vehicleNumber
3126
- type
3127
- status
3128
- }
3129
- driver {
3130
- id
3131
- firstName
3132
- lastName
3133
- status
3134
- }
3135
- statusHistory {
3136
- id
3137
- status
3138
- previousStatus
3139
- notes
3140
- location
3141
- createdAt
3142
- }
3143
- shipment {
3144
- id
3145
- shipmentNumber
3146
- status
3147
- trackingNumber
3148
- }
3149
- }
3150
- }
3151
- ${MovethewheelsOrderCoreFragmentDoc}`;
3152
-
3153
- /**
3154
- * __useGetMovethewheelsOrderQuery__
3155
- *
3156
- * To run a query within a React component, call `useGetMovethewheelsOrderQuery` and pass it any options that fit your needs.
3157
- * When your component renders, `useGetMovethewheelsOrderQuery` returns an object from Apollo Client that contains loading, error, and data properties
3158
- * you can use to render your UI.
3159
- *
3160
- * @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;
3161
- *
3162
- * @example
3163
- * const { data, loading, error } = useGetMovethewheelsOrderQuery({
3164
- * variables: {
3165
- * id: // value for 'id'
3166
- * },
3167
- * });
3168
- */
3169
- export function useGetMovethewheelsOrderQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetMovethewheelsOrderQuery, Types.GetMovethewheelsOrderQueryVariables> & ({ variables: Types.GetMovethewheelsOrderQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {
3170
- const options = {...defaultOptions, ...baseOptions}
3171
- return ApolloReactHooks.useQuery<Types.GetMovethewheelsOrderQuery, Types.GetMovethewheelsOrderQueryVariables>(GetMovethewheelsOrderDocument, options);
3172
- }
3173
- export function useGetMovethewheelsOrderLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetMovethewheelsOrderQuery, Types.GetMovethewheelsOrderQueryVariables>) {
3174
- const options = {...defaultOptions, ...baseOptions}
3175
- return ApolloReactHooks.useLazyQuery<Types.GetMovethewheelsOrderQuery, Types.GetMovethewheelsOrderQueryVariables>(GetMovethewheelsOrderDocument, options);
3176
- }
3177
- // @ts-ignore
3178
- export function useGetMovethewheelsOrderSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMovethewheelsOrderQuery, Types.GetMovethewheelsOrderQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetMovethewheelsOrderQuery, Types.GetMovethewheelsOrderQueryVariables>;
3179
- export function useGetMovethewheelsOrderSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMovethewheelsOrderQuery, Types.GetMovethewheelsOrderQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetMovethewheelsOrderQuery | undefined, Types.GetMovethewheelsOrderQueryVariables>;
3180
- export function useGetMovethewheelsOrderSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMovethewheelsOrderQuery, Types.GetMovethewheelsOrderQueryVariables>) {
3181
- const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
3182
- return ApolloReactHooks.useSuspenseQuery<Types.GetMovethewheelsOrderQuery, Types.GetMovethewheelsOrderQueryVariables>(GetMovethewheelsOrderDocument, options);
3183
- }
3184
- export type GetMovethewheelsOrderQueryHookResult = ReturnType<typeof useGetMovethewheelsOrderQuery>;
3185
- export type GetMovethewheelsOrderLazyQueryHookResult = ReturnType<typeof useGetMovethewheelsOrderLazyQuery>;
3186
- export type GetMovethewheelsOrderSuspenseQueryHookResult = ReturnType<typeof useGetMovethewheelsOrderSuspenseQuery>;
3187
- export type GetMovethewheelsOrderQueryResult = Apollo.QueryResult<Types.GetMovethewheelsOrderQuery, Types.GetMovethewheelsOrderQueryVariables>;
491
+ export type GetMovethewheelsOrderQuery = { deliveryJob: { id: string, deliveryJobNumber: string, status: Types.DeliveryJobStatus, priority: Types.DeliveryPriority, customerId: string, trackingNumber: string | null, pickupAddress: Record<string, unknown>, deliveryAddress: Record<string, unknown>, cargoItems: Record<string, unknown>, pricing: Record<string, unknown> | null, scheduledDelivery: string | null, vehicleId: string | null, driverId: string | null, createdAt: string, updatedAt: string, customer: { id: string, name: string, email: string | null, phone: string | null } | null, vehicle: { id: string, vehicleNumber: string, type: Types.VehicleType, status: Types.VehicleStatus } | null, driver: { id: string, firstName: string, lastName: string, status: Types.DriverStatus } | null, statusHistory: Array<{ id: string, status: Types.DeliveryJobStatus, previousStatus: Types.DeliveryJobStatus | null, notes: string | null, location: Record<string, unknown> | null, createdAt: string }>, shipment: { id: string, shipmentNumber: string, status: Types.ShipmentStatus, trackingNumber: string | null } | null } | null };
492
+
493
+ export const MovethewheelsOrderCoreFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MovethewheelsOrderCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwDeliveryJob"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"deliveryJobNumber"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"priority"}},{"kind":"Field","name":{"kind":"Name","value":"customerId"}},{"kind":"Field","name":{"kind":"Name","value":"trackingNumber"}},{"kind":"Field","name":{"kind":"Name","value":"pickupAddress"}},{"kind":"Field","name":{"kind":"Name","value":"deliveryAddress"}},{"kind":"Field","name":{"kind":"Name","value":"cargoItems"}},{"kind":"Field","name":{"kind":"Name","value":"pricing"}},{"kind":"Field","name":{"kind":"Name","value":"scheduledDelivery"}},{"kind":"Field","name":{"kind":"Name","value":"vehicleId"}},{"kind":"Field","name":{"kind":"Name","value":"driverId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<MovethewheelsOrderCoreFragment, unknown>;
494
+ export const CustomerCoreFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CustomerCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwCustomer"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"phone"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"company"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"rating"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<CustomerCoreFragment, unknown>;
495
+ export const ProductCoreFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwCargoItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"category"}},{"kind":"Field","name":{"kind":"Name","value":"brand"}},{"kind":"Field","name":{"kind":"Name","value":"dimensions"}},{"kind":"Field","name":{"kind":"Name","value":"weight"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"hazardous"}},{"kind":"Field","name":{"kind":"Name","value":"fragile"}},{"kind":"Field","name":{"kind":"Name","value":"temperatureControlled"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<ProductCoreFragment, unknown>;
496
+ export const VehicleCoreFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VehicleCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwVehicle"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"vehicleNumber"}},{"kind":"Field","name":{"kind":"Name","value":"make"}},{"kind":"Field","name":{"kind":"Name","value":"model"}},{"kind":"Field","name":{"kind":"Name","value":"year"}},{"kind":"Field","name":{"kind":"Name","value":"licensePlate"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"ownershipType"}},{"kind":"Field","name":{"kind":"Name","value":"capacity"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"currentLocation"}},{"kind":"Field","name":{"kind":"Name","value":"fuelLevel"}},{"kind":"Field","name":{"kind":"Name","value":"mileage"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<VehicleCoreFragment, unknown>;
497
+ export const DriverCoreFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DriverCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwDriver"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"employeeId"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"phone"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"licenseNumber"}},{"kind":"Field","name":{"kind":"Name","value":"licenseClass"}},{"kind":"Field","name":{"kind":"Name","value":"licenseExpiry"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"currentLocation"}},{"kind":"Field","name":{"kind":"Name","value":"rating"}},{"kind":"Field","name":{"kind":"Name","value":"userId"}},{"kind":"Field","name":{"kind":"Name","value":"vehicleId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<DriverCoreFragment, unknown>;
498
+ export const WarehouseCoreFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"WarehouseCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwWarehouse"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"contactInfo"}},{"kind":"Field","name":{"kind":"Name","value":"operatingHours"}},{"kind":"Field","name":{"kind":"Name","value":"capabilities"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"totalCapacity"}},{"kind":"Field","name":{"kind":"Name","value":"usedCapacity"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<WarehouseCoreFragment, unknown>;
499
+ export const InventoryItemCoreFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"InventoryItemCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwInventoryItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"cargoItemId"}},{"kind":"Field","name":{"kind":"Name","value":"warehouseId"}},{"kind":"Field","name":{"kind":"Name","value":"locationId"}},{"kind":"Field","name":{"kind":"Name","value":"onHand"}},{"kind":"Field","name":{"kind":"Name","value":"available"}},{"kind":"Field","name":{"kind":"Name","value":"allocated"}},{"kind":"Field","name":{"kind":"Name","value":"damaged"}},{"kind":"Field","name":{"kind":"Name","value":"unitCost"}},{"kind":"Field","name":{"kind":"Name","value":"reorderPoint"}},{"kind":"Field","name":{"kind":"Name","value":"safetyStock"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<InventoryItemCoreFragment, unknown>;
500
+ export const RouteCoreFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RouteCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwRoute"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"shipmentId"}},{"kind":"Field","name":{"kind":"Name","value":"vehicleId"}},{"kind":"Field","name":{"kind":"Name","value":"driverId"}},{"kind":"Field","name":{"kind":"Name","value":"waypoints"}},{"kind":"Field","name":{"kind":"Name","value":"estimatedDistance"}},{"kind":"Field","name":{"kind":"Name","value":"estimatedDuration"}},{"kind":"Field","name":{"kind":"Name","value":"actualDistance"}},{"kind":"Field","name":{"kind":"Name","value":"actualDuration"}},{"kind":"Field","name":{"kind":"Name","value":"fuelCost"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<RouteCoreFragment, unknown>;
501
+ export const ShipmentCoreFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ShipmentCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwShipment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"shipmentNumber"}},{"kind":"Field","name":{"kind":"Name","value":"deliveryJobId"}},{"kind":"Field","name":{"kind":"Name","value":"customerId"}},{"kind":"Field","name":{"kind":"Name","value":"carrierId"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"origin"}},{"kind":"Field","name":{"kind":"Name","value":"destination"}},{"kind":"Field","name":{"kind":"Name","value":"cargoDetails"}},{"kind":"Field","name":{"kind":"Name","value":"trackingNumber"}},{"kind":"Field","name":{"kind":"Name","value":"estimatedDelivery"}},{"kind":"Field","name":{"kind":"Name","value":"actualDelivery"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<ShipmentCoreFragment, unknown>;
502
+ export const ContainerEvidenceFilesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ContainerEvidenceFiles"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"PaginationInput"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"getFiles"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"status"},"value":{"kind":"EnumValue","value":"ACTIVE"}}]}},{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"files"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"canRead"}}]}},{"kind":"Field","name":{"kind":"Name","value":"hasMore"}}]}}]}}]} as unknown as DocumentNode<ContainerEvidenceFilesQuery, ContainerEvidenceFilesQueryVariables>;
503
+ export const ContainerEvidenceVersionsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ContainerEvidenceVersions"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"fileId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"PaginationInput"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"getFileVersions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"fileId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"fileId"}}},{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"versions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fileId"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"versionNumber"}},{"kind":"Field","name":{"kind":"Name","value":"versionLabel"}},{"kind":"Field","name":{"kind":"Name","value":"sha256Hash"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"hasMore"}}]}}]}}]} as unknown as DocumentNode<ContainerEvidenceVersionsQuery, ContainerEvidenceVersionsQueryVariables>;
504
+ export const InvoiceEvidenceVersionsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"InvoiceEvidenceVersions"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"fileId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"PaginationInput"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"getFileVersions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"fileId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"fileId"}}},{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"versions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fileId"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"versionNumber"}},{"kind":"Field","name":{"kind":"Name","value":"versionLabel"}},{"kind":"Field","name":{"kind":"Name","value":"sha256Hash"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"isCurrentVersion"}}]}},{"kind":"Field","name":{"kind":"Name","value":"hasMore"}}]}}]}}]} as unknown as DocumentNode<InvoiceEvidenceVersionsQuery, InvoiceEvidenceVersionsQueryVariables>;
505
+ export const CreateCustomerDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateCustomer"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateCustomerInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createCustomer"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomerCore"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CustomerCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwCustomer"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"phone"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"company"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"rating"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<CreateCustomerMutation, CreateCustomerMutationVariables>;
506
+ export const UpdateCustomerDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateCustomer"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateCustomerInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateCustomer"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}},{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomerCore"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CustomerCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwCustomer"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"phone"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"company"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"rating"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<UpdateCustomerMutation, UpdateCustomerMutationVariables>;
507
+ export const DeleteCustomerDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteCustomer"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteCustomer"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}]}]}}]} as unknown as DocumentNode<DeleteCustomerMutation, DeleteCustomerMutationVariables>;
508
+ export const CreateProductDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateProduct"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateCargoItemInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createCargoItem"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProductCore"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwCargoItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"category"}},{"kind":"Field","name":{"kind":"Name","value":"brand"}},{"kind":"Field","name":{"kind":"Name","value":"dimensions"}},{"kind":"Field","name":{"kind":"Name","value":"weight"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"hazardous"}},{"kind":"Field","name":{"kind":"Name","value":"fragile"}},{"kind":"Field","name":{"kind":"Name","value":"temperatureControlled"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<CreateProductMutation, CreateProductMutationVariables>;
509
+ export const UpdateProductDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateProduct"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateCargoItemInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateCargoItem"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}},{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProductCore"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwCargoItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"category"}},{"kind":"Field","name":{"kind":"Name","value":"brand"}},{"kind":"Field","name":{"kind":"Name","value":"dimensions"}},{"kind":"Field","name":{"kind":"Name","value":"weight"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"hazardous"}},{"kind":"Field","name":{"kind":"Name","value":"fragile"}},{"kind":"Field","name":{"kind":"Name","value":"temperatureControlled"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<UpdateProductMutation, UpdateProductMutationVariables>;
510
+ export const DeleteProductDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteProduct"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteCargoItem"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}]}]}}]} as unknown as DocumentNode<DeleteProductMutation, DeleteProductMutationVariables>;
511
+ export const CreateVehicleDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateVehicle"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateVehicleInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createVehicle"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"VehicleCore"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VehicleCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwVehicle"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"vehicleNumber"}},{"kind":"Field","name":{"kind":"Name","value":"make"}},{"kind":"Field","name":{"kind":"Name","value":"model"}},{"kind":"Field","name":{"kind":"Name","value":"year"}},{"kind":"Field","name":{"kind":"Name","value":"licensePlate"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"ownershipType"}},{"kind":"Field","name":{"kind":"Name","value":"capacity"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"currentLocation"}},{"kind":"Field","name":{"kind":"Name","value":"fuelLevel"}},{"kind":"Field","name":{"kind":"Name","value":"mileage"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<CreateVehicleMutation, CreateVehicleMutationVariables>;
512
+ export const UpdateVehicleDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateVehicle"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateVehicleInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateVehicle"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}},{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"VehicleCore"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VehicleCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwVehicle"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"vehicleNumber"}},{"kind":"Field","name":{"kind":"Name","value":"make"}},{"kind":"Field","name":{"kind":"Name","value":"model"}},{"kind":"Field","name":{"kind":"Name","value":"year"}},{"kind":"Field","name":{"kind":"Name","value":"licensePlate"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"ownershipType"}},{"kind":"Field","name":{"kind":"Name","value":"capacity"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"currentLocation"}},{"kind":"Field","name":{"kind":"Name","value":"fuelLevel"}},{"kind":"Field","name":{"kind":"Name","value":"mileage"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<UpdateVehicleMutation, UpdateVehicleMutationVariables>;
513
+ export const UpdateVehicleStatusDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateVehicleStatus"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"status"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"VehicleStatus"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateVehicleStatus"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}},{"kind":"Argument","name":{"kind":"Name","value":"status"},"value":{"kind":"Variable","name":{"kind":"Name","value":"status"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"VehicleCore"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VehicleCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwVehicle"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"vehicleNumber"}},{"kind":"Field","name":{"kind":"Name","value":"make"}},{"kind":"Field","name":{"kind":"Name","value":"model"}},{"kind":"Field","name":{"kind":"Name","value":"year"}},{"kind":"Field","name":{"kind":"Name","value":"licensePlate"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"ownershipType"}},{"kind":"Field","name":{"kind":"Name","value":"capacity"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"currentLocation"}},{"kind":"Field","name":{"kind":"Name","value":"fuelLevel"}},{"kind":"Field","name":{"kind":"Name","value":"mileage"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<UpdateVehicleStatusMutation, UpdateVehicleStatusMutationVariables>;
514
+ export const UpdateVehicleLocationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateVehicleLocation"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"location"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"JSON"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateVehicleLocation"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}},{"kind":"Argument","name":{"kind":"Name","value":"location"},"value":{"kind":"Variable","name":{"kind":"Name","value":"location"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"VehicleCore"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VehicleCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwVehicle"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"vehicleNumber"}},{"kind":"Field","name":{"kind":"Name","value":"make"}},{"kind":"Field","name":{"kind":"Name","value":"model"}},{"kind":"Field","name":{"kind":"Name","value":"year"}},{"kind":"Field","name":{"kind":"Name","value":"licensePlate"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"ownershipType"}},{"kind":"Field","name":{"kind":"Name","value":"capacity"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"currentLocation"}},{"kind":"Field","name":{"kind":"Name","value":"fuelLevel"}},{"kind":"Field","name":{"kind":"Name","value":"mileage"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<UpdateVehicleLocationMutation, UpdateVehicleLocationMutationVariables>;
515
+ export const DeleteVehicleDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteVehicle"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteVehicle"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}]}]}}]} as unknown as DocumentNode<DeleteVehicleMutation, DeleteVehicleMutationVariables>;
516
+ export const CreateDriverDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateDriver"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateDriverInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createDriver"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"DriverCore"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DriverCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwDriver"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"employeeId"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"phone"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"licenseNumber"}},{"kind":"Field","name":{"kind":"Name","value":"licenseClass"}},{"kind":"Field","name":{"kind":"Name","value":"licenseExpiry"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"currentLocation"}},{"kind":"Field","name":{"kind":"Name","value":"rating"}},{"kind":"Field","name":{"kind":"Name","value":"userId"}},{"kind":"Field","name":{"kind":"Name","value":"vehicleId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<CreateDriverMutation, CreateDriverMutationVariables>;
517
+ export const UpdateDriverDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateDriver"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateDriverInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateDriver"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}},{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"DriverCore"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DriverCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwDriver"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"employeeId"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"phone"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"licenseNumber"}},{"kind":"Field","name":{"kind":"Name","value":"licenseClass"}},{"kind":"Field","name":{"kind":"Name","value":"licenseExpiry"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"currentLocation"}},{"kind":"Field","name":{"kind":"Name","value":"rating"}},{"kind":"Field","name":{"kind":"Name","value":"userId"}},{"kind":"Field","name":{"kind":"Name","value":"vehicleId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<UpdateDriverMutation, UpdateDriverMutationVariables>;
518
+ export const UpdateDriverStatusDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateDriverStatus"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"status"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"DriverStatus"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateDriverStatus"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}},{"kind":"Argument","name":{"kind":"Name","value":"status"},"value":{"kind":"Variable","name":{"kind":"Name","value":"status"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"DriverCore"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DriverCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwDriver"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"employeeId"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"phone"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"licenseNumber"}},{"kind":"Field","name":{"kind":"Name","value":"licenseClass"}},{"kind":"Field","name":{"kind":"Name","value":"licenseExpiry"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"currentLocation"}},{"kind":"Field","name":{"kind":"Name","value":"rating"}},{"kind":"Field","name":{"kind":"Name","value":"userId"}},{"kind":"Field","name":{"kind":"Name","value":"vehicleId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<UpdateDriverStatusMutation, UpdateDriverStatusMutationVariables>;
519
+ export const AssignDriverVehicleDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"AssignDriverVehicle"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"vehicleId"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"assignDriverVehicle"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}},{"kind":"Argument","name":{"kind":"Name","value":"vehicleId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"vehicleId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"DriverCore"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DriverCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwDriver"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"employeeId"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"phone"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"licenseNumber"}},{"kind":"Field","name":{"kind":"Name","value":"licenseClass"}},{"kind":"Field","name":{"kind":"Name","value":"licenseExpiry"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"currentLocation"}},{"kind":"Field","name":{"kind":"Name","value":"rating"}},{"kind":"Field","name":{"kind":"Name","value":"userId"}},{"kind":"Field","name":{"kind":"Name","value":"vehicleId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<AssignDriverVehicleMutation, AssignDriverVehicleMutationVariables>;
520
+ export const DeleteDriverDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteDriver"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteDriver"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}]}]}}]} as unknown as DocumentNode<DeleteDriverMutation, DeleteDriverMutationVariables>;
521
+ export const CreateWarehouseDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateWarehouse"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateWarehouseInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createWarehouse"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"WarehouseCore"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"WarehouseCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwWarehouse"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"contactInfo"}},{"kind":"Field","name":{"kind":"Name","value":"operatingHours"}},{"kind":"Field","name":{"kind":"Name","value":"capabilities"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"totalCapacity"}},{"kind":"Field","name":{"kind":"Name","value":"usedCapacity"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<CreateWarehouseMutation, CreateWarehouseMutationVariables>;
522
+ export const UpdateWarehouseDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateWarehouse"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateWarehouseInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateWarehouse"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}},{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"WarehouseCore"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"WarehouseCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwWarehouse"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"contactInfo"}},{"kind":"Field","name":{"kind":"Name","value":"operatingHours"}},{"kind":"Field","name":{"kind":"Name","value":"capabilities"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"totalCapacity"}},{"kind":"Field","name":{"kind":"Name","value":"usedCapacity"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<UpdateWarehouseMutation, UpdateWarehouseMutationVariables>;
523
+ export const DeleteWarehouseDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteWarehouse"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteWarehouse"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}]}]}}]} as unknown as DocumentNode<DeleteWarehouseMutation, DeleteWarehouseMutationVariables>;
524
+ export const CreateInventoryItemDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateInventoryItem"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateInventoryItemInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createInventoryItem"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"InventoryItemCore"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"InventoryItemCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwInventoryItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"cargoItemId"}},{"kind":"Field","name":{"kind":"Name","value":"warehouseId"}},{"kind":"Field","name":{"kind":"Name","value":"locationId"}},{"kind":"Field","name":{"kind":"Name","value":"onHand"}},{"kind":"Field","name":{"kind":"Name","value":"available"}},{"kind":"Field","name":{"kind":"Name","value":"allocated"}},{"kind":"Field","name":{"kind":"Name","value":"damaged"}},{"kind":"Field","name":{"kind":"Name","value":"unitCost"}},{"kind":"Field","name":{"kind":"Name","value":"reorderPoint"}},{"kind":"Field","name":{"kind":"Name","value":"safetyStock"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<CreateInventoryItemMutation, CreateInventoryItemMutationVariables>;
525
+ export const UpdateInventoryItemDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateInventoryItem"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateInventoryItemInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateInventoryItem"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}},{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"InventoryItemCore"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"InventoryItemCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwInventoryItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"cargoItemId"}},{"kind":"Field","name":{"kind":"Name","value":"warehouseId"}},{"kind":"Field","name":{"kind":"Name","value":"locationId"}},{"kind":"Field","name":{"kind":"Name","value":"onHand"}},{"kind":"Field","name":{"kind":"Name","value":"available"}},{"kind":"Field","name":{"kind":"Name","value":"allocated"}},{"kind":"Field","name":{"kind":"Name","value":"damaged"}},{"kind":"Field","name":{"kind":"Name","value":"unitCost"}},{"kind":"Field","name":{"kind":"Name","value":"reorderPoint"}},{"kind":"Field","name":{"kind":"Name","value":"safetyStock"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<UpdateInventoryItemMutation, UpdateInventoryItemMutationVariables>;
526
+ export const AdjustInventoryStockDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"AdjustInventoryStock"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"AdjustInventoryStockInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"adjustInventoryStock"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"InventoryItemCore"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"InventoryItemCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwInventoryItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"cargoItemId"}},{"kind":"Field","name":{"kind":"Name","value":"warehouseId"}},{"kind":"Field","name":{"kind":"Name","value":"locationId"}},{"kind":"Field","name":{"kind":"Name","value":"onHand"}},{"kind":"Field","name":{"kind":"Name","value":"available"}},{"kind":"Field","name":{"kind":"Name","value":"allocated"}},{"kind":"Field","name":{"kind":"Name","value":"damaged"}},{"kind":"Field","name":{"kind":"Name","value":"unitCost"}},{"kind":"Field","name":{"kind":"Name","value":"reorderPoint"}},{"kind":"Field","name":{"kind":"Name","value":"safetyStock"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<AdjustInventoryStockMutation, AdjustInventoryStockMutationVariables>;
527
+ export const DeleteInventoryItemDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteInventoryItem"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteInventoryItem"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}]}]}}]} as unknown as DocumentNode<DeleteInventoryItemMutation, DeleteInventoryItemMutationVariables>;
528
+ export const CreateRouteDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateRoute"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateRouteInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createRoute"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RouteCore"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RouteCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwRoute"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"shipmentId"}},{"kind":"Field","name":{"kind":"Name","value":"vehicleId"}},{"kind":"Field","name":{"kind":"Name","value":"driverId"}},{"kind":"Field","name":{"kind":"Name","value":"waypoints"}},{"kind":"Field","name":{"kind":"Name","value":"estimatedDistance"}},{"kind":"Field","name":{"kind":"Name","value":"estimatedDuration"}},{"kind":"Field","name":{"kind":"Name","value":"actualDistance"}},{"kind":"Field","name":{"kind":"Name","value":"actualDuration"}},{"kind":"Field","name":{"kind":"Name","value":"fuelCost"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<CreateRouteMutation, CreateRouteMutationVariables>;
529
+ export const UpdateRouteDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateRoute"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateRouteInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateRoute"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}},{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RouteCore"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RouteCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwRoute"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"shipmentId"}},{"kind":"Field","name":{"kind":"Name","value":"vehicleId"}},{"kind":"Field","name":{"kind":"Name","value":"driverId"}},{"kind":"Field","name":{"kind":"Name","value":"waypoints"}},{"kind":"Field","name":{"kind":"Name","value":"estimatedDistance"}},{"kind":"Field","name":{"kind":"Name","value":"estimatedDuration"}},{"kind":"Field","name":{"kind":"Name","value":"actualDistance"}},{"kind":"Field","name":{"kind":"Name","value":"actualDuration"}},{"kind":"Field","name":{"kind":"Name","value":"fuelCost"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<UpdateRouteMutation, UpdateRouteMutationVariables>;
530
+ export const OptimizeRouteDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"OptimizeRoute"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"optimizeRoute"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RouteCore"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RouteCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwRoute"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"shipmentId"}},{"kind":"Field","name":{"kind":"Name","value":"vehicleId"}},{"kind":"Field","name":{"kind":"Name","value":"driverId"}},{"kind":"Field","name":{"kind":"Name","value":"waypoints"}},{"kind":"Field","name":{"kind":"Name","value":"estimatedDistance"}},{"kind":"Field","name":{"kind":"Name","value":"estimatedDuration"}},{"kind":"Field","name":{"kind":"Name","value":"actualDistance"}},{"kind":"Field","name":{"kind":"Name","value":"actualDuration"}},{"kind":"Field","name":{"kind":"Name","value":"fuelCost"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<OptimizeRouteMutation, OptimizeRouteMutationVariables>;
531
+ export const DeleteRouteDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteRoute"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteRoute"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}]}]}}]} as unknown as DocumentNode<DeleteRouteMutation, DeleteRouteMutationVariables>;
532
+ export const CreateShipmentDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateShipment"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateShipmentInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createShipment"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ShipmentCore"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ShipmentCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwShipment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"shipmentNumber"}},{"kind":"Field","name":{"kind":"Name","value":"deliveryJobId"}},{"kind":"Field","name":{"kind":"Name","value":"customerId"}},{"kind":"Field","name":{"kind":"Name","value":"carrierId"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"origin"}},{"kind":"Field","name":{"kind":"Name","value":"destination"}},{"kind":"Field","name":{"kind":"Name","value":"cargoDetails"}},{"kind":"Field","name":{"kind":"Name","value":"trackingNumber"}},{"kind":"Field","name":{"kind":"Name","value":"estimatedDelivery"}},{"kind":"Field","name":{"kind":"Name","value":"actualDelivery"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<CreateShipmentMutation, CreateShipmentMutationVariables>;
533
+ export const UpdateShipmentDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateShipment"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateShipmentInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateShipment"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}},{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ShipmentCore"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ShipmentCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwShipment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"shipmentNumber"}},{"kind":"Field","name":{"kind":"Name","value":"deliveryJobId"}},{"kind":"Field","name":{"kind":"Name","value":"customerId"}},{"kind":"Field","name":{"kind":"Name","value":"carrierId"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"origin"}},{"kind":"Field","name":{"kind":"Name","value":"destination"}},{"kind":"Field","name":{"kind":"Name","value":"cargoDetails"}},{"kind":"Field","name":{"kind":"Name","value":"trackingNumber"}},{"kind":"Field","name":{"kind":"Name","value":"estimatedDelivery"}},{"kind":"Field","name":{"kind":"Name","value":"actualDelivery"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<UpdateShipmentMutation, UpdateShipmentMutationVariables>;
534
+ export const DeleteShipmentDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteShipment"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteShipment"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}]}]}}]} as unknown as DocumentNode<DeleteShipmentMutation, DeleteShipmentMutationVariables>;
535
+ export const AddTrackingEventDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"AddTrackingEvent"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"AddTrackingEventInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"addTrackingEvent"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"shipmentId"}},{"kind":"Field","name":{"kind":"Name","value":"eventType"}},{"kind":"Field","name":{"kind":"Name","value":"location"}},{"kind":"Field","name":{"kind":"Name","value":"details"}},{"kind":"Field","name":{"kind":"Name","value":"timestamp"}}]}}]}}]} as unknown as DocumentNode<AddTrackingEventMutation, AddTrackingEventMutationVariables>;
536
+ export const ExportMovethewheelsDataDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"ExportMovethewheelsData"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ExportMtwEntitiesInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"exportMtwEntities"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceId"}},{"kind":"Field","name":{"kind":"Name","value":"entityTypes"}},{"kind":"Field","name":{"kind":"Name","value":"format"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"downloadUrl"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}}]}}]}}]} as unknown as DocumentNode<ExportMovethewheelsDataMutation, ExportMovethewheelsDataMutationVariables>;
537
+ export const CreateMovethewheelsOrderDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateMovethewheelsOrder"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateDeliveryJobInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createDeliveryJob"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MovethewheelsOrderCore"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MovethewheelsOrderCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwDeliveryJob"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"deliveryJobNumber"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"priority"}},{"kind":"Field","name":{"kind":"Name","value":"customerId"}},{"kind":"Field","name":{"kind":"Name","value":"trackingNumber"}},{"kind":"Field","name":{"kind":"Name","value":"pickupAddress"}},{"kind":"Field","name":{"kind":"Name","value":"deliveryAddress"}},{"kind":"Field","name":{"kind":"Name","value":"cargoItems"}},{"kind":"Field","name":{"kind":"Name","value":"pricing"}},{"kind":"Field","name":{"kind":"Name","value":"scheduledDelivery"}},{"kind":"Field","name":{"kind":"Name","value":"vehicleId"}},{"kind":"Field","name":{"kind":"Name","value":"driverId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<CreateMovethewheelsOrderMutation, CreateMovethewheelsOrderMutationVariables>;
538
+ export const UpdateMovethewheelsOrderDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateMovethewheelsOrder"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateDeliveryJobInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateDeliveryJob"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}},{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MovethewheelsOrderCore"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MovethewheelsOrderCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwDeliveryJob"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"deliveryJobNumber"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"priority"}},{"kind":"Field","name":{"kind":"Name","value":"customerId"}},{"kind":"Field","name":{"kind":"Name","value":"trackingNumber"}},{"kind":"Field","name":{"kind":"Name","value":"pickupAddress"}},{"kind":"Field","name":{"kind":"Name","value":"deliveryAddress"}},{"kind":"Field","name":{"kind":"Name","value":"cargoItems"}},{"kind":"Field","name":{"kind":"Name","value":"pricing"}},{"kind":"Field","name":{"kind":"Name","value":"scheduledDelivery"}},{"kind":"Field","name":{"kind":"Name","value":"vehicleId"}},{"kind":"Field","name":{"kind":"Name","value":"driverId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<UpdateMovethewheelsOrderMutation, UpdateMovethewheelsOrderMutationVariables>;
539
+ export const UpdateMovethewheelsOrderStatusDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateMovethewheelsOrderStatus"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateDeliveryJobStatusInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateDeliveryJobStatus"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}},{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MovethewheelsOrderCore"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MovethewheelsOrderCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwDeliveryJob"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"deliveryJobNumber"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"priority"}},{"kind":"Field","name":{"kind":"Name","value":"customerId"}},{"kind":"Field","name":{"kind":"Name","value":"trackingNumber"}},{"kind":"Field","name":{"kind":"Name","value":"pickupAddress"}},{"kind":"Field","name":{"kind":"Name","value":"deliveryAddress"}},{"kind":"Field","name":{"kind":"Name","value":"cargoItems"}},{"kind":"Field","name":{"kind":"Name","value":"pricing"}},{"kind":"Field","name":{"kind":"Name","value":"scheduledDelivery"}},{"kind":"Field","name":{"kind":"Name","value":"vehicleId"}},{"kind":"Field","name":{"kind":"Name","value":"driverId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<UpdateMovethewheelsOrderStatusMutation, UpdateMovethewheelsOrderStatusMutationVariables>;
540
+ export const DeleteMovethewheelsOrderDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteMovethewheelsOrder"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteDeliveryJob"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}]}]}}]} as unknown as DocumentNode<DeleteMovethewheelsOrderMutation, DeleteMovethewheelsOrderMutationVariables>;
541
+ export const GetMovethewheelsDashboardDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetMovethewheelsDashboard"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"dashboardMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalDeliveryJobs"}},{"kind":"Field","name":{"kind":"Name","value":"activeDeliveries"}},{"kind":"Field","name":{"kind":"Name","value":"availableDrivers"}},{"kind":"Field","name":{"kind":"Name","value":"activeVehicles"}},{"kind":"Field","name":{"kind":"Name","value":"lowStockItems"}},{"kind":"Field","name":{"kind":"Name","value":"totalRevenue"}},{"kind":"Field","name":{"kind":"Name","value":"recentDeliveryJobs"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MovethewheelsOrderCore"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"deliveryJobStats"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"pending"}},{"kind":"Field","name":{"kind":"Name","value":"confirmed"}},{"kind":"Field","name":{"kind":"Name","value":"assigned"}},{"kind":"Field","name":{"kind":"Name","value":"pickedUp"}},{"kind":"Field","name":{"kind":"Name","value":"inTransit"}},{"kind":"Field","name":{"kind":"Name","value":"outForDelivery"}},{"kind":"Field","name":{"kind":"Name","value":"delivered"}},{"kind":"Field","name":{"kind":"Name","value":"cancelled"}},{"kind":"Field","name":{"kind":"Name","value":"failed"}},{"kind":"Field","name":{"kind":"Name","value":"returned"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fleetStats"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalVehicles"}},{"kind":"Field","name":{"kind":"Name","value":"activeVehicles"}},{"kind":"Field","name":{"kind":"Name","value":"inTransitVehicles"}},{"kind":"Field","name":{"kind":"Name","value":"maintenanceVehicles"}},{"kind":"Field","name":{"kind":"Name","value":"totalDrivers"}},{"kind":"Field","name":{"kind":"Name","value":"availableDrivers"}},{"kind":"Field","name":{"kind":"Name","value":"onDeliveryDrivers"}}]}},{"kind":"Field","name":{"kind":"Name","value":"financeMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fuelCost"}},{"kind":"Field","name":{"kind":"Name","value":"openInvoices"}},{"kind":"Field","name":{"kind":"Name","value":"revenue"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalRevenue"}},{"kind":"Field","name":{"kind":"Name","value":"averageOrderValue"}},{"kind":"Field","name":{"kind":"Name","value":"deliveredRevenue"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"analytics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deliveryTrend"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"orderTrend"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"revenueTrend"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MovethewheelsOrderCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwDeliveryJob"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"deliveryJobNumber"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"priority"}},{"kind":"Field","name":{"kind":"Name","value":"customerId"}},{"kind":"Field","name":{"kind":"Name","value":"trackingNumber"}},{"kind":"Field","name":{"kind":"Name","value":"pickupAddress"}},{"kind":"Field","name":{"kind":"Name","value":"deliveryAddress"}},{"kind":"Field","name":{"kind":"Name","value":"cargoItems"}},{"kind":"Field","name":{"kind":"Name","value":"pricing"}},{"kind":"Field","name":{"kind":"Name","value":"scheduledDelivery"}},{"kind":"Field","name":{"kind":"Name","value":"vehicleId"}},{"kind":"Field","name":{"kind":"Name","value":"driverId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<GetMovethewheelsDashboardQuery, GetMovethewheelsDashboardQueryVariables>;
542
+ export const ListCustomersDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ListCustomers"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"CustomerFilterInput"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"PaginationInput"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"customers"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}},{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomerCore"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CustomerCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwCustomer"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"phone"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"company"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"rating"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<ListCustomersQuery, ListCustomersQueryVariables>;
543
+ export const GetCustomerDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCustomer"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"customer"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomerCore"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CustomerCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwCustomer"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"phone"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"company"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"rating"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<GetCustomerQuery, GetCustomerQueryVariables>;
544
+ export const ListProductsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ListProducts"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"CargoItemFilterInput"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"PaginationInput"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"cargoItems"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}},{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProductCore"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwCargoItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"category"}},{"kind":"Field","name":{"kind":"Name","value":"brand"}},{"kind":"Field","name":{"kind":"Name","value":"dimensions"}},{"kind":"Field","name":{"kind":"Name","value":"weight"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"hazardous"}},{"kind":"Field","name":{"kind":"Name","value":"fragile"}},{"kind":"Field","name":{"kind":"Name","value":"temperatureControlled"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<ListProductsQuery, ListProductsQueryVariables>;
545
+ export const GetProductDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetProduct"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"cargoItem"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProductCore"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwCargoItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"category"}},{"kind":"Field","name":{"kind":"Name","value":"brand"}},{"kind":"Field","name":{"kind":"Name","value":"dimensions"}},{"kind":"Field","name":{"kind":"Name","value":"weight"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"hazardous"}},{"kind":"Field","name":{"kind":"Name","value":"fragile"}},{"kind":"Field","name":{"kind":"Name","value":"temperatureControlled"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<GetProductQuery, GetProductQueryVariables>;
546
+ export const ListVehiclesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ListVehicles"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"VehicleFilterInput"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"PaginationInput"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vehicles"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}},{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"VehicleCore"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VehicleCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwVehicle"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"vehicleNumber"}},{"kind":"Field","name":{"kind":"Name","value":"make"}},{"kind":"Field","name":{"kind":"Name","value":"model"}},{"kind":"Field","name":{"kind":"Name","value":"year"}},{"kind":"Field","name":{"kind":"Name","value":"licensePlate"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"ownershipType"}},{"kind":"Field","name":{"kind":"Name","value":"capacity"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"currentLocation"}},{"kind":"Field","name":{"kind":"Name","value":"fuelLevel"}},{"kind":"Field","name":{"kind":"Name","value":"mileage"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<ListVehiclesQuery, ListVehiclesQueryVariables>;
547
+ export const GetVehicleDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetVehicle"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vehicle"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"VehicleCore"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VehicleCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwVehicle"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"vehicleNumber"}},{"kind":"Field","name":{"kind":"Name","value":"make"}},{"kind":"Field","name":{"kind":"Name","value":"model"}},{"kind":"Field","name":{"kind":"Name","value":"year"}},{"kind":"Field","name":{"kind":"Name","value":"licensePlate"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"ownershipType"}},{"kind":"Field","name":{"kind":"Name","value":"capacity"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"currentLocation"}},{"kind":"Field","name":{"kind":"Name","value":"fuelLevel"}},{"kind":"Field","name":{"kind":"Name","value":"mileage"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<GetVehicleQuery, GetVehicleQueryVariables>;
548
+ export const ListDriversDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ListDrivers"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"DriverFilterInput"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"PaginationInput"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"drivers"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}},{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"DriverCore"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DriverCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwDriver"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"employeeId"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"phone"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"licenseNumber"}},{"kind":"Field","name":{"kind":"Name","value":"licenseClass"}},{"kind":"Field","name":{"kind":"Name","value":"licenseExpiry"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"currentLocation"}},{"kind":"Field","name":{"kind":"Name","value":"rating"}},{"kind":"Field","name":{"kind":"Name","value":"userId"}},{"kind":"Field","name":{"kind":"Name","value":"vehicleId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<ListDriversQuery, ListDriversQueryVariables>;
549
+ export const GetDriverDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetDriver"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"driver"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"DriverCore"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DriverCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwDriver"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"employeeId"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"phone"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"licenseNumber"}},{"kind":"Field","name":{"kind":"Name","value":"licenseClass"}},{"kind":"Field","name":{"kind":"Name","value":"licenseExpiry"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"currentLocation"}},{"kind":"Field","name":{"kind":"Name","value":"rating"}},{"kind":"Field","name":{"kind":"Name","value":"userId"}},{"kind":"Field","name":{"kind":"Name","value":"vehicleId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<GetDriverQuery, GetDriverQueryVariables>;
550
+ export const ListWarehousesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ListWarehouses"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"WarehouseFilterInput"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"PaginationInput"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"warehouses"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}},{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"WarehouseCore"}},{"kind":"Field","name":{"kind":"Name","value":"locations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"locationCode"}},{"kind":"Field","name":{"kind":"Name","value":"zone"}},{"kind":"Field","name":{"kind":"Name","value":"aisle"}},{"kind":"Field","name":{"kind":"Name","value":"rack"}},{"kind":"Field","name":{"kind":"Name","value":"shelf"}},{"kind":"Field","name":{"kind":"Name","value":"bin"}},{"kind":"Field","name":{"kind":"Name","value":"locationType"}},{"kind":"Field","name":{"kind":"Name","value":"capacity"}},{"kind":"Field","name":{"kind":"Name","value":"status"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"WarehouseCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwWarehouse"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"contactInfo"}},{"kind":"Field","name":{"kind":"Name","value":"operatingHours"}},{"kind":"Field","name":{"kind":"Name","value":"capabilities"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"totalCapacity"}},{"kind":"Field","name":{"kind":"Name","value":"usedCapacity"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<ListWarehousesQuery, ListWarehousesQueryVariables>;
551
+ export const GetWarehouseDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetWarehouse"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"warehouse"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"WarehouseCore"}},{"kind":"Field","name":{"kind":"Name","value":"locations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"locationCode"}},{"kind":"Field","name":{"kind":"Name","value":"zone"}},{"kind":"Field","name":{"kind":"Name","value":"aisle"}},{"kind":"Field","name":{"kind":"Name","value":"rack"}},{"kind":"Field","name":{"kind":"Name","value":"shelf"}},{"kind":"Field","name":{"kind":"Name","value":"bin"}},{"kind":"Field","name":{"kind":"Name","value":"locationType"}},{"kind":"Field","name":{"kind":"Name","value":"capacity"}},{"kind":"Field","name":{"kind":"Name","value":"status"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"WarehouseCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwWarehouse"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"contactInfo"}},{"kind":"Field","name":{"kind":"Name","value":"operatingHours"}},{"kind":"Field","name":{"kind":"Name","value":"capabilities"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"totalCapacity"}},{"kind":"Field","name":{"kind":"Name","value":"usedCapacity"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<GetWarehouseQuery, GetWarehouseQueryVariables>;
552
+ export const GetMovethewheelsDemandForecastByLaneDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetMovethewheelsDemandForecastByLane"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"weeks"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"demandForecastByLane"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"weeks"},"value":{"kind":"Variable","name":{"kind":"Name","value":"weeks"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"scopeType"}},{"kind":"Field","name":{"kind":"Name","value":"scopeKey"}},{"kind":"Field","name":{"kind":"Name","value":"periodStart"}},{"kind":"Field","name":{"kind":"Name","value":"periodEnd"}},{"kind":"Field","name":{"kind":"Name","value":"predictedVolume"}},{"kind":"Field","name":{"kind":"Name","value":"predictedRevenue"}},{"kind":"Field","name":{"kind":"Name","value":"actualVolume"}},{"kind":"Field","name":{"kind":"Name","value":"actualRevenue"}},{"kind":"Field","name":{"kind":"Name","value":"confidence"}}]}}]}}]} as unknown as DocumentNode<GetMovethewheelsDemandForecastByLaneQuery, GetMovethewheelsDemandForecastByLaneQueryVariables>;
553
+ export const GetMovethewheelsDemandForecastByCustomerDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetMovethewheelsDemandForecastByCustomer"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"weeks"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"demandForecastByCustomer"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"weeks"},"value":{"kind":"Variable","name":{"kind":"Name","value":"weeks"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"scopeType"}},{"kind":"Field","name":{"kind":"Name","value":"scopeKey"}},{"kind":"Field","name":{"kind":"Name","value":"periodStart"}},{"kind":"Field","name":{"kind":"Name","value":"periodEnd"}},{"kind":"Field","name":{"kind":"Name","value":"predictedVolume"}},{"kind":"Field","name":{"kind":"Name","value":"predictedRevenue"}},{"kind":"Field","name":{"kind":"Name","value":"actualVolume"}},{"kind":"Field","name":{"kind":"Name","value":"actualRevenue"}},{"kind":"Field","name":{"kind":"Name","value":"confidence"}}]}}]}}]} as unknown as DocumentNode<GetMovethewheelsDemandForecastByCustomerQuery, GetMovethewheelsDemandForecastByCustomerQueryVariables>;
554
+ export const GetMovethewheelsDemandForecastVarianceDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetMovethewheelsDemandForecastVariance"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"scopeType"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"DemandForecastScope"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"demandForecastVariance"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"scopeType"},"value":{"kind":"Variable","name":{"kind":"Name","value":"scopeType"}}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"scopeType"}},{"kind":"Field","name":{"kind":"Name","value":"scopeKey"}},{"kind":"Field","name":{"kind":"Name","value":"periodStart"}},{"kind":"Field","name":{"kind":"Name","value":"periodEnd"}},{"kind":"Field","name":{"kind":"Name","value":"predictedVolume"}},{"kind":"Field","name":{"kind":"Name","value":"actualVolume"}},{"kind":"Field","name":{"kind":"Name","value":"volumeVariance"}},{"kind":"Field","name":{"kind":"Name","value":"predictedRevenue"}},{"kind":"Field","name":{"kind":"Name","value":"actualRevenue"}},{"kind":"Field","name":{"kind":"Name","value":"revenueVariance"}}]}}]}}]} as unknown as DocumentNode<GetMovethewheelsDemandForecastVarianceQuery, GetMovethewheelsDemandForecastVarianceQueryVariables>;
555
+ export const ListInventoryItemsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ListInventoryItems"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"InventoryFilterInput"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"PaginationInput"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"inventoryItems"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}},{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"InventoryItemCore"}},{"kind":"Field","name":{"kind":"Name","value":"cargoItem"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"category"}}]}},{"kind":"Field","name":{"kind":"Name","value":"warehouse"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"InventoryItemCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwInventoryItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"cargoItemId"}},{"kind":"Field","name":{"kind":"Name","value":"warehouseId"}},{"kind":"Field","name":{"kind":"Name","value":"locationId"}},{"kind":"Field","name":{"kind":"Name","value":"onHand"}},{"kind":"Field","name":{"kind":"Name","value":"available"}},{"kind":"Field","name":{"kind":"Name","value":"allocated"}},{"kind":"Field","name":{"kind":"Name","value":"damaged"}},{"kind":"Field","name":{"kind":"Name","value":"unitCost"}},{"kind":"Field","name":{"kind":"Name","value":"reorderPoint"}},{"kind":"Field","name":{"kind":"Name","value":"safetyStock"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<ListInventoryItemsQuery, ListInventoryItemsQueryVariables>;
556
+ export const GetInventoryStatsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetInventoryStats"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"inventoryStats"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalOnHand"}},{"kind":"Field","name":{"kind":"Name","value":"totalAvailable"}},{"kind":"Field","name":{"kind":"Name","value":"totalAllocated"}},{"kind":"Field","name":{"kind":"Name","value":"totalDamaged"}},{"kind":"Field","name":{"kind":"Name","value":"lowStockCount"}}]}}]}}]} as unknown as DocumentNode<GetInventoryStatsQuery, GetInventoryStatsQueryVariables>;
557
+ export const ListRoutesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ListRoutes"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"RouteFilterInput"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"PaginationInput"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"routes"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}},{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RouteCore"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RouteCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwRoute"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"shipmentId"}},{"kind":"Field","name":{"kind":"Name","value":"vehicleId"}},{"kind":"Field","name":{"kind":"Name","value":"driverId"}},{"kind":"Field","name":{"kind":"Name","value":"waypoints"}},{"kind":"Field","name":{"kind":"Name","value":"estimatedDistance"}},{"kind":"Field","name":{"kind":"Name","value":"estimatedDuration"}},{"kind":"Field","name":{"kind":"Name","value":"actualDistance"}},{"kind":"Field","name":{"kind":"Name","value":"actualDuration"}},{"kind":"Field","name":{"kind":"Name","value":"fuelCost"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<ListRoutesQuery, ListRoutesQueryVariables>;
558
+ export const GetRouteDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetRoute"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"route"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RouteCore"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RouteCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwRoute"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"shipmentId"}},{"kind":"Field","name":{"kind":"Name","value":"vehicleId"}},{"kind":"Field","name":{"kind":"Name","value":"driverId"}},{"kind":"Field","name":{"kind":"Name","value":"waypoints"}},{"kind":"Field","name":{"kind":"Name","value":"estimatedDistance"}},{"kind":"Field","name":{"kind":"Name","value":"estimatedDuration"}},{"kind":"Field","name":{"kind":"Name","value":"actualDistance"}},{"kind":"Field","name":{"kind":"Name","value":"actualDuration"}},{"kind":"Field","name":{"kind":"Name","value":"fuelCost"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<GetRouteQuery, GetRouteQueryVariables>;
559
+ export const ListShipmentsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ListShipments"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ShipmentFilterInput"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"PaginationInput"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shipments"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}},{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ShipmentCore"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ShipmentCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwShipment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"shipmentNumber"}},{"kind":"Field","name":{"kind":"Name","value":"deliveryJobId"}},{"kind":"Field","name":{"kind":"Name","value":"customerId"}},{"kind":"Field","name":{"kind":"Name","value":"carrierId"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"origin"}},{"kind":"Field","name":{"kind":"Name","value":"destination"}},{"kind":"Field","name":{"kind":"Name","value":"cargoDetails"}},{"kind":"Field","name":{"kind":"Name","value":"trackingNumber"}},{"kind":"Field","name":{"kind":"Name","value":"estimatedDelivery"}},{"kind":"Field","name":{"kind":"Name","value":"actualDelivery"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<ListShipmentsQuery, ListShipmentsQueryVariables>;
560
+ export const GetShipmentDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetShipment"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shipment"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ShipmentCore"}},{"kind":"Field","name":{"kind":"Name","value":"trackingEvents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"eventType"}},{"kind":"Field","name":{"kind":"Name","value":"location"}},{"kind":"Field","name":{"kind":"Name","value":"details"}},{"kind":"Field","name":{"kind":"Name","value":"timestamp"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ShipmentCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwShipment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"shipmentNumber"}},{"kind":"Field","name":{"kind":"Name","value":"deliveryJobId"}},{"kind":"Field","name":{"kind":"Name","value":"customerId"}},{"kind":"Field","name":{"kind":"Name","value":"carrierId"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"origin"}},{"kind":"Field","name":{"kind":"Name","value":"destination"}},{"kind":"Field","name":{"kind":"Name","value":"cargoDetails"}},{"kind":"Field","name":{"kind":"Name","value":"trackingNumber"}},{"kind":"Field","name":{"kind":"Name","value":"estimatedDelivery"}},{"kind":"Field","name":{"kind":"Name","value":"actualDelivery"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<GetShipmentQuery, GetShipmentQueryVariables>;
561
+ export const GetDeliveryJobTrackingDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetDeliveryJobTracking"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"deliveryJobId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"PaginationInput"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deliveryJobTracking"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"deliveryJobId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"deliveryJobId"}}},{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"shipmentId"}},{"kind":"Field","name":{"kind":"Name","value":"eventType"}},{"kind":"Field","name":{"kind":"Name","value":"location"}},{"kind":"Field","name":{"kind":"Name","value":"details"}},{"kind":"Field","name":{"kind":"Name","value":"timestamp"}}]}}]}}]} as unknown as DocumentNode<GetDeliveryJobTrackingQuery, GetDeliveryJobTrackingQueryVariables>;
562
+ export const GetActiveDeliveriesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetActiveDeliveries"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"activeDeliveries"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ShipmentCore"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ShipmentCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwShipment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"shipmentNumber"}},{"kind":"Field","name":{"kind":"Name","value":"deliveryJobId"}},{"kind":"Field","name":{"kind":"Name","value":"customerId"}},{"kind":"Field","name":{"kind":"Name","value":"carrierId"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"origin"}},{"kind":"Field","name":{"kind":"Name","value":"destination"}},{"kind":"Field","name":{"kind":"Name","value":"cargoDetails"}},{"kind":"Field","name":{"kind":"Name","value":"trackingNumber"}},{"kind":"Field","name":{"kind":"Name","value":"estimatedDelivery"}},{"kind":"Field","name":{"kind":"Name","value":"actualDelivery"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<GetActiveDeliveriesQuery, GetActiveDeliveriesQueryVariables>;
563
+ export const GetTrackingAlertsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetTrackingAlerts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"trackingAlerts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shipmentId"}},{"kind":"Field","name":{"kind":"Name","value":"shipmentNumber"}},{"kind":"Field","name":{"kind":"Name","value":"alertType"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]} as unknown as DocumentNode<GetTrackingAlertsQuery, GetTrackingAlertsQueryVariables>;
564
+ export const ListMovethewheelsOrdersDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ListMovethewheelsOrders"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"DeliveryJobFilterInput"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"PaginationInput"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deliveryJobs"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}},{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MovethewheelsOrderCore"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MovethewheelsOrderCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwDeliveryJob"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"deliveryJobNumber"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"priority"}},{"kind":"Field","name":{"kind":"Name","value":"customerId"}},{"kind":"Field","name":{"kind":"Name","value":"trackingNumber"}},{"kind":"Field","name":{"kind":"Name","value":"pickupAddress"}},{"kind":"Field","name":{"kind":"Name","value":"deliveryAddress"}},{"kind":"Field","name":{"kind":"Name","value":"cargoItems"}},{"kind":"Field","name":{"kind":"Name","value":"pricing"}},{"kind":"Field","name":{"kind":"Name","value":"scheduledDelivery"}},{"kind":"Field","name":{"kind":"Name","value":"vehicleId"}},{"kind":"Field","name":{"kind":"Name","value":"driverId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<ListMovethewheelsOrdersQuery, ListMovethewheelsOrdersQueryVariables>;
565
+ export const GetMovethewheelsOrderDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetMovethewheelsOrder"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deliveryJob"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MovethewheelsOrderCore"}},{"kind":"Field","name":{"kind":"Name","value":"customer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"phone"}}]}},{"kind":"Field","name":{"kind":"Name","value":"vehicle"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"vehicleNumber"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"status"}}]}},{"kind":"Field","name":{"kind":"Name","value":"driver"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"status"}}]}},{"kind":"Field","name":{"kind":"Name","value":"statusHistory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"previousStatus"}},{"kind":"Field","name":{"kind":"Name","value":"notes"}},{"kind":"Field","name":{"kind":"Name","value":"location"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"shipment"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"shipmentNumber"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"trackingNumber"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MovethewheelsOrderCore"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwDeliveryJob"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"deliveryJobNumber"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"priority"}},{"kind":"Field","name":{"kind":"Name","value":"customerId"}},{"kind":"Field","name":{"kind":"Name","value":"trackingNumber"}},{"kind":"Field","name":{"kind":"Name","value":"pickupAddress"}},{"kind":"Field","name":{"kind":"Name","value":"deliveryAddress"}},{"kind":"Field","name":{"kind":"Name","value":"cargoItems"}},{"kind":"Field","name":{"kind":"Name","value":"pricing"}},{"kind":"Field","name":{"kind":"Name","value":"scheduledDelivery"}},{"kind":"Field","name":{"kind":"Name","value":"vehicleId"}},{"kind":"Field","name":{"kind":"Name","value":"driverId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<GetMovethewheelsOrderQuery, GetMovethewheelsOrderQueryVariables>;