@headspace/protos-events 1.504.1-rc.0 → 1.505.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 +323 -18
  2. package/lib/index.js +808 -108
  3. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -34236,6 +34236,329 @@ export class UserEnabledWakeupNotifications implements IUserEnabledWakeupNotific
34236
34236
  public toJSON(): { [k: string]: any };
34237
34237
  }
34238
34238
 
34239
+ /** Properties of a DiscussionUser. */
34240
+ export interface IDiscussionUser {
34241
+
34242
+ /** DiscussionUser userId */
34243
+ userId?: (string|null);
34244
+
34245
+ /** DiscussionUser displayName */
34246
+ displayName?: (string|null);
34247
+ }
34248
+
34249
+ /** Represents a DiscussionUser. */
34250
+ export class DiscussionUser implements IDiscussionUser {
34251
+
34252
+ /**
34253
+ * Constructs a new DiscussionUser.
34254
+ * @param [properties] Properties to set
34255
+ */
34256
+ constructor(properties?: IDiscussionUser);
34257
+
34258
+ /** DiscussionUser userId. */
34259
+ public userId: string;
34260
+
34261
+ /** DiscussionUser displayName. */
34262
+ public displayName: string;
34263
+
34264
+ /**
34265
+ * Creates a new DiscussionUser instance using the specified properties.
34266
+ * @param [properties] Properties to set
34267
+ * @returns DiscussionUser instance
34268
+ */
34269
+ public static create(properties?: IDiscussionUser): DiscussionUser;
34270
+
34271
+ /**
34272
+ * Encodes the specified DiscussionUser message. Does not implicitly {@link DiscussionUser.verify|verify} messages.
34273
+ * @param message DiscussionUser message or plain object to encode
34274
+ * @param [writer] Writer to encode to
34275
+ * @returns Writer
34276
+ */
34277
+ public static encode(message: IDiscussionUser, writer?: $protobuf.Writer): $protobuf.Writer;
34278
+
34279
+ /**
34280
+ * Encodes the specified DiscussionUser message, length delimited. Does not implicitly {@link DiscussionUser.verify|verify} messages.
34281
+ * @param message DiscussionUser message or plain object to encode
34282
+ * @param [writer] Writer to encode to
34283
+ * @returns Writer
34284
+ */
34285
+ public static encodeDelimited(message: IDiscussionUser, writer?: $protobuf.Writer): $protobuf.Writer;
34286
+
34287
+ /**
34288
+ * Decodes a DiscussionUser message from the specified reader or buffer.
34289
+ * @param reader Reader or buffer to decode from
34290
+ * @param [length] Message length if known beforehand
34291
+ * @returns DiscussionUser
34292
+ * @throws {Error} If the payload is not a reader or valid buffer
34293
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
34294
+ */
34295
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): DiscussionUser;
34296
+
34297
+ /**
34298
+ * Decodes a DiscussionUser message from the specified reader or buffer, length delimited.
34299
+ * @param reader Reader or buffer to decode from
34300
+ * @returns DiscussionUser
34301
+ * @throws {Error} If the payload is not a reader or valid buffer
34302
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
34303
+ */
34304
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): DiscussionUser;
34305
+
34306
+ /**
34307
+ * Verifies a DiscussionUser message.
34308
+ * @param message Plain object to verify
34309
+ * @returns `null` if valid, otherwise the reason why it is not
34310
+ */
34311
+ public static verify(message: { [k: string]: any }): (string|null);
34312
+
34313
+ /**
34314
+ * Creates a DiscussionUser message from a plain object. Also converts values to their respective internal types.
34315
+ * @param object Plain object
34316
+ * @returns DiscussionUser
34317
+ */
34318
+ public static fromObject(object: { [k: string]: any }): DiscussionUser;
34319
+
34320
+ /**
34321
+ * Creates a plain object from a DiscussionUser message. Also converts values to other types if specified.
34322
+ * @param message DiscussionUser
34323
+ * @param [options] Conversion options
34324
+ * @returns Plain object
34325
+ */
34326
+ public static toObject(message: DiscussionUser, options?: $protobuf.IConversionOptions): { [k: string]: any };
34327
+
34328
+ /**
34329
+ * Converts this DiscussionUser to JSON.
34330
+ * @returns JSON object
34331
+ */
34332
+ public toJSON(): { [k: string]: any };
34333
+ }
34334
+
34335
+ /** Properties of a DiscussionPost. */
34336
+ export interface IDiscussionPost {
34337
+
34338
+ /** DiscussionPost id */
34339
+ id?: (string|null);
34340
+
34341
+ /** DiscussionPost author */
34342
+ author?: (IDiscussionUser|null);
34343
+ }
34344
+
34345
+ /** Represents a DiscussionPost. */
34346
+ export class DiscussionPost implements IDiscussionPost {
34347
+
34348
+ /**
34349
+ * Constructs a new DiscussionPost.
34350
+ * @param [properties] Properties to set
34351
+ */
34352
+ constructor(properties?: IDiscussionPost);
34353
+
34354
+ /** DiscussionPost id. */
34355
+ public id: string;
34356
+
34357
+ /** DiscussionPost author. */
34358
+ public author?: (IDiscussionUser|null);
34359
+
34360
+ /**
34361
+ * Creates a new DiscussionPost instance using the specified properties.
34362
+ * @param [properties] Properties to set
34363
+ * @returns DiscussionPost instance
34364
+ */
34365
+ public static create(properties?: IDiscussionPost): DiscussionPost;
34366
+
34367
+ /**
34368
+ * Encodes the specified DiscussionPost message. Does not implicitly {@link DiscussionPost.verify|verify} messages.
34369
+ * @param message DiscussionPost message or plain object to encode
34370
+ * @param [writer] Writer to encode to
34371
+ * @returns Writer
34372
+ */
34373
+ public static encode(message: IDiscussionPost, writer?: $protobuf.Writer): $protobuf.Writer;
34374
+
34375
+ /**
34376
+ * Encodes the specified DiscussionPost message, length delimited. Does not implicitly {@link DiscussionPost.verify|verify} messages.
34377
+ * @param message DiscussionPost message or plain object to encode
34378
+ * @param [writer] Writer to encode to
34379
+ * @returns Writer
34380
+ */
34381
+ public static encodeDelimited(message: IDiscussionPost, writer?: $protobuf.Writer): $protobuf.Writer;
34382
+
34383
+ /**
34384
+ * Decodes a DiscussionPost message from the specified reader or buffer.
34385
+ * @param reader Reader or buffer to decode from
34386
+ * @param [length] Message length if known beforehand
34387
+ * @returns DiscussionPost
34388
+ * @throws {Error} If the payload is not a reader or valid buffer
34389
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
34390
+ */
34391
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): DiscussionPost;
34392
+
34393
+ /**
34394
+ * Decodes a DiscussionPost message from the specified reader or buffer, length delimited.
34395
+ * @param reader Reader or buffer to decode from
34396
+ * @returns DiscussionPost
34397
+ * @throws {Error} If the payload is not a reader or valid buffer
34398
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
34399
+ */
34400
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): DiscussionPost;
34401
+
34402
+ /**
34403
+ * Verifies a DiscussionPost message.
34404
+ * @param message Plain object to verify
34405
+ * @returns `null` if valid, otherwise the reason why it is not
34406
+ */
34407
+ public static verify(message: { [k: string]: any }): (string|null);
34408
+
34409
+ /**
34410
+ * Creates a DiscussionPost message from a plain object. Also converts values to their respective internal types.
34411
+ * @param object Plain object
34412
+ * @returns DiscussionPost
34413
+ */
34414
+ public static fromObject(object: { [k: string]: any }): DiscussionPost;
34415
+
34416
+ /**
34417
+ * Creates a plain object from a DiscussionPost message. Also converts values to other types if specified.
34418
+ * @param message DiscussionPost
34419
+ * @param [options] Conversion options
34420
+ * @returns Plain object
34421
+ */
34422
+ public static toObject(message: DiscussionPost, options?: $protobuf.IConversionOptions): { [k: string]: any };
34423
+
34424
+ /**
34425
+ * Converts this DiscussionPost to JSON.
34426
+ * @returns JSON object
34427
+ */
34428
+ public toJSON(): { [k: string]: any };
34429
+ }
34430
+
34431
+ /** Properties of a DiscussionPostReactionCreated. */
34432
+ export interface IDiscussionPostReactionCreated {
34433
+
34434
+ /** DiscussionPostReactionCreated reactionId */
34435
+ reactionId?: (string|null);
34436
+
34437
+ /** DiscussionPostReactionCreated reactionType */
34438
+ reactionType?: (DiscussionPostReactionCreated.ReactionType|null);
34439
+
34440
+ /** DiscussionPostReactionCreated post */
34441
+ post?: (IDiscussionPost|null);
34442
+
34443
+ /** DiscussionPostReactionCreated reactionAuthor */
34444
+ reactionAuthor?: (IDiscussionUser|null);
34445
+
34446
+ /** DiscussionPostReactionCreated createdAt */
34447
+ createdAt?: (number|Long|null);
34448
+ }
34449
+
34450
+ /** Represents a DiscussionPostReactionCreated. */
34451
+ export class DiscussionPostReactionCreated implements IDiscussionPostReactionCreated {
34452
+
34453
+ /**
34454
+ * Constructs a new DiscussionPostReactionCreated.
34455
+ * @param [properties] Properties to set
34456
+ */
34457
+ constructor(properties?: IDiscussionPostReactionCreated);
34458
+
34459
+ /** DiscussionPostReactionCreated reactionId. */
34460
+ public reactionId: string;
34461
+
34462
+ /** DiscussionPostReactionCreated reactionType. */
34463
+ public reactionType: DiscussionPostReactionCreated.ReactionType;
34464
+
34465
+ /** DiscussionPostReactionCreated post. */
34466
+ public post?: (IDiscussionPost|null);
34467
+
34468
+ /** DiscussionPostReactionCreated reactionAuthor. */
34469
+ public reactionAuthor?: (IDiscussionUser|null);
34470
+
34471
+ /** DiscussionPostReactionCreated createdAt. */
34472
+ public createdAt: (number|Long);
34473
+
34474
+ /**
34475
+ * Creates a new DiscussionPostReactionCreated instance using the specified properties.
34476
+ * @param [properties] Properties to set
34477
+ * @returns DiscussionPostReactionCreated instance
34478
+ */
34479
+ public static create(properties?: IDiscussionPostReactionCreated): DiscussionPostReactionCreated;
34480
+
34481
+ /**
34482
+ * Encodes the specified DiscussionPostReactionCreated message. Does not implicitly {@link DiscussionPostReactionCreated.verify|verify} messages.
34483
+ * @param message DiscussionPostReactionCreated message or plain object to encode
34484
+ * @param [writer] Writer to encode to
34485
+ * @returns Writer
34486
+ */
34487
+ public static encode(message: IDiscussionPostReactionCreated, writer?: $protobuf.Writer): $protobuf.Writer;
34488
+
34489
+ /**
34490
+ * Encodes the specified DiscussionPostReactionCreated message, length delimited. Does not implicitly {@link DiscussionPostReactionCreated.verify|verify} messages.
34491
+ * @param message DiscussionPostReactionCreated message or plain object to encode
34492
+ * @param [writer] Writer to encode to
34493
+ * @returns Writer
34494
+ */
34495
+ public static encodeDelimited(message: IDiscussionPostReactionCreated, writer?: $protobuf.Writer): $protobuf.Writer;
34496
+
34497
+ /**
34498
+ * Decodes a DiscussionPostReactionCreated message from the specified reader or buffer.
34499
+ * @param reader Reader or buffer to decode from
34500
+ * @param [length] Message length if known beforehand
34501
+ * @returns DiscussionPostReactionCreated
34502
+ * @throws {Error} If the payload is not a reader or valid buffer
34503
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
34504
+ */
34505
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): DiscussionPostReactionCreated;
34506
+
34507
+ /**
34508
+ * Decodes a DiscussionPostReactionCreated message from the specified reader or buffer, length delimited.
34509
+ * @param reader Reader or buffer to decode from
34510
+ * @returns DiscussionPostReactionCreated
34511
+ * @throws {Error} If the payload is not a reader or valid buffer
34512
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
34513
+ */
34514
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): DiscussionPostReactionCreated;
34515
+
34516
+ /**
34517
+ * Verifies a DiscussionPostReactionCreated message.
34518
+ * @param message Plain object to verify
34519
+ * @returns `null` if valid, otherwise the reason why it is not
34520
+ */
34521
+ public static verify(message: { [k: string]: any }): (string|null);
34522
+
34523
+ /**
34524
+ * Creates a DiscussionPostReactionCreated message from a plain object. Also converts values to their respective internal types.
34525
+ * @param object Plain object
34526
+ * @returns DiscussionPostReactionCreated
34527
+ */
34528
+ public static fromObject(object: { [k: string]: any }): DiscussionPostReactionCreated;
34529
+
34530
+ /**
34531
+ * Creates a plain object from a DiscussionPostReactionCreated message. Also converts values to other types if specified.
34532
+ * @param message DiscussionPostReactionCreated
34533
+ * @param [options] Conversion options
34534
+ * @returns Plain object
34535
+ */
34536
+ public static toObject(message: DiscussionPostReactionCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
34537
+
34538
+ /**
34539
+ * Converts this DiscussionPostReactionCreated to JSON.
34540
+ * @returns JSON object
34541
+ */
34542
+ public toJSON(): { [k: string]: any };
34543
+ }
34544
+
34545
+ export namespace DiscussionPostReactionCreated {
34546
+
34547
+ /** ReactionType enum. */
34548
+ enum ReactionType {
34549
+ REACTION_TYPE_UNKNOWN = 0,
34550
+ REACTION_TYPE_LOVE_THIS = 1,
34551
+ REACTION_TYPE_JUST_SAYING_HI = 2,
34552
+ REACTION_TYPE_KEEP_IT_UP = 3,
34553
+ REACTION_TYPE_GREAT_QUESTION = 4,
34554
+ REACTION_TYPE_HIGH_FIVE = 5,
34555
+ REACTION_TYPE_LOL = 6,
34556
+ REACTION_TYPE_YOU_ARE_NOT_ALONE = 7,
34557
+ REACTION_TYPE_SORRY_TO_HEAR = 8,
34558
+ REACTION_TYPE_SENDING_HUGS = 9
34559
+ }
34560
+ }
34561
+
34239
34562
  /** Properties of an ElfNormalizationJobCompleted. */
