@twin.org/node 0.0.3-next.39 → 0.0.3-next.41

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.
@@ -218,6 +218,12 @@
218
218
  "jsonHelper": {
219
219
  "failedPatch": "Failed to patch the JSON object, patch index \"{index}\" failed"
220
220
  },
221
+ "mutex": {
222
+ "lockNotFound": "The key \"{key}\" has no active lock",
223
+ "lockAlreadyReleased": "The key \"{key}\" is not currently locked",
224
+ "lockTimeout": "Failed to acquire lock for key \"{key}\" within the timeout of {timeout} milliseconds",
225
+ "bufferFetchFailed": "Failed to retrieve shared buffer for key \"{key}\" from the main thread"
226
+ },
221
227
  "fetchHelper": {
222
228
  "decodingJSON": "Decoding JSON failed for route \"{url}\"",
223
229
  "failureStatusText": "The request to the API failed: \"{statusText}\"",
@@ -589,8 +595,9 @@
589
595
  "agreementNotMatchingOffer": "Agreement \"{agreementId}\" does not match any Catalog Offer for dataset {datasetId}. Available Offers: {availableOffers}",
590
596
  "organizationContextMissing": "Organization context is missing. Cannot verify Agreement authorization for consumerPid: {consumerPid}",
591
597
  "organizationContextMissingProvider": "Organization context is missing. Cannot verify Agreement authorization for providerPid: {providerPid}",
592
- "agreementAssignerMismatch": "Agreement assigner does not match current organization. Agreement: {agreementId}, consumerPid: {consumerPid}, expected: {expectedOrgId}, actual: {actualAssigner}",
593
- "agreementAssignerMismatchProvider": "Agreement assigner does not match current organization. Agreement: {agreementId}, providerPid: {providerPid}, expected: {expectedOrgId}, actual: {actualAssigner}",
598
+ "agreementAssignerMismatch": "Agreement assigner does not match current caller identity. Agreement: {agreementId}, consumerPid: {consumerPid}, expected: {expectedComposite}, actual: {actualAssigner}",
599
+ "agreementAssignerMismatchProvider": "Agreement assigner does not match current caller identity. Agreement: {agreementId}, providerPid: {providerPid}, expected: {expectedComposite}, actual: {actualAssigner}",
600
+ "invalidCompositeIdentifier": "Composite tenant identifier is not in a recognised shape (expected `nodeDid` or `nodeDid:tenantIdHash`, where `nodeDid` starts with `did:`). Got: \"{composite}\"",
594
601
  "agreementAssigneeMismatch": "Agreement assignee does not match expected consumer identity. Agreement: {agreementId}, providerPid: {providerPid}, expected: {expectedConsumerIdentity}, actual: {actualAssignee}",
595
602
  "negotiationInitiationFailed": "Failed to initiate contract negotiation",
596
603
  "datasetNotFoundInCatalog": "Dataset/Offer \"{offerId}\" not found in Federated Catalogue. Cannot initiate negotiation for non-existent offer.",
@@ -607,11 +614,15 @@
607
614
  "callerNotAuthorizedAsProvider": "The caller's verified identity does not match the provider for this transfer process",
608
615
  "callerNotAuthorizedForTransfer": "The caller's verified identity does not match the consumer or provider for this transfer process",
609
616
  "multipleAssignersNotSupported": "Multiple assigners found in agreement, which is not supported. Only single assigner agreements are supported.",
617
+ "invalidPushDataAddress": "PUSH transfer cannot start: consumer dataAddress is missing endpoint or endpointType (consumerPid: {consumerPid})",
618
+ "pushTransferDataPathNotConfigured": "PUSH transfer cannot start: dataPlanePath is not configured (consumerPid: {consumerPid})",
619
+ "dataPlaneNotRegistered": "Push-mode transfer requires the data plane component to be registered (factory key: \"dataspace-data-plane\"). This deployment was configured without a data plane — register one to enable push, or use pull-mode transfers only.",
610
620
  "datasetPublishFailed": "Failed to publish dataset {datasetRecordId} for app {appId} (tenant: {tenantId})",
611
621
  "datasetNodeContextRequired": "A node context is required to register a dataset.",
612
622
  "datasetAlreadyExists": "A dataset with id \"{id}\" already exists.",
613
623
  "datasetNotFound": "Dataset not found",
614
- "datasetWrongTenant": "The calling tenant does not own this dataset."
624
+ "datasetWrongTenant": "The calling tenant does not own this dataset.",
625
+ "transferWrongTenant": "The calling tenant does not own this transfer."
615
626
  },
