@headspace/protos-events 1.721.0 → 1.722.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 -96
- package/lib/index.js +0 -238
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -32028,102 +32028,6 @@ export class OrganizationMFAUpdated implements IOrganizationMFAUpdated {
|
|
|
32028
32028
|
public toJSON(): { [k: string]: any };
|
|
32029
32029
|
}
|
|
32030
32030
|
|
|
32031
|
-
/** Properties of a B2bSsoOrganizationMigrated. */
|
|
32032
|
-
export interface IB2bSsoOrganizationMigrated {
|
|
32033
|
-
|
|
32034
|
-
/** B2bSsoOrganizationMigrated orgId */
|
|
32035
|
-
orgId?: (number|Long|null);
|
|
32036
|
-
|
|
32037
|
-
/** B2bSsoOrganizationMigrated migratedAtTimestamp */
|
|
32038
|
-
migratedAtTimestamp?: (number|Long|null);
|
|
32039
|
-
}
|
|
32040
|
-
|
|
32041
|
-
/** Represents a B2bSsoOrganizationMigrated. */
|
|
32042
|
-
export class B2bSsoOrganizationMigrated implements IB2bSsoOrganizationMigrated {
|
|
32043
|
-
|
|
32044
|
-
/**
|
|
32045
|
-
* Constructs a new B2bSsoOrganizationMigrated.
|
|
32046
|
-
* @param [properties] Properties to set
|
|
32047
|
-
*/
|
|
32048
|
-
constructor(properties?: IB2bSsoOrganizationMigrated);
|
|
32049
|
-
|
|
32050
|
-
/** B2bSsoOrganizationMigrated orgId. */
|
|
32051
|
-
public orgId: (number|Long);
|
|
32052
|
-
|
|
32053
|
-
/** B2bSsoOrganizationMigrated migratedAtTimestamp. */
|
|
32054
|
-
public migratedAtTimestamp: (number|Long);
|
|
32055
|
-
|
|
32056
|
-
/**
|
|
32057
|
-
* Creates a new B2bSsoOrganizationMigrated instance using the specified properties.
|
|
32058
|
-
* @param [properties] Properties to set
|
|
32059
|
-
* @returns B2bSsoOrganizationMigrated instance
|
|
32060
|
-
*/
|
|
32061
|
-
public static create(properties?: IB2bSsoOrganizationMigrated): B2bSsoOrganizationMigrated;
|
|
32062
|
-
|
|
32063
|
-
/**
|
|
32064
|
-
* Encodes the specified B2bSsoOrganizationMigrated message. Does not implicitly {@link B2bSsoOrganizationMigrated.verify|verify} messages.
|
|
32065
|
-
* @param message B2bSsoOrganizationMigrated message or plain object to encode
|
|
32066
|
-
* @param [writer] Writer to encode to
|
|
32067
|
-
* @returns Writer
|
|
32068
|
-
*/
|
|
32069
|
-
public static encode(message: IB2bSsoOrganizationMigrated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
32070
|
-
|
|
32071
|
-
/**
|
|
32072
|
-
* Encodes the specified B2bSsoOrganizationMigrated message, length delimited. Does not implicitly {@link B2bSsoOrganizationMigrated.verify|verify} messages.
|
|
32073
|
-
* @param message B2bSsoOrganizationMigrated message or plain object to encode
|
|
32074
|
-
* @param [writer] Writer to encode to
|
|
32075
|
-
* @returns Writer
|
|
32076
|
-
*/
|
|
32077
|
-
public static encodeDelimited(message: IB2bSsoOrganizationMigrated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
32078
|
-
|
|
32079
|
-
/**
|
|
32080
|
-
* Decodes a B2bSsoOrganizationMigrated message from the specified reader or buffer.
|
|
32081
|
-
* @param reader Reader or buffer to decode from
|
|
32082
|
-
* @param [length] Message length if known beforehand
|
|
32083
|
-
* @returns B2bSsoOrganizationMigrated
|
|
32084
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
32085
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
32086
|
-
*/
|
|
32087
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): B2bSsoOrganizationMigrated;
|
|
32088
|
-
|
|
32089
|
-
/**
|
|
32090
|
-
* Decodes a B2bSsoOrganizationMigrated message from the specified reader or buffer, length delimited.
|
|
32091
|
-
* @param reader Reader or buffer to decode from
|
|
32092
|
-
* @returns B2bSsoOrganizationMigrated
|
|
32093
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
32094
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
32095
|
-
*/
|
|
32096
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): B2bSsoOrganizationMigrated;
|
|
32097
|
-
|
|
32098
|
-
/**
|
|
32099
|
-
* Verifies a B2bSsoOrganizationMigrated message.
|
|
32100
|
-
* @param message Plain object to verify
|
|
32101
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
32102
|
-
*/
|
|
32103
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
32104
|
-
|
|
32105
|
-
/**
|
|
32106
|
-
* Creates a B2bSsoOrganizationMigrated message from a plain object. Also converts values to their respective internal types.
|
|
32107
|
-
* @param object Plain object
|
|
32108
|
-
* @returns B2bSsoOrganizationMigrated
|
|
32109
|
-
*/
|
|
32110
|
-
public static fromObject(object: { [k: string]: any }): B2bSsoOrganizationMigrated;
|
|
32111
|
-
|
|
32112
|
-
/**
|
|
32113
|
-
* Creates a plain object from a B2bSsoOrganizationMigrated message. Also converts values to other types if specified.
|
|
32114
|
-
* @param message B2bSsoOrganizationMigrated
|
|
32115
|
-
* @param [options] Conversion options
|
|
32116
|
-
* @returns Plain object
|
|
32117
|
-
*/
|
|
32118
|
-
public static toObject(message: B2bSsoOrganizationMigrated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
32119
|
-
|
|
32120
|
-
/**
|
|
32121
|
-
* Converts this B2bSsoOrganizationMigrated to JSON.
|
|
32122
|
-
* @returns JSON object
|
|
32123
|
-
*/
|
|
32124
|
-
public toJSON(): { [k: string]: any };
|
|
32125
|
-
}
|
|
32126
|
-
|
|
32127
32031
|
/** Properties of an OrgMarketingConfigUpdated. */
|
|
32128
32032
|
export interface IOrgMarketingConfigUpdated {
|
|
32129
32033
|
|
package/lib/index.js
CHANGED
|
@@ -90143,244 +90143,6 @@ $root.OrganizationMFAUpdated = (function() {
|
|
|
90143
90143
|
return OrganizationMFAUpdated;
|
|
90144
90144
|
})();
|
|
90145
90145
|
|
|
90146
|
-
$root.B2bSsoOrganizationMigrated = (function() {
|
|
90147
|
-
|
|
90148
|
-
/**
|
|
90149
|
-
* Properties of a B2bSsoOrganizationMigrated.
|
|
90150
|
-
* @name IB2bSsoOrganizationMigrated
|
|
90151
|
-
* @interface IB2bSsoOrganizationMigrated
|
|
90152
|
-
* @property {number|Long|null} [orgId] B2bSsoOrganizationMigrated orgId
|
|
90153
|
-
* @property {number|Long|null} [migratedAtTimestamp] B2bSsoOrganizationMigrated migratedAtTimestamp
|
|
90154
|
-
*/
|
|
90155
|
-
|
|
90156
|
-
/**
|
|
90157
|
-
* Constructs a new B2bSsoOrganizationMigrated.
|
|
90158
|
-
* @name B2bSsoOrganizationMigrated
|
|
90159
|
-
* @classdesc Represents a B2bSsoOrganizationMigrated.
|
|
90160
|
-
* @implements IB2bSsoOrganizationMigrated
|
|
90161
|
-
* @constructor
|
|
90162
|
-
* @param {IB2bSsoOrganizationMigrated=} [properties] Properties to set
|
|
90163
|
-
*/
|
|
90164
|
-
function B2bSsoOrganizationMigrated(properties) {
|
|
90165
|
-
if (properties)
|
|
90166
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
90167
|
-
if (properties[keys[i]] != null)
|
|
90168
|
-
this[keys[i]] = properties[keys[i]];
|
|
90169
|
-
}
|
|
90170
|
-
|
|
90171
|
-
/**
|
|
90172
|
-
* B2bSsoOrganizationMigrated orgId.
|
|
90173
|
-
* @member {number|Long} orgId
|
|
90174
|
-
* @memberof B2bSsoOrganizationMigrated
|
|
90175
|
-
* @instance
|
|
90176
|
-
*/
|
|
90177
|
-
B2bSsoOrganizationMigrated.prototype.orgId = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
90178
|
-
|
|
90179
|
-
/**
|
|
90180
|
-
* B2bSsoOrganizationMigrated migratedAtTimestamp.
|
|
90181
|
-
* @member {number|Long} migratedAtTimestamp
|
|
90182
|
-
* @memberof B2bSsoOrganizationMigrated
|
|
90183
|
-
* @instance
|
|
90184
|
-
*/
|
|
90185
|
-
B2bSsoOrganizationMigrated.prototype.migratedAtTimestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
90186
|
-
|
|
90187
|
-
/**
|
|
90188
|
-
* Creates a new B2bSsoOrganizationMigrated instance using the specified properties.
|
|
90189
|
-
* @function create
|
|
90190
|
-
* @memberof B2bSsoOrganizationMigrated
|
|
90191
|
-
* @static
|
|
90192
|
-
* @param {IB2bSsoOrganizationMigrated=} [properties] Properties to set
|
|
90193
|
-
* @returns {B2bSsoOrganizationMigrated} B2bSsoOrganizationMigrated instance
|
|
90194
|
-
*/
|
|
90195
|
-
B2bSsoOrganizationMigrated.create = function create(properties) {
|
|
90196
|
-
return new B2bSsoOrganizationMigrated(properties);
|
|
90197
|
-
};
|
|
90198
|
-
|
|
90199
|
-
/**
|
|
90200
|
-
* Encodes the specified B2bSsoOrganizationMigrated message. Does not implicitly {@link B2bSsoOrganizationMigrated.verify|verify} messages.
|
|
90201
|
-
* @function encode
|
|
90202
|
-
* @memberof B2bSsoOrganizationMigrated
|
|
90203
|
-
* @static
|
|
90204
|
-
* @param {IB2bSsoOrganizationMigrated} message B2bSsoOrganizationMigrated message or plain object to encode
|
|
90205
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
90206
|
-
* @returns {$protobuf.Writer} Writer
|
|
90207
|
-
*/
|
|
90208
|
-
B2bSsoOrganizationMigrated.encode = function encode(message, writer) {
|
|
90209
|
-
if (!writer)
|
|
90210
|
-
writer = $Writer.create();
|
|
90211
|
-
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
90212
|
-
writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.orgId);
|
|
90213
|
-
if (message.migratedAtTimestamp != null && message.hasOwnProperty("migratedAtTimestamp"))
|
|
90214
|
-
writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.migratedAtTimestamp);
|
|
90215
|
-
return writer;
|
|
90216
|
-
};
|
|
90217
|
-
|
|
90218
|
-
/**
|
|
90219
|
-
* Encodes the specified B2bSsoOrganizationMigrated message, length delimited. Does not implicitly {@link B2bSsoOrganizationMigrated.verify|verify} messages.
|
|
90220
|
-
* @function encodeDelimited
|
|
90221
|
-
* @memberof B2bSsoOrganizationMigrated
|
|
90222
|
-
* @static
|
|
90223
|
-
* @param {IB2bSsoOrganizationMigrated} message B2bSsoOrganizationMigrated message or plain object to encode
|
|
90224
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
90225
|
-
* @returns {$protobuf.Writer} Writer
|
|
90226
|
-
*/
|
|
90227
|
-
B2bSsoOrganizationMigrated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
90228
|
-
return this.encode(message, writer).ldelim();
|
|
90229
|
-
};
|
|
90230
|
-
|
|
90231
|
-
/**
|
|
90232
|
-
* Decodes a B2bSsoOrganizationMigrated message from the specified reader or buffer.
|
|
90233
|
-
* @function decode
|
|
90234
|
-
* @memberof B2bSsoOrganizationMigrated
|
|
90235
|
-
* @static
|
|
90236
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
90237
|
-
* @param {number} [length] Message length if known beforehand
|
|
90238
|
-
* @returns {B2bSsoOrganizationMigrated} B2bSsoOrganizationMigrated
|
|
90239
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
90240
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
90241
|
-
*/
|
|
90242
|
-
B2bSsoOrganizationMigrated.decode = function decode(reader, length) {
|
|
90243
|
-
if (!(reader instanceof $Reader))
|
|
90244
|
-
reader = $Reader.create(reader);
|
|
90245
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.B2bSsoOrganizationMigrated();
|
|
90246
|
-
while (reader.pos < end) {
|
|
90247
|
-
var tag = reader.uint32();
|
|
90248
|
-
switch (tag >>> 3) {
|
|
90249
|
-
case 1:
|
|
90250
|
-
message.orgId = reader.uint64();
|
|
90251
|
-
break;
|
|
90252
|
-
case 2:
|
|
90253
|
-
message.migratedAtTimestamp = reader.uint64();
|
|
90254
|
-
break;
|
|
90255
|
-
default:
|
|
90256
|
-
reader.skipType(tag & 7);
|
|
90257
|
-
break;
|
|
90258
|
-
}
|
|
90259
|
-
}
|
|
90260
|
-
return message;
|
|
90261
|
-
};
|
|
90262
|
-
|
|
90263
|
-
/**
|
|
90264
|
-
* Decodes a B2bSsoOrganizationMigrated message from the specified reader or buffer, length delimited.
|
|
90265
|
-
* @function decodeDelimited
|
|
90266
|
-
* @memberof B2bSsoOrganizationMigrated
|
|
90267
|
-
* @static
|
|
90268
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
90269
|
-
* @returns {B2bSsoOrganizationMigrated} B2bSsoOrganizationMigrated
|
|
90270
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
90271
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
90272
|
-
*/
|
|
90273
|
-
B2bSsoOrganizationMigrated.decodeDelimited = function decodeDelimited(reader) {
|
|
90274
|
-
if (!(reader instanceof $Reader))
|
|
90275
|
-
reader = new $Reader(reader);
|
|
90276
|
-
return this.decode(reader, reader.uint32());
|
|
90277
|
-
};
|
|
90278
|
-
|
|
90279
|
-
/**
|
|
90280
|
-
* Verifies a B2bSsoOrganizationMigrated message.
|
|
90281
|
-
* @function verify
|
|
90282
|
-
* @memberof B2bSsoOrganizationMigrated
|
|
90283
|
-
* @static
|
|
90284
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
90285
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
90286
|
-
*/
|
|
90287
|
-
B2bSsoOrganizationMigrated.verify = function verify(message) {
|
|
90288
|
-
if (typeof message !== "object" || message === null)
|
|
90289
|
-
return "object expected";
|
|
90290
|
-
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
90291
|
-
if (!$util.isInteger(message.orgId) && !(message.orgId && $util.isInteger(message.orgId.low) && $util.isInteger(message.orgId.high)))
|
|
90292
|
-
return "orgId: integer|Long expected";
|
|
90293
|
-
if (message.migratedAtTimestamp != null && message.hasOwnProperty("migratedAtTimestamp"))
|
|
90294
|
-
if (!$util.isInteger(message.migratedAtTimestamp) && !(message.migratedAtTimestamp && $util.isInteger(message.migratedAtTimestamp.low) && $util.isInteger(message.migratedAtTimestamp.high)))
|
|
90295
|
-
return "migratedAtTimestamp: integer|Long expected";
|
|
90296
|
-
return null;
|
|
90297
|
-
};
|
|
90298
|
-
|
|
90299
|
-
/**
|
|
90300
|
-
* Creates a B2bSsoOrganizationMigrated message from a plain object. Also converts values to their respective internal types.
|
|
90301
|
-
* @function fromObject
|
|
90302
|
-
* @memberof B2bSsoOrganizationMigrated
|
|
90303
|
-
* @static
|
|
90304
|
-
* @param {Object.<string,*>} object Plain object
|
|
90305
|
-
* @returns {B2bSsoOrganizationMigrated} B2bSsoOrganizationMigrated
|
|
90306
|
-
*/
|
|
90307
|
-
B2bSsoOrganizationMigrated.fromObject = function fromObject(object) {
|
|
90308
|
-
if (object instanceof $root.B2bSsoOrganizationMigrated)
|
|
90309
|
-
return object;
|
|
90310
|
-
var message = new $root.B2bSsoOrganizationMigrated();
|
|
90311
|
-
if (object.orgId != null)
|
|
90312
|
-
if ($util.Long)
|
|
90313
|
-
(message.orgId = $util.Long.fromValue(object.orgId)).unsigned = true;
|
|
90314
|
-
else if (typeof object.orgId === "string")
|
|
90315
|
-
message.orgId = parseInt(object.orgId, 10);
|
|
90316
|
-
else if (typeof object.orgId === "number")
|
|
90317
|
-
message.orgId = object.orgId;
|
|
90318
|
-
else if (typeof object.orgId === "object")
|
|
90319
|
-
message.orgId = new $util.LongBits(object.orgId.low >>> 0, object.orgId.high >>> 0).toNumber(true);
|
|
90320
|
-
if (object.migratedAtTimestamp != null)
|
|
90321
|
-
if ($util.Long)
|
|
90322
|
-
(message.migratedAtTimestamp = $util.Long.fromValue(object.migratedAtTimestamp)).unsigned = true;
|
|
90323
|
-
else if (typeof object.migratedAtTimestamp === "string")
|
|
90324
|
-
message.migratedAtTimestamp = parseInt(object.migratedAtTimestamp, 10);
|
|
90325
|
-
else if (typeof object.migratedAtTimestamp === "number")
|
|
90326
|
-
message.migratedAtTimestamp = object.migratedAtTimestamp;
|
|
90327
|
-
else if (typeof object.migratedAtTimestamp === "object")
|
|
90328
|
-
message.migratedAtTimestamp = new $util.LongBits(object.migratedAtTimestamp.low >>> 0, object.migratedAtTimestamp.high >>> 0).toNumber(true);
|
|
90329
|
-
return message;
|
|
90330
|
-
};
|
|
90331
|
-
|
|
90332
|
-
/**
|
|
90333
|
-
* Creates a plain object from a B2bSsoOrganizationMigrated message. Also converts values to other types if specified.
|
|
90334
|
-
* @function toObject
|
|
90335
|
-
* @memberof B2bSsoOrganizationMigrated
|
|
90336
|
-
* @static
|
|
90337
|
-
* @param {B2bSsoOrganizationMigrated} message B2bSsoOrganizationMigrated
|
|
90338
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
90339
|
-
* @returns {Object.<string,*>} Plain object
|
|
90340
|
-
*/
|
|
90341
|
-
B2bSsoOrganizationMigrated.toObject = function toObject(message, options) {
|
|
90342
|
-
if (!options)
|
|
90343
|
-
options = {};
|
|
90344
|
-
var object = {};
|
|
90345
|
-
if (options.defaults) {
|
|
90346
|
-
if ($util.Long) {
|
|
90347
|
-
var long = new $util.Long(0, 0, true);
|
|
90348
|
-
object.orgId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
90349
|
-
} else
|
|
90350
|
-
object.orgId = options.longs === String ? "0" : 0;
|
|
90351
|
-
if ($util.Long) {
|
|
90352
|
-
var long = new $util.Long(0, 0, true);
|
|
90353
|
-
object.migratedAtTimestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
90354
|
-
} else
|
|
90355
|
-
object.migratedAtTimestamp = options.longs === String ? "0" : 0;
|
|
90356
|
-
}
|
|
90357
|
-
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
90358
|
-
if (typeof message.orgId === "number")
|
|
90359
|
-
object.orgId = options.longs === String ? String(message.orgId) : message.orgId;
|
|
90360
|
-
else
|
|
90361
|
-
object.orgId = options.longs === String ? $util.Long.prototype.toString.call(message.orgId) : options.longs === Number ? new $util.LongBits(message.orgId.low >>> 0, message.orgId.high >>> 0).toNumber(true) : message.orgId;
|
|
90362
|
-
if (message.migratedAtTimestamp != null && message.hasOwnProperty("migratedAtTimestamp"))
|
|
90363
|
-
if (typeof message.migratedAtTimestamp === "number")
|
|
90364
|
-
object.migratedAtTimestamp = options.longs === String ? String(message.migratedAtTimestamp) : message.migratedAtTimestamp;
|
|
90365
|
-
else
|
|
90366
|
-
object.migratedAtTimestamp = options.longs === String ? $util.Long.prototype.toString.call(message.migratedAtTimestamp) : options.longs === Number ? new $util.LongBits(message.migratedAtTimestamp.low >>> 0, message.migratedAtTimestamp.high >>> 0).toNumber(true) : message.migratedAtTimestamp;
|
|
90367
|
-
return object;
|
|
90368
|
-
};
|
|
90369
|
-
|
|
90370
|
-
/**
|
|
90371
|
-
* Converts this B2bSsoOrganizationMigrated to JSON.
|
|
90372
|
-
* @function toJSON
|
|
90373
|
-
* @memberof B2bSsoOrganizationMigrated
|
|
90374
|
-
* @instance
|
|
90375
|
-
* @returns {Object.<string,*>} JSON object
|
|
90376
|
-
*/
|
|
90377
|
-
B2bSsoOrganizationMigrated.prototype.toJSON = function toJSON() {
|
|
90378
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
90379
|
-
};
|
|
90380
|
-
|
|
90381
|
-
return B2bSsoOrganizationMigrated;
|
|
90382
|
-
})();
|
|
90383
|
-
|
|
90384
90146
|
$root.OrgMarketingConfigUpdated = (function() {
|
|
90385
90147
|
|
|
90386
90148
|
/**
|
package/package.json
CHANGED