@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 './consolidation-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; }
|
|
@@ -515,624 +516,124 @@ export type TransportMode =
|
|
|
515
516
|
| 'ROAD';
|
|
516
517
|
|
|
517
518
|
export type ConsolidationShipmentsQueryVariables = Exact<{
|
|
518
|
-
pagination?:
|
|
519
|
+
pagination?: Types.PaginationInput | null | undefined;
|
|
519
520
|
}>;
|
|
520
521
|
|
|
521
522
|
|
|
522
|
-
export type ConsolidationShipmentsQuery = {
|
|
523
|
+
export type ConsolidationShipmentsQuery = { shipmentsCount: number, shipments: Array<{ id: string, shipmentNumber: string, updatedAt: string, status: Types.ShipmentStatus }> };
|
|
523
524
|
|
|
524
525
|
export type ConsolidationShipmentQueryVariables = Exact<{
|
|
525
|
-
id:
|
|
526
|
+
id: string;
|
|
526
527
|
}>;
|
|
527
528
|
|
|
528
529
|
|
|
529
|
-
export type ConsolidationShipmentQuery = {
|
|
530
|
+
export type ConsolidationShipmentQuery = { shipment: { id: string, shipmentNumber: string, updatedAt: string, status: Types.ShipmentStatus } | null };
|
|
530
531
|
|
|
531
532
|
export type ConsolidationContainersQueryVariables = Exact<{
|
|
532
|
-
pagination?:
|
|
533
|
+
pagination?: Types.MtwContainerPagination | null | undefined;
|
|
533
534
|
}>;
|
|
534
535
|
|
|
535
536
|
|
|
536
|
-
export type ConsolidationContainersQuery = {
|
|
537
|
+
export type ConsolidationContainersQuery = { mtwContainerPage: { total: number, limit: number, offset: number, hasMore: boolean, nextOffset: number | null, items: Array<{ id: string, containerNumber: string, equipmentType: Types.MtwEquipmentType }> } };
|
|
537
538
|
|
|
538
539
|
export type ConsolidationCyclesQueryVariables = Exact<{
|
|
539
|
-
containerId:
|
|
540
|
-
pagination?:
|
|
540
|
+
containerId: string;
|
|
541
|
+
pagination?: Types.MtwContainerPagination | null | undefined;
|
|
541
542
|
}>;
|
|
542
543
|
|
|
543
544
|
|
|
544
|
-
export type ConsolidationCyclesQuery = {
|
|
545
|
+
export type ConsolidationCyclesQuery = { mtwContainerCyclePage: { total: number, limit: number, offset: number, hasMore: boolean, nextOffset: number | null, items: Array<{ id: string, containerId: string, shipmentId: string | null, bookingReference: string | null, openedAt: string, closedAt: string | null, status: Types.MtwContainerCycleStatus, version: number }> } };
|
|
545
546
|
|
|
546
547
|
export type ConsolidationPlansQueryVariables = Exact<{
|
|
547
|
-
shipmentId:
|
|
548
|
-
planReference?:
|
|
549
|
-
pagination?:
|
|
548
|
+
shipmentId: string;
|
|
549
|
+
planReference?: string | null | undefined;
|
|
550
|
+
pagination?: Types.MtwContainerPagination | null | undefined;
|
|
550
551
|
}>;
|
|
551
552
|
|
|
552
553
|
|
|
553
|
-
export type ConsolidationPlansQuery = {
|
|
554
|
+
export type ConsolidationPlansQuery = { mtwConsolidationPlanPage: { total: number, limit: number, offset: number, hasMore: boolean, nextOffset: number | null, items: Array<{ id: string, shipmentId: string, cycleId: string, planReference: string, version: number, previousVersionId: string | null, status: string, recordedAt: string, createdBy: string, actorProvenance: string, facts: { hubName: string, effectiveAt: string } }> } };
|
|
554
555
|
|
|
555
556
|
export type ConsolidationPlanQueryVariables = Exact<{
|
|
556
|
-
shipmentId:
|
|
557
|
-
id:
|
|
557
|
+
shipmentId: string;
|
|
558
|
+
id: string;
|
|
558
559
|
}>;
|
|
559
560
|
|
|
560
561
|
|
|
561
|
-
export type ConsolidationPlanQuery = {
|
|
562
|
+
export type ConsolidationPlanQuery = { mtwConsolidationPlan: { id: string, shipmentId: string, cycleId: string, planReference: string, version: number, previousVersionId: string | null, status: string, recordedAt: string, createdBy: string, actorProvenance: string, onBehalfOf: string | null, sourceCapture: { shipmentNumber: string, shipmentUpdatedAt: string, containerId: string, cycleVersion: number, bookingReference: string | null }, evidence: Array<{ fileId: string, versionId: string, sha256Hash: string, checkedAt: string }>, facts: { hubReference: string, hubName: string, mode: string | null, carrierReference: string | null, bookingReference: string | null, cutoffAt: string | null, timezone: string | null, jurisdictionReference: string | null, effectiveAt: string, hubSource: { reference: string | null, revision: string | null }, contextSource: { reference: string | null, revision: string | null }, lots: Array<{ id: string, supplierReference: string, lotReference: string, consignmentReference: string, sourceRevision: string, quantityBasis: Types.MtwConsolidationQuantityBasis, unitReference: string | null, unitRevision: string | null, balanceRevision: string | null, reportedAvailableQuantity: string | null, plannedQuantity: string | null, grossKg: string | null, cubeM3: string | null, originReference: string | null, destinationReference: string | null, importerReference: string | null, transportReference: string | null, documentReference: string | null, source: { reference: string | null, revision: string | null } }> } } };
|
|
562
563
|
|
|
563
564
|
export type ConsolidationObservationsQueryVariables = Exact<{
|
|
564
|
-
planId:
|
|
565
|
-
pagination?:
|
|
565
|
+
planId: string;
|
|
566
|
+
pagination?: Types.MtwContainerPagination | null | undefined;
|
|
566
567
|
}>;
|
|
567
568
|
|
|
568
569
|
|
|
569
|
-
export type ConsolidationObservationsQuery = {
|
|
570
|
+
export type ConsolidationObservationsQuery = { mtwConsolidationObservationPage: { total: number, limit: number, offset: number, hasMore: boolean, nextOffset: number | null, items: Array<{ id: string, planId: string, lotId: string, kind: Types.MtwConsolidationReportKind, issueReference: string | null, version: number, previousVersionId: string | null, receiptSequence: number, reportedQuantity: string | null, reportedObservedAt: string | null, reason: string, unitReference: string | null, unitRevision: string | null, status: string, recordedAt: string, createdBy: string, actorProvenance: string, onBehalfOf: string | null, source: { reference: string | null, revision: string | null }, evidence: Array<{ fileId: string, versionId: string, sha256Hash: string, checkedAt: string }>, evidenceDeclarations: Array<{ fileId: string, versionId: string, verification: string }> }> } };
|
|
570
571
|
|
|
571
572
|
export type ConsolidationObservationQueryVariables = Exact<{
|
|
572
|
-
planId:
|
|
573
|
-
id:
|
|
573
|
+
planId: string;
|
|
574
|
+
id: string;
|
|
574
575
|
}>;
|
|
575
576
|
|
|
576
577
|
|
|
577
|
-
export type ConsolidationObservationQuery = {
|
|
578
|
+
export type ConsolidationObservationQuery = { mtwConsolidationObservation: { id: string, planId: string, lotId: string, kind: Types.MtwConsolidationReportKind, issueReference: string | null, version: number, previousVersionId: string | null, receiptSequence: number, reportedQuantity: string | null, reportedObservedAt: string | null, reason: string, unitReference: string | null, unitRevision: string | null, status: string, recordedAt: string, createdBy: string, actorProvenance: string, onBehalfOf: string | null, source: { reference: string | null, revision: string | null }, evidence: Array<{ fileId: string, versionId: string, sha256Hash: string, checkedAt: string }>, evidenceDeclarations: Array<{ fileId: string, versionId: string, verification: string }> } };
|
|
578
579
|
|
|
579
580
|
export type ConsolidationPreviewQueryVariables = Exact<{
|
|
580
|
-
planId:
|
|
581
|
-
expectedObservationSequence:
|
|
581
|
+
planId: string;
|
|
582
|
+
expectedObservationSequence: number;
|
|
582
583
|
}>;
|
|
583
584
|
|
|
584
585
|
|
|
585
|
-
export type ConsolidationPreviewQuery = {
|
|
586
|
+
export type ConsolidationPreviewQuery = { previewMtwConsolidationManifest: { status: string, planId: string, planVersion: number, observationSequence: number, unresolvedIssueCount: number, recentIssueIds: Array<string>, reviewReasons: Array<string>, rows: Array<{ lotId: string, plannedQuantity: string | null, reportedAvailableQuantity: string | null, receivedQuantity: string | null, stuffedQuantity: string | null, availabilityDeficit: string | null, receiptDeficit: string | null, receiptExcess: string | null, stuffingExcess: string | null, receivedMinusStuffed: string | null, unknownReasons: Array<string>, receiptObservationId: string | null, stuffingObservationId: string | null }> } };
|
|
586
587
|
|
|
587
588
|
export type ConsolidationManifestsQueryVariables = Exact<{
|
|
588
|
-
planId:
|
|
589
|
-
pagination?:
|
|
589
|
+
planId: string;
|
|
590
|
+
pagination?: Types.MtwContainerPagination | null | undefined;
|
|
590
591
|
}>;
|
|
591
592
|
|
|
592
593
|
|
|
593
|
-
export type ConsolidationManifestsQuery = {
|
|
594
|
+
export type ConsolidationManifestsQuery = { mtwConsolidationManifestPage: { total: number, limit: number, offset: number, hasMore: boolean, nextOffset: number | null, items: Array<{ id: string, planId: string, version: number, previousVersionId: string | null, observationSequence: number, recordedAt: string, createdBy: string, actorProvenance: string, onBehalfOf: string | null, snapshot: { status: string, planId: string, planVersion: number, observationSequence: number, unresolvedIssueCount: number, recentIssueIds: Array<string>, reviewReasons: Array<string>, rows: Array<{ lotId: string, plannedQuantity: string | null, reportedAvailableQuantity: string | null, receivedQuantity: string | null, stuffedQuantity: string | null, availabilityDeficit: string | null, receiptDeficit: string | null, receiptExcess: string | null, stuffingExcess: string | null, receivedMinusStuffed: string | null, unknownReasons: Array<string>, receiptObservationId: string | null, stuffingObservationId: string | null }> } }> } };
|
|
594
595
|
|
|
595
596
|
export type ConsolidationManifestQueryVariables = Exact<{
|
|
596
|
-
planId:
|
|
597
|
-
id:
|
|
597
|
+
planId: string;
|
|
598
|
+
id: string;
|
|
598
599
|
}>;
|
|
599
600
|
|
|
600
601
|
|
|
601
|
-
export type ConsolidationManifestQuery = {
|
|
602
|
+
export type ConsolidationManifestQuery = { mtwConsolidationManifest: { id: string, planId: string, version: number, previousVersionId: string | null, observationSequence: number, recordedAt: string, createdBy: string, actorProvenance: string, onBehalfOf: string | null, snapshot: { status: string, planId: string, planVersion: number, observationSequence: number, unresolvedIssueCount: number, recentIssueIds: Array<string>, reviewReasons: Array<string>, rows: Array<{ lotId: string, plannedQuantity: string | null, reportedAvailableQuantity: string | null, receivedQuantity: string | null, stuffedQuantity: string | null, availabilityDeficit: string | null, receiptDeficit: string | null, receiptExcess: string | null, stuffingExcess: string | null, receivedMinusStuffed: string | null, unknownReasons: Array<string>, receiptObservationId: string | null, stuffingObservationId: string | null }> } } };
|
|
602
603
|
|
|
603
604
|
export type SaveConsolidationPlanMutationVariables = Exact<{
|
|
604
|
-
input: SaveMtwConsolidationPlanInput;
|
|
605
|
+
input: Types.SaveMtwConsolidationPlanInput;
|
|
605
606
|
}>;
|
|
606
607
|
|
|
607
608
|
|
|
608
|
-
export type SaveConsolidationPlanMutation = {
|
|
609
|
+
export type SaveConsolidationPlanMutation = { saveMtwConsolidationPlan: { id: string, shipmentId: string, cycleId: string, planReference: string, version: number, previousVersionId: string | null, status: string, recordedAt: string, createdBy: string, actorProvenance: string, onBehalfOf: string | null, sourceCapture: { shipmentNumber: string, shipmentUpdatedAt: string, containerId: string, cycleVersion: number, bookingReference: string | null }, evidence: Array<{ fileId: string, versionId: string, sha256Hash: string, checkedAt: string }>, facts: { hubReference: string, hubName: string, mode: string | null, carrierReference: string | null, bookingReference: string | null, cutoffAt: string | null, timezone: string | null, jurisdictionReference: string | null, effectiveAt: string, hubSource: { reference: string | null, revision: string | null }, contextSource: { reference: string | null, revision: string | null }, lots: Array<{ id: string, supplierReference: string, lotReference: string, consignmentReference: string, sourceRevision: string, quantityBasis: Types.MtwConsolidationQuantityBasis, unitReference: string | null, unitRevision: string | null, balanceRevision: string | null, reportedAvailableQuantity: string | null, plannedQuantity: string | null, grossKg: string | null, cubeM3: string | null, originReference: string | null, destinationReference: string | null, importerReference: string | null, transportReference: string | null, documentReference: string | null, source: { reference: string | null, revision: string | null } }> } } };
|
|
609
610
|
|
|
610
611
|
export type RecordConsolidationObservationMutationVariables = Exact<{
|
|
611
|
-
input: RecordMtwConsolidationObservationInput;
|
|
612
|
+
input: Types.RecordMtwConsolidationObservationInput;
|
|
612
613
|
}>;
|
|
613
614
|
|
|
614
615
|
|
|
615
|
-
export type RecordConsolidationObservationMutation = {
|
|
616
|
+
export type RecordConsolidationObservationMutation = { recordMtwConsolidationObservation: { id: string, planId: string, lotId: string, kind: Types.MtwConsolidationReportKind, issueReference: string | null, version: number, previousVersionId: string | null, receiptSequence: number, reportedQuantity: string | null, reportedObservedAt: string | null, reason: string, unitReference: string | null, unitRevision: string | null, status: string, recordedAt: string, createdBy: string, actorProvenance: string, onBehalfOf: string | null, source: { reference: string | null, revision: string | null }, evidence: Array<{ fileId: string, versionId: string, sha256Hash: string, checkedAt: string }>, evidenceDeclarations: Array<{ fileId: string, versionId: string, verification: string }> } };
|
|
616
617
|
|
|
617
618
|
export type SaveConsolidationManifestMutationVariables = Exact<{
|
|
618
|
-
input: SaveMtwConsolidationManifestInput;
|
|
619
|
+
input: Types.SaveMtwConsolidationManifestInput;
|
|
619
620
|
}>;
|
|
620
621
|
|
|
621
622
|
|
|
622
|
-
export type SaveConsolidationManifestMutation = {
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
export const ConsolidationShipmentsDocument =
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
}
|
|
635
|
-
|
|
636
|
-
export const
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
id
|
|
640
|
-
shipmentNumber
|
|
641
|
-
updatedAt
|
|
642
|
-
status
|
|
643
|
-
}
|
|
644
|
-
}
|
|
645
|
-
`;
|
|
646
|
-
export const ConsolidationContainersDocument = gql`
|
|
647
|
-
query ConsolidationContainers($pagination: MtwContainerPagination) {
|
|
648
|
-
mtwContainerPage(pagination: $pagination) {
|
|
649
|
-
items {
|
|
650
|
-
id
|
|
651
|
-
containerNumber
|
|
652
|
-
equipmentType
|
|
653
|
-
}
|
|
654
|
-
total
|
|
655
|
-
limit
|
|
656
|
-
offset
|
|
657
|
-
hasMore
|
|
658
|
-
nextOffset
|
|
659
|
-
}
|
|
660
|
-
}
|
|
661
|
-
`;
|
|
662
|
-
export const ConsolidationCyclesDocument = gql`
|
|
663
|
-
query ConsolidationCycles($containerId: ID!, $pagination: MtwContainerPagination) {
|
|
664
|
-
mtwContainerCyclePage(containerId: $containerId, pagination: $pagination) {
|
|
665
|
-
items {
|
|
666
|
-
id
|
|
667
|
-
containerId
|
|
668
|
-
shipmentId
|
|
669
|
-
bookingReference
|
|
670
|
-
openedAt
|
|
671
|
-
closedAt
|
|
672
|
-
status
|
|
673
|
-
version
|
|
674
|
-
}
|
|
675
|
-
total
|
|
676
|
-
limit
|
|
677
|
-
offset
|
|
678
|
-
hasMore
|
|
679
|
-
nextOffset
|
|
680
|
-
}
|
|
681
|
-
}
|
|
682
|
-
`;
|
|
683
|
-
export const ConsolidationPlansDocument = gql`
|
|
684
|
-
query ConsolidationPlans($shipmentId: ID!, $planReference: String, $pagination: MtwContainerPagination) {
|
|
685
|
-
mtwConsolidationPlanPage(
|
|
686
|
-
shipmentId: $shipmentId
|
|
687
|
-
planReference: $planReference
|
|
688
|
-
pagination: $pagination
|
|
689
|
-
) {
|
|
690
|
-
items {
|
|
691
|
-
id
|
|
692
|
-
shipmentId
|
|
693
|
-
cycleId
|
|
694
|
-
planReference
|
|
695
|
-
version
|
|
696
|
-
previousVersionId
|
|
697
|
-
status
|
|
698
|
-
recordedAt
|
|
699
|
-
createdBy
|
|
700
|
-
actorProvenance
|
|
701
|
-
facts {
|
|
702
|
-
hubName
|
|
703
|
-
effectiveAt
|
|
704
|
-
}
|
|
705
|
-
}
|
|
706
|
-
total
|
|
707
|
-
limit
|
|
708
|
-
offset
|
|
709
|
-
hasMore
|
|
710
|
-
nextOffset
|
|
711
|
-
}
|
|
712
|
-
}
|
|
713
|
-
`;
|
|
714
|
-
export const ConsolidationPlanDocument = gql`
|
|
715
|
-
query ConsolidationPlan($shipmentId: ID!, $id: ID!) {
|
|
716
|
-
mtwConsolidationPlan(shipmentId: $shipmentId, id: $id) {
|
|
717
|
-
id
|
|
718
|
-
shipmentId
|
|
719
|
-
cycleId
|
|
720
|
-
planReference
|
|
721
|
-
version
|
|
722
|
-
previousVersionId
|
|
723
|
-
status
|
|
724
|
-
recordedAt
|
|
725
|
-
createdBy
|
|
726
|
-
actorProvenance
|
|
727
|
-
onBehalfOf
|
|
728
|
-
sourceCapture {
|
|
729
|
-
shipmentNumber
|
|
730
|
-
shipmentUpdatedAt
|
|
731
|
-
containerId
|
|
732
|
-
cycleVersion
|
|
733
|
-
bookingReference
|
|
734
|
-
}
|
|
735
|
-
evidence {
|
|
736
|
-
fileId
|
|
737
|
-
versionId
|
|
738
|
-
sha256Hash
|
|
739
|
-
checkedAt
|
|
740
|
-
}
|
|
741
|
-
facts {
|
|
742
|
-
hubReference
|
|
743
|
-
hubName
|
|
744
|
-
hubSource {
|
|
745
|
-
reference
|
|
746
|
-
revision
|
|
747
|
-
}
|
|
748
|
-
mode
|
|
749
|
-
carrierReference
|
|
750
|
-
bookingReference
|
|
751
|
-
cutoffAt
|
|
752
|
-
timezone
|
|
753
|
-
jurisdictionReference
|
|
754
|
-
contextSource {
|
|
755
|
-
reference
|
|
756
|
-
revision
|
|
757
|
-
}
|
|
758
|
-
effectiveAt
|
|
759
|
-
lots {
|
|
760
|
-
id
|
|
761
|
-
supplierReference
|
|
762
|
-
lotReference
|
|
763
|
-
consignmentReference
|
|
764
|
-
sourceRevision
|
|
765
|
-
quantityBasis
|
|
766
|
-
unitReference
|
|
767
|
-
unitRevision
|
|
768
|
-
balanceRevision
|
|
769
|
-
reportedAvailableQuantity
|
|
770
|
-
plannedQuantity
|
|
771
|
-
grossKg
|
|
772
|
-
cubeM3
|
|
773
|
-
originReference
|
|
774
|
-
destinationReference
|
|
775
|
-
importerReference
|
|
776
|
-
transportReference
|
|
777
|
-
documentReference
|
|
778
|
-
source {
|
|
779
|
-
reference
|
|
780
|
-
revision
|
|
781
|
-
}
|
|
782
|
-
}
|
|
783
|
-
}
|
|
784
|
-
}
|
|
785
|
-
}
|
|
786
|
-
`;
|
|
787
|
-
export const ConsolidationObservationsDocument = gql`
|
|
788
|
-
query ConsolidationObservations($planId: ID!, $pagination: MtwContainerPagination) {
|
|
789
|
-
mtwConsolidationObservationPage(planId: $planId, pagination: $pagination) {
|
|
790
|
-
items {
|
|
791
|
-
id
|
|
792
|
-
planId
|
|
793
|
-
lotId
|
|
794
|
-
kind
|
|
795
|
-
issueReference
|
|
796
|
-
version
|
|
797
|
-
previousVersionId
|
|
798
|
-
receiptSequence
|
|
799
|
-
reportedQuantity
|
|
800
|
-
reportedObservedAt
|
|
801
|
-
reason
|
|
802
|
-
unitReference
|
|
803
|
-
unitRevision
|
|
804
|
-
source {
|
|
805
|
-
reference
|
|
806
|
-
revision
|
|
807
|
-
}
|
|
808
|
-
status
|
|
809
|
-
recordedAt
|
|
810
|
-
createdBy
|
|
811
|
-
actorProvenance
|
|
812
|
-
onBehalfOf
|
|
813
|
-
evidence {
|
|
814
|
-
fileId
|
|
815
|
-
versionId
|
|
816
|
-
sha256Hash
|
|
817
|
-
checkedAt
|
|
818
|
-
}
|
|
819
|
-
evidenceDeclarations {
|
|
820
|
-
fileId
|
|
821
|
-
versionId
|
|
822
|
-
verification
|
|
823
|
-
}
|
|
824
|
-
}
|
|
825
|
-
total
|
|
826
|
-
limit
|
|
827
|
-
offset
|
|
828
|
-
hasMore
|
|
829
|
-
nextOffset
|
|
830
|
-
}
|
|
831
|
-
}
|
|
832
|
-
`;
|
|
833
|
-
export const ConsolidationObservationDocument = gql`
|
|
834
|
-
query ConsolidationObservation($planId: ID!, $id: ID!) {
|
|
835
|
-
mtwConsolidationObservation(planId: $planId, id: $id) {
|
|
836
|
-
id
|
|
837
|
-
planId
|
|
838
|
-
lotId
|
|
839
|
-
kind
|
|
840
|
-
issueReference
|
|
841
|
-
version
|
|
842
|
-
previousVersionId
|
|
843
|
-
receiptSequence
|
|
844
|
-
reportedQuantity
|
|
845
|
-
reportedObservedAt
|
|
846
|
-
reason
|
|
847
|
-
unitReference
|
|
848
|
-
unitRevision
|
|
849
|
-
source {
|
|
850
|
-
reference
|
|
851
|
-
revision
|
|
852
|
-
}
|
|
853
|
-
status
|
|
854
|
-
recordedAt
|
|
855
|
-
createdBy
|
|
856
|
-
actorProvenance
|
|
857
|
-
onBehalfOf
|
|
858
|
-
evidence {
|
|
859
|
-
fileId
|
|
860
|
-
versionId
|
|
861
|
-
sha256Hash
|
|
862
|
-
checkedAt
|
|
863
|
-
}
|
|
864
|
-
evidenceDeclarations {
|
|
865
|
-
fileId
|
|
866
|
-
versionId
|
|
867
|
-
verification
|
|
868
|
-
}
|
|
869
|
-
}
|
|
870
|
-
}
|
|
871
|
-
`;
|
|
872
|
-
export const ConsolidationPreviewDocument = gql`
|
|
873
|
-
query ConsolidationPreview($planId: ID!, $expectedObservationSequence: Int!) {
|
|
874
|
-
previewMtwConsolidationManifest(
|
|
875
|
-
planId: $planId
|
|
876
|
-
expectedObservationSequence: $expectedObservationSequence
|
|
877
|
-
) {
|
|
878
|
-
status
|
|
879
|
-
planId
|
|
880
|
-
planVersion
|
|
881
|
-
observationSequence
|
|
882
|
-
unresolvedIssueCount
|
|
883
|
-
recentIssueIds
|
|
884
|
-
reviewReasons
|
|
885
|
-
rows {
|
|
886
|
-
lotId
|
|
887
|
-
plannedQuantity
|
|
888
|
-
reportedAvailableQuantity
|
|
889
|
-
receivedQuantity
|
|
890
|
-
stuffedQuantity
|
|
891
|
-
availabilityDeficit
|
|
892
|
-
receiptDeficit
|
|
893
|
-
receiptExcess
|
|
894
|
-
stuffingExcess
|
|
895
|
-
receivedMinusStuffed
|
|
896
|
-
unknownReasons
|
|
897
|
-
receiptObservationId
|
|
898
|
-
stuffingObservationId
|
|
899
|
-
}
|
|
900
|
-
}
|
|
901
|
-
}
|
|
902
|
-
`;
|
|
903
|
-
export const ConsolidationManifestsDocument = gql`
|
|
904
|
-
query ConsolidationManifests($planId: ID!, $pagination: MtwContainerPagination) {
|
|
905
|
-
mtwConsolidationManifestPage(planId: $planId, pagination: $pagination) {
|
|
906
|
-
items {
|
|
907
|
-
id
|
|
908
|
-
planId
|
|
909
|
-
version
|
|
910
|
-
previousVersionId
|
|
911
|
-
observationSequence
|
|
912
|
-
recordedAt
|
|
913
|
-
createdBy
|
|
914
|
-
actorProvenance
|
|
915
|
-
onBehalfOf
|
|
916
|
-
snapshot {
|
|
917
|
-
status
|
|
918
|
-
planId
|
|
919
|
-
planVersion
|
|
920
|
-
observationSequence
|
|
921
|
-
unresolvedIssueCount
|
|
922
|
-
recentIssueIds
|
|
923
|
-
reviewReasons
|
|
924
|
-
rows {
|
|
925
|
-
lotId
|
|
926
|
-
plannedQuantity
|
|
927
|
-
reportedAvailableQuantity
|
|
928
|
-
receivedQuantity
|
|
929
|
-
stuffedQuantity
|
|
930
|
-
availabilityDeficit
|
|
931
|
-
receiptDeficit
|
|
932
|
-
receiptExcess
|
|
933
|
-
stuffingExcess
|
|
934
|
-
receivedMinusStuffed
|
|
935
|
-
unknownReasons
|
|
936
|
-
receiptObservationId
|
|
937
|
-
stuffingObservationId
|
|
938
|
-
}
|
|
939
|
-
}
|
|
940
|
-
}
|
|
941
|
-
total
|
|
942
|
-
limit
|
|
943
|
-
offset
|
|
944
|
-
hasMore
|
|
945
|
-
nextOffset
|
|
946
|
-
}
|
|
947
|
-
}
|
|
948
|
-
`;
|
|
949
|
-
export const ConsolidationManifestDocument = gql`
|
|
950
|
-
query ConsolidationManifest($planId: ID!, $id: ID!) {
|
|
951
|
-
mtwConsolidationManifest(planId: $planId, id: $id) {
|
|
952
|
-
id
|
|
953
|
-
planId
|
|
954
|
-
version
|
|
955
|
-
previousVersionId
|
|
956
|
-
observationSequence
|
|
957
|
-
recordedAt
|
|
958
|
-
createdBy
|
|
959
|
-
actorProvenance
|
|
960
|
-
onBehalfOf
|
|
961
|
-
snapshot {
|
|
962
|
-
status
|
|
963
|
-
planId
|
|
964
|
-
planVersion
|
|
965
|
-
observationSequence
|
|
966
|
-
unresolvedIssueCount
|
|
967
|
-
recentIssueIds
|
|
968
|
-
reviewReasons
|
|
969
|
-
rows {
|
|
970
|
-
lotId
|
|
971
|
-
plannedQuantity
|
|
972
|
-
reportedAvailableQuantity
|
|
973
|
-
receivedQuantity
|
|
974
|
-
stuffedQuantity
|
|
975
|
-
availabilityDeficit
|
|
976
|
-
receiptDeficit
|
|
977
|
-
receiptExcess
|
|
978
|
-
stuffingExcess
|
|
979
|
-
receivedMinusStuffed
|
|
980
|
-
unknownReasons
|
|
981
|
-
receiptObservationId
|
|
982
|
-
stuffingObservationId
|
|
983
|
-
}
|
|
984
|
-
}
|
|
985
|
-
}
|
|
986
|
-
}
|
|
987
|
-
`;
|
|
988
|
-
export const SaveConsolidationPlanDocument = gql`
|
|
989
|
-
mutation SaveConsolidationPlan($input: SaveMtwConsolidationPlanInput!) {
|
|
990
|
-
saveMtwConsolidationPlan(input: $input) {
|
|
991
|
-
id
|
|
992
|
-
shipmentId
|
|
993
|
-
cycleId
|
|
994
|
-
planReference
|
|
995
|
-
version
|
|
996
|
-
previousVersionId
|
|
997
|
-
status
|
|
998
|
-
recordedAt
|
|
999
|
-
createdBy
|
|
1000
|
-
actorProvenance
|
|
1001
|
-
onBehalfOf
|
|
1002
|
-
sourceCapture {
|
|
1003
|
-
shipmentNumber
|
|
1004
|
-
shipmentUpdatedAt
|
|
1005
|
-
containerId
|
|
1006
|
-
cycleVersion
|
|
1007
|
-
bookingReference
|
|
1008
|
-
}
|
|
1009
|
-
evidence {
|
|
1010
|
-
fileId
|
|
1011
|
-
versionId
|
|
1012
|
-
sha256Hash
|
|
1013
|
-
checkedAt
|
|
1014
|
-
}
|
|
1015
|
-
facts {
|
|
1016
|
-
hubReference
|
|
1017
|
-
hubName
|
|
1018
|
-
hubSource {
|
|
1019
|
-
reference
|
|
1020
|
-
revision
|
|
1021
|
-
}
|
|
1022
|
-
mode
|
|
1023
|
-
carrierReference
|
|
1024
|
-
bookingReference
|
|
1025
|
-
cutoffAt
|
|
1026
|
-
timezone
|
|
1027
|
-
jurisdictionReference
|
|
1028
|
-
contextSource {
|
|
1029
|
-
reference
|
|
1030
|
-
revision
|
|
1031
|
-
}
|
|
1032
|
-
effectiveAt
|
|
1033
|
-
lots {
|
|
1034
|
-
id
|
|
1035
|
-
supplierReference
|
|
1036
|
-
lotReference
|
|
1037
|
-
consignmentReference
|
|
1038
|
-
sourceRevision
|
|
1039
|
-
quantityBasis
|
|
1040
|
-
unitReference
|
|
1041
|
-
unitRevision
|
|
1042
|
-
balanceRevision
|
|
1043
|
-
reportedAvailableQuantity
|
|
1044
|
-
plannedQuantity
|
|
1045
|
-
grossKg
|
|
1046
|
-
cubeM3
|
|
1047
|
-
originReference
|
|
1048
|
-
destinationReference
|
|
1049
|
-
importerReference
|
|
1050
|
-
transportReference
|
|
1051
|
-
documentReference
|
|
1052
|
-
source {
|
|
1053
|
-
reference
|
|
1054
|
-
revision
|
|
1055
|
-
}
|
|
1056
|
-
}
|
|
1057
|
-
}
|
|
1058
|
-
}
|
|
1059
|
-
}
|
|
1060
|
-
`;
|
|
1061
|
-
export const RecordConsolidationObservationDocument = gql`
|
|
1062
|
-
mutation RecordConsolidationObservation($input: RecordMtwConsolidationObservationInput!) {
|
|
1063
|
-
recordMtwConsolidationObservation(input: $input) {
|
|
1064
|
-
id
|
|
1065
|
-
planId
|
|
1066
|
-
lotId
|
|
1067
|
-
kind
|
|
1068
|
-
issueReference
|
|
1069
|
-
version
|
|
1070
|
-
previousVersionId
|
|
1071
|
-
receiptSequence
|
|
1072
|
-
reportedQuantity
|
|
1073
|
-
reportedObservedAt
|
|
1074
|
-
reason
|
|
1075
|
-
unitReference
|
|
1076
|
-
unitRevision
|
|
1077
|
-
source {
|
|
1078
|
-
reference
|
|
1079
|
-
revision
|
|
1080
|
-
}
|
|
1081
|
-
status
|
|
1082
|
-
recordedAt
|
|
1083
|
-
createdBy
|
|
1084
|
-
actorProvenance
|
|
1085
|
-
onBehalfOf
|
|
1086
|
-
evidence {
|
|
1087
|
-
fileId
|
|
1088
|
-
versionId
|
|
1089
|
-
sha256Hash
|
|
1090
|
-
checkedAt
|
|
1091
|
-
}
|
|
1092
|
-
evidenceDeclarations {
|
|
1093
|
-
fileId
|
|
1094
|
-
versionId
|
|
1095
|
-
verification
|
|
1096
|
-
}
|
|
1097
|
-
}
|
|
1098
|
-
}
|
|
1099
|
-
`;
|
|
1100
|
-
export const SaveConsolidationManifestDocument = gql`
|
|
1101
|
-
mutation SaveConsolidationManifest($input: SaveMtwConsolidationManifestInput!) {
|
|
1102
|
-
saveMtwConsolidationManifest(input: $input) {
|
|
1103
|
-
id
|
|
1104
|
-
planId
|
|
1105
|
-
version
|
|
1106
|
-
previousVersionId
|
|
1107
|
-
observationSequence
|
|
1108
|
-
recordedAt
|
|
1109
|
-
createdBy
|
|
1110
|
-
actorProvenance
|
|
1111
|
-
onBehalfOf
|
|
1112
|
-
snapshot {
|
|
1113
|
-
status
|
|
1114
|
-
planId
|
|
1115
|
-
planVersion
|
|
1116
|
-
observationSequence
|
|
1117
|
-
unresolvedIssueCount
|
|
1118
|
-
recentIssueIds
|
|
1119
|
-
reviewReasons
|
|
1120
|
-
rows {
|
|
1121
|
-
lotId
|
|
1122
|
-
plannedQuantity
|
|
1123
|
-
reportedAvailableQuantity
|
|
1124
|
-
receivedQuantity
|
|
1125
|
-
stuffedQuantity
|
|
1126
|
-
availabilityDeficit
|
|
1127
|
-
receiptDeficit
|
|
1128
|
-
receiptExcess
|
|
1129
|
-
stuffingExcess
|
|
1130
|
-
receivedMinusStuffed
|
|
1131
|
-
unknownReasons
|
|
1132
|
-
receiptObservationId
|
|
1133
|
-
stuffingObservationId
|
|
1134
|
-
}
|
|
1135
|
-
}
|
|
1136
|
-
}
|
|
1137
|
-
}
|
|
1138
|
-
`;
|
|
623
|
+
export type SaveConsolidationManifestMutation = { saveMtwConsolidationManifest: { id: string, planId: string, version: number, previousVersionId: string | null, observationSequence: number, recordedAt: string, createdBy: string, actorProvenance: string, onBehalfOf: string | null, snapshot: { status: string, planId: string, planVersion: number, observationSequence: number, unresolvedIssueCount: number, recentIssueIds: Array<string>, reviewReasons: Array<string>, rows: Array<{ lotId: string, plannedQuantity: string | null, reportedAvailableQuantity: string | null, receivedQuantity: string | null, stuffedQuantity: string | null, availabilityDeficit: string | null, receiptDeficit: string | null, receiptExcess: string | null, stuffingExcess: string | null, receivedMinusStuffed: string | null, unknownReasons: Array<string>, receiptObservationId: string | null, stuffingObservationId: string | null }> } } };
|
|
624
|
+
|
|
625
|
+
|
|
626
|
+
export const ConsolidationShipmentsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ConsolidationShipments"},"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":"shipments"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"shipmentNumber"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"status"}}]}},{"kind":"Field","name":{"kind":"Name","value":"shipmentsCount"}}]}}]} as unknown as DocumentNode<ConsolidationShipmentsQuery, ConsolidationShipmentsQueryVariables>;
|
|
627
|
+
export const ConsolidationShipmentDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ConsolidationShipment"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shipment"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"shipmentNumber"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"status"}}]}}]}}]} as unknown as DocumentNode<ConsolidationShipmentQuery, ConsolidationShipmentQueryVariables>;
|
|
628
|
+
export const ConsolidationContainersDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ConsolidationContainers"},"variableDefinitions":[{"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":"mtwContainerPage"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"containerNumber"}},{"kind":"Field","name":{"kind":"Name","value":"equipmentType"}}]}},{"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"}}]}}]}}]} as unknown as DocumentNode<ConsolidationContainersQuery, ConsolidationContainersQueryVariables>;
|
|
629
|
+
export const ConsolidationCyclesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ConsolidationCycles"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"containerId"}},"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":"mtwContainerCyclePage"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"containerId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"containerId"}}},{"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":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"containerId"}},{"kind":"Field","name":{"kind":"Name","value":"shipmentId"}},{"kind":"Field","name":{"kind":"Name","value":"bookingReference"}},{"kind":"Field","name":{"kind":"Name","value":"openedAt"}},{"kind":"Field","name":{"kind":"Name","value":"closedAt"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"version"}}]}},{"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"}}]}}]}}]} as unknown as DocumentNode<ConsolidationCyclesQuery, ConsolidationCyclesQueryVariables>;
|
|
630
|
+
export const ConsolidationPlansDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ConsolidationPlans"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"shipmentId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"planReference"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"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":"mtwConsolidationPlanPage"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"shipmentId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"shipmentId"}}},{"kind":"Argument","name":{"kind":"Name","value":"planReference"},"value":{"kind":"Variable","name":{"kind":"Name","value":"planReference"}}},{"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":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"shipmentId"}},{"kind":"Field","name":{"kind":"Name","value":"cycleId"}},{"kind":"Field","name":{"kind":"Name","value":"planReference"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"previousVersionId"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"recordedAt"}},{"kind":"Field","name":{"kind":"Name","value":"createdBy"}},{"kind":"Field","name":{"kind":"Name","value":"actorProvenance"}},{"kind":"Field","name":{"kind":"Name","value":"facts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"hubName"}},{"kind":"Field","name":{"kind":"Name","value":"effectiveAt"}}]}}]}},{"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"}}]}}]}}]} as unknown as DocumentNode<ConsolidationPlansQuery, ConsolidationPlansQueryVariables>;
|
|
631
|
+
export const ConsolidationPlanDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ConsolidationPlan"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"shipmentId"}},"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":"mtwConsolidationPlan"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"shipmentId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"shipmentId"}}},{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"shipmentId"}},{"kind":"Field","name":{"kind":"Name","value":"cycleId"}},{"kind":"Field","name":{"kind":"Name","value":"planReference"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"previousVersionId"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"recordedAt"}},{"kind":"Field","name":{"kind":"Name","value":"createdBy"}},{"kind":"Field","name":{"kind":"Name","value":"actorProvenance"}},{"kind":"Field","name":{"kind":"Name","value":"onBehalfOf"}},{"kind":"Field","name":{"kind":"Name","value":"sourceCapture"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shipmentNumber"}},{"kind":"Field","name":{"kind":"Name","value":"shipmentUpdatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"containerId"}},{"kind":"Field","name":{"kind":"Name","value":"cycleVersion"}},{"kind":"Field","name":{"kind":"Name","value":"bookingReference"}}]}},{"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"}}]}},{"kind":"Field","name":{"kind":"Name","value":"facts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"hubReference"}},{"kind":"Field","name":{"kind":"Name","value":"hubName"}},{"kind":"Field","name":{"kind":"Name","value":"hubSource"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"reference"}},{"kind":"Field","name":{"kind":"Name","value":"revision"}}]}},{"kind":"Field","name":{"kind":"Name","value":"mode"}},{"kind":"Field","name":{"kind":"Name","value":"carrierReference"}},{"kind":"Field","name":{"kind":"Name","value":"bookingReference"}},{"kind":"Field","name":{"kind":"Name","value":"cutoffAt"}},{"kind":"Field","name":{"kind":"Name","value":"timezone"}},{"kind":"Field","name":{"kind":"Name","value":"jurisdictionReference"}},{"kind":"Field","name":{"kind":"Name","value":"contextSource"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"reference"}},{"kind":"Field","name":{"kind":"Name","value":"revision"}}]}},{"kind":"Field","name":{"kind":"Name","value":"effectiveAt"}},{"kind":"Field","name":{"kind":"Name","value":"lots"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"supplierReference"}},{"kind":"Field","name":{"kind":"Name","value":"lotReference"}},{"kind":"Field","name":{"kind":"Name","value":"consignmentReference"}},{"kind":"Field","name":{"kind":"Name","value":"sourceRevision"}},{"kind":"Field","name":{"kind":"Name","value":"quantityBasis"}},{"kind":"Field","name":{"kind":"Name","value":"unitReference"}},{"kind":"Field","name":{"kind":"Name","value":"unitRevision"}},{"kind":"Field","name":{"kind":"Name","value":"balanceRevision"}},{"kind":"Field","name":{"kind":"Name","value":"reportedAvailableQuantity"}},{"kind":"Field","name":{"kind":"Name","value":"plannedQuantity"}},{"kind":"Field","name":{"kind":"Name","value":"grossKg"}},{"kind":"Field","name":{"kind":"Name","value":"cubeM3"}},{"kind":"Field","name":{"kind":"Name","value":"originReference"}},{"kind":"Field","name":{"kind":"Name","value":"destinationReference"}},{"kind":"Field","name":{"kind":"Name","value":"importerReference"}},{"kind":"Field","name":{"kind":"Name","value":"transportReference"}},{"kind":"Field","name":{"kind":"Name","value":"documentReference"}},{"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"}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode<ConsolidationPlanQuery, ConsolidationPlanQueryVariables>;
|
|
632
|
+
export const ConsolidationObservationsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ConsolidationObservations"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"planId"}},"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":"mtwConsolidationObservationPage"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"planId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"planId"}}},{"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":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"planId"}},{"kind":"Field","name":{"kind":"Name","value":"lotId"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"issueReference"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"previousVersionId"}},{"kind":"Field","name":{"kind":"Name","value":"receiptSequence"}},{"kind":"Field","name":{"kind":"Name","value":"reportedQuantity"}},{"kind":"Field","name":{"kind":"Name","value":"reportedObservedAt"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}},{"kind":"Field","name":{"kind":"Name","value":"unitReference"}},{"kind":"Field","name":{"kind":"Name","value":"unitRevision"}},{"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":"status"}},{"kind":"Field","name":{"kind":"Name","value":"recordedAt"}},{"kind":"Field","name":{"kind":"Name","value":"createdBy"}},{"kind":"Field","name":{"kind":"Name","value":"actorProvenance"}},{"kind":"Field","name":{"kind":"Name","value":"onBehalfOf"}},{"kind":"Field","name":{"kind":"Name","value":"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"}}]}},{"kind":"Field","name":{"kind":"Name","value":"evidenceDeclarations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fileId"}},{"kind":"Field","name":{"kind":"Name","value":"versionId"}},{"kind":"Field","name":{"kind":"Name","value":"verification"}}]}}]}},{"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"}}]}}]}}]} as unknown as DocumentNode<ConsolidationObservationsQuery, ConsolidationObservationsQueryVariables>;
|
|
633
|
+
export const ConsolidationObservationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ConsolidationObservation"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"planId"}},"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":"mtwConsolidationObservation"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"planId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"planId"}}},{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"planId"}},{"kind":"Field","name":{"kind":"Name","value":"lotId"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"issueReference"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"previousVersionId"}},{"kind":"Field","name":{"kind":"Name","value":"receiptSequence"}},{"kind":"Field","name":{"kind":"Name","value":"reportedQuantity"}},{"kind":"Field","name":{"kind":"Name","value":"reportedObservedAt"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}},{"kind":"Field","name":{"kind":"Name","value":"unitReference"}},{"kind":"Field","name":{"kind":"Name","value":"unitRevision"}},{"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":"status"}},{"kind":"Field","name":{"kind":"Name","value":"recordedAt"}},{"kind":"Field","name":{"kind":"Name","value":"createdBy"}},{"kind":"Field","name":{"kind":"Name","value":"actorProvenance"}},{"kind":"Field","name":{"kind":"Name","value":"onBehalfOf"}},{"kind":"Field","name":{"kind":"Name","value":"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"}}]}},{"kind":"Field","name":{"kind":"Name","value":"evidenceDeclarations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fileId"}},{"kind":"Field","name":{"kind":"Name","value":"versionId"}},{"kind":"Field","name":{"kind":"Name","value":"verification"}}]}}]}}]}}]} as unknown as DocumentNode<ConsolidationObservationQuery, ConsolidationObservationQueryVariables>;
|
|
634
|
+
export const ConsolidationPreviewDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ConsolidationPreview"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"planId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"expectedObservationSequence"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"previewMtwConsolidationManifest"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"planId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"planId"}}},{"kind":"Argument","name":{"kind":"Name","value":"expectedObservationSequence"},"value":{"kind":"Variable","name":{"kind":"Name","value":"expectedObservationSequence"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"planId"}},{"kind":"Field","name":{"kind":"Name","value":"planVersion"}},{"kind":"Field","name":{"kind":"Name","value":"observationSequence"}},{"kind":"Field","name":{"kind":"Name","value":"unresolvedIssueCount"}},{"kind":"Field","name":{"kind":"Name","value":"recentIssueIds"}},{"kind":"Field","name":{"kind":"Name","value":"reviewReasons"}},{"kind":"Field","name":{"kind":"Name","value":"rows"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"lotId"}},{"kind":"Field","name":{"kind":"Name","value":"plannedQuantity"}},{"kind":"Field","name":{"kind":"Name","value":"reportedAvailableQuantity"}},{"kind":"Field","name":{"kind":"Name","value":"receivedQuantity"}},{"kind":"Field","name":{"kind":"Name","value":"stuffedQuantity"}},{"kind":"Field","name":{"kind":"Name","value":"availabilityDeficit"}},{"kind":"Field","name":{"kind":"Name","value":"receiptDeficit"}},{"kind":"Field","name":{"kind":"Name","value":"receiptExcess"}},{"kind":"Field","name":{"kind":"Name","value":"stuffingExcess"}},{"kind":"Field","name":{"kind":"Name","value":"receivedMinusStuffed"}},{"kind":"Field","name":{"kind":"Name","value":"unknownReasons"}},{"kind":"Field","name":{"kind":"Name","value":"receiptObservationId"}},{"kind":"Field","name":{"kind":"Name","value":"stuffingObservationId"}}]}}]}}]}}]} as unknown as DocumentNode<ConsolidationPreviewQuery, ConsolidationPreviewQueryVariables>;
|
|
635
|
+
export const ConsolidationManifestsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ConsolidationManifests"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"planId"}},"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":"mtwConsolidationManifestPage"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"planId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"planId"}}},{"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":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"planId"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"previousVersionId"}},{"kind":"Field","name":{"kind":"Name","value":"observationSequence"}},{"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":"snapshot"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"planId"}},{"kind":"Field","name":{"kind":"Name","value":"planVersion"}},{"kind":"Field","name":{"kind":"Name","value":"observationSequence"}},{"kind":"Field","name":{"kind":"Name","value":"unresolvedIssueCount"}},{"kind":"Field","name":{"kind":"Name","value":"recentIssueIds"}},{"kind":"Field","name":{"kind":"Name","value":"reviewReasons"}},{"kind":"Field","name":{"kind":"Name","value":"rows"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"lotId"}},{"kind":"Field","name":{"kind":"Name","value":"plannedQuantity"}},{"kind":"Field","name":{"kind":"Name","value":"reportedAvailableQuantity"}},{"kind":"Field","name":{"kind":"Name","value":"receivedQuantity"}},{"kind":"Field","name":{"kind":"Name","value":"stuffedQuantity"}},{"kind":"Field","name":{"kind":"Name","value":"availabilityDeficit"}},{"kind":"Field","name":{"kind":"Name","value":"receiptDeficit"}},{"kind":"Field","name":{"kind":"Name","value":"receiptExcess"}},{"kind":"Field","name":{"kind":"Name","value":"stuffingExcess"}},{"kind":"Field","name":{"kind":"Name","value":"receivedMinusStuffed"}},{"kind":"Field","name":{"kind":"Name","value":"unknownReasons"}},{"kind":"Field","name":{"kind":"Name","value":"receiptObservationId"}},{"kind":"Field","name":{"kind":"Name","value":"stuffingObservationId"}}]}}]}}]}},{"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"}}]}}]}}]} as unknown as DocumentNode<ConsolidationManifestsQuery, ConsolidationManifestsQueryVariables>;
|
|
636
|
+
export const ConsolidationManifestDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ConsolidationManifest"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"planId"}},"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":"mtwConsolidationManifest"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"planId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"planId"}}},{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"planId"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"previousVersionId"}},{"kind":"Field","name":{"kind":"Name","value":"observationSequence"}},{"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":"snapshot"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"planId"}},{"kind":"Field","name":{"kind":"Name","value":"planVersion"}},{"kind":"Field","name":{"kind":"Name","value":"observationSequence"}},{"kind":"Field","name":{"kind":"Name","value":"unresolvedIssueCount"}},{"kind":"Field","name":{"kind":"Name","value":"recentIssueIds"}},{"kind":"Field","name":{"kind":"Name","value":"reviewReasons"}},{"kind":"Field","name":{"kind":"Name","value":"rows"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"lotId"}},{"kind":"Field","name":{"kind":"Name","value":"plannedQuantity"}},{"kind":"Field","name":{"kind":"Name","value":"reportedAvailableQuantity"}},{"kind":"Field","name":{"kind":"Name","value":"receivedQuantity"}},{"kind":"Field","name":{"kind":"Name","value":"stuffedQuantity"}},{"kind":"Field","name":{"kind":"Name","value":"availabilityDeficit"}},{"kind":"Field","name":{"kind":"Name","value":"receiptDeficit"}},{"kind":"Field","name":{"kind":"Name","value":"receiptExcess"}},{"kind":"Field","name":{"kind":"Name","value":"stuffingExcess"}},{"kind":"Field","name":{"kind":"Name","value":"receivedMinusStuffed"}},{"kind":"Field","name":{"kind":"Name","value":"unknownReasons"}},{"kind":"Field","name":{"kind":"Name","value":"receiptObservationId"}},{"kind":"Field","name":{"kind":"Name","value":"stuffingObservationId"}}]}}]}}]}}]}}]} as unknown as DocumentNode<ConsolidationManifestQuery, ConsolidationManifestQueryVariables>;
|
|
637
|
+
export const SaveConsolidationPlanDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SaveConsolidationPlan"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SaveMtwConsolidationPlanInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"saveMtwConsolidationPlan"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"shipmentId"}},{"kind":"Field","name":{"kind":"Name","value":"cycleId"}},{"kind":"Field","name":{"kind":"Name","value":"planReference"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"previousVersionId"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"recordedAt"}},{"kind":"Field","name":{"kind":"Name","value":"createdBy"}},{"kind":"Field","name":{"kind":"Name","value":"actorProvenance"}},{"kind":"Field","name":{"kind":"Name","value":"onBehalfOf"}},{"kind":"Field","name":{"kind":"Name","value":"sourceCapture"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shipmentNumber"}},{"kind":"Field","name":{"kind":"Name","value":"shipmentUpdatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"containerId"}},{"kind":"Field","name":{"kind":"Name","value":"cycleVersion"}},{"kind":"Field","name":{"kind":"Name","value":"bookingReference"}}]}},{"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"}}]}},{"kind":"Field","name":{"kind":"Name","value":"facts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"hubReference"}},{"kind":"Field","name":{"kind":"Name","value":"hubName"}},{"kind":"Field","name":{"kind":"Name","value":"hubSource"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"reference"}},{"kind":"Field","name":{"kind":"Name","value":"revision"}}]}},{"kind":"Field","name":{"kind":"Name","value":"mode"}},{"kind":"Field","name":{"kind":"Name","value":"carrierReference"}},{"kind":"Field","name":{"kind":"Name","value":"bookingReference"}},{"kind":"Field","name":{"kind":"Name","value":"cutoffAt"}},{"kind":"Field","name":{"kind":"Name","value":"timezone"}},{"kind":"Field","name":{"kind":"Name","value":"jurisdictionReference"}},{"kind":"Field","name":{"kind":"Name","value":"contextSource"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"reference"}},{"kind":"Field","name":{"kind":"Name","value":"revision"}}]}},{"kind":"Field","name":{"kind":"Name","value":"effectiveAt"}},{"kind":"Field","name":{"kind":"Name","value":"lots"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"supplierReference"}},{"kind":"Field","name":{"kind":"Name","value":"lotReference"}},{"kind":"Field","name":{"kind":"Name","value":"consignmentReference"}},{"kind":"Field","name":{"kind":"Name","value":"sourceRevision"}},{"kind":"Field","name":{"kind":"Name","value":"quantityBasis"}},{"kind":"Field","name":{"kind":"Name","value":"unitReference"}},{"kind":"Field","name":{"kind":"Name","value":"unitRevision"}},{"kind":"Field","name":{"kind":"Name","value":"balanceRevision"}},{"kind":"Field","name":{"kind":"Name","value":"reportedAvailableQuantity"}},{"kind":"Field","name":{"kind":"Name","value":"plannedQuantity"}},{"kind":"Field","name":{"kind":"Name","value":"grossKg"}},{"kind":"Field","name":{"kind":"Name","value":"cubeM3"}},{"kind":"Field","name":{"kind":"Name","value":"originReference"}},{"kind":"Field","name":{"kind":"Name","value":"destinationReference"}},{"kind":"Field","name":{"kind":"Name","value":"importerReference"}},{"kind":"Field","name":{"kind":"Name","value":"transportReference"}},{"kind":"Field","name":{"kind":"Name","value":"documentReference"}},{"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"}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode<SaveConsolidationPlanMutation, SaveConsolidationPlanMutationVariables>;
|
|
638
|
+
export const RecordConsolidationObservationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"RecordConsolidationObservation"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"RecordMtwConsolidationObservationInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"recordMtwConsolidationObservation"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"planId"}},{"kind":"Field","name":{"kind":"Name","value":"lotId"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"issueReference"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"previousVersionId"}},{"kind":"Field","name":{"kind":"Name","value":"receiptSequence"}},{"kind":"Field","name":{"kind":"Name","value":"reportedQuantity"}},{"kind":"Field","name":{"kind":"Name","value":"reportedObservedAt"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}},{"kind":"Field","name":{"kind":"Name","value":"unitReference"}},{"kind":"Field","name":{"kind":"Name","value":"unitRevision"}},{"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":"status"}},{"kind":"Field","name":{"kind":"Name","value":"recordedAt"}},{"kind":"Field","name":{"kind":"Name","value":"createdBy"}},{"kind":"Field","name":{"kind":"Name","value":"actorProvenance"}},{"kind":"Field","name":{"kind":"Name","value":"onBehalfOf"}},{"kind":"Field","name":{"kind":"Name","value":"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"}}]}},{"kind":"Field","name":{"kind":"Name","value":"evidenceDeclarations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fileId"}},{"kind":"Field","name":{"kind":"Name","value":"versionId"}},{"kind":"Field","name":{"kind":"Name","value":"verification"}}]}}]}}]}}]} as unknown as DocumentNode<RecordConsolidationObservationMutation, RecordConsolidationObservationMutationVariables>;
|
|
639
|
+
export const SaveConsolidationManifestDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SaveConsolidationManifest"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SaveMtwConsolidationManifestInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"saveMtwConsolidationManifest"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"planId"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"previousVersionId"}},{"kind":"Field","name":{"kind":"Name","value":"observationSequence"}},{"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":"snapshot"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"planId"}},{"kind":"Field","name":{"kind":"Name","value":"planVersion"}},{"kind":"Field","name":{"kind":"Name","value":"observationSequence"}},{"kind":"Field","name":{"kind":"Name","value":"unresolvedIssueCount"}},{"kind":"Field","name":{"kind":"Name","value":"recentIssueIds"}},{"kind":"Field","name":{"kind":"Name","value":"reviewReasons"}},{"kind":"Field","name":{"kind":"Name","value":"rows"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"lotId"}},{"kind":"Field","name":{"kind":"Name","value":"plannedQuantity"}},{"kind":"Field","name":{"kind":"Name","value":"reportedAvailableQuantity"}},{"kind":"Field","name":{"kind":"Name","value":"receivedQuantity"}},{"kind":"Field","name":{"kind":"Name","value":"stuffedQuantity"}},{"kind":"Field","name":{"kind":"Name","value":"availabilityDeficit"}},{"kind":"Field","name":{"kind":"Name","value":"receiptDeficit"}},{"kind":"Field","name":{"kind":"Name","value":"receiptExcess"}},{"kind":"Field","name":{"kind":"Name","value":"stuffingExcess"}},{"kind":"Field","name":{"kind":"Name","value":"receivedMinusStuffed"}},{"kind":"Field","name":{"kind":"Name","value":"unknownReasons"}},{"kind":"Field","name":{"kind":"Name","value":"receiptObservationId"}},{"kind":"Field","name":{"kind":"Name","value":"stuffingObservationId"}}]}}]}}]}}]}}]} as unknown as DocumentNode<SaveConsolidationManifestMutation, SaveConsolidationManifestMutationVariables>;
|