616
627
  "dataspaceControlPlanePolicyRequester": {},
617
628
  "odrlPolicyHelper": {
@@ -637,10 +648,17 @@
637
648
  "transferProcessNotFound": "Transfer Process not found for consumerPid \"{notFoundId}\"",
638
649
  "transferNotInStartedState": "Transfer Process is not in STARTED state. Current state: \"{currentState}\"",
639
650
  "transferMissingDatasetId": "Transfer Process is missing datasetId",
651
+ "transferMissingDataAddress": "Transfer Process is missing a valid push dataAddress endpoint (consumerPid: {consumerPid})",
652
+ "pushSubscriptionMissingTenantToken": "Push subscription setup rejected: consumer endpoint does not carry an `x-enc-tenant-token` query parameter (consumerPid: {consumerPid}, endpoint: {endpoint}). On multi-tenant publishers the consumer must bake its tenant token before sending the dataAddress.",
653
+ "pushSubscriptionStorageNotRegistered": "Push-mode transfer requires push-subscription storage to be registered (entity-storage key: \"push-subscription\"). This deployment was configured without it — register the storage to enable push, or use pull-mode transfers only.",
640
654
  "schemaNotFound": "Schema \"{schemaId}\" not found",
641
655
  "cleanupFailed": "Error occurred during cleanup of activity logs",
642
656
  "invalidProcessingGroupId": "Invalid processing group id \"{processingGroupId}\" specified in activity query",
643
- "missingHandleActivity": "Handler App \"{dataspaceAppId}\" does not export a \"handleActivity\" function"
657
+ "missingHandleActivity": "Handler App \"{dataspaceAppId}\" does not export a \"handleActivity\" function",
658
+ "pushSubscriptionNotFound": "Push subscription not found for consumerPid \"{notFoundId}\"",
659
+ "pushActivityNotAuthorized": "Unauthorized push activity — no matching STARTED transfer found for the activity generator",
660
+ "processOutboxActivityMultipleTo": "processOutboxActivity does not support multiple recipients — activity.to contains {count} values, expected exactly one consumerPid",
661
+ "pushSubscriptionCompensationFailed": "Compensating unsubscribeToData failed after push-subscription storage write failed (consumerPid: {consumerPid}, providerPid: {providerPid}) — app may be left with a dangling Follow until orphan cleanup runs"
644
662
  },
645
663
  "dataspaceDataPlaneSocketClient": {
646
664
  "socketConnect": "Failure during socket connect",
@@ -1184,7 +1202,6 @@
1184
1202
  "offerNotAccepted": "Offer with id: \"{offerId}\" was not accepted by the requester",
1185
1203
  "agreementNotAccepted": "Agreement with id: \"{agreementId}\" was not accepted by the requester",
1186
1204
  "noAgreementCreated": "No agreement was created for offer with id: \"{offerId}\"",
1187
- "assignerNotIdentity": "The assigner in the offer is not a single identity",
1188
1205
  "providerInitiatedNotSupported": "Provider initiated negotiations are currently not supported as the consumer identity is required to be set as the trust identity in the negotiation",
1189
1206
  "callerNotAuthorizedForNegotiation": "The caller's verified identity does not match any authorized party in this negotiation"
1190
1207
  },
@@ -1941,7 +1958,6 @@
1941
1958
  },
1942
1959
  "dataspaceControlPlaneService": {
1943
1960
  "catalogDatasetHasNoOffers": "Dataset has no Offers (odrl:hasPolicy) in Federated Catalogue",
1944
- "pushTransferModeNotImplemented": "PUSH transfer mode requested but not implemented. Consumer provided dataAddress endpoint but data push is not yet supported.",
1945
1961
  "stalledNegotiationCleanedUp": "Stalled negotiation cleaned up (negotiationId: {negotiationId})"
1946
1962
  },
1947
1963
  "dataspaceControlPlanePolicyRequester": {
@@ -1949,6 +1965,10 @@
1949
1965
  "negotiationTerminated": "Negotiation terminated by provider (negotiationId: {negotiationId})",
1950
1966
  "unknownNegotiationTerminated": "Unknown negotiation terminated (negotiationId: {negotiationId})"
1951
1967
  },
