@headspace/protos-events 1.378.0 → 1.380.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
@@ -145,7 +145,16 @@ export namespace auth0 {
145
145
  BILLGO_OKTA_SSO = 20,
146
146
  HEADSPACE_TEST_AZURE_SSO = 21,
147
147
  SMSASSIST_OKTA_SSO = 22,
148
- BOOKINGHOLDINGS_OKTA_SSO = 23
148
+ BOOKINGHOLDINGS_OKTA_SSO = 23,
149
+ MSFT_TEST_AZURE_SSO = 24
150
+ }
151
+
152
+ /** ConnectionType enum. */
153
+ enum ConnectionType {
154
+ CONNECTION_TYPE_UNKNOWN = 0,
155
+ CONNECTION_TYPE_INTERNAL = 1,
156
+ CONNECTION_TYPE_SOCIAL = 2,
157
+ CONNECTION_TYPE_ENTERPRISE = 3
149
158
  }
150
159
  }
151
160
  }
@@ -13153,6 +13162,12 @@ export interface IConnectionLinked {
13153
13162
 
13154
13163
  /** ConnectionLinked userConnectionId */
13155
13164
  userConnectionId?: (string|null);
13165
+
13166
+ /** ConnectionLinked isPrimaryConnection */
13167
+ isPrimaryConnection?: (boolean|null);
13168
+
13169
+ /** ConnectionLinked connectionType */
13170
+ connectionType?: (auth0.connections.ConnectionType|null);
13156
13171
  }
13157
13172
 
13158
13173
  /** Represents a ConnectionLinked. */
