@dcl/protocol 1.0.0-14129719212.commit-3bf30a3 → 1.0.0-14231312268.commit-832f02f

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.
Files changed (88) hide show
  1. package/out-js/decentraland/common/texture.gen.d.ts +18 -0
  2. package/out-js/decentraland/common/texture.gen.js +104 -4
  3. package/out-js/decentraland/common/texture.gen.js.map +1 -1
  4. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.d.ts +2 -0
  5. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js +19 -2
  6. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js.map +1 -1
  7. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.d.ts +41 -0
  8. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +241 -3
  9. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js.map +1 -1
  10. package/out-js/decentraland/sdk/components/avatar_shape.gen.d.ts +2 -0
  11. package/out-js/decentraland/sdk/components/avatar_shape.gen.js +19 -1
  12. package/out-js/decentraland/sdk/components/avatar_shape.gen.js.map +1 -1
  13. package/out-js/decentraland/sdk/components/camera_mode_area.gen.d.ts +35 -1
  14. package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +172 -3
  15. package/out-js/decentraland/sdk/components/camera_mode_area.gen.js.map +1 -1
  16. package/out-js/decentraland/sdk/components/common/input_action.gen.d.ts +3 -0
  17. package/out-js/decentraland/sdk/components/common/input_action.gen.js +18 -0
  18. package/out-js/decentraland/sdk/components/common/input_action.gen.js.map +1 -1
  19. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.d.ts +19 -0
  20. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js +90 -3
  21. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js.map +1 -1
  22. package/out-js/decentraland/sdk/components/gltf_node.gen.d.ts +66 -0
  23. package/out-js/decentraland/sdk/components/gltf_node.gen.js +69 -0
  24. package/out-js/decentraland/sdk/components/gltf_node.gen.js.map +1 -0
  25. package/out-js/decentraland/sdk/components/gltf_node_state.gen.d.ts +43 -0
  26. package/out-js/decentraland/sdk/components/gltf_node_state.gen.js +122 -0
  27. package/out-js/decentraland/sdk/components/gltf_node_state.gen.js.map +1 -0
  28. package/out-js/decentraland/sdk/components/material.gen.d.ts +20 -0
  29. package/out-js/decentraland/sdk/components/material.gen.js +86 -2
  30. package/out-js/decentraland/sdk/components/material.gen.js.map +1 -1
  31. package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +18 -0
  32. package/out-js/decentraland/sdk/components/mesh_collider.gen.js +90 -4
  33. package/out-js/decentraland/sdk/components/mesh_collider.gen.js.map +1 -1
  34. package/out-js/decentraland/sdk/components/mesh_renderer.gen.d.ts +19 -3
  35. package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +90 -4
  36. package/out-js/decentraland/sdk/components/mesh_renderer.gen.js.map +1 -1
  37. package/out-js/decentraland/sdk/components/ui_text.gen.d.ts +4 -0
  38. package/out-js/decentraland/sdk/components/ui_text.gen.js +30 -1
  39. package/out-js/decentraland/sdk/components/ui_text.gen.js.map +1 -1
  40. package/out-js/decentraland/sdk/components/ui_transform.gen.d.ts +37 -0
  41. package/out-js/decentraland/sdk/components/ui_transform.gen.js +201 -2
  42. package/out-js/decentraland/sdk/components/ui_transform.gen.js.map +1 -1
  43. package/out-js/decentraland/social_service/v2/social_service_v2.gen.d.ts +22 -476
  44. package/out-js/decentraland/social_service/v2/social_service_v2.gen.js +989 -3340
  45. package/out-js/decentraland/social_service/v2/social_service_v2.gen.js.map +1 -1
  46. package/out-ts/decentraland/common/texture.gen.ts +119 -4
  47. package/out-ts/decentraland/sdk/components/avatar_equipped_data.gen.ts +20 -1
  48. package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +292 -1
  49. package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +20 -0
  50. package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +218 -2
  51. package/out-ts/decentraland/sdk/components/common/input_action.gen.ts +18 -0
  52. package/out-ts/decentraland/sdk/components/gltf_container_loading_state.gen.ts +108 -2
  53. package/out-ts/decentraland/sdk/components/gltf_node.gen.ts +116 -0
  54. package/out-ts/decentraland/sdk/components/gltf_node_state.gen.ts +139 -0
  55. package/out-ts/decentraland/sdk/components/material.gen.ts +102 -1
  56. package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +99 -0
  57. package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +100 -3
  58. package/out-ts/decentraland/sdk/components/ui_text.gen.ts +40 -1
  59. package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +230 -1
  60. package/out-ts/decentraland/social_service/v2/social_service_v2.gen.ts +1017 -3652
  61. package/package.json +6 -3
  62. package/proto/decentraland/common/texture.proto +8 -1
  63. package/proto/decentraland/sdk/components/avatar_equipped_data.proto +2 -1
  64. package/proto/decentraland/sdk/components/avatar_modifier_area.proto +21 -0
  65. package/proto/decentraland/sdk/components/avatar_shape.proto +1 -0
  66. package/proto/decentraland/sdk/components/camera_layer.proto +30 -0
  67. package/proto/decentraland/sdk/components/camera_layers.proto +11 -0
  68. package/proto/decentraland/sdk/components/camera_mode_area.proto +22 -3
  69. package/proto/decentraland/sdk/components/common/input_action.proto +3 -0
  70. package/proto/decentraland/sdk/components/global_light.proto +22 -0
  71. package/proto/decentraland/sdk/components/gltf_container_loading_state.proto +13 -0
  72. package/proto/decentraland/sdk/components/gltf_node.proto +42 -0
  73. package/proto/decentraland/sdk/components/gltf_node_state.proto +20 -0
  74. package/proto/decentraland/sdk/components/light.proto +42 -0
  75. package/proto/decentraland/sdk/components/material.proto +13 -1
  76. package/proto/decentraland/sdk/components/mesh_collider.proto +8 -1
  77. package/proto/decentraland/sdk/components/mesh_renderer.proto +8 -3
  78. package/proto/decentraland/sdk/components/primary_pointer_info.proto +25 -0
  79. package/proto/decentraland/sdk/components/spotlight.proto +21 -0
  80. package/proto/decentraland/sdk/components/texture_camera.proto +46 -0
  81. package/proto/decentraland/sdk/components/ui_canvas.proto +16 -0
  82. package/proto/decentraland/sdk/components/ui_scroll_result.proto +12 -0
  83. package/proto/decentraland/sdk/components/ui_text.proto +3 -0
  84. package/proto/decentraland/sdk/components/ui_transform.proto +24 -1
  85. package/proto/decentraland/sdk/components/virtual_camera.proto +0 -2
  86. package/proto/decentraland/social_service/v2/social_service_v2.proto +9 -189
  87. package/public/sdk-components.proto +2 -0
  88. package/proto/decentraland/sdk/components/light_source.proto +0 -35
