@twin.org/attestation-models 0.0.1-next.6 → 0.0.1-next.8
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/cjs/index.cjs +180 -0
- package/dist/esm/index.mjs +179 -1
- package/dist/types/dataTypes/attestationDataTypes.d.ts +9 -0
- package/dist/types/index.d.ts +8 -8
- package/dist/types/models/IAttestationComponent.d.ts +8 -12
- package/dist/types/models/IAttestationConnector.d.ts +6 -10
- package/dist/types/models/IAttestationInformation.d.ts +25 -9
- package/dist/types/models/IAttestationJwtProof.d.ts +18 -0
- package/dist/types/models/api/{IAttestationAttestRequest.d.ts → IAttestationCreateRequest.d.ts} +3 -3
- package/dist/types/models/api/IAttestationGetRequest.d.ts +21 -0
- package/dist/types/models/api/IAttestationGetResponse.d.ts +17 -0
- package/dist/types/models/attestationTypes.d.ts +21 -0
- package/docs/changelog.md +1 -1
- package/docs/reference/classes/AttestationDataTypes.md +25 -0
- package/docs/reference/index.md +13 -6
- package/docs/reference/interfaces/IAttestationComponent.md +13 -37
- package/docs/reference/interfaces/IAttestationConnector.md +11 -35
- package/docs/reference/interfaces/{IAttestationAttestRequest.md → IAttestationCreateRequest.md} +4 -4
- package/docs/reference/interfaces/IAttestationGetRequest.md +29 -0
- package/docs/reference/interfaces/IAttestationGetResponse.md +23 -0
- package/docs/reference/interfaces/IAttestationInformation.md +44 -16
- package/docs/reference/interfaces/IAttestationJwtProof.md +27 -0
- package/docs/reference/type-aliases/AttestationTypes.md +5 -0
- package/docs/reference/variables/AttestationTypes.md +25 -0
- package/package.json +4 -2
- package/dist/types/models/IAttestationProof.d.ts +0 -13
- package/dist/types/models/api/IAttestationAttestResponse.d.ts +0 -12
- package/dist/types/models/api/IAttestationTransferResponse.d.ts +0 -15
- package/dist/types/models/api/IAttestationVerifyRequest.d.ts +0 -14
- package/dist/types/models/api/IAttestationVerifyResponse.d.ts +0 -23
- package/docs/reference/interfaces/IAttestationAttestResponse.md +0 -15
- package/docs/reference/interfaces/IAttestationProof.md +0 -19
- package/docs/reference/interfaces/IAttestationTransferResponse.md +0 -17
- package/docs/reference/interfaces/IAttestationVerifyRequest.md +0 -17
- 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.
|