@@ -13176,6 +13191,12 @@ export class ConnectionLinked implements IConnectionLinked {
13176
13191
  /** ConnectionLinked userConnectionId. */
13177
13192
  public userConnectionId: string;
13178
13193
 
13194
+ /** ConnectionLinked isPrimaryConnection. */
13195
+ public isPrimaryConnection: boolean;
13196
+
13197
+ /** ConnectionLinked connectionType. */
13198
+ public connectionType: auth0.connections.ConnectionType;
13199
+
13179
13200
  /**
13180
13201
  * Creates a new ConnectionLinked instance using the specified properties.
13181
13202
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -316,6 +316,7 @@ $root.auth0 = (function() {
316
316
  * @property {number} HEADSPACE_TEST_AZURE_SSO=21 HEADSPACE_TEST_AZURE_SSO value
317
317
  * @property {number} SMSASSIST_OKTA_SSO=22 SMSASSIST_OKTA_SSO value
318
318
  * @property {number} BOOKINGHOLDINGS_OKTA_SSO=23 BOOKINGHOLDINGS_OKTA_SSO value
319
+ * @property {number} MSFT_TEST_AZURE_SSO=24 MSFT_TEST_AZURE_SSO value
319
320
  */
320
321
  connections.Connection = (function() {
321
322
  var valuesById = {}, values = Object.create(valuesById);
@@ -343,6 +344,25 @@ $root.auth0 = (function() {
343
344
  values[valuesById[21] = "HEADSPACE_TEST_AZURE_SSO"] = 21;
344
345
  values[valuesById[22] = "SMSASSIST_OKTA_SSO"] = 22;
345
346
  values[valuesById[23] = "BOOKINGHOLDINGS_OKTA_SSO"] = 23;
347
+ values[valuesById[24] = "MSFT_TEST_AZURE_SSO"] = 24;
348
+ return values;
349
+ })();
350
+
351
+ /**
352
+ * ConnectionType enum.
353
+ * @name auth0.connections.ConnectionType
354
+ * @enum {string}
355
+ * @property {number} CONNECTION_TYPE_UNKNOWN=0 CONNECTION_TYPE_UNKNOWN value
356
+ * @property {number} CONNECTION_TYPE_INTERNAL=1 CONNECTION_TYPE_INTERNAL value
357
+ * @property {number} CONNECTION_TYPE_SOCIAL=2 CONNECTION_TYPE_SOCIAL value
358
+ * @property {number} CONNECTION_TYPE_ENTERPRISE=3 CONNECTION_TYPE_ENTERPRISE value
359
+ */
360
+ connections.ConnectionType = (function() {
361
+ var valuesById = {}, values = Object.create(valuesById);
362
+ values[valuesById[0] = "CONNECTION_TYPE_UNKNOWN"] = 0;
363
+ values[valuesById[1] = "CONNECTION_TYPE_INTERNAL"] = 1;
364
+ values[valuesById[2] = "CONNECTION_TYPE_SOCIAL"] = 2;
365
+ values[valuesById[3] = "CONNECTION_TYPE_ENTERPRISE"] = 3;
346
366
  return values;
347
367
  })();
348
368
 
@@ -32037,6 +32057,7 @@ $root.SuccessfulUserLogin = (function() {
32037
32057
  case 21:
32038
32058
  case 22:
32039
32059
  case 23:
32060
+ case 24:
32040
32061
  break;
32041
32062
  }
32042
32063
  return null;
@@ -32216,6 +32237,10 @@ $root.SuccessfulUserLogin = (function() {
32216
32237
  case 23:
32217
32238
  message.connection = 23;
32218
32239
  break;
32240
+ case "MSFT_TEST_AZURE_SSO":
32241
+ case 24:
32242
+ message.connection = 24;
32243
+ break;
32219
32244
  }
32220
32245
  return message;
32221
32246
  };
@@ -32460,6 +32485,7 @@ $root.UnlinkedConnection = (function() {
32460
32485
  case 21:
32461
32486
  case 22:
32462
32487
  case 23:
32488
+ case 24:
32463
32489
  break;
32464
32490
  }
32465
32491
  if (message.unlinkedAt != null && message.hasOwnProperty("unlinkedAt"))
@@ -32579,6 +32605,10 @@ $root.UnlinkedConnection = (function() {
32579
32605
  case 23:
32580
32606
  message.connection = 23;
32581
32607
  break;
32608
+ case "MSFT_TEST_AZURE_SSO":
32609
+ case 24:
32610
+ message.connection = 24;
32611
+ break;
32582
32612
  }
32583
32613
  if (object.unlinkedAt != null)
32584
32614
  if ($util.Long)
@@ -32650,6 +32680,8 @@ $root.ConnectionLinked = (function() {
32650
32680
  * @property {auth0.connections.Connection|null} [connection] ConnectionLinked connection
32651
32681
  * @property {number|Long|null} [linkedAt] ConnectionLinked linkedAt
32652
32682
  * @property {string|null} [userConnectionId] ConnectionLinked userConnectionId
32683
+ * @property {boolean|null} [isPrimaryConnection] ConnectionLinked isPrimaryConnection
32684
+ * @property {auth0.connections.ConnectionType|null} [connectionType] ConnectionLinked connectionType
32653
32685
  */
32654
32686
 
32655
32687
  /**
@@ -32699,6 +32731,22 @@ $root.ConnectionLinked = (function() {
32699
32731
  */
32700
32732
  ConnectionLinked.prototype.userConnectionId = "";
32701
32733
 
32734
+ /**
32735
+ * ConnectionLinked isPrimaryConnection.
32736
+ * @member {boolean} isPrimaryConnection
32737
+ * @memberof ConnectionLinked
32738
+ * @instance
32739
+ */
32740
+ ConnectionLinked.prototype.isPrimaryConnection = false;
32741
+
32742
+ /**
32743
+ * ConnectionLinked connectionType.
32744
+ * @member {auth0.connections.ConnectionType} connectionType
32745
+ * @memberof ConnectionLinked
32746
+ * @instance
32747
+ */
32748
+ ConnectionLinked.prototype.connectionType = 0;
32749
+
32702
32750
  /**
32703
32751
  * Creates a new ConnectionLinked instance using the specified properties.
32704
32752
  * @function create
@@ -32731,6 +32779,10 @@ $root.ConnectionLinked = (function() {
32731
32779
  writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.linkedAt);
32732
32780
  if (message.userConnectionId != null && message.hasOwnProperty("userConnectionId"))
32733
32781
  writer.uint32(/* id 4, wireType 2 =*/34).string(message.userConnectionId);
32782
+ if (message.isPrimaryConnection != null && message.hasOwnProperty("isPrimaryConnection"))
32783
+ writer.uint32(/* id 5, wireType 0 =*/40).bool(message.isPrimaryConnection);
32784
+ if (message.connectionType != null && message.hasOwnProperty("connectionType"))
32785
+ writer.uint32(/* id 6, wireType 0 =*/48).int32(message.connectionType);
32734
32786
  return writer;
32735
32787
  };
32736
32788
 
@@ -32777,6 +32829,12 @@ $root.ConnectionLinked = (function() {
32777
32829
  case 4:
32778
32830
  message.userConnectionId = reader.string();
32779
32831
  break;
32832
+ case 5:
32833
+ message.isPrimaryConnection = reader.bool();
32834
+ break;
32835
+ case 6:
32836
+ message.connectionType = reader.int32();
32837
+ break;
32780
32838
  default:
32781
32839
  reader.skipType(tag & 7);
32782
32840
  break;
@@ -32843,6 +32901,7 @@ $root.ConnectionLinked = (function() {
32843
32901
  case 21:
32844
32902
  case 22:
32845
32903
  case 23:
32904
+ case 24:
32846
32905
  break;
32847
32906
  }
32848
32907
  if (message.linkedAt != null && message.hasOwnProperty("linkedAt"))
@@ -32851,6 +32910,19 @@ $root.ConnectionLinked = (function() {
32851
32910
  if (message.userConnectionId != null && message.hasOwnProperty("userConnectionId"))
32852
32911
  if (!$util.isString(message.userConnectionId))
32853
32912
  return "userConnectionId: string expected";
32913
+ if (message.isPrimaryConnection != null && message.hasOwnProperty("isPrimaryConnection"))
32914
+ if (typeof message.isPrimaryConnection !== "boolean")
32915
+ return "isPrimaryConnection: boolean expected";
32916
+ if (message.connectionType != null && message.hasOwnProperty("connectionType"))
32917
+ switch (message.connectionType) {
32918
+ default:
32919
+ return "connectionType: enum value expected";
32920
+ case 0:
32921
+ case 1:
32922
+ case 2:
32923
+ case 3:
32924
+ break;
32925
+ }
32854
32926
  return null;
32855
32927
  };
32856
32928
 
@@ -32965,6 +33037,10 @@ $root.ConnectionLinked = (function() {
32965
33037
  case 23:
32966
33038
  message.connection = 23;
32967
33039
  break;
33040
+ case "MSFT_TEST_AZURE_SSO":
33041
+ case 24:
33042
+ message.connection = 24;
33043
+ break;
32968
33044
  }
32969
33045
  if (object.linkedAt != null)
32970
33046
  if ($util.Long)
@@ -32977,6 +33053,26 @@ $root.ConnectionLinked = (function() {
32977
33053
  message.linkedAt = new $util.LongBits(object.linkedAt.low >>> 0, object.linkedAt.high >>> 0).toNumber(true);
32978
33054
  if (object.userConnectionId != null)
32979
33055
  message.userConnectionId = String(object.userConnectionId);
33056
+ if (object.isPrimaryConnection != null)
33057
+ message.isPrimaryConnection = Boolean(object.isPrimaryConnection);
33058
+ switch (object.connectionType) {
33059
+ case "CONNECTION_TYPE_UNKNOWN":
33060
+ case 0:
33061
+ message.connectionType = 0;
33062
+ break;
33063
+ case "CONNECTION_TYPE_INTERNAL":
33064
+ case 1:
33065
+ message.connectionType = 1;
33066
+ break;
33067
+ case "CONNECTION_TYPE_SOCIAL":
33068
+ case 2:
33069
+ message.connectionType = 2;
33070
+ break;
33071
+ case "CONNECTION_TYPE_ENTERPRISE":
33072
+ case 3:
33073
+ message.connectionType = 3;
33074
+ break;
33075
+ }
32980
33076
  return message;
32981
33077
  };
32982
33078
 
@@ -33002,6 +33098,8 @@ $root.ConnectionLinked = (function() {
33002
33098
  } else
33003
33099
  object.linkedAt = options.longs === String ? "0" : 0;
33004
33100
  object.userConnectionId = "";
33101
+ object.isPrimaryConnection = false;
33102
+ object.connectionType = options.enums === String ? "CONNECTION_TYPE_UNKNOWN" : 0;
33005
33103
  }
33006
33104
  if (message.hsId != null && message.hasOwnProperty("hsId"))
33007
33105
  object.hsId = message.hsId;
@@ -33014,6 +33112,10 @@ $root.ConnectionLinked = (function() {
33014
33112
  object.linkedAt = options.longs === String ? $util.Long.prototype.toString.call(message.linkedAt) : options.longs === Number ? new $util.LongBits(message.linkedAt.low >>> 0, message.linkedAt.high >>> 0).toNumber(true) : message.linkedAt;
33015
33113
  if (message.userConnectionId != null && message.hasOwnProperty("userConnectionId"))
33016
33114
  object.userConnectionId = message.userConnectionId;
33115
+ if (message.isPrimaryConnection != null && message.hasOwnProperty("isPrimaryConnection"))
33116
+ object.isPrimaryConnection = message.isPrimaryConnection;
33117
+ if (message.connectionType != null && message.hasOwnProperty("connectionType"))
33118
+ object.connectionType = options.enums === String ? $root.auth0.connections.ConnectionType[message.connectionType] : message.connectionType;
33017
33119
  return object;
33018
33120
  };
33019
33121
 
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.378.0"
19
+ "version": "1.380.0"
20
20
  }