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

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.
@@ -85,10 +85,8 @@
85
85
  "expired": "The JSON Web token has expired",
86
86
  "insufficientScopes": "The JSON Web token does not have the required scopes to access this resource",
87
87
  "userNotVerified": "The user associated with the JSON Web token could not be verified",
88
- "organizationNotVerified": "The organization associated with the JSON Web token could not be verified"
89
- },
90
- "authHeaderProcessor": {
91
- "tenantIdMismatch": "The tenant ID in the token does not match the tenant ID in the context"
88
+ "organizationNotVerified": "The organization associated with the JSON Web token could not be verified",
89
+ "tenantNotVerified": "The tenant associated with the JSON Web token could not be verified"
92
90
  },
93
91
  "validation": {
94
92
  "saltEntropyTooLow": "Salt must have at least 8 unique characters for sufficient entropy.",
@@ -325,7 +323,8 @@
325
323
  "invalidSignature": "The JSON Web token signature could not be verified"
326
324
  },
327
325
  "tenantProcessor": {
328
- "missingApiKeyOrTenantToken": "API key \"{keyName}\" or tenant token is missing",
326
+ "missingApiKey": "API key \"{keyName}\" is missing",
327
+ "missingTenantToken": "Tenant token query parameter \"{paramName}\" is missing",
329
328
  "apiKeyNotFound": "No node tenant found for API key \"{key}\".",
330
329
  "tenantNotFound": "No node tenant found for the decrypted tenant token \"{tenantId}\"."
331
330
  },
@@ -433,9 +432,6 @@
433
432
  "destroyFailed": "The destruction of the attestation failed",
434
433
  "namespaceMismatch": "The namespace in the urn \"{id}\" does not match the namespace of the attestation service \"{namespace}\""
435
434
  },
436
- "auditableItemGraphRestClient": {
437
- "notSupportedOnClient": "The method \"{methodName}\" is not supported on the REST client, it can only be used on a server side component"
438
- },
439
435
  "auditableItemGraphService": {
440
436
  "namespaceMismatch": "The namespace in the urn \"{id}\" does not match the namespace of the Auditable Item Graph service \"{namespace}\"",
441
437
  "createFailed": "Creating the Auditable Item Graph vertex failed",
@@ -445,7 +441,7 @@
445
441
  "versionNotFound": "The version with the Id \"{notFoundId}\" was not found",
446
442
  "updatingFailed": "Updating the Auditable Item Graph vertex failed",
447
443
  "queryingFailed": "Querying the Auditable Item Graph failed",
448
- "removeVerifiableFailed": "Removing the verifiable data the Auditable Item Graph vertex failed",
444
+ "removeProofFailed": "Removing the proof from the Auditable Item Graph vertex failed",
449
445
  "vertexNotFound": "The vertex with the Id \"{notFoundId}\" was not found",
450
446
  "changesetNotFound": "The changeset with the Id \"{notFoundId}\" was not found",
451
447
  "resourceIdMissing": "You must provide either the id, or the resourceObject must contain an id property for index \"{index}\"",
@@ -453,9 +449,6 @@
453
449
  "invalidEdgeId": "The edge id \"{edgeId}\" is not valid",
454
450
  "listPatchInvalidFormat": "The property \"{property}\" must be a list patch object with add and/or remove, not a bare array"
455
451
  },
