@twin.org/immutable-proof-models 0.9.2-next.4 → 0.9.2-next.6

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/es/index.js CHANGED
@@ -16,6 +16,10 @@ export * from "./models/IImmutableProofDataIntegrity.js";
16
16
  export * from "./models/IImmutableProofVerification.js";
17
17
  export * from "./models/immutableProofContexts.js";
18
18
  export * from "./models/immutableProofFailure.js";
19
+ export * from "./models/immutableProofMetricIds.js";
20
+ export * from "./models/immutableProofMetrics.js";
21
+ export * from "./models/immutableProofSpanAttributes.js";
22
+ export * from "./models/immutableProofSpanNames.js";
19
23
  export * from "./models/immutableProofTopics.js";
20
24
  export * from "./models/immutableProofTypes.js";
21
25
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,cAAc,wCAAwC,CAAC;AACvD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,0DAA0D,CAAC;AACzE,cAAc,8CAA8C,CAAC;AAC7D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,+CAA+C,CAAC;AAC9D,cAAc,0DAA0D,CAAC;AACzE,cAAc,6BAA6B,CAAC;AAC5C,cAAc,sCAAsC,CAAC;AACrD,cAAc,uCAAuC,CAAC;AACtD,cAAc,0CAA0C,CAAC;AACzD,cAAc,yCAAyC,CAAC;AACxD,cAAc,oCAAoC,CAAC;AACnD,cAAc,mCAAmC,CAAC;AAClD,cAAc,kCAAkC,CAAC;AACjD,cAAc,iCAAiC,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nexport * from \"./dataTypes/immutableProofDataTypes.js\";\nexport * from \"./models/api/IImmutableProofCreateRequest.js\";\nexport * from \"./models/api/IImmutableProofGetRequest.js\";\nexport * from \"./models/api/IImmutableProofGetResponse.js\";\nexport * from \"./models/api/IImmutableProofRemoveNotarizationRequest.js\";\nexport * from \"./models/api/IImmutableProofRemoveRequest.js\";\nexport * from \"./models/api/IImmutableProofVerifyRequest.js\";\nexport * from \"./models/api/IImmutableProofVerifyResponse.js\";\nexport * from \"./models/eventBus/IImmutableProofEventBusProofCreated.js\";\nexport * from \"./models/IImmutableProof.js\";\nexport * from \"./models/IImmutableProofComponent.js\";\nexport * from \"./models/IImmutableProofCredential.js\";\nexport * from \"./models/IImmutableProofDataIntegrity.js\";\nexport * from \"./models/IImmutableProofVerification.js\";\nexport * from \"./models/immutableProofContexts.js\";\nexport * from \"./models/immutableProofFailure.js\";\nexport * from \"./models/immutableProofTopics.js\";\nexport * from \"./models/immutableProofTypes.js\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,cAAc,wCAAwC,CAAC;AACvD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,0DAA0D,CAAC;AACzE,cAAc,8CAA8C,CAAC;AAC7D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,+CAA+C,CAAC;AAC9D,cAAc,0DAA0D,CAAC;AACzE,cAAc,6BAA6B,CAAC;AAC5C,cAAc,sCAAsC,CAAC;AACrD,cAAc,uCAAuC,CAAC;AACtD,cAAc,0CAA0C,CAAC;AACzD,cAAc,yCAAyC,CAAC;AACxD,cAAc,oCAAoC,CAAC;AACnD,cAAc,mCAAmC,CAAC;AAClD,cAAc,qCAAqC,CAAC;AACpD,cAAc,mCAAmC,CAAC;AAClD,cAAc,0CAA0C,CAAC;AACzD,cAAc,qCAAqC,CAAC;AACpD,cAAc,kCAAkC,CAAC;AACjD,cAAc,iCAAiC,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nexport * from \"./dataTypes/immutableProofDataTypes.js\";\nexport * from \"./models/api/IImmutableProofCreateRequest.js\";\nexport * from \"./models/api/IImmutableProofGetRequest.js\";\nexport * from \"./models/api/IImmutableProofGetResponse.js\";\nexport * from \"./models/api/IImmutableProofRemoveNotarizationRequest.js\";\nexport * from \"./models/api/IImmutableProofRemoveRequest.js\";\nexport * from \"./models/api/IImmutableProofVerifyRequest.js\";\nexport * from \"./models/api/IImmutableProofVerifyResponse.js\";\nexport * from \"./models/eventBus/IImmutableProofEventBusProofCreated.js\";\nexport * from \"./models/IImmutableProof.js\";\nexport * from \"./models/IImmutableProofComponent.js\";\nexport * from \"./models/IImmutableProofCredential.js\";\nexport * from \"./models/IImmutableProofDataIntegrity.js\";\nexport * from \"./models/IImmutableProofVerification.js\";\nexport * from \"./models/immutableProofContexts.js\";\nexport * from \"./models/immutableProofFailure.js\";\nexport * from \"./models/immutableProofMetricIds.js\";\nexport * from \"./models/immutableProofMetrics.js\";\nexport * from \"./models/immutableProofSpanAttributes.js\";\nexport * from \"./models/immutableProofSpanNames.js\";\nexport * from \"./models/immutableProofTopics.js\";\nexport * from \"./models/immutableProofTypes.js\";\n"]}
@@ -0,0 +1,29 @@
1
+ // Copyright 2026 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ /**
4
+ * Metric IDs for the immutable proof service.
5
+ */
6
+ // eslint-disable-next-line @typescript-eslint/naming-convention
7
+ export const ImmutableProofMetricIds = {
8
+ /**
9
+ * Number of proofs created.
10
+ */
11
+ ProofsCreated: "ip_proofs_created",
12
+ /**
13
+ * Number of proof verifications succeeded.
14
+ */
15
+ VerificationsSucceeded: "ip_verifications_succeeded",
16
+ /**
17
+ * Number of proof verifications failed.
18
+ */
19
+ VerificationsFailed: "ip_verifications_failed",
20
+ /**
21
+ * Number of proofs removed.
22
+ */
23
+ ProofsRemoved: "ip_proofs_removed",
24
+ /**
25
+ * Number of notarizations removed.
26
+ */
27
+ NotarizationsRemoved: "ip_notarizations_removed"
28
+ };
29
+ //# sourceMappingURL=immutableProofMetricIds.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"immutableProofMetricIds.js","sourceRoot":"","sources":["../../../src/models/immutableProofMetricIds.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACtC;;OAEG;IACH,aAAa,EAAE,mBAAmB;IAElC;;OAEG;IACH,sBAAsB,EAAE,4BAA4B;IAEpD;;OAEG;IACH,mBAAmB,EAAE,yBAAyB;IAE9C;;OAEG;IACH,aAAa,EAAE,mBAAmB;IAElC;;OAEG;IACH,oBAAoB,EAAE,0BAA0B;CACvC,CAAC","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Metric IDs for the immutable proof service.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const ImmutableProofMetricIds = {\n\t/**\n\t * Number of proofs created.\n\t */\n\tProofsCreated: \"ip_proofs_created\",\n\n\t/**\n\t * Number of proof verifications succeeded.\n\t */\n\tVerificationsSucceeded: \"ip_verifications_succeeded\",\n\n\t/**\n\t * Number of proof verifications failed.\n\t */\n\tVerificationsFailed: \"ip_verifications_failed\",\n\n\t/**\n\t * Number of proofs removed.\n\t */\n\tProofsRemoved: \"ip_proofs_removed\",\n\n\t/**\n\t * Number of notarizations removed.\n\t */\n\tNotarizationsRemoved: \"ip_notarizations_removed\"\n} as const;\n\n/**\n * Union type of all immutable proof service metric ID string values.\n */\nexport type ImmutableProofMetricIds =\n\t(typeof ImmutableProofMetricIds)[keyof typeof ImmutableProofMetricIds];\n"]}
@@ -0,0 +1,36 @@
1
+ // Copyright 2026 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ import { MetricType } from "@twin.org/telemetry-models";
4
+ import { ImmutableProofMetricIds } from "./immutableProofMetricIds.js";
5
+ /**
6
+ * Metrics registered by the immutable proof service.
7
+ */
8
+ // eslint-disable-next-line @typescript-eslint/naming-convention
9
+ export const ImmutableProofMetrics = [
10
+ {
11
+ id: ImmutableProofMetricIds.ProofsCreated,
12
+ label: "Proofs created",
13
+ type: MetricType.Counter
14
+ },
15
+ {
16
+ id: ImmutableProofMetricIds.VerificationsSucceeded,
17
+ label: "Proof verifications succeeded",
18
+ type: MetricType.Counter
19
+ },
20
+ {
21
+ id: ImmutableProofMetricIds.VerificationsFailed,
22
+ label: "Proof verifications failed",
23
+ type: MetricType.Counter
24
+ },
25
+ {
26
+ id: ImmutableProofMetricIds.ProofsRemoved,
27
+ label: "Proofs removed",
28
+ type: MetricType.Counter
29
+ },
30
+ {
31
+ id: ImmutableProofMetricIds.NotarizationsRemoved,
32
+ label: "Notarizations removed",
33
+ type: MetricType.Counter
34
+ }
35
+ ];
36
+ //# sourceMappingURL=immutableProofMetrics.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"immutableProofMetrics.js","sourceRoot":"","sources":["../../../src/models/immutableProofMetrics.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,EAAyB,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAC/E,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAEvE;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,qBAAqB,GAAuB;IACxD;QACC,EAAE,EAAE,uBAAuB,CAAC,aAAa;QACzC,KAAK,EAAE,gBAAgB;QACvB,IAAI,EAAE,UAAU,CAAC,OAAO;KACxB;IACD;QACC,EAAE,EAAE,uBAAuB,CAAC,sBAAsB;QAClD,KAAK,EAAE,+BAA+B;QACtC,IAAI,EAAE,UAAU,CAAC,OAAO;KACxB;IACD;QACC,EAAE,EAAE,uBAAuB,CAAC,mBAAmB;QAC/C,KAAK,EAAE,4BAA4B;QACnC,IAAI,EAAE,UAAU,CAAC,OAAO;KACxB;IACD;QACC,EAAE,EAAE,uBAAuB,CAAC,aAAa;QACzC,KAAK,EAAE,gBAAgB;QACvB,IAAI,EAAE,UAAU,CAAC,OAAO;KACxB;IACD;QACC,EAAE,EAAE,uBAAuB,CAAC,oBAAoB;QAChD,KAAK,EAAE,uBAAuB;QAC9B,IAAI,EAAE,UAAU,CAAC,OAAO;KACxB;CACD,CAAC","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport { type ITelemetryMetric, MetricType } from \"@twin.org/telemetry-models\";\nimport { ImmutableProofMetricIds } from \"./immutableProofMetricIds.js\";\n\n/**\n * Metrics registered by the immutable proof service.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const ImmutableProofMetrics: ITelemetryMetric[] = [\n\t{\n\t\tid: ImmutableProofMetricIds.ProofsCreated,\n\t\tlabel: \"Proofs created\",\n\t\ttype: MetricType.Counter\n\t},\n\t{\n\t\tid: ImmutableProofMetricIds.VerificationsSucceeded,\n\t\tlabel: \"Proof verifications succeeded\",\n\t\ttype: MetricType.Counter\n\t},\n\t{\n\t\tid: ImmutableProofMetricIds.VerificationsFailed,\n\t\tlabel: \"Proof verifications failed\",\n\t\ttype: MetricType.Counter\n\t},\n\t{\n\t\tid: ImmutableProofMetricIds.ProofsRemoved,\n\t\tlabel: \"Proofs removed\",\n\t\ttype: MetricType.Counter\n\t},\n\t{\n\t\tid: ImmutableProofMetricIds.NotarizationsRemoved,\n\t\tlabel: \"Notarizations removed\",\n\t\ttype: MetricType.Counter\n\t}\n];\n"]}
@@ -0,0 +1,13 @@
1
+ // Copyright 2026 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ /**
4
+ * The span attribute keys for the immutable proof domain.
5
+ */
6
+ // eslint-disable-next-line @typescript-eslint/naming-convention
7
+ export const ImmutableProofSpanAttributes = {
8
+ /**
9
+ * The id of the immutable proof the operation is for.
10
+ */
11
+ Id: "immutable-proof.id"
12
+ };
13
+ //# sourceMappingURL=immutableProofSpanAttributes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"immutableProofSpanAttributes.js","sourceRoot":"","sources":["../../../src/models/immutableProofSpanAttributes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,4BAA4B,GAAG;IAC3C;;OAEG;IACH,EAAE,EAAE,oBAAoB;CACf,CAAC","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The span attribute keys for the immutable proof domain.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const ImmutableProofSpanAttributes = {\n\t/**\n\t * The id of the immutable proof the operation is for.\n\t */\n\tId: \"immutable-proof.id\"\n} as const;\n\n/**\n * Union type of all immutable proof span attribute key string values.\n */\nexport type ImmutableProofSpanAttributes =\n\t(typeof ImmutableProofSpanAttributes)[keyof typeof ImmutableProofSpanAttributes];\n"]}
@@ -0,0 +1,25 @@
1
+ // Copyright 2026 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ /**
4
+ * The span names for the immutable proof domain.
5
+ */
6
+ // eslint-disable-next-line @typescript-eslint/naming-convention
7
+ export const ImmutableProofSpanNames = {
8
+ /**
9
+ * Create an immutable proof.
10
+ */
11
+ Create: "immutable-proof/create",
12
+ /**
13
+ * Get an immutable proof.
14
+ */
15
+ Get: "immutable-proof/get",
16
+ /**
17
+ * Verify an immutable proof.
18
+ */
19
+ Verify: "immutable-proof/verify",
20
+ /**
21
+ * Remove an immutable proof.
22
+ */
23
+ Remove: "immutable-proof/remove"
24
+ };
25
+ //# sourceMappingURL=immutableProofSpanNames.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"immutableProofSpanNames.js","sourceRoot":"","sources":["../../../src/models/immutableProofSpanNames.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACtC;;OAEG;IACH,MAAM,EAAE,wBAAwB;IAEhC;;OAEG;IACH,GAAG,EAAE,qBAAqB;IAE1B;;OAEG;IACH,MAAM,EAAE,wBAAwB;IAEhC;;OAEG;IACH,MAAM,EAAE,wBAAwB;CACvB,CAAC","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The span names for the immutable proof domain.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const ImmutableProofSpanNames = {\n\t/**\n\t * Create an immutable proof.\n\t */\n\tCreate: \"immutable-proof/create\",\n\n\t/**\n\t * Get an immutable proof.\n\t */\n\tGet: \"immutable-proof/get\",\n\n\t/**\n\t * Verify an immutable proof.\n\t */\n\tVerify: \"immutable-proof/verify\",\n\n\t/**\n\t * Remove an immutable proof.\n\t */\n\tRemove: \"immutable-proof/remove\"\n} as const;\n\n/**\n * Union type of all immutable proof span name string values.\n */\nexport type ImmutableProofSpanNames =\n\t(typeof ImmutableProofSpanNames)[keyof typeof ImmutableProofSpanNames];\n"]}
@@ -14,5 +14,9 @@ export * from "./models/IImmutableProofDataIntegrity.js";
14
14
  export * from "./models/IImmutableProofVerification.js";