@@ -17,71 +17,34 @@ export declare enum FriendshipStatus {
17
17
  REJECTED = 4,
18
18
  DELETED = 5,
19
19
  BLOCKED = 6,
20
- NONE = 7,
21
- BLOCKED_BY = 8,
22
20
  UNRECOGNIZED = -1
23
21
  }
24
22
  export declare function friendshipStatusFromJSON(object: any): FriendshipStatus;
25
23
  export declare function friendshipStatusToJSON(object: FriendshipStatus): string;
26
- export declare enum PrivateMessagePrivacySetting {
27
- ALL = 0,
28
- ONLY_FRIENDS = 1,
29
- UNRECOGNIZED = -1
30
- }
31
- export declare function privateMessagePrivacySettingFromJSON(object: any): PrivateMessagePrivacySetting;
32
- export declare function privateMessagePrivacySettingToJSON(object: PrivateMessagePrivacySetting): string;
33
- export declare enum BlockedUsersMessagesVisibilitySetting {
34
- SHOW_MESSAGES = 0,
35
- DO_NOT_SHOW_MESSAGES = 1,
36
- UNRECOGNIZED = -1
37
- }
38
- export declare function blockedUsersMessagesVisibilitySettingFromJSON(object: any): BlockedUsersMessagesVisibilitySetting;
39
- export declare function blockedUsersMessagesVisibilitySettingToJSON(object: BlockedUsersMessagesVisibilitySetting): string;
40
24
  /** Errors */
41
25
  export interface InvalidFriendshipAction {
42
- message?: string | undefined;
43
26
  }
44
27
  export interface InternalServerError {
45
- message?: string | undefined;
46
- }
47
- export interface InvalidRequest {
48
- message?: string | undefined;
49
- }
50
- export interface ProfileNotFound {
51
- message?: string | undefined;
52
28
  }
53
29
  /** Types */
54
30
  export interface User {
55
31
  address: string;
56
32
  }
57
- export interface FriendProfile {
58
- address: string;
59
- name: string;
60
- hasClaimedName: boolean;
61
- profilePictureUrl: string;
62
- }
63
- export interface BlockedUserProfile {
64
- address: string;
65
- name: string;
66
- hasClaimedName: boolean;
67
- profilePictureUrl: string;
68
- blockedAt?: number | undefined;
69
- }
70
33
  export interface Pagination {
71
34
  limit: number;
72
35
  offset: number;
73
36
  }
74
37
  export interface FriendshipRequestResponse {
75
- friend: FriendProfile | undefined;
38
+ user: User | undefined;
76
39
  createdAt: number;
77
40
  message?: string | undefined;
78
- id: string;
79
41
  }
80
42
  export interface FriendshipRequests {
81
43
  requests: FriendshipRequestResponse[];
82
44
  }
83
45
  export interface GetFriendsPayload {
84
46
  pagination?: Pagination | undefined;
47
+ status?: ConnectivityStatus | undefined;
85
48
  }
