/** * @packageDocumentation * @module IdentityVM-Interfaces */ export interface Identity { id: string; did: string; publicKey: string; controller: string; created: string; updated: string; status: string; } export interface CreateIdentityParams { publicKey: string; controller: string; } export interface CreateIdentityResponse { id: string; did: string; } export interface Credential { id: string; issuerDid: string; subjectDid: string; type: string; claims: object; issuedAt: string; expiresAt: string; status: string; proof: string; } export interface IssueCredentialParams { issuerDid: string; subjectDid: string; type: string; claims: object; expiresAt?: string; } export interface IssueCredentialResponse { credentialId: string; expirationDate: string; } export interface VerifyCredentialParams { credentialId: string; } export interface VerifyCredentialResponse { valid: boolean; issuerDid: string; subjectDid: string; type: string; expired: boolean; revoked: boolean; } export interface RevokeCredentialParams { credentialId: string; reason: string; } export interface CreateProofParams { credentialId: string; disclosedFields: string[]; } export interface CreateProofResponse { credentialId: string; issuerDid: string; subjectDid: string; credType: string; claimsCommitment: string; } export interface Issuer { id: string; did: string; name: string; type: string; status: string; credentialsIssued: number; } export interface RegisterIssuerParams { did: string; name: string; type: string; } export interface ListIssuersParams { type?: string; status?: string; } export interface IdentityHealthResponse { healthy: boolean; identities: number; credentials: number; issuers: number; } //# sourceMappingURL=interfaces.d.ts.map