34240
34563
  export interface IElfNormalizationJobCompleted {
34241
34564
 
@@ -35308,9 +35631,6 @@ export interface IEnterpriseUserEnrollmentCreated {
35308
35631
 
35309
35632
  /** EnterpriseUserEnrollmentCreated workEmail */
35310
35633
  workEmail?: (string|null);
35311
-
35312
- /** EnterpriseUserEnrollmentCreated gracePeriodEndsAt */
35313
- gracePeriodEndsAt?: (number|Long|null);
35314
35634
  }
35315
35635
 
35316
35636
  /** Represents an EnterpriseUserEnrollmentCreated. */
@@ -35406,9 +35726,6 @@ export class EnterpriseUserEnrollmentCreated implements IEnterpriseUserEnrollmen
35406
35726
  /** EnterpriseUserEnrollmentCreated workEmail. */
35407
35727
  public workEmail: string;
35408
35728
 
35409
- /** EnterpriseUserEnrollmentCreated gracePeriodEndsAt. */
35410
- public gracePeriodEndsAt: (number|Long);
35411
-
35412
35729
  /**
35413
35730
  * Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
35414
35731
  * @param [properties] Properties to set
@@ -35566,9 +35883,6 @@ export interface IEnterpriseUserEnrollmentRemoved {
35566
35883
 
35567
35884
  /** EnterpriseUserEnrollmentRemoved enrollmentFlow */
35568
35885
  enrollmentFlow?: (EnrollmentFlow|null);
35569
-
35570
- /** EnterpriseUserEnrollmentRemoved gracePeriodEndsAt */
35571
- gracePeriodEndsAt?: (number|Long|null);
35572
35886
  }
