@headspace/protos-events 1.622.0 → 1.624.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 +48 -35
- package/lib/index.js +118 -62
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -14433,6 +14433,13 @@ export namespace b2b {
|
|
|
14433
14433
|
CLINICAL_COVERAGE_PROVIDER_WPO = 2,
|
|
14434
14434
|
CLINICAL_COVERAGE_PROVIDER_NONE = 3
|
|
14435
14435
|
}
|
|
14436
|
+
|
|
14437
|
+
/** DependentType enum. */
|
|
14438
|
+
enum DependentType {
|
|
14439
|
+
DEPENDENT_TYPE_UNKNOWN = 0,
|
|
14440
|
+
DEPENDENT_TYPE_INVITED = 1,
|
|
14441
|
+
DEPENDENT_TYPE_ELF = 2
|
|
14442
|
+
}
|
|
14436
14443
|
}
|
|
14437
14444
|
|
|
14438
14445
|
/** Namespace community. */
|
|
@@ -52089,103 +52096,103 @@ export class EligibilityRecordUpdated implements IEligibilityRecordUpdated {
|
|
|
52089
52096
|
public toJSON(): { [k: string]: any };
|
|
52090
52097
|
}
|
|
52091
52098
|
|
|
52092
|
-
/** Properties of an
|
|
52093
|
-
export interface
|
|
52099
|
+
/** Properties of an EligibilityRecordRemoved. */
|
|
52100
|
+
export interface IEligibilityRecordRemoved {
|
|
52094
52101
|
|
|
52095
|
-
/**
|
|
52102
|
+
/** EligibilityRecordRemoved timestamp */
|
|
52096
52103
|
timestamp?: (number|Long|null);
|
|
52097
52104
|
|
|
52098
|
-
/**
|
|
52105
|
+
/** EligibilityRecordRemoved collectiveUuid */
|
|
52099
52106
|
collectiveUuid?: (string|null);
|
|
52100
52107
|
|
|
52101
|
-
/**
|
|
52108
|
+
/** EligibilityRecordRemoved uuid */
|
|
52102
52109
|
uuid?: (string|null);
|
|
52103
52110
|
}
|
|
52104
52111
|
|
|
52105
|
-
/** Represents an
|
|
52106
|
-
export class
|
|
52112
|
+
/** Represents an EligibilityRecordRemoved. */
|
|
52113
|
+
export class EligibilityRecordRemoved implements IEligibilityRecordRemoved {
|
|
52107
52114
|
|
|
52108
52115
|
/**
|
|
52109
|
-
* Constructs a new
|
|
52116
|
+
* Constructs a new EligibilityRecordRemoved.
|
|
52110
52117
|
* @param [properties] Properties to set
|
|
52111
52118
|
*/
|
|
52112
|
-
constructor(properties?:
|
|
52119
|
+
constructor(properties?: IEligibilityRecordRemoved);
|
|
52113
52120
|
|
|
52114
|
-
/**
|
|
52121
|
+
/** EligibilityRecordRemoved timestamp. */
|
|
52115
52122
|
public timestamp: (number|Long);
|
|
52116
52123
|
|
|
52117
|
-
/**
|
|
52124
|
+
/** EligibilityRecordRemoved collectiveUuid. */
|
|
52118
52125
|
public collectiveUuid: string;
|
|
52119
52126
|
|
|
52120
|
-
/**
|
|
52127
|
+
/** EligibilityRecordRemoved uuid. */
|
|
52121
52128
|
public uuid: string;
|
|
52122
52129
|
|
|
52123
52130
|
/**
|
|
52124
|
-
* Creates a new
|
|
52131
|
+
* Creates a new EligibilityRecordRemoved instance using the specified properties.
|
|
52125
52132
|
* @param [properties] Properties to set
|
|
52126
|
-
* @returns
|
|
52133
|
+
* @returns EligibilityRecordRemoved instance
|
|
52127
52134
|
*/
|
|
52128
|
-
public static create(properties?:
|
|
52135
|
+
public static create(properties?: IEligibilityRecordRemoved): EligibilityRecordRemoved;
|
|
52129
52136
|
|
|
52130
52137
|
/**
|
|
52131
|
-
* Encodes the specified
|
|
52132
|
-
* @param message
|
|
52138
|
+
* Encodes the specified EligibilityRecordRemoved message. Does not implicitly {@link EligibilityRecordRemoved.verify|verify} messages.
|
|
52139
|
+
* @param message EligibilityRecordRemoved message or plain object to encode
|
|
52133
52140
|
* @param [writer] Writer to encode to
|
|
52134
52141
|
* @returns Writer
|
|
52135
52142
|
*/
|
|
52136
|
-
public static encode(message:
|
|
52143
|
+
public static encode(message: IEligibilityRecordRemoved, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
52137
52144
|
|
|
52138
52145
|
/**
|
|
52139
|
-
* Encodes the specified
|
|
52140
|
-
* @param message
|
|
52146
|
+
* Encodes the specified EligibilityRecordRemoved message, length delimited. Does not implicitly {@link EligibilityRecordRemoved.verify|verify} messages.
|
|
52147
|
+
* @param message EligibilityRecordRemoved message or plain object to encode
|
|
52141
52148
|
* @param [writer] Writer to encode to
|
|
52142
52149
|
* @returns Writer
|
|
52143
52150
|
*/
|
|
52144
|
-
public static encodeDelimited(message:
|
|
52151
|
+
public static encodeDelimited(message: IEligibilityRecordRemoved, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
52145
52152
|
|
|
52146
52153
|
/**
|
|
52147
|
-
* Decodes an
|
|
52154
|
+
* Decodes an EligibilityRecordRemoved message from the specified reader or buffer.
|
|
52148
52155
|
* @param reader Reader or buffer to decode from
|
|
52149
52156
|
* @param [length] Message length if known beforehand
|
|
52150
|
-
* @returns
|
|
52157
|
+
* @returns EligibilityRecordRemoved
|
|
52151
52158
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
52152
52159
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
52153
52160
|
*/
|
|
52154
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number):
|
|
52161
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): EligibilityRecordRemoved;
|
|
52155
52162
|
|
|
52156
52163
|
/**
|
|
52157
|
-
* Decodes an
|
|
52164
|
+
* Decodes an EligibilityRecordRemoved message from the specified reader or buffer, length delimited.
|
|
52158
52165
|
* @param reader Reader or buffer to decode from
|
|
52159
|
-
* @returns
|
|
52166
|
+
* @returns EligibilityRecordRemoved
|
|
52160
52167
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
52161
52168
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
52162
52169
|
*/
|
|
52163
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)):
|
|
52170
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): EligibilityRecordRemoved;
|
|
52164
52171
|
|
|
52165
52172
|
/**
|
|
52166
|
-
* Verifies an
|
|
52173
|
+
* Verifies an EligibilityRecordRemoved message.
|
|
52167
52174
|
* @param message Plain object to verify
|
|
52168
52175
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
52169
52176
|
*/
|
|
52170
52177
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
52171
52178
|
|
|
52172
52179
|
/**
|
|
52173
|
-
* Creates an
|
|
52180
|
+
* Creates an EligibilityRecordRemoved message from a plain object. Also converts values to their respective internal types.
|
|
52174
52181
|
* @param object Plain object
|
|
52175
|
-
* @returns
|
|
52182
|
+
* @returns EligibilityRecordRemoved
|
|
52176
52183
|
*/
|
|
52177
|
-
public static fromObject(object: { [k: string]: any }):
|
|
52184
|
+
public static fromObject(object: { [k: string]: any }): EligibilityRecordRemoved;
|
|
52178
52185
|
|
|
52179
52186
|
/**
|
|
52180
|
-
* Creates a plain object from an
|
|
52181
|
-
* @param message
|
|
52187
|
+
* Creates a plain object from an EligibilityRecordRemoved message. Also converts values to other types if specified.
|
|
52188
|
+
* @param message EligibilityRecordRemoved
|
|
52182
52189
|
* @param [options] Conversion options
|
|
52183
52190
|
* @returns Plain object
|
|
52184
52191
|
*/
|
|
52185
|
-
public static toObject(message:
|
|
52192
|
+
public static toObject(message: EligibilityRecordRemoved, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
52186
52193
|
|
|
52187
52194
|
/**
|
|
52188
|
-
* Converts this
|
|
52195
|
+
* Converts this EligibilityRecordRemoved to JSON.
|
|
52189
52196
|
* @returns JSON object
|
|
52190
52197
|
*/
|
|
52191
52198
|
public toJSON(): { [k: string]: any };
|
|
@@ -54429,6 +54436,9 @@ export interface IGingerDependentUpgraded {
|
|
|
54429
54436
|
|
|
54430
54437
|
/** GingerDependentUpgraded gracePeriodEndDate */
|
|
54431
54438
|
gracePeriodEndDate?: (number|Long|null);
|
|
54439
|
+
|
|
54440
|
+
/** GingerDependentUpgraded dependentType */
|
|
54441
|
+
dependentType?: (b2b.DependentType|null);
|
|
54432
54442
|
}
|
|
54433
54443
|
|
|
54434
54444
|
/**
|
|
@@ -54480,6 +54490,9 @@ export class GingerDependentUpgraded implements IGingerDependentUpgraded {
|
|
|
54480
54490
|
/** GingerDependentUpgraded gracePeriodEndDate. */
|
|
54481
54491
|
public gracePeriodEndDate: (number|Long);
|
|
54482
54492
|
|
|
54493
|
+
/** GingerDependentUpgraded dependentType. */
|
|
54494
|
+
public dependentType: b2b.DependentType;
|
|
54495
|
+
|
|
54483
54496
|
/**
|
|
54484
54497
|
* Creates a new GingerDependentUpgraded instance using the specified properties.
|
|
54485
54498
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -38443,6 +38443,22 @@ $root.b2b = (function() {
|
|
|
38443
38443
|
return values;
|
|
38444
38444
|
})();
|
|
38445
38445
|
|
|
38446
|
+
/**
|
|
38447
|
+
* DependentType enum.
|
|
38448
|
+
* @name b2b.DependentType
|
|
38449
|
+
* @enum {string}
|
|
38450
|
+
* @property {number} DEPENDENT_TYPE_UNKNOWN=0 DEPENDENT_TYPE_UNKNOWN value
|
|
38451
|
+
* @property {number} DEPENDENT_TYPE_INVITED=1 DEPENDENT_TYPE_INVITED value
|
|
38452
|
+
* @property {number} DEPENDENT_TYPE_ELF=2 DEPENDENT_TYPE_ELF value
|
|
38453
|
+
*/
|
|
38454
|
+
b2b.DependentType = (function() {
|
|
38455
|
+
var valuesById = {}, values = Object.create(valuesById);
|
|
38456
|
+
values[valuesById[0] = "DEPENDENT_TYPE_UNKNOWN"] = 0;
|
|
38457
|
+
values[valuesById[1] = "DEPENDENT_TYPE_INVITED"] = 1;
|
|
38458
|
+
values[valuesById[2] = "DEPENDENT_TYPE_ELF"] = 2;
|
|
38459
|
+
return values;
|
|
38460
|
+
})();
|
|
38461
|
+
|
|
38446
38462
|
return b2b;
|
|
38447
38463
|
})();
|
|
38448
38464
|
|
|
@@ -143828,26 +143844,26 @@ $root.EligibilityRecordUpdated = (function() {
|
|
|
143828
143844
|
return EligibilityRecordUpdated;
|
|
143829
143845
|
})();
|
|
143830
143846
|
|
|
143831
|
-
$root.
|
|
143847
|
+
$root.EligibilityRecordRemoved = (function() {
|
|
143832
143848
|
|
|
143833
143849
|
/**
|
|
143834
|
-
* Properties of an
|
|
143835
|
-
* @name
|
|
143836
|
-
* @interface
|
|
143837
|
-
* @property {number|Long|null} [timestamp]
|
|
143838
|
-
* @property {string|null} [collectiveUuid]
|
|
143839
|
-
* @property {string|null} [uuid]
|
|
143850
|
+
* Properties of an EligibilityRecordRemoved.
|
|
143851
|
+
* @name IEligibilityRecordRemoved
|
|
143852
|
+
* @interface IEligibilityRecordRemoved
|
|
143853
|
+
* @property {number|Long|null} [timestamp] EligibilityRecordRemoved timestamp
|
|
143854
|
+
* @property {string|null} [collectiveUuid] EligibilityRecordRemoved collectiveUuid
|
|
143855
|
+
* @property {string|null} [uuid] EligibilityRecordRemoved uuid
|
|
143840
143856
|
*/
|
|
143841
143857
|
|
|
143842
143858
|
/**
|
|
143843
|
-
* Constructs a new
|
|
143844
|
-
* @name
|
|
143845
|
-
* @classdesc Represents an
|
|
143846
|
-
* @implements
|
|
143859
|
+
* Constructs a new EligibilityRecordRemoved.
|
|
143860
|
+
* @name EligibilityRecordRemoved
|
|
143861
|
+
* @classdesc Represents an EligibilityRecordRemoved.
|
|
143862
|
+
* @implements IEligibilityRecordRemoved
|
|
143847
143863
|
* @constructor
|
|
143848
|
-
* @param {
|
|
143864
|
+
* @param {IEligibilityRecordRemoved=} [properties] Properties to set
|
|
143849
143865
|
*/
|
|
143850
|
-
function
|
|
143866
|
+
function EligibilityRecordRemoved(properties) {
|
|
143851
143867
|
if (properties)
|
|
143852
143868
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
143853
143869
|
if (properties[keys[i]] != null)
|
|
@@ -143855,51 +143871,51 @@ $root.EligibilityRecordDeleted = (function() {
|
|
|
143855
143871
|
}
|
|
143856
143872
|
|
|
143857
143873
|
/**
|
|
143858
|
-
*
|
|
143874
|
+
* EligibilityRecordRemoved timestamp.
|
|
143859
143875
|
* @member {number|Long} timestamp
|
|
143860
|
-
* @memberof
|
|
143876
|
+
* @memberof EligibilityRecordRemoved
|
|
143861
143877
|
* @instance
|
|
143862
143878
|
*/
|
|
143863
|
-
|
|
143879
|
+
EligibilityRecordRemoved.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
143864
143880
|
|
|
143865
143881
|
/**
|
|
143866
|
-
*
|
|
143882
|
+
* EligibilityRecordRemoved collectiveUuid.
|
|
143867
143883
|
* @member {string} collectiveUuid
|
|
143868
|
-
* @memberof
|
|
143884
|
+
* @memberof EligibilityRecordRemoved
|
|
143869
143885
|
* @instance
|
|
143870
143886
|
*/
|
|
143871
|
-
|
|
143887
|
+
EligibilityRecordRemoved.prototype.collectiveUuid = "";
|
|
143872
143888
|
|
|
143873
143889
|
/**
|
|
143874
|
-
*
|
|
143890
|
+
* EligibilityRecordRemoved uuid.
|
|
143875
143891
|
* @member {string} uuid
|
|
143876
|
-
* @memberof
|
|
143892
|
+
* @memberof EligibilityRecordRemoved
|
|
143877
143893
|
* @instance
|
|
143878
143894
|
*/
|
|
143879
|
-
|
|
143895
|
+
EligibilityRecordRemoved.prototype.uuid = "";
|
|
143880
143896
|
|
|
143881
143897
|
/**
|
|
143882
|
-
* Creates a new
|
|
143898
|
+
* Creates a new EligibilityRecordRemoved instance using the specified properties.
|
|
143883
143899
|
* @function create
|
|
143884
|
-
* @memberof
|
|
143900
|
+
* @memberof EligibilityRecordRemoved
|
|
143885
143901
|
* @static
|
|
143886
|
-
* @param {
|
|
143887
|
-
* @returns {
|
|
143902
|
+
* @param {IEligibilityRecordRemoved=} [properties] Properties to set
|
|
143903
|
+
* @returns {EligibilityRecordRemoved} EligibilityRecordRemoved instance
|
|
143888
143904
|
*/
|
|
143889
|
-
|
|
143890
|
-
return new
|
|
143905
|
+
EligibilityRecordRemoved.create = function create(properties) {
|
|
143906
|
+
return new EligibilityRecordRemoved(properties);
|
|
143891
143907
|
};
|
|
143892
143908
|
|
|
143893
143909
|
/**
|
|
143894
|
-
* Encodes the specified
|
|
143910
|
+
* Encodes the specified EligibilityRecordRemoved message. Does not implicitly {@link EligibilityRecordRemoved.verify|verify} messages.
|
|
143895
143911
|
* @function encode
|
|
143896
|
-
* @memberof
|
|
143912
|
+
* @memberof EligibilityRecordRemoved
|
|
143897
143913
|
* @static
|
|
143898
|
-
* @param {
|
|
143914
|
+
* @param {IEligibilityRecordRemoved} message EligibilityRecordRemoved message or plain object to encode
|
|
143899
143915
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
143900
143916
|
* @returns {$protobuf.Writer} Writer
|
|
143901
143917
|
*/
|
|
143902
|
-
|
|
143918
|
+
EligibilityRecordRemoved.encode = function encode(message, writer) {
|
|
143903
143919
|
if (!writer)
|
|
143904
143920
|
writer = $Writer.create();
|
|
143905
143921
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
@@ -143912,33 +143928,33 @@ $root.EligibilityRecordDeleted = (function() {
|
|
|
143912
143928
|
};
|
|
143913
143929
|
|
|
143914
143930
|
/**
|
|
143915
|
-
* Encodes the specified
|
|
143931
|
+
* Encodes the specified EligibilityRecordRemoved message, length delimited. Does not implicitly {@link EligibilityRecordRemoved.verify|verify} messages.
|
|
143916
143932
|
* @function encodeDelimited
|
|
143917
|
-
* @memberof
|
|
143933
|
+
* @memberof EligibilityRecordRemoved
|
|
143918
143934
|
* @static
|
|
143919
|
-
* @param {
|
|
143935
|
+
* @param {IEligibilityRecordRemoved} message EligibilityRecordRemoved message or plain object to encode
|
|
143920
143936
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
143921
143937
|
* @returns {$protobuf.Writer} Writer
|
|
143922
143938
|
*/
|
|
143923
|
-
|
|
143939
|
+
EligibilityRecordRemoved.encodeDelimited = function encodeDelimited(message, writer) {
|
|
143924
143940
|
return this.encode(message, writer).ldelim();
|
|
143925
143941
|
};
|
|
143926
143942
|
|
|
143927
143943
|
/**
|
|
143928
|
-
* Decodes an
|
|
143944
|
+
* Decodes an EligibilityRecordRemoved message from the specified reader or buffer.
|
|
143929
143945
|
* @function decode
|
|
143930
|
-
* @memberof
|
|
143946
|
+
* @memberof EligibilityRecordRemoved
|
|
143931
143947
|
* @static
|
|
143932
143948
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
143933
143949
|
* @param {number} [length] Message length if known beforehand
|
|
143934
|
-
* @returns {
|
|
143950
|
+
* @returns {EligibilityRecordRemoved} EligibilityRecordRemoved
|
|
143935
143951
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
143936
143952
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
143937
143953
|
*/
|
|
143938
|
-
|
|
143954
|
+
EligibilityRecordRemoved.decode = function decode(reader, length) {
|
|
143939
143955
|
if (!(reader instanceof $Reader))
|
|
143940
143956
|
reader = $Reader.create(reader);
|
|
143941
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.
|
|
143957
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.EligibilityRecordRemoved();
|
|
143942
143958
|
while (reader.pos < end) {
|
|
143943
143959
|
var tag = reader.uint32();
|
|
143944
143960
|
switch (tag >>> 3) {
|
|
@@ -143960,30 +143976,30 @@ $root.EligibilityRecordDeleted = (function() {
|
|
|
143960
143976
|
};
|
|
143961
143977
|
|
|
143962
143978
|
/**
|
|
143963
|
-
* Decodes an
|
|
143979
|
+
* Decodes an EligibilityRecordRemoved message from the specified reader or buffer, length delimited.
|
|
143964
143980
|
* @function decodeDelimited
|
|
143965
|
-
* @memberof
|
|
143981
|
+
* @memberof EligibilityRecordRemoved
|
|
143966
143982
|
* @static
|
|
143967
143983
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
143968
|
-
* @returns {
|
|
143984
|
+
* @returns {EligibilityRecordRemoved} EligibilityRecordRemoved
|
|
143969
143985
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
143970
143986
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
143971
143987
|
*/
|
|
143972
|
-
|
|
143988
|
+
EligibilityRecordRemoved.decodeDelimited = function decodeDelimited(reader) {
|
|
143973
143989
|
if (!(reader instanceof $Reader))
|
|
143974
143990
|
reader = new $Reader(reader);
|
|
143975
143991
|
return this.decode(reader, reader.uint32());
|
|
143976
143992
|
};
|
|
143977
143993
|
|
|
143978
143994
|
/**
|
|
143979
|
-
* Verifies an
|
|
143995
|
+
* Verifies an EligibilityRecordRemoved message.
|
|
143980
143996
|
* @function verify
|
|
143981
|
-
* @memberof
|
|
143997
|
+
* @memberof EligibilityRecordRemoved
|
|
143982
143998
|
* @static
|
|
143983
143999
|
* @param {Object.<string,*>} message Plain object to verify
|
|
143984
144000
|
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
143985
144001
|
*/
|
|
143986
|
-
|
|
144002
|
+
EligibilityRecordRemoved.verify = function verify(message) {
|
|
143987
144003
|
if (typeof message !== "object" || message === null)
|
|
143988
144004
|
return "object expected";
|
|
143989
144005
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
@@ -143999,17 +144015,17 @@ $root.EligibilityRecordDeleted = (function() {
|
|
|
143999
144015
|
};
|
|
144000
144016
|
|
|
144001
144017
|
/**
|
|
144002
|
-
* Creates an
|
|
144018
|
+
* Creates an EligibilityRecordRemoved message from a plain object. Also converts values to their respective internal types.
|
|
144003
144019
|
* @function fromObject
|
|
144004
|
-
* @memberof
|
|
144020
|
+
* @memberof EligibilityRecordRemoved
|
|
144005
144021
|
* @static
|
|
144006
144022
|
* @param {Object.<string,*>} object Plain object
|
|
144007
|
-
* @returns {
|
|
144023
|
+
* @returns {EligibilityRecordRemoved} EligibilityRecordRemoved
|
|
144008
144024
|
*/
|
|
144009
|
-
|
|
144010
|
-
if (object instanceof $root.
|
|
144025
|
+
EligibilityRecordRemoved.fromObject = function fromObject(object) {
|
|
144026
|
+
if (object instanceof $root.EligibilityRecordRemoved)
|
|
144011
144027
|
return object;
|
|
144012
|
-
var message = new $root.
|
|
144028
|
+
var message = new $root.EligibilityRecordRemoved();
|
|
144013
144029
|
if (object.timestamp != null)
|
|
144014
144030
|
if ($util.Long)
|
|
144015
144031
|
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
|
|
@@ -144027,15 +144043,15 @@ $root.EligibilityRecordDeleted = (function() {
|
|
|
144027
144043
|
};
|
|
144028
144044
|
|
|
144029
144045
|
/**
|
|
144030
|
-
* Creates a plain object from an
|
|
144046
|
+
* Creates a plain object from an EligibilityRecordRemoved message. Also converts values to other types if specified.
|
|
144031
144047
|
* @function toObject
|
|
144032
|
-
* @memberof
|
|
144048
|
+
* @memberof EligibilityRecordRemoved
|
|
144033
144049
|
* @static
|
|
144034
|
-
* @param {
|
|
144050
|
+
* @param {EligibilityRecordRemoved} message EligibilityRecordRemoved
|
|
144035
144051
|
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
144036
144052
|
* @returns {Object.<string,*>} Plain object
|
|
144037
144053
|
*/
|
|
144038
|
-
|
|
144054
|
+
EligibilityRecordRemoved.toObject = function toObject(message, options) {
|
|
144039
144055
|
if (!options)
|
|
144040
144056
|
options = {};
|
|
144041
144057
|
var object = {};
|
|
@@ -144061,17 +144077,17 @@ $root.EligibilityRecordDeleted = (function() {
|
|
|
144061
144077
|
};
|
|
144062
144078
|
|
|
144063
144079
|
/**
|
|
144064
|
-
* Converts this
|
|
144080
|
+
* Converts this EligibilityRecordRemoved to JSON.
|
|
144065
144081
|
* @function toJSON
|
|
144066
|
-
* @memberof
|
|
144082
|
+
* @memberof EligibilityRecordRemoved
|
|
144067
144083
|
* @instance
|
|
144068
144084
|
* @returns {Object.<string,*>} JSON object
|
|
144069
144085
|
*/
|
|
144070
|
-
|
|
144086
|
+
EligibilityRecordRemoved.prototype.toJSON = function toJSON() {
|
|
144071
144087
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
144072
144088
|
};
|
|
144073
144089
|
|
|
144074
|
-
return
|
|
144090
|
+
return EligibilityRecordRemoved;
|
|
144075
144091
|
})();
|
|
144076
144092
|
|
|
144077
144093
|
$root.EnterpriseUserOnboarded = (function() {
|
|
@@ -151787,6 +151803,7 @@ $root.GingerDependentUpgraded = (function() {
|
|
|
151787
151803
|
* @property {b2b.EnrollmentFlow|null} [enrollmentFlow] GingerDependentUpgraded enrollmentFlow
|
|
151788
151804
|
* @property {number|null} [b2bRootOrgId] GingerDependentUpgraded b2bRootOrgId
|
|
151789
151805
|
* @property {number|Long|null} [gracePeriodEndDate] GingerDependentUpgraded gracePeriodEndDate
|
|
151806
|
+
* @property {b2b.DependentType|null} [dependentType] GingerDependentUpgraded dependentType
|
|
151790
151807
|
*/
|
|
151791
151808
|
|
|
151792
151809
|
/**
|
|
@@ -151902,6 +151919,14 @@ $root.GingerDependentUpgraded = (function() {
|
|
|
151902
151919
|
*/
|
|
151903
151920
|
GingerDependentUpgraded.prototype.gracePeriodEndDate = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
151904
151921
|
|
|
151922
|
+
/**
|
|
151923
|
+
* GingerDependentUpgraded dependentType.
|
|
151924
|
+
* @member {b2b.DependentType} dependentType
|
|
151925
|
+
* @memberof GingerDependentUpgraded
|
|
151926
|
+
* @instance
|
|
151927
|
+
*/
|
|
151928
|
+
GingerDependentUpgraded.prototype.dependentType = 0;
|
|
151929
|
+
|
|
151905
151930
|
/**
|
|
151906
151931
|
* Creates a new GingerDependentUpgraded instance using the specified properties.
|
|
151907
151932
|
* @function create
|
|
@@ -151950,6 +151975,8 @@ $root.GingerDependentUpgraded = (function() {
|
|
|
151950
151975
|
writer.uint32(/* id 11, wireType 0 =*/88).uint32(message.b2bRootOrgId);
|
|
151951
151976
|
if (message.gracePeriodEndDate != null && message.hasOwnProperty("gracePeriodEndDate"))
|
|
151952
151977
|
writer.uint32(/* id 12, wireType 0 =*/96).uint64(message.gracePeriodEndDate);
|
|
151978
|
+
if (message.dependentType != null && message.hasOwnProperty("dependentType"))
|
|
151979
|
+
writer.uint32(/* id 13, wireType 0 =*/104).int32(message.dependentType);
|
|
151953
151980
|
return writer;
|
|
151954
151981
|
};
|
|
151955
151982
|
|
|
@@ -152020,6 +152047,9 @@ $root.GingerDependentUpgraded = (function() {
|
|
|
152020
152047
|
case 12:
|
|
152021
152048
|
message.gracePeriodEndDate = reader.uint64();
|
|
152022
152049
|
break;
|
|
152050
|
+
case 13:
|
|
152051
|
+
message.dependentType = reader.int32();
|
|
152052
|
+
break;
|
|
152023
152053
|
default:
|
|
152024
152054
|
reader.skipType(tag & 7);
|
|
152025
152055
|
break;
|
|
@@ -152109,6 +152139,15 @@ $root.GingerDependentUpgraded = (function() {
|
|
|
152109
152139
|
if (message.gracePeriodEndDate != null && message.hasOwnProperty("gracePeriodEndDate"))
|
|
152110
152140
|
if (!$util.isInteger(message.gracePeriodEndDate) && !(message.gracePeriodEndDate && $util.isInteger(message.gracePeriodEndDate.low) && $util.isInteger(message.gracePeriodEndDate.high)))
|
|
152111
152141
|
return "gracePeriodEndDate: integer|Long expected";
|
|
152142
|
+
if (message.dependentType != null && message.hasOwnProperty("dependentType"))
|
|
152143
|
+
switch (message.dependentType) {
|
|
152144
|
+
default:
|
|
152145
|
+
return "dependentType: enum value expected";
|
|
152146
|
+
case 0:
|
|
152147
|
+
case 1:
|
|
152148
|
+
case 2:
|
|
152149
|
+
break;
|
|
152150
|
+
}
|
|
152112
152151
|
return null;
|
|
152113
152152
|
};
|
|
152114
152153
|
|
|
@@ -152203,6 +152242,20 @@ $root.GingerDependentUpgraded = (function() {
|
|
|
152203
152242
|
message.gracePeriodEndDate = object.gracePeriodEndDate;
|
|
152204
152243
|
else if (typeof object.gracePeriodEndDate === "object")
|
|
152205
152244
|
message.gracePeriodEndDate = new $util.LongBits(object.gracePeriodEndDate.low >>> 0, object.gracePeriodEndDate.high >>> 0).toNumber(true);
|
|
152245
|
+
switch (object.dependentType) {
|
|
152246
|
+
case "DEPENDENT_TYPE_UNKNOWN":
|
|
152247
|
+
case 0:
|
|
152248
|
+
message.dependentType = 0;
|
|
152249
|
+
break;
|
|
152250
|
+
case "DEPENDENT_TYPE_INVITED":
|
|
152251
|
+
case 1:
|
|
152252
|
+
message.dependentType = 1;
|
|
152253
|
+
break;
|
|
152254
|
+
case "DEPENDENT_TYPE_ELF":
|
|
152255
|
+
case 2:
|
|
152256
|
+
message.dependentType = 2;
|
|
152257
|
+
break;
|
|
152258
|
+
}
|
|
152206
152259
|
return message;
|
|
152207
152260
|
};
|
|
152208
152261
|
|
|
@@ -152236,6 +152289,7 @@ $root.GingerDependentUpgraded = (function() {
|
|
|
152236
152289
|
object.gracePeriodEndDate = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
152237
152290
|
} else
|
|
152238
152291
|
object.gracePeriodEndDate = options.longs === String ? "0" : 0;
|
|
152292
|
+
object.dependentType = options.enums === String ? "DEPENDENT_TYPE_UNKNOWN" : 0;
|
|
152239
152293
|
}
|
|
152240
152294
|
if (message.headspaceHealthOrgId != null && message.hasOwnProperty("headspaceHealthOrgId"))
|
|
152241
152295
|
object.headspaceHealthOrgId = message.headspaceHealthOrgId;
|
|
@@ -152264,6 +152318,8 @@ $root.GingerDependentUpgraded = (function() {
|
|
|
152264
152318
|
object.gracePeriodEndDate = options.longs === String ? String(message.gracePeriodEndDate) : message.gracePeriodEndDate;
|
|
152265
152319
|
else
|
|
152266
152320
|
object.gracePeriodEndDate = options.longs === String ? $util.Long.prototype.toString.call(message.gracePeriodEndDate) : options.longs === Number ? new $util.LongBits(message.gracePeriodEndDate.low >>> 0, message.gracePeriodEndDate.high >>> 0).toNumber(true) : message.gracePeriodEndDate;
|
|
152321
|
+
if (message.dependentType != null && message.hasOwnProperty("dependentType"))
|
|
152322
|
+
object.dependentType = options.enums === String ? $root.b2b.DependentType[message.dependentType] : message.dependentType;
|
|
152267
152323
|
return object;
|
|
152268
152324
|
};
|
|
152269
152325
|
|
package/package.json
CHANGED