@headspace/protos-events 1.393.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 +20 -1
- package/lib/index.js +106 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -177,7 +177,8 @@ export namespace auth0 {
|
|
|
177
177
|
MSFT_TEST_AZURE_SSO = 24,
|
|
178
178
|
CITADEL_OKTA_SSO = 25,
|
|
179
179
|
HEADSPACE_E2E_OKTA_SSO = 26,
|
|
180
|
-
MICROSOFT_AZURE_SSO = 27
|
|
180
|
+
MICROSOFT_AZURE_SSO = 27,
|
|
181
|
+
HOOTSUITE_OKTA_SSO = 28
|
|
181
182
|
}
|
|
182
183
|
|
|
183
184
|
/** ConnectionType enum. */
|
|
@@ -13088,6 +13089,12 @@ export interface IUnlinkedConnection {
|
|
|
13088
13089
|
|
|
13089
13090
|
/** UnlinkedConnection unlinkedAt */
|
|
13090
13091
|
unlinkedAt?: (number|Long|null);
|
|
13092
|
+
|
|
13093
|
+
/** UnlinkedConnection connectionType */
|
|
13094
|
+
connectionType?: (auth0.connections.ConnectionType|null);
|
|
13095
|
+
|
|
13096
|
+
/** UnlinkedConnection connectionName */
|
|
13097
|
+
connectionName?: (string|null);
|
|
13091
13098
|
}
|
|
13092
13099
|
|
|
13093
13100
|
/** Represents an UnlinkedConnection. */
|
|
@@ -13108,6 +13115,12 @@ export class UnlinkedConnection implements IUnlinkedConnection {
|
|
|
13108
13115
|
/** UnlinkedConnection unlinkedAt. */
|
|
13109
13116
|
public unlinkedAt: (number|Long);
|
|
13110
13117
|
|
|
13118
|
+
/** UnlinkedConnection connectionType. */
|
|
13119
|
+
public connectionType: auth0.connections.ConnectionType;
|
|
13120
|
+
|
|
13121
|
+
/** UnlinkedConnection connectionName. */
|
|
13122
|
+
public connectionName: string;
|
|
13123
|
+
|
|
13111
13124
|
/**
|
|
13112
13125
|
* Creates a new UnlinkedConnection instance using the specified properties.
|
|
13113
13126
|
* @param [properties] Properties to set
|
|
@@ -13199,6 +13212,9 @@ export interface IConnectionLinked {
|
|
|
13199
13212
|
|
|
13200
13213
|
/** ConnectionLinked connectionType */
|
|
13201
13214
|
connectionType?: (auth0.connections.ConnectionType|null);
|
|
13215
|
+
|
|
13216
|
+
/** ConnectionLinked connectionName */
|
|
13217
|
+
connectionName?: (string|null);
|
|
13202
13218
|
}
|
|
13203
13219
|
|
|
13204
13220
|
/** Represents a ConnectionLinked. */
|
|
@@ -13228,6 +13244,9 @@ export class ConnectionLinked implements IConnectionLinked {
|
|
|
13228
13244
|
/** ConnectionLinked connectionType. */
|
|
13229
13245
|
public connectionType: auth0.connections.ConnectionType;
|
|
13230
13246
|
|
|
13247
|
+
/** ConnectionLinked connectionName. */
|
|
13248
|
+
public connectionName: string;
|
|
13249
|
+
|
|
13231
13250
|
/**
|
|
13232
13251
|
* Creates a new ConnectionLinked instance using the specified properties.
|
|
13233
13252
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -387,6 +387,7 @@ $root.auth0 = (function() {
|
|
|
387
387
|
* @property {number} CITADEL_OKTA_SSO=25 CITADEL_OKTA_SSO value
|
|
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
|
+
* @property {number} HOOTSUITE_OKTA_SSO=28 HOOTSUITE_OKTA_SSO value
|
|
390
391
|
*/
|
|
391
392
|
connections.Connection = (function() {
|
|
392
393
|
var valuesById = {}, values = Object.create(valuesById);
|
|
@@ -417,6 +418,7 @@ $root.auth0 = (function() {
|
|
|
417
418
|
values[valuesById[25] = "CITADEL_OKTA_SSO"] = 25;
|
|
418
419
|
values[valuesById[26] = "HEADSPACE_E2E_OKTA_SSO"] = 26;
|
|
419
420
|
values[valuesById[27] = "MICROSOFT_AZURE_SSO"] = 27;
|
|
421
|
+
values[valuesById[28] = "HOOTSUITE_OKTA_SSO"] = 28;
|
|
420
422
|
return values;
|
|
421
423
|
})();
|
|
422
424
|
|
|
@@ -32132,6 +32134,7 @@ $root.SuccessfulUserLogin = (function() {
|
|
|
32132
32134
|
case 25:
|
|
32133
32135
|
case 26:
|
|
32134
32136
|
case 27:
|
|
32137
|
+
case 28:
|
|
32135
32138
|
break;
|
|
32136
32139
|
}
|
|
32137
32140
|
return null;
|
|
@@ -32323,6 +32326,10 @@ $root.SuccessfulUserLogin = (function() {
|
|
|
32323
32326
|
case 27:
|
|
32324
32327
|
message.connection = 27;
|
|
32325
32328
|
break;
|
|
32329
|
+
case "HOOTSUITE_OKTA_SSO":
|
|
32330
|
+
case 28:
|
|
32331
|
+
message.connection = 28;
|
|
32332
|
+
break;
|
|
32326
32333
|
}
|
|
32327
32334
|
return message;
|
|
32328
32335
|
};
|
|
@@ -32387,6 +32394,8 @@ $root.UnlinkedConnection = (function() {
|
|
|
32387
32394
|
* @property {string|null} [hsId] UnlinkedConnection hsId
|
|
32388
32395
|
* @property {auth0.connections.Connection|null} [connection] UnlinkedConnection connection
|
|
32389
32396
|
* @property {number|Long|null} [unlinkedAt] UnlinkedConnection unlinkedAt
|
|
32397
|
+
* @property {auth0.connections.ConnectionType|null} [connectionType] UnlinkedConnection connectionType
|
|
32398
|
+
* @property {string|null} [connectionName] UnlinkedConnection connectionName
|
|
32390
32399
|
*/
|
|
32391
32400
|
|
|
32392
32401
|
/**
|
|
@@ -32428,6 +32437,22 @@ $root.UnlinkedConnection = (function() {
|
|
|
32428
32437
|
*/
|
|
32429
32438
|
UnlinkedConnection.prototype.unlinkedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
32430
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
|
+
|
|
32431
32456
|
/**
|
|
32432
32457
|
* Creates a new UnlinkedConnection instance using the specified properties.
|
|
32433
32458
|
* @function create
|
|
@@ -32458,6 +32483,10 @@ $root.UnlinkedConnection = (function() {
|
|
|
32458
32483
|
writer.uint32(/* id 2, wireType 0 =*/16).int32(message.connection);
|
|
32459
32484
|
if (message.unlinkedAt != null && message.hasOwnProperty("unlinkedAt"))
|
|
32460
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);
|
|
32461
32490
|
return writer;
|
|
32462
32491
|
};
|
|
32463
32492
|
|
|
@@ -32501,6 +32530,12 @@ $root.UnlinkedConnection = (function() {
|
|
|
32501
32530
|
case 3:
|
|
32502
32531
|
message.unlinkedAt = reader.uint64();
|
|
32503
32532
|
break;
|
|
32533
|
+
case 4:
|
|
32534
|
+
message.connectionType = reader.int32();
|
|
32535
|
+
break;
|
|
32536
|
+
case 5:
|
|
32537
|
+
message.connectionName = reader.string();
|
|
32538
|
+
break;
|
|
32504
32539
|
default:
|
|
32505
32540
|
reader.skipType(tag & 7);
|
|
32506
32541
|
break;
|
|
@@ -32570,11 +32605,25 @@ $root.UnlinkedConnection = (function() {
|
|
|
32570
32605
|
case 25:
|
|
32571
32606
|
case 26:
|
|
32572
32607
|
case 27:
|
|
32608
|
+
case 28:
|
|
32573
32609
|
break;
|
|
32574
32610
|
}
|
|
32575
32611
|
if (message.unlinkedAt != null && message.hasOwnProperty("unlinkedAt"))
|
|
32576
32612
|
if (!$util.isInteger(message.unlinkedAt) && !(message.unlinkedAt && $util.isInteger(message.unlinkedAt.low) && $util.isInteger(message.unlinkedAt.high)))
|
|
32577
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";
|
|
32578
32627
|
return null;
|
|
32579
32628
|
};
|
|
32580
32629
|
|
|
@@ -32701,6 +32750,10 @@ $root.UnlinkedConnection = (function() {
|
|
|
32701
32750
|
case 27:
|
|
32702
32751
|
message.connection = 27;
|
|
32703
32752
|
break;
|
|
32753
|
+
case "HOOTSUITE_OKTA_SSO":
|
|
32754
|
+
case 28:
|
|
32755
|
+
message.connection = 28;
|
|
32756
|
+
break;
|
|
32704
32757
|
}
|
|
32705
32758
|
if (object.unlinkedAt != null)
|
|
32706
32759
|
if ($util.Long)
|
|
@@ -32711,6 +32764,26 @@ $root.UnlinkedConnection = (function() {
|
|
|
32711
32764
|
message.unlinkedAt = object.unlinkedAt;
|
|
32712
32765
|
else if (typeof object.unlinkedAt === "object")
|
|
32713
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);
|
|
32714
32787
|
return message;
|
|
32715
32788
|
};
|
|
32716
32789
|
|
|
@@ -32735,6 +32808,8 @@ $root.UnlinkedConnection = (function() {
|
|
|
32735
32808
|
object.unlinkedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
32736
32809
|
} else
|
|
32737
32810
|
object.unlinkedAt = options.longs === String ? "0" : 0;
|
|
32811
|
+
object.connectionType = options.enums === String ? "CONNECTION_TYPE_UNKNOWN" : 0;
|
|
32812
|
+
object.connectionName = "";
|
|
32738
32813
|
}
|
|
32739
32814
|
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
32740
32815
|
object.hsId = message.hsId;
|
|
@@ -32745,6 +32820,10 @@ $root.UnlinkedConnection = (function() {
|
|
|
32745
32820
|
object.unlinkedAt = options.longs === String ? String(message.unlinkedAt) : message.unlinkedAt;
|
|
32746
32821
|
else
|
|
32747
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;
|
|
32748
32827
|
return object;
|
|
32749
32828
|
};
|
|
32750
32829
|
|
|
@@ -32774,6 +32853,7 @@ $root.ConnectionLinked = (function() {
|
|
|
32774
32853
|
* @property {string|null} [userConnectionId] ConnectionLinked userConnectionId
|
|
32775
32854
|
* @property {boolean|null} [isPrimaryConnection] ConnectionLinked isPrimaryConnection
|
|
32776
32855
|
* @property {auth0.connections.ConnectionType|null} [connectionType] ConnectionLinked connectionType
|
|
32856
|
+
* @property {string|null} [connectionName] ConnectionLinked connectionName
|
|
32777
32857
|
*/
|
|
32778
32858
|
|
|
32779
32859
|
/**
|
|
@@ -32839,6 +32919,14 @@ $root.ConnectionLinked = (function() {
|
|
|
32839
32919
|
*/
|
|
32840
32920
|
ConnectionLinked.prototype.connectionType = 0;
|
|
32841
32921
|
|
|
32922
|
+
/**
|
|
32923
|
+
* ConnectionLinked connectionName.
|
|
32924
|
+
* @member {string} connectionName
|
|
32925
|
+
* @memberof ConnectionLinked
|
|
32926
|
+
* @instance
|
|
32927
|
+
*/
|
|
32928
|
+
ConnectionLinked.prototype.connectionName = "";
|
|
32929
|
+
|
|
32842
32930
|
/**
|
|
32843
32931
|
* Creates a new ConnectionLinked instance using the specified properties.
|
|
32844
32932
|
* @function create
|
|
@@ -32875,6 +32963,8 @@ $root.ConnectionLinked = (function() {
|
|
|
32875
32963
|
writer.uint32(/* id 5, wireType 0 =*/40).bool(message.isPrimaryConnection);
|
|
32876
32964
|
if (message.connectionType != null && message.hasOwnProperty("connectionType"))
|
|
32877
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);
|
|
32878
32968
|
return writer;
|
|
32879
32969
|
};
|
|
32880
32970
|
|
|
@@ -32927,6 +33017,9 @@ $root.ConnectionLinked = (function() {
|
|
|
32927
33017
|
case 6:
|
|
32928
33018
|
message.connectionType = reader.int32();
|
|
32929
33019
|
break;
|
|
33020
|
+
case 7:
|
|
33021
|
+
message.connectionName = reader.string();
|
|
33022
|
+
break;
|
|
32930
33023
|
default:
|
|
32931
33024
|
reader.skipType(tag & 7);
|
|
32932
33025
|
break;
|
|
@@ -32996,6 +33089,7 @@ $root.ConnectionLinked = (function() {
|
|
|
32996
33089
|
case 25:
|
|
32997
33090
|
case 26:
|
|
32998
33091
|
case 27:
|
|
33092
|
+
case 28:
|
|
32999
33093
|
break;
|
|
33000
33094
|
}
|
|
33001
33095
|
if (message.linkedAt != null && message.hasOwnProperty("linkedAt"))
|
|
@@ -33017,6 +33111,9 @@ $root.ConnectionLinked = (function() {
|
|
|
33017
33111
|
case 3:
|
|
33018
33112
|
break;
|
|
33019
33113
|
}
|
|
33114
|
+
if (message.connectionName != null && message.hasOwnProperty("connectionName"))
|
|
33115
|
+
if (!$util.isString(message.connectionName))
|
|
33116
|
+
return "connectionName: string expected";
|
|
33020
33117
|
return null;
|
|
33021
33118
|
};
|
|
33022
33119
|
|
|
@@ -33143,6 +33240,10 @@ $root.ConnectionLinked = (function() {
|
|
|
33143
33240
|
case 27:
|
|
33144
33241
|
message.connection = 27;
|
|
33145
33242
|
break;
|
|
33243
|
+
case "HOOTSUITE_OKTA_SSO":
|
|
33244
|
+
case 28:
|
|
33245
|
+
message.connection = 28;
|
|
33246
|
+
break;
|
|
33146
33247
|
}
|
|
33147
33248
|
if (object.linkedAt != null)
|
|
33148
33249
|
if ($util.Long)
|
|
@@ -33175,6 +33276,8 @@ $root.ConnectionLinked = (function() {
|
|
|
33175
33276
|
message.connectionType = 3;
|
|
33176
33277
|
break;
|
|
33177
33278
|
}
|
|
33279
|
+
if (object.connectionName != null)
|
|
33280
|
+
message.connectionName = String(object.connectionName);
|
|
33178
33281
|
return message;
|
|
33179
33282
|
};
|
|
33180
33283
|
|
|
@@ -33202,6 +33305,7 @@ $root.ConnectionLinked = (function() {
|
|
|
33202
33305
|
object.userConnectionId = "";
|
|
33203
33306
|
object.isPrimaryConnection = false;
|
|
33204
33307
|
object.connectionType = options.enums === String ? "CONNECTION_TYPE_UNKNOWN" : 0;
|
|
33308
|
+
object.connectionName = "";
|
|
33205
33309
|
}
|
|
33206
33310
|
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
33207
33311
|
object.hsId = message.hsId;
|
|
@@ -33218,6 +33322,8 @@ $root.ConnectionLinked = (function() {
|
|
|
33218
33322
|
object.isPrimaryConnection = message.isPrimaryConnection;
|
|
33219
33323
|
if (message.connectionType != null && message.hasOwnProperty("connectionType"))
|
|
33220
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;
|
|
33221
33327
|
return object;
|
|
33222
33328
|
};
|
|
33223
33329
|
|
package/package.json
CHANGED