456
- "auditableItemStreamRestClient": {
457
- "notSupportedOnClient": "The method \"{methodName}\" is not supported on the REST client, it can only be used on a server side component"
458
- },
459
452
  "auditableItemStreamService": {
460
453
  "namespaceMismatch": "The namespace in the urn \"{id}\" does not match the namespace of the Auditable Item Stream service \"{namespace}\"",
461
454
  "createFailed": "Creating the Auditable Item Stream failed",
@@ -471,7 +464,7 @@
471
464
  "removingEntryFailed": "Removing entry from the Auditable Item Stream failed",
472
465
  "gettingEntriesFailed": "Getting entries from the Auditable Item Stream failed",
473
466
  "gettingEntryObjectsFailed": "Getting entry objects from the Auditable Item Stream failed",
474
- "removeVerifiableFailed": "Removing verifiable storage from the Auditable Item Stream failed",
467
+ "removeProofFailed": "Removing proof from the Auditable Item Stream failed",
475
468
  "closedRequiresEntries": "A stream can only be created as closed when entries are provided",
476
469
  "streamClosed": "The stream with the Id \"{id}\" is closed and does not allow entry updates",
477
470
  "appendOnlyNoEntryUpdates": "Entries in append-only mode cannot be updated for stream \"{id}\"",
@@ -609,8 +602,11 @@
609
602
  "datasetHasNoOffers": "Dataset \"{datasetId}\" has no ODRL offers (odrl:hasPolicy). Cannot negotiate without an offer.",
610
603
  "datasetHasNoValidOffers": "Dataset \"{datasetId}\" has no valid ODRL offer objects. Cannot negotiate without a valid offer.",
611
604
  "offerNotFoundInDataset": "Offer \"{offerId}\" not found in dataset \"{datasetId}\". Available offers: {availableOffers}",
612
- "pnapNotConfigured": "Policy Negotiation Admin Point not configured. Cannot retrieve negotiation history without PNAP.",
613
605
  "negotiationCallbackError": "Negotiation callback \"{key}\" threw an error during {method} for negotiation {negotiationId}",
606
+ "transferCallbackError": "Transfer callback \"{key}\" threw an error during {method} for consumerPid {consumerPid}",
607
+ "transferRequestRejectedByProvider": "Provider rejected transfer request for agreement {agreementId} at {providerEndpoint} (code: {code})",
608
+ "providerPidMissingInResponse": "Provider accepted transfer request for {consumerPid} but returned no providerPid",
609
+ "unsupportedTransferFormat": "Transfer format \"{format}\" is not supported. Supported formats: {supported}",
614
610
  "catalogDatasetMissingId": "Catalog dataset is missing a required @id identifier",
615
611
  "providerIdentityMissing": "Provider identity (DID) is required to sign data access tokens but was not set on the Transfer Process",
616
612
  "callerNotAuthorizedForAgreement": "The caller's verified identity does not match the agreement assignee (consumer)",
@@ -626,7 +622,8 @@
626
622
  "datasetAlreadyExists": "A dataset with id \"{id}\" already exists.",
627
623
  "datasetNotFound": "Dataset not found",
628
624
  "datasetWrongTenant": "The calling tenant does not own this dataset.",
629
- "transferWrongTenant": "The calling tenant does not own this transfer."
625
+ "transferWrongTenant": "The calling tenant does not own this transfer.",
626
+ "invalidDatasetId": "Dataset ID \"{id}\" is not a valid URN or URL"
630
627
  },
631
628
  "dataspaceControlPlanePolicyRequester": {},
632
629
  "odrlPolicyHelper": {
@@ -662,7 +659,8 @@
662
659
  "pushSubscriptionNotFound": "Push subscription not found for consumerPid \"{notFoundId}\"",
663
660
  "pushActivityNotAuthorized": "Unauthorized push activity — no matching STARTED transfer found for the activity generator",
664
661
  "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"
662
+ "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",
663
+ "activitySemanticError": "Activity could not be processed due to a semantic error in the provided Activity"
666
664
  },
667
665
  "dataspaceDataPlaneSocketClient": {
668
666
  "socketConnect": "Failure during socket connect",
@@ -999,14 +997,12 @@
999
997
  "removeFailed": "Removing the identity profile failed \"{identity}\"",
1000
998
  "listFailed": "Failed listing identities"
1001
999
  },
1002
- "immutableProofRestClient": {
1003
- "notSupportedOnClient": "The method \"{methodName}\" is not supported on the REST client, it can only be used on a server side component"
1004
- },
1005
1000
  "immutableProofService": {
1006
1001
  "namespaceMismatch": "The namespace in the urn \"{id}\" does not match the namespace of the Immutable Proof service \"{namespace}\"",
1007
1002
  "createFailed": "Creating the proof failed",
1008
1003
  "getFailed": "Getting the proof failed",
1009
1004
  "verifyFailed": "Verifying the proof failed",
1005
+ "removeFailed": "Removing the Immutable Proof failed",
1010
1006
  "removeNotarizationFailed": "Removing notarization entry from the Immutable Proof failed",
1011
1007
  "proofNotFound": "The proof with the Id \"{notFoundId}\" was not found",
1012
1008
  "createProofFailed": "Creating the immutable proof failed"
@@ -1143,6 +1139,7 @@
1143
1139
  },
