jr-common-micro 1.1.94 → 1.1.95
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.
|
@@ -27,6 +27,8 @@ export interface ChatGroupDto {
|
|
|
27
27
|
voice_policy: string;
|
|
28
28
|
voice_reactions: boolean;
|
|
29
29
|
list_visibility: string;
|
|
30
|
+
access: string;
|
|
31
|
+
theme: string;
|
|
30
32
|
}
|
|
31
33
|
export interface ChatGroupListResponse {
|
|
32
34
|
status: ResponseStatus | undefined;
|
|
@@ -280,6 +282,8 @@ export interface GroupUpsertRequest {
|
|
|
280
282
|
voice_policy: string;
|
|
281
283
|
voice_reactions: string;
|
|
282
284
|
list_visibility: string;
|
|
285
|
+
access: string;
|
|
286
|
+
theme: string;
|
|
283
287
|
}
|
|
284
288
|
export interface SanctionRequest {
|
|
285
289
|
username: string;
|
|
@@ -28,6 +28,8 @@ export declare class ChatGroupDto extends Message<ChatGroupDto> {
|
|
|
28
28
|
voicePolicy: string;
|
|
29
29
|
voiceReactions: boolean;
|
|
30
30
|
listVisibility: string;
|
|
31
|
+
access: string;
|
|
32
|
+
theme: string;
|
|
31
33
|
constructor(data?: PartialMessage<ChatGroupDto>);
|
|
32
34
|
static readonly runtime: typeof proto3;
|
|
33
35
|
static readonly typeName = "micro.v1.chat.ChatGroupDto";
|
|
@@ -569,6 +571,8 @@ export declare class GroupUpsertRequest extends Message<GroupUpsertRequest> {
|
|
|
569
571
|
voicePolicy: string;
|
|
570
572
|
voiceReactions: string;
|
|
571
573
|
listVisibility: string;
|
|
574
|
+
access: string;
|
|
575
|
+
theme: string;
|
|
572
576
|
constructor(data?: PartialMessage<GroupUpsertRequest>);
|
|
573
577
|
static readonly runtime: typeof proto3;
|
|
574
578
|
static readonly typeName = "micro.v1.chat.GroupUpsertRequest";
|
|
@@ -31,6 +31,8 @@ class ChatGroupDto extends protobuf_1.Message {
|
|
|
31
31
|
voicePolicy = "";
|
|
32
32
|
voiceReactions = false;
|
|
33
33
|
listVisibility = "";
|
|
34
|
+
access = "";
|
|
35
|
+
theme = "";
|
|
34
36
|
constructor(data) {
|
|
35
37
|
super();
|
|
36
38
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -64,6 +66,8 @@ class ChatGroupDto extends protobuf_1.Message {
|
|
|
64
66
|
{ no: 24, name: "voice_policy", kind: "scalar", T: 9 },
|
|
65
67
|
{ no: 25, name: "voice_reactions", kind: "scalar", T: 8 },
|
|
66
68
|
{ no: 26, name: "list_visibility", kind: "scalar", T: 9 },
|
|
69
|
+
{ no: 27, name: "access", kind: "scalar", T: 9 },
|
|
70
|
+
{ no: 28, name: "theme", kind: "scalar", T: 9 },
|
|
67
71
|
]);
|
|
68
72
|
static fromBinary(bytes, options) {
|
|
69
73
|
return new ChatGroupDto().fromBinary(bytes, options);
|
|
@@ -1233,6 +1237,8 @@ class GroupUpsertRequest extends protobuf_1.Message {
|
|
|
1233
1237
|
voicePolicy = "";
|
|
1234
1238
|
voiceReactions = "";
|
|
1235
1239
|
listVisibility = "";
|
|
1240
|
+
access = "";
|
|
1241
|
+
theme = "";
|
|
1236
1242
|
constructor(data) {
|
|
1237
1243
|
super();
|
|
1238
1244
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -1254,6 +1260,8 @@ class GroupUpsertRequest extends protobuf_1.Message {
|
|
|
1254
1260
|
{ no: 12, name: "voice_policy", kind: "scalar", T: 9 },
|
|
1255
1261
|
{ no: 13, name: "voice_reactions", kind: "scalar", T: 9 },
|
|
1256
1262
|
{ no: 14, name: "list_visibility", kind: "scalar", T: 9 },
|
|
1263
|
+
{ no: 15, name: "access", kind: "scalar", T: 9 },
|
|
1264
|
+
{ no: 16, name: "theme", kind: "scalar", T: 9 },
|
|
1257
1265
|
]);
|
|
1258
1266
|
static fromBinary(bytes, options) {
|
|
1259
1267
|
return new GroupUpsertRequest().fromBinary(bytes, options);
|
package/package.json
CHANGED
|
@@ -47,6 +47,11 @@ message ChatGroupDto {
|
|
|
47
47
|
// Who sees the group in the chat list: everyone (default) | members
|
|
48
48
|
// (only its approved members; it stays reachable by its link).
|
|
49
49
|
string list_visibility = 26;
|
|
50
|
+
// Who may enter: everyone | vip (role) | premium (paid plan). Replaces
|
|
51
|
+
// is_vip_only, which is kept as `access == vip` for older builds.
|
|
52
|
+
string access = 27;
|
|
53
|
+
// Look of the group's row and header: default | gold.
|
|
54
|
+
string theme = 28;
|
|
50
55
|
}
|
|
51
56
|
|
|
52
57
|
message ChatGroupListResponse {
|
|
@@ -424,6 +429,11 @@ message GroupUpsertRequest {
|
|
|
424
429
|
string voice_reactions = 13;
|
|
425
430
|
// everyone | members (empty = keep/default everyone)
|
|
426
431
|
string list_visibility = 14;
|
|
432
|
+
// everyone | vip | premium (empty = keep; a build without this field
|
|
433
|
+
// still sets vip through is_vip_only)
|
|
434
|
+
string access = 15;
|
|
435
|
+
// default | gold (empty = keep/default)
|
|
436
|
+
string theme = 16;
|
|
427
437
|
}
|
|
428
438
|
|
|
429
439
|
message SanctionRequest {
|