@headspace/protos-events 1.638.0 → 1.639.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 +120 -0
- package/lib/index.js +312 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -53018,6 +53018,126 @@ export enum EligibilityType {
|
|
|
53018
53018
|
ELIGIBILITY_TYPE_D2C_CARE_UPSELL = 3
|
|
53019
53019
|
}
|
|
53020
53020
|
|
|
53021
|
+
/** Properties of a ChangedEnrollmentComparisonCompleted. */
|
|
53022
|
+
export interface IChangedEnrollmentComparisonCompleted {
|
|
53023
|
+
|
|
53024
|
+
/** ChangedEnrollmentComparisonCompleted timestamp */
|
|
53025
|
+
timestamp?: (number|Long|null);
|
|
53026
|
+
|
|
53027
|
+
/** ChangedEnrollmentComparisonCompleted existingCollectiveUuid */
|
|
53028
|
+
existingCollectiveUuid?: (string|null);
|
|
53029
|
+
|
|
53030
|
+
/** ChangedEnrollmentComparisonCompleted pendingCollectiveUuid */
|
|
53031
|
+
pendingCollectiveUuid?: (string|null);
|
|
53032
|
+
|
|
53033
|
+
/** ChangedEnrollmentComparisonCompleted addedRecords */
|
|
53034
|
+
addedRecords?: (number|null);
|
|
53035
|
+
|
|
53036
|
+
/** ChangedEnrollmentComparisonCompleted removedRecords */
|
|
53037
|
+
removedRecords?: (number|null);
|
|
53038
|
+
|
|
53039
|
+
/** ChangedEnrollmentComparisonCompleted matchedRecords */
|
|
53040
|
+
matchedRecords?: (number|null);
|
|
53041
|
+
}
|
|
53042
|
+
|
|
53043
|
+
/** Represents a ChangedEnrollmentComparisonCompleted. */
|
|
53044
|
+
export class ChangedEnrollmentComparisonCompleted implements IChangedEnrollmentComparisonCompleted {
|
|
53045
|
+
|
|
53046
|
+
/**
|
|
53047
|
+
* Constructs a new ChangedEnrollmentComparisonCompleted.
|
|
53048
|
+
* @param [properties] Properties to set
|
|
53049
|
+
*/
|
|
53050
|
+
constructor(properties?: IChangedEnrollmentComparisonCompleted);
|
|
53051
|
+
|
|
53052
|
+
/** ChangedEnrollmentComparisonCompleted timestamp. */
|
|
53053
|
+
public timestamp: (number|Long);
|
|
53054
|
+
|
|
53055
|
+
/** ChangedEnrollmentComparisonCompleted existingCollectiveUuid. */
|
|
53056
|
+
public existingCollectiveUuid: string;
|
|
53057
|
+
|
|
53058
|
+
/** ChangedEnrollmentComparisonCompleted pendingCollectiveUuid. */
|
|
53059
|
+
public pendingCollectiveUuid: string;
|
|
53060
|
+
|
|
53061
|
+
/** ChangedEnrollmentComparisonCompleted addedRecords. */
|
|
53062
|
+
public addedRecords: number;
|
|
53063
|
+
|
|
53064
|
+
/** ChangedEnrollmentComparisonCompleted removedRecords. */
|
|
53065
|
+
public removedRecords: number;
|
|
53066
|
+
|
|
53067
|
+
/** ChangedEnrollmentComparisonCompleted matchedRecords. */
|
|
53068
|
+
public matchedRecords: number;
|
|
53069
|
+
|
|
53070
|
+
/**
|
|
53071
|
+
* Creates a new ChangedEnrollmentComparisonCompleted instance using the specified properties.
|
|
53072
|
+
* @param [properties] Properties to set
|
|
53073
|
+
* @returns ChangedEnrollmentComparisonCompleted instance
|
|
53074
|
+
*/
|
|
53075
|
+
public static create(properties?: IChangedEnrollmentComparisonCompleted): ChangedEnrollmentComparisonCompleted;
|
|
53076
|
+
|
|
53077
|
+
/**
|
|
53078
|
+
* Encodes the specified ChangedEnrollmentComparisonCompleted message. Does not implicitly {@link ChangedEnrollmentComparisonCompleted.verify|verify} messages.
|
|
53079
|
+
* @param message ChangedEnrollmentComparisonCompleted message or plain object to encode
|
|
53080
|
+
* @param [writer] Writer to encode to
|
|
53081
|
+
* @returns Writer
|
|
53082
|
+
*/
|
|
53083
|
+
public static encode(message: IChangedEnrollmentComparisonCompleted, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
53084
|
+
|
|
53085
|
+
/**
|
|
53086
|
+
* Encodes the specified ChangedEnrollmentComparisonCompleted message, length delimited. Does not implicitly {@link ChangedEnrollmentComparisonCompleted.verify|verify} messages.
|
|
53087
|
+
* @param message ChangedEnrollmentComparisonCompleted message or plain object to encode
|
|
53088
|
+
* @param [writer] Writer to encode to
|
|
53089
|
+
* @returns Writer
|
|
53090
|
+
*/
|
|
53091
|
+
public static encodeDelimited(message: IChangedEnrollmentComparisonCompleted, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
53092
|
+
|
|
53093
|
+
/**
|
|
53094
|
+
* Decodes a ChangedEnrollmentComparisonCompleted message from the specified reader or buffer.
|
|
53095
|
+
* @param reader Reader or buffer to decode from
|
|
53096
|
+
* @param [length] Message length if known beforehand
|
|
53097
|
+
* @returns ChangedEnrollmentComparisonCompleted
|
|
53098
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
53099
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
53100
|
+
*/
|
|
53101
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ChangedEnrollmentComparisonCompleted;
|
|
53102
|
+
|
|
53103
|
+
/**
|
|
53104
|
+
* Decodes a ChangedEnrollmentComparisonCompleted message from the specified reader or buffer, length delimited.
|
|
53105
|
+
* @param reader Reader or buffer to decode from
|
|
53106
|
+
* @returns ChangedEnrollmentComparisonCompleted
|
|
53107
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
53108
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
53109
|
+
*/
|
|
53110
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ChangedEnrollmentComparisonCompleted;
|
|
53111
|
+
|
|
53112
|
+
/**
|
|
53113
|
+
* Verifies a ChangedEnrollmentComparisonCompleted message.
|
|
53114
|
+
* @param message Plain object to verify
|
|
53115
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
53116
|
+
*/
|
|
53117
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
53118
|
+
|
|
53119
|
+
/**
|
|
53120
|
+
* Creates a ChangedEnrollmentComparisonCompleted message from a plain object. Also converts values to their respective internal types.
|
|
53121
|
+
* @param object Plain object
|
|
53122
|
+
* @returns ChangedEnrollmentComparisonCompleted
|
|
53123
|
+
*/
|
|
53124
|
+
public static fromObject(object: { [k: string]: any }): ChangedEnrollmentComparisonCompleted;
|
|
53125
|
+
|
|
53126
|
+
/**
|
|
53127
|
+
* Creates a plain object from a ChangedEnrollmentComparisonCompleted message. Also converts values to other types if specified.
|
|
53128
|
+
* @param message ChangedEnrollmentComparisonCompleted
|
|
53129
|
+
* @param [options] Conversion options
|
|
53130
|
+
* @returns Plain object
|
|
53131
|
+
*/
|
|
53132
|
+
public static toObject(message: ChangedEnrollmentComparisonCompleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
53133
|
+
|
|
53134
|
+
/**
|
|
53135
|
+
* Converts this ChangedEnrollmentComparisonCompleted to JSON.
|
|
53136
|
+
* @returns JSON object
|
|
53137
|
+
*/
|
|
53138
|
+
public toJSON(): { [k: string]: any };
|
|
53139
|
+
}
|
|
53140
|
+
|
|
53021
53141
|
/** Properties of an EnterpriseUserOnboarded. */
|
|
53022
53142
|
export interface IEnterpriseUserOnboarded {
|
|
53023
53143
|
|
package/lib/index.js
CHANGED
|
@@ -146501,6 +146501,318 @@ $root.EligibilityType = (function() {
|
|
|
146501
146501
|
return values;
|
|
146502
146502
|
})();
|
|
146503
146503
|
|
|
146504
|
+
$root.ChangedEnrollmentComparisonCompleted = (function() {
|
|
146505
|
+
|
|
146506
|
+
/**
|
|
146507
|
+
* Properties of a ChangedEnrollmentComparisonCompleted.
|
|
146508
|
+
* @name IChangedEnrollmentComparisonCompleted
|
|
146509
|
+
* @interface IChangedEnrollmentComparisonCompleted
|
|
146510
|
+
* @property {number|Long|null} [timestamp] ChangedEnrollmentComparisonCompleted timestamp
|
|
146511
|
+
* @property {string|null} [existingCollectiveUuid] ChangedEnrollmentComparisonCompleted existingCollectiveUuid
|
|
146512
|
+
* @property {string|null} [pendingCollectiveUuid] ChangedEnrollmentComparisonCompleted pendingCollectiveUuid
|
|
146513
|
+
* @property {number|null} [addedRecords] ChangedEnrollmentComparisonCompleted addedRecords
|
|
146514
|
+
* @property {number|null} [removedRecords] ChangedEnrollmentComparisonCompleted removedRecords
|
|
146515
|
+
* @property {number|null} [matchedRecords] ChangedEnrollmentComparisonCompleted matchedRecords
|
|
146516
|
+
*/
|
|
146517
|
+
|
|
146518
|
+
/**
|
|
146519
|
+
* Constructs a new ChangedEnrollmentComparisonCompleted.
|
|
146520
|
+
* @name ChangedEnrollmentComparisonCompleted
|
|
146521
|
+
* @classdesc Represents a ChangedEnrollmentComparisonCompleted.
|
|
146522
|
+
* @implements IChangedEnrollmentComparisonCompleted
|
|
146523
|
+
* @constructor
|
|
146524
|
+
* @param {IChangedEnrollmentComparisonCompleted=} [properties] Properties to set
|
|
146525
|
+
*/
|
|
146526
|
+
function ChangedEnrollmentComparisonCompleted(properties) {
|
|
146527
|
+
if (properties)
|
|
146528
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
146529
|
+
if (properties[keys[i]] != null)
|
|
146530
|
+
this[keys[i]] = properties[keys[i]];
|
|
146531
|
+
}
|
|
146532
|
+
|
|
146533
|
+
/**
|
|
146534
|
+
* ChangedEnrollmentComparisonCompleted timestamp.
|
|
146535
|
+
* @member {number|Long} timestamp
|
|
146536
|
+
* @memberof ChangedEnrollmentComparisonCompleted
|
|
146537
|
+
* @instance
|
|
146538
|
+
*/
|
|
146539
|
+
ChangedEnrollmentComparisonCompleted.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
146540
|
+
|
|
146541
|
+
/**
|
|
146542
|
+
* ChangedEnrollmentComparisonCompleted existingCollectiveUuid.
|
|
146543
|
+
* @member {string} existingCollectiveUuid
|
|
146544
|
+
* @memberof ChangedEnrollmentComparisonCompleted
|
|
146545
|
+
* @instance
|
|
146546
|
+
*/
|
|
146547
|
+
ChangedEnrollmentComparisonCompleted.prototype.existingCollectiveUuid = "";
|
|
146548
|
+
|
|
146549
|
+
/**
|
|
146550
|
+
* ChangedEnrollmentComparisonCompleted pendingCollectiveUuid.
|
|
146551
|
+
* @member {string} pendingCollectiveUuid
|
|
146552
|
+
* @memberof ChangedEnrollmentComparisonCompleted
|
|
146553
|
+
* @instance
|
|
146554
|
+
*/
|
|
146555
|
+
ChangedEnrollmentComparisonCompleted.prototype.pendingCollectiveUuid = "";
|
|
146556
|
+
|
|
146557
|
+
/**
|
|
146558
|
+
* ChangedEnrollmentComparisonCompleted addedRecords.
|
|
146559
|
+
* @member {number} addedRecords
|
|
146560
|
+
* @memberof ChangedEnrollmentComparisonCompleted
|
|
146561
|
+
* @instance
|
|
146562
|
+
*/
|
|
146563
|
+
ChangedEnrollmentComparisonCompleted.prototype.addedRecords = 0;
|
|
146564
|
+
|
|
146565
|
+
/**
|
|
146566
|
+
* ChangedEnrollmentComparisonCompleted removedRecords.
|
|
146567
|
+
* @member {number} removedRecords
|
|
146568
|
+
* @memberof ChangedEnrollmentComparisonCompleted
|
|
146569
|
+
* @instance
|
|
146570
|
+
*/
|
|
146571
|
+
ChangedEnrollmentComparisonCompleted.prototype.removedRecords = 0;
|
|
146572
|
+
|
|
146573
|
+
/**
|
|
146574
|
+
* ChangedEnrollmentComparisonCompleted matchedRecords.
|
|
146575
|
+
* @member {number} matchedRecords
|
|
146576
|
+
* @memberof ChangedEnrollmentComparisonCompleted
|
|
146577
|
+
* @instance
|
|
146578
|
+
*/
|
|
146579
|
+
ChangedEnrollmentComparisonCompleted.prototype.matchedRecords = 0;
|
|
146580
|
+
|
|
146581
|
+
/**
|
|
146582
|
+
* Creates a new ChangedEnrollmentComparisonCompleted instance using the specified properties.
|
|
146583
|
+
* @function create
|
|
146584
|
+
* @memberof ChangedEnrollmentComparisonCompleted
|
|
146585
|
+
* @static
|
|
146586
|
+
* @param {IChangedEnrollmentComparisonCompleted=} [properties] Properties to set
|
|
146587
|
+
* @returns {ChangedEnrollmentComparisonCompleted} ChangedEnrollmentComparisonCompleted instance
|
|
146588
|
+
*/
|
|
146589
|
+
ChangedEnrollmentComparisonCompleted.create = function create(properties) {
|
|
146590
|
+
return new ChangedEnrollmentComparisonCompleted(properties);
|
|
146591
|
+
};
|
|
146592
|
+
|
|
146593
|
+
/**
|
|
146594
|
+
* Encodes the specified ChangedEnrollmentComparisonCompleted message. Does not implicitly {@link ChangedEnrollmentComparisonCompleted.verify|verify} messages.
|
|
146595
|
+
* @function encode
|
|
146596
|
+
* @memberof ChangedEnrollmentComparisonCompleted
|
|
146597
|
+
* @static
|
|
146598
|
+
* @param {IChangedEnrollmentComparisonCompleted} message ChangedEnrollmentComparisonCompleted message or plain object to encode
|
|
146599
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
146600
|
+
* @returns {$protobuf.Writer} Writer
|
|
146601
|
+
*/
|
|
146602
|
+
ChangedEnrollmentComparisonCompleted.encode = function encode(message, writer) {
|
|
146603
|
+
if (!writer)
|
|
146604
|
+
writer = $Writer.create();
|
|
146605
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
146606
|
+
writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.timestamp);
|
|
146607
|
+
if (message.existingCollectiveUuid != null && message.hasOwnProperty("existingCollectiveUuid"))
|
|
146608
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.existingCollectiveUuid);
|
|
146609
|
+
if (message.pendingCollectiveUuid != null && message.hasOwnProperty("pendingCollectiveUuid"))
|
|
146610
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.pendingCollectiveUuid);
|
|
146611
|
+
if (message.addedRecords != null && message.hasOwnProperty("addedRecords"))
|
|
146612
|
+
writer.uint32(/* id 4, wireType 0 =*/32).uint32(message.addedRecords);
|
|
146613
|
+
if (message.removedRecords != null && message.hasOwnProperty("removedRecords"))
|
|
146614
|
+
writer.uint32(/* id 5, wireType 0 =*/40).uint32(message.removedRecords);
|
|
146615
|
+
if (message.matchedRecords != null && message.hasOwnProperty("matchedRecords"))
|
|
146616
|
+
writer.uint32(/* id 6, wireType 0 =*/48).uint32(message.matchedRecords);
|
|
146617
|
+
return writer;
|
|
146618
|
+
};
|
|
146619
|
+
|
|
146620
|
+
/**
|
|
146621
|
+
* Encodes the specified ChangedEnrollmentComparisonCompleted message, length delimited. Does not implicitly {@link ChangedEnrollmentComparisonCompleted.verify|verify} messages.
|
|
146622
|
+
* @function encodeDelimited
|
|
146623
|
+
* @memberof ChangedEnrollmentComparisonCompleted
|
|
146624
|
+
* @static
|
|
146625
|
+
* @param {IChangedEnrollmentComparisonCompleted} message ChangedEnrollmentComparisonCompleted message or plain object to encode
|
|
146626
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
146627
|
+
* @returns {$protobuf.Writer} Writer
|
|
146628
|
+
*/
|
|
146629
|
+
ChangedEnrollmentComparisonCompleted.encodeDelimited = function encodeDelimited(message, writer) {
|
|
146630
|
+
return this.encode(message, writer).ldelim();
|
|
146631
|
+
};
|
|
146632
|
+
|
|
146633
|
+
/**
|
|
146634
|
+
* Decodes a ChangedEnrollmentComparisonCompleted message from the specified reader or buffer.
|
|
146635
|
+
* @function decode
|
|
146636
|
+
* @memberof ChangedEnrollmentComparisonCompleted
|
|
146637
|
+
* @static
|
|
146638
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
146639
|
+
* @param {number} [length] Message length if known beforehand
|
|
146640
|
+
* @returns {ChangedEnrollmentComparisonCompleted} ChangedEnrollmentComparisonCompleted
|
|
146641
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
146642
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
146643
|
+
*/
|
|
146644
|
+
ChangedEnrollmentComparisonCompleted.decode = function decode(reader, length) {
|
|
146645
|
+
if (!(reader instanceof $Reader))
|
|
146646
|
+
reader = $Reader.create(reader);
|
|
146647
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ChangedEnrollmentComparisonCompleted();
|
|
146648
|
+
while (reader.pos < end) {
|
|
146649
|
+
var tag = reader.uint32();
|
|
146650
|
+
switch (tag >>> 3) {
|
|
146651
|
+
case 1:
|
|
146652
|
+
message.timestamp = reader.uint64();
|
|
146653
|
+
break;
|
|
146654
|
+
case 2:
|
|
146655
|
+
message.existingCollectiveUuid = reader.string();
|
|
146656
|
+
break;
|
|
146657
|
+
case 3:
|
|
146658
|
+
message.pendingCollectiveUuid = reader.string();
|
|
146659
|
+
break;
|
|
146660
|
+
case 4:
|
|
146661
|
+
message.addedRecords = reader.uint32();
|
|
146662
|
+
break;
|
|
146663
|
+
case 5:
|
|
146664
|
+
message.removedRecords = reader.uint32();
|
|
146665
|
+
break;
|
|
146666
|
+
case 6:
|
|
146667
|
+
message.matchedRecords = reader.uint32();
|
|
146668
|
+
break;
|
|
146669
|
+
default:
|
|
146670
|
+
reader.skipType(tag & 7);
|
|
146671
|
+
break;
|
|
146672
|
+
}
|
|
146673
|
+
}
|
|
146674
|
+
return message;
|
|
146675
|
+
};
|
|
146676
|
+
|
|
146677
|
+
/**
|
|
146678
|
+
* Decodes a ChangedEnrollmentComparisonCompleted message from the specified reader or buffer, length delimited.
|
|
146679
|
+
* @function decodeDelimited
|
|
146680
|
+
* @memberof ChangedEnrollmentComparisonCompleted
|
|
146681
|
+
* @static
|
|
146682
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
146683
|
+
* @returns {ChangedEnrollmentComparisonCompleted} ChangedEnrollmentComparisonCompleted
|
|
146684
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
146685
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
146686
|
+
*/
|
|
146687
|
+
ChangedEnrollmentComparisonCompleted.decodeDelimited = function decodeDelimited(reader) {
|
|
146688
|
+
if (!(reader instanceof $Reader))
|
|
146689
|
+
reader = new $Reader(reader);
|
|
146690
|
+
return this.decode(reader, reader.uint32());
|
|
146691
|
+
};
|
|
146692
|
+
|
|
146693
|
+
/**
|
|
146694
|
+
* Verifies a ChangedEnrollmentComparisonCompleted message.
|
|
146695
|
+
* @function verify
|
|
146696
|
+
* @memberof ChangedEnrollmentComparisonCompleted
|
|
146697
|
+
* @static
|
|
146698
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
146699
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
146700
|
+
*/
|
|
146701
|
+
ChangedEnrollmentComparisonCompleted.verify = function verify(message) {
|
|
146702
|
+
if (typeof message !== "object" || message === null)
|
|
146703
|
+
return "object expected";
|
|
146704
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
146705
|
+
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
146706
|
+
return "timestamp: integer|Long expected";
|
|
146707
|
+
if (message.existingCollectiveUuid != null && message.hasOwnProperty("existingCollectiveUuid"))
|
|
146708
|
+
if (!$util.isString(message.existingCollectiveUuid))
|
|
146709
|
+
return "existingCollectiveUuid: string expected";
|
|
146710
|
+
if (message.pendingCollectiveUuid != null && message.hasOwnProperty("pendingCollectiveUuid"))
|
|
146711
|
+
if (!$util.isString(message.pendingCollectiveUuid))
|
|
146712
|
+
return "pendingCollectiveUuid: string expected";
|
|
146713
|
+
if (message.addedRecords != null && message.hasOwnProperty("addedRecords"))
|
|
146714
|
+
if (!$util.isInteger(message.addedRecords))
|
|
146715
|
+
return "addedRecords: integer expected";
|
|
146716
|
+
if (message.removedRecords != null && message.hasOwnProperty("removedRecords"))
|
|
146717
|
+
if (!$util.isInteger(message.removedRecords))
|
|
146718
|
+
return "removedRecords: integer expected";
|
|
146719
|
+
if (message.matchedRecords != null && message.hasOwnProperty("matchedRecords"))
|
|
146720
|
+
if (!$util.isInteger(message.matchedRecords))
|
|
146721
|
+
return "matchedRecords: integer expected";
|
|
146722
|
+
return null;
|
|
146723
|
+
};
|
|
146724
|
+
|
|
146725
|
+
/**
|
|
146726
|
+
* Creates a ChangedEnrollmentComparisonCompleted message from a plain object. Also converts values to their respective internal types.
|
|
146727
|
+
* @function fromObject
|
|
146728
|
+
* @memberof ChangedEnrollmentComparisonCompleted
|
|
146729
|
+
* @static
|
|
146730
|
+
* @param {Object.<string,*>} object Plain object
|
|
146731
|
+
* @returns {ChangedEnrollmentComparisonCompleted} ChangedEnrollmentComparisonCompleted
|
|
146732
|
+
*/
|
|
146733
|
+
ChangedEnrollmentComparisonCompleted.fromObject = function fromObject(object) {
|
|
146734
|
+
if (object instanceof $root.ChangedEnrollmentComparisonCompleted)
|
|
146735
|
+
return object;
|
|
146736
|
+
var message = new $root.ChangedEnrollmentComparisonCompleted();
|
|
146737
|
+
if (object.timestamp != null)
|
|
146738
|
+
if ($util.Long)
|
|
146739
|
+
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
|
|
146740
|
+
else if (typeof object.timestamp === "string")
|
|
146741
|
+
message.timestamp = parseInt(object.timestamp, 10);
|
|
146742
|
+
else if (typeof object.timestamp === "number")
|
|
146743
|
+
message.timestamp = object.timestamp;
|
|
146744
|
+
else if (typeof object.timestamp === "object")
|
|
146745
|
+
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
146746
|
+
if (object.existingCollectiveUuid != null)
|
|
146747
|
+
message.existingCollectiveUuid = String(object.existingCollectiveUuid);
|
|
146748
|
+
if (object.pendingCollectiveUuid != null)
|
|
146749
|
+
message.pendingCollectiveUuid = String(object.pendingCollectiveUuid);
|
|
146750
|
+
if (object.addedRecords != null)
|
|
146751
|
+
message.addedRecords = object.addedRecords >>> 0;
|
|
146752
|
+
if (object.removedRecords != null)
|
|
146753
|
+
message.removedRecords = object.removedRecords >>> 0;
|
|
146754
|
+
if (object.matchedRecords != null)
|
|
146755
|
+
message.matchedRecords = object.matchedRecords >>> 0;
|
|
146756
|
+
return message;
|
|
146757
|
+
};
|
|
146758
|
+
|
|
146759
|
+
/**
|
|
146760
|
+
* Creates a plain object from a ChangedEnrollmentComparisonCompleted message. Also converts values to other types if specified.
|
|
146761
|
+
* @function toObject
|
|
146762
|
+
* @memberof ChangedEnrollmentComparisonCompleted
|
|
146763
|
+
* @static
|
|
146764
|
+
* @param {ChangedEnrollmentComparisonCompleted} message ChangedEnrollmentComparisonCompleted
|
|
146765
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
146766
|
+
* @returns {Object.<string,*>} Plain object
|
|
146767
|
+
*/
|
|
146768
|
+
ChangedEnrollmentComparisonCompleted.toObject = function toObject(message, options) {
|
|
146769
|
+
if (!options)
|
|
146770
|
+
options = {};
|
|
146771
|
+
var object = {};
|
|
146772
|
+
if (options.defaults) {
|
|
146773
|
+
if ($util.Long) {
|
|
146774
|
+
var long = new $util.Long(0, 0, true);
|
|
146775
|
+
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
146776
|
+
} else
|
|
146777
|
+
object.timestamp = options.longs === String ? "0" : 0;
|
|
146778
|
+
object.existingCollectiveUuid = "";
|
|
146779
|
+
object.pendingCollectiveUuid = "";
|
|
146780
|
+
object.addedRecords = 0;
|
|
146781
|
+
object.removedRecords = 0;
|
|
146782
|
+
object.matchedRecords = 0;
|
|
146783
|
+
}
|
|
146784
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
146785
|
+
if (typeof message.timestamp === "number")
|
|
146786
|
+
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
146787
|
+
else
|
|
146788
|
+
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;
|
|
146789
|
+
if (message.existingCollectiveUuid != null && message.hasOwnProperty("existingCollectiveUuid"))
|
|
146790
|
+
object.existingCollectiveUuid = message.existingCollectiveUuid;
|
|
146791
|
+
if (message.pendingCollectiveUuid != null && message.hasOwnProperty("pendingCollectiveUuid"))
|
|
146792
|
+
object.pendingCollectiveUuid = message.pendingCollectiveUuid;
|
|
146793
|
+
if (message.addedRecords != null && message.hasOwnProperty("addedRecords"))
|
|
146794
|
+
object.addedRecords = message.addedRecords;
|
|
146795
|
+
if (message.removedRecords != null && message.hasOwnProperty("removedRecords"))
|
|
146796
|
+
object.removedRecords = message.removedRecords;
|
|
146797
|
+
if (message.matchedRecords != null && message.hasOwnProperty("matchedRecords"))
|
|
146798
|
+
object.matchedRecords = message.matchedRecords;
|
|
146799
|
+
return object;
|
|
146800
|
+
};
|
|
146801
|
+
|
|
146802
|
+
/**
|
|
146803
|
+
* Converts this ChangedEnrollmentComparisonCompleted to JSON.
|
|
146804
|
+
* @function toJSON
|
|
146805
|
+
* @memberof ChangedEnrollmentComparisonCompleted
|
|
146806
|
+
* @instance
|
|
146807
|
+
* @returns {Object.<string,*>} JSON object
|
|
146808
|
+
*/
|
|
146809
|
+
ChangedEnrollmentComparisonCompleted.prototype.toJSON = function toJSON() {
|
|
146810
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
146811
|
+
};
|
|
146812
|
+
|
|
146813
|
+
return ChangedEnrollmentComparisonCompleted;
|
|
146814
|
+
})();
|
|
146815
|
+
|
|
146504
146816
|
$root.EnterpriseUserOnboarded = (function() {
|
|
146505
146817
|
|
|
146506
146818
|
/**
|
package/package.json
CHANGED