1144
1140
  "policyAdministrationPointService": {
1145
1141
  "namespaceMismatch": "The namespace in the urn \"{id}\" does not match the namespace of the rights management components \"{namespace}\"",
1142
+ "policyAlreadyExists": "A policy with id: \"{existingId}\" already exists",
1146
1143
  "policyNotFound": "Policy not found with id: \"{notFoundId}\"",
1147
1144
  "agreementNotFound": "Agreement not found with id: \"{notFoundId}\"",
1148
1145
  "agreementTypeMismatch": "The policy with id: \"{agreementId}\" is not of type Agreement, it is of type: \"{type}\".",
@@ -1210,7 +1207,7 @@
1210
1207
  "callerNotAuthorizedForNegotiation": "The caller's verified identity does not match any authorized party in this negotiation"
1211
1208
  },
1212
1209
  "policyNegotiationAdminPointService": {
1213
- "policyNotFound": "Policy with id: \"{notFoundId}\" not found",
1210
+ "policyNotFound": "Contract negotiation with id: \"{notFoundId}\" not found",
1214
1211
  "cleanupFailed": "Failed to cleanup old negotiations"
1215
1212
  },
1216
1213
  "policyExecutionPointService": {
@@ -2130,7 +2127,9 @@
2130
2127
  "getNegotiationHistory": "Retrieving negotiation history",
2131
2128
  "negotiationHistoryRetrieved": "Negotiation history retrieved successfully",
2132
2129
  "stalledNegotiationsCleanupComplete": "Stalled negotiations cleanup completed (cleanedUp: {cleanedUp})",
2133
- "pushTransferStarted": "PUSH transfer started (consumerPid: {consumerPid}, providerPid: {providerPid}, endpoint: {endpoint})"
2130
+ "pushTransferStarted": "PUSH transfer started (consumerPid: {consumerPid}, providerPid: {providerPid}, endpoint: {endpoint})",
2131
+ "startingDataTransfer": "Starting consumer-initiated data transfer (agreementId: {agreementId}, providerEndpoint: {providerEndpoint}, format: {format})",
2132
+ "dataTransferStarted": "Consumer data transfer started successfully (consumerPid: {consumerPid}, providerPid: {providerPid}, agreementId: {agreementId}, format: {format})"
2134
2133
  },
