@twin.org/standards-dataspace-protocol 0.0.3-next.3 → 0.0.3-next.5

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.
Files changed (153) hide show
  1. package/dist/es/dataTypes/catalogDataTypes.js +32 -0
  2. package/dist/es/dataTypes/catalogDataTypes.js.map +1 -0
  3. package/dist/es/dataTypes/contractNegotiationDataTypes.js +22 -29
  4. package/dist/es/dataTypes/contractNegotiationDataTypes.js.map +1 -1
  5. package/dist/es/dataTypes/dataspaceProtocolDataTypes.js +27 -0
  6. package/dist/es/dataTypes/dataspaceProtocolDataTypes.js.map +1 -0
  7. package/dist/es/dataTypes/transferProcessDataTypes.js +68 -0
  8. package/dist/es/dataTypes/transferProcessDataTypes.js.map +1 -0
  9. package/dist/es/index.js +25 -4
  10. package/dist/es/index.js.map +1 -1
  11. package/dist/es/models/catalog/ICatalogError.js +2 -0
  12. package/dist/es/models/catalog/ICatalogError.js.map +1 -0
  13. package/dist/es/models/catalog/ICatalogRequestMessage.js +2 -0
  14. package/dist/es/models/catalog/ICatalogRequestMessage.js.map +1 -0
  15. package/dist/es/models/catalog/IDatasetRequestMessage.js +2 -0
  16. package/dist/es/models/catalog/IDatasetRequestMessage.js.map +1 -0
  17. package/dist/es/models/catalog/catalogTypes.js +22 -0
  18. package/dist/es/models/catalog/catalogTypes.js.map +1 -0
  19. package/dist/es/models/contractNegotiation/IContractAgreementMessage.js.map +1 -1
  20. package/dist/es/models/contractNegotiation/IContractAgreementVerificationMessage.js.map +1 -1
  21. package/dist/es/models/contractNegotiation/IContractNegotiation.js.map +1 -1
  22. package/dist/es/models/contractNegotiation/IContractNegotiationError.js.map +1 -1
  23. package/dist/es/models/contractNegotiation/IContractNegotiationEventMessage.js.map +1 -1
  24. package/dist/es/models/contractNegotiation/IContractNegotiationTerminationMessage.js.map +1 -1
  25. package/dist/es/models/contractNegotiation/IContractOfferMessage.js.map +1 -1
  26. package/dist/es/models/contractNegotiation/IContractRequestMessage.js.map +1 -1
  27. package/dist/es/models/contractNegotiation/contractNegotiationTypes.js +1 -1
  28. package/dist/es/models/contractNegotiation/contractNegotiationTypes.js.map +1 -1
  29. package/dist/es/models/contractNegotiation/types/contractNegotiationEventType.js +1 -1
  30. package/dist/es/models/contractNegotiation/types/contractNegotiationEventType.js.map +1 -1
  31. package/dist/es/models/contractNegotiation/types/contractNegotiationStateType.js +1 -1
  32. package/dist/es/models/contractNegotiation/types/contractNegotiationStateType.js.map +1 -1
  33. package/dist/es/models/dataspaceProtocolContextType.js +2 -0
  34. package/dist/es/models/dataspaceProtocolContextType.js.map +1 -0
  35. package/dist/es/models/dataspaceProtocolContexts.js +17 -0
  36. package/dist/es/models/dataspaceProtocolContexts.js.map +1 -0
  37. package/dist/es/models/transferProcess/IDataAddress.js +2 -0
  38. package/dist/es/models/transferProcess/IDataAddress.js.map +1 -0
  39. package/dist/es/models/transferProcess/IEndpointProperty.js +2 -0
  40. package/dist/es/models/transferProcess/IEndpointProperty.js.map +1 -0
  41. package/dist/es/models/transferProcess/ITransferCompletionMessage.js +2 -0
  42. package/dist/es/models/transferProcess/ITransferCompletionMessage.js.map +1 -0
  43. package/dist/es/models/transferProcess/ITransferError.js +2 -0
  44. package/dist/es/models/transferProcess/ITransferError.js.map +1 -0
  45. package/dist/es/models/transferProcess/ITransferProcess.js +2 -0
  46. package/dist/es/models/transferProcess/ITransferProcess.js.map +1 -0
  47. package/dist/es/models/transferProcess/ITransferRequestMessage.js +2 -0
  48. package/dist/es/models/transferProcess/ITransferRequestMessage.js.map +1 -0
  49. package/dist/es/models/transferProcess/ITransferStartMessage.js +2 -0
  50. package/dist/es/models/transferProcess/ITransferStartMessage.js.map +1 -0
  51. package/dist/es/models/transferProcess/ITransferSuspensionMessage.js +4 -0
  52. package/dist/es/models/transferProcess/ITransferSuspensionMessage.js.map +1 -0
  53. package/dist/es/models/transferProcess/ITransferTerminationMessage.js +2 -0
  54. package/dist/es/models/transferProcess/ITransferTerminationMessage.js.map +1 -0
  55. package/dist/es/models/transferProcess/transferProcessTypes.js +46 -0
  56. package/dist/es/models/transferProcess/transferProcessTypes.js.map +1 -0
  57. package/dist/es/models/transferProcess/types/transferProcessStateType.js +30 -0
  58. package/dist/es/models/transferProcess/types/transferProcessStateType.js.map +1 -0
  59. package/dist/es/schemas/CatalogError.json +74 -0
  60. package/dist/es/schemas/CatalogRequestMessage.json +69 -0
  61. package/dist/es/schemas/ContractAgreementMessage.json +10 -5
  62. package/dist/es/schemas/ContractAgreementVerificationMessage.json +10 -5
  63. package/dist/es/schemas/ContractNegotiation.json +10 -5
  64. package/dist/es/schemas/ContractNegotiationError.json +11 -39
  65. package/dist/es/schemas/ContractNegotiationEventMessage.json +10 -5
  66. package/dist/es/schemas/ContractNegotiationTerminationMessage.json +10 -5
  67. package/dist/es/schemas/ContractOfferMessage.json +10 -5
  68. package/dist/es/schemas/ContractRequestMessage.json +10 -5
  69. package/dist/es/schemas/DataAddress.json +33 -0
  70. package/dist/es/schemas/DatasetRequestMessage.json +69 -0
  71. package/dist/es/schemas/EndpointProperty.json +27 -0
  72. package/dist/es/schemas/TransferCompletionMessage.json +74 -0
  73. package/dist/es/schemas/TransferError.json +83 -0
  74. package/dist/es/schemas/TransferProcess.json +109 -0
  75. package/dist/es/schemas/TransferRequestMessage.json +88 -0
  76. package/dist/es/schemas/TransferStartMessage.json +78 -0
  77. package/dist/es/schemas/TransferSuspensionMessage.json +83 -0
  78. package/dist/es/schemas/TransferTerminationMessage.json +83 -0
  79. package/dist/types/dataTypes/catalogDataTypes.d.ts +9 -0
  80. package/dist/types/dataTypes/contractNegotiationDataTypes.d.ts +1 -5
  81. package/dist/types/dataTypes/dataspaceProtocolDataTypes.d.ts +13 -0
  82. package/dist/types/dataTypes/transferProcessDataTypes.d.ts +9 -0
  83. package/dist/types/index.d.ts +21 -3
  84. package/dist/types/models/catalog/ICatalogError.d.ts +24 -0
  85. package/dist/types/models/catalog/ICatalogRequestMessage.d.ts +20 -0
  86. package/dist/types/models/catalog/IDatasetRequestMessage.d.ts +20 -0
  87. package/dist/types/models/catalog/catalogTypes.d.ts +22 -0
  88. package/dist/types/models/contractNegotiation/IContractAgreementMessage.d.ts +2 -2
  89. package/dist/types/models/contractNegotiation/IContractAgreementVerificationMessage.d.ts +2 -2
  90. package/dist/types/models/contractNegotiation/IContractNegotiation.d.ts +2 -2
  91. package/dist/types/models/contractNegotiation/IContractNegotiationError.d.ts +3 -13
  92. package/dist/types/models/contractNegotiation/IContractNegotiationEventMessage.d.ts +2 -2
  93. package/dist/types/models/contractNegotiation/IContractNegotiationTerminationMessage.d.ts +2 -2
  94. package/dist/types/models/contractNegotiation/IContractOfferMessage.d.ts +2 -2
  95. package/dist/types/models/contractNegotiation/IContractRequestMessage.d.ts +2 -2
  96. package/dist/types/models/dataspaceProtocolContextType.d.ts +14 -0
  97. package/dist/types/models/dataspaceProtocolContexts.d.ts +17 -0
  98. package/dist/types/models/transferProcess/IDataAddress.d.ts +24 -0
  99. package/dist/types/models/transferProcess/IEndpointProperty.d.ts +19 -0
  100. package/dist/types/models/transferProcess/ITransferCompletionMessage.d.ts +24 -0
  101. package/dist/types/models/transferProcess/ITransferError.d.ts +32 -0
  102. package/dist/types/models/transferProcess/ITransferProcess.d.ts +29 -0
  103. package/dist/types/models/transferProcess/ITransferRequestMessage.d.ts +39 -0
  104. package/dist/types/models/transferProcess/ITransferStartMessage.d.ts +30 -0
  105. package/dist/types/models/transferProcess/ITransferSuspensionMessage.d.ts +32 -0
  106. package/dist/types/models/transferProcess/ITransferTerminationMessage.d.ts +32 -0
  107. package/dist/types/models/transferProcess/transferProcessTypes.d.ts +46 -0
  108. package/dist/types/models/transferProcess/types/transferProcessStateType.d.ts +30 -0
  109. package/docs/changelog.md +35 -0
  110. package/docs/reference/classes/CatalogDataTypes.md +25 -0
  111. package/docs/reference/classes/ContractNegotiationDataTypes.md +1 -13
  112. package/docs/reference/classes/DataspaceProtocolDataTypes.md +37 -0
  113. package/docs/reference/classes/TransferProcessDataTypes.md +25 -0
  114. package/docs/reference/index.md +24 -3
  115. package/docs/reference/interfaces/ICatalogError.md +36 -0
  116. package/docs/reference/interfaces/ICatalogRequestMessage.md +28 -0
  117. package/docs/reference/interfaces/IContractAgreementMessage.md +1 -1
  118. package/docs/reference/interfaces/IContractAgreementVerificationMessage.md +1 -1
  119. package/docs/reference/interfaces/IContractNegotiation.md +1 -1
  120. package/docs/reference/interfaces/IContractNegotiationError.md +2 -26
  121. package/docs/reference/interfaces/IContractNegotiationEventMessage.md +1 -1
  122. package/docs/reference/interfaces/IContractNegotiationTerminationMessage.md +1 -1
  123. package/docs/reference/interfaces/IContractOfferMessage.md +1 -1
  124. package/docs/reference/interfaces/IContractRequestMessage.md +1 -1
  125. package/docs/reference/interfaces/IDataAddress.md +36 -0
  126. package/docs/reference/interfaces/IDatasetRequestMessage.md +28 -0
  127. package/docs/reference/interfaces/IEndpointProperty.md +28 -0
  128. package/docs/reference/interfaces/ITransferCompletionMessage.md +36 -0
  129. package/docs/reference/interfaces/ITransferError.md +52 -0
  130. package/docs/reference/interfaces/ITransferProcess.md +74 -0
  131. package/docs/reference/interfaces/ITransferRequestMessage.md +62 -0
  132. package/docs/reference/interfaces/ITransferStartMessage.md +45 -0
  133. package/docs/reference/interfaces/ITransferSuspensionMessage.md +52 -0
  134. package/docs/reference/interfaces/ITransferTerminationMessage.md +52 -0
  135. package/docs/reference/type-aliases/CatalogTypes.md +5 -0
  136. package/docs/reference/type-aliases/DataspaceProtocolContextType.md +5 -0
  137. package/docs/reference/type-aliases/DataspaceProtocolContexts.md +5 -0
  138. package/docs/reference/type-aliases/TransferProcessStateType.md +5 -0
  139. package/docs/reference/type-aliases/TransferProcessTypes.md +5 -0
  140. package/docs/reference/variables/CatalogTypes.md +26 -0
  141. package/docs/reference/variables/DataspaceProtocolContexts.md +19 -0
  142. package/docs/reference/variables/TransferProcessStateType.md +38 -0
  143. package/docs/reference/variables/TransferProcessTypes.md +62 -0
  144. package/package.json +3 -2
  145. package/dist/es/models/contractNegotiation/contractNegotiationContextType.js +0 -2
  146. package/dist/es/models/contractNegotiation/contractNegotiationContextType.js.map +0 -1
  147. package/dist/es/models/contractNegotiation/contractNegotiationContexts.js +0 -17
  148. package/dist/es/models/contractNegotiation/contractNegotiationContexts.js.map +0 -1
  149. package/dist/types/models/contractNegotiation/contractNegotiationContextType.d.ts +0 -14
  150. package/dist/types/models/contractNegotiation/contractNegotiationContexts.d.ts +0 -17
  151. package/docs/reference/type-aliases/ContractNegotiationContextType.md +0 -5
  152. package/docs/reference/type-aliases/ContractNegotiationContexts.md +0 -5
  153. package/docs/reference/variables/ContractNegotiationContexts.md +0 -19
