@twin.org/node 0.0.3-next.62 → 0.0.3-next.64

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.
@@ -70,7 +70,8 @@
70
70
  "entityStorageAuthenticationService": {
71
71
  "loginFailed": "Login failed",
72
72
  "userNotFound": "The user with the specified e-mail could not be found",
73
- "passwordMismatch": "The password does not match the user's password"
73
+ "passwordMismatch": "The password does not match the user's password",
74
+ "nodeIdNotSet": "The node ID has not been set"
74
75
  },
75
76
  "entityStorageAuthenticationAdminService": {
76
77
  "userExists": "The user with the specified e-mail already exists",
@@ -81,6 +82,9 @@
81
82
  "updatePasswordFailed": "Updating the user's password failed",
82
83
  "userNotFound": "The user with the specified e-mail could not be found \"{notFoundId}\""
83
84
  },
85
+ "authHeaderProcessor": {
86
+ "nodeIdNotSet": "The node ID has not been set"
87
+ },
84
88
  "passwordHelper": {
85
89
  "currentPasswordMismatch": "The current password is incorrect"
86
90
  },
@@ -90,6 +94,8 @@
90
94
  },
91
95
  "tokenHelper": {
92
96
  "missing": "The JSON Web token could not be found in the authorization header",
97
+ "headerKeyIdMismatch": "The JSON Web token key identifier does not match the expected signing key",
98
+ "payloadIssuerMismatch": "The JSON Web token issuer does not match the expected signing key",
93
99
  "payloadMissingSubject": "The JSON Web token payload does not contain a subject",
94
100
  "payloadMissingOrganization": "The JSON Web token payload does not contain an organization",
95
101
  "expired": "The JSON Web token has expired",
@@ -2090,6 +2096,7 @@
2090
2096
  "getNegotiationHistory": "Retrieving negotiation history",
2091
2097
  "negotiationHistoryRetrieved": "Negotiation history retrieved successfully",
2092
2098
  "stalledNegotiationsCleanupComplete": "Stalled negotiations cleanup completed (cleanedUp: {cleanedUp})",
2099
+ "stalledTransfersCleanupComplete": "Stalled transfers cleanup completed (cleanedUp: {cleanedUp})",
2093
2100
  "pushTransferStarted": "PUSH transfer started (consumerPid: {consumerPid}, providerPid: {providerPid}, endpoint: {endpoint})",
2094
2101
  "preparingTransfer": "Preparing consumer-initiated data transfer (agreementId: {agreementId}, providerEndpoint: {providerEndpoint}, format: {format})",
2095
2102
  "transferPrepared": "Consumer data transfer prepared successfully (consumerPid: {consumerPid}, providerPid: {providerPid}, agreementId: {agreementId}, format: {format})"
@@ -2341,7 +2348,8 @@
2341
2348
  },
2342
2349
  "dataspaceControlPlaneService": {
2343
2350
  "catalogDatasetHasNoOffers": "Dataset has no Offers (odrl:hasPolicy) in Federated Catalogue",
2344
- "stalledNegotiationCleanedUp": "Stalled negotiation cleaned up (negotiationId: {negotiationId})"
2351
+ "stalledNegotiationCleanedUp": "Stalled negotiation cleaned up (negotiationId: {negotiationId})",
2352
+ "stalledTransferCleanedUp": "Stalled transfer cleaned up (consumerPid: {consumerPid})"
2345
2353
  },
