mezon-js-protobuf 1.8.6 → 1.8.8
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 +91 -50
- package/dist/mezon-js-protobuf/api/api.d.ts +51 -25
- package/dist/mezon-js-protobuf/rtapi/realtime.d.ts +1089 -495
- package/dist/mezon-js-protobuf.cjs.js +103 -7
- package/dist/mezon-js-protobuf.esm.mjs +103 -7
- package/package.json +1 -1
- package/rtapi/realtime.ts +127 -7
package/api/api.ts
CHANGED
|
@@ -2473,6 +2473,7 @@ export interface ClanSticker {
|
|
|
2473
2473
|
clan_id: string;
|
|
2474
2474
|
logo: string;
|
|
2475
2475
|
clan_name: string;
|
|
2476
|
+
media_type: number;
|
|
2476
2477
|
}
|
|
2477
2478
|
|
|
2478
2479
|
export interface AllUsersAddChannelRequest {
|
|
@@ -2593,6 +2594,8 @@ export interface ClanStickerAddRequest {
|
|
|
2593
2594
|
clan_id: number;
|
|
2594
2595
|
/** UNIQUE include type number */
|
|
2595
2596
|
id: string;
|
|
2597
|
+
/** media type for image or audio */
|
|
2598
|
+
media_type: number;
|
|
2596
2599
|
}
|
|
2597
2600
|
|
|
2598
2601
|
export interface ClanStickerListByClanIdRequest {
|
|
@@ -2910,18 +2913,18 @@ export interface RoleListEventRequest {
|
|
|
2910
2913
|
/** clan id */
|
|
2911
2914
|
clan_id: string;
|
|
2912
2915
|
/** limit */
|
|
2913
|
-
limit:
|
|
2916
|
+
limit: number;
|
|
2914
2917
|
/** state */
|
|
2915
|
-
state:
|
|
2918
|
+
state: number;
|
|
2916
2919
|
/** cursor */
|
|
2917
2920
|
cursor: string;
|
|
2918
2921
|
}
|
|
2919
2922
|
|
|
2920
2923
|
export interface RoleListEventResponse {
|
|
2921
2924
|
/** limit */
|
|
2922
|
-
limit:
|
|
2925
|
+
limit: number;
|
|
2923
2926
|
/** state */
|
|
2924
|
-
state:
|
|
2927
|
+
state: number;
|
|
2925
2928
|
/** cursor */
|
|
2926
2929
|
cursor: string;
|
|
2927
2930
|
/** clan_id */
|
|
@@ -3576,8 +3579,15 @@ export interface WalletLedgerList {
|
|
|
3576
3579
|
}
|
|
3577
3580
|
|
|
3578
3581
|
export interface WalletLedgerListReq {
|
|
3579
|
-
limit:
|
|
3580
|
-
|
|
3582
|
+
limit:
|
|
3583
|
+
| number
|
|
3584
|
+
| undefined;
|
|
3585
|
+
/**
|
|
3586
|
+
* filter = 0 for all
|
|
3587
|
+
* filter = 1 for sent
|
|
3588
|
+
* filter = 2 for recieve
|
|
3589
|
+
*/
|
|
3590
|
+
filter: number;
|
|
3581
3591
|
transaction_id: string;
|
|
3582
3592
|
page: number | undefined;
|
|
3583
3593
|
}
|
|
@@ -22959,6 +22969,7 @@ function createBaseClanSticker(): ClanSticker {
|
|
|
22959
22969
|
clan_id: "",
|
|
22960
22970
|
logo: "",
|
|
22961
22971
|
clan_name: "",
|
|
22972
|
+
media_type: 0,
|
|
22962
22973
|
};
|
|
22963
22974
|
}
|
|
22964
22975
|
|
|
@@ -22991,6 +23002,9 @@ export const ClanSticker = {
|
|
|
22991
23002
|
if (message.clan_name !== "") {
|
|
22992
23003
|
writer.uint32(74).string(message.clan_name);
|
|
22993
23004
|
}
|
|
23005
|
+
if (message.media_type !== 0) {
|
|
23006
|
+
writer.uint32(80).int32(message.media_type);
|
|
23007
|
+
}
|
|
22994
23008
|
return writer;
|
|
22995
23009
|
},
|
|
22996
23010
|
|
|
@@ -23064,6 +23078,13 @@ export const ClanSticker = {
|
|
|
23064
23078
|
|
|
23065
23079
|
message.clan_name = reader.string();
|
|
23066
23080
|
continue;
|
|
23081
|
+
case 10:
|
|
23082
|
+
if (tag !== 80) {
|
|
23083
|
+
break;
|
|
23084
|
+
}
|
|
23085
|
+
|
|
23086
|
+
message.media_type = reader.int32();
|
|
23087
|
+
continue;
|
|
23067
23088
|
}
|
|
23068
23089
|
if ((tag & 7) === 4 || tag === 0) {
|
|
23069
23090
|
break;
|
|
@@ -23084,6 +23105,7 @@ export const ClanSticker = {
|
|
|
23084
23105
|
clan_id: isSet(object.clan_id) ? globalThis.String(object.clan_id) : "",
|
|
23085
23106
|
logo: isSet(object.logo) ? globalThis.String(object.logo) : "",
|
|
23086
23107
|
clan_name: isSet(object.clan_name) ? globalThis.String(object.clan_name) : "",
|
|
23108
|
+
media_type: isSet(object.media_type) ? globalThis.Number(object.media_type) : 0,
|
|
23087
23109
|
};
|
|
23088
23110
|
},
|
|
23089
23111
|
|
|
@@ -23116,6 +23138,9 @@ export const ClanSticker = {
|
|
|
23116
23138
|
if (message.clan_name !== "") {
|
|
23117
23139
|
obj.clan_name = message.clan_name;
|
|
23118
23140
|
}
|
|
23141
|
+
if (message.media_type !== 0) {
|
|
23142
|
+
obj.media_type = Math.round(message.media_type);
|
|
23143
|
+
}
|
|
23119
23144
|
return obj;
|
|
23120
23145
|
},
|
|
23121
23146
|
|
|
@@ -23133,6 +23158,7 @@ export const ClanSticker = {
|
|
|
23133
23158
|
message.clan_id = object.clan_id ?? "";
|
|
23134
23159
|
message.logo = object.logo ?? "";
|
|
23135
23160
|
message.clan_name = object.clan_name ?? "";
|
|
23161
|
+
message.media_type = object.media_type ?? 0;
|
|
23136
23162
|
return message;
|
|
23137
23163
|
},
|
|
23138
23164
|
};
|
|
@@ -24688,7 +24714,7 @@ export const CheckDuplicateClanNameResponse = {
|
|
|
24688
24714
|
};
|
|
24689
24715
|
|
|
24690
24716
|
function createBaseClanStickerAddRequest(): ClanStickerAddRequest {
|
|
24691
|
-
return { source: "", shortname: "", category: "", clan_id: 0, id: "" };
|
|
24717
|
+
return { source: "", shortname: "", category: "", clan_id: 0, id: "", media_type: 0 };
|
|
24692
24718
|
}
|
|
24693
24719
|
|
|
24694
24720
|
export const ClanStickerAddRequest = {
|
|
@@ -24708,6 +24734,9 @@ export const ClanStickerAddRequest = {
|
|
|
24708
24734
|
if (message.id !== "") {
|
|
24709
24735
|
writer.uint32(42).string(message.id);
|
|
24710
24736
|
}
|
|
24737
|
+
if (message.media_type !== 0) {
|
|
24738
|
+
writer.uint32(48).int32(message.media_type);
|
|
24739
|
+
}
|
|
24711
24740
|
return writer;
|
|
24712
24741
|
},
|
|
24713
24742
|
|
|
@@ -24753,6 +24782,13 @@ export const ClanStickerAddRequest = {
|
|
|
24753
24782
|
|
|
24754
24783
|
message.id = reader.string();
|
|
24755
24784
|
continue;
|
|
24785
|
+
case 6:
|
|
24786
|
+
if (tag !== 48) {
|
|
24787
|
+
break;
|
|
24788
|
+
}
|
|
24789
|
+
|
|
24790
|
+
message.media_type = reader.int32();
|
|
24791
|
+
continue;
|
|
24756
24792
|
}
|
|
24757
24793
|
if ((tag & 7) === 4 || tag === 0) {
|
|
24758
24794
|
break;
|
|
@@ -24769,6 +24805,7 @@ export const ClanStickerAddRequest = {
|
|
|
24769
24805
|
category: isSet(object.category) ? globalThis.String(object.category) : "",
|
|
24770
24806
|
clan_id: isSet(object.clan_id) ? globalThis.Number(object.clan_id) : 0,
|
|
24771
24807
|
id: isSet(object.id) ? globalThis.String(object.id) : "",
|
|
24808
|
+
media_type: isSet(object.media_type) ? globalThis.Number(object.media_type) : 0,
|
|
24772
24809
|
};
|
|
24773
24810
|
},
|
|
24774
24811
|
|
|
@@ -24789,6 +24826,9 @@ export const ClanStickerAddRequest = {
|
|
|
24789
24826
|
if (message.id !== "") {
|
|
24790
24827
|
obj.id = message.id;
|
|
24791
24828
|
}
|
|
24829
|
+
if (message.media_type !== 0) {
|
|
24830
|
+
obj.media_type = Math.round(message.media_type);
|
|
24831
|
+
}
|
|
24792
24832
|
return obj;
|
|
24793
24833
|
},
|
|
24794
24834
|
|
|
@@ -24802,6 +24842,7 @@ export const ClanStickerAddRequest = {
|
|
|
24802
24842
|
message.category = object.category ?? "";
|
|
24803
24843
|
message.clan_id = object.clan_id ?? 0;
|
|
24804
24844
|
message.id = object.id ?? "";
|
|
24845
|
+
message.media_type = object.media_type ?? 0;
|
|
24805
24846
|
return message;
|
|
24806
24847
|
},
|
|
24807
24848
|
};
|
|
@@ -27768,7 +27809,7 @@ export const AllUserClans = {
|
|
|
27768
27809
|
};
|
|
27769
27810
|
|
|
27770
27811
|
function createBaseRoleListEventRequest(): RoleListEventRequest {
|
|
27771
|
-
return { clan_id: "", limit:
|
|
27812
|
+
return { clan_id: "", limit: 0, state: 0, cursor: "" };
|
|
27772
27813
|
}
|
|
27773
27814
|
|
|
27774
27815
|
export const RoleListEventRequest = {
|
|
@@ -27776,11 +27817,11 @@ export const RoleListEventRequest = {
|
|
|
27776
27817
|
if (message.clan_id !== "") {
|
|
27777
27818
|
writer.uint32(10).string(message.clan_id);
|
|
27778
27819
|
}
|
|
27779
|
-
if (message.limit !==
|
|
27780
|
-
writer.uint32(
|
|
27820
|
+
if (message.limit !== 0) {
|
|
27821
|
+
writer.uint32(16).int32(message.limit);
|
|
27781
27822
|
}
|
|
27782
|
-
if (message.state !==
|
|
27783
|
-
writer.uint32(
|
|
27823
|
+
if (message.state !== 0) {
|
|
27824
|
+
writer.uint32(24).int32(message.state);
|
|
27784
27825
|
}
|
|
27785
27826
|
if (message.cursor !== "") {
|
|
27786
27827
|
writer.uint32(34).string(message.cursor);
|
|
@@ -27803,18 +27844,18 @@ export const RoleListEventRequest = {
|
|
|
27803
27844
|
message.clan_id = reader.string();
|
|
27804
27845
|
continue;
|
|
27805
27846
|
case 2:
|
|
27806
|
-
if (tag !==
|
|
27847
|
+
if (tag !== 16) {
|
|
27807
27848
|
break;
|
|
27808
27849
|
}
|
|
27809
27850
|
|
|
27810
|
-
message.limit = reader.
|
|
27851
|
+
message.limit = reader.int32();
|
|
27811
27852
|
continue;
|
|
27812
27853
|
case 3:
|
|
27813
|
-
if (tag !==
|
|
27854
|
+
if (tag !== 24) {
|
|
27814
27855
|
break;
|
|
27815
27856
|
}
|
|
27816
27857
|
|
|
27817
|
-
message.state = reader.
|
|
27858
|
+
message.state = reader.int32();
|
|
27818
27859
|
continue;
|
|
27819
27860
|
case 4:
|
|
27820
27861
|
if (tag !== 34) {
|
|
@@ -27835,8 +27876,8 @@ export const RoleListEventRequest = {
|
|
|
27835
27876
|
fromJSON(object: any): RoleListEventRequest {
|
|
27836
27877
|
return {
|
|
27837
27878
|
clan_id: isSet(object.clan_id) ? globalThis.String(object.clan_id) : "",
|
|
27838
|
-
limit: isSet(object.limit) ? globalThis.
|
|
27839
|
-
state: isSet(object.state) ? globalThis.
|
|
27879
|
+
limit: isSet(object.limit) ? globalThis.Number(object.limit) : 0,
|
|
27880
|
+
state: isSet(object.state) ? globalThis.Number(object.state) : 0,
|
|
27840
27881
|
cursor: isSet(object.cursor) ? globalThis.String(object.cursor) : "",
|
|
27841
27882
|
};
|
|
27842
27883
|
},
|
|
@@ -27846,11 +27887,11 @@ export const RoleListEventRequest = {
|
|
|
27846
27887
|
if (message.clan_id !== "") {
|
|
27847
27888
|
obj.clan_id = message.clan_id;
|
|
27848
27889
|
}
|
|
27849
|
-
if (message.limit !==
|
|
27850
|
-
obj.limit = message.limit;
|
|
27890
|
+
if (message.limit !== 0) {
|
|
27891
|
+
obj.limit = Math.round(message.limit);
|
|
27851
27892
|
}
|
|
27852
|
-
if (message.state !==
|
|
27853
|
-
obj.state = message.state;
|
|
27893
|
+
if (message.state !== 0) {
|
|
27894
|
+
obj.state = Math.round(message.state);
|
|
27854
27895
|
}
|
|
27855
27896
|
if (message.cursor !== "") {
|
|
27856
27897
|
obj.cursor = message.cursor;
|
|
@@ -27864,24 +27905,24 @@ export const RoleListEventRequest = {
|
|
|
27864
27905
|
fromPartial<I extends Exact<DeepPartial<RoleListEventRequest>, I>>(object: I): RoleListEventRequest {
|
|
27865
27906
|
const message = createBaseRoleListEventRequest();
|
|
27866
27907
|
message.clan_id = object.clan_id ?? "";
|
|
27867
|
-
message.limit = object.limit ??
|
|
27868
|
-
message.state = object.state ??
|
|
27908
|
+
message.limit = object.limit ?? 0;
|
|
27909
|
+
message.state = object.state ?? 0;
|
|
27869
27910
|
message.cursor = object.cursor ?? "";
|
|
27870
27911
|
return message;
|
|
27871
27912
|
},
|
|
27872
27913
|
};
|
|
27873
27914
|
|
|
27874
27915
|
function createBaseRoleListEventResponse(): RoleListEventResponse {
|
|
27875
|
-
return { limit:
|
|
27916
|
+
return { limit: 0, state: 0, cursor: "", clanId: "", roles: undefined };
|
|
27876
27917
|
}
|
|
27877
27918
|
|
|
27878
27919
|
export const RoleListEventResponse = {
|
|
27879
27920
|
encode(message: RoleListEventResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
27880
|
-
if (message.limit !==
|
|
27881
|
-
writer.uint32(
|
|
27921
|
+
if (message.limit !== 0) {
|
|
27922
|
+
writer.uint32(8).int32(message.limit);
|
|
27882
27923
|
}
|
|
27883
|
-
if (message.state !==
|
|
27884
|
-
writer.uint32(
|
|
27924
|
+
if (message.state !== 0) {
|
|
27925
|
+
writer.uint32(16).int32(message.state);
|
|
27885
27926
|
}
|
|
27886
27927
|
if (message.cursor !== "") {
|
|
27887
27928
|
writer.uint32(26).string(message.cursor);
|
|
@@ -27903,18 +27944,18 @@ export const RoleListEventResponse = {
|
|
|
27903
27944
|
const tag = reader.uint32();
|
|
27904
27945
|
switch (tag >>> 3) {
|
|
27905
27946
|
case 1:
|
|
27906
|
-
if (tag !==
|
|
27947
|
+
if (tag !== 8) {
|
|
27907
27948
|
break;
|
|
27908
27949
|
}
|
|
27909
27950
|
|
|
27910
|
-
message.limit = reader.
|
|
27951
|
+
message.limit = reader.int32();
|
|
27911
27952
|
continue;
|
|
27912
27953
|
case 2:
|
|
27913
|
-
if (tag !==
|
|
27954
|
+
if (tag !== 16) {
|
|
27914
27955
|
break;
|
|
27915
27956
|
}
|
|
27916
27957
|
|
|
27917
|
-
message.state = reader.
|
|
27958
|
+
message.state = reader.int32();
|
|
27918
27959
|
continue;
|
|
27919
27960
|
case 3:
|
|
27920
27961
|
if (tag !== 26) {
|
|
@@ -27948,8 +27989,8 @@ export const RoleListEventResponse = {
|
|
|
27948
27989
|
|
|
27949
27990
|
fromJSON(object: any): RoleListEventResponse {
|
|
27950
27991
|
return {
|
|
27951
|
-
limit: isSet(object.limit) ? globalThis.
|
|
27952
|
-
state: isSet(object.state) ? globalThis.
|
|
27992
|
+
limit: isSet(object.limit) ? globalThis.Number(object.limit) : 0,
|
|
27993
|
+
state: isSet(object.state) ? globalThis.Number(object.state) : 0,
|
|
27953
27994
|
cursor: isSet(object.cursor) ? globalThis.String(object.cursor) : "",
|
|
27954
27995
|
clanId: isSet(object.clanId) ? globalThis.String(object.clanId) : "",
|
|
27955
27996
|
roles: isSet(object.roles) ? RoleList.fromJSON(object.roles) : undefined,
|
|
@@ -27958,11 +27999,11 @@ export const RoleListEventResponse = {
|
|
|
27958
27999
|
|
|
27959
28000
|
toJSON(message: RoleListEventResponse): unknown {
|
|
27960
28001
|
const obj: any = {};
|
|
27961
|
-
if (message.limit !==
|
|
27962
|
-
obj.limit = message.limit;
|
|
28002
|
+
if (message.limit !== 0) {
|
|
28003
|
+
obj.limit = Math.round(message.limit);
|
|
27963
28004
|
}
|
|
27964
|
-
if (message.state !==
|
|
27965
|
-
obj.state = message.state;
|
|
28005
|
+
if (message.state !== 0) {
|
|
28006
|
+
obj.state = Math.round(message.state);
|
|
27966
28007
|
}
|
|
27967
28008
|
if (message.cursor !== "") {
|
|
27968
28009
|
obj.cursor = message.cursor;
|
|
@@ -27981,8 +28022,8 @@ export const RoleListEventResponse = {
|
|
|
27981
28022
|
},
|
|
27982
28023
|
fromPartial<I extends Exact<DeepPartial<RoleListEventResponse>, I>>(object: I): RoleListEventResponse {
|
|
27983
28024
|
const message = createBaseRoleListEventResponse();
|
|
27984
|
-
message.limit = object.limit ??
|
|
27985
|
-
message.state = object.state ??
|
|
28025
|
+
message.limit = object.limit ?? 0;
|
|
28026
|
+
message.state = object.state ?? 0;
|
|
27986
28027
|
message.cursor = object.cursor ?? "";
|
|
27987
28028
|
message.clanId = object.clanId ?? "";
|
|
27988
28029
|
message.roles = (object.roles !== undefined && object.roles !== null)
|
|
@@ -34524,7 +34565,7 @@ export const WalletLedgerList = {
|
|
|
34524
34565
|
};
|
|
34525
34566
|
|
|
34526
34567
|
function createBaseWalletLedgerListReq(): WalletLedgerListReq {
|
|
34527
|
-
return { limit: undefined,
|
|
34568
|
+
return { limit: undefined, filter: 0, transaction_id: "", page: undefined };
|
|
34528
34569
|
}
|
|
34529
34570
|
|
|
34530
34571
|
export const WalletLedgerListReq = {
|
|
@@ -34532,8 +34573,8 @@ export const WalletLedgerListReq = {
|
|
|
34532
34573
|
if (message.limit !== undefined) {
|
|
34533
34574
|
Int32Value.encode({ value: message.limit! }, writer.uint32(10).fork()).ldelim();
|
|
34534
34575
|
}
|
|
34535
|
-
if (message.
|
|
34536
|
-
writer.uint32(
|
|
34576
|
+
if (message.filter !== 0) {
|
|
34577
|
+
writer.uint32(16).int32(message.filter);
|
|
34537
34578
|
}
|
|
34538
34579
|
if (message.transaction_id !== "") {
|
|
34539
34580
|
writer.uint32(26).string(message.transaction_id);
|
|
@@ -34559,11 +34600,11 @@ export const WalletLedgerListReq = {
|
|
|
34559
34600
|
message.limit = Int32Value.decode(reader, reader.uint32()).value;
|
|
34560
34601
|
continue;
|
|
34561
34602
|
case 2:
|
|
34562
|
-
if (tag !==
|
|
34603
|
+
if (tag !== 16) {
|
|
34563
34604
|
break;
|
|
34564
34605
|
}
|
|
34565
34606
|
|
|
34566
|
-
message.
|
|
34607
|
+
message.filter = reader.int32();
|
|
34567
34608
|
continue;
|
|
34568
34609
|
case 3:
|
|
34569
34610
|
if (tag !== 26) {
|
|
@@ -34591,7 +34632,7 @@ export const WalletLedgerListReq = {
|
|
|
34591
34632
|
fromJSON(object: any): WalletLedgerListReq {
|
|
34592
34633
|
return {
|
|
34593
34634
|
limit: isSet(object.limit) ? Number(object.limit) : undefined,
|
|
34594
|
-
|
|
34635
|
+
filter: isSet(object.filter) ? globalThis.Number(object.filter) : 0,
|
|
34595
34636
|
transaction_id: isSet(object.transaction_id) ? globalThis.String(object.transaction_id) : "",
|
|
34596
34637
|
page: isSet(object.page) ? Number(object.page) : undefined,
|
|
34597
34638
|
};
|
|
@@ -34602,8 +34643,8 @@ export const WalletLedgerListReq = {
|
|
|
34602
34643
|
if (message.limit !== undefined) {
|
|
34603
34644
|
obj.limit = message.limit;
|
|
34604
34645
|
}
|
|
34605
|
-
if (message.
|
|
34606
|
-
obj.
|
|
34646
|
+
if (message.filter !== 0) {
|
|
34647
|
+
obj.filter = Math.round(message.filter);
|
|
34607
34648
|
}
|
|
34608
34649
|
if (message.transaction_id !== "") {
|
|
34609
34650
|
obj.transaction_id = message.transaction_id;
|
|
@@ -34620,7 +34661,7 @@ export const WalletLedgerListReq = {
|
|
|
34620
34661
|
fromPartial<I extends Exact<DeepPartial<WalletLedgerListReq>, I>>(object: I): WalletLedgerListReq {
|
|
34621
34662
|
const message = createBaseWalletLedgerListReq();
|
|
34622
34663
|
message.limit = object.limit ?? undefined;
|
|
34623
|
-
message.
|
|
34664
|
+
message.filter = object.filter ?? 0;
|
|
34624
34665
|
message.transaction_id = object.transaction_id ?? "";
|
|
34625
34666
|
message.page = object.page ?? undefined;
|
|
34626
34667
|
return message;
|
|
@@ -1936,6 +1936,7 @@ export interface ClanSticker {
|
|
|
1936
1936
|
clan_id: string;
|
|
1937
1937
|
logo: string;
|
|
1938
1938
|
clan_name: string;
|
|
1939
|
+
media_type: number;
|
|
1939
1940
|
}
|
|
1940
1941
|
export interface AllUsersAddChannelRequest {
|
|
1941
1942
|
channel_id: string;
|
|
@@ -2040,6 +2041,8 @@ export interface ClanStickerAddRequest {
|
|
|
2040
2041
|
clan_id: number;
|
|
2041
2042
|
/** UNIQUE include type number */
|
|
2042
2043
|
id: string;
|
|
2044
|
+
/** media type for image or audio */
|
|
2045
|
+
media_type: number;
|
|
2043
2046
|
}
|
|
2044
2047
|
export interface ClanStickerListByClanIdRequest {
|
|
2045
2048
|
clan_id: string;
|
|
@@ -2313,17 +2316,17 @@ export interface RoleListEventRequest {
|
|
|
2313
2316
|
/** clan id */
|
|
2314
2317
|
clan_id: string;
|
|
2315
2318
|
/** limit */
|
|
2316
|
-
limit:
|
|
2319
|
+
limit: number;
|
|
2317
2320
|
/** state */
|
|
2318
|
-
state:
|
|
2321
|
+
state: number;
|
|
2319
2322
|
/** cursor */
|
|
2320
2323
|
cursor: string;
|
|
2321
2324
|
}
|
|
2322
2325
|
export interface RoleListEventResponse {
|
|
2323
2326
|
/** limit */
|
|
2324
|
-
limit:
|
|
2327
|
+
limit: number;
|
|
2325
2328
|
/** state */
|
|
2326
|
-
state:
|
|
2329
|
+
state: number;
|
|
2327
2330
|
/** cursor */
|
|
2328
2331
|
cursor: string;
|
|
2329
2332
|
/** clan_id */
|
|
@@ -2881,7 +2884,12 @@ export interface WalletLedgerList {
|
|
|
2881
2884
|
}
|
|
2882
2885
|
export interface WalletLedgerListReq {
|
|
2883
2886
|
limit: number | undefined;
|
|
2884
|
-
|
|
2887
|
+
/**
|
|
2888
|
+
* filter = 0 for all
|
|
2889
|
+
* filter = 1 for sent
|
|
2890
|
+
* filter = 2 for recieve
|
|
2891
|
+
*/
|
|
2892
|
+
filter: number;
|
|
2885
2893
|
transaction_id: string;
|
|
2886
2894
|
page: number | undefined;
|
|
2887
2895
|
}
|
|
@@ -15890,6 +15898,7 @@ export declare const StickerListedResponse: {
|
|
|
15890
15898
|
clan_id?: string | undefined;
|
|
15891
15899
|
logo?: string | undefined;
|
|
15892
15900
|
clan_name?: string | undefined;
|
|
15901
|
+
media_type?: number | undefined;
|
|
15893
15902
|
}[] | undefined;
|
|
15894
15903
|
} & {
|
|
15895
15904
|
stickers?: ({
|
|
@@ -15902,6 +15911,7 @@ export declare const StickerListedResponse: {
|
|
|
15902
15911
|
clan_id?: string | undefined;
|
|
15903
15912
|
logo?: string | undefined;
|
|
15904
15913
|
clan_name?: string | undefined;
|
|
15914
|
+
media_type?: number | undefined;
|
|
15905
15915
|
}[] & ({
|
|
15906
15916
|
id?: string | undefined;
|
|
15907
15917
|
source?: string | undefined;
|
|
@@ -15912,6 +15922,7 @@ export declare const StickerListedResponse: {
|
|
|
15912
15922
|
clan_id?: string | undefined;
|
|
15913
15923
|
logo?: string | undefined;
|
|
15914
15924
|
clan_name?: string | undefined;
|
|
15925
|
+
media_type?: number | undefined;
|
|
15915
15926
|
} & {
|
|
15916
15927
|
id?: string | undefined;
|
|
15917
15928
|
source?: string | undefined;
|
|
@@ -15922,6 +15933,7 @@ export declare const StickerListedResponse: {
|
|
|
15922
15933
|
clan_id?: string | undefined;
|
|
15923
15934
|
logo?: string | undefined;
|
|
15924
15935
|
clan_name?: string | undefined;
|
|
15936
|
+
media_type?: number | undefined;
|
|
15925
15937
|
} & { [K in Exclude<keyof I["stickers"][number], keyof ClanSticker>]: never; })[] & { [K_1 in Exclude<keyof I["stickers"], keyof {
|
|
15926
15938
|
id?: string | undefined;
|
|
15927
15939
|
source?: string | undefined;
|
|
@@ -15932,6 +15944,7 @@ export declare const StickerListedResponse: {
|
|
|
15932
15944
|
clan_id?: string | undefined;
|
|
15933
15945
|
logo?: string | undefined;
|
|
15934
15946
|
clan_name?: string | undefined;
|
|
15947
|
+
media_type?: number | undefined;
|
|
15935
15948
|
}[]>]: never; }) | undefined;
|
|
15936
15949
|
} & { [K_2 in Exclude<keyof I, "stickers">]: never; }>(base?: I | undefined): StickerListedResponse;
|
|
15937
15950
|
fromPartial<I_1 extends {
|
|
@@ -15945,6 +15958,7 @@ export declare const StickerListedResponse: {
|
|
|
15945
15958
|
clan_id?: string | undefined;
|
|
15946
15959
|
logo?: string | undefined;
|
|
15947
15960
|
clan_name?: string | undefined;
|
|
15961
|
+
media_type?: number | undefined;
|
|
15948
15962
|
}[] | undefined;
|
|
15949
15963
|
} & {
|
|
15950
15964
|
stickers?: ({
|
|
@@ -15957,6 +15971,7 @@ export declare const StickerListedResponse: {
|
|
|
15957
15971
|
clan_id?: string | undefined;
|
|
15958
15972
|
logo?: string | undefined;
|
|
15959
15973
|
clan_name?: string | undefined;
|
|
15974
|
+
media_type?: number | undefined;
|
|
15960
15975
|
}[] & ({
|
|
15961
15976
|
id?: string | undefined;
|
|
15962
15977
|
source?: string | undefined;
|
|
@@ -15967,6 +15982,7 @@ export declare const StickerListedResponse: {
|
|
|
15967
15982
|
clan_id?: string | undefined;
|
|
15968
15983
|
logo?: string | undefined;
|
|
15969
15984
|
clan_name?: string | undefined;
|
|
15985
|
+
media_type?: number | undefined;
|
|
15970
15986
|
} & {
|
|
15971
15987
|
id?: string | undefined;
|
|
15972
15988
|
source?: string | undefined;
|
|
@@ -15977,6 +15993,7 @@ export declare const StickerListedResponse: {
|
|
|
15977
15993
|
clan_id?: string | undefined;
|
|
15978
15994
|
logo?: string | undefined;
|
|
15979
15995
|
clan_name?: string | undefined;
|
|
15996
|
+
media_type?: number | undefined;
|
|
15980
15997
|
} & { [K_3 in Exclude<keyof I_1["stickers"][number], keyof ClanSticker>]: never; })[] & { [K_4 in Exclude<keyof I_1["stickers"], keyof {
|
|
15981
15998
|
id?: string | undefined;
|
|
15982
15999
|
source?: string | undefined;
|
|
@@ -15987,6 +16004,7 @@ export declare const StickerListedResponse: {
|
|
|
15987
16004
|
clan_id?: string | undefined;
|
|
15988
16005
|
logo?: string | undefined;
|
|
15989
16006
|
clan_name?: string | undefined;
|
|
16007
|
+
media_type?: number | undefined;
|
|
15990
16008
|
}[]>]: never; }) | undefined;
|
|
15991
16009
|
} & { [K_5 in Exclude<keyof I_1, "stickers">]: never; }>(object: I_1): StickerListedResponse;
|
|
15992
16010
|
};
|
|
@@ -16005,6 +16023,7 @@ export declare const ClanSticker: {
|
|
|
16005
16023
|
clan_id?: string | undefined;
|
|
16006
16024
|
logo?: string | undefined;
|
|
16007
16025
|
clan_name?: string | undefined;
|
|
16026
|
+
media_type?: number | undefined;
|
|
16008
16027
|
} & {
|
|
16009
16028
|
id?: string | undefined;
|
|
16010
16029
|
source?: string | undefined;
|
|
@@ -16015,6 +16034,7 @@ export declare const ClanSticker: {
|
|
|
16015
16034
|
clan_id?: string | undefined;
|
|
16016
16035
|
logo?: string | undefined;
|
|
16017
16036
|
clan_name?: string | undefined;
|
|
16037
|
+
media_type?: number | undefined;
|
|
16018
16038
|
} & { [K in Exclude<keyof I, keyof ClanSticker>]: never; }>(base?: I | undefined): ClanSticker;
|
|
16019
16039
|
fromPartial<I_1 extends {
|
|
16020
16040
|
id?: string | undefined;
|
|
@@ -16026,6 +16046,7 @@ export declare const ClanSticker: {
|
|
|
16026
16046
|
clan_id?: string | undefined;
|
|
16027
16047
|
logo?: string | undefined;
|
|
16028
16048
|
clan_name?: string | undefined;
|
|
16049
|
+
media_type?: number | undefined;
|
|
16029
16050
|
} & {
|
|
16030
16051
|
id?: string | undefined;
|
|
16031
16052
|
source?: string | undefined;
|
|
@@ -16036,6 +16057,7 @@ export declare const ClanSticker: {
|
|
|
16036
16057
|
clan_id?: string | undefined;
|
|
16037
16058
|
logo?: string | undefined;
|
|
16038
16059
|
clan_name?: string | undefined;
|
|
16060
|
+
media_type?: number | undefined;
|
|
16039
16061
|
} & { [K_1 in Exclude<keyof I_1, keyof ClanSticker>]: never; }>(object: I_1): ClanSticker;
|
|
16040
16062
|
};
|
|
16041
16063
|
export declare const AllUsersAddChannelRequest: {
|
|
@@ -16587,12 +16609,14 @@ export declare const ClanStickerAddRequest: {
|
|
|
16587
16609
|
category?: string | undefined;
|
|
16588
16610
|
clan_id?: number | undefined;
|
|
16589
16611
|
id?: string | undefined;
|
|
16612
|
+
media_type?: number | undefined;
|
|
16590
16613
|
} & {
|
|
16591
16614
|
source?: string | undefined;
|
|
16592
16615
|
shortname?: string | undefined;
|
|
16593
16616
|
category?: string | undefined;
|
|
16594
16617
|
clan_id?: number | undefined;
|
|
16595
16618
|
id?: string | undefined;
|
|
16619
|
+
media_type?: number | undefined;
|
|
16596
16620
|
} & { [K in Exclude<keyof I, keyof ClanStickerAddRequest>]: never; }>(base?: I | undefined): ClanStickerAddRequest;
|
|
16597
16621
|
fromPartial<I_1 extends {
|
|
16598
16622
|
source?: string | undefined;
|
|
@@ -16600,12 +16624,14 @@ export declare const ClanStickerAddRequest: {
|
|
|
16600
16624
|
category?: string | undefined;
|
|
16601
16625
|
clan_id?: number | undefined;
|
|
16602
16626
|
id?: string | undefined;
|
|
16627
|
+
media_type?: number | undefined;
|
|
16603
16628
|
} & {
|
|
16604
16629
|
source?: string | undefined;
|
|
16605
16630
|
shortname?: string | undefined;
|
|
16606
16631
|
category?: string | undefined;
|
|
16607
16632
|
clan_id?: number | undefined;
|
|
16608
16633
|
id?: string | undefined;
|
|
16634
|
+
media_type?: number | undefined;
|
|
16609
16635
|
} & { [K_1 in Exclude<keyof I_1, keyof ClanStickerAddRequest>]: never; }>(object: I_1): ClanStickerAddRequest;
|
|
16610
16636
|
};
|
|
16611
16637
|
export declare const ClanStickerListByClanIdRequest: {
|
|
@@ -17943,24 +17969,24 @@ export declare const RoleListEventRequest: {
|
|
|
17943
17969
|
toJSON(message: RoleListEventRequest): unknown;
|
|
17944
17970
|
create<I extends {
|
|
17945
17971
|
clan_id?: string | undefined;
|
|
17946
|
-
limit?:
|
|
17947
|
-
state?:
|
|
17972
|
+
limit?: number | undefined;
|
|
17973
|
+
state?: number | undefined;
|
|
17948
17974
|
cursor?: string | undefined;
|
|
17949
17975
|
} & {
|
|
17950
17976
|
clan_id?: string | undefined;
|
|
17951
|
-
limit?:
|
|
17952
|
-
state?:
|
|
17977
|
+
limit?: number | undefined;
|
|
17978
|
+
state?: number | undefined;
|
|
17953
17979
|
cursor?: string | undefined;
|
|
17954
17980
|
} & { [K in Exclude<keyof I, keyof RoleListEventRequest>]: never; }>(base?: I | undefined): RoleListEventRequest;
|
|
17955
17981
|
fromPartial<I_1 extends {
|
|
17956
17982
|
clan_id?: string | undefined;
|
|
17957
|
-
limit?:
|
|
17958
|
-
state?:
|
|
17983
|
+
limit?: number | undefined;
|
|
17984
|
+
state?: number | undefined;
|
|
17959
17985
|
cursor?: string | undefined;
|
|
17960
17986
|
} & {
|
|
17961
17987
|
clan_id?: string | undefined;
|
|
17962
|
-
limit?:
|
|
17963
|
-
state?:
|
|
17988
|
+
limit?: number | undefined;
|
|
17989
|
+
state?: number | undefined;
|
|
17964
17990
|
cursor?: string | undefined;
|
|
17965
17991
|
} & { [K_1 in Exclude<keyof I_1, keyof RoleListEventRequest>]: never; }>(object: I_1): RoleListEventRequest;
|
|
17966
17992
|
};
|
|
@@ -17970,8 +17996,8 @@ export declare const RoleListEventResponse: {
|
|
|
17970
17996
|
fromJSON(object: any): RoleListEventResponse;
|
|
17971
17997
|
toJSON(message: RoleListEventResponse): unknown;
|
|
17972
17998
|
create<I extends {
|
|
17973
|
-
limit?:
|
|
17974
|
-
state?:
|
|
17999
|
+
limit?: number | undefined;
|
|
18000
|
+
state?: number | undefined;
|
|
17975
18001
|
cursor?: string | undefined;
|
|
17976
18002
|
clanId?: string | undefined;
|
|
17977
18003
|
roles?: {
|
|
@@ -18021,8 +18047,8 @@ export declare const RoleListEventResponse: {
|
|
|
18021
18047
|
cacheable_cursor?: string | undefined;
|
|
18022
18048
|
} | undefined;
|
|
18023
18049
|
} & {
|
|
18024
|
-
limit?:
|
|
18025
|
-
state?:
|
|
18050
|
+
limit?: number | undefined;
|
|
18051
|
+
state?: number | undefined;
|
|
18026
18052
|
cursor?: string | undefined;
|
|
18027
18053
|
clanId?: string | undefined;
|
|
18028
18054
|
roles?: ({
|
|
@@ -18308,8 +18334,8 @@ export declare const RoleListEventResponse: {
|
|
|
18308
18334
|
} & { [K_9 in Exclude<keyof I["roles"], keyof RoleList>]: never; }) | undefined;
|
|
18309
18335
|
} & { [K_10 in Exclude<keyof I, keyof RoleListEventResponse>]: never; }>(base?: I | undefined): RoleListEventResponse;
|
|
18310
18336
|
fromPartial<I_1 extends {
|
|
18311
|
-
limit?:
|
|
18312
|
-
state?:
|
|
18337
|
+
limit?: number | undefined;
|
|
18338
|
+
state?: number | undefined;
|
|
18313
18339
|
cursor?: string | undefined;
|
|
18314
18340
|
clanId?: string | undefined;
|
|
18315
18341
|
roles?: {
|
|
@@ -18359,8 +18385,8 @@ export declare const RoleListEventResponse: {
|
|
|
18359
18385
|
cacheable_cursor?: string | undefined;
|
|
18360
18386
|
} | undefined;
|
|
18361
18387
|
} & {
|
|
18362
|
-
limit?:
|
|
18363
|
-
state?:
|
|
18388
|
+
limit?: number | undefined;
|
|
18389
|
+
state?: number | undefined;
|
|
18364
18390
|
cursor?: string | undefined;
|
|
18365
18391
|
clanId?: string | undefined;
|
|
18366
18392
|
roles?: ({
|
|
@@ -22117,23 +22143,23 @@ export declare const WalletLedgerListReq: {
|
|
|
22117
22143
|
toJSON(message: WalletLedgerListReq): unknown;
|
|
22118
22144
|
create<I extends {
|
|
22119
22145
|
limit?: number | undefined;
|
|
22120
|
-
|
|
22146
|
+
filter?: number | undefined;
|
|
22121
22147
|
transaction_id?: string | undefined;
|
|
22122
22148
|
page?: number | undefined;
|
|
22123
22149
|
} & {
|
|
22124
22150
|
limit?: number | undefined;
|
|
22125
|
-
|
|
22151
|
+
filter?: number | undefined;
|
|
22126
22152
|
transaction_id?: string | undefined;
|
|
22127
22153
|
page?: number | undefined;
|
|
22128
22154
|
} & { [K in Exclude<keyof I, keyof WalletLedgerListReq>]: never; }>(base?: I | undefined): WalletLedgerListReq;
|
|
22129
22155
|
fromPartial<I_1 extends {
|
|
22130
22156
|
limit?: number | undefined;
|
|
22131
|
-
|
|
22157
|
+
filter?: number | undefined;
|
|
22132
22158
|
transaction_id?: string | undefined;
|
|
22133
22159
|
page?: number | undefined;
|
|
22134
22160
|
} & {
|
|
22135
22161
|
limit?: number | undefined;
|
|
22136
|
-
|
|
22162
|
+
filter?: number | undefined;
|
|
22137
22163
|
transaction_id?: string | undefined;
|
|
22138
22164
|
page?: number | undefined;
|
|
22139
22165
|
} & { [K_1 in Exclude<keyof I_1, keyof WalletLedgerListReq>]: never; }>(object: I_1): WalletLedgerListReq;
|