@twin.org/node 0.0.3-next.36 → 0.0.3-next.38

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.
@@ -291,6 +291,10 @@
291
291
  "contextIdStore": {
292
292
  "asyncHooksNotAvailable": "Async Hooks are not available in this environment, please ensure you are running in Node.js"
293
293
  },
294
+ "entitySchemaDiffHelper": {
295
+ "duplicateOldProperty": "The oldProperties array contains a duplicate property key \"{property}\"",
296
+ "duplicateNewProperty": "The newProperties array contains a duplicate property key \"{property}\""
297
+ },
294
298
  "entitySchemaHelper": {
295
299
  "noIsPrimary": "Property \"entitySchema.properties\" must contain a value with isPrimary set",
296
300
  "multipleIsPrimary": "Property \"entitySchema.properties\" contains more than one property with isPrimary set",
@@ -299,6 +303,11 @@
299
303
  "invalidOptional": "The entity property \"{property}\" of type \"{type}\" is not optional, but no value has been provided",
300
304
  "invalidEntityKeys": "The entity had additional properties that are not in the schema, \"{keys}\""
301
305
  },
306
+ "migrationHelper": {
307
+ "migrationFailed": "Migration failed.",
308
+ "transformRequiredForProperty": "A transformation function is required to migrate property \"{from}\" to \"{to}\" of type \"{type}\"",
309
+ "coercionProducedUndefined": "Coercion of property \"{property}\" to type \"{type}\" produced undefined but the property is not optional"
310
+ },
302
311
  "vaultConnectorHelper": {
303
312
  "invalidSignature": "The JSON Web token signature could not be verified"
304
313
  },
@@ -408,6 +417,9 @@
408
417
  "destroyFailed": "The destruction of the attestation failed",
409
418
  "namespaceMismatch": "The namespace in the urn \"{id}\" does not match the namespace of the attestation service \"{namespace}\""
410
419
  },
420
+ "silentTelemetryConnector": {
421
+ "notSupported": "The method \"{methodName}\" is not supported on silent telemetry connector."
422
+ },
411
423
  "auditableItemGraphRestClient": {
412
424
  "notSupportedOnClient": "The method \"{methodName}\" is not supported on the REST client, it can only be used on a server side component"
413
425
  },
@@ -415,6 +427,9 @@
415
427
  "namespaceMismatch": "The namespace in the urn \"{id}\" does not match the namespace of the Auditable Item Graph service \"{namespace}\"",
416
428
  "createFailed": "Creating the Auditable Item Graph vertex failed",
417
429
  "getFailed": "Getting the Auditable Item Graph vertex failed",
430
+ "getVersionFailed": "Getting the Auditable Item Graph vertex version failed",
431
+ "getVersionsFailed": "Getting the Auditable Item Graph vertex versions failed",
432
+ "versionNotFound": "The version with the Id \"{notFoundId}\" was not found",
418
433
  "updatingFailed": "Updating the Auditable Item Graph vertex failed",
419
434
  "queryingFailed": "Querying the Auditable Item Graph failed",
420
435
  "removeVerifiableFailed": "Removing the verifiable data the Auditable Item Graph vertex failed",
@@ -653,11 +668,13 @@
653
668
  "containerCreateFailed": "The container couldn't be created \"{containerId}\"",
654
669
  "databaseCreateFailed": "Unable to create database \"{databaseId}\"",
655
670
  "containerDoesNotExist": "Container \"{containerId}\" does not exist",
671
+ "getPartitionContextIdsFailed": "Unable to get partition context ids",
656
672
  "setBatchFailed": "Unable to set batch of entities",
657
673
  "countFailed": "Unable to count entities",
658
674
  "emptyFailed": "Unable to empty entity storage",
659
675
  "removeBatchFailed": "Unable to remove batch of entities",
660
- "teardownFailed": "Unable to teardown entity storage"
676
+ "teardownFailed": "Unable to teardown entity storage",
677
+ "finalizeMigrationFailedBootstrap": "Finalizing migration failed during bootstrap phase"
661
678
  },
