mezon-js-protobuf 1.8.2 → 1.8.3
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
|
@@ -843,6 +843,8 @@ export interface RegistFcmDeviceTokenRequest {
|
|
|
843
843
|
device_id: string;
|
|
844
844
|
/** */
|
|
845
845
|
platform: string;
|
|
846
|
+
/** voip token for IOS */
|
|
847
|
+
voip_token: string;
|
|
846
848
|
}
|
|
847
849
|
|
|
848
850
|
export interface RegistFcmDeviceTokenResponse {
|
|
@@ -8637,7 +8639,7 @@ export const ClanUserList_ClanUser = {
|
|
|
8637
8639
|
};
|
|
8638
8640
|
|
|
8639
8641
|
function createBaseRegistFcmDeviceTokenRequest(): RegistFcmDeviceTokenRequest {
|
|
8640
|
-
return { token: "", device_id: "", platform: "" };
|
|
8642
|
+
return { token: "", device_id: "", platform: "", voip_token: "" };
|
|
8641
8643
|
}
|
|
8642
8644
|
|
|
8643
8645
|
export const RegistFcmDeviceTokenRequest = {
|
|
@@ -8651,6 +8653,9 @@ export const RegistFcmDeviceTokenRequest = {
|
|
|
8651
8653
|
if (message.platform !== "") {
|
|
8652
8654
|
writer.uint32(26).string(message.platform);
|
|
8653
8655
|
}
|
|
8656
|
+
if (message.voip_token !== "") {
|
|
8657
|
+
writer.uint32(34).string(message.voip_token);
|
|
8658
|
+
}
|
|
8654
8659
|
return writer;
|
|
8655
8660
|
},
|
|
8656
8661
|
|
|
@@ -8682,6 +8687,13 @@ export const RegistFcmDeviceTokenRequest = {
|
|
|
8682
8687
|
|
|
8683
8688
|
message.platform = reader.string();
|
|
8684
8689
|
continue;
|
|
8690
|
+
case 4:
|
|
8691
|
+
if (tag !== 34) {
|
|
8692
|
+
break;
|
|
8693
|
+
}
|
|
8694
|
+
|
|
8695
|
+
message.voip_token = reader.string();
|
|
8696
|
+
continue;
|
|
8685
8697
|
}
|
|
8686
8698
|
if ((tag & 7) === 4 || tag === 0) {
|
|
8687
8699
|
break;
|
|
@@ -8696,6 +8708,7 @@ export const RegistFcmDeviceTokenRequest = {
|
|
|
8696
8708
|
token: isSet(object.token) ? globalThis.String(object.token) : "",
|
|
8697
8709
|
device_id: isSet(object.device_id) ? globalThis.String(object.device_id) : "",
|
|
8698
8710
|
platform: isSet(object.platform) ? globalThis.String(object.platform) : "",
|
|
8711
|
+
voip_token: isSet(object.voip_token) ? globalThis.String(object.voip_token) : "",
|
|
8699
8712
|
};
|
|
8700
8713
|
},
|
|
8701
8714
|
|
|
@@ -8710,6 +8723,9 @@ export const RegistFcmDeviceTokenRequest = {
|
|
|
8710
8723
|
if (message.platform !== "") {
|
|
8711
8724
|
obj.platform = message.platform;
|
|
8712
8725
|
}
|
|
8726
|
+
if (message.voip_token !== "") {
|
|
8727
|
+
obj.voip_token = message.voip_token;
|
|
8728
|
+
}
|
|
8713
8729
|
return obj;
|
|
8714
8730
|
},
|
|
8715
8731
|
|
|
@@ -8721,6 +8737,7 @@ export const RegistFcmDeviceTokenRequest = {
|
|
|
8721
8737
|
message.token = object.token ?? "";
|
|
8722
8738
|
message.device_id = object.device_id ?? "";
|
|
8723
8739
|
message.platform = object.platform ?? "";
|
|
8740
|
+
message.voip_token = object.voip_token ?? "";
|
|
8724
8741
|
return message;
|
|
8725
8742
|
},
|
|
8726
8743
|
};
|
|
@@ -583,6 +583,8 @@ export interface RegistFcmDeviceTokenRequest {
|
|
|
583
583
|
device_id: string;
|
|
584
584
|
/** */
|
|
585
585
|
platform: string;
|
|
586
|
+
/** voip token for IOS */
|
|
587
|
+
voip_token: string;
|
|
586
588
|
}
|
|
587
589
|
export interface RegistFcmDeviceTokenResponse {
|
|
588
590
|
/** The token */
|
|
@@ -6985,19 +6987,23 @@ export declare const RegistFcmDeviceTokenRequest: {
|
|
|
6985
6987
|
token?: string | undefined;
|
|
6986
6988
|
device_id?: string | undefined;
|
|
6987
6989
|
platform?: string | undefined;
|
|
6990
|
+
voip_token?: string | undefined;
|
|
6988
6991
|
} & {
|
|
6989
6992
|
token?: string | undefined;
|
|
6990
6993
|
device_id?: string | undefined;
|
|
6991
6994
|
platform?: string | undefined;
|
|
6995
|
+
voip_token?: string | undefined;
|
|
6992
6996
|
} & { [K in Exclude<keyof I, keyof RegistFcmDeviceTokenRequest>]: never; }>(base?: I | undefined): RegistFcmDeviceTokenRequest;
|
|
6993
6997
|
fromPartial<I_1 extends {
|
|
6994
6998
|
token?: string | undefined;
|
|
6995
6999
|
device_id?: string | undefined;
|
|
6996
7000
|
platform?: string | undefined;
|
|
7001
|
+
voip_token?: string | undefined;
|
|
6997
7002
|
} & {
|
|
6998
7003
|
token?: string | undefined;
|
|
6999
7004
|
device_id?: string | undefined;
|
|
7000
7005
|
platform?: string | undefined;
|
|
7006
|
+
voip_token?: string | undefined;
|
|
7001
7007
|
} & { [K_1 in Exclude<keyof I_1, keyof RegistFcmDeviceTokenRequest>]: never; }>(object: I_1): RegistFcmDeviceTokenRequest;
|
|
7002
7008
|
};
|
|
7003
7009
|
export declare const RegistFcmDeviceTokenResponse: {
|
|
@@ -967,6 +967,8 @@ export interface UserProfileRedis {
|
|
|
967
967
|
app_url: string;
|
|
968
968
|
/** is bot */
|
|
969
969
|
is_bot: boolean;
|
|
970
|
+
/** for call DM iOS */
|
|
971
|
+
voip_token: string;
|
|
970
972
|
}
|
|
971
973
|
export interface FCMTokens {
|
|
972
974
|
/** deviceID to follow. */
|
|
@@ -1651,6 +1653,7 @@ export declare const Envelope: {
|
|
|
1651
1653
|
app_token?: string | undefined;
|
|
1652
1654
|
app_url?: string | undefined;
|
|
1653
1655
|
is_bot?: boolean | undefined;
|
|
1656
|
+
voip_token?: string | undefined;
|
|
1654
1657
|
}[] | undefined;
|
|
1655
1658
|
status?: string | undefined;
|
|
1656
1659
|
clan_id?: string | undefined;
|
|
@@ -1676,6 +1679,7 @@ export declare const Envelope: {
|
|
|
1676
1679
|
app_token?: string | undefined;
|
|
1677
1680
|
app_url?: string | undefined;
|
|
1678
1681
|
is_bot?: boolean | undefined;
|
|
1682
|
+
voip_token?: string | undefined;
|
|
1679
1683
|
} | undefined;
|
|
1680
1684
|
create_time_second?: number | undefined;
|
|
1681
1685
|
active?: number | undefined;
|
|
@@ -1746,6 +1750,7 @@ export declare const Envelope: {
|
|
|
1746
1750
|
app_token?: string | undefined;
|
|
1747
1751
|
app_url?: string | undefined;
|
|
1748
1752
|
is_bot?: boolean | undefined;
|
|
1753
|
+
voip_token?: string | undefined;
|
|
1749
1754
|
} | undefined;
|
|
1750
1755
|
invitor?: string | undefined;
|
|
1751
1756
|
} | undefined;
|
|
@@ -3715,6 +3720,7 @@ export declare const Envelope: {
|
|
|
3715
3720
|
app_token?: string | undefined;
|
|
3716
3721
|
app_url?: string | undefined;
|
|
3717
3722
|
is_bot?: boolean | undefined;
|
|
3723
|
+
voip_token?: string | undefined;
|
|
3718
3724
|
}[] | undefined;
|
|
3719
3725
|
status?: string | undefined;
|
|
3720
3726
|
clan_id?: string | undefined;
|
|
@@ -3740,6 +3746,7 @@ export declare const Envelope: {
|
|
|
3740
3746
|
app_token?: string | undefined;
|
|
3741
3747
|
app_url?: string | undefined;
|
|
3742
3748
|
is_bot?: boolean | undefined;
|
|
3749
|
+
voip_token?: string | undefined;
|
|
3743
3750
|
} | undefined;
|
|
3744
3751
|
create_time_second?: number | undefined;
|
|
3745
3752
|
active?: number | undefined;
|
|
@@ -3891,6 +3898,7 @@ export declare const Envelope: {
|
|
|
3891
3898
|
app_token?: string | undefined;
|
|
3892
3899
|
app_url?: string | undefined;
|
|
3893
3900
|
is_bot?: boolean | undefined;
|
|
3901
|
+
voip_token?: string | undefined;
|
|
3894
3902
|
}[] & ({
|
|
3895
3903
|
user_id?: string | undefined;
|
|
3896
3904
|
username?: string | undefined;
|
|
@@ -3913,6 +3921,7 @@ export declare const Envelope: {
|
|
|
3913
3921
|
app_token?: string | undefined;
|
|
3914
3922
|
app_url?: string | undefined;
|
|
3915
3923
|
is_bot?: boolean | undefined;
|
|
3924
|
+
voip_token?: string | undefined;
|
|
3916
3925
|
} & {
|
|
3917
3926
|
user_id?: string | undefined;
|
|
3918
3927
|
username?: string | undefined;
|
|
@@ -3947,6 +3956,7 @@ export declare const Envelope: {
|
|
|
3947
3956
|
app_token?: string | undefined;
|
|
3948
3957
|
app_url?: string | undefined;
|
|
3949
3958
|
is_bot?: boolean | undefined;
|
|
3959
|
+
voip_token?: string | undefined;
|
|
3950
3960
|
} & { [K_97 in Exclude<keyof I["user_channel_added_event"]["users"][number], keyof UserProfileRedis>]: never; })[] & { [K_98 in Exclude<keyof I["user_channel_added_event"]["users"], keyof {
|
|
3951
3961
|
user_id?: string | undefined;
|
|
3952
3962
|
username?: string | undefined;
|
|
@@ -3969,6 +3979,7 @@ export declare const Envelope: {
|
|
|
3969
3979
|
app_token?: string | undefined;
|
|
3970
3980
|
app_url?: string | undefined;
|
|
3971
3981
|
is_bot?: boolean | undefined;
|
|
3982
|
+
voip_token?: string | undefined;
|
|
3972
3983
|
}[]>]: never; }) | undefined;
|
|
3973
3984
|
status?: string | undefined;
|
|
3974
3985
|
clan_id?: string | undefined;
|
|
@@ -3994,6 +4005,7 @@ export declare const Envelope: {
|
|
|
3994
4005
|
app_token?: string | undefined;
|
|
3995
4006
|
app_url?: string | undefined;
|
|
3996
4007
|
is_bot?: boolean | undefined;
|
|
4008
|
+
voip_token?: string | undefined;
|
|
3997
4009
|
} & {
|
|
3998
4010
|
user_id?: string | undefined;
|
|
3999
4011
|
username?: string | undefined;
|
|
@@ -4028,6 +4040,7 @@ export declare const Envelope: {
|
|
|
4028
4040
|
app_token?: string | undefined;
|
|
4029
4041
|
app_url?: string | undefined;
|
|
4030
4042
|
is_bot?: boolean | undefined;
|
|
4043
|
+
voip_token?: string | undefined;
|
|
4031
4044
|
} & { [K_102 in Exclude<keyof I["user_channel_added_event"]["caller"], keyof UserProfileRedis>]: never; }) | undefined;
|
|
4032
4045
|
create_time_second?: number | undefined;
|
|
4033
4046
|
active?: number | undefined;
|
|
@@ -4134,6 +4147,7 @@ export declare const Envelope: {
|
|
|
4134
4147
|
app_token?: string | undefined;
|
|
4135
4148
|
app_url?: string | undefined;
|
|
4136
4149
|
is_bot?: boolean | undefined;
|
|
4150
|
+
voip_token?: string | undefined;
|
|
4137
4151
|
} | undefined;
|
|
4138
4152
|
invitor?: string | undefined;
|
|
4139
4153
|
} & {
|
|
@@ -4160,6 +4174,7 @@ export declare const Envelope: {
|
|
|
4160
4174
|
app_token?: string | undefined;
|
|
4161
4175
|
app_url?: string | undefined;
|
|
4162
4176
|
is_bot?: boolean | undefined;
|
|
4177
|
+
voip_token?: string | undefined;
|
|
4163
4178
|
} & {
|
|
4164
4179
|
user_id?: string | undefined;
|
|
4165
4180
|
username?: string | undefined;
|
|
@@ -4194,6 +4209,7 @@ export declare const Envelope: {
|
|
|
4194
4209
|
app_token?: string | undefined;
|
|
4195
4210
|
app_url?: string | undefined;
|
|
4196
4211
|
is_bot?: boolean | undefined;
|
|
4212
|
+
voip_token?: string | undefined;
|
|
4197
4213
|
} & { [K_116 in Exclude<keyof I["add_clan_user_event"]["user"], keyof UserProfileRedis>]: never; }) | undefined;
|
|
4198
4214
|
invitor?: string | undefined;
|
|
4199
4215
|
} & { [K_117 in Exclude<keyof I["add_clan_user_event"], keyof AddClanUserEvent>]: never; }) | undefined;
|
|
@@ -5642,6 +5658,7 @@ export declare const Envelope: {
|
|
|
5642
5658
|
app_token?: string | undefined;
|
|
5643
5659
|
app_url?: string | undefined;
|
|
5644
5660
|
is_bot?: boolean | undefined;
|
|
5661
|
+
voip_token?: string | undefined;
|
|
5645
5662
|
}[] | undefined;
|
|
5646
5663
|
status?: string | undefined;
|
|
5647
5664
|
clan_id?: string | undefined;
|
|
@@ -5667,6 +5684,7 @@ export declare const Envelope: {
|
|
|
5667
5684
|
app_token?: string | undefined;
|
|
5668
5685
|
app_url?: string | undefined;
|
|
5669
5686
|
is_bot?: boolean | undefined;
|
|
5687
|
+
voip_token?: string | undefined;
|
|
5670
5688
|
} | undefined;
|
|
5671
5689
|
create_time_second?: number | undefined;
|
|
5672
5690
|
active?: number | undefined;
|
|
@@ -5737,6 +5755,7 @@ export declare const Envelope: {
|
|
|
5737
5755
|
app_token?: string | undefined;
|
|
5738
5756
|
app_url?: string | undefined;
|
|
5739
5757
|
is_bot?: boolean | undefined;
|
|
5758
|
+
voip_token?: string | undefined;
|
|
5740
5759
|
} | undefined;
|
|
5741
5760
|
invitor?: string | undefined;
|
|
5742
5761
|
} | undefined;
|
|
@@ -7706,6 +7725,7 @@ export declare const Envelope: {
|
|
|
7706
7725
|
app_token?: string | undefined;
|
|
7707
7726
|
app_url?: string | undefined;
|
|
7708
7727
|
is_bot?: boolean | undefined;
|
|
7728
|
+
voip_token?: string | undefined;
|
|
7709
7729
|
}[] | undefined;
|
|
7710
7730
|
status?: string | undefined;
|
|
7711
7731
|
clan_id?: string | undefined;
|
|
@@ -7731,6 +7751,7 @@ export declare const Envelope: {
|
|
|
7731
7751
|
app_token?: string | undefined;
|
|
7732
7752
|
app_url?: string | undefined;
|
|
7733
7753
|
is_bot?: boolean | undefined;
|
|
7754
|
+
voip_token?: string | undefined;
|
|
7734
7755
|
} | undefined;
|
|
7735
7756
|
create_time_second?: number | undefined;
|
|
7736
7757
|
active?: number | undefined;
|
|
@@ -7882,6 +7903,7 @@ export declare const Envelope: {
|
|
|
7882
7903
|
app_token?: string | undefined;
|
|
7883
7904
|
app_url?: string | undefined;
|
|
7884
7905
|
is_bot?: boolean | undefined;
|
|
7906
|
+
voip_token?: string | undefined;
|
|
7885
7907
|
}[] & ({
|
|
7886
7908
|
user_id?: string | undefined;
|
|
7887
7909
|
username?: string | undefined;
|
|
@@ -7904,6 +7926,7 @@ export declare const Envelope: {
|
|
|
7904
7926
|
app_token?: string | undefined;
|
|
7905
7927
|
app_url?: string | undefined;
|
|
7906
7928
|
is_bot?: boolean | undefined;
|
|
7929
|
+
voip_token?: string | undefined;
|
|
7907
7930
|
} & {
|
|
7908
7931
|
user_id?: string | undefined;
|
|
7909
7932
|
username?: string | undefined;
|
|
@@ -7938,6 +7961,7 @@ export declare const Envelope: {
|
|
|
7938
7961
|
app_token?: string | undefined;
|
|
7939
7962
|
app_url?: string | undefined;
|
|
7940
7963
|
is_bot?: boolean | undefined;
|
|
7964
|
+
voip_token?: string | undefined;
|
|
7941
7965
|
} & { [K_280 in Exclude<keyof I_1["user_channel_added_event"]["users"][number], keyof UserProfileRedis>]: never; })[] & { [K_281 in Exclude<keyof I_1["user_channel_added_event"]["users"], keyof {
|
|
7942
7966
|
user_id?: string | undefined;
|
|
7943
7967
|
username?: string | undefined;
|
|
@@ -7960,6 +7984,7 @@ export declare const Envelope: {
|
|
|
7960
7984
|
app_token?: string | undefined;
|
|
7961
7985
|
app_url?: string | undefined;
|
|
7962
7986
|
is_bot?: boolean | undefined;
|
|
7987
|
+
voip_token?: string | undefined;
|
|
7963
7988
|
}[]>]: never; }) | undefined;
|
|
7964
7989
|
status?: string | undefined;
|
|
7965
7990
|
clan_id?: string | undefined;
|
|
@@ -7985,6 +8010,7 @@ export declare const Envelope: {
|
|
|
7985
8010
|
app_token?: string | undefined;
|
|
7986
8011
|
app_url?: string | undefined;
|
|
7987
8012
|
is_bot?: boolean | undefined;
|
|
8013
|
+
voip_token?: string | undefined;
|
|
7988
8014
|
} & {
|
|
7989
8015
|
user_id?: string | undefined;
|
|
7990
8016
|
username?: string | undefined;
|
|
@@ -8019,6 +8045,7 @@ export declare const Envelope: {
|
|
|
8019
8045
|
app_token?: string | undefined;
|
|
8020
8046
|
app_url?: string | undefined;
|
|
8021
8047
|
is_bot?: boolean | undefined;
|
|
8048
|
+
voip_token?: string | undefined;
|
|
8022
8049
|
} & { [K_285 in Exclude<keyof I_1["user_channel_added_event"]["caller"], keyof UserProfileRedis>]: never; }) | undefined;
|
|
8023
8050
|
create_time_second?: number | undefined;
|
|
8024
8051
|
active?: number | undefined;
|
|
@@ -8125,6 +8152,7 @@ export declare const Envelope: {
|
|
|
8125
8152
|
app_token?: string | undefined;
|
|
8126
8153
|
app_url?: string | undefined;
|
|
8127
8154
|
is_bot?: boolean | undefined;
|
|
8155
|
+
voip_token?: string | undefined;
|
|
8128
8156
|
} | undefined;
|
|
8129
8157
|
invitor?: string | undefined;
|
|
8130
8158
|
} & {
|
|
@@ -8151,6 +8179,7 @@ export declare const Envelope: {
|
|
|
8151
8179
|
app_token?: string | undefined;
|
|
8152
8180
|
app_url?: string | undefined;
|
|
8153
8181
|
is_bot?: boolean | undefined;
|
|
8182
|
+
voip_token?: string | undefined;
|
|
8154
8183
|
} & {
|
|
8155
8184
|
user_id?: string | undefined;
|
|
8156
8185
|
username?: string | undefined;
|
|
@@ -8185,6 +8214,7 @@ export declare const Envelope: {
|
|
|
8185
8214
|
app_token?: string | undefined;
|
|
8186
8215
|
app_url?: string | undefined;
|
|
8187
8216
|
is_bot?: boolean | undefined;
|
|
8217
|
+
voip_token?: string | undefined;
|
|
8188
8218
|
} & { [K_299 in Exclude<keyof I_1["add_clan_user_event"]["user"], keyof UserProfileRedis>]: never; }) | undefined;
|
|
8189
8219
|
invitor?: string | undefined;
|
|
8190
8220
|
} & { [K_300 in Exclude<keyof I_1["add_clan_user_event"], keyof AddClanUserEvent>]: never; }) | undefined;
|
|
@@ -9257,6 +9287,7 @@ export declare const AddClanUserEvent: {
|
|
|
9257
9287
|
app_token?: string | undefined;
|
|
9258
9288
|
app_url?: string | undefined;
|
|
9259
9289
|
is_bot?: boolean | undefined;
|
|
9290
|
+
voip_token?: string | undefined;
|
|
9260
9291
|
} | undefined;
|
|
9261
9292
|
invitor?: string | undefined;
|
|
9262
9293
|
} & {
|
|
@@ -9283,6 +9314,7 @@ export declare const AddClanUserEvent: {
|
|
|
9283
9314
|
app_token?: string | undefined;
|
|
9284
9315
|
app_url?: string | undefined;
|
|
9285
9316
|
is_bot?: boolean | undefined;
|
|
9317
|
+
voip_token?: string | undefined;
|
|
9286
9318
|
} & {
|
|
9287
9319
|
user_id?: string | undefined;
|
|
9288
9320
|
username?: string | undefined;
|
|
@@ -9317,6 +9349,7 @@ export declare const AddClanUserEvent: {
|
|
|
9317
9349
|
app_token?: string | undefined;
|
|
9318
9350
|
app_url?: string | undefined;
|
|
9319
9351
|
is_bot?: boolean | undefined;
|
|
9352
|
+
voip_token?: string | undefined;
|
|
9320
9353
|
} & { [K_3 in Exclude<keyof I["user"], keyof UserProfileRedis>]: never; }) | undefined;
|
|
9321
9354
|
invitor?: string | undefined;
|
|
9322
9355
|
} & { [K_4 in Exclude<keyof I, keyof AddClanUserEvent>]: never; }>(base?: I | undefined): AddClanUserEvent;
|
|
@@ -9344,6 +9377,7 @@ export declare const AddClanUserEvent: {
|
|
|
9344
9377
|
app_token?: string | undefined;
|
|
9345
9378
|
app_url?: string | undefined;
|
|
9346
9379
|
is_bot?: boolean | undefined;
|
|
9380
|
+
voip_token?: string | undefined;
|
|
9347
9381
|
} | undefined;
|
|
9348
9382
|
invitor?: string | undefined;
|
|
9349
9383
|
} & {
|
|
@@ -9370,6 +9404,7 @@ export declare const AddClanUserEvent: {
|
|
|
9370
9404
|
app_token?: string | undefined;
|
|
9371
9405
|
app_url?: string | undefined;
|
|
9372
9406
|
is_bot?: boolean | undefined;
|
|
9407
|
+
voip_token?: string | undefined;
|
|
9373
9408
|
} & {
|
|
9374
9409
|
user_id?: string | undefined;
|
|
9375
9410
|
username?: string | undefined;
|
|
@@ -9404,6 +9439,7 @@ export declare const AddClanUserEvent: {
|
|
|
9404
9439
|
app_token?: string | undefined;
|
|
9405
9440
|
app_url?: string | undefined;
|
|
9406
9441
|
is_bot?: boolean | undefined;
|
|
9442
|
+
voip_token?: string | undefined;
|
|
9407
9443
|
} & { [K_8 in Exclude<keyof I_1["user"], keyof UserProfileRedis>]: never; }) | undefined;
|
|
9408
9444
|
invitor?: string | undefined;
|
|
9409
9445
|
} & { [K_9 in Exclude<keyof I_1, keyof AddClanUserEvent>]: never; }>(object: I_1): AddClanUserEvent;
|
|
@@ -13573,6 +13609,7 @@ export declare const UserChannelAdded: {
|
|
|
13573
13609
|
app_token?: string | undefined;
|
|
13574
13610
|
app_url?: string | undefined;
|
|
13575
13611
|
is_bot?: boolean | undefined;
|
|
13612
|
+
voip_token?: string | undefined;
|
|
13576
13613
|
}[] | undefined;
|
|
13577
13614
|
status?: string | undefined;
|
|
13578
13615
|
clan_id?: string | undefined;
|
|
@@ -13598,6 +13635,7 @@ export declare const UserChannelAdded: {
|
|
|
13598
13635
|
app_token?: string | undefined;
|
|
13599
13636
|
app_url?: string | undefined;
|
|
13600
13637
|
is_bot?: boolean | undefined;
|
|
13638
|
+
voip_token?: string | undefined;
|
|
13601
13639
|
} | undefined;
|
|
13602
13640
|
create_time_second?: number | undefined;
|
|
13603
13641
|
active?: number | undefined;
|
|
@@ -13749,6 +13787,7 @@ export declare const UserChannelAdded: {
|
|
|
13749
13787
|
app_token?: string | undefined;
|
|
13750
13788
|
app_url?: string | undefined;
|
|
13751
13789
|
is_bot?: boolean | undefined;
|
|
13790
|
+
voip_token?: string | undefined;
|
|
13752
13791
|
}[] & ({
|
|
13753
13792
|
user_id?: string | undefined;
|
|
13754
13793
|
username?: string | undefined;
|
|
@@ -13771,6 +13810,7 @@ export declare const UserChannelAdded: {
|
|
|
13771
13810
|
app_token?: string | undefined;
|
|
13772
13811
|
app_url?: string | undefined;
|
|
13773
13812
|
is_bot?: boolean | undefined;
|
|
13813
|
+
voip_token?: string | undefined;
|
|
13774
13814
|
} & {
|
|
13775
13815
|
user_id?: string | undefined;
|
|
13776
13816
|
username?: string | undefined;
|
|
@@ -13805,6 +13845,7 @@ export declare const UserChannelAdded: {
|
|
|
13805
13845
|
app_token?: string | undefined;
|
|
13806
13846
|
app_url?: string | undefined;
|
|
13807
13847
|
is_bot?: boolean | undefined;
|
|
13848
|
+
voip_token?: string | undefined;
|
|
13808
13849
|
} & { [K_15 in Exclude<keyof I["users"][number], keyof UserProfileRedis>]: never; })[] & { [K_16 in Exclude<keyof I["users"], keyof {
|
|
13809
13850
|
user_id?: string | undefined;
|
|
13810
13851
|
username?: string | undefined;
|
|
@@ -13827,6 +13868,7 @@ export declare const UserChannelAdded: {
|
|
|
13827
13868
|
app_token?: string | undefined;
|
|
13828
13869
|
app_url?: string | undefined;
|
|
13829
13870
|
is_bot?: boolean | undefined;
|
|
13871
|
+
voip_token?: string | undefined;
|
|
13830
13872
|
}[]>]: never; }) | undefined;
|
|
13831
13873
|
status?: string | undefined;
|
|
13832
13874
|
clan_id?: string | undefined;
|
|
@@ -13852,6 +13894,7 @@ export declare const UserChannelAdded: {
|
|
|
13852
13894
|
app_token?: string | undefined;
|
|
13853
13895
|
app_url?: string | undefined;
|
|
13854
13896
|
is_bot?: boolean | undefined;
|
|
13897
|
+
voip_token?: string | undefined;
|
|
13855
13898
|
} & {
|
|
13856
13899
|
user_id?: string | undefined;
|
|
13857
13900
|
username?: string | undefined;
|
|
@@ -13886,6 +13929,7 @@ export declare const UserChannelAdded: {
|
|
|
13886
13929
|
app_token?: string | undefined;
|
|
13887
13930
|
app_url?: string | undefined;
|
|
13888
13931
|
is_bot?: boolean | undefined;
|
|
13932
|
+
voip_token?: string | undefined;
|
|
13889
13933
|
} & { [K_20 in Exclude<keyof I["caller"], keyof UserProfileRedis>]: never; }) | undefined;
|
|
13890
13934
|
create_time_second?: number | undefined;
|
|
13891
13935
|
active?: number | undefined;
|
|
@@ -13966,6 +14010,7 @@ export declare const UserChannelAdded: {
|
|
|
13966
14010
|
app_token?: string | undefined;
|
|
13967
14011
|
app_url?: string | undefined;
|
|
13968
14012
|
is_bot?: boolean | undefined;
|
|
14013
|
+
voip_token?: string | undefined;
|
|
13969
14014
|
}[] | undefined;
|
|
13970
14015
|
status?: string | undefined;
|
|
13971
14016
|
clan_id?: string | undefined;
|
|
@@ -13991,6 +14036,7 @@ export declare const UserChannelAdded: {
|
|
|
13991
14036
|
app_token?: string | undefined;
|
|
13992
14037
|
app_url?: string | undefined;
|
|
13993
14038
|
is_bot?: boolean | undefined;
|
|
14039
|
+
voip_token?: string | undefined;
|
|
13994
14040
|
} | undefined;
|
|
13995
14041
|
create_time_second?: number | undefined;
|
|
13996
14042
|
active?: number | undefined;
|
|
@@ -14142,6 +14188,7 @@ export declare const UserChannelAdded: {
|
|
|
14142
14188
|
app_token?: string | undefined;
|
|
14143
14189
|
app_url?: string | undefined;
|
|
14144
14190
|
is_bot?: boolean | undefined;
|
|
14191
|
+
voip_token?: string | undefined;
|
|
14145
14192
|
}[] & ({
|
|
14146
14193
|
user_id?: string | undefined;
|
|
14147
14194
|
username?: string | undefined;
|
|
@@ -14164,6 +14211,7 @@ export declare const UserChannelAdded: {
|
|
|
14164
14211
|
app_token?: string | undefined;
|
|
14165
14212
|
app_url?: string | undefined;
|
|
14166
14213
|
is_bot?: boolean | undefined;
|
|
14214
|
+
voip_token?: string | undefined;
|
|
14167
14215
|
} & {
|
|
14168
14216
|
user_id?: string | undefined;
|
|
14169
14217
|
username?: string | undefined;
|
|
@@ -14198,6 +14246,7 @@ export declare const UserChannelAdded: {
|
|
|
14198
14246
|
app_token?: string | undefined;
|
|
14199
14247
|
app_url?: string | undefined;
|
|
14200
14248
|
is_bot?: boolean | undefined;
|
|
14249
|
+
voip_token?: string | undefined;
|
|
14201
14250
|
} & { [K_37 in Exclude<keyof I_1["users"][number], keyof UserProfileRedis>]: never; })[] & { [K_38 in Exclude<keyof I_1["users"], keyof {
|
|
14202
14251
|
user_id?: string | undefined;
|
|
14203
14252
|
username?: string | undefined;
|
|
@@ -14220,6 +14269,7 @@ export declare const UserChannelAdded: {
|
|
|
14220
14269
|
app_token?: string | undefined;
|
|
14221
14270
|
app_url?: string | undefined;
|
|
14222
14271
|
is_bot?: boolean | undefined;
|
|
14272
|
+
voip_token?: string | undefined;
|
|
14223
14273
|
}[]>]: never; }) | undefined;
|
|
14224
14274
|
status?: string | undefined;
|
|
14225
14275
|
clan_id?: string | undefined;
|
|
@@ -14245,6 +14295,7 @@ export declare const UserChannelAdded: {
|
|
|
14245
14295
|
app_token?: string | undefined;
|
|
14246
14296
|
app_url?: string | undefined;
|
|
14247
14297
|
is_bot?: boolean | undefined;
|
|
14298
|
+
voip_token?: string | undefined;
|
|
14248
14299
|
} & {
|
|
14249
14300
|
user_id?: string | undefined;
|
|
14250
14301
|
username?: string | undefined;
|
|
@@ -14279,6 +14330,7 @@ export declare const UserChannelAdded: {
|
|
|
14279
14330
|
app_token?: string | undefined;
|
|
14280
14331
|
app_url?: string | undefined;
|
|
14281
14332
|
is_bot?: boolean | undefined;
|
|
14333
|
+
voip_token?: string | undefined;
|
|
14282
14334
|
} & { [K_42 in Exclude<keyof I_1["caller"], keyof UserProfileRedis>]: never; }) | undefined;
|
|
14283
14335
|
create_time_second?: number | undefined;
|
|
14284
14336
|
active?: number | undefined;
|
|
@@ -14475,6 +14527,7 @@ export declare const UserProfileRedis: {
|
|
|
14475
14527
|
app_token?: string | undefined;
|
|
14476
14528
|
app_url?: string | undefined;
|
|
14477
14529
|
is_bot?: boolean | undefined;
|
|
14530
|
+
voip_token?: string | undefined;
|
|
14478
14531
|
} & {
|
|
14479
14532
|
user_id?: string | undefined;
|
|
14480
14533
|
username?: string | undefined;
|
|
@@ -14509,6 +14562,7 @@ export declare const UserProfileRedis: {
|
|
|
14509
14562
|
app_token?: string | undefined;
|
|
14510
14563
|
app_url?: string | undefined;
|
|
14511
14564
|
is_bot?: boolean | undefined;
|
|
14565
|
+
voip_token?: string | undefined;
|
|
14512
14566
|
} & { [K_3 in Exclude<keyof I, keyof UserProfileRedis>]: never; }>(base?: I | undefined): UserProfileRedis;
|
|
14513
14567
|
fromPartial<I_1 extends {
|
|
14514
14568
|
user_id?: string | undefined;
|
|
@@ -14532,6 +14586,7 @@ export declare const UserProfileRedis: {
|
|
|
14532
14586
|
app_token?: string | undefined;
|
|
14533
14587
|
app_url?: string | undefined;
|
|
14534
14588
|
is_bot?: boolean | undefined;
|
|
14589
|
+
voip_token?: string | undefined;
|
|
14535
14590
|
} & {
|
|
14536
14591
|
user_id?: string | undefined;
|
|
14537
14592
|
username?: string | undefined;
|
|
@@ -14566,6 +14621,7 @@ export declare const UserProfileRedis: {
|
|
|
14566
14621
|
app_token?: string | undefined;
|
|
14567
14622
|
app_url?: string | undefined;
|
|
14568
14623
|
is_bot?: boolean | undefined;
|
|
14624
|
+
voip_token?: string | undefined;
|
|
14569
14625
|
} & { [K_7 in Exclude<keyof I_1, keyof UserProfileRedis>]: never; }>(object: I_1): UserProfileRedis;
|
|
14570
14626
|
};
|
|
14571
14627
|
export declare const FCMTokens: {
|
|
@@ -14152,7 +14152,8 @@ function createBaseUserProfileRedis() {
|
|
|
14152
14152
|
mezon_id: "",
|
|
14153
14153
|
app_token: "",
|
|
14154
14154
|
app_url: "",
|
|
14155
|
-
is_bot: false
|
|
14155
|
+
is_bot: false,
|
|
14156
|
+
voip_token: ""
|
|
14156
14157
|
};
|
|
14157
14158
|
}
|
|
14158
14159
|
var UserProfileRedis = {
|
|
@@ -14208,6 +14209,9 @@ var UserProfileRedis = {
|
|
|
14208
14209
|
if (message.is_bot !== false) {
|
|
14209
14210
|
writer.uint32(136).bool(message.is_bot);
|
|
14210
14211
|
}
|
|
14212
|
+
if (message.voip_token !== "") {
|
|
14213
|
+
writer.uint32(146).string(message.voip_token);
|
|
14214
|
+
}
|
|
14211
14215
|
return writer;
|
|
14212
14216
|
},
|
|
14213
14217
|
decode(input, length) {
|
|
@@ -14319,6 +14323,12 @@ var UserProfileRedis = {
|
|
|
14319
14323
|
}
|
|
14320
14324
|
message.is_bot = reader.bool();
|
|
14321
14325
|
continue;
|
|
14326
|
+
case 18:
|
|
14327
|
+
if (tag !== 146) {
|
|
14328
|
+
break;
|
|
14329
|
+
}
|
|
14330
|
+
message.voip_token = reader.string();
|
|
14331
|
+
continue;
|
|
14322
14332
|
}
|
|
14323
14333
|
if ((tag & 7) === 4 || tag === 0) {
|
|
14324
14334
|
break;
|
|
@@ -14345,7 +14355,8 @@ var UserProfileRedis = {
|
|
|
14345
14355
|
mezon_id: isSet4(object.mezon_id) ? globalThis.String(object.mezon_id) : "",
|
|
14346
14356
|
app_token: isSet4(object.app_token) ? globalThis.String(object.app_token) : "",
|
|
14347
14357
|
app_url: isSet4(object.app_url) ? globalThis.String(object.app_url) : "",
|
|
14348
|
-
is_bot: isSet4(object.is_bot) ? globalThis.Boolean(object.is_bot) : false
|
|
14358
|
+
is_bot: isSet4(object.is_bot) ? globalThis.Boolean(object.is_bot) : false,
|
|
14359
|
+
voip_token: isSet4(object.voip_token) ? globalThis.String(object.voip_token) : ""
|
|
14349
14360
|
};
|
|
14350
14361
|
},
|
|
14351
14362
|
toJSON(message) {
|
|
@@ -14402,13 +14413,16 @@ var UserProfileRedis = {
|
|
|
14402
14413
|
if (message.is_bot !== false) {
|
|
14403
14414
|
obj.is_bot = message.is_bot;
|
|
14404
14415
|
}
|
|
14416
|
+
if (message.voip_token !== "") {
|
|
14417
|
+
obj.voip_token = message.voip_token;
|
|
14418
|
+
}
|
|
14405
14419
|
return obj;
|
|
14406
14420
|
},
|
|
14407
14421
|
create(base) {
|
|
14408
14422
|
return UserProfileRedis.fromPartial(base != null ? base : {});
|
|
14409
14423
|
},
|
|
14410
14424
|
fromPartial(object) {
|
|
14411
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q;
|
|
14425
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r;
|
|
14412
14426
|
const message = createBaseUserProfileRedis();
|
|
14413
14427
|
message.user_id = (_a = object.user_id) != null ? _a : "";
|
|
14414
14428
|
message.username = (_b = object.username) != null ? _b : "";
|
|
@@ -14427,6 +14441,7 @@ var UserProfileRedis = {
|
|
|
14427
14441
|
message.app_token = (_o = object.app_token) != null ? _o : "";
|
|
14428
14442
|
message.app_url = (_p = object.app_url) != null ? _p : "";
|
|
14429
14443
|
message.is_bot = (_q = object.is_bot) != null ? _q : false;
|
|
14444
|
+
message.voip_token = (_r = object.voip_token) != null ? _r : "";
|
|
14430
14445
|
return message;
|
|
14431
14446
|
}
|
|
14432
14447
|
};
|
|
@@ -14139,7 +14139,8 @@ function createBaseUserProfileRedis() {
|
|
|
14139
14139
|
mezon_id: "",
|
|
14140
14140
|
app_token: "",
|
|
14141
14141
|
app_url: "",
|
|
14142
|
-
is_bot: false
|
|
14142
|
+
is_bot: false,
|
|
14143
|
+
voip_token: ""
|
|
14143
14144
|
};
|
|
14144
14145
|
}
|
|
14145
14146
|
var UserProfileRedis = {
|
|
@@ -14195,6 +14196,9 @@ var UserProfileRedis = {
|
|
|
14195
14196
|
if (message.is_bot !== false) {
|
|
14196
14197
|
writer.uint32(136).bool(message.is_bot);
|
|
14197
14198
|
}
|
|
14199
|
+
if (message.voip_token !== "") {
|
|
14200
|
+
writer.uint32(146).string(message.voip_token);
|
|
14201
|
+
}
|
|
14198
14202
|
return writer;
|
|
14199
14203
|
},
|
|
14200
14204
|
decode(input, length) {
|
|
@@ -14306,6 +14310,12 @@ var UserProfileRedis = {
|
|
|
14306
14310
|
}
|
|
14307
14311
|
message.is_bot = reader.bool();
|
|
14308
14312
|
continue;
|
|
14313
|
+
case 18:
|
|
14314
|
+
if (tag !== 146) {
|
|
14315
|
+
break;
|
|
14316
|
+
}
|
|
14317
|
+
message.voip_token = reader.string();
|
|
14318
|
+
continue;
|
|
14309
14319
|
}
|
|
14310
14320
|
if ((tag & 7) === 4 || tag === 0) {
|
|
14311
14321
|
break;
|
|
@@ -14332,7 +14342,8 @@ var UserProfileRedis = {
|
|
|
14332
14342
|
mezon_id: isSet4(object.mezon_id) ? globalThis.String(object.mezon_id) : "",
|
|
14333
14343
|
app_token: isSet4(object.app_token) ? globalThis.String(object.app_token) : "",
|
|
14334
14344
|
app_url: isSet4(object.app_url) ? globalThis.String(object.app_url) : "",
|
|
14335
|
-
is_bot: isSet4(object.is_bot) ? globalThis.Boolean(object.is_bot) : false
|
|
14345
|
+
is_bot: isSet4(object.is_bot) ? globalThis.Boolean(object.is_bot) : false,
|
|
14346
|
+
voip_token: isSet4(object.voip_token) ? globalThis.String(object.voip_token) : ""
|
|
14336
14347
|
};
|
|
14337
14348
|
},
|
|
14338
14349
|
toJSON(message) {
|
|
@@ -14389,13 +14400,16 @@ var UserProfileRedis = {
|
|
|
14389
14400
|
if (message.is_bot !== false) {
|
|
14390
14401
|
obj.is_bot = message.is_bot;
|
|
14391
14402
|
}
|
|
14403
|
+
if (message.voip_token !== "") {
|
|
14404
|
+
obj.voip_token = message.voip_token;
|
|
14405
|
+
}
|
|
14392
14406
|
return obj;
|
|
14393
14407
|
},
|
|
14394
14408
|
create(base) {
|
|
14395
14409
|
return UserProfileRedis.fromPartial(base != null ? base : {});
|
|
14396
14410
|
},
|
|
14397
14411
|
fromPartial(object) {
|
|
14398
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q;
|
|
14412
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r;
|
|
14399
14413
|
const message = createBaseUserProfileRedis();
|
|
14400
14414
|
message.user_id = (_a = object.user_id) != null ? _a : "";
|
|
14401
14415
|
message.username = (_b = object.username) != null ? _b : "";
|
|
@@ -14414,6 +14428,7 @@ var UserProfileRedis = {
|
|
|
14414
14428
|
message.app_token = (_o = object.app_token) != null ? _o : "";
|
|
14415
14429
|
message.app_url = (_p = object.app_url) != null ? _p : "";
|
|
14416
14430
|
message.is_bot = (_q = object.is_bot) != null ? _q : false;
|
|
14431
|
+
message.voip_token = (_r = object.voip_token) != null ? _r : "";
|
|
14417
14432
|
return message;
|
|
14418
14433
|
}
|
|
14419
14434
|
};
|
package/package.json
CHANGED
package/rtapi/realtime.ts
CHANGED
|
@@ -1292,6 +1292,8 @@ export interface UserProfileRedis {
|
|
|
1292
1292
|
app_url: string;
|
|
1293
1293
|
/** is bot */
|
|
1294
1294
|
is_bot: boolean;
|
|
1295
|
+
/** for call DM iOS */
|
|
1296
|
+
voip_token: string;
|
|
1295
1297
|
}
|
|
1296
1298
|
|
|
1297
1299
|
export interface FCMTokens {
|
|
@@ -10560,6 +10562,7 @@ function createBaseUserProfileRedis(): UserProfileRedis {
|
|
|
10560
10562
|
app_token: "",
|
|
10561
10563
|
app_url: "",
|
|
10562
10564
|
is_bot: false,
|
|
10565
|
+
voip_token: "",
|
|
10563
10566
|
};
|
|
10564
10567
|
}
|
|
10565
10568
|
|
|
@@ -10616,6 +10619,9 @@ export const UserProfileRedis = {
|
|
|
10616
10619
|
if (message.is_bot !== false) {
|
|
10617
10620
|
writer.uint32(136).bool(message.is_bot);
|
|
10618
10621
|
}
|
|
10622
|
+
if (message.voip_token !== "") {
|
|
10623
|
+
writer.uint32(146).string(message.voip_token);
|
|
10624
|
+
}
|
|
10619
10625
|
return writer;
|
|
10620
10626
|
},
|
|
10621
10627
|
|
|
@@ -10745,6 +10751,13 @@ export const UserProfileRedis = {
|
|
|
10745
10751
|
|
|
10746
10752
|
message.is_bot = reader.bool();
|
|
10747
10753
|
continue;
|
|
10754
|
+
case 18:
|
|
10755
|
+
if (tag !== 146) {
|
|
10756
|
+
break;
|
|
10757
|
+
}
|
|
10758
|
+
|
|
10759
|
+
message.voip_token = reader.string();
|
|
10760
|
+
continue;
|
|
10748
10761
|
}
|
|
10749
10762
|
if ((tag & 7) === 4 || tag === 0) {
|
|
10750
10763
|
break;
|
|
@@ -10777,6 +10790,7 @@ export const UserProfileRedis = {
|
|
|
10777
10790
|
app_token: isSet(object.app_token) ? globalThis.String(object.app_token) : "",
|
|
10778
10791
|
app_url: isSet(object.app_url) ? globalThis.String(object.app_url) : "",
|
|
10779
10792
|
is_bot: isSet(object.is_bot) ? globalThis.Boolean(object.is_bot) : false,
|
|
10793
|
+
voip_token: isSet(object.voip_token) ? globalThis.String(object.voip_token) : "",
|
|
10780
10794
|
};
|
|
10781
10795
|
},
|
|
10782
10796
|
|
|
@@ -10833,6 +10847,9 @@ export const UserProfileRedis = {
|
|
|
10833
10847
|
if (message.is_bot !== false) {
|
|
10834
10848
|
obj.is_bot = message.is_bot;
|
|
10835
10849
|
}
|
|
10850
|
+
if (message.voip_token !== "") {
|
|
10851
|
+
obj.voip_token = message.voip_token;
|
|
10852
|
+
}
|
|
10836
10853
|
return obj;
|
|
10837
10854
|
},
|
|
10838
10855
|
|
|
@@ -10858,6 +10875,7 @@ export const UserProfileRedis = {
|
|
|
10858
10875
|
message.app_token = object.app_token ?? "";
|
|
10859
10876
|
message.app_url = object.app_url ?? "";
|
|
10860
10877
|
message.is_bot = object.is_bot ?? false;
|
|
10878
|
+
message.voip_token = object.voip_token ?? "";
|
|
10861
10879
|
return message;
|
|
10862
10880
|
},
|
|
10863
10881
|
};
|