1968
+ "dataspaceDataPlaneService": {
1969
+ "pushSubscriptionNotFoundOnTeardown": "Push subscription not found for consumerPid \"{consumerPid}\" during teardown — treating as no-op",
1970
+ "pushSubscriptionNotFoundForActivity": "Push subscription not found for outbound activity (consumerPid: {consumerPid})"
1971
+ },
1952
1972
  "policyNegotiationAdminPointService": {
1953
1973
  "sendTerminateFailed": "Failed to send terminate to consumer for negotiation id: \"{id}\", correlation id: \"{correlationId}\""
1954
1974
  },
@@ -2105,7 +2125,8 @@
2105
2125
  "negotiationStateRetrieved": "Negotiation state retrieved successfully",
2106
2126
  "getNegotiationHistory": "Retrieving negotiation history",
2107
2127
  "negotiationHistoryRetrieved": "Negotiation history retrieved successfully",
2108
- "stalledNegotiationsCleanupComplete": "Stalled negotiations cleanup completed (cleanedUp: {cleanedUp})"
2128
+ "stalledNegotiationsCleanupComplete": "Stalled negotiations cleanup completed (cleanedUp: {cleanedUp})",
2129
+ "pushTransferStarted": "PUSH transfer started (consumerPid: {consumerPid}, providerPid: {providerPid}, endpoint: {endpoint})"
2109
2130
  },
2110
2131
  "dataspaceControlPlanePolicyRequester": {
2111
2132
  "offerReceived": "Offer received from provider (negotiationId: {negotiationId}, offerId: {offerId})",
@@ -2116,7 +2137,12 @@
2116
2137
  },
2117
2138
  "dataspaceDataPlaneService": {
2118
2139
  "scheduledTask": "\"{taskId}\": Task scheduled for Dataspace App \"{dataspaceAppId}\" (isRetry: {isRetry})",
2119
- "policyObligationTriggered": "Policy obligation triggered for agreement \"{agreementId}\": action=\"{action}\", target=\"{target}\""
2140
+ "policyObligationTriggered": "Policy obligation triggered for agreement \"{agreementId}\": action=\"{action}\", target=\"{target}\"",
2141
+ "pushSubscriptionCreated": "Push subscription created (consumerPid: {consumerPid}, providerPid: {providerPid})",
2142
+ "pushSubscriptionSuspended": "Push subscription suspended (consumerPid: {consumerPid})",
2143
+ "pushSubscriptionResumed": "Push subscription resumed (consumerPid: {consumerPid})",
2144
+ "pushSubscriptionTornDown": "Push subscription torn down (consumerPid: {consumerPid}, providerPid: {providerPid})",
2145
+ "pushDeliveryTaskScheduled": "Push delivery task scheduled (taskId: {taskId}, consumerPid: {consumerPid})"
2120
2146
  },
2121
2147
  "dataspaceDataPlaneSocketClient": {
2122
2148
  "subscribeActivityLogs": "Subscription created for topic activity logs with id \"{subscriptionId}\"",
@@ -2494,7 +2520,9 @@
2494
2520
  "engineCloneStart": "'start' method has been called from an engine clone. No task scheduler created",
2495
2521
  "cleanUpOngoing": "There is an ongoing clean up of activity logs. Skipping",
2496
2522
  "activityLogCleanedUp": "Activity Log has been cleaned up. \"{numRecordsDeleted}\" records deleted",
2497
- "replacingFailedTasks": "Retrying apps \"{appsToRetry}\" (successful: \"{successfulApps}\") for activity \"{activityLogEntryId}\""
2523
+ "pushSubscriptionsCleanedUp": "Orphaned push subscriptions cleaned up. \"{numDeleted}\" records deleted",
2524
+ "replacingFailedTasks": "Retrying apps \"{appsToRetry}\" (successful: \"{successfulApps}\") for activity \"{activityLogEntryId}\"",
2525
+ "pushDeliverySkippedPaused": "Push delivery skipped — subscription is paused (consumerPid: {consumerPid})"
2498
2526
  },
