@burdenoff/microfe-movethewheels 2026.1016.3 → 2026.1016.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -0
- package/dist/MoveTheWheelsRoot.js +5 -0
- package/dist/MoveTheWheelsRoutes.js +25 -21
- package/dist/components/ContainerEvidencePicker.js +55 -55
- package/dist/components/FleetAlertsPanel.js +2 -2
- package/dist/components/freight-invoice/InvoiceForm.js +366 -0
- package/dist/components/freight-invoice/InvoiceResults.js +240 -0
- package/dist/generated/consolidation-operations.d.ts +195 -265
- package/dist/generated/container-condition-operations.d.ts +124 -187
- package/dist/generated/container-operations.d.ts +59 -85
- package/dist/generated/empty-reuse-operations.d.ts +165 -271
- package/dist/generated/free-time-operations.d.ts +120 -184
- package/dist/generated/freight-cost-operations.d.ts +307 -476
- package/dist/generated/freight-invoice-operations.d.ts +1447 -0
- package/dist/generated/logistics-procedure-operations.d.ts +100 -156
- package/dist/generated/pending-pick-operations.d.ts +769 -1025
- package/dist/generated/shipment-status-authority-operations.d.ts +82 -103
- package/dist/generated/stock-binding-operations.d.ts +188 -260
- package/dist/generated/stock-observation-operations.d.ts +103 -138
- package/dist/generated/tracking-quality-operations.d.ts +27 -41
- package/dist/generated/trip-utilization-operations.d.ts +137 -185
- package/dist/generated/wspace-operations.d.ts +628 -2272
- package/dist/generated/wspace-types.d.ts +4 -23
- package/dist/hooks/useInvoiceComparisonRecovery.js +118 -0
- package/dist/movethewheels/components/ContainerEvidencePicker.d.ts +2 -1
- package/dist/movethewheels/components/freight-invoice/InvoiceForm.d.ts +19 -0
- package/dist/movethewheels/components/freight-invoice/InvoiceResults.d.ts +9 -0
- package/dist/movethewheels/hooks/useFleet.d.ts +1 -1
- package/dist/movethewheels/hooks/useFleetIntelligence.d.ts +1 -1
- package/dist/movethewheels/hooks/useInvoiceComparisonRecovery.d.ts +22 -0
- package/dist/movethewheels/hooks/useProcedureSelection.d.ts +1 -3
- package/dist/movethewheels/pages/FreightInvoicePage.d.ts +10 -0
- package/dist/movethewheels/utils/driverLicenseExpiry.d.ts +6 -0
- package/dist/movethewheels/utils/invoiceComparison.d.ts +32 -0
- package/dist/pages/DriverDetailsPage.js +306 -282
- package/dist/pages/FreightEstimatePage.js +1 -0
- package/dist/pages/FreightInvoicePage.js +346 -0
- package/dist/src/generated/consolidation-operations.js +3961 -503
- package/dist/src/generated/container-condition-operations.js +2968 -206
- package/dist/src/generated/container-operations.js +997 -99
- package/dist/src/generated/empty-reuse-operations.js +4811 -747
- package/dist/src/generated/free-time-operations.js +2824 -233
- package/dist/src/generated/freight-cost-operations.js +4852 -812
- package/dist/src/generated/freight-invoice-operations.js +4894 -0
- package/dist/src/generated/logistics-procedure-operations.js +2707 -360
- package/dist/src/generated/pending-pick-operations.js +8244 -1196
- package/dist/src/generated/shipment-status-authority-operations.js +1157 -84
- package/dist/src/generated/stock-binding-operations.js +2779 -173
- package/dist/src/generated/stock-observation-operations.js +1274 -91
- package/dist/src/generated/tracking-quality-operations.js +407 -42
- package/dist/src/generated/trip-utilization-operations.js +1765 -138
- package/dist/src/generated/wspace-operations.js +428 -706
- package/dist/utils/driverLicenseExpiry.js +14 -0
- package/dist/utils/invoiceComparison.js +272 -0
- package/package.json +29 -29
- package/src/generated/consolidation-operations.ts +60 -559
- package/src/generated/container-condition-operations.ts +63 -265
- package/src/generated/container-operations.ts +37 -132
- package/src/generated/empty-reuse-operations.ts +83 -824
- package/src/generated/free-time-operations.ts +55 -284
- package/src/generated/freight-cost-operations.ts +42 -848
- package/src/generated/freight-invoice-operations.ts +830 -0
- package/src/generated/logistics-procedure-operations.ts +60 -414
- package/src/generated/pending-pick-operations.ts +48 -1239
- package/src/generated/shipment-status-authority-operations.ts +33 -113
- package/src/generated/stock-binding-operations.ts +29 -198
- package/src/generated/stock-observation-operations.ts +24 -111
- package/src/generated/tracking-quality-operations.ts +19 -57
- package/src/generated/trip-utilization-operations.ts +32 -166
- package/src/generated/wspace-operations.ts +284 -2906
- package/src/generated/wspace-types.ts +2 -8
- package/src/movethewheels/MoveTheWheelsRoot.tsx +6 -0
- package/src/movethewheels/MoveTheWheelsRoutes.tsx +2 -0
- package/src/movethewheels/components/ContainerEvidencePicker.tsx +12 -4
- package/src/movethewheels/components/FleetAlertsPanel.tsx +4 -2
- package/src/movethewheels/components/freight-invoice/InvoiceForm.tsx +412 -0
- package/src/movethewheels/components/freight-invoice/InvoiceResults.tsx +162 -0
- package/src/movethewheels/hooks/useFleet.ts +1 -1
- package/src/movethewheels/hooks/useFleetIntelligence.ts +5 -1
- package/src/movethewheels/hooks/useInvoiceComparisonRecovery.ts +227 -0
- package/src/movethewheels/pages/DriverDetailsPage.tsx +35 -9
- package/src/movethewheels/pages/FreightEstimatePage.tsx +1 -0
- package/src/movethewheels/pages/FreightInvoicePage.tsx +477 -0
- package/src/movethewheels/utils/driverLicenseExpiry.ts +25 -0
- package/src/movethewheels/utils/invoiceComparison.ts +520 -0
- package/src/operations/freight-invoice/comparison.graphql +40 -0
- package/src/operations/wspace/freight-invoice-evidence.graphql +6 -0
- package/patches/braces@3.0.3.patch +0 -87
|
@@ -1,24 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
|
|
2
|
+
/** Internal type. DO NOT USE DIRECTLY. */
|
|
3
|
+
type Exact<T extends {
|
|
4
4
|
[key: string]: unknown;
|
|
5
5
|
}> = {
|
|
6
6
|
[K in keyof T]: T[K];
|
|
7
7
|
};
|
|
8
|
-
|
|
9
|
-
[SubKey in K]?: Maybe<T[SubKey]>;
|
|
10
|
-
};
|
|
11
|
-
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
|
|
12
|
-
[SubKey in K]: Maybe<T[SubKey]>;
|
|
13
|
-
};
|
|
14
|
-
export type MakeEmpty<T extends {
|
|
15
|
-
[key: string]: unknown;
|
|
16
|
-
}, K extends keyof T> = {
|
|
17
|
-
[_ in K]?: never;
|
|
18
|
-
};
|
|
8
|
+
/** Internal type. DO NOT USE DIRECTLY. */
|
|
19
9
|
export type Incremental<T> = T | {
|
|
20
10
|
[P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never;
|
|
21
11
|
};
|
|
12
|
+
import type * as Types from './container-operations';
|
|
13
|
+
export type Maybe<T> = T | null;
|
|
14
|
+
export type InputMaybe<T> = Maybe<T>;
|
|
22
15
|
/** All built-in and custom scalars, mapped to their actual values */
|
|
23
16
|
export type Scalars = {
|
|
24
17
|
ID: {
|
|
@@ -186,171 +179,152 @@ export type RegisterMtwContainerInput = {
|
|
|
186
179
|
source: Scalars['String']['input'];
|
|
187
180
|
};
|
|
188
181
|
export type ContainerEquipmentFieldsFragment = {
|
|
189
|
-
__typename?: 'MtwContainer';
|
|
190
182
|
id: string;
|
|
191
183
|
containerNumber: string;
|
|
192
|
-
equipmentType: MtwEquipmentType;
|
|
193
|
-
ownerName
|
|
184
|
+
equipmentType: Types.MtwEquipmentType;
|
|
185
|
+
ownerName: string | null;
|
|
194
186
|
source: string;
|
|
195
187
|
};
|
|
196
188
|
export type ContainerCycleFieldsFragment = {
|
|
197
|
-
__typename?: 'MtwContainerCycle';
|
|
198
189
|
id: string;
|
|
199
190
|
containerId: string;
|
|
200
|
-
shipmentId
|
|
201
|
-
bookingReference
|
|
191
|
+
shipmentId: string | null;
|
|
192
|
+
bookingReference: string | null;
|
|
202
193
|
openedAt: string;
|
|
203
|
-
closedAt
|
|
204
|
-
status: MtwContainerCycleStatus;
|
|
194
|
+
closedAt: string | null;
|
|
195
|
+
status: Types.MtwContainerCycleStatus;
|
|
205
196
|
version: number;
|
|
206
197
|
};
|
|
207
198
|
export type ContainerEventFieldsFragment = {
|
|
208
|
-
__typename?: 'MtwContainerEvent';
|
|
209
199
|
id: string;
|
|
210
|
-
eventType: MtwContainerEventType;
|
|
211
|
-
kind: MtwContainerEventKind;
|
|
200
|
+
eventType: Types.MtwContainerEventType;
|
|
201
|
+
kind: Types.MtwContainerEventKind;
|
|
212
202
|
occurredAt: string;
|
|
213
203
|
receivedAt: string;
|
|
214
204
|
source: string;
|
|
215
|
-
sourceReference
|
|
216
|
-
evidenceNote
|
|
217
|
-
location
|
|
205
|
+
sourceReference: string | null;
|
|
206
|
+
evidenceNote: string | null;
|
|
207
|
+
location: string | null;
|
|
218
208
|
};
|
|
219
209
|
export type ContainerRegistryQueryVariables = Exact<{
|
|
220
|
-
pagination?:
|
|
210
|
+
pagination?: Types.MtwContainerPagination | null | undefined;
|
|
221
211
|
}>;
|
|
222
212
|
export type ContainerRegistryQuery = {
|
|
223
|
-
__typename?: 'Query';
|
|
224
213
|
mtwContainerPage: {
|
|
225
|
-
__typename?: 'MtwContainerPage';
|
|
226
214
|
hasMore: boolean;
|
|
227
215
|
total: number;
|
|
228
216
|
limit: number;
|
|
229
217
|
offset: number;
|
|
230
|
-
nextOffset
|
|
218
|
+
nextOffset: number | null;
|
|
231
219
|
items: Array<{
|
|
232
|
-
__typename?: 'MtwContainer';
|
|
233
220
|
id: string;
|
|
234
221
|
containerNumber: string;
|
|
235
|
-
equipmentType: MtwEquipmentType;
|
|
236
|
-
ownerName
|
|
222
|
+
equipmentType: Types.MtwEquipmentType;
|
|
223
|
+
ownerName: string | null;
|
|
237
224
|
source: string;
|
|
238
225
|
}>;
|
|
239
226
|
};
|
|
240
227
|
};
|
|
241
228
|
export type ContainerCyclesQueryVariables = Exact<{
|
|
242
|
-
containerId:
|
|
243
|
-
pagination?:
|
|
229
|
+
containerId: string;
|
|
230
|
+
pagination?: Types.MtwContainerPagination | null | undefined;
|
|
244
231
|
}>;
|
|
245
232
|
export type ContainerCyclesQuery = {
|
|
246
|
-
__typename?: 'Query';
|
|
247
233
|
mtwContainerCyclePage: {
|
|
248
|
-
__typename?: 'MtwContainerCyclePage';
|
|
249
234
|
hasMore: boolean;
|
|
250
235
|
total: number;
|
|
251
236
|
limit: number;
|
|
252
237
|
offset: number;
|
|
253
|
-
nextOffset
|
|
238
|
+
nextOffset: number | null;
|
|
254
239
|
items: Array<{
|
|
255
|
-
__typename?: 'MtwContainerCycle';
|
|
256
240
|
id: string;
|
|
257
241
|
containerId: string;
|
|
258
|
-
shipmentId
|
|
259
|
-
bookingReference
|
|
242
|
+
shipmentId: string | null;
|
|
243
|
+
bookingReference: string | null;
|
|
260
244
|
openedAt: string;
|
|
261
|
-
closedAt
|
|
262
|
-
status: MtwContainerCycleStatus;
|
|
245
|
+
closedAt: string | null;
|
|
246
|
+
status: Types.MtwContainerCycleStatus;
|
|
263
247
|
version: number;
|
|
264
248
|
}>;
|
|
265
249
|
};
|
|
266
250
|
};
|
|
267
251
|
export type ContainerEventsQueryVariables = Exact<{
|
|
268
|
-
cycleId:
|
|
269
|
-
pagination?:
|
|
252
|
+
cycleId: string;
|
|
253
|
+
pagination?: Types.MtwContainerPagination | null | undefined;
|
|
270
254
|
}>;
|
|
271
255
|
export type ContainerEventsQuery = {
|
|
272
|
-
__typename?: 'Query';
|
|
273
256
|
mtwContainerEventPage: {
|
|
274
|
-
__typename?: 'MtwContainerEventPage';
|
|
275
257
|
hasMore: boolean;
|
|
276
258
|
total: number;
|
|
277
259
|
limit: number;
|
|
278
260
|
offset: number;
|
|
279
|
-
nextOffset
|
|
261
|
+
nextOffset: number | null;
|
|
280
262
|
items: Array<{
|
|
281
|
-
__typename?: 'MtwContainerEvent';
|
|
282
263
|
id: string;
|
|
283
|
-
eventType: MtwContainerEventType;
|
|
284
|
-
kind: MtwContainerEventKind;
|
|
264
|
+
eventType: Types.MtwContainerEventType;
|
|
265
|
+
kind: Types.MtwContainerEventKind;
|
|
285
266
|
occurredAt: string;
|
|
286
267
|
receivedAt: string;
|
|
287
268
|
source: string;
|
|
288
|
-
sourceReference
|
|
289
|
-
evidenceNote
|
|
290
|
-
location
|
|
269
|
+
sourceReference: string | null;
|
|
270
|
+
evidenceNote: string | null;
|
|
271
|
+
location: string | null;
|
|
291
272
|
}>;
|
|
292
273
|
};
|
|
293
274
|
};
|
|
294
275
|
export type RegisterContainerMutationVariables = Exact<{
|
|
295
|
-
input: RegisterMtwContainerInput;
|
|
276
|
+
input: Types.RegisterMtwContainerInput;
|
|
296
277
|
}>;
|
|
297
278
|
export type RegisterContainerMutation = {
|
|
298
|
-
__typename?: 'Mutation';
|
|
299
279
|
registerMtwContainer: {
|
|
300
|
-
__typename?: 'MtwContainer';
|
|
301
280
|
id: string;
|
|
302
281
|
containerNumber: string;
|
|
303
|
-
equipmentType: MtwEquipmentType;
|
|
304
|
-
ownerName
|
|
282
|
+
equipmentType: Types.MtwEquipmentType;
|
|
283
|
+
ownerName: string | null;
|
|
305
284
|
source: string;
|
|
306
285
|
};
|
|
307
286
|
};
|
|
308
287
|
export type OpenContainerCycleMutationVariables = Exact<{
|
|
309
|
-
input: OpenMtwContainerCycleInput;
|
|
288
|
+
input: Types.OpenMtwContainerCycleInput;
|
|
310
289
|
}>;
|
|
311
290
|
export type OpenContainerCycleMutation = {
|
|
312
|
-
__typename?: 'Mutation';
|
|
313
291
|
openMtwContainerCycle: {
|
|
314
|
-
__typename?: 'MtwContainerCycle';
|
|
315
292
|
id: string;
|
|
316
293
|
containerId: string;
|
|
317
|
-
shipmentId
|
|
318
|
-
bookingReference
|
|
294
|
+
shipmentId: string | null;
|
|
295
|
+
bookingReference: string | null;
|
|
319
296
|
openedAt: string;
|
|
320
|
-
closedAt
|
|
321
|
-
status: MtwContainerCycleStatus;
|
|
297
|
+
closedAt: string | null;
|
|
298
|
+
status: Types.MtwContainerCycleStatus;
|
|
322
299
|
version: number;
|
|
323
300
|
};
|
|
324
301
|
};
|
|
325
302
|
export type RecordContainerEventMutationVariables = Exact<{
|
|
326
|
-
input: RecordMtwContainerEventInput;
|
|
303
|
+
input: Types.RecordMtwContainerEventInput;
|
|
327
304
|
}>;
|
|
328
305
|
export type RecordContainerEventMutation = {
|
|
329
|
-
__typename?: 'Mutation';
|
|
330
306
|
recordMtwContainerEvent: {
|
|
331
|
-
__typename?: 'MtwContainerEvent';
|
|
332
307
|
id: string;
|
|
333
308
|
};
|
|
334
309
|
};
|
|
335
310
|
export type CloseContainerCycleMutationVariables = Exact<{
|
|
336
|
-
input: CloseMtwContainerCycleInput;
|
|
311
|
+
input: Types.CloseMtwContainerCycleInput;
|
|
337
312
|
}>;
|
|
338
313
|
export type CloseContainerCycleMutation = {
|
|
339
|
-
__typename?: 'Mutation';
|
|
340
314
|
closeMtwContainerCycle: {
|
|
341
|
-
__typename?: 'MtwContainerCycle';
|
|
342
315
|
id: string;
|
|
343
|
-
status: MtwContainerCycleStatus;
|
|
316
|
+
status: Types.MtwContainerCycleStatus;
|
|
344
317
|
version: number;
|
|
345
318
|
};
|
|
346
319
|
};
|
|
347
|
-
export declare const ContainerEquipmentFieldsFragmentDoc:
|
|
348
|
-
export declare const ContainerCycleFieldsFragmentDoc:
|
|
349
|
-
export declare const ContainerEventFieldsFragmentDoc:
|
|
350
|
-
export declare const ContainerRegistryDocument:
|
|
351
|
-
export declare const ContainerCyclesDocument:
|
|
352
|
-
export declare const ContainerEventsDocument:
|
|
353
|
-
export declare const RegisterContainerDocument:
|
|
354
|
-
export declare const OpenContainerCycleDocument:
|
|
355
|
-
export declare const RecordContainerEventDocument:
|
|
356
|
-
export declare const CloseContainerCycleDocument:
|
|
320
|
+
export declare const ContainerEquipmentFieldsFragmentDoc: DocumentNode<ContainerEquipmentFieldsFragment, unknown>;
|
|
321
|
+
export declare const ContainerCycleFieldsFragmentDoc: DocumentNode<ContainerCycleFieldsFragment, unknown>;
|
|
322
|
+
export declare const ContainerEventFieldsFragmentDoc: DocumentNode<ContainerEventFieldsFragment, unknown>;
|
|
323
|
+
export declare const ContainerRegistryDocument: DocumentNode<ContainerRegistryQuery, ContainerRegistryQueryVariables>;
|
|
324
|
+
export declare const ContainerCyclesDocument: DocumentNode<ContainerCyclesQuery, ContainerCyclesQueryVariables>;
|
|
325
|
+
export declare const ContainerEventsDocument: DocumentNode<ContainerEventsQuery, ContainerEventsQueryVariables>;
|
|
326
|
+
export declare const RegisterContainerDocument: DocumentNode<RegisterContainerMutation, RegisterContainerMutationVariables>;
|
|
327
|
+
export declare const OpenContainerCycleDocument: DocumentNode<OpenContainerCycleMutation, OpenContainerCycleMutationVariables>;
|
|
328
|
+
export declare const RecordContainerEventDocument: DocumentNode<RecordContainerEventMutation, RecordContainerEventMutationVariables>;
|
|
329
|
+
export declare const CloseContainerCycleDocument: DocumentNode<CloseContainerCycleMutation, CloseContainerCycleMutationVariables>;
|
|
330
|
+
export {};
|