@headspace/protos-events 1.575.0 → 1.577.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 +61 -37
  2. package/lib/index.js +162 -74
  3. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -38551,6 +38551,9 @@ export interface IEnterpriseUserEnrollmentCreated {
38551
38551
 
38552
38552
  /** EnterpriseUserEnrollmentCreated healthHub */
38553
38553
  healthHub?: (string|null);
38554
+
38555
+ /** EnterpriseUserEnrollmentCreated subscriptionOrgId */
38556
+ subscriptionOrgId?: (number|null);
38554
38557
  }
38555
38558
 
38556
38559
  /** Represents an EnterpriseUserEnrollmentCreated. */
@@ -38673,6 +38676,9 @@ export class EnterpriseUserEnrollmentCreated implements IEnterpriseUserEnrollmen
38673
38676
  /** EnterpriseUserEnrollmentCreated healthHub. */
38674
38677
  public healthHub: string;
38675
38678
 
38679
+ /** EnterpriseUserEnrollmentCreated subscriptionOrgId. */
38680
+ public subscriptionOrgId: number;
38681
+
38676
38682
  /**
38677
38683
  * Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
38678
38684
  * @param [properties] Properties to set
@@ -38845,6 +38851,9 @@ export interface IEnterpriseUserEnrollmentRemoved {
38845
38851
 
38846
38852
  /** EnterpriseUserEnrollmentRemoved eapServiceType */
38847
38853
  eapServiceType?: (b2b.EapServiceType|null);
38854
+
38855
+ /** EnterpriseUserEnrollmentRemoved subscriptionOrgId */
38856
+ subscriptionOrgId?: (number|null);
38848
38857
  }
38849
38858
 
38850
38859
  /** Represents an EnterpriseUserEnrollmentRemoved. */
@@ -38955,6 +38964,9 @@ export class EnterpriseUserEnrollmentRemoved implements IEnterpriseUserEnrollmen
38955
38964
  /** EnterpriseUserEnrollmentRemoved eapServiceType. */
38956
38965
  public eapServiceType: b2b.EapServiceType;
38957
38966
 
38967
+ /** EnterpriseUserEnrollmentRemoved subscriptionOrgId. */
38968
+ public subscriptionOrgId: number;
38969
+
38958
38970
  /**
38959
38971
  * Creates a new EnterpriseUserEnrollmentRemoved instance using the specified properties.
38960
38972
  * @param [properties] Properties to set
@@ -39136,6 +39148,9 @@ export interface IEnterpriseUserEnrollmentAmended {
39136
39148
 
39137
39149
  /** EnterpriseUserEnrollmentAmended healthHub */
39138
39150
  healthHub?: (string|null);
39151
+
39152
+ /** EnterpriseUserEnrollmentAmended subscriptionOrgId */
39153
+ subscriptionOrgId?: (number|null);
39139
39154
  }
39140
39155
 
39141
39156
  /** Represents an EnterpriseUserEnrollmentAmended. */
@@ -39255,6 +39270,9 @@ export class EnterpriseUserEnrollmentAmended implements IEnterpriseUserEnrollmen
39255
39270
  /** EnterpriseUserEnrollmentAmended healthHub. */
39256
39271
  public healthHub: string;
39257
39272
 
39273
+ /** EnterpriseUserEnrollmentAmended subscriptionOrgId. */
39274
+ public subscriptionOrgId: number;
39275
+
39258
39276
  /**
39259
39277
  * Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
39260
39278
  * @param [properties] Properties to set
@@ -39358,6 +39376,9 @@ export interface IEnterpriseUserEnrollmentInitiated {
39358
39376
 
39359
39377
  /** EnterpriseUserEnrollmentInitiated dependentOf */
39360
39378
  dependentOf?: (string|null);
39379
+
39380
+ /** EnterpriseUserEnrollmentInitiated subscriptionOrgId */
39381
+ subscriptionOrgId?: (number|null);
39361
39382
  }
39362
39383
 
39363
39384
  /** Represents an EnterpriseUserEnrollmentInitiated. */
@@ -39399,6 +39420,9 @@ export class EnterpriseUserEnrollmentInitiated implements IEnterpriseUserEnrollm
39399
39420
  /** EnterpriseUserEnrollmentInitiated dependentOf. */
39400
39421
  public dependentOf: string;
39401
39422
 
39423
+ /** EnterpriseUserEnrollmentInitiated subscriptionOrgId. */
39424
+ public subscriptionOrgId: number;
39425
+
39402
39426
  /**
39403
39427
  * Creates a new EnterpriseUserEnrollmentInitiated instance using the specified properties.
39404
39428
  * @param [properties] Properties to set
@@ -43284,8 +43308,8 @@ export namespace InteractiveJournalingMessage {
43284
43308
  /** CustomAttributes disableTextInput */
43285
43309
  disableTextInput?: (boolean|null);
43286
43310
 
43287
- /** CustomAttributes isContentSuggestion */
43288
- isContentSuggestion?: (boolean|null);
43311
+ /** CustomAttributes suggestedContentId */
43312
+ suggestedContentId?: (number|null);
43289
43313
 
43290
43314
  /** CustomAttributes isLifelineWidget */
43291
43315
  isLifelineWidget?: (boolean|null);
@@ -43306,8 +43330,8 @@ export namespace InteractiveJournalingMessage {
43306
43330
  /** CustomAttributes disableTextInput. */
43307
43331
  public disableTextInput: boolean;
43308
43332
 
43309
- /** CustomAttributes isContentSuggestion. */
43310
- public isContentSuggestion: boolean;
43333
+ /** CustomAttributes suggestedContentId. */
43334
+ public suggestedContentId: number;
43311
43335
 
43312
43336
  /** CustomAttributes isLifelineWidget. */
43313
43337
  public isLifelineWidget: boolean;
@@ -43483,97 +43507,97 @@ export namespace InteractiveJournalingMessage {
43483
43507
  }
43484
43508
  }
43485
43509
 
