@headspace/protos-events 1.418.0 → 1.420.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 +0 -239
- package/lib/index.js +26 -942
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -12848,23 +12848,6 @@ export namespace userdomain {
|
|
|
12848
12848
|
HEALTH_USER = 4
|
|
12849
12849
|
}
|
|
12850
12850
|
|
|
12851
|
-
/** LoginStatus enum. */
|
|
12852
|
-
enum LoginStatus {
|
|
12853
|
-
LOGIN_UNKNOWN = 0,
|
|
12854
|
-
LOGIN_SUCCESS = 1,
|
|
12855
|
-
LOGIN_FAIL = 2
|
|
12856
|
-
}
|
|
12857
|
-
|
|
12858
|
-
/** ConnectionSource enum. */
|
|
12859
|
-
enum ConnectionSource {
|
|
12860
|
-
CONNSRC_UNKNOWN = 0,
|
|
12861
|
-
CONNSRC_EMAIL = 1,
|
|
12862
|
-
CONNSRC_FACEBOOK = 2,
|
|
12863
|
-
CONNSRC_SPOTIFY = 3,
|
|
12864
|
-
CONNSRC_APPLE = 4,
|
|
12865
|
-
CONNSRC_GOOGLE = 5
|
|
12866
|
-
}
|
|
12867
|
-
|
|
12868
12851
|
/** UserDeleteReason enum. */
|
|
12869
12852
|
enum UserDeleteReason {
|
|
12870
12853
|
UNKNOWN_REASON = 0,
|
|
@@ -13009,114 +12992,6 @@ export namespace scim {
|
|
|
13009
12992
|
}
|
|
13010
12993
|
}
|
|
13011
12994
|
|
|
13012
|
-
/** Properties of a SuccessfulUserLogin. */
|
|
13013
|
-
export interface ISuccessfulUserLogin {
|
|
13014
|
-
|
|
13015
|
-
/** SuccessfulUserLogin hsId */
|
|
13016
|
-
hsId?: (string|null);
|
|
13017
|
-
|
|
13018
|
-
/** SuccessfulUserLogin loginAt */
|
|
13019
|
-
loginAt?: (number|Long|null);
|
|
13020
|
-
|
|
13021
|
-
/** SuccessfulUserLogin client */
|
|
13022
|
-
client?: (auth0.client.Client|null);
|
|
13023
|
-
|
|
13024
|
-
/** SuccessfulUserLogin connection */
|
|
13025
|
-
connection?: (auth0.connections.Connection|null);
|
|
13026
|
-
}
|
|
13027
|
-
|
|
13028
|
-
/** Represents a SuccessfulUserLogin. */
|
|
13029
|
-
export class SuccessfulUserLogin implements ISuccessfulUserLogin {
|
|
13030
|
-
|
|
13031
|
-
/**
|
|
13032
|
-
* Constructs a new SuccessfulUserLogin.
|
|
13033
|
-
* @param [properties] Properties to set
|
|
13034
|
-
*/
|
|
13035
|
-
constructor(properties?: ISuccessfulUserLogin);
|
|
13036
|
-
|
|
13037
|
-
/** SuccessfulUserLogin hsId. */
|
|
13038
|
-
public hsId: string;
|
|
13039
|
-
|
|
13040
|
-
/** SuccessfulUserLogin loginAt. */
|
|
13041
|
-
public loginAt: (number|Long);
|
|
13042
|
-
|
|
13043
|
-
/** SuccessfulUserLogin client. */
|
|
13044
|
-
public client: auth0.client.Client;
|
|
13045
|
-
|
|
13046
|
-
/** SuccessfulUserLogin connection. */
|
|
13047
|
-
public connection: auth0.connections.Connection;
|
|
13048
|
-
|
|
13049
|
-
/**
|
|
13050
|
-
* Creates a new SuccessfulUserLogin instance using the specified properties.
|
|
13051
|
-
* @param [properties] Properties to set
|
|
13052
|
-
* @returns SuccessfulUserLogin instance
|
|
13053
|
-
*/
|
|
13054
|
-
public static create(properties?: ISuccessfulUserLogin): SuccessfulUserLogin;
|
|
13055
|
-
|
|
13056
|
-
/**
|
|
13057
|
-
* Encodes the specified SuccessfulUserLogin message. Does not implicitly {@link SuccessfulUserLogin.verify|verify} messages.
|
|
13058
|
-
* @param message SuccessfulUserLogin message or plain object to encode
|
|
13059
|
-
* @param [writer] Writer to encode to
|
|
13060
|
-
* @returns Writer
|
|
13061
|
-
*/
|
|
13062
|
-
public static encode(message: ISuccessfulUserLogin, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13063
|
-
|
|
13064
|
-
/**
|
|
13065
|
-
* Encodes the specified SuccessfulUserLogin message, length delimited. Does not implicitly {@link SuccessfulUserLogin.verify|verify} messages.
|
|
13066
|
-
* @param message SuccessfulUserLogin message or plain object to encode
|
|
13067
|
-
* @param [writer] Writer to encode to
|
|
13068
|
-
* @returns Writer
|
|
13069
|
-
*/
|
|
13070
|
-
public static encodeDelimited(message: ISuccessfulUserLogin, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13071
|
-
|
|
13072
|
-
/**
|
|
13073
|
-
* Decodes a SuccessfulUserLogin message from the specified reader or buffer.
|
|
13074
|
-
* @param reader Reader or buffer to decode from
|
|
13075
|
-
* @param [length] Message length if known beforehand
|
|
13076
|
-
* @returns SuccessfulUserLogin
|
|
13077
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13078
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13079
|
-
*/
|
|
13080
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SuccessfulUserLogin;
|
|
13081
|
-
|
|
13082
|
-
/**
|
|
13083
|
-
* Decodes a SuccessfulUserLogin message from the specified reader or buffer, length delimited.
|
|
13084
|
-
* @param reader Reader or buffer to decode from
|
|
13085
|
-
* @returns SuccessfulUserLogin
|
|
13086
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13087
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13088
|
-
*/
|
|
13089
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SuccessfulUserLogin;
|
|
13090
|
-
|
|
13091
|
-
/**
|
|
13092
|
-
* Verifies a SuccessfulUserLogin message.
|
|
13093
|
-
* @param message Plain object to verify
|
|
13094
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
13095
|
-
*/
|
|
13096
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
13097
|
-
|
|
13098
|
-
/**
|
|
13099
|
-
* Creates a SuccessfulUserLogin message from a plain object. Also converts values to their respective internal types.
|
|
13100
|
-
* @param object Plain object
|
|
13101
|
-
* @returns SuccessfulUserLogin
|
|
13102
|
-
*/
|
|
13103
|
-
public static fromObject(object: { [k: string]: any }): SuccessfulUserLogin;
|
|
13104
|
-
|
|
13105
|
-
/**
|
|
13106
|
-
* Creates a plain object from a SuccessfulUserLogin message. Also converts values to other types if specified.
|
|
13107
|
-
* @param message SuccessfulUserLogin
|
|
13108
|
-
* @param [options] Conversion options
|
|
13109
|
-
* @returns Plain object
|
|
13110
|
-
*/
|
|
13111
|
-
public static toObject(message: SuccessfulUserLogin, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
13112
|
-
|
|
13113
|
-
/**
|
|
13114
|
-
* Converts this SuccessfulUserLogin to JSON.
|
|
13115
|
-
* @returns JSON object
|
|
13116
|
-
*/
|
|
13117
|
-
public toJSON(): { [k: string]: any };
|
|
13118
|
-
}
|
|
13119
|
-
|
|
13120
12995
|
/** Properties of an UnlinkedConnection. */
|
|
13121
12996
|
export interface IUnlinkedConnection {
|
|
13122
12997
|
|
|
@@ -23072,120 +22947,6 @@ export class UserDomainIsAnonymousUserUpdated implements IUserDomainIsAnonymousU
|
|
|
23072
22947
|
public toJSON(): { [k: string]: any };
|
|
23073
22948
|
}
|
|
23074
22949
|
|
|
23075
|
-
/** Properties of a UserDomainLoggedIn. */
|
|
23076
|
-
export interface IUserDomainLoggedIn {
|
|
23077
|
-
|
|
23078
|
-
/** UserDomainLoggedIn hsId */
|
|
23079
|
-
hsId?: (string|null);
|
|
23080
|
-
|
|
23081
|
-
/** UserDomainLoggedIn loginTimestamp */
|
|
23082
|
-
loginTimestamp?: (number|Long|null);
|
|
23083
|
-
|
|
23084
|
-
/** UserDomainLoggedIn loginStatus */
|
|
23085
|
-
loginStatus?: (userdomain.users.LoginStatus|null);
|
|
23086
|
-
|
|
23087
|
-
/** UserDomainLoggedIn loginPlatform */
|
|
23088
|
-
loginPlatform?: (userdomain.users.Platform|null);
|
|
23089
|
-
|
|
23090
|
-
/** UserDomainLoggedIn loginConnectionSource */
|
|
23091
|
-
loginConnectionSource?: (userdomain.users.ConnectionSource|null);
|
|
23092
|
-
}
|
|
23093
|
-
|
|
23094
|
-
/** Represents a UserDomainLoggedIn. */
|
|
23095
|
-
export class UserDomainLoggedIn implements IUserDomainLoggedIn {
|
|
23096
|
-
|
|
23097
|
-
/**
|
|
23098
|
-
* Constructs a new UserDomainLoggedIn.
|
|
23099
|
-
* @param [properties] Properties to set
|
|
23100
|
-
*/
|
|
23101
|
-
constructor(properties?: IUserDomainLoggedIn);
|
|
23102
|
-
|
|
23103
|
-
/** UserDomainLoggedIn hsId. */
|
|
23104
|
-
public hsId: string;
|
|
23105
|
-
|
|
23106
|
-
/** UserDomainLoggedIn loginTimestamp. */
|
|
23107
|
-
public loginTimestamp: (number|Long);
|
|
23108
|
-
|
|
23109
|
-
/** UserDomainLoggedIn loginStatus. */
|
|
23110
|
-
public loginStatus: userdomain.users.LoginStatus;
|
|
23111
|
-
|
|
23112
|
-
/** UserDomainLoggedIn loginPlatform. */
|
|
23113
|
-
public loginPlatform: userdomain.users.Platform;
|
|
23114
|
-
|
|
23115
|
-
/** UserDomainLoggedIn loginConnectionSource. */
|
|
23116
|
-
public loginConnectionSource: userdomain.users.ConnectionSource;
|
|
23117
|
-
|
|
23118
|
-
/**
|
|
23119
|
-
* Creates a new UserDomainLoggedIn instance using the specified properties.
|
|
23120
|
-
* @param [properties] Properties to set
|
|
23121
|
-
* @returns UserDomainLoggedIn instance
|
|
23122
|
-
*/
|
|
23123
|
-
public static create(properties?: IUserDomainLoggedIn): UserDomainLoggedIn;
|
|
23124
|
-
|
|
23125
|
-
/**
|
|
23126
|
-
* Encodes the specified UserDomainLoggedIn message. Does not implicitly {@link UserDomainLoggedIn.verify|verify} messages.
|
|
23127
|
-
* @param message UserDomainLoggedIn message or plain object to encode
|
|
23128
|
-
* @param [writer] Writer to encode to
|
|
23129
|
-
* @returns Writer
|
|
23130
|
-
*/
|
|
23131
|
-
public static encode(message: IUserDomainLoggedIn, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23132
|
-
|
|
23133
|
-
/**
|
|
23134
|
-
* Encodes the specified UserDomainLoggedIn message, length delimited. Does not implicitly {@link UserDomainLoggedIn.verify|verify} messages.
|
|
23135
|
-
* @param message UserDomainLoggedIn message or plain object to encode
|
|
23136
|
-
* @param [writer] Writer to encode to
|
|
23137
|
-
* @returns Writer
|
|
23138
|
-
*/
|
|
23139
|
-
public static encodeDelimited(message: IUserDomainLoggedIn, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23140
|
-
|
|
23141
|
-
/**
|
|
23142
|
-
* Decodes a UserDomainLoggedIn message from the specified reader or buffer.
|
|
23143
|
-
* @param reader Reader or buffer to decode from
|
|
23144
|
-
* @param [length] Message length if known beforehand
|
|
23145
|
-
* @returns UserDomainLoggedIn
|
|
23146
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23147
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23148
|
-
*/
|
|
23149
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserDomainLoggedIn;
|
|
23150
|
-
|
|
23151
|
-
/**
|
|
23152
|
-
* Decodes a UserDomainLoggedIn message from the specified reader or buffer, length delimited.
|
|
23153
|
-
* @param reader Reader or buffer to decode from
|
|
23154
|
-
* @returns UserDomainLoggedIn
|
|
23155
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23156
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23157
|
-
*/
|
|
23158
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserDomainLoggedIn;
|
|
23159
|
-
|
|
23160
|
-
/**
|
|
23161
|
-
* Verifies a UserDomainLoggedIn message.
|
|
23162
|
-
* @param message Plain object to verify
|
|
23163
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
23164
|
-
*/
|
|
23165
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
23166
|
-
|
|
23167
|
-
/**
|
|
23168
|
-
* Creates a UserDomainLoggedIn message from a plain object. Also converts values to their respective internal types.
|
|
23169
|
-
* @param object Plain object
|
|
23170
|
-
* @returns UserDomainLoggedIn
|
|
23171
|
-
*/
|
|
23172
|
-
public static fromObject(object: { [k: string]: any }): UserDomainLoggedIn;
|
|
23173
|
-
|
|
23174
|
-
/**
|
|
23175
|
-
* Creates a plain object from a UserDomainLoggedIn message. Also converts values to other types if specified.
|
|
23176
|
-
* @param message UserDomainLoggedIn
|
|
23177
|
-
* @param [options] Conversion options
|
|
23178
|
-
* @returns Plain object
|
|
23179
|
-
*/
|
|
23180
|
-
public static toObject(message: UserDomainLoggedIn, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
23181
|
-
|
|
23182
|
-
/**
|
|
23183
|
-
* Converts this UserDomainLoggedIn to JSON.
|
|
23184
|
-
* @returns JSON object
|
|
23185
|
-
*/
|
|
23186
|
-
public toJSON(): { [k: string]: any };
|
|
23187
|
-
}
|
|
23188
|
-
|
|
23189
22950
|
/** Properties of a UserPasswordResetCompleted. */
|
|
23190
22951
|
export interface IUserPasswordResetCompleted {
|
|
23191
22952
|
|
package/lib/index.js
CHANGED
|
@@ -31693,44 +31693,6 @@ $root.userdomain = (function() {
|
|
|
31693
31693
|
return values;
|
|
31694
31694
|
})();
|
|
31695
31695
|
|
|
31696
|
-
/**
|
|
31697
|
-
* LoginStatus enum.
|
|
31698
|
-
* @name userdomain.users.LoginStatus
|
|
31699
|
-
* @enum {string}
|
|
31700
|
-
* @property {number} LOGIN_UNKNOWN=0 LOGIN_UNKNOWN value
|
|
31701
|
-
* @property {number} LOGIN_SUCCESS=1 LOGIN_SUCCESS value
|
|
31702
|
-
* @property {number} LOGIN_FAIL=2 LOGIN_FAIL value
|
|
31703
|
-
*/
|
|
31704
|
-
users.LoginStatus = (function() {
|
|
31705
|
-
var valuesById = {}, values = Object.create(valuesById);
|
|
31706
|
-
values[valuesById[0] = "LOGIN_UNKNOWN"] = 0;
|
|
31707
|
-
values[valuesById[1] = "LOGIN_SUCCESS"] = 1;
|
|
31708
|
-
values[valuesById[2] = "LOGIN_FAIL"] = 2;
|
|
31709
|
-
return values;
|
|
31710
|
-
})();
|
|
31711
|
-
|
|
31712
|
-
/**
|
|
31713
|
-
* ConnectionSource enum.
|
|
31714
|
-
* @name userdomain.users.ConnectionSource
|
|
31715
|
-
* @enum {string}
|
|
31716
|
-
* @property {number} CONNSRC_UNKNOWN=0 CONNSRC_UNKNOWN value
|
|
31717
|
-
* @property {number} CONNSRC_EMAIL=1 CONNSRC_EMAIL value
|
|
31718
|
-
* @property {number} CONNSRC_FACEBOOK=2 CONNSRC_FACEBOOK value
|
|
31719
|
-
* @property {number} CONNSRC_SPOTIFY=3 CONNSRC_SPOTIFY value
|
|
31720
|
-
* @property {number} CONNSRC_APPLE=4 CONNSRC_APPLE value
|
|
31721
|
-
* @property {number} CONNSRC_GOOGLE=5 CONNSRC_GOOGLE value
|
|
31722
|
-
*/
|
|
31723
|
-
users.ConnectionSource = (function() {
|
|
31724
|
-
var valuesById = {}, values = Object.create(valuesById);
|
|
31725
|
-
values[valuesById[0] = "CONNSRC_UNKNOWN"] = 0;
|
|
31726
|
-
values[valuesById[1] = "CONNSRC_EMAIL"] = 1;
|
|
31727
|
-
values[valuesById[2] = "CONNSRC_FACEBOOK"] = 2;
|
|
31728
|
-
values[valuesById[3] = "CONNSRC_SPOTIFY"] = 3;
|
|
31729
|
-
values[valuesById[4] = "CONNSRC_APPLE"] = 4;
|
|
31730
|
-
values[valuesById[5] = "CONNSRC_GOOGLE"] = 5;
|
|
31731
|
-
return values;
|
|
31732
|
-
})();
|
|
31733
|
-
|
|
31734
31696
|
/**
|
|
31735
31697
|
* UserDeleteReason enum.
|
|
31736
31698
|
* @name userdomain.users.UserDeleteReason
|
|
@@ -32075,533 +32037,34 @@ $root.scim = (function() {
|
|
|
32075
32037
|
object.firstName = message.firstName;
|
|
32076
32038
|
if (message.lastName != null && message.hasOwnProperty("lastName"))
|
|
32077
32039
|
object.lastName = message.lastName;
|
|
32078
|
-
if (message.workEmail != null && message.hasOwnProperty("workEmail"))
|
|
32079
|
-
object.workEmail = message.workEmail;
|
|
32080
|
-
if (message.isActive != null && message.hasOwnProperty("isActive"))
|
|
32081
|
-
object.isActive = message.isActive;
|
|
32082
|
-
if (message.oldWorkEmail != null && message.hasOwnProperty("oldWorkEmail"))
|
|
32083
|
-
object.oldWorkEmail = message.oldWorkEmail;
|
|
32084
|
-
if (message.department != null && message.hasOwnProperty("department"))
|
|
32085
|
-
object.department = message.department;
|
|
32086
|
-
if (message.location != null && message.hasOwnProperty("location"))
|
|
32087
|
-
object.location = message.location;
|
|
32088
|
-
return object;
|
|
32089
|
-
};
|
|
32090
|
-
|
|
32091
|
-
/**
|
|
32092
|
-
* Converts this SCIMUser to JSON.
|
|
32093
|
-
* @function toJSON
|
|
32094
|
-
* @memberof scim.SCIMUser
|
|
32095
|
-
* @instance
|
|
32096
|
-
* @returns {Object.<string,*>} JSON object
|
|
32097
|
-
*/
|
|
32098
|
-
SCIMUser.prototype.toJSON = function toJSON() {
|
|
32099
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
32100
|
-
};
|
|
32101
|
-
|
|
32102
|
-
return SCIMUser;
|
|
32103
|
-
})();
|
|
32104
|
-
|
|
32105
|
-
return scim;
|
|
32106
|
-
})();
|
|
32107
|
-
|
|
32108
|
-
$root.SuccessfulUserLogin = (function() {
|
|
32109
|
-
|
|
32110
|
-
/**
|
|
32111
|
-
* Properties of a SuccessfulUserLogin.
|
|
32112
|
-
* @exports ISuccessfulUserLogin
|
|
32113
|
-
* @interface ISuccessfulUserLogin
|
|
32114
|
-
* @property {string|null} [hsId] SuccessfulUserLogin hsId
|
|
32115
|
-
* @property {number|Long|null} [loginAt] SuccessfulUserLogin loginAt
|
|
32116
|
-
* @property {auth0.client.Client|null} [client] SuccessfulUserLogin client
|
|
32117
|
-
* @property {auth0.connections.Connection|null} [connection] SuccessfulUserLogin connection
|
|
32118
|
-
*/
|
|
32119
|
-
|
|
32120
|
-
/**
|
|
32121
|
-
* Constructs a new SuccessfulUserLogin.
|
|
32122
|
-
* @exports SuccessfulUserLogin
|
|
32123
|
-
* @classdesc Represents a SuccessfulUserLogin.
|
|
32124
|
-
* @implements ISuccessfulUserLogin
|
|
32125
|
-
* @constructor
|
|
32126
|
-
* @param {ISuccessfulUserLogin=} [properties] Properties to set
|
|
32127
|
-
*/
|
|
32128
|
-
function SuccessfulUserLogin(properties) {
|
|
32129
|
-
if (properties)
|
|
32130
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
32131
|
-
if (properties[keys[i]] != null)
|
|
32132
|
-
this[keys[i]] = properties[keys[i]];
|
|
32133
|
-
}
|
|
32134
|
-
|
|
32135
|
-
/**
|
|
32136
|
-
* SuccessfulUserLogin hsId.
|
|
32137
|
-
* @member {string} hsId
|
|
32138
|
-
* @memberof SuccessfulUserLogin
|
|
32139
|
-
* @instance
|
|
32140
|
-
*/
|
|
32141
|
-
SuccessfulUserLogin.prototype.hsId = "";
|
|
32142
|
-
|
|
32143
|
-
/**
|
|
32144
|
-
* SuccessfulUserLogin loginAt.
|
|
32145
|
-
* @member {number|Long} loginAt
|
|
32146
|
-
* @memberof SuccessfulUserLogin
|
|
32147
|
-
* @instance
|
|
32148
|
-
*/
|
|
32149
|
-
SuccessfulUserLogin.prototype.loginAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
32150
|
-
|
|
32151
|
-
/**
|
|
32152
|
-
* SuccessfulUserLogin client.
|
|
32153
|
-
* @member {auth0.client.Client} client
|
|
32154
|
-
* @memberof SuccessfulUserLogin
|
|
32155
|
-
* @instance
|
|
32156
|
-
*/
|
|
32157
|
-
SuccessfulUserLogin.prototype.client = 0;
|
|
32158
|
-
|
|
32159
|
-
/**
|
|
32160
|
-
* SuccessfulUserLogin connection.
|
|
32161
|
-
* @member {auth0.connections.Connection} connection
|
|
32162
|
-
* @memberof SuccessfulUserLogin
|
|
32163
|
-
* @instance
|
|
32164
|
-
*/
|
|
32165
|
-
SuccessfulUserLogin.prototype.connection = 0;
|
|
32166
|
-
|
|
32167
|
-
/**
|
|
32168
|
-
* Creates a new SuccessfulUserLogin instance using the specified properties.
|
|
32169
|
-
* @function create
|
|
32170
|
-
* @memberof SuccessfulUserLogin
|
|
32171
|
-
* @static
|
|
32172
|
-
* @param {ISuccessfulUserLogin=} [properties] Properties to set
|
|
32173
|
-
* @returns {SuccessfulUserLogin} SuccessfulUserLogin instance
|
|
32174
|
-
*/
|
|
32175
|
-
SuccessfulUserLogin.create = function create(properties) {
|
|
32176
|
-
return new SuccessfulUserLogin(properties);
|
|
32177
|
-
};
|
|
32178
|
-
|
|
32179
|
-
/**
|
|
32180
|
-
* Encodes the specified SuccessfulUserLogin message. Does not implicitly {@link SuccessfulUserLogin.verify|verify} messages.
|
|
32181
|
-
* @function encode
|
|
32182
|
-
* @memberof SuccessfulUserLogin
|
|
32183
|
-
* @static
|
|
32184
|
-
* @param {ISuccessfulUserLogin} message SuccessfulUserLogin message or plain object to encode
|
|
32185
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
32186
|
-
* @returns {$protobuf.Writer} Writer
|
|
32187
|
-
*/
|
|
32188
|
-
SuccessfulUserLogin.encode = function encode(message, writer) {
|
|
32189
|
-
if (!writer)
|
|
32190
|
-
writer = $Writer.create();
|
|
32191
|
-
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
32192
|
-
writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsId);
|
|
32193
|
-
if (message.loginAt != null && message.hasOwnProperty("loginAt"))
|
|
32194
|
-
writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.loginAt);
|
|
32195
|
-
if (message.client != null && message.hasOwnProperty("client"))
|
|
32196
|
-
writer.uint32(/* id 3, wireType 0 =*/24).int32(message.client);
|
|
32197
|
-
if (message.connection != null && message.hasOwnProperty("connection"))
|
|
32198
|
-
writer.uint32(/* id 4, wireType 0 =*/32).int32(message.connection);
|
|
32199
|
-
return writer;
|
|
32200
|
-
};
|
|
32201
|
-
|
|
32202
|
-
/**
|
|
32203
|
-
* Encodes the specified SuccessfulUserLogin message, length delimited. Does not implicitly {@link SuccessfulUserLogin.verify|verify} messages.
|
|
32204
|
-
* @function encodeDelimited
|
|
32205
|
-
* @memberof SuccessfulUserLogin
|
|
32206
|
-
* @static
|
|
32207
|
-
* @param {ISuccessfulUserLogin} message SuccessfulUserLogin message or plain object to encode
|
|
32208
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
32209
|
-
* @returns {$protobuf.Writer} Writer
|
|
32210
|
-
*/
|
|
32211
|
-
SuccessfulUserLogin.encodeDelimited = function encodeDelimited(message, writer) {
|
|
32212
|
-
return this.encode(message, writer).ldelim();
|
|
32213
|
-
};
|
|
32214
|
-
|
|
32215
|
-
/**
|
|
32216
|
-
* Decodes a SuccessfulUserLogin message from the specified reader or buffer.
|
|
32217
|
-
* @function decode
|
|
32218
|
-
* @memberof SuccessfulUserLogin
|
|
32219
|
-
* @static
|
|
32220
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
32221
|
-
* @param {number} [length] Message length if known beforehand
|
|
32222
|
-
* @returns {SuccessfulUserLogin} SuccessfulUserLogin
|
|
32223
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
32224
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
32225
|
-
*/
|
|
32226
|
-
SuccessfulUserLogin.decode = function decode(reader, length) {
|
|
32227
|
-
if (!(reader instanceof $Reader))
|
|
32228
|
-
reader = $Reader.create(reader);
|
|
32229
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SuccessfulUserLogin();
|
|
32230
|
-
while (reader.pos < end) {
|
|
32231
|
-
var tag = reader.uint32();
|
|
32232
|
-
switch (tag >>> 3) {
|
|
32233
|
-
case 1:
|
|
32234
|
-
message.hsId = reader.string();
|
|
32235
|
-
break;
|
|
32236
|
-
case 2:
|
|
32237
|
-
message.loginAt = reader.uint64();
|
|
32238
|
-
break;
|
|
32239
|
-
case 3:
|
|
32240
|
-
message.client = reader.int32();
|
|
32241
|
-
break;
|
|
32242
|
-
case 4:
|
|
32243
|
-
message.connection = reader.int32();
|
|
32244
|
-
break;
|
|
32245
|
-
default:
|
|
32246
|
-
reader.skipType(tag & 7);
|
|
32247
|
-
break;
|
|
32248
|
-
}
|
|
32249
|
-
}
|
|
32250
|
-
return message;
|
|
32251
|
-
};
|
|
32252
|
-
|
|
32253
|
-
/**
|
|
32254
|
-
* Decodes a SuccessfulUserLogin message from the specified reader or buffer, length delimited.
|
|
32255
|
-
* @function decodeDelimited
|
|
32256
|
-
* @memberof SuccessfulUserLogin
|
|
32257
|
-
* @static
|
|
32258
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
32259
|
-
* @returns {SuccessfulUserLogin} SuccessfulUserLogin
|
|
32260
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
32261
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
32262
|
-
*/
|
|
32263
|
-
SuccessfulUserLogin.decodeDelimited = function decodeDelimited(reader) {
|
|
32264
|
-
if (!(reader instanceof $Reader))
|
|
32265
|
-
reader = new $Reader(reader);
|
|
32266
|
-
return this.decode(reader, reader.uint32());
|
|
32267
|
-
};
|
|
32268
|
-
|
|
32269
|
-
/**
|
|
32270
|
-
* Verifies a SuccessfulUserLogin message.
|
|
32271
|
-
* @function verify
|
|
32272
|
-
* @memberof SuccessfulUserLogin
|
|
32273
|
-
* @static
|
|
32274
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
32275
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
32276
|
-
*/
|
|
32277
|
-
SuccessfulUserLogin.verify = function verify(message) {
|
|
32278
|
-
if (typeof message !== "object" || message === null)
|
|
32279
|
-
return "object expected";
|
|
32280
|
-
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
32281
|
-
if (!$util.isString(message.hsId))
|
|
32282
|
-
return "hsId: string expected";
|
|
32283
|
-
if (message.loginAt != null && message.hasOwnProperty("loginAt"))
|
|
32284
|
-
if (!$util.isInteger(message.loginAt) && !(message.loginAt && $util.isInteger(message.loginAt.low) && $util.isInteger(message.loginAt.high)))
|
|
32285
|
-
return "loginAt: integer|Long expected";
|
|
32286
|
-
if (message.client != null && message.hasOwnProperty("client"))
|
|
32287
|
-
switch (message.client) {
|
|
32288
|
-
default:
|
|
32289
|
-
return "client: enum value expected";
|
|
32290
|
-
case 0:
|
|
32291
|
-
case 1:
|
|
32292
|
-
case 2:
|
|
32293
|
-
case 3:
|
|
32294
|
-
case 4:
|
|
32295
|
-
case 5:
|
|
32296
|
-
case 6:
|
|
32297
|
-
case 7:
|
|
32298
|
-
case 8:
|
|
32299
|
-
case 9:
|
|
32300
|
-
case 10:
|
|
32301
|
-
case 11:
|
|
32302
|
-
case 12:
|
|
32303
|
-
break;
|
|
32304
|
-
}
|
|
32305
|
-
if (message.connection != null && message.hasOwnProperty("connection"))
|
|
32306
|
-
switch (message.connection) {
|
|
32307
|
-
default:
|
|
32308
|
-
return "connection: enum value expected";
|
|
32309
|
-
case 0:
|
|
32310
|
-
case 1:
|
|
32311
|
-
case 2:
|
|
32312
|
-
case 3:
|
|
32313
|
-
case 4:
|
|
32314
|
-
case 5:
|
|
32315
|
-
case 6:
|
|
32316
|
-
case 7:
|
|
32317
|
-
case 9:
|
|
32318
|
-
case 10:
|
|
32319
|
-
case 11:
|
|
32320
|
-
case 12:
|
|
32321
|
-
case 13:
|
|
32322
|
-
case 14:
|
|
32323
|
-
case 15:
|
|
32324
|
-
case 16:
|
|
32325
|
-
case 17:
|
|
32326
|
-
case 18:
|
|
32327
|
-
case 19:
|
|
32328
|
-
case 20:
|
|
32329
|
-
case 21:
|
|
32330
|
-
case 22:
|
|
32331
|
-
case 23:
|
|
32332
|
-
case 24:
|
|
32333
|
-
case 25:
|
|
32334
|
-
case 26:
|
|
32335
|
-
case 27:
|
|
32336
|
-
case 28:
|
|
32337
|
-
case 29:
|
|
32338
|
-
case 30:
|
|
32339
|
-
case 31:
|
|
32340
|
-
case 32:
|
|
32341
|
-
break;
|
|
32342
|
-
}
|
|
32343
|
-
return null;
|
|
32344
|
-
};
|
|
32345
|
-
|
|
32346
|
-
/**
|
|
32347
|
-
* Creates a SuccessfulUserLogin message from a plain object. Also converts values to their respective internal types.
|
|
32348
|
-
* @function fromObject
|
|
32349
|
-
* @memberof SuccessfulUserLogin
|
|
32350
|
-
* @static
|
|
32351
|
-
* @param {Object.<string,*>} object Plain object
|
|
32352
|
-
* @returns {SuccessfulUserLogin} SuccessfulUserLogin
|
|
32353
|
-
*/
|
|
32354
|
-
SuccessfulUserLogin.fromObject = function fromObject(object) {
|
|
32355
|
-
if (object instanceof $root.SuccessfulUserLogin)
|
|
32356
|
-
return object;
|
|
32357
|
-
var message = new $root.SuccessfulUserLogin();
|
|
32358
|
-
if (object.hsId != null)
|
|
32359
|
-
message.hsId = String(object.hsId);
|
|
32360
|
-
if (object.loginAt != null)
|
|
32361
|
-
if ($util.Long)
|
|
32362
|
-
(message.loginAt = $util.Long.fromValue(object.loginAt)).unsigned = true;
|
|
32363
|
-
else if (typeof object.loginAt === "string")
|
|
32364
|
-
message.loginAt = parseInt(object.loginAt, 10);
|
|
32365
|
-
else if (typeof object.loginAt === "number")
|
|
32366
|
-
message.loginAt = object.loginAt;
|
|
32367
|
-
else if (typeof object.loginAt === "object")
|
|
32368
|
-
message.loginAt = new $util.LongBits(object.loginAt.low >>> 0, object.loginAt.high >>> 0).toNumber(true);
|
|
32369
|
-
switch (object.client) {
|
|
32370
|
-
case "UNKNOWN_CLIENT":
|
|
32371
|
-
case 0:
|
|
32372
|
-
message.client = 0;
|
|
32373
|
-
break;
|
|
32374
|
-
case "ALEXA":
|
|
32375
|
-
case 1:
|
|
32376
|
-
message.client = 1;
|
|
32377
|
-
break;
|
|
32378
|
-
case "ANDROID":
|
|
32379
|
-
case 2:
|
|
32380
|
-
message.client = 2;
|
|
32381
|
-
break;
|
|
32382
|
-
case "GOOGLE_ASSISTANT":
|
|
32383
|
-
case 3:
|
|
32384
|
-
message.client = 3;
|
|
32385
|
-
break;
|
|
32386
|
-
case "HS_HEALTH_IOS":
|
|
32387
|
-
case 4:
|
|
32388
|
-
message.client = 4;
|
|
32389
|
-
break;
|
|
32390
|
-
case "HS_HEALTH_WEB":
|
|
32391
|
-
case 5:
|
|
32392
|
-
message.client = 5;
|
|
32393
|
-
break;
|
|
32394
|
-
case "IOS":
|
|
32395
|
-
case 6:
|
|
32396
|
-
message.client = 6;
|
|
32397
|
-
break;
|
|
32398
|
-
case "IOS_WATCH":
|
|
32399
|
-
case 7:
|
|
32400
|
-
message.client = 7;
|
|
32401
|
-
break;
|
|
32402
|
-
case "WEB":
|
|
32403
|
-
case 8:
|
|
32404
|
-
message.client = 8;
|
|
32405
|
-
break;
|
|
32406
|
-
case "HS_TELEHEALTH_WEB":
|
|
32407
|
-
case 9:
|
|
32408
|
-
message.client = 9;
|
|
32409
|
-
break;
|
|
32410
|
-
case "API_EXPLORER_APPLICATION":
|
|
32411
|
-
case 10:
|
|
32412
|
-
message.client = 10;
|
|
32413
|
-
break;
|
|
32414
|
-
case "AUTH0_DEPLOY_CLI_EXTENSION":
|
|
32415
|
-
case 11:
|
|
32416
|
-
message.client = 11;
|
|
32417
|
-
break;
|
|
32418
|
-
case "HS_LOAD_TEST":
|
|
32419
|
-
case 12:
|
|
32420
|
-
message.client = 12;
|
|
32421
|
-
break;
|
|
32422
|
-
}
|
|
32423
|
-
switch (object.connection) {
|
|
32424
|
-
case "UNKNOWN_CONNECTION":
|
|
32425
|
-
case 0:
|
|
32426
|
-
message.connection = 0;
|
|
32427
|
-
break;
|
|
32428
|
-
case "APPLE":
|
|
32429
|
-
case 1:
|
|
32430
|
-
message.connection = 1;
|
|
32431
|
-
break;
|
|
32432
|
-
case "FACEBOOK":
|
|
32433
|
-
case 2:
|
|
32434
|
-
message.connection = 2;
|
|
32435
|
-
break;
|
|
32436
|
-
case "ONELOGIN":
|
|
32437
|
-
case 3:
|
|
32438
|
-
message.connection = 3;
|
|
32439
|
-
break;
|
|
32440
|
-
case "SPOTIFY":
|
|
32441
|
-
case 4:
|
|
32442
|
-
message.connection = 4;
|
|
32443
|
-
break;
|
|
32444
|
-
case "USER_PASSWORD_HEADSPACE":
|
|
32445
|
-
case 5:
|
|
32446
|
-
message.connection = 5;
|
|
32447
|
-
break;
|
|
32448
|
-
case "VIRGINPULSE":
|
|
32449
|
-
case 6:
|
|
32450
|
-
message.connection = 6;
|
|
32451
|
-
break;
|
|
32452
|
-
case "GOOGLE":
|
|
32453
|
-
case 7:
|
|
32454
|
-
message.connection = 7;
|
|
32455
|
-
break;
|
|
32456
|
-
case "HEADSPACE_OKTA_SSO":
|
|
32457
|
-
case 9:
|
|
32458
|
-
message.connection = 9;
|
|
32459
|
-
break;
|
|
32460
|
-
case "EXTERNAL_OKTA_QA":
|
|
32461
|
-
case 10:
|
|
32462
|
-
message.connection = 10;
|
|
32463
|
-
break;
|
|
32464
|
-
case "THOUGHTWORKS_OKTA_SSO":
|
|
32465
|
-
case 11:
|
|
32466
|
-
message.connection = 11;
|
|
32467
|
-
break;
|
|
32468
|
-
case "TEST_ORG_MIGRATION_OKTA_SSO":
|
|
32469
|
-
case 12:
|
|
32470
|
-
message.connection = 12;
|
|
32471
|
-
break;
|
|
32472
|
-
case "MX_TECHNOLOGIES_INC_OKTA_SSO":
|
|
32473
|
-
case 13:
|
|
32474
|
-
message.connection = 13;
|
|
32475
|
-
break;
|
|
32476
|
-
case "FLUTTER_INT_OKTA_SSO":
|
|
32477
|
-
case 14:
|
|
32478
|
-
message.connection = 14;
|
|
32479
|
-
break;
|
|
32480
|
-
case "LUMINOUS_OKTA_SSO":
|
|
32481
|
-
case 15:
|
|
32482
|
-
message.connection = 15;
|
|
32483
|
-
break;
|
|
32484
|
-
case "OKTA_OKTA_SSO":
|
|
32485
|
-
case 16:
|
|
32486
|
-
message.connection = 16;
|
|
32487
|
-
break;
|
|
32488
|
-
case "JUSTWORKS_OKTA_SSO":
|
|
32489
|
-
case 17:
|
|
32490
|
-
message.connection = 17;
|
|
32491
|
-
break;
|
|
32492
|
-
case "GENPACT_OKTA_SSO":
|
|
32493
|
-
case 18:
|
|
32494
|
-
message.connection = 18;
|
|
32495
|
-
break;
|
|
32496
|
-
case "THEHARRISCENTER_OKTA_SSO":
|
|
32497
|
-
case 19:
|
|
32498
|
-
message.connection = 19;
|
|
32499
|
-
break;
|
|
32500
|
-
case "BILLGO_OKTA_SSO":
|
|
32501
|
-
case 20:
|
|
32502
|
-
message.connection = 20;
|
|
32503
|
-
break;
|
|
32504
|
-
case "HEADSPACE_TEST_AZURE_SSO":
|
|
32505
|
-
case 21:
|
|
32506
|
-
message.connection = 21;
|
|
32507
|
-
break;
|
|
32508
|
-
case "SMSASSIST_OKTA_SSO":
|
|
32509
|
-
case 22:
|
|
32510
|
-
message.connection = 22;
|
|
32511
|
-
break;
|
|
32512
|
-
case "BOOKINGHOLDINGS_OKTA_SSO":
|
|
32513
|
-
case 23:
|
|
32514
|
-
message.connection = 23;
|
|
32515
|
-
break;
|
|
32516
|
-
case "MSFT_TEST_AZURE_SSO":
|
|
32517
|
-
case 24:
|
|
32518
|
-
message.connection = 24;
|
|
32519
|
-
break;
|
|
32520
|
-
case "CITADEL_OKTA_SSO":
|
|
32521
|
-
case 25:
|
|
32522
|
-
message.connection = 25;
|
|
32523
|
-
break;
|
|
32524
|
-
case "HEADSPACE_E2E_OKTA_SSO":
|
|
32525
|
-
case 26:
|
|
32526
|
-
message.connection = 26;
|
|
32527
|
-
break;
|
|
32528
|
-
case "MICROSOFT_AZURE_SSO":
|
|
32529
|
-
case 27:
|
|
32530
|
-
message.connection = 27;
|
|
32531
|
-
break;
|
|
32532
|
-
case "HOOTSUITE_OKTA_SSO":
|
|
32533
|
-
case 28:
|
|
32534
|
-
message.connection = 28;
|
|
32535
|
-
break;
|
|
32536
|
-
case "MOONPAY_OKTA_SSO":
|
|
32537
|
-
case 29:
|
|
32538
|
-
message.connection = 29;
|
|
32539
|
-
break;
|
|
32540
|
-
case "ROOT_INSURANCE_OKTA_SSO":
|
|
32541
|
-
case 30:
|
|
32542
|
-
message.connection = 30;
|
|
32543
|
-
break;
|
|
32544
|
-
case "HEADSPACE_E2E_INACTIVE_CONTRACT_OKTA_SSO":
|
|
32545
|
-
case 31:
|
|
32546
|
-
message.connection = 31;
|
|
32547
|
-
break;
|
|
32548
|
-
case "HEADSPACE_E2E_NO_SEATS_OKTA_SSO":
|
|
32549
|
-
case 32:
|
|
32550
|
-
message.connection = 32;
|
|
32551
|
-
break;
|
|
32552
|
-
}
|
|
32553
|
-
return message;
|
|
32554
|
-
};
|
|
32555
|
-
|
|
32556
|
-
/**
|
|
32557
|
-
* Creates a plain object from a SuccessfulUserLogin message. Also converts values to other types if specified.
|
|
32558
|
-
* @function toObject
|
|
32559
|
-
* @memberof SuccessfulUserLogin
|
|
32560
|
-
* @static
|
|
32561
|
-
* @param {SuccessfulUserLogin} message SuccessfulUserLogin
|
|
32562
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
32563
|
-
* @returns {Object.<string,*>} Plain object
|
|
32564
|
-
*/
|
|
32565
|
-
SuccessfulUserLogin.toObject = function toObject(message, options) {
|
|
32566
|
-
if (!options)
|
|
32567
|
-
options = {};
|
|
32568
|
-
var object = {};
|
|
32569
|
-
if (options.defaults) {
|
|
32570
|
-
object.hsId = "";
|
|
32571
|
-
if ($util.Long) {
|
|
32572
|
-
var long = new $util.Long(0, 0, true);
|
|
32573
|
-
object.loginAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
32574
|
-
} else
|
|
32575
|
-
object.loginAt = options.longs === String ? "0" : 0;
|
|
32576
|
-
object.client = options.enums === String ? "UNKNOWN_CLIENT" : 0;
|
|
32577
|
-
object.connection = options.enums === String ? "UNKNOWN_CONNECTION" : 0;
|
|
32578
|
-
}
|
|
32579
|
-
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
32580
|
-
object.hsId = message.hsId;
|
|
32581
|
-
if (message.loginAt != null && message.hasOwnProperty("loginAt"))
|
|
32582
|
-
if (typeof message.loginAt === "number")
|
|
32583
|
-
object.loginAt = options.longs === String ? String(message.loginAt) : message.loginAt;
|
|
32584
|
-
else
|
|
32585
|
-
object.loginAt = options.longs === String ? $util.Long.prototype.toString.call(message.loginAt) : options.longs === Number ? new $util.LongBits(message.loginAt.low >>> 0, message.loginAt.high >>> 0).toNumber(true) : message.loginAt;
|
|
32586
|
-
if (message.client != null && message.hasOwnProperty("client"))
|
|
32587
|
-
object.client = options.enums === String ? $root.auth0.client.Client[message.client] : message.client;
|
|
32588
|
-
if (message.connection != null && message.hasOwnProperty("connection"))
|
|
32589
|
-
object.connection = options.enums === String ? $root.auth0.connections.Connection[message.connection] : message.connection;
|
|
32590
|
-
return object;
|
|
32591
|
-
};
|
|
32040
|
+
if (message.workEmail != null && message.hasOwnProperty("workEmail"))
|
|
32041
|
+
object.workEmail = message.workEmail;
|
|
32042
|
+
if (message.isActive != null && message.hasOwnProperty("isActive"))
|
|
32043
|
+
object.isActive = message.isActive;
|
|
32044
|
+
if (message.oldWorkEmail != null && message.hasOwnProperty("oldWorkEmail"))
|
|
32045
|
+
object.oldWorkEmail = message.oldWorkEmail;
|
|
32046
|
+
if (message.department != null && message.hasOwnProperty("department"))
|
|
32047
|
+
object.department = message.department;
|
|
32048
|
+
if (message.location != null && message.hasOwnProperty("location"))
|
|
32049
|
+
object.location = message.location;
|
|
32050
|
+
return object;
|
|
32051
|
+
};
|
|
32592
32052
|
|
|
32593
|
-
|
|
32594
|
-
|
|
32595
|
-
|
|
32596
|
-
|
|
32597
|
-
|
|
32598
|
-
|
|
32599
|
-
|
|
32600
|
-
|
|
32601
|
-
|
|
32602
|
-
|
|
32053
|
+
/**
|
|
32054
|
+
* Converts this SCIMUser to JSON.
|
|
32055
|
+
* @function toJSON
|
|
32056
|
+
* @memberof scim.SCIMUser
|
|
32057
|
+
* @instance
|
|
32058
|
+
* @returns {Object.<string,*>} JSON object
|
|
32059
|
+
*/
|
|
32060
|
+
SCIMUser.prototype.toJSON = function toJSON() {
|
|
32061
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
32062
|
+
};
|
|
32063
|
+
|
|
32064
|
+
return SCIMUser;
|
|
32065
|
+
})();
|
|
32603
32066
|
|
|
32604
|
-
return
|
|
32067
|
+
return scim;
|
|
32605
32068
|
})();
|
|
32606
32069
|
|
|
32607
32070
|
$root.UnlinkedConnection = (function() {
|
|
@@ -62971,385 +62434,6 @@ $root.UserDomainIsAnonymousUserUpdated = (function() {
|
|
|
62971
62434
|
return UserDomainIsAnonymousUserUpdated;
|
|
62972
62435
|
})();
|
|
62973
62436
|
|
|
62974
|
-
$root.UserDomainLoggedIn = (function() {
|
|
62975
|
-
|
|
62976
|
-
/**
|
|
62977
|
-
* Properties of a UserDomainLoggedIn.
|
|
62978
|
-
* @exports IUserDomainLoggedIn
|
|
62979
|
-
* @interface IUserDomainLoggedIn
|
|
62980
|
-
* @property {string|null} [hsId] UserDomainLoggedIn hsId
|
|
62981
|
-
* @property {number|Long|null} [loginTimestamp] UserDomainLoggedIn loginTimestamp
|
|
62982
|
-
* @property {userdomain.users.LoginStatus|null} [loginStatus] UserDomainLoggedIn loginStatus
|
|
62983
|
-
* @property {userdomain.users.Platform|null} [loginPlatform] UserDomainLoggedIn loginPlatform
|
|
62984
|
-
* @property {userdomain.users.ConnectionSource|null} [loginConnectionSource] UserDomainLoggedIn loginConnectionSource
|
|
62985
|
-
*/
|
|
62986
|
-
|
|
62987
|
-
/**
|
|
62988
|
-
* Constructs a new UserDomainLoggedIn.
|
|
62989
|
-
* @exports UserDomainLoggedIn
|
|
62990
|
-
* @classdesc Represents a UserDomainLoggedIn.
|
|
62991
|
-
* @implements IUserDomainLoggedIn
|
|
62992
|
-
* @constructor
|
|
62993
|
-
* @param {IUserDomainLoggedIn=} [properties] Properties to set
|
|
62994
|
-
*/
|
|
62995
|
-
function UserDomainLoggedIn(properties) {
|
|
62996
|
-
if (properties)
|
|
62997
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
62998
|
-
if (properties[keys[i]] != null)
|
|
62999
|
-
this[keys[i]] = properties[keys[i]];
|
|
63000
|
-
}
|
|
63001
|
-
|
|
63002
|
-
/**
|
|
63003
|
-
* UserDomainLoggedIn hsId.
|
|
63004
|
-
* @member {string} hsId
|
|
63005
|
-
* @memberof UserDomainLoggedIn
|
|
63006
|
-
* @instance
|
|
63007
|
-
*/
|
|
63008
|
-
UserDomainLoggedIn.prototype.hsId = "";
|
|
63009
|
-
|
|
63010
|
-
/**
|
|
63011
|
-
* UserDomainLoggedIn loginTimestamp.
|
|
63012
|
-
* @member {number|Long} loginTimestamp
|
|
63013
|
-
* @memberof UserDomainLoggedIn
|
|
63014
|
-
* @instance
|
|
63015
|
-
*/
|
|
63016
|
-
UserDomainLoggedIn.prototype.loginTimestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
63017
|
-
|
|
63018
|
-
/**
|
|
63019
|
-
* UserDomainLoggedIn loginStatus.
|
|
63020
|
-
* @member {userdomain.users.LoginStatus} loginStatus
|
|
63021
|
-
* @memberof UserDomainLoggedIn
|
|
63022
|
-
* @instance
|
|
63023
|
-
*/
|
|
63024
|
-
UserDomainLoggedIn.prototype.loginStatus = 0;
|
|
63025
|
-
|
|
63026
|
-
/**
|
|
63027
|
-
* UserDomainLoggedIn loginPlatform.
|
|
63028
|
-
* @member {userdomain.users.Platform} loginPlatform
|
|
63029
|
-
* @memberof UserDomainLoggedIn
|
|
63030
|
-
* @instance
|
|
63031
|
-
*/
|
|
63032
|
-
UserDomainLoggedIn.prototype.loginPlatform = 0;
|
|
63033
|
-
|
|
63034
|
-
/**
|
|
63035
|
-
* UserDomainLoggedIn loginConnectionSource.
|
|
63036
|
-
* @member {userdomain.users.ConnectionSource} loginConnectionSource
|
|
63037
|
-
* @memberof UserDomainLoggedIn
|
|
63038
|
-
* @instance
|
|
63039
|
-
*/
|
|
63040
|
-
UserDomainLoggedIn.prototype.loginConnectionSource = 0;
|
|
63041
|
-
|
|
63042
|
-
/**
|
|
63043
|
-
* Creates a new UserDomainLoggedIn instance using the specified properties.
|
|
63044
|
-
* @function create
|
|
63045
|
-
* @memberof UserDomainLoggedIn
|
|
63046
|
-
* @static
|
|
63047
|
-
* @param {IUserDomainLoggedIn=} [properties] Properties to set
|
|
63048
|
-
* @returns {UserDomainLoggedIn} UserDomainLoggedIn instance
|
|
63049
|
-
*/
|
|
63050
|
-
UserDomainLoggedIn.create = function create(properties) {
|
|
63051
|
-
return new UserDomainLoggedIn(properties);
|
|
63052
|
-
};
|
|
63053
|
-
|
|
63054
|
-
/**
|
|
63055
|
-
* Encodes the specified UserDomainLoggedIn message. Does not implicitly {@link UserDomainLoggedIn.verify|verify} messages.
|
|
63056
|
-
* @function encode
|
|
63057
|
-
* @memberof UserDomainLoggedIn
|
|
63058
|
-
* @static
|
|
63059
|
-
* @param {IUserDomainLoggedIn} message UserDomainLoggedIn message or plain object to encode
|
|
63060
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
63061
|
-
* @returns {$protobuf.Writer} Writer
|
|
63062
|
-
*/
|
|
63063
|
-
UserDomainLoggedIn.encode = function encode(message, writer) {
|
|
63064
|
-
if (!writer)
|
|
63065
|
-
writer = $Writer.create();
|
|
63066
|
-
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
63067
|
-
writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsId);
|
|
63068
|
-
if (message.loginTimestamp != null && message.hasOwnProperty("loginTimestamp"))
|
|
63069
|
-
writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.loginTimestamp);
|
|
63070
|
-
if (message.loginStatus != null && message.hasOwnProperty("loginStatus"))
|
|
63071
|
-
writer.uint32(/* id 3, wireType 0 =*/24).int32(message.loginStatus);
|
|
63072
|
-
if (message.loginPlatform != null && message.hasOwnProperty("loginPlatform"))
|
|
63073
|
-
writer.uint32(/* id 4, wireType 0 =*/32).int32(message.loginPlatform);
|
|
63074
|
-
if (message.loginConnectionSource != null && message.hasOwnProperty("loginConnectionSource"))
|
|
63075
|
-
writer.uint32(/* id 5, wireType 0 =*/40).int32(message.loginConnectionSource);
|
|
63076
|
-
return writer;
|
|
63077
|
-
};
|
|
63078
|
-
|
|
63079
|
-
/**
|
|
63080
|
-
* Encodes the specified UserDomainLoggedIn message, length delimited. Does not implicitly {@link UserDomainLoggedIn.verify|verify} messages.
|
|
63081
|
-
* @function encodeDelimited
|
|
63082
|
-
* @memberof UserDomainLoggedIn
|
|
63083
|
-
* @static
|
|
63084
|
-
* @param {IUserDomainLoggedIn} message UserDomainLoggedIn message or plain object to encode
|
|
63085
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
63086
|
-
* @returns {$protobuf.Writer} Writer
|
|
63087
|
-
*/
|
|
63088
|
-
UserDomainLoggedIn.encodeDelimited = function encodeDelimited(message, writer) {
|
|
63089
|
-
return this.encode(message, writer).ldelim();
|
|
63090
|
-
};
|
|
63091
|
-
|
|
63092
|
-
/**
|
|
63093
|
-
* Decodes a UserDomainLoggedIn message from the specified reader or buffer.
|
|
63094
|
-
* @function decode
|
|
63095
|
-
* @memberof UserDomainLoggedIn
|
|
63096
|
-
* @static
|
|
63097
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
63098
|
-
* @param {number} [length] Message length if known beforehand
|
|
63099
|
-
* @returns {UserDomainLoggedIn} UserDomainLoggedIn
|
|
63100
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
63101
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
63102
|
-
*/
|
|
63103
|
-
UserDomainLoggedIn.decode = function decode(reader, length) {
|
|
63104
|
-
if (!(reader instanceof $Reader))
|
|
63105
|
-
reader = $Reader.create(reader);
|
|
63106
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.UserDomainLoggedIn();
|
|
63107
|
-
while (reader.pos < end) {
|
|
63108
|
-
var tag = reader.uint32();
|
|
63109
|
-
switch (tag >>> 3) {
|
|
63110
|
-
case 1:
|
|
63111
|
-
message.hsId = reader.string();
|
|
63112
|
-
break;
|
|
63113
|
-
case 2:
|
|
63114
|
-
message.loginTimestamp = reader.uint64();
|
|
63115
|
-
break;
|
|
63116
|
-
case 3:
|
|
63117
|
-
message.loginStatus = reader.int32();
|
|
63118
|
-
break;
|
|
63119
|
-
case 4:
|
|
63120
|
-
message.loginPlatform = reader.int32();
|
|
63121
|
-
break;
|
|
63122
|
-
case 5:
|
|
63123
|
-
message.loginConnectionSource = reader.int32();
|
|
63124
|
-
break;
|
|
63125
|
-
default:
|
|
63126
|
-
reader.skipType(tag & 7);
|
|
63127
|
-
break;
|
|
63128
|
-
}
|
|
63129
|
-
}
|
|
63130
|
-
return message;
|
|
63131
|
-
};
|
|
63132
|
-
|
|
63133
|
-
/**
|
|
63134
|
-
* Decodes a UserDomainLoggedIn message from the specified reader or buffer, length delimited.
|
|
63135
|
-
* @function decodeDelimited
|
|
63136
|
-
* @memberof UserDomainLoggedIn
|
|
63137
|
-
* @static
|
|
63138
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
63139
|
-
* @returns {UserDomainLoggedIn} UserDomainLoggedIn
|
|
63140
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
63141
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
63142
|
-
*/
|
|
63143
|
-
UserDomainLoggedIn.decodeDelimited = function decodeDelimited(reader) {
|
|
63144
|
-
if (!(reader instanceof $Reader))
|
|
63145
|
-
reader = new $Reader(reader);
|
|
63146
|
-
return this.decode(reader, reader.uint32());
|
|
63147
|
-
};
|
|
63148
|
-
|
|
63149
|
-
/**
|
|
63150
|
-
* Verifies a UserDomainLoggedIn message.
|
|
63151
|
-
* @function verify
|
|
63152
|
-
* @memberof UserDomainLoggedIn
|
|
63153
|
-
* @static
|
|
63154
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
63155
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
63156
|
-
*/
|
|
63157
|
-
UserDomainLoggedIn.verify = function verify(message) {
|
|
63158
|
-
if (typeof message !== "object" || message === null)
|
|
63159
|
-
return "object expected";
|
|
63160
|
-
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
63161
|
-
if (!$util.isString(message.hsId))
|
|
63162
|
-
return "hsId: string expected";
|
|
63163
|
-
if (message.loginTimestamp != null && message.hasOwnProperty("loginTimestamp"))
|
|
63164
|
-
if (!$util.isInteger(message.loginTimestamp) && !(message.loginTimestamp && $util.isInteger(message.loginTimestamp.low) && $util.isInteger(message.loginTimestamp.high)))
|
|
63165
|
-
return "loginTimestamp: integer|Long expected";
|
|
63166
|
-
if (message.loginStatus != null && message.hasOwnProperty("loginStatus"))
|
|
63167
|
-
switch (message.loginStatus) {
|
|
63168
|
-
default:
|
|
63169
|
-
return "loginStatus: enum value expected";
|
|
63170
|
-
case 0:
|
|
63171
|
-
case 1:
|
|
63172
|
-
case 2:
|
|
63173
|
-
break;
|
|
63174
|
-
}
|
|
63175
|
-
if (message.loginPlatform != null && message.hasOwnProperty("loginPlatform"))
|
|
63176
|
-
switch (message.loginPlatform) {
|
|
63177
|
-
default:
|
|
63178
|
-
return "loginPlatform: enum value expected";
|
|
63179
|
-
case 0:
|
|
63180
|
-
case 1:
|
|
63181
|
-
case 2:
|
|
63182
|
-
case 3:
|
|
63183
|
-
case 4:
|
|
63184
|
-
case 5:
|
|
63185
|
-
case 6:
|
|
63186
|
-
break;
|
|
63187
|
-
}
|
|
63188
|
-
if (message.loginConnectionSource != null && message.hasOwnProperty("loginConnectionSource"))
|
|
63189
|
-
switch (message.loginConnectionSource) {
|
|
63190
|
-
default:
|
|
63191
|
-
return "loginConnectionSource: enum value expected";
|
|
63192
|
-
case 0:
|
|
63193
|
-
case 1:
|
|
63194
|
-
case 2:
|
|
63195
|
-
case 3:
|
|
63196
|
-
case 4:
|
|
63197
|
-
case 5:
|
|
63198
|
-
break;
|
|
63199
|
-
}
|
|
63200
|
-
return null;
|
|
63201
|
-
};
|
|
63202
|
-
|
|
63203
|
-
/**
|
|
63204
|
-
* Creates a UserDomainLoggedIn message from a plain object. Also converts values to their respective internal types.
|
|
63205
|
-
* @function fromObject
|
|
63206
|
-
* @memberof UserDomainLoggedIn
|
|
63207
|
-
* @static
|
|
63208
|
-
* @param {Object.<string,*>} object Plain object
|
|
63209
|
-
* @returns {UserDomainLoggedIn} UserDomainLoggedIn
|
|
63210
|
-
*/
|
|
63211
|
-
UserDomainLoggedIn.fromObject = function fromObject(object) {
|
|
63212
|
-
if (object instanceof $root.UserDomainLoggedIn)
|
|
63213
|
-
return object;
|
|
63214
|
-
var message = new $root.UserDomainLoggedIn();
|
|
63215
|
-
if (object.hsId != null)
|
|
63216
|
-
message.hsId = String(object.hsId);
|
|
63217
|
-
if (object.loginTimestamp != null)
|
|
63218
|
-
if ($util.Long)
|
|
63219
|
-
(message.loginTimestamp = $util.Long.fromValue(object.loginTimestamp)).unsigned = true;
|
|
63220
|
-
else if (typeof object.loginTimestamp === "string")
|
|
63221
|
-
message.loginTimestamp = parseInt(object.loginTimestamp, 10);
|
|
63222
|
-
else if (typeof object.loginTimestamp === "number")
|
|
63223
|
-
message.loginTimestamp = object.loginTimestamp;
|
|
63224
|
-
else if (typeof object.loginTimestamp === "object")
|
|
63225
|
-
message.loginTimestamp = new $util.LongBits(object.loginTimestamp.low >>> 0, object.loginTimestamp.high >>> 0).toNumber(true);
|
|
63226
|
-
switch (object.loginStatus) {
|
|
63227
|
-
case "LOGIN_UNKNOWN":
|
|
63228
|
-
case 0:
|
|
63229
|
-
message.loginStatus = 0;
|
|
63230
|
-
break;
|
|
63231
|
-
case "LOGIN_SUCCESS":
|
|
63232
|
-
case 1:
|
|
63233
|
-
message.loginStatus = 1;
|
|
63234
|
-
break;
|
|
63235
|
-
case "LOGIN_FAIL":
|
|
63236
|
-
case 2:
|
|
63237
|
-
message.loginStatus = 2;
|
|
63238
|
-
break;
|
|
63239
|
-
}
|
|
63240
|
-
switch (object.loginPlatform) {
|
|
63241
|
-
case "UNKNOWN_PLATFORM":
|
|
63242
|
-
case 0:
|
|
63243
|
-
message.loginPlatform = 0;
|
|
63244
|
-
break;
|
|
63245
|
-
case "DESKTOP":
|
|
63246
|
-
case 1:
|
|
63247
|
-
message.loginPlatform = 1;
|
|
63248
|
-
break;
|
|
63249
|
-
case "IOS":
|
|
63250
|
-
case 2:
|
|
63251
|
-
message.loginPlatform = 2;
|
|
63252
|
-
break;
|
|
63253
|
-
case "ANDROID":
|
|
63254
|
-
case 3:
|
|
63255
|
-
message.loginPlatform = 3;
|
|
63256
|
-
break;
|
|
63257
|
-
case "ALEXA":
|
|
63258
|
-
case 4:
|
|
63259
|
-
message.loginPlatform = 4;
|
|
63260
|
-
break;
|
|
63261
|
-
case "GOOGLE_ASSISTANT":
|
|
63262
|
-
case 5:
|
|
63263
|
-
message.loginPlatform = 5;
|
|
63264
|
-
break;
|
|
63265
|
-
case "IOS_WATCH":
|
|
63266
|
-
case 6:
|
|
63267
|
-
message.loginPlatform = 6;
|
|
63268
|
-
break;
|
|
63269
|
-
}
|
|
63270
|
-
switch (object.loginConnectionSource) {
|
|
63271
|
-
case "CONNSRC_UNKNOWN":
|
|
63272
|
-
case 0:
|
|
63273
|
-
message.loginConnectionSource = 0;
|
|
63274
|
-
break;
|
|
63275
|
-
case "CONNSRC_EMAIL":
|
|
63276
|
-
case 1:
|
|
63277
|
-
message.loginConnectionSource = 1;
|
|
63278
|
-
break;
|
|
63279
|
-
case "CONNSRC_FACEBOOK":
|
|
63280
|
-
case 2:
|
|
63281
|
-
message.loginConnectionSource = 2;
|
|
63282
|
-
break;
|
|
63283
|
-
case "CONNSRC_SPOTIFY":
|
|
63284
|
-
case 3:
|
|
63285
|
-
message.loginConnectionSource = 3;
|
|
63286
|
-
break;
|
|
63287
|
-
case "CONNSRC_APPLE":
|
|
63288
|
-
case 4:
|
|
63289
|
-
message.loginConnectionSource = 4;
|
|
63290
|
-
break;
|
|
63291
|
-
case "CONNSRC_GOOGLE":
|
|
63292
|
-
case 5:
|
|
63293
|
-
message.loginConnectionSource = 5;
|
|
63294
|
-
break;
|
|
63295
|
-
}
|
|
63296
|
-
return message;
|
|
63297
|
-
};
|
|
63298
|
-
|
|
63299
|
-
/**
|
|
63300
|
-
* Creates a plain object from a UserDomainLoggedIn message. Also converts values to other types if specified.
|
|
63301
|
-
* @function toObject
|
|
63302
|
-
* @memberof UserDomainLoggedIn
|
|
63303
|
-
* @static
|
|
63304
|
-
* @param {UserDomainLoggedIn} message UserDomainLoggedIn
|
|
63305
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
63306
|
-
* @returns {Object.<string,*>} Plain object
|
|
63307
|
-
*/
|
|
63308
|
-
UserDomainLoggedIn.toObject = function toObject(message, options) {
|
|
63309
|
-
if (!options)
|
|
63310
|
-
options = {};
|
|
63311
|
-
var object = {};
|
|
63312
|
-
if (options.defaults) {
|
|
63313
|
-
object.hsId = "";
|
|
63314
|
-
if ($util.Long) {
|
|
63315
|
-
var long = new $util.Long(0, 0, true);
|
|
63316
|
-
object.loginTimestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
63317
|
-
} else
|
|
63318
|
-
object.loginTimestamp = options.longs === String ? "0" : 0;
|
|
63319
|
-
object.loginStatus = options.enums === String ? "LOGIN_UNKNOWN" : 0;
|
|
63320
|
-
object.loginPlatform = options.enums === String ? "UNKNOWN_PLATFORM" : 0;
|
|
63321
|
-
object.loginConnectionSource = options.enums === String ? "CONNSRC_UNKNOWN" : 0;
|
|
63322
|
-
}
|
|
63323
|
-
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
63324
|
-
object.hsId = message.hsId;
|
|
63325
|
-
if (message.loginTimestamp != null && message.hasOwnProperty("loginTimestamp"))
|
|
63326
|
-
if (typeof message.loginTimestamp === "number")
|
|
63327
|
-
object.loginTimestamp = options.longs === String ? String(message.loginTimestamp) : message.loginTimestamp;
|
|
63328
|
-
else
|
|
63329
|
-
object.loginTimestamp = options.longs === String ? $util.Long.prototype.toString.call(message.loginTimestamp) : options.longs === Number ? new $util.LongBits(message.loginTimestamp.low >>> 0, message.loginTimestamp.high >>> 0).toNumber(true) : message.loginTimestamp;
|
|
63330
|
-
if (message.loginStatus != null && message.hasOwnProperty("loginStatus"))
|
|
63331
|
-
object.loginStatus = options.enums === String ? $root.userdomain.users.LoginStatus[message.loginStatus] : message.loginStatus;
|
|
63332
|
-
if (message.loginPlatform != null && message.hasOwnProperty("loginPlatform"))
|
|
63333
|
-
object.loginPlatform = options.enums === String ? $root.userdomain.users.Platform[message.loginPlatform] : message.loginPlatform;
|
|
63334
|
-
if (message.loginConnectionSource != null && message.hasOwnProperty("loginConnectionSource"))
|
|
63335
|
-
object.loginConnectionSource = options.enums === String ? $root.userdomain.users.ConnectionSource[message.loginConnectionSource] : message.loginConnectionSource;
|
|
63336
|
-
return object;
|
|
63337
|
-
};
|
|
63338
|
-
|
|
63339
|
-
/**
|
|
63340
|
-
* Converts this UserDomainLoggedIn to JSON.
|
|
63341
|
-
* @function toJSON
|
|
63342
|
-
* @memberof UserDomainLoggedIn
|
|
63343
|
-
* @instance
|
|
63344
|
-
* @returns {Object.<string,*>} JSON object
|
|
63345
|
-
*/
|
|
63346
|
-
UserDomainLoggedIn.prototype.toJSON = function toJSON() {
|
|
63347
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
63348
|
-
};
|
|
63349
|
-
|
|
63350
|
-
return UserDomainLoggedIn;
|
|
63351
|
-
})();
|
|
63352
|
-
|
|
63353
62437
|
$root.UserPasswordResetCompleted = (function() {
|
|
63354
62438
|
|
|
63355
62439
|
/**
|
package/package.json
CHANGED