@headspace/protos-events 1.266.0 → 1.268.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.
package/lib/index.d.ts CHANGED
@@ -9283,7 +9283,8 @@ export namespace b2b {
9283
9283
  REMOVAL_REASON_SSO_DEPROVISION = 6,
9284
9284
  REMOVAL_REASON_SSO_ACCOUNT_UNLINK = 7,
9285
9285
  REMOVAL_REASON_USER_DOMAIN_REMOVAL = 8,
9286
- REMOVAL_REASON_NEVER_LINKED_SSO = 9
9286
+ REMOVAL_REASON_NEVER_LINKED_SSO = 9,
9287
+ REMOVAL_REASON_ORGANIZATION_DELETED = 10
9287
9288
  }
9288
9289
 
9289
9290
  /** OrgMemberPlan enum. */
@@ -27031,6 +27032,9 @@ export interface IEnterpriseUserEnrollmentCreated {
27031
27032
 
27032
27033
  /** EnterpriseUserEnrollmentCreated ssoConnectionAction */
27033
27034
  ssoConnectionAction?: (b2b.SSOConnectionAction|null);
27035
+
27036
+ /** EnterpriseUserEnrollmentCreated isSsoEnabled */
27037
+ isSsoEnabled?: (boolean|null);
27034
27038
  }
27035
27039
 
27036
27040
  /** Represents an EnterpriseUserEnrollmentCreated. */
@@ -27099,6 +27103,9 @@ export class EnterpriseUserEnrollmentCreated implements IEnterpriseUserEnrollmen
27099
27103
  /** EnterpriseUserEnrollmentCreated ssoConnectionAction. */
27100
27104
  public ssoConnectionAction: b2b.SSOConnectionAction;
27101
27105
 
27106
+ /** EnterpriseUserEnrollmentCreated isSsoEnabled. */
27107
+ public isSsoEnabled: boolean;
27108
+
27102
27109
  /**
27103
27110
  * Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
27104
27111
  * @param [properties] Properties to set
@@ -27232,6 +27239,9 @@ export interface IEnterpriseUserEnrollmentRemoved {
27232
27239
 
27233
27240
  /** EnterpriseUserEnrollmentRemoved ssoConnectionAction */
27234
27241
  ssoConnectionAction?: (b2b.SSOConnectionAction|null);
27242
+
27243
+ /** EnterpriseUserEnrollmentRemoved isSsoEnabled */
27244
+ isSsoEnabled?: (boolean|null);
27235
27245
  }
27236
27246
 
27237
27247
  /** Represents an EnterpriseUserEnrollmentRemoved. */
@@ -27303,6 +27313,9 @@ export class EnterpriseUserEnrollmentRemoved implements IEnterpriseUserEnrollmen
27303
27313
  /** EnterpriseUserEnrollmentRemoved ssoConnectionAction. */
27304
27314
  public ssoConnectionAction: b2b.SSOConnectionAction;
27305
27315
 
27316
+ /** EnterpriseUserEnrollmentRemoved isSsoEnabled. */
27317
+ public isSsoEnabled: boolean;
27318
+
27306
27319
  /**
27307
27320
  * Creates a new EnterpriseUserEnrollmentRemoved instance using the specified properties.
27308
27321
  * @param [properties] Properties to set
@@ -27433,6 +27446,9 @@ export interface IEnterpriseUserEnrollmentAmended {
27433
27446
 
27434
27447
  /** EnterpriseUserEnrollmentAmended ssoConnectionAction */
27435
27448
  ssoConnectionAction?: (b2b.SSOConnectionAction|null);
27449
+
27450
+ /** EnterpriseUserEnrollmentAmended isSsoEnabled */
27451
+ isSsoEnabled?: (boolean|null);
27436
27452
  }
27437
27453
 
27438
27454
  /** Represents an EnterpriseUserEnrollmentAmended. */
