mezon-js-protobuf 1.4.74 → 1.4.76
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 +55 -3
- package/dist/mezon-js-protobuf/api/api.d.ts +36 -0
- package/dist/mezon-js-protobuf/rtapi/realtime.d.ts +210 -132
- package/dist/mezon-js-protobuf.cjs.js +176 -54
- package/dist/mezon-js-protobuf.esm.mjs +176 -54
- package/package.json +1 -1
- package/rtapi/realtime.ts +230 -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 {
|
|
@@ -18897,6 +18903,7 @@ function createBaseWebhook(): Webhook {
|
|
|
18897
18903
|
creator_id: "",
|
|
18898
18904
|
create_time: "",
|
|
18899
18905
|
update_time: "",
|
|
18906
|
+
avatar: "",
|
|
18900
18907
|
};
|
|
18901
18908
|
}
|
|
18902
18909
|
|
|
@@ -18926,6 +18933,9 @@ export const Webhook = {
|
|
|
18926
18933
|
if (message.update_time !== "") {
|
|
18927
18934
|
writer.uint32(66).string(message.update_time);
|
|
18928
18935
|
}
|
|
18936
|
+
if (message.avatar !== "") {
|
|
18937
|
+
writer.uint32(74).string(message.avatar);
|
|
18938
|
+
}
|
|
18929
18939
|
return writer;
|
|
18930
18940
|
},
|
|
18931
18941
|
|
|
@@ -18960,6 +18970,9 @@ export const Webhook = {
|
|
|
18960
18970
|
case 8:
|
|
18961
18971
|
message.update_time = reader.string();
|
|
18962
18972
|
break;
|
|
18973
|
+
case 9:
|
|
18974
|
+
message.avatar = reader.string();
|
|
18975
|
+
break;
|
|
18963
18976
|
default:
|
|
18964
18977
|
reader.skipType(tag & 7);
|
|
18965
18978
|
break;
|
|
@@ -18978,6 +18991,7 @@ export const Webhook = {
|
|
|
18978
18991
|
creator_id: isSet(object.creator_id) ? String(object.creator_id) : "",
|
|
18979
18992
|
create_time: isSet(object.create_time) ? String(object.create_time) : "",
|
|
18980
18993
|
update_time: isSet(object.update_time) ? String(object.update_time) : "",
|
|
18994
|
+
avatar: isSet(object.avatar) ? String(object.avatar) : "",
|
|
18981
18995
|
};
|
|
18982
18996
|
},
|
|
18983
18997
|
|
|
@@ -18991,6 +19005,7 @@ export const Webhook = {
|
|
|
18991
19005
|
message.creator_id !== undefined && (obj.creator_id = message.creator_id);
|
|
18992
19006
|
message.create_time !== undefined && (obj.create_time = message.create_time);
|
|
18993
19007
|
message.update_time !== undefined && (obj.update_time = message.update_time);
|
|
19008
|
+
message.avatar !== undefined && (obj.avatar = message.avatar);
|
|
18994
19009
|
return obj;
|
|
18995
19010
|
},
|
|
18996
19011
|
|
|
@@ -19008,12 +19023,13 @@ export const Webhook = {
|
|
|
19008
19023
|
message.creator_id = object.creator_id ?? "";
|
|
19009
19024
|
message.create_time = object.create_time ?? "";
|
|
19010
19025
|
message.update_time = object.update_time ?? "";
|
|
19026
|
+
message.avatar = object.avatar ?? "";
|
|
19011
19027
|
return message;
|
|
19012
19028
|
},
|
|
19013
19029
|
};
|
|
19014
19030
|
|
|
19015
19031
|
function createBaseWebhookCreateRequest(): WebhookCreateRequest {
|
|
19016
|
-
return { webhook_name: "", channel_id: "" };
|
|
19032
|
+
return { webhook_name: "", channel_id: "", avatar: "" };
|
|
19017
19033
|
}
|
|
19018
19034
|
|
|
19019
19035
|
export const WebhookCreateRequest = {
|
|
@@ -19024,6 +19040,9 @@ export const WebhookCreateRequest = {
|
|
|
19024
19040
|
if (message.channel_id !== "") {
|
|
19025
19041
|
writer.uint32(18).string(message.channel_id);
|
|
19026
19042
|
}
|
|
19043
|
+
if (message.avatar !== "") {
|
|
19044
|
+
writer.uint32(26).string(message.avatar);
|
|
19045
|
+
}
|
|
19027
19046
|
return writer;
|
|
19028
19047
|
},
|
|
19029
19048
|
|
|
@@ -19040,6 +19059,9 @@ export const WebhookCreateRequest = {
|
|
|
19040
19059
|
case 2:
|
|
19041
19060
|
message.channel_id = reader.string();
|
|
19042
19061
|
break;
|
|
19062
|
+
case 3:
|
|
19063
|
+
message.avatar = reader.string();
|
|
19064
|
+
break;
|
|
19043
19065
|
default:
|
|
19044
19066
|
reader.skipType(tag & 7);
|
|
19045
19067
|
break;
|
|
@@ -19052,6 +19074,7 @@ export const WebhookCreateRequest = {
|
|
|
19052
19074
|
return {
|
|
19053
19075
|
webhook_name: isSet(object.webhook_name) ? String(object.webhook_name) : "",
|
|
19054
19076
|
channel_id: isSet(object.channel_id) ? String(object.channel_id) : "",
|
|
19077
|
+
avatar: isSet(object.avatar) ? String(object.avatar) : "",
|
|
19055
19078
|
};
|
|
19056
19079
|
},
|
|
19057
19080
|
|
|
@@ -19059,6 +19082,7 @@ export const WebhookCreateRequest = {
|
|
|
19059
19082
|
const obj: any = {};
|
|
19060
19083
|
message.webhook_name !== undefined && (obj.webhook_name = message.webhook_name);
|
|
19061
19084
|
message.channel_id !== undefined && (obj.channel_id = message.channel_id);
|
|
19085
|
+
message.avatar !== undefined && (obj.avatar = message.avatar);
|
|
19062
19086
|
return obj;
|
|
19063
19087
|
},
|
|
19064
19088
|
|
|
@@ -19070,6 +19094,7 @@ export const WebhookCreateRequest = {
|
|
|
19070
19094
|
const message = createBaseWebhookCreateRequest();
|
|
19071
19095
|
message.webhook_name = object.webhook_name ?? "";
|
|
19072
19096
|
message.channel_id = object.channel_id ?? "";
|
|
19097
|
+
message.avatar = object.avatar ?? "";
|
|
19073
19098
|
return message;
|
|
19074
19099
|
},
|
|
19075
19100
|
};
|
|
@@ -19126,7 +19151,7 @@ export const WebhookListRequestById = {
|
|
|
19126
19151
|
};
|
|
19127
19152
|
|
|
19128
19153
|
function createBaseWebhookUpdateRequestById(): WebhookUpdateRequestById {
|
|
19129
|
-
return { id: "", webhook_name: "" };
|
|
19154
|
+
return { id: "", webhook_name: "", channel_id: "", avatar: "" };
|
|
19130
19155
|
}
|
|
19131
19156
|
|
|
19132
19157
|
export const WebhookUpdateRequestById = {
|
|
@@ -19137,6 +19162,12 @@ export const WebhookUpdateRequestById = {
|
|
|
19137
19162
|
if (message.webhook_name !== "") {
|
|
19138
19163
|
writer.uint32(18).string(message.webhook_name);
|
|
19139
19164
|
}
|
|
19165
|
+
if (message.channel_id !== "") {
|
|
19166
|
+
writer.uint32(26).string(message.channel_id);
|
|
19167
|
+
}
|
|
19168
|
+
if (message.avatar !== "") {
|
|
19169
|
+
writer.uint32(34).string(message.avatar);
|
|
19170
|
+
}
|
|
19140
19171
|
return writer;
|
|
19141
19172
|
},
|
|
19142
19173
|
|
|
@@ -19153,6 +19184,12 @@ export const WebhookUpdateRequestById = {
|
|
|
19153
19184
|
case 2:
|
|
19154
19185
|
message.webhook_name = reader.string();
|
|
19155
19186
|
break;
|
|
19187
|
+
case 3:
|
|
19188
|
+
message.channel_id = reader.string();
|
|
19189
|
+
break;
|
|
19190
|
+
case 4:
|
|
19191
|
+
message.avatar = reader.string();
|
|
19192
|
+
break;
|
|
19156
19193
|
default:
|
|
19157
19194
|
reader.skipType(tag & 7);
|
|
19158
19195
|
break;
|
|
@@ -19165,6 +19202,8 @@ export const WebhookUpdateRequestById = {
|
|
|
19165
19202
|
return {
|
|
19166
19203
|
id: isSet(object.id) ? String(object.id) : "",
|
|
19167
19204
|
webhook_name: isSet(object.webhook_name) ? String(object.webhook_name) : "",
|
|
19205
|
+
channel_id: isSet(object.channel_id) ? String(object.channel_id) : "",
|
|
19206
|
+
avatar: isSet(object.avatar) ? String(object.avatar) : "",
|
|
19168
19207
|
};
|
|
19169
19208
|
},
|
|
19170
19209
|
|
|
@@ -19172,6 +19211,8 @@ export const WebhookUpdateRequestById = {
|
|
|
19172
19211
|
const obj: any = {};
|
|
19173
19212
|
message.id !== undefined && (obj.id = message.id);
|
|
19174
19213
|
message.webhook_name !== undefined && (obj.webhook_name = message.webhook_name);
|
|
19214
|
+
message.channel_id !== undefined && (obj.channel_id = message.channel_id);
|
|
19215
|
+
message.avatar !== undefined && (obj.avatar = message.avatar);
|
|
19175
19216
|
return obj;
|
|
19176
19217
|
},
|
|
19177
19218
|
|
|
@@ -19183,6 +19224,8 @@ export const WebhookUpdateRequestById = {
|
|
|
19183
19224
|
const message = createBaseWebhookUpdateRequestById();
|
|
19184
19225
|
message.id = object.id ?? "";
|
|
19185
19226
|
message.webhook_name = object.webhook_name ?? "";
|
|
19227
|
+
message.channel_id = object.channel_id ?? "";
|
|
19228
|
+
message.avatar = object.avatar ?? "";
|
|
19186
19229
|
return message;
|
|
19187
19230
|
},
|
|
19188
19231
|
};
|
|
@@ -19345,7 +19388,7 @@ export const WebhookListResponse = {
|
|
|
19345
19388
|
};
|
|
19346
19389
|
|
|
19347
19390
|
function createBaseWebhookGenerateResponse(): WebhookGenerateResponse {
|
|
19348
|
-
return { url: "", hook_name: "", channel_id: "" };
|
|
19391
|
+
return { url: "", hook_name: "", channel_id: "", avatar: "" };
|
|
19349
19392
|
}
|
|
19350
19393
|
|
|
19351
19394
|
export const WebhookGenerateResponse = {
|
|
@@ -19359,6 +19402,9 @@ export const WebhookGenerateResponse = {
|
|
|
19359
19402
|
if (message.channel_id !== "") {
|
|
19360
19403
|
writer.uint32(26).string(message.channel_id);
|
|
19361
19404
|
}
|
|
19405
|
+
if (message.avatar !== "") {
|
|
19406
|
+
writer.uint32(34).string(message.avatar);
|
|
19407
|
+
}
|
|
19362
19408
|
return writer;
|
|
19363
19409
|
},
|
|
19364
19410
|
|
|
@@ -19378,6 +19424,9 @@ export const WebhookGenerateResponse = {
|
|
|
19378
19424
|
case 3:
|
|
19379
19425
|
message.channel_id = reader.string();
|
|
19380
19426
|
break;
|
|
19427
|
+
case 4:
|
|
19428
|
+
message.avatar = reader.string();
|
|
19429
|
+
break;
|
|
19381
19430
|
default:
|
|
19382
19431
|
reader.skipType(tag & 7);
|
|
19383
19432
|
break;
|
|
@@ -19391,6 +19440,7 @@ export const WebhookGenerateResponse = {
|
|
|
19391
19440
|
url: isSet(object.url) ? String(object.url) : "",
|
|
19392
19441
|
hook_name: isSet(object.hook_name) ? String(object.hook_name) : "",
|
|
19393
19442
|
channel_id: isSet(object.channel_id) ? String(object.channel_id) : "",
|
|
19443
|
+
avatar: isSet(object.avatar) ? String(object.avatar) : "",
|
|
19394
19444
|
};
|
|
19395
19445
|
},
|
|
19396
19446
|
|
|
@@ -19399,6 +19449,7 @@ export const WebhookGenerateResponse = {
|
|
|
19399
19449
|
message.url !== undefined && (obj.url = message.url);
|
|
19400
19450
|
message.hook_name !== undefined && (obj.hook_name = message.hook_name);
|
|
19401
19451
|
message.channel_id !== undefined && (obj.channel_id = message.channel_id);
|
|
19452
|
+
message.avatar !== undefined && (obj.avatar = message.avatar);
|
|
19402
19453
|
return obj;
|
|
19403
19454
|
},
|
|
19404
19455
|
|
|
@@ -19411,6 +19462,7 @@ export const WebhookGenerateResponse = {
|
|
|
19411
19462
|
message.url = object.url ?? "";
|
|
19412
19463
|
message.hook_name = object.hook_name ?? "";
|
|
19413
19464
|
message.channel_id = object.channel_id ?? "";
|
|
19465
|
+
message.avatar = object.avatar ?? "";
|
|
19414
19466
|
return message;
|
|
19415
19467
|
},
|
|
19416
19468
|
};
|
|
@@ -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;
|
|
@@ -13609,6 +13615,7 @@ export declare const Webhook: {
|
|
|
13609
13615
|
creator_id?: string | undefined;
|
|
13610
13616
|
create_time?: string | undefined;
|
|
13611
13617
|
update_time?: string | undefined;
|
|
13618
|
+
avatar?: string | undefined;
|
|
13612
13619
|
} & {
|
|
13613
13620
|
id?: string | undefined;
|
|
13614
13621
|
webhook_name?: string | undefined;
|
|
@@ -13618,6 +13625,7 @@ export declare const Webhook: {
|
|
|
13618
13625
|
creator_id?: string | undefined;
|
|
13619
13626
|
create_time?: string | undefined;
|
|
13620
13627
|
update_time?: string | undefined;
|
|
13628
|
+
avatar?: string | undefined;
|
|
13621
13629
|
} & { [K in Exclude<keyof I, keyof Webhook>]: never; }>(base?: I | undefined): Webhook;
|
|
13622
13630
|
fromPartial<I_1 extends {
|
|
13623
13631
|
id?: string | undefined;
|
|
@@ -13628,6 +13636,7 @@ export declare const Webhook: {
|
|
|
13628
13636
|
creator_id?: string | undefined;
|
|
13629
13637
|
create_time?: string | undefined;
|
|
13630
13638
|
update_time?: string | undefined;
|
|
13639
|
+
avatar?: string | undefined;
|
|
13631
13640
|
} & {
|
|
13632
13641
|
id?: string | undefined;
|
|
13633
13642
|
webhook_name?: string | undefined;
|
|
@@ -13637,6 +13646,7 @@ export declare const Webhook: {
|
|
|
13637
13646
|
creator_id?: string | undefined;
|
|
13638
13647
|
create_time?: string | undefined;
|
|
13639
13648
|
update_time?: string | undefined;
|
|
13649
|
+
avatar?: string | undefined;
|
|
13640
13650
|
} & { [K_1 in Exclude<keyof I_1, keyof Webhook>]: never; }>(object: I_1): Webhook;
|
|
13641
13651
|
};
|
|
13642
13652
|
export declare const WebhookCreateRequest: {
|
|
@@ -13647,16 +13657,20 @@ export declare const WebhookCreateRequest: {
|
|
|
13647
13657
|
create<I extends {
|
|
13648
13658
|
webhook_name?: string | undefined;
|
|
13649
13659
|
channel_id?: string | undefined;
|
|
13660
|
+
avatar?: string | undefined;
|
|
13650
13661
|
} & {
|
|
13651
13662
|
webhook_name?: string | undefined;
|
|
13652
13663
|
channel_id?: string | undefined;
|
|
13664
|
+
avatar?: string | undefined;
|
|
13653
13665
|
} & { [K in Exclude<keyof I, keyof WebhookCreateRequest>]: never; }>(base?: I | undefined): WebhookCreateRequest;
|
|
13654
13666
|
fromPartial<I_1 extends {
|
|
13655
13667
|
webhook_name?: string | undefined;
|
|
13656
13668
|
channel_id?: string | undefined;
|
|
13669
|
+
avatar?: string | undefined;
|
|
13657
13670
|
} & {
|
|
13658
13671
|
webhook_name?: string | undefined;
|
|
13659
13672
|
channel_id?: string | undefined;
|
|
13673
|
+
avatar?: string | undefined;
|
|
13660
13674
|
} & { [K_1 in Exclude<keyof I_1, keyof WebhookCreateRequest>]: never; }>(object: I_1): WebhookCreateRequest;
|
|
13661
13675
|
};
|
|
13662
13676
|
export declare const WebhookListRequestById: {
|
|
@@ -13683,16 +13697,24 @@ export declare const WebhookUpdateRequestById: {
|
|
|
13683
13697
|
create<I extends {
|
|
13684
13698
|
id?: string | undefined;
|
|
13685
13699
|
webhook_name?: string | undefined;
|
|
13700
|
+
channel_id?: string | undefined;
|
|
13701
|
+
avatar?: string | undefined;
|
|
13686
13702
|
} & {
|
|
13687
13703
|
id?: string | undefined;
|
|
13688
13704
|
webhook_name?: string | undefined;
|
|
13705
|
+
channel_id?: string | undefined;
|
|
13706
|
+
avatar?: string | undefined;
|
|
13689
13707
|
} & { [K in Exclude<keyof I, keyof WebhookUpdateRequestById>]: never; }>(base?: I | undefined): WebhookUpdateRequestById;
|
|
13690
13708
|
fromPartial<I_1 extends {
|
|
13691
13709
|
id?: string | undefined;
|
|
13692
13710
|
webhook_name?: string | undefined;
|
|
13711
|
+
channel_id?: string | undefined;
|
|
13712
|
+
avatar?: string | undefined;
|
|
13693
13713
|
} & {
|
|
13694
13714
|
id?: string | undefined;
|
|
13695
13715
|
webhook_name?: string | undefined;
|
|
13716
|
+
channel_id?: string | undefined;
|
|
13717
|
+
avatar?: string | undefined;
|
|
13696
13718
|
} & { [K_1 in Exclude<keyof I_1, keyof WebhookUpdateRequestById>]: never; }>(object: I_1): WebhookUpdateRequestById;
|
|
13697
13719
|
};
|
|
13698
13720
|
export declare const WebhookDeleteRequestById: {
|
|
@@ -13742,6 +13764,7 @@ export declare const WebhookListResponse: {
|
|
|
13742
13764
|
creator_id?: string | undefined;
|
|
13743
13765
|
create_time?: string | undefined;
|
|
13744
13766
|
update_time?: string | undefined;
|
|
13767
|
+
avatar?: string | undefined;
|
|
13745
13768
|
}[] | undefined;
|
|
13746
13769
|
} & {
|
|
13747
13770
|
webhooks?: ({
|
|
@@ -13753,6 +13776,7 @@ export declare const WebhookListResponse: {
|
|
|
13753
13776
|
creator_id?: string | undefined;
|
|
13754
13777
|
create_time?: string | undefined;
|
|
13755
13778
|
update_time?: string | undefined;
|
|
13779
|
+
avatar?: string | undefined;
|
|
13756
13780
|
}[] & ({
|
|
13757
13781
|
id?: string | undefined;
|
|
13758
13782
|
webhook_name?: string | undefined;
|
|
@@ -13762,6 +13786,7 @@ export declare const WebhookListResponse: {
|
|
|
13762
13786
|
creator_id?: string | undefined;
|
|
13763
13787
|
create_time?: string | undefined;
|
|
13764
13788
|
update_time?: string | undefined;
|
|
13789
|
+
avatar?: string | undefined;
|
|
13765
13790
|
} & {
|
|
13766
13791
|
id?: string | undefined;
|
|
13767
13792
|
webhook_name?: string | undefined;
|
|
@@ -13771,6 +13796,7 @@ export declare const WebhookListResponse: {
|
|
|
13771
13796
|
creator_id?: string | undefined;
|
|
13772
13797
|
create_time?: string | undefined;
|
|
13773
13798
|
update_time?: string | undefined;
|
|
13799
|
+
avatar?: string | undefined;
|
|
13774
13800
|
} & { [K in Exclude<keyof I["webhooks"][number], keyof Webhook>]: never; })[] & { [K_1 in Exclude<keyof I["webhooks"], keyof {
|
|
13775
13801
|
id?: string | undefined;
|
|
13776
13802
|
webhook_name?: string | undefined;
|
|
@@ -13780,6 +13806,7 @@ export declare const WebhookListResponse: {
|
|
|
13780
13806
|
creator_id?: string | undefined;
|
|
13781
13807
|
create_time?: string | undefined;
|
|
13782
13808
|
update_time?: string | undefined;
|
|
13809
|
+
avatar?: string | undefined;
|
|
13783
13810
|
}[]>]: never; }) | undefined;
|
|
13784
13811
|
} & { [K_2 in Exclude<keyof I, "webhooks">]: never; }>(base?: I | undefined): WebhookListResponse;
|
|
13785
13812
|
fromPartial<I_1 extends {
|
|
@@ -13792,6 +13819,7 @@ export declare const WebhookListResponse: {
|
|
|
13792
13819
|
creator_id?: string | undefined;
|
|
13793
13820
|
create_time?: string | undefined;
|
|
13794
13821
|
update_time?: string | undefined;
|
|
13822
|
+
avatar?: string | undefined;
|
|
13795
13823
|
}[] | undefined;
|
|
13796
13824
|
} & {
|
|
13797
13825
|
webhooks?: ({
|
|
@@ -13803,6 +13831,7 @@ export declare const WebhookListResponse: {
|
|
|
13803
13831
|
creator_id?: string | undefined;
|
|
13804
13832
|
create_time?: string | undefined;
|
|
13805
13833
|
update_time?: string | undefined;
|
|
13834
|
+
avatar?: string | undefined;
|
|
13806
13835
|
}[] & ({
|
|
13807
13836
|
id?: string | undefined;
|
|
13808
13837
|
webhook_name?: string | undefined;
|
|
@@ -13812,6 +13841,7 @@ export declare const WebhookListResponse: {
|
|
|
13812
13841
|
creator_id?: string | undefined;
|
|
13813
13842
|
create_time?: string | undefined;
|
|
13814
13843
|
update_time?: string | undefined;
|
|
13844
|
+
avatar?: string | undefined;
|
|
13815
13845
|
} & {
|
|
13816
13846
|
id?: string | undefined;
|
|
13817
13847
|
webhook_name?: string | undefined;
|
|
@@ -13821,6 +13851,7 @@ export declare const WebhookListResponse: {
|
|
|
13821
13851
|
creator_id?: string | undefined;
|
|
13822
13852
|
create_time?: string | undefined;
|
|
13823
13853
|
update_time?: string | undefined;
|
|
13854
|
+
avatar?: string | undefined;
|
|
13824
13855
|
} & { [K_3 in Exclude<keyof I_1["webhooks"][number], keyof Webhook>]: never; })[] & { [K_4 in Exclude<keyof I_1["webhooks"], keyof {
|
|
13825
13856
|
id?: string | undefined;
|
|
13826
13857
|
webhook_name?: string | undefined;
|
|
@@ -13830,6 +13861,7 @@ export declare const WebhookListResponse: {
|
|
|
13830
13861
|
creator_id?: string | undefined;
|
|
13831
13862
|
create_time?: string | undefined;
|
|
13832
13863
|
update_time?: string | undefined;
|
|
13864
|
+
avatar?: string | undefined;
|
|
13833
13865
|
}[]>]: never; }) | undefined;
|
|
13834
13866
|
} & { [K_5 in Exclude<keyof I_1, "webhooks">]: never; }>(object: I_1): WebhookListResponse;
|
|
13835
13867
|
};
|
|
@@ -13842,19 +13874,23 @@ export declare const WebhookGenerateResponse: {
|
|
|
13842
13874
|
url?: string | undefined;
|
|
13843
13875
|
hook_name?: string | undefined;
|
|
13844
13876
|
channel_id?: string | undefined;
|
|
13877
|
+
avatar?: string | undefined;
|
|
13845
13878
|
} & {
|
|
13846
13879
|
url?: string | undefined;
|
|
13847
13880
|
hook_name?: string | undefined;
|
|
13848
13881
|
channel_id?: string | undefined;
|
|
13882
|
+
avatar?: string | undefined;
|
|
13849
13883
|
} & { [K in Exclude<keyof I, keyof WebhookGenerateResponse>]: never; }>(base?: I | undefined): WebhookGenerateResponse;
|
|
13850
13884
|
fromPartial<I_1 extends {
|
|
13851
13885
|
url?: string | undefined;
|
|
13852
13886
|
hook_name?: string | undefined;
|
|
13853
13887
|
channel_id?: string | undefined;
|
|
13888
|
+
avatar?: string | undefined;
|
|
13854
13889
|
} & {
|
|
13855
13890
|
url?: string | undefined;
|
|
13856
13891
|
hook_name?: string | undefined;
|
|
13857
13892
|
channel_id?: string | undefined;
|
|
13893
|
+
avatar?: string | undefined;
|
|
13858
13894
|
} & { [K_1 in Exclude<keyof I_1, keyof WebhookGenerateResponse>]: never; }>(object: I_1): WebhookGenerateResponse;
|
|
13859
13895
|
};
|
|
13860
13896
|
export declare const CheckDuplicateClanNameRequest: {
|