@headspace/protos-events 1.504.1-rc.0 → 1.506.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 +413 -18
  2. package/lib/index.js +1094 -207
  3. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -26051,6 +26051,96 @@ export class ContentEntityDeleted implements IContentEntityDeleted {
26051
26051
  public toJSON(): { [k: string]: any };
26052
26052
  }
26053
26053
 
26054
+ /** Properties of a ContentCourseCompleted. */
26055
+ export interface IContentCourseCompleted {
26056
+
26057
+ /** ContentCourseCompleted userId */
26058
+ userId?: (string|null);
26059
+ }
26060
+
26061
+ /** Represents a ContentCourseCompleted. */
26062
+ export class ContentCourseCompleted implements IContentCourseCompleted {
26063
+
26064
+ /**
26065
+ * Constructs a new ContentCourseCompleted.
26066
+ * @param [properties] Properties to set
26067
+ */
26068
+ constructor(properties?: IContentCourseCompleted);
26069
+
26070
+ /** ContentCourseCompleted userId. */
26071
+ public userId: string;
26072
+
26073
+ /**
26074
+ * Creates a new ContentCourseCompleted instance using the specified properties.
26075
+ * @param [properties] Properties to set
26076
+ * @returns ContentCourseCompleted instance
26077
+ */
26078
+ public static create(properties?: IContentCourseCompleted): ContentCourseCompleted;
26079
+
26080
+ /**
26081
+ * Encodes the specified ContentCourseCompleted message. Does not implicitly {@link ContentCourseCompleted.verify|verify} messages.
26082
+ * @param message ContentCourseCompleted message or plain object to encode
26083
+ * @param [writer] Writer to encode to
26084
+ * @returns Writer
26085
+ */
26086
+ public static encode(message: IContentCourseCompleted, writer?: $protobuf.Writer): $protobuf.Writer;
26087
+
26088
+ /**
26089
+ * Encodes the specified ContentCourseCompleted message, length delimited. Does not implicitly {@link ContentCourseCompleted.verify|verify} messages.
26090
+ * @param message ContentCourseCompleted message or plain object to encode
26091
+ * @param [writer] Writer to encode to
26092
+ * @returns Writer
26093
+ */
26094
+ public static encodeDelimited(message: IContentCourseCompleted, writer?: $protobuf.Writer): $protobuf.Writer;
26095
+
26096
+ /**
26097
+ * Decodes a ContentCourseCompleted message from the specified reader or buffer.
26098
+ * @param reader Reader or buffer to decode from
26099
+ * @param [length] Message length if known beforehand
26100
+ * @returns ContentCourseCompleted
26101
+ * @throws {Error} If the payload is not a reader or valid buffer
26102
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26103
+ */
26104
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ContentCourseCompleted;
26105
+
26106
+ /**
26107
+ * Decodes a ContentCourseCompleted message from the specified reader or buffer, length delimited.
26108
+ * @param reader Reader or buffer to decode from
26109
+ * @returns ContentCourseCompleted
26110
+ * @throws {Error} If the payload is not a reader or valid buffer
26111
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26112
+ */
26113
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ContentCourseCompleted;
26114
+
26115
+ /**
26116
+ * Verifies a ContentCourseCompleted message.
26117
+ * @param message Plain object to verify
26118
+ * @returns `null` if valid, otherwise the reason why it is not
26119
+ */
26120
+ public static verify(message: { [k: string]: any }): (string|null);
26121
+
26122
+ /**
26123
+ * Creates a ContentCourseCompleted message from a plain object. Also converts values to their respective internal types.
26124
+ * @param object Plain object
26125
+ * @returns ContentCourseCompleted
26126
+ */
26127
+ public static fromObject(object: { [k: string]: any }): ContentCourseCompleted;
26128
+
26129
+ /**
26130
+ * Creates a plain object from a ContentCourseCompleted message. Also converts values to other types if specified.
26131
+ * @param message ContentCourseCompleted
26132
+ * @param [options] Conversion options
26133
+ * @returns Plain object
26134
+ */
26135
+ public static toObject(message: ContentCourseCompleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
26136
+
26137
+ /**
26138
+ * Converts this ContentCourseCompleted to JSON.
26139
+ * @returns JSON object
26140
+ */
26141
+ public toJSON(): { [k: string]: any };
26142
+ }
26143
+
26054
26144
  /** Properties of a TopicCreated. */
26055
26145
  export interface ITopicCreated {
26056
26146
 
@@ -34236,6 +34326,329 @@ export class UserEnabledWakeupNotifications implements IUserEnabledWakeupNotific
34236
34326
  public toJSON(): { [k: string]: any };
34237
34327
  }
34238
34328
 
34329
+ /** Properties of a DiscussionUser. */
34330
+ export interface IDiscussionUser {
34331
+
34332
+ /** DiscussionUser userId */
34333
+ userId?: (string|null);
34334
+
34335
+ /** DiscussionUser displayName */
34336
+ displayName?: (string|null);
34337
+ }
34338
+
34339
+ /** Represents a DiscussionUser. */
34340
+ export class DiscussionUser implements IDiscussionUser {
34341
+
34342
+ /**
34343
+ * Constructs a new DiscussionUser.
34344
+ * @param [properties] Properties to set
34345
+ */
34346
+ constructor(properties?: IDiscussionUser);
34347
+
34348
+ /** DiscussionUser userId. */
34349
+ public userId: string;
34350
+
34351
+ /** DiscussionUser displayName. */
34352
+ public displayName: string;
34353
+
34354
+ /**
34355
+ * Creates a new DiscussionUser instance using the specified properties.
34356
+ * @param [properties] Properties to set
34357
+ * @returns DiscussionUser instance
34358
+ */
34359
+ public static create(properties?: IDiscussionUser): DiscussionUser;
34360
+
34361
+ /**
34362
+ * Encodes the specified DiscussionUser message. Does not implicitly {@link DiscussionUser.verify|verify} messages.
34363
+ * @param message DiscussionUser message or plain object to encode
34364
+ * @param [writer] Writer to encode to
34365
+ * @returns Writer
34366
+ */
34367
+ public static encode(message: IDiscussionUser, writer?: $protobuf.Writer): $protobuf.Writer;
34368
+
34369
+ /**
34370
+ * Encodes the specified DiscussionUser message, length delimited. Does not implicitly {@link DiscussionUser.verify|verify} messages.
34371
+ * @param message DiscussionUser message or plain object to encode
34372
+ * @param [writer] Writer to encode to
34373
+ * @returns Writer
34374
+ */
34375
+ public static encodeDelimited(message: IDiscussionUser, writer?: $protobuf.Writer): $protobuf.Writer;
34376
+
34377
+ /**
34378
+ * Decodes a DiscussionUser message from the specified reader or buffer.
34379
+ * @param reader Reader or buffer to decode from
34380
+ * @param [length] Message length if known beforehand
34381
+ * @returns DiscussionUser
34382
+ * @throws {Error} If the payload is not a reader or valid buffer
34383
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
34384
+ */
34385
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): DiscussionUser;
34386
+
34387
+ /**
34388
+ * Decodes a DiscussionUser message from the specified reader or buffer, length delimited.
34389
+ * @param reader Reader or buffer to decode from
34390
+ * @returns DiscussionUser
34391
+ * @throws {Error} If the payload is not a reader or valid buffer
34392
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
34393
+ */
34394
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): DiscussionUser;
34395
+
34396
+ /**
34397
+ * Verifies a DiscussionUser message.
34398
+ * @param message Plain object to verify
34399
+ * @returns `null` if valid, otherwise the reason why it is not
34400
+ */
34401
+ public static verify(message: { [k: string]: any }): (string|null);
34402
+
34403
+ /**
34404
+ * Creates a DiscussionUser message from a plain object. Also converts values to their respective internal types.
34405
+ * @param object Plain object
34406
+ * @returns DiscussionUser
34407
+ */
34408
+ public static fromObject(object: { [k: string]: any }): DiscussionUser;
34409
+
34410
+ /**
34411
+ * Creates a plain object from a DiscussionUser message. Also converts values to other types if specified.
34412
+ * @param message DiscussionUser
34413
+ * @param [options] Conversion options
34414
+ * @returns Plain object
34415
+ */
34416
+ public static toObject(message: DiscussionUser, options?: $protobuf.IConversionOptions): { [k: string]: any };
34417
+
34418
+ /**
34419
+ * Converts this DiscussionUser to JSON.
34420
+ * @returns JSON object
34421
+ */
34422
+ public toJSON(): { [k: string]: any };
34423
+ }
34424
+
34425
+ /** Properties of a DiscussionPost. */
34426
+ export interface IDiscussionPost {
34427
+
34428
+ /** DiscussionPost id */
34429
+ id?: (string|null);
34430
+
34431
+ /** DiscussionPost author */
34432
+ author?: (IDiscussionUser|null);
34433
+ }
34434
+
34435
+ /** Represents a DiscussionPost. */
34436
+ export class DiscussionPost implements IDiscussionPost {
34437
+
34438
+ /**
34439
+ * Constructs a new DiscussionPost.
34440
+ * @param [properties] Properties to set
34441
+ */
34442
+ constructor(properties?: IDiscussionPost);
34443
+
34444
+ /** DiscussionPost id. */
34445
+ public id: string;
34446
+
34447
+ /** DiscussionPost author. */
34448
+ public author?: (IDiscussionUser|null);
34449
+
34450
+ /**
34451
+ * Creates a new DiscussionPost instance using the specified properties.
34452
+ * @param [properties] Properties to set
34453
+ * @returns DiscussionPost instance
34454
+ */
34455
+ public static create(properties?: IDiscussionPost): DiscussionPost;
34456
+
34457
+ /**
34458
+ * Encodes the specified DiscussionPost message. Does not implicitly {@link DiscussionPost.verify|verify} messages.
34459
+ * @param message DiscussionPost message or plain object to encode
34460
+ * @param [writer] Writer to encode to
34461
+ * @returns Writer
34462
+ */
34463
+ public static encode(message: IDiscussionPost, writer?: $protobuf.Writer): $protobuf.Writer;
34464
+
34465
+ /**
34466
+ * Encodes the specified DiscussionPost message, length delimited. Does not implicitly {@link DiscussionPost.verify|verify} messages.
34467
+ * @param message DiscussionPost message or plain object to encode
34468
+ * @param [writer] Writer to encode to
34469
+ * @returns Writer
34470
+ */
34471
+ public static encodeDelimited(message: IDiscussionPost, writer?: $protobuf.Writer): $protobuf.Writer;
34472
+
34473
+ /**
34474
+ * Decodes a DiscussionPost message from the specified reader or buffer.
34475
+ * @param reader Reader or buffer to decode from
34476
+ * @param [length] Message length if known beforehand
34477
+ * @returns DiscussionPost
34478
+ * @throws {Error} If the payload is not a reader or valid buffer
34479
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
34480
+ */
34481
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): DiscussionPost;
34482
+
34483
+ /**
34484
+ * Decodes a DiscussionPost message from the specified reader or buffer, length delimited.
34485
+ * @param reader Reader or buffer to decode from
34486
+ * @returns DiscussionPost
34487
+ * @throws {Error} If the payload is not a reader or valid buffer
34488
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
34489
+ */
34490
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): DiscussionPost;
34491
+
34492
+ /**
34493
+ * Verifies a DiscussionPost message.
34494
+ * @param message Plain object to verify
34495
+ * @returns `null` if valid, otherwise the reason why it is not
34496
+ */
34497
+ public static verify(message: { [k: string]: any }): (string|null);
34498
+
34499
+ /**
34500
+ * Creates a DiscussionPost message from a plain object. Also converts values to their respective internal types.
34501
+ * @param object Plain object
34502
+ * @returns DiscussionPost
34503
+ */
34504
+ public static fromObject(object: { [k: string]: any }): DiscussionPost;
34505
+
34506
+ /**
34507
+ * Creates a plain object from a DiscussionPost message. Also converts values to other types if specified.
34508
+ * @param message DiscussionPost
34509
+ * @param [options] Conversion options
34510
+ * @returns Plain object
34511
+ */
34512
+ public static toObject(message: DiscussionPost, options?: $protobuf.IConversionOptions): { [k: string]: any };
34513
+
34514
+ /**
34515
+ * Converts this DiscussionPost to JSON.
34516
+ * @returns JSON object
34517
+ */
34518
+ public toJSON(): { [k: string]: any };
34519
+ }
34520
+
34521
+ /** Properties of a DiscussionPostReactionCreated. */
34522
+ export interface IDiscussionPostReactionCreated {
34523
+
34524
+ /** DiscussionPostReactionCreated reactionId */
34525
+ reactionId?: (string|null);
34526
+
34527
+ /** DiscussionPostReactionCreated reactionType */
34528
+ reactionType?: (DiscussionPostReactionCreated.ReactionType|null);
34529
+
34530
+ /** DiscussionPostReactionCreated post */
34531
+ post?: (IDiscussionPost|null);
34532
+
34533
+ /** DiscussionPostReactionCreated reactionAuthor */
34534
+ reactionAuthor?: (IDiscussionUser|null);
34535
+
34536
+ /** DiscussionPostReactionCreated createdAt */
34537
+ createdAt?: (number|Long|null);
34538
+ }
34539
+
34540
+ /** Represents a DiscussionPostReactionCreated. */
34541
+ export class DiscussionPostReactionCreated implements IDiscussionPostReactionCreated {
34542
+
34543
+ /**
34544
+ * Constructs a new DiscussionPostReactionCreated.
34545
+ * @param [properties] Properties to set
34546
+ */
34547
+ constructor(properties?: IDiscussionPostReactionCreated);
34548
+
34549
+ /** DiscussionPostReactionCreated reactionId. */
34550
+ public reactionId: string;
34551
+
34552
+ /** DiscussionPostReactionCreated reactionType. */
34553
+ public reactionType: DiscussionPostReactionCreated.ReactionType;
34554
+
34555
+ /** DiscussionPostReactionCreated post. */
34556
+ public post?: (IDiscussionPost|null);
34557
+
34558
+ /** DiscussionPostReactionCreated reactionAuthor. */
34559
+ public reactionAuthor?: (IDiscussionUser|null);
34560
+
34561
+ /** DiscussionPostReactionCreated createdAt. */
34562
+ public createdAt: (number|Long);
34563
+
34564
+ /**
34565
+ * Creates a new DiscussionPostReactionCreated instance using the specified properties.
34566
+ * @param [properties] Properties to set
34567
+ * @returns DiscussionPostReactionCreated instance
34568
+ */
34569
+ public static create(properties?: IDiscussionPostReactionCreated): DiscussionPostReactionCreated;
34570
+
34571
+ /**
34572
+ * Encodes the specified DiscussionPostReactionCreated message. Does not implicitly {@link DiscussionPostReactionCreated.verify|verify} messages.
34573
+ * @param message DiscussionPostReactionCreated message or plain object to encode
34574
+ * @param [writer] Writer to encode to
34575
+ * @returns Writer
34576
+ */
34577
+ public static encode(message: IDiscussionPostReactionCreated, writer?: $protobuf.Writer): $protobuf.Writer;
34578
+
34579
+ /**
34580
+ * Encodes the specified DiscussionPostReactionCreated message, length delimited. Does not implicitly {@link DiscussionPostReactionCreated.verify|verify} messages.
34581
+ * @param message DiscussionPostReactionCreated message or plain object to encode
34582
+ * @param [writer] Writer to encode to
34583
+ * @returns Writer
34584
+ */
34585
+ public static encodeDelimited(message: IDiscussionPostReactionCreated, writer?: $protobuf.Writer): $protobuf.Writer;
34586
+
34587
+ /**
34588
+ * Decodes a DiscussionPostReactionCreated message from the specified reader or buffer.
34589
+ * @param reader Reader or buffer to decode from
34590
+ * @param [length] Message length if known beforehand
34591
+ * @returns DiscussionPostReactionCreated
34592
+ * @throws {Error} If the payload is not a reader or valid buffer
34593
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
34594
+ */
34595
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): DiscussionPostReactionCreated;
34596
+
34597
+ /**
34598
+ * Decodes a DiscussionPostReactionCreated message from the specified reader or buffer, length delimited.
34599
+ * @param reader Reader or buffer to decode from
34600
+ * @returns DiscussionPostReactionCreated
34601
+ * @throws {Error} If the payload is not a reader or valid buffer
34602
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
34603
+ */
34604
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): DiscussionPostReactionCreated;
34605
+
34606
+ /**
34607
+ * Verifies a DiscussionPostReactionCreated message.
34608
+ * @param message Plain object to verify
34609
+ * @returns `null` if valid, otherwise the reason why it is not
34610
+ */
34611
+ public static verify(message: { [k: string]: any }): (string|null);
34612
+
34613
+ /**
34614
+ * Creates a DiscussionPostReactionCreated message from a plain object. Also converts values to their respective internal types.
34615
+ * @param object Plain object
34616
+ * @returns DiscussionPostReactionCreated
34617
+ */
34618
+ public static fromObject(object: { [k: string]: any }): DiscussionPostReactionCreated;
34619
+
34620
+ /**
34621
+ * Creates a plain object from a DiscussionPostReactionCreated message. Also converts values to other types if specified.
34622
+ * @param message DiscussionPostReactionCreated
34623
+ * @param [options] Conversion options
34624
+ * @returns Plain object
34625
+ */
34626
+ public static toObject(message: DiscussionPostReactionCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
34627
+
34628
+ /**
34629
+ * Converts this DiscussionPostReactionCreated to JSON.
34630
+ * @returns JSON object
34631
+ */
34632
+ public toJSON(): { [k: string]: any };
34633
+ }
34634
+
34635
+ export namespace DiscussionPostReactionCreated {
34636
+
34637
+ /** ReactionType enum. */
34638
+ enum ReactionType {
34639
+ REACTION_TYPE_UNKNOWN = 0,
34640
+ REACTION_TYPE_LOVE_THIS = 1,
34641
+ REACTION_TYPE_JUST_SAYING_HI = 2,
34642
+ REACTION_TYPE_KEEP_IT_UP = 3,
34643
+ REACTION_TYPE_GREAT_QUESTION = 4,
34644
+ REACTION_TYPE_HIGH_FIVE = 5,
34645
+ REACTION_TYPE_LOL = 6,
34646
+ REACTION_TYPE_YOU_ARE_NOT_ALONE = 7,
34647
+ REACTION_TYPE_SORRY_TO_HEAR = 8,
34648
+ REACTION_TYPE_SENDING_HUGS = 9
34649
+ }
34650
+ }
34651
+
34239
34652
  /** Properties of an ElfNormalizationJobCompleted. */
