@headspace/protos-events 1.339.0 → 1.340.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.js CHANGED
@@ -18298,6 +18298,272 @@ $root.subscription = (function() {
18298
18298
  return values;
18299
18299
  })();
18300
18300
 
18301
+ subscription.SubscriptionProductSku = (function() {
18302
+
18303
+ /**
18304
+ * Properties of a SubscriptionProductSku.
18305
+ * @memberof subscription
18306
+ * @interface ISubscriptionProductSku
18307
+ * @property {string|null} [id] SubscriptionProductSku id
18308
+ * @property {string|null} [slug] SubscriptionProductSku slug
18309
+ * @property {subscription.SubscriptionTaxMode|null} [taxMode] SubscriptionProductSku taxMode
18310
+ */
18311
+
18312
+ /**
18313
+ * Constructs a new SubscriptionProductSku.
18314
+ * @memberof subscription
18315
+ * @classdesc Represents a SubscriptionProductSku.
18316
+ * @implements ISubscriptionProductSku
18317
+ * @constructor
18318
+ * @param {subscription.ISubscriptionProductSku=} [properties] Properties to set
18319
+ */
18320
+ function SubscriptionProductSku(properties) {
18321
+ if (properties)
18322
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
18323
+ if (properties[keys[i]] != null)
18324
+ this[keys[i]] = properties[keys[i]];
18325
+ }
18326
+
18327
+ /**
18328
+ * SubscriptionProductSku id.
18329
+ * @member {string} id
18330
+ * @memberof subscription.SubscriptionProductSku
18331
+ * @instance
18332
+ */
18333
+ SubscriptionProductSku.prototype.id = "";
18334
+
18335
+ /**
18336
+ * SubscriptionProductSku slug.
18337
+ * @member {string} slug
18338
+ * @memberof subscription.SubscriptionProductSku
18339
+ * @instance
18340
+ */
18341
+ SubscriptionProductSku.prototype.slug = "";
18342
+
18343
+ /**
18344
+ * SubscriptionProductSku taxMode.
18345
+ * @member {subscription.SubscriptionTaxMode} taxMode
18346
+ * @memberof subscription.SubscriptionProductSku
18347
+ * @instance
18348
+ */
18349
+ SubscriptionProductSku.prototype.taxMode = 0;
18350
+
18351
+ /**
18352
+ * Creates a new SubscriptionProductSku instance using the specified properties.
18353
+ * @function create
18354
+ * @memberof subscription.SubscriptionProductSku
18355
+ * @static
18356
+ * @param {subscription.ISubscriptionProductSku=} [properties] Properties to set
18357
+ * @returns {subscription.SubscriptionProductSku} SubscriptionProductSku instance
18358
+ */
18359
+ SubscriptionProductSku.create = function create(properties) {
18360
+ return new SubscriptionProductSku(properties);
18361
+ };
18362
+
18363
+ /**
18364
+ * Encodes the specified SubscriptionProductSku message. Does not implicitly {@link subscription.SubscriptionProductSku.verify|verify} messages.
18365
+ * @function encode
18366
+ * @memberof subscription.SubscriptionProductSku
18367
+ * @static
18368
+ * @param {subscription.ISubscriptionProductSku} message SubscriptionProductSku message or plain object to encode
18369
+ * @param {$protobuf.Writer} [writer] Writer to encode to
18370
+ * @returns {$protobuf.Writer} Writer
18371
+ */
18372
+ SubscriptionProductSku.encode = function encode(message, writer) {
18373
+ if (!writer)
18374
+ writer = $Writer.create();
18375
+ if (message.id != null && message.hasOwnProperty("id"))
18376
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.id);
18377
+ if (message.slug != null && message.hasOwnProperty("slug"))
18378
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.slug);
18379
+ if (message.taxMode != null && message.hasOwnProperty("taxMode"))
18380
+ writer.uint32(/* id 3, wireType 0 =*/24).int32(message.taxMode);
18381
+ return writer;
18382
+ };
18383
+
18384
+ /**
18385
+ * Encodes the specified SubscriptionProductSku message, length delimited. Does not implicitly {@link subscription.SubscriptionProductSku.verify|verify} messages.
18386
+ * @function encodeDelimited
18387
+ * @memberof subscription.SubscriptionProductSku
18388
+ * @static
18389
+ * @param {subscription.ISubscriptionProductSku} message SubscriptionProductSku message or plain object to encode
18390
+ * @param {$protobuf.Writer} [writer] Writer to encode to
18391
+ * @returns {$protobuf.Writer} Writer
18392
+ */
18393
+ SubscriptionProductSku.encodeDelimited = function encodeDelimited(message, writer) {
18394
+ return this.encode(message, writer).ldelim();
18395
+ };
18396
+
18397
+ /**
18398
+ * Decodes a SubscriptionProductSku message from the specified reader or buffer.
18399
+ * @function decode
18400
+ * @memberof subscription.SubscriptionProductSku
18401
+ * @static
18402
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
18403
+ * @param {number} [length] Message length if known beforehand
18404
+ * @returns {subscription.SubscriptionProductSku} SubscriptionProductSku
18405
+ * @throws {Error} If the payload is not a reader or valid buffer
18406
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
18407
+ */
18408
+ SubscriptionProductSku.decode = function decode(reader, length) {
18409
+ if (!(reader instanceof $Reader))
18410
+ reader = $Reader.create(reader);
18411
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.subscription.SubscriptionProductSku();
18412
+ while (reader.pos < end) {
18413
+ var tag = reader.uint32();
18414
+ switch (tag >>> 3) {
18415
+ case 1:
18416
+ message.id = reader.string();
18417
+ break;
18418
+ case 2:
18419
+ message.slug = reader.string();
18420
+ break;
18421
+ case 3:
18422
+ message.taxMode = reader.int32();
18423
+ break;
18424
+ default:
18425
+ reader.skipType(tag & 7);
18426
+ break;
18427
+ }
18428
+ }
18429
+ return message;
18430
+ };
18431
+
18432
+ /**
18433
+ * Decodes a SubscriptionProductSku message from the specified reader or buffer, length delimited.
18434
+ * @function decodeDelimited
18435
+ * @memberof subscription.SubscriptionProductSku
18436
+ * @static
18437
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
18438
+ * @returns {subscription.SubscriptionProductSku} SubscriptionProductSku
18439
+ * @throws {Error} If the payload is not a reader or valid buffer
18440
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
18441
+ */
18442
+ SubscriptionProductSku.decodeDelimited = function decodeDelimited(reader) {
18443
+ if (!(reader instanceof $Reader))
18444
+ reader = new $Reader(reader);
18445
+ return this.decode(reader, reader.uint32());
18446
+ };
18447
+
18448
+ /**
18449
+ * Verifies a SubscriptionProductSku message.
18450
+ * @function verify
18451
+ * @memberof subscription.SubscriptionProductSku
18452
+ * @static
18453
+ * @param {Object.<string,*>} message Plain object to verify
18454
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
18455
+ */
18456
+ SubscriptionProductSku.verify = function verify(message) {
18457
+ if (typeof message !== "object" || message === null)
18458
+ return "object expected";
18459
+ if (message.id != null && message.hasOwnProperty("id"))
18460
+ if (!$util.isString(message.id))
18461
+ return "id: string expected";
18462
+ if (message.slug != null && message.hasOwnProperty("slug"))
18463
+ if (!$util.isString(message.slug))
18464
+ return "slug: string expected";
18465
+ if (message.taxMode != null && message.hasOwnProperty("taxMode"))
18466
+ switch (message.taxMode) {
18467
+ default:
18468
+ return "taxMode: enum value expected";
18469
+ case 0:
18470
+ case 1:
18471
+ case 2:
18472
+ break;
18473
+ }
18474
+ return null;
18475
+ };
18476
+
18477
+ /**
18478
+ * Creates a SubscriptionProductSku message from a plain object. Also converts values to their respective internal types.
18479
+ * @function fromObject
18480
+ * @memberof subscription.SubscriptionProductSku
18481
+ * @static
18482
+ * @param {Object.<string,*>} object Plain object
18483
+ * @returns {subscription.SubscriptionProductSku} SubscriptionProductSku
18484
+ */
18485
+ SubscriptionProductSku.fromObject = function fromObject(object) {
18486
+ if (object instanceof $root.subscription.SubscriptionProductSku)
18487
+ return object;
18488
+ var message = new $root.subscription.SubscriptionProductSku();
18489
+ if (object.id != null)
18490
+ message.id = String(object.id);
18491
+ if (object.slug != null)
18492
+ message.slug = String(object.slug);
18493
+ switch (object.taxMode) {
18494
+ case "SUBTAXMODE_UNKNOWN":
18495
+ case 0:
18496
+ message.taxMode = 0;
18497
+ break;
18498
+ case "SUBTAXMODE_EXCLUSIVE":
18499
+ case 1:
18500
+ message.taxMode = 1;
18501
+ break;
18502
+ case "SUBTAXMODE_INCLUSIVE":
18503
+ case 2:
18504
+ message.taxMode = 2;
18505
+ break;
18506
+ }
18507
+ return message;
18508
+ };
18509
+
18510
+ /**
18511
+ * Creates a plain object from a SubscriptionProductSku message. Also converts values to other types if specified.
18512
+ * @function toObject
18513
+ * @memberof subscription.SubscriptionProductSku
18514
+ * @static
18515
+ * @param {subscription.SubscriptionProductSku} message SubscriptionProductSku
18516
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
18517
+ * @returns {Object.<string,*>} Plain object
18518
+ */
18519
+ SubscriptionProductSku.toObject = function toObject(message, options) {
18520
+ if (!options)
18521
+ options = {};
18522
+ var object = {};
18523
+ if (options.defaults) {
18524
+ object.id = "";
18525
+ object.slug = "";
18526
+ object.taxMode = options.enums === String ? "SUBTAXMODE_UNKNOWN" : 0;
18527
+ }
18528
+ if (message.id != null && message.hasOwnProperty("id"))
18529
+ object.id = message.id;
18530
+ if (message.slug != null && message.hasOwnProperty("slug"))
18531
+ object.slug = message.slug;
18532
+ if (message.taxMode != null && message.hasOwnProperty("taxMode"))
18533
+ object.taxMode = options.enums === String ? $root.subscription.SubscriptionTaxMode[message.taxMode] : message.taxMode;
18534
+ return object;
18535
+ };
18536
+
18537
+ /**
18538
+ * Converts this SubscriptionProductSku to JSON.
18539
+ * @function toJSON
18540
+ * @memberof subscription.SubscriptionProductSku
18541
+ * @instance
18542
+ * @returns {Object.<string,*>} JSON object
18543
+ */
18544
+ SubscriptionProductSku.prototype.toJSON = function toJSON() {
18545
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
18546
+ };
18547
+
18548
+ return SubscriptionProductSku;
18549
+ })();
18550
+
18551
+ /**
18552
+ * SubscriptionTaxMode enum.
18553
+ * @name subscription.SubscriptionTaxMode
18554
+ * @enum {string}
18555
+ * @property {number} SUBTAXMODE_UNKNOWN=0 SUBTAXMODE_UNKNOWN value
18556
+ * @property {number} SUBTAXMODE_EXCLUSIVE=1 SUBTAXMODE_EXCLUSIVE value
18557
+ * @property {number} SUBTAXMODE_INCLUSIVE=2 SUBTAXMODE_INCLUSIVE value
18558
+ */
18559
+ subscription.SubscriptionTaxMode = (function() {
18560
+ var valuesById = {}, values = Object.create(valuesById);
18561
+ values[valuesById[0] = "SUBTAXMODE_UNKNOWN"] = 0;
18562
+ values[valuesById[1] = "SUBTAXMODE_EXCLUSIVE"] = 1;
18563
+ values[valuesById[2] = "SUBTAXMODE_INCLUSIVE"] = 2;
18564
+ return values;
18565
+ })();
18566
+
18301
18567
  return subscription;
