@headspace/protos-events 1.379.0 → 1.381.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 +22 -1
- package/lib/index.js +102 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -146,7 +146,16 @@ export namespace auth0 {
|
|
|
146
146
|
HEADSPACE_TEST_AZURE_SSO = 21,
|
|
147
147
|
SMSASSIST_OKTA_SSO = 22,
|
|
148
148
|
BOOKINGHOLDINGS_OKTA_SSO = 23,
|
|
149
|
-
MSFT_TEST_AZURE_SSO = 24
|
|
149
|
+
MSFT_TEST_AZURE_SSO = 24,
|
|
150
|
+
CITADEL_OKTA_SSO = 25
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
/** ConnectionType enum. */
|
|
154
|
+
enum ConnectionType {
|
|
155
|
+
CONNECTION_TYPE_UNKNOWN = 0,
|
|
156
|
+
CONNECTION_TYPE_INTERNAL = 1,
|
|
157
|
+
CONNECTION_TYPE_SOCIAL = 2,
|
|
158
|
+
CONNECTION_TYPE_ENTERPRISE = 3
|
|
150
159
|
}
|
|
151
160
|
}
|
|
152
161
|
}
|
|
@@ -13154,6 +13163,12 @@ export interface IConnectionLinked {
|
|
|
13154
13163
|
|
|
13155
13164
|
/** ConnectionLinked userConnectionId */
|
|
13156
13165
|
userConnectionId?: (string|null);
|
|
13166
|
+
|
|
13167
|
+
/** ConnectionLinked isPrimaryConnection */
|
|
13168
|
+
isPrimaryConnection?: (boolean|null);
|
|
13169
|
+
|
|
13170
|
+
/** ConnectionLinked connectionType */
|
|
13171
|
+
connectionType?: (auth0.connections.ConnectionType|null);
|
|
13157
13172
|
}
|
|
13158
13173
|
|
|
13159
13174
|
/** Represents a ConnectionLinked. */
|
|
@@ -13177,6 +13192,12 @@ export class ConnectionLinked implements IConnectionLinked {
|
|
|
13177
13192
|
/** ConnectionLinked userConnectionId. */
|
|
13178
13193
|
public userConnectionId: string;
|
|
13179
13194
|
|
|
13195
|
+
/** ConnectionLinked isPrimaryConnection. */
|
|
13196
|
+
public isPrimaryConnection: boolean;
|
|
13197
|
+
|
|
13198
|
+
/** ConnectionLinked connectionType. */
|
|
13199
|
+
public connectionType: auth0.connections.ConnectionType;
|
|
13200
|
+
|
|
13180
13201
|
/**
|
|
13181
13202
|
* Creates a new ConnectionLinked instance using the specified properties.
|
|
13182
13203
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -317,6 +317,7 @@ $root.auth0 = (function() {
|
|
|
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
319
|
* @property {number} MSFT_TEST_AZURE_SSO=24 MSFT_TEST_AZURE_SSO value
|
|
320
|
+
* @property {number} CITADEL_OKTA_SSO=25 CITADEL_OKTA_SSO value
|
|
320
321
|
*/
|
|
321
322
|
connections.Connection = (function() {
|
|
322
323
|
var valuesById = {}, values = Object.create(valuesById);
|
|
@@ -345,6 +346,25 @@ $root.auth0 = (function() {
|
|
|
345
346
|
values[valuesById[22] = "SMSASSIST_OKTA_SSO"] = 22;
|
|
346
347
|
values[valuesById[23] = "BOOKINGHOLDINGS_OKTA_SSO"] = 23;
|
|
347
348
|
values[valuesById[24] = "MSFT_TEST_AZURE_SSO"] = 24;
|
|
349
|
+
values[valuesById[25] = "CITADEL_OKTA_SSO"] = 25;
|
|
350
|
+
return values;
|
|
351
|
+
})();
|
|
352
|
+
|
|
353
|
+
/**
|
|
354
|
+
* ConnectionType enum.
|
|
355
|
+
* @name auth0.connections.ConnectionType
|
|
356
|
+
* @enum {string}
|
|
357
|
+
* @property {number} CONNECTION_TYPE_UNKNOWN=0 CONNECTION_TYPE_UNKNOWN value
|
|
358
|
+
* @property {number} CONNECTION_TYPE_INTERNAL=1 CONNECTION_TYPE_INTERNAL value
|
|
359
|
+
* @property {number} CONNECTION_TYPE_SOCIAL=2 CONNECTION_TYPE_SOCIAL value
|
|
360
|
+
* @property {number} CONNECTION_TYPE_ENTERPRISE=3 CONNECTION_TYPE_ENTERPRISE value
|
|
361
|
+
*/
|
|
362
|
+
connections.ConnectionType = (function() {
|
|
363
|
+
var valuesById = {}, values = Object.create(valuesById);
|
|
364
|
+
values[valuesById[0] = "CONNECTION_TYPE_UNKNOWN"] = 0;
|
|
365
|
+
values[valuesById[1] = "CONNECTION_TYPE_INTERNAL"] = 1;
|
|
366
|
+
values[valuesById[2] = "CONNECTION_TYPE_SOCIAL"] = 2;
|
|
367
|
+
values[valuesById[3] = "CONNECTION_TYPE_ENTERPRISE"] = 3;
|
|
348
368
|
return values;
|
|
349
369
|
})();
|
|
350
370
|
|
|
@@ -32040,6 +32060,7 @@ $root.SuccessfulUserLogin = (function() {
|
|
|
32040
32060
|
case 22:
|
|
32041
32061
|
case 23:
|
|
32042
32062
|
case 24:
|
|
32063
|
+
case 25:
|
|
32043
32064
|
break;
|
|
32044
32065
|
}
|
|
32045
32066
|
return null;
|
|
@@ -32223,6 +32244,10 @@ $root.SuccessfulUserLogin = (function() {
|
|
|
32223
32244
|
case 24:
|
|
32224
32245
|
message.connection = 24;
|
|
32225
32246
|
break;
|
|
32247
|
+
case "CITADEL_OKTA_SSO":
|
|
32248
|
+
case 25:
|
|
32249
|
+
message.connection = 25;
|
|
32250
|
+
break;
|
|
32226
32251
|
}
|
|
32227
32252
|
return message;
|
|
32228
32253
|
};
|
|
@@ -32468,6 +32493,7 @@ $root.UnlinkedConnection = (function() {
|
|
|
32468
32493
|
case 22:
|
|
32469
32494
|
case 23:
|
|
32470
32495
|
case 24:
|
|
32496
|
+
case 25:
|
|
32471
32497
|
break;
|
|
32472
32498
|
}
|
|
32473
32499
|
if (message.unlinkedAt != null && message.hasOwnProperty("unlinkedAt"))
|
|
@@ -32591,6 +32617,10 @@ $root.UnlinkedConnection = (function() {
|
|
|
32591
32617
|
case 24:
|
|
32592
32618
|
message.connection = 24;
|
|
32593
32619
|
break;
|
|
32620
|
+
case "CITADEL_OKTA_SSO":
|
|
32621
|
+
case 25:
|
|
32622
|
+
message.connection = 25;
|
|
32623
|
+
break;
|
|
32594
32624
|
}
|
|
32595
32625
|
if (object.unlinkedAt != null)
|
|
32596
32626
|
if ($util.Long)
|
|
@@ -32662,6 +32692,8 @@ $root.ConnectionLinked = (function() {
|
|
|
32662
32692
|
* @property {auth0.connections.Connection|null} [connection] ConnectionLinked connection
|
|
32663
32693
|
* @property {number|Long|null} [linkedAt] ConnectionLinked linkedAt
|
|
32664
32694
|
* @property {string|null} [userConnectionId] ConnectionLinked userConnectionId
|
|
32695
|
+
* @property {boolean|null} [isPrimaryConnection] ConnectionLinked isPrimaryConnection
|
|
32696
|
+
* @property {auth0.connections.ConnectionType|null} [connectionType] ConnectionLinked connectionType
|
|
32665
32697
|
*/
|
|
32666
32698
|
|
|
32667
32699
|
/**
|
|
@@ -32711,6 +32743,22 @@ $root.ConnectionLinked = (function() {
|
|
|
32711
32743
|
*/
|
|
32712
32744
|
ConnectionLinked.prototype.userConnectionId = "";
|
|
32713
32745
|
|
|
32746
|
+
/**
|
|
32747
|
+
* ConnectionLinked isPrimaryConnection.
|
|
32748
|
+
* @member {boolean} isPrimaryConnection
|
|
32749
|
+
* @memberof ConnectionLinked
|
|
32750
|
+
* @instance
|
|
32751
|
+
*/
|
|
32752
|
+
ConnectionLinked.prototype.isPrimaryConnection = false;
|
|
32753
|
+
|
|
32754
|
+
/**
|
|
32755
|
+
* ConnectionLinked connectionType.
|
|
32756
|
+
* @member {auth0.connections.ConnectionType} connectionType
|
|
32757
|
+
* @memberof ConnectionLinked
|
|
32758
|
+
* @instance
|
|
32759
|
+
*/
|
|
32760
|
+
ConnectionLinked.prototype.connectionType = 0;
|
|
32761
|
+
|
|
32714
32762
|
/**
|
|
32715
32763
|
* Creates a new ConnectionLinked instance using the specified properties.
|
|
32716
32764
|
* @function create
|
|
@@ -32743,6 +32791,10 @@ $root.ConnectionLinked = (function() {
|
|
|
32743
32791
|
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.linkedAt);
|
|
32744
32792
|
if (message.userConnectionId != null && message.hasOwnProperty("userConnectionId"))
|
|
32745
32793
|
writer.uint32(/* id 4, wireType 2 =*/34).string(message.userConnectionId);
|
|
32794
|
+
if (message.isPrimaryConnection != null && message.hasOwnProperty("isPrimaryConnection"))
|
|
32795
|
+
writer.uint32(/* id 5, wireType 0 =*/40).bool(message.isPrimaryConnection);
|
|
32796
|
+
if (message.connectionType != null && message.hasOwnProperty("connectionType"))
|
|
32797
|
+
writer.uint32(/* id 6, wireType 0 =*/48).int32(message.connectionType);
|
|
32746
32798
|
return writer;
|
|
32747
32799
|
};
|
|
32748
32800
|
|
|
@@ -32789,6 +32841,12 @@ $root.ConnectionLinked = (function() {
|
|
|
32789
32841
|
case 4:
|
|
32790
32842
|
message.userConnectionId = reader.string();
|
|
32791
32843
|
break;
|
|
32844
|
+
case 5:
|
|
32845
|
+
message.isPrimaryConnection = reader.bool();
|
|
32846
|
+
break;
|
|
32847
|
+
case 6:
|
|
32848
|
+
message.connectionType = reader.int32();
|
|
32849
|
+
break;
|
|
32792
32850
|
default:
|
|
32793
32851
|
reader.skipType(tag & 7);
|
|
32794
32852
|
break;
|
|
@@ -32856,6 +32914,7 @@ $root.ConnectionLinked = (function() {
|
|
|
32856
32914
|
case 22:
|
|
32857
32915
|
case 23:
|
|
32858
32916
|
case 24:
|
|
32917
|
+
case 25:
|
|
32859
32918
|
break;
|
|
32860
32919
|
}
|
|
32861
32920
|
if (message.linkedAt != null && message.hasOwnProperty("linkedAt"))
|
|
@@ -32864,6 +32923,19 @@ $root.ConnectionLinked = (function() {
|
|
|
32864
32923
|
if (message.userConnectionId != null && message.hasOwnProperty("userConnectionId"))
|
|
32865
32924
|
if (!$util.isString(message.userConnectionId))
|
|
32866
32925
|
return "userConnectionId: string expected";
|
|
32926
|
+
if (message.isPrimaryConnection != null && message.hasOwnProperty("isPrimaryConnection"))
|
|
32927
|
+
if (typeof message.isPrimaryConnection !== "boolean")
|
|
32928
|
+
return "isPrimaryConnection: boolean expected";
|
|
32929
|
+
if (message.connectionType != null && message.hasOwnProperty("connectionType"))
|
|
32930
|
+
switch (message.connectionType) {
|
|
32931
|
+
default:
|
|
32932
|
+
return "connectionType: enum value expected";
|
|
32933
|
+
case 0:
|
|
32934
|
+
case 1:
|
|
32935
|
+
case 2:
|
|
32936
|
+
case 3:
|
|
32937
|
+
break;
|
|
32938
|
+
}
|
|
32867
32939
|
return null;
|
|
32868
32940
|
};
|
|
32869
32941
|
|
|
@@ -32982,6 +33054,10 @@ $root.ConnectionLinked = (function() {
|
|
|
32982
33054
|
case 24:
|
|
32983
33055
|
message.connection = 24;
|
|
32984
33056
|
break;
|
|
33057
|
+
case "CITADEL_OKTA_SSO":
|
|
33058
|
+
case 25:
|
|
33059
|
+
message.connection = 25;
|
|
33060
|
+
break;
|
|
32985
33061
|
}
|
|
32986
33062
|
if (object.linkedAt != null)
|
|
32987
33063
|
if ($util.Long)
|
|
@@ -32994,6 +33070,26 @@ $root.ConnectionLinked = (function() {
|
|
|
32994
33070
|
message.linkedAt = new $util.LongBits(object.linkedAt.low >>> 0, object.linkedAt.high >>> 0).toNumber(true);
|
|
32995
33071
|
if (object.userConnectionId != null)
|
|
32996
33072
|
message.userConnectionId = String(object.userConnectionId);
|
|
33073
|
+
if (object.isPrimaryConnection != null)
|
|
33074
|
+
message.isPrimaryConnection = Boolean(object.isPrimaryConnection);
|
|
33075
|
+
switch (object.connectionType) {
|
|
33076
|
+
case "CONNECTION_TYPE_UNKNOWN":
|
|
33077
|
+
case 0:
|
|
33078
|
+
message.connectionType = 0;
|
|
33079
|
+
break;
|
|
33080
|
+
case "CONNECTION_TYPE_INTERNAL":
|
|
33081
|
+
case 1:
|
|
33082
|
+
message.connectionType = 1;
|
|
33083
|
+
break;
|
|
33084
|
+
case "CONNECTION_TYPE_SOCIAL":
|
|
33085
|
+
case 2:
|
|
33086
|
+
message.connectionType = 2;
|
|
33087
|
+
break;
|
|
33088
|
+
case "CONNECTION_TYPE_ENTERPRISE":
|
|
33089
|
+
case 3:
|
|
33090
|
+
message.connectionType = 3;
|
|
33091
|
+
break;
|
|
33092
|
+
}
|
|
32997
33093
|
return message;
|
|
32998
33094
|
};
|
|
32999
33095
|
|
|
@@ -33019,6 +33115,8 @@ $root.ConnectionLinked = (function() {
|
|
|
33019
33115
|
} else
|
|
33020
33116
|
object.linkedAt = options.longs === String ? "0" : 0;
|
|
33021
33117
|
object.userConnectionId = "";
|
|
33118
|
+
object.isPrimaryConnection = false;
|
|
33119
|
+
object.connectionType = options.enums === String ? "CONNECTION_TYPE_UNKNOWN" : 0;
|
|
33022
33120
|
}
|
|
33023
33121
|
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
33024
33122
|
object.hsId = message.hsId;
|
|
@@ -33031,6 +33129,10 @@ $root.ConnectionLinked = (function() {
|
|
|
33031
33129
|
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;
|
|
33032
33130
|
if (message.userConnectionId != null && message.hasOwnProperty("userConnectionId"))
|
|
33033
33131
|
object.userConnectionId = message.userConnectionId;
|
|
33132
|
+
if (message.isPrimaryConnection != null && message.hasOwnProperty("isPrimaryConnection"))
|
|
33133
|
+
object.isPrimaryConnection = message.isPrimaryConnection;
|
|
33134
|
+
if (message.connectionType != null && message.hasOwnProperty("connectionType"))
|
|
33135
|
+
object.connectionType = options.enums === String ? $root.auth0.connections.ConnectionType[message.connectionType] : message.connectionType;
|
|
33034
33136
|
return object;
|
|
33035
33137
|
};
|
|
33036
33138
|
|
package/package.json
CHANGED