@@ -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).
@@ -0,0 +1,52 @@
1
+ # Interface: ITransferTerminationMessage
2
+
3
+ Interface for Dataspace Protocol Transfer Messages.
4
+ https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#transfer-termination-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 termination code.
45
+
46
+ ***
47
+
48
+ ### reason?
49
+
50
+ > `optional` **reason**: `any`[]
51
+
52
+ The termination reason(s).
@@ -0,0 +1,5 @@
1
+ # Type Alias: CatalogTypes
2
+
3
+ > **CatalogTypes** = *typeof* [`CatalogTypes`](../variables/CatalogTypes.md)\[keyof *typeof* [`CatalogTypes`](../variables/CatalogTypes.md)\]
4
+
5
+ The types for Dataspace Protocol Catalog Protocol.
@@ -0,0 +1,5 @@
1
+ # Type Alias: DataspaceProtocolContextType
2
+
3
+ > **DataspaceProtocolContextType** = \[*typeof* [`ContextRoot`](../variables/DataspaceProtocolContexts.md#contextroot)\] \| \[`...IJsonLdContextDefinitionElement[]`, *typeof* [`ContextRoot`](../variables/DataspaceProtocolContexts.md#contextroot), `IJsonLdContextDefinitionElement`\] \| \[`IJsonLdContextDefinitionElement`, *typeof* [`ContextRoot`](../variables/DataspaceProtocolContexts.md#contextroot), `...IJsonLdContextDefinitionElement[]`\]
4
+
5
+ The Dataspace Protocol Protocol JSON-LD context type.
@@ -0,0 +1,5 @@
1
+ # Type Alias: DataspaceProtocolContexts
2
+
3
+ > **DataspaceProtocolContexts** = *typeof* [`DataspaceProtocolContexts`](../variables/DataspaceProtocolContexts.md)\[keyof *typeof* [`DataspaceProtocolContexts`](../variables/DataspaceProtocolContexts.md)\]
4
+
5
+ The contexts for Dataspace Protocol Protocol.
@@ -0,0 +1,5 @@
1
+ # Type Alias: TransferProcessStateType
2
+
3
+ > **TransferProcessStateType** = *typeof* [`TransferProcessStateType`](../variables/TransferProcessStateType.md)\[keyof *typeof* [`TransferProcessStateType`](../variables/TransferProcessStateType.md)\]
4
+
5
+ The types for Dataspace Protocol Transfer.
@@ -0,0 +1,5 @@
1
+ # Type Alias: TransferProcessTypes
2
+
3
+ > **TransferProcessTypes** = *typeof* [`TransferProcessTypes`](../variables/TransferProcessTypes.md)\[keyof *typeof* [`TransferProcessTypes`](../variables/TransferProcessTypes.md)\]
4
+
5
+ The types for Dataspace Protocol Transfer.
@@ -0,0 +1,26 @@
1
+ # Variable: CatalogTypes
2
+
3
+ > `const` **CatalogTypes**: `object`
4
+
5
+ The types for Dataspace Protocol Catalog Protocol.
6
+ https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#catalog-protocol
7
+
8
+ ## Type Declaration
9
+
10
+ ### CatalogRequestMessage
11
+
12
+ > `readonly` **CatalogRequestMessage**: `"CatalogRequestMessage"` = `"CatalogRequestMessage"`
13
+
14
+ Catalog Request Message.
15
+
16
+ ### DatasetRequestMessage
17
+
18
+ > `readonly` **DatasetRequestMessage**: `"DatasetRequestMessage"` = `"DatasetRequestMessage"`
19
+
20
+ Dataset Request Message.
21
+
22
+ ### CatalogError
23
+
24
+ > `readonly` **CatalogError**: `"CatalogError"` = `"CatalogError"`
25
+
26
+ Catalog Error.
@@ -0,0 +1,19 @@
1
+ # Variable: DataspaceProtocolContexts
2
+
3
+ > `const` **DataspaceProtocolContexts**: `object`
4
+
5
+ The contexts for Dataspace Protocol Protocol.
6
+
7
+ ## Type Declaration
8
+
9
+ ### ContextRoot
10
+
11
+ > `readonly` **ContextRoot**: `"https://w3id.org/dspace/2025/1/context.json"` = `"https://w3id.org/dspace/2025/1/context.json"`
12
+
13
+ The context root for Dataspace Protocol Protocol.
14
+
15
+ ### ContextRedirect
16
+
17
+ > `readonly` **ContextRedirect**: `"https://w3id.org/dspace/2025/1/context.jsonld"` = `"https://w3id.org/dspace/2025/1/context.jsonld"`
18
+
19
+ The context redirect for Dataspace Protocol Protocol.
@@ -0,0 +1,38 @@
1
+ # Variable: TransferProcessStateType
2
+
3
+ > `const` **TransferProcessStateType**: `object`
4
+
5
+ The states for Dataspace Protocol Transfer Process.
6
+ https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1-err1/#ack-transfer-process
7
+
8
+ ## Type Declaration
9
+
10
+ ### COMPLETED
11
+
12
+ > **COMPLETED**: `string` = `"COMPLETED"`
13
+
14
+ Completed
15
+
16
+ ### REQUESTED
17
+
18
+ > **REQUESTED**: `string` = `"REQUESTED"`
19
+
20
+ Requested
21
+
22
+ ### STARTED
23
+
24
+ > **STARTED**: `string` = `"STARTED"`
25
+
26
+ Started
27
+
28
+ ### SUSPENDED
29
+
30
+ > **SUSPENDED**: `string` = `"SUSPENDED"`
31
+
32
+ Suspended
33
+
34
+ ### TERMINATED
35
+
36
+ > **TERMINATED**: `string` = `"TERMINATED"`
37
+
38
+ Terminated
@@ -0,0 +1,62 @@
1
+ # Variable: TransferProcessTypes
2
+
3
+ > `const` **TransferProcessTypes**: `object`
4
+
5
+ The types for Dataspace Protocol Transfer Process.
6
+ https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1-err1/#message-types-1
7
+
8
+ ## Type Declaration
9
+
10
+ ### TransferRequestMessage
11
+
12
+ > **TransferRequestMessage**: `string` = `"TransferRequestMessage"`
13
+
14
+ Transfer Request Message.
15
+
16
+ ### TransferStartMessage
17
+
18
+ > **TransferStartMessage**: `string` = `"TransferStartMessage"`
19
+
20
+ Transfer Start Message.
21
+
22
+ ### TransferSuspensionMessage
23
+
24
+ > **TransferSuspensionMessage**: `string` = `"TransferSuspensionMessage"`
25
+
26
+ Transfer Suspension Message.
27
+
28
+ ### TransferCompletionMessage
29
+
30
+ > **TransferCompletionMessage**: `string` = `"TransferCompletionMessage"`
31
+
32
+ Transfer Completion Message.
33
+
34
+ ### TransferTerminationMessage
35
+
36
+ > **TransferTerminationMessage**: `string` = `"TransferTerminationMessage"`
37
+
38
+ Transfer Termination Message.
39
+
40
+ ### DataAddress
41
+
42
+ > **DataAddress**: `string` = `"DataAddress"`
43
+
44
+ Data Address
45
+
46
+ ### EndpointProperty
47
+
48
+ > **EndpointProperty**: `string` = `"EndpointProperty"`
49
+
50
+ Endpoint property.
51
+
52
+ ### TransferProcess
53
+
54
+ > **TransferProcess**: `string` = `"TransferProcess"`
55
+
56
+ Transfer Process
57
+
58
+ ### TransferError
59
+
60
+ > **TransferError**: `string` = `"TransferError"`
61
+
62
+ Transfer Error.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/standards-dataspace-protocol",
3
- "version": "0.0.3-next.3",
3
+ "version": "0.0.3-next.5",
4
4
  "description": "Models which define the structure of Dataspace Protocol",
5
5
  "repository": {
6
6
  "type": "git",
@@ -17,7 +17,8 @@
17
17
  "@twin.org/core": "next",
18
18
  "@twin.org/data-core": "next",
19
19
  "@twin.org/data-json-ld": "next",
20
- "@twin.org/standards-w3c-odrl": "0.0.3-next.3",
20
+ "@twin.org/standards-w3c-dcat": "0.0.3-next.5",
21
+ "@twin.org/standards-w3c-odrl": "0.0.3-next.5",
21
22
  "@twin.org/web": "next"
22
23
  },
23
24
  "main": "./dist/es/index.js",
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=contractNegotiationContextType.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"contractNegotiationContextType.js","sourceRoot":"","sources":["../../../../src/models/contractNegotiation/contractNegotiationContextType.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdContextDefinitionElement } from \"@twin.org/data-json-ld\";\nimport type { ContractNegotiationContexts } from \"./contractNegotiationContexts.js\";\n\n/**\n * The Dataspace Protocol Contract Negotiation JSON-LD context type.\n */\nexport type ContractNegotiationContextType =\n\t| typeof ContractNegotiationContexts.ContextRoot\n\t| [\n\t\t\t...IJsonLdContextDefinitionElement[],\n\t\t\ttypeof ContractNegotiationContexts.ContextRoot,\n\t\t\tIJsonLdContextDefinitionElement\n\t ]\n\t| [\n\t\t\tIJsonLdContextDefinitionElement,\n\t\t\ttypeof ContractNegotiationContexts.ContextRoot,\n\t\t\t...IJsonLdContextDefinitionElement[]\n\t ];\n"]}
@@ -1,17 +0,0 @@
1
- // Copyright 2024 IOTA Stiftung.
2
- // SPDX-License-Identifier: Apache-2.0.
3
- /**
4
- * The contexts for Dataspace Protocol Contract Negotiation Protocol.
5
- */
6
- // eslint-disable-next-line @typescript-eslint/naming-convention
7
- export const ContractNegotiationContexts = {
8
- /**
9
- * The context root for Dataspace Protocol Contract Negotiation Protocol.
10
- */
11
- ContextRoot: "https://w3id.org/dspace/2024/1/context.json",
12
- /**
13
- * The context redirect for Dataspace Protocol Contract Negotiation Protocol.
14
- */
15
- ContextRedirect: "https://w3id.org/dspace/2025/1/context.jsonld"
16
- };
17
- //# sourceMappingURL=contractNegotiationContexts.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"contractNegotiationContexts.js","sourceRoot":"","sources":["../../../../src/models/contractNegotiation/contractNegotiationContexts.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,2BAA2B,GAAG;IAC1C;;OAEG;IACH,WAAW,EAAE,6CAA6C;IAE1D;;OAEG;IACH,eAAe,EAAE,+CAA+C;CACvD,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The contexts for Dataspace Protocol Contract Negotiation Protocol.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const ContractNegotiationContexts = {\n\t/**\n\t * The context root for Dataspace Protocol Contract Negotiation Protocol.\n\t */\n\tContextRoot: \"https://w3id.org/dspace/2024/1/context.json\",\n\n\t/**\n\t * The context redirect for Dataspace Protocol Contract Negotiation Protocol.\n\t */\n\tContextRedirect: \"https://w3id.org/dspace/2025/1/context.jsonld\"\n} as const;\n\n/**\n * The contexts for Dataspace Protocol Contract Negotiation Protocol.\n */\nexport type ContractNegotiationContexts =\n\t(typeof ContractNegotiationContexts)[keyof typeof ContractNegotiationContexts];\n"]}
@@ -1,14 +0,0 @@
1
- import type { IJsonLdContextDefinitionElement } from "@twin.org/data-json-ld";
2
- import type { ContractNegotiationContexts } from "./contractNegotiationContexts.js";
3
- /**
4
- * The Dataspace Protocol Contract Negotiation JSON-LD context type.
5
- */
6
- export type ContractNegotiationContextType = typeof ContractNegotiationContexts.ContextRoot | [
7
- ...IJsonLdContextDefinitionElement[],
8
- typeof ContractNegotiationContexts.ContextRoot,
9
- IJsonLdContextDefinitionElement
10
- ] | [
11
- IJsonLdContextDefinitionElement,
12
- typeof ContractNegotiationContexts.ContextRoot,
13
- ...IJsonLdContextDefinitionElement[]
14
- ];
@@ -1,17 +0,0 @@
1
- /**
2
- * The contexts for Dataspace Protocol Contract Negotiation Protocol.
3
- */
4
- export declare const ContractNegotiationContexts: {
5
- /**
6
- * The context root for Dataspace Protocol Contract Negotiation Protocol.
7
- */
8
- readonly ContextRoot: "https://w3id.org/dspace/2024/1/context.json";
9
- /**
10
- * The context redirect for Dataspace Protocol Contract Negotiation Protocol.
11
- */
12
- readonly ContextRedirect: "https://w3id.org/dspace/2025/1/context.jsonld";
13
- };
14
- /**
15
- * The contexts for Dataspace Protocol Contract Negotiation Protocol.
16
- */
17
- export type ContractNegotiationContexts = (typeof ContractNegotiationContexts)[keyof typeof ContractNegotiationContexts];
@@ -1,5 +0,0 @@
1
- # Type Alias: ContractNegotiationContextType
2
-
3
- > **ContractNegotiationContextType** = *typeof* [`ContextRoot`](../variables/ContractNegotiationContexts.md#contextroot) \| \[`...IJsonLdContextDefinitionElement[]`, *typeof* [`ContextRoot`](../variables/ContractNegotiationContexts.md#contextroot), `IJsonLdContextDefinitionElement`\] \| \[`IJsonLdContextDefinitionElement`, *typeof* [`ContextRoot`](../variables/ContractNegotiationContexts.md#contextroot), `...IJsonLdContextDefinitionElement[]`\]
4
-
5
- The Dataspace Protocol Contract Negotiation JSON-LD context type.