@nationalarchives/tdr-generated-graphql 1.0.160 → 1.0.161

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +45 -45
  2. package/package.json +2 -2
package/index.d.ts CHANGED
@@ -391,8 +391,8 @@ export type AddConsignmentMutation = {
391
391
  __typename?: 'Mutation';
392
392
  addConsignment: {
393
393
  __typename?: 'Consignment';
394
- consignmentid?: any | null | undefined;
395
- seriesid?: any | null | undefined;
394
+ consignmentid?: any | null;
395
+ seriesid?: any | null;
396
396
  };
397
397
  };
398
398
  export type AddFfidMetadataMutationVariables = Exact<{
@@ -500,8 +500,8 @@ export type GetConsignmentQuery = {
500
500
  getConsignment?: {
501
501
  __typename?: 'Consignment';
502
502
  userid: any;
503
- seriesid?: any | null | undefined;
504
- } | null | undefined;
503
+ seriesid?: any | null;
504
+ } | null;
505
505
  };
506
506
  export type GetConsignmentForExportQueryVariables = Exact<{
507
507
  consignmentId: Scalars['UUID'];
@@ -511,33 +511,33 @@ export type GetConsignmentForExportQuery = {
511
511
  getConsignment?: {
512
512
  __typename?: 'Consignment';
513
513
  userid: any;
514
- createdDatetime?: any | null | undefined;
515
- transferInitiatedDatetime?: any | null | undefined;
516
- exportDatetime?: any | null | undefined;
514
+ createdDatetime?: any | null;
515
+ transferInitiatedDatetime?: any | null;
516
+ exportDatetime?: any | null;
517
517
  consignmentReference: string;
518
- consignmentType?: string | null | undefined;
518
+ consignmentType?: string | null;
519
519
  series?: {
520
520
  __typename?: 'Series';
521
521
  code: string;
522
- } | null | undefined;
522
+ } | null;
523
523
  transferringBody?: {
524
524
  __typename?: 'TransferringBody';
525
525
  name: string;
526
- } | null | undefined;
526
+ } | null;
527
527
  files: Array<{
528
528
  __typename?: 'File';
529
529
  fileId: any;
530
530
  metadata: {
531
531
  __typename?: 'FileMetadataValues';
532
- clientSideFileSize?: number | null | undefined;
533
- clientSideLastModifiedDate?: any | null | undefined;
534
- clientSideOriginalFilePath?: string | null | undefined;
535
- foiExemptionCode?: string | null | undefined;
536
- heldBy?: string | null | undefined;
537
- language?: string | null | undefined;
538
- legalStatus?: string | null | undefined;
539
- rightsCopyright?: string | null | undefined;
540
- sha256ClientSideChecksum?: string | null | undefined;
532
+ clientSideFileSize?: number | null;
533
+ clientSideLastModifiedDate?: any | null;
534
+ clientSideOriginalFilePath?: string | null;
535
+ foiExemptionCode?: string | null;
536
+ heldBy?: string | null;
537
+ language?: string | null;
538
+ legalStatus?: string | null;
539
+ rightsCopyright?: string | null;
540
+ sha256ClientSideChecksum?: string | null;
541
541
  };
542
542
  ffidMetadata?: {
543
543
  __typename?: 'FFIDMetadata';
@@ -548,18 +548,18 @@ export type GetConsignmentForExportQuery = {
548
548
  method: string;
549
549
  matches: Array<{
550
550
  __typename?: 'FFIDMetadataMatches';
551
- extension?: string | null | undefined;
551
+ extension?: string | null;
552
552
  identificationBasis: string;
553
- puid?: string | null | undefined;
553
+ puid?: string | null;
554
554
  }>;
555
- } | null | undefined;
555
+ } | null;
556
556
  antivirusMetadata?: {
557
557
  __typename?: 'AntivirusMetadata';
558
558
  software: string;
559
559
  softwareVersion: string;
560
- } | null | undefined;
560
+ } | null;
561
561
  }>;
562
- } | null | undefined;
562
+ } | null;
563
563
  };
564
564
  export type GetConsignmentFilesQueryVariables = Exact<{
565
565
  consignmentId: Scalars['UUID'];
@@ -572,10 +572,10 @@ export type GetConsignmentFilesQuery = {
572
572
  __typename?: 'File';
573
573
  metadata: {
574
574
  __typename?: 'FileMetadataValues';
575
- clientSideOriginalFilePath?: string | null | undefined;
575
+ clientSideOriginalFilePath?: string | null;
576
576
  };
577
577
  }>;
578
- } | null | undefined;
578
+ } | null;
579
579
  };
580
580
  export type GetConsignmentFolderDetailsQueryVariables = Exact<{
581
581
  consignmentId: Scalars['UUID'];
@@ -585,8 +585,8 @@ export type GetConsignmentFolderDetailsQuery = {
585
585
  getConsignment?: {
586
586
  __typename?: 'Consignment';
587
587
  totalFiles: number;
588
- parentFolder?: string | null | undefined;
589
- } | null | undefined;
588
+ parentFolder?: string | null;
589
+ } | null;
590
590
  };
591
591
  export type GetConsignmentReferenceQueryVariables = Exact<{
592
592
  consignmentId: Scalars['UUID'];
@@ -596,7 +596,7 @@ export type GetConsignmentReferenceQuery = {
596
596
  getConsignment?: {
597
597
  __typename?: 'Consignment';
598
598
  consignmentReference: string;
599
- } | null | undefined;
599
+ } | null;
600
600
  };
