import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; /** * @generated from enum wg.cosmo.notifications.PlatformEventName */ export declare enum PlatformEventName { /** * @generated from enum value: USER_REGISTER_SUCCESS = 0; */ USER_REGISTER_SUCCESS = 0, /** * @generated from enum value: APOLLO_MIGRATE_INIT = 1; */ APOLLO_MIGRATE_INIT = 1, /** * @generated from enum value: APOLLO_MIGRATE_SUCCESS = 2; */ APOLLO_MIGRATE_SUCCESS = 2, /** * @generated from enum value: USER_DELETE_SUCCESS = 3; */ USER_DELETE_SUCCESS = 3 } /** * @generated from enum wg.cosmo.notifications.OrganizationEventName */ export declare enum OrganizationEventName { /** * @generated from enum value: FEDERATED_GRAPH_SCHEMA_UPDATED = 0; */ FEDERATED_GRAPH_SCHEMA_UPDATED = 0, /** * @generated from enum value: MONOGRAPH_SCHEMA_UPDATED = 1; */ MONOGRAPH_SCHEMA_UPDATED = 1, /** * @generated from enum value: VALIDATE_CONFIG = 3; */ VALIDATE_CONFIG = 3, /** * @generated from enum value: PROPOSAL_STATE_UPDATED = 4; */ PROPOSAL_STATE_UPDATED = 4 } /** * @generated from message wg.cosmo.notifications.GraphSchemaUpdatedMeta */ export declare class GraphSchemaUpdatedMeta extends Message { /** * @generated from field: repeated string graphIds = 1; */ graphIds: string[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "wg.cosmo.notifications.GraphSchemaUpdatedMeta"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GraphSchemaUpdatedMeta; static fromJson(jsonValue: JsonValue, options?: Partial): GraphSchemaUpdatedMeta; static fromJsonString(jsonString: string, options?: Partial): GraphSchemaUpdatedMeta; static equals(a: GraphSchemaUpdatedMeta | PlainMessage | undefined, b: GraphSchemaUpdatedMeta | PlainMessage | undefined): boolean; } /** * @generated from message wg.cosmo.notifications.ProposalStateUpdatedMeta */ export declare class ProposalStateUpdatedMeta extends Message { /** * @generated from field: repeated string graphIds = 1; */ graphIds: string[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "wg.cosmo.notifications.ProposalStateUpdatedMeta"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ProposalStateUpdatedMeta; static fromJson(jsonValue: JsonValue, options?: Partial): ProposalStateUpdatedMeta; static fromJsonString(jsonString: string, options?: Partial): ProposalStateUpdatedMeta; static equals(a: ProposalStateUpdatedMeta | PlainMessage | undefined, b: ProposalStateUpdatedMeta | PlainMessage | undefined): boolean; } /** * @generated from message wg.cosmo.notifications.EventMeta */ export declare class EventMeta extends Message { /** * @generated from field: wg.cosmo.notifications.OrganizationEventName event_name = 1; */ eventName: OrganizationEventName; /** * @generated from oneof wg.cosmo.notifications.EventMeta.meta */ meta: { /** * @generated from field: wg.cosmo.notifications.GraphSchemaUpdatedMeta federated_graph_schema_updated = 2; */ value: GraphSchemaUpdatedMeta; case: "federatedGraphSchemaUpdated"; } | { /** * @generated from field: wg.cosmo.notifications.GraphSchemaUpdatedMeta monograph_schema_updated = 3; */ value: GraphSchemaUpdatedMeta; case: "monographSchemaUpdated"; } | { /** * @generated from field: wg.cosmo.notifications.ProposalStateUpdatedMeta proposal_state_updated = 4; */ value: ProposalStateUpdatedMeta; case: "proposalStateUpdated"; } | { case: undefined; value?: undefined; }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "wg.cosmo.notifications.EventMeta"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): EventMeta; static fromJson(jsonValue: JsonValue, options?: Partial): EventMeta; static fromJsonString(jsonString: string, options?: Partial): EventMeta; static equals(a: EventMeta | PlainMessage | undefined, b: EventMeta | PlainMessage | undefined): boolean; }