@headspace/protos-events 1.617.0 → 1.618.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 +318 -0
- package/lib/index.js +1744 -884
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -140160,55 +140160,26 @@ $root.KeyType = (function() {
|
|
|
140160
140160
|
return values;
|
|
140161
140161
|
})();
|
|
140162
140162
|
|
|
140163
|
-
$root.
|
|
140163
|
+
$root.OrganizationIdentifier = (function() {
|
|
140164
140164
|
|
|
140165
140165
|
/**
|
|
140166
|
-
* Properties of an
|
|
140167
|
-
* @name
|
|
140168
|
-
* @interface
|
|
140169
|
-
* @property {string|null} [headspaceHealthOrgId]
|
|
140170
|
-
* @property {string|null} [b2bOrgId]
|
|
140171
|
-
* @property {string|null} [gingerOrgId]
|
|
140172
|
-
* @property {number|Long|null} [fileImportedTimestamp] ElfRecordPresent fileImportedTimestamp
|
|
140173
|
-
* @property {number|null} [lineNumber] ElfRecordPresent lineNumber
|
|
140174
|
-
* @property {string|null} [workEmail] ElfRecordPresent workEmail
|
|
140175
|
-
* @property {string|null} [workId] ElfRecordPresent workId
|
|
140176
|
-
* @property {KeyType|null} [keyType] ElfRecordPresent keyType
|
|
140177
|
-
* @property {string|null} [firstName] ElfRecordPresent firstName
|
|
140178
|
-
* @property {string|null} [lastName] ElfRecordPresent lastName
|
|
140179
|
-
* @property {string|null} [country] ElfRecordPresent country
|
|
140180
|
-
* @property {string|null} [zipCode] ElfRecordPresent zipCode
|
|
140181
|
-
* @property {string|null} [dob] ElfRecordPresent dob
|
|
140182
|
-
* @property {string|null} [countryStateCode] ElfRecordPresent countryStateCode
|
|
140183
|
-
* @property {string|null} [streetAddress_1] ElfRecordPresent streetAddress_1
|
|
140184
|
-
* @property {string|null} [streetAddress_2] ElfRecordPresent streetAddress_2
|
|
140185
|
-
* @property {string|null} [department] ElfRecordPresent department
|
|
140186
|
-
* @property {string|null} [language] ElfRecordPresent language
|
|
140187
|
-
* @property {string|null} [customFields] ElfRecordPresent customFields
|
|
140188
|
-
* @property {Array.<b2b.SubscriptionOffering>|null} [offerings] ElfRecordPresent offerings
|
|
140189
|
-
* @property {string|null} [rootOrgHeadspaceHealthId] ElfRecordPresent rootOrgHeadspaceHealthId
|
|
140190
|
-
* @property {string|null} [rootOrgId] ElfRecordPresent rootOrgId
|
|
140191
|
-
* @property {boolean|null} [isMemberMigrated] ElfRecordPresent isMemberMigrated
|
|
140192
|
-
* @property {string|null} [priorB2bOrgId] ElfRecordPresent priorB2bOrgId
|
|
140193
|
-
* @property {string|null} [location] ElfRecordPresent location
|
|
140194
|
-
* @property {string|null} [dependentOf] ElfRecordPresent dependentOf
|
|
140195
|
-
* @property {boolean|null} [isDryRun] ElfRecordPresent isDryRun
|
|
140196
|
-
* @property {boolean|null} [gingerShouldProcess] ElfRecordPresent gingerShouldProcess
|
|
140197
|
-
* @property {boolean|null} [headspaceShouldProcess] ElfRecordPresent headspaceShouldProcess
|
|
140198
|
-
* @property {boolean|null} [unifiedEligibilityEnabled] ElfRecordPresent unifiedEligibilityEnabled
|
|
140199
|
-
* @property {string|null} [collectiveUuid] ElfRecordPresent collectiveUuid
|
|
140166
|
+
* Properties of an OrganizationIdentifier.
|
|
140167
|
+
* @name IOrganizationIdentifier
|
|
140168
|
+
* @interface IOrganizationIdentifier
|
|
140169
|
+
* @property {string|null} [headspaceHealthOrgId] OrganizationIdentifier headspaceHealthOrgId
|
|
140170
|
+
* @property {string|null} [b2bOrgId] OrganizationIdentifier b2bOrgId
|
|
140171
|
+
* @property {string|null} [gingerOrgId] OrganizationIdentifier gingerOrgId
|
|
140200
140172
|
*/
|
|
140201
140173
|
|
|
140202
140174
|
/**
|
|
140203
|
-
* Constructs a new
|
|
140204
|
-
* @name
|
|
140205
|
-
* @classdesc Represents an
|
|
140206
|
-
* @implements
|
|
140175
|
+
* Constructs a new OrganizationIdentifier.
|
|
140176
|
+
* @name OrganizationIdentifier
|
|
140177
|
+
* @classdesc Represents an OrganizationIdentifier.
|
|
140178
|
+
* @implements IOrganizationIdentifier
|
|
140207
140179
|
* @constructor
|
|
140208
|
-
* @param {
|
|
140180
|
+
* @param {IOrganizationIdentifier=} [properties] Properties to set
|
|
140209
140181
|
*/
|
|
140210
|
-
function
|
|
140211
|
-
this.offerings = [];
|
|
140182
|
+
function OrganizationIdentifier(properties) {
|
|
140212
140183
|
if (properties)
|
|
140213
140184
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
140214
140185
|
if (properties[keys[i]] != null)
|
|
@@ -140216,275 +140187,1534 @@ $root.ElfRecordPresent = (function() {
|
|
|
140216
140187
|
}
|
|
140217
140188
|
|
|
140218
140189
|
/**
|
|
140219
|
-
*
|
|
140190
|
+
* OrganizationIdentifier headspaceHealthOrgId.
|
|
140220
140191
|
* @member {string} headspaceHealthOrgId
|
|
140221
|
-
* @memberof
|
|
140192
|
+
* @memberof OrganizationIdentifier
|
|
140222
140193
|
* @instance
|
|
140223
140194
|
*/
|
|
140224
|
-
|
|
140195
|
+
OrganizationIdentifier.prototype.headspaceHealthOrgId = "";
|
|
140225
140196
|
|
|
140226
140197
|
/**
|
|
140227
|
-
*
|
|
140198
|
+
* OrganizationIdentifier b2bOrgId.
|
|
140228
140199
|
* @member {string} b2bOrgId
|
|
140229
|
-
* @memberof
|
|
140200
|
+
* @memberof OrganizationIdentifier
|
|
140230
140201
|
* @instance
|
|
140231
140202
|
*/
|
|
140232
|
-
|
|
140203
|
+
OrganizationIdentifier.prototype.b2bOrgId = "";
|
|
140233
140204
|
|
|
140234
140205
|
/**
|
|
140235
|
-
*
|
|
140206
|
+
* OrganizationIdentifier gingerOrgId.
|
|
140236
140207
|
* @member {string} gingerOrgId
|
|
140237
|
-
* @memberof
|
|
140208
|
+
* @memberof OrganizationIdentifier
|
|
140238
140209
|
* @instance
|
|
140239
140210
|
*/
|
|
140240
|
-
|
|
140211
|
+
OrganizationIdentifier.prototype.gingerOrgId = "";
|
|
140241
140212
|
|
|
140242
140213
|
/**
|
|
140243
|
-
*
|
|
140244
|
-
* @
|
|
140245
|
-
* @memberof
|
|
140246
|
-
* @
|
|
140214
|
+
* Creates a new OrganizationIdentifier instance using the specified properties.
|
|
140215
|
+
* @function create
|
|
140216
|
+
* @memberof OrganizationIdentifier
|
|
140217
|
+
* @static
|
|
140218
|
+
* @param {IOrganizationIdentifier=} [properties] Properties to set
|
|
140219
|
+
* @returns {OrganizationIdentifier} OrganizationIdentifier instance
|
|
140247
140220
|
*/
|
|
140248
|
-
|
|
140221
|
+
OrganizationIdentifier.create = function create(properties) {
|
|
140222
|
+
return new OrganizationIdentifier(properties);
|
|
140223
|
+
};
|
|
140249
140224
|
|
|
140250
140225
|
/**
|
|
140251
|
-
*
|
|
140252
|
-
* @
|
|
140253
|
-
* @memberof
|
|
140254
|
-
* @
|
|
140226
|
+
* Encodes the specified OrganizationIdentifier message. Does not implicitly {@link OrganizationIdentifier.verify|verify} messages.
|
|
140227
|
+
* @function encode
|
|
140228
|
+
* @memberof OrganizationIdentifier
|
|
140229
|
+
* @static
|
|
140230
|
+
* @param {IOrganizationIdentifier} message OrganizationIdentifier message or plain object to encode
|
|
140231
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
140232
|
+
* @returns {$protobuf.Writer} Writer
|
|
140255
140233
|
*/
|
|
140256
|
-
|
|
140234
|
+
OrganizationIdentifier.encode = function encode(message, writer) {
|
|
140235
|
+
if (!writer)
|
|
140236
|
+
writer = $Writer.create();
|
|
140237
|
+
if (message.headspaceHealthOrgId != null && message.hasOwnProperty("headspaceHealthOrgId"))
|
|
140238
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.headspaceHealthOrgId);
|
|
140239
|
+
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
140240
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.b2bOrgId);
|
|
140241
|
+
if (message.gingerOrgId != null && message.hasOwnProperty("gingerOrgId"))
|
|
140242
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.gingerOrgId);
|
|
140243
|
+
return writer;
|
|
140244
|
+
};
|
|
140257
140245
|
|
|
140258
140246
|
/**
|
|
140259
|
-
*
|
|
140260
|
-
* @
|
|
140261
|
-
* @memberof
|
|
140262
|
-
* @
|
|
140247
|
+
* Encodes the specified OrganizationIdentifier message, length delimited. Does not implicitly {@link OrganizationIdentifier.verify|verify} messages.
|
|
140248
|
+
* @function encodeDelimited
|
|
140249
|
+
* @memberof OrganizationIdentifier
|
|
140250
|
+
* @static
|
|
140251
|
+
* @param {IOrganizationIdentifier} message OrganizationIdentifier message or plain object to encode
|
|
140252
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
140253
|
+
* @returns {$protobuf.Writer} Writer
|
|
140263
140254
|
*/
|
|
140264
|
-
|
|
140255
|
+
OrganizationIdentifier.encodeDelimited = function encodeDelimited(message, writer) {
|
|
140256
|
+
return this.encode(message, writer).ldelim();
|
|
140257
|
+
};
|
|
140265
140258
|
|
|
140266
140259
|
/**
|
|
140267
|
-
*
|
|
140268
|
-
* @
|
|
140269
|
-
* @memberof
|
|
140270
|
-
* @
|
|
140260
|
+
* Decodes an OrganizationIdentifier message from the specified reader or buffer.
|
|
140261
|
+
* @function decode
|
|
140262
|
+
* @memberof OrganizationIdentifier
|
|
140263
|
+
* @static
|
|
140264
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
140265
|
+
* @param {number} [length] Message length if known beforehand
|
|
140266
|
+
* @returns {OrganizationIdentifier} OrganizationIdentifier
|
|
140267
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
140268
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
140271
140269
|
*/
|
|
140272
|
-
|
|
140270
|
+
OrganizationIdentifier.decode = function decode(reader, length) {
|
|
140271
|
+
if (!(reader instanceof $Reader))
|
|
140272
|
+
reader = $Reader.create(reader);
|
|
140273
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.OrganizationIdentifier();
|
|
140274
|
+
while (reader.pos < end) {
|
|
140275
|
+
var tag = reader.uint32();
|
|
140276
|
+
switch (tag >>> 3) {
|
|
140277
|
+
case 1:
|
|
140278
|
+
message.headspaceHealthOrgId = reader.string();
|
|
140279
|
+
break;
|
|
140280
|
+
case 2:
|
|
140281
|
+
message.b2bOrgId = reader.string();
|
|
140282
|
+
break;
|
|
140283
|
+
case 3:
|
|
140284
|
+
message.gingerOrgId = reader.string();
|
|
140285
|
+
break;
|
|
140286
|
+
default:
|
|
140287
|
+
reader.skipType(tag & 7);
|
|
140288
|
+
break;
|
|
140289
|
+
}
|
|
140290
|
+
}
|
|
140291
|
+
return message;
|
|
140292
|
+
};
|
|
140273
140293
|
|
|
140274
140294
|
/**
|
|
140275
|
-
*
|
|
140276
|
-
* @
|
|
140277
|
-
* @memberof
|
|
140278
|
-
* @
|
|
140295
|
+
* Decodes an OrganizationIdentifier message from the specified reader or buffer, length delimited.
|
|
140296
|
+
* @function decodeDelimited
|
|
140297
|
+
* @memberof OrganizationIdentifier
|
|
140298
|
+
* @static
|
|
140299
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
140300
|
+
* @returns {OrganizationIdentifier} OrganizationIdentifier
|
|
140301
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
140302
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
140279
140303
|
*/
|
|
140280
|
-
|
|
140304
|
+
OrganizationIdentifier.decodeDelimited = function decodeDelimited(reader) {
|
|
140305
|
+
if (!(reader instanceof $Reader))
|
|
140306
|
+
reader = new $Reader(reader);
|
|
140307
|
+
return this.decode(reader, reader.uint32());
|
|
140308
|
+
};
|
|
140281
140309
|
|
|
140282
140310
|
/**
|
|
140283
|
-
*
|
|
140284
|
-
* @
|
|
140285
|
-
* @memberof
|
|
140286
|
-
* @
|
|
140311
|
+
* Verifies an OrganizationIdentifier message.
|
|
140312
|
+
* @function verify
|
|
140313
|
+
* @memberof OrganizationIdentifier
|
|
140314
|
+
* @static
|
|
140315
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
140316
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
140287
140317
|
*/
|
|
140288
|
-
|
|
140318
|
+
OrganizationIdentifier.verify = function verify(message) {
|
|
140319
|
+
if (typeof message !== "object" || message === null)
|
|
140320
|
+
return "object expected";
|
|
140321
|
+
if (message.headspaceHealthOrgId != null && message.hasOwnProperty("headspaceHealthOrgId"))
|
|
140322
|
+
if (!$util.isString(message.headspaceHealthOrgId))
|
|
140323
|
+
return "headspaceHealthOrgId: string expected";
|
|
140324
|
+
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
140325
|
+
if (!$util.isString(message.b2bOrgId))
|
|
140326
|
+
return "b2bOrgId: string expected";
|
|
140327
|
+
if (message.gingerOrgId != null && message.hasOwnProperty("gingerOrgId"))
|
|
140328
|
+
if (!$util.isString(message.gingerOrgId))
|
|
140329
|
+
return "gingerOrgId: string expected";
|
|
140330
|
+
return null;
|
|
140331
|
+
};
|
|
140289
140332
|
|
|
140290
140333
|
/**
|
|
140291
|
-
*
|
|
140292
|
-
* @
|
|
140293
|
-
* @memberof
|
|
140294
|
-
* @
|
|
140334
|
+
* Creates an OrganizationIdentifier message from a plain object. Also converts values to their respective internal types.
|
|
140335
|
+
* @function fromObject
|
|
140336
|
+
* @memberof OrganizationIdentifier
|
|
140337
|
+
* @static
|
|
140338
|
+
* @param {Object.<string,*>} object Plain object
|
|
140339
|
+
* @returns {OrganizationIdentifier} OrganizationIdentifier
|
|
140295
140340
|
*/
|
|
140296
|
-
|
|
140341
|
+
OrganizationIdentifier.fromObject = function fromObject(object) {
|
|
140342
|
+
if (object instanceof $root.OrganizationIdentifier)
|
|
140343
|
+
return object;
|
|
140344
|
+
var message = new $root.OrganizationIdentifier();
|
|
140345
|
+
if (object.headspaceHealthOrgId != null)
|
|
140346
|
+
message.headspaceHealthOrgId = String(object.headspaceHealthOrgId);
|
|
140347
|
+
if (object.b2bOrgId != null)
|
|
140348
|
+
message.b2bOrgId = String(object.b2bOrgId);
|
|
140349
|
+
if (object.gingerOrgId != null)
|
|
140350
|
+
message.gingerOrgId = String(object.gingerOrgId);
|
|
140351
|
+
return message;
|
|
140352
|
+
};
|
|
140297
140353
|
|
|
140298
140354
|
/**
|
|
140299
|
-
*
|
|
140300
|
-
* @
|
|
140301
|
-
* @memberof
|
|
140302
|
-
* @
|
|
140355
|
+
* Creates a plain object from an OrganizationIdentifier message. Also converts values to other types if specified.
|
|
140356
|
+
* @function toObject
|
|
140357
|
+
* @memberof OrganizationIdentifier
|
|
140358
|
+
* @static
|
|
140359
|
+
* @param {OrganizationIdentifier} message OrganizationIdentifier
|
|
140360
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
140361
|
+
* @returns {Object.<string,*>} Plain object
|
|
140303
140362
|
*/
|
|
140304
|
-
|
|
140363
|
+
OrganizationIdentifier.toObject = function toObject(message, options) {
|
|
140364
|
+
if (!options)
|
|
140365
|
+
options = {};
|
|
140366
|
+
var object = {};
|
|
140367
|
+
if (options.defaults) {
|
|
140368
|
+
object.headspaceHealthOrgId = "";
|
|
140369
|
+
object.b2bOrgId = "";
|
|
140370
|
+
object.gingerOrgId = "";
|
|
140371
|
+
}
|
|
140372
|
+
if (message.headspaceHealthOrgId != null && message.hasOwnProperty("headspaceHealthOrgId"))
|
|
140373
|
+
object.headspaceHealthOrgId = message.headspaceHealthOrgId;
|
|
140374
|
+
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
140375
|
+
object.b2bOrgId = message.b2bOrgId;
|
|
140376
|
+
if (message.gingerOrgId != null && message.hasOwnProperty("gingerOrgId"))
|
|
140377
|
+
object.gingerOrgId = message.gingerOrgId;
|
|
140378
|
+
return object;
|
|
140379
|
+
};
|
|
140305
140380
|
|
|
140306
140381
|
/**
|
|
140307
|
-
*
|
|
140308
|
-
* @
|
|
140309
|
-
* @memberof
|
|
140382
|
+
* Converts this OrganizationIdentifier to JSON.
|
|
140383
|
+
* @function toJSON
|
|
140384
|
+
* @memberof OrganizationIdentifier
|
|
140310
140385
|
* @instance
|
|
140386
|
+
* @returns {Object.<string,*>} JSON object
|
|
140311
140387
|
*/
|
|
140312
|
-
|
|
140388
|
+
OrganizationIdentifier.prototype.toJSON = function toJSON() {
|
|
140389
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
140390
|
+
};
|
|
140313
140391
|
|
|
140314
|
-
|
|
140315
|
-
|
|
140316
|
-
|
|
140317
|
-
|
|
140318
|
-
* @instance
|
|
140319
|
-
*/
|
|
140320
|
-
ElfRecordPresent.prototype.dob = "";
|
|
140392
|
+
return OrganizationIdentifier;
|
|
140393
|
+
})();
|
|
140394
|
+
|
|
140395
|
+
$root.EligibilityRecordIdentifier = (function() {
|
|
140321
140396
|
|
|
140322
140397
|
/**
|
|
140323
|
-
*
|
|
140324
|
-
* @
|
|
140325
|
-
* @
|
|
140326
|
-
* @
|
|
140398
|
+
* Properties of an EligibilityRecordIdentifier.
|
|
140399
|
+
* @name IEligibilityRecordIdentifier
|
|
140400
|
+
* @interface IEligibilityRecordIdentifier
|
|
140401
|
+
* @property {KeyType|null} [keyType] EligibilityRecordIdentifier keyType
|
|
140402
|
+
* @property {string|null} [identifier] EligibilityRecordIdentifier identifier
|
|
140327
140403
|
*/
|
|
140328
|
-
ElfRecordPresent.prototype.countryStateCode = "";
|
|
140329
140404
|
|
|
140330
140405
|
/**
|
|
140331
|
-
*
|
|
140332
|
-
* @
|
|
140333
|
-
* @
|
|
140334
|
-
* @
|
|
140406
|
+
* Constructs a new EligibilityRecordIdentifier.
|
|
140407
|
+
* @name EligibilityRecordIdentifier
|
|
140408
|
+
* @classdesc Represents an EligibilityRecordIdentifier.
|
|
140409
|
+
* @implements IEligibilityRecordIdentifier
|
|
140410
|
+
* @constructor
|
|
140411
|
+
* @param {IEligibilityRecordIdentifier=} [properties] Properties to set
|
|
140335
140412
|
*/
|
|
140336
|
-
|
|
140413
|
+
function EligibilityRecordIdentifier(properties) {
|
|
140414
|
+
if (properties)
|
|
140415
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
140416
|
+
if (properties[keys[i]] != null)
|
|
140417
|
+
this[keys[i]] = properties[keys[i]];
|
|
140418
|
+
}
|
|
140337
140419
|
|
|
140338
140420
|
/**
|
|
140339
|
-
*
|
|
140340
|
-
* @member {
|
|
140341
|
-
* @memberof
|
|
140421
|
+
* EligibilityRecordIdentifier keyType.
|
|
140422
|
+
* @member {KeyType} keyType
|
|
140423
|
+
* @memberof EligibilityRecordIdentifier
|
|
140342
140424
|
* @instance
|
|
140343
140425
|
*/
|
|
140344
|
-
|
|
140426
|
+
EligibilityRecordIdentifier.prototype.keyType = 0;
|
|
140345
140427
|
|
|
140346
140428
|
/**
|
|
140347
|
-
*
|
|
140348
|
-
* @member {string}
|
|
140349
|
-
* @memberof
|
|
140429
|
+
* EligibilityRecordIdentifier identifier.
|
|
140430
|
+
* @member {string} identifier
|
|
140431
|
+
* @memberof EligibilityRecordIdentifier
|
|
140350
140432
|
* @instance
|
|
140351
140433
|
*/
|
|
140352
|
-
|
|
140434
|
+
EligibilityRecordIdentifier.prototype.identifier = "";
|
|
140353
140435
|
|
|
140354
140436
|
/**
|
|
140355
|
-
*
|
|
140356
|
-
* @
|
|
140357
|
-
* @memberof
|
|
140358
|
-
* @
|
|
140437
|
+
* Creates a new EligibilityRecordIdentifier instance using the specified properties.
|
|
140438
|
+
* @function create
|
|
140439
|
+
* @memberof EligibilityRecordIdentifier
|
|
140440
|
+
* @static
|
|
140441
|
+
* @param {IEligibilityRecordIdentifier=} [properties] Properties to set
|
|
140442
|
+
* @returns {EligibilityRecordIdentifier} EligibilityRecordIdentifier instance
|
|
140359
140443
|
*/
|
|
140360
|
-
|
|
140444
|
+
EligibilityRecordIdentifier.create = function create(properties) {
|
|
140445
|
+
return new EligibilityRecordIdentifier(properties);
|
|
140446
|
+
};
|
|
140361
140447
|
|
|
140362
140448
|
/**
|
|
140363
|
-
*
|
|
140364
|
-
* @
|
|
140365
|
-
* @memberof
|
|
140449
|
+
* Encodes the specified EligibilityRecordIdentifier message. Does not implicitly {@link EligibilityRecordIdentifier.verify|verify} messages.
|
|
140450
|
+
* @function encode
|
|
140451
|
+
* @memberof EligibilityRecordIdentifier
|
|
140452
|
+
* @static
|
|
140453
|
+
* @param {IEligibilityRecordIdentifier} message EligibilityRecordIdentifier message or plain object to encode
|
|
140454
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
140455
|
+
* @returns {$protobuf.Writer} Writer
|
|
140456
|
+
*/
|
|
140457
|
+
EligibilityRecordIdentifier.encode = function encode(message, writer) {
|
|
140458
|
+
if (!writer)
|
|
140459
|
+
writer = $Writer.create();
|
|
140460
|
+
if (message.keyType != null && message.hasOwnProperty("keyType"))
|
|
140461
|
+
writer.uint32(/* id 1, wireType 0 =*/8).int32(message.keyType);
|
|
140462
|
+
if (message.identifier != null && message.hasOwnProperty("identifier"))
|
|
140463
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.identifier);
|
|
140464
|
+
return writer;
|
|
140465
|
+
};
|
|
140466
|
+
|
|
140467
|
+
/**
|
|
140468
|
+
* Encodes the specified EligibilityRecordIdentifier message, length delimited. Does not implicitly {@link EligibilityRecordIdentifier.verify|verify} messages.
|
|
140469
|
+
* @function encodeDelimited
|
|
140470
|
+
* @memberof EligibilityRecordIdentifier
|
|
140471
|
+
* @static
|
|
140472
|
+
* @param {IEligibilityRecordIdentifier} message EligibilityRecordIdentifier message or plain object to encode
|
|
140473
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
140474
|
+
* @returns {$protobuf.Writer} Writer
|
|
140475
|
+
*/
|
|
140476
|
+
EligibilityRecordIdentifier.encodeDelimited = function encodeDelimited(message, writer) {
|
|
140477
|
+
return this.encode(message, writer).ldelim();
|
|
140478
|
+
};
|
|
140479
|
+
|
|
140480
|
+
/**
|
|
140481
|
+
* Decodes an EligibilityRecordIdentifier message from the specified reader or buffer.
|
|
140482
|
+
* @function decode
|
|
140483
|
+
* @memberof EligibilityRecordIdentifier
|
|
140484
|
+
* @static
|
|
140485
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
140486
|
+
* @param {number} [length] Message length if known beforehand
|
|
140487
|
+
* @returns {EligibilityRecordIdentifier} EligibilityRecordIdentifier
|
|
140488
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
140489
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
140490
|
+
*/
|
|
140491
|
+
EligibilityRecordIdentifier.decode = function decode(reader, length) {
|
|
140492
|
+
if (!(reader instanceof $Reader))
|
|
140493
|
+
reader = $Reader.create(reader);
|
|
140494
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.EligibilityRecordIdentifier();
|
|
140495
|
+
while (reader.pos < end) {
|
|
140496
|
+
var tag = reader.uint32();
|
|
140497
|
+
switch (tag >>> 3) {
|
|
140498
|
+
case 1:
|
|
140499
|
+
message.keyType = reader.int32();
|
|
140500
|
+
break;
|
|
140501
|
+
case 2:
|
|
140502
|
+
message.identifier = reader.string();
|
|
140503
|
+
break;
|
|
140504
|
+
default:
|
|
140505
|
+
reader.skipType(tag & 7);
|
|
140506
|
+
break;
|
|
140507
|
+
}
|
|
140508
|
+
}
|
|
140509
|
+
return message;
|
|
140510
|
+
};
|
|
140511
|
+
|
|
140512
|
+
/**
|
|
140513
|
+
* Decodes an EligibilityRecordIdentifier message from the specified reader or buffer, length delimited.
|
|
140514
|
+
* @function decodeDelimited
|
|
140515
|
+
* @memberof EligibilityRecordIdentifier
|
|
140516
|
+
* @static
|
|
140517
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
140518
|
+
* @returns {EligibilityRecordIdentifier} EligibilityRecordIdentifier
|
|
140519
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
140520
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
140521
|
+
*/
|
|
140522
|
+
EligibilityRecordIdentifier.decodeDelimited = function decodeDelimited(reader) {
|
|
140523
|
+
if (!(reader instanceof $Reader))
|
|
140524
|
+
reader = new $Reader(reader);
|
|
140525
|
+
return this.decode(reader, reader.uint32());
|
|
140526
|
+
};
|
|
140527
|
+
|
|
140528
|
+
/**
|
|
140529
|
+
* Verifies an EligibilityRecordIdentifier message.
|
|
140530
|
+
* @function verify
|
|
140531
|
+
* @memberof EligibilityRecordIdentifier
|
|
140532
|
+
* @static
|
|
140533
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
140534
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
140535
|
+
*/
|
|
140536
|
+
EligibilityRecordIdentifier.verify = function verify(message) {
|
|
140537
|
+
if (typeof message !== "object" || message === null)
|
|
140538
|
+
return "object expected";
|
|
140539
|
+
if (message.keyType != null && message.hasOwnProperty("keyType"))
|
|
140540
|
+
switch (message.keyType) {
|
|
140541
|
+
default:
|
|
140542
|
+
return "keyType: enum value expected";
|
|
140543
|
+
case 0:
|
|
140544
|
+
case 1:
|
|
140545
|
+
break;
|
|
140546
|
+
}
|
|
140547
|
+
if (message.identifier != null && message.hasOwnProperty("identifier"))
|
|
140548
|
+
if (!$util.isString(message.identifier))
|
|
140549
|
+
return "identifier: string expected";
|
|
140550
|
+
return null;
|
|
140551
|
+
};
|
|
140552
|
+
|
|
140553
|
+
/**
|
|
140554
|
+
* Creates an EligibilityRecordIdentifier message from a plain object. Also converts values to their respective internal types.
|
|
140555
|
+
* @function fromObject
|
|
140556
|
+
* @memberof EligibilityRecordIdentifier
|
|
140557
|
+
* @static
|
|
140558
|
+
* @param {Object.<string,*>} object Plain object
|
|
140559
|
+
* @returns {EligibilityRecordIdentifier} EligibilityRecordIdentifier
|
|
140560
|
+
*/
|
|
140561
|
+
EligibilityRecordIdentifier.fromObject = function fromObject(object) {
|
|
140562
|
+
if (object instanceof $root.EligibilityRecordIdentifier)
|
|
140563
|
+
return object;
|
|
140564
|
+
var message = new $root.EligibilityRecordIdentifier();
|
|
140565
|
+
switch (object.keyType) {
|
|
140566
|
+
case "WORK_ID":
|
|
140567
|
+
case 0:
|
|
140568
|
+
message.keyType = 0;
|
|
140569
|
+
break;
|
|
140570
|
+
case "WORK_EMAIL":
|
|
140571
|
+
case 1:
|
|
140572
|
+
message.keyType = 1;
|
|
140573
|
+
break;
|
|
140574
|
+
}
|
|
140575
|
+
if (object.identifier != null)
|
|
140576
|
+
message.identifier = String(object.identifier);
|
|
140577
|
+
return message;
|
|
140578
|
+
};
|
|
140579
|
+
|
|
140580
|
+
/**
|
|
140581
|
+
* Creates a plain object from an EligibilityRecordIdentifier message. Also converts values to other types if specified.
|
|
140582
|
+
* @function toObject
|
|
140583
|
+
* @memberof EligibilityRecordIdentifier
|
|
140584
|
+
* @static
|
|
140585
|
+
* @param {EligibilityRecordIdentifier} message EligibilityRecordIdentifier
|
|
140586
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
140587
|
+
* @returns {Object.<string,*>} Plain object
|
|
140588
|
+
*/
|
|
140589
|
+
EligibilityRecordIdentifier.toObject = function toObject(message, options) {
|
|
140590
|
+
if (!options)
|
|
140591
|
+
options = {};
|
|
140592
|
+
var object = {};
|
|
140593
|
+
if (options.defaults) {
|
|
140594
|
+
object.keyType = options.enums === String ? "WORK_ID" : 0;
|
|
140595
|
+
object.identifier = "";
|
|
140596
|
+
}
|
|
140597
|
+
if (message.keyType != null && message.hasOwnProperty("keyType"))
|
|
140598
|
+
object.keyType = options.enums === String ? $root.KeyType[message.keyType] : message.keyType;
|
|
140599
|
+
if (message.identifier != null && message.hasOwnProperty("identifier"))
|
|
140600
|
+
object.identifier = message.identifier;
|
|
140601
|
+
return object;
|
|
140602
|
+
};
|
|
140603
|
+
|
|
140604
|
+
/**
|
|
140605
|
+
* Converts this EligibilityRecordIdentifier to JSON.
|
|
140606
|
+
* @function toJSON
|
|
140607
|
+
* @memberof EligibilityRecordIdentifier
|
|
140608
|
+
* @instance
|
|
140609
|
+
* @returns {Object.<string,*>} JSON object
|
|
140610
|
+
*/
|
|
140611
|
+
EligibilityRecordIdentifier.prototype.toJSON = function toJSON() {
|
|
140612
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
140613
|
+
};
|
|
140614
|
+
|
|
140615
|
+
return EligibilityRecordIdentifier;
|
|
140616
|
+
})();
|
|
140617
|
+
|
|
140618
|
+
$root.ElfRecordPresent = (function() {
|
|
140619
|
+
|
|
140620
|
+
/**
|
|
140621
|
+
* Properties of an ElfRecordPresent.
|
|
140622
|
+
* @name IElfRecordPresent
|
|
140623
|
+
* @interface IElfRecordPresent
|
|
140624
|
+
* @property {string|null} [headspaceHealthOrgId] ElfRecordPresent headspaceHealthOrgId
|
|
140625
|
+
* @property {string|null} [b2bOrgId] ElfRecordPresent b2bOrgId
|
|
140626
|
+
* @property {string|null} [gingerOrgId] ElfRecordPresent gingerOrgId
|
|
140627
|
+
* @property {number|Long|null} [fileImportedTimestamp] ElfRecordPresent fileImportedTimestamp
|
|
140628
|
+
* @property {number|null} [lineNumber] ElfRecordPresent lineNumber
|
|
140629
|
+
* @property {string|null} [workEmail] ElfRecordPresent workEmail
|
|
140630
|
+
* @property {string|null} [workId] ElfRecordPresent workId
|
|
140631
|
+
* @property {KeyType|null} [keyType] ElfRecordPresent keyType
|
|
140632
|
+
* @property {string|null} [firstName] ElfRecordPresent firstName
|
|
140633
|
+
* @property {string|null} [lastName] ElfRecordPresent lastName
|
|
140634
|
+
* @property {string|null} [country] ElfRecordPresent country
|
|
140635
|
+
* @property {string|null} [zipCode] ElfRecordPresent zipCode
|
|
140636
|
+
* @property {string|null} [dob] ElfRecordPresent dob
|
|
140637
|
+
* @property {string|null} [countryStateCode] ElfRecordPresent countryStateCode
|
|
140638
|
+
* @property {string|null} [streetAddress_1] ElfRecordPresent streetAddress_1
|
|
140639
|
+
* @property {string|null} [streetAddress_2] ElfRecordPresent streetAddress_2
|
|
140640
|
+
* @property {string|null} [department] ElfRecordPresent department
|
|
140641
|
+
* @property {string|null} [language] ElfRecordPresent language
|
|
140642
|
+
* @property {string|null} [customFields] ElfRecordPresent customFields
|
|
140643
|
+
* @property {Array.<b2b.SubscriptionOffering>|null} [offerings] ElfRecordPresent offerings
|
|
140644
|
+
* @property {string|null} [rootOrgHeadspaceHealthId] ElfRecordPresent rootOrgHeadspaceHealthId
|
|
140645
|
+
* @property {string|null} [rootOrgId] ElfRecordPresent rootOrgId
|
|
140646
|
+
* @property {boolean|null} [isMemberMigrated] ElfRecordPresent isMemberMigrated
|
|
140647
|
+
* @property {string|null} [priorB2bOrgId] ElfRecordPresent priorB2bOrgId
|
|
140648
|
+
* @property {string|null} [location] ElfRecordPresent location
|
|
140649
|
+
* @property {string|null} [dependentOf] ElfRecordPresent dependentOf
|
|
140650
|
+
* @property {boolean|null} [isDryRun] ElfRecordPresent isDryRun
|
|
140651
|
+
* @property {boolean|null} [gingerShouldProcess] ElfRecordPresent gingerShouldProcess
|
|
140652
|
+
* @property {boolean|null} [headspaceShouldProcess] ElfRecordPresent headspaceShouldProcess
|
|
140653
|
+
* @property {boolean|null} [unifiedEligibilityEnabled] ElfRecordPresent unifiedEligibilityEnabled
|
|
140654
|
+
* @property {string|null} [collectiveUuid] ElfRecordPresent collectiveUuid
|
|
140655
|
+
*/
|
|
140656
|
+
|
|
140657
|
+
/**
|
|
140658
|
+
* Constructs a new ElfRecordPresent.
|
|
140659
|
+
* @name ElfRecordPresent
|
|
140660
|
+
* @classdesc Represents an ElfRecordPresent.
|
|
140661
|
+
* @implements IElfRecordPresent
|
|
140662
|
+
* @constructor
|
|
140663
|
+
* @param {IElfRecordPresent=} [properties] Properties to set
|
|
140664
|
+
*/
|
|
140665
|
+
function ElfRecordPresent(properties) {
|
|
140666
|
+
this.offerings = [];
|
|
140667
|
+
if (properties)
|
|
140668
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
140669
|
+
if (properties[keys[i]] != null)
|
|
140670
|
+
this[keys[i]] = properties[keys[i]];
|
|
140671
|
+
}
|
|
140672
|
+
|
|
140673
|
+
/**
|
|
140674
|
+
* ElfRecordPresent headspaceHealthOrgId.
|
|
140675
|
+
* @member {string} headspaceHealthOrgId
|
|
140676
|
+
* @memberof ElfRecordPresent
|
|
140677
|
+
* @instance
|
|
140678
|
+
*/
|
|
140679
|
+
ElfRecordPresent.prototype.headspaceHealthOrgId = "";
|
|
140680
|
+
|
|
140681
|
+
/**
|
|
140682
|
+
* ElfRecordPresent b2bOrgId.
|
|
140683
|
+
* @member {string} b2bOrgId
|
|
140684
|
+
* @memberof ElfRecordPresent
|
|
140685
|
+
* @instance
|
|
140686
|
+
*/
|
|
140687
|
+
ElfRecordPresent.prototype.b2bOrgId = "";
|
|
140688
|
+
|
|
140689
|
+
/**
|
|
140690
|
+
* ElfRecordPresent gingerOrgId.
|
|
140691
|
+
* @member {string} gingerOrgId
|
|
140692
|
+
* @memberof ElfRecordPresent
|
|
140693
|
+
* @instance
|
|
140694
|
+
*/
|
|
140695
|
+
ElfRecordPresent.prototype.gingerOrgId = "";
|
|
140696
|
+
|
|
140697
|
+
/**
|
|
140698
|
+
* ElfRecordPresent fileImportedTimestamp.
|
|
140699
|
+
* @member {number|Long} fileImportedTimestamp
|
|
140700
|
+
* @memberof ElfRecordPresent
|
|
140701
|
+
* @instance
|
|
140702
|
+
*/
|
|
140703
|
+
ElfRecordPresent.prototype.fileImportedTimestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
140704
|
+
|
|
140705
|
+
/**
|
|
140706
|
+
* ElfRecordPresent lineNumber.
|
|
140707
|
+
* @member {number} lineNumber
|
|
140708
|
+
* @memberof ElfRecordPresent
|
|
140709
|
+
* @instance
|
|
140710
|
+
*/
|
|
140711
|
+
ElfRecordPresent.prototype.lineNumber = 0;
|
|
140712
|
+
|
|
140713
|
+
/**
|
|
140714
|
+
* ElfRecordPresent workEmail.
|
|
140715
|
+
* @member {string} workEmail
|
|
140716
|
+
* @memberof ElfRecordPresent
|
|
140717
|
+
* @instance
|
|
140718
|
+
*/
|
|
140719
|
+
ElfRecordPresent.prototype.workEmail = "";
|
|
140720
|
+
|
|
140721
|
+
/**
|
|
140722
|
+
* ElfRecordPresent workId.
|
|
140723
|
+
* @member {string} workId
|
|
140724
|
+
* @memberof ElfRecordPresent
|
|
140725
|
+
* @instance
|
|
140726
|
+
*/
|
|
140727
|
+
ElfRecordPresent.prototype.workId = "";
|
|
140728
|
+
|
|
140729
|
+
/**
|
|
140730
|
+
* ElfRecordPresent keyType.
|
|
140731
|
+
* @member {KeyType} keyType
|
|
140732
|
+
* @memberof ElfRecordPresent
|
|
140733
|
+
* @instance
|
|
140734
|
+
*/
|
|
140735
|
+
ElfRecordPresent.prototype.keyType = 0;
|
|
140736
|
+
|
|
140737
|
+
/**
|
|
140738
|
+
* ElfRecordPresent firstName.
|
|
140739
|
+
* @member {string} firstName
|
|
140740
|
+
* @memberof ElfRecordPresent
|
|
140741
|
+
* @instance
|
|
140742
|
+
*/
|
|
140743
|
+
ElfRecordPresent.prototype.firstName = "";
|
|
140744
|
+
|
|
140745
|
+
/**
|
|
140746
|
+
* ElfRecordPresent lastName.
|
|
140747
|
+
* @member {string} lastName
|
|
140748
|
+
* @memberof ElfRecordPresent
|
|
140749
|
+
* @instance
|
|
140750
|
+
*/
|
|
140751
|
+
ElfRecordPresent.prototype.lastName = "";
|
|
140752
|
+
|
|
140753
|
+
/**
|
|
140754
|
+
* ElfRecordPresent country.
|
|
140755
|
+
* @member {string} country
|
|
140756
|
+
* @memberof ElfRecordPresent
|
|
140757
|
+
* @instance
|
|
140758
|
+
*/
|
|
140759
|
+
ElfRecordPresent.prototype.country = "";
|
|
140760
|
+
|
|
140761
|
+
/**
|
|
140762
|
+
* ElfRecordPresent zipCode.
|
|
140763
|
+
* @member {string} zipCode
|
|
140764
|
+
* @memberof ElfRecordPresent
|
|
140765
|
+
* @instance
|
|
140766
|
+
*/
|
|
140767
|
+
ElfRecordPresent.prototype.zipCode = "";
|
|
140768
|
+
|
|
140769
|
+
/**
|
|
140770
|
+
* ElfRecordPresent dob.
|
|
140771
|
+
* @member {string} dob
|
|
140772
|
+
* @memberof ElfRecordPresent
|
|
140773
|
+
* @instance
|
|
140774
|
+
*/
|
|
140775
|
+
ElfRecordPresent.prototype.dob = "";
|
|
140776
|
+
|
|
140777
|
+
/**
|
|
140778
|
+
* ElfRecordPresent countryStateCode.
|
|
140779
|
+
* @member {string} countryStateCode
|
|
140780
|
+
* @memberof ElfRecordPresent
|
|
140781
|
+
* @instance
|
|
140782
|
+
*/
|
|
140783
|
+
ElfRecordPresent.prototype.countryStateCode = "";
|
|
140784
|
+
|
|
140785
|
+
/**
|
|
140786
|
+
* ElfRecordPresent streetAddress_1.
|
|
140787
|
+
* @member {string} streetAddress_1
|
|
140788
|
+
* @memberof ElfRecordPresent
|
|
140789
|
+
* @instance
|
|
140790
|
+
*/
|
|
140791
|
+
ElfRecordPresent.prototype.streetAddress_1 = "";
|
|
140792
|
+
|
|
140793
|
+
/**
|
|
140794
|
+
* ElfRecordPresent streetAddress_2.
|
|
140795
|
+
* @member {string} streetAddress_2
|
|
140796
|
+
* @memberof ElfRecordPresent
|
|
140797
|
+
* @instance
|
|
140798
|
+
*/
|
|
140799
|
+
ElfRecordPresent.prototype.streetAddress_2 = "";
|
|
140800
|
+
|
|
140801
|
+
/**
|
|
140802
|
+
* ElfRecordPresent department.
|
|
140803
|
+
* @member {string} department
|
|
140804
|
+
* @memberof ElfRecordPresent
|
|
140805
|
+
* @instance
|
|
140806
|
+
*/
|
|
140807
|
+
ElfRecordPresent.prototype.department = "";
|
|
140808
|
+
|
|
140809
|
+
/**
|
|
140810
|
+
* ElfRecordPresent language.
|
|
140811
|
+
* @member {string} language
|
|
140812
|
+
* @memberof ElfRecordPresent
|
|
140813
|
+
* @instance
|
|
140814
|
+
*/
|
|
140815
|
+
ElfRecordPresent.prototype.language = "";
|
|
140816
|
+
|
|
140817
|
+
/**
|
|
140818
|
+
* ElfRecordPresent customFields.
|
|
140819
|
+
* @member {string} customFields
|
|
140820
|
+
* @memberof ElfRecordPresent
|
|
140821
|
+
* @instance
|
|
140822
|
+
*/
|
|
140823
|
+
ElfRecordPresent.prototype.customFields = "";
|
|
140824
|
+
|
|
140825
|
+
/**
|
|
140826
|
+
* ElfRecordPresent offerings.
|
|
140827
|
+
* @member {Array.<b2b.SubscriptionOffering>} offerings
|
|
140828
|
+
* @memberof ElfRecordPresent
|
|
140829
|
+
* @instance
|
|
140830
|
+
*/
|
|
140831
|
+
ElfRecordPresent.prototype.offerings = $util.emptyArray;
|
|
140832
|
+
|
|
140833
|
+
/**
|
|
140834
|
+
* ElfRecordPresent rootOrgHeadspaceHealthId.
|
|
140835
|
+
* @member {string} rootOrgHeadspaceHealthId
|
|
140836
|
+
* @memberof ElfRecordPresent
|
|
140837
|
+
* @instance
|
|
140838
|
+
*/
|
|
140839
|
+
ElfRecordPresent.prototype.rootOrgHeadspaceHealthId = "";
|
|
140840
|
+
|
|
140841
|
+
/**
|
|
140842
|
+
* ElfRecordPresent rootOrgId.
|
|
140843
|
+
* @member {string} rootOrgId
|
|
140844
|
+
* @memberof ElfRecordPresent
|
|
140845
|
+
* @instance
|
|
140846
|
+
*/
|
|
140847
|
+
ElfRecordPresent.prototype.rootOrgId = "";
|
|
140848
|
+
|
|
140849
|
+
/**
|
|
140850
|
+
* ElfRecordPresent isMemberMigrated.
|
|
140851
|
+
* @member {boolean} isMemberMigrated
|
|
140852
|
+
* @memberof ElfRecordPresent
|
|
140853
|
+
* @instance
|
|
140854
|
+
*/
|
|
140855
|
+
ElfRecordPresent.prototype.isMemberMigrated = false;
|
|
140856
|
+
|
|
140857
|
+
/**
|
|
140858
|
+
* ElfRecordPresent priorB2bOrgId.
|
|
140859
|
+
* @member {string} priorB2bOrgId
|
|
140860
|
+
* @memberof ElfRecordPresent
|
|
140861
|
+
* @instance
|
|
140862
|
+
*/
|
|
140863
|
+
ElfRecordPresent.prototype.priorB2bOrgId = "";
|
|
140864
|
+
|
|
140865
|
+
/**
|
|
140866
|
+
* ElfRecordPresent location.
|
|
140867
|
+
* @member {string} location
|
|
140868
|
+
* @memberof ElfRecordPresent
|
|
140869
|
+
* @instance
|
|
140870
|
+
*/
|
|
140871
|
+
ElfRecordPresent.prototype.location = "";
|
|
140872
|
+
|
|
140873
|
+
/**
|
|
140874
|
+
* ElfRecordPresent dependentOf.
|
|
140875
|
+
* @member {string} dependentOf
|
|
140876
|
+
* @memberof ElfRecordPresent
|
|
140877
|
+
* @instance
|
|
140878
|
+
*/
|
|
140879
|
+
ElfRecordPresent.prototype.dependentOf = "";
|
|
140880
|
+
|
|
140881
|
+
/**
|
|
140882
|
+
* ElfRecordPresent isDryRun.
|
|
140883
|
+
* @member {boolean} isDryRun
|
|
140884
|
+
* @memberof ElfRecordPresent
|
|
140885
|
+
* @instance
|
|
140886
|
+
*/
|
|
140887
|
+
ElfRecordPresent.prototype.isDryRun = false;
|
|
140888
|
+
|
|
140889
|
+
/**
|
|
140890
|
+
* ElfRecordPresent gingerShouldProcess.
|
|
140891
|
+
* @member {boolean} gingerShouldProcess
|
|
140892
|
+
* @memberof ElfRecordPresent
|
|
140893
|
+
* @instance
|
|
140894
|
+
*/
|
|
140895
|
+
ElfRecordPresent.prototype.gingerShouldProcess = false;
|
|
140896
|
+
|
|
140897
|
+
/**
|
|
140898
|
+
* ElfRecordPresent headspaceShouldProcess.
|
|
140899
|
+
* @member {boolean} headspaceShouldProcess
|
|
140900
|
+
* @memberof ElfRecordPresent
|
|
140901
|
+
* @instance
|
|
140902
|
+
*/
|
|
140903
|
+
ElfRecordPresent.prototype.headspaceShouldProcess = false;
|
|
140904
|
+
|
|
140905
|
+
/**
|
|
140906
|
+
* ElfRecordPresent unifiedEligibilityEnabled.
|
|
140907
|
+
* @member {boolean} unifiedEligibilityEnabled
|
|
140908
|
+
* @memberof ElfRecordPresent
|
|
140909
|
+
* @instance
|
|
140910
|
+
*/
|
|
140911
|
+
ElfRecordPresent.prototype.unifiedEligibilityEnabled = false;
|
|
140912
|
+
|
|
140913
|
+
/**
|
|
140914
|
+
* ElfRecordPresent collectiveUuid.
|
|
140915
|
+
* @member {string} collectiveUuid
|
|
140916
|
+
* @memberof ElfRecordPresent
|
|
140917
|
+
* @instance
|
|
140918
|
+
*/
|
|
140919
|
+
ElfRecordPresent.prototype.collectiveUuid = "";
|
|
140920
|
+
|
|
140921
|
+
/**
|
|
140922
|
+
* Creates a new ElfRecordPresent instance using the specified properties.
|
|
140923
|
+
* @function create
|
|
140924
|
+
* @memberof ElfRecordPresent
|
|
140925
|
+
* @static
|
|
140926
|
+
* @param {IElfRecordPresent=} [properties] Properties to set
|
|
140927
|
+
* @returns {ElfRecordPresent} ElfRecordPresent instance
|
|
140928
|
+
*/
|
|
140929
|
+
ElfRecordPresent.create = function create(properties) {
|
|
140930
|
+
return new ElfRecordPresent(properties);
|
|
140931
|
+
};
|
|
140932
|
+
|
|
140933
|
+
/**
|
|
140934
|
+
* Encodes the specified ElfRecordPresent message. Does not implicitly {@link ElfRecordPresent.verify|verify} messages.
|
|
140935
|
+
* @function encode
|
|
140936
|
+
* @memberof ElfRecordPresent
|
|
140937
|
+
* @static
|
|
140938
|
+
* @param {IElfRecordPresent} message ElfRecordPresent message or plain object to encode
|
|
140939
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
140940
|
+
* @returns {$protobuf.Writer} Writer
|
|
140941
|
+
*/
|
|
140942
|
+
ElfRecordPresent.encode = function encode(message, writer) {
|
|
140943
|
+
if (!writer)
|
|
140944
|
+
writer = $Writer.create();
|
|
140945
|
+
if (message.headspaceHealthOrgId != null && message.hasOwnProperty("headspaceHealthOrgId"))
|
|
140946
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.headspaceHealthOrgId);
|
|
140947
|
+
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
140948
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.b2bOrgId);
|
|
140949
|
+
if (message.gingerOrgId != null && message.hasOwnProperty("gingerOrgId"))
|
|
140950
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.gingerOrgId);
|
|
140951
|
+
if (message.fileImportedTimestamp != null && message.hasOwnProperty("fileImportedTimestamp"))
|
|
140952
|
+
writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.fileImportedTimestamp);
|
|
140953
|
+
if (message.lineNumber != null && message.hasOwnProperty("lineNumber"))
|
|
140954
|
+
writer.uint32(/* id 5, wireType 0 =*/40).int32(message.lineNumber);
|
|
140955
|
+
if (message.workEmail != null && message.hasOwnProperty("workEmail"))
|
|
140956
|
+
writer.uint32(/* id 6, wireType 2 =*/50).string(message.workEmail);
|
|
140957
|
+
if (message.workId != null && message.hasOwnProperty("workId"))
|
|
140958
|
+
writer.uint32(/* id 7, wireType 2 =*/58).string(message.workId);
|
|
140959
|
+
if (message.keyType != null && message.hasOwnProperty("keyType"))
|
|
140960
|
+
writer.uint32(/* id 8, wireType 0 =*/64).int32(message.keyType);
|
|
140961
|
+
if (message.firstName != null && message.hasOwnProperty("firstName"))
|
|
140962
|
+
writer.uint32(/* id 9, wireType 2 =*/74).string(message.firstName);
|
|
140963
|
+
if (message.lastName != null && message.hasOwnProperty("lastName"))
|
|
140964
|
+
writer.uint32(/* id 10, wireType 2 =*/82).string(message.lastName);
|
|
140965
|
+
if (message.country != null && message.hasOwnProperty("country"))
|
|
140966
|
+
writer.uint32(/* id 11, wireType 2 =*/90).string(message.country);
|
|
140967
|
+
if (message.zipCode != null && message.hasOwnProperty("zipCode"))
|
|
140968
|
+
writer.uint32(/* id 12, wireType 2 =*/98).string(message.zipCode);
|
|
140969
|
+
if (message.dob != null && message.hasOwnProperty("dob"))
|
|
140970
|
+
writer.uint32(/* id 13, wireType 2 =*/106).string(message.dob);
|
|
140971
|
+
if (message.streetAddress_1 != null && message.hasOwnProperty("streetAddress_1"))
|
|
140972
|
+
writer.uint32(/* id 14, wireType 2 =*/114).string(message.streetAddress_1);
|
|
140973
|
+
if (message.streetAddress_2 != null && message.hasOwnProperty("streetAddress_2"))
|
|
140974
|
+
writer.uint32(/* id 15, wireType 2 =*/122).string(message.streetAddress_2);
|
|
140975
|
+
if (message.department != null && message.hasOwnProperty("department"))
|
|
140976
|
+
writer.uint32(/* id 16, wireType 2 =*/130).string(message.department);
|
|
140977
|
+
if (message.language != null && message.hasOwnProperty("language"))
|
|
140978
|
+
writer.uint32(/* id 17, wireType 2 =*/138).string(message.language);
|
|
140979
|
+
if (message.isDryRun != null && message.hasOwnProperty("isDryRun"))
|
|
140980
|
+
writer.uint32(/* id 18, wireType 0 =*/144).bool(message.isDryRun);
|
|
140981
|
+
if (message.gingerShouldProcess != null && message.hasOwnProperty("gingerShouldProcess"))
|
|
140982
|
+
writer.uint32(/* id 19, wireType 0 =*/152).bool(message.gingerShouldProcess);
|
|
140983
|
+
if (message.headspaceShouldProcess != null && message.hasOwnProperty("headspaceShouldProcess"))
|
|
140984
|
+
writer.uint32(/* id 20, wireType 0 =*/160).bool(message.headspaceShouldProcess);
|
|
140985
|
+
if (message.customFields != null && message.hasOwnProperty("customFields"))
|
|
140986
|
+
writer.uint32(/* id 21, wireType 2 =*/170).string(message.customFields);
|
|
140987
|
+
if (message.offerings != null && message.offerings.length) {
|
|
140988
|
+
writer.uint32(/* id 22, wireType 2 =*/178).fork();
|
|
140989
|
+
for (var i = 0; i < message.offerings.length; ++i)
|
|
140990
|
+
writer.int32(message.offerings[i]);
|
|
140991
|
+
writer.ldelim();
|
|
140992
|
+
}
|
|
140993
|
+
if (message.unifiedEligibilityEnabled != null && message.hasOwnProperty("unifiedEligibilityEnabled"))
|
|
140994
|
+
writer.uint32(/* id 23, wireType 0 =*/184).bool(message.unifiedEligibilityEnabled);
|
|
140995
|
+
if (message.rootOrgHeadspaceHealthId != null && message.hasOwnProperty("rootOrgHeadspaceHealthId"))
|
|
140996
|
+
writer.uint32(/* id 24, wireType 2 =*/194).string(message.rootOrgHeadspaceHealthId);
|
|
140997
|
+
if (message.rootOrgId != null && message.hasOwnProperty("rootOrgId"))
|
|
140998
|
+
writer.uint32(/* id 25, wireType 2 =*/202).string(message.rootOrgId);
|
|
140999
|
+
if (message.isMemberMigrated != null && message.hasOwnProperty("isMemberMigrated"))
|
|
141000
|
+
writer.uint32(/* id 26, wireType 0 =*/208).bool(message.isMemberMigrated);
|
|
141001
|
+
if (message.priorB2bOrgId != null && message.hasOwnProperty("priorB2bOrgId"))
|
|
141002
|
+
writer.uint32(/* id 27, wireType 2 =*/218).string(message.priorB2bOrgId);
|
|
141003
|
+
if (message.location != null && message.hasOwnProperty("location"))
|
|
141004
|
+
writer.uint32(/* id 28, wireType 2 =*/226).string(message.location);
|
|
141005
|
+
if (message.countryStateCode != null && message.hasOwnProperty("countryStateCode"))
|
|
141006
|
+
writer.uint32(/* id 29, wireType 2 =*/234).string(message.countryStateCode);
|
|
141007
|
+
if (message.dependentOf != null && message.hasOwnProperty("dependentOf"))
|
|
141008
|
+
writer.uint32(/* id 30, wireType 2 =*/242).string(message.dependentOf);
|
|
141009
|
+
if (message.collectiveUuid != null && message.hasOwnProperty("collectiveUuid"))
|
|
141010
|
+
writer.uint32(/* id 31, wireType 2 =*/250).string(message.collectiveUuid);
|
|
141011
|
+
return writer;
|
|
141012
|
+
};
|
|
141013
|
+
|
|
141014
|
+
/**
|
|
141015
|
+
* Encodes the specified ElfRecordPresent message, length delimited. Does not implicitly {@link ElfRecordPresent.verify|verify} messages.
|
|
141016
|
+
* @function encodeDelimited
|
|
141017
|
+
* @memberof ElfRecordPresent
|
|
141018
|
+
* @static
|
|
141019
|
+
* @param {IElfRecordPresent} message ElfRecordPresent message or plain object to encode
|
|
141020
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
141021
|
+
* @returns {$protobuf.Writer} Writer
|
|
141022
|
+
*/
|
|
141023
|
+
ElfRecordPresent.encodeDelimited = function encodeDelimited(message, writer) {
|
|
141024
|
+
return this.encode(message, writer).ldelim();
|
|
141025
|
+
};
|
|
141026
|
+
|
|
141027
|
+
/**
|
|
141028
|
+
* Decodes an ElfRecordPresent message from the specified reader or buffer.
|
|
141029
|
+
* @function decode
|
|
141030
|
+
* @memberof ElfRecordPresent
|
|
141031
|
+
* @static
|
|
141032
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
141033
|
+
* @param {number} [length] Message length if known beforehand
|
|
141034
|
+
* @returns {ElfRecordPresent} ElfRecordPresent
|
|
141035
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
141036
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
141037
|
+
*/
|
|
141038
|
+
ElfRecordPresent.decode = function decode(reader, length) {
|
|
141039
|
+
if (!(reader instanceof $Reader))
|
|
141040
|
+
reader = $Reader.create(reader);
|
|
141041
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ElfRecordPresent();
|
|
141042
|
+
while (reader.pos < end) {
|
|
141043
|
+
var tag = reader.uint32();
|
|
141044
|
+
switch (tag >>> 3) {
|
|
141045
|
+
case 1:
|
|
141046
|
+
message.headspaceHealthOrgId = reader.string();
|
|
141047
|
+
break;
|
|
141048
|
+
case 2:
|
|
141049
|
+
message.b2bOrgId = reader.string();
|
|
141050
|
+
break;
|
|
141051
|
+
case 3:
|
|
141052
|
+
message.gingerOrgId = reader.string();
|
|
141053
|
+
break;
|
|
141054
|
+
case 4:
|
|
141055
|
+
message.fileImportedTimestamp = reader.uint64();
|
|
141056
|
+
break;
|
|
141057
|
+
case 5:
|
|
141058
|
+
message.lineNumber = reader.int32();
|
|
141059
|
+
break;
|
|
141060
|
+
case 6:
|
|
141061
|
+
message.workEmail = reader.string();
|
|
141062
|
+
break;
|
|
141063
|
+
case 7:
|
|
141064
|
+
message.workId = reader.string();
|
|
141065
|
+
break;
|
|
141066
|
+
case 8:
|
|
141067
|
+
message.keyType = reader.int32();
|
|
141068
|
+
break;
|
|
141069
|
+
case 9:
|
|
141070
|
+
message.firstName = reader.string();
|
|
141071
|
+
break;
|
|
141072
|
+
case 10:
|
|
141073
|
+
message.lastName = reader.string();
|
|
141074
|
+
break;
|
|
141075
|
+
case 11:
|
|
141076
|
+
message.country = reader.string();
|
|
141077
|
+
break;
|
|
141078
|
+
case 12:
|
|
141079
|
+
message.zipCode = reader.string();
|
|
141080
|
+
break;
|
|
141081
|
+
case 13:
|
|
141082
|
+
message.dob = reader.string();
|
|
141083
|
+
break;
|
|
141084
|
+
case 29:
|
|
141085
|
+
message.countryStateCode = reader.string();
|
|
141086
|
+
break;
|
|
141087
|
+
case 14:
|
|
141088
|
+
message.streetAddress_1 = reader.string();
|
|
141089
|
+
break;
|
|
141090
|
+
case 15:
|
|
141091
|
+
message.streetAddress_2 = reader.string();
|
|
141092
|
+
break;
|
|
141093
|
+
case 16:
|
|
141094
|
+
message.department = reader.string();
|
|
141095
|
+
break;
|
|
141096
|
+
case 17:
|
|
141097
|
+
message.language = reader.string();
|
|
141098
|
+
break;
|
|
141099
|
+
case 21:
|
|
141100
|
+
message.customFields = reader.string();
|
|
141101
|
+
break;
|
|
141102
|
+
case 22:
|
|
141103
|
+
if (!(message.offerings && message.offerings.length))
|
|
141104
|
+
message.offerings = [];
|
|
141105
|
+
if ((tag & 7) === 2) {
|
|
141106
|
+
var end2 = reader.uint32() + reader.pos;
|
|
141107
|
+
while (reader.pos < end2)
|
|
141108
|
+
message.offerings.push(reader.int32());
|
|
141109
|
+
} else
|
|
141110
|
+
message.offerings.push(reader.int32());
|
|
141111
|
+
break;
|
|
141112
|
+
case 24:
|
|
141113
|
+
message.rootOrgHeadspaceHealthId = reader.string();
|
|
141114
|
+
break;
|
|
141115
|
+
case 25:
|
|
141116
|
+
message.rootOrgId = reader.string();
|
|
141117
|
+
break;
|
|
141118
|
+
case 26:
|
|
141119
|
+
message.isMemberMigrated = reader.bool();
|
|
141120
|
+
break;
|
|
141121
|
+
case 27:
|
|
141122
|
+
message.priorB2bOrgId = reader.string();
|
|
141123
|
+
break;
|
|
141124
|
+
case 28:
|
|
141125
|
+
message.location = reader.string();
|
|
141126
|
+
break;
|
|
141127
|
+
case 30:
|
|
141128
|
+
message.dependentOf = reader.string();
|
|
141129
|
+
break;
|
|
141130
|
+
case 18:
|
|
141131
|
+
message.isDryRun = reader.bool();
|
|
141132
|
+
break;
|
|
141133
|
+
case 19:
|
|
141134
|
+
message.gingerShouldProcess = reader.bool();
|
|
141135
|
+
break;
|
|
141136
|
+
case 20:
|
|
141137
|
+
message.headspaceShouldProcess = reader.bool();
|
|
141138
|
+
break;
|
|
141139
|
+
case 23:
|
|
141140
|
+
message.unifiedEligibilityEnabled = reader.bool();
|
|
141141
|
+
break;
|
|
141142
|
+
case 31:
|
|
141143
|
+
message.collectiveUuid = reader.string();
|
|
141144
|
+
break;
|
|
141145
|
+
default:
|
|
141146
|
+
reader.skipType(tag & 7);
|
|
141147
|
+
break;
|
|
141148
|
+
}
|
|
141149
|
+
}
|
|
141150
|
+
return message;
|
|
141151
|
+
};
|
|
141152
|
+
|
|
141153
|
+
/**
|
|
141154
|
+
* Decodes an ElfRecordPresent message from the specified reader or buffer, length delimited.
|
|
141155
|
+
* @function decodeDelimited
|
|
141156
|
+
* @memberof ElfRecordPresent
|
|
141157
|
+
* @static
|
|
141158
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
141159
|
+
* @returns {ElfRecordPresent} ElfRecordPresent
|
|
141160
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
141161
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
141162
|
+
*/
|
|
141163
|
+
ElfRecordPresent.decodeDelimited = function decodeDelimited(reader) {
|
|
141164
|
+
if (!(reader instanceof $Reader))
|
|
141165
|
+
reader = new $Reader(reader);
|
|
141166
|
+
return this.decode(reader, reader.uint32());
|
|
141167
|
+
};
|
|
141168
|
+
|
|
141169
|
+
/**
|
|
141170
|
+
* Verifies an ElfRecordPresent message.
|
|
141171
|
+
* @function verify
|
|
141172
|
+
* @memberof ElfRecordPresent
|
|
141173
|
+
* @static
|
|
141174
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
141175
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
141176
|
+
*/
|
|
141177
|
+
ElfRecordPresent.verify = function verify(message) {
|
|
141178
|
+
if (typeof message !== "object" || message === null)
|
|
141179
|
+
return "object expected";
|
|
141180
|
+
if (message.headspaceHealthOrgId != null && message.hasOwnProperty("headspaceHealthOrgId"))
|
|
141181
|
+
if (!$util.isString(message.headspaceHealthOrgId))
|
|
141182
|
+
return "headspaceHealthOrgId: string expected";
|
|
141183
|
+
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
141184
|
+
if (!$util.isString(message.b2bOrgId))
|
|
141185
|
+
return "b2bOrgId: string expected";
|
|
141186
|
+
if (message.gingerOrgId != null && message.hasOwnProperty("gingerOrgId"))
|
|
141187
|
+
if (!$util.isString(message.gingerOrgId))
|
|
141188
|
+
return "gingerOrgId: string expected";
|
|
141189
|
+
if (message.fileImportedTimestamp != null && message.hasOwnProperty("fileImportedTimestamp"))
|
|
141190
|
+
if (!$util.isInteger(message.fileImportedTimestamp) && !(message.fileImportedTimestamp && $util.isInteger(message.fileImportedTimestamp.low) && $util.isInteger(message.fileImportedTimestamp.high)))
|
|
141191
|
+
return "fileImportedTimestamp: integer|Long expected";
|
|
141192
|
+
if (message.lineNumber != null && message.hasOwnProperty("lineNumber"))
|
|
141193
|
+
if (!$util.isInteger(message.lineNumber))
|
|
141194
|
+
return "lineNumber: integer expected";
|
|
141195
|
+
if (message.workEmail != null && message.hasOwnProperty("workEmail"))
|
|
141196
|
+
if (!$util.isString(message.workEmail))
|
|
141197
|
+
return "workEmail: string expected";
|
|
141198
|
+
if (message.workId != null && message.hasOwnProperty("workId"))
|
|
141199
|
+
if (!$util.isString(message.workId))
|
|
141200
|
+
return "workId: string expected";
|
|
141201
|
+
if (message.keyType != null && message.hasOwnProperty("keyType"))
|
|
141202
|
+
switch (message.keyType) {
|
|
141203
|
+
default:
|
|
141204
|
+
return "keyType: enum value expected";
|
|
141205
|
+
case 0:
|
|
141206
|
+
case 1:
|
|
141207
|
+
break;
|
|
141208
|
+
}
|
|
141209
|
+
if (message.firstName != null && message.hasOwnProperty("firstName"))
|
|
141210
|
+
if (!$util.isString(message.firstName))
|
|
141211
|
+
return "firstName: string expected";
|
|
141212
|
+
if (message.lastName != null && message.hasOwnProperty("lastName"))
|
|
141213
|
+
if (!$util.isString(message.lastName))
|
|
141214
|
+
return "lastName: string expected";
|
|
141215
|
+
if (message.country != null && message.hasOwnProperty("country"))
|
|
141216
|
+
if (!$util.isString(message.country))
|
|
141217
|
+
return "country: string expected";
|
|
141218
|
+
if (message.zipCode != null && message.hasOwnProperty("zipCode"))
|
|
141219
|
+
if (!$util.isString(message.zipCode))
|
|
141220
|
+
return "zipCode: string expected";
|
|
141221
|
+
if (message.dob != null && message.hasOwnProperty("dob"))
|
|
141222
|
+
if (!$util.isString(message.dob))
|
|
141223
|
+
return "dob: string expected";
|
|
141224
|
+
if (message.countryStateCode != null && message.hasOwnProperty("countryStateCode"))
|
|
141225
|
+
if (!$util.isString(message.countryStateCode))
|
|
141226
|
+
return "countryStateCode: string expected";
|
|
141227
|
+
if (message.streetAddress_1 != null && message.hasOwnProperty("streetAddress_1"))
|
|
141228
|
+
if (!$util.isString(message.streetAddress_1))
|
|
141229
|
+
return "streetAddress_1: string expected";
|
|
141230
|
+
if (message.streetAddress_2 != null && message.hasOwnProperty("streetAddress_2"))
|
|
141231
|
+
if (!$util.isString(message.streetAddress_2))
|
|
141232
|
+
return "streetAddress_2: string expected";
|
|
141233
|
+
if (message.department != null && message.hasOwnProperty("department"))
|
|
141234
|
+
if (!$util.isString(message.department))
|
|
141235
|
+
return "department: string expected";
|
|
141236
|
+
if (message.language != null && message.hasOwnProperty("language"))
|
|
141237
|
+
if (!$util.isString(message.language))
|
|
141238
|
+
return "language: string expected";
|
|
141239
|
+
if (message.customFields != null && message.hasOwnProperty("customFields"))
|
|
141240
|
+
if (!$util.isString(message.customFields))
|
|
141241
|
+
return "customFields: string expected";
|
|
141242
|
+
if (message.offerings != null && message.hasOwnProperty("offerings")) {
|
|
141243
|
+
if (!Array.isArray(message.offerings))
|
|
141244
|
+
return "offerings: array expected";
|
|
141245
|
+
for (var i = 0; i < message.offerings.length; ++i)
|
|
141246
|
+
switch (message.offerings[i]) {
|
|
141247
|
+
default:
|
|
141248
|
+
return "offerings: enum value[] expected";
|
|
141249
|
+
case 0:
|
|
141250
|
+
case 1:
|
|
141251
|
+
case 2:
|
|
141252
|
+
break;
|
|
141253
|
+
}
|
|
141254
|
+
}
|
|
141255
|
+
if (message.rootOrgHeadspaceHealthId != null && message.hasOwnProperty("rootOrgHeadspaceHealthId"))
|
|
141256
|
+
if (!$util.isString(message.rootOrgHeadspaceHealthId))
|
|
141257
|
+
return "rootOrgHeadspaceHealthId: string expected";
|
|
141258
|
+
if (message.rootOrgId != null && message.hasOwnProperty("rootOrgId"))
|
|
141259
|
+
if (!$util.isString(message.rootOrgId))
|
|
141260
|
+
return "rootOrgId: string expected";
|
|
141261
|
+
if (message.isMemberMigrated != null && message.hasOwnProperty("isMemberMigrated"))
|
|
141262
|
+
if (typeof message.isMemberMigrated !== "boolean")
|
|
141263
|
+
return "isMemberMigrated: boolean expected";
|
|
141264
|
+
if (message.priorB2bOrgId != null && message.hasOwnProperty("priorB2bOrgId"))
|
|
141265
|
+
if (!$util.isString(message.priorB2bOrgId))
|
|
141266
|
+
return "priorB2bOrgId: string expected";
|
|
141267
|
+
if (message.location != null && message.hasOwnProperty("location"))
|
|
141268
|
+
if (!$util.isString(message.location))
|
|
141269
|
+
return "location: string expected";
|
|
141270
|
+
if (message.dependentOf != null && message.hasOwnProperty("dependentOf"))
|
|
141271
|
+
if (!$util.isString(message.dependentOf))
|
|
141272
|
+
return "dependentOf: string expected";
|
|
141273
|
+
if (message.isDryRun != null && message.hasOwnProperty("isDryRun"))
|
|
141274
|
+
if (typeof message.isDryRun !== "boolean")
|
|
141275
|
+
return "isDryRun: boolean expected";
|
|
141276
|
+
if (message.gingerShouldProcess != null && message.hasOwnProperty("gingerShouldProcess"))
|
|
141277
|
+
if (typeof message.gingerShouldProcess !== "boolean")
|
|
141278
|
+
return "gingerShouldProcess: boolean expected";
|
|
141279
|
+
if (message.headspaceShouldProcess != null && message.hasOwnProperty("headspaceShouldProcess"))
|
|
141280
|
+
if (typeof message.headspaceShouldProcess !== "boolean")
|
|
141281
|
+
return "headspaceShouldProcess: boolean expected";
|
|
141282
|
+
if (message.unifiedEligibilityEnabled != null && message.hasOwnProperty("unifiedEligibilityEnabled"))
|
|
141283
|
+
if (typeof message.unifiedEligibilityEnabled !== "boolean")
|
|
141284
|
+
return "unifiedEligibilityEnabled: boolean expected";
|
|
141285
|
+
if (message.collectiveUuid != null && message.hasOwnProperty("collectiveUuid"))
|
|
141286
|
+
if (!$util.isString(message.collectiveUuid))
|
|
141287
|
+
return "collectiveUuid: string expected";
|
|
141288
|
+
return null;
|
|
141289
|
+
};
|
|
141290
|
+
|
|
141291
|
+
/**
|
|
141292
|
+
* Creates an ElfRecordPresent message from a plain object. Also converts values to their respective internal types.
|
|
141293
|
+
* @function fromObject
|
|
141294
|
+
* @memberof ElfRecordPresent
|
|
141295
|
+
* @static
|
|
141296
|
+
* @param {Object.<string,*>} object Plain object
|
|
141297
|
+
* @returns {ElfRecordPresent} ElfRecordPresent
|
|
141298
|
+
*/
|
|
141299
|
+
ElfRecordPresent.fromObject = function fromObject(object) {
|
|
141300
|
+
if (object instanceof $root.ElfRecordPresent)
|
|
141301
|
+
return object;
|
|
141302
|
+
var message = new $root.ElfRecordPresent();
|
|
141303
|
+
if (object.headspaceHealthOrgId != null)
|
|
141304
|
+
message.headspaceHealthOrgId = String(object.headspaceHealthOrgId);
|
|
141305
|
+
if (object.b2bOrgId != null)
|
|
141306
|
+
message.b2bOrgId = String(object.b2bOrgId);
|
|
141307
|
+
if (object.gingerOrgId != null)
|
|
141308
|
+
message.gingerOrgId = String(object.gingerOrgId);
|
|
141309
|
+
if (object.fileImportedTimestamp != null)
|
|
141310
|
+
if ($util.Long)
|
|
141311
|
+
(message.fileImportedTimestamp = $util.Long.fromValue(object.fileImportedTimestamp)).unsigned = true;
|
|
141312
|
+
else if (typeof object.fileImportedTimestamp === "string")
|
|
141313
|
+
message.fileImportedTimestamp = parseInt(object.fileImportedTimestamp, 10);
|
|
141314
|
+
else if (typeof object.fileImportedTimestamp === "number")
|
|
141315
|
+
message.fileImportedTimestamp = object.fileImportedTimestamp;
|
|
141316
|
+
else if (typeof object.fileImportedTimestamp === "object")
|
|
141317
|
+
message.fileImportedTimestamp = new $util.LongBits(object.fileImportedTimestamp.low >>> 0, object.fileImportedTimestamp.high >>> 0).toNumber(true);
|
|
141318
|
+
if (object.lineNumber != null)
|
|
141319
|
+
message.lineNumber = object.lineNumber | 0;
|
|
141320
|
+
if (object.workEmail != null)
|
|
141321
|
+
message.workEmail = String(object.workEmail);
|
|
141322
|
+
if (object.workId != null)
|
|
141323
|
+
message.workId = String(object.workId);
|
|
141324
|
+
switch (object.keyType) {
|
|
141325
|
+
case "WORK_ID":
|
|
141326
|
+
case 0:
|
|
141327
|
+
message.keyType = 0;
|
|
141328
|
+
break;
|
|
141329
|
+
case "WORK_EMAIL":
|
|
141330
|
+
case 1:
|
|
141331
|
+
message.keyType = 1;
|
|
141332
|
+
break;
|
|
141333
|
+
}
|
|
141334
|
+
if (object.firstName != null)
|
|
141335
|
+
message.firstName = String(object.firstName);
|
|
141336
|
+
if (object.lastName != null)
|
|
141337
|
+
message.lastName = String(object.lastName);
|
|
141338
|
+
if (object.country != null)
|
|
141339
|
+
message.country = String(object.country);
|
|
141340
|
+
if (object.zipCode != null)
|
|
141341
|
+
message.zipCode = String(object.zipCode);
|
|
141342
|
+
if (object.dob != null)
|
|
141343
|
+
message.dob = String(object.dob);
|
|
141344
|
+
if (object.countryStateCode != null)
|
|
141345
|
+
message.countryStateCode = String(object.countryStateCode);
|
|
141346
|
+
if (object.streetAddress_1 != null)
|
|
141347
|
+
message.streetAddress_1 = String(object.streetAddress_1);
|
|
141348
|
+
if (object.streetAddress_2 != null)
|
|
141349
|
+
message.streetAddress_2 = String(object.streetAddress_2);
|
|
141350
|
+
if (object.department != null)
|
|
141351
|
+
message.department = String(object.department);
|
|
141352
|
+
if (object.language != null)
|
|
141353
|
+
message.language = String(object.language);
|
|
141354
|
+
if (object.customFields != null)
|
|
141355
|
+
message.customFields = String(object.customFields);
|
|
141356
|
+
if (object.offerings) {
|
|
141357
|
+
if (!Array.isArray(object.offerings))
|
|
141358
|
+
throw TypeError(".ElfRecordPresent.offerings: array expected");
|
|
141359
|
+
message.offerings = [];
|
|
141360
|
+
for (var i = 0; i < object.offerings.length; ++i)
|
|
141361
|
+
switch (object.offerings[i]) {
|
|
141362
|
+
default:
|
|
141363
|
+
case "SUBSCRIPTION_OFFERING_UNKNOWN":
|
|
141364
|
+
case 0:
|
|
141365
|
+
message.offerings[i] = 0;
|
|
141366
|
+
break;
|
|
141367
|
+
case "SUBSCRIPTION_OFFERING_HEADSPACE":
|
|
141368
|
+
case 1:
|
|
141369
|
+
message.offerings[i] = 1;
|
|
141370
|
+
break;
|
|
141371
|
+
case "SUBSCRIPTION_OFFERING_GINGER":
|
|
141372
|
+
case 2:
|
|
141373
|
+
message.offerings[i] = 2;
|
|
141374
|
+
break;
|
|
141375
|
+
}
|
|
141376
|
+
}
|
|
141377
|
+
if (object.rootOrgHeadspaceHealthId != null)
|
|
141378
|
+
message.rootOrgHeadspaceHealthId = String(object.rootOrgHeadspaceHealthId);
|
|
141379
|
+
if (object.rootOrgId != null)
|
|
141380
|
+
message.rootOrgId = String(object.rootOrgId);
|
|
141381
|
+
if (object.isMemberMigrated != null)
|
|
141382
|
+
message.isMemberMigrated = Boolean(object.isMemberMigrated);
|
|
141383
|
+
if (object.priorB2bOrgId != null)
|
|
141384
|
+
message.priorB2bOrgId = String(object.priorB2bOrgId);
|
|
141385
|
+
if (object.location != null)
|
|
141386
|
+
message.location = String(object.location);
|
|
141387
|
+
if (object.dependentOf != null)
|
|
141388
|
+
message.dependentOf = String(object.dependentOf);
|
|
141389
|
+
if (object.isDryRun != null)
|
|
141390
|
+
message.isDryRun = Boolean(object.isDryRun);
|
|
141391
|
+
if (object.gingerShouldProcess != null)
|
|
141392
|
+
message.gingerShouldProcess = Boolean(object.gingerShouldProcess);
|
|
141393
|
+
if (object.headspaceShouldProcess != null)
|
|
141394
|
+
message.headspaceShouldProcess = Boolean(object.headspaceShouldProcess);
|
|
141395
|
+
if (object.unifiedEligibilityEnabled != null)
|
|
141396
|
+
message.unifiedEligibilityEnabled = Boolean(object.unifiedEligibilityEnabled);
|
|
141397
|
+
if (object.collectiveUuid != null)
|
|
141398
|
+
message.collectiveUuid = String(object.collectiveUuid);
|
|
141399
|
+
return message;
|
|
141400
|
+
};
|
|
141401
|
+
|
|
141402
|
+
/**
|
|
141403
|
+
* Creates a plain object from an ElfRecordPresent message. Also converts values to other types if specified.
|
|
141404
|
+
* @function toObject
|
|
141405
|
+
* @memberof ElfRecordPresent
|
|
141406
|
+
* @static
|
|
141407
|
+
* @param {ElfRecordPresent} message ElfRecordPresent
|
|
141408
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
141409
|
+
* @returns {Object.<string,*>} Plain object
|
|
141410
|
+
*/
|
|
141411
|
+
ElfRecordPresent.toObject = function toObject(message, options) {
|
|
141412
|
+
if (!options)
|
|
141413
|
+
options = {};
|
|
141414
|
+
var object = {};
|
|
141415
|
+
if (options.arrays || options.defaults)
|
|
141416
|
+
object.offerings = [];
|
|
141417
|
+
if (options.defaults) {
|
|
141418
|
+
object.headspaceHealthOrgId = "";
|
|
141419
|
+
object.b2bOrgId = "";
|
|
141420
|
+
object.gingerOrgId = "";
|
|
141421
|
+
if ($util.Long) {
|
|
141422
|
+
var long = new $util.Long(0, 0, true);
|
|
141423
|
+
object.fileImportedTimestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
141424
|
+
} else
|
|
141425
|
+
object.fileImportedTimestamp = options.longs === String ? "0" : 0;
|
|
141426
|
+
object.lineNumber = 0;
|
|
141427
|
+
object.workEmail = "";
|
|
141428
|
+
object.workId = "";
|
|
141429
|
+
object.keyType = options.enums === String ? "WORK_ID" : 0;
|
|
141430
|
+
object.firstName = "";
|
|
141431
|
+
object.lastName = "";
|
|
141432
|
+
object.country = "";
|
|
141433
|
+
object.zipCode = "";
|
|
141434
|
+
object.dob = "";
|
|
141435
|
+
object.streetAddress_1 = "";
|
|
141436
|
+
object.streetAddress_2 = "";
|
|
141437
|
+
object.department = "";
|
|
141438
|
+
object.language = "";
|
|
141439
|
+
object.isDryRun = false;
|
|
141440
|
+
object.gingerShouldProcess = false;
|
|
141441
|
+
object.headspaceShouldProcess = false;
|
|
141442
|
+
object.customFields = "";
|
|
141443
|
+
object.unifiedEligibilityEnabled = false;
|
|
141444
|
+
object.rootOrgHeadspaceHealthId = "";
|
|
141445
|
+
object.rootOrgId = "";
|
|
141446
|
+
object.isMemberMigrated = false;
|
|
141447
|
+
object.priorB2bOrgId = "";
|
|
141448
|
+
object.location = "";
|
|
141449
|
+
object.countryStateCode = "";
|
|
141450
|
+
object.dependentOf = "";
|
|
141451
|
+
object.collectiveUuid = "";
|
|
141452
|
+
}
|
|
141453
|
+
if (message.headspaceHealthOrgId != null && message.hasOwnProperty("headspaceHealthOrgId"))
|
|
141454
|
+
object.headspaceHealthOrgId = message.headspaceHealthOrgId;
|
|
141455
|
+
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
141456
|
+
object.b2bOrgId = message.b2bOrgId;
|
|
141457
|
+
if (message.gingerOrgId != null && message.hasOwnProperty("gingerOrgId"))
|
|
141458
|
+
object.gingerOrgId = message.gingerOrgId;
|
|
141459
|
+
if (message.fileImportedTimestamp != null && message.hasOwnProperty("fileImportedTimestamp"))
|
|
141460
|
+
if (typeof message.fileImportedTimestamp === "number")
|
|
141461
|
+
object.fileImportedTimestamp = options.longs === String ? String(message.fileImportedTimestamp) : message.fileImportedTimestamp;
|
|
141462
|
+
else
|
|
141463
|
+
object.fileImportedTimestamp = options.longs === String ? $util.Long.prototype.toString.call(message.fileImportedTimestamp) : options.longs === Number ? new $util.LongBits(message.fileImportedTimestamp.low >>> 0, message.fileImportedTimestamp.high >>> 0).toNumber(true) : message.fileImportedTimestamp;
|
|
141464
|
+
if (message.lineNumber != null && message.hasOwnProperty("lineNumber"))
|
|
141465
|
+
object.lineNumber = message.lineNumber;
|
|
141466
|
+
if (message.workEmail != null && message.hasOwnProperty("workEmail"))
|
|
141467
|
+
object.workEmail = message.workEmail;
|
|
141468
|
+
if (message.workId != null && message.hasOwnProperty("workId"))
|
|
141469
|
+
object.workId = message.workId;
|
|
141470
|
+
if (message.keyType != null && message.hasOwnProperty("keyType"))
|
|
141471
|
+
object.keyType = options.enums === String ? $root.KeyType[message.keyType] : message.keyType;
|
|
141472
|
+
if (message.firstName != null && message.hasOwnProperty("firstName"))
|
|
141473
|
+
object.firstName = message.firstName;
|
|
141474
|
+
if (message.lastName != null && message.hasOwnProperty("lastName"))
|
|
141475
|
+
object.lastName = message.lastName;
|
|
141476
|
+
if (message.country != null && message.hasOwnProperty("country"))
|
|
141477
|
+
object.country = message.country;
|
|
141478
|
+
if (message.zipCode != null && message.hasOwnProperty("zipCode"))
|
|
141479
|
+
object.zipCode = message.zipCode;
|
|
141480
|
+
if (message.dob != null && message.hasOwnProperty("dob"))
|
|
141481
|
+
object.dob = message.dob;
|
|
141482
|
+
if (message.streetAddress_1 != null && message.hasOwnProperty("streetAddress_1"))
|
|
141483
|
+
object.streetAddress_1 = message.streetAddress_1;
|
|
141484
|
+
if (message.streetAddress_2 != null && message.hasOwnProperty("streetAddress_2"))
|
|
141485
|
+
object.streetAddress_2 = message.streetAddress_2;
|
|
141486
|
+
if (message.department != null && message.hasOwnProperty("department"))
|
|
141487
|
+
object.department = message.department;
|
|
141488
|
+
if (message.language != null && message.hasOwnProperty("language"))
|
|
141489
|
+
object.language = message.language;
|
|
141490
|
+
if (message.isDryRun != null && message.hasOwnProperty("isDryRun"))
|
|
141491
|
+
object.isDryRun = message.isDryRun;
|
|
141492
|
+
if (message.gingerShouldProcess != null && message.hasOwnProperty("gingerShouldProcess"))
|
|
141493
|
+
object.gingerShouldProcess = message.gingerShouldProcess;
|
|
141494
|
+
if (message.headspaceShouldProcess != null && message.hasOwnProperty("headspaceShouldProcess"))
|
|
141495
|
+
object.headspaceShouldProcess = message.headspaceShouldProcess;
|
|
141496
|
+
if (message.customFields != null && message.hasOwnProperty("customFields"))
|
|
141497
|
+
object.customFields = message.customFields;
|
|
141498
|
+
if (message.offerings && message.offerings.length) {
|
|
141499
|
+
object.offerings = [];
|
|
141500
|
+
for (var j = 0; j < message.offerings.length; ++j)
|
|
141501
|
+
object.offerings[j] = options.enums === String ? $root.b2b.SubscriptionOffering[message.offerings[j]] : message.offerings[j];
|
|
141502
|
+
}
|
|
141503
|
+
if (message.unifiedEligibilityEnabled != null && message.hasOwnProperty("unifiedEligibilityEnabled"))
|
|
141504
|
+
object.unifiedEligibilityEnabled = message.unifiedEligibilityEnabled;
|
|
141505
|
+
if (message.rootOrgHeadspaceHealthId != null && message.hasOwnProperty("rootOrgHeadspaceHealthId"))
|
|
141506
|
+
object.rootOrgHeadspaceHealthId = message.rootOrgHeadspaceHealthId;
|
|
141507
|
+
if (message.rootOrgId != null && message.hasOwnProperty("rootOrgId"))
|
|
141508
|
+
object.rootOrgId = message.rootOrgId;
|
|
141509
|
+
if (message.isMemberMigrated != null && message.hasOwnProperty("isMemberMigrated"))
|
|
141510
|
+
object.isMemberMigrated = message.isMemberMigrated;
|
|
141511
|
+
if (message.priorB2bOrgId != null && message.hasOwnProperty("priorB2bOrgId"))
|
|
141512
|
+
object.priorB2bOrgId = message.priorB2bOrgId;
|
|
141513
|
+
if (message.location != null && message.hasOwnProperty("location"))
|
|
141514
|
+
object.location = message.location;
|
|
141515
|
+
if (message.countryStateCode != null && message.hasOwnProperty("countryStateCode"))
|
|
141516
|
+
object.countryStateCode = message.countryStateCode;
|
|
141517
|
+
if (message.dependentOf != null && message.hasOwnProperty("dependentOf"))
|
|
141518
|
+
object.dependentOf = message.dependentOf;
|
|
141519
|
+
if (message.collectiveUuid != null && message.hasOwnProperty("collectiveUuid"))
|
|
141520
|
+
object.collectiveUuid = message.collectiveUuid;
|
|
141521
|
+
return object;
|
|
141522
|
+
};
|
|
141523
|
+
|
|
141524
|
+
/**
|
|
141525
|
+
* Converts this ElfRecordPresent to JSON.
|
|
141526
|
+
* @function toJSON
|
|
141527
|
+
* @memberof ElfRecordPresent
|
|
141528
|
+
* @instance
|
|
141529
|
+
* @returns {Object.<string,*>} JSON object
|
|
141530
|
+
*/
|
|
141531
|
+
ElfRecordPresent.prototype.toJSON = function toJSON() {
|
|
141532
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
141533
|
+
};
|
|
141534
|
+
|
|
141535
|
+
return ElfRecordPresent;
|
|
141536
|
+
})();
|
|
141537
|
+
|
|
141538
|
+
$root.ElfRecordAbsent = (function() {
|
|
141539
|
+
|
|
141540
|
+
/**
|
|
141541
|
+
* Properties of an ElfRecordAbsent.
|
|
141542
|
+
* @name IElfRecordAbsent
|
|
141543
|
+
* @interface IElfRecordAbsent
|
|
141544
|
+
* @property {string|null} [headspaceHealthOrgId] ElfRecordAbsent headspaceHealthOrgId
|
|
141545
|
+
* @property {string|null} [b2bOrgId] ElfRecordAbsent b2bOrgId
|
|
141546
|
+
* @property {string|null} [gingerOrgId] ElfRecordAbsent gingerOrgId
|
|
141547
|
+
* @property {number|Long|null} [fileImportedTimestamp] ElfRecordAbsent fileImportedTimestamp
|
|
141548
|
+
* @property {string|null} [workEmail] ElfRecordAbsent workEmail
|
|
141549
|
+
* @property {string|null} [workId] ElfRecordAbsent workId
|
|
141550
|
+
* @property {KeyType|null} [keyType] ElfRecordAbsent keyType
|
|
141551
|
+
* @property {boolean|null} [isDryRun] ElfRecordAbsent isDryRun
|
|
141552
|
+
* @property {boolean|null} [gingerShouldProcess] ElfRecordAbsent gingerShouldProcess
|
|
141553
|
+
* @property {boolean|null} [headspaceShouldProcess] ElfRecordAbsent headspaceShouldProcess
|
|
141554
|
+
* @property {boolean|null} [unifiedEligibilityEnabled] ElfRecordAbsent unifiedEligibilityEnabled
|
|
141555
|
+
* @property {string|null} [rootOrgHeadspaceHealthId] ElfRecordAbsent rootOrgHeadspaceHealthId
|
|
141556
|
+
* @property {string|null} [rootOrgId] ElfRecordAbsent rootOrgId
|
|
141557
|
+
* @property {boolean|null} [isMemberMigrated] ElfRecordAbsent isMemberMigrated
|
|
141558
|
+
* @property {string|null} [collectiveUuid] ElfRecordAbsent collectiveUuid
|
|
141559
|
+
*/
|
|
141560
|
+
|
|
141561
|
+
/**
|
|
141562
|
+
* Constructs a new ElfRecordAbsent.
|
|
141563
|
+
* @name ElfRecordAbsent
|
|
141564
|
+
* @classdesc Represents an ElfRecordAbsent.
|
|
141565
|
+
* @implements IElfRecordAbsent
|
|
141566
|
+
* @constructor
|
|
141567
|
+
* @param {IElfRecordAbsent=} [properties] Properties to set
|
|
141568
|
+
*/
|
|
141569
|
+
function ElfRecordAbsent(properties) {
|
|
141570
|
+
if (properties)
|
|
141571
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
141572
|
+
if (properties[keys[i]] != null)
|
|
141573
|
+
this[keys[i]] = properties[keys[i]];
|
|
141574
|
+
}
|
|
141575
|
+
|
|
141576
|
+
/**
|
|
141577
|
+
* ElfRecordAbsent headspaceHealthOrgId.
|
|
141578
|
+
* @member {string} headspaceHealthOrgId
|
|
141579
|
+
* @memberof ElfRecordAbsent
|
|
141580
|
+
* @instance
|
|
141581
|
+
*/
|
|
141582
|
+
ElfRecordAbsent.prototype.headspaceHealthOrgId = "";
|
|
141583
|
+
|
|
141584
|
+
/**
|
|
141585
|
+
* ElfRecordAbsent b2bOrgId.
|
|
141586
|
+
* @member {string} b2bOrgId
|
|
141587
|
+
* @memberof ElfRecordAbsent
|
|
141588
|
+
* @instance
|
|
141589
|
+
*/
|
|
141590
|
+
ElfRecordAbsent.prototype.b2bOrgId = "";
|
|
141591
|
+
|
|
141592
|
+
/**
|
|
141593
|
+
* ElfRecordAbsent gingerOrgId.
|
|
141594
|
+
* @member {string} gingerOrgId
|
|
141595
|
+
* @memberof ElfRecordAbsent
|
|
140366
141596
|
* @instance
|
|
140367
141597
|
*/
|
|
140368
|
-
|
|
141598
|
+
ElfRecordAbsent.prototype.gingerOrgId = "";
|
|
140369
141599
|
|
|
140370
141600
|
/**
|
|
140371
|
-
*
|
|
140372
|
-
* @member {
|
|
140373
|
-
* @memberof
|
|
141601
|
+
* ElfRecordAbsent fileImportedTimestamp.
|
|
141602
|
+
* @member {number|Long} fileImportedTimestamp
|
|
141603
|
+
* @memberof ElfRecordAbsent
|
|
140374
141604
|
* @instance
|
|
140375
141605
|
*/
|
|
140376
|
-
|
|
141606
|
+
ElfRecordAbsent.prototype.fileImportedTimestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
140377
141607
|
|
|
140378
141608
|
/**
|
|
140379
|
-
*
|
|
140380
|
-
* @member {string}
|
|
140381
|
-
* @memberof
|
|
141609
|
+
* ElfRecordAbsent workEmail.
|
|
141610
|
+
* @member {string} workEmail
|
|
141611
|
+
* @memberof ElfRecordAbsent
|
|
140382
141612
|
* @instance
|
|
140383
141613
|
*/
|
|
140384
|
-
|
|
141614
|
+
ElfRecordAbsent.prototype.workEmail = "";
|
|
140385
141615
|
|
|
140386
141616
|
/**
|
|
140387
|
-
*
|
|
140388
|
-
* @member {string}
|
|
140389
|
-
* @memberof
|
|
141617
|
+
* ElfRecordAbsent workId.
|
|
141618
|
+
* @member {string} workId
|
|
141619
|
+
* @memberof ElfRecordAbsent
|
|
140390
141620
|
* @instance
|
|
140391
141621
|
*/
|
|
140392
|
-
|
|
141622
|
+
ElfRecordAbsent.prototype.workId = "";
|
|
140393
141623
|
|
|
140394
141624
|
/**
|
|
140395
|
-
*
|
|
140396
|
-
* @member {
|
|
140397
|
-
* @memberof
|
|
141625
|
+
* ElfRecordAbsent keyType.
|
|
141626
|
+
* @member {KeyType} keyType
|
|
141627
|
+
* @memberof ElfRecordAbsent
|
|
140398
141628
|
* @instance
|
|
140399
141629
|
*/
|
|
140400
|
-
|
|
141630
|
+
ElfRecordAbsent.prototype.keyType = 0;
|
|
140401
141631
|
|
|
140402
141632
|
/**
|
|
140403
|
-
*
|
|
140404
|
-
* @member {
|
|
140405
|
-
* @memberof
|
|
141633
|
+
* ElfRecordAbsent isDryRun.
|
|
141634
|
+
* @member {boolean} isDryRun
|
|
141635
|
+
* @memberof ElfRecordAbsent
|
|
140406
141636
|
* @instance
|
|
140407
141637
|
*/
|
|
140408
|
-
|
|
141638
|
+
ElfRecordAbsent.prototype.isDryRun = false;
|
|
140409
141639
|
|
|
140410
141640
|
/**
|
|
140411
|
-
*
|
|
140412
|
-
* @member {
|
|
140413
|
-
* @memberof
|
|
141641
|
+
* ElfRecordAbsent gingerShouldProcess.
|
|
141642
|
+
* @member {boolean} gingerShouldProcess
|
|
141643
|
+
* @memberof ElfRecordAbsent
|
|
140414
141644
|
* @instance
|
|
140415
141645
|
*/
|
|
140416
|
-
|
|
141646
|
+
ElfRecordAbsent.prototype.gingerShouldProcess = false;
|
|
140417
141647
|
|
|
140418
141648
|
/**
|
|
140419
|
-
*
|
|
140420
|
-
* @member {
|
|
140421
|
-
* @memberof
|
|
141649
|
+
* ElfRecordAbsent headspaceShouldProcess.
|
|
141650
|
+
* @member {boolean} headspaceShouldProcess
|
|
141651
|
+
* @memberof ElfRecordAbsent
|
|
140422
141652
|
* @instance
|
|
140423
141653
|
*/
|
|
140424
|
-
|
|
141654
|
+
ElfRecordAbsent.prototype.headspaceShouldProcess = false;
|
|
140425
141655
|
|
|
140426
141656
|
/**
|
|
140427
|
-
*
|
|
140428
|
-
* @member {boolean}
|
|
140429
|
-
* @memberof
|
|
141657
|
+
* ElfRecordAbsent unifiedEligibilityEnabled.
|
|
141658
|
+
* @member {boolean} unifiedEligibilityEnabled
|
|
141659
|
+
* @memberof ElfRecordAbsent
|
|
140430
141660
|
* @instance
|
|
140431
141661
|
*/
|
|
140432
|
-
|
|
141662
|
+
ElfRecordAbsent.prototype.unifiedEligibilityEnabled = false;
|
|
140433
141663
|
|
|
140434
141664
|
/**
|
|
140435
|
-
*
|
|
140436
|
-
* @member {
|
|
140437
|
-
* @memberof
|
|
141665
|
+
* ElfRecordAbsent rootOrgHeadspaceHealthId.
|
|
141666
|
+
* @member {string} rootOrgHeadspaceHealthId
|
|
141667
|
+
* @memberof ElfRecordAbsent
|
|
140438
141668
|
* @instance
|
|
140439
141669
|
*/
|
|
140440
|
-
|
|
141670
|
+
ElfRecordAbsent.prototype.rootOrgHeadspaceHealthId = "";
|
|
140441
141671
|
|
|
140442
141672
|
/**
|
|
140443
|
-
*
|
|
140444
|
-
* @member {
|
|
140445
|
-
* @memberof
|
|
141673
|
+
* ElfRecordAbsent rootOrgId.
|
|
141674
|
+
* @member {string} rootOrgId
|
|
141675
|
+
* @memberof ElfRecordAbsent
|
|
140446
141676
|
* @instance
|
|
140447
141677
|
*/
|
|
140448
|
-
|
|
141678
|
+
ElfRecordAbsent.prototype.rootOrgId = "";
|
|
140449
141679
|
|
|
140450
141680
|
/**
|
|
140451
|
-
*
|
|
140452
|
-
* @member {boolean}
|
|
140453
|
-
* @memberof
|
|
141681
|
+
* ElfRecordAbsent isMemberMigrated.
|
|
141682
|
+
* @member {boolean} isMemberMigrated
|
|
141683
|
+
* @memberof ElfRecordAbsent
|
|
140454
141684
|
* @instance
|
|
140455
141685
|
*/
|
|
140456
|
-
|
|
141686
|
+
ElfRecordAbsent.prototype.isMemberMigrated = false;
|
|
140457
141687
|
|
|
140458
141688
|
/**
|
|
140459
|
-
*
|
|
141689
|
+
* ElfRecordAbsent collectiveUuid.
|
|
140460
141690
|
* @member {string} collectiveUuid
|
|
140461
|
-
* @memberof
|
|
141691
|
+
* @memberof ElfRecordAbsent
|
|
140462
141692
|
* @instance
|
|
140463
141693
|
*/
|
|
140464
|
-
|
|
141694
|
+
ElfRecordAbsent.prototype.collectiveUuid = "";
|
|
140465
141695
|
|
|
140466
141696
|
/**
|
|
140467
|
-
* Creates a new
|
|
141697
|
+
* Creates a new ElfRecordAbsent instance using the specified properties.
|
|
140468
141698
|
* @function create
|
|
140469
|
-
* @memberof
|
|
141699
|
+
* @memberof ElfRecordAbsent
|
|
140470
141700
|
* @static
|
|
140471
|
-
* @param {
|
|
140472
|
-
* @returns {
|
|
141701
|
+
* @param {IElfRecordAbsent=} [properties] Properties to set
|
|
141702
|
+
* @returns {ElfRecordAbsent} ElfRecordAbsent instance
|
|
140473
141703
|
*/
|
|
140474
|
-
|
|
140475
|
-
return new
|
|
141704
|
+
ElfRecordAbsent.create = function create(properties) {
|
|
141705
|
+
return new ElfRecordAbsent(properties);
|
|
140476
141706
|
};
|
|
140477
141707
|
|
|
140478
141708
|
/**
|
|
140479
|
-
* Encodes the specified
|
|
141709
|
+
* Encodes the specified ElfRecordAbsent message. Does not implicitly {@link ElfRecordAbsent.verify|verify} messages.
|
|
140480
141710
|
* @function encode
|
|
140481
|
-
* @memberof
|
|
141711
|
+
* @memberof ElfRecordAbsent
|
|
140482
141712
|
* @static
|
|
140483
|
-
* @param {
|
|
141713
|
+
* @param {IElfRecordAbsent} message ElfRecordAbsent message or plain object to encode
|
|
140484
141714
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
140485
141715
|
* @returns {$protobuf.Writer} Writer
|
|
140486
141716
|
*/
|
|
140487
|
-
|
|
141717
|
+
ElfRecordAbsent.encode = function encode(message, writer) {
|
|
140488
141718
|
if (!writer)
|
|
140489
141719
|
writer = $Writer.create();
|
|
140490
141720
|
if (message.headspaceHealthOrgId != null && message.hasOwnProperty("headspaceHealthOrgId"))
|
|
@@ -140495,95 +141725,59 @@ $root.ElfRecordPresent = (function() {
|
|
|
140495
141725
|
writer.uint32(/* id 3, wireType 2 =*/26).string(message.gingerOrgId);
|
|
140496
141726
|
if (message.fileImportedTimestamp != null && message.hasOwnProperty("fileImportedTimestamp"))
|
|
140497
141727
|
writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.fileImportedTimestamp);
|
|
140498
|
-
if (message.lineNumber != null && message.hasOwnProperty("lineNumber"))
|
|
140499
|
-
writer.uint32(/* id 5, wireType 0 =*/40).int32(message.lineNumber);
|
|
140500
141728
|
if (message.workEmail != null && message.hasOwnProperty("workEmail"))
|
|
140501
|
-
writer.uint32(/* id
|
|
141729
|
+
writer.uint32(/* id 5, wireType 2 =*/42).string(message.workEmail);
|
|
140502
141730
|
if (message.workId != null && message.hasOwnProperty("workId"))
|
|
140503
|
-
writer.uint32(/* id
|
|
141731
|
+
writer.uint32(/* id 6, wireType 2 =*/50).string(message.workId);
|
|
140504
141732
|
if (message.keyType != null && message.hasOwnProperty("keyType"))
|
|
140505
|
-
writer.uint32(/* id
|
|
140506
|
-
if (message.firstName != null && message.hasOwnProperty("firstName"))
|
|
140507
|
-
writer.uint32(/* id 9, wireType 2 =*/74).string(message.firstName);
|
|
140508
|
-
if (message.lastName != null && message.hasOwnProperty("lastName"))
|
|
140509
|
-
writer.uint32(/* id 10, wireType 2 =*/82).string(message.lastName);
|
|
140510
|
-
if (message.country != null && message.hasOwnProperty("country"))
|
|
140511
|
-
writer.uint32(/* id 11, wireType 2 =*/90).string(message.country);
|
|
140512
|
-
if (message.zipCode != null && message.hasOwnProperty("zipCode"))
|
|
140513
|
-
writer.uint32(/* id 12, wireType 2 =*/98).string(message.zipCode);
|
|
140514
|
-
if (message.dob != null && message.hasOwnProperty("dob"))
|
|
140515
|
-
writer.uint32(/* id 13, wireType 2 =*/106).string(message.dob);
|
|
140516
|
-
if (message.streetAddress_1 != null && message.hasOwnProperty("streetAddress_1"))
|
|
140517
|
-
writer.uint32(/* id 14, wireType 2 =*/114).string(message.streetAddress_1);
|
|
140518
|
-
if (message.streetAddress_2 != null && message.hasOwnProperty("streetAddress_2"))
|
|
140519
|
-
writer.uint32(/* id 15, wireType 2 =*/122).string(message.streetAddress_2);
|
|
140520
|
-
if (message.department != null && message.hasOwnProperty("department"))
|
|
140521
|
-
writer.uint32(/* id 16, wireType 2 =*/130).string(message.department);
|
|
140522
|
-
if (message.language != null && message.hasOwnProperty("language"))
|
|
140523
|
-
writer.uint32(/* id 17, wireType 2 =*/138).string(message.language);
|
|
141733
|
+
writer.uint32(/* id 7, wireType 0 =*/56).int32(message.keyType);
|
|
140524
141734
|
if (message.isDryRun != null && message.hasOwnProperty("isDryRun"))
|
|
140525
|
-
writer.uint32(/* id
|
|
141735
|
+
writer.uint32(/* id 8, wireType 0 =*/64).bool(message.isDryRun);
|
|
140526
141736
|
if (message.gingerShouldProcess != null && message.hasOwnProperty("gingerShouldProcess"))
|
|
140527
|
-
writer.uint32(/* id
|
|
141737
|
+
writer.uint32(/* id 9, wireType 0 =*/72).bool(message.gingerShouldProcess);
|
|
140528
141738
|
if (message.headspaceShouldProcess != null && message.hasOwnProperty("headspaceShouldProcess"))
|
|
140529
|
-
writer.uint32(/* id
|
|
140530
|
-
if (message.customFields != null && message.hasOwnProperty("customFields"))
|
|
140531
|
-
writer.uint32(/* id 21, wireType 2 =*/170).string(message.customFields);
|
|
140532
|
-
if (message.offerings != null && message.offerings.length) {
|
|
140533
|
-
writer.uint32(/* id 22, wireType 2 =*/178).fork();
|
|
140534
|
-
for (var i = 0; i < message.offerings.length; ++i)
|
|
140535
|
-
writer.int32(message.offerings[i]);
|
|
140536
|
-
writer.ldelim();
|
|
140537
|
-
}
|
|
141739
|
+
writer.uint32(/* id 10, wireType 0 =*/80).bool(message.headspaceShouldProcess);
|
|
140538
141740
|
if (message.unifiedEligibilityEnabled != null && message.hasOwnProperty("unifiedEligibilityEnabled"))
|
|
140539
|
-
writer.uint32(/* id
|
|
141741
|
+
writer.uint32(/* id 11, wireType 0 =*/88).bool(message.unifiedEligibilityEnabled);
|
|
140540
141742
|
if (message.rootOrgHeadspaceHealthId != null && message.hasOwnProperty("rootOrgHeadspaceHealthId"))
|
|
140541
|
-
writer.uint32(/* id
|
|
141743
|
+
writer.uint32(/* id 12, wireType 2 =*/98).string(message.rootOrgHeadspaceHealthId);
|
|
140542
141744
|
if (message.rootOrgId != null && message.hasOwnProperty("rootOrgId"))
|
|
140543
|
-
writer.uint32(/* id
|
|
141745
|
+
writer.uint32(/* id 13, wireType 2 =*/106).string(message.rootOrgId);
|
|
140544
141746
|
if (message.isMemberMigrated != null && message.hasOwnProperty("isMemberMigrated"))
|
|
140545
|
-
writer.uint32(/* id
|
|
140546
|
-
if (message.priorB2bOrgId != null && message.hasOwnProperty("priorB2bOrgId"))
|
|
140547
|
-
writer.uint32(/* id 27, wireType 2 =*/218).string(message.priorB2bOrgId);
|
|
140548
|
-
if (message.location != null && message.hasOwnProperty("location"))
|
|
140549
|
-
writer.uint32(/* id 28, wireType 2 =*/226).string(message.location);
|
|
140550
|
-
if (message.countryStateCode != null && message.hasOwnProperty("countryStateCode"))
|
|
140551
|
-
writer.uint32(/* id 29, wireType 2 =*/234).string(message.countryStateCode);
|
|
140552
|
-
if (message.dependentOf != null && message.hasOwnProperty("dependentOf"))
|
|
140553
|
-
writer.uint32(/* id 30, wireType 2 =*/242).string(message.dependentOf);
|
|
141747
|
+
writer.uint32(/* id 14, wireType 0 =*/112).bool(message.isMemberMigrated);
|
|
140554
141748
|
if (message.collectiveUuid != null && message.hasOwnProperty("collectiveUuid"))
|
|
140555
|
-
writer.uint32(/* id
|
|
141749
|
+
writer.uint32(/* id 16, wireType 2 =*/130).string(message.collectiveUuid);
|
|
140556
141750
|
return writer;
|
|
140557
141751
|
};
|
|
140558
141752
|
|
|
140559
141753
|
/**
|
|
140560
|
-
* Encodes the specified
|
|
141754
|
+
* Encodes the specified ElfRecordAbsent message, length delimited. Does not implicitly {@link ElfRecordAbsent.verify|verify} messages.
|
|
140561
141755
|
* @function encodeDelimited
|
|
140562
|
-
* @memberof
|
|
141756
|
+
* @memberof ElfRecordAbsent
|
|
140563
141757
|
* @static
|
|
140564
|
-
* @param {
|
|
141758
|
+
* @param {IElfRecordAbsent} message ElfRecordAbsent message or plain object to encode
|
|
140565
141759
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
140566
141760
|
* @returns {$protobuf.Writer} Writer
|
|
140567
141761
|
*/
|
|
140568
|
-
|
|
141762
|
+
ElfRecordAbsent.encodeDelimited = function encodeDelimited(message, writer) {
|
|
140569
141763
|
return this.encode(message, writer).ldelim();
|
|
140570
141764
|
};
|
|
140571
141765
|
|
|
140572
141766
|
/**
|
|
140573
|
-
* Decodes an
|
|
141767
|
+
* Decodes an ElfRecordAbsent message from the specified reader or buffer.
|
|
140574
141768
|
* @function decode
|
|
140575
|
-
* @memberof
|
|
141769
|
+
* @memberof ElfRecordAbsent
|
|
140576
141770
|
* @static
|
|
140577
141771
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
140578
141772
|
* @param {number} [length] Message length if known beforehand
|
|
140579
|
-
* @returns {
|
|
141773
|
+
* @returns {ElfRecordAbsent} ElfRecordAbsent
|
|
140580
141774
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
140581
141775
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
140582
141776
|
*/
|
|
140583
|
-
|
|
141777
|
+
ElfRecordAbsent.decode = function decode(reader, length) {
|
|
140584
141778
|
if (!(reader instanceof $Reader))
|
|
140585
141779
|
reader = $Reader.create(reader);
|
|
140586
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.
|
|
141780
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ElfRecordAbsent();
|
|
140587
141781
|
while (reader.pos < end) {
|
|
140588
141782
|
var tag = reader.uint32();
|
|
140589
141783
|
switch (tag >>> 3) {
|
|
@@ -140596,95 +141790,40 @@ $root.ElfRecordPresent = (function() {
|
|
|
140596
141790
|
case 3:
|
|
140597
141791
|
message.gingerOrgId = reader.string();
|
|
140598
141792
|
break;
|
|
140599
|
-
case 4:
|
|
140600
|
-
message.fileImportedTimestamp = reader.uint64();
|
|
140601
|
-
break;
|
|
140602
|
-
case 5:
|
|
140603
|
-
message.lineNumber = reader.int32();
|
|
140604
|
-
break;
|
|
140605
|
-
case 6:
|
|
140606
|
-
message.workEmail = reader.string();
|
|
140607
|
-
break;
|
|
140608
|
-
case 7:
|
|
140609
|
-
message.workId = reader.string();
|
|
140610
|
-
break;
|
|
140611
|
-
case 8:
|
|
140612
|
-
message.keyType = reader.int32();
|
|
140613
|
-
break;
|
|
140614
|
-
case 9:
|
|
140615
|
-
message.firstName = reader.string();
|
|
140616
|
-
break;
|
|
140617
|
-
case 10:
|
|
140618
|
-
message.lastName = reader.string();
|
|
140619
|
-
break;
|
|
140620
|
-
case 11:
|
|
140621
|
-
message.country = reader.string();
|
|
140622
|
-
break;
|
|
140623
|
-
case 12:
|
|
140624
|
-
message.zipCode = reader.string();
|
|
140625
|
-
break;
|
|
140626
|
-
case 13:
|
|
140627
|
-
message.dob = reader.string();
|
|
140628
|
-
break;
|
|
140629
|
-
case 29:
|
|
140630
|
-
message.countryStateCode = reader.string();
|
|
140631
|
-
break;
|
|
140632
|
-
case 14:
|
|
140633
|
-
message.streetAddress_1 = reader.string();
|
|
140634
|
-
break;
|
|
140635
|
-
case 15:
|
|
140636
|
-
message.streetAddress_2 = reader.string();
|
|
140637
|
-
break;
|
|
140638
|
-
case 16:
|
|
140639
|
-
message.department = reader.string();
|
|
140640
|
-
break;
|
|
140641
|
-
case 17:
|
|
140642
|
-
message.language = reader.string();
|
|
140643
|
-
break;
|
|
140644
|
-
case 21:
|
|
140645
|
-
message.customFields = reader.string();
|
|
140646
|
-
break;
|
|
140647
|
-
case 22:
|
|
140648
|
-
if (!(message.offerings && message.offerings.length))
|
|
140649
|
-
message.offerings = [];
|
|
140650
|
-
if ((tag & 7) === 2) {
|
|
140651
|
-
var end2 = reader.uint32() + reader.pos;
|
|
140652
|
-
while (reader.pos < end2)
|
|
140653
|
-
message.offerings.push(reader.int32());
|
|
140654
|
-
} else
|
|
140655
|
-
message.offerings.push(reader.int32());
|
|
140656
|
-
break;
|
|
140657
|
-
case 24:
|
|
140658
|
-
message.rootOrgHeadspaceHealthId = reader.string();
|
|
140659
|
-
break;
|
|
140660
|
-
case 25:
|
|
140661
|
-
message.rootOrgId = reader.string();
|
|
140662
|
-
break;
|
|
140663
|
-
case 26:
|
|
140664
|
-
message.isMemberMigrated = reader.bool();
|
|
141793
|
+
case 4:
|
|
141794
|
+
message.fileImportedTimestamp = reader.uint64();
|
|
140665
141795
|
break;
|
|
140666
|
-
case
|
|
140667
|
-
message.
|
|
141796
|
+
case 5:
|
|
141797
|
+
message.workEmail = reader.string();
|
|
140668
141798
|
break;
|
|
140669
|
-
case
|
|
140670
|
-
message.
|
|
141799
|
+
case 6:
|
|
141800
|
+
message.workId = reader.string();
|
|
140671
141801
|
break;
|
|
140672
|
-
case
|
|
140673
|
-
message.
|
|
141802
|
+
case 7:
|
|
141803
|
+
message.keyType = reader.int32();
|
|
140674
141804
|
break;
|
|
140675
|
-
case
|
|
141805
|
+
case 8:
|
|
140676
141806
|
message.isDryRun = reader.bool();
|
|
140677
141807
|
break;
|
|
140678
|
-
case
|
|
141808
|
+
case 9:
|
|
140679
141809
|
message.gingerShouldProcess = reader.bool();
|
|
140680
141810
|
break;
|
|
140681
|
-
case
|
|
141811
|
+
case 10:
|
|
140682
141812
|
message.headspaceShouldProcess = reader.bool();
|
|
140683
141813
|
break;
|
|
140684
|
-
case
|
|
141814
|
+
case 11:
|
|
140685
141815
|
message.unifiedEligibilityEnabled = reader.bool();
|
|
140686
141816
|
break;
|
|
140687
|
-
case
|
|
141817
|
+
case 12:
|
|
141818
|
+
message.rootOrgHeadspaceHealthId = reader.string();
|
|
141819
|
+
break;
|
|
141820
|
+
case 13:
|
|
141821
|
+
message.rootOrgId = reader.string();
|
|
141822
|
+
break;
|
|
141823
|
+
case 14:
|
|
141824
|
+
message.isMemberMigrated = reader.bool();
|
|
141825
|
+
break;
|
|
141826
|
+
case 16:
|
|
140688
141827
|
message.collectiveUuid = reader.string();
|
|
140689
141828
|
break;
|
|
140690
141829
|
default:
|
|
@@ -140696,30 +141835,30 @@ $root.ElfRecordPresent = (function() {
|
|
|
140696
141835
|
};
|
|
140697
141836
|
|
|
140698
141837
|
/**
|
|
140699
|
-
* Decodes an
|
|
141838
|
+
* Decodes an ElfRecordAbsent message from the specified reader or buffer, length delimited.
|
|
140700
141839
|
* @function decodeDelimited
|
|
140701
|
-
* @memberof
|
|
141840
|
+
* @memberof ElfRecordAbsent
|
|
140702
141841
|
* @static
|
|
140703
141842
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
140704
|
-
* @returns {
|
|
141843
|
+
* @returns {ElfRecordAbsent} ElfRecordAbsent
|
|
140705
141844
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
140706
141845
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
140707
141846
|
*/
|
|
140708
|
-
|
|
141847
|
+
ElfRecordAbsent.decodeDelimited = function decodeDelimited(reader) {
|
|
140709
141848
|
if (!(reader instanceof $Reader))
|
|
140710
141849
|
reader = new $Reader(reader);
|
|
140711
141850
|
return this.decode(reader, reader.uint32());
|
|
140712
141851
|
};
|
|
140713
141852
|
|
|
140714
141853
|
/**
|
|
140715
|
-
* Verifies an
|
|
141854
|
+
* Verifies an ElfRecordAbsent message.
|
|
140716
141855
|
* @function verify
|
|
140717
|
-
* @memberof
|
|
141856
|
+
* @memberof ElfRecordAbsent
|
|
140718
141857
|
* @static
|
|
140719
141858
|
* @param {Object.<string,*>} message Plain object to verify
|
|
140720
141859
|
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
140721
141860
|
*/
|
|
140722
|
-
|
|
141861
|
+
ElfRecordAbsent.verify = function verify(message) {
|
|
140723
141862
|
if (typeof message !== "object" || message === null)
|
|
140724
141863
|
return "object expected";
|
|
140725
141864
|
if (message.headspaceHealthOrgId != null && message.hasOwnProperty("headspaceHealthOrgId"))
|
|
@@ -140734,9 +141873,6 @@ $root.ElfRecordPresent = (function() {
|
|
|
140734
141873
|
if (message.fileImportedTimestamp != null && message.hasOwnProperty("fileImportedTimestamp"))
|
|
140735
141874
|
if (!$util.isInteger(message.fileImportedTimestamp) && !(message.fileImportedTimestamp && $util.isInteger(message.fileImportedTimestamp.low) && $util.isInteger(message.fileImportedTimestamp.high)))
|
|
140736
141875
|
return "fileImportedTimestamp: integer|Long expected";
|
|
140737
|
-
if (message.lineNumber != null && message.hasOwnProperty("lineNumber"))
|
|
140738
|
-
if (!$util.isInteger(message.lineNumber))
|
|
140739
|
-
return "lineNumber: integer expected";
|
|
140740
141876
|
if (message.workEmail != null && message.hasOwnProperty("workEmail"))
|
|
140741
141877
|
if (!$util.isString(message.workEmail))
|
|
140742
141878
|
return "workEmail: string expected";
|
|
@@ -140751,70 +141887,6 @@ $root.ElfRecordPresent = (function() {
|
|
|
140751
141887
|
case 1:
|
|
140752
141888
|
break;
|
|
140753
141889
|
}
|
|
140754
|
-
if (message.firstName != null && message.hasOwnProperty("firstName"))
|
|
140755
|
-
if (!$util.isString(message.firstName))
|
|
140756
|
-
return "firstName: string expected";
|
|
140757
|
-
if (message.lastName != null && message.hasOwnProperty("lastName"))
|
|
140758
|
-
if (!$util.isString(message.lastName))
|
|
140759
|
-
return "lastName: string expected";
|
|
140760
|
-
if (message.country != null && message.hasOwnProperty("country"))
|
|
140761
|
-
if (!$util.isString(message.country))
|
|
140762
|
-
return "country: string expected";
|
|
140763
|
-
if (message.zipCode != null && message.hasOwnProperty("zipCode"))
|
|
140764
|
-
if (!$util.isString(message.zipCode))
|
|
140765
|
-
return "zipCode: string expected";
|
|
140766
|
-
if (message.dob != null && message.hasOwnProperty("dob"))
|
|
140767
|
-
if (!$util.isString(message.dob))
|
|
140768
|
-
return "dob: string expected";
|
|
140769
|
-
if (message.countryStateCode != null && message.hasOwnProperty("countryStateCode"))
|
|
140770
|
-
if (!$util.isString(message.countryStateCode))
|
|
140771
|
-
return "countryStateCode: string expected";
|
|
140772
|
-
if (message.streetAddress_1 != null && message.hasOwnProperty("streetAddress_1"))
|
|
140773
|
-
if (!$util.isString(message.streetAddress_1))
|
|
140774
|
-
return "streetAddress_1: string expected";
|
|
140775
|
-
if (message.streetAddress_2 != null && message.hasOwnProperty("streetAddress_2"))
|
|
140776
|
-
if (!$util.isString(message.streetAddress_2))
|
|
140777
|
-
return "streetAddress_2: string expected";
|
|
140778
|
-
if (message.department != null && message.hasOwnProperty("department"))
|
|
140779
|
-
if (!$util.isString(message.department))
|
|
140780
|
-
return "department: string expected";
|
|
140781
|
-
if (message.language != null && message.hasOwnProperty("language"))
|
|
140782
|
-
if (!$util.isString(message.language))
|
|
140783
|
-
return "language: string expected";
|
|
140784
|
-
if (message.customFields != null && message.hasOwnProperty("customFields"))
|
|
140785
|
-
if (!$util.isString(message.customFields))
|
|
140786
|
-
return "customFields: string expected";
|
|
140787
|
-
if (message.offerings != null && message.hasOwnProperty("offerings")) {
|
|
140788
|
-
if (!Array.isArray(message.offerings))
|
|
140789
|
-
return "offerings: array expected";
|
|
140790
|
-
for (var i = 0; i < message.offerings.length; ++i)
|
|
140791
|
-
switch (message.offerings[i]) {
|
|
140792
|
-
default:
|
|
140793
|
-
return "offerings: enum value[] expected";
|
|
140794
|
-
case 0:
|
|
140795
|
-
case 1:
|
|
140796
|
-
case 2:
|
|
140797
|
-
break;
|
|
140798
|
-
}
|
|
140799
|
-
}
|
|
140800
|
-
if (message.rootOrgHeadspaceHealthId != null && message.hasOwnProperty("rootOrgHeadspaceHealthId"))
|
|
140801
|
-
if (!$util.isString(message.rootOrgHeadspaceHealthId))
|
|
140802
|
-
return "rootOrgHeadspaceHealthId: string expected";
|
|
140803
|
-
if (message.rootOrgId != null && message.hasOwnProperty("rootOrgId"))
|
|
140804
|
-
if (!$util.isString(message.rootOrgId))
|
|
140805
|
-
return "rootOrgId: string expected";
|
|
140806
|
-
if (message.isMemberMigrated != null && message.hasOwnProperty("isMemberMigrated"))
|
|
140807
|
-
if (typeof message.isMemberMigrated !== "boolean")
|
|
140808
|
-
return "isMemberMigrated: boolean expected";
|
|
140809
|
-
if (message.priorB2bOrgId != null && message.hasOwnProperty("priorB2bOrgId"))
|
|
140810
|
-
if (!$util.isString(message.priorB2bOrgId))
|
|
140811
|
-
return "priorB2bOrgId: string expected";
|
|
140812
|
-
if (message.location != null && message.hasOwnProperty("location"))
|
|
140813
|
-
if (!$util.isString(message.location))
|
|
140814
|
-
return "location: string expected";
|
|
140815
|
-
if (message.dependentOf != null && message.hasOwnProperty("dependentOf"))
|
|
140816
|
-
if (!$util.isString(message.dependentOf))
|
|
140817
|
-
return "dependentOf: string expected";
|
|
140818
141890
|
if (message.isDryRun != null && message.hasOwnProperty("isDryRun"))
|
|
140819
141891
|
if (typeof message.isDryRun !== "boolean")
|
|
140820
141892
|
return "isDryRun: boolean expected";
|
|
@@ -140827,6 +141899,15 @@ $root.ElfRecordPresent = (function() {
|
|
|
140827
141899
|
if (message.unifiedEligibilityEnabled != null && message.hasOwnProperty("unifiedEligibilityEnabled"))
|
|
140828
141900
|
if (typeof message.unifiedEligibilityEnabled !== "boolean")
|
|
140829
141901
|
return "unifiedEligibilityEnabled: boolean expected";
|
|
141902
|
+
if (message.rootOrgHeadspaceHealthId != null && message.hasOwnProperty("rootOrgHeadspaceHealthId"))
|
|
141903
|
+
if (!$util.isString(message.rootOrgHeadspaceHealthId))
|
|
141904
|
+
return "rootOrgHeadspaceHealthId: string expected";
|
|
141905
|
+
if (message.rootOrgId != null && message.hasOwnProperty("rootOrgId"))
|
|
141906
|
+
if (!$util.isString(message.rootOrgId))
|
|
141907
|
+
return "rootOrgId: string expected";
|
|
141908
|
+
if (message.isMemberMigrated != null && message.hasOwnProperty("isMemberMigrated"))
|
|
141909
|
+
if (typeof message.isMemberMigrated !== "boolean")
|
|
141910
|
+
return "isMemberMigrated: boolean expected";
|
|
140830
141911
|
if (message.collectiveUuid != null && message.hasOwnProperty("collectiveUuid"))
|
|
140831
141912
|
if (!$util.isString(message.collectiveUuid))
|
|
140832
141913
|
return "collectiveUuid: string expected";
|
|
@@ -140834,17 +141915,17 @@ $root.ElfRecordPresent = (function() {
|
|
|
140834
141915
|
};
|
|
140835
141916
|
|
|
140836
141917
|
/**
|
|
140837
|
-
* Creates an
|
|
141918
|
+
* Creates an ElfRecordAbsent message from a plain object. Also converts values to their respective internal types.
|
|
140838
141919
|
* @function fromObject
|
|
140839
|
-
* @memberof
|
|
141920
|
+
* @memberof ElfRecordAbsent
|
|
140840
141921
|
* @static
|
|
140841
141922
|
* @param {Object.<string,*>} object Plain object
|
|
140842
|
-
* @returns {
|
|
141923
|
+
* @returns {ElfRecordAbsent} ElfRecordAbsent
|
|
140843
141924
|
*/
|
|
140844
|
-
|
|
140845
|
-
if (object instanceof $root.
|
|
141925
|
+
ElfRecordAbsent.fromObject = function fromObject(object) {
|
|
141926
|
+
if (object instanceof $root.ElfRecordAbsent)
|
|
140846
141927
|
return object;
|
|
140847
|
-
var message = new $root.
|
|
141928
|
+
var message = new $root.ElfRecordAbsent();
|
|
140848
141929
|
if (object.headspaceHealthOrgId != null)
|
|
140849
141930
|
message.headspaceHealthOrgId = String(object.headspaceHealthOrgId);
|
|
140850
141931
|
if (object.b2bOrgId != null)
|
|
@@ -140860,8 +141941,6 @@ $root.ElfRecordPresent = (function() {
|
|
|
140860
141941
|
message.fileImportedTimestamp = object.fileImportedTimestamp;
|
|
140861
141942
|
else if (typeof object.fileImportedTimestamp === "object")
|
|
140862
141943
|
message.fileImportedTimestamp = new $util.LongBits(object.fileImportedTimestamp.low >>> 0, object.fileImportedTimestamp.high >>> 0).toNumber(true);
|
|
140863
|
-
if (object.lineNumber != null)
|
|
140864
|
-
message.lineNumber = object.lineNumber | 0;
|
|
140865
141944
|
if (object.workEmail != null)
|
|
140866
141945
|
message.workEmail = String(object.workEmail);
|
|
140867
141946
|
if (object.workId != null)
|
|
@@ -140876,61 +141955,6 @@ $root.ElfRecordPresent = (function() {
|
|
|
140876
141955
|
message.keyType = 1;
|
|
140877
141956
|
break;
|
|
140878
141957
|
}
|
|
140879
|
-
if (object.firstName != null)
|
|
140880
|
-
message.firstName = String(object.firstName);
|
|
140881
|
-
if (object.lastName != null)
|
|
140882
|
-
message.lastName = String(object.lastName);
|
|
140883
|
-
if (object.country != null)
|
|
140884
|
-
message.country = String(object.country);
|
|
140885
|
-
if (object.zipCode != null)
|
|
140886
|
-
message.zipCode = String(object.zipCode);
|
|
140887
|
-
if (object.dob != null)
|
|
140888
|
-
message.dob = String(object.dob);
|
|
140889
|
-
if (object.countryStateCode != null)
|
|
140890
|
-
message.countryStateCode = String(object.countryStateCode);
|
|
140891
|
-
if (object.streetAddress_1 != null)
|
|
140892
|
-
message.streetAddress_1 = String(object.streetAddress_1);
|
|
140893
|
-
if (object.streetAddress_2 != null)
|
|
140894
|
-
message.streetAddress_2 = String(object.streetAddress_2);
|
|
140895
|
-
if (object.department != null)
|
|
140896
|
-
message.department = String(object.department);
|
|
140897
|
-
if (object.language != null)
|
|
140898
|
-
message.language = String(object.language);
|
|
140899
|
-
if (object.customFields != null)
|
|
140900
|
-
message.customFields = String(object.customFields);
|
|
140901
|
-
if (object.offerings) {
|
|
140902
|
-
if (!Array.isArray(object.offerings))
|
|
140903
|
-
throw TypeError(".ElfRecordPresent.offerings: array expected");
|
|
140904
|
-
message.offerings = [];
|
|
140905
|
-
for (var i = 0; i < object.offerings.length; ++i)
|
|
140906
|
-
switch (object.offerings[i]) {
|
|
140907
|
-
default:
|
|
140908
|
-
case "SUBSCRIPTION_OFFERING_UNKNOWN":
|
|
140909
|
-
case 0:
|
|
140910
|
-
message.offerings[i] = 0;
|
|
140911
|
-
break;
|
|
140912
|
-
case "SUBSCRIPTION_OFFERING_HEADSPACE":
|
|
140913
|
-
case 1:
|
|
140914
|
-
message.offerings[i] = 1;
|
|
140915
|
-
break;
|
|
140916
|
-
case "SUBSCRIPTION_OFFERING_GINGER":
|
|
140917
|
-
case 2:
|
|
140918
|
-
message.offerings[i] = 2;
|
|
140919
|
-
break;
|
|
140920
|
-
}
|
|
140921
|
-
}
|
|
140922
|
-
if (object.rootOrgHeadspaceHealthId != null)
|
|
140923
|
-
message.rootOrgHeadspaceHealthId = String(object.rootOrgHeadspaceHealthId);
|
|
140924
|
-
if (object.rootOrgId != null)
|
|
140925
|
-
message.rootOrgId = String(object.rootOrgId);
|
|
140926
|
-
if (object.isMemberMigrated != null)
|
|
140927
|
-
message.isMemberMigrated = Boolean(object.isMemberMigrated);
|
|
140928
|
-
if (object.priorB2bOrgId != null)
|
|
140929
|
-
message.priorB2bOrgId = String(object.priorB2bOrgId);
|
|
140930
|
-
if (object.location != null)
|
|
140931
|
-
message.location = String(object.location);
|
|
140932
|
-
if (object.dependentOf != null)
|
|
140933
|
-
message.dependentOf = String(object.dependentOf);
|
|
140934
141958
|
if (object.isDryRun != null)
|
|
140935
141959
|
message.isDryRun = Boolean(object.isDryRun);
|
|
140936
141960
|
if (object.gingerShouldProcess != null)
|
|
@@ -140939,26 +141963,30 @@ $root.ElfRecordPresent = (function() {
|
|
|
140939
141963
|
message.headspaceShouldProcess = Boolean(object.headspaceShouldProcess);
|
|
140940
141964
|
if (object.unifiedEligibilityEnabled != null)
|
|
140941
141965
|
message.unifiedEligibilityEnabled = Boolean(object.unifiedEligibilityEnabled);
|
|
141966
|
+
if (object.rootOrgHeadspaceHealthId != null)
|
|
141967
|
+
message.rootOrgHeadspaceHealthId = String(object.rootOrgHeadspaceHealthId);
|
|
141968
|
+
if (object.rootOrgId != null)
|
|
141969
|
+
message.rootOrgId = String(object.rootOrgId);
|
|
141970
|
+
if (object.isMemberMigrated != null)
|
|
141971
|
+
message.isMemberMigrated = Boolean(object.isMemberMigrated);
|
|
140942
141972
|
if (object.collectiveUuid != null)
|
|
140943
141973
|
message.collectiveUuid = String(object.collectiveUuid);
|
|
140944
141974
|
return message;
|
|
140945
141975
|
};
|
|
140946
141976
|
|
|
140947
141977
|
/**
|
|
140948
|
-
* Creates a plain object from an
|
|
141978
|
+
* Creates a plain object from an ElfRecordAbsent message. Also converts values to other types if specified.
|
|
140949
141979
|
* @function toObject
|
|
140950
|
-
* @memberof
|
|
141980
|
+
* @memberof ElfRecordAbsent
|
|
140951
141981
|
* @static
|
|
140952
|
-
* @param {
|
|
141982
|
+
* @param {ElfRecordAbsent} message ElfRecordAbsent
|
|
140953
141983
|
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
140954
141984
|
* @returns {Object.<string,*>} Plain object
|
|
140955
141985
|
*/
|
|
140956
|
-
|
|
141986
|
+
ElfRecordAbsent.toObject = function toObject(message, options) {
|
|
140957
141987
|
if (!options)
|
|
140958
141988
|
options = {};
|
|
140959
141989
|
var object = {};
|
|
140960
|
-
if (options.arrays || options.defaults)
|
|
140961
|
-
object.offerings = [];
|
|
140962
141990
|
if (options.defaults) {
|
|
140963
141991
|
object.headspaceHealthOrgId = "";
|
|
140964
141992
|
object.b2bOrgId = "";
|
|
@@ -140968,31 +141996,16 @@ $root.ElfRecordPresent = (function() {
|
|
|
140968
141996
|
object.fileImportedTimestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
140969
141997
|
} else
|
|
140970
141998
|
object.fileImportedTimestamp = options.longs === String ? "0" : 0;
|
|
140971
|
-
object.lineNumber = 0;
|
|
140972
141999
|
object.workEmail = "";
|
|
140973
142000
|
object.workId = "";
|
|
140974
142001
|
object.keyType = options.enums === String ? "WORK_ID" : 0;
|
|
140975
|
-
object.firstName = "";
|
|
140976
|
-
object.lastName = "";
|
|
140977
|
-
object.country = "";
|
|
140978
|
-
object.zipCode = "";
|
|
140979
|
-
object.dob = "";
|
|
140980
|
-
object.streetAddress_1 = "";
|
|
140981
|
-
object.streetAddress_2 = "";
|
|
140982
|
-
object.department = "";
|
|
140983
|
-
object.language = "";
|
|
140984
142002
|
object.isDryRun = false;
|
|
140985
142003
|
object.gingerShouldProcess = false;
|
|
140986
142004
|
object.headspaceShouldProcess = false;
|
|
140987
|
-
object.customFields = "";
|
|
140988
142005
|
object.unifiedEligibilityEnabled = false;
|
|
140989
142006
|
object.rootOrgHeadspaceHealthId = "";
|
|
140990
142007
|
object.rootOrgId = "";
|
|
140991
142008
|
object.isMemberMigrated = false;
|
|
140992
|
-
object.priorB2bOrgId = "";
|
|
140993
|
-
object.location = "";
|
|
140994
|
-
object.countryStateCode = "";
|
|
140995
|
-
object.dependentOf = "";
|
|
140996
142009
|
object.collectiveUuid = "";
|
|
140997
142010
|
}
|
|
140998
142011
|
if (message.headspaceHealthOrgId != null && message.hasOwnProperty("headspaceHealthOrgId"))
|
|
@@ -141001,50 +142014,23 @@ $root.ElfRecordPresent = (function() {
|
|
|
141001
142014
|
object.b2bOrgId = message.b2bOrgId;
|
|
141002
142015
|
if (message.gingerOrgId != null && message.hasOwnProperty("gingerOrgId"))
|
|
141003
142016
|
object.gingerOrgId = message.gingerOrgId;
|
|
141004
|
-
if (message.fileImportedTimestamp != null && message.hasOwnProperty("fileImportedTimestamp"))
|
|
141005
|
-
if (typeof message.fileImportedTimestamp === "number")
|
|
141006
|
-
object.fileImportedTimestamp = options.longs === String ? String(message.fileImportedTimestamp) : message.fileImportedTimestamp;
|
|
141007
|
-
else
|
|
141008
|
-
object.fileImportedTimestamp = options.longs === String ? $util.Long.prototype.toString.call(message.fileImportedTimestamp) : options.longs === Number ? new $util.LongBits(message.fileImportedTimestamp.low >>> 0, message.fileImportedTimestamp.high >>> 0).toNumber(true) : message.fileImportedTimestamp;
|
|
141009
|
-
if (message.
|
|
141010
|
-
object.
|
|
141011
|
-
if (message.
|
|
141012
|
-
object.
|
|
141013
|
-
if (message.
|
|
141014
|
-
object.
|
|
141015
|
-
if (message.keyType != null && message.hasOwnProperty("keyType"))
|
|
141016
|
-
object.keyType = options.enums === String ? $root.KeyType[message.keyType] : message.keyType;
|
|
141017
|
-
if (message.firstName != null && message.hasOwnProperty("firstName"))
|
|
141018
|
-
object.firstName = message.firstName;
|
|
141019
|
-
if (message.lastName != null && message.hasOwnProperty("lastName"))
|
|
141020
|
-
object.lastName = message.lastName;
|
|
141021
|
-
if (message.country != null && message.hasOwnProperty("country"))
|
|
141022
|
-
object.country = message.country;
|
|
141023
|
-
if (message.zipCode != null && message.hasOwnProperty("zipCode"))
|
|
141024
|
-
object.zipCode = message.zipCode;
|
|
141025
|
-
if (message.dob != null && message.hasOwnProperty("dob"))
|
|
141026
|
-
object.dob = message.dob;
|
|
141027
|
-
if (message.streetAddress_1 != null && message.hasOwnProperty("streetAddress_1"))
|
|
141028
|
-
object.streetAddress_1 = message.streetAddress_1;
|
|
141029
|
-
if (message.streetAddress_2 != null && message.hasOwnProperty("streetAddress_2"))
|
|
141030
|
-
object.streetAddress_2 = message.streetAddress_2;
|
|
141031
|
-
if (message.department != null && message.hasOwnProperty("department"))
|
|
141032
|
-
object.department = message.department;
|
|
141033
|
-
if (message.language != null && message.hasOwnProperty("language"))
|
|
141034
|
-
object.language = message.language;
|
|
142017
|
+
if (message.fileImportedTimestamp != null && message.hasOwnProperty("fileImportedTimestamp"))
|
|
142018
|
+
if (typeof message.fileImportedTimestamp === "number")
|
|
142019
|
+
object.fileImportedTimestamp = options.longs === String ? String(message.fileImportedTimestamp) : message.fileImportedTimestamp;
|
|
142020
|
+
else
|
|
142021
|
+
object.fileImportedTimestamp = options.longs === String ? $util.Long.prototype.toString.call(message.fileImportedTimestamp) : options.longs === Number ? new $util.LongBits(message.fileImportedTimestamp.low >>> 0, message.fileImportedTimestamp.high >>> 0).toNumber(true) : message.fileImportedTimestamp;
|
|
142022
|
+
if (message.workEmail != null && message.hasOwnProperty("workEmail"))
|
|
142023
|
+
object.workEmail = message.workEmail;
|
|
142024
|
+
if (message.workId != null && message.hasOwnProperty("workId"))
|
|
142025
|
+
object.workId = message.workId;
|
|
142026
|
+
if (message.keyType != null && message.hasOwnProperty("keyType"))
|
|
142027
|
+
object.keyType = options.enums === String ? $root.KeyType[message.keyType] : message.keyType;
|
|
141035
142028
|
if (message.isDryRun != null && message.hasOwnProperty("isDryRun"))
|
|
141036
142029
|
object.isDryRun = message.isDryRun;
|
|
141037
142030
|
if (message.gingerShouldProcess != null && message.hasOwnProperty("gingerShouldProcess"))
|
|
141038
142031
|
object.gingerShouldProcess = message.gingerShouldProcess;
|
|
141039
142032
|
if (message.headspaceShouldProcess != null && message.hasOwnProperty("headspaceShouldProcess"))
|
|
141040
142033
|
object.headspaceShouldProcess = message.headspaceShouldProcess;
|
|
141041
|
-
if (message.customFields != null && message.hasOwnProperty("customFields"))
|
|
141042
|
-
object.customFields = message.customFields;
|
|
141043
|
-
if (message.offerings && message.offerings.length) {
|
|
141044
|
-
object.offerings = [];
|
|
141045
|
-
for (var j = 0; j < message.offerings.length; ++j)
|
|
141046
|
-
object.offerings[j] = options.enums === String ? $root.b2b.SubscriptionOffering[message.offerings[j]] : message.offerings[j];
|
|
141047
|
-
}
|
|
141048
142034
|
if (message.unifiedEligibilityEnabled != null && message.hasOwnProperty("unifiedEligibilityEnabled"))
|
|
141049
142035
|
object.unifiedEligibilityEnabled = message.unifiedEligibilityEnabled;
|
|
141050
142036
|
if (message.rootOrgHeadspaceHealthId != null && message.hasOwnProperty("rootOrgHeadspaceHealthId"))
|
|
@@ -141053,65 +142039,49 @@ $root.ElfRecordPresent = (function() {
|
|
|
141053
142039
|
object.rootOrgId = message.rootOrgId;
|
|
141054
142040
|
if (message.isMemberMigrated != null && message.hasOwnProperty("isMemberMigrated"))
|
|
141055
142041
|
object.isMemberMigrated = message.isMemberMigrated;
|
|
141056
|
-
if (message.priorB2bOrgId != null && message.hasOwnProperty("priorB2bOrgId"))
|
|
141057
|
-
object.priorB2bOrgId = message.priorB2bOrgId;
|
|
141058
|
-
if (message.location != null && message.hasOwnProperty("location"))
|
|
141059
|
-
object.location = message.location;
|
|
141060
|
-
if (message.countryStateCode != null && message.hasOwnProperty("countryStateCode"))
|
|
141061
|
-
object.countryStateCode = message.countryStateCode;
|
|
141062
|
-
if (message.dependentOf != null && message.hasOwnProperty("dependentOf"))
|
|
141063
|
-
object.dependentOf = message.dependentOf;
|
|
141064
142042
|
if (message.collectiveUuid != null && message.hasOwnProperty("collectiveUuid"))
|
|
141065
142043
|
object.collectiveUuid = message.collectiveUuid;
|
|
141066
142044
|
return object;
|
|
141067
142045
|
};
|
|
141068
142046
|
|
|
141069
142047
|
/**
|
|
141070
|
-
* Converts this
|
|
142048
|
+
* Converts this ElfRecordAbsent to JSON.
|
|
141071
142049
|
* @function toJSON
|
|
141072
|
-
* @memberof
|
|
142050
|
+
* @memberof ElfRecordAbsent
|
|
141073
142051
|
* @instance
|
|
141074
142052
|
* @returns {Object.<string,*>} JSON object
|
|
141075
142053
|
*/
|
|
141076
|
-
|
|
142054
|
+
ElfRecordAbsent.prototype.toJSON = function toJSON() {
|
|
141077
142055
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
141078
142056
|
};
|
|
141079
142057
|
|
|
141080
|
-
return
|
|
142058
|
+
return ElfRecordAbsent;
|
|
141081
142059
|
})();
|
|
141082
142060
|
|
|
141083
|
-
$root.
|
|
142061
|
+
$root.ElfRecordMoved = (function() {
|
|
141084
142062
|
|
|
141085
142063
|
/**
|
|
141086
|
-
* Properties of an
|
|
141087
|
-
* @name
|
|
141088
|
-
* @interface
|
|
141089
|
-
* @property {
|
|
141090
|
-
* @property {
|
|
141091
|
-
* @property {
|
|
141092
|
-
* @property {number|Long|null} [
|
|
141093
|
-
* @property {
|
|
141094
|
-
* @property {
|
|
141095
|
-
* @property {KeyType|null} [keyType] ElfRecordAbsent keyType
|
|
141096
|
-
* @property {boolean|null} [isDryRun] ElfRecordAbsent isDryRun
|
|
141097
|
-
* @property {boolean|null} [gingerShouldProcess] ElfRecordAbsent gingerShouldProcess
|
|
141098
|
-
* @property {boolean|null} [headspaceShouldProcess] ElfRecordAbsent headspaceShouldProcess
|
|
141099
|
-
* @property {boolean|null} [unifiedEligibilityEnabled] ElfRecordAbsent unifiedEligibilityEnabled
|
|
141100
|
-
* @property {string|null} [rootOrgHeadspaceHealthId] ElfRecordAbsent rootOrgHeadspaceHealthId
|
|
141101
|
-
* @property {string|null} [rootOrgId] ElfRecordAbsent rootOrgId
|
|
141102
|
-
* @property {boolean|null} [isMemberMigrated] ElfRecordAbsent isMemberMigrated
|
|
141103
|
-
* @property {string|null} [collectiveUuid] ElfRecordAbsent collectiveUuid
|
|
142064
|
+
* Properties of an ElfRecordMoved.
|
|
142065
|
+
* @name IElfRecordMoved
|
|
142066
|
+
* @interface IElfRecordMoved
|
|
142067
|
+
* @property {IOrganizationIdentifier|null} [sourceOrganization] ElfRecordMoved sourceOrganization
|
|
142068
|
+
* @property {IOrganizationIdentifier|null} [targetOrganization] ElfRecordMoved targetOrganization
|
|
142069
|
+
* @property {IEligibilityRecordIdentifier|null} [record] ElfRecordMoved record
|
|
142070
|
+
* @property {number|Long|null} [timestamp] ElfRecordMoved timestamp
|
|
142071
|
+
* @property {Array.<b2b.SubscriptionOffering>|null} [offerings] ElfRecordMoved offerings
|
|
142072
|
+
* @property {b2b.EnrollmentFlow|null} [enrollmentFlow] ElfRecordMoved enrollmentFlow
|
|
141104
142073
|
*/
|
|
141105
142074
|
|
|
141106
142075
|
/**
|
|
141107
|
-
* Constructs a new
|
|
141108
|
-
* @name
|
|
141109
|
-
* @classdesc Represents an
|
|
141110
|
-
* @implements
|
|
142076
|
+
* Constructs a new ElfRecordMoved.
|
|
142077
|
+
* @name ElfRecordMoved
|
|
142078
|
+
* @classdesc Represents an ElfRecordMoved.
|
|
142079
|
+
* @implements IElfRecordMoved
|
|
141111
142080
|
* @constructor
|
|
141112
|
-
* @param {
|
|
142081
|
+
* @param {IElfRecordMoved=} [properties] Properties to set
|
|
141113
142082
|
*/
|
|
141114
|
-
function
|
|
142083
|
+
function ElfRecordMoved(properties) {
|
|
142084
|
+
this.offerings = [];
|
|
141115
142085
|
if (properties)
|
|
141116
142086
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
141117
142087
|
if (properties[keys[i]] != null)
|
|
@@ -141119,257 +142089,151 @@ $root.ElfRecordAbsent = (function() {
|
|
|
141119
142089
|
}
|
|
141120
142090
|
|
|
141121
142091
|
/**
|
|
141122
|
-
*
|
|
141123
|
-
* @member {
|
|
141124
|
-
* @memberof
|
|
141125
|
-
* @instance
|
|
141126
|
-
*/
|
|
141127
|
-
ElfRecordAbsent.prototype.headspaceHealthOrgId = "";
|
|
141128
|
-
|
|
141129
|
-
/**
|
|
141130
|
-
* ElfRecordAbsent b2bOrgId.
|
|
141131
|
-
* @member {string} b2bOrgId
|
|
141132
|
-
* @memberof ElfRecordAbsent
|
|
141133
|
-
* @instance
|
|
141134
|
-
*/
|
|
141135
|
-
ElfRecordAbsent.prototype.b2bOrgId = "";
|
|
141136
|
-
|
|
141137
|
-
/**
|
|
141138
|
-
* ElfRecordAbsent gingerOrgId.
|
|
141139
|
-
* @member {string} gingerOrgId
|
|
141140
|
-
* @memberof ElfRecordAbsent
|
|
141141
|
-
* @instance
|
|
141142
|
-
*/
|
|
141143
|
-
ElfRecordAbsent.prototype.gingerOrgId = "";
|
|
141144
|
-
|
|
141145
|
-
/**
|
|
141146
|
-
* ElfRecordAbsent fileImportedTimestamp.
|
|
141147
|
-
* @member {number|Long} fileImportedTimestamp
|
|
141148
|
-
* @memberof ElfRecordAbsent
|
|
141149
|
-
* @instance
|
|
141150
|
-
*/
|
|
141151
|
-
ElfRecordAbsent.prototype.fileImportedTimestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
141152
|
-
|
|
141153
|
-
/**
|
|
141154
|
-
* ElfRecordAbsent workEmail.
|
|
141155
|
-
* @member {string} workEmail
|
|
141156
|
-
* @memberof ElfRecordAbsent
|
|
141157
|
-
* @instance
|
|
141158
|
-
*/
|
|
141159
|
-
ElfRecordAbsent.prototype.workEmail = "";
|
|
141160
|
-
|
|
141161
|
-
/**
|
|
141162
|
-
* ElfRecordAbsent workId.
|
|
141163
|
-
* @member {string} workId
|
|
141164
|
-
* @memberof ElfRecordAbsent
|
|
141165
|
-
* @instance
|
|
141166
|
-
*/
|
|
141167
|
-
ElfRecordAbsent.prototype.workId = "";
|
|
141168
|
-
|
|
141169
|
-
/**
|
|
141170
|
-
* ElfRecordAbsent keyType.
|
|
141171
|
-
* @member {KeyType} keyType
|
|
141172
|
-
* @memberof ElfRecordAbsent
|
|
141173
|
-
* @instance
|
|
141174
|
-
*/
|
|
141175
|
-
ElfRecordAbsent.prototype.keyType = 0;
|
|
141176
|
-
|
|
141177
|
-
/**
|
|
141178
|
-
* ElfRecordAbsent isDryRun.
|
|
141179
|
-
* @member {boolean} isDryRun
|
|
141180
|
-
* @memberof ElfRecordAbsent
|
|
141181
|
-
* @instance
|
|
141182
|
-
*/
|
|
141183
|
-
ElfRecordAbsent.prototype.isDryRun = false;
|
|
141184
|
-
|
|
141185
|
-
/**
|
|
141186
|
-
* ElfRecordAbsent gingerShouldProcess.
|
|
141187
|
-
* @member {boolean} gingerShouldProcess
|
|
141188
|
-
* @memberof ElfRecordAbsent
|
|
141189
|
-
* @instance
|
|
141190
|
-
*/
|
|
141191
|
-
ElfRecordAbsent.prototype.gingerShouldProcess = false;
|
|
141192
|
-
|
|
141193
|
-
/**
|
|
141194
|
-
* ElfRecordAbsent headspaceShouldProcess.
|
|
141195
|
-
* @member {boolean} headspaceShouldProcess
|
|
141196
|
-
* @memberof ElfRecordAbsent
|
|
142092
|
+
* ElfRecordMoved sourceOrganization.
|
|
142093
|
+
* @member {IOrganizationIdentifier|null|undefined} sourceOrganization
|
|
142094
|
+
* @memberof ElfRecordMoved
|
|
141197
142095
|
* @instance
|
|
141198
142096
|
*/
|
|
141199
|
-
|
|
142097
|
+
ElfRecordMoved.prototype.sourceOrganization = null;
|
|
141200
142098
|
|
|
141201
142099
|
/**
|
|
141202
|
-
*
|
|
141203
|
-
* @member {
|
|
141204
|
-
* @memberof
|
|
142100
|
+
* ElfRecordMoved targetOrganization.
|
|
142101
|
+
* @member {IOrganizationIdentifier|null|undefined} targetOrganization
|
|
142102
|
+
* @memberof ElfRecordMoved
|
|
141205
142103
|
* @instance
|
|
141206
142104
|
*/
|
|
141207
|
-
|
|
142105
|
+
ElfRecordMoved.prototype.targetOrganization = null;
|
|
141208
142106
|
|
|
141209
142107
|
/**
|
|
141210
|
-
*
|
|
141211
|
-
* @member {
|
|
141212
|
-
* @memberof
|
|
142108
|
+
* ElfRecordMoved record.
|
|
142109
|
+
* @member {IEligibilityRecordIdentifier|null|undefined} record
|
|
142110
|
+
* @memberof ElfRecordMoved
|
|
141213
142111
|
* @instance
|
|
141214
142112
|
*/
|
|
141215
|
-
|
|
142113
|
+
ElfRecordMoved.prototype.record = null;
|
|
141216
142114
|
|
|
141217
142115
|
/**
|
|
141218
|
-
*
|
|
141219
|
-
* @member {
|
|
141220
|
-
* @memberof
|
|
142116
|
+
* ElfRecordMoved timestamp.
|
|
142117
|
+
* @member {number|Long} timestamp
|
|
142118
|
+
* @memberof ElfRecordMoved
|
|
141221
142119
|
* @instance
|
|
141222
142120
|
*/
|
|
141223
|
-
|
|
142121
|
+
ElfRecordMoved.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
141224
142122
|
|
|
141225
142123
|
/**
|
|
141226
|
-
*
|
|
141227
|
-
* @member {
|
|
141228
|
-
* @memberof
|
|
142124
|
+
* ElfRecordMoved offerings.
|
|
142125
|
+
* @member {Array.<b2b.SubscriptionOffering>} offerings
|
|
142126
|
+
* @memberof ElfRecordMoved
|
|
141229
142127
|
* @instance
|
|
141230
142128
|
*/
|
|
141231
|
-
|
|
142129
|
+
ElfRecordMoved.prototype.offerings = $util.emptyArray;
|
|
141232
142130
|
|
|
141233
142131
|
/**
|
|
141234
|
-
*
|
|
141235
|
-
* @member {
|
|
141236
|
-
* @memberof
|
|
142132
|
+
* ElfRecordMoved enrollmentFlow.
|
|
142133
|
+
* @member {b2b.EnrollmentFlow} enrollmentFlow
|
|
142134
|
+
* @memberof ElfRecordMoved
|
|
141237
142135
|
* @instance
|
|
141238
142136
|
*/
|
|
141239
|
-
|
|
142137
|
+
ElfRecordMoved.prototype.enrollmentFlow = 0;
|
|
141240
142138
|
|
|
141241
142139
|
/**
|
|
141242
|
-
* Creates a new
|
|
142140
|
+
* Creates a new ElfRecordMoved instance using the specified properties.
|
|
141243
142141
|
* @function create
|
|
141244
|
-
* @memberof
|
|
142142
|
+
* @memberof ElfRecordMoved
|
|
141245
142143
|
* @static
|
|
141246
|
-
* @param {
|
|
141247
|
-
* @returns {
|
|
142144
|
+
* @param {IElfRecordMoved=} [properties] Properties to set
|
|
142145
|
+
* @returns {ElfRecordMoved} ElfRecordMoved instance
|
|
141248
142146
|
*/
|
|
141249
|
-
|
|
141250
|
-
return new
|
|
142147
|
+
ElfRecordMoved.create = function create(properties) {
|
|
142148
|
+
return new ElfRecordMoved(properties);
|
|
141251
142149
|
};
|
|
141252
142150
|
|
|
141253
142151
|
/**
|
|
141254
|
-
* Encodes the specified
|
|
142152
|
+
* Encodes the specified ElfRecordMoved message. Does not implicitly {@link ElfRecordMoved.verify|verify} messages.
|
|
141255
142153
|
* @function encode
|
|
141256
|
-
* @memberof
|
|
142154
|
+
* @memberof ElfRecordMoved
|
|
141257
142155
|
* @static
|
|
141258
|
-
* @param {
|
|
142156
|
+
* @param {IElfRecordMoved} message ElfRecordMoved message or plain object to encode
|
|
141259
142157
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
141260
142158
|
* @returns {$protobuf.Writer} Writer
|
|
141261
142159
|
*/
|
|
141262
|
-
|
|
142160
|
+
ElfRecordMoved.encode = function encode(message, writer) {
|
|
141263
142161
|
if (!writer)
|
|
141264
142162
|
writer = $Writer.create();
|
|
141265
|
-
if (message.
|
|
141266
|
-
writer.uint32(/* id 1, wireType 2 =*/10).
|
|
141267
|
-
if (message.
|
|
141268
|
-
writer.uint32(/* id 2, wireType 2 =*/18).
|
|
141269
|
-
if (message.
|
|
141270
|
-
writer.uint32(/* id 3, wireType 2 =*/26).
|
|
141271
|
-
if (message.
|
|
141272
|
-
writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.
|
|
141273
|
-
if (message.
|
|
141274
|
-
writer.uint32(/* id 5, wireType 2 =*/42).
|
|
141275
|
-
|
|
141276
|
-
|
|
141277
|
-
|
|
141278
|
-
|
|
141279
|
-
if (message.
|
|
141280
|
-
writer.uint32(/* id
|
|
141281
|
-
if (message.gingerShouldProcess != null && message.hasOwnProperty("gingerShouldProcess"))
|
|
141282
|
-
writer.uint32(/* id 9, wireType 0 =*/72).bool(message.gingerShouldProcess);
|
|
141283
|
-
if (message.headspaceShouldProcess != null && message.hasOwnProperty("headspaceShouldProcess"))
|
|
141284
|
-
writer.uint32(/* id 10, wireType 0 =*/80).bool(message.headspaceShouldProcess);
|
|
141285
|
-
if (message.unifiedEligibilityEnabled != null && message.hasOwnProperty("unifiedEligibilityEnabled"))
|
|
141286
|
-
writer.uint32(/* id 11, wireType 0 =*/88).bool(message.unifiedEligibilityEnabled);
|
|
141287
|
-
if (message.rootOrgHeadspaceHealthId != null && message.hasOwnProperty("rootOrgHeadspaceHealthId"))
|
|
141288
|
-
writer.uint32(/* id 12, wireType 2 =*/98).string(message.rootOrgHeadspaceHealthId);
|
|
141289
|
-
if (message.rootOrgId != null && message.hasOwnProperty("rootOrgId"))
|
|
141290
|
-
writer.uint32(/* id 13, wireType 2 =*/106).string(message.rootOrgId);
|
|
141291
|
-
if (message.isMemberMigrated != null && message.hasOwnProperty("isMemberMigrated"))
|
|
141292
|
-
writer.uint32(/* id 14, wireType 0 =*/112).bool(message.isMemberMigrated);
|
|
141293
|
-
if (message.collectiveUuid != null && message.hasOwnProperty("collectiveUuid"))
|
|
141294
|
-
writer.uint32(/* id 16, wireType 2 =*/130).string(message.collectiveUuid);
|
|
142163
|
+
if (message.sourceOrganization != null && message.hasOwnProperty("sourceOrganization"))
|
|
142164
|
+
$root.OrganizationIdentifier.encode(message.sourceOrganization, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
142165
|
+
if (message.targetOrganization != null && message.hasOwnProperty("targetOrganization"))
|
|
142166
|
+
$root.OrganizationIdentifier.encode(message.targetOrganization, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
142167
|
+
if (message.record != null && message.hasOwnProperty("record"))
|
|
142168
|
+
$root.EligibilityRecordIdentifier.encode(message.record, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
|
|
142169
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
142170
|
+
writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.timestamp);
|
|
142171
|
+
if (message.offerings != null && message.offerings.length) {
|
|
142172
|
+
writer.uint32(/* id 5, wireType 2 =*/42).fork();
|
|
142173
|
+
for (var i = 0; i < message.offerings.length; ++i)
|
|
142174
|
+
writer.int32(message.offerings[i]);
|
|
142175
|
+
writer.ldelim();
|
|
142176
|
+
}
|
|
142177
|
+
if (message.enrollmentFlow != null && message.hasOwnProperty("enrollmentFlow"))
|
|
142178
|
+
writer.uint32(/* id 6, wireType 0 =*/48).int32(message.enrollmentFlow);
|
|
141295
142179
|
return writer;
|
|
141296
142180
|
};
|
|
141297
142181
|
|
|
141298
142182
|
/**
|
|
141299
|
-
* Encodes the specified
|
|
142183
|
+
* Encodes the specified ElfRecordMoved message, length delimited. Does not implicitly {@link ElfRecordMoved.verify|verify} messages.
|
|
141300
142184
|
* @function encodeDelimited
|
|
141301
|
-
* @memberof
|
|
142185
|
+
* @memberof ElfRecordMoved
|
|
141302
142186
|
* @static
|
|
141303
|
-
* @param {
|
|
142187
|
+
* @param {IElfRecordMoved} message ElfRecordMoved message or plain object to encode
|
|
141304
142188
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
141305
142189
|
* @returns {$protobuf.Writer} Writer
|
|
141306
142190
|
*/
|
|
141307
|
-
|
|
142191
|
+
ElfRecordMoved.encodeDelimited = function encodeDelimited(message, writer) {
|
|
141308
142192
|
return this.encode(message, writer).ldelim();
|
|
141309
142193
|
};
|
|
141310
142194
|
|
|
141311
142195
|
/**
|
|
141312
|
-
* Decodes an
|
|
142196
|
+
* Decodes an ElfRecordMoved message from the specified reader or buffer.
|
|
141313
142197
|
* @function decode
|
|
141314
|
-
* @memberof
|
|
142198
|
+
* @memberof ElfRecordMoved
|
|
141315
142199
|
* @static
|
|
141316
142200
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
141317
142201
|
* @param {number} [length] Message length if known beforehand
|
|
141318
|
-
* @returns {
|
|
142202
|
+
* @returns {ElfRecordMoved} ElfRecordMoved
|
|
141319
142203
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
141320
142204
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
141321
142205
|
*/
|
|
141322
|
-
|
|
142206
|
+
ElfRecordMoved.decode = function decode(reader, length) {
|
|
141323
142207
|
if (!(reader instanceof $Reader))
|
|
141324
142208
|
reader = $Reader.create(reader);
|
|
141325
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.
|
|
142209
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ElfRecordMoved();
|
|
141326
142210
|
while (reader.pos < end) {
|
|
141327
142211
|
var tag = reader.uint32();
|
|
141328
142212
|
switch (tag >>> 3) {
|
|
141329
142213
|
case 1:
|
|
141330
|
-
message.
|
|
142214
|
+
message.sourceOrganization = $root.OrganizationIdentifier.decode(reader, reader.uint32());
|
|
141331
142215
|
break;
|
|
141332
142216
|
case 2:
|
|
141333
|
-
message.
|
|
142217
|
+
message.targetOrganization = $root.OrganizationIdentifier.decode(reader, reader.uint32());
|
|
141334
142218
|
break;
|
|
141335
142219
|
case 3:
|
|
141336
|
-
message.
|
|
142220
|
+
message.record = $root.EligibilityRecordIdentifier.decode(reader, reader.uint32());
|
|
141337
142221
|
break;
|
|
141338
142222
|
case 4:
|
|
141339
|
-
message.
|
|
142223
|
+
message.timestamp = reader.uint64();
|
|
141340
142224
|
break;
|
|
141341
142225
|
case 5:
|
|
141342
|
-
message.
|
|
141343
|
-
|
|
141344
|
-
|
|
141345
|
-
|
|
141346
|
-
|
|
141347
|
-
|
|
141348
|
-
|
|
141349
|
-
|
|
141350
|
-
case 8:
|
|
141351
|
-
message.isDryRun = reader.bool();
|
|
141352
|
-
break;
|
|
141353
|
-
case 9:
|
|
141354
|
-
message.gingerShouldProcess = reader.bool();
|
|
141355
|
-
break;
|
|
141356
|
-
case 10:
|
|
141357
|
-
message.headspaceShouldProcess = reader.bool();
|
|
141358
|
-
break;
|
|
141359
|
-
case 11:
|
|
141360
|
-
message.unifiedEligibilityEnabled = reader.bool();
|
|
141361
|
-
break;
|
|
141362
|
-
case 12:
|
|
141363
|
-
message.rootOrgHeadspaceHealthId = reader.string();
|
|
141364
|
-
break;
|
|
141365
|
-
case 13:
|
|
141366
|
-
message.rootOrgId = reader.string();
|
|
141367
|
-
break;
|
|
141368
|
-
case 14:
|
|
141369
|
-
message.isMemberMigrated = reader.bool();
|
|
142226
|
+
if (!(message.offerings && message.offerings.length))
|
|
142227
|
+
message.offerings = [];
|
|
142228
|
+
if ((tag & 7) === 2) {
|
|
142229
|
+
var end2 = reader.uint32() + reader.pos;
|
|
142230
|
+
while (reader.pos < end2)
|
|
142231
|
+
message.offerings.push(reader.int32());
|
|
142232
|
+
} else
|
|
142233
|
+
message.offerings.push(reader.int32());
|
|
141370
142234
|
break;
|
|
141371
|
-
case
|
|
141372
|
-
message.
|
|
142235
|
+
case 6:
|
|
142236
|
+
message.enrollmentFlow = reader.int32();
|
|
141373
142237
|
break;
|
|
141374
142238
|
default:
|
|
141375
142239
|
reader.skipType(tag & 7);
|
|
@@ -141380,227 +142244,223 @@ $root.ElfRecordAbsent = (function() {
|
|
|
141380
142244
|
};
|
|
141381
142245
|
|
|
141382
142246
|
/**
|
|
141383
|
-
* Decodes an
|
|
142247
|
+
* Decodes an ElfRecordMoved message from the specified reader or buffer, length delimited.
|
|
141384
142248
|
* @function decodeDelimited
|
|
141385
|
-
* @memberof
|
|
142249
|
+
* @memberof ElfRecordMoved
|
|
141386
142250
|
* @static
|
|
141387
142251
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
141388
|
-
* @returns {
|
|
142252
|
+
* @returns {ElfRecordMoved} ElfRecordMoved
|
|
141389
142253
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
141390
142254
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
141391
142255
|
*/
|
|
141392
|
-
|
|
142256
|
+
ElfRecordMoved.decodeDelimited = function decodeDelimited(reader) {
|
|
141393
142257
|
if (!(reader instanceof $Reader))
|
|
141394
142258
|
reader = new $Reader(reader);
|
|
141395
142259
|
return this.decode(reader, reader.uint32());
|
|
141396
142260
|
};
|
|
141397
142261
|
|
|
141398
142262
|
/**
|
|
141399
|
-
* Verifies an
|
|
142263
|
+
* Verifies an ElfRecordMoved message.
|
|
141400
142264
|
* @function verify
|
|
141401
|
-
* @memberof
|
|
142265
|
+
* @memberof ElfRecordMoved
|
|
141402
142266
|
* @static
|
|
141403
142267
|
* @param {Object.<string,*>} message Plain object to verify
|
|
141404
142268
|
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
141405
142269
|
*/
|
|
141406
|
-
|
|
142270
|
+
ElfRecordMoved.verify = function verify(message) {
|
|
141407
142271
|
if (typeof message !== "object" || message === null)
|
|
141408
142272
|
return "object expected";
|
|
141409
|
-
if (message.
|
|
141410
|
-
|
|
141411
|
-
|
|
141412
|
-
|
|
141413
|
-
|
|
141414
|
-
|
|
141415
|
-
|
|
141416
|
-
if (
|
|
141417
|
-
return "
|
|
141418
|
-
|
|
141419
|
-
|
|
141420
|
-
|
|
141421
|
-
|
|
141422
|
-
|
|
141423
|
-
|
|
141424
|
-
if (message.
|
|
141425
|
-
if (!$util.
|
|
141426
|
-
return "
|
|
141427
|
-
if (message.
|
|
141428
|
-
|
|
142273
|
+
if (message.sourceOrganization != null && message.hasOwnProperty("sourceOrganization")) {
|
|
142274
|
+
var error = $root.OrganizationIdentifier.verify(message.sourceOrganization);
|
|
142275
|
+
if (error)
|
|
142276
|
+
return "sourceOrganization." + error;
|
|
142277
|
+
}
|
|
142278
|
+
if (message.targetOrganization != null && message.hasOwnProperty("targetOrganization")) {
|
|
142279
|
+
var error = $root.OrganizationIdentifier.verify(message.targetOrganization);
|
|
142280
|
+
if (error)
|
|
142281
|
+
return "targetOrganization." + error;
|
|
142282
|
+
}
|
|
142283
|
+
if (message.record != null && message.hasOwnProperty("record")) {
|
|
142284
|
+
var error = $root.EligibilityRecordIdentifier.verify(message.record);
|
|
142285
|
+
if (error)
|
|
142286
|
+
return "record." + error;
|
|
142287
|
+
}
|
|
142288
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
142289
|
+
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
142290
|
+
return "timestamp: integer|Long expected";
|
|
142291
|
+
if (message.offerings != null && message.hasOwnProperty("offerings")) {
|
|
142292
|
+
if (!Array.isArray(message.offerings))
|
|
142293
|
+
return "offerings: array expected";
|
|
142294
|
+
for (var i = 0; i < message.offerings.length; ++i)
|
|
142295
|
+
switch (message.offerings[i]) {
|
|
142296
|
+
default:
|
|
142297
|
+
return "offerings: enum value[] expected";
|
|
142298
|
+
case 0:
|
|
142299
|
+
case 1:
|
|
142300
|
+
case 2:
|
|
142301
|
+
break;
|
|
142302
|
+
}
|
|
142303
|
+
}
|
|
142304
|
+
if (message.enrollmentFlow != null && message.hasOwnProperty("enrollmentFlow"))
|
|
142305
|
+
switch (message.enrollmentFlow) {
|
|
141429
142306
|
default:
|
|
141430
|
-
return "
|
|
142307
|
+
return "enrollmentFlow: enum value expected";
|
|
141431
142308
|
case 0:
|
|
141432
142309
|
case 1:
|
|
142310
|
+
case 2:
|
|
142311
|
+
case 3:
|
|
142312
|
+
case 4:
|
|
142313
|
+
case 5:
|
|
141433
142314
|
break;
|
|
141434
142315
|
}
|
|
141435
|
-
if (message.isDryRun != null && message.hasOwnProperty("isDryRun"))
|
|
141436
|
-
if (typeof message.isDryRun !== "boolean")
|
|
141437
|
-
return "isDryRun: boolean expected";
|
|
141438
|
-
if (message.gingerShouldProcess != null && message.hasOwnProperty("gingerShouldProcess"))
|
|
141439
|
-
if (typeof message.gingerShouldProcess !== "boolean")
|
|
141440
|
-
return "gingerShouldProcess: boolean expected";
|
|
141441
|
-
if (message.headspaceShouldProcess != null && message.hasOwnProperty("headspaceShouldProcess"))
|
|
141442
|
-
if (typeof message.headspaceShouldProcess !== "boolean")
|
|
141443
|
-
return "headspaceShouldProcess: boolean expected";
|
|
141444
|
-
if (message.unifiedEligibilityEnabled != null && message.hasOwnProperty("unifiedEligibilityEnabled"))
|
|
141445
|
-
if (typeof message.unifiedEligibilityEnabled !== "boolean")
|
|
141446
|
-
return "unifiedEligibilityEnabled: boolean expected";
|
|
141447
|
-
if (message.rootOrgHeadspaceHealthId != null && message.hasOwnProperty("rootOrgHeadspaceHealthId"))
|
|
141448
|
-
if (!$util.isString(message.rootOrgHeadspaceHealthId))
|
|
141449
|
-
return "rootOrgHeadspaceHealthId: string expected";
|
|
141450
|
-
if (message.rootOrgId != null && message.hasOwnProperty("rootOrgId"))
|
|
141451
|
-
if (!$util.isString(message.rootOrgId))
|
|
141452
|
-
return "rootOrgId: string expected";
|
|
141453
|
-
if (message.isMemberMigrated != null && message.hasOwnProperty("isMemberMigrated"))
|
|
141454
|
-
if (typeof message.isMemberMigrated !== "boolean")
|
|
141455
|
-
return "isMemberMigrated: boolean expected";
|
|
141456
|
-
if (message.collectiveUuid != null && message.hasOwnProperty("collectiveUuid"))
|
|
141457
|
-
if (!$util.isString(message.collectiveUuid))
|
|
141458
|
-
return "collectiveUuid: string expected";
|
|
141459
142316
|
return null;
|
|
141460
142317
|
};
|
|
141461
142318
|
|
|
141462
142319
|
/**
|
|
141463
|
-
* Creates an
|
|
142320
|
+
* Creates an ElfRecordMoved message from a plain object. Also converts values to their respective internal types.
|
|
141464
142321
|
* @function fromObject
|
|
141465
|
-
* @memberof
|
|
142322
|
+
* @memberof ElfRecordMoved
|
|
141466
142323
|
* @static
|
|
141467
142324
|
* @param {Object.<string,*>} object Plain object
|
|
141468
|
-
* @returns {
|
|
142325
|
+
* @returns {ElfRecordMoved} ElfRecordMoved
|
|
141469
142326
|
*/
|
|
141470
|
-
|
|
141471
|
-
if (object instanceof $root.
|
|
142327
|
+
ElfRecordMoved.fromObject = function fromObject(object) {
|
|
142328
|
+
if (object instanceof $root.ElfRecordMoved)
|
|
141472
142329
|
return object;
|
|
141473
|
-
var message = new $root.
|
|
141474
|
-
if (object.
|
|
141475
|
-
|
|
141476
|
-
|
|
141477
|
-
message.
|
|
141478
|
-
|
|
141479
|
-
|
|
141480
|
-
|
|
142330
|
+
var message = new $root.ElfRecordMoved();
|
|
142331
|
+
if (object.sourceOrganization != null) {
|
|
142332
|
+
if (typeof object.sourceOrganization !== "object")
|
|
142333
|
+
throw TypeError(".ElfRecordMoved.sourceOrganization: object expected");
|
|
142334
|
+
message.sourceOrganization = $root.OrganizationIdentifier.fromObject(object.sourceOrganization);
|
|
142335
|
+
}
|
|
142336
|
+
if (object.targetOrganization != null) {
|
|
142337
|
+
if (typeof object.targetOrganization !== "object")
|
|
142338
|
+
throw TypeError(".ElfRecordMoved.targetOrganization: object expected");
|
|
142339
|
+
message.targetOrganization = $root.OrganizationIdentifier.fromObject(object.targetOrganization);
|
|
142340
|
+
}
|
|
142341
|
+
if (object.record != null) {
|
|
142342
|
+
if (typeof object.record !== "object")
|
|
142343
|
+
throw TypeError(".ElfRecordMoved.record: object expected");
|
|
142344
|
+
message.record = $root.EligibilityRecordIdentifier.fromObject(object.record);
|
|
142345
|
+
}
|
|
142346
|
+
if (object.timestamp != null)
|
|
141481
142347
|
if ($util.Long)
|
|
141482
|
-
(message.
|
|
141483
|
-
else if (typeof object.
|
|
141484
|
-
message.
|
|
141485
|
-
else if (typeof object.
|
|
141486
|
-
message.
|
|
141487
|
-
else if (typeof object.
|
|
141488
|
-
message.
|
|
141489
|
-
if (object.
|
|
141490
|
-
|
|
141491
|
-
|
|
141492
|
-
message.
|
|
141493
|
-
|
|
141494
|
-
|
|
142348
|
+
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
|
|
142349
|
+
else if (typeof object.timestamp === "string")
|
|
142350
|
+
message.timestamp = parseInt(object.timestamp, 10);
|
|
142351
|
+
else if (typeof object.timestamp === "number")
|
|
142352
|
+
message.timestamp = object.timestamp;
|
|
142353
|
+
else if (typeof object.timestamp === "object")
|
|
142354
|
+
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
142355
|
+
if (object.offerings) {
|
|
142356
|
+
if (!Array.isArray(object.offerings))
|
|
142357
|
+
throw TypeError(".ElfRecordMoved.offerings: array expected");
|
|
142358
|
+
message.offerings = [];
|
|
142359
|
+
for (var i = 0; i < object.offerings.length; ++i)
|
|
142360
|
+
switch (object.offerings[i]) {
|
|
142361
|
+
default:
|
|
142362
|
+
case "SUBSCRIPTION_OFFERING_UNKNOWN":
|
|
142363
|
+
case 0:
|
|
142364
|
+
message.offerings[i] = 0;
|
|
142365
|
+
break;
|
|
142366
|
+
case "SUBSCRIPTION_OFFERING_HEADSPACE":
|
|
142367
|
+
case 1:
|
|
142368
|
+
message.offerings[i] = 1;
|
|
142369
|
+
break;
|
|
142370
|
+
case "SUBSCRIPTION_OFFERING_GINGER":
|
|
142371
|
+
case 2:
|
|
142372
|
+
message.offerings[i] = 2;
|
|
142373
|
+
break;
|
|
142374
|
+
}
|
|
142375
|
+
}
|
|
142376
|
+
switch (object.enrollmentFlow) {
|
|
142377
|
+
case "ENROLLMENT_FLOW_UNKNOWN":
|
|
141495
142378
|
case 0:
|
|
141496
|
-
message.
|
|
142379
|
+
message.enrollmentFlow = 0;
|
|
141497
142380
|
break;
|
|
141498
|
-
case "
|
|
142381
|
+
case "ENROLLMENT_FLOW_HEADSPACE":
|
|
141499
142382
|
case 1:
|
|
141500
|
-
message.
|
|
142383
|
+
message.enrollmentFlow = 1;
|
|
142384
|
+
break;
|
|
142385
|
+
case "ENROLLMENT_FLOW_CONNECTED":
|
|
142386
|
+
case 2:
|
|
142387
|
+
message.enrollmentFlow = 2;
|
|
142388
|
+
break;
|
|
142389
|
+
case "ENROLLMENT_FLOW_UMD":
|
|
142390
|
+
case 3:
|
|
142391
|
+
message.enrollmentFlow = 3;
|
|
142392
|
+
break;
|
|
142393
|
+
case "ENROLLMENT_FLOW_FUSION":
|
|
142394
|
+
case 4:
|
|
142395
|
+
message.enrollmentFlow = 4;
|
|
142396
|
+
break;
|
|
142397
|
+
case "ENROLLMENT_FLOW_GINGER":
|
|
142398
|
+
case 5:
|
|
142399
|
+
message.enrollmentFlow = 5;
|
|
141501
142400
|
break;
|
|
141502
142401
|
}
|
|
141503
|
-
if (object.isDryRun != null)
|
|
141504
|
-
message.isDryRun = Boolean(object.isDryRun);
|
|
141505
|
-
if (object.gingerShouldProcess != null)
|
|
141506
|
-
message.gingerShouldProcess = Boolean(object.gingerShouldProcess);
|
|
141507
|
-
if (object.headspaceShouldProcess != null)
|
|
141508
|
-
message.headspaceShouldProcess = Boolean(object.headspaceShouldProcess);
|
|
141509
|
-
if (object.unifiedEligibilityEnabled != null)
|
|
141510
|
-
message.unifiedEligibilityEnabled = Boolean(object.unifiedEligibilityEnabled);
|
|
141511
|
-
if (object.rootOrgHeadspaceHealthId != null)
|
|
141512
|
-
message.rootOrgHeadspaceHealthId = String(object.rootOrgHeadspaceHealthId);
|
|
141513
|
-
if (object.rootOrgId != null)
|
|
141514
|
-
message.rootOrgId = String(object.rootOrgId);
|
|
141515
|
-
if (object.isMemberMigrated != null)
|
|
141516
|
-
message.isMemberMigrated = Boolean(object.isMemberMigrated);
|
|
141517
|
-
if (object.collectiveUuid != null)
|
|
141518
|
-
message.collectiveUuid = String(object.collectiveUuid);
|
|
141519
142402
|
return message;
|
|
141520
142403
|
};
|
|
141521
142404
|
|
|
141522
142405
|
/**
|
|
141523
|
-
* Creates a plain object from an
|
|
142406
|
+
* Creates a plain object from an ElfRecordMoved message. Also converts values to other types if specified.
|
|
141524
142407
|
* @function toObject
|
|
141525
|
-
* @memberof
|
|
142408
|
+
* @memberof ElfRecordMoved
|
|
141526
142409
|
* @static
|
|
141527
|
-
* @param {
|
|
142410
|
+
* @param {ElfRecordMoved} message ElfRecordMoved
|
|
141528
142411
|
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
141529
142412
|
* @returns {Object.<string,*>} Plain object
|
|
141530
142413
|
*/
|
|
141531
|
-
|
|
142414
|
+
ElfRecordMoved.toObject = function toObject(message, options) {
|
|
141532
142415
|
if (!options)
|
|
141533
142416
|
options = {};
|
|
141534
142417
|
var object = {};
|
|
142418
|
+
if (options.arrays || options.defaults)
|
|
142419
|
+
object.offerings = [];
|
|
141535
142420
|
if (options.defaults) {
|
|
141536
|
-
object.
|
|
141537
|
-
object.
|
|
141538
|
-
object.
|
|
142421
|
+
object.sourceOrganization = null;
|
|
142422
|
+
object.targetOrganization = null;
|
|
142423
|
+
object.record = null;
|
|
141539
142424
|
if ($util.Long) {
|
|
141540
142425
|
var long = new $util.Long(0, 0, true);
|
|
141541
|
-
object.
|
|
142426
|
+
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
141542
142427
|
} else
|
|
141543
|
-
object.
|
|
141544
|
-
object.
|
|
141545
|
-
object.workId = "";
|
|
141546
|
-
object.keyType = options.enums === String ? "WORK_ID" : 0;
|
|
141547
|
-
object.isDryRun = false;
|
|
141548
|
-
object.gingerShouldProcess = false;
|
|
141549
|
-
object.headspaceShouldProcess = false;
|
|
141550
|
-
object.unifiedEligibilityEnabled = false;
|
|
141551
|
-
object.rootOrgHeadspaceHealthId = "";
|
|
141552
|
-
object.rootOrgId = "";
|
|
141553
|
-
object.isMemberMigrated = false;
|
|
141554
|
-
object.collectiveUuid = "";
|
|
142428
|
+
object.timestamp = options.longs === String ? "0" : 0;
|
|
142429
|
+
object.enrollmentFlow = options.enums === String ? "ENROLLMENT_FLOW_UNKNOWN" : 0;
|
|
141555
142430
|
}
|
|
141556
|
-
if (message.
|
|
141557
|
-
object.
|
|
141558
|
-
if (message.
|
|
141559
|
-
object.
|
|
141560
|
-
if (message.
|
|
141561
|
-
object.
|
|
141562
|
-
if (message.
|
|
141563
|
-
if (typeof message.
|
|
141564
|
-
object.
|
|
142431
|
+
if (message.sourceOrganization != null && message.hasOwnProperty("sourceOrganization"))
|
|
142432
|
+
object.sourceOrganization = $root.OrganizationIdentifier.toObject(message.sourceOrganization, options);
|
|
142433
|
+
if (message.targetOrganization != null && message.hasOwnProperty("targetOrganization"))
|
|
142434
|
+
object.targetOrganization = $root.OrganizationIdentifier.toObject(message.targetOrganization, options);
|
|
142435
|
+
if (message.record != null && message.hasOwnProperty("record"))
|
|
142436
|
+
object.record = $root.EligibilityRecordIdentifier.toObject(message.record, options);
|
|
142437
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
142438
|
+
if (typeof message.timestamp === "number")
|
|
142439
|
+
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
141565
142440
|
else
|
|
141566
|
-
object.
|
|
141567
|
-
if (message.
|
|
141568
|
-
object.
|
|
141569
|
-
|
|
141570
|
-
|
|
141571
|
-
|
|
141572
|
-
|
|
141573
|
-
|
|
141574
|
-
object.isDryRun = message.isDryRun;
|
|
141575
|
-
if (message.gingerShouldProcess != null && message.hasOwnProperty("gingerShouldProcess"))
|
|
141576
|
-
object.gingerShouldProcess = message.gingerShouldProcess;
|
|
141577
|
-
if (message.headspaceShouldProcess != null && message.hasOwnProperty("headspaceShouldProcess"))
|
|
141578
|
-
object.headspaceShouldProcess = message.headspaceShouldProcess;
|
|
141579
|
-
if (message.unifiedEligibilityEnabled != null && message.hasOwnProperty("unifiedEligibilityEnabled"))
|
|
141580
|
-
object.unifiedEligibilityEnabled = message.unifiedEligibilityEnabled;
|
|
141581
|
-
if (message.rootOrgHeadspaceHealthId != null && message.hasOwnProperty("rootOrgHeadspaceHealthId"))
|
|
141582
|
-
object.rootOrgHeadspaceHealthId = message.rootOrgHeadspaceHealthId;
|
|
141583
|
-
if (message.rootOrgId != null && message.hasOwnProperty("rootOrgId"))
|
|
141584
|
-
object.rootOrgId = message.rootOrgId;
|
|
141585
|
-
if (message.isMemberMigrated != null && message.hasOwnProperty("isMemberMigrated"))
|
|
141586
|
-
object.isMemberMigrated = message.isMemberMigrated;
|
|
141587
|
-
if (message.collectiveUuid != null && message.hasOwnProperty("collectiveUuid"))
|
|
141588
|
-
object.collectiveUuid = message.collectiveUuid;
|
|
142441
|
+
object.timestamp = options.longs === String ? $util.Long.prototype.toString.call(message.timestamp) : options.longs === Number ? new $util.LongBits(message.timestamp.low >>> 0, message.timestamp.high >>> 0).toNumber(true) : message.timestamp;
|
|
142442
|
+
if (message.offerings && message.offerings.length) {
|
|
142443
|
+
object.offerings = [];
|
|
142444
|
+
for (var j = 0; j < message.offerings.length; ++j)
|
|
142445
|
+
object.offerings[j] = options.enums === String ? $root.b2b.SubscriptionOffering[message.offerings[j]] : message.offerings[j];
|
|
142446
|
+
}
|
|
142447
|
+
if (message.enrollmentFlow != null && message.hasOwnProperty("enrollmentFlow"))
|
|
142448
|
+
object.enrollmentFlow = options.enums === String ? $root.b2b.EnrollmentFlow[message.enrollmentFlow] : message.enrollmentFlow;
|
|
141589
142449
|
return object;
|
|
141590
142450
|
};
|
|
141591
142451
|
|
|
141592
142452
|
/**
|
|
141593
|
-
* Converts this
|
|
142453
|
+
* Converts this ElfRecordMoved to JSON.
|
|
141594
142454
|
* @function toJSON
|
|
141595
|
-
* @memberof
|
|
142455
|
+
* @memberof ElfRecordMoved
|
|
141596
142456
|
* @instance
|
|
141597
142457
|
* @returns {Object.<string,*>} JSON object
|
|
141598
142458
|
*/
|
|
141599
|
-
|
|
142459
|
+
ElfRecordMoved.prototype.toJSON = function toJSON() {
|
|
141600
142460
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
141601
142461
|
};
|
|
141602
142462
|
|
|
141603
|
-
return
|
|
142463
|
+
return ElfRecordMoved;
|
|
141604
142464
|
})();
|
|
141605
142465
|
|
|
141606
142466
|
$root.ElfProcessingStats = (function() {
|