@twin.org/immutable-proof-models 0.0.3-next.14 → 0.0.3-next.16

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.
Files changed (28) hide show
  1. package/dist/es/index.js +4 -0
  2. package/dist/es/index.js.map +1 -1
  3. package/dist/es/models/IImmutableProofComponent.js.map +1 -1
  4. package/dist/es/models/IImmutableProofCredential.js +2 -0
  5. package/dist/es/models/IImmutableProofCredential.js.map +1 -0
  6. package/dist/es/models/IImmutableProofDataIntegrity.js +4 -0
  7. package/dist/es/models/IImmutableProofDataIntegrity.js.map +1 -0
  8. package/dist/es/models/api/IImmutableProofGetResponse.js.map +1 -1
  9. package/dist/es/models/api/IImmutableProofRemoveNotarizationRequest.js +4 -0
  10. package/dist/es/models/api/IImmutableProofRemoveNotarizationRequest.js.map +1 -0
  11. package/dist/es/models/api/IImmutableProofRemoveRequest.js +4 -0
  12. package/dist/es/models/api/IImmutableProofRemoveRequest.js.map +1 -0
  13. package/dist/types/index.d.ts +4 -0
  14. package/dist/types/models/IImmutableProofComponent.d.ts +12 -5
  15. package/dist/types/models/IImmutableProofCredential.d.ts +11 -0
  16. package/dist/types/models/IImmutableProofDataIntegrity.d.ts +10 -0
  17. package/dist/types/models/api/IImmutableProofGetResponse.d.ts +2 -2
  18. package/dist/types/models/api/IImmutableProofRemoveNotarizationRequest.d.ts +14 -0
  19. package/dist/types/models/api/IImmutableProofRemoveRequest.d.ts +14 -0
  20. package/docs/changelog.md +37 -0
  21. package/docs/reference/index.md +4 -0
  22. package/docs/reference/interfaces/IImmutableProofComponent.md +32 -6
  23. package/docs/reference/interfaces/IImmutableProofCredential.md +15 -0
  24. package/docs/reference/interfaces/IImmutableProofDataIntegrity.md +11 -0
  25. package/docs/reference/interfaces/IImmutableProofGetResponse.md +1 -1
  26. package/docs/reference/interfaces/IImmutableProofRemoveNotarizationRequest.md +17 -0
  27. package/docs/reference/interfaces/IImmutableProofRemoveRequest.md +17 -0
  28. package/package.json +1 -1
package/dist/es/index.js CHANGED
@@ -4,11 +4,15 @@ export * from "./dataTypes/immutableProofDataTypes.js";
4
4
  export * from "./models/api/IImmutableProofCreateRequest.js";
5
5
  export * from "./models/api/IImmutableProofGetRequest.js";
6
6
  export * from "./models/api/IImmutableProofGetResponse.js";
7
+ export * from "./models/api/IImmutableProofRemoveNotarizationRequest.js";
8
+ export * from "./models/api/IImmutableProofRemoveRequest.js";
7
9
  export * from "./models/api/IImmutableProofVerifyRequest.js";
8
10
  export * from "./models/api/IImmutableProofVerifyResponse.js";
9
11
  export * from "./models/eventBus/IImmutableProofEventBusProofCreated.js";
10
12
  export * from "./models/IImmutableProof.js";
11
13
  export * from "./models/IImmutableProofComponent.js";
14
+ export * from "./models/IImmutableProofCredential.js";
15
+ export * from "./models/IImmutableProofDataIntegrity.js";
12
16
  export * from "./models/IImmutableProofVerification.js";
13
17
  export * from "./models/immutableProofContexts.js";
14
18
  export * from "./models/immutableProofFailure.js";
