@burdenoff/microfe-movethewheels 2026.1016.3 → 2026.1016.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/README.md +10 -0
  2. package/dist/MoveTheWheelsRoot.js +5 -0
  3. package/dist/MoveTheWheelsRoutes.js +25 -21
  4. package/dist/components/ContainerEvidencePicker.js +55 -55
  5. package/dist/components/FleetAlertsPanel.js +2 -2
  6. package/dist/components/freight-invoice/InvoiceForm.js +366 -0
  7. package/dist/components/freight-invoice/InvoiceResults.js +240 -0
  8. package/dist/generated/consolidation-operations.d.ts +195 -265
  9. package/dist/generated/container-condition-operations.d.ts +124 -187
  10. package/dist/generated/container-operations.d.ts +59 -85
  11. package/dist/generated/empty-reuse-operations.d.ts +165 -271
  12. package/dist/generated/free-time-operations.d.ts +120 -184
  13. package/dist/generated/freight-cost-operations.d.ts +307 -476
  14. package/dist/generated/freight-invoice-operations.d.ts +1447 -0
  15. package/dist/generated/logistics-procedure-operations.d.ts +100 -156
  16. package/dist/generated/pending-pick-operations.d.ts +769 -1025
  17. package/dist/generated/shipment-status-authority-operations.d.ts +82 -103
  18. package/dist/generated/stock-binding-operations.d.ts +188 -260
  19. package/dist/generated/stock-observation-operations.d.ts +103 -138
  20. package/dist/generated/tracking-quality-operations.d.ts +27 -41
  21. package/dist/generated/trip-utilization-operations.d.ts +137 -185
  22. package/dist/generated/wspace-operations.d.ts +628 -2272
  23. package/dist/generated/wspace-types.d.ts +4 -23
  24. package/dist/hooks/useInvoiceComparisonRecovery.js +118 -0
  25. package/dist/movethewheels/components/ContainerEvidencePicker.d.ts +2 -1
  26. package/dist/movethewheels/components/freight-invoice/InvoiceForm.d.ts +19 -0
  27. package/dist/movethewheels/components/freight-invoice/InvoiceResults.d.ts +9 -0
  28. package/dist/movethewheels/hooks/useFleet.d.ts +1 -1
  29. package/dist/movethewheels/hooks/useFleetIntelligence.d.ts +1 -1
  30. package/dist/movethewheels/hooks/useInvoiceComparisonRecovery.d.ts +22 -0
  31. package/dist/movethewheels/hooks/useProcedureSelection.d.ts +1 -3
  32. package/dist/movethewheels/pages/FreightInvoicePage.d.ts +10 -0
  33. package/dist/movethewheels/utils/driverLicenseExpiry.d.ts +6 -0
  34. package/dist/movethewheels/utils/invoiceComparison.d.ts +32 -0
  35. package/dist/pages/DriverDetailsPage.js +306 -282
  36. package/dist/pages/FreightEstimatePage.js +1 -0
  37. package/dist/pages/FreightInvoicePage.js +346 -0
  38. package/dist/src/generated/consolidation-operations.js +3961 -503
  39. package/dist/src/generated/container-condition-operations.js +2968 -206
  40. package/dist/src/generated/container-operations.js +997 -99
  41. package/dist/src/generated/empty-reuse-operations.js +4811 -747
  42. package/dist/src/generated/free-time-operations.js +2824 -233
  43. package/dist/src/generated/freight-cost-operations.js +4852 -812
  44. package/dist/src/generated/freight-invoice-operations.js +4894 -0
  45. package/dist/src/generated/logistics-procedure-operations.js +2707 -360
  46. package/dist/src/generated/pending-pick-operations.js +8244 -1196
  47. package/dist/src/generated/shipment-status-authority-operations.js +1157 -84
  48. package/dist/src/generated/stock-binding-operations.js +2779 -173
  49. package/dist/src/generated/stock-observation-operations.js +1274 -91
  50. package/dist/src/generated/tracking-quality-operations.js +407 -42
  51. package/dist/src/generated/trip-utilization-operations.js +1765 -138
  52. package/dist/src/generated/wspace-operations.js +428 -706
  53. package/dist/utils/driverLicenseExpiry.js +14 -0
  54. package/dist/utils/invoiceComparison.js +272 -0
  55. package/package.json +29 -29
  56. package/src/generated/consolidation-operations.ts +60 -559
  57. package/src/generated/container-condition-operations.ts +63 -265
  58. package/src/generated/container-operations.ts +37 -132
  59. package/src/generated/empty-reuse-operations.ts +83 -824
  60. package/src/generated/free-time-operations.ts +55 -284
  61. package/src/generated/freight-cost-operations.ts +42 -848
  62. package/src/generated/freight-invoice-operations.ts +830 -0
  63. package/src/generated/logistics-procedure-operations.ts +60 -414
  64. package/src/generated/pending-pick-operations.ts +48 -1239
  65. package/src/generated/shipment-status-authority-operations.ts +33 -113
  66. package/src/generated/stock-binding-operations.ts +29 -198
  67. package/src/generated/stock-observation-operations.ts +24 -111
  68. package/src/generated/tracking-quality-operations.ts +19 -57
  69. package/src/generated/trip-utilization-operations.ts +32 -166
  70. package/src/generated/wspace-operations.ts +284 -2906
  71. package/src/generated/wspace-types.ts +2 -8
  72. package/src/movethewheels/MoveTheWheelsRoot.tsx +6 -0
  73. package/src/movethewheels/MoveTheWheelsRoutes.tsx +2 -0
  74. package/src/movethewheels/components/ContainerEvidencePicker.tsx +12 -4
  75. package/src/movethewheels/components/FleetAlertsPanel.tsx +4 -2
  76. package/src/movethewheels/components/freight-invoice/InvoiceForm.tsx +412 -0
  77. package/src/movethewheels/components/freight-invoice/InvoiceResults.tsx +162 -0
  78. package/src/movethewheels/hooks/useFleet.ts +1 -1
  79. package/src/movethewheels/hooks/useFleetIntelligence.ts +5 -1
  80. package/src/movethewheels/hooks/useInvoiceComparisonRecovery.ts +227 -0
  81. package/src/movethewheels/pages/DriverDetailsPage.tsx +35 -9
  82. package/src/movethewheels/pages/FreightEstimatePage.tsx +1 -0
  83. package/src/movethewheels/pages/FreightInvoicePage.tsx +477 -0
  84. package/src/movethewheels/utils/driverLicenseExpiry.ts +25 -0
  85. package/src/movethewheels/utils/invoiceComparison.ts +520 -0
  86. package/src/operations/freight-invoice/comparison.graphql +40 -0
  87. package/src/operations/wspace/freight-invoice-evidence.graphql +6 -0
  88. package/patches/braces@3.0.3.patch +0 -87
