@burdenoff/microfe-movethewheels 2026.822.1 → 2026.828.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/wspace-operations.d.ts +168 -912
- package/dist/generated/wspace-types.d.ts +78432 -35831
- package/dist/hooks/useFleet.js +142 -74
- package/dist/hooks/useImportExport.js +22 -51
- package/dist/hooks/useInventory.js +163 -70
- package/dist/hooks/useOrders.js +2 -2
- package/dist/hooks/useReports.js +63 -73
- package/dist/hooks/useSettings.js +52 -44
- package/dist/hooks/useTracking.js +5 -5
- package/dist/index.js +33 -33
- package/dist/movethewheels/hooks/index.d.ts +2 -2
- package/dist/movethewheels/hooks/useFleet.d.ts +32 -1
- package/dist/movethewheels/hooks/useImportExport.d.ts +10 -0
- package/dist/movethewheels/hooks/useInventory.d.ts +67 -12
- package/dist/movethewheels/hooks/useOrders.d.ts +25 -2
- package/dist/movethewheels/pages/MarketplacePage.d.ts +7 -4
- package/dist/movethewheels/types/index.d.ts +2 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-down-right.js +11 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-left-right.js +22 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-up-right.js +11 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/calendar-clock.js +32 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/history.js +18 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/lock.js +16 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/user-round.js +13 -0
- package/dist/pages/CreateOrderPage.js +246 -195
- package/dist/pages/DeliveryCapturePage.js +91 -78
- package/dist/pages/DriversPage.js +202 -108
- package/dist/pages/InventoryPage.js +356 -131
- package/dist/pages/MarketplacePage.js +11 -432
- package/dist/pages/ProductDetailsPage.js +212 -156
- package/dist/pages/ReportsPage.js +120 -109
- package/dist/pages/VehicleDetailsPage.js +257 -193
- package/dist/utils/formatters.js +4 -1
- package/package.json +2 -2
- package/src/generated/wspace-operations.ts +134 -929
- package/src/generated/wspace-types.ts +91730 -40059
- package/src/movethewheels/hooks/index.ts +9 -0
- package/src/movethewheels/hooks/useFleet.ts +133 -3
- package/src/movethewheels/hooks/useImportExport.ts +36 -72
- package/src/movethewheels/hooks/useInventory.ts +311 -53
- package/src/movethewheels/hooks/useOrders.ts +31 -7
- package/src/movethewheels/hooks/useReports.ts +73 -87
- package/src/movethewheels/hooks/useSettings.ts +50 -53
- package/src/movethewheels/hooks/useTracking.ts +14 -14
- package/src/movethewheels/pages/CreateOrderPage.tsx +67 -10
- package/src/movethewheels/pages/DeliveryCapturePage.tsx +8 -0
- package/src/movethewheels/pages/DriversPage.tsx +181 -31
- package/src/movethewheels/pages/InventoryPage.tsx +299 -19
- package/src/movethewheels/pages/MarketplacePage.tsx +16 -539
- package/src/movethewheels/pages/ProductDetailsPage.tsx +68 -3
- package/src/movethewheels/pages/ReportsPage.tsx +23 -0
- package/src/movethewheels/pages/VehicleDetailsPage.tsx +86 -27
- package/src/movethewheels/types/index.ts +2 -0
- package/src/operations/wspace/movethewheels/fragments/core.graphql +23 -53
- package/src/operations/wspace/movethewheels/fragments/core.withdrawn.graphql +59 -0
- package/src/operations/wspace/movethewheels/mutations/entities.graphql +5 -5
- package/src/operations/wspace/movethewheels/mutations/marketplace-reports.graphql +18 -78
- package/src/operations/wspace/movethewheels/mutations/marketplace-reports.withdrawn.graphql +93 -0
- package/src/operations/wspace/movethewheels/mutations/orders.graphql +7 -7
- package/src/operations/wspace/movethewheels/queries/dashboard.graphql +3 -3
- package/src/operations/wspace/movethewheels/queries/entities.graphql +3 -3
- package/src/operations/wspace/movethewheels/queries/logistics.graphql +3 -3
- package/src/operations/wspace/movethewheels/queries/marketplace-reports.withdrawn.graphql +58 -0
- package/src/operations/wspace/movethewheels/queries/orders.graphql +3 -3
- package/dist/generated/global-operations.d.ts +0 -1
- package/dist/generated/global-types.d.ts +0 -23526
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-down.js +0 -8
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-up.js +0 -8
- package/src/generated/global-operations.ts +0 -2
- package/src/generated/global-types.ts +0 -27259
- package/src/operations/wspace/movethewheels/queries/marketplace-reports.graphql +0 -40
|
@@ -5,36 +5,30 @@ import { gql } from '@apollo/client';
|
|
|
5
5
|
import * as Apollo from '@apollo/client';
|
|
6
6
|
import * as ApolloReactHooks from '@apollo/client/react';
|
|
7
7
|
const defaultOptions = {} as const;
|
|
8
|
-
export type MovethewheelsOrderCoreFragment = { __typename?: '
|
|
8
|
+
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 };
|
|
9
9
|
|
|
10
|
-
export type CustomerCoreFragment = { __typename?: '
|
|
10
|
+
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 };
|
|
11
11
|
|
|
12
|
-
export type ProductCoreFragment = { __typename?: '
|
|
12
|
+
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 };
|
|
13
13
|
|
|
14
|
-
export type VehicleCoreFragment = { __typename?: '
|
|
14
|
+
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 };
|
|
15
15
|
|
|
16
|
-
export type DriverCoreFragment = { __typename?: '
|
|
16
|
+
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 };
|
|
17
17
|
|
|
18
|
-
export type WarehouseCoreFragment = { __typename?: '
|
|
18
|
+
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 };
|
|
19
19
|
|
|
20
|
-
export type InventoryItemCoreFragment = { __typename?: '
|
|
20
|
+
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 };
|
|
21
21
|
|
|
22
|
-
export type RouteCoreFragment = { __typename?: '
|
|
22
|
+
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 };
|
|
23
23
|
|
|
24
|
-
export type ShipmentCoreFragment = { __typename?: '
|
|
25
|
-
|
|
26
|
-
export type ServiceProviderCoreFragment = { __typename?: 'ServiceProvider', id: string, name: string, type: string, description?: string | null, rating?: number | null, contactInfo?: Record<string, unknown> | null, services?: Record<string, unknown> | null, isVerified: boolean, isActive: boolean, createdAt: string, updatedAt: string };
|
|
27
|
-
|
|
28
|
-
export type ServiceOfferingCoreFragment = { __typename?: 'ServiceOffering', id: string, providerId: string, name: string, description?: string | null, category?: string | null, price: number, currency: string, availability?: Record<string, unknown> | null, createdAt: string, updatedAt: string };
|
|
29
|
-
|
|
30
|
-
export type MovethewheelsReportCoreFragment = { __typename?: 'MovethewheelsReport', id: string, name: string, type: string, description?: string | null, schedule?: string | null, lastGenerated?: string | null, configuration?: Record<string, unknown> | null, status: string, createdAt: string, updatedAt: string };
|
|
24
|
+
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 };
|
|
31
25
|
|
|
32
26
|
export type CreateCustomerMutationVariables = Types.Exact<{
|
|
33
27
|
input: Types.CreateCustomerInput;
|
|
34
28
|
}>;
|
|
35
29
|
|
|
36
30
|
|
|
37
|
-
export type CreateCustomerMutation = { __typename?: 'Mutation', createCustomer: { __typename?: '
|
|
31
|
+
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 } };
|
|
38
32
|
|
|
39
33
|
export type UpdateCustomerMutationVariables = Types.Exact<{
|
|
40
34
|
id: Types.Scalars['ID']['input'];
|
|
@@ -42,7 +36,7 @@ export type UpdateCustomerMutationVariables = Types.Exact<{
|
|
|
42
36
|
}>;
|
|
43
37
|
|
|
44
38
|
|
|
45
|
-
export type UpdateCustomerMutation = { __typename?: 'Mutation', updateCustomer: { __typename?: '
|
|
39
|
+
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 } };
|
|
46
40
|
|
|
47
41
|
export type DeleteCustomerMutationVariables = Types.Exact<{
|
|
48
42
|
id: Types.Scalars['ID']['input'];
|
|
@@ -52,33 +46,33 @@ export type DeleteCustomerMutationVariables = Types.Exact<{
|
|
|
52
46
|
export type DeleteCustomerMutation = { __typename?: 'Mutation', deleteCustomer: boolean };
|
|
53
47
|
|
|
54
48
|
export type CreateProductMutationVariables = Types.Exact<{
|
|
55
|
-
input: Types.
|
|
49
|
+
input: Types.CreateCargoItemInput;
|
|
56
50
|
}>;
|
|
57
51
|
|
|
58
52
|
|
|
59
|
-
export type CreateProductMutation = { __typename?: 'Mutation',
|
|
53
|
+
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 } };
|
|
60
54
|
|
|
61
55
|
export type UpdateProductMutationVariables = Types.Exact<{
|
|
62
56
|
id: Types.Scalars['ID']['input'];
|
|
63
|
-
input: Types.
|
|
57
|
+
input: Types.UpdateCargoItemInput;
|
|
64
58
|
}>;
|
|
65
59
|
|
|
66
60
|
|
|
67
|
-
export type UpdateProductMutation = { __typename?: 'Mutation',
|
|
61
|
+
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 } };
|
|
68
62
|
|
|
69
63
|
export type DeleteProductMutationVariables = Types.Exact<{
|
|
70
64
|
id: Types.Scalars['ID']['input'];
|
|
71
65
|
}>;
|
|
72
66
|
|
|
73
67
|
|
|
74
|
-
export type DeleteProductMutation = { __typename?: 'Mutation',
|
|
68
|
+
export type DeleteProductMutation = { __typename?: 'Mutation', deleteCargoItem: boolean };
|
|
75
69
|
|
|
76
70
|
export type CreateVehicleMutationVariables = Types.Exact<{
|
|
77
71
|
input: Types.CreateVehicleInput;
|
|
78
72
|
}>;
|
|
79
73
|
|
|
80
74
|
|
|
81
|
-
export type CreateVehicleMutation = { __typename?: 'Mutation', createVehicle: { __typename?: '
|
|
75
|
+
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 } };
|
|
82
76
|
|
|
83
77
|
export type UpdateVehicleMutationVariables = Types.Exact<{
|
|
84
78
|
id: Types.Scalars['ID']['input'];
|
|
@@ -86,7 +80,7 @@ export type UpdateVehicleMutationVariables = Types.Exact<{
|
|
|
86
80
|
}>;
|
|
87
81
|
|
|
88
82
|
|
|
89
|
-
export type UpdateVehicleMutation = { __typename?: 'Mutation', updateVehicle: { __typename?: '
|
|
83
|
+
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 } };
|
|
90
84
|
|
|
91
85
|
export type UpdateVehicleStatusMutationVariables = Types.Exact<{
|
|
92
86
|
id: Types.Scalars['ID']['input'];
|
|
@@ -94,7 +88,7 @@ export type UpdateVehicleStatusMutationVariables = Types.Exact<{
|
|
|
94
88
|
}>;
|
|
95
89
|
|
|
96
90
|
|
|
97
|
-
export type UpdateVehicleStatusMutation = { __typename?: 'Mutation', updateVehicleStatus: { __typename?: '
|
|
91
|
+
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 } };
|
|
98
92
|
|
|
99
93
|
export type UpdateVehicleLocationMutationVariables = Types.Exact<{
|
|
100
94
|
id: Types.Scalars['ID']['input'];
|
|
@@ -102,7 +96,7 @@ export type UpdateVehicleLocationMutationVariables = Types.Exact<{
|
|
|
102
96
|
}>;
|
|
103
97
|
|
|
104
98
|
|
|
105
|
-
export type UpdateVehicleLocationMutation = { __typename?: 'Mutation', updateVehicleLocation: { __typename?: '
|
|
99
|
+
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 } };
|
|
106
100
|
|
|
107
101
|
export type DeleteVehicleMutationVariables = Types.Exact<{
|
|
108
102
|
id: Types.Scalars['ID']['input'];
|
|
@@ -116,7 +110,7 @@ export type CreateDriverMutationVariables = Types.Exact<{
|
|
|
116
110
|
}>;
|
|
117
111
|
|
|
118
112
|
|
|
119
|
-
export type CreateDriverMutation = { __typename?: 'Mutation', createDriver: { __typename?: '
|
|
113
|
+
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 } };
|
|
120
114
|
|
|
121
115
|
export type UpdateDriverMutationVariables = Types.Exact<{
|
|
122
116
|
id: Types.Scalars['ID']['input'];
|
|
@@ -124,7 +118,7 @@ export type UpdateDriverMutationVariables = Types.Exact<{
|
|
|
124
118
|
}>;
|
|
125
119
|
|
|
126
120
|
|
|
127
|
-
export type UpdateDriverMutation = { __typename?: 'Mutation', updateDriver: { __typename?: '
|
|
121
|
+
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 } };
|
|
128
122
|
|
|
129
123
|
export type UpdateDriverStatusMutationVariables = Types.Exact<{
|
|
130
124
|
id: Types.Scalars['ID']['input'];
|
|
@@ -132,7 +126,7 @@ export type UpdateDriverStatusMutationVariables = Types.Exact<{
|
|
|
132
126
|
}>;
|
|
133
127
|
|
|
134
128
|
|
|
135
|
-
export type UpdateDriverStatusMutation = { __typename?: 'Mutation', updateDriverStatus: { __typename?: '
|
|
129
|
+
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 } };
|
|
136
130
|
|
|
137
131
|
export type AssignDriverVehicleMutationVariables = Types.Exact<{
|
|
138
132
|
id: Types.Scalars['ID']['input'];
|
|
@@ -140,7 +134,7 @@ export type AssignDriverVehicleMutationVariables = Types.Exact<{
|
|
|
140
134
|
}>;
|
|
141
135
|
|
|
142
136
|
|
|
143
|
-
export type AssignDriverVehicleMutation = { __typename?: 'Mutation', assignDriverVehicle: { __typename?: '
|
|
137
|
+
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 } };
|
|
144
138
|
|
|
145
139
|
export type DeleteDriverMutationVariables = Types.Exact<{
|
|
146
140
|
id: Types.Scalars['ID']['input'];
|
|
@@ -154,7 +148,7 @@ export type CreateWarehouseMutationVariables = Types.Exact<{
|
|
|
154
148
|
}>;
|
|
155
149
|
|
|
156
150
|
|
|
157
|
-
export type CreateWarehouseMutation = { __typename?: 'Mutation', createWarehouse: { __typename?: '
|
|
151
|
+
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 } };
|
|
158
152
|
|
|
159
153
|
export type UpdateWarehouseMutationVariables = Types.Exact<{
|
|
160
154
|
id: Types.Scalars['ID']['input'];
|
|
@@ -162,7 +156,7 @@ export type UpdateWarehouseMutationVariables = Types.Exact<{
|
|
|
162
156
|
}>;
|
|
163
157
|
|
|
164
158
|
|
|
165
|
-
export type UpdateWarehouseMutation = { __typename?: 'Mutation', updateWarehouse: { __typename?: '
|
|
159
|
+
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 } };
|
|
166
160
|
|
|
167
161
|
export type DeleteWarehouseMutationVariables = Types.Exact<{
|
|
168
162
|
id: Types.Scalars['ID']['input'];
|
|
@@ -176,7 +170,7 @@ export type CreateInventoryItemMutationVariables = Types.Exact<{
|
|
|
176
170
|
}>;
|
|
177
171
|
|
|
178
172
|
|
|
179
|
-
export type CreateInventoryItemMutation = { __typename?: 'Mutation', createInventoryItem: { __typename?: '
|
|
173
|
+
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 } };
|
|
180
174
|
|
|
181
175
|
export type UpdateInventoryItemMutationVariables = Types.Exact<{
|
|
182
176
|
id: Types.Scalars['ID']['input'];
|
|
@@ -184,14 +178,14 @@ export type UpdateInventoryItemMutationVariables = Types.Exact<{
|
|
|
184
178
|
}>;
|
|
185
179
|
|
|
186
180
|
|
|
187
|
-
export type UpdateInventoryItemMutation = { __typename?: 'Mutation', updateInventoryItem: { __typename?: '
|
|
181
|
+
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 } };
|
|
188
182
|
|
|
189
183
|
export type AdjustInventoryStockMutationVariables = Types.Exact<{
|
|
190
184
|
input: Types.AdjustInventoryStockInput;
|
|
191
185
|
}>;
|
|
192
186
|
|
|
193
187
|
|
|
194
|
-
export type AdjustInventoryStockMutation = { __typename?: 'Mutation', adjustInventoryStock: { __typename?: '
|
|
188
|
+
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 } };
|
|
195
189
|
|
|
196
190
|
export type DeleteInventoryItemMutationVariables = Types.Exact<{
|
|
197
191
|
id: Types.Scalars['ID']['input'];
|
|
@@ -205,7 +199,7 @@ export type CreateRouteMutationVariables = Types.Exact<{
|
|
|
205
199
|
}>;
|
|
206
200
|
|
|
207
201
|
|
|
208
|
-
export type CreateRouteMutation = { __typename?: 'Mutation', createRoute: { __typename?: '
|
|
202
|
+
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 } };
|
|
209
203
|
|
|
210
204
|
export type UpdateRouteMutationVariables = Types.Exact<{
|
|
211
205
|
id: Types.Scalars['ID']['input'];
|
|
@@ -213,14 +207,14 @@ export type UpdateRouteMutationVariables = Types.Exact<{
|
|
|
213
207
|
}>;
|
|
214
208
|
|
|
215
209
|
|
|
216
|
-
export type UpdateRouteMutation = { __typename?: 'Mutation', updateRoute: { __typename?: '
|
|
210
|
+
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 } };
|
|
217
211
|
|
|
218
212
|
export type OptimizeRouteMutationVariables = Types.Exact<{
|
|
219
213
|
id: Types.Scalars['ID']['input'];
|
|
220
214
|
}>;
|
|
221
215
|
|
|
222
216
|
|
|
223
|
-
export type OptimizeRouteMutation = { __typename?: 'Mutation', optimizeRoute: { __typename?: '
|
|
217
|
+
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 } };
|
|
224
218
|
|
|
225
219
|
export type DeleteRouteMutationVariables = Types.Exact<{
|
|
226
220
|
id: Types.Scalars['ID']['input'];
|
|
@@ -234,7 +228,7 @@ export type CreateShipmentMutationVariables = Types.Exact<{
|
|
|
234
228
|
}>;
|
|
235
229
|
|
|
236
230
|
|
|
237
|
-
export type CreateShipmentMutation = { __typename?: 'Mutation', createShipment: { __typename?: '
|
|
231
|
+
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 } };
|
|
238
232
|
|
|
239
233
|
export type UpdateShipmentMutationVariables = Types.Exact<{
|
|
240
234
|
id: Types.Scalars['ID']['input'];
|
|
@@ -242,7 +236,7 @@ export type UpdateShipmentMutationVariables = Types.Exact<{
|
|
|
242
236
|
}>;
|
|
243
237
|
|
|
244
238
|
|
|
245
|
-
export type UpdateShipmentMutation = { __typename?: 'Mutation', updateShipment: { __typename?: '
|
|
239
|
+
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 } };
|
|
246
240
|
|
|
247
241
|
export type DeleteShipmentMutationVariables = Types.Exact<{
|
|
248
242
|
id: Types.Scalars['ID']['input'];
|
|
@@ -256,136 +250,49 @@ export type AddTrackingEventMutationVariables = Types.Exact<{
|
|
|
256
250
|
}>;
|
|
257
251
|
|
|
258
252
|
|
|
259
|
-
export type AddTrackingEventMutation = { __typename?: 'Mutation', addTrackingEvent: { __typename?: '
|
|
260
|
-
|
|
261
|
-
export type CreateServiceProviderMutationVariables = Types.Exact<{
|
|
262
|
-
input: Types.CreateServiceProviderInput;
|
|
263
|
-
}>;
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
export type CreateServiceProviderMutation = { __typename?: 'Mutation', createServiceProvider: { __typename?: 'ServiceProvider', id: string, name: string, type: string, description?: string | null, rating?: number | null, contactInfo?: Record<string, unknown> | null, services?: Record<string, unknown> | null, isVerified: boolean, isActive: boolean, createdAt: string, updatedAt: string } };
|
|
267
|
-
|
|
268
|
-
export type UpdateServiceProviderMutationVariables = Types.Exact<{
|
|
269
|
-
id: Types.Scalars['ID']['input'];
|
|
270
|
-
input: Types.UpdateServiceProviderInput;
|
|
271
|
-
}>;
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
export type UpdateServiceProviderMutation = { __typename?: 'Mutation', updateServiceProvider: { __typename?: 'ServiceProvider', id: string, name: string, type: string, description?: string | null, rating?: number | null, contactInfo?: Record<string, unknown> | null, services?: Record<string, unknown> | null, isVerified: boolean, isActive: boolean, createdAt: string, updatedAt: string } };
|
|
275
|
-
|
|
276
|
-
export type DeleteServiceProviderMutationVariables = Types.Exact<{
|
|
277
|
-
id: Types.Scalars['ID']['input'];
|
|
278
|
-
}>;
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
export type DeleteServiceProviderMutation = { __typename?: 'Mutation', deleteServiceProvider: boolean };
|
|
282
|
-
|
|
283
|
-
export type CreateServiceOfferingMutationVariables = Types.Exact<{
|
|
284
|
-
input: Types.CreateServiceOfferingInput;
|
|
285
|
-
}>;
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
export type CreateServiceOfferingMutation = { __typename?: 'Mutation', createServiceOffering: { __typename?: 'ServiceOffering', id: string, providerId: string, name: string, description?: string | null, category?: string | null, price: number, currency: string, availability?: Record<string, unknown> | null, createdAt: string, updatedAt: string } };
|
|
289
|
-
|
|
290
|
-
export type UpdateServiceOfferingMutationVariables = Types.Exact<{
|
|
291
|
-
id: Types.Scalars['ID']['input'];
|
|
292
|
-
input: Types.UpdateServiceOfferingInput;
|
|
293
|
-
}>;
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
export type UpdateServiceOfferingMutation = { __typename?: 'Mutation', updateServiceOffering: { __typename?: 'ServiceOffering', id: string, providerId: string, name: string, description?: string | null, category?: string | null, price: number, currency: string, availability?: Record<string, unknown> | null, createdAt: string, updatedAt: string } };
|
|
297
|
-
|
|
298
|
-
export type DeleteServiceOfferingMutationVariables = Types.Exact<{
|
|
299
|
-
id: Types.Scalars['ID']['input'];
|
|
300
|
-
}>;
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
export type DeleteServiceOfferingMutation = { __typename?: 'Mutation', deleteServiceOffering: boolean };
|
|
304
|
-
|
|
305
|
-
export type CreateMovethewheelsReportMutationVariables = Types.Exact<{
|
|
306
|
-
input: Types.CreateMovethewheelsReportInput;
|
|
307
|
-
}>;
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
export type CreateMovethewheelsReportMutation = { __typename?: 'Mutation', createMovethewheelsReport: { __typename?: 'MovethewheelsReport', id: string, name: string, type: string, description?: string | null, schedule?: string | null, lastGenerated?: string | null, configuration?: Record<string, unknown> | null, status: string, createdAt: string, updatedAt: string } };
|
|
311
|
-
|
|
312
|
-
export type UpdateMovethewheelsReportMutationVariables = Types.Exact<{
|
|
313
|
-
id: Types.Scalars['ID']['input'];
|
|
314
|
-
input: Types.UpdateMovethewheelsReportInput;
|
|
315
|
-
}>;
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
export type UpdateMovethewheelsReportMutation = { __typename?: 'Mutation', updateMovethewheelsReport: { __typename?: 'MovethewheelsReport', id: string, name: string, type: string, description?: string | null, schedule?: string | null, lastGenerated?: string | null, configuration?: Record<string, unknown> | null, status: string, createdAt: string, updatedAt: string } };
|
|
319
|
-
|
|
320
|
-
export type DeleteMovethewheelsReportMutationVariables = Types.Exact<{
|
|
321
|
-
id: Types.Scalars['ID']['input'];
|
|
322
|
-
}>;
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
export type DeleteMovethewheelsReportMutation = { __typename?: 'Mutation', deleteMovethewheelsReport: boolean };
|
|
326
|
-
|
|
327
|
-
export type GenerateMovethewheelsReportMutationVariables = Types.Exact<{
|
|
328
|
-
input: Types.GenerateMovethewheelsReportInput;
|
|
329
|
-
}>;
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
export type GenerateMovethewheelsReportMutation = { __typename?: 'Mutation', generateMovethewheelsReport: { __typename?: 'GeneratedReport', generatedAt: string, result?: Record<string, unknown> | null, report: { __typename?: 'MovethewheelsReport', id: string, name: string, type: string, description?: string | null, schedule?: string | null, lastGenerated?: string | null, configuration?: Record<string, unknown> | null, status: string, createdAt: string, updatedAt: string } } };
|
|
333
|
-
|
|
334
|
-
export type ImportMovethewheelsDataMutationVariables = Types.Exact<{
|
|
335
|
-
input: Types.MovethewheelsImportDataInput;
|
|
336
|
-
}>;
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
export type ImportMovethewheelsDataMutation = { __typename?: 'Mutation', importData: { __typename?: 'ImportExportResult', success: boolean, message: string, payload?: Record<string, unknown> | null } };
|
|
253
|
+
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 } };
|
|
340
254
|
|
|
341
255
|
export type ExportMovethewheelsDataMutationVariables = Types.Exact<{
|
|
342
|
-
input: Types.
|
|
343
|
-
}>;
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
export type ExportMovethewheelsDataMutation = { __typename?: 'Mutation', exportData: { __typename?: 'ImportExportResult', success: boolean, message: string, payload?: Record<string, unknown> | null } };
|
|
347
|
-
|
|
348
|
-
export type UpdateMovethewheelsModuleSettingsMutationVariables = Types.Exact<{
|
|
349
|
-
input: Types.UpdateMovethewheelsModuleSettingsInput;
|
|
256
|
+
input: Types.ExportMtwEntitiesInput;
|
|
350
257
|
}>;
|
|
351
258
|
|
|
352
259
|
|
|
353
|
-
export type
|
|
260
|
+
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 } };
|
|
354
261
|
|
|
355
262
|
export type CreateMovethewheelsOrderMutationVariables = Types.Exact<{
|
|
356
|
-
input: Types.
|
|
263
|
+
input: Types.CreateDeliveryJobInput;
|
|
357
264
|
}>;
|
|
358
265
|
|
|
359
266
|
|
|
360
|
-
export type CreateMovethewheelsOrderMutation = { __typename?: 'Mutation',
|
|
267
|
+
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 } };
|
|
361
268
|
|
|
362
269
|
export type UpdateMovethewheelsOrderMutationVariables = Types.Exact<{
|
|
363
270
|
id: Types.Scalars['ID']['input'];
|
|
364
|
-
input: Types.
|
|
271
|
+
input: Types.UpdateDeliveryJobInput;
|
|
365
272
|
}>;
|
|
366
273
|
|
|
367
274
|
|
|
368
|
-
export type UpdateMovethewheelsOrderMutation = { __typename?: 'Mutation',
|
|
275
|
+
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 } };
|
|
369
276
|
|
|
370
277
|
export type UpdateMovethewheelsOrderStatusMutationVariables = Types.Exact<{
|
|
371
278
|
id: Types.Scalars['ID']['input'];
|
|
372
|
-
input: Types.
|
|
279
|
+
input: Types.UpdateDeliveryJobStatusInput;
|
|
373
280
|
}>;
|
|
374
281
|
|
|
375
282
|
|
|
376
|
-
export type UpdateMovethewheelsOrderStatusMutation = { __typename?: 'Mutation',
|
|
283
|
+
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 } };
|
|
377
284
|
|
|
378
285
|
export type DeleteMovethewheelsOrderMutationVariables = Types.Exact<{
|
|
379
286
|
id: Types.Scalars['ID']['input'];
|
|
380
287
|
}>;
|
|
381
288
|
|
|
382
289
|
|
|
383
|
-
export type DeleteMovethewheelsOrderMutation = { __typename?: 'Mutation',
|
|
290
|
+
export type DeleteMovethewheelsOrderMutation = { __typename?: 'Mutation', deleteDeliveryJob: boolean };
|
|
384
291
|
|
|
385
292
|
export type GetMovethewheelsDashboardQueryVariables = Types.Exact<{ [key: string]: never; }>;
|
|
386
293
|
|
|
387
294
|
|
|
388
|
-
export type GetMovethewheelsDashboardQuery = { __typename?: 'Query', dashboardMetrics: { __typename?: '
|
|
295
|
+
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, inTransit: number, delivered: number, cancelled: number, failed: 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 }> } };
|
|
389
296
|
|
|
390
297
|
export type ListCustomersQueryVariables = Types.Exact<{
|
|
391
298
|
filter?: Types.InputMaybe<Types.CustomerFilterInput>;
|
|
@@ -393,29 +300,29 @@ export type ListCustomersQueryVariables = Types.Exact<{
|
|
|
393
300
|
}>;
|
|
394
301
|
|
|
395
302
|
|
|
396
|
-
export type ListCustomersQuery = { __typename?: 'Query', customers: Array<{ __typename?: '
|
|
303
|
+
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 }> };
|
|
397
304
|
|
|
398
305
|
export type GetCustomerQueryVariables = Types.Exact<{
|
|
399
306
|
id: Types.Scalars['ID']['input'];
|
|
400
307
|
}>;
|
|
401
308
|
|
|
402
309
|
|
|
403
|
-
export type GetCustomerQuery = { __typename?: 'Query', customer?: { __typename?: '
|
|
310
|
+
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 };
|
|
404
311
|
|
|
405
312
|
export type ListProductsQueryVariables = Types.Exact<{
|
|
406
|
-
filter?: Types.InputMaybe<Types.
|
|
313
|
+
filter?: Types.InputMaybe<Types.CargoItemFilterInput>;
|
|
407
314
|
pagination?: Types.InputMaybe<Types.PaginationInput>;
|
|
408
315
|
}>;
|
|
409
316
|
|
|
410
317
|
|
|
411
|
-
export type ListProductsQuery = { __typename?: 'Query',
|
|
318
|
+
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 }> };
|
|
412
319
|
|
|
413
320
|
export type GetProductQueryVariables = Types.Exact<{
|
|
414
321
|
id: Types.Scalars['ID']['input'];
|
|
415
322
|
}>;
|
|
416
323
|
|
|
417
324
|
|
|
418
|
-
export type GetProductQuery = { __typename?: 'Query',
|
|
325
|
+
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 };
|
|
419
326
|
|
|
420
327
|
export type ListVehiclesQueryVariables = Types.Exact<{
|
|
421
328
|
filter?: Types.InputMaybe<Types.VehicleFilterInput>;
|
|
@@ -423,14 +330,14 @@ export type ListVehiclesQueryVariables = Types.Exact<{
|
|
|
423
330
|
}>;
|
|
424
331
|
|
|
425
332
|
|
|
426
|
-
export type ListVehiclesQuery = { __typename?: 'Query', vehicles: Array<{ __typename?: '
|
|
333
|
+
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 }> };
|
|
427
334
|
|
|
428
335
|
export type GetVehicleQueryVariables = Types.Exact<{
|
|
429
336
|
id: Types.Scalars['ID']['input'];
|
|
430
337
|
}>;
|
|
431
338
|
|
|
432
339
|
|
|
433
|
-
export type GetVehicleQuery = { __typename?: 'Query', vehicle?: { __typename?: '
|
|
340
|
+
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 };
|
|
434
341
|
|
|
435
342
|
export type ListDriversQueryVariables = Types.Exact<{
|
|
436
343
|
filter?: Types.InputMaybe<Types.DriverFilterInput>;
|
|
@@ -438,14 +345,14 @@ export type ListDriversQueryVariables = Types.Exact<{
|
|
|
438
345
|
}>;
|
|
439
346
|
|
|
440
347
|
|
|
441
|
-
export type ListDriversQuery = { __typename?: 'Query', drivers: Array<{ __typename?: '
|
|
348
|
+
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 }> };
|
|
442
349
|
|
|
443
350
|
export type GetDriverQueryVariables = Types.Exact<{
|
|
444
351
|
id: Types.Scalars['ID']['input'];
|
|
445
352
|
}>;
|
|
446
353
|
|
|
447
354
|
|
|
448
|
-
export type GetDriverQuery = { __typename?: 'Query', driver?: { __typename?: '
|
|
355
|
+
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 };
|
|
449
356
|
|
|
450
357
|
export type ListWarehousesQueryVariables = Types.Exact<{
|
|
451
358
|
filter?: Types.InputMaybe<Types.WarehouseFilterInput>;
|
|
@@ -453,14 +360,14 @@ export type ListWarehousesQueryVariables = Types.Exact<{
|
|
|
453
360
|
}>;
|
|
454
361
|
|
|
455
362
|
|
|
456
|
-
export type ListWarehousesQuery = { __typename?: 'Query', warehouses: Array<{ __typename?: '
|
|
363
|
+
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 }> }> };
|
|
457
364
|
|
|
458
365
|
export type GetWarehouseQueryVariables = Types.Exact<{
|
|
459
366
|
id: Types.Scalars['ID']['input'];
|
|
460
367
|
}>;
|
|
461
368
|
|
|
462
369
|
|
|
463
|
-
export type GetWarehouseQuery = { __typename?: 'Query', warehouse?: { __typename?: '
|
|
370
|
+
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 };
|
|
464
371
|
|
|
465
372
|
export type GetMovethewheelsDemandForecastByLaneQueryVariables = Types.Exact<{
|
|
466
373
|
weeks: Types.Scalars['Int']['input'];
|
|
@@ -490,12 +397,12 @@ export type ListInventoryItemsQueryVariables = Types.Exact<{
|
|
|
490
397
|
}>;
|
|
491
398
|
|
|
492
399
|
|
|
493
|
-
export type ListInventoryItemsQuery = { __typename?: 'Query', inventoryItems: Array<{ __typename?: '
|
|
400
|
+
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 }> };
|
|
494
401
|
|
|
495
402
|
export type GetInventoryStatsQueryVariables = Types.Exact<{ [key: string]: never; }>;
|
|
496
403
|
|
|
497
404
|
|
|
498
|
-
export type GetInventoryStatsQuery = { __typename?: 'Query', inventoryStats: { __typename?: '
|
|
405
|
+
export type GetInventoryStatsQuery = { __typename?: 'Query', inventoryStats: { __typename?: 'MtwInventoryStats', totalOnHand: number, totalAvailable: number, totalAllocated: number, totalDamaged: number, lowStockCount: number } };
|
|
499
406
|
|
|
500
407
|
export type ListRoutesQueryVariables = Types.Exact<{
|
|
501
408
|
filter?: Types.InputMaybe<Types.RouteFilterInput>;
|
|
@@ -503,14 +410,14 @@ export type ListRoutesQueryVariables = Types.Exact<{
|
|
|
503
410
|
}>;
|
|
504
411
|
|
|
505
412
|
|
|
506
|
-
export type ListRoutesQuery = { __typename?: 'Query', routes: Array<{ __typename?: '
|
|
413
|
+
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 }> };
|
|
507
414
|
|
|
508
415
|
export type GetRouteQueryVariables = Types.Exact<{
|
|
509
416
|
id: Types.Scalars['ID']['input'];
|
|
510
417
|
}>;
|
|
511
418
|
|
|
512
419
|
|
|
513
|
-
export type GetRouteQuery = { __typename?: 'Query', route?: { __typename?: '
|
|
420
|
+
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 };
|
|
514
421
|
|
|
515
422
|
export type ListShipmentsQueryVariables = Types.Exact<{
|
|
516
423
|
filter?: Types.InputMaybe<Types.ShipmentFilterInput>;
|
|
@@ -518,95 +425,58 @@ export type ListShipmentsQueryVariables = Types.Exact<{
|
|
|
518
425
|
}>;
|
|
519
426
|
|
|
520
427
|
|
|
521
|
-
export type ListShipmentsQuery = { __typename?: 'Query', shipments: Array<{ __typename?: '
|
|
428
|
+
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 }> };
|
|
522
429
|
|
|
523
430
|
export type GetShipmentQueryVariables = Types.Exact<{
|
|
524
431
|
id: Types.Scalars['ID']['input'];
|
|
525
432
|
}>;
|
|
526
433
|
|
|
527
434
|
|
|
528
|
-
export type GetShipmentQuery = { __typename?: 'Query', shipment?: { __typename?: '
|
|
435
|
+
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 };
|
|
529
436
|
|
|
530
|
-
export type
|
|
531
|
-
|
|
437
|
+
export type GetDeliveryJobTrackingQueryVariables = Types.Exact<{
|
|
438
|
+
deliveryJobId: Types.Scalars['ID']['input'];
|
|
532
439
|
}>;
|
|
533
440
|
|
|
534
441
|
|
|
535
|
-
export type
|
|
442
|
+
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 }> };
|
|
536
443
|
|
|
537
444
|
export type GetActiveDeliveriesQueryVariables = Types.Exact<{ [key: string]: never; }>;
|
|
538
445
|
|
|
539
446
|
|
|
540
|
-
export type GetActiveDeliveriesQuery = { __typename?: 'Query', activeDeliveries: Array<{ __typename?: '
|
|
447
|
+
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 }> };
|
|
541
448
|
|
|
542
449
|
export type GetTrackingAlertsQueryVariables = Types.Exact<{ [key: string]: never; }>;
|
|
543
450
|
|
|
544
451
|
|
|
545
|
-
export type GetTrackingAlertsQuery = { __typename?: 'Query', trackingAlerts: Array<{ __typename?: '
|
|
546
|
-
|
|
547
|
-
export type ListServiceProvidersQueryVariables = Types.Exact<{
|
|
548
|
-
filter?: Types.InputMaybe<Types.ServiceProviderFilterInput>;
|
|
549
|
-
pagination?: Types.InputMaybe<Types.PaginationInput>;
|
|
550
|
-
}>;
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
export type ListServiceProvidersQuery = { __typename?: 'Query', serviceProviders: Array<{ __typename?: 'ServiceProvider', id: string, name: string, type: string, description?: string | null, rating?: number | null, contactInfo?: Record<string, unknown> | null, services?: Record<string, unknown> | null, isVerified: boolean, isActive: boolean, createdAt: string, updatedAt: string }> };
|
|
554
|
-
|
|
555
|
-
export type ListServiceOfferingsQueryVariables = Types.Exact<{
|
|
556
|
-
filter?: Types.InputMaybe<Types.ServiceOfferingFilterInput>;
|
|
557
|
-
pagination?: Types.InputMaybe<Types.PaginationInput>;
|
|
558
|
-
}>;
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
export type ListServiceOfferingsQuery = { __typename?: 'Query', serviceOfferings: Array<{ __typename?: 'ServiceOffering', id: string, providerId: string, name: string, description?: string | null, category?: string | null, price: number, currency: string, availability?: Record<string, unknown> | null, createdAt: string, updatedAt: string, provider?: { __typename?: 'ServiceProvider', id: string, name: string, type: string, rating?: number | null } | null }> };
|
|
562
|
-
|
|
563
|
-
export type ListMovethewheelsReportsQueryVariables = Types.Exact<{
|
|
564
|
-
filter?: Types.InputMaybe<Types.MovethewheelsReportFilterInput>;
|
|
565
|
-
pagination?: Types.InputMaybe<Types.PaginationInput>;
|
|
566
|
-
}>;
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
export type ListMovethewheelsReportsQuery = { __typename?: 'Query', movethewheelsReports: Array<{ __typename?: 'MovethewheelsReport', id: string, name: string, type: string, description?: string | null, schedule?: string | null, lastGenerated?: string | null, configuration?: Record<string, unknown> | null, status: string, createdAt: string, updatedAt: string }> };
|
|
570
|
-
|
|
571
|
-
export type GetMovethewheelsReportQueryVariables = Types.Exact<{
|
|
572
|
-
id: Types.Scalars['ID']['input'];
|
|
573
|
-
}>;
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
export type GetMovethewheelsReportQuery = { __typename?: 'Query', movethewheelsReport?: { __typename?: 'MovethewheelsReport', id: string, name: string, type: string, description?: string | null, schedule?: string | null, lastGenerated?: string | null, configuration?: Record<string, unknown> | null, status: string, createdAt: string, updatedAt: string } | null };
|
|
577
|
-
|
|
578
|
-
export type GetMovethewheelsModuleSettingsQueryVariables = Types.Exact<{ [key: string]: never; }>;
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
export type GetMovethewheelsModuleSettingsQuery = { __typename?: 'Query', moduleSettings: { __typename?: 'ModuleSettings', workspaceId: string, preferences: Record<string, unknown>, updatedAt: string } };
|
|
452
|
+
export type GetTrackingAlertsQuery = { __typename?: 'Query', trackingAlerts: Array<{ __typename?: 'MtwTrackingAlert', shipmentId: string, shipmentNumber: string, alertType: string, message: string }> };
|
|
582
453
|
|
|
583
454
|
export type ListMovethewheelsOrdersQueryVariables = Types.Exact<{
|
|
584
|
-
filter?: Types.InputMaybe<Types.
|
|
455
|
+
filter?: Types.InputMaybe<Types.DeliveryJobFilterInput>;
|
|
585
456
|
pagination?: Types.InputMaybe<Types.PaginationInput>;
|
|
586
457
|
}>;
|
|
587
458
|
|
|
588
459
|
|
|
589
|
-
export type ListMovethewheelsOrdersQuery = { __typename?: 'Query',
|
|
460
|
+
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 }> };
|
|
590
461
|
|
|
591
462
|
export type GetMovethewheelsOrderQueryVariables = Types.Exact<{
|
|
592
463
|
id: Types.Scalars['ID']['input'];
|
|
593
464
|
}>;
|
|
594
465
|
|
|
595
466
|
|
|
596
|
-
export type GetMovethewheelsOrderQuery = { __typename?: 'Query',
|
|
467
|
+
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 };
|
|
597
468
|
|
|
598
469
|
export const MovethewheelsOrderCoreFragmentDoc = gql`
|
|
599
|
-
fragment MovethewheelsOrderCore on
|
|
470
|
+
fragment MovethewheelsOrderCore on MtwDeliveryJob {
|
|
600
471
|
id
|
|
601
|
-
|
|
602
|
-
orderType
|
|
472
|
+
deliveryJobNumber
|
|
603
473
|
status
|
|
604
474
|
priority
|
|
605
475
|
customerId
|
|
606
476
|
trackingNumber
|
|
607
477
|
pickupAddress
|
|
608
478
|
deliveryAddress
|
|
609
|
-
|
|
479
|
+
cargoItems
|
|
610
480
|
pricing
|
|
611
481
|
scheduledDelivery
|
|
612
482
|
vehicleId
|
|
@@ -616,7 +486,7 @@ export const MovethewheelsOrderCoreFragmentDoc = gql`
|
|
|
616
486
|
}
|
|
617
487
|
`;
|
|
618
488
|
export const CustomerCoreFragmentDoc = gql`
|
|
619
|
-
fragment CustomerCore on
|
|
489
|
+
fragment CustomerCore on MtwCustomer {
|
|
620
490
|
id
|
|
621
491
|
name
|
|
622
492
|
email
|
|
@@ -630,7 +500,7 @@ export const CustomerCoreFragmentDoc = gql`
|
|
|
630
500
|
}
|
|
631
501
|
`;
|
|
632
502
|
export const ProductCoreFragmentDoc = gql`
|
|
633
|
-
fragment ProductCore on
|
|
503
|
+
fragment ProductCore on MtwCargoItem {
|
|
634
504
|
id
|
|
635
505
|
sku
|
|
636
506
|
name
|
|
@@ -648,7 +518,7 @@ export const ProductCoreFragmentDoc = gql`
|
|
|
648
518
|
}
|
|
649
519
|
`;
|
|
650
520
|
export const VehicleCoreFragmentDoc = gql`
|
|
651
|
-
fragment VehicleCore on
|
|
521
|
+
fragment VehicleCore on MtwVehicle {
|
|
652
522
|
id
|
|
653
523
|
vehicleNumber
|
|
654
524
|
make
|
|
@@ -667,7 +537,7 @@ export const VehicleCoreFragmentDoc = gql`
|
|
|
667
537
|
}
|
|
668
538
|
`;
|
|
669
539
|
export const DriverCoreFragmentDoc = gql`
|
|
670
|
-
fragment DriverCore on
|
|
540
|
+
fragment DriverCore on MtwDriver {
|
|
671
541
|
id
|
|
672
542
|
employeeId
|
|
673
543
|
firstName
|
|
@@ -687,7 +557,7 @@ export const DriverCoreFragmentDoc = gql`
|
|
|
687
557
|
}
|
|
688
558
|
`;
|
|
689
559
|
export const WarehouseCoreFragmentDoc = gql`
|
|
690
|
-
fragment WarehouseCore on
|
|
560
|
+
fragment WarehouseCore on MtwWarehouse {
|
|
691
561
|
id
|
|
692
562
|
name
|
|
693
563
|
code
|
|
@@ -704,9 +574,9 @@ export const WarehouseCoreFragmentDoc = gql`
|
|
|
704
574
|
}
|
|
705
575
|
`;
|
|
706
576
|
export const InventoryItemCoreFragmentDoc = gql`
|
|
707
|
-
fragment InventoryItemCore on
|
|
577
|
+
fragment InventoryItemCore on MtwInventoryItem {
|
|
708
578
|
id
|
|
709
|
-
|
|
579
|
+
cargoItemId
|
|
710
580
|
warehouseId
|
|
711
581
|
locationId
|
|
712
582
|
onHand
|
|
@@ -721,7 +591,7 @@ export const InventoryItemCoreFragmentDoc = gql`
|
|
|
721
591
|
}
|
|
722
592
|
`;
|
|
723
593
|
export const RouteCoreFragmentDoc = gql`
|
|
724
|
-
fragment RouteCore on
|
|
594
|
+
fragment RouteCore on MtwRoute {
|
|
725
595
|
id
|
|
726
596
|
name
|
|
727
597
|
status
|
|
@@ -739,10 +609,10 @@ export const RouteCoreFragmentDoc = gql`
|
|
|
739
609
|
}
|
|
740
610
|
`;
|
|
741
611
|
export const ShipmentCoreFragmentDoc = gql`
|
|
742
|
-
fragment ShipmentCore on
|
|
612
|
+
fragment ShipmentCore on MtwShipment {
|
|
743
613
|
id
|
|
744
614
|
shipmentNumber
|
|
745
|
-
|
|
615
|
+
deliveryJobId
|
|
746
616
|
customerId
|
|
747
617
|
carrierId
|
|
748
618
|
status
|
|
@@ -756,49 +626,6 @@ export const ShipmentCoreFragmentDoc = gql`
|
|
|
756
626
|
updatedAt
|
|
757
627
|
}
|
|
758
628
|
`;
|
|
759
|
-
export const ServiceProviderCoreFragmentDoc = gql`
|
|
760
|
-
fragment ServiceProviderCore on ServiceProvider {
|
|
761
|
-
id
|
|
762
|
-
name
|
|
763
|
-
type
|
|
764
|
-
description
|
|
765
|
-
rating
|
|
766
|
-
contactInfo
|
|
767
|
-
services
|
|
768
|
-
isVerified
|
|
769
|
-
isActive
|
|
770
|
-
createdAt
|
|
771
|
-
updatedAt
|
|
772
|
-
}
|
|
773
|
-
`;
|
|
774
|
-
export const ServiceOfferingCoreFragmentDoc = gql`
|
|
775
|
-
fragment ServiceOfferingCore on ServiceOffering {
|
|
776
|
-
id
|
|
777
|
-
providerId
|
|
778
|
-
name
|
|
779
|
-
description
|
|
780
|
-
category
|
|
781
|
-
price
|
|
782
|
-
currency
|
|
783
|
-
availability
|
|
784
|
-
createdAt
|
|
785
|
-
updatedAt
|
|
786
|
-
}
|
|
787
|
-
`;
|
|
788
|
-
export const MovethewheelsReportCoreFragmentDoc = gql`
|
|
789
|
-
fragment MovethewheelsReportCore on MovethewheelsReport {
|
|
790
|
-
id
|
|
791
|
-
name
|
|
792
|
-
type
|
|
793
|
-
description
|
|
794
|
-
schedule
|
|
795
|
-
lastGenerated
|
|
796
|
-
configuration
|
|
797
|
-
status
|
|
798
|
-
createdAt
|
|
799
|
-
updatedAt
|
|
800
|
-
}
|
|
801
|
-
`;
|
|
802
629
|
export const CreateCustomerDocument = gql`
|
|
803
630
|
mutation CreateCustomer($input: CreateCustomerInput!) {
|
|
804
631
|
createCustomer(input: $input) {
|
|
@@ -898,8 +725,8 @@ export type DeleteCustomerMutationHookResult = ReturnType<typeof useDeleteCustom
|
|
|
898
725
|
export type DeleteCustomerMutationResult = Apollo.MutationResult<Types.DeleteCustomerMutation>;
|
|
899
726
|
export type DeleteCustomerMutationOptions = Apollo.BaseMutationOptions<Types.DeleteCustomerMutation, Types.DeleteCustomerMutationVariables>;
|
|
900
727
|
export const CreateProductDocument = gql`
|
|
901
|
-
mutation CreateProduct($input:
|
|
902
|
-
|
|
728
|
+
mutation CreateProduct($input: CreateCargoItemInput!) {
|
|
729
|
+
createCargoItem(input: $input) {
|
|
903
730
|
...ProductCore
|
|
904
731
|
}
|
|
905
732
|
}
|
|
@@ -931,8 +758,8 @@ export type CreateProductMutationHookResult = ReturnType<typeof useCreateProduct
|
|
|
931
758
|
export type CreateProductMutationResult = Apollo.MutationResult<Types.CreateProductMutation>;
|
|
932
759
|
export type CreateProductMutationOptions = Apollo.BaseMutationOptions<Types.CreateProductMutation, Types.CreateProductMutationVariables>;
|
|
933
760
|
export const UpdateProductDocument = gql`
|
|
934
|
-
mutation UpdateProduct($id: ID!, $input:
|
|
935
|
-
|
|
761
|
+
mutation UpdateProduct($id: ID!, $input: UpdateCargoItemInput!) {
|
|
762
|
+
updateCargoItem(id: $id, input: $input) {
|
|
936
763
|
...ProductCore
|
|
937
764
|
}
|
|
938
765
|
}
|
|
@@ -966,7 +793,7 @@ export type UpdateProductMutationResult = Apollo.MutationResult<Types.UpdateProd
|
|
|
966
793
|
export type UpdateProductMutationOptions = Apollo.BaseMutationOptions<Types.UpdateProductMutation, Types.UpdateProductMutationVariables>;
|
|
967
794
|
export const DeleteProductDocument = gql`
|
|
968
795
|
mutation DeleteProduct($id: ID!) {
|
|
969
|
-
|
|
796
|
+
deleteCargoItem(id: $id)
|
|
970
797
|
}
|
|
971
798
|
`;
|
|
972
799
|
export type DeleteProductMutationFn = Apollo.MutationFunction<Types.DeleteProductMutation, Types.DeleteProductMutationVariables>;
|
|
@@ -1823,378 +1650,16 @@ export function useAddTrackingEventMutation(baseOptions?: ApolloReactHooks.Mutat
|
|
|
1823
1650
|
export type AddTrackingEventMutationHookResult = ReturnType<typeof useAddTrackingEventMutation>;
|
|
1824
1651
|
export type AddTrackingEventMutationResult = Apollo.MutationResult<Types.AddTrackingEventMutation>;
|
|
1825
1652
|
export type AddTrackingEventMutationOptions = Apollo.BaseMutationOptions<Types.AddTrackingEventMutation, Types.AddTrackingEventMutationVariables>;
|
|
1826
|
-
export const CreateServiceProviderDocument = gql`
|
|
1827
|
-
mutation CreateServiceProvider($input: CreateServiceProviderInput!) {
|
|
1828
|
-
createServiceProvider(input: $input) {
|
|
1829
|
-
...ServiceProviderCore
|
|
1830
|
-
}
|
|
1831
|
-
}
|
|
1832
|
-
${ServiceProviderCoreFragmentDoc}`;
|
|
1833
|
-
export type CreateServiceProviderMutationFn = Apollo.MutationFunction<Types.CreateServiceProviderMutation, Types.CreateServiceProviderMutationVariables>;
|
|
1834
|
-
|
|
1835
|
-
/**
|
|
1836
|
-
* __useCreateServiceProviderMutation__
|
|
1837
|
-
*
|
|
1838
|
-
* To run a mutation, you first call `useCreateServiceProviderMutation` within a React component and pass it any options that fit your needs.
|
|
1839
|
-
* When your component renders, `useCreateServiceProviderMutation` returns a tuple that includes:
|
|
1840
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
1841
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
1842
|
-
*
|
|
1843
|
-
* @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;
|
|
1844
|
-
*
|
|
1845
|
-
* @example
|
|
1846
|
-
* const [createServiceProviderMutation, { data, loading, error }] = useCreateServiceProviderMutation({
|
|
1847
|
-
* variables: {
|
|
1848
|
-
* input: // value for 'input'
|
|
1849
|
-
* },
|
|
1850
|
-
* });
|
|
1851
|
-
*/
|
|
1852
|
-
export function useCreateServiceProviderMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CreateServiceProviderMutation, Types.CreateServiceProviderMutationVariables>) {
|
|
1853
|
-
const options = {...defaultOptions, ...baseOptions}
|
|
1854
|
-
return ApolloReactHooks.useMutation<Types.CreateServiceProviderMutation, Types.CreateServiceProviderMutationVariables>(CreateServiceProviderDocument, options);
|
|
1855
|
-
}
|
|
1856
|
-
export type CreateServiceProviderMutationHookResult = ReturnType<typeof useCreateServiceProviderMutation>;
|
|
1857
|
-
export type CreateServiceProviderMutationResult = Apollo.MutationResult<Types.CreateServiceProviderMutation>;
|
|
1858
|
-
export type CreateServiceProviderMutationOptions = Apollo.BaseMutationOptions<Types.CreateServiceProviderMutation, Types.CreateServiceProviderMutationVariables>;
|
|
1859
|
-
export const UpdateServiceProviderDocument = gql`
|
|
1860
|
-
mutation UpdateServiceProvider($id: ID!, $input: UpdateServiceProviderInput!) {
|
|
1861
|
-
updateServiceProvider(id: $id, input: $input) {
|
|
1862
|
-
...ServiceProviderCore
|
|
1863
|
-
}
|
|
1864
|
-
}
|
|
1865
|
-
${ServiceProviderCoreFragmentDoc}`;
|
|
1866
|
-
export type UpdateServiceProviderMutationFn = Apollo.MutationFunction<Types.UpdateServiceProviderMutation, Types.UpdateServiceProviderMutationVariables>;
|
|
1867
|
-
|
|
1868
|
-
/**
|
|
1869
|
-
* __useUpdateServiceProviderMutation__
|
|
1870
|
-
*
|
|
1871
|
-
* To run a mutation, you first call `useUpdateServiceProviderMutation` within a React component and pass it any options that fit your needs.
|
|
1872
|
-
* When your component renders, `useUpdateServiceProviderMutation` returns a tuple that includes:
|
|
1873
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
1874
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
1875
|
-
*
|
|
1876
|
-
* @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;
|
|
1877
|
-
*
|
|
1878
|
-
* @example
|
|
1879
|
-
* const [updateServiceProviderMutation, { data, loading, error }] = useUpdateServiceProviderMutation({
|
|
1880
|
-
* variables: {
|
|
1881
|
-
* id: // value for 'id'
|
|
1882
|
-
* input: // value for 'input'
|
|
1883
|
-
* },
|
|
1884
|
-
* });
|
|
1885
|
-
*/
|
|
1886
|
-
export function useUpdateServiceProviderMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateServiceProviderMutation, Types.UpdateServiceProviderMutationVariables>) {
|
|
1887
|
-
const options = {...defaultOptions, ...baseOptions}
|
|
1888
|
-
return ApolloReactHooks.useMutation<Types.UpdateServiceProviderMutation, Types.UpdateServiceProviderMutationVariables>(UpdateServiceProviderDocument, options);
|
|
1889
|
-
}
|
|
1890
|
-
export type UpdateServiceProviderMutationHookResult = ReturnType<typeof useUpdateServiceProviderMutation>;
|
|
1891
|
-
export type UpdateServiceProviderMutationResult = Apollo.MutationResult<Types.UpdateServiceProviderMutation>;
|
|
1892
|
-
export type UpdateServiceProviderMutationOptions = Apollo.BaseMutationOptions<Types.UpdateServiceProviderMutation, Types.UpdateServiceProviderMutationVariables>;
|
|
1893
|
-
export const DeleteServiceProviderDocument = gql`
|
|
1894
|
-
mutation DeleteServiceProvider($id: ID!) {
|
|
1895
|
-
deleteServiceProvider(id: $id)
|
|
1896
|
-
}
|
|
1897
|
-
`;
|
|
1898
|
-
export type DeleteServiceProviderMutationFn = Apollo.MutationFunction<Types.DeleteServiceProviderMutation, Types.DeleteServiceProviderMutationVariables>;
|
|
1899
|
-
|
|
1900
|
-
/**
|
|
1901
|
-
* __useDeleteServiceProviderMutation__
|
|
1902
|
-
*
|
|
1903
|
-
* To run a mutation, you first call `useDeleteServiceProviderMutation` within a React component and pass it any options that fit your needs.
|
|
1904
|
-
* When your component renders, `useDeleteServiceProviderMutation` returns a tuple that includes:
|
|
1905
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
1906
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
1907
|
-
*
|
|
1908
|
-
* @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;
|
|
1909
|
-
*
|
|
1910
|
-
* @example
|
|
1911
|
-
* const [deleteServiceProviderMutation, { data, loading, error }] = useDeleteServiceProviderMutation({
|
|
1912
|
-
* variables: {
|
|
1913
|
-
* id: // value for 'id'
|
|
1914
|
-
* },
|
|
1915
|
-
* });
|
|
1916
|
-
*/
|
|
1917
|
-
export function useDeleteServiceProviderMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeleteServiceProviderMutation, Types.DeleteServiceProviderMutationVariables>) {
|
|
1918
|
-
const options = {...defaultOptions, ...baseOptions}
|
|
1919
|
-
return ApolloReactHooks.useMutation<Types.DeleteServiceProviderMutation, Types.DeleteServiceProviderMutationVariables>(DeleteServiceProviderDocument, options);
|
|
1920
|
-
}
|
|
1921
|
-
export type DeleteServiceProviderMutationHookResult = ReturnType<typeof useDeleteServiceProviderMutation>;
|
|
1922
|
-
export type DeleteServiceProviderMutationResult = Apollo.MutationResult<Types.DeleteServiceProviderMutation>;
|
|
1923
|
-
export type DeleteServiceProviderMutationOptions = Apollo.BaseMutationOptions<Types.DeleteServiceProviderMutation, Types.DeleteServiceProviderMutationVariables>;
|
|
1924
|
-
export const CreateServiceOfferingDocument = gql`
|
|
1925
|
-
mutation CreateServiceOffering($input: CreateServiceOfferingInput!) {
|
|
1926
|
-
createServiceOffering(input: $input) {
|
|
1927
|
-
...ServiceOfferingCore
|
|
1928
|
-
}
|
|
1929
|
-
}
|
|
1930
|
-
${ServiceOfferingCoreFragmentDoc}`;
|
|
1931
|
-
export type CreateServiceOfferingMutationFn = Apollo.MutationFunction<Types.CreateServiceOfferingMutation, Types.CreateServiceOfferingMutationVariables>;
|
|
1932
|
-
|
|
1933
|
-
/**
|
|
1934
|
-
* __useCreateServiceOfferingMutation__
|
|
1935
|
-
*
|
|
1936
|
-
* To run a mutation, you first call `useCreateServiceOfferingMutation` within a React component and pass it any options that fit your needs.
|
|
1937
|
-
* When your component renders, `useCreateServiceOfferingMutation` returns a tuple that includes:
|
|
1938
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
1939
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
1940
|
-
*
|
|
1941
|
-
* @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;
|
|
1942
|
-
*
|
|
1943
|
-
* @example
|
|
1944
|
-
* const [createServiceOfferingMutation, { data, loading, error }] = useCreateServiceOfferingMutation({
|
|
1945
|
-
* variables: {
|
|
1946
|
-
* input: // value for 'input'
|
|
1947
|
-
* },
|
|
1948
|
-
* });
|
|
1949
|
-
*/
|
|
1950
|
-
export function useCreateServiceOfferingMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CreateServiceOfferingMutation, Types.CreateServiceOfferingMutationVariables>) {
|
|
1951
|
-
const options = {...defaultOptions, ...baseOptions}
|
|
1952
|
-
return ApolloReactHooks.useMutation<Types.CreateServiceOfferingMutation, Types.CreateServiceOfferingMutationVariables>(CreateServiceOfferingDocument, options);
|
|
1953
|
-
}
|
|
1954
|
-
export type CreateServiceOfferingMutationHookResult = ReturnType<typeof useCreateServiceOfferingMutation>;
|
|
1955
|
-
export type CreateServiceOfferingMutationResult = Apollo.MutationResult<Types.CreateServiceOfferingMutation>;
|
|
1956
|
-
export type CreateServiceOfferingMutationOptions = Apollo.BaseMutationOptions<Types.CreateServiceOfferingMutation, Types.CreateServiceOfferingMutationVariables>;
|
|
1957
|
-
export const UpdateServiceOfferingDocument = gql`
|
|
1958
|
-
mutation UpdateServiceOffering($id: ID!, $input: UpdateServiceOfferingInput!) {
|
|
1959
|
-
updateServiceOffering(id: $id, input: $input) {
|
|
1960
|
-
...ServiceOfferingCore
|
|
1961
|
-
}
|
|
1962
|
-
}
|
|
1963
|
-
${ServiceOfferingCoreFragmentDoc}`;
|
|
1964
|
-
export type UpdateServiceOfferingMutationFn = Apollo.MutationFunction<Types.UpdateServiceOfferingMutation, Types.UpdateServiceOfferingMutationVariables>;
|
|
1965
|
-
|
|
1966
|
-
/**
|
|
1967
|
-
* __useUpdateServiceOfferingMutation__
|
|
1968
|
-
*
|
|
1969
|
-
* To run a mutation, you first call `useUpdateServiceOfferingMutation` within a React component and pass it any options that fit your needs.
|
|
1970
|
-
* When your component renders, `useUpdateServiceOfferingMutation` returns a tuple that includes:
|
|
1971
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
1972
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
1973
|
-
*
|
|
1974
|
-
* @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;
|
|
1975
|
-
*
|
|
1976
|
-
* @example
|
|
1977
|
-
* const [updateServiceOfferingMutation, { data, loading, error }] = useUpdateServiceOfferingMutation({
|
|
1978
|
-
* variables: {
|
|
1979
|
-
* id: // value for 'id'
|
|
1980
|
-
* input: // value for 'input'
|
|
1981
|
-
* },
|
|
1982
|
-
* });
|
|
1983
|
-
*/
|
|
1984
|
-
export function useUpdateServiceOfferingMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateServiceOfferingMutation, Types.UpdateServiceOfferingMutationVariables>) {
|
|
1985
|
-
const options = {...defaultOptions, ...baseOptions}
|
|
1986
|
-
return ApolloReactHooks.useMutation<Types.UpdateServiceOfferingMutation, Types.UpdateServiceOfferingMutationVariables>(UpdateServiceOfferingDocument, options);
|
|
1987
|
-
}
|
|
1988
|
-
export type UpdateServiceOfferingMutationHookResult = ReturnType<typeof useUpdateServiceOfferingMutation>;
|
|
1989
|
-
export type UpdateServiceOfferingMutationResult = Apollo.MutationResult<Types.UpdateServiceOfferingMutation>;
|
|
1990
|
-
export type UpdateServiceOfferingMutationOptions = Apollo.BaseMutationOptions<Types.UpdateServiceOfferingMutation, Types.UpdateServiceOfferingMutationVariables>;
|
|
1991
|
-
export const DeleteServiceOfferingDocument = gql`
|
|
1992
|
-
mutation DeleteServiceOffering($id: ID!) {
|
|
1993
|
-
deleteServiceOffering(id: $id)
|
|
1994
|
-
}
|
|
1995
|
-
`;
|
|
1996
|
-
export type DeleteServiceOfferingMutationFn = Apollo.MutationFunction<Types.DeleteServiceOfferingMutation, Types.DeleteServiceOfferingMutationVariables>;
|
|
1997
|
-
|
|
1998
|
-
/**
|
|
1999
|
-
* __useDeleteServiceOfferingMutation__
|
|
2000
|
-
*
|
|
2001
|
-
* To run a mutation, you first call `useDeleteServiceOfferingMutation` within a React component and pass it any options that fit your needs.
|
|
2002
|
-
* When your component renders, `useDeleteServiceOfferingMutation` returns a tuple that includes:
|
|
2003
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
2004
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
2005
|
-
*
|
|
2006
|
-
* @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;
|
|
2007
|
-
*
|
|
2008
|
-
* @example
|
|
2009
|
-
* const [deleteServiceOfferingMutation, { data, loading, error }] = useDeleteServiceOfferingMutation({
|
|
2010
|
-
* variables: {
|
|
2011
|
-
* id: // value for 'id'
|
|
2012
|
-
* },
|
|
2013
|
-
* });
|
|
2014
|
-
*/
|
|
2015
|
-
export function useDeleteServiceOfferingMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeleteServiceOfferingMutation, Types.DeleteServiceOfferingMutationVariables>) {
|
|
2016
|
-
const options = {...defaultOptions, ...baseOptions}
|
|
2017
|
-
return ApolloReactHooks.useMutation<Types.DeleteServiceOfferingMutation, Types.DeleteServiceOfferingMutationVariables>(DeleteServiceOfferingDocument, options);
|
|
2018
|
-
}
|
|
2019
|
-
export type DeleteServiceOfferingMutationHookResult = ReturnType<typeof useDeleteServiceOfferingMutation>;
|
|
2020
|
-
export type DeleteServiceOfferingMutationResult = Apollo.MutationResult<Types.DeleteServiceOfferingMutation>;
|
|
2021
|
-
export type DeleteServiceOfferingMutationOptions = Apollo.BaseMutationOptions<Types.DeleteServiceOfferingMutation, Types.DeleteServiceOfferingMutationVariables>;
|
|
2022
|
-
export const CreateMovethewheelsReportDocument = gql`
|
|
2023
|
-
mutation CreateMovethewheelsReport($input: CreateMovethewheelsReportInput!) {
|
|
2024
|
-
createMovethewheelsReport(input: $input) {
|
|
2025
|
-
...MovethewheelsReportCore
|
|
2026
|
-
}
|
|
2027
|
-
}
|
|
2028
|
-
${MovethewheelsReportCoreFragmentDoc}`;
|
|
2029
|
-
export type CreateMovethewheelsReportMutationFn = Apollo.MutationFunction<Types.CreateMovethewheelsReportMutation, Types.CreateMovethewheelsReportMutationVariables>;
|
|
2030
|
-
|
|
2031
|
-
/**
|
|
2032
|
-
* __useCreateMovethewheelsReportMutation__
|
|
2033
|
-
*
|
|
2034
|
-
* To run a mutation, you first call `useCreateMovethewheelsReportMutation` within a React component and pass it any options that fit your needs.
|
|
2035
|
-
* When your component renders, `useCreateMovethewheelsReportMutation` returns a tuple that includes:
|
|
2036
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
2037
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
2038
|
-
*
|
|
2039
|
-
* @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;
|
|
2040
|
-
*
|
|
2041
|
-
* @example
|
|
2042
|
-
* const [createMovethewheelsReportMutation, { data, loading, error }] = useCreateMovethewheelsReportMutation({
|
|
2043
|
-
* variables: {
|
|
2044
|
-
* input: // value for 'input'
|
|
2045
|
-
* },
|
|
2046
|
-
* });
|
|
2047
|
-
*/
|
|
2048
|
-
export function useCreateMovethewheelsReportMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CreateMovethewheelsReportMutation, Types.CreateMovethewheelsReportMutationVariables>) {
|
|
2049
|
-
const options = {...defaultOptions, ...baseOptions}
|
|
2050
|
-
return ApolloReactHooks.useMutation<Types.CreateMovethewheelsReportMutation, Types.CreateMovethewheelsReportMutationVariables>(CreateMovethewheelsReportDocument, options);
|
|
2051
|
-
}
|
|
2052
|
-
export type CreateMovethewheelsReportMutationHookResult = ReturnType<typeof useCreateMovethewheelsReportMutation>;
|
|
2053
|
-
export type CreateMovethewheelsReportMutationResult = Apollo.MutationResult<Types.CreateMovethewheelsReportMutation>;
|
|
2054
|
-
export type CreateMovethewheelsReportMutationOptions = Apollo.BaseMutationOptions<Types.CreateMovethewheelsReportMutation, Types.CreateMovethewheelsReportMutationVariables>;
|
|
2055
|
-
export const UpdateMovethewheelsReportDocument = gql`
|
|
2056
|
-
mutation UpdateMovethewheelsReport($id: ID!, $input: UpdateMovethewheelsReportInput!) {
|
|
2057
|
-
updateMovethewheelsReport(id: $id, input: $input) {
|
|
2058
|
-
...MovethewheelsReportCore
|
|
2059
|
-
}
|
|
2060
|
-
}
|
|
2061
|
-
${MovethewheelsReportCoreFragmentDoc}`;
|
|
2062
|
-
export type UpdateMovethewheelsReportMutationFn = Apollo.MutationFunction<Types.UpdateMovethewheelsReportMutation, Types.UpdateMovethewheelsReportMutationVariables>;
|
|
2063
|
-
|
|
2064
|
-
/**
|
|
2065
|
-
* __useUpdateMovethewheelsReportMutation__
|
|
2066
|
-
*
|
|
2067
|
-
* To run a mutation, you first call `useUpdateMovethewheelsReportMutation` within a React component and pass it any options that fit your needs.
|
|
2068
|
-
* When your component renders, `useUpdateMovethewheelsReportMutation` returns a tuple that includes:
|
|
2069
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
2070
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
2071
|
-
*
|
|
2072
|
-
* @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;
|
|
2073
|
-
*
|
|
2074
|
-
* @example
|
|
2075
|
-
* const [updateMovethewheelsReportMutation, { data, loading, error }] = useUpdateMovethewheelsReportMutation({
|
|
2076
|
-
* variables: {
|
|
2077
|
-
* id: // value for 'id'
|
|
2078
|
-
* input: // value for 'input'
|
|
2079
|
-
* },
|
|
2080
|
-
* });
|
|
2081
|
-
*/
|
|
2082
|
-
export function useUpdateMovethewheelsReportMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateMovethewheelsReportMutation, Types.UpdateMovethewheelsReportMutationVariables>) {
|
|
2083
|
-
const options = {...defaultOptions, ...baseOptions}
|
|
2084
|
-
return ApolloReactHooks.useMutation<Types.UpdateMovethewheelsReportMutation, Types.UpdateMovethewheelsReportMutationVariables>(UpdateMovethewheelsReportDocument, options);
|
|
2085
|
-
}
|
|
2086
|
-
export type UpdateMovethewheelsReportMutationHookResult = ReturnType<typeof useUpdateMovethewheelsReportMutation>;
|
|
2087
|
-
export type UpdateMovethewheelsReportMutationResult = Apollo.MutationResult<Types.UpdateMovethewheelsReportMutation>;
|
|
2088
|
-
export type UpdateMovethewheelsReportMutationOptions = Apollo.BaseMutationOptions<Types.UpdateMovethewheelsReportMutation, Types.UpdateMovethewheelsReportMutationVariables>;
|
|
2089
|
-
export const DeleteMovethewheelsReportDocument = gql`
|
|
2090
|
-
mutation DeleteMovethewheelsReport($id: ID!) {
|
|
2091
|
-
deleteMovethewheelsReport(id: $id)
|
|
2092
|
-
}
|
|
2093
|
-
`;
|
|
2094
|
-
export type DeleteMovethewheelsReportMutationFn = Apollo.MutationFunction<Types.DeleteMovethewheelsReportMutation, Types.DeleteMovethewheelsReportMutationVariables>;
|
|
2095
|
-
|
|
2096
|
-
/**
|
|
2097
|
-
* __useDeleteMovethewheelsReportMutation__
|
|
2098
|
-
*
|
|
2099
|
-
* To run a mutation, you first call `useDeleteMovethewheelsReportMutation` within a React component and pass it any options that fit your needs.
|
|
2100
|
-
* When your component renders, `useDeleteMovethewheelsReportMutation` returns a tuple that includes:
|
|
2101
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
2102
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
2103
|
-
*
|
|
2104
|
-
* @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;
|
|
2105
|
-
*
|
|
2106
|
-
* @example
|
|
2107
|
-
* const [deleteMovethewheelsReportMutation, { data, loading, error }] = useDeleteMovethewheelsReportMutation({
|
|
2108
|
-
* variables: {
|
|
2109
|
-
* id: // value for 'id'
|
|
2110
|
-
* },
|
|
2111
|
-
* });
|
|
2112
|
-
*/
|
|
2113
|
-
export function useDeleteMovethewheelsReportMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeleteMovethewheelsReportMutation, Types.DeleteMovethewheelsReportMutationVariables>) {
|
|
2114
|
-
const options = {...defaultOptions, ...baseOptions}
|
|
2115
|
-
return ApolloReactHooks.useMutation<Types.DeleteMovethewheelsReportMutation, Types.DeleteMovethewheelsReportMutationVariables>(DeleteMovethewheelsReportDocument, options);
|
|
2116
|
-
}
|
|
2117
|
-
export type DeleteMovethewheelsReportMutationHookResult = ReturnType<typeof useDeleteMovethewheelsReportMutation>;
|
|
2118
|
-
export type DeleteMovethewheelsReportMutationResult = Apollo.MutationResult<Types.DeleteMovethewheelsReportMutation>;
|
|
2119
|
-
export type DeleteMovethewheelsReportMutationOptions = Apollo.BaseMutationOptions<Types.DeleteMovethewheelsReportMutation, Types.DeleteMovethewheelsReportMutationVariables>;
|
|
2120
|
-
export const GenerateMovethewheelsReportDocument = gql`
|
|
2121
|
-
mutation GenerateMovethewheelsReport($input: GenerateMovethewheelsReportInput!) {
|
|
2122
|
-
generateMovethewheelsReport(input: $input) {
|
|
2123
|
-
generatedAt
|
|
2124
|
-
result
|
|
2125
|
-
report {
|
|
2126
|
-
...MovethewheelsReportCore
|
|
2127
|
-
}
|
|
2128
|
-
}
|
|
2129
|
-
}
|
|
2130
|
-
${MovethewheelsReportCoreFragmentDoc}`;
|
|
2131
|
-
export type GenerateMovethewheelsReportMutationFn = Apollo.MutationFunction<Types.GenerateMovethewheelsReportMutation, Types.GenerateMovethewheelsReportMutationVariables>;
|
|
2132
|
-
|
|
2133
|
-
/**
|
|
2134
|
-
* __useGenerateMovethewheelsReportMutation__
|
|
2135
|
-
*
|
|
2136
|
-
* To run a mutation, you first call `useGenerateMovethewheelsReportMutation` within a React component and pass it any options that fit your needs.
|
|
2137
|
-
* When your component renders, `useGenerateMovethewheelsReportMutation` returns a tuple that includes:
|
|
2138
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
2139
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
2140
|
-
*
|
|
2141
|
-
* @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;
|
|
2142
|
-
*
|
|
2143
|
-
* @example
|
|
2144
|
-
* const [generateMovethewheelsReportMutation, { data, loading, error }] = useGenerateMovethewheelsReportMutation({
|
|
2145
|
-
* variables: {
|
|
2146
|
-
* input: // value for 'input'
|
|
2147
|
-
* },
|
|
2148
|
-
* });
|
|
2149
|
-
*/
|
|
2150
|
-
export function useGenerateMovethewheelsReportMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.GenerateMovethewheelsReportMutation, Types.GenerateMovethewheelsReportMutationVariables>) {
|
|
2151
|
-
const options = {...defaultOptions, ...baseOptions}
|
|
2152
|
-
return ApolloReactHooks.useMutation<Types.GenerateMovethewheelsReportMutation, Types.GenerateMovethewheelsReportMutationVariables>(GenerateMovethewheelsReportDocument, options);
|
|
2153
|
-
}
|
|
2154
|
-
export type GenerateMovethewheelsReportMutationHookResult = ReturnType<typeof useGenerateMovethewheelsReportMutation>;
|
|
2155
|
-
export type GenerateMovethewheelsReportMutationResult = Apollo.MutationResult<Types.GenerateMovethewheelsReportMutation>;
|
|
2156
|
-
export type GenerateMovethewheelsReportMutationOptions = Apollo.BaseMutationOptions<Types.GenerateMovethewheelsReportMutation, Types.GenerateMovethewheelsReportMutationVariables>;
|
|
2157
|
-
export const ImportMovethewheelsDataDocument = gql`
|
|
2158
|
-
mutation ImportMovethewheelsData($input: MovethewheelsImportDataInput!) {
|
|
2159
|
-
importData(input: $input) {
|
|
2160
|
-
success
|
|
2161
|
-
message
|
|
2162
|
-
payload
|
|
2163
|
-
}
|
|
2164
|
-
}
|
|
2165
|
-
`;
|
|
2166
|
-
export type ImportMovethewheelsDataMutationFn = Apollo.MutationFunction<Types.ImportMovethewheelsDataMutation, Types.ImportMovethewheelsDataMutationVariables>;
|
|
2167
|
-
|
|
2168
|
-
/**
|
|
2169
|
-
* __useImportMovethewheelsDataMutation__
|
|
2170
|
-
*
|
|
2171
|
-
* To run a mutation, you first call `useImportMovethewheelsDataMutation` within a React component and pass it any options that fit your needs.
|
|
2172
|
-
* When your component renders, `useImportMovethewheelsDataMutation` returns a tuple that includes:
|
|
2173
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
2174
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
2175
|
-
*
|
|
2176
|
-
* @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;
|
|
2177
|
-
*
|
|
2178
|
-
* @example
|
|
2179
|
-
* const [importMovethewheelsDataMutation, { data, loading, error }] = useImportMovethewheelsDataMutation({
|
|
2180
|
-
* variables: {
|
|
2181
|
-
* input: // value for 'input'
|
|
2182
|
-
* },
|
|
2183
|
-
* });
|
|
2184
|
-
*/
|
|
2185
|
-
export function useImportMovethewheelsDataMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.ImportMovethewheelsDataMutation, Types.ImportMovethewheelsDataMutationVariables>) {
|
|
2186
|
-
const options = {...defaultOptions, ...baseOptions}
|
|
2187
|
-
return ApolloReactHooks.useMutation<Types.ImportMovethewheelsDataMutation, Types.ImportMovethewheelsDataMutationVariables>(ImportMovethewheelsDataDocument, options);
|
|
2188
|
-
}
|
|
2189
|
-
export type ImportMovethewheelsDataMutationHookResult = ReturnType<typeof useImportMovethewheelsDataMutation>;
|
|
2190
|
-
export type ImportMovethewheelsDataMutationResult = Apollo.MutationResult<Types.ImportMovethewheelsDataMutation>;
|
|
2191
|
-
export type ImportMovethewheelsDataMutationOptions = Apollo.BaseMutationOptions<Types.ImportMovethewheelsDataMutation, Types.ImportMovethewheelsDataMutationVariables>;
|
|
2192
1653
|
export const ExportMovethewheelsDataDocument = gql`
|
|
2193
|
-
mutation ExportMovethewheelsData($input:
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
1654
|
+
mutation ExportMovethewheelsData($input: ExportMtwEntitiesInput!) {
|
|
1655
|
+
exportMtwEntities(input: $input) {
|
|
1656
|
+
id
|
|
1657
|
+
workspaceId
|
|
1658
|
+
entityTypes
|
|
1659
|
+
format
|
|
1660
|
+
status
|
|
1661
|
+
downloadUrl
|
|
1662
|
+
createdAt
|
|
2198
1663
|
}
|
|
2199
1664
|
}
|
|
2200
1665
|
`;
|
|
@@ -2224,44 +1689,9 @@ export function useExportMovethewheelsDataMutation(baseOptions?: ApolloReactHook
|
|
|
2224
1689
|
export type ExportMovethewheelsDataMutationHookResult = ReturnType<typeof useExportMovethewheelsDataMutation>;
|
|
2225
1690
|
export type ExportMovethewheelsDataMutationResult = Apollo.MutationResult<Types.ExportMovethewheelsDataMutation>;
|
|
2226
1691
|
export type ExportMovethewheelsDataMutationOptions = Apollo.BaseMutationOptions<Types.ExportMovethewheelsDataMutation, Types.ExportMovethewheelsDataMutationVariables>;
|
|
2227
|
-
export const UpdateMovethewheelsModuleSettingsDocument = gql`
|
|
2228
|
-
mutation UpdateMovethewheelsModuleSettings($input: UpdateMovethewheelsModuleSettingsInput!) {
|
|
2229
|
-
updateModuleSettings(input: $input) {
|
|
2230
|
-
workspaceId
|
|
2231
|
-
preferences
|
|
2232
|
-
updatedAt
|
|
2233
|
-
}
|
|
2234
|
-
}
|
|
2235
|
-
`;
|
|
2236
|
-
export type UpdateMovethewheelsModuleSettingsMutationFn = Apollo.MutationFunction<Types.UpdateMovethewheelsModuleSettingsMutation, Types.UpdateMovethewheelsModuleSettingsMutationVariables>;
|
|
2237
|
-
|
|
2238
|
-
/**
|
|
2239
|
-
* __useUpdateMovethewheelsModuleSettingsMutation__
|
|
2240
|
-
*
|
|
2241
|
-
* To run a mutation, you first call `useUpdateMovethewheelsModuleSettingsMutation` within a React component and pass it any options that fit your needs.
|
|
2242
|
-
* When your component renders, `useUpdateMovethewheelsModuleSettingsMutation` returns a tuple that includes:
|
|
2243
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
2244
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
2245
|
-
*
|
|
2246
|
-
* @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;
|
|
2247
|
-
*
|
|
2248
|
-
* @example
|
|
2249
|
-
* const [updateMovethewheelsModuleSettingsMutation, { data, loading, error }] = useUpdateMovethewheelsModuleSettingsMutation({
|
|
2250
|
-
* variables: {
|
|
2251
|
-
* input: // value for 'input'
|
|
2252
|
-
* },
|
|
2253
|
-
* });
|
|
2254
|
-
*/
|
|
2255
|
-
export function useUpdateMovethewheelsModuleSettingsMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateMovethewheelsModuleSettingsMutation, Types.UpdateMovethewheelsModuleSettingsMutationVariables>) {
|
|
2256
|
-
const options = {...defaultOptions, ...baseOptions}
|
|
2257
|
-
return ApolloReactHooks.useMutation<Types.UpdateMovethewheelsModuleSettingsMutation, Types.UpdateMovethewheelsModuleSettingsMutationVariables>(UpdateMovethewheelsModuleSettingsDocument, options);
|
|
2258
|
-
}
|
|
2259
|
-
export type UpdateMovethewheelsModuleSettingsMutationHookResult = ReturnType<typeof useUpdateMovethewheelsModuleSettingsMutation>;
|
|
2260
|
-
export type UpdateMovethewheelsModuleSettingsMutationResult = Apollo.MutationResult<Types.UpdateMovethewheelsModuleSettingsMutation>;
|
|
2261
|
-
export type UpdateMovethewheelsModuleSettingsMutationOptions = Apollo.BaseMutationOptions<Types.UpdateMovethewheelsModuleSettingsMutation, Types.UpdateMovethewheelsModuleSettingsMutationVariables>;
|
|
2262
1692
|
export const CreateMovethewheelsOrderDocument = gql`
|
|
2263
|
-
mutation CreateMovethewheelsOrder($input:
|
|
2264
|
-
|
|
1693
|
+
mutation CreateMovethewheelsOrder($input: CreateDeliveryJobInput!) {
|
|
1694
|
+
createDeliveryJob(input: $input) {
|
|
2265
1695
|
...MovethewheelsOrderCore
|
|
2266
1696
|
}
|
|
2267
1697
|
}
|
|
@@ -2293,8 +1723,8 @@ export type CreateMovethewheelsOrderMutationHookResult = ReturnType<typeof useCr
|
|
|
2293
1723
|
export type CreateMovethewheelsOrderMutationResult = Apollo.MutationResult<Types.CreateMovethewheelsOrderMutation>;
|
|
2294
1724
|
export type CreateMovethewheelsOrderMutationOptions = Apollo.BaseMutationOptions<Types.CreateMovethewheelsOrderMutation, Types.CreateMovethewheelsOrderMutationVariables>;
|
|
2295
1725
|
export const UpdateMovethewheelsOrderDocument = gql`
|
|
2296
|
-
mutation UpdateMovethewheelsOrder($id: ID!, $input:
|
|
2297
|
-
|
|
1726
|
+
mutation UpdateMovethewheelsOrder($id: ID!, $input: UpdateDeliveryJobInput!) {
|
|
1727
|
+
updateDeliveryJob(id: $id, input: $input) {
|
|
2298
1728
|
...MovethewheelsOrderCore
|
|
2299
1729
|
}
|
|
2300
1730
|
}
|
|
@@ -2327,8 +1757,8 @@ export type UpdateMovethewheelsOrderMutationHookResult = ReturnType<typeof useUp
|
|
|
2327
1757
|
export type UpdateMovethewheelsOrderMutationResult = Apollo.MutationResult<Types.UpdateMovethewheelsOrderMutation>;
|
|
2328
1758
|
export type UpdateMovethewheelsOrderMutationOptions = Apollo.BaseMutationOptions<Types.UpdateMovethewheelsOrderMutation, Types.UpdateMovethewheelsOrderMutationVariables>;
|
|
2329
1759
|
export const UpdateMovethewheelsOrderStatusDocument = gql`
|
|
2330
|
-
mutation UpdateMovethewheelsOrderStatus($id: ID!, $input:
|
|
2331
|
-
|
|
1760
|
+
mutation UpdateMovethewheelsOrderStatus($id: ID!, $input: UpdateDeliveryJobStatusInput!) {
|
|
1761
|
+
updateDeliveryJobStatus(id: $id, input: $input) {
|
|
2332
1762
|
...MovethewheelsOrderCore
|
|
2333
1763
|
}
|
|
2334
1764
|
}
|
|
@@ -2362,7 +1792,7 @@ export type UpdateMovethewheelsOrderStatusMutationResult = Apollo.MutationResult
|
|
|
2362
1792
|
export type UpdateMovethewheelsOrderStatusMutationOptions = Apollo.BaseMutationOptions<Types.UpdateMovethewheelsOrderStatusMutation, Types.UpdateMovethewheelsOrderStatusMutationVariables>;
|
|
2363
1793
|
export const DeleteMovethewheelsOrderDocument = gql`
|
|
2364
1794
|
mutation DeleteMovethewheelsOrder($id: ID!) {
|
|
2365
|
-
|
|
1795
|
+
deleteDeliveryJob(id: $id)
|
|
2366
1796
|
}
|
|
2367
1797
|
`;
|
|
2368
1798
|
export type DeleteMovethewheelsOrderMutationFn = Apollo.MutationFunction<Types.DeleteMovethewheelsOrderMutation, Types.DeleteMovethewheelsOrderMutationVariables>;
|
|
@@ -2394,17 +1824,17 @@ export type DeleteMovethewheelsOrderMutationOptions = Apollo.BaseMutationOptions
|
|
|
2394
1824
|
export const GetMovethewheelsDashboardDocument = gql`
|
|
2395
1825
|
query GetMovethewheelsDashboard {
|
|
2396
1826
|
dashboardMetrics {
|
|
2397
|
-
|
|
1827
|
+
totalDeliveryJobs
|
|
2398
1828
|
activeDeliveries
|
|
2399
1829
|
availableDrivers
|
|
2400
1830
|
activeVehicles
|
|
2401
1831
|
lowStockItems
|
|
2402
1832
|
totalRevenue
|
|
2403
|
-
|
|
1833
|
+
recentDeliveryJobs {
|
|
2404
1834
|
...MovethewheelsOrderCore
|
|
2405
1835
|
}
|
|
2406
1836
|
}
|
|
2407
|
-
|
|
1837
|
+
deliveryJobStats {
|
|
2408
1838
|
total
|
|
2409
1839
|
pending
|
|
2410
1840
|
inTransit
|
|
@@ -2569,8 +1999,8 @@ export type GetCustomerLazyQueryHookResult = ReturnType<typeof useGetCustomerLaz
|
|
|
2569
1999
|
export type GetCustomerSuspenseQueryHookResult = ReturnType<typeof useGetCustomerSuspenseQuery>;
|
|
2570
2000
|
export type GetCustomerQueryResult = Apollo.QueryResult<Types.GetCustomerQuery, Types.GetCustomerQueryVariables>;
|
|
2571
2001
|
export const ListProductsDocument = gql`
|
|
2572
|
-
query ListProducts($filter:
|
|
2573
|
-
|
|
2002
|
+
query ListProducts($filter: CargoItemFilterInput, $pagination: PaginationInput) {
|
|
2003
|
+
cargoItems(filter: $filter, pagination: $pagination) {
|
|
2574
2004
|
...ProductCore
|
|
2575
2005
|
}
|
|
2576
2006
|
}
|
|
@@ -2614,7 +2044,7 @@ export type ListProductsSuspenseQueryHookResult = ReturnType<typeof useListProdu
|
|
|
2614
2044
|
export type ListProductsQueryResult = Apollo.QueryResult<Types.ListProductsQuery, Types.ListProductsQueryVariables>;
|
|
2615
2045
|
export const GetProductDocument = gql`
|
|
2616
2046
|
query GetProduct($id: ID!) {
|
|
2617
|
-
|
|
2047
|
+
cargoItem(id: $id) {
|
|
2618
2048
|
...ProductCore
|
|
2619
2049
|
}
|
|
2620
2050
|
}
|
|
@@ -3099,7 +2529,7 @@ export const ListInventoryItemsDocument = gql`
|
|
|
3099
2529
|
query ListInventoryItems($filter: InventoryFilterInput, $pagination: PaginationInput) {
|
|
3100
2530
|
inventoryItems(filter: $filter, pagination: $pagination) {
|
|
3101
2531
|
...InventoryItemCore
|
|
3102
|
-
|
|
2532
|
+
cargoItem {
|
|
3103
2533
|
id
|
|
3104
2534
|
name
|
|
3105
2535
|
sku
|
|
@@ -3378,9 +2808,9 @@ export type GetShipmentQueryHookResult = ReturnType<typeof useGetShipmentQuery>;
|
|
|
3378
2808
|
export type GetShipmentLazyQueryHookResult = ReturnType<typeof useGetShipmentLazyQuery>;
|
|
3379
2809
|
export type GetShipmentSuspenseQueryHookResult = ReturnType<typeof useGetShipmentSuspenseQuery>;
|
|
3380
2810
|
export type GetShipmentQueryResult = Apollo.QueryResult<Types.GetShipmentQuery, Types.GetShipmentQueryVariables>;
|
|
3381
|
-
export const
|
|
3382
|
-
query
|
|
3383
|
-
|
|
2811
|
+
export const GetDeliveryJobTrackingDocument = gql`
|
|
2812
|
+
query GetDeliveryJobTracking($deliveryJobId: ID!) {
|
|
2813
|
+
deliveryJobTracking(deliveryJobId: $deliveryJobId) {
|
|
3384
2814
|
id
|
|
3385
2815
|
shipmentId
|
|
3386
2816
|
eventType
|
|
@@ -3392,40 +2822,40 @@ export const GetOrderTrackingDocument = gql`
|
|
|
3392
2822
|
`;
|
|
3393
2823
|
|
|
3394
2824
|
/**
|
|
3395
|
-
*
|
|
2825
|
+
* __useGetDeliveryJobTrackingQuery__
|
|
3396
2826
|
*
|
|
3397
|
-
* To run a query within a React component, call `
|
|
3398
|
-
* When your component renders, `
|
|
2827
|
+
* To run a query within a React component, call `useGetDeliveryJobTrackingQuery` and pass it any options that fit your needs.
|
|
2828
|
+
* When your component renders, `useGetDeliveryJobTrackingQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3399
2829
|
* you can use to render your UI.
|
|
3400
2830
|
*
|
|
3401
2831
|
* @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;
|
|
3402
2832
|
*
|
|
3403
2833
|
* @example
|
|
3404
|
-
* const { data, loading, error } =
|
|
2834
|
+
* const { data, loading, error } = useGetDeliveryJobTrackingQuery({
|
|
3405
2835
|
* variables: {
|
|
3406
|
-
*
|
|
2836
|
+
* deliveryJobId: // value for 'deliveryJobId'
|
|
3407
2837
|
* },
|
|
3408
2838
|
* });
|
|
3409
2839
|
*/
|
|
3410
|
-
export function
|
|
2840
|
+
export function useGetDeliveryJobTrackingQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetDeliveryJobTrackingQuery, Types.GetDeliveryJobTrackingQueryVariables> & ({ variables: Types.GetDeliveryJobTrackingQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {
|
|
3411
2841
|
const options = {...defaultOptions, ...baseOptions}
|
|
3412
|
-
return ApolloReactHooks.useQuery<Types.
|
|
2842
|
+
return ApolloReactHooks.useQuery<Types.GetDeliveryJobTrackingQuery, Types.GetDeliveryJobTrackingQueryVariables>(GetDeliveryJobTrackingDocument, options);
|
|
3413
2843
|
}
|
|
3414
|
-
export function
|
|
2844
|
+
export function useGetDeliveryJobTrackingLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetDeliveryJobTrackingQuery, Types.GetDeliveryJobTrackingQueryVariables>) {
|
|
3415
2845
|
const options = {...defaultOptions, ...baseOptions}
|
|
3416
|
-
return ApolloReactHooks.useLazyQuery<Types.
|
|
2846
|
+
return ApolloReactHooks.useLazyQuery<Types.GetDeliveryJobTrackingQuery, Types.GetDeliveryJobTrackingQueryVariables>(GetDeliveryJobTrackingDocument, options);
|
|
3417
2847
|
}
|
|
3418
2848
|
// @ts-ignore
|
|
3419
|
-
export function
|
|
3420
|
-
export function
|
|
3421
|
-
export function
|
|
2849
|
+
export function useGetDeliveryJobTrackingSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetDeliveryJobTrackingQuery, Types.GetDeliveryJobTrackingQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetDeliveryJobTrackingQuery, Types.GetDeliveryJobTrackingQueryVariables>;
|
|
2850
|
+
export function useGetDeliveryJobTrackingSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetDeliveryJobTrackingQuery, Types.GetDeliveryJobTrackingQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetDeliveryJobTrackingQuery | undefined, Types.GetDeliveryJobTrackingQueryVariables>;
|
|
2851
|
+
export function useGetDeliveryJobTrackingSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetDeliveryJobTrackingQuery, Types.GetDeliveryJobTrackingQueryVariables>) {
|
|
3422
2852
|
const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
3423
|
-
return ApolloReactHooks.useSuspenseQuery<Types.
|
|
2853
|
+
return ApolloReactHooks.useSuspenseQuery<Types.GetDeliveryJobTrackingQuery, Types.GetDeliveryJobTrackingQueryVariables>(GetDeliveryJobTrackingDocument, options);
|
|
3424
2854
|
}
|
|
3425
|
-
export type
|
|
3426
|
-
export type
|
|
3427
|
-
export type
|
|
3428
|
-
export type
|
|
2855
|
+
export type GetDeliveryJobTrackingQueryHookResult = ReturnType<typeof useGetDeliveryJobTrackingQuery>;
|
|
2856
|
+
export type GetDeliveryJobTrackingLazyQueryHookResult = ReturnType<typeof useGetDeliveryJobTrackingLazyQuery>;
|
|
2857
|
+
export type GetDeliveryJobTrackingSuspenseQueryHookResult = ReturnType<typeof useGetDeliveryJobTrackingSuspenseQuery>;
|
|
2858
|
+
export type GetDeliveryJobTrackingQueryResult = Apollo.QueryResult<Types.GetDeliveryJobTrackingQuery, Types.GetDeliveryJobTrackingQueryVariables>;
|
|
3429
2859
|
export const GetActiveDeliveriesDocument = gql`
|
|
3430
2860
|
query GetActiveDeliveries {
|
|
3431
2861
|
activeDeliveries {
|
|
@@ -3513,234 +2943,9 @@ export type GetTrackingAlertsQueryHookResult = ReturnType<typeof useGetTrackingA
|
|
|
3513
2943
|
export type GetTrackingAlertsLazyQueryHookResult = ReturnType<typeof useGetTrackingAlertsLazyQuery>;
|
|
3514
2944
|
export type GetTrackingAlertsSuspenseQueryHookResult = ReturnType<typeof useGetTrackingAlertsSuspenseQuery>;
|
|
3515
2945
|
export type GetTrackingAlertsQueryResult = Apollo.QueryResult<Types.GetTrackingAlertsQuery, Types.GetTrackingAlertsQueryVariables>;
|
|
3516
|
-
export const ListServiceProvidersDocument = gql`
|
|
3517
|
-
query ListServiceProviders($filter: ServiceProviderFilterInput, $pagination: PaginationInput) {
|
|
3518
|
-
serviceProviders(filter: $filter, pagination: $pagination) {
|
|
3519
|
-
...ServiceProviderCore
|
|
3520
|
-
}
|
|
3521
|
-
}
|
|
3522
|
-
${ServiceProviderCoreFragmentDoc}`;
|
|
3523
|
-
|
|
3524
|
-
/**
|
|
3525
|
-
* __useListServiceProvidersQuery__
|
|
3526
|
-
*
|
|
3527
|
-
* To run a query within a React component, call `useListServiceProvidersQuery` and pass it any options that fit your needs.
|
|
3528
|
-
* When your component renders, `useListServiceProvidersQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3529
|
-
* you can use to render your UI.
|
|
3530
|
-
*
|
|
3531
|
-
* @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;
|
|
3532
|
-
*
|
|
3533
|
-
* @example
|
|
3534
|
-
* const { data, loading, error } = useListServiceProvidersQuery({
|
|
3535
|
-
* variables: {
|
|
3536
|
-
* filter: // value for 'filter'
|
|
3537
|
-
* pagination: // value for 'pagination'
|
|
3538
|
-
* },
|
|
3539
|
-
* });
|
|
3540
|
-
*/
|
|
3541
|
-
export function useListServiceProvidersQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.ListServiceProvidersQuery, Types.ListServiceProvidersQueryVariables>) {
|
|
3542
|
-
const options = {...defaultOptions, ...baseOptions}
|
|
3543
|
-
return ApolloReactHooks.useQuery<Types.ListServiceProvidersQuery, Types.ListServiceProvidersQueryVariables>(ListServiceProvidersDocument, options);
|
|
3544
|
-
}
|
|
3545
|
-
export function useListServiceProvidersLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.ListServiceProvidersQuery, Types.ListServiceProvidersQueryVariables>) {
|
|
3546
|
-
const options = {...defaultOptions, ...baseOptions}
|
|
3547
|
-
return ApolloReactHooks.useLazyQuery<Types.ListServiceProvidersQuery, Types.ListServiceProvidersQueryVariables>(ListServiceProvidersDocument, options);
|
|
3548
|
-
}
|
|
3549
|
-
// @ts-ignore
|
|
3550
|
-
export function useListServiceProvidersSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.ListServiceProvidersQuery, Types.ListServiceProvidersQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListServiceProvidersQuery, Types.ListServiceProvidersQueryVariables>;
|
|
3551
|
-
export function useListServiceProvidersSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListServiceProvidersQuery, Types.ListServiceProvidersQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListServiceProvidersQuery | undefined, Types.ListServiceProvidersQueryVariables>;
|
|
3552
|
-
export function useListServiceProvidersSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListServiceProvidersQuery, Types.ListServiceProvidersQueryVariables>) {
|
|
3553
|
-
const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
3554
|
-
return ApolloReactHooks.useSuspenseQuery<Types.ListServiceProvidersQuery, Types.ListServiceProvidersQueryVariables>(ListServiceProvidersDocument, options);
|
|
3555
|
-
}
|
|
3556
|
-
export type ListServiceProvidersQueryHookResult = ReturnType<typeof useListServiceProvidersQuery>;
|
|
3557
|
-
export type ListServiceProvidersLazyQueryHookResult = ReturnType<typeof useListServiceProvidersLazyQuery>;
|
|
3558
|
-
export type ListServiceProvidersSuspenseQueryHookResult = ReturnType<typeof useListServiceProvidersSuspenseQuery>;
|
|
3559
|
-
export type ListServiceProvidersQueryResult = Apollo.QueryResult<Types.ListServiceProvidersQuery, Types.ListServiceProvidersQueryVariables>;
|
|
3560
|
-
export const ListServiceOfferingsDocument = gql`
|
|
3561
|
-
query ListServiceOfferings($filter: ServiceOfferingFilterInput, $pagination: PaginationInput) {
|
|
3562
|
-
serviceOfferings(filter: $filter, pagination: $pagination) {
|
|
3563
|
-
...ServiceOfferingCore
|
|
3564
|
-
provider {
|
|
3565
|
-
id
|
|
3566
|
-
name
|
|
3567
|
-
type
|
|
3568
|
-
rating
|
|
3569
|
-
}
|
|
3570
|
-
}
|
|
3571
|
-
}
|
|
3572
|
-
${ServiceOfferingCoreFragmentDoc}`;
|
|
3573
|
-
|
|
3574
|
-
/**
|
|
3575
|
-
* __useListServiceOfferingsQuery__
|
|
3576
|
-
*
|
|
3577
|
-
* To run a query within a React component, call `useListServiceOfferingsQuery` and pass it any options that fit your needs.
|
|
3578
|
-
* When your component renders, `useListServiceOfferingsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3579
|
-
* you can use to render your UI.
|
|
3580
|
-
*
|
|
3581
|
-
* @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;
|
|
3582
|
-
*
|
|
3583
|
-
* @example
|
|
3584
|
-
* const { data, loading, error } = useListServiceOfferingsQuery({
|
|
3585
|
-
* variables: {
|
|
3586
|
-
* filter: // value for 'filter'
|
|
3587
|
-
* pagination: // value for 'pagination'
|
|
3588
|
-
* },
|
|
3589
|
-
* });
|
|
3590
|
-
*/
|
|
3591
|
-
export function useListServiceOfferingsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.ListServiceOfferingsQuery, Types.ListServiceOfferingsQueryVariables>) {
|
|
3592
|
-
const options = {...defaultOptions, ...baseOptions}
|
|
3593
|
-
return ApolloReactHooks.useQuery<Types.ListServiceOfferingsQuery, Types.ListServiceOfferingsQueryVariables>(ListServiceOfferingsDocument, options);
|
|
3594
|
-
}
|
|
3595
|
-
export function useListServiceOfferingsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.ListServiceOfferingsQuery, Types.ListServiceOfferingsQueryVariables>) {
|
|
3596
|
-
const options = {...defaultOptions, ...baseOptions}
|
|
3597
|
-
return ApolloReactHooks.useLazyQuery<Types.ListServiceOfferingsQuery, Types.ListServiceOfferingsQueryVariables>(ListServiceOfferingsDocument, options);
|
|
3598
|
-
}
|
|
3599
|
-
// @ts-ignore
|
|
3600
|
-
export function useListServiceOfferingsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.ListServiceOfferingsQuery, Types.ListServiceOfferingsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListServiceOfferingsQuery, Types.ListServiceOfferingsQueryVariables>;
|
|
3601
|
-
export function useListServiceOfferingsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListServiceOfferingsQuery, Types.ListServiceOfferingsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListServiceOfferingsQuery | undefined, Types.ListServiceOfferingsQueryVariables>;
|
|
3602
|
-
export function useListServiceOfferingsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListServiceOfferingsQuery, Types.ListServiceOfferingsQueryVariables>) {
|
|
3603
|
-
const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
3604
|
-
return ApolloReactHooks.useSuspenseQuery<Types.ListServiceOfferingsQuery, Types.ListServiceOfferingsQueryVariables>(ListServiceOfferingsDocument, options);
|
|
3605
|
-
}
|
|
3606
|
-
export type ListServiceOfferingsQueryHookResult = ReturnType<typeof useListServiceOfferingsQuery>;
|
|
3607
|
-
export type ListServiceOfferingsLazyQueryHookResult = ReturnType<typeof useListServiceOfferingsLazyQuery>;
|
|
3608
|
-
export type ListServiceOfferingsSuspenseQueryHookResult = ReturnType<typeof useListServiceOfferingsSuspenseQuery>;
|
|
3609
|
-
export type ListServiceOfferingsQueryResult = Apollo.QueryResult<Types.ListServiceOfferingsQuery, Types.ListServiceOfferingsQueryVariables>;
|
|
3610
|
-
export const ListMovethewheelsReportsDocument = gql`
|
|
3611
|
-
query ListMovethewheelsReports($filter: MovethewheelsReportFilterInput, $pagination: PaginationInput) {
|
|
3612
|
-
movethewheelsReports(filter: $filter, pagination: $pagination) {
|
|
3613
|
-
...MovethewheelsReportCore
|
|
3614
|
-
}
|
|
3615
|
-
}
|
|
3616
|
-
${MovethewheelsReportCoreFragmentDoc}`;
|
|
3617
|
-
|
|
3618
|
-
/**
|
|
3619
|
-
* __useListMovethewheelsReportsQuery__
|
|
3620
|
-
*
|
|
3621
|
-
* To run a query within a React component, call `useListMovethewheelsReportsQuery` and pass it any options that fit your needs.
|
|
3622
|
-
* When your component renders, `useListMovethewheelsReportsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3623
|
-
* you can use to render your UI.
|
|
3624
|
-
*
|
|
3625
|
-
* @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;
|
|
3626
|
-
*
|
|
3627
|
-
* @example
|
|
3628
|
-
* const { data, loading, error } = useListMovethewheelsReportsQuery({
|
|
3629
|
-
* variables: {
|
|
3630
|
-
* filter: // value for 'filter'
|
|
3631
|
-
* pagination: // value for 'pagination'
|
|
3632
|
-
* },
|
|
3633
|
-
* });
|
|
3634
|
-
*/
|
|
3635
|
-
export function useListMovethewheelsReportsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.ListMovethewheelsReportsQuery, Types.ListMovethewheelsReportsQueryVariables>) {
|
|
3636
|
-
const options = {...defaultOptions, ...baseOptions}
|
|
3637
|
-
return ApolloReactHooks.useQuery<Types.ListMovethewheelsReportsQuery, Types.ListMovethewheelsReportsQueryVariables>(ListMovethewheelsReportsDocument, options);
|
|
3638
|
-
}
|
|
3639
|
-
export function useListMovethewheelsReportsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.ListMovethewheelsReportsQuery, Types.ListMovethewheelsReportsQueryVariables>) {
|
|
3640
|
-
const options = {...defaultOptions, ...baseOptions}
|
|
3641
|
-
return ApolloReactHooks.useLazyQuery<Types.ListMovethewheelsReportsQuery, Types.ListMovethewheelsReportsQueryVariables>(ListMovethewheelsReportsDocument, options);
|
|
3642
|
-
}
|
|
3643
|
-
// @ts-ignore
|
|
3644
|
-
export function useListMovethewheelsReportsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.ListMovethewheelsReportsQuery, Types.ListMovethewheelsReportsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListMovethewheelsReportsQuery, Types.ListMovethewheelsReportsQueryVariables>;
|
|
3645
|
-
export function useListMovethewheelsReportsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListMovethewheelsReportsQuery, Types.ListMovethewheelsReportsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListMovethewheelsReportsQuery | undefined, Types.ListMovethewheelsReportsQueryVariables>;
|
|
3646
|
-
export function useListMovethewheelsReportsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListMovethewheelsReportsQuery, Types.ListMovethewheelsReportsQueryVariables>) {
|
|
3647
|
-
const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
3648
|
-
return ApolloReactHooks.useSuspenseQuery<Types.ListMovethewheelsReportsQuery, Types.ListMovethewheelsReportsQueryVariables>(ListMovethewheelsReportsDocument, options);
|
|
3649
|
-
}
|
|
3650
|
-
export type ListMovethewheelsReportsQueryHookResult = ReturnType<typeof useListMovethewheelsReportsQuery>;
|
|
3651
|
-
export type ListMovethewheelsReportsLazyQueryHookResult = ReturnType<typeof useListMovethewheelsReportsLazyQuery>;
|
|
3652
|
-
export type ListMovethewheelsReportsSuspenseQueryHookResult = ReturnType<typeof useListMovethewheelsReportsSuspenseQuery>;
|
|
3653
|
-
export type ListMovethewheelsReportsQueryResult = Apollo.QueryResult<Types.ListMovethewheelsReportsQuery, Types.ListMovethewheelsReportsQueryVariables>;
|
|
3654
|
-
export const GetMovethewheelsReportDocument = gql`
|
|
3655
|
-
query GetMovethewheelsReport($id: ID!) {
|
|
3656
|
-
movethewheelsReport(id: $id) {
|
|
3657
|
-
...MovethewheelsReportCore
|
|
3658
|
-
}
|
|
3659
|
-
}
|
|
3660
|
-
${MovethewheelsReportCoreFragmentDoc}`;
|
|
3661
|
-
|
|
3662
|
-
/**
|
|
3663
|
-
* __useGetMovethewheelsReportQuery__
|
|
3664
|
-
*
|
|
3665
|
-
* To run a query within a React component, call `useGetMovethewheelsReportQuery` and pass it any options that fit your needs.
|
|
3666
|
-
* When your component renders, `useGetMovethewheelsReportQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3667
|
-
* you can use to render your UI.
|
|
3668
|
-
*
|
|
3669
|
-
* @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;
|
|
3670
|
-
*
|
|
3671
|
-
* @example
|
|
3672
|
-
* const { data, loading, error } = useGetMovethewheelsReportQuery({
|
|
3673
|
-
* variables: {
|
|
3674
|
-
* id: // value for 'id'
|
|
3675
|
-
* },
|
|
3676
|
-
* });
|
|
3677
|
-
*/
|
|
3678
|
-
export function useGetMovethewheelsReportQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetMovethewheelsReportQuery, Types.GetMovethewheelsReportQueryVariables> & ({ variables: Types.GetMovethewheelsReportQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {
|
|
3679
|
-
const options = {...defaultOptions, ...baseOptions}
|
|
3680
|
-
return ApolloReactHooks.useQuery<Types.GetMovethewheelsReportQuery, Types.GetMovethewheelsReportQueryVariables>(GetMovethewheelsReportDocument, options);
|
|
3681
|
-
}
|
|
3682
|
-
export function useGetMovethewheelsReportLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetMovethewheelsReportQuery, Types.GetMovethewheelsReportQueryVariables>) {
|
|
3683
|
-
const options = {...defaultOptions, ...baseOptions}
|
|
3684
|
-
return ApolloReactHooks.useLazyQuery<Types.GetMovethewheelsReportQuery, Types.GetMovethewheelsReportQueryVariables>(GetMovethewheelsReportDocument, options);
|
|
3685
|
-
}
|
|
3686
|
-
// @ts-ignore
|
|
3687
|
-
export function useGetMovethewheelsReportSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMovethewheelsReportQuery, Types.GetMovethewheelsReportQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetMovethewheelsReportQuery, Types.GetMovethewheelsReportQueryVariables>;
|
|
3688
|
-
export function useGetMovethewheelsReportSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMovethewheelsReportQuery, Types.GetMovethewheelsReportQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetMovethewheelsReportQuery | undefined, Types.GetMovethewheelsReportQueryVariables>;
|
|
3689
|
-
export function useGetMovethewheelsReportSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMovethewheelsReportQuery, Types.GetMovethewheelsReportQueryVariables>) {
|
|
3690
|
-
const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
3691
|
-
return ApolloReactHooks.useSuspenseQuery<Types.GetMovethewheelsReportQuery, Types.GetMovethewheelsReportQueryVariables>(GetMovethewheelsReportDocument, options);
|
|
3692
|
-
}
|
|
3693
|
-
export type GetMovethewheelsReportQueryHookResult = ReturnType<typeof useGetMovethewheelsReportQuery>;
|
|
3694
|
-
export type GetMovethewheelsReportLazyQueryHookResult = ReturnType<typeof useGetMovethewheelsReportLazyQuery>;
|
|
3695
|
-
export type GetMovethewheelsReportSuspenseQueryHookResult = ReturnType<typeof useGetMovethewheelsReportSuspenseQuery>;
|
|
3696
|
-
export type GetMovethewheelsReportQueryResult = Apollo.QueryResult<Types.GetMovethewheelsReportQuery, Types.GetMovethewheelsReportQueryVariables>;
|
|
3697
|
-
export const GetMovethewheelsModuleSettingsDocument = gql`
|
|
3698
|
-
query GetMovethewheelsModuleSettings {
|
|
3699
|
-
moduleSettings {
|
|
3700
|
-
workspaceId
|
|
3701
|
-
preferences
|
|
3702
|
-
updatedAt
|
|
3703
|
-
}
|
|
3704
|
-
}
|
|
3705
|
-
`;
|
|
3706
|
-
|
|
3707
|
-
/**
|
|
3708
|
-
* __useGetMovethewheelsModuleSettingsQuery__
|
|
3709
|
-
*
|
|
3710
|
-
* To run a query within a React component, call `useGetMovethewheelsModuleSettingsQuery` and pass it any options that fit your needs.
|
|
3711
|
-
* When your component renders, `useGetMovethewheelsModuleSettingsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3712
|
-
* you can use to render your UI.
|
|
3713
|
-
*
|
|
3714
|
-
* @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;
|
|
3715
|
-
*
|
|
3716
|
-
* @example
|
|
3717
|
-
* const { data, loading, error } = useGetMovethewheelsModuleSettingsQuery({
|
|
3718
|
-
* variables: {
|
|
3719
|
-
* },
|
|
3720
|
-
* });
|
|
3721
|
-
*/
|
|
3722
|
-
export function useGetMovethewheelsModuleSettingsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetMovethewheelsModuleSettingsQuery, Types.GetMovethewheelsModuleSettingsQueryVariables>) {
|
|
3723
|
-
const options = {...defaultOptions, ...baseOptions}
|
|
3724
|
-
return ApolloReactHooks.useQuery<Types.GetMovethewheelsModuleSettingsQuery, Types.GetMovethewheelsModuleSettingsQueryVariables>(GetMovethewheelsModuleSettingsDocument, options);
|
|
3725
|
-
}
|
|
3726
|
-
export function useGetMovethewheelsModuleSettingsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetMovethewheelsModuleSettingsQuery, Types.GetMovethewheelsModuleSettingsQueryVariables>) {
|
|
3727
|
-
const options = {...defaultOptions, ...baseOptions}
|
|
3728
|
-
return ApolloReactHooks.useLazyQuery<Types.GetMovethewheelsModuleSettingsQuery, Types.GetMovethewheelsModuleSettingsQueryVariables>(GetMovethewheelsModuleSettingsDocument, options);
|
|
3729
|
-
}
|
|
3730
|
-
// @ts-ignore
|
|
3731
|
-
export function useGetMovethewheelsModuleSettingsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMovethewheelsModuleSettingsQuery, Types.GetMovethewheelsModuleSettingsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetMovethewheelsModuleSettingsQuery, Types.GetMovethewheelsModuleSettingsQueryVariables>;
|
|
3732
|
-
export function useGetMovethewheelsModuleSettingsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMovethewheelsModuleSettingsQuery, Types.GetMovethewheelsModuleSettingsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetMovethewheelsModuleSettingsQuery | undefined, Types.GetMovethewheelsModuleSettingsQueryVariables>;
|
|
3733
|
-
export function useGetMovethewheelsModuleSettingsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMovethewheelsModuleSettingsQuery, Types.GetMovethewheelsModuleSettingsQueryVariables>) {
|
|
3734
|
-
const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
3735
|
-
return ApolloReactHooks.useSuspenseQuery<Types.GetMovethewheelsModuleSettingsQuery, Types.GetMovethewheelsModuleSettingsQueryVariables>(GetMovethewheelsModuleSettingsDocument, options);
|
|
3736
|
-
}
|
|
3737
|
-
export type GetMovethewheelsModuleSettingsQueryHookResult = ReturnType<typeof useGetMovethewheelsModuleSettingsQuery>;
|
|
3738
|
-
export type GetMovethewheelsModuleSettingsLazyQueryHookResult = ReturnType<typeof useGetMovethewheelsModuleSettingsLazyQuery>;
|
|
3739
|
-
export type GetMovethewheelsModuleSettingsSuspenseQueryHookResult = ReturnType<typeof useGetMovethewheelsModuleSettingsSuspenseQuery>;
|
|
3740
|
-
export type GetMovethewheelsModuleSettingsQueryResult = Apollo.QueryResult<Types.GetMovethewheelsModuleSettingsQuery, Types.GetMovethewheelsModuleSettingsQueryVariables>;
|
|
3741
2946
|
export const ListMovethewheelsOrdersDocument = gql`
|
|
3742
|
-
query ListMovethewheelsOrders($filter:
|
|
3743
|
-
|
|
2947
|
+
query ListMovethewheelsOrders($filter: DeliveryJobFilterInput, $pagination: PaginationInput) {
|
|
2948
|
+
deliveryJobs(filter: $filter, pagination: $pagination) {
|
|
3744
2949
|
...MovethewheelsOrderCore
|
|
3745
2950
|
}
|
|
3746
2951
|
}
|
|
@@ -3784,7 +2989,7 @@ export type ListMovethewheelsOrdersSuspenseQueryHookResult = ReturnType<typeof u
|
|
|
3784
2989
|
export type ListMovethewheelsOrdersQueryResult = Apollo.QueryResult<Types.ListMovethewheelsOrdersQuery, Types.ListMovethewheelsOrdersQueryVariables>;
|
|
3785
2990
|
export const GetMovethewheelsOrderDocument = gql`
|
|
3786
2991
|
query GetMovethewheelsOrder($id: ID!) {
|
|
3787
|
-
|
|
2992
|
+
deliveryJob(id: $id) {
|
|
3788
2993
|
...MovethewheelsOrderCore
|
|
3789
2994
|
customer {
|
|
3790
2995
|
id
|