@nationalarchives/tdr-generated-graphql 1.0.185 → 1.0.186

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/package.json +2 -3
  2. package/index.d.ts +0 -816
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nationalarchives/tdr-generated-graphql",
3
- "version": "1.0.185",
3
+ "version": "1.0.186",
4
4
  "description": "",
5
5
  "main": "index.ts",
6
6
  "scripts": {
@@ -26,7 +26,7 @@
26
26
  "devDependencies": {
27
27
  "@graphql-codegen/introspection": "^2.1.1",
28
28
  "@graphql-codegen/typescript": "^2.4.7",
29
- "@graphql-codegen/typescript-document-nodes": "^2.2.7",
29
+ "@graphql-codegen/typescript-document-nodes": "^2.2.8",
30
30
  "@graphql-codegen/typescript-graphql-files-modules": "^2.1.1",
31
31
  "@graphql-codegen/typescript-operations": "^2.3.5",
32
32
  "ts-loader": "^7.0.5",
@@ -37,7 +37,6 @@
37
37
  "dependencies": {
38
38
  "@graphql-codegen/cli": "^2.6.2",
39
39
  "apollo-link-http": "^1.5.17",
40
- "dts-bundle": "^0.7.3",
41
40
  "graphql": "^16.3.0",
42
41
  "y18n": "^5.0.8"
43
42
  }
package/index.d.ts DELETED
@@ -1,816 +0,0 @@
1
- // Generated by dts-bundle v0.7.3
2
-
3
- export type Maybe<T> = T | null;
4
- export type InputMaybe<T> = Maybe<T>;
5
- export type Exact<T extends {
6
- [key: string]: unknown;
7
- }> = {
8
- [K in keyof T]: T[K];
9
- };
10
- export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
11
- [SubKey in K]?: Maybe<T[SubKey]>;
12
- };
13
- export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
14
- [SubKey in K]: Maybe<T[SubKey]>;
15
- };
16
- /** All built-in and custom scalars, mapped to their actual values */
17
- export type Scalars = {
18
- ID: string;
19
- String: string;
20
- Boolean: boolean;
21
- Int: number;
22
- Float: number;
23
- LocalDateTime: any;
24
- /** The `Long` scalar type represents non-fractional signed whole numeric values. Long can represent values between -(2^63) and 2^63 - 1. */
25
- Long: number;
26
- UUID: any;
27
- ZonedDateTime: any;
28
- };
29
- export type AddAntivirusMetadataInput = {
30
- databaseVersion: Scalars['String'];
31
- datetime: Scalars['Long'];
32
- fileId: Scalars['UUID'];
33
- result: Scalars['String'];
34
- software: Scalars['String'];
35
- softwareVersion: Scalars['String'];
36
- };
37
- export type AddConsignmentInput = {
38
- consignmentType: Scalars['String'];
39
- seriesid?: InputMaybe<Scalars['UUID']>;
40
- };
41
- export type AddFileAndMetadataInput = {
42
- consignmentId: Scalars['UUID'];
43
- emptyDirectories?: InputMaybe<Array<Scalars['String']>>;
44
- metadataInput: Array<ClientSideMetadataInput>;
45
- };
46
- export type AddFileMetadataInput = {
47
- fileId: Scalars['UUID'];
48
- filePropertyName: Scalars['String'];
49
- value: Scalars['String'];
50
- };
51
- export type AddFinalJudgmentTransferConfirmationInput = {
52
- consignmentId: Scalars['UUID'];
53
- legalCustodyTransferConfirmed: Scalars['Boolean'];
54
- };
55
- export type AddFinalTransferConfirmationInput = {
56
- consignmentId: Scalars['UUID'];
57
- finalOpenRecordsConfirmed: Scalars['Boolean'];
58
- legalCustodyTransferConfirmed: Scalars['Boolean'];
59
- };
60
- export type AddTransferAgreementComplianceInput = {
61
- appraisalSelectionSignedOff: Scalars['Boolean'];
62
- consignmentId: Scalars['UUID'];
63
- initialOpenRecords: Scalars['Boolean'];
64
- sensitivityReviewSignedOff: Scalars['Boolean'];
65
- };
66
- export type AddTransferAgreementPrivateBetaInput = {
67
- allCrownCopyright: Scalars['Boolean'];
68
- allEnglish: Scalars['Boolean'];
69
- allPublicRecords: Scalars['Boolean'];
70
- consignmentId: Scalars['UUID'];
71
- };
72
- export type AntivirusMetadata = {
73
- __typename?: 'AntivirusMetadata';
74
- databaseVersion: Scalars['String'];
75
- datetime: Scalars['Long'];
76
- fileId: Scalars['UUID'];
77
- result: Scalars['String'];
78
- software: Scalars['String'];
79
- softwareVersion: Scalars['String'];
80
- };
81
- export type AntivirusProgress = {
82
- __typename?: 'AntivirusProgress';
83
- filesProcessed: Scalars['Int'];
84
- };
85
- export type ChecksumProgress = {
86
- __typename?: 'ChecksumProgress';
87
- filesProcessed: Scalars['Int'];
88
- };
89
- export type ClientFileMetadata = {
90
- __typename?: 'ClientFileMetadata';
91
- checksum?: Maybe<Scalars['String']>;
92
- checksumType?: Maybe<Scalars['String']>;
93
- fileId: Scalars['UUID'];
94
- fileSize?: Maybe<Scalars['Long']>;
95
- lastModified: Scalars['Long'];
96
- originalPath?: Maybe<Scalars['String']>;
97
- };
98
- export type ClientSideMetadataInput = {
99
- checksum: Scalars['String'];
100
- fileSize: Scalars['Long'];
101
- lastModified: Scalars['Long'];
102
- matchId: Scalars['Long'];
103
- originalPath: Scalars['String'];
104
- };
105
- export type Consignment = {
106
- __typename?: 'Consignment';
107
- allChecksSucceeded: Scalars['Boolean'];
108
- consignmentReference: Scalars['String'];
109
- consignmentType?: Maybe<Scalars['String']>;
110
- consignmentid?: Maybe<Scalars['UUID']>;
111
- createdDatetime?: Maybe<Scalars['ZonedDateTime']>;
112
- currentStatus: CurrentStatus;
113
- exportDatetime?: Maybe<Scalars['ZonedDateTime']>;
114
- fileChecks: FileChecks;
115
- files: Array<File>;
116
- parentFolder?: Maybe<Scalars['String']>;
117
- series?: Maybe<Series>;
118
- seriesid?: Maybe<Scalars['UUID']>;
119
- totalFiles: Scalars['Int'];
120
- transferInitiatedDatetime?: Maybe<Scalars['ZonedDateTime']>;
121
- transferringBody?: Maybe<TransferringBody>;
122
- userid: Scalars['UUID'];
123
- };
124
- /** A connection to a list of items. */
125
- export type ConsignmentConnection = {
126
- __typename?: 'ConsignmentConnection';
127
- /** A list of edges. */
128
- edges?: Maybe<Array<Maybe<ConsignmentEdge>>>;
129
- /** Information to aid in pagination. */
130
- pageInfo: PageInfo;
131
- };
132
- /** An edge in a connection. */
133
- export type ConsignmentEdge = {
134
- __typename?: 'ConsignmentEdge';
135
- /** A cursor for use in pagination. */
136
- cursor: Scalars['String'];
137
- /** The item at the end of the edge. */
138
- node: Consignment;
139
- };
140
- export type CurrentStatus = {
141
- __typename?: 'CurrentStatus';
142
- confirmTransfer?: Maybe<Scalars['String']>;
143
- transferAgreement?: Maybe<Scalars['String']>;
144
- upload?: Maybe<Scalars['String']>;
145
- };
146
- export type CustomMetadataField = {
147
- __typename?: 'CustomMetadataField';
148
- dataType: DataType;
149
- defaultValue?: Maybe<Scalars['String']>;
150
- description?: Maybe<Scalars['String']>;
151
- editable: Scalars['Boolean'];
152
- fullName?: Maybe<Scalars['String']>;
153
- multiValue: Scalars['Boolean'];
154
- name: Scalars['String'];
155
- propertyGroup?: Maybe<Scalars['String']>;
156
- propertyType: PropertyType;
157
- values: Array<CustomMetadataValues>;
158
- };
159
- export type CustomMetadataValues = {
160
- __typename?: 'CustomMetadataValues';
161
- dependencies: Array<CustomMetadataField>;
162
- value: Scalars['String'];
163
- };
164
- export enum DataType {
165
- DateTime = "DateTime",
166
- Decimal = "Decimal",
167
- Integer = "Integer",
168
- Text = "Text"
169
- }
170
- export type FfidMetadata = {
171
- __typename?: 'FFIDMetadata';
172
- binarySignatureFileVersion: Scalars['String'];
173
- containerSignatureFileVersion: Scalars['String'];
174
- datetime: Scalars['Long'];
175
- fileId: Scalars['UUID'];
176
- matches: Array<FfidMetadataMatches>;
177
- method: Scalars['String'];
178
- software: Scalars['String'];
179
- softwareVersion: Scalars['String'];
180
- };
181
- export type FfidMetadataInput = {
182
- binarySignatureFileVersion: Scalars['String'];
183
- containerSignatureFileVersion: Scalars['String'];
184
- fileId: Scalars['UUID'];
185
- matches: Array<FfidMetadataInputMatches>;
186
- method: Scalars['String'];
187
- software: Scalars['String'];
188
- softwareVersion: Scalars['String'];
189
- };
190
- export type FfidMetadataInputMatches = {
191
- extension?: InputMaybe<Scalars['String']>;
192
- identificationBasis: Scalars['String'];
193
- puid?: InputMaybe<Scalars['String']>;
194
- };
195
- export type FfidMetadataMatches = {
196
- __typename?: 'FFIDMetadataMatches';
197
- extension?: Maybe<Scalars['String']>;
198
- identificationBasis: Scalars['String'];
199
- puid?: Maybe<Scalars['String']>;
200
- };
201
- export type FfidProgress = {
202
- __typename?: 'FFIDProgress';
203
- filesProcessed: Scalars['Int'];
204
- };
205
- export type File = {
206
- __typename?: 'File';
207
- antivirusMetadata?: Maybe<AntivirusMetadata>;
208
- ffidMetadata?: Maybe<FfidMetadata>;
209
- fileId: Scalars['UUID'];
210
- fileName?: Maybe<Scalars['String']>;
211
- fileStatus?: Maybe<Scalars['String']>;
212
- fileType?: Maybe<Scalars['String']>;
213
- metadata: FileMetadataValues;
214
- parentId?: Maybe<Scalars['UUID']>;
215
- };
216
- export type FileChecks = {
217
- __typename?: 'FileChecks';
218
- antivirusProgress: AntivirusProgress;
219
- checksumProgress: ChecksumProgress;
220
- ffidProgress: FfidProgress;
221
- };
222
- export type FileMatches = {
223
- __typename?: 'FileMatches';
224
- fileId: Scalars['UUID'];
225
- matchId: Scalars['Long'];
226
- };
227
- export type FileMetadata = {
228
- __typename?: 'FileMetadata';
229
- fileId: Scalars['UUID'];
230
- filePropertyName: Scalars['String'];
231
- value: Scalars['String'];
232
- };
233
- export type FileMetadataValues = {
234
- __typename?: 'FileMetadataValues';
235
- clientSideFileSize?: Maybe<Scalars['Long']>;
236
- clientSideLastModifiedDate?: Maybe<Scalars['LocalDateTime']>;
237
- clientSideOriginalFilePath?: Maybe<Scalars['String']>;
238
- foiExemptionCode?: Maybe<Scalars['String']>;
239
- heldBy?: Maybe<Scalars['String']>;
240
- language?: Maybe<Scalars['String']>;
241
- legalStatus?: Maybe<Scalars['String']>;
242
- rightsCopyright?: Maybe<Scalars['String']>;
243
- sha256ClientSideChecksum?: Maybe<Scalars['String']>;
244
- };
245
- export type FinalJudgmentTransferConfirmation = {
246
- __typename?: 'FinalJudgmentTransferConfirmation';
247
- consignmentId: Scalars['UUID'];
248
- legalCustodyTransferConfirmed: Scalars['Boolean'];
249
- };
250
- export type FinalTransferConfirmation = {
251
- __typename?: 'FinalTransferConfirmation';
252
- consignmentId: Scalars['UUID'];
253
- finalOpenRecordsConfirmed: Scalars['Boolean'];
254
- legalCustodyTransferConfirmed: Scalars['Boolean'];
255
- };
256
- export type Mutation = {
257
- __typename?: 'Mutation';
258
- addAntivirusMetadata: AntivirusMetadata;
259
- addConsignment: Consignment;
260
- addFFIDMetadata: FfidMetadata;
261
- addFileMetadata: FileMetadata;
262
- addFilesAndMetadata: Array<FileMatches>;
263
- addFinalJudgmentTransferConfirmation: FinalJudgmentTransferConfirmation;
264
- addFinalTransferConfirmation: FinalTransferConfirmation;
265
- addTransferAgreementCompliance: TransferAgreementCompliance;
266
- addTransferAgreementPrivateBeta: TransferAgreementPrivateBeta;
267
- markUploadAsCompleted?: Maybe<Scalars['Int']>;
268
- startUpload: Scalars['String'];
269
- updateExportData?: Maybe<Scalars['Int']>;
270
- updateTransferInitiated?: Maybe<Scalars['Int']>;
271
- };
272
- export type MutationAddAntivirusMetadataArgs = {
273
- addAntivirusMetadataInput: AddAntivirusMetadataInput;
274
- };
275
- export type MutationAddConsignmentArgs = {
276
- addConsignmentInput: AddConsignmentInput;
277
- };
278
- export type MutationAddFfidMetadataArgs = {
279
- addFFIDMetadataInput: FfidMetadataInput;
280
- };
281
- export type MutationAddFileMetadataArgs = {
282
- addFileMetadataInput: AddFileMetadataInput;
283
- };
284
- export type MutationAddFilesAndMetadataArgs = {
285
- addFilesAndMetadataInput: AddFileAndMetadataInput;
286
- };
287
- export type MutationAddFinalJudgmentTransferConfirmationArgs = {
288
- addFinalJudgmentTransferConfirmationInput: AddFinalJudgmentTransferConfirmationInput;
289
- };
290
- export type MutationAddFinalTransferConfirmationArgs = {
291
- addFinalTransferConfirmationInput: AddFinalTransferConfirmationInput;
292
- };
293
- export type MutationAddTransferAgreementComplianceArgs = {
294
- addTransferAgreementComplianceInput: AddTransferAgreementComplianceInput;
295
- };
296
- export type MutationAddTransferAgreementPrivateBetaArgs = {
297
- addTransferAgreementPrivateBetaInput: AddTransferAgreementPrivateBetaInput;
298
- };
299
- export type MutationMarkUploadAsCompletedArgs = {
300
- consignmentid: Scalars['UUID'];
301
- };
302
- export type MutationStartUploadArgs = {
303
- startUploadInput: StartUploadInput;
304
- };
305
- export type MutationUpdateExportDataArgs = {
306
- exportData: UpdateExportDataInput;
307
- };
308
- export type MutationUpdateTransferInitiatedArgs = {
309
- consignmentid: Scalars['UUID'];
310
- };
311
- /** Information about pagination in a connection. */
312
- export type PageInfo = {
313
- __typename?: 'PageInfo';
314
- /** When paginating forwards, the cursor to continue. */
315
- endCursor?: Maybe<Scalars['String']>;
316
- /** When paginating forwards, are there more items? */
317
- hasNextPage: Scalars['Boolean'];
318
- /** When paginating backwards, are there more items? */
319
- hasPreviousPage: Scalars['Boolean'];
320
- /** When paginating backwards, the cursor to continue. */
321
- startCursor?: Maybe<Scalars['String']>;
322
- };
323
- export enum PropertyType {
324
- Defined = "Defined",
325
- Supplied = "Supplied",
326
- System = "System"
327
- }
328
- export type Query = {
329
- __typename?: 'Query';
330
- consignments: ConsignmentConnection;
331
- getClientFileMetadata: ClientFileMetadata;
332
- getClosureMetadata: Array<CustomMetadataField>;
333
- getConsignment?: Maybe<Consignment>;
334
- getSeries: Array<Series>;
335
- };
336
- export type QueryConsignmentsArgs = {
337
- currentCursor?: InputMaybe<Scalars['String']>;
338
- limit: Scalars['Int'];
339
- };
340
- export type QueryGetClientFileMetadataArgs = {
341
- fileId: Scalars['UUID'];
342
- };
343
- export type QueryGetClosureMetadataArgs = {
344
- consignmentid: Scalars['UUID'];
345
- };
346
- export type QueryGetConsignmentArgs = {
347
- consignmentid: Scalars['UUID'];
348
- };
349
- export type QueryGetSeriesArgs = {
350
- body: Scalars['String'];
351
- };
352
- export type Series = {
353
- __typename?: 'Series';
354
- bodyid: Scalars['UUID'];
355
- code: Scalars['String'];
356
- description?: Maybe<Scalars['String']>;
357
- name: Scalars['String'];
358
- seriesid: Scalars['UUID'];
359
- };
360
- export type StartUploadInput = {
361
- consignmentId: Scalars['UUID'];
362
- parentFolder: Scalars['String'];
363
- };
364
- export type TransferAgreementCompliance = {
365
- __typename?: 'TransferAgreementCompliance';
366
- appraisalSelectionSignedOff: Scalars['Boolean'];
367
- consignmentId: Scalars['UUID'];
368
- initialOpenRecords: Scalars['Boolean'];
369
- sensitivityReviewSignedOff: Scalars['Boolean'];
370
- };
371
- export type TransferAgreementPrivateBeta = {
372
- __typename?: 'TransferAgreementPrivateBeta';
373
- allCrownCopyright: Scalars['Boolean'];
374
- allEnglish: Scalars['Boolean'];
375
- allPublicRecords: Scalars['Boolean'];
376
- consignmentId: Scalars['UUID'];
377
- };
378
- export type TransferringBody = {
379
- __typename?: 'TransferringBody';
380
- name: Scalars['String'];
381
- tdrCode: Scalars['String'];
382
- };
383
- export type UpdateExportDataInput = {
384
- consignmentId: Scalars['UUID'];
385
- exportDatetime?: InputMaybe<Scalars['ZonedDateTime']>;
386
- exportLocation: Scalars['String'];
387
- exportVersion: Scalars['String'];
388
- };
389
- export type AddAntivirusMetadataMutationVariables = Exact<{
390
- input: AddAntivirusMetadataInput;
391
- }>;
392
- export type AddAntivirusMetadataMutation = {
393
- __typename?: 'Mutation';
394
- addAntivirusMetadata: {
395
- __typename?: 'AntivirusMetadata';
396
- fileId: any;
397
- software: string;
398
- softwareVersion: string;
399
- databaseVersion: string;
400
- result: string;
401
- datetime: number;
402
- };
403
- };
404
- export type AddConsignmentMutationVariables = Exact<{
405
- addConsignmentInput: AddConsignmentInput;
406
- }>;
407
- export type AddConsignmentMutation = {
408
- __typename?: 'Mutation';
409
- addConsignment: {
410
- __typename?: 'Consignment';
411
- consignmentid?: any | null;
412
- seriesid?: any | null;
413
- };
414
- };
415
- export type AddFfidMetadataMutationVariables = Exact<{
416
- addFFIDMetadataInput: FfidMetadataInput;
417
- }>;
418
- export type AddFfidMetadataMutation = {
419
- __typename?: 'Mutation';
420
- addFFIDMetadata: {
421
- __typename?: 'FFIDMetadata';
422
- fileId: any;
423
- };
424
- };
425
- export type AddFileMetadataMutationVariables = Exact<{
426
- addFileMetadataInput: AddFileMetadataInput;
427
- }>;
428
- export type AddFileMetadataMutation = {
429
- __typename?: 'Mutation';
430
- addFileMetadata: {
431
- __typename?: 'FileMetadata';
432
- fileId: any;
433
- value: string;
434
- };
435
- };
436
- export type AddFilesAndMetadataMutationVariables = Exact<{
437
- input: AddFileAndMetadataInput;
438
- }>;
439
- export type AddFilesAndMetadataMutation = {
440
- __typename?: 'Mutation';
441
- addFilesAndMetadata: Array<{
442
- __typename?: 'FileMatches';
443
- fileId: any;
444
- matchId: number;
445
- }>;
446
- };
447
- export type AddFinalJudgmentTransferConfirmationMutationVariables = Exact<{
448
- input: AddFinalJudgmentTransferConfirmationInput;
449
- }>;
450
- export type AddFinalJudgmentTransferConfirmationMutation = {
451
- __typename?: 'Mutation';
452
- addFinalJudgmentTransferConfirmation: {
453
- __typename?: 'FinalJudgmentTransferConfirmation';
454
- consignmentId: any;
455
- legalCustodyTransferConfirmed: boolean;
456
- };
457
- };
458
- export type AddFinalTransferConfirmationMutationVariables = Exact<{
459
- input: AddFinalTransferConfirmationInput;
460
- }>;
461
- export type AddFinalTransferConfirmationMutation = {
462
- __typename?: 'Mutation';
463
- addFinalTransferConfirmation: {
464
- __typename?: 'FinalTransferConfirmation';
465
- consignmentId: any;
466
- finalOpenRecordsConfirmed: boolean;
467
- legalCustodyTransferConfirmed: boolean;
468
- };
469
- };
470
- export type AddTransferAgreementComplianceMutationVariables = Exact<{
471
- input: AddTransferAgreementComplianceInput;
472
- }>;
473
- export type AddTransferAgreementComplianceMutation = {
474
- __typename?: 'Mutation';
475
- addTransferAgreementCompliance: {
476
- __typename?: 'TransferAgreementCompliance';
477
- consignmentId: any;
478
- appraisalSelectionSignedOff: boolean;
479
- sensitivityReviewSignedOff: boolean;
480
- initialOpenRecords: boolean;
481
- };
482
- };
483
- export type AddTransferAgreementPrivateBetaMutationVariables = Exact<{
484
- input: AddTransferAgreementPrivateBetaInput;
485
- }>;
486
- export type AddTransferAgreementPrivateBetaMutation = {
487
- __typename?: 'Mutation';
488
- addTransferAgreementPrivateBeta: {
489
- __typename?: 'TransferAgreementPrivateBeta';
490
- consignmentId: any;
491
- allPublicRecords: boolean;
492
- allCrownCopyright: boolean;
493
- allEnglish: boolean;
494
- };
495
- };
496
- export type GetClosureMetadataQueryVariables = Exact<{
497
- consignmentId: Scalars['UUID'];
498
- }>;
499
- export type GetClosureMetadataQuery = {
500
- __typename?: 'Query';
501
- getClosureMetadata: Array<{
502
- __typename?: 'CustomMetadataField';
503
- name: string;
504
- description?: string | null;
505
- fullName?: string | null;
506
- propertyType: PropertyType;
507
- propertyGroup?: string | null;
508
- dataType: DataType;
509
- editable: boolean;
510
- multiValue: boolean;
511
- defaultValue?: string | null;
512
- values: Array<{
513
- __typename?: 'CustomMetadataValues';
514
- value: string;
515
- dependencies: Array<{
516
- __typename?: 'CustomMetadataField';
517
- name: string;
518
- description?: string | null;
519
- fullName?: string | null;
520
- propertyType: PropertyType;
521
- propertyGroup?: string | null;
522
- dataType: DataType;
523
- editable: boolean;
524
- multiValue: boolean;
525
- defaultValue?: string | null;
526
- }>;
527
- }>;
528
- }>;
529
- };
530
- export type GetConsignmentQueryVariables = Exact<{
531
- consignmentId: Scalars['UUID'];
532
- }>;
533
- export type GetConsignmentQuery = {
534
- __typename?: 'Query';
535
- getConsignment?: {
536
- __typename?: 'Consignment';
537
- userid: any;
538
- seriesid?: any | null;
539
- } | null;
540
- };
541
- export type GetConsignmentForExportQueryVariables = Exact<{
542
- consignmentId: Scalars['UUID'];
543
- }>;
544
- export type GetConsignmentForExportQuery = {
545
- __typename?: 'Query';
546
- getConsignment?: {
547
- __typename?: 'Consignment';
548
- userid: any;
549
- createdDatetime?: any | null;
550
- transferInitiatedDatetime?: any | null;
551
- exportDatetime?: any | null;
552
- consignmentReference: string;
553
- consignmentType?: string | null;
554
- series?: {
555
- __typename?: 'Series';
556
- code: string;
557
- } | null;
558
- transferringBody?: {
559
- __typename?: 'TransferringBody';
560
- name: string;
561
- } | null;
562
- files: Array<{
563
- __typename?: 'File';
564
- fileId: any;
565
- fileType?: string | null;
566
- fileName?: string | null;
567
- metadata: {
568
- __typename?: 'FileMetadataValues';
569
- clientSideFileSize?: number | null;
570
- clientSideLastModifiedDate?: any | null;
571
- clientSideOriginalFilePath?: string | null;
572
- foiExemptionCode?: string | null;
573
- heldBy?: string | null;
574
- language?: string | null;
575
- legalStatus?: string | null;
576
- rightsCopyright?: string | null;
577
- sha256ClientSideChecksum?: string | null;
578
- };
579
- ffidMetadata?: {
580
- __typename?: 'FFIDMetadata';
581
- software: string;
582
- softwareVersion: string;
583
- binarySignatureFileVersion: string;
584
- containerSignatureFileVersion: string;
585
- method: string;
586
- matches: Array<{
587
- __typename?: 'FFIDMetadataMatches';
588
- extension?: string | null;
589
- identificationBasis: string;
590
- puid?: string | null;
591
- }>;
592
- } | null;
593
- antivirusMetadata?: {
594
- __typename?: 'AntivirusMetadata';
595
- software: string;
596
- softwareVersion: string;
597
- } | null;
598
- }>;
599
- } | null;
600
- };
601
- export type GetConsignmentFilesQueryVariables = Exact<{
602
- consignmentId: Scalars['UUID'];
603
- }>;
604
- export type GetConsignmentFilesQuery = {
605
- __typename?: 'Query';
606
- getConsignment?: {
607
- __typename?: 'Consignment';
608
- files: Array<{
609
- __typename?: 'File';
610
- metadata: {
611
- __typename?: 'FileMetadataValues';
612
- clientSideOriginalFilePath?: string | null;
613
- };
614
- }>;
615
- } | null;
616
- };
617
- export type GetConsignmentFolderDetailsQueryVariables = Exact<{
618
- consignmentId: Scalars['UUID'];
619
- }>;
620
- export type GetConsignmentFolderDetailsQuery = {
621
- __typename?: 'Query';
622
- getConsignment?: {
623
- __typename?: 'Consignment';
624
- totalFiles: number;
625
- parentFolder?: string | null;
626
- } | null;
627
- };
628
- export type GetConsignmentReferenceQueryVariables = Exact<{
629
- consignmentId: Scalars['UUID'];
630
- }>;
631
- export type GetConsignmentReferenceQuery = {
632
- __typename?: 'Query';
633
- getConsignment?: {
634
- __typename?: 'Consignment';
635
- consignmentReference: string;
636
- } | null;
637
- };
638
- export type GetConsignmentStatusQueryVariables = Exact<{
639
- consignmentId: Scalars['UUID'];
640
- }>;
641
- export type GetConsignmentStatusQuery = {
642
- __typename?: 'Query';
643
- getConsignment?: {
644
- __typename?: 'Consignment';
645
- currentStatus: {
646
- __typename?: 'CurrentStatus';
647
- transferAgreement?: string | null;
648
- upload?: string | null;
649
- confirmTransfer?: string | null;
650
- };
651
- } | null;
652
- };
653
- export type GetConsignmentSummaryQueryVariables = Exact<{
654
- consignmentId: Scalars['UUID'];
655
- }>;
656
- export type GetConsignmentSummaryQuery = {
657
- __typename?: 'Query';
658
- getConsignment?: {
659
- __typename?: 'Consignment';
660
- totalFiles: number;
661
- consignmentReference: string;
662
- series?: {
663
- __typename?: 'Series';
664
- code: string;
665
- } | null;
666
- transferringBody?: {
667
- __typename?: 'TransferringBody';
668
- name: string;
669
- } | null;
670
- } | null;
671
- };
672
- export type GetConsignmentTypeQueryVariables = Exact<{
673
- consignmentId: Scalars['UUID'];
674
- }>;
675
- export type GetConsignmentTypeQuery = {
676
- __typename?: 'Query';
677
- getConsignment?: {
678
- __typename?: 'Consignment';
679
- consignmentType?: string | null;
680
- } | null;
681
- };
682
- export type GetFileCheckProgressQueryVariables = Exact<{
683
- consignmentId: Scalars['UUID'];
684
- }>;
685
- export type GetFileCheckProgressQuery = {
686
- __typename?: 'Query';
687
- getConsignment?: {
688
- __typename?: 'Consignment';
689
- allChecksSucceeded: boolean;
690
- parentFolder?: string | null;
691
- totalFiles: number;
692
- files: Array<{
693
- __typename?: 'File';
694
- fileStatus?: string | null;
695
- }>;
696
- fileChecks: {
697
- __typename?: 'FileChecks';
698
- antivirusProgress: {
699
- __typename?: 'AntivirusProgress';
700
- filesProcessed: number;
701
- };
702
- checksumProgress: {
703
- __typename?: 'ChecksumProgress';
704
- filesProcessed: number;
705
- };
706
- ffidProgress: {
707
- __typename?: 'FFIDProgress';
708
- filesProcessed: number;
709
- };
710
- };
711
- } | null;
712
- };
713
- export type GetFileCheckProgressSummaryQueryVariables = Exact<{
714
- consignmentId: Scalars['UUID'];
715
- }>;
716
- export type GetFileCheckProgressSummaryQuery = {
717
- __typename?: 'Query';
718
- getConsignment?: {
719
- __typename?: 'Consignment';
720
- totalFiles: number;
721
- fileChecks: {
722
- __typename?: 'FileChecks';
723
- antivirusProgress: {
724
- __typename?: 'AntivirusProgress';
725
- filesProcessed: number;
726
- };
727
- checksumProgress: {
728
- __typename?: 'ChecksumProgress';
729
- filesProcessed: number;
730
- };
731
- ffidProgress: {
732
- __typename?: 'FFIDProgress';
733
- filesProcessed: number;
734
- };
735
- };
736
- } | null;
737
- };
738
- export type GetOriginalPathQueryVariables = Exact<{
739
- fileId: Scalars['UUID'];
740
- }>;
741
- export type GetOriginalPathQuery = {
742
- __typename?: 'Query';
743
- getClientFileMetadata: {
744
- __typename?: 'ClientFileMetadata';
745
- originalPath?: string | null;
746
- };
747
- };
748
- export type GetSeriesQueryVariables = Exact<{
749
- body: Scalars['String'];
750
- }>;
751
- export type GetSeriesQuery = {
752
- __typename?: 'Query';
753
- getSeries: Array<{
754
- __typename?: 'Series';
755
- seriesid: any;
756
- bodyid: any;
757
- name: string;
758
- code: string;
759
- description?: string | null;
760
- }>;
761
- };
762
- export type MarkUploadAsCompletedMutationVariables = Exact<{
763
- consignmentId: Scalars['UUID'];
764
- }>;
765
- export type MarkUploadAsCompletedMutation = {
766
- __typename?: 'Mutation';
767
- markUploadAsCompleted?: number | null;
768
- };
769
- export type StartUploadMutationVariables = Exact<{
770
- input: StartUploadInput;
771
- }>;
772
- export type StartUploadMutation = {
773
- __typename?: 'Mutation';
774
- startUpload: string;
775
- };
776
- export type UpdateExportDataMutationVariables = Exact<{
777
- updateExportDataInput: UpdateExportDataInput;
778
- }>;
779
- export type UpdateExportDataMutation = {
780
- __typename?: 'Mutation';
781
- updateExportData?: number | null;
782
- };
783
- export type UpdateTransferInitiatedMutationVariables = Exact<{
784
- consignmentId: Scalars['UUID'];
785
- }>;
786
- export type UpdateTransferInitiatedMutation = {
787
- __typename?: 'Mutation';
788
- updateTransferInitiated?: number | null;
789
- };
790
- export const AddAntivirusMetadata: import("graphql/language/ast").DocumentNode;
791
- export const AddConsignment: import("graphql/language/ast").DocumentNode;
792
- export const AddFfidMetadata: import("graphql/language/ast").DocumentNode;
793
- export const AddFileMetadata: import("graphql/language/ast").DocumentNode;
794
- export const AddFilesAndMetadata: import("graphql/language/ast").DocumentNode;
795
- export const AddFinalJudgmentTransferConfirmation: import("graphql/language/ast").DocumentNode;
796
- export const AddFinalTransferConfirmation: import("graphql/language/ast").DocumentNode;
797
- export const AddTransferAgreementCompliance: import("graphql/language/ast").DocumentNode;
798
- export const AddTransferAgreementPrivateBeta: import("graphql/language/ast").DocumentNode;
799
- export const GetClosureMetadata: import("graphql/language/ast").DocumentNode;
800
- export const GetConsignment: import("graphql/language/ast").DocumentNode;
801
- export const GetConsignmentForExport: import("graphql/language/ast").DocumentNode;
802
- export const GetConsignmentFiles: import("graphql/language/ast").DocumentNode;
803
- export const GetConsignmentFolderDetails: import("graphql/language/ast").DocumentNode;
804
- export const GetConsignmentReference: import("graphql/language/ast").DocumentNode;
805
- export const GetConsignmentStatus: import("graphql/language/ast").DocumentNode;
806
- export const GetConsignmentSummary: import("graphql/language/ast").DocumentNode;
807
- export const GetConsignmentType: import("graphql/language/ast").DocumentNode;
808
- export const GetFileCheckProgress: import("graphql/language/ast").DocumentNode;
809
- export const GetFileCheckProgressSummary: import("graphql/language/ast").DocumentNode;
810
- export const GetOriginalPath: import("graphql/language/ast").DocumentNode;
811
- export const GetSeries: import("graphql/language/ast").DocumentNode;
812
- export const MarkUploadAsCompleted: import("graphql/language/ast").DocumentNode;
813
- export const StartUpload: import("graphql/language/ast").DocumentNode;
814
- export const UpdateExportData: import("graphql/language/ast").DocumentNode;
815
- export const UpdateTransferInitiated: import("graphql/language/ast").DocumentNode;
816
-