@@ -1,11 +1,12 @@
1
- import { gql } from '@apollo/client';
1
+ /** Internal type. DO NOT USE DIRECTLY. */
2
+ type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
3
+ /** Internal type. DO NOT USE DIRECTLY. */
4
+ export type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };
5
+ import type * as Types from './stock-observation-operations';
6
+
7
+ import type { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
2
8
  export type Maybe<T> = T | null;
3
9
  export type InputMaybe<T> = Maybe<T>;
4
- export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
5
- export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };
6
- export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };
7
- export type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> = { [_ in K]?: never };
8
- export type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };
9
10
  /** All built-in and custom scalars, mapped to their actual values */
10
11
  export type Scalars = {
11
12
  ID: { input: string; output: string; }
@@ -246,128 +247,40 @@ export type RecordMtwStockObservationInput = {
246
247
  source?: InputMaybe<MtwStockBindingSourceInput>;
247
248
  };
248
249
 
249
- export type ReportedStockIssueFragment = { __typename?: 'MtwStockObservation', id: string, inventoryItemId: string, sequence: number, kind: MtwStockObservationKind, countScope: MtwStockObservationCountScope, observedCount?: number | null, reportedObservedAt?: string | null, reason: string, status: MtwStockObservationStatus, recordedAt: string, createdBy: string, actorProvenance: string, onBehalfOf?: string | null, reportedCountUnit?: { __typename?: 'MtwStockBindingCountUnit', kind: MtwStockBindingCountUnitKind, reference?: string | null, revision?: string | null } | null, source?: { __typename?: 'MtwStockBindingSource', reference?: string | null, revision?: string | null } | null, evidenceDeclarations: Array<{ __typename?: 'MtwStockObservationEvidenceDeclaration', fileId: string, versionId: string, status: MtwStockObservationEvidenceStatus }>, attribution: { __typename?: 'MtwStockObservationAttribution', actorId: string, actorType: string, provenance: string, onBehalfOf?: string | null, originatingAppId?: string | null, workspaceAppId?: string | null, consentGrantedBy?: string | null, consentScopes: Array<string>, consentGrantedAt?: string | null, consentExpiresAt?: string | null } };
250
+ export type ReportedStockIssueFragment = { id: string, inventoryItemId: string, sequence: number, kind: Types.MtwStockObservationKind, countScope: Types.MtwStockObservationCountScope, observedCount: number | null, reportedObservedAt: string | null, reason: string, status: Types.MtwStockObservationStatus, recordedAt: string, createdBy: string, actorProvenance: string, onBehalfOf: string | null, reportedCountUnit: { kind: Types.MtwStockBindingCountUnitKind, reference: string | null, revision: string | null } | null, source: { reference: string | null, revision: string | null } | null, evidenceDeclarations: Array<{ fileId: string, versionId: string, status: Types.MtwStockObservationEvidenceStatus }>, attribution: { actorId: string, actorType: string, provenance: string, onBehalfOf: string | null, originatingAppId: string | null, workspaceAppId: string | null, consentGrantedBy: string | null, consentScopes: Array<string>, consentGrantedAt: string | null, consentExpiresAt: string | null } };
250
251
 
251
252
  export type ObservationInventoryQueryVariables = Exact<{
252
- pagination?: InputMaybe<PaginationInput>;
253
+ pagination?: Types.PaginationInput | null | undefined;
253
254
  }>;
254
255
 
255
256
 
256
- export type ObservationInventoryQuery = { __typename?: 'Query', inventoryItemsCount: number, inventoryItems: Array<{ __typename?: 'MtwInventoryItem', id: string, cargoItem?: { __typename?: 'MtwCargoItem', name: string, sku: string } | null, warehouse?: { __typename?: 'MtwWarehouse', name: string, code: string } | null, location?: { __typename?: 'MtwWarehouseLocation', locationCode: string } | null }> };
257
+ export type ObservationInventoryQuery = { inventoryItemsCount: number, inventoryItems: Array<{ id: string, cargoItem: { name: string, sku: string } | null, warehouse: { name: string, code: string } | null, location: { locationCode: string } | null }> };
257
258
 
258
259
  export type StockIssueHistoryQueryVariables = Exact<{
259
- inventoryItemId: Scalars['ID']['input'];
260
- pagination?: InputMaybe<MtwContainerPagination>;
260
+ inventoryItemId: string;
261
+ pagination?: Types.MtwContainerPagination | null | undefined;
261
262
  }>;
262
263
 
263
264
 
264
- export type StockIssueHistoryQuery = { __typename?: 'Query', mtwStockObservationPage: { __typename?: 'MtwStockObservationPage', total: number, limit: number, offset: number, hasMore: boolean, nextOffset?: number | null, items: Array<{ __typename?: 'MtwStockObservation', id: string, inventoryItemId: string, sequence: number, kind: MtwStockObservationKind, countScope: MtwStockObservationCountScope, observedCount?: number | null, reportedObservedAt?: string | null, reason: string, status: MtwStockObservationStatus, recordedAt: string, createdBy: string, actorProvenance: string, onBehalfOf?: string | null, reportedCountUnit?: { __typename?: 'MtwStockBindingCountUnit', kind: MtwStockBindingCountUnitKind, reference?: string | null, revision?: string | null } | null, source?: { __typename?: 'MtwStockBindingSource', reference?: string | null, revision?: string | null } | null, evidenceDeclarations: Array<{ __typename?: 'MtwStockObservationEvidenceDeclaration', fileId: string, versionId: string, status: MtwStockObservationEvidenceStatus }>, attribution: { __typename?: 'MtwStockObservationAttribution', actorId: string, actorType: string, provenance: string, onBehalfOf?: string | null, originatingAppId?: string | null, workspaceAppId?: string | null, consentGrantedBy?: string | null, consentScopes: Array<string>, consentGrantedAt?: string | null, consentExpiresAt?: string | null } }> } };
265
+ export type StockIssueHistoryQuery = { mtwStockObservationPage: { total: number, limit: number, offset: number, hasMore: boolean, nextOffset: number | null, items: Array<{ id: string, inventoryItemId: string, sequence: number, kind: Types.MtwStockObservationKind, countScope: Types.MtwStockObservationCountScope, observedCount: number | null, reportedObservedAt: string | null, reason: string, status: Types.MtwStockObservationStatus, recordedAt: string, createdBy: string, actorProvenance: string, onBehalfOf: string | null, reportedCountUnit: { kind: Types.MtwStockBindingCountUnitKind, reference: string | null, revision: string | null } | null, source: { reference: string | null, revision: string | null } | null, evidenceDeclarations: Array<{ fileId: string, versionId: string, status: Types.MtwStockObservationEvidenceStatus }>, attribution: { actorId: string, actorType: string, provenance: string, onBehalfOf: string | null, originatingAppId: string | null, workspaceAppId: string | null, consentGrantedBy: string | null, consentScopes: Array<string>, consentGrantedAt: string | null, consentExpiresAt: string | null } }> } };
265
266
 
266
267
  export type ExactStockIssueQueryVariables = Exact<{
267
- inventoryItemId: Scalars['ID']['input'];
268
- id: Scalars['ID']['input'];
268
+ inventoryItemId: string;
269
+ id: string;
269
270
  }>;
270
271
 
271
272
 
272
- export type ExactStockIssueQuery = { __typename?: 'Query', mtwStockObservation: { __typename?: 'MtwStockObservation', id: string, inventoryItemId: string, sequence: number, kind: MtwStockObservationKind, countScope: MtwStockObservationCountScope, observedCount?: number | null, reportedObservedAt?: string | null, reason: string, status: MtwStockObservationStatus, recordedAt: string, createdBy: string, actorProvenance: string, onBehalfOf?: string | null, reportedCountUnit?: { __typename?: 'MtwStockBindingCountUnit', kind: MtwStockBindingCountUnitKind, reference?: string | null, revision?: string | null } | null, source?: { __typename?: 'MtwStockBindingSource', reference?: string | null, revision?: string | null } | null, evidenceDeclarations: Array<{ __typename?: 'MtwStockObservationEvidenceDeclaration', fileId: string, versionId: string, status: MtwStockObservationEvidenceStatus }>, attribution: { __typename?: 'MtwStockObservationAttribution', actorId: string, actorType: string, provenance: string, onBehalfOf?: string | null, originatingAppId?: string | null, workspaceAppId?: string | null, consentGrantedBy?: string | null, consentScopes: Array<string>, consentGrantedAt?: string | null, consentExpiresAt?: string | null } } };
273
+ export type ExactStockIssueQuery = { mtwStockObservation: { id: string, inventoryItemId: string, sequence: number, kind: Types.MtwStockObservationKind, countScope: Types.MtwStockObservationCountScope, observedCount: number | null, reportedObservedAt: string | null, reason: string, status: Types.MtwStockObservationStatus, recordedAt: string, createdBy: string, actorProvenance: string, onBehalfOf: string | null, reportedCountUnit: { kind: Types.MtwStockBindingCountUnitKind, reference: string | null, revision: string | null } | null, source: { reference: string | null, revision: string | null } | null, evidenceDeclarations: Array<{ fileId: string, versionId: string, status: Types.MtwStockObservationEvidenceStatus }>, attribution: { actorId: string, actorType: string, provenance: string, onBehalfOf: string | null, originatingAppId: string | null, workspaceAppId: string | null, consentGrantedBy: string | null, consentScopes: Array<string>, consentGrantedAt: string | null, consentExpiresAt: string | null } } };
273
274
 
274
275
  export type RecordStockIssueMutationVariables = Exact<{
275
- input: RecordMtwStockObservationInput;
276
+ input: Types.RecordMtwStockObservationInput;
276
277
  }>;
277
278
 
278
279
 
279
- export type RecordStockIssueMutation = { __typename?: 'Mutation', recordMtwStockObservation: { __typename?: 'MtwStockObservation', id: string, inventoryItemId: string, sequence: number, kind: MtwStockObservationKind, countScope: MtwStockObservationCountScope, observedCount?: number | null, reportedObservedAt?: string | null, reason: string, status: MtwStockObservationStatus, recordedAt: string, createdBy: string, actorProvenance: string, onBehalfOf?: string | null, reportedCountUnit?: { __typename?: 'MtwStockBindingCountUnit', kind: MtwStockBindingCountUnitKind, reference?: string | null, revision?: string | null } | null, source?: { __typename?: 'MtwStockBindingSource', reference?: string | null, revision?: string | null } | null, evidenceDeclarations: Array<{ __typename?: 'MtwStockObservationEvidenceDeclaration', fileId: string, versionId: string, status: MtwStockObservationEvidenceStatus }>, attribution: { __typename?: 'MtwStockObservationAttribution', actorId: string, actorType: string, provenance: string, onBehalfOf?: string | null, originatingAppId?: string | null, workspaceAppId?: string | null, consentGrantedBy?: string | null, consentScopes: Array<string>, consentGrantedAt?: string | null, consentExpiresAt?: string | null } } };
280
-
281
- export const ReportedStockIssueFragmentDoc = gql`
282
- fragment ReportedStockIssue on MtwStockObservation {
283
- id
284
- inventoryItemId
285
- sequence
286
- kind
287
- countScope
288
- observedCount
289
- reportedObservedAt
290
- reason
291
- status
292
- recordedAt
293
- createdBy
294
- actorProvenance
295
- onBehalfOf
296
- reportedCountUnit {
297
- kind
298
- reference
299
- revision
300
- }
301
- source {
302
- reference
303
- revision
304
- }
305
- evidenceDeclarations {
306
- fileId
307
- versionId
308
- status
309
- }
310
- attribution {
311
- actorId
312
- actorType
313
- provenance
314
- onBehalfOf
315
- originatingAppId
316
- workspaceAppId
317
- consentGrantedBy
318
- consentScopes
319
- consentGrantedAt
320
- consentExpiresAt
321
- }
322
- }
323
- `;
324
- export const ObservationInventoryDocument = gql`
325
- query ObservationInventory($pagination: PaginationInput) {
326
- inventoryItems(pagination: $pagination) {
327
- id
328
- cargoItem {
329
- name
330
- sku
331
- }
332
- warehouse {
333
- name
334
- code
335
- }
336
- location {
337
- locationCode
338
- }
339
- }
340
- inventoryItemsCount
341
- }
342
- `;
343
- export const StockIssueHistoryDocument = gql`
344
- query StockIssueHistory($inventoryItemId: ID!, $pagination: MtwContainerPagination) {
345
- mtwStockObservationPage(
346
- inventoryItemId: $inventoryItemId
347
- pagination: $pagination
348
- ) {
349
- items {
350
- ...ReportedStockIssue
351
- }
352
- total
353
- limit
354
- offset
355
- hasMore
356
- nextOffset
357
- }
358
- }
359
- ${ReportedStockIssueFragmentDoc}`;
360
- export const ExactStockIssueDocument = gql`
361
- query ExactStockIssue($inventoryItemId: ID!, $id: ID!) {
362
- mtwStockObservation(inventoryItemId: $inventoryItemId, id: $id) {
363
- ...ReportedStockIssue
364
- }
365
- }
366
- ${ReportedStockIssueFragmentDoc}`;
367
- export const RecordStockIssueDocument = gql`
368
- mutation RecordStockIssue($input: RecordMtwStockObservationInput!) {
369
- recordMtwStockObservation(input: $input) {
370
- ...ReportedStockIssue
371
- }
372
- }
373
- ${ReportedStockIssueFragmentDoc}`;
280
+ export type RecordStockIssueMutation = { recordMtwStockObservation: { id: string, inventoryItemId: string, sequence: number, kind: Types.MtwStockObservationKind, countScope: Types.MtwStockObservationCountScope, observedCount: number | null, reportedObservedAt: string | null, reason: string, status: Types.MtwStockObservationStatus, recordedAt: string, createdBy: string, actorProvenance: string, onBehalfOf: string | null, reportedCountUnit: { kind: Types.MtwStockBindingCountUnitKind, reference: string | null, revision: string | null } | null, source: { reference: string | null, revision: string | null } | null, evidenceDeclarations: Array<{ fileId: string, versionId: string, status: Types.MtwStockObservationEvidenceStatus }>, attribution: { actorId: string, actorType: string, provenance: string, onBehalfOf: string | null, originatingAppId: string | null, workspaceAppId: string | null, consentGrantedBy: string | null, consentScopes: Array<string>, consentGrantedAt: string | null, consentExpiresAt: string | null } } };
281
+
282
+ export const ReportedStockIssueFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ReportedStockIssue"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwStockObservation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"inventoryItemId"}},{"kind":"Field","name":{"kind":"Name","value":"sequence"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"countScope"}},{"kind":"Field","name":{"kind":"Name","value":"observedCount"}},{"kind":"Field","name":{"kind":"Name","value":"reportedObservedAt"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"recordedAt"}},{"kind":"Field","name":{"kind":"Name","value":"createdBy"}},{"kind":"Field","name":{"kind":"Name","value":"actorProvenance"}},{"kind":"Field","name":{"kind":"Name","value":"onBehalfOf"}},{"kind":"Field","name":{"kind":"Name","value":"reportedCountUnit"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"reference"}},{"kind":"Field","name":{"kind":"Name","value":"revision"}}]}},{"kind":"Field","name":{"kind":"Name","value":"source"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"reference"}},{"kind":"Field","name":{"kind":"Name","value":"revision"}}]}},{"kind":"Field","name":{"kind":"Name","value":"evidenceDeclarations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fileId"}},{"kind":"Field","name":{"kind":"Name","value":"versionId"}},{"kind":"Field","name":{"kind":"Name","value":"status"}}]}},{"kind":"Field","name":{"kind":"Name","value":"attribution"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"actorId"}},{"kind":"Field","name":{"kind":"Name","value":"actorType"}},{"kind":"Field","name":{"kind":"Name","value":"provenance"}},{"kind":"Field","name":{"kind":"Name","value":"onBehalfOf"}},{"kind":"Field","name":{"kind":"Name","value":"originatingAppId"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceAppId"}},{"kind":"Field","name":{"kind":"Name","value":"consentGrantedBy"}},{"kind":"Field","name":{"kind":"Name","value":"consentScopes"}},{"kind":"Field","name":{"kind":"Name","value":"consentGrantedAt"}},{"kind":"Field","name":{"kind":"Name","value":"consentExpiresAt"}}]}}]}}]} as unknown as DocumentNode<ReportedStockIssueFragment, unknown>;
283
+ export const ObservationInventoryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ObservationInventory"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"PaginationInput"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"inventoryItems"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"cargoItem"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}}]}},{"kind":"Field","name":{"kind":"Name","value":"warehouse"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}},{"kind":"Field","name":{"kind":"Name","value":"location"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"locationCode"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"inventoryItemsCount"}}]}}]} as unknown as DocumentNode<ObservationInventoryQuery, ObservationInventoryQueryVariables>;
284
+ export const StockIssueHistoryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"StockIssueHistory"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"inventoryItemId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"MtwContainerPagination"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"mtwStockObservationPage"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"inventoryItemId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"inventoryItemId"}}},{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ReportedStockIssue"}}]}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"limit"}},{"kind":"Field","name":{"kind":"Name","value":"offset"}},{"kind":"Field","name":{"kind":"Name","value":"hasMore"}},{"kind":"Field","name":{"kind":"Name","value":"nextOffset"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ReportedStockIssue"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwStockObservation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"inventoryItemId"}},{"kind":"Field","name":{"kind":"Name","value":"sequence"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"countScope"}},{"kind":"Field","name":{"kind":"Name","value":"observedCount"}},{"kind":"Field","name":{"kind":"Name","value":"reportedObservedAt"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"recordedAt"}},{"kind":"Field","name":{"kind":"Name","value":"createdBy"}},{"kind":"Field","name":{"kind":"Name","value":"actorProvenance"}},{"kind":"Field","name":{"kind":"Name","value":"onBehalfOf"}},{"kind":"Field","name":{"kind":"Name","value":"reportedCountUnit"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"reference"}},{"kind":"Field","name":{"kind":"Name","value":"revision"}}]}},{"kind":"Field","name":{"kind":"Name","value":"source"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"reference"}},{"kind":"Field","name":{"kind":"Name","value":"revision"}}]}},{"kind":"Field","name":{"kind":"Name","value":"evidenceDeclarations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fileId"}},{"kind":"Field","name":{"kind":"Name","value":"versionId"}},{"kind":"Field","name":{"kind":"Name","value":"status"}}]}},{"kind":"Field","name":{"kind":"Name","value":"attribution"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"actorId"}},{"kind":"Field","name":{"kind":"Name","value":"actorType"}},{"kind":"Field","name":{"kind":"Name","value":"provenance"}},{"kind":"Field","name":{"kind":"Name","value":"onBehalfOf"}},{"kind":"Field","name":{"kind":"Name","value":"originatingAppId"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceAppId"}},{"kind":"Field","name":{"kind":"Name","value":"consentGrantedBy"}},{"kind":"Field","name":{"kind":"Name","value":"consentScopes"}},{"kind":"Field","name":{"kind":"Name","value":"consentGrantedAt"}},{"kind":"Field","name":{"kind":"Name","value":"consentExpiresAt"}}]}}]}}]} as unknown as DocumentNode<StockIssueHistoryQuery, StockIssueHistoryQueryVariables>;
285
+ export const ExactStockIssueDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ExactStockIssue"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"inventoryItemId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"mtwStockObservation"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"inventoryItemId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"inventoryItemId"}}},{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ReportedStockIssue"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ReportedStockIssue"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwStockObservation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"inventoryItemId"}},{"kind":"Field","name":{"kind":"Name","value":"sequence"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"countScope"}},{"kind":"Field","name":{"kind":"Name","value":"observedCount"}},{"kind":"Field","name":{"kind":"Name","value":"reportedObservedAt"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"recordedAt"}},{"kind":"Field","name":{"kind":"Name","value":"createdBy"}},{"kind":"Field","name":{"kind":"Name","value":"actorProvenance"}},{"kind":"Field","name":{"kind":"Name","value":"onBehalfOf"}},{"kind":"Field","name":{"kind":"Name","value":"reportedCountUnit"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"reference"}},{"kind":"Field","name":{"kind":"Name","value":"revision"}}]}},{"kind":"Field","name":{"kind":"Name","value":"source"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"reference"}},{"kind":"Field","name":{"kind":"Name","value":"revision"}}]}},{"kind":"Field","name":{"kind":"Name","value":"evidenceDeclarations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fileId"}},{"kind":"Field","name":{"kind":"Name","value":"versionId"}},{"kind":"Field","name":{"kind":"Name","value":"status"}}]}},{"kind":"Field","name":{"kind":"Name","value":"attribution"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"actorId"}},{"kind":"Field","name":{"kind":"Name","value":"actorType"}},{"kind":"Field","name":{"kind":"Name","value":"provenance"}},{"kind":"Field","name":{"kind":"Name","value":"onBehalfOf"}},{"kind":"Field","name":{"kind":"Name","value":"originatingAppId"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceAppId"}},{"kind":"Field","name":{"kind":"Name","value":"consentGrantedBy"}},{"kind":"Field","name":{"kind":"Name","value":"consentScopes"}},{"kind":"Field","name":{"kind":"Name","value":"consentGrantedAt"}},{"kind":"Field","name":{"kind":"Name","value":"consentExpiresAt"}}]}}]}}]} as unknown as DocumentNode<ExactStockIssueQuery, ExactStockIssueQueryVariables>;
286
+ export const RecordStockIssueDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"RecordStockIssue"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"RecordMtwStockObservationInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"recordMtwStockObservation"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ReportedStockIssue"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ReportedStockIssue"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwStockObservation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"inventoryItemId"}},{"kind":"Field","name":{"kind":"Name","value":"sequence"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"countScope"}},{"kind":"Field","name":{"kind":"Name","value":"observedCount"}},{"kind":"Field","name":{"kind":"Name","value":"reportedObservedAt"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"recordedAt"}},{"kind":"Field","name":{"kind":"Name","value":"createdBy"}},{"kind":"Field","name":{"kind":"Name","value":"actorProvenance"}},{"kind":"Field","name":{"kind":"Name","value":"onBehalfOf"}},{"kind":"Field","name":{"kind":"Name","value":"reportedCountUnit"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"reference"}},{"kind":"Field","name":{"kind":"Name","value":"revision"}}]}},{"kind":"Field","name":{"kind":"Name","value":"source"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"reference"}},{"kind":"Field","name":{"kind":"Name","value":"revision"}}]}},{"kind":"Field","name":{"kind":"Name","value":"evidenceDeclarations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fileId"}},{"kind":"Field","name":{"kind":"Name","value":"versionId"}},{"kind":"Field","name":{"kind":"Name","value":"status"}}]}},{"kind":"Field","name":{"kind":"Name","value":"attribution"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"actorId"}},{"kind":"Field","name":{"kind":"Name","value":"actorType"}},{"kind":"Field","name":{"kind":"Name","value":"provenance"}},{"kind":"Field","name":{"kind":"Name","value":"onBehalfOf"}},{"kind":"Field","name":{"kind":"Name","value":"originatingAppId"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceAppId"}},{"kind":"Field","name":{"kind":"Name","value":"consentGrantedBy"}},{"kind":"Field","name":{"kind":"Name","value":"consentScopes"}},{"kind":"Field","name":{"kind":"Name","value":"consentGrantedAt"}},{"kind":"Field","name":{"kind":"Name","value":"consentExpiresAt"}}]}}]}}]} as unknown as DocumentNode<RecordStockIssueMutation, RecordStockIssueMutationVariables>;
@@ -1,11 +1,12 @@
1
- import { gql } from '@apollo/client';
1
+ /** Internal type. DO NOT USE DIRECTLY. */
2
+ type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
3
+ /** Internal type. DO NOT USE DIRECTLY. */
4
+ export type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };
5
+ import type * as Types from './tracking-quality-operations';
6
+
7
+ import type { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
2
8
  export type Maybe<T> = T | null;
3
9
  export type InputMaybe<T> = Maybe<T>;
4
- export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
5
- export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };
6
- export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };
7
- export type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> = { [_ in K]?: never };
8
- export type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };
9
10
  /** All built-in and custom scalars, mapped to their actual values */
