import { IdentitySummary } from '../../../models/arianee-identity'; import { EventContent } from '../../../models/blockchainEvent'; import { ArianeeTokenId } from '../../../models/ArianeeTokenId'; import { GenericJsonSchema } from '../../../models/jsonSchema/certificates/ArianeeProducti18n'; export interface Serialnumber { type: string; value: string; } export interface Picture { src: string; } export interface Socialmedia { instagram: string; twitter: string; } export interface ExternalContent { title: string; url: string; backgroundColor: string; color: string; } export interface CertificateContent { $schema: string; name: string; v: string; serialnumber: Serialnumber[]; brand: string; model: string; description: string; type: string; picture: string; pictures: Picture[]; socialmedia: Socialmedia; externalContents: ExternalContent[]; jsonSurcharger: string; } export interface CertificateContentContainer { isAuthentic: boolean; imprint: string; data: CertificateType; parents?: CertificateContentContainer[]; isRawAuthentic?: boolean; raw: CertificateType; } export interface CertificateIssuer { imprint: string; isIdentityAuthentic: boolean; isIdentityVerified: boolean; identity: IdentitySummary; } export interface CertificateOwner { isOwner: boolean; publicKey: string; address: string; identity?: IdentitySummary; } export interface CertificateRecover { isRecoverable: boolean; timestamp: number; } export interface ArianeeEvent { certificateId: ArianeeTokenId; arianeeEventId: ArianeeTokenId; content: CertificateContentContainer; issuer: CertificateIssuer; timestamp: number; pending: boolean; } export interface Message { certificateId: ArianeeTokenId; messageId: ArianeeTokenId; content: CertificateContentContainer; issuer: CertificateIssuer; to: string; from: string; timestamp: number; isRead: boolean; } export interface CertificateEvents { transfer?: any[]; arianeeEvents?: ArianeeEvent[]; all?: CertificateContentContainer[]; } export declare class CertificateEventsSummary implements CertificateEvents { transfer: any[]; arianeeEvents: any[]; get all(): any[]; } export interface CertificateAdvanced { languages?: string[]; arianeeProofToken?: string; } export interface CertificateSummary { certificateId: ArianeeTokenId; content?: CertificateContentContainer; isRequestable?: boolean; issuer?: CertificateIssuer; owner?: CertificateOwner; events?: CertificateEvents; advanced?: CertificateAdvanced; recover?: CertificateRecover; messageSenders?: { [key: string]: boolean; }; } export interface ConsolidatedIssuerRequestInterface { waitingIdentity?: boolean; forceRefresh?: boolean; rpcURI?: string; } export interface ConsolidatedContentRequestInterface { waitingIdentity?: boolean; forceRefresh?: boolean; rpcURI?: string; } export type ConsolidatedIssuerRequest = ConsolidatedIssuerRequestInterface | boolean; export type ConsolidatedContentRequest = ConsolidatedContentRequestInterface | boolean; export interface ConsolidatedCertificateRequest { isRequestable?: boolean; content?: ConsolidatedContentRequest; issuer?: ConsolidatedIssuerRequest; owner?: boolean; events?: boolean; arianeeEvents?: boolean; advanced?: CertificateAdvanced; messageSenders?: boolean; recover?: boolean; }