@twin.org/attestation-models 0.0.1-next.7 → 0.0.1-next.9

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 (35) hide show
  1. package/dist/cjs/index.cjs +180 -0
  2. package/dist/esm/index.mjs +179 -1
  3. package/dist/types/dataTypes/attestationDataTypes.d.ts +9 -0
  4. package/dist/types/index.d.ts +8 -8
  5. package/dist/types/models/IAttestationComponent.d.ts +8 -12
  6. package/dist/types/models/IAttestationConnector.d.ts +6 -10
  7. package/dist/types/models/IAttestationInformation.d.ts +25 -9
  8. package/dist/types/models/IAttestationJwtProof.d.ts +18 -0
  9. package/dist/types/models/api/{IAttestationAttestRequest.d.ts → IAttestationCreateRequest.d.ts} +3 -3
  10. package/dist/types/models/api/IAttestationGetRequest.d.ts +21 -0
  11. package/dist/types/models/api/IAttestationGetResponse.d.ts +17 -0
  12. package/dist/types/models/attestationTypes.d.ts +21 -0
  13. package/docs/changelog.md +1 -1
  14. package/docs/reference/classes/AttestationDataTypes.md +25 -0
  15. package/docs/reference/index.md +13 -6
  16. package/docs/reference/interfaces/IAttestationComponent.md +13 -37
  17. package/docs/reference/interfaces/IAttestationConnector.md +11 -35
  18. package/docs/reference/interfaces/{IAttestationAttestRequest.md → IAttestationCreateRequest.md} +4 -4
  19. package/docs/reference/interfaces/IAttestationGetRequest.md +29 -0
  20. package/docs/reference/interfaces/IAttestationGetResponse.md +23 -0
  21. package/docs/reference/interfaces/IAttestationInformation.md +44 -16
  22. package/docs/reference/interfaces/IAttestationJwtProof.md +27 -0
  23. package/docs/reference/type-aliases/AttestationTypes.md +5 -0
  24. package/docs/reference/variables/AttestationTypes.md +25 -0
  25. package/package.json +4 -2
  26. package/dist/types/models/IAttestationProof.d.ts +0 -13
  27. package/dist/types/models/api/IAttestationAttestResponse.d.ts +0 -15
  28. package/dist/types/models/api/IAttestationTransferResponse.d.ts +0 -15
  29. package/dist/types/models/api/IAttestationVerifyRequest.d.ts +0 -14
  30. package/dist/types/models/api/IAttestationVerifyResponse.d.ts +0 -23
  31. package/docs/reference/interfaces/IAttestationAttestResponse.md +0 -17
  32. package/docs/reference/interfaces/IAttestationProof.md +0 -19
  33. package/docs/reference/interfaces/IAttestationTransferResponse.md +0 -17
  34. package/docs/reference/interfaces/IAttestationVerifyRequest.md +0 -17
  35. package/docs/reference/interfaces/IAttestationVerifyResponse.md +0 -29
@@ -1,17 +0,0 @@
1
- # Interface: IAttestationVerifyRequest
2
-
3
- Verify that the proof is valid for the attestation.
4
-
5
- ## Properties
6
-
7
- ### pathParams
8
-
9
- > **pathParams**: `object`
10
-
11
- The parameters to be used in the verification.
12
-
13
- #### id
14
-
15
- > **id**: `string`
16
-
17
- The attestation id to verify.
@@ -1,29 +0,0 @@
1
- # Interface: IAttestationVerifyResponse
2
-
3
- The response to verifying the attestation.
4
-
5
- ## Properties
6
-
7
- ### body
8
-
9
- > **body**: `object`
10
-
11
- The data returned from the verification response.
12
-
13
- #### verified
14
-
15
- > **verified**: `boolean`
16
-
17
- Whether the attestation is verified.
18
-
19
- #### failure?
20
-
21
- > `optional` **failure**: `string`
22
-
23
- The failure message if the attestation is not verified.
24
-
25
- #### information?
26
-
27
- > `optional` **information**: `Partial`\<[`IAttestationInformation`](IAttestationInformation.md)\<`IJsonLdNodeObject`\>\>
28
-
29
- The attestation information.