@headspace/protos-events 1.588.0 → 1.589.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
@@ -36298,6 +36298,9 @@ export interface IB2BMemberPartnerConsentRequested {
36298
36298
 
36299
36299
  /** B2BMemberPartnerConsentRequested timestamp */
36300
36300
  timestamp?: (number|Long|null);
36301
+
36302
+ /** B2BMemberPartnerConsentRequested orgId */
36303
+ orgId?: (number|null);
36301
36304
  }
36302
36305
 
36303
36306
  /** Represents a B2BMemberPartnerConsentRequested. */
@@ -36318,6 +36321,9 @@ export class B2BMemberPartnerConsentRequested implements IB2BMemberPartnerConsen
36318
36321
  /** B2BMemberPartnerConsentRequested timestamp. */
36319
36322
  public timestamp: (number|Long);
36320
36323
 
36324
+ /** B2BMemberPartnerConsentRequested orgId. */
36325
+ public orgId: number;
36326
+
36321
36327
  /**
36322
36328
  * Creates a new B2BMemberPartnerConsentRequested instance using the specified properties.
36323
36329
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -103384,6 +103384,7 @@ $root.B2BMemberPartnerConsentRequested = (function() {
103384
103384
  * @property {string|null} [partnerConsentId] B2BMemberPartnerConsentRequested partnerConsentId
103385
103385
  * @property {string|null} [hsUserId] B2BMemberPartnerConsentRequested hsUserId
103386
103386
  * @property {number|Long|null} [timestamp] B2BMemberPartnerConsentRequested timestamp
103387
+ * @property {number|null} [orgId] B2BMemberPartnerConsentRequested orgId
103387
103388
  */
103388
103389
 
103389
103390
  /**
@@ -103425,6 +103426,14 @@ $root.B2BMemberPartnerConsentRequested = (function() {
103425
103426
  */
103426
103427
  B2BMemberPartnerConsentRequested.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
103427
103428
 
103429
+ /**
103430
+ * B2BMemberPartnerConsentRequested orgId.
103431
+ * @member {number} orgId
103432
+ * @memberof B2BMemberPartnerConsentRequested
103433
+ * @instance
103434
+ */
103435
+ B2BMemberPartnerConsentRequested.prototype.orgId = 0;
103436
+
103428
103437
  /**
103429
103438
  * Creates a new B2BMemberPartnerConsentRequested instance using the specified properties.
103430
103439
  * @function create
@@ -103455,6 +103464,8 @@ $root.B2BMemberPartnerConsentRequested = (function() {
103455
103464
  writer.uint32(/* id 2, wireType 2 =*/18).string(message.hsUserId);
103456
103465
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
103457
103466
  writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.timestamp);
103467
+ if (message.orgId != null && message.hasOwnProperty("orgId"))
103468
+ writer.uint32(/* id 4, wireType 0 =*/32).uint32(message.orgId);
103458
103469
  return writer;
103459
103470
  };
103460
103471
 
@@ -103498,6 +103509,9 @@ $root.B2BMemberPartnerConsentRequested = (function() {
103498
103509
  case 3:
103499
103510
  message.timestamp = reader.uint64();
103500
103511
  break;
103512
+ case 4:
103513
+ message.orgId = reader.uint32();
103514
+ break;
103501
103515
  default:
103502
103516
  reader.skipType(tag & 7);
103503
103517
  break;
@@ -103542,6 +103556,9 @@ $root.B2BMemberPartnerConsentRequested = (function() {
103542
103556
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
103543
103557
  if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
103544
103558
  return "timestamp: integer|Long expected";
103559
+ if (message.orgId != null && message.hasOwnProperty("orgId"))
103560
+ if (!$util.isInteger(message.orgId))
103561
+ return "orgId: integer expected";
103545
103562
  return null;
103546
103563
  };
103547
103564
 
@@ -103570,6 +103587,8 @@ $root.B2BMemberPartnerConsentRequested = (function() {
103570
103587
  message.timestamp = object.timestamp;
103571
103588
  else if (typeof object.timestamp === "object")
103572
103589
  message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
103590
+ if (object.orgId != null)
103591
+ message.orgId = object.orgId >>> 0;
103573
103592
  return message;
103574
103593
  };
103575
103594
 
@@ -103594,6 +103613,7 @@ $root.B2BMemberPartnerConsentRequested = (function() {
103594
103613
  object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
103595
103614
  } else
103596
103615
  object.timestamp = options.longs === String ? "0" : 0;
103616
+ object.orgId = 0;
103597
103617
  }
103598
103618
  if (message.partnerConsentId != null && message.hasOwnProperty("partnerConsentId"))
103599
103619
  object.partnerConsentId = message.partnerConsentId;
@@ -103604,6 +103624,8 @@ $root.B2BMemberPartnerConsentRequested = (function() {
103604
103624
  object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
103605
103625
  else
103606
103626
  object.timestamp = options.longs === String ? $util.Long.prototype.toString.call(message.timestamp) : options.longs === Number ? new $util.LongBits(message.timestamp.low >>> 0, message.timestamp.high >>> 0).toNumber(true) : message.timestamp;
103627
+ if (message.orgId != null && message.hasOwnProperty("orgId"))
103628
+ object.orgId = message.orgId;
103607
103629
  return object;
103608
103630
  };
103609
103631
 
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.588.0"
19
+ "version": "1.589.0"
20
20
  }