@headspace/protos-events 1.394.0 → 1.396.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
@@ -178,7 +178,8 @@ export namespace auth0 {
178
178
  CITADEL_OKTA_SSO = 25,
179
179
  HEADSPACE_E2E_OKTA_SSO = 26,
180
180
  MICROSOFT_AZURE_SSO = 27,
181
- HOOTSUITE_OKTA_SSO = 28
181
+ HOOTSUITE_OKTA_SSO = 28,
182
+ MOONPAY_OKTA_SSO = 29
182
183
  }
183
184
 
184
185
  /** ConnectionType enum. */
@@ -13089,6 +13090,12 @@ export interface IUnlinkedConnection {
13089
13090
 
13090
13091
  /** UnlinkedConnection unlinkedAt */
13091
13092
  unlinkedAt?: (number|Long|null);
13093
+
13094
+ /** UnlinkedConnection connectionType */
13095
+ connectionType?: (auth0.connections.ConnectionType|null);
13096
+
13097
+ /** UnlinkedConnection connectionName */
13098
+ connectionName?: (string|null);
13092
13099
  }
13093
13100
 
13094
13101
  /** Represents an UnlinkedConnection. */
@@ -13109,6 +13116,12 @@ export class UnlinkedConnection implements IUnlinkedConnection {
13109
13116
  /** UnlinkedConnection unlinkedAt. */
13110
13117
  public unlinkedAt: (number|Long);
13111
13118
 
13119
+ /** UnlinkedConnection connectionType. */
13120
+ public connectionType: auth0.connections.ConnectionType;
13121
+
13122
+ /** UnlinkedConnection connectionName. */
13123
+ public connectionName: string;
13124
+
13112
13125
  /**
13113
13126
  * Creates a new UnlinkedConnection instance using the specified properties.
13114
13127
  * @param [properties] Properties to set
@@ -13200,6 +13213,9 @@ export interface IConnectionLinked {
13200
13213
 
13201
13214
  /** ConnectionLinked connectionType */
13202
13215
  connectionType?: (auth0.connections.ConnectionType|null);
13216
+
13217
+ /** ConnectionLinked connectionName */
13218
+ connectionName?: (string|null);
13203
13219
  }
13204
13220
 
13205
13221
  /** Represents a ConnectionLinked. */
