@twin.org/standards-dataspace-protocol 0.0.3-next.6 → 0.0.3-next.60

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 (321) hide show
  1. package/README.md +1 -1
  2. package/dist/es/dataTypes/catalogDataTypes.js +93 -20
  3. package/dist/es/dataTypes/catalogDataTypes.js.map +1 -1
  4. package/dist/es/dataTypes/contractNegotiationDataTypes.js +58 -62
  5. package/dist/es/dataTypes/contractNegotiationDataTypes.js.map +1 -1
  6. package/dist/es/dataTypes/dataspaceProtocolDataTypes.js +10 -1
  7. package/dist/es/dataTypes/dataspaceProtocolDataTypes.js.map +1 -1
  8. package/dist/es/dataTypes/transferProcessDataTypes.js +53 -56
  9. package/dist/es/dataTypes/transferProcessDataTypes.js.map +1 -1
  10. package/dist/es/index.js +46 -28
  11. package/dist/es/index.js.map +1 -1
  12. package/dist/es/models/catalog/IDataspaceProtocolCatalogError.js +2 -0
  13. package/dist/es/models/catalog/IDataspaceProtocolCatalogError.js.map +1 -0
  14. package/dist/es/models/catalog/IDataspaceProtocolCatalogRequestMessage.js +2 -0
  15. package/dist/es/models/catalog/IDataspaceProtocolCatalogRequestMessage.js.map +1 -0
  16. package/dist/es/models/catalog/IDataspaceProtocolDatasetRequestMessage.js +2 -0
  17. package/dist/es/models/catalog/IDataspaceProtocolDatasetRequestMessage.js.map +1 -0
  18. package/dist/es/models/catalog/dataspaceProtocolCatalogTypes.js +54 -0
  19. package/dist/es/models/catalog/dataspaceProtocolCatalogTypes.js.map +1 -0
  20. package/dist/es/models/contractNegotiation/IDataspaceProtocolContractAgreementMessage.js +2 -0
  21. package/dist/es/models/contractNegotiation/IDataspaceProtocolContractAgreementMessage.js.map +1 -0
  22. package/dist/es/models/contractNegotiation/IDataspaceProtocolContractAgreementVerificationMessage.js +2 -0
  23. package/dist/es/models/contractNegotiation/IDataspaceProtocolContractAgreementVerificationMessage.js.map +1 -0
  24. package/dist/es/models/contractNegotiation/IDataspaceProtocolContractNegotiation.js +2 -0
  25. package/dist/es/models/contractNegotiation/IDataspaceProtocolContractNegotiation.js.map +1 -0
  26. package/dist/es/models/contractNegotiation/IDataspaceProtocolContractNegotiationError.js +2 -0
  27. package/dist/es/models/contractNegotiation/IDataspaceProtocolContractNegotiationError.js.map +1 -0
  28. package/dist/es/models/contractNegotiation/IDataspaceProtocolContractNegotiationEventMessage.js +2 -0
  29. package/dist/es/models/contractNegotiation/IDataspaceProtocolContractNegotiationEventMessage.js.map +1 -0
  30. package/dist/es/models/contractNegotiation/IDataspaceProtocolContractNegotiationTerminationMessage.js +2 -0
  31. package/dist/es/models/contractNegotiation/IDataspaceProtocolContractNegotiationTerminationMessage.js.map +1 -0
  32. package/dist/es/models/contractNegotiation/IDataspaceProtocolContractOfferMessage.js +2 -0
  33. package/dist/es/models/contractNegotiation/IDataspaceProtocolContractOfferMessage.js.map +1 -0
  34. package/dist/es/models/contractNegotiation/IDataspaceProtocolContractRequestMessage.js +2 -0
  35. package/dist/es/models/contractNegotiation/IDataspaceProtocolContractRequestMessage.js.map +1 -0
  36. package/dist/es/models/contractNegotiation/{contractNegotiationTypes.js → dataspaceProtocolContractNegotiationTypes.js} +2 -2
  37. package/dist/es/models/contractNegotiation/dataspaceProtocolContractNegotiationTypes.js.map +1 -0
  38. package/dist/es/models/contractNegotiation/types/{contractNegotiationEventType.js → dataspaceProtocolContractNegotiationEventType.js} +2 -2
  39. package/dist/es/models/contractNegotiation/types/dataspaceProtocolContractNegotiationEventType.js.map +1 -0
  40. package/dist/es/models/contractNegotiation/types/{contractNegotiationStateType.js → dataspaceProtocolContractNegotiationStateType.js} +2 -2
  41. package/dist/es/models/contractNegotiation/types/dataspaceProtocolContractNegotiationStateType.js.map +1 -0
  42. package/dist/es/models/dataspaceProtocolContextType.js.map +1 -1
  43. package/dist/es/models/dataspaceProtocolContexts.js +12 -4
  44. package/dist/es/models/dataspaceProtocolContexts.js.map +1 -1
  45. package/dist/es/models/dcat3/IDataspaceProtocolCatalog.js +2 -0
  46. package/dist/es/models/dcat3/IDataspaceProtocolCatalog.js.map +1 -0
  47. package/dist/es/models/dcat3/IDataspaceProtocolCatalogBase.js +2 -0
  48. package/dist/es/models/dcat3/IDataspaceProtocolCatalogBase.js.map +1 -0
  49. package/dist/es/models/dcat3/IDataspaceProtocolDataService.js +2 -0
  50. package/dist/es/models/dcat3/IDataspaceProtocolDataService.js.map +1 -0
  51. package/dist/es/models/dcat3/IDataspaceProtocolDataServiceBase.js +2 -0
  52. package/dist/es/models/dcat3/IDataspaceProtocolDataServiceBase.js.map +1 -0
  53. package/dist/es/models/dcat3/IDataspaceProtocolDataset.js +2 -0
  54. package/dist/es/models/dcat3/IDataspaceProtocolDataset.js.map +1 -0
  55. package/dist/es/models/dcat3/IDataspaceProtocolDatasetBase.js +2 -0
  56. package/dist/es/models/dcat3/IDataspaceProtocolDatasetBase.js.map +1 -0
  57. package/dist/es/models/dcat3/IDataspaceProtocolDistribution.js +2 -0
  58. package/dist/es/models/dcat3/IDataspaceProtocolDistribution.js.map +1 -0
  59. package/dist/es/models/dcat3/IDataspaceProtocolDistributionBase.js +2 -0
  60. package/dist/es/models/dcat3/IDataspaceProtocolDistributionBase.js.map +1 -0
  61. package/dist/es/models/odrl/IDataspaceProtocolAgreement.js +2 -0
  62. package/dist/es/models/odrl/IDataspaceProtocolAgreement.js.map +1 -0
  63. package/dist/es/models/odrl/IDataspaceProtocolOffer.js +2 -0
  64. package/dist/es/models/odrl/IDataspaceProtocolOffer.js.map +1 -0
  65. package/dist/es/models/odrl/IDataspaceProtocolOfferBase.js +2 -0
  66. package/dist/es/models/odrl/IDataspaceProtocolOfferBase.js.map +1 -0
  67. package/dist/es/models/odrl/IDataspaceProtocolPolicy.js +2 -0
  68. package/dist/es/models/odrl/IDataspaceProtocolPolicy.js.map +1 -0
  69. package/dist/es/models/odrl/IDataspaceProtocolSet.js +2 -0
  70. package/dist/es/models/odrl/IDataspaceProtocolSet.js.map +1 -0
  71. package/dist/es/models/transferProcess/IDataspaceProtocolDataAddress.js +2 -0
  72. package/dist/es/models/transferProcess/IDataspaceProtocolDataAddress.js.map +1 -0
  73. package/dist/es/models/transferProcess/IDataspaceProtocolEndpointProperty.js +2 -0
  74. package/dist/es/models/transferProcess/IDataspaceProtocolEndpointProperty.js.map +1 -0
  75. package/dist/es/models/transferProcess/IDataspaceProtocolTransferCompletionMessage.js +2 -0
  76. package/dist/es/models/transferProcess/IDataspaceProtocolTransferCompletionMessage.js.map +1 -0
  77. package/dist/es/models/transferProcess/IDataspaceProtocolTransferError.js +2 -0
  78. package/dist/es/models/transferProcess/IDataspaceProtocolTransferError.js.map +1 -0
  79. package/dist/es/models/transferProcess/IDataspaceProtocolTransferProcess.js +2 -0
  80. package/dist/es/models/transferProcess/IDataspaceProtocolTransferProcess.js.map +1 -0
  81. package/dist/es/models/transferProcess/IDataspaceProtocolTransferRequestMessage.js +2 -0
  82. package/dist/es/models/transferProcess/IDataspaceProtocolTransferRequestMessage.js.map +1 -0
  83. package/dist/es/models/transferProcess/IDataspaceProtocolTransferStartMessage.js +2 -0
  84. package/dist/es/models/transferProcess/IDataspaceProtocolTransferStartMessage.js.map +1 -0
  85. package/dist/es/models/transferProcess/{ITransferSuspensionMessage.js → IDataspaceProtocolTransferSuspensionMessage.js} +1 -1
  86. package/dist/es/models/transferProcess/IDataspaceProtocolTransferSuspensionMessage.js.map +1 -0
  87. package/dist/es/models/transferProcess/IDataspaceProtocolTransferTerminationMessage.js +2 -0
  88. package/dist/es/models/transferProcess/IDataspaceProtocolTransferTerminationMessage.js.map +1 -0
  89. package/dist/es/models/transferProcess/{transferProcessTypes.js → dataspaceProtocolTransferProcessTypes.js} +2 -2
  90. package/dist/es/models/transferProcess/dataspaceProtocolTransferProcessTypes.js.map +1 -0
  91. package/dist/es/models/transferProcess/types/dataspaceProtocolEndpointType.js +89 -0
  92. package/dist/es/models/transferProcess/types/dataspaceProtocolEndpointType.js.map +1 -0
  93. package/dist/es/models/transferProcess/types/dataspaceProtocolTransferFormat.js +22 -0
  94. package/dist/es/models/transferProcess/types/dataspaceProtocolTransferFormat.js.map +1 -0
  95. package/dist/es/models/transferProcess/types/{transferProcessStateType.js → dataspaceProtocolTransferProcessStateType.js} +2 -2
  96. package/dist/es/models/transferProcess/types/dataspaceProtocolTransferProcessStateType.js.map +1 -0
  97. package/dist/es/schemas/DataspaceProtocolAgreement.json +207 -0
  98. package/dist/es/schemas/DataspaceProtocolCatalog.json +21 -0
  99. package/dist/es/schemas/DataspaceProtocolCatalogBase.json +428 -0
  100. package/dist/es/schemas/DataspaceProtocolCatalogError.json +31 -0
  101. package/dist/es/schemas/DataspaceProtocolCatalogRequestMessage.json +26 -0
  102. package/dist/es/schemas/DataspaceProtocolContextType.json +30 -0
  103. package/dist/es/schemas/DataspaceProtocolContractAgreementMessage.json +225 -0
  104. package/dist/es/schemas/DataspaceProtocolContractAgreementVerificationMessage.json +31 -0
  105. package/dist/es/schemas/DataspaceProtocolContractNegotiation.json +36 -0
  106. package/dist/es/schemas/DataspaceProtocolContractNegotiationError.json +40 -0
  107. package/dist/es/schemas/DataspaceProtocolContractNegotiationEventMessage.json +36 -0
  108. package/dist/es/schemas/DataspaceProtocolContractNegotiationEventType.json +16 -0
  109. package/dist/es/schemas/DataspaceProtocolContractNegotiationStateType.json +36 -0
  110. package/dist/es/schemas/DataspaceProtocolContractNegotiationTerminationMessage.json +40 -0
  111. package/dist/es/schemas/DataspaceProtocolContractOfferMessage.json +39 -0
  112. package/dist/es/schemas/DataspaceProtocolContractRequestMessage.json +39 -0
  113. package/dist/es/schemas/{DataAddress.json → DataspaceProtocolDataAddress.json} +5 -6
  114. package/dist/es/schemas/DataspaceProtocolDataService.json +21 -0
  115. package/dist/es/schemas/DataspaceProtocolDataServiceBase.json +279 -0
  116. package/dist/es/schemas/DataspaceProtocolDataset.json +21 -0
  117. package/dist/es/schemas/DataspaceProtocolDatasetBase.json +330 -0
  118. package/dist/es/schemas/DataspaceProtocolDatasetRequestMessage.json +26 -0
  119. package/dist/es/schemas/DataspaceProtocolDistribution.json +26 -0
  120. package/dist/es/schemas/DataspaceProtocolDistributionBase.json +164 -0
  121. package/dist/es/schemas/{EndpointProperty.json → DataspaceProtocolEndpointProperty.json} +4 -5
  122. package/dist/es/schemas/DataspaceProtocolOffer.json +26 -0
  123. package/dist/es/schemas/DataspaceProtocolOfferBase.json +219 -0
  124. package/dist/es/schemas/DataspaceProtocolPolicy.json +231 -0
  125. package/dist/es/schemas/DataspaceProtocolSet.json +243 -0
  126. package/dist/es/schemas/DataspaceProtocolTransferCompletionMessage.json +31 -0
  127. package/dist/es/schemas/DataspaceProtocolTransferError.json +40 -0
  128. package/dist/es/schemas/DataspaceProtocolTransferProcess.json +36 -0
  129. package/dist/es/schemas/DataspaceProtocolTransferRequestMessage.json +45 -0
  130. package/dist/es/schemas/DataspaceProtocolTransferStartMessage.json +35 -0
  131. package/dist/es/schemas/DataspaceProtocolTransferSuspensionMessage.json +40 -0
  132. package/dist/es/schemas/DataspaceProtocolTransferTerminationMessage.json +40 -0
  133. package/dist/es/utils/dataspaceProtocolHelper.js +108 -0
  134. package/dist/es/utils/dataspaceProtocolHelper.js.map +1 -0
  135. package/dist/types/index.d.ts +44 -28
  136. package/dist/types/models/catalog/{ICatalogError.d.ts → IDataspaceProtocolCatalogError.d.ts} +3 -3
  137. package/dist/types/models/catalog/{ICatalogRequestMessage.d.ts → IDataspaceProtocolCatalogRequestMessage.d.ts} +3 -3
  138. package/dist/types/models/catalog/{IDatasetRequestMessage.d.ts → IDataspaceProtocolDatasetRequestMessage.d.ts} +3 -3
  139. package/dist/types/models/catalog/dataspaceProtocolCatalogTypes.d.ts +54 -0
  140. package/dist/types/models/contractNegotiation/{IContractAgreementMessage.d.ts → IDataspaceProtocolContractAgreementMessage.d.ts} +6 -5
  141. package/dist/types/models/contractNegotiation/{IContractAgreementVerificationMessage.d.ts → IDataspaceProtocolContractAgreementVerificationMessage.d.ts} +3 -3
  142. package/dist/types/models/contractNegotiation/{IContractNegotiation.d.ts → IDataspaceProtocolContractNegotiation.d.ts} +5 -5
  143. package/dist/types/models/contractNegotiation/{IContractNegotiationError.d.ts → IDataspaceProtocolContractNegotiationError.d.ts} +3 -3
  144. package/dist/types/models/contractNegotiation/{IContractNegotiationEventMessage.d.ts → IDataspaceProtocolContractNegotiationEventMessage.d.ts} +5 -5
  145. package/dist/types/models/contractNegotiation/{IContractNegotiationTerminationMessage.d.ts → IDataspaceProtocolContractNegotiationTerminationMessage.d.ts} +3 -3
  146. package/dist/types/models/contractNegotiation/{IContractOfferMessage.d.ts → IDataspaceProtocolContractOfferMessage.d.ts} +5 -5
  147. package/dist/types/models/contractNegotiation/{IContractRequestMessage.d.ts → IDataspaceProtocolContractRequestMessage.d.ts} +5 -5
  148. package/dist/types/models/contractNegotiation/dataspaceProtocolContractNegotiationTypes.d.ts +50 -0
  149. package/dist/types/models/contractNegotiation/types/{contractNegotiationEventType.d.ts → dataspaceProtocolContractNegotiationEventType.d.ts} +2 -2
  150. package/dist/types/models/contractNegotiation/types/{contractNegotiationStateType.d.ts → dataspaceProtocolContractNegotiationStateType.d.ts} +2 -2
  151. package/dist/types/models/dataspaceProtocolContextType.d.ts +2 -9
  152. package/dist/types/models/dataspaceProtocolContexts.d.ts +12 -4
  153. package/dist/types/models/dcat3/IDataspaceProtocolCatalog.d.ts +28 -0
  154. package/dist/types/models/dcat3/IDataspaceProtocolCatalogBase.d.ts +58 -0
  155. package/dist/types/models/dcat3/IDataspaceProtocolDataService.d.ts +28 -0
  156. package/dist/types/models/dcat3/IDataspaceProtocolDataServiceBase.d.ts +44 -0
  157. package/dist/types/models/dcat3/IDataspaceProtocolDataset.d.ts +38 -0
  158. package/dist/types/models/dcat3/IDataspaceProtocolDatasetBase.d.ts +62 -0
  159. package/dist/types/models/dcat3/IDataspaceProtocolDistribution.d.ts +42 -0
  160. package/dist/types/models/dcat3/IDataspaceProtocolDistributionBase.d.ts +66 -0
  161. package/dist/types/models/odrl/IDataspaceProtocolAgreement.d.ts +17 -0
  162. package/dist/types/models/odrl/IDataspaceProtocolOffer.d.ts +22 -0
  163. package/dist/types/models/odrl/IDataspaceProtocolOfferBase.d.ts +18 -0
  164. package/dist/types/models/odrl/IDataspaceProtocolPolicy.d.ts +17 -0
  165. package/dist/types/models/odrl/IDataspaceProtocolSet.d.ts +17 -0
  166. package/dist/types/models/transferProcess/{IDataAddress.d.ts → IDataspaceProtocolDataAddress.d.ts} +5 -5
  167. package/dist/types/models/transferProcess/{IEndpointProperty.d.ts → IDataspaceProtocolEndpointProperty.d.ts} +3 -3
  168. package/dist/types/models/transferProcess/{ITransferCompletionMessage.d.ts → IDataspaceProtocolTransferCompletionMessage.d.ts} +3 -3
  169. package/dist/types/models/transferProcess/{ITransferError.d.ts → IDataspaceProtocolTransferError.d.ts} +3 -3
  170. package/dist/types/models/transferProcess/{ITransferProcess.d.ts → IDataspaceProtocolTransferProcess.d.ts} +5 -5
  171. package/dist/types/models/transferProcess/{ITransferRequestMessage.d.ts → IDataspaceProtocolTransferRequestMessage.d.ts} +5 -5
  172. package/dist/types/models/transferProcess/{ITransferStartMessage.d.ts → IDataspaceProtocolTransferStartMessage.d.ts} +5 -5
  173. package/dist/types/models/transferProcess/{ITransferSuspensionMessage.d.ts → IDataspaceProtocolTransferSuspensionMessage.d.ts} +3 -3
  174. package/dist/types/models/transferProcess/{ITransferTerminationMessage.d.ts → IDataspaceProtocolTransferTerminationMessage.d.ts} +3 -3
  175. package/dist/types/models/transferProcess/dataspaceProtocolTransferProcessTypes.d.ts +46 -0
  176. package/dist/types/models/transferProcess/types/dataspaceProtocolEndpointType.d.ts +89 -0
  177. package/dist/types/models/transferProcess/types/dataspaceProtocolTransferFormat.d.ts +22 -0
  178. package/dist/types/models/transferProcess/types/dataspaceProtocolTransferProcessStateType.d.ts +30 -0
  179. package/dist/types/utils/dataspaceProtocolHelper.d.ts +19 -0
  180. package/docs/changelog.md +962 -0
  181. package/docs/examples.md +44 -1
  182. package/docs/reference/classes/CatalogDataTypes.md +1 -1
  183. package/docs/reference/classes/ContractNegotiationDataTypes.md +1 -1
  184. package/docs/reference/classes/DataspaceProtocolDataTypes.md +2 -2
  185. package/docs/reference/classes/DataspaceProtocolHelper.md +57 -0
  186. package/docs/reference/classes/TransferProcessDataTypes.md +1 -1
  187. package/docs/reference/index.md +50 -32
  188. package/docs/reference/interfaces/IDataspaceProtocolAgreement.md +179 -0
  189. package/docs/reference/interfaces/IDataspaceProtocolCatalog.md +598 -0
  190. package/docs/reference/interfaces/IDataspaceProtocolCatalogBase.md +570 -0
  191. package/docs/reference/interfaces/{ICatalogError.md → IDataspaceProtocolCatalogError.md} +6 -6
  192. package/docs/reference/interfaces/{ICatalogRequestMessage.md → IDataspaceProtocolCatalogRequestMessage.md} +5 -5
  193. package/docs/reference/interfaces/{IContractAgreementMessage.md → IDataspaceProtocolContractAgreementMessage.md} +10 -10
  194. package/docs/reference/interfaces/{IContractAgreementVerificationMessage.md → IDataspaceProtocolContractAgreementVerificationMessage.md} +6 -6
  195. package/docs/reference/interfaces/{IContractNegotiation.md → IDataspaceProtocolContractNegotiation.md} +8 -8
  196. package/docs/reference/interfaces/{IContractNegotiationError.md → IDataspaceProtocolContractNegotiationError.md} +10 -10
  197. package/docs/reference/interfaces/{IContractNegotiationEventMessage.md → IDataspaceProtocolContractNegotiationEventMessage.md} +8 -8
  198. package/docs/reference/interfaces/{IContractNegotiationTerminationMessage.md → IDataspaceProtocolContractNegotiationTerminationMessage.md} +10 -10
  199. package/docs/reference/interfaces/{IContractOfferMessage.md → IDataspaceProtocolContractOfferMessage.md} +11 -11
  200. package/docs/reference/interfaces/{IContractRequestMessage.md → IDataspaceProtocolContractRequestMessage.md} +11 -11
  201. package/docs/reference/interfaces/{IDataAddress.md → IDataspaceProtocolDataAddress.md} +8 -8
  202. package/docs/reference/interfaces/IDataspaceProtocolDataService.md +403 -0
  203. package/docs/reference/interfaces/IDataspaceProtocolDataServiceBase.md +387 -0
  204. package/docs/reference/interfaces/IDataspaceProtocolDataset.md +500 -0
  205. package/docs/reference/interfaces/IDataspaceProtocolDatasetBase.md +484 -0
  206. package/docs/reference/interfaces/{IDatasetRequestMessage.md → IDataspaceProtocolDatasetRequestMessage.md} +4 -4
  207. package/docs/reference/interfaces/IDataspaceProtocolDistribution.md +400 -0
  208. package/docs/reference/interfaces/IDataspaceProtocolDistributionBase.md +381 -0
  209. package/docs/reference/interfaces/{IEndpointProperty.md → IDataspaceProtocolEndpointProperty.md} +5 -5
  210. package/docs/reference/interfaces/IDataspaceProtocolOffer.md +178 -0
  211. package/docs/reference/interfaces/IDataspaceProtocolOfferBase.md +171 -0
  212. package/docs/reference/interfaces/IDataspaceProtocolPolicy.md +180 -0
  213. package/docs/reference/interfaces/IDataspaceProtocolSet.md +179 -0
  214. package/docs/reference/interfaces/{ITransferCompletionMessage.md → IDataspaceProtocolTransferCompletionMessage.md} +6 -6
  215. package/docs/reference/interfaces/{ITransferError.md → IDataspaceProtocolTransferError.md} +10 -10
  216. package/docs/reference/interfaces/IDataspaceProtocolTransferProcess.md +44 -0
  217. package/docs/reference/interfaces/{ITransferRequestMessage.md → IDataspaceProtocolTransferRequestMessage.md} +10 -10
  218. package/docs/reference/interfaces/{ITransferStartMessage.md → IDataspaceProtocolTransferStartMessage.md} +8 -8
  219. package/docs/reference/interfaces/{ITransferSuspensionMessage.md → IDataspaceProtocolTransferSuspensionMessage.md} +10 -10
  220. package/docs/reference/interfaces/{ITransferTerminationMessage.md → IDataspaceProtocolTransferTerminationMessage.md} +10 -10
  221. package/docs/reference/type-aliases/DataspaceProtocolCatalogTypes.md +5 -0
  222. package/docs/reference/type-aliases/DataspaceProtocolContextType.md +1 -1
  223. package/docs/reference/type-aliases/DataspaceProtocolContractNegotiationEventType.md +5 -0
  224. package/docs/reference/type-aliases/DataspaceProtocolContractNegotiationStateType.md +5 -0
  225. package/docs/reference/type-aliases/DataspaceProtocolContractNegotiationTypes.md +5 -0
  226. package/docs/reference/type-aliases/DataspaceProtocolEndpointType.md +12 -0
  227. package/docs/reference/type-aliases/DataspaceProtocolTransferFormat.md +5 -0
  228. package/docs/reference/type-aliases/DataspaceProtocolTransferProcessStateType.md +5 -0
  229. package/docs/reference/type-aliases/DataspaceProtocolTransferProcessTypes.md +5 -0
  230. package/docs/reference/variables/DataspaceProtocolCatalogTypes.md +74 -0
  231. package/docs/reference/variables/DataspaceProtocolContexts.md +18 -6
  232. package/docs/reference/variables/{ContractNegotiationEventType.md → DataspaceProtocolContractNegotiationEventType.md} +4 -4
  233. package/docs/reference/variables/{ContractNegotiationStateType.md → DataspaceProtocolContractNegotiationStateType.md} +9 -9
  234. package/docs/reference/variables/DataspaceProtocolContractNegotiationTypes.md +68 -0
  235. package/docs/reference/variables/DataspaceProtocolEndpointType.md +96 -0
  236. package/docs/reference/variables/DataspaceProtocolTransferFormat.md +26 -0
  237. package/docs/reference/variables/DataspaceProtocolTransferProcessStateType.md +38 -0
  238. package/docs/reference/variables/DataspaceProtocolTransferProcessTypes.md +62 -0
  239. package/locales/en.json +10 -1
  240. package/package.json +4 -4
  241. package/dist/es/models/catalog/ICatalogError.js +0 -2
  242. package/dist/es/models/catalog/ICatalogError.js.map +0 -1
  243. package/dist/es/models/catalog/ICatalogRequestMessage.js +0 -2
  244. package/dist/es/models/catalog/ICatalogRequestMessage.js.map +0 -1
  245. package/dist/es/models/catalog/IDatasetRequestMessage.js +0 -2
  246. package/dist/es/models/catalog/IDatasetRequestMessage.js.map +0 -1
  247. package/dist/es/models/catalog/catalogTypes.js +0 -22
  248. package/dist/es/models/catalog/catalogTypes.js.map +0 -1
  249. package/dist/es/models/contractNegotiation/IContractAgreementMessage.js +0 -2
  250. package/dist/es/models/contractNegotiation/IContractAgreementMessage.js.map +0 -1
  251. package/dist/es/models/contractNegotiation/IContractAgreementVerificationMessage.js +0 -2
  252. package/dist/es/models/contractNegotiation/IContractAgreementVerificationMessage.js.map +0 -1
  253. package/dist/es/models/contractNegotiation/IContractNegotiation.js +0 -2
  254. package/dist/es/models/contractNegotiation/IContractNegotiation.js.map +0 -1
  255. package/dist/es/models/contractNegotiation/IContractNegotiationError.js +0 -2
  256. package/dist/es/models/contractNegotiation/IContractNegotiationError.js.map +0 -1
  257. package/dist/es/models/contractNegotiation/IContractNegotiationEventMessage.js +0 -2
  258. package/dist/es/models/contractNegotiation/IContractNegotiationEventMessage.js.map +0 -1
  259. package/dist/es/models/contractNegotiation/IContractNegotiationTerminationMessage.js +0 -2
  260. package/dist/es/models/contractNegotiation/IContractNegotiationTerminationMessage.js.map +0 -1
  261. package/dist/es/models/contractNegotiation/IContractOfferMessage.js +0 -2
  262. package/dist/es/models/contractNegotiation/IContractOfferMessage.js.map +0 -1
  263. package/dist/es/models/contractNegotiation/IContractRequestMessage.js +0 -2
  264. package/dist/es/models/contractNegotiation/IContractRequestMessage.js.map +0 -1
  265. package/dist/es/models/contractNegotiation/contractNegotiationTypes.js.map +0 -1
  266. package/dist/es/models/contractNegotiation/types/contractNegotiationEventType.js.map +0 -1
  267. package/dist/es/models/contractNegotiation/types/contractNegotiationStateType.js.map +0 -1
  268. package/dist/es/models/transferProcess/IDataAddress.js +0 -2
  269. package/dist/es/models/transferProcess/IDataAddress.js.map +0 -1
  270. package/dist/es/models/transferProcess/IEndpointProperty.js +0 -2
  271. package/dist/es/models/transferProcess/IEndpointProperty.js.map +0 -1
  272. package/dist/es/models/transferProcess/ITransferCompletionMessage.js +0 -2
  273. package/dist/es/models/transferProcess/ITransferCompletionMessage.js.map +0 -1
  274. package/dist/es/models/transferProcess/ITransferError.js +0 -2
  275. package/dist/es/models/transferProcess/ITransferError.js.map +0 -1
  276. package/dist/es/models/transferProcess/ITransferProcess.js +0 -2
  277. package/dist/es/models/transferProcess/ITransferProcess.js.map +0 -1
  278. package/dist/es/models/transferProcess/ITransferRequestMessage.js +0 -2
  279. package/dist/es/models/transferProcess/ITransferRequestMessage.js.map +0 -1
  280. package/dist/es/models/transferProcess/ITransferStartMessage.js +0 -2
  281. package/dist/es/models/transferProcess/ITransferStartMessage.js.map +0 -1
  282. package/dist/es/models/transferProcess/ITransferSuspensionMessage.js.map +0 -1
  283. package/dist/es/models/transferProcess/ITransferTerminationMessage.js +0 -2
  284. package/dist/es/models/transferProcess/ITransferTerminationMessage.js.map +0 -1
  285. package/dist/es/models/transferProcess/transferProcessTypes.js.map +0 -1
  286. package/dist/es/models/transferProcess/types/transferProcessStateType.js.map +0 -1
  287. package/dist/es/schemas/CatalogError.json +0 -74
  288. package/dist/es/schemas/CatalogRequestMessage.json +0 -69
  289. package/dist/es/schemas/ContractAgreementMessage.json +0 -83
  290. package/dist/es/schemas/ContractAgreementVerificationMessage.json +0 -74
  291. package/dist/es/schemas/ContractNegotiation.json +0 -79
  292. package/dist/es/schemas/ContractNegotiationError.json +0 -83
  293. package/dist/es/schemas/ContractNegotiationEventMessage.json +0 -79
  294. package/dist/es/schemas/ContractNegotiationEventType.json +0 -10
  295. package/dist/es/schemas/ContractNegotiationStateType.json +0 -15
  296. package/dist/es/schemas/ContractNegotiationTerminationMessage.json +0 -83
  297. package/dist/es/schemas/ContractOfferMessage.json +0 -82
  298. package/dist/es/schemas/ContractRequestMessage.json +0 -82
  299. package/dist/es/schemas/DatasetRequestMessage.json +0 -69
  300. package/dist/es/schemas/TransferCompletionMessage.json +0 -74
  301. package/dist/es/schemas/TransferError.json +0 -83
  302. package/dist/es/schemas/TransferProcess.json +0 -109
  303. package/dist/es/schemas/TransferRequestMessage.json +0 -88
  304. package/dist/es/schemas/TransferStartMessage.json +0 -78
  305. package/dist/es/schemas/TransferSuspensionMessage.json +0 -83
  306. package/dist/es/schemas/TransferTerminationMessage.json +0 -83
  307. package/dist/types/models/catalog/catalogTypes.d.ts +0 -22
  308. package/dist/types/models/contractNegotiation/contractNegotiationTypes.d.ts +0 -50
  309. package/dist/types/models/transferProcess/transferProcessTypes.d.ts +0 -46
  310. package/dist/types/models/transferProcess/types/transferProcessStateType.d.ts +0 -30
  311. package/docs/reference/interfaces/ITransferProcess.md +0 -74
  312. package/docs/reference/type-aliases/CatalogTypes.md +0 -5
  313. package/docs/reference/type-aliases/ContractNegotiationEventType.md +0 -5
  314. package/docs/reference/type-aliases/ContractNegotiationStateType.md +0 -5
  315. package/docs/reference/type-aliases/ContractNegotiationTypes.md +0 -5
  316. package/docs/reference/type-aliases/TransferProcessStateType.md +0 -5
  317. package/docs/reference/type-aliases/TransferProcessTypes.md +0 -5
  318. package/docs/reference/variables/CatalogTypes.md +0 -26
  319. package/docs/reference/variables/ContractNegotiationTypes.md +0 -68
  320. package/docs/reference/variables/TransferProcessStateType.md +0 -38
  321. package/docs/reference/variables/TransferProcessTypes.md +0 -62