@@ -27501,6 +27517,9 @@ export class EnterpriseUserEnrollmentAmended implements IEnterpriseUserEnrollmen
27501
27517
  /** EnterpriseUserEnrollmentAmended ssoConnectionAction. */
27502
27518
  public ssoConnectionAction: b2b.SSOConnectionAction;
27503
27519
 
27520
+ /** EnterpriseUserEnrollmentAmended isSsoEnabled. */
27521
+ public isSsoEnabled: boolean;
27522
+
27504
27523
  /**
27505
27524
  * Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
27506
27525
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -22029,6 +22029,7 @@ $root.b2b = (function() {
22029
22029
  * @property {number} REMOVAL_REASON_SSO_ACCOUNT_UNLINK=7 REMOVAL_REASON_SSO_ACCOUNT_UNLINK value
22030
22030
  * @property {number} REMOVAL_REASON_USER_DOMAIN_REMOVAL=8 REMOVAL_REASON_USER_DOMAIN_REMOVAL value
22031
22031
  * @property {number} REMOVAL_REASON_NEVER_LINKED_SSO=9 REMOVAL_REASON_NEVER_LINKED_SSO value
22032
+ * @property {number} REMOVAL_REASON_ORGANIZATION_DELETED=10 REMOVAL_REASON_ORGANIZATION_DELETED value
22032
22033
  */
22033
22034
  b2b.OrgMemberRemovalReason = (function() {
22034
22035
  var valuesById = {}, values = Object.create(valuesById);
@@ -22042,6 +22043,7 @@ $root.b2b = (function() {
22042
22043
  values[valuesById[7] = "REMOVAL_REASON_SSO_ACCOUNT_UNLINK"] = 7;
22043
22044
  values[valuesById[8] = "REMOVAL_REASON_USER_DOMAIN_REMOVAL"] = 8;
22044
22045
  values[valuesById[9] = "REMOVAL_REASON_NEVER_LINKED_SSO"] = 9;
22046
+ values[valuesById[10] = "REMOVAL_REASON_ORGANIZATION_DELETED"] = 10;
22045
22047
  return values;
22046
22048
  })();
22047
22049
 
@@ -73274,6 +73276,7 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
73274
73276
  * @property {string|null} [orgMemberCustomFields] EnterpriseUserEnrollmentCreated orgMemberCustomFields
73275
73277
  * @property {boolean|null} [isTelehealthEnabled] EnterpriseUserEnrollmentCreated isTelehealthEnabled
73276
73278
  * @property {b2b.SSOConnectionAction|null} [ssoConnectionAction] EnterpriseUserEnrollmentCreated ssoConnectionAction
73279
+ * @property {boolean|null} [isSsoEnabled] EnterpriseUserEnrollmentCreated isSsoEnabled
73277
73280
  */
73278
73281
 
73279
73282
  /**
@@ -73443,6 +73446,14 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
73443
73446
  */
73444
73447
  EnterpriseUserEnrollmentCreated.prototype.ssoConnectionAction = 0;
73445
73448
 
73449
+ /**
73450
+ * EnterpriseUserEnrollmentCreated isSsoEnabled.
73451
+ * @member {boolean} isSsoEnabled
73452
+ * @memberof EnterpriseUserEnrollmentCreated
73453
+ * @instance
73454
+ */
73455
+ EnterpriseUserEnrollmentCreated.prototype.isSsoEnabled = false;
73456
+
73446
73457
  /**
73447
73458
  * Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
73448
73459
  * @function create
@@ -73505,6 +73516,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
73505
73516
  writer.uint32(/* id 20, wireType 0 =*/160).bool(message.isTelehealthEnabled);
73506
73517
  if (message.ssoConnectionAction != null && message.hasOwnProperty("ssoConnectionAction"))
73507
73518
  writer.uint32(/* id 22, wireType 0 =*/176).int32(message.ssoConnectionAction);
73519
+ if (message.isSsoEnabled != null && message.hasOwnProperty("isSsoEnabled"))
73520
+ writer.uint32(/* id 23, wireType 0 =*/184).bool(message.isSsoEnabled);
73508
73521
  return writer;
73509
73522
  };