@@ -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,8CAA8C,CAAC;AAC7D,cAAc,+CAA+C,CAAC;AAC9D,cAAc,0DAA0D,CAAC;AACzE,cAAc,6BAA6B,CAAC;AAC5C,cAAc,sCAAsC,CAAC;AACrD,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/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/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,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 +1 @@
1
- {"version":3,"file":"IImmutableProofComponent.js","sourceRoot":"","sources":["../../../src/models/IImmutableProofComponent.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IComponent } from \"@twin.org/core\";\nimport type { IJsonLdNodeObject } from \"@twin.org/data-json-ld\";\nimport type { IDidVerifiableCredential } from \"@twin.org/standards-w3c-did\";\nimport type { IImmutableProofVerification } from \"./IImmutableProofVerification.js\";\n\n/**\n * Interface describing an immutable proof contract.\n */\nexport interface IImmutableProofComponent extends IComponent {\n\t/**\n\t * Create a new proof.\n\t * @param document The document to create the proof for.\n\t * @param options Optional settings for the proof.\n\t * @param options.deleteLock An ISO 8601 date-time string specifying when the notarization lock expires; if omitted no lock is applied.\n\t * @returns The id of the new proof.\n\t */\n\tcreate(document: IJsonLdNodeObject, options?: { deleteLock?: string }): Promise<string>;\n\n\t/**\n\t * Get a proof.\n\t * @param id The id of the proof to get.\n\t * @returns The proof.\n\t * @throws NotFoundError if the proof is not found.\n\t */\n\tget(id: string): Promise<IDidVerifiableCredential>;\n\n\t/**\n\t * Verify a proof.\n\t * @param id The id of the proof to verify.\n\t * @returns The result of the verification and any failures.\n\t * @throws NotFoundError if the proof is not found.\n\t */\n\tverify(id: string): Promise<IImmutableProofVerification>;\n\n\t/**\n\t * Remove the verifiable storage for the proof.\n\t * @param id The id of the proof to remove the storage from.\n\t * @returns Nothing.\n\t * @throws NotFoundError if the proof is not found.\n\t */\n\tremoveVerifiable(id: string): Promise<void>;\n}\n"]}
1
+ {"version":3,"file":"IImmutableProofComponent.js","sourceRoot":"","sources":["../../../src/models/IImmutableProofComponent.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IComponent } from \"@twin.org/core\";\nimport type { IJsonLdNodeObject } from \"@twin.org/data-json-ld\";\nimport type { IImmutableProofCredential } from \"./IImmutableProofCredential.js\";\nimport type { IImmutableProofVerification } from \"./IImmutableProofVerification.js\";\n\n/**\n * Interface describing an immutable proof contract.\n */\nexport interface IImmutableProofComponent extends IComponent {\n\t/**\n\t * Create a new proof.\n\t * @param document The document to create the proof for.\n\t * @param options Optional settings for the proof.\n\t * @param options.deleteLock An ISO 8601 date-time string specifying when the notarization lock expires; if omitted no lock is applied.\n\t * @returns The id of the new proof.\n\t */\n\tcreate(document: IJsonLdNodeObject, options?: { deleteLock?: string }): Promise<string>;\n\n\t/**\n\t * Get a proof.\n\t * @param id The id of the proof to get.\n\t * @returns The proof.\n\t * @throws NotFoundError if the proof is not found.\n\t */\n\tget(id: string): Promise<IImmutableProofCredential>;\n\n\t/**\n\t * Verify a proof.\n\t * @param id The id of the proof to verify.\n\t * @returns The result of the verification and any failures.\n\t * @throws NotFoundError if the proof is not found.\n\t */\n\tverify(id: string): Promise<IImmutableProofVerification>;\n\n\t/**\n\t * Remove the proof and its notarization.\n\t * @param id The id of the proof to remove.\n\t * @returns Nothing.\n\t * @throws NotFoundError if the proof is not found.\n\t */\n\tremove(id: string): Promise<void>;\n\n\t/**\n\t * Remove only the notarization for the proof, keeping the proof entity.\n\t * @param id The id of the proof to remove the notarization from.\n\t * @returns Nothing.\n\t * @throws NotFoundError if the proof is not found.\n\t */\n\tremoveNotarization(id: string): Promise<void>;\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IImmutableProofCredential.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IImmutableProofCredential.js","sourceRoot":"","sources":["../../../src/models/IImmutableProofCredential.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IDidVerifiableCredential, IProof } from \"@twin.org/standards-w3c-did\";\nimport type { IImmutableProofDataIntegrity } from \"./IImmutableProofDataIntegrity.js\";\n\n/**\n * Interface describing an immutable proof credential.\n */\nexport interface IImmutableProofCredential extends Omit<IDidVerifiableCredential, \"proof\"> {\n\t/**\n\t * The proof of the verifiable credential, which includes the data integrity information.\n\t */\n\tproof?: IProof & IImmutableProofDataIntegrity;\n}\n"]}
@@ -0,0 +1,4 @@
1
+ // Copyright 2024 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ export {};
4
+ //# sourceMappingURL=IImmutableProofDataIntegrity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IImmutableProofDataIntegrity.js","sourceRoot":"","sources":["../../../src/models/IImmutableProofDataIntegrity.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Interface describing an immutable proof state.\n */\nexport interface IImmutableProofDataIntegrity {\n\t/**\n\t * The notarization id.\n\t * @json-ld id\n\t */\n\tnotarizationId?: string;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"IImmutableProofGetResponse.js","sourceRoot":"","sources":["../../../../src/models/api/IImmutableProofGetResponse.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IDidVerifiableCredential } from \"@twin.org/standards-w3c-did\";\nimport type { HeaderTypes, MimeTypes } from \"@twin.org/web\";\n\n/**\n * Response to getting an immutable proof.\n */\nexport interface IImmutableProofGetResponse {\n\t/**\n\t * The headers which can be used to determine the response data type.\n\t */\n\theaders?: {\n\t\t[HeaderTypes.ContentType]: typeof MimeTypes.Json | typeof MimeTypes.JsonLd;\n\t};\n\n\t/**\n\t * The response body.\n\t */\n\tbody: IDidVerifiableCredential;\n}\n"]}
1
+ {"version":3,"file":"IImmutableProofGetResponse.js","sourceRoot":"","sources":["../../../../src/models/api/IImmutableProofGetResponse.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { HeaderTypes, MimeTypes } from \"@twin.org/web\";\nimport type { IImmutableProofCredential } from \"../IImmutableProofCredential.js\";\n\n/**\n * Response to getting an immutable proof.\n */\nexport interface IImmutableProofGetResponse {\n\t/**\n\t * The headers which can be used to determine the response data type.\n\t */\n\theaders?: {\n\t\t[HeaderTypes.ContentType]: typeof MimeTypes.Json | typeof MimeTypes.JsonLd;\n\t};\n\n\t/**\n\t * The response body.\n\t */\n\tbody: IImmutableProofCredential;\n}\n"]}
@@ -0,0 +1,4 @@
1
+ // Copyright 2024 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ export {};
4
+ //# sourceMappingURL=IImmutableProofRemoveNotarizationRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IImmutableProofRemoveNotarizationRequest.js","sourceRoot":"","sources":["../../../../src/models/api/IImmutableProofRemoveNotarizationRequest.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Remove the notarization for a proof.\n */\nexport interface IImmutableProofRemoveNotarizationRequest {\n\t/**\n\t * The parameters from the path.\n\t */\n\tpathParams: {\n\t\t/**\n\t\t * The id of the immutable proof to remove the notarization from.\n\t\t */\n\t\tid: string;\n\t};\n}\n"]}
@@ -0,0 +1,4 @@
1
+ // Copyright 2024 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ export {};
4
+ //# sourceMappingURL=IImmutableProofRemoveRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IImmutableProofRemoveRequest.js","sourceRoot":"","sources":["../../../../src/models/api/IImmutableProofRemoveRequest.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Remove a proof.\n */\nexport interface IImmutableProofRemoveRequest {\n\t/**\n\t * The parameters from the path.\n\t */\n\tpathParams: {\n\t\t/**\n\t\t * The id of the immutable proof to remove.\n\t\t */\n\t\tid: string;\n\t};\n}\n"]}
@@ -2,11 +2,15 @@ export * from "./dataTypes/immutableProofDataTypes.js";
2
2
  export * from "./models/api/IImmutableProofCreateRequest.js";
3
3
  export * from "./models/api/IImmutableProofGetRequest.js";
4
4
  export * from "./models/api/IImmutableProofGetResponse.js";
5
+ export * from "./models/api/IImmutableProofRemoveNotarizationRequest.js";
6
+ export * from "./models/api/IImmutableProofRemoveRequest.js";
5
7
  export * from "./models/api/IImmutableProofVerifyRequest.js";
6
8
  export * from "./models/api/IImmutableProofVerifyResponse.js";
7
9
  export * from "./models/eventBus/IImmutableProofEventBusProofCreated.js";
8
10
  export * from "./models/IImmutableProof.js";
9
11
  export * from "./models/IImmutableProofComponent.js";
12
+ export * from "./models/IImmutableProofCredential.js";
13
+ export * from "./models/IImmutableProofDataIntegrity.js";
10
14
  export * from "./models/IImmutableProofVerification.js";
11
15
  export * from "./models/immutableProofContexts.js";
12
16
  export * from "./models/immutableProofFailure.js";
@@ -1,6 +1,6 @@
1
1
  import type { IComponent } from "@twin.org/core";
2
2
  import type { IJsonLdNodeObject } from "@twin.org/data-json-ld";
3
- import type { IDidVerifiableCredential } from "@twin.org/standards-w3c-did";
3
+ import type { IImmutableProofCredential } from "./IImmutableProofCredential.js";
4
4
  import type { IImmutableProofVerification } from "./IImmutableProofVerification.js";
5
5
  /**
6
6
  * Interface describing an immutable proof contract.
@@ -22,7 +22,7 @@ export interface IImmutableProofComponent extends IComponent {
22
22
  * @returns The proof.
23
23
  * @throws NotFoundError if the proof is not found.
24
24
  */
25
- get(id: string): Promise<IDidVerifiableCredential>;
25
+ get(id: string): Promise<IImmutableProofCredential>;
26
26
  /**
27
27
  * Verify a proof.
28
28
  * @param id The id of the proof to verify.
@@ -31,10 +31,17 @@ export interface IImmutableProofComponent extends IComponent {
31
31
  */
32
32
  verify(id: string): Promise<IImmutableProofVerification>;
33
33
  /**
34
- * Remove the verifiable storage for the proof.
35
- * @param id The id of the proof to remove the storage from.
34
+ * Remove the proof and its notarization.
35
+ * @param id The id of the proof to remove.
36
36
  * @returns Nothing.
37
37
  * @throws NotFoundError if the proof is not found.
38
38
  */
39
- removeVerifiable(id: string): Promise<void>;
39
+ remove(id: string): Promise<void>;
40
+ /**
41
+ * Remove only the notarization for the proof, keeping the proof entity.
42
+ * @param id The id of the proof to remove the notarization from.
43
+ * @returns Nothing.
44
+ * @throws NotFoundError if the proof is not found.
45
+ */
46
+ removeNotarization(id: string): Promise<void>;
40
47
  }
