@twin.org/node 0.0.3-next.40 → 0.0.3-next.42

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.
@@ -167,6 +167,9 @@
167
167
  "bigint": "Property \"{property}\" must be a bigint, it is \"{value}\"",
168
168
  "boolean": "Property \"{property}\" must be a boolean, it is \"{value}\"",
169
169
  "date": "Property \"{property}\" must be a date, it is \"{value}\"",
170
+ "dateString": "Property \"{property}\" must be a date-only string in ISO 8601 format, it is \"{value}\"",
171
+ "dateTimeString": "Property \"{property}\" must be a date-time string in ISO 8601 format, it is \"{value}\"",
172
+ "timeString": "Property \"{property}\" must be a time string in ISO 8601 format, it is \"{value}\"",
170
173
  "timestampMilliseconds": "Property \"{property}\" must be a timestamp in milliseconds, it is \"{value}\"",
171
174
  "timestampSeconds": "Property \"{property}\" must be a timestamp in seconds, it is \"{value}\"",
172
175
  "objectUndefined": "Property \"{property}\" must be an object, it is \"undefined\"",
@@ -179,8 +182,8 @@
179
182
  "arrayEndsWith": "Property \"{property}\" must be an array ending with [{endValues}], it is \"{value}\"",
180
183
  "uint8Array": "Property \"{property}\" must be a Uint8Array, it is \"{value}\"",
181
184
  "function": "Property \"{property}\" must be a function, it is \"{value}\"",
182
- "urn": "Property \"{property}\" must be a Urn formatted string, it is \"{value}\"",
183
- "url": "Property \"{property}\" must be a Url formatted string, it is \"{value}\"",
185
+ "urn": "Property \"{property}\" must be a URN formatted string, it is \"{value}\"",
186
+ "url": "Property \"{property}\" must be a URL formatted string, it is \"{value}\"",
184
187
  "email": "Property \"{property}\" must be string in e-mail format, it is \"{value}\"",
185
188
  "uuidV7": "Property \"{property}\" must be a UUIDv7 formatted string, it is \"{value}\"",
186
189
  "uuidV7Compact": "Property \"{property}\" must be a UUIDv7 formatted string in compact mode, it is \"{value}\"",
@@ -218,6 +221,12 @@
218
221
  "jsonHelper": {
219
222
  "failedPatch": "Failed to patch the JSON object, patch index \"{index}\" failed"
220
223
  },
224
+ "mutex": {
225
+ "lockNotFound": "The key \"{key}\" has no active lock",
226
+ "lockAlreadyReleased": "The key \"{key}\" is not currently locked",
227
+ "lockTimeout": "Failed to acquire lock for key \"{key}\" within the timeout of {timeout} milliseconds",
228
+ "bufferFetchFailed": "Failed to retrieve shared buffer for key \"{key}\" from the main thread"
229
+ },
221
230
  "fetchHelper": {
222
231
  "decodingJSON": "Decoding JSON failed for route \"{url}\"",
223
232
  "failureStatusText": "The request to the API failed: \"{statusText}\"",
@@ -441,7 +450,8 @@
441
450
  "changesetNotFound": "The changeset with the Id \"{notFoundId}\" was not found",
442
451
  "resourceIdMissing": "You must provide either the id, or the resourceObject must contain an id property for index \"{index}\"",
443
452
  "aliasNotUnique": "The alias id \"{aliasId}\" is already in use on another vertex and the unique flag was set",
444
- "invalidEdgeId": "The edge id \"{edgeId}\" is not valid"
453
+ "invalidEdgeId": "The edge id \"{edgeId}\" is not valid",
454
+ "listPatchInvalidFormat": "The property \"{property}\" must be a list patch object with add and/or remove, not a bare array"
445
455
  },