18302
18568
  })();
18303
18569
 
@@ -87306,7 +87572,6 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
87306
87572
  * @property {number|Long|null} [orgSubscriptionEndDate] EnterpriseUserEnrollmentCreated orgSubscriptionEndDate
87307
87573
  * @property {number|null} [orgMemberSubscriptionId] EnterpriseUserEnrollmentCreated orgMemberSubscriptionId
87308
87574
  * @property {string|null} [orgMemberCustomFields] EnterpriseUserEnrollmentCreated orgMemberCustomFields
87309
- * @property {boolean|null} [isTelehealthEnabled] EnterpriseUserEnrollmentCreated isTelehealthEnabled
87310
87575
  * @property {b2b.SSOConnectionAction|null} [ssoConnectionAction] EnterpriseUserEnrollmentCreated ssoConnectionAction
87311
87576
  * @property {boolean|null} [isSsoEnabled] EnterpriseUserEnrollmentCreated isSsoEnabled
87312
87577
  * @property {string|null} [gingerId] EnterpriseUserEnrollmentCreated gingerId
@@ -87467,14 +87732,6 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
87467
87732
  */
87468
87733
  EnterpriseUserEnrollmentCreated.prototype.orgMemberCustomFields = "";
87469
87734
 
87470
- /**
87471
- * EnterpriseUserEnrollmentCreated isTelehealthEnabled.
87472
- * @member {boolean} isTelehealthEnabled
87473
- * @memberof EnterpriseUserEnrollmentCreated
87474
- * @instance
87475
- */
87476
- EnterpriseUserEnrollmentCreated.prototype.isTelehealthEnabled = false;
87477
-
87478
87735
  /**
87479
87736
  * EnterpriseUserEnrollmentCreated ssoConnectionAction.
87480
87737
  * @member {b2b.SSOConnectionAction} ssoConnectionAction
@@ -87589,8 +87846,6 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
87589
87846
  writer.uint32(/* id 18, wireType 0 =*/144).uint32(message.orgMemberSubscriptionId);
87590
87847
  if (message.orgMemberCustomFields != null && message.hasOwnProperty("orgMemberCustomFields"))
87591
87848
  writer.uint32(/* id 19, wireType 2 =*/154).string(message.orgMemberCustomFields);
87592
- if (message.isTelehealthEnabled != null && message.hasOwnProperty("isTelehealthEnabled"))
87593
- writer.uint32(/* id 20, wireType 0 =*/160).bool(message.isTelehealthEnabled);
87594
87849
  if (message.ssoConnectionAction != null && message.hasOwnProperty("ssoConnectionAction"))
87595
87850
  writer.uint32(/* id 22, wireType 0 =*/176).int32(message.ssoConnectionAction);
87596
87851
  if (message.isSsoEnabled != null && message.hasOwnProperty("isSsoEnabled"))
@@ -87690,9 +87945,6 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
87690
87945
  case 19:
87691
87946
  message.orgMemberCustomFields = reader.string();
87692
87947
  break;
87693
- case 20:
87694
- message.isTelehealthEnabled = reader.bool();
87695
- break;
87696
87948
  case 22:
87697
87949
  message.ssoConnectionAction = reader.int32();
87698
87950
  break;
@@ -87816,9 +88068,6 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
87816
88068
  if (message.orgMemberCustomFields != null && message.hasOwnProperty("orgMemberCustomFields"))
87817
88069
  if (!$util.isString(message.orgMemberCustomFields))
87818
88070
  return "orgMemberCustomFields: string expected";
87819
- if (message.isTelehealthEnabled != null && message.hasOwnProperty("isTelehealthEnabled"))
87820
- if (typeof message.isTelehealthEnabled !== "boolean")
87821
- return "isTelehealthEnabled: boolean expected";
87822
88071
  if (message.ssoConnectionAction != null && message.hasOwnProperty("ssoConnectionAction"))
