@headspace/protos-events 1.289.0 → 1.291.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
@@ -134,7 +134,8 @@ export namespace auth0 {
134
134
  HEADSPACE_OKTA_SSO = 9,
135
135
  EXTERNAL_OKTA_QA = 10,
136
136
  THOUGHTWORKS_OKTA_SSO = 11,
137
- TEST_ORG_MIGRATION_OKTA_SSO = 12
137
+ TEST_ORG_MIGRATION_OKTA_SSO = 12,
138
+ MX_TECHNOLOGIES_INC_OKTA_SSO = 13
138
139
  }
139
140
  }
140
141
  }
@@ -14299,6 +14300,12 @@ export interface IContentfulCollectionCreated {
14299
14300
 
14300
14301
  /** ContentfulCollectionCreated tags */
14301
14302
  tags?: ({ [k: string]: contentful.ITags }|null);
14303
+
14304
+ /** ContentfulCollectionCreated techniques */
14305
+ techniques?: (contentful.ISlugReference[]|null);
14306
+
14307
+ /** ContentfulCollectionCreated related */
14308
+ related?: (contentful.ISlugReference[]|null);
14302
14309
  }
14303
14310
 
14304
14311
  /** Represents a ContentfulCollectionCreated. */
@@ -14346,6 +14353,12 @@ export class ContentfulCollectionCreated implements IContentfulCollectionCreated
14346
14353
  /** ContentfulCollectionCreated tags. */
14347
14354
  public tags: { [k: string]: contentful.ITags };
14348
14355
 
14356
+ /** ContentfulCollectionCreated techniques. */
14357
+ public techniques: contentful.ISlugReference[];
14358
+
14359
+ /** ContentfulCollectionCreated related. */
14360
+ public related: contentful.ISlugReference[];
14361
+
14349
14362
  /**
14350
14363
  * Creates a new ContentfulCollectionCreated instance using the specified properties.
14351
14364
  * @param [properties] Properties to set
@@ -14455,6 +14468,12 @@ export interface IContentfulCollectionUpdated {
14455
14468
 
14456
14469
  /** ContentfulCollectionUpdated tags */
14457
14470
  tags?: ({ [k: string]: contentful.ITags }|null);
14471
+
14472
+ /** ContentfulCollectionUpdated techniques */
14473
+ techniques?: (contentful.ISlugReference[]|null);
14474
+
14475
+ /** ContentfulCollectionUpdated related */
14476
+ related?: (contentful.ISlugReference[]|null);
14458
14477
  }
14459
14478
 
14460
14479
  /** Represents a ContentfulCollectionUpdated. */
@@ -14502,6 +14521,12 @@ export class ContentfulCollectionUpdated implements IContentfulCollectionUpdated
14502
14521
  /** ContentfulCollectionUpdated tags. */
14503
14522
  public tags: { [k: string]: contentful.ITags };
14504
14523
 
14524
+ /** ContentfulCollectionUpdated techniques. */
14525
+ public techniques: contentful.ISlugReference[];
14526
+
14527
+ /** ContentfulCollectionUpdated related. */
14528
+ public related: contentful.ISlugReference[];
14529
+
14505
14530
  /**
14506
14531
  * Creates a new ContentfulCollectionUpdated instance using the specified properties.
14507
14532
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -305,6 +305,7 @@ $root.auth0 = (function() {
305
305
  * @property {number} EXTERNAL_OKTA_QA=10 EXTERNAL_OKTA_QA value
306
306
  * @property {number} THOUGHTWORKS_OKTA_SSO=11 THOUGHTWORKS_OKTA_SSO value
307
307
  * @property {number} TEST_ORG_MIGRATION_OKTA_SSO=12 TEST_ORG_MIGRATION_OKTA_SSO value
308
+ * @property {number} MX_TECHNOLOGIES_INC_OKTA_SSO=13 MX_TECHNOLOGIES_INC_OKTA_SSO value
308
309
  */