446
456
  "auditableItemStreamRestClient": {
447
457
  "notSupportedOnClient": "The method \"{methodName}\" is not supported on the REST client, it can only be used on a server side component"
@@ -589,8 +599,9 @@
589
599
  "agreementNotMatchingOffer": "Agreement \"{agreementId}\" does not match any Catalog Offer for dataset {datasetId}. Available Offers: {availableOffers}",
590
600
  "organizationContextMissing": "Organization context is missing. Cannot verify Agreement authorization for consumerPid: {consumerPid}",
591
601
  "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}",
602
+ "agreementAssignerMismatch": "Agreement assigner does not match current caller identity. Agreement: {agreementId}, consumerPid: {consumerPid}, expected: {expectedComposite}, actual: {actualAssigner}",
603
+ "agreementAssignerMismatchProvider": "Agreement assigner does not match current caller identity. Agreement: {agreementId}, providerPid: {providerPid}, expected: {expectedComposite}, actual: {actualAssigner}",
604
+ "invalidCompositeIdentifier": "Composite tenant identifier is not in a recognised shape (expected `nodeDid` or `nodeDid:tenantIdHash`, where `nodeDid` starts with `did:`). Got: \"{composite}\"",
594
605
  "agreementAssigneeMismatch": "Agreement assignee does not match expected consumer identity. Agreement: {agreementId}, providerPid: {providerPid}, expected: {expectedConsumerIdentity}, actual: {actualAssignee}",
595
606
  "negotiationInitiationFailed": "Failed to initiate contract negotiation",
596
607
  "datasetNotFoundInCatalog": "Dataset/Offer \"{offerId}\" not found in Federated Catalogue. Cannot initiate negotiation for non-existent offer.",
@@ -607,11 +618,15 @@
607
618
  "callerNotAuthorizedAsProvider": "The caller's verified identity does not match the provider for this transfer process",
608
619
  "callerNotAuthorizedForTransfer": "The caller's verified identity does not match the consumer or provider for this transfer process",
609
620
  "multipleAssignersNotSupported": "Multiple assigners found in agreement, which is not supported. Only single assigner agreements are supported.",
621
+ "invalidPushDataAddress": "PUSH transfer cannot start: consumer dataAddress is missing endpoint or endpointType (consumerPid: {consumerPid})",
622
+ "pushTransferDataPathNotConfigured": "PUSH transfer cannot start: dataPlanePath is not configured (consumerPid: {consumerPid})",
623
+ "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
624
  "datasetPublishFailed": "Failed to publish dataset {datasetRecordId} for app {appId} (tenant: {tenantId})",
611
625
  "datasetNodeContextRequired": "A node context is required to register a dataset.",
612
626
  "datasetAlreadyExists": "A dataset with id \"{id}\" already exists.",
613
627
  "datasetNotFound": "Dataset not found",
614
- "datasetWrongTenant": "The calling tenant does not own this dataset."
628
+ "datasetWrongTenant": "The calling tenant does not own this dataset.",
629
+ "transferWrongTenant": "The calling tenant does not own this transfer."
615
630
  },
616
631
  "dataspaceControlPlanePolicyRequester": {},
617
632
  "odrlPolicyHelper": {
@@ -637,10 +652,17 @@
637
652
  "transferProcessNotFound": "Transfer Process not found for consumerPid \"{notFoundId}\"",
638
653
  "transferNotInStartedState": "Transfer Process is not in STARTED state. Current state: \"{currentState}\"",
639
654
  "transferMissingDatasetId": "Transfer Process is missing datasetId",
655
+ "transferMissingDataAddress": "Transfer Process is missing a valid push dataAddress endpoint (consumerPid: {consumerPid})",
656
+ "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.",
657
+ "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
658
  "schemaNotFound": "Schema \"{schemaId}\" not found",
641
659
  "cleanupFailed": "Error occurred during cleanup of activity logs",
642
660
  "invalidProcessingGroupId": "Invalid processing group id \"{processingGroupId}\" specified in activity query",
643
- "missingHandleActivity": "Handler App \"{dataspaceAppId}\" does not export a \"handleActivity\" function"
661
+ "missingHandleActivity": "Handler App \"{dataspaceAppId}\" does not export a \"handleActivity\" function",
662
+ "pushSubscriptionNotFound": "Push subscription not found for consumerPid \"{notFoundId}\"",
663
+ "pushActivityNotAuthorized": "Unauthorized push activity — no matching STARTED transfer found for the activity generator",
664
+ "processOutboxActivityMultipleTo": "processOutboxActivity does not support multiple recipients — activity.to contains {count} values, expected exactly one consumerPid",
665
+ "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
666
  },