86
49
  export interface GetFriendshipRequestsPayload {
87
50
  pagination?: Pagination | undefined;
@@ -128,8 +91,8 @@ export interface PaginatedResponse {
128
91
  total: number;
129
92
  page: number;
130
93
  }
131
- export interface PaginatedFriendsProfilesResponse {
132
- friends: FriendProfile[];
94
+ export interface PaginatedUsersResponse {
95
+ users: User[];
133
96
  paginationData: PaginatedResponse | undefined;
134
97
  }
135
98
  export interface PaginatedFriendshipRequestsResponse {
@@ -157,13 +120,11 @@ export interface UpsertFriendshipResponse {
157
120
  export interface UpsertFriendshipResponse_Accepted {
158
121
  id: string;
159
122
  createdAt: number;
160
- friend: FriendProfile | undefined;
161
- message?: string | undefined;
162
123
  }
163
124
  export interface FriendshipUpdate {
164
125
  update?: {
165
126
  $case: "request";
166
- request: FriendshipUpdate_RequestResponse;
127
+ request: FriendshipRequestResponse;
167
128
  } | {
168
129
  $case: "accept";
169
130
  accept: FriendshipUpdate_AcceptResponse;
@@ -176,17 +137,8 @@ export interface FriendshipUpdate {
176
137
  } | {
177
138
  $case: "cancel";
178
139
  cancel: FriendshipUpdate_CancelResponse;
179
- } | {
180
- $case: "block";
181
- block: FriendshipUpdate_BlockResponse;
182
140
  } | undefined;
183
141
  }
184
- export interface FriendshipUpdate_RequestResponse {
185
- friend: FriendProfile | undefined;
186
- createdAt: number;
187
- message?: string | undefined;
188
- id: string;
189
- }
190
142
  export interface FriendshipUpdate_AcceptResponse {
191
143
  user: User | undefined;
192
144
  }
@@ -199,13 +151,6 @@ export interface FriendshipUpdate_DeleteResponse {
199
151
  export interface FriendshipUpdate_CancelResponse {
200
152
  user: User | undefined;
201
153
  }
202
- export interface FriendshipUpdate_BlockResponse {
203
- user: User | undefined;
204
- }
205
- export interface FriendConnectivityUpdate {
206
- friend: FriendProfile | undefined;
207
- status: ConnectivityStatus;
208
- }
209
154
  export interface GetFriendshipStatusPayload {
210
155
  user: User | undefined;
211
156
  }
@@ -222,151 +167,21 @@ export interface GetFriendshipStatusResponse_Ok {
222
167
  status: FriendshipStatus;
223
168
  message?: string | undefined;
224
169
  }
225
- export interface BlockUserPayload {
226
- user: User | undefined;
227
- }
228
- export interface BlockUserResponse {
229
- response?: {
230
- $case: "ok";
231
- ok: BlockUserResponse_Ok;
232
- } | {
233
- $case: "internalServerError";
234
- internalServerError: InternalServerError;
235
- } | {
236
- $case: "invalidRequest";
237
- invalidRequest: InvalidRequest;
238
- } | {
239
- $case: "profileNotFound";
240
- profileNotFound: ProfileNotFound;
241
- } | undefined;
242
- }
243
- export interface BlockUserResponse_Ok {
244
- profile: BlockedUserProfile | undefined;
245
- }
246
- export interface UnblockUserPayload {
247
- user: User | undefined;
248
- }
249
- export interface UnblockUserResponse {
250
- response?: {
251
- $case: "ok";
252
- ok: UnblockUserResponse_Ok;
253
- } | {
254
- $case: "internalServerError";
255
- internalServerError: InternalServerError;
256
- } | {
257
- $case: "invalidRequest";
258
- invalidRequest: InvalidRequest;
259
- } | {
260
- $case: "profileNotFound";
261
- profileNotFound: ProfileNotFound;
262
- } | undefined;
263
- }
264
- export interface UnblockUserResponse_Ok {
265
- profile: BlockedUserProfile | undefined;
266
- }
267
- export interface SocialSettings {
268
- privateMessagesPrivacy: PrivateMessagePrivacySetting;
269
- blockedUsersMessagesVisibility: BlockedUsersMessagesVisibilitySetting;
270
- }
271
- export interface GetSocialSettingsResponse {
272
- response?: {
273
- $case: "ok";
274
- ok: GetSocialSettingsResponse_Ok;
275
- } | {
276
- $case: "internalServerError";
277
- internalServerError: InternalServerError;
278
- } | undefined;
279
- }
280
- export interface GetSocialSettingsResponse_Ok {
281
- settings: SocialSettings | undefined;
282
- }
283
- export interface UpsertSocialSettingsPayload {
284
- privateMessagesPrivacy?: PrivateMessagePrivacySetting | undefined;
285
- blockedUsersMessagesVisibility?: BlockedUsersMessagesVisibilitySetting | undefined;
286
- }
287
- export interface UpsertSocialSettingsResponse {
288
- response?: {
289
- $case: "ok";
290
- ok: SocialSettings;
291
- } | {
292
- $case: "internalServerError";
293
- internalServerError: InternalServerError;
294
- } | {
295
- $case: "invalidRequest";
296
- invalidRequest: InvalidRequest;
297
- } | undefined;
298
- }
299
- export interface GetPrivateMessagesSettingsPayload {
300
- user: User[];
301
- }
302
- export interface GetPrivateMessagesSettingsResponse {
303
- response?: {
304
- $case: "ok";
305
- ok: GetPrivateMessagesSettingsResponse_Ok;
306
- } | {
307
- $case: "internalServerError";
308
- internalServerError: InternalServerError;
309
- } | {
310
- $case: "invalidRequest";
311
- invalidRequest: InvalidRequest;
312
- } | {
313
- $case: "profileNotFound";
314
- profileNotFound: ProfileNotFound;
315
- } | undefined;
316
- }
317
- export interface GetPrivateMessagesSettingsResponse_PrivateMessagesSettings {
318
- user: User | undefined;
319
- privateMessagesPrivacy: PrivateMessagePrivacySetting;
320
- }
321
- export interface GetPrivateMessagesSettingsResponse_Ok {
322
- settings: GetPrivateMessagesSettingsResponse_PrivateMessagesSettings[];
323
- }
324
- export interface GetBlockedUsersPayload {
325
- pagination?: Pagination | undefined;
326
- }
327
- export interface GetBlockedUsersResponse {
328
- profiles: BlockedUserProfile[];
329
- paginationData: PaginatedResponse | undefined;
330
- }
331
- export interface GetBlockingStatusResponse {
332
- blockedUsers: string[];
333
- blockedByUsers: string[];
334
- }
335
- export interface BlockUpdate {
336
- address: string;
337
- isBlocked: boolean;
338
- }
339
170
  export declare namespace InvalidFriendshipAction {
340
- function encode(message: InvalidFriendshipAction, writer?: _m0.Writer): _m0.Writer;
171
+ function encode(_: InvalidFriendshipAction, writer?: _m0.Writer): _m0.Writer;
341
172
  function decode(input: _m0.Reader | Uint8Array, length?: number): InvalidFriendshipAction;
342
- function fromJSON(object: any): InvalidFriendshipAction;
343
- function toJSON(message: InvalidFriendshipAction): unknown;
173
+ function fromJSON(_: any): InvalidFriendshipAction;
174
+ function toJSON(_: InvalidFriendshipAction): unknown;
344
175
  function create<I extends Exact<DeepPartial<InvalidFriendshipAction>, I>>(base?: I): InvalidFriendshipAction;
345
- function fromPartial<I extends Exact<DeepPartial<InvalidFriendshipAction>, I>>(object: I): InvalidFriendshipAction;
176
+ function fromPartial<I extends Exact<DeepPartial<InvalidFriendshipAction>, I>>(_: I): InvalidFriendshipAction;
346
177
  }
347
178
  export declare namespace InternalServerError {
348
- function encode(message: InternalServerError, writer?: _m0.Writer): _m0.Writer;
179
+ function encode(_: InternalServerError, writer?: _m0.Writer): _m0.Writer;
349
180
  function decode(input: _m0.Reader | Uint8Array, length?: number): InternalServerError;
350
- function fromJSON(object: any): InternalServerError;
351
- function toJSON(message: InternalServerError): unknown;
181
+ function fromJSON(_: any): InternalServerError;
182
+ function toJSON(_: InternalServerError): unknown;
352
183
  function create<I extends Exact<DeepPartial<InternalServerError>, I>>(base?: I): InternalServerError;
353
- function fromPartial<I extends Exact<DeepPartial<InternalServerError>, I>>(object: I): InternalServerError;
354
- }
355
- export declare namespace InvalidRequest {
356
- function encode(message: InvalidRequest, writer?: _m0.Writer): _m0.Writer;
357
- function decode(input: _m0.Reader | Uint8Array, length?: number): InvalidRequest;
358
- function fromJSON(object: any): InvalidRequest;
359
- function toJSON(message: InvalidRequest): unknown;
360
- function create<I extends Exact<DeepPartial<InvalidRequest>, I>>(base?: I): InvalidRequest;
361
- function fromPartial<I extends Exact<DeepPartial<InvalidRequest>, I>>(object: I): InvalidRequest;
362
- }
363
- export declare namespace ProfileNotFound {
364
- function encode(message: ProfileNotFound, writer?: _m0.Writer): _m0.Writer;
365
- function decode(input: _m0.Reader | Uint8Array, length?: number): ProfileNotFound;
366
- function fromJSON(object: any): ProfileNotFound;
367
- function toJSON(message: ProfileNotFound): unknown;
368
- function create<I extends Exact<DeepPartial<ProfileNotFound>, I>>(base?: I): ProfileNotFound;
369
- function fromPartial<I extends Exact<DeepPartial<ProfileNotFound>, I>>(object: I): ProfileNotFound;
184
+ function fromPartial<I extends Exact<DeepPartial<InternalServerError>, I>>(_: I): InternalServerError;
370
185
  }
371
186
  export declare namespace User {
372
187
  function encode(message: User, writer?: _m0.Writer): _m0.Writer;
@@ -376,22 +191,6 @@ export declare namespace User {
376
191
  function create<I extends Exact<DeepPartial<User>, I>>(base?: I): User;
377
192
  function fromPartial<I extends Exact<DeepPartial<User>, I>>(object: I): User;
378
193
  }
379
- export declare namespace FriendProfile {
380
- function encode(message: FriendProfile, writer?: _m0.Writer): _m0.Writer;
381
- function decode(input: _m0.Reader | Uint8Array, length?: number): FriendProfile;
382
- function fromJSON(object: any): FriendProfile;
383
- function toJSON(message: FriendProfile): unknown;
384
- function create<I extends Exact<DeepPartial<FriendProfile>, I>>(base?: I): FriendProfile;
385
- function fromPartial<I extends Exact<DeepPartial<FriendProfile>, I>>(object: I): FriendProfile;
386
- }
387
- export declare namespace BlockedUserProfile {
388
- function encode(message: BlockedUserProfile, writer?: _m0.Writer): _m0.Writer;
389
- function decode(input: _m0.Reader | Uint8Array, length?: number): BlockedUserProfile;
390
- function fromJSON(object: any): BlockedUserProfile;
391
- function toJSON(message: BlockedUserProfile): unknown;
392
- function create<I extends Exact<DeepPartial<BlockedUserProfile>, I>>(base?: I): BlockedUserProfile;
393
- function fromPartial<I extends Exact<DeepPartial<BlockedUserProfile>, I>>(object: I): BlockedUserProfile;
394
- }
395
194
  export declare namespace Pagination {
396
195
  function encode(message: Pagination, writer?: _m0.Writer): _m0.Writer;
397
196
  function decode(input: _m0.Reader | Uint8Array, length?: number): Pagination;
@@ -496,13 +295,13 @@ export declare namespace PaginatedResponse {
496
295
  function create<I extends Exact<DeepPartial<PaginatedResponse>, I>>(base?: I): PaginatedResponse;
497
296
  function fromPartial<I extends Exact<DeepPartial<PaginatedResponse>, I>>(object: I): PaginatedResponse;
498
297
  }
499
- export declare namespace PaginatedFriendsProfilesResponse {
500
- function encode(message: PaginatedFriendsProfilesResponse, writer?: _m0.Writer): _m0.Writer;
501
- function decode(input: _m0.Reader | Uint8Array, length?: number): PaginatedFriendsProfilesResponse;
502
- function fromJSON(object: any): PaginatedFriendsProfilesResponse;
503
- function toJSON(message: PaginatedFriendsProfilesResponse): unknown;
504
- function create<I extends Exact<DeepPartial<PaginatedFriendsProfilesResponse>, I>>(base?: I): PaginatedFriendsProfilesResponse;
505
- function fromPartial<I extends Exact<DeepPartial<PaginatedFriendsProfilesResponse>, I>>(object: I): PaginatedFriendsProfilesResponse;
298
+ export declare namespace PaginatedUsersResponse {
299
+ function encode(message: PaginatedUsersResponse, writer?: _m0.Writer): _m0.Writer;
300
+ function decode(input: _m0.Reader | Uint8Array, length?: number): PaginatedUsersResponse;
301
+ function fromJSON(object: any): PaginatedUsersResponse;
302
+ function toJSON(message: PaginatedUsersResponse): unknown;
303
+ function create<I extends Exact<DeepPartial<PaginatedUsersResponse>, I>>(base?: I): PaginatedUsersResponse;
304
+ function fromPartial<I extends Exact<DeepPartial<PaginatedUsersResponse>, I>>(object: I): PaginatedUsersResponse;
506
305
  }
507
306
  export declare namespace PaginatedFriendshipRequestsResponse {
508
307
  function encode(message: PaginatedFriendshipRequestsResponse, writer?: _m0.Writer): _m0.Writer;
@@ -536,14 +335,6 @@ export declare namespace FriendshipUpdate {
536
335
  function create<I extends Exact<DeepPartial<FriendshipUpdate>, I>>(base?: I): FriendshipUpdate;
537
336
  function fromPartial<I extends Exact<DeepPartial<FriendshipUpdate>, I>>(object: I): FriendshipUpdate;
538
337
  }
539
- export declare namespace FriendshipUpdate_RequestResponse {
540
- function encode(message: FriendshipUpdate_RequestResponse, writer?: _m0.Writer): _m0.Writer;
541
- function decode(input: _m0.Reader | Uint8Array, length?: number): FriendshipUpdate_RequestResponse;
542
- function fromJSON(object: any): FriendshipUpdate_RequestResponse;
543
- function toJSON(message: FriendshipUpdate_RequestResponse): unknown;
544
- function create<I extends Exact<DeepPartial<FriendshipUpdate_RequestResponse>, I>>(base?: I): FriendshipUpdate_RequestResponse;
545
- function fromPartial<I extends Exact<DeepPartial<FriendshipUpdate_RequestResponse>, I>>(object: I): FriendshipUpdate_RequestResponse;
546
- }
547
338
  export declare namespace FriendshipUpdate_AcceptResponse {
548
339
  function encode(message: FriendshipUpdate_AcceptResponse, writer?: _m0.Writer): _m0.Writer;
549
340
  function decode(input: _m0.Reader | Uint8Array, length?: number): FriendshipUpdate_AcceptResponse;
@@ -576,22 +367,6 @@ export declare namespace FriendshipUpdate_CancelResponse {
576
367
  function create<I extends Exact<DeepPartial<FriendshipUpdate_CancelResponse>, I>>(base?: I): FriendshipUpdate_CancelResponse;
577
368
  function fromPartial<I extends Exact<DeepPartial<FriendshipUpdate_CancelResponse>, I>>(object: I): FriendshipUpdate_CancelResponse;
578
369
  }
579
- export declare namespace FriendshipUpdate_BlockResponse {
580
- function encode(message: FriendshipUpdate_BlockResponse, writer?: _m0.Writer): _m0.Writer;
581
- function decode(input: _m0.Reader | Uint8Array, length?: number): FriendshipUpdate_BlockResponse;
582
- function fromJSON(object: any): FriendshipUpdate_BlockResponse;
583
- function toJSON(message: FriendshipUpdate_BlockResponse): unknown;
584
- function create<I extends Exact<DeepPartial<FriendshipUpdate_BlockResponse>, I>>(base?: I): FriendshipUpdate_BlockResponse;
585
- function fromPartial<I extends Exact<DeepPartial<FriendshipUpdate_BlockResponse>, I>>(object: I): FriendshipUpdate_BlockResponse;
586
- }
587
- export declare namespace FriendConnectivityUpdate {
588
- function encode(message: FriendConnectivityUpdate, writer?: _m0.Writer): _m0.Writer;
589
- function decode(input: _m0.Reader | Uint8Array, length?: number): FriendConnectivityUpdate;
590
- function fromJSON(object: any): FriendConnectivityUpdate;
591
- function toJSON(message: FriendConnectivityUpdate): unknown;
592
- function create<I extends Exact<DeepPartial<FriendConnectivityUpdate>, I>>(base?: I): FriendConnectivityUpdate;
593
- function fromPartial<I extends Exact<DeepPartial<FriendConnectivityUpdate>, I>>(object: I): FriendConnectivityUpdate;
594
- }
595
370
  export declare namespace GetFriendshipStatusPayload {
596
371
  function encode(message: GetFriendshipStatusPayload, writer?: _m0.Writer): _m0.Writer;
597
372
  function decode(input: _m0.Reader | Uint8Array, length?: number): GetFriendshipStatusPayload;
@@ -616,158 +391,6 @@ export declare namespace GetFriendshipStatusResponse_Ok {
616
391
  function create<I extends Exact<DeepPartial<GetFriendshipStatusResponse_Ok>, I>>(base?: I): GetFriendshipStatusResponse_Ok;
617
392
  function fromPartial<I extends Exact<DeepPartial<GetFriendshipStatusResponse_Ok>, I>>(object: I): GetFriendshipStatusResponse_Ok;
618
393
  }
619
- export declare namespace BlockUserPayload {
620
- function encode(message: BlockUserPayload, writer?: _m0.Writer): _m0.Writer;
621
- function decode(input: _m0.Reader | Uint8Array, length?: number): BlockUserPayload;
622
- function fromJSON(object: any): BlockUserPayload;
623
- function toJSON(message: BlockUserPayload): unknown;
624
- function create<I extends Exact<DeepPartial<BlockUserPayload>, I>>(base?: I): BlockUserPayload;
625
- function fromPartial<I extends Exact<DeepPartial<BlockUserPayload>, I>>(object: I): BlockUserPayload;
626
- }
627
- export declare namespace BlockUserResponse {
628
- function encode(message: BlockUserResponse, writer?: _m0.Writer): _m0.Writer;
629
- function decode(input: _m0.Reader | Uint8Array, length?: number): BlockUserResponse;
630
- function fromJSON(object: any): BlockUserResponse;
631
- function toJSON(message: BlockUserResponse): unknown;
632
- function create<I extends Exact<DeepPartial<BlockUserResponse>, I>>(base?: I): BlockUserResponse;
633
- function fromPartial<I extends Exact<DeepPartial<BlockUserResponse>, I>>(object: I): BlockUserResponse;
634
- }
635
- export declare namespace BlockUserResponse_Ok {
636
- function encode(message: BlockUserResponse_Ok, writer?: _m0.Writer): _m0.Writer;
637
- function decode(input: _m0.Reader | Uint8Array, length?: number): BlockUserResponse_Ok;
638
- function fromJSON(object: any): BlockUserResponse_Ok;
639
- function toJSON(message: BlockUserResponse_Ok): unknown;
640
- function create<I extends Exact<DeepPartial<BlockUserResponse_Ok>, I>>(base?: I): BlockUserResponse_Ok;
641
- function fromPartial<I extends Exact<DeepPartial<BlockUserResponse_Ok>, I>>(object: I): BlockUserResponse_Ok;
642
- }
643
- export declare namespace UnblockUserPayload {
644
- function encode(message: UnblockUserPayload, writer?: _m0.Writer): _m0.Writer;
645
- function decode(input: _m0.Reader | Uint8Array, length?: number): UnblockUserPayload;
646
- function fromJSON(object: any): UnblockUserPayload;
647
- function toJSON(message: UnblockUserPayload): unknown;
648
- function create<I extends Exact<DeepPartial<UnblockUserPayload>, I>>(base?: I): UnblockUserPayload;
649
- function fromPartial<I extends Exact<DeepPartial<UnblockUserPayload>, I>>(object: I): UnblockUserPayload;
650
- }
651
- export declare namespace UnblockUserResponse {
652
- function encode(message: UnblockUserResponse, writer?: _m0.Writer): _m0.Writer;
653
- function decode(input: _m0.Reader | Uint8Array, length?: number): UnblockUserResponse;
654
- function fromJSON(object: any): UnblockUserResponse;
655
- function toJSON(message: UnblockUserResponse): unknown;
656
- function create<I extends Exact<DeepPartial<UnblockUserResponse>, I>>(base?: I): UnblockUserResponse;
657
- function fromPartial<I extends Exact<DeepPartial<UnblockUserResponse>, I>>(object: I): UnblockUserResponse;
658
- }
659
- export declare namespace UnblockUserResponse_Ok {
660
- function encode(message: UnblockUserResponse_Ok, writer?: _m0.Writer): _m0.Writer;
661
- function decode(input: _m0.Reader | Uint8Array, length?: number): UnblockUserResponse_Ok;
662
- function fromJSON(object: any): UnblockUserResponse_Ok;
663
- function toJSON(message: UnblockUserResponse_Ok): unknown;
664
- function create<I extends Exact<DeepPartial<UnblockUserResponse_Ok>, I>>(base?: I): UnblockUserResponse_Ok;
665
- function fromPartial<I extends Exact<DeepPartial<UnblockUserResponse_Ok>, I>>(object: I): UnblockUserResponse_Ok;
666
- }
667
- export declare namespace SocialSettings {
668
- function encode(message: SocialSettings, writer?: _m0.Writer): _m0.Writer;
669
- function decode(input: _m0.Reader | Uint8Array, length?: number): SocialSettings;
670
- function fromJSON(object: any): SocialSettings;
671
- function toJSON(message: SocialSettings): unknown;
672
- function create<I extends Exact<DeepPartial<SocialSettings>, I>>(base?: I): SocialSettings;
673
- function fromPartial<I extends Exact<DeepPartial<SocialSettings>, I>>(object: I): SocialSettings;
674
- }
675
- export declare namespace GetSocialSettingsResponse {
676
- function encode(message: GetSocialSettingsResponse, writer?: _m0.Writer): _m0.Writer;
677
- function decode(input: _m0.Reader | Uint8Array, length?: number): GetSocialSettingsResponse;
678
- function fromJSON(object: any): GetSocialSettingsResponse;
679
- function toJSON(message: GetSocialSettingsResponse): unknown;
680
- function create<I extends Exact<DeepPartial<GetSocialSettingsResponse>, I>>(base?: I): GetSocialSettingsResponse;
681
- function fromPartial<I extends Exact<DeepPartial<GetSocialSettingsResponse>, I>>(object: I): GetSocialSettingsResponse;
682
- }
683
- export declare namespace GetSocialSettingsResponse_Ok {
684
- function encode(message: GetSocialSettingsResponse_Ok, writer?: _m0.Writer): _m0.Writer;
685
- function decode(input: _m0.Reader | Uint8Array, length?: number): GetSocialSettingsResponse_Ok;
686
- function fromJSON(object: any): GetSocialSettingsResponse_Ok;
687
- function toJSON(message: GetSocialSettingsResponse_Ok): unknown;
688
- function create<I extends Exact<DeepPartial<GetSocialSettingsResponse_Ok>, I>>(base?: I): GetSocialSettingsResponse_Ok;
689
- function fromPartial<I extends Exact<DeepPartial<GetSocialSettingsResponse_Ok>, I>>(object: I): GetSocialSettingsResponse_Ok;
690
- }
691
- export declare namespace UpsertSocialSettingsPayload {
692
- function encode(message: UpsertSocialSettingsPayload, writer?: _m0.Writer): _m0.Writer;
693
- function decode(input: _m0.Reader | Uint8Array, length?: number): UpsertSocialSettingsPayload;
694
- function fromJSON(object: any): UpsertSocialSettingsPayload;
695
- function toJSON(message: UpsertSocialSettingsPayload): unknown;
696
- function create<I extends Exact<DeepPartial<UpsertSocialSettingsPayload>, I>>(base?: I): UpsertSocialSettingsPayload;
697
- function fromPartial<I extends Exact<DeepPartial<UpsertSocialSettingsPayload>, I>>(object: I): UpsertSocialSettingsPayload;
698
- }
699
- export declare namespace UpsertSocialSettingsResponse {
700
- function encode(message: UpsertSocialSettingsResponse, writer?: _m0.Writer): _m0.Writer;
701
- function decode(input: _m0.Reader | Uint8Array, length?: number): UpsertSocialSettingsResponse;
702
- function fromJSON(object: any): UpsertSocialSettingsResponse;
703
- function toJSON(message: UpsertSocialSettingsResponse): unknown;
704
- function create<I extends Exact<DeepPartial<UpsertSocialSettingsResponse>, I>>(base?: I): UpsertSocialSettingsResponse;
705
- function fromPartial<I extends Exact<DeepPartial<UpsertSocialSettingsResponse>, I>>(object: I): UpsertSocialSettingsResponse;
706
- }
707
- export declare namespace GetPrivateMessagesSettingsPayload {
708
- function encode(message: GetPrivateMessagesSettingsPayload, writer?: _m0.Writer): _m0.Writer;
709
- function decode(input: _m0.Reader | Uint8Array, length?: number): GetPrivateMessagesSettingsPayload;
710
- function fromJSON(object: any): GetPrivateMessagesSettingsPayload;
711
- function toJSON(message: GetPrivateMessagesSettingsPayload): unknown;
712
- function create<I extends Exact<DeepPartial<GetPrivateMessagesSettingsPayload>, I>>(base?: I): GetPrivateMessagesSettingsPayload;
713
- function fromPartial<I extends Exact<DeepPartial<GetPrivateMessagesSettingsPayload>, I>>(object: I): GetPrivateMessagesSettingsPayload;
714
- }
715
- export declare namespace GetPrivateMessagesSettingsResponse {
716
- function encode(message: GetPrivateMessagesSettingsResponse, writer?: _m0.Writer): _m0.Writer;
717
- function decode(input: _m0.Reader | Uint8Array, length?: number): GetPrivateMessagesSettingsResponse;
718
- function fromJSON(object: any): GetPrivateMessagesSettingsResponse;
719
- function toJSON(message: GetPrivateMessagesSettingsResponse): unknown;
720
- function create<I extends Exact<DeepPartial<GetPrivateMessagesSettingsResponse>, I>>(base?: I): GetPrivateMessagesSettingsResponse;
721
- function fromPartial<I extends Exact<DeepPartial<GetPrivateMessagesSettingsResponse>, I>>(object: I): GetPrivateMessagesSettingsResponse;
722
- }
723
- export declare namespace GetPrivateMessagesSettingsResponse_PrivateMessagesSettings {
724
- function encode(message: GetPrivateMessagesSettingsResponse_PrivateMessagesSettings, writer?: _m0.Writer): _m0.Writer;
725
- function decode(input: _m0.Reader | Uint8Array, length?: number): GetPrivateMessagesSettingsResponse_PrivateMessagesSettings;
726
- function fromJSON(object: any): GetPrivateMessagesSettingsResponse_PrivateMessagesSettings;
727
- function toJSON(message: GetPrivateMessagesSettingsResponse_PrivateMessagesSettings): unknown;
728
- function create<I extends Exact<DeepPartial<GetPrivateMessagesSettingsResponse_PrivateMessagesSettings>, I>>(base?: I): GetPrivateMessagesSettingsResponse_PrivateMessagesSettings;
729
- function fromPartial<I extends Exact<DeepPartial<GetPrivateMessagesSettingsResponse_PrivateMessagesSettings>, I>>(object: I): GetPrivateMessagesSettingsResponse_PrivateMessagesSettings;
730
- }
731
- export declare namespace GetPrivateMessagesSettingsResponse_Ok {
732
- function encode(message: GetPrivateMessagesSettingsResponse_Ok, writer?: _m0.Writer): _m0.Writer;
733
- function decode(input: _m0.Reader | Uint8Array, length?: number): GetPrivateMessagesSettingsResponse_Ok;
734
- function fromJSON(object: any): GetPrivateMessagesSettingsResponse_Ok;
735
- function toJSON(message: GetPrivateMessagesSettingsResponse_Ok): unknown;
736
- function create<I extends Exact<DeepPartial<GetPrivateMessagesSettingsResponse_Ok>, I>>(base?: I): GetPrivateMessagesSettingsResponse_Ok;
737
- function fromPartial<I extends Exact<DeepPartial<GetPrivateMessagesSettingsResponse_Ok>, I>>(object: I): GetPrivateMessagesSettingsResponse_Ok;
738
- }
739
- export declare namespace GetBlockedUsersPayload {
740
- function encode(message: GetBlockedUsersPayload, writer?: _m0.Writer): _m0.Writer;
741
- function decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockedUsersPayload;
742
- function fromJSON(object: any): GetBlockedUsersPayload;
743
- function toJSON(message: GetBlockedUsersPayload): unknown;
744
- function create<I extends Exact<DeepPartial<GetBlockedUsersPayload>, I>>(base?: I): GetBlockedUsersPayload;
745
- function fromPartial<I extends Exact<DeepPartial<GetBlockedUsersPayload>, I>>(object: I): GetBlockedUsersPayload;
746
- }
747
- export declare namespace GetBlockedUsersResponse {
748
- function encode(message: GetBlockedUsersResponse, writer?: _m0.Writer): _m0.Writer;
749
- function decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockedUsersResponse;
750
- function fromJSON(object: any): GetBlockedUsersResponse;
751
- function toJSON(message: GetBlockedUsersResponse): unknown;
752
- function create<I extends Exact<DeepPartial<GetBlockedUsersResponse>, I>>(base?: I): GetBlockedUsersResponse;
753
- function fromPartial<I extends Exact<DeepPartial<GetBlockedUsersResponse>, I>>(object: I): GetBlockedUsersResponse;
754
- }
755
- export declare namespace GetBlockingStatusResponse {
756
- function encode(message: GetBlockingStatusResponse, writer?: _m0.Writer): _m0.Writer;
757
- function decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockingStatusResponse;
758
- function fromJSON(object: any): GetBlockingStatusResponse;
759
- function toJSON(message: GetBlockingStatusResponse): unknown;
760
- function create<I extends Exact<DeepPartial<GetBlockingStatusResponse>, I>>(base?: I): GetBlockingStatusResponse;
761
- function fromPartial<I extends Exact<DeepPartial<GetBlockingStatusResponse>, I>>(object: I): GetBlockingStatusResponse;
762
- }
763
- export declare namespace BlockUpdate {
764
- function encode(message: BlockUpdate, writer?: _m0.Writer): _m0.Writer;
765
- function decode(input: _m0.Reader | Uint8Array, length?: number): BlockUpdate;
766
- function fromJSON(object: any): BlockUpdate;
767
- function toJSON(message: BlockUpdate): unknown;
768
- function create<I extends Exact<DeepPartial<BlockUpdate>, I>>(base?: I): BlockUpdate;
769
- function fromPartial<I extends Exact<DeepPartial<BlockUpdate>, I>>(object: I): BlockUpdate;
770
- }
771
394
  export type SocialServiceDefinition = typeof SocialServiceDefinition;
772
395
  export declare const SocialServiceDefinition: {
773
396
  readonly name: "SocialService";
@@ -778,7 +401,7 @@ export declare const SocialServiceDefinition: {
778
401
  readonly name: "GetFriends";
779
402
  readonly requestType: typeof GetFriendsPayload;
780
403
  readonly requestStream: false;
781
- readonly responseType: typeof PaginatedFriendsProfilesResponse;
404
+ readonly responseType: typeof PaginatedUsersResponse;
782
405
  readonly responseStream: false;
783
406
  readonly options: {};
784
407
  };
@@ -787,7 +410,7 @@ export declare const SocialServiceDefinition: {
787
410
  readonly name: "GetMutualFriends";
788
411
  readonly requestType: typeof GetMutualFriendsPayload;
789
412
  readonly requestStream: false;
790
- readonly responseType: typeof PaginatedFriendsProfilesResponse;
413
+ readonly responseType: typeof PaginatedUsersResponse;
791
414
  readonly responseStream: false;
792
415
  readonly options: {};
793
416
  };
@@ -827,7 +450,6 @@ export declare const SocialServiceDefinition: {
827
450
  readonly responseStream: true;
828
451
  readonly options: {};
829
452
  };
830
- /** Get the friendship status between the authenticated user and the one in the parameter */
831
453
  readonly getFriendshipStatus: {
832
454
  readonly name: "GetFriendshipStatus";
833
455
  readonly requestType: typeof GetFriendshipStatusPayload;
@@ -836,82 +458,6 @@ export declare const SocialServiceDefinition: {
836
458
  readonly responseStream: false;
837
459
  readonly options: {};
838
460
  };
839
- /** Subscribe to connectivity updates of friends: ONLINE, OFFLINE, AWAY */
840
- readonly subscribeToFriendConnectivityUpdates: {
841
- readonly name: "SubscribeToFriendConnectivityUpdates";
842
- readonly requestType: typeof Empty;
843
- readonly requestStream: false;
844
- readonly responseType: typeof FriendConnectivityUpdate;
845
- readonly responseStream: true;
846
- readonly options: {};
847
- };
848
- readonly blockUser: {
849
- readonly name: "BlockUser";
850
- readonly requestType: typeof BlockUserPayload;
851
- readonly requestStream: false;
852
- readonly responseType: typeof BlockUserResponse;
853
- readonly responseStream: false;
854
- readonly options: {};
855
- };
856
- readonly unblockUser: {
857
- readonly name: "UnblockUser";
858
- readonly requestType: typeof UnblockUserPayload;
859
- readonly requestStream: false;
860
- readonly responseType: typeof UnblockUserResponse;
861
- readonly responseStream: false;
862
- readonly options: {};
863
- };
864
- readonly getBlockedUsers: {
865
- readonly name: "GetBlockedUsers";
866
- readonly requestType: typeof GetBlockedUsersPayload;
867
- readonly requestStream: false;
868
- readonly responseType: typeof GetBlockedUsersResponse;
869
- readonly responseStream: false;
870
- readonly options: {};
871
- };
872
- readonly getBlockingStatus: {
873
- readonly name: "GetBlockingStatus";
874
- readonly requestType: typeof Empty;
875
- readonly requestStream: false;
876
- readonly responseType: typeof GetBlockingStatusResponse;
877
- readonly responseStream: false;
878
- readonly options: {};
879
- };
880
- readonly subscribeToBlockUpdates: {
881
- readonly name: "SubscribeToBlockUpdates";
882
- readonly requestType: typeof Empty;
883
- readonly requestStream: false;
884
- readonly responseType: typeof BlockUpdate;
885
- readonly responseStream: true;
886
- readonly options: {};
887
- };
888
- /** Get all the social settings for the authenticated user */
889
- readonly getSocialSettings: {
890
- readonly name: "GetSocialSettings";
891
- readonly requestType: typeof Empty;
892
- readonly requestStream: false;
893
- readonly responseType: typeof GetSocialSettingsResponse;
894
- readonly responseStream: false;
895
- readonly options: {};
896
- };
897
- /** Insert or update the social settings for the authenticated user */
898
- readonly upsertSocialSettings: {
899
- readonly name: "UpsertSocialSettings";
900
- readonly requestType: typeof UpsertSocialSettingsPayload;
901
- readonly requestStream: false;
902
- readonly responseType: typeof UpsertSocialSettingsResponse;
903
- readonly responseStream: false;
904
- readonly options: {};
905
- };
906
- /** Get the private messages privacy settings for the requested users */
907
- readonly getPrivateMessagesSettings: {
908
- readonly name: "GetPrivateMessagesSettings";
909
- readonly requestType: typeof GetPrivateMessagesSettingsPayload;
910
- readonly requestStream: false;
911
- readonly responseType: typeof GetPrivateMessagesSettingsResponse;
912
- readonly responseStream: false;
913
- readonly options: {};
914
- };
915
461
  };
916
462
  };
917
463
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;