@twin.org/federated-catalogue-models 0.0.1-next.2
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/LICENSE +201 -0
- package/README.md +21 -0
- package/dist/cjs/index.cjs +121 -0
- package/dist/esm/index.mjs +116 -0
- package/dist/types/index.d.ts +41 -0
- package/dist/types/models/ICatalogueBase.d.ts +25 -0
- package/dist/types/models/ICatalogueEntry.d.ts +8 -0
- package/dist/types/models/IComplianceCredential.d.ts +37 -0
- package/dist/types/models/IComplianceEvidence.d.ts +26 -0
- package/dist/types/models/IComplianceVerificationResult.d.ts +19 -0
- package/dist/types/models/ICredential.d.ts +21 -0
- package/dist/types/models/IFederatedCatalogue.d.ts +89 -0
- package/dist/types/models/IVerificationResult.d.ts +13 -0
- package/dist/types/models/api/ICatalogueEntryGetRequest.d.ts +15 -0
- package/dist/types/models/api/ICompliancePresentationRequest.d.ts +9 -0
- package/dist/types/models/api/IDataResourceGetResponse.d.ts +10 -0
- package/dist/types/models/api/IDataResourceListRequest.d.ts +27 -0
- package/dist/types/models/api/IDataResourceListResponse.d.ts +10 -0
- package/dist/types/models/api/IDataSpaceConnectorGetResponse.d.ts +10 -0
- package/dist/types/models/api/IDataSpaceConnectorListRequest.d.ts +27 -0
- package/dist/types/models/api/IDataSpaceConnectorListResponse.d.ts +10 -0
- package/dist/types/models/api/IFederatedCatalogueGetRequest.d.ts +12 -0
- package/dist/types/models/api/IParticipantGetResponse.d.ts +10 -0
- package/dist/types/models/api/IParticipantListRequest.d.ts +31 -0
- package/dist/types/models/api/IParticipantListResponse.d.ts +10 -0
- package/dist/types/models/api/IServiceOfferingGetResponse.d.ts +10 -0
- package/dist/types/models/api/IServiceOfferingListRequest.d.ts +27 -0
- package/dist/types/models/api/IServiceOfferingListResponse.d.ts +10 -0
- package/dist/types/models/data-resource/IDataResourceCredential.d.ts +11 -0
- package/dist/types/models/data-resource/IDataResourceEntry.d.ts +29 -0
- package/dist/types/models/data-resource/IDataResourceList.d.ts +25 -0
- package/dist/types/models/data-space-connector/IDataSpaceConnector.d.ts +77 -0
- package/dist/types/models/data-space-connector/IDataSpaceConnectorCredential.d.ts +11 -0
- package/dist/types/models/data-space-connector/IDataSpaceConnectorEntry.d.ts +18 -0
- package/dist/types/models/data-space-connector/IDataSpaceConnectorList.d.ts +25 -0
- package/dist/types/models/federatedCatalogueContextInstances.d.ts +14 -0
- package/dist/types/models/federatedCatalogueContextType.d.ts +11 -0
- package/dist/types/models/federatedCatalogueContexts.d.ts +13 -0
- package/dist/types/models/federatedCatalogueEntryType.d.ts +7 -0
- package/dist/types/models/federatedCatalogueTypes.d.ts +25 -0
- package/dist/types/models/participant/IParticipantCredential.d.ts +11 -0
- package/dist/types/models/participant/IParticipantEntry.d.ts +12 -0
- package/dist/types/models/participant/IParticipantList.d.ts +25 -0
- package/dist/types/models/service-offering/IServiceOfferingCredential.d.ts +11 -0
- package/dist/types/models/service-offering/IServiceOfferingEntry.d.ts +25 -0
- package/dist/types/models/service-offering/IServiceOfferingList.d.ts +25 -0
- package/dist/types/models/verificationFailureReasons.d.ts +53 -0
- package/docs/changelog.md +12 -0
- package/docs/examples.md +1 -0
- package/docs/overview.md +21 -0
- package/docs/reference/classes/FederatedCatalogueContextInstances.md +29 -0
- package/docs/reference/index.md +57 -0
- package/docs/reference/interfaces/ICatalogueEntryGetRequest.md +37 -0
- package/docs/reference/interfaces/IComplianceCredential.md +103 -0
- package/docs/reference/interfaces/IComplianceEvidence.md +45 -0
- package/docs/reference/interfaces/ICompliancePresentationRequest.md +11 -0
- package/docs/reference/interfaces/IComplianceVerificationResult.md +55 -0
- package/docs/reference/interfaces/ICredential.md +51 -0
- package/docs/reference/interfaces/IDataResourceCredential.md +43 -0
- package/docs/reference/interfaces/IDataResourceEntry.md +131 -0
- package/docs/reference/interfaces/IDataResourceGetResponse.md +11 -0
- package/docs/reference/interfaces/IDataResourceList.md +35 -0
- package/docs/reference/interfaces/IDataResourceListRequest.md +55 -0
- package/docs/reference/interfaces/IDataResourceListResponse.md +11 -0
- package/docs/reference/interfaces/IDataSpaceConnector.md +130 -0
- package/docs/reference/interfaces/IDataSpaceConnectorCredential.md +43 -0
- package/docs/reference/interfaces/IDataSpaceConnectorEntry.md +224 -0
- package/docs/reference/interfaces/IDataSpaceConnectorGetResponse.md +11 -0
- package/docs/reference/interfaces/IDataSpaceConnectorList.md +35 -0
- package/docs/reference/interfaces/IDataSpaceConnectorListRequest.md +55 -0
- package/docs/reference/interfaces/IDataSpaceConnectorListResponse.md +11 -0
- package/docs/reference/interfaces/IFederatedCatalogue.md +313 -0
- package/docs/reference/interfaces/IFederatedCatalogueGetRequest.md +23 -0
- package/docs/reference/interfaces/IParticipantCredential.md +43 -0
- package/docs/reference/interfaces/IParticipantEntry.md +83 -0
- package/docs/reference/interfaces/IParticipantGetResponse.md +11 -0
- package/docs/reference/interfaces/IParticipantList.md +35 -0
- package/docs/reference/interfaces/IParticipantListRequest.md +61 -0
- package/docs/reference/interfaces/IParticipantListResponse.md +11 -0
- package/docs/reference/interfaces/IServiceOfferingCredential.md +43 -0
- package/docs/reference/interfaces/IServiceOfferingEntry.md +119 -0
- package/docs/reference/interfaces/IServiceOfferingGetResponse.md +11 -0
- package/docs/reference/interfaces/IServiceOfferingList.md +35 -0
- package/docs/reference/interfaces/IServiceOfferingListRequest.md +55 -0
- package/docs/reference/interfaces/IServiceOfferingListResponse.md +11 -0
- package/docs/reference/interfaces/IVerificationResult.md +23 -0
- package/docs/reference/type-aliases/FederatedCatalogueContextType.md +5 -0
- package/docs/reference/type-aliases/FederatedCatalogueContexts.md +5 -0
- package/docs/reference/type-aliases/FederatedCatalogueEntryType.md +5 -0
- package/docs/reference/type-aliases/FederatedCatalogueTypes.md +5 -0
- package/docs/reference/type-aliases/ICatalogueEntry.md +5 -0
- package/docs/reference/type-aliases/VerificationFailureReasons.md +5 -0
- package/docs/reference/variables/FederatedCatalogueContexts.md +13 -0
- package/docs/reference/variables/FederatedCatalogueTypes.md +31 -0
- package/docs/reference/variables/VerificationFailureReasons.md +73 -0
- package/package.json +44 -0
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# Interface: IDataSpaceConnectorListRequest
|
|
2
|
+
|
|
3
|
+
Get the a list of the data space connector entries.
|
|
4
|
+
|
|
5
|
+
## Extends
|
|
6
|
+
|
|
7
|
+
- [`IFederatedCatalogueGetRequest`](IFederatedCatalogueGetRequest.md)
|
|
8
|
+
|
|
9
|
+
## Properties
|
|
10
|
+
|
|
11
|
+
### query
|
|
12
|
+
|
|
13
|
+
> **query**: `object`
|
|
14
|
+
|
|
15
|
+
The query parameters.
|
|
16
|
+
|
|
17
|
+
#### id?
|
|
18
|
+
|
|
19
|
+
> `optional` **id**: `string`
|
|
20
|
+
|
|
21
|
+
The id of the Data Space Connector.
|
|
22
|
+
|
|
23
|
+
#### maintainedBy?
|
|
24
|
+
|
|
25
|
+
> `optional` **maintainedBy**: `string`
|
|
26
|
+
|
|
27
|
+
The maintainer
|
|
28
|
+
|
|
29
|
+
#### cursor?
|
|
30
|
+
|
|
31
|
+
> `optional` **cursor**: `string`
|
|
32
|
+
|
|
33
|
+
The optional cursor to get next chunk.
|
|
34
|
+
|
|
35
|
+
#### pageSize?
|
|
36
|
+
|
|
37
|
+
> `optional` **pageSize**: `number`
|
|
38
|
+
|
|
39
|
+
The maximum number of entities in a page.
|
|
40
|
+
|
|
41
|
+
***
|
|
42
|
+
|
|
43
|
+
### headers?
|
|
44
|
+
|
|
45
|
+
> `optional` **headers**: `object`
|
|
46
|
+
|
|
47
|
+
The headers which can be used to determine the response data type.
|
|
48
|
+
|
|
49
|
+
#### accept
|
|
50
|
+
|
|
51
|
+
> **accept**: `"application/json"` \| `"application/ld+json"`
|
|
52
|
+
|
|
53
|
+
#### Inherited from
|
|
54
|
+
|
|
55
|
+
[`IFederatedCatalogueGetRequest`](IFederatedCatalogueGetRequest.md).[`headers`](IFederatedCatalogueGetRequest.md#headers)
|
|
@@ -0,0 +1,313 @@
|
|
|
1
|
+
# Interface: IFederatedCatalogue
|
|
2
|
+
|
|
3
|
+
Interface describing a Federated Catalogue Contract.
|
|
4
|
+
|
|
5
|
+
## Extends
|
|
6
|
+
|
|
7
|
+
- `IComponent`
|
|
8
|
+
|
|
9
|
+
## Methods
|
|
10
|
+
|
|
11
|
+
### registerComplianceCredential()
|
|
12
|
+
|
|
13
|
+
> **registerComplianceCredential**(`credential`): `Promise`\<`string`\>
|
|
14
|
+
|
|
15
|
+
Registers a Participant's compliance Credential to the service.
|
|
16
|
+
|
|
17
|
+
#### Parameters
|
|
18
|
+
|
|
19
|
+
##### credential
|
|
20
|
+
|
|
21
|
+
`string`
|
|
22
|
+
|
|
23
|
+
The credential as JWT.
|
|
24
|
+
|
|
25
|
+
#### Returns
|
|
26
|
+
|
|
27
|
+
`Promise`\<`string`\>
|
|
28
|
+
|
|
29
|
+
The participant Id (usually a DID).
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### queryParticipants()
|
|
34
|
+
|
|
35
|
+
> **queryParticipants**(`participant?`, `legalRegistrationNumber?`, `lrnType?`, `cursor?`, `pageSize?`): `Promise`\<[`IParticipantList`](IParticipantList.md)\>
|
|
36
|
+
|
|
37
|
+
Query the federated catalogue.
|
|
38
|
+
|
|
39
|
+
#### Parameters
|
|
40
|
+
|
|
41
|
+
##### participant?
|
|
42
|
+
|
|
43
|
+
`string`
|
|
44
|
+
|
|
45
|
+
The identity of the participant.
|
|
46
|
+
|
|
47
|
+
##### legalRegistrationNumber?
|
|
48
|
+
|
|
49
|
+
`string`
|
|
50
|
+
|
|
51
|
+
The legal registration number.
|
|
52
|
+
|
|
53
|
+
##### lrnType?
|
|
54
|
+
|
|
55
|
+
`string`
|
|
56
|
+
|
|
57
|
+
The legal registration number type (EORI, VATID, GLEIF, Kenya's PIN, etc.)
|
|
58
|
+
|
|
59
|
+
##### cursor?
|
|
60
|
+
|
|
61
|
+
`string`
|
|
62
|
+
|
|
63
|
+
The cursor to request the next page of entities.
|
|
64
|
+
|
|
65
|
+
##### pageSize?
|
|
66
|
+
|
|
67
|
+
`number`
|
|
68
|
+
|
|
69
|
+
The maximum number of entities in a page.
|
|
70
|
+
|
|
71
|
+
#### Returns
|
|
72
|
+
|
|
73
|
+
`Promise`\<[`IParticipantList`](IParticipantList.md)\>
|
|
74
|
+
|
|
75
|
+
All the entities for the storage matching the conditions,
|
|
76
|
+
and a cursor which can be used to request more entities.
|
|
77
|
+
|
|
78
|
+
#### Throws
|
|
79
|
+
|
|
80
|
+
NotImplementedError if the implementation does not support retrieval.
|
|
81
|
+
|
|
82
|
+
***
|
|
83
|
+
|
|
84
|
+
### registerDataSpaceConnectorCredential()
|
|
85
|
+
|
|
86
|
+
> **registerDataSpaceConnectorCredential**(`credential`): `Promise`\<`string`\>
|
|
87
|
+
|
|
88
|
+
Registers a Data Space Connector to the service.
|
|
89
|
+
|
|
90
|
+
#### Parameters
|
|
91
|
+
|
|
92
|
+
##### credential
|
|
93
|
+
|
|
94
|
+
`string`
|
|
95
|
+
|
|
96
|
+
The credential as JWT.
|
|
97
|
+
|
|
98
|
+
#### Returns
|
|
99
|
+
|
|
100
|
+
`Promise`\<`string`\>
|
|
101
|
+
|
|
102
|
+
The Data Space Connector Id registered.
|
|
103
|
+
|
|
104
|
+
***
|
|
105
|
+
|
|
106
|
+
### queryDataSpaceConnectors()
|
|
107
|
+
|
|
108
|
+
> **queryDataSpaceConnectors**(`id?`, `maintainer?`, `cursor?`, `pageSize?`): `Promise`\<[`IDataSpaceConnectorList`](IDataSpaceConnectorList.md)\>
|
|
109
|
+
|
|
110
|
+
Query the federated catalogue.
|
|
111
|
+
|
|
112
|
+
#### Parameters
|
|
113
|
+
|
|
114
|
+
##### id?
|
|
115
|
+
|
|
116
|
+
`string`
|
|
117
|
+
|
|
118
|
+
Data Space Connector Id.
|
|
119
|
+
|
|
120
|
+
##### maintainer?
|
|
121
|
+
|
|
122
|
+
`string`
|
|
123
|
+
|
|
124
|
+
The identity of the participant maintaining the Data Space Connector.
|
|
125
|
+
|
|
126
|
+
##### cursor?
|
|
127
|
+
|
|
128
|
+
`string`
|
|
129
|
+
|
|
130
|
+
The cursor to request the next page of entities.
|
|
131
|
+
|
|
132
|
+
##### pageSize?
|
|
133
|
+
|
|
134
|
+
`number`
|
|
135
|
+
|
|
136
|
+
The maximum number of entities in a page.
|
|
137
|
+
|
|
138
|
+
#### Returns
|
|
139
|
+
|
|
140
|
+
`Promise`\<[`IDataSpaceConnectorList`](IDataSpaceConnectorList.md)\>
|
|
141
|
+
|
|
142
|
+
All the entities for the storage matching the conditions,
|
|
143
|
+
and a cursor which can be used to request more entities.
|
|
144
|
+
|
|
145
|
+
#### Throws
|
|
146
|
+
|
|
147
|
+
NotImplementedError if the implementation does not support retrieval.
|
|
148
|
+
|
|
149
|
+
***
|
|
150
|
+
|
|
151
|
+
### registerServiceOfferingCredential()
|
|
152
|
+
|
|
153
|
+
> **registerServiceOfferingCredential**(`credential`): `Promise`\<`string`[]\>
|
|
154
|
+
|
|
155
|
+
Registers a service offering Credential to the service.
|
|
156
|
+
|
|
157
|
+
#### Parameters
|
|
158
|
+
|
|
159
|
+
##### credential
|
|
160
|
+
|
|
161
|
+
`string`
|
|
162
|
+
|
|
163
|
+
The credential as JWT.
|
|
164
|
+
|
|
165
|
+
#### Returns
|
|
166
|
+
|
|
167
|
+
`Promise`\<`string`[]\>
|
|
168
|
+
|
|
169
|
+
The Id of the Service Offerings registered.
|
|
170
|
+
|
|
171
|
+
***
|
|
172
|
+
|
|
173
|
+
### registerDataResourceCredential()
|
|
174
|
+
|
|
175
|
+
> **registerDataResourceCredential**(`credential`): `Promise`\<`string`[]\>
|
|
176
|
+
|
|
177
|
+
Registers a data resource Credential to the service.
|
|
178
|
+
|
|
179
|
+
#### Parameters
|
|
180
|
+
|
|
181
|
+
##### credential
|
|
182
|
+
|
|
183
|
+
`string`
|
|
184
|
+
|
|
185
|
+
The credential as JWT.
|
|
186
|
+
|
|
187
|
+
#### Returns
|
|
188
|
+
|
|
189
|
+
`Promise`\<`string`[]\>
|
|
190
|
+
|
|
191
|
+
The Id of the Data Resources registered.
|
|
192
|
+
|
|
193
|
+
***
|
|
194
|
+
|
|
195
|
+
### queryServiceOfferings()
|
|
196
|
+
|
|
197
|
+
> **queryServiceOfferings**(`id?`, `providedBy?`, `cursor?`, `pageSize?`): `Promise`\<[`IServiceOfferingList`](IServiceOfferingList.md)\>
|
|
198
|
+
|
|
199
|
+
Query the federated catalogue.
|
|
200
|
+
|
|
201
|
+
#### Parameters
|
|
202
|
+
|
|
203
|
+
##### id?
|
|
204
|
+
|
|
205
|
+
`string`
|
|
206
|
+
|
|
207
|
+
Service Offering id.
|
|
208
|
+
|
|
209
|
+
##### providedBy?
|
|
210
|
+
|
|
211
|
+
`string`
|
|
212
|
+
|
|
213
|
+
The identity of the participant providing the Offering.
|
|
214
|
+
|
|
215
|
+
##### cursor?
|
|
216
|
+
|
|
217
|
+
`string`
|
|
218
|
+
|
|
219
|
+
The cursor to request the next page of entities.
|
|
220
|
+
|
|
221
|
+
##### pageSize?
|
|
222
|
+
|
|
223
|
+
`number`
|
|
224
|
+
|
|
225
|
+
The maximum number of entities in a page.
|
|
226
|
+
|
|
227
|
+
#### Returns
|
|
228
|
+
|
|
229
|
+
`Promise`\<[`IServiceOfferingList`](IServiceOfferingList.md)\>
|
|
230
|
+
|
|
231
|
+
All the entities for the storage matching the conditions,
|
|
232
|
+
and a cursor which can be used to request more entities.
|
|
233
|
+
|
|
234
|
+
#### Throws
|
|
235
|
+
|
|
236
|
+
NotImplementedError if the implementation does not support retrieval.
|
|
237
|
+
|
|
238
|
+
***
|
|
239
|
+
|
|
240
|
+
### queryDataResources()
|
|
241
|
+
|
|
242
|
+
> **queryDataResources**(`id?`, `producedBy?`, `cursor?`, `pageSize?`): `Promise`\<[`IDataResourceList`](IDataResourceList.md)\>
|
|
243
|
+
|
|
244
|
+
Query the federated catalogue.
|
|
245
|
+
|
|
246
|
+
#### Parameters
|
|
247
|
+
|
|
248
|
+
##### id?
|
|
249
|
+
|
|
250
|
+
`string`
|
|
251
|
+
|
|
252
|
+
The id of the Data Resource.
|
|
253
|
+
|
|
254
|
+
##### producedBy?
|
|
255
|
+
|
|
256
|
+
`string`
|
|
257
|
+
|
|
258
|
+
The identity of the participant producing the data behind the data resource.
|
|
259
|
+
|
|
260
|
+
##### cursor?
|
|
261
|
+
|
|
262
|
+
`string`
|
|
263
|
+
|
|
264
|
+
The cursor to request the next page of entities.
|
|
265
|
+
|
|
266
|
+
##### pageSize?
|
|
267
|
+
|
|
268
|
+
`number`
|
|
269
|
+
|
|
270
|
+
The maximum number of entities in a page.
|
|
271
|
+
|
|
272
|
+
#### Returns
|
|
273
|
+
|
|
274
|
+
`Promise`\<[`IDataResourceList`](IDataResourceList.md)\>
|
|
275
|
+
|
|
276
|
+
All the entities for the storage matching the conditions,
|
|
277
|
+
and a cursor which can be used to request more entities.
|
|
278
|
+
|
|
279
|
+
#### Throws
|
|
280
|
+
|
|
281
|
+
NotImplementedError if the implementation does not support retrieval.
|
|
282
|
+
|
|
283
|
+
***
|
|
284
|
+
|
|
285
|
+
### getEntry()
|
|
286
|
+
|
|
287
|
+
> **getEntry**(`entryType`, `entryId`): `Promise`\<[`ICatalogueEntry`](../type-aliases/ICatalogueEntry.md)\>
|
|
288
|
+
|
|
289
|
+
Returns a Federated Catalogue entry.
|
|
290
|
+
|
|
291
|
+
#### Parameters
|
|
292
|
+
|
|
293
|
+
##### entryType
|
|
294
|
+
|
|
295
|
+
[`FederatedCatalogueEntryType`](../type-aliases/FederatedCatalogueEntryType.md)
|
|
296
|
+
|
|
297
|
+
The type of entry.
|
|
298
|
+
|
|
299
|
+
##### entryId
|
|
300
|
+
|
|
301
|
+
`string`
|
|
302
|
+
|
|
303
|
+
The entry's id.
|
|
304
|
+
|
|
305
|
+
#### Returns
|
|
306
|
+
|
|
307
|
+
`Promise`\<[`ICatalogueEntry`](../type-aliases/ICatalogueEntry.md)\>
|
|
308
|
+
|
|
309
|
+
Catalogue Entry
|
|
310
|
+
|
|
311
|
+
#### Throws
|
|
312
|
+
|
|
313
|
+
NotFoundError if not found.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Interface: IFederatedCatalogueGetRequest
|
|
2
|
+
|
|
3
|
+
Base interface for Federated Catalogue Get Requests
|
|
4
|
+
|
|
5
|
+
## Extended by
|
|
6
|
+
|
|
7
|
+
- [`IParticipantListRequest`](IParticipantListRequest.md)
|
|
8
|
+
- [`IServiceOfferingListRequest`](IServiceOfferingListRequest.md)
|
|
9
|
+
- [`IDataResourceListRequest`](IDataResourceListRequest.md)
|
|
10
|
+
- [`ICatalogueEntryGetRequest`](ICatalogueEntryGetRequest.md)
|
|
11
|
+
- [`IDataSpaceConnectorListRequest`](IDataSpaceConnectorListRequest.md)
|
|
12
|
+
|
|
13
|
+
## Properties
|
|
14
|
+
|
|
15
|
+
### headers?
|
|
16
|
+
|
|
17
|
+
> `optional` **headers**: `object`
|
|
18
|
+
|
|
19
|
+
The headers which can be used to determine the response data type.
|
|
20
|
+
|
|
21
|
+
#### accept
|
|
22
|
+
|
|
23
|
+
> **accept**: `"application/json"` \| `"application/ld+json"`
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# Interface: IParticipantCredential
|
|
2
|
+
|
|
3
|
+
Participant Credential.
|
|
4
|
+
|
|
5
|
+
## Extends
|
|
6
|
+
|
|
7
|
+
- [`ICredential`](ICredential.md)
|
|
8
|
+
|
|
9
|
+
## Properties
|
|
10
|
+
|
|
11
|
+
### id
|
|
12
|
+
|
|
13
|
+
> **id**: `string`
|
|
14
|
+
|
|
15
|
+
The Id of the credential, it is mandatory.
|
|
16
|
+
|
|
17
|
+
#### Inherited from
|
|
18
|
+
|
|
19
|
+
[`ICredential`](ICredential.md).[`id`](ICredential.md#id)
|
|
20
|
+
|
|
21
|
+
***
|
|
22
|
+
|
|
23
|
+
### issuer
|
|
24
|
+
|
|
25
|
+
> **issuer**: `string`
|
|
26
|
+
|
|
27
|
+
The issuer of the credential, it is mandatory.
|
|
28
|
+
|
|
29
|
+
#### Inherited from
|
|
30
|
+
|
|
31
|
+
[`ICredential`](ICredential.md).[`issuer`](ICredential.md#issuer)
|
|
32
|
+
|
|
33
|
+
***
|
|
34
|
+
|
|
35
|
+
### credentialSubject
|
|
36
|
+
|
|
37
|
+
> **credentialSubject**: `IParticipant`
|
|
38
|
+
|
|
39
|
+
The Credential Subject
|
|
40
|
+
|
|
41
|
+
#### Overrides
|
|
42
|
+
|
|
43
|
+
[`ICredential`](ICredential.md).[`credentialSubject`](ICredential.md#credentialsubject)
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
# Interface: IParticipantEntry
|
|
2
|
+
|
|
3
|
+
Interface describing a participant.
|
|
4
|
+
|
|
5
|
+
## Extends
|
|
6
|
+
|
|
7
|
+
- `IParticipant`.`ICatalogueBase`
|
|
8
|
+
|
|
9
|
+
## Indexable
|
|
10
|
+
|
|
11
|
+
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdIdMap` \| `IJsonLdNodeObject` \| `IJsonLdListObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdSetObject` \| `IJsonLdJsonObject` \| `IJsonLdIndexMap` \| `IJsonLdLanguageMap` \| `IJsonLdGraphObject` \| `IJsonLdNodeObject`[] \| `IJsonLdJsonObject`[] \| \{[`key`: `string`]: `string`; \} \| `IJsonLdTypeMap` \| `IJsonLdNodePrimitive`[]
|
|
12
|
+
|
|
13
|
+
## Properties
|
|
14
|
+
|
|
15
|
+
### issuer
|
|
16
|
+
|
|
17
|
+
> **issuer**: `string`
|
|
18
|
+
|
|
19
|
+
The trusted issuer of the compliance credential
|
|
20
|
+
|
|
21
|
+
#### Inherited from
|
|
22
|
+
|
|
23
|
+
`ICatalogueBase.issuer`
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### validFrom
|
|
28
|
+
|
|
29
|
+
> **validFrom**: `string`
|
|
30
|
+
|
|
31
|
+
Valid from (as per W3C VC Data Model v2)
|
|
32
|
+
|
|
33
|
+
#### Inherited from
|
|
34
|
+
|
|
35
|
+
`ICatalogueBase.validFrom`
|
|
36
|
+
|
|
37
|
+
***
|
|
38
|
+
|
|
39
|
+
### validUntil
|
|
40
|
+
|
|
41
|
+
> **validUntil**: `string`
|
|
42
|
+
|
|
43
|
+
Valid until (as per W3C VC Data Model v2)
|
|
44
|
+
|
|
45
|
+
#### Inherited from
|
|
46
|
+
|
|
47
|
+
`ICatalogueBase.validUntil`
|
|
48
|
+
|
|
49
|
+
***
|
|
50
|
+
|
|
51
|
+
### dateCreated
|
|
52
|
+
|
|
53
|
+
> **dateCreated**: `string`
|
|
54
|
+
|
|
55
|
+
The creation date.
|
|
56
|
+
|
|
57
|
+
#### Inherited from
|
|
58
|
+
|
|
59
|
+
`ICatalogueBase.dateCreated`
|
|
60
|
+
|
|
61
|
+
***
|
|
62
|
+
|
|
63
|
+
### evidence
|
|
64
|
+
|
|
65
|
+
> **evidence**: `string`[]
|
|
66
|
+
|
|
67
|
+
The evidences concerning the data resource.
|
|
68
|
+
|
|
69
|
+
#### Inherited from
|
|
70
|
+
|
|
71
|
+
`ICatalogueBase.evidence`
|
|
72
|
+
|
|
73
|
+
***
|
|
74
|
+
|
|
75
|
+
### @context
|
|
76
|
+
|
|
77
|
+
> **@context**: [`FederatedCatalogueContextType`](../type-aliases/FederatedCatalogueContextType.md)
|
|
78
|
+
|
|
79
|
+
The LD Context
|
|
80
|
+
|
|
81
|
+
#### Overrides
|
|
82
|
+
|
|
83
|
+
`IParticipant.@context`
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Interface: IParticipantList
|
|
2
|
+
|
|
3
|
+
Interface describing a participant entry list.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
### @context
|
|
8
|
+
|
|
9
|
+
> **@context**: [`FederatedCatalogueContextType`](../type-aliases/FederatedCatalogueContextType.md)
|
|
10
|
+
|
|
11
|
+
The LD Context.
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### type
|
|
16
|
+
|
|
17
|
+
> **type**: `"ItemList"`
|
|
18
|
+
|
|
19
|
+
The type
|
|
20
|
+
|
|
21
|
+
***
|
|
22
|
+
|
|
23
|
+
### itemListElement
|
|
24
|
+
|
|
25
|
+
> **itemListElement**: `Omit`\<[`IParticipantEntry`](IParticipantEntry.md), `"@context"`\>[]
|
|
26
|
+
|
|
27
|
+
The components of the Collection
|
|
28
|
+
|
|
29
|
+
***
|
|
30
|
+
|
|
31
|
+
### nextItem?
|
|
32
|
+
|
|
33
|
+
> `optional` **nextItem**: `string`
|
|
34
|
+
|
|
35
|
+
Next item cursor.
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# Interface: IParticipantListRequest
|
|
2
|
+
|
|
3
|
+
Get the a list of the participant entries.
|
|
4
|
+
|
|
5
|
+
## Extends
|
|
6
|
+
|
|
7
|
+
- [`IFederatedCatalogueGetRequest`](IFederatedCatalogueGetRequest.md)
|
|
8
|
+
|
|
9
|
+
## Properties
|
|
10
|
+
|
|
11
|
+
### headers?
|
|
12
|
+
|
|
13
|
+
> `optional` **headers**: `object`
|
|
14
|
+
|
|
15
|
+
The headers which can be used to determine the response data type.
|
|
16
|
+
|
|
17
|
+
#### accept
|
|
18
|
+
|
|
19
|
+
> **accept**: `"application/json"` \| `"application/ld+json"`
|
|
20
|
+
|
|
21
|
+
#### Inherited from
|
|
22
|
+
|
|
23
|
+
[`IFederatedCatalogueGetRequest`](IFederatedCatalogueGetRequest.md).[`headers`](IFederatedCatalogueGetRequest.md#headers)
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### query
|
|
28
|
+
|
|
29
|
+
> **query**: `object`
|
|
30
|
+
|
|
31
|
+
The query parameters.
|
|
32
|
+
|
|
33
|
+
#### id?
|
|
34
|
+
|
|
35
|
+
> `optional` **id**: `string`
|
|
36
|
+
|
|
37
|
+
The participant Id.
|
|
38
|
+
|
|
39
|
+
#### registrationNumber?
|
|
40
|
+
|
|
41
|
+
> `optional` **registrationNumber**: `string`
|
|
42
|
+
|
|
43
|
+
The legal registration number.
|
|
44
|
+
|
|
45
|
+
#### lrnType?
|
|
46
|
+
|
|
47
|
+
> `optional` **lrnType**: `string`
|
|
48
|
+
|
|
49
|
+
The legal registration number type.
|
|
50
|
+
|
|
51
|
+
#### cursor?
|
|
52
|
+
|
|
53
|
+
> `optional` **cursor**: `string`
|
|
54
|
+
|
|
55
|
+
The optional cursor to get next chunk.
|
|
56
|
+
|
|
57
|
+
#### pageSize?
|
|
58
|
+
|
|
59
|
+
> `optional` **pageSize**: `number`
|
|
60
|
+
|
|
61
|
+
The maximum number of entities in a page.
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# Interface: IServiceOfferingCredential
|
|
2
|
+
|
|
3
|
+
A Service Offering Credential
|
|
4
|
+
|
|
5
|
+
## Extends
|
|
6
|
+
|
|
7
|
+
- [`ICredential`](ICredential.md)
|
|
8
|
+
|
|
9
|
+
## Properties
|
|
10
|
+
|
|
11
|
+
### id
|
|
12
|
+
|
|
13
|
+
> **id**: `string`
|
|
14
|
+
|
|
15
|
+
The Id of the credential, it is mandatory.
|
|
16
|
+
|
|
17
|
+
#### Inherited from
|
|
18
|
+
|
|
19
|
+
[`ICredential`](ICredential.md).[`id`](ICredential.md#id)
|
|
20
|
+
|
|
21
|
+
***
|
|
22
|
+
|
|
23
|
+
### issuer
|
|
24
|
+
|
|
25
|
+
> **issuer**: `string`
|
|
26
|
+
|
|
27
|
+
The issuer of the credential, it is mandatory.
|
|
28
|
+
|
|
29
|
+
#### Inherited from
|
|
30
|
+
|
|
31
|
+
[`ICredential`](ICredential.md).[`issuer`](ICredential.md#issuer)
|
|
32
|
+
|
|
33
|
+
***
|
|
34
|
+
|
|
35
|
+
### credentialSubject
|
|
36
|
+
|
|
37
|
+
> **credentialSubject**: `IServiceOffering`
|
|
38
|
+
|
|
39
|
+
The Credential Subject
|
|
40
|
+
|
|
41
|
+
#### Overrides
|
|
42
|
+
|
|
43
|
+
[`ICredential`](ICredential.md).[`credentialSubject`](ICredential.md#credentialsubject)
|