2499
2527
  "dataspaceDataPlaneSocketRoutes": {
2500
2528
  "activityLogStatusConnected": "Web Socket Connected: Socket Id: \"{socketId}\"",
package/docs/changelog.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.0.3-next.41](https://github.com/iotaledger/twin-node/compare/node-v0.0.3-next.40...node-v0.0.3-next.41) (2026-05-27)
4
+
5
+
6
+ ### Miscellaneous Chores
7
+
8
+ * **node:** Synchronize repo versions
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @twin.org/node-core bumped from 0.0.3-next.40 to 0.0.3-next.41
16
+
17
+ ## [0.0.3-next.40](https://github.com/iotaledger/twin-node/compare/node-v0.0.3-next.39...node-v0.0.3-next.40) (2026-05-22)
18
+
19
+
20
+ ### Miscellaneous Chores
21
+
22
+ * **node:** Synchronize repo versions
23
+
24
+
25
+ ### Dependencies
26
+
27
+ * The following workspace dependencies were updated
28
+ * dependencies
29
+ * @twin.org/node-core bumped from 0.0.3-next.39 to 0.0.3-next.40
30
+
3
31
  ## [0.0.3-next.39](https://github.com/iotaledger/twin-node/compare/node-v0.0.3-next.38...node-v0.0.3-next.39) (2026-05-21)
4
32
 
5
33
 
@@ -7996,7 +7996,7 @@
7996
7996
  "notarizationCreateExample": {
7997
7997
  "value": {
7998
7998
  "mode": "dynamic",
7999
- "data": {},
7999
+ "data": "aGVsbG8gd29ybGQ=",
8000
8000
  "description": "My first notarization"
8001
8001
  }
8002
8002
  }
@@ -8107,7 +8107,7 @@
8107
8107
  "content": {
8108
8108
  "application/json": {
8109
8109
  "schema": {
8110
- "$ref": "#/components/schemas/Notarization"
8110
+ "$ref": "#/components/schemas/NotarizationGetResponse"
8111
8111
  },
8112
8112
  "examples": {
8113
8113
  "notarizationGetResponseExample": {
@@ -8115,7 +8115,7 @@
8115
8115
  "id": "123",
8116
8116
  "mode": "dynamic",
8117
8117
  "dateCreated": "2026-01-01T00:00:00.000Z",
8118
- "data": {},
8118
+ "data": "aGVsbG8gd29ybGQ=",
8119
8119
  "description": "A notarization"
8120
8120
  }
8121
8121
  }
@@ -8299,7 +8299,7 @@
8299
8299
  "content": {
8300
8300
  "application/json": {
8301
8301
  "schema": {
8302
- "$ref": "#/components/schemas/Notarization"
8302
+ "$ref": "#/components/schemas/NotarizationUpdateRequest"
8303
8303
  },
8304
8304
  "examples": {
8305
8305
  "notarizationUpdateExample": {
@@ -8307,7 +8307,7 @@
8307
8307
  "id": "123",
8308
8308
  "mode": "dynamic",
8309
8309
  "dateCreated": "2026-01-01T00:00:00.000Z",
8310
- "data": {},
8310
+ "data": "aGVsbG8gd29ybGQ=",
8311
8311
  "description": "Updated notarization"
8312
8312
  }
8313
8313
  }
@@ -8643,7 +8643,6 @@
8643
8643
  "id": "attestation:iota:aW90YS1uZnQ6dHN0OjB4NzYyYjljNDllYTg2OWUwZWJkYTliYmZhNzY5Mzk0NDdhNDI4ZGNmMTc4YzVkMTVhYjQ0N2UyZDRmYmJiNGViMg==",
8644
8644
  "dateCreated": "2024-06-18T13:34:51Z",
8645
8645
  "ownerIdentity": "did:iota:tst:0x8992c426116f21b2a4c7a2854300748d3e94a8ce089d5be62e11f105bd2a0f9e",
8646
- "holderIdentity": "did:iota:tst:0x8992c426116f21b2a4c7a2854300748d3e94a8ce089d5be62e11f105bd2a0f9e",
8647
8646
  "attestationObject": {
8648
8647
  "@context": "https://schema.org",
8649
8648
  "type": "DigitalDocument",
@@ -8669,7 +8668,6 @@
8669
8668
  "id": "attestation:iota:aW90YS1uZnQ6dHN0OjB4NzYyYjljNDllYTg2OWUwZWJkYTliYmZhNzY5Mzk0NDdhNDI4ZGNmMTc4YzVkMTVhYjQ0N2UyZDRmYmJiNGViMg==",
8670
8669
  "dateCreated": "2024-06-18T13:34:51Z",
8671
8670
  "ownerIdentity": "did:iota:tst:0x8992c426116f21b2a4c7a2854300748d3e94a8ce089d5be62e11f105bd2a0f9e",
8672
- "holderIdentity": "did:iota:tst:0x8992c426116f21b2a4c7a2854300748d3e94a8ce089d5be62e11f105bd2a0f9e",
8673
8671
  "attestationObject": {
8674
8672
  "@context": "https://schema.org",
8675
8673
  "type": "DigitalDocument",
@@ -8703,7 +8701,6 @@
8703
8701
  "id": "attestation:iota:aW90YS1uZnQ6dHN0OjB4NzYyYjljNDllYTg2OWUwZWJkYTliYmZhNzY5Mzk0NDdhNDI4ZGNmMTc4YzVkMTVhYjQ0N2UyZDRmYmJiNGViMg==",
8704
8702
  "dateCreated": "2024-06-18T13:34:51Z",
8705
8703
  "ownerIdentity": "did:iota:tst:0x8992c426116f21b2a4c7a2854300748d3e94a8ce089d5be62e11f105bd2a0f9e",
8706
- "holderIdentity": "did:iota:tst:0x8992c426116f21b2a4c7a2854300748d3e94a8ce089d5be62e11f105bd2a0f9e",
8707
8704
  "attestationObject": {
8708
8705
  "@context": "https://schema.org",
8709
8706
  "type": "DigitalDocument",
@@ -8729,7 +8726,6 @@
8729
8726
  "id": "attestation:iota:aW90YS1uZnQ6dHN0OjB4NzYyYjljNDllYTg2OWUwZWJkYTliYmZhNzY5Mzk0NDdhNDI4ZGNmMTc4YzVkMTVhYjQ0N2UyZDRmYmJiNGViMg==",
8730
8727
  "dateCreated": "2024-06-18T13:34:51Z",
8731
8728
  "ownerIdentity": "did:iota:tst:0x8992c426116f21b2a4c7a2854300748d3e94a8ce089d5be62e11f105bd2a0f9e",
8732
- "holderIdentity": "did:iota:tst:0x8992c426116f21b2a4c7a2854300748d3e94a8ce089d5be62e11f105bd2a0f9e",
8733
8729
  "attestationObject": {
8734
8730
  "@context": "https://schema.org",
8735
8731
  "type": "DigitalDocument",
@@ -8914,7 +8910,6 @@
8914
8910
  "examples": {
8915
8911
  "attestationTransferRequestExample": {
8916
8912
  "value": {
8917
- "holderIdentity": "did:iota:tst:0x06ae1034f9f4af1b408a0b54e877bb476259666a14f221400d3746aecefa7105",
8918
8913
  "holderAddress": "tst1prctjk5ck0dutnsunnje6u90jk5htx03qznjjmkd6843pzltlgz87srjzzv"
8919
8914
  }
8920
8915
  }
@@ -12253,7 +12248,7 @@
12253
12248
  }
12254
12249
  }
12255
12250
  },
12256
- "/aig/{id}/versions/{versionId}": {
12251
+ "/aig/{id}/versions/{version}": {
12257
12252
  "get": {
12258
12253
  "operationId": "auditableItemGraphVersionGet",
12259
12254
  "summary": "Get a graph vertex at a specific version",
@@ -12273,15 +12268,15 @@
12273
12268
  "example": "aig:1234567890"
12274
12269
  },
12275
12270
  {
12276
- "name": "versionId",
12277
- "description": "The id of the version (changeset id) to get.",
12271
+ "name": "version",
12272
+ "description": "The version number to get.",
12278
12273
  "in": "path",
12279
12274
  "required": true,
12280
12275
  "schema": {
12281
12276
  "type": "string"
12282
12277
  },
12283
12278
  "style": "simple",
12284
- "example": "changeset:1234567890"
12279
+ "example": "1"
12285
12280
  },
12286
12281
  {
12287
12282
  "name": "accept",
@@ -12459,9 +12454,18 @@
12459
12454
  "AuditableItemGraphVertexVersionList"
12460
12455
  ],
12461
12456
  "itemListElement": [
12462
- 0,
12463
- 1,
12464
- 2
12457
+ {
12458
+ "version": 0,
12459
+ "dateCreated": "2024-08-22T11:55:16.271Z"
12460
+ },
12461
+ {
12462
+ "version": 1,
12463
+ "dateCreated": "2024-08-22T11:56:00.000Z"
12464
+ },
12465
+ {
12466
+ "version": 2,
12467
+ "dateCreated": "2024-08-22T11:57:00.000Z"
12468
+ }
12465
12469
  ]
12466
12470
  }
12467
12471
  }
@@ -16164,18 +16168,13 @@
16164
16168
  }
16165
16169
  }
16166
16170
  },
16167
- "/dataspace-data-plane/notify": {
16171
+ "/dataspace-data-plane/inbox": {
16168
16172
  "post": {
16169
16173
  "operationId": "activityStreamNotify",
16170
16174
  "summary": "Notify of a new Activity",
16171
16175
  "tags": [
16172
16176
  "Dataspace Data Plane"
16173
16177
  ],
16174
- "security": [
16175
- {
16176
- "jwtBearerAuthScheme": []
16177
- }
16178
- ],
16179
16178
  "requestBody": {
16180
16179
  "description": "Activity Stream Notify Request.",
16181
16180
  "required": true,
@@ -16236,24 +16235,6 @@
16236
16235
  }
16237
16236
  }
16238
16237
  },
16239
- "401": {
16240
- "description": "You are not authorized to use the API or no credentials were supplied, see the content for more details.",
16241
- "content": {
16242
- "application/json": {
16243
- "schema": {
16244
- "$ref": "#/components/schemas/Error"
16245
- },
16246
- "examples": {
16247
- "exampleResponse": {
16248
- "value": {
16249
- "name": "UnauthorizedError",
16250
- "message": "errorMessage"
16251
- }
16252
- }
16253
- }
16254
- }
16255
- }
16256
- },
16257
16238
  "422": {
16258
16239
  "description": "The server cannot process the request, see the content for more details.",
16259
16240
  "content": {
@@ -19831,6 +19812,7 @@
19831
19812
  "correlationId": "cid",
19832
19813
  "dateCreated": "2025-09-03T00:00:00.000Z",
19833
19814
  "state": "REQUESTED",
19815
+ "nodeIdentity": "did:iota:nodexyz",
19834
19816
  "organizationIdentity": "did:iota:123456789abcdefghi"
19835
19817
  }
19836
19818
  }
@@ -19936,6 +19918,7 @@
19936
19918
  "correlationId": "cid",
19937
19919
  "dateCreated": "2025-09-03T00:00:00.000Z",
19938
19920
  "state": "REQUESTED",
19921
+ "nodeIdentity": "did:iota:nodexyz",
19939
19922
  "organizationIdentity": "did:iota:123456789abcdefghi"
19940
19923
  }
19941
19924
  }
@@ -20144,6 +20127,7 @@
20144
20127
  "correlationId": "cid",
20145
20128
  "dateCreated": "2025-09-03T00:00:00.000Z",
20146
20129
  "state": "REQUESTED",
20130
+ "nodeIdentity": "did:iota:nodexyz",
20147
20131
  "organizationIdentity": "did:iota:123456789abcdefghi"
20148
20132
  }
20149
20133
  ]
@@ -20490,17 +20474,12 @@
20490
20474
  "AttestationTransferRequest": {
20491
20475
  "type": "object",
20492
20476
  "properties": {
20493
- "holderIdentity": {
20494
- "type": "string",
20495
- "description": "The new holder identity."
20496
- },
20497
20477
  "holderAddress": {
20498
20478
  "type": "string",
20499
20479
  "description": "The new holder address."
20500
20480
  }
20501
20481
  },
20502
20482
  "required": [
20503
- "holderIdentity",
20504
20483
  "holderAddress"
20505
20484
  ],
20506
20485
  "description": "The parameters to be used in the transfer."
@@ -22151,32 +22130,16 @@
22151
22130
  ],
22152
22131
  "description": "The body which contains the error."
22153
22132
  },