2135
2134
  "dataspaceControlPlanePolicyRequester": {
2136
2135
  "offerReceived": "Offer received from provider (negotiationId: {negotiationId}, offerId: {offerId})",
package/docs/changelog.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.0.3-next.44](https://github.com/iotaledger/twin-node/compare/node-v0.0.3-next.43...node-v0.0.3-next.44) (2026-06-02)
4
+
5
+
6
+ ### Features
7
+
8
+ * new tenant auth mechanisms ([#168](https://github.com/iotaledger/twin-node/issues/168)) ([686f111](https://github.com/iotaledger/twin-node/commit/686f1118e79e6f26a8dc72a5e9172584057f4518))
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.43 to 0.0.3-next.44
16
+
17
+ ## [0.0.3-next.43](https://github.com/iotaledger/twin-node/compare/node-v0.0.3-next.42...node-v0.0.3-next.43) (2026-05-28)
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.42 to 0.0.3-next.43
30
+
3
31
  ## [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
32
 
5
33
 
@@ -136,6 +136,11 @@
136
136
  "tags": [
137
137
  "Health"
138
138
  ],
139
+ "security": [
140
+ {
141
+ "jwtBearerAuthScheme": []
142
+ }
143
+ ],
139
144
  "responses": {
140
145
  "200": {
141
146
  "description": "The health of the server.",
@@ -220,6 +225,24 @@
220
225
  }
221
226
  }
222
227
  },
228
+ "401": {
229
+ "description": "You are not authorized to use the API or no credentials were supplied, see the content for more details.",
230
+ "content": {
231
+ "application/json": {
232
+ "schema": {
233
+ "$ref": "#/components/schemas/Error"
234
+ },
235
+ "examples": {
236
+ "exampleResponse": {
237
+ "value": {
238
+ "name": "UnauthorizedError",
239
+ "message": "errorMessage"
240
+ }
241
+ }
242
+ }
243
+ }
244
+ }
245
+ },
223
246
  "500": {
224
247
  "description": "The server has encountered a situation it does not know how to handle, see the content for more details.",
225
248
  "content": {
@@ -709,6 +732,11 @@
709
732
  "tags": [
710
733
  "Authentication"
711
734
  ],
735
+ "security": [
736
+ {
737
+ "jwtBearerAuthScheme": []
738
+ }
739
+ ],
712
740
  "requestBody": {
713
741
  "description": "Perform a logout on the auth token.",
714
742
  "required": true,
@@ -753,6 +781,24 @@
753
781
  }
754
782
  }
755
783
  },
784
+ "401": {
785
+ "description": "You are not authorized to use the API or no credentials were supplied, see the content for more details.",
786
+ "content": {
787
+ "application/json": {
788
+ "schema": {
789
+ "$ref": "#/components/schemas/Error"
790
+ },
791
+ "examples": {
792
+ "exampleResponse": {
793
+ "value": {
794
+ "name": "UnauthorizedError",
795
+ "message": "errorMessage"
796
+ }
797
+ }
798
+ }
799
+ }
800
+ }
801
+ },
756
802
  "500": {
757
803
  "description": "The server has encountered a situation it does not know how to handle, see the content for more details.",
758
804
  "content": {
@@ -1930,6 +1976,11 @@
1930
1976
  "example": "did:iota:tst:0xe3088ba9aa8c28e1d139708a14e8c0fdff11ee8223baac4aa5bcf3321e4bfc6a"
1931
1977
  }
1932
1978
  ],
1979
+ "security": [
1980
+ {
1981
+ "jwtBearerAuthScheme": []
1982
+ }
1983
+ ],
1933
1984
  "responses": {
1934
1985
  "200": {
1935
1986
  "description": "Response to resolving an identity.",
@@ -1977,6 +2028,24 @@
1977
2028
  }
1978
2029
  }
1979
2030
  },
2031
+ "401": {
2032
+ "description": "You are not authorized to use the API or no credentials were supplied, see the content for more details.",
2033
+ "content": {
2034
+ "application/json": {
2035
+ "schema": {
2036
+ "$ref": "#/components/schemas/Error"
2037
+ },
2038
+ "examples": {
2039
+ "exampleResponse": {
2040
+ "value": {
2041
+ "name": "UnauthorizedError",
2042
+ "message": "errorMessage"
2043
+ }
2044
+ }
2045
+ }
2046
+ }
2047
+ }
2048
+ },
1980
2049
  "500": {
1981
2050
  "description": "The server has encountered a situation it does not know how to handle, see the content for more details.",
1982
2051
  "content": {
@@ -3025,6 +3094,11 @@
3025
3094
  "tags": [
3026
3095
  "Identity"
3027
3096
  ],
3097
+ "security": [
3098
+ {
3099
+ "jwtBearerAuthScheme": []
3100
+ }
3101
+ ],
3028
3102
  "requestBody": {
3029
3103
  "description": "Request to verify a verifiable credential.",
3030
3104
  "required": true,
@@ -3123,6 +3197,24 @@
3123
3197
  }
3124
3198
  }
3125
3199
  },
3200
+ "401": {
3201
+ "description": "You are not authorized to use the API or no credentials were supplied, see the content for more details.",
3202
+ "content": {
3203
+ "application/json": {
3204
+ "schema": {
3205
+ "$ref": "#/components/schemas/Error"
3206
+ },
3207
+ "examples": {
3208
+ "exampleResponse": {
3209
+ "value": {
3210
+ "name": "UnauthorizedError",
3211
+ "message": "errorMessage"
3212
+ }
3213
+ }
3214
+ }
3215
+ }
3216
+ }
3217
+ },
3126
3218
  "500": {
3127
3219
  "description": "The server has encountered a situation it does not know how to handle, see the content for more details.",
3128
3220
  "content": {
@@ -3163,6 +3255,11 @@
3163
3255
  "example": "eyJraWQiOi...D1Z3AQ"
3164
3256
  }
3165
3257
  ],
3258
+ "security": [
3259
+ {
3260
+ "jwtBearerAuthScheme": []
3261
+ }
3262
+ ],
3166
3263
  "responses": {
3167
3264
  "200": {
3168
3265
  "description": "Response to verifying a verifiable credential.",
@@ -3224,6 +3321,24 @@
3224
3321
  }
3225
3322
  }
3226
3323
  },