601
601
  export type GetConsignmentStatusQueryVariables = Exact<{
602
602
  consignmentId: Scalars['UUID'];
@@ -607,10 +607,10 @@ export type GetConsignmentStatusQuery = {
607
607
  __typename?: 'Consignment';
608
608
  currentStatus: {
609
609
  __typename?: 'CurrentStatus';
610
- transferAgreement?: string | null | undefined;
611
- upload?: string | null | undefined;
610
+ transferAgreement?: string | null;
611
+ upload?: string | null;
612
612
  };
613
- } | null | undefined;
613
+ } | null;
614
614
  };
615
615
  export type GetConsignmentSummaryQueryVariables = Exact<{
616
616
  consignmentId: Scalars['UUID'];
@@ -624,12 +624,12 @@ export type GetConsignmentSummaryQuery = {
624
624
  series?: {
625
625
  __typename?: 'Series';
626
626
  code: string;
627
- } | null | undefined;
627
+ } | null;
628
628
  transferringBody?: {
629
629
  __typename?: 'TransferringBody';
630
630
  name: string;
631
- } | null | undefined;
632
- } | null | undefined;
631
+ } | null;
632
+ } | null;
633
633
  };
634
634
  export type GetConsignmentTypeQueryVariables = Exact<{
635
635
  consignmentId: Scalars['UUID'];
@@ -638,8 +638,8 @@ export type GetConsignmentTypeQuery = {
638
638
  __typename?: 'Query';
639
639
  getConsignment?: {
640
640
  __typename?: 'Consignment';
641
- consignmentType?: string | null | undefined;
642
- } | null | undefined;
641
+ consignmentType?: string | null;
642
+ } | null;
643
643
  };
644
644
  export type GetFileCheckProgressQueryVariables = Exact<{
645
645
  consignmentId: Scalars['UUID'];
@@ -649,7 +649,7 @@ export type GetFileCheckProgressQuery = {
649
649
  getConsignment?: {
650
650
  __typename?: 'Consignment';
651
651
  allChecksSucceeded: boolean;
652
- parentFolder?: string | null | undefined;
652
+ parentFolder?: string | null;
653
653
  totalFiles: number;
654
654
  fileChecks: {
655
655
  __typename?: 'FileChecks';
@@ -666,7 +666,7 @@ export type GetFileCheckProgressQuery = {
666
666
  filesProcessed: number;
667
667
  };
668
668
  };
669
- } | null | undefined;
669
+ } | null;
670
670
  };
671
671
  export type GetFileCheckProgressSummaryQueryVariables = Exact<{
672
672
  consignmentId: Scalars['UUID'];
@@ -691,7 +691,7 @@ export type GetFileCheckProgressSummaryQuery = {
691
691
  filesProcessed: number;
692
692
  };
693
693
  };
694
- } | null | undefined;
694
+ } | null;
695
695
  };
696
696
  export type GetOriginalPathQueryVariables = Exact<{
697
697
  fileId: Scalars['UUID'];
@@ -700,7 +700,7 @@ export type GetOriginalPathQuery = {
700
700
  __typename?: 'Query';
701
701
  getClientFileMetadata: {
702
702
  __typename?: 'ClientFileMetadata';
703
- originalPath?: string | null | undefined;
703
+ originalPath?: string | null;
704
704
  };
705
705
  };
706
706
  export type GetSeriesQueryVariables = Exact<{
@@ -714,7 +714,7 @@ export type GetSeriesQuery = {
714
714
  bodyid: any;
715
715
  name: string;
716
716
  code: string;
717
- description?: string | null | undefined;
717
+ description?: string | null;
718
718
  }>;
719
719
  };
720
720
  export type MarkUploadAsCompletedMutationVariables = Exact<{
@@ -722,7 +722,7 @@ export type MarkUploadAsCompletedMutationVariables = Exact<{
722
722
  }>;
723
723
  export type MarkUploadAsCompletedMutation = {
724
724
  __typename?: 'Mutation';
725
- markUploadAsCompleted?: number | null | undefined;
725
+ markUploadAsCompleted?: number | null;
726
726
  };
727
727
  export type StartUploadMutationVariables = Exact<{
728
728
  input: StartUploadInput;
@@ -736,14 +736,14 @@ export type UpdateExportLocationMutationVariables = Exact<{
736
736
  }>;
737
737
  export type UpdateExportLocationMutation = {
738
738
  __typename?: 'Mutation';
739
- updateExportLocation?: number | null | undefined;
739
+ updateExportLocation?: number | null;
740
740
  };
741
741
  export type UpdateTransferInitiatedMutationVariables = Exact<{
742
742
  consignmentId: Scalars['UUID'];
743
743
  }>;
744
744
  export type UpdateTransferInitiatedMutation = {
745
745
  __typename?: 'Mutation';
746
- updateTransferInitiated?: number | null | undefined;
746
+ updateTransferInitiated?: number | null;
747
747
  };
748
748
  export const AddAntivirusMetadata: import("graphql/language/ast").DocumentNode;
749
749
  export const AddConsignment: import("graphql/language/ast").DocumentNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nationalarchives/tdr-generated-graphql",
3
- "version": "1.0.160",
3
+ "version": "1.0.161",
4
4
  "description": "",
5
5
  "main": "index.ts",
6
6
  "scripts": {
@@ -28,7 +28,7 @@
28
28
  "@graphql-codegen/typescript": "^2.4.2",
29
29
  "@graphql-codegen/typescript-document-nodes": "^2.2.2",
30
30
  "@graphql-codegen/typescript-graphql-files-modules": "^2.1.1",
31
- "@graphql-codegen/typescript-operations": "^2.2.2",
31
+ "@graphql-codegen/typescript-operations": "^2.2.3",
32
32
  "ts-loader": "^7.0.5",
33
33
  "typescript": "^4.5.5",
34
34
  "webpack": "^4.46.0",