@headspace/protos-events 1.262.0 → 1.264.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 +23 -14
  2. package/lib/index.js +157 -48
  3. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -9291,6 +9291,13 @@ export namespace b2b {
9291
9291
  ORGPLAN_B2B = 1,
9292
9292
  ORGPLAN_B2B_FAMILY_PLAN = 2
9293
9293
  }
9294
+
9295
+ /** SSOConnectionAction enum. */
9296
+ enum SSOConnectionAction {
9297
+ CONNECTION_NO_UPDATE = 0,
9298
+ CONNECTION_SET = 1,
9299
+ CONNECTION_UNSET = 2
9300
+ }
9294
9301
  }
9295
9302
 
9296
9303
  /** Namespace community. */
@@ -21781,7 +21788,8 @@ export enum ContentType {
21781
21788
  CONTENT_TYPE_INTERVIEW = 13,
21782
21789
  CONTENT_TYPE_TECHNIQUE = 14,
21783
21790
  CONTENT_TYPE_COURSE_ACTIVITY = 15,
21784
- CONTENT_TYPE_INTEGRATED_AUDIO = 16
21791
+ CONTENT_TYPE_INTEGRATED_AUDIO = 16,
21792
+ CONTENT_TYPE_ACTIVITY = 17
21785
21793
  }
21786
21794
 
21787
21795
  /** Mode enum. */
@@ -21826,7 +21834,8 @@ export enum ContentTypeDisplayValue {
21826
21834
  CONTENT_TYPE_DISPLAY_VALUE_UNGUIDED = 20,
21827
21835
  CONTENT_TYPE_DISPLAY_VALUE_JOURNAL = 21,
21828
21836
  CONTENT_TYPE_DISPLAY_VALUE_STRETCH = 22,
21829
- CONTENT_TYPE_DISPLAY_VALUE_THE_WIND_DOWN = 23
21837
+ CONTENT_TYPE_DISPLAY_VALUE_THE_WIND_DOWN = 23,
21838
+ CONTENT_TYPE_DISPLAY_VALUE_SESSION = 24
21830
21839
  }
21831
21840
 
21832
21841
  /** Properties of a ContentPlayedMetadata. */
@@ -27025,8 +27034,8 @@ export interface IEnterpriseUserEnrollmentCreated {
27025
27034
  /** EnterpriseUserEnrollmentCreated isTelehealthEnabled */
27026
27035
  isTelehealthEnabled?: (boolean|null);
27027
27036
 
27028
- /** EnterpriseUserEnrollmentCreated ssoLinked */
27029
- ssoLinked?: (boolean|null);
27037
+ /** EnterpriseUserEnrollmentCreated ssoConnectionAction */
27038
+ ssoConnectionAction?: (b2b.SSOConnectionAction|null);
27030
27039
  }
27031
27040
 
27032
27041
  /** Represents an EnterpriseUserEnrollmentCreated. */
@@ -27092,8 +27101,8 @@ export class EnterpriseUserEnrollmentCreated implements IEnterpriseUserEnrollmen
27092
27101
  /** EnterpriseUserEnrollmentCreated isTelehealthEnabled. */
27093
27102
  public isTelehealthEnabled: boolean;
27094
27103
 
27095
- /** EnterpriseUserEnrollmentCreated ssoLinked. */
27096
- public ssoLinked: boolean;
27104
+ /** EnterpriseUserEnrollmentCreated ssoConnectionAction. */
27105
+ public ssoConnectionAction: b2b.SSOConnectionAction;
27097
27106
 
27098
27107
  /**
27099
27108
  * Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
@@ -27226,8 +27235,8 @@ export interface IEnterpriseUserEnrollmentRemoved {
27226
27235
  /** EnterpriseUserEnrollmentRemoved isTelehealthEnabled */
27227
27236
  isTelehealthEnabled?: (boolean|null);
27228
27237
 
27229
- /** EnterpriseUserEnrollmentRemoved ssoLinked */
27230
- ssoLinked?: (boolean|null);
27238
+ /** EnterpriseUserEnrollmentRemoved ssoConnectionAction */
27239
+ ssoConnectionAction?: (b2b.SSOConnectionAction|null);
27231
27240
  }
27232
27241
 
27233
27242
  /** Represents an EnterpriseUserEnrollmentRemoved. */
@@ -27296,8 +27305,8 @@ export class EnterpriseUserEnrollmentRemoved implements IEnterpriseUserEnrollmen
27296
27305
  /** EnterpriseUserEnrollmentRemoved isTelehealthEnabled. */