34240
34653
  export interface IElfNormalizationJobCompleted {
34241
34654
 
@@ -35308,9 +35721,6 @@ export interface IEnterpriseUserEnrollmentCreated {
35308
35721
 
35309
35722
  /** EnterpriseUserEnrollmentCreated workEmail */
35310
35723
  workEmail?: (string|null);
35311
-
35312
- /** EnterpriseUserEnrollmentCreated gracePeriodEndsAt */
35313
- gracePeriodEndsAt?: (number|Long|null);
35314
35724
  }
35315
35725
 
35316
35726
  /** Represents an EnterpriseUserEnrollmentCreated. */
@@ -35406,9 +35816,6 @@ export class EnterpriseUserEnrollmentCreated implements IEnterpriseUserEnrollmen
35406
35816
  /** EnterpriseUserEnrollmentCreated workEmail. */
35407
35817
  public workEmail: string;
35408
35818
 
35409
- /** EnterpriseUserEnrollmentCreated gracePeriodEndsAt. */
35410
- public gracePeriodEndsAt: (number|Long);
35411
-
35412
35819
  /**
35413
35820
  * Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
35414
35821
  * @param [properties] Properties to set
@@ -35566,9 +35973,6 @@ export interface IEnterpriseUserEnrollmentRemoved {
35566
35973
 
35567
35974
  /** EnterpriseUserEnrollmentRemoved enrollmentFlow */
35568
35975
  enrollmentFlow?: (EnrollmentFlow|null);
35569
-
35570
- /** EnterpriseUserEnrollmentRemoved gracePeriodEndsAt */
35571
- gracePeriodEndsAt?: (number|Long|null);
35572
35976
  }