@@ -0,0 +1,11 @@
1
+ import type { IDidVerifiableCredential, IProof } from "@twin.org/standards-w3c-did";
2
+ import type { IImmutableProofDataIntegrity } from "./IImmutableProofDataIntegrity.js";
3
+ /**
4
+ * Interface describing an immutable proof credential.
5
+ */
6
+ export interface IImmutableProofCredential extends Omit<IDidVerifiableCredential, "proof"> {
7
+ /**
8
+ * The proof of the verifiable credential, which includes the data integrity information.
9
+ */
10
+ proof?: IProof & IImmutableProofDataIntegrity;
11
+ }
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Interface describing an immutable proof state.
3
+ */
4
+ export interface IImmutableProofDataIntegrity {
5
+ /**
6
+ * The notarization id.
7
+ * @json-ld id
8
+ */
9
+ notarizationId?: string;
10
+ }
@@ -1,5 +1,5 @@
1
- import type { IDidVerifiableCredential } from "@twin.org/standards-w3c-did";
2
1
  import type { HeaderTypes, MimeTypes } from "@twin.org/web";
2
+ import type { IImmutableProofCredential } from "../IImmutableProofCredential.js";
3
3
  /**
4
4
  * Response to getting an immutable proof.
5
5
  */
@@ -13,5 +13,5 @@ export interface IImmutableProofGetResponse {
13
13
  /**
14
14
  * The response body.
15
15
  */
16
- body: IDidVerifiableCredential;
16
+ body: IImmutableProofCredential;
17
17
  }
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Remove the notarization for a proof.
3
+ */
4
+ export interface IImmutableProofRemoveNotarizationRequest {
5
+ /**
6
+ * The parameters from the path.
7
+ */
8
+ pathParams: {
9
+ /**
10
+ * The id of the immutable proof to remove the notarization from.
11
+ */
12
+ id: string;
13
+ };
14
+ }
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Remove a proof.
3
+ */
4
+ export interface IImmutableProofRemoveRequest {
5
+ /**
6
+ * The parameters from the path.
7
+ */
8
+ pathParams: {
9
+ /**
10
+ * The id of the immutable proof to remove.
11
+ */
12
+ id: string;
13
+ };
14
+ }
package/docs/changelog.md CHANGED
@@ -1,5 +1,42 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.0.3-next.16](https://github.com/iotaledger/twin-immutable-proof/compare/immutable-proof-models-v0.0.3-next.15...immutable-proof-models-v0.0.3-next.16) (2026-05-29)
4
+
5
+
6
+ ### Features
7
+
8
+ * add context id features ([#14](https://github.com/iotaledger/twin-immutable-proof/issues/14)) ([ed5a594](https://github.com/iotaledger/twin-immutable-proof/commit/ed5a594eaa7d50f74b1c09a7a560d48b33a4ecd1))
9
+ * add missing proof type registration ([1e9f52b](https://github.com/iotaledger/twin-immutable-proof/commit/1e9f52b88ab201e97c9d2aa7611fb8f77a82d614))
10
+ * add ts-to-jsonld-context tool ([871191b](https://github.com/iotaledger/twin-immutable-proof/commit/871191b75cb82c2f6daaab08a71384ba92f02a64))
11
+ * add validate-locales ([d6a7c07](https://github.com/iotaledger/twin-immutable-proof/commit/d6a7c0794a1922981a42f56cc24724d7cee727f6))
12
+ * eslint migration to flat config ([c8536f2](https://github.com/iotaledger/twin-immutable-proof/commit/c8536f219c7709c6c08b9266e537831f9054dda9))
13
+ * immutable proof as vc ([#31](https://github.com/iotaledger/twin-immutable-proof/issues/31)) ([79cdb03](https://github.com/iotaledger/twin-immutable-proof/commit/79cdb03eb86c4f6d2ab1d5bf235f74ff74e8b877))
14
+ * replace verifiable storage with notarization as immutable proof ([#41](https://github.com/iotaledger/twin-immutable-proof/issues/41)) ([54f2154](https://github.com/iotaledger/twin-immutable-proof/commit/54f215469b0bdc9ea94cad572ca13b8533144104))
15
+ * typescript 6 update ([34d8aea](https://github.com/iotaledger/twin-immutable-proof/commit/34d8aea0ea0c1e1252de1882517abb1683d98313))
16
+ * update contexts ([#22](https://github.com/iotaledger/twin-immutable-proof/issues/22)) ([645b880](https://github.com/iotaledger/twin-immutable-proof/commit/645b8803540408c74e3891b2c5ff9aefd5908d9f))
17
+ * update contexts and namespaces ([#20](https://github.com/iotaledger/twin-immutable-proof/issues/20)) ([d38aa69](https://github.com/iotaledger/twin-immutable-proof/commit/d38aa696c73e4fcc304f08fb458d5900109abcb4))
18
+ * update data types to use fully qualified names ([e94d0f5](https://github.com/iotaledger/twin-immutable-proof/commit/e94d0f5db93856b5b59cfd34e55252fa13a7f4e0))
19
+ * update dependencies ([1ec6b18](https://github.com/iotaledger/twin-immutable-proof/commit/1ec6b18e93198a8fc4935700863cdab1c3df7b64))
20
+ * update dependencies ([7d6b321](https://github.com/iotaledger/twin-immutable-proof/commit/7d6b321928ca0434ee530816b1440f1687b94a6e))
21
+ * update framework core ([e708d4d](https://github.com/iotaledger/twin-immutable-proof/commit/e708d4dd3febcfbcd64663d5be004eab1d26c0fb))
22
+ * update remove methods ([#45](https://github.com/iotaledger/twin-immutable-proof/issues/45)) ([9db19bb](https://github.com/iotaledger/twin-immutable-proof/commit/9db19bb4c8e6f5d66139755e8b8a8071a77c4887))
23
+ * update schemas ([ab0569a](https://github.com/iotaledger/twin-immutable-proof/commit/ab0569adf3419beefd8aef7793fdbe5b2fe2d93e))
24
+ * update ts-to-schema generation ([c4fc864](https://github.com/iotaledger/twin-immutable-proof/commit/c4fc8646e7b8ee040d356f7f0f3b2d6f4ac63e40))
25
+ * update twindev schemas ([d2bb94b](https://github.com/iotaledger/twin-immutable-proof/commit/d2bb94b31e61f899e41dbca1b1aeb2b3bb70b229))
26
+ * use shared store mechanism ([#3](https://github.com/iotaledger/twin-immutable-proof/issues/3)) ([7042a40](https://github.com/iotaledger/twin-immutable-proof/commit/7042a40f0ef8b01463f07aeb1efae4f417162fa1))
27
+
28
+
29
+ ### Bug Fixes
30
+
31
+ * Missing user and node identity on create ([#1](https://github.com/iotaledger/twin-immutable-proof/issues/1)) ([80ea2f9](https://github.com/iotaledger/twin-immutable-proof/commit/80ea2f901afc7531f4a522227a61e6fa1482484d))
32
+
33
+ ## [0.0.3-next.15](https://github.com/iotaledger/twin-immutable-proof/compare/immutable-proof-models-v0.0.3-next.14...immutable-proof-models-v0.0.3-next.15) (2026-05-29)
34
+
35
+
36
+ ### Features
37
+
38
+ * update remove methods ([#45](https://github.com/iotaledger/twin-immutable-proof/issues/45)) ([9db19bb](https://github.com/iotaledger/twin-immutable-proof/commit/9db19bb4c8e6f5d66139755e8b8a8071a77c4887))
39
+
3
40
  ## [0.0.3-next.14](https://github.com/iotaledger/twin-immutable-proof/compare/immutable-proof-models-v0.0.3-next.13...immutable-proof-models-v0.0.3-next.14) (2026-05-28)
4
41
 
5
42
 
@@ -8,10 +8,14 @@
8
8
 
9
9
  - [IImmutableProof](interfaces/IImmutableProof.md)
10
10
  - [IImmutableProofComponent](interfaces/IImmutableProofComponent.md)
11
+ - [IImmutableProofCredential](interfaces/IImmutableProofCredential.md)
12
+ - [IImmutableProofDataIntegrity](interfaces/IImmutableProofDataIntegrity.md)
11
13
  - [IImmutableProofVerification](interfaces/IImmutableProofVerification.md)
12
14
  - [IImmutableProofCreateRequest](interfaces/IImmutableProofCreateRequest.md)
13
15
  - [IImmutableProofGetRequest](interfaces/IImmutableProofGetRequest.md)
14
16
  - [IImmutableProofGetResponse](interfaces/IImmutableProofGetResponse.md)
17
+ - [IImmutableProofRemoveNotarizationRequest](interfaces/IImmutableProofRemoveNotarizationRequest.md)
18
+ - [IImmutableProofRemoveRequest](interfaces/IImmutableProofRemoveRequest.md)
15
19
  - [IImmutableProofVerifyRequest](interfaces/IImmutableProofVerifyRequest.md)
16
20
  - [IImmutableProofVerifyResponse](interfaces/IImmutableProofVerifyResponse.md)
17
21
  - [IImmutableProofEventBusProofCreated](interfaces/IImmutableProofEventBusProofCreated.md)
@@ -42,7 +42,7 @@ The id of the new proof.
42
42
 
43
43
  ### get() {#get}
44
44
 
45
- > **get**(`id`): `Promise`\<`IDidVerifiableCredential`\>
45
+ > **get**(`id`): `Promise`\<[`IImmutableProofCredential`](IImmutableProofCredential.md)\>
46
46
 
47
47
  Get a proof.
48
48
 
@@ -56,7 +56,7 @@ The id of the proof to get.
56
56
 
57
57
  #### Returns
58
58
 
59
- `Promise`\<`IDidVerifiableCredential`\>
59
+ `Promise`\<[`IImmutableProofCredential`](IImmutableProofCredential.md)\>
60
60
 
61
61
  The proof.
62
62
 
@@ -92,11 +92,11 @@ NotFoundError if the proof is not found.
92
92
 
93
93
  ***
94
94
 
95
- ### removeVerifiable() {#removeverifiable}
95
+ ### remove() {#remove}
96
96
 
97
- > **removeVerifiable**(`id`): `Promise`\<`void`\>
97
+ > **remove**(`id`): `Promise`\<`void`\>
98
98
 
99
- Remove the verifiable storage for the proof.
99
+ Remove the proof and its notarization.
100
100
 
101
101
  #### Parameters
102
102
 
@@ -104,7 +104,33 @@ Remove the verifiable storage for the proof.
104
104
 
105
105
  `string`
106
106
 
107
- The id of the proof to remove the storage from.
107
+ The id of the proof to remove.
108
+
109
+ #### Returns
110
+
111
+ `Promise`\<`void`\>
112
+
113
+ Nothing.
114
+
115
+ #### Throws
116
+
117
+ NotFoundError if the proof is not found.
118
+
119
+ ***
120
+
121
+ ### removeNotarization() {#removenotarization}
122
+
123
+ > **removeNotarization**(`id`): `Promise`\<`void`\>
124
+
125
+ Remove only the notarization for the proof, keeping the proof entity.
126
+
127
+ #### Parameters
128
+
129
+ ##### id
130
+
131
+ `string`
132
+
133
+ The id of the proof to remove the notarization from.
108
134
 
109
135
  #### Returns
110
136
 
@@ -0,0 +1,15 @@
1
+ # Interface: IImmutableProofCredential
2
+
3
+ Interface describing an immutable proof credential.
4
+
5
+ ## Extends
6
+
7
+ - `Omit`\<`IDidVerifiableCredential`, `"proof"`\>
8
+
9
+ ## Properties
10
+
11
+ ### proof? {#proof}
12
+
13
+ > `optional` **proof?**: IProof & IImmutableProofDataIntegrity
14
+
15
+ The proof of the verifiable credential, which includes the data integrity information.
@@ -0,0 +1,11 @@
1
+ # Interface: IImmutableProofDataIntegrity
2
+
3
+ Interface describing an immutable proof state.
4
+
5
+ ## Properties
6
+
7
+ ### notarizationId? {#notarizationid}
8
+
9
+ > `optional` **notarizationId?**: `string`
10
+
11
+ The notarization id.
@@ -18,6 +18,6 @@ The headers which can be used to determine the response data type.
18
18
 
19
19
  ### body {#body}
20
20
 
21
- > **body**: `IDidVerifiableCredential`
21
+ > **body**: [`IImmutableProofCredential`](IImmutableProofCredential.md)
22
22
 
23
23
  The response body.
@@ -0,0 +1,17 @@
1
+ # Interface: IImmutableProofRemoveNotarizationRequest
2
+
3
+ Remove the notarization for a proof.
4
+
5
+ ## Properties
6
+
7
+ ### pathParams {#pathparams}
8
+
9
+ > **pathParams**: `object`
10
+
11
+ The parameters from the path.
12
+
13
+ #### id
14
+
15
+ > **id**: `string`
16
+
17
+ The id of the immutable proof to remove the notarization from.
@@ -0,0 +1,17 @@
1
+ # Interface: IImmutableProofRemoveRequest
2
+
3
+ Remove a proof.
4
+
5
+ ## Properties
6
+
7
+ ### pathParams {#pathparams}
8
+
9
+ > **pathParams**: `object`
10
+
11
+ The parameters from the path.
12
+
13
+ #### id
14
+
15
+ > **id**: `string`
16
+
17
+ The id of the immutable proof to remove.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/immutable-proof-models",
3
- "version": "0.0.3-next.14",
3
+ "version": "0.0.3-next.16",
4
4
  "description": "Shared model contracts, schema types, and context constants for immutable proof workflows",
5
5
  "repository": {
6
6
  "type": "git",