27297
27306
  public isTelehealthEnabled: boolean;
27298
27307
 
27299
- /** EnterpriseUserEnrollmentRemoved ssoLinked. */
27300
- public ssoLinked: boolean;
27308
+ /** EnterpriseUserEnrollmentRemoved ssoConnectionAction. */
27309
+ public ssoConnectionAction: b2b.SSOConnectionAction;
27301
27310
 
27302
27311
  /**
27303
27312
  * Creates a new EnterpriseUserEnrollmentRemoved instance using the specified properties.
@@ -27427,8 +27436,8 @@ export interface IEnterpriseUserEnrollmentAmended {
27427
27436
  /** EnterpriseUserEnrollmentAmended isTelehealthEnabled */
27428
27437
  isTelehealthEnabled?: (boolean|null);
27429
27438
 
27430
- /** EnterpriseUserEnrollmentAmended ssoLinked */
27431
- ssoLinked?: (boolean|null);
27439
+ /** EnterpriseUserEnrollmentAmended ssoConnectionAction */
27440
+ ssoConnectionAction?: (b2b.SSOConnectionAction|null);
27432
27441
  }
27433
27442
 
27434
27443
  /** Represents an EnterpriseUserEnrollmentAmended. */
@@ -27494,8 +27503,8 @@ export class EnterpriseUserEnrollmentAmended implements IEnterpriseUserEnrollmen
27494
27503
  /** EnterpriseUserEnrollmentAmended isTelehealthEnabled. */
27495
27504
  public isTelehealthEnabled: boolean;
27496
27505
 
27497
- /** EnterpriseUserEnrollmentAmended ssoLinked. */
27498
- public ssoLinked: boolean;
27506
+ /** EnterpriseUserEnrollmentAmended ssoConnectionAction. */
27507
+ public ssoConnectionAction: b2b.SSOConnectionAction;
27499
27508
 
27500
27509
  /**
27501
27510
  * Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
package/lib/index.js CHANGED
@@ -22059,6 +22059,22 @@ $root.b2b = (function() {
22059
22059
  return values;
22060
22060
  })();
22061
22061
 
22062
+ /**
22063
+ * SSOConnectionAction enum.
22064
+ * @name b2b.SSOConnectionAction
22065
+ * @enum {string}
22066
+ * @property {number} CONNECTION_NO_UPDATE=0 CONNECTION_NO_UPDATE value
22067
+ * @property {number} CONNECTION_SET=1 CONNECTION_SET value
22068
+ * @property {number} CONNECTION_UNSET=2 CONNECTION_UNSET value
22069
+ */
22070
+ b2b.SSOConnectionAction = (function() {
22071
+ var valuesById = {}, values = Object.create(valuesById);
22072
+ values[valuesById[0] = "CONNECTION_NO_UPDATE"] = 0;
22073
+ values[valuesById[1] = "CONNECTION_SET"] = 1;
22074
+ values[valuesById[2] = "CONNECTION_UNSET"] = 2;
22075
+ return values;
22076
+ })();
22077
+
22062
22078
  return b2b;
22063
22079
  })();
22064
22080
 
