@burdenoff/microfe-movethewheels 2026.1016.2 → 2026.1016.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. package/README.md +10 -0
  2. package/dist/MoveTheWheelsRoot.js +5 -0
  3. package/dist/MoveTheWheelsRoutes.js +25 -21
  4. package/dist/components/ContainerEvidencePicker.js +55 -55
  5. package/dist/components/FleetAlertsPanel.js +2 -2
  6. package/dist/components/freight-cost/FreightCommercialEditor.js +217 -0
  7. package/dist/components/freight-cost/FreightCommercialFactEditor.js +217 -0
  8. package/dist/components/freight-cost/FreightCommercialHistory.js +115 -0
  9. package/dist/components/freight-cost/FreightDraftForm.js +106 -91
  10. package/dist/components/freight-cost/FreightHistory.js +42 -40
  11. package/dist/components/freight-invoice/InvoiceForm.js +366 -0
  12. package/dist/components/freight-invoice/InvoiceResults.js +240 -0
  13. package/dist/generated/consolidation-operations.d.ts +195 -265
  14. package/dist/generated/container-condition-operations.d.ts +124 -187
  15. package/dist/generated/container-operations.d.ts +59 -85
  16. package/dist/generated/empty-reuse-operations.d.ts +165 -271
  17. package/dist/generated/free-time-operations.d.ts +120 -184
  18. package/dist/generated/freight-cost-operations.d.ts +955 -165
  19. package/dist/generated/freight-invoice-operations.d.ts +1447 -0
  20. package/dist/generated/logistics-procedure-operations.d.ts +100 -156
  21. package/dist/generated/pending-pick-operations.d.ts +769 -1025
  22. package/dist/generated/shipment-status-authority-operations.d.ts +82 -103
  23. package/dist/generated/stock-binding-operations.d.ts +188 -260
  24. package/dist/generated/stock-observation-operations.d.ts +103 -138
  25. package/dist/generated/tracking-quality-operations.d.ts +27 -41
  26. package/dist/generated/trip-utilization-operations.d.ts +137 -185
  27. package/dist/generated/wspace-operations.d.ts +628 -2272
  28. package/dist/generated/wspace-types.d.ts +4 -23
  29. package/dist/hooks/useFreightRecoveryAction.js +20 -20
  30. package/dist/hooks/useInvoiceComparisonRecovery.js +118 -0
  31. package/dist/movethewheels/components/ContainerEvidencePicker.d.ts +2 -1
  32. package/dist/movethewheels/components/freight-cost/FreightCommercialEditor.d.ts +8 -0
  33. package/dist/movethewheels/components/freight-cost/FreightCommercialFactEditor.d.ts +8 -0
  34. package/dist/movethewheels/components/freight-cost/FreightCommercialHistory.d.ts +4 -0
  35. package/dist/movethewheels/components/freight-cost/FreightDraftForm.d.ts +4 -2
  36. package/dist/movethewheels/components/freight-cost/FreightHistory.d.ts +2 -2
  37. package/dist/movethewheels/components/freight-invoice/InvoiceForm.d.ts +19 -0
  38. package/dist/movethewheels/components/freight-invoice/InvoiceResults.d.ts +9 -0
  39. package/dist/movethewheels/hooks/useFleet.d.ts +1 -1
  40. package/dist/movethewheels/hooks/useFleetIntelligence.d.ts +1 -1
  41. package/dist/movethewheels/hooks/useInvoiceComparisonRecovery.d.ts +22 -0
  42. package/dist/movethewheels/hooks/useProcedureSelection.d.ts +1 -3
  43. package/dist/movethewheels/pages/FreightInvoicePage.d.ts +10 -0
  44. package/dist/movethewheels/utils/driverLicenseExpiry.d.ts +6 -0
  45. package/dist/movethewheels/utils/freightCommercial.d.ts +44 -0
  46. package/dist/movethewheels/utils/invoiceComparison.d.ts +32 -0
  47. package/dist/pages/DriverDetailsPage.js +306 -282
  48. package/dist/pages/FreightEstimatePage.js +97 -92
  49. package/dist/pages/FreightInvoicePage.js +346 -0
  50. package/dist/src/generated/consolidation-operations.js +3961 -503
  51. package/dist/src/generated/container-condition-operations.js +2968 -206
  52. package/dist/src/generated/container-operations.js +997 -99
  53. package/dist/src/generated/empty-reuse-operations.js +4811 -747
  54. package/dist/src/generated/free-time-operations.js +2824 -233
  55. package/dist/src/generated/freight-cost-operations.js +4852 -323
  56. package/dist/src/generated/freight-invoice-operations.js +4894 -0
  57. package/dist/src/generated/logistics-procedure-operations.js +2707 -360
  58. package/dist/src/generated/pending-pick-operations.js +8244 -1196
  59. package/dist/src/generated/shipment-status-authority-operations.js +1157 -84
  60. package/dist/src/generated/stock-binding-operations.js +2779 -173
  61. package/dist/src/generated/stock-observation-operations.js +1274 -91
  62. package/dist/src/generated/tracking-quality-operations.js +407 -42
  63. package/dist/src/generated/trip-utilization-operations.js +1765 -138
  64. package/dist/src/generated/wspace-operations.js +428 -706
  65. package/dist/utils/driverLicenseExpiry.js +14 -0
  66. package/dist/utils/freightAcknowledgement.js +6 -5
  67. package/dist/utils/freightCommercial.js +194 -0
  68. package/dist/utils/freightRecovery.js +22 -22
  69. package/dist/utils/invoiceComparison.js +272 -0
  70. package/package.json +30 -29
  71. package/src/generated/consolidation-operations.ts +60 -559
  72. package/src/generated/container-condition-operations.ts +63 -265
  73. package/src/generated/container-operations.ts +37 -132
  74. package/src/generated/empty-reuse-operations.ts +83 -824
  75. package/src/generated/free-time-operations.ts +55 -284
  76. package/src/generated/freight-cost-operations.ts +373 -349
  77. package/src/generated/freight-invoice-operations.ts +830 -0
  78. package/src/generated/logistics-procedure-operations.ts +60 -414
  79. package/src/generated/pending-pick-operations.ts +48 -1239
  80. package/src/generated/shipment-status-authority-operations.ts +33 -113
  81. package/src/generated/stock-binding-operations.ts +29 -198
  82. package/src/generated/stock-observation-operations.ts +24 -111
  83. package/src/generated/tracking-quality-operations.ts +19 -57
  84. package/src/generated/trip-utilization-operations.ts +32 -166
  85. package/src/generated/wspace-operations.ts +284 -2906
  86. package/src/generated/wspace-types.ts +2 -8
  87. package/src/movethewheels/MoveTheWheelsRoot.tsx +6 -0
  88. package/src/movethewheels/MoveTheWheelsRoutes.tsx +2 -0
  89. package/src/movethewheels/components/ContainerEvidencePicker.tsx +12 -4
  90. package/src/movethewheels/components/FleetAlertsPanel.tsx +4 -2
  91. package/src/movethewheels/components/freight-cost/FreightCommercialEditor.tsx +236 -0
  92. package/src/movethewheels/components/freight-cost/FreightCommercialFactEditor.tsx +258 -0
  93. package/src/movethewheels/components/freight-cost/FreightCommercialHistory.tsx +90 -0
  94. package/src/movethewheels/components/freight-cost/FreightDraftForm.tsx +33 -4
  95. package/src/movethewheels/components/freight-cost/FreightHistory.tsx +4 -2
  96. package/src/movethewheels/components/freight-invoice/InvoiceForm.tsx +412 -0
  97. package/src/movethewheels/components/freight-invoice/InvoiceResults.tsx +162 -0
  98. package/src/movethewheels/hooks/useFleet.ts +1 -1
  99. package/src/movethewheels/hooks/useFleetIntelligence.ts +5 -1
  100. package/src/movethewheels/hooks/useFreightRecoveryAction.ts +2 -1
  101. package/src/movethewheels/hooks/useInvoiceComparisonRecovery.ts +227 -0
  102. package/src/movethewheels/pages/DriverDetailsPage.tsx +35 -9
  103. package/src/movethewheels/pages/FreightEstimatePage.tsx +15 -7
  104. package/src/movethewheels/pages/FreightInvoicePage.tsx +477 -0
  105. package/src/movethewheels/utils/driverLicenseExpiry.ts +25 -0
  106. package/src/movethewheels/utils/freightAcknowledgement.ts +3 -1
  107. package/src/movethewheels/utils/freightCommercial.ts +388 -0
  108. package/src/movethewheels/utils/freightRecovery.ts +6 -2
  109. package/src/movethewheels/utils/invoiceComparison.ts +520 -0
  110. package/src/operations/freight-cost/commercial.graphql +483 -0
  111. package/src/operations/freight-invoice/comparison.graphql +40 -0
  112. package/src/operations/wspace/freight-invoice-evidence.graphql +6 -0
  113. package/patches/braces@3.0.3.patch +0 -87