662
679
  "dynamoDbEntityStorageConnector": {
663
680
  "tableCreateFailed": "Creating table \"{tableName}\" failed",
@@ -671,11 +688,13 @@
671
688
  "sortSingle": "You can only sort by a single property",
672
689
  "sortNotIndexed": "The property \"{property}\" is not indexed and cannot be used for sorting",
673
690
  "propertyNotFound": "The property \"{property}\" was not found on the entity schema",
691
+ "getPartitionContextIdsFailed": "Unable to get partition context ids",
674
692
  "setBatchFailed": "Unable to set batch of entities",
675
693
  "removeBatchFailed": "Unable to remove batch of entities",
676
694
  "emptyFailed": "Unable to empty entity storage",
677
695
  "countFailed": "Unable to count entities",
678
- "teardownFailed": "Unable to teardown entity storage"
696
+ "teardownFailed": "Unable to teardown entity storage",
697
+ "finalizeMigrationFailedBootstrap": "Finalizing migration failed during bootstrap phase"
679
698
  },
680
699
  "fileEntityStorageConnector": {
681
700
  "directoryCreateFailed": "Creating directory \"{directory}\" failed",
@@ -685,6 +704,7 @@
685
704
  },
686
705
  "firestoreEntityStorageConnector": {
687
706
  "firestoreCreationFailed": "Failed to connect to Firestore",
707
+ "getPartitionContextIdsFailed": "Unable to get partition context ids",
688
708
  "setEntityFailed": "Failed to set entity \"{id}\"",
689
709
  "getEntityFailed": "Failed to get entity \"{id}\"",
690
710
  "removeEntityFailed": "Failed to remove entity \"{id}\"",
@@ -694,7 +714,8 @@
694
714
  "countFailed": "Unable to count entities",
695
715
  "emptyFailed": "Failed to empty entity storage",
696
716
  "removeBatchFailed": "Unable to remove batch of entities",
697
- "teardownFailed": "Unable to teardown entity storage"
717
+ "teardownFailed": "Unable to teardown entity storage",
718
+ "finalizeMigrationFailedBootstrap": "Finalizing migration failed during bootstrap phase"
698
719
  },
699
720
  "mongoDbEntityStorageConnector": {
700
721
  "setFailed": "Unable to set entity \"{id}\"",
@@ -706,7 +727,9 @@
706
727
  "removeBatchFailed": "Unable to remove batch of entities",
707
728
  "emptyFailed": "Unable to empty entity storage",
708
729
  "countFailed": "Unable to count entities",
709
- "teardownFailed": "Unable to teardown entity storage"
730
+ "teardownFailed": "Unable to teardown entity storage",
731
+ "getPartitionContextIdsFailed": "Unable to get partition context ids",
732
+ "finalizeMigrationFailedBootstrap": "Finalizing migration failed during bootstrap phase"
710
733
  },
711
734
  "mySqlEntityStorageConnector": {
712
735
  "setFailed": "Unable to set entity \"{id}\"",
@@ -721,7 +744,9 @@
721
744
  "countFailed": "Unable to count entities",
722
745
  "emptyFailed": "Unable to empty entity storage",
723
746
  "removeBatchFailed": "Unable to remove batch of entities",
724
- "teardownFailed": "Unable to teardown entity storage"
747
+ "teardownFailed": "Unable to teardown entity storage",
748
+ "getPartitionContextIdsFailed": "Unable to get partition context ids",
749
+ "finalizeMigrationFailedBootstrap": "Finalizing migration failed during bootstrap phase"
725
750
  },
726
751
  "postgreSqlEntityStorageConnector": {
727
752
  "databaseCreateFailed": "Unable to create database \"{databaseName}\"",
@@ -736,7 +761,9 @@
736
761
  "countFailed": "Unable to count entities",
737
762
  "emptyFailed": "Unable to empty entity storage",
738
763
  "removeBatchFailed": "Unable to remove batch of entities",
739
- "teardownFailed": "Unable to teardown entity storage"
764
+ "teardownFailed": "Unable to teardown entity storage",
765
+ "getPartitionContextIdsFailed": "Unable to get partition context ids",
766
+ "finalizeMigrationFailedBootstrap": "Finalizing migration failed during bootstrap phase"
740
767
  },
741
768
  "scyllaDBTableConnector": {
742
769
  "tableCreateFailed": "Creating table \"{table}\" failed",
@@ -745,7 +772,9 @@
745
772
  "setBatchFailed": "Setting batch of items failed",
746
773
  "emptyFailed": "Emptying entity storage failed",
747
774
  "removeBatchFailed": "Remove batch of entities failed",
748
- "teardownFailed": "Teardown entity storage failed"
775
+ "teardownFailed": "Teardown entity storage failed",
776
+ "getPartitionContextIdsFailed": "Unable to get partition context ids",
777
+ "finalizeMigrationFailedBootstrap": "Finalizing migration failed during bootstrap phase"
749
778
  },
