mezon-js-protobuf 1.8.53 → 1.8.54

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.
@@ -1362,7 +1362,11 @@ export interface BannedUser {
1362
1362
  /** The reason */
1363
1363
  reason: string;
1364
1364
  }
1365
- export interface bannedUserList {
1365
+ export interface BannedUserListRequest {
1366
+ clan_id: string;
1367
+ channel_id: string;
1368
+ }
1369
+ export interface BannedUserList {
1366
1370
  banned_users: BannedUser[];
1367
1371
  }
1368
1372
  /** Leave a channel. */
@@ -1523,8 +1527,6 @@ export interface SetNotificationRequest {
1523
1527
  channel_category_id: string;
1524
1528
  /** notification_type */
1525
1529
  notification_type: number;
1526
- /** time mute channel category */
1527
- time_mute: Date | undefined;
1528
1530
  /** */
1529
1531
  clan_id: string;
1530
1532
  }
@@ -1535,11 +1537,12 @@ export interface PinMessageRequest {
1535
1537
  clan_id: string;
1536
1538
  }
1537
1539
  /** set notification */
1538
- export interface SetMuteNotificationRequest {
1540
+ export interface SetMuteRequest {
1539
1541
  /** channel_id and category_id */
1540
1542
  id: string;
1541
- notification_type: number;
1543
+ mute_time: number;
1542
1544
  active: number;
1545
+ clan_id: string;
1543
1546
  }
1544
1547
  export interface HashtagDmListRequest {
1545
1548
  /** user Id */
@@ -1594,12 +1597,8 @@ export interface SetDefaultNotificationRequest {
1594
1597
  export interface RoleList {
1595
1598
  /** A list of role. */
1596
1599
  roles: Role[];
1597
- /** The cursor to send when retrieving the next page, if any. */
1598
- next_cursor: string;
1599
- /** The cursor to send when retrieving the previous page, if any. */
1600
- prev_cursor: string;
1601
- /** Cacheable cursor to list newer role description. Durable and designed to be stored, unlike next/prev cursors. */
1602
- cacheable_cursor: string;
1600
+ /** level permission max */
1601
+ max_level_permission: number;
1603
1602
  }
1604
1603
  export interface EventList {
1605
1604
  /** A list of event. */
@@ -11263,11 +11262,31 @@ export declare const BannedUser: {
11263
11262
  reason?: string | undefined;
11264
11263
  } & { [K_1 in Exclude<keyof I_1, keyof BannedUser>]: never; }>(object: I_1): BannedUser;
11265
11264
  };
11266
- export declare const bannedUserList: {
11267
- encode(message: bannedUserList, writer?: _m0.Writer): _m0.Writer;
11268
- decode(input: _m0.Reader | Uint8Array, length?: number): bannedUserList;
11269
- fromJSON(object: any): bannedUserList;
11270
- toJSON(message: bannedUserList): unknown;
11265
+ export declare const BannedUserListRequest: {
11266
+ encode(message: BannedUserListRequest, writer?: _m0.Writer): _m0.Writer;
11267
+ decode(input: _m0.Reader | Uint8Array, length?: number): BannedUserListRequest;
11268
+ fromJSON(object: any): BannedUserListRequest;
11269
+ toJSON(message: BannedUserListRequest): unknown;
11270
+ create<I extends {
11271
+ clan_id?: string | undefined;
11272
+ channel_id?: string | undefined;
11273
+ } & {
11274
+ clan_id?: string | undefined;
11275
+ channel_id?: string | undefined;
11276
+ } & { [K in Exclude<keyof I, keyof BannedUserListRequest>]: never; }>(base?: I | undefined): BannedUserListRequest;
11277
+ fromPartial<I_1 extends {
11278
+ clan_id?: string | undefined;
11279
+ channel_id?: string | undefined;
11280
+ } & {
11281
+ clan_id?: string | undefined;
11282
+ channel_id?: string | undefined;
11283
+ } & { [K_1 in Exclude<keyof I_1, keyof BannedUserListRequest>]: never; }>(object: I_1): BannedUserListRequest;
11284
+ };
11285
+ export declare const BannedUserList: {
11286
+ encode(message: BannedUserList, writer?: _m0.Writer): _m0.Writer;
11287
+ decode(input: _m0.Reader | Uint8Array, length?: number): BannedUserList;
11288
+ fromJSON(object: any): BannedUserList;
11289
+ toJSON(message: BannedUserList): unknown;
11271
11290
  create<I extends {
11272
11291
  banned_users?: {
11273
11292
  channel_id?: string | undefined;
@@ -11307,7 +11326,7 @@ export declare const bannedUserList: {
11307
11326
  ban_time?: number | undefined;
11308
11327
  reason?: string | undefined;
11309
11328
  }[]>]: never; }) | undefined;
11310
- } & { [K_2 in Exclude<keyof I, "banned_users">]: never; }>(base?: I | undefined): bannedUserList;
11329
+ } & { [K_2 in Exclude<keyof I, "banned_users">]: never; }>(base?: I | undefined): BannedUserList;
11311
11330
  fromPartial<I_1 extends {
11312
11331
  banned_users?: {
11313
11332
  channel_id?: string | undefined;
@@ -11347,7 +11366,7 @@ export declare const bannedUserList: {
11347
11366
  ban_time?: number | undefined;
11348
11367
  reason?: string | undefined;
11349
11368
  }[]>]: never; }) | undefined;
11350
- } & { [K_5 in Exclude<keyof I_1, "banned_users">]: never; }>(object: I_1): bannedUserList;
11369
+ } & { [K_5 in Exclude<keyof I_1, "banned_users">]: never; }>(object: I_1): BannedUserList;
11351
11370
  };
