@dcl/protocol 1.0.0-22917704966.commit-8d5910d → 1.0.0-23295977779.commit-76299d9
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/out-js/decentraland/common/texture.gen.d.ts +0 -18
- package/out-js/decentraland/common/texture.gen.js +4 -104
- package/out-js/decentraland/common/texture.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.d.ts +0 -109
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +1 -383
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js.map +1 -1
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.d.ts +19 -0
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +146 -11
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.d.ts +0 -2
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js +2 -19
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.d.ts +0 -41
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +3 -241
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_shape.gen.d.ts +0 -2
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js +1 -19
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.d.ts +1 -35
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +3 -172
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/common/input_action.gen.d.ts +0 -4
- package/out-js/decentraland/sdk/components/common/input_action.gen.js +0 -24
- package/out-js/decentraland/sdk/components/common/input_action.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.d.ts +0 -19
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js +3 -90
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/material.gen.d.ts +0 -20
- package/out-js/decentraland/sdk/components/material.gen.js +2 -86
- package/out-js/decentraland/sdk/components/material.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +0 -18
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js +4 -90
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.d.ts +3 -19
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +4 -90
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/raycast.gen.d.ts +0 -13
- package/out-js/decentraland/sdk/components/raycast.gen.js +2 -64
- package/out-js/decentraland/sdk/components/raycast.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_text.gen.d.ts +0 -4
- package/out-js/decentraland/sdk/components/ui_text.gen.js +1 -30
- package/out-js/decentraland/sdk/components/ui_text.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_transform.gen.d.ts +0 -33
- package/out-js/decentraland/sdk/components/ui_transform.gen.js +3 -176
- package/out-js/decentraland/sdk/components/ui_transform.gen.js.map +1 -1
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.d.ts +9 -0
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.js +76 -7
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.js.map +1 -1
- package/out-ts/decentraland/common/texture.gen.ts +4 -119
- package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +0 -410
- package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +153 -1
- package/out-ts/decentraland/sdk/components/avatar_equipped_data.gen.ts +1 -20
- package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +1 -292
- package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +1 -23
- package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +2 -218
- package/out-ts/decentraland/sdk/components/common/input_action.gen.ts +0 -24
- package/out-ts/decentraland/sdk/components/gltf_container_loading_state.gen.ts +2 -108
- package/out-ts/decentraland/sdk/components/material.gen.ts +1 -102
- package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +0 -99
- package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +3 -100
- package/out-ts/decentraland/sdk/components/raycast.gen.ts +1 -73
- package/out-ts/decentraland/sdk/components/ui_text.gen.ts +1 -40
- package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +0 -193
- package/out-ts/decentraland/social_service/v2/social_service_v2.gen.ts +75 -2
- package/package.json +3 -6
- package/proto/decentraland/common/texture.proto +1 -8
- package/proto/decentraland/kernel/apis/restricted_actions.proto +1 -39
- package/proto/decentraland/kernel/comms/rfc4/comms.proto +15 -1
- package/proto/decentraland/sdk/components/avatar_equipped_data.proto +1 -2
- package/proto/decentraland/sdk/components/avatar_modifier_area.proto +0 -21
- package/proto/decentraland/sdk/components/avatar_shape.proto +0 -1
- package/proto/decentraland/sdk/components/camera_mode_area.proto +3 -22
- package/proto/decentraland/sdk/components/common/input_action.proto +0 -4
- package/proto/decentraland/sdk/components/gltf_container_loading_state.proto +0 -13
- package/proto/decentraland/sdk/components/material.proto +1 -13
- package/proto/decentraland/sdk/components/mesh_collider.proto +0 -7
- package/proto/decentraland/sdk/components/mesh_renderer.proto +3 -8
- package/proto/decentraland/sdk/components/primary_pointer_info.proto +0 -5
- package/proto/decentraland/sdk/components/raycast.proto +0 -13
- package/proto/decentraland/sdk/components/ui_text.proto +0 -3
- package/proto/decentraland/sdk/components/ui_transform.proto +0 -20
- package/proto/decentraland/social_service/v2/social_service_v2.proto +7 -0
- package/public/sdk-components.proto +0 -4
- package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.d.ts +0 -45
- package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.js +0 -138
- package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.js.map +0 -1
- package/out-js/decentraland/sdk/components/avatar_movement.gen.d.ts +0 -36
- package/out-js/decentraland/sdk/components/avatar_movement.gen.js +0 -113
- package/out-js/decentraland/sdk/components/avatar_movement.gen.js.map +0 -1
- package/out-js/decentraland/sdk/components/avatar_movement_info.gen.d.ts +0 -48
- package/out-js/decentraland/sdk/components/avatar_movement_info.gen.js +0 -207
- package/out-js/decentraland/sdk/components/avatar_movement_info.gen.js.map +0 -1
- package/out-js/decentraland/sdk/components/gltf_node.gen.d.ts +0 -66
- package/out-js/decentraland/sdk/components/gltf_node.gen.js +0 -69
- package/out-js/decentraland/sdk/components/gltf_node.gen.js.map +0 -1
- package/out-js/decentraland/sdk/components/gltf_node_state.gen.d.ts +0 -43
- package/out-js/decentraland/sdk/components/gltf_node_state.gen.js +0 -122
- package/out-js/decentraland/sdk/components/gltf_node_state.gen.js.map +0 -1
- package/out-js/decentraland/sdk/components/input_modifier.gen.d.ts +0 -52
- package/out-js/decentraland/sdk/components/input_modifier.gen.js +0 -233
- package/out-js/decentraland/sdk/components/input_modifier.gen.js.map +0 -1
- package/out-ts/decentraland/sdk/components/avatar_locomotion_settings.gen.ts +0 -183
- package/out-ts/decentraland/sdk/components/avatar_movement.gen.ts +0 -136
- package/out-ts/decentraland/sdk/components/avatar_movement_info.gen.ts +0 -249
- package/out-ts/decentraland/sdk/components/gltf_node.gen.ts +0 -116
- package/out-ts/decentraland/sdk/components/gltf_node_state.gen.ts +0 -139
- package/out-ts/decentraland/sdk/components/input_modifier.gen.ts +0 -265
- package/proto/decentraland/sdk/components/avatar_locomotion_settings.proto +0 -18
- package/proto/decentraland/sdk/components/avatar_movement.proto +0 -46
- package/proto/decentraland/sdk/components/avatar_movement_info.proto +0 -22
- package/proto/decentraland/sdk/components/camera_layer.proto +0 -30
- package/proto/decentraland/sdk/components/camera_layers.proto +0 -11
- package/proto/decentraland/sdk/components/global_light.proto +0 -22
- package/proto/decentraland/sdk/components/gltf_node.proto +0 -42
- package/proto/decentraland/sdk/components/gltf_node_state.proto +0 -20
- package/proto/decentraland/sdk/components/texture_camera.proto +0 -46
- package/proto/decentraland/sdk/components/ui_canvas.proto +0 -16
- package/proto/decentraland/sdk/components/ui_scroll_result.proto +0 -12
|
@@ -3,9 +3,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.SocialServiceDefinition = exports.CommunityVoiceChatUpdate = exports.EndCommunityVoiceChatResponse_Ok = exports.EndCommunityVoiceChatResponse = void 0;
|
|
6
|
+
exports.UpsertSocialSettingsResponse = exports.UpsertSocialSettingsPayload = exports.GetSocialSettingsResponse_Ok = exports.GetSocialSettingsResponse = exports.SocialSettings = exports.UnblockUserResponse_Ok = exports.UnblockUserResponse = exports.UnblockUserPayload = exports.BlockUserResponse_Ok = exports.BlockUserResponse = exports.BlockUserPayload = exports.GetFriendshipStatusResponse_Ok = exports.GetFriendshipStatusResponse = exports.GetFriendshipStatusPayload = exports.FriendConnectivityUpdate = exports.FriendshipUpdate_BlockResponse = exports.FriendshipUpdate_CancelResponse = exports.FriendshipUpdate_DeleteResponse = exports.FriendshipUpdate_RejectResponse = exports.FriendshipUpdate_AcceptResponse = exports.FriendshipUpdate_RequestResponse = exports.FriendshipUpdate = exports.UpsertFriendshipResponse_Accepted = exports.UpsertFriendshipResponse = exports.PaginatedFriendshipRequestsResponse = exports.PaginatedFriendsProfilesResponse = exports.PaginatedResponse = exports.GetMutualFriendsPayload = exports.UpsertFriendshipPayload_CancelPayload = exports.UpsertFriendshipPayload_DeletePayload = exports.UpsertFriendshipPayload_RejectPayload = exports.UpsertFriendshipPayload_AcceptPayload = exports.UpsertFriendshipPayload_RequestPayload = exports.UpsertFriendshipPayload = exports.GetFriendshipRequestsPayload = exports.GetFriendsPayload = exports.FriendshipRequests = exports.FriendshipRequestResponse = exports.Pagination = exports.BlockedUserProfile = exports.FriendProfile = exports.User = exports.CommunityVoiceChatStatus = exports.PrivateVoiceChatStatus = exports.SituationReactionsVisibility = exports.BlockedUsersMessagesVisibilitySetting = exports.PrivateMessagePrivacySetting = exports.FriendshipStatus = exports.ConnectivityStatus = exports.protobufPackage = void 0;
|
|
7
|
+
exports.MuteSpeakerFromCommunityVoiceChatResponse_Ok = exports.MuteSpeakerFromCommunityVoiceChatResponse = exports.MuteSpeakerFromCommunityVoiceChatPayload = exports.RejectSpeakRequestInCommunityVoiceChatResponse_Ok = exports.RejectSpeakRequestInCommunityVoiceChatResponse = exports.RejectSpeakRequestInCommunityVoiceChatPayload = exports.KickPlayerFromCommunityVoiceChatResponse_Ok = exports.KickPlayerFromCommunityVoiceChatResponse = exports.KickPlayerFromCommunityVoiceChatPayload = exports.DemoteSpeakerInCommunityVoiceChatResponse_Ok = exports.DemoteSpeakerInCommunityVoiceChatResponse = exports.DemoteSpeakerInCommunityVoiceChatPayload = exports.PromoteSpeakerInCommunityVoiceChatResponse_Ok = exports.PromoteSpeakerInCommunityVoiceChatResponse = exports.PromoteSpeakerInCommunityVoiceChatPayload = exports.RequestToSpeakInCommunityVoiceChatResponse_Ok = exports.RequestToSpeakInCommunityVoiceChatResponse = exports.RequestToSpeakInCommunityVoiceChatPayload = exports.JoinCommunityVoiceChatResponse_Ok = exports.JoinCommunityVoiceChatResponse = exports.JoinCommunityVoiceChatPayload = exports.StartCommunityVoiceChatResponse_Ok = exports.StartCommunityVoiceChatResponse = exports.StartCommunityVoiceChatPayload = exports.CommunityVoiceChatCredentials = exports.GetIncomingPrivateVoiceChatRequestResponse_Ok = exports.GetIncomingPrivateVoiceChatRequestResponse = exports.EndPrivateVoiceChatResponse_Ok = exports.EndPrivateVoiceChatResponse = exports.EndPrivateVoiceChatPayload = exports.PrivateVoiceChatUpdate = exports.PrivateVoiceChatCredentials = exports.RejectPrivateVoiceChatResponse_Ok = exports.RejectPrivateVoiceChatResponse = exports.RejectPrivateVoiceChatPayload = exports.AcceptPrivateVoiceChatResponse_Ok = exports.AcceptPrivateVoiceChatResponse = exports.AcceptPrivateVoiceChatPayload = exports.StartPrivateVoiceChatResponse_Ok = exports.StartPrivateVoiceChatResponse = exports.StartPrivateVoiceChatPayload = exports.CommunityMemberConnectivityUpdate = exports.BlockUpdate = exports.GetBlockingStatusResponse = exports.GetBlockedUsersResponse = exports.GetBlockedUsersPayload = exports.GetPrivateMessagesSettingsResponse_Ok = exports.GetPrivateMessagesSettingsResponse_PrivateMessagesSettings = exports.GetPrivateMessagesSettingsResponse = exports.GetPrivateMessagesSettingsPayload = void 0;
|
|
8
|
+
exports.SocialServiceDefinition = exports.CommunityVoiceChatUpdate = exports.EndCommunityVoiceChatResponse_Ok = exports.EndCommunityVoiceChatResponse = exports.EndCommunityVoiceChatPayload = void 0;
|
|
9
9
|
exports.connectivityStatusFromJSON = connectivityStatusFromJSON;
|
|
10
10
|
exports.connectivityStatusToJSON = connectivityStatusToJSON;
|
|
11
11
|
exports.friendshipStatusFromJSON = friendshipStatusFromJSON;
|
|
@@ -14,6 +14,8 @@ exports.privateMessagePrivacySettingFromJSON = privateMessagePrivacySettingFromJ
|
|
|
14
14
|
exports.privateMessagePrivacySettingToJSON = privateMessagePrivacySettingToJSON;
|
|
15
15
|
exports.blockedUsersMessagesVisibilitySettingFromJSON = blockedUsersMessagesVisibilitySettingFromJSON;
|
|
16
16
|
exports.blockedUsersMessagesVisibilitySettingToJSON = blockedUsersMessagesVisibilitySettingToJSON;
|
|
17
|
+
exports.situationReactionsVisibilityFromJSON = situationReactionsVisibilityFromJSON;
|
|
18
|
+
exports.situationReactionsVisibilityToJSON = situationReactionsVisibilityToJSON;
|
|
17
19
|
exports.privateVoiceChatStatusFromJSON = privateVoiceChatStatusFromJSON;
|
|
18
20
|
exports.privateVoiceChatStatusToJSON = privateVoiceChatStatusToJSON;
|
|
19
21
|
exports.communityVoiceChatStatusFromJSON = communityVoiceChatStatusFromJSON;
|
|
@@ -197,6 +199,37 @@ function blockedUsersMessagesVisibilitySettingToJSON(object) {
|
|
|
197
199
|
return "UNRECOGNIZED";
|
|
198
200
|
}
|
|
199
201
|
}
|
|
202
|
+
var SituationReactionsVisibility;
|
|
203
|
+
(function (SituationReactionsVisibility) {
|
|
204
|
+
SituationReactionsVisibility[SituationReactionsVisibility["SHOW"] = 0] = "SHOW";
|
|
205
|
+
SituationReactionsVisibility[SituationReactionsVisibility["HIDE"] = 1] = "HIDE";
|
|
206
|
+
SituationReactionsVisibility[SituationReactionsVisibility["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
207
|
+
})(SituationReactionsVisibility || (exports.SituationReactionsVisibility = SituationReactionsVisibility = {}));
|
|
208
|
+
function situationReactionsVisibilityFromJSON(object) {
|
|
209
|
+
switch (object) {
|
|
210
|
+
case 0:
|
|
211
|
+
case "SHOW":
|
|
212
|
+
return SituationReactionsVisibility.SHOW;
|
|
213
|
+
case 1:
|
|
214
|
+
case "HIDE":
|
|
215
|
+
return SituationReactionsVisibility.HIDE;
|
|
216
|
+
case -1:
|
|
217
|
+
case "UNRECOGNIZED":
|
|
218
|
+
default:
|
|
219
|
+
return SituationReactionsVisibility.UNRECOGNIZED;
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
function situationReactionsVisibilityToJSON(object) {
|
|
223
|
+
switch (object) {
|
|
224
|
+
case SituationReactionsVisibility.SHOW:
|
|
225
|
+
return "SHOW";
|
|
226
|
+
case SituationReactionsVisibility.HIDE:
|
|
227
|
+
return "HIDE";
|
|
228
|
+
case SituationReactionsVisibility.UNRECOGNIZED:
|
|
229
|
+
default:
|
|
230
|
+
return "UNRECOGNIZED";
|
|
231
|
+
}
|
|
232
|
+
}
|
|
200
233
|
var PrivateVoiceChatStatus;
|
|
201
234
|
(function (PrivateVoiceChatStatus) {
|
|
202
235
|
PrivateVoiceChatStatus[PrivateVoiceChatStatus["VOICE_CHAT_REQUESTED"] = 0] = "VOICE_CHAT_REQUESTED";
|
|
@@ -3354,7 +3387,7 @@ var UnblockUserResponse_Ok;
|
|
|
3354
3387
|
UnblockUserResponse_Ok.fromPartial = fromPartial;
|
|
3355
3388
|
})(UnblockUserResponse_Ok || (exports.UnblockUserResponse_Ok = UnblockUserResponse_Ok = {}));
|
|
3356
3389
|
function createBaseSocialSettings() {
|
|
3357
|
-
return { privateMessagesPrivacy: 0, blockedUsersMessagesVisibility: 0 };
|
|
3390
|
+
return { privateMessagesPrivacy: 0, blockedUsersMessagesVisibility: 0, showSituationReactions: 0 };
|
|
3358
3391
|
}
|
|
3359
3392
|
var SocialSettings;
|
|
3360
3393
|
(function (SocialSettings) {
|
|
@@ -3365,6 +3398,9 @@ var SocialSettings;
|
|
|
3365
3398
|
if (message.blockedUsersMessagesVisibility !== 0) {
|
|
3366
3399
|
writer.uint32(16).int32(message.blockedUsersMessagesVisibility);
|
|
3367
3400
|
}
|
|
3401
|
+
if (message.showSituationReactions !== 0) {
|
|
3402
|
+
writer.uint32(24).int32(message.showSituationReactions);
|
|
3403
|
+
}
|
|
3368
3404
|
return writer;
|
|
3369
3405
|
}
|
|
3370
3406
|
SocialSettings.encode = encode;
|
|
@@ -3387,6 +3423,12 @@ var SocialSettings;
|
|
|
3387
3423
|
}
|
|
3388
3424
|
message.blockedUsersMessagesVisibility = reader.int32();
|
|
3389
3425
|
continue;
|
|
3426
|
+
case 3:
|
|
3427
|
+
if (tag !== 24) {
|
|
3428
|
+
break;
|
|
3429
|
+
}
|
|
3430
|
+
message.showSituationReactions = reader.int32();
|
|
3431
|
+
continue;
|
|
3390
3432
|
}
|
|
3391
3433
|
if ((tag & 7) === 4 || tag === 0) {
|
|
3392
3434
|
break;
|
|
@@ -3404,6 +3446,9 @@ var SocialSettings;
|
|
|
3404
3446
|
blockedUsersMessagesVisibility: isSet(object.blockedUsersMessagesVisibility)
|
|
3405
3447
|
? blockedUsersMessagesVisibilitySettingFromJSON(object.blockedUsersMessagesVisibility)
|
|
3406
3448
|
: 0,
|
|
3449
|
+
showSituationReactions: isSet(object.showSituationReactions)
|
|
3450
|
+
? situationReactionsVisibilityFromJSON(object.showSituationReactions)
|
|
3451
|
+
: 0,
|
|
3407
3452
|
};
|
|
3408
3453
|
}
|
|
3409
3454
|
SocialSettings.fromJSON = fromJSON;
|
|
@@ -3413,6 +3458,8 @@ var SocialSettings;
|
|
|
3413
3458
|
(obj.privateMessagesPrivacy = privateMessagePrivacySettingToJSON(message.privateMessagesPrivacy));
|
|
3414
3459
|
message.blockedUsersMessagesVisibility !== undefined &&
|
|
3415
3460
|
(obj.blockedUsersMessagesVisibility = blockedUsersMessagesVisibilitySettingToJSON(message.blockedUsersMessagesVisibility));
|
|
3461
|
+
message.showSituationReactions !== undefined &&
|
|
3462
|
+
(obj.showSituationReactions = situationReactionsVisibilityToJSON(message.showSituationReactions));
|
|
3416
3463
|
return obj;
|
|
3417
3464
|
}
|
|
3418
3465
|
SocialSettings.toJSON = toJSON;
|
|
@@ -3421,10 +3468,11 @@ var SocialSettings;
|
|
|
3421
3468
|
}
|
|
3422
3469
|
SocialSettings.create = create;
|
|
3423
3470
|
function fromPartial(object) {
|
|
3424
|
-
var _a, _b;
|
|
3471
|
+
var _a, _b, _c;
|
|
3425
3472
|
const message = createBaseSocialSettings();
|
|
3426
3473
|
message.privateMessagesPrivacy = (_a = object.privateMessagesPrivacy) !== null && _a !== void 0 ? _a : 0;
|
|
3427
3474
|
message.blockedUsersMessagesVisibility = (_b = object.blockedUsersMessagesVisibility) !== null && _b !== void 0 ? _b : 0;
|
|
3475
|
+
message.showSituationReactions = (_c = object.showSituationReactions) !== null && _c !== void 0 ? _c : 0;
|
|
3428
3476
|
return message;
|
|
3429
3477
|
}
|
|
3430
3478
|
SocialSettings.fromPartial = fromPartial;
|
|
@@ -3584,7 +3632,11 @@ var GetSocialSettingsResponse_Ok;
|
|
|
3584
3632
|
GetSocialSettingsResponse_Ok.fromPartial = fromPartial;
|
|
3585
3633
|
})(GetSocialSettingsResponse_Ok || (exports.GetSocialSettingsResponse_Ok = GetSocialSettingsResponse_Ok = {}));
|
|
3586
3634
|
function createBaseUpsertSocialSettingsPayload() {
|
|
3587
|
-
return {
|
|
3635
|
+
return {
|
|
3636
|
+
privateMessagesPrivacy: undefined,
|
|
3637
|
+
blockedUsersMessagesVisibility: undefined,
|
|
3638
|
+
showSituationReactions: undefined,
|
|
3639
|
+
};
|
|
3588
3640
|
}
|
|
3589
3641
|
var UpsertSocialSettingsPayload;
|
|
3590
3642
|
(function (UpsertSocialSettingsPayload) {
|
|
@@ -3595,6 +3647,9 @@ var UpsertSocialSettingsPayload;
|
|
|
3595
3647
|
if (message.blockedUsersMessagesVisibility !== undefined) {
|
|
3596
3648
|
writer.uint32(16).int32(message.blockedUsersMessagesVisibility);
|
|
3597
3649
|
}
|
|
3650
|
+
if (message.showSituationReactions !== undefined) {
|
|
3651
|
+
writer.uint32(24).int32(message.showSituationReactions);
|
|
3652
|
+
}
|
|
3598
3653
|
return writer;
|
|
3599
3654
|
}
|
|
3600
3655
|
UpsertSocialSettingsPayload.encode = encode;
|
|
@@ -3617,6 +3672,12 @@ var UpsertSocialSettingsPayload;
|
|
|
3617
3672
|
}
|
|
3618
3673
|
message.blockedUsersMessagesVisibility = reader.int32();
|
|
3619
3674
|
continue;
|
|
3675
|
+
case 3:
|
|
3676
|
+
if (tag !== 24) {
|
|
3677
|
+
break;
|
|
3678
|
+
}
|
|
3679
|
+
message.showSituationReactions = reader.int32();
|
|
3680
|
+
continue;
|
|
3620
3681
|
}
|
|
3621
3682
|
if ((tag & 7) === 4 || tag === 0) {
|
|
3622
3683
|
break;
|
|
@@ -3634,6 +3695,9 @@ var UpsertSocialSettingsPayload;
|
|
|
3634
3695
|
blockedUsersMessagesVisibility: isSet(object.blockedUsersMessagesVisibility)
|
|
3635
3696
|
? blockedUsersMessagesVisibilitySettingFromJSON(object.blockedUsersMessagesVisibility)
|
|
3636
3697
|
: undefined,
|
|
3698
|
+
showSituationReactions: isSet(object.showSituationReactions)
|
|
3699
|
+
? situationReactionsVisibilityFromJSON(object.showSituationReactions)
|
|
3700
|
+
: undefined,
|
|
3637
3701
|
};
|
|
3638
3702
|
}
|
|
3639
3703
|
UpsertSocialSettingsPayload.fromJSON = fromJSON;
|
|
@@ -3647,6 +3711,10 @@ var UpsertSocialSettingsPayload;
|
|
|
3647
3711
|
(obj.blockedUsersMessagesVisibility = message.blockedUsersMessagesVisibility !== undefined
|
|
3648
3712
|
? blockedUsersMessagesVisibilitySettingToJSON(message.blockedUsersMessagesVisibility)
|
|
3649
3713
|
: undefined);
|
|
3714
|
+
message.showSituationReactions !== undefined &&
|
|
3715
|
+
(obj.showSituationReactions = message.showSituationReactions !== undefined
|
|
3716
|
+
? situationReactionsVisibilityToJSON(message.showSituationReactions)
|
|
3717
|
+
: undefined);
|
|
3650
3718
|
return obj;
|
|
3651
3719
|
}
|
|
3652
3720
|
UpsertSocialSettingsPayload.toJSON = toJSON;
|
|
@@ -3655,10 +3723,11 @@ var UpsertSocialSettingsPayload;
|
|
|
3655
3723
|
}
|
|
3656
3724
|
UpsertSocialSettingsPayload.create = create;
|
|
3657
3725
|
function fromPartial(object) {
|
|
3658
|
-
var _a, _b;
|
|
3726
|
+
var _a, _b, _c;
|
|
3659
3727
|
const message = createBaseUpsertSocialSettingsPayload();
|
|
3660
3728
|
message.privateMessagesPrivacy = (_a = object.privateMessagesPrivacy) !== null && _a !== void 0 ? _a : undefined;
|
|
3661
3729
|
message.blockedUsersMessagesVisibility = (_b = object.blockedUsersMessagesVisibility) !== null && _b !== void 0 ? _b : undefined;
|
|
3730
|
+
message.showSituationReactions = (_c = object.showSituationReactions) !== null && _c !== void 0 ? _c : undefined;
|
|
3662
3731
|
return message;
|
|
3663
3732
|
}
|
|
3664
3733
|
UpsertSocialSettingsPayload.fromPartial = fromPartial;
|