43486
- /** Properties of a ConversationalChatMessageCreated. */
43487
- export interface IConversationalChatMessageCreated {
43510
+ /** Properties of an InteractiveJournalingMessageCreated. */
43511
+ export interface IInteractiveJournalingMessageCreated {
43488
43512
 
43489
- /** ConversationalChatMessageCreated newMessage */
43513
+ /** InteractiveJournalingMessageCreated newMessage */
43490
43514
  newMessage?: (IInteractiveJournalingMessage|null);
43491
43515
 
43492
- /** ConversationalChatMessageCreated timestamp */
43516
+ /** InteractiveJournalingMessageCreated timestamp */
43493
43517
  timestamp?: (number|Long|null);
43494
43518
  }
43495
43519
 
43496
- /** Represents a ConversationalChatMessageCreated. */
43497
- export class ConversationalChatMessageCreated implements IConversationalChatMessageCreated {
43520
+ /** Represents an InteractiveJournalingMessageCreated. */
43521
+ export class InteractiveJournalingMessageCreated implements IInteractiveJournalingMessageCreated {
43498
43522
 
43499
43523
  /**
43500
- * Constructs a new ConversationalChatMessageCreated.
43524
+ * Constructs a new InteractiveJournalingMessageCreated.
43501
43525
  * @param [properties] Properties to set
43502
43526
  */
43503
- constructor(properties?: IConversationalChatMessageCreated);
43527
+ constructor(properties?: IInteractiveJournalingMessageCreated);
43504
43528
 
43505
- /** ConversationalChatMessageCreated newMessage. */
43529
+ /** InteractiveJournalingMessageCreated newMessage. */
43506
43530
  public newMessage?: (IInteractiveJournalingMessage|null);
43507
43531
 
43508
- /** ConversationalChatMessageCreated timestamp. */
43532
+ /** InteractiveJournalingMessageCreated timestamp. */
43509
43533
  public timestamp: (number|Long);
43510
43534
 
43511
43535
  /**
43512
- * Creates a new ConversationalChatMessageCreated instance using the specified properties.
43536
+ * Creates a new InteractiveJournalingMessageCreated instance using the specified properties.
43513
43537
  * @param [properties] Properties to set
43514
- * @returns ConversationalChatMessageCreated instance
43538
+ * @returns InteractiveJournalingMessageCreated instance
43515
43539
  */
43516
- public static create(properties?: IConversationalChatMessageCreated): ConversationalChatMessageCreated;
43540
+ public static create(properties?: IInteractiveJournalingMessageCreated): InteractiveJournalingMessageCreated;
43517
43541
 
43518
43542
  /**
43519
- * Encodes the specified ConversationalChatMessageCreated message. Does not implicitly {@link ConversationalChatMessageCreated.verify|verify} messages.
43520
- * @param message ConversationalChatMessageCreated message or plain object to encode
43543
+ * Encodes the specified InteractiveJournalingMessageCreated message. Does not implicitly {@link InteractiveJournalingMessageCreated.verify|verify} messages.
43544
+ * @param message InteractiveJournalingMessageCreated message or plain object to encode
43521
43545
  * @param [writer] Writer to encode to
43522
43546
  * @returns Writer
43523
43547
  */
43524
- public static encode(message: IConversationalChatMessageCreated, writer?: $protobuf.Writer): $protobuf.Writer;
43548
+ public static encode(message: IInteractiveJournalingMessageCreated, writer?: $protobuf.Writer): $protobuf.Writer;
43525
43549
 
43526
43550
  /**
43527
- * Encodes the specified ConversationalChatMessageCreated message, length delimited. Does not implicitly {@link ConversationalChatMessageCreated.verify|verify} messages.
43528
- * @param message ConversationalChatMessageCreated message or plain object to encode
43551
+ * Encodes the specified InteractiveJournalingMessageCreated message, length delimited. Does not implicitly {@link InteractiveJournalingMessageCreated.verify|verify} messages.
43552
+ * @param message InteractiveJournalingMessageCreated message or plain object to encode
43529
43553
  * @param [writer] Writer to encode to
43530
43554
  * @returns Writer
43531
43555
  */
43532
- public static encodeDelimited(message: IConversationalChatMessageCreated, writer?: $protobuf.Writer): $protobuf.Writer;
43556
+ public static encodeDelimited(message: IInteractiveJournalingMessageCreated, writer?: $protobuf.Writer): $protobuf.Writer;
43533
43557
 
43534
43558
  /**
43535
- * Decodes a ConversationalChatMessageCreated message from the specified reader or buffer.
43559
+ * Decodes an InteractiveJournalingMessageCreated message from the specified reader or buffer.
43536
43560
  * @param reader Reader or buffer to decode from
43537
43561
  * @param [length] Message length if known beforehand
43538
- * @returns ConversationalChatMessageCreated
43562
+ * @returns InteractiveJournalingMessageCreated
43539
43563
  * @throws {Error} If the payload is not a reader or valid buffer
43540
43564
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
43541
43565
  */
43542
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ConversationalChatMessageCreated;
43566
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): InteractiveJournalingMessageCreated;
43543
43567
 
43544
43568
  /**
43545
- * Decodes a ConversationalChatMessageCreated message from the specified reader or buffer, length delimited.
43569
+ * Decodes an InteractiveJournalingMessageCreated message from the specified reader or buffer, length delimited.
43546
43570
  * @param reader Reader or buffer to decode from
43547
- * @returns ConversationalChatMessageCreated
43571
+ * @returns InteractiveJournalingMessageCreated
43548
43572
  * @throws {Error} If the payload is not a reader or valid buffer
43549
43573
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
43550
43574
  */
43551
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ConversationalChatMessageCreated;
43575
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): InteractiveJournalingMessageCreated;
43552
43576
 
43553
43577
  /**
43554
- * Verifies a ConversationalChatMessageCreated message.
43578
+ * Verifies an InteractiveJournalingMessageCreated message.
43555
43579
  * @param message Plain object to verify
43556
43580
  * @returns `null` if valid, otherwise the reason why it is not
43557
43581
  */
43558
43582
  public static verify(message: { [k: string]: any }): (string|null);
43559
43583
 
43560
43584
  /**
43561
- * Creates a ConversationalChatMessageCreated message from a plain object. Also converts values to their respective internal types.
43585
+ * Creates an InteractiveJournalingMessageCreated message from a plain object. Also converts values to their respective internal types.
43562
43586
  * @param object Plain object
43563
- * @returns ConversationalChatMessageCreated
43587
+ * @returns InteractiveJournalingMessageCreated
43564
43588
  */
43565
- public static fromObject(object: { [k: string]: any }): ConversationalChatMessageCreated;
43589
+ public static fromObject(object: { [k: string]: any }): InteractiveJournalingMessageCreated;
43566
43590
 
43567
43591
  /**
43568
- * Creates a plain object from a ConversationalChatMessageCreated message. Also converts values to other types if specified.
43569
- * @param message ConversationalChatMessageCreated
43592
+ * Creates a plain object from an InteractiveJournalingMessageCreated message. Also converts values to other types if specified.
43593
+ * @param message InteractiveJournalingMessageCreated
43570
43594
  * @param [options] Conversion options
43571
43595
  * @returns Plain object
43572
43596
  */
43573
- public static toObject(message: ConversationalChatMessageCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
43597
+ public static toObject(message: InteractiveJournalingMessageCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
43574
43598
 
43575
43599
  /**
43576
- * Converts this ConversationalChatMessageCreated to JSON.
43600
+ * Converts this InteractiveJournalingMessageCreated to JSON.
43577
43601
  * @returns JSON object
43578
43602
  */
43579
43603
  public toJSON(): { [k: string]: any };
package/lib/index.js CHANGED
@@ -107851,6 +107851,7 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
107851
107851
  * @property {number|null} [eapCoverageTotal] EnterpriseUserEnrollmentCreated eapCoverageTotal
107852
107852
  * @property {b2b.EapServiceType|null} [eapServiceType] EnterpriseUserEnrollmentCreated eapServiceType
107853
107853
  * @property {string|null} [healthHub] EnterpriseUserEnrollmentCreated healthHub
107854
+ * @property {number|null} [subscriptionOrgId] EnterpriseUserEnrollmentCreated subscriptionOrgId
107854
107855
  */
107855
107856
 
107856
107857
  /**
@@ -108164,6 +108165,14 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
108164
108165
  */
108165
108166
  EnterpriseUserEnrollmentCreated.prototype.healthHub = "";
108166
108167
 
108168
+ /**
108169
+ * EnterpriseUserEnrollmentCreated subscriptionOrgId.
108170
+ * @member {number} subscriptionOrgId
108171
+ * @memberof EnterpriseUserEnrollmentCreated
108172
+ * @instance
108173
+ */
108174
+ EnterpriseUserEnrollmentCreated.prototype.subscriptionOrgId = 0;
108175
+
108167
108176
  /**
108168
108177
  * Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
108169
108178
  * @function create
@@ -108262,6 +108271,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
108262
108271
  writer.uint32(/* id 41, wireType 0 =*/328).int32(message.eapServiceType);
108263
108272
  if (message.healthHub != null && message.hasOwnProperty("healthHub"))
108264
108273
  writer.uint32(/* id 42, wireType 2 =*/338).string(message.healthHub);
108274
+ if (message.subscriptionOrgId != null && message.hasOwnProperty("subscriptionOrgId"))
108275
+ writer.uint32(/* id 43, wireType 0 =*/344).uint32(message.subscriptionOrgId);
108265
108276
  return writer;
108266
108277
  };
108267
108278
 
@@ -108407,6 +108418,9 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
108407
108418
  case 42:
108408
108419
  message.healthHub = reader.string();
108409
108420
  break;
108421
+ case 43:
108422
+ message.subscriptionOrgId = reader.uint32();
108423
+ break;
108410
108424
  default:
108411
108425
  reader.skipType(tag & 7);
108412
108426
  break;
@@ -108598,6 +108612,9 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
108598
108612
  if (message.healthHub != null && message.hasOwnProperty("healthHub"))
108599
108613
  if (!$util.isString(message.healthHub))
108600
108614
  return "healthHub: string expected";
108615
+ if (message.subscriptionOrgId != null && message.hasOwnProperty("subscriptionOrgId"))
108616
+ if (!$util.isInteger(message.subscriptionOrgId))
108617
+ return "subscriptionOrgId: integer expected";
108601
108618
  return null;
108602
108619
  };