11352
11371
  export declare const LeaveThreadRequest: {
11353
11372
  encode(message: LeaveThreadRequest, writer?: _m0.Writer): _m0.Writer;
@@ -12245,23 +12264,19 @@ export declare const SetNotificationRequest: {
12245
12264
  create<I extends {
12246
12265
  channel_category_id?: string | undefined;
12247
12266
  notification_type?: number | undefined;
12248
- time_mute?: Date | undefined;
12249
12267
  clan_id?: string | undefined;
12250
12268
  } & {
12251
12269
  channel_category_id?: string | undefined;
12252
12270
  notification_type?: number | undefined;
12253
- time_mute?: Date | undefined;
12254
12271
  clan_id?: string | undefined;
12255
12272
  } & { [K in Exclude<keyof I, keyof SetNotificationRequest>]: never; }>(base?: I | undefined): SetNotificationRequest;
12256
12273
  fromPartial<I_1 extends {
12257
12274
  channel_category_id?: string | undefined;
12258
12275
  notification_type?: number | undefined;
12259
- time_mute?: Date | undefined;
12260
12276
  clan_id?: string | undefined;
12261
12277
  } & {
12262
12278
  channel_category_id?: string | undefined;
12263
12279
  notification_type?: number | undefined;
12264
- time_mute?: Date | undefined;
12265
12280
  clan_id?: string | undefined;
12266
12281
  } & { [K_1 in Exclude<keyof I_1, keyof SetNotificationRequest>]: never; }>(object: I_1): SetNotificationRequest;
12267
12282
  };
@@ -12289,29 +12304,33 @@ export declare const PinMessageRequest: {
12289
12304
  clan_id?: string | undefined;
12290
12305
  } & { [K_1 in Exclude<keyof I_1, keyof PinMessageRequest>]: never; }>(object: I_1): PinMessageRequest;
12291
12306
  };
