mezon-js-protobuf 1.8.27 → 1.8.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/api/api.ts
CHANGED
|
@@ -2558,6 +2558,7 @@ export interface Webhook {
|
|
|
2558
2558
|
update_time: string;
|
|
2559
2559
|
avatar: string;
|
|
2560
2560
|
status: number;
|
|
2561
|
+
clan_id: string;
|
|
2561
2562
|
}
|
|
2562
2563
|
|
|
2563
2564
|
export interface WebhookCreateRequest {
|
|
@@ -24012,6 +24013,7 @@ function createBaseWebhook(): Webhook {
|
|
|
24012
24013
|
update_time: "",
|
|
24013
24014
|
avatar: "",
|
|
24014
24015
|
status: 0,
|
|
24016
|
+
clan_id: "",
|
|
24015
24017
|
};
|
|
24016
24018
|
}
|
|
24017
24019
|
|
|
@@ -24047,6 +24049,9 @@ export const Webhook = {
|
|
|
24047
24049
|
if (message.status !== 0) {
|
|
24048
24050
|
writer.uint32(80).int32(message.status);
|
|
24049
24051
|
}
|
|
24052
|
+
if (message.clan_id !== "") {
|
|
24053
|
+
writer.uint32(90).string(message.clan_id);
|
|
24054
|
+
}
|
|
24050
24055
|
return writer;
|
|
24051
24056
|
},
|
|
24052
24057
|
|
|
@@ -24127,6 +24132,13 @@ export const Webhook = {
|
|
|
24127
24132
|
|
|
24128
24133
|
message.status = reader.int32();
|
|
24129
24134
|
continue;
|
|
24135
|
+
case 11:
|
|
24136
|
+
if (tag !== 90) {
|
|
24137
|
+
break;
|
|
24138
|
+
}
|
|
24139
|
+
|
|
24140
|
+
message.clan_id = reader.string();
|
|
24141
|
+
continue;
|
|
24130
24142
|
}
|
|
24131
24143
|
if ((tag & 7) === 4 || tag === 0) {
|
|
24132
24144
|
break;
|
|
@@ -24148,6 +24160,7 @@ export const Webhook = {
|
|
|
24148
24160
|
update_time: isSet(object.update_time) ? globalThis.String(object.update_time) : "",
|
|
24149
24161
|
avatar: isSet(object.avatar) ? globalThis.String(object.avatar) : "",
|
|
24150
24162
|
status: isSet(object.status) ? globalThis.Number(object.status) : 0,
|
|
24163
|
+
clan_id: isSet(object.clan_id) ? globalThis.String(object.clan_id) : "",
|
|
24151
24164
|
};
|
|
24152
24165
|
},
|
|
24153
24166
|
|
|
@@ -24183,6 +24196,9 @@ export const Webhook = {
|
|
|
24183
24196
|
if (message.status !== 0) {
|
|
24184
24197
|
obj.status = Math.round(message.status);
|
|
24185
24198
|
}
|
|
24199
|
+
if (message.clan_id !== "") {
|
|
24200
|
+
obj.clan_id = message.clan_id;
|
|
24201
|
+
}
|
|
24186
24202
|
return obj;
|
|
24187
24203
|
},
|
|
24188
24204
|
|
|
@@ -24201,6 +24217,7 @@ export const Webhook = {
|
|
|
24201
24217
|
message.update_time = object.update_time ?? "";
|
|
24202
24218
|
message.avatar = object.avatar ?? "";
|
|
24203
24219
|
message.status = object.status ?? 0;
|
|
24220
|
+
message.clan_id = object.clan_id ?? "";
|
|
24204
24221
|
return message;
|
|
24205
24222
|
},
|
|
24206
24223
|
};
|
|
@@ -2006,6 +2006,7 @@ export interface Webhook {
|
|
|
2006
2006
|
update_time: string;
|
|
2007
2007
|
avatar: string;
|
|
2008
2008
|
status: number;
|
|
2009
|
+
clan_id: string;
|
|
2009
2010
|
}
|
|
2010
2011
|
export interface WebhookCreateRequest {
|
|
2011
2012
|
webhook_name: string;
|
|
@@ -16463,6 +16464,7 @@ export declare const Webhook: {
|
|
|
16463
16464
|
update_time?: string | undefined;
|
|
16464
16465
|
avatar?: string | undefined;
|
|
16465
16466
|
status?: number | undefined;
|
|
16467
|
+
clan_id?: string | undefined;
|
|
16466
16468
|
} & {
|
|
16467
16469
|
id?: string | undefined;
|
|
16468
16470
|
webhook_name?: string | undefined;
|
|
@@ -16474,6 +16476,7 @@ export declare const Webhook: {
|
|
|
16474
16476
|
update_time?: string | undefined;
|
|
16475
16477
|
avatar?: string | undefined;
|
|
16476
16478
|
status?: number | undefined;
|
|
16479
|
+
clan_id?: string | undefined;
|
|
16477
16480
|
} & { [K in Exclude<keyof I, keyof Webhook>]: never; }>(base?: I | undefined): Webhook;
|
|
16478
16481
|
fromPartial<I_1 extends {
|
|
16479
16482
|
id?: string | undefined;
|
|
@@ -16486,6 +16489,7 @@ export declare const Webhook: {
|
|
|
16486
16489
|
update_time?: string | undefined;
|
|
16487
16490
|
avatar?: string | undefined;
|
|
16488
16491
|
status?: number | undefined;
|
|
16492
|
+
clan_id?: string | undefined;
|
|
16489
16493
|
} & {
|
|
16490
16494
|
id?: string | undefined;
|
|
16491
16495
|
webhook_name?: string | undefined;
|
|
@@ -16497,6 +16501,7 @@ export declare const Webhook: {
|
|
|
16497
16501
|
update_time?: string | undefined;
|
|
16498
16502
|
avatar?: string | undefined;
|
|
16499
16503
|
status?: number | undefined;
|
|
16504
|
+
clan_id?: string | undefined;
|
|
16500
16505
|
} & { [K_1 in Exclude<keyof I_1, keyof Webhook>]: never; }>(object: I_1): Webhook;
|
|
16501
16506
|
};
|
|
16502
16507
|
export declare const WebhookCreateRequest: {
|
|
@@ -16640,6 +16645,7 @@ export declare const WebhookListResponse: {
|
|
|
16640
16645
|
update_time?: string | undefined;
|
|
16641
16646
|
avatar?: string | undefined;
|
|
16642
16647
|
status?: number | undefined;
|
|
16648
|
+
clan_id?: string | undefined;
|
|
16643
16649
|
}[] | undefined;
|
|
16644
16650
|
} & {
|
|
16645
16651
|
webhooks?: ({
|
|
@@ -16653,6 +16659,7 @@ export declare const WebhookListResponse: {
|
|
|
16653
16659
|
update_time?: string | undefined;
|
|
16654
16660
|
avatar?: string | undefined;
|
|
16655
16661
|
status?: number | undefined;
|
|
16662
|
+
clan_id?: string | undefined;
|
|
16656
16663
|
}[] & ({
|
|
16657
16664
|
id?: string | undefined;
|
|
16658
16665
|
webhook_name?: string | undefined;
|
|
@@ -16664,6 +16671,7 @@ export declare const WebhookListResponse: {
|
|
|
16664
16671
|
update_time?: string | undefined;
|
|
16665
16672
|
avatar?: string | undefined;
|
|
16666
16673
|
status?: number | undefined;
|
|
16674
|
+
clan_id?: string | undefined;
|
|
16667
16675
|
} & {
|
|
16668
16676
|
id?: string | undefined;
|
|
16669
16677
|
webhook_name?: string | undefined;
|
|
@@ -16675,6 +16683,7 @@ export declare const WebhookListResponse: {
|
|
|
16675
16683
|
update_time?: string | undefined;
|
|
16676
16684
|
avatar?: string | undefined;
|
|
16677
16685
|
status?: number | undefined;
|
|
16686
|
+
clan_id?: string | undefined;
|
|
16678
16687
|
} & { [K in Exclude<keyof I["webhooks"][number], keyof Webhook>]: never; })[] & { [K_1 in Exclude<keyof I["webhooks"], keyof {
|
|
16679
16688
|
id?: string | undefined;
|
|
16680
16689
|
webhook_name?: string | undefined;
|
|
@@ -16686,6 +16695,7 @@ export declare const WebhookListResponse: {
|
|
|
16686
16695
|
update_time?: string | undefined;
|
|
16687
16696
|
avatar?: string | undefined;
|
|
16688
16697
|
status?: number | undefined;
|
|
16698
|
+
clan_id?: string | undefined;
|
|
16689
16699
|
}[]>]: never; }) | undefined;
|
|
16690
16700
|
} & { [K_2 in Exclude<keyof I, "webhooks">]: never; }>(base?: I | undefined): WebhookListResponse;
|
|
16691
16701
|
fromPartial<I_1 extends {
|
|
@@ -16700,6 +16710,7 @@ export declare const WebhookListResponse: {
|
|
|
16700
16710
|
update_time?: string | undefined;
|
|
16701
16711
|
avatar?: string | undefined;
|
|
16702
16712
|
status?: number | undefined;
|
|
16713
|
+
clan_id?: string | undefined;
|
|
16703
16714
|
}[] | undefined;
|
|
16704
16715
|
} & {
|
|
16705
16716
|
webhooks?: ({
|
|
@@ -16713,6 +16724,7 @@ export declare const WebhookListResponse: {
|
|
|
16713
16724
|
update_time?: string | undefined;
|
|
16714
16725
|
avatar?: string | undefined;
|
|
16715
16726
|
status?: number | undefined;
|
|
16727
|
+
clan_id?: string | undefined;
|
|
16716
16728
|
}[] & ({
|
|
16717
16729
|
id?: string | undefined;
|
|
16718
16730
|
webhook_name?: string | undefined;
|
|
@@ -16724,6 +16736,7 @@ export declare const WebhookListResponse: {
|
|
|
16724
16736
|
update_time?: string | undefined;
|
|
16725
16737
|
avatar?: string | undefined;
|
|
16726
16738
|
status?: number | undefined;
|
|
16739
|
+
clan_id?: string | undefined;
|
|
16727
16740
|
} & {
|
|
16728
16741
|
id?: string | undefined;
|
|
16729
16742
|
webhook_name?: string | undefined;
|
|
@@ -16735,6 +16748,7 @@ export declare const WebhookListResponse: {
|
|
|
16735
16748
|
update_time?: string | undefined;
|
|
16736
16749
|
avatar?: string | undefined;
|
|
16737
16750
|
status?: number | undefined;
|
|
16751
|
+
clan_id?: string | undefined;
|
|
16738
16752
|
} & { [K_3 in Exclude<keyof I_1["webhooks"][number], keyof Webhook>]: never; })[] & { [K_4 in Exclude<keyof I_1["webhooks"], keyof {
|
|
16739
16753
|
id?: string | undefined;
|
|
16740
16754
|
webhook_name?: string | undefined;
|
|
@@ -16746,6 +16760,7 @@ export declare const WebhookListResponse: {
|
|
|
16746
16760
|
update_time?: string | undefined;
|
|
16747
16761
|
avatar?: string | undefined;
|
|
16748
16762
|
status?: number | undefined;
|
|
16763
|
+
clan_id?: string | undefined;
|
|
16749
16764
|
}[]>]: never; }) | undefined;
|
|
16750
16765
|
} & { [K_5 in Exclude<keyof I_1, "webhooks">]: never; }>(object: I_1): WebhookListResponse;
|
|
16751
16766
|
};
|
|
@@ -2212,6 +2212,7 @@ export declare const Envelope: {
|
|
|
2212
2212
|
update_time?: string | undefined;
|
|
2213
2213
|
avatar?: string | undefined;
|
|
2214
2214
|
status?: number | undefined;
|
|
2215
|
+
clan_id?: string | undefined;
|
|
2215
2216
|
} | undefined;
|
|
2216
2217
|
noti_user_channel?: {
|
|
2217
2218
|
id?: string | undefined;
|
|
@@ -2829,6 +2830,7 @@ export declare const Envelope: {
|
|
|
2829
2830
|
update_time?: string | undefined;
|
|
2830
2831
|
avatar?: string | undefined;
|
|
2831
2832
|
status?: number | undefined;
|
|
2833
|
+
clan_id?: string | undefined;
|
|
2832
2834
|
}[] | undefined;
|
|
2833
2835
|
} | undefined;
|
|
2834
2836
|
permission_list_req?: {
|
|
@@ -6161,6 +6163,7 @@ export declare const Envelope: {
|
|
|
6161
6163
|
update_time?: string | undefined;
|
|
6162
6164
|
avatar?: string | undefined;
|
|
6163
6165
|
status?: number | undefined;
|
|
6166
|
+
clan_id?: string | undefined;
|
|
6164
6167
|
} & {
|
|
6165
6168
|
id?: string | undefined;
|
|
6166
6169
|
webhook_name?: string | undefined;
|
|
@@ -6172,6 +6175,7 @@ export declare const Envelope: {
|
|
|
6172
6175
|
update_time?: string | undefined;
|
|
6173
6176
|
avatar?: string | undefined;
|
|
6174
6177
|
status?: number | undefined;
|
|
6178
|
+
clan_id?: string | undefined;
|
|
6175
6179
|
} & { [K_176 in Exclude<keyof I["webhook_event"], keyof Webhook>]: never; }) | undefined;
|
|
6176
6180
|
noti_user_channel?: ({
|
|
6177
6181
|
id?: string | undefined;
|
|
@@ -7008,6 +7012,7 @@ export declare const Envelope: {
|
|
|
7008
7012
|
update_time?: string | undefined;
|
|
7009
7013
|
avatar?: string | undefined;
|
|
7010
7014
|
status?: number | undefined;
|
|
7015
|
+
clan_id?: string | undefined;
|
|
7011
7016
|
}[] | undefined;
|
|
7012
7017
|
} | undefined;
|
|
7013
7018
|
permission_list_req?: {
|
|
@@ -9219,6 +9224,7 @@ export declare const Envelope: {
|
|
|
9219
9224
|
update_time?: string | undefined;
|
|
9220
9225
|
avatar?: string | undefined;
|
|
9221
9226
|
status?: number | undefined;
|
|
9227
|
+
clan_id?: string | undefined;
|
|
9222
9228
|
}[] | undefined;
|
|
9223
9229
|
} & {
|
|
9224
9230
|
webhooks?: ({
|
|
@@ -9232,6 +9238,7 @@ export declare const Envelope: {
|
|
|
9232
9238
|
update_time?: string | undefined;
|
|
9233
9239
|
avatar?: string | undefined;
|
|
9234
9240
|
status?: number | undefined;
|
|
9241
|
+
clan_id?: string | undefined;
|
|
9235
9242
|
}[] & ({
|
|
9236
9243
|
id?: string | undefined;
|
|
9237
9244
|
webhook_name?: string | undefined;
|
|
@@ -9243,6 +9250,7 @@ export declare const Envelope: {
|
|
|
9243
9250
|
update_time?: string | undefined;
|
|
9244
9251
|
avatar?: string | undefined;
|
|
9245
9252
|
status?: number | undefined;
|
|
9253
|
+
clan_id?: string | undefined;
|
|
9246
9254
|
} & {
|
|
9247
9255
|
id?: string | undefined;
|
|
9248
9256
|
webhook_name?: string | undefined;
|
|
@@ -9254,6 +9262,7 @@ export declare const Envelope: {
|
|
|
9254
9262
|
update_time?: string | undefined;
|
|
9255
9263
|
avatar?: string | undefined;
|
|
9256
9264
|
status?: number | undefined;
|
|
9265
|
+
clan_id?: string | undefined;
|
|
9257
9266
|
} & { [K_304 in Exclude<keyof I["list_data_socket"]["webhook_list"]["webhooks"][number], keyof Webhook>]: never; })[] & { [K_305 in Exclude<keyof I["list_data_socket"]["webhook_list"]["webhooks"], keyof {
|
|
9258
9267
|
id?: string | undefined;
|
|
9259
9268
|
webhook_name?: string | undefined;
|
|
@@ -9265,6 +9274,7 @@ export declare const Envelope: {
|
|
|
9265
9274
|
update_time?: string | undefined;
|
|
9266
9275
|
avatar?: string | undefined;
|
|
9267
9276
|
status?: number | undefined;
|
|
9277
|
+
clan_id?: string | undefined;
|
|
9268
9278
|
}[]>]: never; }) | undefined;
|
|
9269
9279
|
} & { [K_306 in Exclude<keyof I["list_data_socket"]["webhook_list"], "webhooks">]: never; }) | undefined;
|
|
9270
9280
|
permission_list_req?: ({
|
|
@@ -12060,6 +12070,7 @@ export declare const Envelope: {
|
|
|
12060
12070
|
update_time?: string | undefined;
|
|
12061
12071
|
avatar?: string | undefined;
|
|
12062
12072
|
status?: number | undefined;
|
|
12073
|
+
clan_id?: string | undefined;
|
|
12063
12074
|
} | undefined;
|
|
12064
12075
|
noti_user_channel?: {
|
|
12065
12076
|
id?: string | undefined;
|
|
@@ -12677,6 +12688,7 @@ export declare const Envelope: {
|
|
|
12677
12688
|
update_time?: string | undefined;
|
|
12678
12689
|
avatar?: string | undefined;
|
|
12679
12690
|
status?: number | undefined;
|
|
12691
|
+
clan_id?: string | undefined;
|
|
12680
12692
|
}[] | undefined;
|
|
12681
12693
|
} | undefined;
|
|
12682
12694
|
permission_list_req?: {
|
|
@@ -16009,6 +16021,7 @@ export declare const Envelope: {
|
|
|
16009
16021
|
update_time?: string | undefined;
|
|
16010
16022
|
avatar?: string | undefined;
|
|
16011
16023
|
status?: number | undefined;
|
|
16024
|
+
clan_id?: string | undefined;
|
|
16012
16025
|
} & {
|
|
16013
16026
|
id?: string | undefined;
|
|
16014
16027
|
webhook_name?: string | undefined;
|
|
@@ -16020,6 +16033,7 @@ export declare const Envelope: {
|
|
|
16020
16033
|
update_time?: string | undefined;
|
|
16021
16034
|
avatar?: string | undefined;
|
|
16022
16035
|
status?: number | undefined;
|
|
16036
|
+
clan_id?: string | undefined;
|
|
16023
16037
|
} & { [K_570 in Exclude<keyof I_1["webhook_event"], keyof Webhook>]: never; }) | undefined;
|
|
16024
16038
|
noti_user_channel?: ({
|
|
16025
16039
|
id?: string | undefined;
|
|
@@ -16856,6 +16870,7 @@ export declare const Envelope: {
|
|
|
16856
16870
|
update_time?: string | undefined;
|
|
16857
16871
|
avatar?: string | undefined;
|
|
16858
16872
|
status?: number | undefined;
|
|
16873
|
+
clan_id?: string | undefined;
|
|
16859
16874
|
}[] | undefined;
|
|
16860
16875
|
} | undefined;
|
|
16861
16876
|
permission_list_req?: {
|
|
@@ -19067,6 +19082,7 @@ export declare const Envelope: {
|
|
|
19067
19082
|
update_time?: string | undefined;
|
|
19068
19083
|
avatar?: string | undefined;
|
|
19069
19084
|
status?: number | undefined;
|
|
19085
|
+
clan_id?: string | undefined;
|
|
19070
19086
|
}[] | undefined;
|
|
19071
19087
|
} & {
|
|
19072
19088
|
webhooks?: ({
|
|
@@ -19080,6 +19096,7 @@ export declare const Envelope: {
|
|
|
19080
19096
|
update_time?: string | undefined;
|
|
19081
19097
|
avatar?: string | undefined;
|
|
19082
19098
|
status?: number | undefined;
|
|
19099
|
+
clan_id?: string | undefined;
|
|
19083
19100
|
}[] & ({
|
|
19084
19101
|
id?: string | undefined;
|
|
19085
19102
|
webhook_name?: string | undefined;
|
|
@@ -19091,6 +19108,7 @@ export declare const Envelope: {
|
|
|
19091
19108
|
update_time?: string | undefined;
|
|
19092
19109
|
avatar?: string | undefined;
|
|
19093
19110
|
status?: number | undefined;
|
|
19111
|
+
clan_id?: string | undefined;
|
|
19094
19112
|
} & {
|
|
19095
19113
|
id?: string | undefined;
|
|
19096
19114
|
webhook_name?: string | undefined;
|
|
@@ -19102,6 +19120,7 @@ export declare const Envelope: {
|
|
|
19102
19120
|
update_time?: string | undefined;
|
|
19103
19121
|
avatar?: string | undefined;
|
|
19104
19122
|
status?: number | undefined;
|
|
19123
|
+
clan_id?: string | undefined;
|
|
19105
19124
|
} & { [K_698 in Exclude<keyof I_1["list_data_socket"]["webhook_list"]["webhooks"][number], keyof Webhook>]: never; })[] & { [K_699 in Exclude<keyof I_1["list_data_socket"]["webhook_list"]["webhooks"], keyof {
|
|
19106
19125
|
id?: string | undefined;
|
|
19107
19126
|
webhook_name?: string | undefined;
|
|
@@ -19113,6 +19132,7 @@ export declare const Envelope: {
|
|
|
19113
19132
|
update_time?: string | undefined;
|
|
19114
19133
|
avatar?: string | undefined;
|
|
19115
19134
|
status?: number | undefined;
|
|
19135
|
+
clan_id?: string | undefined;
|
|
19116
19136
|
}[]>]: never; }) | undefined;
|
|
19117
19137
|
} & { [K_700 in Exclude<keyof I_1["list_data_socket"]["webhook_list"], "webhooks">]: never; }) | undefined;
|
|
19118
19138
|
permission_list_req?: ({
|
|
@@ -28957,6 +28977,7 @@ export declare const ListDataSocket: {
|
|
|
28957
28977
|
update_time?: string | undefined;
|
|
28958
28978
|
avatar?: string | undefined;
|
|
28959
28979
|
status?: number | undefined;
|
|
28980
|
+
clan_id?: string | undefined;
|
|
28960
28981
|
}[] | undefined;
|
|
28961
28982
|
} | undefined;
|
|
28962
28983
|
permission_list_req?: {
|
|
@@ -31168,6 +31189,7 @@ export declare const ListDataSocket: {
|
|
|
31168
31189
|
update_time?: string | undefined;
|
|
31169
31190
|
avatar?: string | undefined;
|
|
31170
31191
|
status?: number | undefined;
|
|
31192
|
+
clan_id?: string | undefined;
|
|
31171
31193
|
}[] | undefined;
|
|
31172
31194
|
} & {
|
|
31173
31195
|
webhooks?: ({
|
|
@@ -31181,6 +31203,7 @@ export declare const ListDataSocket: {
|
|
|
31181
31203
|
update_time?: string | undefined;
|
|
31182
31204
|
avatar?: string | undefined;
|
|
31183
31205
|
status?: number | undefined;
|
|
31206
|
+
clan_id?: string | undefined;
|
|
31184
31207
|
}[] & ({
|
|
31185
31208
|
id?: string | undefined;
|
|
31186
31209
|
webhook_name?: string | undefined;
|
|
@@ -31192,6 +31215,7 @@ export declare const ListDataSocket: {
|
|
|
31192
31215
|
update_time?: string | undefined;
|
|
31193
31216
|
avatar?: string | undefined;
|
|
31194
31217
|
status?: number | undefined;
|
|
31218
|
+
clan_id?: string | undefined;
|
|
31195
31219
|
} & {
|
|
31196
31220
|
id?: string | undefined;
|
|
31197
31221
|
webhook_name?: string | undefined;
|
|
@@ -31203,6 +31227,7 @@ export declare const ListDataSocket: {
|
|
|
31203
31227
|
update_time?: string | undefined;
|
|
31204
31228
|
avatar?: string | undefined;
|
|
31205
31229
|
status?: number | undefined;
|
|
31230
|
+
clan_id?: string | undefined;
|
|
31206
31231
|
} & { [K_108 in Exclude<keyof I["webhook_list"]["webhooks"][number], keyof Webhook>]: never; })[] & { [K_109 in Exclude<keyof I["webhook_list"]["webhooks"], keyof {
|
|
31207
31232
|
id?: string | undefined;
|
|
31208
31233
|
webhook_name?: string | undefined;
|
|
@@ -31214,6 +31239,7 @@ export declare const ListDataSocket: {
|
|
|
31214
31239
|
update_time?: string | undefined;
|
|
31215
31240
|
avatar?: string | undefined;
|
|
31216
31241
|
status?: number | undefined;
|
|
31242
|
+
clan_id?: string | undefined;
|
|
31217
31243
|
}[]>]: never; }) | undefined;
|
|
31218
31244
|
} & { [K_110 in Exclude<keyof I["webhook_list"], "webhooks">]: never; }) | undefined;
|
|
31219
31245
|
permission_list_req?: ({
|
|
@@ -33329,6 +33355,7 @@ export declare const ListDataSocket: {
|
|
|
33329
33355
|
update_time?: string | undefined;
|
|
33330
33356
|
avatar?: string | undefined;
|
|
33331
33357
|
status?: number | undefined;
|
|
33358
|
+
clan_id?: string | undefined;
|
|
33332
33359
|
}[] | undefined;
|
|
33333
33360
|
} | undefined;
|
|
33334
33361
|
permission_list_req?: {
|
|
@@ -35540,6 +35567,7 @@ export declare const ListDataSocket: {
|
|
|
35540
35567
|
update_time?: string | undefined;
|
|
35541
35568
|
avatar?: string | undefined;
|
|
35542
35569
|
status?: number | undefined;
|
|
35570
|
+
clan_id?: string | undefined;
|
|
35543
35571
|
}[] | undefined;
|
|
35544
35572
|
} & {
|
|
35545
35573
|
webhooks?: ({
|
|
@@ -35553,6 +35581,7 @@ export declare const ListDataSocket: {
|
|
|
35553
35581
|
update_time?: string | undefined;
|
|
35554
35582
|
avatar?: string | undefined;
|
|
35555
35583
|
status?: number | undefined;
|
|
35584
|
+
clan_id?: string | undefined;
|
|
35556
35585
|
}[] & ({
|
|
35557
35586
|
id?: string | undefined;
|
|
35558
35587
|
webhook_name?: string | undefined;
|
|
@@ -35564,6 +35593,7 @@ export declare const ListDataSocket: {
|
|
|
35564
35593
|
update_time?: string | undefined;
|
|
35565
35594
|
avatar?: string | undefined;
|
|
35566
35595
|
status?: number | undefined;
|
|
35596
|
+
clan_id?: string | undefined;
|
|
35567
35597
|
} & {
|
|
35568
35598
|
id?: string | undefined;
|
|
35569
35599
|
webhook_name?: string | undefined;
|
|
@@ -35575,6 +35605,7 @@ export declare const ListDataSocket: {
|
|
|
35575
35605
|
update_time?: string | undefined;
|
|
35576
35606
|
avatar?: string | undefined;
|
|
35577
35607
|
status?: number | undefined;
|
|
35608
|
+
clan_id?: string | undefined;
|
|
35578
35609
|
} & { [K_296 in Exclude<keyof I_1["webhook_list"]["webhooks"][number], keyof Webhook>]: never; })[] & { [K_297 in Exclude<keyof I_1["webhook_list"]["webhooks"], keyof {
|
|
35579
35610
|
id?: string | undefined;
|
|
35580
35611
|
webhook_name?: string | undefined;
|
|
@@ -35586,6 +35617,7 @@ export declare const ListDataSocket: {
|
|
|
35586
35617
|
update_time?: string | undefined;
|
|
35587
35618
|
avatar?: string | undefined;
|
|
35588
35619
|
status?: number | undefined;
|
|
35620
|
+
clan_id?: string | undefined;
|
|
35589
35621
|
}[]>]: never; }) | undefined;
|
|
35590
35622
|
} & { [K_298 in Exclude<keyof I_1["webhook_list"], "webhooks">]: never; }) | undefined;
|
|
35591
35623
|
permission_list_req?: ({
|
|
@@ -11315,7 +11315,8 @@ function createBaseWebhook() {
|
|
|
11315
11315
|
create_time: "",
|
|
11316
11316
|
update_time: "",
|
|
11317
11317
|
avatar: "",
|
|
11318
|
-
status: 0
|
|
11318
|
+
status: 0,
|
|
11319
|
+
clan_id: ""
|
|
11319
11320
|
};
|
|
11320
11321
|
}
|
|
11321
11322
|
var Webhook = {
|
|
@@ -11350,6 +11351,9 @@ var Webhook = {
|
|
|
11350
11351
|
if (message.status !== 0) {
|
|
11351
11352
|
writer.uint32(80).int32(message.status);
|
|
11352
11353
|
}
|
|
11354
|
+
if (message.clan_id !== "") {
|
|
11355
|
+
writer.uint32(90).string(message.clan_id);
|
|
11356
|
+
}
|
|
11353
11357
|
return writer;
|
|
11354
11358
|
},
|
|
11355
11359
|
decode(input, length) {
|
|
@@ -11419,6 +11423,12 @@ var Webhook = {
|
|
|
11419
11423
|
}
|
|
11420
11424
|
message.status = reader.int32();
|
|
11421
11425
|
continue;
|
|
11426
|
+
case 11:
|
|
11427
|
+
if (tag !== 90) {
|
|
11428
|
+
break;
|
|
11429
|
+
}
|
|
11430
|
+
message.clan_id = reader.string();
|
|
11431
|
+
continue;
|
|
11422
11432
|
}
|
|
11423
11433
|
if ((tag & 7) === 4 || tag === 0) {
|
|
11424
11434
|
break;
|
|
@@ -11438,7 +11448,8 @@ var Webhook = {
|
|
|
11438
11448
|
create_time: isSet3(object.create_time) ? globalThis.String(object.create_time) : "",
|
|
11439
11449
|
update_time: isSet3(object.update_time) ? globalThis.String(object.update_time) : "",
|
|
11440
11450
|
avatar: isSet3(object.avatar) ? globalThis.String(object.avatar) : "",
|
|
11441
|
-
status: isSet3(object.status) ? globalThis.Number(object.status) : 0
|
|
11451
|
+
status: isSet3(object.status) ? globalThis.Number(object.status) : 0,
|
|
11452
|
+
clan_id: isSet3(object.clan_id) ? globalThis.String(object.clan_id) : ""
|
|
11442
11453
|
};
|
|
11443
11454
|
},
|
|
11444
11455
|
toJSON(message) {
|
|
@@ -11473,13 +11484,16 @@ var Webhook = {
|
|
|
11473
11484
|
if (message.status !== 0) {
|
|
11474
11485
|
obj.status = Math.round(message.status);
|
|
11475
11486
|
}
|
|
11487
|
+
if (message.clan_id !== "") {
|
|
11488
|
+
obj.clan_id = message.clan_id;
|
|
11489
|
+
}
|
|
11476
11490
|
return obj;
|
|
11477
11491
|
},
|
|
11478
11492
|
create(base) {
|
|
11479
11493
|
return Webhook.fromPartial(base != null ? base : {});
|
|
11480
11494
|
},
|
|
11481
11495
|
fromPartial(object) {
|
|
11482
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
|
|
11496
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k;
|
|
11483
11497
|
const message = createBaseWebhook();
|
|
11484
11498
|
message.id = (_a = object.id) != null ? _a : "";
|
|
11485
11499
|
message.webhook_name = (_b = object.webhook_name) != null ? _b : "";
|
|
@@ -11491,6 +11505,7 @@ var Webhook = {
|
|
|
11491
11505
|
message.update_time = (_h = object.update_time) != null ? _h : "";
|
|
11492
11506
|
message.avatar = (_i = object.avatar) != null ? _i : "";
|
|
11493
11507
|
message.status = (_j = object.status) != null ? _j : 0;
|
|
11508
|
+
message.clan_id = (_k = object.clan_id) != null ? _k : "";
|
|
11494
11509
|
return message;
|
|
11495
11510
|
}
|
|
11496
11511
|
};
|
|
@@ -11302,7 +11302,8 @@ function createBaseWebhook() {
|
|
|
11302
11302
|
create_time: "",
|
|
11303
11303
|
update_time: "",
|
|
11304
11304
|
avatar: "",
|
|
11305
|
-
status: 0
|
|
11305
|
+
status: 0,
|
|
11306
|
+
clan_id: ""
|
|
11306
11307
|
};
|
|
11307
11308
|
}
|
|
11308
11309
|
var Webhook = {
|
|
@@ -11337,6 +11338,9 @@ var Webhook = {
|
|
|
11337
11338
|
if (message.status !== 0) {
|
|
11338
11339
|
writer.uint32(80).int32(message.status);
|
|
11339
11340
|
}
|
|
11341
|
+
if (message.clan_id !== "") {
|
|
11342
|
+
writer.uint32(90).string(message.clan_id);
|
|
11343
|
+
}
|
|
11340
11344
|
return writer;
|
|
11341
11345
|
},
|
|
11342
11346
|
decode(input, length) {
|
|
@@ -11406,6 +11410,12 @@ var Webhook = {
|
|
|
11406
11410
|
}
|
|
11407
11411
|
message.status = reader.int32();
|
|
11408
11412
|
continue;
|
|
11413
|
+
case 11:
|
|
11414
|
+
if (tag !== 90) {
|
|
11415
|
+
break;
|
|
11416
|
+
}
|
|
11417
|
+
message.clan_id = reader.string();
|
|
11418
|
+
continue;
|
|
11409
11419
|
}
|
|
11410
11420
|
if ((tag & 7) === 4 || tag === 0) {
|
|
11411
11421
|
break;
|
|
@@ -11425,7 +11435,8 @@ var Webhook = {
|
|
|
11425
11435
|
create_time: isSet3(object.create_time) ? globalThis.String(object.create_time) : "",
|
|
11426
11436
|
update_time: isSet3(object.update_time) ? globalThis.String(object.update_time) : "",
|
|
11427
11437
|
avatar: isSet3(object.avatar) ? globalThis.String(object.avatar) : "",
|
|
11428
|
-
status: isSet3(object.status) ? globalThis.Number(object.status) : 0
|
|
11438
|
+
status: isSet3(object.status) ? globalThis.Number(object.status) : 0,
|
|
11439
|
+
clan_id: isSet3(object.clan_id) ? globalThis.String(object.clan_id) : ""
|
|
11429
11440
|
};
|
|
11430
11441
|
},
|
|
11431
11442
|
toJSON(message) {
|
|
@@ -11460,13 +11471,16 @@ var Webhook = {
|
|
|
11460
11471
|
if (message.status !== 0) {
|
|
11461
11472
|
obj.status = Math.round(message.status);
|
|
11462
11473
|
}
|
|
11474
|
+
if (message.clan_id !== "") {
|
|
11475
|
+
obj.clan_id = message.clan_id;
|
|
11476
|
+
}
|
|
11463
11477
|
return obj;
|
|
11464
11478
|
},
|
|
11465
11479
|
create(base) {
|
|
11466
11480
|
return Webhook.fromPartial(base != null ? base : {});
|
|
11467
11481
|
},
|
|
11468
11482
|
fromPartial(object) {
|
|
11469
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
|
|
11483
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k;
|
|
11470
11484
|
const message = createBaseWebhook();
|
|
11471
11485
|
message.id = (_a = object.id) != null ? _a : "";
|
|
11472
11486
|
message.webhook_name = (_b = object.webhook_name) != null ? _b : "";
|
|
@@ -11478,6 +11492,7 @@ var Webhook = {
|
|
|
11478
11492
|
message.update_time = (_h = object.update_time) != null ? _h : "";
|
|
11479
11493
|
message.avatar = (_i = object.avatar) != null ? _i : "";
|
|
11480
11494
|
message.status = (_j = object.status) != null ? _j : 0;
|
|
11495
|
+
message.clan_id = (_k = object.clan_id) != null ? _k : "";
|
|
11481
11496
|
return message;
|
|
11482
11497
|
}
|
|
11483
11498
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mezon-js-protobuf",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.28",
|
|
4
4
|
"description": "Websocket adapter adding protocol buffer support to the Mezon Javascript client.",
|
|
5
5
|
"main": "dist/mezon-js-protobuf.cjs.js",
|
|
6
6
|
"module": "dist/mezon-js-protobuf.esm.mjs",
|