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