@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.
- 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-cost/FreightCommercialEditor.js +217 -0
- package/dist/components/freight-cost/FreightCommercialFactEditor.js +217 -0
- package/dist/components/freight-cost/FreightCommercialHistory.js +115 -0
- package/dist/components/freight-cost/FreightDraftForm.js +106 -91
- package/dist/components/freight-cost/FreightHistory.js +42 -40
- 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 +955 -165
- 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/useFreightRecoveryAction.js +20 -20
- package/dist/hooks/useInvoiceComparisonRecovery.js +118 -0
- package/dist/movethewheels/components/ContainerEvidencePicker.d.ts +2 -1
- package/dist/movethewheels/components/freight-cost/FreightCommercialEditor.d.ts +8 -0
- package/dist/movethewheels/components/freight-cost/FreightCommercialFactEditor.d.ts +8 -0
- package/dist/movethewheels/components/freight-cost/FreightCommercialHistory.d.ts +4 -0
- package/dist/movethewheels/components/freight-cost/FreightDraftForm.d.ts +4 -2
- package/dist/movethewheels/components/freight-cost/FreightHistory.d.ts +2 -2
- 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/freightCommercial.d.ts +44 -0
- package/dist/movethewheels/utils/invoiceComparison.d.ts +32 -0
- package/dist/pages/DriverDetailsPage.js +306 -282
- package/dist/pages/FreightEstimatePage.js +97 -92
- 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 -323
- 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/freightAcknowledgement.js +6 -5
- package/dist/utils/freightCommercial.js +194 -0
- package/dist/utils/freightRecovery.js +22 -22
- package/dist/utils/invoiceComparison.js +272 -0
- package/package.json +30 -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 +373 -349
- 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-cost/FreightCommercialEditor.tsx +236 -0
- package/src/movethewheels/components/freight-cost/FreightCommercialFactEditor.tsx +258 -0
- package/src/movethewheels/components/freight-cost/FreightCommercialHistory.tsx +90 -0
- package/src/movethewheels/components/freight-cost/FreightDraftForm.tsx +33 -4
- package/src/movethewheels/components/freight-cost/FreightHistory.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/useFreightRecoveryAction.ts +2 -1
- package/src/movethewheels/hooks/useInvoiceComparisonRecovery.ts +227 -0
- package/src/movethewheels/pages/DriverDetailsPage.tsx +35 -9
- package/src/movethewheels/pages/FreightEstimatePage.tsx +15 -7
- package/src/movethewheels/pages/FreightInvoicePage.tsx +477 -0
- package/src/movethewheels/utils/driverLicenseExpiry.ts +25 -0
- package/src/movethewheels/utils/freightAcknowledgement.ts +3 -1
- package/src/movethewheels/utils/freightCommercial.ts +388 -0
- package/src/movethewheels/utils/freightRecovery.ts +6 -2
- package/src/movethewheels/utils/invoiceComparison.ts +520 -0
- package/src/operations/freight-cost/commercial.graphql +483 -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 './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
|
|
243
|
-
reportedObservedAt
|
|
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
|
|
250
|
-
reportedCountUnit
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
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
|
-
|
|
258
|
-
|
|
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
|
|
273
|
-
originatingAppId
|
|
274
|
-
workspaceAppId
|
|
275
|
-
consentGrantedBy
|
|
260
|
+
onBehalfOf: string | null;
|
|
261
|
+
originatingAppId: string | null;
|
|
262
|
+
workspaceAppId: string | null;
|
|
263
|
+
consentGrantedBy: string | null;
|
|
276
264
|
consentScopes: Array<string>;
|
|
277
|
-
consentGrantedAt
|
|
278
|
-
consentExpiresAt
|
|
265
|
+
consentGrantedAt: string | null;
|
|
266
|
+
consentExpiresAt: string | null;
|
|
279
267
|
};
|
|
280
268
|
};
|
|
281
269
|
export type ObservationInventoryQueryVariables = Exact<{
|
|
282
|
-
pagination?:
|
|
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:
|
|
308
|
-
pagination?:
|
|
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
|
|
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
|
|
327
|
-
reportedObservedAt
|
|
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
|
|
334
|
-
reportedCountUnit
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
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
|
-
|
|
342
|
-
|
|
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
|
|
357
|
-
originatingAppId
|
|
358
|
-
workspaceAppId
|
|
359
|
-
consentGrantedBy
|
|
332
|
+
onBehalfOf: string | null;
|
|
333
|
+
originatingAppId: string | null;
|
|
334
|
+
workspaceAppId: string | null;
|
|
335
|
+
consentGrantedBy: string | null;
|
|
360
336
|
consentScopes: Array<string>;
|
|
361
|
-
consentGrantedAt
|
|
362
|
-
consentExpiresAt
|
|
337
|
+
consentGrantedAt: string | null;
|
|
338
|
+
consentExpiresAt: string | null;
|
|
363
339
|
};
|
|
364
340
|
}>;
|
|
365
341
|
};
|
|
366
342
|
};
|
|
367
343
|
export type ExactStockIssueQueryVariables = Exact<{
|
|
368
|
-
inventoryItemId:
|
|
369
|
-
id:
|
|
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
|
|
381
|
-
reportedObservedAt
|
|
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
|
|
388
|
-
reportedCountUnit
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
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
|
-
|
|
396
|
-
|
|
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
|
|
411
|
-
originatingAppId
|
|
412
|
-
workspaceAppId
|
|
413
|
-
consentGrantedBy
|
|
380
|
+
onBehalfOf: string | null;
|
|
381
|
+
originatingAppId: string | null;
|
|
382
|
+
workspaceAppId: string | null;
|
|
383
|
+
consentGrantedBy: string | null;
|
|
414
384
|
consentScopes: Array<string>;
|
|
415
|
-
consentGrantedAt
|
|
416
|
-
consentExpiresAt
|
|
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
|
|
433
|
-
reportedObservedAt
|
|
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
|
|
440
|
-
reportedCountUnit
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
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
|
-
|
|
448
|
-
|
|
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
|
|
463
|
-
originatingAppId
|
|
464
|
-
workspaceAppId
|
|
465
|
-
consentGrantedBy
|
|
426
|
+
onBehalfOf: string | null;
|
|
427
|
+
originatingAppId: string | null;
|
|
428
|
+
workspaceAppId: string | null;
|
|
429
|
+
consentGrantedBy: string | null;
|
|
466
430
|
consentScopes: Array<string>;
|
|
467
|
-
consentGrantedAt
|
|
468
|
-
consentExpiresAt
|
|
431
|
+
consentGrantedAt: string | null;
|
|
432
|
+
consentExpiresAt: string | null;
|
|
469
433
|
};
|
|
470
434
|
};
|
|
471
435
|
};
|
|
472
|
-
export declare const ReportedStockIssueFragmentDoc:
|
|
473
|
-
export declare const ObservationInventoryDocument:
|
|
474
|
-
export declare const StockIssueHistoryDocument:
|
|
475
|
-
export declare const ExactStockIssueDocument:
|
|
476
|
-
export declare const RecordStockIssueDocument:
|
|
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
|
-
|
|
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 './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:
|
|
4261
|
-
pagination: PaginationInput;
|
|
4251
|
+
id: string;
|
|
4252
|
+
pagination: Types.PaginationInput;
|
|
4262
4253
|
}>;
|
|
4263
4254
|
export type TrackingQualityDeliveriesQuery = {
|
|
4264
|
-
|
|
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
|
|
4277
|
-
outcomes
|
|
4264
|
+
processedAt: string | null;
|
|
4265
|
+
outcomes: unknown;
|
|
4278
4266
|
}>;
|
|
4279
4267
|
} | null;
|
|
4280
4268
|
};
|
|
4281
4269
|
export type TrackingQualityShipmentQueryVariables = Exact<{
|
|
4282
|
-
id:
|
|
4270
|
+
id: string;
|
|
4283
4271
|
}>;
|
|
4284
4272
|
export type TrackingQualityShipmentQuery = {
|
|
4285
|
-
|
|
4286
|
-
shipment?: {
|
|
4287
|
-
__typename?: 'MtwShipment';
|
|
4273
|
+
shipment: {
|
|
4288
4274
|
id: string;
|
|
4289
4275
|
shipmentNumber: string;
|
|
4290
|
-
status: ShipmentStatus;
|
|
4291
|
-
trackingNumber
|
|
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:
|
|
4301
|
-
export declare const TrackingQualityDeliveriesDocument:
|
|
4302
|
-
export declare const TrackingQualityShipmentDocument:
|
|
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 {};
|