@headspace/protos-events 1.448.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 +0 -96
- package/lib/index.js +0 -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
|
|
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
|
/**
|
package/package.json
CHANGED