645
667
  "dataspaceDataPlaneSocketClient": {
646
668
  "socketConnect": "Failure during socket connect",
@@ -985,7 +1007,7 @@
985
1007
  "createFailed": "Creating the proof failed",
986
1008
  "getFailed": "Getting the proof failed",
987
1009
  "verifyFailed": "Verifying the proof failed",
988
- "removeVerifiableFailed": "Removing verifiable entry from the Immutable Proof failed",
1010
+ "removeNotarizationFailed": "Removing notarization entry from the Immutable Proof failed",
989
1011
  "proofNotFound": "The proof with the Id \"{notFoundId}\" was not found",
990
1012
  "createProofFailed": "Creating the immutable proof failed"
991
1013
  },
@@ -1184,7 +1206,6 @@
1184
1206
  "offerNotAccepted": "Offer with id: \"{offerId}\" was not accepted by the requester",
1185
1207
  "agreementNotAccepted": "Agreement with id: \"{agreementId}\" was not accepted by the requester",
1186
1208
  "noAgreementCreated": "No agreement was created for offer with id: \"{offerId}\"",
1187
- "assignerNotIdentity": "The assigner in the offer is not a single identity",
1188
1209
  "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
1210
  "callerNotAuthorizedForNegotiation": "The caller's verified identity does not match any authorized party in this negotiation"
1190
1211
  },
@@ -1839,7 +1860,7 @@
1839
1860
  },
