@headspace/protos-events 1.394.0 → 1.395.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
@@ -13089,6 +13089,12 @@ export interface IUnlinkedConnection {
13089
13089
 
13090
13090
  /** UnlinkedConnection unlinkedAt */
13091
13091
  unlinkedAt?: (number|Long|null);
13092
+
13093
+ /** UnlinkedConnection connectionType */
13094
+ connectionType?: (auth0.connections.ConnectionType|null);
13095
+
13096
+ /** UnlinkedConnection connectionName */
13097
+ connectionName?: (string|null);
13092
13098
  }
13093
13099
 
13094
13100
  /** Represents an UnlinkedConnection. */
@@ -13109,6 +13115,12 @@ export class UnlinkedConnection implements IUnlinkedConnection {
13109
13115
  /** UnlinkedConnection unlinkedAt. */
13110
13116
  public unlinkedAt: (number|Long);
13111
13117
 
13118
+ /** UnlinkedConnection connectionType. */
13119
+ public connectionType: auth0.connections.ConnectionType;
13120
+
13121
+ /** UnlinkedConnection connectionName. */
13122
+ public connectionName: string;
13123
+
13112
13124
  /**
13113
13125
  * Creates a new UnlinkedConnection instance using the specified properties.
13114
13126
  * @param [properties] Properties to set
@@ -13200,6 +13212,9 @@ export interface IConnectionLinked {
13200
13212
 
13201
13213
  /** ConnectionLinked connectionType */
13202
13214
  connectionType?: (auth0.connections.ConnectionType|null);
13215
+
13216
+ /** ConnectionLinked connectionName */
13217
+ connectionName?: (string|null);
13203
13218
  }
13204
13219
 
13205
13220
  /** Represents a ConnectionLinked. */
@@ -13229,6 +13244,9 @@ export class ConnectionLinked implements IConnectionLinked {
13229
13244
  /** ConnectionLinked connectionType. */
13230
13245
  public connectionType: auth0.connections.ConnectionType;
13231
13246
 
13247
+ /** ConnectionLinked connectionName. */
13248
+ public connectionName: string;
13249
+
13232
13250
  /**
13233
13251
  * Creates a new ConnectionLinked instance using the specified properties.
13234
13252
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -32394,6 +32394,8 @@ $root.UnlinkedConnection = (function() {
32394
32394
  * @property {string|null} [hsId] UnlinkedConnection hsId
32395
32395
  * @property {auth0.connections.Connection|null} [connection] UnlinkedConnection connection
32396
32396
  * @property {number|Long|null} [unlinkedAt] UnlinkedConnection unlinkedAt
32397
+ * @property {auth0.connections.ConnectionType|null} [connectionType] UnlinkedConnection connectionType
32398
+ * @property {string|null} [connectionName] UnlinkedConnection connectionName
32397
32399
  */
32398
32400
 
32399
32401
  /**
@@ -32435,6 +32437,22 @@ $root.UnlinkedConnection = (function() {
32435
32437
  */
32436
32438
  UnlinkedConnection.prototype.unlinkedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
32437
32439
 
32440
+ /**
32441
+ * UnlinkedConnection connectionType.
32442
+ * @member {auth0.connections.ConnectionType} connectionType
32443
+ * @memberof UnlinkedConnection
32444
+ * @instance
32445
+ */
32446
+ UnlinkedConnection.prototype.connectionType = 0;
32447
+
32448
+ /**
32449
+ * UnlinkedConnection connectionName.
32450
+ * @member {string} connectionName
32451
+ * @memberof UnlinkedConnection
32452
+ * @instance
32453
+ */
32454
+ UnlinkedConnection.prototype.connectionName = "";
32455
+
32438
32456
  /**
32439
32457
  * Creates a new UnlinkedConnection instance using the specified properties.
32440
32458
  * @function create
@@ -32465,6 +32483,10 @@ $root.UnlinkedConnection = (function() {
32465
32483
  writer.uint32(/* id 2, wireType 0 =*/16).int32(message.connection);
32466
32484
  if (message.unlinkedAt != null && message.hasOwnProperty("unlinkedAt"))
32467
32485
  writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.unlinkedAt);
32486
+ if (message.connectionType != null && message.hasOwnProperty("connectionType"))
32487
+ writer.uint32(/* id 4, wireType 0 =*/32).int32(message.connectionType);
32488
+ if (message.connectionName != null && message.hasOwnProperty("connectionName"))
32489
+ writer.uint32(/* id 5, wireType 2 =*/42).string(message.connectionName);
32468
32490
  return writer;