3324
+ "401": {
3325
+ "description": "You are not authorized to use the API or no credentials were supplied, see the content for more details.",
3326
+ "content": {
3327
+ "application/json": {
3328
+ "schema": {
3329
+ "$ref": "#/components/schemas/Error"
3330
+ },
3331
+ "examples": {
3332
+ "exampleResponse": {
3333
+ "value": {
3334
+ "name": "UnauthorizedError",
3335
+ "message": "errorMessage"
3336
+ }
3337
+ }
3338
+ }
3339
+ }
3340
+ }
3341
+ },
3227
3342
  "500": {
3228
3343
  "description": "The server has encountered a situation it does not know how to handle, see the content for more details.",
3229
3344
  "content": {
@@ -3602,6 +3717,11 @@
3602
3717
  "tags": [
3603
3718
  "Identity"
3604
3719
  ],
3720
+ "security": [
3721
+ {
3722
+ "jwtBearerAuthScheme": []
3723
+ }
3724
+ ],
3605
3725
  "requestBody": {
3606
3726
  "description": "Request to verify a verifiable presentation.",
3607
3727
  "required": true,
@@ -3706,6 +3826,24 @@
3706
3826
  }
3707
3827
  }
3708
3828
  },
3829
+ "401": {
3830
+ "description": "You are not authorized to use the API or no credentials were supplied, see the content for more details.",
3831
+ "content": {
3832
+ "application/json": {
3833
+ "schema": {
3834
+ "$ref": "#/components/schemas/Error"
3835
+ },
3836
+ "examples": {
3837
+ "exampleResponse": {
3838
+ "value": {
3839
+ "name": "UnauthorizedError",
3840
+ "message": "errorMessage"
3841
+ }
3842
+ }
3843
+ }
3844
+ }
3845
+ }
3846
+ },
3709
3847
  "500": {
3710
3848
  "description": "The server has encountered a situation it does not know how to handle, see the content for more details.",
3711
3849
  "content": {
@@ -3746,6 +3884,11 @@
3746
3884
  "example": "eyJraWQiOi...D1Z3AQ"
3747
3885
  }
3748
3886
  ],
3887
+ "security": [
3888
+ {
3889
+ "jwtBearerAuthScheme": []
3890
+ }
3891
+ ],
3749
3892
  "responses": {
3750
3893
  "200": {
3751
3894
  "description": "Response to verifying a verifiable presentation.",
@@ -3800,6 +3943,24 @@
3800
3943
  }
3801
3944
  }
3802
3945
  },
3946
+ "401": {
3947
+ "description": "You are not authorized to use the API or no credentials were supplied, see the content for more details.",
3948
+ "content": {
3949
+ "application/json": {
3950
+ "schema": {
3951
+ "$ref": "#/components/schemas/Error"
3952
+ },
3953
+ "examples": {
3954
+ "exampleResponse": {
3955
+ "value": {
3956
+ "name": "UnauthorizedError",
3957
+ "message": "errorMessage"
3958
+ }
3959
+ }
3960
+ }
3961
+ }
3962
+ }
3963
+ },
3803
3964
  "500": {
3804
3965
  "description": "The server has encountered a situation it does not know how to handle, see the content for more details.",
3805
3966
  "content": {
@@ -3988,6 +4149,11 @@
3988
4149
  "tags": [
3989
4150
  "Identity"
3990
4151
  ],
4152
+ "security": [
4153
+ {
4154
+ "jwtBearerAuthScheme": []
4155
+ }
4156
+ ],
3991
4157
  "requestBody": {
3992
4158
  "description": "Request to verify a proof.",
3993
4159
  "required": true,
@@ -4072,6 +4238,24 @@
4072
4238
  }
4073
4239
  }
4074
4240
  },
4241
+ "401": {
4242
+ "description": "You are not authorized to use the API or no credentials were supplied, see the content for more details.",
4243
+ "content": {
4244
+ "application/json": {
4245
+ "schema": {
4246
+ "$ref": "#/components/schemas/Error"
4247
+ },
4248
+ "examples": {
4249
+ "exampleResponse": {
4250
+ "value": {
4251
+ "name": "UnauthorizedError",
4252
+ "message": "errorMessage"
4253
+ }
4254
+ }
4255
+ }
4256
+ }
4257
+ }
4258
+ },
4075
4259
  "500": {
4076
4260
  "description": "The server has encountered a situation it does not know how to handle, see the content for more details.",
4077
4261
  "content": {
@@ -4606,6 +4790,11 @@
4606
4790
  "example": "role,email,name"
4607
4791
  }
4608
4792
  ],
