import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3, Timestamp } from "@bufbuild/protobuf"; /** * EventDIDCreated is emitted when a new DID is created * * @generated from message did.v1.EventDIDCreated */ export declare class EventDIDCreated extends Message { /** * DID identifier * * @generated from field: string did = 1; */ did: string; /** * Creator address * * @generated from field: string creator = 2; */ creator: string; /** * Public keys added * * @generated from field: repeated string public_keys = 3; */ publicKeys: string[]; /** * Services added * * @generated from field: repeated string services = 4; */ services: string[]; /** * Creation timestamp * * @generated from field: google.protobuf.Timestamp created_at = 5; */ createdAt?: Timestamp; /** * Block height * * @generated from field: uint64 block_height = 6; */ blockHeight: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "did.v1.EventDIDCreated"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): EventDIDCreated; static fromJson(jsonValue: JsonValue, options?: Partial): EventDIDCreated; static fromJsonString(jsonString: string, options?: Partial): EventDIDCreated; static equals(a: EventDIDCreated | PlainMessage | undefined, b: EventDIDCreated | PlainMessage | undefined): boolean; } /** * EventDIDUpdated is emitted when a DID is updated * * @generated from message did.v1.EventDIDUpdated */ export declare class EventDIDUpdated extends Message { /** * DID identifier * * @generated from field: string did = 1; */ did: string; /** * Updater address * * @generated from field: string updater = 2; */ updater: string; /** * Fields that were updated * * @generated from field: repeated string fields_updated = 3; */ fieldsUpdated: string[]; /** * Update timestamp * * @generated from field: google.protobuf.Timestamp updated_at = 4; */ updatedAt?: Timestamp; /** * Block height * * @generated from field: uint64 block_height = 5; */ blockHeight: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "did.v1.EventDIDUpdated"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): EventDIDUpdated; static fromJson(jsonValue: JsonValue, options?: Partial): EventDIDUpdated; static fromJsonString(jsonString: string, options?: Partial): EventDIDUpdated; static equals(a: EventDIDUpdated | PlainMessage | undefined, b: EventDIDUpdated | PlainMessage | undefined): boolean; } /** * EventDIDDeactivated is emitted when a DID is deactivated * * @generated from message did.v1.EventDIDDeactivated */ export declare class EventDIDDeactivated extends Message { /** * DID identifier * * @generated from field: string did = 1; */ did: string; /** * Deactivator address * * @generated from field: string deactivator = 2; */ deactivator: string; /** * Deactivation timestamp * * @generated from field: google.protobuf.Timestamp deactivated_at = 3; */ deactivatedAt?: Timestamp; /** * Block height * * @generated from field: uint64 block_height = 4; */ blockHeight: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "did.v1.EventDIDDeactivated"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): EventDIDDeactivated; static fromJson(jsonValue: JsonValue, options?: Partial): EventDIDDeactivated; static fromJsonString(jsonString: string, options?: Partial): EventDIDDeactivated; static equals(a: EventDIDDeactivated | PlainMessage | undefined, b: EventDIDDeactivated | PlainMessage | undefined): boolean; } /** * EventVerificationMethodAdded is emitted when a verification method is added * * @generated from message did.v1.EventVerificationMethodAdded */ export declare class EventVerificationMethodAdded extends Message { /** * DID identifier * * @generated from field: string did = 1; */ did: string; /** * Method ID * * @generated from field: string method_id = 2; */ methodId: string; /** * Key type * * @generated from field: string key_type = 3; */ keyType: string; /** * Public key (encoded) * * @generated from field: string public_key = 4; */ publicKey: string; /** * Block height * * @generated from field: uint64 block_height = 5; */ blockHeight: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "did.v1.EventVerificationMethodAdded"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): EventVerificationMethodAdded; static fromJson(jsonValue: JsonValue, options?: Partial): EventVerificationMethodAdded; static fromJsonString(jsonString: string, options?: Partial): EventVerificationMethodAdded; static equals(a: EventVerificationMethodAdded | PlainMessage | undefined, b: EventVerificationMethodAdded | PlainMessage | undefined): boolean; } /** * EventVerificationMethodRemoved is emitted when a verification method is removed * * @generated from message did.v1.EventVerificationMethodRemoved */ export declare class EventVerificationMethodRemoved extends Message { /** * DID identifier * * @generated from field: string did = 1; */ did: string; /** * Method ID * * @generated from field: string method_id = 2; */ methodId: string; /** * Block height * * @generated from field: uint64 block_height = 3; */ blockHeight: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "did.v1.EventVerificationMethodRemoved"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): EventVerificationMethodRemoved; static fromJson(jsonValue: JsonValue, options?: Partial): EventVerificationMethodRemoved; static fromJsonString(jsonString: string, options?: Partial): EventVerificationMethodRemoved; static equals(a: EventVerificationMethodRemoved | PlainMessage | undefined, b: EventVerificationMethodRemoved | PlainMessage | undefined): boolean; } /** * EventServiceAdded is emitted when a service is added to a DID * * @generated from message did.v1.EventServiceAdded */ export declare class EventServiceAdded extends Message { /** * DID identifier * * @generated from field: string did = 1; */ did: string; /** * Service ID * * @generated from field: string service_id = 2; */ serviceId: string; /** * Service type * * @generated from field: string type = 3; */ type: string; /** * Service endpoint * * @generated from field: string endpoint = 4; */ endpoint: string; /** * Block height * * @generated from field: uint64 block_height = 5; */ blockHeight: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "did.v1.EventServiceAdded"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): EventServiceAdded; static fromJson(jsonValue: JsonValue, options?: Partial): EventServiceAdded; static fromJsonString(jsonString: string, options?: Partial): EventServiceAdded; static equals(a: EventServiceAdded | PlainMessage | undefined, b: EventServiceAdded | PlainMessage | undefined): boolean; } /** * EventServiceRemoved is emitted when a service is removed from a DID * * @generated from message did.v1.EventServiceRemoved */ export declare class EventServiceRemoved extends Message { /** * DID identifier * * @generated from field: string did = 1; */ did: string; /** * Service ID * * @generated from field: string service_id = 2; */ serviceId: string; /** * Block height * * @generated from field: uint64 block_height = 3; */ blockHeight: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "did.v1.EventServiceRemoved"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): EventServiceRemoved; static fromJson(jsonValue: JsonValue, options?: Partial): EventServiceRemoved; static fromJsonString(jsonString: string, options?: Partial): EventServiceRemoved; static equals(a: EventServiceRemoved | PlainMessage | undefined, b: EventServiceRemoved | PlainMessage | undefined): boolean; } /** * EventCredentialIssued is emitted when a verifiable credential is issued * * @generated from message did.v1.EventCredentialIssued */ export declare class EventCredentialIssued extends Message { /** * Credential ID * * @generated from field: string credential_id = 1; */ credentialId: string; /** * Issuer DID * * @generated from field: string issuer = 2; */ issuer: string; /** * Subject DID * * @generated from field: string subject = 3; */ subject: string; /** * Credential type * * @generated from field: string type = 4; */ type: string; /** * Issuance timestamp * * @generated from field: google.protobuf.Timestamp issued_at = 5; */ issuedAt?: Timestamp; /** * Block height * * @generated from field: uint64 block_height = 6; */ blockHeight: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "did.v1.EventCredentialIssued"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): EventCredentialIssued; static fromJson(jsonValue: JsonValue, options?: Partial): EventCredentialIssued; static fromJsonString(jsonString: string, options?: Partial): EventCredentialIssued; static equals(a: EventCredentialIssued | PlainMessage | undefined, b: EventCredentialIssued | PlainMessage | undefined): boolean; } /** * EventCredentialRevoked is emitted when a credential is revoked * * @generated from message did.v1.EventCredentialRevoked */ export declare class EventCredentialRevoked extends Message { /** * Credential ID * * @generated from field: string credential_id = 1; */ credentialId: string; /** * Revoker DID * * @generated from field: string revoker = 2; */ revoker: string; /** * Revocation reason * * @generated from field: string reason = 3; */ reason: string; /** * Revocation timestamp * * @generated from field: google.protobuf.Timestamp revoked_at = 4; */ revokedAt?: Timestamp; /** * Block height * * @generated from field: uint64 block_height = 5; */ blockHeight: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "did.v1.EventCredentialRevoked"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): EventCredentialRevoked; static fromJson(jsonValue: JsonValue, options?: Partial): EventCredentialRevoked; static fromJsonString(jsonString: string, options?: Partial): EventCredentialRevoked; static equals(a: EventCredentialRevoked | PlainMessage | undefined, b: EventCredentialRevoked | PlainMessage | undefined): boolean; } /** * EventWebAuthnRegistered is emitted when a WebAuthn credential is registered * * @generated from message did.v1.EventWebAuthnRegistered */ export declare class EventWebAuthnRegistered extends Message { /** * DID identifier * * @generated from field: string did = 1; */ did: string; /** * WebAuthn credential ID * * @generated from field: string credential_id = 2; */ credentialId: string; /** * Attestation type * * @generated from field: string attestation_type = 3; */ attestationType: string; /** * Block height * * @generated from field: uint64 block_height = 4; */ blockHeight: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "did.v1.EventWebAuthnRegistered"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): EventWebAuthnRegistered; static fromJson(jsonValue: JsonValue, options?: Partial): EventWebAuthnRegistered; static fromJsonString(jsonString: string, options?: Partial): EventWebAuthnRegistered; static equals(a: EventWebAuthnRegistered | PlainMessage | undefined, b: EventWebAuthnRegistered | PlainMessage | undefined): boolean; } /** * EventExternalWalletLinked is emitted when an external wallet is linked * * @generated from message did.v1.EventExternalWalletLinked */ export declare class EventExternalWalletLinked extends Message { /** * DID identifier * * @generated from field: string did = 1; */ did: string; /** * Wallet type (ethereum, bitcoin, etc.) * * @generated from field: string wallet_type = 2; */ walletType: string; /** * Wallet address * * @generated from field: string wallet_address = 3; */ walletAddress: string; /** * Block height * * @generated from field: uint64 block_height = 4; */ blockHeight: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "did.v1.EventExternalWalletLinked"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): EventExternalWalletLinked; static fromJson(jsonValue: JsonValue, options?: Partial): EventExternalWalletLinked; static fromJsonString(jsonString: string, options?: Partial): EventExternalWalletLinked; static equals(a: EventExternalWalletLinked | PlainMessage | undefined, b: EventExternalWalletLinked | PlainMessage | undefined): boolean; } //# sourceMappingURL=events_pb.d.ts.map