@twin.org/standards-dataspace-protocol 0.0.3-next.4 → 0.0.3-next.6
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/dist/es/dataTypes/catalogDataTypes.js +32 -0
- package/dist/es/dataTypes/catalogDataTypes.js.map +1 -0
- package/dist/es/dataTypes/{dataspaceProtolDataTypes.js → contractNegotiationDataTypes.js} +3 -29
- package/dist/es/dataTypes/contractNegotiationDataTypes.js.map +1 -0
- package/dist/es/dataTypes/dataspaceProtocolDataTypes.js +27 -0
- package/dist/es/dataTypes/dataspaceProtocolDataTypes.js.map +1 -0
- package/dist/es/dataTypes/transferProcessDataTypes.js +68 -0
- package/dist/es/dataTypes/transferProcessDataTypes.js.map +1 -0
- package/dist/es/index.js +16 -1
- package/dist/es/index.js.map +1 -1
- package/dist/es/models/catalog/ICatalogError.js.map +1 -1
- package/dist/es/models/catalog/ICatalogRequestMessage.js.map +1 -1
- package/dist/es/models/contractNegotiation/IContractNegotiationError.js.map +1 -1
- package/dist/es/models/dataspaceProtocolContextType.js.map +1 -1
- package/dist/es/models/transferProcess/IDataAddress.js +2 -0
- package/dist/es/models/transferProcess/IDataAddress.js.map +1 -0
- package/dist/es/models/transferProcess/IEndpointProperty.js +2 -0
- package/dist/es/models/transferProcess/IEndpointProperty.js.map +1 -0
- package/dist/es/models/transferProcess/ITransferCompletionMessage.js +2 -0
- package/dist/es/models/transferProcess/ITransferCompletionMessage.js.map +1 -0
- package/dist/es/models/transferProcess/ITransferError.js +2 -0
- package/dist/es/models/transferProcess/ITransferError.js.map +1 -0
- package/dist/es/models/transferProcess/ITransferProcess.js +2 -0
- package/dist/es/models/transferProcess/ITransferProcess.js.map +1 -0
- package/dist/es/models/transferProcess/ITransferRequestMessage.js +2 -0
- package/dist/es/models/transferProcess/ITransferRequestMessage.js.map +1 -0
- package/dist/es/models/transferProcess/ITransferStartMessage.js +2 -0
- package/dist/es/models/transferProcess/ITransferStartMessage.js.map +1 -0
- package/dist/es/models/transferProcess/ITransferSuspensionMessage.js +4 -0
- package/dist/es/models/transferProcess/ITransferSuspensionMessage.js.map +1 -0
- package/dist/es/models/transferProcess/ITransferTerminationMessage.js +2 -0
- package/dist/es/models/transferProcess/ITransferTerminationMessage.js.map +1 -0
- package/dist/es/models/transferProcess/transferProcessTypes.js +46 -0
- package/dist/es/models/transferProcess/transferProcessTypes.js.map +1 -0
- package/dist/es/models/transferProcess/types/transferProcessStateType.js +30 -0
- package/dist/es/models/transferProcess/types/transferProcessStateType.js.map +1 -0
- package/dist/es/schemas/CatalogError.json +11 -8
- package/dist/es/schemas/CatalogRequestMessage.json +10 -3
- package/dist/es/schemas/ContractAgreementMessage.json +8 -3
- package/dist/es/schemas/ContractAgreementVerificationMessage.json +8 -3
- package/dist/es/schemas/ContractNegotiation.json +8 -3
- package/dist/es/schemas/ContractNegotiationError.json +9 -37
- package/dist/es/schemas/ContractNegotiationEventMessage.json +8 -3
- package/dist/es/schemas/ContractNegotiationTerminationMessage.json +8 -3
- package/dist/es/schemas/ContractOfferMessage.json +8 -3
- package/dist/es/schemas/ContractRequestMessage.json +8 -3
- package/dist/es/schemas/DataAddress.json +33 -0
- package/dist/es/schemas/DatasetRequestMessage.json +8 -3
- package/dist/es/schemas/EndpointProperty.json +27 -0
- package/dist/es/schemas/TransferCompletionMessage.json +74 -0
- package/dist/es/schemas/TransferError.json +83 -0
- package/dist/es/schemas/TransferProcess.json +109 -0
- package/dist/es/schemas/TransferRequestMessage.json +88 -0
- package/dist/es/schemas/TransferStartMessage.json +78 -0
- package/dist/es/schemas/TransferSuspensionMessage.json +83 -0
- package/dist/es/schemas/TransferTerminationMessage.json +83 -0
- package/dist/types/dataTypes/catalogDataTypes.d.ts +9 -0
- package/dist/types/dataTypes/contractNegotiationDataTypes.d.ts +9 -0
- package/dist/types/dataTypes/transferProcessDataTypes.d.ts +9 -0
- package/dist/types/index.d.ts +15 -1
- package/dist/types/models/catalog/ICatalogError.d.ts +2 -2
- package/dist/types/models/catalog/ICatalogRequestMessage.d.ts +1 -1
- package/dist/types/models/contractNegotiation/IContractNegotiationError.d.ts +1 -11
- package/dist/types/models/dataspaceProtocolContextType.d.ts +2 -2
- package/dist/types/models/transferProcess/IDataAddress.d.ts +24 -0
- package/dist/types/models/transferProcess/IEndpointProperty.d.ts +19 -0
- package/dist/types/models/transferProcess/ITransferCompletionMessage.d.ts +24 -0
- package/dist/types/models/transferProcess/ITransferError.d.ts +32 -0
- package/dist/types/models/transferProcess/ITransferProcess.d.ts +29 -0
- package/dist/types/models/transferProcess/ITransferRequestMessage.d.ts +39 -0
- package/dist/types/models/transferProcess/ITransferStartMessage.d.ts +30 -0
- package/dist/types/models/transferProcess/ITransferSuspensionMessage.d.ts +32 -0
- package/dist/types/models/transferProcess/ITransferTerminationMessage.d.ts +32 -0
- package/dist/types/models/transferProcess/transferProcessTypes.d.ts +46 -0
- package/dist/types/models/transferProcess/types/transferProcessStateType.d.ts +30 -0
- package/docs/changelog.md +35 -0
- package/docs/reference/classes/CatalogDataTypes.md +25 -0
- package/docs/reference/classes/ContractNegotiationDataTypes.md +25 -0
- package/docs/reference/classes/TransferProcessDataTypes.md +25 -0
- package/docs/reference/index.md +16 -0
- package/docs/reference/interfaces/ICatalogError.md +3 -3
- package/docs/reference/interfaces/ICatalogRequestMessage.md +1 -1
- package/docs/reference/interfaces/IContractNegotiationError.md +1 -25
- package/docs/reference/interfaces/IDataAddress.md +36 -0
- package/docs/reference/interfaces/IEndpointProperty.md +28 -0
- package/docs/reference/interfaces/ITransferCompletionMessage.md +36 -0
- package/docs/reference/interfaces/ITransferError.md +52 -0
- package/docs/reference/interfaces/ITransferProcess.md +74 -0
- package/docs/reference/interfaces/ITransferRequestMessage.md +62 -0
- package/docs/reference/interfaces/ITransferStartMessage.md +45 -0
- package/docs/reference/interfaces/ITransferSuspensionMessage.md +52 -0
- package/docs/reference/interfaces/ITransferTerminationMessage.md +52 -0
- package/docs/reference/type-aliases/DataspaceProtocolContextType.md +2 -2
- package/docs/reference/type-aliases/TransferProcessStateType.md +5 -0
- package/docs/reference/type-aliases/TransferProcessTypes.md +5 -0
- package/docs/reference/variables/TransferProcessStateType.md +38 -0
- package/docs/reference/variables/TransferProcessTypes.md +62 -0
- package/package.json +3 -3
- package/dist/es/dataTypes/dataspaceProtolDataTypes.js.map +0 -1
- /package/dist/types/dataTypes/{dataspaceProtolDataTypes.d.ts → dataspaceProtocolDataTypes.d.ts} +0 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The types for Dataspace Protocol Transfer Process.
|
|
3
|
+
* https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1-err1/#message-types-1
|
|
4
|
+
*/
|
|
5
|
+
export declare const TransferProcessTypes: {
|
|
6
|
+
/**
|
|
7
|
+
* Transfer Request Message.
|
|
8
|
+
*/
|
|
9
|
+
TransferRequestMessage: string;
|
|
10
|
+
/**
|
|
11
|
+
* Transfer Start Message.
|
|
12
|
+
*/
|
|
13
|
+
TransferStartMessage: string;
|
|
14
|
+
/**
|
|
15
|
+
* Transfer Suspension Message.
|
|
16
|
+
*/
|
|
17
|
+
TransferSuspensionMessage: string;
|
|
18
|
+
/**
|
|
19
|
+
* Transfer Completion Message.
|
|
20
|
+
*/
|
|
21
|
+
TransferCompletionMessage: string;
|
|
22
|
+
/**
|
|
23
|
+
* Transfer Termination Message.
|
|
24
|
+
*/
|
|
25
|
+
TransferTerminationMessage: string;
|
|
26
|
+
/**
|
|
27
|
+
* Data Address
|
|
28
|
+
*/
|
|
29
|
+
DataAddress: string;
|
|
30
|
+
/**
|
|
31
|
+
* Endpoint property.
|
|
32
|
+
*/
|
|
33
|
+
EndpointProperty: string;
|
|
34
|
+
/**
|
|
35
|
+
* Transfer Process
|
|
36
|
+
*/
|
|
37
|
+
TransferProcess: string;
|
|
38
|
+
/**
|
|
39
|
+
* Transfer Error.
|
|
40
|
+
*/
|
|
41
|
+
TransferError: string;
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* The types for Dataspace Protocol Transfer.
|
|
45
|
+
*/
|
|
46
|
+
export type TransferProcessTypes = (typeof TransferProcessTypes)[keyof typeof TransferProcessTypes];
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The states for Dataspace Protocol Transfer Process.
|
|
3
|
+
* https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1-err1/#ack-transfer-process
|
|
4
|
+
*/
|
|
5
|
+
export declare const TransferProcessStateType: {
|
|
6
|
+
/**
|
|
7
|
+
* Completed
|
|
8
|
+
*/
|
|
9
|
+
COMPLETED: string;
|
|
10
|
+
/**
|
|
11
|
+
* Requested
|
|
12
|
+
*/
|
|
13
|
+
REQUESTED: string;
|
|
14
|
+
/**
|
|
15
|
+
* Started
|
|
16
|
+
*/
|
|
17
|
+
STARTED: string;
|
|
18
|
+
/**
|
|
19
|
+
* Suspended
|
|
20
|
+
*/
|
|
21
|
+
SUSPENDED: string;
|
|
22
|
+
/**
|
|
23
|
+
* Terminated
|
|
24
|
+
*/
|
|
25
|
+
TERMINATED: string;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* The types for Dataspace Protocol Transfer.
|
|
29
|
+
*/
|
|
30
|
+
export type TransferProcessStateType = (typeof TransferProcessStateType)[keyof typeof TransferProcessStateType];
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,40 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.3-next.6](https://github.com/twinfoundation/standards/compare/standards-dataspace-protocol-v0.0.3-next.5...standards-dataspace-protocol-v0.0.3-next.6) (2025-12-03)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* context doc name ([e994ebc](https://github.com/twinfoundation/standards/commit/e994ebcd5d3b296b21a678716bf740c91e5899c3))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @twin.org/standards-w3c-dcat bumped from 0.0.3-next.5 to 0.0.3-next.6
|
|
16
|
+
* @twin.org/standards-w3c-odrl bumped from 0.0.3-next.5 to 0.0.3-next.6
|
|
17
|
+
|
|
18
|
+
## [0.0.3-next.5](https://github.com/twinfoundation/standards/compare/standards-dataspace-protocol-v0.0.3-next.4...standards-dataspace-protocol-v0.0.3-next.5) (2025-11-28)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Features
|
|
22
|
+
|
|
23
|
+
* ds protocol - data transfer ([#77](https://github.com/twinfoundation/standards/issues/77)) ([1bf0375](https://github.com/twinfoundation/standards/commit/1bf03750c74daaa0eb133b03927a0f40eb27a1e3))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Bug Fixes
|
|
27
|
+
|
|
28
|
+
* filter is array in catalog request (please merge after [#77](https://github.com/twinfoundation/standards/issues/77)) ([#78](https://github.com/twinfoundation/standards/issues/78)) ([72a234c](https://github.com/twinfoundation/standards/commit/72a234c6620466ac4a5aded677af7590ccf94077))
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### Dependencies
|
|
32
|
+
|
|
33
|
+
* The following workspace dependencies were updated
|
|
34
|
+
* dependencies
|
|
35
|
+
* @twin.org/standards-w3c-dcat bumped from 0.0.3-next.4 to 0.0.3-next.5
|
|
36
|
+
* @twin.org/standards-w3c-odrl bumped from 0.0.3-next.4 to 0.0.3-next.5
|
|
37
|
+
|
|
3
38
|
## [0.0.3-next.4](https://github.com/twinfoundation/standards/compare/standards-dataspace-protocol-v0.0.3-next.3...standards-dataspace-protocol-v0.0.3-next.4) (2025-11-18)
|
|
4
39
|
|
|
5
40
|
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Class: CatalogDataTypes
|
|
2
|
+
|
|
3
|
+
Handle all the catalog data types for Dataspace Protocol.
|
|
4
|
+
|
|
5
|
+
## Constructors
|
|
6
|
+
|
|
7
|
+
### Constructor
|
|
8
|
+
|
|
9
|
+
> **new CatalogDataTypes**(): `CatalogDataTypes`
|
|
10
|
+
|
|
11
|
+
#### Returns
|
|
12
|
+
|
|
13
|
+
`CatalogDataTypes`
|
|
14
|
+
|
|
15
|
+
## Methods
|
|
16
|
+
|
|
17
|
+
### registerTypes()
|
|
18
|
+
|
|
19
|
+
> `static` **registerTypes**(): `void`
|
|
20
|
+
|
|
21
|
+
Register all the data types.
|
|
22
|
+
|
|
23
|
+
#### Returns
|
|
24
|
+
|
|
25
|
+
`void`
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Class: ContractNegotiationDataTypes
|
|
2
|
+
|
|
3
|
+
Handle all the contract negotiation data types for Dataspace Protocol.
|
|
4
|
+
|
|
5
|
+
## Constructors
|
|
6
|
+
|
|
7
|
+
### Constructor
|
|
8
|
+
|
|
9
|
+
> **new ContractNegotiationDataTypes**(): `ContractNegotiationDataTypes`
|
|
10
|
+
|
|
11
|
+
#### Returns
|
|
12
|
+
|
|
13
|
+
`ContractNegotiationDataTypes`
|
|
14
|
+
|
|
15
|
+
## Methods
|
|
16
|
+
|
|
17
|
+
### registerTypes()
|
|
18
|
+
|
|
19
|
+
> `static` **registerTypes**(): `void`
|
|
20
|
+
|
|
21
|
+
Register all the data types.
|
|
22
|
+
|
|
23
|
+
#### Returns
|
|
24
|
+
|
|
25
|
+
`void`
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Class: TransferProcessDataTypes
|
|
2
|
+
|
|
3
|
+
Handle all the transfer process data types for Dataspace Protocol.
|
|
4
|
+
|
|
5
|
+
## Constructors
|
|
6
|
+
|
|
7
|
+
### Constructor
|
|
8
|
+
|
|
9
|
+
> **new TransferProcessDataTypes**(): `TransferProcessDataTypes`
|
|
10
|
+
|
|
11
|
+
#### Returns
|
|
12
|
+
|
|
13
|
+
`TransferProcessDataTypes`
|
|
14
|
+
|
|
15
|
+
## Methods
|
|
16
|
+
|
|
17
|
+
### registerTypes()
|
|
18
|
+
|
|
19
|
+
> `static` **registerTypes**(): `void`
|
|
20
|
+
|
|
21
|
+
Register all the data types.
|
|
22
|
+
|
|
23
|
+
#### Returns
|
|
24
|
+
|
|
25
|
+
`void`
|
package/docs/reference/index.md
CHANGED
|
@@ -2,7 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
## Classes
|
|
4
4
|
|
|
5
|
+
- [CatalogDataTypes](classes/CatalogDataTypes.md)
|
|
6
|
+
- [ContractNegotiationDataTypes](classes/ContractNegotiationDataTypes.md)
|
|
5
7
|
- [DataspaceProtocolDataTypes](classes/DataspaceProtocolDataTypes.md)
|
|
8
|
+
- [TransferProcessDataTypes](classes/TransferProcessDataTypes.md)
|
|
6
9
|
|
|
7
10
|
## Interfaces
|
|
8
11
|
|
|
@@ -17,6 +20,15 @@
|
|
|
17
20
|
- [IContractNegotiationTerminationMessage](interfaces/IContractNegotiationTerminationMessage.md)
|
|
18
21
|
- [IContractOfferMessage](interfaces/IContractOfferMessage.md)
|
|
19
22
|
- [IContractRequestMessage](interfaces/IContractRequestMessage.md)
|
|
23
|
+
- [IDataAddress](interfaces/IDataAddress.md)
|
|
24
|
+
- [IEndpointProperty](interfaces/IEndpointProperty.md)
|
|
25
|
+
- [ITransferCompletionMessage](interfaces/ITransferCompletionMessage.md)
|
|
26
|
+
- [ITransferError](interfaces/ITransferError.md)
|
|
27
|
+
- [ITransferProcess](interfaces/ITransferProcess.md)
|
|
28
|
+
- [ITransferRequestMessage](interfaces/ITransferRequestMessage.md)
|
|
29
|
+
- [ITransferStartMessage](interfaces/ITransferStartMessage.md)
|
|
30
|
+
- [ITransferSuspensionMessage](interfaces/ITransferSuspensionMessage.md)
|
|
31
|
+
- [ITransferTerminationMessage](interfaces/ITransferTerminationMessage.md)
|
|
20
32
|
|
|
21
33
|
## Type Aliases
|
|
22
34
|
|
|
@@ -26,6 +38,8 @@
|
|
|
26
38
|
- [ContractNegotiationStateType](type-aliases/ContractNegotiationStateType.md)
|
|
27
39
|
- [DataspaceProtocolContextType](type-aliases/DataspaceProtocolContextType.md)
|
|
28
40
|
- [DataspaceProtocolContexts](type-aliases/DataspaceProtocolContexts.md)
|
|
41
|
+
- [TransferProcessTypes](type-aliases/TransferProcessTypes.md)
|
|
42
|
+
- [TransferProcessStateType](type-aliases/TransferProcessStateType.md)
|
|
29
43
|
|
|
30
44
|
## Variables
|
|
31
45
|
|
|
@@ -34,3 +48,5 @@
|
|
|
34
48
|
- [ContractNegotiationEventType](variables/ContractNegotiationEventType.md)
|
|
35
49
|
- [ContractNegotiationStateType](variables/ContractNegotiationStateType.md)
|
|
36
50
|
- [DataspaceProtocolContexts](variables/DataspaceProtocolContexts.md)
|
|
51
|
+
- [TransferProcessTypes](variables/TransferProcessTypes.md)
|
|
52
|
+
- [TransferProcessStateType](variables/TransferProcessStateType.md)
|
|
@@ -47,30 +47,6 @@ The error code.
|
|
|
47
47
|
|
|
48
48
|
### reason?
|
|
49
49
|
|
|
50
|
-
> `optional` **reason**: `
|
|
50
|
+
> `optional` **reason**: `any`[]
|
|
51
51
|
|
|
52
52
|
The error reason(s).
|
|
53
|
-
|
|
54
|
-
#### @value
|
|
55
|
-
|
|
56
|
-
> **@value**: `string`
|
|
57
|
-
|
|
58
|
-
#### @language?
|
|
59
|
-
|
|
60
|
-
> `optional` **@language**: `string`
|
|
61
|
-
|
|
62
|
-
***
|
|
63
|
-
|
|
64
|
-
### description?
|
|
65
|
-
|
|
66
|
-
> `optional` **description**: `object`[]
|
|
67
|
-
|
|
68
|
-
The error description(s).
|
|
69
|
-
|
|
70
|
-
#### @value
|
|
71
|
-
|
|
72
|
-
> **@value**: `string`
|
|
73
|
-
|
|
74
|
-
#### @language?
|
|
75
|
-
|
|
76
|
-
> `optional` **@language**: `string`
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Interface: IDataAddress
|
|
2
|
+
|
|
3
|
+
Interface for Dataspace Protocol Transfer Messages.
|
|
4
|
+
https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#lower-level-types
|
|
5
|
+
|
|
6
|
+
## Properties
|
|
7
|
+
|
|
8
|
+
### @type
|
|
9
|
+
|
|
10
|
+
> **@type**: `string`
|
|
11
|
+
|
|
12
|
+
LD Type
|
|
13
|
+
|
|
14
|
+
***
|
|
15
|
+
|
|
16
|
+
### endpointType
|
|
17
|
+
|
|
18
|
+
> **endpointType**: `string`
|
|
19
|
+
|
|
20
|
+
The type of endpoint of this data address.
|
|
21
|
+
|
|
22
|
+
***
|
|
23
|
+
|
|
24
|
+
### endpoint?
|
|
25
|
+
|
|
26
|
+
> `optional` **endpoint**: `string`
|
|
27
|
+
|
|
28
|
+
The endpoint of the data address
|
|
29
|
+
|
|
30
|
+
***
|
|
31
|
+
|
|
32
|
+
### endpointProperties?
|
|
33
|
+
|
|
34
|
+
> `optional` **endpointProperties**: [`IEndpointProperty`](IEndpointProperty.md)[]
|
|
35
|
+
|
|
36
|
+
Properties associated to the endpoint which might depend on the endpoint type.
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Interface: IEndpointProperty
|
|
2
|
+
|
|
3
|
+
Interface for Dataspace Protocol Transfer Messages.
|
|
4
|
+
https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#lower-level-types
|
|
5
|
+
|
|
6
|
+
## Properties
|
|
7
|
+
|
|
8
|
+
### @type
|
|
9
|
+
|
|
10
|
+
> **@type**: `string`
|
|
11
|
+
|
|
12
|
+
LD Type.
|
|
13
|
+
|
|
14
|
+
***
|
|
15
|
+
|
|
16
|
+
### name
|
|
17
|
+
|
|
18
|
+
> **name**: `string`
|
|
19
|
+
|
|
20
|
+
Property name.
|
|
21
|
+
|
|
22
|
+
***
|
|
23
|
+
|
|
24
|
+
### value
|
|
25
|
+
|
|
26
|
+
> **value**: `string`
|
|
27
|
+
|
|
28
|
+
Property value.
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Interface: ITransferCompletionMessage
|
|
2
|
+
|
|
3
|
+
Interface for Dataspace Protocol Transfer Messages.
|
|
4
|
+
https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#transfer-completion-message
|
|
5
|
+
|
|
6
|
+
## Properties
|
|
7
|
+
|
|
8
|
+
### @context
|
|
9
|
+
|
|
10
|
+
> **@context**: [`DataspaceProtocolContextType`](../type-aliases/DataspaceProtocolContextType.md)
|
|
11
|
+
|
|
12
|
+
LD Context
|
|
13
|
+
|
|
14
|
+
***
|
|
15
|
+
|
|
16
|
+
### @type
|
|
17
|
+
|
|
18
|
+
> **@type**: `string`
|
|
19
|
+
|
|
20
|
+
LD Type
|
|
21
|
+
|
|
22
|
+
***
|
|
23
|
+
|
|
24
|
+
### consumerPid
|
|
25
|
+
|
|
26
|
+
> **consumerPid**: `string`
|
|
27
|
+
|
|
28
|
+
MUST refer to the transfer identifier of the Consumer side.
|
|
29
|
+
|
|
30
|
+
***
|
|
31
|
+
|
|
32
|
+
### providerPid
|
|
33
|
+
|
|
34
|
+
> **providerPid**: `string`
|
|
35
|
+
|
|
36
|
+
MUST refer to the transfer identifier of the Provider side.
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# Interface: ITransferError
|
|
2
|
+
|
|
3
|
+
Interface for Dataspace Protocol Transfer Messages.
|
|
4
|
+
https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol#error-transfer-error
|
|
5
|
+
|
|
6
|
+
## Properties
|
|
7
|
+
|
|
8
|
+
### @context
|
|
9
|
+
|
|
10
|
+
> **@context**: [`DataspaceProtocolContextType`](../type-aliases/DataspaceProtocolContextType.md)
|
|
11
|
+
|
|
12
|
+
LD Context
|
|
13
|
+
|
|
14
|
+
***
|
|
15
|
+
|
|
16
|
+
### @type
|
|
17
|
+
|
|
18
|
+
> **@type**: `string`
|
|
19
|
+
|
|
20
|
+
LD Type
|
|
21
|
+
|
|
22
|
+
***
|
|
23
|
+
|
|
24
|
+
### consumerPid
|
|
25
|
+
|
|
26
|
+
> **consumerPid**: `string`
|
|
27
|
+
|
|
28
|
+
MUST refer to the transfer identifier of the Consumer side.
|
|
29
|
+
|
|
30
|
+
***
|
|
31
|
+
|
|
32
|
+
### providerPid
|
|
33
|
+
|
|
34
|
+
> **providerPid**: `string`
|
|
35
|
+
|
|
36
|
+
MUST refer to the transfer identifier of the Provider side.
|
|
37
|
+
|
|
38
|
+
***
|
|
39
|
+
|
|
40
|
+
### code?
|
|
41
|
+
|
|
42
|
+
> `optional` **code**: `string`
|
|
43
|
+
|
|
44
|
+
The error code.
|
|
45
|
+
|
|
46
|
+
***
|
|
47
|
+
|
|
48
|
+
### reason?
|
|
49
|
+
|
|
50
|
+
> `optional` **reason**: `any`[]
|
|
51
|
+
|
|
52
|
+
The error reason(s).
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# Interface: ITransferProcess
|
|
2
|
+
|
|
3
|
+
Interface for Dataspace Protocol Transfer Messages.
|
|
4
|
+
https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#ack-transfer-process
|
|
5
|
+
|
|
6
|
+
## Properties
|
|
7
|
+
|
|
8
|
+
### @context
|
|
9
|
+
|
|
10
|
+
> **@context**: [`DataspaceProtocolContextType`](../type-aliases/DataspaceProtocolContextType.md)
|
|
11
|
+
|
|
12
|
+
LD Context
|
|
13
|
+
|
|
14
|
+
***
|
|
15
|
+
|
|
16
|
+
### @type
|
|
17
|
+
|
|
18
|
+
> **@type**: `string`
|
|
19
|
+
|
|
20
|
+
LD Type
|
|
21
|
+
|
|
22
|
+
***
|
|
23
|
+
|
|
24
|
+
### consumerPid
|
|
25
|
+
|
|
26
|
+
> **consumerPid**: `string`
|
|
27
|
+
|
|
28
|
+
MUST refer to the transfer identifier of the Consumer side.
|
|
29
|
+
|
|
30
|
+
***
|
|
31
|
+
|
|
32
|
+
### providerPid
|
|
33
|
+
|
|
34
|
+
> **providerPid**: `string`
|
|
35
|
+
|
|
36
|
+
MUST refer to the transfer identifier of the Provider side.
|
|
37
|
+
|
|
38
|
+
***
|
|
39
|
+
|
|
40
|
+
### state
|
|
41
|
+
|
|
42
|
+
> **state**: `object`
|
|
43
|
+
|
|
44
|
+
The transfer process state.
|
|
45
|
+
|
|
46
|
+
#### COMPLETED
|
|
47
|
+
|
|
48
|
+
> **COMPLETED**: `string` = `"COMPLETED"`
|
|
49
|
+
|
|
50
|
+
Completed
|
|
51
|
+
|
|
52
|
+
#### REQUESTED
|
|
53
|
+
|
|
54
|
+
> **REQUESTED**: `string` = `"REQUESTED"`
|
|
55
|
+
|
|
56
|
+
Requested
|
|
57
|
+
|
|
58
|
+
#### STARTED
|
|
59
|
+
|
|
60
|
+
> **STARTED**: `string` = `"STARTED"`
|
|
61
|
+
|
|
62
|
+
Started
|
|
63
|
+
|
|
64
|
+
#### SUSPENDED
|
|
65
|
+
|
|
66
|
+
> **SUSPENDED**: `string` = `"SUSPENDED"`
|
|
67
|
+
|
|
68
|
+
Suspended
|
|
69
|
+
|
|
70
|
+
#### TERMINATED
|
|
71
|
+
|
|
72
|
+
> **TERMINATED**: `string` = `"TERMINATED"`
|
|
73
|
+
|
|
74
|
+
Terminated
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# Interface: ITransferRequestMessage
|
|
2
|
+
|
|
3
|
+
Interface for Dataspace Protocol Transfer Messages.
|
|
4
|
+
https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#transfer-request-message
|
|
5
|
+
|
|
6
|
+
## Properties
|
|
7
|
+
|
|
8
|
+
### @context
|
|
9
|
+
|
|
10
|
+
> **@context**: [`DataspaceProtocolContextType`](../type-aliases/DataspaceProtocolContextType.md)
|
|
11
|
+
|
|
12
|
+
LD Context
|
|
13
|
+
|
|
14
|
+
***
|
|
15
|
+
|
|
16
|
+
### @type
|
|
17
|
+
|
|
18
|
+
> **@type**: `string`
|
|
19
|
+
|
|
20
|
+
LD Type
|
|
21
|
+
|
|
22
|
+
***
|
|
23
|
+
|
|
24
|
+
### agreementId
|
|
25
|
+
|
|
26
|
+
> **agreementId**: `string`
|
|
27
|
+
|
|
28
|
+
MUST refer to an existing Agreement between the Consumer and Provider.
|
|
29
|
+
|
|
30
|
+
***
|
|
31
|
+
|
|
32
|
+
### callbackAddress
|
|
33
|
+
|
|
34
|
+
> **callbackAddress**: `string`
|
|
35
|
+
|
|
36
|
+
MUST be a URI indicating where messages to the Consumer SHOULD be sent.
|
|
37
|
+
|
|
38
|
+
***
|
|
39
|
+
|
|
40
|
+
### consumerPid
|
|
41
|
+
|
|
42
|
+
> **consumerPid**: `string`
|
|
43
|
+
|
|
44
|
+
MUST refer to the transfer identifier of the Consumer side.
|
|
45
|
+
|
|
46
|
+
***
|
|
47
|
+
|
|
48
|
+
### format
|
|
49
|
+
|
|
50
|
+
> **format**: `string`
|
|
51
|
+
|
|
52
|
+
The format property is a format specified by a Distribution for the Dataset associated with the Agreement.
|
|
53
|
+
This is generally obtained from the Provider's Catalog.
|
|
54
|
+
|
|
55
|
+
***
|
|
56
|
+
|
|
57
|
+
### dataAddress?
|
|
58
|
+
|
|
59
|
+
> `optional` **dataAddress**: [`IDataAddress`](IDataAddress.md)
|
|
60
|
+
|
|
61
|
+
If defined MUST contain a transport-specific set of properties for pushing the data.
|
|
62
|
+
It MAY include an endpoint, a temporary authorization via the endpointProperties property - depending on the endpointType.
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# Interface: ITransferStartMessage
|
|
2
|
+
|
|
3
|
+
Interface for Dataspace Protocol Transfer Messages.
|
|
4
|
+
https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#transfer-start-message
|
|
5
|
+
|
|
6
|
+
## Properties
|
|
7
|
+
|
|
8
|
+
### @context
|
|
9
|
+
|
|
10
|
+
> **@context**: [`DataspaceProtocolContextType`](../type-aliases/DataspaceProtocolContextType.md)
|
|
11
|
+
|
|
12
|
+
LD Context
|
|
13
|
+
|
|
14
|
+
***
|
|
15
|
+
|
|
16
|
+
### @type
|
|
17
|
+
|
|
18
|
+
> **@type**: `string`
|
|
19
|
+
|
|
20
|
+
LD Type
|
|
21
|
+
|
|
22
|
+
***
|
|
23
|
+
|
|
24
|
+
### consumerPid
|
|
25
|
+
|
|
26
|
+
> **consumerPid**: `string`
|
|
27
|
+
|
|
28
|
+
MUST refer to the transfer identifier of the Consumer side.
|
|
29
|
+
|
|
30
|
+
***
|
|
31
|
+
|
|
32
|
+
### providerPid
|
|
33
|
+
|
|
34
|
+
> **providerPid**: `string`
|
|
35
|
+
|
|
36
|
+
MUST refer to the transfer identifier of the Provider side.
|
|
37
|
+
|
|
38
|
+
***
|
|
39
|
+
|
|
40
|
+
### dataAddress?
|
|
41
|
+
|
|
42
|
+
> `optional` **dataAddress**: [`IDataAddress`](IDataAddress.md)
|
|
43
|
+
|
|
44
|
+
MUST be provided if the current transfer is a pull transfer and
|
|
45
|
+
contains a transport-specific endpoint address for obtaining the data.
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# Interface: ITransferSuspensionMessage
|
|
2
|
+
|
|
3
|
+
Interface for Dataspace Protocol Transfer Messages.
|
|
4
|
+
https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#transfer-suspension-message
|
|
5
|
+
|
|
6
|
+
## Properties
|
|
7
|
+
|
|
8
|
+
### @context
|
|
9
|
+
|
|
10
|
+
> **@context**: [`DataspaceProtocolContextType`](../type-aliases/DataspaceProtocolContextType.md)
|
|
11
|
+
|
|
12
|
+
LD Context
|
|
13
|
+
|
|
14
|
+
***
|
|
15
|
+
|
|
16
|
+
### @type
|
|
17
|
+
|
|
18
|
+
> **@type**: `string`
|
|
19
|
+
|
|
20
|
+
LD Type
|
|
21
|
+
|
|
22
|
+
***
|
|
23
|
+
|
|
24
|
+
### consumerPid
|
|
25
|
+
|
|
26
|
+
> **consumerPid**: `string`
|
|
27
|
+
|
|
28
|
+
MUST refer to the transfer identifier of the Consumer side.
|
|
29
|
+
|
|
30
|
+
***
|
|
31
|
+
|
|
32
|
+
### providerPid
|
|
33
|
+
|
|
34
|
+
> **providerPid**: `string`
|
|
35
|
+
|
|
36
|
+
MUST refer to the transfer identifier of the Provider side.
|
|
37
|
+
|
|
38
|
+
***
|
|
39
|
+
|
|
40
|
+
### code?
|
|
41
|
+
|
|
42
|
+
> `optional` **code**: `string`
|
|
43
|
+
|
|
44
|
+
The suspension code.
|
|
45
|
+
|
|
46
|
+
***
|
|
47
|
+
|
|
48
|
+
### reason?
|
|
49
|
+
|
|
50
|
+
> `optional` **reason**: `any`[]
|
|
51
|
+
|
|
52
|
+
The suspension reason(s).
|