@headspace/protos-events 1.619.0 → 1.621.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 +102 -0
- package/lib/index.js +231 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -51170,6 +51170,9 @@ export interface IElfRecordPresent {
|
|
|
51170
51170
|
|
|
51171
51171
|
/** ElfRecordPresent collectiveUuid */
|
|
51172
51172
|
collectiveUuid?: (string|null);
|
|
51173
|
+
|
|
51174
|
+
/** ElfRecordPresent isChangeEnrollment */
|
|
51175
|
+
isChangeEnrollment?: (boolean|null);
|
|
51173
51176
|
}
|
|
51174
51177
|
|
|
51175
51178
|
/** Represents an ElfRecordPresent. */
|
|
@@ -51274,6 +51277,9 @@ export class ElfRecordPresent implements IElfRecordPresent {
|
|
|
51274
51277
|
/** ElfRecordPresent collectiveUuid. */
|
|
51275
51278
|
public collectiveUuid: string;
|
|
51276
51279
|
|
|
51280
|
+
/** ElfRecordPresent isChangeEnrollment. */
|
|
51281
|
+
public isChangeEnrollment: boolean;
|
|
51282
|
+
|
|
51277
51283
|
/**
|
|
51278
51284
|
* Creates a new ElfRecordPresent instance using the specified properties.
|
|
51279
51285
|
* @param [properties] Properties to set
|
|
@@ -51392,6 +51398,9 @@ export interface IElfRecordAbsent {
|
|
|
51392
51398
|
|
|
51393
51399
|
/** ElfRecordAbsent collectiveUuid */
|
|
51394
51400
|
collectiveUuid?: (string|null);
|
|
51401
|
+
|
|
51402
|
+
/** ElfRecordAbsent isChangeEnrollment */
|
|
51403
|
+
isChangeEnrollment?: (boolean|null);
|
|
51395
51404
|
}
|
|
51396
51405
|
|
|
51397
51406
|
/** Represents an ElfRecordAbsent. */
|
|
@@ -51448,6 +51457,9 @@ export class ElfRecordAbsent implements IElfRecordAbsent {
|
|
|
51448
51457
|
/** ElfRecordAbsent collectiveUuid. */
|
|
51449
51458
|
public collectiveUuid: string;
|
|
51450
51459
|
|
|
51460
|
+
/** ElfRecordAbsent isChangeEnrollment. */
|
|
51461
|
+
public isChangeEnrollment: boolean;
|
|
51462
|
+
|
|
51451
51463
|
/**
|
|
51452
51464
|
* Creates a new ElfRecordAbsent instance using the specified properties.
|
|
51453
51465
|
* @param [properties] Properties to set
|
|
@@ -66404,3 +66416,93 @@ export class CareCoachingInteractionStarted implements ICareCoachingInteractionS
|
|
|
66404
66416
|
*/
|
|
66405
66417
|
public toJSON(): { [k: string]: any };
|
|
66406
66418
|
}
|
|
66419
|
+
|
|
66420
|
+
/** Properties of a MemberSupportChatStatusPendingChanged. */
|
|
66421
|
+
export interface IMemberSupportChatStatusPendingChanged {
|
|
66422
|
+
|
|
66423
|
+
/** MemberSupportChatStatusPendingChanged hsUserId */
|
|
66424
|
+
hsUserId?: (string|null);
|
|
66425
|
+
}
|
|
66426
|
+
|
|
66427
|
+
/** Represents a MemberSupportChatStatusPendingChanged. */
|
|
66428
|
+
export class MemberSupportChatStatusPendingChanged implements IMemberSupportChatStatusPendingChanged {
|
|
66429
|
+
|
|
66430
|
+
/**
|
|
66431
|
+
* Constructs a new MemberSupportChatStatusPendingChanged.
|
|
66432
|
+
* @param [properties] Properties to set
|
|
66433
|
+
*/
|
|
66434
|
+
constructor(properties?: IMemberSupportChatStatusPendingChanged);
|
|
66435
|
+
|
|
66436
|
+
/** MemberSupportChatStatusPendingChanged hsUserId. */
|
|
66437
|
+
public hsUserId: string;
|
|
66438
|
+
|
|
66439
|
+
/**
|
|
66440
|
+
* Creates a new MemberSupportChatStatusPendingChanged instance using the specified properties.
|
|
66441
|
+
* @param [properties] Properties to set
|
|
66442
|
+
* @returns MemberSupportChatStatusPendingChanged instance
|
|
66443
|
+
*/
|
|
66444
|
+
public static create(properties?: IMemberSupportChatStatusPendingChanged): MemberSupportChatStatusPendingChanged;
|
|
66445
|
+
|
|
66446
|
+
/**
|
|
66447
|
+
* Encodes the specified MemberSupportChatStatusPendingChanged message. Does not implicitly {@link MemberSupportChatStatusPendingChanged.verify|verify} messages.
|
|
66448
|
+
* @param message MemberSupportChatStatusPendingChanged message or plain object to encode
|
|
66449
|
+
* @param [writer] Writer to encode to
|
|
66450
|
+
* @returns Writer
|
|
66451
|
+
*/
|
|
66452
|
+
public static encode(message: IMemberSupportChatStatusPendingChanged, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
66453
|
+
|
|
66454
|
+
/**
|
|
66455
|
+
* Encodes the specified MemberSupportChatStatusPendingChanged message, length delimited. Does not implicitly {@link MemberSupportChatStatusPendingChanged.verify|verify} messages.
|
|
66456
|
+
* @param message MemberSupportChatStatusPendingChanged message or plain object to encode
|
|
66457
|
+
* @param [writer] Writer to encode to
|
|
66458
|
+
* @returns Writer
|
|
66459
|
+
*/
|
|
66460
|
+
public static encodeDelimited(message: IMemberSupportChatStatusPendingChanged, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
66461
|
+
|
|
66462
|
+
/**
|
|
66463
|
+
* Decodes a MemberSupportChatStatusPendingChanged message from the specified reader or buffer.
|
|
66464
|
+
* @param reader Reader or buffer to decode from
|
|
66465
|
+
* @param [length] Message length if known beforehand
|
|
66466
|
+
* @returns MemberSupportChatStatusPendingChanged
|
|
66467
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
66468
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
66469
|
+
*/
|
|
66470
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): MemberSupportChatStatusPendingChanged;
|
|
66471
|
+
|
|
66472
|
+
/**
|
|
66473
|
+
* Decodes a MemberSupportChatStatusPendingChanged message from the specified reader or buffer, length delimited.
|
|
66474
|
+
* @param reader Reader or buffer to decode from
|
|
66475
|
+
* @returns MemberSupportChatStatusPendingChanged
|
|
66476
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
66477
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
66478
|
+
*/
|
|
66479
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): MemberSupportChatStatusPendingChanged;
|
|
66480
|
+
|
|
66481
|
+
/**
|
|
66482
|
+
* Verifies a MemberSupportChatStatusPendingChanged message.
|
|
66483
|
+
* @param message Plain object to verify
|
|
66484
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
66485
|
+
*/
|
|
66486
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
66487
|
+
|
|
66488
|
+
/**
|
|
66489
|
+
* Creates a MemberSupportChatStatusPendingChanged message from a plain object. Also converts values to their respective internal types.
|
|
66490
|
+
* @param object Plain object
|
|
66491
|
+
* @returns MemberSupportChatStatusPendingChanged
|
|
66492
|
+
*/
|
|
66493
|
+
public static fromObject(object: { [k: string]: any }): MemberSupportChatStatusPendingChanged;
|
|
66494
|
+
|
|
66495
|
+
/**
|
|
66496
|
+
* Creates a plain object from a MemberSupportChatStatusPendingChanged message. Also converts values to other types if specified.
|
|
66497
|
+
* @param message MemberSupportChatStatusPendingChanged
|
|
66498
|
+
* @param [options] Conversion options
|
|
66499
|
+
* @returns Plain object
|
|
66500
|
+
*/
|
|
66501
|
+
public static toObject(message: MemberSupportChatStatusPendingChanged, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
66502
|
+
|
|
66503
|
+
/**
|
|
66504
|
+
* Converts this MemberSupportChatStatusPendingChanged to JSON.
|
|
66505
|
+
* @returns JSON object
|
|
66506
|
+
*/
|
|
66507
|
+
public toJSON(): { [k: string]: any };
|
|
66508
|
+
}
|
package/lib/index.js
CHANGED
|
@@ -140652,6 +140652,7 @@ $root.ElfRecordPresent = (function() {
|
|
|
140652
140652
|
* @property {boolean|null} [headspaceShouldProcess] ElfRecordPresent headspaceShouldProcess
|
|
140653
140653
|
* @property {boolean|null} [unifiedEligibilityEnabled] ElfRecordPresent unifiedEligibilityEnabled
|
|
140654
140654
|
* @property {string|null} [collectiveUuid] ElfRecordPresent collectiveUuid
|
|
140655
|
+
* @property {boolean|null} [isChangeEnrollment] ElfRecordPresent isChangeEnrollment
|
|
140655
140656
|
*/
|
|
140656
140657
|
|
|
140657
140658
|
/**
|
|
@@ -140918,6 +140919,14 @@ $root.ElfRecordPresent = (function() {
|
|
|
140918
140919
|
*/
|
|
140919
140920
|
ElfRecordPresent.prototype.collectiveUuid = "";
|
|
140920
140921
|
|
|
140922
|
+
/**
|
|
140923
|
+
* ElfRecordPresent isChangeEnrollment.
|
|
140924
|
+
* @member {boolean} isChangeEnrollment
|
|
140925
|
+
* @memberof ElfRecordPresent
|
|
140926
|
+
* @instance
|
|
140927
|
+
*/
|
|
140928
|
+
ElfRecordPresent.prototype.isChangeEnrollment = false;
|
|
140929
|
+
|
|
140921
140930
|
/**
|
|
140922
140931
|
* Creates a new ElfRecordPresent instance using the specified properties.
|
|
140923
140932
|
* @function create
|
|
@@ -141008,6 +141017,8 @@ $root.ElfRecordPresent = (function() {
|
|
|
141008
141017
|
writer.uint32(/* id 30, wireType 2 =*/242).string(message.dependentOf);
|
|
141009
141018
|
if (message.collectiveUuid != null && message.hasOwnProperty("collectiveUuid"))
|
|
141010
141019
|
writer.uint32(/* id 31, wireType 2 =*/250).string(message.collectiveUuid);
|
|
141020
|
+
if (message.isChangeEnrollment != null && message.hasOwnProperty("isChangeEnrollment"))
|
|
141021
|
+
writer.uint32(/* id 32, wireType 0 =*/256).bool(message.isChangeEnrollment);
|
|
141011
141022
|
return writer;
|
|
141012
141023
|
};
|
|
141013
141024
|
|
|
@@ -141142,6 +141153,9 @@ $root.ElfRecordPresent = (function() {
|
|
|
141142
141153
|
case 31:
|
|
141143
141154
|
message.collectiveUuid = reader.string();
|
|
141144
141155
|
break;
|
|
141156
|
+
case 32:
|
|
141157
|
+
message.isChangeEnrollment = reader.bool();
|
|
141158
|
+
break;
|
|
141145
141159
|
default:
|
|
141146
141160
|
reader.skipType(tag & 7);
|
|
141147
141161
|
break;
|
|
@@ -141285,6 +141299,9 @@ $root.ElfRecordPresent = (function() {
|
|
|
141285
141299
|
if (message.collectiveUuid != null && message.hasOwnProperty("collectiveUuid"))
|
|
141286
141300
|
if (!$util.isString(message.collectiveUuid))
|
|
141287
141301
|
return "collectiveUuid: string expected";
|
|
141302
|
+
if (message.isChangeEnrollment != null && message.hasOwnProperty("isChangeEnrollment"))
|
|
141303
|
+
if (typeof message.isChangeEnrollment !== "boolean")
|
|
141304
|
+
return "isChangeEnrollment: boolean expected";
|
|
141288
141305
|
return null;
|
|
141289
141306
|
};
|
|
141290
141307
|
|
|
@@ -141396,6 +141413,8 @@ $root.ElfRecordPresent = (function() {
|
|
|
141396
141413
|
message.unifiedEligibilityEnabled = Boolean(object.unifiedEligibilityEnabled);
|
|
141397
141414
|
if (object.collectiveUuid != null)
|
|
141398
141415
|
message.collectiveUuid = String(object.collectiveUuid);
|
|
141416
|
+
if (object.isChangeEnrollment != null)
|
|
141417
|
+
message.isChangeEnrollment = Boolean(object.isChangeEnrollment);
|
|
141399
141418
|
return message;
|
|
141400
141419
|
};
|
|
141401
141420
|
|
|
@@ -141449,6 +141468,7 @@ $root.ElfRecordPresent = (function() {
|
|
|
141449
141468
|
object.countryStateCode = "";
|
|
141450
141469
|
object.dependentOf = "";
|
|
141451
141470
|
object.collectiveUuid = "";
|
|
141471
|
+
object.isChangeEnrollment = false;
|
|
141452
141472
|
}
|
|
141453
141473
|
if (message.headspaceHealthOrgId != null && message.hasOwnProperty("headspaceHealthOrgId"))
|
|
141454
141474
|
object.headspaceHealthOrgId = message.headspaceHealthOrgId;
|
|
@@ -141518,6 +141538,8 @@ $root.ElfRecordPresent = (function() {
|
|
|
141518
141538
|
object.dependentOf = message.dependentOf;
|
|
141519
141539
|
if (message.collectiveUuid != null && message.hasOwnProperty("collectiveUuid"))
|
|
141520
141540
|
object.collectiveUuid = message.collectiveUuid;
|
|
141541
|
+
if (message.isChangeEnrollment != null && message.hasOwnProperty("isChangeEnrollment"))
|
|
141542
|
+
object.isChangeEnrollment = message.isChangeEnrollment;
|
|
141521
141543
|
return object;
|
|
141522
141544
|
};
|
|
141523
141545
|
|
|
@@ -141556,6 +141578,7 @@ $root.ElfRecordAbsent = (function() {
|
|
|
141556
141578
|
* @property {string|null} [rootOrgId] ElfRecordAbsent rootOrgId
|
|
141557
141579
|
* @property {boolean|null} [isMemberMigrated] ElfRecordAbsent isMemberMigrated
|
|
141558
141580
|
* @property {string|null} [collectiveUuid] ElfRecordAbsent collectiveUuid
|
|
141581
|
+
* @property {boolean|null} [isChangeEnrollment] ElfRecordAbsent isChangeEnrollment
|
|
141559
141582
|
*/
|
|
141560
141583
|
|
|
141561
141584
|
/**
|
|
@@ -141693,6 +141716,14 @@ $root.ElfRecordAbsent = (function() {
|
|
|
141693
141716
|
*/
|
|
141694
141717
|
ElfRecordAbsent.prototype.collectiveUuid = "";
|
|
141695
141718
|
|
|
141719
|
+
/**
|
|
141720
|
+
* ElfRecordAbsent isChangeEnrollment.
|
|
141721
|
+
* @member {boolean} isChangeEnrollment
|
|
141722
|
+
* @memberof ElfRecordAbsent
|
|
141723
|
+
* @instance
|
|
141724
|
+
*/
|
|
141725
|
+
ElfRecordAbsent.prototype.isChangeEnrollment = false;
|
|
141726
|
+
|
|
141696
141727
|
/**
|
|
141697
141728
|
* Creates a new ElfRecordAbsent instance using the specified properties.
|
|
141698
141729
|
* @function create
|
|
@@ -141747,6 +141778,8 @@ $root.ElfRecordAbsent = (function() {
|
|
|
141747
141778
|
writer.uint32(/* id 14, wireType 0 =*/112).bool(message.isMemberMigrated);
|
|
141748
141779
|
if (message.collectiveUuid != null && message.hasOwnProperty("collectiveUuid"))
|
|
141749
141780
|
writer.uint32(/* id 16, wireType 2 =*/130).string(message.collectiveUuid);
|
|
141781
|
+
if (message.isChangeEnrollment != null && message.hasOwnProperty("isChangeEnrollment"))
|
|
141782
|
+
writer.uint32(/* id 17, wireType 0 =*/136).bool(message.isChangeEnrollment);
|
|
141750
141783
|
return writer;
|
|
141751
141784
|
};
|
|
141752
141785
|
|
|
@@ -141826,6 +141859,9 @@ $root.ElfRecordAbsent = (function() {
|
|
|
141826
141859
|
case 16:
|
|
141827
141860
|
message.collectiveUuid = reader.string();
|
|
141828
141861
|
break;
|
|
141862
|
+
case 17:
|
|
141863
|
+
message.isChangeEnrollment = reader.bool();
|
|
141864
|
+
break;
|
|
141829
141865
|
default:
|
|
141830
141866
|
reader.skipType(tag & 7);
|
|
141831
141867
|
break;
|
|
@@ -141911,6 +141947,9 @@ $root.ElfRecordAbsent = (function() {
|
|
|
141911
141947
|
if (message.collectiveUuid != null && message.hasOwnProperty("collectiveUuid"))
|
|
141912
141948
|
if (!$util.isString(message.collectiveUuid))
|
|
141913
141949
|
return "collectiveUuid: string expected";
|
|
141950
|
+
if (message.isChangeEnrollment != null && message.hasOwnProperty("isChangeEnrollment"))
|
|
141951
|
+
if (typeof message.isChangeEnrollment !== "boolean")
|
|
141952
|
+
return "isChangeEnrollment: boolean expected";
|
|
141914
141953
|
return null;
|
|
141915
141954
|
};
|
|
141916
141955
|
|
|
@@ -141971,6 +142010,8 @@ $root.ElfRecordAbsent = (function() {
|
|
|
141971
142010
|
message.isMemberMigrated = Boolean(object.isMemberMigrated);
|
|
141972
142011
|
if (object.collectiveUuid != null)
|
|
141973
142012
|
message.collectiveUuid = String(object.collectiveUuid);
|
|
142013
|
+
if (object.isChangeEnrollment != null)
|
|
142014
|
+
message.isChangeEnrollment = Boolean(object.isChangeEnrollment);
|
|
141974
142015
|
return message;
|
|
141975
142016
|
};
|
|
141976
142017
|
|
|
@@ -142007,6 +142048,7 @@ $root.ElfRecordAbsent = (function() {
|
|
|
142007
142048
|
object.rootOrgId = "";
|
|
142008
142049
|
object.isMemberMigrated = false;
|
|
142009
142050
|
object.collectiveUuid = "";
|
|
142051
|
+
object.isChangeEnrollment = false;
|
|
142010
142052
|
}
|
|
142011
142053
|
if (message.headspaceHealthOrgId != null && message.hasOwnProperty("headspaceHealthOrgId"))
|
|
142012
142054
|
object.headspaceHealthOrgId = message.headspaceHealthOrgId;
|
|
@@ -142041,6 +142083,8 @@ $root.ElfRecordAbsent = (function() {
|
|
|
142041
142083
|
object.isMemberMigrated = message.isMemberMigrated;
|
|
142042
142084
|
if (message.collectiveUuid != null && message.hasOwnProperty("collectiveUuid"))
|
|
142043
142085
|
object.collectiveUuid = message.collectiveUuid;
|
|
142086
|
+
if (message.isChangeEnrollment != null && message.hasOwnProperty("isChangeEnrollment"))
|
|
142087
|
+
object.isChangeEnrollment = message.isChangeEnrollment;
|
|
142044
142088
|
return object;
|
|
142045
142089
|
};
|
|
142046
142090
|
|
|
@@ -186695,4 +186739,191 @@ $root.CareCoachingInteractionStarted = (function() {
|
|
|
186695
186739
|
return CareCoachingInteractionStarted;
|
|
186696
186740
|
})();
|
|
186697
186741
|
|
|
186742
|
+
$root.MemberSupportChatStatusPendingChanged = (function() {
|
|
186743
|
+
|
|
186744
|
+
/**
|
|
186745
|
+
* Properties of a MemberSupportChatStatusPendingChanged.
|
|
186746
|
+
* @name IMemberSupportChatStatusPendingChanged
|
|
186747
|
+
* @interface IMemberSupportChatStatusPendingChanged
|
|
186748
|
+
* @property {string|null} [hsUserId] MemberSupportChatStatusPendingChanged hsUserId
|
|
186749
|
+
*/
|
|
186750
|
+
|
|
186751
|
+
/**
|
|
186752
|
+
* Constructs a new MemberSupportChatStatusPendingChanged.
|
|
186753
|
+
* @name MemberSupportChatStatusPendingChanged
|
|
186754
|
+
* @classdesc Represents a MemberSupportChatStatusPendingChanged.
|
|
186755
|
+
* @implements IMemberSupportChatStatusPendingChanged
|
|
186756
|
+
* @constructor
|
|
186757
|
+
* @param {IMemberSupportChatStatusPendingChanged=} [properties] Properties to set
|
|
186758
|
+
*/
|
|
186759
|
+
function MemberSupportChatStatusPendingChanged(properties) {
|
|
186760
|
+
if (properties)
|
|
186761
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
186762
|
+
if (properties[keys[i]] != null)
|
|
186763
|
+
this[keys[i]] = properties[keys[i]];
|
|
186764
|
+
}
|
|
186765
|
+
|
|
186766
|
+
/**
|
|
186767
|
+
* MemberSupportChatStatusPendingChanged hsUserId.
|
|
186768
|
+
* @member {string} hsUserId
|
|
186769
|
+
* @memberof MemberSupportChatStatusPendingChanged
|
|
186770
|
+
* @instance
|
|
186771
|
+
*/
|
|
186772
|
+
MemberSupportChatStatusPendingChanged.prototype.hsUserId = "";
|
|
186773
|
+
|
|
186774
|
+
/**
|
|
186775
|
+
* Creates a new MemberSupportChatStatusPendingChanged instance using the specified properties.
|
|
186776
|
+
* @function create
|
|
186777
|
+
* @memberof MemberSupportChatStatusPendingChanged
|
|
186778
|
+
* @static
|
|
186779
|
+
* @param {IMemberSupportChatStatusPendingChanged=} [properties] Properties to set
|
|
186780
|
+
* @returns {MemberSupportChatStatusPendingChanged} MemberSupportChatStatusPendingChanged instance
|
|
186781
|
+
*/
|
|
186782
|
+
MemberSupportChatStatusPendingChanged.create = function create(properties) {
|
|
186783
|
+
return new MemberSupportChatStatusPendingChanged(properties);
|
|
186784
|
+
};
|
|
186785
|
+
|
|
186786
|
+
/**
|
|
186787
|
+
* Encodes the specified MemberSupportChatStatusPendingChanged message. Does not implicitly {@link MemberSupportChatStatusPendingChanged.verify|verify} messages.
|
|
186788
|
+
* @function encode
|
|
186789
|
+
* @memberof MemberSupportChatStatusPendingChanged
|
|
186790
|
+
* @static
|
|
186791
|
+
* @param {IMemberSupportChatStatusPendingChanged} message MemberSupportChatStatusPendingChanged message or plain object to encode
|
|
186792
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
186793
|
+
* @returns {$protobuf.Writer} Writer
|
|
186794
|
+
*/
|
|
186795
|
+
MemberSupportChatStatusPendingChanged.encode = function encode(message, writer) {
|
|
186796
|
+
if (!writer)
|
|
186797
|
+
writer = $Writer.create();
|
|
186798
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
186799
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsUserId);
|
|
186800
|
+
return writer;
|
|
186801
|
+
};
|
|
186802
|
+
|
|
186803
|
+
/**
|
|
186804
|
+
* Encodes the specified MemberSupportChatStatusPendingChanged message, length delimited. Does not implicitly {@link MemberSupportChatStatusPendingChanged.verify|verify} messages.
|
|
186805
|
+
* @function encodeDelimited
|
|
186806
|
+
* @memberof MemberSupportChatStatusPendingChanged
|
|
186807
|
+
* @static
|
|
186808
|
+
* @param {IMemberSupportChatStatusPendingChanged} message MemberSupportChatStatusPendingChanged message or plain object to encode
|
|
186809
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
186810
|
+
* @returns {$protobuf.Writer} Writer
|
|
186811
|
+
*/
|
|
186812
|
+
MemberSupportChatStatusPendingChanged.encodeDelimited = function encodeDelimited(message, writer) {
|
|
186813
|
+
return this.encode(message, writer).ldelim();
|
|
186814
|
+
};
|
|
186815
|
+
|
|
186816
|
+
/**
|
|
186817
|
+
* Decodes a MemberSupportChatStatusPendingChanged message from the specified reader or buffer.
|
|
186818
|
+
* @function decode
|
|
186819
|
+
* @memberof MemberSupportChatStatusPendingChanged
|
|
186820
|
+
* @static
|
|
186821
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
186822
|
+
* @param {number} [length] Message length if known beforehand
|
|
186823
|
+
* @returns {MemberSupportChatStatusPendingChanged} MemberSupportChatStatusPendingChanged
|
|
186824
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
186825
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
186826
|
+
*/
|
|
186827
|
+
MemberSupportChatStatusPendingChanged.decode = function decode(reader, length) {
|
|
186828
|
+
if (!(reader instanceof $Reader))
|
|
186829
|
+
reader = $Reader.create(reader);
|
|
186830
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.MemberSupportChatStatusPendingChanged();
|
|
186831
|
+
while (reader.pos < end) {
|
|
186832
|
+
var tag = reader.uint32();
|
|
186833
|
+
switch (tag >>> 3) {
|
|
186834
|
+
case 1:
|
|
186835
|
+
message.hsUserId = reader.string();
|
|
186836
|
+
break;
|
|
186837
|
+
default:
|
|
186838
|
+
reader.skipType(tag & 7);
|
|
186839
|
+
break;
|
|
186840
|
+
}
|
|
186841
|
+
}
|
|
186842
|
+
return message;
|
|
186843
|
+
};
|
|
186844
|
+
|
|
186845
|
+
/**
|
|
186846
|
+
* Decodes a MemberSupportChatStatusPendingChanged message from the specified reader or buffer, length delimited.
|
|
186847
|
+
* @function decodeDelimited
|
|
186848
|
+
* @memberof MemberSupportChatStatusPendingChanged
|
|
186849
|
+
* @static
|
|
186850
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
186851
|
+
* @returns {MemberSupportChatStatusPendingChanged} MemberSupportChatStatusPendingChanged
|
|
186852
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
186853
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
186854
|
+
*/
|
|
186855
|
+
MemberSupportChatStatusPendingChanged.decodeDelimited = function decodeDelimited(reader) {
|
|
186856
|
+
if (!(reader instanceof $Reader))
|
|
186857
|
+
reader = new $Reader(reader);
|
|
186858
|
+
return this.decode(reader, reader.uint32());
|
|
186859
|
+
};
|
|
186860
|
+
|
|
186861
|
+
/**
|
|
186862
|
+
* Verifies a MemberSupportChatStatusPendingChanged message.
|
|
186863
|
+
* @function verify
|
|
186864
|
+
* @memberof MemberSupportChatStatusPendingChanged
|
|
186865
|
+
* @static
|
|
186866
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
186867
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
186868
|
+
*/
|
|
186869
|
+
MemberSupportChatStatusPendingChanged.verify = function verify(message) {
|
|
186870
|
+
if (typeof message !== "object" || message === null)
|
|
186871
|
+
return "object expected";
|
|
186872
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
186873
|
+
if (!$util.isString(message.hsUserId))
|
|
186874
|
+
return "hsUserId: string expected";
|
|
186875
|
+
return null;
|
|
186876
|
+
};
|
|
186877
|
+
|
|
186878
|
+
/**
|
|
186879
|
+
* Creates a MemberSupportChatStatusPendingChanged message from a plain object. Also converts values to their respective internal types.
|
|
186880
|
+
* @function fromObject
|
|
186881
|
+
* @memberof MemberSupportChatStatusPendingChanged
|
|
186882
|
+
* @static
|
|
186883
|
+
* @param {Object.<string,*>} object Plain object
|
|
186884
|
+
* @returns {MemberSupportChatStatusPendingChanged} MemberSupportChatStatusPendingChanged
|
|
186885
|
+
*/
|
|
186886
|
+
MemberSupportChatStatusPendingChanged.fromObject = function fromObject(object) {
|
|
186887
|
+
if (object instanceof $root.MemberSupportChatStatusPendingChanged)
|
|
186888
|
+
return object;
|
|
186889
|
+
var message = new $root.MemberSupportChatStatusPendingChanged();
|
|
186890
|
+
if (object.hsUserId != null)
|
|
186891
|
+
message.hsUserId = String(object.hsUserId);
|
|
186892
|
+
return message;
|
|
186893
|
+
};
|
|
186894
|
+
|
|
186895
|
+
/**
|
|
186896
|
+
* Creates a plain object from a MemberSupportChatStatusPendingChanged message. Also converts values to other types if specified.
|
|
186897
|
+
* @function toObject
|
|
186898
|
+
* @memberof MemberSupportChatStatusPendingChanged
|
|
186899
|
+
* @static
|
|
186900
|
+
* @param {MemberSupportChatStatusPendingChanged} message MemberSupportChatStatusPendingChanged
|
|
186901
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
186902
|
+
* @returns {Object.<string,*>} Plain object
|
|
186903
|
+
*/
|
|
186904
|
+
MemberSupportChatStatusPendingChanged.toObject = function toObject(message, options) {
|
|
186905
|
+
if (!options)
|
|
186906
|
+
options = {};
|
|
186907
|
+
var object = {};
|
|
186908
|
+
if (options.defaults)
|
|
186909
|
+
object.hsUserId = "";
|
|
186910
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
186911
|
+
object.hsUserId = message.hsUserId;
|
|
186912
|
+
return object;
|
|
186913
|
+
};
|
|
186914
|
+
|
|
186915
|
+
/**
|
|
186916
|
+
* Converts this MemberSupportChatStatusPendingChanged to JSON.
|
|
186917
|
+
* @function toJSON
|
|
186918
|
+
* @memberof MemberSupportChatStatusPendingChanged
|
|
186919
|
+
* @instance
|
|
186920
|
+
* @returns {Object.<string,*>} JSON object
|
|
186921
|
+
*/
|
|
186922
|
+
MemberSupportChatStatusPendingChanged.prototype.toJSON = function toJSON() {
|
|
186923
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
186924
|
+
};
|
|
186925
|
+
|
|
186926
|
+
return MemberSupportChatStatusPendingChanged;
|
|
186927
|
+
})();
|
|
186928
|
+
|
|
186698
186929
|
module.exports = $root;
|
package/package.json
CHANGED