87823
88072
  switch (message.ssoConnectionAction) {
87824
88073
  default:
@@ -87970,8 +88219,6 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
87970
88219
  message.orgMemberSubscriptionId = object.orgMemberSubscriptionId >>> 0;
87971
88220
  if (object.orgMemberCustomFields != null)
87972
88221
  message.orgMemberCustomFields = String(object.orgMemberCustomFields);
87973
- if (object.isTelehealthEnabled != null)
87974
- message.isTelehealthEnabled = Boolean(object.isTelehealthEnabled);
87975
88222
  switch (object.ssoConnectionAction) {
87976
88223
  case "CONNECTION_NO_UPDATE":
87977
88224
  case 0:
@@ -88052,7 +88299,6 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
88052
88299
  object.orgSubscriptionEndDate = options.longs === String ? "0" : 0;
88053
88300
  object.orgMemberSubscriptionId = 0;
88054
88301
  object.orgMemberCustomFields = "";
88055
- object.isTelehealthEnabled = false;
88056
88302
  object.ssoConnectionAction = options.enums === String ? "CONNECTION_NO_UPDATE" : 0;
88057
88303
  object.isSsoEnabled = false;
88058
88304
  object.gingerId = "";
@@ -88110,8 +88356,6 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
88110
88356
  object.orgMemberSubscriptionId = message.orgMemberSubscriptionId;
88111
88357
  if (message.orgMemberCustomFields != null && message.hasOwnProperty("orgMemberCustomFields"))
88112
88358
  object.orgMemberCustomFields = message.orgMemberCustomFields;
88113
- if (message.isTelehealthEnabled != null && message.hasOwnProperty("isTelehealthEnabled"))
88114
- object.isTelehealthEnabled = message.isTelehealthEnabled;
88115
88359
  if (message.ssoConnectionAction != null && message.hasOwnProperty("ssoConnectionAction"))
88116
88360
  object.ssoConnectionAction = options.enums === String ? $root.b2b.SSOConnectionAction[message.ssoConnectionAction] : message.ssoConnectionAction;
88117
88361
  if (message.isSsoEnabled != null && message.hasOwnProperty("isSsoEnabled"))
@@ -88167,7 +88411,6 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
88167
88411
  * @property {number|Long|null} [orgSubscriptionEndDate] EnterpriseUserEnrollmentRemoved orgSubscriptionEndDate
88168
88412
  * @property {number|null} [orgMemberSubscriptionId] EnterpriseUserEnrollmentRemoved orgMemberSubscriptionId
88169
88413
  * @property {string|null} [orgMemberCustomFields] EnterpriseUserEnrollmentRemoved orgMemberCustomFields
88170
- * @property {boolean|null} [isTelehealthEnabled] EnterpriseUserEnrollmentRemoved isTelehealthEnabled
88171
88414
  * @property {b2b.SSOConnectionAction|null} [ssoConnectionAction] EnterpriseUserEnrollmentRemoved ssoConnectionAction
88172
88415
  * @property {boolean|null} [isSsoEnabled] EnterpriseUserEnrollmentRemoved isSsoEnabled
88173
88416
  * @property {string|null} [gingerId] EnterpriseUserEnrollmentRemoved gingerId
@@ -88336,14 +88579,6 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
88336
88579
  */
88337
88580
  EnterpriseUserEnrollmentRemoved.prototype.orgMemberCustomFields = "";
88338
88581
 
88339
- /**
88340
- * EnterpriseUserEnrollmentRemoved isTelehealthEnabled.
88341
- * @member {boolean} isTelehealthEnabled
88342
- * @memberof EnterpriseUserEnrollmentRemoved
88343
- * @instance
88344
- */
88345
- EnterpriseUserEnrollmentRemoved.prototype.isTelehealthEnabled = false;
88346
-
88347
88582
  /**
88348
88583
  * EnterpriseUserEnrollmentRemoved ssoConnectionAction.
88349
88584
  * @member {b2b.SSOConnectionAction} ssoConnectionAction
@@ -88460,8 +88695,6 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
88460
88695
  writer.uint32(/* id 19, wireType 0 =*/152).uint32(message.orgMemberSubscriptionId);
88461
88696
  if (message.orgMemberCustomFields != null && message.hasOwnProperty("orgMemberCustomFields"))
88462
88697
  writer.uint32(/* id 20, wireType 2 =*/162).string(message.orgMemberCustomFields);
88463
- if (message.isTelehealthEnabled != null && message.hasOwnProperty("isTelehealthEnabled"))
88464
- writer.uint32(/* id 21, wireType 0 =*/168).bool(message.isTelehealthEnabled);
88465
88698
  if (message.ssoConnectionAction != null && message.hasOwnProperty("ssoConnectionAction"))
88466
88699
  writer.uint32(/* id 23, wireType 0 =*/184).int32(message.ssoConnectionAction);
88467
88700
  if (message.isSsoEnabled != null && message.hasOwnProperty("isSsoEnabled"))
@@ -88564,9 +88797,6 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
88564
88797
  case 20:
88565
88798
  message.orgMemberCustomFields = reader.string();
88566
88799
  break;
88567
- case 21:
88568
- message.isTelehealthEnabled = reader.bool();
88569
- break;
88570
88800
  case 23:
88571
88801
  message.ssoConnectionAction = reader.int32();
88572
88802
  break;
@@ -88707,9 +88937,6 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
88707
88937
  if (message.orgMemberCustomFields != null && message.hasOwnProperty("orgMemberCustomFields"))
88708
88938
  if (!$util.isString(message.orgMemberCustomFields))
88709
88939
  return "orgMemberCustomFields: string expected";
88710
- if (message.isTelehealthEnabled != null && message.hasOwnProperty("isTelehealthEnabled"))
88711
- if (typeof message.isTelehealthEnabled !== "boolean")
88712
- return "isTelehealthEnabled: boolean expected";
88713
88940
  if (message.ssoConnectionAction != null && message.hasOwnProperty("ssoConnectionAction"))
88714
88941
  switch (message.ssoConnectionAction) {
88715
88942
  default:
@@ -88907,8 +89134,6 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
88907
89134
  message.orgMemberSubscriptionId = object.orgMemberSubscriptionId >>> 0;
88908
89135
  if (object.orgMemberCustomFields != null)
88909
89136
  message.orgMemberCustomFields = String(object.orgMemberCustomFields);
88910
- if (object.isTelehealthEnabled != null)
88911
- message.isTelehealthEnabled = Boolean(object.isTelehealthEnabled);
88912
89137
  switch (object.ssoConnectionAction) {
88913
89138
  case "CONNECTION_NO_UPDATE":
88914
89139
  case 0:
@@ -88990,7 +89215,6 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
88990
89215
  object.orgSubscriptionEndDate = options.longs === String ? "0" : 0;
88991
89216
  object.orgMemberSubscriptionId = 0;
88992
89217
  object.orgMemberCustomFields = "";
88993
- object.isTelehealthEnabled = false;
88994
89218
  object.ssoConnectionAction = options.enums === String ? "CONNECTION_NO_UPDATE" : 0;
88995
89219
  object.isSsoEnabled = false;
88996
89220
  object.gingerId = "";
@@ -89050,8 +89274,6 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
89050
89274
  object.orgMemberSubscriptionId = message.orgMemberSubscriptionId;
89051
89275
  if (message.orgMemberCustomFields != null && message.hasOwnProperty("orgMemberCustomFields"))
89052
89276
  object.orgMemberCustomFields = message.orgMemberCustomFields;
89053
- if (message.isTelehealthEnabled != null && message.hasOwnProperty("isTelehealthEnabled"))
89054
- object.isTelehealthEnabled = message.isTelehealthEnabled;
89055
89277
  if (message.ssoConnectionAction != null && message.hasOwnProperty("ssoConnectionAction"))
89056
89278
  object.ssoConnectionAction = options.enums === String ? $root.b2b.SSOConnectionAction[message.ssoConnectionAction] : message.ssoConnectionAction;
89057
89279
  if (message.isSsoEnabled != null && message.hasOwnProperty("isSsoEnabled"))
@@ -89106,7 +89328,6 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
89106
89328
  * @property {number|Long|null} [orgSubscriptionEndDate] EnterpriseUserEnrollmentAmended orgSubscriptionEndDate
89107
89329
  * @property {number|null} [orgMemberSubscriptionId] EnterpriseUserEnrollmentAmended orgMemberSubscriptionId
89108
89330
  * @property {string|null} [orgMemberCustomFields] EnterpriseUserEnrollmentAmended orgMemberCustomFields
89109
- * @property {boolean|null} [isTelehealthEnabled] EnterpriseUserEnrollmentAmended isTelehealthEnabled
89110
89331
  * @property {b2b.SSOConnectionAction|null} [ssoConnectionAction] EnterpriseUserEnrollmentAmended ssoConnectionAction
89111
89332
  * @property {boolean|null} [isSsoEnabled] EnterpriseUserEnrollmentAmended isSsoEnabled
89112
89333
  * @property {string|null} [gingerId] EnterpriseUserEnrollmentAmended gingerId
@@ -89267,14 +89488,6 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
89267
89488
  */
89268
89489
  EnterpriseUserEnrollmentAmended.prototype.orgMemberCustomFields = "";
89269
89490
 
89270
- /**
89271
- * EnterpriseUserEnrollmentAmended isTelehealthEnabled.
89272
- * @member {boolean} isTelehealthEnabled
89273
- * @memberof EnterpriseUserEnrollmentAmended
89274
- * @instance
89275
- */
89276
- EnterpriseUserEnrollmentAmended.prototype.isTelehealthEnabled = false;
89277
-
89278
89491
  /**
89279
89492
  * EnterpriseUserEnrollmentAmended ssoConnectionAction.
89280
89493
  * @member {b2b.SSOConnectionAction} ssoConnectionAction
@@ -89389,8 +89602,6 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
89389
89602
  writer.uint32(/* id 18, wireType 0 =*/144).uint32(message.orgMemberSubscriptionId);
89390
89603
  if (message.orgMemberCustomFields != null && message.hasOwnProperty("orgMemberCustomFields"))
89391
89604
  writer.uint32(/* id 19, wireType 2 =*/154).string(message.orgMemberCustomFields);
89392
- if (message.isTelehealthEnabled != null && message.hasOwnProperty("isTelehealthEnabled"))
89393
- writer.uint32(/* id 20, wireType 0 =*/160).bool(message.isTelehealthEnabled);
89394
89605
  if (message.ssoConnectionAction != null && message.hasOwnProperty("ssoConnectionAction"))
89395
89606
  writer.uint32(/* id 22, wireType 0 =*/176).int32(message.ssoConnectionAction);
89396
89607
  if (message.isSsoEnabled != null && message.hasOwnProperty("isSsoEnabled"))
@@ -89490,9 +89701,6 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
89490
89701
  case 19:
89491
89702
  message.orgMemberCustomFields = reader.string();
89492
89703
  break;
89493
- case 20:
89494
- message.isTelehealthEnabled = reader.bool();
89495
- break;
89496
89704
  case 22:
89497
89705
  message.ssoConnectionAction = reader.int32();
89498
89706
  break;
@@ -89616,9 +89824,6 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
89616
89824
  if (message.orgMemberCustomFields != null && message.hasOwnProperty("orgMemberCustomFields"))
89617
89825
  if (!$util.isString(message.orgMemberCustomFields))
89618
89826
  return "orgMemberCustomFields: string expected";
89619
- if (message.isTelehealthEnabled != null && message.hasOwnProperty("isTelehealthEnabled"))
89620
- if (typeof message.isTelehealthEnabled !== "boolean")
89621
- return "isTelehealthEnabled: boolean expected";
89622
89827
  if (message.ssoConnectionAction != null && message.hasOwnProperty("ssoConnectionAction"))
89623
89828
  switch (message.ssoConnectionAction) {
89624
89829
  default:
@@ -89770,8 +89975,6 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
89770
89975
  message.orgMemberSubscriptionId = object.orgMemberSubscriptionId >>> 0;
89771
89976
  if (object.orgMemberCustomFields != null)
89772
89977
  message.orgMemberCustomFields = String(object.orgMemberCustomFields);
89773
- if (object.isTelehealthEnabled != null)
89774
- message.isTelehealthEnabled = Boolean(object.isTelehealthEnabled);
89775
89978
  switch (object.ssoConnectionAction) {
89776
89979
  case "CONNECTION_NO_UPDATE":
89777
89980
  case 0:
@@ -89852,7 +90055,6 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
89852
90055
  object.orgSubscriptionEndDate = options.longs === String ? "0" : 0;
89853
90056
  object.orgMemberSubscriptionId = 0;
89854
90057
  object.orgMemberCustomFields = "";
89855
- object.isTelehealthEnabled = false;
89856
90058
  object.ssoConnectionAction = options.enums === String ? "CONNECTION_NO_UPDATE" : 0;
89857
90059
  object.isSsoEnabled = false;
89858
90060
  object.gingerId = "";
@@ -89910,8 +90112,6 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
89910
90112
  object.orgMemberSubscriptionId = message.orgMemberSubscriptionId;
89911
90113
  if (message.orgMemberCustomFields != null && message.hasOwnProperty("orgMemberCustomFields"))
89912
90114
  object.orgMemberCustomFields = message.orgMemberCustomFields;
89913
- if (message.isTelehealthEnabled != null && message.hasOwnProperty("isTelehealthEnabled"))
89914
- object.isTelehealthEnabled = message.isTelehealthEnabled;
89915
90115
  if (message.ssoConnectionAction != null && message.hasOwnProperty("ssoConnectionAction"))
89916
90116
  object.ssoConnectionAction = options.enums === String ? $root.b2b.SSOConnectionAction[message.ssoConnectionAction] : message.ssoConnectionAction;
89917
90117
  if (message.isSsoEnabled != null && message.hasOwnProperty("isSsoEnabled"))
@@ -107342,6 +107542,7 @@ $root.SubscriptionCreated = (function() {
107342
107542
  * @property {boolean|null} [isQueuedSubscription] SubscriptionCreated isQueuedSubscription
107343
107543
  * @property {Array.<subscription.ITerm>|null} [terms] SubscriptionCreated terms
107344
107544
  * @property {subscription.SubscriptionMembership|null} [membership] SubscriptionCreated membership
107545
+ * @property {subscription.ISubscriptionProductSku|null} [productSku] SubscriptionCreated productSku
107345
107546
  */
107346
107547
 
107347
107548
  /**
@@ -107481,6 +107682,14 @@ $root.SubscriptionCreated = (function() {
107481
107682
  */
107482
107683
  SubscriptionCreated.prototype.membership = 0;
107483
107684
 
107685
+ /**
107686
+ * SubscriptionCreated productSku.
107687
+ * @member {subscription.ISubscriptionProductSku|null|undefined} productSku
107688
+ * @memberof SubscriptionCreated
107689
+ * @instance
107690
+ */
107691
+ SubscriptionCreated.prototype.productSku = null;
107692
+
107484
107693
  /**
107485
107694
  * Creates a new SubscriptionCreated instance using the specified properties.
107486
107695
  * @function create
@@ -107540,6 +107749,8 @@ $root.SubscriptionCreated = (function() {
107540
107749
  $root.subscription.Term.encode(message.terms[i], writer.uint32(/* id 14, wireType 2 =*/114).fork()).ldelim();
107541
107750
  if (message.membership != null && message.hasOwnProperty("membership"))
107542
107751
  writer.uint32(/* id 15, wireType 0 =*/120).int32(message.membership);
107752
+ if (message.productSku != null && message.hasOwnProperty("productSku"))
107753
+ $root.subscription.SubscriptionProductSku.encode(message.productSku, writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim();
107543
107754
  return writer;
107544
107755
  };
107545
107756
 
@@ -107628,6 +107839,9 @@ $root.SubscriptionCreated = (function() {
107628
107839
  case 15:
107629
107840
  message.membership = reader.int32();
107630
107841
  break;
107842
+ case 16:
107843
+ message.productSku = $root.subscription.SubscriptionProductSku.decode(reader, reader.uint32());
107844
+ break;
107631
107845
  default:
107632
107846
  reader.skipType(tag & 7);
107633
107847
  break;
@@ -107755,6 +107969,11 @@ $root.SubscriptionCreated = (function() {
107755
107969
  case 1:
107756
107970
  break;
107757
107971
  }
107972
+ if (message.productSku != null && message.hasOwnProperty("productSku")) {
107973
+ var error = $root.subscription.SubscriptionProductSku.verify(message.productSku);
107974
+ if (error)
107975
+ return "productSku." + error;
107976
+ }
107758
107977
  return null;
107759
107978
  };
107760
107979
 
@@ -107926,6 +108145,11 @@ $root.SubscriptionCreated = (function() {
107926
108145
  message.membership = 1;
107927
108146
  break;
107928
108147
  }
108148
+ if (object.productSku != null) {
108149
+ if (typeof object.productSku !== "object")
108150
+ throw TypeError(".SubscriptionCreated.productSku: object expected");
108151
+ message.productSku = $root.subscription.SubscriptionProductSku.fromObject(object.productSku);
108152
+ }
107929
108153
  return message;
107930
108154
  };
107931
108155
 
@@ -107976,6 +108200,7 @@ $root.SubscriptionCreated = (function() {
107976
108200
  object.subscriptionState = options.enums === String ? "SUBSTATE_UNKNOWN" : 0;
107977
108201
  object.isQueuedSubscription = false;
107978
108202
  object.membership = options.enums === String ? "PRIMARY" : 0;
108203
+ object.productSku = null;
107979
108204
  }
107980
108205
  if (message.id != null && message.hasOwnProperty("id"))
107981
108206
  object.id = message.id;
@@ -108025,6 +108250,8 @@ $root.SubscriptionCreated = (function() {
108025
108250
  }
108026
108251
  if (message.membership != null && message.hasOwnProperty("membership"))
108027
108252
  object.membership = options.enums === String ? $root.subscription.SubscriptionMembership[message.membership] : message.membership;
108253
+ if (message.productSku != null && message.hasOwnProperty("productSku"))
108254
+ object.productSku = $root.subscription.SubscriptionProductSku.toObject(message.productSku, options);
108028
108255
  return object;
108029
108256
  };
108030
108257
 
@@ -108065,6 +108292,7 @@ $root.SubscriptionCancelled = (function() {
108065
108292
  * @property {number|Long|null} [renewalCount] SubscriptionCancelled renewalCount
108066
108293
  * @property {Array.<subscription.ITerm>|null} [terms] SubscriptionCancelled terms
108067
108294
  * @property {subscription.SubscriptionMembership|null} [membership] SubscriptionCancelled membership
108295
+ * @property {subscription.ISubscriptionProductSku|null} [productSku] SubscriptionCancelled productSku
108068
108296
  */
108069
108297
 
108070
108298
  /**
@@ -108220,6 +108448,14 @@ $root.SubscriptionCancelled = (function() {
108220
108448
  */
108221
108449
  SubscriptionCancelled.prototype.membership = 0;
108222
108450
 
108451
+ /**
108452
+ * SubscriptionCancelled productSku.
108453
+ * @member {subscription.ISubscriptionProductSku|null|undefined} productSku
108454
+ * @memberof SubscriptionCancelled
108455
+ * @instance
108456
+ */
108457
+ SubscriptionCancelled.prototype.productSku = null;
108458
+
108223
108459
  /**
108224
108460
  * Creates a new SubscriptionCancelled instance using the specified properties.
108225
108461
  * @function create
@@ -108283,6 +108519,8 @@ $root.SubscriptionCancelled = (function() {
108283
108519
  $root.subscription.Term.encode(message.terms[i], writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim();
108284
108520
  if (message.membership != null && message.hasOwnProperty("membership"))
108285
108521
  writer.uint32(/* id 17, wireType 0 =*/136).int32(message.membership);
108522
+ if (message.productSku != null && message.hasOwnProperty("productSku"))
108523
+ $root.subscription.SubscriptionProductSku.encode(message.productSku, writer.uint32(/* id 18, wireType 2 =*/146).fork()).ldelim();
108286
108524
  return writer;
108287
108525
  };
108288
108526
 
@@ -108377,6 +108615,9 @@ $root.SubscriptionCancelled = (function() {
108377
108615
  case 17:
108378
108616
  message.membership = reader.int32();
108379
108617
  break;
108618
+ case 18:
108619
+ message.productSku = $root.subscription.SubscriptionProductSku.decode(reader, reader.uint32());
108620
+ break;
108380
108621
  default:
108381
108622
  reader.skipType(tag & 7);
108382
108623
  break;
@@ -108518,6 +108759,11 @@ $root.SubscriptionCancelled = (function() {
108518
108759
  case 1:
108519
108760
  break;
108520
108761
  }
108762
+ if (message.productSku != null && message.hasOwnProperty("productSku")) {
108763
+ var error = $root.subscription.SubscriptionProductSku.verify(message.productSku);
108764
+ if (error)
108765
+ return "productSku." + error;
108766
+ }
108521
108767
  return null;
108522
108768
  };
108523
108769
 
@@ -108715,6 +108961,11 @@ $root.SubscriptionCancelled = (function() {
108715
108961
  message.membership = 1;
108716
108962
  break;
108717
108963
  }
108964
+ if (object.productSku != null) {
108965
+ if (typeof object.productSku !== "object")
108966
+ throw TypeError(".SubscriptionCancelled.productSku: object expected");
108967
+ message.productSku = $root.subscription.SubscriptionProductSku.fromObject(object.productSku);
108968
+ }
108718
108969
  return message;
108719
108970
  };
108720
108971
 
@@ -108771,6 +109022,7 @@ $root.SubscriptionCancelled = (function() {
108771
109022
  } else
108772
109023
  object.renewalCount = options.longs === String ? "0" : 0;
108773
109024
  object.membership = options.enums === String ? "PRIMARY" : 0;
109025
+ object.productSku = null;
108774
109026
  }
108775
109027
  if (message.id != null && message.hasOwnProperty("id"))
108776
109028
  object.id = message.id;
@@ -108827,6 +109079,8 @@ $root.SubscriptionCancelled = (function() {
108827
109079
  }
108828
109080
  if (message.membership != null && message.hasOwnProperty("membership"))
108829
109081
  object.membership = options.enums === String ? $root.subscription.SubscriptionMembership[message.membership] : message.membership;
109082
+ if (message.productSku != null && message.hasOwnProperty("productSku"))
109083
+ object.productSku = $root.subscription.SubscriptionProductSku.toObject(message.productSku, options);
108830
109084
  return object;
108831
109085
  };
108832
109086
 
@@ -108865,6 +109119,7 @@ $root.SubscriptionRenewed = (function() {
108865
109119
  * @property {number|Long|null} [renewalCount] SubscriptionRenewed renewalCount
108866
109120
  * @property {Array.<subscription.ITerm>|null} [terms] SubscriptionRenewed terms
108867
109121
  * @property {subscription.SubscriptionMembership|null} [membership] SubscriptionRenewed membership
109122
+ * @property {subscription.ISubscriptionProductSku|null} [productSku] SubscriptionRenewed productSku
108868
109123
  */
108869
109124
 
108870
109125
  /**
@@ -109004,6 +109259,14 @@ $root.SubscriptionRenewed = (function() {
109004
109259
  */
109005
109260
  SubscriptionRenewed.prototype.membership = 0;
109006
109261
 
109262
+ /**
109263
+ * SubscriptionRenewed productSku.
109264
+ * @member {subscription.ISubscriptionProductSku|null|undefined} productSku
109265
+ * @memberof SubscriptionRenewed
109266
+ * @instance
109267
+ */
109268
+ SubscriptionRenewed.prototype.productSku = null;
109269
+
109007
109270
  /**
109008
109271
  * Creates a new SubscriptionRenewed instance using the specified properties.
109009
109272
  * @function create
@@ -109063,6 +109326,8 @@ $root.SubscriptionRenewed = (function() {
109063
109326
  $root.subscription.Term.encode(message.terms[i], writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim();
109064
109327
  if (message.membership != null && message.hasOwnProperty("membership"))
109065
109328
  writer.uint32(/* id 17, wireType 0 =*/136).int32(message.membership);
109329
+ if (message.productSku != null && message.hasOwnProperty("productSku"))
109330
+ $root.subscription.SubscriptionProductSku.encode(message.productSku, writer.uint32(/* id 18, wireType 2 =*/146).fork()).ldelim();
109066
109331
  return writer;
109067
109332
  };
109068
109333
 
@@ -109151,6 +109416,9 @@ $root.SubscriptionRenewed = (function() {
109151
109416
  case 17:
109152
109417
  message.membership = reader.int32();
109153
109418
  break;
109419
+ case 18:
109420
+ message.productSku = $root.subscription.SubscriptionProductSku.decode(reader, reader.uint32());
109421
+ break;
109154
109422
  default:
109155
109423
  reader.skipType(tag & 7);
109156
109424
  break;
@@ -109278,6 +109546,11 @@ $root.SubscriptionRenewed = (function() {
109278
109546
  case 1:
109279
109547
  break;
109280
109548
  }
109549
+ if (message.productSku != null && message.hasOwnProperty("productSku")) {
109550
+ var error = $root.subscription.SubscriptionProductSku.verify(message.productSku);
109551
+ if (error)
109552
+ return "productSku." + error;
109553
+ }
109281
109554
  return null;
109282
109555
  };
109283
109556
 
@@ -109456,6 +109729,11 @@ $root.SubscriptionRenewed = (function() {
109456
109729
  message.membership = 1;
109457
109730
  break;
109458
109731
  }
109732
+ if (object.productSku != null) {
109733
+ if (typeof object.productSku !== "object")
109734
+ throw TypeError(".SubscriptionRenewed.productSku: object expected");
109735
+ message.productSku = $root.subscription.SubscriptionProductSku.fromObject(object.productSku);
109736
+ }
109459
109737
  return message;
109460
109738
  };
109461
109739
 
@@ -109510,6 +109788,7 @@ $root.SubscriptionRenewed = (function() {
109510
109788
  } else
109511
109789
  object.renewalCount = options.longs === String ? "0" : 0;
109512
109790
  object.membership = options.enums === String ? "PRIMARY" : 0;
109791
+ object.productSku = null;
109513
109792
  }
109514
109793
  if (message.id != null && message.hasOwnProperty("id"))
109515
109794
  object.id = message.id;
@@ -109562,6 +109841,8 @@ $root.SubscriptionRenewed = (function() {
109562
109841
  }
109563
109842
  if (message.membership != null && message.hasOwnProperty("membership"))
109564
109843
  object.membership = options.enums === String ? $root.subscription.SubscriptionMembership[message.membership] : message.membership;
109844
+ if (message.productSku != null && message.hasOwnProperty("productSku"))
109845
+ object.productSku = $root.subscription.SubscriptionProductSku.toObject(message.productSku, options);
109565
109846
  return object;
109566
109847
  };
109567
109848
 
@@ -110622,6 +110903,7 @@ $root.SubscriptionGraced = (function() {
110622
110903
  * @property {number|Long|null} [renewalCount] SubscriptionGraced renewalCount
110623
110904
  * @property {Array.<subscription.ITerm>|null} [terms] SubscriptionGraced terms
110624
110905
  * @property {subscription.SubscriptionMembership|null} [membership] SubscriptionGraced membership
110906
+ * @property {subscription.ISubscriptionProductSku|null} [productSku] SubscriptionGraced productSku
110625
110907
  */
110626
110908
 
110627
110909
  /**
@@ -110761,6 +111043,14 @@ $root.SubscriptionGraced = (function() {
110761
111043
  */
110762
111044
  SubscriptionGraced.prototype.membership = 0;
110763
111045
 
111046
+ /**
111047
+ * SubscriptionGraced productSku.
111048
+ * @member {subscription.ISubscriptionProductSku|null|undefined} productSku
111049
+ * @memberof SubscriptionGraced
111050
+ * @instance
111051
+ */
111052
+ SubscriptionGraced.prototype.productSku = null;
111053
+
110764
111054
  /**
110765
111055
  * Creates a new SubscriptionGraced instance using the specified properties.
110766
111056
  * @function create
@@ -110820,6 +111110,8 @@ $root.SubscriptionGraced = (function() {
110820
111110
  $root.subscription.Term.encode(message.terms[i], writer.uint32(/* id 14, wireType 2 =*/114).fork()).ldelim();
110821
111111
  if (message.membership != null && message.hasOwnProperty("membership"))
110822
111112
  writer.uint32(/* id 15, wireType 0 =*/120).int32(message.membership);
111113
+ if (message.productSku != null && message.hasOwnProperty("productSku"))
111114
+ $root.subscription.SubscriptionProductSku.encode(message.productSku, writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim();
110823
111115
  return writer;
110824
111116
  };
110825
111117
 
@@ -110908,6 +111200,9 @@ $root.SubscriptionGraced = (function() {
110908
111200
  case 15:
110909
111201
  message.membership = reader.int32();
110910
111202
  break;
111203
+ case 16:
111204
+ message.productSku = $root.subscription.SubscriptionProductSku.decode(reader, reader.uint32());
111205
+ break;
110911
111206
  default:
110912
111207
  reader.skipType(tag & 7);
110913
111208
  break;
@@ -111035,6 +111330,11 @@ $root.SubscriptionGraced = (function() {
111035
111330
  case 1:
111036
111331
  break;
111037
111332
  }
111333
+ if (message.productSku != null && message.hasOwnProperty("productSku")) {
111334
+ var error = $root.subscription.SubscriptionProductSku.verify(message.productSku);
111335
+ if (error)
111336
+ return "productSku." + error;
111337
+ }
111038
111338
  return null;
111039
111339
  };
111040
111340
 
@@ -111213,6 +111513,11 @@ $root.SubscriptionGraced = (function() {
111213
111513
  message.membership = 1;
111214
111514
  break;
111215
111515
  }
111516
+ if (object.productSku != null) {
111517
+ if (typeof object.productSku !== "object")
111518
+ throw TypeError(".SubscriptionGraced.productSku: object expected");
111519
+ message.productSku = $root.subscription.SubscriptionProductSku.fromObject(object.productSku);
111520
+ }
111216
111521
  return message;
111217
111522
  };
111218
111523
 
@@ -111267,6 +111572,7 @@ $root.SubscriptionGraced = (function() {
111267
111572
  } else
111268
111573
  object.renewalCount = options.longs === String ? "0" : 0;
111269
111574
  object.membership = options.enums === String ? "PRIMARY" : 0;
111575
+ object.productSku = null;
111270
111576
  }
111271
111577
  if (message.id != null && message.hasOwnProperty("id"))
111272
111578
  object.id = message.id;
@@ -111319,6 +111625,8 @@ $root.SubscriptionGraced = (function() {
111319
111625
  }
111320
111626
  if (message.membership != null && message.hasOwnProperty("membership"))
111321
111627
  object.membership = options.enums === String ? $root.subscription.SubscriptionMembership[message.membership] : message.membership;
111628
+ if (message.productSku != null && message.hasOwnProperty("productSku"))
111629
+ object.productSku = $root.subscription.SubscriptionProductSku.toObject(message.productSku, options);
111322
111630
  return object;
111323
111631
  };
111324
111632
 
@@ -111357,6 +111665,7 @@ $root.SubscriptionStarted = (function() {
111357
111665
  * @property {number|null} [id] SubscriptionStarted id
111358
111666
  * @property {Array.<subscription.ITerm>|null} [terms] SubscriptionStarted terms
111359
111667
  * @property {subscription.SubscriptionMembership|null} [membership] SubscriptionStarted membership
111668
+ * @property {subscription.ISubscriptionProductSku|null} [productSku] SubscriptionStarted productSku
111360
111669
  */
111361
111670
 
111362
111671
  /**
@@ -111496,6 +111805,14 @@ $root.SubscriptionStarted = (function() {
111496
111805
  */
111497
111806
  SubscriptionStarted.prototype.membership = 0;
111498
111807
 
111808
+ /**
111809
+ * SubscriptionStarted productSku.
111810
+ * @member {subscription.ISubscriptionProductSku|null|undefined} productSku
111811
+ * @memberof SubscriptionStarted
111812
+ * @instance
111813
+ */
111814
+ SubscriptionStarted.prototype.productSku = null;
111815
+
111499
111816
  /**
111500
111817
  * Creates a new SubscriptionStarted instance using the specified properties.
111501
111818
  * @function create
@@ -111555,6 +111872,8 @@ $root.SubscriptionStarted = (function() {
111555
111872
  $root.subscription.Term.encode(message.terms[i], writer.uint32(/* id 15, wireType 2 =*/122).fork()).ldelim();
111556
111873
  if (message.membership != null && message.hasOwnProperty("membership"))
111557
111874
  writer.uint32(/* id 16, wireType 0 =*/128).int32(message.membership);
111875
+ if (message.productSku != null && message.hasOwnProperty("productSku"))
111876
+ $root.subscription.SubscriptionProductSku.encode(message.productSku, writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim();
111558
111877
  return writer;
111559
111878
  };
111560
111879
 
@@ -111643,6 +111962,9 @@ $root.SubscriptionStarted = (function() {
111643
111962
  case 16:
111644
111963
  message.membership = reader.int32();
111645
111964
  break;
111965
+ case 17:
111966
+ message.productSku = $root.subscription.SubscriptionProductSku.decode(reader, reader.uint32());
111967
+ break;
111646
111968
  default:
111647
111969
  reader.skipType(tag & 7);
111648
111970
  break;
@@ -111770,6 +112092,11 @@ $root.SubscriptionStarted = (function() {
111770
112092
  case 1:
111771
112093
  break;
111772
112094
  }
112095
+ if (message.productSku != null && message.hasOwnProperty("productSku")) {
112096
+ var error = $root.subscription.SubscriptionProductSku.verify(message.productSku);
112097
+ if (error)
112098
+ return "productSku." + error;
112099
+ }
111773
112100
  return null;
111774
112101
  };
111775
112102
 
@@ -111948,6 +112275,11 @@ $root.SubscriptionStarted = (function() {
111948
112275
  message.membership = 1;
111949
112276
  break;
111950
112277
  }
112278
+ if (object.productSku != null) {
112279
+ if (typeof object.productSku !== "object")
112280
+ throw TypeError(".SubscriptionStarted.productSku: object expected");
112281
+ message.productSku = $root.subscription.SubscriptionProductSku.fromObject(object.productSku);
112282
+ }
111951
112283
  return message;
111952
112284
  };
111953
112285
 
@@ -112002,6 +112334,7 @@ $root.SubscriptionStarted = (function() {
112002
112334
  object.renewalCount = options.longs === String ? "0" : 0;
112003
112335
  object.id = 0;
112004
112336
  object.membership = options.enums === String ? "PRIMARY" : 0;
112337
+ object.productSku = null;
112005
112338
  }
112006
112339
  if (message.updatedOn != null && message.hasOwnProperty("updatedOn"))
112007
112340
  if (typeof message.updatedOn === "number")
@@ -112054,6 +112387,8 @@ $root.SubscriptionStarted = (function() {
112054
112387
  }
112055
112388
  if (message.membership != null && message.hasOwnProperty("membership"))
112056
112389
  object.membership = options.enums === String ? $root.subscription.SubscriptionMembership[message.membership] : message.membership;
112390
+ if (message.productSku != null && message.hasOwnProperty("productSku"))
112391
+ object.productSku = $root.subscription.SubscriptionProductSku.toObject(message.productSku, options);
112057
112392
  return object;
112058
112393
  };
112059
112394
 
@@ -112093,6 +112428,7 @@ $root.SubscriptionEnded = (function() {
112093
112428
  * @property {number|null} [id] SubscriptionEnded id
112094
112429
  * @property {Array.<subscription.ITerm>|null} [terms] SubscriptionEnded terms
112095
112430
  * @property {subscription.SubscriptionMembership|null} [membership] SubscriptionEnded membership
112431
+ * @property {subscription.ISubscriptionProductSku|null} [productSku] SubscriptionEnded productSku
112096
112432
  */
112097
112433
 
112098
112434
  /**
@@ -112240,6 +112576,14 @@ $root.SubscriptionEnded = (function() {
112240
112576
  */
112241
112577
  SubscriptionEnded.prototype.membership = 0;
112242
112578
 
112579
+ /**
112580
+ * SubscriptionEnded productSku.
112581
+ * @member {subscription.ISubscriptionProductSku|null|undefined} productSku
112582
+ * @memberof SubscriptionEnded
112583
+ * @instance
112584
+ */
112585
+ SubscriptionEnded.prototype.productSku = null;
112586
+
112243
112587
  /**
112244
112588
  * Creates a new SubscriptionEnded instance using the specified properties.
112245
112589
  * @function create
@@ -112301,6 +112645,8 @@ $root.SubscriptionEnded = (function() {
112301
112645
  $root.subscription.Term.encode(message.terms[i], writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim();
112302
112646
  if (message.membership != null && message.hasOwnProperty("membership"))
112303
112647
  writer.uint32(/* id 17, wireType 0 =*/136).int32(message.membership);
112648
+ if (message.productSku != null && message.hasOwnProperty("productSku"))
112649
+ $root.subscription.SubscriptionProductSku.encode(message.productSku, writer.uint32(/* id 18, wireType 2 =*/146).fork()).ldelim();
112304
112650
  return writer;
112305
112651
  };
112306
112652
 
@@ -112392,6 +112738,9 @@ $root.SubscriptionEnded = (function() {
112392
112738
  case 17:
112393
112739
  message.membership = reader.int32();
112394
112740
  break;
112741
+ case 18:
112742
+ message.productSku = $root.subscription.SubscriptionProductSku.decode(reader, reader.uint32());
112743
+ break;
112395
112744
  default:
112396
112745
  reader.skipType(tag & 7);
112397
112746
  break;
@@ -112528,6 +112877,11 @@ $root.SubscriptionEnded = (function() {
112528
112877
  case 1:
112529
112878
  break;
112530
112879
  }
112880
+ if (message.productSku != null && message.hasOwnProperty("productSku")) {
112881
+ var error = $root.subscription.SubscriptionProductSku.verify(message.productSku);
112882
+ if (error)
112883
+ return "productSku." + error;
112884
+ }
112531
112885
  return null;
112532
112886
  };
112533
112887
 
@@ -112720,6 +113074,11 @@ $root.SubscriptionEnded = (function() {
112720
113074
  message.membership = 1;
112721
113075
  break;
112722
113076
  }
113077
+ if (object.productSku != null) {
113078
+ if (typeof object.productSku !== "object")
113079
+ throw TypeError(".SubscriptionEnded.productSku: object expected");
113080
+ message.productSku = $root.subscription.SubscriptionProductSku.fromObject(object.productSku);
113081
+ }
112723
113082
  return message;
112724
113083
  };
112725
113084
 
@@ -112775,6 +113134,7 @@ $root.SubscriptionEnded = (function() {
112775
113134
  object.renewalCount = options.longs === String ? "0" : 0;
112776
113135
  object.id = 0;
112777
113136
  object.membership = options.enums === String ? "PRIMARY" : 0;
113137
+ object.productSku = null;
112778
113138
  }
112779
113139
  if (message.updatedOn != null && message.hasOwnProperty("updatedOn"))
112780
113140
  if (typeof message.updatedOn === "number")
@@ -112829,6 +113189,8 @@ $root.SubscriptionEnded = (function() {
112829
113189
  }
112830
113190
  if (message.membership != null && message.hasOwnProperty("membership"))
112831
113191
  object.membership = options.enums === String ? $root.subscription.SubscriptionMembership[message.membership] : message.membership;
113192
+ if (message.productSku != null && message.hasOwnProperty("productSku"))
113193
+ object.productSku = $root.subscription.SubscriptionProductSku.toObject(message.productSku, options);
112832
113194
  return object;
112833
113195
  };
112834
113196
 
@@ -112867,6 +113229,7 @@ $root.SubscriptionRecovered = (function() {
112867
113229
  * @property {number|null} [id] SubscriptionRecovered id
112868
113230
  * @property {Array.<subscription.ITerm>|null} [terms] SubscriptionRecovered terms
112869
113231
  * @property {subscription.SubscriptionMembership|null} [membership] SubscriptionRecovered membership
113232
+ * @property {subscription.ISubscriptionProductSku|null} [productSku] SubscriptionRecovered productSku
112870
113233
  */
112871
113234
 
112872
113235
  /**
@@ -113006,6 +113369,14 @@ $root.SubscriptionRecovered = (function() {
113006
113369
  */
113007
113370
  SubscriptionRecovered.prototype.membership = 0;
113008
113371
 
113372
+ /**
113373
+ * SubscriptionRecovered productSku.
113374
+ * @member {subscription.ISubscriptionProductSku|null|undefined} productSku
113375
+ * @memberof SubscriptionRecovered
113376
+ * @instance
113377
+ */
113378
+ SubscriptionRecovered.prototype.productSku = null;
113379
+
113009
113380
  /**
113010
113381
  * Creates a new SubscriptionRecovered instance using the specified properties.
113011
113382
  * @function create
@@ -113065,6 +113436,8 @@ $root.SubscriptionRecovered = (function() {
113065
113436
  $root.subscription.Term.encode(message.terms[i], writer.uint32(/* id 15, wireType 2 =*/122).fork()).ldelim();
113066
113437
  if (message.membership != null && message.hasOwnProperty("membership"))
113067
113438
  writer.uint32(/* id 16, wireType 0 =*/128).int32(message.membership);
113439
+ if (message.productSku != null && message.hasOwnProperty("productSku"))
113440
+ $root.subscription.SubscriptionProductSku.encode(message.productSku, writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim();
113068
113441
  return writer;
113069
113442
  };
113070
113443
 
@@ -113153,6 +113526,9 @@ $root.SubscriptionRecovered = (function() {
113153
113526
  case 16:
113154
113527
  message.membership = reader.int32();
113155
113528
  break;
113529
+ case 17:
113530
+ message.productSku = $root.subscription.SubscriptionProductSku.decode(reader, reader.uint32());
113531
+ break;
113156
113532
  default:
113157
113533
  reader.skipType(tag & 7);
113158
113534
  break;
@@ -113280,6 +113656,11 @@ $root.SubscriptionRecovered = (function() {
113280
113656
  case 1:
113281
113657
  break;
113282
113658
  }
113659
+ if (message.productSku != null && message.hasOwnProperty("productSku")) {
113660
+ var error = $root.subscription.SubscriptionProductSku.verify(message.productSku);
113661
+ if (error)
113662
+ return "productSku." + error;
113663
+ }
113283
113664
  return null;
113284
113665
  };
113285
113666
 
@@ -113458,6 +113839,11 @@ $root.SubscriptionRecovered = (function() {
113458
113839
  message.membership = 1;
113459
113840
  break;
113460
113841
  }
113842
+ if (object.productSku != null) {
113843
+ if (typeof object.productSku !== "object")
113844
+ throw TypeError(".SubscriptionRecovered.productSku: object expected");
113845
+ message.productSku = $root.subscription.SubscriptionProductSku.fromObject(object.productSku);
113846
+ }
113461
113847
  return message;
113462
113848
  };
113463
113849
 
@@ -113512,6 +113898,7 @@ $root.SubscriptionRecovered = (function() {
113512
113898
  object.renewalCount = options.longs === String ? "0" : 0;
113513
113899
  object.id = 0;
113514
113900
  object.membership = options.enums === String ? "PRIMARY" : 0;
113901
+ object.productSku = null;
113515
113902
  }
113516
113903
  if (message.updatedOn != null && message.hasOwnProperty("updatedOn"))
113517
113904
  if (typeof message.updatedOn === "number")
@@ -113564,6 +113951,8 @@ $root.SubscriptionRecovered = (function() {
113564
113951
  }
113565
113952
  if (message.membership != null && message.hasOwnProperty("membership"))
113566
113953
  object.membership = options.enums === String ? $root.subscription.SubscriptionMembership[message.membership] : message.membership;
113954
+ if (message.productSku != null && message.hasOwnProperty("productSku"))
113955
+ object.productSku = $root.subscription.SubscriptionProductSku.toObject(message.productSku, options);
113567
113956
  return object;
113568
113957
  };
113569
113958
 
@@ -113602,6 +113991,7 @@ $root.SubscriptionAmended = (function() {
113602
113991
  * @property {number|null} [id] SubscriptionAmended id
113603
113992
  * @property {Array.<subscription.ITerm>|null} [terms] SubscriptionAmended terms
113604
113993
  * @property {subscription.SubscriptionMembership|null} [membership] SubscriptionAmended membership
113994
+ * @property {subscription.ISubscriptionProductSku|null} [productSku] SubscriptionAmended productSku
113605
113995
  */
113606
113996
 
113607
113997
  /**
@@ -113741,6 +114131,14 @@ $root.SubscriptionAmended = (function() {
113741
114131
  */
113742
114132
  SubscriptionAmended.prototype.membership = 0;
113743
114133
 
114134
+ /**
114135
+ * SubscriptionAmended productSku.
114136
+ * @member {subscription.ISubscriptionProductSku|null|undefined} productSku
114137
+ * @memberof SubscriptionAmended
114138
+ * @instance
114139
+ */
114140
+ SubscriptionAmended.prototype.productSku = null;
114141
+
113744
114142
  /**
113745
114143
  * Creates a new SubscriptionAmended instance using the specified properties.
113746
114144
  * @function create
@@ -113800,6 +114198,8 @@ $root.SubscriptionAmended = (function() {
113800
114198
  $root.subscription.Term.encode(message.terms[i], writer.uint32(/* id 15, wireType 2 =*/122).fork()).ldelim();
113801
114199
  if (message.membership != null && message.hasOwnProperty("membership"))
113802
114200
  writer.uint32(/* id 16, wireType 0 =*/128).int32(message.membership);
114201
+ if (message.productSku != null && message.hasOwnProperty("productSku"))
114202
+ $root.subscription.SubscriptionProductSku.encode(message.productSku, writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim();
113803
114203
  return writer;
113804
114204
  };
113805
114205
 
@@ -113888,6 +114288,9 @@ $root.SubscriptionAmended = (function() {
113888
114288
  case 16:
113889
114289
  message.membership = reader.int32();
113890
114290
  break;
114291
+ case 17:
114292
+ message.productSku = $root.subscription.SubscriptionProductSku.decode(reader, reader.uint32());
114293
+ break;
113891
114294
  default:
113892
114295
  reader.skipType(tag & 7);
113893
114296
  break;
@@ -114015,6 +114418,11 @@ $root.SubscriptionAmended = (function() {
114015
114418
  case 1:
114016
114419
  break;
114017
114420
  }
114421
+ if (message.productSku != null && message.hasOwnProperty("productSku")) {
114422
+ var error = $root.subscription.SubscriptionProductSku.verify(message.productSku);
114423
+ if (error)
114424
+ return "productSku." + error;
114425
+ }
114018
114426
  return null;
114019
114427
  };
114020
114428
 
@@ -114193,6 +114601,11 @@ $root.SubscriptionAmended = (function() {
114193
114601
  message.membership = 1;
114194
114602
  break;
114195
114603
  }
114604
+ if (object.productSku != null) {
114605
+ if (typeof object.productSku !== "object")
114606
+ throw TypeError(".SubscriptionAmended.productSku: object expected");
114607
+ message.productSku = $root.subscription.SubscriptionProductSku.fromObject(object.productSku);
114608
+ }
114196
114609
  return message;
114197
114610
  };
114198
114611
 
@@ -114247,6 +114660,7 @@ $root.SubscriptionAmended = (function() {
114247
114660
  object.renewalCount = options.longs === String ? "0" : 0;
114248
114661
  object.id = 0;
114249
114662
  object.membership = options.enums === String ? "PRIMARY" : 0;
114663
+ object.productSku = null;
114250
114664
  }
114251
114665
  if (message.updatedOn != null && message.hasOwnProperty("updatedOn"))
114252
114666
  if (typeof message.updatedOn === "number")
@@ -114299,6 +114713,8 @@ $root.SubscriptionAmended = (function() {
114299
114713
  }
114300
114714
  if (message.membership != null && message.hasOwnProperty("membership"))
114301
114715
  object.membership = options.enums === String ? $root.subscription.SubscriptionMembership[message.membership] : message.membership;
114716
+ if (message.productSku != null && message.hasOwnProperty("productSku"))
114717
+ object.productSku = $root.subscription.SubscriptionProductSku.toObject(message.productSku, options);
114302
114718
  return object;
114303
114719
  };
114304
114720
 
@@ -119200,237 +119616,4 @@ $root.VirginPulseAccountLinked = (function() {
119200
119616
  return VirginPulseAccountLinked;
119201
119617
  })();
119202
119618
 
119203
- $root.UserMFAEnrollmentInitiated = (function() {
119204
-
119205
- /**
119206
- * Properties of a UserMFAEnrollmentInitiated.
119207
- * @exports IUserMFAEnrollmentInitiated
119208
- * @interface IUserMFAEnrollmentInitiated
119209
- * @property {string|null} [enabled] UserMFAEnrollmentInitiated enabled
119210
- * @property {number|null} [timestamp] UserMFAEnrollmentInitiated timestamp
119211
- * @property {string|null} [userId] UserMFAEnrollmentInitiated userId
119212
- */
119213
-
119214
- /**
119215
- * Constructs a new UserMFAEnrollmentInitiated.
119216
- * @exports UserMFAEnrollmentInitiated
119217
- * @classdesc Represents a UserMFAEnrollmentInitiated.
119218
- * @implements IUserMFAEnrollmentInitiated
119219
- * @constructor
119220
- * @param {IUserMFAEnrollmentInitiated=} [properties] Properties to set
119221
- */
119222
- function UserMFAEnrollmentInitiated(properties) {
119223
- if (properties)
119224
- for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
119225
- if (properties[keys[i]] != null)
119226
- this[keys[i]] = properties[keys[i]];
119227
- }
119228
-
119229
- /**
119230
- * UserMFAEnrollmentInitiated timestamp.
119231
- * @member {number} timestamp
119232
- * @memberof UserMFAEnrollmentInitiated
119233
- * @instance
119234
- */
119235
- UserMFAEnrollmentInitiated.prototype.timestamp = "";
119236
-
119237
- /**
119238
- * UserMFAEnrollmentInitiated enabled.
119239
- * @member {string} enabled
119240
- * @memberof UserMFAEnrollmentInitiated
119241
- * @instance
119242
- */
119243
- UserMFAEnrollmentInitiated.prototype.enabled = "";
119244
-
119245
- /**
119246
- * UserMFAEnrollmentInitiated userId.
119247
- * @member {string} userId
119248
- * @memberof UserMFAEnrollmentInitiated
119249
- * @instance
119250
- */
119251
- UserMFAEnrollmentInitiated.prototype.userId = "";
119252
-
119253
- /**
119254
- * Creates a new UserMFAEnrollmentInitiated instance using the specified properties.
119255
- * @function create
119256
- * @memberof UserMFAEnrollmentInitiated
119257
- * @static
119258
- * @param {IUserMFAEnrollmentInitiated=} [properties] Properties to set
119259
- * @returns {UserMFAEnrollmentInitiated} UserMFAEnrollmentInitiated instance
119260
- */
119261
- UserMFAEnrollmentInitiated.create = function create(properties) {
119262
- return new UserMFAEnrollmentInitiated(properties);
119263
- };
119264
-
119265
- /**
119266
- * Encodes the specified UserMFAEnrollmentInitiated message. Does not implicitly {@link UserMFAEnrollmentInitiated.verify|verify} messages.
119267
- * @function encode
119268
- * @memberof UserMFAEnrollmentInitiated
119269
- * @static
119270
- * @param {IUserMFAEnrollmentInitiated} message UserMFAEnrollmentInitiated message or plain object to encode
119271
- * @param {$protobuf.Writer} [writer] Writer to encode to
119272
- * @returns {$protobuf.Writer} Writer
119273
- */
119274
- UserMFAEnrollmentInitiated.encode = function encode(message, writer) {
119275
- if (!writer)
119276
- writer = $Writer.create();
119277
- if (message.timestamp != null && message.hasOwnProperty("timestamp"))
119278
- writer.uint32(/* id 2, wireType 2 =*/18).number(message.timestamp);
119279
- if (message.enabled != null && message.hasOwnProperty("enabled"))
119280
- writer.uint32(/* id 2, wireType 2 =*/18).string(message.enabled);
119281
- if (message.userId != null && message.hasOwnProperty("userId"))
119282
- writer.uint32(/* id 2, wireType 2 =*/18).string(message.userId);
119283
- return writer;
119284
- };
119285
-
119286
- /**
119287
- * Encodes the specified UserMFAEnrollmentInitiated message, length delimited. Does not implicitly {@link UserMFAEnrollmentInitiated.verify|verify} messages.
119288
- * @function encodeDelimited
119289
- * @memberof UserMFAEnrollmentInitiated
119290
- * @static
119291
- * @param {IUserMFAEnrollmentInitiated} message UserMFAEnrollmentInitiated message or plain object to encode
119292
- * @param {$protobuf.Writer} [writer] Writer to encode to
119293
- * @returns {$protobuf.Writer} Writer
119294
- */
119295
- UserMFAEnrollmentInitiated.encodeDelimited = function encodeDelimited(message, writer) {
119296
- return this.encode(message, writer).ldelim();
119297
- };
119298
-
119299
- /**
119300
- * Decodes a UserMFAEnrollmentInitiated message from the specified reader or buffer.
119301
- * @function decode
119302
- * @memberof UserMFAEnrollmentInitiated
119303
- * @static
119304
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
119305
- * @param {string} [length] Message length if known beforehand
119306
- * @returns {UserMFAEnrollmentInitiated} UserMFAEnrollmentInitiated
119307
- * @throws {Error} If the payload is not a reader or valid buffer
119308
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
119309
- */
119310
- UserMFAEnrollmentInitiated.decode = function decode(reader, length) {
119311
- if (!(reader instanceof $Reader))
119312
- reader = $Reader.create(reader);
119313
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.UserMFAEnrollmentInitiated();
119314
- while (reader.pos < end) {
119315
- var tag = reader.uint32();
119316
- switch (tag >>> 3) {
119317
- case 1:
119318
- message.enabled = reader.string();
119319
- break;
119320
- case 2:
119321
- message.userId = reader.string();
119322
- break;
119323
- case 3:
119324
- message.timestamp = reader.number();
119325
- break;
119326
- default:
119327
- reader.skipType(tag & 7);
119328
- break;
119329
- }
119330
- }
119331
- return message;
119332
- };
119333
-
119334
- /**
119335
- * Decodes a UserMFAEnrollmentInitiated message from the specified reader or buffer, length delimited.
119336
- * @function decodeDelimited
119337
- * @memberof UserMFAEnrollmentInitiated
119338
- * @static
119339
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
119340
- * @returns {UserMFAEnrollmentInitiated} UserMFAEnrollmentInitiated
119341
- * @throws {Error} If the payload is not a reader or valid buffer
119342
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
119343
- */
119344
- UserMFAEnrollmentInitiated.decodeDelimited = function decodeDelimited(reader) {
119345
- if (!(reader instanceof $Reader))
119346
- reader = new $Reader(reader);
119347
- return this.decode(reader, reader.uint32());
119348
- };
119349
-
119350
- /**
119351
- * Verifies a UserMFAEnrollmentInitiated message.
119352
- * @function verify
119353
- * @memberof UserMFAEnrollmentInitiated
119354
- * @static
119355
- * @param {Object.<string,*>} message Plain object to verify
119356
- * @returns {string|null} `null` if valid, otherwise the reason why it is not
119357
- */
119358
- UserMFAEnrollmentInitiated.verify = function verify(message) {
119359
- if (typeof message !== "object" || message === null)
119360
- return "object expected";
119361
- if (message.enabled != null && message.hasOwnProperty("enabled"))
119362
- if (!$util.isString(message.enabled))
119363
- return "enabled: string expected";
119364
- if (message.timestamp != null && message.hasOwnProperty("timestamp"))
119365
- if (!$util.isString(message.timestamp))
119366
- return "timestamp: number expected";
119367
- if (message.userId != null && message.hasOwnProperty("userId"))
119368
- if (!$util.isString(message.userId))
119369
- return "userId: string expected";
119370
- return null;
119371
- };
119372
-
119373
- /**
119374
- * Creates a UserMFAEnrollmentInitiated message from a plain object. Also converts values to their respective internal types.
119375
- * @function fromObject
119376
- * @memberof UserMFAEnrollmentInitiated
119377
- * @static
119378
- * @param {Object.<string,*>} object Plain object
119379
- * @returns {UserMFAEnrollmentInitiated} UserMFAEnrollmentInitiated
119380
- */
119381
- UserMFAEnrollmentInitiated.fromObject = function fromObject(object) {
119382
- if (object instanceof $root.UserMFAEnrollmentInitiated)
119383
- return object;
119384
- var message = new $root.UserMFAEnrollmentInitiated();
119385
- if (object.enabled != null)
119386
- message.enabled = String(object.enabled);
119387
- if (object.timestamp != null)
119388
- message.timestamp = String(object.timestamp);
119389
- if (object.userId != null)
119390
- message.userId = String(object.userId);
119391
- return message;
119392
- };
119393
-
119394
- /**
119395
- * Creates a plain object from a UserMFAEnrollmentInitiated message. Also converts values to other types if specified.
119396
- * @function toObject
119397
- * @memberof UserMFAEnrollmentInitiated
119398
- * @static
119399
- * @param {UserMFAEnrollmentInitiated} message UserMFAEnrollmentInitiated
119400
- * @param {$protobuf.IConversionOptions} [options] Conversion options
119401
- * @returns {Object.<string,*>} Plain object
119402
- */
119403
- UserMFAEnrollmentInitiated.toObject = function toObject(message, options) {
119404
- if (!options)
119405
- options = {};
119406
- var object = {};
119407
- if (options.defaults) {
119408
- object.enabled = "";
119409
- object.userId = "";
119410
- object.timestamp = "";
119411
- }
119412
- if (message.enabled != null && message.hasOwnProperty("enabled"))
119413
- object.userId = message.enabled;
119414
- if (message.timestamp != null && message.hasOwnProperty("timestamp"))
119415
- object.userId = message.timestamp;
119416
- if (message.userId != null && message.hasOwnProperty("userId"))
119417
- object.userId = message.userId;
119418
- return object;
119419
- };
119420
-
119421
- /**
119422
- * Converts this UserMFAEnrollmentInitiated to JSON.
119423
- * @function toJSON
119424
- * @memberof UserMFAEnrollmentInitiated
119425
- * @instance
119426
- * @returns {Object.<string,*>} JSON object
119427
- */
119428
- UserMFAEnrollmentInitiated.prototype.toJSON = function toJSON() {
119429
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
119430
- };
119431
-
119432
- return UserMFAEnrollmentInitiated;
119433
- })();
119434
-
119435
-
119436
119619
  module.exports = $root;