@@ -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 {#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 {#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 {#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 {#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,26 @@
1
+ # Variable: DataspaceProtocolTransferFormat
2
+
3
+ > `const` **DataspaceProtocolTransferFormat**: `object`
4
+
5
+ DSP transfer format identifiers used in TransferRequestMessage.format.
6
+ See RFC-006 Data Transfer Profile Vocabulary.
7
+
8
+ ## Type Declaration
9
+
10
+ ### HttpPullQueryFormat {#httppullqueryformat}
11
+
12
+ > `readonly` **HttpPullQueryFormat**: `"Http-Pull-Query-Format"` = `"Http-Pull-Query-Format"`
13
+
14
+ PULL mode: consumer queries data via a bearer-token-protected endpoint.
15
+
16
+ ### HttpPushActivityStreamFormat {#httppushactivitystreamformat}
17
+
18
+ > `readonly` **HttpPushActivityStreamFormat**: `"Http-Push-Activity-Stream-Format"` = `"Http-Push-Activity-Stream-Format"`
19
+
20
+ Consumer-initiated PUSH mode: consumer provides an /inbox endpoint; provider posts ActivityStreams objects there.
21
+
22
+ ### HttpPostActivityStreamFormat {#httppostactivitystreamformat}
23
+
24
+ > `readonly` **HttpPostActivityStreamFormat**: `"Http-Post-Activity-Stream-Format"` = `"Http-Post-Activity-Stream-Format"`
25
+
26
+ Provider-initiated PUSH mode: provider returns an /inbox URL and JWT token in endpointProperties.
@@ -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 {#completed}
11
+
12
+ > `readonly` **COMPLETED**: `"COMPLETED"` = `"COMPLETED"`
13
+
14
+ Completed
15
+
16
+ ### REQUESTED {#requested}
17
+
18
+ > `readonly` **REQUESTED**: `"REQUESTED"` = `"REQUESTED"`
19
+
20
+ Requested
21
+
22
+ ### STARTED {#started}
23
+
24
+ > `readonly` **STARTED**: `"STARTED"` = `"STARTED"`
25
+
26
+ Started
27
+
28
+ ### SUSPENDED {#suspended}
29
+
30
+ > `readonly` **SUSPENDED**: `"SUSPENDED"` = `"SUSPENDED"`
31
+
32
+ Suspended
33
+
34
+ ### TERMINATED {#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 {#transferrequestmessage}
11
+
12
+ > `readonly` **TransferRequestMessage**: `"TransferRequestMessage"` = `"TransferRequestMessage"`
13
+
14
+ Transfer Request Message.
15
+
16
+ ### TransferStartMessage {#transferstartmessage}
17
+
18
+ > `readonly` **TransferStartMessage**: `"TransferStartMessage"` = `"TransferStartMessage"`
19
+
20
+ Transfer Start Message.
21
+
22
+ ### TransferSuspensionMessage {#transfersuspensionmessage}
23
+
24
+ > `readonly` **TransferSuspensionMessage**: `"TransferSuspensionMessage"` = `"TransferSuspensionMessage"`
25
+
26
+ Transfer Suspension Message.
27
+
28
+ ### TransferCompletionMessage {#transfercompletionmessage}
29
+
30
+ > `readonly` **TransferCompletionMessage**: `"TransferCompletionMessage"` = `"TransferCompletionMessage"`
31
+
32
+ Transfer Completion Message.
33
+
34
+ ### TransferTerminationMessage {#transferterminationmessage}
35
+
36
+ > `readonly` **TransferTerminationMessage**: `"TransferTerminationMessage"` = `"TransferTerminationMessage"`
37
+
38
+ Transfer Termination Message.
39
+
40
+ ### DataAddress {#dataaddress}
41
+
42
+ > `readonly` **DataAddress**: `"DataAddress"` = `"DataAddress"`
43
+
44
+ Data Address
45
+
46
+ ### EndpointProperty {#endpointproperty}
47
+
48
+ > `readonly` **EndpointProperty**: `"EndpointProperty"` = `"EndpointProperty"`
49
+
50
+ Endpoint property.
51
+
52
+ ### TransferProcess {#transferprocess}
53
+
54
+ > `readonly` **TransferProcess**: `"TransferProcess"` = `"TransferProcess"`
55
+
56
+ Transfer Process
57
+
58
+ ### TransferError {#transfererror}
59
+
60
+ > `readonly` **TransferError**: `"TransferError"` = `"TransferError"`
61
+
62
+ Transfer Error.
package/locales/en.json CHANGED
@@ -1 +1,10 @@
1
- {}
1
+ {
2
+ "error": {
3
+ "dataspaceProtocolHelper": {
4
+ "schemaNotRegistered": "JSON Schema \"{schemaId}\" is not registered in DataTypeHandlerFactory"
5
+ },
6
+ "validation": {
7
+ "missingType": "The object must include at least one @type value"
8
+ }
9
+ }
10
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@twin.org/standards-dataspace-protocol",
3
- "version": "0.0.3-next.6",
4
- "description": "Models which define the structure of Dataspace Protocol",
3
+ "version": "0.0.3-next.60",
4
+ "description": "Data models for the Dataspace Protocol specification.",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/twinfoundation/standards.git",
@@ -17,8 +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-dcat": "0.0.3-next.6",
21
- "@twin.org/standards-w3c-odrl": "0.0.3-next.6",
20
+ "@twin.org/standards-w3c-dcat": "0.0.3-next.60",
21
+ "@twin.org/standards-w3c-odrl": "0.0.3-next.60",
22
22
  "@twin.org/web": "next"
23
23
  },
24
24
  "main": "./dist/es/index.js",
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=ICatalogError.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ICatalogError.js","sourceRoot":"","sources":["../../../../src/models/catalog/ICatalogError.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { DataspaceProtocolContextType } from \"../dataspaceProtocolContextType.js\";\nimport type { CatalogTypes } from \"./catalogTypes.js\";\n\n/**\n * Interface for Dataspace Protocol Catalog Error.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#error-catalog-error\n */\nexport interface ICatalogError {\n\t/**\n\t * The JSON-LD context.\n\t */\n\t\"@context\": DataspaceProtocolContextType;\n\n\t/**\n\t * The type of the message.\n\t */\n\t\"@type\": typeof CatalogTypes.CatalogError;\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\t// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\treason?: any[];\n}\n"]}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=ICatalogRequestMessage.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ICatalogRequestMessage.js","sourceRoot":"","sources":["../../../../src/models/catalog/ICatalogRequestMessage.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { DataspaceProtocolContextType } from \"../dataspaceProtocolContextType.js\";\nimport type { CatalogTypes } from \"./catalogTypes.js\";\n\n/**\n * Interface for Dataspace Protocol Catalog Request Messages.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#catalog-request-message\n */\nexport interface ICatalogRequestMessage {\n\t/**\n\t * The JSON-LD context.\n\t */\n\t\"@context\": DataspaceProtocolContextType;\n\n\t/**\n\t * The type of the message.\n\t */\n\t\"@type\": typeof CatalogTypes.CatalogRequestMessage;\n\n\t/**\n\t * An implementation-specific query or filter expression.\n\t */\n\tfilter?: unknown[];\n}\n"]}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=IDatasetRequestMessage.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IDatasetRequestMessage.js","sourceRoot":"","sources":["../../../../src/models/catalog/IDatasetRequestMessage.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { DataspaceProtocolContextType } from \"../dataspaceProtocolContextType.js\";\nimport type { CatalogTypes } from \"./catalogTypes.js\";\n\n/**\n * Interface for Dataspace Protocol Dataset Request Messages.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#dataset-request-message\n */\nexport interface IDatasetRequestMessage {\n\t/**\n\t * The JSON-LD context.\n\t */\n\t\"@context\": DataspaceProtocolContextType;\n\n\t/**\n\t * The type of the message.\n\t */\n\t\"@type\": typeof CatalogTypes.DatasetRequestMessage;\n\n\t/**\n\t * The identifier of the dataset.\n\t */\n\tdataset: string;\n}\n"]}
@@ -1,22 +0,0 @@
1
- // Copyright 2025 IOTA Stiftung.
2
- // SPDX-License-Identifier: Apache-2.0.
3
- /**
4
- * The types for Dataspace Protocol Catalog Protocol.
5
- * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#catalog-protocol
6
- */
7
- // eslint-disable-next-line @typescript-eslint/naming-convention
8
- export const CatalogTypes = {
9
- /**
10
- * Catalog Request Message.
11
- */
12
- CatalogRequestMessage: "CatalogRequestMessage",
13
- /**
14
- * Dataset Request Message.
15
- */
16
- DatasetRequestMessage: "DatasetRequestMessage",
17
- /**
18
- * Catalog Error.
19
- */
20
- CatalogError: "CatalogError"
21
- };
22
- //# sourceMappingURL=catalogTypes.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"catalogTypes.js","sourceRoot":"","sources":["../../../../src/models/catalog/catalogTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;;GAGG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,YAAY,GAAG;IAC3B;;OAEG;IACH,qBAAqB,EAAE,uBAAuB;IAE9C;;OAEG;IACH,qBAAqB,EAAE,uBAAuB;IAE9C;;OAEG;IACH,YAAY,EAAE,cAAc;CACnB,CAAC","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The types for Dataspace Protocol Catalog Protocol.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#catalog-protocol\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const CatalogTypes = {\n\t/**\n\t * Catalog Request Message.\n\t */\n\tCatalogRequestMessage: \"CatalogRequestMessage\",\n\n\t/**\n\t * Dataset Request Message.\n\t */\n\tDatasetRequestMessage: \"DatasetRequestMessage\",\n\n\t/**\n\t * Catalog Error.\n\t */\n\tCatalogError: \"CatalogError\"\n} as const;\n\n/**\n * The types for Dataspace Protocol Catalog Protocol.\n */\nexport type CatalogTypes = (typeof CatalogTypes)[keyof typeof CatalogTypes];\n"]}
@@ -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 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IOdrlAgreement } from \"@twin.org/standards-w3c-odrl\";\nimport type { ContractNegotiationTypes } from \"./contractNegotiationTypes.js\";\nimport type { DataspaceProtocolContextType } from \"../dataspaceProtocolContextType.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\": DataspaceProtocolContextType;\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 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { DataspaceProtocolContextType } from \"../dataspaceProtocolContextType.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\": DataspaceProtocolContextType;\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 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { DataspaceProtocolContextType } from \"../dataspaceProtocolContextType.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\": DataspaceProtocolContextType;\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 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { DataspaceProtocolContextType } from \"../dataspaceProtocolContextType.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\": DataspaceProtocolContextType;\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\t// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\treason?: any[];\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 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { DataspaceProtocolContextType } from \"../dataspaceProtocolContextType.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\": DataspaceProtocolContextType;\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 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { DataspaceProtocolContextType } from \"../dataspaceProtocolContextType.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\": DataspaceProtocolContextType;\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 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IOdrlOffer } from \"@twin.org/standards-w3c-odrl\";\nimport type { DataspaceProtocolContextType } from \"../dataspaceProtocolContextType.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\": DataspaceProtocolContextType;\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 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IOdrlOffer } from \"@twin.org/standards-w3c-odrl\";\nimport type { DataspaceProtocolContextType } from \"../dataspaceProtocolContextType.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\": DataspaceProtocolContextType;\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 +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 2025 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 2025 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 2025 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,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=IDataAddress.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IDataAddress.js","sourceRoot":"","sources":["../../../../src/models/transferProcess/IDataAddress.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IEndpointProperty } from \"./IEndpointProperty.js\";\nimport type { TransferProcessTypes } from \"./transferProcessTypes.js\";\n\n/**\n * Interface for Dataspace Protocol Transfer Messages.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#lower-level-types\n */\nexport interface IDataAddress {\n\t/**\n\t * LD Type\n\t */\n\t\"@type\": typeof TransferProcessTypes.DataAddress;\n\n\t/**\n\t * The type of endpoint of this data address.\n\t */\n\tendpointType: string;\n\n\t/**\n\t * The endpoint of the data address\n\t */\n\tendpoint?: string;\n\n\t/**\n\t * Properties associated to the endpoint which might depend on the endpoint type.\n\t */\n\tendpointProperties?: IEndpointProperty[];\n}\n"]}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=IEndpointProperty.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IEndpointProperty.js","sourceRoot":"","sources":["../../../../src/models/transferProcess/IEndpointProperty.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { TransferProcessTypes } from \"./transferProcessTypes.js\";\n\n/**\n * Interface for Dataspace Protocol Transfer Messages.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#lower-level-types\n */\nexport interface IEndpointProperty {\n\t/**\n\t * LD Type.\n\t */\n\t\"@type\": typeof TransferProcessTypes.EndpointProperty;\n\n\t/**\n\t * Property name.\n\t */\n\tname: string;\n\n\t/**\n\t * Property value.\n\t */\n\tvalue: string;\n}\n"]}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=ITransferCompletionMessage.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ITransferCompletionMessage.js","sourceRoot":"","sources":["../../../../src/models/transferProcess/ITransferCompletionMessage.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { DataspaceProtocolContextType } from \"../dataspaceProtocolContextType.js\";\nimport type { TransferProcessTypes } from \"./transferProcessTypes.js\";\n\n/**\n * Interface for Dataspace Protocol Transfer Messages.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#transfer-completion-message\n */\nexport interface ITransferCompletionMessage {\n\t/**\n\t * LD Context\n\t */\n\t\"@context\": DataspaceProtocolContextType;\n\n\t/**\n\t * LD Type\n\t */\n\t\"@type\": typeof TransferProcessTypes.TransferCompletionMessage;\n\n\t/**\n\t * MUST refer to the transfer identifier of the Consumer side.\n\t */\n\tconsumerPid: string;\n\n\t/**\n\t * MUST refer to the transfer identifier of the Provider side.\n\t */\n\tproviderPid: string;\n}\n"]}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=ITransferError.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ITransferError.js","sourceRoot":"","sources":["../../../../src/models/transferProcess/ITransferError.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { DataspaceProtocolContextType } from \"../dataspaceProtocolContextType.js\";\nimport type { TransferProcessTypes } from \"./transferProcessTypes.js\";\n\n/**\n * Interface for Dataspace Protocol Transfer Messages.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol#error-transfer-error\n */\nexport interface ITransferError {\n\t/**\n\t * LD Context\n\t */\n\t\"@context\": DataspaceProtocolContextType;\n\n\t/**\n\t * LD Type\n\t */\n\t\"@type\": typeof TransferProcessTypes.TransferError;\n\n\t/**\n\t * MUST refer to the transfer identifier of the Consumer side.\n\t */\n\tconsumerPid: string;\n\n\t/**\n\t * MUST refer to the transfer identifier of the Provider side.\n\t */\n\tproviderPid: 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\t// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\treason?: any[];\n}\n"]}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=ITransferProcess.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ITransferProcess.js","sourceRoot":"","sources":["../../../../src/models/transferProcess/ITransferProcess.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { DataspaceProtocolContextType } from \"../dataspaceProtocolContextType.js\";\nimport type { TransferProcessTypes } from \"./transferProcessTypes.js\";\nimport type { TransferProcessStateType } from \"./types/transferProcessStateType.js\";\n\n/**\n * Interface for Dataspace Protocol Transfer Messages.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#ack-transfer-process\n */\nexport interface ITransferProcess {\n\t/**\n\t * LD Context\n\t */\n\t\"@context\": DataspaceProtocolContextType;\n\n\t/**\n\t * LD Type\n\t */\n\t\"@type\": typeof TransferProcessTypes.TransferProcess;\n\n\t/**\n\t * MUST refer to the transfer identifier of the Consumer side.\n\t */\n\tconsumerPid: string;\n\n\t/**\n\t * MUST refer to the transfer identifier of the Provider side.\n\t */\n\tproviderPid: string;\n\n\t/**\n\t * The transfer process state.\n\t */\n\tstate: typeof TransferProcessStateType;\n}\n"]}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=ITransferRequestMessage.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ITransferRequestMessage.js","sourceRoot":"","sources":["../../../../src/models/transferProcess/ITransferRequestMessage.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { DataspaceProtocolContextType } from \"../dataspaceProtocolContextType.js\";\nimport type { IDataAddress } from \"./IDataAddress.js\";\nimport type { TransferProcessTypes } from \"./transferProcessTypes.js\";\n\n/**\n * Interface for Dataspace Protocol Transfer Messages.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#transfer-request-message\n */\nexport interface ITransferRequestMessage {\n\t/**\n\t * LD Context\n\t */\n\t\"@context\": DataspaceProtocolContextType;\n\n\t/**\n\t * LD Type\n\t */\n\t\"@type\": typeof TransferProcessTypes.TransferRequestMessage;\n\n\t/**\n\t * MUST refer to an existing Agreement between the Consumer and Provider.\n\t */\n\tagreementId: string;\n\n\t/**\n\t * MUST be a URI indicating where messages to the Consumer SHOULD be sent.\n\t */\n\tcallbackAddress: string;\n\n\t/**\n\t * MUST refer to the transfer identifier of the Consumer side.\n\t */\n\tconsumerPid: string;\n\n\t/**\n\t * The format property is a format specified by a Distribution for the Dataset associated with the Agreement.\n\t * This is generally obtained from the Provider's Catalog.\n\t */\n\tformat: string;\n\n\t/**\n\t * If defined MUST contain a transport-specific set of properties for pushing the data.\n\t * It MAY include an endpoint, a temporary authorization via the endpointProperties property - depending on the endpointType.\n\t */\n\tdataAddress?: IDataAddress;\n}\n"]}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=ITransferStartMessage.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ITransferStartMessage.js","sourceRoot":"","sources":["../../../../src/models/transferProcess/ITransferStartMessage.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { DataspaceProtocolContextType } from \"../dataspaceProtocolContextType.js\";\nimport type { IDataAddress } from \"./IDataAddress.js\";\nimport type { TransferProcessTypes } from \"./transferProcessTypes.js\";\n\n/**\n * Interface for Dataspace Protocol Transfer Messages.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#transfer-start-message\n */\nexport interface ITransferStartMessage {\n\t/**\n\t * LD Context\n\t */\n\t\"@context\": DataspaceProtocolContextType;\n\n\t/**\n\t * LD Type\n\t */\n\t\"@type\": typeof TransferProcessTypes.TransferStartMessage;\n\n\t/**\n\t * MUST refer to the transfer identifier of the Consumer side.\n\t */\n\tconsumerPid: string;\n\n\t/**\n\t * MUST refer to the transfer identifier of the Provider side.\n\t */\n\tproviderPid: string;\n\n\t/**\n\t * MUST be provided if the current transfer is a pull transfer and\n\t * contains a transport-specific endpoint address for obtaining the data.\n\t */\n\tdataAddress?: IDataAddress;\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ITransferSuspensionMessage.js","sourceRoot":"","sources":["../../../../src/models/transferProcess/ITransferSuspensionMessage.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\nimport type { DataspaceProtocolContextType } from \"../dataspaceProtocolContextType.js\";\nimport type { TransferProcessTypes } from \"./transferProcessTypes.js\";\n\n/**\n * Interface for Dataspace Protocol Transfer Messages.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#transfer-suspension-message\n */\nexport interface ITransferSuspensionMessage {\n\t/**\n\t * LD Context\n\t */\n\t\"@context\": DataspaceProtocolContextType;\n\n\t/**\n\t * LD Type\n\t */\n\t\"@type\": typeof TransferProcessTypes.TransferSuspensionMessage;\n\n\t/**\n\t * MUST refer to the transfer identifier of the Consumer side.\n\t */\n\tconsumerPid: string;\n\n\t/**\n\t * MUST refer to the transfer identifier of the Provider side.\n\t */\n\tproviderPid: string;\n\n\t/**\n\t * The suspension code.\n\t */\n\tcode?: string;\n\n\t/**\n\t * The suspension 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=ITransferTerminationMessage.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ITransferTerminationMessage.js","sourceRoot":"","sources":["../../../../src/models/transferProcess/ITransferTerminationMessage.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { DataspaceProtocolContextType } from \"../dataspaceProtocolContextType.js\";\nimport type { TransferProcessTypes } from \"./transferProcessTypes.js\";\n\n/**\n * Interface for Dataspace Protocol Transfer Messages.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#transfer-termination-message\n */\nexport interface ITransferTerminationMessage {\n\t/**\n\t * LD Context\n\t */\n\t\"@context\": DataspaceProtocolContextType;\n\n\t/**\n\t * LD Type\n\t */\n\t\"@type\": typeof TransferProcessTypes.TransferTerminationMessage;\n\n\t/**\n\t * MUST refer to the transfer identifier of the Consumer side.\n\t */\n\tconsumerPid: string;\n\n\t/**\n\t * MUST refer to the transfer identifier of the Provider side.\n\t */\n\tproviderPid: 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 +0,0 @@
1
- {"version":3,"file":"transferProcessTypes.js","sourceRoot":"","sources":["../../../../src/models/transferProcess/transferProcessTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;;GAGG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,oBAAoB,GAAG;IACnC;;OAEG;IACH,sBAAsB,EAAE,wBAAwB;IAEhD;;OAEG;IACH,oBAAoB,EAAE,sBAAsB;IAE5C;;OAEG;IACH,yBAAyB,EAAE,2BAA2B;IAEtD;;OAEG;IACH,yBAAyB,EAAE,2BAA2B;IAEtD;;OAEG;IACH,0BAA0B,EAAE,4BAA4B;IAExD;;OAEG;IACH,WAAW,EAAE,aAAa;IAE1B;;OAEG;IACH,gBAAgB,EAAE,kBAAkB;IAEpC;;OAEG;IACH,eAAe,EAAE,iBAAiB;IAElC;;OAEG;IACH,aAAa,EAAE,eAAe;CAC9B,CAAC","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The types for Dataspace Protocol Transfer Process.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1-err1/#message-types-1\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const TransferProcessTypes = {\n\t/**\n\t * Transfer Request Message.\n\t */\n\tTransferRequestMessage: \"TransferRequestMessage\",\n\n\t/**\n\t * Transfer Start Message.\n\t */\n\tTransferStartMessage: \"TransferStartMessage\",\n\n\t/**\n\t * Transfer Suspension Message.\n\t */\n\tTransferSuspensionMessage: \"TransferSuspensionMessage\",\n\n\t/**\n\t * Transfer Completion Message.\n\t */\n\tTransferCompletionMessage: \"TransferCompletionMessage\",\n\n\t/**\n\t * Transfer Termination Message.\n\t */\n\tTransferTerminationMessage: \"TransferTerminationMessage\",\n\n\t/**\n\t * Data Address\n\t */\n\tDataAddress: \"DataAddress\",\n\n\t/**\n\t * Endpoint property.\n\t */\n\tEndpointProperty: \"EndpointProperty\",\n\n\t/**\n\t * Transfer Process\n\t */\n\tTransferProcess: \"TransferProcess\",\n\n\t/**\n\t * Transfer Error.\n\t */\n\tTransferError: \"TransferError\"\n};\n\n/**\n * The types for Dataspace Protocol Transfer.\n */\nexport type TransferProcessTypes = (typeof TransferProcessTypes)[keyof typeof TransferProcessTypes];\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"transferProcessStateType.js","sourceRoot":"","sources":["../../../../../src/models/transferProcess/types/transferProcessStateType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;;GAGG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACvC;;OAEG;IACH,SAAS,EAAE,WAAW;IAEtB;;OAEG;IACH,SAAS,EAAE,WAAW;IAEtB;;OAEG;IACH,OAAO,EAAE,SAAS;IAElB;;OAEG;IACH,SAAS,EAAE,WAAW;IAEtB;;OAEG;IACH,UAAU,EAAE,YAAY;CACxB,CAAC","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The states for Dataspace Protocol Transfer Process.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1-err1/#ack-transfer-process\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const TransferProcessStateType = {\n\t/**\n\t * Completed\n\t */\n\tCOMPLETED: \"COMPLETED\",\n\n\t/**\n\t * Requested\n\t */\n\tREQUESTED: \"REQUESTED\",\n\n\t/**\n\t * Started\n\t */\n\tSTARTED: \"STARTED\",\n\n\t/**\n\t * Suspended\n\t */\n\tSUSPENDED: \"SUSPENDED\",\n\n\t/**\n\t * Terminated\n\t */\n\tTERMINATED: \"TERMINATED\"\n};\n\n/**\n * The types for Dataspace Protocol Transfer.\n */\nexport type TransferProcessStateType =\n\t(typeof TransferProcessStateType)[keyof typeof TransferProcessStateType];\n"]}
@@ -1,74 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://schema.twindev.org/dataspace-protocol/CatalogError",
4
- "description": "Interface for Dataspace Protocol Catalog Error. https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#error-catalog-error",
5
- "type": "object",
6
- "properties": {
7
- "@context": {
8
- "description": "The Dataspace Protocol JSON-LD context type.",
9
- "anyOf": [
10
- {
11
- "type": "array",
12
- "items": {
13
- "type": "string",
14
- "const": "https://w3id.org/dspace/2025/1/context.json"
15
- },
16
- "minItems": 1,
17
- "maxItems": 1
18
- },
19
- {
20
- "type": "array",
21
- "minItems": 2,
22
- "prefixItems": [
23
- {
24
- "type": "string",
25
- "const": "https://w3id.org/dspace/2025/1/context.json"
26
- },
27
- {
28
- "$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
29
- }
30
- ],
31
- "items": {
32
- "$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
33
- }
34
- },
35
- {
36
- "type": "array",
37
- "minItems": 2,
38
- "prefixItems": [
39
- {
40
- "$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
41
- },
42
- {
43
- "type": "string",
44
- "const": "https://w3id.org/dspace/2025/1/context.json"
45
- }
46
- ],
47
- "items": {
48
- "$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
49
- }
50
- }
51
- ]
52
- },
53
- "@type": {
54
- "type": "string",
55
- "const": "CatalogError",
56
- "description": "The type of the message."
57
- },
58
- "code": {
59
- "type": "string",
60
- "description": "The error code."
61
- },
62
- "reason": {
63
- "type": "array",
64
- "items": {},
65
- "description": "The error reason(s)."
66
- }
67
- },
68
- "required": [
69
- "@context",
70
- "@type",
71
- "code"
72
- ],
73
- "additionalProperties": false
74
- }