mezon-js-protobuf 1.4.74 → 1.4.77
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 +122 -3
- package/dist/mezon-js-protobuf/api/api.d.ts +60 -0
- package/dist/mezon-js-protobuf/rtapi/realtime.d.ts +222 -132
- package/dist/mezon-js-protobuf.cjs.js +185 -54
- package/dist/mezon-js-protobuf.esm.mjs +185 -54
- package/package.json +1 -1
- package/rtapi/realtime.ts +241 -65
package/api/api.ts
CHANGED
|
@@ -2585,15 +2585,18 @@ export interface Webhook {
|
|
|
2585
2585
|
webhook_name: string;
|
|
2586
2586
|
channel_id: string;
|
|
2587
2587
|
active: number;
|
|
2588
|
+
/** URL of the webhook, which is automatically generated and different from the avatar */
|
|
2588
2589
|
url: string;
|
|
2589
2590
|
creator_id: string;
|
|
2590
2591
|
create_time: string;
|
|
2591
2592
|
update_time: string;
|
|
2593
|
+
avatar: string;
|
|
2592
2594
|
}
|
|
2593
2595
|
|
|
2594
2596
|
export interface WebhookCreateRequest {
|
|
2595
2597
|
webhook_name: string;
|
|
2596
2598
|
channel_id: string;
|
|
2599
|
+
avatar: string;
|
|
2597
2600
|
}
|
|
2598
2601
|
|
|
2599
2602
|
export interface WebhookListRequestById {
|
|
@@ -2603,6 +2606,8 @@ export interface WebhookListRequestById {
|
|
|
2603
2606
|
export interface WebhookUpdateRequestById {
|
|
2604
2607
|
id: string;
|
|
2605
2608
|
webhook_name: string;
|
|
2609
|
+
channel_id: string;
|
|
2610
|
+
avatar: string;
|
|
2606
2611
|
}
|
|
2607
2612
|
|
|
2608
2613
|
export interface WebhookDeleteRequestById {
|
|
@@ -2621,6 +2626,7 @@ export interface WebhookGenerateResponse {
|
|
|
2621
2626
|
url: string;
|
|
2622
2627
|
hook_name: string;
|
|
2623
2628
|
channel_id: string;
|
|
2629
|
+
avatar: string;
|
|
2624
2630
|
}
|
|
2625
2631
|
|
|
2626
2632
|
export interface CheckDuplicateClanNameRequest {
|
|
@@ -2667,6 +2673,11 @@ export interface ClanStickerDeleteRequest {
|
|
|
2667
2673
|
id: number;
|
|
2668
2674
|
}
|
|
2669
2675
|
|
|
2676
|
+
export interface ChangeChannelCategoryRequest {
|
|
2677
|
+
channel_id: string;
|
|
2678
|
+
new_category_id: string;
|
|
2679
|
+
}
|
|
2680
|
+
|
|
2670
2681
|
function createBaseAccount(): Account {
|
|
2671
2682
|
return {
|
|
2672
2683
|
user: undefined,
|
|
@@ -18897,6 +18908,7 @@ function createBaseWebhook(): Webhook {
|
|
|
18897
18908
|
creator_id: "",
|
|
18898
18909
|
create_time: "",
|
|
18899
18910
|
update_time: "",
|
|
18911
|
+
avatar: "",
|
|
18900
18912
|
};
|
|
18901
18913
|
}
|
|
18902
18914
|
|
|
@@ -18926,6 +18938,9 @@ export const Webhook = {
|
|
|
18926
18938
|
if (message.update_time !== "") {
|
|
18927
18939
|
writer.uint32(66).string(message.update_time);
|
|
18928
18940
|
}
|
|
18941
|
+
if (message.avatar !== "") {
|
|
18942
|
+
writer.uint32(74).string(message.avatar);
|
|
18943
|
+
}
|
|
18929
18944
|
return writer;
|
|
18930
18945
|
},
|
|
18931
18946
|
|
|
@@ -18960,6 +18975,9 @@ export const Webhook = {
|
|
|
18960
18975
|
case 8:
|
|
18961
18976
|
message.update_time = reader.string();
|
|
18962
18977
|
break;
|
|
18978
|
+
case 9:
|
|
18979
|
+
message.avatar = reader.string();
|
|
18980
|
+
break;
|
|
18963
18981
|
default:
|
|
18964
18982
|
reader.skipType(tag & 7);
|
|
18965
18983
|
break;
|
|
@@ -18978,6 +18996,7 @@ export const Webhook = {
|
|
|
18978
18996
|
creator_id: isSet(object.creator_id) ? String(object.creator_id) : "",
|
|
18979
18997
|
create_time: isSet(object.create_time) ? String(object.create_time) : "",
|
|
18980
18998
|
update_time: isSet(object.update_time) ? String(object.update_time) : "",
|
|
18999
|
+
avatar: isSet(object.avatar) ? String(object.avatar) : "",
|
|
18981
19000
|
};
|
|
18982
19001
|
},
|
|
18983
19002
|
|
|
@@ -18991,6 +19010,7 @@ export const Webhook = {
|
|
|
18991
19010
|
message.creator_id !== undefined && (obj.creator_id = message.creator_id);
|
|
18992
19011
|
message.create_time !== undefined && (obj.create_time = message.create_time);
|
|
18993
19012
|
message.update_time !== undefined && (obj.update_time = message.update_time);
|
|
19013
|
+
message.avatar !== undefined && (obj.avatar = message.avatar);
|
|
18994
19014
|
return obj;
|
|
18995
19015
|
},
|
|
18996
19016
|
|
|
@@ -19008,12 +19028,13 @@ export const Webhook = {
|
|
|
19008
19028
|
message.creator_id = object.creator_id ?? "";
|
|
19009
19029
|
message.create_time = object.create_time ?? "";
|
|
19010
19030
|
message.update_time = object.update_time ?? "";
|
|
19031
|
+
message.avatar = object.avatar ?? "";
|
|
19011
19032
|
return message;
|
|
19012
19033
|
},
|
|
19013
19034
|
};
|
|
19014
19035
|
|
|
19015
19036
|
function createBaseWebhookCreateRequest(): WebhookCreateRequest {
|
|
19016
|
-
return { webhook_name: "", channel_id: "" };
|
|
19037
|
+
return { webhook_name: "", channel_id: "", avatar: "" };
|
|
19017
19038
|
}
|
|
19018
19039
|
|
|
19019
19040
|
export const WebhookCreateRequest = {
|
|
@@ -19024,6 +19045,9 @@ export const WebhookCreateRequest = {
|
|
|
19024
19045
|
if (message.channel_id !== "") {
|
|
19025
19046
|
writer.uint32(18).string(message.channel_id);
|
|
19026
19047
|
}
|
|
19048
|
+
if (message.avatar !== "") {
|
|
19049
|
+
writer.uint32(26).string(message.avatar);
|
|
19050
|
+
}
|
|
19027
19051
|
return writer;
|
|
19028
19052
|
},
|
|
19029
19053
|
|
|
@@ -19040,6 +19064,9 @@ export const WebhookCreateRequest = {
|
|
|
19040
19064
|
case 2:
|
|
19041
19065
|
message.channel_id = reader.string();
|
|
19042
19066
|
break;
|
|
19067
|
+
case 3:
|
|
19068
|
+
message.avatar = reader.string();
|
|
19069
|
+
break;
|
|
19043
19070
|
default:
|
|
19044
19071
|
reader.skipType(tag & 7);
|
|
19045
19072
|
break;
|
|
@@ -19052,6 +19079,7 @@ export const WebhookCreateRequest = {
|
|
|
19052
19079
|
return {
|
|
19053
19080
|
webhook_name: isSet(object.webhook_name) ? String(object.webhook_name) : "",
|
|
19054
19081
|
channel_id: isSet(object.channel_id) ? String(object.channel_id) : "",
|
|
19082
|
+
avatar: isSet(object.avatar) ? String(object.avatar) : "",
|
|
19055
19083
|
};
|
|
19056
19084
|
},
|
|
19057
19085
|
|
|
@@ -19059,6 +19087,7 @@ export const WebhookCreateRequest = {
|
|
|
19059
19087
|
const obj: any = {};
|
|
19060
19088
|
message.webhook_name !== undefined && (obj.webhook_name = message.webhook_name);
|
|
19061
19089
|
message.channel_id !== undefined && (obj.channel_id = message.channel_id);
|
|
19090
|
+
message.avatar !== undefined && (obj.avatar = message.avatar);
|
|
19062
19091
|
return obj;
|
|
19063
19092
|
},
|
|
19064
19093
|
|
|
@@ -19070,6 +19099,7 @@ export const WebhookCreateRequest = {
|
|
|
19070
19099
|
const message = createBaseWebhookCreateRequest();
|
|
19071
19100
|
message.webhook_name = object.webhook_name ?? "";
|
|
19072
19101
|
message.channel_id = object.channel_id ?? "";
|
|
19102
|
+
message.avatar = object.avatar ?? "";
|
|
19073
19103
|
return message;
|
|
19074
19104
|
},
|
|
19075
19105
|
};
|
|
@@ -19126,7 +19156,7 @@ export const WebhookListRequestById = {
|
|
|
19126
19156
|
};
|
|
19127
19157
|
|
|
19128
19158
|
function createBaseWebhookUpdateRequestById(): WebhookUpdateRequestById {
|
|
19129
|
-
return { id: "", webhook_name: "" };
|
|
19159
|
+
return { id: "", webhook_name: "", channel_id: "", avatar: "" };
|
|
19130
19160
|
}
|
|
19131
19161
|
|
|
19132
19162
|
export const WebhookUpdateRequestById = {
|
|
@@ -19137,6 +19167,12 @@ export const WebhookUpdateRequestById = {
|
|
|
19137
19167
|
if (message.webhook_name !== "") {
|
|
19138
19168
|
writer.uint32(18).string(message.webhook_name);
|
|
19139
19169
|
}
|
|
19170
|
+
if (message.channel_id !== "") {
|
|
19171
|
+
writer.uint32(26).string(message.channel_id);
|
|
19172
|
+
}
|
|
19173
|
+
if (message.avatar !== "") {
|
|
19174
|
+
writer.uint32(34).string(message.avatar);
|
|
19175
|
+
}
|
|
19140
19176
|
return writer;
|
|
19141
19177
|
},
|
|
19142
19178
|
|
|
@@ -19153,6 +19189,12 @@ export const WebhookUpdateRequestById = {
|
|
|
19153
19189
|
case 2:
|
|
19154
19190
|
message.webhook_name = reader.string();
|
|
19155
19191
|
break;
|
|
19192
|
+
case 3:
|
|
19193
|
+
message.channel_id = reader.string();
|
|
19194
|
+
break;
|
|
19195
|
+
case 4:
|
|
19196
|
+
message.avatar = reader.string();
|
|
19197
|
+
break;
|
|
19156
19198
|
default:
|
|
19157
19199
|
reader.skipType(tag & 7);
|
|
19158
19200
|
break;
|
|
@@ -19165,6 +19207,8 @@ export const WebhookUpdateRequestById = {
|
|
|
19165
19207
|
return {
|
|
19166
19208
|
id: isSet(object.id) ? String(object.id) : "",
|
|
19167
19209
|
webhook_name: isSet(object.webhook_name) ? String(object.webhook_name) : "",
|
|
19210
|
+
channel_id: isSet(object.channel_id) ? String(object.channel_id) : "",
|
|
19211
|
+
avatar: isSet(object.avatar) ? String(object.avatar) : "",
|
|
19168
19212
|
};
|
|
19169
19213
|
},
|
|
19170
19214
|
|
|
@@ -19172,6 +19216,8 @@ export const WebhookUpdateRequestById = {
|
|
|
19172
19216
|
const obj: any = {};
|
|
19173
19217
|
message.id !== undefined && (obj.id = message.id);
|
|
19174
19218
|
message.webhook_name !== undefined && (obj.webhook_name = message.webhook_name);
|
|
19219
|
+
message.channel_id !== undefined && (obj.channel_id = message.channel_id);
|
|
19220
|
+
message.avatar !== undefined && (obj.avatar = message.avatar);
|
|
19175
19221
|
return obj;
|
|
19176
19222
|
},
|
|
19177
19223
|
|
|
@@ -19183,6 +19229,8 @@ export const WebhookUpdateRequestById = {
|
|
|
19183
19229
|
const message = createBaseWebhookUpdateRequestById();
|
|
19184
19230
|
message.id = object.id ?? "";
|
|
19185
19231
|
message.webhook_name = object.webhook_name ?? "";
|
|
19232
|
+
message.channel_id = object.channel_id ?? "";
|
|
19233
|
+
message.avatar = object.avatar ?? "";
|
|
19186
19234
|
return message;
|
|
19187
19235
|
},
|
|
19188
19236
|
};
|
|
@@ -19345,7 +19393,7 @@ export const WebhookListResponse = {
|
|
|
19345
19393
|
};
|
|
19346
19394
|
|
|
19347
19395
|
function createBaseWebhookGenerateResponse(): WebhookGenerateResponse {
|
|
19348
|
-
return { url: "", hook_name: "", channel_id: "" };
|
|
19396
|
+
return { url: "", hook_name: "", channel_id: "", avatar: "" };
|
|
19349
19397
|
}
|
|
19350
19398
|
|
|
19351
19399
|
export const WebhookGenerateResponse = {
|
|
@@ -19359,6 +19407,9 @@ export const WebhookGenerateResponse = {
|
|
|
19359
19407
|
if (message.channel_id !== "") {
|
|
19360
19408
|
writer.uint32(26).string(message.channel_id);
|
|
19361
19409
|
}
|
|
19410
|
+
if (message.avatar !== "") {
|
|
19411
|
+
writer.uint32(34).string(message.avatar);
|
|
19412
|
+
}
|
|
19362
19413
|
return writer;
|
|
19363
19414
|
},
|
|
19364
19415
|
|
|
@@ -19378,6 +19429,9 @@ export const WebhookGenerateResponse = {
|
|
|
19378
19429
|
case 3:
|
|
19379
19430
|
message.channel_id = reader.string();
|
|
19380
19431
|
break;
|
|
19432
|
+
case 4:
|
|
19433
|
+
message.avatar = reader.string();
|
|
19434
|
+
break;
|
|
19381
19435
|
default:
|
|
19382
19436
|
reader.skipType(tag & 7);
|
|
19383
19437
|
break;
|
|
@@ -19391,6 +19445,7 @@ export const WebhookGenerateResponse = {
|
|
|
19391
19445
|
url: isSet(object.url) ? String(object.url) : "",
|
|
19392
19446
|
hook_name: isSet(object.hook_name) ? String(object.hook_name) : "",
|
|
19393
19447
|
channel_id: isSet(object.channel_id) ? String(object.channel_id) : "",
|
|
19448
|
+
avatar: isSet(object.avatar) ? String(object.avatar) : "",
|
|
19394
19449
|
};
|
|
19395
19450
|
},
|
|
19396
19451
|
|
|
@@ -19399,6 +19454,7 @@ export const WebhookGenerateResponse = {
|
|
|
19399
19454
|
message.url !== undefined && (obj.url = message.url);
|
|
19400
19455
|
message.hook_name !== undefined && (obj.hook_name = message.hook_name);
|
|
19401
19456
|
message.channel_id !== undefined && (obj.channel_id = message.channel_id);
|
|
19457
|
+
message.avatar !== undefined && (obj.avatar = message.avatar);
|
|
19402
19458
|
return obj;
|
|
19403
19459
|
},
|
|
19404
19460
|
|
|
@@ -19411,6 +19467,7 @@ export const WebhookGenerateResponse = {
|
|
|
19411
19467
|
message.url = object.url ?? "";
|
|
19412
19468
|
message.hook_name = object.hook_name ?? "";
|
|
19413
19469
|
message.channel_id = object.channel_id ?? "";
|
|
19470
|
+
message.avatar = object.avatar ?? "";
|
|
19414
19471
|
return message;
|
|
19415
19472
|
},
|
|
19416
19473
|
};
|
|
@@ -19951,6 +20008,68 @@ export const ClanStickerDeleteRequest = {
|
|
|
19951
20008
|
},
|
|
19952
20009
|
};
|
|
19953
20010
|
|
|
20011
|
+
function createBaseChangeChannelCategoryRequest(): ChangeChannelCategoryRequest {
|
|
20012
|
+
return { channel_id: "", new_category_id: "" };
|
|
20013
|
+
}
|
|
20014
|
+
|
|
20015
|
+
export const ChangeChannelCategoryRequest = {
|
|
20016
|
+
encode(message: ChangeChannelCategoryRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
20017
|
+
if (message.channel_id !== "") {
|
|
20018
|
+
writer.uint32(10).string(message.channel_id);
|
|
20019
|
+
}
|
|
20020
|
+
if (message.new_category_id !== "") {
|
|
20021
|
+
writer.uint32(18).string(message.new_category_id);
|
|
20022
|
+
}
|
|
20023
|
+
return writer;
|
|
20024
|
+
},
|
|
20025
|
+
|
|
20026
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ChangeChannelCategoryRequest {
|
|
20027
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
20028
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
20029
|
+
const message = createBaseChangeChannelCategoryRequest();
|
|
20030
|
+
while (reader.pos < end) {
|
|
20031
|
+
const tag = reader.uint32();
|
|
20032
|
+
switch (tag >>> 3) {
|
|
20033
|
+
case 1:
|
|
20034
|
+
message.channel_id = reader.string();
|
|
20035
|
+
break;
|
|
20036
|
+
case 2:
|
|
20037
|
+
message.new_category_id = reader.string();
|
|
20038
|
+
break;
|
|
20039
|
+
default:
|
|
20040
|
+
reader.skipType(tag & 7);
|
|
20041
|
+
break;
|
|
20042
|
+
}
|
|
20043
|
+
}
|
|
20044
|
+
return message;
|
|
20045
|
+
},
|
|
20046
|
+
|
|
20047
|
+
fromJSON(object: any): ChangeChannelCategoryRequest {
|
|
20048
|
+
return {
|
|
20049
|
+
channel_id: isSet(object.channel_id) ? String(object.channel_id) : "",
|
|
20050
|
+
new_category_id: isSet(object.new_category_id) ? String(object.new_category_id) : "",
|
|
20051
|
+
};
|
|
20052
|
+
},
|
|
20053
|
+
|
|
20054
|
+
toJSON(message: ChangeChannelCategoryRequest): unknown {
|
|
20055
|
+
const obj: any = {};
|
|
20056
|
+
message.channel_id !== undefined && (obj.channel_id = message.channel_id);
|
|
20057
|
+
message.new_category_id !== undefined && (obj.new_category_id = message.new_category_id);
|
|
20058
|
+
return obj;
|
|
20059
|
+
},
|
|
20060
|
+
|
|
20061
|
+
create<I extends Exact<DeepPartial<ChangeChannelCategoryRequest>, I>>(base?: I): ChangeChannelCategoryRequest {
|
|
20062
|
+
return ChangeChannelCategoryRequest.fromPartial(base ?? {});
|
|
20063
|
+
},
|
|
20064
|
+
|
|
20065
|
+
fromPartial<I extends Exact<DeepPartial<ChangeChannelCategoryRequest>, I>>(object: I): ChangeChannelCategoryRequest {
|
|
20066
|
+
const message = createBaseChangeChannelCategoryRequest();
|
|
20067
|
+
message.channel_id = object.channel_id ?? "";
|
|
20068
|
+
message.new_category_id = object.new_category_id ?? "";
|
|
20069
|
+
return message;
|
|
20070
|
+
},
|
|
20071
|
+
};
|
|
20072
|
+
|
|
19954
20073
|
declare var self: any | undefined;
|
|
19955
20074
|
declare var window: any | undefined;
|
|
19956
20075
|
declare var global: any | undefined;
|
|
@@ -2011,14 +2011,17 @@ export interface Webhook {
|
|
|
2011
2011
|
webhook_name: string;
|
|
2012
2012
|
channel_id: string;
|
|
2013
2013
|
active: number;
|
|
2014
|
+
/** URL of the webhook, which is automatically generated and different from the avatar */
|
|
2014
2015
|
url: string;
|
|
2015
2016
|
creator_id: string;
|
|
2016
2017
|
create_time: string;
|
|
2017
2018
|
update_time: string;
|
|
2019
|
+
avatar: string;
|
|
2018
2020
|
}
|
|
2019
2021
|
export interface WebhookCreateRequest {
|
|
2020
2022
|
webhook_name: string;
|
|
2021
2023
|
channel_id: string;
|
|
2024
|
+
avatar: string;
|
|
2022
2025
|
}
|
|
2023
2026
|
export interface WebhookListRequestById {
|
|
2024
2027
|
id: string;
|
|
@@ -2026,6 +2029,8 @@ export interface WebhookListRequestById {
|
|
|
2026
2029
|
export interface WebhookUpdateRequestById {
|
|
2027
2030
|
id: string;
|
|
2028
2031
|
webhook_name: string;
|
|
2032
|
+
channel_id: string;
|
|
2033
|
+
avatar: string;
|
|
2029
2034
|
}
|
|
2030
2035
|
export interface WebhookDeleteRequestById {
|
|
2031
2036
|
id: string;
|
|
@@ -2040,6 +2045,7 @@ export interface WebhookGenerateResponse {
|
|
|
2040
2045
|
url: string;
|
|
2041
2046
|
hook_name: string;
|
|
2042
2047
|
channel_id: string;
|
|
2048
|
+
avatar: string;
|
|
2043
2049
|
}
|
|
2044
2050
|
export interface CheckDuplicateClanNameRequest {
|
|
2045
2051
|
clan_name: string;
|
|
@@ -2077,6 +2083,10 @@ export interface ClanStickerUpdateByIdRequest {
|
|
|
2077
2083
|
export interface ClanStickerDeleteRequest {
|
|
2078
2084
|
id: number;
|
|
2079
2085
|
}
|
|
2086
|
+
export interface ChangeChannelCategoryRequest {
|
|
2087
|
+
channel_id: string;
|
|
2088
|
+
new_category_id: string;
|
|
2089
|
+
}
|
|
2080
2090
|
export declare const Account: {
|
|
2081
2091
|
encode(message: Account, writer?: _m0.Writer): _m0.Writer;
|
|
2082
2092
|
decode(input: _m0.Reader | Uint8Array, length?: number): Account;
|
|
@@ -13609,6 +13619,7 @@ export declare const Webhook: {
|
|
|
13609
13619
|
creator_id?: string | undefined;
|
|
13610
13620
|
create_time?: string | undefined;
|
|
13611
13621
|
update_time?: string | undefined;
|
|
13622
|
+
avatar?: string | undefined;
|
|
13612
13623
|
} & {
|
|
13613
13624
|
id?: string | undefined;
|
|
13614
13625
|
webhook_name?: string | undefined;
|
|
@@ -13618,6 +13629,7 @@ export declare const Webhook: {
|
|
|
13618
13629
|
creator_id?: string | undefined;
|
|
13619
13630
|
create_time?: string | undefined;
|
|
13620
13631
|
update_time?: string | undefined;
|
|
13632
|
+
avatar?: string | undefined;
|
|
13621
13633
|
} & { [K in Exclude<keyof I, keyof Webhook>]: never; }>(base?: I | undefined): Webhook;
|
|
13622
13634
|
fromPartial<I_1 extends {
|
|
13623
13635
|
id?: string | undefined;
|
|
@@ -13628,6 +13640,7 @@ export declare const Webhook: {
|
|
|
13628
13640
|
creator_id?: string | undefined;
|
|
13629
13641
|
create_time?: string | undefined;
|
|
13630
13642
|
update_time?: string | undefined;
|
|
13643
|
+
avatar?: string | undefined;
|
|
13631
13644
|
} & {
|
|
13632
13645
|
id?: string | undefined;
|
|
13633
13646
|
webhook_name?: string | undefined;
|
|
@@ -13637,6 +13650,7 @@ export declare const Webhook: {
|
|
|
13637
13650
|
creator_id?: string | undefined;
|
|
13638
13651
|
create_time?: string | undefined;
|
|
13639
13652
|
update_time?: string | undefined;
|
|
13653
|
+
avatar?: string | undefined;
|
|
13640
13654
|
} & { [K_1 in Exclude<keyof I_1, keyof Webhook>]: never; }>(object: I_1): Webhook;
|
|
13641
13655
|
};
|
|
13642
13656
|
export declare const WebhookCreateRequest: {
|
|
@@ -13647,16 +13661,20 @@ export declare const WebhookCreateRequest: {
|
|
|
13647
13661
|
create<I extends {
|
|
13648
13662
|
webhook_name?: string | undefined;
|
|
13649
13663
|
channel_id?: string | undefined;
|
|
13664
|
+
avatar?: string | undefined;
|
|
13650
13665
|
} & {
|
|
13651
13666
|
webhook_name?: string | undefined;
|
|
13652
13667
|
channel_id?: string | undefined;
|
|
13668
|
+
avatar?: string | undefined;
|
|
13653
13669
|
} & { [K in Exclude<keyof I, keyof WebhookCreateRequest>]: never; }>(base?: I | undefined): WebhookCreateRequest;
|
|
13654
13670
|
fromPartial<I_1 extends {
|
|
13655
13671
|
webhook_name?: string | undefined;
|
|
13656
13672
|
channel_id?: string | undefined;
|
|
13673
|
+
avatar?: string | undefined;
|
|
13657
13674
|
} & {
|
|
13658
13675
|
webhook_name?: string | undefined;
|
|
13659
13676
|
channel_id?: string | undefined;
|
|
13677
|
+
avatar?: string | undefined;
|
|
13660
13678
|
} & { [K_1 in Exclude<keyof I_1, keyof WebhookCreateRequest>]: never; }>(object: I_1): WebhookCreateRequest;
|
|
13661
13679
|
};
|
|
13662
13680
|
export declare const WebhookListRequestById: {
|
|
@@ -13683,16 +13701,24 @@ export declare const WebhookUpdateRequestById: {
|
|
|
13683
13701
|
create<I extends {
|
|
13684
13702
|
id?: string | undefined;
|
|
13685
13703
|
webhook_name?: string | undefined;
|
|
13704
|
+
channel_id?: string | undefined;
|
|
13705
|
+
avatar?: string | undefined;
|
|
13686
13706
|
} & {
|
|
13687
13707
|
id?: string | undefined;
|
|
13688
13708
|
webhook_name?: string | undefined;
|
|
13709
|
+
channel_id?: string | undefined;
|
|
13710
|
+
avatar?: string | undefined;
|
|
13689
13711
|
} & { [K in Exclude<keyof I, keyof WebhookUpdateRequestById>]: never; }>(base?: I | undefined): WebhookUpdateRequestById;
|
|
13690
13712
|
fromPartial<I_1 extends {
|
|
13691
13713
|
id?: string | undefined;
|
|
13692
13714
|
webhook_name?: string | undefined;
|
|
13715
|
+
channel_id?: string | undefined;
|
|
13716
|
+
avatar?: string | undefined;
|
|
13693
13717
|
} & {
|
|
13694
13718
|
id?: string | undefined;
|
|
13695
13719
|
webhook_name?: string | undefined;
|
|
13720
|
+
channel_id?: string | undefined;
|
|
13721
|
+
avatar?: string | undefined;
|
|
13696
13722
|
} & { [K_1 in Exclude<keyof I_1, keyof WebhookUpdateRequestById>]: never; }>(object: I_1): WebhookUpdateRequestById;
|
|
13697
13723
|
};
|
|
13698
13724
|
export declare const WebhookDeleteRequestById: {
|
|
@@ -13742,6 +13768,7 @@ export declare const WebhookListResponse: {
|
|
|
13742
13768
|
creator_id?: string | undefined;
|
|
13743
13769
|
create_time?: string | undefined;
|
|
13744
13770
|
update_time?: string | undefined;
|
|
13771
|
+
avatar?: string | undefined;
|
|
13745
13772
|
}[] | undefined;
|
|
13746
13773
|
} & {
|
|
13747
13774
|
webhooks?: ({
|
|
@@ -13753,6 +13780,7 @@ export declare const WebhookListResponse: {
|
|
|
13753
13780
|
creator_id?: string | undefined;
|
|
13754
13781
|
create_time?: string | undefined;
|
|
13755
13782
|
update_time?: string | undefined;
|
|
13783
|
+
avatar?: string | undefined;
|
|
13756
13784
|
}[] & ({
|
|
13757
13785
|
id?: string | undefined;
|
|
13758
13786
|
webhook_name?: string | undefined;
|
|
@@ -13762,6 +13790,7 @@ export declare const WebhookListResponse: {
|
|
|
13762
13790
|
creator_id?: string | undefined;
|
|
13763
13791
|
create_time?: string | undefined;
|
|
13764
13792
|
update_time?: string | undefined;
|
|
13793
|
+
avatar?: string | undefined;
|
|
13765
13794
|
} & {
|
|
13766
13795
|
id?: string | undefined;
|
|
13767
13796
|
webhook_name?: string | undefined;
|
|
@@ -13771,6 +13800,7 @@ export declare const WebhookListResponse: {
|
|
|
13771
13800
|
creator_id?: string | undefined;
|
|
13772
13801
|
create_time?: string | undefined;
|
|
13773
13802
|
update_time?: string | undefined;
|
|
13803
|
+
avatar?: string | undefined;
|
|
13774
13804
|
} & { [K in Exclude<keyof I["webhooks"][number], keyof Webhook>]: never; })[] & { [K_1 in Exclude<keyof I["webhooks"], keyof {
|
|
13775
13805
|
id?: string | undefined;
|
|
13776
13806
|
webhook_name?: string | undefined;
|
|
@@ -13780,6 +13810,7 @@ export declare const WebhookListResponse: {
|
|
|
13780
13810
|
creator_id?: string | undefined;
|
|
13781
13811
|
create_time?: string | undefined;
|
|
13782
13812
|
update_time?: string | undefined;
|
|
13813
|
+
avatar?: string | undefined;
|
|
13783
13814
|
}[]>]: never; }) | undefined;
|
|
13784
13815
|
} & { [K_2 in Exclude<keyof I, "webhooks">]: never; }>(base?: I | undefined): WebhookListResponse;
|
|
13785
13816
|
fromPartial<I_1 extends {
|
|
@@ -13792,6 +13823,7 @@ export declare const WebhookListResponse: {
|
|
|
13792
13823
|
creator_id?: string | undefined;
|
|
13793
13824
|
create_time?: string | undefined;
|
|
13794
13825
|
update_time?: string | undefined;
|
|
13826
|
+
avatar?: string | undefined;
|
|
13795
13827
|
}[] | undefined;
|
|
13796
13828
|
} & {
|
|
13797
13829
|
webhooks?: ({
|
|
@@ -13803,6 +13835,7 @@ export declare const WebhookListResponse: {
|
|
|
13803
13835
|
creator_id?: string | undefined;
|
|
13804
13836
|
create_time?: string | undefined;
|
|
13805
13837
|
update_time?: string | undefined;
|
|
13838
|
+
avatar?: string | undefined;
|
|
13806
13839
|
}[] & ({
|
|
13807
13840
|
id?: string | undefined;
|
|
13808
13841
|
webhook_name?: string | undefined;
|
|
@@ -13812,6 +13845,7 @@ export declare const WebhookListResponse: {
|
|
|
13812
13845
|
creator_id?: string | undefined;
|
|
13813
13846
|
create_time?: string | undefined;
|
|
13814
13847
|
update_time?: string | undefined;
|
|
13848
|
+
avatar?: string | undefined;
|
|
13815
13849
|
} & {
|
|
13816
13850
|
id?: string | undefined;
|
|
13817
13851
|
webhook_name?: string | undefined;
|
|
@@ -13821,6 +13855,7 @@ export declare const WebhookListResponse: {
|
|
|
13821
13855
|
creator_id?: string | undefined;
|
|
13822
13856
|
create_time?: string | undefined;
|
|
13823
13857
|
update_time?: string | undefined;
|
|
13858
|
+
avatar?: string | undefined;
|
|
13824
13859
|
} & { [K_3 in Exclude<keyof I_1["webhooks"][number], keyof Webhook>]: never; })[] & { [K_4 in Exclude<keyof I_1["webhooks"], keyof {
|
|
13825
13860
|
id?: string | undefined;
|
|
13826
13861
|
webhook_name?: string | undefined;
|
|
@@ -13830,6 +13865,7 @@ export declare const WebhookListResponse: {
|
|
|
13830
13865
|
creator_id?: string | undefined;
|
|
13831
13866
|
create_time?: string | undefined;
|
|
13832
13867
|
update_time?: string | undefined;
|
|
13868
|
+
avatar?: string | undefined;
|
|
13833
13869
|
}[]>]: never; }) | undefined;
|
|
13834
13870
|
} & { [K_5 in Exclude<keyof I_1, "webhooks">]: never; }>(object: I_1): WebhookListResponse;
|
|
13835
13871
|
};
|
|
@@ -13842,19 +13878,23 @@ export declare const WebhookGenerateResponse: {
|
|
|
13842
13878
|
url?: string | undefined;
|
|
13843
13879
|
hook_name?: string | undefined;
|
|
13844
13880
|
channel_id?: string | undefined;
|
|
13881
|
+
avatar?: string | undefined;
|
|
13845
13882
|
} & {
|
|
13846
13883
|
url?: string | undefined;
|
|
13847
13884
|
hook_name?: string | undefined;
|
|
13848
13885
|
channel_id?: string | undefined;
|
|
13886
|
+
avatar?: string | undefined;
|
|
13849
13887
|
} & { [K in Exclude<keyof I, keyof WebhookGenerateResponse>]: never; }>(base?: I | undefined): WebhookGenerateResponse;
|
|
13850
13888
|
fromPartial<I_1 extends {
|
|
13851
13889
|
url?: string | undefined;
|
|
13852
13890
|
hook_name?: string | undefined;
|
|
13853
13891
|
channel_id?: string | undefined;
|
|
13892
|
+
avatar?: string | undefined;
|
|
13854
13893
|
} & {
|
|
13855
13894
|
url?: string | undefined;
|
|
13856
13895
|
hook_name?: string | undefined;
|
|
13857
13896
|
channel_id?: string | undefined;
|
|
13897
|
+
avatar?: string | undefined;
|
|
13858
13898
|
} & { [K_1 in Exclude<keyof I_1, keyof WebhookGenerateResponse>]: never; }>(object: I_1): WebhookGenerateResponse;
|
|
13859
13899
|
};
|
|
13860
13900
|
export declare const CheckDuplicateClanNameRequest: {
|
|
@@ -14113,6 +14153,26 @@ export declare const ClanStickerDeleteRequest: {
|
|
|
14113
14153
|
id?: number | undefined;
|
|
14114
14154
|
} & { [K_1 in Exclude<keyof I_1, "id">]: never; }>(object: I_1): ClanStickerDeleteRequest;
|
|
14115
14155
|
};
|
|
14156
|
+
export declare const ChangeChannelCategoryRequest: {
|
|
14157
|
+
encode(message: ChangeChannelCategoryRequest, writer?: _m0.Writer): _m0.Writer;
|
|
14158
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ChangeChannelCategoryRequest;
|
|
14159
|
+
fromJSON(object: any): ChangeChannelCategoryRequest;
|
|
14160
|
+
toJSON(message: ChangeChannelCategoryRequest): unknown;
|
|
14161
|
+
create<I extends {
|
|
14162
|
+
channel_id?: string | undefined;
|
|
14163
|
+
new_category_id?: string | undefined;
|
|
14164
|
+
} & {
|
|
14165
|
+
channel_id?: string | undefined;
|
|
14166
|
+
new_category_id?: string | undefined;
|
|
14167
|
+
} & { [K in Exclude<keyof I, keyof ChangeChannelCategoryRequest>]: never; }>(base?: I | undefined): ChangeChannelCategoryRequest;
|
|
14168
|
+
fromPartial<I_1 extends {
|
|
14169
|
+
channel_id?: string | undefined;
|
|
14170
|
+
new_category_id?: string | undefined;
|
|
14171
|
+
} & {
|
|
14172
|
+
channel_id?: string | undefined;
|
|
14173
|
+
new_category_id?: string | undefined;
|
|
14174
|
+
} & { [K_1 in Exclude<keyof I_1, keyof ChangeChannelCategoryRequest>]: never; }>(object: I_1): ChangeChannelCategoryRequest;
|
|
14175
|
+
};
|
|
14116
14176
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
14117
14177
|
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
14118
14178
|
[K in keyof T]?: DeepPartial<T[K]>;
|