35573
35887
 
35574
35888
  /** Represents an EnterpriseUserEnrollmentRemoved. */
@@ -35664,9 +35978,6 @@ export class EnterpriseUserEnrollmentRemoved implements IEnterpriseUserEnrollmen
35664
35978
  /** EnterpriseUserEnrollmentRemoved enrollmentFlow. */
35665
35979
  public enrollmentFlow: EnrollmentFlow;
35666
35980
 
35667
- /** EnterpriseUserEnrollmentRemoved gracePeriodEndsAt. */
35668
- public gracePeriodEndsAt: (number|Long);
35669
-
35670
35981
  /**
35671
35982
  * Creates a new EnterpriseUserEnrollmentRemoved instance using the specified properties.
35672
35983
  * @param [properties] Properties to set
@@ -35821,9 +36132,6 @@ export interface IEnterpriseUserEnrollmentAmended {
35821
36132
 
35822
36133
  /** EnterpriseUserEnrollmentAmended enrollmentFlow */
35823
36134
  enrollmentFlow?: (EnrollmentFlow|null);
35824
-
35825
- /** EnterpriseUserEnrollmentAmended gracePeriodEndsAt */
35826
- gracePeriodEndsAt?: (number|Long|null);
35827
36135
  }
35828
36136
 
35829
36137
  /** Represents an EnterpriseUserEnrollmentAmended. */
@@ -35916,9 +36224,6 @@ export class EnterpriseUserEnrollmentAmended implements IEnterpriseUserEnrollmen
35916
36224
  /** EnterpriseUserEnrollmentAmended enrollmentFlow. */
35917
36225
  public enrollmentFlow: EnrollmentFlow;
35918
36226
 
35919
- /** EnterpriseUserEnrollmentAmended gracePeriodEndsAt. */
35920
- public gracePeriodEndsAt: (number|Long);
35921
-
35922
36227
  /**
35923
36228
  * Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
35924
36229
  * @param [properties] Properties to set