@twin.org/dataspace-models 0.0.3-next.21 → 0.0.3-next.23

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 (108) hide show
  1. package/dist/es/index.js +20 -20
  2. package/dist/es/index.js.map +1 -1
  3. package/dist/es/models/api/controlPlane/ICompleteTransferRequest.js.map +1 -0
  4. package/dist/es/models/api/controlPlane/ICompleteTransferResponse.js.map +1 -0
  5. package/dist/es/models/api/controlPlane/IGetTransferProcessRequest.js.map +1 -0
  6. package/dist/es/models/api/controlPlane/IGetTransferProcessResponse.js.map +1 -0
  7. package/dist/es/models/api/controlPlane/IRequestTransferRequest.js.map +1 -0
  8. package/dist/es/models/api/controlPlane/IRequestTransferResponse.js.map +1 -0
  9. package/dist/es/models/api/controlPlane/IStartTransferRequest.js.map +1 -0
  10. package/dist/es/models/api/controlPlane/IStartTransferResponse.js.map +1 -0
  11. package/dist/es/models/api/controlPlane/ISuspendTransferRequest.js.map +1 -0
  12. package/dist/es/models/api/controlPlane/ISuspendTransferResponse.js.map +1 -0
  13. package/dist/es/models/api/controlPlane/ITerminateTransferRequest.js.map +1 -0
  14. package/dist/es/models/api/controlPlane/ITerminateTransferResponse.js.map +1 -0
  15. package/dist/es/models/controlPlane/IDataspaceControlPlaneComponent.js.map +1 -0
  16. package/dist/es/models/controlPlane/IDataspaceControlPlaneResolverComponent.js.map +1 -0
  17. package/dist/es/models/controlPlane/INegotiationCallback.js.map +1 -0
  18. package/dist/es/models/controlPlane/ITransferContext.js.map +1 -0
  19. package/dist/es/models/controlPlane/ITransferProcess.js.map +1 -0
  20. package/dist/es/models/controlPlane/api/ITransferContextResponse.js.map +1 -0
  21. package/dist/es/models/controlPlane/transferProcessRole.js.map +1 -0
  22. package/dist/es/models/dataPlane/IDataspaceDataPlaneComponent.js.map +1 -0
  23. package/dist/es/schemas/DataspaceActivity.json +724 -18
  24. package/dist/types/index.d.ts +20 -20
  25. package/docs/changelog.md +14 -0
  26. package/docs/reference/classes/TransferProcess.md +6 -6
  27. package/docs/reference/interfaces/IActivityLogDates.md +1 -1
  28. package/docs/reference/interfaces/IActivityLogDetails.md +2 -2
  29. package/docs/reference/interfaces/IActivityLogEntry.md +6 -6
  30. package/docs/reference/interfaces/IActivityLogStatusNotification.md +1 -1
  31. package/docs/reference/interfaces/IActivityQuery.md +2 -2
  32. package/docs/reference/interfaces/ICompleteTransferResponse.md +1 -1
  33. package/docs/reference/interfaces/IDataAssetEntitiesResponse.md +2 -2
  34. package/docs/reference/interfaces/IDataAssetGetEntitiesRequest.md +6 -6
  35. package/docs/reference/interfaces/IDataAssetItemListResult.md +1 -1
  36. package/docs/reference/interfaces/IDataAssetQueryRequest.md +5 -5
  37. package/docs/reference/interfaces/IDataspaceActivity.md +1 -1
  38. package/docs/reference/interfaces/IDataspaceControlPlaneComponent.md +4 -4
  39. package/docs/reference/interfaces/IEntitySet.md +1 -1
  40. package/docs/reference/interfaces/IFilteringQuery.md +1 -1
  41. package/docs/reference/interfaces/IGetTransferProcessResponse.md +1 -1
  42. package/docs/reference/interfaces/IRequestTransferResponse.md +1 -1
  43. package/docs/reference/interfaces/IStartTransferResponse.md +1 -1
  44. package/docs/reference/interfaces/ISuspendTransferResponse.md +1 -1
  45. package/docs/reference/interfaces/ITerminateTransferResponse.md +1 -1
  46. package/docs/reference/interfaces/ITransferContext.md +3 -3
  47. package/docs/reference/interfaces/ITransferProcess.md +6 -6
  48. package/package.json +1 -1
  49. package/dist/es/models/api/control-plane/ICompleteTransferRequest.js.map +0 -1
  50. package/dist/es/models/api/control-plane/ICompleteTransferResponse.js.map +0 -1
  51. package/dist/es/models/api/control-plane/IGetTransferProcessRequest.js.map +0 -1
  52. package/dist/es/models/api/control-plane/IGetTransferProcessResponse.js.map +0 -1
  53. package/dist/es/models/api/control-plane/IRequestTransferRequest.js.map +0 -1
  54. package/dist/es/models/api/control-plane/IRequestTransferResponse.js.map +0 -1
  55. package/dist/es/models/api/control-plane/IStartTransferRequest.js.map +0 -1
  56. package/dist/es/models/api/control-plane/IStartTransferResponse.js.map +0 -1
  57. package/dist/es/models/api/control-plane/ISuspendTransferRequest.js.map +0 -1
  58. package/dist/es/models/api/control-plane/ISuspendTransferResponse.js.map +0 -1
  59. package/dist/es/models/api/control-plane/ITerminateTransferRequest.js.map +0 -1
  60. package/dist/es/models/api/control-plane/ITerminateTransferResponse.js.map +0 -1
  61. package/dist/es/models/control-plane/IDataspaceControlPlaneComponent.js.map +0 -1
  62. package/dist/es/models/control-plane/IDataspaceControlPlaneResolverComponent.js.map +0 -1
  63. package/dist/es/models/control-plane/INegotiationCallback.js.map +0 -1
  64. package/dist/es/models/control-plane/ITransferContext.js.map +0 -1
  65. package/dist/es/models/control-plane/ITransferProcess.js.map +0 -1
  66. package/dist/es/models/control-plane/api/ITransferContextResponse.js.map +0 -1
  67. package/dist/es/models/control-plane/transferProcessRole.js.map +0 -1
  68. package/dist/es/models/data-plane/IDataspaceDataPlaneComponent.js.map +0 -1
  69. /package/dist/es/models/api/{control-plane → controlPlane}/ICompleteTransferRequest.js +0 -0
  70. /package/dist/es/models/api/{control-plane → controlPlane}/ICompleteTransferResponse.js +0 -0
  71. /package/dist/es/models/api/{control-plane → controlPlane}/IGetTransferProcessRequest.js +0 -0
  72. /package/dist/es/models/api/{control-plane → controlPlane}/IGetTransferProcessResponse.js +0 -0
  73. /package/dist/es/models/api/{control-plane → controlPlane}/IRequestTransferRequest.js +0 -0
  74. /package/dist/es/models/api/{control-plane → controlPlane}/IRequestTransferResponse.js +0 -0
  75. /package/dist/es/models/api/{control-plane → controlPlane}/IStartTransferRequest.js +0 -0
  76. /package/dist/es/models/api/{control-plane → controlPlane}/IStartTransferResponse.js +0 -0
  77. /package/dist/es/models/api/{control-plane → controlPlane}/ISuspendTransferRequest.js +0 -0
  78. /package/dist/es/models/api/{control-plane → controlPlane}/ISuspendTransferResponse.js +0 -0
  79. /package/dist/es/models/api/{control-plane → controlPlane}/ITerminateTransferRequest.js +0 -0
  80. /package/dist/es/models/api/{control-plane → controlPlane}/ITerminateTransferResponse.js +0 -0
  81. /package/dist/es/models/{control-plane → controlPlane}/IDataspaceControlPlaneComponent.js +0 -0
  82. /package/dist/es/models/{control-plane → controlPlane}/IDataspaceControlPlaneResolverComponent.js +0 -0
  83. /package/dist/es/models/{control-plane → controlPlane}/INegotiationCallback.js +0 -0
  84. /package/dist/es/models/{control-plane → controlPlane}/ITransferContext.js +0 -0
  85. /package/dist/es/models/{control-plane → controlPlane}/ITransferProcess.js +0 -0
  86. /package/dist/es/models/{control-plane → controlPlane}/api/ITransferContextResponse.js +0 -0
  87. /package/dist/es/models/{control-plane → controlPlane}/transferProcessRole.js +0 -0
  88. /package/dist/es/models/{data-plane → dataPlane}/IDataspaceDataPlaneComponent.js +0 -0
  89. /package/dist/types/models/api/{control-plane → controlPlane}/ICompleteTransferRequest.d.ts +0 -0
  90. /package/dist/types/models/api/{control-plane → controlPlane}/ICompleteTransferResponse.d.ts +0 -0
  91. /package/dist/types/models/api/{control-plane → controlPlane}/IGetTransferProcessRequest.d.ts +0 -0
  92. /package/dist/types/models/api/{control-plane → controlPlane}/IGetTransferProcessResponse.d.ts +0 -0
  93. /package/dist/types/models/api/{control-plane → controlPlane}/IRequestTransferRequest.d.ts +0 -0
  94. /package/dist/types/models/api/{control-plane → controlPlane}/IRequestTransferResponse.d.ts +0 -0
  95. /package/dist/types/models/api/{control-plane → controlPlane}/IStartTransferRequest.d.ts +0 -0
  96. /package/dist/types/models/api/{control-plane → controlPlane}/IStartTransferResponse.d.ts +0 -0
  97. /package/dist/types/models/api/{control-plane → controlPlane}/ISuspendTransferRequest.d.ts +0 -0
  98. /package/dist/types/models/api/{control-plane → controlPlane}/ISuspendTransferResponse.d.ts +0 -0
  99. /package/dist/types/models/api/{control-plane → controlPlane}/ITerminateTransferRequest.d.ts +0 -0
  100. /package/dist/types/models/api/{control-plane → controlPlane}/ITerminateTransferResponse.d.ts +0 -0
  101. /package/dist/types/models/{control-plane → controlPlane}/IDataspaceControlPlaneComponent.d.ts +0 -0
  102. /package/dist/types/models/{control-plane → controlPlane}/IDataspaceControlPlaneResolverComponent.d.ts +0 -0
  103. /package/dist/types/models/{control-plane → controlPlane}/INegotiationCallback.d.ts +0 -0
  104. /package/dist/types/models/{control-plane → controlPlane}/ITransferContext.d.ts +0 -0
  105. /package/dist/types/models/{control-plane → controlPlane}/ITransferProcess.d.ts +0 -0
  106. /package/dist/types/models/{control-plane → controlPlane}/api/ITransferContextResponse.d.ts +0 -0
  107. /package/dist/types/models/{control-plane → controlPlane}/transferProcessRole.d.ts +0 -0
  108. /package/dist/types/models/{data-plane → dataPlane}/IDataspaceDataPlaneComponent.d.ts +0 -0