108603
108620
 
@@ -108830,6 +108847,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
108830
108847
  }
108831
108848
  if (object.healthHub != null)
108832
108849
  message.healthHub = String(object.healthHub);
108850
+ if (object.subscriptionOrgId != null)
108851
+ message.subscriptionOrgId = object.subscriptionOrgId >>> 0;
108833
108852
  return message;
108834
108853
  };
108835
108854
 
@@ -108904,6 +108923,7 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
108904
108923
  object.eapCoverageTotal = 0;
108905
108924
  object.eapServiceType = options.enums === String ? "EAP_SERVICE_TYPE_UNKNOWN" : 0;
108906
108925
  object.healthHub = "";
108926
+ object.subscriptionOrgId = 0;
108907
108927
  }
108908
108928
  if (message.userId != null && message.hasOwnProperty("userId"))
108909
108929
  object.userId = message.userId;
@@ -108994,6 +109014,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
108994
109014
  object.eapServiceType = options.enums === String ? $root.b2b.EapServiceType[message.eapServiceType] : message.eapServiceType;
108995
109015
  if (message.healthHub != null && message.hasOwnProperty("healthHub"))
108996
109016
  object.healthHub = message.healthHub;
109017
+ if (message.subscriptionOrgId != null && message.hasOwnProperty("subscriptionOrgId"))
109018
+ object.subscriptionOrgId = message.subscriptionOrgId;
108997
109019
  return object;
108998
109020
  };
108999
109021
 
@@ -109050,6 +109072,7 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
109050
109072
  * @property {b2b.EapCoverage|null} [eapCoverage] EnterpriseUserEnrollmentRemoved eapCoverage
109051
109073
  * @property {number|null} [eapCoverageTotal] EnterpriseUserEnrollmentRemoved eapCoverageTotal
109052
109074
  * @property {b2b.EapServiceType|null} [eapServiceType] EnterpriseUserEnrollmentRemoved eapServiceType
109075
+ * @property {number|null} [subscriptionOrgId] EnterpriseUserEnrollmentRemoved subscriptionOrgId
109053
109076
  */
109054
109077
 
109055
109078
  /**
@@ -109331,6 +109354,14 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
109331
109354
  */
109332
109355
  EnterpriseUserEnrollmentRemoved.prototype.eapServiceType = 0;
109333
109356
 
109357
+ /**
109358
+ * EnterpriseUserEnrollmentRemoved subscriptionOrgId.
109359
+ * @member {number} subscriptionOrgId
109360
+ * @memberof EnterpriseUserEnrollmentRemoved
109361
+ * @instance
109362
+ */
109363
+ EnterpriseUserEnrollmentRemoved.prototype.subscriptionOrgId = 0;
109364
+
109334
109365
  /**
109335
109366
  * Creates a new EnterpriseUserEnrollmentRemoved instance using the specified properties.
109336
109367
  * @function create
@@ -109421,6 +109452,8 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
109421
109452
  writer.uint32(/* id 37, wireType 0 =*/296).uint32(message.eapCoverageTotal);