22154
- "Notarization": {
22155
- "description": "Interface describing a notarization.",
22133
+ "NotarizationCreateRequest": {
22156
22134
  "type": "object",
22157
22135
  "properties": {
22158
- "id": {
22159
- "type": "string",
22160
- "description": "The unique identifier of the notarization."
22161
- },
22162
22136
  "mode": {
22163
22137
  "$ref": "#/components/schemas/NotarizationMode"
22164
22138
  },
22165
- "dateCreated": {
22166
- "type": "string",
22167
- "description": "The date and time when the notarization was created, in ISO 8601 format."
22168
- },
22169
22139
  "dateModified": {
22170
22140
  "type": "string",
22171
22141
  "description": "The date and time when the notarization was last modified, in ISO 8601 format."
22172
22142
  },
22173
- "data": {
22174
- "type": "array",
22175
- "items": {
22176
- "type": "number"
22177
- },
22178
- "description": "The notarization data as a byte array."
22179
- },
22180
22143
  "immutableDescription": {
22181
22144
  "type": "string",
22182
22145
  "description": "An optional description of the notarization that cannot be changed after creation."
@@ -22196,32 +22159,40 @@
22196
22159
  "transferLockDateTime": {
22197
22160
  "type": "string",
22198
22161
  "description": "An optional transfer lock date-time, in ISO 8601 format.\nUsed only in Dynamic Notarization."
22162
+ },
22163
+ "data": {
22164
+ "type": "string",
22165
+ "description": "The notarization data as a base64 encoded string."
22166
+ },
22167
+ "namespace": {
22168
+ "type": "string",
22169
+ "description": "The namespace of the connector to use for the notarization, defaults to component configured namespace."
22199
22170
  }
22200
22171
  },
22201
22172
  "required": [
22202
- "id",
22203
22173
  "mode",
22204
- "dateCreated",
22205
22174
  "data"
22206
- ]
22175
+ ],
22176
+ "description": "The request data."
22207
22177
  },
22208
- "NotarizationCreateRequest": {
22178
+ "NotarizationGetResponse": {
22209
22179
  "type": "object",
22210
22180
  "properties": {
22181
+ "id": {
22182
+ "type": "string",
22183
+ "description": "The unique identifier of the notarization."
22184
+ },
22211
22185
  "mode": {
22212
22186
  "$ref": "#/components/schemas/NotarizationMode"
22213
22187
  },
22188
+ "dateCreated": {
22189
+ "type": "string",
22190
+ "description": "The date and time when the notarization was created, in ISO 8601 format."
22191
+ },
22214
22192
  "dateModified": {
22215
22193
  "type": "string",
22216
22194
  "description": "The date and time when the notarization was last modified, in ISO 8601 format."
22217
22195
  },
22218
- "data": {
22219
- "type": "array",
22220
- "items": {
22221
- "type": "number"
22222
- },
22223
- "description": "The notarization data as a byte array."
22224
- },
22225
22196
  "immutableDescription": {
22226
22197
  "type": "string",
22227
22198
  "description": "An optional description of the notarization that cannot be changed after creation."
@@ -22242,16 +22213,18 @@
22242
22213
  "type": "string",
22243
22214
  "description": "An optional transfer lock date-time, in ISO 8601 format.\nUsed only in Dynamic Notarization."
22244
22215
  },
22245
- "namespace": {
22216
+ "data": {
22246
22217
  "type": "string",
22247
- "description": "The namespace of the connector to use for the notarization, defaults to component configured namespace."
22218
+ "description": "The notarization data as a base64 encoded string."
22248
22219
  }
22249
22220
  },
22250
22221
  "required": [
22222
+ "id",
22251
22223
  "mode",
22224
+ "dateCreated",
22252
22225
  "data"
22253
22226
  ],
22254
- "description": "The request data."
22227
+ "description": "The response body."
22255
22228
  },
22256
22229
  "NotarizationMode": {
22257
22230
  "description": "Supported notarization mode values.",
@@ -22279,6 +22252,57 @@
22279
22252
  ],
22280
22253
  "description": "The request data."
22281
22254
  },
22255
+ "NotarizationUpdateRequest": {
22256
+ "type": "object",
22257
+ "properties": {
22258
+ "id": {
22259
+ "type": "string",
22260
+ "description": "The unique identifier of the notarization."
22261
+ },
22262
+ "mode": {
22263
+ "$ref": "#/components/schemas/NotarizationMode"
22264
+ },
22265
+ "dateCreated": {
22266
+ "type": "string",
22267
+ "description": "The date and time when the notarization was created, in ISO 8601 format."
22268
+ },
22269
+ "dateModified": {
22270
+ "type": "string",
22271
+ "description": "The date and time when the notarization was last modified, in ISO 8601 format."
22272
+ },
22273
+ "immutableDescription": {
22274
+ "type": "string",
22275
+ "description": "An optional description of the notarization that cannot be changed after creation."
22276
+ },
22277
+ "description": {
22278
+ "type": "string",
22279
+ "description": "An optional description of the notarization that can be modified until the notarization is locked."
22280
+ },
22281
+ "deleteLockDateTime": {
22282
+ "type": "string",
22283
+ "description": "An optional lock date, in ISO 8601 format, that prevents deletion until the date is reached.\nUsed only in Locked Notarization, it prevents the object from being deleted until the lock expires."
22284
+ },
22285
+ "transferLockUntilDestroyed": {
22286
+ "type": "boolean",
22287
+ "description": "An optional flag indicating transfer lock is active until the notarization is destroyed.\nUsed only in Dynamic Notarization."
22288
+ },
22289
+ "transferLockDateTime": {
22290
+ "type": "string",
22291
+ "description": "An optional transfer lock date-time, in ISO 8601 format.\nUsed only in Dynamic Notarization."
22292
+ },
22293
+ "data": {
22294
+ "type": "string",
22295
+ "description": "The notarization data as a base64 encoded string."
22296
+ }
22297
+ },
22298
+ "required": [
22299
+ "id",
22300
+ "mode",
22301
+ "dateCreated",
22302
+ "data"
22303
+ ],
22304
+ "description": "The request data."
22305
+ },
22282
22306
  "PapCreateRequest": {
22283
22307
  "description": "The body of the request - the policy to create (id will be auto-generated if not provided).",
22284
22308
  "type": "object",
@@ -22556,9 +22580,13 @@
22556
22580
  "type": "string",
22557
22581
  "description": "The tenant id this negotiation belongs to."
22558
22582
  },
22583
+ "nodeIdentity": {
22584
+ "type": "string",
22585
+ "description": "The node identity (DID) used to sign trust payloads."
22586
+ },
22559
22587
  "organizationIdentity": {
22560
22588
  "type": "string",
22561
- "description": "Organization identity to be used when sending trust payloads."
22589
+ "description": "Organization identity (the org DID of the user who initiated or received\nthe negotiation, when a user context was available)."
22562
22590
  },
22563
22591
  "offer": {
22564
22592
  "$ref": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolOffer"
@@ -22626,7 +22654,7 @@
22626
22654
  "correlationId",
22627
22655
  "dateCreated",
22628
22656
  "state",
22629
- "organizationIdentity"
22657
+ "nodeIdentity"
22630
22658
  ]
22631
22659
  },
22632
22660
  "RefreshTokenRequest": {
@@ -23332,6 +23360,14 @@
23332
23360
  "type": "string",
23333
23361
  "description": "The identity associated with the payload."
23334
23362
  },
23363
+ "tenantId": {
23364
+ "type": "string",
23365
+ "description": "The tenant that issued the payload, if multi-tenancy was active at generation time."
23366
+ },
23367
+ "organizationId": {
23368
+ "type": "string",
23369
+ "description": "The organisation that issued the payload, if an authenticated user context was available at generation time."
23370
+ },
23335
23371
  "data": {
23336
23372
  "type": "object",
23337
23373
  "additionalProperties": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/node",
3
- "version": "0.0.3-next.39",
3
+ "version": "0.0.3-next.41",
4
4
  "description": "TWIN Node serving APIs using the specified configuration",
5
5
  "repository": {
6
6
  "type": "git",
@@ -14,7 +14,7 @@
14
14
  "node": ">=20.0.0"
15
15
  },
16
16
  "dependencies": {
17
- "@twin.org/node-core": "0.0.3-next.39"
17
+ "@twin.org/node-core": "0.0.3-next.41"
18
18
  },
19
19
  "bugs": {
20
20
  "url": "git+https://github.com/iotaledger/node/issues"