15
15
  export * from "./models/immutableProofContexts.js";
16
16
  export * from "./models/immutableProofFailure.js";
17
+ export * from "./models/immutableProofMetricIds.js";
18
+ export * from "./models/immutableProofMetrics.js";
19
+ export * from "./models/immutableProofSpanAttributes.js";
20
+ export * from "./models/immutableProofSpanNames.js";
17
21
  export * from "./models/immutableProofTopics.js";
18
22
  export * from "./models/immutableProofTypes.js";
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Metric IDs for the immutable proof service.
3
+ */
4
+ export declare const ImmutableProofMetricIds: {
5
+ /**
6
+ * Number of proofs created.
7
+ */
8
+ readonly ProofsCreated: "ip_proofs_created";
9
+ /**
10
+ * Number of proof verifications succeeded.
11
+ */
12
+ readonly VerificationsSucceeded: "ip_verifications_succeeded";
13
+ /**
14
+ * Number of proof verifications failed.
15
+ */
16
+ readonly VerificationsFailed: "ip_verifications_failed";
17
+ /**
18
+ * Number of proofs removed.
19
+ */
20
+ readonly ProofsRemoved: "ip_proofs_removed";
21
+ /**
22
+ * Number of notarizations removed.
23
+ */
24
+ readonly NotarizationsRemoved: "ip_notarizations_removed";
25
+ };
26
+ /**
27
+ * Union type of all immutable proof service metric ID string values.
28
+ */
29
+ export type ImmutableProofMetricIds = (typeof ImmutableProofMetricIds)[keyof typeof ImmutableProofMetricIds];
@@ -0,0 +1,5 @@
1
+ import { type ITelemetryMetric } from "@twin.org/telemetry-models";
2
+ /**
3
+ * Metrics registered by the immutable proof service.
4
+ */
5
+ export declare const ImmutableProofMetrics: ITelemetryMetric[];
@@ -0,0 +1,13 @@
1
+ /**
2
+ * The span attribute keys for the immutable proof domain.
3
+ */
4
+ export declare const ImmutableProofSpanAttributes: {
5
+ /**
6
+ * The id of the immutable proof the operation is for.
7
+ */
8
+ readonly Id: "immutable-proof.id";
9
+ };
10
+ /**
11
+ * Union type of all immutable proof span attribute key string values.
12
+ */
13
+ export type ImmutableProofSpanAttributes = (typeof ImmutableProofSpanAttributes)[keyof typeof ImmutableProofSpanAttributes];
@@ -0,0 +1,25 @@
1
+ /**
2
+ * The span names for the immutable proof domain.
3
+ */
4
+ export declare const ImmutableProofSpanNames: {
5
+ /**
6
+ * Create an immutable proof.
7
+ */
8
+ readonly Create: "immutable-proof/create";
9
+ /**
10
+ * Get an immutable proof.
11
+ */
12
+ readonly Get: "immutable-proof/get";
13
+ /**
14
+ * Verify an immutable proof.
15
+ */
16
+ readonly Verify: "immutable-proof/verify";
17
+ /**
18
+ * Remove an immutable proof.
19
+ */
20
+ readonly Remove: "immutable-proof/remove";
21
+ };
22
+ /**
23
+ * Union type of all immutable proof span name string values.
24
+ */
25
+ export type ImmutableProofSpanNames = (typeof ImmutableProofSpanNames)[keyof typeof ImmutableProofSpanNames];
package/docs/changelog.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.9.2-next.6](https://github.com/iotaledger/twin-immutable-proof/compare/immutable-proof-models-v0.9.2-next.5...immutable-proof-models-v0.9.2-next.6) (2026-08-21)
4
+
5
+
6
+ ### Features
7
+
8
+ * tracing ([#104](https://github.com/iotaledger/twin-immutable-proof/issues/104)) ([63069ac](https://github.com/iotaledger/twin-immutable-proof/commit/63069acf2813da477c0baf31b15ed52ce33129b1))
9
+
10
+ ## [0.9.2-next.5](https://github.com/iotaledger/twin-immutable-proof/compare/immutable-proof-models-v0.9.2-next.4...immutable-proof-models-v0.9.2-next.5) (2026-08-09)
11
+
12
+
13
+ ### Features
14
+
15
+ * add event-driven telemetry metrics ([#99](https://github.com/iotaledger/twin-immutable-proof/issues/99)) ([9ceb5dc](https://github.com/iotaledger/twin-immutable-proof/commit/9ceb5dcea75dcd239f5c551208c68d756ecf89a2))
16
+
3
17
  ## [0.9.2-next.4](https://github.com/iotaledger/twin-immutable-proof/compare/immutable-proof-models-v0.9.2-next.3...immutable-proof-models-v0.9.2-next.4) (2026-08-07)
4
18
 
5
19
 
@@ -24,6 +24,9 @@
24
24
 
25
25
  - [ImmutableProofContexts](type-aliases/ImmutableProofContexts.md)
26
26
  - [ImmutableProofFailure](type-aliases/ImmutableProofFailure.md)
27
+ - [ImmutableProofMetricIds](type-aliases/ImmutableProofMetricIds.md)
28
+ - [ImmutableProofSpanAttributes](type-aliases/ImmutableProofSpanAttributes.md)
29
+ - [ImmutableProofSpanNames](type-aliases/ImmutableProofSpanNames.md)
27
30
  - [ImmutableProofTopics](type-aliases/ImmutableProofTopics.md)
28
31
  - [ImmutableProofTypes](type-aliases/ImmutableProofTypes.md)
29
32
 
@@ -31,5 +34,9 @@
31
34
 
32
35
  - [ImmutableProofContexts](variables/ImmutableProofContexts.md)
33
36
  - [ImmutableProofFailure](variables/ImmutableProofFailure.md)
37
+ - [ImmutableProofMetricIds](variables/ImmutableProofMetricIds.md)
38
+ - [ImmutableProofMetrics](variables/ImmutableProofMetrics.md)
39
+ - [ImmutableProofSpanAttributes](variables/ImmutableProofSpanAttributes.md)
40
+ - [ImmutableProofSpanNames](variables/ImmutableProofSpanNames.md)
34
41
  - [ImmutableProofTopics](variables/ImmutableProofTopics.md)
35
42
  - [ImmutableProofTypes](variables/ImmutableProofTypes.md)
@@ -0,0 +1,5 @@
1
+ # Type Alias: ImmutableProofMetricIds
2
+
3
+ > **ImmutableProofMetricIds** = *typeof* [`ImmutableProofMetricIds`](../variables/ImmutableProofMetricIds.md)\[keyof *typeof* [`ImmutableProofMetricIds`](../variables/ImmutableProofMetricIds.md)\]
4
+
5
+ Union type of all immutable proof service metric ID string values.
@@ -0,0 +1,5 @@
1
+ # Type Alias: ImmutableProofSpanAttributes
2
+
3
+ > **ImmutableProofSpanAttributes** = *typeof* [`ImmutableProofSpanAttributes`](../variables/ImmutableProofSpanAttributes.md)\[keyof *typeof* [`ImmutableProofSpanAttributes`](../variables/ImmutableProofSpanAttributes.md)\]
4
+
5
+ Union type of all immutable proof span attribute key string values.
@@ -0,0 +1,5 @@
1
+ # Type Alias: ImmutableProofSpanNames
2
+
3
+ > **ImmutableProofSpanNames** = *typeof* [`ImmutableProofSpanNames`](../variables/ImmutableProofSpanNames.md)\[keyof *typeof* [`ImmutableProofSpanNames`](../variables/ImmutableProofSpanNames.md)\]
4
+
5
+ Union type of all immutable proof span name string values.
@@ -0,0 +1,37 @@
1
+ # Variable: ImmutableProofMetricIds
2
+
3
+ > `const` **ImmutableProofMetricIds**: `object`
4
+
5
+ Metric IDs for the immutable proof service.
6
+
7
+ ## Type Declaration
8
+
9
+ ### ProofsCreated {#proofscreated}
10
+
11
+ > `readonly` **ProofsCreated**: `"ip_proofs_created"` = `"ip_proofs_created"`
12
+
13
+ Number of proofs created.
14
+
15
+ ### VerificationsSucceeded {#verificationssucceeded}
16
+
17
+ > `readonly` **VerificationsSucceeded**: `"ip_verifications_succeeded"` = `"ip_verifications_succeeded"`
18
+
19
+ Number of proof verifications succeeded.
20
+
21
+ ### VerificationsFailed {#verificationsfailed}
22
+
23
+ > `readonly` **VerificationsFailed**: `"ip_verifications_failed"` = `"ip_verifications_failed"`
24
+
25
+ Number of proof verifications failed.
26
+
27
+ ### ProofsRemoved {#proofsremoved}
28
+
29
+ > `readonly` **ProofsRemoved**: `"ip_proofs_removed"` = `"ip_proofs_removed"`
30
+
31
+ Number of proofs removed.
32
+
33
+ ### NotarizationsRemoved {#notarizationsremoved}
34
+
35
+ > `readonly` **NotarizationsRemoved**: `"ip_notarizations_removed"` = `"ip_notarizations_removed"`
36
+
37
+ Number of notarizations removed.
@@ -0,0 +1,5 @@
1
+ # Variable: ImmutableProofMetrics
2
+
3
+ > `const` **ImmutableProofMetrics**: `ITelemetryMetric`[]
4
+
5
+ Metrics registered by the immutable proof service.
@@ -0,0 +1,13 @@
1
+ # Variable: ImmutableProofSpanAttributes
2
+
3
+ > `const` **ImmutableProofSpanAttributes**: `object`
4
+
5
+ The span attribute keys for the immutable proof domain.
6
+
7
+ ## Type Declaration
8
+
9
+ ### Id {#id}
10
+
11
+ > `readonly` **Id**: `"immutable-proof.id"` = `"immutable-proof.id"`
12
+
13
+ The id of the immutable proof the operation is for.
@@ -0,0 +1,31 @@
1
+ # Variable: ImmutableProofSpanNames
2
+
3
+ > `const` **ImmutableProofSpanNames**: `object`
4
+
5
+ The span names for the immutable proof domain.
6
+
7
+ ## Type Declaration
8
+
9
+ ### Create {#create}
10
+
11
+ > `readonly` **Create**: `"immutable-proof/create"` = `"immutable-proof/create"`
12
+
13
+ Create an immutable proof.
14
+
15
+ ### Get {#get}
16
+
17
+ > `readonly` **Get**: `"immutable-proof/get"` = `"immutable-proof/get"`
18
+
19
+ Get an immutable proof.
20
+
21
+ ### Verify {#verify}
22
+
23
+ > `readonly` **Verify**: `"immutable-proof/verify"` = `"immutable-proof/verify"`
24
+
25
+ Verify an immutable proof.
26
+
27
+ ### Remove {#remove}
28
+
29
+ > `readonly` **Remove**: `"immutable-proof/remove"` = `"immutable-proof/remove"`
30
+
31
+ Remove an immutable proof.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/immutable-proof-models",
3
- "version": "0.9.2-next.4",
3
+ "version": "0.9.2-next.6",
4
4
  "description": "Shared model contracts, schema types, and context constants for immutable proof workflows",
5
5
  "repository": {
6
6
  "type": "git",
@@ -20,6 +20,7 @@
20
20
  "@twin.org/entity": "next",
21
21
  "@twin.org/nameof": "next",
22
22
  "@twin.org/standards-w3c-did": "next",
23
+ "@twin.org/telemetry-models": "next",
23
24
  "@twin.org/web": "next"
24
25
  },
25
26
  "main": "./dist/es/index.js",