mezon-sdk 2.7.43 → 2.7.45

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.
Files changed (47) hide show
  1. package/dist/cjs/api/api.d.ts +573 -0
  2. package/dist/cjs/api/api.js +1147 -11
  3. package/dist/cjs/api/api.js.map +1 -1
  4. package/dist/cjs/api.d.ts +3 -1
  5. package/dist/cjs/api.js +29 -0
  6. package/dist/cjs/api.js.map +1 -1
  7. package/dist/cjs/client.d.ts +3 -2
  8. package/dist/cjs/client.js +14 -1
  9. package/dist/cjs/client.js.map +1 -1
  10. package/dist/cjs/constants/enum.d.ts +3 -2
  11. package/dist/cjs/constants/enum.js +2 -1
  12. package/dist/cjs/constants/enum.js.map +1 -1
  13. package/dist/cjs/google/protobuf/struct.d.ts +3 -3
  14. package/dist/cjs/google/protobuf/struct.js +2 -2
  15. package/dist/cjs/google/protobuf/timestamp.d.ts +1 -1
  16. package/dist/cjs/google/protobuf/timestamp.js +1 -1
  17. package/dist/cjs/google/protobuf/wrappers.js +1 -1
  18. package/dist/cjs/interfaces/client.d.ts +12 -1
  19. package/dist/cjs/interfaces/client.js.map +1 -1
  20. package/dist/cjs/rtapi/realtime.d.ts +673 -378
  21. package/dist/cjs/rtapi/realtime.js +729 -331
  22. package/dist/cjs/rtapi/realtime.js.map +1 -1
  23. package/dist/esm/api/api.d.ts +573 -0
  24. package/dist/esm/api/api.js +1128 -4
  25. package/dist/esm/api/api.js.map +1 -1
  26. package/dist/esm/api.d.ts +3 -1
  27. package/dist/esm/api.js +29 -0
  28. package/dist/esm/api.js.map +1 -1
  29. package/dist/esm/client.d.ts +3 -2
  30. package/dist/esm/client.js +14 -1
  31. package/dist/esm/client.js.map +1 -1
  32. package/dist/esm/constants/enum.d.ts +3 -2
  33. package/dist/esm/constants/enum.js +2 -1
  34. package/dist/esm/constants/enum.js.map +1 -1
  35. package/dist/esm/google/protobuf/struct.d.ts +3 -3
  36. package/dist/esm/google/protobuf/struct.js +2 -2
  37. package/dist/esm/google/protobuf/timestamp.d.ts +1 -1
  38. package/dist/esm/google/protobuf/timestamp.js +1 -1
  39. package/dist/esm/google/protobuf/wrappers.js +1 -1
  40. package/dist/esm/interfaces/client.d.ts +12 -1
  41. package/dist/esm/interfaces/client.js.map +1 -1
  42. package/dist/esm/rtapi/realtime.d.ts +673 -378
  43. package/dist/esm/rtapi/realtime.js +718 -321
  44. package/dist/esm/rtapi/realtime.js.map +1 -1
  45. package/dist/tsconfig.esm.tsbuildinfo +1 -1
  46. package/dist/tsconfig.tsbuildinfo +1 -1
  47. package/package.json +1 -1
@@ -1397,6 +1397,8 @@ export interface AddRoleChannelDescRequest {
1397
1397
  role_ids: string[];
1398
1398
  /** This is a channel that needs more roles */
1399
1399
  channel_id: string;
1400
+ /** Max permission of role */
1401
+ max_permission: number;
1400
1402
  }
1401
1403
  /** Create a channel within clan. */