@@ -1,24 +1,17 @@
1
- export type Maybe<T> = T | null;
2
- export type InputMaybe<T> = Maybe<T>;
3
- export type Exact<T extends {
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
- export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
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 './stock-observation-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: {
@@ -233,244 +226,216 @@ export type RecordMtwStockObservationInput = {
233
226
  source?: InputMaybe<MtwStockBindingSourceInput>;
234
227
  };
235
228
  export type ReportedStockIssueFragment = {
236
- __typename?: 'MtwStockObservation';
237
229
  id: string;
238
230
  inventoryItemId: string;
239
231
  sequence: number;
240
- kind: MtwStockObservationKind;
241
- countScope: MtwStockObservationCountScope;
242
- observedCount?: number | null;
243
- reportedObservedAt?: string | null;
232
+ kind: Types.MtwStockObservationKind;
233
+ countScope: Types.MtwStockObservationCountScope;
234
+ observedCount: number | null;
235
+ reportedObservedAt: string | null;
244
236
  reason: string;
245
- status: MtwStockObservationStatus;
237
+ status: Types.MtwStockObservationStatus;
246
238
  recordedAt: string;
247
239
  createdBy: string;
248
240
  actorProvenance: string;
249
- onBehalfOf?: string | null;
250
- reportedCountUnit?: {
251
- __typename?: 'MtwStockBindingCountUnit';
252
- kind: MtwStockBindingCountUnitKind;
253
- reference?: string | null;
254
- revision?: string | null;
241
+ onBehalfOf: string | null;
242
+ reportedCountUnit: {
243
+ kind: Types.MtwStockBindingCountUnitKind;
244
+ reference: string | null;
245
+ revision: string | null;
255
246
  } | null;
256
- source?: {
257
- __typename?: 'MtwStockBindingSource';
258
- reference?: string | null;
259
- revision?: string | null;
247
+ source: {
248
+ reference: string | null;
249
+ revision: string | null;
260
250
  } | null;
261
251
  evidenceDeclarations: Array<{
262
- __typename?: 'MtwStockObservationEvidenceDeclaration';
263
252
  fileId: string;
264
253
  versionId: string;
265
- status: MtwStockObservationEvidenceStatus;
254
+ status: Types.MtwStockObservationEvidenceStatus;
266
255
  }>;
267
256
  attribution: {
268
- __typename?: 'MtwStockObservationAttribution';
269
257
  actorId: string;
270
258
  actorType: string;
271
259
  provenance: string;
272
- onBehalfOf?: string | null;
273
- originatingAppId?: string | null;
274
- workspaceAppId?: string | null;
275
- consentGrantedBy?: string | null;
260
+ onBehalfOf: string | null;
261
+ originatingAppId: string | null;
262
+ workspaceAppId: string | null;
263
+ consentGrantedBy: string | null;
276
264
  consentScopes: Array<string>;
277
- consentGrantedAt?: string | null;
278
- consentExpiresAt?: string | null;
265
+ consentGrantedAt: string | null;
266
+ consentExpiresAt: string | null;
279
267
  };
280
268
  };
281
269
  export type ObservationInventoryQueryVariables = Exact<{
282
- pagination?: InputMaybe<PaginationInput>;
270
+ pagination?: Types.PaginationInput | null | undefined;
283
271
  }>;
284
272
  export type ObservationInventoryQuery = {
285
- __typename?: 'Query';
286
273
  inventoryItemsCount: number;
287
274
  inventoryItems: Array<{
288
- __typename?: 'MtwInventoryItem';
289
275
  id: string;
290
- cargoItem?: {
291
- __typename?: 'MtwCargoItem';
276
+ cargoItem: {
292
277
  name: string;
293
278
  sku: string;
294
279
  } | null;
295
- warehouse?: {
296
- __typename?: 'MtwWarehouse';
280
+ warehouse: {
297
281
  name: string;
298
282
  code: string;
299
283
  } | null;
300
- location?: {
301
- __typename?: 'MtwWarehouseLocation';
284
+ location: {
302
285
  locationCode: string;
303
286
  } | null;
304
287
  }>;
305
288
  };
306
289
  export type StockIssueHistoryQueryVariables = Exact<{
307
- inventoryItemId: Scalars['ID']['input'];
308
- pagination?: InputMaybe<MtwContainerPagination>;
290
+ inventoryItemId: string;
291
+ pagination?: Types.MtwContainerPagination | null | undefined;
309
292
  }>;
310
293
  export type StockIssueHistoryQuery = {
311
- __typename?: 'Query';
312
294
  mtwStockObservationPage: {
313
- __typename?: 'MtwStockObservationPage';
314
295
  total: number;
315
296
  limit: number;
316
297
  offset: number;
317
298
  hasMore: boolean;
318
- nextOffset?: number | null;
299
+ nextOffset: number | null;
319
300
  items: Array<{
320
- __typename?: 'MtwStockObservation';
321
301
  id: string;
322
302
  inventoryItemId: string;
323
303
  sequence: number;
324
- kind: MtwStockObservationKind;
325
- countScope: MtwStockObservationCountScope;
326
- observedCount?: number | null;
327
- reportedObservedAt?: string | null;
304
+ kind: Types.MtwStockObservationKind;
305
+ countScope: Types.MtwStockObservationCountScope;
306
+ observedCount: number | null;
307
+ reportedObservedAt: string | null;
328
308
  reason: string;
329
- status: MtwStockObservationStatus;
309
+ status: Types.MtwStockObservationStatus;
330
310
  recordedAt: string;
331
311
  createdBy: string;
332
312
  actorProvenance: string;
333
- onBehalfOf?: string | null;
334
- reportedCountUnit?: {
335
- __typename?: 'MtwStockBindingCountUnit';
336
- kind: MtwStockBindingCountUnitKind;
337
- reference?: string | null;
338
- revision?: string | null;
313
+ onBehalfOf: string | null;
314
+ reportedCountUnit: {
315
+ kind: Types.MtwStockBindingCountUnitKind;
316
+ reference: string | null;
317
+ revision: string | null;
339
318
  } | null;
340
- source?: {
341
- __typename?: 'MtwStockBindingSource';
342
- reference?: string | null;
343
- revision?: string | null;
319
+ source: {
320
+ reference: string | null;
321
+ revision: string | null;
344
322
  } | null;
345
323
  evidenceDeclarations: Array<{
346
- __typename?: 'MtwStockObservationEvidenceDeclaration';
347
324
  fileId: string;
348
325
  versionId: string;
349
- status: MtwStockObservationEvidenceStatus;
326
+ status: Types.MtwStockObservationEvidenceStatus;
350
327
  }>;
351
328
  attribution: {
352
- __typename?: 'MtwStockObservationAttribution';
353
329
  actorId: string;
354
330
  actorType: string;
355
331
  provenance: string;
356
- onBehalfOf?: string | null;
357
- originatingAppId?: string | null;
358
- workspaceAppId?: string | null;
359
- consentGrantedBy?: string | null;
332
+ onBehalfOf: string | null;
333
+ originatingAppId: string | null;
334
+ workspaceAppId: string | null;
335
+ consentGrantedBy: string | null;
360
336
  consentScopes: Array<string>;
361
- consentGrantedAt?: string | null;
362
- consentExpiresAt?: string | null;
337
+ consentGrantedAt: string | null;
338
+ consentExpiresAt: string | null;
363
339
  };
364
340
  }>;
365
341
  };
366
342
  };
367
343
  export type ExactStockIssueQueryVariables = Exact<{
368
- inventoryItemId: Scalars['ID']['input'];
369
- id: Scalars['ID']['input'];
344
+ inventoryItemId: string;
345
+ id: string;
370
346
  }>;
371
347
  export type ExactStockIssueQuery = {
372
- __typename?: 'Query';
373
348
  mtwStockObservation: {
374
- __typename?: 'MtwStockObservation';
375
349
  id: string;
376
350
  inventoryItemId: string;
377
351
  sequence: number;
378
- kind: MtwStockObservationKind;
379
- countScope: MtwStockObservationCountScope;
380
- observedCount?: number | null;
381
- reportedObservedAt?: string | null;
352
+ kind: Types.MtwStockObservationKind;
353
+ countScope: Types.MtwStockObservationCountScope;
354
+ observedCount: number | null;
355
+ reportedObservedAt: string | null;
382
356
  reason: string;
383
- status: MtwStockObservationStatus;
357
+ status: Types.MtwStockObservationStatus;
384
358
  recordedAt: string;
385
359
  createdBy: string;
386
360
  actorProvenance: string;
387
- onBehalfOf?: string | null;
388
- reportedCountUnit?: {
389
- __typename?: 'MtwStockBindingCountUnit';
390
- kind: MtwStockBindingCountUnitKind;
391
- reference?: string | null;
392
- revision?: string | null;
361
+ onBehalfOf: string | null;
362
+ reportedCountUnit: {
363
+ kind: Types.MtwStockBindingCountUnitKind;
364
+ reference: string | null;
365
+ revision: string | null;
393
366
  } | null;
394
- source?: {
395
- __typename?: 'MtwStockBindingSource';
396
- reference?: string | null;
397
- revision?: string | null;
367
+ source: {
368
+ reference: string | null;
369
+ revision: string | null;
398
370
  } | null;
399
371
  evidenceDeclarations: Array<{
400
- __typename?: 'MtwStockObservationEvidenceDeclaration';
401
372
  fileId: string;
402
373
  versionId: string;
403
- status: MtwStockObservationEvidenceStatus;
374
+ status: Types.MtwStockObservationEvidenceStatus;
404
375
  }>;
405
376
  attribution: {
406
- __typename?: 'MtwStockObservationAttribution';
407
377
  actorId: string;
408
378
  actorType: string;
409
379
  provenance: string;
410
- onBehalfOf?: string | null;
411
- originatingAppId?: string | null;
412
- workspaceAppId?: string | null;
413
- consentGrantedBy?: string | null;
380
+ onBehalfOf: string | null;
381
+ originatingAppId: string | null;
382
+ workspaceAppId: string | null;
383
+ consentGrantedBy: string | null;
414
384
  consentScopes: Array<string>;
415
- consentGrantedAt?: string | null;
416
- consentExpiresAt?: string | null;
385
+ consentGrantedAt: string | null;
386
+ consentExpiresAt: string | null;
417
387
  };
418
388
  };
419
389
  };
420
390
  export type RecordStockIssueMutationVariables = Exact<{
421
- input: RecordMtwStockObservationInput;
391
+ input: Types.RecordMtwStockObservationInput;
422
392
  }>;
423
393
  export type RecordStockIssueMutation = {
424
- __typename?: 'Mutation';
425
394
  recordMtwStockObservation: {
426
- __typename?: 'MtwStockObservation';
427
395
  id: string;
428
396
  inventoryItemId: string;
429
397
  sequence: number;
430
- kind: MtwStockObservationKind;
431
- countScope: MtwStockObservationCountScope;
432
- observedCount?: number | null;
433
- reportedObservedAt?: string | null;
398
+ kind: Types.MtwStockObservationKind;
399
+ countScope: Types.MtwStockObservationCountScope;
400
+ observedCount: number | null;
401
+ reportedObservedAt: string | null;
434
402
  reason: string;
435
- status: MtwStockObservationStatus;
403
+ status: Types.MtwStockObservationStatus;
436
404
  recordedAt: string;
437
405
  createdBy: string;
438
406
  actorProvenance: string;
439
- onBehalfOf?: string | null;
440
- reportedCountUnit?: {
441
- __typename?: 'MtwStockBindingCountUnit';
442
- kind: MtwStockBindingCountUnitKind;
443
- reference?: string | null;
444
- revision?: string | null;
407
+ onBehalfOf: string | null;
408
+ reportedCountUnit: {
409
+ kind: Types.MtwStockBindingCountUnitKind;
410
+ reference: string | null;
411
+ revision: string | null;
445
412
  } | null;
446
- source?: {
447
- __typename?: 'MtwStockBindingSource';
448
- reference?: string | null;
449
- revision?: string | null;
413
+ source: {
414
+ reference: string | null;
415
+ revision: string | null;
450
416
  } | null;
451
417
  evidenceDeclarations: Array<{
452
- __typename?: 'MtwStockObservationEvidenceDeclaration';
453
418
  fileId: string;
454
419
  versionId: string;
455
- status: MtwStockObservationEvidenceStatus;
420
+ status: Types.MtwStockObservationEvidenceStatus;
456
421
  }>;
457
422
  attribution: {
458
- __typename?: 'MtwStockObservationAttribution';
459
423
  actorId: string;
460
424
  actorType: string;
461
425
  provenance: string;
462
- onBehalfOf?: string | null;
463
- originatingAppId?: string | null;
464
- workspaceAppId?: string | null;
465
- consentGrantedBy?: string | null;
426
+ onBehalfOf: string | null;
427
+ originatingAppId: string | null;
428
+ workspaceAppId: string | null;
429
+ consentGrantedBy: string | null;
466
430
  consentScopes: Array<string>;
467
- consentGrantedAt?: string | null;
468
- consentExpiresAt?: string | null;
431
+ consentGrantedAt: string | null;
432
+ consentExpiresAt: string | null;
469
433
  };
470
434
  };
471
435
  };
472
- export declare const ReportedStockIssueFragmentDoc: import('graphql').DocumentNode;
473
- export declare const ObservationInventoryDocument: import('graphql').DocumentNode;
474
- export declare const StockIssueHistoryDocument: import('graphql').DocumentNode;
475
- export declare const ExactStockIssueDocument: import('graphql').DocumentNode;
476
- export declare const RecordStockIssueDocument: import('graphql').DocumentNode;
436
+ export declare const ReportedStockIssueFragmentDoc: DocumentNode<ReportedStockIssueFragment, unknown>;
437
+ export declare const ObservationInventoryDocument: DocumentNode<ObservationInventoryQuery, ObservationInventoryQueryVariables>;
438
+ export declare const StockIssueHistoryDocument: DocumentNode<StockIssueHistoryQuery, StockIssueHistoryQueryVariables>;
439
+ export declare const ExactStockIssueDocument: DocumentNode<ExactStockIssueQuery, ExactStockIssueQueryVariables>;
440
+ export declare const RecordStockIssueDocument: DocumentNode<RecordStockIssueMutation, RecordStockIssueMutationVariables>;
441
+ export {};
@@ -1,24 +1,17 @@
1
- export type Maybe<T> = T | null;
2
- export type InputMaybe<T> = Maybe<T>;
3
- export type Exact<T extends {
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
- export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
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 './tracking-quality-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: {
@@ -4244,59 +4237,52 @@ export type WarehouseFilterInput = {
4244
4237
  };
4245
4238
  export type WarehouseType = 'COLD_STORAGE' | 'CROSS_DOCK' | 'DISTRIBUTION' | 'FULFILLMENT' | 'RETAIL';
4246
4239
  export type TrackingQualityIntegrationsQueryVariables = Exact<{
4247
- pagination: PaginationInput;
4240
+ pagination: Types.PaginationInput;
4248
4241
  }>;
4249
4242
  export type TrackingQualityIntegrationsQuery = {
4250
- __typename?: 'Query';
4251
4243
  integrations: Array<{
4252
- __typename?: 'MtwIntegration';
4253
4244
  id: string;
4254
4245
  name: string;
4255
- provider: MtwIntegrationProvider;
4256
- status: IntegrationStatus;
4246
+ provider: Types.MtwIntegrationProvider;
4247
+ status: Types.IntegrationStatus;
4257
4248
  }>;
4258
4249
  };
4259
4250
  export type TrackingQualityDeliveriesQueryVariables = Exact<{
4260
- id: Scalars['ID']['input'];
4261
- pagination: PaginationInput;
4251
+ id: string;
4252
+ pagination: Types.PaginationInput;
4262
4253
  }>;
4263
4254
  export type TrackingQualityDeliveriesQuery = {
4264
- __typename?: 'Query';
4265
- integration?: {
4266
- __typename?: 'MtwIntegration';
4255
+ integration: {
4267
4256
  id: string;
4268
4257
  name: string;
4269
- provider: MtwIntegrationProvider;
4270
- status: IntegrationStatus;
4258
+ provider: Types.MtwIntegrationProvider;
4259
+ status: Types.IntegrationStatus;
4271
4260
  events: Array<{
4272
- __typename?: 'MtwIntegrationEvent';
4273
4261
  id: string;
4274
- status: IntegrationEventStatus;
4262
+ status: Types.IntegrationEventStatus;
4275
4263
  receivedAt: string;
4276
- processedAt?: string | null;
4277
- outcomes?: unknown | null;
4264
+ processedAt: string | null;
4265
+ outcomes: unknown;
4278
4266
  }>;
4279
4267
  } | null;
4280
4268
  };
4281
4269
  export type TrackingQualityShipmentQueryVariables = Exact<{
4282
- id: Scalars['ID']['input'];
4270
+ id: string;
4283
4271
  }>;
4284
4272
  export type TrackingQualityShipmentQuery = {
4285
- __typename?: 'Query';
4286
- shipment?: {
4287
- __typename?: 'MtwShipment';
4273
+ shipment: {
4288
4274
  id: string;
4289
4275
  shipmentNumber: string;
4290
- status: ShipmentStatus;
4291
- trackingNumber?: string | null;
4276
+ status: Types.ShipmentStatus;
4277
+ trackingNumber: string | null;
4292
4278
  trackingEvents: Array<{
4293
- __typename?: 'MtwTrackingEvent';
4294
4279
  id: string;
4295
- eventType: TrackingEventType;
4280
+ eventType: Types.TrackingEventType;
4296
4281
  timestamp: string;
4297
4282
  }>;
4298
4283
  } | null;
4299
4284
  };
4300
- export declare const TrackingQualityIntegrationsDocument: import('graphql').DocumentNode;
4301
- export declare const TrackingQualityDeliveriesDocument: import('graphql').DocumentNode;
4302
- export declare const TrackingQualityShipmentDocument: import('graphql').DocumentNode;
4285
+ export declare const TrackingQualityIntegrationsDocument: DocumentNode<TrackingQualityIntegrationsQuery, TrackingQualityIntegrationsQueryVariables>;
4286
+ export declare const TrackingQualityDeliveriesDocument: DocumentNode<TrackingQualityDeliveriesQuery, TrackingQualityDeliveriesQueryVariables>;
4287
+ export declare const TrackingQualityShipmentDocument: DocumentNode<TrackingQualityShipmentQuery, TrackingQualityShipmentQueryVariables>;
4288
+ export {};