@headspace/protos-events 1.655.0 → 1.657.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 +170 -0
- package/lib/index.js +578 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -33163,6 +33163,21 @@ export namespace ClinicalAppointment {
|
|
|
33163
33163
|
|
|
33164
33164
|
/** ClinicalAppointmentMemberReview memberLeftTime */
|
|
33165
33165
|
memberLeftTime?: (number|Long|null);
|
|
33166
|
+
|
|
33167
|
+
/** ClinicalAppointmentMemberReview seenAndHeardRating */
|
|
33168
|
+
seenAndHeardRating?: (number|null);
|
|
33169
|
+
|
|
33170
|
+
/** ClinicalAppointmentMemberReview understoodRating */
|
|
33171
|
+
understoodRating?: (number|null);
|
|
33172
|
+
|
|
33173
|
+
/** ClinicalAppointmentMemberReview feltSupportedRating */
|
|
33174
|
+
feltSupportedRating?: (number|null);
|
|
33175
|
+
|
|
33176
|
+
/** ClinicalAppointmentMemberReview approachRating */
|
|
33177
|
+
approachRating?: (number|null);
|
|
33178
|
+
|
|
33179
|
+
/** ClinicalAppointmentMemberReview variant */
|
|
33180
|
+
variant?: (coaching.ExperimentVariant|null);
|
|
33166
33181
|
}
|
|
33167
33182
|
|
|
33168
33183
|
/** Represents a ClinicalAppointmentMemberReview. */
|
|
@@ -33186,6 +33201,21 @@ export namespace ClinicalAppointment {
|
|
|
33186
33201
|
/** ClinicalAppointmentMemberReview memberLeftTime. */
|
|
33187
33202
|
public memberLeftTime: (number|Long);
|
|
33188
33203
|
|
|
33204
|
+
/** ClinicalAppointmentMemberReview seenAndHeardRating. */
|
|
33205
|
+
public seenAndHeardRating: number;
|
|
33206
|
+
|
|
33207
|
+
/** ClinicalAppointmentMemberReview understoodRating. */
|
|
33208
|
+
public understoodRating: number;
|
|
33209
|
+
|
|
33210
|
+
/** ClinicalAppointmentMemberReview feltSupportedRating. */
|
|
33211
|
+
public feltSupportedRating: number;
|
|
33212
|
+
|
|
33213
|
+
/** ClinicalAppointmentMemberReview approachRating. */
|
|
33214
|
+
public approachRating: number;
|
|
33215
|
+
|
|
33216
|
+
/** ClinicalAppointmentMemberReview variant. */
|
|
33217
|
+
public variant: coaching.ExperimentVariant;
|
|
33218
|
+
|
|
33189
33219
|
/**
|
|
33190
33220
|
* Creates a new ClinicalAppointmentMemberReview instance using the specified properties.
|
|
33191
33221
|
* @param [properties] Properties to set
|
|
@@ -53044,6 +53074,146 @@ export enum EligibilitySourceType {
|
|
|
53044
53074
|
ELIGIBILITY_SOURCE_TYPE_GINGER = 4
|
|
53045
53075
|
}
|
|
53046
53076
|
|
|
53077
|
+
/** IdentityVerificationType enum. */
|
|
53078
|
+
export enum IdentityVerificationType {
|
|
53079
|
+
IDENTITY_VERIFICATION_TYPE_UNKNOWN = 0,
|
|
53080
|
+
IDENTITY_VERIFICATION_TYPE_NONE = 1,
|
|
53081
|
+
IDENTITY_VERIFICATION_TYPE_COUNTRY_DOB = 2,
|
|
53082
|
+
IDENTITY_VERIFICATION_TYPE_LASTNAME_COUNTRY_DOB = 3
|
|
53083
|
+
}
|
|
53084
|
+
|
|
53085
|
+
/** VerificationType enum. */
|
|
53086
|
+
export enum VerificationType {
|
|
53087
|
+
VERIFICATION_TYPE_UNKNOWN = 0,
|
|
53088
|
+
VERIFICATION_TYPE_EMAIL_DOMAIN = 1,
|
|
53089
|
+
VERIFICATION_TYPE_EMAIL = 2,
|
|
53090
|
+
VERIFICATION_TYPE_D2C_COACHING = 3,
|
|
53091
|
+
VERIFICATION_TYPE_D2C_THERAPY = 4,
|
|
53092
|
+
VERIFICATION_TYPE_D2C_CARE_UPSELL = 5,
|
|
53093
|
+
VERIFICATION_TYPE_WORK_ID = 6,
|
|
53094
|
+
VERIFICATION_TYPE_KP_NATIONAL_JWT = 7
|
|
53095
|
+
}
|
|
53096
|
+
|
|
53097
|
+
/** Properties of an EligibilityCollective. */
|
|
53098
|
+
export interface IEligibilityCollective {
|
|
53099
|
+
|
|
53100
|
+
/** EligibilityCollective uuid */
|
|
53101
|
+
uuid?: (string|null);
|
|
53102
|
+
|
|
53103
|
+
/** EligibilityCollective veritificationType */
|
|
53104
|
+
veritificationType?: (VerificationType|null);
|
|
53105
|
+
|
|
53106
|
+
/** EligibilityCollective identityVeritificationType */
|
|
53107
|
+
identityVeritificationType?: (IdentityVerificationType|null);
|
|
53108
|
+
|
|
53109
|
+
/** EligibilityCollective createdAtTimestamp */
|
|
53110
|
+
createdAtTimestamp?: (number|Long|null);
|
|
53111
|
+
|
|
53112
|
+
/** EligibilityCollective updatedAtTimestamp */
|
|
53113
|
+
updatedAtTimestamp?: (number|Long|null);
|
|
53114
|
+
|
|
53115
|
+
/** EligibilityCollective deletedAtTimestamp */
|
|
53116
|
+
deletedAtTimestamp?: (number|Long|null);
|
|
53117
|
+
}
|
|
53118
|
+
|
|
53119
|
+
/** Represents an EligibilityCollective. */
|
|
53120
|
+
export class EligibilityCollective implements IEligibilityCollective {
|
|
53121
|
+
|
|
53122
|
+
/**
|
|
53123
|
+
* Constructs a new EligibilityCollective.
|
|
53124
|
+
* @param [properties] Properties to set
|
|
53125
|
+
*/
|
|
53126
|
+
constructor(properties?: IEligibilityCollective);
|
|
53127
|
+
|
|
53128
|
+
/** EligibilityCollective uuid. */
|
|
53129
|
+
public uuid: string;
|
|
53130
|
+
|
|
53131
|
+
/** EligibilityCollective veritificationType. */
|
|
53132
|
+
public veritificationType: VerificationType;
|
|
53133
|
+
|
|
53134
|
+
/** EligibilityCollective identityVeritificationType. */
|
|
53135
|
+
public identityVeritificationType: IdentityVerificationType;
|
|
53136
|
+
|
|
53137
|
+
/** EligibilityCollective createdAtTimestamp. */
|
|
53138
|
+
public createdAtTimestamp: (number|Long);
|
|
53139
|
+
|
|
53140
|
+
/** EligibilityCollective updatedAtTimestamp. */
|
|
53141
|
+
public updatedAtTimestamp: (number|Long);
|
|
53142
|
+
|
|
53143
|
+
/** EligibilityCollective deletedAtTimestamp. */
|
|
53144
|
+
public deletedAtTimestamp: (number|Long);
|
|
53145
|
+
|
|
53146
|
+
/**
|
|
53147
|
+
* Creates a new EligibilityCollective instance using the specified properties.
|
|
53148
|
+
* @param [properties] Properties to set
|
|
53149
|
+
* @returns EligibilityCollective instance
|
|
53150
|
+
*/
|
|
53151
|
+
public static create(properties?: IEligibilityCollective): EligibilityCollective;
|
|
53152
|
+
|
|
53153
|
+
/**
|
|
53154
|
+
* Encodes the specified EligibilityCollective message. Does not implicitly {@link EligibilityCollective.verify|verify} messages.
|
|
53155
|
+
* @param message EligibilityCollective message or plain object to encode
|
|
53156
|
+
* @param [writer] Writer to encode to
|
|
53157
|
+
* @returns Writer
|
|
53158
|
+
*/
|
|
53159
|
+
public static encode(message: IEligibilityCollective, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
53160
|
+
|
|
53161
|
+
/**
|
|
53162
|
+
* Encodes the specified EligibilityCollective message, length delimited. Does not implicitly {@link EligibilityCollective.verify|verify} messages.
|
|
53163
|
+
* @param message EligibilityCollective message or plain object to encode
|
|
53164
|
+
* @param [writer] Writer to encode to
|
|
53165
|
+
* @returns Writer
|
|
53166
|
+
*/
|
|
53167
|
+
public static encodeDelimited(message: IEligibilityCollective, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
53168
|
+
|
|
53169
|
+
/**
|
|
53170
|
+
* Decodes an EligibilityCollective message from the specified reader or buffer.
|
|
53171
|
+
* @param reader Reader or buffer to decode from
|
|
53172
|
+
* @param [length] Message length if known beforehand
|
|
53173
|
+
* @returns EligibilityCollective
|
|
53174
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
53175
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
53176
|
+
*/
|
|
53177
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): EligibilityCollective;
|
|
53178
|
+
|
|
53179
|
+
/**
|
|
53180
|
+
* Decodes an EligibilityCollective message from the specified reader or buffer, length delimited.
|
|
53181
|
+
* @param reader Reader or buffer to decode from
|
|
53182
|
+
* @returns EligibilityCollective
|
|
53183
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
53184
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
53185
|
+
*/
|
|
53186
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): EligibilityCollective;
|
|
53187
|
+
|
|
53188
|
+
/**
|
|
53189
|
+
* Verifies an EligibilityCollective message.
|
|
53190
|
+
* @param message Plain object to verify
|
|
53191
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
53192
|
+
*/
|
|
53193
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
53194
|
+
|
|
53195
|
+
/**
|
|
53196
|
+
* Creates an EligibilityCollective message from a plain object. Also converts values to their respective internal types.
|
|
53197
|
+
* @param object Plain object
|
|
53198
|
+
* @returns EligibilityCollective
|
|
53199
|
+
*/
|
|
53200
|
+
public static fromObject(object: { [k: string]: any }): EligibilityCollective;
|
|
53201
|
+
|
|
53202
|
+
/**
|
|
53203
|
+
* Creates a plain object from an EligibilityCollective message. Also converts values to other types if specified.
|
|
53204
|
+
* @param message EligibilityCollective
|
|
53205
|
+
* @param [options] Conversion options
|
|
53206
|
+
* @returns Plain object
|
|
53207
|
+
*/
|
|
53208
|
+
public static toObject(message: EligibilityCollective, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
53209
|
+
|
|
53210
|
+
/**
|
|
53211
|
+
* Converts this EligibilityCollective to JSON.
|
|
53212
|
+
* @returns JSON object
|
|
53213
|
+
*/
|
|
53214
|
+
public toJSON(): { [k: string]: any };
|
|
53215
|
+
}
|
|
53216
|
+
|
|
53047
53217
|
/** Properties of a PartnershipMemberEnrolled. */
|
|
53048
53218
|
export interface IPartnershipMemberEnrolled {
|
|
53049
53219
|
|
package/lib/index.js
CHANGED
|
@@ -94977,6 +94977,11 @@ $root.ClinicalAppointment = (function() {
|
|
|
94977
94977
|
* @property {number|Long|null} [memberRatingSubmittedTime] ClinicalAppointmentMemberReview memberRatingSubmittedTime
|
|
94978
94978
|
* @property {string|null} [memberComment] ClinicalAppointmentMemberReview memberComment
|
|
94979
94979
|
* @property {number|Long|null} [memberLeftTime] ClinicalAppointmentMemberReview memberLeftTime
|
|
94980
|
+
* @property {number|null} [seenAndHeardRating] ClinicalAppointmentMemberReview seenAndHeardRating
|
|
94981
|
+
* @property {number|null} [understoodRating] ClinicalAppointmentMemberReview understoodRating
|
|
94982
|
+
* @property {number|null} [feltSupportedRating] ClinicalAppointmentMemberReview feltSupportedRating
|
|
94983
|
+
* @property {number|null} [approachRating] ClinicalAppointmentMemberReview approachRating
|
|
94984
|
+
* @property {coaching.ExperimentVariant|null} [variant] ClinicalAppointmentMemberReview variant
|
|
94980
94985
|
*/
|
|
94981
94986
|
|
|
94982
94987
|
/**
|
|
@@ -95026,6 +95031,46 @@ $root.ClinicalAppointment = (function() {
|
|
|
95026
95031
|
*/
|
|
95027
95032
|
ClinicalAppointmentMemberReview.prototype.memberLeftTime = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
95028
95033
|
|
|
95034
|
+
/**
|
|
95035
|
+
* ClinicalAppointmentMemberReview seenAndHeardRating.
|
|
95036
|
+
* @member {number} seenAndHeardRating
|
|
95037
|
+
* @memberof ClinicalAppointment.ClinicalAppointmentMemberReview
|
|
95038
|
+
* @instance
|
|
95039
|
+
*/
|
|
95040
|
+
ClinicalAppointmentMemberReview.prototype.seenAndHeardRating = 0;
|
|
95041
|
+
|
|
95042
|
+
/**
|
|
95043
|
+
* ClinicalAppointmentMemberReview understoodRating.
|
|
95044
|
+
* @member {number} understoodRating
|
|
95045
|
+
* @memberof ClinicalAppointment.ClinicalAppointmentMemberReview
|
|
95046
|
+
* @instance
|
|
95047
|
+
*/
|
|
95048
|
+
ClinicalAppointmentMemberReview.prototype.understoodRating = 0;
|
|
95049
|
+
|
|
95050
|
+
/**
|
|
95051
|
+
* ClinicalAppointmentMemberReview feltSupportedRating.
|
|
95052
|
+
* @member {number} feltSupportedRating
|
|
95053
|
+
* @memberof ClinicalAppointment.ClinicalAppointmentMemberReview
|
|
95054
|
+
* @instance
|
|
95055
|
+
*/
|
|
95056
|
+
ClinicalAppointmentMemberReview.prototype.feltSupportedRating = 0;
|
|
95057
|
+
|
|
95058
|
+
/**
|
|
95059
|
+
* ClinicalAppointmentMemberReview approachRating.
|
|
95060
|
+
* @member {number} approachRating
|
|
95061
|
+
* @memberof ClinicalAppointment.ClinicalAppointmentMemberReview
|
|
95062
|
+
* @instance
|
|
95063
|
+
*/
|
|
95064
|
+
ClinicalAppointmentMemberReview.prototype.approachRating = 0;
|
|
95065
|
+
|
|
95066
|
+
/**
|
|
95067
|
+
* ClinicalAppointmentMemberReview variant.
|
|
95068
|
+
* @member {coaching.ExperimentVariant} variant
|
|
95069
|
+
* @memberof ClinicalAppointment.ClinicalAppointmentMemberReview
|
|
95070
|
+
* @instance
|
|
95071
|
+
*/
|
|
95072
|
+
ClinicalAppointmentMemberReview.prototype.variant = 0;
|
|
95073
|
+
|
|
95029
95074
|
/**
|
|
95030
95075
|
* Creates a new ClinicalAppointmentMemberReview instance using the specified properties.
|
|
95031
95076
|
* @function create
|
|
@@ -95058,6 +95103,16 @@ $root.ClinicalAppointment = (function() {
|
|
|
95058
95103
|
writer.uint32(/* id 3, wireType 2 =*/26).string(message.memberComment);
|
|
95059
95104
|
if (message.memberLeftTime != null && message.hasOwnProperty("memberLeftTime"))
|
|
95060
95105
|
writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.memberLeftTime);
|
|
95106
|
+
if (message.seenAndHeardRating != null && message.hasOwnProperty("seenAndHeardRating"))
|
|
95107
|
+
writer.uint32(/* id 5, wireType 0 =*/40).int32(message.seenAndHeardRating);
|
|
95108
|
+
if (message.understoodRating != null && message.hasOwnProperty("understoodRating"))
|
|
95109
|
+
writer.uint32(/* id 6, wireType 0 =*/48).int32(message.understoodRating);
|
|
95110
|
+
if (message.feltSupportedRating != null && message.hasOwnProperty("feltSupportedRating"))
|
|
95111
|
+
writer.uint32(/* id 7, wireType 0 =*/56).int32(message.feltSupportedRating);
|
|
95112
|
+
if (message.approachRating != null && message.hasOwnProperty("approachRating"))
|
|
95113
|
+
writer.uint32(/* id 8, wireType 0 =*/64).int32(message.approachRating);
|
|
95114
|
+
if (message.variant != null && message.hasOwnProperty("variant"))
|
|
95115
|
+
writer.uint32(/* id 9, wireType 0 =*/72).int32(message.variant);
|
|
95061
95116
|
return writer;
|
|
95062
95117
|
};
|
|
95063
95118
|
|
|
@@ -95104,6 +95159,21 @@ $root.ClinicalAppointment = (function() {
|
|
|
95104
95159
|
case 4:
|
|
95105
95160
|
message.memberLeftTime = reader.uint64();
|
|
95106
95161
|
break;
|
|
95162
|
+
case 5:
|
|
95163
|
+
message.seenAndHeardRating = reader.int32();
|
|
95164
|
+
break;
|
|
95165
|
+
case 6:
|
|
95166
|
+
message.understoodRating = reader.int32();
|
|
95167
|
+
break;
|
|
95168
|
+
case 7:
|
|
95169
|
+
message.feltSupportedRating = reader.int32();
|
|
95170
|
+
break;
|
|
95171
|
+
case 8:
|
|
95172
|
+
message.approachRating = reader.int32();
|
|
95173
|
+
break;
|
|
95174
|
+
case 9:
|
|
95175
|
+
message.variant = reader.int32();
|
|
95176
|
+
break;
|
|
95107
95177
|
default:
|
|
95108
95178
|
reader.skipType(tag & 7);
|
|
95109
95179
|
break;
|
|
@@ -95151,6 +95221,27 @@ $root.ClinicalAppointment = (function() {
|
|
|
95151
95221
|
if (message.memberLeftTime != null && message.hasOwnProperty("memberLeftTime"))
|
|
95152
95222
|
if (!$util.isInteger(message.memberLeftTime) && !(message.memberLeftTime && $util.isInteger(message.memberLeftTime.low) && $util.isInteger(message.memberLeftTime.high)))
|
|
95153
95223
|
return "memberLeftTime: integer|Long expected";
|
|
95224
|
+
if (message.seenAndHeardRating != null && message.hasOwnProperty("seenAndHeardRating"))
|
|
95225
|
+
if (!$util.isInteger(message.seenAndHeardRating))
|
|
95226
|
+
return "seenAndHeardRating: integer expected";
|
|
95227
|
+
if (message.understoodRating != null && message.hasOwnProperty("understoodRating"))
|
|
95228
|
+
if (!$util.isInteger(message.understoodRating))
|
|
95229
|
+
return "understoodRating: integer expected";
|
|
95230
|
+
if (message.feltSupportedRating != null && message.hasOwnProperty("feltSupportedRating"))
|
|
95231
|
+
if (!$util.isInteger(message.feltSupportedRating))
|
|
95232
|
+
return "feltSupportedRating: integer expected";
|
|
95233
|
+
if (message.approachRating != null && message.hasOwnProperty("approachRating"))
|
|
95234
|
+
if (!$util.isInteger(message.approachRating))
|
|
95235
|
+
return "approachRating: integer expected";
|
|
95236
|
+
if (message.variant != null && message.hasOwnProperty("variant"))
|
|
95237
|
+
switch (message.variant) {
|
|
95238
|
+
default:
|
|
95239
|
+
return "variant: enum value expected";
|
|
95240
|
+
case 0:
|
|
95241
|
+
case 1:
|
|
95242
|
+
case 2:
|
|
95243
|
+
break;
|
|
95244
|
+
}
|
|
95154
95245
|
return null;
|
|
95155
95246
|
};
|
|
95156
95247
|
|
|
@@ -95188,6 +95279,28 @@ $root.ClinicalAppointment = (function() {
|
|
|
95188
95279
|
message.memberLeftTime = object.memberLeftTime;
|
|
95189
95280
|
else if (typeof object.memberLeftTime === "object")
|
|
95190
95281
|
message.memberLeftTime = new $util.LongBits(object.memberLeftTime.low >>> 0, object.memberLeftTime.high >>> 0).toNumber(true);
|
|
95282
|
+
if (object.seenAndHeardRating != null)
|
|
95283
|
+
message.seenAndHeardRating = object.seenAndHeardRating | 0;
|
|
95284
|
+
if (object.understoodRating != null)
|
|
95285
|
+
message.understoodRating = object.understoodRating | 0;
|
|
95286
|
+
if (object.feltSupportedRating != null)
|
|
95287
|
+
message.feltSupportedRating = object.feltSupportedRating | 0;
|
|
95288
|
+
if (object.approachRating != null)
|
|
95289
|
+
message.approachRating = object.approachRating | 0;
|
|
95290
|
+
switch (object.variant) {
|
|
95291
|
+
case "EXPERIMENT_VARIANT_UNKNOWN":
|
|
95292
|
+
case 0:
|
|
95293
|
+
message.variant = 0;
|
|
95294
|
+
break;
|
|
95295
|
+
case "EXPERIMENT_VARIANT_A":
|
|
95296
|
+
case 1:
|
|
95297
|
+
message.variant = 1;
|
|
95298
|
+
break;
|
|
95299
|
+
case "EXPERIMENT_VARIANT_B":
|
|
95300
|
+
case 2:
|
|
95301
|
+
message.variant = 2;
|
|
95302
|
+
break;
|
|
95303
|
+
}
|
|
95191
95304
|
return message;
|
|
95192
95305
|
};
|
|
95193
95306
|
|
|
@@ -95217,6 +95330,11 @@ $root.ClinicalAppointment = (function() {
|
|
|
95217
95330
|
object.memberLeftTime = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
95218
95331
|
} else
|
|
95219
95332
|
object.memberLeftTime = options.longs === String ? "0" : 0;
|
|
95333
|
+
object.seenAndHeardRating = 0;
|
|
95334
|
+
object.understoodRating = 0;
|
|
95335
|
+
object.feltSupportedRating = 0;
|
|
95336
|
+
object.approachRating = 0;
|
|
95337
|
+
object.variant = options.enums === String ? "EXPERIMENT_VARIANT_UNKNOWN" : 0;
|
|
95220
95338
|
}
|
|
95221
95339
|
if (message.memberRating != null && message.hasOwnProperty("memberRating"))
|
|
95222
95340
|
object.memberRating = message.memberRating;
|
|
@@ -95232,6 +95350,16 @@ $root.ClinicalAppointment = (function() {
|
|
|
95232
95350
|
object.memberLeftTime = options.longs === String ? String(message.memberLeftTime) : message.memberLeftTime;
|
|
95233
95351
|
else
|
|
95234
95352
|
object.memberLeftTime = options.longs === String ? $util.Long.prototype.toString.call(message.memberLeftTime) : options.longs === Number ? new $util.LongBits(message.memberLeftTime.low >>> 0, message.memberLeftTime.high >>> 0).toNumber(true) : message.memberLeftTime;
|
|
95353
|
+
if (message.seenAndHeardRating != null && message.hasOwnProperty("seenAndHeardRating"))
|
|
95354
|
+
object.seenAndHeardRating = message.seenAndHeardRating;
|
|
95355
|
+
if (message.understoodRating != null && message.hasOwnProperty("understoodRating"))
|
|
95356
|
+
object.understoodRating = message.understoodRating;
|
|
95357
|
+
if (message.feltSupportedRating != null && message.hasOwnProperty("feltSupportedRating"))
|
|
95358
|
+
object.feltSupportedRating = message.feltSupportedRating;
|
|
95359
|
+
if (message.approachRating != null && message.hasOwnProperty("approachRating"))
|
|
95360
|
+
object.approachRating = message.approachRating;
|
|
95361
|
+
if (message.variant != null && message.hasOwnProperty("variant"))
|
|
95362
|
+
object.variant = options.enums === String ? $root.coaching.ExperimentVariant[message.variant] : message.variant;
|
|
95235
95363
|
return object;
|
|
95236
95364
|
};
|
|
95237
95365
|
|
|
@@ -146845,6 +146973,456 @@ $root.EligibilitySourceType = (function() {
|
|
|
146845
146973
|
return values;
|
|
146846
146974
|
})();
|
|
146847
146975
|
|
|
146976
|
+
/**
|
|
146977
|
+
* IdentityVerificationType enum.
|
|
146978
|
+
* @name IdentityVerificationType
|
|
146979
|
+
* @enum {string}
|
|
146980
|
+
* @property {number} IDENTITY_VERIFICATION_TYPE_UNKNOWN=0 IDENTITY_VERIFICATION_TYPE_UNKNOWN value
|
|
146981
|
+
* @property {number} IDENTITY_VERIFICATION_TYPE_NONE=1 IDENTITY_VERIFICATION_TYPE_NONE value
|
|
146982
|
+
* @property {number} IDENTITY_VERIFICATION_TYPE_COUNTRY_DOB=2 IDENTITY_VERIFICATION_TYPE_COUNTRY_DOB value
|
|
146983
|
+
* @property {number} IDENTITY_VERIFICATION_TYPE_LASTNAME_COUNTRY_DOB=3 IDENTITY_VERIFICATION_TYPE_LASTNAME_COUNTRY_DOB value
|
|
146984
|
+
*/
|
|
146985
|
+
$root.IdentityVerificationType = (function() {
|
|
146986
|
+
var valuesById = {}, values = Object.create(valuesById);
|
|
146987
|
+
values[valuesById[0] = "IDENTITY_VERIFICATION_TYPE_UNKNOWN"] = 0;
|
|
146988
|
+
values[valuesById[1] = "IDENTITY_VERIFICATION_TYPE_NONE"] = 1;
|
|
146989
|
+
values[valuesById[2] = "IDENTITY_VERIFICATION_TYPE_COUNTRY_DOB"] = 2;
|
|
146990
|
+
values[valuesById[3] = "IDENTITY_VERIFICATION_TYPE_LASTNAME_COUNTRY_DOB"] = 3;
|
|
146991
|
+
return values;
|
|
146992
|
+
})();
|
|
146993
|
+
|
|
146994
|
+
/**
|
|
146995
|
+
* VerificationType enum.
|
|
146996
|
+
* @name VerificationType
|
|
146997
|
+
* @enum {string}
|
|
146998
|
+
* @property {number} VERIFICATION_TYPE_UNKNOWN=0 VERIFICATION_TYPE_UNKNOWN value
|
|
146999
|
+
* @property {number} VERIFICATION_TYPE_EMAIL_DOMAIN=1 VERIFICATION_TYPE_EMAIL_DOMAIN value
|
|
147000
|
+
* @property {number} VERIFICATION_TYPE_EMAIL=2 VERIFICATION_TYPE_EMAIL value
|
|
147001
|
+
* @property {number} VERIFICATION_TYPE_D2C_COACHING=3 VERIFICATION_TYPE_D2C_COACHING value
|
|
147002
|
+
* @property {number} VERIFICATION_TYPE_D2C_THERAPY=4 VERIFICATION_TYPE_D2C_THERAPY value
|
|
147003
|
+
* @property {number} VERIFICATION_TYPE_D2C_CARE_UPSELL=5 VERIFICATION_TYPE_D2C_CARE_UPSELL value
|
|
147004
|
+
* @property {number} VERIFICATION_TYPE_WORK_ID=6 VERIFICATION_TYPE_WORK_ID value
|
|
147005
|
+
* @property {number} VERIFICATION_TYPE_KP_NATIONAL_JWT=7 VERIFICATION_TYPE_KP_NATIONAL_JWT value
|
|
147006
|
+
*/
|
|
147007
|
+
$root.VerificationType = (function() {
|
|
147008
|
+
var valuesById = {}, values = Object.create(valuesById);
|
|
147009
|
+
values[valuesById[0] = "VERIFICATION_TYPE_UNKNOWN"] = 0;
|
|
147010
|
+
values[valuesById[1] = "VERIFICATION_TYPE_EMAIL_DOMAIN"] = 1;
|
|
147011
|
+
values[valuesById[2] = "VERIFICATION_TYPE_EMAIL"] = 2;
|
|
147012
|
+
values[valuesById[3] = "VERIFICATION_TYPE_D2C_COACHING"] = 3;
|
|
147013
|
+
values[valuesById[4] = "VERIFICATION_TYPE_D2C_THERAPY"] = 4;
|
|
147014
|
+
values[valuesById[5] = "VERIFICATION_TYPE_D2C_CARE_UPSELL"] = 5;
|
|
147015
|
+
values[valuesById[6] = "VERIFICATION_TYPE_WORK_ID"] = 6;
|
|
147016
|
+
values[valuesById[7] = "VERIFICATION_TYPE_KP_NATIONAL_JWT"] = 7;
|
|
147017
|
+
return values;
|
|
147018
|
+
})();
|
|
147019
|
+
|
|
147020
|
+
$root.EligibilityCollective = (function() {
|
|
147021
|
+
|
|
147022
|
+
/**
|
|
147023
|
+
* Properties of an EligibilityCollective.
|
|
147024
|
+
* @name IEligibilityCollective
|
|
147025
|
+
* @interface IEligibilityCollective
|
|
147026
|
+
* @property {string|null} [uuid] EligibilityCollective uuid
|
|
147027
|
+
* @property {VerificationType|null} [veritificationType] EligibilityCollective veritificationType
|
|
147028
|
+
* @property {IdentityVerificationType|null} [identityVeritificationType] EligibilityCollective identityVeritificationType
|
|
147029
|
+
* @property {number|Long|null} [createdAtTimestamp] EligibilityCollective createdAtTimestamp
|
|
147030
|
+
* @property {number|Long|null} [updatedAtTimestamp] EligibilityCollective updatedAtTimestamp
|
|
147031
|
+
* @property {number|Long|null} [deletedAtTimestamp] EligibilityCollective deletedAtTimestamp
|
|
147032
|
+
*/
|
|
147033
|
+
|
|
147034
|
+
/**
|
|
147035
|
+
* Constructs a new EligibilityCollective.
|
|
147036
|
+
* @name EligibilityCollective
|
|
147037
|
+
* @classdesc Represents an EligibilityCollective.
|
|
147038
|
+
* @implements IEligibilityCollective
|
|
147039
|
+
* @constructor
|
|
147040
|
+
* @param {IEligibilityCollective=} [properties] Properties to set
|
|
147041
|
+
*/
|
|
147042
|
+
function EligibilityCollective(properties) {
|
|
147043
|
+
if (properties)
|
|
147044
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
147045
|
+
if (properties[keys[i]] != null)
|
|
147046
|
+
this[keys[i]] = properties[keys[i]];
|
|
147047
|
+
}
|
|
147048
|
+
|
|
147049
|
+
/**
|
|
147050
|
+
* EligibilityCollective uuid.
|
|
147051
|
+
* @member {string} uuid
|
|
147052
|
+
* @memberof EligibilityCollective
|
|
147053
|
+
* @instance
|
|
147054
|
+
*/
|
|
147055
|
+
EligibilityCollective.prototype.uuid = "";
|
|
147056
|
+
|
|
147057
|
+
/**
|
|
147058
|
+
* EligibilityCollective veritificationType.
|
|
147059
|
+
* @member {VerificationType} veritificationType
|
|
147060
|
+
* @memberof EligibilityCollective
|
|
147061
|
+
* @instance
|
|
147062
|
+
*/
|
|
147063
|
+
EligibilityCollective.prototype.veritificationType = 0;
|
|
147064
|
+
|
|
147065
|
+
/**
|
|
147066
|
+
* EligibilityCollective identityVeritificationType.
|
|
147067
|
+
* @member {IdentityVerificationType} identityVeritificationType
|
|
147068
|
+
* @memberof EligibilityCollective
|
|
147069
|
+
* @instance
|
|
147070
|
+
*/
|
|
147071
|
+
EligibilityCollective.prototype.identityVeritificationType = 0;
|
|
147072
|
+
|
|
147073
|
+
/**
|
|
147074
|
+
* EligibilityCollective createdAtTimestamp.
|
|
147075
|
+
* @member {number|Long} createdAtTimestamp
|
|
147076
|
+
* @memberof EligibilityCollective
|
|
147077
|
+
* @instance
|
|
147078
|
+
*/
|
|
147079
|
+
EligibilityCollective.prototype.createdAtTimestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
147080
|
+
|
|
147081
|
+
/**
|
|
147082
|
+
* EligibilityCollective updatedAtTimestamp.
|
|
147083
|
+
* @member {number|Long} updatedAtTimestamp
|
|
147084
|
+
* @memberof EligibilityCollective
|
|
147085
|
+
* @instance
|
|
147086
|
+
*/
|
|
147087
|
+
EligibilityCollective.prototype.updatedAtTimestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
147088
|
+
|
|
147089
|
+
/**
|
|
147090
|
+
* EligibilityCollective deletedAtTimestamp.
|
|
147091
|
+
* @member {number|Long} deletedAtTimestamp
|
|
147092
|
+
* @memberof EligibilityCollective
|
|
147093
|
+
* @instance
|
|
147094
|
+
*/
|
|
147095
|
+
EligibilityCollective.prototype.deletedAtTimestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
147096
|
+
|
|
147097
|
+
/**
|
|
147098
|
+
* Creates a new EligibilityCollective instance using the specified properties.
|
|
147099
|
+
* @function create
|
|
147100
|
+
* @memberof EligibilityCollective
|
|
147101
|
+
* @static
|
|
147102
|
+
* @param {IEligibilityCollective=} [properties] Properties to set
|
|
147103
|
+
* @returns {EligibilityCollective} EligibilityCollective instance
|
|
147104
|
+
*/
|
|
147105
|
+
EligibilityCollective.create = function create(properties) {
|
|
147106
|
+
return new EligibilityCollective(properties);
|
|
147107
|
+
};
|
|
147108
|
+
|
|
147109
|
+
/**
|
|
147110
|
+
* Encodes the specified EligibilityCollective message. Does not implicitly {@link EligibilityCollective.verify|verify} messages.
|
|
147111
|
+
* @function encode
|
|
147112
|
+
* @memberof EligibilityCollective
|
|
147113
|
+
* @static
|
|
147114
|
+
* @param {IEligibilityCollective} message EligibilityCollective message or plain object to encode
|
|
147115
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
147116
|
+
* @returns {$protobuf.Writer} Writer
|
|
147117
|
+
*/
|
|
147118
|
+
EligibilityCollective.encode = function encode(message, writer) {
|
|
147119
|
+
if (!writer)
|
|
147120
|
+
writer = $Writer.create();
|
|
147121
|
+
if (message.uuid != null && message.hasOwnProperty("uuid"))
|
|
147122
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.uuid);
|
|
147123
|
+
if (message.veritificationType != null && message.hasOwnProperty("veritificationType"))
|
|
147124
|
+
writer.uint32(/* id 2, wireType 0 =*/16).int32(message.veritificationType);
|
|
147125
|
+
if (message.identityVeritificationType != null && message.hasOwnProperty("identityVeritificationType"))
|
|
147126
|
+
writer.uint32(/* id 3, wireType 0 =*/24).int32(message.identityVeritificationType);
|
|
147127
|
+
if (message.createdAtTimestamp != null && message.hasOwnProperty("createdAtTimestamp"))
|
|
147128
|
+
writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.createdAtTimestamp);
|
|
147129
|
+
if (message.updatedAtTimestamp != null && message.hasOwnProperty("updatedAtTimestamp"))
|
|
147130
|
+
writer.uint32(/* id 5, wireType 0 =*/40).uint64(message.updatedAtTimestamp);
|
|
147131
|
+
if (message.deletedAtTimestamp != null && message.hasOwnProperty("deletedAtTimestamp"))
|
|
147132
|
+
writer.uint32(/* id 6, wireType 0 =*/48).uint64(message.deletedAtTimestamp);
|
|
147133
|
+
return writer;
|
|
147134
|
+
};
|
|
147135
|
+
|
|
147136
|
+
/**
|
|
147137
|
+
* Encodes the specified EligibilityCollective message, length delimited. Does not implicitly {@link EligibilityCollective.verify|verify} messages.
|
|
147138
|
+
* @function encodeDelimited
|
|
147139
|
+
* @memberof EligibilityCollective
|
|
147140
|
+
* @static
|
|
147141
|
+
* @param {IEligibilityCollective} message EligibilityCollective message or plain object to encode
|
|
147142
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
147143
|
+
* @returns {$protobuf.Writer} Writer
|
|
147144
|
+
*/
|
|
147145
|
+
EligibilityCollective.encodeDelimited = function encodeDelimited(message, writer) {
|
|
147146
|
+
return this.encode(message, writer).ldelim();
|
|
147147
|
+
};
|
|
147148
|
+
|
|
147149
|
+
/**
|
|
147150
|
+
* Decodes an EligibilityCollective message from the specified reader or buffer.
|
|
147151
|
+
* @function decode
|
|
147152
|
+
* @memberof EligibilityCollective
|
|
147153
|
+
* @static
|
|
147154
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
147155
|
+
* @param {number} [length] Message length if known beforehand
|
|
147156
|
+
* @returns {EligibilityCollective} EligibilityCollective
|
|
147157
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
147158
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
147159
|
+
*/
|
|
147160
|
+
EligibilityCollective.decode = function decode(reader, length) {
|
|
147161
|
+
if (!(reader instanceof $Reader))
|
|
147162
|
+
reader = $Reader.create(reader);
|
|
147163
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.EligibilityCollective();
|
|
147164
|
+
while (reader.pos < end) {
|
|
147165
|
+
var tag = reader.uint32();
|
|
147166
|
+
switch (tag >>> 3) {
|
|
147167
|
+
case 1:
|
|
147168
|
+
message.uuid = reader.string();
|
|
147169
|
+
break;
|
|
147170
|
+
case 2:
|
|
147171
|
+
message.veritificationType = reader.int32();
|
|
147172
|
+
break;
|
|
147173
|
+
case 3:
|
|
147174
|
+
message.identityVeritificationType = reader.int32();
|
|
147175
|
+
break;
|
|
147176
|
+
case 4:
|
|
147177
|
+
message.createdAtTimestamp = reader.uint64();
|
|
147178
|
+
break;
|
|
147179
|
+
case 5:
|
|
147180
|
+
message.updatedAtTimestamp = reader.uint64();
|
|
147181
|
+
break;
|
|
147182
|
+
case 6:
|
|
147183
|
+
message.deletedAtTimestamp = reader.uint64();
|
|
147184
|
+
break;
|
|
147185
|
+
default:
|
|
147186
|
+
reader.skipType(tag & 7);
|
|
147187
|
+
break;
|
|
147188
|
+
}
|
|
147189
|
+
}
|
|
147190
|
+
return message;
|
|
147191
|
+
};
|
|
147192
|
+
|
|
147193
|
+
/**
|
|
147194
|
+
* Decodes an EligibilityCollective message from the specified reader or buffer, length delimited.
|
|
147195
|
+
* @function decodeDelimited
|
|
147196
|
+
* @memberof EligibilityCollective
|
|
147197
|
+
* @static
|
|
147198
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
147199
|
+
* @returns {EligibilityCollective} EligibilityCollective
|
|
147200
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
147201
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
147202
|
+
*/
|
|
147203
|
+
EligibilityCollective.decodeDelimited = function decodeDelimited(reader) {
|
|
147204
|
+
if (!(reader instanceof $Reader))
|
|
147205
|
+
reader = new $Reader(reader);
|
|
147206
|
+
return this.decode(reader, reader.uint32());
|
|
147207
|
+
};
|
|
147208
|
+
|
|
147209
|
+
/**
|
|
147210
|
+
* Verifies an EligibilityCollective message.
|
|
147211
|
+
* @function verify
|
|
147212
|
+
* @memberof EligibilityCollective
|
|
147213
|
+
* @static
|
|
147214
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
147215
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
147216
|
+
*/
|
|
147217
|
+
EligibilityCollective.verify = function verify(message) {
|
|
147218
|
+
if (typeof message !== "object" || message === null)
|
|
147219
|
+
return "object expected";
|
|
147220
|
+
if (message.uuid != null && message.hasOwnProperty("uuid"))
|
|
147221
|
+
if (!$util.isString(message.uuid))
|
|
147222
|
+
return "uuid: string expected";
|
|
147223
|
+
if (message.veritificationType != null && message.hasOwnProperty("veritificationType"))
|
|
147224
|
+
switch (message.veritificationType) {
|
|
147225
|
+
default:
|
|
147226
|
+
return "veritificationType: enum value expected";
|
|
147227
|
+
case 0:
|
|
147228
|
+
case 1:
|
|
147229
|
+
case 2:
|
|
147230
|
+
case 3:
|
|
147231
|
+
case 4:
|
|
147232
|
+
case 5:
|
|
147233
|
+
case 6:
|
|
147234
|
+
case 7:
|
|
147235
|
+
break;
|
|
147236
|
+
}
|
|
147237
|
+
if (message.identityVeritificationType != null && message.hasOwnProperty("identityVeritificationType"))
|
|
147238
|
+
switch (message.identityVeritificationType) {
|
|
147239
|
+
default:
|
|
147240
|
+
return "identityVeritificationType: enum value expected";
|
|
147241
|
+
case 0:
|
|
147242
|
+
case 1:
|
|
147243
|
+
case 2:
|
|
147244
|
+
case 3:
|
|
147245
|
+
break;
|
|
147246
|
+
}
|
|
147247
|
+
if (message.createdAtTimestamp != null && message.hasOwnProperty("createdAtTimestamp"))
|
|
147248
|
+
if (!$util.isInteger(message.createdAtTimestamp) && !(message.createdAtTimestamp && $util.isInteger(message.createdAtTimestamp.low) && $util.isInteger(message.createdAtTimestamp.high)))
|
|
147249
|
+
return "createdAtTimestamp: integer|Long expected";
|
|
147250
|
+
if (message.updatedAtTimestamp != null && message.hasOwnProperty("updatedAtTimestamp"))
|
|
147251
|
+
if (!$util.isInteger(message.updatedAtTimestamp) && !(message.updatedAtTimestamp && $util.isInteger(message.updatedAtTimestamp.low) && $util.isInteger(message.updatedAtTimestamp.high)))
|
|
147252
|
+
return "updatedAtTimestamp: integer|Long expected";
|
|
147253
|
+
if (message.deletedAtTimestamp != null && message.hasOwnProperty("deletedAtTimestamp"))
|
|
147254
|
+
if (!$util.isInteger(message.deletedAtTimestamp) && !(message.deletedAtTimestamp && $util.isInteger(message.deletedAtTimestamp.low) && $util.isInteger(message.deletedAtTimestamp.high)))
|
|
147255
|
+
return "deletedAtTimestamp: integer|Long expected";
|
|
147256
|
+
return null;
|
|
147257
|
+
};
|
|
147258
|
+
|
|
147259
|
+
/**
|
|
147260
|
+
* Creates an EligibilityCollective message from a plain object. Also converts values to their respective internal types.
|
|
147261
|
+
* @function fromObject
|
|
147262
|
+
* @memberof EligibilityCollective
|
|
147263
|
+
* @static
|
|
147264
|
+
* @param {Object.<string,*>} object Plain object
|
|
147265
|
+
* @returns {EligibilityCollective} EligibilityCollective
|
|
147266
|
+
*/
|
|
147267
|
+
EligibilityCollective.fromObject = function fromObject(object) {
|
|
147268
|
+
if (object instanceof $root.EligibilityCollective)
|
|
147269
|
+
return object;
|
|
147270
|
+
var message = new $root.EligibilityCollective();
|
|
147271
|
+
if (object.uuid != null)
|
|
147272
|
+
message.uuid = String(object.uuid);
|
|
147273
|
+
switch (object.veritificationType) {
|
|
147274
|
+
case "VERIFICATION_TYPE_UNKNOWN":
|
|
147275
|
+
case 0:
|
|
147276
|
+
message.veritificationType = 0;
|
|
147277
|
+
break;
|
|
147278
|
+
case "VERIFICATION_TYPE_EMAIL_DOMAIN":
|
|
147279
|
+
case 1:
|
|
147280
|
+
message.veritificationType = 1;
|
|
147281
|
+
break;
|
|
147282
|
+
case "VERIFICATION_TYPE_EMAIL":
|
|
147283
|
+
case 2:
|
|
147284
|
+
message.veritificationType = 2;
|
|
147285
|
+
break;
|
|
147286
|
+
case "VERIFICATION_TYPE_D2C_COACHING":
|
|
147287
|
+
case 3:
|
|
147288
|
+
message.veritificationType = 3;
|
|
147289
|
+
break;
|
|
147290
|
+
case "VERIFICATION_TYPE_D2C_THERAPY":
|
|
147291
|
+
case 4:
|
|
147292
|
+
message.veritificationType = 4;
|
|
147293
|
+
break;
|
|
147294
|
+
case "VERIFICATION_TYPE_D2C_CARE_UPSELL":
|
|
147295
|
+
case 5:
|
|
147296
|
+
message.veritificationType = 5;
|
|
147297
|
+
break;
|
|
147298
|
+
case "VERIFICATION_TYPE_WORK_ID":
|
|
147299
|
+
case 6:
|
|
147300
|
+
message.veritificationType = 6;
|
|
147301
|
+
break;
|
|
147302
|
+
case "VERIFICATION_TYPE_KP_NATIONAL_JWT":
|
|
147303
|
+
case 7:
|
|
147304
|
+
message.veritificationType = 7;
|
|
147305
|
+
break;
|
|
147306
|
+
}
|
|
147307
|
+
switch (object.identityVeritificationType) {
|
|
147308
|
+
case "IDENTITY_VERIFICATION_TYPE_UNKNOWN":
|
|
147309
|
+
case 0:
|
|
147310
|
+
message.identityVeritificationType = 0;
|
|
147311
|
+
break;
|
|
147312
|
+
case "IDENTITY_VERIFICATION_TYPE_NONE":
|
|
147313
|
+
case 1:
|
|
147314
|
+
message.identityVeritificationType = 1;
|
|
147315
|
+
break;
|
|
147316
|
+
case "IDENTITY_VERIFICATION_TYPE_COUNTRY_DOB":
|
|
147317
|
+
case 2:
|
|
147318
|
+
message.identityVeritificationType = 2;
|
|
147319
|
+
break;
|
|
147320
|
+
case "IDENTITY_VERIFICATION_TYPE_LASTNAME_COUNTRY_DOB":
|
|
147321
|
+
case 3:
|
|
147322
|
+
message.identityVeritificationType = 3;
|
|
147323
|
+
break;
|
|
147324
|
+
}
|
|
147325
|
+
if (object.createdAtTimestamp != null)
|
|
147326
|
+
if ($util.Long)
|
|
147327
|
+
(message.createdAtTimestamp = $util.Long.fromValue(object.createdAtTimestamp)).unsigned = true;
|
|
147328
|
+
else if (typeof object.createdAtTimestamp === "string")
|
|
147329
|
+
message.createdAtTimestamp = parseInt(object.createdAtTimestamp, 10);
|
|
147330
|
+
else if (typeof object.createdAtTimestamp === "number")
|
|
147331
|
+
message.createdAtTimestamp = object.createdAtTimestamp;
|
|
147332
|
+
else if (typeof object.createdAtTimestamp === "object")
|
|
147333
|
+
message.createdAtTimestamp = new $util.LongBits(object.createdAtTimestamp.low >>> 0, object.createdAtTimestamp.high >>> 0).toNumber(true);
|
|
147334
|
+
if (object.updatedAtTimestamp != null)
|
|
147335
|
+
if ($util.Long)
|
|
147336
|
+
(message.updatedAtTimestamp = $util.Long.fromValue(object.updatedAtTimestamp)).unsigned = true;
|
|
147337
|
+
else if (typeof object.updatedAtTimestamp === "string")
|
|
147338
|
+
message.updatedAtTimestamp = parseInt(object.updatedAtTimestamp, 10);
|
|
147339
|
+
else if (typeof object.updatedAtTimestamp === "number")
|
|
147340
|
+
message.updatedAtTimestamp = object.updatedAtTimestamp;
|
|
147341
|
+
else if (typeof object.updatedAtTimestamp === "object")
|
|
147342
|
+
message.updatedAtTimestamp = new $util.LongBits(object.updatedAtTimestamp.low >>> 0, object.updatedAtTimestamp.high >>> 0).toNumber(true);
|
|
147343
|
+
if (object.deletedAtTimestamp != null)
|
|
147344
|
+
if ($util.Long)
|
|
147345
|
+
(message.deletedAtTimestamp = $util.Long.fromValue(object.deletedAtTimestamp)).unsigned = true;
|
|
147346
|
+
else if (typeof object.deletedAtTimestamp === "string")
|
|
147347
|
+
message.deletedAtTimestamp = parseInt(object.deletedAtTimestamp, 10);
|
|
147348
|
+
else if (typeof object.deletedAtTimestamp === "number")
|
|
147349
|
+
message.deletedAtTimestamp = object.deletedAtTimestamp;
|
|
147350
|
+
else if (typeof object.deletedAtTimestamp === "object")
|
|
147351
|
+
message.deletedAtTimestamp = new $util.LongBits(object.deletedAtTimestamp.low >>> 0, object.deletedAtTimestamp.high >>> 0).toNumber(true);
|
|
147352
|
+
return message;
|
|
147353
|
+
};
|
|
147354
|
+
|
|
147355
|
+
/**
|
|
147356
|
+
* Creates a plain object from an EligibilityCollective message. Also converts values to other types if specified.
|
|
147357
|
+
* @function toObject
|
|
147358
|
+
* @memberof EligibilityCollective
|
|
147359
|
+
* @static
|
|
147360
|
+
* @param {EligibilityCollective} message EligibilityCollective
|
|
147361
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
147362
|
+
* @returns {Object.<string,*>} Plain object
|
|
147363
|
+
*/
|
|
147364
|
+
EligibilityCollective.toObject = function toObject(message, options) {
|
|
147365
|
+
if (!options)
|
|
147366
|
+
options = {};
|
|
147367
|
+
var object = {};
|
|
147368
|
+
if (options.defaults) {
|
|
147369
|
+
object.uuid = "";
|
|
147370
|
+
object.veritificationType = options.enums === String ? "VERIFICATION_TYPE_UNKNOWN" : 0;
|
|
147371
|
+
object.identityVeritificationType = options.enums === String ? "IDENTITY_VERIFICATION_TYPE_UNKNOWN" : 0;
|
|
147372
|
+
if ($util.Long) {
|
|
147373
|
+
var long = new $util.Long(0, 0, true);
|
|
147374
|
+
object.createdAtTimestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
147375
|
+
} else
|
|
147376
|
+
object.createdAtTimestamp = options.longs === String ? "0" : 0;
|
|
147377
|
+
if ($util.Long) {
|
|
147378
|
+
var long = new $util.Long(0, 0, true);
|
|
147379
|
+
object.updatedAtTimestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
147380
|
+
} else
|
|
147381
|
+
object.updatedAtTimestamp = options.longs === String ? "0" : 0;
|
|
147382
|
+
if ($util.Long) {
|
|
147383
|
+
var long = new $util.Long(0, 0, true);
|
|
147384
|
+
object.deletedAtTimestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
147385
|
+
} else
|
|
147386
|
+
object.deletedAtTimestamp = options.longs === String ? "0" : 0;
|
|
147387
|
+
}
|
|
147388
|
+
if (message.uuid != null && message.hasOwnProperty("uuid"))
|
|
147389
|
+
object.uuid = message.uuid;
|
|
147390
|
+
if (message.veritificationType != null && message.hasOwnProperty("veritificationType"))
|
|
147391
|
+
object.veritificationType = options.enums === String ? $root.VerificationType[message.veritificationType] : message.veritificationType;
|
|
147392
|
+
if (message.identityVeritificationType != null && message.hasOwnProperty("identityVeritificationType"))
|
|
147393
|
+
object.identityVeritificationType = options.enums === String ? $root.IdentityVerificationType[message.identityVeritificationType] : message.identityVeritificationType;
|
|
147394
|
+
if (message.createdAtTimestamp != null && message.hasOwnProperty("createdAtTimestamp"))
|
|
147395
|
+
if (typeof message.createdAtTimestamp === "number")
|
|
147396
|
+
object.createdAtTimestamp = options.longs === String ? String(message.createdAtTimestamp) : message.createdAtTimestamp;
|
|
147397
|
+
else
|
|
147398
|
+
object.createdAtTimestamp = options.longs === String ? $util.Long.prototype.toString.call(message.createdAtTimestamp) : options.longs === Number ? new $util.LongBits(message.createdAtTimestamp.low >>> 0, message.createdAtTimestamp.high >>> 0).toNumber(true) : message.createdAtTimestamp;
|
|
147399
|
+
if (message.updatedAtTimestamp != null && message.hasOwnProperty("updatedAtTimestamp"))
|
|
147400
|
+
if (typeof message.updatedAtTimestamp === "number")
|
|
147401
|
+
object.updatedAtTimestamp = options.longs === String ? String(message.updatedAtTimestamp) : message.updatedAtTimestamp;
|
|
147402
|
+
else
|
|
147403
|
+
object.updatedAtTimestamp = options.longs === String ? $util.Long.prototype.toString.call(message.updatedAtTimestamp) : options.longs === Number ? new $util.LongBits(message.updatedAtTimestamp.low >>> 0, message.updatedAtTimestamp.high >>> 0).toNumber(true) : message.updatedAtTimestamp;
|
|
147404
|
+
if (message.deletedAtTimestamp != null && message.hasOwnProperty("deletedAtTimestamp"))
|
|
147405
|
+
if (typeof message.deletedAtTimestamp === "number")
|
|
147406
|
+
object.deletedAtTimestamp = options.longs === String ? String(message.deletedAtTimestamp) : message.deletedAtTimestamp;
|
|
147407
|
+
else
|
|
147408
|
+
object.deletedAtTimestamp = options.longs === String ? $util.Long.prototype.toString.call(message.deletedAtTimestamp) : options.longs === Number ? new $util.LongBits(message.deletedAtTimestamp.low >>> 0, message.deletedAtTimestamp.high >>> 0).toNumber(true) : message.deletedAtTimestamp;
|
|
147409
|
+
return object;
|
|
147410
|
+
};
|
|
147411
|
+
|
|
147412
|
+
/**
|
|
147413
|
+
* Converts this EligibilityCollective to JSON.
|
|
147414
|
+
* @function toJSON
|
|
147415
|
+
* @memberof EligibilityCollective
|
|
147416
|
+
* @instance
|
|
147417
|
+
* @returns {Object.<string,*>} JSON object
|
|
147418
|
+
*/
|
|
147419
|
+
EligibilityCollective.prototype.toJSON = function toJSON() {
|
|
147420
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
147421
|
+
};
|
|
147422
|
+
|
|
147423
|
+
return EligibilityCollective;
|
|
147424
|
+
})();
|
|
147425
|
+
|
|
146848
147426
|
$root.PartnershipMemberEnrolled = (function() {
|
|
146849
147427
|
|
|
146850
147428
|
/**
|
package/package.json
CHANGED