@headspace/protos-events 1.619.0 → 1.620.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 +90 -0
- package/lib/index.js +187 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -66404,3 +66404,93 @@ export class CareCoachingInteractionStarted implements ICareCoachingInteractionS
|
|
|
66404
66404
|
*/
|
|
66405
66405
|
public toJSON(): { [k: string]: any };
|
|
66406
66406
|
}
|
|
66407
|
+
|
|
66408
|
+
/** Properties of a MemberSupportChatStatusPendingChanged. */
|
|
66409
|
+
export interface IMemberSupportChatStatusPendingChanged {
|
|
66410
|
+
|
|
66411
|
+
/** MemberSupportChatStatusPendingChanged hsUserId */
|
|
66412
|
+
hsUserId?: (string|null);
|
|
66413
|
+
}
|
|
66414
|
+
|
|
66415
|
+
/** Represents a MemberSupportChatStatusPendingChanged. */
|
|
66416
|
+
export class MemberSupportChatStatusPendingChanged implements IMemberSupportChatStatusPendingChanged {
|
|
66417
|
+
|
|
66418
|
+
/**
|
|
66419
|
+
* Constructs a new MemberSupportChatStatusPendingChanged.
|
|
66420
|
+
* @param [properties] Properties to set
|
|
66421
|
+
*/
|
|
66422
|
+
constructor(properties?: IMemberSupportChatStatusPendingChanged);
|
|
66423
|
+
|
|
66424
|
+
/** MemberSupportChatStatusPendingChanged hsUserId. */
|
|
66425
|
+
public hsUserId: string;
|
|
66426
|
+
|
|
66427
|
+
/**
|
|
66428
|
+
* Creates a new MemberSupportChatStatusPendingChanged instance using the specified properties.
|
|
66429
|
+
* @param [properties] Properties to set
|
|
66430
|
+
* @returns MemberSupportChatStatusPendingChanged instance
|
|
66431
|
+
*/
|
|
66432
|
+
public static create(properties?: IMemberSupportChatStatusPendingChanged): MemberSupportChatStatusPendingChanged;
|
|
66433
|
+
|
|
66434
|
+
/**
|
|
66435
|
+
* Encodes the specified MemberSupportChatStatusPendingChanged message. Does not implicitly {@link MemberSupportChatStatusPendingChanged.verify|verify} messages.
|
|
66436
|
+
* @param message MemberSupportChatStatusPendingChanged message or plain object to encode
|
|
66437
|
+
* @param [writer] Writer to encode to
|
|
66438
|
+
* @returns Writer
|
|
66439
|
+
*/
|
|
66440
|
+
public static encode(message: IMemberSupportChatStatusPendingChanged, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
66441
|
+
|
|
66442
|
+
/**
|
|
66443
|
+
* Encodes the specified MemberSupportChatStatusPendingChanged message, length delimited. Does not implicitly {@link MemberSupportChatStatusPendingChanged.verify|verify} messages.
|
|
66444
|
+
* @param message MemberSupportChatStatusPendingChanged message or plain object to encode
|
|
66445
|
+
* @param [writer] Writer to encode to
|
|
66446
|
+
* @returns Writer
|
|
66447
|
+
*/
|
|
66448
|
+
public static encodeDelimited(message: IMemberSupportChatStatusPendingChanged, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
66449
|
+
|
|
66450
|
+
/**
|
|
66451
|
+
* Decodes a MemberSupportChatStatusPendingChanged message from the specified reader or buffer.
|
|
66452
|
+
* @param reader Reader or buffer to decode from
|
|
66453
|
+
* @param [length] Message length if known beforehand
|
|
66454
|
+
* @returns MemberSupportChatStatusPendingChanged
|
|
66455
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
66456
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
66457
|
+
*/
|
|
66458
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): MemberSupportChatStatusPendingChanged;
|
|
66459
|
+
|
|
66460
|
+
/**
|
|
66461
|
+
* Decodes a MemberSupportChatStatusPendingChanged message from the specified reader or buffer, length delimited.
|
|
66462
|
+
* @param reader Reader or buffer to decode from
|
|
66463
|
+
* @returns MemberSupportChatStatusPendingChanged
|
|
66464
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
66465
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
66466
|
+
*/
|
|
66467
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): MemberSupportChatStatusPendingChanged;
|
|
66468
|
+
|
|
66469
|
+
/**
|
|
66470
|
+
* Verifies a MemberSupportChatStatusPendingChanged message.
|
|
66471
|
+
* @param message Plain object to verify
|
|
66472
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
66473
|
+
*/
|
|
66474
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
66475
|
+
|
|
66476
|
+
/**
|
|
66477
|
+
* Creates a MemberSupportChatStatusPendingChanged message from a plain object. Also converts values to their respective internal types.
|
|
66478
|
+
* @param object Plain object
|
|
66479
|
+
* @returns MemberSupportChatStatusPendingChanged
|
|
66480
|
+
*/
|
|
66481
|
+
public static fromObject(object: { [k: string]: any }): MemberSupportChatStatusPendingChanged;
|
|
66482
|
+
|
|
66483
|
+
/**
|
|
66484
|
+
* Creates a plain object from a MemberSupportChatStatusPendingChanged message. Also converts values to other types if specified.
|
|
66485
|
+
* @param message MemberSupportChatStatusPendingChanged
|
|
66486
|
+
* @param [options] Conversion options
|
|
66487
|
+
* @returns Plain object
|
|
66488
|
+
*/
|
|
66489
|
+
public static toObject(message: MemberSupportChatStatusPendingChanged, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
66490
|
+
|
|
66491
|
+
/**
|
|
66492
|
+
* Converts this MemberSupportChatStatusPendingChanged to JSON.
|
|
66493
|
+
* @returns JSON object
|
|
66494
|
+
*/
|
|
66495
|
+
public toJSON(): { [k: string]: any };
|
|
66496
|
+
}
|
package/lib/index.js
CHANGED
|
@@ -186695,4 +186695,191 @@ $root.CareCoachingInteractionStarted = (function() {
|
|
|
186695
186695
|
return CareCoachingInteractionStarted;
|
|
186696
186696
|
})();
|
|
186697
186697
|
|
|
186698
|
+
$root.MemberSupportChatStatusPendingChanged = (function() {
|
|
186699
|
+
|
|
186700
|
+
/**
|
|
186701
|
+
* Properties of a MemberSupportChatStatusPendingChanged.
|
|
186702
|
+
* @name IMemberSupportChatStatusPendingChanged
|
|
186703
|
+
* @interface IMemberSupportChatStatusPendingChanged
|
|
186704
|
+
* @property {string|null} [hsUserId] MemberSupportChatStatusPendingChanged hsUserId
|
|
186705
|
+
*/
|
|
186706
|
+
|
|
186707
|
+
/**
|
|
186708
|
+
* Constructs a new MemberSupportChatStatusPendingChanged.
|
|
186709
|
+
* @name MemberSupportChatStatusPendingChanged
|
|
186710
|
+
* @classdesc Represents a MemberSupportChatStatusPendingChanged.
|
|
186711
|
+
* @implements IMemberSupportChatStatusPendingChanged
|
|
186712
|
+
* @constructor
|
|
186713
|
+
* @param {IMemberSupportChatStatusPendingChanged=} [properties] Properties to set
|
|
186714
|
+
*/
|
|
186715
|
+
function MemberSupportChatStatusPendingChanged(properties) {
|
|
186716
|
+
if (properties)
|
|
186717
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
186718
|
+
if (properties[keys[i]] != null)
|
|
186719
|
+
this[keys[i]] = properties[keys[i]];
|
|
186720
|
+
}
|
|
186721
|
+
|
|
186722
|
+
/**
|
|
186723
|
+
* MemberSupportChatStatusPendingChanged hsUserId.
|
|
186724
|
+
* @member {string} hsUserId
|
|
186725
|
+
* @memberof MemberSupportChatStatusPendingChanged
|
|
186726
|
+
* @instance
|
|
186727
|
+
*/
|
|
186728
|
+
MemberSupportChatStatusPendingChanged.prototype.hsUserId = "";
|
|
186729
|
+
|
|
186730
|
+
/**
|
|
186731
|
+
* Creates a new MemberSupportChatStatusPendingChanged instance using the specified properties.
|
|
186732
|
+
* @function create
|
|
186733
|
+
* @memberof MemberSupportChatStatusPendingChanged
|
|
186734
|
+
* @static
|
|
186735
|
+
* @param {IMemberSupportChatStatusPendingChanged=} [properties] Properties to set
|
|
186736
|
+
* @returns {MemberSupportChatStatusPendingChanged} MemberSupportChatStatusPendingChanged instance
|
|
186737
|
+
*/
|
|
186738
|
+
MemberSupportChatStatusPendingChanged.create = function create(properties) {
|
|
186739
|
+
return new MemberSupportChatStatusPendingChanged(properties);
|
|
186740
|
+
};
|
|
186741
|
+
|
|
186742
|
+
/**
|
|
186743
|
+
* Encodes the specified MemberSupportChatStatusPendingChanged message. Does not implicitly {@link MemberSupportChatStatusPendingChanged.verify|verify} messages.
|
|
186744
|
+
* @function encode
|
|
186745
|
+
* @memberof MemberSupportChatStatusPendingChanged
|
|
186746
|
+
* @static
|
|
186747
|
+
* @param {IMemberSupportChatStatusPendingChanged} message MemberSupportChatStatusPendingChanged message or plain object to encode
|
|
186748
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
186749
|
+
* @returns {$protobuf.Writer} Writer
|
|
186750
|
+
*/
|
|
186751
|
+
MemberSupportChatStatusPendingChanged.encode = function encode(message, writer) {
|
|
186752
|
+
if (!writer)
|
|
186753
|
+
writer = $Writer.create();
|
|
186754
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
186755
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsUserId);
|
|
186756
|
+
return writer;
|
|
186757
|
+
};
|
|
186758
|
+
|
|
186759
|
+
/**
|
|
186760
|
+
* Encodes the specified MemberSupportChatStatusPendingChanged message, length delimited. Does not implicitly {@link MemberSupportChatStatusPendingChanged.verify|verify} messages.
|
|
186761
|
+
* @function encodeDelimited
|
|
186762
|
+
* @memberof MemberSupportChatStatusPendingChanged
|
|
186763
|
+
* @static
|
|
186764
|
+
* @param {IMemberSupportChatStatusPendingChanged} message MemberSupportChatStatusPendingChanged message or plain object to encode
|
|
186765
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
186766
|
+
* @returns {$protobuf.Writer} Writer
|
|
186767
|
+
*/
|
|
186768
|
+
MemberSupportChatStatusPendingChanged.encodeDelimited = function encodeDelimited(message, writer) {
|
|
186769
|
+
return this.encode(message, writer).ldelim();
|
|
186770
|
+
};
|
|
186771
|
+
|
|
186772
|
+
/**
|
|
186773
|
+
* Decodes a MemberSupportChatStatusPendingChanged message from the specified reader or buffer.
|
|
186774
|
+
* @function decode
|
|
186775
|
+
* @memberof MemberSupportChatStatusPendingChanged
|
|
186776
|
+
* @static
|
|
186777
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
186778
|
+
* @param {number} [length] Message length if known beforehand
|
|
186779
|
+
* @returns {MemberSupportChatStatusPendingChanged} MemberSupportChatStatusPendingChanged
|
|
186780
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
186781
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
186782
|
+
*/
|
|
186783
|
+
MemberSupportChatStatusPendingChanged.decode = function decode(reader, length) {
|
|
186784
|
+
if (!(reader instanceof $Reader))
|
|
186785
|
+
reader = $Reader.create(reader);
|
|
186786
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.MemberSupportChatStatusPendingChanged();
|
|
186787
|
+
while (reader.pos < end) {
|
|
186788
|
+
var tag = reader.uint32();
|
|
186789
|
+
switch (tag >>> 3) {
|
|
186790
|
+
case 1:
|
|
186791
|
+
message.hsUserId = reader.string();
|
|
186792
|
+
break;
|
|
186793
|
+
default:
|
|
186794
|
+
reader.skipType(tag & 7);
|
|
186795
|
+
break;
|
|
186796
|
+
}
|
|
186797
|
+
}
|
|
186798
|
+
return message;
|
|
186799
|
+
};
|
|
186800
|
+
|
|
186801
|
+
/**
|
|
186802
|
+
* Decodes a MemberSupportChatStatusPendingChanged message from the specified reader or buffer, length delimited.
|
|
186803
|
+
* @function decodeDelimited
|
|
186804
|
+
* @memberof MemberSupportChatStatusPendingChanged
|
|
186805
|
+
* @static
|
|
186806
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
186807
|
+
* @returns {MemberSupportChatStatusPendingChanged} MemberSupportChatStatusPendingChanged
|
|
186808
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
186809
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
186810
|
+
*/
|
|
186811
|
+
MemberSupportChatStatusPendingChanged.decodeDelimited = function decodeDelimited(reader) {
|
|
186812
|
+
if (!(reader instanceof $Reader))
|
|
186813
|
+
reader = new $Reader(reader);
|
|
186814
|
+
return this.decode(reader, reader.uint32());
|
|
186815
|
+
};
|
|
186816
|
+
|
|
186817
|
+
/**
|
|
186818
|
+
* Verifies a MemberSupportChatStatusPendingChanged message.
|
|
186819
|
+
* @function verify
|
|
186820
|
+
* @memberof MemberSupportChatStatusPendingChanged
|
|
186821
|
+
* @static
|
|
186822
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
186823
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
186824
|
+
*/
|
|
186825
|
+
MemberSupportChatStatusPendingChanged.verify = function verify(message) {
|
|
186826
|
+
if (typeof message !== "object" || message === null)
|
|
186827
|
+
return "object expected";
|
|
186828
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
186829
|
+
if (!$util.isString(message.hsUserId))
|
|
186830
|
+
return "hsUserId: string expected";
|
|
186831
|
+
return null;
|
|
186832
|
+
};
|
|
186833
|
+
|
|
186834
|
+
/**
|
|
186835
|
+
* Creates a MemberSupportChatStatusPendingChanged message from a plain object. Also converts values to their respective internal types.
|
|
186836
|
+
* @function fromObject
|
|
186837
|
+
* @memberof MemberSupportChatStatusPendingChanged
|
|
186838
|
+
* @static
|
|
186839
|
+
* @param {Object.<string,*>} object Plain object
|
|
186840
|
+
* @returns {MemberSupportChatStatusPendingChanged} MemberSupportChatStatusPendingChanged
|
|
186841
|
+
*/
|
|
186842
|
+
MemberSupportChatStatusPendingChanged.fromObject = function fromObject(object) {
|
|
186843
|
+
if (object instanceof $root.MemberSupportChatStatusPendingChanged)
|
|
186844
|
+
return object;
|
|
186845
|
+
var message = new $root.MemberSupportChatStatusPendingChanged();
|
|
186846
|
+
if (object.hsUserId != null)
|
|
186847
|
+
message.hsUserId = String(object.hsUserId);
|
|
186848
|
+
return message;
|
|
186849
|
+
};
|
|
186850
|
+
|
|
186851
|
+
/**
|
|
186852
|
+
* Creates a plain object from a MemberSupportChatStatusPendingChanged message. Also converts values to other types if specified.
|
|
186853
|
+
* @function toObject
|
|
186854
|
+
* @memberof MemberSupportChatStatusPendingChanged
|
|
186855
|
+
* @static
|
|
186856
|
+
* @param {MemberSupportChatStatusPendingChanged} message MemberSupportChatStatusPendingChanged
|
|
186857
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
186858
|
+
* @returns {Object.<string,*>} Plain object
|
|
186859
|
+
*/
|
|
186860
|
+
MemberSupportChatStatusPendingChanged.toObject = function toObject(message, options) {
|
|
186861
|
+
if (!options)
|
|
186862
|
+
options = {};
|
|
186863
|
+
var object = {};
|
|
186864
|
+
if (options.defaults)
|
|
186865
|
+
object.hsUserId = "";
|
|
186866
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
186867
|
+
object.hsUserId = message.hsUserId;
|
|
186868
|
+
return object;
|
|
186869
|
+
};
|
|
186870
|
+
|
|
186871
|
+
/**
|
|
186872
|
+
* Converts this MemberSupportChatStatusPendingChanged to JSON.
|
|
186873
|
+
* @function toJSON
|
|
186874
|
+
* @memberof MemberSupportChatStatusPendingChanged
|
|
186875
|
+
* @instance
|
|
186876
|
+
* @returns {Object.<string,*>} JSON object
|
|
186877
|
+
*/
|
|
186878
|
+
MemberSupportChatStatusPendingChanged.prototype.toJSON = function toJSON() {
|
|
186879
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
186880
|
+
};
|
|
186881
|
+
|
|
186882
|
+
return MemberSupportChatStatusPendingChanged;
|
|
186883
|
+
})();
|
|
186884
|
+
|
|
186698
186885
|
module.exports = $root;
|
package/package.json
CHANGED