12292
- export declare const SetMuteNotificationRequest: {
12293
- encode(message: SetMuteNotificationRequest, writer?: _m0.Writer): _m0.Writer;
12294
- decode(input: _m0.Reader | Uint8Array, length?: number): SetMuteNotificationRequest;
12295
- fromJSON(object: any): SetMuteNotificationRequest;
12296
- toJSON(message: SetMuteNotificationRequest): unknown;
12307
+ export declare const SetMuteRequest: {
12308
+ encode(message: SetMuteRequest, writer?: _m0.Writer): _m0.Writer;
12309
+ decode(input: _m0.Reader | Uint8Array, length?: number): SetMuteRequest;
12310
+ fromJSON(object: any): SetMuteRequest;
12311
+ toJSON(message: SetMuteRequest): unknown;
12297
12312
  create<I extends {
12298
12313
  id?: string | undefined;
12299
- notification_type?: number | undefined;
12314
+ mute_time?: number | undefined;
12300
12315
  active?: number | undefined;
12316
+ clan_id?: string | undefined;
12301
12317
  } & {
12302
12318
  id?: string | undefined;
12303
- notification_type?: number | undefined;
12319
+ mute_time?: number | undefined;
12304
12320
  active?: number | undefined;
12305
- } & { [K in Exclude<keyof I, keyof SetMuteNotificationRequest>]: never; }>(base?: I | undefined): SetMuteNotificationRequest;
12321
+ clan_id?: string | undefined;
12322
+ } & { [K in Exclude<keyof I, keyof SetMuteRequest>]: never; }>(base?: I | undefined): SetMuteRequest;
12306
12323
  fromPartial<I_1 extends {
12307
12324
  id?: string | undefined;
12308
- notification_type?: number | undefined;
12325
+ mute_time?: number | undefined;
12309
12326
  active?: number | undefined;
12327
+ clan_id?: string | undefined;
12310
12328
  } & {
12311
12329
  id?: string | undefined;
12312
- notification_type?: number | undefined;
12330
+ mute_time?: number | undefined;
12313
12331
  active?: number | undefined;
12314
- } & { [K_1 in Exclude<keyof I_1, keyof SetMuteNotificationRequest>]: never; }>(object: I_1): SetMuteNotificationRequest;
12332
+ clan_id?: string | undefined;
12333
+ } & { [K_1 in Exclude<keyof I_1, keyof SetMuteRequest>]: never; }>(object: I_1): SetMuteRequest;
12315
12334
  };
12316
12335
  export declare const HashtagDmListRequest: {
12317
12336
  encode(message: HashtagDmListRequest, writer?: _m0.Writer): _m0.Writer;
@@ -12662,9 +12681,7 @@ export declare const RoleList: {
12662
12681
  max_level_permission?: number | undefined;
12663
12682
  order_role?: number | undefined;
12664
12683
  }[] | undefined;
12665
- next_cursor?: string | undefined;
12666
- prev_cursor?: string | undefined;
12667
- cacheable_cursor?: string | undefined;
12684
+ max_level_permission?: number | undefined;
12668
12685
  } & {
12669
12686
  roles?: ({
12670
12687
  id?: string | undefined;
@@ -12897,9 +12914,7 @@ export declare const RoleList: {
12897
12914
  max_level_permission?: number | undefined;
12898
12915
  order_role?: number | undefined;
12899
12916
  }[]>]: never; }) | undefined;
12900
- next_cursor?: string | undefined;
12901
- prev_cursor?: string | undefined;
12902
- cacheable_cursor?: string | undefined;
12917
+ max_level_permission?: number | undefined;
12903
12918
  } & { [K_9 in Exclude<keyof I, keyof RoleList>]: never; }>(base?: I | undefined): RoleList;
12904
12919
  fromPartial<I_1 extends {
12905
12920
  roles?: {
@@ -12943,9 +12958,7 @@ export declare const RoleList: {
12943
12958
  max_level_permission?: number | undefined;
12944
12959
  order_role?: number | undefined;
12945
12960
  }[] | undefined;
12946
- next_cursor?: string | undefined;
12947
- prev_cursor?: string | undefined;
12948
- cacheable_cursor?: string | undefined;
12961
+ max_level_permission?: number | undefined;
12949
12962
  } & {
12950
12963
  roles?: ({
12951
12964
  id?: string | undefined;
@@ -13178,9 +13191,7 @@ export declare const RoleList: {
13178
13191
  max_level_permission?: number | undefined;
13179
13192
  order_role?: number | undefined;
13180
13193
  }[]>]: never; }) | undefined;
13181
- next_cursor?: string | undefined;
13182
- prev_cursor?: string | undefined;
13183
- cacheable_cursor?: string | undefined;
13194
+ max_level_permission?: number | undefined;
13184
13195
  } & { [K_19 in Exclude<keyof I_1, keyof RoleList>]: never; }>(object: I_1): RoleList;
