@headspace/protos-events 1.131.0 → 1.132.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 +108 -0
- package/lib/index.js +254 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -8540,6 +8540,114 @@ export class MessageSent implements IMessageSent {
|
|
|
8540
8540
|
public toJSON(): { [k: string]: any };
|
|
8541
8541
|
}
|
|
8542
8542
|
|
|
8543
|
+
/** Properties of an AssignmentAllocationBatchPushed. */
|
|
8544
|
+
export interface IAssignmentAllocationBatchPushed {
|
|
8545
|
+
|
|
8546
|
+
/** AssignmentAllocationBatchPushed hsId */
|
|
8547
|
+
hsId?: (string|null);
|
|
8548
|
+
|
|
8549
|
+
/** AssignmentAllocationBatchPushed coachId */
|
|
8550
|
+
coachId?: (string|null);
|
|
8551
|
+
|
|
8552
|
+
/** AssignmentAllocationBatchPushed coachName */
|
|
8553
|
+
coachName?: (string|null);
|
|
8554
|
+
|
|
8555
|
+
/** AssignmentAllocationBatchPushed pushNote */
|
|
8556
|
+
pushNote?: (string|null);
|
|
8557
|
+
}
|
|
8558
|
+
|
|
8559
|
+
/** Represents an AssignmentAllocationBatchPushed. */
|
|
8560
|
+
export class AssignmentAllocationBatchPushed implements IAssignmentAllocationBatchPushed {
|
|
8561
|
+
|
|
8562
|
+
/**
|
|
8563
|
+
* Constructs a new AssignmentAllocationBatchPushed.
|
|
8564
|
+
* @param [properties] Properties to set
|
|
8565
|
+
*/
|
|
8566
|
+
constructor(properties?: IAssignmentAllocationBatchPushed);
|
|
8567
|
+
|
|
8568
|
+
/** AssignmentAllocationBatchPushed hsId. */
|
|
8569
|
+
public hsId: string;
|
|
8570
|
+
|
|
8571
|
+
/** AssignmentAllocationBatchPushed coachId. */
|
|
8572
|
+
public coachId: string;
|
|
8573
|
+
|
|
8574
|
+
/** AssignmentAllocationBatchPushed coachName. */
|
|
8575
|
+
public coachName: string;
|
|
8576
|
+
|
|
8577
|
+
/** AssignmentAllocationBatchPushed pushNote. */
|
|
8578
|
+
public pushNote: string;
|
|
8579
|
+
|
|
8580
|
+
/**
|
|
8581
|
+
* Creates a new AssignmentAllocationBatchPushed instance using the specified properties.
|
|
8582
|
+
* @param [properties] Properties to set
|
|
8583
|
+
* @returns AssignmentAllocationBatchPushed instance
|
|
8584
|
+
*/
|
|
8585
|
+
public static create(properties?: IAssignmentAllocationBatchPushed): AssignmentAllocationBatchPushed;
|
|
8586
|
+
|
|
8587
|
+
/**
|
|
8588
|
+
* Encodes the specified AssignmentAllocationBatchPushed message. Does not implicitly {@link AssignmentAllocationBatchPushed.verify|verify} messages.
|
|
8589
|
+
* @param message AssignmentAllocationBatchPushed message or plain object to encode
|
|
8590
|
+
* @param [writer] Writer to encode to
|
|
8591
|
+
* @returns Writer
|
|
8592
|
+
*/
|
|
8593
|
+
public static encode(message: IAssignmentAllocationBatchPushed, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
8594
|
+
|
|
8595
|
+
/**
|
|
8596
|
+
* Encodes the specified AssignmentAllocationBatchPushed message, length delimited. Does not implicitly {@link AssignmentAllocationBatchPushed.verify|verify} messages.
|
|
8597
|
+
* @param message AssignmentAllocationBatchPushed message or plain object to encode
|
|
8598
|
+
* @param [writer] Writer to encode to
|
|
8599
|
+
* @returns Writer
|
|
8600
|
+
*/
|
|
8601
|
+
public static encodeDelimited(message: IAssignmentAllocationBatchPushed, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
8602
|
+
|
|
8603
|
+
/**
|
|
8604
|
+
* Decodes an AssignmentAllocationBatchPushed message from the specified reader or buffer.
|
|
8605
|
+
* @param reader Reader or buffer to decode from
|
|
8606
|
+
* @param [length] Message length if known beforehand
|
|
8607
|
+
* @returns AssignmentAllocationBatchPushed
|
|
8608
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8609
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8610
|
+
*/
|
|
8611
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): AssignmentAllocationBatchPushed;
|
|
8612
|
+
|
|
8613
|
+
/**
|
|
8614
|
+
* Decodes an AssignmentAllocationBatchPushed message from the specified reader or buffer, length delimited.
|
|
8615
|
+
* @param reader Reader or buffer to decode from
|
|
8616
|
+
* @returns AssignmentAllocationBatchPushed
|
|
8617
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8618
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8619
|
+
*/
|
|
8620
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): AssignmentAllocationBatchPushed;
|
|
8621
|
+
|
|
8622
|
+
/**
|
|
8623
|
+
* Verifies an AssignmentAllocationBatchPushed message.
|
|
8624
|
+
* @param message Plain object to verify
|
|
8625
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
8626
|
+
*/
|
|
8627
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
8628
|
+
|
|
8629
|
+
/**
|
|
8630
|
+
* Creates an AssignmentAllocationBatchPushed message from a plain object. Also converts values to their respective internal types.
|
|
8631
|
+
* @param object Plain object
|
|
8632
|
+
* @returns AssignmentAllocationBatchPushed
|
|
8633
|
+
*/
|
|
8634
|
+
public static fromObject(object: { [k: string]: any }): AssignmentAllocationBatchPushed;
|
|
8635
|
+
|
|
8636
|
+
/**
|
|
8637
|
+
* Creates a plain object from an AssignmentAllocationBatchPushed message. Also converts values to other types if specified.
|
|
8638
|
+
* @param message AssignmentAllocationBatchPushed
|
|
8639
|
+
* @param [options] Conversion options
|
|
8640
|
+
* @returns Plain object
|
|
8641
|
+
*/
|
|
8642
|
+
public static toObject(message: AssignmentAllocationBatchPushed, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
8643
|
+
|
|
8644
|
+
/**
|
|
8645
|
+
* Converts this AssignmentAllocationBatchPushed to JSON.
|
|
8646
|
+
* @returns JSON object
|
|
8647
|
+
*/
|
|
8648
|
+
public toJSON(): { [k: string]: any };
|
|
8649
|
+
}
|
|
8650
|
+
|
|
8543
8651
|
/** Properties of an IosSubscriptionCreated. */
|
|
8544
8652
|
export interface IIosSubscriptionCreated {
|
|
8545
8653
|
|
package/lib/index.js
CHANGED
|
@@ -22362,6 +22362,260 @@ $root.MessageSent = (function() {
|
|
|
22362
22362
|
return MessageSent;
|
|
22363
22363
|
})();
|
|
22364
22364
|
|
|
22365
|
+
$root.AssignmentAllocationBatchPushed = (function() {
|
|
22366
|
+
|
|
22367
|
+
/**
|
|
22368
|
+
* Properties of an AssignmentAllocationBatchPushed.
|
|
22369
|
+
* @exports IAssignmentAllocationBatchPushed
|
|
22370
|
+
* @interface IAssignmentAllocationBatchPushed
|
|
22371
|
+
* @property {string|null} [hsId] AssignmentAllocationBatchPushed hsId
|
|
22372
|
+
* @property {string|null} [coachId] AssignmentAllocationBatchPushed coachId
|
|
22373
|
+
* @property {string|null} [coachName] AssignmentAllocationBatchPushed coachName
|
|
22374
|
+
* @property {string|null} [pushNote] AssignmentAllocationBatchPushed pushNote
|
|
22375
|
+
*/
|
|
22376
|
+
|
|
22377
|
+
/**
|
|
22378
|
+
* Constructs a new AssignmentAllocationBatchPushed.
|
|
22379
|
+
* @exports AssignmentAllocationBatchPushed
|
|
22380
|
+
* @classdesc Represents an AssignmentAllocationBatchPushed.
|
|
22381
|
+
* @implements IAssignmentAllocationBatchPushed
|
|
22382
|
+
* @constructor
|
|
22383
|
+
* @param {IAssignmentAllocationBatchPushed=} [properties] Properties to set
|
|
22384
|
+
*/
|
|
22385
|
+
function AssignmentAllocationBatchPushed(properties) {
|
|
22386
|
+
if (properties)
|
|
22387
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
22388
|
+
if (properties[keys[i]] != null)
|
|
22389
|
+
this[keys[i]] = properties[keys[i]];
|
|
22390
|
+
}
|
|
22391
|
+
|
|
22392
|
+
/**
|
|
22393
|
+
* AssignmentAllocationBatchPushed hsId.
|
|
22394
|
+
* @member {string} hsId
|
|
22395
|
+
* @memberof AssignmentAllocationBatchPushed
|
|
22396
|
+
* @instance
|
|
22397
|
+
*/
|
|
22398
|
+
AssignmentAllocationBatchPushed.prototype.hsId = "";
|
|
22399
|
+
|
|
22400
|
+
/**
|
|
22401
|
+
* AssignmentAllocationBatchPushed coachId.
|
|
22402
|
+
* @member {string} coachId
|
|
22403
|
+
* @memberof AssignmentAllocationBatchPushed
|
|
22404
|
+
* @instance
|
|
22405
|
+
*/
|
|
22406
|
+
AssignmentAllocationBatchPushed.prototype.coachId = "";
|
|
22407
|
+
|
|
22408
|
+
/**
|
|
22409
|
+
* AssignmentAllocationBatchPushed coachName.
|
|
22410
|
+
* @member {string} coachName
|
|
22411
|
+
* @memberof AssignmentAllocationBatchPushed
|
|
22412
|
+
* @instance
|
|
22413
|
+
*/
|
|
22414
|
+
AssignmentAllocationBatchPushed.prototype.coachName = "";
|
|
22415
|
+
|
|
22416
|
+
/**
|
|
22417
|
+
* AssignmentAllocationBatchPushed pushNote.
|
|
22418
|
+
* @member {string} pushNote
|
|
22419
|
+
* @memberof AssignmentAllocationBatchPushed
|
|
22420
|
+
* @instance
|
|
22421
|
+
*/
|
|
22422
|
+
AssignmentAllocationBatchPushed.prototype.pushNote = "";
|
|
22423
|
+
|
|
22424
|
+
/**
|
|
22425
|
+
* Creates a new AssignmentAllocationBatchPushed instance using the specified properties.
|
|
22426
|
+
* @function create
|
|
22427
|
+
* @memberof AssignmentAllocationBatchPushed
|
|
22428
|
+
* @static
|
|
22429
|
+
* @param {IAssignmentAllocationBatchPushed=} [properties] Properties to set
|
|
22430
|
+
* @returns {AssignmentAllocationBatchPushed} AssignmentAllocationBatchPushed instance
|
|
22431
|
+
*/
|
|
22432
|
+
AssignmentAllocationBatchPushed.create = function create(properties) {
|
|
22433
|
+
return new AssignmentAllocationBatchPushed(properties);
|
|
22434
|
+
};
|
|
22435
|
+
|
|
22436
|
+
/**
|
|
22437
|
+
* Encodes the specified AssignmentAllocationBatchPushed message. Does not implicitly {@link AssignmentAllocationBatchPushed.verify|verify} messages.
|
|
22438
|
+
* @function encode
|
|
22439
|
+
* @memberof AssignmentAllocationBatchPushed
|
|
22440
|
+
* @static
|
|
22441
|
+
* @param {IAssignmentAllocationBatchPushed} message AssignmentAllocationBatchPushed message or plain object to encode
|
|
22442
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
22443
|
+
* @returns {$protobuf.Writer} Writer
|
|
22444
|
+
*/
|
|
22445
|
+
AssignmentAllocationBatchPushed.encode = function encode(message, writer) {
|
|
22446
|
+
if (!writer)
|
|
22447
|
+
writer = $Writer.create();
|
|
22448
|
+
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
22449
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsId);
|
|
22450
|
+
if (message.coachId != null && message.hasOwnProperty("coachId"))
|
|
22451
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.coachId);
|
|
22452
|
+
if (message.coachName != null && message.hasOwnProperty("coachName"))
|
|
22453
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.coachName);
|
|
22454
|
+
if (message.pushNote != null && message.hasOwnProperty("pushNote"))
|
|
22455
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.pushNote);
|
|
22456
|
+
return writer;
|
|
22457
|
+
};
|
|
22458
|
+
|
|
22459
|
+
/**
|
|
22460
|
+
* Encodes the specified AssignmentAllocationBatchPushed message, length delimited. Does not implicitly {@link AssignmentAllocationBatchPushed.verify|verify} messages.
|
|
22461
|
+
* @function encodeDelimited
|
|
22462
|
+
* @memberof AssignmentAllocationBatchPushed
|
|
22463
|
+
* @static
|
|
22464
|
+
* @param {IAssignmentAllocationBatchPushed} message AssignmentAllocationBatchPushed message or plain object to encode
|
|
22465
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
22466
|
+
* @returns {$protobuf.Writer} Writer
|
|
22467
|
+
*/
|
|
22468
|
+
AssignmentAllocationBatchPushed.encodeDelimited = function encodeDelimited(message, writer) {
|
|
22469
|
+
return this.encode(message, writer).ldelim();
|
|
22470
|
+
};
|
|
22471
|
+
|
|
22472
|
+
/**
|
|
22473
|
+
* Decodes an AssignmentAllocationBatchPushed message from the specified reader or buffer.
|
|
22474
|
+
* @function decode
|
|
22475
|
+
* @memberof AssignmentAllocationBatchPushed
|
|
22476
|
+
* @static
|
|
22477
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
22478
|
+
* @param {number} [length] Message length if known beforehand
|
|
22479
|
+
* @returns {AssignmentAllocationBatchPushed} AssignmentAllocationBatchPushed
|
|
22480
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22481
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22482
|
+
*/
|
|
22483
|
+
AssignmentAllocationBatchPushed.decode = function decode(reader, length) {
|
|
22484
|
+
if (!(reader instanceof $Reader))
|
|
22485
|
+
reader = $Reader.create(reader);
|
|
22486
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.AssignmentAllocationBatchPushed();
|
|
22487
|
+
while (reader.pos < end) {
|
|
22488
|
+
var tag = reader.uint32();
|
|
22489
|
+
switch (tag >>> 3) {
|
|
22490
|
+
case 1:
|
|
22491
|
+
message.hsId = reader.string();
|
|
22492
|
+
break;
|
|
22493
|
+
case 2:
|
|
22494
|
+
message.coachId = reader.string();
|
|
22495
|
+
break;
|
|
22496
|
+
case 3:
|
|
22497
|
+
message.coachName = reader.string();
|
|
22498
|
+
break;
|
|
22499
|
+
case 4:
|
|
22500
|
+
message.pushNote = reader.string();
|
|
22501
|
+
break;
|
|
22502
|
+
default:
|
|
22503
|
+
reader.skipType(tag & 7);
|
|
22504
|
+
break;
|
|
22505
|
+
}
|
|
22506
|
+
}
|
|
22507
|
+
return message;
|
|
22508
|
+
};
|
|
22509
|
+
|
|
22510
|
+
/**
|
|
22511
|
+
* Decodes an AssignmentAllocationBatchPushed message from the specified reader or buffer, length delimited.
|
|
22512
|
+
* @function decodeDelimited
|
|
22513
|
+
* @memberof AssignmentAllocationBatchPushed
|
|
22514
|
+
* @static
|
|
22515
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
22516
|
+
* @returns {AssignmentAllocationBatchPushed} AssignmentAllocationBatchPushed
|
|
22517
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22518
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22519
|
+
*/
|
|
22520
|
+
AssignmentAllocationBatchPushed.decodeDelimited = function decodeDelimited(reader) {
|
|
22521
|
+
if (!(reader instanceof $Reader))
|
|
22522
|
+
reader = new $Reader(reader);
|
|
22523
|
+
return this.decode(reader, reader.uint32());
|
|
22524
|
+
};
|
|
22525
|
+
|
|
22526
|
+
/**
|
|
22527
|
+
* Verifies an AssignmentAllocationBatchPushed message.
|
|
22528
|
+
* @function verify
|
|
22529
|
+
* @memberof AssignmentAllocationBatchPushed
|
|
22530
|
+
* @static
|
|
22531
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
22532
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
22533
|
+
*/
|
|
22534
|
+
AssignmentAllocationBatchPushed.verify = function verify(message) {
|
|
22535
|
+
if (typeof message !== "object" || message === null)
|
|
22536
|
+
return "object expected";
|
|
22537
|
+
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
22538
|
+
if (!$util.isString(message.hsId))
|
|
22539
|
+
return "hsId: string expected";
|
|
22540
|
+
if (message.coachId != null && message.hasOwnProperty("coachId"))
|
|
22541
|
+
if (!$util.isString(message.coachId))
|
|
22542
|
+
return "coachId: string expected";
|
|
22543
|
+
if (message.coachName != null && message.hasOwnProperty("coachName"))
|
|
22544
|
+
if (!$util.isString(message.coachName))
|
|
22545
|
+
return "coachName: string expected";
|
|
22546
|
+
if (message.pushNote != null && message.hasOwnProperty("pushNote"))
|
|
22547
|
+
if (!$util.isString(message.pushNote))
|
|
22548
|
+
return "pushNote: string expected";
|
|
22549
|
+
return null;
|
|
22550
|
+
};
|
|
22551
|
+
|
|
22552
|
+
/**
|
|
22553
|
+
* Creates an AssignmentAllocationBatchPushed message from a plain object. Also converts values to their respective internal types.
|
|
22554
|
+
* @function fromObject
|
|
22555
|
+
* @memberof AssignmentAllocationBatchPushed
|
|
22556
|
+
* @static
|
|
22557
|
+
* @param {Object.<string,*>} object Plain object
|
|
22558
|
+
* @returns {AssignmentAllocationBatchPushed} AssignmentAllocationBatchPushed
|
|
22559
|
+
*/
|
|
22560
|
+
AssignmentAllocationBatchPushed.fromObject = function fromObject(object) {
|
|
22561
|
+
if (object instanceof $root.AssignmentAllocationBatchPushed)
|
|
22562
|
+
return object;
|
|
22563
|
+
var message = new $root.AssignmentAllocationBatchPushed();
|
|
22564
|
+
if (object.hsId != null)
|
|
22565
|
+
message.hsId = String(object.hsId);
|
|
22566
|
+
if (object.coachId != null)
|
|
22567
|
+
message.coachId = String(object.coachId);
|
|
22568
|
+
if (object.coachName != null)
|
|
22569
|
+
message.coachName = String(object.coachName);
|
|
22570
|
+
if (object.pushNote != null)
|
|
22571
|
+
message.pushNote = String(object.pushNote);
|
|
22572
|
+
return message;
|
|
22573
|
+
};
|
|
22574
|
+
|
|
22575
|
+
/**
|
|
22576
|
+
* Creates a plain object from an AssignmentAllocationBatchPushed message. Also converts values to other types if specified.
|
|
22577
|
+
* @function toObject
|
|
22578
|
+
* @memberof AssignmentAllocationBatchPushed
|
|
22579
|
+
* @static
|
|
22580
|
+
* @param {AssignmentAllocationBatchPushed} message AssignmentAllocationBatchPushed
|
|
22581
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
22582
|
+
* @returns {Object.<string,*>} Plain object
|
|
22583
|
+
*/
|
|
22584
|
+
AssignmentAllocationBatchPushed.toObject = function toObject(message, options) {
|
|
22585
|
+
if (!options)
|
|
22586
|
+
options = {};
|
|
22587
|
+
var object = {};
|
|
22588
|
+
if (options.defaults) {
|
|
22589
|
+
object.hsId = "";
|
|
22590
|
+
object.coachId = "";
|
|
22591
|
+
object.coachName = "";
|
|
22592
|
+
object.pushNote = "";
|
|
22593
|
+
}
|
|
22594
|
+
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
22595
|
+
object.hsId = message.hsId;
|
|
22596
|
+
if (message.coachId != null && message.hasOwnProperty("coachId"))
|
|
22597
|
+
object.coachId = message.coachId;
|
|
22598
|
+
if (message.coachName != null && message.hasOwnProperty("coachName"))
|
|
22599
|
+
object.coachName = message.coachName;
|
|
22600
|
+
if (message.pushNote != null && message.hasOwnProperty("pushNote"))
|
|
22601
|
+
object.pushNote = message.pushNote;
|
|
22602
|
+
return object;
|
|
22603
|
+
};
|
|
22604
|
+
|
|
22605
|
+
/**
|
|
22606
|
+
* Converts this AssignmentAllocationBatchPushed to JSON.
|
|
22607
|
+
* @function toJSON
|
|
22608
|
+
* @memberof AssignmentAllocationBatchPushed
|
|
22609
|
+
* @instance
|
|
22610
|
+
* @returns {Object.<string,*>} JSON object
|
|
22611
|
+
*/
|
|
22612
|
+
AssignmentAllocationBatchPushed.prototype.toJSON = function toJSON() {
|
|
22613
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
22614
|
+
};
|
|
22615
|
+
|
|
22616
|
+
return AssignmentAllocationBatchPushed;
|
|
22617
|
+
})();
|
|
22618
|
+
|
|
22365
22619
|
$root.IosSubscriptionCreated = (function() {
|
|
22366
22620
|
|
|
22367
22621
|
/**
|
package/package.json
CHANGED