@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-binding-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: {
|
|
@@ -348,19 +341,17 @@ export type RecordMtwStockBindingAssessmentInput = {
|
|
|
348
341
|
inventoryItemId: Scalars['ID']['input'];
|
|
349
342
|
};
|
|
350
343
|
export type StockSourceContextFragment = {
|
|
351
|
-
__typename?: 'MtwInventoryItem';
|
|
352
344
|
id: string;
|
|
353
345
|
cargoItemId: string;
|
|
354
346
|
warehouseId: string;
|
|
355
|
-
locationId
|
|
347
|
+
locationId: string | null;
|
|
356
348
|
updatedAt: string;
|
|
357
349
|
compositionEpoch: number;
|
|
358
350
|
onHand: number;
|
|
359
351
|
available: number;
|
|
360
352
|
allocated: number;
|
|
361
353
|
damaged: number;
|
|
362
|
-
cargoItem
|
|
363
|
-
__typename?: 'MtwCargoItem';
|
|
354
|
+
cargoItem: {
|
|
364
355
|
id: string;
|
|
365
356
|
name: string;
|
|
366
357
|
sku: string;
|
|
@@ -369,16 +360,14 @@ export type StockSourceContextFragment = {
|
|
|
369
360
|
temperatureControlled: boolean;
|
|
370
361
|
updatedAt: string;
|
|
371
362
|
} | null;
|
|
372
|
-
warehouse
|
|
373
|
-
__typename?: 'MtwWarehouse';
|
|
363
|
+
warehouse: {
|
|
374
364
|
id: string;
|
|
375
365
|
name: string;
|
|
376
366
|
code: string;
|
|
377
367
|
status: string;
|
|
378
368
|
updatedAt: string;
|
|
379
369
|
} | null;
|
|
380
|
-
location
|
|
381
|
-
__typename?: 'MtwWarehouseLocation';
|
|
370
|
+
location: {
|
|
382
371
|
id: string;
|
|
383
372
|
warehouseId: string;
|
|
384
373
|
locationCode: string;
|
|
@@ -387,103 +376,91 @@ export type StockSourceContextFragment = {
|
|
|
387
376
|
} | null;
|
|
388
377
|
};
|
|
389
378
|
export type StockAssessmentFragment = {
|
|
390
|
-
__typename?: 'MtwStockBindingAssessment';
|
|
391
379
|
id: string;
|
|
392
380
|
inventoryItemId: string;
|
|
393
381
|
version: number;
|
|
394
|
-
previousAssessmentId
|
|
382
|
+
previousAssessmentId: string | null;
|
|
395
383
|
effectiveAt: string;
|
|
396
384
|
recordedAt: string;
|
|
397
385
|
createdBy: string;
|
|
398
386
|
actorProvenance: string;
|
|
399
|
-
onBehalfOf
|
|
387
|
+
onBehalfOf: string | null;
|
|
400
388
|
capturedCargoItemId: string;
|
|
401
389
|
capturedWarehouseId: string;
|
|
402
|
-
capturedLocationId
|
|
390
|
+
capturedLocationId: string | null;
|
|
403
391
|
capturedInventoryUpdatedAt: string;
|
|
404
392
|
capturedCargoUpdatedAt: string;
|
|
405
393
|
capturedWarehouseUpdatedAt: string;
|
|
406
|
-
capturedLocationUpdatedAt
|
|
407
|
-
capturedCompositionEpoch
|
|
394
|
+
capturedLocationUpdatedAt: string | null;
|
|
395
|
+
capturedCompositionEpoch: number | null;
|
|
408
396
|
criticalFingerprint: string;
|
|
409
397
|
completeness: {
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
reasons: Array<MtwStockBindingIncompleteReason>;
|
|
398
|
+
status: Types.MtwStockBindingCompletenessStatus;
|
|
399
|
+
reasons: Array<Types.MtwStockBindingIncompleteReason>;
|
|
413
400
|
};
|
|
414
401
|
facts: {
|
|
415
|
-
__typename?: 'MtwStockBindingFacts';
|
|
416
402
|
schemaVersion: number;
|
|
417
|
-
provenance: MtwStockBindingProvenance;
|
|
418
|
-
scope: MtwStockBindingScope;
|
|
419
|
-
declaredLotPolicy: MtwStockBindingLotPolicy;
|
|
403
|
+
provenance: Types.MtwStockBindingProvenance;
|
|
404
|
+
scope: Types.MtwStockBindingScope;
|
|
405
|
+
declaredLotPolicy: Types.MtwStockBindingLotPolicy;
|
|
420
406
|
source: {
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
revision?: string | null;
|
|
407
|
+
reference: string | null;
|
|
408
|
+
revision: string | null;
|
|
424
409
|
};
|
|
425
|
-
countUnit
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
revision?: string | null;
|
|
410
|
+
countUnit: {
|
|
411
|
+
kind: Types.MtwStockBindingCountUnitKind;
|
|
412
|
+
reference: string | null;
|
|
413
|
+
revision: string | null;
|
|
430
414
|
} | null;
|
|
431
|
-
scanMapping
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
mappingRevision?: string | null;
|
|
415
|
+
scanMapping: {
|
|
416
|
+
reportedItemLabel: string | null;
|
|
417
|
+
reportedBinLabel: string | null;
|
|
418
|
+
mappingReference: string | null;
|
|
419
|
+
mappingRevision: string | null;
|
|
437
420
|
} | null;
|
|
438
|
-
lot
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
declaredDisposition: MtwStockBindingLotDisposition;
|
|
421
|
+
lot: {
|
|
422
|
+
reference: string | null;
|
|
423
|
+
revision: string | null;
|
|
424
|
+
declaredDisposition: Types.MtwStockBindingLotDisposition;
|
|
443
425
|
expiry: {
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
sourceRevision?: string | null;
|
|
426
|
+
policy: Types.MtwStockBindingExpiryPolicy;
|
|
427
|
+
expiresAt: string | null;
|
|
428
|
+
sourceReference: string | null;
|
|
429
|
+
sourceRevision: string | null;
|
|
449
430
|
};
|
|
450
431
|
} | null;
|
|
451
432
|
sourceValidity: {
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
sourceRevision?: string | null;
|
|
433
|
+
policy: Types.MtwStockBindingExpiryPolicy;
|
|
434
|
+
from: string | null;
|
|
435
|
+
until: string | null;
|
|
436
|
+
sourceReference: string | null;
|
|
437
|
+
sourceRevision: string | null;
|
|
458
438
|
};
|
|
459
439
|
};
|
|
460
440
|
criticalOwnerSnapshot: {
|
|
461
|
-
__typename?: 'MtwStockBindingOwnerSnapshot';
|
|
462
441
|
schemaVersion: number;
|
|
463
442
|
workspaceId: string;
|
|
464
443
|
inventoryItemId: string;
|
|
465
444
|
cargoItemId: string;
|
|
466
445
|
warehouseId: string;
|
|
467
|
-
locationId
|
|
446
|
+
locationId: string | null;
|
|
468
447
|
cargoSku: string;
|
|
469
448
|
cargoHazardous: boolean;
|
|
470
449
|
cargoFragile: boolean;
|
|
471
450
|
cargoTemperatureControlled: boolean;
|
|
472
451
|
warehouseCode: string;
|
|
473
452
|
warehouseStatus: string;
|
|
474
|
-
locationWarehouseId
|
|
475
|
-
locationCode
|
|
476
|
-
locationStatus
|
|
453
|
+
locationWarehouseId: string | null;
|
|
454
|
+
locationCode: string | null;
|
|
455
|
+
locationStatus: string | null;
|
|
477
456
|
};
|
|
478
457
|
capturedStockQuantityAudit: {
|
|
479
|
-
__typename?: 'MtwStockBindingQuantityAudit';
|
|
480
458
|
onHand: number;
|
|
481
459
|
available: number;
|
|
482
460
|
allocated: number;
|
|
483
461
|
damaged: number;
|
|
484
462
|
};
|
|
485
463
|
evidence: Array<{
|
|
486
|
-
__typename?: 'MtwContainerEvidence';
|
|
487
464
|
fileId: string;
|
|
488
465
|
versionId: string;
|
|
489
466
|
sha256Hash: string;
|
|
@@ -491,25 +468,22 @@ export type StockAssessmentFragment = {
|
|
|
491
468
|
}>;
|
|
492
469
|
};
|
|
493
470
|
export type StockBindingInventoryQueryVariables = Exact<{
|
|
494
|
-
pagination?:
|
|
471
|
+
pagination?: Types.PaginationInput | null | undefined;
|
|
495
472
|
}>;
|
|
496
473
|
export type StockBindingInventoryQuery = {
|
|
497
|
-
__typename?: 'Query';
|
|
498
474
|
inventoryItemsCount: number;
|
|
499
475
|
inventoryItems: Array<{
|
|
500
|
-
__typename?: 'MtwInventoryItem';
|
|
501
476
|
id: string;
|
|
502
477
|
cargoItemId: string;
|
|
503
478
|
warehouseId: string;
|
|
504
|
-
locationId
|
|
479
|
+
locationId: string | null;
|
|
505
480
|
updatedAt: string;
|
|
506
481
|
compositionEpoch: number;
|
|
507
482
|
onHand: number;
|
|
508
483
|
available: number;
|
|
509
484
|
allocated: number;
|
|
510
485
|
damaged: number;
|
|
511
|
-
cargoItem
|
|
512
|
-
__typename?: 'MtwCargoItem';
|
|
486
|
+
cargoItem: {
|
|
513
487
|
id: string;
|
|
514
488
|
name: string;
|
|
515
489
|
sku: string;
|
|
@@ -518,16 +492,14 @@ export type StockBindingInventoryQuery = {
|
|
|
518
492
|
temperatureControlled: boolean;
|
|
519
493
|
updatedAt: string;
|
|
520
494
|
} | null;
|
|
521
|
-
warehouse
|
|
522
|
-
__typename?: 'MtwWarehouse';
|
|
495
|
+
warehouse: {
|
|
523
496
|
id: string;
|
|
524
497
|
name: string;
|
|
525
498
|
code: string;
|
|
526
499
|
status: string;
|
|
527
500
|
updatedAt: string;
|
|
528
501
|
} | null;
|
|
529
|
-
location
|
|
530
|
-
__typename?: 'MtwWarehouseLocation';
|
|
502
|
+
location: {
|
|
531
503
|
id: string;
|
|
532
504
|
warehouseId: string;
|
|
533
505
|
locationCode: string;
|
|
@@ -537,24 +509,21 @@ export type StockBindingInventoryQuery = {
|
|
|
537
509
|
}>;
|
|
538
510
|
};
|
|
539
511
|
export type StockBindingContextQueryVariables = Exact<{
|
|
540
|
-
id:
|
|
512
|
+
id: string;
|
|
541
513
|
}>;
|
|
542
514
|
export type StockBindingContextQuery = {
|
|
543
|
-
|
|
544
|
-
inventoryItem?: {
|
|
545
|
-
__typename?: 'MtwInventoryItem';
|
|
515
|
+
inventoryItem: {
|
|
546
516
|
id: string;
|
|
547
517
|
cargoItemId: string;
|
|
548
518
|
warehouseId: string;
|
|
549
|
-
locationId
|
|
519
|
+
locationId: string | null;
|
|
550
520
|
updatedAt: string;
|
|
551
521
|
compositionEpoch: number;
|
|
552
522
|
onHand: number;
|
|
553
523
|
available: number;
|
|
554
524
|
allocated: number;
|
|
555
525
|
damaged: number;
|
|
556
|
-
cargoItem
|
|
557
|
-
__typename?: 'MtwCargoItem';
|
|
526
|
+
cargoItem: {
|
|
558
527
|
id: string;
|
|
559
528
|
name: string;
|
|
560
529
|
sku: string;
|
|
@@ -563,16 +532,14 @@ export type StockBindingContextQuery = {
|
|
|
563
532
|
temperatureControlled: boolean;
|
|
564
533
|
updatedAt: string;
|
|
565
534
|
} | null;
|
|
566
|
-
warehouse
|
|
567
|
-
__typename?: 'MtwWarehouse';
|
|
535
|
+
warehouse: {
|
|
568
536
|
id: string;
|
|
569
537
|
name: string;
|
|
570
538
|
code: string;
|
|
571
539
|
status: string;
|
|
572
540
|
updatedAt: string;
|
|
573
541
|
} | null;
|
|
574
|
-
location
|
|
575
|
-
__typename?: 'MtwWarehouseLocation';
|
|
542
|
+
location: {
|
|
576
543
|
id: string;
|
|
577
544
|
warehouseId: string;
|
|
578
545
|
locationCode: string;
|
|
@@ -582,116 +549,102 @@ export type StockBindingContextQuery = {
|
|
|
582
549
|
} | null;
|
|
583
550
|
};
|
|
584
551
|
export type StockBindingHistoryQueryVariables = Exact<{
|
|
585
|
-
inventoryItemId:
|
|
586
|
-
pagination?:
|
|
552
|
+
inventoryItemId: string;
|
|
553
|
+
pagination?: Types.MtwContainerPagination | null | undefined;
|
|
587
554
|
}>;
|
|
588
555
|
export type StockBindingHistoryQuery = {
|
|
589
|
-
__typename?: 'Query';
|
|
590
556
|
mtwStockBindingAssessmentPage: {
|
|
591
|
-
__typename?: 'MtwStockBindingAssessmentPage';
|
|
592
557
|
total: number;
|
|
593
558
|
limit: number;
|
|
594
559
|
offset: number;
|
|
595
560
|
hasMore: boolean;
|
|
596
|
-
nextOffset
|
|
561
|
+
nextOffset: number | null;
|
|
597
562
|
items: Array<{
|
|
598
|
-
__typename?: 'MtwStockBindingAssessment';
|
|
599
563
|
id: string;
|
|
600
564
|
inventoryItemId: string;
|
|
601
565
|
version: number;
|
|
602
|
-
previousAssessmentId
|
|
566
|
+
previousAssessmentId: string | null;
|
|
603
567
|
effectiveAt: string;
|
|
604
568
|
recordedAt: string;
|
|
605
569
|
createdBy: string;
|
|
606
570
|
actorProvenance: string;
|
|
607
|
-
onBehalfOf
|
|
571
|
+
onBehalfOf: string | null;
|
|
608
572
|
capturedCargoItemId: string;
|
|
609
573
|
capturedWarehouseId: string;
|
|
610
|
-
capturedLocationId
|
|
574
|
+
capturedLocationId: string | null;
|
|
611
575
|
capturedInventoryUpdatedAt: string;
|
|
612
576
|
capturedCargoUpdatedAt: string;
|
|
613
577
|
capturedWarehouseUpdatedAt: string;
|
|
614
|
-
capturedLocationUpdatedAt
|
|
615
|
-
capturedCompositionEpoch
|
|
578
|
+
capturedLocationUpdatedAt: string | null;
|
|
579
|
+
capturedCompositionEpoch: number | null;
|
|
616
580
|
criticalFingerprint: string;
|
|
617
581
|
completeness: {
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
reasons: Array<MtwStockBindingIncompleteReason>;
|
|
582
|
+
status: Types.MtwStockBindingCompletenessStatus;
|
|
583
|
+
reasons: Array<Types.MtwStockBindingIncompleteReason>;
|
|
621
584
|
};
|
|
622
585
|
facts: {
|
|
623
|
-
__typename?: 'MtwStockBindingFacts';
|
|
624
586
|
schemaVersion: number;
|
|
625
|
-
provenance: MtwStockBindingProvenance;
|
|
626
|
-
scope: MtwStockBindingScope;
|
|
627
|
-
declaredLotPolicy: MtwStockBindingLotPolicy;
|
|
587
|
+
provenance: Types.MtwStockBindingProvenance;
|
|
588
|
+
scope: Types.MtwStockBindingScope;
|
|
589
|
+
declaredLotPolicy: Types.MtwStockBindingLotPolicy;
|
|
628
590
|
source: {
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
revision?: string | null;
|
|
591
|
+
reference: string | null;
|
|
592
|
+
revision: string | null;
|
|
632
593
|
};
|
|
633
|
-
countUnit
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
revision?: string | null;
|
|
594
|
+
countUnit: {
|
|
595
|
+
kind: Types.MtwStockBindingCountUnitKind;
|
|
596
|
+
reference: string | null;
|
|
597
|
+
revision: string | null;
|
|
638
598
|
} | null;
|
|
639
|
-
scanMapping
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
mappingRevision?: string | null;
|
|
599
|
+
scanMapping: {
|
|
600
|
+
reportedItemLabel: string | null;
|
|
601
|
+
reportedBinLabel: string | null;
|
|
602
|
+
mappingReference: string | null;
|
|
603
|
+
mappingRevision: string | null;
|
|
645
604
|
} | null;
|
|
646
|
-
lot
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
declaredDisposition: MtwStockBindingLotDisposition;
|
|
605
|
+
lot: {
|
|
606
|
+
reference: string | null;
|
|
607
|
+
revision: string | null;
|
|
608
|
+
declaredDisposition: Types.MtwStockBindingLotDisposition;
|
|
651
609
|
expiry: {
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
sourceRevision?: string | null;
|
|
610
|
+
policy: Types.MtwStockBindingExpiryPolicy;
|
|
611
|
+
expiresAt: string | null;
|
|
612
|
+
sourceReference: string | null;
|
|
613
|
+
sourceRevision: string | null;
|
|
657
614
|
};
|
|
658
615
|
} | null;
|
|
659
616
|
sourceValidity: {
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
sourceRevision?: string | null;
|
|
617
|
+
policy: Types.MtwStockBindingExpiryPolicy;
|
|
618
|
+
from: string | null;
|
|
619
|
+
until: string | null;
|
|
620
|
+
sourceReference: string | null;
|
|
621
|
+
sourceRevision: string | null;
|
|
666
622
|
};
|
|
667
623
|
};
|
|
668
624
|
criticalOwnerSnapshot: {
|
|
669
|
-
__typename?: 'MtwStockBindingOwnerSnapshot';
|
|
670
625
|
schemaVersion: number;
|
|
671
626
|
workspaceId: string;
|
|
672
627
|
inventoryItemId: string;
|
|
673
628
|
cargoItemId: string;
|
|
674
629
|
warehouseId: string;
|
|
675
|
-
locationId
|
|
630
|
+
locationId: string | null;
|
|
676
631
|
cargoSku: string;
|
|
677
632
|
cargoHazardous: boolean;
|
|
678
633
|
cargoFragile: boolean;
|
|
679
634
|
cargoTemperatureControlled: boolean;
|
|
680
635
|
warehouseCode: string;
|
|
681
636
|
warehouseStatus: string;
|
|
682
|
-
locationWarehouseId
|
|
683
|
-
locationCode
|
|
684
|
-
locationStatus
|
|
637
|
+
locationWarehouseId: string | null;
|
|
638
|
+
locationCode: string | null;
|
|
639
|
+
locationStatus: string | null;
|
|
685
640
|
};
|
|
686
641
|
capturedStockQuantityAudit: {
|
|
687
|
-
__typename?: 'MtwStockBindingQuantityAudit';
|
|
688
642
|
onHand: number;
|
|
689
643
|
available: number;
|
|
690
644
|
allocated: number;
|
|
691
645
|
damaged: number;
|
|
692
646
|
};
|
|
693
647
|
evidence: Array<{
|
|
694
|
-
__typename?: 'MtwContainerEvidence';
|
|
695
648
|
fileId: string;
|
|
696
649
|
versionId: string;
|
|
697
650
|
sha256Hash: string;
|
|
@@ -701,109 +654,96 @@ export type StockBindingHistoryQuery = {
|
|
|
701
654
|
};
|
|
702
655
|
};
|
|
703
656
|
export type StockBindingExactQueryVariables = Exact<{
|
|
704
|
-
inventoryItemId:
|
|
705
|
-
id:
|
|
657
|
+
inventoryItemId: string;
|
|
658
|
+
id: string;
|
|
706
659
|
}>;
|
|
707
660
|
export type StockBindingExactQuery = {
|
|
708
|
-
__typename?: 'Query';
|
|
709
661
|
mtwStockBindingAssessment: {
|
|
710
|
-
__typename?: 'MtwStockBindingAssessment';
|
|
711
662
|
id: string;
|
|
712
663
|
inventoryItemId: string;
|
|
713
664
|
version: number;
|
|
714
|
-
previousAssessmentId
|
|
665
|
+
previousAssessmentId: string | null;
|
|
715
666
|
effectiveAt: string;
|
|
716
667
|
recordedAt: string;
|
|
717
668
|
createdBy: string;
|
|
718
669
|
actorProvenance: string;
|
|
719
|
-
onBehalfOf
|
|
670
|
+
onBehalfOf: string | null;
|
|
720
671
|
capturedCargoItemId: string;
|
|
721
672
|
capturedWarehouseId: string;
|
|
722
|
-
capturedLocationId
|
|
673
|
+
capturedLocationId: string | null;
|
|
723
674
|
capturedInventoryUpdatedAt: string;
|
|
724
675
|
capturedCargoUpdatedAt: string;
|
|
725
676
|
capturedWarehouseUpdatedAt: string;
|
|
726
|
-
capturedLocationUpdatedAt
|
|
727
|
-
capturedCompositionEpoch
|
|
677
|
+
capturedLocationUpdatedAt: string | null;
|
|
678
|
+
capturedCompositionEpoch: number | null;
|
|
728
679
|
criticalFingerprint: string;
|
|
729
680
|
completeness: {
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
reasons: Array<MtwStockBindingIncompleteReason>;
|
|
681
|
+
status: Types.MtwStockBindingCompletenessStatus;
|
|
682
|
+
reasons: Array<Types.MtwStockBindingIncompleteReason>;
|
|
733
683
|
};
|
|
734
684
|
facts: {
|
|
735
|
-
__typename?: 'MtwStockBindingFacts';
|
|
736
685
|
schemaVersion: number;
|
|
737
|
-
provenance: MtwStockBindingProvenance;
|
|
738
|
-
scope: MtwStockBindingScope;
|
|
739
|
-
declaredLotPolicy: MtwStockBindingLotPolicy;
|
|
686
|
+
provenance: Types.MtwStockBindingProvenance;
|
|
687
|
+
scope: Types.MtwStockBindingScope;
|
|
688
|
+
declaredLotPolicy: Types.MtwStockBindingLotPolicy;
|
|
740
689
|
source: {
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
revision?: string | null;
|
|
690
|
+
reference: string | null;
|
|
691
|
+
revision: string | null;
|
|
744
692
|
};
|
|
745
|
-
countUnit
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
revision?: string | null;
|
|
693
|
+
countUnit: {
|
|
694
|
+
kind: Types.MtwStockBindingCountUnitKind;
|
|
695
|
+
reference: string | null;
|
|
696
|
+
revision: string | null;
|
|
750
697
|
} | null;
|
|
751
|
-
scanMapping
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
mappingRevision?: string | null;
|
|
698
|
+
scanMapping: {
|
|
699
|
+
reportedItemLabel: string | null;
|
|
700
|
+
reportedBinLabel: string | null;
|
|
701
|
+
mappingReference: string | null;
|
|
702
|
+
mappingRevision: string | null;
|
|
757
703
|
} | null;
|
|
758
|
-
lot
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
declaredDisposition: MtwStockBindingLotDisposition;
|
|
704
|
+
lot: {
|
|
705
|
+
reference: string | null;
|
|
706
|
+
revision: string | null;
|
|
707
|
+
declaredDisposition: Types.MtwStockBindingLotDisposition;
|
|
763
708
|
expiry: {
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
sourceRevision?: string | null;
|
|
709
|
+
policy: Types.MtwStockBindingExpiryPolicy;
|
|
710
|
+
expiresAt: string | null;
|
|
711
|
+
sourceReference: string | null;
|
|
712
|
+
sourceRevision: string | null;
|
|
769
713
|
};
|
|
770
714
|
} | null;
|
|
771
715
|
sourceValidity: {
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
sourceRevision?: string | null;
|
|
716
|
+
policy: Types.MtwStockBindingExpiryPolicy;
|
|
717
|
+
from: string | null;
|
|
718
|
+
until: string | null;
|
|
719
|
+
sourceReference: string | null;
|
|
720
|
+
sourceRevision: string | null;
|
|
778
721
|
};
|
|
779
722
|
};
|
|
780
723
|
criticalOwnerSnapshot: {
|
|
781
|
-
__typename?: 'MtwStockBindingOwnerSnapshot';
|
|
782
724
|
schemaVersion: number;
|
|
783
725
|
workspaceId: string;
|
|
784
726
|
inventoryItemId: string;
|
|
785
727
|
cargoItemId: string;
|
|
786
728
|
warehouseId: string;
|
|
787
|
-
locationId
|
|
729
|
+
locationId: string | null;
|
|
788
730
|
cargoSku: string;
|
|
789
731
|
cargoHazardous: boolean;
|
|
790
732
|
cargoFragile: boolean;
|
|
791
733
|
cargoTemperatureControlled: boolean;
|
|
792
734
|
warehouseCode: string;
|
|
793
735
|
warehouseStatus: string;
|
|
794
|
-
locationWarehouseId
|
|
795
|
-
locationCode
|
|
796
|
-
locationStatus
|
|
736
|
+
locationWarehouseId: string | null;
|
|
737
|
+
locationCode: string | null;
|
|
738
|
+
locationStatus: string | null;
|
|
797
739
|
};
|
|
798
740
|
capturedStockQuantityAudit: {
|
|
799
|
-
__typename?: 'MtwStockBindingQuantityAudit';
|
|
800
741
|
onHand: number;
|
|
801
742
|
available: number;
|
|
802
743
|
allocated: number;
|
|
803
744
|
damaged: number;
|
|
804
745
|
};
|
|
805
746
|
evidence: Array<{
|
|
806
|
-
__typename?: 'MtwContainerEvidence';
|
|
807
747
|
fileId: string;
|
|
808
748
|
versionId: string;
|
|
809
749
|
sha256Hash: string;
|
|
@@ -812,108 +752,95 @@ export type StockBindingExactQuery = {
|
|
|
812
752
|
};
|
|
813
753
|
};
|
|
814
754
|
export type RecordStockBindingMutationVariables = Exact<{
|
|
815
|
-
input: RecordMtwStockBindingAssessmentInput;
|
|
755
|
+
input: Types.RecordMtwStockBindingAssessmentInput;
|
|
816
756
|
}>;
|
|
817
757
|
export type RecordStockBindingMutation = {
|
|
818
|
-
__typename?: 'Mutation';
|
|
819
758
|
recordMtwStockBindingAssessment: {
|
|
820
|
-
__typename?: 'MtwStockBindingAssessment';
|
|
821
759
|
id: string;
|
|
822
760
|
inventoryItemId: string;
|
|
823
761
|
version: number;
|
|
824
|
-
previousAssessmentId
|
|
762
|
+
previousAssessmentId: string | null;
|
|
825
763
|
effectiveAt: string;
|
|
826
764
|
recordedAt: string;
|
|
827
765
|
createdBy: string;
|
|
828
766
|
actorProvenance: string;
|
|
829
|
-
onBehalfOf
|
|
767
|
+
onBehalfOf: string | null;
|
|
830
768
|
capturedCargoItemId: string;
|
|
831
769
|
capturedWarehouseId: string;
|
|
832
|
-
capturedLocationId
|
|
770
|
+
capturedLocationId: string | null;
|
|
833
771
|
capturedInventoryUpdatedAt: string;
|
|
834
772
|
capturedCargoUpdatedAt: string;
|
|
835
773
|
capturedWarehouseUpdatedAt: string;
|
|
836
|
-
capturedLocationUpdatedAt
|
|
837
|
-
capturedCompositionEpoch
|
|
774
|
+
capturedLocationUpdatedAt: string | null;
|
|
775
|
+
capturedCompositionEpoch: number | null;
|
|
838
776
|
criticalFingerprint: string;
|
|
839
777
|
completeness: {
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
reasons: Array<MtwStockBindingIncompleteReason>;
|
|
778
|
+
status: Types.MtwStockBindingCompletenessStatus;
|
|
779
|
+
reasons: Array<Types.MtwStockBindingIncompleteReason>;
|
|
843
780
|
};
|
|
844
781
|
facts: {
|
|
845
|
-
__typename?: 'MtwStockBindingFacts';
|
|
846
782
|
schemaVersion: number;
|
|
847
|
-
provenance: MtwStockBindingProvenance;
|
|
848
|
-
scope: MtwStockBindingScope;
|
|
849
|
-
declaredLotPolicy: MtwStockBindingLotPolicy;
|
|
783
|
+
provenance: Types.MtwStockBindingProvenance;
|
|
784
|
+
scope: Types.MtwStockBindingScope;
|
|
785
|
+
declaredLotPolicy: Types.MtwStockBindingLotPolicy;
|
|
850
786
|
source: {
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
revision?: string | null;
|
|
787
|
+
reference: string | null;
|
|
788
|
+
revision: string | null;
|
|
854
789
|
};
|
|
855
|
-
countUnit
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
revision?: string | null;
|
|
790
|
+
countUnit: {
|
|
791
|
+
kind: Types.MtwStockBindingCountUnitKind;
|
|
792
|
+
reference: string | null;
|
|
793
|
+
revision: string | null;
|
|
860
794
|
} | null;
|
|
861
|
-
scanMapping
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
mappingRevision?: string | null;
|
|
795
|
+
scanMapping: {
|
|
796
|
+
reportedItemLabel: string | null;
|
|
797
|
+
reportedBinLabel: string | null;
|
|
798
|
+
mappingReference: string | null;
|
|
799
|
+
mappingRevision: string | null;
|
|
867
800
|
} | null;
|
|
868
|
-
lot
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
declaredDisposition: MtwStockBindingLotDisposition;
|
|
801
|
+
lot: {
|
|
802
|
+
reference: string | null;
|
|
803
|
+
revision: string | null;
|
|
804
|
+
declaredDisposition: Types.MtwStockBindingLotDisposition;
|
|
873
805
|
expiry: {
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
sourceRevision?: string | null;
|
|
806
|
+
policy: Types.MtwStockBindingExpiryPolicy;
|
|
807
|
+
expiresAt: string | null;
|
|
808
|
+
sourceReference: string | null;
|
|
809
|
+
sourceRevision: string | null;
|
|
879
810
|
};
|
|
880
811
|
} | null;
|
|
881
812
|
sourceValidity: {
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
sourceRevision?: string | null;
|
|
813
|
+
policy: Types.MtwStockBindingExpiryPolicy;
|
|
814
|
+
from: string | null;
|
|
815
|
+
until: string | null;
|
|
816
|
+
sourceReference: string | null;
|
|
817
|
+
sourceRevision: string | null;
|
|
888
818
|
};
|
|
889
819
|
};
|
|
890
820
|
criticalOwnerSnapshot: {
|
|
891
|
-
__typename?: 'MtwStockBindingOwnerSnapshot';
|
|
892
821
|
schemaVersion: number;
|
|
893
822
|
workspaceId: string;
|
|
894
823
|
inventoryItemId: string;
|
|
895
824
|
cargoItemId: string;
|
|
896
825
|
warehouseId: string;
|
|
897
|
-
locationId
|
|
826
|
+
locationId: string | null;
|
|
898
827
|
cargoSku: string;
|
|
899
828
|
cargoHazardous: boolean;
|
|
900
829
|
cargoFragile: boolean;
|
|
901
830
|
cargoTemperatureControlled: boolean;
|
|
902
831
|
warehouseCode: string;
|
|
903
832
|
warehouseStatus: string;
|
|
904
|
-
locationWarehouseId
|
|
905
|
-
locationCode
|
|
906
|
-
locationStatus
|
|
833
|
+
locationWarehouseId: string | null;
|
|
834
|
+
locationCode: string | null;
|
|
835
|
+
locationStatus: string | null;
|
|
907
836
|
};
|
|
908
837
|
capturedStockQuantityAudit: {
|
|
909
|
-
__typename?: 'MtwStockBindingQuantityAudit';
|
|
910
838
|
onHand: number;
|
|
911
839
|
available: number;
|
|
912
840
|
allocated: number;
|
|
913
841
|
damaged: number;
|
|
914
842
|
};
|
|
915
843
|
evidence: Array<{
|
|
916
|
-
__typename?: 'MtwContainerEvidence';
|
|
917
844
|
fileId: string;
|
|
918
845
|
versionId: string;
|
|
919
846
|
sha256Hash: string;
|
|
@@ -921,10 +848,11 @@ export type RecordStockBindingMutation = {
|
|
|
921
848
|
}>;
|
|
922
849
|
};
|
|
923
850
|
};
|
|
924
|
-
export declare const StockSourceContextFragmentDoc:
|
|
925
|
-
export declare const StockAssessmentFragmentDoc:
|
|
926
|
-
export declare const StockBindingInventoryDocument:
|
|
927
|
-
export declare const StockBindingContextDocument:
|
|
928
|
-
export declare const StockBindingHistoryDocument:
|
|
929
|
-
export declare const StockBindingExactDocument:
|
|
930
|
-
export declare const RecordStockBindingDocument:
|
|
851
|
+
export declare const StockSourceContextFragmentDoc: DocumentNode<StockSourceContextFragment, unknown>;
|
|
852
|
+
export declare const StockAssessmentFragmentDoc: DocumentNode<StockAssessmentFragment, unknown>;
|
|
853
|
+
export declare const StockBindingInventoryDocument: DocumentNode<StockBindingInventoryQuery, StockBindingInventoryQueryVariables>;
|
|
854
|
+
export declare const StockBindingContextDocument: DocumentNode<StockBindingContextQuery, StockBindingContextQueryVariables>;
|
|
855
|
+
export declare const StockBindingHistoryDocument: DocumentNode<StockBindingHistoryQuery, StockBindingHistoryQueryVariables>;
|
|
856
|
+
export declare const StockBindingExactDocument: DocumentNode<StockBindingExactQuery, StockBindingExactQueryVariables>;
|
|
857
|
+
export declare const RecordStockBindingDocument: DocumentNode<RecordStockBindingMutation, RecordStockBindingMutationVariables>;
|
|
858
|
+
export {};
|