73510
73523
 
@@ -73596,6 +73609,9 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
73596
73609
  case 22:
73597
73610
  message.ssoConnectionAction = reader.int32();
73598
73611
  break;
73612
+ case 23:
73613
+ message.isSsoEnabled = reader.bool();
73614
+ break;
73599
73615
  default:
73600
73616
  reader.skipType(tag & 7);
73601
73617
  break;
@@ -73710,6 +73726,9 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
73710
73726
  case 2:
73711
73727
  break;
73712
73728
  }
73729
+ if (message.isSsoEnabled != null && message.hasOwnProperty("isSsoEnabled"))
73730
+ if (typeof message.isSsoEnabled !== "boolean")
73731
+ return "isSsoEnabled: boolean expected";
73713
73732
  return null;
73714
73733
  };
73715
73734
 
@@ -73850,6 +73869,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
73850
73869
  message.ssoConnectionAction = 2;
73851
73870
  break;
73852
73871
  }
73872
+ if (object.isSsoEnabled != null)
73873
+ message.isSsoEnabled = Boolean(object.isSsoEnabled);
73853
73874
  return message;
73854
73875
  };
73855
73876
 
@@ -73906,6 +73927,7 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
73906
73927
  object.orgMemberCustomFields = "";
73907
73928
  object.isTelehealthEnabled = false;
73908
73929
  object.ssoConnectionAction = options.enums === String ? "CONNECTION_NO_UPDATE" : 0;
73930
+ object.isSsoEnabled = false;
73909
73931
  }
73910
73932
  if (message.userId != null && message.hasOwnProperty("userId"))
73911
73933
  object.userId = message.userId;
@@ -73960,6 +73982,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
73960
73982
  object.isTelehealthEnabled = message.isTelehealthEnabled;
73961
73983
  if (message.ssoConnectionAction != null && message.hasOwnProperty("ssoConnectionAction"))
73962
73984
  object.ssoConnectionAction = options.enums === String ? $root.b2b.SSOConnectionAction[message.ssoConnectionAction] : message.ssoConnectionAction;
73985
+ if (message.isSsoEnabled != null && message.hasOwnProperty("isSsoEnabled"))
73986
+ object.isSsoEnabled = message.isSsoEnabled;
73963
73987
  return object;
73964
73988
  };
73965
73989
 
@@ -74003,6 +74027,7 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
74003
74027
  * @property {string|null} [orgMemberCustomFields] EnterpriseUserEnrollmentRemoved orgMemberCustomFields
74004
74028
  * @property {boolean|null} [isTelehealthEnabled] EnterpriseUserEnrollmentRemoved isTelehealthEnabled
74005
74029
  * @property {b2b.SSOConnectionAction|null} [ssoConnectionAction] EnterpriseUserEnrollmentRemoved ssoConnectionAction
74030
+ * @property {boolean|null} [isSsoEnabled] EnterpriseUserEnrollmentRemoved isSsoEnabled
74006
74031
  */
74007
74032
 
74008
74033
  /**
@@ -74180,6 +74205,14 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
74180
74205
  */
74181
74206
  EnterpriseUserEnrollmentRemoved.prototype.ssoConnectionAction = 0;
74182
74207
 
74208
+ /**
74209
+ * EnterpriseUserEnrollmentRemoved isSsoEnabled.
74210
+ * @member {boolean} isSsoEnabled
74211
+ * @memberof EnterpriseUserEnrollmentRemoved
74212
+ * @instance
74213
+ */
74214
+ EnterpriseUserEnrollmentRemoved.prototype.isSsoEnabled = false;
74215
+
74183
74216
  /**
74184
74217
  * Creates a new EnterpriseUserEnrollmentRemoved instance using the specified properties.
74185
74218
  * @function create
@@ -74244,6 +74277,8 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
74244
74277
  writer.uint32(/* id 21, wireType 0 =*/168).bool(message.isTelehealthEnabled);
