1
|
// Generated using typescript-generator version 1.29.366 on 2018-02-05 16:06:12.
|
2
|
|
3
|
export class BrowseData {
|
4
|
data: { [index: string]: FieldData };
|
5
|
fields: string[];
|
6
|
}
|
7
|
|
8
|
export class DataCollectionAccessProtocol {
|
9
|
value: string;
|
10
|
username: string;
|
11
|
password: string;
|
12
|
}
|
13
|
|
14
|
export class DataCollectionInterface {
|
15
|
protocol: DataCollectionAccessProtocol;
|
16
|
baseUrl: string;
|
17
|
format: string;
|
18
|
filter: string;
|
19
|
}
|
20
|
|
21
|
export class DataCollectionType {
|
22
|
dataCollectionInterface: DataCollectionInterface;
|
23
|
id: string;
|
24
|
label: string;
|
25
|
group: string;
|
26
|
}
|
27
|
|
28
|
export class Document {
|
29
|
map: { [index: string]: string[] };
|
30
|
fieldNames: string[];
|
31
|
}
|
32
|
|
33
|
export class FieldData {
|
34
|
fieldRowList: FieldRow[];
|
35
|
count: number[];
|
36
|
values: string[];
|
37
|
}
|
38
|
|
39
|
export class FieldRow {
|
40
|
value: string;
|
41
|
count: number;
|
42
|
}
|
43
|
|
44
|
export class FormattedSearchResult {
|
45
|
formattedResult: string;
|
46
|
resultsNumber: number;
|
47
|
}
|
48
|
|
49
|
export class Hint {
|
50
|
alternateTerm: string;
|
51
|
autoFollowHint: boolean;
|
52
|
}
|
53
|
|
54
|
export class DriverResource implements Serializable {
|
55
|
resourceId: string;
|
56
|
resourceUri: string;
|
57
|
resourceKind: string;
|
58
|
resourceType: string;
|
59
|
dateOfCreation: Date;
|
60
|
}
|
61
|
|
62
|
export class MDFormatDataStructure extends DriverResource {
|
63
|
resourceName: string;
|
64
|
layouts: { [index: string]: LayoutField[] };
|
65
|
}
|
66
|
|
67
|
export class PiwikInfo implements IsSerializable {
|
68
|
repositoryId: string;
|
69
|
openaireId: string;
|
70
|
repositoryName: string;
|
71
|
country: string;
|
72
|
siteId: string;
|
73
|
authenticationToken: string;
|
74
|
creationDate: Date;
|
75
|
requestorName: string;
|
76
|
requestorEmail: string;
|
77
|
validated: boolean;
|
78
|
validationDate: Date;
|
79
|
comment: string;
|
80
|
}
|
81
|
|
82
|
export class Repository extends DriverResource implements IsSerializable {
|
83
|
id: string;
|
84
|
officialName: string;
|
85
|
englishName: string;
|
86
|
websiteUrl: string;
|
87
|
logoUrl: string;
|
88
|
contactEmail: string;
|
89
|
countryName: string;
|
90
|
countryCode: string;
|
91
|
organization: string;
|
92
|
latitude: number;
|
93
|
longitude: number;
|
94
|
timezone: number;
|
95
|
namespacePrefix: string;
|
96
|
odNumberOfItems: string;
|
97
|
odNumberOfItemsDate: string;
|
98
|
odPolicies: string;
|
99
|
odLanguages: string;
|
100
|
odContentTypes: string;
|
101
|
collectedFrom: string;
|
102
|
inferred: boolean;
|
103
|
deletedByInference: boolean;
|
104
|
trust: number;
|
105
|
inferenceProvenance: string;
|
106
|
dateOfValidation: Date;
|
107
|
datasourceClass: string;
|
108
|
provenanceActionClass: string;
|
109
|
dateOfCollection: Date;
|
110
|
typology: string;
|
111
|
activationId: string;
|
112
|
mergehomonyms: boolean;
|
113
|
description: string;
|
114
|
releaseStartDate: Date;
|
115
|
releaseEndDate: Date;
|
116
|
missionStatementUrl: string;
|
117
|
dataProvider: boolean;
|
118
|
serviceProvider: boolean;
|
119
|
databaseAccessType: string;
|
120
|
dataUploadType: string;
|
121
|
databaseAccessRestriction: string;
|
122
|
dataUploadRestriction: string;
|
123
|
versioning: boolean;
|
124
|
citationGuidelineUrl: string;
|
125
|
qualityManagementKind: string;
|
126
|
pidSystems: string;
|
127
|
certificates: string;
|
128
|
aggregator: string;
|
129
|
issn: string;
|
130
|
eissn: string;
|
131
|
lissn: string;
|
132
|
interfaces: RepositoryInterface[];
|
133
|
availableDiskSpace: string;
|
134
|
securityParameters: string;
|
135
|
protocol: string;
|
136
|
registeredBy: string;
|
137
|
datasourceType: string;
|
138
|
datasourceAggregatorId: string;
|
139
|
datasourceOriginalIdValue: string;
|
140
|
datasourceOriginalIdProvenance: string;
|
141
|
datasourceAggregated: boolean;
|
142
|
datasourceComplianceDegreeValue: string;
|
143
|
datasourceComplianceDegreeEncoding: string;
|
144
|
numberOfObjects: number;
|
145
|
maxSizeOfDatastructure: number;
|
146
|
maxNumberOfDataStructures: number;
|
147
|
registered: boolean;
|
148
|
extraFields: { [index: string]: string };
|
149
|
piwikInfo: PiwikInfo;
|
150
|
environments: string[];
|
151
|
registrationDate: Date;
|
152
|
verified: boolean;
|
153
|
dataCollectionTypes: DataCollectionType[];
|
154
|
}
|
155
|
|
156
|
export class RepositorySnippet {
|
157
|
id: string;
|
158
|
officialname: string;
|
159
|
englishname: string;
|
160
|
websiteurl: string;
|
161
|
typology: string;
|
162
|
registeredby: string;
|
163
|
organizations: Organization[];
|
164
|
registrationdate: Date;
|
165
|
}
|
166
|
|
167
|
export class Organization {
|
168
|
country: string;
|
169
|
legalname: string;
|
170
|
websiteurl: string;
|
171
|
legalshortname: string;
|
172
|
logourl: string;
|
173
|
}
|
174
|
|
175
|
export class RepositoryAccessProtocol {
|
176
|
value: string;
|
177
|
username: string;
|
178
|
password: string;
|
179
|
filter: string;
|
180
|
}
|
181
|
|
182
|
export class RepositoryBlackboard {
|
183
|
lastrequest: string;
|
184
|
lastresponse: string;
|
185
|
messages: RepositoryBlackboardMessage[];
|
186
|
}
|
187
|
|
188
|
export class RepositoryBlackboardMessage {
|
189
|
id: string;
|
190
|
action: Action;
|
191
|
actionStatus: ActionStatus;
|
192
|
parameters: string[];
|
193
|
}
|
194
|
|
195
|
export class RepositoryComparator implements Comparator<Repository> {
|
196
|
}
|
197
|
|
198
|
export class RepositoryInterface implements Serializable, IsSerializable {
|
199
|
desiredCompatibilityLevel: string;
|
200
|
complianceName: string;
|
201
|
upgradeToV3: string;
|
202
|
deleteApi: boolean;
|
203
|
accessSet: string;
|
204
|
accessFormat: string;
|
205
|
metadataIdentifierPath: string;
|
206
|
lastCollectionDate: string;
|
207
|
nextScheduledExecution: string;
|
208
|
status: string;
|
209
|
collectedFrom: string;
|
210
|
id: string;
|
211
|
typology: string;
|
212
|
compliance: string;
|
213
|
contentDescription: string;
|
214
|
accessProtocol: string;
|
215
|
baseUrl: string;
|
216
|
active: boolean;
|
217
|
removable: boolean;
|
218
|
accessParams: { [index: string]: string };
|
219
|
extraFields: { [index: string]: string };
|
220
|
}
|
221
|
|
222
|
export class SearchCriteriaImpl implements SearchCriteria {
|
223
|
startsWith: string;
|
224
|
endsWith: string;
|
225
|
contains: string;
|
226
|
}
|
227
|
|
228
|
export class RepositorySearchCriteria extends SearchCriteriaImpl implements SearchCriteria {
|
229
|
haveDocuments: boolean;
|
230
|
protocolType: string;
|
231
|
adminInfo: string;
|
232
|
officialName: string;
|
233
|
registeredBy: string;
|
234
|
country: string;
|
235
|
verified: boolean;
|
236
|
}
|
237
|
|
238
|
export class SearchResult {
|
239
|
query: string;
|
240
|
locale: string;
|
241
|
total: number;
|
242
|
page: number;
|
243
|
size: number;
|
244
|
fields: string[];
|
245
|
searchResults: string[];
|
246
|
browseResults: string[];
|
247
|
}
|
248
|
|
249
|
export class SimilarDocument {
|
250
|
id: string;
|
251
|
score: number;
|
252
|
}
|
253
|
|
254
|
export class StoreInfo {
|
255
|
serviceUrl: string;
|
256
|
storeId: string;
|
257
|
}
|
258
|
|
259
|
export class StoreObjectInfo {
|
260
|
storeInfo: StoreInfo;
|
261
|
objectId: string;
|
262
|
}
|
263
|
|
264
|
export class SuggestiveResult {
|
265
|
epr: EPR;
|
266
|
alternativeTerm: string;
|
267
|
autofollow: boolean;
|
268
|
}
|
269
|
|
270
|
export class CustomProperties implements IsSerializable {
|
271
|
properties: { [index: string]: string };
|
272
|
}
|
273
|
|
274
|
export class JobForValidation implements IsSerializable {
|
275
|
officialName: string;
|
276
|
baseUrl: string;
|
277
|
userEmail: string;
|
278
|
validationSet: string;
|
279
|
datasourceId: string;
|
280
|
interfaceId: string;
|
281
|
desiredCompatibilityLevel: string;
|
282
|
activationId: string;
|
283
|
repoType: string;
|
284
|
interfaceIdOld: string;
|
285
|
groupByXpath: string;
|
286
|
metadataPrefix: string;
|
287
|
records: number;
|
288
|
registration: boolean;
|
289
|
updateExisting: boolean;
|
290
|
cris: boolean;
|
291
|
crisReferentialChecks: boolean;
|
292
|
selectedCrisEntities: string[];
|
293
|
selectedContentRules: number[];
|
294
|
selectedUsageRules: number[];
|
295
|
adminEmails: string[];
|
296
|
}
|
297
|
|
298
|
export class JobResultEntry implements IsSerializable {
|
299
|
name: string;
|
300
|
description: string;
|
301
|
successes: string;
|
302
|
weight: number;
|
303
|
errors: string[];
|
304
|
ruleId: number;
|
305
|
hasErrors: boolean;
|
306
|
mandatory: boolean;
|
307
|
type: string;
|
308
|
}
|
309
|
|
310
|
export class Rule implements IsSerializable {
|
311
|
id: number;
|
312
|
name: string;
|
313
|
description: string;
|
314
|
type: string;
|
315
|
mandatory: boolean;
|
316
|
weight: number;
|
317
|
provider_information: string;
|
318
|
job_type: string;
|
319
|
entity_type: string;
|
320
|
for_cris: boolean;
|
321
|
configuration: CustomProperties;
|
322
|
}
|
323
|
|
324
|
export class RuleSet implements Serializable, IsSerializable {
|
325
|
id: number;
|
326
|
name: string;
|
327
|
description: string;
|
328
|
guidelinesAcronym: string;
|
329
|
shortName: string;
|
330
|
visibility: string[];
|
331
|
contentRules: Rule[];
|
332
|
usageRules: Rule[];
|
333
|
contentRulesIds: number[];
|
334
|
usageRulesIds: number[];
|
335
|
}
|
336
|
|
337
|
export class StoredJob extends JobForValidation implements IsSerializable {
|
338
|
contentJobStatus: string;
|
339
|
usageJobStatus: string;
|
340
|
started: string;
|
341
|
ended: string;
|
342
|
duration: string;
|
343
|
error: string;
|
344
|
validationType: string;
|
345
|
jobType: string;
|
346
|
guidelinesShortName: string;
|
347
|
validationStatus: string;
|
348
|
recordsTested: number;
|
349
|
id: number;
|
350
|
contentJobScore: number;
|
351
|
usageJobScore: number;
|
352
|
rules: number[];
|
353
|
resultEntries: JobResultEntry[];
|
354
|
filteredScores: { [index: string]: number };
|
355
|
}
|
356
|
|
357
|
export class AdvQueryObject implements IsSerializable {
|
358
|
datasource: string;
|
359
|
topic: string;
|
360
|
titles: string[];
|
361
|
subjects: string[];
|
362
|
authors: string[];
|
363
|
dates: Range[];
|
364
|
trust: Range;
|
365
|
page: number;
|
366
|
}
|
367
|
|
368
|
export class BrowseEntry implements Comparable<BrowseEntry>, IsSerializable {
|
369
|
value: string;
|
370
|
size: number;
|
371
|
}
|
372
|
|
373
|
export class ConditionParams implements IsSerializable {
|
374
|
value: string;
|
375
|
otherValue: string;
|
376
|
}
|
377
|
|
378
|
export class Dataset implements IsSerializable {
|
379
|
titles: string[];
|
380
|
collectedFrom: string[];
|
381
|
pids: Pid[];
|
382
|
instances: Instance[];
|
383
|
}
|
384
|
|
385
|
export class DatasourcesBroker implements IsSerializable {
|
386
|
datasourcesOfUser: Tuple<BrowseEntry, string>[];
|
387
|
sharedDatasources: Tuple<BrowseEntry, string>[];
|
388
|
datasourcesOfOthers: Tuple<BrowseEntry, string>[];
|
389
|
}
|
390
|
|
391
|
export class EventsPage implements IsSerializable {
|
392
|
datasource: string;
|
393
|
topic: string;
|
394
|
currPage: number;
|
395
|
totalPages: number;
|
396
|
total: number;
|
397
|
values: OpenAireEventPayload[];
|
398
|
}
|
399
|
|
400
|
export class ExternalReference implements IsSerializable {
|
401
|
url: string;
|
402
|
sitename: string;
|
403
|
type: string;
|
404
|
refidentifier: string;
|
405
|
}
|
406
|
|
407
|
export class Instance implements IsSerializable {
|
408
|
url: string;
|
409
|
license: string;
|
410
|
hostedby: string;
|
411
|
instancetype: string;
|
412
|
}
|
413
|
|
414
|
export class Journal implements IsSerializable {
|
415
|
name: string;
|
416
|
issn: string;
|
417
|
eissn: string;
|
418
|
lissn: string;
|
419
|
}
|
420
|
|
421
|
export class MapConditions implements IsSerializable {
|
422
|
field: string;
|
423
|
fieldType: MapValueType;
|
424
|
operator: ConditionOperator;
|
425
|
listParams: ConditionParams[];
|
426
|
}
|
427
|
|
428
|
export class OpenAireEventPayload implements IsSerializable {
|
429
|
publication: Publication;
|
430
|
highlight: Publication;
|
431
|
provenance: Provenance;
|
432
|
trust: number;
|
433
|
}
|
434
|
|
435
|
export class OpenaireSubscription implements IsSerializable {
|
436
|
subscriber: string;
|
437
|
frequency: NotificationFrequency;
|
438
|
mode: NotificationMode;
|
439
|
query: AdvQueryObject;
|
440
|
}
|
441
|
|
442
|
export class Pid implements IsSerializable {
|
443
|
value: string;
|
444
|
type: string;
|
445
|
}
|
446
|
|
447
|
export class Project implements IsSerializable {
|
448
|
code: string;
|
449
|
acronym: string;
|
450
|
title: string;
|
451
|
funder: string;
|
452
|
fundingProgram: string;
|
453
|
jurisdiction: string;
|
454
|
}
|
455
|
|
456
|
export class Provenance implements IsSerializable {
|
457
|
repositoryName: string;
|
458
|
url: string;
|
459
|
id: string;
|
460
|
}
|
461
|
|
462
|
export class Publication implements IsSerializable {
|
463
|
originalId: string;
|
464
|
titles: string[];
|
465
|
abstracts: string[];
|
466
|
language: string;
|
467
|
subjects: string[];
|
468
|
creators: string[];
|
469
|
publicationdate: string;
|
470
|
publisher: string;
|
471
|
embargoenddate: string;
|
472
|
contributor: string[];
|
473
|
journal: Journal;
|
474
|
collectedFrom: string[];
|
475
|
pids: Pid[];
|
476
|
instances: Instance[];
|
477
|
externalReferences: ExternalReference[];
|
478
|
projects: Project[];
|
479
|
datasets: Dataset[];
|
480
|
}
|
481
|
|
482
|
export class Range implements IsSerializable {
|
483
|
min: string;
|
484
|
max: string;
|
485
|
}
|
486
|
|
487
|
export class SimpleSubscriptionDesc implements IsSerializable {
|
488
|
id: string;
|
489
|
datasource: string;
|
490
|
topic: string;
|
491
|
count: number;
|
492
|
creationDate: Date;
|
493
|
lastNotificationDate: Date;
|
494
|
}
|
495
|
|
496
|
export class Subscription implements IsSerializable {
|
497
|
subscriptionId: string;
|
498
|
subscriber: string;
|
499
|
topic: string;
|
500
|
frequency: NotificationFrequency;
|
501
|
mode: NotificationMode;
|
502
|
creationDate: Date;
|
503
|
lastNotificationDate: Date;
|
504
|
conditions: string;
|
505
|
conditionsAsList: MapConditions[];
|
506
|
}
|
507
|
|
508
|
export class LayoutField {
|
509
|
name: string;
|
510
|
xpath: string;
|
511
|
type: string;
|
512
|
indexable: boolean;
|
513
|
result: boolean;
|
514
|
stat: boolean;
|
515
|
tokenizable: boolean;
|
516
|
}
|
517
|
|
518
|
export interface IsSerializable {
|
519
|
}
|
520
|
|
521
|
export interface Serializable {
|
522
|
}
|
523
|
|
524
|
export interface SearchCriteria {
|
525
|
}
|
526
|
|
527
|
export class EPR {
|
528
|
epr: string;
|
529
|
address: string;
|
530
|
serviceName: string;
|
531
|
endpointName: string;
|
532
|
parameterNames: string[];
|
533
|
}
|
534
|
|
535
|
export class Tuple<K, V> implements IsSerializable {
|
536
|
first: K;
|
537
|
second: V;
|
538
|
}
|
539
|
|
540
|
export interface Comparator<T> {
|
541
|
}
|
542
|
|
543
|
export interface Comparable<T> {
|
544
|
}
|
545
|
|
546
|
export type ConditionOperator = "EXACT" | "MATCH_ANY" | "MATCH_ALL" | "RANGE";
|
547
|
|
548
|
export type MapValueType = "STRING" | "INTEGER" | "FLOAT" | "DATE" | "BOOLEAN" | "LIST_STRING" | "LIST_INTEGER" | "LIST_FLOAT" | "LIST_DATE" | "LIST_BOOLEAN";
|
549
|
|
550
|
export type NotificationFrequency = "never" | "realtime" | "daily" | "weekly" | "monthly";
|
551
|
|
552
|
export type NotificationMode = "MOCK" | "EMAIL";
|
553
|
|
554
|
export type Action = "CREATE" | "DELETE" | "UPDATE" | "MANAGE" | "RELEASE" | "CANCEL";
|
555
|
|
556
|
export type ActionStatus = "DONE" | "ONGOING" | "FAILED" | "WAITING" | "ASSIGNED";
|
557
|
|
558
|
|
559
|
|
560
|
export class Country {
|
561
|
name: string;
|
562
|
code: string;
|
563
|
}
|
564
|
|
565
|
export class Term implements IsSerializable {
|
566
|
englishName: string;
|
567
|
nativeName: string;
|
568
|
encoding: string;
|
569
|
code: string;
|
570
|
}
|
571
|
|
572
|
export class Timezone {
|
573
|
name: string;
|
574
|
offset: number;
|
575
|
}
|
576
|
|
577
|
export class InterfaceInformation implements IsSerializable {
|
578
|
|
579
|
identified: boolean;
|
580
|
sets: string[];
|
581
|
adminEmails: string[];
|
582
|
}
|
583
|
|
584
|
export class JobsOfUser implements IsSerializable {
|
585
|
totalJobs: number;
|
586
|
totalJobsSuccessful: number;
|
587
|
totalJobsFailed: number;
|
588
|
totalJobsOngoing: number;
|
589
|
|
590
|
jobs: StoredJob[];
|
591
|
}
|
592
|
|
593
|
export class MetricsNumbers implements IsSerializable {
|
594
|
downloads: string[];
|
595
|
pageviews: string;
|
596
|
total_downloads: string;
|
597
|
total_openaire_downloads: string;
|
598
|
total_openaire_views: string;
|
599
|
total_views: string;
|
600
|
views: string[];
|
601
|
}
|
602
|
|
603
|
export class MetricsInfo implements IsSerializable {
|
604
|
diagramsBaseURL: string;
|
605
|
metricsNumbers: MetricsNumbers;
|
606
|
}
|
607
|
|
608
|
export class Typology {
|
609
|
value: string;
|
610
|
name: string;
|
611
|
}
|
612
|
|
613
|
export class AggregationDetails implements IsSerializable {
|
614
|
aggregationStage: string;
|
615
|
date: Date;
|
616
|
numberOfRecords: number;
|
617
|
collectionMode: string;
|
618
|
indexedVersion: boolean;
|
619
|
}
|
620
|
|
621
|
export class Aggregations implements IsSerializable {
|
622
|
aggregationHistory: AggregationDetails[];
|
623
|
lastCollection: AggregationDetails[];
|
624
|
lastTransformation: AggregationDetails[];
|
625
|
}
|
626
|
|
627
|
export class UserInfo implements IsSerializable {
|
628
|
sub: string;
|
629
|
role: string[];
|
630
|
name: string;
|
631
|
email: string;
|
632
|
}
|
633
|
|
634
|
export class UsageStatsSummary implements IsSerializable {
|
635
|
literature: string;
|
636
|
aggregators: string;
|
637
|
journal: string;
|
638
|
software: string;
|
639
|
lastYearUsagestats: { number: string; year: number; };
|
640
|
usagestats: string;
|
641
|
dataRepositories: string;
|
642
|
datasets: string;
|
643
|
publications: string;
|
644
|
}
|
645
|
|
646
|
export class RepositorySummaryInfo {
|
647
|
id: string;
|
648
|
repositoryName: string;
|
649
|
logoURL: string;
|
650
|
recordsCollected: number;
|
651
|
lastIndexedVersion: Date;
|
652
|
enrichmentEvents: number;
|
653
|
totalViews: string;
|
654
|
totalDownloads: string;
|
655
|
}
|