1840
1861
  "vault-key-create": {
1841
1862
  "description": "Create a vault key for an identity",
1842
- "example": "vault-key-create --identity=\"did:iota:....\" --key-id=\"my-key\" --type=\"Ed25519\"",
1863
+ "example": "vault-key-create --identity=\"did:iota:....\" --key-id=\"my-key\" --key-type=\"Ed25519\"",
1843
1864
  "params": {
1844
1865
  "env-prefix": {
1845
1866
  "description": "Prefix to use for standard .env files e.g. TWIN_."
@@ -1941,7 +1962,6 @@
1941
1962
  },
1942
1963
  "dataspaceControlPlaneService": {
1943
1964
  "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
1965
  "stalledNegotiationCleanedUp": "Stalled negotiation cleaned up (negotiationId: {negotiationId})"
1946
1966
  },
1947
1967
  "dataspaceControlPlanePolicyRequester": {
@@ -1949,6 +1969,10 @@
1949
1969
  "negotiationTerminated": "Negotiation terminated by provider (negotiationId: {negotiationId})",
1950
1970
  "unknownNegotiationTerminated": "Unknown negotiation terminated (negotiationId: {negotiationId})"
1951
1971
  },
1972
+ "dataspaceDataPlaneService": {
1973
+ "pushSubscriptionNotFoundOnTeardown": "Push subscription not found for consumerPid \"{consumerPid}\" during teardown — treating as no-op",
1974
+ "pushSubscriptionNotFoundForActivity": "Push subscription not found for outbound activity (consumerPid: {consumerPid})"
1975
+ },
1952
1976
  "policyNegotiationAdminPointService": {
1953
1977
  "sendTerminateFailed": "Failed to send terminate to consumer for negotiation id: \"{id}\", correlation id: \"{correlationId}\""
1954
1978
  },
@@ -2105,7 +2129,8 @@
2105
2129
  "negotiationStateRetrieved": "Negotiation state retrieved successfully",
2106
2130
  "getNegotiationHistory": "Retrieving negotiation history",
2107
2131
  "negotiationHistoryRetrieved": "Negotiation history retrieved successfully",
2108
- "stalledNegotiationsCleanupComplete": "Stalled negotiations cleanup completed (cleanedUp: {cleanedUp})"
2132
+ "stalledNegotiationsCleanupComplete": "Stalled negotiations cleanup completed (cleanedUp: {cleanedUp})",
2133
+ "pushTransferStarted": "PUSH transfer started (consumerPid: {consumerPid}, providerPid: {providerPid}, endpoint: {endpoint})"
2109
2134
  },
2110
2135
  "dataspaceControlPlanePolicyRequester": {
2111
2136
  "offerReceived": "Offer received from provider (negotiationId: {negotiationId}, offerId: {offerId})",
@@ -2116,7 +2141,12 @@
2116
2141
  },
2117
2142
  "dataspaceDataPlaneService": {
2118
2143
  "scheduledTask": "\"{taskId}\": Task scheduled for Dataspace App \"{dataspaceAppId}\" (isRetry: {isRetry})",
2119
- "policyObligationTriggered": "Policy obligation triggered for agreement \"{agreementId}\": action=\"{action}\", target=\"{target}\""
2144
+ "policyObligationTriggered": "Policy obligation triggered for agreement \"{agreementId}\": action=\"{action}\", target=\"{target}\"",
2145
+ "pushSubscriptionCreated": "Push subscription created (consumerPid: {consumerPid}, providerPid: {providerPid})",
2146
+ "pushSubscriptionSuspended": "Push subscription suspended (consumerPid: {consumerPid})",
2147
+ "pushSubscriptionResumed": "Push subscription resumed (consumerPid: {consumerPid})",
2148
+ "pushSubscriptionTornDown": "Push subscription torn down (consumerPid: {consumerPid}, providerPid: {providerPid})",
2149
+ "pushDeliveryTaskScheduled": "Push delivery task scheduled (taskId: {taskId}, consumerPid: {consumerPid})"
2120
2150
  },
2121
2151
  "dataspaceDataPlaneSocketClient": {
2122
2152
  "subscribeActivityLogs": "Subscription created for topic activity logs with id \"{subscriptionId}\"",
@@ -2494,7 +2524,9 @@
2494
2524
  "engineCloneStart": "'start' method has been called from an engine clone. No task scheduler created",
2495
2525
  "cleanUpOngoing": "There is an ongoing clean up of activity logs. Skipping",
2496
2526
  "activityLogCleanedUp": "Activity Log has been cleaned up. \"{numRecordsDeleted}\" records deleted",
2497
- "replacingFailedTasks": "Retrying apps \"{appsToRetry}\" (successful: \"{successfulApps}\") for activity \"{activityLogEntryId}\""
2527
+ "pushSubscriptionsCleanedUp": "Orphaned push subscriptions cleaned up. \"{numDeleted}\" records deleted",
2528
+ "replacingFailedTasks": "Retrying apps \"{appsToRetry}\" (successful: \"{successfulApps}\") for activity \"{activityLogEntryId}\"",
2529
+ "pushDeliverySkippedPaused": "Push delivery skipped — subscription is paused (consumerPid: {consumerPid})"
2498
2530
  },
2499
2531
  "dataspaceDataPlaneSocketRoutes": {
2500
2532
  "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.42](https://github.com/iotaledger/twin-node/compare/node-v0.0.3-next.41...node-v0.0.3-next.42) (2026-05-28)
4
+
5
+
6
+ ### Features
7
+
8
+ * immutable proof gate and additional config ([#157](https://github.com/iotaledger/twin-node/issues/157)) ([1d1fbb7](https://github.com/iotaledger/twin-node/commit/1d1fbb7c53525af848761dc25b42e9e676929972))
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.41 to 0.0.3-next.42
16
+
17
+ ## [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)
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.40 to 0.0.3-next.41
30
+
3
31
  ## [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)
4
32
 
5
33
 
@@ -9622,11 +9622,7 @@
9622
9622
  "proofPurpose": "assertionMethod",
9623
9623
  "proofValue": "7DdiPPYtxLjCD3wA1po2rv...",
9624
9624
  "verificationMethod": "did:iota:testnet:0xcb07cabaa2f23b7e53d8cdc4228efb351ebb270554d13bc382e4f94ca8d3136b#immutable-proof-assertion",
9625
- "verifiableStorageId": "verifiable-storage:1234567890",
9626
- "immutableReceipt": {
9627
- "id": "immutable-receipt:1234567890",
9628
- "type": "ImmutableReceipt"
9629
- }
9625
+ "notarizationId": "notarization:iota:0xabcdef1234567890"
9630
9626
  }
9631
9627
  }
9632
9628
  }
@@ -9660,11 +9656,7 @@
9660
9656
  "proofPurpose": "assertionMethod",
9661
9657
  "proofValue": "7DdiPPYtxLjCD3wA1po2rv...",
9662
9658
  "verificationMethod": "did:iota:testnet:0xcb07cabaa2f23b7e53d8cdc4228efb351ebb270554d13bc382e4f94ca8d3136b#immutable-proof-assertion",
9663
- "verifiableStorageId": "verifiable-storage:1234567890",
9664
- "immutableReceipt": {
9665
- "id": "immutable-receipt:1234567890",
9666
- "type": "ImmutableReceipt"
9667
- }
9659
+ "notarizationId": "notarization:iota:0xabcdef1234567890"
9668
9660
  }