package/dist/es/index.js CHANGED
@@ -3,15 +3,15 @@
3
3
  // Entity exports
4
4
  export * from "./entities/transferProcess.js";
5
5
  // Control Plane exports
6
- export * from "./models/control-plane/IDataspaceControlPlaneComponent.js";
7
- export * from "./models/control-plane/IDataspaceControlPlaneResolverComponent.js";
8
- export * from "./models/control-plane/INegotiationCallback.js";
9
- export * from "./models/control-plane/ITransferProcess.js";
10
- export * from "./models/control-plane/transferProcessRole.js";
11
- export * from "./models/control-plane/ITransferContext.js";
12
- export * from "./models/control-plane/api/ITransferContextResponse.js";
6
+ export * from "./models/controlPlane/IDataspaceControlPlaneComponent.js";
7
+ export * from "./models/controlPlane/IDataspaceControlPlaneResolverComponent.js";
8
+ export * from "./models/controlPlane/INegotiationCallback.js";
9
+ export * from "./models/controlPlane/ITransferProcess.js";
10
+ export * from "./models/controlPlane/transferProcessRole.js";
11
+ export * from "./models/controlPlane/ITransferContext.js";
12
+ export * from "./models/controlPlane/api/ITransferContextResponse.js";
13
13
  // Data Plane exports
14
- export * from "./models/data-plane/IDataspaceDataPlaneComponent.js";
14
+ export * from "./models/dataPlane/IDataspaceDataPlaneComponent.js";
15
15
  export * from "./models/IDataspaceActivity.js";
16
16
  export * from "./models/dataspaceTypes.js";
17
17
  export * from "./models/dataspaceContexts.js";
@@ -30,18 +30,18 @@ export * from "./models/api/IDataAssetEntitiesResponse.js";
30
30
  export * from "./models/api/IDataAssetGetEntitiesRequest.js";
31
31
  export * from "./models/api/IDataAssetQueryRequest.js";
32
32
  // Control Plane API exports - Transfer Process Protocol
33
- export * from "./models/api/control-plane/IRequestTransferRequest.js";
34
- export * from "./models/api/control-plane/IRequestTransferResponse.js";
35
- export * from "./models/api/control-plane/IStartTransferRequest.js";
36
- export * from "./models/api/control-plane/IStartTransferResponse.js";
37
- export * from "./models/api/control-plane/ICompleteTransferRequest.js";
38
- export * from "./models/api/control-plane/ICompleteTransferResponse.js";
39
- export * from "./models/api/control-plane/ISuspendTransferRequest.js";
40
- export * from "./models/api/control-plane/ISuspendTransferResponse.js";
41
- export * from "./models/api/control-plane/ITerminateTransferRequest.js";
42
- export * from "./models/api/control-plane/ITerminateTransferResponse.js";
43
- export * from "./models/api/control-plane/IGetTransferProcessRequest.js";
44
- export * from "./models/api/control-plane/IGetTransferProcessResponse.js";
33
+ export * from "./models/api/controlPlane/IRequestTransferRequest.js";
34
+ export * from "./models/api/controlPlane/IRequestTransferResponse.js";
35
+ export * from "./models/api/controlPlane/IStartTransferRequest.js";
36
+ export * from "./models/api/controlPlane/IStartTransferResponse.js";
37
+ export * from "./models/api/controlPlane/ICompleteTransferRequest.js";
38
+ export * from "./models/api/controlPlane/ICompleteTransferResponse.js";
39
+ export * from "./models/api/controlPlane/ISuspendTransferRequest.js";
40
+ export * from "./models/api/controlPlane/ISuspendTransferResponse.js";
41
+ export * from "./models/api/controlPlane/ITerminateTransferRequest.js";
42
+ export * from "./models/api/controlPlane/ITerminateTransferResponse.js";
43
+ export * from "./models/api/controlPlane/IGetTransferProcessRequest.js";
44
+ export * from "./models/api/controlPlane/IGetTransferProcessResponse.js";
45
45
  export * from "./models/app/dataRequestType.js";
46
46
  export * from "./models/app/IActivityQuery.js";
