mezon-js-protobuf 1.5.83 → 1.5.86

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.
package/api/api.ts CHANGED
@@ -3074,32 +3074,63 @@ export interface PermissionRoleChannelListEventResponse {
3074
3074
  }
3075
3075
 
3076
3076
  export interface ChannelSettingListRequest {
3077
+ /** clan id */
3077
3078
  clan_id: string;
3079
+ /** parent id of thread */
3078
3080
  parent_id: string;
3081
+ /** category id */
3079
3082
  category_id: string;
3080
- private: number | undefined;
3081
- active: number | undefined;
3082
- status: number | undefined;
3083
- type: number | undefined;
3084
- limit: number | undefined;
3083
+ /** is private channel */
3084
+ privateChannel:
3085
+ | number
3086
+ | undefined;
3087
+ /** is active */
3088
+ active:
3089
+ | number
3090
+ | undefined;
3091
+ /** status */
3092
+ status:
3093
+ | number
3094
+ | undefined;
3095
+ /** type */
3096
+ type:
3097
+ | number
3098
+ | undefined;
3099
+ /** limit */
3100
+ limit:
3101
+ | number
3102
+ | undefined;
3103
+ /** page */
3085
3104
  page: number | undefined;
3086
3105
  }
3087
3106
 
3088
3107
  export interface ChannelSettingItem {
3108
+ /** channel id */
3089
3109
  id: string;
3110
+ /** creator id */
3090
3111
  creatorId: string;
3112
+ /** parentId */
3091
3113
  parentId: string;
3114
+ /** label of channel */
3092
3115
  channelLabel: string;
3116
+ /** category id */
3093
3117
  categoryId: string;
3118
+ /** meeting code */
3094
3119
  meetingCode: string;
3120
+ /** channel private */
3095
3121
  channelPrivate: number;
3122
+ /** channel type */
3096
3123
  channelType: number;
3124
+ /** is active */
3097
3125
  active: number;
3126
+ /** list user in channel */
3098
3127
  user_ids: string[];
3099
3128
  }
3100
3129
 
3101
3130
  export interface ChannelSettingListResponse {
3131
+ /** clan id */
3102
3132
  clan_id: string;
3133
+ /** channel setting list */
3103
3134
  channel_setting_list: ChannelSettingItem[];
3104
3135
  }
3105
3136
 