750
779
  "scyllaDBViewConnector": {
751
780
  "viewCreateFailed": "Creating view \"{view}\" failed",
@@ -756,6 +785,9 @@
756
785
  "findFailed": "Error while querying data on \"{table}\"",
757
786
  "parseJSONFailed": "Parsing JSON failed for field \"{name}\" with value \"{value}\"",
758
787
  "comparisonNotSupported": "Dot-notation nested property path \"{property}\" is not supported in CQL queries",
788
+ "notEqualsNotSupported": "The NotEquals operator is not supported in CQL queries for property \"{property}\"",
789
+ "notIncludesNotSupported": "The NotIncludes operator is not supported in CQL queries for property \"{property}\"",
790
+ "orConditionNotSupported": "OR logical operators are not supported in CQL queries",
759
791
  "countFailed": "Unable to count entities"
760
792
  },
761
793
  "synchronisedEntityStorageConnector": {
@@ -1186,12 +1218,12 @@
1186
1218
  "gaugeNoIncDec": "A gauge can not be incremented or decremented",
1187
1219
  "maxHistoryMustBePositiveInteger": "The maxHistory option must be a positive integer"
1188
1220
  },
1189
- "silentTelemetryConnector": {
1190
- "notSupported": "The method \"{methodName}\" is not supported on silent telemetry connector."
1191
- },
1192
1221
  "openTelemetryTelemetryConnector": {
1193
1222
  "unknownReaderType": "The reader type \"{type}\" is not supported, valid values are: prometheus"
1194
1223
  },