47
47
  export * from "./models/app/IDataAssetEntitiesRequest.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC,iBAAiB;AACjB,cAAc,+BAA+B,CAAC;AAE9C,wBAAwB;AACxB,cAAc,2DAA2D,CAAC;AAC1E,cAAc,mEAAmE,CAAC;AAClF,cAAc,gDAAgD,CAAC;AAC/D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,+CAA+C,CAAC;AAC9D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,wDAAwD,CAAC;AAEvE,qBAAqB;AACrB,cAAc,qDAAqD,CAAC;AAEpE,cAAc,gCAAgC,CAAC;AAC/C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+BAA+B,CAAC;AAE9C,cAAc,mCAAmC,CAAC;AAElD,cAAc;AACd,cAAc,oCAAoC,CAAC;AACnD,cAAc,+BAA+B,CAAC;AAE9C,gBAAgB;AAChB,cAAc,sCAAsC,CAAC;AACrD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,uDAAuD,CAAC;AACtE,cAAc,2CAA2C,CAAC;AAC1D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,wCAAwC,CAAC;AAEvD,wDAAwD;AACxD,cAAc,uDAAuD,CAAC;AACtE,cAAc,wDAAwD,CAAC;AACvE,cAAc,qDAAqD,CAAC;AACpE,cAAc,sDAAsD,CAAC;AACrE,cAAc,wDAAwD,CAAC;AACvE,cAAc,yDAAyD,CAAC;AACxE,cAAc,uDAAuD,CAAC;AACtE,cAAc,wDAAwD,CAAC;AACvE,cAAc,yDAAyD,CAAC;AACxE,cAAc,0DAA0D,CAAC;AACzE,cAAc,0DAA0D,CAAC;AACzE,cAAc,2DAA2D,CAAC;AAE1E,cAAc,iCAAiC,CAAC;AAChD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,2CAA2C,CAAC;AAC1D,cAAc,iCAAiC,CAAC;AAChD,cAAc,wCAAwC,CAAC;AACvD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iCAAiC,CAAC;AAChD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,4CAA4C,CAAC;AAC3D,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,sCAAsC,CAAC;AACrD,cAAc,wBAAwB,CAAC;AACvC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,sBAAsB,CAAC","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n// Entity exports\nexport * from \"./entities/transferProcess.js\";\n\n// Control Plane exports\nexport * from \"./models/control-plane/IDataspaceControlPlaneComponent.js\";\nexport * from \"./models/control-plane/IDataspaceControlPlaneResolverComponent.js\";\nexport * from \"./models/control-plane/INegotiationCallback.js\";\nexport * from \"./models/control-plane/ITransferProcess.js\";\nexport * from \"./models/control-plane/transferProcessRole.js\";\nexport * from \"./models/control-plane/ITransferContext.js\";\nexport * from \"./models/control-plane/api/ITransferContextResponse.js\";\n\n// Data Plane exports\nexport * from \"./models/data-plane/IDataspaceDataPlaneComponent.js\";\n\nexport * from \"./models/IDataspaceActivity.js\";\nexport * from \"./models/dataspaceTypes.js\";\nexport * from \"./models/dataspaceContexts.js\";\n\nexport * from \"./dataTypes/dataspaceDataTypes.js\";\n\n// App exports\nexport * from \"./factories/dataspaceAppFactory.js\";\nexport * from \"./models/app/IDataspaceApp.js\";\n\n// Other exports\nexport * from \"./models/activityProcessingStatus.js\";\nexport * from \"./models/api/IActivityLogEntryGetRequest.js\";\nexport * from \"./models/api/IActivityLogEntryGetResponse.js\";\nexport * from \"./models/api/IActivityLogStatusNotificationPayload.js\";\nexport * from \"./models/api/IActivityLogStatusRequest.js\";\nexport * from \"./models/api/IActivityStreamNotifyRequest.js\";\nexport * from \"./models/api/IDataAssetEntitiesResponse.js\";\nexport * from \"./models/api/IDataAssetGetEntitiesRequest.js\";\nexport * from \"./models/api/IDataAssetQueryRequest.js\";\n\n// Control Plane API exports - Transfer Process Protocol\nexport * from \"./models/api/control-plane/IRequestTransferRequest.js\";\nexport * from \"./models/api/control-plane/IRequestTransferResponse.js\";\nexport * from \"./models/api/control-plane/IStartTransferRequest.js\";\nexport * from \"./models/api/control-plane/IStartTransferResponse.js\";\nexport * from \"./models/api/control-plane/ICompleteTransferRequest.js\";\nexport * from \"./models/api/control-plane/ICompleteTransferResponse.js\";\nexport * from \"./models/api/control-plane/ISuspendTransferRequest.js\";\nexport * from \"./models/api/control-plane/ISuspendTransferResponse.js\";\nexport * from \"./models/api/control-plane/ITerminateTransferRequest.js\";\nexport * from \"./models/api/control-plane/ITerminateTransferResponse.js\";\nexport * from \"./models/api/control-plane/IGetTransferProcessRequest.js\";\nexport * from \"./models/api/control-plane/IGetTransferProcessResponse.js\";\n\nexport * from \"./models/app/dataRequestType.js\";\nexport * from \"./models/app/IActivityQuery.js\";\nexport * from \"./models/app/IDataAssetEntitiesRequest.js\";\nexport * from \"./models/app/IDataAssetQuery.js\";\nexport * from \"./models/app/IQueryDataAssetRequest.js\";\nexport * from \"./models/app/IDataRequest.js\";\nexport * from \"./models/IActivityLogDates.js\";\nexport * from \"./models/IActivityLogDetails.js\";\nexport * from \"./models/IActivityLogEntry.js\";\nexport * from \"./models/IActivityLogStatusNotification.js\";\nexport * from \"./models/IActivityTask.js\";\nexport * from \"./models/IDataAssetItemList.js\";\nexport * from \"./models/IDataAssetItemListResult.js\";\nexport * from \"./models/IEntitySet.js\";\nexport * from \"./models/IExecutionPayload.js\";\nexport * from \"./models/IFilteringQuery.js\";\nexport * from \"./models/ITaskApp.js\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC,iBAAiB;AACjB,cAAc,+BAA+B,CAAC;AAE9C,wBAAwB;AACxB,cAAc,0DAA0D,CAAC;AACzE,cAAc,kEAAkE,CAAC;AACjF,cAAc,+CAA+C,CAAC;AAC9D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,uDAAuD,CAAC;AAEtE,qBAAqB;AACrB,cAAc,oDAAoD,CAAC;AAEnE,cAAc,gCAAgC,CAAC;AAC/C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+BAA+B,CAAC;AAE9C,cAAc,mCAAmC,CAAC;AAElD,cAAc;AACd,cAAc,oCAAoC,CAAC;AACnD,cAAc,+BAA+B,CAAC;AAE9C,gBAAgB;AAChB,cAAc,sCAAsC,CAAC;AACrD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,uDAAuD,CAAC;AACtE,cAAc,2CAA2C,CAAC;AAC1D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,wCAAwC,CAAC;AAEvD,wDAAwD;AACxD,cAAc,sDAAsD,CAAC;AACrE,cAAc,uDAAuD,CAAC;AACtE,cAAc,oDAAoD,CAAC;AACnE,cAAc,qDAAqD,CAAC;AACpE,cAAc,uDAAuD,CAAC;AACtE,cAAc,wDAAwD,CAAC;AACvE,cAAc,sDAAsD,CAAC;AACrE,cAAc,uDAAuD,CAAC;AACtE,cAAc,wDAAwD,CAAC;AACvE,cAAc,yDAAyD,CAAC;AACxE,cAAc,yDAAyD,CAAC;AACxE,cAAc,0DAA0D,CAAC;AAEzE,cAAc,iCAAiC,CAAC;AAChD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,2CAA2C,CAAC;AAC1D,cAAc,iCAAiC,CAAC;AAChD,cAAc,wCAAwC,CAAC;AACvD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iCAAiC,CAAC;AAChD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,4CAA4C,CAAC;AAC3D,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,sCAAsC,CAAC;AACrD,cAAc,wBAAwB,CAAC;AACvC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,sBAAsB,CAAC","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n// Entity exports\nexport * from \"./entities/transferProcess.js\";\n\n// Control Plane exports\nexport * from \"./models/controlPlane/IDataspaceControlPlaneComponent.js\";\nexport * from \"./models/controlPlane/IDataspaceControlPlaneResolverComponent.js\";\nexport * from \"./models/controlPlane/INegotiationCallback.js\";\nexport * from \"./models/controlPlane/ITransferProcess.js\";\nexport * from \"./models/controlPlane/transferProcessRole.js\";\nexport * from \"./models/controlPlane/ITransferContext.js\";\nexport * from \"./models/controlPlane/api/ITransferContextResponse.js\";\n\n// Data Plane exports\nexport * from \"./models/dataPlane/IDataspaceDataPlaneComponent.js\";\n\nexport * from \"./models/IDataspaceActivity.js\";\nexport * from \"./models/dataspaceTypes.js\";\nexport * from \"./models/dataspaceContexts.js\";\n\nexport * from \"./dataTypes/dataspaceDataTypes.js\";\n\n// App exports\nexport * from \"./factories/dataspaceAppFactory.js\";\nexport * from \"./models/app/IDataspaceApp.js\";\n\n// Other exports\nexport * from \"./models/activityProcessingStatus.js\";\nexport * from \"./models/api/IActivityLogEntryGetRequest.js\";\nexport * from \"./models/api/IActivityLogEntryGetResponse.js\";\nexport * from \"./models/api/IActivityLogStatusNotificationPayload.js\";\nexport * from \"./models/api/IActivityLogStatusRequest.js\";\nexport * from \"./models/api/IActivityStreamNotifyRequest.js\";\nexport * from \"./models/api/IDataAssetEntitiesResponse.js\";\nexport * from \"./models/api/IDataAssetGetEntitiesRequest.js\";\nexport * from \"./models/api/IDataAssetQueryRequest.js\";\n\n// Control Plane API exports - Transfer Process Protocol\nexport * from \"./models/api/controlPlane/IRequestTransferRequest.js\";\nexport * from \"./models/api/controlPlane/IRequestTransferResponse.js\";\nexport * from \"./models/api/controlPlane/IStartTransferRequest.js\";\nexport * from \"./models/api/controlPlane/IStartTransferResponse.js\";\nexport * from \"./models/api/controlPlane/ICompleteTransferRequest.js\";\nexport * from \"./models/api/controlPlane/ICompleteTransferResponse.js\";\nexport * from \"./models/api/controlPlane/ISuspendTransferRequest.js\";\nexport * from \"./models/api/controlPlane/ISuspendTransferResponse.js\";\nexport * from \"./models/api/controlPlane/ITerminateTransferRequest.js\";\nexport * from \"./models/api/controlPlane/ITerminateTransferResponse.js\";\nexport * from \"./models/api/controlPlane/IGetTransferProcessRequest.js\";\nexport * from \"./models/api/controlPlane/IGetTransferProcessResponse.js\";\n\nexport * from \"./models/app/dataRequestType.js\";\nexport * from \"./models/app/IActivityQuery.js\";\nexport * from \"./models/app/IDataAssetEntitiesRequest.js\";\nexport * from \"./models/app/IDataAssetQuery.js\";\nexport * from \"./models/app/IQueryDataAssetRequest.js\";\nexport * from \"./models/app/IDataRequest.js\";\nexport * from \"./models/IActivityLogDates.js\";\nexport * from \"./models/IActivityLogDetails.js\";\nexport * from \"./models/IActivityLogEntry.js\";\nexport * from \"./models/IActivityLogStatusNotification.js\";\nexport * from \"./models/IActivityTask.js\";\nexport * from \"./models/IDataAssetItemList.js\";\nexport * from \"./models/IDataAssetItemListResult.js\";\nexport * from \"./models/IEntitySet.js\";\nexport * from \"./models/IExecutionPayload.js\";\nexport * from \"./models/IFilteringQuery.js\";\nexport * from \"./models/ITaskApp.js\";\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ICompleteTransferRequest.js","sourceRoot":"","sources":["../../../../../src/models/api/controlPlane/ICompleteTransferRequest.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IDataspaceProtocolTransferCompletionMessage } from \"@twin.org/standards-dataspace-protocol\";\nimport type { HeaderTypes } from \"@twin.org/web\";\n\n/**\n * API request for completing a transfer process.\n */\nexport interface ICompleteTransferRequest {\n\t/**\n\t * Path parameters containing the process ID.\n\t */\n\tpathParams: {\n\t\t/**\n\t\t * Process ID (consumerPid).\n\t\t */\n\t\tpid: string;\n\t};\n\n\t/**\n\t * Authorization header containing the Base64-encoded trust payload.\n\t */\n\theaders: {\n\t\t[HeaderTypes.Authorization]: string;\n\t};\n\n\t/**\n\t * Transfer completion message (DSP compliant).\n\t */\n\tbody: IDataspaceProtocolTransferCompletionMessage;\n}\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ICompleteTransferResponse.js","sourceRoot":"","sources":["../../../../../src/models/api/controlPlane/ICompleteTransferResponse.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type {\n\tIDataspaceProtocolTransferProcess,\n\tIDataspaceProtocolTransferError\n} from \"@twin.org/standards-dataspace-protocol\";\nimport type { HttpStatusCode } from \"@twin.org/web\";\n\n/**\n * API response for completing a transfer process.\n */\nexport interface ICompleteTransferResponse {\n\t/**\n\t * Transfer Process (DSP compliant) with state COMPLETED, or error.\n\t */\n\tbody: IDataspaceProtocolTransferProcess | IDataspaceProtocolTransferError;\n\n\t/**\n\t * HTTP status code for the response.\n\t */\n\tstatusCode?: HttpStatusCode;\n}\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IGetTransferProcessRequest.js","sourceRoot":"","sources":["../../../../../src/models/api/controlPlane/IGetTransferProcessRequest.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { HeaderTypes } from \"@twin.org/web\";\n\n/**\n * API request for getting a transfer process state.\n */\nexport interface IGetTransferProcessRequest {\n\t/**\n\t * Path parameters containing the process ID.\n\t */\n\tpathParams: {\n\t\t/**\n\t\t * Process ID (consumerPid or providerPid).\n\t\t */\n\t\tpid: string;\n\t};\n\n\t/**\n\t * Authorization header containing the Base64-encoded trust payload.\n\t */\n\theaders: {\n\t\t[HeaderTypes.Authorization]: string;\n\t};\n}\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IGetTransferProcessResponse.js","sourceRoot":"","sources":["../../../../../src/models/api/controlPlane/IGetTransferProcessResponse.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type {\n\tIDataspaceProtocolTransferProcess,\n\tIDataspaceProtocolTransferError\n} from \"@twin.org/standards-dataspace-protocol\";\nimport type { HttpStatusCode } from \"@twin.org/web\";\n\n/**\n * API response for getting a transfer process state.\n */\nexport interface IGetTransferProcessResponse {\n\t/**\n\t * Transfer Process (DSP compliant) with current state, or error.\n\t */\n\tbody: IDataspaceProtocolTransferProcess | IDataspaceProtocolTransferError;\n\n\t/**\n\t * HTTP status code for the response.\n\t */\n\tstatusCode?: HttpStatusCode;\n}\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IRequestTransferRequest.js","sourceRoot":"","sources":["../../../../../src/models/api/controlPlane/IRequestTransferRequest.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IDataspaceProtocolTransferRequestMessage } from \"@twin.org/standards-dataspace-protocol\";\nimport type { HeaderTypes } from \"@twin.org/web\";\n\n/**\n * API request for requesting a transfer process.\n */\nexport interface IRequestTransferRequest {\n\t/**\n\t * Authorization header containing the Base64-encoded trust payload.\n\t */\n\theaders: {\n\t\t[HeaderTypes.Authorization]: string;\n\t};\n\n\t/**\n\t * Transfer request message (DSP compliant).\n\t */\n\tbody: IDataspaceProtocolTransferRequestMessage;\n}\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IRequestTransferResponse.js","sourceRoot":"","sources":["../../../../../src/models/api/controlPlane/IRequestTransferResponse.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type {\n\tIDataspaceProtocolTransferProcess,\n\tIDataspaceProtocolTransferError\n} from \"@twin.org/standards-dataspace-protocol\";\nimport type { HttpStatusCode } from \"@twin.org/web\";\n\n/**\n * API response for requesting a transfer process.\n */\nexport interface IRequestTransferResponse {\n\t/**\n\t * Transfer Process (DSP compliant) with state REQUESTED, or error.\n\t */\n\tbody: IDataspaceProtocolTransferProcess | IDataspaceProtocolTransferError;\n\n\t/**\n\t * HTTP status code for the response.\n\t */\n\tstatusCode?: HttpStatusCode;\n}\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IStartTransferRequest.js","sourceRoot":"","sources":["../../../../../src/models/api/controlPlane/IStartTransferRequest.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IDataspaceProtocolTransferStartMessage } from \"@twin.org/standards-dataspace-protocol\";\nimport type { HeaderTypes } from \"@twin.org/web\";\n\n/**\n * API request for starting a transfer process.\n */\nexport interface IStartTransferRequest {\n\t/**\n\t * Path parameters containing the process ID.\n\t */\n\tpathParams: {\n\t\t/**\n\t\t * Process ID (consumerPid).\n\t\t */\n\t\tpid: string;\n\t};\n\n\t/**\n\t * Authorization header containing the Base64-encoded trust payload.\n\t */\n\theaders: {\n\t\t[HeaderTypes.Authorization]: string;\n\t};\n\n\t/**\n\t * Transfer start message (DSP compliant).\n\t */\n\tbody: IDataspaceProtocolTransferStartMessage;\n}\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IStartTransferResponse.js","sourceRoot":"","sources":["../../../../../src/models/api/controlPlane/IStartTransferResponse.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type {\n\tIDataspaceProtocolTransferStartMessage,\n\tIDataspaceProtocolTransferError\n} from \"@twin.org/standards-dataspace-protocol\";\nimport type { HttpStatusCode } from \"@twin.org/web\";\n\n/**\n * API response for starting a transfer process.\n */\nexport interface IStartTransferResponse {\n\t/**\n\t * Transfer Start Message (DSP compliant) with dataAddress for PULL transfers, or error.\n\t */\n\tbody: IDataspaceProtocolTransferStartMessage | IDataspaceProtocolTransferError;\n\n\t/**\n\t * HTTP status code for the response.\n\t */\n\tstatusCode?: HttpStatusCode;\n}\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ISuspendTransferRequest.js","sourceRoot":"","sources":["../../../../../src/models/api/controlPlane/ISuspendTransferRequest.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IDataspaceProtocolTransferSuspensionMessage } from \"@twin.org/standards-dataspace-protocol\";\nimport type { HeaderTypes } from \"@twin.org/web\";\n\n/**\n * API request for suspending a transfer process.\n */\nexport interface ISuspendTransferRequest {\n\t/**\n\t * Path parameters containing the process ID.\n\t */\n\tpathParams: {\n\t\t/**\n\t\t * Process ID (consumerPid).\n\t\t */\n\t\tpid: string;\n\t};\n\n\t/**\n\t * Authorization header containing the Base64-encoded trust payload.\n\t */\n\theaders: {\n\t\t[HeaderTypes.Authorization]: string;\n\t};\n\n\t/**\n\t * Transfer suspension message (DSP compliant).\n\t */\n\tbody: IDataspaceProtocolTransferSuspensionMessage;\n}\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ISuspendTransferResponse.js","sourceRoot":"","sources":["../../../../../src/models/api/controlPlane/ISuspendTransferResponse.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type {\n\tIDataspaceProtocolTransferProcess,\n\tIDataspaceProtocolTransferError\n} from \"@twin.org/standards-dataspace-protocol\";\nimport type { HttpStatusCode } from \"@twin.org/web\";\n\n/**\n * API response for suspending a transfer process.\n */\nexport interface ISuspendTransferResponse {\n\t/**\n\t * Transfer Process (DSP compliant) with state SUSPENDED, or error.\n\t */\n\tbody: IDataspaceProtocolTransferProcess | IDataspaceProtocolTransferError;\n\n\t/**\n\t * HTTP status code for the response.\n\t */\n\tstatusCode?: HttpStatusCode;\n}\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ITerminateTransferRequest.js","sourceRoot":"","sources":["../../../../../src/models/api/controlPlane/ITerminateTransferRequest.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IDataspaceProtocolTransferTerminationMessage } from \"@twin.org/standards-dataspace-protocol\";\nimport type { HeaderTypes } from \"@twin.org/web\";\n\n/**\n * API request for terminating a transfer process.\n */\nexport interface ITerminateTransferRequest {\n\t/**\n\t * Path parameters containing the process ID.\n\t */\n\tpathParams: {\n\t\t/**\n\t\t * Process ID (consumerPid).\n\t\t */\n\t\tpid: string;\n\t};\n\n\t/**\n\t * Authorization header containing the Base64-encoded trust payload.\n\t */\n\theaders: {\n\t\t[HeaderTypes.Authorization]: string;\n\t};\n\n\t/**\n\t * Transfer termination message (DSP compliant).\n\t */\n\tbody: IDataspaceProtocolTransferTerminationMessage;\n}\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ITerminateTransferResponse.js","sourceRoot":"","sources":["../../../../../src/models/api/controlPlane/ITerminateTransferResponse.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type {\n\tIDataspaceProtocolTransferProcess,\n\tIDataspaceProtocolTransferError\n} from \"@twin.org/standards-dataspace-protocol\";\nimport type { HttpStatusCode } from \"@twin.org/web\";\n\n/**\n * API response for terminating a transfer process.\n */\nexport interface ITerminateTransferResponse {\n\t/**\n\t * Transfer Process (DSP compliant) with state TERMINATED, or error.\n\t */\n\tbody: IDataspaceProtocolTransferProcess | IDataspaceProtocolTransferError;\n\n\t/**\n\t * HTTP status code for the response.\n\t */\n\tstatusCode?: HttpStatusCode;\n}\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IDataspaceControlPlaneComponent.js","sourceRoot":"","sources":["../../../../src/models/controlPlane/IDataspaceControlPlaneComponent.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IComponent } from \"@twin.org/core\";\nimport type {\n\tIDataspaceProtocolContractNegotiation,\n\tIDataspaceProtocolContractNegotiationError,\n\tIDataspaceProtocolTransferCompletionMessage,\n\tIDataspaceProtocolTransferError,\n\tIDataspaceProtocolTransferProcess,\n\tIDataspaceProtocolTransferRequestMessage,\n\tIDataspaceProtocolTransferStartMessage,\n\tIDataspaceProtocolTransferSuspensionMessage,\n\tIDataspaceProtocolTransferTerminationMessage\n} from \"@twin.org/standards-dataspace-protocol\";\nimport type { INegotiationCallback } from \"./INegotiationCallback.js\";\n\n/**\n * Dataspace Control Plane Component interface.\n * Implements Eclipse Dataspace Protocol (DSP) specifications:\n * - Contract Negotiation Protocol\n * - Transfer Process Protocol\n *\n * This component acts as the Control Plane for contract negotiation and\n * data transfers between nodes in a dataspace.\n *\n * DSP 2025-1 Specification: https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/\n */\nexport interface IDataspaceControlPlaneComponent extends IComponent {\n\t// ============================================================================\n\t// CONTRACT NEGOTIATION PROTOCOL (DSP)\n\t// Methods for negotiating agreements before transfers\n\t// ============================================================================\n\n\t/**\n\t * Register a callback to receive negotiation state change notifications.\n\t * Upstream modules (e.g. supply-chain) register their callback here\n\t * to be notified when negotiations complete, fail, or change state.\n\t * @param key A unique key identifying this callback registration.\n\t * @param callback The callback interface to register.\n\t */\n\tregisterNegotiationCallback(key: string, callback: INegotiationCallback): void;\n\n\t/**\n\t * Unregister a previously registered negotiation callback.\n\t * @param key The key used when registering the callback.\n\t */\n\tunregisterNegotiationCallback(key: string): void;\n\n\t/**\n\t * Negotiate a contract agreement with a provider.\n\t * Implements DSP Contract Negotiation Protocol.\n\t *\n\t * Returns immediately with a negotiationId. The caller is notified\n\t * via the registered INegotiationCallback when the negotiation completes.\n\t * The negotiation follows DSP state machine: REQUESTED → OFFERED → AGREED → VERIFIED → FINALIZED.\n\t *\n\t * This method has NO REST client implementation — it is only accessible via ComponentFactory.get().\n\t *\n\t * DSP Spec: https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#negotiation-protocol\n\t *\n\t * @param datasetId The dataset ID from the provider's catalog.\n\t * @param offerId The offer ID from the provider's catalog.\n\t * @param providerEndpoint The provider's contract negotiation endpoint URL.\n\t * @param publicOrigin The public origin URL of this control plane (for callbacks).\n\t * @param trustPayload Trust payload for authentication (JWT or Verifiable Credential).\n\t * @returns The negotiation ID for tracking. Use registered callback for completion.\n\t */\n\tnegotiateAgreement(\n\t\tdatasetId: string,\n\t\tofferId: string,\n\t\tproviderEndpoint: string,\n\t\tpublicOrigin: string,\n\t\ttrustPayload: unknown\n\t): Promise<{ negotiationId: string }>;\n\n\t/**\n\t * Get the current state of a contract negotiation.\n\t * Implements DSP Contract Negotiation Protocol.\n\t *\n\t * Queries the current state of an ongoing or completed negotiation.\n\t * Use this to monitor negotiation progress.\n\t * Returns the DSP-compliant negotiation state or error.\n\t *\n\t * DSP Spec: https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#negotiation-protocol\n\t *\n\t * @param negotiationId The unique identifier of the negotiation.\n\t * @param trustPayload Trust payload for authentication.\n\t * @returns DSP ContractNegotiation with current state, or error.\n\t */\n\tgetNegotiation(\n\t\tnegotiationId: string,\n\t\ttrustPayload: unknown\n\t): Promise<IDataspaceProtocolContractNegotiation | IDataspaceProtocolContractNegotiationError>;\n\n\t/**\n\t * Get negotiation history.\n\t * Queries past contract negotiations for audit trails and debugging.\n\t *\n\t * Returns a list of past negotiations with their states and metadata.\n\t * Supports optional filtering by state and pagination via cursor.\n\t *\n\t * @param state Optional filter by negotiation state (e.g., \"FINALIZED\", \"TERMINATED\").\n\t * @param cursor Optional pagination cursor for fetching next page.\n\t * @param trustPayload Trust payload for authentication.\n\t * @returns List of negotiation history entries with pagination cursor.\n\t */\n\tgetNegotiationHistory(\n\t\tstate: string | undefined,\n\t\tcursor: string | undefined,\n\t\ttrustPayload: unknown\n\t): Promise<{\n\t\tnegotiations: {\n\t\t\tnegotiation:\n\t\t\t\t| IDataspaceProtocolContractNegotiation\n\t\t\t\t| IDataspaceProtocolContractNegotiationError;\n\t\t\tcreatedAt: string;\n\t\t\tofferId?: string;\n\t\t\tagreementId?: string;\n\t\t}[];\n\t\tcursor?: string;\n\t\tcount: number;\n\t}>;\n\n\t// ============================================================================\n\t// TRANSFER PROCESS PROTOCOL (DSP)\n\t// Methods for managing data transfers after agreements are established\n\t// ============================================================================\n\n\t// ----------------------------------------------------------------------------\n\t// CONSUMER SIDE OPERATIONS\n\t// Methods called by the Data Consumer to initiate transfers\n\t// ----------------------------------------------------------------------------\n\n\t/**\n\t * Request a Transfer Process.\n\t * Creates a new Transfer Process in REQUESTED state.\n\t *\n\t * Role Performed: Provider\n\t * Called by: Consumer when it wants to request a new Transfer Process\n\t *\n\t * DSP Spec: https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#transfer-request-message\n\t *\n\t * @param request Transfer request message (DSP compliant) containing agreementId,\n\t * consumerPid, callbackAddress, and format.\n\t * @param trustPayload Trust payload containing authorization information (JWT, VC, etc.).\n\t * The consumer must prove their identity by providing a valid trust payload.\n\t * @returns Transfer Process (DSP compliant) with state REQUESTED, including\n\t * both consumerPid and providerPid, or TransferError if the operation fails.\n\t */\n\trequestTransfer(\n\t\trequest: IDataspaceProtocolTransferRequestMessage,\n\t\ttrustPayload: unknown\n\t): Promise<IDataspaceProtocolTransferProcess | IDataspaceProtocolTransferError>;\n\n\t// ============================================================================\n\t// PROVIDER SIDE OPERATIONS\n\t// Methods called by the Data Provider to respond to transfer requests\n\t// ============================================================================\n\n\t/**\n\t * Start a Transfer Process.\n\t * Transitions Transfer Process from REQUESTED to STARTED state, or resumes from SUSPENDED state.\n\t *\n\t * Role Performed: Provider / Consumer\n\t * Called by: Provider when a Transfer Process starts, or Consumer to attempt to start a Transfer Process after it has been suspended\n\t *\n\t * DSP Spec: https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#transfer-start-message\n\t *\n\t * @param message Transfer start message (DSP compliant).\n\t * @param publicOrigin The public origin URL of this service (used to construct data plane endpoint for PULL transfers).\n\t * @param trustPayload Trust payload containing authorization information (JWT, VC, etc.).\n\t * @returns Transfer Start Message (DSP compliant) with dataAddress for PULL transfers, or TransferError if the operation fails.\n\t */\n\tstartTransfer(\n\t\tmessage: IDataspaceProtocolTransferStartMessage,\n\t\tpublicOrigin: string,\n\t\ttrustPayload: unknown\n\t): Promise<IDataspaceProtocolTransferStartMessage | IDataspaceProtocolTransferError>;\n\n\t// ============================================================================\n\t// SHARED STATE MANAGEMENT OPERATIONS\n\t// Methods that can be called by either Consumer or Provider\n\t// ============================================================================\n\n\t/**\n\t * Complete a Transfer Process.\n\t * Transitions Transfer Process to COMPLETED state.\n\t *\n\t * Role Performed: Consumer / Provider\n\t * Called by: Provider or Consumer when a Transfer process is completed on their side\n\t *\n\t * DSP Spec: https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#transfer-completion-message\n\t *\n\t * @param message Transfer completion message (DSP compliant).\n\t * @param trustPayload Trust payload containing authorization information (JWT, VC, etc.).\n\t * @returns Transfer Process (DSP compliant) with state COMPLETED, or TransferError if the operation fails.\n\t */\n\tcompleteTransfer(\n\t\tmessage: IDataspaceProtocolTransferCompletionMessage,\n\t\ttrustPayload: unknown\n\t): Promise<IDataspaceProtocolTransferProcess | IDataspaceProtocolTransferError>;\n\n\t/**\n\t * Suspend a Transfer Process.\n\t * Transitions Transfer Process to SUSPENDED state.\n\t *\n\t * Role Performed: Consumer / Provider\n\t * Called by: Provider or Consumer when a Transfer process needs to be temporarily suspended on their side\n\t *\n\t * DSP Spec: https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#transfer-suspension-message\n\t *\n\t * @param message Transfer suspension message (DSP compliant) with optional reason.\n\t * @param trustPayload Trust payload containing authorization information (JWT, VC, etc.).\n\t * @returns Transfer Process (DSP compliant) with state SUSPENDED, or TransferError if the operation fails.\n\t */\n\tsuspendTransfer(\n\t\tmessage: IDataspaceProtocolTransferSuspensionMessage,\n\t\ttrustPayload: unknown\n\t): Promise<IDataspaceProtocolTransferProcess | IDataspaceProtocolTransferError>;\n\n\t/**\n\t * Terminate a Transfer Process.\n\t * Transitions Transfer Process to TERMINATED state.\n\t *\n\t * Role Performed: Consumer / Provider\n\t * Called by: Provider or Consumer when a Transfer process needs to be terminated on their side (e.g., due to error)\n\t *\n\t * DSP Spec: https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#transfer-termination-message\n\t *\n\t * @param message Transfer termination message (DSP compliant) with optional reason.\n\t * @param trustPayload Trust payload containing authorization information (JWT, VC, etc.).\n\t * @returns Transfer Process (DSP compliant) with state TERMINATED, or TransferError if the operation fails.\n\t */\n\tterminateTransfer(\n\t\tmessage: IDataspaceProtocolTransferTerminationMessage,\n\t\ttrustPayload: unknown\n\t): Promise<IDataspaceProtocolTransferProcess | IDataspaceProtocolTransferError>;\n\n\t/**\n\t * Get Transfer Process State.\n\t * Query the current state of a Transfer Process.\n\t *\n\t * Role Performed: Consumer / Provider\n\t * Called by: Provider or Consumer when they need to check the status of a Transfer process on their side\n\t *\n\t * Supports role-agnostic lookup using either consumerPid or providerPid.\n\t * The service will automatically detect which role the caller is acting as\n\t * (Consumer or Provider) based on the PID provided.\n\t *\n\t * DSP Spec: https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#ack-transfer-process\n\t *\n\t * @param pid The Process ID (consumerPid or providerPid) used to identify the transfer.\n\t * @param trustPayload Trust payload containing authorization information (JWT, VC, etc.).\n\t * @returns Transfer Process (DSP compliant) with current state, or TransferError if the operation fails.\n\t */\n\tgetTransferProcess(\n\t\tpid: string,\n\t\ttrustPayload: unknown\n\t): Promise<IDataspaceProtocolTransferProcess | IDataspaceProtocolTransferError>;\n}\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IDataspaceControlPlaneResolverComponent.js","sourceRoot":"","sources":["../../../../src/models/controlPlane/IDataspaceControlPlaneResolverComponent.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IComponent } from \"@twin.org/core\";\nimport type { ITransferContext } from \"./ITransferContext.js\";\n\n/**\n * Dataspace Control Plane Resolver Component interface.\n * Provides methods for resolving transfer process information.\n * Used by dataspace-data-plane to retrieve dataset and policy information for data access.\n *\n * These methods are NOT part of the Eclipse Dataspace Protocol specification.\n * They are TWIN-specific extensions for internal service communication.\n *\n * IMPORTANT: This interface has NO REST client implementation - methods are only\n * accessible via ComponentFactory.get() for local, in-process service access.\n */\nexport interface IDataspaceControlPlaneResolverComponent extends IComponent {\n\t/**\n\t * Resolve consumerPid to Transfer Context.\n\t * Returns Transfer Context with Agreement, datasetId, and Transfer Process metadata.\n\t * Validates that Agreement assigner matches current organization ID for security.\n\t * This method is called by the dataspace-data-plane to resolve a consumerPid\n\t * to the corresponding Agreement and dataset information for data retrieval (pull mode).\n\t *\n\t * This method is only available via ComponentFactory.get().\n\t * There is no REST client implementation.\n\t *\n\t * @param consumerPid Consumer Process ID from the transfer request.\n\t * @param trustPayload Trust payload containing authorization information (JWT, VC, etc.).\n\t * The trust service handles verification and extracts identity and token.\n\t * @returns Transfer Context with Agreement, datasetId, and Transfer Process metadata.\n\t * @throws NotFoundError if Transfer Process not found.\n\t * @throws UnauthorizedError if trust verification fails or Agreement assigner doesn't match current organization.\n\t * @throws GeneralError if Transfer Process is terminated or Agreement lookup fails.\n\t */\n\tresolveConsumerPid(consumerPid: string, trustPayload: unknown): Promise<ITransferContext>;\n\n\t/**\n\t * Resolve providerPid to Transfer Context.\n\t * Returns Transfer Context with Agreement, datasetId, and Transfer Process metadata.\n\t * Used for push mode data transfer where Provider needs to push data to Consumer via Activity Stream.\n\t * Validates that Agreement assigner matches current organization ID and assignee matches expected consumer for security.\n\t *\n\t * This method is called by the Provider's dataspace-data-plane when it receives an Activity\n\t * referencing a providerPid and needs to resolve it to get Agreement, dataset, and consumer's dataAddress.\n\t *\n\t * This method is only available via ComponentFactory.get().\n\t * There is no REST client implementation.\n\t *\n\t * @param providerPid Provider Process ID from the transfer process.\n\t * @param trustPayload Trust payload containing authorization information (JWT, VC, etc.).\n\t * The trust service handles verification and extracts identity and token.\n\t * @returns Transfer Context with Agreement, datasetId, and Transfer Process metadata.\n\t * @throws NotFoundError if Transfer Process not found.\n\t * @throws UnauthorizedError if trust verification fails, Agreement assigner doesn't match current organization, or assignee doesn't match expected consumer.\n\t * @throws GeneralError if Transfer Process is terminated or Agreement lookup fails.\n\t */\n\tresolveProviderPid(providerPid: string, trustPayload: unknown): Promise<ITransferContext>;\n}\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"INegotiationCallback.js","sourceRoot":"","sources":["../../../../src/models/controlPlane/INegotiationCallback.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type {\n\tDataspaceProtocolContractNegotiationStateType,\n\tIDataspaceProtocolAgreement,\n\tIDataspaceProtocolOffer\n} from \"@twin.org/standards-dataspace-protocol\";\n\n/**\n * Callback interface for negotiation state change notifications.\n * Upstream modules register an implementation of this interface\n * via IDataspaceControlPlaneComponent.registerNegotiationCallback()\n * to be notified when PNP callbacks fire.\n */\nexport interface INegotiationCallback {\n\t/**\n\t * Called when the negotiation state changes (offer received, agreement received).\n\t * @param negotiationId The negotiation ID.\n\t * @param state The new state.\n\t * @param data Optional data associated with the state change.\n\t * @param data.offer The offer received from the provider.\n\t * @param data.agreement The agreement received from the provider.\n\t * @returns Nothing.\n\t */\n\tonStateChanged(\n\t\tnegotiationId: string,\n\t\tstate: DataspaceProtocolContractNegotiationStateType,\n\t\tdata?: { offer?: IDataspaceProtocolOffer; agreement?: IDataspaceProtocolAgreement }\n\t): Promise<void>;\n\n\t/**\n\t * Called when the negotiation completes successfully (finalized).\n\t * @param negotiationId The negotiation ID.\n\t * @param agreementId The agreement ID (from agreement.uid).\n\t * @returns Nothing.\n\t */\n\tonCompleted(negotiationId: string, agreementId: string): Promise<void>;\n\n\t/**\n\t * Called when the negotiation fails (terminated or stalled).\n\t * @param negotiationId The negotiation ID.\n\t * @param reason The failure reason.\n\t * @returns Nothing.\n\t */\n\tonFailed(negotiationId: string, reason: string): Promise<void>;\n}\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ITransferContext.js","sourceRoot":"","sources":["../../../../src/models/controlPlane/ITransferContext.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type {\n\tDataspaceProtocolTransferProcessStateType,\n\tIDataspaceProtocolAgreement,\n\tIDataspaceProtocolDataAddress\n} from \"@twin.org/standards-dataspace-protocol\";\n\n/**\n * Transfer Context data structure.\n * Contains all information needed by DSC to execute queries.\n * This is NOT part of the DSP protocol - it's a TWIN internal API\n * used by dataspace-control-plane to resolve consumerPid to datasetId and policies.\n */\nexport interface ITransferContext {\n\t/**\n\t * Consumer Process ID.\n\t */\n\tconsumerPid: string;\n\n\t/**\n\t * Provider Process ID.\n\t */\n\tproviderPid: string;\n\n\t/**\n\t * Agreement associated with this Transfer Process.\n\t * Contains permissions, obligations, and prohibitions that DSC uses for runtime policy enforcement.\n\t */\n\tagreement: IDataspaceProtocolAgreement;\n\n\t/**\n\t * Dataset ID - what the DSC needs to execute the query.\n\t * Convenience field extracted from agreement.target for quick access.\n\t */\n\tdatasetId: string;\n\n\t/**\n\t * Offer ID.\n\t */\n\tofferId: string;\n\n\t/**\n\t * Current Transfer Process state.\n\t * DSC should only allow queries if state is STARTED.\n\t */\n\tstate: DataspaceProtocolTransferProcessStateType;\n\n\t/**\n\t * Consumer identity (for auditing).\n\t */\n\tconsumerIdentity?: string;\n\n\t/**\n\t * Provider identity (for auditing).\n\t * Extracted from Agreement's assigner field.\n\t */\n\tproviderIdentity?: string;\n\n\t/**\n\t * Data address for push mode transfers.\n\t * Contains endpoint information where data should be pushed (for Activity Stream push mode).\n\t * Only present when format is Http-Push-Activity-Stream-Format or Http-Post-Activity-Stream-Format.\n\t */\n\tdataAddress?: IDataspaceProtocolDataAddress;\n}\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ITransferProcess.js","sourceRoot":"","sources":["../../../../src/models/controlPlane/ITransferProcess.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type {\n\tDataspaceProtocolTransferProcessStateType,\n\tIDataspaceProtocolDataAddress,\n\tIDataspaceProtocolPolicy\n} from \"@twin.org/standards-dataspace-protocol\";\n\n/**\n * Transfer Process for internal storage.\n * Combines DSP protocol fields with internal TWIN fields.\n * This is NOT the DSP wire format (use ITransferProcess from standards for that).\n */\nexport interface ITransferProcess {\n\t/**\n\t * Internal UUID (primary key for entity storage).\n\t */\n\tid: string;\n\n\t// === DSP Protocol fields (public) ===\n\n\t/**\n\t * Consumer Process ID from the DSP protocol.\n\t * Refers to the transfer identifier on the Consumer side.\n\t */\n\tconsumerPid: string;\n\n\t/**\n\t * Provider Process ID from the DSP protocol.\n\t * Refers to the transfer identifier on the Provider side.\n\t */\n\tproviderPid: string;\n\n\t/**\n\t * Transfer Process state from the DSP protocol.\n\t * One of: REQUESTED, STARTED, COMPLETED, SUSPENDED, TERMINATED.\n\t */\n\tstate: DataspaceProtocolTransferProcessStateType;\n\n\t// === Internal TWIN fields (NOT in DSP protocol) ===\n\n\t/**\n\t * Agreement ID linking to the rights-management Agreement.\n\t * Used to resolve policies and permissions.\n\t */\n\tagreementId: string;\n\n\t/**\n\t * Dataset ID for DSC resolution.\n\t * Identifies the dataset being transferred.\n\t */\n\tdatasetId: string;\n\n\t/**\n\t * Offer ID from the original Catalog offer.\n\t */\n\tofferId: string;\n\n\t/**\n\t * Policies from the Agreement.\n\t * Used by DSC for runtime policy enforcement.\n\t */\n\tpolicies?: IDataspaceProtocolPolicy[];\n\n\t/**\n\t * Consumer identity (DID or URI).\n\t * Used for auditing and access control.\n\t */\n\tconsumerIdentity?: string;\n\n\t/**\n\t * Provider identity (DID or URI).\n\t * Used for auditing.\n\t */\n\tproviderIdentity?: string;\n\n\t/**\n\t * Callback address for Consumer notifications.\n\t * URI where messages to the Consumer should be sent.\n\t */\n\tcallbackAddress?: string;\n\n\t/**\n\t * Data format from the Dataset Distribution.\n\t * Specified by a Distribution for the Dataset associated with the Agreement.\n\t */\n\tformat?: string;\n\n\t/**\n\t * Data address for push mode transfers.\n\t * Contains endpoint information where data should be pushed (for Activity Stream push mode).\n\t * Only present when format is Http-Push-Activity-Stream-Format or Http-Post-Activity-Stream-Format.\n\t */\n\tdataAddress?: IDataspaceProtocolDataAddress;\n\n\t/**\n\t * Creation timestamp.\n\t */\n\tdateCreated: Date;\n\n\t/**\n\t * Last update timestamp.\n\t */\n\tdateModified: Date;\n}\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ITransferContextResponse.js","sourceRoot":"","sources":["../../../../../src/models/controlPlane/api/ITransferContextResponse.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ITransferContext } from \"../ITransferContext.js\";\n\n/**\n * Transfer Context Response (INTERNAL API for DSC).\n * This is NOT part of the DSP protocol - it's a TWIN internal API\n * used by dataspace-control-plane to resolve consumerPid to datasetId and policies.\n */\nexport interface ITransferContextResponse {\n\t/**\n\t * Request body\n\t */\n\tbody: ITransferContext;\n}\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transferProcessRole.js","sourceRoot":"","sources":["../../../../src/models/controlPlane/transferProcessRole.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;;GAGG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,mBAAmB,GAAG;IAClC;;OAEG;IACH,QAAQ,EAAE,UAAU;IAEpB;;OAEG;IACH,QAAQ,EAAE,UAAU;CACX,CAAC","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The role of a participant in a Transfer Process.\n * Determines whether the party is acting as Consumer or Provider.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const TransferProcessRole = {\n\t/**\n\t * Consumer role - the party requesting data.\n\t */\n\tConsumer: \"consumer\",\n\n\t/**\n\t * Provider role - the party providing data.\n\t */\n\tProvider: \"provider\"\n} as const;\n\n/**\n * Type for TransferProcessRole values.\n */\nexport type TransferProcessRole = (typeof TransferProcessRole)[keyof typeof TransferProcessRole];\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IDataspaceDataPlaneComponent.js","sourceRoot":"","sources":["../../../../src/models/dataPlane/IDataspaceDataPlaneComponent.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IComponent } from \"@twin.org/core\";\nimport type { IJsonLdContextDefinitionElement } from \"@twin.org/data-json-ld\";\nimport type { IActivityStreamsActivity } from \"@twin.org/standards-w3c-activity-streams\";\nimport type { IActivityLogEntry } from \"../IActivityLogEntry.js\";\nimport type { IActivityLogStatusNotification } from \"../IActivityLogStatusNotification.js\";\nimport type { IDataAssetItemListResult } from \"../IDataAssetItemListResult.js\";\nimport type { IEntitySet } from \"../IEntitySet.js\";\nimport type { IFilteringQuery } from \"../IFilteringQuery.js\";\n\n/**\n * Dataspace Data Plane component interface.\n * Implements the Data Plane functionality for the Eclipse Dataspace Protocol.\n */\nexport interface IDataspaceDataPlaneComponent extends IComponent {\n\t/**\n\t * Notify an Activity to the Dataspace Data Plane Activity Stream.\n\t * @param activity The Activity notified.\n\t * @returns The Activity's identifier.\n\t */\n\tnotifyActivity(activity: IActivityStreamsActivity): Promise<string>;\n\n\t/**\n\t * Subscribes to the activity log.\n\t * @param callback The callback to be called when Activity Log is called.\n\t * @param subscriptionId The subscription Id.\n\t * @returns The subscription Id.\n\t */\n\tsubscribeToActivityLog(\n\t\tcallback: (notification: IActivityLogStatusNotification) => Promise<void>,\n\t\tsubscriptionId?: string\n\t): Promise<string>;\n\n\t/**\n\t * Unsubscribes to the activity log.\n\t * @param subscriptionId The subscription Id.\n\t * @returns The subscription Id.\n\t */\n\tunSubscribeToActivityLog(subscriptionId: string): Promise<void>;\n\n\t/**\n\t * Returns Activity Log Entry which contains the Activity processing details.\n\t * @param logEntryId The Id of the Activity Log Entry (a URI).\n\t * @returns the Activity Log Entry with the processing details.\n\t * @throws NotFoundError if activity log entry is not known.\n\t */\n\tgetActivityLogEntry(logEntryId: string): Promise<IActivityLogEntry>;\n\n\t/**\n\t * Get Data Asset entities. Allows to retrieve entities by their type or id.\n\t * @param entitySet The set of entities to be retrieved.\n\t * @param entitySet.jsonLdContext The JSON-LD Context to be used to expand the referred entityType.\n\t * @param consumerPid The consumer Process ID from the DSP Transfer Process.\n\t * Used to resolve datasetId from the Transfer Process.\n\t * @param cursor Pagination details - cursor.\n\t * @param limit Pagination details - max number of entities.\n\t * @param trustPayload Trust payload to verify the requesters identity.\n\t * @returns The item list and optional cursor for pagination via Link headers.\n\t */\n\tgetDataAssetEntities(\n\t\tentitySet: IEntitySet & {\n\t\t\tjsonLdContext?: IJsonLdContextDefinitionElement[];\n\t\t},\n\t\tconsumerPid: string,\n\t\tcursor?: string,\n\t\tlimit?: number,\n\t\ttrustPayload?: unknown\n\t): Promise<IDataAssetItemListResult>;\n\n\t/**\n\t * Queries a data asset controlled by this Dataspace App.\n\t * @param consumerPid The consumer Process ID from the DSP Transfer Process.\n\t * Used to resolve datasetId from the Transfer Process.\n\t * @param query The filtering query.\n\t * @param cursor Pagination details - cursor.\n\t * @param limit Pagination details - max number of entities.\n\t * @param trustPayload Trust payload to verify the requesters identity.\n\t * @returns The item list and optional cursor for pagination via Link headers.\n\t */\n\tqueryDataAsset(\n\t\tconsumerPid: string,\n\t\tquery: IFilteringQuery,\n\t\tcursor?: string,\n\t\tlimit?: number,\n\t\ttrustPayload?: unknown\n\t): Promise<IDataAssetItemListResult>;\n}\n"]}