@twin.org/dataspace-models 0.0.3-next.15
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 +63 -0
- package/dist/es/entities/transferProcess.js +137 -0
- package/dist/es/entities/transferProcess.js.map +1 -0
- package/dist/es/factories/dataspaceAppFactory.js +9 -0
- package/dist/es/factories/dataspaceAppFactory.js.map +1 -0
- package/dist/es/index.js +58 -0
- package/dist/es/index.js.map +1 -0
- package/dist/es/models/IActivityLogDates.js +4 -0
- package/dist/es/models/IActivityLogDates.js.map +1 -0
- package/dist/es/models/IActivityLogDetails.js +4 -0
- package/dist/es/models/IActivityLogDetails.js.map +1 -0
- package/dist/es/models/IActivityLogEntry.js +2 -0
- package/dist/es/models/IActivityLogEntry.js.map +1 -0
- package/dist/es/models/IActivityLogStatusNotification.js +2 -0
- package/dist/es/models/IActivityLogStatusNotification.js.map +1 -0
- package/dist/es/models/IActivityTask.js +2 -0
- package/dist/es/models/IActivityTask.js.map +1 -0
- package/dist/es/models/IDataAssetItemList.js +2 -0
- package/dist/es/models/IDataAssetItemList.js.map +1 -0
- package/dist/es/models/IDataAssetItemListResult.js +2 -0
- package/dist/es/models/IDataAssetItemListResult.js.map +1 -0
- package/dist/es/models/IEntitySet.js +4 -0
- package/dist/es/models/IEntitySet.js.map +1 -0
- package/dist/es/models/IExecutionPayload.js +2 -0
- package/dist/es/models/IExecutionPayload.js.map +1 -0
- package/dist/es/models/IFilteringQuery.js +2 -0
- package/dist/es/models/IFilteringQuery.js.map +1 -0
- package/dist/es/models/ITaskApp.js +4 -0
- package/dist/es/models/ITaskApp.js.map +1 -0
- package/dist/es/models/activityProcessingStatus.js +29 -0
- package/dist/es/models/activityProcessingStatus.js.map +1 -0
- package/dist/es/models/api/IActivityLogEntryGetRequest.js +4 -0
- package/dist/es/models/api/IActivityLogEntryGetRequest.js.map +1 -0
- package/dist/es/models/api/IActivityLogEntryGetResponse.js +2 -0
- package/dist/es/models/api/IActivityLogEntryGetResponse.js.map +1 -0
- package/dist/es/models/api/IActivityLogStatusNotificationPayload.js +2 -0
- package/dist/es/models/api/IActivityLogStatusNotificationPayload.js.map +1 -0
- package/dist/es/models/api/IActivityLogStatusRequest.js +4 -0
- package/dist/es/models/api/IActivityLogStatusRequest.js.map +1 -0
- package/dist/es/models/api/IActivityStreamNotifyRequest.js +2 -0
- package/dist/es/models/api/IActivityStreamNotifyRequest.js.map +1 -0
- package/dist/es/models/api/IDataAssetEntitiesResponse.js +2 -0
- package/dist/es/models/api/IDataAssetEntitiesResponse.js.map +1 -0
- package/dist/es/models/api/IDataAssetGetEntitiesRequest.js +2 -0
- package/dist/es/models/api/IDataAssetGetEntitiesRequest.js.map +1 -0
- package/dist/es/models/api/IDataAssetQueryRequest.js +2 -0
- package/dist/es/models/api/IDataAssetQueryRequest.js.map +1 -0
- package/dist/es/models/api/control-plane/ICompleteTransferRequest.js +2 -0
- package/dist/es/models/api/control-plane/ICompleteTransferRequest.js.map +1 -0
- package/dist/es/models/api/control-plane/ICompleteTransferResponse.js +2 -0
- package/dist/es/models/api/control-plane/ICompleteTransferResponse.js.map +1 -0
- package/dist/es/models/api/control-plane/IGetTransferProcessRequest.js +2 -0
- package/dist/es/models/api/control-plane/IGetTransferProcessRequest.js.map +1 -0
- package/dist/es/models/api/control-plane/IGetTransferProcessResponse.js +2 -0
- package/dist/es/models/api/control-plane/IGetTransferProcessResponse.js.map +1 -0
- package/dist/es/models/api/control-plane/IRequestTransferRequest.js +2 -0
- package/dist/es/models/api/control-plane/IRequestTransferRequest.js.map +1 -0
- package/dist/es/models/api/control-plane/IRequestTransferResponse.js +2 -0
- package/dist/es/models/api/control-plane/IRequestTransferResponse.js.map +1 -0
- package/dist/es/models/api/control-plane/IStartTransferRequest.js +2 -0
- package/dist/es/models/api/control-plane/IStartTransferRequest.js.map +1 -0
- package/dist/es/models/api/control-plane/IStartTransferResponse.js +2 -0
- package/dist/es/models/api/control-plane/IStartTransferResponse.js.map +1 -0
- package/dist/es/models/api/control-plane/ISuspendTransferRequest.js +2 -0
- package/dist/es/models/api/control-plane/ISuspendTransferRequest.js.map +1 -0
- package/dist/es/models/api/control-plane/ISuspendTransferResponse.js +2 -0
- package/dist/es/models/api/control-plane/ISuspendTransferResponse.js.map +1 -0
- package/dist/es/models/api/control-plane/ITerminateTransferRequest.js +2 -0
- package/dist/es/models/api/control-plane/ITerminateTransferRequest.js.map +1 -0
- package/dist/es/models/api/control-plane/ITerminateTransferResponse.js +2 -0
- package/dist/es/models/api/control-plane/ITerminateTransferResponse.js.map +1 -0
- package/dist/es/models/app/IActivityQuery.js +4 -0
- package/dist/es/models/app/IActivityQuery.js.map +1 -0
- package/dist/es/models/app/IDataAssetEntitiesRequest.js +2 -0
- package/dist/es/models/app/IDataAssetEntitiesRequest.js.map +1 -0
- package/dist/es/models/app/IDataAssetQuery.js +4 -0
- package/dist/es/models/app/IDataAssetQuery.js.map +1 -0
- package/dist/es/models/app/IDataRequest.js +2 -0
- package/dist/es/models/app/IDataRequest.js.map +1 -0
- package/dist/es/models/app/IDataspaceApp.js +2 -0
- package/dist/es/models/app/IDataspaceApp.js.map +1 -0
- package/dist/es/models/app/IQueryDataAssetRequest.js +2 -0
- package/dist/es/models/app/IQueryDataAssetRequest.js.map +1 -0
- package/dist/es/models/app/dataRequestType.js +17 -0
- package/dist/es/models/app/dataRequestType.js.map +1 -0
- package/dist/es/models/control-plane/IDataspaceControlPlaneComponent.js +2 -0
- package/dist/es/models/control-plane/IDataspaceControlPlaneComponent.js.map +1 -0
- package/dist/es/models/control-plane/IDataspaceControlPlaneResolverComponent.js +2 -0
- package/dist/es/models/control-plane/IDataspaceControlPlaneResolverComponent.js.map +1 -0
- package/dist/es/models/control-plane/INegotiationCallback.js +4 -0
- package/dist/es/models/control-plane/INegotiationCallback.js.map +1 -0
- package/dist/es/models/control-plane/ITransferContext.js +2 -0
- package/dist/es/models/control-plane/ITransferContext.js.map +1 -0
- package/dist/es/models/control-plane/ITransferProcess.js +2 -0
- package/dist/es/models/control-plane/ITransferProcess.js.map +1 -0
- package/dist/es/models/control-plane/api/ITransferContextResponse.js +2 -0
- package/dist/es/models/control-plane/api/ITransferContextResponse.js.map +1 -0
- package/dist/es/models/control-plane/transferProcessRole.js +18 -0
- package/dist/es/models/control-plane/transferProcessRole.js.map +1 -0
- package/dist/es/models/data-plane/IDataspaceDataPlaneComponent.js +2 -0
- package/dist/es/models/data-plane/IDataspaceDataPlaneComponent.js.map +1 -0
- package/dist/types/entities/transferProcess.d.ts +71 -0
- package/dist/types/factories/dataspaceAppFactory.d.ts +6 -0
- package/dist/types/index.d.ts +49 -0
- package/dist/types/models/IActivityLogDates.d.ts +13 -0
- package/dist/types/models/IActivityLogDetails.d.ts +29 -0
- package/dist/types/models/IActivityLogEntry.d.ts +40 -0
- package/dist/types/models/IActivityLogStatusNotification.d.ts +31 -0
- package/dist/types/models/IActivityTask.d.ts +14 -0
- package/dist/types/models/IDataAssetItemList.d.ts +21 -0
- package/dist/types/models/IDataAssetItemListResult.d.ts +16 -0
- package/dist/types/models/IEntitySet.d.ts +13 -0
- package/dist/types/models/IExecutionPayload.d.ts +18 -0
- package/dist/types/models/IFilteringQuery.d.ts +18 -0
- package/dist/types/models/ITaskApp.d.ts +13 -0
- package/dist/types/models/activityProcessingStatus.d.ts +29 -0
- package/dist/types/models/api/IActivityLogEntryGetRequest.d.ts +14 -0
- package/dist/types/models/api/IActivityLogEntryGetResponse.d.ts +10 -0
- package/dist/types/models/api/IActivityLogStatusNotificationPayload.d.ts +10 -0
- package/dist/types/models/api/IActivityLogStatusRequest.d.ts +18 -0
- package/dist/types/models/api/IActivityStreamNotifyRequest.d.ts +10 -0
- package/dist/types/models/api/IDataAssetEntitiesResponse.d.ts +17 -0
- package/dist/types/models/api/IDataAssetGetEntitiesRequest.d.ts +43 -0
- package/dist/types/models/api/IDataAssetQueryRequest.d.ts +42 -0
- package/dist/types/models/api/control-plane/ICompleteTransferRequest.d.ts +26 -0
- package/dist/types/models/api/control-plane/ICompleteTransferResponse.d.ts +15 -0
- package/dist/types/models/api/control-plane/IGetTransferProcessRequest.d.ts +21 -0
- package/dist/types/models/api/control-plane/IGetTransferProcessResponse.d.ts +15 -0
- package/dist/types/models/api/control-plane/IRequestTransferRequest.d.ts +17 -0
- package/dist/types/models/api/control-plane/IRequestTransferResponse.d.ts +15 -0
- package/dist/types/models/api/control-plane/IStartTransferRequest.d.ts +26 -0
- package/dist/types/models/api/control-plane/IStartTransferResponse.d.ts +15 -0
- package/dist/types/models/api/control-plane/ISuspendTransferRequest.d.ts +26 -0
- package/dist/types/models/api/control-plane/ISuspendTransferResponse.d.ts +15 -0
- package/dist/types/models/api/control-plane/ITerminateTransferRequest.d.ts +26 -0
- package/dist/types/models/api/control-plane/ITerminateTransferResponse.d.ts +15 -0
- package/dist/types/models/app/IActivityQuery.d.ts +17 -0
- package/dist/types/models/app/IDataAssetEntitiesRequest.d.ts +20 -0
- package/dist/types/models/app/IDataAssetQuery.d.ts +15 -0
- package/dist/types/models/app/IDataRequest.d.ts +6 -0
- package/dist/types/models/app/IDataspaceApp.d.ts +43 -0
- package/dist/types/models/app/IQueryDataAssetRequest.d.ts +20 -0
- package/dist/types/models/app/dataRequestType.d.ts +17 -0
- package/dist/types/models/control-plane/IDataspaceControlPlaneComponent.d.ts +179 -0
- package/dist/types/models/control-plane/IDataspaceControlPlaneResolverComponent.d.ts +55 -0
- package/dist/types/models/control-plane/INegotiationCallback.d.ts +37 -0
- package/dist/types/models/control-plane/ITransferContext.d.ts +52 -0
- package/dist/types/models/control-plane/ITransferProcess.d.ts +81 -0
- package/dist/types/models/control-plane/api/ITransferContextResponse.d.ts +12 -0
- package/dist/types/models/control-plane/transferProcessRole.d.ts +18 -0
- package/dist/types/models/data-plane/IDataspaceDataPlaneComponent.d.ts +65 -0
- package/docs/changelog.md +162 -0
- package/docs/examples.md +1 -0
- package/docs/reference/classes/TransferProcess.md +137 -0
- package/docs/reference/index.md +65 -0
- package/docs/reference/interfaces/IActivityLogDates.md +19 -0
- package/docs/reference/interfaces/IActivityLogDetails.md +55 -0
- package/docs/reference/interfaces/IActivityLogEntry.md +119 -0
- package/docs/reference/interfaces/IActivityLogEntryGetRequest.md +17 -0
- package/docs/reference/interfaces/IActivityLogEntryGetResponse.md +11 -0
- package/docs/reference/interfaces/IActivityLogStatusNotification.md +45 -0
- package/docs/reference/interfaces/IActivityLogStatusNotificationPayload.md +11 -0
- package/docs/reference/interfaces/IActivityLogStatusRequest.md +23 -0
- package/docs/reference/interfaces/IActivityQuery.md +27 -0
- package/docs/reference/interfaces/IActivityStreamNotifyRequest.md +11 -0
- package/docs/reference/interfaces/IActivityTask.md +19 -0
- package/docs/reference/interfaces/ICompleteTransferRequest.md +37 -0
- package/docs/reference/interfaces/ICompleteTransferResponse.md +19 -0
- package/docs/reference/interfaces/IDataAssetEntitiesRequest.md +27 -0
- package/docs/reference/interfaces/IDataAssetEntitiesResponse.md +23 -0
- package/docs/reference/interfaces/IDataAssetGetEntitiesRequest.md +61 -0
- package/docs/reference/interfaces/IDataAssetItemList.md +28 -0
- package/docs/reference/interfaces/IDataAssetItemListResult.md +21 -0
- package/docs/reference/interfaces/IDataAssetQuery.md +19 -0
- package/docs/reference/interfaces/IDataAssetQueryRequest.md +58 -0
- package/docs/reference/interfaces/IDataspaceApp.md +111 -0
- package/docs/reference/interfaces/IDataspaceControlPlaneComponent.md +402 -0
- package/docs/reference/interfaces/IDataspaceControlPlaneResolverComponent.md +113 -0
- package/docs/reference/interfaces/IDataspaceDataPlaneComponent.md +200 -0
- package/docs/reference/interfaces/IEntitySet.md +19 -0
- package/docs/reference/interfaces/IExecutionPayload.md +27 -0
- package/docs/reference/interfaces/IFilteringQuery.md +27 -0
- package/docs/reference/interfaces/IGetTransferProcessRequest.md +29 -0
- package/docs/reference/interfaces/IGetTransferProcessResponse.md +19 -0
- package/docs/reference/interfaces/INegotiationCallback.md +106 -0
- package/docs/reference/interfaces/IQueryDataAssetRequest.md +27 -0
- package/docs/reference/interfaces/IRequestTransferRequest.md +23 -0
- package/docs/reference/interfaces/IRequestTransferResponse.md +19 -0
- package/docs/reference/interfaces/IStartTransferRequest.md +37 -0
- package/docs/reference/interfaces/IStartTransferResponse.md +19 -0
- package/docs/reference/interfaces/ISuspendTransferRequest.md +37 -0
- package/docs/reference/interfaces/ISuspendTransferResponse.md +19 -0
- package/docs/reference/interfaces/ITaskApp.md +19 -0
- package/docs/reference/interfaces/ITerminateTransferRequest.md +37 -0
- package/docs/reference/interfaces/ITerminateTransferResponse.md +19 -0
- package/docs/reference/interfaces/ITransferContext.md +84 -0
- package/docs/reference/interfaces/ITransferContextResponse.md +13 -0
- package/docs/reference/interfaces/ITransferProcess.md +137 -0
- package/docs/reference/type-aliases/ActivityProcessingStatus.md +5 -0
- package/docs/reference/type-aliases/DataRequestType.md +5 -0
- package/docs/reference/type-aliases/IDataRequest.md +5 -0
- package/docs/reference/type-aliases/TransferProcessRole.md +5 -0
- package/docs/reference/variables/ActivityProcessingStatus.md +37 -0
- package/docs/reference/variables/DataRequestType.md +19 -0
- package/docs/reference/variables/DataspaceAppFactory.md +5 -0
- package/docs/reference/variables/TransferProcessRole.md +20 -0
- package/package.json +62 -0
|
@@ -0,0 +1,402 @@
|
|
|
1
|
+
# Interface: IDataspaceControlPlaneComponent
|
|
2
|
+
|
|
3
|
+
Dataspace Control Plane Component interface.
|
|
4
|
+
Implements Eclipse Dataspace Protocol (DSP) specifications:
|
|
5
|
+
- Contract Negotiation Protocol
|
|
6
|
+
- Transfer Process Protocol
|
|
7
|
+
|
|
8
|
+
This component acts as the Control Plane for contract negotiation and
|
|
9
|
+
data transfers between nodes in a dataspace.
|
|
10
|
+
|
|
11
|
+
DSP 2025-1 Specification: https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/
|
|
12
|
+
|
|
13
|
+
## Extends
|
|
14
|
+
|
|
15
|
+
- `IComponent`
|
|
16
|
+
|
|
17
|
+
## Methods
|
|
18
|
+
|
|
19
|
+
### registerNegotiationCallback()
|
|
20
|
+
|
|
21
|
+
> **registerNegotiationCallback**(`key`, `callback`): `void`
|
|
22
|
+
|
|
23
|
+
Register a callback to receive negotiation state change notifications.
|
|
24
|
+
Upstream modules (e.g. supply-chain) register their callback here
|
|
25
|
+
to be notified when negotiations complete, fail, or change state.
|
|
26
|
+
|
|
27
|
+
#### Parameters
|
|
28
|
+
|
|
29
|
+
##### key
|
|
30
|
+
|
|
31
|
+
`string`
|
|
32
|
+
|
|
33
|
+
A unique key identifying this callback registration.
|
|
34
|
+
|
|
35
|
+
##### callback
|
|
36
|
+
|
|
37
|
+
[`INegotiationCallback`](INegotiationCallback.md)
|
|
38
|
+
|
|
39
|
+
The callback interface to register.
|
|
40
|
+
|
|
41
|
+
#### Returns
|
|
42
|
+
|
|
43
|
+
`void`
|
|
44
|
+
|
|
45
|
+
***
|
|
46
|
+
|
|
47
|
+
### unregisterNegotiationCallback()
|
|
48
|
+
|
|
49
|
+
> **unregisterNegotiationCallback**(`key`): `void`
|
|
50
|
+
|
|
51
|
+
Unregister a previously registered negotiation callback.
|
|
52
|
+
|
|
53
|
+
#### Parameters
|
|
54
|
+
|
|
55
|
+
##### key
|
|
56
|
+
|
|
57
|
+
`string`
|
|
58
|
+
|
|
59
|
+
The key used when registering the callback.
|
|
60
|
+
|
|
61
|
+
#### Returns
|
|
62
|
+
|
|
63
|
+
`void`
|
|
64
|
+
|
|
65
|
+
***
|
|
66
|
+
|
|
67
|
+
### negotiateAgreement()
|
|
68
|
+
|
|
69
|
+
> **negotiateAgreement**(`offerId`, `providerEndpoint`, `publicOrigin`, `trustPayload`): `Promise`\<\{ `negotiationId`: `string`; \}\>
|
|
70
|
+
|
|
71
|
+
Negotiate a contract agreement with a provider.
|
|
72
|
+
Implements DSP Contract Negotiation Protocol.
|
|
73
|
+
|
|
74
|
+
Returns immediately with a negotiationId. The caller is notified
|
|
75
|
+
via the registered INegotiationCallback when the negotiation completes.
|
|
76
|
+
The negotiation follows DSP state machine: REQUESTED → OFFERED → AGREED → VERIFIED → FINALIZED.
|
|
77
|
+
|
|
78
|
+
This method has NO REST client implementation — it is only accessible via ComponentFactory.get().
|
|
79
|
+
|
|
80
|
+
DSP Spec: https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#negotiation-protocol
|
|
81
|
+
|
|
82
|
+
#### Parameters
|
|
83
|
+
|
|
84
|
+
##### offerId
|
|
85
|
+
|
|
86
|
+
`string`
|
|
87
|
+
|
|
88
|
+
The offer ID from the provider's catalog.
|
|
89
|
+
|
|
90
|
+
##### providerEndpoint
|
|
91
|
+
|
|
92
|
+
`string`
|
|
93
|
+
|
|
94
|
+
The provider's contract negotiation endpoint URL.
|
|
95
|
+
|
|
96
|
+
##### publicOrigin
|
|
97
|
+
|
|
98
|
+
`string`
|
|
99
|
+
|
|
100
|
+
The public origin URL of this control plane (for callbacks).
|
|
101
|
+
|
|
102
|
+
##### trustPayload
|
|
103
|
+
|
|
104
|
+
`unknown`
|
|
105
|
+
|
|
106
|
+
Trust payload for authentication (JWT or Verifiable Credential).
|
|
107
|
+
|
|
108
|
+
#### Returns
|
|
109
|
+
|
|
110
|
+
`Promise`\<\{ `negotiationId`: `string`; \}\>
|
|
111
|
+
|
|
112
|
+
The negotiation ID for tracking. Use registered callback for completion.
|
|
113
|
+
|
|
114
|
+
***
|
|
115
|
+
|
|
116
|
+
### getNegotiation()
|
|
117
|
+
|
|
118
|
+
> **getNegotiation**(`negotiationId`, `trustPayload`): `Promise`\<`IDataspaceProtocolContractNegotiation` \| `IDataspaceProtocolContractNegotiationError`\>
|
|
119
|
+
|
|
120
|
+
Get the current state of a contract negotiation.
|
|
121
|
+
Implements DSP Contract Negotiation Protocol.
|
|
122
|
+
|
|
123
|
+
Queries the current state of an ongoing or completed negotiation.
|
|
124
|
+
Use this to monitor negotiation progress.
|
|
125
|
+
Returns the DSP-compliant negotiation state or error.
|
|
126
|
+
|
|
127
|
+
DSP Spec: https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#negotiation-protocol
|
|
128
|
+
|
|
129
|
+
#### Parameters
|
|
130
|
+
|
|
131
|
+
##### negotiationId
|
|
132
|
+
|
|
133
|
+
`string`
|
|
134
|
+
|
|
135
|
+
The unique identifier of the negotiation.
|
|
136
|
+
|
|
137
|
+
##### trustPayload
|
|
138
|
+
|
|
139
|
+
`unknown`
|
|
140
|
+
|
|
141
|
+
Trust payload for authentication.
|
|
142
|
+
|
|
143
|
+
#### Returns
|
|
144
|
+
|
|
145
|
+
`Promise`\<`IDataspaceProtocolContractNegotiation` \| `IDataspaceProtocolContractNegotiationError`\>
|
|
146
|
+
|
|
147
|
+
DSP ContractNegotiation with current state, or error.
|
|
148
|
+
|
|
149
|
+
***
|
|
150
|
+
|
|
151
|
+
### getNegotiationHistory()
|
|
152
|
+
|
|
153
|
+
> **getNegotiationHistory**(`state`, `cursor`, `trustPayload`): `Promise`\<\{ `negotiations`: `object`[]; `cursor?`: `string`; `count`: `number`; \}\>
|
|
154
|
+
|
|
155
|
+
Get negotiation history.
|
|
156
|
+
Queries past contract negotiations for audit trails and debugging.
|
|
157
|
+
|
|
158
|
+
Returns a list of past negotiations with their states and metadata.
|
|
159
|
+
Supports optional filtering by state and pagination via cursor.
|
|
160
|
+
|
|
161
|
+
#### Parameters
|
|
162
|
+
|
|
163
|
+
##### state
|
|
164
|
+
|
|
165
|
+
Optional filter by negotiation state (e.g., "FINALIZED", "TERMINATED").
|
|
166
|
+
|
|
167
|
+
`string` | `undefined`
|
|
168
|
+
|
|
169
|
+
##### cursor
|
|
170
|
+
|
|
171
|
+
Optional pagination cursor for fetching next page.
|
|
172
|
+
|
|
173
|
+
`string` | `undefined`
|
|
174
|
+
|
|
175
|
+
##### trustPayload
|
|
176
|
+
|
|
177
|
+
`unknown`
|
|
178
|
+
|
|
179
|
+
Trust payload for authentication.
|
|
180
|
+
|
|
181
|
+
#### Returns
|
|
182
|
+
|
|
183
|
+
`Promise`\<\{ `negotiations`: `object`[]; `cursor?`: `string`; `count`: `number`; \}\>
|
|
184
|
+
|
|
185
|
+
List of negotiation history entries with pagination cursor.
|
|
186
|
+
|
|
187
|
+
***
|
|
188
|
+
|
|
189
|
+
### requestTransfer()
|
|
190
|
+
|
|
191
|
+
> **requestTransfer**(`request`, `trustPayload`): `Promise`\<`IDataspaceProtocolTransferProcess` \| `IDataspaceProtocolTransferError`\>
|
|
192
|
+
|
|
193
|
+
Request a Transfer Process.
|
|
194
|
+
Creates a new Transfer Process in REQUESTED state.
|
|
195
|
+
|
|
196
|
+
Role Performed: Provider
|
|
197
|
+
Called by: Consumer when it wants to request a new Transfer Process
|
|
198
|
+
|
|
199
|
+
DSP Spec: https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#transfer-request-message
|
|
200
|
+
|
|
201
|
+
#### Parameters
|
|
202
|
+
|
|
203
|
+
##### request
|
|
204
|
+
|
|
205
|
+
`IDataspaceProtocolTransferRequestMessage`
|
|
206
|
+
|
|
207
|
+
Transfer request message (DSP compliant) containing agreementId,
|
|
208
|
+
consumerPid, callbackAddress, and format.
|
|
209
|
+
|
|
210
|
+
##### trustPayload
|
|
211
|
+
|
|
212
|
+
`unknown`
|
|
213
|
+
|
|
214
|
+
Trust payload containing authorization information (JWT, VC, etc.).
|
|
215
|
+
The consumer must prove their identity by providing a valid trust payload.
|
|
216
|
+
|
|
217
|
+
#### Returns
|
|
218
|
+
|
|
219
|
+
`Promise`\<`IDataspaceProtocolTransferProcess` \| `IDataspaceProtocolTransferError`\>
|
|
220
|
+
|
|
221
|
+
Transfer Process (DSP compliant) with state REQUESTED, including
|
|
222
|
+
both consumerPid and providerPid, or TransferError if the operation fails.
|
|
223
|
+
|
|
224
|
+
***
|
|
225
|
+
|
|
226
|
+
### startTransfer()
|
|
227
|
+
|
|
228
|
+
> **startTransfer**(`message`, `publicOrigin`, `trustPayload`): `Promise`\<`IDataspaceProtocolTransferError` \| `IDataspaceProtocolTransferStartMessage`\>
|
|
229
|
+
|
|
230
|
+
Start a Transfer Process.
|
|
231
|
+
Transitions Transfer Process from REQUESTED to STARTED state, or resumes from SUSPENDED state.
|
|
232
|
+
|
|
233
|
+
Role Performed: Provider / Consumer
|
|
234
|
+
Called by: Provider when a Transfer Process starts, or Consumer to attempt to start a Transfer Process after it has been suspended
|
|
235
|
+
|
|
236
|
+
DSP Spec: https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#transfer-start-message
|
|
237
|
+
|
|
238
|
+
#### Parameters
|
|
239
|
+
|
|
240
|
+
##### message
|
|
241
|
+
|
|
242
|
+
`IDataspaceProtocolTransferStartMessage`
|
|
243
|
+
|
|
244
|
+
Transfer start message (DSP compliant).
|
|
245
|
+
|
|
246
|
+
##### publicOrigin
|
|
247
|
+
|
|
248
|
+
`string`
|
|
249
|
+
|
|
250
|
+
The public origin URL of this service (used to construct data plane endpoint for PULL transfers).
|
|
251
|
+
|
|
252
|
+
##### trustPayload
|
|
253
|
+
|
|
254
|
+
`unknown`
|
|
255
|
+
|
|
256
|
+
Trust payload containing authorization information (JWT, VC, etc.).
|
|
257
|
+
|
|
258
|
+
#### Returns
|
|
259
|
+
|
|
260
|
+
`Promise`\<`IDataspaceProtocolTransferError` \| `IDataspaceProtocolTransferStartMessage`\>
|
|
261
|
+
|
|
262
|
+
Transfer Start Message (DSP compliant) with dataAddress for PULL transfers, or TransferError if the operation fails.
|
|
263
|
+
|
|
264
|
+
***
|
|
265
|
+
|
|
266
|
+
### completeTransfer()
|
|
267
|
+
|
|
268
|
+
> **completeTransfer**(`message`, `trustPayload`): `Promise`\<`IDataspaceProtocolTransferProcess` \| `IDataspaceProtocolTransferError`\>
|
|
269
|
+
|
|
270
|
+
Complete a Transfer Process.
|
|
271
|
+
Transitions Transfer Process to COMPLETED state.
|
|
272
|
+
|
|
273
|
+
Role Performed: Consumer / Provider
|
|
274
|
+
Called by: Provider or Consumer when a Transfer process is completed on their side
|
|
275
|
+
|
|
276
|
+
DSP Spec: https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#transfer-completion-message
|
|
277
|
+
|
|
278
|
+
#### Parameters
|
|
279
|
+
|
|
280
|
+
##### message
|
|
281
|
+
|
|
282
|
+
`IDataspaceProtocolTransferCompletionMessage`
|
|
283
|
+
|
|
284
|
+
Transfer completion message (DSP compliant).
|
|
285
|
+
|
|
286
|
+
##### trustPayload
|
|
287
|
+
|
|
288
|
+
`unknown`
|
|
289
|
+
|
|
290
|
+
Trust payload containing authorization information (JWT, VC, etc.).
|
|
291
|
+
|
|
292
|
+
#### Returns
|
|
293
|
+
|
|
294
|
+
`Promise`\<`IDataspaceProtocolTransferProcess` \| `IDataspaceProtocolTransferError`\>
|
|
295
|
+
|
|
296
|
+
Transfer Process (DSP compliant) with state COMPLETED, or TransferError if the operation fails.
|
|
297
|
+
|
|
298
|
+
***
|
|
299
|
+
|
|
300
|
+
### suspendTransfer()
|
|
301
|
+
|
|
302
|
+
> **suspendTransfer**(`message`, `trustPayload`): `Promise`\<`IDataspaceProtocolTransferProcess` \| `IDataspaceProtocolTransferError`\>
|
|
303
|
+
|
|
304
|
+
Suspend a Transfer Process.
|
|
305
|
+
Transitions Transfer Process to SUSPENDED state.
|
|
306
|
+
|
|
307
|
+
Role Performed: Consumer / Provider
|
|
308
|
+
Called by: Provider or Consumer when a Transfer process needs to be temporarily suspended on their side
|
|
309
|
+
|
|
310
|
+
DSP Spec: https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#transfer-suspension-message
|
|
311
|
+
|
|
312
|
+
#### Parameters
|
|
313
|
+
|
|
314
|
+
##### message
|
|
315
|
+
|
|
316
|
+
`IDataspaceProtocolTransferSuspensionMessage`
|
|
317
|
+
|
|
318
|
+
Transfer suspension message (DSP compliant) with optional reason.
|
|
319
|
+
|
|
320
|
+
##### trustPayload
|
|
321
|
+
|
|
322
|
+
`unknown`
|
|
323
|
+
|
|
324
|
+
Trust payload containing authorization information (JWT, VC, etc.).
|
|
325
|
+
|
|
326
|
+
#### Returns
|
|
327
|
+
|
|
328
|
+
`Promise`\<`IDataspaceProtocolTransferProcess` \| `IDataspaceProtocolTransferError`\>
|
|
329
|
+
|
|
330
|
+
Transfer Process (DSP compliant) with state SUSPENDED, or TransferError if the operation fails.
|
|
331
|
+
|
|
332
|
+
***
|
|
333
|
+
|
|
334
|
+
### terminateTransfer()
|
|
335
|
+
|
|
336
|
+
> **terminateTransfer**(`message`, `trustPayload`): `Promise`\<`IDataspaceProtocolTransferProcess` \| `IDataspaceProtocolTransferError`\>
|
|
337
|
+
|
|
338
|
+
Terminate a Transfer Process.
|
|
339
|
+
Transitions Transfer Process to TERMINATED state.
|
|
340
|
+
|
|
341
|
+
Role Performed: Consumer / Provider
|
|
342
|
+
Called by: Provider or Consumer when a Transfer process needs to be terminated on their side (e.g., due to error)
|
|
343
|
+
|
|
344
|
+
DSP Spec: https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#transfer-termination-message
|
|
345
|
+
|
|
346
|
+
#### Parameters
|
|
347
|
+
|
|
348
|
+
##### message
|
|
349
|
+
|
|
350
|
+
`IDataspaceProtocolTransferTerminationMessage`
|
|
351
|
+
|
|
352
|
+
Transfer termination message (DSP compliant) with optional reason.
|
|
353
|
+
|
|
354
|
+
##### trustPayload
|
|
355
|
+
|
|
356
|
+
`unknown`
|
|
357
|
+
|
|
358
|
+
Trust payload containing authorization information (JWT, VC, etc.).
|
|
359
|
+
|
|
360
|
+
#### Returns
|
|
361
|
+
|
|
362
|
+
`Promise`\<`IDataspaceProtocolTransferProcess` \| `IDataspaceProtocolTransferError`\>
|
|
363
|
+
|
|
364
|
+
Transfer Process (DSP compliant) with state TERMINATED, or TransferError if the operation fails.
|
|
365
|
+
|
|
366
|
+
***
|
|
367
|
+
|
|
368
|
+
### getTransferProcess()
|
|
369
|
+
|
|
370
|
+
> **getTransferProcess**(`pid`, `trustPayload`): `Promise`\<`IDataspaceProtocolTransferProcess` \| `IDataspaceProtocolTransferError`\>
|
|
371
|
+
|
|
372
|
+
Get Transfer Process State.
|
|
373
|
+
Query the current state of a Transfer Process.
|
|
374
|
+
|
|
375
|
+
Role Performed: Consumer / Provider
|
|
376
|
+
Called by: Provider or Consumer when they need to check the status of a Transfer process on their side
|
|
377
|
+
|
|
378
|
+
Supports role-agnostic lookup using either consumerPid or providerPid.
|
|
379
|
+
The service will automatically detect which role the caller is acting as
|
|
380
|
+
(Consumer or Provider) based on the PID provided.
|
|
381
|
+
|
|
382
|
+
DSP Spec: https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#ack-transfer-process
|
|
383
|
+
|
|
384
|
+
#### Parameters
|
|
385
|
+
|
|
386
|
+
##### pid
|
|
387
|
+
|
|
388
|
+
`string`
|
|
389
|
+
|
|
390
|
+
The Process ID (consumerPid or providerPid) used to identify the transfer.
|
|
391
|
+
|
|
392
|
+
##### trustPayload
|
|
393
|
+
|
|
394
|
+
`unknown`
|
|
395
|
+
|
|
396
|
+
Trust payload containing authorization information (JWT, VC, etc.).
|
|
397
|
+
|
|
398
|
+
#### Returns
|
|
399
|
+
|
|
400
|
+
`Promise`\<`IDataspaceProtocolTransferProcess` \| `IDataspaceProtocolTransferError`\>
|
|
401
|
+
|
|
402
|
+
Transfer Process (DSP compliant) with current state, or TransferError if the operation fails.
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
# Interface: IDataspaceControlPlaneResolverComponent
|
|
2
|
+
|
|
3
|
+
Dataspace Control Plane Resolver Component interface.
|
|
4
|
+
Provides methods for resolving transfer process information.
|
|
5
|
+
Used by dataspace-data-plane to retrieve dataset and policy information for data access.
|
|
6
|
+
|
|
7
|
+
These methods are NOT part of the Eclipse Dataspace Protocol specification.
|
|
8
|
+
They are TWIN-specific extensions for internal service communication.
|
|
9
|
+
|
|
10
|
+
IMPORTANT: This interface has NO REST client implementation - methods are only
|
|
11
|
+
accessible via ComponentFactory.get() for local, in-process service access.
|
|
12
|
+
|
|
13
|
+
## Extends
|
|
14
|
+
|
|
15
|
+
- `IComponent`
|
|
16
|
+
|
|
17
|
+
## Methods
|
|
18
|
+
|
|
19
|
+
### resolveConsumerPid()
|
|
20
|
+
|
|
21
|
+
> **resolveConsumerPid**(`consumerPid`, `trustPayload`): `Promise`\<[`ITransferContext`](ITransferContext.md)\>
|
|
22
|
+
|
|
23
|
+
Resolve consumerPid to Transfer Context.
|
|
24
|
+
Returns Transfer Context with Agreement, datasetId, and Transfer Process metadata.
|
|
25
|
+
Validates that Agreement assigner matches current organization ID for security.
|
|
26
|
+
This method is called by the dataspace-data-plane to resolve a consumerPid
|
|
27
|
+
to the corresponding Agreement and dataset information for data retrieval (pull mode).
|
|
28
|
+
|
|
29
|
+
This method is only available via ComponentFactory.get().
|
|
30
|
+
There is no REST client implementation.
|
|
31
|
+
|
|
32
|
+
#### Parameters
|
|
33
|
+
|
|
34
|
+
##### consumerPid
|
|
35
|
+
|
|
36
|
+
`string`
|
|
37
|
+
|
|
38
|
+
Consumer Process ID from the transfer request.
|
|
39
|
+
|
|
40
|
+
##### trustPayload
|
|
41
|
+
|
|
42
|
+
`unknown`
|
|
43
|
+
|
|
44
|
+
Trust payload containing authorization information (JWT, VC, etc.).
|
|
45
|
+
The trust service handles verification and extracts identity and token.
|
|
46
|
+
|
|
47
|
+
#### Returns
|
|
48
|
+
|
|
49
|
+
`Promise`\<[`ITransferContext`](ITransferContext.md)\>
|
|
50
|
+
|
|
51
|
+
Transfer Context with Agreement, datasetId, and Transfer Process metadata.
|
|
52
|
+
|
|
53
|
+
#### Throws
|
|
54
|
+
|
|
55
|
+
NotFoundError if Transfer Process not found.
|
|
56
|
+
|
|
57
|
+
#### Throws
|
|
58
|
+
|
|
59
|
+
UnauthorizedError if trust verification fails or Agreement assigner doesn't match current organization.
|
|
60
|
+
|
|
61
|
+
#### Throws
|
|
62
|
+
|
|
63
|
+
GeneralError if Transfer Process is terminated or Agreement lookup fails.
|
|
64
|
+
|
|
65
|
+
***
|
|
66
|
+
|
|
67
|
+
### resolveProviderPid()
|
|
68
|
+
|
|
69
|
+
> **resolveProviderPid**(`providerPid`, `trustPayload`): `Promise`\<[`ITransferContext`](ITransferContext.md)\>
|
|
70
|
+
|
|
71
|
+
Resolve providerPid to Transfer Context.
|
|
72
|
+
Returns Transfer Context with Agreement, datasetId, and Transfer Process metadata.
|
|
73
|
+
Used for push mode data transfer where Provider needs to push data to Consumer via Activity Stream.
|
|
74
|
+
Validates that Agreement assigner matches current organization ID and assignee matches expected consumer for security.
|
|
75
|
+
|
|
76
|
+
This method is called by the Provider's dataspace-data-plane when it receives an Activity
|
|
77
|
+
referencing a providerPid and needs to resolve it to get Agreement, dataset, and consumer's dataAddress.
|
|
78
|
+
|
|
79
|
+
This method is only available via ComponentFactory.get().
|
|
80
|
+
There is no REST client implementation.
|
|
81
|
+
|
|
82
|
+
#### Parameters
|
|
83
|
+
|
|
84
|
+
##### providerPid
|
|
85
|
+
|
|
86
|
+
`string`
|
|
87
|
+
|
|
88
|
+
Provider Process ID from the transfer process.
|
|
89
|
+
|
|
90
|
+
##### trustPayload
|
|
91
|
+
|
|
92
|
+
`unknown`
|
|
93
|
+
|
|
94
|
+
Trust payload containing authorization information (JWT, VC, etc.).
|
|
95
|
+
The trust service handles verification and extracts identity and token.
|
|
96
|
+
|
|
97
|
+
#### Returns
|
|
98
|
+
|
|
99
|
+
`Promise`\<[`ITransferContext`](ITransferContext.md)\>
|
|
100
|
+
|
|
101
|
+
Transfer Context with Agreement, datasetId, and Transfer Process metadata.
|
|
102
|
+
|
|
103
|
+
#### Throws
|
|
104
|
+
|
|
105
|
+
NotFoundError if Transfer Process not found.
|
|
106
|
+
|
|
107
|
+
#### Throws
|
|
108
|
+
|
|
109
|
+
UnauthorizedError if trust verification fails, Agreement assigner doesn't match current organization, or assignee doesn't match expected consumer.
|
|
110
|
+
|
|
111
|
+
#### Throws
|
|
112
|
+
|
|
113
|
+
GeneralError if Transfer Process is terminated or Agreement lookup fails.
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
# Interface: IDataspaceDataPlaneComponent
|
|
2
|
+
|
|
3
|
+
Dataspace Data Plane component interface.
|
|
4
|
+
Implements the Data Plane functionality for the Eclipse Dataspace Protocol.
|
|
5
|
+
|
|
6
|
+
## Extends
|
|
7
|
+
|
|
8
|
+
- `IComponent`
|
|
9
|
+
|
|
10
|
+
## Methods
|
|
11
|
+
|
|
12
|
+
### notifyActivity()
|
|
13
|
+
|
|
14
|
+
> **notifyActivity**(`activity`): `Promise`\<`string`\>
|
|
15
|
+
|
|
16
|
+
Notify an Activity to the Dataspace Data Plane Activity Stream.
|
|
17
|
+
|
|
18
|
+
#### Parameters
|
|
19
|
+
|
|
20
|
+
##### activity
|
|
21
|
+
|
|
22
|
+
`IActivityStreamsActivity`
|
|
23
|
+
|
|
24
|
+
The Activity notified.
|
|
25
|
+
|
|
26
|
+
#### Returns
|
|
27
|
+
|
|
28
|
+
`Promise`\<`string`\>
|
|
29
|
+
|
|
30
|
+
The Activity's identifier.
|
|
31
|
+
|
|
32
|
+
***
|
|
33
|
+
|
|
34
|
+
### subscribeToActivityLog()
|
|
35
|
+
|
|
36
|
+
> **subscribeToActivityLog**(`callback`, `subscriptionId?`): `Promise`\<`string`\>
|
|
37
|
+
|
|
38
|
+
Subscribes to the activity log.
|
|
39
|
+
|
|
40
|
+
#### Parameters
|
|
41
|
+
|
|
42
|
+
##### callback
|
|
43
|
+
|
|
44
|
+
(`notification`) => `Promise`\<`void`\>
|
|
45
|
+
|
|
46
|
+
The callback to be called when Activity Log is called.
|
|
47
|
+
|
|
48
|
+
##### subscriptionId?
|
|
49
|
+
|
|
50
|
+
`string`
|
|
51
|
+
|
|
52
|
+
The subscription Id.
|
|
53
|
+
|
|
54
|
+
#### Returns
|
|
55
|
+
|
|
56
|
+
`Promise`\<`string`\>
|
|
57
|
+
|
|
58
|
+
The subscription Id.
|
|
59
|
+
|
|
60
|
+
***
|
|
61
|
+
|
|
62
|
+
### unSubscribeToActivityLog()
|
|
63
|
+
|
|
64
|
+
> **unSubscribeToActivityLog**(`subscriptionId`): `Promise`\<`void`\>
|
|
65
|
+
|
|
66
|
+
Unsubscribes to the activity log.
|
|
67
|
+
|
|
68
|
+
#### Parameters
|
|
69
|
+
|
|
70
|
+
##### subscriptionId
|
|
71
|
+
|
|
72
|
+
`string`
|
|
73
|
+
|
|
74
|
+
The subscription Id.
|
|
75
|
+
|
|
76
|
+
#### Returns
|
|
77
|
+
|
|
78
|
+
`Promise`\<`void`\>
|
|
79
|
+
|
|
80
|
+
The subscription Id.
|
|
81
|
+
|
|
82
|
+
***
|
|
83
|
+
|
|
84
|
+
### getActivityLogEntry()
|
|
85
|
+
|
|
86
|
+
> **getActivityLogEntry**(`logEntryId`): `Promise`\<[`IActivityLogEntry`](IActivityLogEntry.md)\>
|
|
87
|
+
|
|
88
|
+
Returns Activity Log Entry which contains the Activity processing details.
|
|
89
|
+
|
|
90
|
+
#### Parameters
|
|
91
|
+
|
|
92
|
+
##### logEntryId
|
|
93
|
+
|
|
94
|
+
`string`
|
|
95
|
+
|
|
96
|
+
The Id of the Activity Log Entry (a URI).
|
|
97
|
+
|
|
98
|
+
#### Returns
|
|
99
|
+
|
|
100
|
+
`Promise`\<[`IActivityLogEntry`](IActivityLogEntry.md)\>
|
|
101
|
+
|
|
102
|
+
the Activity Log Entry with the processing details.
|
|
103
|
+
|
|
104
|
+
#### Throws
|
|
105
|
+
|
|
106
|
+
NotFoundError if activity log entry is not known.
|
|
107
|
+
|
|
108
|
+
***
|
|
109
|
+
|
|
110
|
+
### getDataAssetEntities()
|
|
111
|
+
|
|
112
|
+
> **getDataAssetEntities**(`entitySet`, `consumerPid`, `cursor?`, `limit?`, `trustPayload?`): `Promise`\<[`IDataAssetItemListResult`](IDataAssetItemListResult.md)\>
|
|
113
|
+
|
|
114
|
+
Get Data Asset entities. Allows to retrieve entities by their type or id.
|
|
115
|
+
|
|
116
|
+
#### Parameters
|
|
117
|
+
|
|
118
|
+
##### entitySet
|
|
119
|
+
|
|
120
|
+
[`IEntitySet`](IEntitySet.md) & `object`
|
|
121
|
+
|
|
122
|
+
The set of entities to be retrieved.
|
|
123
|
+
|
|
124
|
+
##### consumerPid
|
|
125
|
+
|
|
126
|
+
`string`
|
|
127
|
+
|
|
128
|
+
The consumer Process ID from the DSP Transfer Process.
|
|
129
|
+
Used to resolve datasetId from the Transfer Process.
|
|
130
|
+
|
|
131
|
+
##### cursor?
|
|
132
|
+
|
|
133
|
+
`string`
|
|
134
|
+
|
|
135
|
+
Pagination details - cursor.
|
|
136
|
+
|
|
137
|
+
##### limit?
|
|
138
|
+
|
|
139
|
+
`number`
|
|
140
|
+
|
|
141
|
+
Pagination details - max number of entities.
|
|
142
|
+
|
|
143
|
+
##### trustPayload?
|
|
144
|
+
|
|
145
|
+
`unknown`
|
|
146
|
+
|
|
147
|
+
Trust payload to verify the requesters identity.
|
|
148
|
+
|
|
149
|
+
#### Returns
|
|
150
|
+
|
|
151
|
+
`Promise`\<[`IDataAssetItemListResult`](IDataAssetItemListResult.md)\>
|
|
152
|
+
|
|
153
|
+
The item list and optional cursor for pagination via Link headers.
|
|
154
|
+
|
|
155
|
+
***
|
|
156
|
+
|
|
157
|
+
### queryDataAsset()
|
|
158
|
+
|
|
159
|
+
> **queryDataAsset**(`consumerPid`, `query`, `cursor?`, `limit?`, `trustPayload?`): `Promise`\<[`IDataAssetItemListResult`](IDataAssetItemListResult.md)\>
|
|
160
|
+
|
|
161
|
+
Queries a data asset controlled by this Dataspace App.
|
|
162
|
+
|
|
163
|
+
#### Parameters
|
|
164
|
+
|
|
165
|
+
##### consumerPid
|
|
166
|
+
|
|
167
|
+
`string`
|
|
168
|
+
|
|
169
|
+
The consumer Process ID from the DSP Transfer Process.
|
|
170
|
+
Used to resolve datasetId from the Transfer Process.
|
|
171
|
+
|
|
172
|
+
##### query
|
|
173
|
+
|
|
174
|
+
[`IFilteringQuery`](IFilteringQuery.md)
|
|
175
|
+
|
|
176
|
+
The filtering query.
|
|
177
|
+
|
|
178
|
+
##### cursor?
|
|
179
|
+
|
|
180
|
+
`string`
|
|
181
|
+
|
|
182
|
+
Pagination details - cursor.
|
|
183
|
+
|
|
184
|
+
##### limit?
|
|
185
|
+
|
|
186
|
+
`number`
|
|
187
|
+
|
|
188
|
+
Pagination details - max number of entities.
|
|
189
|
+
|
|
190
|
+
##### trustPayload?
|
|
191
|
+
|
|
192
|
+
`unknown`
|
|
193
|
+
|
|
194
|
+
Trust payload to verify the requesters identity.
|
|
195
|
+
|
|
196
|
+
#### Returns
|
|
197
|
+
|
|
198
|
+
`Promise`\<[`IDataAssetItemListResult`](IDataAssetItemListResult.md)\>
|
|
199
|
+
|
|
200
|
+
The item list and optional cursor for pagination via Link headers.
|