9669
9661
  }
9670
9662
  }
@@ -12090,7 +12082,7 @@
12090
12082
  }
12091
12083
  ],
12092
12084
  "requestBody": {
12093
- "description": "Update an auditable item graph vertex.",
12085
+ "description": "Update an auditable item graph vertex (PUT — full replacement of vertex state).",
12094
12086
  "required": true,
12095
12087
  "content": {
12096
12088
  "application/json": {
@@ -12246,6 +12238,125 @@
12246
12238
  }
12247
12239
  }
12248
12240
  }
12241
+ },
12242
+ "patch": {
12243
+ "operationId": "auditableItemGraphUpdatePartial",
12244
+ "summary": "Partially update a graph vertex",
12245
+ "tags": [
12246
+ "Auditable Item Graph"
12247
+ ],
12248
+ "parameters": [
12249
+ {
12250
+ "name": "id",
12251
+ "description": "The id of the vertex to update.",
12252
+ "in": "path",
12253
+ "required": true,
12254
+ "schema": {
12255
+ "type": "string"
12256
+ },
12257
+ "style": "simple",
12258
+ "example": "aig:1234567890"
12259
+ }
12260
+ ],
12261
+ "security": [
12262
+ {
12263
+ "jwtBearerAuthScheme": []
12264
+ }
12265
+ ],
12266
+ "requestBody": {
12267
+ "description": "Partially update an auditable item graph vertex (PATCH — explicit list patches).",
12268
+ "required": true,
12269
+ "content": {
12270
+ "application/json": {
12271
+ "schema": {
12272
+ "$ref": "#/components/schemas/AuditableItemGraphUpdatePartialRequest"
12273
+ },
12274
+ "examples": {
12275
+ "auditableItemGraphUpdatePartialRequestExample": {
12276
+ "value": {
12277
+ "@context": [
12278
+ "https://schema.twindev.org/aig/",
12279
+ "https://schema.twindev.org/common/"
12280
+ ],
12281
+ "edgePatches": {
12282
+ "add": [
12283
+ {
12284
+ "type": "AuditableItemGraphEdge",
12285
+ "targetId": "aig:45678901234",
12286
+ "edgeRelationships": [
12287
+ "document"
12288
+ ]
12289
+ }
12290
+ ]
12291
+ }
12292
+ }
12293
+ }
12294
+ }
12295
+ }
12296
+ }
12297
+ },
12298
+ "responses": {
12299
+ "204": {
12300
+ "description": "The rest request ended in success with no data."
12301
+ },
12302
+ "400": {
12303
+ "description": "The server cannot process the request, see the content for more details.",
12304
+ "content": {
12305
+ "application/json": {
12306
+ "schema": {
12307
+ "$ref": "#/components/schemas/Error"
12308
+ },
12309
+ "examples": {
12310
+ "exampleResponse": {
12311
+ "value": {
12312
+ "name": "GeneralError",
12313
+ "message": "errorMessage",
12314
+ "properties": {
12315
+ "foo": "bar"
12316
+ }
12317
+ }
12318
+ }
12319
+ }
12320
+ }
12321
+ }
12322
+ },
12323
+ "401": {
12324
+ "description": "You are not authorized to use the API or no credentials were supplied, see the content for more details.",
12325
+ "content": {
12326
+ "application/json": {
12327
+ "schema": {
12328
+ "$ref": "#/components/schemas/Error"
12329
+ },
12330
+ "examples": {
12331
+ "exampleResponse": {
12332
+ "value": {
12333
+ "name": "UnauthorizedError",
12334
+ "message": "errorMessage"
12335
+ }
12336
+ }
12337
+ }
12338
+ }
12339
+ }
12340
+ },
12341
+ "500": {
12342
+ "description": "The server has encountered a situation it does not know how to handle, see the content for more details.",
12343
+ "content": {
12344
+ "application/json": {
12345
+ "schema": {
12346
+ "$ref": "#/components/schemas/Error"
12347
+ },
12348
+ "examples": {
12349
+ "exampleResponse": {
12350
+ "value": {
12351
+ "name": "InternalServerError",
12352
+ "message": "errorMessage"
12353
+ }
12354
+ }
12355
+ }
12356
+ }
12357
+ }
12358
+ }
12359
+ }
12249
12360
  }
