You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -56,6 +56,10 @@ export interface NotifNotifyByMailPayload {
|
||||
* @generated from protobuf field: string Tags = 8
|
||||
*/
|
||||
Tags: string;
|
||||
/**
|
||||
* @generated from protobuf field: bool GroupSending = 9
|
||||
*/
|
||||
GroupSending: boolean;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.NotifNotifyByMail
|
||||
@@ -158,7 +162,8 @@ class NotifNotifyByMailPayload$Type extends MessageType<NotifNotifyByMailPayload
|
||||
{ no: 5, name: "EntityDomain", kind: "scalar", localName: "EntityDomain", jsonName: "EntityDomain", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 6, name: "EntityType", kind: "scalar", localName: "EntityType", jsonName: "EntityType", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 7, name: "EntityRefID", kind: "scalar", localName: "EntityRefID", jsonName: "EntityRefID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 8, name: "Tags", kind: "scalar", localName: "Tags", jsonName: "Tags", T: 9 /*ScalarType.STRING*/ }
|
||||
{ no: 8, name: "Tags", kind: "scalar", localName: "Tags", jsonName: "Tags", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 9, name: "GroupSending", kind: "scalar", localName: "GroupSending", jsonName: "GroupSending", T: 8 /*ScalarType.BOOL*/ }
|
||||
], { "api.messageType": "Command", "api.payload": true, "api.action": "NotifyByMail" });
|
||||
}
|
||||
create(value?: PartialMessage<NotifNotifyByMailPayload>): NotifNotifyByMailPayload {
|
||||
@@ -171,6 +176,7 @@ class NotifNotifyByMailPayload$Type extends MessageType<NotifNotifyByMailPayload
|
||||
message.EntityType = "";
|
||||
message.EntityRefID = "";
|
||||
message.Tags = "";
|
||||
message.GroupSending = false;
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<NotifNotifyByMailPayload>(this, message, value);
|
||||
return message;
|
||||
@@ -204,6 +210,9 @@ class NotifNotifyByMailPayload$Type extends MessageType<NotifNotifyByMailPayload
|
||||
case /* string Tags */ 8:
|
||||
message.Tags = reader.string();
|
||||
break;
|
||||
case /* bool GroupSending */ 9:
|
||||
message.GroupSending = reader.bool();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -240,6 +249,9 @@ class NotifNotifyByMailPayload$Type extends MessageType<NotifNotifyByMailPayload
|
||||
/* string Tags = 8; */
|
||||
if (message.Tags !== "")
|
||||
writer.tag(8, WireType.LengthDelimited).string(message.Tags);
|
||||
/* bool GroupSending = 9; */
|
||||
if (message.GroupSending !== false)
|
||||
writer.tag(9, WireType.Varint).bool(message.GroupSending);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
Reference in New Issue
Block a user