4793
+ "security": [
4794
+ {
4795
+ "jwtBearerAuthScheme": []
4796
+ }
4797
+ ],
4609
4798
  "responses": {
4610
4799
  "200": {
4611
4800
  "description": "Response to get an identity public profile.",
@@ -4656,6 +4845,24 @@
4656
4845
  }
4657
4846
  }
4658
4847
  },
4848
+ "401": {
4849
+ "description": "You are not authorized to use the API or no credentials were supplied, see the content for more details.",
4850
+ "content": {
4851
+ "application/json": {
4852
+ "schema": {
4853
+ "$ref": "#/components/schemas/Error"
4854
+ },
4855
+ "examples": {
4856
+ "exampleResponse": {
4857
+ "value": {
4858
+ "name": "UnauthorizedError",
4859
+ "message": "errorMessage"
4860
+ }
4861
+ }
4862
+ }
4863
+ }
4864
+ }
4865
+ },
4659
4866
  "404": {
4660
4867
  "description": "The resource you tried to access does not exist, see the content for more details.",
4661
4868
  "content": {
@@ -8623,6 +8830,11 @@
8623
8830
  "style": "simple"
8624
8831
  }
8625
8832
  ],
8833
+ "security": [
8834
+ {
8835
+ "jwtBearerAuthScheme": []
8836
+ }
8837
+ ],
8626
8838
  "responses": {
8627
8839
  "200": {
8628
8840
  "description": "The response to verifying the attestation.",
@@ -8766,6 +8978,24 @@
8766
8978
  }
8767
8979
  }
8768
8980
  },