10
11
  export type Scalars = {
11
12
  ID: { input: string; output: string; }
@@ -5257,67 +5258,28 @@ export type WarehouseType =
5257
5258
  | 'RETAIL';
5258
5259
 
5259
5260
  export type TrackingQualityIntegrationsQueryVariables = Exact<{
5260
- pagination: PaginationInput;
5261
+ pagination: Types.PaginationInput;
5261
5262
  }>;
5262
5263
 
5263
5264
 
5264
- export type TrackingQualityIntegrationsQuery = { __typename?: 'Query', integrations: Array<{ __typename?: 'MtwIntegration', id: string, name: string, provider: MtwIntegrationProvider, status: IntegrationStatus }> };
5265
+ export type TrackingQualityIntegrationsQuery = { integrations: Array<{ id: string, name: string, provider: Types.MtwIntegrationProvider, status: Types.IntegrationStatus }> };
5265
5266
 
5266
5267
  export type TrackingQualityDeliveriesQueryVariables = Exact<{
5267
- id: Scalars['ID']['input'];
5268
- pagination: PaginationInput;
5268
+ id: string;
5269
+ pagination: Types.PaginationInput;
5269
5270
  }>;
5270
5271
 
5271
5272
 
5272
- export type TrackingQualityDeliveriesQuery = { __typename?: 'Query', integration?: { __typename?: 'MtwIntegration', id: string, name: string, provider: MtwIntegrationProvider, status: IntegrationStatus, events: Array<{ __typename?: 'MtwIntegrationEvent', id: string, status: IntegrationEventStatus, receivedAt: string, processedAt?: string | null, outcomes?: unknown | null }> } | null };
5273
+ export type TrackingQualityDeliveriesQuery = { integration: { id: string, name: string, provider: Types.MtwIntegrationProvider, status: Types.IntegrationStatus, events: Array<{ id: string, status: Types.IntegrationEventStatus, receivedAt: string, processedAt: string | null, outcomes: unknown }> } | null };
5273
5274
 
5274
5275
  export type TrackingQualityShipmentQueryVariables = Exact<{
5275
- id: Scalars['ID']['input'];
5276
+ id: string;
5276
5277
  }>;
5277
5278
 
5278
5279
 
5279
- export type TrackingQualityShipmentQuery = { __typename?: 'Query', shipment?: { __typename?: 'MtwShipment', id: string, shipmentNumber: string, status: ShipmentStatus, trackingNumber?: string | null, trackingEvents: Array<{ __typename?: 'MtwTrackingEvent', id: string, eventType: TrackingEventType, timestamp: string }> } | null };
5280
-
5281
-
5282
- export const TrackingQualityIntegrationsDocument = gql`
5283
- query TrackingQualityIntegrations($pagination: PaginationInput!) {
5284
- integrations(pagination: $pagination) {
5285
- id
5286
- name
5287
- provider
5288
- status
5289
- }
5290
- }
5291
- `;
5292
- export const TrackingQualityDeliveriesDocument = gql`
5293
- query TrackingQualityDeliveries($id: ID!, $pagination: PaginationInput!) {
5294
- integration(id: $id) {
5295
- id
5296
- name
5297
- provider
5298
- status
5299
- events(pagination: $pagination) {
5300
- id
5301
- status
5302
- receivedAt
5303
- processedAt
5304
- outcomes
5305
- }
5306
- }
5307
- }
5308
- `;
5309
- export const TrackingQualityShipmentDocument = gql`
5310
- query TrackingQualityShipment($id: ID!) {
5311
- shipment(id: $id) {
5312
- id
5313
- shipmentNumber
5314
- status
5315
- trackingNumber
5316
- trackingEvents(pagination: {limit: 20, offset: 0}) {
5317
- id
5318
- eventType
5319
- timestamp
5320
- }
5321
- }
5322
- }
5323
- `;
5280
+ export type TrackingQualityShipmentQuery = { shipment: { id: string, shipmentNumber: string, status: Types.ShipmentStatus, trackingNumber: string | null, trackingEvents: Array<{ id: string, eventType: Types.TrackingEventType, timestamp: string }> } | null };
5281
+
5282
+
5283
+ export const TrackingQualityIntegrationsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"TrackingQualityIntegrations"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"PaginationInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"integrations"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"provider"}},{"kind":"Field","name":{"kind":"Name","value":"status"}}]}}]}}]} as unknown as DocumentNode<TrackingQualityIntegrationsQuery, TrackingQualityIntegrationsQueryVariables>;
5284
+ export const TrackingQualityDeliveriesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"TrackingQualityDeliveries"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"PaginationInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"integration"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"provider"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"events"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"receivedAt"}},{"kind":"Field","name":{"kind":"Name","value":"processedAt"}},{"kind":"Field","name":{"kind":"Name","value":"outcomes"}}]}}]}}]}}]} as unknown as DocumentNode<TrackingQualityDeliveriesQuery, TrackingQualityDeliveriesQueryVariables>;
5285
+ export const TrackingQualityShipmentDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"TrackingQualityShipment"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shipment"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"shipmentNumber"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"trackingNumber"}},{"kind":"Field","name":{"kind":"Name","value":"trackingEvents"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"limit"},"value":{"kind":"IntValue","value":"20"}},{"kind":"ObjectField","name":{"kind":"Name","value":"offset"},"value":{"kind":"IntValue","value":"0"}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"eventType"}},{"kind":"Field","name":{"kind":"Name","value":"timestamp"}}]}}]}}]}}]} as unknown as DocumentNode<TrackingQualityShipmentQuery, TrackingQualityShipmentQueryVariables>;