@headspace/protos-events 1.171.0 → 1.173.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
@@ -4401,6 +4401,12 @@ export namespace userdomain {
4401
4401
 
4402
4402
  /** User userType */
4403
4403
  userType?: (userdomain.users.UserType|null);
4404
+
4405
+ /** User emailSha256 */
4406
+ emailSha256?: (string|null);
4407
+
4408
+ /** User emailNormalizedSha256 */
4409
+ emailNormalizedSha256?: (string|null);
4404
4410
  }
4405
4411
 
4406
4412
  /** Represents a User. */
@@ -4451,6 +4457,12 @@ export namespace userdomain {
4451
4457
  /** User userType. */
4452
4458
  public userType: userdomain.users.UserType;
4453
4459
 
4460
+ /** User emailSha256. */
4461
+ public emailSha256: string;
4462
+
4463
+ /** User emailNormalizedSha256. */
4464
+ public emailNormalizedSha256: string;
4465
+
4454
4466
  /**
4455
4467
  * Creates a new User instance using the specified properties.
4456
4468
  * @param [properties] Properties to set
@@ -9165,6 +9177,9 @@ export interface IContentfulModuleDescriptorCreated {
9165
9177
  /** ContentfulModuleDescriptorCreated marketingId */
9166
9178
  marketingId?: (string|null);
9167
9179
 
9180
+ /** ContentfulModuleDescriptorCreated developerId */
9181
+ developerId?: (string|null);
9182
+
9168
9183
  /** ContentfulModuleDescriptorCreated accessGroups */
9169
9184
  accessGroups?: (contentful.ISlugReference[]|null);
9170
9185
 
@@ -9214,6 +9229,9 @@ export class ContentfulModuleDescriptorCreated implements IContentfulModuleDescr
9214
9229
  /** ContentfulModuleDescriptorCreated marketingId. */
9215
9230
  public marketingId: string;
9216
9231
 
9232
+ /** ContentfulModuleDescriptorCreated developerId. */
9233
+ public developerId: string;
9234
+
9217
9235
  /** ContentfulModuleDescriptorCreated accessGroups. */
9218
9236
  public accessGroups: contentful.ISlugReference[];
9219
9237
 
@@ -9327,6 +9345,9 @@ export interface IContentfulModuleDescriptorUpdated {
9327
9345
  /** ContentfulModuleDescriptorUpdated marketingId */
9328
9346
  marketingId?: (string|null);
9329
9347
 
9348
+ /** ContentfulModuleDescriptorUpdated developerId */
9349
+ developerId?: (string|null);
9350
+
9330
9351
  /** ContentfulModuleDescriptorUpdated accessGroups */
9331
9352
  accessGroups?: (contentful.ISlugReference[]|null);
9332
9353
 
@@ -9376,6 +9397,9 @@ export class ContentfulModuleDescriptorUpdated implements IContentfulModuleDescr
9376
9397
  /** ContentfulModuleDescriptorUpdated marketingId. */
9377
9398
  public marketingId: string;
9378
9399
 
9400
+ /** ContentfulModuleDescriptorUpdated developerId. */
9401
+ public developerId: string;
9402
+
9379
9403
  /** ContentfulModuleDescriptorUpdated accessGroups. */
9380
9404
  public accessGroups: contentful.ISlugReference[];
9381
9405
 
package/lib/index.js CHANGED
@@ -10281,6 +10281,8 @@ $root.userdomain = (function() {
10281
10281
  * @property {string|null} [spotifyId] User spotifyId
10282
10282
  * @property {string|null} [oneloginId] User oneloginId
10283
10283
  * @property {userdomain.users.UserType|null} [userType] User userType
10284
+ * @property {string|null} [emailSha256] User emailSha256
10285
+ * @property {string|null} [emailNormalizedSha256] User emailNormalizedSha256
10284
10286
  */
10285
10287
 
10286
10288
  /**
@@ -10402,6 +10404,22 @@ $root.userdomain = (function() {
10402
10404
  */
10403
10405
  User.prototype.userType = 0;
10404
10406
 
10407
+ /**
10408
+ * User emailSha256.
10409
+ * @member {string} emailSha256
10410
+ * @memberof userdomain.users.User
10411
+ * @instance
10412
+ */
10413
+ User.prototype.emailSha256 = "";
10414
+
10415
+ /**
10416
+ * User emailNormalizedSha256.
10417
+ * @member {string} emailNormalizedSha256
10418
+ * @memberof userdomain.users.User
10419
+ * @instance
10420
+ */
10421
+ User.prototype.emailNormalizedSha256 = "";
10422
+
10405
10423
  /**
10406
10424
  * Creates a new User instance using the specified properties.
10407
10425
  * @function create
@@ -10452,6 +10470,10 @@ $root.userdomain = (function() {
10452
10470
  writer.uint32(/* id 12, wireType 2 =*/98).string(message.oneloginId);
10453
10471
  if (message.userType != null && message.hasOwnProperty("userType"))
10454
10472
  writer.uint32(/* id 13, wireType 0 =*/104).int32(message.userType);
10473
+ if (message.emailSha256 != null && message.hasOwnProperty("emailSha256"))
10474
+ writer.uint32(/* id 14, wireType 2 =*/114).string(message.emailSha256);
10475
+ if (message.emailNormalizedSha256 != null && message.hasOwnProperty("emailNormalizedSha256"))
10476
+ writer.uint32(/* id 15, wireType 2 =*/122).string(message.emailNormalizedSha256);
10455
10477
  return writer;
10456
10478
  };
10457
10479
 
@@ -10525,6 +10547,12 @@ $root.userdomain = (function() {
10525
10547
  case 13:
10526
10548
  message.userType = reader.int32();
10527
10549
  break;
10550
+ case 14:
10551
+ message.emailSha256 = reader.string();
10552
+ break;
10553
+ case 15:
10554
+ message.emailNormalizedSha256 = reader.string();
10555
+ break;
10528
10556
  default:
10529
10557
  reader.skipType(tag & 7);
10530
10558
  break;
@@ -10617,6 +10645,12 @@ $root.userdomain = (function() {
10617
10645
  case 4:
10618
10646
  break;
10619
10647
  }
10648
+ if (message.emailSha256 != null && message.hasOwnProperty("emailSha256"))
10649
+ if (!$util.isString(message.emailSha256))
10650
+ return "emailSha256: string expected";
10651
+ if (message.emailNormalizedSha256 != null && message.hasOwnProperty("emailNormalizedSha256"))
10652
+ if (!$util.isString(message.emailNormalizedSha256))
10653
+ return "emailNormalizedSha256: string expected";
10620
10654
  return null;
10621
10655
  };
10622
10656
 
@@ -10706,6 +10740,10 @@ $root.userdomain = (function() {
10706
10740
  message.userType = 4;
10707
10741
  break;
10708
10742
  }
10743
+ if (object.emailSha256 != null)
10744
+ message.emailSha256 = String(object.emailSha256);
10745
+ if (object.emailNormalizedSha256 != null)
10746
+ message.emailNormalizedSha256 = String(object.emailNormalizedSha256);
10709
10747
  return message;
10710
10748
  };
10711
10749
 
@@ -10736,6 +10774,8 @@ $root.userdomain = (function() {
10736
10774
  object.spotifyId = "";
10737
10775
  object.oneloginId = "";
10738
10776
  object.userType = options.enums === String ? "CORE_ADMIN" : 0;
10777
+ object.emailSha256 = "";
10778
+ object.emailNormalizedSha256 = "";
10739
10779
  }
10740
10780
  if (message.hsId != null && message.hasOwnProperty("hsId"))
10741
10781
  object.hsId = message.hsId;
@@ -10763,6 +10803,10 @@ $root.userdomain = (function() {
10763
10803
  object.oneloginId = message.oneloginId;
10764
10804
  if (message.userType != null && message.hasOwnProperty("userType"))
10765
10805
  object.userType = options.enums === String ? $root.userdomain.users.UserType[message.userType] : message.userType;
10806
+ if (message.emailSha256 != null && message.hasOwnProperty("emailSha256"))
10807
+ object.emailSha256 = message.emailSha256;
10808
+ if (message.emailNormalizedSha256 != null && message.hasOwnProperty("emailNormalizedSha256"))
10809
+ object.emailNormalizedSha256 = message.emailNormalizedSha256;
10766
10810
  return object;
10767
10811
  };
10768
10812
 
@@ -25092,6 +25136,7 @@ $root.ContentfulModuleDescriptorCreated = (function() {
25092
25136
  * @property {Object.<string,contentful.IIdReference>|null} [tabAsset] ContentfulModuleDescriptorCreated tabAsset
25093
25137
  * @property {string|null} [analyticsId] ContentfulModuleDescriptorCreated analyticsId
25094
25138
  * @property {string|null} [marketingId] ContentfulModuleDescriptorCreated marketingId
25139
+ * @property {string|null} [developerId] ContentfulModuleDescriptorCreated developerId
25095
25140
  * @property {Array.<contentful.ISlugReference>|null} [accessGroups] ContentfulModuleDescriptorCreated accessGroups
25096
25141
  * @property {Array.<contentful.ISlugReference>|null} [excludedAccessGroups] ContentfulModuleDescriptorCreated excludedAccessGroups
25097
25142
  * @property {number|Long|null} [createdAt] ContentfulModuleDescriptorCreated createdAt
@@ -25197,6 +25242,14 @@ $root.ContentfulModuleDescriptorCreated = (function() {
25197
25242
  */
25198
25243
  ContentfulModuleDescriptorCreated.prototype.marketingId = "";
25199
25244
 
25245
+ /**
25246
+ * ContentfulModuleDescriptorCreated developerId.
25247
+ * @member {string} developerId
25248
+ * @memberof ContentfulModuleDescriptorCreated
25249
+ * @instance
25250
+ */
25251
+ ContentfulModuleDescriptorCreated.prototype.developerId = "";
25252
+
25200
25253
  /**
25201
25254
  * ContentfulModuleDescriptorCreated accessGroups.
25202
25255
  * @member {Array.<contentful.ISlugReference>} accessGroups
@@ -25270,14 +25323,16 @@ $root.ContentfulModuleDescriptorCreated = (function() {
25270
25323
  writer.uint32(/* id 9, wireType 2 =*/74).string(message.analyticsId);
25271
25324
  if (message.marketingId != null && message.hasOwnProperty("marketingId"))
25272
25325
  writer.uint32(/* id 10, wireType 2 =*/82).string(message.marketingId);
25326
+ if (message.developerId != null && message.hasOwnProperty("developerId"))
25327
+ writer.uint32(/* id 11, wireType 2 =*/90).string(message.developerId);
25273
25328
  if (message.accessGroups != null && message.accessGroups.length)
25274
25329
  for (var i = 0; i < message.accessGroups.length; ++i)
25275
- $root.contentful.SlugReference.encode(message.accessGroups[i], writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim();
25330
+ $root.contentful.SlugReference.encode(message.accessGroups[i], writer.uint32(/* id 12, wireType 2 =*/98).fork()).ldelim();
25276
25331
  if (message.excludedAccessGroups != null && message.excludedAccessGroups.length)
25277
25332
  for (var i = 0; i < message.excludedAccessGroups.length; ++i)
25278
- $root.contentful.SlugReference.encode(message.excludedAccessGroups[i], writer.uint32(/* id 12, wireType 2 =*/98).fork()).ldelim();
25333
+ $root.contentful.SlugReference.encode(message.excludedAccessGroups[i], writer.uint32(/* id 13, wireType 2 =*/106).fork()).ldelim();
25279
25334
  if (message.createdAt != null && message.hasOwnProperty("createdAt"))
25280
- writer.uint32(/* id 13, wireType 0 =*/104).uint64(message.createdAt);
25335
+ writer.uint32(/* id 14, wireType 0 =*/112).uint64(message.createdAt);
25281
25336
  return writer;
25282
25337
  };
25283
25338
 
@@ -25355,16 +25410,19 @@ $root.ContentfulModuleDescriptorCreated = (function() {
25355
25410
  message.marketingId = reader.string();
25356
25411
  break;
25357
25412
  case 11:
25413
+ message.developerId = reader.string();
25414
+ break;
25415
+ case 12:
25358
25416
  if (!(message.accessGroups && message.accessGroups.length))
25359
25417
  message.accessGroups = [];
25360
25418
  message.accessGroups.push($root.contentful.SlugReference.decode(reader, reader.uint32()));
25361
25419
  break;
25362
- case 12:
25420
+ case 13:
25363
25421
  if (!(message.excludedAccessGroups && message.excludedAccessGroups.length))
25364
25422
  message.excludedAccessGroups = [];
25365
25423
  message.excludedAccessGroups.push($root.contentful.SlugReference.decode(reader, reader.uint32()));
25366
25424
  break;
25367
- case 13:
25425
+ case 14:
25368
25426
  message.createdAt = reader.uint64();
25369
25427
  break;
25370
25428
  default:
@@ -25448,6 +25506,9 @@ $root.ContentfulModuleDescriptorCreated = (function() {
25448
25506
  if (message.marketingId != null && message.hasOwnProperty("marketingId"))
25449
25507
  if (!$util.isString(message.marketingId))
25450
25508
  return "marketingId: string expected";
25509
+ if (message.developerId != null && message.hasOwnProperty("developerId"))
25510
+ if (!$util.isString(message.developerId))
25511
+ return "developerId: string expected";
25451
25512
  if (message.accessGroups != null && message.hasOwnProperty("accessGroups")) {
25452
25513
  if (!Array.isArray(message.accessGroups))
25453
25514
  return "accessGroups: array expected";
@@ -25522,6 +25583,8 @@ $root.ContentfulModuleDescriptorCreated = (function() {
25522
25583
  message.analyticsId = String(object.analyticsId);
25523
25584
  if (object.marketingId != null)
25524
25585
  message.marketingId = String(object.marketingId);
25586
+ if (object.developerId != null)
25587
+ message.developerId = String(object.developerId);
25525
25588
  if (object.accessGroups) {
25526
25589
  if (!Array.isArray(object.accessGroups))
25527
25590
  throw TypeError(".ContentfulModuleDescriptorCreated.accessGroups: array expected");
@@ -25584,6 +25647,7 @@ $root.ContentfulModuleDescriptorCreated = (function() {
25584
25647
  object.theme = "";
25585
25648
  object.analyticsId = "";
25586
25649
  object.marketingId = "";
25650
+ object.developerId = "";
25587
25651
  if ($util.Long) {
25588
25652
  var long = new $util.Long(0, 0, true);
25589
25653
  object.createdAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
@@ -25620,6 +25684,8 @@ $root.ContentfulModuleDescriptorCreated = (function() {
25620
25684
  object.analyticsId = message.analyticsId;
25621
25685
  if (message.marketingId != null && message.hasOwnProperty("marketingId"))
25622
25686
  object.marketingId = message.marketingId;
25687
+ if (message.developerId != null && message.hasOwnProperty("developerId"))
25688
+ object.developerId = message.developerId;
25623
25689
  if (message.accessGroups && message.accessGroups.length) {
25624
25690
  object.accessGroups = [];
25625
25691
  for (var j = 0; j < message.accessGroups.length; ++j)
@@ -25668,6 +25734,7 @@ $root.ContentfulModuleDescriptorUpdated = (function() {
25668
25734
  * @property {Object.<string,contentful.IIdReference>|null} [tabAsset] ContentfulModuleDescriptorUpdated tabAsset
25669
25735
  * @property {string|null} [analyticsId] ContentfulModuleDescriptorUpdated analyticsId
25670
25736
  * @property {string|null} [marketingId] ContentfulModuleDescriptorUpdated marketingId
25737
+ * @property {string|null} [developerId] ContentfulModuleDescriptorUpdated developerId
25671
25738
  * @property {Array.<contentful.ISlugReference>|null} [accessGroups] ContentfulModuleDescriptorUpdated accessGroups
25672
25739
  * @property {Array.<contentful.ISlugReference>|null} [excludedAccessGroups] ContentfulModuleDescriptorUpdated excludedAccessGroups
25673
25740
  * @property {number|Long|null} [updatedAt] ContentfulModuleDescriptorUpdated updatedAt
@@ -25773,6 +25840,14 @@ $root.ContentfulModuleDescriptorUpdated = (function() {
25773
25840
  */
25774
25841
  ContentfulModuleDescriptorUpdated.prototype.marketingId = "";
25775
25842
 
25843
+ /**
25844
+ * ContentfulModuleDescriptorUpdated developerId.
25845
+ * @member {string} developerId
25846
+ * @memberof ContentfulModuleDescriptorUpdated
25847
+ * @instance
25848
+ */
25849
+ ContentfulModuleDescriptorUpdated.prototype.developerId = "";
25850
+
25776
25851
  /**
25777
25852
  * ContentfulModuleDescriptorUpdated accessGroups.
25778
25853
  * @member {Array.<contentful.ISlugReference>} accessGroups
@@ -25846,14 +25921,16 @@ $root.ContentfulModuleDescriptorUpdated = (function() {
25846
25921
  writer.uint32(/* id 9, wireType 2 =*/74).string(message.analyticsId);
25847
25922
  if (message.marketingId != null && message.hasOwnProperty("marketingId"))
25848
25923
  writer.uint32(/* id 10, wireType 2 =*/82).string(message.marketingId);
25924
+ if (message.developerId != null && message.hasOwnProperty("developerId"))
25925
+ writer.uint32(/* id 11, wireType 2 =*/90).string(message.developerId);
25849
25926
  if (message.accessGroups != null && message.accessGroups.length)
25850
25927
  for (var i = 0; i < message.accessGroups.length; ++i)
25851
- $root.contentful.SlugReference.encode(message.accessGroups[i], writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim();
25928
+ $root.contentful.SlugReference.encode(message.accessGroups[i], writer.uint32(/* id 12, wireType 2 =*/98).fork()).ldelim();
25852
25929
  if (message.excludedAccessGroups != null && message.excludedAccessGroups.length)
25853
25930
  for (var i = 0; i < message.excludedAccessGroups.length; ++i)
25854
- $root.contentful.SlugReference.encode(message.excludedAccessGroups[i], writer.uint32(/* id 12, wireType 2 =*/98).fork()).ldelim();
25931
+ $root.contentful.SlugReference.encode(message.excludedAccessGroups[i], writer.uint32(/* id 13, wireType 2 =*/106).fork()).ldelim();
25855
25932
  if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
25856
- writer.uint32(/* id 13, wireType 0 =*/104).uint64(message.updatedAt);
25933
+ writer.uint32(/* id 14, wireType 0 =*/112).uint64(message.updatedAt);
25857
25934
  return writer;
25858
25935
  };
25859
25936
 
@@ -25931,16 +26008,19 @@ $root.ContentfulModuleDescriptorUpdated = (function() {
25931
26008
  message.marketingId = reader.string();
25932
26009
  break;
25933
26010
  case 11:
26011
+ message.developerId = reader.string();
26012
+ break;
26013
+ case 12:
25934
26014
  if (!(message.accessGroups && message.accessGroups.length))
25935
26015
  message.accessGroups = [];
25936
26016
  message.accessGroups.push($root.contentful.SlugReference.decode(reader, reader.uint32()));
25937
26017
  break;
25938
- case 12:
26018
+ case 13:
25939
26019
  if (!(message.excludedAccessGroups && message.excludedAccessGroups.length))
25940
26020
  message.excludedAccessGroups = [];
25941
26021
  message.excludedAccessGroups.push($root.contentful.SlugReference.decode(reader, reader.uint32()));
25942
26022
  break;
25943
- case 13:
26023
+ case 14:
25944
26024
  message.updatedAt = reader.uint64();
25945
26025
  break;
25946
26026
  default:
@@ -26024,6 +26104,9 @@ $root.ContentfulModuleDescriptorUpdated = (function() {
26024
26104
  if (message.marketingId != null && message.hasOwnProperty("marketingId"))
26025
26105
  if (!$util.isString(message.marketingId))
26026
26106
  return "marketingId: string expected";
26107
+ if (message.developerId != null && message.hasOwnProperty("developerId"))
26108
+ if (!$util.isString(message.developerId))
26109
+ return "developerId: string expected";
26027
26110
  if (message.accessGroups != null && message.hasOwnProperty("accessGroups")) {
26028
26111
  if (!Array.isArray(message.accessGroups))
26029
26112
  return "accessGroups: array expected";
@@ -26098,6 +26181,8 @@ $root.ContentfulModuleDescriptorUpdated = (function() {
26098
26181
  message.analyticsId = String(object.analyticsId);
26099
26182
  if (object.marketingId != null)
26100
26183
  message.marketingId = String(object.marketingId);
26184
+ if (object.developerId != null)
26185
+ message.developerId = String(object.developerId);
26101
26186
  if (object.accessGroups) {
26102
26187
  if (!Array.isArray(object.accessGroups))
26103
26188
  throw TypeError(".ContentfulModuleDescriptorUpdated.accessGroups: array expected");
@@ -26160,6 +26245,7 @@ $root.ContentfulModuleDescriptorUpdated = (function() {
26160
26245
  object.theme = "";
26161
26246
  object.analyticsId = "";
26162
26247
  object.marketingId = "";
26248
+ object.developerId = "";
26163
26249
  if ($util.Long) {
26164
26250
  var long = new $util.Long(0, 0, true);
26165
26251
  object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
@@ -26196,6 +26282,8 @@ $root.ContentfulModuleDescriptorUpdated = (function() {
26196
26282
  object.analyticsId = message.analyticsId;
26197
26283
  if (message.marketingId != null && message.hasOwnProperty("marketingId"))
26198
26284
  object.marketingId = message.marketingId;
26285
+ if (message.developerId != null && message.hasOwnProperty("developerId"))
26286
+ object.developerId = message.developerId;
26199
26287
  if (message.accessGroups && message.accessGroups.length) {
26200
26288
  object.accessGroups = [];
26201
26289
  for (var j = 0; j < message.accessGroups.length; ++j)
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.171.0"
19
+ "version": "1.173.0"
20
20
  }