8981
+ "401": {
8982
+ "description": "You are not authorized to use the API or no credentials were supplied, see the content for more details.",
8983
+ "content": {
8984
+ "application/json": {
8985
+ "schema": {
8986
+ "$ref": "#/components/schemas/Error"
8987
+ },
8988
+ "examples": {
8989
+ "exampleResponse": {
8990
+ "value": {
8991
+ "name": "UnauthorizedError",
8992
+ "message": "errorMessage"
8993
+ }
8994
+ }
8995
+ }
8996
+ }
8997
+ }
8998
+ },
8769
8999
  "500": {
8770
9000
  "description": "The server has encountered a situation it does not know how to handle, see the content for more details.",
8771
9001
  "content": {
@@ -9596,7 +9826,7 @@
9596
9826
  "content": {
9597
9827
  "application/json": {
9598
9828
  "schema": {
9599
- "$ref": "https://schema.twindev.org/w3c-did/DidVerifiableCredential"
9829
+ "$ref": "https://schema.twindev.org/immutable-proof/ImmutableProofCredential"
9600
9830
  },
9601
9831
  "examples": {
9602
9832
  "immutableProofGetResponseExample": {
@@ -9630,7 +9860,7 @@
9630
9860
  },
9631
9861
  "application/ld+json": {
9632
9862
  "schema": {
9633
- "$ref": "https://schema.twindev.org/w3c-did/DidVerifiableCredential"
9863
+ "$ref": "https://schema.twindev.org/immutable-proof/ImmutableProofCredential"
9634
9864
  },
9635
9865
  "examples": {
9636
9866
  "immutableProofJsonLdGetResponseExample": {
@@ -9751,6 +9981,114 @@
9751
9981
  }
9752
9982
  }
9753
9983
  }
9984
+ },
9985
+ "delete": {
9986
+ "operationId": "immutableProofRemove",
9987
+ "summary": "Remove a proof",
9988
+ "tags": [
9989
+ "Immutable Proof"
9990
+ ],
9991
+ "parameters": [
9992
+ {
9993
+ "name": "id",
9994
+ "description": "The id of the immutable proof to remove.",
9995
+ "in": "path",
9996
+ "required": true,
9997
+ "schema": {
9998
+ "type": "string"
9999
+ },
10000
+ "style": "simple",
10001
+ "example": "immutable-proof:1234567890"
10002
+ }
10003
+ ],
10004
+ "security": [
10005
+ {
10006
+ "jwtBearerAuthScheme": []
10007
+ }
10008
+ ],
10009
+ "responses": {
10010
+ "204": {
10011
+ "description": "The rest request ended in success with no data."
10012
+ },
10013
+ "400": {
10014
+ "description": "The server cannot process the request, see the content for more details.",
10015
+ "content": {
10016
+ "application/json": {
10017
+ "schema": {
10018
+ "$ref": "#/components/schemas/Error"
10019
+ },
10020
+ "examples": {
10021
+ "exampleResponse": {
10022
+ "value": {
10023
+ "name": "GeneralError",
10024
+ "message": "errorMessage",
10025
+ "properties": {
10026
+ "foo": "bar"
10027
+ }
10028
+ }
10029
+ }
10030
+ }
10031
+ }
10032
+ }
10033
+ },
10034
+ "401": {
10035
+ "description": "You are not authorized to use the API or no credentials were supplied, see the content for more details.",
10036
+ "content": {
10037
+ "application/json": {
10038
+ "schema": {
10039
+ "$ref": "#/components/schemas/Error"
10040
+ },
10041
+ "examples": {
10042
+ "exampleResponse": {
10043
+ "value": {
10044
+ "name": "UnauthorizedError",
10045
+ "message": "errorMessage"
10046
+ }
10047
+ }
10048
+ }
10049
+ }
10050
+ }
10051
+ },
10052
+ "404": {
10053
+ "description": "The resource you tried to access does not exist, see the content for more details.",
10054
+ "content": {
10055
+ "application/json": {
10056
+ "schema": {
10057
+ "$ref": "#/components/schemas/NotFoundResponse"
10058
+ },
10059
+ "examples": {
10060
+ "exampleResponse": {
10061
+ "value": {
10062
+ "name": "NotFoundError",
10063
+ "message": "errorMessage",
10064
+ "properties": {
10065
+ "notFoundId": "1"
10066
+ }
10067
+ }
10068
+ }
10069
+ }
10070
+ }
10071
+ }
10072
+ },
10073
+ "500": {
10074
+ "description": "The server has encountered a situation it does not know how to handle, see the content for more details.",
10075
+ "content": {
10076
+ "application/json": {
10077
+ "schema": {
10078
+ "$ref": "#/components/schemas/Error"
10079
+ },
10080
+ "examples": {
10081
+ "exampleResponse": {
10082
+ "value": {
10083
+ "name": "InternalServerError",
10084
+ "message": "errorMessage"
10085
+ }
10086
+ }
10087
+ }
10088
+ }
10089
+ }
10090
+ }
10091
+ }
9754
10092
  }
9755
10093
  },
9756
10094
  "/immutable-proof/{id}/verify": {
@@ -9896,6 +10234,116 @@
9896
10234
  }
9897
10235
  }
9898
10236
  },
10237
+ "/immutable-proof/{id}/notarization": {
10238
+ "delete": {
10239
+ "operationId": "immutableProofRemoveNotarization",
10240
+ "summary": "Remove the notarization for a proof",
10241
+ "tags": [
10242
+ "Immutable Proof"
10243
+ ],
10244
+ "parameters": [
10245
+ {
10246
+ "name": "id",
10247
+ "description": "The id of the immutable proof to remove the notarization from.",
10248
+ "in": "path",
10249
+ "required": true,
10250
+ "schema": {
10251
+ "type": "string"
10252
+ },
10253
+ "style": "simple",
10254
+ "example": "immutable-proof:1234567890"
10255
+ }
10256
+ ],
10257
+ "security": [
10258
+ {
10259
+ "jwtBearerAuthScheme": []
10260
+ }
10261
+ ],
10262
+ "responses": {
10263
+ "204": {
10264
+ "description": "The rest request ended in success with no data."
10265
+ },
10266
+ "400": {
10267
+ "description": "The server cannot process the request, see the content for more details.",
10268
+ "content": {
10269
+ "application/json": {
10270
+ "schema": {
10271
+ "$ref": "#/components/schemas/Error"
10272
+ },
10273
+ "examples": {
10274
+ "exampleResponse": {
10275
+ "value": {
10276
+ "name": "GeneralError",
10277
+ "message": "errorMessage",
10278
+ "properties": {
10279
+ "foo": "bar"
10280
+ }
10281
+ }
10282
+ }
10283
+ }
10284
+ }
10285
+ }
10286
+ },
10287
+ "401": {
10288
+ "description": "You are not authorized to use the API or no credentials were supplied, see the content for more details.",
10289
+ "content": {
10290
+ "application/json": {
10291
+ "schema": {
10292
+ "$ref": "#/components/schemas/Error"
10293
+ },
10294
+ "examples": {
10295
+ "exampleResponse": {
10296
+ "value": {
10297
+ "name": "UnauthorizedError",
10298
+ "message": "errorMessage"
10299
+ }
10300
+ }
10301
+ }
10302
+ }
10303
+ }
10304
+ },
10305
+ "404": {
10306
+ "description": "The resource you tried to access does not exist, see the content for more details.",
10307
+ "content": {
10308
+ "application/json": {
10309
+ "schema": {
10310
+ "$ref": "#/components/schemas/NotFoundResponse"
10311
+ },
10312
+ "examples": {
10313
+ "exampleResponse": {
10314
+ "value": {
10315
+ "name": "NotFoundError",
10316
+ "message": "errorMessage",
10317
+ "properties": {
10318
+ "notFoundId": "1"
10319
+ }
10320
+ }
10321
+ }
10322
+ }
10323
+ }
10324
+ }
10325
+ },
10326
+ "500": {
10327
+ "description": "The server has encountered a situation it does not know how to handle, see the content for more details.",
10328
+ "content": {
10329
+ "application/json": {
10330
+ "schema": {
10331
+ "$ref": "#/components/schemas/Error"
10332
+ },
10333
+ "examples": {
10334
+ "exampleResponse": {
10335
+ "value": {
10336
+ "name": "InternalServerError",
10337
+ "message": "errorMessage"
10338
+ }
10339
+ }
10340
+ }
10341
+ }
10342
+ }
10343
+ }
10344
+ }
10345
+ }
10346
+ },
9899
10347
  "/data-processing/rule-group/{id}": {
9900
10348
  "put": {
9901
10349
  "operationId": "dataProcessingSetRuleGroup",
@@ -16320,7 +16768,7 @@
16320
16768
  "content": {
16321
16769
  "application/json": {
16322
16770
  "schema": {
16323
- "$ref": "#/components/schemas/ActivityLogEntry"
16771
+ "$ref": "#/components/schemas/ActivityLogEntryWithError"
16324
16772
  }
16325
16773
  }
16326
16774
  }
@@ -16346,24 +16794,6 @@
16346
16794
  }
16347
16795
  }
16348
16796
  },