12250
12361
  },
12251
12362
  "/aig/{id}/versions/{version}": {
@@ -16168,18 +16279,13 @@
16168
16279
  }
16169
16280
  }
16170
16281
  },
16171
- "/dataspace-data-plane/notify": {
16282
+ "/dataspace-data-plane/inbox": {
16172
16283
  "post": {
16173
16284
  "operationId": "activityStreamNotify",
16174
16285
  "summary": "Notify of a new Activity",
16175
16286
  "tags": [
16176
16287
  "Dataspace Data Plane"
16177
16288
  ],
16178
- "security": [
16179
- {
16180
- "jwtBearerAuthScheme": []
16181
- }
16182
- ],
16183
16289
  "requestBody": {
16184
16290
  "description": "Activity Stream Notify Request.",
16185
16291
  "required": true,
@@ -16240,24 +16346,6 @@
16240
16346
  }
16241
16347
  }
16242
16348
  },
16243
- "401": {
16244
- "description": "You are not authorized to use the API or no credentials were supplied, see the content for more details.",
16245
- "content": {
16246
- "application/json": {
16247
- "schema": {
16248
- "$ref": "#/components/schemas/Error"
16249
- },
16250
- "examples": {
16251
- "exampleResponse": {
16252
- "value": {
16253
- "name": "UnauthorizedError",
16254
- "message": "errorMessage"
16255
- }
16256
- }
16257
- }
16258
- }
16259
- }
16260
- },
16261
16349
  "422": {
16262
16350
  "description": "The server cannot process the request, see the content for more details.",
16263
16351
  "content": {
@@ -19835,6 +19923,7 @@
19835
19923
  "correlationId": "cid",
19836
19924
  "dateCreated": "2025-09-03T00:00:00.000Z",
19837
19925
  "state": "REQUESTED",
19926
+ "nodeIdentity": "did:iota:nodexyz",
19838
19927
  "organizationIdentity": "did:iota:123456789abcdefghi"
19839
19928
  }
19840
19929
  }
@@ -19940,6 +20029,7 @@
19940
20029
  "correlationId": "cid",
19941
20030
  "dateCreated": "2025-09-03T00:00:00.000Z",
19942
20031
  "state": "REQUESTED",
20032
+ "nodeIdentity": "did:iota:nodexyz",
19943
20033
  "organizationIdentity": "did:iota:123456789abcdefghi"
19944
20034
  }
19945
20035
  }
@@ -20148,6 +20238,7 @@
20148
20238
  "correlationId": "cid",
20149
20239
  "dateCreated": "2025-09-03T00:00:00.000Z",
20150
20240
  "state": "REQUESTED",
20241
+ "nodeIdentity": "did:iota:nodexyz",
20151
20242
  "organizationIdentity": "did:iota:123456789abcdefghi"
20152
20243
  }
20153
20244
  ]
@@ -20656,8 +20747,73 @@
20656
20747
  "type"
20657
20748
  ]
20658
20749
  },
