@headspace/protos-events 1.379.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 +20 -0
- package/lib/index.js +85 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -148,6 +148,14 @@ export namespace auth0 {
|
|
|
148
148
|
BOOKINGHOLDINGS_OKTA_SSO = 23,
|
|
149
149
|
MSFT_TEST_AZURE_SSO = 24
|
|
150
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
|
|
158
|
+
}
|
|
151
159
|
}
|
|
152
160
|
}
|
|
153
161
|
|
|
@@ -13154,6 +13162,12 @@ export interface IConnectionLinked {
|
|
|
13154
13162
|
|
|
13155
13163
|
/** ConnectionLinked userConnectionId */
|
|
13156
13164
|
userConnectionId?: (string|null);
|
|
13165
|
+
|
|
13166
|
+
/** ConnectionLinked isPrimaryConnection */
|
|
13167
|
+
isPrimaryConnection?: (boolean|null);
|
|
13168
|
+
|
|
13169
|
+
/** ConnectionLinked connectionType */
|
|
13170
|
+
connectionType?: (auth0.connections.ConnectionType|null);
|
|
13157
13171
|
}
|
|
13158
13172
|
|
|
13159
13173
|
/** Represents a ConnectionLinked. */
|
|
@@ -13177,6 +13191,12 @@ export class ConnectionLinked implements IConnectionLinked {
|
|
|
13177
13191
|
/** ConnectionLinked userConnectionId. */
|
|
13178
13192
|
public userConnectionId: string;
|
|
13179
13193
|
|
|
13194
|
+
/** ConnectionLinked isPrimaryConnection. */
|
|
13195
|
+
public isPrimaryConnection: boolean;
|
|
13196
|
+
|
|
13197
|
+
/** ConnectionLinked connectionType. */
|
|
13198
|
+
public connectionType: auth0.connections.ConnectionType;
|
|
13199
|
+
|
|
13180
13200
|
/**
|
|
13181
13201
|
* Creates a new ConnectionLinked instance using the specified properties.
|
|
13182
13202
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -348,6 +348,24 @@ $root.auth0 = (function() {
|
|
|
348
348
|
return values;
|
|
349
349
|
})();
|
|
350
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;
|
|
366
|
+
return values;
|
|
367
|
+
})();
|
|
368
|
+
|
|
351
369
|
return connections;
|
|
352
370
|
})();
|
|
353
371
|
|
|
@@ -32662,6 +32680,8 @@ $root.ConnectionLinked = (function() {
|
|
|
32662
32680
|
* @property {auth0.connections.Connection|null} [connection] ConnectionLinked connection
|
|
32663
32681
|
* @property {number|Long|null} [linkedAt] ConnectionLinked linkedAt
|
|
32664
32682
|
* @property {string|null} [userConnectionId] ConnectionLinked userConnectionId
|
|
32683
|
+
* @property {boolean|null} [isPrimaryConnection] ConnectionLinked isPrimaryConnection
|
|
32684
|
+
* @property {auth0.connections.ConnectionType|null} [connectionType] ConnectionLinked connectionType
|
|
32665
32685
|
*/
|
|
32666
32686
|
|
|
32667
32687
|
/**
|
|
@@ -32711,6 +32731,22 @@ $root.ConnectionLinked = (function() {
|
|
|
32711
32731
|
*/
|
|
32712
32732
|
ConnectionLinked.prototype.userConnectionId = "";
|
|
32713
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
|
+
|
|
32714
32750
|
/**
|
|
32715
32751
|
* Creates a new ConnectionLinked instance using the specified properties.
|
|
32716
32752
|
* @function create
|
|
@@ -32743,6 +32779,10 @@ $root.ConnectionLinked = (function() {
|
|
|
32743
32779
|
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.linkedAt);
|
|
32744
32780
|
if (message.userConnectionId != null && message.hasOwnProperty("userConnectionId"))
|
|
32745
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);
|
|
32746
32786
|
return writer;
|
|
32747
32787
|
};
|
|
32748
32788
|
|
|
@@ -32789,6 +32829,12 @@ $root.ConnectionLinked = (function() {
|
|
|
32789
32829
|
case 4:
|
|
32790
32830
|
message.userConnectionId = reader.string();
|
|
32791
32831
|
break;
|
|
32832
|
+
case 5:
|
|
32833
|
+
message.isPrimaryConnection = reader.bool();
|
|
32834
|
+
break;
|
|
32835
|
+
case 6:
|
|
32836
|
+
message.connectionType = reader.int32();
|
|
32837
|
+
break;
|
|
32792
32838
|
default:
|
|
32793
32839
|
reader.skipType(tag & 7);
|
|
32794
32840
|
break;
|
|
@@ -32864,6 +32910,19 @@ $root.ConnectionLinked = (function() {
|
|
|
32864
32910
|
if (message.userConnectionId != null && message.hasOwnProperty("userConnectionId"))
|
|
32865
32911
|
if (!$util.isString(message.userConnectionId))
|
|
32866
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
|
+
}
|
|
32867
32926
|
return null;
|
|
32868
32927
|
};
|
|
32869
32928
|
|
|
@@ -32994,6 +33053,26 @@ $root.ConnectionLinked = (function() {
|
|
|
32994
33053
|
message.linkedAt = new $util.LongBits(object.linkedAt.low >>> 0, object.linkedAt.high >>> 0).toNumber(true);
|
|
32995
33054
|
if (object.userConnectionId != null)
|
|
32996
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
|
+
}
|
|
32997
33076
|
return message;
|
|
32998
33077
|
};
|
|
32999
33078
|
|
|
@@ -33019,6 +33098,8 @@ $root.ConnectionLinked = (function() {
|
|
|
33019
33098
|
} else
|
|
33020
33099
|
object.linkedAt = options.longs === String ? "0" : 0;
|
|
33021
33100
|
object.userConnectionId = "";
|
|
33101
|
+
object.isPrimaryConnection = false;
|
|
33102
|
+
object.connectionType = options.enums === String ? "CONNECTION_TYPE_UNKNOWN" : 0;
|
|
33022
33103
|
}
|
|
33023
33104
|
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
33024
33105
|
object.hsId = message.hsId;
|
|
@@ -33031,6 +33112,10 @@ $root.ConnectionLinked = (function() {
|
|
|
33031
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;
|
|
33032
33113
|
if (message.userConnectionId != null && message.hasOwnProperty("userConnectionId"))
|
|
33033
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;
|
|
33034
33119
|
return object;
|
|
33035
33120
|
};
|
|
33036
33121
|
|
package/package.json
CHANGED