@@ -58226,6 +58242,7 @@ $root.ContentPlayed = (function() {
58226
58242
  case 14:
58227
58243
  case 15:
58228
58244
  case 16:
58245
+ case 17:
58229
58246
  break;
58230
58247
  }
58231
58248
  if (message.mode != null && message.hasOwnProperty("mode"))
@@ -58342,6 +58359,10 @@ $root.ContentPlayed = (function() {
58342
58359
  case 16:
58343
58360
  message.contentType = 16;
58344
58361
  break;
58362
+ case "CONTENT_TYPE_ACTIVITY":
58363
+ case 17:
58364
+ message.contentType = 17;
58365
+ break;
58345
58366
  }
58346
58367
  switch (object.mode) {
58347
58368
  case "MODE_UNRECOGNIZED":
@@ -58686,6 +58707,7 @@ $root.ContentPlayedBatch = (function() {
58686
58707
  * @property {number} CONTENT_TYPE_TECHNIQUE=14 CONTENT_TYPE_TECHNIQUE value
58687
58708
  * @property {number} CONTENT_TYPE_COURSE_ACTIVITY=15 CONTENT_TYPE_COURSE_ACTIVITY value
58688
58709
  * @property {number} CONTENT_TYPE_INTEGRATED_AUDIO=16 CONTENT_TYPE_INTEGRATED_AUDIO value
58710
+ * @property {number} CONTENT_TYPE_ACTIVITY=17 CONTENT_TYPE_ACTIVITY value
58689
58711
  */
58690
58712
  $root.ContentType = (function() {
58691
58713
  var valuesById = {}, values = Object.create(valuesById);
@@ -58706,6 +58728,7 @@ $root.ContentType = (function() {
58706
58728
  values[valuesById[14] = "CONTENT_TYPE_TECHNIQUE"] = 14;
58707
58729
  values[valuesById[15] = "CONTENT_TYPE_COURSE_ACTIVITY"] = 15;
58708
58730
  values[valuesById[16] = "CONTENT_TYPE_INTEGRATED_AUDIO"] = 16;
58731
+ values[valuesById[17] = "CONTENT_TYPE_ACTIVITY"] = 17;
58709
58732
  return values;
58710
58733
  })();
58711
58734
 
@@ -58775,6 +58798,7 @@ $root.ColorTheme = (function() {
58775
58798
  * @property {number} CONTENT_TYPE_DISPLAY_VALUE_JOURNAL=21 CONTENT_TYPE_DISPLAY_VALUE_JOURNAL value
58776
58799
  * @property {number} CONTENT_TYPE_DISPLAY_VALUE_STRETCH=22 CONTENT_TYPE_DISPLAY_VALUE_STRETCH value
58777
58800
  * @property {number} CONTENT_TYPE_DISPLAY_VALUE_THE_WIND_DOWN=23 CONTENT_TYPE_DISPLAY_VALUE_THE_WIND_DOWN value
58801
+ * @property {number} CONTENT_TYPE_DISPLAY_VALUE_SESSION=24 CONTENT_TYPE_DISPLAY_VALUE_SESSION value
58778
58802
  */
58779
58803
  $root.ContentTypeDisplayValue = (function() {
58780
58804
  var valuesById = {}, values = Object.create(valuesById);
@@ -58802,6 +58826,7 @@ $root.ContentTypeDisplayValue = (function() {
58802
58826
  values[valuesById[21] = "CONTENT_TYPE_DISPLAY_VALUE_JOURNAL"] = 21;
58803
58827
  values[valuesById[22] = "CONTENT_TYPE_DISPLAY_VALUE_STRETCH"] = 22;
58804
58828
  values[valuesById[23] = "CONTENT_TYPE_DISPLAY_VALUE_THE_WIND_DOWN"] = 23;
58829
+ values[valuesById[24] = "CONTENT_TYPE_DISPLAY_VALUE_SESSION"] = 24;
58805
58830
  return values;
58806
58831
  })();
58807
58832
 
@@ -59381,6 +59406,7 @@ $root.ContentEntityCreated = (function() {
59381
59406
  case 14:
59382
59407
  case 15:
59383
59408
  case 16:
59409
+ case 17:
59384
59410
  break;
59385
59411
  }
59386
59412
  if (message.colorTheme != null && message.hasOwnProperty("colorTheme"))
@@ -59429,6 +59455,7 @@ $root.ContentEntityCreated = (function() {
59429
59455
  case 21:
59430
59456
  case 22:
59431
59457
  case 23:
59458
+ case 24:
59432
59459
  break;
59433
59460
  }
59434
59461
  if (message.contentInfoScreenTheme != null && message.hasOwnProperty("contentInfoScreenTheme"))
@@ -59541,6 +59568,10 @@ $root.ContentEntityCreated = (function() {
59541
59568
  case 16:
59542
59569
  message.contentType = 16;
59543
59570
  break;
59571
+ case "CONTENT_TYPE_ACTIVITY":
59572
+ case 17:
59573
+ message.contentType = 17;
59574
+ break;
59544
59575
  }
59545
59576
  switch (object.colorTheme) {
59546
59577
  case "COLOR_THEME_UNRECOGNIZED":
@@ -59659,6 +59690,10 @@ $root.ContentEntityCreated = (function() {
59659
59690
  case 23:
59660
59691
  message.contentTypeDisplayValue = 23;
59661
59692
  break;
59693
+ case "CONTENT_TYPE_DISPLAY_VALUE_SESSION":
59694
+ case 24:
59695
+ message.contentTypeDisplayValue = 24;
59696
+ break;
59662
59697
  }
59663
59698
  switch (object.contentInfoScreenTheme) {
59664
59699
  case "COLOR_THEME_UNRECOGNIZED":
@@ -60108,6 +60143,7 @@ $root.ContentEntityUpdated = (function() {
60108
60143
  case 14:
60109
60144
  case 15:
60110
60145
  case 16:
60146
+ case 17:
60111
60147
  break;
60112
60148
  }
60113
60149
  if (message.colorTheme != null && message.hasOwnProperty("colorTheme"))
@@ -60156,6 +60192,7 @@ $root.ContentEntityUpdated = (function() {
60156
60192
  case 21:
60157
60193
  case 22:
60158
60194
  case 23:
60195
+ case 24:
60159
60196
  break;
60160
60197
  }
60161
60198
  if (message.contentInfoScreenTheme != null && message.hasOwnProperty("contentInfoScreenTheme"))
@@ -60268,6 +60305,10 @@ $root.ContentEntityUpdated = (function() {
60268
60305
  case 16:
60269
60306
  message.contentType = 16;
60270
60307
  break;
60308
+ case "CONTENT_TYPE_ACTIVITY":
60309
+ case 17:
60310
+ message.contentType = 17;
60311
+ break;
60271
60312
  }
60272
60313
  switch (object.colorTheme) {
60273
60314
  case "COLOR_THEME_UNRECOGNIZED":
@@ -60386,6 +60427,10 @@ $root.ContentEntityUpdated = (function() {
60386
60427
  case 23:
60387
60428
  message.contentTypeDisplayValue = 23;
60388
60429
  break;
60430
+ case "CONTENT_TYPE_DISPLAY_VALUE_SESSION":
60431
+ case 24:
60432
+ message.contentTypeDisplayValue = 24;
60433
+ break;
60389
60434
  }
60390
60435
  switch (object.contentInfoScreenTheme) {
60391
60436
  case "COLOR_THEME_UNRECOGNIZED":
@@ -60835,6 +60880,7 @@ $root.ContentEntityDeleted = (function() {
60835
60880
  case 14:
60836
60881
  case 15:
60837
60882
  case 16:
60883
+ case 17:
60838
60884
  break;
60839
60885
  }
60840
60886
  if (message.colorTheme != null && message.hasOwnProperty("colorTheme"))
@@ -60883,6 +60929,7 @@ $root.ContentEntityDeleted = (function() {
60883
60929
  case 21:
60884
60930
  case 22:
60885
60931
  case 23:
60932
+ case 24:
60886
60933
  break;
60887
60934
  }
60888
60935
  if (message.contentInfoScreenTheme != null && message.hasOwnProperty("contentInfoScreenTheme"))
@@ -60995,6 +61042,10 @@ $root.ContentEntityDeleted = (function() {
60995
61042
  case 16:
60996
61043
  message.contentType = 16;
60997
61044
  break;
61045
+ case "CONTENT_TYPE_ACTIVITY":
61046
+ case 17:
61047
+ message.contentType = 17;
61048
+ break;
60998
61049
  }
60999
61050
  switch (object.colorTheme) {
61000
61051
  case "COLOR_THEME_UNRECOGNIZED":
@@ -61113,6 +61164,10 @@ $root.ContentEntityDeleted = (function() {
61113
61164
  case 23:
61114
61165
  message.contentTypeDisplayValue = 23;
61115
61166
  break;
61167
+ case "CONTENT_TYPE_DISPLAY_VALUE_SESSION":
61168
+ case 24:
61169
+ message.contentTypeDisplayValue = 24;
61170
+ break;
61116
61171
  }
61117
61172
  switch (object.contentInfoScreenTheme) {
61118
61173
  case "COLOR_THEME_UNRECOGNIZED":
@@ -73238,7 +73293,7 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
73238
73293
  * @property {number|null} [orgMemberSubscriptionId] EnterpriseUserEnrollmentCreated orgMemberSubscriptionId
73239
73294
  * @property {string|null} [orgMemberCustomFields] EnterpriseUserEnrollmentCreated orgMemberCustomFields
73240
73295
  * @property {boolean|null} [isTelehealthEnabled] EnterpriseUserEnrollmentCreated isTelehealthEnabled
73241
- * @property {boolean|null} [ssoLinked] EnterpriseUserEnrollmentCreated ssoLinked
73296
+ * @property {b2b.SSOConnectionAction|null} [ssoConnectionAction] EnterpriseUserEnrollmentCreated ssoConnectionAction
73242
73297
  */
73243
73298
 
73244
73299
  /**
@@ -73401,12 +73456,12 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
73401
73456
  EnterpriseUserEnrollmentCreated.prototype.isTelehealthEnabled = false;
73402
73457
 
73403
73458
  /**
73404
- * EnterpriseUserEnrollmentCreated ssoLinked.
73405
- * @member {boolean} ssoLinked
73459
+ * EnterpriseUserEnrollmentCreated ssoConnectionAction.
73460
+ * @member {b2b.SSOConnectionAction} ssoConnectionAction
73406
73461
  * @memberof EnterpriseUserEnrollmentCreated
73407
73462
  * @instance
73408
73463
  */
73409
- EnterpriseUserEnrollmentCreated.prototype.ssoLinked = false;
73464
+ EnterpriseUserEnrollmentCreated.prototype.ssoConnectionAction = 0;
73410
73465
 
73411
73466
  /**
73412
73467
  * Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
@@ -73468,8 +73523,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
73468
73523
  writer.uint32(/* id 19, wireType 2 =*/154).string(message.orgMemberCustomFields);
73469
73524
  if (message.isTelehealthEnabled != null && message.hasOwnProperty("isTelehealthEnabled"))
73470
73525
  writer.uint32(/* id 20, wireType 0 =*/160).bool(message.isTelehealthEnabled);
73471
- if (message.ssoLinked != null && message.hasOwnProperty("ssoLinked"))
73472
- writer.uint32(/* id 21, wireType 0 =*/168).bool(message.ssoLinked);
73526
+ if (message.ssoConnectionAction != null && message.hasOwnProperty("ssoConnectionAction"))
73527
+ writer.uint32(/* id 22, wireType 0 =*/176).int32(message.ssoConnectionAction);
73473
73528
  return writer;
73474
73529
  };
73475
73530
 
@@ -73558,8 +73613,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
73558
73613
  case 20:
73559
73614
  message.isTelehealthEnabled = reader.bool();
73560
73615
  break;
73561
- case 21:
73562
- message.ssoLinked = reader.bool();
73616
+ case 22:
73617
+ message.ssoConnectionAction = reader.int32();
73563
73618
  break;
73564
73619
  default:
73565
73620
  reader.skipType(tag & 7);
@@ -73666,9 +73721,15 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
73666
73721
  if (message.isTelehealthEnabled != null && message.hasOwnProperty("isTelehealthEnabled"))
73667
73722
  if (typeof message.isTelehealthEnabled !== "boolean")
73668
73723
  return "isTelehealthEnabled: boolean expected";
73669
- if (message.ssoLinked != null && message.hasOwnProperty("ssoLinked"))
73670
- if (typeof message.ssoLinked !== "boolean")
73671
- return "ssoLinked: boolean expected";
73724
+ if (message.ssoConnectionAction != null && message.hasOwnProperty("ssoConnectionAction"))
73725
+ switch (message.ssoConnectionAction) {
73726
+ default:
73727
+ return "ssoConnectionAction: enum value expected";
73728
+ case 0:
73729
+ case 1:
73730
+ case 2:
73731
+ break;
73732
+ }
73672
73733
  return null;
73673
73734
  };
73674
73735
 
@@ -73795,8 +73856,20 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
73795
73856
  message.orgMemberCustomFields = String(object.orgMemberCustomFields);
73796
73857
  if (object.isTelehealthEnabled != null)
73797
73858
  message.isTelehealthEnabled = Boolean(object.isTelehealthEnabled);
73798
- if (object.ssoLinked != null)
73799
- message.ssoLinked = Boolean(object.ssoLinked);
73859
+ switch (object.ssoConnectionAction) {
73860
+ case "CONNECTION_NO_UPDATE":
73861
+ case 0:
73862
+ message.ssoConnectionAction = 0;
73863
+ break;
73864
+ case "CONNECTION_SET":
73865
+ case 1:
73866
+ message.ssoConnectionAction = 1;
73867
+ break;
73868
+ case "CONNECTION_UNSET":
73869
+ case 2:
73870
+ message.ssoConnectionAction = 2;
73871
+ break;
73872
+ }
73800
73873
  return message;
73801
73874
  };
73802
73875
 
@@ -73852,7 +73925,7 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
73852
73925
  object.orgMemberSubscriptionId = 0;
73853
73926
  object.orgMemberCustomFields = "";
73854
73927
  object.isTelehealthEnabled = false;
73855
- object.ssoLinked = false;
73928
+ object.ssoConnectionAction = options.enums === String ? "CONNECTION_NO_UPDATE" : 0;
73856
73929
  }
73857
73930
  if (message.userId != null && message.hasOwnProperty("userId"))
73858
73931
  object.userId = message.userId;
@@ -73905,8 +73978,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
73905
73978
  object.orgMemberCustomFields = message.orgMemberCustomFields;
73906
73979
  if (message.isTelehealthEnabled != null && message.hasOwnProperty("isTelehealthEnabled"))
73907
73980
  object.isTelehealthEnabled = message.isTelehealthEnabled;
73908
- if (message.ssoLinked != null && message.hasOwnProperty("ssoLinked"))
73909
- object.ssoLinked = message.ssoLinked;
73981
+ if (message.ssoConnectionAction != null && message.hasOwnProperty("ssoConnectionAction"))
73982
+ object.ssoConnectionAction = options.enums === String ? $root.b2b.SSOConnectionAction[message.ssoConnectionAction] : message.ssoConnectionAction;
73910
73983
  return object;
73911
73984
  };
73912
73985
 
@@ -73949,7 +74022,7 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
73949
74022
  * @property {number|null} [orgMemberSubscriptionId] EnterpriseUserEnrollmentRemoved orgMemberSubscriptionId
73950
74023
  * @property {string|null} [orgMemberCustomFields] EnterpriseUserEnrollmentRemoved orgMemberCustomFields
73951
74024
  * @property {boolean|null} [isTelehealthEnabled] EnterpriseUserEnrollmentRemoved isTelehealthEnabled
73952
- * @property {boolean|null} [ssoLinked] EnterpriseUserEnrollmentRemoved ssoLinked
74025
+ * @property {b2b.SSOConnectionAction|null} [ssoConnectionAction] EnterpriseUserEnrollmentRemoved ssoConnectionAction
73953
74026
  */
73954
74027
 
73955
74028
  /**
@@ -74120,12 +74193,12 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
74120
74193
  EnterpriseUserEnrollmentRemoved.prototype.isTelehealthEnabled = false;
74121
74194
 
74122
74195
  /**
74123
- * EnterpriseUserEnrollmentRemoved ssoLinked.
74124
- * @member {boolean} ssoLinked
74196
+ * EnterpriseUserEnrollmentRemoved ssoConnectionAction.
74197
+ * @member {b2b.SSOConnectionAction} ssoConnectionAction
74125
74198
  * @memberof EnterpriseUserEnrollmentRemoved
74126
74199
  * @instance
74127
74200
  */
74128
- EnterpriseUserEnrollmentRemoved.prototype.ssoLinked = false;
74201
+ EnterpriseUserEnrollmentRemoved.prototype.ssoConnectionAction = 0;
74129
74202
 
74130
74203
  /**
74131
74204
  * Creates a new EnterpriseUserEnrollmentRemoved instance using the specified properties.
@@ -74189,8 +74262,8 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
74189
74262
  writer.uint32(/* id 20, wireType 2 =*/162).string(message.orgMemberCustomFields);
74190
74263
  if (message.isTelehealthEnabled != null && message.hasOwnProperty("isTelehealthEnabled"))
74191
74264
  writer.uint32(/* id 21, wireType 0 =*/168).bool(message.isTelehealthEnabled);
74192
- if (message.ssoLinked != null && message.hasOwnProperty("ssoLinked"))
74193
- writer.uint32(/* id 22, wireType 0 =*/176).bool(message.ssoLinked);
74265
+ if (message.ssoConnectionAction != null && message.hasOwnProperty("ssoConnectionAction"))
74266
+ writer.uint32(/* id 23, wireType 0 =*/184).int32(message.ssoConnectionAction);
74194
74267
  return writer;
74195
74268
  };
74196
74269
 
@@ -74282,8 +74355,8 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
74282
74355
  case 21:
74283
74356
  message.isTelehealthEnabled = reader.bool();
74284
74357
  break;
74285
- case 22:
74286
- message.ssoLinked = reader.bool();
74358
+ case 23:
74359
+ message.ssoConnectionAction = reader.int32();
74287
74360
  break;
74288
74361
  default:
74289
74362
  reader.skipType(tag & 7);
@@ -74405,9 +74478,15 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
74405
74478
  if (message.isTelehealthEnabled != null && message.hasOwnProperty("isTelehealthEnabled"))
74406
74479
  if (typeof message.isTelehealthEnabled !== "boolean")
74407
74480
  return "isTelehealthEnabled: boolean expected";
74408
- if (message.ssoLinked != null && message.hasOwnProperty("ssoLinked"))
74409
- if (typeof message.ssoLinked !== "boolean")
74410
- return "ssoLinked: boolean expected";
74481
+ if (message.ssoConnectionAction != null && message.hasOwnProperty("ssoConnectionAction"))
74482
+ switch (message.ssoConnectionAction) {
74483
+ default:
74484
+ return "ssoConnectionAction: enum value expected";
74485
+ case 0:
74486
+ case 1:
74487
+ case 2:
74488
+ break;
74489
+ }
74411
74490
  return null;
74412
74491
  };
74413
74492
 
@@ -74572,8 +74651,20 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
74572
74651
  message.orgMemberCustomFields = String(object.orgMemberCustomFields);
74573
74652
  if (object.isTelehealthEnabled != null)
74574
74653
  message.isTelehealthEnabled = Boolean(object.isTelehealthEnabled);
74575
- if (object.ssoLinked != null)
74576
- message.ssoLinked = Boolean(object.ssoLinked);
74654
+ switch (object.ssoConnectionAction) {
74655
+ case "CONNECTION_NO_UPDATE":
74656
+ case 0:
74657
+ message.ssoConnectionAction = 0;
74658
+ break;
74659
+ case "CONNECTION_SET":
74660
+ case 1:
74661
+ message.ssoConnectionAction = 1;
74662
+ break;
74663
+ case "CONNECTION_UNSET":
74664
+ case 2:
74665
+ message.ssoConnectionAction = 2;
74666
+ break;
74667
+ }
74577
74668
  return message;
74578
74669
  };
74579
74670
 
@@ -74630,7 +74721,7 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
74630
74721
  object.orgMemberSubscriptionId = 0;
74631
74722
  object.orgMemberCustomFields = "";
74632
74723
  object.isTelehealthEnabled = false;
74633
- object.ssoLinked = false;
74724
+ object.ssoConnectionAction = options.enums === String ? "CONNECTION_NO_UPDATE" : 0;
74634
74725
  }
74635
74726
  if (message.userId != null && message.hasOwnProperty("userId"))
74636
74727
  object.userId = message.userId;
@@ -74685,8 +74776,8 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
74685
74776
  object.orgMemberCustomFields = message.orgMemberCustomFields;
74686
74777
  if (message.isTelehealthEnabled != null && message.hasOwnProperty("isTelehealthEnabled"))
74687
74778
  object.isTelehealthEnabled = message.isTelehealthEnabled;
74688
- if (message.ssoLinked != null && message.hasOwnProperty("ssoLinked"))
74689
- object.ssoLinked = message.ssoLinked;
74779
+ if (message.ssoConnectionAction != null && message.hasOwnProperty("ssoConnectionAction"))
74780
+ object.ssoConnectionAction = options.enums === String ? $root.b2b.SSOConnectionAction[message.ssoConnectionAction] : message.ssoConnectionAction;
74690
74781
  return object;
74691
74782
  };
74692
74783
 
@@ -74728,7 +74819,7 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
74728
74819
  * @property {number|null} [orgMemberSubscriptionId] EnterpriseUserEnrollmentAmended orgMemberSubscriptionId
74729
74820
  * @property {string|null} [orgMemberCustomFields] EnterpriseUserEnrollmentAmended orgMemberCustomFields
74730
74821
  * @property {boolean|null} [isTelehealthEnabled] EnterpriseUserEnrollmentAmended isTelehealthEnabled
74731
- * @property {boolean|null} [ssoLinked] EnterpriseUserEnrollmentAmended ssoLinked
74822
+ * @property {b2b.SSOConnectionAction|null} [ssoConnectionAction] EnterpriseUserEnrollmentAmended ssoConnectionAction
74732
74823
  */
74733
74824
 
74734
74825
  /**
@@ -74891,12 +74982,12 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
74891
74982
  EnterpriseUserEnrollmentAmended.prototype.isTelehealthEnabled = false;
74892
74983
 
74893
74984
  /**
74894
- * EnterpriseUserEnrollmentAmended ssoLinked.
74895
- * @member {boolean} ssoLinked
74985
+ * EnterpriseUserEnrollmentAmended ssoConnectionAction.
74986
+ * @member {b2b.SSOConnectionAction} ssoConnectionAction
74896
74987
  * @memberof EnterpriseUserEnrollmentAmended
74897
74988
  * @instance
74898
74989
  */
74899
- EnterpriseUserEnrollmentAmended.prototype.ssoLinked = false;
74990
+ EnterpriseUserEnrollmentAmended.prototype.ssoConnectionAction = 0;
74900
74991
 
74901
74992
  /**
74902
74993
  * Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
@@ -74958,8 +75049,8 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
74958
75049
  writer.uint32(/* id 19, wireType 2 =*/154).string(message.orgMemberCustomFields);
74959
75050
  if (message.isTelehealthEnabled != null && message.hasOwnProperty("isTelehealthEnabled"))
74960
75051
  writer.uint32(/* id 20, wireType 0 =*/160).bool(message.isTelehealthEnabled);
74961
- if (message.ssoLinked != null && message.hasOwnProperty("ssoLinked"))
74962
- writer.uint32(/* id 21, wireType 0 =*/168).bool(message.ssoLinked);
75052
+ if (message.ssoConnectionAction != null && message.hasOwnProperty("ssoConnectionAction"))
75053
+ writer.uint32(/* id 22, wireType 0 =*/176).int32(message.ssoConnectionAction);
74963
75054
  return writer;
74964
75055
  };
74965
75056
 
@@ -75048,8 +75139,8 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
75048
75139
  case 20:
75049
75140
  message.isTelehealthEnabled = reader.bool();
75050
75141
  break;
75051
- case 21:
75052
- message.ssoLinked = reader.bool();
75142
+ case 22:
75143
+ message.ssoConnectionAction = reader.int32();
75053
75144
  break;
75054
75145
  default:
75055
75146
  reader.skipType(tag & 7);
@@ -75156,9 +75247,15 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
75156
75247
  if (message.isTelehealthEnabled != null && message.hasOwnProperty("isTelehealthEnabled"))
75157
75248
  if (typeof message.isTelehealthEnabled !== "boolean")
75158
75249
  return "isTelehealthEnabled: boolean expected";
75159
- if (message.ssoLinked != null && message.hasOwnProperty("ssoLinked"))
75160
- if (typeof message.ssoLinked !== "boolean")
75161
- return "ssoLinked: boolean expected";
75250
+ if (message.ssoConnectionAction != null && message.hasOwnProperty("ssoConnectionAction"))
75251
+ switch (message.ssoConnectionAction) {
75252
+ default:
75253
+ return "ssoConnectionAction: enum value expected";
75254
+ case 0:
75255
+ case 1:
75256
+ case 2:
75257
+ break;
75258
+ }
75162
75259
  return null;
75163
75260
  };
75164
75261
 
@@ -75285,8 +75382,20 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
75285
75382
  message.orgMemberCustomFields = String(object.orgMemberCustomFields);
75286
75383
  if (object.isTelehealthEnabled != null)
75287
75384
  message.isTelehealthEnabled = Boolean(object.isTelehealthEnabled);
75288
- if (object.ssoLinked != null)
75289
- message.ssoLinked = Boolean(object.ssoLinked);
75385
+ switch (object.ssoConnectionAction) {
75386
+ case "CONNECTION_NO_UPDATE":
75387
+ case 0:
75388
+ message.ssoConnectionAction = 0;
75389
+ break;
75390
+ case "CONNECTION_SET":
75391
+ case 1:
75392
+ message.ssoConnectionAction = 1;
75393
+ break;
75394
+ case "CONNECTION_UNSET":
75395
+ case 2:
75396
+ message.ssoConnectionAction = 2;
75397
+ break;
75398
+ }
75290
75399
  return message;
75291
75400
  };
75292
75401
 
@@ -75342,7 +75451,7 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
75342
75451
  object.orgMemberSubscriptionId = 0;
75343
75452
  object.orgMemberCustomFields = "";
75344
75453
  object.isTelehealthEnabled = false;
75345
- object.ssoLinked = false;
75454
+ object.ssoConnectionAction = options.enums === String ? "CONNECTION_NO_UPDATE" : 0;
75346
75455
  }
75347
75456
  if (message.userId != null && message.hasOwnProperty("userId"))
75348
75457
  object.userId = message.userId;
@@ -75395,8 +75504,8 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
75395
75504
  object.orgMemberCustomFields = message.orgMemberCustomFields;
75396
75505
  if (message.isTelehealthEnabled != null && message.hasOwnProperty("isTelehealthEnabled"))
75397
75506
  object.isTelehealthEnabled = message.isTelehealthEnabled;
75398
- if (message.ssoLinked != null && message.hasOwnProperty("ssoLinked"))
75399
- object.ssoLinked = message.ssoLinked;
75507
+ if (message.ssoConnectionAction != null && message.hasOwnProperty("ssoConnectionAction"))
75508
+ object.ssoConnectionAction = options.enums === String ? $root.b2b.SSOConnectionAction[message.ssoConnectionAction] : message.ssoConnectionAction;
75400
75509
  return object;
75401
75510
  };
75402
75511
 
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.262.0"
19
+ "version": "1.264.0"
20
20
  }