@twin.org/node 0.0.3-next.38 → 0.0.3-next.40
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.
- package/dist/locales/en.json +14 -4
- package/docs/changelog.md +28 -0
- package/docs/open-api/spec.json +174 -113
- package/package.json +2 -2
package/dist/locales/en.json
CHANGED
|
@@ -42,7 +42,11 @@
|
|
|
42
42
|
},
|
|
43
43
|
"userCreate": {
|
|
44
44
|
"passwordTooShort": "The password provided is too short, it must be at least {minLength} characters long.",
|
|
45
|
-
"userAlreadyExists": "The user with ID already exists and overwriteMode is set to \"error\"."
|
|
45
|
+
"userAlreadyExists": "The user with ID already exists and overwriteMode is set to \"error\".",
|
|
46
|
+
"tenantIdRequired": "The tenant ID is required when multi-tenancy is enabled."
|
|
47
|
+
},
|
|
48
|
+
"userUpdate": {
|
|
49
|
+
"tenantIdRequired": "The tenant ID is required when multi-tenancy is enabled."
|
|
46
50
|
},
|
|
47
51
|
"vaultKeyCreate": {
|
|
48
52
|
"vaultKeyAlreadyExists": "The vault key with ID already exists and overwriteMode is set to \"error\"."
|
|
@@ -409,6 +413,9 @@
|
|
|
409
413
|
"verificationMethodNotFound": "The verification method \"{methodName}\" of type \"{methodType}\" could not be found",
|
|
410
414
|
"verificationMethodJwkNotFound": "The verification method \"{methodName}\" of type \"{methodType}\" is missing the JWK"
|
|
411
415
|
},
|
|
416
|
+
"silentTelemetryConnector": {
|
|
417
|
+
"notSupported": "The method \"{methodName}\" is not supported on silent telemetry connector."
|
|
418
|
+
},
|
|
412
419
|
"attestationService": {
|
|
413
420
|
"noConnectors": "There are no connectors registered with the attestation factory",
|
|
414
421
|
"attestFailed": "The attestation of the data failed",
|
|
@@ -417,9 +424,6 @@
|
|
|
417
424
|
"destroyFailed": "The destruction of the attestation failed",
|
|
418
425
|
"namespaceMismatch": "The namespace in the urn \"{id}\" does not match the namespace of the attestation service \"{namespace}\""
|
|
419
426
|
},
|
|
420
|
-
"silentTelemetryConnector": {
|
|
421
|
-
"notSupported": "The method \"{methodName}\" is not supported on silent telemetry connector."
|
|
422
|
-
},
|
|
423
427
|
"auditableItemGraphRestClient": {
|
|
424
428
|
"notSupportedOnClient": "The method \"{methodName}\" is not supported on the REST client, it can only be used on a server side component"
|
|
425
429
|
},
|
|
@@ -1749,6 +1753,9 @@
|
|
|
1749
1753
|
"organization-identity": {
|
|
1750
1754
|
"description": "The organization DID to associate the user with."
|
|
1751
1755
|
},
|
|
1756
|
+
"tenant-id": {
|
|
1757
|
+
"description": "The tenant ID to associate the user with."
|
|
1758
|
+
},
|
|
1752
1759
|
"email": {
|
|
1753
1760
|
"description": "The email address of the user."
|
|
1754
1761
|
},
|
|
@@ -1804,6 +1811,9 @@
|
|
|
1804
1811
|
"organization-identity": {
|
|
1805
1812
|
"description": "The organization DID to associate the user with."
|
|
1806
1813
|
},
|
|
1814
|
+
"tenant-id": {
|
|
1815
|
+
"description": "The tenant ID to associate the user with."
|
|
1816
|
+
},
|
|
1807
1817
|
"email": {
|
|
1808
1818
|
"description": "The email address of the user."
|
|
1809
1819
|
},
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [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
|
+
|
|
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.39 to 0.0.3-next.40
|
|
16
|
+
|
|
17
|
+
## [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)
|
|
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.38 to 0.0.3-next.39
|
|
30
|
+
|
|
3
31
|
## [0.0.3-next.38](https://github.com/iotaledger/twin-node/compare/node-v0.0.3-next.37...node-v0.0.3-next.38) (2026-05-20)
|
|
4
32
|
|
|
5
33
|
|
package/docs/open-api/spec.json
CHANGED
|
@@ -1224,7 +1224,7 @@
|
|
|
1224
1224
|
"content": {
|
|
1225
1225
|
"application/json": {
|
|
1226
1226
|
"schema": {
|
|
1227
|
-
"$ref": "#/components/schemas/
|
|
1227
|
+
"$ref": "#/components/schemas/AuthenticationUser"
|
|
1228
1228
|
},
|
|
1229
1229
|
"examples": {
|
|
1230
1230
|
"getUserResponseExample": {
|
|
@@ -1529,7 +1529,7 @@
|
|
|
1529
1529
|
"content": {
|
|
1530
1530
|
"application/json": {
|
|
1531
1531
|
"schema": {
|
|
1532
|
-
"$ref": "#/components/schemas/
|
|
1532
|
+
"$ref": "#/components/schemas/AuthenticationUser"
|
|
1533
1533
|
},
|
|
1534
1534
|
"examples": {
|
|
1535
1535
|
"getUserResponseExample": {
|
|
@@ -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/
|
|
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/
|
|
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/{
|
|
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": "
|
|
12277
|
-
"description": "The
|
|
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": "
|
|
12279
|
+
"example": "1"
|
|
12285
12280
|
},
|
|
12286
12281
|
{
|
|
12287
12282
|
"name": "accept",
|
|
@@ -12459,9 +12454,18 @@
|
|
|
12459
12454
|
"AuditableItemGraphVertexVersionList"
|
|
12460
12455
|
],
|
|
12461
12456
|
"itemListElement": [
|
|
12462
|
-
|
|
12463
|
-
|
|
12464
|
-
|
|
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
|
}
|
|
@@ -20358,71 +20362,21 @@
|
|
|
20358
20362
|
]
|
|
20359
20363
|
},
|
|
20360
20364
|
"AdminUserCreateRequest": {
|
|
20361
|
-
"description": "The body of the request.",
|
|
20362
20365
|
"type": "object",
|
|
20363
20366
|
"properties": {
|
|
20364
|
-
"email": {
|
|
20365
|
-
"type": "string",
|
|
20366
|
-
"description": "The user e-mail address."
|
|
20367
|
-
},
|
|
20368
20367
|
"password": {
|
|
20369
|
-
"type": "string"
|
|
20370
|
-
"description": "The encrypted password for the user."
|
|
20371
|
-
},
|
|
20372
|
-
"userIdentity": {
|
|
20373
|
-
"type": "string",
|
|
20374
|
-
"description": "The user identity."
|
|
20375
|
-
},
|
|
20376
|
-
"organizationIdentity": {
|
|
20377
|
-
"type": "string",
|
|
20378
|
-
"description": "The users organization."
|
|
20379
|
-
},
|
|
20380
|
-
"scope": {
|
|
20381
|
-
"type": "array",
|
|
20382
|
-
"items": {
|
|
20383
|
-
"type": "string"
|
|
20384
|
-
},
|
|
20385
|
-
"description": "The scope assigned to the user, comma separated."
|
|
20368
|
+
"type": "string"
|
|
20386
20369
|
}
|
|
20387
20370
|
},
|
|
20388
20371
|
"required": [
|
|
20389
|
-
"
|
|
20390
|
-
|
|
20391
|
-
|
|
20392
|
-
|
|
20393
|
-
|
|
20394
|
-
]
|
|
20395
|
-
},
|
|
20396
|
-
"AdminUserGetResponse": {
|
|
20397
|
-
"description": "The body of the request.",
|
|
20398
|
-
"type": "object",
|
|
20399
|
-
"properties": {
|
|
20400
|
-
"email": {
|
|
20401
|
-
"type": "string",
|
|
20402
|
-
"description": "The user e-mail address."
|
|
20403
|
-
},
|
|
20404
|
-
"userIdentity": {
|
|
20405
|
-
"type": "string",
|
|
20406
|
-
"description": "The user identity."
|
|
20407
|
-
},
|
|
20408
|
-
"organizationIdentity": {
|
|
20409
|
-
"type": "string",
|
|
20410
|
-
"description": "The users organization."
|
|
20411
|
-
},
|
|
20412
|
-
"scope": {
|
|
20413
|
-
"type": "array",
|
|
20414
|
-
"items": {
|
|
20415
|
-
"type": "string"
|
|
20416
|
-
},
|
|
20417
|
-
"description": "The scope assigned to the user, comma separated."
|
|
20372
|
+
"password"
|
|
20373
|
+
],
|
|
20374
|
+
"allOf": [
|
|
20375
|
+
{
|
|
20376
|
+
"$ref": "#/components/schemas/AuthenticationUser"
|
|
20418
20377
|
}
|
|
20419
|
-
|
|
20420
|
-
"
|
|
20421
|
-
"email",
|
|
20422
|
-
"userIdentity",
|
|
20423
|
-
"organizationIdentity",
|
|
20424
|
-
"scope"
|
|
20425
|
-
]
|
|
20378
|
+
],
|
|
20379
|
+
"description": "The body of the request."
|
|
20426
20380
|
},
|
|
20427
20381
|
"AdminUserUpdatePasswordRequest": {
|
|
20428
20382
|
"type": "object",
|
|
@@ -20540,17 +20494,12 @@
|
|
|
20540
20494
|
"AttestationTransferRequest": {
|
|
20541
20495
|
"type": "object",
|
|
20542
20496
|
"properties": {
|
|
20543
|
-
"holderIdentity": {
|
|
20544
|
-
"type": "string",
|
|
20545
|
-
"description": "The new holder identity."
|
|
20546
|
-
},
|
|
20547
20497
|
"holderAddress": {
|
|
20548
20498
|
"type": "string",
|
|
20549
20499
|
"description": "The new holder address."
|
|
20550
20500
|
}
|
|
20551
20501
|
},
|
|
20552
20502
|
"required": [
|
|
20553
|
-
"holderIdentity",
|
|
20554
20503
|
"holderAddress"
|
|
20555
20504
|
],
|
|
20556
20505
|
"description": "The parameters to be used in the transfer."
|
|
@@ -20954,6 +20903,37 @@
|
|
|
20954
20903
|
"dateCreated"
|
|
20955
20904
|
]
|
|
20956
20905
|
},
|
|
20906
|
+
"AuthenticationUser": {
|
|
20907
|
+
"description": "Contract definition for authentication user.",
|
|
20908
|
+
"type": "object",
|
|
20909
|
+
"properties": {
|
|
20910
|
+
"email": {
|
|
20911
|
+
"type": "string",
|
|
20912
|
+
"description": "The user e-mail address."
|
|
20913
|
+
},
|
|
20914
|
+
"userIdentity": {
|
|
20915
|
+
"type": "string",
|
|
20916
|
+
"description": "The user identity."
|
|
20917
|
+
},
|
|
20918
|
+
"organizationIdentity": {
|
|
20919
|
+
"type": "string",
|
|
20920
|
+
"description": "The users organization."
|
|
20921
|
+
},
|
|
20922
|
+
"scope": {
|
|
20923
|
+
"type": "array",
|
|
20924
|
+
"items": {
|
|
20925
|
+
"type": "string"
|
|
20926
|
+
},
|
|
20927
|
+
"description": "The scope assigned to the user, comma separated."
|
|
20928
|
+
}
|
|
20929
|
+
},
|
|
20930
|
+
"required": [
|
|
20931
|
+
"email",
|
|
20932
|
+
"userIdentity",
|
|
20933
|
+
"organizationIdentity",
|
|
20934
|
+
"scope"
|
|
20935
|
+
]
|
|
20936
|
+
},
|
|
20957
20937
|
"AutomationActionCreateRequest": {
|
|
20958
20938
|
"description": "The body parameters for the request.",
|
|
20959
20939
|
"type": "object",
|
|
@@ -21744,6 +21724,20 @@
|
|
|
21744
21724
|
"expirationDate": {
|
|
21745
21725
|
"type": "string",
|
|
21746
21726
|
"description": "The date the verifiable credential is valid until."
|
|
21727
|
+
},
|
|
21728
|
+
"jwtHeaderFields": {
|
|
21729
|
+
"type": "object",
|
|
21730
|
+
"additionalProperties": {
|
|
21731
|
+
"type": "string"
|
|
21732
|
+
},
|
|
21733
|
+
"description": "Additional fields to include in the JWT when creating the verifiable credential in jwt format."
|
|
21734
|
+
},
|
|
21735
|
+
"jwtPayloadFields": {
|
|
21736
|
+
"type": "object",
|
|
21737
|
+
"additionalProperties": {
|
|
21738
|
+
"type": "string"
|
|
21739
|
+
},
|
|
21740
|
+
"description": "Additional fields to include in the JWT payload when creating the verifiable credential in jwt format."
|
|
21747
21741
|
}
|
|
21748
21742
|
},
|
|
21749
21743
|
"required": [
|
|
@@ -21825,6 +21819,20 @@
|
|
|
21825
21819
|
"expirationDate": {
|
|
21826
21820
|
"type": "string",
|
|
21827
21821
|
"description": "The expiration date/time for the presentation."
|
|
21822
|
+
},
|
|
21823
|
+
"jwtHeaderFields": {
|
|
21824
|
+
"type": "object",
|
|
21825
|
+
"additionalProperties": {
|
|
21826
|
+
"type": "string"
|
|
21827
|
+
},
|
|
21828
|
+
"description": "Additional fields to include in the JWT header when creating the verifiable presentation in jwt format."
|
|
21829
|
+
},
|
|
21830
|
+
"jwtPayloadFields": {
|
|
21831
|
+
"type": "object",
|
|
21832
|
+
"additionalProperties": {
|
|
21833
|
+
"type": "string"
|
|
21834
|
+
},
|
|
21835
|
+
"description": "Additional fields to include in the JWT payload when creating the verifiable presentation in jwt format."
|
|
21828
21836
|
}
|
|
21829
21837
|
},
|
|
21830
21838
|
"required": [
|
|
@@ -22142,32 +22150,16 @@
|
|
|
22142
22150
|
],
|
|
22143
22151
|
"description": "The body which contains the error."
|
|
22144
22152
|
},
|
|
22145
|
-
"
|
|
22146
|
-
"description": "Interface describing a notarization.",
|
|
22153
|
+
"NotarizationCreateRequest": {
|
|
22147
22154
|
"type": "object",
|
|
22148
22155
|
"properties": {
|
|
22149
|
-
"id": {
|
|
22150
|
-
"type": "string",
|
|
22151
|
-
"description": "The unique identifier of the notarization."
|
|
22152
|
-
},
|
|
22153
22156
|
"mode": {
|
|
22154
22157
|
"$ref": "#/components/schemas/NotarizationMode"
|
|
22155
22158
|
},
|
|
22156
|
-
"dateCreated": {
|
|
22157
|
-
"type": "string",
|
|
22158
|
-
"description": "The date and time when the notarization was created, in ISO 8601 format."
|
|
22159
|
-
},
|
|
22160
22159
|
"dateModified": {
|
|
22161
22160
|
"type": "string",
|
|
22162
22161
|
"description": "The date and time when the notarization was last modified, in ISO 8601 format."
|
|
22163
22162
|
},
|
|
22164
|
-
"data": {
|
|
22165
|
-
"type": "array",
|
|
22166
|
-
"items": {
|
|
22167
|
-
"type": "number"
|
|
22168
|
-
},
|
|
22169
|
-
"description": "The notarization data as a byte array."
|
|
22170
|
-
},
|
|
22171
22163
|
"immutableDescription": {
|
|
22172
22164
|
"type": "string",
|
|
22173
22165
|
"description": "An optional description of the notarization that cannot be changed after creation."
|
|
@@ -22187,32 +22179,40 @@
|
|
|
22187
22179
|
"transferLockDateTime": {
|
|
22188
22180
|
"type": "string",
|
|
22189
22181
|
"description": "An optional transfer lock date-time, in ISO 8601 format.\nUsed only in Dynamic Notarization."
|
|
22182
|
+
},
|
|
22183
|
+
"data": {
|
|
22184
|
+
"type": "string",
|
|
22185
|
+
"description": "The notarization data as a base64 encoded string."
|
|
22186
|
+
},
|
|
22187
|
+
"namespace": {
|
|
22188
|
+
"type": "string",
|
|
22189
|
+
"description": "The namespace of the connector to use for the notarization, defaults to component configured namespace."
|
|
22190
22190
|
}
|
|
22191
22191
|
},
|
|
22192
22192
|
"required": [
|
|
22193
|
-
"id",
|
|
22194
22193
|
"mode",
|
|
22195
|
-
"dateCreated",
|
|
22196
22194
|
"data"
|
|
22197
|
-
]
|
|
22195
|
+
],
|
|
22196
|
+
"description": "The request data."
|
|
22198
22197
|
},
|
|
22199
|
-
"
|
|
22198
|
+
"NotarizationGetResponse": {
|
|
22200
22199
|
"type": "object",
|
|
22201
22200
|
"properties": {
|
|
22201
|
+
"id": {
|
|
22202
|
+
"type": "string",
|
|
22203
|
+
"description": "The unique identifier of the notarization."
|
|
22204
|
+
},
|
|
22202
22205
|
"mode": {
|
|
22203
22206
|
"$ref": "#/components/schemas/NotarizationMode"
|
|
22204
22207
|
},
|
|
22208
|
+
"dateCreated": {
|
|
22209
|
+
"type": "string",
|
|
22210
|
+
"description": "The date and time when the notarization was created, in ISO 8601 format."
|
|
22211
|
+
},
|
|
22205
22212
|
"dateModified": {
|
|
22206
22213
|
"type": "string",
|
|
22207
22214
|
"description": "The date and time when the notarization was last modified, in ISO 8601 format."
|
|
22208
22215
|
},
|
|
22209
|
-
"data": {
|
|
22210
|
-
"type": "array",
|
|
22211
|
-
"items": {
|
|
22212
|
-
"type": "number"
|
|
22213
|
-
},
|
|
22214
|
-
"description": "The notarization data as a byte array."
|
|
22215
|
-
},
|
|
22216
22216
|
"immutableDescription": {
|
|
22217
22217
|
"type": "string",
|
|
22218
22218
|
"description": "An optional description of the notarization that cannot be changed after creation."
|
|
@@ -22233,16 +22233,18 @@
|
|
|
22233
22233
|
"type": "string",
|
|
22234
22234
|
"description": "An optional transfer lock date-time, in ISO 8601 format.\nUsed only in Dynamic Notarization."
|
|
22235
22235
|
},
|
|
22236
|
-
"
|
|
22236
|
+
"data": {
|
|
22237
22237
|
"type": "string",
|
|
22238
|
-
"description": "The
|
|
22238
|
+
"description": "The notarization data as a base64 encoded string."
|
|
22239
22239
|
}
|
|
22240
22240
|
},
|
|
22241
22241
|
"required": [
|
|
22242
|
+
"id",
|
|
22242
22243
|
"mode",
|
|
22244
|
+
"dateCreated",
|
|
22243
22245
|
"data"
|
|
22244
22246
|
],
|
|
22245
|
-
"description": "The
|
|
22247
|
+
"description": "The response body."
|
|
22246
22248
|
},
|
|
22247
22249
|
"NotarizationMode": {
|
|
22248
22250
|
"description": "Supported notarization mode values.",
|
|
@@ -22270,6 +22272,57 @@
|
|
|
22270
22272
|
],
|
|
22271
22273
|
"description": "The request data."
|
|
22272
22274
|
},
|
|
22275
|
+
"NotarizationUpdateRequest": {
|
|
22276
|
+
"type": "object",
|
|
22277
|
+
"properties": {
|
|
22278
|
+
"id": {
|
|
22279
|
+
"type": "string",
|
|
22280
|
+
"description": "The unique identifier of the notarization."
|
|
22281
|
+
},
|
|
22282
|
+
"mode": {
|
|
22283
|
+
"$ref": "#/components/schemas/NotarizationMode"
|
|
22284
|
+
},
|
|
22285
|
+
"dateCreated": {
|
|
22286
|
+
"type": "string",
|
|
22287
|
+
"description": "The date and time when the notarization was created, in ISO 8601 format."
|
|
22288
|
+
},
|
|
22289
|
+
"dateModified": {
|
|
22290
|
+
"type": "string",
|
|
22291
|
+
"description": "The date and time when the notarization was last modified, in ISO 8601 format."
|
|
22292
|
+
},
|
|
22293
|
+
"immutableDescription": {
|
|
22294
|
+
"type": "string",
|
|
22295
|
+
"description": "An optional description of the notarization that cannot be changed after creation."
|
|
22296
|
+
},
|
|
22297
|
+
"description": {
|
|
22298
|
+
"type": "string",
|
|
22299
|
+
"description": "An optional description of the notarization that can be modified until the notarization is locked."
|
|
22300
|
+
},
|
|
22301
|
+
"deleteLockDateTime": {
|
|
22302
|
+
"type": "string",
|
|
22303
|
+
"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."
|
|
22304
|
+
},
|
|
22305
|
+
"transferLockUntilDestroyed": {
|
|
22306
|
+
"type": "boolean",
|
|
22307
|
+
"description": "An optional flag indicating transfer lock is active until the notarization is destroyed.\nUsed only in Dynamic Notarization."
|
|
22308
|
+
},
|
|
22309
|
+
"transferLockDateTime": {
|
|
22310
|
+
"type": "string",
|
|
22311
|
+
"description": "An optional transfer lock date-time, in ISO 8601 format.\nUsed only in Dynamic Notarization."
|
|
22312
|
+
},
|
|
22313
|
+
"data": {
|
|
22314
|
+
"type": "string",
|
|
22315
|
+
"description": "The notarization data as a base64 encoded string."
|
|
22316
|
+
}
|
|
22317
|
+
},
|
|
22318
|
+
"required": [
|
|
22319
|
+
"id",
|
|
22320
|
+
"mode",
|
|
22321
|
+
"dateCreated",
|
|
22322
|
+
"data"
|
|
22323
|
+
],
|
|
22324
|
+
"description": "The request data."
|
|
22325
|
+
},
|
|
22273
22326
|
"PapCreateRequest": {
|
|
22274
22327
|
"description": "The body of the request - the policy to create (id will be auto-generated if not provided).",
|
|
22275
22328
|
"type": "object",
|
|
@@ -23323,6 +23376,14 @@
|
|
|
23323
23376
|
"type": "string",
|
|
23324
23377
|
"description": "The identity associated with the payload."
|
|
23325
23378
|
},
|
|
23379
|
+
"tenantId": {
|
|
23380
|
+
"type": "string",
|
|
23381
|
+
"description": "The tenant that issued the payload, if multi-tenancy was active at generation time."
|
|
23382
|
+
},
|
|
23383
|
+
"organizationId": {
|
|
23384
|
+
"type": "string",
|
|
23385
|
+
"description": "The organisation that issued the payload, if an authenticated user context was available at generation time."
|
|
23386
|
+
},
|
|
23326
23387
|
"data": {
|
|
23327
23388
|
"type": "object",
|
|
23328
23389
|
"additionalProperties": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/node",
|
|
3
|
-
"version": "0.0.3-next.
|
|
3
|
+
"version": "0.0.3-next.40",
|
|
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.
|
|
17
|
+
"@twin.org/node-core": "0.0.3-next.40"
|
|
18
18
|
},
|
|
19
19
|
"bugs": {
|
|
20
20
|
"url": "git+https://github.com/iotaledger/node/issues"
|