32469
32491
  };
32470
32492
 
@@ -32508,6 +32530,12 @@ $root.UnlinkedConnection = (function() {
32508
32530
  case 3:
32509
32531
  message.unlinkedAt = reader.uint64();
32510
32532
  break;
32533
+ case 4:
32534
+ message.connectionType = reader.int32();
32535
+ break;
32536
+ case 5:
32537
+ message.connectionName = reader.string();
32538
+ break;
32511
32539
  default:
32512
32540
  reader.skipType(tag & 7);
32513
32541
  break;
@@ -32583,6 +32611,19 @@ $root.UnlinkedConnection = (function() {
32583
32611
  if (message.unlinkedAt != null && message.hasOwnProperty("unlinkedAt"))
32584
32612
  if (!$util.isInteger(message.unlinkedAt) && !(message.unlinkedAt && $util.isInteger(message.unlinkedAt.low) && $util.isInteger(message.unlinkedAt.high)))
32585
32613
  return "unlinkedAt: integer|Long expected";
32614
+ if (message.connectionType != null && message.hasOwnProperty("connectionType"))
32615
+ switch (message.connectionType) {
32616
+ default:
32617
+ return "connectionType: enum value expected";
32618
+ case 0:
32619
+ case 1:
32620
+ case 2:
32621
+ case 3:
32622
+ break;
32623
+ }
32624
+ if (message.connectionName != null && message.hasOwnProperty("connectionName"))
32625
+ if (!$util.isString(message.connectionName))
32626
+ return "connectionName: string expected";
32586
32627
  return null;
32587
32628
  };
32588
32629
 
@@ -32723,6 +32764,26 @@ $root.UnlinkedConnection = (function() {
32723
32764
  message.unlinkedAt = object.unlinkedAt;
32724
32765
  else if (typeof object.unlinkedAt === "object")
32725
32766
  message.unlinkedAt = new $util.LongBits(object.unlinkedAt.low >>> 0, object.unlinkedAt.high >>> 0).toNumber(true);
32767
+ switch (object.connectionType) {
32768
+ case "CONNECTION_TYPE_UNKNOWN":
32769
+ case 0:
32770
+ message.connectionType = 0;
32771
+ break;
32772
+ case "CONNECTION_TYPE_INTERNAL":
32773
+ case 1:
32774
+ message.connectionType = 1;
32775
+ break;
32776
+ case "CONNECTION_TYPE_SOCIAL":
32777
+ case 2:
32778
+ message.connectionType = 2;
32779
+ break;
32780
+ case "CONNECTION_TYPE_ENTERPRISE":
32781
+ case 3:
32782
+ message.connectionType = 3;
32783
+ break;
32784
+ }
32785
+ if (object.connectionName != null)
32786
+ message.connectionName = String(object.connectionName);
32726
32787
  return message;
32727
32788
  };
32728
32789
 
@@ -32747,6 +32808,8 @@ $root.UnlinkedConnection = (function() {
32747
32808
  object.unlinkedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
32748
32809
  } else
32749
32810
  object.unlinkedAt = options.longs === String ? "0" : 0;
32811
+ object.connectionType = options.enums === String ? "CONNECTION_TYPE_UNKNOWN" : 0;
32812
+ object.connectionName = "";
32750
32813
  }
32751
32814
  if (message.hsId != null && message.hasOwnProperty("hsId"))
32752
32815
  object.hsId = message.hsId;
@@ -32757,6 +32820,10 @@ $root.UnlinkedConnection = (function() {
32757
32820
  object.unlinkedAt = options.longs === String ? String(message.unlinkedAt) : message.unlinkedAt;
32758
32821
  else
32759
32822
  object.unlinkedAt = options.longs === String ? $util.Long.prototype.toString.call(message.unlinkedAt) : options.longs === Number ? new $util.LongBits(message.unlinkedAt.low >>> 0, message.unlinkedAt.high >>> 0).toNumber(true) : message.unlinkedAt;
32823
+ if (message.connectionType != null && message.hasOwnProperty("connectionType"))
32824
+ object.connectionType = options.enums === String ? $root.auth0.connections.ConnectionType[message.connectionType] : message.connectionType;
32825
+ if (message.connectionName != null && message.hasOwnProperty("connectionName"))
32826
+ object.connectionName = message.connectionName;
32760
32827
  return object;
32761
32828
  };
32762
32829
 
@@ -32786,6 +32853,7 @@ $root.ConnectionLinked = (function() {
32786
32853
  * @property {string|null} [userConnectionId] ConnectionLinked userConnectionId
32787
32854
  * @property {boolean|null} [isPrimaryConnection] ConnectionLinked isPrimaryConnection
32788
32855
  * @property {auth0.connections.ConnectionType|null} [connectionType] ConnectionLinked connectionType
32856
+ * @property {string|null} [connectionName] ConnectionLinked connectionName
32789
32857
  */
32790
32858
 
32791
32859
  /**
@@ -32851,6 +32919,14 @@ $root.ConnectionLinked = (function() {
32851
32919
  */
32852
32920
  ConnectionLinked.prototype.connectionType = 0;
32853
32921
 
32922
+ /**
32923
+ * ConnectionLinked connectionName.
32924
+ * @member {string} connectionName
32925
+ * @memberof ConnectionLinked
32926
+ * @instance
32927
+ */
32928
+ ConnectionLinked.prototype.connectionName = "";
32929
+
32854
32930
  /**
32855
32931
  * Creates a new ConnectionLinked instance using the specified properties.
32856
32932
  * @function create
@@ -32887,6 +32963,8 @@ $root.ConnectionLinked = (function() {
32887
32963
  writer.uint32(/* id 5, wireType 0 =*/40).bool(message.isPrimaryConnection);
32888
32964
  if (message.connectionType != null && message.hasOwnProperty("connectionType"))
32889
32965
  writer.uint32(/* id 6, wireType 0 =*/48).int32(message.connectionType);
32966
+ if (message.connectionName != null && message.hasOwnProperty("connectionName"))
32967
+ writer.uint32(/* id 7, wireType 2 =*/58).string(message.connectionName);
32890
32968
  return writer;
32891
32969
  };
32892
32970
 
@@ -32939,6 +33017,9 @@ $root.ConnectionLinked = (function() {
32939
33017
  case 6:
32940
33018
  message.connectionType = reader.int32();
32941
33019
  break;
33020
+ case 7:
33021
+ message.connectionName = reader.string();
33022
+ break;
32942
33023
  default:
32943
33024
  reader.skipType(tag & 7);
32944
33025
  break;
@@ -33030,6 +33111,9 @@ $root.ConnectionLinked = (function() {
33030
33111
  case 3:
33031
33112
  break;
33032
33113
  }
33114
+ if (message.connectionName != null && message.hasOwnProperty("connectionName"))
33115
+ if (!$util.isString(message.connectionName))
33116
+ return "connectionName: string expected";
33033
33117
  return null;
33034
33118
  };
33035
33119
 
@@ -33192,6 +33276,8 @@ $root.ConnectionLinked = (function() {
33192
33276
  message.connectionType = 3;
33193
33277
  break;
33194
33278
  }
33279
+ if (object.connectionName != null)
33280
+ message.connectionName = String(object.connectionName);
33195
33281
  return message;
33196
33282
  };
33197
33283
 
@@ -33219,6 +33305,7 @@ $root.ConnectionLinked = (function() {
33219
33305
  object.userConnectionId = "";
33220
33306
  object.isPrimaryConnection = false;
33221
33307
  object.connectionType = options.enums === String ? "CONNECTION_TYPE_UNKNOWN" : 0;
33308
+ object.connectionName = "";
33222
33309
  }
33223
33310
  if (message.hsId != null && message.hasOwnProperty("hsId"))
33224
33311
  object.hsId = message.hsId;
@@ -33235,6 +33322,8 @@ $root.ConnectionLinked = (function() {
33235
33322
  object.isPrimaryConnection = message.isPrimaryConnection;
33236
33323
  if (message.connectionType != null && message.hasOwnProperty("connectionType"))
33237
33324
  object.connectionType = options.enums === String ? $root.auth0.connections.ConnectionType[message.connectionType] : message.connectionType;
33325
+ if (message.connectionName != null && message.hasOwnProperty("connectionName"))
33326
+ object.connectionName = message.connectionName;
33238
33327
  return object;
33239
33328
  };
33240
33329
 
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.394.0"
19
+ "version": "1.395.0"
20
20
  }