@@ -29015,7 +29046,7 @@ function createBaseChannelSettingListRequest(): ChannelSettingListRequest {
29015
29046
  clan_id: "",
29016
29047
  parent_id: "",
29017
29048
  category_id: "",
29018
- private: undefined,
29049
+ privateChannel: undefined,
29019
29050
  active: undefined,
29020
29051
  status: undefined,
29021
29052
  type: undefined,
@@ -29035,8 +29066,8 @@ export const ChannelSettingListRequest = {
29035
29066
  if (message.category_id !== "") {
29036
29067
  writer.uint32(26).string(message.category_id);
29037
29068
  }
29038
- if (message.private !== undefined) {
29039
- Int32Value.encode({ value: message.private! }, writer.uint32(34).fork()).ldelim();
29069
+ if (message.privateChannel !== undefined) {
29070
+ Int32Value.encode({ value: message.privateChannel! }, writer.uint32(34).fork()).ldelim();
29040
29071
  }
29041
29072
  if (message.active !== undefined) {
29042
29073
  Int32Value.encode({ value: message.active! }, writer.uint32(42).fork()).ldelim();
@@ -29089,7 +29120,7 @@ export const ChannelSettingListRequest = {
29089
29120
  break;
29090
29121
  }
29091
29122
 
29092
- message.private = Int32Value.decode(reader, reader.uint32()).value;
29123
+ message.privateChannel = Int32Value.decode(reader, reader.uint32()).value;
29093
29124
  continue;
29094
29125
  case 5:
29095
29126
  if (tag !== 42) {
@@ -29140,7 +29171,7 @@ export const ChannelSettingListRequest = {
29140
29171
  clan_id: isSet(object.clan_id) ? globalThis.String(object.clan_id) : "",
29141
29172
  parent_id: isSet(object.parent_id) ? globalThis.String(object.parent_id) : "",
29142
29173
  category_id: isSet(object.category_id) ? globalThis.String(object.category_id) : "",
29143
- private: isSet(object.private) ? Number(object.private) : undefined,
29174
+ privateChannel: isSet(object.privateChannel) ? Number(object.privateChannel) : undefined,
29144
29175
  active: isSet(object.active) ? Number(object.active) : undefined,
29145
29176
  status: isSet(object.status) ? Number(object.status) : undefined,
29146
29177
  type: isSet(object.type) ? Number(object.type) : undefined,
@@ -29160,8 +29191,8 @@ export const ChannelSettingListRequest = {
29160
29191
  if (message.category_id !== "") {
29161
29192
  obj.category_id = message.category_id;
29162
29193
  }
29163
- if (message.private !== undefined) {
29164
- obj.private = message.private;
29194
+ if (message.privateChannel !== undefined) {
29195
+ obj.privateChannel = message.privateChannel;
29165
29196
  }
29166
29197
  if (message.active !== undefined) {
29167
29198
  obj.active = message.active;
@@ -29189,7 +29220,7 @@ export const ChannelSettingListRequest = {
29189
29220
  message.clan_id = object.clan_id ?? "";
29190
29221
  message.parent_id = object.parent_id ?? "";
29191
29222
  message.category_id = object.category_id ?? "";
29192
- message.private = object.private ?? undefined;
29223
+ message.privateChannel = object.privateChannel ?? undefined;
29193
29224
  message.active = object.active ?? undefined;
29194
29225
  message.status = object.status ?? undefined;
29195
29226
  message.type = object.type ?? undefined;
@@ -2444,30 +2444,51 @@ export interface PermissionRoleChannelListEventResponse {
2444
2444
  permission_role_channel: PermissionRoleChannel[];
2445
2445
  }
2446
2446
  export interface ChannelSettingListRequest {
2447
+ /** clan id */
2447
2448
  clan_id: string;
2449
+ /** parent id of thread */
2448
2450
  parent_id: string;
2451
+ /** category id */
2449
2452
  category_id: string;
2450
- private: number | undefined;
2453
+ /** is private channel */
2454
+ privateChannel: number | undefined;
2455
+ /** is active */
2451
2456
  active: number | undefined;
2457
+ /** status */
2452
2458
  status: number | undefined;
2459
+ /** type */
2453
2460
  type: number | undefined;
2461
+ /** limit */
2454
2462
  limit: number | undefined;
2463
+ /** page */
2455
2464
  page: number | undefined;
2456
2465
  }
2457
2466
  export interface ChannelSettingItem {
2467
+ /** channel id */
2458
2468
  id: string;
2469
+ /** creator id */
2459
2470
  creatorId: string;
2471
+ /** parentId */
2460
2472
  parentId: string;
2473
+ /** label of channel */
2461
2474
  channelLabel: string;
2475
+ /** category id */
2462
2476
  categoryId: string;
2477
+ /** meeting code */
2463
2478
  meetingCode: string;
2479
+ /** channel private */
2464
2480
  channelPrivate: number;
2481
+ /** channel type */
2465
2482
  channelType: number;
2483
+ /** is active */
2466
2484
  active: number;
2485
+ /** list user in channel */
2467
2486
  user_ids: string[];
2468
2487
  }
2469
2488
  export interface ChannelSettingListResponse {
2489
+ /** clan id */
2470
2490
  clan_id: string;
2491
+ /** channel setting list */
2471
2492
  channel_setting_list: ChannelSettingItem[];
2472
2493
  }
2473
2494
  export interface MarkAsReadRequest {
@@ -16681,7 +16702,7 @@ export declare const ChannelSettingListRequest: {
16681
16702
  clan_id?: string | undefined;
16682
16703
  parent_id?: string | undefined;
16683
16704
  category_id?: string | undefined;
16684
- private?: number | undefined;
16705
+ privateChannel?: number | undefined;
16685
16706
  active?: number | undefined;
16686
16707
  status?: number | undefined;
16687
16708
  type?: number | undefined;
@@ -16691,7 +16712,7 @@ export declare const ChannelSettingListRequest: {
16691
16712
  clan_id?: string | undefined;
16692
16713
  parent_id?: string | undefined;
16693
16714
  category_id?: string | undefined;
16694
- private?: number | undefined;
16715
+ privateChannel?: number | undefined;
16695
16716
  active?: number | undefined;
16696
16717
  status?: number | undefined;
16697
16718
  type?: number | undefined;
@@ -16702,7 +16723,7 @@ export declare const ChannelSettingListRequest: {
16702
16723
  clan_id?: string | undefined;
16703
16724
  parent_id?: string | undefined;
16704
16725
  category_id?: string | undefined;
16705
- private?: number | undefined;
16726
+ privateChannel?: number | undefined;
16706
16727
  active?: number | undefined;
16707
16728
  status?: number | undefined;
16708
16729
  type?: number | undefined;
@@ -16712,7 +16733,7 @@ export declare const ChannelSettingListRequest: {
16712
16733
  clan_id?: string | undefined;
16713
16734
  parent_id?: string | undefined;
16714
16735
  category_id?: string | undefined;
16715
- private?: number | undefined;
16736
+ privateChannel?: number | undefined;
16716
16737
  active?: number | undefined;
16717
16738
  status?: number | undefined;
16718
16739
  type?: number | undefined;