109422
109453
  if (message.eapServiceType != null && message.hasOwnProperty("eapServiceType"))
109423
109454
  writer.uint32(/* id 38, wireType 0 =*/304).int32(message.eapServiceType);
109455
+ if (message.subscriptionOrgId != null && message.hasOwnProperty("subscriptionOrgId"))
109456
+ writer.uint32(/* id 39, wireType 0 =*/312).uint32(message.subscriptionOrgId);
109424
109457
  return writer;
109425
109458
  };
109426
109459
 
@@ -109554,6 +109587,9 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
109554
109587
  case 38:
109555
109588
  message.eapServiceType = reader.int32();
109556
109589
  break;
109590
+ case 39:
109591
+ message.subscriptionOrgId = reader.uint32();
109592
+ break;
109557
109593
  default:
109558
109594
  reader.skipType(tag & 7);
109559
109595
  break;
@@ -109748,6 +109784,9 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
109748
109784
  case 3:
109749
109785
  break;
109750
109786
  }
109787
+ if (message.subscriptionOrgId != null && message.hasOwnProperty("subscriptionOrgId"))
109788
+ if (!$util.isInteger(message.subscriptionOrgId))
109789
+ return "subscriptionOrgId: integer expected";
109751
109790
  return null;
109752
109791
  };
109753
109792
 
@@ -110020,6 +110059,8 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
110020
110059
  message.eapServiceType = 3;
110021
110060
  break;
110022
110061
  }
110062
+ if (object.subscriptionOrgId != null)
110063
+ message.subscriptionOrgId = object.subscriptionOrgId >>> 0;
110023
110064
  return message;
110024
110065
  };
110025
110066
 
@@ -110090,6 +110131,7 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
110090
110131
  object.eapCoverage = options.enums === String ? "EAP_COVERAGE_UNKNOWN" : 0;
110091
110132
  object.eapCoverageTotal = 0;
110092
110133
  object.eapServiceType = options.enums === String ? "EAP_SERVICE_TYPE_UNKNOWN" : 0;
110134
+ object.subscriptionOrgId = 0;
110093
110135
  }
110094
110136
  if (message.userId != null && message.hasOwnProperty("userId"))
110095
110137
  object.userId = message.userId;
@@ -110172,6 +110214,8 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
110172
110214
  object.eapCoverageTotal = message.eapCoverageTotal;
110173
110215
  if (message.eapServiceType != null && message.hasOwnProperty("eapServiceType"))
110174
110216
  object.eapServiceType = options.enums === String ? $root.b2b.EapServiceType[message.eapServiceType] : message.eapServiceType;
110217
+ if (message.subscriptionOrgId != null && message.hasOwnProperty("subscriptionOrgId"))
110218
+ object.subscriptionOrgId = message.subscriptionOrgId;
110175
110219
  return object;
110176
110220
  };
110177
110221
 
@@ -110231,6 +110275,7 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
110231
110275
  * @property {number|null} [eapCoverageTotal] EnterpriseUserEnrollmentAmended eapCoverageTotal
110232
110276
  * @property {b2b.EapServiceType|null} [eapServiceType] EnterpriseUserEnrollmentAmended eapServiceType
110233
110277
  * @property {string|null} [healthHub] EnterpriseUserEnrollmentAmended healthHub
110278
+ * @property {number|null} [subscriptionOrgId] EnterpriseUserEnrollmentAmended subscriptionOrgId
110234
110279
  */
110235
110280
 
110236
110281
  /**
@@ -110536,6 +110581,14 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
110536
110581
  */
110537
110582
  EnterpriseUserEnrollmentAmended.prototype.healthHub = "";
110538
110583
 
110584
+ /**
110585
+ * EnterpriseUserEnrollmentAmended subscriptionOrgId.
110586
+ * @member {number} subscriptionOrgId
110587
+ * @memberof EnterpriseUserEnrollmentAmended
110588
+ * @instance
110589
+ */
110590
+ EnterpriseUserEnrollmentAmended.prototype.subscriptionOrgId = 0;
110591
+
110539
110592
  /**
110540
110593
  * Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
110541
110594
  * @function create
@@ -110632,6 +110685,8 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
110632
110685
  writer.uint32(/* id 41, wireType 0 =*/328).int32(message.eapServiceType);
110633
110686
  if (message.healthHub != null && message.hasOwnProperty("healthHub"))
110634
110687
  writer.uint32(/* id 42, wireType 2 =*/338).string(message.healthHub);
110688
+ if (message.subscriptionOrgId != null && message.hasOwnProperty("subscriptionOrgId"))
110689
+ writer.uint32(/* id 43, wireType 0 =*/344).uint32(message.subscriptionOrgId);
110635
110690
  return writer;
110636
110691
  };
110637
110692
 
@@ -110774,6 +110829,9 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
110774
110829
  case 42:
110775
110830
  message.healthHub = reader.string();
110776
110831
  break;
110832
+ case 43:
110833
+ message.subscriptionOrgId = reader.uint32();
110834
+ break;
110777
110835
  default:
110778
110836
  reader.skipType(tag & 7);
110779
110837
  break;
@@ -110962,6 +111020,9 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
110962
111020
  if (message.healthHub != null && message.hasOwnProperty("healthHub"))
110963
111021
  if (!$util.isString(message.healthHub))
110964
111022
  return "healthHub: string expected";
111023
+ if (message.subscriptionOrgId != null && message.hasOwnProperty("subscriptionOrgId"))
111024
+ if (!$util.isInteger(message.subscriptionOrgId))
111025
+ return "subscriptionOrgId: integer expected";
110965
111026
  return null;
110966
111027
  };
110967
111028
 
@@ -111192,6 +111253,8 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
111192
111253
  }
111193
111254
  if (object.healthHub != null)
111194
111255
  message.healthHub = String(object.healthHub);
111256
+ if (object.subscriptionOrgId != null)
111257
+ message.subscriptionOrgId = object.subscriptionOrgId >>> 0;
111195
111258
  return message;
111196
111259
  };
111197
111260
 
@@ -111265,6 +111328,7 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
111265
111328
  object.eapCoverageTotal = 0;
111266
111329
  object.eapServiceType = options.enums === String ? "EAP_SERVICE_TYPE_UNKNOWN" : 0;
111267
111330
  object.healthHub = "";
111331
+ object.subscriptionOrgId = 0;
111268
111332
  }
111269
111333
  if (message.userId != null && message.hasOwnProperty("userId"))
111270
111334
  object.userId = message.userId;
