@headspace/protos-events 1.773.0 → 1.774.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 +24 -0
- package/lib/index.js +176 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -42274,6 +42274,9 @@ export interface IEnterpriseUserEnrollmentRemoved {
|
|
|
42274
42274
|
|
|
42275
42275
|
/** EnterpriseUserEnrollmentRemoved brandLogoUrl */
|
|
42276
42276
|
brandLogoUrl?: (string|null);
|
|
42277
|
+
|
|
42278
|
+
/** EnterpriseUserEnrollmentRemoved taggedCustomFields */
|
|
42279
|
+
taggedCustomFields?: (ITaggedCustomField[]|null);
|
|
42277
42280
|
}
|
|
42278
42281
|
|
|
42279
42282
|
/** Represents an EnterpriseUserEnrollmentRemoved. */
|
|
@@ -42414,6 +42417,9 @@ export class EnterpriseUserEnrollmentRemoved implements IEnterpriseUserEnrollmen
|
|
|
42414
42417
|
/** EnterpriseUserEnrollmentRemoved brandLogoUrl. */
|
|
42415
42418
|
public brandLogoUrl: string;
|
|
42416
42419
|
|
|
42420
|
+
/** EnterpriseUserEnrollmentRemoved taggedCustomFields. */
|
|
42421
|
+
public taggedCustomFields: ITaggedCustomField[];
|
|
42422
|
+
|
|
42417
42423
|
/**
|
|
42418
42424
|
* Creates a new EnterpriseUserEnrollmentRemoved instance using the specified properties.
|
|
42419
42425
|
* @param [properties] Properties to set
|
|
@@ -42640,6 +42646,9 @@ export interface IEnterpriseUserEnrollmentAmended {
|
|
|
42640
42646
|
|
|
42641
42647
|
/** EnterpriseUserEnrollmentAmended isTextCoachingDisabled */
|
|
42642
42648
|
isTextCoachingDisabled?: (boolean|null);
|
|
42649
|
+
|
|
42650
|
+
/** EnterpriseUserEnrollmentAmended taggedCustomFields */
|
|
42651
|
+
taggedCustomFields?: (ITaggedCustomField[]|null);
|
|
42643
42652
|
}
|
|
42644
42653
|
|
|
42645
42654
|
/** Represents an EnterpriseUserEnrollmentAmended. */
|
|
@@ -42804,6 +42813,9 @@ export class EnterpriseUserEnrollmentAmended implements IEnterpriseUserEnrollmen
|
|
|
42804
42813
|
/** EnterpriseUserEnrollmentAmended isTextCoachingDisabled. */
|
|
42805
42814
|
public isTextCoachingDisabled: boolean;
|
|
42806
42815
|
|
|
42816
|
+
/** EnterpriseUserEnrollmentAmended taggedCustomFields. */
|
|
42817
|
+
public taggedCustomFields: ITaggedCustomField[];
|
|
42818
|
+
|
|
42807
42819
|
/**
|
|
42808
42820
|
* Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
|
|
42809
42821
|
* @param [properties] Properties to set
|
|
@@ -42925,6 +42937,9 @@ export interface IEnterpriseUserEnrollmentInitiated {
|
|
|
42925
42937
|
|
|
42926
42938
|
/** EnterpriseUserEnrollmentInitiated suppressCoachingCommunications */
|
|
42927
42939
|
suppressCoachingCommunications?: (boolean|null);
|
|
42940
|
+
|
|
42941
|
+
/** EnterpriseUserEnrollmentInitiated taggedCustomFields */
|
|
42942
|
+
taggedCustomFields?: (ITaggedCustomField[]|null);
|
|
42928
42943
|
}
|
|
42929
42944
|
|
|
42930
42945
|
/** Represents an EnterpriseUserEnrollmentInitiated. */
|
|
@@ -42984,6 +42999,9 @@ export class EnterpriseUserEnrollmentInitiated implements IEnterpriseUserEnrollm
|
|
|
42984
42999
|
/** EnterpriseUserEnrollmentInitiated suppressCoachingCommunications. */
|
|
42985
43000
|
public suppressCoachingCommunications: boolean;
|
|
42986
43001
|
|
|
43002
|
+
/** EnterpriseUserEnrollmentInitiated taggedCustomFields. */
|
|
43003
|
+
public taggedCustomFields: ITaggedCustomField[];
|
|
43004
|
+
|
|
42987
43005
|
/**
|
|
42988
43006
|
* Creates a new EnterpriseUserEnrollmentInitiated instance using the specified properties.
|
|
42989
43007
|
* @param [properties] Properties to set
|
|
@@ -43084,6 +43102,9 @@ export interface IEnterpriseUserEnrollmentUpgraded {
|
|
|
43084
43102
|
|
|
43085
43103
|
/** EnterpriseUserEnrollmentUpgraded isTextCoachingDisabled */
|
|
43086
43104
|
isTextCoachingDisabled?: (boolean|null);
|
|
43105
|
+
|
|
43106
|
+
/** EnterpriseUserEnrollmentUpgraded taggedCustomFields */
|
|
43107
|
+
taggedCustomFields?: (ITaggedCustomField[]|null);
|
|
43087
43108
|
}
|
|
43088
43109
|
|
|
43089
43110
|
/** Represents an EnterpriseUserEnrollmentUpgraded. */
|
|
@@ -43122,6 +43143,9 @@ export class EnterpriseUserEnrollmentUpgraded implements IEnterpriseUserEnrollme
|
|
|
43122
43143
|
/** EnterpriseUserEnrollmentUpgraded isTextCoachingDisabled. */
|
|
43123
43144
|
public isTextCoachingDisabled: boolean;
|
|
43124
43145
|
|
|
43146
|
+
/** EnterpriseUserEnrollmentUpgraded taggedCustomFields. */
|
|
43147
|
+
public taggedCustomFields: ITaggedCustomField[];
|
|
43148
|
+
|
|
43125
43149
|
/**
|
|
43126
43150
|
* Creates a new EnterpriseUserEnrollmentUpgraded instance using the specified properties.
|
|
43127
43151
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -119091,6 +119091,7 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
119091
119091
|
* @property {string|null} [externalEligibility] EnterpriseUserEnrollmentRemoved externalEligibility
|
|
119092
119092
|
* @property {string|null} [externalClientId] EnterpriseUserEnrollmentRemoved externalClientId
|
|
119093
119093
|
* @property {string|null} [brandLogoUrl] EnterpriseUserEnrollmentRemoved brandLogoUrl
|
|
119094
|
+
* @property {Array.<ITaggedCustomField>|null} [taggedCustomFields] EnterpriseUserEnrollmentRemoved taggedCustomFields
|
|
119094
119095
|
*/
|
|
119095
119096
|
|
|
119096
119097
|
/**
|
|
@@ -119102,6 +119103,7 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
119102
119103
|
* @param {IEnterpriseUserEnrollmentRemoved=} [properties] Properties to set
|
|
119103
119104
|
*/
|
|
119104
119105
|
function EnterpriseUserEnrollmentRemoved(properties) {
|
|
119106
|
+
this.taggedCustomFields = [];
|
|
119105
119107
|
if (properties)
|
|
119106
119108
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
119107
119109
|
if (properties[keys[i]] != null)
|
|
@@ -119452,6 +119454,14 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
119452
119454
|
*/
|
|
119453
119455
|
EnterpriseUserEnrollmentRemoved.prototype.brandLogoUrl = "";
|
|
119454
119456
|
|
|
119457
|
+
/**
|
|
119458
|
+
* EnterpriseUserEnrollmentRemoved taggedCustomFields.
|
|
119459
|
+
* @member {Array.<ITaggedCustomField>} taggedCustomFields
|
|
119460
|
+
* @memberof EnterpriseUserEnrollmentRemoved
|
|
119461
|
+
* @instance
|
|
119462
|
+
*/
|
|
119463
|
+
EnterpriseUserEnrollmentRemoved.prototype.taggedCustomFields = $util.emptyArray;
|
|
119464
|
+
|
|
119455
119465
|
/**
|
|
119456
119466
|
* Creates a new EnterpriseUserEnrollmentRemoved instance using the specified properties.
|
|
119457
119467
|
* @function create
|
|
@@ -119562,6 +119572,9 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
119562
119572
|
writer.uint32(/* id 48, wireType 2 =*/386).string(message.externalClientId);
|
|
119563
119573
|
if (message.brandLogoUrl != null && message.hasOwnProperty("brandLogoUrl"))
|
|
119564
119574
|
writer.uint32(/* id 49, wireType 2 =*/394).string(message.brandLogoUrl);
|
|
119575
|
+
if (message.taggedCustomFields != null && message.taggedCustomFields.length)
|
|
119576
|
+
for (var i = 0; i < message.taggedCustomFields.length; ++i)
|
|
119577
|
+
$root.TaggedCustomField.encode(message.taggedCustomFields[i], writer.uint32(/* id 50, wireType 2 =*/402).fork()).ldelim();
|
|
119565
119578
|
return writer;
|
|
119566
119579
|
};
|
|
119567
119580
|
|
|
@@ -119725,6 +119738,11 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
119725
119738
|
case 49:
|
|
119726
119739
|
message.brandLogoUrl = reader.string();
|
|
119727
119740
|
break;
|
|
119741
|
+
case 50:
|
|
119742
|
+
if (!(message.taggedCustomFields && message.taggedCustomFields.length))
|
|
119743
|
+
message.taggedCustomFields = [];
|
|
119744
|
+
message.taggedCustomFields.push($root.TaggedCustomField.decode(reader, reader.uint32()));
|
|
119745
|
+
break;
|
|
119728
119746
|
default:
|
|
119729
119747
|
reader.skipType(tag & 7);
|
|
119730
119748
|
break;
|
|
@@ -119970,6 +119988,15 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
119970
119988
|
if (message.brandLogoUrl != null && message.hasOwnProperty("brandLogoUrl"))
|
|
119971
119989
|
if (!$util.isString(message.brandLogoUrl))
|
|
119972
119990
|
return "brandLogoUrl: string expected";
|
|
119991
|
+
if (message.taggedCustomFields != null && message.hasOwnProperty("taggedCustomFields")) {
|
|
119992
|
+
if (!Array.isArray(message.taggedCustomFields))
|
|
119993
|
+
return "taggedCustomFields: array expected";
|
|
119994
|
+
for (var i = 0; i < message.taggedCustomFields.length; ++i) {
|
|
119995
|
+
var error = $root.TaggedCustomField.verify(message.taggedCustomFields[i]);
|
|
119996
|
+
if (error)
|
|
119997
|
+
return "taggedCustomFields." + error;
|
|
119998
|
+
}
|
|
119999
|
+
}
|
|
119973
120000
|
return null;
|
|
119974
120001
|
};
|
|
119975
120002
|
|
|
@@ -120310,6 +120337,16 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
120310
120337
|
message.externalClientId = String(object.externalClientId);
|
|
120311
120338
|
if (object.brandLogoUrl != null)
|
|
120312
120339
|
message.brandLogoUrl = String(object.brandLogoUrl);
|
|
120340
|
+
if (object.taggedCustomFields) {
|
|
120341
|
+
if (!Array.isArray(object.taggedCustomFields))
|
|
120342
|
+
throw TypeError(".EnterpriseUserEnrollmentRemoved.taggedCustomFields: array expected");
|
|
120343
|
+
message.taggedCustomFields = [];
|
|
120344
|
+
for (var i = 0; i < object.taggedCustomFields.length; ++i) {
|
|
120345
|
+
if (typeof object.taggedCustomFields[i] !== "object")
|
|
120346
|
+
throw TypeError(".EnterpriseUserEnrollmentRemoved.taggedCustomFields: object expected");
|
|
120347
|
+
message.taggedCustomFields[i] = $root.TaggedCustomField.fromObject(object.taggedCustomFields[i]);
|
|
120348
|
+
}
|
|
120349
|
+
}
|
|
120313
120350
|
return message;
|
|
120314
120351
|
};
|
|
120315
120352
|
|
|
@@ -120326,6 +120363,8 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
120326
120363
|
if (!options)
|
|
120327
120364
|
options = {};
|
|
120328
120365
|
var object = {};
|
|
120366
|
+
if (options.arrays || options.defaults)
|
|
120367
|
+
object.taggedCustomFields = [];
|
|
120329
120368
|
if (options.defaults) {
|
|
120330
120369
|
object.userId = "";
|
|
120331
120370
|
object.orgId = 0;
|
|
@@ -120492,6 +120531,11 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
120492
120531
|
object.externalClientId = message.externalClientId;
|
|
120493
120532
|
if (message.brandLogoUrl != null && message.hasOwnProperty("brandLogoUrl"))
|
|
120494
120533
|
object.brandLogoUrl = message.brandLogoUrl;
|
|
120534
|
+
if (message.taggedCustomFields && message.taggedCustomFields.length) {
|
|
120535
|
+
object.taggedCustomFields = [];
|
|
120536
|
+
for (var j = 0; j < message.taggedCustomFields.length; ++j)
|
|
120537
|
+
object.taggedCustomFields[j] = $root.TaggedCustomField.toObject(message.taggedCustomFields[j], options);
|
|
120538
|
+
}
|
|
120495
120539
|
return object;
|
|
120496
120540
|
};
|
|
120497
120541
|
|
|
@@ -120566,6 +120610,7 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
120566
120610
|
* @property {string|null} [externalClientId] EnterpriseUserEnrollmentAmended externalClientId
|
|
120567
120611
|
* @property {string|null} [brandLogoUrl] EnterpriseUserEnrollmentAmended brandLogoUrl
|
|
120568
120612
|
* @property {boolean|null} [isTextCoachingDisabled] EnterpriseUserEnrollmentAmended isTextCoachingDisabled
|
|
120613
|
+
* @property {Array.<ITaggedCustomField>|null} [taggedCustomFields] EnterpriseUserEnrollmentAmended taggedCustomFields
|
|
120569
120614
|
*/
|
|
120570
120615
|
|
|
120571
120616
|
/**
|
|
@@ -120577,6 +120622,7 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
120577
120622
|
* @param {IEnterpriseUserEnrollmentAmended=} [properties] Properties to set
|
|
120578
120623
|
*/
|
|
120579
120624
|
function EnterpriseUserEnrollmentAmended(properties) {
|
|
120625
|
+
this.taggedCustomFields = [];
|
|
120580
120626
|
if (properties)
|
|
120581
120627
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
120582
120628
|
if (properties[keys[i]] != null)
|
|
@@ -120991,6 +121037,14 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
120991
121037
|
*/
|
|
120992
121038
|
EnterpriseUserEnrollmentAmended.prototype.isTextCoachingDisabled = false;
|
|
120993
121039
|
|
|
121040
|
+
/**
|
|
121041
|
+
* EnterpriseUserEnrollmentAmended taggedCustomFields.
|
|
121042
|
+
* @member {Array.<ITaggedCustomField>} taggedCustomFields
|
|
121043
|
+
* @memberof EnterpriseUserEnrollmentAmended
|
|
121044
|
+
* @instance
|
|
121045
|
+
*/
|
|
121046
|
+
EnterpriseUserEnrollmentAmended.prototype.taggedCustomFields = $util.emptyArray;
|
|
121047
|
+
|
|
120994
121048
|
/**
|
|
120995
121049
|
* Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
|
|
120996
121050
|
* @function create
|
|
@@ -121117,6 +121171,9 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
121117
121171
|
writer.uint32(/* id 56, wireType 2 =*/450).string(message.brandLogoUrl);
|
|
121118
121172
|
if (message.isTextCoachingDisabled != null && message.hasOwnProperty("isTextCoachingDisabled"))
|
|
121119
121173
|
writer.uint32(/* id 57, wireType 0 =*/456).bool(message.isTextCoachingDisabled);
|
|
121174
|
+
if (message.taggedCustomFields != null && message.taggedCustomFields.length)
|
|
121175
|
+
for (var i = 0; i < message.taggedCustomFields.length; ++i)
|
|
121176
|
+
$root.TaggedCustomField.encode(message.taggedCustomFields[i], writer.uint32(/* id 58, wireType 2 =*/466).fork()).ldelim();
|
|
121120
121177
|
return writer;
|
|
121121
121178
|
};
|
|
121122
121179
|
|
|
@@ -121304,6 +121361,11 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
121304
121361
|
case 57:
|
|
121305
121362
|
message.isTextCoachingDisabled = reader.bool();
|
|
121306
121363
|
break;
|
|
121364
|
+
case 58:
|
|
121365
|
+
if (!(message.taggedCustomFields && message.taggedCustomFields.length))
|
|
121366
|
+
message.taggedCustomFields = [];
|
|
121367
|
+
message.taggedCustomFields.push($root.TaggedCustomField.decode(reader, reader.uint32()));
|
|
121368
|
+
break;
|
|
121307
121369
|
default:
|
|
121308
121370
|
reader.skipType(tag & 7);
|
|
121309
121371
|
break;
|
|
@@ -121558,6 +121620,15 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
121558
121620
|
if (message.isTextCoachingDisabled != null && message.hasOwnProperty("isTextCoachingDisabled"))
|
|
121559
121621
|
if (typeof message.isTextCoachingDisabled !== "boolean")
|
|
121560
121622
|
return "isTextCoachingDisabled: boolean expected";
|
|
121623
|
+
if (message.taggedCustomFields != null && message.hasOwnProperty("taggedCustomFields")) {
|
|
121624
|
+
if (!Array.isArray(message.taggedCustomFields))
|
|
121625
|
+
return "taggedCustomFields: array expected";
|
|
121626
|
+
for (var i = 0; i < message.taggedCustomFields.length; ++i) {
|
|
121627
|
+
var error = $root.TaggedCustomField.verify(message.taggedCustomFields[i]);
|
|
121628
|
+
if (error)
|
|
121629
|
+
return "taggedCustomFields." + error;
|
|
121630
|
+
}
|
|
121631
|
+
}
|
|
121561
121632
|
return null;
|
|
121562
121633
|
};
|
|
121563
121634
|
|
|
@@ -121866,6 +121937,16 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
121866
121937
|
message.brandLogoUrl = String(object.brandLogoUrl);
|
|
121867
121938
|
if (object.isTextCoachingDisabled != null)
|
|
121868
121939
|
message.isTextCoachingDisabled = Boolean(object.isTextCoachingDisabled);
|
|
121940
|
+
if (object.taggedCustomFields) {
|
|
121941
|
+
if (!Array.isArray(object.taggedCustomFields))
|
|
121942
|
+
throw TypeError(".EnterpriseUserEnrollmentAmended.taggedCustomFields: array expected");
|
|
121943
|
+
message.taggedCustomFields = [];
|
|
121944
|
+
for (var i = 0; i < object.taggedCustomFields.length; ++i) {
|
|
121945
|
+
if (typeof object.taggedCustomFields[i] !== "object")
|
|
121946
|
+
throw TypeError(".EnterpriseUserEnrollmentAmended.taggedCustomFields: object expected");
|
|
121947
|
+
message.taggedCustomFields[i] = $root.TaggedCustomField.fromObject(object.taggedCustomFields[i]);
|
|
121948
|
+
}
|
|
121949
|
+
}
|
|
121869
121950
|
return message;
|
|
121870
121951
|
};
|
|
121871
121952
|
|
|
@@ -121882,6 +121963,8 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
121882
121963
|
if (!options)
|
|
121883
121964
|
options = {};
|
|
121884
121965
|
var object = {};
|
|
121966
|
+
if (options.arrays || options.defaults)
|
|
121967
|
+
object.taggedCustomFields = [];
|
|
121885
121968
|
if (options.defaults) {
|
|
121886
121969
|
object.userId = "";
|
|
121887
121970
|
object.orgId = 0;
|
|
@@ -122072,6 +122155,11 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
122072
122155
|
object.brandLogoUrl = message.brandLogoUrl;
|
|
122073
122156
|
if (message.isTextCoachingDisabled != null && message.hasOwnProperty("isTextCoachingDisabled"))
|
|
122074
122157
|
object.isTextCoachingDisabled = message.isTextCoachingDisabled;
|
|
122158
|
+
if (message.taggedCustomFields && message.taggedCustomFields.length) {
|
|
122159
|
+
object.taggedCustomFields = [];
|
|
122160
|
+
for (var j = 0; j < message.taggedCustomFields.length; ++j)
|
|
122161
|
+
object.taggedCustomFields[j] = $root.TaggedCustomField.toObject(message.taggedCustomFields[j], options);
|
|
122162
|
+
}
|
|
122075
122163
|
return object;
|
|
122076
122164
|
};
|
|
122077
122165
|
|
|
@@ -122111,6 +122199,7 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
|
|
|
122111
122199
|
* @property {boolean|null} [b2bAreNonmemberCommsEnabled] EnterpriseUserEnrollmentInitiated b2bAreNonmemberCommsEnabled
|
|
122112
122200
|
* @property {boolean|null} [b2bAreEnrollmentCommsEnabled] EnterpriseUserEnrollmentInitiated b2bAreEnrollmentCommsEnabled
|
|
122113
122201
|
* @property {boolean|null} [suppressCoachingCommunications] EnterpriseUserEnrollmentInitiated suppressCoachingCommunications
|
|
122202
|
+
* @property {Array.<ITaggedCustomField>|null} [taggedCustomFields] EnterpriseUserEnrollmentInitiated taggedCustomFields
|
|
122114
122203
|
*/
|
|
122115
122204
|
|
|
122116
122205
|
/**
|
|
@@ -122122,6 +122211,7 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
|
|
|
122122
122211
|
* @param {IEnterpriseUserEnrollmentInitiated=} [properties] Properties to set
|
|
122123
122212
|
*/
|
|
122124
122213
|
function EnterpriseUserEnrollmentInitiated(properties) {
|
|
122214
|
+
this.taggedCustomFields = [];
|
|
122125
122215
|
if (properties)
|
|
122126
122216
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
122127
122217
|
if (properties[keys[i]] != null)
|
|
@@ -122256,6 +122346,14 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
|
|
|
122256
122346
|
*/
|
|
122257
122347
|
EnterpriseUserEnrollmentInitiated.prototype.suppressCoachingCommunications = false;
|
|
122258
122348
|
|
|
122349
|
+
/**
|
|
122350
|
+
* EnterpriseUserEnrollmentInitiated taggedCustomFields.
|
|
122351
|
+
* @member {Array.<ITaggedCustomField>} taggedCustomFields
|
|
122352
|
+
* @memberof EnterpriseUserEnrollmentInitiated
|
|
122353
|
+
* @instance
|
|
122354
|
+
*/
|
|
122355
|
+
EnterpriseUserEnrollmentInitiated.prototype.taggedCustomFields = $util.emptyArray;
|
|
122356
|
+
|
|
122259
122357
|
/**
|
|
122260
122358
|
* Creates a new EnterpriseUserEnrollmentInitiated instance using the specified properties.
|
|
122261
122359
|
* @function create
|
|
@@ -122312,6 +122410,9 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
|
|
|
122312
122410
|
writer.uint32(/* id 15, wireType 0 =*/120).bool(message.b2bAreEnrollmentCommsEnabled);
|
|
122313
122411
|
if (message.suppressCoachingCommunications != null && message.hasOwnProperty("suppressCoachingCommunications"))
|
|
122314
122412
|
writer.uint32(/* id 16, wireType 0 =*/128).bool(message.suppressCoachingCommunications);
|
|
122413
|
+
if (message.taggedCustomFields != null && message.taggedCustomFields.length)
|
|
122414
|
+
for (var i = 0; i < message.taggedCustomFields.length; ++i)
|
|
122415
|
+
$root.TaggedCustomField.encode(message.taggedCustomFields[i], writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim();
|
|
122315
122416
|
return writer;
|
|
122316
122417
|
};
|
|
122317
122418
|
|
|
@@ -122394,6 +122495,11 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
|
|
|
122394
122495
|
case 16:
|
|
122395
122496
|
message.suppressCoachingCommunications = reader.bool();
|
|
122396
122497
|
break;
|
|
122498
|
+
case 17:
|
|
122499
|
+
if (!(message.taggedCustomFields && message.taggedCustomFields.length))
|
|
122500
|
+
message.taggedCustomFields = [];
|
|
122501
|
+
message.taggedCustomFields.push($root.TaggedCustomField.decode(reader, reader.uint32()));
|
|
122502
|
+
break;
|
|
122397
122503
|
default:
|
|
122398
122504
|
reader.skipType(tag & 7);
|
|
122399
122505
|
break;
|
|
@@ -122477,6 +122583,15 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
|
|
|
122477
122583
|
if (message.suppressCoachingCommunications != null && message.hasOwnProperty("suppressCoachingCommunications"))
|
|
122478
122584
|
if (typeof message.suppressCoachingCommunications !== "boolean")
|
|
122479
122585
|
return "suppressCoachingCommunications: boolean expected";
|
|
122586
|
+
if (message.taggedCustomFields != null && message.hasOwnProperty("taggedCustomFields")) {
|
|
122587
|
+
if (!Array.isArray(message.taggedCustomFields))
|
|
122588
|
+
return "taggedCustomFields: array expected";
|
|
122589
|
+
for (var i = 0; i < message.taggedCustomFields.length; ++i) {
|
|
122590
|
+
var error = $root.TaggedCustomField.verify(message.taggedCustomFields[i]);
|
|
122591
|
+
if (error)
|
|
122592
|
+
return "taggedCustomFields." + error;
|
|
122593
|
+
}
|
|
122594
|
+
}
|
|
122480
122595
|
return null;
|
|
122481
122596
|
};
|
|
122482
122597
|
|
|
@@ -122531,6 +122646,16 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
|
|
|
122531
122646
|
message.b2bAreEnrollmentCommsEnabled = Boolean(object.b2bAreEnrollmentCommsEnabled);
|
|
122532
122647
|
if (object.suppressCoachingCommunications != null)
|
|
122533
122648
|
message.suppressCoachingCommunications = Boolean(object.suppressCoachingCommunications);
|
|
122649
|
+
if (object.taggedCustomFields) {
|
|
122650
|
+
if (!Array.isArray(object.taggedCustomFields))
|
|
122651
|
+
throw TypeError(".EnterpriseUserEnrollmentInitiated.taggedCustomFields: array expected");
|
|
122652
|
+
message.taggedCustomFields = [];
|
|
122653
|
+
for (var i = 0; i < object.taggedCustomFields.length; ++i) {
|
|
122654
|
+
if (typeof object.taggedCustomFields[i] !== "object")
|
|
122655
|
+
throw TypeError(".EnterpriseUserEnrollmentInitiated.taggedCustomFields: object expected");
|
|
122656
|
+
message.taggedCustomFields[i] = $root.TaggedCustomField.fromObject(object.taggedCustomFields[i]);
|
|
122657
|
+
}
|
|
122658
|
+
}
|
|
122534
122659
|
return message;
|
|
122535
122660
|
};
|
|
122536
122661
|
|
|
@@ -122547,6 +122672,8 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
|
|
|
122547
122672
|
if (!options)
|
|
122548
122673
|
options = {};
|
|
122549
122674
|
var object = {};
|
|
122675
|
+
if (options.arrays || options.defaults)
|
|
122676
|
+
object.taggedCustomFields = [];
|
|
122550
122677
|
if (options.defaults) {
|
|
122551
122678
|
object.hsUserId = "";
|
|
122552
122679
|
object.orgId = 0;
|
|
@@ -122604,6 +122731,11 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
|
|
|
122604
122731
|
object.b2bAreEnrollmentCommsEnabled = message.b2bAreEnrollmentCommsEnabled;
|
|
122605
122732
|
if (message.suppressCoachingCommunications != null && message.hasOwnProperty("suppressCoachingCommunications"))
|
|
122606
122733
|
object.suppressCoachingCommunications = message.suppressCoachingCommunications;
|
|
122734
|
+
if (message.taggedCustomFields && message.taggedCustomFields.length) {
|
|
122735
|
+
object.taggedCustomFields = [];
|
|
122736
|
+
for (var j = 0; j < message.taggedCustomFields.length; ++j)
|
|
122737
|
+
object.taggedCustomFields[j] = $root.TaggedCustomField.toObject(message.taggedCustomFields[j], options);
|
|
122738
|
+
}
|
|
122607
122739
|
return object;
|
|
122608
122740
|
};
|
|
122609
122741
|
|
|
@@ -122636,6 +122768,7 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
|
|
|
122636
122768
|
* @property {number|null} [enrollmentOrgId] EnterpriseUserEnrollmentUpgraded enrollmentOrgId
|
|
122637
122769
|
* @property {number|null} [overlappedCareOrgId] EnterpriseUserEnrollmentUpgraded overlappedCareOrgId
|
|
122638
122770
|
* @property {boolean|null} [isTextCoachingDisabled] EnterpriseUserEnrollmentUpgraded isTextCoachingDisabled
|
|
122771
|
+
* @property {Array.<ITaggedCustomField>|null} [taggedCustomFields] EnterpriseUserEnrollmentUpgraded taggedCustomFields
|
|
122639
122772
|
*/
|
|
122640
122773
|
|
|
122641
122774
|
/**
|
|
@@ -122647,6 +122780,7 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
|
|
|
122647
122780
|
* @param {IEnterpriseUserEnrollmentUpgraded=} [properties] Properties to set
|
|
122648
122781
|
*/
|
|
122649
122782
|
function EnterpriseUserEnrollmentUpgraded(properties) {
|
|
122783
|
+
this.taggedCustomFields = [];
|
|
122650
122784
|
if (properties)
|
|
122651
122785
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
122652
122786
|
if (properties[keys[i]] != null)
|
|
@@ -122725,6 +122859,14 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
|
|
|
122725
122859
|
*/
|
|
122726
122860
|
EnterpriseUserEnrollmentUpgraded.prototype.isTextCoachingDisabled = false;
|
|
122727
122861
|
|
|
122862
|
+
/**
|
|
122863
|
+
* EnterpriseUserEnrollmentUpgraded taggedCustomFields.
|
|
122864
|
+
* @member {Array.<ITaggedCustomField>} taggedCustomFields
|
|
122865
|
+
* @memberof EnterpriseUserEnrollmentUpgraded
|
|
122866
|
+
* @instance
|
|
122867
|
+
*/
|
|
122868
|
+
EnterpriseUserEnrollmentUpgraded.prototype.taggedCustomFields = $util.emptyArray;
|
|
122869
|
+
|
|
122728
122870
|
/**
|
|
122729
122871
|
* Creates a new EnterpriseUserEnrollmentUpgraded instance using the specified properties.
|
|
122730
122872
|
* @function create
|
|
@@ -122767,6 +122909,9 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
|
|
|
122767
122909
|
writer.uint32(/* id 8, wireType 0 =*/64).uint32(message.overlappedCareOrgId);
|
|
122768
122910
|
if (message.isTextCoachingDisabled != null && message.hasOwnProperty("isTextCoachingDisabled"))
|
|
122769
122911
|
writer.uint32(/* id 9, wireType 0 =*/72).bool(message.isTextCoachingDisabled);
|
|
122912
|
+
if (message.taggedCustomFields != null && message.taggedCustomFields.length)
|
|
122913
|
+
for (var i = 0; i < message.taggedCustomFields.length; ++i)
|
|
122914
|
+
$root.TaggedCustomField.encode(message.taggedCustomFields[i], writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim();
|
|
122770
122915
|
return writer;
|
|
122771
122916
|
};
|
|
122772
122917
|
|
|
@@ -122828,6 +122973,11 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
|
|
|
122828
122973
|
case 9:
|
|
122829
122974
|
message.isTextCoachingDisabled = reader.bool();
|
|
122830
122975
|
break;
|
|
122976
|
+
case 10:
|
|
122977
|
+
if (!(message.taggedCustomFields && message.taggedCustomFields.length))
|
|
122978
|
+
message.taggedCustomFields = [];
|
|
122979
|
+
message.taggedCustomFields.push($root.TaggedCustomField.decode(reader, reader.uint32()));
|
|
122980
|
+
break;
|
|
122831
122981
|
default:
|
|
122832
122982
|
reader.skipType(tag & 7);
|
|
122833
122983
|
break;
|
|
@@ -122908,6 +123058,15 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
|
|
|
122908
123058
|
if (message.isTextCoachingDisabled != null && message.hasOwnProperty("isTextCoachingDisabled"))
|
|
122909
123059
|
if (typeof message.isTextCoachingDisabled !== "boolean")
|
|
122910
123060
|
return "isTextCoachingDisabled: boolean expected";
|
|
123061
|
+
if (message.taggedCustomFields != null && message.hasOwnProperty("taggedCustomFields")) {
|
|
123062
|
+
if (!Array.isArray(message.taggedCustomFields))
|
|
123063
|
+
return "taggedCustomFields: array expected";
|
|
123064
|
+
for (var i = 0; i < message.taggedCustomFields.length; ++i) {
|
|
123065
|
+
var error = $root.TaggedCustomField.verify(message.taggedCustomFields[i]);
|
|
123066
|
+
if (error)
|
|
123067
|
+
return "taggedCustomFields." + error;
|
|
123068
|
+
}
|
|
123069
|
+
}
|
|
122911
123070
|
return null;
|
|
122912
123071
|
};
|
|
122913
123072
|
|
|
@@ -122996,6 +123155,16 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
|
|
|
122996
123155
|
message.overlappedCareOrgId = object.overlappedCareOrgId >>> 0;
|
|
122997
123156
|
if (object.isTextCoachingDisabled != null)
|
|
122998
123157
|
message.isTextCoachingDisabled = Boolean(object.isTextCoachingDisabled);
|
|
123158
|
+
if (object.taggedCustomFields) {
|
|
123159
|
+
if (!Array.isArray(object.taggedCustomFields))
|
|
123160
|
+
throw TypeError(".EnterpriseUserEnrollmentUpgraded.taggedCustomFields: array expected");
|
|
123161
|
+
message.taggedCustomFields = [];
|
|
123162
|
+
for (var i = 0; i < object.taggedCustomFields.length; ++i) {
|
|
123163
|
+
if (typeof object.taggedCustomFields[i] !== "object")
|
|
123164
|
+
throw TypeError(".EnterpriseUserEnrollmentUpgraded.taggedCustomFields: object expected");
|
|
123165
|
+
message.taggedCustomFields[i] = $root.TaggedCustomField.fromObject(object.taggedCustomFields[i]);
|
|
123166
|
+
}
|
|
123167
|
+
}
|
|
122999
123168
|
return message;
|
|
123000
123169
|
};
|
|
123001
123170
|
|
|
@@ -123012,6 +123181,8 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
|
|
|
123012
123181
|
if (!options)
|
|
123013
123182
|
options = {};
|
|
123014
123183
|
var object = {};
|
|
123184
|
+
if (options.arrays || options.defaults)
|
|
123185
|
+
object.taggedCustomFields = [];
|
|
123015
123186
|
if (options.defaults) {
|
|
123016
123187
|
object.userId = "";
|
|
123017
123188
|
object.subscriptionOrgId = 0;
|
|
@@ -123048,6 +123219,11 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
|
|
|
123048
123219
|
object.overlappedCareOrgId = message.overlappedCareOrgId;
|
|
123049
123220
|
if (message.isTextCoachingDisabled != null && message.hasOwnProperty("isTextCoachingDisabled"))
|
|
123050
123221
|
object.isTextCoachingDisabled = message.isTextCoachingDisabled;
|
|
123222
|
+
if (message.taggedCustomFields && message.taggedCustomFields.length) {
|
|
123223
|
+
object.taggedCustomFields = [];
|
|
123224
|
+
for (var j = 0; j < message.taggedCustomFields.length; ++j)
|
|
123225
|
+
object.taggedCustomFields[j] = $root.TaggedCustomField.toObject(message.taggedCustomFields[j], options);
|
|
123226
|
+
}
|
|
123051
123227
|
return object;
|
|
123052
123228
|
};
|
|
123053
123229
|
|
package/package.json
CHANGED