// @generated by protoc-gen-es v1.10.0 with parameter "target=ts" // @generated from file notifAction.proto (package api, syntax proto3) /* eslint-disable */ // @ts-nocheck import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; import { NotifTypeEnum } from "./collabShared_pb.js"; import { CommandHeader, EntityID } from "./shared_pb.js"; /** * * NotifyByMail * * @generated from message api.NotifNotifyByMailPayload */ export class NotifNotifyByMailPayload extends Message { /** * @generated from field: api.NotifTypeEnum NotificationType = 1; */ NotificationType = NotifTypeEnum.NOTIF_TYPE_UNKNOWN; /** * @generated from field: string IssuerID = 2; */ IssuerID = ""; /** * @generated from field: repeated string Contacts = 3; */ Contacts: string[] = []; /** * @generated from field: string Details = 4; */ Details = ""; /** * @generated from field: string EntityDomain = 5; */ EntityDomain = ""; /** * @generated from field: string EntityType = 6; */ EntityType = ""; /** * @generated from field: string EntityRefID = 7; */ EntityRefID = ""; /** * @generated from field: string Tags = 8; */ Tags = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "api.NotifNotifyByMailPayload"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "NotificationType", kind: "enum", T: proto3.getEnumType(NotifTypeEnum) }, { no: 2, name: "IssuerID", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "Contacts", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, { no: 4, name: "Details", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 5, name: "EntityDomain", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 6, name: "EntityType", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 7, name: "EntityRefID", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 8, name: "Tags", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): NotifNotifyByMailPayload { return new NotifNotifyByMailPayload().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): NotifNotifyByMailPayload { return new NotifNotifyByMailPayload().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): NotifNotifyByMailPayload { return new NotifNotifyByMailPayload().fromJsonString(jsonString, options); } static equals(a: NotifNotifyByMailPayload | PlainMessage | undefined, b: NotifNotifyByMailPayload | PlainMessage | undefined): boolean { return proto3.util.equals(NotifNotifyByMailPayload, a, b); } } /** * @generated from message api.NotifNotifyByMail */ export class NotifNotifyByMail extends Message { /** * @generated from field: api.CommandHeader Header = 1; */ Header?: CommandHeader; /** * @generated from field: api.EntityID ID = 2; */ ID?: EntityID; /** * @generated from field: api.NotifNotifyByMailPayload Payload = 3; */ Payload?: NotifNotifyByMailPayload; /** * @generated from field: api.NotifNotifyByMailPayload EventPayload = 4; */ EventPayload?: NotifNotifyByMailPayload; /** * @generated from field: api.NotifNotifyByMailPayload PreviousPayload = 5; */ PreviousPayload?: NotifNotifyByMailPayload; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "api.NotifNotifyByMail"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "Header", kind: "message", T: CommandHeader }, { no: 2, name: "ID", kind: "message", T: EntityID }, { no: 3, name: "Payload", kind: "message", T: NotifNotifyByMailPayload }, { no: 4, name: "EventPayload", kind: "message", T: NotifNotifyByMailPayload }, { no: 5, name: "PreviousPayload", kind: "message", T: NotifNotifyByMailPayload }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): NotifNotifyByMail { return new NotifNotifyByMail().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): NotifNotifyByMail { return new NotifNotifyByMail().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): NotifNotifyByMail { return new NotifNotifyByMail().fromJsonString(jsonString, options); } static equals(a: NotifNotifyByMail | PlainMessage | undefined, b: NotifNotifyByMail | PlainMessage | undefined): boolean { return proto3.util.equals(NotifNotifyByMail, a, b); } } /** * * NotifyChatRoom * * @generated from message api.NotifNotifyChatRoomPayload */ export class NotifNotifyChatRoomPayload extends Message { /** * @generated from field: api.NotifTypeEnum NotificationType = 1; */ NotificationType = NotifTypeEnum.NOTIF_TYPE_UNKNOWN; /** * @generated from field: string IssuerID = 2; */ IssuerID = ""; /** * @generated from field: repeated string Contacts = 3; */ Contacts: string[] = []; /** * @generated from field: string Details = 4; */ Details = ""; /** * @generated from field: string EntityDomain = 5; */ EntityDomain = ""; /** * @generated from field: string EntityType = 6; */ EntityType = ""; /** * @generated from field: string EntityRefID = 7; */ EntityRefID = ""; /** * @generated from field: string Tags = 8; */ Tags = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "api.NotifNotifyChatRoomPayload"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "NotificationType", kind: "enum", T: proto3.getEnumType(NotifTypeEnum) }, { no: 2, name: "IssuerID", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "Contacts", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, { no: 4, name: "Details", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 5, name: "EntityDomain", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 6, name: "EntityType", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 7, name: "EntityRefID", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 8, name: "Tags", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): NotifNotifyChatRoomPayload { return new NotifNotifyChatRoomPayload().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): NotifNotifyChatRoomPayload { return new NotifNotifyChatRoomPayload().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): NotifNotifyChatRoomPayload { return new NotifNotifyChatRoomPayload().fromJsonString(jsonString, options); } static equals(a: NotifNotifyChatRoomPayload | PlainMessage | undefined, b: NotifNotifyChatRoomPayload | PlainMessage | undefined): boolean { return proto3.util.equals(NotifNotifyChatRoomPayload, a, b); } } /** * @generated from message api.NotifNotifyChatRoom */ export class NotifNotifyChatRoom extends Message { /** * @generated from field: api.CommandHeader Header = 1; */ Header?: CommandHeader; /** * @generated from field: api.EntityID ID = 2; */ ID?: EntityID; /** * @generated from field: api.NotifNotifyChatRoomPayload Payload = 3; */ Payload?: NotifNotifyChatRoomPayload; /** * @generated from field: api.NotifNotifyChatRoomPayload EventPayload = 4; */ EventPayload?: NotifNotifyChatRoomPayload; /** * @generated from field: api.NotifNotifyChatRoomPayload PreviousPayload = 5; */ PreviousPayload?: NotifNotifyChatRoomPayload; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "api.NotifNotifyChatRoom"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "Header", kind: "message", T: CommandHeader }, { no: 2, name: "ID", kind: "message", T: EntityID }, { no: 3, name: "Payload", kind: "message", T: NotifNotifyChatRoomPayload }, { no: 4, name: "EventPayload", kind: "message", T: NotifNotifyChatRoomPayload }, { no: 5, name: "PreviousPayload", kind: "message", T: NotifNotifyChatRoomPayload }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): NotifNotifyChatRoom { return new NotifNotifyChatRoom().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): NotifNotifyChatRoom { return new NotifNotifyChatRoom().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): NotifNotifyChatRoom { return new NotifNotifyChatRoom().fromJsonString(jsonString, options); } static equals(a: NotifNotifyChatRoom | PlainMessage | undefined, b: NotifNotifyChatRoom | PlainMessage | undefined): boolean { return proto3.util.equals(NotifNotifyChatRoom, a, b); } }