@@ -13229,6 +13245,9 @@ export class ConnectionLinked implements IConnectionLinked {
13229
13245
  /** ConnectionLinked connectionType. */
13230
13246
  public connectionType: auth0.connections.ConnectionType;
13231
13247
 
13248
+ /** ConnectionLinked connectionName. */
13249
+ public connectionName: string;
13250
+
13232
13251
  /**
13233
13252
  * Creates a new ConnectionLinked instance using the specified properties.
13234
13253
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -388,6 +388,7 @@ $root.auth0 = (function() {
388
388
  * @property {number} HEADSPACE_E2E_OKTA_SSO=26 HEADSPACE_E2E_OKTA_SSO value
389
389
  * @property {number} MICROSOFT_AZURE_SSO=27 MICROSOFT_AZURE_SSO value
390
390
  * @property {number} HOOTSUITE_OKTA_SSO=28 HOOTSUITE_OKTA_SSO value
391
+ * @property {number} MOONPAY_OKTA_SSO=29 MOONPAY_OKTA_SSO value
391
392
  */
392
393
  connections.Connection = (function() {
393
394
  var valuesById = {}, values = Object.create(valuesById);
@@ -419,6 +420,7 @@ $root.auth0 = (function() {
419
420
  values[valuesById[26] = "HEADSPACE_E2E_OKTA_SSO"] = 26;
420
421
  values[valuesById[27] = "MICROSOFT_AZURE_SSO"] = 27;
421
422
  values[valuesById[28] = "HOOTSUITE_OKTA_SSO"] = 28;
423
+ values[valuesById[29] = "MOONPAY_OKTA_SSO"] = 29;
422
424
  return values;
423
425
  })();
424
426
 
@@ -32135,6 +32137,7 @@ $root.SuccessfulUserLogin = (function() {
32135
32137
  case 26:
32136
32138
  case 27:
32137
32139
  case 28:
32140
+ case 29:
32138
32141
  break;
32139
32142
  }
32140
32143
  return null;
@@ -32330,6 +32333,10 @@ $root.SuccessfulUserLogin = (function() {
32330
32333
  case 28:
32331
32334
  message.connection = 28;
32332
32335
  break;
32336
+ case "MOONPAY_OKTA_SSO":
32337
+ case 29:
32338
+ message.connection = 29;
32339
+ break;
32333
32340
  }
32334
32341
  return message;
32335
32342
  };
@@ -32394,6 +32401,8 @@ $root.UnlinkedConnection = (function() {
32394
32401
  * @property {string|null} [hsId] UnlinkedConnection hsId
32395
32402
  * @property {auth0.connections.Connection|null} [connection] UnlinkedConnection connection
32396
32403
  * @property {number|Long|null} [unlinkedAt] UnlinkedConnection unlinkedAt
32404
+ * @property {auth0.connections.ConnectionType|null} [connectionType] UnlinkedConnection connectionType
32405
+ * @property {string|null} [connectionName] UnlinkedConnection connectionName
32397
32406
  */
32398
32407
 
32399
32408
  /**
@@ -32435,6 +32444,22 @@ $root.UnlinkedConnection = (function() {
32435
32444
  */
32436
32445
  UnlinkedConnection.prototype.unlinkedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
32437
32446
 
32447
+ /**
32448
+ * UnlinkedConnection connectionType.
32449
+ * @member {auth0.connections.ConnectionType} connectionType
32450
+ * @memberof UnlinkedConnection
32451
+ * @instance
32452
+ */
32453
+ UnlinkedConnection.prototype.connectionType = 0;
32454
+
32455
+ /**
32456
+ * UnlinkedConnection connectionName.
32457
+ * @member {string} connectionName
32458
+ * @memberof UnlinkedConnection
32459
+ * @instance
32460
+ */
32461
+ UnlinkedConnection.prototype.connectionName = "";
32462
+
32438
32463
  /**
32439
32464
  * Creates a new UnlinkedConnection instance using the specified properties.
32440
32465
  * @function create
@@ -32465,6 +32490,10 @@ $root.UnlinkedConnection = (function() {
32465
32490
  writer.uint32(/* id 2, wireType 0 =*/16).int32(message.connection);
32466
32491
  if (message.unlinkedAt != null && message.hasOwnProperty("unlinkedAt"))
32467
32492
  writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.unlinkedAt);
32493
+ if (message.connectionType != null && message.hasOwnProperty("connectionType"))
32494
+ writer.uint32(/* id 4, wireType 0 =*/32).int32(message.connectionType);
32495
+ if (message.connectionName != null && message.hasOwnProperty("connectionName"))
32496
+ writer.uint32(/* id 5, wireType 2 =*/42).string(message.connectionName);
32468
32497
  return writer;
32469
32498
  };
32470
32499
 
@@ -32508,6 +32537,12 @@ $root.UnlinkedConnection = (function() {
32508
32537
  case 3:
32509
32538
  message.unlinkedAt = reader.uint64();
32510
32539
  break;
32540
+ case 4:
32541
+ message.connectionType = reader.int32();
32542
+ break;
32543
+ case 5:
32544
+ message.connectionName = reader.string();
32545
+ break;
32511
32546
  default:
32512
32547
  reader.skipType(tag & 7);
32513
32548
  break;
@@ -32578,11 +32613,25 @@ $root.UnlinkedConnection = (function() {
32578
32613
  case 26:
32579
32614
  case 27:
32580
32615
  case 28:
32616
+ case 29:
32581
32617
  break;
32582
32618
  }
32583
32619
  if (message.unlinkedAt != null && message.hasOwnProperty("unlinkedAt"))
32584
32620
  if (!$util.isInteger(message.unlinkedAt) && !(message.unlinkedAt && $util.isInteger(message.unlinkedAt.low) && $util.isInteger(message.unlinkedAt.high)))
32585
32621
  return "unlinkedAt: integer|Long expected";
32622
+ if (message.connectionType != null && message.hasOwnProperty("connectionType"))
32623
+ switch (message.connectionType) {
32624
+ default:
32625
+ return "connectionType: enum value expected";
32626
+ case 0:
32627
+ case 1:
32628
+ case 2:
32629
+ case 3:
32630
+ break;
32631
+ }
32632
+ if (message.connectionName != null && message.hasOwnProperty("connectionName"))
32633
+ if (!$util.isString(message.connectionName))
32634
+ return "connectionName: string expected";
32586
32635
  return null;
32587
32636
  };
32588
32637
 
@@ -32713,6 +32762,10 @@ $root.UnlinkedConnection = (function() {
32713
32762
  case 28:
32714
32763
  message.connection = 28;
32715
32764
  break;
32765
+ case "MOONPAY_OKTA_SSO":
32766
+ case 29:
32767
+ message.connection = 29;
32768
+ break;
32716
32769
  }
32717
32770
  if (object.unlinkedAt != null)
32718
32771
  if ($util.Long)
@@ -32723,6 +32776,26 @@ $root.UnlinkedConnection = (function() {
32723
32776
  message.unlinkedAt = object.unlinkedAt;
32724
32777
  else if (typeof object.unlinkedAt === "object")
32725
32778
  message.unlinkedAt = new $util.LongBits(object.unlinkedAt.low >>> 0, object.unlinkedAt.high >>> 0).toNumber(true);
32779
+ switch (object.connectionType) {
32780
+ case "CONNECTION_TYPE_UNKNOWN":
32781
+ case 0:
32782
+ message.connectionType = 0;
32783
+ break;
32784
+ case "CONNECTION_TYPE_INTERNAL":
32785
+ case 1:
32786
+ message.connectionType = 1;
32787
+ break;
32788
+ case "CONNECTION_TYPE_SOCIAL":
32789
+ case 2:
32790
+ message.connectionType = 2;
32791
+ break;
32792
+ case "CONNECTION_TYPE_ENTERPRISE":
32793
+ case 3:
32794
+ message.connectionType = 3;
32795
+ break;
32796
+ }
32797
+ if (object.connectionName != null)
32798
+ message.connectionName = String(object.connectionName);
32726
32799
  return message;
32727
32800
  };
32728
32801
 
@@ -32747,6 +32820,8 @@ $root.UnlinkedConnection = (function() {
32747
32820
  object.unlinkedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
32748
32821
  } else
32749
32822
  object.unlinkedAt = options.longs === String ? "0" : 0;
32823
+ object.connectionType = options.enums === String ? "CONNECTION_TYPE_UNKNOWN" : 0;
32824
+ object.connectionName = "";
32750
32825
  }
32751
32826
  if (message.hsId != null && message.hasOwnProperty("hsId"))
32752
32827
  object.hsId = message.hsId;
@@ -32757,6 +32832,10 @@ $root.UnlinkedConnection = (function() {
32757
32832
  object.unlinkedAt = options.longs === String ? String(message.unlinkedAt) : message.unlinkedAt;
32758
32833
  else
32759
32834
  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;
32835
+ if (message.connectionType != null && message.hasOwnProperty("connectionType"))
32836
+ object.connectionType = options.enums === String ? $root.auth0.connections.ConnectionType[message.connectionType] : message.connectionType;
32837
+ if (message.connectionName != null && message.hasOwnProperty("connectionName"))
32838
+ object.connectionName = message.connectionName;
32760
32839
  return object;
32761
32840
  };
32762
32841
 
@@ -32786,6 +32865,7 @@ $root.ConnectionLinked = (function() {
32786
32865
  * @property {string|null} [userConnectionId] ConnectionLinked userConnectionId
32787
32866
  * @property {boolean|null} [isPrimaryConnection] ConnectionLinked isPrimaryConnection
32788
32867
  * @property {auth0.connections.ConnectionType|null} [connectionType] ConnectionLinked connectionType
32868
+ * @property {string|null} [connectionName] ConnectionLinked connectionName
32789
32869
  */
32790
32870
 
32791
32871
  /**
@@ -32851,6 +32931,14 @@ $root.ConnectionLinked = (function() {
32851
32931
  */
32852
32932
  ConnectionLinked.prototype.connectionType = 0;
32853
32933
 
32934
+ /**
32935
+ * ConnectionLinked connectionName.
32936
+ * @member {string} connectionName
32937
+ * @memberof ConnectionLinked
32938
+ * @instance
32939
+ */
32940
+ ConnectionLinked.prototype.connectionName = "";
32941
+
32854
32942
  /**
32855
32943
  * Creates a new ConnectionLinked instance using the specified properties.
32856
32944
  * @function create
@@ -32887,6 +32975,8 @@ $root.ConnectionLinked = (function() {
32887
32975
  writer.uint32(/* id 5, wireType 0 =*/40).bool(message.isPrimaryConnection);
32888
32976
  if (message.connectionType != null && message.hasOwnProperty("connectionType"))
32889
32977
  writer.uint32(/* id 6, wireType 0 =*/48).int32(message.connectionType);
32978
+ if (message.connectionName != null && message.hasOwnProperty("connectionName"))
32979
+ writer.uint32(/* id 7, wireType 2 =*/58).string(message.connectionName);
32890
32980
  return writer;
32891
32981
  };
32892
32982
 
@@ -32939,6 +33029,9 @@ $root.ConnectionLinked = (function() {
32939
33029
  case 6:
32940
33030
  message.connectionType = reader.int32();
32941
33031
  break;
33032
+ case 7:
33033
+ message.connectionName = reader.string();
33034
+ break;
32942
33035
  default:
32943
33036
  reader.skipType(tag & 7);
32944
33037
  break;
@@ -33009,6 +33102,7 @@ $root.ConnectionLinked = (function() {
33009
33102
  case 26:
33010
33103
  case 27:
33011
33104
  case 28:
33105
+ case 29:
33012
33106
  break;
33013
33107
  }
33014
33108
  if (message.linkedAt != null && message.hasOwnProperty("linkedAt"))
@@ -33030,6 +33124,9 @@ $root.ConnectionLinked = (function() {
33030
33124
  case 3:
33031
33125
  break;
33032
33126
  }
33127
+ if (message.connectionName != null && message.hasOwnProperty("connectionName"))
33128
+ if (!$util.isString(message.connectionName))
33129
+ return "connectionName: string expected";
33033
33130
  return null;
33034
33131
  };
33035
33132
 
@@ -33160,6 +33257,10 @@ $root.ConnectionLinked = (function() {
33160
33257
  case 28:
33161
33258
  message.connection = 28;
33162
33259
  break;
33260
+ case "MOONPAY_OKTA_SSO":
33261
+ case 29:
33262
+ message.connection = 29;
33263
+ break;
33163
33264
  }
33164
33265
  if (object.linkedAt != null)
33165
33266
  if ($util.Long)
@@ -33192,6 +33293,8 @@ $root.ConnectionLinked = (function() {
33192
33293
  message.connectionType = 3;
33193
33294
  break;
33194
33295
  }
33296
+ if (object.connectionName != null)
33297
+ message.connectionName = String(object.connectionName);
33195
33298
  return message;
33196
33299
  };
33197
33300
 
@@ -33219,6 +33322,7 @@ $root.ConnectionLinked = (function() {
33219
33322
  object.userConnectionId = "";
33220
33323
  object.isPrimaryConnection = false;
33221
33324
  object.connectionType = options.enums === String ? "CONNECTION_TYPE_UNKNOWN" : 0;
33325
+ object.connectionName = "";
33222
33326
  }
33223
33327
  if (message.hsId != null && message.hasOwnProperty("hsId"))
33224
33328
  object.hsId = message.hsId;
@@ -33235,6 +33339,8 @@ $root.ConnectionLinked = (function() {
33235
33339
  object.isPrimaryConnection = message.isPrimaryConnection;
33236
33340
  if (message.connectionType != null && message.hasOwnProperty("connectionType"))
33237
33341
  object.connectionType = options.enums === String ? $root.auth0.connections.ConnectionType[message.connectionType] : message.connectionType;
33342
+ if (message.connectionName != null && message.hasOwnProperty("connectionName"))
33343
+ object.connectionName = message.connectionName;
33238
33344
  return object;
33239
33345
  };
33240
33346
 
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.396.0"
20
20
  }