1402
1404
  export interface CreateChannelDescRequest {
@@ -1709,6 +1711,8 @@ export interface CreateRoleRequest {
1709
1711
  add_user_ids: string[];
1710
1712
  /** The permissions to add. */
1711
1713
  active_permission_ids: string[];
1714
+ /** Max permission of role */
1715
+ max_permission: number;
1712
1716
  }
1713
1717
  /** Create a event within clan. */
1714
1718
  export interface CreateEventRequest {
@@ -1772,6 +1776,10 @@ export interface UpdateRoleRequest {
1772
1776
  remove_permission_ids: string[];
1773
1777
  /** the clan id */
1774
1778
  clan_id: string;
1779
+ /** Max permission of role */
1780
+ max_permission: number;
1781
+ /** Max perrmissions updated */
1782
+ max_permission_updated: number;
1775
1783
  }
1776
1784
  export interface UpdateRoleChannelRequest {
1777
1785
  /** The ID of the role to update. */
@@ -1780,6 +1788,10 @@ export interface UpdateRoleChannelRequest {
1780
1788
  permission_update: PermissionUpdate[];
1781
1789
  /** The channel_id */
1782
1790
  channel_id: string;
1791
+ /** Max permission of role */
1792
+ max_permission: number;
1793
+ /** Max permission update */
1794
+ max_permission_update: number;
1783
1795
  }
1784
1796
  export interface PermissionUpdate {
1785
1797
  /** permission_id */
@@ -2124,6 +2136,14 @@ export interface SystemMessage {
2124
2136
  clan_id: string;
2125
2137
  /** Channel ID */
2126
2138
  channel_id: string;
2139
+ /** Welcome random */
2140
+ welcome_random: string;
2141
+ /** Welcome sticker */
2142
+ welcome_sticker: string;
2143
+ /** Boost message */
2144
+ boost_message: string;
2145
+ /** Setup tips */
2146
+ setup_tips: string;
2127
2147
  }
2128
2148
  /** List of system message. */
2129
2149
  export interface SystemMessagesList {
@@ -2135,6 +2155,14 @@ export interface SystemMessageRequest {
2135
2155
  clan_id: string;
2136
2156
  /** Channel ID */
2137
2157
  channel_id: string;
2158
+ /** Welcome random */
2159
+ welcome_random: string;
2160
+ /** Welcome sticker */
2161
+ welcome_sticker: string;
2162
+ /** Boost message */
2163
+ boost_message: string;
2164
+ /** Setup tips */
2165
+ setup_tips: string;
2138
2166
  }
2139
2167
  /** Request to delete a system message by clan ID. */
2140
2168
  export interface DeleteSystemMessage {
@@ -2149,6 +2177,87 @@ export interface GetSystemMessage {
2149
2177
  export interface DeleteCategoryOrderRequest {
2150
2178
  clan_id: string;
2151
2179
  }
2180
+ export interface OssrsHttpCallbackRequest {
2181
+ action: string;
2182
+ client_id: string;
2183
+ ip: string;
2184
+ vhost: string;
2185
+ app: string;
2186
+ stream: string;
2187
+ param: string | undefined;
2188
+ server_id: string;
2189
+ stream_url: string;
2190
+ stream_id: string;
2191
+ page_url: string | undefined;
2192
+ tcUrl: string | undefined;
2193
+ service_id: string | undefined;
2194
+ }
2195
+ export interface OssrsHttpCallbackResponse {
2196
+ code: number | undefined;
2197
+ msg: string;
2198
+ }
2199
+ /** A list of users belonging to a channel, along with their role. */
2200
+ export interface StreamingChannelUser {
2201
+ /** user join id */
2202
+ id: string;
2203
+ /** user for a channel. */
2204
+ user_id: string;
2205
+ /** channel id */
2206
+ channel_id: string;
2207
+ /** participant */
2208
+ participant: string;
2209
+ }
2210
+ /** A list of users belonging to a channel, along with their role. */
2211
+ export interface StreamingChannelUserList {
2212
+ /** list of voice channel user */
2213
+ streaming_channel_users: StreamingChannelUser[];
2214
+ }
2215
+ export interface RegisterStreamingChannelRequest {
2216
+ /** clan id */
2217
+ clan_id: string;
2218
+ /** channel id */
2219
+ channel_id: string;
2220
+ }
2221
+ export interface RegisterStreamingChannelResponse {
2222
+ /** clan id */
2223
+ clan_id: string;
2224
+ /** channel id */
2225
+ channel_id: string;
2226
+ /** streaming url */
2227
+ streaming_url: string;
2228
+ }
2229
+ export interface ListStreamingChannelsRequest {
2230
+ /** clan id */
2231
+ clan_id: string;
2232
+ }
2233
+ export interface ListStreamingChannelsResponse {
2234
+ /** list of streaming channel */
2235
+ streaming_channels: StreamingChannelResponse[];
2236
+ }
2237
+ export interface StreamingChannelResponse {
2238
+ /** clan id */
2239
+ clan_id: string;
2240
+ /** channel id */
2241
+ channel_id: string;
2242
+ /** stream url */
2243
+ streaming_url: string;
2244
+ /** status */
2245
+ is_streaming: boolean;
2246
+ }
2247
+ export interface GiveCoffeeEvent {
2248
+ /** sender id */
2249
+ sender_id: string;
2250
+ /** receiver id */
2251
+ receiver_id: string;
2252
+ /** token count */
2253
+ token_count: number;
2254
+ /** message_ref */
2255
+ message_ref_id: string;
2256
+ /** chanel id */
2257
+ channel_id: string;
2258
+ /** clan id */
2259
+ clan_id: string;
2260
+ }
2152
2261
  export declare const Account: {
2153
2262
  encode(message: Account, writer?: _m0.Writer): _m0.Writer;
2154
2263
  decode(input: _m0.Reader | Uint8Array, length?: number): Account;
@@ -9607,16 +9716,20 @@ export declare const AddRoleChannelDescRequest: {
9607
9716
  create<I extends {
9608
9717
  role_ids?: string[] | undefined;
9609
9718
  channel_id?: string | undefined;
9719
+ max_permission?: number | undefined;
9610
9720
  } & {
9611
9721
  role_ids?: (string[] & string[] & { [K in Exclude<keyof I["role_ids"], keyof string[]>]: never; }) | undefined;
9612
9722
  channel_id?: string | undefined;
9723
+ max_permission?: number | undefined;
9613
9724
  } & { [K_1 in Exclude<keyof I, keyof AddRoleChannelDescRequest>]: never; }>(base?: I | undefined): AddRoleChannelDescRequest;
9614
9725
  fromPartial<I_1 extends {
9615
9726
  role_ids?: string[] | undefined;
9616
9727
  channel_id?: string | undefined;
9728
+ max_permission?: number | undefined;
9617
9729
  } & {
9618
9730
  role_ids?: (string[] & string[] & { [K_2 in Exclude<keyof I_1["role_ids"], keyof string[]>]: never; }) | undefined;
9619
9731
  channel_id?: string | undefined;
9732
+ max_permission?: number | undefined;
9620
9733
  } & { [K_3 in Exclude<keyof I_1, keyof AddRoleChannelDescRequest>]: never; }>(object: I_1): AddRoleChannelDescRequest;
9621
9734
  };
9622
9735
  export declare const CreateChannelDescRequest: {
@@ -11778,6 +11891,7 @@ export declare const CreateRoleRequest: {
11778
11891
  allow_mention?: number | undefined;
11779
11892
  add_user_ids?: string[] | undefined;
11780
11893
  active_permission_ids?: string[] | undefined;
11894
+ max_permission?: number | undefined;
11781
11895
  } & {
11782
11896
  title?: string | undefined;
11783
11897
  color?: string | undefined;
@@ -11788,6 +11902,7 @@ export declare const CreateRoleRequest: {
11788
11902
  allow_mention?: number | undefined;
11789
11903
  add_user_ids?: (string[] & string[] & { [K in Exclude<keyof I["add_user_ids"], keyof string[]>]: never; }) | undefined;
11790
11904
  active_permission_ids?: (string[] & string[] & { [K_1 in Exclude<keyof I["active_permission_ids"], keyof string[]>]: never; }) | undefined;
11905
+ max_permission?: number | undefined;
11791
11906
  } & { [K_2 in Exclude<keyof I, keyof CreateRoleRequest>]: never; }>(base?: I | undefined): CreateRoleRequest;
11792
11907
  fromPartial<I_1 extends {
11793
11908
  title?: string | undefined;
@@ -11799,6 +11914,7 @@ export declare const CreateRoleRequest: {
11799
11914
  allow_mention?: number | undefined;
11800
11915
  add_user_ids?: string[] | undefined;
11801
11916
  active_permission_ids?: string[] | undefined;
11917
+ max_permission?: number | undefined;
11802
11918
  } & {
11803
11919
  title?: string | undefined;
11804
11920
  color?: string | undefined;
@@ -11809,6 +11925,7 @@ export declare const CreateRoleRequest: {
11809
11925
  allow_mention?: number | undefined;
11810
11926
  add_user_ids?: (string[] & string[] & { [K_3 in Exclude<keyof I_1["add_user_ids"], keyof string[]>]: never; }) | undefined;
11811
11927
  active_permission_ids?: (string[] & string[] & { [K_4 in Exclude<keyof I_1["active_permission_ids"], keyof string[]>]: never; }) | undefined;
11928
+ max_permission?: number | undefined;
11812
11929
  } & { [K_5 in Exclude<keyof I_1, keyof CreateRoleRequest>]: never; }>(object: I_1): CreateRoleRequest;
11813
11930
  };
11814
11931
  export declare const CreateEventRequest: {
@@ -11977,6 +12094,8 @@ export declare const UpdateRoleRequest: {
11977
12094
  remove_user_ids?: string[] | undefined;
11978
12095
  remove_permission_ids?: string[] | undefined;
11979
12096
  clan_id?: string | undefined;
12097
+ max_permission?: number | undefined;
12098
+ max_permission_updated?: number | undefined;
11980
12099
  } & {
11981
12100
  role_id?: string | undefined;
11982
12101
  title?: string | undefined;
@@ -11990,6 +12109,8 @@ export declare const UpdateRoleRequest: {
11990
12109
  remove_user_ids?: (string[] & string[] & { [K_2 in Exclude<keyof I["remove_user_ids"], keyof string[]>]: never; }) | undefined;
11991
12110
  remove_permission_ids?: (string[] & string[] & { [K_3 in Exclude<keyof I["remove_permission_ids"], keyof string[]>]: never; }) | undefined;
11992
12111
  clan_id?: string | undefined;
12112
+ max_permission?: number | undefined;
12113
+ max_permission_updated?: number | undefined;
11993
12114
  } & { [K_4 in Exclude<keyof I, keyof UpdateRoleRequest>]: never; }>(base?: I | undefined): UpdateRoleRequest;
11994
12115
  fromPartial<I_1 extends {
11995
12116
  role_id?: string | undefined;
@@ -12004,6 +12125,8 @@ export declare const UpdateRoleRequest: {
12004
12125
  remove_user_ids?: string[] | undefined;
12005
12126
  remove_permission_ids?: string[] | undefined;
12006
12127
  clan_id?: string | undefined;
12128
+ max_permission?: number | undefined;
12129
+ max_permission_updated?: number | undefined;
12007
12130
  } & {
12008
12131
  role_id?: string | undefined;
12009
12132
  title?: string | undefined;
@@ -12017,6 +12140,8 @@ export declare const UpdateRoleRequest: {
12017
12140
  remove_user_ids?: (string[] & string[] & { [K_7 in Exclude<keyof I_1["remove_user_ids"], keyof string[]>]: never; }) | undefined;
12018
12141
  remove_permission_ids?: (string[] & string[] & { [K_8 in Exclude<keyof I_1["remove_permission_ids"], keyof string[]>]: never; }) | undefined;
12019
12142
  clan_id?: string | undefined;
12143
+ max_permission?: number | undefined;
12144
+ max_permission_updated?: number | undefined;
12020
12145
  } & { [K_9 in Exclude<keyof I_1, keyof UpdateRoleRequest>]: never; }>(object: I_1): UpdateRoleRequest;
12021
12146
  };
12022
12147
  export declare const UpdateRoleChannelRequest: {
@@ -12031,6 +12156,8 @@ export declare const UpdateRoleChannelRequest: {
12031
12156
  type?: number | undefined;
12032
12157
  }[] | undefined;
12033
12158
  channel_id?: string | undefined;
12159
+ max_permission?: number | undefined;
12160
+ max_permission_update?: number | undefined;
12034
12161
  } & {
12035
12162
  role_id?: string | undefined;
12036
12163
  permission_update?: ({
@@ -12047,6 +12174,8 @@ export declare const UpdateRoleChannelRequest: {
12047
12174
  type?: number | undefined;
12048
12175
  }[]>]: never; }) | undefined;
12049
12176
  channel_id?: string | undefined;
12177
+ max_permission?: number | undefined;
12178
+ max_permission_update?: number | undefined;
12050
12179
  } & { [K_2 in Exclude<keyof I, keyof UpdateRoleChannelRequest>]: never; }>(base?: I | undefined): UpdateRoleChannelRequest;
12051
12180
  fromPartial<I_1 extends {
12052
12181
  role_id?: string | undefined;
@@ -12055,6 +12184,8 @@ export declare const UpdateRoleChannelRequest: {
12055
12184
  type?: number | undefined;
12056
12185
  }[] | undefined;
12057
12186
  channel_id?: string | undefined;
12187
+ max_permission?: number | undefined;
12188
+ max_permission_update?: number | undefined;
12058
12189
  } & {
12059
12190
  role_id?: string | undefined;
12060
12191
  permission_update?: ({
@@ -12071,6 +12202,8 @@ export declare const UpdateRoleChannelRequest: {
12071
12202
  type?: number | undefined;
12072
12203
  }[]>]: never; }) | undefined;
12073
12204
  channel_id?: string | undefined;
12205
+ max_permission?: number | undefined;
12206
+ max_permission_update?: number | undefined;
12074
12207
  } & { [K_5 in Exclude<keyof I_1, keyof UpdateRoleChannelRequest>]: never; }>(object: I_1): UpdateRoleChannelRequest;
12075
12208
  };
12076
12209
  export declare const PermissionUpdate: {
@@ -13716,19 +13849,35 @@ export declare const SystemMessage: {
13716
13849
  id?: string | undefined;
13717
13850
  clan_id?: string | undefined;
13718
13851
  channel_id?: string | undefined;
13852
+ welcome_random?: string | undefined;
13853
+ welcome_sticker?: string | undefined;
13854
+ boost_message?: string | undefined;
13855
+ setup_tips?: string | undefined;
13719
13856
  } & {
13720
13857
  id?: string | undefined;
13721
13858
  clan_id?: string | undefined;
13722
13859
  channel_id?: string | undefined;
13860
+ welcome_random?: string | undefined;
13861
+ welcome_sticker?: string | undefined;
13862
+ boost_message?: string | undefined;
13863
+ setup_tips?: string | undefined;
13723
13864
  } & { [K in Exclude<keyof I, keyof SystemMessage>]: never; }>(base?: I | undefined): SystemMessage;
13724
13865
  fromPartial<I_1 extends {
13725
13866
  id?: string | undefined;
13726
13867
  clan_id?: string | undefined;
13727
13868
  channel_id?: string | undefined;
13869
+ welcome_random?: string | undefined;
13870
+ welcome_sticker?: string | undefined;
13871
+ boost_message?: string | undefined;
13872
+ setup_tips?: string | undefined;
13728
13873
  } & {
13729
13874
  id?: string | undefined;
13730
13875
  clan_id?: string | undefined;
13731
13876
  channel_id?: string | undefined;
13877
+ welcome_random?: string | undefined;
13878
+ welcome_sticker?: string | undefined;
13879
+ boost_message?: string | undefined;
13880
+ setup_tips?: string | undefined;
13732
13881
  } & { [K_1 in Exclude<keyof I_1, keyof SystemMessage>]: never; }>(object: I_1): SystemMessage;
13733
13882
  };
13734
13883
  export declare const SystemMessagesList: {
@@ -13741,24 +13890,44 @@ export declare const SystemMessagesList: {
13741
13890
  id?: string | undefined;
13742
13891
  clan_id?: string | undefined;
13743
13892
  channel_id?: string | undefined;
13893
+ welcome_random?: string | undefined;
13894
+ welcome_sticker?: string | undefined;
13895
+ boost_message?: string | undefined;
13896
+ setup_tips?: string | undefined;
13744
13897
  }[] | undefined;
13745
13898
  } & {
13746
13899
  system_messages_list?: ({
13747
13900
  id?: string | undefined;
13748
13901
  clan_id?: string | undefined;
13749
13902
  channel_id?: string | undefined;
13903
+ welcome_random?: string | undefined;
13904
+ welcome_sticker?: string | undefined;
13905
+ boost_message?: string | undefined;
13906
+ setup_tips?: string | undefined;
13750
13907
  }[] & ({
13751
13908
  id?: string | undefined;
13752
13909
  clan_id?: string | undefined;
13753
13910
  channel_id?: string | undefined;
13911
+ welcome_random?: string | undefined;
13912
+ welcome_sticker?: string | undefined;
13913
+ boost_message?: string | undefined;
13914
+ setup_tips?: string | undefined;
13754
13915
  } & {
13755
13916
  id?: string | undefined;
13756
13917
  clan_id?: string | undefined;
13757
13918
  channel_id?: string | undefined;
13919
+ welcome_random?: string | undefined;
13920
+ welcome_sticker?: string | undefined;
13921
+ boost_message?: string | undefined;
13922
+ setup_tips?: string | undefined;
13758
13923
  } & { [K in Exclude<keyof I["system_messages_list"][number], keyof SystemMessage>]: never; })[] & { [K_1 in Exclude<keyof I["system_messages_list"], keyof {
13759
13924
  id?: string | undefined;
13760
13925
  clan_id?: string | undefined;
13761
13926
  channel_id?: string | undefined;
13927
+ welcome_random?: string | undefined;
13928
+ welcome_sticker?: string | undefined;
13929
+ boost_message?: string | undefined;
13930
+ setup_tips?: string | undefined;
13762
13931
  }[]>]: never; }) | undefined;
13763
13932
  } & { [K_2 in Exclude<keyof I, "system_messages_list">]: never; }>(base?: I | undefined): SystemMessagesList;
13764
13933
  fromPartial<I_1 extends {
@@ -13766,24 +13935,44 @@ export declare const SystemMessagesList: {
13766
13935
  id?: string | undefined;
13767
13936
  clan_id?: string | undefined;
13768
13937
  channel_id?: string | undefined;
13938
+ welcome_random?: string | undefined;
13939
+ welcome_sticker?: string | undefined;
13940
+ boost_message?: string | undefined;
13941
+ setup_tips?: string | undefined;
13769
13942
  }[] | undefined;
13770
13943
  } & {
13771
13944
  system_messages_list?: ({
13772
13945
  id?: string | undefined;
13773
13946
  clan_id?: string | undefined;
13774
13947
  channel_id?: string | undefined;
13948
+ welcome_random?: string | undefined;
13949
+ welcome_sticker?: string | undefined;
13950
+ boost_message?: string | undefined;
13951
+ setup_tips?: string | undefined;
13775
13952
  }[] & ({
13776
13953
  id?: string | undefined;
13777
13954
  clan_id?: string | undefined;
13778
13955
  channel_id?: string | undefined;
13956
+ welcome_random?: string | undefined;
13957
+ welcome_sticker?: string | undefined;
13958
+ boost_message?: string | undefined;
13959
+ setup_tips?: string | undefined;
13779
13960
  } & {
13780
13961
  id?: string | undefined;
13781
13962
  clan_id?: string | undefined;
13782
13963
  channel_id?: string | undefined;
13964
+ welcome_random?: string | undefined;
13965
+ welcome_sticker?: string | undefined;
13966
+ boost_message?: string | undefined;
13967
+ setup_tips?: string | undefined;
13783
13968
  } & { [K_3 in Exclude<keyof I_1["system_messages_list"][number], keyof SystemMessage>]: never; })[] & { [K_4 in Exclude<keyof I_1["system_messages_list"], keyof {
13784
13969
  id?: string | undefined;
13785
13970
  clan_id?: string | undefined;
13786
13971
  channel_id?: string | undefined;
13972
+ welcome_random?: string | undefined;
13973
+ welcome_sticker?: string | undefined;
13974
+ boost_message?: string | undefined;
13975
+ setup_tips?: string | undefined;
13787
13976
  }[]>]: never; }) | undefined;
13788
13977
  } & { [K_5 in Exclude<keyof I_1, "system_messages_list">]: never; }>(object: I_1): SystemMessagesList;
13789
13978
  };
@@ -13795,16 +13984,32 @@ export declare const SystemMessageRequest: {
13795
13984
  create<I extends {
13796
13985
  clan_id?: string | undefined;
13797
13986
  channel_id?: string | undefined;
13987
+ welcome_random?: string | undefined;
13988
+ welcome_sticker?: string | undefined;
13989
+ boost_message?: string | undefined;
13990
+ setup_tips?: string | undefined;
13798
13991
  } & {
13799
13992
  clan_id?: string | undefined;
13800
13993
  channel_id?: string | undefined;
13994
+ welcome_random?: string | undefined;
13995
+ welcome_sticker?: string | undefined;
13996
+ boost_message?: string | undefined;
13997
+ setup_tips?: string | undefined;
13801
13998
  } & { [K in Exclude<keyof I, keyof SystemMessageRequest>]: never; }>(base?: I | undefined): SystemMessageRequest;
13802
13999
  fromPartial<I_1 extends {
13803
14000
  clan_id?: string | undefined;
13804
14001
  channel_id?: string | undefined;
14002
+ welcome_random?: string | undefined;
14003
+ welcome_sticker?: string | undefined;
14004
+ boost_message?: string | undefined;
14005
+ setup_tips?: string | undefined;
13805
14006
  } & {
13806
14007
  clan_id?: string | undefined;
13807
14008
  channel_id?: string | undefined;
14009
+ welcome_random?: string | undefined;
14010
+ welcome_sticker?: string | undefined;
14011
+ boost_message?: string | undefined;
14012
+ setup_tips?: string | undefined;
13808
14013
  } & { [K_1 in Exclude<keyof I_1, keyof SystemMessageRequest>]: never; }>(object: I_1): SystemMessageRequest;
13809
14014
  };
13810
14015
  export declare const DeleteSystemMessage: {
@@ -13855,6 +14060,374 @@ export declare const DeleteCategoryOrderRequest: {
13855
14060
  clan_id?: string | undefined;
13856
14061
  } & { [K_1 in Exclude<keyof I_1, "clan_id">]: never; }>(object: I_1): DeleteCategoryOrderRequest;
13857
14062
  };
14063
+ export declare const OssrsHttpCallbackRequest: {
14064
+ encode(message: OssrsHttpCallbackRequest, writer?: _m0.Writer): _m0.Writer;
14065
+ decode(input: _m0.Reader | Uint8Array, length?: number): OssrsHttpCallbackRequest;
14066
+ fromJSON(object: any): OssrsHttpCallbackRequest;
14067
+ toJSON(message: OssrsHttpCallbackRequest): unknown;
14068
+ create<I extends {
14069
+ action?: string | undefined;
14070
+ client_id?: string | undefined;
14071
+ ip?: string | undefined;
14072
+ vhost?: string | undefined;
14073
+ app?: string | undefined;
14074
+ stream?: string | undefined;
14075
+ param?: string | undefined;
14076
+ server_id?: string | undefined;
14077
+ stream_url?: string | undefined;
14078
+ stream_id?: string | undefined;
14079
+ page_url?: string | undefined;
14080
+ tcUrl?: string | undefined;
14081
+ service_id?: string | undefined;
14082
+ } & {
14083
+ action?: string | undefined;
14084
+ client_id?: string | undefined;
14085
+ ip?: string | undefined;
14086
+ vhost?: string | undefined;
14087
+ app?: string | undefined;
14088
+ stream?: string | undefined;
14089
+ param?: string | undefined;
14090
+ server_id?: string | undefined;
14091
+ stream_url?: string | undefined;
14092
+ stream_id?: string | undefined;
14093
+ page_url?: string | undefined;
14094
+ tcUrl?: string | undefined;
14095
+ service_id?: string | undefined;
14096
+ } & { [K in Exclude<keyof I, keyof OssrsHttpCallbackRequest>]: never; }>(base?: I | undefined): OssrsHttpCallbackRequest;
14097
+ fromPartial<I_1 extends {
14098
+ action?: string | undefined;
14099
+ client_id?: string | undefined;
14100
+ ip?: string | undefined;
14101
+ vhost?: string | undefined;
14102
+ app?: string | undefined;
14103
+ stream?: string | undefined;
14104
+ param?: string | undefined;
14105
+ server_id?: string | undefined;
14106
+ stream_url?: string | undefined;
14107
+ stream_id?: string | undefined;
14108
+ page_url?: string | undefined;
14109
+ tcUrl?: string | undefined;
14110
+ service_id?: string | undefined;
14111
+ } & {
14112
+ action?: string | undefined;
14113
+ client_id?: string | undefined;
14114
+ ip?: string | undefined;
14115
+ vhost?: string | undefined;
14116
+ app?: string | undefined;
14117
+ stream?: string | undefined;
14118
+ param?: string | undefined;
14119
+ server_id?: string | undefined;
14120
+ stream_url?: string | undefined;
14121
+ stream_id?: string | undefined;
14122
+ page_url?: string | undefined;
14123
+ tcUrl?: string | undefined;
14124
+ service_id?: string | undefined;
14125
+ } & { [K_1 in Exclude<keyof I_1, keyof OssrsHttpCallbackRequest>]: never; }>(object: I_1): OssrsHttpCallbackRequest;
14126
+ };
14127
+ export declare const OssrsHttpCallbackResponse: {
14128
+ encode(message: OssrsHttpCallbackResponse, writer?: _m0.Writer): _m0.Writer;
14129
+ decode(input: _m0.Reader | Uint8Array, length?: number): OssrsHttpCallbackResponse;
14130
+ fromJSON(object: any): OssrsHttpCallbackResponse;
14131
+ toJSON(message: OssrsHttpCallbackResponse): unknown;
14132
+ create<I extends {
14133
+ code?: number | undefined;
14134
+ msg?: string | undefined;
14135
+ } & {
14136
+ code?: number | undefined;
14137
+ msg?: string | undefined;
14138
+ } & { [K in Exclude<keyof I, keyof OssrsHttpCallbackResponse>]: never; }>(base?: I | undefined): OssrsHttpCallbackResponse;
14139
+ fromPartial<I_1 extends {
14140
+ code?: number | undefined;
14141
+ msg?: string | undefined;
14142
+ } & {
14143
+ code?: number | undefined;
14144
+ msg?: string | undefined;
14145
+ } & { [K_1 in Exclude<keyof I_1, keyof OssrsHttpCallbackResponse>]: never; }>(object: I_1): OssrsHttpCallbackResponse;
14146
+ };
14147
+ export declare const StreamingChannelUser: {
14148
+ encode(message: StreamingChannelUser, writer?: _m0.Writer): _m0.Writer;
14149
+ decode(input: _m0.Reader | Uint8Array, length?: number): StreamingChannelUser;
14150
+ fromJSON(object: any): StreamingChannelUser;
14151
+ toJSON(message: StreamingChannelUser): unknown;
14152
+ create<I extends {
14153
+ id?: string | undefined;
14154
+ user_id?: string | undefined;
14155
+ channel_id?: string | undefined;
14156
+ participant?: string | undefined;
14157
+ } & {
14158
+ id?: string | undefined;
14159
+ user_id?: string | undefined;
14160
+ channel_id?: string | undefined;
14161
+ participant?: string | undefined;
14162
+ } & { [K in Exclude<keyof I, keyof StreamingChannelUser>]: never; }>(base?: I | undefined): StreamingChannelUser;
14163
+ fromPartial<I_1 extends {
14164
+ id?: string | undefined;
14165
+ user_id?: string | undefined;
14166
+ channel_id?: string | undefined;
14167
+ participant?: string | undefined;
14168
+ } & {
14169
+ id?: string | undefined;
14170
+ user_id?: string | undefined;
14171
+ channel_id?: string | undefined;
14172
+ participant?: string | undefined;
14173
+ } & { [K_1 in Exclude<keyof I_1, keyof StreamingChannelUser>]: never; }>(object: I_1): StreamingChannelUser;
14174
+ };
14175
+ export declare const StreamingChannelUserList: {
14176
+ encode(message: StreamingChannelUserList, writer?: _m0.Writer): _m0.Writer;
14177
+ decode(input: _m0.Reader | Uint8Array, length?: number): StreamingChannelUserList;
14178
+ fromJSON(object: any): StreamingChannelUserList;
14179
+ toJSON(message: StreamingChannelUserList): unknown;
14180
+ create<I extends {
14181
+ streaming_channel_users?: {
14182
+ id?: string | undefined;
14183
+ user_id?: string | undefined;
14184
+ channel_id?: string | undefined;
14185
+ participant?: string | undefined;
14186
+ }[] | undefined;
14187
+ } & {
14188
+ streaming_channel_users?: ({
14189
+ id?: string | undefined;
14190
+ user_id?: string | undefined;
14191
+ channel_id?: string | undefined;
14192
+ participant?: string | undefined;
14193
+ }[] & ({
14194
+ id?: string | undefined;
14195
+ user_id?: string | undefined;
14196
+ channel_id?: string | undefined;
14197
+ participant?: string | undefined;
14198
+ } & {
14199
+ id?: string | undefined;
14200
+ user_id?: string | undefined;
14201
+ channel_id?: string | undefined;
14202
+ participant?: string | undefined;
14203
+ } & { [K in Exclude<keyof I["streaming_channel_users"][number], keyof StreamingChannelUser>]: never; })[] & { [K_1 in Exclude<keyof I["streaming_channel_users"], keyof {
14204
+ id?: string | undefined;
14205
+ user_id?: string | undefined;
14206
+ channel_id?: string | undefined;
14207
+ participant?: string | undefined;
14208
+ }[]>]: never; }) | undefined;
14209
+ } & { [K_2 in Exclude<keyof I, "streaming_channel_users">]: never; }>(base?: I | undefined): StreamingChannelUserList;
14210
+ fromPartial<I_1 extends {
14211
+ streaming_channel_users?: {
14212
+ id?: string | undefined;
14213
+ user_id?: string | undefined;
14214
+ channel_id?: string | undefined;
14215
+ participant?: string | undefined;
14216
+ }[] | undefined;
14217
+ } & {
14218
+ streaming_channel_users?: ({
14219
+ id?: string | undefined;
14220
+ user_id?: string | undefined;
14221
+ channel_id?: string | undefined;
14222
+ participant?: string | undefined;
14223
+ }[] & ({
14224
+ id?: string | undefined;
14225
+ user_id?: string | undefined;
14226
+ channel_id?: string | undefined;
14227
+ participant?: string | undefined;
14228
+ } & {
14229
+ id?: string | undefined;
14230
+ user_id?: string | undefined;
14231
+ channel_id?: string | undefined;
14232
+ participant?: string | undefined;
14233
+ } & { [K_3 in Exclude<keyof I_1["streaming_channel_users"][number], keyof StreamingChannelUser>]: never; })[] & { [K_4 in Exclude<keyof I_1["streaming_channel_users"], keyof {
14234
+ id?: string | undefined;
14235
+ user_id?: string | undefined;
14236
+ channel_id?: string | undefined;
14237
+ participant?: string | undefined;
14238
+ }[]>]: never; }) | undefined;
14239
+ } & { [K_5 in Exclude<keyof I_1, "streaming_channel_users">]: never; }>(object: I_1): StreamingChannelUserList;
14240
+ };
14241
+ export declare const RegisterStreamingChannelRequest: {
14242
+ encode(message: RegisterStreamingChannelRequest, writer?: _m0.Writer): _m0.Writer;
14243
+ decode(input: _m0.Reader | Uint8Array, length?: number): RegisterStreamingChannelRequest;
14244
+ fromJSON(object: any): RegisterStreamingChannelRequest;
14245
+ toJSON(message: RegisterStreamingChannelRequest): unknown;
14246
+ create<I extends {
14247
+ clan_id?: string | undefined;
14248
+ channel_id?: string | undefined;
14249
+ } & {
14250
+ clan_id?: string | undefined;
14251
+ channel_id?: string | undefined;
14252
+ } & { [K in Exclude<keyof I, keyof RegisterStreamingChannelRequest>]: never; }>(base?: I | undefined): RegisterStreamingChannelRequest;
14253
+ fromPartial<I_1 extends {
14254
+ clan_id?: string | undefined;
14255
+ channel_id?: string | undefined;
14256
+ } & {
14257
+ clan_id?: string | undefined;
14258
+ channel_id?: string | undefined;
14259
+ } & { [K_1 in Exclude<keyof I_1, keyof RegisterStreamingChannelRequest>]: never; }>(object: I_1): RegisterStreamingChannelRequest;
14260
+ };
14261
+ export declare const RegisterStreamingChannelResponse: {
14262
+ encode(message: RegisterStreamingChannelResponse, writer?: _m0.Writer): _m0.Writer;
14263
+ decode(input: _m0.Reader | Uint8Array, length?: number): RegisterStreamingChannelResponse;
14264
+ fromJSON(object: any): RegisterStreamingChannelResponse;
14265
+ toJSON(message: RegisterStreamingChannelResponse): unknown;
14266
+ create<I extends {
14267
+ clan_id?: string | undefined;
14268
+ channel_id?: string | undefined;
14269
+ streaming_url?: string | undefined;
14270
+ } & {
14271
+ clan_id?: string | undefined;
14272
+ channel_id?: string | undefined;
14273
+ streaming_url?: string | undefined;
14274
+ } & { [K in Exclude<keyof I, keyof RegisterStreamingChannelResponse>]: never; }>(base?: I | undefined): RegisterStreamingChannelResponse;
14275
+ fromPartial<I_1 extends {
14276
+ clan_id?: string | undefined;
14277
+ channel_id?: string | undefined;
14278
+ streaming_url?: string | undefined;
14279
+ } & {
14280
+ clan_id?: string | undefined;
14281
+ channel_id?: string | undefined;
14282
+ streaming_url?: string | undefined;
14283
+ } & { [K_1 in Exclude<keyof I_1, keyof RegisterStreamingChannelResponse>]: never; }>(object: I_1): RegisterStreamingChannelResponse;
14284
+ };
14285
+ export declare const ListStreamingChannelsRequest: {
14286
+ encode(message: ListStreamingChannelsRequest, writer?: _m0.Writer): _m0.Writer;
14287
+ decode(input: _m0.Reader | Uint8Array, length?: number): ListStreamingChannelsRequest;
14288
+ fromJSON(object: any): ListStreamingChannelsRequest;
14289
+ toJSON(message: ListStreamingChannelsRequest): unknown;
14290
+ create<I extends {
14291
+ clan_id?: string | undefined;
14292
+ } & {
14293
+ clan_id?: string | undefined;
14294
+ } & { [K in Exclude<keyof I, "clan_id">]: never; }>(base?: I | undefined): ListStreamingChannelsRequest;
14295
+ fromPartial<I_1 extends {
14296
+ clan_id?: string | undefined;
14297
+ } & {
14298
+ clan_id?: string | undefined;
14299
+ } & { [K_1 in Exclude<keyof I_1, "clan_id">]: never; }>(object: I_1): ListStreamingChannelsRequest;
14300
+ };
14301
+ export declare const ListStreamingChannelsResponse: {
14302
+ encode(message: ListStreamingChannelsResponse, writer?: _m0.Writer): _m0.Writer;
14303
+ decode(input: _m0.Reader | Uint8Array, length?: number): ListStreamingChannelsResponse;
14304
+ fromJSON(object: any): ListStreamingChannelsResponse;
14305
+ toJSON(message: ListStreamingChannelsResponse): unknown;
14306
+ create<I extends {
14307
+ streaming_channels?: {
14308
+ clan_id?: string | undefined;
14309
+ channel_id?: string | undefined;
14310
+ streaming_url?: string | undefined;
14311
+ is_streaming?: boolean | undefined;
14312
+ }[] | undefined;
14313
+ } & {
14314
+ streaming_channels?: ({
14315
+ clan_id?: string | undefined;
14316
+ channel_id?: string | undefined;
14317
+ streaming_url?: string | undefined;
14318
+ is_streaming?: boolean | undefined;
14319
+ }[] & ({
14320
+ clan_id?: string | undefined;
14321
+ channel_id?: string | undefined;
14322
+ streaming_url?: string | undefined;
14323
+ is_streaming?: boolean | undefined;
14324
+ } & {
14325
+ clan_id?: string | undefined;
14326
+ channel_id?: string | undefined;
14327
+ streaming_url?: string | undefined;
14328
+ is_streaming?: boolean | undefined;
14329
+ } & { [K in Exclude<keyof I["streaming_channels"][number], keyof StreamingChannelResponse>]: never; })[] & { [K_1 in Exclude<keyof I["streaming_channels"], keyof {
14330
+ clan_id?: string | undefined;
14331
+ channel_id?: string | undefined;
14332
+ streaming_url?: string | undefined;
14333
+ is_streaming?: boolean | undefined;
14334
+ }[]>]: never; }) | undefined;
14335
+ } & { [K_2 in Exclude<keyof I, "streaming_channels">]: never; }>(base?: I | undefined): ListStreamingChannelsResponse;
14336
+ fromPartial<I_1 extends {
14337
+ streaming_channels?: {
14338
+ clan_id?: string | undefined;
14339
+ channel_id?: string | undefined;
14340
+ streaming_url?: string | undefined;
14341
+ is_streaming?: boolean | undefined;
14342
+ }[] | undefined;
14343
+ } & {
14344
+ streaming_channels?: ({
14345
+ clan_id?: string | undefined;
14346
+ channel_id?: string | undefined;
14347
+ streaming_url?: string | undefined;
14348
+ is_streaming?: boolean | undefined;
14349
+ }[] & ({
14350
+ clan_id?: string | undefined;
14351
+ channel_id?: string | undefined;
14352
+ streaming_url?: string | undefined;
14353
+ is_streaming?: boolean | undefined;
14354
+ } & {
14355
+ clan_id?: string | undefined;
14356
+ channel_id?: string | undefined;
14357
+ streaming_url?: string | undefined;
14358
+ is_streaming?: boolean | undefined;
14359
+ } & { [K_3 in Exclude<keyof I_1["streaming_channels"][number], keyof StreamingChannelResponse>]: never; })[] & { [K_4 in Exclude<keyof I_1["streaming_channels"], keyof {
14360
+ clan_id?: string | undefined;
14361
+ channel_id?: string | undefined;
14362
+ streaming_url?: string | undefined;
14363
+ is_streaming?: boolean | undefined;
14364
+ }[]>]: never; }) | undefined;
14365
+ } & { [K_5 in Exclude<keyof I_1, "streaming_channels">]: never; }>(object: I_1): ListStreamingChannelsResponse;
14366
+ };
14367
+ export declare const StreamingChannelResponse: {
14368
+ encode(message: StreamingChannelResponse, writer?: _m0.Writer): _m0.Writer;
14369
+ decode(input: _m0.Reader | Uint8Array, length?: number): StreamingChannelResponse;
14370
+ fromJSON(object: any): StreamingChannelResponse;
14371
+ toJSON(message: StreamingChannelResponse): unknown;
14372
+ create<I extends {
14373
+ clan_id?: string | undefined;
14374
+ channel_id?: string | undefined;
14375
+ streaming_url?: string | undefined;
14376
+ is_streaming?: boolean | undefined;
14377
+ } & {
14378
+ clan_id?: string | undefined;
14379
+ channel_id?: string | undefined;
14380
+ streaming_url?: string | undefined;
14381
+ is_streaming?: boolean | undefined;
14382
+ } & { [K in Exclude<keyof I, keyof StreamingChannelResponse>]: never; }>(base?: I | undefined): StreamingChannelResponse;
14383
+ fromPartial<I_1 extends {
14384
+ clan_id?: string | undefined;
14385
+ channel_id?: string | undefined;
14386
+ streaming_url?: string | undefined;
14387
+ is_streaming?: boolean | undefined;
14388
+ } & {
14389
+ clan_id?: string | undefined;
14390
+ channel_id?: string | undefined;
14391
+ streaming_url?: string | undefined;
14392
+ is_streaming?: boolean | undefined;
14393
+ } & { [K_1 in Exclude<keyof I_1, keyof StreamingChannelResponse>]: never; }>(object: I_1): StreamingChannelResponse;
14394
+ };
14395
+ export declare const GiveCoffeeEvent: {
14396
+ encode(message: GiveCoffeeEvent, writer?: _m0.Writer): _m0.Writer;
14397
+ decode(input: _m0.Reader | Uint8Array, length?: number): GiveCoffeeEvent;
14398
+ fromJSON(object: any): GiveCoffeeEvent;
14399
+ toJSON(message: GiveCoffeeEvent): unknown;
14400
+ create<I extends {
14401
+ sender_id?: string | undefined;
14402
+ receiver_id?: string | undefined;
14403
+ token_count?: number | undefined;
14404
+ message_ref_id?: string | undefined;
14405
+ channel_id?: string | undefined;
14406
+ clan_id?: string | undefined;
14407
+ } & {
14408
+ sender_id?: string | undefined;
14409
+ receiver_id?: string | undefined;
14410
+ token_count?: number | undefined;
14411
+ message_ref_id?: string | undefined;
14412
+ channel_id?: string | undefined;
14413
+ clan_id?: string | undefined;
14414
+ } & { [K in Exclude<keyof I, keyof GiveCoffeeEvent>]: never; }>(base?: I | undefined): GiveCoffeeEvent;
14415
+ fromPartial<I_1 extends {
14416
+ sender_id?: string | undefined;
14417
+ receiver_id?: string | undefined;
14418
+ token_count?: number | undefined;
14419
+ message_ref_id?: string | undefined;
14420
+ channel_id?: string | undefined;
14421
+ clan_id?: string | undefined;
14422
+ } & {
14423
+ sender_id?: string | undefined;
14424
+ receiver_id?: string | undefined;
14425
+ token_count?: number | undefined;
14426
+ message_ref_id?: string | undefined;
14427
+ channel_id?: string | undefined;
14428
+ clan_id?: string | undefined;
14429
+ } & { [K_1 in Exclude<keyof I_1, keyof GiveCoffeeEvent>]: never; }>(object: I_1): GiveCoffeeEvent;
14430
+ };
13858
14431
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
13859
14432
  export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
13860
14433
  [K in keyof T]?: DeepPartial<T[K]>;