@headspace/protos-events 1.246.0 → 1.248.0

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 (3) hide show
  1. package/lib/index.d.ts +4501 -22
  2. package/lib/index.js +11020 -104
  3. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -138,6 +138,4485 @@ export namespace auth0 {
138
138
  /** Namespace content. */
139
139
  export namespace content {
140
140
 
141
+ /** Properties of an ActivityCard. */
142
+ interface IActivityCard {
143
+
144
+ /** ActivityCard id */
145
+ id?: (number|null);
146
+
147
+ /** ActivityCard activityId */
148
+ activityId?: (number|null);
149
+
150
+ /** ActivityCard ordinalNumber */
151
+ ordinalNumber?: (number|null);
152
+
153
+ /** ActivityCard cardType */
154
+ cardType?: (string|null);
155
+
156
+ /** ActivityCard title */
157
+ title?: (string|null);
158
+
159
+ /** ActivityCard text */
160
+ text?: (string|null);
161
+
162
+ /** ActivityCard imageMediaId */
163
+ imageMediaId?: (number|null);
164
+
165
+ /** ActivityCard videoMediaId */
166
+ videoMediaId?: (number|null);
167
+
168
+ /** ActivityCard deletedAt */
169
+ deletedAt?: (date.IDate|null);
170
+
171
+ /** ActivityCard createdAt */
172
+ createdAt?: (date.IDate|null);
173
+
174
+ /** ActivityCard updatedAt */
175
+ updatedAt?: (date.IDate|null);
176
+ }
177
+
178
+ /** Represents an ActivityCard. */
179
+ class ActivityCard implements IActivityCard {
180
+
181
+ /**
182
+ * Constructs a new ActivityCard.
183
+ * @param [properties] Properties to set
184
+ */
185
+ constructor(properties?: content.IActivityCard);
186
+
187
+ /** ActivityCard id. */
188
+ public id: number;
189
+
190
+ /** ActivityCard activityId. */
191
+ public activityId: number;
192
+
193
+ /** ActivityCard ordinalNumber. */
194
+ public ordinalNumber: number;
195
+
196
+ /** ActivityCard cardType. */
197
+ public cardType: string;
198
+
199
+ /** ActivityCard title. */
200
+ public title: string;
201
+
202
+ /** ActivityCard text. */
203
+ public text: string;
204
+
205
+ /** ActivityCard imageMediaId. */
206
+ public imageMediaId: number;
207
+
208
+ /** ActivityCard videoMediaId. */
209
+ public videoMediaId: number;
210
+
211
+ /** ActivityCard deletedAt. */
212
+ public deletedAt?: (date.IDate|null);
213
+
214
+ /** ActivityCard createdAt. */
215
+ public createdAt?: (date.IDate|null);
216
+
217
+ /** ActivityCard updatedAt. */
218
+ public updatedAt?: (date.IDate|null);
219
+
220
+ /**
221
+ * Creates a new ActivityCard instance using the specified properties.
222
+ * @param [properties] Properties to set
223
+ * @returns ActivityCard instance
224
+ */
225
+ public static create(properties?: content.IActivityCard): content.ActivityCard;
226
+
227
+ /**
228
+ * Encodes the specified ActivityCard message. Does not implicitly {@link content.ActivityCard.verify|verify} messages.
229
+ * @param message ActivityCard message or plain object to encode
230
+ * @param [writer] Writer to encode to
231
+ * @returns Writer
232
+ */
233
+ public static encode(message: content.IActivityCard, writer?: $protobuf.Writer): $protobuf.Writer;
234
+
235
+ /**
236
+ * Encodes the specified ActivityCard message, length delimited. Does not implicitly {@link content.ActivityCard.verify|verify} messages.
237
+ * @param message ActivityCard message or plain object to encode
238
+ * @param [writer] Writer to encode to
239
+ * @returns Writer
240
+ */
241
+ public static encodeDelimited(message: content.IActivityCard, writer?: $protobuf.Writer): $protobuf.Writer;
242
+
243
+ /**
244
+ * Decodes an ActivityCard message from the specified reader or buffer.
245
+ * @param reader Reader or buffer to decode from
246
+ * @param [length] Message length if known beforehand
247
+ * @returns ActivityCard
248
+ * @throws {Error} If the payload is not a reader or valid buffer
249
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
250
+ */
251
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.ActivityCard;
252
+
253
+ /**
254
+ * Decodes an ActivityCard message from the specified reader or buffer, length delimited.
255
+ * @param reader Reader or buffer to decode from
256
+ * @returns ActivityCard
257
+ * @throws {Error} If the payload is not a reader or valid buffer
258
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
259
+ */
260
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.ActivityCard;
261
+
262
+ /**
263
+ * Verifies an ActivityCard message.
264
+ * @param message Plain object to verify
265
+ * @returns `null` if valid, otherwise the reason why it is not
266
+ */
267
+ public static verify(message: { [k: string]: any }): (string|null);
268
+
269
+ /**
270
+ * Creates an ActivityCard message from a plain object. Also converts values to their respective internal types.
271
+ * @param object Plain object
272
+ * @returns ActivityCard
273
+ */
274
+ public static fromObject(object: { [k: string]: any }): content.ActivityCard;
275
+
276
+ /**
277
+ * Creates a plain object from an ActivityCard message. Also converts values to other types if specified.
278
+ * @param message ActivityCard
279
+ * @param [options] Conversion options
280
+ * @returns Plain object
281
+ */
282
+ public static toObject(message: content.ActivityCard, options?: $protobuf.IConversionOptions): { [k: string]: any };
283
+
284
+ /**
285
+ * Converts this ActivityCard to JSON.
286
+ * @returns JSON object
287
+ */
288
+ public toJSON(): { [k: string]: any };
289
+ }
290
+
291
+ /** Properties of an ActivityGroup. */
292
+ interface IActivityGroup {
293
+
294
+ /** ActivityGroup id */
295
+ id?: (number|null);
296
+
297
+ /** ActivityGroup name */
298
+ name?: (string|null);
299
+
300
+ /** ActivityGroup description */
301
+ description?: (string|null);
302
+
303
+ /** ActivityGroup patternMediaId */
304
+ patternMediaId?: (number|null);
305
+
306
+ /** ActivityGroup bannerMediaId */
307
+ bannerMediaId?: (number|null);
308
+
309
+ /** ActivityGroup legacyId */
310
+ legacyId?: (string|null);
311
+
312
+ /** ActivityGroup iconMediaId */
313
+ iconMediaId?: (number|null);
314
+
315
+ /** ActivityGroup tileMediaId */
316
+ tileMediaId?: (number|null);
317
+
318
+ /** ActivityGroup introMediaId */
319
+ introMediaId?: (number|null);
320
+
321
+ /** ActivityGroup prerequisiteActivityGroupId */
322
+ prerequisiteActivityGroupId?: (number|null);
323
+
324
+ /** ActivityGroup primaryColor */
325
+ primaryColor?: (string|null);
326
+
327
+ /** ActivityGroup secondaryColor */
328
+ secondaryColor?: (string|null);
329
+
330
+ /** ActivityGroup tertiaryColor */
331
+ tertiaryColor?: (string|null);
332
+
333
+ /** ActivityGroup primaryGroupCollectionId */
334
+ primaryGroupCollectionId?: (number|null);
335
+
336
+ /** ActivityGroup enabled */
337
+ enabled?: (string|null);
338
+
339
+ /** ActivityGroup isBasics */
340
+ isBasics?: (boolean|null);
341
+
342
+ /** ActivityGroup isV1 */
343
+ isV1?: (boolean|null);
344
+
345
+ /** ActivityGroup deletedAt */
346
+ deletedAt?: (date.IDate|null);
347
+
348
+ /** ActivityGroup createdAt */
349
+ createdAt?: (date.IDate|null);
350
+
351
+ /** ActivityGroup updatedAt */
352
+ updatedAt?: (date.IDate|null);
353
+
354
+ /** ActivityGroup animationMediaId */
355
+ animationMediaId?: (number|null);
356
+
357
+ /** ActivityGroup playerBackgroundMediaId */
358
+ playerBackgroundMediaId?: (number|null);
359
+
360
+ /** ActivityGroup colorTheme */
361
+ colorTheme?: (string|null);
362
+ }
363
+
364
+ /** Represents an ActivityGroup. */
365
+ class ActivityGroup implements IActivityGroup {
366
+
367
+ /**
368
+ * Constructs a new ActivityGroup.
369
+ * @param [properties] Properties to set
370
+ */
371
+ constructor(properties?: content.IActivityGroup);
372
+
373
+ /** ActivityGroup id. */
374
+ public id: number;
375
+
376
+ /** ActivityGroup name. */
377
+ public name: string;
378
+
379
+ /** ActivityGroup description. */
380
+ public description: string;
381
+
382
+ /** ActivityGroup patternMediaId. */
383
+ public patternMediaId: number;
384
+
385
+ /** ActivityGroup bannerMediaId. */
386
+ public bannerMediaId: number;
387
+
388
+ /** ActivityGroup legacyId. */
389
+ public legacyId: string;
390
+
391
+ /** ActivityGroup iconMediaId. */
392
+ public iconMediaId: number;
393
+
394
+ /** ActivityGroup tileMediaId. */
395
+ public tileMediaId: number;
396
+
397
+ /** ActivityGroup introMediaId. */
398
+ public introMediaId: number;
399
+
400
+ /** ActivityGroup prerequisiteActivityGroupId. */
401
+ public prerequisiteActivityGroupId: number;
402
+
403
+ /** ActivityGroup primaryColor. */
404
+ public primaryColor: string;
405
+
406
+ /** ActivityGroup secondaryColor. */
407
+ public secondaryColor: string;
408
+
409
+ /** ActivityGroup tertiaryColor. */
410
+ public tertiaryColor: string;
411
+
412
+ /** ActivityGroup primaryGroupCollectionId. */
413
+ public primaryGroupCollectionId: number;
414
+
415
+ /** ActivityGroup enabled. */
416
+ public enabled: string;
417
+
418
+ /** ActivityGroup isBasics. */
419
+ public isBasics: boolean;
420
+
421
+ /** ActivityGroup isV1. */
422
+ public isV1: boolean;
423
+
424
+ /** ActivityGroup deletedAt. */
425
+ public deletedAt?: (date.IDate|null);
426
+
427
+ /** ActivityGroup createdAt. */
428
+ public createdAt?: (date.IDate|null);
429
+
430
+ /** ActivityGroup updatedAt. */
431
+ public updatedAt?: (date.IDate|null);
432
+
433
+ /** ActivityGroup animationMediaId. */
434
+ public animationMediaId: number;
435
+
436
+ /** ActivityGroup playerBackgroundMediaId. */
437
+ public playerBackgroundMediaId: number;
438
+
439
+ /** ActivityGroup colorTheme. */
440
+ public colorTheme: string;
441
+
442
+ /**
443
+ * Creates a new ActivityGroup instance using the specified properties.
444
+ * @param [properties] Properties to set
445
+ * @returns ActivityGroup instance
446
+ */
447
+ public static create(properties?: content.IActivityGroup): content.ActivityGroup;
448
+
449
+ /**
450
+ * Encodes the specified ActivityGroup message. Does not implicitly {@link content.ActivityGroup.verify|verify} messages.
451
+ * @param message ActivityGroup message or plain object to encode
452
+ * @param [writer] Writer to encode to
453
+ * @returns Writer
454
+ */
455
+ public static encode(message: content.IActivityGroup, writer?: $protobuf.Writer): $protobuf.Writer;
456
+
457
+ /**
458
+ * Encodes the specified ActivityGroup message, length delimited. Does not implicitly {@link content.ActivityGroup.verify|verify} messages.
459
+ * @param message ActivityGroup message or plain object to encode
460
+ * @param [writer] Writer to encode to
461
+ * @returns Writer
462
+ */
463
+ public static encodeDelimited(message: content.IActivityGroup, writer?: $protobuf.Writer): $protobuf.Writer;
464
+
465
+ /**
466
+ * Decodes an ActivityGroup message from the specified reader or buffer.
467
+ * @param reader Reader or buffer to decode from
468
+ * @param [length] Message length if known beforehand
469
+ * @returns ActivityGroup
470
+ * @throws {Error} If the payload is not a reader or valid buffer
471
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
472
+ */
473
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.ActivityGroup;
474
+
475
+ /**
476
+ * Decodes an ActivityGroup message from the specified reader or buffer, length delimited.
477
+ * @param reader Reader or buffer to decode from
478
+ * @returns ActivityGroup
479
+ * @throws {Error} If the payload is not a reader or valid buffer
480
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
481
+ */
482
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.ActivityGroup;
483
+
484
+ /**
485
+ * Verifies an ActivityGroup message.
486
+ * @param message Plain object to verify
487
+ * @returns `null` if valid, otherwise the reason why it is not
488
+ */
489
+ public static verify(message: { [k: string]: any }): (string|null);
490
+
491
+ /**
492
+ * Creates an ActivityGroup message from a plain object. Also converts values to their respective internal types.
493
+ * @param object Plain object
494
+ * @returns ActivityGroup
495
+ */
496
+ public static fromObject(object: { [k: string]: any }): content.ActivityGroup;
497
+
498
+ /**
499
+ * Creates a plain object from an ActivityGroup message. Also converts values to other types if specified.
500
+ * @param message ActivityGroup
501
+ * @param [options] Conversion options
502
+ * @returns Plain object
503
+ */
504
+ public static toObject(message: content.ActivityGroup, options?: $protobuf.IConversionOptions): { [k: string]: any };
505
+
506
+ /**
507
+ * Converts this ActivityGroup to JSON.
508
+ * @returns JSON object
509
+ */
510
+ public toJSON(): { [k: string]: any };
511
+ }
512
+
513
+ /** Properties of an ActivityVariation. */
514
+ interface IActivityVariation {
515
+
516
+ /** ActivityVariation id */
517
+ id?: (number|null);
518
+
519
+ /** ActivityVariation mediaItemId */
520
+ mediaItemId?: (number|null);
521
+
522
+ /** ActivityVariation duration */
523
+ duration?: (number|null);
524
+
525
+ /** ActivityVariation ordinalNumber */
526
+ ordinalNumber?: (number|null);
527
+
528
+ /** ActivityVariation activityId */
529
+ activityId?: (number|null);
530
+
531
+ /** ActivityVariation deletedAt */
532
+ deletedAt?: (date.IDate|null);
533
+
534
+ /** ActivityVariation createdAt */
535
+ createdAt?: (date.IDate|null);
536
+
537
+ /** ActivityVariation updatedAt */
538
+ updatedAt?: (date.IDate|null);
539
+ }
540
+
541
+ /** Represents an ActivityVariation. */
542
+ class ActivityVariation implements IActivityVariation {
543
+
544
+ /**
545
+ * Constructs a new ActivityVariation.
546
+ * @param [properties] Properties to set
547
+ */
548
+ constructor(properties?: content.IActivityVariation);
549
+
550
+ /** ActivityVariation id. */
551
+ public id: number;
552
+
553
+ /** ActivityVariation mediaItemId. */
554
+ public mediaItemId: number;
555
+
556
+ /** ActivityVariation duration. */
557
+ public duration: number;
558
+
559
+ /** ActivityVariation ordinalNumber. */
560
+ public ordinalNumber: number;
561
+
562
+ /** ActivityVariation activityId. */
563
+ public activityId: number;
564
+
565
+ /** ActivityVariation deletedAt. */
566
+ public deletedAt?: (date.IDate|null);
567
+
568
+ /** ActivityVariation createdAt. */
569
+ public createdAt?: (date.IDate|null);
570
+
571
+ /** ActivityVariation updatedAt. */
572
+ public updatedAt?: (date.IDate|null);
573
+
574
+ /**
575
+ * Creates a new ActivityVariation instance using the specified properties.
576
+ * @param [properties] Properties to set
577
+ * @returns ActivityVariation instance
578
+ */
579
+ public static create(properties?: content.IActivityVariation): content.ActivityVariation;
580
+
581
+ /**
582
+ * Encodes the specified ActivityVariation message. Does not implicitly {@link content.ActivityVariation.verify|verify} messages.
583
+ * @param message ActivityVariation message or plain object to encode
584
+ * @param [writer] Writer to encode to
585
+ * @returns Writer
586
+ */
587
+ public static encode(message: content.IActivityVariation, writer?: $protobuf.Writer): $protobuf.Writer;
588
+
589
+ /**
590
+ * Encodes the specified ActivityVariation message, length delimited. Does not implicitly {@link content.ActivityVariation.verify|verify} messages.
591
+ * @param message ActivityVariation message or plain object to encode
592
+ * @param [writer] Writer to encode to
593
+ * @returns Writer
594
+ */
595
+ public static encodeDelimited(message: content.IActivityVariation, writer?: $protobuf.Writer): $protobuf.Writer;
596
+
597
+ /**
598
+ * Decodes an ActivityVariation message from the specified reader or buffer.
599
+ * @param reader Reader or buffer to decode from
600
+ * @param [length] Message length if known beforehand
601
+ * @returns ActivityVariation
602
+ * @throws {Error} If the payload is not a reader or valid buffer
603
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
604
+ */
605
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.ActivityVariation;
606
+
607
+ /**
608
+ * Decodes an ActivityVariation message from the specified reader or buffer, length delimited.
609
+ * @param reader Reader or buffer to decode from
610
+ * @returns ActivityVariation
611
+ * @throws {Error} If the payload is not a reader or valid buffer
612
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
613
+ */
614
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.ActivityVariation;
615
+
616
+ /**
617
+ * Verifies an ActivityVariation message.
618
+ * @param message Plain object to verify
619
+ * @returns `null` if valid, otherwise the reason why it is not
620
+ */
621
+ public static verify(message: { [k: string]: any }): (string|null);
622
+
623
+ /**
624
+ * Creates an ActivityVariation message from a plain object. Also converts values to their respective internal types.
625
+ * @param object Plain object
626
+ * @returns ActivityVariation
627
+ */
628
+ public static fromObject(object: { [k: string]: any }): content.ActivityVariation;
629
+
630
+ /**
631
+ * Creates a plain object from an ActivityVariation message. Also converts values to other types if specified.
632
+ * @param message ActivityVariation
633
+ * @param [options] Conversion options
634
+ * @returns Plain object
635
+ */
636
+ public static toObject(message: content.ActivityVariation, options?: $protobuf.IConversionOptions): { [k: string]: any };
637
+
638
+ /**
639
+ * Converts this ActivityVariation to JSON.
640
+ * @returns JSON object
641
+ */
642
+ public toJSON(): { [k: string]: any };
643
+ }
644
+
645
+ /** Properties of an Activity. */
646
+ interface IActivity {
647
+
648
+ /** Activity id */
649
+ id?: (number|null);
650
+
651
+ /** Activity name */
652
+ name?: (string|null);
653
+
654
+ /** Activity format */
655
+ format?: (string|null);
656
+
657
+ /** Activity privilegeRequirement */
658
+ privilegeRequirement?: (string|null);
659
+
660
+ /** Activity primaryActivityGroupId */
661
+ primaryActivityGroupId?: (number|null);
662
+
663
+ /** Activity legacyId */
664
+ legacyId?: (string|null);
665
+
666
+ /** Activity enabled */
667
+ enabled?: (string|null);
668
+
669
+ /** Activity deletedAt */
670
+ deletedAt?: (date.IDate|null);
671
+
672
+ /** Activity createdAt */
673
+ createdAt?: (date.IDate|null);
674
+
675
+ /** Activity updatedAt */
676
+ updatedAt?: (date.IDate|null);
677
+ }
678
+
679
+ /** Represents an Activity. */
680
+ class Activity implements IActivity {
681
+
682
+ /**
683
+ * Constructs a new Activity.
684
+ * @param [properties] Properties to set
685
+ */
686
+ constructor(properties?: content.IActivity);
687
+
688
+ /** Activity id. */
689
+ public id: number;
690
+
691
+ /** Activity name. */
692
+ public name: string;
693
+
694
+ /** Activity format. */
695
+ public format: string;
696
+
697
+ /** Activity privilegeRequirement. */
698
+ public privilegeRequirement: string;
699
+
700
+ /** Activity primaryActivityGroupId. */
701
+ public primaryActivityGroupId: number;
702
+
703
+ /** Activity legacyId. */
704
+ public legacyId: string;
705
+
706
+ /** Activity enabled. */
707
+ public enabled: string;
708
+
709
+ /** Activity deletedAt. */
710
+ public deletedAt?: (date.IDate|null);
711
+
712
+ /** Activity createdAt. */
713
+ public createdAt?: (date.IDate|null);
714
+
715
+ /** Activity updatedAt. */
716
+ public updatedAt?: (date.IDate|null);
717
+
718
+ /**
719
+ * Creates a new Activity instance using the specified properties.
720
+ * @param [properties] Properties to set
721
+ * @returns Activity instance
722
+ */
723
+ public static create(properties?: content.IActivity): content.Activity;
724
+
725
+ /**
726
+ * Encodes the specified Activity message. Does not implicitly {@link content.Activity.verify|verify} messages.
727
+ * @param message Activity message or plain object to encode
728
+ * @param [writer] Writer to encode to
729
+ * @returns Writer
730
+ */
731
+ public static encode(message: content.IActivity, writer?: $protobuf.Writer): $protobuf.Writer;
732
+
733
+ /**
734
+ * Encodes the specified Activity message, length delimited. Does not implicitly {@link content.Activity.verify|verify} messages.
735
+ * @param message Activity message or plain object to encode
736
+ * @param [writer] Writer to encode to
737
+ * @returns Writer
738
+ */
739
+ public static encodeDelimited(message: content.IActivity, writer?: $protobuf.Writer): $protobuf.Writer;
740
+
741
+ /**
742
+ * Decodes an Activity message from the specified reader or buffer.
743
+ * @param reader Reader or buffer to decode from
744
+ * @param [length] Message length if known beforehand
745
+ * @returns Activity
746
+ * @throws {Error} If the payload is not a reader or valid buffer
747
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
748
+ */
749
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.Activity;
750
+
751
+ /**
752
+ * Decodes an Activity message from the specified reader or buffer, length delimited.
753
+ * @param reader Reader or buffer to decode from
754
+ * @returns Activity
755
+ * @throws {Error} If the payload is not a reader or valid buffer
756
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
757
+ */
758
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.Activity;
759
+
760
+ /**
761
+ * Verifies an Activity message.
762
+ * @param message Plain object to verify
763
+ * @returns `null` if valid, otherwise the reason why it is not
764
+ */
765
+ public static verify(message: { [k: string]: any }): (string|null);
766
+
767
+ /**
768
+ * Creates an Activity message from a plain object. Also converts values to their respective internal types.
769
+ * @param object Plain object
770
+ * @returns Activity
771
+ */
772
+ public static fromObject(object: { [k: string]: any }): content.Activity;
773
+
774
+ /**
775
+ * Creates a plain object from an Activity message. Also converts values to other types if specified.
776
+ * @param message Activity
777
+ * @param [options] Conversion options
778
+ * @returns Plain object
779
+ */
780
+ public static toObject(message: content.Activity, options?: $protobuf.IConversionOptions): { [k: string]: any };
781
+
782
+ /**
783
+ * Converts this Activity to JSON.
784
+ * @returns JSON object
785
+ */
786
+ public toJSON(): { [k: string]: any };
787
+ }
788
+
789
+ /** Properties of a Content. */
790
+ interface IContent {
791
+
792
+ /** Content id */
793
+ id?: (number|null);
794
+
795
+ /** Content contentType */
796
+ contentType?: (string|null);
797
+
798
+ /** Content contentTypeDisplayValue */
799
+ contentTypeDisplayValue?: (string|null);
800
+
801
+ /** Content entityId */
802
+ entityId?: (number|null);
803
+
804
+ /** Content tileMediaId */
805
+ tileMediaId?: (number|null);
806
+
807
+ /** Content headerImageMediaId */
808
+ headerImageMediaId?: (number|null);
809
+
810
+ /** Content createdAt */
811
+ createdAt?: (date.IDate|null);
812
+
813
+ /** Content updatedAt */
814
+ updatedAt?: (date.IDate|null);
815
+ }
816
+
817
+ /** Represents a Content. */
818
+ class Content implements IContent {
819
+
820
+ /**
821
+ * Constructs a new Content.
822
+ * @param [properties] Properties to set
823
+ */
824
+ constructor(properties?: content.IContent);
825
+
826
+ /** Content id. */
827
+ public id: number;
828
+
829
+ /** Content contentType. */
830
+ public contentType: string;
831
+
832
+ /** Content contentTypeDisplayValue. */
833
+ public contentTypeDisplayValue: string;
834
+
835
+ /** Content entityId. */
836
+ public entityId: number;
837
+
838
+ /** Content tileMediaId. */
839
+ public tileMediaId: number;
840
+
841
+ /** Content headerImageMediaId. */
842
+ public headerImageMediaId: number;
843
+
844
+ /** Content createdAt. */
845
+ public createdAt?: (date.IDate|null);
846
+
847
+ /** Content updatedAt. */
848
+ public updatedAt?: (date.IDate|null);
849
+
850
+ /**
851
+ * Creates a new Content instance using the specified properties.
852
+ * @param [properties] Properties to set
853
+ * @returns Content instance
854
+ */
855
+ public static create(properties?: content.IContent): content.Content;
856
+
857
+ /**
858
+ * Encodes the specified Content message. Does not implicitly {@link content.Content.verify|verify} messages.
859
+ * @param message Content message or plain object to encode
860
+ * @param [writer] Writer to encode to
861
+ * @returns Writer
862
+ */
863
+ public static encode(message: content.IContent, writer?: $protobuf.Writer): $protobuf.Writer;
864
+
865
+ /**
866
+ * Encodes the specified Content message, length delimited. Does not implicitly {@link content.Content.verify|verify} messages.
867
+ * @param message Content message or plain object to encode
868
+ * @param [writer] Writer to encode to
869
+ * @returns Writer
870
+ */
871
+ public static encodeDelimited(message: content.IContent, writer?: $protobuf.Writer): $protobuf.Writer;
872
+
873
+ /**
874
+ * Decodes a Content message from the specified reader or buffer.
875
+ * @param reader Reader or buffer to decode from
876
+ * @param [length] Message length if known beforehand
877
+ * @returns Content
878
+ * @throws {Error} If the payload is not a reader or valid buffer
879
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
880
+ */
881
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.Content;
882
+
883
+ /**
884
+ * Decodes a Content message from the specified reader or buffer, length delimited.
885
+ * @param reader Reader or buffer to decode from
886
+ * @returns Content
887
+ * @throws {Error} If the payload is not a reader or valid buffer
888
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
889
+ */
890
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.Content;
891
+
892
+ /**
893
+ * Verifies a Content message.
894
+ * @param message Plain object to verify
895
+ * @returns `null` if valid, otherwise the reason why it is not
896
+ */
897
+ public static verify(message: { [k: string]: any }): (string|null);
898
+
899
+ /**
900
+ * Creates a Content message from a plain object. Also converts values to their respective internal types.
901
+ * @param object Plain object
902
+ * @returns Content
903
+ */
904
+ public static fromObject(object: { [k: string]: any }): content.Content;
905
+
906
+ /**
907
+ * Creates a plain object from a Content message. Also converts values to other types if specified.
908
+ * @param message Content
909
+ * @param [options] Conversion options
910
+ * @returns Plain object
911
+ */
912
+ public static toObject(message: content.Content, options?: $protobuf.IConversionOptions): { [k: string]: any };
913
+
914
+ /**
915
+ * Converts this Content to JSON.
916
+ * @returns JSON object
917
+ */
918
+ public toJSON(): { [k: string]: any };
919
+ }
920
+
921
+ /** Properties of a GroupCollection. */
922
+ interface IGroupCollection {
923
+
924
+ /** GroupCollection id */
925
+ id?: (number|null);
926
+
927
+ /** GroupCollection category */
928
+ category?: (string|null);
929
+
930
+ /** GroupCollection ordinalNumber */
931
+ ordinalNumber?: (number|null);
932
+
933
+ /** GroupCollection name */
934
+ name?: (string|null);
935
+
936
+ /** GroupCollection enabled */
937
+ enabled?: (string|null);
938
+
939
+ /** GroupCollection legacyId */
940
+ legacyId?: (string|null);
941
+
942
+ /** GroupCollection iconMediaItemId */
943
+ iconMediaItemId?: (number|null);
944
+
945
+ /** GroupCollection deletedAt */
946
+ deletedAt?: (date.IDate|null);
947
+
948
+ /** GroupCollection createdAt */
949
+ createdAt?: (date.IDate|null);
950
+
951
+ /** GroupCollection updatedAt */
952
+ updatedAt?: (date.IDate|null);
953
+
954
+ /** GroupCollection description */
955
+ description?: (string|null);
956
+ }
957
+
958
+ /** Represents a GroupCollection. */
959
+ class GroupCollection implements IGroupCollection {
960
+
961
+ /**
962
+ * Constructs a new GroupCollection.
963
+ * @param [properties] Properties to set
964
+ */
965
+ constructor(properties?: content.IGroupCollection);
966
+
967
+ /** GroupCollection id. */
968
+ public id: number;
969
+
970
+ /** GroupCollection category. */
971
+ public category: string;
972
+
973
+ /** GroupCollection ordinalNumber. */
974
+ public ordinalNumber: number;
975
+
976
+ /** GroupCollection name. */
977
+ public name: string;
978
+
979
+ /** GroupCollection enabled. */
980
+ public enabled: string;
981
+
982
+ /** GroupCollection legacyId. */
983
+ public legacyId: string;
984
+
985
+ /** GroupCollection iconMediaItemId. */
986
+ public iconMediaItemId: number;
987
+
988
+ /** GroupCollection deletedAt. */
989
+ public deletedAt?: (date.IDate|null);
990
+
991
+ /** GroupCollection createdAt. */
992
+ public createdAt?: (date.IDate|null);
993
+
994
+ /** GroupCollection updatedAt. */
995
+ public updatedAt?: (date.IDate|null);
996
+
997
+ /** GroupCollection description. */
998
+ public description: string;
999
+
1000
+ /**
1001
+ * Creates a new GroupCollection instance using the specified properties.
1002
+ * @param [properties] Properties to set
1003
+ * @returns GroupCollection instance
1004
+ */
1005
+ public static create(properties?: content.IGroupCollection): content.GroupCollection;
1006
+
1007
+ /**
1008
+ * Encodes the specified GroupCollection message. Does not implicitly {@link content.GroupCollection.verify|verify} messages.
1009
+ * @param message GroupCollection message or plain object to encode
1010
+ * @param [writer] Writer to encode to
1011
+ * @returns Writer
1012
+ */
1013
+ public static encode(message: content.IGroupCollection, writer?: $protobuf.Writer): $protobuf.Writer;
1014
+
1015
+ /**
1016
+ * Encodes the specified GroupCollection message, length delimited. Does not implicitly {@link content.GroupCollection.verify|verify} messages.
1017
+ * @param message GroupCollection message or plain object to encode
1018
+ * @param [writer] Writer to encode to
1019
+ * @returns Writer
1020
+ */
1021
+ public static encodeDelimited(message: content.IGroupCollection, writer?: $protobuf.Writer): $protobuf.Writer;
1022
+
1023
+ /**
1024
+ * Decodes a GroupCollection message from the specified reader or buffer.
1025
+ * @param reader Reader or buffer to decode from
1026
+ * @param [length] Message length if known beforehand
1027
+ * @returns GroupCollection
1028
+ * @throws {Error} If the payload is not a reader or valid buffer
1029
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1030
+ */
1031
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.GroupCollection;
1032
+
1033
+ /**
1034
+ * Decodes a GroupCollection message from the specified reader or buffer, length delimited.
1035
+ * @param reader Reader or buffer to decode from
1036
+ * @returns GroupCollection
1037
+ * @throws {Error} If the payload is not a reader or valid buffer
1038
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1039
+ */
1040
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.GroupCollection;
1041
+
1042
+ /**
1043
+ * Verifies a GroupCollection message.
1044
+ * @param message Plain object to verify
1045
+ * @returns `null` if valid, otherwise the reason why it is not
1046
+ */
1047
+ public static verify(message: { [k: string]: any }): (string|null);
1048
+
1049
+ /**
1050
+ * Creates a GroupCollection message from a plain object. Also converts values to their respective internal types.
1051
+ * @param object Plain object
1052
+ * @returns GroupCollection
1053
+ */
1054
+ public static fromObject(object: { [k: string]: any }): content.GroupCollection;
1055
+
1056
+ /**
1057
+ * Creates a plain object from a GroupCollection message. Also converts values to other types if specified.
1058
+ * @param message GroupCollection
1059
+ * @param [options] Conversion options
1060
+ * @returns Plain object
1061
+ */
1062
+ public static toObject(message: content.GroupCollection, options?: $protobuf.IConversionOptions): { [k: string]: any };
1063
+
1064
+ /**
1065
+ * Converts this GroupCollection to JSON.
1066
+ * @returns JSON object
1067
+ */
1068
+ public toJSON(): { [k: string]: any };
1069
+ }
1070
+
1071
+ /** Properties of an OrderedActivity. */
1072
+ interface IOrderedActivity {
1073
+
1074
+ /** OrderedActivity id */
1075
+ id?: (number|null);
1076
+
1077
+ /** OrderedActivity activityId */
1078
+ activityId?: (number|null);
1079
+
1080
+ /** OrderedActivity activityGroupId */
1081
+ activityGroupId?: (number|null);
1082
+
1083
+ /** OrderedActivity ordinalNumber */
1084
+ ordinalNumber?: (number|null);
1085
+
1086
+ /** OrderedActivity createdAt */
1087
+ createdAt?: (date.IDate|null);
1088
+
1089
+ /** OrderedActivity updatedAt */
1090
+ updatedAt?: (date.IDate|null);
1091
+ }
1092
+
1093
+ /** Represents an OrderedActivity. */
1094
+ class OrderedActivity implements IOrderedActivity {
1095
+
1096
+ /**
1097
+ * Constructs a new OrderedActivity.
1098
+ * @param [properties] Properties to set
1099
+ */
1100
+ constructor(properties?: content.IOrderedActivity);
1101
+
1102
+ /** OrderedActivity id. */
1103
+ public id: number;
1104
+
1105
+ /** OrderedActivity activityId. */
1106
+ public activityId: number;
1107
+
1108
+ /** OrderedActivity activityGroupId. */
1109
+ public activityGroupId: number;
1110
+
1111
+ /** OrderedActivity ordinalNumber. */
1112
+ public ordinalNumber: number;
1113
+
1114
+ /** OrderedActivity createdAt. */
1115
+ public createdAt?: (date.IDate|null);
1116
+
1117
+ /** OrderedActivity updatedAt. */
1118
+ public updatedAt?: (date.IDate|null);
1119
+
1120
+ /**
1121
+ * Creates a new OrderedActivity instance using the specified properties.
1122
+ * @param [properties] Properties to set
1123
+ * @returns OrderedActivity instance
1124
+ */
1125
+ public static create(properties?: content.IOrderedActivity): content.OrderedActivity;
1126
+
1127
+ /**
1128
+ * Encodes the specified OrderedActivity message. Does not implicitly {@link content.OrderedActivity.verify|verify} messages.
1129
+ * @param message OrderedActivity message or plain object to encode
1130
+ * @param [writer] Writer to encode to
1131
+ * @returns Writer
1132
+ */
1133
+ public static encode(message: content.IOrderedActivity, writer?: $protobuf.Writer): $protobuf.Writer;
1134
+
1135
+ /**
1136
+ * Encodes the specified OrderedActivity message, length delimited. Does not implicitly {@link content.OrderedActivity.verify|verify} messages.
1137
+ * @param message OrderedActivity message or plain object to encode
1138
+ * @param [writer] Writer to encode to
1139
+ * @returns Writer
1140
+ */
1141
+ public static encodeDelimited(message: content.IOrderedActivity, writer?: $protobuf.Writer): $protobuf.Writer;
1142
+
1143
+ /**
1144
+ * Decodes an OrderedActivity message from the specified reader or buffer.
1145
+ * @param reader Reader or buffer to decode from
1146
+ * @param [length] Message length if known beforehand
1147
+ * @returns OrderedActivity
1148
+ * @throws {Error} If the payload is not a reader or valid buffer
1149
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1150
+ */
1151
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.OrderedActivity;
1152
+
1153
+ /**
1154
+ * Decodes an OrderedActivity message from the specified reader or buffer, length delimited.
1155
+ * @param reader Reader or buffer to decode from
1156
+ * @returns OrderedActivity
1157
+ * @throws {Error} If the payload is not a reader or valid buffer
1158
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1159
+ */
1160
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.OrderedActivity;
1161
+
1162
+ /**
1163
+ * Verifies an OrderedActivity message.
1164
+ * @param message Plain object to verify
1165
+ * @returns `null` if valid, otherwise the reason why it is not
1166
+ */
1167
+ public static verify(message: { [k: string]: any }): (string|null);
1168
+
1169
+ /**
1170
+ * Creates an OrderedActivity message from a plain object. Also converts values to their respective internal types.
1171
+ * @param object Plain object
1172
+ * @returns OrderedActivity
1173
+ */
1174
+ public static fromObject(object: { [k: string]: any }): content.OrderedActivity;
1175
+
1176
+ /**
1177
+ * Creates a plain object from an OrderedActivity message. Also converts values to other types if specified.
1178
+ * @param message OrderedActivity
1179
+ * @param [options] Conversion options
1180
+ * @returns Plain object
1181
+ */
1182
+ public static toObject(message: content.OrderedActivity, options?: $protobuf.IConversionOptions): { [k: string]: any };
1183
+
1184
+ /**
1185
+ * Converts this OrderedActivity to JSON.
1186
+ * @returns JSON object
1187
+ */
1188
+ public toJSON(): { [k: string]: any };
1189
+ }
1190
+
1191
+ /** Properties of a UserActivityGroup. */
1192
+ interface IUserActivityGroup {
1193
+
1194
+ /** UserActivityGroup id */
1195
+ id?: (number|null);
1196
+
1197
+ /** UserActivityGroup userId */
1198
+ userId?: (string|null);
1199
+
1200
+ /** UserActivityGroup activityGroupId */
1201
+ activityGroupId?: (number|null);
1202
+
1203
+ /** UserActivityGroup duration */
1204
+ duration?: (number|null);
1205
+
1206
+ /** UserActivityGroup isComplete */
1207
+ isComplete?: (boolean|null);
1208
+
1209
+ /** UserActivityGroup active */
1210
+ active?: (boolean|null);
1211
+
1212
+ /** UserActivityGroup deletedAt */
1213
+ deletedAt?: (date.IDate|null);
1214
+
1215
+ /** UserActivityGroup createdAt */
1216
+ createdAt?: (date.IDate|null);
1217
+
1218
+ /** UserActivityGroup updatedAt */
1219
+ updatedAt?: (date.IDate|null);
1220
+ }
1221
+
1222
+ /** Represents a UserActivityGroup. */
1223
+ class UserActivityGroup implements IUserActivityGroup {
1224
+
1225
+ /**
1226
+ * Constructs a new UserActivityGroup.
1227
+ * @param [properties] Properties to set
1228
+ */
1229
+ constructor(properties?: content.IUserActivityGroup);
1230
+
1231
+ /** UserActivityGroup id. */
1232
+ public id: number;
1233
+
1234
+ /** UserActivityGroup userId. */
1235
+ public userId: string;
1236
+
1237
+ /** UserActivityGroup activityGroupId. */
1238
+ public activityGroupId: number;
1239
+
1240
+ /** UserActivityGroup duration. */
1241
+ public duration: number;
1242
+
1243
+ /** UserActivityGroup isComplete. */
1244
+ public isComplete: boolean;
1245
+
1246
+ /** UserActivityGroup active. */
1247
+ public active: boolean;
1248
+
1249
+ /** UserActivityGroup deletedAt. */
1250
+ public deletedAt?: (date.IDate|null);
1251
+
1252
+ /** UserActivityGroup createdAt. */
1253
+ public createdAt?: (date.IDate|null);
1254
+
1255
+ /** UserActivityGroup updatedAt. */
1256
+ public updatedAt?: (date.IDate|null);
1257
+
1258
+ /**
1259
+ * Creates a new UserActivityGroup instance using the specified properties.
1260
+ * @param [properties] Properties to set
1261
+ * @returns UserActivityGroup instance
1262
+ */
1263
+ public static create(properties?: content.IUserActivityGroup): content.UserActivityGroup;
1264
+
1265
+ /**
1266
+ * Encodes the specified UserActivityGroup message. Does not implicitly {@link content.UserActivityGroup.verify|verify} messages.
1267
+ * @param message UserActivityGroup message or plain object to encode
1268
+ * @param [writer] Writer to encode to
1269
+ * @returns Writer
1270
+ */
1271
+ public static encode(message: content.IUserActivityGroup, writer?: $protobuf.Writer): $protobuf.Writer;
1272
+
1273
+ /**
1274
+ * Encodes the specified UserActivityGroup message, length delimited. Does not implicitly {@link content.UserActivityGroup.verify|verify} messages.
1275
+ * @param message UserActivityGroup message or plain object to encode
1276
+ * @param [writer] Writer to encode to
1277
+ * @returns Writer
1278
+ */
1279
+ public static encodeDelimited(message: content.IUserActivityGroup, writer?: $protobuf.Writer): $protobuf.Writer;
1280
+
1281
+ /**
1282
+ * Decodes a UserActivityGroup message from the specified reader or buffer.
1283
+ * @param reader Reader or buffer to decode from
1284
+ * @param [length] Message length if known beforehand
1285
+ * @returns UserActivityGroup
1286
+ * @throws {Error} If the payload is not a reader or valid buffer
1287
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1288
+ */
1289
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.UserActivityGroup;
1290
+
1291
+ /**
1292
+ * Decodes a UserActivityGroup message from the specified reader or buffer, length delimited.
1293
+ * @param reader Reader or buffer to decode from
1294
+ * @returns UserActivityGroup
1295
+ * @throws {Error} If the payload is not a reader or valid buffer
1296
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1297
+ */
1298
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.UserActivityGroup;
1299
+
1300
+ /**
1301
+ * Verifies a UserActivityGroup message.
1302
+ * @param message Plain object to verify
1303
+ * @returns `null` if valid, otherwise the reason why it is not
1304
+ */
1305
+ public static verify(message: { [k: string]: any }): (string|null);
1306
+
1307
+ /**
1308
+ * Creates a UserActivityGroup message from a plain object. Also converts values to their respective internal types.
1309
+ * @param object Plain object
1310
+ * @returns UserActivityGroup
1311
+ */
1312
+ public static fromObject(object: { [k: string]: any }): content.UserActivityGroup;
1313
+
1314
+ /**
1315
+ * Creates a plain object from a UserActivityGroup message. Also converts values to other types if specified.
1316
+ * @param message UserActivityGroup
1317
+ * @param [options] Conversion options
1318
+ * @returns Plain object
1319
+ */
1320
+ public static toObject(message: content.UserActivityGroup, options?: $protobuf.IConversionOptions): { [k: string]: any };
1321
+
1322
+ /**
1323
+ * Converts this UserActivityGroup to JSON.
1324
+ * @returns JSON object
1325
+ */
1326
+ public toJSON(): { [k: string]: any };
1327
+ }
1328
+
1329
+ /** Represents an ActivityGroupInfoManager */
1330
+ class ActivityGroupInfoManager extends $protobuf.rpc.Service {
1331
+
1332
+ /**
1333
+ * Constructs a new ActivityGroupInfoManager service.
1334
+ * @param rpcImpl RPC implementation
1335
+ * @param [requestDelimited=false] Whether requests are length-delimited
1336
+ * @param [responseDelimited=false] Whether responses are length-delimited
1337
+ */
1338
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
1339
+
1340
+ /**
1341
+ * Creates new ActivityGroupInfoManager service using the specified rpc implementation.
1342
+ * @param rpcImpl RPC implementation
1343
+ * @param [requestDelimited=false] Whether requests are length-delimited
1344
+ * @param [responseDelimited=false] Whether responses are length-delimited
1345
+ * @returns RPC service. Useful where requests and/or responses are streamed.
1346
+ */
1347
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): ActivityGroupInfoManager;
1348
+
1349
+ /**
1350
+ * Calls getInfoForActivityGroup.
1351
+ * @param request ActivityGroupInfoRequest message or plain object
1352
+ * @param callback Node-style callback called with the error, if any, and ActivityGroupInfoReply
1353
+ */
1354
+ public getInfoForActivityGroup(request: content.IActivityGroupInfoRequest, callback: content.ActivityGroupInfoManager.getInfoForActivityGroupCallback): void;
1355
+
1356
+ /**
1357
+ * Calls getInfoForActivityGroup.
1358
+ * @param request ActivityGroupInfoRequest message or plain object
1359
+ * @returns Promise
1360
+ */
1361
+ public getInfoForActivityGroup(request: content.IActivityGroupInfoRequest): Promise<content.ActivityGroupInfoReply>;
1362
+ }
1363
+
1364
+ namespace ActivityGroupInfoManager {
1365
+
1366
+ /**
1367
+ * Callback as used by {@link content.ActivityGroupInfoManager#getInfoForActivityGroup}.
1368
+ * @param error Error, if any
1369
+ * @param [response] ActivityGroupInfoReply
1370
+ */
1371
+ type getInfoForActivityGroupCallback = (error: (Error|null), response?: content.ActivityGroupInfoReply) => void;
1372
+ }
1373
+
1374
+ /** Properties of an ActivityGroupInfoRequest. */
1375
+ interface IActivityGroupInfoRequest {
1376
+
1377
+ /** ActivityGroupInfoRequest activityGroupId */
1378
+ activityGroupId?: (number|null);
1379
+
1380
+ /** ActivityGroupInfoRequest locale */
1381
+ locale?: (string|null);
1382
+ }
1383
+
1384
+ /** Represents an ActivityGroupInfoRequest. */
1385
+ class ActivityGroupInfoRequest implements IActivityGroupInfoRequest {
1386
+
1387
+ /**
1388
+ * Constructs a new ActivityGroupInfoRequest.
1389
+ * @param [properties] Properties to set
1390
+ */
1391
+ constructor(properties?: content.IActivityGroupInfoRequest);
1392
+
1393
+ /** ActivityGroupInfoRequest activityGroupId. */
1394
+ public activityGroupId: number;
1395
+
1396
+ /** ActivityGroupInfoRequest locale. */
1397
+ public locale: string;
1398
+
1399
+ /**
1400
+ * Creates a new ActivityGroupInfoRequest instance using the specified properties.
1401
+ * @param [properties] Properties to set
1402
+ * @returns ActivityGroupInfoRequest instance
1403
+ */
1404
+ public static create(properties?: content.IActivityGroupInfoRequest): content.ActivityGroupInfoRequest;
1405
+
1406
+ /**
1407
+ * Encodes the specified ActivityGroupInfoRequest message. Does not implicitly {@link content.ActivityGroupInfoRequest.verify|verify} messages.
1408
+ * @param message ActivityGroupInfoRequest message or plain object to encode
1409
+ * @param [writer] Writer to encode to
1410
+ * @returns Writer
1411
+ */
1412
+ public static encode(message: content.IActivityGroupInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer;
1413
+
1414
+ /**
1415
+ * Encodes the specified ActivityGroupInfoRequest message, length delimited. Does not implicitly {@link content.ActivityGroupInfoRequest.verify|verify} messages.
1416
+ * @param message ActivityGroupInfoRequest message or plain object to encode
1417
+ * @param [writer] Writer to encode to
1418
+ * @returns Writer
1419
+ */
1420
+ public static encodeDelimited(message: content.IActivityGroupInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer;
1421
+
1422
+ /**
1423
+ * Decodes an ActivityGroupInfoRequest message from the specified reader or buffer.
1424
+ * @param reader Reader or buffer to decode from
1425
+ * @param [length] Message length if known beforehand
1426
+ * @returns ActivityGroupInfoRequest
1427
+ * @throws {Error} If the payload is not a reader or valid buffer
1428
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1429
+ */
1430
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.ActivityGroupInfoRequest;
1431
+
1432
+ /**
1433
+ * Decodes an ActivityGroupInfoRequest message from the specified reader or buffer, length delimited.
1434
+ * @param reader Reader or buffer to decode from
1435
+ * @returns ActivityGroupInfoRequest
1436
+ * @throws {Error} If the payload is not a reader or valid buffer
1437
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1438
+ */
1439
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.ActivityGroupInfoRequest;
1440
+
1441
+ /**
1442
+ * Verifies an ActivityGroupInfoRequest message.
1443
+ * @param message Plain object to verify
1444
+ * @returns `null` if valid, otherwise the reason why it is not
1445
+ */
1446
+ public static verify(message: { [k: string]: any }): (string|null);
1447
+
1448
+ /**
1449
+ * Creates an ActivityGroupInfoRequest message from a plain object. Also converts values to their respective internal types.
1450
+ * @param object Plain object
1451
+ * @returns ActivityGroupInfoRequest
1452
+ */
1453
+ public static fromObject(object: { [k: string]: any }): content.ActivityGroupInfoRequest;
1454
+
1455
+ /**
1456
+ * Creates a plain object from an ActivityGroupInfoRequest message. Also converts values to other types if specified.
1457
+ * @param message ActivityGroupInfoRequest
1458
+ * @param [options] Conversion options
1459
+ * @returns Plain object
1460
+ */
1461
+ public static toObject(message: content.ActivityGroupInfoRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
1462
+
1463
+ /**
1464
+ * Converts this ActivityGroupInfoRequest to JSON.
1465
+ * @returns JSON object
1466
+ */
1467
+ public toJSON(): { [k: string]: any };
1468
+ }
1469
+
1470
+ /** Properties of an ActivityGroupInfoReply. */
1471
+ interface IActivityGroupInfoReply {
1472
+
1473
+ /** ActivityGroupInfoReply activityGroup */
1474
+ activityGroup?: (content.IActivityGroup|null);
1475
+
1476
+ /** ActivityGroupInfoReply groupCollection */
1477
+ groupCollection?: (content.IGroupCollection|null);
1478
+
1479
+ /** ActivityGroupInfoReply orderedActivitiesInGroup */
1480
+ orderedActivitiesInGroup?: (content.IOrderedActivity[]|null);
1481
+
1482
+ /** ActivityGroupInfoReply content */
1483
+ content?: (content.IContent|null);
1484
+ }
1485
+
1486
+ /** Represents an ActivityGroupInfoReply. */
1487
+ class ActivityGroupInfoReply implements IActivityGroupInfoReply {
1488
+
1489
+ /**
1490
+ * Constructs a new ActivityGroupInfoReply.
1491
+ * @param [properties] Properties to set
1492
+ */
1493
+ constructor(properties?: content.IActivityGroupInfoReply);
1494
+
1495
+ /** ActivityGroupInfoReply activityGroup. */
1496
+ public activityGroup?: (content.IActivityGroup|null);
1497
+
1498
+ /** ActivityGroupInfoReply groupCollection. */
1499
+ public groupCollection?: (content.IGroupCollection|null);
1500
+
1501
+ /** ActivityGroupInfoReply orderedActivitiesInGroup. */
1502
+ public orderedActivitiesInGroup: content.IOrderedActivity[];
1503
+
1504
+ /** ActivityGroupInfoReply content. */
1505
+ public content?: (content.IContent|null);
1506
+
1507
+ /**
1508
+ * Creates a new ActivityGroupInfoReply instance using the specified properties.
1509
+ * @param [properties] Properties to set
1510
+ * @returns ActivityGroupInfoReply instance
1511
+ */
1512
+ public static create(properties?: content.IActivityGroupInfoReply): content.ActivityGroupInfoReply;
1513
+
1514
+ /**
1515
+ * Encodes the specified ActivityGroupInfoReply message. Does not implicitly {@link content.ActivityGroupInfoReply.verify|verify} messages.
1516
+ * @param message ActivityGroupInfoReply message or plain object to encode
1517
+ * @param [writer] Writer to encode to
1518
+ * @returns Writer
1519
+ */
1520
+ public static encode(message: content.IActivityGroupInfoReply, writer?: $protobuf.Writer): $protobuf.Writer;
1521
+
1522
+ /**
1523
+ * Encodes the specified ActivityGroupInfoReply message, length delimited. Does not implicitly {@link content.ActivityGroupInfoReply.verify|verify} messages.
1524
+ * @param message ActivityGroupInfoReply message or plain object to encode
1525
+ * @param [writer] Writer to encode to
1526
+ * @returns Writer
1527
+ */
1528
+ public static encodeDelimited(message: content.IActivityGroupInfoReply, writer?: $protobuf.Writer): $protobuf.Writer;
1529
+
1530
+ /**
1531
+ * Decodes an ActivityGroupInfoReply message from the specified reader or buffer.
1532
+ * @param reader Reader or buffer to decode from
1533
+ * @param [length] Message length if known beforehand
1534
+ * @returns ActivityGroupInfoReply
1535
+ * @throws {Error} If the payload is not a reader or valid buffer
1536
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1537
+ */
1538
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.ActivityGroupInfoReply;
1539
+
1540
+ /**
1541
+ * Decodes an ActivityGroupInfoReply message from the specified reader or buffer, length delimited.
1542
+ * @param reader Reader or buffer to decode from
1543
+ * @returns ActivityGroupInfoReply
1544
+ * @throws {Error} If the payload is not a reader or valid buffer
1545
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1546
+ */
1547
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.ActivityGroupInfoReply;
1548
+
1549
+ /**
1550
+ * Verifies an ActivityGroupInfoReply message.
1551
+ * @param message Plain object to verify
1552
+ * @returns `null` if valid, otherwise the reason why it is not
1553
+ */
1554
+ public static verify(message: { [k: string]: any }): (string|null);
1555
+
1556
+ /**
1557
+ * Creates an ActivityGroupInfoReply message from a plain object. Also converts values to their respective internal types.
1558
+ * @param object Plain object
1559
+ * @returns ActivityGroupInfoReply
1560
+ */
1561
+ public static fromObject(object: { [k: string]: any }): content.ActivityGroupInfoReply;
1562
+
1563
+ /**
1564
+ * Creates a plain object from an ActivityGroupInfoReply message. Also converts values to other types if specified.
1565
+ * @param message ActivityGroupInfoReply
1566
+ * @param [options] Conversion options
1567
+ * @returns Plain object
1568
+ */
1569
+ public static toObject(message: content.ActivityGroupInfoReply, options?: $protobuf.IConversionOptions): { [k: string]: any };
1570
+
1571
+ /**
1572
+ * Converts this ActivityGroupInfoReply to JSON.
1573
+ * @returns JSON object
1574
+ */
1575
+ public toJSON(): { [k: string]: any };
1576
+ }
1577
+
1578
+ /** Represents an ActivityInfoManager */
1579
+ class ActivityInfoManager extends $protobuf.rpc.Service {
1580
+
1581
+ /**
1582
+ * Constructs a new ActivityInfoManager service.
1583
+ * @param rpcImpl RPC implementation
1584
+ * @param [requestDelimited=false] Whether requests are length-delimited
1585
+ * @param [responseDelimited=false] Whether responses are length-delimited
1586
+ */
1587
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
1588
+
1589
+ /**
1590
+ * Creates new ActivityInfoManager service using the specified rpc implementation.
1591
+ * @param rpcImpl RPC implementation
1592
+ * @param [requestDelimited=false] Whether requests are length-delimited
1593
+ * @param [responseDelimited=false] Whether responses are length-delimited
1594
+ * @returns RPC service. Useful where requests and/or responses are streamed.
1595
+ */
1596
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): ActivityInfoManager;
1597
+
1598
+ /**
1599
+ * Calls getInfoForActivity.
1600
+ * @param request ActivityInfoRequest message or plain object
1601
+ * @param callback Node-style callback called with the error, if any, and ActivityInfoReply
1602
+ */
1603
+ public getInfoForActivity(request: content.IActivityInfoRequest, callback: content.ActivityInfoManager.getInfoForActivityCallback): void;
1604
+
1605
+ /**
1606
+ * Calls getInfoForActivity.
1607
+ * @param request ActivityInfoRequest message or plain object
1608
+ * @returns Promise
1609
+ */
1610
+ public getInfoForActivity(request: content.IActivityInfoRequest): Promise<content.ActivityInfoReply>;
1611
+
1612
+ /**
1613
+ * Calls getActivityVariation.
1614
+ * @param request ActivityVariationRequest message or plain object
1615
+ * @param callback Node-style callback called with the error, if any, and ActivityVariationReply
1616
+ */
1617
+ public getActivityVariation(request: content.IActivityVariationRequest, callback: content.ActivityInfoManager.getActivityVariationCallback): void;
1618
+
1619
+ /**
1620
+ * Calls getActivityVariation.
1621
+ * @param request ActivityVariationRequest message or plain object
1622
+ * @returns Promise
1623
+ */
1624
+ public getActivityVariation(request: content.IActivityVariationRequest): Promise<content.ActivityVariationReply>;
1625
+ }
1626
+
1627
+ namespace ActivityInfoManager {
1628
+
1629
+ /**
1630
+ * Callback as used by {@link content.ActivityInfoManager#getInfoForActivity}.
1631
+ * @param error Error, if any
1632
+ * @param [response] ActivityInfoReply
1633
+ */
1634
+ type getInfoForActivityCallback = (error: (Error|null), response?: content.ActivityInfoReply) => void;
1635
+
1636
+ /**
1637
+ * Callback as used by {@link content.ActivityInfoManager#getActivityVariation}.
1638
+ * @param error Error, if any
1639
+ * @param [response] ActivityVariationReply
1640
+ */
1641
+ type getActivityVariationCallback = (error: (Error|null), response?: content.ActivityVariationReply) => void;
1642
+ }
1643
+
1644
+ /** Properties of an ActivityInfoRequest. */
1645
+ interface IActivityInfoRequest {
1646
+
1647
+ /** ActivityInfoRequest activityId */
1648
+ activityId?: (number|null);
1649
+
1650
+ /** ActivityInfoRequest locale */
1651
+ locale?: (string|null);
1652
+ }
1653
+
1654
+ /** Represents an ActivityInfoRequest. */
1655
+ class ActivityInfoRequest implements IActivityInfoRequest {
1656
+
1657
+ /**
1658
+ * Constructs a new ActivityInfoRequest.
1659
+ * @param [properties] Properties to set
1660
+ */
1661
+ constructor(properties?: content.IActivityInfoRequest);
1662
+
1663
+ /** ActivityInfoRequest activityId. */
1664
+ public activityId: number;
1665
+
1666
+ /** ActivityInfoRequest locale. */
1667
+ public locale: string;
1668
+
1669
+ /**
1670
+ * Creates a new ActivityInfoRequest instance using the specified properties.
1671
+ * @param [properties] Properties to set
1672
+ * @returns ActivityInfoRequest instance
1673
+ */
1674
+ public static create(properties?: content.IActivityInfoRequest): content.ActivityInfoRequest;
1675
+
1676
+ /**
1677
+ * Encodes the specified ActivityInfoRequest message. Does not implicitly {@link content.ActivityInfoRequest.verify|verify} messages.
1678
+ * @param message ActivityInfoRequest message or plain object to encode
1679
+ * @param [writer] Writer to encode to
1680
+ * @returns Writer
1681
+ */
1682
+ public static encode(message: content.IActivityInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer;
1683
+
1684
+ /**
1685
+ * Encodes the specified ActivityInfoRequest message, length delimited. Does not implicitly {@link content.ActivityInfoRequest.verify|verify} messages.
1686
+ * @param message ActivityInfoRequest message or plain object to encode
1687
+ * @param [writer] Writer to encode to
1688
+ * @returns Writer
1689
+ */
1690
+ public static encodeDelimited(message: content.IActivityInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer;
1691
+
1692
+ /**
1693
+ * Decodes an ActivityInfoRequest message from the specified reader or buffer.
1694
+ * @param reader Reader or buffer to decode from
1695
+ * @param [length] Message length if known beforehand
1696
+ * @returns ActivityInfoRequest
1697
+ * @throws {Error} If the payload is not a reader or valid buffer
1698
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1699
+ */
1700
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.ActivityInfoRequest;
1701
+
1702
+ /**
1703
+ * Decodes an ActivityInfoRequest message from the specified reader or buffer, length delimited.
1704
+ * @param reader Reader or buffer to decode from
1705
+ * @returns ActivityInfoRequest
1706
+ * @throws {Error} If the payload is not a reader or valid buffer
1707
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1708
+ */
1709
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.ActivityInfoRequest;
1710
+
1711
+ /**
1712
+ * Verifies an ActivityInfoRequest message.
1713
+ * @param message Plain object to verify
1714
+ * @returns `null` if valid, otherwise the reason why it is not
1715
+ */
1716
+ public static verify(message: { [k: string]: any }): (string|null);
1717
+
1718
+ /**
1719
+ * Creates an ActivityInfoRequest message from a plain object. Also converts values to their respective internal types.
1720
+ * @param object Plain object
1721
+ * @returns ActivityInfoRequest
1722
+ */
1723
+ public static fromObject(object: { [k: string]: any }): content.ActivityInfoRequest;
1724
+
1725
+ /**
1726
+ * Creates a plain object from an ActivityInfoRequest message. Also converts values to other types if specified.
1727
+ * @param message ActivityInfoRequest
1728
+ * @param [options] Conversion options
1729
+ * @returns Plain object
1730
+ */
1731
+ public static toObject(message: content.ActivityInfoRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
1732
+
1733
+ /**
1734
+ * Converts this ActivityInfoRequest to JSON.
1735
+ * @returns JSON object
1736
+ */
1737
+ public toJSON(): { [k: string]: any };
1738
+ }
1739
+
1740
+ /** Properties of an ActivityInfoReply. */
1741
+ interface IActivityInfoReply {
1742
+
1743
+ /** ActivityInfoReply activity */
1744
+ activity?: (content.IActivity|null);
1745
+
1746
+ /** ActivityInfoReply activityGroup */
1747
+ activityGroup?: (content.IActivityGroup|null);
1748
+
1749
+ /** ActivityInfoReply groupCollection */
1750
+ groupCollection?: (content.IGroupCollection|null);
1751
+
1752
+ /** ActivityInfoReply cards */
1753
+ cards?: (content.IActivityCard[]|null);
1754
+
1755
+ /** ActivityInfoReply orderedActivitiesInGroup */
1756
+ orderedActivitiesInGroup?: (content.IOrderedActivity[]|null);
1757
+
1758
+ /** ActivityInfoReply activityVariations */
1759
+ activityVariations?: (content.IActivityVariation[]|null);
1760
+
1761
+ /** ActivityInfoReply content */
1762
+ content?: (content.IContent|null);
1763
+
1764
+ /** ActivityInfoReply sessionNumberInLevel */
1765
+ sessionNumberInLevel?: (number|null);
1766
+
1767
+ /** ActivityInfoReply sessionLevelNumberInCourse */
1768
+ sessionLevelNumberInCourse?: (number|null);
1769
+ }
1770
+
1771
+ /** Represents an ActivityInfoReply. */
1772
+ class ActivityInfoReply implements IActivityInfoReply {
1773
+
1774
+ /**
1775
+ * Constructs a new ActivityInfoReply.
1776
+ * @param [properties] Properties to set
1777
+ */
1778
+ constructor(properties?: content.IActivityInfoReply);
1779
+
1780
+ /** ActivityInfoReply activity. */
1781
+ public activity?: (content.IActivity|null);
1782
+
1783
+ /** ActivityInfoReply activityGroup. */
1784
+ public activityGroup?: (content.IActivityGroup|null);
1785
+
1786
+ /** ActivityInfoReply groupCollection. */
1787
+ public groupCollection?: (content.IGroupCollection|null);
1788
+
1789
+ /** ActivityInfoReply cards. */
1790
+ public cards: content.IActivityCard[];
1791
+
1792
+ /** ActivityInfoReply orderedActivitiesInGroup. */
1793
+ public orderedActivitiesInGroup: content.IOrderedActivity[];
1794
+
1795
+ /** ActivityInfoReply activityVariations. */
1796
+ public activityVariations: content.IActivityVariation[];
1797
+
1798
+ /** ActivityInfoReply content. */
1799
+ public content?: (content.IContent|null);
1800
+
1801
+ /** ActivityInfoReply sessionNumberInLevel. */
1802
+ public sessionNumberInLevel: number;
1803
+
1804
+ /** ActivityInfoReply sessionLevelNumberInCourse. */
1805
+ public sessionLevelNumberInCourse: number;
1806
+
1807
+ /**
1808
+ * Creates a new ActivityInfoReply instance using the specified properties.
1809
+ * @param [properties] Properties to set
1810
+ * @returns ActivityInfoReply instance
1811
+ */
1812
+ public static create(properties?: content.IActivityInfoReply): content.ActivityInfoReply;
1813
+
1814
+ /**
1815
+ * Encodes the specified ActivityInfoReply message. Does not implicitly {@link content.ActivityInfoReply.verify|verify} messages.
1816
+ * @param message ActivityInfoReply message or plain object to encode
1817
+ * @param [writer] Writer to encode to
1818
+ * @returns Writer
1819
+ */
1820
+ public static encode(message: content.IActivityInfoReply, writer?: $protobuf.Writer): $protobuf.Writer;
1821
+
1822
+ /**
1823
+ * Encodes the specified ActivityInfoReply message, length delimited. Does not implicitly {@link content.ActivityInfoReply.verify|verify} messages.
1824
+ * @param message ActivityInfoReply message or plain object to encode
1825
+ * @param [writer] Writer to encode to
1826
+ * @returns Writer
1827
+ */
1828
+ public static encodeDelimited(message: content.IActivityInfoReply, writer?: $protobuf.Writer): $protobuf.Writer;
1829
+
1830
+ /**
1831
+ * Decodes an ActivityInfoReply message from the specified reader or buffer.
1832
+ * @param reader Reader or buffer to decode from
1833
+ * @param [length] Message length if known beforehand
1834
+ * @returns ActivityInfoReply
1835
+ * @throws {Error} If the payload is not a reader or valid buffer
1836
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1837
+ */
1838
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.ActivityInfoReply;
1839
+
1840
+ /**
1841
+ * Decodes an ActivityInfoReply message from the specified reader or buffer, length delimited.
1842
+ * @param reader Reader or buffer to decode from
1843
+ * @returns ActivityInfoReply
1844
+ * @throws {Error} If the payload is not a reader or valid buffer
1845
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1846
+ */
1847
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.ActivityInfoReply;
1848
+
1849
+ /**
1850
+ * Verifies an ActivityInfoReply message.
1851
+ * @param message Plain object to verify
1852
+ * @returns `null` if valid, otherwise the reason why it is not
1853
+ */
1854
+ public static verify(message: { [k: string]: any }): (string|null);
1855
+
1856
+ /**
1857
+ * Creates an ActivityInfoReply message from a plain object. Also converts values to their respective internal types.
1858
+ * @param object Plain object
1859
+ * @returns ActivityInfoReply
1860
+ */
1861
+ public static fromObject(object: { [k: string]: any }): content.ActivityInfoReply;
1862
+
1863
+ /**
1864
+ * Creates a plain object from an ActivityInfoReply message. Also converts values to other types if specified.
1865
+ * @param message ActivityInfoReply
1866
+ * @param [options] Conversion options
1867
+ * @returns Plain object
1868
+ */
1869
+ public static toObject(message: content.ActivityInfoReply, options?: $protobuf.IConversionOptions): { [k: string]: any };
1870
+
1871
+ /**
1872
+ * Converts this ActivityInfoReply to JSON.
1873
+ * @returns JSON object
1874
+ */
1875
+ public toJSON(): { [k: string]: any };
1876
+ }
1877
+
1878
+ /** Properties of an ActivityVariationRequest. */
1879
+ interface IActivityVariationRequest {
1880
+
1881
+ /** ActivityVariationRequest id */
1882
+ id?: (number|null);
1883
+ }
1884
+
1885
+ /** Represents an ActivityVariationRequest. */
1886
+ class ActivityVariationRequest implements IActivityVariationRequest {
1887
+
1888
+ /**
1889
+ * Constructs a new ActivityVariationRequest.
1890
+ * @param [properties] Properties to set
1891
+ */
1892
+ constructor(properties?: content.IActivityVariationRequest);
1893
+
1894
+ /** ActivityVariationRequest id. */
1895
+ public id: number;
1896
+
1897
+ /**
1898
+ * Creates a new ActivityVariationRequest instance using the specified properties.
1899
+ * @param [properties] Properties to set
1900
+ * @returns ActivityVariationRequest instance
1901
+ */
1902
+ public static create(properties?: content.IActivityVariationRequest): content.ActivityVariationRequest;
1903
+
1904
+ /**
1905
+ * Encodes the specified ActivityVariationRequest message. Does not implicitly {@link content.ActivityVariationRequest.verify|verify} messages.
1906
+ * @param message ActivityVariationRequest message or plain object to encode
1907
+ * @param [writer] Writer to encode to
1908
+ * @returns Writer
1909
+ */
1910
+ public static encode(message: content.IActivityVariationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
1911
+
1912
+ /**
1913
+ * Encodes the specified ActivityVariationRequest message, length delimited. Does not implicitly {@link content.ActivityVariationRequest.verify|verify} messages.
1914
+ * @param message ActivityVariationRequest message or plain object to encode
1915
+ * @param [writer] Writer to encode to
1916
+ * @returns Writer
1917
+ */
1918
+ public static encodeDelimited(message: content.IActivityVariationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
1919
+
1920
+ /**
1921
+ * Decodes an ActivityVariationRequest message from the specified reader or buffer.
1922
+ * @param reader Reader or buffer to decode from
1923
+ * @param [length] Message length if known beforehand
1924
+ * @returns ActivityVariationRequest
1925
+ * @throws {Error} If the payload is not a reader or valid buffer
1926
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1927
+ */
1928
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.ActivityVariationRequest;
1929
+
1930
+ /**
1931
+ * Decodes an ActivityVariationRequest message from the specified reader or buffer, length delimited.
1932
+ * @param reader Reader or buffer to decode from
1933
+ * @returns ActivityVariationRequest
1934
+ * @throws {Error} If the payload is not a reader or valid buffer
1935
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1936
+ */
1937
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.ActivityVariationRequest;
1938
+
1939
+ /**
1940
+ * Verifies an ActivityVariationRequest message.
1941
+ * @param message Plain object to verify
1942
+ * @returns `null` if valid, otherwise the reason why it is not
1943
+ */
1944
+ public static verify(message: { [k: string]: any }): (string|null);
1945
+
1946
+ /**
1947
+ * Creates an ActivityVariationRequest message from a plain object. Also converts values to their respective internal types.
1948
+ * @param object Plain object
1949
+ * @returns ActivityVariationRequest
1950
+ */
1951
+ public static fromObject(object: { [k: string]: any }): content.ActivityVariationRequest;
1952
+
1953
+ /**
1954
+ * Creates a plain object from an ActivityVariationRequest message. Also converts values to other types if specified.
1955
+ * @param message ActivityVariationRequest
1956
+ * @param [options] Conversion options
1957
+ * @returns Plain object
1958
+ */
1959
+ public static toObject(message: content.ActivityVariationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
1960
+
1961
+ /**
1962
+ * Converts this ActivityVariationRequest to JSON.
1963
+ * @returns JSON object
1964
+ */
1965
+ public toJSON(): { [k: string]: any };
1966
+ }
1967
+
1968
+ /** Properties of an ActivityVariationReply. */
1969
+ interface IActivityVariationReply {
1970
+
1971
+ /** ActivityVariationReply activityVariation */
1972
+ activityVariation?: (content.IActivityVariation|null);
1973
+ }
1974
+
1975
+ /** Represents an ActivityVariationReply. */
1976
+ class ActivityVariationReply implements IActivityVariationReply {
1977
+
1978
+ /**
1979
+ * Constructs a new ActivityVariationReply.
1980
+ * @param [properties] Properties to set
1981
+ */
1982
+ constructor(properties?: content.IActivityVariationReply);
1983
+
1984
+ /** ActivityVariationReply activityVariation. */
1985
+ public activityVariation?: (content.IActivityVariation|null);
1986
+
1987
+ /**
1988
+ * Creates a new ActivityVariationReply instance using the specified properties.
1989
+ * @param [properties] Properties to set
1990
+ * @returns ActivityVariationReply instance
1991
+ */
1992
+ public static create(properties?: content.IActivityVariationReply): content.ActivityVariationReply;
1993
+
1994
+ /**
1995
+ * Encodes the specified ActivityVariationReply message. Does not implicitly {@link content.ActivityVariationReply.verify|verify} messages.
1996
+ * @param message ActivityVariationReply message or plain object to encode
1997
+ * @param [writer] Writer to encode to
1998
+ * @returns Writer
1999
+ */
2000
+ public static encode(message: content.IActivityVariationReply, writer?: $protobuf.Writer): $protobuf.Writer;
2001
+
2002
+ /**
2003
+ * Encodes the specified ActivityVariationReply message, length delimited. Does not implicitly {@link content.ActivityVariationReply.verify|verify} messages.
2004
+ * @param message ActivityVariationReply message or plain object to encode
2005
+ * @param [writer] Writer to encode to
2006
+ * @returns Writer
2007
+ */
2008
+ public static encodeDelimited(message: content.IActivityVariationReply, writer?: $protobuf.Writer): $protobuf.Writer;
2009
+
2010
+ /**
2011
+ * Decodes an ActivityVariationReply message from the specified reader or buffer.
2012
+ * @param reader Reader or buffer to decode from
2013
+ * @param [length] Message length if known beforehand
2014
+ * @returns ActivityVariationReply
2015
+ * @throws {Error} If the payload is not a reader or valid buffer
2016
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2017
+ */
2018
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.ActivityVariationReply;
2019
+
2020
+ /**
2021
+ * Decodes an ActivityVariationReply message from the specified reader or buffer, length delimited.
2022
+ * @param reader Reader or buffer to decode from
2023
+ * @returns ActivityVariationReply
2024
+ * @throws {Error} If the payload is not a reader or valid buffer
2025
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2026
+ */
2027
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.ActivityVariationReply;
2028
+
2029
+ /**
2030
+ * Verifies an ActivityVariationReply message.
2031
+ * @param message Plain object to verify
2032
+ * @returns `null` if valid, otherwise the reason why it is not
2033
+ */
2034
+ public static verify(message: { [k: string]: any }): (string|null);
2035
+
2036
+ /**
2037
+ * Creates an ActivityVariationReply message from a plain object. Also converts values to their respective internal types.
2038
+ * @param object Plain object
2039
+ * @returns ActivityVariationReply
2040
+ */
2041
+ public static fromObject(object: { [k: string]: any }): content.ActivityVariationReply;
2042
+
2043
+ /**
2044
+ * Creates a plain object from an ActivityVariationReply message. Also converts values to other types if specified.
2045
+ * @param message ActivityVariationReply
2046
+ * @param [options] Conversion options
2047
+ * @returns Plain object
2048
+ */
2049
+ public static toObject(message: content.ActivityVariationReply, options?: $protobuf.IConversionOptions): { [k: string]: any };
2050
+
2051
+ /**
2052
+ * Converts this ActivityVariationReply to JSON.
2053
+ * @returns JSON object
2054
+ */
2055
+ public toJSON(): { [k: string]: any };
2056
+ }
2057
+
2058
+ /** Represents an EdhsActivityManager */
2059
+ class EdhsActivityManager extends $protobuf.rpc.Service {
2060
+
2061
+ /**
2062
+ * Constructs a new EdhsActivityManager service.
2063
+ * @param rpcImpl RPC implementation
2064
+ * @param [requestDelimited=false] Whether requests are length-delimited
2065
+ * @param [responseDelimited=false] Whether responses are length-delimited
2066
+ */
2067
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
2068
+
2069
+ /**
2070
+ * Creates new EdhsActivityManager service using the specified rpc implementation.
2071
+ * @param rpcImpl RPC implementation
2072
+ * @param [requestDelimited=false] Whether requests are length-delimited
2073
+ * @param [responseDelimited=false] Whether responses are length-delimited
2074
+ * @returns RPC service. Useful where requests and/or responses are streamed.
2075
+ */
2076
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): EdhsActivityManager;
2077
+
2078
+ /**
2079
+ * Calls getEdhsActivityInfo.
2080
+ * @param request GetEdhsActivityRequest message or plain object
2081
+ * @param callback Node-style callback called with the error, if any, and GetEdhsActivityResponse
2082
+ */
2083
+ public getEdhsActivityInfo(request: content.IGetEdhsActivityRequest, callback: content.EdhsActivityManager.getEdhsActivityInfoCallback): void;
2084
+
2085
+ /**
2086
+ * Calls getEdhsActivityInfo.
2087
+ * @param request GetEdhsActivityRequest message or plain object
2088
+ * @returns Promise
2089
+ */
2090
+ public getEdhsActivityInfo(request: content.IGetEdhsActivityRequest): Promise<content.GetEdhsActivityResponse>;
2091
+ }
2092
+
2093
+ namespace EdhsActivityManager {
2094
+
2095
+ /**
2096
+ * Callback as used by {@link content.EdhsActivityManager#getEdhsActivityInfo}.
2097
+ * @param error Error, if any
2098
+ * @param [response] GetEdhsActivityResponse
2099
+ */
2100
+ type getEdhsActivityInfoCallback = (error: (Error|null), response?: content.GetEdhsActivityResponse) => void;
2101
+ }
2102
+
2103
+ /** Properties of a GetEdhsActivityRequest. */
2104
+ interface IGetEdhsActivityRequest {
2105
+
2106
+ /** GetEdhsActivityRequest date */
2107
+ date?: (date.IDate|null);
2108
+
2109
+ /** GetEdhsActivityRequest utcOffset */
2110
+ utcOffset?: (string|null);
2111
+ }
2112
+
2113
+ /** Represents a GetEdhsActivityRequest. */
2114
+ class GetEdhsActivityRequest implements IGetEdhsActivityRequest {
2115
+
2116
+ /**
2117
+ * Constructs a new GetEdhsActivityRequest.
2118
+ * @param [properties] Properties to set
2119
+ */
2120
+ constructor(properties?: content.IGetEdhsActivityRequest);
2121
+
2122
+ /** GetEdhsActivityRequest date. */
2123
+ public date?: (date.IDate|null);
2124
+
2125
+ /** GetEdhsActivityRequest utcOffset. */
2126
+ public utcOffset: string;
2127
+
2128
+ /**
2129
+ * Creates a new GetEdhsActivityRequest instance using the specified properties.
2130
+ * @param [properties] Properties to set
2131
+ * @returns GetEdhsActivityRequest instance
2132
+ */
2133
+ public static create(properties?: content.IGetEdhsActivityRequest): content.GetEdhsActivityRequest;
2134
+
2135
+ /**
2136
+ * Encodes the specified GetEdhsActivityRequest message. Does not implicitly {@link content.GetEdhsActivityRequest.verify|verify} messages.
2137
+ * @param message GetEdhsActivityRequest message or plain object to encode
2138
+ * @param [writer] Writer to encode to
2139
+ * @returns Writer
2140
+ */
2141
+ public static encode(message: content.IGetEdhsActivityRequest, writer?: $protobuf.Writer): $protobuf.Writer;
2142
+
2143
+ /**
2144
+ * Encodes the specified GetEdhsActivityRequest message, length delimited. Does not implicitly {@link content.GetEdhsActivityRequest.verify|verify} messages.
2145
+ * @param message GetEdhsActivityRequest message or plain object to encode
2146
+ * @param [writer] Writer to encode to
2147
+ * @returns Writer
2148
+ */
2149
+ public static encodeDelimited(message: content.IGetEdhsActivityRequest, writer?: $protobuf.Writer): $protobuf.Writer;
2150
+
2151
+ /**
2152
+ * Decodes a GetEdhsActivityRequest message from the specified reader or buffer.
2153
+ * @param reader Reader or buffer to decode from
2154
+ * @param [length] Message length if known beforehand
2155
+ * @returns GetEdhsActivityRequest
2156
+ * @throws {Error} If the payload is not a reader or valid buffer
2157
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2158
+ */
2159
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.GetEdhsActivityRequest;
2160
+
2161
+ /**
2162
+ * Decodes a GetEdhsActivityRequest message from the specified reader or buffer, length delimited.
2163
+ * @param reader Reader or buffer to decode from
2164
+ * @returns GetEdhsActivityRequest
2165
+ * @throws {Error} If the payload is not a reader or valid buffer
2166
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2167
+ */
2168
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.GetEdhsActivityRequest;
2169
+
2170
+ /**
2171
+ * Verifies a GetEdhsActivityRequest message.
2172
+ * @param message Plain object to verify
2173
+ * @returns `null` if valid, otherwise the reason why it is not
2174
+ */
2175
+ public static verify(message: { [k: string]: any }): (string|null);
2176
+
2177
+ /**
2178
+ * Creates a GetEdhsActivityRequest message from a plain object. Also converts values to their respective internal types.
2179
+ * @param object Plain object
2180
+ * @returns GetEdhsActivityRequest
2181
+ */
2182
+ public static fromObject(object: { [k: string]: any }): content.GetEdhsActivityRequest;
2183
+
2184
+ /**
2185
+ * Creates a plain object from a GetEdhsActivityRequest message. Also converts values to other types if specified.
2186
+ * @param message GetEdhsActivityRequest
2187
+ * @param [options] Conversion options
2188
+ * @returns Plain object
2189
+ */
2190
+ public static toObject(message: content.GetEdhsActivityRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
2191
+
2192
+ /**
2193
+ * Converts this GetEdhsActivityRequest to JSON.
2194
+ * @returns JSON object
2195
+ */
2196
+ public toJSON(): { [k: string]: any };
2197
+ }
2198
+
2199
+ /** Properties of a GetEdhsActivityResponse. */
2200
+ interface IGetEdhsActivityResponse {
2201
+
2202
+ /** GetEdhsActivityResponse id */
2203
+ id?: (number|null);
2204
+
2205
+ /** GetEdhsActivityResponse name */
2206
+ name?: (string|null);
2207
+
2208
+ /** GetEdhsActivityResponse description */
2209
+ description?: (string|null);
2210
+
2211
+ /** GetEdhsActivityResponse bannerMediaId */
2212
+ bannerMediaId?: (number|null);
2213
+
2214
+ /** GetEdhsActivityResponse variations */
2215
+ variations?: (content.IActivityVariation[]|null);
2216
+
2217
+ /** GetEdhsActivityResponse cards */
2218
+ cards?: (content.IActivityCard[]|null);
2219
+ }
2220
+
2221
+ /** Represents a GetEdhsActivityResponse. */
2222
+ class GetEdhsActivityResponse implements IGetEdhsActivityResponse {
2223
+
2224
+ /**
2225
+ * Constructs a new GetEdhsActivityResponse.
2226
+ * @param [properties] Properties to set
2227
+ */
2228
+ constructor(properties?: content.IGetEdhsActivityResponse);
2229
+
2230
+ /** GetEdhsActivityResponse id. */
2231
+ public id: number;
2232
+
2233
+ /** GetEdhsActivityResponse name. */
2234
+ public name: string;
2235
+
2236
+ /** GetEdhsActivityResponse description. */
2237
+ public description: string;
2238
+
2239
+ /** GetEdhsActivityResponse bannerMediaId. */
2240
+ public bannerMediaId: number;
2241
+
2242
+ /** GetEdhsActivityResponse variations. */
2243
+ public variations: content.IActivityVariation[];
2244
+
2245
+ /** GetEdhsActivityResponse cards. */
2246
+ public cards: content.IActivityCard[];
2247
+
2248
+ /**
2249
+ * Creates a new GetEdhsActivityResponse instance using the specified properties.
2250
+ * @param [properties] Properties to set
2251
+ * @returns GetEdhsActivityResponse instance
2252
+ */
2253
+ public static create(properties?: content.IGetEdhsActivityResponse): content.GetEdhsActivityResponse;
2254
+
2255
+ /**
2256
+ * Encodes the specified GetEdhsActivityResponse message. Does not implicitly {@link content.GetEdhsActivityResponse.verify|verify} messages.
2257
+ * @param message GetEdhsActivityResponse message or plain object to encode
2258
+ * @param [writer] Writer to encode to
2259
+ * @returns Writer
2260
+ */
2261
+ public static encode(message: content.IGetEdhsActivityResponse, writer?: $protobuf.Writer): $protobuf.Writer;
2262
+
2263
+ /**
2264
+ * Encodes the specified GetEdhsActivityResponse message, length delimited. Does not implicitly {@link content.GetEdhsActivityResponse.verify|verify} messages.
2265
+ * @param message GetEdhsActivityResponse message or plain object to encode
2266
+ * @param [writer] Writer to encode to
2267
+ * @returns Writer
2268
+ */
2269
+ public static encodeDelimited(message: content.IGetEdhsActivityResponse, writer?: $protobuf.Writer): $protobuf.Writer;
2270
+
2271
+ /**
2272
+ * Decodes a GetEdhsActivityResponse message from the specified reader or buffer.
2273
+ * @param reader Reader or buffer to decode from
2274
+ * @param [length] Message length if known beforehand
2275
+ * @returns GetEdhsActivityResponse
2276
+ * @throws {Error} If the payload is not a reader or valid buffer
2277
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2278
+ */
2279
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.GetEdhsActivityResponse;
2280
+
2281
+ /**
2282
+ * Decodes a GetEdhsActivityResponse message from the specified reader or buffer, length delimited.
2283
+ * @param reader Reader or buffer to decode from
2284
+ * @returns GetEdhsActivityResponse
2285
+ * @throws {Error} If the payload is not a reader or valid buffer
2286
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2287
+ */
2288
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.GetEdhsActivityResponse;
2289
+
2290
+ /**
2291
+ * Verifies a GetEdhsActivityResponse message.
2292
+ * @param message Plain object to verify
2293
+ * @returns `null` if valid, otherwise the reason why it is not
2294
+ */
2295
+ public static verify(message: { [k: string]: any }): (string|null);
2296
+
2297
+ /**
2298
+ * Creates a GetEdhsActivityResponse message from a plain object. Also converts values to their respective internal types.
2299
+ * @param object Plain object
2300
+ * @returns GetEdhsActivityResponse
2301
+ */
2302
+ public static fromObject(object: { [k: string]: any }): content.GetEdhsActivityResponse;
2303
+
2304
+ /**
2305
+ * Creates a plain object from a GetEdhsActivityResponse message. Also converts values to other types if specified.
2306
+ * @param message GetEdhsActivityResponse
2307
+ * @param [options] Conversion options
2308
+ * @returns Plain object
2309
+ */
2310
+ public static toObject(message: content.GetEdhsActivityResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
2311
+
2312
+ /**
2313
+ * Converts this GetEdhsActivityResponse to JSON.
2314
+ * @returns JSON object
2315
+ */
2316
+ public toJSON(): { [k: string]: any };
2317
+ }
2318
+
2319
+ /** Represents a MediaItemManager */
2320
+ class MediaItemManager extends $protobuf.rpc.Service {
2321
+
2322
+ /**
2323
+ * Constructs a new MediaItemManager service.
2324
+ * @param rpcImpl RPC implementation
2325
+ * @param [requestDelimited=false] Whether requests are length-delimited
2326
+ * @param [responseDelimited=false] Whether responses are length-delimited
2327
+ */
2328
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
2329
+
2330
+ /**
2331
+ * Creates new MediaItemManager service using the specified rpc implementation.
2332
+ * @param rpcImpl RPC implementation
2333
+ * @param [requestDelimited=false] Whether requests are length-delimited
2334
+ * @param [responseDelimited=false] Whether responses are length-delimited
2335
+ * @returns RPC service. Useful where requests and/or responses are streamed.
2336
+ */
2337
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): MediaItemManager;
2338
+
2339
+ /**
2340
+ * Calls getImageUrl.
2341
+ * @param request GetImageUrlRequest message or plain object
2342
+ * @param callback Node-style callback called with the error, if any, and GetImageUrlResponse
2343
+ */
2344
+ public getImageUrl(request: content.IGetImageUrlRequest, callback: content.MediaItemManager.getImageUrlCallback): void;
2345
+
2346
+ /**
2347
+ * Calls getImageUrl.
2348
+ * @param request GetImageUrlRequest message or plain object
2349
+ * @returns Promise
2350
+ */
2351
+ public getImageUrl(request: content.IGetImageUrlRequest): Promise<content.GetImageUrlResponse>;
2352
+
2353
+ /**
2354
+ * Calls getSignedUrl.
2355
+ * @param request GetSignedUrlRequest message or plain object
2356
+ * @param callback Node-style callback called with the error, if any, and GetSignedUrlResponse
2357
+ */
2358
+ public getSignedUrl(request: content.IGetSignedUrlRequest, callback: content.MediaItemManager.getSignedUrlCallback): void;
2359
+
2360
+ /**
2361
+ * Calls getSignedUrl.
2362
+ * @param request GetSignedUrlRequest message or plain object
2363
+ * @returns Promise
2364
+ */
2365
+ public getSignedUrl(request: content.IGetSignedUrlRequest): Promise<content.GetSignedUrlResponse>;
2366
+
2367
+ /**
2368
+ * Calls findById.
2369
+ * @param request FindByIdRequest message or plain object
2370
+ * @param callback Node-style callback called with the error, if any, and FindByIdResponse
2371
+ */
2372
+ public findById(request: content.IFindByIdRequest, callback: content.MediaItemManager.findByIdCallback): void;
2373
+
2374
+ /**
2375
+ * Calls findById.
2376
+ * @param request FindByIdRequest message or plain object
2377
+ * @returns Promise
2378
+ */
2379
+ public findById(request: content.IFindByIdRequest): Promise<content.FindByIdResponse>;
2380
+
2381
+ /**
2382
+ * Calls createFromS3Path.
2383
+ * @param request CreateFromPathRequest message or plain object
2384
+ * @param callback Node-style callback called with the error, if any, and CreateFromPathResponse
2385
+ */
2386
+ public createFromS3Path(request: content.ICreateFromPathRequest, callback: content.MediaItemManager.createFromS3PathCallback): void;
2387
+
2388
+ /**
2389
+ * Calls createFromS3Path.
2390
+ * @param request CreateFromPathRequest message or plain object
2391
+ * @returns Promise
2392
+ */
2393
+ public createFromS3Path(request: content.ICreateFromPathRequest): Promise<content.CreateFromPathResponse>;
2394
+ }
2395
+
2396
+ namespace MediaItemManager {
2397
+
2398
+ /**
2399
+ * Callback as used by {@link content.MediaItemManager#getImageUrl}.
2400
+ * @param error Error, if any
2401
+ * @param [response] GetImageUrlResponse
2402
+ */
2403
+ type getImageUrlCallback = (error: (Error|null), response?: content.GetImageUrlResponse) => void;
2404
+
2405
+ /**
2406
+ * Callback as used by {@link content.MediaItemManager#getSignedUrl}.
2407
+ * @param error Error, if any
2408
+ * @param [response] GetSignedUrlResponse
2409
+ */
2410
+ type getSignedUrlCallback = (error: (Error|null), response?: content.GetSignedUrlResponse) => void;
2411
+
2412
+ /**
2413
+ * Callback as used by {@link content.MediaItemManager#findById}.
2414
+ * @param error Error, if any
2415
+ * @param [response] FindByIdResponse
2416
+ */
2417
+ type findByIdCallback = (error: (Error|null), response?: content.FindByIdResponse) => void;
2418
+
2419
+ /**
2420
+ * Callback as used by {@link content.MediaItemManager#createFromS3Path}.
2421
+ * @param error Error, if any
2422
+ * @param [response] CreateFromPathResponse
2423
+ */
2424
+ type createFromS3PathCallback = (error: (Error|null), response?: content.CreateFromPathResponse) => void;
2425
+ }
2426
+
2427
+ /** Properties of a GetImageUrlRequest. */
2428
+ interface IGetImageUrlRequest {
2429
+
2430
+ /** GetImageUrlRequest mediaItemId */
2431
+ mediaItemId?: (number|null);
2432
+
2433
+ /** GetImageUrlRequest imageConfig */
2434
+ imageConfig?: (content.IImageConfig|null);
2435
+ }
2436
+
2437
+ /** Represents a GetImageUrlRequest. */
2438
+ class GetImageUrlRequest implements IGetImageUrlRequest {
2439
+
2440
+ /**
2441
+ * Constructs a new GetImageUrlRequest.
2442
+ * @param [properties] Properties to set
2443
+ */
2444
+ constructor(properties?: content.IGetImageUrlRequest);
2445
+
2446
+ /** GetImageUrlRequest mediaItemId. */
2447
+ public mediaItemId: number;
2448
+
2449
+ /** GetImageUrlRequest imageConfig. */
2450
+ public imageConfig?: (content.IImageConfig|null);
2451
+
2452
+ /**
2453
+ * Creates a new GetImageUrlRequest instance using the specified properties.
2454
+ * @param [properties] Properties to set
2455
+ * @returns GetImageUrlRequest instance
2456
+ */
2457
+ public static create(properties?: content.IGetImageUrlRequest): content.GetImageUrlRequest;
2458
+
2459
+ /**
2460
+ * Encodes the specified GetImageUrlRequest message. Does not implicitly {@link content.GetImageUrlRequest.verify|verify} messages.
2461
+ * @param message GetImageUrlRequest message or plain object to encode
2462
+ * @param [writer] Writer to encode to
2463
+ * @returns Writer
2464
+ */
2465
+ public static encode(message: content.IGetImageUrlRequest, writer?: $protobuf.Writer): $protobuf.Writer;
2466
+
2467
+ /**
2468
+ * Encodes the specified GetImageUrlRequest message, length delimited. Does not implicitly {@link content.GetImageUrlRequest.verify|verify} messages.
2469
+ * @param message GetImageUrlRequest message or plain object to encode
2470
+ * @param [writer] Writer to encode to
2471
+ * @returns Writer
2472
+ */
2473
+ public static encodeDelimited(message: content.IGetImageUrlRequest, writer?: $protobuf.Writer): $protobuf.Writer;
2474
+
2475
+ /**
2476
+ * Decodes a GetImageUrlRequest message from the specified reader or buffer.
2477
+ * @param reader Reader or buffer to decode from
2478
+ * @param [length] Message length if known beforehand
2479
+ * @returns GetImageUrlRequest
2480
+ * @throws {Error} If the payload is not a reader or valid buffer
2481
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2482
+ */
2483
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.GetImageUrlRequest;
2484
+
2485
+ /**
2486
+ * Decodes a GetImageUrlRequest message from the specified reader or buffer, length delimited.
2487
+ * @param reader Reader or buffer to decode from
2488
+ * @returns GetImageUrlRequest
2489
+ * @throws {Error} If the payload is not a reader or valid buffer
2490
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2491
+ */
2492
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.GetImageUrlRequest;
2493
+
2494
+ /**
2495
+ * Verifies a GetImageUrlRequest message.
2496
+ * @param message Plain object to verify
2497
+ * @returns `null` if valid, otherwise the reason why it is not
2498
+ */
2499
+ public static verify(message: { [k: string]: any }): (string|null);
2500
+
2501
+ /**
2502
+ * Creates a GetImageUrlRequest message from a plain object. Also converts values to their respective internal types.
2503
+ * @param object Plain object
2504
+ * @returns GetImageUrlRequest
2505
+ */
2506
+ public static fromObject(object: { [k: string]: any }): content.GetImageUrlRequest;
2507
+
2508
+ /**
2509
+ * Creates a plain object from a GetImageUrlRequest message. Also converts values to other types if specified.
2510
+ * @param message GetImageUrlRequest
2511
+ * @param [options] Conversion options
2512
+ * @returns Plain object
2513
+ */
2514
+ public static toObject(message: content.GetImageUrlRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
2515
+
2516
+ /**
2517
+ * Converts this GetImageUrlRequest to JSON.
2518
+ * @returns JSON object
2519
+ */
2520
+ public toJSON(): { [k: string]: any };
2521
+ }
2522
+
2523
+ /** Properties of an ImageConfig. */
2524
+ interface IImageConfig {
2525
+
2526
+ /** ImageConfig height */
2527
+ height?: (number|null);
2528
+
2529
+ /** ImageConfig width */
2530
+ width?: (number|null);
2531
+
2532
+ /** ImageConfig rot */
2533
+ rot?: (number|null);
2534
+
2535
+ /** ImageConfig flip */
2536
+ flip?: (string|null);
2537
+
2538
+ /** ImageConfig or */
2539
+ or?: (number|null);
2540
+
2541
+ /** ImageConfig blend */
2542
+ blend?: (string|null);
2543
+
2544
+ /** ImageConfig bm */
2545
+ bm?: (string|null);
2546
+ }
2547
+
2548
+ /** Represents an ImageConfig. */
2549
+ class ImageConfig implements IImageConfig {
2550
+
2551
+ /**
2552
+ * Constructs a new ImageConfig.
2553
+ * @param [properties] Properties to set
2554
+ */
2555
+ constructor(properties?: content.IImageConfig);
2556
+
2557
+ /** ImageConfig height. */
2558
+ public height: number;
2559
+
2560
+ /** ImageConfig width. */
2561
+ public width: number;
2562
+
2563
+ /** ImageConfig rot. */
2564
+ public rot: number;
2565
+
2566
+ /** ImageConfig flip. */
2567
+ public flip: string;
2568
+
2569
+ /** ImageConfig or. */
2570
+ public or: number;
2571
+
2572
+ /** ImageConfig blend. */
2573
+ public blend: string;
2574
+
2575
+ /** ImageConfig bm. */
2576
+ public bm: string;
2577
+
2578
+ /**
2579
+ * Creates a new ImageConfig instance using the specified properties.
2580
+ * @param [properties] Properties to set
2581
+ * @returns ImageConfig instance
2582
+ */
2583
+ public static create(properties?: content.IImageConfig): content.ImageConfig;
2584
+
2585
+ /**
2586
+ * Encodes the specified ImageConfig message. Does not implicitly {@link content.ImageConfig.verify|verify} messages.
2587
+ * @param message ImageConfig message or plain object to encode
2588
+ * @param [writer] Writer to encode to
2589
+ * @returns Writer
2590
+ */
2591
+ public static encode(message: content.IImageConfig, writer?: $protobuf.Writer): $protobuf.Writer;
2592
+
2593
+ /**
2594
+ * Encodes the specified ImageConfig message, length delimited. Does not implicitly {@link content.ImageConfig.verify|verify} messages.
2595
+ * @param message ImageConfig message or plain object to encode
2596
+ * @param [writer] Writer to encode to
2597
+ * @returns Writer
2598
+ */
2599
+ public static encodeDelimited(message: content.IImageConfig, writer?: $protobuf.Writer): $protobuf.Writer;
2600
+
2601
+ /**
2602
+ * Decodes an ImageConfig message from the specified reader or buffer.
2603
+ * @param reader Reader or buffer to decode from
2604
+ * @param [length] Message length if known beforehand
2605
+ * @returns ImageConfig
2606
+ * @throws {Error} If the payload is not a reader or valid buffer
2607
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2608
+ */
2609
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.ImageConfig;
2610
+
2611
+ /**
2612
+ * Decodes an ImageConfig message from the specified reader or buffer, length delimited.
2613
+ * @param reader Reader or buffer to decode from
2614
+ * @returns ImageConfig
2615
+ * @throws {Error} If the payload is not a reader or valid buffer
2616
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2617
+ */
2618
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.ImageConfig;
2619
+
2620
+ /**
2621
+ * Verifies an ImageConfig message.
2622
+ * @param message Plain object to verify
2623
+ * @returns `null` if valid, otherwise the reason why it is not
2624
+ */
2625
+ public static verify(message: { [k: string]: any }): (string|null);
2626
+
2627
+ /**
2628
+ * Creates an ImageConfig message from a plain object. Also converts values to their respective internal types.
2629
+ * @param object Plain object
2630
+ * @returns ImageConfig
2631
+ */
2632
+ public static fromObject(object: { [k: string]: any }): content.ImageConfig;
2633
+
2634
+ /**
2635
+ * Creates a plain object from an ImageConfig message. Also converts values to other types if specified.
2636
+ * @param message ImageConfig
2637
+ * @param [options] Conversion options
2638
+ * @returns Plain object
2639
+ */
2640
+ public static toObject(message: content.ImageConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
2641
+
2642
+ /**
2643
+ * Converts this ImageConfig to JSON.
2644
+ * @returns JSON object
2645
+ */
2646
+ public toJSON(): { [k: string]: any };
2647
+ }
2648
+
2649
+ /** Properties of a GetImageUrlResponse. */
2650
+ interface IGetImageUrlResponse {
2651
+
2652
+ /** GetImageUrlResponse imageUrl */
2653
+ imageUrl?: (string|null);
2654
+ }
2655
+
2656
+ /** Represents a GetImageUrlResponse. */
2657
+ class GetImageUrlResponse implements IGetImageUrlResponse {
2658
+
2659
+ /**
2660
+ * Constructs a new GetImageUrlResponse.
2661
+ * @param [properties] Properties to set
2662
+ */
2663
+ constructor(properties?: content.IGetImageUrlResponse);
2664
+
2665
+ /** GetImageUrlResponse imageUrl. */
2666
+ public imageUrl: string;
2667
+
2668
+ /**
2669
+ * Creates a new GetImageUrlResponse instance using the specified properties.
2670
+ * @param [properties] Properties to set
2671
+ * @returns GetImageUrlResponse instance
2672
+ */
2673
+ public static create(properties?: content.IGetImageUrlResponse): content.GetImageUrlResponse;
2674
+
2675
+ /**
2676
+ * Encodes the specified GetImageUrlResponse message. Does not implicitly {@link content.GetImageUrlResponse.verify|verify} messages.
2677
+ * @param message GetImageUrlResponse message or plain object to encode
2678
+ * @param [writer] Writer to encode to
2679
+ * @returns Writer
2680
+ */
2681
+ public static encode(message: content.IGetImageUrlResponse, writer?: $protobuf.Writer): $protobuf.Writer;
2682
+
2683
+ /**
2684
+ * Encodes the specified GetImageUrlResponse message, length delimited. Does not implicitly {@link content.GetImageUrlResponse.verify|verify} messages.
2685
+ * @param message GetImageUrlResponse message or plain object to encode
2686
+ * @param [writer] Writer to encode to
2687
+ * @returns Writer
2688
+ */
2689
+ public static encodeDelimited(message: content.IGetImageUrlResponse, writer?: $protobuf.Writer): $protobuf.Writer;
2690
+
2691
+ /**
2692
+ * Decodes a GetImageUrlResponse message from the specified reader or buffer.
2693
+ * @param reader Reader or buffer to decode from
2694
+ * @param [length] Message length if known beforehand
2695
+ * @returns GetImageUrlResponse
2696
+ * @throws {Error} If the payload is not a reader or valid buffer
2697
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2698
+ */
2699
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.GetImageUrlResponse;
2700
+
2701
+ /**
2702
+ * Decodes a GetImageUrlResponse message from the specified reader or buffer, length delimited.
2703
+ * @param reader Reader or buffer to decode from
2704
+ * @returns GetImageUrlResponse
2705
+ * @throws {Error} If the payload is not a reader or valid buffer
2706
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2707
+ */
2708
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.GetImageUrlResponse;
2709
+
2710
+ /**
2711
+ * Verifies a GetImageUrlResponse message.
2712
+ * @param message Plain object to verify
2713
+ * @returns `null` if valid, otherwise the reason why it is not
2714
+ */
2715
+ public static verify(message: { [k: string]: any }): (string|null);
2716
+
2717
+ /**
2718
+ * Creates a GetImageUrlResponse message from a plain object. Also converts values to their respective internal types.
2719
+ * @param object Plain object
2720
+ * @returns GetImageUrlResponse
2721
+ */
2722
+ public static fromObject(object: { [k: string]: any }): content.GetImageUrlResponse;
2723
+
2724
+ /**
2725
+ * Creates a plain object from a GetImageUrlResponse message. Also converts values to other types if specified.
2726
+ * @param message GetImageUrlResponse
2727
+ * @param [options] Conversion options
2728
+ * @returns Plain object
2729
+ */
2730
+ public static toObject(message: content.GetImageUrlResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
2731
+
2732
+ /**
2733
+ * Converts this GetImageUrlResponse to JSON.
2734
+ * @returns JSON object
2735
+ */
2736
+ public toJSON(): { [k: string]: any };
2737
+ }
2738
+
2739
+ /** Properties of a GetSignedUrlRequest. */
2740
+ interface IGetSignedUrlRequest {
2741
+
2742
+ /** GetSignedUrlRequest mediaItemId */
2743
+ mediaItemId?: (number|null);
2744
+
2745
+ /** GetSignedUrlRequest container */
2746
+ container?: (string|null);
2747
+
2748
+ /** GetSignedUrlRequest quality */
2749
+ quality?: (string|null);
2750
+ }
2751
+
2752
+ /** Represents a GetSignedUrlRequest. */
2753
+ class GetSignedUrlRequest implements IGetSignedUrlRequest {
2754
+
2755
+ /**
2756
+ * Constructs a new GetSignedUrlRequest.
2757
+ * @param [properties] Properties to set
2758
+ */
2759
+ constructor(properties?: content.IGetSignedUrlRequest);
2760
+
2761
+ /** GetSignedUrlRequest mediaItemId. */
2762
+ public mediaItemId: number;
2763
+
2764
+ /** GetSignedUrlRequest container. */
2765
+ public container: string;
2766
+
2767
+ /** GetSignedUrlRequest quality. */
2768
+ public quality: string;
2769
+
2770
+ /**
2771
+ * Creates a new GetSignedUrlRequest instance using the specified properties.
2772
+ * @param [properties] Properties to set
2773
+ * @returns GetSignedUrlRequest instance
2774
+ */
2775
+ public static create(properties?: content.IGetSignedUrlRequest): content.GetSignedUrlRequest;
2776
+
2777
+ /**
2778
+ * Encodes the specified GetSignedUrlRequest message. Does not implicitly {@link content.GetSignedUrlRequest.verify|verify} messages.
2779
+ * @param message GetSignedUrlRequest message or plain object to encode
2780
+ * @param [writer] Writer to encode to
2781
+ * @returns Writer
2782
+ */
2783
+ public static encode(message: content.IGetSignedUrlRequest, writer?: $protobuf.Writer): $protobuf.Writer;
2784
+
2785
+ /**
2786
+ * Encodes the specified GetSignedUrlRequest message, length delimited. Does not implicitly {@link content.GetSignedUrlRequest.verify|verify} messages.
2787
+ * @param message GetSignedUrlRequest message or plain object to encode
2788
+ * @param [writer] Writer to encode to
2789
+ * @returns Writer
2790
+ */
2791
+ public static encodeDelimited(message: content.IGetSignedUrlRequest, writer?: $protobuf.Writer): $protobuf.Writer;
2792
+
2793
+ /**
2794
+ * Decodes a GetSignedUrlRequest message from the specified reader or buffer.
2795
+ * @param reader Reader or buffer to decode from
2796
+ * @param [length] Message length if known beforehand
2797
+ * @returns GetSignedUrlRequest
2798
+ * @throws {Error} If the payload is not a reader or valid buffer
2799
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2800
+ */
2801
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.GetSignedUrlRequest;
2802
+
2803
+ /**
2804
+ * Decodes a GetSignedUrlRequest message from the specified reader or buffer, length delimited.
2805
+ * @param reader Reader or buffer to decode from
2806
+ * @returns GetSignedUrlRequest
2807
+ * @throws {Error} If the payload is not a reader or valid buffer
2808
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2809
+ */
2810
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.GetSignedUrlRequest;
2811
+
2812
+ /**
2813
+ * Verifies a GetSignedUrlRequest message.
2814
+ * @param message Plain object to verify
2815
+ * @returns `null` if valid, otherwise the reason why it is not
2816
+ */
2817
+ public static verify(message: { [k: string]: any }): (string|null);
2818
+
2819
+ /**
2820
+ * Creates a GetSignedUrlRequest message from a plain object. Also converts values to their respective internal types.
2821
+ * @param object Plain object
2822
+ * @returns GetSignedUrlRequest
2823
+ */
2824
+ public static fromObject(object: { [k: string]: any }): content.GetSignedUrlRequest;
2825
+
2826
+ /**
2827
+ * Creates a plain object from a GetSignedUrlRequest message. Also converts values to other types if specified.
2828
+ * @param message GetSignedUrlRequest
2829
+ * @param [options] Conversion options
2830
+ * @returns Plain object
2831
+ */
2832
+ public static toObject(message: content.GetSignedUrlRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
2833
+
2834
+ /**
2835
+ * Converts this GetSignedUrlRequest to JSON.
2836
+ * @returns JSON object
2837
+ */
2838
+ public toJSON(): { [k: string]: any };
2839
+ }
2840
+
2841
+ /** Properties of a GetSignedUrlResponse. */
2842
+ interface IGetSignedUrlResponse {
2843
+
2844
+ /** GetSignedUrlResponse signedUrl */
2845
+ signedUrl?: (string|null);
2846
+ }
2847
+
2848
+ /** Represents a GetSignedUrlResponse. */
2849
+ class GetSignedUrlResponse implements IGetSignedUrlResponse {
2850
+
2851
+ /**
2852
+ * Constructs a new GetSignedUrlResponse.
2853
+ * @param [properties] Properties to set
2854
+ */
2855
+ constructor(properties?: content.IGetSignedUrlResponse);
2856
+
2857
+ /** GetSignedUrlResponse signedUrl. */
2858
+ public signedUrl: string;
2859
+
2860
+ /**
2861
+ * Creates a new GetSignedUrlResponse instance using the specified properties.
2862
+ * @param [properties] Properties to set
2863
+ * @returns GetSignedUrlResponse instance
2864
+ */
2865
+ public static create(properties?: content.IGetSignedUrlResponse): content.GetSignedUrlResponse;
2866
+
2867
+ /**
2868
+ * Encodes the specified GetSignedUrlResponse message. Does not implicitly {@link content.GetSignedUrlResponse.verify|verify} messages.
2869
+ * @param message GetSignedUrlResponse message or plain object to encode
2870
+ * @param [writer] Writer to encode to
2871
+ * @returns Writer
2872
+ */
2873
+ public static encode(message: content.IGetSignedUrlResponse, writer?: $protobuf.Writer): $protobuf.Writer;
2874
+
2875
+ /**
2876
+ * Encodes the specified GetSignedUrlResponse message, length delimited. Does not implicitly {@link content.GetSignedUrlResponse.verify|verify} messages.
2877
+ * @param message GetSignedUrlResponse message or plain object to encode
2878
+ * @param [writer] Writer to encode to
2879
+ * @returns Writer
2880
+ */
2881
+ public static encodeDelimited(message: content.IGetSignedUrlResponse, writer?: $protobuf.Writer): $protobuf.Writer;
2882
+
2883
+ /**
2884
+ * Decodes a GetSignedUrlResponse message from the specified reader or buffer.
2885
+ * @param reader Reader or buffer to decode from
2886
+ * @param [length] Message length if known beforehand
2887
+ * @returns GetSignedUrlResponse
2888
+ * @throws {Error} If the payload is not a reader or valid buffer
2889
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2890
+ */
2891
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.GetSignedUrlResponse;
2892
+
2893
+ /**
2894
+ * Decodes a GetSignedUrlResponse message from the specified reader or buffer, length delimited.
2895
+ * @param reader Reader or buffer to decode from
2896
+ * @returns GetSignedUrlResponse
2897
+ * @throws {Error} If the payload is not a reader or valid buffer
2898
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2899
+ */
2900
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.GetSignedUrlResponse;
2901
+
2902
+ /**
2903
+ * Verifies a GetSignedUrlResponse message.
2904
+ * @param message Plain object to verify
2905
+ * @returns `null` if valid, otherwise the reason why it is not
2906
+ */
2907
+ public static verify(message: { [k: string]: any }): (string|null);
2908
+
2909
+ /**
2910
+ * Creates a GetSignedUrlResponse message from a plain object. Also converts values to their respective internal types.
2911
+ * @param object Plain object
2912
+ * @returns GetSignedUrlResponse
2913
+ */
2914
+ public static fromObject(object: { [k: string]: any }): content.GetSignedUrlResponse;
2915
+
2916
+ /**
2917
+ * Creates a plain object from a GetSignedUrlResponse message. Also converts values to other types if specified.
2918
+ * @param message GetSignedUrlResponse
2919
+ * @param [options] Conversion options
2920
+ * @returns Plain object
2921
+ */
2922
+ public static toObject(message: content.GetSignedUrlResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
2923
+
2924
+ /**
2925
+ * Converts this GetSignedUrlResponse to JSON.
2926
+ * @returns JSON object
2927
+ */
2928
+ public toJSON(): { [k: string]: any };
2929
+ }
2930
+
2931
+ /** Properties of a MediaItem. */
2932
+ interface IMediaItem {
2933
+
2934
+ /** MediaItem id */
2935
+ id?: (number|null);
2936
+
2937
+ /** MediaItem filename */
2938
+ filename?: (string|null);
2939
+
2940
+ /** MediaItem path */
2941
+ path?: (string|null);
2942
+
2943
+ /** MediaItem mimeType */
2944
+ mimeType?: (string|null);
2945
+
2946
+ /** MediaItem generalType */
2947
+ generalType?: (string|null);
2948
+
2949
+ /** MediaItem legacyId */
2950
+ legacyId?: (string|null);
2951
+
2952
+ /** MediaItem deletedAt */
2953
+ deletedAt?: (date.IDate|null);
2954
+
2955
+ /** MediaItem createdAt */
2956
+ createdAt?: (date.IDate|null);
2957
+
2958
+ /** MediaItem updatedAt */
2959
+ updatedAt?: (date.IDate|null);
2960
+ }
2961
+
2962
+ /** Represents a MediaItem. */
2963
+ class MediaItem implements IMediaItem {
2964
+
2965
+ /**
2966
+ * Constructs a new MediaItem.
2967
+ * @param [properties] Properties to set
2968
+ */
2969
+ constructor(properties?: content.IMediaItem);
2970
+
2971
+ /** MediaItem id. */
2972
+ public id: number;
2973
+
2974
+ /** MediaItem filename. */
2975
+ public filename: string;
2976
+
2977
+ /** MediaItem path. */
2978
+ public path: string;
2979
+
2980
+ /** MediaItem mimeType. */
2981
+ public mimeType: string;
2982
+
2983
+ /** MediaItem generalType. */
2984
+ public generalType: string;
2985
+
2986
+ /** MediaItem legacyId. */
2987
+ public legacyId: string;
2988
+
2989
+ /** MediaItem deletedAt. */
2990
+ public deletedAt?: (date.IDate|null);
2991
+
2992
+ /** MediaItem createdAt. */
2993
+ public createdAt?: (date.IDate|null);
2994
+
2995
+ /** MediaItem updatedAt. */
2996
+ public updatedAt?: (date.IDate|null);
2997
+
2998
+ /**
2999
+ * Creates a new MediaItem instance using the specified properties.
3000
+ * @param [properties] Properties to set
3001
+ * @returns MediaItem instance
3002
+ */
3003
+ public static create(properties?: content.IMediaItem): content.MediaItem;
3004
+
3005
+ /**
3006
+ * Encodes the specified MediaItem message. Does not implicitly {@link content.MediaItem.verify|verify} messages.
3007
+ * @param message MediaItem message or plain object to encode
3008
+ * @param [writer] Writer to encode to
3009
+ * @returns Writer
3010
+ */
3011
+ public static encode(message: content.IMediaItem, writer?: $protobuf.Writer): $protobuf.Writer;
3012
+
3013
+ /**
3014
+ * Encodes the specified MediaItem message, length delimited. Does not implicitly {@link content.MediaItem.verify|verify} messages.
3015
+ * @param message MediaItem message or plain object to encode
3016
+ * @param [writer] Writer to encode to
3017
+ * @returns Writer
3018
+ */
3019
+ public static encodeDelimited(message: content.IMediaItem, writer?: $protobuf.Writer): $protobuf.Writer;
3020
+
3021
+ /**
3022
+ * Decodes a MediaItem message from the specified reader or buffer.
3023
+ * @param reader Reader or buffer to decode from
3024
+ * @param [length] Message length if known beforehand
3025
+ * @returns MediaItem
3026
+ * @throws {Error} If the payload is not a reader or valid buffer
3027
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3028
+ */
3029
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.MediaItem;
3030
+
3031
+ /**
3032
+ * Decodes a MediaItem message from the specified reader or buffer, length delimited.
3033
+ * @param reader Reader or buffer to decode from
3034
+ * @returns MediaItem
3035
+ * @throws {Error} If the payload is not a reader or valid buffer
3036
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3037
+ */
3038
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.MediaItem;
3039
+
3040
+ /**
3041
+ * Verifies a MediaItem message.
3042
+ * @param message Plain object to verify
3043
+ * @returns `null` if valid, otherwise the reason why it is not
3044
+ */
3045
+ public static verify(message: { [k: string]: any }): (string|null);
3046
+
3047
+ /**
3048
+ * Creates a MediaItem message from a plain object. Also converts values to their respective internal types.
3049
+ * @param object Plain object
3050
+ * @returns MediaItem
3051
+ */
3052
+ public static fromObject(object: { [k: string]: any }): content.MediaItem;
3053
+
3054
+ /**
3055
+ * Creates a plain object from a MediaItem message. Also converts values to other types if specified.
3056
+ * @param message MediaItem
3057
+ * @param [options] Conversion options
3058
+ * @returns Plain object
3059
+ */
3060
+ public static toObject(message: content.MediaItem, options?: $protobuf.IConversionOptions): { [k: string]: any };
3061
+
3062
+ /**
3063
+ * Converts this MediaItem to JSON.
3064
+ * @returns JSON object
3065
+ */
3066
+ public toJSON(): { [k: string]: any };
3067
+ }
3068
+
3069
+ /** Properties of a FindByIdRequest. */
3070
+ interface IFindByIdRequest {
3071
+
3072
+ /** FindByIdRequest mediaItemId */
3073
+ mediaItemId?: (number|null);
3074
+ }
3075
+
3076
+ /** Represents a FindByIdRequest. */
3077
+ class FindByIdRequest implements IFindByIdRequest {
3078
+
3079
+ /**
3080
+ * Constructs a new FindByIdRequest.
3081
+ * @param [properties] Properties to set
3082
+ */
3083
+ constructor(properties?: content.IFindByIdRequest);
3084
+
3085
+ /** FindByIdRequest mediaItemId. */
3086
+ public mediaItemId: number;
3087
+
3088
+ /**
3089
+ * Creates a new FindByIdRequest instance using the specified properties.
3090
+ * @param [properties] Properties to set
3091
+ * @returns FindByIdRequest instance
3092
+ */
3093
+ public static create(properties?: content.IFindByIdRequest): content.FindByIdRequest;
3094
+
3095
+ /**
3096
+ * Encodes the specified FindByIdRequest message. Does not implicitly {@link content.FindByIdRequest.verify|verify} messages.
3097
+ * @param message FindByIdRequest message or plain object to encode
3098
+ * @param [writer] Writer to encode to
3099
+ * @returns Writer
3100
+ */
3101
+ public static encode(message: content.IFindByIdRequest, writer?: $protobuf.Writer): $protobuf.Writer;
3102
+
3103
+ /**
3104
+ * Encodes the specified FindByIdRequest message, length delimited. Does not implicitly {@link content.FindByIdRequest.verify|verify} messages.
3105
+ * @param message FindByIdRequest message or plain object to encode
3106
+ * @param [writer] Writer to encode to
3107
+ * @returns Writer
3108
+ */
3109
+ public static encodeDelimited(message: content.IFindByIdRequest, writer?: $protobuf.Writer): $protobuf.Writer;
3110
+
3111
+ /**
3112
+ * Decodes a FindByIdRequest message from the specified reader or buffer.
3113
+ * @param reader Reader or buffer to decode from
3114
+ * @param [length] Message length if known beforehand
3115
+ * @returns FindByIdRequest
3116
+ * @throws {Error} If the payload is not a reader or valid buffer
3117
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3118
+ */
3119
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.FindByIdRequest;
3120
+
3121
+ /**
3122
+ * Decodes a FindByIdRequest message from the specified reader or buffer, length delimited.
3123
+ * @param reader Reader or buffer to decode from
3124
+ * @returns FindByIdRequest
3125
+ * @throws {Error} If the payload is not a reader or valid buffer
3126
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3127
+ */
3128
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.FindByIdRequest;
3129
+
3130
+ /**
3131
+ * Verifies a FindByIdRequest message.
3132
+ * @param message Plain object to verify
3133
+ * @returns `null` if valid, otherwise the reason why it is not
3134
+ */
3135
+ public static verify(message: { [k: string]: any }): (string|null);
3136
+
3137
+ /**
3138
+ * Creates a FindByIdRequest message from a plain object. Also converts values to their respective internal types.
3139
+ * @param object Plain object
3140
+ * @returns FindByIdRequest
3141
+ */
3142
+ public static fromObject(object: { [k: string]: any }): content.FindByIdRequest;
3143
+
3144
+ /**
3145
+ * Creates a plain object from a FindByIdRequest message. Also converts values to other types if specified.
3146
+ * @param message FindByIdRequest
3147
+ * @param [options] Conversion options
3148
+ * @returns Plain object
3149
+ */
3150
+ public static toObject(message: content.FindByIdRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
3151
+
3152
+ /**
3153
+ * Converts this FindByIdRequest to JSON.
3154
+ * @returns JSON object
3155
+ */
3156
+ public toJSON(): { [k: string]: any };
3157
+ }
3158
+
3159
+ /** Properties of a FindByIdResponse. */
3160
+ interface IFindByIdResponse {
3161
+
3162
+ /** FindByIdResponse mediaItem */
3163
+ mediaItem?: (content.IMediaItem|null);
3164
+
3165
+ /** FindByIdResponse s3Bucket */
3166
+ s3Bucket?: (string|null);
3167
+ }
3168
+
3169
+ /** Represents a FindByIdResponse. */
3170
+ class FindByIdResponse implements IFindByIdResponse {
3171
+
3172
+ /**
3173
+ * Constructs a new FindByIdResponse.
3174
+ * @param [properties] Properties to set
3175
+ */
3176
+ constructor(properties?: content.IFindByIdResponse);
3177
+
3178
+ /** FindByIdResponse mediaItem. */
3179
+ public mediaItem?: (content.IMediaItem|null);
3180
+
3181
+ /** FindByIdResponse s3Bucket. */
3182
+ public s3Bucket: string;
3183
+
3184
+ /**
3185
+ * Creates a new FindByIdResponse instance using the specified properties.
3186
+ * @param [properties] Properties to set
3187
+ * @returns FindByIdResponse instance
3188
+ */
3189
+ public static create(properties?: content.IFindByIdResponse): content.FindByIdResponse;
3190
+
3191
+ /**
3192
+ * Encodes the specified FindByIdResponse message. Does not implicitly {@link content.FindByIdResponse.verify|verify} messages.
3193
+ * @param message FindByIdResponse message or plain object to encode
3194
+ * @param [writer] Writer to encode to
3195
+ * @returns Writer
3196
+ */
3197
+ public static encode(message: content.IFindByIdResponse, writer?: $protobuf.Writer): $protobuf.Writer;
3198
+
3199
+ /**
3200
+ * Encodes the specified FindByIdResponse message, length delimited. Does not implicitly {@link content.FindByIdResponse.verify|verify} messages.
3201
+ * @param message FindByIdResponse message or plain object to encode
3202
+ * @param [writer] Writer to encode to
3203
+ * @returns Writer
3204
+ */
3205
+ public static encodeDelimited(message: content.IFindByIdResponse, writer?: $protobuf.Writer): $protobuf.Writer;
3206
+
3207
+ /**
3208
+ * Decodes a FindByIdResponse message from the specified reader or buffer.
3209
+ * @param reader Reader or buffer to decode from
3210
+ * @param [length] Message length if known beforehand
3211
+ * @returns FindByIdResponse
3212
+ * @throws {Error} If the payload is not a reader or valid buffer
3213
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3214
+ */
3215
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.FindByIdResponse;
3216
+
3217
+ /**
3218
+ * Decodes a FindByIdResponse message from the specified reader or buffer, length delimited.
3219
+ * @param reader Reader or buffer to decode from
3220
+ * @returns FindByIdResponse
3221
+ * @throws {Error} If the payload is not a reader or valid buffer
3222
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3223
+ */
3224
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.FindByIdResponse;
3225
+
3226
+ /**
3227
+ * Verifies a FindByIdResponse message.
3228
+ * @param message Plain object to verify
3229
+ * @returns `null` if valid, otherwise the reason why it is not
3230
+ */
3231
+ public static verify(message: { [k: string]: any }): (string|null);
3232
+
3233
+ /**
3234
+ * Creates a FindByIdResponse message from a plain object. Also converts values to their respective internal types.
3235
+ * @param object Plain object
3236
+ * @returns FindByIdResponse
3237
+ */
3238
+ public static fromObject(object: { [k: string]: any }): content.FindByIdResponse;
3239
+
3240
+ /**
3241
+ * Creates a plain object from a FindByIdResponse message. Also converts values to other types if specified.
3242
+ * @param message FindByIdResponse
3243
+ * @param [options] Conversion options
3244
+ * @returns Plain object
3245
+ */
3246
+ public static toObject(message: content.FindByIdResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
3247
+
3248
+ /**
3249
+ * Converts this FindByIdResponse to JSON.
3250
+ * @returns JSON object
3251
+ */
3252
+ public toJSON(): { [k: string]: any };
3253
+ }
3254
+
3255
+ /** Properties of a CreateFromPathRequest. */
3256
+ interface ICreateFromPathRequest {
3257
+
3258
+ /** CreateFromPathRequest s3Path */
3259
+ s3Path?: (string|null);
3260
+
3261
+ /** CreateFromPathRequest encodeMedia */
3262
+ encodeMedia?: (boolean|null);
3263
+ }
3264
+
3265
+ /** Represents a CreateFromPathRequest. */
3266
+ class CreateFromPathRequest implements ICreateFromPathRequest {
3267
+
3268
+ /**
3269
+ * Constructs a new CreateFromPathRequest.
3270
+ * @param [properties] Properties to set
3271
+ */
3272
+ constructor(properties?: content.ICreateFromPathRequest);
3273
+
3274
+ /** CreateFromPathRequest s3Path. */
3275
+ public s3Path: string;
3276
+
3277
+ /** CreateFromPathRequest encodeMedia. */
3278
+ public encodeMedia: boolean;
3279
+
3280
+ /**
3281
+ * Creates a new CreateFromPathRequest instance using the specified properties.
3282
+ * @param [properties] Properties to set
3283
+ * @returns CreateFromPathRequest instance
3284
+ */
3285
+ public static create(properties?: content.ICreateFromPathRequest): content.CreateFromPathRequest;
3286
+
3287
+ /**
3288
+ * Encodes the specified CreateFromPathRequest message. Does not implicitly {@link content.CreateFromPathRequest.verify|verify} messages.
3289
+ * @param message CreateFromPathRequest message or plain object to encode
3290
+ * @param [writer] Writer to encode to
3291
+ * @returns Writer
3292
+ */
3293
+ public static encode(message: content.ICreateFromPathRequest, writer?: $protobuf.Writer): $protobuf.Writer;
3294
+
3295
+ /**
3296
+ * Encodes the specified CreateFromPathRequest message, length delimited. Does not implicitly {@link content.CreateFromPathRequest.verify|verify} messages.
3297
+ * @param message CreateFromPathRequest message or plain object to encode
3298
+ * @param [writer] Writer to encode to
3299
+ * @returns Writer
3300
+ */
3301
+ public static encodeDelimited(message: content.ICreateFromPathRequest, writer?: $protobuf.Writer): $protobuf.Writer;
3302
+
3303
+ /**
3304
+ * Decodes a CreateFromPathRequest message from the specified reader or buffer.
3305
+ * @param reader Reader or buffer to decode from
3306
+ * @param [length] Message length if known beforehand
3307
+ * @returns CreateFromPathRequest
3308
+ * @throws {Error} If the payload is not a reader or valid buffer
3309
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3310
+ */
3311
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.CreateFromPathRequest;
3312
+
3313
+ /**
3314
+ * Decodes a CreateFromPathRequest message from the specified reader or buffer, length delimited.
3315
+ * @param reader Reader or buffer to decode from
3316
+ * @returns CreateFromPathRequest
3317
+ * @throws {Error} If the payload is not a reader or valid buffer
3318
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3319
+ */
3320
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.CreateFromPathRequest;
3321
+
3322
+ /**
3323
+ * Verifies a CreateFromPathRequest message.
3324
+ * @param message Plain object to verify
3325
+ * @returns `null` if valid, otherwise the reason why it is not
3326
+ */
3327
+ public static verify(message: { [k: string]: any }): (string|null);
3328
+
3329
+ /**
3330
+ * Creates a CreateFromPathRequest message from a plain object. Also converts values to their respective internal types.
3331
+ * @param object Plain object
3332
+ * @returns CreateFromPathRequest
3333
+ */
3334
+ public static fromObject(object: { [k: string]: any }): content.CreateFromPathRequest;
3335
+
3336
+ /**
3337
+ * Creates a plain object from a CreateFromPathRequest message. Also converts values to other types if specified.
3338
+ * @param message CreateFromPathRequest
3339
+ * @param [options] Conversion options
3340
+ * @returns Plain object
3341
+ */
3342
+ public static toObject(message: content.CreateFromPathRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
3343
+
3344
+ /**
3345
+ * Converts this CreateFromPathRequest to JSON.
3346
+ * @returns JSON object
3347
+ */
3348
+ public toJSON(): { [k: string]: any };
3349
+ }
3350
+
3351
+ /** Properties of a CreateFromPathResponse. */
3352
+ interface ICreateFromPathResponse {
3353
+
3354
+ /** CreateFromPathResponse mediaItem */
3355
+ mediaItem?: (content.IMediaItem|null);
3356
+ }
3357
+
3358
+ /** Represents a CreateFromPathResponse. */
3359
+ class CreateFromPathResponse implements ICreateFromPathResponse {
3360
+
3361
+ /**
3362
+ * Constructs a new CreateFromPathResponse.
3363
+ * @param [properties] Properties to set
3364
+ */
3365
+ constructor(properties?: content.ICreateFromPathResponse);
3366
+
3367
+ /** CreateFromPathResponse mediaItem. */
3368
+ public mediaItem?: (content.IMediaItem|null);
3369
+
3370
+ /**
3371
+ * Creates a new CreateFromPathResponse instance using the specified properties.
3372
+ * @param [properties] Properties to set
3373
+ * @returns CreateFromPathResponse instance
3374
+ */
3375
+ public static create(properties?: content.ICreateFromPathResponse): content.CreateFromPathResponse;
3376
+
3377
+ /**
3378
+ * Encodes the specified CreateFromPathResponse message. Does not implicitly {@link content.CreateFromPathResponse.verify|verify} messages.
3379
+ * @param message CreateFromPathResponse message or plain object to encode
3380
+ * @param [writer] Writer to encode to
3381
+ * @returns Writer
3382
+ */
3383
+ public static encode(message: content.ICreateFromPathResponse, writer?: $protobuf.Writer): $protobuf.Writer;
3384
+
3385
+ /**
3386
+ * Encodes the specified CreateFromPathResponse message, length delimited. Does not implicitly {@link content.CreateFromPathResponse.verify|verify} messages.
3387
+ * @param message CreateFromPathResponse message or plain object to encode
3388
+ * @param [writer] Writer to encode to
3389
+ * @returns Writer
3390
+ */
3391
+ public static encodeDelimited(message: content.ICreateFromPathResponse, writer?: $protobuf.Writer): $protobuf.Writer;
3392
+
3393
+ /**
3394
+ * Decodes a CreateFromPathResponse message from the specified reader or buffer.
3395
+ * @param reader Reader or buffer to decode from
3396
+ * @param [length] Message length if known beforehand
3397
+ * @returns CreateFromPathResponse
3398
+ * @throws {Error} If the payload is not a reader or valid buffer
3399
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3400
+ */
3401
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.CreateFromPathResponse;
3402
+
3403
+ /**
3404
+ * Decodes a CreateFromPathResponse message from the specified reader or buffer, length delimited.
3405
+ * @param reader Reader or buffer to decode from
3406
+ * @returns CreateFromPathResponse
3407
+ * @throws {Error} If the payload is not a reader or valid buffer
3408
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3409
+ */
3410
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.CreateFromPathResponse;
3411
+
3412
+ /**
3413
+ * Verifies a CreateFromPathResponse message.
3414
+ * @param message Plain object to verify
3415
+ * @returns `null` if valid, otherwise the reason why it is not
3416
+ */
3417
+ public static verify(message: { [k: string]: any }): (string|null);
3418
+
3419
+ /**
3420
+ * Creates a CreateFromPathResponse message from a plain object. Also converts values to their respective internal types.
3421
+ * @param object Plain object
3422
+ * @returns CreateFromPathResponse
3423
+ */
3424
+ public static fromObject(object: { [k: string]: any }): content.CreateFromPathResponse;
3425
+
3426
+ /**
3427
+ * Creates a plain object from a CreateFromPathResponse message. Also converts values to other types if specified.
3428
+ * @param message CreateFromPathResponse
3429
+ * @param [options] Conversion options
3430
+ * @returns Plain object
3431
+ */
3432
+ public static toObject(message: content.CreateFromPathResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
3433
+
3434
+ /**
3435
+ * Converts this CreateFromPathResponse to JSON.
3436
+ * @returns JSON object
3437
+ */
3438
+ public toJSON(): { [k: string]: any };
3439
+ }
3440
+
3441
+ /** Represents a UserActivityGroupManager */
3442
+ class UserActivityGroupManager extends $protobuf.rpc.Service {
3443
+
3444
+ /**
3445
+ * Constructs a new UserActivityGroupManager service.
3446
+ * @param rpcImpl RPC implementation
3447
+ * @param [requestDelimited=false] Whether requests are length-delimited
3448
+ * @param [responseDelimited=false] Whether responses are length-delimited
3449
+ */
3450
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
3451
+
3452
+ /**
3453
+ * Creates new UserActivityGroupManager service using the specified rpc implementation.
3454
+ * @param rpcImpl RPC implementation
3455
+ * @param [requestDelimited=false] Whether requests are length-delimited
3456
+ * @param [responseDelimited=false] Whether responses are length-delimited
3457
+ * @returns RPC service. Useful where requests and/or responses are streamed.
3458
+ */
3459
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): UserActivityGroupManager;
3460
+
3461
+ /**
3462
+ * Calls ensureUserActivityGroupActive.
3463
+ * @param request EnsureActiveRequest message or plain object
3464
+ * @param callback Node-style callback called with the error, if any, and EnsureActiveResponse
3465
+ */
3466
+ public ensureUserActivityGroupActive(request: content.IEnsureActiveRequest, callback: content.UserActivityGroupManager.ensureUserActivityGroupActiveCallback): void;
3467
+
3468
+ /**
3469
+ * Calls ensureUserActivityGroupActive.
3470
+ * @param request EnsureActiveRequest message or plain object
3471
+ * @returns Promise
3472
+ */
3473
+ public ensureUserActivityGroupActive(request: content.IEnsureActiveRequest): Promise<content.EnsureActiveResponse>;
3474
+ }
3475
+
3476
+ namespace UserActivityGroupManager {
3477
+
3478
+ /**
3479
+ * Callback as used by {@link content.UserActivityGroupManager#ensureUserActivityGroupActive}.
3480
+ * @param error Error, if any
3481
+ * @param [response] EnsureActiveResponse
3482
+ */
3483
+ type ensureUserActivityGroupActiveCallback = (error: (Error|null), response?: content.EnsureActiveResponse) => void;
3484
+ }
3485
+
3486
+ /** Properties of an EnsureActiveRequest. */
3487
+ interface IEnsureActiveRequest {
3488
+
3489
+ /** EnsureActiveRequest activityGroupId */
3490
+ activityGroupId?: (number|null);
3491
+
3492
+ /** EnsureActiveRequest userId */
3493
+ userId?: (string|null);
3494
+
3495
+ /** EnsureActiveRequest isSubscriber */
3496
+ isSubscriber?: (boolean|null);
3497
+
3498
+ /** EnsureActiveRequest locale */
3499
+ locale?: (string|null);
3500
+ }
3501
+
3502
+ /** Represents an EnsureActiveRequest. */
3503
+ class EnsureActiveRequest implements IEnsureActiveRequest {
3504
+
3505
+ /**
3506
+ * Constructs a new EnsureActiveRequest.
3507
+ * @param [properties] Properties to set
3508
+ */
3509
+ constructor(properties?: content.IEnsureActiveRequest);
3510
+
3511
+ /** EnsureActiveRequest activityGroupId. */
3512
+ public activityGroupId: number;
3513
+
3514
+ /** EnsureActiveRequest userId. */
3515
+ public userId: string;
3516
+
3517
+ /** EnsureActiveRequest isSubscriber. */
3518
+ public isSubscriber: boolean;
3519
+
3520
+ /** EnsureActiveRequest locale. */
3521
+ public locale: string;
3522
+
3523
+ /**
3524
+ * Creates a new EnsureActiveRequest instance using the specified properties.
3525
+ * @param [properties] Properties to set
3526
+ * @returns EnsureActiveRequest instance
3527
+ */
3528
+ public static create(properties?: content.IEnsureActiveRequest): content.EnsureActiveRequest;
3529
+
3530
+ /**
3531
+ * Encodes the specified EnsureActiveRequest message. Does not implicitly {@link content.EnsureActiveRequest.verify|verify} messages.
3532
+ * @param message EnsureActiveRequest message or plain object to encode
3533
+ * @param [writer] Writer to encode to
3534
+ * @returns Writer
3535
+ */
3536
+ public static encode(message: content.IEnsureActiveRequest, writer?: $protobuf.Writer): $protobuf.Writer;
3537
+
3538
+ /**
3539
+ * Encodes the specified EnsureActiveRequest message, length delimited. Does not implicitly {@link content.EnsureActiveRequest.verify|verify} messages.
3540
+ * @param message EnsureActiveRequest message or plain object to encode
3541
+ * @param [writer] Writer to encode to
3542
+ * @returns Writer
3543
+ */
3544
+ public static encodeDelimited(message: content.IEnsureActiveRequest, writer?: $protobuf.Writer): $protobuf.Writer;
3545
+
3546
+ /**
3547
+ * Decodes an EnsureActiveRequest message from the specified reader or buffer.
3548
+ * @param reader Reader or buffer to decode from
3549
+ * @param [length] Message length if known beforehand
3550
+ * @returns EnsureActiveRequest
3551
+ * @throws {Error} If the payload is not a reader or valid buffer
3552
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3553
+ */
3554
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.EnsureActiveRequest;
3555
+
3556
+ /**
3557
+ * Decodes an EnsureActiveRequest message from the specified reader or buffer, length delimited.
3558
+ * @param reader Reader or buffer to decode from
3559
+ * @returns EnsureActiveRequest
3560
+ * @throws {Error} If the payload is not a reader or valid buffer
3561
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3562
+ */
3563
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.EnsureActiveRequest;
3564
+
3565
+ /**
3566
+ * Verifies an EnsureActiveRequest message.
3567
+ * @param message Plain object to verify
3568
+ * @returns `null` if valid, otherwise the reason why it is not
3569
+ */
3570
+ public static verify(message: { [k: string]: any }): (string|null);
3571
+
3572
+ /**
3573
+ * Creates an EnsureActiveRequest message from a plain object. Also converts values to their respective internal types.
3574
+ * @param object Plain object
3575
+ * @returns EnsureActiveRequest
3576
+ */
3577
+ public static fromObject(object: { [k: string]: any }): content.EnsureActiveRequest;
3578
+
3579
+ /**
3580
+ * Creates a plain object from an EnsureActiveRequest message. Also converts values to other types if specified.
3581
+ * @param message EnsureActiveRequest
3582
+ * @param [options] Conversion options
3583
+ * @returns Plain object
3584
+ */
3585
+ public static toObject(message: content.EnsureActiveRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
3586
+
3587
+ /**
3588
+ * Converts this EnsureActiveRequest to JSON.
3589
+ * @returns JSON object
3590
+ */
3591
+ public toJSON(): { [k: string]: any };
3592
+ }
3593
+
3594
+ /** Properties of an EnsureActiveResponse. */
3595
+ interface IEnsureActiveResponse {
3596
+
3597
+ /** EnsureActiveResponse userActivityGroup */
3598
+ userActivityGroup?: (content.IUserActivityGroup|null);
3599
+ }
3600
+
3601
+ /** Represents an EnsureActiveResponse. */
3602
+ class EnsureActiveResponse implements IEnsureActiveResponse {
3603
+
3604
+ /**
3605
+ * Constructs a new EnsureActiveResponse.
3606
+ * @param [properties] Properties to set
3607
+ */
3608
+ constructor(properties?: content.IEnsureActiveResponse);
3609
+
3610
+ /** EnsureActiveResponse userActivityGroup. */
3611
+ public userActivityGroup?: (content.IUserActivityGroup|null);
3612
+
3613
+ /**
3614
+ * Creates a new EnsureActiveResponse instance using the specified properties.
3615
+ * @param [properties] Properties to set
3616
+ * @returns EnsureActiveResponse instance
3617
+ */
3618
+ public static create(properties?: content.IEnsureActiveResponse): content.EnsureActiveResponse;
3619
+
3620
+ /**
3621
+ * Encodes the specified EnsureActiveResponse message. Does not implicitly {@link content.EnsureActiveResponse.verify|verify} messages.
3622
+ * @param message EnsureActiveResponse message or plain object to encode
3623
+ * @param [writer] Writer to encode to
3624
+ * @returns Writer
3625
+ */
3626
+ public static encode(message: content.IEnsureActiveResponse, writer?: $protobuf.Writer): $protobuf.Writer;
3627
+
3628
+ /**
3629
+ * Encodes the specified EnsureActiveResponse message, length delimited. Does not implicitly {@link content.EnsureActiveResponse.verify|verify} messages.
3630
+ * @param message EnsureActiveResponse message or plain object to encode
3631
+ * @param [writer] Writer to encode to
3632
+ * @returns Writer
3633
+ */
3634
+ public static encodeDelimited(message: content.IEnsureActiveResponse, writer?: $protobuf.Writer): $protobuf.Writer;
3635
+
3636
+ /**
3637
+ * Decodes an EnsureActiveResponse message from the specified reader or buffer.
3638
+ * @param reader Reader or buffer to decode from
3639
+ * @param [length] Message length if known beforehand
3640
+ * @returns EnsureActiveResponse
3641
+ * @throws {Error} If the payload is not a reader or valid buffer
3642
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3643
+ */
3644
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.EnsureActiveResponse;
3645
+
3646
+ /**
3647
+ * Decodes an EnsureActiveResponse message from the specified reader or buffer, length delimited.
3648
+ * @param reader Reader or buffer to decode from
3649
+ * @returns EnsureActiveResponse
3650
+ * @throws {Error} If the payload is not a reader or valid buffer
3651
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3652
+ */
3653
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.EnsureActiveResponse;
3654
+
3655
+ /**
3656
+ * Verifies an EnsureActiveResponse message.
3657
+ * @param message Plain object to verify
3658
+ * @returns `null` if valid, otherwise the reason why it is not
3659
+ */
3660
+ public static verify(message: { [k: string]: any }): (string|null);
3661
+
3662
+ /**
3663
+ * Creates an EnsureActiveResponse message from a plain object. Also converts values to their respective internal types.
3664
+ * @param object Plain object
3665
+ * @returns EnsureActiveResponse
3666
+ */
3667
+ public static fromObject(object: { [k: string]: any }): content.EnsureActiveResponse;
3668
+
3669
+ /**
3670
+ * Creates a plain object from an EnsureActiveResponse message. Also converts values to other types if specified.
3671
+ * @param message EnsureActiveResponse
3672
+ * @param [options] Conversion options
3673
+ * @returns Plain object
3674
+ */
3675
+ public static toObject(message: content.EnsureActiveResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
3676
+
3677
+ /**
3678
+ * Converts this EnsureActiveResponse to JSON.
3679
+ * @returns JSON object
3680
+ */
3681
+ public toJSON(): { [k: string]: any };
3682
+ }
3683
+
3684
+ /** Represents a UserActivityInfoManager */
3685
+ class UserActivityInfoManager extends $protobuf.rpc.Service {
3686
+
3687
+ /**
3688
+ * Constructs a new UserActivityInfoManager service.
3689
+ * @param rpcImpl RPC implementation
3690
+ * @param [requestDelimited=false] Whether requests are length-delimited
3691
+ * @param [responseDelimited=false] Whether responses are length-delimited
3692
+ */
3693
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
3694
+
3695
+ /**
3696
+ * Creates new UserActivityInfoManager service using the specified rpc implementation.
3697
+ * @param rpcImpl RPC implementation
3698
+ * @param [requestDelimited=false] Whether requests are length-delimited
3699
+ * @param [responseDelimited=false] Whether responses are length-delimited
3700
+ * @returns RPC service. Useful where requests and/or responses are streamed.
3701
+ */
3702
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): UserActivityInfoManager;
3703
+
3704
+ /**
3705
+ * Calls getNextActivityInfoForUserInGroup.
3706
+ * @param request NextActivityInfoInGroupRequest message or plain object
3707
+ * @param callback Node-style callback called with the error, if any, and NextActivityInfoResponse
3708
+ */
3709
+ public getNextActivityInfoForUserInGroup(request: content.INextActivityInfoInGroupRequest, callback: content.UserActivityInfoManager.getNextActivityInfoForUserInGroupCallback): void;
3710
+
3711
+ /**
3712
+ * Calls getNextActivityInfoForUserInGroup.
3713
+ * @param request NextActivityInfoInGroupRequest message or plain object
3714
+ * @returns Promise
3715
+ */
3716
+ public getNextActivityInfoForUserInGroup(request: content.INextActivityInfoInGroupRequest): Promise<content.NextActivityInfoResponse>;
3717
+
3718
+ /**
3719
+ * Calls getNextActivityInfoForUser.
3720
+ * @param request NextActivityInfoRequest message or plain object
3721
+ * @param callback Node-style callback called with the error, if any, and NextActivityInfoResponse
3722
+ */
3723
+ public getNextActivityInfoForUser(request: content.INextActivityInfoRequest, callback: content.UserActivityInfoManager.getNextActivityInfoForUserCallback): void;
3724
+
3725
+ /**
3726
+ * Calls getNextActivityInfoForUser.
3727
+ * @param request NextActivityInfoRequest message or plain object
3728
+ * @returns Promise
3729
+ */
3730
+ public getNextActivityInfoForUser(request: content.INextActivityInfoRequest): Promise<content.NextActivityInfoResponse>;
3731
+
3732
+ /**
3733
+ * Calls getUserActivityGroup.
3734
+ * @param request UserActivityGroupRequest message or plain object
3735
+ * @param callback Node-style callback called with the error, if any, and UserActivityGroupResponse
3736
+ */
3737
+ public getUserActivityGroup(request: content.IUserActivityGroupRequest, callback: content.UserActivityInfoManager.getUserActivityGroupCallback): void;
3738
+
3739
+ /**
3740
+ * Calls getUserActivityGroup.
3741
+ * @param request UserActivityGroupRequest message or plain object
3742
+ * @returns Promise
3743
+ */
3744
+ public getUserActivityGroup(request: content.IUserActivityGroupRequest): Promise<content.UserActivityGroupResponse>;
3745
+
3746
+ /**
3747
+ * Calls reportUserActivities.
3748
+ * @param request ReportUserActivityRequest message or plain object
3749
+ * @param callback Node-style callback called with the error, if any, and ReportUserActivityResponse
3750
+ */
3751
+ public reportUserActivities(request: content.IReportUserActivityRequest, callback: content.UserActivityInfoManager.reportUserActivitiesCallback): void;
3752
+
3753
+ /**
3754
+ * Calls reportUserActivities.
3755
+ * @param request ReportUserActivityRequest message or plain object
3756
+ * @returns Promise
3757
+ */
3758
+ public reportUserActivities(request: content.IReportUserActivityRequest): Promise<content.ReportUserActivityResponse>;
3759
+ }
3760
+
3761
+ namespace UserActivityInfoManager {
3762
+
3763
+ /**
3764
+ * Callback as used by {@link content.UserActivityInfoManager#getNextActivityInfoForUserInGroup}.
3765
+ * @param error Error, if any
3766
+ * @param [response] NextActivityInfoResponse
3767
+ */
3768
+ type getNextActivityInfoForUserInGroupCallback = (error: (Error|null), response?: content.NextActivityInfoResponse) => void;
3769
+
3770
+ /**
3771
+ * Callback as used by {@link content.UserActivityInfoManager#getNextActivityInfoForUser}.
3772
+ * @param error Error, if any
3773
+ * @param [response] NextActivityInfoResponse
3774
+ */
3775
+ type getNextActivityInfoForUserCallback = (error: (Error|null), response?: content.NextActivityInfoResponse) => void;
3776
+
3777
+ /**
3778
+ * Callback as used by {@link content.UserActivityInfoManager#getUserActivityGroup}.
3779
+ * @param error Error, if any
3780
+ * @param [response] UserActivityGroupResponse
3781
+ */
3782
+ type getUserActivityGroupCallback = (error: (Error|null), response?: content.UserActivityGroupResponse) => void;
3783
+
3784
+ /**
3785
+ * Callback as used by {@link content.UserActivityInfoManager#reportUserActivities}.
3786
+ * @param error Error, if any
3787
+ * @param [response] ReportUserActivityResponse
3788
+ */
3789
+ type reportUserActivitiesCallback = (error: (Error|null), response?: content.ReportUserActivityResponse) => void;
3790
+ }
3791
+
3792
+ /** Properties of a NextActivityInfoInGroupRequest. */
3793
+ interface INextActivityInfoInGroupRequest {
3794
+
3795
+ /** NextActivityInfoInGroupRequest userId */
3796
+ userId?: (string|null);
3797
+
3798
+ /** NextActivityInfoInGroupRequest activityGroupId */
3799
+ activityGroupId?: (number|null);
3800
+ }
3801
+
3802
+ /** Represents a NextActivityInfoInGroupRequest. */
3803
+ class NextActivityInfoInGroupRequest implements INextActivityInfoInGroupRequest {
3804
+
3805
+ /**
3806
+ * Constructs a new NextActivityInfoInGroupRequest.
3807
+ * @param [properties] Properties to set
3808
+ */
3809
+ constructor(properties?: content.INextActivityInfoInGroupRequest);
3810
+
3811
+ /** NextActivityInfoInGroupRequest userId. */
3812
+ public userId: string;
3813
+
3814
+ /** NextActivityInfoInGroupRequest activityGroupId. */
3815
+ public activityGroupId: number;
3816
+
3817
+ /**
3818
+ * Creates a new NextActivityInfoInGroupRequest instance using the specified properties.
3819
+ * @param [properties] Properties to set
3820
+ * @returns NextActivityInfoInGroupRequest instance
3821
+ */
3822
+ public static create(properties?: content.INextActivityInfoInGroupRequest): content.NextActivityInfoInGroupRequest;
3823
+
3824
+ /**
3825
+ * Encodes the specified NextActivityInfoInGroupRequest message. Does not implicitly {@link content.NextActivityInfoInGroupRequest.verify|verify} messages.
3826
+ * @param message NextActivityInfoInGroupRequest message or plain object to encode
3827
+ * @param [writer] Writer to encode to
3828
+ * @returns Writer
3829
+ */
3830
+ public static encode(message: content.INextActivityInfoInGroupRequest, writer?: $protobuf.Writer): $protobuf.Writer;
3831
+
3832
+ /**
3833
+ * Encodes the specified NextActivityInfoInGroupRequest message, length delimited. Does not implicitly {@link content.NextActivityInfoInGroupRequest.verify|verify} messages.
3834
+ * @param message NextActivityInfoInGroupRequest message or plain object to encode
3835
+ * @param [writer] Writer to encode to
3836
+ * @returns Writer
3837
+ */
3838
+ public static encodeDelimited(message: content.INextActivityInfoInGroupRequest, writer?: $protobuf.Writer): $protobuf.Writer;
3839
+
3840
+ /**
3841
+ * Decodes a NextActivityInfoInGroupRequest message from the specified reader or buffer.
3842
+ * @param reader Reader or buffer to decode from
3843
+ * @param [length] Message length if known beforehand
3844
+ * @returns NextActivityInfoInGroupRequest
3845
+ * @throws {Error} If the payload is not a reader or valid buffer
3846
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3847
+ */
3848
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.NextActivityInfoInGroupRequest;
3849
+
3850
+ /**
3851
+ * Decodes a NextActivityInfoInGroupRequest message from the specified reader or buffer, length delimited.
3852
+ * @param reader Reader or buffer to decode from
3853
+ * @returns NextActivityInfoInGroupRequest
3854
+ * @throws {Error} If the payload is not a reader or valid buffer
3855
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3856
+ */
3857
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.NextActivityInfoInGroupRequest;
3858
+
3859
+ /**
3860
+ * Verifies a NextActivityInfoInGroupRequest message.
3861
+ * @param message Plain object to verify
3862
+ * @returns `null` if valid, otherwise the reason why it is not
3863
+ */
3864
+ public static verify(message: { [k: string]: any }): (string|null);
3865
+
3866
+ /**
3867
+ * Creates a NextActivityInfoInGroupRequest message from a plain object. Also converts values to their respective internal types.
3868
+ * @param object Plain object
3869
+ * @returns NextActivityInfoInGroupRequest
3870
+ */
3871
+ public static fromObject(object: { [k: string]: any }): content.NextActivityInfoInGroupRequest;
3872
+
3873
+ /**
3874
+ * Creates a plain object from a NextActivityInfoInGroupRequest message. Also converts values to other types if specified.
3875
+ * @param message NextActivityInfoInGroupRequest
3876
+ * @param [options] Conversion options
3877
+ * @returns Plain object
3878
+ */
3879
+ public static toObject(message: content.NextActivityInfoInGroupRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
3880
+
3881
+ /**
3882
+ * Converts this NextActivityInfoInGroupRequest to JSON.
3883
+ * @returns JSON object
3884
+ */
3885
+ public toJSON(): { [k: string]: any };
3886
+ }
3887
+
3888
+ /** Properties of a NextActivityInfoRequest. */
3889
+ interface INextActivityInfoRequest {
3890
+
3891
+ /** NextActivityInfoRequest userId */
3892
+ userId?: (string|null);
3893
+
3894
+ /** NextActivityInfoRequest isSubscriber */
3895
+ isSubscriber?: (boolean|null);
3896
+ }
3897
+
3898
+ /** Represents a NextActivityInfoRequest. */
3899
+ class NextActivityInfoRequest implements INextActivityInfoRequest {
3900
+
3901
+ /**
3902
+ * Constructs a new NextActivityInfoRequest.
3903
+ * @param [properties] Properties to set
3904
+ */
3905
+ constructor(properties?: content.INextActivityInfoRequest);
3906
+
3907
+ /** NextActivityInfoRequest userId. */
3908
+ public userId: string;
3909
+
3910
+ /** NextActivityInfoRequest isSubscriber. */
3911
+ public isSubscriber: boolean;
3912
+
3913
+ /**
3914
+ * Creates a new NextActivityInfoRequest instance using the specified properties.
3915
+ * @param [properties] Properties to set
3916
+ * @returns NextActivityInfoRequest instance
3917
+ */
3918
+ public static create(properties?: content.INextActivityInfoRequest): content.NextActivityInfoRequest;
3919
+
3920
+ /**
3921
+ * Encodes the specified NextActivityInfoRequest message. Does not implicitly {@link content.NextActivityInfoRequest.verify|verify} messages.
3922
+ * @param message NextActivityInfoRequest message or plain object to encode
3923
+ * @param [writer] Writer to encode to
3924
+ * @returns Writer
3925
+ */
3926
+ public static encode(message: content.INextActivityInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer;
3927
+
3928
+ /**
3929
+ * Encodes the specified NextActivityInfoRequest message, length delimited. Does not implicitly {@link content.NextActivityInfoRequest.verify|verify} messages.
3930
+ * @param message NextActivityInfoRequest message or plain object to encode
3931
+ * @param [writer] Writer to encode to
3932
+ * @returns Writer
3933
+ */
3934
+ public static encodeDelimited(message: content.INextActivityInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer;
3935
+
3936
+ /**
3937
+ * Decodes a NextActivityInfoRequest message from the specified reader or buffer.
3938
+ * @param reader Reader or buffer to decode from
3939
+ * @param [length] Message length if known beforehand
3940
+ * @returns NextActivityInfoRequest
3941
+ * @throws {Error} If the payload is not a reader or valid buffer
3942
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3943
+ */
3944
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.NextActivityInfoRequest;
3945
+
3946
+ /**
3947
+ * Decodes a NextActivityInfoRequest message from the specified reader or buffer, length delimited.
3948
+ * @param reader Reader or buffer to decode from
3949
+ * @returns NextActivityInfoRequest
3950
+ * @throws {Error} If the payload is not a reader or valid buffer
3951
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3952
+ */
3953
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.NextActivityInfoRequest;
3954
+
3955
+ /**
3956
+ * Verifies a NextActivityInfoRequest message.
3957
+ * @param message Plain object to verify
3958
+ * @returns `null` if valid, otherwise the reason why it is not
3959
+ */
3960
+ public static verify(message: { [k: string]: any }): (string|null);
3961
+
3962
+ /**
3963
+ * Creates a NextActivityInfoRequest message from a plain object. Also converts values to their respective internal types.
3964
+ * @param object Plain object
3965
+ * @returns NextActivityInfoRequest
3966
+ */
3967
+ public static fromObject(object: { [k: string]: any }): content.NextActivityInfoRequest;
3968
+
3969
+ /**
3970
+ * Creates a plain object from a NextActivityInfoRequest message. Also converts values to other types if specified.
3971
+ * @param message NextActivityInfoRequest
3972
+ * @param [options] Conversion options
3973
+ * @returns Plain object
3974
+ */
3975
+ public static toObject(message: content.NextActivityInfoRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
3976
+
3977
+ /**
3978
+ * Converts this NextActivityInfoRequest to JSON.
3979
+ * @returns JSON object
3980
+ */
3981
+ public toJSON(): { [k: string]: any };
3982
+ }
3983
+
3984
+ /** Properties of a NextActivityInfoResponse. */
3985
+ interface INextActivityInfoResponse {
3986
+
3987
+ /** NextActivityInfoResponse activity */
3988
+ activity?: (content.IActivity|null);
3989
+
3990
+ /** NextActivityInfoResponse activityGroup */
3991
+ activityGroup?: (content.IActivityGroup|null);
3992
+
3993
+ /** NextActivityInfoResponse activityVariations */
3994
+ activityVariations?: (content.IActivityVariation[]|null);
3995
+
3996
+ /** NextActivityInfoResponse orderedActivities */
3997
+ orderedActivities?: (content.IOrderedActivity[]|null);
3998
+
3999
+ /** NextActivityInfoResponse cards */
4000
+ cards?: (content.IActivityCard[]|null);
4001
+ }
4002
+
4003
+ /** Represents a NextActivityInfoResponse. */
4004
+ class NextActivityInfoResponse implements INextActivityInfoResponse {
4005
+
4006
+ /**
4007
+ * Constructs a new NextActivityInfoResponse.
4008
+ * @param [properties] Properties to set
4009
+ */
4010
+ constructor(properties?: content.INextActivityInfoResponse);
4011
+
4012
+ /** NextActivityInfoResponse activity. */
4013
+ public activity?: (content.IActivity|null);
4014
+
4015
+ /** NextActivityInfoResponse activityGroup. */
4016
+ public activityGroup?: (content.IActivityGroup|null);
4017
+
4018
+ /** NextActivityInfoResponse activityVariations. */
4019
+ public activityVariations: content.IActivityVariation[];
4020
+
4021
+ /** NextActivityInfoResponse orderedActivities. */
4022
+ public orderedActivities: content.IOrderedActivity[];
4023
+
4024
+ /** NextActivityInfoResponse cards. */
4025
+ public cards: content.IActivityCard[];
4026
+
4027
+ /**
4028
+ * Creates a new NextActivityInfoResponse instance using the specified properties.
4029
+ * @param [properties] Properties to set
4030
+ * @returns NextActivityInfoResponse instance
4031
+ */
4032
+ public static create(properties?: content.INextActivityInfoResponse): content.NextActivityInfoResponse;
4033
+
4034
+ /**
4035
+ * Encodes the specified NextActivityInfoResponse message. Does not implicitly {@link content.NextActivityInfoResponse.verify|verify} messages.
4036
+ * @param message NextActivityInfoResponse message or plain object to encode
4037
+ * @param [writer] Writer to encode to
4038
+ * @returns Writer
4039
+ */
4040
+ public static encode(message: content.INextActivityInfoResponse, writer?: $protobuf.Writer): $protobuf.Writer;
4041
+
4042
+ /**
4043
+ * Encodes the specified NextActivityInfoResponse message, length delimited. Does not implicitly {@link content.NextActivityInfoResponse.verify|verify} messages.
4044
+ * @param message NextActivityInfoResponse message or plain object to encode
4045
+ * @param [writer] Writer to encode to
4046
+ * @returns Writer
4047
+ */
4048
+ public static encodeDelimited(message: content.INextActivityInfoResponse, writer?: $protobuf.Writer): $protobuf.Writer;
4049
+
4050
+ /**
4051
+ * Decodes a NextActivityInfoResponse message from the specified reader or buffer.
4052
+ * @param reader Reader or buffer to decode from
4053
+ * @param [length] Message length if known beforehand
4054
+ * @returns NextActivityInfoResponse
4055
+ * @throws {Error} If the payload is not a reader or valid buffer
4056
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4057
+ */
4058
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.NextActivityInfoResponse;
4059
+
4060
+ /**
4061
+ * Decodes a NextActivityInfoResponse message from the specified reader or buffer, length delimited.
4062
+ * @param reader Reader or buffer to decode from
4063
+ * @returns NextActivityInfoResponse
4064
+ * @throws {Error} If the payload is not a reader or valid buffer
4065
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4066
+ */
4067
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.NextActivityInfoResponse;
4068
+
4069
+ /**
4070
+ * Verifies a NextActivityInfoResponse message.
4071
+ * @param message Plain object to verify
4072
+ * @returns `null` if valid, otherwise the reason why it is not
4073
+ */
4074
+ public static verify(message: { [k: string]: any }): (string|null);
4075
+
4076
+ /**
4077
+ * Creates a NextActivityInfoResponse message from a plain object. Also converts values to their respective internal types.
4078
+ * @param object Plain object
4079
+ * @returns NextActivityInfoResponse
4080
+ */
4081
+ public static fromObject(object: { [k: string]: any }): content.NextActivityInfoResponse;
4082
+
4083
+ /**
4084
+ * Creates a plain object from a NextActivityInfoResponse message. Also converts values to other types if specified.
4085
+ * @param message NextActivityInfoResponse
4086
+ * @param [options] Conversion options
4087
+ * @returns Plain object
4088
+ */
4089
+ public static toObject(message: content.NextActivityInfoResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
4090
+
4091
+ /**
4092
+ * Converts this NextActivityInfoResponse to JSON.
4093
+ * @returns JSON object
4094
+ */
4095
+ public toJSON(): { [k: string]: any };
4096
+ }
4097
+
4098
+ /** Properties of a UserActivityGroupRequest. */
4099
+ interface IUserActivityGroupRequest {
4100
+
4101
+ /** UserActivityGroupRequest userId */
4102
+ userId?: (string|null);
4103
+
4104
+ /** UserActivityGroupRequest activityGroupId */
4105
+ activityGroupId?: (number|null);
4106
+ }
4107
+
4108
+ /** Represents a UserActivityGroupRequest. */
4109
+ class UserActivityGroupRequest implements IUserActivityGroupRequest {
4110
+
4111
+ /**
4112
+ * Constructs a new UserActivityGroupRequest.
4113
+ * @param [properties] Properties to set
4114
+ */
4115
+ constructor(properties?: content.IUserActivityGroupRequest);
4116
+
4117
+ /** UserActivityGroupRequest userId. */
4118
+ public userId: string;
4119
+
4120
+ /** UserActivityGroupRequest activityGroupId. */
4121
+ public activityGroupId: number;
4122
+
4123
+ /**
4124
+ * Creates a new UserActivityGroupRequest instance using the specified properties.
4125
+ * @param [properties] Properties to set
4126
+ * @returns UserActivityGroupRequest instance
4127
+ */
4128
+ public static create(properties?: content.IUserActivityGroupRequest): content.UserActivityGroupRequest;
4129
+
4130
+ /**
4131
+ * Encodes the specified UserActivityGroupRequest message. Does not implicitly {@link content.UserActivityGroupRequest.verify|verify} messages.
4132
+ * @param message UserActivityGroupRequest message or plain object to encode
4133
+ * @param [writer] Writer to encode to
4134
+ * @returns Writer
4135
+ */
4136
+ public static encode(message: content.IUserActivityGroupRequest, writer?: $protobuf.Writer): $protobuf.Writer;
4137
+
4138
+ /**
4139
+ * Encodes the specified UserActivityGroupRequest message, length delimited. Does not implicitly {@link content.UserActivityGroupRequest.verify|verify} messages.
4140
+ * @param message UserActivityGroupRequest message or plain object to encode
4141
+ * @param [writer] Writer to encode to
4142
+ * @returns Writer
4143
+ */
4144
+ public static encodeDelimited(message: content.IUserActivityGroupRequest, writer?: $protobuf.Writer): $protobuf.Writer;
4145
+
4146
+ /**
4147
+ * Decodes a UserActivityGroupRequest message from the specified reader or buffer.
4148
+ * @param reader Reader or buffer to decode from
4149
+ * @param [length] Message length if known beforehand
4150
+ * @returns UserActivityGroupRequest
4151
+ * @throws {Error} If the payload is not a reader or valid buffer
4152
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4153
+ */
4154
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.UserActivityGroupRequest;
4155
+
4156
+ /**
4157
+ * Decodes a UserActivityGroupRequest message from the specified reader or buffer, length delimited.
4158
+ * @param reader Reader or buffer to decode from
4159
+ * @returns UserActivityGroupRequest
4160
+ * @throws {Error} If the payload is not a reader or valid buffer
4161
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4162
+ */
4163
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.UserActivityGroupRequest;
4164
+
4165
+ /**
4166
+ * Verifies a UserActivityGroupRequest message.
4167
+ * @param message Plain object to verify
4168
+ * @returns `null` if valid, otherwise the reason why it is not
4169
+ */
4170
+ public static verify(message: { [k: string]: any }): (string|null);
4171
+
4172
+ /**
4173
+ * Creates a UserActivityGroupRequest message from a plain object. Also converts values to their respective internal types.
4174
+ * @param object Plain object
4175
+ * @returns UserActivityGroupRequest
4176
+ */
4177
+ public static fromObject(object: { [k: string]: any }): content.UserActivityGroupRequest;
4178
+
4179
+ /**
4180
+ * Creates a plain object from a UserActivityGroupRequest message. Also converts values to other types if specified.
4181
+ * @param message UserActivityGroupRequest
4182
+ * @param [options] Conversion options
4183
+ * @returns Plain object
4184
+ */
4185
+ public static toObject(message: content.UserActivityGroupRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
4186
+
4187
+ /**
4188
+ * Converts this UserActivityGroupRequest to JSON.
4189
+ * @returns JSON object
4190
+ */
4191
+ public toJSON(): { [k: string]: any };
4192
+ }
4193
+
4194
+ /** Properties of a UserActivityGroupResponse. */
4195
+ interface IUserActivityGroupResponse {
4196
+
4197
+ /** UserActivityGroupResponse userActivityGroup */
4198
+ userActivityGroup?: (content.IUserActivityGroup|null);
4199
+ }
4200
+
4201
+ /** Represents a UserActivityGroupResponse. */
4202
+ class UserActivityGroupResponse implements IUserActivityGroupResponse {
4203
+
4204
+ /**
4205
+ * Constructs a new UserActivityGroupResponse.
4206
+ * @param [properties] Properties to set
4207
+ */
4208
+ constructor(properties?: content.IUserActivityGroupResponse);
4209
+
4210
+ /** UserActivityGroupResponse userActivityGroup. */
4211
+ public userActivityGroup?: (content.IUserActivityGroup|null);
4212
+
4213
+ /**
4214
+ * Creates a new UserActivityGroupResponse instance using the specified properties.
4215
+ * @param [properties] Properties to set
4216
+ * @returns UserActivityGroupResponse instance
4217
+ */
4218
+ public static create(properties?: content.IUserActivityGroupResponse): content.UserActivityGroupResponse;
4219
+
4220
+ /**
4221
+ * Encodes the specified UserActivityGroupResponse message. Does not implicitly {@link content.UserActivityGroupResponse.verify|verify} messages.
4222
+ * @param message UserActivityGroupResponse message or plain object to encode
4223
+ * @param [writer] Writer to encode to
4224
+ * @returns Writer
4225
+ */
4226
+ public static encode(message: content.IUserActivityGroupResponse, writer?: $protobuf.Writer): $protobuf.Writer;
4227
+
4228
+ /**
4229
+ * Encodes the specified UserActivityGroupResponse message, length delimited. Does not implicitly {@link content.UserActivityGroupResponse.verify|verify} messages.
4230
+ * @param message UserActivityGroupResponse message or plain object to encode
4231
+ * @param [writer] Writer to encode to
4232
+ * @returns Writer
4233
+ */
4234
+ public static encodeDelimited(message: content.IUserActivityGroupResponse, writer?: $protobuf.Writer): $protobuf.Writer;
4235
+
4236
+ /**
4237
+ * Decodes a UserActivityGroupResponse message from the specified reader or buffer.
4238
+ * @param reader Reader or buffer to decode from
4239
+ * @param [length] Message length if known beforehand
4240
+ * @returns UserActivityGroupResponse
4241
+ * @throws {Error} If the payload is not a reader or valid buffer
4242
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4243
+ */
4244
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.UserActivityGroupResponse;
4245
+
4246
+ /**
4247
+ * Decodes a UserActivityGroupResponse message from the specified reader or buffer, length delimited.
4248
+ * @param reader Reader or buffer to decode from
4249
+ * @returns UserActivityGroupResponse
4250
+ * @throws {Error} If the payload is not a reader or valid buffer
4251
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4252
+ */
4253
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.UserActivityGroupResponse;
4254
+
4255
+ /**
4256
+ * Verifies a UserActivityGroupResponse message.
4257
+ * @param message Plain object to verify
4258
+ * @returns `null` if valid, otherwise the reason why it is not
4259
+ */
4260
+ public static verify(message: { [k: string]: any }): (string|null);
4261
+
4262
+ /**
4263
+ * Creates a UserActivityGroupResponse message from a plain object. Also converts values to their respective internal types.
4264
+ * @param object Plain object
4265
+ * @returns UserActivityGroupResponse
4266
+ */
4267
+ public static fromObject(object: { [k: string]: any }): content.UserActivityGroupResponse;
4268
+
4269
+ /**
4270
+ * Creates a plain object from a UserActivityGroupResponse message. Also converts values to other types if specified.
4271
+ * @param message UserActivityGroupResponse
4272
+ * @param [options] Conversion options
4273
+ * @returns Plain object
4274
+ */
4275
+ public static toObject(message: content.UserActivityGroupResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
4276
+
4277
+ /**
4278
+ * Converts this UserActivityGroupResponse to JSON.
4279
+ * @returns JSON object
4280
+ */
4281
+ public toJSON(): { [k: string]: any };
4282
+ }
4283
+
4284
+ /** Properties of a ReportUserActivityRequest. */
4285
+ interface IReportUserActivityRequest {
4286
+
4287
+ /** ReportUserActivityRequest userId */
4288
+ userId?: (string|null);
4289
+
4290
+ /** ReportUserActivityRequest isSubscriber */
4291
+ isSubscriber?: (boolean|null);
4292
+
4293
+ /** ReportUserActivityRequest platform */
4294
+ platform?: (string|null);
4295
+
4296
+ /** ReportUserActivityRequest activityVariationIds */
4297
+ activityVariationIds?: (number[]|null);
4298
+
4299
+ /** ReportUserActivityRequest locale */
4300
+ locale?: (string|null);
4301
+ }
4302
+
4303
+ /** Represents a ReportUserActivityRequest. */
4304
+ class ReportUserActivityRequest implements IReportUserActivityRequest {
4305
+
4306
+ /**
4307
+ * Constructs a new ReportUserActivityRequest.
4308
+ * @param [properties] Properties to set
4309
+ */
4310
+ constructor(properties?: content.IReportUserActivityRequest);
4311
+
4312
+ /** ReportUserActivityRequest userId. */
4313
+ public userId: string;
4314
+
4315
+ /** ReportUserActivityRequest isSubscriber. */
4316
+ public isSubscriber: boolean;
4317
+
4318
+ /** ReportUserActivityRequest platform. */
4319
+ public platform: string;
4320
+
4321
+ /** ReportUserActivityRequest activityVariationIds. */
4322
+ public activityVariationIds: number[];
4323
+
4324
+ /** ReportUserActivityRequest locale. */
4325
+ public locale: string;
4326
+
4327
+ /**
4328
+ * Creates a new ReportUserActivityRequest instance using the specified properties.
4329
+ * @param [properties] Properties to set
4330
+ * @returns ReportUserActivityRequest instance
4331
+ */
4332
+ public static create(properties?: content.IReportUserActivityRequest): content.ReportUserActivityRequest;
4333
+
4334
+ /**
4335
+ * Encodes the specified ReportUserActivityRequest message. Does not implicitly {@link content.ReportUserActivityRequest.verify|verify} messages.
4336
+ * @param message ReportUserActivityRequest message or plain object to encode
4337
+ * @param [writer] Writer to encode to
4338
+ * @returns Writer
4339
+ */
4340
+ public static encode(message: content.IReportUserActivityRequest, writer?: $protobuf.Writer): $protobuf.Writer;
4341
+
4342
+ /**
4343
+ * Encodes the specified ReportUserActivityRequest message, length delimited. Does not implicitly {@link content.ReportUserActivityRequest.verify|verify} messages.
4344
+ * @param message ReportUserActivityRequest message or plain object to encode
4345
+ * @param [writer] Writer to encode to
4346
+ * @returns Writer
4347
+ */
4348
+ public static encodeDelimited(message: content.IReportUserActivityRequest, writer?: $protobuf.Writer): $protobuf.Writer;
4349
+
4350
+ /**
4351
+ * Decodes a ReportUserActivityRequest message from the specified reader or buffer.
4352
+ * @param reader Reader or buffer to decode from
4353
+ * @param [length] Message length if known beforehand
4354
+ * @returns ReportUserActivityRequest
4355
+ * @throws {Error} If the payload is not a reader or valid buffer
4356
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4357
+ */
4358
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.ReportUserActivityRequest;
4359
+
4360
+ /**
4361
+ * Decodes a ReportUserActivityRequest message from the specified reader or buffer, length delimited.
4362
+ * @param reader Reader or buffer to decode from
4363
+ * @returns ReportUserActivityRequest
4364
+ * @throws {Error} If the payload is not a reader or valid buffer
4365
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4366
+ */
4367
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.ReportUserActivityRequest;
4368
+
4369
+ /**
4370
+ * Verifies a ReportUserActivityRequest message.
4371
+ * @param message Plain object to verify
4372
+ * @returns `null` if valid, otherwise the reason why it is not
4373
+ */
4374
+ public static verify(message: { [k: string]: any }): (string|null);
4375
+
4376
+ /**
4377
+ * Creates a ReportUserActivityRequest message from a plain object. Also converts values to their respective internal types.
4378
+ * @param object Plain object
4379
+ * @returns ReportUserActivityRequest
4380
+ */
4381
+ public static fromObject(object: { [k: string]: any }): content.ReportUserActivityRequest;
4382
+
4383
+ /**
4384
+ * Creates a plain object from a ReportUserActivityRequest message. Also converts values to other types if specified.
4385
+ * @param message ReportUserActivityRequest
4386
+ * @param [options] Conversion options
4387
+ * @returns Plain object
4388
+ */
4389
+ public static toObject(message: content.ReportUserActivityRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
4390
+
4391
+ /**
4392
+ * Converts this ReportUserActivityRequest to JSON.
4393
+ * @returns JSON object
4394
+ */
4395
+ public toJSON(): { [k: string]: any };
4396
+ }
4397
+
4398
+ /** Properties of a ReportUserActivityResponse. */
4399
+ interface IReportUserActivityResponse {
4400
+
4401
+ /** ReportUserActivityResponse userActivities */
4402
+ userActivities?: (content.IUserActivity[]|null);
4403
+ }
4404
+
4405
+ /** Represents a ReportUserActivityResponse. */
4406
+ class ReportUserActivityResponse implements IReportUserActivityResponse {
4407
+
4408
+ /**
4409
+ * Constructs a new ReportUserActivityResponse.
4410
+ * @param [properties] Properties to set
4411
+ */
4412
+ constructor(properties?: content.IReportUserActivityResponse);
4413
+
4414
+ /** ReportUserActivityResponse userActivities. */
4415
+ public userActivities: content.IUserActivity[];
4416
+
4417
+ /**
4418
+ * Creates a new ReportUserActivityResponse instance using the specified properties.
4419
+ * @param [properties] Properties to set
4420
+ * @returns ReportUserActivityResponse instance
4421
+ */
4422
+ public static create(properties?: content.IReportUserActivityResponse): content.ReportUserActivityResponse;
4423
+
4424
+ /**
4425
+ * Encodes the specified ReportUserActivityResponse message. Does not implicitly {@link content.ReportUserActivityResponse.verify|verify} messages.
4426
+ * @param message ReportUserActivityResponse message or plain object to encode
4427
+ * @param [writer] Writer to encode to
4428
+ * @returns Writer
4429
+ */
4430
+ public static encode(message: content.IReportUserActivityResponse, writer?: $protobuf.Writer): $protobuf.Writer;
4431
+
4432
+ /**
4433
+ * Encodes the specified ReportUserActivityResponse message, length delimited. Does not implicitly {@link content.ReportUserActivityResponse.verify|verify} messages.
4434
+ * @param message ReportUserActivityResponse message or plain object to encode
4435
+ * @param [writer] Writer to encode to
4436
+ * @returns Writer
4437
+ */
4438
+ public static encodeDelimited(message: content.IReportUserActivityResponse, writer?: $protobuf.Writer): $protobuf.Writer;
4439
+
4440
+ /**
4441
+ * Decodes a ReportUserActivityResponse message from the specified reader or buffer.
4442
+ * @param reader Reader or buffer to decode from
4443
+ * @param [length] Message length if known beforehand
4444
+ * @returns ReportUserActivityResponse
4445
+ * @throws {Error} If the payload is not a reader or valid buffer
4446
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4447
+ */
4448
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.ReportUserActivityResponse;
4449
+
4450
+ /**
4451
+ * Decodes a ReportUserActivityResponse message from the specified reader or buffer, length delimited.
4452
+ * @param reader Reader or buffer to decode from
4453
+ * @returns ReportUserActivityResponse
4454
+ * @throws {Error} If the payload is not a reader or valid buffer
4455
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4456
+ */
4457
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.ReportUserActivityResponse;
4458
+
4459
+ /**
4460
+ * Verifies a ReportUserActivityResponse message.
4461
+ * @param message Plain object to verify
4462
+ * @returns `null` if valid, otherwise the reason why it is not
4463
+ */
4464
+ public static verify(message: { [k: string]: any }): (string|null);
4465
+
4466
+ /**
4467
+ * Creates a ReportUserActivityResponse message from a plain object. Also converts values to their respective internal types.
4468
+ * @param object Plain object
4469
+ * @returns ReportUserActivityResponse
4470
+ */
4471
+ public static fromObject(object: { [k: string]: any }): content.ReportUserActivityResponse;
4472
+
4473
+ /**
4474
+ * Creates a plain object from a ReportUserActivityResponse message. Also converts values to other types if specified.
4475
+ * @param message ReportUserActivityResponse
4476
+ * @param [options] Conversion options
4477
+ * @returns Plain object
4478
+ */
4479
+ public static toObject(message: content.ReportUserActivityResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
4480
+
4481
+ /**
4482
+ * Converts this ReportUserActivityResponse to JSON.
4483
+ * @returns JSON object
4484
+ */
4485
+ public toJSON(): { [k: string]: any };
4486
+ }
4487
+
4488
+ /** Properties of a UserActivity. */
4489
+ interface IUserActivity {
4490
+
4491
+ /** UserActivity id */
4492
+ id?: (number|null);
4493
+
4494
+ /** UserActivity activityId */
4495
+ activityId?: (number|null);
4496
+
4497
+ /** UserActivity status */
4498
+ status?: (string|null);
4499
+
4500
+ /** UserActivity userId */
4501
+ userId?: (string|null);
4502
+
4503
+ /** UserActivity numCompletions */
4504
+ numCompletions?: (number|null);
4505
+
4506
+ /** UserActivity clientUpdatedAt */
4507
+ clientUpdatedAt?: (date.IDate|null);
4508
+
4509
+ /** UserActivity updatedAt */
4510
+ updatedAt?: (date.IDate|null);
4511
+
4512
+ /** UserActivity createdAt */
4513
+ createdAt?: (date.IDate|null);
4514
+ }
4515
+
4516
+ /** Represents a UserActivity. */
4517
+ class UserActivity implements IUserActivity {
4518
+
4519
+ /**
4520
+ * Constructs a new UserActivity.
4521
+ * @param [properties] Properties to set
4522
+ */
4523
+ constructor(properties?: content.IUserActivity);
4524
+
4525
+ /** UserActivity id. */
4526
+ public id: number;
4527
+
4528
+ /** UserActivity activityId. */
4529
+ public activityId: number;
4530
+
4531
+ /** UserActivity status. */
4532
+ public status: string;
4533
+
4534
+ /** UserActivity userId. */
4535
+ public userId: string;
4536
+
4537
+ /** UserActivity numCompletions. */
4538
+ public numCompletions: number;
4539
+
4540
+ /** UserActivity clientUpdatedAt. */
4541
+ public clientUpdatedAt?: (date.IDate|null);
4542
+
4543
+ /** UserActivity updatedAt. */
4544
+ public updatedAt?: (date.IDate|null);
4545
+
4546
+ /** UserActivity createdAt. */
4547
+ public createdAt?: (date.IDate|null);
4548
+
4549
+ /**
4550
+ * Creates a new UserActivity instance using the specified properties.
4551
+ * @param [properties] Properties to set
4552
+ * @returns UserActivity instance
4553
+ */
4554
+ public static create(properties?: content.IUserActivity): content.UserActivity;
4555
+
4556
+ /**
4557
+ * Encodes the specified UserActivity message. Does not implicitly {@link content.UserActivity.verify|verify} messages.
4558
+ * @param message UserActivity message or plain object to encode
4559
+ * @param [writer] Writer to encode to
4560
+ * @returns Writer
4561
+ */
4562
+ public static encode(message: content.IUserActivity, writer?: $protobuf.Writer): $protobuf.Writer;
4563
+
4564
+ /**
4565
+ * Encodes the specified UserActivity message, length delimited. Does not implicitly {@link content.UserActivity.verify|verify} messages.
4566
+ * @param message UserActivity message or plain object to encode
4567
+ * @param [writer] Writer to encode to
4568
+ * @returns Writer
4569
+ */
4570
+ public static encodeDelimited(message: content.IUserActivity, writer?: $protobuf.Writer): $protobuf.Writer;
4571
+
4572
+ /**
4573
+ * Decodes a UserActivity message from the specified reader or buffer.
4574
+ * @param reader Reader or buffer to decode from
4575
+ * @param [length] Message length if known beforehand
4576
+ * @returns UserActivity
4577
+ * @throws {Error} If the payload is not a reader or valid buffer
4578
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4579
+ */
4580
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.UserActivity;
4581
+
4582
+ /**
4583
+ * Decodes a UserActivity message from the specified reader or buffer, length delimited.
4584
+ * @param reader Reader or buffer to decode from
4585
+ * @returns UserActivity
4586
+ * @throws {Error} If the payload is not a reader or valid buffer
4587
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4588
+ */
4589
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.UserActivity;
4590
+
4591
+ /**
4592
+ * Verifies a UserActivity message.
4593
+ * @param message Plain object to verify
4594
+ * @returns `null` if valid, otherwise the reason why it is not
4595
+ */
4596
+ public static verify(message: { [k: string]: any }): (string|null);
4597
+
4598
+ /**
4599
+ * Creates a UserActivity message from a plain object. Also converts values to their respective internal types.
4600
+ * @param object Plain object
4601
+ * @returns UserActivity
4602
+ */
4603
+ public static fromObject(object: { [k: string]: any }): content.UserActivity;
4604
+
4605
+ /**
4606
+ * Creates a plain object from a UserActivity message. Also converts values to other types if specified.
4607
+ * @param message UserActivity
4608
+ * @param [options] Conversion options
4609
+ * @returns Plain object
4610
+ */
4611
+ public static toObject(message: content.UserActivity, options?: $protobuf.IConversionOptions): { [k: string]: any };
4612
+
4613
+ /**
4614
+ * Converts this UserActivity to JSON.
4615
+ * @returns JSON object
4616
+ */
4617
+ public toJSON(): { [k: string]: any };
4618
+ }
4619
+
141
4620
  /** Represents a UserStatManager */
142
4621
  class UserStatManager extends $protobuf.rpc.Service {
143
4622
 
@@ -16676,9 +21155,6 @@ export interface IContentEntityCreated {
16676
21155
  /** ContentEntityCreated contentInfoScreenTheme */
16677
21156
  contentInfoScreenTheme?: (ColorTheme|null);
16678
21157
 
16679
- /** ContentEntityCreated categoryId */
16680
- categoryId?: (number|null);
16681
-
16682
21158
  /** ContentEntityCreated tileMediaId */
16683
21159
  tileMediaId?: (number|null);
16684
21160
 
@@ -16690,6 +21166,9 @@ export interface IContentEntityCreated {
16690
21166
 
16691
21167
  /** ContentEntityCreated createdAt */
16692
21168
  createdAt?: (number|Long|null);
21169
+
21170
+ /** ContentEntityCreated updatedAt */
21171
+ updatedAt?: (number|Long|null);
16693
21172
  }
16694
21173
 
16695
21174
  /** Represents a ContentEntityCreated. */
@@ -16725,9 +21204,6 @@ export class ContentEntityCreated implements IContentEntityCreated {
16725
21204
  /** ContentEntityCreated contentInfoScreenTheme. */
16726
21205
  public contentInfoScreenTheme: ColorTheme;
16727
21206
 
16728
- /** ContentEntityCreated categoryId. */
16729
- public categoryId: number;
16730
-
16731
21207
  /** ContentEntityCreated tileMediaId. */
16732
21208
  public tileMediaId: number;
16733
21209
 
@@ -16740,6 +21216,9 @@ export class ContentEntityCreated implements IContentEntityCreated {
16740
21216
  /** ContentEntityCreated createdAt. */
16741
21217
  public createdAt: (number|Long);
16742
21218
 
21219
+ /** ContentEntityCreated updatedAt. */
21220
+ public updatedAt: (number|Long);
21221
+
16743
21222
  /**
16744
21223
  * Creates a new ContentEntityCreated instance using the specified properties.
16745
21224
  * @param [properties] Properties to set
@@ -16838,9 +21317,6 @@ export interface IContentEntityUpdated {
16838
21317
  /** ContentEntityUpdated contentInfoScreenTheme */
16839
21318
  contentInfoScreenTheme?: (ColorTheme|null);
16840
21319
 
16841
- /** ContentEntityUpdated categoryId */
16842
- categoryId?: (number|null);
16843
-
16844
21320
  /** ContentEntityUpdated tileMediaId */
16845
21321
  tileMediaId?: (number|null);
16846
21322
 
@@ -16850,6 +21326,9 @@ export interface IContentEntityUpdated {
16850
21326
  /** ContentEntityUpdated ordinalNumber */
16851
21327
  ordinalNumber?: (number|null);
16852
21328
 
21329
+ /** ContentEntityUpdated createdAt */
21330
+ createdAt?: (number|Long|null);
21331
+
16853
21332
  /** ContentEntityUpdated updatedAt */
16854
21333
  updatedAt?: (number|Long|null);
16855
21334
  }
@@ -16887,9 +21366,6 @@ export class ContentEntityUpdated implements IContentEntityUpdated {
16887
21366
  /** ContentEntityUpdated contentInfoScreenTheme. */
16888
21367
  public contentInfoScreenTheme: ColorTheme;
16889
21368
 
16890
- /** ContentEntityUpdated categoryId. */
16891
- public categoryId: number;
16892
-
16893
21369
  /** ContentEntityUpdated tileMediaId. */
16894
21370
  public tileMediaId: number;
16895
21371
 
@@ -16899,6 +21375,9 @@ export class ContentEntityUpdated implements IContentEntityUpdated {
16899
21375
  /** ContentEntityUpdated ordinalNumber. */
16900
21376
  public ordinalNumber: number;
16901
21377
 
21378
+ /** ContentEntityUpdated createdAt. */
21379
+ public createdAt: (number|Long);
21380
+
16902
21381
  /** ContentEntityUpdated updatedAt. */
16903
21382
  public updatedAt: (number|Long);
16904
21383
 
@@ -17000,9 +21479,6 @@ export interface IContentEntityDeleted {
17000
21479
  /** ContentEntityDeleted contentInfoScreenTheme */
17001
21480
  contentInfoScreenTheme?: (ColorTheme|null);
17002
21481
 
17003
- /** ContentEntityDeleted categoryId */
17004
- categoryId?: (number|null);
17005
-
17006
21482
  /** ContentEntityDeleted tileMediaId */
17007
21483
  tileMediaId?: (number|null);
17008
21484
 
@@ -17012,8 +21488,11 @@ export interface IContentEntityDeleted {
17012
21488
  /** ContentEntityDeleted ordinalNumber */
17013
21489
  ordinalNumber?: (number|null);
17014
21490
 
17015
- /** ContentEntityDeleted deletedAt */
17016
- deletedAt?: (number|Long|null);
21491
+ /** ContentEntityDeleted createdAt */
21492
+ createdAt?: (number|Long|null);
21493
+
21494
+ /** ContentEntityDeleted updatedAt */
21495
+ updatedAt?: (number|Long|null);
17017
21496
  }
17018
21497
 
17019
21498
  /** Represents a ContentEntityDeleted. */
@@ -17049,9 +21528,6 @@ export class ContentEntityDeleted implements IContentEntityDeleted {
17049
21528
  /** ContentEntityDeleted contentInfoScreenTheme. */
17050
21529
  public contentInfoScreenTheme: ColorTheme;
17051
21530
 
17052
- /** ContentEntityDeleted categoryId. */
17053
- public categoryId: number;
17054
-
17055
21531
  /** ContentEntityDeleted tileMediaId. */
17056
21532
  public tileMediaId: number;
17057
21533
 
@@ -17061,8 +21537,11 @@ export class ContentEntityDeleted implements IContentEntityDeleted {
17061
21537
  /** ContentEntityDeleted ordinalNumber. */
17062
21538
  public ordinalNumber: number;
17063
21539
 
17064
- /** ContentEntityDeleted deletedAt. */
17065
- public deletedAt: (number|Long);
21540
+ /** ContentEntityDeleted createdAt. */
21541
+ public createdAt: (number|Long);
21542
+
21543
+ /** ContentEntityDeleted updatedAt. */
21544
+ public updatedAt: (number|Long);
17066
21545
 
17067
21546
  /**
17068
21547
  * Creates a new ContentEntityDeleted instance using the specified properties.