@headspace/protos-events 1.447.0 → 1.449.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 +12 -96
- package/lib/index.js +44 -224
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -29384,102 +29384,6 @@ export class B2BChallengeCreated implements IB2BChallengeCreated {
|
|
|
29384
29384
|
public toJSON(): { [k: string]: any };
|
|
29385
29385
|
}
|
|
29386
29386
|
|
|
29387
|
-
/** Properties of a B2BChallengeScheduled. */
|
|
29388
|
-
export interface IB2BChallengeScheduled {
|
|
29389
|
-
|
|
29390
|
-
/** B2BChallengeScheduled challengeId */
|
|
29391
|
-
challengeId?: (number|Long|null);
|
|
29392
|
-
|
|
29393
|
-
/** B2BChallengeScheduled brazeScheduleId */
|
|
29394
|
-
brazeScheduleId?: (string|null);
|
|
29395
|
-
}
|
|
29396
|
-
|
|
29397
|
-
/** Represents a B2BChallengeScheduled. */
|
|
29398
|
-
export class B2BChallengeScheduled implements IB2BChallengeScheduled {
|
|
29399
|
-
|
|
29400
|
-
/**
|
|
29401
|
-
* Constructs a new B2BChallengeScheduled.
|
|
29402
|
-
* @param [properties] Properties to set
|
|
29403
|
-
*/
|
|
29404
|
-
constructor(properties?: IB2BChallengeScheduled);
|
|
29405
|
-
|
|
29406
|
-
/** B2BChallengeScheduled challengeId. */
|
|
29407
|
-
public challengeId: (number|Long);
|
|
29408
|
-
|
|
29409
|
-
/** B2BChallengeScheduled brazeScheduleId. */
|
|
29410
|
-
public brazeScheduleId: string;
|
|
29411
|
-
|
|
29412
|
-
/**
|
|
29413
|
-
* Creates a new B2BChallengeScheduled instance using the specified properties.
|
|
29414
|
-
* @param [properties] Properties to set
|
|
29415
|
-
* @returns B2BChallengeScheduled instance
|
|
29416
|
-
*/
|
|
29417
|
-
public static create(properties?: IB2BChallengeScheduled): B2BChallengeScheduled;
|
|
29418
|
-
|
|
29419
|
-
/**
|
|
29420
|
-
* Encodes the specified B2BChallengeScheduled message. Does not implicitly {@link B2BChallengeScheduled.verify|verify} messages.
|
|
29421
|
-
* @param message B2BChallengeScheduled message or plain object to encode
|
|
29422
|
-
* @param [writer] Writer to encode to
|
|
29423
|
-
* @returns Writer
|
|
29424
|
-
*/
|
|
29425
|
-
public static encode(message: IB2BChallengeScheduled, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
29426
|
-
|
|
29427
|
-
/**
|
|
29428
|
-
* Encodes the specified B2BChallengeScheduled message, length delimited. Does not implicitly {@link B2BChallengeScheduled.verify|verify} messages.
|
|
29429
|
-
* @param message B2BChallengeScheduled message or plain object to encode
|
|
29430
|
-
* @param [writer] Writer to encode to
|
|
29431
|
-
* @returns Writer
|
|
29432
|
-
*/
|
|
29433
|
-
public static encodeDelimited(message: IB2BChallengeScheduled, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
29434
|
-
|
|
29435
|
-
/**
|
|
29436
|
-
* Decodes a B2BChallengeScheduled message from the specified reader or buffer.
|
|
29437
|
-
* @param reader Reader or buffer to decode from
|
|
29438
|
-
* @param [length] Message length if known beforehand
|
|
29439
|
-
* @returns B2BChallengeScheduled
|
|
29440
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
29441
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
29442
|
-
*/
|
|
29443
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): B2BChallengeScheduled;
|
|
29444
|
-
|
|
29445
|
-
/**
|
|
29446
|
-
* Decodes a B2BChallengeScheduled message from the specified reader or buffer, length delimited.
|
|
29447
|
-
* @param reader Reader or buffer to decode from
|
|
29448
|
-
* @returns B2BChallengeScheduled
|
|
29449
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
29450
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
29451
|
-
*/
|
|
29452
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): B2BChallengeScheduled;
|
|
29453
|
-
|
|
29454
|
-
/**
|
|
29455
|
-
* Verifies a B2BChallengeScheduled message.
|
|
29456
|
-
* @param message Plain object to verify
|
|
29457
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
29458
|
-
*/
|
|
29459
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
29460
|
-
|
|
29461
|
-
/**
|
|
29462
|
-
* Creates a B2BChallengeScheduled message from a plain object. Also converts values to their respective internal types.
|
|
29463
|
-
* @param object Plain object
|
|
29464
|
-
* @returns B2BChallengeScheduled
|
|
29465
|
-
*/
|
|
29466
|
-
public static fromObject(object: { [k: string]: any }): B2BChallengeScheduled;
|
|
29467
|
-
|
|
29468
|
-
/**
|
|
29469
|
-
* Creates a plain object from a B2BChallengeScheduled message. Also converts values to other types if specified.
|
|
29470
|
-
* @param message B2BChallengeScheduled
|
|
29471
|
-
* @param [options] Conversion options
|
|
29472
|
-
* @returns Plain object
|
|
29473
|
-
*/
|
|
29474
|
-
public static toObject(message: B2BChallengeScheduled, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
29475
|
-
|
|
29476
|
-
/**
|
|
29477
|
-
* Converts this B2BChallengeScheduled to JSON.
|
|
29478
|
-
* @returns JSON object
|
|
29479
|
-
*/
|
|
29480
|
-
public toJSON(): { [k: string]: any };
|
|
29481
|
-
}
|
|
29482
|
-
|
|
29483
29387
|
/** Properties of an EligibilityFileProcessed. */
|
|
29484
29388
|
export interface IEligibilityFileProcessed {
|
|
29485
29389
|
|
|
@@ -37916,6 +37820,12 @@ export interface IModerationActionPerformed {
|
|
|
37916
37820
|
|
|
37917
37821
|
/** ModerationActionPerformed moderationSource */
|
|
37918
37822
|
moderationSource?: (ModerationActionPerformed.ModerationSource|null);
|
|
37823
|
+
|
|
37824
|
+
/** ModerationActionPerformed contentId */
|
|
37825
|
+
contentId?: (string|null);
|
|
37826
|
+
|
|
37827
|
+
/** ModerationActionPerformed contentAuthorId */
|
|
37828
|
+
contentAuthorId?: (string|null);
|
|
37919
37829
|
}
|
|
37920
37830
|
|
|
37921
37831
|
/** Represents a ModerationActionPerformed. */
|
|
@@ -37948,6 +37858,12 @@ export class ModerationActionPerformed implements IModerationActionPerformed {
|
|
|
37948
37858
|
/** ModerationActionPerformed moderationSource. */
|
|
37949
37859
|
public moderationSource: ModerationActionPerformed.ModerationSource;
|
|
37950
37860
|
|
|
37861
|
+
/** ModerationActionPerformed contentId. */
|
|
37862
|
+
public contentId: string;
|
|
37863
|
+
|
|
37864
|
+
/** ModerationActionPerformed contentAuthorId. */
|
|
37865
|
+
public contentAuthorId: string;
|
|
37866
|
+
|
|
37951
37867
|
/**
|
|
37952
37868
|
* Creates a new ModerationActionPerformed instance using the specified properties.
|
|
37953
37869
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -81314,230 +81314,6 @@ $root.B2BChallengeCreated = (function() {
|
|
|
81314
81314
|
return B2BChallengeCreated;
|
|
81315
81315
|
})();
|
|
81316
81316
|
|
|
81317
|
-
$root.B2BChallengeScheduled = (function() {
|
|
81318
|
-
|
|
81319
|
-
/**
|
|
81320
|
-
* Properties of a B2BChallengeScheduled.
|
|
81321
|
-
* @exports IB2BChallengeScheduled
|
|
81322
|
-
* @interface IB2BChallengeScheduled
|
|
81323
|
-
* @property {number|Long|null} [challengeId] B2BChallengeScheduled challengeId
|
|
81324
|
-
* @property {string|null} [brazeScheduleId] B2BChallengeScheduled brazeScheduleId
|
|
81325
|
-
*/
|
|
81326
|
-
|
|
81327
|
-
/**
|
|
81328
|
-
* Constructs a new B2BChallengeScheduled.
|
|
81329
|
-
* @exports B2BChallengeScheduled
|
|
81330
|
-
* @classdesc Represents a B2BChallengeScheduled.
|
|
81331
|
-
* @implements IB2BChallengeScheduled
|
|
81332
|
-
* @constructor
|
|
81333
|
-
* @param {IB2BChallengeScheduled=} [properties] Properties to set
|
|
81334
|
-
*/
|
|
81335
|
-
function B2BChallengeScheduled(properties) {
|
|
81336
|
-
if (properties)
|
|
81337
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
81338
|
-
if (properties[keys[i]] != null)
|
|
81339
|
-
this[keys[i]] = properties[keys[i]];
|
|
81340
|
-
}
|
|
81341
|
-
|
|
81342
|
-
/**
|
|
81343
|
-
* B2BChallengeScheduled challengeId.
|
|
81344
|
-
* @member {number|Long} challengeId
|
|
81345
|
-
* @memberof B2BChallengeScheduled
|
|
81346
|
-
* @instance
|
|
81347
|
-
*/
|
|
81348
|
-
B2BChallengeScheduled.prototype.challengeId = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
81349
|
-
|
|
81350
|
-
/**
|
|
81351
|
-
* B2BChallengeScheduled brazeScheduleId.
|
|
81352
|
-
* @member {string} brazeScheduleId
|
|
81353
|
-
* @memberof B2BChallengeScheduled
|
|
81354
|
-
* @instance
|
|
81355
|
-
*/
|
|
81356
|
-
B2BChallengeScheduled.prototype.brazeScheduleId = "";
|
|
81357
|
-
|
|
81358
|
-
/**
|
|
81359
|
-
* Creates a new B2BChallengeScheduled instance using the specified properties.
|
|
81360
|
-
* @function create
|
|
81361
|
-
* @memberof B2BChallengeScheduled
|
|
81362
|
-
* @static
|
|
81363
|
-
* @param {IB2BChallengeScheduled=} [properties] Properties to set
|
|
81364
|
-
* @returns {B2BChallengeScheduled} B2BChallengeScheduled instance
|
|
81365
|
-
*/
|
|
81366
|
-
B2BChallengeScheduled.create = function create(properties) {
|
|
81367
|
-
return new B2BChallengeScheduled(properties);
|
|
81368
|
-
};
|
|
81369
|
-
|
|
81370
|
-
/**
|
|
81371
|
-
* Encodes the specified B2BChallengeScheduled message. Does not implicitly {@link B2BChallengeScheduled.verify|verify} messages.
|
|
81372
|
-
* @function encode
|
|
81373
|
-
* @memberof B2BChallengeScheduled
|
|
81374
|
-
* @static
|
|
81375
|
-
* @param {IB2BChallengeScheduled} message B2BChallengeScheduled message or plain object to encode
|
|
81376
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
81377
|
-
* @returns {$protobuf.Writer} Writer
|
|
81378
|
-
*/
|
|
81379
|
-
B2BChallengeScheduled.encode = function encode(message, writer) {
|
|
81380
|
-
if (!writer)
|
|
81381
|
-
writer = $Writer.create();
|
|
81382
|
-
if (message.challengeId != null && message.hasOwnProperty("challengeId"))
|
|
81383
|
-
writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.challengeId);
|
|
81384
|
-
if (message.brazeScheduleId != null && message.hasOwnProperty("brazeScheduleId"))
|
|
81385
|
-
writer.uint32(/* id 2, wireType 2 =*/18).string(message.brazeScheduleId);
|
|
81386
|
-
return writer;
|
|
81387
|
-
};
|
|
81388
|
-
|
|
81389
|
-
/**
|
|
81390
|
-
* Encodes the specified B2BChallengeScheduled message, length delimited. Does not implicitly {@link B2BChallengeScheduled.verify|verify} messages.
|
|
81391
|
-
* @function encodeDelimited
|
|
81392
|
-
* @memberof B2BChallengeScheduled
|
|
81393
|
-
* @static
|
|
81394
|
-
* @param {IB2BChallengeScheduled} message B2BChallengeScheduled message or plain object to encode
|
|
81395
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
81396
|
-
* @returns {$protobuf.Writer} Writer
|
|
81397
|
-
*/
|
|
81398
|
-
B2BChallengeScheduled.encodeDelimited = function encodeDelimited(message, writer) {
|
|
81399
|
-
return this.encode(message, writer).ldelim();
|
|
81400
|
-
};
|
|
81401
|
-
|
|
81402
|
-
/**
|
|
81403
|
-
* Decodes a B2BChallengeScheduled message from the specified reader or buffer.
|
|
81404
|
-
* @function decode
|
|
81405
|
-
* @memberof B2BChallengeScheduled
|
|
81406
|
-
* @static
|
|
81407
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
81408
|
-
* @param {number} [length] Message length if known beforehand
|
|
81409
|
-
* @returns {B2BChallengeScheduled} B2BChallengeScheduled
|
|
81410
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
81411
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
81412
|
-
*/
|
|
81413
|
-
B2BChallengeScheduled.decode = function decode(reader, length) {
|
|
81414
|
-
if (!(reader instanceof $Reader))
|
|
81415
|
-
reader = $Reader.create(reader);
|
|
81416
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.B2BChallengeScheduled();
|
|
81417
|
-
while (reader.pos < end) {
|
|
81418
|
-
var tag = reader.uint32();
|
|
81419
|
-
switch (tag >>> 3) {
|
|
81420
|
-
case 1:
|
|
81421
|
-
message.challengeId = reader.uint64();
|
|
81422
|
-
break;
|
|
81423
|
-
case 2:
|
|
81424
|
-
message.brazeScheduleId = reader.string();
|
|
81425
|
-
break;
|
|
81426
|
-
default:
|
|
81427
|
-
reader.skipType(tag & 7);
|
|
81428
|
-
break;
|
|
81429
|
-
}
|
|
81430
|
-
}
|
|
81431
|
-
return message;
|
|
81432
|
-
};
|
|
81433
|
-
|
|
81434
|
-
/**
|
|
81435
|
-
* Decodes a B2BChallengeScheduled message from the specified reader or buffer, length delimited.
|
|
81436
|
-
* @function decodeDelimited
|
|
81437
|
-
* @memberof B2BChallengeScheduled
|
|
81438
|
-
* @static
|
|
81439
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
81440
|
-
* @returns {B2BChallengeScheduled} B2BChallengeScheduled
|
|
81441
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
81442
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
81443
|
-
*/
|
|
81444
|
-
B2BChallengeScheduled.decodeDelimited = function decodeDelimited(reader) {
|
|
81445
|
-
if (!(reader instanceof $Reader))
|
|
81446
|
-
reader = new $Reader(reader);
|
|
81447
|
-
return this.decode(reader, reader.uint32());
|
|
81448
|
-
};
|
|
81449
|
-
|
|
81450
|
-
/**
|
|
81451
|
-
* Verifies a B2BChallengeScheduled message.
|
|
81452
|
-
* @function verify
|
|
81453
|
-
* @memberof B2BChallengeScheduled
|
|
81454
|
-
* @static
|
|
81455
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
81456
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
81457
|
-
*/
|
|
81458
|
-
B2BChallengeScheduled.verify = function verify(message) {
|
|
81459
|
-
if (typeof message !== "object" || message === null)
|
|
81460
|
-
return "object expected";
|
|
81461
|
-
if (message.challengeId != null && message.hasOwnProperty("challengeId"))
|
|
81462
|
-
if (!$util.isInteger(message.challengeId) && !(message.challengeId && $util.isInteger(message.challengeId.low) && $util.isInteger(message.challengeId.high)))
|
|
81463
|
-
return "challengeId: integer|Long expected";
|
|
81464
|
-
if (message.brazeScheduleId != null && message.hasOwnProperty("brazeScheduleId"))
|
|
81465
|
-
if (!$util.isString(message.brazeScheduleId))
|
|
81466
|
-
return "brazeScheduleId: string expected";
|
|
81467
|
-
return null;
|
|
81468
|
-
};
|
|
81469
|
-
|
|
81470
|
-
/**
|
|
81471
|
-
* Creates a B2BChallengeScheduled message from a plain object. Also converts values to their respective internal types.
|
|
81472
|
-
* @function fromObject
|
|
81473
|
-
* @memberof B2BChallengeScheduled
|
|
81474
|
-
* @static
|
|
81475
|
-
* @param {Object.<string,*>} object Plain object
|
|
81476
|
-
* @returns {B2BChallengeScheduled} B2BChallengeScheduled
|
|
81477
|
-
*/
|
|
81478
|
-
B2BChallengeScheduled.fromObject = function fromObject(object) {
|
|
81479
|
-
if (object instanceof $root.B2BChallengeScheduled)
|
|
81480
|
-
return object;
|
|
81481
|
-
var message = new $root.B2BChallengeScheduled();
|
|
81482
|
-
if (object.challengeId != null)
|
|
81483
|
-
if ($util.Long)
|
|
81484
|
-
(message.challengeId = $util.Long.fromValue(object.challengeId)).unsigned = true;
|
|
81485
|
-
else if (typeof object.challengeId === "string")
|
|
81486
|
-
message.challengeId = parseInt(object.challengeId, 10);
|
|
81487
|
-
else if (typeof object.challengeId === "number")
|
|
81488
|
-
message.challengeId = object.challengeId;
|
|
81489
|
-
else if (typeof object.challengeId === "object")
|
|
81490
|
-
message.challengeId = new $util.LongBits(object.challengeId.low >>> 0, object.challengeId.high >>> 0).toNumber(true);
|
|
81491
|
-
if (object.brazeScheduleId != null)
|
|
81492
|
-
message.brazeScheduleId = String(object.brazeScheduleId);
|
|
81493
|
-
return message;
|
|
81494
|
-
};
|
|
81495
|
-
|
|
81496
|
-
/**
|
|
81497
|
-
* Creates a plain object from a B2BChallengeScheduled message. Also converts values to other types if specified.
|
|
81498
|
-
* @function toObject
|
|
81499
|
-
* @memberof B2BChallengeScheduled
|
|
81500
|
-
* @static
|
|
81501
|
-
* @param {B2BChallengeScheduled} message B2BChallengeScheduled
|
|
81502
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
81503
|
-
* @returns {Object.<string,*>} Plain object
|
|
81504
|
-
*/
|
|
81505
|
-
B2BChallengeScheduled.toObject = function toObject(message, options) {
|
|
81506
|
-
if (!options)
|
|
81507
|
-
options = {};
|
|
81508
|
-
var object = {};
|
|
81509
|
-
if (options.defaults) {
|
|
81510
|
-
if ($util.Long) {
|
|
81511
|
-
var long = new $util.Long(0, 0, true);
|
|
81512
|
-
object.challengeId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
81513
|
-
} else
|
|
81514
|
-
object.challengeId = options.longs === String ? "0" : 0;
|
|
81515
|
-
object.brazeScheduleId = "";
|
|
81516
|
-
}
|
|
81517
|
-
if (message.challengeId != null && message.hasOwnProperty("challengeId"))
|
|
81518
|
-
if (typeof message.challengeId === "number")
|
|
81519
|
-
object.challengeId = options.longs === String ? String(message.challengeId) : message.challengeId;
|
|
81520
|
-
else
|
|
81521
|
-
object.challengeId = options.longs === String ? $util.Long.prototype.toString.call(message.challengeId) : options.longs === Number ? new $util.LongBits(message.challengeId.low >>> 0, message.challengeId.high >>> 0).toNumber(true) : message.challengeId;
|
|
81522
|
-
if (message.brazeScheduleId != null && message.hasOwnProperty("brazeScheduleId"))
|
|
81523
|
-
object.brazeScheduleId = message.brazeScheduleId;
|
|
81524
|
-
return object;
|
|
81525
|
-
};
|
|
81526
|
-
|
|
81527
|
-
/**
|
|
81528
|
-
* Converts this B2BChallengeScheduled to JSON.
|
|
81529
|
-
* @function toJSON
|
|
81530
|
-
* @memberof B2BChallengeScheduled
|
|
81531
|
-
* @instance
|
|
81532
|
-
* @returns {Object.<string,*>} JSON object
|
|
81533
|
-
*/
|
|
81534
|
-
B2BChallengeScheduled.prototype.toJSON = function toJSON() {
|
|
81535
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
81536
|
-
};
|
|
81537
|
-
|
|
81538
|
-
return B2BChallengeScheduled;
|
|
81539
|
-
})();
|
|
81540
|
-
|
|
81541
81317
|
$root.EligibilityFileProcessed = (function() {
|
|
81542
81318
|
|
|
81543
81319
|
/**
|
|
@@ -106422,6 +106198,8 @@ $root.ModerationActionPerformed = (function() {
|
|
|
106422
106198
|
* @property {Array.<ModerationActionPerformed.ReportCategory>|null} [proposedReportCategories] ModerationActionPerformed proposedReportCategories
|
|
106423
106199
|
* @property {number|Long|null} [createdAt] ModerationActionPerformed createdAt
|
|
106424
106200
|
* @property {ModerationActionPerformed.ModerationSource|null} [moderationSource] ModerationActionPerformed moderationSource
|
|
106201
|
+
* @property {string|null} [contentId] ModerationActionPerformed contentId
|
|
106202
|
+
* @property {string|null} [contentAuthorId] ModerationActionPerformed contentAuthorId
|
|
106425
106203
|
*/
|
|
106426
106204
|
|
|
106427
106205
|
/**
|
|
@@ -106496,6 +106274,22 @@ $root.ModerationActionPerformed = (function() {
|
|
|
106496
106274
|
*/
|
|
106497
106275
|
ModerationActionPerformed.prototype.moderationSource = 0;
|
|
106498
106276
|
|
|
106277
|
+
/**
|
|
106278
|
+
* ModerationActionPerformed contentId.
|
|
106279
|
+
* @member {string} contentId
|
|
106280
|
+
* @memberof ModerationActionPerformed
|
|
106281
|
+
* @instance
|
|
106282
|
+
*/
|
|
106283
|
+
ModerationActionPerformed.prototype.contentId = "";
|
|
106284
|
+
|
|
106285
|
+
/**
|
|
106286
|
+
* ModerationActionPerformed contentAuthorId.
|
|
106287
|
+
* @member {string} contentAuthorId
|
|
106288
|
+
* @memberof ModerationActionPerformed
|
|
106289
|
+
* @instance
|
|
106290
|
+
*/
|
|
106291
|
+
ModerationActionPerformed.prototype.contentAuthorId = "";
|
|
106292
|
+
|
|
106499
106293
|
/**
|
|
106500
106294
|
* Creates a new ModerationActionPerformed instance using the specified properties.
|
|
106501
106295
|
* @function create
|
|
@@ -106538,6 +106332,10 @@ $root.ModerationActionPerformed = (function() {
|
|
|
106538
106332
|
writer.uint32(/* id 6, wireType 0 =*/48).uint64(message.createdAt);
|
|
106539
106333
|
if (message.moderationSource != null && message.hasOwnProperty("moderationSource"))
|
|
106540
106334
|
writer.uint32(/* id 7, wireType 0 =*/56).int32(message.moderationSource);
|
|
106335
|
+
if (message.contentId != null && message.hasOwnProperty("contentId"))
|
|
106336
|
+
writer.uint32(/* id 8, wireType 2 =*/66).string(message.contentId);
|
|
106337
|
+
if (message.contentAuthorId != null && message.hasOwnProperty("contentAuthorId"))
|
|
106338
|
+
writer.uint32(/* id 9, wireType 2 =*/74).string(message.contentAuthorId);
|
|
106541
106339
|
return writer;
|
|
106542
106340
|
};
|
|
106543
106341
|
|
|
@@ -106600,6 +106398,12 @@ $root.ModerationActionPerformed = (function() {
|
|
|
106600
106398
|
case 7:
|
|
106601
106399
|
message.moderationSource = reader.int32();
|
|
106602
106400
|
break;
|
|
106401
|
+
case 8:
|
|
106402
|
+
message.contentId = reader.string();
|
|
106403
|
+
break;
|
|
106404
|
+
case 9:
|
|
106405
|
+
message.contentAuthorId = reader.string();
|
|
106406
|
+
break;
|
|
106603
106407
|
default:
|
|
106604
106408
|
reader.skipType(tag & 7);
|
|
106605
106409
|
break;
|
|
@@ -106690,6 +106494,12 @@ $root.ModerationActionPerformed = (function() {
|
|
|
106690
106494
|
case 2:
|
|
106691
106495
|
break;
|
|
106692
106496
|
}
|
|
106497
|
+
if (message.contentId != null && message.hasOwnProperty("contentId"))
|
|
106498
|
+
if (!$util.isString(message.contentId))
|
|
106499
|
+
return "contentId: string expected";
|
|
106500
|
+
if (message.contentAuthorId != null && message.hasOwnProperty("contentAuthorId"))
|
|
106501
|
+
if (!$util.isString(message.contentAuthorId))
|
|
106502
|
+
return "contentAuthorId: string expected";
|
|
106693
106503
|
return null;
|
|
106694
106504
|
};
|
|
106695
106505
|
|
|
@@ -106817,6 +106627,10 @@ $root.ModerationActionPerformed = (function() {
|
|
|
106817
106627
|
message.moderationSource = 2;
|
|
106818
106628
|
break;
|
|
106819
106629
|
}
|
|
106630
|
+
if (object.contentId != null)
|
|
106631
|
+
message.contentId = String(object.contentId);
|
|
106632
|
+
if (object.contentAuthorId != null)
|
|
106633
|
+
message.contentAuthorId = String(object.contentAuthorId);
|
|
106820
106634
|
return message;
|
|
106821
106635
|
};
|
|
106822
106636
|
|
|
@@ -106846,6 +106660,8 @@ $root.ModerationActionPerformed = (function() {
|
|
|
106846
106660
|
} else
|
|
106847
106661
|
object.createdAt = options.longs === String ? "0" : 0;
|
|
106848
106662
|
object.moderationSource = options.enums === String ? "MODERATION_SOURCE_UNKNOWN" : 0;
|
|
106663
|
+
object.contentId = "";
|
|
106664
|
+
object.contentAuthorId = "";
|
|
106849
106665
|
}
|
|
106850
106666
|
if (message.reportId != null && message.hasOwnProperty("reportId"))
|
|
106851
106667
|
object.reportId = message.reportId;
|
|
@@ -106867,6 +106683,10 @@ $root.ModerationActionPerformed = (function() {
|
|
|
106867
106683
|
object.createdAt = options.longs === String ? $util.Long.prototype.toString.call(message.createdAt) : options.longs === Number ? new $util.LongBits(message.createdAt.low >>> 0, message.createdAt.high >>> 0).toNumber(true) : message.createdAt;
|
|
106868
106684
|
if (message.moderationSource != null && message.hasOwnProperty("moderationSource"))
|
|
106869
106685
|
object.moderationSource = options.enums === String ? $root.ModerationActionPerformed.ModerationSource[message.moderationSource] : message.moderationSource;
|
|
106686
|
+
if (message.contentId != null && message.hasOwnProperty("contentId"))
|
|
106687
|
+
object.contentId = message.contentId;
|
|
106688
|
+
if (message.contentAuthorId != null && message.hasOwnProperty("contentAuthorId"))
|
|
106689
|
+
object.contentAuthorId = message.contentAuthorId;
|
|
106870
106690
|
return object;
|
|
106871
106691
|
};
|
|
106872
106692
|
|
package/package.json
CHANGED