@headspace/protos-events 1.767.0 → 1.769.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
|
@@ -41782,6 +41782,9 @@ export interface IEnterpriseUserEnrollmentCreated {
|
|
|
41782
41782
|
|
|
41783
41783
|
/** EnterpriseUserEnrollmentCreated taggedCustomFields */
|
|
41784
41784
|
taggedCustomFields?: (ITaggedCustomField[]|null);
|
|
41785
|
+
|
|
41786
|
+
/** EnterpriseUserEnrollmentCreated isTextCoachingDisabled */
|
|
41787
|
+
isTextCoachingDisabled?: (boolean|null);
|
|
41785
41788
|
}
|
|
41786
41789
|
|
|
41787
41790
|
/** Represents an EnterpriseUserEnrollmentCreated. */
|
|
@@ -41958,6 +41961,9 @@ export class EnterpriseUserEnrollmentCreated implements IEnterpriseUserEnrollmen
|
|
|
41958
41961
|
/** EnterpriseUserEnrollmentCreated taggedCustomFields. */
|
|
41959
41962
|
public taggedCustomFields: ITaggedCustomField[];
|
|
41960
41963
|
|
|
41964
|
+
/** EnterpriseUserEnrollmentCreated isTextCoachingDisabled. */
|
|
41965
|
+
public isTextCoachingDisabled: boolean;
|
|
41966
|
+
|
|
41961
41967
|
/**
|
|
41962
41968
|
* Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
|
|
41963
41969
|
* @param [properties] Properties to set
|
|
@@ -49266,6 +49272,108 @@ export class UserOnboardingTopicResponses implements IUserOnboardingTopicRespons
|
|
|
49266
49272
|
public toJSON(): { [k: string]: any };
|
|
49267
49273
|
}
|
|
49268
49274
|
|
|
49275
|
+
/** Properties of a UserOnboardingPrimaryTopicSelected. */
|
|
49276
|
+
export interface IUserOnboardingPrimaryTopicSelected {
|
|
49277
|
+
|
|
49278
|
+
/** UserOnboardingPrimaryTopicSelected hsUserId */
|
|
49279
|
+
hsUserId?: (string|null);
|
|
49280
|
+
|
|
49281
|
+
/** UserOnboardingPrimaryTopicSelected needState */
|
|
49282
|
+
needState?: (string|null);
|
|
49283
|
+
|
|
49284
|
+
/** UserOnboardingPrimaryTopicSelected needStateDisplayName */
|
|
49285
|
+
needStateDisplayName?: (string|null);
|
|
49286
|
+
}
|
|
49287
|
+
|
|
49288
|
+
/** Represents a UserOnboardingPrimaryTopicSelected. */
|
|
49289
|
+
export class UserOnboardingPrimaryTopicSelected implements IUserOnboardingPrimaryTopicSelected {
|
|
49290
|
+
|
|
49291
|
+
/**
|
|
49292
|
+
* Constructs a new UserOnboardingPrimaryTopicSelected.
|
|
49293
|
+
* @param [properties] Properties to set
|
|
49294
|
+
*/
|
|
49295
|
+
constructor(properties?: IUserOnboardingPrimaryTopicSelected);
|
|
49296
|
+
|
|
49297
|
+
/** UserOnboardingPrimaryTopicSelected hsUserId. */
|
|
49298
|
+
public hsUserId: string;
|
|
49299
|
+
|
|
49300
|
+
/** UserOnboardingPrimaryTopicSelected needState. */
|
|
49301
|
+
public needState: string;
|
|
49302
|
+
|
|
49303
|
+
/** UserOnboardingPrimaryTopicSelected needStateDisplayName. */
|
|
49304
|
+
public needStateDisplayName: string;
|
|
49305
|
+
|
|
49306
|
+
/**
|
|
49307
|
+
* Creates a new UserOnboardingPrimaryTopicSelected instance using the specified properties.
|
|
49308
|
+
* @param [properties] Properties to set
|
|
49309
|
+
* @returns UserOnboardingPrimaryTopicSelected instance
|
|
49310
|
+
*/
|
|
49311
|
+
public static create(properties?: IUserOnboardingPrimaryTopicSelected): UserOnboardingPrimaryTopicSelected;
|
|
49312
|
+
|
|
49313
|
+
/**
|
|
49314
|
+
* Encodes the specified UserOnboardingPrimaryTopicSelected message. Does not implicitly {@link UserOnboardingPrimaryTopicSelected.verify|verify} messages.
|
|
49315
|
+
* @param message UserOnboardingPrimaryTopicSelected message or plain object to encode
|
|
49316
|
+
* @param [writer] Writer to encode to
|
|
49317
|
+
* @returns Writer
|
|
49318
|
+
*/
|
|
49319
|
+
public static encode(message: IUserOnboardingPrimaryTopicSelected, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
49320
|
+
|
|
49321
|
+
/**
|
|
49322
|
+
* Encodes the specified UserOnboardingPrimaryTopicSelected message, length delimited. Does not implicitly {@link UserOnboardingPrimaryTopicSelected.verify|verify} messages.
|
|
49323
|
+
* @param message UserOnboardingPrimaryTopicSelected message or plain object to encode
|
|
49324
|
+
* @param [writer] Writer to encode to
|
|
49325
|
+
* @returns Writer
|
|
49326
|
+
*/
|
|
49327
|
+
public static encodeDelimited(message: IUserOnboardingPrimaryTopicSelected, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
49328
|
+
|
|
49329
|
+
/**
|
|
49330
|
+
* Decodes a UserOnboardingPrimaryTopicSelected message from the specified reader or buffer.
|
|
49331
|
+
* @param reader Reader or buffer to decode from
|
|
49332
|
+
* @param [length] Message length if known beforehand
|
|
49333
|
+
* @returns UserOnboardingPrimaryTopicSelected
|
|
49334
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
49335
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
49336
|
+
*/
|
|
49337
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserOnboardingPrimaryTopicSelected;
|
|
49338
|
+
|
|
49339
|
+
/**
|
|
49340
|
+
* Decodes a UserOnboardingPrimaryTopicSelected message from the specified reader or buffer, length delimited.
|
|
49341
|
+
* @param reader Reader or buffer to decode from
|
|
49342
|
+
* @returns UserOnboardingPrimaryTopicSelected
|
|
49343
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
49344
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
49345
|
+
*/
|
|
49346
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserOnboardingPrimaryTopicSelected;
|
|
49347
|
+
|
|
49348
|
+
/**
|
|
49349
|
+
* Verifies a UserOnboardingPrimaryTopicSelected message.
|
|
49350
|
+
* @param message Plain object to verify
|
|
49351
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
49352
|
+
*/
|
|
49353
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
49354
|
+
|
|
49355
|
+
/**
|
|
49356
|
+
* Creates a UserOnboardingPrimaryTopicSelected message from a plain object. Also converts values to their respective internal types.
|
|
49357
|
+
* @param object Plain object
|
|
49358
|
+
* @returns UserOnboardingPrimaryTopicSelected
|
|
49359
|
+
*/
|
|
49360
|
+
public static fromObject(object: { [k: string]: any }): UserOnboardingPrimaryTopicSelected;
|
|
49361
|
+
|
|
49362
|
+
/**
|
|
49363
|
+
* Creates a plain object from a UserOnboardingPrimaryTopicSelected message. Also converts values to other types if specified.
|
|
49364
|
+
* @param message UserOnboardingPrimaryTopicSelected
|
|
49365
|
+
* @param [options] Conversion options
|
|
49366
|
+
* @returns Plain object
|
|
49367
|
+
*/
|
|
49368
|
+
public static toObject(message: UserOnboardingPrimaryTopicSelected, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
49369
|
+
|
|
49370
|
+
/**
|
|
49371
|
+
* Converts this UserOnboardingPrimaryTopicSelected to JSON.
|
|
49372
|
+
* @returns JSON object
|
|
49373
|
+
*/
|
|
49374
|
+
public toJSON(): { [k: string]: any };
|
|
49375
|
+
}
|
|
49376
|
+
|
|
49269
49377
|
/** Properties of an OnboardingAssigned. */
|
|
49270
49378
|
export interface IOnboardingAssigned {
|
|
49271
49379
|
|
package/lib/index.js
CHANGED
|
@@ -117090,6 +117090,7 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
117090
117090
|
* @property {string|null} [externalClientId] EnterpriseUserEnrollmentCreated externalClientId
|
|
117091
117091
|
* @property {string|null} [brandLogoUrl] EnterpriseUserEnrollmentCreated brandLogoUrl
|
|
117092
117092
|
* @property {Array.<ITaggedCustomField>|null} [taggedCustomFields] EnterpriseUserEnrollmentCreated taggedCustomFields
|
|
117093
|
+
* @property {boolean|null} [isTextCoachingDisabled] EnterpriseUserEnrollmentCreated isTextCoachingDisabled
|
|
117093
117094
|
*/
|
|
117094
117095
|
|
|
117095
117096
|
/**
|
|
@@ -117548,6 +117549,14 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
117548
117549
|
*/
|
|
117549
117550
|
EnterpriseUserEnrollmentCreated.prototype.taggedCustomFields = $util.emptyArray;
|
|
117550
117551
|
|
|
117552
|
+
/**
|
|
117553
|
+
* EnterpriseUserEnrollmentCreated isTextCoachingDisabled.
|
|
117554
|
+
* @member {boolean} isTextCoachingDisabled
|
|
117555
|
+
* @memberof EnterpriseUserEnrollmentCreated
|
|
117556
|
+
* @instance
|
|
117557
|
+
*/
|
|
117558
|
+
EnterpriseUserEnrollmentCreated.prototype.isTextCoachingDisabled = false;
|
|
117559
|
+
|
|
117551
117560
|
/**
|
|
117552
117561
|
* Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
|
|
117553
117562
|
* @function create
|
|
@@ -117683,6 +117692,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
117683
117692
|
if (message.taggedCustomFields != null && message.taggedCustomFields.length)
|
|
117684
117693
|
for (var i = 0; i < message.taggedCustomFields.length; ++i)
|
|
117685
117694
|
$root.TaggedCustomField.encode(message.taggedCustomFields[i], writer.uint32(/* id 60, wireType 2 =*/482).fork()).ldelim();
|
|
117695
|
+
if (message.isTextCoachingDisabled != null && message.hasOwnProperty("isTextCoachingDisabled"))
|
|
117696
|
+
writer.uint32(/* id 61, wireType 0 =*/488).bool(message.isTextCoachingDisabled);
|
|
117686
117697
|
return writer;
|
|
117687
117698
|
};
|
|
117688
117699
|
|
|
@@ -117884,6 +117895,9 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
117884
117895
|
message.taggedCustomFields = [];
|
|
117885
117896
|
message.taggedCustomFields.push($root.TaggedCustomField.decode(reader, reader.uint32()));
|
|
117886
117897
|
break;
|
|
117898
|
+
case 61:
|
|
117899
|
+
message.isTextCoachingDisabled = reader.bool();
|
|
117900
|
+
break;
|
|
117887
117901
|
default:
|
|
117888
117902
|
reader.skipType(tag & 7);
|
|
117889
117903
|
break;
|
|
@@ -118165,6 +118179,9 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
118165
118179
|
return "taggedCustomFields." + error;
|
|
118166
118180
|
}
|
|
118167
118181
|
}
|
|
118182
|
+
if (message.isTextCoachingDisabled != null && message.hasOwnProperty("isTextCoachingDisabled"))
|
|
118183
|
+
if (typeof message.isTextCoachingDisabled !== "boolean")
|
|
118184
|
+
return "isTextCoachingDisabled: boolean expected";
|
|
118168
118185
|
return null;
|
|
118169
118186
|
};
|
|
118170
118187
|
|
|
@@ -118513,6 +118530,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
118513
118530
|
message.taggedCustomFields[i] = $root.TaggedCustomField.fromObject(object.taggedCustomFields[i]);
|
|
118514
118531
|
}
|
|
118515
118532
|
}
|
|
118533
|
+
if (object.isTextCoachingDisabled != null)
|
|
118534
|
+
message.isTextCoachingDisabled = Boolean(object.isTextCoachingDisabled);
|
|
118516
118535
|
return message;
|
|
118517
118536
|
};
|
|
118518
118537
|
|
|
@@ -118606,6 +118625,7 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
118606
118625
|
object.externalEligibility = "";
|
|
118607
118626
|
object.externalClientId = "";
|
|
118608
118627
|
object.brandLogoUrl = "";
|
|
118628
|
+
object.isTextCoachingDisabled = false;
|
|
118609
118629
|
}
|
|
118610
118630
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
118611
118631
|
object.userId = message.userId;
|
|
@@ -118735,6 +118755,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
118735
118755
|
for (var j = 0; j < message.taggedCustomFields.length; ++j)
|
|
118736
118756
|
object.taggedCustomFields[j] = $root.TaggedCustomField.toObject(message.taggedCustomFields[j], options);
|
|
118737
118757
|
}
|
|
118758
|
+
if (message.isTextCoachingDisabled != null && message.hasOwnProperty("isTextCoachingDisabled"))
|
|
118759
|
+
object.isTextCoachingDisabled = message.isTextCoachingDisabled;
|
|
118738
118760
|
return object;
|
|
118739
118761
|
};
|
|
118740
118762
|
|
|
@@ -140533,6 +140555,238 @@ $root.UserOnboardingTopicResponses = (function() {
|
|
|
140533
140555
|
return UserOnboardingTopicResponses;
|
|
140534
140556
|
})();
|
|
140535
140557
|
|
|
140558
|
+
$root.UserOnboardingPrimaryTopicSelected = (function() {
|
|
140559
|
+
|
|
140560
|
+
/**
|
|
140561
|
+
* Properties of a UserOnboardingPrimaryTopicSelected.
|
|
140562
|
+
* @name IUserOnboardingPrimaryTopicSelected
|
|
140563
|
+
* @interface IUserOnboardingPrimaryTopicSelected
|
|
140564
|
+
* @property {string|null} [hsUserId] UserOnboardingPrimaryTopicSelected hsUserId
|
|
140565
|
+
* @property {string|null} [needState] UserOnboardingPrimaryTopicSelected needState
|
|
140566
|
+
* @property {string|null} [needStateDisplayName] UserOnboardingPrimaryTopicSelected needStateDisplayName
|
|
140567
|
+
*/
|
|
140568
|
+
|
|
140569
|
+
/**
|
|
140570
|
+
* Constructs a new UserOnboardingPrimaryTopicSelected.
|
|
140571
|
+
* @name UserOnboardingPrimaryTopicSelected
|
|
140572
|
+
* @classdesc Represents a UserOnboardingPrimaryTopicSelected.
|
|
140573
|
+
* @implements IUserOnboardingPrimaryTopicSelected
|
|
140574
|
+
* @constructor
|
|
140575
|
+
* @param {IUserOnboardingPrimaryTopicSelected=} [properties] Properties to set
|
|
140576
|
+
*/
|
|
140577
|
+
function UserOnboardingPrimaryTopicSelected(properties) {
|
|
140578
|
+
if (properties)
|
|
140579
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
140580
|
+
if (properties[keys[i]] != null)
|
|
140581
|
+
this[keys[i]] = properties[keys[i]];
|
|
140582
|
+
}
|
|
140583
|
+
|
|
140584
|
+
/**
|
|
140585
|
+
* UserOnboardingPrimaryTopicSelected hsUserId.
|
|
140586
|
+
* @member {string} hsUserId
|
|
140587
|
+
* @memberof UserOnboardingPrimaryTopicSelected
|
|
140588
|
+
* @instance
|
|
140589
|
+
*/
|
|
140590
|
+
UserOnboardingPrimaryTopicSelected.prototype.hsUserId = "";
|
|
140591
|
+
|
|
140592
|
+
/**
|
|
140593
|
+
* UserOnboardingPrimaryTopicSelected needState.
|
|
140594
|
+
* @member {string} needState
|
|
140595
|
+
* @memberof UserOnboardingPrimaryTopicSelected
|
|
140596
|
+
* @instance
|
|
140597
|
+
*/
|
|
140598
|
+
UserOnboardingPrimaryTopicSelected.prototype.needState = "";
|
|
140599
|
+
|
|
140600
|
+
/**
|
|
140601
|
+
* UserOnboardingPrimaryTopicSelected needStateDisplayName.
|
|
140602
|
+
* @member {string} needStateDisplayName
|
|
140603
|
+
* @memberof UserOnboardingPrimaryTopicSelected
|
|
140604
|
+
* @instance
|
|
140605
|
+
*/
|
|
140606
|
+
UserOnboardingPrimaryTopicSelected.prototype.needStateDisplayName = "";
|
|
140607
|
+
|
|
140608
|
+
/**
|
|
140609
|
+
* Creates a new UserOnboardingPrimaryTopicSelected instance using the specified properties.
|
|
140610
|
+
* @function create
|
|
140611
|
+
* @memberof UserOnboardingPrimaryTopicSelected
|
|
140612
|
+
* @static
|
|
140613
|
+
* @param {IUserOnboardingPrimaryTopicSelected=} [properties] Properties to set
|
|
140614
|
+
* @returns {UserOnboardingPrimaryTopicSelected} UserOnboardingPrimaryTopicSelected instance
|
|
140615
|
+
*/
|
|
140616
|
+
UserOnboardingPrimaryTopicSelected.create = function create(properties) {
|
|
140617
|
+
return new UserOnboardingPrimaryTopicSelected(properties);
|
|
140618
|
+
};
|
|
140619
|
+
|
|
140620
|
+
/**
|
|
140621
|
+
* Encodes the specified UserOnboardingPrimaryTopicSelected message. Does not implicitly {@link UserOnboardingPrimaryTopicSelected.verify|verify} messages.
|
|
140622
|
+
* @function encode
|
|
140623
|
+
* @memberof UserOnboardingPrimaryTopicSelected
|
|
140624
|
+
* @static
|
|
140625
|
+
* @param {IUserOnboardingPrimaryTopicSelected} message UserOnboardingPrimaryTopicSelected message or plain object to encode
|
|
140626
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
140627
|
+
* @returns {$protobuf.Writer} Writer
|
|
140628
|
+
*/
|
|
140629
|
+
UserOnboardingPrimaryTopicSelected.encode = function encode(message, writer) {
|
|
140630
|
+
if (!writer)
|
|
140631
|
+
writer = $Writer.create();
|
|
140632
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
140633
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsUserId);
|
|
140634
|
+
if (message.needState != null && message.hasOwnProperty("needState"))
|
|
140635
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.needState);
|
|
140636
|
+
if (message.needStateDisplayName != null && message.hasOwnProperty("needStateDisplayName"))
|
|
140637
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.needStateDisplayName);
|
|
140638
|
+
return writer;
|
|
140639
|
+
};
|
|
140640
|
+
|
|
140641
|
+
/**
|
|
140642
|
+
* Encodes the specified UserOnboardingPrimaryTopicSelected message, length delimited. Does not implicitly {@link UserOnboardingPrimaryTopicSelected.verify|verify} messages.
|
|
140643
|
+
* @function encodeDelimited
|
|
140644
|
+
* @memberof UserOnboardingPrimaryTopicSelected
|
|
140645
|
+
* @static
|
|
140646
|
+
* @param {IUserOnboardingPrimaryTopicSelected} message UserOnboardingPrimaryTopicSelected message or plain object to encode
|
|
140647
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
140648
|
+
* @returns {$protobuf.Writer} Writer
|
|
140649
|
+
*/
|
|
140650
|
+
UserOnboardingPrimaryTopicSelected.encodeDelimited = function encodeDelimited(message, writer) {
|
|
140651
|
+
return this.encode(message, writer).ldelim();
|
|
140652
|
+
};
|
|
140653
|
+
|
|
140654
|
+
/**
|
|
140655
|
+
* Decodes a UserOnboardingPrimaryTopicSelected message from the specified reader or buffer.
|
|
140656
|
+
* @function decode
|
|
140657
|
+
* @memberof UserOnboardingPrimaryTopicSelected
|
|
140658
|
+
* @static
|
|
140659
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
140660
|
+
* @param {number} [length] Message length if known beforehand
|
|
140661
|
+
* @returns {UserOnboardingPrimaryTopicSelected} UserOnboardingPrimaryTopicSelected
|
|
140662
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
140663
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
140664
|
+
*/
|
|
140665
|
+
UserOnboardingPrimaryTopicSelected.decode = function decode(reader, length) {
|
|
140666
|
+
if (!(reader instanceof $Reader))
|
|
140667
|
+
reader = $Reader.create(reader);
|
|
140668
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.UserOnboardingPrimaryTopicSelected();
|
|
140669
|
+
while (reader.pos < end) {
|
|
140670
|
+
var tag = reader.uint32();
|
|
140671
|
+
switch (tag >>> 3) {
|
|
140672
|
+
case 1:
|
|
140673
|
+
message.hsUserId = reader.string();
|
|
140674
|
+
break;
|
|
140675
|
+
case 2:
|
|
140676
|
+
message.needState = reader.string();
|
|
140677
|
+
break;
|
|
140678
|
+
case 3:
|
|
140679
|
+
message.needStateDisplayName = reader.string();
|
|
140680
|
+
break;
|
|
140681
|
+
default:
|
|
140682
|
+
reader.skipType(tag & 7);
|
|
140683
|
+
break;
|
|
140684
|
+
}
|
|
140685
|
+
}
|
|
140686
|
+
return message;
|
|
140687
|
+
};
|
|
140688
|
+
|
|
140689
|
+
/**
|
|
140690
|
+
* Decodes a UserOnboardingPrimaryTopicSelected message from the specified reader or buffer, length delimited.
|
|
140691
|
+
* @function decodeDelimited
|
|
140692
|
+
* @memberof UserOnboardingPrimaryTopicSelected
|
|
140693
|
+
* @static
|
|
140694
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
140695
|
+
* @returns {UserOnboardingPrimaryTopicSelected} UserOnboardingPrimaryTopicSelected
|
|
140696
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
140697
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
140698
|
+
*/
|
|
140699
|
+
UserOnboardingPrimaryTopicSelected.decodeDelimited = function decodeDelimited(reader) {
|
|
140700
|
+
if (!(reader instanceof $Reader))
|
|
140701
|
+
reader = new $Reader(reader);
|
|
140702
|
+
return this.decode(reader, reader.uint32());
|
|
140703
|
+
};
|
|
140704
|
+
|
|
140705
|
+
/**
|
|
140706
|
+
* Verifies a UserOnboardingPrimaryTopicSelected message.
|
|
140707
|
+
* @function verify
|
|
140708
|
+
* @memberof UserOnboardingPrimaryTopicSelected
|
|
140709
|
+
* @static
|
|
140710
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
140711
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
140712
|
+
*/
|
|
140713
|
+
UserOnboardingPrimaryTopicSelected.verify = function verify(message) {
|
|
140714
|
+
if (typeof message !== "object" || message === null)
|
|
140715
|
+
return "object expected";
|
|
140716
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
140717
|
+
if (!$util.isString(message.hsUserId))
|
|
140718
|
+
return "hsUserId: string expected";
|
|
140719
|
+
if (message.needState != null && message.hasOwnProperty("needState"))
|
|
140720
|
+
if (!$util.isString(message.needState))
|
|
140721
|
+
return "needState: string expected";
|
|
140722
|
+
if (message.needStateDisplayName != null && message.hasOwnProperty("needStateDisplayName"))
|
|
140723
|
+
if (!$util.isString(message.needStateDisplayName))
|
|
140724
|
+
return "needStateDisplayName: string expected";
|
|
140725
|
+
return null;
|
|
140726
|
+
};
|
|
140727
|
+
|
|
140728
|
+
/**
|
|
140729
|
+
* Creates a UserOnboardingPrimaryTopicSelected message from a plain object. Also converts values to their respective internal types.
|
|
140730
|
+
* @function fromObject
|
|
140731
|
+
* @memberof UserOnboardingPrimaryTopicSelected
|
|
140732
|
+
* @static
|
|
140733
|
+
* @param {Object.<string,*>} object Plain object
|
|
140734
|
+
* @returns {UserOnboardingPrimaryTopicSelected} UserOnboardingPrimaryTopicSelected
|
|
140735
|
+
*/
|
|
140736
|
+
UserOnboardingPrimaryTopicSelected.fromObject = function fromObject(object) {
|
|
140737
|
+
if (object instanceof $root.UserOnboardingPrimaryTopicSelected)
|
|
140738
|
+
return object;
|
|
140739
|
+
var message = new $root.UserOnboardingPrimaryTopicSelected();
|
|
140740
|
+
if (object.hsUserId != null)
|
|
140741
|
+
message.hsUserId = String(object.hsUserId);
|
|
140742
|
+
if (object.needState != null)
|
|
140743
|
+
message.needState = String(object.needState);
|
|
140744
|
+
if (object.needStateDisplayName != null)
|
|
140745
|
+
message.needStateDisplayName = String(object.needStateDisplayName);
|
|
140746
|
+
return message;
|
|
140747
|
+
};
|
|
140748
|
+
|
|
140749
|
+
/**
|
|
140750
|
+
* Creates a plain object from a UserOnboardingPrimaryTopicSelected message. Also converts values to other types if specified.
|
|
140751
|
+
* @function toObject
|
|
140752
|
+
* @memberof UserOnboardingPrimaryTopicSelected
|
|
140753
|
+
* @static
|
|
140754
|
+
* @param {UserOnboardingPrimaryTopicSelected} message UserOnboardingPrimaryTopicSelected
|
|
140755
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
140756
|
+
* @returns {Object.<string,*>} Plain object
|
|
140757
|
+
*/
|
|
140758
|
+
UserOnboardingPrimaryTopicSelected.toObject = function toObject(message, options) {
|
|
140759
|
+
if (!options)
|
|
140760
|
+
options = {};
|
|
140761
|
+
var object = {};
|
|
140762
|
+
if (options.defaults) {
|
|
140763
|
+
object.hsUserId = "";
|
|
140764
|
+
object.needState = "";
|
|
140765
|
+
object.needStateDisplayName = "";
|
|
140766
|
+
}
|
|
140767
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
140768
|
+
object.hsUserId = message.hsUserId;
|
|
140769
|
+
if (message.needState != null && message.hasOwnProperty("needState"))
|
|
140770
|
+
object.needState = message.needState;
|
|
140771
|
+
if (message.needStateDisplayName != null && message.hasOwnProperty("needStateDisplayName"))
|
|
140772
|
+
object.needStateDisplayName = message.needStateDisplayName;
|
|
140773
|
+
return object;
|
|
140774
|
+
};
|
|
140775
|
+
|
|
140776
|
+
/**
|
|
140777
|
+
* Converts this UserOnboardingPrimaryTopicSelected to JSON.
|
|
140778
|
+
* @function toJSON
|
|
140779
|
+
* @memberof UserOnboardingPrimaryTopicSelected
|
|
140780
|
+
* @instance
|
|
140781
|
+
* @returns {Object.<string,*>} JSON object
|
|
140782
|
+
*/
|
|
140783
|
+
UserOnboardingPrimaryTopicSelected.prototype.toJSON = function toJSON() {
|
|
140784
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
140785
|
+
};
|
|
140786
|
+
|
|
140787
|
+
return UserOnboardingPrimaryTopicSelected;
|
|
140788
|
+
})();
|
|
140789
|
+
|
|
140536
140790
|
$root.OnboardingAssigned = (function() {
|
|
140537
140791
|
|
|
140538
140792
|
/**
|
package/package.json
CHANGED