You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -64,6 +64,10 @@ export interface NotifNotifyByMailPayload {
|
||||
* @generated from protobuf field: bool GroupSending = 10
|
||||
*/
|
||||
GroupSending: boolean;
|
||||
/**
|
||||
* @generated from protobuf field: bool SendToIssuer = 11
|
||||
*/
|
||||
SendToIssuer: boolean;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.NotifNotifyByMail
|
||||
@@ -168,7 +172,8 @@ class NotifNotifyByMailPayload$Type extends MessageType<NotifNotifyByMailPayload
|
||||
{ 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: 9, name: "ContactMails", kind: "scalar", localName: "ContactMails", jsonName: "ContactMails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 10, name: "GroupSending", kind: "scalar", localName: "GroupSending", jsonName: "GroupSending", T: 8 /*ScalarType.BOOL*/ }
|
||||
{ no: 10, name: "GroupSending", kind: "scalar", localName: "GroupSending", jsonName: "GroupSending", T: 8 /*ScalarType.BOOL*/ },
|
||||
{ no: 11, name: "SendToIssuer", kind: "scalar", localName: "SendToIssuer", jsonName: "SendToIssuer", T: 8 /*ScalarType.BOOL*/ }
|
||||
], { "api.messageType": "Command", "api.payload": true, "api.action": "NotifyByMail" });
|
||||
}
|
||||
create(value?: PartialMessage<NotifNotifyByMailPayload>): NotifNotifyByMailPayload {
|
||||
@@ -183,6 +188,7 @@ class NotifNotifyByMailPayload$Type extends MessageType<NotifNotifyByMailPayload
|
||||
message.Tags = "";
|
||||
message.ContactMails = [];
|
||||
message.GroupSending = false;
|
||||
message.SendToIssuer = false;
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<NotifNotifyByMailPayload>(this, message, value);
|
||||
return message;
|
||||
@@ -222,6 +228,9 @@ class NotifNotifyByMailPayload$Type extends MessageType<NotifNotifyByMailPayload
|
||||
case /* bool GroupSending */ 10:
|
||||
message.GroupSending = reader.bool();
|
||||
break;
|
||||
case /* bool SendToIssuer */ 11:
|
||||
message.SendToIssuer = reader.bool();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -264,6 +273,9 @@ class NotifNotifyByMailPayload$Type extends MessageType<NotifNotifyByMailPayload
|
||||
/* bool GroupSending = 10; */
|
||||
if (message.GroupSending !== false)
|
||||
writer.tag(10, WireType.Varint).bool(message.GroupSending);
|
||||
/* bool SendToIssuer = 11; */
|
||||
if (message.SendToIssuer !== false)
|
||||
writer.tag(11, WireType.Varint).bool(message.SendToIssuer);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
Reference in New Issue
Block a user