74245
74278
  if (message.ssoConnectionAction != null && message.hasOwnProperty("ssoConnectionAction"))
74246
74279
  writer.uint32(/* id 23, wireType 0 =*/184).int32(message.ssoConnectionAction);
74280
+ if (message.isSsoEnabled != null && message.hasOwnProperty("isSsoEnabled"))
74281
+ writer.uint32(/* id 24, wireType 0 =*/192).bool(message.isSsoEnabled);
74247
74282
  return writer;
74248
74283
  };
74249
74284
 
@@ -74338,6 +74373,9 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
74338
74373
  case 23:
74339
74374
  message.ssoConnectionAction = reader.int32();
74340
74375
  break;
74376
+ case 24:
74377
+ message.isSsoEnabled = reader.bool();
74378
+ break;
74341
74379
  default:
74342
74380
  reader.skipType(tag & 7);
74343
74381
  break;
@@ -74415,6 +74453,7 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
74415
74453
  case 7:
74416
74454
  case 8:
74417
74455
  case 9:
74456
+ case 10:
74418
74457
  break;
74419
74458
  }
74420
74459
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
@@ -74468,6 +74507,9 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
74468
74507
  case 2:
74469
74508
  break;
74470
74509
  }
74510
+ if (message.isSsoEnabled != null && message.hasOwnProperty("isSsoEnabled"))
74511
+ if (typeof message.isSsoEnabled !== "boolean")
74512
+ return "isSsoEnabled: boolean expected";
74471
74513
  return null;
74472
74514
  };
74473
74515
 
@@ -74578,6 +74620,10 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
74578
74620
  case 9:
74579
74621
  message.reason = 9;
74580
74622
  break;
74623
+ case "REMOVAL_REASON_ORGANIZATION_DELETED":
74624
+ case 10:
74625
+ message.reason = 10;
74626
+ break;
74581
74627
  }
74582
74628
  if (object.timestamp != null)
74583
74629
  if ($util.Long)
@@ -74650,6 +74696,8 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
74650
74696
  message.ssoConnectionAction = 2;
74651
74697
  break;
74652
74698
  }
74699
+ if (object.isSsoEnabled != null)
74700
+ message.isSsoEnabled = Boolean(object.isSsoEnabled);
74653
74701
  return message;
74654
74702
  };
74655
74703
 
@@ -74707,6 +74755,7 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
74707
74755
  object.orgMemberCustomFields = "";
74708
74756
  object.isTelehealthEnabled = false;
74709
74757
  object.ssoConnectionAction = options.enums === String ? "CONNECTION_NO_UPDATE" : 0;
74758
+ object.isSsoEnabled = false;
74710
74759
  }
74711
74760
  if (message.userId != null && message.hasOwnProperty("userId"))
74712
74761
  object.userId = message.userId;
@@ -74763,6 +74812,8 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
74763
74812
  object.isTelehealthEnabled = message.isTelehealthEnabled;
74764
74813
  if (message.ssoConnectionAction != null && message.hasOwnProperty("ssoConnectionAction"))
74765
74814
  object.ssoConnectionAction = options.enums === String ? $root.b2b.SSOConnectionAction[message.ssoConnectionAction] : message.ssoConnectionAction;
74815
+ if (message.isSsoEnabled != null && message.hasOwnProperty("isSsoEnabled"))
74816
+ object.isSsoEnabled = message.isSsoEnabled;
74766
74817
  return object;
74767
74818
  };
74768
74819
 
@@ -74805,6 +74856,7 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
74805
74856
  * @property {string|null} [orgMemberCustomFields] EnterpriseUserEnrollmentAmended orgMemberCustomFields
74806
74857
  * @property {boolean|null} [isTelehealthEnabled] EnterpriseUserEnrollmentAmended isTelehealthEnabled
74807
74858
  * @property {b2b.SSOConnectionAction|null} [ssoConnectionAction] EnterpriseUserEnrollmentAmended ssoConnectionAction