20750
+ "AuditableItemGraphUpdatePartialRequest": {
20751
+ "description": "Partial vertex data; only defined properties are applied.\nSub-lists use `{ add, remove }` patch objects.",
20752
+ "type": "object",
20753
+ "properties": {
20754
+ "dateCreated": {
20755
+ "type": "string",
20756
+ "description": "The date/time of when the element was created."
20757
+ },
20758
+ "dateModified": {
20759
+ "type": "string",
20760
+ "description": "The date/time of when the element was modified."
20761
+ },
20762
+ "dateDeleted": {
20763
+ "type": "string",
20764
+ "description": "The date/time of when the element was deleted, as we never actually remove items."
20765
+ },
20766
+ "@context": {
20767
+ "type": "array",
20768
+ "prefixItems": [
20769
+ {
20770
+ "const": "https://schema.twindev.org/aig/"
20771
+ },
20772
+ {
20773
+ "const": "https://schema.twindev.org/common/"
20774
+ }
20775
+ ],
20776
+ "items": {
20777
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
20778
+ },
20779
+ "minItems": 2,
20780
+ "description": "JSON-LD Context."
20781
+ },
20782
+ "organizationIdentity": {
20783
+ "type": "string",
20784
+ "description": "The identity of the organization which controls the vertex."
20785
+ },
20786
+ "annotationObject": {
20787
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
20788
+ },
20789
+ "verified": {
20790
+ "type": "boolean",
20791
+ "description": "Is the vertex verified, will only be populated when verification is requested."
20792
+ },
20793
+ "version": {
20794
+ "type": "number",
20795
+ "description": "The version of the vertex, populated only when getting a specific version.\nMaps to https://schema.org/version."
20796
+ },
20797
+ "type": {
20798
+ "const": "AuditableItemGraphVertex",
20799
+ "description": "JSON-LD Type."
20800
+ },
20801
+ "aliasPatches": {
20802
+ "$ref": "https://schema.twindev.org/aig/AuditableItemGraphListPatch"
20803
+ },
20804
+ "resourcePatches": {
20805
+ "$ref": "https://schema.twindev.org/aig/AuditableItemGraphListPatch"
20806
+ },
20807
+ "edgePatches": {
20808
+ "$ref": "https://schema.twindev.org/aig/AuditableItemGraphListPatch"
20809
+ }
20810
+ },
20811
+ "required": [
20812
+ "@context"
20813
+ ]
20814
+ },
20659
20815
  "AuditableItemGraphUpdateRequest": {
20660
- "description": "The data to be used in the vertex.",
20816
+ "description": "The full vertex payload. Replaces annotation and active sub-lists; omitted collections are cleared.",
20661
20817
  "type": "object",
20662
20818
  "properties": {
20663
20819
  "dateCreated": {
@@ -21901,6 +22057,16 @@
21901
22057
  "properties": {
21902
22058
  "document": {
21903
22059
  "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
22060
+ },
22061
+ "options": {
22062
+ "type": "object",
22063
+ "properties": {
22064
+ "deleteLock": {
22065
+ "type": "string",
22066
+ "description": "An ISO 8601 date-time string specifying when the notarization lock expires.\nIf omitted, no deletion lock is applied."
22067
+ }
22068
+ },
22069
+ "description": "Optional settings for the proof."
21904
22070
  }
21905
22071
  },
21906
22072
  "required": [
@@ -22600,9 +22766,13 @@
22600
22766
  "type": "string",
22601
22767
  "description": "The tenant id this negotiation belongs to."
22602
22768
  },
22769
+ "nodeIdentity": {
22770
+ "type": "string",
22771
+ "description": "The node identity (DID) used to sign trust payloads."
22772
+ },
22603
22773
  "organizationIdentity": {
22604
22774
  "type": "string",
22605
- "description": "Organization identity to be used when sending trust payloads."
22775
+ "description": "Organization identity (the org DID of the user who initiated or received\nthe negotiation, when a user context was available)."
22606
22776
  },
22607
22777
  "offer": {
22608
22778
  "$ref": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolOffer"
@@ -22670,7 +22840,7 @@
22670
22840
  "correlationId",
22671
22841
  "dateCreated",
22672
22842
  "state",
22673
- "organizationIdentity"
22843
+ "nodeIdentity"
22674
22844
  ]
22675
22845
  },
22676
22846
  "RefreshTokenRequest": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/node",
3
- "version": "0.0.3-next.40",
3
+ "version": "0.0.3-next.42",
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.40"
17
+ "@twin.org/node-core": "0.0.3-next.42"
18
18
  },
19
19
  "bugs": {
20
20
  "url": "git+https://github.com/iotaledger/node/issues"