jr-common-micro 1.1.75 → 1.1.76

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -115,6 +115,8 @@ export interface SendChatMentionRequest {
115
115
  preview: string;
116
116
  kind: string;
117
117
  sender_is_group: boolean;
118
+ message_id: string;
119
+ count: number;
118
120
  }
119
121
  export interface NotificationPaginationDto {
120
122
  id: string;
@@ -244,6 +244,8 @@ export declare class SendChatMentionRequest extends Message<SendChatMentionReque
244
244
  preview: string;
245
245
  kind: string;
246
246
  senderIsGroup: boolean;
247
+ messageId: string;
248
+ count: number;
247
249
  constructor(data?: PartialMessage<SendChatMentionRequest>);
248
250
  static readonly runtime: typeof proto3;
249
251
  static readonly typeName = "micro.v1.notification.SendChatMentionRequest";
@@ -529,6 +529,8 @@ class SendChatMentionRequest extends protobuf_1.Message {
529
529
  preview = "";
530
530
  kind = "";
531
531
  senderIsGroup = false;
532
+ messageId = "";
533
+ count = 0;
532
534
  constructor(data) {
533
535
  super();
534
536
  protobuf_1.proto3.util.initPartial(data, this);
@@ -543,6 +545,8 @@ class SendChatMentionRequest extends protobuf_1.Message {
543
545
  { no: 5, name: "preview", kind: "scalar", T: 9 },
544
546
  { no: 6, name: "kind", kind: "scalar", T: 9 },
545
547
  { no: 7, name: "sender_is_group", kind: "scalar", T: 8 },
548
+ { no: 8, name: "message_id", kind: "scalar", T: 9 },
549
+ { no: 9, name: "count", kind: "scalar", T: 5 },
546
550
  ]);
547
551
  static fromBinary(bytes, options) {
548
552
  return new SendChatMentionRequest().fromBinary(bytes, options);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jr-common-micro",
3
- "version": "1.1.75",
3
+ "version": "1.1.76",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "private": false,
@@ -140,11 +140,17 @@ message SendChatMentionRequest {
140
140
  string group_name = 3;
141
141
  string group_slug = 4;
142
142
  string preview = 5;
143
- // "mention" (default) or "message" (all-messages subscription push).
143
+ // "mention" (default) | "reply" | "message" (first all-messages line)
144
+ // | "summary" (N new messages since the room was last opened).
144
145
  string kind = 6;
145
146
  // sender_username is the GROUP's name (anonymous staff post): the push
146
147
  // text must not put an "@" in front of it.
147
148
  bool sender_is_group = 7;
149
+ // Message the push deep-links to; '' when there is no single target.
150
+ string message_id = 8;
151
+ // kind "summary" only: unread count since the room was last opened;
152
+ // 0 = open-ended wording ("new messages") once the per-absence cap hits.
153
+ int32 count = 9;
148
154
  }
149
155
 
150
156
  message NotificationPaginationDto {