@@ -111353,6 +111417,8 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
111353
111417
  object.eapServiceType = options.enums === String ? $root.b2b.EapServiceType[message.eapServiceType] : message.eapServiceType;
111354
111418
  if (message.healthHub != null && message.hasOwnProperty("healthHub"))
111355
111419
  object.healthHub = message.healthHub;
111420
+ if (message.subscriptionOrgId != null && message.hasOwnProperty("subscriptionOrgId"))
111421
+ object.subscriptionOrgId = message.subscriptionOrgId;
111356
111422
  return object;
111357
111423
  };
111358
111424
 
@@ -111386,6 +111452,7 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
111386
111452
  * @property {number|Long|null} [timestampEpochMs] EnterpriseUserEnrollmentInitiated timestampEpochMs
111387
111453
  * @property {string|null} [languagePreference] EnterpriseUserEnrollmentInitiated languagePreference
111388
111454
  * @property {string|null} [dependentOf] EnterpriseUserEnrollmentInitiated dependentOf
111455
+ * @property {number|null} [subscriptionOrgId] EnterpriseUserEnrollmentInitiated subscriptionOrgId
111389
111456
  */
111390
111457
 
111391
111458
  /**
@@ -111483,6 +111550,14 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
111483
111550
  */
111484
111551
  EnterpriseUserEnrollmentInitiated.prototype.dependentOf = "";
111485
111552
 
111553
+ /**
111554
+ * EnterpriseUserEnrollmentInitiated subscriptionOrgId.
111555
+ * @member {number} subscriptionOrgId
111556
+ * @memberof EnterpriseUserEnrollmentInitiated
111557
+ * @instance
111558
+ */
111559
+ EnterpriseUserEnrollmentInitiated.prototype.subscriptionOrgId = 0;
111560
+
111486
111561
  /**
111487
111562
  * Creates a new EnterpriseUserEnrollmentInitiated instance using the specified properties.
111488
111563
  * @function create
@@ -111527,6 +111602,8 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
111527
111602
  writer.uint32(/* id 9, wireType 2 =*/74).string(message.languagePreference);
111528
111603
  if (message.dependentOf != null && message.hasOwnProperty("dependentOf"))
111529
111604
  writer.uint32(/* id 10, wireType 2 =*/82).string(message.dependentOf);
111605
+ if (message.subscriptionOrgId != null && message.hasOwnProperty("subscriptionOrgId"))
111606
+ writer.uint32(/* id 11, wireType 0 =*/88).uint32(message.subscriptionOrgId);
111530
111607
  return writer;
111531
111608
  };
111532
111609
 
@@ -111591,6 +111668,9 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
111591
111668
  case 10:
111592
111669
  message.dependentOf = reader.string();
111593
111670
  break;
111671
+ case 11:
111672
+ message.subscriptionOrgId = reader.uint32();
111673
+ break;
111594
111674
  default:
111595
111675
  reader.skipType(tag & 7);
111596
111676
  break;
@@ -111656,6 +111736,9 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
111656
111736
  if (message.dependentOf != null && message.hasOwnProperty("dependentOf"))
111657
111737
  if (!$util.isString(message.dependentOf))
111658
111738
  return "dependentOf: string expected";
111739
+ if (message.subscriptionOrgId != null && message.hasOwnProperty("subscriptionOrgId"))
111740
+ if (!$util.isInteger(message.subscriptionOrgId))
111741
+ return "subscriptionOrgId: integer expected";
111659
111742
  return null;
111660
111743
  };
111661
111744
 
@@ -111698,6 +111781,8 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
111698
111781
  message.languagePreference = String(object.languagePreference);
111699
111782
  if (object.dependentOf != null)
111700
111783
  message.dependentOf = String(object.dependentOf);
111784
+ if (object.subscriptionOrgId != null)
111785
+ message.subscriptionOrgId = object.subscriptionOrgId >>> 0;
111701
111786
  return message;
111702
111787
  };
111703
111788
 
@@ -111729,6 +111814,7 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
111729
111814
  object.timestampEpochMs = options.longs === String ? "0" : 0;
111730
111815
  object.languagePreference = "";
111731
111816
  object.dependentOf = "";
111817
+ object.subscriptionOrgId = 0;
111732
111818
  }
111733
111819
  if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
111734
111820
  object.hsUserId = message.hsUserId;
@@ -111753,6 +111839,8 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
111753
111839
  object.languagePreference = message.languagePreference;
111754
111840
  if (message.dependentOf != null && message.hasOwnProperty("dependentOf"))
111755
111841
  object.dependentOf = message.dependentOf;
111842
+ if (message.subscriptionOrgId != null && message.hasOwnProperty("subscriptionOrgId"))
111843
+ object.subscriptionOrgId = message.subscriptionOrgId;
111756
111844
  return object;
111757
111845
  };
111758
111846
 