13185
13196
  };
13186
13197
  export declare const EventList: {
@@ -17405,9 +17416,7 @@ export declare const RoleListEventResponse: {
17405
17416
  max_level_permission?: number | undefined;
17406
17417
  order_role?: number | undefined;
17407
17418
  }[] | undefined;
17408
- next_cursor?: string | undefined;
17409
- prev_cursor?: string | undefined;
17410
- cacheable_cursor?: string | undefined;
17419
+ max_level_permission?: number | undefined;
17411
17420
  } | undefined;
17412
17421
  } & {
17413
17422
  limit?: number | undefined;
@@ -17456,9 +17465,7 @@ export declare const RoleListEventResponse: {
17456
17465
  max_level_permission?: number | undefined;
17457
17466
  order_role?: number | undefined;
17458
17467
  }[] | undefined;
17459
- next_cursor?: string | undefined;
17460
- prev_cursor?: string | undefined;
17461
- cacheable_cursor?: string | undefined;
17468
+ max_level_permission?: number | undefined;
17462
17469
  } & {
17463
17470
  roles?: ({
17464
17471
  id?: string | undefined;
@@ -17691,9 +17698,7 @@ export declare const RoleListEventResponse: {
17691
17698
  max_level_permission?: number | undefined;
17692
17699
  order_role?: number | undefined;
17693
17700
  }[]>]: never; }) | undefined;
17694
- next_cursor?: string | undefined;
17695
- prev_cursor?: string | undefined;
17696
- cacheable_cursor?: string | undefined;
17701
+ max_level_permission?: number | undefined;
17697
17702
  } & { [K_9 in Exclude<keyof I["roles"], keyof RoleList>]: never; }) | undefined;
17698
17703
  } & { [K_10 in Exclude<keyof I, keyof RoleListEventResponse>]: never; }>(base?: I | undefined): RoleListEventResponse;
17699
17704
  fromPartial<I_1 extends {
@@ -17743,9 +17748,7 @@ export declare const RoleListEventResponse: {
17743
17748
  max_level_permission?: number | undefined;
17744
17749
  order_role?: number | undefined;
17745
17750
  }[] | undefined;
17746
- next_cursor?: string | undefined;
17747
- prev_cursor?: string | undefined;
17748
- cacheable_cursor?: string | undefined;
17751
+ max_level_permission?: number | undefined;
17749
17752
  } | undefined;
17750
17753
  } & {
17751
17754
  limit?: number | undefined;
@@ -17794,9 +17797,7 @@ export declare const RoleListEventResponse: {
17794
17797
  max_level_permission?: number | undefined;
17795
17798
  order_role?: number | undefined;
17796
17799
  }[] | undefined;
17797
- next_cursor?: string | undefined;
17798
- prev_cursor?: string | undefined;
17799
- cacheable_cursor?: string | undefined;
17800
+ max_level_permission?: number | undefined;
17800
17801
  } & {
17801
17802
  roles?: ({
17802
17803
  id?: string | undefined;
@@ -18029,9 +18030,7 @@ export declare const RoleListEventResponse: {
18029
18030
  max_level_permission?: number | undefined;
18030
18031
  order_role?: number | undefined;
18031
18032
  }[]>]: never; }) | undefined;
18032
- next_cursor?: string | undefined;
18033
- prev_cursor?: string | undefined;
18034
- cacheable_cursor?: string | undefined;
18033
+ max_level_permission?: number | undefined;
18035
18034
  } & { [K_20 in Exclude<keyof I_1["roles"], keyof RoleList>]: never; }) | undefined;
18036
18035
  } & { [K_21 in Exclude<keyof I_1, keyof RoleListEventResponse>]: never; }>(object: I_1): RoleListEventResponse;
18037
18036
  };