@headspace/protos-events 1.258.0 → 1.260.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 +233 -1
- package/lib/index.js +482 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -132,7 +132,8 @@ export namespace auth0 {
|
|
|
132
132
|
GOOGLE = 7,
|
|
133
133
|
TEST_OKTA_SSO = 8,
|
|
134
134
|
HEADSPACE_OKTA_SSO = 9,
|
|
135
|
-
EXTERNAL_OKTA_QA = 10
|
|
135
|
+
EXTERNAL_OKTA_QA = 10,
|
|
136
|
+
THOUGHTWORKS_OKTA_SSO = 11
|
|
136
137
|
}
|
|
137
138
|
}
|
|
138
139
|
}
|
|
@@ -4976,6 +4977,237 @@ export namespace content {
|
|
|
4976
4977
|
public toJSON(): { [k: string]: any };
|
|
4977
4978
|
}
|
|
4978
4979
|
|
|
4980
|
+
/** Represents a UserActivityManager */
|
|
4981
|
+
class UserActivityManager extends $protobuf.rpc.Service {
|
|
4982
|
+
|
|
4983
|
+
/**
|
|
4984
|
+
* Constructs a new UserActivityManager service.
|
|
4985
|
+
* @param rpcImpl RPC implementation
|
|
4986
|
+
* @param [requestDelimited=false] Whether requests are length-delimited
|
|
4987
|
+
* @param [responseDelimited=false] Whether responses are length-delimited
|
|
4988
|
+
*/
|
|
4989
|
+
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
|
|
4990
|
+
|
|
4991
|
+
/**
|
|
4992
|
+
* Creates new UserActivityManager service using the specified rpc implementation.
|
|
4993
|
+
* @param rpcImpl RPC implementation
|
|
4994
|
+
* @param [requestDelimited=false] Whether requests are length-delimited
|
|
4995
|
+
* @param [responseDelimited=false] Whether responses are length-delimited
|
|
4996
|
+
* @returns RPC service. Useful where requests and/or responses are streamed.
|
|
4997
|
+
*/
|
|
4998
|
+
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): UserActivityManager;
|
|
4999
|
+
|
|
5000
|
+
/**
|
|
5001
|
+
* Calls unlockActivity.
|
|
5002
|
+
* @param request UnlockActivityRequest message or plain object
|
|
5003
|
+
* @param callback Node-style callback called with the error, if any, and UnlockActivityResponse
|
|
5004
|
+
*/
|
|
5005
|
+
public unlockActivity(request: content.IUnlockActivityRequest, callback: content.UserActivityManager.unlockActivityCallback): void;
|
|
5006
|
+
|
|
5007
|
+
/**
|
|
5008
|
+
* Calls unlockActivity.
|
|
5009
|
+
* @param request UnlockActivityRequest message or plain object
|
|
5010
|
+
* @returns Promise
|
|
5011
|
+
*/
|
|
5012
|
+
public unlockActivity(request: content.IUnlockActivityRequest): Promise<content.UnlockActivityResponse>;
|
|
5013
|
+
}
|
|
5014
|
+
|
|
5015
|
+
namespace UserActivityManager {
|
|
5016
|
+
|
|
5017
|
+
/**
|
|
5018
|
+
* Callback as used by {@link content.UserActivityManager#unlockActivity}.
|
|
5019
|
+
* @param error Error, if any
|
|
5020
|
+
* @param [response] UnlockActivityResponse
|
|
5021
|
+
*/
|
|
5022
|
+
type unlockActivityCallback = (error: (Error|null), response?: content.UnlockActivityResponse) => void;
|
|
5023
|
+
}
|
|
5024
|
+
|
|
5025
|
+
/** Properties of an UnlockActivityRequest. */
|
|
5026
|
+
interface IUnlockActivityRequest {
|
|
5027
|
+
|
|
5028
|
+
/** UnlockActivityRequest activityId */
|
|
5029
|
+
activityId?: (number|null);
|
|
5030
|
+
|
|
5031
|
+
/** UnlockActivityRequest userId */
|
|
5032
|
+
userId?: (string|null);
|
|
5033
|
+
}
|
|
5034
|
+
|
|
5035
|
+
/** Represents an UnlockActivityRequest. */
|
|
5036
|
+
class UnlockActivityRequest implements IUnlockActivityRequest {
|
|
5037
|
+
|
|
5038
|
+
/**
|
|
5039
|
+
* Constructs a new UnlockActivityRequest.
|
|
5040
|
+
* @param [properties] Properties to set
|
|
5041
|
+
*/
|
|
5042
|
+
constructor(properties?: content.IUnlockActivityRequest);
|
|
5043
|
+
|
|
5044
|
+
/** UnlockActivityRequest activityId. */
|
|
5045
|
+
public activityId: number;
|
|
5046
|
+
|
|
5047
|
+
/** UnlockActivityRequest userId. */
|
|
5048
|
+
public userId: string;
|
|
5049
|
+
|
|
5050
|
+
/**
|
|
5051
|
+
* Creates a new UnlockActivityRequest instance using the specified properties.
|
|
5052
|
+
* @param [properties] Properties to set
|
|
5053
|
+
* @returns UnlockActivityRequest instance
|
|
5054
|
+
*/
|
|
5055
|
+
public static create(properties?: content.IUnlockActivityRequest): content.UnlockActivityRequest;
|
|
5056
|
+
|
|
5057
|
+
/**
|
|
5058
|
+
* Encodes the specified UnlockActivityRequest message. Does not implicitly {@link content.UnlockActivityRequest.verify|verify} messages.
|
|
5059
|
+
* @param message UnlockActivityRequest message or plain object to encode
|
|
5060
|
+
* @param [writer] Writer to encode to
|
|
5061
|
+
* @returns Writer
|
|
5062
|
+
*/
|
|
5063
|
+
public static encode(message: content.IUnlockActivityRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5064
|
+
|
|
5065
|
+
/**
|
|
5066
|
+
* Encodes the specified UnlockActivityRequest message, length delimited. Does not implicitly {@link content.UnlockActivityRequest.verify|verify} messages.
|
|
5067
|
+
* @param message UnlockActivityRequest message or plain object to encode
|
|
5068
|
+
* @param [writer] Writer to encode to
|
|
5069
|
+
* @returns Writer
|
|
5070
|
+
*/
|
|
5071
|
+
public static encodeDelimited(message: content.IUnlockActivityRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5072
|
+
|
|
5073
|
+
/**
|
|
5074
|
+
* Decodes an UnlockActivityRequest message from the specified reader or buffer.
|
|
5075
|
+
* @param reader Reader or buffer to decode from
|
|
5076
|
+
* @param [length] Message length if known beforehand
|
|
5077
|
+
* @returns UnlockActivityRequest
|
|
5078
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5079
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5080
|
+
*/
|
|
5081
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.UnlockActivityRequest;
|
|
5082
|
+
|
|
5083
|
+
/**
|
|
5084
|
+
* Decodes an UnlockActivityRequest message from the specified reader or buffer, length delimited.
|
|
5085
|
+
* @param reader Reader or buffer to decode from
|
|
5086
|
+
* @returns UnlockActivityRequest
|
|
5087
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5088
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5089
|
+
*/
|
|
5090
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.UnlockActivityRequest;
|
|
5091
|
+
|
|
5092
|
+
/**
|
|
5093
|
+
* Verifies an UnlockActivityRequest message.
|
|
5094
|
+
* @param message Plain object to verify
|
|
5095
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
5096
|
+
*/
|
|
5097
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
5098
|
+
|
|
5099
|
+
/**
|
|
5100
|
+
* Creates an UnlockActivityRequest message from a plain object. Also converts values to their respective internal types.
|
|
5101
|
+
* @param object Plain object
|
|
5102
|
+
* @returns UnlockActivityRequest
|
|
5103
|
+
*/
|
|
5104
|
+
public static fromObject(object: { [k: string]: any }): content.UnlockActivityRequest;
|
|
5105
|
+
|
|
5106
|
+
/**
|
|
5107
|
+
* Creates a plain object from an UnlockActivityRequest message. Also converts values to other types if specified.
|
|
5108
|
+
* @param message UnlockActivityRequest
|
|
5109
|
+
* @param [options] Conversion options
|
|
5110
|
+
* @returns Plain object
|
|
5111
|
+
*/
|
|
5112
|
+
public static toObject(message: content.UnlockActivityRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5113
|
+
|
|
5114
|
+
/**
|
|
5115
|
+
* Converts this UnlockActivityRequest to JSON.
|
|
5116
|
+
* @returns JSON object
|
|
5117
|
+
*/
|
|
5118
|
+
public toJSON(): { [k: string]: any };
|
|
5119
|
+
}
|
|
5120
|
+
|
|
5121
|
+
/** Properties of an UnlockActivityResponse. */
|
|
5122
|
+
interface IUnlockActivityResponse {
|
|
5123
|
+
|
|
5124
|
+
/** UnlockActivityResponse success */
|
|
5125
|
+
success?: (boolean|null);
|
|
5126
|
+
}
|
|
5127
|
+
|
|
5128
|
+
/** Represents an UnlockActivityResponse. */
|
|
5129
|
+
class UnlockActivityResponse implements IUnlockActivityResponse {
|
|
5130
|
+
|
|
5131
|
+
/**
|
|
5132
|
+
* Constructs a new UnlockActivityResponse.
|
|
5133
|
+
* @param [properties] Properties to set
|
|
5134
|
+
*/
|
|
5135
|
+
constructor(properties?: content.IUnlockActivityResponse);
|
|
5136
|
+
|
|
5137
|
+
/** UnlockActivityResponse success. */
|
|
5138
|
+
public success: boolean;
|
|
5139
|
+
|
|
5140
|
+
/**
|
|
5141
|
+
* Creates a new UnlockActivityResponse instance using the specified properties.
|
|
5142
|
+
* @param [properties] Properties to set
|
|
5143
|
+
* @returns UnlockActivityResponse instance
|
|
5144
|
+
*/
|
|
5145
|
+
public static create(properties?: content.IUnlockActivityResponse): content.UnlockActivityResponse;
|
|
5146
|
+
|
|
5147
|
+
/**
|
|
5148
|
+
* Encodes the specified UnlockActivityResponse message. Does not implicitly {@link content.UnlockActivityResponse.verify|verify} messages.
|
|
5149
|
+
* @param message UnlockActivityResponse message or plain object to encode
|
|
5150
|
+
* @param [writer] Writer to encode to
|
|
5151
|
+
* @returns Writer
|
|
5152
|
+
*/
|
|
5153
|
+
public static encode(message: content.IUnlockActivityResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5154
|
+
|
|
5155
|
+
/**
|
|
5156
|
+
* Encodes the specified UnlockActivityResponse message, length delimited. Does not implicitly {@link content.UnlockActivityResponse.verify|verify} messages.
|
|
5157
|
+
* @param message UnlockActivityResponse message or plain object to encode
|
|
5158
|
+
* @param [writer] Writer to encode to
|
|
5159
|
+
* @returns Writer
|
|
5160
|
+
*/
|
|
5161
|
+
public static encodeDelimited(message: content.IUnlockActivityResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5162
|
+
|
|
5163
|
+
/**
|
|
5164
|
+
* Decodes an UnlockActivityResponse message from the specified reader or buffer.
|
|
5165
|
+
* @param reader Reader or buffer to decode from
|
|
5166
|
+
* @param [length] Message length if known beforehand
|
|
5167
|
+
* @returns UnlockActivityResponse
|
|
5168
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5169
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5170
|
+
*/
|
|
5171
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.UnlockActivityResponse;
|
|
5172
|
+
|
|
5173
|
+
/**
|
|
5174
|
+
* Decodes an UnlockActivityResponse message from the specified reader or buffer, length delimited.
|
|
5175
|
+
* @param reader Reader or buffer to decode from
|
|
5176
|
+
* @returns UnlockActivityResponse
|
|
5177
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5178
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5179
|
+
*/
|
|
5180
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.UnlockActivityResponse;
|
|
5181
|
+
|
|
5182
|
+
/**
|
|
5183
|
+
* Verifies an UnlockActivityResponse message.
|
|
5184
|
+
* @param message Plain object to verify
|
|
5185
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
5186
|
+
*/
|
|
5187
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
5188
|
+
|
|
5189
|
+
/**
|
|
5190
|
+
* Creates an UnlockActivityResponse message from a plain object. Also converts values to their respective internal types.
|
|
5191
|
+
* @param object Plain object
|
|
5192
|
+
* @returns UnlockActivityResponse
|
|
5193
|
+
*/
|
|
5194
|
+
public static fromObject(object: { [k: string]: any }): content.UnlockActivityResponse;
|
|
5195
|
+
|
|
5196
|
+
/**
|
|
5197
|
+
* Creates a plain object from an UnlockActivityResponse message. Also converts values to other types if specified.
|
|
5198
|
+
* @param message UnlockActivityResponse
|
|
5199
|
+
* @param [options] Conversion options
|
|
5200
|
+
* @returns Plain object
|
|
5201
|
+
*/
|
|
5202
|
+
public static toObject(message: content.UnlockActivityResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5203
|
+
|
|
5204
|
+
/**
|
|
5205
|
+
* Converts this UnlockActivityResponse to JSON.
|
|
5206
|
+
* @returns JSON object
|
|
5207
|
+
*/
|
|
5208
|
+
public toJSON(): { [k: string]: any };
|
|
5209
|
+
}
|
|
5210
|
+
|
|
4979
5211
|
/** Represents a UserStatManager */
|
|
4980
5212
|
class UserStatManager extends $protobuf.rpc.Service {
|
|
4981
5213
|
|
package/lib/index.js
CHANGED
|
@@ -303,6 +303,7 @@ $root.auth0 = (function() {
|
|
|
303
303
|
* @property {number} TEST_OKTA_SSO=8 TEST_OKTA_SSO value
|
|
304
304
|
* @property {number} HEADSPACE_OKTA_SSO=9 HEADSPACE_OKTA_SSO value
|
|
305
305
|
* @property {number} EXTERNAL_OKTA_QA=10 EXTERNAL_OKTA_QA value
|
|
306
|
+
* @property {number} THOUGHTWORKS_OKTA_SSO=11 THOUGHTWORKS_OKTA_SSO value
|
|
306
307
|
*/
|
|
307
308
|
connections.Connection = (function() {
|
|
308
309
|
var valuesById = {}, values = Object.create(valuesById);
|
|
@@ -317,6 +318,7 @@ $root.auth0 = (function() {
|
|
|
317
318
|
values[valuesById[8] = "TEST_OKTA_SSO"] = 8;
|
|
318
319
|
values[valuesById[9] = "HEADSPACE_OKTA_SSO"] = 9;
|
|
319
320
|
values[valuesById[10] = "EXTERNAL_OKTA_QA"] = 10;
|
|
321
|
+
values[valuesById[11] = "THOUGHTWORKS_OKTA_SSO"] = 11;
|
|
320
322
|
return values;
|
|
321
323
|
})();
|
|
322
324
|
|
|
@@ -12039,6 +12041,471 @@ $root.content = (function() {
|
|
|
12039
12041
|
return UserActivity;
|
|
12040
12042
|
})();
|
|
12041
12043
|
|
|
12044
|
+
content.UserActivityManager = (function() {
|
|
12045
|
+
|
|
12046
|
+
/**
|
|
12047
|
+
* Constructs a new UserActivityManager service.
|
|
12048
|
+
* @memberof content
|
|
12049
|
+
* @classdesc Represents a UserActivityManager
|
|
12050
|
+
* @extends $protobuf.rpc.Service
|
|
12051
|
+
* @constructor
|
|
12052
|
+
* @param {$protobuf.RPCImpl} rpcImpl RPC implementation
|
|
12053
|
+
* @param {boolean} [requestDelimited=false] Whether requests are length-delimited
|
|
12054
|
+
* @param {boolean} [responseDelimited=false] Whether responses are length-delimited
|
|
12055
|
+
*/
|
|
12056
|
+
function UserActivityManager(rpcImpl, requestDelimited, responseDelimited) {
|
|
12057
|
+
$protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited);
|
|
12058
|
+
}
|
|
12059
|
+
|
|
12060
|
+
(UserActivityManager.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = UserActivityManager;
|
|
12061
|
+
|
|
12062
|
+
/**
|
|
12063
|
+
* Creates new UserActivityManager service using the specified rpc implementation.
|
|
12064
|
+
* @function create
|
|
12065
|
+
* @memberof content.UserActivityManager
|
|
12066
|
+
* @static
|
|
12067
|
+
* @param {$protobuf.RPCImpl} rpcImpl RPC implementation
|
|
12068
|
+
* @param {boolean} [requestDelimited=false] Whether requests are length-delimited
|
|
12069
|
+
* @param {boolean} [responseDelimited=false] Whether responses are length-delimited
|
|
12070
|
+
* @returns {UserActivityManager} RPC service. Useful where requests and/or responses are streamed.
|
|
12071
|
+
*/
|
|
12072
|
+
UserActivityManager.create = function create(rpcImpl, requestDelimited, responseDelimited) {
|
|
12073
|
+
return new this(rpcImpl, requestDelimited, responseDelimited);
|
|
12074
|
+
};
|
|
12075
|
+
|
|
12076
|
+
/**
|
|
12077
|
+
* Callback as used by {@link content.UserActivityManager#unlockActivity}.
|
|
12078
|
+
* @memberof content.UserActivityManager
|
|
12079
|
+
* @typedef unlockActivityCallback
|
|
12080
|
+
* @type {function}
|
|
12081
|
+
* @param {Error|null} error Error, if any
|
|
12082
|
+
* @param {content.UnlockActivityResponse} [response] UnlockActivityResponse
|
|
12083
|
+
*/
|
|
12084
|
+
|
|
12085
|
+
/**
|
|
12086
|
+
* Calls unlockActivity.
|
|
12087
|
+
* @function unlockActivity
|
|
12088
|
+
* @memberof content.UserActivityManager
|
|
12089
|
+
* @instance
|
|
12090
|
+
* @param {content.IUnlockActivityRequest} request UnlockActivityRequest message or plain object
|
|
12091
|
+
* @param {content.UserActivityManager.unlockActivityCallback} callback Node-style callback called with the error, if any, and UnlockActivityResponse
|
|
12092
|
+
* @returns {undefined}
|
|
12093
|
+
* @variation 1
|
|
12094
|
+
*/
|
|
12095
|
+
Object.defineProperty(UserActivityManager.prototype.unlockActivity = function unlockActivity(request, callback) {
|
|
12096
|
+
return this.rpcCall(unlockActivity, $root.content.UnlockActivityRequest, $root.content.UnlockActivityResponse, request, callback);
|
|
12097
|
+
}, "name", { value: "unlockActivity" });
|
|
12098
|
+
|
|
12099
|
+
/**
|
|
12100
|
+
* Calls unlockActivity.
|
|
12101
|
+
* @function unlockActivity
|
|
12102
|
+
* @memberof content.UserActivityManager
|
|
12103
|
+
* @instance
|
|
12104
|
+
* @param {content.IUnlockActivityRequest} request UnlockActivityRequest message or plain object
|
|
12105
|
+
* @returns {Promise<content.UnlockActivityResponse>} Promise
|
|
12106
|
+
* @variation 2
|
|
12107
|
+
*/
|
|
12108
|
+
|
|
12109
|
+
return UserActivityManager;
|
|
12110
|
+
})();
|
|
12111
|
+
|
|
12112
|
+
content.UnlockActivityRequest = (function() {
|
|
12113
|
+
|
|
12114
|
+
/**
|
|
12115
|
+
* Properties of an UnlockActivityRequest.
|
|
12116
|
+
* @memberof content
|
|
12117
|
+
* @interface IUnlockActivityRequest
|
|
12118
|
+
* @property {number|null} [activityId] UnlockActivityRequest activityId
|
|
12119
|
+
* @property {string|null} [userId] UnlockActivityRequest userId
|
|
12120
|
+
*/
|
|
12121
|
+
|
|
12122
|
+
/**
|
|
12123
|
+
* Constructs a new UnlockActivityRequest.
|
|
12124
|
+
* @memberof content
|
|
12125
|
+
* @classdesc Represents an UnlockActivityRequest.
|
|
12126
|
+
* @implements IUnlockActivityRequest
|
|
12127
|
+
* @constructor
|
|
12128
|
+
* @param {content.IUnlockActivityRequest=} [properties] Properties to set
|
|
12129
|
+
*/
|
|
12130
|
+
function UnlockActivityRequest(properties) {
|
|
12131
|
+
if (properties)
|
|
12132
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
12133
|
+
if (properties[keys[i]] != null)
|
|
12134
|
+
this[keys[i]] = properties[keys[i]];
|
|
12135
|
+
}
|
|
12136
|
+
|
|
12137
|
+
/**
|
|
12138
|
+
* UnlockActivityRequest activityId.
|
|
12139
|
+
* @member {number} activityId
|
|
12140
|
+
* @memberof content.UnlockActivityRequest
|
|
12141
|
+
* @instance
|
|
12142
|
+
*/
|
|
12143
|
+
UnlockActivityRequest.prototype.activityId = 0;
|
|
12144
|
+
|
|
12145
|
+
/**
|
|
12146
|
+
* UnlockActivityRequest userId.
|
|
12147
|
+
* @member {string} userId
|
|
12148
|
+
* @memberof content.UnlockActivityRequest
|
|
12149
|
+
* @instance
|
|
12150
|
+
*/
|
|
12151
|
+
UnlockActivityRequest.prototype.userId = "";
|
|
12152
|
+
|
|
12153
|
+
/**
|
|
12154
|
+
* Creates a new UnlockActivityRequest instance using the specified properties.
|
|
12155
|
+
* @function create
|
|
12156
|
+
* @memberof content.UnlockActivityRequest
|
|
12157
|
+
* @static
|
|
12158
|
+
* @param {content.IUnlockActivityRequest=} [properties] Properties to set
|
|
12159
|
+
* @returns {content.UnlockActivityRequest} UnlockActivityRequest instance
|
|
12160
|
+
*/
|
|
12161
|
+
UnlockActivityRequest.create = function create(properties) {
|
|
12162
|
+
return new UnlockActivityRequest(properties);
|
|
12163
|
+
};
|
|
12164
|
+
|
|
12165
|
+
/**
|
|
12166
|
+
* Encodes the specified UnlockActivityRequest message. Does not implicitly {@link content.UnlockActivityRequest.verify|verify} messages.
|
|
12167
|
+
* @function encode
|
|
12168
|
+
* @memberof content.UnlockActivityRequest
|
|
12169
|
+
* @static
|
|
12170
|
+
* @param {content.IUnlockActivityRequest} message UnlockActivityRequest message or plain object to encode
|
|
12171
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
12172
|
+
* @returns {$protobuf.Writer} Writer
|
|
12173
|
+
*/
|
|
12174
|
+
UnlockActivityRequest.encode = function encode(message, writer) {
|
|
12175
|
+
if (!writer)
|
|
12176
|
+
writer = $Writer.create();
|
|
12177
|
+
if (message.activityId != null && message.hasOwnProperty("activityId"))
|
|
12178
|
+
writer.uint32(/* id 1, wireType 0 =*/8).int32(message.activityId);
|
|
12179
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
12180
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.userId);
|
|
12181
|
+
return writer;
|
|
12182
|
+
};
|
|
12183
|
+
|
|
12184
|
+
/**
|
|
12185
|
+
* Encodes the specified UnlockActivityRequest message, length delimited. Does not implicitly {@link content.UnlockActivityRequest.verify|verify} messages.
|
|
12186
|
+
* @function encodeDelimited
|
|
12187
|
+
* @memberof content.UnlockActivityRequest
|
|
12188
|
+
* @static
|
|
12189
|
+
* @param {content.IUnlockActivityRequest} message UnlockActivityRequest message or plain object to encode
|
|
12190
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
12191
|
+
* @returns {$protobuf.Writer} Writer
|
|
12192
|
+
*/
|
|
12193
|
+
UnlockActivityRequest.encodeDelimited = function encodeDelimited(message, writer) {
|
|
12194
|
+
return this.encode(message, writer).ldelim();
|
|
12195
|
+
};
|
|
12196
|
+
|
|
12197
|
+
/**
|
|
12198
|
+
* Decodes an UnlockActivityRequest message from the specified reader or buffer.
|
|
12199
|
+
* @function decode
|
|
12200
|
+
* @memberof content.UnlockActivityRequest
|
|
12201
|
+
* @static
|
|
12202
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
12203
|
+
* @param {number} [length] Message length if known beforehand
|
|
12204
|
+
* @returns {content.UnlockActivityRequest} UnlockActivityRequest
|
|
12205
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12206
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12207
|
+
*/
|
|
12208
|
+
UnlockActivityRequest.decode = function decode(reader, length) {
|
|
12209
|
+
if (!(reader instanceof $Reader))
|
|
12210
|
+
reader = $Reader.create(reader);
|
|
12211
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.content.UnlockActivityRequest();
|
|
12212
|
+
while (reader.pos < end) {
|
|
12213
|
+
var tag = reader.uint32();
|
|
12214
|
+
switch (tag >>> 3) {
|
|
12215
|
+
case 1:
|
|
12216
|
+
message.activityId = reader.int32();
|
|
12217
|
+
break;
|
|
12218
|
+
case 2:
|
|
12219
|
+
message.userId = reader.string();
|
|
12220
|
+
break;
|
|
12221
|
+
default:
|
|
12222
|
+
reader.skipType(tag & 7);
|
|
12223
|
+
break;
|
|
12224
|
+
}
|
|
12225
|
+
}
|
|
12226
|
+
return message;
|
|
12227
|
+
};
|
|
12228
|
+
|
|
12229
|
+
/**
|
|
12230
|
+
* Decodes an UnlockActivityRequest message from the specified reader or buffer, length delimited.
|
|
12231
|
+
* @function decodeDelimited
|
|
12232
|
+
* @memberof content.UnlockActivityRequest
|
|
12233
|
+
* @static
|
|
12234
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
12235
|
+
* @returns {content.UnlockActivityRequest} UnlockActivityRequest
|
|
12236
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12237
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12238
|
+
*/
|
|
12239
|
+
UnlockActivityRequest.decodeDelimited = function decodeDelimited(reader) {
|
|
12240
|
+
if (!(reader instanceof $Reader))
|
|
12241
|
+
reader = new $Reader(reader);
|
|
12242
|
+
return this.decode(reader, reader.uint32());
|
|
12243
|
+
};
|
|
12244
|
+
|
|
12245
|
+
/**
|
|
12246
|
+
* Verifies an UnlockActivityRequest message.
|
|
12247
|
+
* @function verify
|
|
12248
|
+
* @memberof content.UnlockActivityRequest
|
|
12249
|
+
* @static
|
|
12250
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
12251
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
12252
|
+
*/
|
|
12253
|
+
UnlockActivityRequest.verify = function verify(message) {
|
|
12254
|
+
if (typeof message !== "object" || message === null)
|
|
12255
|
+
return "object expected";
|
|
12256
|
+
if (message.activityId != null && message.hasOwnProperty("activityId"))
|
|
12257
|
+
if (!$util.isInteger(message.activityId))
|
|
12258
|
+
return "activityId: integer expected";
|
|
12259
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
12260
|
+
if (!$util.isString(message.userId))
|
|
12261
|
+
return "userId: string expected";
|
|
12262
|
+
return null;
|
|
12263
|
+
};
|
|
12264
|
+
|
|
12265
|
+
/**
|
|
12266
|
+
* Creates an UnlockActivityRequest message from a plain object. Also converts values to their respective internal types.
|
|
12267
|
+
* @function fromObject
|
|
12268
|
+
* @memberof content.UnlockActivityRequest
|
|
12269
|
+
* @static
|
|
12270
|
+
* @param {Object.<string,*>} object Plain object
|
|
12271
|
+
* @returns {content.UnlockActivityRequest} UnlockActivityRequest
|
|
12272
|
+
*/
|
|
12273
|
+
UnlockActivityRequest.fromObject = function fromObject(object) {
|
|
12274
|
+
if (object instanceof $root.content.UnlockActivityRequest)
|
|
12275
|
+
return object;
|
|
12276
|
+
var message = new $root.content.UnlockActivityRequest();
|
|
12277
|
+
if (object.activityId != null)
|
|
12278
|
+
message.activityId = object.activityId | 0;
|
|
12279
|
+
if (object.userId != null)
|
|
12280
|
+
message.userId = String(object.userId);
|
|
12281
|
+
return message;
|
|
12282
|
+
};
|
|
12283
|
+
|
|
12284
|
+
/**
|
|
12285
|
+
* Creates a plain object from an UnlockActivityRequest message. Also converts values to other types if specified.
|
|
12286
|
+
* @function toObject
|
|
12287
|
+
* @memberof content.UnlockActivityRequest
|
|
12288
|
+
* @static
|
|
12289
|
+
* @param {content.UnlockActivityRequest} message UnlockActivityRequest
|
|
12290
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
12291
|
+
* @returns {Object.<string,*>} Plain object
|
|
12292
|
+
*/
|
|
12293
|
+
UnlockActivityRequest.toObject = function toObject(message, options) {
|
|
12294
|
+
if (!options)
|
|
12295
|
+
options = {};
|
|
12296
|
+
var object = {};
|
|
12297
|
+
if (options.defaults) {
|
|
12298
|
+
object.activityId = 0;
|
|
12299
|
+
object.userId = "";
|
|
12300
|
+
}
|
|
12301
|
+
if (message.activityId != null && message.hasOwnProperty("activityId"))
|
|
12302
|
+
object.activityId = message.activityId;
|
|
12303
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
12304
|
+
object.userId = message.userId;
|
|
12305
|
+
return object;
|
|
12306
|
+
};
|
|
12307
|
+
|
|
12308
|
+
/**
|
|
12309
|
+
* Converts this UnlockActivityRequest to JSON.
|
|
12310
|
+
* @function toJSON
|
|
12311
|
+
* @memberof content.UnlockActivityRequest
|
|
12312
|
+
* @instance
|
|
12313
|
+
* @returns {Object.<string,*>} JSON object
|
|
12314
|
+
*/
|
|
12315
|
+
UnlockActivityRequest.prototype.toJSON = function toJSON() {
|
|
12316
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
12317
|
+
};
|
|
12318
|
+
|
|
12319
|
+
return UnlockActivityRequest;
|
|
12320
|
+
})();
|
|
12321
|
+
|
|
12322
|
+
content.UnlockActivityResponse = (function() {
|
|
12323
|
+
|
|
12324
|
+
/**
|
|
12325
|
+
* Properties of an UnlockActivityResponse.
|
|
12326
|
+
* @memberof content
|
|
12327
|
+
* @interface IUnlockActivityResponse
|
|
12328
|
+
* @property {boolean|null} [success] UnlockActivityResponse success
|
|
12329
|
+
*/
|
|
12330
|
+
|
|
12331
|
+
/**
|
|
12332
|
+
* Constructs a new UnlockActivityResponse.
|
|
12333
|
+
* @memberof content
|
|
12334
|
+
* @classdesc Represents an UnlockActivityResponse.
|
|
12335
|
+
* @implements IUnlockActivityResponse
|
|
12336
|
+
* @constructor
|
|
12337
|
+
* @param {content.IUnlockActivityResponse=} [properties] Properties to set
|
|
12338
|
+
*/
|
|
12339
|
+
function UnlockActivityResponse(properties) {
|
|
12340
|
+
if (properties)
|
|
12341
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
12342
|
+
if (properties[keys[i]] != null)
|
|
12343
|
+
this[keys[i]] = properties[keys[i]];
|
|
12344
|
+
}
|
|
12345
|
+
|
|
12346
|
+
/**
|
|
12347
|
+
* UnlockActivityResponse success.
|
|
12348
|
+
* @member {boolean} success
|
|
12349
|
+
* @memberof content.UnlockActivityResponse
|
|
12350
|
+
* @instance
|
|
12351
|
+
*/
|
|
12352
|
+
UnlockActivityResponse.prototype.success = false;
|
|
12353
|
+
|
|
12354
|
+
/**
|
|
12355
|
+
* Creates a new UnlockActivityResponse instance using the specified properties.
|
|
12356
|
+
* @function create
|
|
12357
|
+
* @memberof content.UnlockActivityResponse
|
|
12358
|
+
* @static
|
|
12359
|
+
* @param {content.IUnlockActivityResponse=} [properties] Properties to set
|
|
12360
|
+
* @returns {content.UnlockActivityResponse} UnlockActivityResponse instance
|
|
12361
|
+
*/
|
|
12362
|
+
UnlockActivityResponse.create = function create(properties) {
|
|
12363
|
+
return new UnlockActivityResponse(properties);
|
|
12364
|
+
};
|
|
12365
|
+
|
|
12366
|
+
/**
|
|
12367
|
+
* Encodes the specified UnlockActivityResponse message. Does not implicitly {@link content.UnlockActivityResponse.verify|verify} messages.
|
|
12368
|
+
* @function encode
|
|
12369
|
+
* @memberof content.UnlockActivityResponse
|
|
12370
|
+
* @static
|
|
12371
|
+
* @param {content.IUnlockActivityResponse} message UnlockActivityResponse message or plain object to encode
|
|
12372
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
12373
|
+
* @returns {$protobuf.Writer} Writer
|
|
12374
|
+
*/
|
|
12375
|
+
UnlockActivityResponse.encode = function encode(message, writer) {
|
|
12376
|
+
if (!writer)
|
|
12377
|
+
writer = $Writer.create();
|
|
12378
|
+
if (message.success != null && message.hasOwnProperty("success"))
|
|
12379
|
+
writer.uint32(/* id 1, wireType 0 =*/8).bool(message.success);
|
|
12380
|
+
return writer;
|
|
12381
|
+
};
|
|
12382
|
+
|
|
12383
|
+
/**
|
|
12384
|
+
* Encodes the specified UnlockActivityResponse message, length delimited. Does not implicitly {@link content.UnlockActivityResponse.verify|verify} messages.
|
|
12385
|
+
* @function encodeDelimited
|
|
12386
|
+
* @memberof content.UnlockActivityResponse
|
|
12387
|
+
* @static
|
|
12388
|
+
* @param {content.IUnlockActivityResponse} message UnlockActivityResponse message or plain object to encode
|
|
12389
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
12390
|
+
* @returns {$protobuf.Writer} Writer
|
|
12391
|
+
*/
|
|
12392
|
+
UnlockActivityResponse.encodeDelimited = function encodeDelimited(message, writer) {
|
|
12393
|
+
return this.encode(message, writer).ldelim();
|
|
12394
|
+
};
|
|
12395
|
+
|
|
12396
|
+
/**
|
|
12397
|
+
* Decodes an UnlockActivityResponse message from the specified reader or buffer.
|
|
12398
|
+
* @function decode
|
|
12399
|
+
* @memberof content.UnlockActivityResponse
|
|
12400
|
+
* @static
|
|
12401
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
12402
|
+
* @param {number} [length] Message length if known beforehand
|
|
12403
|
+
* @returns {content.UnlockActivityResponse} UnlockActivityResponse
|
|
12404
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12405
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12406
|
+
*/
|
|
12407
|
+
UnlockActivityResponse.decode = function decode(reader, length) {
|
|
12408
|
+
if (!(reader instanceof $Reader))
|
|
12409
|
+
reader = $Reader.create(reader);
|
|
12410
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.content.UnlockActivityResponse();
|
|
12411
|
+
while (reader.pos < end) {
|
|
12412
|
+
var tag = reader.uint32();
|
|
12413
|
+
switch (tag >>> 3) {
|
|
12414
|
+
case 1:
|
|
12415
|
+
message.success = reader.bool();
|
|
12416
|
+
break;
|
|
12417
|
+
default:
|
|
12418
|
+
reader.skipType(tag & 7);
|
|
12419
|
+
break;
|
|
12420
|
+
}
|
|
12421
|
+
}
|
|
12422
|
+
return message;
|
|
12423
|
+
};
|
|
12424
|
+
|
|
12425
|
+
/**
|
|
12426
|
+
* Decodes an UnlockActivityResponse message from the specified reader or buffer, length delimited.
|
|
12427
|
+
* @function decodeDelimited
|
|
12428
|
+
* @memberof content.UnlockActivityResponse
|
|
12429
|
+
* @static
|
|
12430
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
12431
|
+
* @returns {content.UnlockActivityResponse} UnlockActivityResponse
|
|
12432
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12433
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12434
|
+
*/
|
|
12435
|
+
UnlockActivityResponse.decodeDelimited = function decodeDelimited(reader) {
|
|
12436
|
+
if (!(reader instanceof $Reader))
|
|
12437
|
+
reader = new $Reader(reader);
|
|
12438
|
+
return this.decode(reader, reader.uint32());
|
|
12439
|
+
};
|
|
12440
|
+
|
|
12441
|
+
/**
|
|
12442
|
+
* Verifies an UnlockActivityResponse message.
|
|
12443
|
+
* @function verify
|
|
12444
|
+
* @memberof content.UnlockActivityResponse
|
|
12445
|
+
* @static
|
|
12446
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
12447
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
12448
|
+
*/
|
|
12449
|
+
UnlockActivityResponse.verify = function verify(message) {
|
|
12450
|
+
if (typeof message !== "object" || message === null)
|
|
12451
|
+
return "object expected";
|
|
12452
|
+
if (message.success != null && message.hasOwnProperty("success"))
|
|
12453
|
+
if (typeof message.success !== "boolean")
|
|
12454
|
+
return "success: boolean expected";
|
|
12455
|
+
return null;
|
|
12456
|
+
};
|
|
12457
|
+
|
|
12458
|
+
/**
|
|
12459
|
+
* Creates an UnlockActivityResponse message from a plain object. Also converts values to their respective internal types.
|
|
12460
|
+
* @function fromObject
|
|
12461
|
+
* @memberof content.UnlockActivityResponse
|
|
12462
|
+
* @static
|
|
12463
|
+
* @param {Object.<string,*>} object Plain object
|
|
12464
|
+
* @returns {content.UnlockActivityResponse} UnlockActivityResponse
|
|
12465
|
+
*/
|
|
12466
|
+
UnlockActivityResponse.fromObject = function fromObject(object) {
|
|
12467
|
+
if (object instanceof $root.content.UnlockActivityResponse)
|
|
12468
|
+
return object;
|
|
12469
|
+
var message = new $root.content.UnlockActivityResponse();
|
|
12470
|
+
if (object.success != null)
|
|
12471
|
+
message.success = Boolean(object.success);
|
|
12472
|
+
return message;
|
|
12473
|
+
};
|
|
12474
|
+
|
|
12475
|
+
/**
|
|
12476
|
+
* Creates a plain object from an UnlockActivityResponse message. Also converts values to other types if specified.
|
|
12477
|
+
* @function toObject
|
|
12478
|
+
* @memberof content.UnlockActivityResponse
|
|
12479
|
+
* @static
|
|
12480
|
+
* @param {content.UnlockActivityResponse} message UnlockActivityResponse
|
|
12481
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
12482
|
+
* @returns {Object.<string,*>} Plain object
|
|
12483
|
+
*/
|
|
12484
|
+
UnlockActivityResponse.toObject = function toObject(message, options) {
|
|
12485
|
+
if (!options)
|
|
12486
|
+
options = {};
|
|
12487
|
+
var object = {};
|
|
12488
|
+
if (options.defaults)
|
|
12489
|
+
object.success = false;
|
|
12490
|
+
if (message.success != null && message.hasOwnProperty("success"))
|
|
12491
|
+
object.success = message.success;
|
|
12492
|
+
return object;
|
|
12493
|
+
};
|
|
12494
|
+
|
|
12495
|
+
/**
|
|
12496
|
+
* Converts this UnlockActivityResponse to JSON.
|
|
12497
|
+
* @function toJSON
|
|
12498
|
+
* @memberof content.UnlockActivityResponse
|
|
12499
|
+
* @instance
|
|
12500
|
+
* @returns {Object.<string,*>} JSON object
|
|
12501
|
+
*/
|
|
12502
|
+
UnlockActivityResponse.prototype.toJSON = function toJSON() {
|
|
12503
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
12504
|
+
};
|
|
12505
|
+
|
|
12506
|
+
return UnlockActivityResponse;
|
|
12507
|
+
})();
|
|
12508
|
+
|
|
12042
12509
|
content.UserStatManager = (function() {
|
|
12043
12510
|
|
|
12044
12511
|
/**
|
|
@@ -27924,6 +28391,7 @@ $root.SuccessfulUserLogin = (function() {
|
|
|
27924
28391
|
case 8:
|
|
27925
28392
|
case 9:
|
|
27926
28393
|
case 10:
|
|
28394
|
+
case 11:
|
|
27927
28395
|
break;
|
|
27928
28396
|
}
|
|
27929
28397
|
return null;
|
|
@@ -28051,6 +28519,10 @@ $root.SuccessfulUserLogin = (function() {
|
|
|
28051
28519
|
case 10:
|
|
28052
28520
|
message.connection = 10;
|
|
28053
28521
|
break;
|
|
28522
|
+
case "THOUGHTWORKS_OKTA_SSO":
|
|
28523
|
+
case 11:
|
|
28524
|
+
message.connection = 11;
|
|
28525
|
+
break;
|
|
28054
28526
|
}
|
|
28055
28527
|
return message;
|
|
28056
28528
|
};
|
|
@@ -28282,6 +28754,7 @@ $root.UnlinkedConnection = (function() {
|
|
|
28282
28754
|
case 8:
|
|
28283
28755
|
case 9:
|
|
28284
28756
|
case 10:
|
|
28757
|
+
case 11:
|
|
28285
28758
|
break;
|
|
28286
28759
|
}
|
|
28287
28760
|
if (message.unlinkedAt != null && message.hasOwnProperty("unlinkedAt"))
|
|
@@ -28349,6 +28822,10 @@ $root.UnlinkedConnection = (function() {
|
|
|
28349
28822
|
case 10:
|
|
28350
28823
|
message.connection = 10;
|
|
28351
28824
|
break;
|
|
28825
|
+
case "THOUGHTWORKS_OKTA_SSO":
|
|
28826
|
+
case 11:
|
|
28827
|
+
message.connection = 11;
|
|
28828
|
+
break;
|
|
28352
28829
|
}
|
|
28353
28830
|
if (object.unlinkedAt != null)
|
|
28354
28831
|
if ($util.Long)
|
|
@@ -28600,6 +29077,7 @@ $root.ConnectionLinked = (function() {
|
|
|
28600
29077
|
case 8:
|
|
28601
29078
|
case 9:
|
|
28602
29079
|
case 10:
|
|
29080
|
+
case 11:
|
|
28603
29081
|
break;
|
|
28604
29082
|
}
|
|
28605
29083
|
if (message.linkedAt != null && message.hasOwnProperty("linkedAt"))
|
|
@@ -28670,6 +29148,10 @@ $root.ConnectionLinked = (function() {
|
|
|
28670
29148
|
case 10:
|
|
28671
29149
|
message.connection = 10;
|
|
28672
29150
|
break;
|
|
29151
|
+
case "THOUGHTWORKS_OKTA_SSO":
|
|
29152
|
+
case 11:
|
|
29153
|
+
message.connection = 11;
|
|
29154
|
+
break;
|
|
28673
29155
|
}
|
|
28674
29156
|
if (object.linkedAt != null)
|
|
28675
29157
|
if ($util.Long)
|
package/package.json
CHANGED