309
310
  connections.Connection = (function() {
310
311
  var valuesById = {}, values = Object.create(valuesById);
@@ -321,6 +322,7 @@ $root.auth0 = (function() {
321
322
  values[valuesById[10] = "EXTERNAL_OKTA_QA"] = 10;
322
323
  values[valuesById[11] = "THOUGHTWORKS_OKTA_SSO"] = 11;
323
324
  values[valuesById[12] = "TEST_ORG_MIGRATION_OKTA_SSO"] = 12;
325
+ values[valuesById[13] = "MX_TECHNOLOGIES_INC_OKTA_SSO"] = 13;
324
326
  return values;
325
327
  })();
326
328
 
@@ -28429,6 +28431,7 @@ $root.SuccessfulUserLogin = (function() {
28429
28431
  case 10:
28430
28432
  case 11:
28431
28433
  case 12:
28434
+ case 13:
28432
28435
  break;
28433
28436
  }
28434
28437
  return null;
@@ -28564,6 +28567,10 @@ $root.SuccessfulUserLogin = (function() {
28564
28567
  case 12:
28565
28568
  message.connection = 12;
28566
28569
  break;
28570
+ case "MX_TECHNOLOGIES_INC_OKTA_SSO":
28571
+ case 13:
28572
+ message.connection = 13;
28573
+ break;
28567
28574
  }
28568
28575
  return message;
28569
28576
  };
@@ -28797,6 +28804,7 @@ $root.UnlinkedConnection = (function() {
28797
28804
  case 10:
28798
28805
  case 11:
28799
28806
  case 12:
28807
+ case 13:
28800
28808
  break;
28801
28809
  }
28802
28810
  if (message.unlinkedAt != null && message.hasOwnProperty("unlinkedAt"))
@@ -28872,6 +28880,10 @@ $root.UnlinkedConnection = (function() {
28872
28880
  case 12:
28873
28881
  message.connection = 12;
28874
28882
  break;
28883
+ case "MX_TECHNOLOGIES_INC_OKTA_SSO":
28884
+ case 13:
28885
+ message.connection = 13;
28886
+ break;
28875
28887
  }
28876
28888
  if (object.unlinkedAt != null)
28877
28889
  if ($util.Long)
@@ -29125,6 +29137,7 @@ $root.ConnectionLinked = (function() {
29125
29137
  case 10:
29126
29138
  case 11:
29127
29139
  case 12:
29140
+ case 13:
29128
29141
  break;
29129
29142
  }
29130
29143
  if (message.linkedAt != null && message.hasOwnProperty("linkedAt"))
@@ -29203,6 +29216,10 @@ $root.ConnectionLinked = (function() {
29203
29216
  case 12:
29204
29217
  message.connection = 12;
29205
29218
  break;
29219
+ case "MX_TECHNOLOGIES_INC_OKTA_SSO":
29220
+ case 13:
29221
+ message.connection = 13;
29222
+ break;
29206
29223
  }
29207
29224
  if (object.linkedAt != null)
29208
29225
  if ($util.Long)
@@ -36359,6 +36376,8 @@ $root.ContentfulCollectionCreated = (function() {
36359
36376
  * @property {boolean|null} [isInternationalOnly] ContentfulCollectionCreated isInternationalOnly
36360
36377
  * @property {Array.<contentful.ISlugReference>|null} [accessGroups] ContentfulCollectionCreated accessGroups
36361
36378
  * @property {Object.<string,contentful.ITags>|null} [tags] ContentfulCollectionCreated tags
36379
+ * @property {Array.<contentful.ISlugReference>|null} [techniques] ContentfulCollectionCreated techniques
36380
+ * @property {Array.<contentful.ISlugReference>|null} [related] ContentfulCollectionCreated related
36362
36381
  */
36363
36382
 
36364
36383
  /**
@@ -36377,6 +36396,8 @@ $root.ContentfulCollectionCreated = (function() {
36377
36396
  this.collectionContent = [];
36378
36397
  this.accessGroups = [];
36379
36398
  this.tags = {};
36399
+ this.techniques = [];
36400
+ this.related = [];
36380
36401
  if (properties)
36381
36402
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
36382
36403
  if (properties[keys[i]] != null)
@@ -36479,6 +36500,22 @@ $root.ContentfulCollectionCreated = (function() {
36479
36500
  */
36480
36501
  ContentfulCollectionCreated.prototype.tags = $util.emptyObject;
36481
36502
 
36503
+ /**
36504
+ * ContentfulCollectionCreated techniques.
36505
+ * @member {Array.<contentful.ISlugReference>} techniques
36506
+ * @memberof ContentfulCollectionCreated
36507
+ * @instance
36508
+ */
36509
+ ContentfulCollectionCreated.prototype.techniques = $util.emptyArray;
36510
+
36511
+ /**
36512
+ * ContentfulCollectionCreated related.
36513
+ * @member {Array.<contentful.ISlugReference>} related
36514
+ * @memberof ContentfulCollectionCreated
36515
+ * @instance
36516
+ */
36517
+ ContentfulCollectionCreated.prototype.related = $util.emptyArray;
36518
+
36482
36519
  /**
36483
36520
  * Creates a new ContentfulCollectionCreated instance using the specified properties.
36484
36521
  * @function create
@@ -36538,6 +36575,12 @@ $root.ContentfulCollectionCreated = (function() {
36538
36575
  writer.uint32(/* id 12, wireType 2 =*/98).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
36539
36576
  $root.contentful.Tags.encode(message.tags[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
36540
36577
  }
36578
+ if (message.techniques != null && message.techniques.length)
36579
+ for (var i = 0; i < message.techniques.length; ++i)
36580
+ $root.contentful.SlugReference.encode(message.techniques[i], writer.uint32(/* id 13, wireType 2 =*/106).fork()).ldelim();
36581
+ if (message.related != null && message.related.length)
36582
+ for (var i = 0; i < message.related.length; ++i)
36583
+ $root.contentful.SlugReference.encode(message.related[i], writer.uint32(/* id 14, wireType 2 =*/114).fork()).ldelim();
36541
36584
  return writer;
36542
36585
  };
36543
36586
 
@@ -36637,6 +36680,16 @@ $root.ContentfulCollectionCreated = (function() {
36637
36680
  reader.pos++;
36638
36681
  message.tags[key] = $root.contentful.Tags.decode(reader, reader.uint32());
36639
36682
  break;
36683
+ case 13:
36684
+ if (!(message.techniques && message.techniques.length))
36685
+ message.techniques = [];
36686
+ message.techniques.push($root.contentful.SlugReference.decode(reader, reader.uint32()));
36687
+ break;
36688
+ case 14:
36689
+ if (!(message.related && message.related.length))
36690
+ message.related = [];
36691
+ message.related.push($root.contentful.SlugReference.decode(reader, reader.uint32()));
36692
+ break;
36640
36693
  default:
36641
36694
  reader.skipType(tag & 7);
36642
36695
  break;
@@ -36754,6 +36807,24 @@ $root.ContentfulCollectionCreated = (function() {
36754
36807
  return "tags." + error;
36755
36808
  }
36756
36809
  }
36810
+ if (message.techniques != null && message.hasOwnProperty("techniques")) {
36811
+ if (!Array.isArray(message.techniques))
36812
+ return "techniques: array expected";
36813
+ for (var i = 0; i < message.techniques.length; ++i) {
36814
+ var error = $root.contentful.SlugReference.verify(message.techniques[i]);
36815
+ if (error)
36816
+ return "techniques." + error;
36817
+ }
36818
+ }
36819
+ if (message.related != null && message.hasOwnProperty("related")) {
36820
+ if (!Array.isArray(message.related))
36821
+ return "related: array expected";
36822
+ for (var i = 0; i < message.related.length; ++i) {
36823
+ var error = $root.contentful.SlugReference.verify(message.related[i]);
36824
+ if (error)
36825
+ return "related." + error;
36826
+ }
36827
+ }
36757
36828
  return null;
36758
36829
  };
36759
36830
 
@@ -36855,6 +36926,26 @@ $root.ContentfulCollectionCreated = (function() {
36855
36926
  message.tags[keys[i]] = $root.contentful.Tags.fromObject(object.tags[keys[i]]);
36856
36927
  }
36857
36928
  }
36929
+ if (object.techniques) {
36930
+ if (!Array.isArray(object.techniques))
36931
+ throw TypeError(".ContentfulCollectionCreated.techniques: array expected");
36932
+ message.techniques = [];
36933
+ for (var i = 0; i < object.techniques.length; ++i) {
36934
+ if (typeof object.techniques[i] !== "object")
36935
+ throw TypeError(".ContentfulCollectionCreated.techniques: object expected");
36936
+ message.techniques[i] = $root.contentful.SlugReference.fromObject(object.techniques[i]);
36937
+ }
36938
+ }
36939
+ if (object.related) {
36940
+ if (!Array.isArray(object.related))
36941
+ throw TypeError(".ContentfulCollectionCreated.related: array expected");
36942
+ message.related = [];
36943
+ for (var i = 0; i < object.related.length; ++i) {
36944
+ if (typeof object.related[i] !== "object")
36945
+ throw TypeError(".ContentfulCollectionCreated.related: object expected");
36946
+ message.related[i] = $root.contentful.SlugReference.fromObject(object.related[i]);
36947
+ }
36948
+ }
36858
36949
  return message;
36859
36950
  };
36860
36951
 
@@ -36874,6 +36965,8 @@ $root.ContentfulCollectionCreated = (function() {
36874
36965
  if (options.arrays || options.defaults) {
36875
36966
  object.collectionContent = [];
36876
36967
  object.accessGroups = [];
36968
+ object.techniques = [];
36969
+ object.related = [];
36877
36970
  }
36878
36971
  if (options.objects || options.defaults) {
36879
36972
  object.name = {};
@@ -36942,6 +37035,16 @@ $root.ContentfulCollectionCreated = (function() {
36942
37035
  for (var j = 0; j < keys2.length; ++j)
36943
37036
  object.tags[keys2[j]] = $root.contentful.Tags.toObject(message.tags[keys2[j]], options);
36944
37037
  }
37038
+ if (message.techniques && message.techniques.length) {
37039
+ object.techniques = [];
37040
+ for (var j = 0; j < message.techniques.length; ++j)
37041
+ object.techniques[j] = $root.contentful.SlugReference.toObject(message.techniques[j], options);
37042
+ }
37043
+ if (message.related && message.related.length) {
37044
+ object.related = [];
37045
+ for (var j = 0; j < message.related.length; ++j)
37046
+ object.related[j] = $root.contentful.SlugReference.toObject(message.related[j], options);
37047
+ }
36945
37048
  return object;
36946
37049
  };
36947
37050
 
@@ -36977,6 +37080,8 @@ $root.ContentfulCollectionUpdated = (function() {
36977
37080
  * @property {boolean|null} [isInternationalOnly] ContentfulCollectionUpdated isInternationalOnly
36978
37081
  * @property {Array.<contentful.ISlugReference>|null} [accessGroups] ContentfulCollectionUpdated accessGroups
36979
37082
  * @property {Object.<string,contentful.ITags>|null} [tags] ContentfulCollectionUpdated tags
37083
+ * @property {Array.<contentful.ISlugReference>|null} [techniques] ContentfulCollectionUpdated techniques
37084
+ * @property {Array.<contentful.ISlugReference>|null} [related] ContentfulCollectionUpdated related
36980
37085
  */
36981
37086
 
36982
37087
  /**
@@ -36995,6 +37100,8 @@ $root.ContentfulCollectionUpdated = (function() {
36995
37100
  this.collectionContent = [];
36996
37101
  this.accessGroups = [];
36997
37102
  this.tags = {};
37103
+ this.techniques = [];
37104
+ this.related = [];
36998
37105
  if (properties)
36999
37106
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
37000
37107
  if (properties[keys[i]] != null)
@@ -37097,6 +37204,22 @@ $root.ContentfulCollectionUpdated = (function() {
37097
37204
  */
37098
37205
  ContentfulCollectionUpdated.prototype.tags = $util.emptyObject;
37099
37206
 
37207
+ /**
37208
+ * ContentfulCollectionUpdated techniques.
37209
+ * @member {Array.<contentful.ISlugReference>} techniques
37210
+ * @memberof ContentfulCollectionUpdated
37211
+ * @instance
37212
+ */
37213
+ ContentfulCollectionUpdated.prototype.techniques = $util.emptyArray;
37214
+
37215
+ /**
37216
+ * ContentfulCollectionUpdated related.
37217
+ * @member {Array.<contentful.ISlugReference>} related
37218
+ * @memberof ContentfulCollectionUpdated
37219
+ * @instance
37220
+ */
37221
+ ContentfulCollectionUpdated.prototype.related = $util.emptyArray;
37222
+
37100
37223
  /**
37101
37224
  * Creates a new ContentfulCollectionUpdated instance using the specified properties.
37102
37225
  * @function create
@@ -37156,6 +37279,12 @@ $root.ContentfulCollectionUpdated = (function() {
37156
37279
  writer.uint32(/* id 12, wireType 2 =*/98).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
37157
37280
  $root.contentful.Tags.encode(message.tags[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
37158
37281
  }
37282
+ if (message.techniques != null && message.techniques.length)
37283
+ for (var i = 0; i < message.techniques.length; ++i)
37284
+ $root.contentful.SlugReference.encode(message.techniques[i], writer.uint32(/* id 13, wireType 2 =*/106).fork()).ldelim();
37285
+ if (message.related != null && message.related.length)
37286
+ for (var i = 0; i < message.related.length; ++i)
37287
+ $root.contentful.SlugReference.encode(message.related[i], writer.uint32(/* id 14, wireType 2 =*/114).fork()).ldelim();
37159
37288
  return writer;
37160
37289
  };
37161
37290
 
@@ -37255,6 +37384,16 @@ $root.ContentfulCollectionUpdated = (function() {
37255
37384
  reader.pos++;
37256
37385
  message.tags[key] = $root.contentful.Tags.decode(reader, reader.uint32());
37257
37386
  break;
37387
+ case 13:
37388
+ if (!(message.techniques && message.techniques.length))
37389
+ message.techniques = [];
37390
+ message.techniques.push($root.contentful.SlugReference.decode(reader, reader.uint32()));
37391
+ break;
37392
+ case 14:
37393
+ if (!(message.related && message.related.length))
37394
+ message.related = [];
37395
+ message.related.push($root.contentful.SlugReference.decode(reader, reader.uint32()));
37396
+ break;
37258
37397
  default:
37259
37398
  reader.skipType(tag & 7);
37260
37399
  break;
@@ -37372,6 +37511,24 @@ $root.ContentfulCollectionUpdated = (function() {
37372
37511
  return "tags." + error;
37373
37512
  }
37374
37513
  }
37514
+ if (message.techniques != null && message.hasOwnProperty("techniques")) {
37515
+ if (!Array.isArray(message.techniques))
37516
+ return "techniques: array expected";
37517
+ for (var i = 0; i < message.techniques.length; ++i) {
37518
+ var error = $root.contentful.SlugReference.verify(message.techniques[i]);
37519
+ if (error)
37520
+ return "techniques." + error;
37521
+ }
37522
+ }
37523
+ if (message.related != null && message.hasOwnProperty("related")) {
37524
+ if (!Array.isArray(message.related))
37525
+ return "related: array expected";
37526
+ for (var i = 0; i < message.related.length; ++i) {
37527
+ var error = $root.contentful.SlugReference.verify(message.related[i]);
37528
+ if (error)
37529
+ return "related." + error;
37530
+ }
37531
+ }
37375
37532
  return null;
37376
37533
  };
37377
37534
 
@@ -37473,6 +37630,26 @@ $root.ContentfulCollectionUpdated = (function() {
37473
37630
  message.tags[keys[i]] = $root.contentful.Tags.fromObject(object.tags[keys[i]]);
37474
37631
  }
37475
37632
  }
37633
+ if (object.techniques) {
37634
+ if (!Array.isArray(object.techniques))
37635
+ throw TypeError(".ContentfulCollectionUpdated.techniques: array expected");
37636
+ message.techniques = [];
37637
+ for (var i = 0; i < object.techniques.length; ++i) {
37638
+ if (typeof object.techniques[i] !== "object")
37639
+ throw TypeError(".ContentfulCollectionUpdated.techniques: object expected");
37640
+ message.techniques[i] = $root.contentful.SlugReference.fromObject(object.techniques[i]);
37641
+ }
37642
+ }
37643
+ if (object.related) {
37644
+ if (!Array.isArray(object.related))
37645
+ throw TypeError(".ContentfulCollectionUpdated.related: array expected");
37646
+ message.related = [];
37647
+ for (var i = 0; i < object.related.length; ++i) {
37648
+ if (typeof object.related[i] !== "object")
37649
+ throw TypeError(".ContentfulCollectionUpdated.related: object expected");
37650
+ message.related[i] = $root.contentful.SlugReference.fromObject(object.related[i]);
37651
+ }
37652
+ }
37476
37653
  return message;
37477
37654
  };
37478
37655
 
@@ -37492,6 +37669,8 @@ $root.ContentfulCollectionUpdated = (function() {
37492
37669
  if (options.arrays || options.defaults) {
37493
37670
  object.collectionContent = [];
37494
37671
  object.accessGroups = [];
37672
+ object.techniques = [];
37673
+ object.related = [];
37495
37674
  }
37496
37675
  if (options.objects || options.defaults) {
37497
37676
  object.name = {};
@@ -37560,6 +37739,16 @@ $root.ContentfulCollectionUpdated = (function() {
37560
37739
  for (var j = 0; j < keys2.length; ++j)
37561
37740
  object.tags[keys2[j]] = $root.contentful.Tags.toObject(message.tags[keys2[j]], options);
37562
37741
  }
37742
+ if (message.techniques && message.techniques.length) {
37743
+ object.techniques = [];
37744
+ for (var j = 0; j < message.techniques.length; ++j)
37745
+ object.techniques[j] = $root.contentful.SlugReference.toObject(message.techniques[j], options);
37746
+ }
37747
+ if (message.related && message.related.length) {
37748
+ object.related = [];
37749
+ for (var j = 0; j < message.related.length; ++j)
37750
+ object.related[j] = $root.contentful.SlugReference.toObject(message.related[j], options);
37751
+ }
37563
37752
  return object;
37564
37753
  };
37565
37754
 
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.289.0"
19
+ "version": "1.291.0"
20
20
  }