@headspace/protos-events 1.235.0 → 1.237.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 +649 -0
  2. package/lib/index.js +1771 -0
  3. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -135,6 +135,499 @@ export namespace auth0 {
135
135
  }
136
136
  }
137
137
 
138
+ /** Namespace content. */
139
+ export namespace content {
140
+
141
+ /** Represents a UserStatManager */
142
+ class UserStatManager extends $protobuf.rpc.Service {
143
+
144
+ /**
145
+ * Constructs a new UserStatManager service.
146
+ * @param rpcImpl RPC implementation
147
+ * @param [requestDelimited=false] Whether requests are length-delimited
148
+ * @param [responseDelimited=false] Whether responses are length-delimited
149
+ */
150
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
151
+
152
+ /**
153
+ * Creates new UserStatManager service using the specified rpc implementation.
154
+ * @param rpcImpl RPC implementation
155
+ * @param [requestDelimited=false] Whether requests are length-delimited
156
+ * @param [responseDelimited=false] Whether responses are length-delimited
157
+ * @returns RPC service. Useful where requests and/or responses are streamed.
158
+ */
159
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): UserStatManager;
160
+
161
+ /**
162
+ * Calls getStatsForUser.
163
+ * @param request GetStatsRequest message or plain object
164
+ * @param callback Node-style callback called with the error, if any, and GetStatsResponse
165
+ */
166
+ public getStatsForUser(request: content.IGetStatsRequest, callback: content.UserStatManager.getStatsForUserCallback): void;
167
+
168
+ /**
169
+ * Calls getStatsForUser.
170
+ * @param request GetStatsRequest message or plain object
171
+ * @returns Promise
172
+ */
173
+ public getStatsForUser(request: content.IGetStatsRequest): Promise<content.GetStatsResponse>;
174
+ }
175
+
176
+ namespace UserStatManager {
177
+
178
+ /**
179
+ * Callback as used by {@link content.UserStatManager#getStatsForUser}.
180
+ * @param error Error, if any
181
+ * @param [response] GetStatsResponse
182
+ */
183
+ type getStatsForUserCallback = (error: (Error|null), response?: content.GetStatsResponse) => void;
184
+ }
185
+
186
+ /** Properties of a GetStatsRequest. */
187
+ interface IGetStatsRequest {
188
+
189
+ /** GetStatsRequest userId */
190
+ userId?: (string|null);
191
+ }
192
+
193
+ /** Represents a GetStatsRequest. */
194
+ class GetStatsRequest implements IGetStatsRequest {
195
+
196
+ /**
197
+ * Constructs a new GetStatsRequest.
198
+ * @param [properties] Properties to set
199
+ */
200
+ constructor(properties?: content.IGetStatsRequest);
201
+
202
+ /** GetStatsRequest userId. */
203
+ public userId: string;
204
+
205
+ /**
206
+ * Creates a new GetStatsRequest instance using the specified properties.
207
+ * @param [properties] Properties to set
208
+ * @returns GetStatsRequest instance
209
+ */
210
+ public static create(properties?: content.IGetStatsRequest): content.GetStatsRequest;
211
+
212
+ /**
213
+ * Encodes the specified GetStatsRequest message. Does not implicitly {@link content.GetStatsRequest.verify|verify} messages.
214
+ * @param message GetStatsRequest message or plain object to encode
215
+ * @param [writer] Writer to encode to
216
+ * @returns Writer
217
+ */
218
+ public static encode(message: content.IGetStatsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
219
+
220
+ /**
221
+ * Encodes the specified GetStatsRequest message, length delimited. Does not implicitly {@link content.GetStatsRequest.verify|verify} messages.
222
+ * @param message GetStatsRequest message or plain object to encode
223
+ * @param [writer] Writer to encode to
224
+ * @returns Writer
225
+ */
226
+ public static encodeDelimited(message: content.IGetStatsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
227
+
228
+ /**
229
+ * Decodes a GetStatsRequest message from the specified reader or buffer.
230
+ * @param reader Reader or buffer to decode from
231
+ * @param [length] Message length if known beforehand
232
+ * @returns GetStatsRequest
233
+ * @throws {Error} If the payload is not a reader or valid buffer
234
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
235
+ */
236
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.GetStatsRequest;
237
+
238
+ /**
239
+ * Decodes a GetStatsRequest message from the specified reader or buffer, length delimited.
240
+ * @param reader Reader or buffer to decode from
241
+ * @returns GetStatsRequest
242
+ * @throws {Error} If the payload is not a reader or valid buffer
243
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
244
+ */
245
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.GetStatsRequest;
246
+
247
+ /**
248
+ * Verifies a GetStatsRequest message.
249
+ * @param message Plain object to verify
250
+ * @returns `null` if valid, otherwise the reason why it is not
251
+ */
252
+ public static verify(message: { [k: string]: any }): (string|null);
253
+
254
+ /**
255
+ * Creates a GetStatsRequest message from a plain object. Also converts values to their respective internal types.
256
+ * @param object Plain object
257
+ * @returns GetStatsRequest
258
+ */
259
+ public static fromObject(object: { [k: string]: any }): content.GetStatsRequest;
260
+
261
+ /**
262
+ * Creates a plain object from a GetStatsRequest message. Also converts values to other types if specified.
263
+ * @param message GetStatsRequest
264
+ * @param [options] Conversion options
265
+ * @returns Plain object
266
+ */
267
+ public static toObject(message: content.GetStatsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
268
+
269
+ /**
270
+ * Converts this GetStatsRequest to JSON.
271
+ * @returns JSON object
272
+ */
273
+ public toJSON(): { [k: string]: any };
274
+ }
275
+
276
+ /** Properties of a GetStatsResponse. */
277
+ interface IGetStatsResponse {
278
+
279
+ /** GetStatsResponse stats */
280
+ stats?: (content.IUserStat[]|null);
281
+
282
+ /** GetStatsResponse lastUserActivityCompletionId */
283
+ lastUserActivityCompletionId?: (number|Long|null);
284
+ }
285
+
286
+ /** Represents a GetStatsResponse. */
287
+ class GetStatsResponse implements IGetStatsResponse {
288
+
289
+ /**
290
+ * Constructs a new GetStatsResponse.
291
+ * @param [properties] Properties to set
292
+ */
293
+ constructor(properties?: content.IGetStatsResponse);
294
+
295
+ /** GetStatsResponse stats. */
296
+ public stats: content.IUserStat[];
297
+
298
+ /** GetStatsResponse lastUserActivityCompletionId. */
299
+ public lastUserActivityCompletionId: (number|Long);
300
+
301
+ /**
302
+ * Creates a new GetStatsResponse instance using the specified properties.
303
+ * @param [properties] Properties to set
304
+ * @returns GetStatsResponse instance
305
+ */
306
+ public static create(properties?: content.IGetStatsResponse): content.GetStatsResponse;
307
+
308
+ /**
309
+ * Encodes the specified GetStatsResponse message. Does not implicitly {@link content.GetStatsResponse.verify|verify} messages.
310
+ * @param message GetStatsResponse message or plain object to encode
311
+ * @param [writer] Writer to encode to
312
+ * @returns Writer
313
+ */
314
+ public static encode(message: content.IGetStatsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
315
+
316
+ /**
317
+ * Encodes the specified GetStatsResponse message, length delimited. Does not implicitly {@link content.GetStatsResponse.verify|verify} messages.
318
+ * @param message GetStatsResponse message or plain object to encode
319
+ * @param [writer] Writer to encode to
320
+ * @returns Writer
321
+ */
322
+ public static encodeDelimited(message: content.IGetStatsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
323
+
324
+ /**
325
+ * Decodes a GetStatsResponse message from the specified reader or buffer.
326
+ * @param reader Reader or buffer to decode from
327
+ * @param [length] Message length if known beforehand
328
+ * @returns GetStatsResponse
329
+ * @throws {Error} If the payload is not a reader or valid buffer
330
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
331
+ */
332
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.GetStatsResponse;
333
+
334
+ /**
335
+ * Decodes a GetStatsResponse message from the specified reader or buffer, length delimited.
336
+ * @param reader Reader or buffer to decode from
337
+ * @returns GetStatsResponse
338
+ * @throws {Error} If the payload is not a reader or valid buffer
339
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
340
+ */
341
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.GetStatsResponse;
342
+
343
+ /**
344
+ * Verifies a GetStatsResponse message.
345
+ * @param message Plain object to verify
346
+ * @returns `null` if valid, otherwise the reason why it is not
347
+ */
348
+ public static verify(message: { [k: string]: any }): (string|null);
349
+
350
+ /**
351
+ * Creates a GetStatsResponse message from a plain object. Also converts values to their respective internal types.
352
+ * @param object Plain object
353
+ * @returns GetStatsResponse
354
+ */
355
+ public static fromObject(object: { [k: string]: any }): content.GetStatsResponse;
356
+
357
+ /**
358
+ * Creates a plain object from a GetStatsResponse message. Also converts values to other types if specified.
359
+ * @param message GetStatsResponse
360
+ * @param [options] Conversion options
361
+ * @returns Plain object
362
+ */
363
+ public static toObject(message: content.GetStatsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
364
+
365
+ /**
366
+ * Converts this GetStatsResponse to JSON.
367
+ * @returns JSON object
368
+ */
369
+ public toJSON(): { [k: string]: any };
370
+ }
371
+
372
+ /** Properties of a UserStat. */
373
+ interface IUserStat {
374
+
375
+ /** UserStat id */
376
+ id?: (number|Long|null);
377
+
378
+ /** UserStat label */
379
+ label?: (string|null);
380
+
381
+ /** UserStat userId */
382
+ userId?: (string|null);
383
+
384
+ /** UserStat previousValue */
385
+ previousValue?: (number|null);
386
+
387
+ /** UserStat currentValue */
388
+ currentValue?: (number|null);
389
+
390
+ /** UserStat deletedAt */
391
+ deletedAt?: (date.IDate|null);
392
+
393
+ /** UserStat clientUpdatedAt */
394
+ clientUpdatedAt?: (date.IDate|null);
395
+
396
+ /** UserStat createdAt */
397
+ createdAt?: (date.IDate|null);
398
+
399
+ /** UserStat updatedAt */
400
+ updatedAt?: (date.IDate|null);
401
+
402
+ /** UserStat validUntil */
403
+ validUntil?: (date.IDate|null);
404
+ }
405
+
406
+ /** Represents a UserStat. */
407
+ class UserStat implements IUserStat {
408
+
409
+ /**
410
+ * Constructs a new UserStat.
411
+ * @param [properties] Properties to set
412
+ */
413
+ constructor(properties?: content.IUserStat);
414
+
415
+ /** UserStat id. */
416
+ public id: (number|Long);
417
+
418
+ /** UserStat label. */
419
+ public label: string;
420
+
421
+ /** UserStat userId. */
422
+ public userId: string;
423
+
424
+ /** UserStat previousValue. */
425
+ public previousValue: number;
426
+
427
+ /** UserStat currentValue. */
428
+ public currentValue: number;
429
+
430
+ /** UserStat deletedAt. */
431
+ public deletedAt?: (date.IDate|null);
432
+
433
+ /** UserStat clientUpdatedAt. */
434
+ public clientUpdatedAt?: (date.IDate|null);
435
+
436
+ /** UserStat createdAt. */
437
+ public createdAt?: (date.IDate|null);
438
+
439
+ /** UserStat updatedAt. */
440
+ public updatedAt?: (date.IDate|null);
441
+
442
+ /** UserStat validUntil. */
443
+ public validUntil?: (date.IDate|null);
444
+
445
+ /**
446
+ * Creates a new UserStat instance using the specified properties.
447
+ * @param [properties] Properties to set
448
+ * @returns UserStat instance
449
+ */
450
+ public static create(properties?: content.IUserStat): content.UserStat;
451
+
452
+ /**
453
+ * Encodes the specified UserStat message. Does not implicitly {@link content.UserStat.verify|verify} messages.
454
+ * @param message UserStat message or plain object to encode
455
+ * @param [writer] Writer to encode to
456
+ * @returns Writer
457
+ */
458
+ public static encode(message: content.IUserStat, writer?: $protobuf.Writer): $protobuf.Writer;
459
+
460
+ /**
461
+ * Encodes the specified UserStat message, length delimited. Does not implicitly {@link content.UserStat.verify|verify} messages.
462
+ * @param message UserStat message or plain object to encode
463
+ * @param [writer] Writer to encode to
464
+ * @returns Writer
465
+ */
466
+ public static encodeDelimited(message: content.IUserStat, writer?: $protobuf.Writer): $protobuf.Writer;
467
+
468
+ /**
469
+ * Decodes a UserStat message from the specified reader or buffer.
470
+ * @param reader Reader or buffer to decode from
471
+ * @param [length] Message length if known beforehand
472
+ * @returns UserStat
473
+ * @throws {Error} If the payload is not a reader or valid buffer
474
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
475
+ */
476
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.UserStat;
477
+
478
+ /**
479
+ * Decodes a UserStat message from the specified reader or buffer, length delimited.
480
+ * @param reader Reader or buffer to decode from
481
+ * @returns UserStat
482
+ * @throws {Error} If the payload is not a reader or valid buffer
483
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
484
+ */
485
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.UserStat;
486
+
487
+ /**
488
+ * Verifies a UserStat message.
489
+ * @param message Plain object to verify
490
+ * @returns `null` if valid, otherwise the reason why it is not
491
+ */
492
+ public static verify(message: { [k: string]: any }): (string|null);
493
+
494
+ /**
495
+ * Creates a UserStat message from a plain object. Also converts values to their respective internal types.
496
+ * @param object Plain object
497
+ * @returns UserStat
498
+ */
499
+ public static fromObject(object: { [k: string]: any }): content.UserStat;
500
+
501
+ /**
502
+ * Creates a plain object from a UserStat message. Also converts values to other types if specified.
503
+ * @param message UserStat
504
+ * @param [options] Conversion options
505
+ * @returns Plain object
506
+ */
507
+ public static toObject(message: content.UserStat, options?: $protobuf.IConversionOptions): { [k: string]: any };
508
+
509
+ /**
510
+ * Converts this UserStat to JSON.
511
+ * @returns JSON object
512
+ */
513
+ public toJSON(): { [k: string]: any };
514
+ }
515
+
516
+ /** Properties of a UserStats. */
517
+ interface IUserStats {
518
+
519
+ /** UserStats runStreak */
520
+ runStreak?: (number|null);
521
+
522
+ /** UserStats averageMinutes */
523
+ averageMinutes?: (number|null);
524
+
525
+ /** UserStats highestRunStreak */
526
+ highestRunStreak?: (number|null);
527
+
528
+ /** UserStats totalMinutes */
529
+ totalMinutes?: (number|null);
530
+
531
+ /** UserStats totalSessions */
532
+ totalSessions?: (number|null);
533
+ }
534
+
535
+ /** Represents a UserStats. */
536
+ class UserStats implements IUserStats {
537
+
538
+ /**
539
+ * Constructs a new UserStats.
540
+ * @param [properties] Properties to set
541
+ */
542
+ constructor(properties?: content.IUserStats);
543
+
544
+ /** UserStats runStreak. */
545
+ public runStreak: number;
546
+
547
+ /** UserStats averageMinutes. */
548
+ public averageMinutes: number;
549
+
550
+ /** UserStats highestRunStreak. */
551
+ public highestRunStreak: number;
552
+
553
+ /** UserStats totalMinutes. */
554
+ public totalMinutes: number;
555
+
556
+ /** UserStats totalSessions. */
557
+ public totalSessions: number;
558
+
559
+ /**
560
+ * Creates a new UserStats instance using the specified properties.
561
+ * @param [properties] Properties to set
562
+ * @returns UserStats instance
563
+ */
564
+ public static create(properties?: content.IUserStats): content.UserStats;
565
+
566
+ /**
567
+ * Encodes the specified UserStats message. Does not implicitly {@link content.UserStats.verify|verify} messages.
568
+ * @param message UserStats message or plain object to encode
569
+ * @param [writer] Writer to encode to
570
+ * @returns Writer
571
+ */
572
+ public static encode(message: content.IUserStats, writer?: $protobuf.Writer): $protobuf.Writer;
573
+
574
+ /**
575
+ * Encodes the specified UserStats message, length delimited. Does not implicitly {@link content.UserStats.verify|verify} messages.
576
+ * @param message UserStats message or plain object to encode
577
+ * @param [writer] Writer to encode to
578
+ * @returns Writer
579
+ */
580
+ public static encodeDelimited(message: content.IUserStats, writer?: $protobuf.Writer): $protobuf.Writer;
581
+
582
+ /**
583
+ * Decodes a UserStats message from the specified reader or buffer.
584
+ * @param reader Reader or buffer to decode from
585
+ * @param [length] Message length if known beforehand
586
+ * @returns UserStats
587
+ * @throws {Error} If the payload is not a reader or valid buffer
588
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
589
+ */
590
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.UserStats;
591
+
592
+ /**
593
+ * Decodes a UserStats message from the specified reader or buffer, length delimited.
594
+ * @param reader Reader or buffer to decode from
595
+ * @returns UserStats
596
+ * @throws {Error} If the payload is not a reader or valid buffer
597
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
598
+ */
599
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.UserStats;
600
+
601
+ /**
602
+ * Verifies a UserStats message.
603
+ * @param message Plain object to verify
604
+ * @returns `null` if valid, otherwise the reason why it is not
605
+ */
606
+ public static verify(message: { [k: string]: any }): (string|null);
607
+
608
+ /**
609
+ * Creates a UserStats message from a plain object. Also converts values to their respective internal types.
610
+ * @param object Plain object
611
+ * @returns UserStats
612
+ */
613
+ public static fromObject(object: { [k: string]: any }): content.UserStats;
614
+
615
+ /**
616
+ * Creates a plain object from a UserStats message. Also converts values to other types if specified.
617
+ * @param message UserStats
618
+ * @param [options] Conversion options
619
+ * @returns Plain object
620
+ */
621
+ public static toObject(message: content.UserStats, options?: $protobuf.IConversionOptions): { [k: string]: any };
622
+
623
+ /**
624
+ * Converts this UserStats to JSON.
625
+ * @returns JSON object
626
+ */
627
+ public toJSON(): { [k: string]: any };
628
+ }
629
+ }
630
+
138
631
  /** Namespace contentful. */
139
632
  export namespace contentful {
140
633
 
@@ -15203,6 +15696,114 @@ export class TopicDeleted implements ITopicDeleted {
15203
15696
  public toJSON(): { [k: string]: any };
15204
15697
  }
15205
15698
 
15699
+ /** Properties of a UserStatsUpdated. */
15700
+ export interface IUserStatsUpdated {
15701
+
15702
+ /** UserStatsUpdated userId */
15703
+ userId?: (string|null);
15704
+
15705
+ /** UserStatsUpdated stats */
15706
+ stats?: (content.IUserStats|null);
15707
+
15708
+ /** UserStatsUpdated previousStats */
15709
+ previousStats?: (content.IUserStats|null);
15710
+
15711
+ /** UserStatsUpdated timestamp */
15712
+ timestamp?: (number|Long|null);
15713
+ }
15714
+
15715
+ /** Represents a UserStatsUpdated. */
15716
+ export class UserStatsUpdated implements IUserStatsUpdated {
15717
+
15718
+ /**
15719
+ * Constructs a new UserStatsUpdated.
15720
+ * @param [properties] Properties to set
15721
+ */
15722
+ constructor(properties?: IUserStatsUpdated);
15723
+
15724
+ /** UserStatsUpdated userId. */
15725
+ public userId: string;
15726
+
15727
+ /** UserStatsUpdated stats. */
15728
+ public stats?: (content.IUserStats|null);
15729
+
15730
+ /** UserStatsUpdated previousStats. */
15731
+ public previousStats?: (content.IUserStats|null);
15732
+
15733
+ /** UserStatsUpdated timestamp. */
15734
+ public timestamp: (number|Long);
15735
+
15736
+ /**
15737
+ * Creates a new UserStatsUpdated instance using the specified properties.
15738
+ * @param [properties] Properties to set
15739
+ * @returns UserStatsUpdated instance
15740
+ */
15741
+ public static create(properties?: IUserStatsUpdated): UserStatsUpdated;
15742
+
15743
+ /**
15744
+ * Encodes the specified UserStatsUpdated message. Does not implicitly {@link UserStatsUpdated.verify|verify} messages.
15745
+ * @param message UserStatsUpdated message or plain object to encode
15746
+ * @param [writer] Writer to encode to
15747
+ * @returns Writer
15748
+ */
15749
+ public static encode(message: IUserStatsUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
15750
+
15751
+ /**
15752
+ * Encodes the specified UserStatsUpdated message, length delimited. Does not implicitly {@link UserStatsUpdated.verify|verify} messages.
15753
+ * @param message UserStatsUpdated message or plain object to encode
15754
+ * @param [writer] Writer to encode to
15755
+ * @returns Writer
15756
+ */
15757
+ public static encodeDelimited(message: IUserStatsUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
15758
+
15759
+ /**
15760
+ * Decodes a UserStatsUpdated message from the specified reader or buffer.
15761
+ * @param reader Reader or buffer to decode from
15762
+ * @param [length] Message length if known beforehand
15763
+ * @returns UserStatsUpdated
15764
+ * @throws {Error} If the payload is not a reader or valid buffer
15765
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15766
+ */
15767
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserStatsUpdated;
15768
+
15769
+ /**
15770
+ * Decodes a UserStatsUpdated message from the specified reader or buffer, length delimited.
15771
+ * @param reader Reader or buffer to decode from
15772
+ * @returns UserStatsUpdated
15773
+ * @throws {Error} If the payload is not a reader or valid buffer
15774
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15775
+ */
15776
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserStatsUpdated;
15777
+
15778
+ /**
15779
+ * Verifies a UserStatsUpdated message.
15780
+ * @param message Plain object to verify
15781
+ * @returns `null` if valid, otherwise the reason why it is not
15782
+ */
15783
+ public static verify(message: { [k: string]: any }): (string|null);
15784
+
15785
+ /**
15786
+ * Creates a UserStatsUpdated message from a plain object. Also converts values to their respective internal types.
15787
+ * @param object Plain object
15788
+ * @returns UserStatsUpdated
15789
+ */
15790
+ public static fromObject(object: { [k: string]: any }): UserStatsUpdated;
15791
+
15792
+ /**
15793
+ * Creates a plain object from a UserStatsUpdated message. Also converts values to other types if specified.
15794
+ * @param message UserStatsUpdated
15795
+ * @param [options] Conversion options
15796
+ * @returns Plain object
15797
+ */
15798
+ public static toObject(message: UserStatsUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
15799
+
15800
+ /**
15801
+ * Converts this UserStatsUpdated to JSON.
15802
+ * @returns JSON object
15803
+ */
15804
+ public toJSON(): { [k: string]: any };
15805
+ }
15806
+
15206
15807
  /** Properties of a SurveyResponse. */
15207
15808
  export interface ISurveyResponse {
15208
15809
 
@@ -24982,6 +25583,9 @@ export interface ISubscriptionCreated {
24982
25583
 
24983
25584
  /** SubscriptionCreated terms */
24984
25585
  terms?: (subscription.ITerm[]|null);
25586
+
25587
+ /** SubscriptionCreated membership */
25588
+ membership?: (subscription.SubscriptionMembership|null);
24985
25589
  }
24986
25590
 
24987
25591
  /** Represents a SubscriptionCreated. */
@@ -25035,6 +25639,9 @@ export class SubscriptionCreated implements ISubscriptionCreated {
25035
25639
  /** SubscriptionCreated terms. */
25036
25640
  public terms: subscription.ITerm[];
25037
25641
 
25642
+ /** SubscriptionCreated membership. */
25643
+ public membership: subscription.SubscriptionMembership;
25644
+
25038
25645
  /**
25039
25646
  * Creates a new SubscriptionCreated instance using the specified properties.
25040
25647
  * @param [properties] Properties to set
@@ -25156,6 +25763,9 @@ export interface ISubscriptionCancelled {
25156
25763
 
25157
25764
  /** SubscriptionCancelled terms */
25158
25765
  terms?: (subscription.ITerm[]|null);
25766
+
25767
+ /** SubscriptionCancelled membership */
25768
+ membership?: (subscription.SubscriptionMembership|null);
25159
25769
  }
25160
25770
 
25161
25771
  /** Represents a SubscriptionCancelled. */
@@ -25215,6 +25825,9 @@ export class SubscriptionCancelled implements ISubscriptionCancelled {
25215
25825
  /** SubscriptionCancelled terms. */
25216
25826
  public terms: subscription.ITerm[];
25217
25827
 
25828
+ /** SubscriptionCancelled membership. */
25829
+ public membership: subscription.SubscriptionMembership;
25830
+
25218
25831
  /**
25219
25832
  * Creates a new SubscriptionCancelled instance using the specified properties.
25220
25833
  * @param [properties] Properties to set
@@ -25330,6 +25943,9 @@ export interface ISubscriptionRenewed {
25330
25943
 
25331
25944
  /** SubscriptionRenewed terms */
25332
25945
  terms?: (subscription.ITerm[]|null);
25946
+
25947
+ /** SubscriptionRenewed membership */
25948
+ membership?: (subscription.SubscriptionMembership|null);
25333
25949
  }
25334
25950
 
25335
25951
  /** Represents a SubscriptionRenewed. */
@@ -25383,6 +25999,9 @@ export class SubscriptionRenewed implements ISubscriptionRenewed {
25383
25999
  /** SubscriptionRenewed terms. */
25384
26000
  public terms: subscription.ITerm[];
25385
26001
 
26002
+ /** SubscriptionRenewed membership. */
26003
+ public membership: subscription.SubscriptionMembership;
26004
+
25386
26005
  /**
25387
26006
  * Creates a new SubscriptionRenewed instance using the specified properties.
25388
26007
  * @param [properties] Properties to set
@@ -25864,6 +26483,9 @@ export interface ISubscriptionGraced {
25864
26483
 
25865
26484
  /** SubscriptionGraced terms */
25866
26485
  terms?: (subscription.ITerm[]|null);
26486
+
26487
+ /** SubscriptionGraced membership */
26488
+ membership?: (subscription.SubscriptionMembership|null);
25867
26489
  }
25868
26490
 
25869
26491
  /** Represents a SubscriptionGraced. */
@@ -25917,6 +26539,9 @@ export class SubscriptionGraced implements ISubscriptionGraced {
25917
26539
  /** SubscriptionGraced terms. */
25918
26540
  public terms: subscription.ITerm[];
25919
26541
 
26542
+ /** SubscriptionGraced membership. */
26543
+ public membership: subscription.SubscriptionMembership;
26544
+
25920
26545
  /**
25921
26546
  * Creates a new SubscriptionGraced instance using the specified properties.
25922
26547
  * @param [properties] Properties to set
@@ -26032,6 +26657,9 @@ export interface ISubscriptionStarted {
26032
26657
 
26033
26658
  /** SubscriptionStarted terms */
26034
26659
  terms?: (subscription.ITerm[]|null);
26660
+
26661
+ /** SubscriptionStarted membership */
26662
+ membership?: (subscription.SubscriptionMembership|null);
26035
26663
  }
26036
26664
 
26037
26665
  /** Represents a SubscriptionStarted. */
@@ -26085,6 +26713,9 @@ export class SubscriptionStarted implements ISubscriptionStarted {
26085
26713
  /** SubscriptionStarted terms. */
26086
26714
  public terms: subscription.ITerm[];
26087
26715
 
26716
+ /** SubscriptionStarted membership. */
26717
+ public membership: subscription.SubscriptionMembership;
26718
+
26088
26719
  /**
26089
26720
  * Creates a new SubscriptionStarted instance using the specified properties.
26090
26721
  * @param [properties] Properties to set
@@ -26203,6 +26834,9 @@ export interface ISubscriptionEnded {
26203
26834
 
26204
26835
  /** SubscriptionEnded terms */
26205
26836
  terms?: (subscription.ITerm[]|null);
26837
+
26838
+ /** SubscriptionEnded membership */
26839
+ membership?: (subscription.SubscriptionMembership|null);
26206
26840
  }
26207
26841
 
26208
26842
  /** Represents a SubscriptionEnded. */
@@ -26259,6 +26893,9 @@ export class SubscriptionEnded implements ISubscriptionEnded {
26259
26893
  /** SubscriptionEnded terms. */
26260
26894
  public terms: subscription.ITerm[];
26261
26895
 
26896
+ /** SubscriptionEnded membership. */
26897
+ public membership: subscription.SubscriptionMembership;
26898
+
26262
26899
  /**
26263
26900
  * Creates a new SubscriptionEnded instance using the specified properties.
26264
26901
  * @param [properties] Properties to set
@@ -26374,6 +27011,9 @@ export interface ISubscriptionRecovered {
26374
27011
 
26375
27012
  /** SubscriptionRecovered terms */
26376
27013
  terms?: (subscription.ITerm[]|null);
27014
+
27015
+ /** SubscriptionRecovered membership */
27016
+ membership?: (subscription.SubscriptionMembership|null);
26377
27017
  }
26378
27018
 
26379
27019
  /** Represents a SubscriptionRecovered. */
@@ -26427,6 +27067,9 @@ export class SubscriptionRecovered implements ISubscriptionRecovered {
26427
27067
  /** SubscriptionRecovered terms. */
26428
27068
  public terms: subscription.ITerm[];
26429
27069
 
27070
+ /** SubscriptionRecovered membership. */
27071
+ public membership: subscription.SubscriptionMembership;
27072
+
26430
27073
  /**
26431
27074
  * Creates a new SubscriptionRecovered instance using the specified properties.
26432
27075
  * @param [properties] Properties to set
@@ -26542,6 +27185,9 @@ export interface ISubscriptionAmended {
26542
27185
 
26543
27186
  /** SubscriptionAmended terms */
26544
27187
  terms?: (subscription.ITerm[]|null);
27188
+
27189
+ /** SubscriptionAmended membership */
27190
+ membership?: (subscription.SubscriptionMembership|null);
26545
27191
  }
26546
27192
 
26547
27193
  /** Represents a SubscriptionAmended. */
@@ -26595,6 +27241,9 @@ export class SubscriptionAmended implements ISubscriptionAmended {
26595
27241
  /** SubscriptionAmended terms. */
26596
27242
  public terms: subscription.ITerm[];
26597
27243
 
27244
+ /** SubscriptionAmended membership. */
27245
+ public membership: subscription.SubscriptionMembership;
27246
+
26598
27247
  /**
26599
27248
  * Creates a new SubscriptionAmended instance using the specified properties.
26600
27249
  * @param [properties] Properties to set