@headspace/protos-events 1.683.0 → 1.685.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 +12 -140
- package/lib/index.js +44 -425
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -27481,146 +27481,6 @@ export class ContentfulContentModelDeleted implements IContentfulContentModelDel
|
|
|
27481
27481
|
public toJSON(): { [k: string]: any };
|
|
27482
27482
|
}
|
|
27483
27483
|
|
|
27484
|
-
/** GingerUserDomainStatus enum. */
|
|
27485
|
-
export enum GingerUserDomainStatus {
|
|
27486
|
-
GINGER_USER_DOMAIN_STATUS_UNKNOWN = 0,
|
|
27487
|
-
GINGER_USER_DOMAIN_STATUS_ACTIVE = 1,
|
|
27488
|
-
GINGER_USER_DOMAIN_STATUS_PENDING = 2,
|
|
27489
|
-
GINGER_USER_DOMAIN_STATUS_DEACTIVATED = 3
|
|
27490
|
-
}
|
|
27491
|
-
|
|
27492
|
-
/** Properties of a GingerUserDomainExported. */
|
|
27493
|
-
export interface IGingerUserDomainExported {
|
|
27494
|
-
|
|
27495
|
-
/** GingerUserDomainExported gingerUserId */
|
|
27496
|
-
gingerUserId?: (string|null);
|
|
27497
|
-
|
|
27498
|
-
/** GingerUserDomainExported headspaceUserId */
|
|
27499
|
-
headspaceUserId?: (string|null);
|
|
27500
|
-
|
|
27501
|
-
/** GingerUserDomainExported fusionUpgradedAt */
|
|
27502
|
-
fusionUpgradedAt?: (number|Long|null);
|
|
27503
|
-
|
|
27504
|
-
/** GingerUserDomainExported status */
|
|
27505
|
-
status?: (GingerUserDomainStatus|null);
|
|
27506
|
-
|
|
27507
|
-
/** GingerUserDomainExported hasCompletedOnboarding */
|
|
27508
|
-
hasCompletedOnboarding?: (boolean|null);
|
|
27509
|
-
|
|
27510
|
-
/** GingerUserDomainExported organizationalUnitId */
|
|
27511
|
-
organizationalUnitId?: (number|Long|null);
|
|
27512
|
-
|
|
27513
|
-
/** GingerUserDomainExported isStaff */
|
|
27514
|
-
isStaff?: (boolean|null);
|
|
27515
|
-
|
|
27516
|
-
/** GingerUserDomainExported registeredAt */
|
|
27517
|
-
registeredAt?: (number|Long|null);
|
|
27518
|
-
}
|
|
27519
|
-
|
|
27520
|
-
/** Represents a GingerUserDomainExported. */
|
|
27521
|
-
export class GingerUserDomainExported implements IGingerUserDomainExported {
|
|
27522
|
-
|
|
27523
|
-
/**
|
|
27524
|
-
* Constructs a new GingerUserDomainExported.
|
|
27525
|
-
* @param [properties] Properties to set
|
|
27526
|
-
*/
|
|
27527
|
-
constructor(properties?: IGingerUserDomainExported);
|
|
27528
|
-
|
|
27529
|
-
/** GingerUserDomainExported gingerUserId. */
|
|
27530
|
-
public gingerUserId: string;
|
|
27531
|
-
|
|
27532
|
-
/** GingerUserDomainExported headspaceUserId. */
|
|
27533
|
-
public headspaceUserId: string;
|
|
27534
|
-
|
|
27535
|
-
/** GingerUserDomainExported fusionUpgradedAt. */
|
|
27536
|
-
public fusionUpgradedAt: (number|Long);
|
|
27537
|
-
|
|
27538
|
-
/** GingerUserDomainExported status. */
|
|
27539
|
-
public status: GingerUserDomainStatus;
|
|
27540
|
-
|
|
27541
|
-
/** GingerUserDomainExported hasCompletedOnboarding. */
|
|
27542
|
-
public hasCompletedOnboarding: boolean;
|
|
27543
|
-
|
|
27544
|
-
/** GingerUserDomainExported organizationalUnitId. */
|
|
27545
|
-
public organizationalUnitId: (number|Long);
|
|
27546
|
-
|
|
27547
|
-
/** GingerUserDomainExported isStaff. */
|
|
27548
|
-
public isStaff: boolean;
|
|
27549
|
-
|
|
27550
|
-
/** GingerUserDomainExported registeredAt. */
|
|
27551
|
-
public registeredAt: (number|Long);
|
|
27552
|
-
|
|
27553
|
-
/**
|
|
27554
|
-
* Creates a new GingerUserDomainExported instance using the specified properties.
|
|
27555
|
-
* @param [properties] Properties to set
|
|
27556
|
-
* @returns GingerUserDomainExported instance
|
|
27557
|
-
*/
|
|
27558
|
-
public static create(properties?: IGingerUserDomainExported): GingerUserDomainExported;
|
|
27559
|
-
|
|
27560
|
-
/**
|
|
27561
|
-
* Encodes the specified GingerUserDomainExported message. Does not implicitly {@link GingerUserDomainExported.verify|verify} messages.
|
|
27562
|
-
* @param message GingerUserDomainExported message or plain object to encode
|
|
27563
|
-
* @param [writer] Writer to encode to
|
|
27564
|
-
* @returns Writer
|
|
27565
|
-
*/
|
|
27566
|
-
public static encode(message: IGingerUserDomainExported, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
27567
|
-
|
|
27568
|
-
/**
|
|
27569
|
-
* Encodes the specified GingerUserDomainExported message, length delimited. Does not implicitly {@link GingerUserDomainExported.verify|verify} messages.
|
|
27570
|
-
* @param message GingerUserDomainExported message or plain object to encode
|
|
27571
|
-
* @param [writer] Writer to encode to
|
|
27572
|
-
* @returns Writer
|
|
27573
|
-
*/
|
|
27574
|
-
public static encodeDelimited(message: IGingerUserDomainExported, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
27575
|
-
|
|
27576
|
-
/**
|
|
27577
|
-
* Decodes a GingerUserDomainExported message from the specified reader or buffer.
|
|
27578
|
-
* @param reader Reader or buffer to decode from
|
|
27579
|
-
* @param [length] Message length if known beforehand
|
|
27580
|
-
* @returns GingerUserDomainExported
|
|
27581
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
27582
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
27583
|
-
*/
|
|
27584
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): GingerUserDomainExported;
|
|
27585
|
-
|
|
27586
|
-
/**
|
|
27587
|
-
* Decodes a GingerUserDomainExported message from the specified reader or buffer, length delimited.
|
|
27588
|
-
* @param reader Reader or buffer to decode from
|
|
27589
|
-
* @returns GingerUserDomainExported
|
|
27590
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
27591
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
27592
|
-
*/
|
|
27593
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): GingerUserDomainExported;
|
|
27594
|
-
|
|
27595
|
-
/**
|
|
27596
|
-
* Verifies a GingerUserDomainExported message.
|
|
27597
|
-
* @param message Plain object to verify
|
|
27598
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
27599
|
-
*/
|
|
27600
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
27601
|
-
|
|
27602
|
-
/**
|
|
27603
|
-
* Creates a GingerUserDomainExported message from a plain object. Also converts values to their respective internal types.
|
|
27604
|
-
* @param object Plain object
|
|
27605
|
-
* @returns GingerUserDomainExported
|
|
27606
|
-
*/
|
|
27607
|
-
public static fromObject(object: { [k: string]: any }): GingerUserDomainExported;
|
|
27608
|
-
|
|
27609
|
-
/**
|
|
27610
|
-
* Creates a plain object from a GingerUserDomainExported message. Also converts values to other types if specified.
|
|
27611
|
-
* @param message GingerUserDomainExported
|
|
27612
|
-
* @param [options] Conversion options
|
|
27613
|
-
* @returns Plain object
|
|
27614
|
-
*/
|
|
27615
|
-
public static toObject(message: GingerUserDomainExported, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
27616
|
-
|
|
27617
|
-
/**
|
|
27618
|
-
* Converts this GingerUserDomainExported to JSON.
|
|
27619
|
-
* @returns JSON object
|
|
27620
|
-
*/
|
|
27621
|
-
public toJSON(): { [k: string]: any };
|
|
27622
|
-
}
|
|
27623
|
-
|
|
27624
27484
|
/** Properties of a UserDomainCreated. */
|
|
27625
27485
|
export interface IUserDomainCreated {
|
|
27626
27486
|
|
|
@@ -53462,6 +53322,9 @@ export interface IEligibilityRecordCreated {
|
|
|
53462
53322
|
|
|
53463
53323
|
/** EligibilityRecordCreated eligibilityRecord */
|
|
53464
53324
|
eligibilityRecord?: (IEligibilityRecord|null);
|
|
53325
|
+
|
|
53326
|
+
/** EligibilityRecordCreated isRecordMigrated */
|
|
53327
|
+
isRecordMigrated?: (boolean|null);
|
|
53465
53328
|
}
|
|
53466
53329
|
|
|
53467
53330
|
/** Represents an EligibilityRecordCreated. */
|
|
@@ -53482,6 +53345,9 @@ export class EligibilityRecordCreated implements IEligibilityRecordCreated {
|
|
|
53482
53345
|
/** EligibilityRecordCreated eligibilityRecord. */
|
|
53483
53346
|
public eligibilityRecord?: (IEligibilityRecord|null);
|
|
53484
53347
|
|
|
53348
|
+
/** EligibilityRecordCreated isRecordMigrated. */
|
|
53349
|
+
public isRecordMigrated: boolean;
|
|
53350
|
+
|
|
53485
53351
|
/**
|
|
53486
53352
|
* Creates a new EligibilityRecordCreated instance using the specified properties.
|
|
53487
53353
|
* @param [properties] Properties to set
|
|
@@ -53564,6 +53430,9 @@ export interface IEligibilityRecordUpdated {
|
|
|
53564
53430
|
|
|
53565
53431
|
/** EligibilityRecordUpdated eligibilityRecord */
|
|
53566
53432
|
eligibilityRecord?: (IEligibilityRecord|null);
|
|
53433
|
+
|
|
53434
|
+
/** EligibilityRecordUpdated isRecordMigrated */
|
|
53435
|
+
isRecordMigrated?: (boolean|null);
|
|
53567
53436
|
}
|
|
53568
53437
|
|
|
53569
53438
|
/** Represents an EligibilityRecordUpdated. */
|
|
@@ -53584,6 +53453,9 @@ export class EligibilityRecordUpdated implements IEligibilityRecordUpdated {
|
|
|
53584
53453
|
/** EligibilityRecordUpdated eligibilityRecord. */
|
|
53585
53454
|
public eligibilityRecord?: (IEligibilityRecord|null);
|
|
53586
53455
|
|
|
53456
|
+
/** EligibilityRecordUpdated isRecordMigrated. */
|
|
53457
|
+
public isRecordMigrated: boolean;
|
|
53458
|
+
|
|
53587
53459
|
/**
|
|
53588
53460
|
* Creates a new EligibilityRecordUpdated instance using the specified properties.
|
|
53589
53461
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -77372,431 +77372,6 @@ $root.ContentfulContentModelDeleted = (function() {
|
|
|
77372
77372
|
return ContentfulContentModelDeleted;
|
|
77373
77373
|
})();
|
|
77374
77374
|
|
|
77375
|
-
/**
|
|
77376
|
-
* GingerUserDomainStatus enum.
|
|
77377
|
-
* @name GingerUserDomainStatus
|
|
77378
|
-
* @enum {string}
|
|
77379
|
-
* @property {number} GINGER_USER_DOMAIN_STATUS_UNKNOWN=0 GINGER_USER_DOMAIN_STATUS_UNKNOWN value
|
|
77380
|
-
* @property {number} GINGER_USER_DOMAIN_STATUS_ACTIVE=1 GINGER_USER_DOMAIN_STATUS_ACTIVE value
|
|
77381
|
-
* @property {number} GINGER_USER_DOMAIN_STATUS_PENDING=2 GINGER_USER_DOMAIN_STATUS_PENDING value
|
|
77382
|
-
* @property {number} GINGER_USER_DOMAIN_STATUS_DEACTIVATED=3 GINGER_USER_DOMAIN_STATUS_DEACTIVATED value
|
|
77383
|
-
*/
|
|
77384
|
-
$root.GingerUserDomainStatus = (function() {
|
|
77385
|
-
var valuesById = {}, values = Object.create(valuesById);
|
|
77386
|
-
values[valuesById[0] = "GINGER_USER_DOMAIN_STATUS_UNKNOWN"] = 0;
|
|
77387
|
-
values[valuesById[1] = "GINGER_USER_DOMAIN_STATUS_ACTIVE"] = 1;
|
|
77388
|
-
values[valuesById[2] = "GINGER_USER_DOMAIN_STATUS_PENDING"] = 2;
|
|
77389
|
-
values[valuesById[3] = "GINGER_USER_DOMAIN_STATUS_DEACTIVATED"] = 3;
|
|
77390
|
-
return values;
|
|
77391
|
-
})();
|
|
77392
|
-
|
|
77393
|
-
$root.GingerUserDomainExported = (function() {
|
|
77394
|
-
|
|
77395
|
-
/**
|
|
77396
|
-
* Properties of a GingerUserDomainExported.
|
|
77397
|
-
* @name IGingerUserDomainExported
|
|
77398
|
-
* @interface IGingerUserDomainExported
|
|
77399
|
-
* @property {string|null} [gingerUserId] GingerUserDomainExported gingerUserId
|
|
77400
|
-
* @property {string|null} [headspaceUserId] GingerUserDomainExported headspaceUserId
|
|
77401
|
-
* @property {number|Long|null} [fusionUpgradedAt] GingerUserDomainExported fusionUpgradedAt
|
|
77402
|
-
* @property {GingerUserDomainStatus|null} [status] GingerUserDomainExported status
|
|
77403
|
-
* @property {boolean|null} [hasCompletedOnboarding] GingerUserDomainExported hasCompletedOnboarding
|
|
77404
|
-
* @property {number|Long|null} [organizationalUnitId] GingerUserDomainExported organizationalUnitId
|
|
77405
|
-
* @property {boolean|null} [isStaff] GingerUserDomainExported isStaff
|
|
77406
|
-
* @property {number|Long|null} [registeredAt] GingerUserDomainExported registeredAt
|
|
77407
|
-
*/
|
|
77408
|
-
|
|
77409
|
-
/**
|
|
77410
|
-
* Constructs a new GingerUserDomainExported.
|
|
77411
|
-
* @name GingerUserDomainExported
|
|
77412
|
-
* @classdesc Represents a GingerUserDomainExported.
|
|
77413
|
-
* @implements IGingerUserDomainExported
|
|
77414
|
-
* @constructor
|
|
77415
|
-
* @param {IGingerUserDomainExported=} [properties] Properties to set
|
|
77416
|
-
*/
|
|
77417
|
-
function GingerUserDomainExported(properties) {
|
|
77418
|
-
if (properties)
|
|
77419
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
77420
|
-
if (properties[keys[i]] != null)
|
|
77421
|
-
this[keys[i]] = properties[keys[i]];
|
|
77422
|
-
}
|
|
77423
|
-
|
|
77424
|
-
/**
|
|
77425
|
-
* GingerUserDomainExported gingerUserId.
|
|
77426
|
-
* @member {string} gingerUserId
|
|
77427
|
-
* @memberof GingerUserDomainExported
|
|
77428
|
-
* @instance
|
|
77429
|
-
*/
|
|
77430
|
-
GingerUserDomainExported.prototype.gingerUserId = "";
|
|
77431
|
-
|
|
77432
|
-
/**
|
|
77433
|
-
* GingerUserDomainExported headspaceUserId.
|
|
77434
|
-
* @member {string} headspaceUserId
|
|
77435
|
-
* @memberof GingerUserDomainExported
|
|
77436
|
-
* @instance
|
|
77437
|
-
*/
|
|
77438
|
-
GingerUserDomainExported.prototype.headspaceUserId = "";
|
|
77439
|
-
|
|
77440
|
-
/**
|
|
77441
|
-
* GingerUserDomainExported fusionUpgradedAt.
|
|
77442
|
-
* @member {number|Long} fusionUpgradedAt
|
|
77443
|
-
* @memberof GingerUserDomainExported
|
|
77444
|
-
* @instance
|
|
77445
|
-
*/
|
|
77446
|
-
GingerUserDomainExported.prototype.fusionUpgradedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
77447
|
-
|
|
77448
|
-
/**
|
|
77449
|
-
* GingerUserDomainExported status.
|
|
77450
|
-
* @member {GingerUserDomainStatus} status
|
|
77451
|
-
* @memberof GingerUserDomainExported
|
|
77452
|
-
* @instance
|
|
77453
|
-
*/
|
|
77454
|
-
GingerUserDomainExported.prototype.status = 0;
|
|
77455
|
-
|
|
77456
|
-
/**
|
|
77457
|
-
* GingerUserDomainExported hasCompletedOnboarding.
|
|
77458
|
-
* @member {boolean} hasCompletedOnboarding
|
|
77459
|
-
* @memberof GingerUserDomainExported
|
|
77460
|
-
* @instance
|
|
77461
|
-
*/
|
|
77462
|
-
GingerUserDomainExported.prototype.hasCompletedOnboarding = false;
|
|
77463
|
-
|
|
77464
|
-
/**
|
|
77465
|
-
* GingerUserDomainExported organizationalUnitId.
|
|
77466
|
-
* @member {number|Long} organizationalUnitId
|
|
77467
|
-
* @memberof GingerUserDomainExported
|
|
77468
|
-
* @instance
|
|
77469
|
-
*/
|
|
77470
|
-
GingerUserDomainExported.prototype.organizationalUnitId = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
77471
|
-
|
|
77472
|
-
/**
|
|
77473
|
-
* GingerUserDomainExported isStaff.
|
|
77474
|
-
* @member {boolean} isStaff
|
|
77475
|
-
* @memberof GingerUserDomainExported
|
|
77476
|
-
* @instance
|
|
77477
|
-
*/
|
|
77478
|
-
GingerUserDomainExported.prototype.isStaff = false;
|
|
77479
|
-
|
|
77480
|
-
/**
|
|
77481
|
-
* GingerUserDomainExported registeredAt.
|
|
77482
|
-
* @member {number|Long} registeredAt
|
|
77483
|
-
* @memberof GingerUserDomainExported
|
|
77484
|
-
* @instance
|
|
77485
|
-
*/
|
|
77486
|
-
GingerUserDomainExported.prototype.registeredAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
77487
|
-
|
|
77488
|
-
/**
|
|
77489
|
-
* Creates a new GingerUserDomainExported instance using the specified properties.
|
|
77490
|
-
* @function create
|
|
77491
|
-
* @memberof GingerUserDomainExported
|
|
77492
|
-
* @static
|
|
77493
|
-
* @param {IGingerUserDomainExported=} [properties] Properties to set
|
|
77494
|
-
* @returns {GingerUserDomainExported} GingerUserDomainExported instance
|
|
77495
|
-
*/
|
|
77496
|
-
GingerUserDomainExported.create = function create(properties) {
|
|
77497
|
-
return new GingerUserDomainExported(properties);
|
|
77498
|
-
};
|
|
77499
|
-
|
|
77500
|
-
/**
|
|
77501
|
-
* Encodes the specified GingerUserDomainExported message. Does not implicitly {@link GingerUserDomainExported.verify|verify} messages.
|
|
77502
|
-
* @function encode
|
|
77503
|
-
* @memberof GingerUserDomainExported
|
|
77504
|
-
* @static
|
|
77505
|
-
* @param {IGingerUserDomainExported} message GingerUserDomainExported message or plain object to encode
|
|
77506
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
77507
|
-
* @returns {$protobuf.Writer} Writer
|
|
77508
|
-
*/
|
|
77509
|
-
GingerUserDomainExported.encode = function encode(message, writer) {
|
|
77510
|
-
if (!writer)
|
|
77511
|
-
writer = $Writer.create();
|
|
77512
|
-
if (message.gingerUserId != null && message.hasOwnProperty("gingerUserId"))
|
|
77513
|
-
writer.uint32(/* id 1, wireType 2 =*/10).string(message.gingerUserId);
|
|
77514
|
-
if (message.headspaceUserId != null && message.hasOwnProperty("headspaceUserId"))
|
|
77515
|
-
writer.uint32(/* id 2, wireType 2 =*/18).string(message.headspaceUserId);
|
|
77516
|
-
if (message.fusionUpgradedAt != null && message.hasOwnProperty("fusionUpgradedAt"))
|
|
77517
|
-
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.fusionUpgradedAt);
|
|
77518
|
-
if (message.status != null && message.hasOwnProperty("status"))
|
|
77519
|
-
writer.uint32(/* id 4, wireType 0 =*/32).int32(message.status);
|
|
77520
|
-
if (message.hasCompletedOnboarding != null && message.hasOwnProperty("hasCompletedOnboarding"))
|
|
77521
|
-
writer.uint32(/* id 5, wireType 0 =*/40).bool(message.hasCompletedOnboarding);
|
|
77522
|
-
if (message.organizationalUnitId != null && message.hasOwnProperty("organizationalUnitId"))
|
|
77523
|
-
writer.uint32(/* id 6, wireType 0 =*/48).uint64(message.organizationalUnitId);
|
|
77524
|
-
if (message.isStaff != null && message.hasOwnProperty("isStaff"))
|
|
77525
|
-
writer.uint32(/* id 7, wireType 0 =*/56).bool(message.isStaff);
|
|
77526
|
-
if (message.registeredAt != null && message.hasOwnProperty("registeredAt"))
|
|
77527
|
-
writer.uint32(/* id 8, wireType 0 =*/64).uint64(message.registeredAt);
|
|
77528
|
-
return writer;
|
|
77529
|
-
};
|
|
77530
|
-
|
|
77531
|
-
/**
|
|
77532
|
-
* Encodes the specified GingerUserDomainExported message, length delimited. Does not implicitly {@link GingerUserDomainExported.verify|verify} messages.
|
|
77533
|
-
* @function encodeDelimited
|
|
77534
|
-
* @memberof GingerUserDomainExported
|
|
77535
|
-
* @static
|
|
77536
|
-
* @param {IGingerUserDomainExported} message GingerUserDomainExported message or plain object to encode
|
|
77537
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
77538
|
-
* @returns {$protobuf.Writer} Writer
|
|
77539
|
-
*/
|
|
77540
|
-
GingerUserDomainExported.encodeDelimited = function encodeDelimited(message, writer) {
|
|
77541
|
-
return this.encode(message, writer).ldelim();
|
|
77542
|
-
};
|
|
77543
|
-
|
|
77544
|
-
/**
|
|
77545
|
-
* Decodes a GingerUserDomainExported message from the specified reader or buffer.
|
|
77546
|
-
* @function decode
|
|
77547
|
-
* @memberof GingerUserDomainExported
|
|
77548
|
-
* @static
|
|
77549
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
77550
|
-
* @param {number} [length] Message length if known beforehand
|
|
77551
|
-
* @returns {GingerUserDomainExported} GingerUserDomainExported
|
|
77552
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
77553
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
77554
|
-
*/
|
|
77555
|
-
GingerUserDomainExported.decode = function decode(reader, length) {
|
|
77556
|
-
if (!(reader instanceof $Reader))
|
|
77557
|
-
reader = $Reader.create(reader);
|
|
77558
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.GingerUserDomainExported();
|
|
77559
|
-
while (reader.pos < end) {
|
|
77560
|
-
var tag = reader.uint32();
|
|
77561
|
-
switch (tag >>> 3) {
|
|
77562
|
-
case 1:
|
|
77563
|
-
message.gingerUserId = reader.string();
|
|
77564
|
-
break;
|
|
77565
|
-
case 2:
|
|
77566
|
-
message.headspaceUserId = reader.string();
|
|
77567
|
-
break;
|
|
77568
|
-
case 3:
|
|
77569
|
-
message.fusionUpgradedAt = reader.uint64();
|
|
77570
|
-
break;
|
|
77571
|
-
case 4:
|
|
77572
|
-
message.status = reader.int32();
|
|
77573
|
-
break;
|
|
77574
|
-
case 5:
|
|
77575
|
-
message.hasCompletedOnboarding = reader.bool();
|
|
77576
|
-
break;
|
|
77577
|
-
case 6:
|
|
77578
|
-
message.organizationalUnitId = reader.uint64();
|
|
77579
|
-
break;
|
|
77580
|
-
case 7:
|
|
77581
|
-
message.isStaff = reader.bool();
|
|
77582
|
-
break;
|
|
77583
|
-
case 8:
|
|
77584
|
-
message.registeredAt = reader.uint64();
|
|
77585
|
-
break;
|
|
77586
|
-
default:
|
|
77587
|
-
reader.skipType(tag & 7);
|
|
77588
|
-
break;
|
|
77589
|
-
}
|
|
77590
|
-
}
|
|
77591
|
-
return message;
|
|
77592
|
-
};
|
|
77593
|
-
|
|
77594
|
-
/**
|
|
77595
|
-
* Decodes a GingerUserDomainExported message from the specified reader or buffer, length delimited.
|
|
77596
|
-
* @function decodeDelimited
|
|
77597
|
-
* @memberof GingerUserDomainExported
|
|
77598
|
-
* @static
|
|
77599
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
77600
|
-
* @returns {GingerUserDomainExported} GingerUserDomainExported
|
|
77601
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
77602
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
77603
|
-
*/
|
|
77604
|
-
GingerUserDomainExported.decodeDelimited = function decodeDelimited(reader) {
|
|
77605
|
-
if (!(reader instanceof $Reader))
|
|
77606
|
-
reader = new $Reader(reader);
|
|
77607
|
-
return this.decode(reader, reader.uint32());
|
|
77608
|
-
};
|
|
77609
|
-
|
|
77610
|
-
/**
|
|
77611
|
-
* Verifies a GingerUserDomainExported message.
|
|
77612
|
-
* @function verify
|
|
77613
|
-
* @memberof GingerUserDomainExported
|
|
77614
|
-
* @static
|
|
77615
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
77616
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
77617
|
-
*/
|
|
77618
|
-
GingerUserDomainExported.verify = function verify(message) {
|
|
77619
|
-
if (typeof message !== "object" || message === null)
|
|
77620
|
-
return "object expected";
|
|
77621
|
-
if (message.gingerUserId != null && message.hasOwnProperty("gingerUserId"))
|
|
77622
|
-
if (!$util.isString(message.gingerUserId))
|
|
77623
|
-
return "gingerUserId: string expected";
|
|
77624
|
-
if (message.headspaceUserId != null && message.hasOwnProperty("headspaceUserId"))
|
|
77625
|
-
if (!$util.isString(message.headspaceUserId))
|
|
77626
|
-
return "headspaceUserId: string expected";
|
|
77627
|
-
if (message.fusionUpgradedAt != null && message.hasOwnProperty("fusionUpgradedAt"))
|
|
77628
|
-
if (!$util.isInteger(message.fusionUpgradedAt) && !(message.fusionUpgradedAt && $util.isInteger(message.fusionUpgradedAt.low) && $util.isInteger(message.fusionUpgradedAt.high)))
|
|
77629
|
-
return "fusionUpgradedAt: integer|Long expected";
|
|
77630
|
-
if (message.status != null && message.hasOwnProperty("status"))
|
|
77631
|
-
switch (message.status) {
|
|
77632
|
-
default:
|
|
77633
|
-
return "status: enum value expected";
|
|
77634
|
-
case 0:
|
|
77635
|
-
case 1:
|
|
77636
|
-
case 2:
|
|
77637
|
-
case 3:
|
|
77638
|
-
break;
|
|
77639
|
-
}
|
|
77640
|
-
if (message.hasCompletedOnboarding != null && message.hasOwnProperty("hasCompletedOnboarding"))
|
|
77641
|
-
if (typeof message.hasCompletedOnboarding !== "boolean")
|
|
77642
|
-
return "hasCompletedOnboarding: boolean expected";
|
|
77643
|
-
if (message.organizationalUnitId != null && message.hasOwnProperty("organizationalUnitId"))
|
|
77644
|
-
if (!$util.isInteger(message.organizationalUnitId) && !(message.organizationalUnitId && $util.isInteger(message.organizationalUnitId.low) && $util.isInteger(message.organizationalUnitId.high)))
|
|
77645
|
-
return "organizationalUnitId: integer|Long expected";
|
|
77646
|
-
if (message.isStaff != null && message.hasOwnProperty("isStaff"))
|
|
77647
|
-
if (typeof message.isStaff !== "boolean")
|
|
77648
|
-
return "isStaff: boolean expected";
|
|
77649
|
-
if (message.registeredAt != null && message.hasOwnProperty("registeredAt"))
|
|
77650
|
-
if (!$util.isInteger(message.registeredAt) && !(message.registeredAt && $util.isInteger(message.registeredAt.low) && $util.isInteger(message.registeredAt.high)))
|
|
77651
|
-
return "registeredAt: integer|Long expected";
|
|
77652
|
-
return null;
|
|
77653
|
-
};
|
|
77654
|
-
|
|
77655
|
-
/**
|
|
77656
|
-
* Creates a GingerUserDomainExported message from a plain object. Also converts values to their respective internal types.
|
|
77657
|
-
* @function fromObject
|
|
77658
|
-
* @memberof GingerUserDomainExported
|
|
77659
|
-
* @static
|
|
77660
|
-
* @param {Object.<string,*>} object Plain object
|
|
77661
|
-
* @returns {GingerUserDomainExported} GingerUserDomainExported
|
|
77662
|
-
*/
|
|
77663
|
-
GingerUserDomainExported.fromObject = function fromObject(object) {
|
|
77664
|
-
if (object instanceof $root.GingerUserDomainExported)
|
|
77665
|
-
return object;
|
|
77666
|
-
var message = new $root.GingerUserDomainExported();
|
|
77667
|
-
if (object.gingerUserId != null)
|
|
77668
|
-
message.gingerUserId = String(object.gingerUserId);
|
|
77669
|
-
if (object.headspaceUserId != null)
|
|
77670
|
-
message.headspaceUserId = String(object.headspaceUserId);
|
|
77671
|
-
if (object.fusionUpgradedAt != null)
|
|
77672
|
-
if ($util.Long)
|
|
77673
|
-
(message.fusionUpgradedAt = $util.Long.fromValue(object.fusionUpgradedAt)).unsigned = true;
|
|
77674
|
-
else if (typeof object.fusionUpgradedAt === "string")
|
|
77675
|
-
message.fusionUpgradedAt = parseInt(object.fusionUpgradedAt, 10);
|
|
77676
|
-
else if (typeof object.fusionUpgradedAt === "number")
|
|
77677
|
-
message.fusionUpgradedAt = object.fusionUpgradedAt;
|
|
77678
|
-
else if (typeof object.fusionUpgradedAt === "object")
|
|
77679
|
-
message.fusionUpgradedAt = new $util.LongBits(object.fusionUpgradedAt.low >>> 0, object.fusionUpgradedAt.high >>> 0).toNumber(true);
|
|
77680
|
-
switch (object.status) {
|
|
77681
|
-
case "GINGER_USER_DOMAIN_STATUS_UNKNOWN":
|
|
77682
|
-
case 0:
|
|
77683
|
-
message.status = 0;
|
|
77684
|
-
break;
|
|
77685
|
-
case "GINGER_USER_DOMAIN_STATUS_ACTIVE":
|
|
77686
|
-
case 1:
|
|
77687
|
-
message.status = 1;
|
|
77688
|
-
break;
|
|
77689
|
-
case "GINGER_USER_DOMAIN_STATUS_PENDING":
|
|
77690
|
-
case 2:
|
|
77691
|
-
message.status = 2;
|
|
77692
|
-
break;
|
|
77693
|
-
case "GINGER_USER_DOMAIN_STATUS_DEACTIVATED":
|
|
77694
|
-
case 3:
|
|
77695
|
-
message.status = 3;
|
|
77696
|
-
break;
|
|
77697
|
-
}
|
|
77698
|
-
if (object.hasCompletedOnboarding != null)
|
|
77699
|
-
message.hasCompletedOnboarding = Boolean(object.hasCompletedOnboarding);
|
|
77700
|
-
if (object.organizationalUnitId != null)
|
|
77701
|
-
if ($util.Long)
|
|
77702
|
-
(message.organizationalUnitId = $util.Long.fromValue(object.organizationalUnitId)).unsigned = true;
|
|
77703
|
-
else if (typeof object.organizationalUnitId === "string")
|
|
77704
|
-
message.organizationalUnitId = parseInt(object.organizationalUnitId, 10);
|
|
77705
|
-
else if (typeof object.organizationalUnitId === "number")
|
|
77706
|
-
message.organizationalUnitId = object.organizationalUnitId;
|
|
77707
|
-
else if (typeof object.organizationalUnitId === "object")
|
|
77708
|
-
message.organizationalUnitId = new $util.LongBits(object.organizationalUnitId.low >>> 0, object.organizationalUnitId.high >>> 0).toNumber(true);
|
|
77709
|
-
if (object.isStaff != null)
|
|
77710
|
-
message.isStaff = Boolean(object.isStaff);
|
|
77711
|
-
if (object.registeredAt != null)
|
|
77712
|
-
if ($util.Long)
|
|
77713
|
-
(message.registeredAt = $util.Long.fromValue(object.registeredAt)).unsigned = true;
|
|
77714
|
-
else if (typeof object.registeredAt === "string")
|
|
77715
|
-
message.registeredAt = parseInt(object.registeredAt, 10);
|
|
77716
|
-
else if (typeof object.registeredAt === "number")
|
|
77717
|
-
message.registeredAt = object.registeredAt;
|
|
77718
|
-
else if (typeof object.registeredAt === "object")
|
|
77719
|
-
message.registeredAt = new $util.LongBits(object.registeredAt.low >>> 0, object.registeredAt.high >>> 0).toNumber(true);
|
|
77720
|
-
return message;
|
|
77721
|
-
};
|
|
77722
|
-
|
|
77723
|
-
/**
|
|
77724
|
-
* Creates a plain object from a GingerUserDomainExported message. Also converts values to other types if specified.
|
|
77725
|
-
* @function toObject
|
|
77726
|
-
* @memberof GingerUserDomainExported
|
|
77727
|
-
* @static
|
|
77728
|
-
* @param {GingerUserDomainExported} message GingerUserDomainExported
|
|
77729
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
77730
|
-
* @returns {Object.<string,*>} Plain object
|
|
77731
|
-
*/
|
|
77732
|
-
GingerUserDomainExported.toObject = function toObject(message, options) {
|
|
77733
|
-
if (!options)
|
|
77734
|
-
options = {};
|
|
77735
|
-
var object = {};
|
|
77736
|
-
if (options.defaults) {
|
|
77737
|
-
object.gingerUserId = "";
|
|
77738
|
-
object.headspaceUserId = "";
|
|
77739
|
-
if ($util.Long) {
|
|
77740
|
-
var long = new $util.Long(0, 0, true);
|
|
77741
|
-
object.fusionUpgradedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
77742
|
-
} else
|
|
77743
|
-
object.fusionUpgradedAt = options.longs === String ? "0" : 0;
|
|
77744
|
-
object.status = options.enums === String ? "GINGER_USER_DOMAIN_STATUS_UNKNOWN" : 0;
|
|
77745
|
-
object.hasCompletedOnboarding = false;
|
|
77746
|
-
if ($util.Long) {
|
|
77747
|
-
var long = new $util.Long(0, 0, true);
|
|
77748
|
-
object.organizationalUnitId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
77749
|
-
} else
|
|
77750
|
-
object.organizationalUnitId = options.longs === String ? "0" : 0;
|
|
77751
|
-
object.isStaff = false;
|
|
77752
|
-
if ($util.Long) {
|
|
77753
|
-
var long = new $util.Long(0, 0, true);
|
|
77754
|
-
object.registeredAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
77755
|
-
} else
|
|
77756
|
-
object.registeredAt = options.longs === String ? "0" : 0;
|
|
77757
|
-
}
|
|
77758
|
-
if (message.gingerUserId != null && message.hasOwnProperty("gingerUserId"))
|
|
77759
|
-
object.gingerUserId = message.gingerUserId;
|
|
77760
|
-
if (message.headspaceUserId != null && message.hasOwnProperty("headspaceUserId"))
|
|
77761
|
-
object.headspaceUserId = message.headspaceUserId;
|
|
77762
|
-
if (message.fusionUpgradedAt != null && message.hasOwnProperty("fusionUpgradedAt"))
|
|
77763
|
-
if (typeof message.fusionUpgradedAt === "number")
|
|
77764
|
-
object.fusionUpgradedAt = options.longs === String ? String(message.fusionUpgradedAt) : message.fusionUpgradedAt;
|
|
77765
|
-
else
|
|
77766
|
-
object.fusionUpgradedAt = options.longs === String ? $util.Long.prototype.toString.call(message.fusionUpgradedAt) : options.longs === Number ? new $util.LongBits(message.fusionUpgradedAt.low >>> 0, message.fusionUpgradedAt.high >>> 0).toNumber(true) : message.fusionUpgradedAt;
|
|
77767
|
-
if (message.status != null && message.hasOwnProperty("status"))
|
|
77768
|
-
object.status = options.enums === String ? $root.GingerUserDomainStatus[message.status] : message.status;
|
|
77769
|
-
if (message.hasCompletedOnboarding != null && message.hasOwnProperty("hasCompletedOnboarding"))
|
|
77770
|
-
object.hasCompletedOnboarding = message.hasCompletedOnboarding;
|
|
77771
|
-
if (message.organizationalUnitId != null && message.hasOwnProperty("organizationalUnitId"))
|
|
77772
|
-
if (typeof message.organizationalUnitId === "number")
|
|
77773
|
-
object.organizationalUnitId = options.longs === String ? String(message.organizationalUnitId) : message.organizationalUnitId;
|
|
77774
|
-
else
|
|
77775
|
-
object.organizationalUnitId = options.longs === String ? $util.Long.prototype.toString.call(message.organizationalUnitId) : options.longs === Number ? new $util.LongBits(message.organizationalUnitId.low >>> 0, message.organizationalUnitId.high >>> 0).toNumber(true) : message.organizationalUnitId;
|
|
77776
|
-
if (message.isStaff != null && message.hasOwnProperty("isStaff"))
|
|
77777
|
-
object.isStaff = message.isStaff;
|
|
77778
|
-
if (message.registeredAt != null && message.hasOwnProperty("registeredAt"))
|
|
77779
|
-
if (typeof message.registeredAt === "number")
|
|
77780
|
-
object.registeredAt = options.longs === String ? String(message.registeredAt) : message.registeredAt;
|
|
77781
|
-
else
|
|
77782
|
-
object.registeredAt = options.longs === String ? $util.Long.prototype.toString.call(message.registeredAt) : options.longs === Number ? new $util.LongBits(message.registeredAt.low >>> 0, message.registeredAt.high >>> 0).toNumber(true) : message.registeredAt;
|
|
77783
|
-
return object;
|
|
77784
|
-
};
|
|
77785
|
-
|
|
77786
|
-
/**
|
|
77787
|
-
* Converts this GingerUserDomainExported to JSON.
|
|
77788
|
-
* @function toJSON
|
|
77789
|
-
* @memberof GingerUserDomainExported
|
|
77790
|
-
* @instance
|
|
77791
|
-
* @returns {Object.<string,*>} JSON object
|
|
77792
|
-
*/
|
|
77793
|
-
GingerUserDomainExported.prototype.toJSON = function toJSON() {
|
|
77794
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
77795
|
-
};
|
|
77796
|
-
|
|
77797
|
-
return GingerUserDomainExported;
|
|
77798
|
-
})();
|
|
77799
|
-
|
|
77800
77375
|
$root.UserDomainCreated = (function() {
|
|
77801
77376
|
|
|
77802
77377
|
/**
|
|
@@ -147996,6 +147571,7 @@ $root.EligibilityRecordCreated = (function() {
|
|
|
147996
147571
|
* @property {number|Long|null} [timestamp] EligibilityRecordCreated timestamp
|
|
147997
147572
|
* @property {string|null} [collectiveUuid] EligibilityRecordCreated collectiveUuid
|
|
147998
147573
|
* @property {IEligibilityRecord|null} [eligibilityRecord] EligibilityRecordCreated eligibilityRecord
|
|
147574
|
+
* @property {boolean|null} [isRecordMigrated] EligibilityRecordCreated isRecordMigrated
|
|
147999
147575
|
*/
|
|
148000
147576
|
|
|
148001
147577
|
/**
|
|
@@ -148037,6 +147613,14 @@ $root.EligibilityRecordCreated = (function() {
|
|
|
148037
147613
|
*/
|
|
148038
147614
|
EligibilityRecordCreated.prototype.eligibilityRecord = null;
|
|
148039
147615
|
|
|
147616
|
+
/**
|
|
147617
|
+
* EligibilityRecordCreated isRecordMigrated.
|
|
147618
|
+
* @member {boolean} isRecordMigrated
|
|
147619
|
+
* @memberof EligibilityRecordCreated
|
|
147620
|
+
* @instance
|
|
147621
|
+
*/
|
|
147622
|
+
EligibilityRecordCreated.prototype.isRecordMigrated = false;
|
|
147623
|
+
|
|
148040
147624
|
/**
|
|
148041
147625
|
* Creates a new EligibilityRecordCreated instance using the specified properties.
|
|
148042
147626
|
* @function create
|
|
@@ -148067,6 +147651,8 @@ $root.EligibilityRecordCreated = (function() {
|
|
|
148067
147651
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.collectiveUuid);
|
|
148068
147652
|
if (message.eligibilityRecord != null && message.hasOwnProperty("eligibilityRecord"))
|
|
148069
147653
|
$root.EligibilityRecord.encode(message.eligibilityRecord, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
|
|
147654
|
+
if (message.isRecordMigrated != null && message.hasOwnProperty("isRecordMigrated"))
|
|
147655
|
+
writer.uint32(/* id 7, wireType 0 =*/56).bool(message.isRecordMigrated);
|
|
148070
147656
|
return writer;
|
|
148071
147657
|
};
|
|
148072
147658
|
|
|
@@ -148110,6 +147696,9 @@ $root.EligibilityRecordCreated = (function() {
|
|
|
148110
147696
|
case 6:
|
|
148111
147697
|
message.eligibilityRecord = $root.EligibilityRecord.decode(reader, reader.uint32());
|
|
148112
147698
|
break;
|
|
147699
|
+
case 7:
|
|
147700
|
+
message.isRecordMigrated = reader.bool();
|
|
147701
|
+
break;
|
|
148113
147702
|
default:
|
|
148114
147703
|
reader.skipType(tag & 7);
|
|
148115
147704
|
break;
|
|
@@ -148156,6 +147745,9 @@ $root.EligibilityRecordCreated = (function() {
|
|
|
148156
147745
|
if (error)
|
|
148157
147746
|
return "eligibilityRecord." + error;
|
|
148158
147747
|
}
|
|
147748
|
+
if (message.isRecordMigrated != null && message.hasOwnProperty("isRecordMigrated"))
|
|
147749
|
+
if (typeof message.isRecordMigrated !== "boolean")
|
|
147750
|
+
return "isRecordMigrated: boolean expected";
|
|
148159
147751
|
return null;
|
|
148160
147752
|
};
|
|
148161
147753
|
|
|
@@ -148187,6 +147779,8 @@ $root.EligibilityRecordCreated = (function() {
|
|
|
148187
147779
|
throw TypeError(".EligibilityRecordCreated.eligibilityRecord: object expected");
|
|
148188
147780
|
message.eligibilityRecord = $root.EligibilityRecord.fromObject(object.eligibilityRecord);
|
|
148189
147781
|
}
|
|
147782
|
+
if (object.isRecordMigrated != null)
|
|
147783
|
+
message.isRecordMigrated = Boolean(object.isRecordMigrated);
|
|
148190
147784
|
return message;
|
|
148191
147785
|
};
|
|
148192
147786
|
|
|
@@ -148211,6 +147805,7 @@ $root.EligibilityRecordCreated = (function() {
|
|
|
148211
147805
|
object.timestamp = options.longs === String ? "0" : 0;
|
|
148212
147806
|
object.collectiveUuid = "";
|
|
148213
147807
|
object.eligibilityRecord = null;
|
|
147808
|
+
object.isRecordMigrated = false;
|
|
148214
147809
|
}
|
|
148215
147810
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
148216
147811
|
if (typeof message.timestamp === "number")
|
|
@@ -148221,6 +147816,8 @@ $root.EligibilityRecordCreated = (function() {
|
|
|
148221
147816
|
object.collectiveUuid = message.collectiveUuid;
|
|
148222
147817
|
if (message.eligibilityRecord != null && message.hasOwnProperty("eligibilityRecord"))
|
|
148223
147818
|
object.eligibilityRecord = $root.EligibilityRecord.toObject(message.eligibilityRecord, options);
|
|
147819
|
+
if (message.isRecordMigrated != null && message.hasOwnProperty("isRecordMigrated"))
|
|
147820
|
+
object.isRecordMigrated = message.isRecordMigrated;
|
|
148224
147821
|
return object;
|
|
148225
147822
|
};
|
|
148226
147823
|
|
|
@@ -148247,6 +147844,7 @@ $root.EligibilityRecordUpdated = (function() {
|
|
|
148247
147844
|
* @property {number|Long|null} [timestamp] EligibilityRecordUpdated timestamp
|
|
148248
147845
|
* @property {string|null} [collectiveUuid] EligibilityRecordUpdated collectiveUuid
|
|
148249
147846
|
* @property {IEligibilityRecord|null} [eligibilityRecord] EligibilityRecordUpdated eligibilityRecord
|
|
147847
|
+
* @property {boolean|null} [isRecordMigrated] EligibilityRecordUpdated isRecordMigrated
|
|
148250
147848
|
*/
|
|
148251
147849
|
|
|
148252
147850
|
/**
|
|
@@ -148288,6 +147886,14 @@ $root.EligibilityRecordUpdated = (function() {
|
|
|
148288
147886
|
*/
|
|
148289
147887
|
EligibilityRecordUpdated.prototype.eligibilityRecord = null;
|
|
148290
147888
|
|
|
147889
|
+
/**
|
|
147890
|
+
* EligibilityRecordUpdated isRecordMigrated.
|
|
147891
|
+
* @member {boolean} isRecordMigrated
|
|
147892
|
+
* @memberof EligibilityRecordUpdated
|
|
147893
|
+
* @instance
|
|
147894
|
+
*/
|
|
147895
|
+
EligibilityRecordUpdated.prototype.isRecordMigrated = false;
|
|
147896
|
+
|
|
148291
147897
|
/**
|
|
148292
147898
|
* Creates a new EligibilityRecordUpdated instance using the specified properties.
|
|
148293
147899
|
* @function create
|
|
@@ -148318,6 +147924,8 @@ $root.EligibilityRecordUpdated = (function() {
|
|
|
148318
147924
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.collectiveUuid);
|
|
148319
147925
|
if (message.eligibilityRecord != null && message.hasOwnProperty("eligibilityRecord"))
|
|
148320
147926
|
$root.EligibilityRecord.encode(message.eligibilityRecord, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
|
|
147927
|
+
if (message.isRecordMigrated != null && message.hasOwnProperty("isRecordMigrated"))
|
|
147928
|
+
writer.uint32(/* id 7, wireType 0 =*/56).bool(message.isRecordMigrated);
|
|
148321
147929
|
return writer;
|
|
148322
147930
|
};
|
|
148323
147931
|
|
|
@@ -148361,6 +147969,9 @@ $root.EligibilityRecordUpdated = (function() {
|
|
|
148361
147969
|
case 6:
|
|
148362
147970
|
message.eligibilityRecord = $root.EligibilityRecord.decode(reader, reader.uint32());
|
|
148363
147971
|
break;
|
|
147972
|
+
case 7:
|
|
147973
|
+
message.isRecordMigrated = reader.bool();
|
|
147974
|
+
break;
|
|
148364
147975
|
default:
|
|
148365
147976
|
reader.skipType(tag & 7);
|
|
148366
147977
|
break;
|
|
@@ -148407,6 +148018,9 @@ $root.EligibilityRecordUpdated = (function() {
|
|
|
148407
148018
|
if (error)
|
|
148408
148019
|
return "eligibilityRecord." + error;
|
|
148409
148020
|
}
|
|
148021
|
+
if (message.isRecordMigrated != null && message.hasOwnProperty("isRecordMigrated"))
|
|
148022
|
+
if (typeof message.isRecordMigrated !== "boolean")
|
|
148023
|
+
return "isRecordMigrated: boolean expected";
|
|
148410
148024
|
return null;
|
|
148411
148025
|
};
|
|
148412
148026
|
|
|
@@ -148438,6 +148052,8 @@ $root.EligibilityRecordUpdated = (function() {
|
|
|
148438
148052
|
throw TypeError(".EligibilityRecordUpdated.eligibilityRecord: object expected");
|
|
148439
148053
|
message.eligibilityRecord = $root.EligibilityRecord.fromObject(object.eligibilityRecord);
|
|
148440
148054
|
}
|
|
148055
|
+
if (object.isRecordMigrated != null)
|
|
148056
|
+
message.isRecordMigrated = Boolean(object.isRecordMigrated);
|
|
148441
148057
|
return message;
|
|
148442
148058
|
};
|
|
148443
148059
|
|
|
@@ -148462,6 +148078,7 @@ $root.EligibilityRecordUpdated = (function() {
|
|
|
148462
148078
|
object.timestamp = options.longs === String ? "0" : 0;
|
|
148463
148079
|
object.collectiveUuid = "";
|
|
148464
148080
|
object.eligibilityRecord = null;
|
|
148081
|
+
object.isRecordMigrated = false;
|
|
148465
148082
|
}
|
|
148466
148083
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
148467
148084
|
if (typeof message.timestamp === "number")
|
|
@@ -148472,6 +148089,8 @@ $root.EligibilityRecordUpdated = (function() {
|
|
|
148472
148089
|
object.collectiveUuid = message.collectiveUuid;
|
|
148473
148090
|
if (message.eligibilityRecord != null && message.hasOwnProperty("eligibilityRecord"))
|
|
148474
148091
|
object.eligibilityRecord = $root.EligibilityRecord.toObject(message.eligibilityRecord, options);
|
|
148092
|
+
if (message.isRecordMigrated != null && message.hasOwnProperty("isRecordMigrated"))
|
|
148093
|
+
object.isRecordMigrated = message.isRecordMigrated;
|
|
148475
148094
|
return object;
|
|
148476
148095
|
};
|
|
148477
148096
|
|
package/package.json
CHANGED