16349
- "422": {
16350
- "description": "The server cannot process the request, see the content for more details.",
16351
- "content": {
16352
- "application/json": {
16353
- "schema": {
16354
- "$ref": "#/components/schemas/Error"
16355
- },
16356
- "examples": {
16357
- "exampleResponse": {
16358
- "value": {
16359
- "name": "UnprocessableError",
16360
- "message": "errorMessage"
16361
- }
16362
- }
16363
- }
16364
- }
16365
- }
16366
- },
16367
16797
  "500": {
16368
16798
  "description": "The server has encountered a situation it does not know how to handle, see the content for more details.",
16369
16799
  "content": {
@@ -20366,6 +20796,20 @@
20366
20796
  }
20367
20797
  ]
20368
20798
  },
20799
+ "ActivityLogEntryWithError": {
20800
+ "description": "Activity log entry extended with a top-level RFC 9457 error field.\nReturned as the response body for 422/500 inline-processing failures.",
20801
+ "type": "object",
20802
+ "properties": {
20803
+ "error": {
20804
+ "$ref": "#/components/schemas/Error"
20805
+ }
20806
+ },
20807
+ "allOf": [
20808
+ {
20809
+ "$ref": "#/components/schemas/ActivityLogEntry"
20810
+ }
20811
+ ]
20812
+ },
20369
20813
  "ActivityProcessingStatus": {
20370
20814
  "description": "The type exported.",
20371
20815
  "anyOf": [
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@twin.org/node",
3
- "version": "0.0.3-next.42",
3
+ "version": "0.0.3-next.44",
4
4
  "description": "TWIN Node serving APIs using the specified configuration",
5
5
  "repository": {
6
6
  "type": "git",
7
- "url": "git+https://github.com/iotaledger/node.git",
7
+ "url": "git+https://github.com/iotaledger/twin-node.git",
8
8
  "directory": "apps/node"
9
9
  },
10
10
  "author": "martyn.janes@iota.org",
@@ -14,10 +14,10 @@
14
14
  "node": ">=20.0.0"
15
15
  },
16
16
  "dependencies": {
17
- "@twin.org/node-core": "0.0.3-next.42"
17
+ "@twin.org/node-core": "0.0.3-next.44"
18
18
  },
19
19
  "bugs": {
20
- "url": "git+https://github.com/iotaledger/node/issues"
20
+ "url": "git+https://github.com/iotaledger/twin-node/issues"
21
21
  },
22
22
  "homepage": "https://twindev.org",
23
23
  "main": "./src/index.js",