@headspace/protos-events 1.566.0 → 1.567.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 +1035 -1035
  2. package/lib/index.js +2422 -2422
  3. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -169,6 +169,150 @@ export namespace auth0 {
169
169
  /** Namespace content. */
170
170
  export namespace content {
171
171
 
172
+ /** Properties of an Activity. */
173
+ interface IActivity {
174
+
175
+ /** Activity id */
176
+ id?: (number|null);
177
+
178
+ /** Activity name */
179
+ name?: (string|null);
180
+
181
+ /** Activity format */
182
+ format?: (string|null);
183
+
184
+ /** Activity privilegeRequirement */
185
+ privilegeRequirement?: (string|null);
186
+
187
+ /** Activity primaryActivityGroupId */
188
+ primaryActivityGroupId?: (number|null);
189
+
190
+ /** Activity legacyId */
191
+ legacyId?: (string|null);
192
+
193
+ /** Activity enabled */
194
+ enabled?: (string|null);
195
+
196
+ /** Activity deletedAt */
197
+ deletedAt?: (date.IDate|null);
198
+
199
+ /** Activity createdAt */
200
+ createdAt?: (date.IDate|null);
201
+
202
+ /** Activity updatedAt */
203
+ updatedAt?: (date.IDate|null);
204
+ }
205
+
206
+ /** Represents an Activity. */
207
+ class Activity implements IActivity {
208
+
209
+ /**
210
+ * Constructs a new Activity.
211
+ * @param [properties] Properties to set
212
+ */
213
+ constructor(properties?: content.IActivity);
214
+
215
+ /** Activity id. */
216
+ public id: number;
217
+
218
+ /** Activity name. */
219
+ public name: string;
220
+
221
+ /** Activity format. */
222
+ public format: string;
223
+
224
+ /** Activity privilegeRequirement. */
225
+ public privilegeRequirement: string;
226
+
227
+ /** Activity primaryActivityGroupId. */
228
+ public primaryActivityGroupId: number;
229
+
230
+ /** Activity legacyId. */
231
+ public legacyId: string;
232
+
233
+ /** Activity enabled. */
234
+ public enabled: string;
235
+
236
+ /** Activity deletedAt. */
237
+ public deletedAt?: (date.IDate|null);
238
+
239
+ /** Activity createdAt. */
240
+ public createdAt?: (date.IDate|null);
241
+
242
+ /** Activity updatedAt. */
243
+ public updatedAt?: (date.IDate|null);
244
+
245
+ /**
246
+ * Creates a new Activity instance using the specified properties.
247
+ * @param [properties] Properties to set
248
+ * @returns Activity instance
249
+ */
250
+ public static create(properties?: content.IActivity): content.Activity;
251
+
252
+ /**
253
+ * Encodes the specified Activity message. Does not implicitly {@link content.Activity.verify|verify} messages.
254
+ * @param message Activity message or plain object to encode
255
+ * @param [writer] Writer to encode to
256
+ * @returns Writer
257
+ */
258
+ public static encode(message: content.IActivity, writer?: $protobuf.Writer): $protobuf.Writer;
259
+
260
+ /**
261
+ * Encodes the specified Activity message, length delimited. Does not implicitly {@link content.Activity.verify|verify} messages.
262
+ * @param message Activity message or plain object to encode
263
+ * @param [writer] Writer to encode to
264
+ * @returns Writer
265
+ */
266
+ public static encodeDelimited(message: content.IActivity, writer?: $protobuf.Writer): $protobuf.Writer;
267
+
268
+ /**
269
+ * Decodes an Activity message from the specified reader or buffer.
270
+ * @param reader Reader or buffer to decode from
271
+ * @param [length] Message length if known beforehand
272
+ * @returns Activity
273
+ * @throws {Error} If the payload is not a reader or valid buffer
274
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
275
+ */
276
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.Activity;
277
+
278
+ /**
279
+ * Decodes an Activity message from the specified reader or buffer, length delimited.
280
+ * @param reader Reader or buffer to decode from
281
+ * @returns Activity
282
+ * @throws {Error} If the payload is not a reader or valid buffer
283
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
284
+ */
285
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.Activity;
286
+
287
+ /**
288
+ * Verifies an Activity message.
289
+ * @param message Plain object to verify
290
+ * @returns `null` if valid, otherwise the reason why it is not
291
+ */
292
+ public static verify(message: { [k: string]: any }): (string|null);
293
+
294
+ /**
295
+ * Creates an Activity message from a plain object. Also converts values to their respective internal types.
296
+ * @param object Plain object
297
+ * @returns Activity
298
+ */
299
+ public static fromObject(object: { [k: string]: any }): content.Activity;
300
+
301
+ /**
302
+ * Creates a plain object from an Activity message. Also converts values to other types if specified.
303
+ * @param message Activity
304
+ * @param [options] Conversion options
305
+ * @returns Plain object
306
+ */
307
+ public static toObject(message: content.Activity, options?: $protobuf.IConversionOptions): { [k: string]: any };
308
+
309
+ /**
310
+ * Converts this Activity to JSON.
311
+ * @returns JSON object
312
+ */
313
+ public toJSON(): { [k: string]: any };
314
+ }
315
+
172
316
  /** Properties of an ActivityCard. */
173
317
  interface IActivityCard {
174
318
 
@@ -673,264 +817,120 @@ export namespace content {
673
817
  public toJSON(): { [k: string]: any };
674
818
  }
675
819
 
676
- /** Properties of an Activity. */
677
- interface IActivity {
820
+ /** Properties of a Content. */
821
+ interface IContent {
678
822
 
679
- /** Activity id */
823
+ /** Content id */
680
824
  id?: (number|null);
681
825
 
682
- /** Activity name */
683
- name?: (string|null);
684
-
685
- /** Activity format */
686
- format?: (string|null);
687
-
688
- /** Activity privilegeRequirement */
689
- privilegeRequirement?: (string|null);
826
+ /** Content contentType */
827
+ contentType?: (string|null);
690
828
 
691
- /** Activity primaryActivityGroupId */
692
- primaryActivityGroupId?: (number|null);
829
+ /** Content contentTypeDisplayValue */
830
+ contentTypeDisplayValue?: (string|null);
693
831
 
694
- /** Activity legacyId */
695
- legacyId?: (string|null);
832
+ /** Content entityId */
833
+ entityId?: (number|null);
696
834
 
697
- /** Activity enabled */
698
- enabled?: (string|null);
835
+ /** Content tileMediaId */
836
+ tileMediaId?: (number|null);
699
837
 
700
- /** Activity deletedAt */
701
- deletedAt?: (date.IDate|null);
838
+ /** Content headerImageMediaId */
839
+ headerImageMediaId?: (number|null);
702
840
 
703
- /** Activity createdAt */
841
+ /** Content createdAt */
704
842
  createdAt?: (date.IDate|null);
705
843
 
706
- /** Activity updatedAt */
844
+ /** Content updatedAt */
707
845
  updatedAt?: (date.IDate|null);
708
846
  }
709
847
 
710
- /** Represents an Activity. */
711
- class Activity implements IActivity {
848
+ /** Represents a Content. */
849
+ class Content implements IContent {
712
850
 
713
851
  /**
714
- * Constructs a new Activity.
852
+ * Constructs a new Content.
715
853
  * @param [properties] Properties to set
716
854
  */
717
- constructor(properties?: content.IActivity);
855
+ constructor(properties?: content.IContent);
718
856
 
719
- /** Activity id. */
857
+ /** Content id. */
720
858
  public id: number;
721
859
 
722
- /** Activity name. */
723
- public name: string;
724
-
725
- /** Activity format. */
726
- public format: string;
727
-
728
- /** Activity privilegeRequirement. */
729
- public privilegeRequirement: string;
860
+ /** Content contentType. */
861
+ public contentType: string;
730
862
 
731
- /** Activity primaryActivityGroupId. */
732
- public primaryActivityGroupId: number;
863
+ /** Content contentTypeDisplayValue. */
864
+ public contentTypeDisplayValue: string;
733
865
 
734
- /** Activity legacyId. */
735
- public legacyId: string;
866
+ /** Content entityId. */
867
+ public entityId: number;
736
868
 
737
- /** Activity enabled. */
738
- public enabled: string;
869
+ /** Content tileMediaId. */
870
+ public tileMediaId: number;
739
871
 
740
- /** Activity deletedAt. */
741
- public deletedAt?: (date.IDate|null);
872
+ /** Content headerImageMediaId. */
873
+ public headerImageMediaId: number;
742
874
 
743
- /** Activity createdAt. */
875
+ /** Content createdAt. */
744
876
  public createdAt?: (date.IDate|null);
745
877
 
746
- /** Activity updatedAt. */
878
+ /** Content updatedAt. */
747
879
  public updatedAt?: (date.IDate|null);
748
880
 
749
881
  /**
750
- * Creates a new Activity instance using the specified properties.
882
+ * Creates a new Content instance using the specified properties.
751
883
  * @param [properties] Properties to set
752
- * @returns Activity instance
884
+ * @returns Content instance
753
885
  */
754
- public static create(properties?: content.IActivity): content.Activity;
886
+ public static create(properties?: content.IContent): content.Content;
755
887
 
756
888
  /**
757
- * Encodes the specified Activity message. Does not implicitly {@link content.Activity.verify|verify} messages.
758
- * @param message Activity message or plain object to encode
889
+ * Encodes the specified Content message. Does not implicitly {@link content.Content.verify|verify} messages.
890
+ * @param message Content message or plain object to encode
759
891
  * @param [writer] Writer to encode to
760
892
  * @returns Writer
761
893
  */
762
- public static encode(message: content.IActivity, writer?: $protobuf.Writer): $protobuf.Writer;
894
+ public static encode(message: content.IContent, writer?: $protobuf.Writer): $protobuf.Writer;
763
895
 
764
896
  /**
765
- * Encodes the specified Activity message, length delimited. Does not implicitly {@link content.Activity.verify|verify} messages.
766
- * @param message Activity message or plain object to encode
897
+ * Encodes the specified Content message, length delimited. Does not implicitly {@link content.Content.verify|verify} messages.
898
+ * @param message Content message or plain object to encode
767
899
  * @param [writer] Writer to encode to
768
900
  * @returns Writer
769
901
  */
770
- public static encodeDelimited(message: content.IActivity, writer?: $protobuf.Writer): $protobuf.Writer;
902
+ public static encodeDelimited(message: content.IContent, writer?: $protobuf.Writer): $protobuf.Writer;
771
903
 
772
904
  /**
773
- * Decodes an Activity message from the specified reader or buffer.
905
+ * Decodes a Content message from the specified reader or buffer.
774
906
  * @param reader Reader or buffer to decode from
775
907
  * @param [length] Message length if known beforehand
776
- * @returns Activity
908
+ * @returns Content
777
909
  * @throws {Error} If the payload is not a reader or valid buffer
778
910
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
779
911
  */
780
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.Activity;
912
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.Content;
781
913
 
782
914
  /**
783
- * Decodes an Activity message from the specified reader or buffer, length delimited.
915
+ * Decodes a Content message from the specified reader or buffer, length delimited.
784
916
  * @param reader Reader or buffer to decode from
785
- * @returns Activity
917
+ * @returns Content
786
918
  * @throws {Error} If the payload is not a reader or valid buffer
787
919
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
788
920
  */
789
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.Activity;
921
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.Content;
790
922
 
791
923
  /**
792
- * Verifies an Activity message.
924
+ * Verifies a Content message.
793
925
  * @param message Plain object to verify
794
926
  * @returns `null` if valid, otherwise the reason why it is not
795
927
  */
796
928
  public static verify(message: { [k: string]: any }): (string|null);
797
929
 
798
930
  /**
799
- * Creates an Activity message from a plain object. Also converts values to their respective internal types.
931
+ * Creates a Content message from a plain object. Also converts values to their respective internal types.
800
932
  * @param object Plain object
801
- * @returns Activity
802
- */
803
- public static fromObject(object: { [k: string]: any }): content.Activity;
804
-
805
- /**
806
- * Creates a plain object from an Activity message. Also converts values to other types if specified.
807
- * @param message Activity
808
- * @param [options] Conversion options
809
- * @returns Plain object
810
- */
811
- public static toObject(message: content.Activity, options?: $protobuf.IConversionOptions): { [k: string]: any };
812
-
813
- /**
814
- * Converts this Activity to JSON.
815
- * @returns JSON object
816
- */
817
- public toJSON(): { [k: string]: any };
818
- }
819
-
820
- /** Properties of a Content. */
821
- interface IContent {
822
-
823
- /** Content id */
824
- id?: (number|null);
825
-
826
- /** Content contentType */
827
- contentType?: (string|null);
828
-
829
- /** Content contentTypeDisplayValue */
830
- contentTypeDisplayValue?: (string|null);
831
-
832
- /** Content entityId */
833
- entityId?: (number|null);
834
-
835
- /** Content tileMediaId */
836
- tileMediaId?: (number|null);
837
-
838
- /** Content headerImageMediaId */
839
- headerImageMediaId?: (number|null);
840
-
841
- /** Content createdAt */
842
- createdAt?: (date.IDate|null);
843
-
844
- /** Content updatedAt */
845
- updatedAt?: (date.IDate|null);
846
- }
847
-
848
- /** Represents a Content. */
849
- class Content implements IContent {
850
-
851
- /**
852
- * Constructs a new Content.
853
- * @param [properties] Properties to set
854
- */
855
- constructor(properties?: content.IContent);
856
-
857
- /** Content id. */
858
- public id: number;
859
-
860
- /** Content contentType. */
861
- public contentType: string;
862
-
863
- /** Content contentTypeDisplayValue. */
864
- public contentTypeDisplayValue: string;
865
-
866
- /** Content entityId. */
867
- public entityId: number;
868
-
869
- /** Content tileMediaId. */
870
- public tileMediaId: number;
871
-
872
- /** Content headerImageMediaId. */
873
- public headerImageMediaId: number;
874
-
875
- /** Content createdAt. */
876
- public createdAt?: (date.IDate|null);
877
-
878
- /** Content updatedAt. */
879
- public updatedAt?: (date.IDate|null);
880
-
881
- /**
882
- * Creates a new Content instance using the specified properties.
883
- * @param [properties] Properties to set
884
- * @returns Content instance
885
- */
886
- public static create(properties?: content.IContent): content.Content;
887
-
888
- /**
889
- * Encodes the specified Content message. Does not implicitly {@link content.Content.verify|verify} messages.
890
- * @param message Content message or plain object to encode
891
- * @param [writer] Writer to encode to
892
- * @returns Writer
893
- */
894
- public static encode(message: content.IContent, writer?: $protobuf.Writer): $protobuf.Writer;
895
-
896
- /**
897
- * Encodes the specified Content message, length delimited. Does not implicitly {@link content.Content.verify|verify} messages.
898
- * @param message Content message or plain object to encode
899
- * @param [writer] Writer to encode to
900
- * @returns Writer
901
- */
902
- public static encodeDelimited(message: content.IContent, writer?: $protobuf.Writer): $protobuf.Writer;
903
-
904
- /**
905
- * Decodes a Content message from the specified reader or buffer.
906
- * @param reader Reader or buffer to decode from
907
- * @param [length] Message length if known beforehand
908
- * @returns Content
909
- * @throws {Error} If the payload is not a reader or valid buffer
910
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
911
- */
912
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.Content;
913
-
914
- /**
915
- * Decodes a Content message from the specified reader or buffer, length delimited.
916
- * @param reader Reader or buffer to decode from
917
- * @returns Content
918
- * @throws {Error} If the payload is not a reader or valid buffer
919
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
920
- */
921
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.Content;
922
-
923
- /**
924
- * Verifies a Content message.
925
- * @param message Plain object to verify
926
- * @returns `null` if valid, otherwise the reason why it is not
927
- */
928
- public static verify(message: { [k: string]: any }): (string|null);
929
-
930
- /**
931
- * Creates a Content message from a plain object. Also converts values to their respective internal types.
932
- * @param object Plain object
933
- * @returns Content
933
+ * @returns Content
934
934
  */
935
935
  public static fromObject(object: { [k: string]: any }): content.Content;
936
936
 
@@ -3469,11 +3469,11 @@ export namespace content {
3469
3469
  public toJSON(): { [k: string]: any };
3470
3470
  }
3471
3471
 
3472
- /** Represents a UserActivityCompletionManager */
3473
- class UserActivityCompletionManager extends $protobuf.rpc.Service {
3472
+ /** Represents a UserActivityManager */
3473
+ class UserActivityManager extends $protobuf.rpc.Service {
3474
3474
 
3475
3475
  /**
3476
- * Constructs a new UserActivityCompletionManager service.
3476
+ * Constructs a new UserActivityManager service.
3477
3477
  * @param rpcImpl RPC implementation
3478
3478
  * @param [requestDelimited=false] Whether requests are length-delimited
3479
3479
  * @param [responseDelimited=false] Whether responses are length-delimited
@@ -3481,153 +3481,384 @@ export namespace content {
3481
3481
  constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
3482
3482
 
3483
3483
  /**
3484
- * Creates new UserActivityCompletionManager service using the specified rpc implementation.
3484
+ * Creates new UserActivityManager service using the specified rpc implementation.
3485
3485
  * @param rpcImpl RPC implementation
3486
3486
  * @param [requestDelimited=false] Whether requests are length-delimited
3487
3487
  * @param [responseDelimited=false] Whether responses are length-delimited
3488
3488
  * @returns RPC service. Useful where requests and/or responses are streamed.
3489
3489
  */
3490
- public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): UserActivityCompletionManager;
3490
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): UserActivityManager;
3491
3491
 
3492
3492
  /**
3493
- * Calls findManySince.
3494
- * @param request FindManySinceRequest message or plain object
3495
- * @param callback Node-style callback called with the error, if any, and FindManySinceResponse
3493
+ * Calls unlockActivity.
3494
+ * @param request UnlockActivityRequest message or plain object
3495
+ * @param callback Node-style callback called with the error, if any, and UnlockActivityResponse
3496
3496
  */
3497
- public findManySince(request: content.IFindManySinceRequest, callback: content.UserActivityCompletionManager.findManySinceCallback): void;
3497
+ public unlockActivity(request: content.IUnlockActivityRequest, callback: content.UserActivityManager.unlockActivityCallback): void;
3498
3498
 
3499
3499
  /**
3500
- * Calls findManySince.
3501
- * @param request FindManySinceRequest message or plain object
3500
+ * Calls unlockActivity.
3501
+ * @param request UnlockActivityRequest message or plain object
3502
3502
  * @returns Promise
3503
3503
  */
3504
- public findManySince(request: content.IFindManySinceRequest): Promise<content.FindManySinceResponse>;
3504
+ public unlockActivity(request: content.IUnlockActivityRequest): Promise<content.UnlockActivityResponse>;
3505
3505
  }
3506
3506
 
3507
- namespace UserActivityCompletionManager {
3507
+ namespace UserActivityManager {
3508
3508
 
3509
3509
  /**
3510
- * Callback as used by {@link content.UserActivityCompletionManager#findManySince}.
3510
+ * Callback as used by {@link content.UserActivityManager#unlockActivity}.
3511
3511
  * @param error Error, if any
3512
- * @param [response] FindManySinceResponse
3512
+ * @param [response] UnlockActivityResponse
3513
3513
  */
3514
- type findManySinceCallback = (error: (Error|null), response?: content.FindManySinceResponse) => void;
3514
+ type unlockActivityCallback = (error: (Error|null), response?: content.UnlockActivityResponse) => void;
3515
3515
  }
3516
3516
 
3517
- /** Properties of a FindManySinceRequest. */
3518
- interface IFindManySinceRequest {
3517
+ /** Properties of an UnlockActivityRequest. */
3518
+ interface IUnlockActivityRequest {
3519
3519
 
3520
- /** FindManySinceRequest userId */
3521
- userId?: (string|null);
3520
+ /** UnlockActivityRequest activityId */
3521
+ activityId?: (number|null);
3522
3522
 
3523
- /** FindManySinceRequest completedAfter */
3524
- completedAfter?: (date.IDate|null);
3523
+ /** UnlockActivityRequest userId */
3524
+ userId?: (string|null);
3525
3525
  }
3526
3526
 
3527
- /** Represents a FindManySinceRequest. */
3528
- class FindManySinceRequest implements IFindManySinceRequest {
3527
+ /** Represents an UnlockActivityRequest. */
3528
+ class UnlockActivityRequest implements IUnlockActivityRequest {
3529
3529
 
3530
3530
  /**
3531
- * Constructs a new FindManySinceRequest.
3531
+ * Constructs a new UnlockActivityRequest.
3532
3532
  * @param [properties] Properties to set
3533
3533
  */
3534
- constructor(properties?: content.IFindManySinceRequest);
3534
+ constructor(properties?: content.IUnlockActivityRequest);
3535
3535
 
3536
- /** FindManySinceRequest userId. */
3537
- public userId: string;
3536
+ /** UnlockActivityRequest activityId. */
3537
+ public activityId: number;
3538
3538
 
3539
- /** FindManySinceRequest completedAfter. */
3540
- public completedAfter?: (date.IDate|null);
3539
+ /** UnlockActivityRequest userId. */
3540
+ public userId: string;
3541
3541
 
3542
3542
  /**
3543
- * Creates a new FindManySinceRequest instance using the specified properties.
3543
+ * Creates a new UnlockActivityRequest instance using the specified properties.
3544
3544
  * @param [properties] Properties to set
3545
- * @returns FindManySinceRequest instance
3545
+ * @returns UnlockActivityRequest instance
3546
3546
  */
3547
- public static create(properties?: content.IFindManySinceRequest): content.FindManySinceRequest;
3547
+ public static create(properties?: content.IUnlockActivityRequest): content.UnlockActivityRequest;
3548
3548
 
3549
3549
  /**
3550
- * Encodes the specified FindManySinceRequest message. Does not implicitly {@link content.FindManySinceRequest.verify|verify} messages.
3551
- * @param message FindManySinceRequest message or plain object to encode
3550
+ * Encodes the specified UnlockActivityRequest message. Does not implicitly {@link content.UnlockActivityRequest.verify|verify} messages.
3551
+ * @param message UnlockActivityRequest message or plain object to encode
3552
3552
  * @param [writer] Writer to encode to
3553
3553
  * @returns Writer
3554
3554
  */
3555
- public static encode(message: content.IFindManySinceRequest, writer?: $protobuf.Writer): $protobuf.Writer;
3555
+ public static encode(message: content.IUnlockActivityRequest, writer?: $protobuf.Writer): $protobuf.Writer;
3556
3556
 
3557
3557
  /**
3558
- * Encodes the specified FindManySinceRequest message, length delimited. Does not implicitly {@link content.FindManySinceRequest.verify|verify} messages.
3559
- * @param message FindManySinceRequest message or plain object to encode
3558
+ * Encodes the specified UnlockActivityRequest message, length delimited. Does not implicitly {@link content.UnlockActivityRequest.verify|verify} messages.
3559
+ * @param message UnlockActivityRequest message or plain object to encode
3560
3560
  * @param [writer] Writer to encode to
3561
3561
  * @returns Writer
3562
3562
  */
3563
- public static encodeDelimited(message: content.IFindManySinceRequest, writer?: $protobuf.Writer): $protobuf.Writer;
3563
+ public static encodeDelimited(message: content.IUnlockActivityRequest, writer?: $protobuf.Writer): $protobuf.Writer;
3564
3564
 
3565
3565
  /**
3566
- * Decodes a FindManySinceRequest message from the specified reader or buffer.
3566
+ * Decodes an UnlockActivityRequest message from the specified reader or buffer.
3567
3567
  * @param reader Reader or buffer to decode from
3568
3568
  * @param [length] Message length if known beforehand
3569
- * @returns FindManySinceRequest
3569
+ * @returns UnlockActivityRequest
3570
3570
  * @throws {Error} If the payload is not a reader or valid buffer
3571
3571
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
3572
3572
  */
3573
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.FindManySinceRequest;
3573
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.UnlockActivityRequest;
3574
3574
 
3575
3575
  /**
3576
- * Decodes a FindManySinceRequest message from the specified reader or buffer, length delimited.
3576
+ * Decodes an UnlockActivityRequest message from the specified reader or buffer, length delimited.
3577
3577
  * @param reader Reader or buffer to decode from
3578
- * @returns FindManySinceRequest
3578
+ * @returns UnlockActivityRequest
3579
3579
  * @throws {Error} If the payload is not a reader or valid buffer
3580
3580
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
3581
3581
  */
3582
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.FindManySinceRequest;
3582
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.UnlockActivityRequest;
3583
3583
 
3584
3584
  /**
3585
- * Verifies a FindManySinceRequest message.
3585
+ * Verifies an UnlockActivityRequest message.
3586
3586
  * @param message Plain object to verify
3587
3587
  * @returns `null` if valid, otherwise the reason why it is not
3588
3588
  */
3589
3589
  public static verify(message: { [k: string]: any }): (string|null);
3590
3590
 
3591
3591
  /**
3592
- * Creates a FindManySinceRequest message from a plain object. Also converts values to their respective internal types.
3592
+ * Creates an UnlockActivityRequest message from a plain object. Also converts values to their respective internal types.
3593
3593
  * @param object Plain object
3594
- * @returns FindManySinceRequest
3594
+ * @returns UnlockActivityRequest
3595
3595
  */
3596
- public static fromObject(object: { [k: string]: any }): content.FindManySinceRequest;
3596
+ public static fromObject(object: { [k: string]: any }): content.UnlockActivityRequest;
3597
3597
 
3598
3598
  /**
3599
- * Creates a plain object from a FindManySinceRequest message. Also converts values to other types if specified.
3600
- * @param message FindManySinceRequest
3599
+ * Creates a plain object from an UnlockActivityRequest message. Also converts values to other types if specified.
3600
+ * @param message UnlockActivityRequest
3601
3601
  * @param [options] Conversion options
3602
3602
  * @returns Plain object
3603
3603
  */
3604
- public static toObject(message: content.FindManySinceRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
3604
+ public static toObject(message: content.UnlockActivityRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
3605
3605
 
3606
3606
  /**
3607
- * Converts this FindManySinceRequest to JSON.
3607
+ * Converts this UnlockActivityRequest to JSON.
3608
3608
  * @returns JSON object
3609
3609
  */
3610
3610
  public toJSON(): { [k: string]: any };
3611
3611
  }
3612
3612
 
3613
- /** Properties of a FindManySinceResponse. */
3614
- interface IFindManySinceResponse {
3613
+ /** Properties of an UnlockActivityResponse. */
3614
+ interface IUnlockActivityResponse {
3615
3615
 
3616
- /** FindManySinceResponse completions */
3617
- completions?: (content.IUserActivityCompletion[]|null);
3616
+ /** UnlockActivityResponse success */
3617
+ success?: (boolean|null);
3618
3618
  }
3619
3619
 
3620
- /** Represents a FindManySinceResponse. */
3621
- class FindManySinceResponse implements IFindManySinceResponse {
3620
+ /** Represents an UnlockActivityResponse. */
3621
+ class UnlockActivityResponse implements IUnlockActivityResponse {
3622
3622
 
3623
3623
  /**
3624
- * Constructs a new FindManySinceResponse.
3624
+ * Constructs a new UnlockActivityResponse.
3625
3625
  * @param [properties] Properties to set
3626
3626
  */
3627
- constructor(properties?: content.IFindManySinceResponse);
3627
+ constructor(properties?: content.IUnlockActivityResponse);
3628
3628
 
3629
- /** FindManySinceResponse completions. */
3630
- public completions: content.IUserActivityCompletion[];
3629
+ /** UnlockActivityResponse success. */
3630
+ public success: boolean;
3631
+
3632
+ /**
3633
+ * Creates a new UnlockActivityResponse instance using the specified properties.
3634
+ * @param [properties] Properties to set
3635
+ * @returns UnlockActivityResponse instance
3636
+ */
3637
+ public static create(properties?: content.IUnlockActivityResponse): content.UnlockActivityResponse;
3638
+
3639
+ /**
3640
+ * Encodes the specified UnlockActivityResponse message. Does not implicitly {@link content.UnlockActivityResponse.verify|verify} messages.
3641
+ * @param message UnlockActivityResponse message or plain object to encode
3642
+ * @param [writer] Writer to encode to
3643
+ * @returns Writer
3644
+ */
3645
+ public static encode(message: content.IUnlockActivityResponse, writer?: $protobuf.Writer): $protobuf.Writer;
3646
+
3647
+ /**
3648
+ * Encodes the specified UnlockActivityResponse message, length delimited. Does not implicitly {@link content.UnlockActivityResponse.verify|verify} messages.
3649
+ * @param message UnlockActivityResponse message or plain object to encode
3650
+ * @param [writer] Writer to encode to
3651
+ * @returns Writer
3652
+ */
3653
+ public static encodeDelimited(message: content.IUnlockActivityResponse, writer?: $protobuf.Writer): $protobuf.Writer;
3654
+
3655
+ /**
3656
+ * Decodes an UnlockActivityResponse message from the specified reader or buffer.
3657
+ * @param reader Reader or buffer to decode from
3658
+ * @param [length] Message length if known beforehand
3659
+ * @returns UnlockActivityResponse
3660
+ * @throws {Error} If the payload is not a reader or valid buffer
3661
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3662
+ */
3663
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.UnlockActivityResponse;
3664
+
3665
+ /**
3666
+ * Decodes an UnlockActivityResponse message from the specified reader or buffer, length delimited.
3667
+ * @param reader Reader or buffer to decode from
3668
+ * @returns UnlockActivityResponse
3669
+ * @throws {Error} If the payload is not a reader or valid buffer
3670
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3671
+ */
3672
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.UnlockActivityResponse;
3673
+
3674
+ /**
3675
+ * Verifies an UnlockActivityResponse message.
3676
+ * @param message Plain object to verify
3677
+ * @returns `null` if valid, otherwise the reason why it is not
3678
+ */
3679
+ public static verify(message: { [k: string]: any }): (string|null);
3680
+
3681
+ /**
3682
+ * Creates an UnlockActivityResponse message from a plain object. Also converts values to their respective internal types.
3683
+ * @param object Plain object
3684
+ * @returns UnlockActivityResponse
3685
+ */
3686
+ public static fromObject(object: { [k: string]: any }): content.UnlockActivityResponse;
3687
+
3688
+ /**
3689
+ * Creates a plain object from an UnlockActivityResponse message. Also converts values to other types if specified.
3690
+ * @param message UnlockActivityResponse
3691
+ * @param [options] Conversion options
3692
+ * @returns Plain object
3693
+ */
3694
+ public static toObject(message: content.UnlockActivityResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
3695
+
3696
+ /**
3697
+ * Converts this UnlockActivityResponse to JSON.
3698
+ * @returns JSON object
3699
+ */
3700
+ public toJSON(): { [k: string]: any };
3701
+ }
3702
+
3703
+ /** Represents a UserActivityCompletionManager */
3704
+ class UserActivityCompletionManager extends $protobuf.rpc.Service {
3705
+
3706
+ /**
3707
+ * Constructs a new UserActivityCompletionManager service.
3708
+ * @param rpcImpl RPC implementation
3709
+ * @param [requestDelimited=false] Whether requests are length-delimited
3710
+ * @param [responseDelimited=false] Whether responses are length-delimited
3711
+ */
3712
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
3713
+
3714
+ /**
3715
+ * Creates new UserActivityCompletionManager service using the specified rpc implementation.
3716
+ * @param rpcImpl RPC implementation
3717
+ * @param [requestDelimited=false] Whether requests are length-delimited
3718
+ * @param [responseDelimited=false] Whether responses are length-delimited
3719
+ * @returns RPC service. Useful where requests and/or responses are streamed.
3720
+ */
3721
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): UserActivityCompletionManager;
3722
+
3723
+ /**
3724
+ * Calls findManySince.
3725
+ * @param request FindManySinceRequest message or plain object
3726
+ * @param callback Node-style callback called with the error, if any, and FindManySinceResponse
3727
+ */
3728
+ public findManySince(request: content.IFindManySinceRequest, callback: content.UserActivityCompletionManager.findManySinceCallback): void;
3729
+
3730
+ /**
3731
+ * Calls findManySince.
3732
+ * @param request FindManySinceRequest message or plain object
3733
+ * @returns Promise
3734
+ */
3735
+ public findManySince(request: content.IFindManySinceRequest): Promise<content.FindManySinceResponse>;
3736
+ }
3737
+
3738
+ namespace UserActivityCompletionManager {
3739
+
3740
+ /**
3741
+ * Callback as used by {@link content.UserActivityCompletionManager#findManySince}.
3742
+ * @param error Error, if any
3743
+ * @param [response] FindManySinceResponse
3744
+ */
3745
+ type findManySinceCallback = (error: (Error|null), response?: content.FindManySinceResponse) => void;
3746
+ }
3747
+
3748
+ /** Properties of a FindManySinceRequest. */
3749
+ interface IFindManySinceRequest {
3750
+
3751
+ /** FindManySinceRequest userId */
3752
+ userId?: (string|null);
3753
+
3754
+ /** FindManySinceRequest completedAfter */
3755
+ completedAfter?: (date.IDate|null);
3756
+ }
3757
+
3758
+ /** Represents a FindManySinceRequest. */
3759
+ class FindManySinceRequest implements IFindManySinceRequest {
3760
+
3761
+ /**
3762
+ * Constructs a new FindManySinceRequest.
3763
+ * @param [properties] Properties to set
3764
+ */
3765
+ constructor(properties?: content.IFindManySinceRequest);
3766
+
3767
+ /** FindManySinceRequest userId. */
3768
+ public userId: string;
3769
+
3770
+ /** FindManySinceRequest completedAfter. */
3771
+ public completedAfter?: (date.IDate|null);
3772
+
3773
+ /**
3774
+ * Creates a new FindManySinceRequest instance using the specified properties.
3775
+ * @param [properties] Properties to set
3776
+ * @returns FindManySinceRequest instance
3777
+ */
3778
+ public static create(properties?: content.IFindManySinceRequest): content.FindManySinceRequest;
3779
+
3780
+ /**
3781
+ * Encodes the specified FindManySinceRequest message. Does not implicitly {@link content.FindManySinceRequest.verify|verify} messages.
3782
+ * @param message FindManySinceRequest message or plain object to encode
3783
+ * @param [writer] Writer to encode to
3784
+ * @returns Writer
3785
+ */
3786
+ public static encode(message: content.IFindManySinceRequest, writer?: $protobuf.Writer): $protobuf.Writer;
3787
+
3788
+ /**
3789
+ * Encodes the specified FindManySinceRequest message, length delimited. Does not implicitly {@link content.FindManySinceRequest.verify|verify} messages.
3790
+ * @param message FindManySinceRequest message or plain object to encode
3791
+ * @param [writer] Writer to encode to
3792
+ * @returns Writer
3793
+ */
3794
+ public static encodeDelimited(message: content.IFindManySinceRequest, writer?: $protobuf.Writer): $protobuf.Writer;
3795
+
3796
+ /**
3797
+ * Decodes a FindManySinceRequest message from the specified reader or buffer.
3798
+ * @param reader Reader or buffer to decode from
3799
+ * @param [length] Message length if known beforehand
3800
+ * @returns FindManySinceRequest
3801
+ * @throws {Error} If the payload is not a reader or valid buffer
3802
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3803
+ */
3804
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.FindManySinceRequest;
3805
+
3806
+ /**
3807
+ * Decodes a FindManySinceRequest message from the specified reader or buffer, length delimited.
3808
+ * @param reader Reader or buffer to decode from
3809
+ * @returns FindManySinceRequest
3810
+ * @throws {Error} If the payload is not a reader or valid buffer
3811
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3812
+ */
3813
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.FindManySinceRequest;
3814
+
3815
+ /**
3816
+ * Verifies a FindManySinceRequest message.
3817
+ * @param message Plain object to verify
3818
+ * @returns `null` if valid, otherwise the reason why it is not
3819
+ */
3820
+ public static verify(message: { [k: string]: any }): (string|null);
3821
+
3822
+ /**
3823
+ * Creates a FindManySinceRequest message from a plain object. Also converts values to their respective internal types.
3824
+ * @param object Plain object
3825
+ * @returns FindManySinceRequest
3826
+ */
3827
+ public static fromObject(object: { [k: string]: any }): content.FindManySinceRequest;
3828
+
3829
+ /**
3830
+ * Creates a plain object from a FindManySinceRequest message. Also converts values to other types if specified.
3831
+ * @param message FindManySinceRequest
3832
+ * @param [options] Conversion options
3833
+ * @returns Plain object
3834
+ */
3835
+ public static toObject(message: content.FindManySinceRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
3836
+
3837
+ /**
3838
+ * Converts this FindManySinceRequest to JSON.
3839
+ * @returns JSON object
3840
+ */
3841
+ public toJSON(): { [k: string]: any };
3842
+ }
3843
+
3844
+ /** Properties of a FindManySinceResponse. */
3845
+ interface IFindManySinceResponse {
3846
+
3847
+ /** FindManySinceResponse completions */
3848
+ completions?: (content.IUserActivityCompletion[]|null);
3849
+ }
3850
+
3851
+ /** Represents a FindManySinceResponse. */
3852
+ class FindManySinceResponse implements IFindManySinceResponse {
3853
+
3854
+ /**
3855
+ * Constructs a new FindManySinceResponse.
3856
+ * @param [properties] Properties to set
3857
+ */
3858
+ constructor(properties?: content.IFindManySinceResponse);
3859
+
3860
+ /** FindManySinceResponse completions. */
3861
+ public completions: content.IUserActivityCompletion[];
3631
3862
 
3632
3863
  /**
3633
3864
  * Creates a new FindManySinceResponse instance using the specified properties.
@@ -5005,11 +5236,11 @@ export namespace content {
5005
5236
  public toJSON(): { [k: string]: any };
5006
5237
  }
5007
5238
 
5008
- /** Represents a UserActivityManager */
5009
- class UserActivityManager extends $protobuf.rpc.Service {
5239
+ /** Represents a UserStatManager */
5240
+ class UserStatManager extends $protobuf.rpc.Service {
5010
5241
 
5011
5242
  /**
5012
- * Constructs a new UserActivityManager service.
5243
+ * Constructs a new UserStatManager service.
5013
5244
  * @param rpcImpl RPC implementation
5014
5245
  * @param [requestDelimited=false] Whether requests are length-delimited
5015
5246
  * @param [responseDelimited=false] Whether responses are length-delimited
@@ -5017,255 +5248,24 @@ export namespace content {
5017
5248
  constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
5018
5249
 
5019
5250
  /**
5020
- * Creates new UserActivityManager service using the specified rpc implementation.
5251
+ * Creates new UserStatManager service using the specified rpc implementation.
5021
5252
  * @param rpcImpl RPC implementation
5022
5253
  * @param [requestDelimited=false] Whether requests are length-delimited
5023
5254
  * @param [responseDelimited=false] Whether responses are length-delimited
5024
5255
  * @returns RPC service. Useful where requests and/or responses are streamed.
5025
5256
  */
5026
- public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): UserActivityManager;
5257
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): UserStatManager;
5027
5258
 
5028
5259
  /**
5029
- * Calls unlockActivity.
5030
- * @param request UnlockActivityRequest message or plain object
5031
- * @param callback Node-style callback called with the error, if any, and UnlockActivityResponse
5260
+ * Calls getStatsForUser.
5261
+ * @param request GetStatsRequest message or plain object
5262
+ * @param callback Node-style callback called with the error, if any, and GetStatsResponse
5032
5263
  */
5033
- public unlockActivity(request: content.IUnlockActivityRequest, callback: content.UserActivityManager.unlockActivityCallback): void;
5264
+ public getStatsForUser(request: content.IGetStatsRequest, callback: content.UserStatManager.getStatsForUserCallback): void;
5034
5265
 
5035
5266
  /**
5036
- * Calls unlockActivity.
5037
- * @param request UnlockActivityRequest message or plain object
5038
- * @returns Promise
5039
- */
5040
- public unlockActivity(request: content.IUnlockActivityRequest): Promise<content.UnlockActivityResponse>;
5041
- }
5042
-
5043
- namespace UserActivityManager {
5044
-
5045
- /**
5046
- * Callback as used by {@link content.UserActivityManager#unlockActivity}.
5047
- * @param error Error, if any
5048
- * @param [response] UnlockActivityResponse
5049
- */
5050
- type unlockActivityCallback = (error: (Error|null), response?: content.UnlockActivityResponse) => void;
5051
- }
5052
-
5053
- /** Properties of an UnlockActivityRequest. */
5054
- interface IUnlockActivityRequest {
5055
-
5056
- /** UnlockActivityRequest activityId */
5057
- activityId?: (number|null);
5058
-
5059
- /** UnlockActivityRequest userId */
5060
- userId?: (string|null);
5061
- }
5062
-
5063
- /** Represents an UnlockActivityRequest. */
5064
- class UnlockActivityRequest implements IUnlockActivityRequest {
5065
-
5066
- /**
5067
- * Constructs a new UnlockActivityRequest.
5068
- * @param [properties] Properties to set
5069
- */
5070
- constructor(properties?: content.IUnlockActivityRequest);
5071
-
5072
- /** UnlockActivityRequest activityId. */
5073
- public activityId: number;
5074
-
5075
- /** UnlockActivityRequest userId. */
5076
- public userId: string;
5077
-
5078
- /**
5079
- * Creates a new UnlockActivityRequest instance using the specified properties.
5080
- * @param [properties] Properties to set
5081
- * @returns UnlockActivityRequest instance
5082
- */
5083
- public static create(properties?: content.IUnlockActivityRequest): content.UnlockActivityRequest;
5084
-
5085
- /**
5086
- * Encodes the specified UnlockActivityRequest message. Does not implicitly {@link content.UnlockActivityRequest.verify|verify} messages.
5087
- * @param message UnlockActivityRequest message or plain object to encode
5088
- * @param [writer] Writer to encode to
5089
- * @returns Writer
5090
- */
5091
- public static encode(message: content.IUnlockActivityRequest, writer?: $protobuf.Writer): $protobuf.Writer;
5092
-
5093
- /**
5094
- * Encodes the specified UnlockActivityRequest message, length delimited. Does not implicitly {@link content.UnlockActivityRequest.verify|verify} messages.
5095
- * @param message UnlockActivityRequest message or plain object to encode
5096
- * @param [writer] Writer to encode to
5097
- * @returns Writer
5098
- */
5099
- public static encodeDelimited(message: content.IUnlockActivityRequest, writer?: $protobuf.Writer): $protobuf.Writer;
5100
-
5101
- /**
5102
- * Decodes an UnlockActivityRequest message from the specified reader or buffer.
5103
- * @param reader Reader or buffer to decode from
5104
- * @param [length] Message length if known beforehand
5105
- * @returns UnlockActivityRequest
5106
- * @throws {Error} If the payload is not a reader or valid buffer
5107
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
5108
- */
5109
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.UnlockActivityRequest;
5110
-
5111
- /**
5112
- * Decodes an UnlockActivityRequest message from the specified reader or buffer, length delimited.
5113
- * @param reader Reader or buffer to decode from
5114
- * @returns UnlockActivityRequest
5115
- * @throws {Error} If the payload is not a reader or valid buffer
5116
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
5117
- */
5118
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.UnlockActivityRequest;
5119
-
5120
- /**
5121
- * Verifies an UnlockActivityRequest message.
5122
- * @param message Plain object to verify
5123
- * @returns `null` if valid, otherwise the reason why it is not
5124
- */
5125
- public static verify(message: { [k: string]: any }): (string|null);
5126
-
5127
- /**
5128
- * Creates an UnlockActivityRequest message from a plain object. Also converts values to their respective internal types.
5129
- * @param object Plain object
5130
- * @returns UnlockActivityRequest
5131
- */
5132
- public static fromObject(object: { [k: string]: any }): content.UnlockActivityRequest;
5133
-
5134
- /**
5135
- * Creates a plain object from an UnlockActivityRequest message. Also converts values to other types if specified.
5136
- * @param message UnlockActivityRequest
5137
- * @param [options] Conversion options
5138
- * @returns Plain object
5139
- */
5140
- public static toObject(message: content.UnlockActivityRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
5141
-
5142
- /**
5143
- * Converts this UnlockActivityRequest to JSON.
5144
- * @returns JSON object
5145
- */
5146
- public toJSON(): { [k: string]: any };
5147
- }
5148
-
5149
- /** Properties of an UnlockActivityResponse. */
5150
- interface IUnlockActivityResponse {
5151
-
5152
- /** UnlockActivityResponse success */
5153
- success?: (boolean|null);
5154
- }
5155
-
5156
- /** Represents an UnlockActivityResponse. */
5157
- class UnlockActivityResponse implements IUnlockActivityResponse {
5158
-
5159
- /**
5160
- * Constructs a new UnlockActivityResponse.
5161
- * @param [properties] Properties to set
5162
- */
5163
- constructor(properties?: content.IUnlockActivityResponse);
5164
-
5165
- /** UnlockActivityResponse success. */
5166
- public success: boolean;
5167
-
5168
- /**
5169
- * Creates a new UnlockActivityResponse instance using the specified properties.
5170
- * @param [properties] Properties to set
5171
- * @returns UnlockActivityResponse instance
5172
- */
5173
- public static create(properties?: content.IUnlockActivityResponse): content.UnlockActivityResponse;
5174
-
5175
- /**
5176
- * Encodes the specified UnlockActivityResponse message. Does not implicitly {@link content.UnlockActivityResponse.verify|verify} messages.
5177
- * @param message UnlockActivityResponse message or plain object to encode
5178
- * @param [writer] Writer to encode to
5179
- * @returns Writer
5180
- */
5181
- public static encode(message: content.IUnlockActivityResponse, writer?: $protobuf.Writer): $protobuf.Writer;
5182
-
5183
- /**
5184
- * Encodes the specified UnlockActivityResponse message, length delimited. Does not implicitly {@link content.UnlockActivityResponse.verify|verify} messages.
5185
- * @param message UnlockActivityResponse message or plain object to encode
5186
- * @param [writer] Writer to encode to
5187
- * @returns Writer
5188
- */
5189
- public static encodeDelimited(message: content.IUnlockActivityResponse, writer?: $protobuf.Writer): $protobuf.Writer;
5190
-
5191
- /**
5192
- * Decodes an UnlockActivityResponse message from the specified reader or buffer.
5193
- * @param reader Reader or buffer to decode from
5194
- * @param [length] Message length if known beforehand
5195
- * @returns UnlockActivityResponse
5196
- * @throws {Error} If the payload is not a reader or valid buffer
5197
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
5198
- */
5199
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.UnlockActivityResponse;
5200
-
5201
- /**
5202
- * Decodes an UnlockActivityResponse message from the specified reader or buffer, length delimited.
5203
- * @param reader Reader or buffer to decode from
5204
- * @returns UnlockActivityResponse
5205
- * @throws {Error} If the payload is not a reader or valid buffer
5206
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
5207
- */
5208
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.UnlockActivityResponse;
5209
-
5210
- /**
5211
- * Verifies an UnlockActivityResponse message.
5212
- * @param message Plain object to verify
5213
- * @returns `null` if valid, otherwise the reason why it is not
5214
- */
5215
- public static verify(message: { [k: string]: any }): (string|null);
5216
-
5217
- /**
5218
- * Creates an UnlockActivityResponse message from a plain object. Also converts values to their respective internal types.
5219
- * @param object Plain object
5220
- * @returns UnlockActivityResponse
5221
- */
5222
- public static fromObject(object: { [k: string]: any }): content.UnlockActivityResponse;
5223
-
5224
- /**
5225
- * Creates a plain object from an UnlockActivityResponse message. Also converts values to other types if specified.
5226
- * @param message UnlockActivityResponse
5227
- * @param [options] Conversion options
5228
- * @returns Plain object
5229
- */
5230
- public static toObject(message: content.UnlockActivityResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
5231
-
5232
- /**
5233
- * Converts this UnlockActivityResponse to JSON.
5234
- * @returns JSON object
5235
- */
5236
- public toJSON(): { [k: string]: any };
5237
- }
5238
-
5239
- /** Represents a UserStatManager */
5240
- class UserStatManager extends $protobuf.rpc.Service {
5241
-
5242
- /**
5243
- * Constructs a new UserStatManager service.
5244
- * @param rpcImpl RPC implementation
5245
- * @param [requestDelimited=false] Whether requests are length-delimited
5246
- * @param [responseDelimited=false] Whether responses are length-delimited
5247
- */
5248
- constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
5249
-
5250
- /**
5251
- * Creates new UserStatManager service using the specified rpc implementation.
5252
- * @param rpcImpl RPC implementation
5253
- * @param [requestDelimited=false] Whether requests are length-delimited
5254
- * @param [responseDelimited=false] Whether responses are length-delimited
5255
- * @returns RPC service. Useful where requests and/or responses are streamed.
5256
- */
5257
- public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): UserStatManager;
5258
-
5259
- /**
5260
- * Calls getStatsForUser.
5261
- * @param request GetStatsRequest message or plain object
5262
- * @param callback Node-style callback called with the error, if any, and GetStatsResponse
5263
- */
5264
- public getStatsForUser(request: content.IGetStatsRequest, callback: content.UserStatManager.getStatsForUserCallback): void;
5265
-
5266
- /**
5267
- * Calls getStatsForUser.
5268
- * @param request GetStatsRequest message or plain object
5267
+ * Calls getStatsForUser.
5268
+ * @param request GetStatsRequest message or plain object
5269
5269
  * @returns Promise
5270
5270
  */
5271
5271
  public getStatsForUser(request: content.IGetStatsRequest): Promise<content.GetStatsResponse>;
@@ -12910,128 +12910,20 @@ export namespace asset {
12910
12910
  /** Namespace userdomain. */
12911
12911
  export namespace userdomain {
12912
12912
 
12913
- /** Namespace roles. */
12914
- namespace roles {
12913
+ /** Namespace users. */
12914
+ namespace users {
12915
12915
 
12916
- /** Properties of a UserRole. */
12917
- interface IUserRole {
12916
+ /** Properties of a User. */
12917
+ interface IUser {
12918
12918
 
12919
- /** UserRole roles */
12920
- roles?: (userdomain.roles.Role[]|null);
12921
- }
12919
+ /** User hsId */
12920
+ hsId?: (string|null);
12922
12921
 
12923
- /** Represents a UserRole. */
12924
- class UserRole implements IUserRole {
12922
+ /** User auth0Id */
12923
+ auth0Id?: (string|null);
12925
12924
 
12926
- /**
12927
- * Constructs a new UserRole.
12928
- * @param [properties] Properties to set
12929
- */
12930
- constructor(properties?: userdomain.roles.IUserRole);
12931
-
12932
- /** UserRole roles. */
12933
- public roles: userdomain.roles.Role[];
12934
-
12935
- /**
12936
- * Creates a new UserRole instance using the specified properties.
12937
- * @param [properties] Properties to set
12938
- * @returns UserRole instance
12939
- */
12940
- public static create(properties?: userdomain.roles.IUserRole): userdomain.roles.UserRole;
12941
-
12942
- /**
12943
- * Encodes the specified UserRole message. Does not implicitly {@link userdomain.roles.UserRole.verify|verify} messages.
12944
- * @param message UserRole message or plain object to encode
12945
- * @param [writer] Writer to encode to
12946
- * @returns Writer
12947
- */
12948
- public static encode(message: userdomain.roles.IUserRole, writer?: $protobuf.Writer): $protobuf.Writer;
12949
-
12950
- /**
12951
- * Encodes the specified UserRole message, length delimited. Does not implicitly {@link userdomain.roles.UserRole.verify|verify} messages.
12952
- * @param message UserRole message or plain object to encode
12953
- * @param [writer] Writer to encode to
12954
- * @returns Writer
12955
- */
12956
- public static encodeDelimited(message: userdomain.roles.IUserRole, writer?: $protobuf.Writer): $protobuf.Writer;
12957
-
12958
- /**
12959
- * Decodes a UserRole message from the specified reader or buffer.
12960
- * @param reader Reader or buffer to decode from
12961
- * @param [length] Message length if known beforehand
12962
- * @returns UserRole
12963
- * @throws {Error} If the payload is not a reader or valid buffer
12964
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
12965
- */
12966
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): userdomain.roles.UserRole;
12967
-
12968
- /**
12969
- * Decodes a UserRole message from the specified reader or buffer, length delimited.
12970
- * @param reader Reader or buffer to decode from
12971
- * @returns UserRole
12972
- * @throws {Error} If the payload is not a reader or valid buffer
12973
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
12974
- */
12975
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): userdomain.roles.UserRole;
12976
-
12977
- /**
12978
- * Verifies a UserRole message.
12979
- * @param message Plain object to verify
12980
- * @returns `null` if valid, otherwise the reason why it is not
12981
- */
12982
- public static verify(message: { [k: string]: any }): (string|null);
12983
-
12984
- /**
12985
- * Creates a UserRole message from a plain object. Also converts values to their respective internal types.
12986
- * @param object Plain object
12987
- * @returns UserRole
12988
- */
12989
- public static fromObject(object: { [k: string]: any }): userdomain.roles.UserRole;
12990
-
12991
- /**
12992
- * Creates a plain object from a UserRole message. Also converts values to other types if specified.
12993
- * @param message UserRole
12994
- * @param [options] Conversion options
12995
- * @returns Plain object
12996
- */
12997
- public static toObject(message: userdomain.roles.UserRole, options?: $protobuf.IConversionOptions): { [k: string]: any };
12998
-
12999
- /**
13000
- * Converts this UserRole to JSON.
13001
- * @returns JSON object
13002
- */
13003
- public toJSON(): { [k: string]: any };
13004
- }
13005
-
13006
- /** Role enum. */
13007
- enum Role {
13008
- UNKNOWN_ROLE = 0,
13009
- ROLEADMIN = 1,
13010
- NORMALUSER = 2,
13011
- CONTENTADMIN = 3,
13012
- USERADMIN = 4,
13013
- CORPORATEADMIN = 5,
13014
- SPECIALADMIN = 6,
13015
- HEALTH_ADMIN = 7,
13016
- HEALTH_COACH = 8,
13017
- HEALTH_PATIENT = 9
13018
- }
13019
- }
13020
-
13021
- /** Namespace users. */
13022
- namespace users {
13023
-
13024
- /** Properties of a User. */
13025
- interface IUser {
13026
-
13027
- /** User hsId */
13028
- hsId?: (string|null);
13029
-
13030
- /** User auth0Id */
13031
- auth0Id?: (string|null);
13032
-
13033
- /** User firstName */
13034
- firstName?: (string|null);
12925
+ /** User firstName */
12926
+ firstName?: (string|null);
13035
12927
 
13036
12928
  /** User lastName */
13037
12929
  lastName?: (string|null);
@@ -13246,6 +13138,114 @@ export namespace userdomain {
13246
13138
  INACTIVE = 1
13247
13139
  }
13248
13140
  }
13141
+
13142
+ /** Namespace roles. */
13143
+ namespace roles {
13144
+
13145
+ /** Properties of a UserRole. */
13146
+ interface IUserRole {
13147
+
13148
+ /** UserRole roles */
13149
+ roles?: (userdomain.roles.Role[]|null);
13150
+ }
13151
+
13152
+ /** Represents a UserRole. */
13153
+ class UserRole implements IUserRole {
13154
+
13155
+ /**
13156
+ * Constructs a new UserRole.
13157
+ * @param [properties] Properties to set
13158
+ */
13159
+ constructor(properties?: userdomain.roles.IUserRole);
13160
+
13161
+ /** UserRole roles. */
13162
+ public roles: userdomain.roles.Role[];
13163
+
13164
+ /**
13165
+ * Creates a new UserRole instance using the specified properties.
13166
+ * @param [properties] Properties to set
13167
+ * @returns UserRole instance
13168
+ */
13169
+ public static create(properties?: userdomain.roles.IUserRole): userdomain.roles.UserRole;
13170
+
13171
+ /**
13172
+ * Encodes the specified UserRole message. Does not implicitly {@link userdomain.roles.UserRole.verify|verify} messages.
13173
+ * @param message UserRole message or plain object to encode
13174
+ * @param [writer] Writer to encode to
13175
+ * @returns Writer
13176
+ */
13177
+ public static encode(message: userdomain.roles.IUserRole, writer?: $protobuf.Writer): $protobuf.Writer;
13178
+
13179
+ /**
13180
+ * Encodes the specified UserRole message, length delimited. Does not implicitly {@link userdomain.roles.UserRole.verify|verify} messages.
13181
+ * @param message UserRole message or plain object to encode
13182
+ * @param [writer] Writer to encode to
13183
+ * @returns Writer
13184
+ */
13185
+ public static encodeDelimited(message: userdomain.roles.IUserRole, writer?: $protobuf.Writer): $protobuf.Writer;
13186
+
13187
+ /**
13188
+ * Decodes a UserRole message from the specified reader or buffer.
13189
+ * @param reader Reader or buffer to decode from
13190
+ * @param [length] Message length if known beforehand
13191
+ * @returns UserRole
13192
+ * @throws {Error} If the payload is not a reader or valid buffer
13193
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
13194
+ */
13195
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): userdomain.roles.UserRole;
13196
+
13197
+ /**
13198
+ * Decodes a UserRole message from the specified reader or buffer, length delimited.
13199
+ * @param reader Reader or buffer to decode from
13200
+ * @returns UserRole
13201
+ * @throws {Error} If the payload is not a reader or valid buffer
13202
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
13203
+ */
13204
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): userdomain.roles.UserRole;
13205
+
13206
+ /**
13207
+ * Verifies a UserRole message.
13208
+ * @param message Plain object to verify
13209
+ * @returns `null` if valid, otherwise the reason why it is not
13210
+ */
13211
+ public static verify(message: { [k: string]: any }): (string|null);
13212
+
13213
+ /**
13214
+ * Creates a UserRole message from a plain object. Also converts values to their respective internal types.
13215
+ * @param object Plain object
13216
+ * @returns UserRole
13217
+ */
13218
+ public static fromObject(object: { [k: string]: any }): userdomain.roles.UserRole;
13219
+
13220
+ /**
13221
+ * Creates a plain object from a UserRole message. Also converts values to other types if specified.
13222
+ * @param message UserRole
13223
+ * @param [options] Conversion options
13224
+ * @returns Plain object
13225
+ */
13226
+ public static toObject(message: userdomain.roles.UserRole, options?: $protobuf.IConversionOptions): { [k: string]: any };
13227
+
13228
+ /**
13229
+ * Converts this UserRole to JSON.
13230
+ * @returns JSON object
13231
+ */
13232
+ public toJSON(): { [k: string]: any };
13233
+ }
13234
+
13235
+ /** Role enum. */
13236
+ enum Role {
13237
+ UNKNOWN_ROLE = 0,
13238
+ ROLEADMIN = 1,
13239
+ NORMALUSER = 2,
13240
+ CONTENTADMIN = 3,
13241
+ USERADMIN = 4,
13242
+ CORPORATEADMIN = 5,
13243
+ SPECIALADMIN = 6,
13244
+ HEALTH_ADMIN = 7,
13245
+ HEALTH_COACH = 8,
13246
+ HEALTH_PATIENT = 9
13247
+ }
13248
+ }
13249
13249
  }
13250
13250
 
13251
13251
  /** Namespace scim. */
@@ -22977,147 +22977,45 @@ export class ContentfulContentModelDeleted implements IContentfulContentModelDel
22977
22977
  public toJSON(): { [k: string]: any };
22978
22978
  }
22979
22979
 
22980
- /** Properties of a UserRoleUpdated. */
22981
- export interface IUserRoleUpdated {
22982
-
22983
- /** UserRoleUpdated hsId */
22984
- hsId?: (string|null);
22980
+ /** Properties of a UserDomainCreated. */
22981
+ export interface IUserDomainCreated {
22985
22982
 
22986
- /** UserRoleUpdated userRole */
22987
- userRole?: (userdomain.roles.IUserRole|null);
22983
+ /** UserDomainCreated user */
22984
+ user?: (userdomain.users.IUser|null);
22988
22985
 
22989
- /** UserRoleUpdated updatedAt */
22990
- updatedAt?: (number|Long|null);
22986
+ /** UserDomainCreated createdAt */
22987
+ createdAt?: (number|Long|null);
22991
22988
  }
22992
22989
 
22993
- /** Represents a UserRoleUpdated. */
22994
- export class UserRoleUpdated implements IUserRoleUpdated {
22990
+ /** Represents a UserDomainCreated. */
22991
+ export class UserDomainCreated implements IUserDomainCreated {
22995
22992
 
22996
22993
  /**
22997
- * Constructs a new UserRoleUpdated.
22994
+ * Constructs a new UserDomainCreated.
22998
22995
  * @param [properties] Properties to set
22999
22996
  */
23000
- constructor(properties?: IUserRoleUpdated);
23001
-
23002
- /** UserRoleUpdated hsId. */
23003
- public hsId: string;
22997
+ constructor(properties?: IUserDomainCreated);
23004
22998
 
23005
- /** UserRoleUpdated userRole. */
23006
- public userRole?: (userdomain.roles.IUserRole|null);
22999
+ /** UserDomainCreated user. */
23000
+ public user?: (userdomain.users.IUser|null);
23007
23001
 
23008
- /** UserRoleUpdated updatedAt. */
23009
- public updatedAt: (number|Long);
23002
+ /** UserDomainCreated createdAt. */
23003
+ public createdAt: (number|Long);
23010
23004
 
23011
23005
  /**
23012
- * Creates a new UserRoleUpdated instance using the specified properties.
23006
+ * Creates a new UserDomainCreated instance using the specified properties.
23013
23007
  * @param [properties] Properties to set
23014
- * @returns UserRoleUpdated instance
23008
+ * @returns UserDomainCreated instance
23015
23009
  */
23016
- public static create(properties?: IUserRoleUpdated): UserRoleUpdated;
23010
+ public static create(properties?: IUserDomainCreated): UserDomainCreated;
23017
23011
 
23018
23012
  /**
23019
- * Encodes the specified UserRoleUpdated message. Does not implicitly {@link UserRoleUpdated.verify|verify} messages.
23020
- * @param message UserRoleUpdated message or plain object to encode
23013
+ * Encodes the specified UserDomainCreated message. Does not implicitly {@link UserDomainCreated.verify|verify} messages.
23014
+ * @param message UserDomainCreated message or plain object to encode
23021
23015
  * @param [writer] Writer to encode to
23022
23016
  * @returns Writer
23023
23017
  */
23024
- public static encode(message: IUserRoleUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
23025
-
23026
- /**
23027
- * Encodes the specified UserRoleUpdated message, length delimited. Does not implicitly {@link UserRoleUpdated.verify|verify} messages.
23028
- * @param message UserRoleUpdated message or plain object to encode
23029
- * @param [writer] Writer to encode to
23030
- * @returns Writer
23031
- */
23032
- public static encodeDelimited(message: IUserRoleUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
23033
-
23034
- /**
23035
- * Decodes a UserRoleUpdated message from the specified reader or buffer.
23036
- * @param reader Reader or buffer to decode from
23037
- * @param [length] Message length if known beforehand
23038
- * @returns UserRoleUpdated
23039
- * @throws {Error} If the payload is not a reader or valid buffer
23040
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
23041
- */
23042
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserRoleUpdated;
23043
-
23044
- /**
23045
- * Decodes a UserRoleUpdated message from the specified reader or buffer, length delimited.
23046
- * @param reader Reader or buffer to decode from
23047
- * @returns UserRoleUpdated
23048
- * @throws {Error} If the payload is not a reader or valid buffer
23049
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
23050
- */
23051
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserRoleUpdated;
23052
-
23053
- /**
23054
- * Verifies a UserRoleUpdated message.
23055
- * @param message Plain object to verify
23056
- * @returns `null` if valid, otherwise the reason why it is not
23057
- */
23058
- public static verify(message: { [k: string]: any }): (string|null);
23059
-
23060
- /**
23061
- * Creates a UserRoleUpdated message from a plain object. Also converts values to their respective internal types.
23062
- * @param object Plain object
23063
- * @returns UserRoleUpdated
23064
- */
23065
- public static fromObject(object: { [k: string]: any }): UserRoleUpdated;
23066
-
23067
- /**
23068
- * Creates a plain object from a UserRoleUpdated message. Also converts values to other types if specified.
23069
- * @param message UserRoleUpdated
23070
- * @param [options] Conversion options
23071
- * @returns Plain object
23072
- */
23073
- public static toObject(message: UserRoleUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
23074
-
23075
- /**
23076
- * Converts this UserRoleUpdated to JSON.
23077
- * @returns JSON object
23078
- */
23079
- public toJSON(): { [k: string]: any };
23080
- }
23081
-
23082
- /** Properties of a UserDomainCreated. */
23083
- export interface IUserDomainCreated {
23084
-
23085
- /** UserDomainCreated user */
23086
- user?: (userdomain.users.IUser|null);
23087
-
23088
- /** UserDomainCreated createdAt */
23089
- createdAt?: (number|Long|null);
23090
- }
23091
-
23092
- /** Represents a UserDomainCreated. */
23093
- export class UserDomainCreated implements IUserDomainCreated {
23094
-
23095
- /**
23096
- * Constructs a new UserDomainCreated.
23097
- * @param [properties] Properties to set
23098
- */
23099
- constructor(properties?: IUserDomainCreated);
23100
-
23101
- /** UserDomainCreated user. */
23102
- public user?: (userdomain.users.IUser|null);
23103
-
23104
- /** UserDomainCreated createdAt. */
23105
- public createdAt: (number|Long);
23106
-
23107
- /**
23108
- * Creates a new UserDomainCreated instance using the specified properties.
23109
- * @param [properties] Properties to set
23110
- * @returns UserDomainCreated instance
23111
- */
23112
- public static create(properties?: IUserDomainCreated): UserDomainCreated;
23113
-
23114
- /**
23115
- * Encodes the specified UserDomainCreated message. Does not implicitly {@link UserDomainCreated.verify|verify} messages.
23116
- * @param message UserDomainCreated message or plain object to encode
23117
- * @param [writer] Writer to encode to
23118
- * @returns Writer
23119
- */
23120
- public static encode(message: IUserDomainCreated, writer?: $protobuf.Writer): $protobuf.Writer;
23018
+ public static encode(message: IUserDomainCreated, writer?: $protobuf.Writer): $protobuf.Writer;
23121
23019
 
23122
23020
  /**
23123
23021
  * Encodes the specified UserDomainCreated message, length delimited. Does not implicitly {@link UserDomainCreated.verify|verify} messages.
@@ -23787,421 +23685,205 @@ export class UserDomainIsAnonymousUserUpdated implements IUserDomainIsAnonymousU
23787
23685
  public toJSON(): { [k: string]: any };
23788
23686
  }
23789
23687
 
23790
- /** Properties of a UserPasswordResetCompleted. */
23791
- export interface IUserPasswordResetCompleted {
23688
+ /** Properties of a UserRoleUpdated. */
23689
+ export interface IUserRoleUpdated {
23792
23690
 
23793
- /** UserPasswordResetCompleted hsId */
23691
+ /** UserRoleUpdated hsId */
23794
23692
  hsId?: (string|null);
23795
23693
 
23796
- /** UserPasswordResetCompleted email */
23797
- email?: (string|null);
23694
+ /** UserRoleUpdated userRole */
23695
+ userRole?: (userdomain.roles.IUserRole|null);
23798
23696
 
23799
- /** UserPasswordResetCompleted timestampMillis */
23800
- timestampMillis?: (number|Long|null);
23697
+ /** UserRoleUpdated updatedAt */
23698
+ updatedAt?: (number|Long|null);
23801
23699
  }
23802
23700
 
23803
- /** Represents a UserPasswordResetCompleted. */
23804
- export class UserPasswordResetCompleted implements IUserPasswordResetCompleted {
23701
+ /** Represents a UserRoleUpdated. */
23702
+ export class UserRoleUpdated implements IUserRoleUpdated {
23805
23703
 
23806
23704
  /**
23807
- * Constructs a new UserPasswordResetCompleted.
23705
+ * Constructs a new UserRoleUpdated.
23808
23706
  * @param [properties] Properties to set
23809
23707
  */
23810
- constructor(properties?: IUserPasswordResetCompleted);
23708
+ constructor(properties?: IUserRoleUpdated);
23811
23709
 
23812
- /** UserPasswordResetCompleted hsId. */
23710
+ /** UserRoleUpdated hsId. */
23813
23711
  public hsId: string;
23814
23712
 
23815
- /** UserPasswordResetCompleted email. */
23816
- public email: string;
23713
+ /** UserRoleUpdated userRole. */
23714
+ public userRole?: (userdomain.roles.IUserRole|null);
23817
23715
 
23818
- /** UserPasswordResetCompleted timestampMillis. */
23819
- public timestampMillis: (number|Long);
23716
+ /** UserRoleUpdated updatedAt. */
23717
+ public updatedAt: (number|Long);
23820
23718
 
23821
23719
  /**
23822
- * Creates a new UserPasswordResetCompleted instance using the specified properties.
23720
+ * Creates a new UserRoleUpdated instance using the specified properties.
23823
23721
  * @param [properties] Properties to set
23824
- * @returns UserPasswordResetCompleted instance
23722
+ * @returns UserRoleUpdated instance
23825
23723
  */
23826
- public static create(properties?: IUserPasswordResetCompleted): UserPasswordResetCompleted;
23724
+ public static create(properties?: IUserRoleUpdated): UserRoleUpdated;
23827
23725
 
23828
23726
  /**
23829
- * Encodes the specified UserPasswordResetCompleted message. Does not implicitly {@link UserPasswordResetCompleted.verify|verify} messages.
23830
- * @param message UserPasswordResetCompleted message or plain object to encode
23727
+ * Encodes the specified UserRoleUpdated message. Does not implicitly {@link UserRoleUpdated.verify|verify} messages.
23728
+ * @param message UserRoleUpdated message or plain object to encode
23831
23729
  * @param [writer] Writer to encode to
23832
23730
  * @returns Writer
23833
23731
  */
23834
- public static encode(message: IUserPasswordResetCompleted, writer?: $protobuf.Writer): $protobuf.Writer;
23732
+ public static encode(message: IUserRoleUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
23835
23733
 
23836
23734
  /**
23837
- * Encodes the specified UserPasswordResetCompleted message, length delimited. Does not implicitly {@link UserPasswordResetCompleted.verify|verify} messages.
23838
- * @param message UserPasswordResetCompleted message or plain object to encode
23735
+ * Encodes the specified UserRoleUpdated message, length delimited. Does not implicitly {@link UserRoleUpdated.verify|verify} messages.
23736
+ * @param message UserRoleUpdated message or plain object to encode
23839
23737
  * @param [writer] Writer to encode to
23840
23738
  * @returns Writer
23841
23739
  */
23842
- public static encodeDelimited(message: IUserPasswordResetCompleted, writer?: $protobuf.Writer): $protobuf.Writer;
23740
+ public static encodeDelimited(message: IUserRoleUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
23843
23741
 
23844
23742
  /**
23845
- * Decodes a UserPasswordResetCompleted message from the specified reader or buffer.
23743
+ * Decodes a UserRoleUpdated message from the specified reader or buffer.
23846
23744
  * @param reader Reader or buffer to decode from
23847
23745
  * @param [length] Message length if known beforehand
23848
- * @returns UserPasswordResetCompleted
23746
+ * @returns UserRoleUpdated
23849
23747
  * @throws {Error} If the payload is not a reader or valid buffer
23850
23748
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
23851
23749
  */
23852
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserPasswordResetCompleted;
23750
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserRoleUpdated;
23853
23751
 
23854
23752
  /**
23855
- * Decodes a UserPasswordResetCompleted message from the specified reader or buffer, length delimited.
23753
+ * Decodes a UserRoleUpdated message from the specified reader or buffer, length delimited.
23856
23754
  * @param reader Reader or buffer to decode from
23857
- * @returns UserPasswordResetCompleted
23755
+ * @returns UserRoleUpdated
23858
23756
  * @throws {Error} If the payload is not a reader or valid buffer
23859
23757
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
23860
23758
  */
23861
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserPasswordResetCompleted;
23759
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserRoleUpdated;
23862
23760
 
23863
23761
  /**
23864
- * Verifies a UserPasswordResetCompleted message.
23762
+ * Verifies a UserRoleUpdated message.
23865
23763
  * @param message Plain object to verify
23866
23764
  * @returns `null` if valid, otherwise the reason why it is not
23867
23765
  */
23868
23766
  public static verify(message: { [k: string]: any }): (string|null);
23869
23767
 
23870
23768
  /**
23871
- * Creates a UserPasswordResetCompleted message from a plain object. Also converts values to their respective internal types.
23769
+ * Creates a UserRoleUpdated message from a plain object. Also converts values to their respective internal types.
23872
23770
  * @param object Plain object
23873
- * @returns UserPasswordResetCompleted
23771
+ * @returns UserRoleUpdated
23874
23772
  */
23875
- public static fromObject(object: { [k: string]: any }): UserPasswordResetCompleted;
23773
+ public static fromObject(object: { [k: string]: any }): UserRoleUpdated;
23876
23774
 
23877
23775
  /**
23878
- * Creates a plain object from a UserPasswordResetCompleted message. Also converts values to other types if specified.
23879
- * @param message UserPasswordResetCompleted
23776
+ * Creates a plain object from a UserRoleUpdated message. Also converts values to other types if specified.
23777
+ * @param message UserRoleUpdated
23880
23778
  * @param [options] Conversion options
23881
23779
  * @returns Plain object
23882
23780
  */
23883
- public static toObject(message: UserPasswordResetCompleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
23781
+ public static toObject(message: UserRoleUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
23884
23782
 
23885
23783
  /**
23886
- * Converts this UserPasswordResetCompleted to JSON.
23784
+ * Converts this UserRoleUpdated to JSON.
23887
23785
  * @returns JSON object
23888
23786
  */
23889
23787
  public toJSON(): { [k: string]: any };
23890
23788
  }
23891
23789
 
23892
- /** Properties of an ActivityGroupCreated. */
23893
- export interface IActivityGroupCreated {
23894
-
23895
- /** ActivityGroupCreated slug */
23896
- slug?: (string|null);
23790
+ /** Properties of a UserPasswordResetCompleted. */
23791
+ export interface IUserPasswordResetCompleted {
23897
23792
 
23898
- /** ActivityGroupCreated contentType */
23899
- contentType?: (string|null);
23793
+ /** UserPasswordResetCompleted hsId */
23794
+ hsId?: (string|null);
23900
23795
 
23901
- /** ActivityGroupCreated accessGroup */
23902
- accessGroup?: (contentful.ISlugReference[]|null);
23796
+ /** UserPasswordResetCompleted email */
23797
+ email?: (string|null);
23903
23798
 
23904
- /** ActivityGroupCreated createdAt */
23905
- createdAt?: (number|Long|null);
23799
+ /** UserPasswordResetCompleted timestampMillis */
23800
+ timestampMillis?: (number|Long|null);
23906
23801
  }
23907
23802
 
23908
- /** Represents an ActivityGroupCreated. */
23909
- export class ActivityGroupCreated implements IActivityGroupCreated {
23803
+ /** Represents a UserPasswordResetCompleted. */
23804
+ export class UserPasswordResetCompleted implements IUserPasswordResetCompleted {
23910
23805
 
23911
23806
  /**
23912
- * Constructs a new ActivityGroupCreated.
23807
+ * Constructs a new UserPasswordResetCompleted.
23913
23808
  * @param [properties] Properties to set
23914
23809
  */
23915
- constructor(properties?: IActivityGroupCreated);
23916
-
23917
- /** ActivityGroupCreated slug. */
23918
- public slug: string;
23810
+ constructor(properties?: IUserPasswordResetCompleted);
23919
23811
 
23920
- /** ActivityGroupCreated contentType. */
23921
- public contentType: string;
23812
+ /** UserPasswordResetCompleted hsId. */
23813
+ public hsId: string;
23922
23814
 
23923
- /** ActivityGroupCreated accessGroup. */
23924
- public accessGroup: contentful.ISlugReference[];
23815
+ /** UserPasswordResetCompleted email. */
23816
+ public email: string;
23925
23817
 
23926
- /** ActivityGroupCreated createdAt. */
23927
- public createdAt: (number|Long);
23818
+ /** UserPasswordResetCompleted timestampMillis. */
23819
+ public timestampMillis: (number|Long);
23928
23820
 
23929
23821
  /**
23930
- * Creates a new ActivityGroupCreated instance using the specified properties.
23822
+ * Creates a new UserPasswordResetCompleted instance using the specified properties.
23931
23823
  * @param [properties] Properties to set
23932
- * @returns ActivityGroupCreated instance
23824
+ * @returns UserPasswordResetCompleted instance
23933
23825
  */
23934
- public static create(properties?: IActivityGroupCreated): ActivityGroupCreated;
23826
+ public static create(properties?: IUserPasswordResetCompleted): UserPasswordResetCompleted;
23935
23827
 
23936
23828
  /**
23937
- * Encodes the specified ActivityGroupCreated message. Does not implicitly {@link ActivityGroupCreated.verify|verify} messages.
23938
- * @param message ActivityGroupCreated message or plain object to encode
23829
+ * Encodes the specified UserPasswordResetCompleted message. Does not implicitly {@link UserPasswordResetCompleted.verify|verify} messages.
23830
+ * @param message UserPasswordResetCompleted message or plain object to encode
23939
23831
  * @param [writer] Writer to encode to
23940
23832
  * @returns Writer
23941
23833
  */
23942
- public static encode(message: IActivityGroupCreated, writer?: $protobuf.Writer): $protobuf.Writer;
23834
+ public static encode(message: IUserPasswordResetCompleted, writer?: $protobuf.Writer): $protobuf.Writer;
23943
23835
 
23944
23836
  /**
23945
- * Encodes the specified ActivityGroupCreated message, length delimited. Does not implicitly {@link ActivityGroupCreated.verify|verify} messages.
23946
- * @param message ActivityGroupCreated message or plain object to encode
23837
+ * Encodes the specified UserPasswordResetCompleted message, length delimited. Does not implicitly {@link UserPasswordResetCompleted.verify|verify} messages.
23838
+ * @param message UserPasswordResetCompleted message or plain object to encode
23947
23839
  * @param [writer] Writer to encode to
23948
23840
  * @returns Writer
23949
23841
  */
23950
- public static encodeDelimited(message: IActivityGroupCreated, writer?: $protobuf.Writer): $protobuf.Writer;
23842
+ public static encodeDelimited(message: IUserPasswordResetCompleted, writer?: $protobuf.Writer): $protobuf.Writer;
23951
23843
 
23952
23844
  /**
23953
- * Decodes an ActivityGroupCreated message from the specified reader or buffer.
23845
+ * Decodes a UserPasswordResetCompleted message from the specified reader or buffer.
23954
23846
  * @param reader Reader or buffer to decode from
23955
23847
  * @param [length] Message length if known beforehand
23956
- * @returns ActivityGroupCreated
23848
+ * @returns UserPasswordResetCompleted
23957
23849
  * @throws {Error} If the payload is not a reader or valid buffer
23958
23850
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
23959
23851
  */
23960
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ActivityGroupCreated;
23852
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserPasswordResetCompleted;
23961
23853
 
23962
23854
  /**
23963
- * Decodes an ActivityGroupCreated message from the specified reader or buffer, length delimited.
23855
+ * Decodes a UserPasswordResetCompleted message from the specified reader or buffer, length delimited.
23964
23856
  * @param reader Reader or buffer to decode from
23965
- * @returns ActivityGroupCreated
23857
+ * @returns UserPasswordResetCompleted
23966
23858
  * @throws {Error} If the payload is not a reader or valid buffer
23967
23859
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
23968
23860
  */
23969
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ActivityGroupCreated;
23861
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserPasswordResetCompleted;
23970
23862
 
23971
23863
  /**
23972
- * Verifies an ActivityGroupCreated message.
23864
+ * Verifies a UserPasswordResetCompleted message.
23973
23865
  * @param message Plain object to verify
23974
23866
  * @returns `null` if valid, otherwise the reason why it is not
23975
23867
  */
23976
23868
  public static verify(message: { [k: string]: any }): (string|null);
23977
23869
 
23978
23870
  /**
23979
- * Creates an ActivityGroupCreated message from a plain object. Also converts values to their respective internal types.
23871
+ * Creates a UserPasswordResetCompleted message from a plain object. Also converts values to their respective internal types.
23980
23872
  * @param object Plain object
23981
- * @returns ActivityGroupCreated
23873
+ * @returns UserPasswordResetCompleted
23982
23874
  */
23983
- public static fromObject(object: { [k: string]: any }): ActivityGroupCreated;
23875
+ public static fromObject(object: { [k: string]: any }): UserPasswordResetCompleted;
23984
23876
 
23985
23877
  /**
23986
- * Creates a plain object from an ActivityGroupCreated message. Also converts values to other types if specified.
23987
- * @param message ActivityGroupCreated
23988
- * @param [options] Conversion options
23989
- * @returns Plain object
23990
- */
23991
- public static toObject(message: ActivityGroupCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
23992
-
23993
- /**
23994
- * Converts this ActivityGroupCreated to JSON.
23995
- * @returns JSON object
23996
- */
23997
- public toJSON(): { [k: string]: any };
23998
- }
23999
-
24000
- /** Properties of an ActivityGroupUpdated. */
24001
- export interface IActivityGroupUpdated {
24002
-
24003
- /** ActivityGroupUpdated slug */
24004
- slug?: (string|null);
24005
-
24006
- /** ActivityGroupUpdated contentType */
24007
- contentType?: (string|null);
24008
-
24009
- /** ActivityGroupUpdated accessGroup */
24010
- accessGroup?: (contentful.ISlugReference[]|null);
24011
-
24012
- /** ActivityGroupUpdated updatedAt */
24013
- updatedAt?: (number|Long|null);
24014
- }
24015
-
24016
- /** Represents an ActivityGroupUpdated. */
24017
- export class ActivityGroupUpdated implements IActivityGroupUpdated {
24018
-
24019
- /**
24020
- * Constructs a new ActivityGroupUpdated.
24021
- * @param [properties] Properties to set
24022
- */
24023
- constructor(properties?: IActivityGroupUpdated);
24024
-
24025
- /** ActivityGroupUpdated slug. */
24026
- public slug: string;
24027
-
24028
- /** ActivityGroupUpdated contentType. */
24029
- public contentType: string;
24030
-
24031
- /** ActivityGroupUpdated accessGroup. */
24032
- public accessGroup: contentful.ISlugReference[];
24033
-
24034
- /** ActivityGroupUpdated updatedAt. */
24035
- public updatedAt: (number|Long);
24036
-
24037
- /**
24038
- * Creates a new ActivityGroupUpdated instance using the specified properties.
24039
- * @param [properties] Properties to set
24040
- * @returns ActivityGroupUpdated instance
24041
- */
24042
- public static create(properties?: IActivityGroupUpdated): ActivityGroupUpdated;
24043
-
24044
- /**
24045
- * Encodes the specified ActivityGroupUpdated message. Does not implicitly {@link ActivityGroupUpdated.verify|verify} messages.
24046
- * @param message ActivityGroupUpdated message or plain object to encode
24047
- * @param [writer] Writer to encode to
24048
- * @returns Writer
24049
- */
24050
- public static encode(message: IActivityGroupUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
24051
-
24052
- /**
24053
- * Encodes the specified ActivityGroupUpdated message, length delimited. Does not implicitly {@link ActivityGroupUpdated.verify|verify} messages.
24054
- * @param message ActivityGroupUpdated message or plain object to encode
24055
- * @param [writer] Writer to encode to
24056
- * @returns Writer
24057
- */
24058
- public static encodeDelimited(message: IActivityGroupUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
24059
-
24060
- /**
24061
- * Decodes an ActivityGroupUpdated message from the specified reader or buffer.
24062
- * @param reader Reader or buffer to decode from
24063
- * @param [length] Message length if known beforehand
24064
- * @returns ActivityGroupUpdated
24065
- * @throws {Error} If the payload is not a reader or valid buffer
24066
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
24067
- */
24068
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ActivityGroupUpdated;
24069
-
24070
- /**
24071
- * Decodes an ActivityGroupUpdated message from the specified reader or buffer, length delimited.
24072
- * @param reader Reader or buffer to decode from
24073
- * @returns ActivityGroupUpdated
24074
- * @throws {Error} If the payload is not a reader or valid buffer
24075
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
24076
- */
24077
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ActivityGroupUpdated;
24078
-
24079
- /**
24080
- * Verifies an ActivityGroupUpdated message.
24081
- * @param message Plain object to verify
24082
- * @returns `null` if valid, otherwise the reason why it is not
24083
- */
24084
- public static verify(message: { [k: string]: any }): (string|null);
24085
-
24086
- /**
24087
- * Creates an ActivityGroupUpdated message from a plain object. Also converts values to their respective internal types.
24088
- * @param object Plain object
24089
- * @returns ActivityGroupUpdated
24090
- */
24091
- public static fromObject(object: { [k: string]: any }): ActivityGroupUpdated;
24092
-
24093
- /**
24094
- * Creates a plain object from an ActivityGroupUpdated message. Also converts values to other types if specified.
24095
- * @param message ActivityGroupUpdated
24096
- * @param [options] Conversion options
24097
- * @returns Plain object
24098
- */
24099
- public static toObject(message: ActivityGroupUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
24100
-
24101
- /**
24102
- * Converts this ActivityGroupUpdated to JSON.
24103
- * @returns JSON object
24104
- */
24105
- public toJSON(): { [k: string]: any };
24106
- }
24107
-
24108
- /** Properties of an ActivityGroupDeleted. */
24109
- export interface IActivityGroupDeleted {
24110
-
24111
- /** ActivityGroupDeleted slug */
24112
- slug?: (string|null);
24113
-
24114
- /** ActivityGroupDeleted contentType */
24115
- contentType?: (string|null);
24116
-
24117
- /** ActivityGroupDeleted deletedAt */
24118
- deletedAt?: (number|Long|null);
24119
- }
24120
-
24121
- /** Represents an ActivityGroupDeleted. */
24122
- export class ActivityGroupDeleted implements IActivityGroupDeleted {
24123
-
24124
- /**
24125
- * Constructs a new ActivityGroupDeleted.
24126
- * @param [properties] Properties to set
24127
- */
24128
- constructor(properties?: IActivityGroupDeleted);
24129
-
24130
- /** ActivityGroupDeleted slug. */
24131
- public slug: string;
24132
-
24133
- /** ActivityGroupDeleted contentType. */
24134
- public contentType: string;
24135
-
24136
- /** ActivityGroupDeleted deletedAt. */
24137
- public deletedAt: (number|Long);
24138
-
24139
- /**
24140
- * Creates a new ActivityGroupDeleted instance using the specified properties.
24141
- * @param [properties] Properties to set
24142
- * @returns ActivityGroupDeleted instance
24143
- */
24144
- public static create(properties?: IActivityGroupDeleted): ActivityGroupDeleted;
24145
-
24146
- /**
24147
- * Encodes the specified ActivityGroupDeleted message. Does not implicitly {@link ActivityGroupDeleted.verify|verify} messages.
24148
- * @param message ActivityGroupDeleted message or plain object to encode
24149
- * @param [writer] Writer to encode to
24150
- * @returns Writer
24151
- */
24152
- public static encode(message: IActivityGroupDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
24153
-
24154
- /**
24155
- * Encodes the specified ActivityGroupDeleted message, length delimited. Does not implicitly {@link ActivityGroupDeleted.verify|verify} messages.
24156
- * @param message ActivityGroupDeleted message or plain object to encode
24157
- * @param [writer] Writer to encode to
24158
- * @returns Writer
24159
- */
24160
- public static encodeDelimited(message: IActivityGroupDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
24161
-
24162
- /**
24163
- * Decodes an ActivityGroupDeleted message from the specified reader or buffer.
24164
- * @param reader Reader or buffer to decode from
24165
- * @param [length] Message length if known beforehand
24166
- * @returns ActivityGroupDeleted
24167
- * @throws {Error} If the payload is not a reader or valid buffer
24168
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
24169
- */
24170
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ActivityGroupDeleted;
24171
-
24172
- /**
24173
- * Decodes an ActivityGroupDeleted message from the specified reader or buffer, length delimited.
24174
- * @param reader Reader or buffer to decode from
24175
- * @returns ActivityGroupDeleted
24176
- * @throws {Error} If the payload is not a reader or valid buffer
24177
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
24178
- */
24179
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ActivityGroupDeleted;
24180
-
24181
- /**
24182
- * Verifies an ActivityGroupDeleted message.
24183
- * @param message Plain object to verify
24184
- * @returns `null` if valid, otherwise the reason why it is not
24185
- */
24186
- public static verify(message: { [k: string]: any }): (string|null);
24187
-
24188
- /**
24189
- * Creates an ActivityGroupDeleted message from a plain object. Also converts values to their respective internal types.
24190
- * @param object Plain object
24191
- * @returns ActivityGroupDeleted
24192
- */
24193
- public static fromObject(object: { [k: string]: any }): ActivityGroupDeleted;
24194
-
24195
- /**
24196
- * Creates a plain object from an ActivityGroupDeleted message. Also converts values to other types if specified.
24197
- * @param message ActivityGroupDeleted
23878
+ * Creates a plain object from a UserPasswordResetCompleted message. Also converts values to other types if specified.
23879
+ * @param message UserPasswordResetCompleted
24198
23880
  * @param [options] Conversion options
24199
23881
  * @returns Plain object
24200
23882
  */
24201
- public static toObject(message: ActivityGroupDeleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
23883
+ public static toObject(message: UserPasswordResetCompleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
24202
23884
 
24203
23885
  /**
24204
- * Converts this ActivityGroupDeleted to JSON.
23886
+ * Converts this UserPasswordResetCompleted to JSON.
24205
23887
  * @returns JSON object
24206
23888
  */
24207
23889
  public toJSON(): { [k: string]: any };
@@ -24753,6 +24435,324 @@ export class ActivityDeleted implements IActivityDeleted {
24753
24435
  public toJSON(): { [k: string]: any };
24754
24436
  }
24755
24437
 
24438
+ /** Properties of an ActivityGroupCreated. */
24439
+ export interface IActivityGroupCreated {
24440
+
24441
+ /** ActivityGroupCreated slug */
24442
+ slug?: (string|null);
24443
+
24444
+ /** ActivityGroupCreated contentType */
24445
+ contentType?: (string|null);
24446
+
24447
+ /** ActivityGroupCreated accessGroup */
24448
+ accessGroup?: (contentful.ISlugReference[]|null);
24449
+
24450
+ /** ActivityGroupCreated createdAt */
24451
+ createdAt?: (number|Long|null);
24452
+ }
24453
+
24454
+ /** Represents an ActivityGroupCreated. */
24455
+ export class ActivityGroupCreated implements IActivityGroupCreated {
24456
+
24457
+ /**
24458
+ * Constructs a new ActivityGroupCreated.
24459
+ * @param [properties] Properties to set
24460
+ */
24461
+ constructor(properties?: IActivityGroupCreated);
24462
+
24463
+ /** ActivityGroupCreated slug. */
24464
+ public slug: string;
24465
+
24466
+ /** ActivityGroupCreated contentType. */
24467
+ public contentType: string;
24468
+
24469
+ /** ActivityGroupCreated accessGroup. */
24470
+ public accessGroup: contentful.ISlugReference[];
24471
+
24472
+ /** ActivityGroupCreated createdAt. */
24473
+ public createdAt: (number|Long);
24474
+
24475
+ /**
24476
+ * Creates a new ActivityGroupCreated instance using the specified properties.
24477
+ * @param [properties] Properties to set
24478
+ * @returns ActivityGroupCreated instance
24479
+ */
24480
+ public static create(properties?: IActivityGroupCreated): ActivityGroupCreated;
24481
+
24482
+ /**
24483
+ * Encodes the specified ActivityGroupCreated message. Does not implicitly {@link ActivityGroupCreated.verify|verify} messages.
24484
+ * @param message ActivityGroupCreated message or plain object to encode
24485
+ * @param [writer] Writer to encode to
24486
+ * @returns Writer
24487
+ */
24488
+ public static encode(message: IActivityGroupCreated, writer?: $protobuf.Writer): $protobuf.Writer;
24489
+
24490
+ /**
24491
+ * Encodes the specified ActivityGroupCreated message, length delimited. Does not implicitly {@link ActivityGroupCreated.verify|verify} messages.
24492
+ * @param message ActivityGroupCreated message or plain object to encode
24493
+ * @param [writer] Writer to encode to
24494
+ * @returns Writer
24495
+ */
24496
+ public static encodeDelimited(message: IActivityGroupCreated, writer?: $protobuf.Writer): $protobuf.Writer;
24497
+
24498
+ /**
24499
+ * Decodes an ActivityGroupCreated message from the specified reader or buffer.
24500
+ * @param reader Reader or buffer to decode from
24501
+ * @param [length] Message length if known beforehand
24502
+ * @returns ActivityGroupCreated
24503
+ * @throws {Error} If the payload is not a reader or valid buffer
24504
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
24505
+ */
24506
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ActivityGroupCreated;
24507
+
24508
+ /**
24509
+ * Decodes an ActivityGroupCreated message from the specified reader or buffer, length delimited.
24510
+ * @param reader Reader or buffer to decode from
24511
+ * @returns ActivityGroupCreated
24512
+ * @throws {Error} If the payload is not a reader or valid buffer
24513
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
24514
+ */
24515
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ActivityGroupCreated;
24516
+
24517
+ /**
24518
+ * Verifies an ActivityGroupCreated message.
24519
+ * @param message Plain object to verify
24520
+ * @returns `null` if valid, otherwise the reason why it is not
24521
+ */
24522
+ public static verify(message: { [k: string]: any }): (string|null);
24523
+
24524
+ /**
24525
+ * Creates an ActivityGroupCreated message from a plain object. Also converts values to their respective internal types.
24526
+ * @param object Plain object
24527
+ * @returns ActivityGroupCreated
24528
+ */
24529
+ public static fromObject(object: { [k: string]: any }): ActivityGroupCreated;
24530
+
24531
+ /**
24532
+ * Creates a plain object from an ActivityGroupCreated message. Also converts values to other types if specified.
24533
+ * @param message ActivityGroupCreated
24534
+ * @param [options] Conversion options
24535
+ * @returns Plain object
24536
+ */
24537
+ public static toObject(message: ActivityGroupCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
24538
+
24539
+ /**
24540
+ * Converts this ActivityGroupCreated to JSON.
24541
+ * @returns JSON object
24542
+ */
24543
+ public toJSON(): { [k: string]: any };
24544
+ }
24545
+
24546
+ /** Properties of an ActivityGroupUpdated. */
24547
+ export interface IActivityGroupUpdated {
24548
+
24549
+ /** ActivityGroupUpdated slug */
24550
+ slug?: (string|null);
24551
+
24552
+ /** ActivityGroupUpdated contentType */
24553
+ contentType?: (string|null);
24554
+
24555
+ /** ActivityGroupUpdated accessGroup */
24556
+ accessGroup?: (contentful.ISlugReference[]|null);
24557
+
24558
+ /** ActivityGroupUpdated updatedAt */
24559
+ updatedAt?: (number|Long|null);
24560
+ }
24561
+
24562
+ /** Represents an ActivityGroupUpdated. */
24563
+ export class ActivityGroupUpdated implements IActivityGroupUpdated {
24564
+
24565
+ /**
24566
+ * Constructs a new ActivityGroupUpdated.
24567
+ * @param [properties] Properties to set
24568
+ */
24569
+ constructor(properties?: IActivityGroupUpdated);
24570
+
24571
+ /** ActivityGroupUpdated slug. */
24572
+ public slug: string;
24573
+
24574
+ /** ActivityGroupUpdated contentType. */
24575
+ public contentType: string;
24576
+
24577
+ /** ActivityGroupUpdated accessGroup. */
24578
+ public accessGroup: contentful.ISlugReference[];
24579
+
24580
+ /** ActivityGroupUpdated updatedAt. */
24581
+ public updatedAt: (number|Long);
24582
+
24583
+ /**
24584
+ * Creates a new ActivityGroupUpdated instance using the specified properties.
24585
+ * @param [properties] Properties to set
24586
+ * @returns ActivityGroupUpdated instance
24587
+ */
24588
+ public static create(properties?: IActivityGroupUpdated): ActivityGroupUpdated;
24589
+
24590
+ /**
24591
+ * Encodes the specified ActivityGroupUpdated message. Does not implicitly {@link ActivityGroupUpdated.verify|verify} messages.
24592
+ * @param message ActivityGroupUpdated message or plain object to encode
24593
+ * @param [writer] Writer to encode to
24594
+ * @returns Writer
24595
+ */
24596
+ public static encode(message: IActivityGroupUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
24597
+
24598
+ /**
24599
+ * Encodes the specified ActivityGroupUpdated message, length delimited. Does not implicitly {@link ActivityGroupUpdated.verify|verify} messages.
24600
+ * @param message ActivityGroupUpdated message or plain object to encode
24601
+ * @param [writer] Writer to encode to
24602
+ * @returns Writer
24603
+ */
24604
+ public static encodeDelimited(message: IActivityGroupUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
24605
+
24606
+ /**
24607
+ * Decodes an ActivityGroupUpdated message from the specified reader or buffer.
24608
+ * @param reader Reader or buffer to decode from
24609
+ * @param [length] Message length if known beforehand
24610
+ * @returns ActivityGroupUpdated
24611
+ * @throws {Error} If the payload is not a reader or valid buffer
24612
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
24613
+ */
24614
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ActivityGroupUpdated;
24615
+
24616
+ /**
24617
+ * Decodes an ActivityGroupUpdated message from the specified reader or buffer, length delimited.
24618
+ * @param reader Reader or buffer to decode from
24619
+ * @returns ActivityGroupUpdated
24620
+ * @throws {Error} If the payload is not a reader or valid buffer
24621
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
24622
+ */
24623
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ActivityGroupUpdated;
24624
+
24625
+ /**
24626
+ * Verifies an ActivityGroupUpdated message.
24627
+ * @param message Plain object to verify
24628
+ * @returns `null` if valid, otherwise the reason why it is not
24629
+ */
24630
+ public static verify(message: { [k: string]: any }): (string|null);
24631
+
24632
+ /**
24633
+ * Creates an ActivityGroupUpdated message from a plain object. Also converts values to their respective internal types.
24634
+ * @param object Plain object
24635
+ * @returns ActivityGroupUpdated
24636
+ */
24637
+ public static fromObject(object: { [k: string]: any }): ActivityGroupUpdated;
24638
+
24639
+ /**
24640
+ * Creates a plain object from an ActivityGroupUpdated message. Also converts values to other types if specified.
24641
+ * @param message ActivityGroupUpdated
24642
+ * @param [options] Conversion options
24643
+ * @returns Plain object
24644
+ */
24645
+ public static toObject(message: ActivityGroupUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
24646
+
24647
+ /**
24648
+ * Converts this ActivityGroupUpdated to JSON.
24649
+ * @returns JSON object
24650
+ */
24651
+ public toJSON(): { [k: string]: any };
24652
+ }
24653
+
24654
+ /** Properties of an ActivityGroupDeleted. */
24655
+ export interface IActivityGroupDeleted {
24656
+
24657
+ /** ActivityGroupDeleted slug */
24658
+ slug?: (string|null);
24659
+
24660
+ /** ActivityGroupDeleted contentType */
24661
+ contentType?: (string|null);
24662
+
24663
+ /** ActivityGroupDeleted deletedAt */
24664
+ deletedAt?: (number|Long|null);
24665
+ }
24666
+
24667
+ /** Represents an ActivityGroupDeleted. */
24668
+ export class ActivityGroupDeleted implements IActivityGroupDeleted {
24669
+
24670
+ /**
24671
+ * Constructs a new ActivityGroupDeleted.
24672
+ * @param [properties] Properties to set
24673
+ */
24674
+ constructor(properties?: IActivityGroupDeleted);
24675
+
24676
+ /** ActivityGroupDeleted slug. */
24677
+ public slug: string;
24678
+
24679
+ /** ActivityGroupDeleted contentType. */
24680
+ public contentType: string;
24681
+
24682
+ /** ActivityGroupDeleted deletedAt. */
24683
+ public deletedAt: (number|Long);
24684
+
24685
+ /**
24686
+ * Creates a new ActivityGroupDeleted instance using the specified properties.
24687
+ * @param [properties] Properties to set
24688
+ * @returns ActivityGroupDeleted instance
24689
+ */
24690
+ public static create(properties?: IActivityGroupDeleted): ActivityGroupDeleted;
24691
+
24692
+ /**
24693
+ * Encodes the specified ActivityGroupDeleted message. Does not implicitly {@link ActivityGroupDeleted.verify|verify} messages.
24694
+ * @param message ActivityGroupDeleted message or plain object to encode
24695
+ * @param [writer] Writer to encode to
24696
+ * @returns Writer
24697
+ */
24698
+ public static encode(message: IActivityGroupDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
24699
+
24700
+ /**
24701
+ * Encodes the specified ActivityGroupDeleted message, length delimited. Does not implicitly {@link ActivityGroupDeleted.verify|verify} messages.
24702
+ * @param message ActivityGroupDeleted message or plain object to encode
24703
+ * @param [writer] Writer to encode to
24704
+ * @returns Writer
24705
+ */
24706
+ public static encodeDelimited(message: IActivityGroupDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
24707
+
24708
+ /**
24709
+ * Decodes an ActivityGroupDeleted message from the specified reader or buffer.
24710
+ * @param reader Reader or buffer to decode from
24711
+ * @param [length] Message length if known beforehand
24712
+ * @returns ActivityGroupDeleted
24713
+ * @throws {Error} If the payload is not a reader or valid buffer
24714
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
24715
+ */
24716
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ActivityGroupDeleted;
24717
+
24718
+ /**
24719
+ * Decodes an ActivityGroupDeleted message from the specified reader or buffer, length delimited.
24720
+ * @param reader Reader or buffer to decode from
24721
+ * @returns ActivityGroupDeleted
24722
+ * @throws {Error} If the payload is not a reader or valid buffer
24723
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
24724
+ */
24725
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ActivityGroupDeleted;
24726
+
24727
+ /**
24728
+ * Verifies an ActivityGroupDeleted message.
24729
+ * @param message Plain object to verify
24730
+ * @returns `null` if valid, otherwise the reason why it is not
24731
+ */
24732
+ public static verify(message: { [k: string]: any }): (string|null);
24733
+
24734
+ /**
24735
+ * Creates an ActivityGroupDeleted message from a plain object. Also converts values to their respective internal types.
24736
+ * @param object Plain object
24737
+ * @returns ActivityGroupDeleted
24738
+ */
24739
+ public static fromObject(object: { [k: string]: any }): ActivityGroupDeleted;
24740
+
24741
+ /**
24742
+ * Creates a plain object from an ActivityGroupDeleted message. Also converts values to other types if specified.
24743
+ * @param message ActivityGroupDeleted
24744
+ * @param [options] Conversion options
24745
+ * @returns Plain object
24746
+ */
24747
+ public static toObject(message: ActivityGroupDeleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
24748
+
24749
+ /**
24750
+ * Converts this ActivityGroupDeleted to JSON.
24751
+ * @returns JSON object
24752
+ */
24753
+ public toJSON(): { [k: string]: any };
24754
+ }
24755
+
24756
24756
  /** Properties of a CollectionCreated. */
24757
24757
  export interface ICollectionCreated {
24758
24758