35573
35977
 
35574
35978
  /** Represents an EnterpriseUserEnrollmentRemoved. */
@@ -35664,9 +36068,6 @@ export class EnterpriseUserEnrollmentRemoved implements IEnterpriseUserEnrollmen
35664
36068
  /** EnterpriseUserEnrollmentRemoved enrollmentFlow. */
35665
36069
  public enrollmentFlow: EnrollmentFlow;
35666
36070
 
35667
- /** EnterpriseUserEnrollmentRemoved gracePeriodEndsAt. */
35668
- public gracePeriodEndsAt: (number|Long);
35669
-
35670
36071
  /**
35671
36072
  * Creates a new EnterpriseUserEnrollmentRemoved instance using the specified properties.
35672
36073
  * @param [properties] Properties to set
@@ -35821,9 +36222,6 @@ export interface IEnterpriseUserEnrollmentAmended {
35821
36222
 
35822
36223
  /** EnterpriseUserEnrollmentAmended enrollmentFlow */
35823
36224
  enrollmentFlow?: (EnrollmentFlow|null);
35824
-
35825
- /** EnterpriseUserEnrollmentAmended gracePeriodEndsAt */
35826
- gracePeriodEndsAt?: (number|Long|null);
35827
36225
  }
35828
36226
 
35829
36227
  /** Represents an EnterpriseUserEnrollmentAmended. */
@@ -35916,9 +36314,6 @@ export class EnterpriseUserEnrollmentAmended implements IEnterpriseUserEnrollmen
35916
36314
  /** EnterpriseUserEnrollmentAmended enrollmentFlow. */
35917
36315
  public enrollmentFlow: EnrollmentFlow;
35918
36316
 
35919
- /** EnterpriseUserEnrollmentAmended gracePeriodEndsAt. */
35920
- public gracePeriodEndsAt: (number|Long);
35921
-
35922
36317
  /**
35923
36318
  * Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
35924
36319
  * @param [properties] Properties to set