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

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 (228) hide show
  1. package/dist/es/dataTypes/catalogDataTypes.js +61 -0
  2. package/dist/es/dataTypes/catalogDataTypes.js.map +1 -0
  3. package/dist/es/dataTypes/contractNegotiationDataTypes.js +60 -71
  4. package/dist/es/dataTypes/contractNegotiationDataTypes.js.map +1 -1
  5. package/dist/es/dataTypes/dataspaceProtocolDataTypes.js +30 -0
  6. package/dist/es/dataTypes/dataspaceProtocolDataTypes.js.map +1 -0
  7. package/dist/es/dataTypes/transferProcessDataTypes.js +65 -0
  8. package/dist/es/dataTypes/transferProcessDataTypes.js.map +1 -0
  9. package/dist/es/index.js +41 -14
  10. package/dist/es/index.js.map +1 -1
  11. package/dist/es/models/catalog/IDataspaceProtocolCatalog.js +2 -0
  12. package/dist/es/models/catalog/IDataspaceProtocolCatalog.js.map +1 -0
  13. package/dist/es/models/catalog/IDataspaceProtocolCatalogError.js +2 -0
  14. package/dist/es/models/catalog/IDataspaceProtocolCatalogError.js.map +1 -0
  15. package/dist/es/models/catalog/IDataspaceProtocolCatalogRequestMessage.js +2 -0
  16. package/dist/es/models/catalog/IDataspaceProtocolCatalogRequestMessage.js.map +1 -0
  17. package/dist/es/models/catalog/IDataspaceProtocolDataService.js +2 -0
  18. package/dist/es/models/catalog/IDataspaceProtocolDataService.js.map +1 -0
  19. package/dist/es/models/catalog/IDataspaceProtocolDataset.js +2 -0
  20. package/dist/es/models/catalog/IDataspaceProtocolDataset.js.map +1 -0
  21. package/dist/es/models/catalog/IDataspaceProtocolDatasetRequestMessage.js +2 -0
  22. package/dist/es/models/catalog/IDataspaceProtocolDatasetRequestMessage.js.map +1 -0
  23. package/dist/es/models/catalog/IDataspaceProtocolDistribution.js +2 -0
  24. package/dist/es/models/catalog/IDataspaceProtocolDistribution.js.map +1 -0
  25. package/dist/es/models/catalog/dataspaceProtocolCatalogTypes.js +38 -0
  26. package/dist/es/models/catalog/dataspaceProtocolCatalogTypes.js.map +1 -0
  27. package/dist/es/models/contractNegotiation/IDataspaceProtocolContractAgreementMessage.js +2 -0
  28. package/dist/es/models/contractNegotiation/IDataspaceProtocolContractAgreementMessage.js.map +1 -0
  29. package/dist/es/models/contractNegotiation/IDataspaceProtocolContractAgreementVerificationMessage.js +2 -0
  30. package/dist/es/models/contractNegotiation/IDataspaceProtocolContractAgreementVerificationMessage.js.map +1 -0
  31. package/dist/es/models/contractNegotiation/IDataspaceProtocolContractNegotiation.js +2 -0
  32. package/dist/es/models/contractNegotiation/IDataspaceProtocolContractNegotiation.js.map +1 -0
  33. package/dist/es/models/contractNegotiation/IDataspaceProtocolContractNegotiationError.js +2 -0
  34. package/dist/es/models/contractNegotiation/IDataspaceProtocolContractNegotiationError.js.map +1 -0
  35. package/dist/es/models/contractNegotiation/IDataspaceProtocolContractNegotiationEventMessage.js +2 -0
  36. package/dist/es/models/contractNegotiation/IDataspaceProtocolContractNegotiationEventMessage.js.map +1 -0
  37. package/dist/es/models/contractNegotiation/IDataspaceProtocolContractNegotiationTerminationMessage.js +2 -0
  38. package/dist/es/models/contractNegotiation/IDataspaceProtocolContractNegotiationTerminationMessage.js.map +1 -0
  39. package/dist/es/models/contractNegotiation/IDataspaceProtocolContractOfferMessage.js +2 -0
  40. package/dist/es/models/contractNegotiation/IDataspaceProtocolContractOfferMessage.js.map +1 -0
  41. package/dist/es/models/contractNegotiation/IDataspaceProtocolContractRequestMessage.js +2 -0
  42. package/dist/es/models/contractNegotiation/IDataspaceProtocolContractRequestMessage.js.map +1 -0
  43. package/dist/es/models/contractNegotiation/{contractNegotiationTypes.js → dataspaceProtocolContractNegotiationTypes.js} +3 -3
  44. package/dist/es/models/contractNegotiation/dataspaceProtocolContractNegotiationTypes.js.map +1 -0
  45. package/dist/es/models/contractNegotiation/types/{contractNegotiationEventType.js → dataspaceProtocolContractNegotiationEventType.js} +3 -3
  46. package/dist/es/models/contractNegotiation/types/dataspaceProtocolContractNegotiationEventType.js.map +1 -0
  47. package/dist/es/models/contractNegotiation/types/{contractNegotiationStateType.js → dataspaceProtocolContractNegotiationStateType.js} +3 -3
  48. package/dist/es/models/contractNegotiation/types/dataspaceProtocolContractNegotiationStateType.js.map +1 -0
  49. package/dist/es/models/dataspaceProtocolContextType.js +2 -0
  50. package/dist/es/models/dataspaceProtocolContextType.js.map +1 -0
  51. package/dist/es/models/dataspaceProtocolContexts.js +25 -0
  52. package/dist/es/models/dataspaceProtocolContexts.js.map +1 -0
  53. package/dist/es/models/transferProcess/IDataspaceProtocolDataAddress.js +2 -0
  54. package/dist/es/models/transferProcess/IDataspaceProtocolDataAddress.js.map +1 -0
  55. package/dist/es/models/transferProcess/IDataspaceProtocolEndpointProperty.js +2 -0
  56. package/dist/es/models/transferProcess/IDataspaceProtocolEndpointProperty.js.map +1 -0
  57. package/dist/es/models/transferProcess/IDataspaceProtocolTransferCompletionMessage.js +2 -0
  58. package/dist/es/models/transferProcess/IDataspaceProtocolTransferCompletionMessage.js.map +1 -0
  59. package/dist/es/models/transferProcess/IDataspaceProtocolTransferError.js +2 -0
  60. package/dist/es/models/transferProcess/IDataspaceProtocolTransferError.js.map +1 -0
  61. package/dist/es/models/transferProcess/IDataspaceProtocolTransferProcess.js +2 -0
  62. package/dist/es/models/transferProcess/IDataspaceProtocolTransferProcess.js.map +1 -0
  63. package/dist/es/models/transferProcess/IDataspaceProtocolTransferRequestMessage.js +2 -0
  64. package/dist/es/models/transferProcess/IDataspaceProtocolTransferRequestMessage.js.map +1 -0
  65. package/dist/es/models/transferProcess/IDataspaceProtocolTransferStartMessage.js +2 -0
  66. package/dist/es/models/transferProcess/IDataspaceProtocolTransferStartMessage.js.map +1 -0
  67. package/dist/es/models/transferProcess/IDataspaceProtocolTransferSuspensionMessage.js +4 -0
  68. package/dist/es/models/transferProcess/IDataspaceProtocolTransferSuspensionMessage.js.map +1 -0
  69. package/dist/es/models/transferProcess/IDataspaceProtocolTransferTerminationMessage.js +2 -0
  70. package/dist/es/models/transferProcess/IDataspaceProtocolTransferTerminationMessage.js.map +1 -0
  71. package/dist/es/models/transferProcess/dataspaceProtocolTransferProcessTypes.js +46 -0
  72. package/dist/es/models/transferProcess/dataspaceProtocolTransferProcessTypes.js.map +1 -0
  73. package/dist/es/models/transferProcess/types/dataspaceProtocolEndpointType.js +89 -0
  74. package/dist/es/models/transferProcess/types/dataspaceProtocolEndpointType.js.map +1 -0
  75. package/dist/es/models/transferProcess/types/dataspaceProtocolTransferProcessStateType.js +30 -0
  76. package/dist/es/models/transferProcess/types/dataspaceProtocolTransferProcessStateType.js.map +1 -0
  77. package/dist/es/schemas/DataspaceProtocolCatalog.json +11 -0
  78. package/dist/es/schemas/DataspaceProtocolCatalogError.json +78 -0
  79. package/dist/es/schemas/DataspaceProtocolCatalogRequestMessage.json +73 -0
  80. package/dist/es/schemas/{ContractAgreementMessage.json → DataspaceProtocolContractAgreementMessage.json} +14 -5
  81. package/dist/es/schemas/{ContractAgreementVerificationMessage.json → DataspaceProtocolContractAgreementVerificationMessage.json} +14 -5
  82. package/dist/es/schemas/{ContractNegotiation.json → DataspaceProtocolContractNegotiation.json} +15 -6
  83. package/dist/es/schemas/{ContractNegotiationError.json → DataspaceProtocolContractNegotiationError.json} +15 -39
  84. package/dist/es/schemas/{ContractNegotiationEventMessage.json → DataspaceProtocolContractNegotiationEventMessage.json} +15 -6
  85. package/dist/es/schemas/{ContractNegotiationEventType.json → DataspaceProtocolContractNegotiationEventType.json} +1 -1
  86. package/dist/es/schemas/{ContractNegotiationStateType.json → DataspaceProtocolContractNegotiationStateType.json} +1 -1
  87. package/dist/es/schemas/{ContractNegotiationTerminationMessage.json → DataspaceProtocolContractNegotiationTerminationMessage.json} +14 -5
  88. package/dist/es/schemas/{ContractOfferMessage.json → DataspaceProtocolContractOfferMessage.json} +14 -5
  89. package/dist/es/schemas/{ContractRequestMessage.json → DataspaceProtocolContractRequestMessage.json} +14 -5
  90. package/dist/es/schemas/DataspaceProtocolDataAddress.json +33 -0
  91. package/dist/es/schemas/DataspaceProtocolDataset.json +11 -0
  92. package/dist/es/schemas/DataspaceProtocolDatasetRequestMessage.json +73 -0
  93. package/dist/es/schemas/DataspaceProtocolEndpointProperty.json +27 -0
  94. package/dist/es/schemas/DataspaceProtocolTransferCompletionMessage.json +78 -0
  95. package/dist/es/schemas/DataspaceProtocolTransferError.json +87 -0
  96. package/dist/es/schemas/DataspaceProtocolTransferProcess.json +83 -0
  97. package/dist/es/schemas/DataspaceProtocolTransferRequestMessage.json +92 -0
  98. package/dist/es/schemas/DataspaceProtocolTransferStartMessage.json +82 -0
  99. package/dist/es/schemas/DataspaceProtocolTransferSuspensionMessage.json +87 -0
  100. package/dist/es/schemas/DataspaceProtocolTransferTerminationMessage.json +87 -0
  101. package/dist/es/schemas-src/DataspaceProtocolDataService.json +11 -0
  102. package/dist/es/schemas-src/DataspaceProtocolDistribution.json +11 -0
  103. package/dist/es/utils/dataspaceProtocolHelper.js +110 -0
  104. package/dist/es/utils/dataspaceProtocolHelper.js.map +1 -0
  105. package/dist/types/dataTypes/catalogDataTypes.d.ts +9 -0
  106. package/dist/types/dataTypes/contractNegotiationDataTypes.d.ts +1 -5
  107. package/dist/types/dataTypes/dataspaceProtocolDataTypes.d.ts +13 -0
  108. package/dist/types/dataTypes/transferProcessDataTypes.d.ts +9 -0
  109. package/dist/types/index.d.ts +37 -13
  110. package/dist/types/models/catalog/IDataspaceProtocolCatalog.d.ts +63 -0
  111. package/dist/types/models/catalog/IDataspaceProtocolCatalogError.d.ts +24 -0
  112. package/dist/types/models/catalog/IDataspaceProtocolCatalogRequestMessage.d.ts +20 -0
  113. package/dist/types/models/catalog/IDataspaceProtocolDataService.d.ts +49 -0
  114. package/dist/types/models/catalog/IDataspaceProtocolDataset.d.ts +66 -0
  115. package/dist/types/models/catalog/IDataspaceProtocolDatasetRequestMessage.d.ts +20 -0
  116. package/dist/types/models/catalog/IDataspaceProtocolDistribution.d.ts +70 -0
  117. package/dist/types/models/catalog/dataspaceProtocolCatalogTypes.d.ts +38 -0
  118. package/dist/types/models/contractNegotiation/{IContractAgreementMessage.d.ts → IDataspaceProtocolContractAgreementMessage.d.ts} +5 -5
  119. package/dist/types/models/contractNegotiation/{IContractAgreementVerificationMessage.d.ts → IDataspaceProtocolContractAgreementVerificationMessage.d.ts} +5 -5
  120. package/dist/types/models/contractNegotiation/IDataspaceProtocolContractNegotiation.d.ts +29 -0
  121. package/dist/types/models/contractNegotiation/{IContractNegotiationError.d.ts → IDataspaceProtocolContractNegotiationError.d.ts} +6 -16
  122. package/dist/types/models/contractNegotiation/IDataspaceProtocolContractNegotiationEventMessage.d.ts +29 -0
  123. package/dist/types/models/contractNegotiation/{IContractNegotiationTerminationMessage.d.ts → IDataspaceProtocolContractNegotiationTerminationMessage.d.ts} +5 -5
  124. package/dist/types/models/contractNegotiation/{IContractOfferMessage.d.ts → IDataspaceProtocolContractOfferMessage.d.ts} +5 -5
  125. package/dist/types/models/contractNegotiation/{IContractRequestMessage.d.ts → IDataspaceProtocolContractRequestMessage.d.ts} +5 -5
  126. package/dist/types/models/contractNegotiation/dataspaceProtocolContractNegotiationTypes.d.ts +50 -0
  127. package/dist/types/models/contractNegotiation/types/{contractNegotiationEventType.d.ts → dataspaceProtocolContractNegotiationEventType.d.ts} +2 -2
  128. package/dist/types/models/contractNegotiation/types/{contractNegotiationStateType.d.ts → dataspaceProtocolContractNegotiationStateType.d.ts} +2 -2
  129. package/dist/types/models/dataspaceProtocolContextType.d.ts +14 -0
  130. package/dist/types/models/dataspaceProtocolContexts.d.ts +25 -0
  131. package/dist/types/models/transferProcess/IDataspaceProtocolDataAddress.d.ts +24 -0
  132. package/dist/types/models/transferProcess/IDataspaceProtocolEndpointProperty.d.ts +19 -0
  133. package/dist/types/models/transferProcess/IDataspaceProtocolTransferCompletionMessage.d.ts +24 -0
  134. package/dist/types/models/transferProcess/IDataspaceProtocolTransferError.d.ts +32 -0
  135. package/dist/types/models/transferProcess/IDataspaceProtocolTransferProcess.d.ts +29 -0
  136. package/dist/types/models/transferProcess/IDataspaceProtocolTransferRequestMessage.d.ts +39 -0
  137. package/dist/types/models/transferProcess/IDataspaceProtocolTransferStartMessage.d.ts +30 -0
  138. package/dist/types/models/transferProcess/IDataspaceProtocolTransferSuspensionMessage.d.ts +32 -0
  139. package/dist/types/models/transferProcess/IDataspaceProtocolTransferTerminationMessage.d.ts +32 -0
  140. package/dist/types/models/transferProcess/dataspaceProtocolTransferProcessTypes.d.ts +46 -0
  141. package/dist/types/models/transferProcess/types/dataspaceProtocolEndpointType.d.ts +89 -0
  142. package/dist/types/models/transferProcess/types/dataspaceProtocolTransferProcessStateType.d.ts +30 -0
  143. package/dist/types/utils/dataspaceProtocolHelper.d.ts +20 -0
  144. package/docs/changelog.md +470 -0
  145. package/docs/reference/classes/CatalogDataTypes.md +25 -0
  146. package/docs/reference/classes/ContractNegotiationDataTypes.md +1 -13
  147. package/docs/reference/classes/DataspaceProtocolDataTypes.md +37 -0
  148. package/docs/reference/classes/DataspaceProtocolHelper.md +63 -0
  149. package/docs/reference/classes/TransferProcessDataTypes.md +25 -0
  150. package/docs/reference/index.md +45 -17
  151. package/docs/reference/interfaces/IDataspaceProtocolCatalog.md +96 -0
  152. package/docs/reference/interfaces/IDataspaceProtocolCatalogError.md +36 -0
  153. package/docs/reference/interfaces/IDataspaceProtocolCatalogRequestMessage.md +28 -0
  154. package/docs/reference/interfaces/{IContractAgreementMessage.md → IDataspaceProtocolContractAgreementMessage.md} +3 -3
  155. package/docs/reference/interfaces/{IContractAgreementVerificationMessage.md → IDataspaceProtocolContractAgreementVerificationMessage.md} +3 -3
  156. package/docs/reference/interfaces/{IContractNegotiation.md → IDataspaceProtocolContractNegotiation.md} +4 -4
  157. package/docs/reference/interfaces/{IContractNegotiationError.md → IDataspaceProtocolContractNegotiationError.md} +4 -28
  158. package/docs/reference/interfaces/{IContractNegotiationEventMessage.md → IDataspaceProtocolContractNegotiationEventMessage.md} +4 -4
  159. package/docs/reference/interfaces/{IContractNegotiationTerminationMessage.md → IDataspaceProtocolContractNegotiationTerminationMessage.md} +3 -3
  160. package/docs/reference/interfaces/{IContractOfferMessage.md → IDataspaceProtocolContractOfferMessage.md} +3 -3
  161. package/docs/reference/interfaces/{IContractRequestMessage.md → IDataspaceProtocolContractRequestMessage.md} +3 -3
  162. package/docs/reference/interfaces/IDataspaceProtocolDataAddress.md +36 -0
  163. package/docs/reference/interfaces/IDataspaceProtocolDataService.md +72 -0
  164. package/docs/reference/interfaces/IDataspaceProtocolDataset.md +90 -0
  165. package/docs/reference/interfaces/IDataspaceProtocolDatasetRequestMessage.md +28 -0
  166. package/docs/reference/interfaces/IDataspaceProtocolDistribution.md +98 -0
  167. package/docs/reference/interfaces/IDataspaceProtocolEndpointProperty.md +28 -0
  168. package/docs/reference/interfaces/IDataspaceProtocolTransferCompletionMessage.md +36 -0
  169. package/docs/reference/interfaces/IDataspaceProtocolTransferError.md +52 -0
  170. package/docs/reference/interfaces/IDataspaceProtocolTransferProcess.md +44 -0
  171. package/docs/reference/interfaces/IDataspaceProtocolTransferRequestMessage.md +62 -0
  172. package/docs/reference/interfaces/IDataspaceProtocolTransferStartMessage.md +45 -0
  173. package/docs/reference/interfaces/IDataspaceProtocolTransferSuspensionMessage.md +52 -0
  174. package/docs/reference/interfaces/IDataspaceProtocolTransferTerminationMessage.md +52 -0
  175. package/docs/reference/type-aliases/DataspaceProtocolCatalogTypes.md +5 -0
  176. package/docs/reference/type-aliases/DataspaceProtocolContextType.md +5 -0
  177. package/docs/reference/type-aliases/DataspaceProtocolContexts.md +5 -0
  178. package/docs/reference/type-aliases/DataspaceProtocolContractNegotiationEventType.md +5 -0
  179. package/docs/reference/type-aliases/DataspaceProtocolContractNegotiationStateType.md +5 -0
  180. package/docs/reference/type-aliases/DataspaceProtocolContractNegotiationTypes.md +5 -0
  181. package/docs/reference/type-aliases/DataspaceProtocolEndpointType.md +12 -0
  182. package/docs/reference/type-aliases/DataspaceProtocolTransferProcessStateType.md +5 -0
  183. package/docs/reference/type-aliases/DataspaceProtocolTransferProcessTypes.md +5 -0
  184. package/docs/reference/variables/DataspaceProtocolCatalogTypes.md +50 -0
  185. package/docs/reference/variables/DataspaceProtocolContexts.md +31 -0
  186. package/docs/reference/variables/{ContractNegotiationEventType.md → DataspaceProtocolContractNegotiationEventType.md} +2 -2
  187. package/docs/reference/variables/{ContractNegotiationStateType.md → DataspaceProtocolContractNegotiationStateType.md} +2 -2
  188. package/docs/reference/variables/DataspaceProtocolContractNegotiationTypes.md +68 -0
  189. package/docs/reference/variables/DataspaceProtocolEndpointType.md +96 -0
  190. package/docs/reference/variables/DataspaceProtocolTransferProcessStateType.md +38 -0
  191. package/docs/reference/variables/DataspaceProtocolTransferProcessTypes.md +62 -0
  192. package/locales/en.json +7 -1
  193. package/package.json +3 -2
  194. package/dist/es/models/contractNegotiation/IContractAgreementMessage.js +0 -2
  195. package/dist/es/models/contractNegotiation/IContractAgreementMessage.js.map +0 -1
  196. package/dist/es/models/contractNegotiation/IContractAgreementVerificationMessage.js +0 -2
  197. package/dist/es/models/contractNegotiation/IContractAgreementVerificationMessage.js.map +0 -1
  198. package/dist/es/models/contractNegotiation/IContractNegotiation.js +0 -2
  199. package/dist/es/models/contractNegotiation/IContractNegotiation.js.map +0 -1
  200. package/dist/es/models/contractNegotiation/IContractNegotiationError.js +0 -2
  201. package/dist/es/models/contractNegotiation/IContractNegotiationError.js.map +0 -1
  202. package/dist/es/models/contractNegotiation/IContractNegotiationEventMessage.js +0 -2
  203. package/dist/es/models/contractNegotiation/IContractNegotiationEventMessage.js.map +0 -1
  204. package/dist/es/models/contractNegotiation/IContractNegotiationTerminationMessage.js +0 -2
  205. package/dist/es/models/contractNegotiation/IContractNegotiationTerminationMessage.js.map +0 -1
  206. package/dist/es/models/contractNegotiation/IContractOfferMessage.js +0 -2
  207. package/dist/es/models/contractNegotiation/IContractOfferMessage.js.map +0 -1
  208. package/dist/es/models/contractNegotiation/IContractRequestMessage.js +0 -2
  209. package/dist/es/models/contractNegotiation/IContractRequestMessage.js.map +0 -1
  210. package/dist/es/models/contractNegotiation/contractNegotiationContextType.js +0 -2
  211. package/dist/es/models/contractNegotiation/contractNegotiationContextType.js.map +0 -1
  212. package/dist/es/models/contractNegotiation/contractNegotiationContexts.js +0 -17
  213. package/dist/es/models/contractNegotiation/contractNegotiationContexts.js.map +0 -1
  214. package/dist/es/models/contractNegotiation/contractNegotiationTypes.js.map +0 -1
  215. package/dist/es/models/contractNegotiation/types/contractNegotiationEventType.js.map +0 -1
  216. package/dist/es/models/contractNegotiation/types/contractNegotiationStateType.js.map +0 -1
  217. package/dist/types/models/contractNegotiation/IContractNegotiation.d.ts +0 -29
  218. package/dist/types/models/contractNegotiation/IContractNegotiationEventMessage.d.ts +0 -29
  219. package/dist/types/models/contractNegotiation/contractNegotiationContextType.d.ts +0 -14
  220. package/dist/types/models/contractNegotiation/contractNegotiationContexts.d.ts +0 -17
  221. package/dist/types/models/contractNegotiation/contractNegotiationTypes.d.ts +0 -50
  222. package/docs/reference/type-aliases/ContractNegotiationContextType.md +0 -5
  223. package/docs/reference/type-aliases/ContractNegotiationContexts.md +0 -5
  224. package/docs/reference/type-aliases/ContractNegotiationEventType.md +0 -5
  225. package/docs/reference/type-aliases/ContractNegotiationStateType.md +0 -5
  226. package/docs/reference/type-aliases/ContractNegotiationTypes.md +0 -5
  227. package/docs/reference/variables/ContractNegotiationContexts.md +0 -19
  228. package/docs/reference/variables/ContractNegotiationTypes.md +0 -68
