@headspace/protos-events 1.782.0 → 1.783.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 +259 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -42078,6 +42078,108 @@ export class TaggedCustomField implements ITaggedCustomField {
|
|
|
42078
42078
|
public toJSON(): { [k: string]: any };
|
|
42079
42079
|
}
|
|
42080
42080
|
|
|
42081
|
+
/** Properties of an UtmParams. */
|
|
42082
|
+
export interface IUtmParams {
|
|
42083
|
+
|
|
42084
|
+
/** UtmParams source */
|
|
42085
|
+
source?: (string|null);
|
|
42086
|
+
|
|
42087
|
+
/** UtmParams medium */
|
|
42088
|
+
medium?: (string|null);
|
|
42089
|
+
|
|
42090
|
+
/** UtmParams campaign */
|
|
42091
|
+
campaign?: (string|null);
|
|
42092
|
+
}
|
|
42093
|
+
|
|
42094
|
+
/** Represents an UtmParams. */
|
|
42095
|
+
export class UtmParams implements IUtmParams {
|
|
42096
|
+
|
|
42097
|
+
/**
|
|
42098
|
+
* Constructs a new UtmParams.
|
|
42099
|
+
* @param [properties] Properties to set
|
|
42100
|
+
*/
|
|
42101
|
+
constructor(properties?: IUtmParams);
|
|
42102
|
+
|
|
42103
|
+
/** UtmParams source. */
|
|
42104
|
+
public source: string;
|
|
42105
|
+
|
|
42106
|
+
/** UtmParams medium. */
|
|
42107
|
+
public medium: string;
|
|
42108
|
+
|
|
42109
|
+
/** UtmParams campaign. */
|
|
42110
|
+
public campaign: string;
|
|
42111
|
+
|
|
42112
|
+
/**
|
|
42113
|
+
* Creates a new UtmParams instance using the specified properties.
|
|
42114
|
+
* @param [properties] Properties to set
|
|
42115
|
+
* @returns UtmParams instance
|
|
42116
|
+
*/
|
|
42117
|
+
public static create(properties?: IUtmParams): UtmParams;
|
|
42118
|
+
|
|
42119
|
+
/**
|
|
42120
|
+
* Encodes the specified UtmParams message. Does not implicitly {@link UtmParams.verify|verify} messages.
|
|
42121
|
+
* @param message UtmParams message or plain object to encode
|
|
42122
|
+
* @param [writer] Writer to encode to
|
|
42123
|
+
* @returns Writer
|
|
42124
|
+
*/
|
|
42125
|
+
public static encode(message: IUtmParams, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
42126
|
+
|
|
42127
|
+
/**
|
|
42128
|
+
* Encodes the specified UtmParams message, length delimited. Does not implicitly {@link UtmParams.verify|verify} messages.
|
|
42129
|
+
* @param message UtmParams message or plain object to encode
|
|
42130
|
+
* @param [writer] Writer to encode to
|
|
42131
|
+
* @returns Writer
|
|
42132
|
+
*/
|
|
42133
|
+
public static encodeDelimited(message: IUtmParams, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
42134
|
+
|
|
42135
|
+
/**
|
|
42136
|
+
* Decodes an UtmParams message from the specified reader or buffer.
|
|
42137
|
+
* @param reader Reader or buffer to decode from
|
|
42138
|
+
* @param [length] Message length if known beforehand
|
|
42139
|
+
* @returns UtmParams
|
|
42140
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
42141
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
42142
|
+
*/
|
|
42143
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UtmParams;
|
|
42144
|
+
|
|
42145
|
+
/**
|
|
42146
|
+
* Decodes an UtmParams message from the specified reader or buffer, length delimited.
|
|
42147
|
+
* @param reader Reader or buffer to decode from
|
|
42148
|
+
* @returns UtmParams
|
|
42149
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
42150
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
42151
|
+
*/
|
|
42152
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UtmParams;
|
|
42153
|
+
|
|
42154
|
+
/**
|
|
42155
|
+
* Verifies an UtmParams message.
|
|
42156
|
+
* @param message Plain object to verify
|
|
42157
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
42158
|
+
*/
|
|
42159
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
42160
|
+
|
|
42161
|
+
/**
|
|
42162
|
+
* Creates an UtmParams message from a plain object. Also converts values to their respective internal types.
|
|
42163
|
+
* @param object Plain object
|
|
42164
|
+
* @returns UtmParams
|
|
42165
|
+
*/
|
|
42166
|
+
public static fromObject(object: { [k: string]: any }): UtmParams;
|
|
42167
|
+
|
|
42168
|
+
/**
|
|
42169
|
+
* Creates a plain object from an UtmParams message. Also converts values to other types if specified.
|
|
42170
|
+
* @param message UtmParams
|
|
42171
|
+
* @param [options] Conversion options
|
|
42172
|
+
* @returns Plain object
|
|
42173
|
+
*/
|
|
42174
|
+
public static toObject(message: UtmParams, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
42175
|
+
|
|
42176
|
+
/**
|
|
42177
|
+
* Converts this UtmParams to JSON.
|
|
42178
|
+
* @returns JSON object
|
|
42179
|
+
*/
|
|
42180
|
+
public toJSON(): { [k: string]: any };
|
|
42181
|
+
}
|
|
42182
|
+
|
|
42081
42183
|
/** Properties of an EnterpriseUserOnboarded. */
|
|
42082
42184
|
export interface IEnterpriseUserOnboarded {
|
|
42083
42185
|
|
|
@@ -42380,6 +42482,9 @@ export interface IEnterpriseUserEnrollmentCreated {
|
|
|
42380
42482
|
|
|
42381
42483
|
/** EnterpriseUserEnrollmentCreated isTextCoachingDisabled */
|
|
42382
42484
|
isTextCoachingDisabled?: (boolean|null);
|
|
42485
|
+
|
|
42486
|
+
/** EnterpriseUserEnrollmentCreated utmParams */
|
|
42487
|
+
utmParams?: (IUtmParams|null);
|
|
42383
42488
|
}
|
|
42384
42489
|
|
|
42385
42490
|
/** Represents an EnterpriseUserEnrollmentCreated. */
|
|
@@ -42559,6 +42664,9 @@ export class EnterpriseUserEnrollmentCreated implements IEnterpriseUserEnrollmen
|
|
|
42559
42664
|
/** EnterpriseUserEnrollmentCreated isTextCoachingDisabled. */
|
|
42560
42665
|
public isTextCoachingDisabled: boolean;
|
|
42561
42666
|
|
|
42667
|
+
/** EnterpriseUserEnrollmentCreated utmParams. */
|
|
42668
|
+
public utmParams?: (IUtmParams|null);
|
|
42669
|
+
|
|
42562
42670
|
/**
|
|
42563
42671
|
* Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
|
|
42564
42672
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -118328,6 +118328,238 @@ $root.TaggedCustomField = (function() {
|
|
|
118328
118328
|
return TaggedCustomField;
|
|
118329
118329
|
})();
|
|
118330
118330
|
|
|
118331
|
+
$root.UtmParams = (function() {
|
|
118332
|
+
|
|
118333
|
+
/**
|
|
118334
|
+
* Properties of an UtmParams.
|
|
118335
|
+
* @name IUtmParams
|
|
118336
|
+
* @interface IUtmParams
|
|
118337
|
+
* @property {string|null} [source] UtmParams source
|
|
118338
|
+
* @property {string|null} [medium] UtmParams medium
|
|
118339
|
+
* @property {string|null} [campaign] UtmParams campaign
|
|
118340
|
+
*/
|
|
118341
|
+
|
|
118342
|
+
/**
|
|
118343
|
+
* Constructs a new UtmParams.
|
|
118344
|
+
* @name UtmParams
|
|
118345
|
+
* @classdesc Represents an UtmParams.
|
|
118346
|
+
* @implements IUtmParams
|
|
118347
|
+
* @constructor
|
|
118348
|
+
* @param {IUtmParams=} [properties] Properties to set
|
|
118349
|
+
*/
|
|
118350
|
+
function UtmParams(properties) {
|
|
118351
|
+
if (properties)
|
|
118352
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
118353
|
+
if (properties[keys[i]] != null)
|
|
118354
|
+
this[keys[i]] = properties[keys[i]];
|
|
118355
|
+
}
|
|
118356
|
+
|
|
118357
|
+
/**
|
|
118358
|
+
* UtmParams source.
|
|
118359
|
+
* @member {string} source
|
|
118360
|
+
* @memberof UtmParams
|
|
118361
|
+
* @instance
|
|
118362
|
+
*/
|
|
118363
|
+
UtmParams.prototype.source = "";
|
|
118364
|
+
|
|
118365
|
+
/**
|
|
118366
|
+
* UtmParams medium.
|
|
118367
|
+
* @member {string} medium
|
|
118368
|
+
* @memberof UtmParams
|
|
118369
|
+
* @instance
|
|
118370
|
+
*/
|
|
118371
|
+
UtmParams.prototype.medium = "";
|
|
118372
|
+
|
|
118373
|
+
/**
|
|
118374
|
+
* UtmParams campaign.
|
|
118375
|
+
* @member {string} campaign
|
|
118376
|
+
* @memberof UtmParams
|
|
118377
|
+
* @instance
|
|
118378
|
+
*/
|
|
118379
|
+
UtmParams.prototype.campaign = "";
|
|
118380
|
+
|
|
118381
|
+
/**
|
|
118382
|
+
* Creates a new UtmParams instance using the specified properties.
|
|
118383
|
+
* @function create
|
|
118384
|
+
* @memberof UtmParams
|
|
118385
|
+
* @static
|
|
118386
|
+
* @param {IUtmParams=} [properties] Properties to set
|
|
118387
|
+
* @returns {UtmParams} UtmParams instance
|
|
118388
|
+
*/
|
|
118389
|
+
UtmParams.create = function create(properties) {
|
|
118390
|
+
return new UtmParams(properties);
|
|
118391
|
+
};
|
|
118392
|
+
|
|
118393
|
+
/**
|
|
118394
|
+
* Encodes the specified UtmParams message. Does not implicitly {@link UtmParams.verify|verify} messages.
|
|
118395
|
+
* @function encode
|
|
118396
|
+
* @memberof UtmParams
|
|
118397
|
+
* @static
|
|
118398
|
+
* @param {IUtmParams} message UtmParams message or plain object to encode
|
|
118399
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
118400
|
+
* @returns {$protobuf.Writer} Writer
|
|
118401
|
+
*/
|
|
118402
|
+
UtmParams.encode = function encode(message, writer) {
|
|
118403
|
+
if (!writer)
|
|
118404
|
+
writer = $Writer.create();
|
|
118405
|
+
if (message.source != null && message.hasOwnProperty("source"))
|
|
118406
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.source);
|
|
118407
|
+
if (message.medium != null && message.hasOwnProperty("medium"))
|
|
118408
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.medium);
|
|
118409
|
+
if (message.campaign != null && message.hasOwnProperty("campaign"))
|
|
118410
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.campaign);
|
|
118411
|
+
return writer;
|
|
118412
|
+
};
|
|
118413
|
+
|
|
118414
|
+
/**
|
|
118415
|
+
* Encodes the specified UtmParams message, length delimited. Does not implicitly {@link UtmParams.verify|verify} messages.
|
|
118416
|
+
* @function encodeDelimited
|
|
118417
|
+
* @memberof UtmParams
|
|
118418
|
+
* @static
|
|
118419
|
+
* @param {IUtmParams} message UtmParams message or plain object to encode
|
|
118420
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
118421
|
+
* @returns {$protobuf.Writer} Writer
|
|
118422
|
+
*/
|
|
118423
|
+
UtmParams.encodeDelimited = function encodeDelimited(message, writer) {
|
|
118424
|
+
return this.encode(message, writer).ldelim();
|
|
118425
|
+
};
|
|
118426
|
+
|
|
118427
|
+
/**
|
|
118428
|
+
* Decodes an UtmParams message from the specified reader or buffer.
|
|
118429
|
+
* @function decode
|
|
118430
|
+
* @memberof UtmParams
|
|
118431
|
+
* @static
|
|
118432
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
118433
|
+
* @param {number} [length] Message length if known beforehand
|
|
118434
|
+
* @returns {UtmParams} UtmParams
|
|
118435
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
118436
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
118437
|
+
*/
|
|
118438
|
+
UtmParams.decode = function decode(reader, length) {
|
|
118439
|
+
if (!(reader instanceof $Reader))
|
|
118440
|
+
reader = $Reader.create(reader);
|
|
118441
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.UtmParams();
|
|
118442
|
+
while (reader.pos < end) {
|
|
118443
|
+
var tag = reader.uint32();
|
|
118444
|
+
switch (tag >>> 3) {
|
|
118445
|
+
case 1:
|
|
118446
|
+
message.source = reader.string();
|
|
118447
|
+
break;
|
|
118448
|
+
case 2:
|
|
118449
|
+
message.medium = reader.string();
|
|
118450
|
+
break;
|
|
118451
|
+
case 3:
|
|
118452
|
+
message.campaign = reader.string();
|
|
118453
|
+
break;
|
|
118454
|
+
default:
|
|
118455
|
+
reader.skipType(tag & 7);
|
|
118456
|
+
break;
|
|
118457
|
+
}
|
|
118458
|
+
}
|
|
118459
|
+
return message;
|
|
118460
|
+
};
|
|
118461
|
+
|
|
118462
|
+
/**
|
|
118463
|
+
* Decodes an UtmParams message from the specified reader or buffer, length delimited.
|
|
118464
|
+
* @function decodeDelimited
|
|
118465
|
+
* @memberof UtmParams
|
|
118466
|
+
* @static
|
|
118467
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
118468
|
+
* @returns {UtmParams} UtmParams
|
|
118469
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
118470
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
118471
|
+
*/
|
|
118472
|
+
UtmParams.decodeDelimited = function decodeDelimited(reader) {
|
|
118473
|
+
if (!(reader instanceof $Reader))
|
|
118474
|
+
reader = new $Reader(reader);
|
|
118475
|
+
return this.decode(reader, reader.uint32());
|
|
118476
|
+
};
|
|
118477
|
+
|
|
118478
|
+
/**
|
|
118479
|
+
* Verifies an UtmParams message.
|
|
118480
|
+
* @function verify
|
|
118481
|
+
* @memberof UtmParams
|
|
118482
|
+
* @static
|
|
118483
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
118484
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
118485
|
+
*/
|
|
118486
|
+
UtmParams.verify = function verify(message) {
|
|
118487
|
+
if (typeof message !== "object" || message === null)
|
|
118488
|
+
return "object expected";
|
|
118489
|
+
if (message.source != null && message.hasOwnProperty("source"))
|
|
118490
|
+
if (!$util.isString(message.source))
|
|
118491
|
+
return "source: string expected";
|
|
118492
|
+
if (message.medium != null && message.hasOwnProperty("medium"))
|
|
118493
|
+
if (!$util.isString(message.medium))
|
|
118494
|
+
return "medium: string expected";
|
|
118495
|
+
if (message.campaign != null && message.hasOwnProperty("campaign"))
|
|
118496
|
+
if (!$util.isString(message.campaign))
|
|
118497
|
+
return "campaign: string expected";
|
|
118498
|
+
return null;
|
|
118499
|
+
};
|
|
118500
|
+
|
|
118501
|
+
/**
|
|
118502
|
+
* Creates an UtmParams message from a plain object. Also converts values to their respective internal types.
|
|
118503
|
+
* @function fromObject
|
|
118504
|
+
* @memberof UtmParams
|
|
118505
|
+
* @static
|
|
118506
|
+
* @param {Object.<string,*>} object Plain object
|
|
118507
|
+
* @returns {UtmParams} UtmParams
|
|
118508
|
+
*/
|
|
118509
|
+
UtmParams.fromObject = function fromObject(object) {
|
|
118510
|
+
if (object instanceof $root.UtmParams)
|
|
118511
|
+
return object;
|
|
118512
|
+
var message = new $root.UtmParams();
|
|
118513
|
+
if (object.source != null)
|
|
118514
|
+
message.source = String(object.source);
|
|
118515
|
+
if (object.medium != null)
|
|
118516
|
+
message.medium = String(object.medium);
|
|
118517
|
+
if (object.campaign != null)
|
|
118518
|
+
message.campaign = String(object.campaign);
|
|
118519
|
+
return message;
|
|
118520
|
+
};
|
|
118521
|
+
|
|
118522
|
+
/**
|
|
118523
|
+
* Creates a plain object from an UtmParams message. Also converts values to other types if specified.
|
|
118524
|
+
* @function toObject
|
|
118525
|
+
* @memberof UtmParams
|
|
118526
|
+
* @static
|
|
118527
|
+
* @param {UtmParams} message UtmParams
|
|
118528
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
118529
|
+
* @returns {Object.<string,*>} Plain object
|
|
118530
|
+
*/
|
|
118531
|
+
UtmParams.toObject = function toObject(message, options) {
|
|
118532
|
+
if (!options)
|
|
118533
|
+
options = {};
|
|
118534
|
+
var object = {};
|
|
118535
|
+
if (options.defaults) {
|
|
118536
|
+
object.source = "";
|
|
118537
|
+
object.medium = "";
|
|
118538
|
+
object.campaign = "";
|
|
118539
|
+
}
|
|
118540
|
+
if (message.source != null && message.hasOwnProperty("source"))
|
|
118541
|
+
object.source = message.source;
|
|
118542
|
+
if (message.medium != null && message.hasOwnProperty("medium"))
|
|
118543
|
+
object.medium = message.medium;
|
|
118544
|
+
if (message.campaign != null && message.hasOwnProperty("campaign"))
|
|
118545
|
+
object.campaign = message.campaign;
|
|
118546
|
+
return object;
|
|
118547
|
+
};
|
|
118548
|
+
|
|
118549
|
+
/**
|
|
118550
|
+
* Converts this UtmParams to JSON.
|
|
118551
|
+
* @function toJSON
|
|
118552
|
+
* @memberof UtmParams
|
|
118553
|
+
* @instance
|
|
118554
|
+
* @returns {Object.<string,*>} JSON object
|
|
118555
|
+
*/
|
|
118556
|
+
UtmParams.prototype.toJSON = function toJSON() {
|
|
118557
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
118558
|
+
};
|
|
118559
|
+
|
|
118560
|
+
return UtmParams;
|
|
118561
|
+
})();
|
|
118562
|
+
|
|
118331
118563
|
$root.EnterpriseUserOnboarded = (function() {
|
|
118332
118564
|
|
|
118333
118565
|
/**
|
|
@@ -118777,6 +119009,7 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
118777
119009
|
* @property {string|null} [brandLogoUrl] EnterpriseUserEnrollmentCreated brandLogoUrl
|
|
118778
119010
|
* @property {Array.<ITaggedCustomField>|null} [taggedCustomFields] EnterpriseUserEnrollmentCreated taggedCustomFields
|
|
118779
119011
|
* @property {boolean|null} [isTextCoachingDisabled] EnterpriseUserEnrollmentCreated isTextCoachingDisabled
|
|
119012
|
+
* @property {IUtmParams|null} [utmParams] EnterpriseUserEnrollmentCreated utmParams
|
|
118780
119013
|
*/
|
|
118781
119014
|
|
|
118782
119015
|
/**
|
|
@@ -119243,6 +119476,14 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
119243
119476
|
*/
|
|
119244
119477
|
EnterpriseUserEnrollmentCreated.prototype.isTextCoachingDisabled = false;
|
|
119245
119478
|
|
|
119479
|
+
/**
|
|
119480
|
+
* EnterpriseUserEnrollmentCreated utmParams.
|
|
119481
|
+
* @member {IUtmParams|null|undefined} utmParams
|
|
119482
|
+
* @memberof EnterpriseUserEnrollmentCreated
|
|
119483
|
+
* @instance
|
|
119484
|
+
*/
|
|
119485
|
+
EnterpriseUserEnrollmentCreated.prototype.utmParams = null;
|
|
119486
|
+
|
|
119246
119487
|
/**
|
|
119247
119488
|
* Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
|
|
119248
119489
|
* @function create
|
|
@@ -119380,6 +119621,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
119380
119621
|
$root.TaggedCustomField.encode(message.taggedCustomFields[i], writer.uint32(/* id 60, wireType 2 =*/482).fork()).ldelim();
|
|
119381
119622
|
if (message.isTextCoachingDisabled != null && message.hasOwnProperty("isTextCoachingDisabled"))
|
|
119382
119623
|
writer.uint32(/* id 61, wireType 0 =*/488).bool(message.isTextCoachingDisabled);
|
|
119624
|
+
if (message.utmParams != null && message.hasOwnProperty("utmParams"))
|
|
119625
|
+
$root.UtmParams.encode(message.utmParams, writer.uint32(/* id 62, wireType 2 =*/498).fork()).ldelim();
|
|
119383
119626
|
return writer;
|
|
119384
119627
|
};
|
|
119385
119628
|
|
|
@@ -119584,6 +119827,9 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
119584
119827
|
case 61:
|
|
119585
119828
|
message.isTextCoachingDisabled = reader.bool();
|
|
119586
119829
|
break;
|
|
119830
|
+
case 62:
|
|
119831
|
+
message.utmParams = $root.UtmParams.decode(reader, reader.uint32());
|
|
119832
|
+
break;
|
|
119587
119833
|
default:
|
|
119588
119834
|
reader.skipType(tag & 7);
|
|
119589
119835
|
break;
|
|
@@ -119868,6 +120114,11 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
119868
120114
|
if (message.isTextCoachingDisabled != null && message.hasOwnProperty("isTextCoachingDisabled"))
|
|
119869
120115
|
if (typeof message.isTextCoachingDisabled !== "boolean")
|
|
119870
120116
|
return "isTextCoachingDisabled: boolean expected";
|
|
120117
|
+
if (message.utmParams != null && message.hasOwnProperty("utmParams")) {
|
|
120118
|
+
var error = $root.UtmParams.verify(message.utmParams);
|
|
120119
|
+
if (error)
|
|
120120
|
+
return "utmParams." + error;
|
|
120121
|
+
}
|
|
119871
120122
|
return null;
|
|
119872
120123
|
};
|
|
119873
120124
|
|
|
@@ -120218,6 +120469,11 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
120218
120469
|
}
|
|
120219
120470
|
if (object.isTextCoachingDisabled != null)
|
|
120220
120471
|
message.isTextCoachingDisabled = Boolean(object.isTextCoachingDisabled);
|
|
120472
|
+
if (object.utmParams != null) {
|
|
120473
|
+
if (typeof object.utmParams !== "object")
|
|
120474
|
+
throw TypeError(".EnterpriseUserEnrollmentCreated.utmParams: object expected");
|
|
120475
|
+
message.utmParams = $root.UtmParams.fromObject(object.utmParams);
|
|
120476
|
+
}
|
|
120221
120477
|
return message;
|
|
120222
120478
|
};
|
|
120223
120479
|
|
|
@@ -120312,6 +120568,7 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
120312
120568
|
object.externalClientId = "";
|
|
120313
120569
|
object.brandLogoUrl = "";
|
|
120314
120570
|
object.isTextCoachingDisabled = false;
|
|
120571
|
+
object.utmParams = null;
|
|
120315
120572
|
}
|
|
120316
120573
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
120317
120574
|
object.userId = message.userId;
|
|
@@ -120443,6 +120700,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
120443
120700
|
}
|
|
120444
120701
|
if (message.isTextCoachingDisabled != null && message.hasOwnProperty("isTextCoachingDisabled"))
|
|
120445
120702
|
object.isTextCoachingDisabled = message.isTextCoachingDisabled;
|
|
120703
|
+
if (message.utmParams != null && message.hasOwnProperty("utmParams"))
|
|
120704
|
+
object.utmParams = $root.UtmParams.toObject(message.utmParams, options);
|
|
120446
120705
|
return object;
|
|
120447
120706
|
};
|
|
120448
120707
|
|
package/package.json
CHANGED