@devvit/protos 0.10.21-next-2024-05-22-410ab3d77.0 → 0.10.21-next-2024-05-22-9cc291ed2.0
Sign up to get free protection for your applications and to get access to all the features.
- package/meta.min.json +4 -4
- package/package.json +3 -3
- package/protos.min.js +1 -1
- package/protos.min.js.map +2 -2
- package/schema/devvit/plugin/redditapi/users/users_svc.proto +55 -15
- package/types/devvit/plugin/redditapi/users/users_svc.d.ts +64 -18
- package/types/devvit/plugin/redditapi/users/users_svc.d.ts.map +1 -1
- package/types/devvit/plugin/redditapi/users/users_svc.js +623 -62
@@ -105,7 +105,42 @@ export const UsersDefinition = {
|
|
105
105
|
requestStream: false,
|
106
106
|
responseType: BlockUserResponse,
|
107
107
|
responseStream: false,
|
108
|
-
options: {
|
108
|
+
options: {
|
109
|
+
_unknownFields: {
|
110
|
+
480010: [
|
111
|
+
new Uint8Array([
|
112
|
+
27,
|
113
|
+
10,
|
114
|
+
4,
|
115
|
+
80,
|
116
|
+
79,
|
117
|
+
83,
|
118
|
+
84,
|
119
|
+
18,
|
120
|
+
15,
|
121
|
+
47,
|
122
|
+
97,
|
123
|
+
112,
|
124
|
+
105,
|
125
|
+
47,
|
126
|
+
98,
|
127
|
+
108,
|
128
|
+
111,
|
129
|
+
99,
|
130
|
+
107,
|
131
|
+
95,
|
132
|
+
117,
|
133
|
+
115,
|
134
|
+
101,
|
135
|
+
114,
|
136
|
+
24,
|
137
|
+
4,
|
138
|
+
32,
|
139
|
+
1,
|
140
|
+
]),
|
141
|
+
],
|
142
|
+
},
|
143
|
+
},
|
109
144
|
},
|
110
145
|
/** https://www.reddit.com/dev/api#POST_api_friend */
|
111
146
|
friend: {
|
@@ -114,7 +149,52 @@ export const UsersDefinition = {
|
|
114
149
|
requestStream: false,
|
115
150
|
responseType: JsonStatus,
|
116
151
|
responseStream: false,
|
117
|
-
options: {
|
152
|
+
options: {
|
153
|
+
_unknownFields: {
|
154
|
+
480010: [
|
155
|
+
new Uint8Array([
|
156
|
+
37,
|
157
|
+
10,
|
158
|
+
4,
|
159
|
+
80,
|
160
|
+
79,
|
161
|
+
83,
|
162
|
+
84,
|
163
|
+
18,
|
164
|
+
25,
|
165
|
+
47,
|
166
|
+
114,
|
167
|
+
47,
|
168
|
+
123,
|
169
|
+
115,
|
170
|
+
117,
|
171
|
+
98,
|
172
|
+
114,
|
173
|
+
101,
|
174
|
+
100,
|
175
|
+
100,
|
176
|
+
105,
|
177
|
+
116,
|
178
|
+
125,
|
179
|
+
47,
|
180
|
+
97,
|
181
|
+
112,
|
182
|
+
105,
|
183
|
+
47,
|
184
|
+
102,
|
185
|
+
114,
|
186
|
+
105,
|
187
|
+
101,
|
188
|
+
110,
|
189
|
+
100,
|
190
|
+
24,
|
191
|
+
4,
|
192
|
+
32,
|
193
|
+
1,
|
194
|
+
]),
|
195
|
+
],
|
196
|
+
},
|
197
|
+
},
|
118
198
|
},
|
119
199
|
/** https://www.reddit.com/dev/api#POST_api_report_user */
|
120
200
|
reportUser: {
|
@@ -123,7 +203,41 @@ export const UsersDefinition = {
|
|
123
203
|
requestStream: false,
|
124
204
|
responseType: Empty,
|
125
205
|
responseStream: false,
|
126
|
-
options: {
|
206
|
+
options: {
|
207
|
+
_unknownFields: {
|
208
|
+
480010: [
|
209
|
+
new Uint8Array([
|
210
|
+
26,
|
211
|
+
10,
|
212
|
+
4,
|
213
|
+
80,
|
214
|
+
79,
|
215
|
+
83,
|
216
|
+
84,
|
217
|
+
18,
|
218
|
+
16,
|
219
|
+
47,
|
220
|
+
97,
|
221
|
+
112,
|
222
|
+
105,
|
223
|
+
47,
|
224
|
+
114,
|
225
|
+
101,
|
226
|
+
112,
|
227
|
+
111,
|
228
|
+
114,
|
229
|
+
116,
|
230
|
+
95,
|
231
|
+
117,
|
232
|
+
115,
|
233
|
+
101,
|
234
|
+
114,
|
235
|
+
24,
|
236
|
+
4,
|
237
|
+
]),
|
238
|
+
],
|
239
|
+
},
|
240
|
+
},
|
127
241
|
},
|
128
242
|
/** https://www.reddit.com/dev/api#POST_api_setpermissions */
|
129
243
|
setPermissions: {
|
@@ -132,7 +246,60 @@ export const UsersDefinition = {
|
|
132
246
|
requestStream: false,
|
133
247
|
responseType: JsonStatus,
|
134
248
|
responseStream: false,
|
135
|
-
options: {
|
249
|
+
options: {
|
250
|
+
_unknownFields: {
|
251
|
+
480010: [
|
252
|
+
new Uint8Array([
|
253
|
+
45,
|
254
|
+
10,
|
255
|
+
4,
|
256
|
+
80,
|
257
|
+
79,
|
258
|
+
83,
|
259
|
+
84,
|
260
|
+
18,
|
261
|
+
33,
|
262
|
+
47,
|
263
|
+
114,
|
264
|
+
47,
|
265
|
+
123,
|
266
|
+
115,
|
267
|
+
117,
|
268
|
+
98,
|
269
|
+
114,
|
270
|
+
101,
|
271
|
+
100,
|
272
|
+
100,
|
273
|
+
105,
|
274
|
+
116,
|
275
|
+
125,
|
276
|
+
47,
|
277
|
+
97,
|
278
|
+
112,
|
279
|
+
105,
|
280
|
+
47,
|
281
|
+
115,
|
282
|
+
101,
|
283
|
+
116,
|
284
|
+
112,
|
285
|
+
101,
|
286
|
+
114,
|
287
|
+
109,
|
288
|
+
105,
|
289
|
+
115,
|
290
|
+
115,
|
291
|
+
105,
|
292
|
+
111,
|
293
|
+
110,
|
294
|
+
115,
|
295
|
+
24,
|
296
|
+
4,
|
297
|
+
32,
|
298
|
+
1,
|
299
|
+
]),
|
300
|
+
],
|
301
|
+
},
|
302
|
+
},
|
136
303
|
},
|
137
304
|
/** https://www.reddit.com/dev/api#POST_api_unfriend */
|
138
305
|
unfriend: {
|
@@ -141,71 +308,62 @@ export const UsersDefinition = {
|
|
141
308
|
requestStream: false,
|
142
309
|
responseType: Empty,
|
143
310
|
responseStream: false,
|
144
|
-
options: {},
|
145
|
-
},
|
146
|
-
/** https://www.reddit.com/dev/api#GET_api_user_data_by_account_ids */
|
147
|
-
userDataByAccountIds: {
|
148
|
-
name: "UserDataByAccountIds",
|
149
|
-
requestType: UserDataByAccountIdsRequest,
|
150
|
-
requestStream: false,
|
151
|
-
responseType: UserDataByAccountIdsResponse,
|
152
|
-
responseStream: false,
|
153
311
|
options: {
|
154
312
|
_unknownFields: {
|
155
313
|
480010: [
|
156
314
|
new Uint8Array([
|
157
|
-
|
315
|
+
37,
|
158
316
|
10,
|
159
|
-
|
160
|
-
|
161
|
-
|
317
|
+
4,
|
318
|
+
80,
|
319
|
+
79,
|
320
|
+
83,
|
162
321
|
84,
|
163
322
|
18,
|
164
|
-
|
323
|
+
27,
|
165
324
|
47,
|
166
|
-
|
167
|
-
112,
|
168
|
-
105,
|
325
|
+
114,
|
169
326
|
47,
|
170
|
-
|
327
|
+
123,
|
171
328
|
115,
|
172
|
-
|
329
|
+
117,
|
330
|
+
98,
|
173
331
|
114,
|
174
|
-
|
332
|
+
101,
|
175
333
|
100,
|
176
|
-
|
334
|
+
100,
|
335
|
+
105,
|
177
336
|
116,
|
337
|
+
125,
|
338
|
+
47,
|
178
339
|
97,
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
95,
|
183
|
-
97,
|
184
|
-
99,
|
185
|
-
99,
|
186
|
-
111,
|
340
|
+
112,
|
341
|
+
105,
|
342
|
+
47,
|
187
343
|
117,
|
188
344
|
110,
|
189
|
-
|
190
|
-
|
191
|
-
105,
|
192
|
-
100,
|
193
|
-
115,
|
194
|
-
63,
|
195
|
-
105,
|
196
|
-
100,
|
197
|
-
115,
|
198
|
-
61,
|
199
|
-
123,
|
345
|
+
102,
|
346
|
+
114,
|
200
347
|
105,
|
348
|
+
101,
|
349
|
+
110,
|
201
350
|
100,
|
202
|
-
|
203
|
-
|
351
|
+
24,
|
352
|
+
4,
|
204
353
|
]),
|
205
354
|
],
|
206
355
|
},
|
207
356
|
},
|
208
357
|
},
|
358
|
+
/** https://www.reddit.com/dev/api#GET_api_user_data_by_account_ids */
|
359
|
+
userDataByAccountIds: {
|
360
|
+
name: "UserDataByAccountIds",
|
361
|
+
requestType: UserDataByAccountIdsRequest,
|
362
|
+
requestStream: false,
|
363
|
+
responseType: UserDataByAccountIdsResponse,
|
364
|
+
responseStream: false,
|
365
|
+
options: {},
|
366
|
+
},
|
209
367
|
/** https://www.reddit.com/dev/api#GET_api_username_available */
|
210
368
|
usernameAvailable: {
|
211
369
|
name: "UsernameAvailable",
|
@@ -222,26 +380,178 @@ export const UsersDefinition = {
|
|
222
380
|
requestStream: false,
|
223
381
|
responseType: Empty,
|
224
382
|
responseStream: false,
|
225
|
-
options: {
|
383
|
+
options: {
|
384
|
+
_unknownFields: {
|
385
|
+
480010: [
|
386
|
+
new Uint8Array([
|
387
|
+
47,
|
388
|
+
10,
|
389
|
+
6,
|
390
|
+
68,
|
391
|
+
69,
|
392
|
+
76,
|
393
|
+
69,
|
394
|
+
84,
|
395
|
+
69,
|
396
|
+
18,
|
397
|
+
37,
|
398
|
+
47,
|
399
|
+
97,
|
400
|
+
112,
|
401
|
+
105,
|
402
|
+
47,
|
403
|
+
118,
|
404
|
+
49,
|
405
|
+
47,
|
406
|
+
109,
|
407
|
+
101,
|
408
|
+
47,
|
409
|
+
102,
|
410
|
+
114,
|
411
|
+
105,
|
412
|
+
101,
|
413
|
+
110,
|
414
|
+
100,
|
415
|
+
115,
|
416
|
+
47,
|
417
|
+
123,
|
418
|
+
117,
|
419
|
+
115,
|
420
|
+
101,
|
421
|
+
114,
|
422
|
+
110,
|
423
|
+
97,
|
424
|
+
109,
|
425
|
+
101,
|
426
|
+
125,
|
427
|
+
63,
|
428
|
+
105,
|
429
|
+
100,
|
430
|
+
61,
|
431
|
+
123,
|
432
|
+
105,
|
433
|
+
100,
|
434
|
+
125,
|
435
|
+
]),
|
436
|
+
],
|
437
|
+
},
|
438
|
+
},
|
226
439
|
},
|
227
|
-
/**
|
440
|
+
/**
|
441
|
+
* https://www.reddit.com/dev/api#GET_api_v1_me_friends_username
|
442
|
+
* TODO: this actually returns a WrappedRedditObject. Fix this up after the system worker is deleted.
|
443
|
+
*/
|
228
444
|
getFriendInformation: {
|
229
445
|
name: "GetFriendInformation",
|
230
446
|
requestType: GenericUsersRequest,
|
231
447
|
requestStream: false,
|
232
448
|
responseType: GeneralFriendResponse,
|
233
449
|
responseStream: false,
|
234
|
-
options: {
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
450
|
+
options: {
|
451
|
+
_unknownFields: {
|
452
|
+
480010: [
|
453
|
+
new Uint8Array([
|
454
|
+
44,
|
455
|
+
10,
|
456
|
+
3,
|
457
|
+
71,
|
458
|
+
69,
|
459
|
+
84,
|
460
|
+
18,
|
461
|
+
37,
|
462
|
+
47,
|
463
|
+
97,
|
464
|
+
112,
|
465
|
+
105,
|
466
|
+
47,
|
467
|
+
118,
|
468
|
+
49,
|
469
|
+
47,
|
470
|
+
109,
|
471
|
+
101,
|
472
|
+
47,
|
473
|
+
102,
|
474
|
+
114,
|
475
|
+
105,
|
476
|
+
101,
|
477
|
+
110,
|
478
|
+
100,
|
479
|
+
115,
|
480
|
+
47,
|
481
|
+
123,
|
482
|
+
117,
|
483
|
+
115,
|
484
|
+
101,
|
485
|
+
114,
|
486
|
+
110,
|
487
|
+
97,
|
488
|
+
109,
|
489
|
+
101,
|
490
|
+
125,
|
491
|
+
63,
|
492
|
+
105,
|
493
|
+
100,
|
494
|
+
61,
|
495
|
+
123,
|
496
|
+
105,
|
497
|
+
100,
|
498
|
+
125,
|
499
|
+
]),
|
500
|
+
],
|
501
|
+
},
|
502
|
+
},
|
503
|
+
},
|
504
|
+
/** https://www.reddit.com/dev/api#PUT_api_v1_me_friends_username */
|
505
|
+
updateFriendRelationship: {
|
506
|
+
name: "UpdateFriendRelationship",
|
507
|
+
requestType: UpdateFriendRelationshipRequest,
|
508
|
+
requestStream: false,
|
509
|
+
responseType: GeneralFriendResponse,
|
510
|
+
responseStream: false,
|
511
|
+
options: {
|
512
|
+
_unknownFields: {
|
513
|
+
480010: [
|
514
|
+
new Uint8Array([
|
515
|
+
34,
|
516
|
+
10,
|
517
|
+
3,
|
518
|
+
80,
|
519
|
+
85,
|
520
|
+
84,
|
521
|
+
18,
|
522
|
+
25,
|
523
|
+
47,
|
524
|
+
97,
|
525
|
+
112,
|
526
|
+
105,
|
527
|
+
47,
|
528
|
+
118,
|
529
|
+
49,
|
530
|
+
47,
|
531
|
+
109,
|
532
|
+
101,
|
533
|
+
47,
|
534
|
+
102,
|
535
|
+
114,
|
536
|
+
105,
|
537
|
+
101,
|
538
|
+
110,
|
539
|
+
100,
|
540
|
+
115,
|
541
|
+
47,
|
542
|
+
123,
|
543
|
+
110,
|
544
|
+
97,
|
545
|
+
109,
|
546
|
+
101,
|
547
|
+
125,
|
548
|
+
24,
|
549
|
+
1,
|
550
|
+
]),
|
551
|
+
],
|
552
|
+
},
|
553
|
+
},
|
554
|
+
},
|
245
555
|
/** https://www.reddit.com/dev/api#GET_api_v1_user_username_trophies */
|
246
556
|
userTrophies: {
|
247
557
|
name: "UserTrophies",
|
@@ -249,7 +559,62 @@ export const UsersDefinition = {
|
|
249
559
|
requestStream: false,
|
250
560
|
responseType: UserTrophiesResponse,
|
251
561
|
responseStream: false,
|
252
|
-
options: {
|
562
|
+
options: {
|
563
|
+
_unknownFields: {
|
564
|
+
480010: [
|
565
|
+
new Uint8Array([
|
566
|
+
47,
|
567
|
+
10,
|
568
|
+
3,
|
569
|
+
71,
|
570
|
+
69,
|
571
|
+
84,
|
572
|
+
18,
|
573
|
+
40,
|
574
|
+
47,
|
575
|
+
97,
|
576
|
+
112,
|
577
|
+
105,
|
578
|
+
47,
|
579
|
+
118,
|
580
|
+
49,
|
581
|
+
47,
|
582
|
+
117,
|
583
|
+
115,
|
584
|
+
101,
|
585
|
+
114,
|
586
|
+
47,
|
587
|
+
123,
|
588
|
+
117,
|
589
|
+
115,
|
590
|
+
101,
|
591
|
+
114,
|
592
|
+
110,
|
593
|
+
97,
|
594
|
+
109,
|
595
|
+
101,
|
596
|
+
125,
|
597
|
+
47,
|
598
|
+
116,
|
599
|
+
114,
|
600
|
+
111,
|
601
|
+
112,
|
602
|
+
104,
|
603
|
+
105,
|
604
|
+
101,
|
605
|
+
115,
|
606
|
+
63,
|
607
|
+
105,
|
608
|
+
100,
|
609
|
+
61,
|
610
|
+
123,
|
611
|
+
105,
|
612
|
+
100,
|
613
|
+
125,
|
614
|
+
]),
|
615
|
+
],
|
616
|
+
},
|
617
|
+
},
|
253
618
|
},
|
254
619
|
/** https://www.reddit.com/dev/api#GET_user_username_about */
|
255
620
|
userAbout: {
|
@@ -258,7 +623,44 @@ export const UsersDefinition = {
|
|
258
623
|
requestStream: false,
|
259
624
|
responseType: UserAboutResponse,
|
260
625
|
responseStream: false,
|
261
|
-
options: {
|
626
|
+
options: {
|
627
|
+
_unknownFields: {
|
628
|
+
480010: [
|
629
|
+
new Uint8Array([
|
630
|
+
29,
|
631
|
+
10,
|
632
|
+
3,
|
633
|
+
71,
|
634
|
+
69,
|
635
|
+
84,
|
636
|
+
18,
|
637
|
+
22,
|
638
|
+
47,
|
639
|
+
117,
|
640
|
+
115,
|
641
|
+
101,
|
642
|
+
114,
|
643
|
+
47,
|
644
|
+
123,
|
645
|
+
117,
|
646
|
+
115,
|
647
|
+
101,
|
648
|
+
114,
|
649
|
+
110,
|
650
|
+
97,
|
651
|
+
109,
|
652
|
+
101,
|
653
|
+
125,
|
654
|
+
47,
|
655
|
+
97,
|
656
|
+
98,
|
657
|
+
111,
|
658
|
+
117,
|
659
|
+
116,
|
660
|
+
]),
|
661
|
+
],
|
662
|
+
},
|
663
|
+
},
|
262
664
|
},
|
263
665
|
/** https://www.reddit.com/dev/api#GET_user_username_where */
|
264
666
|
userWhere: {
|
@@ -267,7 +669,166 @@ export const UsersDefinition = {
|
|
267
669
|
requestStream: false,
|
268
670
|
responseType: Listing,
|
269
671
|
responseStream: false,
|
270
|
-
options: {
|
672
|
+
options: {
|
673
|
+
_unknownFields: {
|
674
|
+
480010: [
|
675
|
+
new Uint8Array([
|
676
|
+
150,
|
677
|
+
1,
|
678
|
+
10,
|
679
|
+
3,
|
680
|
+
71,
|
681
|
+
69,
|
682
|
+
84,
|
683
|
+
18,
|
684
|
+
142,
|
685
|
+
1,
|
686
|
+
47,
|
687
|
+
117,
|
688
|
+
115,
|
689
|
+
101,
|
690
|
+
114,
|
691
|
+
47,
|
692
|
+
123,
|
693
|
+
117,
|
694
|
+
115,
|
695
|
+
101,
|
696
|
+
114,
|
697
|
+
110,
|
698
|
+
97,
|
699
|
+
109,
|
700
|
+
101,
|
701
|
+
125,
|
702
|
+
47,
|
703
|
+
123,
|
704
|
+
119,
|
705
|
+
104,
|
706
|
+
101,
|
707
|
+
114,
|
708
|
+
101,
|
709
|
+
125,
|
710
|
+
63,
|
711
|
+
99,
|
712
|
+
111,
|
713
|
+
110,
|
714
|
+
116,
|
715
|
+
101,
|
716
|
+
120,
|
717
|
+
116,
|
718
|
+
61,
|
719
|
+
123,
|
720
|
+
99,
|
721
|
+
111,
|
722
|
+
110,
|
723
|
+
116,
|
724
|
+
101,
|
725
|
+
120,
|
726
|
+
116,
|
727
|
+
125,
|
728
|
+
38,
|
729
|
+
115,
|
730
|
+
104,
|
731
|
+
111,
|
732
|
+
119,
|
733
|
+
61,
|
734
|
+
123,
|
735
|
+
115,
|
736
|
+
104,
|
737
|
+
111,
|
738
|
+
119,
|
739
|
+
125,
|
740
|
+
38,
|
741
|
+
115,
|
742
|
+
111,
|
743
|
+
114,
|
744
|
+
116,
|
745
|
+
61,
|
746
|
+
123,
|
747
|
+
115,
|
748
|
+
111,
|
749
|
+
114,
|
750
|
+
116,
|
751
|
+
125,
|
752
|
+
38,
|
753
|
+
116,
|
754
|
+
61,
|
755
|
+
123,
|
756
|
+
116,
|
757
|
+
125,
|
758
|
+
38,
|
759
|
+
116,
|
760
|
+
121,
|
761
|
+
112,
|
762
|
+
101,
|
763
|
+
61,
|
764
|
+
123,
|
765
|
+
116,
|
766
|
+
121,
|
767
|
+
112,
|
768
|
+
101,
|
769
|
+
125,
|
770
|
+
38,
|
771
|
+
97,
|
772
|
+
102,
|
773
|
+
116,
|
774
|
+
101,
|
775
|
+
114,
|
776
|
+
61,
|
777
|
+
123,
|
778
|
+
97,
|
779
|
+
102,
|
780
|
+
116,
|
781
|
+
101,
|
782
|
+
114,
|
783
|
+
125,
|
784
|
+
38,
|
785
|
+
98,
|
786
|
+
101,
|
787
|
+
102,
|
788
|
+
111,
|
789
|
+
114,
|
790
|
+
101,
|
791
|
+
61,
|
792
|
+
123,
|
793
|
+
98,
|
794
|
+
101,
|
795
|
+
102,
|
796
|
+
111,
|
797
|
+
114,
|
798
|
+
101,
|
799
|
+
125,
|
800
|
+
38,
|
801
|
+
99,
|
802
|
+
111,
|
803
|
+
117,
|
804
|
+
110,
|
805
|
+
116,
|
806
|
+
61,
|
807
|
+
123,
|
808
|
+
99,
|
809
|
+
111,
|
810
|
+
117,
|
811
|
+
110,
|
812
|
+
116,
|
813
|
+
125,
|
814
|
+
38,
|
815
|
+
108,
|
816
|
+
105,
|
817
|
+
109,
|
818
|
+
105,
|
819
|
+
116,
|
820
|
+
61,
|
821
|
+
123,
|
822
|
+
108,
|
823
|
+
105,
|
824
|
+
109,
|
825
|
+
105,
|
826
|
+
116,
|
827
|
+
125,
|
828
|
+
]),
|
829
|
+
],
|
830
|
+
},
|
831
|
+
},
|
271
832
|
},
|
272
833
|
},
|
273
834
|
};
|