mezon-js-protobuf 1.5.24 → 1.5.26
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
|
@@ -2494,6 +2494,13 @@ export interface WebhookGenerateResponse {
|
|
|
2494
2494
|
avatar: string;
|
|
2495
2495
|
}
|
|
2496
2496
|
|
|
2497
|
+
export interface WebhookHandlerRequest {
|
|
2498
|
+
clan_id: string;
|
|
2499
|
+
channel_id: string;
|
|
2500
|
+
token: string;
|
|
2501
|
+
body: string;
|
|
2502
|
+
}
|
|
2503
|
+
|
|
2497
2504
|
export interface CheckDuplicateClanNameRequest {
|
|
2498
2505
|
clan_name: string;
|
|
2499
2506
|
}
|
|
@@ -2611,7 +2618,11 @@ export interface UpdateAppRequest {
|
|
|
2611
2618
|
| string
|
|
2612
2619
|
| undefined;
|
|
2613
2620
|
/** Token. */
|
|
2614
|
-
token:
|
|
2621
|
+
token:
|
|
2622
|
+
| string
|
|
2623
|
+
| undefined;
|
|
2624
|
+
/** about the app. */
|
|
2625
|
+
about: string;
|
|
2615
2626
|
}
|
|
2616
2627
|
|
|
2617
2628
|
/** The identifier for an app. */
|
|
@@ -22399,6 +22410,110 @@ export const WebhookGenerateResponse = {
|
|
|
22399
22410
|
},
|
|
22400
22411
|
};
|
|
22401
22412
|
|
|
22413
|
+
function createBaseWebhookHandlerRequest(): WebhookHandlerRequest {
|
|
22414
|
+
return { clan_id: "", channel_id: "", token: "", body: "" };
|
|
22415
|
+
}
|
|
22416
|
+
|
|
22417
|
+
export const WebhookHandlerRequest = {
|
|
22418
|
+
encode(message: WebhookHandlerRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
22419
|
+
if (message.clan_id !== "") {
|
|
22420
|
+
writer.uint32(10).string(message.clan_id);
|
|
22421
|
+
}
|
|
22422
|
+
if (message.channel_id !== "") {
|
|
22423
|
+
writer.uint32(18).string(message.channel_id);
|
|
22424
|
+
}
|
|
22425
|
+
if (message.token !== "") {
|
|
22426
|
+
writer.uint32(26).string(message.token);
|
|
22427
|
+
}
|
|
22428
|
+
if (message.body !== "") {
|
|
22429
|
+
writer.uint32(34).string(message.body);
|
|
22430
|
+
}
|
|
22431
|
+
return writer;
|
|
22432
|
+
},
|
|
22433
|
+
|
|
22434
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): WebhookHandlerRequest {
|
|
22435
|
+
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
22436
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
22437
|
+
const message = createBaseWebhookHandlerRequest();
|
|
22438
|
+
while (reader.pos < end) {
|
|
22439
|
+
const tag = reader.uint32();
|
|
22440
|
+
switch (tag >>> 3) {
|
|
22441
|
+
case 1:
|
|
22442
|
+
if (tag !== 10) {
|
|
22443
|
+
break;
|
|
22444
|
+
}
|
|
22445
|
+
|
|
22446
|
+
message.clan_id = reader.string();
|
|
22447
|
+
continue;
|
|
22448
|
+
case 2:
|
|
22449
|
+
if (tag !== 18) {
|
|
22450
|
+
break;
|
|
22451
|
+
}
|
|
22452
|
+
|
|
22453
|
+
message.channel_id = reader.string();
|
|
22454
|
+
continue;
|
|
22455
|
+
case 3:
|
|
22456
|
+
if (tag !== 26) {
|
|
22457
|
+
break;
|
|
22458
|
+
}
|
|
22459
|
+
|
|
22460
|
+
message.token = reader.string();
|
|
22461
|
+
continue;
|
|
22462
|
+
case 4:
|
|
22463
|
+
if (tag !== 34) {
|
|
22464
|
+
break;
|
|
22465
|
+
}
|
|
22466
|
+
|
|
22467
|
+
message.body = reader.string();
|
|
22468
|
+
continue;
|
|
22469
|
+
}
|
|
22470
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
22471
|
+
break;
|
|
22472
|
+
}
|
|
22473
|
+
reader.skipType(tag & 7);
|
|
22474
|
+
}
|
|
22475
|
+
return message;
|
|
22476
|
+
},
|
|
22477
|
+
|
|
22478
|
+
fromJSON(object: any): WebhookHandlerRequest {
|
|
22479
|
+
return {
|
|
22480
|
+
clan_id: isSet(object.clan_id) ? globalThis.String(object.clan_id) : "",
|
|
22481
|
+
channel_id: isSet(object.channel_id) ? globalThis.String(object.channel_id) : "",
|
|
22482
|
+
token: isSet(object.token) ? globalThis.String(object.token) : "",
|
|
22483
|
+
body: isSet(object.body) ? globalThis.String(object.body) : "",
|
|
22484
|
+
};
|
|
22485
|
+
},
|
|
22486
|
+
|
|
22487
|
+
toJSON(message: WebhookHandlerRequest): unknown {
|
|
22488
|
+
const obj: any = {};
|
|
22489
|
+
if (message.clan_id !== "") {
|
|
22490
|
+
obj.clan_id = message.clan_id;
|
|
22491
|
+
}
|
|
22492
|
+
if (message.channel_id !== "") {
|
|
22493
|
+
obj.channel_id = message.channel_id;
|
|
22494
|
+
}
|
|
22495
|
+
if (message.token !== "") {
|
|
22496
|
+
obj.token = message.token;
|
|
22497
|
+
}
|
|
22498
|
+
if (message.body !== "") {
|
|
22499
|
+
obj.body = message.body;
|
|
22500
|
+
}
|
|
22501
|
+
return obj;
|
|
22502
|
+
},
|
|
22503
|
+
|
|
22504
|
+
create<I extends Exact<DeepPartial<WebhookHandlerRequest>, I>>(base?: I): WebhookHandlerRequest {
|
|
22505
|
+
return WebhookHandlerRequest.fromPartial(base ?? ({} as any));
|
|
22506
|
+
},
|
|
22507
|
+
fromPartial<I extends Exact<DeepPartial<WebhookHandlerRequest>, I>>(object: I): WebhookHandlerRequest {
|
|
22508
|
+
const message = createBaseWebhookHandlerRequest();
|
|
22509
|
+
message.clan_id = object.clan_id ?? "";
|
|
22510
|
+
message.channel_id = object.channel_id ?? "";
|
|
22511
|
+
message.token = object.token ?? "";
|
|
22512
|
+
message.body = object.body ?? "";
|
|
22513
|
+
return message;
|
|
22514
|
+
},
|
|
22515
|
+
};
|
|
22516
|
+
|
|
22402
22517
|
function createBaseCheckDuplicateClanNameRequest(): CheckDuplicateClanNameRequest {
|
|
22403
22518
|
return { clan_name: "" };
|
|
22404
22519
|
}
|
|
@@ -23477,7 +23592,7 @@ export const ListAppsRequest = {
|
|
|
23477
23592
|
};
|
|
23478
23593
|
|
|
23479
23594
|
function createBaseUpdateAppRequest(): UpdateAppRequest {
|
|
23480
|
-
return { id: "", appname: undefined, metadata: undefined, applogo: undefined, token: undefined };
|
|
23595
|
+
return { id: "", appname: undefined, metadata: undefined, applogo: undefined, token: undefined, about: "" };
|
|
23481
23596
|
}
|
|
23482
23597
|
|
|
23483
23598
|
export const UpdateAppRequest = {
|
|
@@ -23497,6 +23612,9 @@ export const UpdateAppRequest = {
|
|
|
23497
23612
|
if (message.token !== undefined) {
|
|
23498
23613
|
StringValue.encode({ value: message.token! }, writer.uint32(42).fork()).ldelim();
|
|
23499
23614
|
}
|
|
23615
|
+
if (message.about !== "") {
|
|
23616
|
+
writer.uint32(50).string(message.about);
|
|
23617
|
+
}
|
|
23500
23618
|
return writer;
|
|
23501
23619
|
},
|
|
23502
23620
|
|
|
@@ -23542,6 +23660,13 @@ export const UpdateAppRequest = {
|
|
|
23542
23660
|
|
|
23543
23661
|
message.token = StringValue.decode(reader, reader.uint32()).value;
|
|
23544
23662
|
continue;
|
|
23663
|
+
case 6:
|
|
23664
|
+
if (tag !== 50) {
|
|
23665
|
+
break;
|
|
23666
|
+
}
|
|
23667
|
+
|
|
23668
|
+
message.about = reader.string();
|
|
23669
|
+
continue;
|
|
23545
23670
|
}
|
|
23546
23671
|
if ((tag & 7) === 4 || tag === 0) {
|
|
23547
23672
|
break;
|
|
@@ -23558,6 +23683,7 @@ export const UpdateAppRequest = {
|
|
|
23558
23683
|
metadata: isSet(object.metadata) ? String(object.metadata) : undefined,
|
|
23559
23684
|
applogo: isSet(object.applogo) ? String(object.applogo) : undefined,
|
|
23560
23685
|
token: isSet(object.token) ? String(object.token) : undefined,
|
|
23686
|
+
about: isSet(object.about) ? globalThis.String(object.about) : "",
|
|
23561
23687
|
};
|
|
23562
23688
|
},
|
|
23563
23689
|
|
|
@@ -23578,6 +23704,9 @@ export const UpdateAppRequest = {
|
|
|
23578
23704
|
if (message.token !== undefined) {
|
|
23579
23705
|
obj.token = message.token;
|
|
23580
23706
|
}
|
|
23707
|
+
if (message.about !== "") {
|
|
23708
|
+
obj.about = message.about;
|
|
23709
|
+
}
|
|
23581
23710
|
return obj;
|
|
23582
23711
|
},
|
|
23583
23712
|
|
|
@@ -23591,6 +23720,7 @@ export const UpdateAppRequest = {
|
|
|
23591
23720
|
message.metadata = object.metadata ?? undefined;
|
|
23592
23721
|
message.applogo = object.applogo ?? undefined;
|
|
23593
23722
|
message.token = object.token ?? undefined;
|
|
23723
|
+
message.about = object.about ?? "";
|
|
23594
23724
|
return message;
|
|
23595
23725
|
},
|
|
23596
23726
|
};
|
|
@@ -1929,6 +1929,12 @@ export interface WebhookGenerateResponse {
|
|
|
1929
1929
|
channel_id: string;
|
|
1930
1930
|
avatar: string;
|
|
1931
1931
|
}
|
|
1932
|
+
export interface WebhookHandlerRequest {
|
|
1933
|
+
clan_id: string;
|
|
1934
|
+
channel_id: string;
|
|
1935
|
+
token: string;
|
|
1936
|
+
body: string;
|
|
1937
|
+
}
|
|
1932
1938
|
export interface CheckDuplicateClanNameRequest {
|
|
1933
1939
|
clan_name: string;
|
|
1934
1940
|
}
|
|
@@ -2027,6 +2033,8 @@ export interface UpdateAppRequest {
|
|
|
2027
2033
|
applogo: string | undefined;
|
|
2028
2034
|
/** Token. */
|
|
2029
2035
|
token: string | undefined;
|
|
2036
|
+
/** about the app. */
|
|
2037
|
+
about: string;
|
|
2030
2038
|
}
|
|
2031
2039
|
/** The identifier for an app. */
|
|
2032
2040
|
export interface AppId {
|
|
@@ -13094,6 +13102,34 @@ export declare const WebhookGenerateResponse: {
|
|
|
13094
13102
|
avatar?: string | undefined;
|
|
13095
13103
|
} & { [K_1 in Exclude<keyof I_1, keyof WebhookGenerateResponse>]: never; }>(object: I_1): WebhookGenerateResponse;
|
|
13096
13104
|
};
|
|
13105
|
+
export declare const WebhookHandlerRequest: {
|
|
13106
|
+
encode(message: WebhookHandlerRequest, writer?: _m0.Writer): _m0.Writer;
|
|
13107
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): WebhookHandlerRequest;
|
|
13108
|
+
fromJSON(object: any): WebhookHandlerRequest;
|
|
13109
|
+
toJSON(message: WebhookHandlerRequest): unknown;
|
|
13110
|
+
create<I extends {
|
|
13111
|
+
clan_id?: string | undefined;
|
|
13112
|
+
channel_id?: string | undefined;
|
|
13113
|
+
token?: string | undefined;
|
|
13114
|
+
body?: string | undefined;
|
|
13115
|
+
} & {
|
|
13116
|
+
clan_id?: string | undefined;
|
|
13117
|
+
channel_id?: string | undefined;
|
|
13118
|
+
token?: string | undefined;
|
|
13119
|
+
body?: string | undefined;
|
|
13120
|
+
} & { [K in Exclude<keyof I, keyof WebhookHandlerRequest>]: never; }>(base?: I | undefined): WebhookHandlerRequest;
|
|
13121
|
+
fromPartial<I_1 extends {
|
|
13122
|
+
clan_id?: string | undefined;
|
|
13123
|
+
channel_id?: string | undefined;
|
|
13124
|
+
token?: string | undefined;
|
|
13125
|
+
body?: string | undefined;
|
|
13126
|
+
} & {
|
|
13127
|
+
clan_id?: string | undefined;
|
|
13128
|
+
channel_id?: string | undefined;
|
|
13129
|
+
token?: string | undefined;
|
|
13130
|
+
body?: string | undefined;
|
|
13131
|
+
} & { [K_1 in Exclude<keyof I_1, keyof WebhookHandlerRequest>]: never; }>(object: I_1): WebhookHandlerRequest;
|
|
13132
|
+
};
|
|
13097
13133
|
export declare const CheckDuplicateClanNameRequest: {
|
|
13098
13134
|
encode(message: CheckDuplicateClanNameRequest, writer?: _m0.Writer): _m0.Writer;
|
|
13099
13135
|
decode(input: _m0.Reader | Uint8Array, length?: number): CheckDuplicateClanNameRequest;
|
|
@@ -13483,12 +13519,14 @@ export declare const UpdateAppRequest: {
|
|
|
13483
13519
|
metadata?: string | undefined;
|
|
13484
13520
|
applogo?: string | undefined;
|
|
13485
13521
|
token?: string | undefined;
|
|
13522
|
+
about?: string | undefined;
|
|
13486
13523
|
} & {
|
|
13487
13524
|
id?: string | undefined;
|
|
13488
13525
|
appname?: string | undefined;
|
|
13489
13526
|
metadata?: string | undefined;
|
|
13490
13527
|
applogo?: string | undefined;
|
|
13491
13528
|
token?: string | undefined;
|
|
13529
|
+
about?: string | undefined;
|
|
13492
13530
|
} & { [K in Exclude<keyof I, keyof UpdateAppRequest>]: never; }>(base?: I | undefined): UpdateAppRequest;
|
|
13493
13531
|
fromPartial<I_1 extends {
|
|
13494
13532
|
id?: string | undefined;
|
|
@@ -13496,12 +13534,14 @@ export declare const UpdateAppRequest: {
|
|
|
13496
13534
|
metadata?: string | undefined;
|
|
13497
13535
|
applogo?: string | undefined;
|
|
13498
13536
|
token?: string | undefined;
|
|
13537
|
+
about?: string | undefined;
|
|
13499
13538
|
} & {
|
|
13500
13539
|
id?: string | undefined;
|
|
13501
13540
|
appname?: string | undefined;
|
|
13502
13541
|
metadata?: string | undefined;
|
|
13503
13542
|
applogo?: string | undefined;
|
|
13504
13543
|
token?: string | undefined;
|
|
13544
|
+
about?: string | undefined;
|
|
13505
13545
|
} & { [K_1 in Exclude<keyof I_1, keyof UpdateAppRequest>]: never; }>(object: I_1): UpdateAppRequest;
|
|
13506
13546
|
};
|
|
13507
13547
|
export declare const AppId: {
|
|
@@ -113,8 +113,8 @@ export interface Envelope {
|
|
|
113
113
|
export interface AddClanUserEvent {
|
|
114
114
|
/** the clan id */
|
|
115
115
|
clan_id: string;
|
|
116
|
-
/** the user
|
|
117
|
-
|
|
116
|
+
/** the user */
|
|
117
|
+
user: AddUsers | undefined;
|
|
118
118
|
}
|
|
119
119
|
/** A list of permission role channel. */
|
|
120
120
|
export interface PermissionRoleChannelListEvent {
|
|
@@ -1278,7 +1278,11 @@ export declare const Envelope: {
|
|
|
1278
1278
|
} | undefined;
|
|
1279
1279
|
add_clan_user_event?: {
|
|
1280
1280
|
clan_id?: string | undefined;
|
|
1281
|
-
|
|
1281
|
+
user?: {
|
|
1282
|
+
user_id?: string | undefined;
|
|
1283
|
+
avatar?: string | undefined;
|
|
1284
|
+
username?: string | undefined;
|
|
1285
|
+
} | undefined;
|
|
1282
1286
|
} | undefined;
|
|
1283
1287
|
} & {
|
|
1284
1288
|
cid?: string | undefined;
|
|
@@ -2719,12 +2723,24 @@ export declare const Envelope: {
|
|
|
2719
2723
|
} & { [K_107 in Exclude<keyof I["notification_channel_category_setting_event"], keyof NotificationChannelCategorySettingEvent>]: never; }) | undefined;
|
|
2720
2724
|
add_clan_user_event?: ({
|
|
2721
2725
|
clan_id?: string | undefined;
|
|
2722
|
-
|
|
2726
|
+
user?: {
|
|
2727
|
+
user_id?: string | undefined;
|
|
2728
|
+
avatar?: string | undefined;
|
|
2729
|
+
username?: string | undefined;
|
|
2730
|
+
} | undefined;
|
|
2723
2731
|
} & {
|
|
2724
2732
|
clan_id?: string | undefined;
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2733
|
+
user?: ({
|
|
2734
|
+
user_id?: string | undefined;
|
|
2735
|
+
avatar?: string | undefined;
|
|
2736
|
+
username?: string | undefined;
|
|
2737
|
+
} & {
|
|
2738
|
+
user_id?: string | undefined;
|
|
2739
|
+
avatar?: string | undefined;
|
|
2740
|
+
username?: string | undefined;
|
|
2741
|
+
} & { [K_108 in Exclude<keyof I["add_clan_user_event"]["user"], keyof AddUsers>]: never; }) | undefined;
|
|
2742
|
+
} & { [K_109 in Exclude<keyof I["add_clan_user_event"], keyof AddClanUserEvent>]: never; }) | undefined;
|
|
2743
|
+
} & { [K_110 in Exclude<keyof I, keyof Envelope>]: never; }>(base?: I | undefined): Envelope;
|
|
2728
2744
|
fromPartial<I_1 extends {
|
|
2729
2745
|
cid?: string | undefined;
|
|
2730
2746
|
channel?: {
|
|
@@ -3231,7 +3247,11 @@ export declare const Envelope: {
|
|
|
3231
3247
|
} | undefined;
|
|
3232
3248
|
add_clan_user_event?: {
|
|
3233
3249
|
clan_id?: string | undefined;
|
|
3234
|
-
|
|
3250
|
+
user?: {
|
|
3251
|
+
user_id?: string | undefined;
|
|
3252
|
+
avatar?: string | undefined;
|
|
3253
|
+
username?: string | undefined;
|
|
3254
|
+
} | undefined;
|
|
3235
3255
|
} | undefined;
|
|
3236
3256
|
} & {
|
|
3237
3257
|
cid?: string | undefined;
|
|
@@ -3274,7 +3294,7 @@ export declare const Envelope: {
|
|
|
3274
3294
|
username?: string | undefined;
|
|
3275
3295
|
persistence?: boolean | undefined;
|
|
3276
3296
|
status?: string | undefined;
|
|
3277
|
-
} & { [
|
|
3297
|
+
} & { [K_111 in Exclude<keyof I_1["channel"]["presences"][number], keyof UserPresence>]: never; })[] & { [K_112 in Exclude<keyof I_1["channel"]["presences"], keyof {
|
|
3278
3298
|
user_id?: string | undefined;
|
|
3279
3299
|
session_id?: string | undefined;
|
|
3280
3300
|
username?: string | undefined;
|
|
@@ -3293,16 +3313,16 @@ export declare const Envelope: {
|
|
|
3293
3313
|
username?: string | undefined;
|
|
3294
3314
|
persistence?: boolean | undefined;
|
|
3295
3315
|
status?: string | undefined;
|
|
3296
|
-
} & { [
|
|
3316
|
+
} & { [K_113 in Exclude<keyof I_1["channel"]["self"], keyof UserPresence>]: never; }) | undefined;
|
|
3297
3317
|
chanel_label?: string | undefined;
|
|
3298
3318
|
clan_logo?: string | undefined;
|
|
3299
3319
|
category_name?: string | undefined;
|
|
3300
|
-
} & { [
|
|
3320
|
+
} & { [K_114 in Exclude<keyof I_1["channel"], keyof Channel>]: never; }) | undefined;
|
|
3301
3321
|
clan_join?: ({
|
|
3302
3322
|
clan_id?: string | undefined;
|
|
3303
3323
|
} & {
|
|
3304
3324
|
clan_id?: string | undefined;
|
|
3305
|
-
} & { [
|
|
3325
|
+
} & { [K_115 in Exclude<keyof I_1["clan_join"], "clan_id">]: never; }) | undefined;
|
|
3306
3326
|
channel_join?: ({
|
|
3307
3327
|
clan_id?: string | undefined;
|
|
3308
3328
|
channel_id?: string | undefined;
|
|
@@ -3311,7 +3331,7 @@ export declare const Envelope: {
|
|
|
3311
3331
|
clan_id?: string | undefined;
|
|
3312
3332
|
channel_id?: string | undefined;
|
|
3313
3333
|
channel_type?: number | undefined;
|
|
3314
|
-
} & { [
|
|
3334
|
+
} & { [K_116 in Exclude<keyof I_1["channel_join"], keyof ChannelJoin>]: never; }) | undefined;
|
|
3315
3335
|
channel_leave?: ({
|
|
3316
3336
|
clan_id?: string | undefined;
|
|
3317
3337
|
channel_id?: string | undefined;
|
|
@@ -3320,7 +3340,7 @@ export declare const Envelope: {
|
|
|
3320
3340
|
clan_id?: string | undefined;
|
|
3321
3341
|
channel_id?: string | undefined;
|
|
3322
3342
|
channel_type?: number | undefined;
|
|
3323
|
-
} & { [
|
|
3343
|
+
} & { [K_117 in Exclude<keyof I_1["channel_leave"], keyof ChannelLeave>]: never; }) | undefined;
|
|
3324
3344
|
channel_message?: ({
|
|
3325
3345
|
clan_id?: string | undefined;
|
|
3326
3346
|
channel_id?: string | undefined;
|
|
@@ -3373,7 +3393,7 @@ export declare const Envelope: {
|
|
|
3373
3393
|
update_time_ms?: number | undefined;
|
|
3374
3394
|
mode?: number | undefined;
|
|
3375
3395
|
hide_editted?: boolean | undefined;
|
|
3376
|
-
} & { [
|
|
3396
|
+
} & { [K_118 in Exclude<keyof I_1["channel_message"], keyof ChannelMessage>]: never; }) | undefined;
|
|
3377
3397
|
channel_message_ack?: ({
|
|
3378
3398
|
channel_id?: string | undefined;
|
|
3379
3399
|
message_id?: string | undefined;
|
|
@@ -3394,7 +3414,7 @@ export declare const Envelope: {
|
|
|
3394
3414
|
persistent?: boolean | undefined;
|
|
3395
3415
|
clan_logo?: string | undefined;
|
|
3396
3416
|
category_name?: string | undefined;
|
|
3397
|
-
} & { [
|
|
3417
|
+
} & { [K_119 in Exclude<keyof I_1["channel_message_ack"], keyof ChannelMessageAck>]: never; }) | undefined;
|
|
3398
3418
|
channel_message_send?: ({
|
|
3399
3419
|
clan_id?: string | undefined;
|
|
3400
3420
|
channel_id?: string | undefined;
|
|
@@ -3464,7 +3484,7 @@ export declare const Envelope: {
|
|
|
3464
3484
|
create_time?: Date | undefined;
|
|
3465
3485
|
s?: number | undefined;
|
|
3466
3486
|
e?: number | undefined;
|
|
3467
|
-
} & { [
|
|
3487
|
+
} & { [K_120 in Exclude<keyof I_1["channel_message_send"]["mentions"][number], keyof MessageMention>]: never; })[] & { [K_121 in Exclude<keyof I_1["channel_message_send"]["mentions"], keyof {
|
|
3468
3488
|
id?: string | undefined;
|
|
3469
3489
|
user_id?: string | undefined;
|
|
3470
3490
|
username?: string | undefined;
|
|
@@ -3495,7 +3515,7 @@ export declare const Envelope: {
|
|
|
3495
3515
|
filetype?: string | undefined;
|
|
3496
3516
|
width?: number | undefined;
|
|
3497
3517
|
height?: number | undefined;
|
|
3498
|
-
} & { [
|
|
3518
|
+
} & { [K_122 in Exclude<keyof I_1["channel_message_send"]["attachments"][number], keyof MessageAttachment>]: never; })[] & { [K_123 in Exclude<keyof I_1["channel_message_send"]["attachments"], keyof {
|
|
3499
3519
|
filename?: string | undefined;
|
|
3500
3520
|
size?: number | undefined;
|
|
3501
3521
|
url?: string | undefined;
|
|
@@ -3536,7 +3556,7 @@ export declare const Envelope: {
|
|
|
3536
3556
|
mesages_sender_avatar?: string | undefined;
|
|
3537
3557
|
message_sender_clan_nick?: string | undefined;
|
|
3538
3558
|
message_sender_display_name?: string | undefined;
|
|
3539
|
-
} & { [
|
|
3559
|
+
} & { [K_124 in Exclude<keyof I_1["channel_message_send"]["references"][number], keyof MessageRef>]: never; })[] & { [K_125 in Exclude<keyof I_1["channel_message_send"]["references"], keyof {
|
|
3540
3560
|
message_id?: string | undefined;
|
|
3541
3561
|
message_ref_id?: string | undefined;
|
|
3542
3562
|
content?: string | undefined;
|
|
@@ -3552,7 +3572,7 @@ export declare const Envelope: {
|
|
|
3552
3572
|
anonymous_message?: boolean | undefined;
|
|
3553
3573
|
mention_everyone?: boolean | undefined;
|
|
3554
3574
|
avatar?: string | undefined;
|
|
3555
|
-
} & { [
|
|
3575
|
+
} & { [K_126 in Exclude<keyof I_1["channel_message_send"], keyof ChannelMessageSend>]: never; }) | undefined;
|
|
3556
3576
|
channel_message_update?: ({
|
|
3557
3577
|
clan_id?: string | undefined;
|
|
3558
3578
|
channel_id?: string | undefined;
|
|
@@ -3610,7 +3630,7 @@ export declare const Envelope: {
|
|
|
3610
3630
|
create_time?: Date | undefined;
|
|
3611
3631
|
s?: number | undefined;
|
|
3612
3632
|
e?: number | undefined;
|
|
3613
|
-
} & { [
|
|
3633
|
+
} & { [K_127 in Exclude<keyof I_1["channel_message_update"]["mentions"][number], keyof MessageMention>]: never; })[] & { [K_128 in Exclude<keyof I_1["channel_message_update"]["mentions"], keyof {
|
|
3614
3634
|
id?: string | undefined;
|
|
3615
3635
|
user_id?: string | undefined;
|
|
3616
3636
|
username?: string | undefined;
|
|
@@ -3641,7 +3661,7 @@ export declare const Envelope: {
|
|
|
3641
3661
|
filetype?: string | undefined;
|
|
3642
3662
|
width?: number | undefined;
|
|
3643
3663
|
height?: number | undefined;
|
|
3644
|
-
} & { [
|
|
3664
|
+
} & { [K_129 in Exclude<keyof I_1["channel_message_update"]["attachments"][number], keyof MessageAttachment>]: never; })[] & { [K_130 in Exclude<keyof I_1["channel_message_update"]["attachments"], keyof {
|
|
3645
3665
|
filename?: string | undefined;
|
|
3646
3666
|
size?: number | undefined;
|
|
3647
3667
|
url?: string | undefined;
|
|
@@ -3651,7 +3671,7 @@ export declare const Envelope: {
|
|
|
3651
3671
|
}[]>]: never; }) | undefined;
|
|
3652
3672
|
mode?: number | undefined;
|
|
3653
3673
|
hide_editted?: boolean | undefined;
|
|
3654
|
-
} & { [
|
|
3674
|
+
} & { [K_131 in Exclude<keyof I_1["channel_message_update"], keyof ChannelMessageUpdate>]: never; }) | undefined;
|
|
3655
3675
|
channel_message_remove?: ({
|
|
3656
3676
|
clan_id?: string | undefined;
|
|
3657
3677
|
channel_id?: string | undefined;
|
|
@@ -3662,7 +3682,7 @@ export declare const Envelope: {
|
|
|
3662
3682
|
channel_id?: string | undefined;
|
|
3663
3683
|
message_id?: string | undefined;
|
|
3664
3684
|
mode?: number | undefined;
|
|
3665
|
-
} & { [
|
|
3685
|
+
} & { [K_132 in Exclude<keyof I_1["channel_message_remove"], keyof ChannelMessageRemove>]: never; }) | undefined;
|
|
3666
3686
|
channel_presence_event?: ({
|
|
3667
3687
|
channel_id?: string | undefined;
|
|
3668
3688
|
joins?: {
|
|
@@ -3702,7 +3722,7 @@ export declare const Envelope: {
|
|
|
3702
3722
|
username?: string | undefined;
|
|
3703
3723
|
persistence?: boolean | undefined;
|
|
3704
3724
|
status?: string | undefined;
|
|
3705
|
-
} & { [
|
|
3725
|
+
} & { [K_133 in Exclude<keyof I_1["channel_presence_event"]["joins"][number], keyof UserPresence>]: never; })[] & { [K_134 in Exclude<keyof I_1["channel_presence_event"]["joins"], keyof {
|
|
3706
3726
|
user_id?: string | undefined;
|
|
3707
3727
|
session_id?: string | undefined;
|
|
3708
3728
|
username?: string | undefined;
|
|
@@ -3727,7 +3747,7 @@ export declare const Envelope: {
|
|
|
3727
3747
|
username?: string | undefined;
|
|
3728
3748
|
persistence?: boolean | undefined;
|
|
3729
3749
|
status?: string | undefined;
|
|
3730
|
-
} & { [
|
|
3750
|
+
} & { [K_135 in Exclude<keyof I_1["channel_presence_event"]["leaves"][number], keyof UserPresence>]: never; })[] & { [K_136 in Exclude<keyof I_1["channel_presence_event"]["leaves"], keyof {
|
|
3731
3751
|
user_id?: string | undefined;
|
|
3732
3752
|
session_id?: string | undefined;
|
|
3733
3753
|
username?: string | undefined;
|
|
@@ -3737,7 +3757,7 @@ export declare const Envelope: {
|
|
|
3737
3757
|
clan_logo?: string | undefined;
|
|
3738
3758
|
category_name?: string | undefined;
|
|
3739
3759
|
mode?: number | undefined;
|
|
3740
|
-
} & { [
|
|
3760
|
+
} & { [K_137 in Exclude<keyof I_1["channel_presence_event"], keyof ChannelPresenceEvent>]: never; }) | undefined;
|
|
3741
3761
|
error?: ({
|
|
3742
3762
|
code?: number | undefined;
|
|
3743
3763
|
message?: string | undefined;
|
|
@@ -3751,8 +3771,8 @@ export declare const Envelope: {
|
|
|
3751
3771
|
[x: string]: string | undefined;
|
|
3752
3772
|
} & {
|
|
3753
3773
|
[x: string]: string | undefined;
|
|
3754
|
-
} & { [
|
|
3755
|
-
} & { [
|
|
3774
|
+
} & { [K_138 in Exclude<keyof I_1["error"]["context"], string | number>]: never; }) | undefined;
|
|
3775
|
+
} & { [K_139 in Exclude<keyof I_1["error"], keyof Error>]: never; }) | undefined;
|
|
3756
3776
|
notifications?: ({
|
|
3757
3777
|
notifications?: {
|
|
3758
3778
|
id?: string | undefined;
|
|
@@ -3804,7 +3824,7 @@ export declare const Envelope: {
|
|
|
3804
3824
|
channel_id?: string | undefined;
|
|
3805
3825
|
channel_type?: number | undefined;
|
|
3806
3826
|
avatar_url?: string | undefined;
|
|
3807
|
-
} & { [
|
|
3827
|
+
} & { [K_140 in Exclude<keyof I_1["notifications"]["notifications"][number], keyof Notification>]: never; })[] & { [K_141 in Exclude<keyof I_1["notifications"]["notifications"], keyof {
|
|
3808
3828
|
id?: string | undefined;
|
|
3809
3829
|
subject?: string | undefined;
|
|
3810
3830
|
content?: string | undefined;
|
|
@@ -3817,7 +3837,7 @@ export declare const Envelope: {
|
|
|
3817
3837
|
channel_type?: number | undefined;
|
|
3818
3838
|
avatar_url?: string | undefined;
|
|
3819
3839
|
}[]>]: never; }) | undefined;
|
|
3820
|
-
} & { [
|
|
3840
|
+
} & { [K_142 in Exclude<keyof I_1["notifications"], "notifications">]: never; }) | undefined;
|
|
3821
3841
|
rpc?: ({
|
|
3822
3842
|
id?: string | undefined;
|
|
3823
3843
|
payload?: string | undefined;
|
|
@@ -3826,7 +3846,7 @@ export declare const Envelope: {
|
|
|
3826
3846
|
id?: string | undefined;
|
|
3827
3847
|
payload?: string | undefined;
|
|
3828
3848
|
http_key?: string | undefined;
|
|
3829
|
-
} & { [
|
|
3849
|
+
} & { [K_143 in Exclude<keyof I_1["rpc"], keyof Rpc>]: never; }) | undefined;
|
|
3830
3850
|
status?: ({
|
|
3831
3851
|
presences?: {
|
|
3832
3852
|
user_id?: string | undefined;
|
|
@@ -3854,21 +3874,21 @@ export declare const Envelope: {
|
|
|
3854
3874
|
username?: string | undefined;
|
|
3855
3875
|
persistence?: boolean | undefined;
|
|
3856
3876
|
status?: string | undefined;
|
|
3857
|
-
} & { [
|
|
3877
|
+
} & { [K_144 in Exclude<keyof I_1["status"]["presences"][number], keyof UserPresence>]: never; })[] & { [K_145 in Exclude<keyof I_1["status"]["presences"], keyof {
|
|
3858
3878
|
user_id?: string | undefined;
|
|
3859
3879
|
session_id?: string | undefined;
|
|
3860
3880
|
username?: string | undefined;
|
|
3861
3881
|
persistence?: boolean | undefined;
|
|
3862
3882
|
status?: string | undefined;
|
|
3863
3883
|
}[]>]: never; }) | undefined;
|
|
3864
|
-
} & { [
|
|
3884
|
+
} & { [K_146 in Exclude<keyof I_1["status"], "presences">]: never; }) | undefined;
|
|
3865
3885
|
status_follow?: ({
|
|
3866
3886
|
user_ids?: string[] | undefined;
|
|
3867
3887
|
usernames?: string[] | undefined;
|
|
3868
3888
|
} & {
|
|
3869
|
-
user_ids?: (string[] & string[] & { [
|
|
3870
|
-
usernames?: (string[] & string[] & { [
|
|
3871
|
-
} & { [
|
|
3889
|
+
user_ids?: (string[] & string[] & { [K_147 in Exclude<keyof I_1["status_follow"]["user_ids"], keyof string[]>]: never; }) | undefined;
|
|
3890
|
+
usernames?: (string[] & string[] & { [K_148 in Exclude<keyof I_1["status_follow"]["usernames"], keyof string[]>]: never; }) | undefined;
|
|
3891
|
+
} & { [K_149 in Exclude<keyof I_1["status_follow"], keyof StatusFollow>]: never; }) | undefined;
|
|
3872
3892
|
status_presence_event?: ({
|
|
3873
3893
|
joins?: {
|
|
3874
3894
|
user_id?: string | undefined;
|
|
@@ -3903,7 +3923,7 @@ export declare const Envelope: {
|
|
|
3903
3923
|
username?: string | undefined;
|
|
3904
3924
|
persistence?: boolean | undefined;
|
|
3905
3925
|
status?: string | undefined;
|
|
3906
|
-
} & { [
|
|
3926
|
+
} & { [K_150 in Exclude<keyof I_1["status_presence_event"]["joins"][number], keyof UserPresence>]: never; })[] & { [K_151 in Exclude<keyof I_1["status_presence_event"]["joins"], keyof {
|
|
3907
3927
|
user_id?: string | undefined;
|
|
3908
3928
|
session_id?: string | undefined;
|
|
3909
3929
|
username?: string | undefined;
|
|
@@ -3928,24 +3948,24 @@ export declare const Envelope: {
|
|
|
3928
3948
|
username?: string | undefined;
|
|
3929
3949
|
persistence?: boolean | undefined;
|
|
3930
3950
|
status?: string | undefined;
|
|
3931
|
-
} & { [
|
|
3951
|
+
} & { [K_152 in Exclude<keyof I_1["status_presence_event"]["leaves"][number], keyof UserPresence>]: never; })[] & { [K_153 in Exclude<keyof I_1["status_presence_event"]["leaves"], keyof {
|
|
3932
3952
|
user_id?: string | undefined;
|
|
3933
3953
|
session_id?: string | undefined;
|
|
3934
3954
|
username?: string | undefined;
|
|
3935
3955
|
persistence?: boolean | undefined;
|
|
3936
3956
|
status?: string | undefined;
|
|
3937
3957
|
}[]>]: never; }) | undefined;
|
|
3938
|
-
} & { [
|
|
3958
|
+
} & { [K_154 in Exclude<keyof I_1["status_presence_event"], keyof StatusPresenceEvent>]: never; }) | undefined;
|
|
3939
3959
|
status_unfollow?: ({
|
|
3940
3960
|
user_ids?: string[] | undefined;
|
|
3941
3961
|
} & {
|
|
3942
|
-
user_ids?: (string[] & string[] & { [
|
|
3943
|
-
} & { [
|
|
3962
|
+
user_ids?: (string[] & string[] & { [K_155 in Exclude<keyof I_1["status_unfollow"]["user_ids"], keyof string[]>]: never; }) | undefined;
|
|
3963
|
+
} & { [K_156 in Exclude<keyof I_1["status_unfollow"], "user_ids">]: never; }) | undefined;
|
|
3944
3964
|
status_update?: ({
|
|
3945
3965
|
status?: string | undefined;
|
|
3946
3966
|
} & {
|
|
3947
3967
|
status?: string | undefined;
|
|
3948
|
-
} & { [
|
|
3968
|
+
} & { [K_157 in Exclude<keyof I_1["status_update"], "status">]: never; }) | undefined;
|
|
3949
3969
|
stream_data?: ({
|
|
3950
3970
|
stream?: {
|
|
3951
3971
|
mode?: number | undefined;
|
|
@@ -3973,7 +3993,7 @@ export declare const Envelope: {
|
|
|
3973
3993
|
channel_id?: string | undefined;
|
|
3974
3994
|
clan_id?: string | undefined;
|
|
3975
3995
|
label?: string | undefined;
|
|
3976
|
-
} & { [
|
|
3996
|
+
} & { [K_158 in Exclude<keyof I_1["stream_data"]["stream"], keyof Stream>]: never; }) | undefined;
|
|
3977
3997
|
sender?: ({
|
|
3978
3998
|
user_id?: string | undefined;
|
|
3979
3999
|
session_id?: string | undefined;
|
|
@@ -3986,10 +4006,10 @@ export declare const Envelope: {
|
|
|
3986
4006
|
username?: string | undefined;
|
|
3987
4007
|
persistence?: boolean | undefined;
|
|
3988
4008
|
status?: string | undefined;
|
|
3989
|
-
} & { [
|
|
4009
|
+
} & { [K_159 in Exclude<keyof I_1["stream_data"]["sender"], keyof UserPresence>]: never; }) | undefined;
|
|
3990
4010
|
data?: string | undefined;
|
|
3991
4011
|
reliable?: boolean | undefined;
|
|
3992
|
-
} & { [
|
|
4012
|
+
} & { [K_160 in Exclude<keyof I_1["stream_data"], keyof StreamData>]: never; }) | undefined;
|
|
3993
4013
|
stream_presence_event?: ({
|
|
3994
4014
|
stream?: {
|
|
3995
4015
|
mode?: number | undefined;
|
|
@@ -4022,7 +4042,7 @@ export declare const Envelope: {
|
|
|
4022
4042
|
channel_id?: string | undefined;
|
|
4023
4043
|
clan_id?: string | undefined;
|
|
4024
4044
|
label?: string | undefined;
|
|
4025
|
-
} & { [
|
|
4045
|
+
} & { [K_161 in Exclude<keyof I_1["stream_presence_event"]["stream"], keyof Stream>]: never; }) | undefined;
|
|
4026
4046
|
joins?: ({
|
|
4027
4047
|
user_id?: string | undefined;
|
|
4028
4048
|
session_id?: string | undefined;
|
|
@@ -4041,7 +4061,7 @@ export declare const Envelope: {
|
|
|
4041
4061
|
username?: string | undefined;
|
|
4042
4062
|
persistence?: boolean | undefined;
|
|
4043
4063
|
status?: string | undefined;
|
|
4044
|
-
} & { [
|
|
4064
|
+
} & { [K_162 in Exclude<keyof I_1["stream_presence_event"]["joins"][number], keyof UserPresence>]: never; })[] & { [K_163 in Exclude<keyof I_1["stream_presence_event"]["joins"], keyof {
|
|
4045
4065
|
user_id?: string | undefined;
|
|
4046
4066
|
session_id?: string | undefined;
|
|
4047
4067
|
username?: string | undefined;
|
|
@@ -4066,16 +4086,16 @@ export declare const Envelope: {
|
|
|
4066
4086
|
username?: string | undefined;
|
|
4067
4087
|
persistence?: boolean | undefined;
|
|
4068
4088
|
status?: string | undefined;
|
|
4069
|
-
} & { [
|
|
4089
|
+
} & { [K_164 in Exclude<keyof I_1["stream_presence_event"]["leaves"][number], keyof UserPresence>]: never; })[] & { [K_165 in Exclude<keyof I_1["stream_presence_event"]["leaves"], keyof {
|
|
4070
4090
|
user_id?: string | undefined;
|
|
4071
4091
|
session_id?: string | undefined;
|
|
4072
4092
|
username?: string | undefined;
|
|
4073
4093
|
persistence?: boolean | undefined;
|
|
4074
4094
|
status?: string | undefined;
|
|
4075
4095
|
}[]>]: never; }) | undefined;
|
|
4076
|
-
} & { [
|
|
4077
|
-
ping?: ({} & {} & { [
|
|
4078
|
-
pong?: ({} & {} & { [
|
|
4096
|
+
} & { [K_166 in Exclude<keyof I_1["stream_presence_event"], keyof StreamPresenceEvent>]: never; }) | undefined;
|
|
4097
|
+
ping?: ({} & {} & { [K_167 in Exclude<keyof I_1["ping"], never>]: never; }) | undefined;
|
|
4098
|
+
pong?: ({} & {} & { [K_168 in Exclude<keyof I_1["pong"], never>]: never; }) | undefined;
|
|
4079
4099
|
message_typing_event?: ({
|
|
4080
4100
|
clan_id?: string | undefined;
|
|
4081
4101
|
channel_id?: string | undefined;
|
|
@@ -4086,7 +4106,7 @@ export declare const Envelope: {
|
|
|
4086
4106
|
channel_id?: string | undefined;
|
|
4087
4107
|
sender_id?: string | undefined;
|
|
4088
4108
|
mode?: number | undefined;
|
|
4089
|
-
} & { [
|
|
4109
|
+
} & { [K_169 in Exclude<keyof I_1["message_typing_event"], keyof MessageTypingEvent>]: never; }) | undefined;
|
|
4090
4110
|
last_seen_message_event?: ({
|
|
4091
4111
|
channel_id?: string | undefined;
|
|
4092
4112
|
message_id?: string | undefined;
|
|
@@ -4097,7 +4117,7 @@ export declare const Envelope: {
|
|
|
4097
4117
|
message_id?: string | undefined;
|
|
4098
4118
|
mode?: number | undefined;
|
|
4099
4119
|
timestamp?: string | undefined;
|
|
4100
|
-
} & { [
|
|
4120
|
+
} & { [K_170 in Exclude<keyof I_1["last_seen_message_event"], keyof LastSeenMessageEvent>]: never; }) | undefined;
|
|
4101
4121
|
message_reaction_event?: ({
|
|
4102
4122
|
id?: string | undefined;
|
|
4103
4123
|
emoji_id?: string | undefined;
|
|
@@ -4126,7 +4146,7 @@ export declare const Envelope: {
|
|
|
4126
4146
|
clan_id?: string | undefined;
|
|
4127
4147
|
mode?: number | undefined;
|
|
4128
4148
|
message_sender_id?: string | undefined;
|
|
4129
|
-
} & { [
|
|
4149
|
+
} & { [K_171 in Exclude<keyof I_1["message_reaction_event"], keyof MessageReaction>]: never; }) | undefined;
|
|
4130
4150
|
voice_joined_event?: ({
|
|
4131
4151
|
clan_id?: string | undefined;
|
|
4132
4152
|
clan_name?: string | undefined;
|
|
@@ -4145,7 +4165,7 @@ export declare const Envelope: {
|
|
|
4145
4165
|
voice_channel_label?: string | undefined;
|
|
4146
4166
|
voice_channel_id?: string | undefined;
|
|
4147
4167
|
last_screenshot?: string | undefined;
|
|
4148
|
-
} & { [
|
|
4168
|
+
} & { [K_172 in Exclude<keyof I_1["voice_joined_event"], keyof VoiceJoinedEvent>]: never; }) | undefined;
|
|
4149
4169
|
voice_leaved_event?: ({
|
|
4150
4170
|
id?: string | undefined;
|
|
4151
4171
|
clan_id?: string | undefined;
|
|
@@ -4156,7 +4176,7 @@ export declare const Envelope: {
|
|
|
4156
4176
|
clan_id?: string | undefined;
|
|
4157
4177
|
voice_channel_id?: string | undefined;
|
|
4158
4178
|
voice_user_id?: string | undefined;
|
|
4159
|
-
} & { [
|
|
4179
|
+
} & { [K_173 in Exclude<keyof I_1["voice_leaved_event"], keyof VoiceLeavedEvent>]: never; }) | undefined;
|
|
4160
4180
|
voice_started_event?: ({
|
|
4161
4181
|
id?: string | undefined;
|
|
4162
4182
|
clan_id?: string | undefined;
|
|
@@ -4165,7 +4185,7 @@ export declare const Envelope: {
|
|
|
4165
4185
|
id?: string | undefined;
|
|
4166
4186
|
clan_id?: string | undefined;
|
|
4167
4187
|
voice_channel_id?: string | undefined;
|
|
4168
|
-
} & { [
|
|
4188
|
+
} & { [K_174 in Exclude<keyof I_1["voice_started_event"], keyof VoiceStartedEvent>]: never; }) | undefined;
|
|
4169
4189
|
voice_ended_event?: ({
|
|
4170
4190
|
id?: string | undefined;
|
|
4171
4191
|
clan_id?: string | undefined;
|
|
@@ -4174,7 +4194,7 @@ export declare const Envelope: {
|
|
|
4174
4194
|
id?: string | undefined;
|
|
4175
4195
|
clan_id?: string | undefined;
|
|
4176
4196
|
voice_channel_id?: string | undefined;
|
|
4177
|
-
} & { [
|
|
4197
|
+
} & { [K_175 in Exclude<keyof I_1["voice_ended_event"], keyof VoiceEndedEvent>]: never; }) | undefined;
|
|
4178
4198
|
channel_created_event?: ({
|
|
4179
4199
|
clan_id?: string | undefined;
|
|
4180
4200
|
category_id?: string | undefined;
|
|
@@ -4195,7 +4215,7 @@ export declare const Envelope: {
|
|
|
4195
4215
|
channel_private?: number | undefined;
|
|
4196
4216
|
channel_type?: number | undefined;
|
|
4197
4217
|
status?: number | undefined;
|
|
4198
|
-
} & { [
|
|
4218
|
+
} & { [K_176 in Exclude<keyof I_1["channel_created_event"], keyof ChannelCreatedEvent>]: never; }) | undefined;
|
|
4199
4219
|
channel_deleted_event?: ({
|
|
4200
4220
|
clan_id?: string | undefined;
|
|
4201
4221
|
category_id?: string | undefined;
|
|
@@ -4208,7 +4228,7 @@ export declare const Envelope: {
|
|
|
4208
4228
|
parrent_id?: string | undefined;
|
|
4209
4229
|
channel_id?: string | undefined;
|
|
4210
4230
|
deletor?: string | undefined;
|
|
4211
|
-
} & { [
|
|
4231
|
+
} & { [K_177 in Exclude<keyof I_1["channel_deleted_event"], keyof ChannelDeletedEvent>]: never; }) | undefined;
|
|
4212
4232
|
channel_updated_event?: ({
|
|
4213
4233
|
clan_id?: string | undefined;
|
|
4214
4234
|
category_id?: string | undefined;
|
|
@@ -4227,7 +4247,7 @@ export declare const Envelope: {
|
|
|
4227
4247
|
channel_label?: string | undefined;
|
|
4228
4248
|
channel_type?: number | undefined;
|
|
4229
4249
|
status?: number | undefined;
|
|
4230
|
-
} & { [
|
|
4250
|
+
} & { [K_178 in Exclude<keyof I_1["channel_updated_event"], keyof ChannelUpdatedEvent>]: never; }) | undefined;
|
|
4231
4251
|
last_pin_message_event?: ({
|
|
4232
4252
|
clan_id?: string | undefined;
|
|
4233
4253
|
channel_id?: string | undefined;
|
|
@@ -4244,7 +4264,7 @@ export declare const Envelope: {
|
|
|
4244
4264
|
user_id?: string | undefined;
|
|
4245
4265
|
timestamp?: string | undefined;
|
|
4246
4266
|
operation?: number | undefined;
|
|
4247
|
-
} & { [
|
|
4267
|
+
} & { [K_179 in Exclude<keyof I_1["last_pin_message_event"], keyof LastPinMessageEvent>]: never; }) | undefined;
|
|
4248
4268
|
custom_status_event?: ({
|
|
4249
4269
|
clan_id?: string | undefined;
|
|
4250
4270
|
user_id?: string | undefined;
|
|
@@ -4255,7 +4275,7 @@ export declare const Envelope: {
|
|
|
4255
4275
|
user_id?: string | undefined;
|
|
4256
4276
|
username?: string | undefined;
|
|
4257
4277
|
status?: string | undefined;
|
|
4258
|
-
} & { [
|
|
4278
|
+
} & { [K_180 in Exclude<keyof I_1["custom_status_event"], keyof CustomStatusEvent>]: never; }) | undefined;
|
|
4259
4279
|
user_channel_added_event?: ({
|
|
4260
4280
|
channel_id?: string | undefined;
|
|
4261
4281
|
users?: {
|
|
@@ -4280,7 +4300,7 @@ export declare const Envelope: {
|
|
|
4280
4300
|
user_id?: string | undefined;
|
|
4281
4301
|
avatar?: string | undefined;
|
|
4282
4302
|
username?: string | undefined;
|
|
4283
|
-
} & { [
|
|
4303
|
+
} & { [K_181 in Exclude<keyof I_1["user_channel_added_event"]["users"][number], keyof AddUsers>]: never; })[] & { [K_182 in Exclude<keyof I_1["user_channel_added_event"]["users"], keyof {
|
|
4284
4304
|
user_id?: string | undefined;
|
|
4285
4305
|
avatar?: string | undefined;
|
|
4286
4306
|
username?: string | undefined;
|
|
@@ -4288,23 +4308,23 @@ export declare const Envelope: {
|
|
|
4288
4308
|
status?: string | undefined;
|
|
4289
4309
|
clan_id?: string | undefined;
|
|
4290
4310
|
channel_type?: number | undefined;
|
|
4291
|
-
} & { [
|
|
4311
|
+
} & { [K_183 in Exclude<keyof I_1["user_channel_added_event"], keyof UserChannelAdded>]: never; }) | undefined;
|
|
4292
4312
|
user_channel_removed_event?: ({
|
|
4293
4313
|
channel_id?: string | undefined;
|
|
4294
4314
|
user_ids?: string[] | undefined;
|
|
4295
4315
|
channel_type?: number | undefined;
|
|
4296
4316
|
} & {
|
|
4297
4317
|
channel_id?: string | undefined;
|
|
4298
|
-
user_ids?: (string[] & string[] & { [
|
|
4318
|
+
user_ids?: (string[] & string[] & { [K_184 in Exclude<keyof I_1["user_channel_removed_event"]["user_ids"], keyof string[]>]: never; }) | undefined;
|
|
4299
4319
|
channel_type?: number | undefined;
|
|
4300
|
-
} & { [
|
|
4320
|
+
} & { [K_185 in Exclude<keyof I_1["user_channel_removed_event"], keyof UserChannelRemoved>]: never; }) | undefined;
|
|
4301
4321
|
user_clan_removed_event?: ({
|
|
4302
4322
|
clan_id?: string | undefined;
|
|
4303
4323
|
user_ids?: string[] | undefined;
|
|
4304
4324
|
} & {
|
|
4305
4325
|
clan_id?: string | undefined;
|
|
4306
|
-
user_ids?: (string[] & string[] & { [
|
|
4307
|
-
} & { [
|
|
4326
|
+
user_ids?: (string[] & string[] & { [K_186 in Exclude<keyof I_1["user_clan_removed_event"]["user_ids"], keyof string[]>]: never; }) | undefined;
|
|
4327
|
+
} & { [K_187 in Exclude<keyof I_1["user_clan_removed_event"], keyof UserClanRemoved>]: never; }) | undefined;
|
|
4308
4328
|
clan_updated_event?: ({
|
|
4309
4329
|
clan_id?: string | undefined;
|
|
4310
4330
|
clan_name?: string | undefined;
|
|
@@ -4313,7 +4333,7 @@ export declare const Envelope: {
|
|
|
4313
4333
|
clan_id?: string | undefined;
|
|
4314
4334
|
clan_name?: string | undefined;
|
|
4315
4335
|
clan_logo?: string | undefined;
|
|
4316
|
-
} & { [
|
|
4336
|
+
} & { [K_188 in Exclude<keyof I_1["clan_updated_event"], keyof ClanUpdatedEvent>]: never; }) | undefined;
|
|
4317
4337
|
clan_profile_updated_event?: ({
|
|
4318
4338
|
user_id?: string | undefined;
|
|
4319
4339
|
clan_nick?: string | undefined;
|
|
@@ -4324,14 +4344,14 @@ export declare const Envelope: {
|
|
|
4324
4344
|
clan_nick?: string | undefined;
|
|
4325
4345
|
clan_avatar?: string | undefined;
|
|
4326
4346
|
clan_id?: string | undefined;
|
|
4327
|
-
} & { [
|
|
4347
|
+
} & { [K_189 in Exclude<keyof I_1["clan_profile_updated_event"], keyof ClanProfileUpdatedEvent>]: never; }) | undefined;
|
|
4328
4348
|
clan_name_existed_event?: ({
|
|
4329
4349
|
clan_name?: string | undefined;
|
|
4330
4350
|
exist?: boolean | undefined;
|
|
4331
4351
|
} & {
|
|
4332
4352
|
clan_name?: string | undefined;
|
|
4333
4353
|
exist?: boolean | undefined;
|
|
4334
|
-
} & { [
|
|
4354
|
+
} & { [K_190 in Exclude<keyof I_1["clan_name_existed_event"], keyof ClanNameExistedEvent>]: never; }) | undefined;
|
|
4335
4355
|
user_profile_updated_event?: ({
|
|
4336
4356
|
user_id?: string | undefined;
|
|
4337
4357
|
display_name?: string | undefined;
|
|
@@ -4346,7 +4366,7 @@ export declare const Envelope: {
|
|
|
4346
4366
|
about_me?: string | undefined;
|
|
4347
4367
|
channel_id?: string | undefined;
|
|
4348
4368
|
clan_id?: string | undefined;
|
|
4349
|
-
} & { [
|
|
4369
|
+
} & { [K_191 in Exclude<keyof I_1["user_profile_updated_event"], keyof UserProfileUpdatedEvent>]: never; }) | undefined;
|
|
4350
4370
|
emojis_listed_event?: ({
|
|
4351
4371
|
clan_id?: string | undefined;
|
|
4352
4372
|
emoji_list?: {
|
|
@@ -4376,14 +4396,14 @@ export declare const Envelope: {
|
|
|
4376
4396
|
shortname?: string | undefined;
|
|
4377
4397
|
category?: string | undefined;
|
|
4378
4398
|
creator_id?: string | undefined;
|
|
4379
|
-
} & { [
|
|
4399
|
+
} & { [K_192 in Exclude<keyof I_1["emojis_listed_event"]["emoji_list"][number], keyof ClanEmoji>]: never; })[] & { [K_193 in Exclude<keyof I_1["emojis_listed_event"]["emoji_list"], keyof {
|
|
4380
4400
|
id?: string | undefined;
|
|
4381
4401
|
src?: string | undefined;
|
|
4382
4402
|
shortname?: string | undefined;
|
|
4383
4403
|
category?: string | undefined;
|
|
4384
4404
|
creator_id?: string | undefined;
|
|
4385
4405
|
}[]>]: never; }) | undefined;
|
|
4386
|
-
} & { [
|
|
4406
|
+
} & { [K_194 in Exclude<keyof I_1["emojis_listed_event"], keyof EmojiListedEvent>]: never; }) | undefined;
|
|
4387
4407
|
sticker_listed_event?: ({
|
|
4388
4408
|
clan_id?: string | undefined;
|
|
4389
4409
|
stickers?: {
|
|
@@ -4421,7 +4441,7 @@ export declare const Envelope: {
|
|
|
4421
4441
|
creator_id?: string | undefined;
|
|
4422
4442
|
create_time?: Date | undefined;
|
|
4423
4443
|
clan_id?: string | undefined;
|
|
4424
|
-
} & { [
|
|
4444
|
+
} & { [K_195 in Exclude<keyof I_1["sticker_listed_event"]["stickers"][number], keyof ClanSticker>]: never; })[] & { [K_196 in Exclude<keyof I_1["sticker_listed_event"]["stickers"], keyof {
|
|
4425
4445
|
id?: string | undefined;
|
|
4426
4446
|
source?: string | undefined;
|
|
4427
4447
|
shortname?: string | undefined;
|
|
@@ -4430,7 +4450,7 @@ export declare const Envelope: {
|
|
|
4430
4450
|
create_time?: Date | undefined;
|
|
4431
4451
|
clan_id?: string | undefined;
|
|
4432
4452
|
}[]>]: never; }) | undefined;
|
|
4433
|
-
} & { [
|
|
4453
|
+
} & { [K_197 in Exclude<keyof I_1["sticker_listed_event"], keyof StrickerListedEvent>]: never; }) | undefined;
|
|
4434
4454
|
channel_desc_list_event?: ({
|
|
4435
4455
|
channeldesc?: {
|
|
4436
4456
|
clan_id?: string | undefined;
|
|
@@ -4470,7 +4490,7 @@ export declare const Envelope: {
|
|
|
4470
4490
|
meeting_code?: string | undefined;
|
|
4471
4491
|
clan_name?: string | undefined;
|
|
4472
4492
|
parrent_id?: string | undefined;
|
|
4473
|
-
} & { [
|
|
4493
|
+
} & { [K_198 in Exclude<keyof I_1["channel_desc_list_event"]["channeldesc"][number], keyof ChannelDescription>]: never; })[] & { [K_199 in Exclude<keyof I_1["channel_desc_list_event"]["channeldesc"], keyof {
|
|
4474
4494
|
clan_id?: string | undefined;
|
|
4475
4495
|
channel_id?: string | undefined;
|
|
4476
4496
|
type?: number | undefined;
|
|
@@ -4480,7 +4500,7 @@ export declare const Envelope: {
|
|
|
4480
4500
|
clan_name?: string | undefined;
|
|
4481
4501
|
parrent_id?: string | undefined;
|
|
4482
4502
|
}[]>]: never; }) | undefined;
|
|
4483
|
-
} & { [
|
|
4503
|
+
} & { [K_200 in Exclude<keyof I_1["channel_desc_list_event"], "channeldesc">]: never; }) | undefined;
|
|
4484
4504
|
hashtag_dm_list_event?: ({
|
|
4485
4505
|
user_id?: string[] | undefined;
|
|
4486
4506
|
limit?: number | undefined;
|
|
@@ -4495,7 +4515,7 @@ export declare const Envelope: {
|
|
|
4495
4515
|
parrent_id?: string | undefined;
|
|
4496
4516
|
}[] | undefined;
|
|
4497
4517
|
} & {
|
|
4498
|
-
user_id?: (string[] & string[] & { [
|
|
4518
|
+
user_id?: (string[] & string[] & { [K_201 in Exclude<keyof I_1["hashtag_dm_list_event"]["user_id"], keyof string[]>]: never; }) | undefined;
|
|
4499
4519
|
limit?: number | undefined;
|
|
4500
4520
|
hashtag_dm?: ({
|
|
4501
4521
|
channel_id?: string | undefined;
|
|
@@ -4524,7 +4544,7 @@ export declare const Envelope: {
|
|
|
4524
4544
|
type?: number | undefined;
|
|
4525
4545
|
channel_private?: number | undefined;
|
|
4526
4546
|
parrent_id?: string | undefined;
|
|
4527
|
-
} & { [
|
|
4547
|
+
} & { [K_202 in Exclude<keyof I_1["hashtag_dm_list_event"]["hashtag_dm"][number], keyof HashtagDm>]: never; })[] & { [K_203 in Exclude<keyof I_1["hashtag_dm_list_event"]["hashtag_dm"], keyof {
|
|
4528
4548
|
channel_id?: string | undefined;
|
|
4529
4549
|
channel_label?: string | undefined;
|
|
4530
4550
|
clan_id?: string | undefined;
|
|
@@ -4534,7 +4554,7 @@ export declare const Envelope: {
|
|
|
4534
4554
|
channel_private?: number | undefined;
|
|
4535
4555
|
parrent_id?: string | undefined;
|
|
4536
4556
|
}[]>]: never; }) | undefined;
|
|
4537
|
-
} & { [
|
|
4557
|
+
} & { [K_204 in Exclude<keyof I_1["hashtag_dm_list_event"], keyof HashtagDmListEvent>]: never; }) | undefined;
|
|
4538
4558
|
notification_channel_setting_event?: ({
|
|
4539
4559
|
channel_id?: string | undefined;
|
|
4540
4560
|
notification_user_channel?: {
|
|
@@ -4555,8 +4575,8 @@ export declare const Envelope: {
|
|
|
4555
4575
|
notification_setting_type?: number | undefined;
|
|
4556
4576
|
time_mute?: Date | undefined;
|
|
4557
4577
|
active?: number | undefined;
|
|
4558
|
-
} & { [
|
|
4559
|
-
} & { [
|
|
4578
|
+
} & { [K_205 in Exclude<keyof I_1["notification_channel_setting_event"]["notification_user_channel"], keyof NotificationUserChannel>]: never; }) | undefined;
|
|
4579
|
+
} & { [K_206 in Exclude<keyof I_1["notification_channel_setting_event"], keyof NotificationChannelSettingEvent>]: never; }) | undefined;
|
|
4560
4580
|
notification_category_setting_event?: ({
|
|
4561
4581
|
category_id?: string | undefined;
|
|
4562
4582
|
notification_user_channel?: {
|
|
@@ -4577,8 +4597,8 @@ export declare const Envelope: {
|
|
|
4577
4597
|
notification_setting_type?: number | undefined;
|
|
4578
4598
|
time_mute?: Date | undefined;
|
|
4579
4599
|
active?: number | undefined;
|
|
4580
|
-
} & { [
|
|
4581
|
-
} & { [
|
|
4600
|
+
} & { [K_207 in Exclude<keyof I_1["notification_category_setting_event"]["notification_user_channel"], keyof NotificationUserChannel>]: never; }) | undefined;
|
|
4601
|
+
} & { [K_208 in Exclude<keyof I_1["notification_category_setting_event"], keyof NotificationCategorySettingEvent>]: never; }) | undefined;
|
|
4582
4602
|
notification_clan_setting_event?: ({
|
|
4583
4603
|
clan_id?: string | undefined;
|
|
4584
4604
|
notification_setting?: {
|
|
@@ -4593,8 +4613,8 @@ export declare const Envelope: {
|
|
|
4593
4613
|
} & {
|
|
4594
4614
|
id?: string | undefined;
|
|
4595
4615
|
notification_setting_type?: number | undefined;
|
|
4596
|
-
} & { [
|
|
4597
|
-
} & { [
|
|
4616
|
+
} & { [K_209 in Exclude<keyof I_1["notification_clan_setting_event"]["notification_setting"], keyof NotificationSetting>]: never; }) | undefined;
|
|
4617
|
+
} & { [K_210 in Exclude<keyof I_1["notification_clan_setting_event"], keyof NotificationClanSettingEvent>]: never; }) | undefined;
|
|
4598
4618
|
notifi_react_message_event?: ({
|
|
4599
4619
|
channel_id?: string | undefined;
|
|
4600
4620
|
notifi_react_message?: {
|
|
@@ -4612,8 +4632,8 @@ export declare const Envelope: {
|
|
|
4612
4632
|
id?: string | undefined;
|
|
4613
4633
|
user_id?: string | undefined;
|
|
4614
4634
|
channel_id?: string | undefined;
|
|
4615
|
-
} & { [
|
|
4616
|
-
} & { [
|
|
4635
|
+
} & { [K_211 in Exclude<keyof I_1["notifi_react_message_event"]["notifi_react_message"], keyof NotifiReactMessage>]: never; }) | undefined;
|
|
4636
|
+
} & { [K_212 in Exclude<keyof I_1["notifi_react_message_event"], keyof NotifiReactMessageEvent>]: never; }) | undefined;
|
|
4617
4637
|
permission_role_channel_list_event?: ({
|
|
4618
4638
|
role_id?: string | undefined;
|
|
4619
4639
|
channel_id?: string | undefined;
|
|
@@ -4633,11 +4653,11 @@ export declare const Envelope: {
|
|
|
4633
4653
|
} & {
|
|
4634
4654
|
permission_id?: string | undefined;
|
|
4635
4655
|
active?: boolean | undefined;
|
|
4636
|
-
} & { [
|
|
4656
|
+
} & { [K_213 in Exclude<keyof I_1["permission_role_channel_list_event"]["permission_role_channel"][number], keyof PermissionRoleChannel>]: never; })[] & { [K_214 in Exclude<keyof I_1["permission_role_channel_list_event"]["permission_role_channel"], keyof {
|
|
4637
4657
|
permission_id?: string | undefined;
|
|
4638
4658
|
active?: boolean | undefined;
|
|
4639
4659
|
}[]>]: never; }) | undefined;
|
|
4640
|
-
} & { [
|
|
4660
|
+
} & { [K_215 in Exclude<keyof I_1["permission_role_channel_list_event"], keyof PermissionRoleChannelListEvent>]: never; }) | undefined;
|
|
4641
4661
|
notification_channel_category_setting_event?: ({
|
|
4642
4662
|
clan_id?: string | undefined;
|
|
4643
4663
|
notification_channel_category_settings_list?: {
|
|
@@ -4663,21 +4683,33 @@ export declare const Envelope: {
|
|
|
4663
4683
|
channel_category_label?: string | undefined;
|
|
4664
4684
|
notification_setting_type?: number | undefined;
|
|
4665
4685
|
channel_category_title?: string | undefined;
|
|
4666
|
-
} & { [
|
|
4686
|
+
} & { [K_216 in Exclude<keyof I_1["notification_channel_category_setting_event"]["notification_channel_category_settings_list"][number], keyof NotificationChannelCategorySetting>]: never; })[] & { [K_217 in Exclude<keyof I_1["notification_channel_category_setting_event"]["notification_channel_category_settings_list"], keyof {
|
|
4667
4687
|
id?: string | undefined;
|
|
4668
4688
|
channel_category_label?: string | undefined;
|
|
4669
4689
|
notification_setting_type?: number | undefined;
|
|
4670
4690
|
channel_category_title?: string | undefined;
|
|
4671
4691
|
}[]>]: never; }) | undefined;
|
|
4672
|
-
} & { [
|
|
4692
|
+
} & { [K_218 in Exclude<keyof I_1["notification_channel_category_setting_event"], keyof NotificationChannelCategorySettingEvent>]: never; }) | undefined;
|
|
4673
4693
|
add_clan_user_event?: ({
|
|
4674
4694
|
clan_id?: string | undefined;
|
|
4675
|
-
|
|
4695
|
+
user?: {
|
|
4696
|
+
user_id?: string | undefined;
|
|
4697
|
+
avatar?: string | undefined;
|
|
4698
|
+
username?: string | undefined;
|
|
4699
|
+
} | undefined;
|
|
4676
4700
|
} & {
|
|
4677
4701
|
clan_id?: string | undefined;
|
|
4678
|
-
|
|
4679
|
-
|
|
4680
|
-
|
|
4702
|
+
user?: ({
|
|
4703
|
+
user_id?: string | undefined;
|
|
4704
|
+
avatar?: string | undefined;
|
|
4705
|
+
username?: string | undefined;
|
|
4706
|
+
} & {
|
|
4707
|
+
user_id?: string | undefined;
|
|
4708
|
+
avatar?: string | undefined;
|
|
4709
|
+
username?: string | undefined;
|
|
4710
|
+
} & { [K_219 in Exclude<keyof I_1["add_clan_user_event"]["user"], keyof AddUsers>]: never; }) | undefined;
|
|
4711
|
+
} & { [K_220 in Exclude<keyof I_1["add_clan_user_event"], keyof AddClanUserEvent>]: never; }) | undefined;
|
|
4712
|
+
} & { [K_221 in Exclude<keyof I_1, keyof Envelope>]: never; }>(object: I_1): Envelope;
|
|
4681
4713
|
};
|
|
4682
4714
|
export declare const AddClanUserEvent: {
|
|
4683
4715
|
encode(message: AddClanUserEvent, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -4686,18 +4718,42 @@ export declare const AddClanUserEvent: {
|
|
|
4686
4718
|
toJSON(message: AddClanUserEvent): unknown;
|
|
4687
4719
|
create<I extends {
|
|
4688
4720
|
clan_id?: string | undefined;
|
|
4689
|
-
|
|
4721
|
+
user?: {
|
|
4722
|
+
user_id?: string | undefined;
|
|
4723
|
+
avatar?: string | undefined;
|
|
4724
|
+
username?: string | undefined;
|
|
4725
|
+
} | undefined;
|
|
4690
4726
|
} & {
|
|
4691
4727
|
clan_id?: string | undefined;
|
|
4692
|
-
|
|
4693
|
-
|
|
4728
|
+
user?: ({
|
|
4729
|
+
user_id?: string | undefined;
|
|
4730
|
+
avatar?: string | undefined;
|
|
4731
|
+
username?: string | undefined;
|
|
4732
|
+
} & {
|
|
4733
|
+
user_id?: string | undefined;
|
|
4734
|
+
avatar?: string | undefined;
|
|
4735
|
+
username?: string | undefined;
|
|
4736
|
+
} & { [K in Exclude<keyof I["user"], keyof AddUsers>]: never; }) | undefined;
|
|
4737
|
+
} & { [K_1 in Exclude<keyof I, keyof AddClanUserEvent>]: never; }>(base?: I | undefined): AddClanUserEvent;
|
|
4694
4738
|
fromPartial<I_1 extends {
|
|
4695
4739
|
clan_id?: string | undefined;
|
|
4696
|
-
|
|
4740
|
+
user?: {
|
|
4741
|
+
user_id?: string | undefined;
|
|
4742
|
+
avatar?: string | undefined;
|
|
4743
|
+
username?: string | undefined;
|
|
4744
|
+
} | undefined;
|
|
4697
4745
|
} & {
|
|
4698
4746
|
clan_id?: string | undefined;
|
|
4699
|
-
|
|
4700
|
-
|
|
4747
|
+
user?: ({
|
|
4748
|
+
user_id?: string | undefined;
|
|
4749
|
+
avatar?: string | undefined;
|
|
4750
|
+
username?: string | undefined;
|
|
4751
|
+
} & {
|
|
4752
|
+
user_id?: string | undefined;
|
|
4753
|
+
avatar?: string | undefined;
|
|
4754
|
+
username?: string | undefined;
|
|
4755
|
+
} & { [K_2 in Exclude<keyof I_1["user"], keyof AddUsers>]: never; }) | undefined;
|
|
4756
|
+
} & { [K_3 in Exclude<keyof I_1, keyof AddClanUserEvent>]: never; }>(object: I_1): AddClanUserEvent;
|
|
4701
4757
|
};
|
|
4702
4758
|
export declare const PermissionRoleChannelListEvent: {
|
|
4703
4759
|
encode(message: PermissionRoleChannelListEvent, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -4817,15 +4817,15 @@ var Envelope = {
|
|
|
4817
4817
|
}
|
|
4818
4818
|
};
|
|
4819
4819
|
function createBaseAddClanUserEvent() {
|
|
4820
|
-
return { clan_id: "",
|
|
4820
|
+
return { clan_id: "", user: void 0 };
|
|
4821
4821
|
}
|
|
4822
4822
|
var AddClanUserEvent = {
|
|
4823
4823
|
encode(message, writer = import_minimal4.default.Writer.create()) {
|
|
4824
4824
|
if (message.clan_id !== "") {
|
|
4825
4825
|
writer.uint32(10).string(message.clan_id);
|
|
4826
4826
|
}
|
|
4827
|
-
if (message.
|
|
4828
|
-
writer.uint32(18).
|
|
4827
|
+
if (message.user !== void 0) {
|
|
4828
|
+
AddUsers.encode(message.user, writer.uint32(18).fork()).ldelim();
|
|
4829
4829
|
}
|
|
4830
4830
|
return writer;
|
|
4831
4831
|
},
|
|
@@ -4846,7 +4846,7 @@ var AddClanUserEvent = {
|
|
|
4846
4846
|
if (tag !== 18) {
|
|
4847
4847
|
break;
|
|
4848
4848
|
}
|
|
4849
|
-
message.
|
|
4849
|
+
message.user = AddUsers.decode(reader, reader.uint32());
|
|
4850
4850
|
continue;
|
|
4851
4851
|
}
|
|
4852
4852
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -4859,7 +4859,7 @@ var AddClanUserEvent = {
|
|
|
4859
4859
|
fromJSON(object) {
|
|
4860
4860
|
return {
|
|
4861
4861
|
clan_id: isSet4(object.clan_id) ? globalThis.String(object.clan_id) : "",
|
|
4862
|
-
|
|
4862
|
+
user: isSet4(object.user) ? AddUsers.fromJSON(object.user) : void 0
|
|
4863
4863
|
};
|
|
4864
4864
|
},
|
|
4865
4865
|
toJSON(message) {
|
|
@@ -4867,8 +4867,8 @@ var AddClanUserEvent = {
|
|
|
4867
4867
|
if (message.clan_id !== "") {
|
|
4868
4868
|
obj.clan_id = message.clan_id;
|
|
4869
4869
|
}
|
|
4870
|
-
if (message.
|
|
4871
|
-
obj.
|
|
4870
|
+
if (message.user !== void 0) {
|
|
4871
|
+
obj.user = AddUsers.toJSON(message.user);
|
|
4872
4872
|
}
|
|
4873
4873
|
return obj;
|
|
4874
4874
|
},
|
|
@@ -4876,10 +4876,10 @@ var AddClanUserEvent = {
|
|
|
4876
4876
|
return AddClanUserEvent.fromPartial(base != null ? base : {});
|
|
4877
4877
|
},
|
|
4878
4878
|
fromPartial(object) {
|
|
4879
|
-
var _a
|
|
4879
|
+
var _a;
|
|
4880
4880
|
const message = createBaseAddClanUserEvent();
|
|
4881
4881
|
message.clan_id = (_a = object.clan_id) != null ? _a : "";
|
|
4882
|
-
message.
|
|
4882
|
+
message.user = object.user !== void 0 && object.user !== null ? AddUsers.fromPartial(object.user) : void 0;
|
|
4883
4883
|
return message;
|
|
4884
4884
|
}
|
|
4885
4885
|
};
|
|
@@ -4804,15 +4804,15 @@ var Envelope = {
|
|
|
4804
4804
|
}
|
|
4805
4805
|
};
|
|
4806
4806
|
function createBaseAddClanUserEvent() {
|
|
4807
|
-
return { clan_id: "",
|
|
4807
|
+
return { clan_id: "", user: void 0 };
|
|
4808
4808
|
}
|
|
4809
4809
|
var AddClanUserEvent = {
|
|
4810
4810
|
encode(message, writer = import_minimal4.default.Writer.create()) {
|
|
4811
4811
|
if (message.clan_id !== "") {
|
|
4812
4812
|
writer.uint32(10).string(message.clan_id);
|
|
4813
4813
|
}
|
|
4814
|
-
if (message.
|
|
4815
|
-
writer.uint32(18).
|
|
4814
|
+
if (message.user !== void 0) {
|
|
4815
|
+
AddUsers.encode(message.user, writer.uint32(18).fork()).ldelim();
|
|
4816
4816
|
}
|
|
4817
4817
|
return writer;
|
|
4818
4818
|
},
|
|
@@ -4833,7 +4833,7 @@ var AddClanUserEvent = {
|
|
|
4833
4833
|
if (tag !== 18) {
|
|
4834
4834
|
break;
|
|
4835
4835
|
}
|
|
4836
|
-
message.
|
|
4836
|
+
message.user = AddUsers.decode(reader, reader.uint32());
|
|
4837
4837
|
continue;
|
|
4838
4838
|
}
|
|
4839
4839
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -4846,7 +4846,7 @@ var AddClanUserEvent = {
|
|
|
4846
4846
|
fromJSON(object) {
|
|
4847
4847
|
return {
|
|
4848
4848
|
clan_id: isSet4(object.clan_id) ? globalThis.String(object.clan_id) : "",
|
|
4849
|
-
|
|
4849
|
+
user: isSet4(object.user) ? AddUsers.fromJSON(object.user) : void 0
|
|
4850
4850
|
};
|
|
4851
4851
|
},
|
|
4852
4852
|
toJSON(message) {
|
|
@@ -4854,8 +4854,8 @@ var AddClanUserEvent = {
|
|
|
4854
4854
|
if (message.clan_id !== "") {
|
|
4855
4855
|
obj.clan_id = message.clan_id;
|
|
4856
4856
|
}
|
|
4857
|
-
if (message.
|
|
4858
|
-
obj.
|
|
4857
|
+
if (message.user !== void 0) {
|
|
4858
|
+
obj.user = AddUsers.toJSON(message.user);
|
|
4859
4859
|
}
|
|
4860
4860
|
return obj;
|
|
4861
4861
|
},
|
|
@@ -4863,10 +4863,10 @@ var AddClanUserEvent = {
|
|
|
4863
4863
|
return AddClanUserEvent.fromPartial(base != null ? base : {});
|
|
4864
4864
|
},
|
|
4865
4865
|
fromPartial(object) {
|
|
4866
|
-
var _a
|
|
4866
|
+
var _a;
|
|
4867
4867
|
const message = createBaseAddClanUserEvent();
|
|
4868
4868
|
message.clan_id = (_a = object.clan_id) != null ? _a : "";
|
|
4869
|
-
message.
|
|
4869
|
+
message.user = object.user !== void 0 && object.user !== null ? AddUsers.fromPartial(object.user) : void 0;
|
|
4870
4870
|
return message;
|
|
4871
4871
|
}
|
|
4872
4872
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mezon-js-protobuf",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.26",
|
|
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",
|
package/rtapi/realtime.ts
CHANGED
|
@@ -236,8 +236,8 @@ export interface Envelope {
|
|
|
236
236
|
export interface AddClanUserEvent {
|
|
237
237
|
/** the clan id */
|
|
238
238
|
clan_id: string;
|
|
239
|
-
/** the user
|
|
240
|
-
|
|
239
|
+
/** the user */
|
|
240
|
+
user: AddUsers | undefined;
|
|
241
241
|
}
|
|
242
242
|
|
|
243
243
|
/** A list of permission role channel. */
|
|
@@ -2146,7 +2146,7 @@ export const Envelope = {
|
|
|
2146
2146
|
};
|
|
2147
2147
|
|
|
2148
2148
|
function createBaseAddClanUserEvent(): AddClanUserEvent {
|
|
2149
|
-
return { clan_id: "",
|
|
2149
|
+
return { clan_id: "", user: undefined };
|
|
2150
2150
|
}
|
|
2151
2151
|
|
|
2152
2152
|
export const AddClanUserEvent = {
|
|
@@ -2154,8 +2154,8 @@ export const AddClanUserEvent = {
|
|
|
2154
2154
|
if (message.clan_id !== "") {
|
|
2155
2155
|
writer.uint32(10).string(message.clan_id);
|
|
2156
2156
|
}
|
|
2157
|
-
if (message.
|
|
2158
|
-
writer.uint32(18).
|
|
2157
|
+
if (message.user !== undefined) {
|
|
2158
|
+
AddUsers.encode(message.user, writer.uint32(18).fork()).ldelim();
|
|
2159
2159
|
}
|
|
2160
2160
|
return writer;
|
|
2161
2161
|
},
|
|
@@ -2179,7 +2179,7 @@ export const AddClanUserEvent = {
|
|
|
2179
2179
|
break;
|
|
2180
2180
|
}
|
|
2181
2181
|
|
|
2182
|
-
message.
|
|
2182
|
+
message.user = AddUsers.decode(reader, reader.uint32());
|
|
2183
2183
|
continue;
|
|
2184
2184
|
}
|
|
2185
2185
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -2193,7 +2193,7 @@ export const AddClanUserEvent = {
|
|
|
2193
2193
|
fromJSON(object: any): AddClanUserEvent {
|
|
2194
2194
|
return {
|
|
2195
2195
|
clan_id: isSet(object.clan_id) ? globalThis.String(object.clan_id) : "",
|
|
2196
|
-
|
|
2196
|
+
user: isSet(object.user) ? AddUsers.fromJSON(object.user) : undefined,
|
|
2197
2197
|
};
|
|
2198
2198
|
},
|
|
2199
2199
|
|
|
@@ -2202,8 +2202,8 @@ export const AddClanUserEvent = {
|
|
|
2202
2202
|
if (message.clan_id !== "") {
|
|
2203
2203
|
obj.clan_id = message.clan_id;
|
|
2204
2204
|
}
|
|
2205
|
-
if (message.
|
|
2206
|
-
obj.
|
|
2205
|
+
if (message.user !== undefined) {
|
|
2206
|
+
obj.user = AddUsers.toJSON(message.user);
|
|
2207
2207
|
}
|
|
2208
2208
|
return obj;
|
|
2209
2209
|
},
|
|
@@ -2214,7 +2214,7 @@ export const AddClanUserEvent = {
|
|
|
2214
2214
|
fromPartial<I extends Exact<DeepPartial<AddClanUserEvent>, I>>(object: I): AddClanUserEvent {
|
|
2215
2215
|
const message = createBaseAddClanUserEvent();
|
|
2216
2216
|
message.clan_id = object.clan_id ?? "";
|
|
2217
|
-
message.
|
|
2217
|
+
message.user = (object.user !== undefined && object.user !== null) ? AddUsers.fromPartial(object.user) : undefined;
|
|
2218
2218
|
return message;
|
|
2219
2219
|
},
|
|
2220
2220
|
};
|