74859
+ * @property {boolean|null} [isSsoEnabled] EnterpriseUserEnrollmentAmended isSsoEnabled
74808
74860
  */
74809
74861
 
74810
74862
  /**
@@ -74974,6 +75026,14 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
74974
75026
  */
74975
75027
  EnterpriseUserEnrollmentAmended.prototype.ssoConnectionAction = 0;
74976
75028
 
75029
+ /**
75030
+ * EnterpriseUserEnrollmentAmended isSsoEnabled.
75031
+ * @member {boolean} isSsoEnabled
75032
+ * @memberof EnterpriseUserEnrollmentAmended
75033
+ * @instance
75034
+ */
75035
+ EnterpriseUserEnrollmentAmended.prototype.isSsoEnabled = false;
75036
+
74977
75037
  /**
74978
75038
  * Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
74979
75039
  * @function create
@@ -75036,6 +75096,8 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
75036
75096
  writer.uint32(/* id 20, wireType 0 =*/160).bool(message.isTelehealthEnabled);
75037
75097
  if (message.ssoConnectionAction != null && message.hasOwnProperty("ssoConnectionAction"))
75038
75098
  writer.uint32(/* id 22, wireType 0 =*/176).int32(message.ssoConnectionAction);
75099
+ if (message.isSsoEnabled != null && message.hasOwnProperty("isSsoEnabled"))
75100
+ writer.uint32(/* id 23, wireType 0 =*/184).bool(message.isSsoEnabled);
75039
75101
  return writer;
75040
75102
  };
75041
75103
 
@@ -75127,6 +75189,9 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
75127
75189
  case 22:
75128
75190
  message.ssoConnectionAction = reader.int32();
75129
75191
  break;
75192
+ case 23:
75193
+ message.isSsoEnabled = reader.bool();
75194
+ break;
75130
75195
  default:
75131
75196
  reader.skipType(tag & 7);
75132
75197
  break;
@@ -75241,6 +75306,9 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
75241
75306
  case 2:
75242
75307
  break;
75243
75308
  }
75309
+ if (message.isSsoEnabled != null && message.hasOwnProperty("isSsoEnabled"))
75310
+ if (typeof message.isSsoEnabled !== "boolean")
75311
+ return "isSsoEnabled: boolean expected";
75244
75312
  return null;
75245
75313
  };
75246
75314
 
@@ -75381,6 +75449,8 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
75381
75449
  message.ssoConnectionAction = 2;
75382
75450
  break;
75383
75451
  }
75452
+ if (object.isSsoEnabled != null)
75453
+ message.isSsoEnabled = Boolean(object.isSsoEnabled);
75384
75454
  return message;
75385
75455
  };
75386
75456
 
@@ -75437,6 +75507,7 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
75437
75507
  object.orgMemberCustomFields = "";
75438
75508
  object.isTelehealthEnabled = false;
75439
75509
  object.ssoConnectionAction = options.enums === String ? "CONNECTION_NO_UPDATE" : 0;
75510
+ object.isSsoEnabled = false;
75440
75511
  }
75441
75512
  if (message.userId != null && message.hasOwnProperty("userId"))
75442
75513
  object.userId = message.userId;
@@ -75491,6 +75562,8 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
75491
75562
  object.isTelehealthEnabled = message.isTelehealthEnabled;
75492
75563
  if (message.ssoConnectionAction != null && message.hasOwnProperty("ssoConnectionAction"))
75493
75564
  object.ssoConnectionAction = options.enums === String ? $root.b2b.SSOConnectionAction[message.ssoConnectionAction] : message.ssoConnectionAction;
75565
+ if (message.isSsoEnabled != null && message.hasOwnProperty("isSsoEnabled"))
75566
+ object.isSsoEnabled = message.isSsoEnabled;
75494
75567
  return object;
75495
75568
  };
75496
75569
 
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.266.0"
19
+ "version": "1.268.0"
20
20
  }