@nationalarchives/tdr-generated-graphql 1.0.185 → 1.0.188

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