1
|
// Generated using typescript-generator version 1.29.366 on 2017-12-05 11:43:17.
|
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 RepositoryAccessProtocol {
|
157
|
value: string;
|
158
|
username: string;
|
159
|
password: string;
|
160
|
filter: string;
|
161
|
}
|
162
|
|
163
|
export class RepositoryBlackboard {
|
164
|
lastrequest: string;
|
165
|
lastresponse: string;
|
166
|
messages: RepositoryBlackboardMessage[];
|
167
|
}
|
168
|
|
169
|
export class RepositoryBlackboardMessage {
|
170
|
id: string;
|
171
|
action: Action;
|
172
|
actionStatus: ActionStatus;
|
173
|
parameters: string[];
|
174
|
}
|
175
|
|
176
|
export class RepositoryComparator implements Comparator<Repository> {
|
177
|
}
|
178
|
|
179
|
export class RepositoryInterface implements Serializable, IsSerializable {
|
180
|
desiredCompatibilityLevel: string;
|
181
|
complianceName: string;
|
182
|
upgradeToV3: string;
|
183
|
deleteApi: boolean;
|
184
|
accessSet: string;
|
185
|
accessFormat: string;
|
186
|
metadataIdentifierPath: string;
|
187
|
lastCollectionDate: string;
|
188
|
nextScheduledExecution: string;
|
189
|
status: string;
|
190
|
collectedFrom: string;
|
191
|
id: string;
|
192
|
typology: string;
|
193
|
compliance: string;
|
194
|
contentDescription: string;
|
195
|
accessProtocol: string;
|
196
|
baseUrl: string;
|
197
|
active: boolean;
|
198
|
removable: boolean;
|
199
|
accessParams: { [index: string]: string };
|
200
|
extraFields: { [index: string]: string };
|
201
|
}
|
202
|
|
203
|
export class SearchCriteriaImpl implements SearchCriteria {
|
204
|
startsWith: string;
|
205
|
endsWith: string;
|
206
|
contains: string;
|
207
|
}
|
208
|
|
209
|
export class RepositorySearchCriteria extends SearchCriteriaImpl implements SearchCriteria {
|
210
|
haveDocuments: boolean;
|
211
|
protocolType: string;
|
212
|
adminInfo: string;
|
213
|
officialName: string;
|
214
|
registeredBy: string;
|
215
|
country: string;
|
216
|
verified: boolean;
|
217
|
}
|
218
|
|
219
|
export class SearchResult {
|
220
|
query: string;
|
221
|
locale: string;
|
222
|
total: number;
|
223
|
page: number;
|
224
|
size: number;
|
225
|
fields: string[];
|
226
|
searchResults: string[];
|
227
|
browseResults: string[];
|
228
|
}
|
229
|
|
230
|
export class SimilarDocument {
|
231
|
id: string;
|
232
|
score: number;
|
233
|
}
|
234
|
|
235
|
export class StoreInfo {
|
236
|
serviceUrl: string;
|
237
|
storeId: string;
|
238
|
}
|
239
|
|
240
|
export class StoreObjectInfo {
|
241
|
storeInfo: StoreInfo;
|
242
|
objectId: string;
|
243
|
}
|
244
|
|
245
|
export class SuggestiveResult {
|
246
|
epr: EPR;
|
247
|
alternativeTerm: string;
|
248
|
autofollow: boolean;
|
249
|
}
|
250
|
|
251
|
export class LayoutField {
|
252
|
name: string;
|
253
|
xpath: string;
|
254
|
type: string;
|
255
|
indexable: boolean;
|
256
|
result: boolean;
|
257
|
stat: boolean;
|
258
|
tokenizable: boolean;
|
259
|
}
|
260
|
|
261
|
export interface IsSerializable {
|
262
|
}
|
263
|
|
264
|
export interface Serializable {
|
265
|
}
|
266
|
|
267
|
export interface SearchCriteria {
|
268
|
}
|
269
|
|
270
|
export class EPR {
|
271
|
epr: string;
|
272
|
address: string;
|
273
|
serviceName: string;
|
274
|
endpointName: string;
|
275
|
parameterNames: string[];
|
276
|
}
|
277
|
|
278
|
export interface Comparator<T> {
|
279
|
}
|
280
|
|
281
|
export type Action = "CREATE" | "DELETE" | "UPDATE" | "MANAGE" | "RELEASE" | "CANCEL";
|
282
|
|
283
|
export type ActionStatus = "DONE" | "ONGOING" | "FAILED" | "WAITING" | "ASSIGNED";
|
284
|
|
285
|
|
286
|
/*ADDITIONAL CLASSES -- added by myrto --*/
|
287
|
export class Country {
|
288
|
name: string;
|
289
|
code: string;
|
290
|
}
|
291
|
|
292
|
export class Topic {
|
293
|
size: number;
|
294
|
value: string;
|
295
|
}
|
296
|
|
297
|
export class Timezone {
|
298
|
name: string;
|
299
|
offset: number;
|
300
|
}
|
301
|
|
302
|
|
303
|
export class RuleSet {
|
304
|
contentRules: Rule[];
|
305
|
contentRulesIds: number[];
|
306
|
description: string;
|
307
|
guidelinesAcronym: string;
|
308
|
id: number;
|
309
|
name: string;
|
310
|
shortName: string;
|
311
|
usageRules: Rule[];
|
312
|
usageRulesIds: number[];
|
313
|
visibility: string[];
|
314
|
}
|
315
|
|
316
|
export class CustomProperties {
|
317
|
properties: RuleSet[];
|
318
|
}
|
319
|
|
320
|
export class Rule {
|
321
|
configuration: CustomProperties;
|
322
|
description: string;
|
323
|
entity_type: string;
|
324
|
for_cris: boolean;
|
325
|
id: number;
|
326
|
job_type: string;
|
327
|
mandatory: boolean;
|
328
|
name: string;
|
329
|
provider_information: string;
|
330
|
type: string;
|
331
|
weight: number;
|
332
|
}
|