2346
2354
  "dataspaceControlPlanePolicyRequester": {
2347
2355
  "unknownNegotiationFinalized": "Unknown negotiation finalized (negotiationId: {negotiationId})",
package/docs/changelog.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.0.3-next.64](https://github.com/iotaledger/twin-node/compare/node-v0.0.3-next.63...node-v0.0.3-next.64) (2026-06-23)
4
+
5
+
6
+ ### Features
7
+
8
+ * env vars consistency ([1823b7a](https://github.com/iotaledger/twin-node/commit/1823b7aeae5dc7484861534b851080afda64d869))
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.63 to 0.0.3-next.64
16
+
17
+ ## [0.0.3-next.63](https://github.com/iotaledger/twin-node/compare/node-v0.0.3-next.62...node-v0.0.3-next.63) (2026-06-22)
18
+
19
+
20
+ ### Features
21
+
22
+ * update document management components ([ed2c065](https://github.com/iotaledger/twin-node/commit/ed2c065a5030a7233f3623818d7325d85654ef0d))
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.62 to 0.0.3-next.63
30
+
3
31
  ## [0.0.3-next.62](https://github.com/iotaledger/twin-node/compare/node-v0.0.3-next.61...node-v0.0.3-next.62) (2026-06-19)
4
32
 
5
33
 
@@ -10542,16 +10542,20 @@
10542
10542
  "examples": {
10543
10543
  "DocumentManagementCreateRequestExample": {
10544
10544
  "value": {
10545
- "documentId": "2721000",
10546
- "documentIdFormat": "bol",
10547
- "documentCode": "unece:DocumentCodeList#705",
10548
- "blob": "SGVsbG8gV29ybGQ=",
10549
- "annotationObject": {
10550
- "@context": "https://schema.org",
10551
- "@type": "DigitalDocument",
10552
- "name": "myfile.pdf"
10545
+ "document": {
10546
+ "documentId": "2721000",
10547
+ "documentIdFormat": "bol",
10548
+ "documentCode": "unece:DocumentCodeList#705",
10549
+ "annotationObject": {
10550
+ "@context": "https://schema.org",
10551
+ "@type": "DigitalDocument",
10552
+ "name": "myfile.pdf"
10553
+ }
10553
10554
  },
10554
- "createAttestation": true
10555
+ "blob": "SGVsbG8gV29ybGQ=",
10556
+ "options": {
10557
+ "includeAttestation": true
10558
+ }
10555
10559
  }
10556
10560
  }
10557
10561
  }
@@ -10811,12 +10815,14 @@
10811
10815
  "examples": {
10812
10816
  "DocumentManagementUpdatePartialRequestExample": {
10813
10817
  "value": {
10814
- "blob": "SGVsbG8gV29ybGQ=",
10815
- "annotationObject": {
10816
- "@context": "https://schema.org",
10817
- "@type": "DigitalDocument",
10818
- "name": "myfile.pdf"
10819
- }
10818
+ "document": {
10819
+ "annotationObject": {
10820
+ "@context": "https://schema.org",
10821
+ "@type": "DigitalDocument",
10822
+ "name": "myfile.pdf"
10823
+ }
10824
+ },
10825
+ "blob": "SGVsbG8gV29ybGQ="
10820
10826
  }
10821
10827
  }
10822
10828
  }
@@ -16776,15 +16782,6 @@
16776
16782
  "Transfer Process"
16777
16783
  ],
16778
16784
  "parameters": [
16779
- {
16780
- "name": "autoStart",
16781
- "description": "When \"true\", the provider immediately starts the requested transfer once it has been created.",
16782
- "in": "query",
16783
- "required": false,
16784
- "schema": {
16785
- "type": "string"
16786
- }
16787
- },
16788
16785
  {
16789
16786
  "name": "authorization",
16790
16787
  "in": "header",
@@ -21717,23 +21714,12 @@
21717
21714
  "DocumentManagementCreateRequest": {
21718
21715
  "type": "object",
21719
21716
  "properties": {
21720
- "documentId": {
21721
- "type": "string",
21722
- "description": "The document id to create."
21723
- },
21724
- "documentIdFormat": {
21725
- "type": "string",
21726
- "description": "The format of the document identifier."
21727
- },
21728
- "documentCode": {
21729
- "$ref": "https://schema.twindev.org/unece/UneceDocumentCodeList"
21717
+ "document": {
21718
+ "$ref": "https://schema.twindev.org/documents/DocumentBase"
21730
21719
  },
21731
21720
  "blob": {
21732
21721
  "type": "string",
21733
- "description": "The data to create the document with, in base64."
21734
- },
21735
- "annotationObject": {
21736
- "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
21722
+ "description": "The data to create the document with, either as base64-encoded content or an existing blob storage entry id."
21737
21723
  },
21738
21724
  "auditableItemGraphEdges": {
21739
21725
  "type": "array",
@@ -21742,22 +21728,26 @@
21742
21728
  },
21743
21729
  "description": "The auditable item graph vertices to connect the document to."
21744
21730
  },
21745
- "createAttestation": {
21746
- "type": "boolean",
21747
- "description": "Flag to create an attestation for the document, defaults to false."
21748
- },
21749
- "addAlias": {
21750
- "type": "boolean",
21751
- "description": "Flag to add the document id as an alias to the aig vertex, defaults to true."
21752
- },
21753
- "aliasAnnotationObject": {
21754
- "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
21731
+ "options": {
21732
+ "type": "object",
21733
+ "properties": {
21734
+ "includeAttestation": {
21735
+ "type": "boolean",
21736
+ "description": "Flag to create an attestation for the document, defaults to false."
21737
+ },
21738
+ "includeAlias": {
21739
+ "type": "boolean",
21740
+ "description": "Flag to add the document id as an alias to the aig vertex, defaults to true."
21741
+ },
21742
+ "aliasAnnotationObject": {
21743
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
21744
+ }
21745
+ },
21746
+ "description": "Additional options for the create operation."
21755
21747
  }
21756
21748
  },
21757
21749
  "required": [
21758
- "documentId",
21759
- "documentIdFormat",
21760
- "documentCode",
21750
+ "document",
21761
21751
  "blob"
21762
21752
  ],
21763
21753
  "description": "The body parameters."
@@ -21765,12 +21755,25 @@
21765
21755
  "DocumentManagementUpdatePartialRequest": {
21766
21756
  "type": "object",
21767
21757
  "properties": {
21758
+ "document": {
21759
+ "description": "The document base properties to update. annotationObject, documentIdFormat and documentCode are applied in-place to the current revision.",
21760
+ "type": "object",
21761
+ "properties": {
21762
+ "documentIdFormat": {
21763
+ "type": "string",
21764
+ "description": "The format of the document id."
21765
+ },
21766
+ "documentCode": {
21767
+ "$ref": "https://schema.twindev.org/unece/UneceDocumentCodeList"
21768
+ },
21769
+ "annotationObject": {
21770
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
21771
+ }
21772
+ }
21773
+ },
21768
21774
  "blob": {
21769
21775
  "type": "string",
21770
- "description": "The data to update the document with, in base64."
21771
- },
21772
- "annotationObject": {
21773
- "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
21776
+ "description": "The data to update the document with, either as base64-encoded content or an existing blob storage entry id."
21774
21777
  },
21775
21778
  "auditableItemGraphEdges": {
21776
21779
  "type": "object",
@@ -21791,6 +21794,23 @@
21791
21794
  }
21792
21795
  },
21793
21796
  "description": "Explicit edge delta to apply. Use `add` to create new connections and `remove` to\ndisconnect existing ones by their target vertex id."
21797
+ },
21798
+ "options": {
21799
+ "type": "object",
21800
+ "properties": {
21801
+ "includeAttestation": {
21802
+ "type": "boolean",
21803
+ "description": "Set to true to start attesting the document (even if originally created without attestation), or false to remove the existing attestation. Omit to leave attestation state unchanged."
21804
+ },
21805
+ "includeAlias": {
21806
+ "type": "boolean",
21807
+ "description": "Set to true to add the document id as an alias on the aig vertex, or false to remove it. Omit to leave alias state unchanged."
21808
+ },
21809
+ "aliasAnnotationObject": {
21810
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
21811
+ }
21812
+ },
21813
+ "description": "Additional options for the update operation."
21794
21814
  }
21795
21815
  },
21796
21816
  "description": "The body parameters."
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/node",
3
- "version": "0.0.3-next.62",
3
+ "version": "0.0.3-next.64",
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.62"
17
+ "@twin.org/node-core": "0.0.3-next.64"
18
18
  },
19
19
  "bugs": {
20
20
  "url": "git+https://github.com/iotaledger/twin-node/issues"