mezon-js-protobuf 1.8.33 → 1.8.35
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
|
@@ -612,16 +612,6 @@ export interface FriendList {
|
|
|
612
612
|
cursor: string;
|
|
613
613
|
}
|
|
614
614
|
|
|
615
|
-
/** Fetch a batch of zero or more users from the server. */
|
|
616
|
-
export interface GetUsersRequest {
|
|
617
|
-
/** The account id of a user. */
|
|
618
|
-
ids: string[];
|
|
619
|
-
/** The account username of a user. */
|
|
620
|
-
usernames: string[];
|
|
621
|
-
/** The Facebook ID of a user. */
|
|
622
|
-
facebook_ids: string[];
|
|
623
|
-
}
|
|
624
|
-
|
|
625
615
|
/** Fetch a batch of zero or more users from the server. */
|
|
626
616
|
export interface UpdateUsersRequest {
|
|
627
617
|
/** The account username of a user. */
|
|
@@ -1143,7 +1133,9 @@ export interface UpdateAccountRequest {
|
|
|
1143
1133
|
| string
|
|
1144
1134
|
| undefined;
|
|
1145
1135
|
/** update about me */
|
|
1146
|
-
about_me:
|
|
1136
|
+
about_me:
|
|
1137
|
+
| string
|
|
1138
|
+
| undefined;
|
|
1147
1139
|
/** date of birth */
|
|
1148
1140
|
dob:
|
|
1149
1141
|
| Date
|
|
@@ -1153,7 +1145,9 @@ export interface UpdateAccountRequest {
|
|
|
1153
1145
|
| string
|
|
1154
1146
|
| undefined;
|
|
1155
1147
|
/** splash screen */
|
|
1156
|
-
splash_screen:
|
|
1148
|
+
splash_screen:
|
|
1149
|
+
| string
|
|
1150
|
+
| undefined;
|
|
1157
1151
|
/** e2ee encrypt private key */
|
|
1158
1152
|
encrypt_private_key: string;
|
|
1159
1153
|
/** The email of the user's account. */
|
|
@@ -1385,6 +1379,8 @@ export interface ClanDesc {
|
|
|
1385
1379
|
about: string;
|
|
1386
1380
|
/** short_url */
|
|
1387
1381
|
short_url: string;
|
|
1382
|
+
/** prevent anonymous */
|
|
1383
|
+
prevent_anonymous: boolean;
|
|
1388
1384
|
}
|
|
1389
1385
|
|
|
1390
1386
|
/** Clan information */
|
|
@@ -1430,10 +1426,14 @@ export interface UpdateClanDescRequest {
|
|
|
1430
1426
|
| undefined;
|
|
1431
1427
|
/** string description */
|
|
1432
1428
|
description: string;
|
|
1433
|
-
/**
|
|
1429
|
+
/** About */
|
|
1434
1430
|
about: string;
|
|
1435
|
-
/**
|
|
1436
|
-
short_url:
|
|
1431
|
+
/** Short url for community */
|
|
1432
|
+
short_url:
|
|
1433
|
+
| string
|
|
1434
|
+
| undefined;
|
|
1435
|
+
/** Prevent anonymous */
|
|
1436
|
+
prevent_anonymous: boolean;
|
|
1437
1437
|
}
|
|
1438
1438
|
|
|
1439
1439
|
/** Delete a clan the user has access to. */
|
|
@@ -7302,99 +7302,6 @@ export const FriendList = {
|
|
|
7302
7302
|
},
|
|
7303
7303
|
};
|
|
7304
7304
|
|
|
7305
|
-
function createBaseGetUsersRequest(): GetUsersRequest {
|
|
7306
|
-
return { ids: [], usernames: [], facebook_ids: [] };
|
|
7307
|
-
}
|
|
7308
|
-
|
|
7309
|
-
export const GetUsersRequest = {
|
|
7310
|
-
encode(message: GetUsersRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
7311
|
-
for (const v of message.ids) {
|
|
7312
|
-
writer.uint32(10).string(v!);
|
|
7313
|
-
}
|
|
7314
|
-
for (const v of message.usernames) {
|
|
7315
|
-
writer.uint32(18).string(v!);
|
|
7316
|
-
}
|
|
7317
|
-
for (const v of message.facebook_ids) {
|
|
7318
|
-
writer.uint32(26).string(v!);
|
|
7319
|
-
}
|
|
7320
|
-
return writer;
|
|
7321
|
-
},
|
|
7322
|
-
|
|
7323
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): GetUsersRequest {
|
|
7324
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
7325
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
7326
|
-
const message = createBaseGetUsersRequest();
|
|
7327
|
-
while (reader.pos < end) {
|
|
7328
|
-
const tag = reader.uint32();
|
|
7329
|
-
switch (tag >>> 3) {
|
|
7330
|
-
case 1:
|
|
7331
|
-
if (tag !== 10) {
|
|
7332
|
-
break;
|
|
7333
|
-
}
|
|
7334
|
-
|
|
7335
|
-
message.ids.push(reader.string());
|
|
7336
|
-
continue;
|
|
7337
|
-
case 2:
|
|
7338
|
-
if (tag !== 18) {
|
|
7339
|
-
break;
|
|
7340
|
-
}
|
|
7341
|
-
|
|
7342
|
-
message.usernames.push(reader.string());
|
|
7343
|
-
continue;
|
|
7344
|
-
case 3:
|
|
7345
|
-
if (tag !== 26) {
|
|
7346
|
-
break;
|
|
7347
|
-
}
|
|
7348
|
-
|
|
7349
|
-
message.facebook_ids.push(reader.string());
|
|
7350
|
-
continue;
|
|
7351
|
-
}
|
|
7352
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
7353
|
-
break;
|
|
7354
|
-
}
|
|
7355
|
-
reader.skipType(tag & 7);
|
|
7356
|
-
}
|
|
7357
|
-
return message;
|
|
7358
|
-
},
|
|
7359
|
-
|
|
7360
|
-
fromJSON(object: any): GetUsersRequest {
|
|
7361
|
-
return {
|
|
7362
|
-
ids: globalThis.Array.isArray(object?.ids) ? object.ids.map((e: any) => globalThis.String(e)) : [],
|
|
7363
|
-
usernames: globalThis.Array.isArray(object?.usernames)
|
|
7364
|
-
? object.usernames.map((e: any) => globalThis.String(e))
|
|
7365
|
-
: [],
|
|
7366
|
-
facebook_ids: globalThis.Array.isArray(object?.facebook_ids)
|
|
7367
|
-
? object.facebook_ids.map((e: any) => globalThis.String(e))
|
|
7368
|
-
: [],
|
|
7369
|
-
};
|
|
7370
|
-
},
|
|
7371
|
-
|
|
7372
|
-
toJSON(message: GetUsersRequest): unknown {
|
|
7373
|
-
const obj: any = {};
|
|
7374
|
-
if (message.ids?.length) {
|
|
7375
|
-
obj.ids = message.ids;
|
|
7376
|
-
}
|
|
7377
|
-
if (message.usernames?.length) {
|
|
7378
|
-
obj.usernames = message.usernames;
|
|
7379
|
-
}
|
|
7380
|
-
if (message.facebook_ids?.length) {
|
|
7381
|
-
obj.facebook_ids = message.facebook_ids;
|
|
7382
|
-
}
|
|
7383
|
-
return obj;
|
|
7384
|
-
},
|
|
7385
|
-
|
|
7386
|
-
create<I extends Exact<DeepPartial<GetUsersRequest>, I>>(base?: I): GetUsersRequest {
|
|
7387
|
-
return GetUsersRequest.fromPartial(base ?? ({} as any));
|
|
7388
|
-
},
|
|
7389
|
-
fromPartial<I extends Exact<DeepPartial<GetUsersRequest>, I>>(object: I): GetUsersRequest {
|
|
7390
|
-
const message = createBaseGetUsersRequest();
|
|
7391
|
-
message.ids = object.ids?.map((e) => e) || [];
|
|
7392
|
-
message.usernames = object.usernames?.map((e) => e) || [];
|
|
7393
|
-
message.facebook_ids = object.facebook_ids?.map((e) => e) || [];
|
|
7394
|
-
return message;
|
|
7395
|
-
},
|
|
7396
|
-
};
|
|
7397
|
-
|
|
7398
7305
|
function createBaseUpdateUsersRequest(): UpdateUsersRequest {
|
|
7399
7306
|
return { display_name: "", avatar_url: "" };
|
|
7400
7307
|
}
|
|
@@ -10928,10 +10835,10 @@ function createBaseUpdateAccountRequest(): UpdateAccountRequest {
|
|
|
10928
10835
|
lang_tag: undefined,
|
|
10929
10836
|
location: undefined,
|
|
10930
10837
|
timezone: undefined,
|
|
10931
|
-
about_me:
|
|
10838
|
+
about_me: undefined,
|
|
10932
10839
|
dob: undefined,
|
|
10933
10840
|
logo: undefined,
|
|
10934
|
-
splash_screen:
|
|
10841
|
+
splash_screen: undefined,
|
|
10935
10842
|
encrypt_private_key: "",
|
|
10936
10843
|
email: undefined,
|
|
10937
10844
|
};
|
|
@@ -10957,8 +10864,8 @@ export const UpdateAccountRequest = {
|
|
|
10957
10864
|
if (message.timezone !== undefined) {
|
|
10958
10865
|
StringValue.encode({ value: message.timezone! }, writer.uint32(50).fork()).ldelim();
|
|
10959
10866
|
}
|
|
10960
|
-
if (message.about_me !==
|
|
10961
|
-
writer.uint32(58).
|
|
10867
|
+
if (message.about_me !== undefined) {
|
|
10868
|
+
StringValue.encode({ value: message.about_me! }, writer.uint32(58).fork()).ldelim();
|
|
10962
10869
|
}
|
|
10963
10870
|
if (message.dob !== undefined) {
|
|
10964
10871
|
Timestamp.encode(toTimestamp(message.dob), writer.uint32(66).fork()).ldelim();
|
|
@@ -10966,8 +10873,8 @@ export const UpdateAccountRequest = {
|
|
|
10966
10873
|
if (message.logo !== undefined) {
|
|
10967
10874
|
StringValue.encode({ value: message.logo! }, writer.uint32(74).fork()).ldelim();
|
|
10968
10875
|
}
|
|
10969
|
-
if (message.splash_screen !==
|
|
10970
|
-
writer.uint32(82).
|
|
10876
|
+
if (message.splash_screen !== undefined) {
|
|
10877
|
+
StringValue.encode({ value: message.splash_screen! }, writer.uint32(82).fork()).ldelim();
|
|
10971
10878
|
}
|
|
10972
10879
|
if (message.encrypt_private_key !== "") {
|
|
10973
10880
|
writer.uint32(90).string(message.encrypt_private_key);
|
|
@@ -11032,7 +10939,7 @@ export const UpdateAccountRequest = {
|
|
|
11032
10939
|
break;
|
|
11033
10940
|
}
|
|
11034
10941
|
|
|
11035
|
-
message.about_me = reader.
|
|
10942
|
+
message.about_me = StringValue.decode(reader, reader.uint32()).value;
|
|
11036
10943
|
continue;
|
|
11037
10944
|
case 8:
|
|
11038
10945
|
if (tag !== 66) {
|
|
@@ -11053,7 +10960,7 @@ export const UpdateAccountRequest = {
|
|
|
11053
10960
|
break;
|
|
11054
10961
|
}
|
|
11055
10962
|
|
|
11056
|
-
message.splash_screen = reader.
|
|
10963
|
+
message.splash_screen = StringValue.decode(reader, reader.uint32()).value;
|
|
11057
10964
|
continue;
|
|
11058
10965
|
case 11:
|
|
11059
10966
|
if (tag !== 90) {
|
|
@@ -11086,10 +10993,10 @@ export const UpdateAccountRequest = {
|
|
|
11086
10993
|
lang_tag: isSet(object.lang_tag) ? String(object.lang_tag) : undefined,
|
|
11087
10994
|
location: isSet(object.location) ? String(object.location) : undefined,
|
|
11088
10995
|
timezone: isSet(object.timezone) ? String(object.timezone) : undefined,
|
|
11089
|
-
about_me: isSet(object.about_me) ?
|
|
10996
|
+
about_me: isSet(object.about_me) ? String(object.about_me) : undefined,
|
|
11090
10997
|
dob: isSet(object.dob) ? fromJsonTimestamp(object.dob) : undefined,
|
|
11091
10998
|
logo: isSet(object.logo) ? String(object.logo) : undefined,
|
|
11092
|
-
splash_screen: isSet(object.splash_screen) ?
|
|
10999
|
+
splash_screen: isSet(object.splash_screen) ? String(object.splash_screen) : undefined,
|
|
11093
11000
|
encrypt_private_key: isSet(object.encrypt_private_key) ? globalThis.String(object.encrypt_private_key) : "",
|
|
11094
11001
|
email: isSet(object.email) ? String(object.email) : undefined,
|
|
11095
11002
|
};
|
|
@@ -11115,7 +11022,7 @@ export const UpdateAccountRequest = {
|
|
|
11115
11022
|
if (message.timezone !== undefined) {
|
|
11116
11023
|
obj.timezone = message.timezone;
|
|
11117
11024
|
}
|
|
11118
|
-
if (message.about_me !==
|
|
11025
|
+
if (message.about_me !== undefined) {
|
|
11119
11026
|
obj.about_me = message.about_me;
|
|
11120
11027
|
}
|
|
11121
11028
|
if (message.dob !== undefined) {
|
|
@@ -11124,7 +11031,7 @@ export const UpdateAccountRequest = {
|
|
|
11124
11031
|
if (message.logo !== undefined) {
|
|
11125
11032
|
obj.logo = message.logo;
|
|
11126
11033
|
}
|
|
11127
|
-
if (message.splash_screen !==
|
|
11034
|
+
if (message.splash_screen !== undefined) {
|
|
11128
11035
|
obj.splash_screen = message.splash_screen;
|
|
11129
11036
|
}
|
|
11130
11037
|
if (message.encrypt_private_key !== "") {
|
|
@@ -11147,10 +11054,10 @@ export const UpdateAccountRequest = {
|
|
|
11147
11054
|
message.lang_tag = object.lang_tag ?? undefined;
|
|
11148
11055
|
message.location = object.location ?? undefined;
|
|
11149
11056
|
message.timezone = object.timezone ?? undefined;
|
|
11150
|
-
message.about_me = object.about_me ??
|
|
11057
|
+
message.about_me = object.about_me ?? undefined;
|
|
11151
11058
|
message.dob = object.dob ?? undefined;
|
|
11152
11059
|
message.logo = object.logo ?? undefined;
|
|
11153
|
-
message.splash_screen = object.splash_screen ??
|
|
11060
|
+
message.splash_screen = object.splash_screen ?? undefined;
|
|
11154
11061
|
message.encrypt_private_key = object.encrypt_private_key ?? "";
|
|
11155
11062
|
message.email = object.email ?? undefined;
|
|
11156
11063
|
return message;
|
|
@@ -12273,6 +12180,7 @@ function createBaseClanDesc(): ClanDesc {
|
|
|
12273
12180
|
description: "",
|
|
12274
12181
|
about: "",
|
|
12275
12182
|
short_url: "",
|
|
12183
|
+
prevent_anonymous: false,
|
|
12276
12184
|
};
|
|
12277
12185
|
}
|
|
12278
12186
|
|
|
@@ -12326,6 +12234,9 @@ export const ClanDesc = {
|
|
|
12326
12234
|
if (message.short_url !== "") {
|
|
12327
12235
|
writer.uint32(130).string(message.short_url);
|
|
12328
12236
|
}
|
|
12237
|
+
if (message.prevent_anonymous !== false) {
|
|
12238
|
+
writer.uint32(136).bool(message.prevent_anonymous);
|
|
12239
|
+
}
|
|
12329
12240
|
return writer;
|
|
12330
12241
|
},
|
|
12331
12242
|
|
|
@@ -12448,6 +12359,13 @@ export const ClanDesc = {
|
|
|
12448
12359
|
|
|
12449
12360
|
message.short_url = reader.string();
|
|
12450
12361
|
continue;
|
|
12362
|
+
case 17:
|
|
12363
|
+
if (tag !== 136) {
|
|
12364
|
+
break;
|
|
12365
|
+
}
|
|
12366
|
+
|
|
12367
|
+
message.prevent_anonymous = reader.bool();
|
|
12368
|
+
continue;
|
|
12451
12369
|
}
|
|
12452
12370
|
if ((tag & 7) === 4 || tag === 0) {
|
|
12453
12371
|
break;
|
|
@@ -12475,6 +12393,7 @@ export const ClanDesc = {
|
|
|
12475
12393
|
description: isSet(object.description) ? globalThis.String(object.description) : "",
|
|
12476
12394
|
about: isSet(object.about) ? globalThis.String(object.about) : "",
|
|
12477
12395
|
short_url: isSet(object.short_url) ? globalThis.String(object.short_url) : "",
|
|
12396
|
+
prevent_anonymous: isSet(object.prevent_anonymous) ? globalThis.Boolean(object.prevent_anonymous) : false,
|
|
12478
12397
|
};
|
|
12479
12398
|
},
|
|
12480
12399
|
|
|
@@ -12528,6 +12447,9 @@ export const ClanDesc = {
|
|
|
12528
12447
|
if (message.short_url !== "") {
|
|
12529
12448
|
obj.short_url = message.short_url;
|
|
12530
12449
|
}
|
|
12450
|
+
if (message.prevent_anonymous !== false) {
|
|
12451
|
+
obj.prevent_anonymous = message.prevent_anonymous;
|
|
12452
|
+
}
|
|
12531
12453
|
return obj;
|
|
12532
12454
|
},
|
|
12533
12455
|
|
|
@@ -12552,6 +12474,7 @@ export const ClanDesc = {
|
|
|
12552
12474
|
message.description = object.description ?? "";
|
|
12553
12475
|
message.about = object.about ?? "";
|
|
12554
12476
|
message.short_url = object.short_url ?? "";
|
|
12477
|
+
message.prevent_anonymous = object.prevent_anonymous ?? false;
|
|
12555
12478
|
return message;
|
|
12556
12479
|
},
|
|
12557
12480
|
};
|
|
@@ -12660,6 +12583,7 @@ function createBaseUpdateClanDescRequest(): UpdateClanDescRequest {
|
|
|
12660
12583
|
description: "",
|
|
12661
12584
|
about: "",
|
|
12662
12585
|
short_url: undefined,
|
|
12586
|
+
prevent_anonymous: false,
|
|
12663
12587
|
};
|
|
12664
12588
|
}
|
|
12665
12589
|
|
|
@@ -12704,6 +12628,9 @@ export const UpdateClanDescRequest = {
|
|
|
12704
12628
|
if (message.short_url !== undefined) {
|
|
12705
12629
|
StringValue.encode({ value: message.short_url! }, writer.uint32(106).fork()).ldelim();
|
|
12706
12630
|
}
|
|
12631
|
+
if (message.prevent_anonymous !== false) {
|
|
12632
|
+
writer.uint32(112).bool(message.prevent_anonymous);
|
|
12633
|
+
}
|
|
12707
12634
|
return writer;
|
|
12708
12635
|
},
|
|
12709
12636
|
|
|
@@ -12805,6 +12732,13 @@ export const UpdateClanDescRequest = {
|
|
|
12805
12732
|
|
|
12806
12733
|
message.short_url = StringValue.decode(reader, reader.uint32()).value;
|
|
12807
12734
|
continue;
|
|
12735
|
+
case 14:
|
|
12736
|
+
if (tag !== 112) {
|
|
12737
|
+
break;
|
|
12738
|
+
}
|
|
12739
|
+
|
|
12740
|
+
message.prevent_anonymous = reader.bool();
|
|
12741
|
+
continue;
|
|
12808
12742
|
}
|
|
12809
12743
|
if ((tag & 7) === 4 || tag === 0) {
|
|
12810
12744
|
break;
|
|
@@ -12829,6 +12763,7 @@ export const UpdateClanDescRequest = {
|
|
|
12829
12763
|
description: isSet(object.description) ? globalThis.String(object.description) : "",
|
|
12830
12764
|
about: isSet(object.about) ? globalThis.String(object.about) : "",
|
|
12831
12765
|
short_url: isSet(object.short_url) ? String(object.short_url) : undefined,
|
|
12766
|
+
prevent_anonymous: isSet(object.prevent_anonymous) ? globalThis.Boolean(object.prevent_anonymous) : false,
|
|
12832
12767
|
};
|
|
12833
12768
|
},
|
|
12834
12769
|
|
|
@@ -12873,6 +12808,9 @@ export const UpdateClanDescRequest = {
|
|
|
12873
12808
|
if (message.short_url !== undefined) {
|
|
12874
12809
|
obj.short_url = message.short_url;
|
|
12875
12810
|
}
|
|
12811
|
+
if (message.prevent_anonymous !== false) {
|
|
12812
|
+
obj.prevent_anonymous = message.prevent_anonymous;
|
|
12813
|
+
}
|
|
12876
12814
|
return obj;
|
|
12877
12815
|
},
|
|
12878
12816
|
|
|
@@ -12894,6 +12832,7 @@ export const UpdateClanDescRequest = {
|
|
|
12894
12832
|
message.description = object.description ?? "";
|
|
12895
12833
|
message.about = object.about ?? "";
|
|
12896
12834
|
message.short_url = object.short_url ?? undefined;
|
|
12835
|
+
message.prevent_anonymous = object.prevent_anonymous ?? false;
|
|
12897
12836
|
return message;
|
|
12898
12837
|
},
|
|
12899
12838
|
};
|
|
@@ -411,15 +411,6 @@ export interface FriendList {
|
|
|
411
411
|
cursor: string;
|
|
412
412
|
}
|
|
413
413
|
/** Fetch a batch of zero or more users from the server. */
|
|
414
|
-
export interface GetUsersRequest {
|
|
415
|
-
/** The account id of a user. */
|
|
416
|
-
ids: string[];
|
|
417
|
-
/** The account username of a user. */
|
|
418
|
-
usernames: string[];
|
|
419
|
-
/** The Facebook ID of a user. */
|
|
420
|
-
facebook_ids: string[];
|
|
421
|
-
}
|
|
422
|
-
/** Fetch a batch of zero or more users from the server. */
|
|
423
414
|
export interface UpdateUsersRequest {
|
|
424
415
|
/** The account username of a user. */
|
|
425
416
|
display_name: string;
|
|
@@ -816,13 +807,13 @@ export interface UpdateAccountRequest {
|
|
|
816
807
|
/** The timezone set by the user. */
|
|
817
808
|
timezone: string | undefined;
|
|
818
809
|
/** update about me */
|
|
819
|
-
about_me: string;
|
|
810
|
+
about_me: string | undefined;
|
|
820
811
|
/** date of birth */
|
|
821
812
|
dob: Date | undefined;
|
|
822
813
|
/** logo url */
|
|
823
814
|
logo: string | undefined;
|
|
824
815
|
/** splash screen */
|
|
825
|
-
splash_screen: string;
|
|
816
|
+
splash_screen: string | undefined;
|
|
826
817
|
/** e2ee encrypt private key */
|
|
827
818
|
encrypt_private_key: string;
|
|
828
819
|
/** The email of the user's account. */
|
|
@@ -990,6 +981,8 @@ export interface ClanDesc {
|
|
|
990
981
|
about: string;
|
|
991
982
|
/** short_url */
|
|
992
983
|
short_url: string;
|
|
984
|
+
/** prevent anonymous */
|
|
985
|
+
prevent_anonymous: boolean;
|
|
993
986
|
}
|
|
994
987
|
/** Clan information */
|
|
995
988
|
export interface CreateClanDescRequest {
|
|
@@ -1023,10 +1016,12 @@ export interface UpdateClanDescRequest {
|
|
|
1023
1016
|
community_banner: string | undefined;
|
|
1024
1017
|
/** string description */
|
|
1025
1018
|
description: string;
|
|
1026
|
-
/**
|
|
1019
|
+
/** About */
|
|
1027
1020
|
about: string;
|
|
1028
|
-
/**
|
|
1021
|
+
/** Short url for community */
|
|
1029
1022
|
short_url: string | undefined;
|
|
1023
|
+
/** Prevent anonymous */
|
|
1024
|
+
prevent_anonymous: boolean;
|
|
1030
1025
|
}
|
|
1031
1026
|
/** Delete a clan the user has access to. */
|
|
1032
1027
|
export interface DeleteClanDescRequest {
|
|
@@ -5356,30 +5351,6 @@ export declare const FriendList: {
|
|
|
5356
5351
|
cursor?: string | undefined;
|
|
5357
5352
|
} & { [K_9 in Exclude<keyof I_1, keyof FriendList>]: never; }>(object: I_1): FriendList;
|
|
5358
5353
|
};
|
|
5359
|
-
export declare const GetUsersRequest: {
|
|
5360
|
-
encode(message: GetUsersRequest, writer?: _m0.Writer): _m0.Writer;
|
|
5361
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): GetUsersRequest;
|
|
5362
|
-
fromJSON(object: any): GetUsersRequest;
|
|
5363
|
-
toJSON(message: GetUsersRequest): unknown;
|
|
5364
|
-
create<I extends {
|
|
5365
|
-
ids?: string[] | undefined;
|
|
5366
|
-
usernames?: string[] | undefined;
|
|
5367
|
-
facebook_ids?: string[] | undefined;
|
|
5368
|
-
} & {
|
|
5369
|
-
ids?: (string[] & string[] & { [K in Exclude<keyof I["ids"], keyof string[]>]: never; }) | undefined;
|
|
5370
|
-
usernames?: (string[] & string[] & { [K_1 in Exclude<keyof I["usernames"], keyof string[]>]: never; }) | undefined;
|
|
5371
|
-
facebook_ids?: (string[] & string[] & { [K_2 in Exclude<keyof I["facebook_ids"], keyof string[]>]: never; }) | undefined;
|
|
5372
|
-
} & { [K_3 in Exclude<keyof I, keyof GetUsersRequest>]: never; }>(base?: I | undefined): GetUsersRequest;
|
|
5373
|
-
fromPartial<I_1 extends {
|
|
5374
|
-
ids?: string[] | undefined;
|
|
5375
|
-
usernames?: string[] | undefined;
|
|
5376
|
-
facebook_ids?: string[] | undefined;
|
|
5377
|
-
} & {
|
|
5378
|
-
ids?: (string[] & string[] & { [K_4 in Exclude<keyof I_1["ids"], keyof string[]>]: never; }) | undefined;
|
|
5379
|
-
usernames?: (string[] & string[] & { [K_5 in Exclude<keyof I_1["usernames"], keyof string[]>]: never; }) | undefined;
|
|
5380
|
-
facebook_ids?: (string[] & string[] & { [K_6 in Exclude<keyof I_1["facebook_ids"], keyof string[]>]: never; }) | undefined;
|
|
5381
|
-
} & { [K_7 in Exclude<keyof I_1, keyof GetUsersRequest>]: never; }>(object: I_1): GetUsersRequest;
|
|
5382
|
-
};
|
|
5383
5354
|
export declare const UpdateUsersRequest: {
|
|
5384
5355
|
encode(message: UpdateUsersRequest, writer?: _m0.Writer): _m0.Writer;
|
|
5385
5356
|
decode(input: _m0.Reader | Uint8Array, length?: number): UpdateUsersRequest;
|
|
@@ -9542,6 +9513,7 @@ export declare const ClanDesc: {
|
|
|
9542
9513
|
description?: string | undefined;
|
|
9543
9514
|
about?: string | undefined;
|
|
9544
9515
|
short_url?: string | undefined;
|
|
9516
|
+
prevent_anonymous?: boolean | undefined;
|
|
9545
9517
|
} & {
|
|
9546
9518
|
creator_id?: string | undefined;
|
|
9547
9519
|
clan_name?: string | undefined;
|
|
@@ -9559,6 +9531,7 @@ export declare const ClanDesc: {
|
|
|
9559
9531
|
description?: string | undefined;
|
|
9560
9532
|
about?: string | undefined;
|
|
9561
9533
|
short_url?: string | undefined;
|
|
9534
|
+
prevent_anonymous?: boolean | undefined;
|
|
9562
9535
|
} & { [K in Exclude<keyof I, keyof ClanDesc>]: never; }>(base?: I | undefined): ClanDesc;
|
|
9563
9536
|
fromPartial<I_1 extends {
|
|
9564
9537
|
creator_id?: string | undefined;
|
|
@@ -9577,6 +9550,7 @@ export declare const ClanDesc: {
|
|
|
9577
9550
|
description?: string | undefined;
|
|
9578
9551
|
about?: string | undefined;
|
|
9579
9552
|
short_url?: string | undefined;
|
|
9553
|
+
prevent_anonymous?: boolean | undefined;
|
|
9580
9554
|
} & {
|
|
9581
9555
|
creator_id?: string | undefined;
|
|
9582
9556
|
clan_name?: string | undefined;
|
|
@@ -9594,6 +9568,7 @@ export declare const ClanDesc: {
|
|
|
9594
9568
|
description?: string | undefined;
|
|
9595
9569
|
about?: string | undefined;
|
|
9596
9570
|
short_url?: string | undefined;
|
|
9571
|
+
prevent_anonymous?: boolean | undefined;
|
|
9597
9572
|
} & { [K_1 in Exclude<keyof I_1, keyof ClanDesc>]: never; }>(object: I_1): ClanDesc;
|
|
9598
9573
|
};
|
|
9599
9574
|
export declare const CreateClanDescRequest: {
|
|
@@ -9639,6 +9614,7 @@ export declare const UpdateClanDescRequest: {
|
|
|
9639
9614
|
description?: string | undefined;
|
|
9640
9615
|
about?: string | undefined;
|
|
9641
9616
|
short_url?: string | undefined;
|
|
9617
|
+
prevent_anonymous?: boolean | undefined;
|
|
9642
9618
|
} & {
|
|
9643
9619
|
clan_id?: string | undefined;
|
|
9644
9620
|
clan_name?: string | undefined;
|
|
@@ -9653,6 +9629,7 @@ export declare const UpdateClanDescRequest: {
|
|
|
9653
9629
|
description?: string | undefined;
|
|
9654
9630
|
about?: string | undefined;
|
|
9655
9631
|
short_url?: string | undefined;
|
|
9632
|
+
prevent_anonymous?: boolean | undefined;
|
|
9656
9633
|
} & { [K in Exclude<keyof I, keyof UpdateClanDescRequest>]: never; }>(base?: I | undefined): UpdateClanDescRequest;
|
|
9657
9634
|
fromPartial<I_1 extends {
|
|
9658
9635
|
clan_id?: string | undefined;
|
|
@@ -9668,6 +9645,7 @@ export declare const UpdateClanDescRequest: {
|
|
|
9668
9645
|
description?: string | undefined;
|
|
9669
9646
|
about?: string | undefined;
|
|
9670
9647
|
short_url?: string | undefined;
|
|
9648
|
+
prevent_anonymous?: boolean | undefined;
|
|
9671
9649
|
} & {
|
|
9672
9650
|
clan_id?: string | undefined;
|
|
9673
9651
|
clan_name?: string | undefined;
|
|
@@ -9682,6 +9660,7 @@ export declare const UpdateClanDescRequest: {
|
|
|
9682
9660
|
description?: string | undefined;
|
|
9683
9661
|
about?: string | undefined;
|
|
9684
9662
|
short_url?: string | undefined;
|
|
9663
|
+
prevent_anonymous?: boolean | undefined;
|
|
9685
9664
|
} & { [K_1 in Exclude<keyof I_1, keyof UpdateClanDescRequest>]: never; }>(object: I_1): UpdateClanDescRequest;
|
|
9686
9665
|
};
|
|
9687
9666
|
export declare const DeleteClanDescRequest: {
|
|
@@ -9747,6 +9726,7 @@ export declare const ClanDescList: {
|
|
|
9747
9726
|
description?: string | undefined;
|
|
9748
9727
|
about?: string | undefined;
|
|
9749
9728
|
short_url?: string | undefined;
|
|
9729
|
+
prevent_anonymous?: boolean | undefined;
|
|
9750
9730
|
}[] | undefined;
|
|
9751
9731
|
} & {
|
|
9752
9732
|
clandesc?: ({
|
|
@@ -9766,6 +9746,7 @@ export declare const ClanDescList: {
|
|
|
9766
9746
|
description?: string | undefined;
|
|
9767
9747
|
about?: string | undefined;
|
|
9768
9748
|
short_url?: string | undefined;
|
|
9749
|
+
prevent_anonymous?: boolean | undefined;
|
|
9769
9750
|
}[] & ({
|
|
9770
9751
|
creator_id?: string | undefined;
|
|
9771
9752
|
clan_name?: string | undefined;
|
|
@@ -9783,6 +9764,7 @@ export declare const ClanDescList: {
|
|
|
9783
9764
|
description?: string | undefined;
|
|
9784
9765
|
about?: string | undefined;
|
|
9785
9766
|
short_url?: string | undefined;
|
|
9767
|
+
prevent_anonymous?: boolean | undefined;
|
|
9786
9768
|
} & {
|
|
9787
9769
|
creator_id?: string | undefined;
|
|
9788
9770
|
clan_name?: string | undefined;
|
|
@@ -9800,6 +9782,7 @@ export declare const ClanDescList: {
|
|
|
9800
9782
|
description?: string | undefined;
|
|
9801
9783
|
about?: string | undefined;
|
|
9802
9784
|
short_url?: string | undefined;
|
|
9785
|
+
prevent_anonymous?: boolean | undefined;
|
|
9803
9786
|
} & { [K in Exclude<keyof I["clandesc"][number], keyof ClanDesc>]: never; })[] & { [K_1 in Exclude<keyof I["clandesc"], keyof {
|
|
9804
9787
|
creator_id?: string | undefined;
|
|
9805
9788
|
clan_name?: string | undefined;
|
|
@@ -9817,6 +9800,7 @@ export declare const ClanDescList: {
|
|
|
9817
9800
|
description?: string | undefined;
|
|
9818
9801
|
about?: string | undefined;
|
|
9819
9802
|
short_url?: string | undefined;
|
|
9803
|
+
prevent_anonymous?: boolean | undefined;
|
|
9820
9804
|
}[]>]: never; }) | undefined;
|
|
9821
9805
|
} & { [K_2 in Exclude<keyof I, "clandesc">]: never; }>(base?: I | undefined): ClanDescList;
|
|
9822
9806
|
fromPartial<I_1 extends {
|
|
@@ -9837,6 +9821,7 @@ export declare const ClanDescList: {
|
|
|
9837
9821
|
description?: string | undefined;
|
|
9838
9822
|
about?: string | undefined;
|
|
9839
9823
|
short_url?: string | undefined;
|
|
9824
|
+
prevent_anonymous?: boolean | undefined;
|
|
9840
9825
|
}[] | undefined;
|
|
9841
9826
|
} & {
|
|
9842
9827
|
clandesc?: ({
|
|
@@ -9856,6 +9841,7 @@ export declare const ClanDescList: {
|
|
|
9856
9841
|
description?: string | undefined;
|
|
9857
9842
|
about?: string | undefined;
|
|
9858
9843
|
short_url?: string | undefined;
|
|
9844
|
+
prevent_anonymous?: boolean | undefined;
|
|
9859
9845
|
}[] & ({
|
|
9860
9846
|
creator_id?: string | undefined;
|
|
9861
9847
|
clan_name?: string | undefined;
|
|
@@ -9873,6 +9859,7 @@ export declare const ClanDescList: {
|
|
|
9873
9859
|
description?: string | undefined;
|
|
9874
9860
|
about?: string | undefined;
|
|
9875
9861
|
short_url?: string | undefined;
|
|
9862
|
+
prevent_anonymous?: boolean | undefined;
|
|
9876
9863
|
} & {
|
|
9877
9864
|
creator_id?: string | undefined;
|
|
9878
9865
|
clan_name?: string | undefined;
|
|
@@ -9890,6 +9877,7 @@ export declare const ClanDescList: {
|
|
|
9890
9877
|
description?: string | undefined;
|
|
9891
9878
|
about?: string | undefined;
|
|
9892
9879
|
short_url?: string | undefined;
|
|
9880
|
+
prevent_anonymous?: boolean | undefined;
|
|
9893
9881
|
} & { [K_3 in Exclude<keyof I_1["clandesc"][number], keyof ClanDesc>]: never; })[] & { [K_4 in Exclude<keyof I_1["clandesc"], keyof {
|
|
9894
9882
|
creator_id?: string | undefined;
|
|
9895
9883
|
clan_name?: string | undefined;
|
|
@@ -9907,6 +9895,7 @@ export declare const ClanDescList: {
|
|
|
9907
9895
|
description?: string | undefined;
|
|
9908
9896
|
about?: string | undefined;
|
|
9909
9897
|
short_url?: string | undefined;
|
|
9898
|
+
prevent_anonymous?: boolean | undefined;
|
|
9910
9899
|
}[]>]: never; }) | undefined;
|
|
9911
9900
|
} & { [K_5 in Exclude<keyof I_1, "clandesc">]: never; }>(object: I_1): ClanDescList;
|
|
9912
9901
|
};
|
|
@@ -2374,6 +2374,7 @@ export declare const Envelope: {
|
|
|
2374
2374
|
description?: string | undefined;
|
|
2375
2375
|
about?: string | undefined;
|
|
2376
2376
|
short_url?: string | undefined;
|
|
2377
|
+
prevent_anonymous?: boolean | undefined;
|
|
2377
2378
|
}[] | undefined;
|
|
2378
2379
|
} | undefined;
|
|
2379
2380
|
list_thread_req?: {
|
|
@@ -6573,6 +6574,7 @@ export declare const Envelope: {
|
|
|
6573
6574
|
description?: string | undefined;
|
|
6574
6575
|
about?: string | undefined;
|
|
6575
6576
|
short_url?: string | undefined;
|
|
6577
|
+
prevent_anonymous?: boolean | undefined;
|
|
6576
6578
|
}[] | undefined;
|
|
6577
6579
|
} | undefined;
|
|
6578
6580
|
list_thread_req?: {
|
|
@@ -7431,6 +7433,7 @@ export declare const Envelope: {
|
|
|
7431
7433
|
description?: string | undefined;
|
|
7432
7434
|
about?: string | undefined;
|
|
7433
7435
|
short_url?: string | undefined;
|
|
7436
|
+
prevent_anonymous?: boolean | undefined;
|
|
7434
7437
|
}[] | undefined;
|
|
7435
7438
|
} & {
|
|
7436
7439
|
clandesc?: ({
|
|
@@ -7450,6 +7453,7 @@ export declare const Envelope: {
|
|
|
7450
7453
|
description?: string | undefined;
|
|
7451
7454
|
about?: string | undefined;
|
|
7452
7455
|
short_url?: string | undefined;
|
|
7456
|
+
prevent_anonymous?: boolean | undefined;
|
|
7453
7457
|
}[] & ({
|
|
7454
7458
|
creator_id?: string | undefined;
|
|
7455
7459
|
clan_name?: string | undefined;
|
|
@@ -7467,6 +7471,7 @@ export declare const Envelope: {
|
|
|
7467
7471
|
description?: string | undefined;
|
|
7468
7472
|
about?: string | undefined;
|
|
7469
7473
|
short_url?: string | undefined;
|
|
7474
|
+
prevent_anonymous?: boolean | undefined;
|
|
7470
7475
|
} & {
|
|
7471
7476
|
creator_id?: string | undefined;
|
|
7472
7477
|
clan_name?: string | undefined;
|
|
@@ -7484,6 +7489,7 @@ export declare const Envelope: {
|
|
|
7484
7489
|
description?: string | undefined;
|
|
7485
7490
|
about?: string | undefined;
|
|
7486
7491
|
short_url?: string | undefined;
|
|
7492
|
+
prevent_anonymous?: boolean | undefined;
|
|
7487
7493
|
} & { [K_197 in Exclude<keyof I["list_data_socket"]["clan_desc_list"]["clandesc"][number], keyof import("../api/api").ClanDesc>]: never; })[] & { [K_198 in Exclude<keyof I["list_data_socket"]["clan_desc_list"]["clandesc"], keyof {
|
|
7488
7494
|
creator_id?: string | undefined;
|
|
7489
7495
|
clan_name?: string | undefined;
|
|
@@ -7501,6 +7507,7 @@ export declare const Envelope: {
|
|
|
7501
7507
|
description?: string | undefined;
|
|
7502
7508
|
about?: string | undefined;
|
|
7503
7509
|
short_url?: string | undefined;
|
|
7510
|
+
prevent_anonymous?: boolean | undefined;
|
|
7504
7511
|
}[]>]: never; }) | undefined;
|
|
7505
7512
|
} & { [K_199 in Exclude<keyof I["list_data_socket"]["clan_desc_list"], "clandesc">]: never; }) | undefined;
|
|
7506
7513
|
list_thread_req?: ({
|
|
@@ -12238,6 +12245,7 @@ export declare const Envelope: {
|
|
|
12238
12245
|
description?: string | undefined;
|
|
12239
12246
|
about?: string | undefined;
|
|
12240
12247
|
short_url?: string | undefined;
|
|
12248
|
+
prevent_anonymous?: boolean | undefined;
|
|
12241
12249
|
}[] | undefined;
|
|
12242
12250
|
} | undefined;
|
|
12243
12251
|
list_thread_req?: {
|
|
@@ -16437,6 +16445,7 @@ export declare const Envelope: {
|
|
|
16437
16445
|
description?: string | undefined;
|
|
16438
16446
|
about?: string | undefined;
|
|
16439
16447
|
short_url?: string | undefined;
|
|
16448
|
+
prevent_anonymous?: boolean | undefined;
|
|
16440
16449
|
}[] | undefined;
|
|
16441
16450
|
} | undefined;
|
|
16442
16451
|
list_thread_req?: {
|
|
@@ -17295,6 +17304,7 @@ export declare const Envelope: {
|
|
|
17295
17304
|
description?: string | undefined;
|
|
17296
17305
|
about?: string | undefined;
|
|
17297
17306
|
short_url?: string | undefined;
|
|
17307
|
+
prevent_anonymous?: boolean | undefined;
|
|
17298
17308
|
}[] | undefined;
|
|
17299
17309
|
} & {
|
|
17300
17310
|
clandesc?: ({
|
|
@@ -17314,6 +17324,7 @@ export declare const Envelope: {
|
|
|
17314
17324
|
description?: string | undefined;
|
|
17315
17325
|
about?: string | undefined;
|
|
17316
17326
|
short_url?: string | undefined;
|
|
17327
|
+
prevent_anonymous?: boolean | undefined;
|
|
17317
17328
|
}[] & ({
|
|
17318
17329
|
creator_id?: string | undefined;
|
|
17319
17330
|
clan_name?: string | undefined;
|
|
@@ -17331,6 +17342,7 @@ export declare const Envelope: {
|
|
|
17331
17342
|
description?: string | undefined;
|
|
17332
17343
|
about?: string | undefined;
|
|
17333
17344
|
short_url?: string | undefined;
|
|
17345
|
+
prevent_anonymous?: boolean | undefined;
|
|
17334
17346
|
} & {
|
|
17335
17347
|
creator_id?: string | undefined;
|
|
17336
17348
|
clan_name?: string | undefined;
|
|
@@ -17348,6 +17360,7 @@ export declare const Envelope: {
|
|
|
17348
17360
|
description?: string | undefined;
|
|
17349
17361
|
about?: string | undefined;
|
|
17350
17362
|
short_url?: string | undefined;
|
|
17363
|
+
prevent_anonymous?: boolean | undefined;
|
|
17351
17364
|
} & { [K_593 in Exclude<keyof I_1["list_data_socket"]["clan_desc_list"]["clandesc"][number], keyof import("../api/api").ClanDesc>]: never; })[] & { [K_594 in Exclude<keyof I_1["list_data_socket"]["clan_desc_list"]["clandesc"], keyof {
|
|
17352
17365
|
creator_id?: string | undefined;
|
|
17353
17366
|
clan_name?: string | undefined;
|
|
@@ -17365,6 +17378,7 @@ export declare const Envelope: {
|
|
|
17365
17378
|
description?: string | undefined;
|
|
17366
17379
|
about?: string | undefined;
|
|
17367
17380
|
short_url?: string | undefined;
|
|
17381
|
+
prevent_anonymous?: boolean | undefined;
|
|
17368
17382
|
}[]>]: never; }) | undefined;
|
|
17369
17383
|
} & { [K_595 in Exclude<keyof I_1["list_data_socket"]["clan_desc_list"], "clandesc">]: never; }) | undefined;
|
|
17370
17384
|
list_thread_req?: ({
|
|
@@ -28548,6 +28562,7 @@ export declare const ListDataSocket: {
|
|
|
28548
28562
|
description?: string | undefined;
|
|
28549
28563
|
about?: string | undefined;
|
|
28550
28564
|
short_url?: string | undefined;
|
|
28565
|
+
prevent_anonymous?: boolean | undefined;
|
|
28551
28566
|
}[] | undefined;
|
|
28552
28567
|
} | undefined;
|
|
28553
28568
|
list_thread_req?: {
|
|
@@ -29406,6 +29421,7 @@ export declare const ListDataSocket: {
|
|
|
29406
29421
|
description?: string | undefined;
|
|
29407
29422
|
about?: string | undefined;
|
|
29408
29423
|
short_url?: string | undefined;
|
|
29424
|
+
prevent_anonymous?: boolean | undefined;
|
|
29409
29425
|
}[] | undefined;
|
|
29410
29426
|
} & {
|
|
29411
29427
|
clandesc?: ({
|
|
@@ -29425,6 +29441,7 @@ export declare const ListDataSocket: {
|
|
|
29425
29441
|
description?: string | undefined;
|
|
29426
29442
|
about?: string | undefined;
|
|
29427
29443
|
short_url?: string | undefined;
|
|
29444
|
+
prevent_anonymous?: boolean | undefined;
|
|
29428
29445
|
}[] & ({
|
|
29429
29446
|
creator_id?: string | undefined;
|
|
29430
29447
|
clan_name?: string | undefined;
|
|
@@ -29442,6 +29459,7 @@ export declare const ListDataSocket: {
|
|
|
29442
29459
|
description?: string | undefined;
|
|
29443
29460
|
about?: string | undefined;
|
|
29444
29461
|
short_url?: string | undefined;
|
|
29462
|
+
prevent_anonymous?: boolean | undefined;
|
|
29445
29463
|
} & {
|
|
29446
29464
|
creator_id?: string | undefined;
|
|
29447
29465
|
clan_name?: string | undefined;
|
|
@@ -29459,6 +29477,7 @@ export declare const ListDataSocket: {
|
|
|
29459
29477
|
description?: string | undefined;
|
|
29460
29478
|
about?: string | undefined;
|
|
29461
29479
|
short_url?: string | undefined;
|
|
29480
|
+
prevent_anonymous?: boolean | undefined;
|
|
29462
29481
|
} & { [K_1 in Exclude<keyof I["clan_desc_list"]["clandesc"][number], keyof import("../api/api").ClanDesc>]: never; })[] & { [K_2 in Exclude<keyof I["clan_desc_list"]["clandesc"], keyof {
|
|
29463
29482
|
creator_id?: string | undefined;
|
|
29464
29483
|
clan_name?: string | undefined;
|
|
@@ -29476,6 +29495,7 @@ export declare const ListDataSocket: {
|
|
|
29476
29495
|
description?: string | undefined;
|
|
29477
29496
|
about?: string | undefined;
|
|
29478
29497
|
short_url?: string | undefined;
|
|
29498
|
+
prevent_anonymous?: boolean | undefined;
|
|
29479
29499
|
}[]>]: never; }) | undefined;
|
|
29480
29500
|
} & { [K_3 in Exclude<keyof I["clan_desc_list"], "clandesc">]: never; }) | undefined;
|
|
29481
29501
|
list_thread_req?: ({
|
|
@@ -32888,6 +32908,7 @@ export declare const ListDataSocket: {
|
|
|
32888
32908
|
description?: string | undefined;
|
|
32889
32909
|
about?: string | undefined;
|
|
32890
32910
|
short_url?: string | undefined;
|
|
32911
|
+
prevent_anonymous?: boolean | undefined;
|
|
32891
32912
|
}[] | undefined;
|
|
32892
32913
|
} | undefined;
|
|
32893
32914
|
list_thread_req?: {
|
|
@@ -33746,6 +33767,7 @@ export declare const ListDataSocket: {
|
|
|
33746
33767
|
description?: string | undefined;
|
|
33747
33768
|
about?: string | undefined;
|
|
33748
33769
|
short_url?: string | undefined;
|
|
33770
|
+
prevent_anonymous?: boolean | undefined;
|
|
33749
33771
|
}[] | undefined;
|
|
33750
33772
|
} & {
|
|
33751
33773
|
clandesc?: ({
|
|
@@ -33765,6 +33787,7 @@ export declare const ListDataSocket: {
|
|
|
33765
33787
|
description?: string | undefined;
|
|
33766
33788
|
about?: string | undefined;
|
|
33767
33789
|
short_url?: string | undefined;
|
|
33790
|
+
prevent_anonymous?: boolean | undefined;
|
|
33768
33791
|
}[] & ({
|
|
33769
33792
|
creator_id?: string | undefined;
|
|
33770
33793
|
clan_name?: string | undefined;
|
|
@@ -33782,6 +33805,7 @@ export declare const ListDataSocket: {
|
|
|
33782
33805
|
description?: string | undefined;
|
|
33783
33806
|
about?: string | undefined;
|
|
33784
33807
|
short_url?: string | undefined;
|
|
33808
|
+
prevent_anonymous?: boolean | undefined;
|
|
33785
33809
|
} & {
|
|
33786
33810
|
creator_id?: string | undefined;
|
|
33787
33811
|
clan_name?: string | undefined;
|
|
@@ -33799,6 +33823,7 @@ export declare const ListDataSocket: {
|
|
|
33799
33823
|
description?: string | undefined;
|
|
33800
33824
|
about?: string | undefined;
|
|
33801
33825
|
short_url?: string | undefined;
|
|
33826
|
+
prevent_anonymous?: boolean | undefined;
|
|
33802
33827
|
} & { [K_189 in Exclude<keyof I_1["clan_desc_list"]["clandesc"][number], keyof import("../api/api").ClanDesc>]: never; })[] & { [K_190 in Exclude<keyof I_1["clan_desc_list"]["clandesc"], keyof {
|
|
33803
33828
|
creator_id?: string | undefined;
|
|
33804
33829
|
clan_name?: string | undefined;
|
|
@@ -33816,6 +33841,7 @@ export declare const ListDataSocket: {
|
|
|
33816
33841
|
description?: string | undefined;
|
|
33817
33842
|
about?: string | undefined;
|
|
33818
33843
|
short_url?: string | undefined;
|
|
33844
|
+
prevent_anonymous?: boolean | undefined;
|
|
33819
33845
|
}[]>]: never; }) | undefined;
|
|
33820
33846
|
} & { [K_191 in Exclude<keyof I_1["clan_desc_list"], "clandesc">]: never; }) | undefined;
|
|
33821
33847
|
list_thread_req?: ({
|
|
@@ -6321,7 +6321,8 @@ function createBaseClanDesc() {
|
|
|
6321
6321
|
community_banner: "",
|
|
6322
6322
|
description: "",
|
|
6323
6323
|
about: "",
|
|
6324
|
-
short_url: ""
|
|
6324
|
+
short_url: "",
|
|
6325
|
+
prevent_anonymous: false
|
|
6325
6326
|
};
|
|
6326
6327
|
}
|
|
6327
6328
|
var ClanDesc = {
|
|
@@ -6374,6 +6375,9 @@ var ClanDesc = {
|
|
|
6374
6375
|
if (message.short_url !== "") {
|
|
6375
6376
|
writer.uint32(130).string(message.short_url);
|
|
6376
6377
|
}
|
|
6378
|
+
if (message.prevent_anonymous !== false) {
|
|
6379
|
+
writer.uint32(136).bool(message.prevent_anonymous);
|
|
6380
|
+
}
|
|
6377
6381
|
return writer;
|
|
6378
6382
|
},
|
|
6379
6383
|
decode(input, length) {
|
|
@@ -6479,6 +6483,12 @@ var ClanDesc = {
|
|
|
6479
6483
|
}
|
|
6480
6484
|
message.short_url = reader.string();
|
|
6481
6485
|
continue;
|
|
6486
|
+
case 17:
|
|
6487
|
+
if (tag !== 136) {
|
|
6488
|
+
break;
|
|
6489
|
+
}
|
|
6490
|
+
message.prevent_anonymous = reader.bool();
|
|
6491
|
+
continue;
|
|
6482
6492
|
}
|
|
6483
6493
|
if ((tag & 7) === 4 || tag === 0) {
|
|
6484
6494
|
break;
|
|
@@ -6504,7 +6514,8 @@ var ClanDesc = {
|
|
|
6504
6514
|
community_banner: isSet3(object.community_banner) ? globalThis.String(object.community_banner) : "",
|
|
6505
6515
|
description: isSet3(object.description) ? globalThis.String(object.description) : "",
|
|
6506
6516
|
about: isSet3(object.about) ? globalThis.String(object.about) : "",
|
|
6507
|
-
short_url: isSet3(object.short_url) ? globalThis.String(object.short_url) : ""
|
|
6517
|
+
short_url: isSet3(object.short_url) ? globalThis.String(object.short_url) : "",
|
|
6518
|
+
prevent_anonymous: isSet3(object.prevent_anonymous) ? globalThis.Boolean(object.prevent_anonymous) : false
|
|
6508
6519
|
};
|
|
6509
6520
|
},
|
|
6510
6521
|
toJSON(message) {
|
|
@@ -6557,13 +6568,16 @@ var ClanDesc = {
|
|
|
6557
6568
|
if (message.short_url !== "") {
|
|
6558
6569
|
obj.short_url = message.short_url;
|
|
6559
6570
|
}
|
|
6571
|
+
if (message.prevent_anonymous !== false) {
|
|
6572
|
+
obj.prevent_anonymous = message.prevent_anonymous;
|
|
6573
|
+
}
|
|
6560
6574
|
return obj;
|
|
6561
6575
|
},
|
|
6562
6576
|
create(base) {
|
|
6563
6577
|
return ClanDesc.fromPartial(base != null ? base : {});
|
|
6564
6578
|
},
|
|
6565
6579
|
fromPartial(object) {
|
|
6566
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p;
|
|
6580
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q;
|
|
6567
6581
|
const message = createBaseClanDesc();
|
|
6568
6582
|
message.creator_id = (_a = object.creator_id) != null ? _a : "";
|
|
6569
6583
|
message.clan_name = (_b = object.clan_name) != null ? _b : "";
|
|
@@ -6581,6 +6595,7 @@ var ClanDesc = {
|
|
|
6581
6595
|
message.description = (_n = object.description) != null ? _n : "";
|
|
6582
6596
|
message.about = (_o = object.about) != null ? _o : "";
|
|
6583
6597
|
message.short_url = (_p = object.short_url) != null ? _p : "";
|
|
6598
|
+
message.prevent_anonymous = (_q = object.prevent_anonymous) != null ? _q : false;
|
|
6584
6599
|
return message;
|
|
6585
6600
|
}
|
|
6586
6601
|
};
|
|
@@ -6308,7 +6308,8 @@ function createBaseClanDesc() {
|
|
|
6308
6308
|
community_banner: "",
|
|
6309
6309
|
description: "",
|
|
6310
6310
|
about: "",
|
|
6311
|
-
short_url: ""
|
|
6311
|
+
short_url: "",
|
|
6312
|
+
prevent_anonymous: false
|
|
6312
6313
|
};
|
|
6313
6314
|
}
|
|
6314
6315
|
var ClanDesc = {
|
|
@@ -6361,6 +6362,9 @@ var ClanDesc = {
|
|
|
6361
6362
|
if (message.short_url !== "") {
|
|
6362
6363
|
writer.uint32(130).string(message.short_url);
|
|
6363
6364
|
}
|
|
6365
|
+
if (message.prevent_anonymous !== false) {
|
|
6366
|
+
writer.uint32(136).bool(message.prevent_anonymous);
|
|
6367
|
+
}
|
|
6364
6368
|
return writer;
|
|
6365
6369
|
},
|
|
6366
6370
|
decode(input, length) {
|
|
@@ -6466,6 +6470,12 @@ var ClanDesc = {
|
|
|
6466
6470
|
}
|
|
6467
6471
|
message.short_url = reader.string();
|
|
6468
6472
|
continue;
|
|
6473
|
+
case 17:
|
|
6474
|
+
if (tag !== 136) {
|
|
6475
|
+
break;
|
|
6476
|
+
}
|
|
6477
|
+
message.prevent_anonymous = reader.bool();
|
|
6478
|
+
continue;
|
|
6469
6479
|
}
|
|
6470
6480
|
if ((tag & 7) === 4 || tag === 0) {
|
|
6471
6481
|
break;
|
|
@@ -6491,7 +6501,8 @@ var ClanDesc = {
|
|
|
6491
6501
|
community_banner: isSet3(object.community_banner) ? globalThis.String(object.community_banner) : "",
|
|
6492
6502
|
description: isSet3(object.description) ? globalThis.String(object.description) : "",
|
|
6493
6503
|
about: isSet3(object.about) ? globalThis.String(object.about) : "",
|
|
6494
|
-
short_url: isSet3(object.short_url) ? globalThis.String(object.short_url) : ""
|
|
6504
|
+
short_url: isSet3(object.short_url) ? globalThis.String(object.short_url) : "",
|
|
6505
|
+
prevent_anonymous: isSet3(object.prevent_anonymous) ? globalThis.Boolean(object.prevent_anonymous) : false
|
|
6495
6506
|
};
|
|
6496
6507
|
},
|
|
6497
6508
|
toJSON(message) {
|
|
@@ -6544,13 +6555,16 @@ var ClanDesc = {
|
|
|
6544
6555
|
if (message.short_url !== "") {
|
|
6545
6556
|
obj.short_url = message.short_url;
|
|
6546
6557
|
}
|
|
6558
|
+
if (message.prevent_anonymous !== false) {
|
|
6559
|
+
obj.prevent_anonymous = message.prevent_anonymous;
|
|
6560
|
+
}
|
|
6547
6561
|
return obj;
|
|
6548
6562
|
},
|
|
6549
6563
|
create(base) {
|
|
6550
6564
|
return ClanDesc.fromPartial(base != null ? base : {});
|
|
6551
6565
|
},
|
|
6552
6566
|
fromPartial(object) {
|
|
6553
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p;
|
|
6567
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q;
|
|
6554
6568
|
const message = createBaseClanDesc();
|
|
6555
6569
|
message.creator_id = (_a = object.creator_id) != null ? _a : "";
|
|
6556
6570
|
message.clan_name = (_b = object.clan_name) != null ? _b : "";
|
|
@@ -6568,6 +6582,7 @@ var ClanDesc = {
|
|
|
6568
6582
|
message.description = (_n = object.description) != null ? _n : "";
|
|
6569
6583
|
message.about = (_o = object.about) != null ? _o : "";
|
|
6570
6584
|
message.short_url = (_p = object.short_url) != null ? _p : "";
|
|
6585
|
+
message.prevent_anonymous = (_q = object.prevent_anonymous) != null ? _q : false;
|
|
6571
6586
|
return message;
|
|
6572
6587
|
}
|
|
6573
6588
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mezon-js-protobuf",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.35",
|
|
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",
|