@@ -0,0 +1,5 @@
1
+ # Type Alias: DataspaceProtocolContractNegotiationStateType
2
+
3
+ > **DataspaceProtocolContractNegotiationStateType** = *typeof* [`DataspaceProtocolContractNegotiationStateType`](../variables/DataspaceProtocolContractNegotiationStateType.md)\[keyof *typeof* [`DataspaceProtocolContractNegotiationStateType`](../variables/DataspaceProtocolContractNegotiationStateType.md)\]
4
+
5
+ The types for Dataspace Protocol Contract Negotiation States.
@@ -0,0 +1,5 @@
1
+ # Type Alias: DataspaceProtocolContractNegotiationTypes
2
+
3
+ > **DataspaceProtocolContractNegotiationTypes** = *typeof* [`DataspaceProtocolContractNegotiationTypes`](../variables/DataspaceProtocolContractNegotiationTypes.md)\[keyof *typeof* [`DataspaceProtocolContractNegotiationTypes`](../variables/DataspaceProtocolContractNegotiationTypes.md)\]
4
+
5
+ The types for Dataspace Protocol Contract Negotiation.
@@ -0,0 +1,12 @@
1
+ # Type Alias: DataspaceProtocolEndpointType
2
+
3
+ > **DataspaceProtocolEndpointType** = *typeof* [`DataspaceProtocolEndpointType`](../variables/DataspaceProtocolEndpointType.md)\[keyof *typeof* [`DataspaceProtocolEndpointType`](../variables/DataspaceProtocolEndpointType.md)\]
4
+
5
+ Type representing all valid Dataspace Protocol endpoint types.
6
+
7
+ All values are valid URIs as required by the DS Protocol JSON-LD context
8
+ which defines endpointType as @type:@vocab.
9
+
10
+ Includes:
11
+ - TWIN RFC 006 types: HttpsQueryEndpoint, HttpsActivityStreamEndpoint
12
+ - IDSA W3ID types: HTTP, HTTPS
@@ -0,0 +1,5 @@
1
+ # Type Alias: DataspaceProtocolTransferProcessStateType
2
+
3
+ > **DataspaceProtocolTransferProcessStateType** = *typeof* [`DataspaceProtocolTransferProcessStateType`](../variables/DataspaceProtocolTransferProcessStateType.md)\[keyof *typeof* [`DataspaceProtocolTransferProcessStateType`](../variables/DataspaceProtocolTransferProcessStateType.md)\]
4
+
5
+ The types for Dataspace Protocol Transfer.
@@ -0,0 +1,5 @@
1
+ # Type Alias: DataspaceProtocolTransferProcessTypes
2
+
3
+ > **DataspaceProtocolTransferProcessTypes** = *typeof* [`DataspaceProtocolTransferProcessTypes`](../variables/DataspaceProtocolTransferProcessTypes.md)\[keyof *typeof* [`DataspaceProtocolTransferProcessTypes`](../variables/DataspaceProtocolTransferProcessTypes.md)\]
4
+
5
+ The types for Dataspace Protocol Transfer.
@@ -0,0 +1,50 @@
1
+ # Variable: DataspaceProtocolCatalogTypes
2
+
3
+ > `const` **DataspaceProtocolCatalogTypes**: `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.
27
+
28
+ ### Dataset
29
+
30
+ > `readonly` **Dataset**: `"Dataset"` = `"Dataset"`
31
+
32
+ Dataset.
33
+
34
+ ### DataService
35
+
36
+ > `readonly` **DataService**: `"DataService"` = `"DataService"`
37
+
38
+ Data Service.
39
+
40
+ ### Distribution
41
+
42
+ > `readonly` **Distribution**: `"Distribution"` = `"Distribution"`
43
+
44
+ Distribution.
45
+
46
+ ### Catalog
47
+
48
+ > `readonly` **Catalog**: `"Catalog"` = `"Catalog"`
49
+
50
+ Catalog.
@@ -0,0 +1,31 @@
1
+ # Variable: DataspaceProtocolContexts
2
+
3
+ > `const` **DataspaceProtocolContexts**: `object`
4
+
5
+ The contexts for Dataspace Protocol Protocol.
6
+
7
+ ## Type Declaration
8
+
9
+ ### Namespace
10
+
11
+ > `readonly` **Namespace**: `"https://w3id.org/dspace/2025/1/"` = `"https://w3id.org/dspace/2025/1/"`
12
+
13
+ The canonical RDF namespace URI.
14
+
15
+ ### Context
16
+
17
+ > `readonly` **Context**: `"https://w3id.org/dspace/2025/1/context.jsonld"` = `"https://w3id.org/dspace/2025/1/context.jsonld"`
18
+
19
+ The value to use in @context.
20
+
21
+ ### JsonLdContext
22
+
23
+ > `readonly` **JsonLdContext**: `"https://w3id.org/dspace/2025/1/context.jsonld"` = `"https://w3id.org/dspace/2025/1/context.jsonld"`
24
+
25
+ The JSON-LD Context URL.
26
+
27
+ ### JsonSchemaNamespace
28
+
29
+ > `readonly` **JsonSchemaNamespace**: `"https://schema.twindev.org/dataspace-protocol/"` = `"https://schema.twindev.org/dataspace-protocol/"`
30
+
31
+ The namespace location of the hosted version of the JSON Schema.
@@ -1,6 +1,6 @@
1
- # Variable: ContractNegotiationEventType
1
+ # Variable: DataspaceProtocolContractNegotiationEventType
2
2
 
3
- > `const` **ContractNegotiationEventType**: `object`
3
+ > `const` **DataspaceProtocolContractNegotiationEventType**: `object`
4
4
 
5
5
  The types for Dataspace Protocol Contract Negotiation Events.
6
6
  https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#contract-negotiation-event-message
@@ -1,6 +1,6 @@
1
- # Variable: ContractNegotiationStateType
1
+ # Variable: DataspaceProtocolContractNegotiationStateType
2
2
 
3
- > `const` **ContractNegotiationStateType**: `object`
3
+ > `const` **DataspaceProtocolContractNegotiationStateType**: `object`
4
4
 
5
5
  The types for Dataspace Protocol Contract Negotiation States.
6
6
  https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#contract-negotiation-states
@@ -0,0 +1,68 @@
1
+ # Variable: DataspaceProtocolContractNegotiationTypes
2
+
3
+ > `const` **DataspaceProtocolContractNegotiationTypes**: `object`
4
+
5
+ The types for Dataspace Protocol Contract Negotiation.
6
+ https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#message-types-0
7
+
8
+ ## Type Declaration
9
+
10
+ ### ContractNegotiation
11
+
12
+ > `readonly` **ContractNegotiation**: `"ContractNegotiation"` = `"ContractNegotiation"`
13
+
14
+ Contract Negotiation.
15
+
16
+ ### ContractRequestMessage
17
+
18
+ > `readonly` **ContractRequestMessage**: `"ContractRequestMessage"` = `"ContractRequestMessage"`
19
+
20
+ Contract Request Message.
21
+
22
+ ### ContractOfferMessage
23
+
24
+ > `readonly` **ContractOfferMessage**: `"ContractOfferMessage"` = `"ContractOfferMessage"`
25
+
26
+ Contract Offer Message.
27
+
28
+ ### ContractAgreementMessage
29
+
30
+ > `readonly` **ContractAgreementMessage**: `"ContractAgreementMessage"` = `"ContractAgreementMessage"`
31
+
32
+ Contract Agreement Message.
33
+
34
+ ### ContractAgreementVerificationMessage
35
+
36
+ > `readonly` **ContractAgreementVerificationMessage**: `"ContractAgreementVerificationMessage"` = `"ContractAgreementVerificationMessage"`
37
+
38
+ Contract Agreement Verification Message.
39
+
40
+ ### ContractNegotiationEventMessage
41
+
42
+ > `readonly` **ContractNegotiationEventMessage**: `"ContractNegotiationEventMessage"` = `"ContractNegotiationEventMessage"`
43
+
44
+ Contract Negotiation Event Message.
45
+
46
+ ### ContractNegotiationTerminationMessage
47
+
48
+ > `readonly` **ContractNegotiationTerminationMessage**: `"ContractNegotiationTerminationMessage"` = `"ContractNegotiationTerminationMessage"`
49
+
50
+ Contract Negotiation Termination Message.
51
+
52
+ ### ContractNegotiationError
53
+
54
+ > `readonly` **ContractNegotiationError**: `"ContractNegotiationError"` = `"ContractNegotiationError"`
55
+
56
+ Contract Negotiation Error.
57
+
58
+ ### ContractNegotiationEventType
59
+
60
+ > `readonly` **ContractNegotiationEventType**: `"ContractNegotiationEventType"` = `"ContractNegotiationEventType"`
61
+
62
+ Contract Negotiation Event Type.
63
+
64
+ ### ContractNegotiationStateType
65
+
66
+ > `readonly` **ContractNegotiationStateType**: `"ContractNegotiationStateType"` = `"ContractNegotiationStateType"`
67
+
68
+ Contract Negotiation State Type.
@@ -0,0 +1,96 @@
1
+ # Variable: DataspaceProtocolEndpointType
2
+
3
+ > `const` **DataspaceProtocolEndpointType**: `object`
4
+
5
+ TWIN Data Space Protocol Profile endpoint type identifiers.
6
+
7
+ This module defines endpoint types according to the TWIN Foundation's
8
+ Data Space Protocol Profile (RFC 006), which extends the Eclipse Dataspace
9
+ Protocol specification with TWIN-specific vocabulary.
10
+
11
+ The TWIN vocabulary uses persistent identifiers under the
12
+ https://schema.twindev.org namespace to provide stable, semantic
13
+ identifiers for data space endpoint types.
14
+
15
+ References:
16
+ - TWIN RFC 006: https://github.com/twinfoundation/rfcs/blob/main/rfcs/data-space-protocol/006-data-space-protocol-profile.md
17
+ - TWIN DS Protocol Context: https://github.com/twinfoundation/rfcs/blob/main/rfcs/data-space-protocol/twin-ds-protocol-profile.jsonld
18
+ - Eclipse DSP Specification: https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/
19
+ - RFC 001 (Query Interface): https://github.com/twinfoundation/rfcs/blob/main/rfcs/data-space-connector/001-data-space-connector-query.md
20
+
21
+ ## Type Declaration
22
+
23
+ ### HttpsQueryEndpoint
24
+
25
+ > `readonly` **HttpsQueryEndpoint**: `"https://schema.twindev.org/dspace/v1/Https-Query-Endpoint"` = `"https://schema.twindev.org/dspace/v1/Https-Query-Endpoint"`
26
+
27
+ HTTPS Query Endpoint (TWIN DS Profile).
28
+
29
+ Used for PULL transfers via the TWIN Data Space Connector Query interface.
30
+ The consumer retrieves data by querying this endpoint using the data access token.
31
+ Endpoint must implement the interface specified in RFC 001.
32
+
33
+ Transfer Flow:
34
+ 1. Consumer initiates transfer request
35
+ 2. Provider returns this endpoint type with data access token
36
+ 3. Consumer queries the endpoint with the token to retrieve data
37
+
38
+ #### See
39
+
40
+ - https://github.com/twinfoundation/rfcs/blob/main/rfcs/data-space-protocol/006-data-space-protocol-profile.md#data-transfer-profile-vocabulary
41
+ - https://github.com/twinfoundation/rfcs/blob/main/rfcs/data-space-connector/001-data-space-connector-query.md
42
+
43
+ ### HttpsActivityStreamEndpoint
44
+
45
+ > `readonly` **HttpsActivityStreamEndpoint**: `"https://schema.twindev.org/dspace/v1/Https-Activity-Stream-Endpoint"` = `"https://schema.twindev.org/dspace/v1/Https-Activity-Stream-Endpoint"`
46
+
47
+ HTTPS Activity Stream Endpoint (TWIN DS Profile).
48
+
49
+ Used for PUSH transfers via Activity Streams 2.0 protocol.
50
+ The provider actively sends data to the consumer's Activity Stream inbox endpoint.
51
+ Based on W3C Activity Streams 2.0 specification.
52
+
53
+ Transfer Flow:
54
+ 1. Consumer initiates transfer request with this endpoint type
55
+ 2. Consumer provides their Activity Stream inbox URL
56
+ 3. Provider pushes data to the consumer's inbox as Activity Stream objects
57
+
58
+ #### See
59
+
60
+ - https://github.com/twinfoundation/rfcs/blob/main/rfcs/data-space-protocol/006-data-space-protocol-profile.md#data-transfer-profile-vocabulary
61
+ - https://www.w3.org/TR/activitystreams-core/
62
+ - https://www.w3.org/TR/activitypub/
63
+
64
+ ### HTTP
65
+
66
+ > `readonly` **HTTP**: `"https://w3id.org/idsa/v4.1/HTTP"` = `"https://w3id.org/idsa/v4.1/HTTP"`
67
+
68
+ HTTP endpoint (IDSA W3ID v4.1).
69
+
70
+ Persistent identifier for HTTP-based data access endpoints.
71
+ This W3ID URL is used as a semantic identifier in JSON-LD contexts.
72
+
73
+ Note: For TWIN-specific implementations, prefer using `HttpsQueryEndpoint`.
74
+ This constant is provided for interoperability with IDSA-based systems.
75
+
76
+ #### See
77
+
78
+ - https://w3id.org/idsa/v4.1/HTTP
79
+ - https://github.com/International-Data-Spaces-Association/InformationModel
80
+
81
+ ### HTTPS
82
+
83
+ > `readonly` **HTTPS**: `"https://w3id.org/idsa/v4.1/HTTPS"` = `"https://w3id.org/idsa/v4.1/HTTPS"`
84
+
85
+ HTTPS endpoint (IDSA W3ID v4.1).
86
+
87
+ Persistent identifier for HTTPS-based secure data access endpoints.
88
+ This W3ID URL is used as a semantic identifier in JSON-LD contexts.
89
+
90
+ Note: For TWIN-specific implementations, prefer using `HttpsQueryEndpoint`.
91
+ This constant is provided for interoperability with IDSA-based systems.
92
+
93
+ #### See
94
+
95
+ - https://w3id.org/idsa/v4.1/HTTPS
96
+ - https://github.com/International-Data-Spaces-Association/InformationModel
@@ -0,0 +1,38 @@
1
+ # Variable: DataspaceProtocolTransferProcessStateType
2
+
3
+ > `const` **DataspaceProtocolTransferProcessStateType**: `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
+ > `readonly` **COMPLETED**: `"COMPLETED"` = `"COMPLETED"`
13
+
14
+ Completed
15
+
16
+ ### REQUESTED
17
+
18
+ > `readonly` **REQUESTED**: `"REQUESTED"` = `"REQUESTED"`
19
+
20
+ Requested
21
+
22
+ ### STARTED
23
+
24
+ > `readonly` **STARTED**: `"STARTED"` = `"STARTED"`
25
+
26
+ Started
27
+
28
+ ### SUSPENDED
29
+
30
+ > `readonly` **SUSPENDED**: `"SUSPENDED"` = `"SUSPENDED"`
31
+
32
+ Suspended
33
+
34
+ ### TERMINATED
35
+
36
+ > `readonly` **TERMINATED**: `"TERMINATED"` = `"TERMINATED"`
37
+
38
+ Terminated
@@ -0,0 +1,62 @@
1
+ # Variable: DataspaceProtocolTransferProcessTypes
2
+
3
+ > `const` **DataspaceProtocolTransferProcessTypes**: `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
+ > `readonly` **TransferRequestMessage**: `"TransferRequestMessage"` = `"TransferRequestMessage"`
13
+
14
+ Transfer Request Message.
15
+
16
+ ### TransferStartMessage
17
+
18
+ > `readonly` **TransferStartMessage**: `"TransferStartMessage"` = `"TransferStartMessage"`
19
+
20
+ Transfer Start Message.
21
+
22
+ ### TransferSuspensionMessage
23
+
24
+ > `readonly` **TransferSuspensionMessage**: `"TransferSuspensionMessage"` = `"TransferSuspensionMessage"`
25
+
26
+ Transfer Suspension Message.
27
+
28
+ ### TransferCompletionMessage
29
+
30
+ > `readonly` **TransferCompletionMessage**: `"TransferCompletionMessage"` = `"TransferCompletionMessage"`
31
+
32
+ Transfer Completion Message.
33
+
34
+ ### TransferTerminationMessage
35
+
36
+ > `readonly` **TransferTerminationMessage**: `"TransferTerminationMessage"` = `"TransferTerminationMessage"`
37
+
38
+ Transfer Termination Message.
39
+
40
+ ### DataAddress
41
+
42
+ > `readonly` **DataAddress**: `"DataAddress"` = `"DataAddress"`
43
+
44
+ Data Address
45
+
46
+ ### EndpointProperty
47
+
48
+ > `readonly` **EndpointProperty**: `"EndpointProperty"` = `"EndpointProperty"`
49
+
50
+ Endpoint property.
51
+
52
+ ### TransferProcess
53
+
54
+ > `readonly` **TransferProcess**: `"TransferProcess"` = `"TransferProcess"`
55
+
56
+ Transfer Process
57
+
58
+ ### TransferError
59
+
60
+ > `readonly` **TransferError**: `"TransferError"` = `"TransferError"`
61
+
62
+ Transfer Error.
package/locales/en.json CHANGED
@@ -1 +1,7 @@
1
- {}
1
+ {
2
+ "error": {
3
+ "dataspaceProtocolHelper": {
4
+ "schemaNotRegistered": "JSON Schema \"{schemaId}\" is not registered in DataTypeHandlerFactory"
5
+ }
6
+ }
7
+ }
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.30",
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.30",
21
+ "@twin.org/standards-w3c-odrl": "0.0.3-next.30",
21
22
  "@twin.org/web": "next"
22
23
  },
23
24
  "main": "./dist/es/index.js",
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=IContractAgreementMessage.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IContractAgreementMessage.js","sourceRoot":"","sources":["../../../../src/models/contractNegotiation/IContractAgreementMessage.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IOdrlAgreement } from \"@twin.org/standards-w3c-odrl\";\nimport type { ContractNegotiationContextType } from \"./contractNegotiationContextType.js\";\nimport type { ContractNegotiationTypes } from \"./contractNegotiationTypes.js\";\n\n/**\n * Interface for Dataspace Protocol Contract Agreement Messages.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#contract-agreement-message\n */\nexport interface IContractAgreementMessage {\n\t/**\n\t * The JSON-LD context.\n\t */\n\t\"@context\": ContractNegotiationContextType;\n\n\t/**\n\t * The type of the message.\n\t */\n\t\"@type\": typeof ContractNegotiationTypes.ContractAgreementMessage;\n\n\t/**\n\t * The provider id for the contract.\n\t */\n\tproviderPid: string;\n\n\t/**\n\t * The consumer id for the contract.\n\t */\n\tconsumerPid: string;\n\n\t/**\n\t * The agreement being sent.\n\t */\n\tagreement: IOdrlAgreement;\n\n\t/**\n\t * The base callback address for the provider to update the consumer on the state of the negotiation.\n\t */\n\tcallbackAddress?: string;\n}\n"]}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=IContractAgreementVerificationMessage.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IContractAgreementVerificationMessage.js","sourceRoot":"","sources":["../../../../src/models/contractNegotiation/IContractAgreementVerificationMessage.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ContractNegotiationContextType } from \"./contractNegotiationContextType.js\";\nimport type { ContractNegotiationTypes } from \"./contractNegotiationTypes.js\";\n\n/**\n * Interface for Dataspace Protocol Contract Agreement Verification Messages.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#contract-agreement-verification-message\n */\nexport interface IContractAgreementVerificationMessage {\n\t/**\n\t * The JSON-LD context.\n\t */\n\t\"@context\": ContractNegotiationContextType;\n\n\t/**\n\t * The type of the message.\n\t */\n\t\"@type\": typeof ContractNegotiationTypes.ContractAgreementVerificationMessage;\n\n\t/**\n\t * The provider id for the contract.\n\t */\n\tproviderPid: string;\n\n\t/**\n\t * The consumer id for the contract.\n\t */\n\tconsumerPid: string;\n}\n"]}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=IContractNegotiation.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IContractNegotiation.js","sourceRoot":"","sources":["../../../../src/models/contractNegotiation/IContractNegotiation.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ContractNegotiationContextType } from \"./contractNegotiationContextType.js\";\nimport type { ContractNegotiationTypes } from \"./contractNegotiationTypes.js\";\nimport type { ContractNegotiationStateType } from \"./types/contractNegotiationStateType.js\";\n\n/**\n * Interface for Dataspace Protocol Contract Agreement Messages.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#ack-contract-negotiation\n */\nexport interface IContractNegotiation {\n\t/**\n\t * The JSON-LD context.\n\t */\n\t\"@context\": ContractNegotiationContextType;\n\n\t/**\n\t * The type of the message.\n\t */\n\t\"@type\": typeof ContractNegotiationTypes.ContractNegotiation;\n\n\t/**\n\t * The provider id for the contract.\n\t */\n\tproviderPid: string;\n\n\t/**\n\t * The consumer id for the contract.\n\t */\n\tconsumerPid: string;\n\n\t/**\n\t * The offer being requested.\n\t */\n\tstate: ContractNegotiationStateType;\n}\n"]}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=IContractNegotiationError.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IContractNegotiationError.js","sourceRoot":"","sources":["../../../../src/models/contractNegotiation/IContractNegotiationError.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ContractNegotiationContextType } from \"./contractNegotiationContextType.js\";\nimport type { ContractNegotiationTypes } from \"./contractNegotiationTypes.js\";\n\n/**\n * Interface for Dataspace Protocol Contract Negotiation Error Messages.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#error-contract-negotiation-error\n */\nexport interface IContractNegotiationError {\n\t/**\n\t * The JSON-LD context.\n\t */\n\t\"@context\": ContractNegotiationContextType;\n\n\t/**\n\t * The type of the message.\n\t */\n\t\"@type\": typeof ContractNegotiationTypes.ContractNegotiationError;\n\n\t/**\n\t * The provider id for the contract.\n\t */\n\tproviderPid: string;\n\n\t/**\n\t * The consumer id for the contract.\n\t */\n\tconsumerPid: string;\n\n\t/**\n\t * The error code.\n\t */\n\tcode?: string;\n\n\t/**\n\t * The error reason(s).\n\t */\n\treason?: {\n\t\t\"@value\": string;\n\t\t\"@language\"?: string;\n\t}[];\n\n\t/**\n\t * The error description(s).\n\t */\n\tdescription?: {\n\t\t\"@value\": string;\n\t\t\"@language\"?: string;\n\t}[];\n}\n"]}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=IContractNegotiationEventMessage.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IContractNegotiationEventMessage.js","sourceRoot":"","sources":["../../../../src/models/contractNegotiation/IContractNegotiationEventMessage.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ContractNegotiationContextType } from \"./contractNegotiationContextType.js\";\nimport type { ContractNegotiationTypes } from \"./contractNegotiationTypes.js\";\nimport type { ContractNegotiationEventType } from \"./types/contractNegotiationEventType.js\";\n\n/**\n * Interface for Dataspace Protocol Contract Negotiation Event Messages.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#contract-negotiation-event-message\n */\nexport interface IContractNegotiationEventMessage {\n\t/**\n\t * The JSON-LD context.\n\t */\n\t\"@context\": ContractNegotiationContextType;\n\n\t/**\n\t * The type of the message.\n\t */\n\t\"@type\": typeof ContractNegotiationTypes.ContractNegotiationEventMessage;\n\n\t/**\n\t * The provider id for the contract.\n\t */\n\tproviderPid: string;\n\n\t/**\n\t * The consumer id for the contract.\n\t */\n\tconsumerPid: string;\n\n\t/**\n\t * The event type.\n\t */\n\tevent: ContractNegotiationEventType;\n}\n"]}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=IContractNegotiationTerminationMessage.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IContractNegotiationTerminationMessage.js","sourceRoot":"","sources":["../../../../src/models/contractNegotiation/IContractNegotiationTerminationMessage.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ContractNegotiationContextType } from \"./contractNegotiationContextType.js\";\nimport type { ContractNegotiationTypes } from \"./contractNegotiationTypes.js\";\n\n/**\n * Interface for Dataspace Protocol Contract Negotiation Termination Messages.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#contract-negotiation-termination-message\n */\nexport interface IContractNegotiationTerminationMessage {\n\t/**\n\t * The JSON-LD context.\n\t */\n\t\"@context\": ContractNegotiationContextType;\n\n\t/**\n\t * The type of the message.\n\t */\n\t\"@type\": typeof ContractNegotiationTypes.ContractNegotiationTerminationMessage;\n\n\t/**\n\t * The provider id for the contract.\n\t */\n\tproviderPid: string;\n\n\t/**\n\t * The consumer id for the contract.\n\t */\n\tconsumerPid: string;\n\n\t/**\n\t * The termination code.\n\t */\n\tcode?: string;\n\n\t/**\n\t * The termination reason(s).\n\t */\n\t// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\treason?: any[];\n}\n"]}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=IContractOfferMessage.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IContractOfferMessage.js","sourceRoot":"","sources":["../../../../src/models/contractNegotiation/IContractOfferMessage.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IOdrlOffer } from \"@twin.org/standards-w3c-odrl\";\nimport type { ContractNegotiationContextType } from \"./contractNegotiationContextType.js\";\nimport type { ContractNegotiationTypes } from \"./contractNegotiationTypes.js\";\n\n/**\n * Interface for Dataspace Protocol Contract Offer Messages.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#contract-offer-message\n */\nexport interface IContractOfferMessage {\n\t/**\n\t * The JSON-LD context.\n\t */\n\t\"@context\": ContractNegotiationContextType;\n\n\t/**\n\t * The type of the message.\n\t */\n\t\"@type\": typeof ContractNegotiationTypes.ContractOfferMessage;\n\n\t/**\n\t * The provider id for the contract.\n\t */\n\tproviderPid: string;\n\n\t/**\n\t * The consumer id for the contract.\n\t */\n\tconsumerPid?: string;\n\n\t/**\n\t * The offer being requested.\n\t */\n\toffer: IOdrlOffer;\n\n\t/**\n\t * The base callback address for the provider to update the consumer on the state of the negotiation.\n\t */\n\tcallbackAddress?: string;\n}\n"]}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=IContractRequestMessage.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IContractRequestMessage.js","sourceRoot":"","sources":["../../../../src/models/contractNegotiation/IContractRequestMessage.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IOdrlOffer } from \"@twin.org/standards-w3c-odrl\";\nimport type { ContractNegotiationContextType } from \"./contractNegotiationContextType.js\";\nimport type { ContractNegotiationTypes } from \"./contractNegotiationTypes.js\";\n\n/**\n * Interface for Dataspace Protocol Contract Request Messages.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#contract-request-message\n */\nexport interface IContractRequestMessage {\n\t/**\n\t * The JSON-LD context.\n\t */\n\t\"@context\": ContractNegotiationContextType;\n\n\t/**\n\t * The type of the message.\n\t */\n\t\"@type\": typeof ContractNegotiationTypes.ContractRequestMessage;\n\n\t/**\n\t * The provider id for the contract.\n\t */\n\tproviderPid?: string;\n\n\t/**\n\t * The consumer id for the contract.\n\t */\n\tconsumerPid: string;\n\n\t/**\n\t * The offer being requested.\n\t */\n\toffer: IOdrlOffer;\n\n\t/**\n\t * The base callback address for the provider to update the consumer on the state of the negotiation.\n\t */\n\tcallbackAddress?: string;\n}\n"]}
@@ -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 +0,0 @@
1
- {"version":3,"file":"contractNegotiationTypes.js","sourceRoot":"","sources":["../../../../src/models/contractNegotiation/contractNegotiationTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;;GAGG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACvC;;OAEG;IACH,mBAAmB,EAAE,qBAAqB;IAE1C;;OAEG;IACH,sBAAsB,EAAE,wBAAwB;IAEhD;;OAEG;IACH,oBAAoB,EAAE,sBAAsB;IAE5C;;OAEG;IACH,wBAAwB,EAAE,0BAA0B;IAEpD;;OAEG;IACH,oCAAoC,EAAE,sCAAsC;IAE5E;;OAEG;IACH,+BAA+B,EAAE,iCAAiC;IAElE;;OAEG;IACH,qCAAqC,EAAE,uCAAuC;IAE9E;;OAEG;IACH,wBAAwB,EAAE,0BAA0B;IAEpD;;OAEG;IACH,4BAA4B,EAAE,8BAA8B;IAE5D;;OAEG;IACH,4BAA4B,EAAE,8BAA8B;CAC5D,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The types for Dataspace Protocol Contract Negotiation.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#message-types-0\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const ContractNegotiationTypes = {\n\t/**\n\t * Contract Negotiation.\n\t */\n\tContractNegotiation: \"ContractNegotiation\",\n\n\t/**\n\t * Contract Request Message.\n\t */\n\tContractRequestMessage: \"ContractRequestMessage\",\n\n\t/**\n\t * Contract Offer Message.\n\t */\n\tContractOfferMessage: \"ContractOfferMessage\",\n\n\t/**\n\t * Contract Agreement Message.\n\t */\n\tContractAgreementMessage: \"ContractAgreementMessage\",\n\n\t/**\n\t * Contract Agreement Verification Message.\n\t */\n\tContractAgreementVerificationMessage: \"ContractAgreementVerificationMessage\",\n\n\t/**\n\t * Contract Negotiation Event Message.\n\t */\n\tContractNegotiationEventMessage: \"ContractNegotiationEventMessage\",\n\n\t/**\n\t * Contract Negotiation Termination Message.\n\t */\n\tContractNegotiationTerminationMessage: \"ContractNegotiationTerminationMessage\",\n\n\t/**\n\t * Contract Negotiation Error.\n\t */\n\tContractNegotiationError: \"ContractNegotiationError\",\n\n\t/**\n\t * Contract Negotiation Event Type.\n\t */\n\tContractNegotiationEventType: \"ContractNegotiationEventType\",\n\n\t/**\n\t * Contract Negotiation State Type.\n\t */\n\tContractNegotiationStateType: \"ContractNegotiationStateType\"\n};\n\n/**\n * The types for Dataspace Protocol Contract Negotiation.\n */\nexport type ContractNegotiationTypes =\n\t(typeof ContractNegotiationTypes)[keyof typeof ContractNegotiationTypes];\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"contractNegotiationEventType.js","sourceRoot":"","sources":["../../../../../src/models/contractNegotiation/types/contractNegotiationEventType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;;GAGG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,4BAA4B,GAAG;IAC3C;;OAEG;IACH,QAAQ,EAAE,UAAU;IAEpB;;OAEG;IACH,SAAS,EAAE,WAAW;CACb,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The types for Dataspace Protocol Contract Negotiation Events.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#contract-negotiation-event-message\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const ContractNegotiationEventType = {\n\t/**\n\t * Accepted.\n\t */\n\tACCEPTED: \"ACCEPTED\",\n\n\t/**\n\t * Finalized.\n\t */\n\tFINALIZED: \"FINALIZED\"\n} as const;\n\n/**\n * The types for Dataspace Protocol Contract Negotiation Events.\n */\nexport type ContractNegotiationEventType =\n\t(typeof ContractNegotiationEventType)[keyof typeof ContractNegotiationEventType];\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"contractNegotiationStateType.js","sourceRoot":"","sources":["../../../../../src/models/contractNegotiation/types/contractNegotiationStateType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;;GAGG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,4BAA4B,GAAG;IAC3C;;OAEG;IACH,SAAS,EAAE,WAAW;IAEtB;;OAEG;IACH,OAAO,EAAE,SAAS;IAElB;;OAEG;IACH,QAAQ,EAAE,UAAU;IAEpB;;OAEG;IACH,MAAM,EAAE,QAAQ;IAEhB;;OAEG;IACH,QAAQ,EAAE,UAAU;IAEpB;;OAEG;IACH,SAAS,EAAE,WAAW;IAEtB;;OAEG;IACH,UAAU,EAAE,YAAY;CACf,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The types for Dataspace Protocol Contract Negotiation States.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#contract-negotiation-states\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const ContractNegotiationStateType = {\n\t/**\n\t * Requested.\n\t */\n\tREQUESTED: \"REQUESTED\",\n\n\t/**\n\t * Offered.\n\t */\n\tOFFERED: \"OFFERED\",\n\n\t/**\n\t * Accepted.\n\t */\n\tACCEPTED: \"ACCEPTED\",\n\n\t/**\n\t * Agreed.\n\t */\n\tAGREED: \"AGREED\",\n\n\t/**\n\t * Verified.\n\t */\n\tVERIFIED: \"VERIFIED\",\n\n\t/**\n\t * Finalized.\n\t */\n\tFINALIZED: \"FINALIZED\",\n\n\t/**\n\t * Terminated.\n\t */\n\tTERMINATED: \"TERMINATED\"\n} as const;\n\n/**\n * The types for Dataspace Protocol Contract Negotiation States.\n */\nexport type ContractNegotiationStateType =\n\t(typeof ContractNegotiationStateType)[keyof typeof ContractNegotiationStateType];\n"]}
@@ -1,29 +0,0 @@
1
- import type { ContractNegotiationContextType } from "./contractNegotiationContextType.js";
2
- import type { ContractNegotiationTypes } from "./contractNegotiationTypes.js";
3
- import type { ContractNegotiationStateType } from "./types/contractNegotiationStateType.js";
4
- /**
5
- * Interface for Dataspace Protocol Contract Agreement Messages.
6
- * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#ack-contract-negotiation
7
- */
8
- export interface IContractNegotiation {
9
- /**
10
- * The JSON-LD context.
11
- */
12
- "@context": ContractNegotiationContextType;
13
- /**
14
- * The type of the message.
15
- */
16
- "@type": typeof ContractNegotiationTypes.ContractNegotiation;
17
- /**
18
- * The provider id for the contract.
19
- */
20
- providerPid: string;
21
- /**
22
- * The consumer id for the contract.
23
- */
24
- consumerPid: string;
25
- /**
26
- * The offer being requested.
27
- */
28
- state: ContractNegotiationStateType;
29
- }
@@ -1,29 +0,0 @@
1
- import type { ContractNegotiationContextType } from "./contractNegotiationContextType.js";
2
- import type { ContractNegotiationTypes } from "./contractNegotiationTypes.js";
3
- import type { ContractNegotiationEventType } from "./types/contractNegotiationEventType.js";
4
- /**
5
- * Interface for Dataspace Protocol Contract Negotiation Event Messages.
6
- * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#contract-negotiation-event-message
7
- */
8
- export interface IContractNegotiationEventMessage {
9
- /**
10
- * The JSON-LD context.
11
- */
12
- "@context": ContractNegotiationContextType;
13
- /**
14
- * The type of the message.
15
- */
16
- "@type": typeof ContractNegotiationTypes.ContractNegotiationEventMessage;
17
- /**
18
- * The provider id for the contract.
19
- */
20
- providerPid: string;
21
- /**
22
- * The consumer id for the contract.
23
- */
24
- consumerPid: string;
25
- /**
26
- * The event type.
27
- */
28
- event: ContractNegotiationEventType;
29
- }