@@ -123080,7 +123168,7 @@ $root.InteractiveJournalingMessage = (function() {
123080
123168
  * @memberof InteractiveJournalingMessage
123081
123169
  * @interface ICustomAttributes
123082
123170
  * @property {boolean|null} [disableTextInput] CustomAttributes disableTextInput
123083
- * @property {boolean|null} [isContentSuggestion] CustomAttributes isContentSuggestion
123171
+ * @property {number|null} [suggestedContentId] CustomAttributes suggestedContentId
123084
123172
  * @property {boolean|null} [isLifelineWidget] CustomAttributes isLifelineWidget
123085
123173
  * @property {boolean|null} [isEndOfConversation] CustomAttributes isEndOfConversation
123086
123174
  */
@@ -123109,12 +123197,12 @@ $root.InteractiveJournalingMessage = (function() {
123109
123197
  CustomAttributes.prototype.disableTextInput = false;
123110
123198
 
123111
123199
  /**
123112
- * CustomAttributes isContentSuggestion.
123113
- * @member {boolean} isContentSuggestion
123200
+ * CustomAttributes suggestedContentId.
123201
+ * @member {number} suggestedContentId
123114
123202
  * @memberof InteractiveJournalingMessage.CustomAttributes
123115
123203
  * @instance
123116
123204
  */
123117
- CustomAttributes.prototype.isContentSuggestion = false;
123205
+ CustomAttributes.prototype.suggestedContentId = 0;
123118
123206
 
123119
123207
  /**
123120
123208
  * CustomAttributes isLifelineWidget.
@@ -123158,8 +123246,8 @@ $root.InteractiveJournalingMessage = (function() {
123158
123246
  writer = $Writer.create();
123159
123247
  if (message.disableTextInput != null && message.hasOwnProperty("disableTextInput"))
123160
123248
  writer.uint32(/* id 1, wireType 0 =*/8).bool(message.disableTextInput);
123161
- if (message.isContentSuggestion != null && message.hasOwnProperty("isContentSuggestion"))
123162
- writer.uint32(/* id 2, wireType 0 =*/16).bool(message.isContentSuggestion);
123249
+ if (message.suggestedContentId != null && message.hasOwnProperty("suggestedContentId"))
123250
+ writer.uint32(/* id 2, wireType 0 =*/16).int32(message.suggestedContentId);
123163
123251
  if (message.isLifelineWidget != null && message.hasOwnProperty("isLifelineWidget"))
123164
123252
  writer.uint32(/* id 3, wireType 0 =*/24).bool(message.isLifelineWidget);
123165
123253
  if (message.isEndOfConversation != null && message.hasOwnProperty("isEndOfConversation"))
@@ -123202,7 +123290,7 @@ $root.InteractiveJournalingMessage = (function() {
123202
123290
  message.disableTextInput = reader.bool();
123203
123291
  break;
123204
123292
  case 2:
123205
- message.isContentSuggestion = reader.bool();
123293
+ message.suggestedContentId = reader.int32();
123206
123294
  break;
123207
123295
  case 3:
123208
123296
  message.isLifelineWidget = reader.bool();
@@ -123248,9 +123336,9 @@ $root.InteractiveJournalingMessage = (function() {
123248
123336
  if (message.disableTextInput != null && message.hasOwnProperty("disableTextInput"))
123249
123337
  if (typeof message.disableTextInput !== "boolean")
123250
123338
  return "disableTextInput: boolean expected";
123251
- if (message.isContentSuggestion != null && message.hasOwnProperty("isContentSuggestion"))
123252
- if (typeof message.isContentSuggestion !== "boolean")
123253
- return "isContentSuggestion: boolean expected";
123339
+ if (message.suggestedContentId != null && message.hasOwnProperty("suggestedContentId"))
123340
+ if (!$util.isInteger(message.suggestedContentId))
123341
+ return "suggestedContentId: integer expected";
123254
123342
  if (message.isLifelineWidget != null && message.hasOwnProperty("isLifelineWidget"))
123255
123343
  if (typeof message.isLifelineWidget !== "boolean")
123256
123344
  return "isLifelineWidget: boolean expected";
@@ -123274,8 +123362,8 @@ $root.InteractiveJournalingMessage = (function() {
123274
123362
  var message = new $root.InteractiveJournalingMessage.CustomAttributes();
123275
123363
  if (object.disableTextInput != null)
123276
123364
  message.disableTextInput = Boolean(object.disableTextInput);
123277
- if (object.isContentSuggestion != null)
123278
- message.isContentSuggestion = Boolean(object.isContentSuggestion);
123365
+ if (object.suggestedContentId != null)
123366
+ message.suggestedContentId = object.suggestedContentId | 0;
123279
123367
  if (object.isLifelineWidget != null)
123280
123368
  message.isLifelineWidget = Boolean(object.isLifelineWidget);
123281
123369
  if (object.isEndOfConversation != null)
@@ -123298,14 +123386,14 @@ $root.InteractiveJournalingMessage = (function() {
123298
123386
  var object = {};
123299
123387
  if (options.defaults) {
123300
123388
  object.disableTextInput = false;
123301
- object.isContentSuggestion = false;
123389
+ object.suggestedContentId = 0;
123302
123390
  object.isLifelineWidget = false;
123303
123391
  object.isEndOfConversation = false;
123304
123392
  }
123305
123393
  if (message.disableTextInput != null && message.hasOwnProperty("disableTextInput"))
123306
123394
  object.disableTextInput = message.disableTextInput;
123307
- if (message.isContentSuggestion != null && message.hasOwnProperty("isContentSuggestion"))
123308
- object.isContentSuggestion = message.isContentSuggestion;
123395
+ if (message.suggestedContentId != null && message.hasOwnProperty("suggestedContentId"))
123396
+ object.suggestedContentId = message.suggestedContentId;
123309
123397
  if (message.isLifelineWidget != null && message.hasOwnProperty("isLifelineWidget"))
123310
123398
  object.isLifelineWidget = message.isLifelineWidget;
123311
123399
  if (message.isEndOfConversation != null && message.hasOwnProperty("isEndOfConversation"))
@@ -123540,25 +123628,25 @@ $root.InteractiveJournalingMessage = (function() {
123540
123628
  return InteractiveJournalingMessage;
123541
123629
  })();
123542
123630
 
123543
- $root.ConversationalChatMessageCreated = (function() {
123631
+ $root.InteractiveJournalingMessageCreated = (function() {
123544
123632
 
123545
123633
  /**
123546
- * Properties of a ConversationalChatMessageCreated.
123547
- * @name IConversationalChatMessageCreated
123548
- * @interface IConversationalChatMessageCreated
123549
- * @property {IInteractiveJournalingMessage|null} [newMessage] ConversationalChatMessageCreated newMessage
123550
- * @property {number|Long|null} [timestamp] ConversationalChatMessageCreated timestamp
123634
+ * Properties of an InteractiveJournalingMessageCreated.
123635
+ * @name IInteractiveJournalingMessageCreated
123636
+ * @interface IInteractiveJournalingMessageCreated
123637
+ * @property {IInteractiveJournalingMessage|null} [newMessage] InteractiveJournalingMessageCreated newMessage
123638
+ * @property {number|Long|null} [timestamp] InteractiveJournalingMessageCreated timestamp
123551
123639
  */
123552
123640
 
123553
123641
  /**
123554
- * Constructs a new ConversationalChatMessageCreated.
123555
- * @name ConversationalChatMessageCreated
123556
- * @classdesc Represents a ConversationalChatMessageCreated.
123557
- * @implements IConversationalChatMessageCreated
123642
+ * Constructs a new InteractiveJournalingMessageCreated.
123643
+ * @name InteractiveJournalingMessageCreated
123644
+ * @classdesc Represents an InteractiveJournalingMessageCreated.
123645
+ * @implements IInteractiveJournalingMessageCreated
123558
123646
  * @constructor
123559
- * @param {IConversationalChatMessageCreated=} [properties] Properties to set
123647
+ * @param {IInteractiveJournalingMessageCreated=} [properties] Properties to set
123560
123648
  */
123561
- function ConversationalChatMessageCreated(properties) {
123649
+ function InteractiveJournalingMessageCreated(properties) {
123562
123650
  if (properties)
123563
123651
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
123564
123652
  if (properties[keys[i]] != null)
@@ -123566,43 +123654,43 @@ $root.ConversationalChatMessageCreated = (function() {
123566
123654
  }
123567
123655
 
123568
123656
  /**
123569
- * ConversationalChatMessageCreated newMessage.
123657
+ * InteractiveJournalingMessageCreated newMessage.
123570
123658
  * @member {IInteractiveJournalingMessage|null|undefined} newMessage
123571
- * @memberof ConversationalChatMessageCreated
123659
+ * @memberof InteractiveJournalingMessageCreated
123572
123660
  * @instance
123573
123661
  */
123574
- ConversationalChatMessageCreated.prototype.newMessage = null;
123662
+ InteractiveJournalingMessageCreated.prototype.newMessage = null;
123575
123663
 
123576
123664
  /**
123577
- * ConversationalChatMessageCreated timestamp.
123665
+ * InteractiveJournalingMessageCreated timestamp.
123578
123666
  * @member {number|Long} timestamp
123579
- * @memberof ConversationalChatMessageCreated
123667
+ * @memberof InteractiveJournalingMessageCreated
123580
123668
  * @instance
123581
123669
  */
123582
- ConversationalChatMessageCreated.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
123670
+ InteractiveJournalingMessageCreated.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
123583
123671
 
123584
123672
  /**
123585
- * Creates a new ConversationalChatMessageCreated instance using the specified properties.
123673
+ * Creates a new InteractiveJournalingMessageCreated instance using the specified properties.
123586
123674
  * @function create
123587
- * @memberof ConversationalChatMessageCreated
123675
+ * @memberof InteractiveJournalingMessageCreated
123588
123676
  * @static
123589
- * @param {IConversationalChatMessageCreated=} [properties] Properties to set
123590
- * @returns {ConversationalChatMessageCreated} ConversationalChatMessageCreated instance
123677
+ * @param {IInteractiveJournalingMessageCreated=} [properties] Properties to set
123678
+ * @returns {InteractiveJournalingMessageCreated} InteractiveJournalingMessageCreated instance
123591
123679
  */
123592
- ConversationalChatMessageCreated.create = function create(properties) {
123593
- return new ConversationalChatMessageCreated(properties);
123680
+ InteractiveJournalingMessageCreated.create = function create(properties) {
123681
+ return new InteractiveJournalingMessageCreated(properties);
123594
123682
  };
123595
123683
 
123596
123684
  /**
123597
- * Encodes the specified ConversationalChatMessageCreated message. Does not implicitly {@link ConversationalChatMessageCreated.verify|verify} messages.
123685
+ * Encodes the specified InteractiveJournalingMessageCreated message. Does not implicitly {@link InteractiveJournalingMessageCreated.verify|verify} messages.
123598
123686
  * @function encode
123599
- * @memberof ConversationalChatMessageCreated
123687
+ * @memberof InteractiveJournalingMessageCreated
123600
123688
  * @static
123601
- * @param {IConversationalChatMessageCreated} message ConversationalChatMessageCreated message or plain object to encode
123689
+ * @param {IInteractiveJournalingMessageCreated} message InteractiveJournalingMessageCreated message or plain object to encode
123602
123690
  * @param {$protobuf.Writer} [writer] Writer to encode to
123603
123691
  * @returns {$protobuf.Writer} Writer
123604
123692
  */
123605
- ConversationalChatMessageCreated.encode = function encode(message, writer) {
123693
+ InteractiveJournalingMessageCreated.encode = function encode(message, writer) {
123606
123694
  if (!writer)
123607
123695
  writer = $Writer.create();
123608
123696
  if (message.newMessage != null && message.hasOwnProperty("newMessage"))
@@ -123613,33 +123701,33 @@ $root.ConversationalChatMessageCreated = (function() {
123613
123701
  };
123614
123702
 
123615
123703
  /**
123616
- * Encodes the specified ConversationalChatMessageCreated message, length delimited. Does not implicitly {@link ConversationalChatMessageCreated.verify|verify} messages.
123704
+ * Encodes the specified InteractiveJournalingMessageCreated message, length delimited. Does not implicitly {@link InteractiveJournalingMessageCreated.verify|verify} messages.
123617
123705
  * @function encodeDelimited
123618
- * @memberof ConversationalChatMessageCreated
123706
+ * @memberof InteractiveJournalingMessageCreated
123619
123707
  * @static
123620
- * @param {IConversationalChatMessageCreated} message ConversationalChatMessageCreated message or plain object to encode
123708
+ * @param {IInteractiveJournalingMessageCreated} message InteractiveJournalingMessageCreated message or plain object to encode
123621
123709
  * @param {$protobuf.Writer} [writer] Writer to encode to
123622
123710
  * @returns {$protobuf.Writer} Writer
123623
123711
  */
123624
- ConversationalChatMessageCreated.encodeDelimited = function encodeDelimited(message, writer) {
123712
+ InteractiveJournalingMessageCreated.encodeDelimited = function encodeDelimited(message, writer) {
123625
123713
  return this.encode(message, writer).ldelim();
123626
123714
  };
123627
123715
 
123628
123716
  /**
123629
- * Decodes a ConversationalChatMessageCreated message from the specified reader or buffer.
123717
+ * Decodes an InteractiveJournalingMessageCreated message from the specified reader or buffer.
123630
123718
  * @function decode
123631
- * @memberof ConversationalChatMessageCreated
123719
+ * @memberof InteractiveJournalingMessageCreated
123632
123720
  * @static
123633
123721
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
123634
123722
  * @param {number} [length] Message length if known beforehand
123635
- * @returns {ConversationalChatMessageCreated} ConversationalChatMessageCreated
123723
+ * @returns {InteractiveJournalingMessageCreated} InteractiveJournalingMessageCreated
123636
123724
  * @throws {Error} If the payload is not a reader or valid buffer
123637
123725
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
123638
123726
  */
123639
- ConversationalChatMessageCreated.decode = function decode(reader, length) {
123727
+ InteractiveJournalingMessageCreated.decode = function decode(reader, length) {
123640
123728
  if (!(reader instanceof $Reader))
123641
123729
  reader = $Reader.create(reader);
123642
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ConversationalChatMessageCreated();
123730
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.InteractiveJournalingMessageCreated();
123643
123731
  while (reader.pos < end) {
123644
123732
  var tag = reader.uint32();
123645
123733
  switch (tag >>> 3) {
@@ -123658,30 +123746,30 @@ $root.ConversationalChatMessageCreated = (function() {
123658
123746
  };
123659
123747
 
123660
123748
  /**
123661
- * Decodes a ConversationalChatMessageCreated message from the specified reader or buffer, length delimited.
123749
+ * Decodes an InteractiveJournalingMessageCreated message from the specified reader or buffer, length delimited.
123662
123750
  * @function decodeDelimited
123663
- * @memberof ConversationalChatMessageCreated
123751
+ * @memberof InteractiveJournalingMessageCreated
123664
123752
  * @static
123665
123753
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
123666
- * @returns {ConversationalChatMessageCreated} ConversationalChatMessageCreated
123754
+ * @returns {InteractiveJournalingMessageCreated} InteractiveJournalingMessageCreated
123667
123755
  * @throws {Error} If the payload is not a reader or valid buffer
123668
123756
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
123669
123757
  */
123670
- ConversationalChatMessageCreated.decodeDelimited = function decodeDelimited(reader) {
123758
+ InteractiveJournalingMessageCreated.decodeDelimited = function decodeDelimited(reader) {
123671
123759
  if (!(reader instanceof $Reader))
123672
123760
  reader = new $Reader(reader);
123673
123761
  return this.decode(reader, reader.uint32());
123674
123762
  };
123675
123763
 
123676
123764
  /**
123677
- * Verifies a ConversationalChatMessageCreated message.
123765
+ * Verifies an InteractiveJournalingMessageCreated message.
123678
123766
  * @function verify
123679
- * @memberof ConversationalChatMessageCreated
123767
+ * @memberof InteractiveJournalingMessageCreated
123680
123768
  * @static
123681
123769
  * @param {Object.<string,*>} message Plain object to verify
123682
123770
  * @returns {string|null} `null` if valid, otherwise the reason why it is not
123683
123771
  */
123684
- ConversationalChatMessageCreated.verify = function verify(message) {
123772
+ InteractiveJournalingMessageCreated.verify = function verify(message) {
123685
123773
  if (typeof message !== "object" || message === null)
123686
123774
  return "object expected";
123687
123775
  if (message.newMessage != null && message.hasOwnProperty("newMessage")) {
@@ -123696,20 +123784,20 @@ $root.ConversationalChatMessageCreated = (function() {
123696
123784
  };
123697
123785
 
123698
123786
  /**
123699
- * Creates a ConversationalChatMessageCreated message from a plain object. Also converts values to their respective internal types.
123787
+ * Creates an InteractiveJournalingMessageCreated message from a plain object. Also converts values to their respective internal types.
123700
123788
  * @function fromObject
123701
- * @memberof ConversationalChatMessageCreated
123789
+ * @memberof InteractiveJournalingMessageCreated
123702
123790
  * @static
123703
123791
  * @param {Object.<string,*>} object Plain object
123704
- * @returns {ConversationalChatMessageCreated} ConversationalChatMessageCreated
123792
+ * @returns {InteractiveJournalingMessageCreated} InteractiveJournalingMessageCreated
123705
123793
  */
123706
- ConversationalChatMessageCreated.fromObject = function fromObject(object) {
123707
- if (object instanceof $root.ConversationalChatMessageCreated)
123794
+ InteractiveJournalingMessageCreated.fromObject = function fromObject(object) {
123795
+ if (object instanceof $root.InteractiveJournalingMessageCreated)
123708
123796
  return object;
123709
- var message = new $root.ConversationalChatMessageCreated();
123797
+ var message = new $root.InteractiveJournalingMessageCreated();
123710
123798
  if (object.newMessage != null) {
123711
123799
  if (typeof object.newMessage !== "object")
123712
- throw TypeError(".ConversationalChatMessageCreated.newMessage: object expected");
123800
+ throw TypeError(".InteractiveJournalingMessageCreated.newMessage: object expected");
123713
123801
  message.newMessage = $root.InteractiveJournalingMessage.fromObject(object.newMessage);
123714
123802
  }
123715
123803
  if (object.timestamp != null)
@@ -123725,15 +123813,15 @@ $root.ConversationalChatMessageCreated = (function() {
123725
123813
  };
123726
123814
 
123727
123815
  /**
123728
- * Creates a plain object from a ConversationalChatMessageCreated message. Also converts values to other types if specified.
123816
+ * Creates a plain object from an InteractiveJournalingMessageCreated message. Also converts values to other types if specified.
123729
123817
  * @function toObject
123730
- * @memberof ConversationalChatMessageCreated
123818
+ * @memberof InteractiveJournalingMessageCreated
123731
123819
  * @static
123732
- * @param {ConversationalChatMessageCreated} message ConversationalChatMessageCreated
123820
+ * @param {InteractiveJournalingMessageCreated} message InteractiveJournalingMessageCreated
123733
123821
  * @param {$protobuf.IConversionOptions} [options] Conversion options
123734
123822
  * @returns {Object.<string,*>} Plain object
123735
123823
  */
123736
- ConversationalChatMessageCreated.toObject = function toObject(message, options) {
123824
+ InteractiveJournalingMessageCreated.toObject = function toObject(message, options) {
123737
123825
  if (!options)
123738
123826
  options = {};
123739
123827
  var object = {};
@@ -123756,17 +123844,17 @@ $root.ConversationalChatMessageCreated = (function() {
123756
123844
  };
123757
123845
 
123758
123846
  /**
123759
- * Converts this ConversationalChatMessageCreated to JSON.
123847
+ * Converts this InteractiveJournalingMessageCreated to JSON.
123760
123848
  * @function toJSON
123761
- * @memberof ConversationalChatMessageCreated
123849
+ * @memberof InteractiveJournalingMessageCreated
123762
123850
  * @instance
123763
123851
  * @returns {Object.<string,*>} JSON object
123764
123852
  */
123765
- ConversationalChatMessageCreated.prototype.toJSON = function toJSON() {
123853
+ InteractiveJournalingMessageCreated.prototype.toJSON = function toJSON() {
123766
123854
  return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
123767
123855
  };
123768
123856
 
123769
- return ConversationalChatMessageCreated;
123857
+ return InteractiveJournalingMessageCreated;
123770
123858
  })();
123771
123859
 
123772
123860
  $root.LayoutCreated = (function() {
package/package.json CHANGED
@@ -16,5 +16,5 @@
16
16
  "main": "lib/index.js",
17
17
  "name": "@headspace/protos-events",
18
18
  "typings": "lib/index.d.ts",
19
- "version": "1.575.0"
19
+ "version": "1.577.0"
20
20
  }