@burdenoff/microfe-movethewheels 2026.1016.3 → 2026.1016.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -0
- package/dist/MoveTheWheelsRoot.js +5 -0
- package/dist/MoveTheWheelsRoutes.js +25 -21
- package/dist/components/ContainerEvidencePicker.js +55 -55
- package/dist/components/FleetAlertsPanel.js +2 -2
- package/dist/components/freight-invoice/InvoiceForm.js +366 -0
- package/dist/components/freight-invoice/InvoiceResults.js +240 -0
- package/dist/generated/consolidation-operations.d.ts +195 -265
- package/dist/generated/container-condition-operations.d.ts +124 -187
- package/dist/generated/container-operations.d.ts +59 -85
- package/dist/generated/empty-reuse-operations.d.ts +165 -271
- package/dist/generated/free-time-operations.d.ts +120 -184
- package/dist/generated/freight-cost-operations.d.ts +307 -476
- package/dist/generated/freight-invoice-operations.d.ts +1447 -0
- package/dist/generated/logistics-procedure-operations.d.ts +100 -156
- package/dist/generated/pending-pick-operations.d.ts +769 -1025
- package/dist/generated/shipment-status-authority-operations.d.ts +82 -103
- package/dist/generated/stock-binding-operations.d.ts +188 -260
- package/dist/generated/stock-observation-operations.d.ts +103 -138
- package/dist/generated/tracking-quality-operations.d.ts +27 -41
- package/dist/generated/trip-utilization-operations.d.ts +137 -185
- package/dist/generated/wspace-operations.d.ts +628 -2272
- package/dist/generated/wspace-types.d.ts +4 -23
- package/dist/hooks/useInvoiceComparisonRecovery.js +118 -0
- package/dist/movethewheels/components/ContainerEvidencePicker.d.ts +2 -1
- package/dist/movethewheels/components/freight-invoice/InvoiceForm.d.ts +19 -0
- package/dist/movethewheels/components/freight-invoice/InvoiceResults.d.ts +9 -0
- package/dist/movethewheels/hooks/useFleet.d.ts +1 -1
- package/dist/movethewheels/hooks/useFleetIntelligence.d.ts +1 -1
- package/dist/movethewheels/hooks/useInvoiceComparisonRecovery.d.ts +22 -0
- package/dist/movethewheels/hooks/useProcedureSelection.d.ts +1 -3
- package/dist/movethewheels/pages/FreightInvoicePage.d.ts +10 -0
- package/dist/movethewheels/utils/driverLicenseExpiry.d.ts +6 -0
- package/dist/movethewheels/utils/invoiceComparison.d.ts +32 -0
- package/dist/pages/DriverDetailsPage.js +306 -282
- package/dist/pages/FreightEstimatePage.js +1 -0
- package/dist/pages/FreightInvoicePage.js +346 -0
- package/dist/src/generated/consolidation-operations.js +3961 -503
- package/dist/src/generated/container-condition-operations.js +2968 -206
- package/dist/src/generated/container-operations.js +997 -99
- package/dist/src/generated/empty-reuse-operations.js +4811 -747
- package/dist/src/generated/free-time-operations.js +2824 -233
- package/dist/src/generated/freight-cost-operations.js +4852 -812
- package/dist/src/generated/freight-invoice-operations.js +4894 -0
- package/dist/src/generated/logistics-procedure-operations.js +2707 -360
- package/dist/src/generated/pending-pick-operations.js +8244 -1196
- package/dist/src/generated/shipment-status-authority-operations.js +1157 -84
- package/dist/src/generated/stock-binding-operations.js +2779 -173
- package/dist/src/generated/stock-observation-operations.js +1274 -91
- package/dist/src/generated/tracking-quality-operations.js +407 -42
- package/dist/src/generated/trip-utilization-operations.js +1765 -138
- package/dist/src/generated/wspace-operations.js +428 -706
- package/dist/utils/driverLicenseExpiry.js +14 -0
- package/dist/utils/invoiceComparison.js +272 -0
- package/package.json +29 -29
- package/src/generated/consolidation-operations.ts +60 -559
- package/src/generated/container-condition-operations.ts +63 -265
- package/src/generated/container-operations.ts +37 -132
- package/src/generated/empty-reuse-operations.ts +83 -824
- package/src/generated/free-time-operations.ts +55 -284
- package/src/generated/freight-cost-operations.ts +42 -848
- package/src/generated/freight-invoice-operations.ts +830 -0
- package/src/generated/logistics-procedure-operations.ts +60 -414
- package/src/generated/pending-pick-operations.ts +48 -1239
- package/src/generated/shipment-status-authority-operations.ts +33 -113
- package/src/generated/stock-binding-operations.ts +29 -198
- package/src/generated/stock-observation-operations.ts +24 -111
- package/src/generated/tracking-quality-operations.ts +19 -57
- package/src/generated/trip-utilization-operations.ts +32 -166
- package/src/generated/wspace-operations.ts +284 -2906
- package/src/generated/wspace-types.ts +2 -8
- package/src/movethewheels/MoveTheWheelsRoot.tsx +6 -0
- package/src/movethewheels/MoveTheWheelsRoutes.tsx +2 -0
- package/src/movethewheels/components/ContainerEvidencePicker.tsx +12 -4
- package/src/movethewheels/components/FleetAlertsPanel.tsx +4 -2
- package/src/movethewheels/components/freight-invoice/InvoiceForm.tsx +412 -0
- package/src/movethewheels/components/freight-invoice/InvoiceResults.tsx +162 -0
- package/src/movethewheels/hooks/useFleet.ts +1 -1
- package/src/movethewheels/hooks/useFleetIntelligence.ts +5 -1
- package/src/movethewheels/hooks/useInvoiceComparisonRecovery.ts +227 -0
- package/src/movethewheels/pages/DriverDetailsPage.tsx +35 -9
- package/src/movethewheels/pages/FreightEstimatePage.tsx +1 -0
- package/src/movethewheels/pages/FreightInvoicePage.tsx +477 -0
- package/src/movethewheels/utils/driverLicenseExpiry.ts +25 -0
- package/src/movethewheels/utils/invoiceComparison.ts +520 -0
- package/src/operations/freight-invoice/comparison.graphql +40 -0
- package/src/operations/wspace/freight-invoice-evidence.graphql +6 -0
- package/patches/braces@3.0.3.patch +0 -87
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
|
|
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-binding-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; }
|
|
@@ -411,221 +412,51 @@ export type RecordMtwStockBindingAssessmentInput = {
|
|
|
411
412
|
inventoryItemId: Scalars['ID']['input'];
|
|
412
413
|
};
|
|
413
414
|
|
|
414
|
-
export type StockSourceContextFragment = {
|
|
415
|
+
export type StockSourceContextFragment = { id: string, cargoItemId: string, warehouseId: string, locationId: string | null, updatedAt: string, compositionEpoch: number, onHand: number, available: number, allocated: number, damaged: number, cargoItem: { id: string, name: string, sku: string, hazardous: boolean, fragile: boolean, temperatureControlled: boolean, updatedAt: string } | null, warehouse: { id: string, name: string, code: string, status: string, updatedAt: string } | null, location: { id: string, warehouseId: string, locationCode: string, status: string, updatedAt: string } | null };
|
|
415
416
|
|
|
416
|
-
export type StockAssessmentFragment = {
|
|
417
|
+
export type StockAssessmentFragment = { id: string, inventoryItemId: string, version: number, previousAssessmentId: string | null, effectiveAt: string, recordedAt: string, createdBy: string, actorProvenance: string, onBehalfOf: string | null, capturedCargoItemId: string, capturedWarehouseId: string, capturedLocationId: string | null, capturedInventoryUpdatedAt: string, capturedCargoUpdatedAt: string, capturedWarehouseUpdatedAt: string, capturedLocationUpdatedAt: string | null, capturedCompositionEpoch: number | null, criticalFingerprint: string, completeness: { status: Types.MtwStockBindingCompletenessStatus, reasons: Array<Types.MtwStockBindingIncompleteReason> }, facts: { schemaVersion: number, provenance: Types.MtwStockBindingProvenance, scope: Types.MtwStockBindingScope, declaredLotPolicy: Types.MtwStockBindingLotPolicy, source: { reference: string | null, revision: string | null }, countUnit: { kind: Types.MtwStockBindingCountUnitKind, reference: string | null, revision: string | null } | null, scanMapping: { reportedItemLabel: string | null, reportedBinLabel: string | null, mappingReference: string | null, mappingRevision: string | null } | null, lot: { reference: string | null, revision: string | null, declaredDisposition: Types.MtwStockBindingLotDisposition, expiry: { policy: Types.MtwStockBindingExpiryPolicy, expiresAt: string | null, sourceReference: string | null, sourceRevision: string | null } } | null, sourceValidity: { policy: Types.MtwStockBindingExpiryPolicy, from: string | null, until: string | null, sourceReference: string | null, sourceRevision: string | null } }, criticalOwnerSnapshot: { schemaVersion: number, workspaceId: string, inventoryItemId: string, cargoItemId: string, warehouseId: string, locationId: string | null, cargoSku: string, cargoHazardous: boolean, cargoFragile: boolean, cargoTemperatureControlled: boolean, warehouseCode: string, warehouseStatus: string, locationWarehouseId: string | null, locationCode: string | null, locationStatus: string | null }, capturedStockQuantityAudit: { onHand: number, available: number, allocated: number, damaged: number }, evidence: Array<{ fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> };
|
|
417
418
|
|
|
418
419
|
export type StockBindingInventoryQueryVariables = Exact<{
|
|
419
|
-
pagination?:
|
|
420
|
+
pagination?: Types.PaginationInput | null | undefined;
|
|
420
421
|
}>;
|
|
421
422
|
|
|
422
423
|
|
|
423
|
-
export type StockBindingInventoryQuery = {
|
|
424
|
+
export type StockBindingInventoryQuery = { inventoryItemsCount: number, inventoryItems: Array<{ id: string, cargoItemId: string, warehouseId: string, locationId: string | null, updatedAt: string, compositionEpoch: number, onHand: number, available: number, allocated: number, damaged: number, cargoItem: { id: string, name: string, sku: string, hazardous: boolean, fragile: boolean, temperatureControlled: boolean, updatedAt: string } | null, warehouse: { id: string, name: string, code: string, status: string, updatedAt: string } | null, location: { id: string, warehouseId: string, locationCode: string, status: string, updatedAt: string } | null }> };
|
|
424
425
|
|
|
425
426
|
export type StockBindingContextQueryVariables = Exact<{
|
|
426
|
-
id:
|
|
427
|
+
id: string;
|
|
427
428
|
}>;
|
|
428
429
|
|
|
429
430
|
|
|
430
|
-
export type StockBindingContextQuery = {
|
|
431
|
+
export type StockBindingContextQuery = { inventoryItem: { id: string, cargoItemId: string, warehouseId: string, locationId: string | null, updatedAt: string, compositionEpoch: number, onHand: number, available: number, allocated: number, damaged: number, cargoItem: { id: string, name: string, sku: string, hazardous: boolean, fragile: boolean, temperatureControlled: boolean, updatedAt: string } | null, warehouse: { id: string, name: string, code: string, status: string, updatedAt: string } | null, location: { id: string, warehouseId: string, locationCode: string, status: string, updatedAt: string } | null } | null };
|
|
431
432
|
|
|
432
433
|
export type StockBindingHistoryQueryVariables = Exact<{
|
|
433
|
-
inventoryItemId:
|
|
434
|
-
pagination?:
|
|
434
|
+
inventoryItemId: string;
|
|
435
|
+
pagination?: Types.MtwContainerPagination | null | undefined;
|
|
435
436
|
}>;
|
|
436
437
|
|
|
437
438
|
|
|
438
|
-
export type StockBindingHistoryQuery = {
|
|
439
|
+
export type StockBindingHistoryQuery = { mtwStockBindingAssessmentPage: { total: number, limit: number, offset: number, hasMore: boolean, nextOffset: number | null, items: Array<{ id: string, inventoryItemId: string, version: number, previousAssessmentId: string | null, effectiveAt: string, recordedAt: string, createdBy: string, actorProvenance: string, onBehalfOf: string | null, capturedCargoItemId: string, capturedWarehouseId: string, capturedLocationId: string | null, capturedInventoryUpdatedAt: string, capturedCargoUpdatedAt: string, capturedWarehouseUpdatedAt: string, capturedLocationUpdatedAt: string | null, capturedCompositionEpoch: number | null, criticalFingerprint: string, completeness: { status: Types.MtwStockBindingCompletenessStatus, reasons: Array<Types.MtwStockBindingIncompleteReason> }, facts: { schemaVersion: number, provenance: Types.MtwStockBindingProvenance, scope: Types.MtwStockBindingScope, declaredLotPolicy: Types.MtwStockBindingLotPolicy, source: { reference: string | null, revision: string | null }, countUnit: { kind: Types.MtwStockBindingCountUnitKind, reference: string | null, revision: string | null } | null, scanMapping: { reportedItemLabel: string | null, reportedBinLabel: string | null, mappingReference: string | null, mappingRevision: string | null } | null, lot: { reference: string | null, revision: string | null, declaredDisposition: Types.MtwStockBindingLotDisposition, expiry: { policy: Types.MtwStockBindingExpiryPolicy, expiresAt: string | null, sourceReference: string | null, sourceRevision: string | null } } | null, sourceValidity: { policy: Types.MtwStockBindingExpiryPolicy, from: string | null, until: string | null, sourceReference: string | null, sourceRevision: string | null } }, criticalOwnerSnapshot: { schemaVersion: number, workspaceId: string, inventoryItemId: string, cargoItemId: string, warehouseId: string, locationId: string | null, cargoSku: string, cargoHazardous: boolean, cargoFragile: boolean, cargoTemperatureControlled: boolean, warehouseCode: string, warehouseStatus: string, locationWarehouseId: string | null, locationCode: string | null, locationStatus: string | null }, capturedStockQuantityAudit: { onHand: number, available: number, allocated: number, damaged: number }, evidence: Array<{ fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> }> } };
|
|
439
440
|
|
|
440
441
|
export type StockBindingExactQueryVariables = Exact<{
|
|
441
|
-
inventoryItemId:
|
|
442
|
-
id:
|
|
442
|
+
inventoryItemId: string;
|
|
443
|
+
id: string;
|
|
443
444
|
}>;
|
|
444
445
|
|
|
445
446
|
|
|
446
|
-
export type StockBindingExactQuery = {
|
|
447
|
+
export type StockBindingExactQuery = { mtwStockBindingAssessment: { id: string, inventoryItemId: string, version: number, previousAssessmentId: string | null, effectiveAt: string, recordedAt: string, createdBy: string, actorProvenance: string, onBehalfOf: string | null, capturedCargoItemId: string, capturedWarehouseId: string, capturedLocationId: string | null, capturedInventoryUpdatedAt: string, capturedCargoUpdatedAt: string, capturedWarehouseUpdatedAt: string, capturedLocationUpdatedAt: string | null, capturedCompositionEpoch: number | null, criticalFingerprint: string, completeness: { status: Types.MtwStockBindingCompletenessStatus, reasons: Array<Types.MtwStockBindingIncompleteReason> }, facts: { schemaVersion: number, provenance: Types.MtwStockBindingProvenance, scope: Types.MtwStockBindingScope, declaredLotPolicy: Types.MtwStockBindingLotPolicy, source: { reference: string | null, revision: string | null }, countUnit: { kind: Types.MtwStockBindingCountUnitKind, reference: string | null, revision: string | null } | null, scanMapping: { reportedItemLabel: string | null, reportedBinLabel: string | null, mappingReference: string | null, mappingRevision: string | null } | null, lot: { reference: string | null, revision: string | null, declaredDisposition: Types.MtwStockBindingLotDisposition, expiry: { policy: Types.MtwStockBindingExpiryPolicy, expiresAt: string | null, sourceReference: string | null, sourceRevision: string | null } } | null, sourceValidity: { policy: Types.MtwStockBindingExpiryPolicy, from: string | null, until: string | null, sourceReference: string | null, sourceRevision: string | null } }, criticalOwnerSnapshot: { schemaVersion: number, workspaceId: string, inventoryItemId: string, cargoItemId: string, warehouseId: string, locationId: string | null, cargoSku: string, cargoHazardous: boolean, cargoFragile: boolean, cargoTemperatureControlled: boolean, warehouseCode: string, warehouseStatus: string, locationWarehouseId: string | null, locationCode: string | null, locationStatus: string | null }, capturedStockQuantityAudit: { onHand: number, available: number, allocated: number, damaged: number }, evidence: Array<{ fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> } };
|
|
447
448
|
|
|
448
449
|
export type RecordStockBindingMutationVariables = Exact<{
|
|
449
|
-
input: RecordMtwStockBindingAssessmentInput;
|
|
450
|
+
input: Types.RecordMtwStockBindingAssessmentInput;
|
|
450
451
|
}>;
|
|
451
452
|
|
|
452
453
|
|
|
453
|
-
export type RecordStockBindingMutation = {
|
|
454
|
-
|
|
455
|
-
export const StockSourceContextFragmentDoc =
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
compositionEpoch
|
|
463
|
-
onHand
|
|
464
|
-
available
|
|
465
|
-
allocated
|
|
466
|
-
damaged
|
|
467
|
-
cargoItem {
|
|
468
|
-
id
|
|
469
|
-
name
|
|
470
|
-
sku
|
|
471
|
-
hazardous
|
|
472
|
-
fragile
|
|
473
|
-
temperatureControlled
|
|
474
|
-
updatedAt
|
|
475
|
-
}
|
|
476
|
-
warehouse {
|
|
477
|
-
id
|
|
478
|
-
name
|
|
479
|
-
code
|
|
480
|
-
status
|
|
481
|
-
updatedAt
|
|
482
|
-
}
|
|
483
|
-
location {
|
|
484
|
-
id
|
|
485
|
-
warehouseId
|
|
486
|
-
locationCode
|
|
487
|
-
status
|
|
488
|
-
updatedAt
|
|
489
|
-
}
|
|
490
|
-
}
|
|
491
|
-
`;
|
|
492
|
-
export const StockAssessmentFragmentDoc = gql`
|
|
493
|
-
fragment StockAssessment on MtwStockBindingAssessment {
|
|
494
|
-
id
|
|
495
|
-
inventoryItemId
|
|
496
|
-
version
|
|
497
|
-
previousAssessmentId
|
|
498
|
-
effectiveAt
|
|
499
|
-
recordedAt
|
|
500
|
-
createdBy
|
|
501
|
-
actorProvenance
|
|
502
|
-
onBehalfOf
|
|
503
|
-
capturedCargoItemId
|
|
504
|
-
capturedWarehouseId
|
|
505
|
-
capturedLocationId
|
|
506
|
-
capturedInventoryUpdatedAt
|
|
507
|
-
capturedCargoUpdatedAt
|
|
508
|
-
capturedWarehouseUpdatedAt
|
|
509
|
-
capturedLocationUpdatedAt
|
|
510
|
-
capturedCompositionEpoch
|
|
511
|
-
criticalFingerprint
|
|
512
|
-
completeness {
|
|
513
|
-
status
|
|
514
|
-
reasons
|
|
515
|
-
}
|
|
516
|
-
facts {
|
|
517
|
-
schemaVersion
|
|
518
|
-
provenance
|
|
519
|
-
scope
|
|
520
|
-
source {
|
|
521
|
-
reference
|
|
522
|
-
revision
|
|
523
|
-
}
|
|
524
|
-
countUnit {
|
|
525
|
-
kind
|
|
526
|
-
reference
|
|
527
|
-
revision
|
|
528
|
-
}
|
|
529
|
-
scanMapping {
|
|
530
|
-
reportedItemLabel
|
|
531
|
-
reportedBinLabel
|
|
532
|
-
mappingReference
|
|
533
|
-
mappingRevision
|
|
534
|
-
}
|
|
535
|
-
declaredLotPolicy
|
|
536
|
-
lot {
|
|
537
|
-
reference
|
|
538
|
-
revision
|
|
539
|
-
declaredDisposition
|
|
540
|
-
expiry {
|
|
541
|
-
policy
|
|
542
|
-
expiresAt
|
|
543
|
-
sourceReference
|
|
544
|
-
sourceRevision
|
|
545
|
-
}
|
|
546
|
-
}
|
|
547
|
-
sourceValidity {
|
|
548
|
-
policy
|
|
549
|
-
from
|
|
550
|
-
until
|
|
551
|
-
sourceReference
|
|
552
|
-
sourceRevision
|
|
553
|
-
}
|
|
554
|
-
}
|
|
555
|
-
criticalOwnerSnapshot {
|
|
556
|
-
schemaVersion
|
|
557
|
-
workspaceId
|
|
558
|
-
inventoryItemId
|
|
559
|
-
cargoItemId
|
|
560
|
-
warehouseId
|
|
561
|
-
locationId
|
|
562
|
-
cargoSku
|
|
563
|
-
cargoHazardous
|
|
564
|
-
cargoFragile
|
|
565
|
-
cargoTemperatureControlled
|
|
566
|
-
warehouseCode
|
|
567
|
-
warehouseStatus
|
|
568
|
-
locationWarehouseId
|
|
569
|
-
locationCode
|
|
570
|
-
locationStatus
|
|
571
|
-
}
|
|
572
|
-
capturedStockQuantityAudit {
|
|
573
|
-
onHand
|
|
574
|
-
available
|
|
575
|
-
allocated
|
|
576
|
-
damaged
|
|
577
|
-
}
|
|
578
|
-
evidence {
|
|
579
|
-
fileId
|
|
580
|
-
versionId
|
|
581
|
-
sha256Hash
|
|
582
|
-
checkedAt
|
|
583
|
-
}
|
|
584
|
-
}
|
|
585
|
-
`;
|
|
586
|
-
export const StockBindingInventoryDocument = gql`
|
|
587
|
-
query StockBindingInventory($pagination: PaginationInput) {
|
|
588
|
-
inventoryItems(pagination: $pagination) {
|
|
589
|
-
...StockSourceContext
|
|
590
|
-
}
|
|
591
|
-
inventoryItemsCount
|
|
592
|
-
}
|
|
593
|
-
${StockSourceContextFragmentDoc}`;
|
|
594
|
-
export const StockBindingContextDocument = gql`
|
|
595
|
-
query StockBindingContext($id: ID!) {
|
|
596
|
-
inventoryItem(id: $id) {
|
|
597
|
-
...StockSourceContext
|
|
598
|
-
}
|
|
599
|
-
}
|
|
600
|
-
${StockSourceContextFragmentDoc}`;
|
|
601
|
-
export const StockBindingHistoryDocument = gql`
|
|
602
|
-
query StockBindingHistory($inventoryItemId: ID!, $pagination: MtwContainerPagination) {
|
|
603
|
-
mtwStockBindingAssessmentPage(
|
|
604
|
-
inventoryItemId: $inventoryItemId
|
|
605
|
-
pagination: $pagination
|
|
606
|
-
) {
|
|
607
|
-
items {
|
|
608
|
-
...StockAssessment
|
|
609
|
-
}
|
|
610
|
-
total
|
|
611
|
-
limit
|
|
612
|
-
offset
|
|
613
|
-
hasMore
|
|
614
|
-
nextOffset
|
|
615
|
-
}
|
|
616
|
-
}
|
|
617
|
-
${StockAssessmentFragmentDoc}`;
|
|
618
|
-
export const StockBindingExactDocument = gql`
|
|
619
|
-
query StockBindingExact($inventoryItemId: ID!, $id: ID!) {
|
|
620
|
-
mtwStockBindingAssessment(inventoryItemId: $inventoryItemId, id: $id) {
|
|
621
|
-
...StockAssessment
|
|
622
|
-
}
|
|
623
|
-
}
|
|
624
|
-
${StockAssessmentFragmentDoc}`;
|
|
625
|
-
export const RecordStockBindingDocument = gql`
|
|
626
|
-
mutation RecordStockBinding($input: RecordMtwStockBindingAssessmentInput!) {
|
|
627
|
-
recordMtwStockBindingAssessment(input: $input) {
|
|
628
|
-
...StockAssessment
|
|
629
|
-
}
|
|
630
|
-
}
|
|
631
|
-
${StockAssessmentFragmentDoc}`;
|
|
454
|
+
export type RecordStockBindingMutation = { recordMtwStockBindingAssessment: { id: string, inventoryItemId: string, version: number, previousAssessmentId: string | null, effectiveAt: string, recordedAt: string, createdBy: string, actorProvenance: string, onBehalfOf: string | null, capturedCargoItemId: string, capturedWarehouseId: string, capturedLocationId: string | null, capturedInventoryUpdatedAt: string, capturedCargoUpdatedAt: string, capturedWarehouseUpdatedAt: string, capturedLocationUpdatedAt: string | null, capturedCompositionEpoch: number | null, criticalFingerprint: string, completeness: { status: Types.MtwStockBindingCompletenessStatus, reasons: Array<Types.MtwStockBindingIncompleteReason> }, facts: { schemaVersion: number, provenance: Types.MtwStockBindingProvenance, scope: Types.MtwStockBindingScope, declaredLotPolicy: Types.MtwStockBindingLotPolicy, source: { reference: string | null, revision: string | null }, countUnit: { kind: Types.MtwStockBindingCountUnitKind, reference: string | null, revision: string | null } | null, scanMapping: { reportedItemLabel: string | null, reportedBinLabel: string | null, mappingReference: string | null, mappingRevision: string | null } | null, lot: { reference: string | null, revision: string | null, declaredDisposition: Types.MtwStockBindingLotDisposition, expiry: { policy: Types.MtwStockBindingExpiryPolicy, expiresAt: string | null, sourceReference: string | null, sourceRevision: string | null } } | null, sourceValidity: { policy: Types.MtwStockBindingExpiryPolicy, from: string | null, until: string | null, sourceReference: string | null, sourceRevision: string | null } }, criticalOwnerSnapshot: { schemaVersion: number, workspaceId: string, inventoryItemId: string, cargoItemId: string, warehouseId: string, locationId: string | null, cargoSku: string, cargoHazardous: boolean, cargoFragile: boolean, cargoTemperatureControlled: boolean, warehouseCode: string, warehouseStatus: string, locationWarehouseId: string | null, locationCode: string | null, locationStatus: string | null }, capturedStockQuantityAudit: { onHand: number, available: number, allocated: number, damaged: number }, evidence: Array<{ fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> } };
|
|
455
|
+
|
|
456
|
+
export const StockSourceContextFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"StockSourceContext"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwInventoryItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"cargoItemId"}},{"kind":"Field","name":{"kind":"Name","value":"warehouseId"}},{"kind":"Field","name":{"kind":"Name","value":"locationId"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"compositionEpoch"}},{"kind":"Field","name":{"kind":"Name","value":"onHand"}},{"kind":"Field","name":{"kind":"Name","value":"available"}},{"kind":"Field","name":{"kind":"Name","value":"allocated"}},{"kind":"Field","name":{"kind":"Name","value":"damaged"}},{"kind":"Field","name":{"kind":"Name","value":"cargoItem"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"hazardous"}},{"kind":"Field","name":{"kind":"Name","value":"fragile"}},{"kind":"Field","name":{"kind":"Name","value":"temperatureControlled"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"warehouse"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"location"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"warehouseId"}},{"kind":"Field","name":{"kind":"Name","value":"locationCode"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]}}]} as unknown as DocumentNode<StockSourceContextFragment, unknown>;
|
|
457
|
+
export const StockAssessmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"StockAssessment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwStockBindingAssessment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"inventoryItemId"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"previousAssessmentId"}},{"kind":"Field","name":{"kind":"Name","value":"effectiveAt"}},{"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":"capturedCargoItemId"}},{"kind":"Field","name":{"kind":"Name","value":"capturedWarehouseId"}},{"kind":"Field","name":{"kind":"Name","value":"capturedLocationId"}},{"kind":"Field","name":{"kind":"Name","value":"capturedInventoryUpdatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"capturedCargoUpdatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"capturedWarehouseUpdatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"capturedLocationUpdatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"capturedCompositionEpoch"}},{"kind":"Field","name":{"kind":"Name","value":"criticalFingerprint"}},{"kind":"Field","name":{"kind":"Name","value":"completeness"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"reasons"}}]}},{"kind":"Field","name":{"kind":"Name","value":"facts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"schemaVersion"}},{"kind":"Field","name":{"kind":"Name","value":"provenance"}},{"kind":"Field","name":{"kind":"Name","value":"scope"}},{"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":"countUnit"},"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":"scanMapping"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"reportedItemLabel"}},{"kind":"Field","name":{"kind":"Name","value":"reportedBinLabel"}},{"kind":"Field","name":{"kind":"Name","value":"mappingReference"}},{"kind":"Field","name":{"kind":"Name","value":"mappingRevision"}}]}},{"kind":"Field","name":{"kind":"Name","value":"declaredLotPolicy"}},{"kind":"Field","name":{"kind":"Name","value":"lot"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"reference"}},{"kind":"Field","name":{"kind":"Name","value":"revision"}},{"kind":"Field","name":{"kind":"Name","value":"declaredDisposition"}},{"kind":"Field","name":{"kind":"Name","value":"expiry"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"policy"}},{"kind":"Field","name":{"kind":"Name","value":"expiresAt"}},{"kind":"Field","name":{"kind":"Name","value":"sourceReference"}},{"kind":"Field","name":{"kind":"Name","value":"sourceRevision"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceValidity"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"policy"}},{"kind":"Field","name":{"kind":"Name","value":"from"}},{"kind":"Field","name":{"kind":"Name","value":"until"}},{"kind":"Field","name":{"kind":"Name","value":"sourceReference"}},{"kind":"Field","name":{"kind":"Name","value":"sourceRevision"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"criticalOwnerSnapshot"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"schemaVersion"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceId"}},{"kind":"Field","name":{"kind":"Name","value":"inventoryItemId"}},{"kind":"Field","name":{"kind":"Name","value":"cargoItemId"}},{"kind":"Field","name":{"kind":"Name","value":"warehouseId"}},{"kind":"Field","name":{"kind":"Name","value":"locationId"}},{"kind":"Field","name":{"kind":"Name","value":"cargoSku"}},{"kind":"Field","name":{"kind":"Name","value":"cargoHazardous"}},{"kind":"Field","name":{"kind":"Name","value":"cargoFragile"}},{"kind":"Field","name":{"kind":"Name","value":"cargoTemperatureControlled"}},{"kind":"Field","name":{"kind":"Name","value":"warehouseCode"}},{"kind":"Field","name":{"kind":"Name","value":"warehouseStatus"}},{"kind":"Field","name":{"kind":"Name","value":"locationWarehouseId"}},{"kind":"Field","name":{"kind":"Name","value":"locationCode"}},{"kind":"Field","name":{"kind":"Name","value":"locationStatus"}}]}},{"kind":"Field","name":{"kind":"Name","value":"capturedStockQuantityAudit"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"onHand"}},{"kind":"Field","name":{"kind":"Name","value":"available"}},{"kind":"Field","name":{"kind":"Name","value":"allocated"}},{"kind":"Field","name":{"kind":"Name","value":"damaged"}}]}},{"kind":"Field","name":{"kind":"Name","value":"evidence"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fileId"}},{"kind":"Field","name":{"kind":"Name","value":"versionId"}},{"kind":"Field","name":{"kind":"Name","value":"sha256Hash"}},{"kind":"Field","name":{"kind":"Name","value":"checkedAt"}}]}}]}}]} as unknown as DocumentNode<StockAssessmentFragment, unknown>;
|
|
458
|
+
export const StockBindingInventoryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"StockBindingInventory"},"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":"FragmentSpread","name":{"kind":"Name","value":"StockSourceContext"}}]}},{"kind":"Field","name":{"kind":"Name","value":"inventoryItemsCount"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"StockSourceContext"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwInventoryItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"cargoItemId"}},{"kind":"Field","name":{"kind":"Name","value":"warehouseId"}},{"kind":"Field","name":{"kind":"Name","value":"locationId"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"compositionEpoch"}},{"kind":"Field","name":{"kind":"Name","value":"onHand"}},{"kind":"Field","name":{"kind":"Name","value":"available"}},{"kind":"Field","name":{"kind":"Name","value":"allocated"}},{"kind":"Field","name":{"kind":"Name","value":"damaged"}},{"kind":"Field","name":{"kind":"Name","value":"cargoItem"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"hazardous"}},{"kind":"Field","name":{"kind":"Name","value":"fragile"}},{"kind":"Field","name":{"kind":"Name","value":"temperatureControlled"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"warehouse"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"location"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"warehouseId"}},{"kind":"Field","name":{"kind":"Name","value":"locationCode"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]}}]} as unknown as DocumentNode<StockBindingInventoryQuery, StockBindingInventoryQueryVariables>;
|
|
459
|
+
export const StockBindingContextDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"StockBindingContext"},"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":"inventoryItem"},"arguments":[{"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":"StockSourceContext"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"StockSourceContext"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwInventoryItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"cargoItemId"}},{"kind":"Field","name":{"kind":"Name","value":"warehouseId"}},{"kind":"Field","name":{"kind":"Name","value":"locationId"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"compositionEpoch"}},{"kind":"Field","name":{"kind":"Name","value":"onHand"}},{"kind":"Field","name":{"kind":"Name","value":"available"}},{"kind":"Field","name":{"kind":"Name","value":"allocated"}},{"kind":"Field","name":{"kind":"Name","value":"damaged"}},{"kind":"Field","name":{"kind":"Name","value":"cargoItem"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"hazardous"}},{"kind":"Field","name":{"kind":"Name","value":"fragile"}},{"kind":"Field","name":{"kind":"Name","value":"temperatureControlled"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"warehouse"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"location"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"warehouseId"}},{"kind":"Field","name":{"kind":"Name","value":"locationCode"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]}}]} as unknown as DocumentNode<StockBindingContextQuery, StockBindingContextQueryVariables>;
|
|
460
|
+
export const StockBindingHistoryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"StockBindingHistory"},"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":"mtwStockBindingAssessmentPage"},"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":"StockAssessment"}}]}},{"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":"StockAssessment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwStockBindingAssessment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"inventoryItemId"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"previousAssessmentId"}},{"kind":"Field","name":{"kind":"Name","value":"effectiveAt"}},{"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":"capturedCargoItemId"}},{"kind":"Field","name":{"kind":"Name","value":"capturedWarehouseId"}},{"kind":"Field","name":{"kind":"Name","value":"capturedLocationId"}},{"kind":"Field","name":{"kind":"Name","value":"capturedInventoryUpdatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"capturedCargoUpdatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"capturedWarehouseUpdatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"capturedLocationUpdatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"capturedCompositionEpoch"}},{"kind":"Field","name":{"kind":"Name","value":"criticalFingerprint"}},{"kind":"Field","name":{"kind":"Name","value":"completeness"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"reasons"}}]}},{"kind":"Field","name":{"kind":"Name","value":"facts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"schemaVersion"}},{"kind":"Field","name":{"kind":"Name","value":"provenance"}},{"kind":"Field","name":{"kind":"Name","value":"scope"}},{"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":"countUnit"},"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":"scanMapping"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"reportedItemLabel"}},{"kind":"Field","name":{"kind":"Name","value":"reportedBinLabel"}},{"kind":"Field","name":{"kind":"Name","value":"mappingReference"}},{"kind":"Field","name":{"kind":"Name","value":"mappingRevision"}}]}},{"kind":"Field","name":{"kind":"Name","value":"declaredLotPolicy"}},{"kind":"Field","name":{"kind":"Name","value":"lot"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"reference"}},{"kind":"Field","name":{"kind":"Name","value":"revision"}},{"kind":"Field","name":{"kind":"Name","value":"declaredDisposition"}},{"kind":"Field","name":{"kind":"Name","value":"expiry"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"policy"}},{"kind":"Field","name":{"kind":"Name","value":"expiresAt"}},{"kind":"Field","name":{"kind":"Name","value":"sourceReference"}},{"kind":"Field","name":{"kind":"Name","value":"sourceRevision"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceValidity"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"policy"}},{"kind":"Field","name":{"kind":"Name","value":"from"}},{"kind":"Field","name":{"kind":"Name","value":"until"}},{"kind":"Field","name":{"kind":"Name","value":"sourceReference"}},{"kind":"Field","name":{"kind":"Name","value":"sourceRevision"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"criticalOwnerSnapshot"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"schemaVersion"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceId"}},{"kind":"Field","name":{"kind":"Name","value":"inventoryItemId"}},{"kind":"Field","name":{"kind":"Name","value":"cargoItemId"}},{"kind":"Field","name":{"kind":"Name","value":"warehouseId"}},{"kind":"Field","name":{"kind":"Name","value":"locationId"}},{"kind":"Field","name":{"kind":"Name","value":"cargoSku"}},{"kind":"Field","name":{"kind":"Name","value":"cargoHazardous"}},{"kind":"Field","name":{"kind":"Name","value":"cargoFragile"}},{"kind":"Field","name":{"kind":"Name","value":"cargoTemperatureControlled"}},{"kind":"Field","name":{"kind":"Name","value":"warehouseCode"}},{"kind":"Field","name":{"kind":"Name","value":"warehouseStatus"}},{"kind":"Field","name":{"kind":"Name","value":"locationWarehouseId"}},{"kind":"Field","name":{"kind":"Name","value":"locationCode"}},{"kind":"Field","name":{"kind":"Name","value":"locationStatus"}}]}},{"kind":"Field","name":{"kind":"Name","value":"capturedStockQuantityAudit"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"onHand"}},{"kind":"Field","name":{"kind":"Name","value":"available"}},{"kind":"Field","name":{"kind":"Name","value":"allocated"}},{"kind":"Field","name":{"kind":"Name","value":"damaged"}}]}},{"kind":"Field","name":{"kind":"Name","value":"evidence"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fileId"}},{"kind":"Field","name":{"kind":"Name","value":"versionId"}},{"kind":"Field","name":{"kind":"Name","value":"sha256Hash"}},{"kind":"Field","name":{"kind":"Name","value":"checkedAt"}}]}}]}}]} as unknown as DocumentNode<StockBindingHistoryQuery, StockBindingHistoryQueryVariables>;
|
|
461
|
+
export const StockBindingExactDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"StockBindingExact"},"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":"mtwStockBindingAssessment"},"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":"StockAssessment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"StockAssessment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwStockBindingAssessment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"inventoryItemId"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"previousAssessmentId"}},{"kind":"Field","name":{"kind":"Name","value":"effectiveAt"}},{"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":"capturedCargoItemId"}},{"kind":"Field","name":{"kind":"Name","value":"capturedWarehouseId"}},{"kind":"Field","name":{"kind":"Name","value":"capturedLocationId"}},{"kind":"Field","name":{"kind":"Name","value":"capturedInventoryUpdatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"capturedCargoUpdatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"capturedWarehouseUpdatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"capturedLocationUpdatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"capturedCompositionEpoch"}},{"kind":"Field","name":{"kind":"Name","value":"criticalFingerprint"}},{"kind":"Field","name":{"kind":"Name","value":"completeness"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"reasons"}}]}},{"kind":"Field","name":{"kind":"Name","value":"facts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"schemaVersion"}},{"kind":"Field","name":{"kind":"Name","value":"provenance"}},{"kind":"Field","name":{"kind":"Name","value":"scope"}},{"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":"countUnit"},"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":"scanMapping"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"reportedItemLabel"}},{"kind":"Field","name":{"kind":"Name","value":"reportedBinLabel"}},{"kind":"Field","name":{"kind":"Name","value":"mappingReference"}},{"kind":"Field","name":{"kind":"Name","value":"mappingRevision"}}]}},{"kind":"Field","name":{"kind":"Name","value":"declaredLotPolicy"}},{"kind":"Field","name":{"kind":"Name","value":"lot"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"reference"}},{"kind":"Field","name":{"kind":"Name","value":"revision"}},{"kind":"Field","name":{"kind":"Name","value":"declaredDisposition"}},{"kind":"Field","name":{"kind":"Name","value":"expiry"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"policy"}},{"kind":"Field","name":{"kind":"Name","value":"expiresAt"}},{"kind":"Field","name":{"kind":"Name","value":"sourceReference"}},{"kind":"Field","name":{"kind":"Name","value":"sourceRevision"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceValidity"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"policy"}},{"kind":"Field","name":{"kind":"Name","value":"from"}},{"kind":"Field","name":{"kind":"Name","value":"until"}},{"kind":"Field","name":{"kind":"Name","value":"sourceReference"}},{"kind":"Field","name":{"kind":"Name","value":"sourceRevision"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"criticalOwnerSnapshot"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"schemaVersion"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceId"}},{"kind":"Field","name":{"kind":"Name","value":"inventoryItemId"}},{"kind":"Field","name":{"kind":"Name","value":"cargoItemId"}},{"kind":"Field","name":{"kind":"Name","value":"warehouseId"}},{"kind":"Field","name":{"kind":"Name","value":"locationId"}},{"kind":"Field","name":{"kind":"Name","value":"cargoSku"}},{"kind":"Field","name":{"kind":"Name","value":"cargoHazardous"}},{"kind":"Field","name":{"kind":"Name","value":"cargoFragile"}},{"kind":"Field","name":{"kind":"Name","value":"cargoTemperatureControlled"}},{"kind":"Field","name":{"kind":"Name","value":"warehouseCode"}},{"kind":"Field","name":{"kind":"Name","value":"warehouseStatus"}},{"kind":"Field","name":{"kind":"Name","value":"locationWarehouseId"}},{"kind":"Field","name":{"kind":"Name","value":"locationCode"}},{"kind":"Field","name":{"kind":"Name","value":"locationStatus"}}]}},{"kind":"Field","name":{"kind":"Name","value":"capturedStockQuantityAudit"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"onHand"}},{"kind":"Field","name":{"kind":"Name","value":"available"}},{"kind":"Field","name":{"kind":"Name","value":"allocated"}},{"kind":"Field","name":{"kind":"Name","value":"damaged"}}]}},{"kind":"Field","name":{"kind":"Name","value":"evidence"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fileId"}},{"kind":"Field","name":{"kind":"Name","value":"versionId"}},{"kind":"Field","name":{"kind":"Name","value":"sha256Hash"}},{"kind":"Field","name":{"kind":"Name","value":"checkedAt"}}]}}]}}]} as unknown as DocumentNode<StockBindingExactQuery, StockBindingExactQueryVariables>;
|
|
462
|
+
export const RecordStockBindingDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"RecordStockBinding"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"RecordMtwStockBindingAssessmentInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"recordMtwStockBindingAssessment"},"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":"StockAssessment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"StockAssessment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MtwStockBindingAssessment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"inventoryItemId"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"previousAssessmentId"}},{"kind":"Field","name":{"kind":"Name","value":"effectiveAt"}},{"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":"capturedCargoItemId"}},{"kind":"Field","name":{"kind":"Name","value":"capturedWarehouseId"}},{"kind":"Field","name":{"kind":"Name","value":"capturedLocationId"}},{"kind":"Field","name":{"kind":"Name","value":"capturedInventoryUpdatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"capturedCargoUpdatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"capturedWarehouseUpdatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"capturedLocationUpdatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"capturedCompositionEpoch"}},{"kind":"Field","name":{"kind":"Name","value":"criticalFingerprint"}},{"kind":"Field","name":{"kind":"Name","value":"completeness"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"reasons"}}]}},{"kind":"Field","name":{"kind":"Name","value":"facts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"schemaVersion"}},{"kind":"Field","name":{"kind":"Name","value":"provenance"}},{"kind":"Field","name":{"kind":"Name","value":"scope"}},{"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":"countUnit"},"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":"scanMapping"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"reportedItemLabel"}},{"kind":"Field","name":{"kind":"Name","value":"reportedBinLabel"}},{"kind":"Field","name":{"kind":"Name","value":"mappingReference"}},{"kind":"Field","name":{"kind":"Name","value":"mappingRevision"}}]}},{"kind":"Field","name":{"kind":"Name","value":"declaredLotPolicy"}},{"kind":"Field","name":{"kind":"Name","value":"lot"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"reference"}},{"kind":"Field","name":{"kind":"Name","value":"revision"}},{"kind":"Field","name":{"kind":"Name","value":"declaredDisposition"}},{"kind":"Field","name":{"kind":"Name","value":"expiry"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"policy"}},{"kind":"Field","name":{"kind":"Name","value":"expiresAt"}},{"kind":"Field","name":{"kind":"Name","value":"sourceReference"}},{"kind":"Field","name":{"kind":"Name","value":"sourceRevision"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceValidity"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"policy"}},{"kind":"Field","name":{"kind":"Name","value":"from"}},{"kind":"Field","name":{"kind":"Name","value":"until"}},{"kind":"Field","name":{"kind":"Name","value":"sourceReference"}},{"kind":"Field","name":{"kind":"Name","value":"sourceRevision"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"criticalOwnerSnapshot"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"schemaVersion"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceId"}},{"kind":"Field","name":{"kind":"Name","value":"inventoryItemId"}},{"kind":"Field","name":{"kind":"Name","value":"cargoItemId"}},{"kind":"Field","name":{"kind":"Name","value":"warehouseId"}},{"kind":"Field","name":{"kind":"Name","value":"locationId"}},{"kind":"Field","name":{"kind":"Name","value":"cargoSku"}},{"kind":"Field","name":{"kind":"Name","value":"cargoHazardous"}},{"kind":"Field","name":{"kind":"Name","value":"cargoFragile"}},{"kind":"Field","name":{"kind":"Name","value":"cargoTemperatureControlled"}},{"kind":"Field","name":{"kind":"Name","value":"warehouseCode"}},{"kind":"Field","name":{"kind":"Name","value":"warehouseStatus"}},{"kind":"Field","name":{"kind":"Name","value":"locationWarehouseId"}},{"kind":"Field","name":{"kind":"Name","value":"locationCode"}},{"kind":"Field","name":{"kind":"Name","value":"locationStatus"}}]}},{"kind":"Field","name":{"kind":"Name","value":"capturedStockQuantityAudit"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"onHand"}},{"kind":"Field","name":{"kind":"Name","value":"available"}},{"kind":"Field","name":{"kind":"Name","value":"allocated"}},{"kind":"Field","name":{"kind":"Name","value":"damaged"}}]}},{"kind":"Field","name":{"kind":"Name","value":"evidence"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fileId"}},{"kind":"Field","name":{"kind":"Name","value":"versionId"}},{"kind":"Field","name":{"kind":"Name","value":"sha256Hash"}},{"kind":"Field","name":{"kind":"Name","value":"checkedAt"}}]}}]}}]} as unknown as DocumentNode<RecordStockBindingMutation, RecordStockBindingMutationVariables>;
|