1224
+ "metricsCollectorService": {
1225
+ "producerCollectionFailed": "Failed to collect metrics from producer \"{producer}\""
1226
+ },
1195
1227
  "trustService": {
1196
1228
  "notVerified": "Payload verification failed",
1197
1229
  "noGeneratorsRegistered": "No trust generators are registered in the factory",
package/docs/changelog.md CHANGED
@@ -1,5 +1,101 @@
1
1
  # Changelog
2
2
 
3
+ ## [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
+
5
+
6
+ ### Features
7
+
8
+ * add auth admin component ([1661e57](https://github.com/iotaledger/twin-node/commit/1661e57a699d5cf9ebde333e3cbc3aaea89d7c9c))
9
+ * add automation ([cfc63b4](https://github.com/iotaledger/twin-node/commit/cfc63b465c139280f696877df21d54dc6a065a7e))
10
+ * add CLI commands and remove automated bootstrap code ([#69](https://github.com/iotaledger/twin-node/issues/69)) ([6e40933](https://github.com/iotaledger/twin-node/commit/6e40933d8bb820b380e1074fc88feeedca0ef7d9))
11
+ * add context id features ([#53](https://github.com/iotaledger/twin-node/issues/53)) ([827adf5](https://github.com/iotaledger/twin-node/commit/827adf52cb87fca53cec52b27e67f7a9dba2c088))
12
+ * add data space connector ([157e8b0](https://github.com/iotaledger/twin-node/commit/157e8b0a76e3a8a63c1991924f7f963eb83e27ae))
13
+ * add extend engine and server methods ([ec09c7e](https://github.com/iotaledger/twin-node/commit/ec09c7eb882d9f5797f2fd372e96cad1a3716f59))
14
+ * add extend engine and server methods ([0136a6f](https://github.com/iotaledger/twin-node/commit/0136a6f3f4e1a82b1427ee9618b8a17c79bc7fda))
15
+ * add extensions support ([476d5a8](https://github.com/iotaledger/twin-node/commit/476d5a864026a2f78e5b02bc9eb81359777a4a45))
16
+ * add fedcat to openapi ([eac69bd](https://github.com/iotaledger/twin-node/commit/eac69bdf94a22c35fe58e7523d9cf78bdc72eb7b))
17
+ * add missing export ([e8eb621](https://github.com/iotaledger/twin-node/commit/e8eb6213937a202520b164a9970a891004122b61))
18
+ * add notarization ([#121](https://github.com/iotaledger/twin-node/issues/121)) ([b2a11df](https://github.com/iotaledger/twin-node/commit/b2a11df92c7b5026f73f08a018c0586ebe008e92))
19
+ * add obligation enforcers and multi instance support ([#89](https://github.com/iotaledger/twin-node/issues/89)) ([d81af99](https://github.com/iotaledger/twin-node/commit/d81af99b8c4db6e9a1370b7065bf6d9d222c71ed))
20
+ * add rights management components ([0fc6293](https://github.com/iotaledger/twin-node/commit/0fc629332db24494bd73003625c7bf3f939a2597))
21
+ * add support for dynamodb connection timeout ([63051b0](https://github.com/iotaledger/twin-node/commit/63051b0d22138079115dfac921e7f0c45eaad34e))
22
+ * add synchronised storage config ([e315869](https://github.com/iotaledger/twin-node/commit/e315869adbffcd7fe5d3ce151dd35f662f6134a9))
23
+ * add trust and rights management plugin support ([cdeb504](https://github.com/iotaledger/twin-node/commit/cdeb504ee5986a347466162b9afa781645b4a54c))
24
+ * add trust ttl ([#73](https://github.com/iotaledger/twin-node/issues/73)) ([911cee7](https://github.com/iotaledger/twin-node/commit/911cee771bba490143bb1574ca8360f7cf8baa1a))
25
+ * add updated config vars ([ebe8178](https://github.com/iotaledger/twin-node/commit/ebe81788ce53ddf3d6925a5f2f6dac381f84f06c))
26
+ * add validate-locales ([1a19dcb](https://github.com/iotaledger/twin-node/commit/1a19dcb005c2f0e3103e290db28c48a3464094cb))
27
+ * add vault prefix configuration ([#75](https://github.com/iotaledger/twin-node/issues/75)) ([1d4afb1](https://github.com/iotaledger/twin-node/commit/1d4afb1b1a8aa60795898eeb9e7f5153c279527d))
28
+ * adding npm and https protocols to load extensions ([#45](https://github.com/iotaledger/twin-node/issues/45)) ([33940b7](https://github.com/iotaledger/twin-node/commit/33940b7e771a0c5af32c18d442deb26a8631fd02))
29
+ * additional options for enabling components ([e13d772](https://github.com/iotaledger/twin-node/commit/e13d7721a0dd7143d456fff246622cbe63dbd0f1))
30
+ * additional route logging env vars ([7152c88](https://github.com/iotaledger/twin-node/commit/7152c887c3ba76778e2d9e68ba57198b8d81d802))
31
+ * align node module with dataspace rename and control plane integ… ([#95](https://github.com/iotaledger/twin-node/issues/95)) ([8129868](https://github.com/iotaledger/twin-node/commit/812986886fb5d779dd380956c4e6cc47c2d73530))
32
+ * custom REST paths ([#99](https://github.com/iotaledger/twin-node/issues/99)) ([dcab1b2](https://github.com/iotaledger/twin-node/commit/dcab1b2b23c13b4c9f39c3c1c67284f56e732bd1))
33
+ * enable N2N dataspace protocol with synchronized storage ([#98](https://github.com/iotaledger/twin-node/issues/98)) ([f67e366](https://github.com/iotaledger/twin-node/commit/f67e366c5ed3c829955a62b19c420361f035a578))
34
+ * env var simplification ([460b0f2](https://github.com/iotaledger/twin-node/commit/460b0f20a73cb482f7443af502f261d5f9d01759))
35
+ * env-prefix option and user-update cli command ([#83](https://github.com/iotaledger/twin-node/issues/83)) ([fc48efa](https://github.com/iotaledger/twin-node/commit/fc48efa7ad72173def048170c3afb5eeb9f1b292))
36
+ * eslint migration to flat config ([080db74](https://github.com/iotaledger/twin-node/commit/080db746390230f78725d214bc957da2efee9eb1))
37
+ * exclude unece codes from open api spec ([16b72f3](https://github.com/iotaledger/twin-node/commit/16b72f37af0d5aa107e5007741690a3fc043153a))
38
+ * first metrics in the core and app for testing ([#139](https://github.com/iotaledger/twin-node/issues/139)) ([abe17bb](https://github.com/iotaledger/twin-node/commit/abe17bb9a6261dcb7fd46253221182fbb1dc2259))
39
+ * health and url transformer ([#131](https://github.com/iotaledger/twin-node/issues/131)) ([3658903](https://github.com/iotaledger/twin-node/commit/36589036b9bea120880fc395b0d123a89032cf40))
40
+ * improve bootstrapping and shutdown behaviour ([#66](https://github.com/iotaledger/twin-node/issues/66)) ([65b3452](https://github.com/iotaledger/twin-node/commit/65b345240334bfff48b52e136cc486cd7ac7f290))
41
+ * improve default options and spec ([b538721](https://github.com/iotaledger/twin-node/commit/b538721902e7f65021d2715148ba59409ccce035))
42
+ * improve node logging ([c25b9c6](https://github.com/iotaledger/twin-node/commit/c25b9c6779bdb76f341df072c39b4c2fae4565a3))
43
+ * initial commit ([522f1e5](https://github.com/iotaledger/twin-node/commit/522f1e515348f9b1dd1eeb3170b1249e2b0b5371))
44
+ * migrate env config from engine to node ([5da29b8](https://github.com/iotaledger/twin-node/commit/5da29b8d714495308320d237a68e84355bba2b47))
45
+ * multi-tenant env wiring, trust auto-enable, tenant-token vault key, engine-driven callbackPath ([#128](https://github.com/iotaledger/twin-node/issues/128)) ([0de4d35](https://github.com/iotaledger/twin-node/commit/0de4d356fb2f825afae5469005d475700f510ee4))
46
+ * node app use JavaScript ([14fe08c](https://github.com/iotaledger/twin-node/commit/14fe08cb760dd885a5dac9056a4d5dbc3d61df64))
47
+ * remove dap and darp ([36c3ffb](https://github.com/iotaledger/twin-node/commit/36c3ffb31af65a0e3025859dab675efeee043155))
48
+ * separate script directory from exec directory ([f6bb4db](https://github.com/iotaledger/twin-node/commit/f6bb4dbea1f1e200e0640fa154c6997ef99c99b4))
49
+ * support multiple entity and blob storage connectors ([a489f79](https://github.com/iotaledger/twin-node/commit/a489f7907544aef5708d5111e9f72985e1377bae))
50
+ * support public origin and hosting service ([#77](https://github.com/iotaledger/twin-node/issues/77)) ([3b9039f](https://github.com/iotaledger/twin-node/commit/3b9039fcba7f7038c06f8fd6a5ccc9fdbbf535b3))
51
+ * typescript 6 update ([ce2e3ca](https://github.com/iotaledger/twin-node/commit/ce2e3ca5219587709f7b9cf6c65909b48fba11b5))
52
+ * update background tasks and add fedcat filters ([1fd297e](https://github.com/iotaledger/twin-node/commit/1fd297e29f60b5bb3909638b68e326c5b0e2d77d))
53
+ * update dependencies ([aab05b5](https://github.com/iotaledger/twin-node/commit/aab05b552152a208a504fb9a080603f1990d4f79))
54
+ * update dependencies ([6cb3d3a](https://github.com/iotaledger/twin-node/commit/6cb3d3a63f7b976f80074ddecfba034b7e92f919))
55
+ * update dependencies ([351f777](https://github.com/iotaledger/twin-node/commit/351f777e001bf4183762657fc565b133a317600a))
56
+ * update dependencies ([9d25f16](https://github.com/iotaledger/twin-node/commit/9d25f16f1d554cd38f3bec28fdf7f8fff892ceaf))
57
+ * update docs ([409126a](https://github.com/iotaledger/twin-node/commit/409126a1325998face4634426b71682944c6a504))
58
+ * update engine ([a40b377](https://github.com/iotaledger/twin-node/commit/a40b37726c3b61c6bb40265ec0006d1071ffac7e))
59
+ * update engine ([4b438e2](https://github.com/iotaledger/twin-node/commit/4b438e22c27d784ee6cc964b7cb4401e9699ab16))
60
+ * update for livez endpoint ([9fc2e6a](https://github.com/iotaledger/twin-node/commit/9fc2e6ade38b3ec9591399a633d02b1e5fe07910))
61
+ * update framework components ([4bee2b9](https://github.com/iotaledger/twin-node/commit/4bee2b9d3651df09b8550a9ed226be1b46031854))
62
+ * update framework core ([8bd769a](https://github.com/iotaledger/twin-node/commit/8bd769a4451f5f1f6be3f115a5e94eeb05bce7f1))
63
+ * update rights management ([5c992c6](https://github.com/iotaledger/twin-node/commit/5c992c6b0d72f3eeaa39ee267e096d9a3f477f4e))
64
+ * update rights management components ([176a0d6](https://github.com/iotaledger/twin-node/commit/176a0d611f88360fc845ae233b26ee0b43d7cb23))
65
+ * update spec generation config ([cff633a](https://github.com/iotaledger/twin-node/commit/cff633a0ffb73ad652d5f1bae653fa91e82dc8ab))
66
+ * update to latest engine ([00d4974](https://github.com/iotaledger/twin-node/commit/00d4974f9cfb02bf48505cfb4af4a7aba1df4b3d))
67
+ * update twindev schemas ([b7bb6ba](https://github.com/iotaledger/twin-node/commit/b7bb6ba308eaf10b66d349ada8f3880f15b31e0f))
68
+ * updated context id features ([ef7be07](https://github.com/iotaledger/twin-node/commit/ef7be07d44dccdeacf10f90cb4ffde0303faa6fa))
69
+
70
+
71
+ ### Bug Fixes
72
+
73
+ * adding a condition to verify if the password exists when bootstrapping ([6030a42](https://github.com/iotaledger/twin-node/commit/6030a42bdaf581678d96932fd0b809396bf7b8b0))
74
+ * adding a condition to verify if the password exists when bootstrapping ([c66f396](https://github.com/iotaledger/twin-node/commit/c66f396717394161a7647d1f08b3d87729d96e96))
75
+ * broken docs ([61479fd](https://github.com/iotaledger/twin-node/commit/61479fd618f766d22c5aafec5277e1a89e22b453))
76
+ * improve calculation of execution directory ([106d65d](https://github.com/iotaledger/twin-node/commit/106d65d7ad5524e2e147b681d68f9476c024cfaa))
77
+
78
+
79
+ ### Dependencies
80
+
81
+ * The following workspace dependencies were updated
82
+ * dependencies
83
+ * @twin.org/node-core bumped from 0.0.3-next.37 to 0.0.3-next.38
84
+
85
+ ## [0.0.3-next.37](https://github.com/iotaledger/twin-node/compare/node-v0.0.3-next.36...node-v0.0.3-next.37) (2026-05-19)
86
+
87
+
88
+ ### Miscellaneous Chores
89
+
90
+ * **node:** Synchronize repo versions
91
+
92
+
93
+ ### Dependencies
94
+
95
+ * The following workspace dependencies were updated
96
+ * dependencies
97
+ * @twin.org/node-core bumped from 0.0.3-next.36 to 0.0.3-next.37
98
+
3
99
  ## [0.0.3-next.36](https://github.com/iotaledger/twin-node/compare/node-v0.0.3-next.35...node-v0.0.3-next.36) (2026-05-12)
4
100
 
5
101
 
@@ -12253,6 +12253,282 @@
12253
12253
  }
12254
12254
  }
12255
12255
  },
12256
+ "/aig/{id}/versions/{versionId}": {
12257
+ "get": {
12258
+ "operationId": "auditableItemGraphVersionGet",
12259
+ "summary": "Get a graph vertex at a specific version",
12260
+ "tags": [
12261
+ "Auditable Item Graph"
12262
+ ],
12263
+ "parameters": [
12264
+ {
12265
+ "name": "id",
12266
+ "description": "The id of the vertex.",
12267
+ "in": "path",
12268
+ "required": true,
12269
+ "schema": {
12270
+ "type": "string"
12271
+ },
12272
+ "style": "simple",
12273
+ "example": "aig:1234567890"
12274
+ },
12275
+ {
12276
+ "name": "versionId",
12277
+ "description": "The id of the version (changeset id) to get.",
12278
+ "in": "path",
12279
+ "required": true,
12280
+ "schema": {
12281
+ "type": "string"
12282
+ },
12283
+ "style": "simple",
12284
+ "example": "changeset:1234567890"
12285
+ },
12286
+ {
12287
+ "name": "accept",
12288
+ "in": "header",
12289
+ "required": true,
12290
+ "schema": {
12291
+ "type": "string"
12292
+ },
12293
+ "style": "simple",
12294
+ "example": "application/json"
12295
+ }
12296
+ ],
12297
+ "security": [
12298
+ {
12299
+ "jwtBearerAuthScheme": []
12300
+ }
12301
+ ],
12302
+ "responses": {
12303
+ "200": {
12304
+ "description": "Response to getting an auditable item graph vertex at a specific version.",
12305
+ "content": {
12306
+ "application/json": {
12307
+ "schema": {
12308
+ "$ref": "https://schema.twindev.org/aig/AuditableItemGraphVertex"
12309
+ },
12310
+ "examples": {
12311
+ "auditableItemGraphVersionGetResponseExample": {
12312
+ "value": {
12313
+ "@context": [
12314
+ "https://schema.twindev.org/aig/",
12315
+ "https://schema.twindev.org/common/",
12316
+ "https://schema.org"
12317
+ ],
12318
+ "type": "AuditableItemGraphVertex",
12319
+ "id": "aig:1234567890",
12320
+ "dateCreated": "2024-08-22T11:55:16.271Z",
12321
+ "version": 1
12322
+ }
12323
+ }
12324
+ }
12325
+ }
12326
+ }
12327
+ },
12328
+ "400": {
12329
+ "description": "The server cannot process the request, see the content for more details.",
12330
+ "content": {
12331
+ "application/json": {
12332
+ "schema": {
12333
+ "$ref": "#/components/schemas/Error"
12334
+ },
12335
+ "examples": {
12336
+ "exampleResponse": {
12337
+ "value": {
12338
+ "name": "GeneralError",
12339
+ "message": "errorMessage",
12340
+ "properties": {
12341
+ "foo": "bar"
12342
+ }
12343
+ }
12344
+ }
12345
+ }
12346
+ }
12347
+ }
12348
+ },
12349
+ "401": {
12350
+ "description": "You are not authorized to use the API or no credentials were supplied, see the content for more details.",
12351
+ "content": {
12352
+ "application/json": {
12353
+ "schema": {
12354
+ "$ref": "#/components/schemas/Error"
12355
+ },
12356
+ "examples": {
12357
+ "exampleResponse": {
12358
+ "value": {
12359
+ "name": "UnauthorizedError",
12360
+ "message": "errorMessage"
12361
+ }
12362
+ }
12363
+ }
12364
+ }
12365
+ }
12366
+ },
12367
+ "500": {
12368
+ "description": "The server has encountered a situation it does not know how to handle, see the content for more details.",
12369
+ "content": {
12370
+ "application/json": {
12371
+ "schema": {
12372
+ "$ref": "#/components/schemas/Error"
12373
+ },
12374
+ "examples": {
12375
+ "exampleResponse": {
12376
+ "value": {
12377
+ "name": "InternalServerError",
12378
+ "message": "errorMessage"
12379
+ }
12380
+ }
12381
+ }
12382
+ }
12383
+ }
12384
+ }
12385
+ }
12386
+ }
12387
+ },
12388
+ "/aig/{id}/versions": {
12389
+ "get": {
12390
+ "operationId": "auditableItemGraphVersionList",
12391
+ "summary": "Get all versions of a graph vertex",
12392
+ "tags": [
12393
+ "Auditable Item Graph"
12394
+ ],
12395
+ "parameters": [
12396
+ {
12397
+ "name": "id",
12398
+ "description": "The id of the vertex.",
12399
+ "in": "path",
12400
+ "required": true,
12401
+ "schema": {
12402
+ "type": "string"
12403
+ },
12404
+ "style": "simple",
12405
+ "example": "aig:1234567890"
12406
+ },
12407
+ {
12408
+ "name": "after",
12409
+ "description": "Only return versions created after this ISO 8601 timestamp (exclusive).",
12410
+ "in": "query",
12411
+ "required": false,
12412
+ "schema": {
12413
+ "type": "string"
12414
+ }
12415
+ },
12416
+ {
12417
+ "name": "before",
12418
+ "description": "Only return versions created before this ISO 8601 timestamp (exclusive).",
12419
+ "in": "query",
12420
+ "required": false,
12421
+ "schema": {
12422
+ "type": "string"
12423
+ }
12424
+ },
12425
+ {
12426
+ "name": "accept",
12427
+ "in": "header",
12428
+ "required": true,
12429
+ "schema": {
12430
+ "type": "string"
12431
+ },
12432
+ "style": "simple",
12433
+ "example": "application/json"
12434
+ }
12435
+ ],
12436
+ "security": [
12437
+ {
12438
+ "jwtBearerAuthScheme": []
12439
+ }
12440
+ ],
12441
+ "responses": {
12442
+ "200": {
12443
+ "description": "Response to getting all versions of an auditable item graph vertex.",
12444
+ "content": {
12445
+ "application/json": {
12446
+ "schema": {
12447
+ "$ref": "https://schema.twindev.org/aig/AuditableItemGraphVertexVersionList"
12448
+ },
12449
+ "examples": {
12450
+ "auditableItemGraphVersionListResponseExample": {
12451
+ "value": {
12452
+ "@context": [
12453
+ "https://schema.org",
12454
+ "https://schema.twindev.org/aig/",
12455
+ "https://schema.twindev.org/common/"
12456
+ ],
12457
+ "type": [
12458
+ "ItemList",
12459
+ "AuditableItemGraphVertexVersionList"
12460
+ ],
12461
+ "itemListElement": [
12462
+ 0,
12463
+ 1,
12464
+ 2
12465
+ ]
12466
+ }
12467
+ }
12468
+ }
12469
+ }
12470
+ }
12471
+ },
12472
+ "400": {
12473
+ "description": "The server cannot process the request, see the content for more details.",
12474
+ "content": {
12475
+ "application/json": {
12476
+ "schema": {
12477
+ "$ref": "#/components/schemas/Error"
12478
+ },
12479
+ "examples": {
12480
+ "exampleResponse": {
12481
+ "value": {
12482
+ "name": "GeneralError",
12483
+ "message": "errorMessage",
12484
+ "properties": {
12485
+ "foo": "bar"
12486
+ }
12487
+ }
12488
+ }
12489
+ }
12490
+ }
12491
+ }
12492
+ },
12493
+ "401": {
12494
+ "description": "You are not authorized to use the API or no credentials were supplied, see the content for more details.",
12495
+ "content": {
12496
+ "application/json": {
12497
+ "schema": {
12498
+ "$ref": "#/components/schemas/Error"
12499
+ },
12500
+ "examples": {
12501
+ "exampleResponse": {
12502
+ "value": {
12503
+ "name": "UnauthorizedError",
12504
+ "message": "errorMessage"
12505
+ }
12506
+ }
12507
+ }
12508
+ }
12509
+ }
12510
+ },
12511
+ "500": {
12512
+ "description": "The server has encountered a situation it does not know how to handle, see the content for more details.",
12513
+ "content": {
12514
+ "application/json": {
12515
+ "schema": {
12516
+ "$ref": "#/components/schemas/Error"
12517
+ },
12518
+ "examples": {
12519
+ "exampleResponse": {
12520
+ "value": {
12521
+ "name": "InternalServerError",
12522
+ "message": "errorMessage"
12523
+ }
12524
+ }
12525
+ }
12526
+ }
12527
+ }
12528
+ }
12529
+ }
12530
+ }
12531
+ },
12256
12532
  "/aig/{id}/changesets/{changesetId}": {
12257
12533
  "get": {
12258
12534
  "operationId": "auditableItemGraphChangesetGet",
@@ -20420,6 +20696,10 @@
20420
20696
  "verified": {
20421
20697
  "type": "boolean",
20422
20698
  "description": "Is the vertex verified, will only be populated when verification is requested."
20699
+ },
20700
+ "version": {
20701
+ "type": "number",
20702
+ "description": "The version of the vertex, populated only when getting a specific version.\nMaps to https://schema.org/version."
20423
20703
  }
20424
20704
  },
20425
20705
  "required": [
@@ -20494,6 +20774,10 @@
20494
20774
  "verified": {
20495
20775
  "type": "boolean",
20496
20776
  "description": "Is the vertex verified, will only be populated when verification is requested."
20777
+ },
20778
+ "version": {
20779
+ "type": "number",
20780
+ "description": "The version of the vertex, populated only when getting a specific version.\nMaps to https://schema.org/version."
20497
20781
  }
20498
20782
  },
20499
20783
  "required": [
@@ -21736,6 +22020,19 @@
21736
22020
  },
21737
22021
  "description": "The logout token details."
21738
22022
  },
22023
+ "MetricCounterOperation": {
22024
+ "description": "The types of metric counter operations.",
22025
+ "anyOf": [
22026
+ {
22027
+ "const": "inc",
22028
+ "description": "Increment Counter."
22029
+ },
22030
+ {
22031
+ "const": "dec",
22032
+ "description": "Decrement Counter."
22033
+ }
22034
+ ]
22035
+ },
21739
22036
  "MetricType": {
21740
22037
  "description": "The types of metrics.",
21741
22038
  "anyOf": [
@@ -22581,7 +22878,10 @@
22581
22878
  },
22582
22879
  "target": {
22583
22880
  "type": "string",
22584
- "description": "The target path of where to store the extracted data.\nSupports simple dotted path notation, and numeric index notation."
22881
+ "description": "The target path of where to store the extracted data.\nSupports simple dotted path notation, and numeric index notation.",
22882
+ "examples": [
22883
+ "\"path.to.data\" or \"path.to.data.0\""
22884
+ ]
22585
22885
  },
22586
22886
  "retainPathDepth": {
22587
22887
  "type": "number",
@@ -22842,10 +23142,7 @@
22842
23142
  "value": {
22843
23143
  "anyOf": [
22844
23144
  {
22845
- "const": "inc"
22846
- },
22847
- {
22848
- "const": "dec"
23145
+ "$ref": "#/components/schemas/MetricCounterOperation"
22849
23146
  },
22850
23147
  {
22851
23148
  "type": "number"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/node",
3
- "version": "0.0.3-next.36",
3
+ "version": "0.0.3-next.38",
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.36"
17
+ "@twin.org/node-core": "0.0.3-next.38"
18
18
  },
19
19
  "bugs": {
20
20
  "url": "git+https://github.com/iotaledger/node/issues"