@headspace/protos-events 1.283.0 → 1.285.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 CHANGED
@@ -26077,6 +26077,366 @@ export class RecommendationMindsetUpdated implements IRecommendationMindsetUpdat
26077
26077
  public toJSON(): { [k: string]: any };
26078
26078
  }
26079
26079
 
26080
+ /** Properties of a B2BAdminCreated. */
26081
+ export interface IB2BAdminCreated {
26082
+
26083
+ /** B2BAdminCreated adminId */
26084
+ adminId?: (number|null);
26085
+
26086
+ /** B2BAdminCreated orgId */
26087
+ orgId?: (number|null);
26088
+
26089
+ /** B2BAdminCreated orgName */
26090
+ orgName?: (string|null);
26091
+
26092
+ /** B2BAdminCreated email */
26093
+ email?: (string|null);
26094
+
26095
+ /** B2BAdminCreated resetPasswordLink */
26096
+ resetPasswordLink?: (string|null);
26097
+
26098
+ /** B2BAdminCreated shouldSendEmail */
26099
+ shouldSendEmail?: (boolean|null);
26100
+
26101
+ /** B2BAdminCreated timestampEpochMs */
26102
+ timestampEpochMs?: (number|Long|null);
26103
+ }
26104
+
26105
+ /** Represents a B2BAdminCreated. */
26106
+ export class B2BAdminCreated implements IB2BAdminCreated {
26107
+
26108
+ /**
26109
+ * Constructs a new B2BAdminCreated.
26110
+ * @param [properties] Properties to set
26111
+ */
26112
+ constructor(properties?: IB2BAdminCreated);
26113
+
26114
+ /** B2BAdminCreated adminId. */
26115
+ public adminId: number;
26116
+
26117
+ /** B2BAdminCreated orgId. */
26118
+ public orgId: number;
26119
+
26120
+ /** B2BAdminCreated orgName. */
26121
+ public orgName: string;
26122
+
26123
+ /** B2BAdminCreated email. */
26124
+ public email: string;
26125
+
26126
+ /** B2BAdminCreated resetPasswordLink. */
26127
+ public resetPasswordLink: string;
26128
+
26129
+ /** B2BAdminCreated shouldSendEmail. */
26130
+ public shouldSendEmail: boolean;
26131
+
26132
+ /** B2BAdminCreated timestampEpochMs. */
26133
+ public timestampEpochMs: (number|Long);
26134
+
26135
+ /**
26136
+ * Creates a new B2BAdminCreated instance using the specified properties.
26137
+ * @param [properties] Properties to set
26138
+ * @returns B2BAdminCreated instance
26139
+ */
26140
+ public static create(properties?: IB2BAdminCreated): B2BAdminCreated;
26141
+
26142
+ /**
26143
+ * Encodes the specified B2BAdminCreated message. Does not implicitly {@link B2BAdminCreated.verify|verify} messages.
26144
+ * @param message B2BAdminCreated message or plain object to encode
26145
+ * @param [writer] Writer to encode to
26146
+ * @returns Writer
26147
+ */
26148
+ public static encode(message: IB2BAdminCreated, writer?: $protobuf.Writer): $protobuf.Writer;
26149
+
26150
+ /**
26151
+ * Encodes the specified B2BAdminCreated message, length delimited. Does not implicitly {@link B2BAdminCreated.verify|verify} messages.
26152
+ * @param message B2BAdminCreated message or plain object to encode
26153
+ * @param [writer] Writer to encode to
26154
+ * @returns Writer
26155
+ */
26156
+ public static encodeDelimited(message: IB2BAdminCreated, writer?: $protobuf.Writer): $protobuf.Writer;
26157
+
26158
+ /**
26159
+ * Decodes a B2BAdminCreated message from the specified reader or buffer.
26160
+ * @param reader Reader or buffer to decode from
26161
+ * @param [length] Message length if known beforehand
26162
+ * @returns B2BAdminCreated
26163
+ * @throws {Error} If the payload is not a reader or valid buffer
26164
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26165
+ */
26166
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): B2BAdminCreated;
26167
+
26168
+ /**
26169
+ * Decodes a B2BAdminCreated message from the specified reader or buffer, length delimited.
26170
+ * @param reader Reader or buffer to decode from
26171
+ * @returns B2BAdminCreated
26172
+ * @throws {Error} If the payload is not a reader or valid buffer
26173
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26174
+ */
26175
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): B2BAdminCreated;
26176
+
26177
+ /**
26178
+ * Verifies a B2BAdminCreated message.
26179
+ * @param message Plain object to verify
26180
+ * @returns `null` if valid, otherwise the reason why it is not
26181
+ */
26182
+ public static verify(message: { [k: string]: any }): (string|null);
26183
+
26184
+ /**
26185
+ * Creates a B2BAdminCreated message from a plain object. Also converts values to their respective internal types.
26186
+ * @param object Plain object
26187
+ * @returns B2BAdminCreated
26188
+ */
26189
+ public static fromObject(object: { [k: string]: any }): B2BAdminCreated;
26190
+
26191
+ /**
26192
+ * Creates a plain object from a B2BAdminCreated message. Also converts values to other types if specified.
26193
+ * @param message B2BAdminCreated
26194
+ * @param [options] Conversion options
26195
+ * @returns Plain object
26196
+ */
26197
+ public static toObject(message: B2BAdminCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
26198
+
26199
+ /**
26200
+ * Converts this B2BAdminCreated to JSON.
26201
+ * @returns JSON object
26202
+ */
26203
+ public toJSON(): { [k: string]: any };
26204
+ }
26205
+
26206
+ /** Properties of an EligibilityFileProcessed. */
26207
+ export interface IEligibilityFileProcessed {
26208
+
26209
+ /** EligibilityFileProcessed email */
26210
+ email?: (IEmail|null);
26211
+
26212
+ /** EligibilityFileProcessed orgName */
26213
+ orgName?: (string|null);
26214
+
26215
+ /** EligibilityFileProcessed elfName */
26216
+ elfName?: (string|null);
26217
+
26218
+ /** EligibilityFileProcessed timestampProcessedEpochMs */
26219
+ timestampProcessedEpochMs?: (number|Long|null);
26220
+
26221
+ /** EligibilityFileProcessed elfStatus */
26222
+ elfStatus?: (string|null);
26223
+
26224
+ /** EligibilityFileProcessed numDupedEmails */
26225
+ numDupedEmails?: (number|null);
26226
+
26227
+ /** EligibilityFileProcessed numBadEmails */
26228
+ numBadEmails?: (number|null);
26229
+
26230
+ /** EligibilityFileProcessed numMembersRemoved */
26231
+ numMembersRemoved?: (number|null);
26232
+ }
26233
+
26234
+ /** Represents an EligibilityFileProcessed. */
26235
+ export class EligibilityFileProcessed implements IEligibilityFileProcessed {
26236
+
26237
+ /**
26238
+ * Constructs a new EligibilityFileProcessed.
26239
+ * @param [properties] Properties to set
26240
+ */
26241
+ constructor(properties?: IEligibilityFileProcessed);
26242
+
26243
+ /** EligibilityFileProcessed email. */
26244
+ public email?: (IEmail|null);
26245
+
26246
+ /** EligibilityFileProcessed orgName. */
26247
+ public orgName: string;
26248
+
26249
+ /** EligibilityFileProcessed elfName. */
26250
+ public elfName: string;
26251
+
26252
+ /** EligibilityFileProcessed timestampProcessedEpochMs. */
26253
+ public timestampProcessedEpochMs: (number|Long);
26254
+
26255
+ /** EligibilityFileProcessed elfStatus. */
26256
+ public elfStatus: string;
26257
+
26258
+ /** EligibilityFileProcessed numDupedEmails. */
26259
+ public numDupedEmails: number;
26260
+
26261
+ /** EligibilityFileProcessed numBadEmails. */
26262
+ public numBadEmails: number;
26263
+
26264
+ /** EligibilityFileProcessed numMembersRemoved. */
26265
+ public numMembersRemoved: number;
26266
+
26267
+ /**
26268
+ * Creates a new EligibilityFileProcessed instance using the specified properties.
26269
+ * @param [properties] Properties to set
26270
+ * @returns EligibilityFileProcessed instance
26271
+ */
26272
+ public static create(properties?: IEligibilityFileProcessed): EligibilityFileProcessed;
26273
+
26274
+ /**
26275
+ * Encodes the specified EligibilityFileProcessed message. Does not implicitly {@link EligibilityFileProcessed.verify|verify} messages.
26276
+ * @param message EligibilityFileProcessed message or plain object to encode
26277
+ * @param [writer] Writer to encode to
26278
+ * @returns Writer
26279
+ */
26280
+ public static encode(message: IEligibilityFileProcessed, writer?: $protobuf.Writer): $protobuf.Writer;
26281
+
26282
+ /**
26283
+ * Encodes the specified EligibilityFileProcessed message, length delimited. Does not implicitly {@link EligibilityFileProcessed.verify|verify} messages.
26284
+ * @param message EligibilityFileProcessed message or plain object to encode
26285
+ * @param [writer] Writer to encode to
26286
+ * @returns Writer
26287
+ */
26288
+ public static encodeDelimited(message: IEligibilityFileProcessed, writer?: $protobuf.Writer): $protobuf.Writer;
26289
+
26290
+ /**
26291
+ * Decodes an EligibilityFileProcessed message from the specified reader or buffer.
26292
+ * @param reader Reader or buffer to decode from
26293
+ * @param [length] Message length if known beforehand
26294
+ * @returns EligibilityFileProcessed
26295
+ * @throws {Error} If the payload is not a reader or valid buffer
26296
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26297
+ */
26298
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): EligibilityFileProcessed;
26299
+
26300
+ /**
26301
+ * Decodes an EligibilityFileProcessed message from the specified reader or buffer, length delimited.
26302
+ * @param reader Reader or buffer to decode from
26303
+ * @returns EligibilityFileProcessed
26304
+ * @throws {Error} If the payload is not a reader or valid buffer
26305
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26306
+ */
26307
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): EligibilityFileProcessed;
26308
+
26309
+ /**
26310
+ * Verifies an EligibilityFileProcessed message.
26311
+ * @param message Plain object to verify
26312
+ * @returns `null` if valid, otherwise the reason why it is not
26313
+ */
26314
+ public static verify(message: { [k: string]: any }): (string|null);
26315
+
26316
+ /**
26317
+ * Creates an EligibilityFileProcessed message from a plain object. Also converts values to their respective internal types.
26318
+ * @param object Plain object
26319
+ * @returns EligibilityFileProcessed
26320
+ */
26321
+ public static fromObject(object: { [k: string]: any }): EligibilityFileProcessed;
26322
+
26323
+ /**
26324
+ * Creates a plain object from an EligibilityFileProcessed message. Also converts values to other types if specified.
26325
+ * @param message EligibilityFileProcessed
26326
+ * @param [options] Conversion options
26327
+ * @returns Plain object
26328
+ */
26329
+ public static toObject(message: EligibilityFileProcessed, options?: $protobuf.IConversionOptions): { [k: string]: any };
26330
+
26331
+ /**
26332
+ * Converts this EligibilityFileProcessed to JSON.
26333
+ * @returns JSON object
26334
+ */
26335
+ public toJSON(): { [k: string]: any };
26336
+ }
26337
+
26338
+ /** Properties of an Email. */
26339
+ export interface IEmail {
26340
+
26341
+ /** Email subjectLine */
26342
+ subjectLine?: (string|null);
26343
+
26344
+ /** Email message */
26345
+ message?: (string|null);
26346
+
26347
+ /** Email adminIds */
26348
+ adminIds?: (number[]|null);
26349
+ }
26350
+
26351
+ /** Represents an Email. */
26352
+ export class Email implements IEmail {
26353
+
26354
+ /**
26355
+ * Constructs a new Email.
26356
+ * @param [properties] Properties to set
26357
+ */
26358
+ constructor(properties?: IEmail);
26359
+
26360
+ /** Email subjectLine. */
26361
+ public subjectLine: string;
26362
+
26363
+ /** Email message. */
26364
+ public message: string;
26365
+
26366
+ /** Email adminIds. */
26367
+ public adminIds: number[];
26368
+
26369
+ /**
26370
+ * Creates a new Email instance using the specified properties.
26371
+ * @param [properties] Properties to set
26372
+ * @returns Email instance
26373
+ */
26374
+ public static create(properties?: IEmail): Email;
26375
+
26376
+ /**
26377
+ * Encodes the specified Email message. Does not implicitly {@link Email.verify|verify} messages.
26378
+ * @param message Email message or plain object to encode
26379
+ * @param [writer] Writer to encode to
26380
+ * @returns Writer
26381
+ */
26382
+ public static encode(message: IEmail, writer?: $protobuf.Writer): $protobuf.Writer;
26383
+
26384
+ /**
26385
+ * Encodes the specified Email message, length delimited. Does not implicitly {@link Email.verify|verify} messages.
26386
+ * @param message Email message or plain object to encode
26387
+ * @param [writer] Writer to encode to
26388
+ * @returns Writer
26389
+ */
26390
+ public static encodeDelimited(message: IEmail, writer?: $protobuf.Writer): $protobuf.Writer;
26391
+
26392
+ /**
26393
+ * Decodes an Email message from the specified reader or buffer.
26394
+ * @param reader Reader or buffer to decode from
26395
+ * @param [length] Message length if known beforehand
26396
+ * @returns Email
26397
+ * @throws {Error} If the payload is not a reader or valid buffer
26398
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26399
+ */
26400
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Email;
26401
+
26402
+ /**
26403
+ * Decodes an Email message from the specified reader or buffer, length delimited.
26404
+ * @param reader Reader or buffer to decode from
26405
+ * @returns Email
26406
+ * @throws {Error} If the payload is not a reader or valid buffer
26407
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26408
+ */
26409
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Email;
26410
+
26411
+ /**
26412
+ * Verifies an Email message.
26413
+ * @param message Plain object to verify
26414
+ * @returns `null` if valid, otherwise the reason why it is not
26415
+ */
26416
+ public static verify(message: { [k: string]: any }): (string|null);
26417
+
26418
+ /**
26419
+ * Creates an Email message from a plain object. Also converts values to their respective internal types.
26420
+ * @param object Plain object
26421
+ * @returns Email
26422
+ */
26423
+ public static fromObject(object: { [k: string]: any }): Email;
26424
+
26425
+ /**
26426
+ * Creates a plain object from an Email message. Also converts values to other types if specified.
26427
+ * @param message Email
26428
+ * @param [options] Conversion options
26429
+ * @returns Plain object
26430
+ */
26431
+ public static toObject(message: Email, options?: $protobuf.IConversionOptions): { [k: string]: any };
26432
+
26433
+ /**
26434
+ * Converts this Email to JSON.
26435
+ * @returns JSON object
26436
+ */
26437
+ public toJSON(): { [k: string]: any };
26438
+ }
26439
+
26080
26440
  /** Properties of a GracefulExitCompleted. */
26081
26441
  export interface IGracefulExitCompleted {
26082
26442
 
package/lib/index.js CHANGED
@@ -70892,6 +70892,958 @@ $root.RecommendationMindsetUpdated = (function() {
70892
70892
  return RecommendationMindsetUpdated;
70893
70893
  })();
70894
70894
 
70895
+ $root.B2BAdminCreated = (function() {
70896
+
70897
+ /**
70898
+ * Properties of a B2BAdminCreated.
70899
+ * @exports IB2BAdminCreated
70900
+ * @interface IB2BAdminCreated
70901
+ * @property {number|null} [adminId] B2BAdminCreated adminId
70902
+ * @property {number|null} [orgId] B2BAdminCreated orgId
70903
+ * @property {string|null} [orgName] B2BAdminCreated orgName
70904
+ * @property {string|null} [email] B2BAdminCreated email
70905
+ * @property {string|null} [resetPasswordLink] B2BAdminCreated resetPasswordLink
70906
+ * @property {boolean|null} [shouldSendEmail] B2BAdminCreated shouldSendEmail
70907
+ * @property {number|Long|null} [timestampEpochMs] B2BAdminCreated timestampEpochMs
70908
+ */
70909
+
70910
+ /**
70911
+ * Constructs a new B2BAdminCreated.
70912
+ * @exports B2BAdminCreated
70913
+ * @classdesc Represents a B2BAdminCreated.
70914
+ * @implements IB2BAdminCreated
70915
+ * @constructor
70916
+ * @param {IB2BAdminCreated=} [properties] Properties to set
70917
+ */
70918
+ function B2BAdminCreated(properties) {
70919
+ if (properties)
70920
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
70921
+ if (properties[keys[i]] != null)
70922
+ this[keys[i]] = properties[keys[i]];
70923
+ }
70924
+
70925
+ /**
70926
+ * B2BAdminCreated adminId.
70927
+ * @member {number} adminId
70928
+ * @memberof B2BAdminCreated
70929
+ * @instance
70930
+ */
70931
+ B2BAdminCreated.prototype.adminId = 0;
70932
+
70933
+ /**
70934
+ * B2BAdminCreated orgId.
70935
+ * @member {number} orgId
70936
+ * @memberof B2BAdminCreated
70937
+ * @instance
70938
+ */
70939
+ B2BAdminCreated.prototype.orgId = 0;
70940
+
70941
+ /**
70942
+ * B2BAdminCreated orgName.
70943
+ * @member {string} orgName
70944
+ * @memberof B2BAdminCreated
70945
+ * @instance
70946
+ */
70947
+ B2BAdminCreated.prototype.orgName = "";
70948
+
70949
+ /**
70950
+ * B2BAdminCreated email.
70951
+ * @member {string} email
70952
+ * @memberof B2BAdminCreated
70953
+ * @instance
70954
+ */
70955
+ B2BAdminCreated.prototype.email = "";
70956
+
70957
+ /**
70958
+ * B2BAdminCreated resetPasswordLink.
70959
+ * @member {string} resetPasswordLink
70960
+ * @memberof B2BAdminCreated
70961
+ * @instance
70962
+ */
70963
+ B2BAdminCreated.prototype.resetPasswordLink = "";
70964
+
70965
+ /**
70966
+ * B2BAdminCreated shouldSendEmail.
70967
+ * @member {boolean} shouldSendEmail
70968
+ * @memberof B2BAdminCreated
70969
+ * @instance
70970
+ */
70971
+ B2BAdminCreated.prototype.shouldSendEmail = false;
70972
+
70973
+ /**
70974
+ * B2BAdminCreated timestampEpochMs.
70975
+ * @member {number|Long} timestampEpochMs
70976
+ * @memberof B2BAdminCreated
70977
+ * @instance
70978
+ */
70979
+ B2BAdminCreated.prototype.timestampEpochMs = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
70980
+
70981
+ /**
70982
+ * Creates a new B2BAdminCreated instance using the specified properties.
70983
+ * @function create
70984
+ * @memberof B2BAdminCreated
70985
+ * @static
70986
+ * @param {IB2BAdminCreated=} [properties] Properties to set
70987
+ * @returns {B2BAdminCreated} B2BAdminCreated instance
70988
+ */
70989
+ B2BAdminCreated.create = function create(properties) {
70990
+ return new B2BAdminCreated(properties);
70991
+ };
70992
+
70993
+ /**
70994
+ * Encodes the specified B2BAdminCreated message. Does not implicitly {@link B2BAdminCreated.verify|verify} messages.
70995
+ * @function encode
70996
+ * @memberof B2BAdminCreated
70997
+ * @static
70998
+ * @param {IB2BAdminCreated} message B2BAdminCreated message or plain object to encode
70999
+ * @param {$protobuf.Writer} [writer] Writer to encode to
71000
+ * @returns {$protobuf.Writer} Writer
71001
+ */
71002
+ B2BAdminCreated.encode = function encode(message, writer) {
71003
+ if (!writer)
71004
+ writer = $Writer.create();
71005
+ if (message.adminId != null && message.hasOwnProperty("adminId"))
71006
+ writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.adminId);
71007
+ if (message.orgId != null && message.hasOwnProperty("orgId"))
71008
+ writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.orgId);
71009
+ if (message.orgName != null && message.hasOwnProperty("orgName"))
71010
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.orgName);
71011
+ if (message.email != null && message.hasOwnProperty("email"))
71012
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.email);
71013
+ if (message.resetPasswordLink != null && message.hasOwnProperty("resetPasswordLink"))
71014
+ writer.uint32(/* id 5, wireType 2 =*/42).string(message.resetPasswordLink);
71015
+ if (message.shouldSendEmail != null && message.hasOwnProperty("shouldSendEmail"))
71016
+ writer.uint32(/* id 6, wireType 0 =*/48).bool(message.shouldSendEmail);
71017
+ if (message.timestampEpochMs != null && message.hasOwnProperty("timestampEpochMs"))
71018
+ writer.uint32(/* id 7, wireType 0 =*/56).uint64(message.timestampEpochMs);
71019
+ return writer;
71020
+ };
71021
+
71022
+ /**
71023
+ * Encodes the specified B2BAdminCreated message, length delimited. Does not implicitly {@link B2BAdminCreated.verify|verify} messages.
71024
+ * @function encodeDelimited
71025
+ * @memberof B2BAdminCreated
71026
+ * @static
71027
+ * @param {IB2BAdminCreated} message B2BAdminCreated message or plain object to encode
71028
+ * @param {$protobuf.Writer} [writer] Writer to encode to
71029
+ * @returns {$protobuf.Writer} Writer
71030
+ */
71031
+ B2BAdminCreated.encodeDelimited = function encodeDelimited(message, writer) {
71032
+ return this.encode(message, writer).ldelim();
71033
+ };
71034
+
71035
+ /**
71036
+ * Decodes a B2BAdminCreated message from the specified reader or buffer.
71037
+ * @function decode
71038
+ * @memberof B2BAdminCreated
71039
+ * @static
71040
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
71041
+ * @param {number} [length] Message length if known beforehand
71042
+ * @returns {B2BAdminCreated} B2BAdminCreated
71043
+ * @throws {Error} If the payload is not a reader or valid buffer
71044
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
71045
+ */
71046
+ B2BAdminCreated.decode = function decode(reader, length) {
71047
+ if (!(reader instanceof $Reader))
71048
+ reader = $Reader.create(reader);
71049
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.B2BAdminCreated();
71050
+ while (reader.pos < end) {
71051
+ var tag = reader.uint32();
71052
+ switch (tag >>> 3) {
71053
+ case 1:
71054
+ message.adminId = reader.uint32();
71055
+ break;
71056
+ case 2:
71057
+ message.orgId = reader.uint32();
71058
+ break;
71059
+ case 3:
71060
+ message.orgName = reader.string();
71061
+ break;
71062
+ case 4:
71063
+ message.email = reader.string();
71064
+ break;
71065
+ case 5:
71066
+ message.resetPasswordLink = reader.string();
71067
+ break;
71068
+ case 6:
71069
+ message.shouldSendEmail = reader.bool();
71070
+ break;
71071
+ case 7:
71072
+ message.timestampEpochMs = reader.uint64();
71073
+ break;
71074
+ default:
71075
+ reader.skipType(tag & 7);
71076
+ break;
71077
+ }
71078
+ }
71079
+ return message;
71080
+ };
71081
+
71082
+ /**
71083
+ * Decodes a B2BAdminCreated message from the specified reader or buffer, length delimited.
71084
+ * @function decodeDelimited
71085
+ * @memberof B2BAdminCreated
71086
+ * @static
71087
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
71088
+ * @returns {B2BAdminCreated} B2BAdminCreated
71089
+ * @throws {Error} If the payload is not a reader or valid buffer
71090
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
71091
+ */
71092
+ B2BAdminCreated.decodeDelimited = function decodeDelimited(reader) {
71093
+ if (!(reader instanceof $Reader))
71094
+ reader = new $Reader(reader);
71095
+ return this.decode(reader, reader.uint32());
71096
+ };
71097
+
71098
+ /**
71099
+ * Verifies a B2BAdminCreated message.
71100
+ * @function verify
71101
+ * @memberof B2BAdminCreated
71102
+ * @static
71103
+ * @param {Object.<string,*>} message Plain object to verify
71104
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
71105
+ */
71106
+ B2BAdminCreated.verify = function verify(message) {
71107
+ if (typeof message !== "object" || message === null)
71108
+ return "object expected";
71109
+ if (message.adminId != null && message.hasOwnProperty("adminId"))
71110
+ if (!$util.isInteger(message.adminId))
71111
+ return "adminId: integer expected";
71112
+ if (message.orgId != null && message.hasOwnProperty("orgId"))
71113
+ if (!$util.isInteger(message.orgId))
71114
+ return "orgId: integer expected";
71115
+ if (message.orgName != null && message.hasOwnProperty("orgName"))
71116
+ if (!$util.isString(message.orgName))
71117
+ return "orgName: string expected";
71118
+ if (message.email != null && message.hasOwnProperty("email"))
71119
+ if (!$util.isString(message.email))
71120
+ return "email: string expected";
71121
+ if (message.resetPasswordLink != null && message.hasOwnProperty("resetPasswordLink"))
71122
+ if (!$util.isString(message.resetPasswordLink))
71123
+ return "resetPasswordLink: string expected";
71124
+ if (message.shouldSendEmail != null && message.hasOwnProperty("shouldSendEmail"))
71125
+ if (typeof message.shouldSendEmail !== "boolean")
71126
+ return "shouldSendEmail: boolean expected";
71127
+ if (message.timestampEpochMs != null && message.hasOwnProperty("timestampEpochMs"))
71128
+ if (!$util.isInteger(message.timestampEpochMs) && !(message.timestampEpochMs && $util.isInteger(message.timestampEpochMs.low) && $util.isInteger(message.timestampEpochMs.high)))
71129
+ return "timestampEpochMs: integer|Long expected";
71130
+ return null;
71131
+ };
71132
+
71133
+ /**
71134
+ * Creates a B2BAdminCreated message from a plain object. Also converts values to their respective internal types.
71135
+ * @function fromObject
71136
+ * @memberof B2BAdminCreated
71137
+ * @static
71138
+ * @param {Object.<string,*>} object Plain object
71139
+ * @returns {B2BAdminCreated} B2BAdminCreated
71140
+ */
71141
+ B2BAdminCreated.fromObject = function fromObject(object) {
71142
+ if (object instanceof $root.B2BAdminCreated)
71143
+ return object;
71144
+ var message = new $root.B2BAdminCreated();
71145
+ if (object.adminId != null)
71146
+ message.adminId = object.adminId >>> 0;
71147
+ if (object.orgId != null)
71148
+ message.orgId = object.orgId >>> 0;
71149
+ if (object.orgName != null)
71150
+ message.orgName = String(object.orgName);
71151
+ if (object.email != null)
71152
+ message.email = String(object.email);
71153
+ if (object.resetPasswordLink != null)
71154
+ message.resetPasswordLink = String(object.resetPasswordLink);
71155
+ if (object.shouldSendEmail != null)
71156
+ message.shouldSendEmail = Boolean(object.shouldSendEmail);
71157
+ if (object.timestampEpochMs != null)
71158
+ if ($util.Long)
71159
+ (message.timestampEpochMs = $util.Long.fromValue(object.timestampEpochMs)).unsigned = true;
71160
+ else if (typeof object.timestampEpochMs === "string")
71161
+ message.timestampEpochMs = parseInt(object.timestampEpochMs, 10);
71162
+ else if (typeof object.timestampEpochMs === "number")
71163
+ message.timestampEpochMs = object.timestampEpochMs;
71164
+ else if (typeof object.timestampEpochMs === "object")
71165
+ message.timestampEpochMs = new $util.LongBits(object.timestampEpochMs.low >>> 0, object.timestampEpochMs.high >>> 0).toNumber(true);
71166
+ return message;
71167
+ };
71168
+
71169
+ /**
71170
+ * Creates a plain object from a B2BAdminCreated message. Also converts values to other types if specified.
71171
+ * @function toObject
71172
+ * @memberof B2BAdminCreated
71173
+ * @static
71174
+ * @param {B2BAdminCreated} message B2BAdminCreated
71175
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
71176
+ * @returns {Object.<string,*>} Plain object
71177
+ */
71178
+ B2BAdminCreated.toObject = function toObject(message, options) {
71179
+ if (!options)
71180
+ options = {};
71181
+ var object = {};
71182
+ if (options.defaults) {
71183
+ object.adminId = 0;
71184
+ object.orgId = 0;
71185
+ object.orgName = "";
71186
+ object.email = "";
71187
+ object.resetPasswordLink = "";
71188
+ object.shouldSendEmail = false;
71189
+ if ($util.Long) {
71190
+ var long = new $util.Long(0, 0, true);
71191
+ object.timestampEpochMs = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
71192
+ } else
71193
+ object.timestampEpochMs = options.longs === String ? "0" : 0;
71194
+ }
71195
+ if (message.adminId != null && message.hasOwnProperty("adminId"))
71196
+ object.adminId = message.adminId;
71197
+ if (message.orgId != null && message.hasOwnProperty("orgId"))
71198
+ object.orgId = message.orgId;
71199
+ if (message.orgName != null && message.hasOwnProperty("orgName"))
71200
+ object.orgName = message.orgName;
71201
+ if (message.email != null && message.hasOwnProperty("email"))
71202
+ object.email = message.email;
71203
+ if (message.resetPasswordLink != null && message.hasOwnProperty("resetPasswordLink"))
71204
+ object.resetPasswordLink = message.resetPasswordLink;
71205
+ if (message.shouldSendEmail != null && message.hasOwnProperty("shouldSendEmail"))
71206
+ object.shouldSendEmail = message.shouldSendEmail;
71207
+ if (message.timestampEpochMs != null && message.hasOwnProperty("timestampEpochMs"))
71208
+ if (typeof message.timestampEpochMs === "number")
71209
+ object.timestampEpochMs = options.longs === String ? String(message.timestampEpochMs) : message.timestampEpochMs;
71210
+ else
71211
+ object.timestampEpochMs = options.longs === String ? $util.Long.prototype.toString.call(message.timestampEpochMs) : options.longs === Number ? new $util.LongBits(message.timestampEpochMs.low >>> 0, message.timestampEpochMs.high >>> 0).toNumber(true) : message.timestampEpochMs;
71212
+ return object;
71213
+ };
71214
+
71215
+ /**
71216
+ * Converts this B2BAdminCreated to JSON.
71217
+ * @function toJSON
71218
+ * @memberof B2BAdminCreated
71219
+ * @instance
71220
+ * @returns {Object.<string,*>} JSON object
71221
+ */
71222
+ B2BAdminCreated.prototype.toJSON = function toJSON() {
71223
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
71224
+ };
71225
+
71226
+ return B2BAdminCreated;
71227
+ })();
71228
+
71229
+ $root.EligibilityFileProcessed = (function() {
71230
+
71231
+ /**
71232
+ * Properties of an EligibilityFileProcessed.
71233
+ * @exports IEligibilityFileProcessed
71234
+ * @interface IEligibilityFileProcessed
71235
+ * @property {IEmail|null} [email] EligibilityFileProcessed email
71236
+ * @property {string|null} [orgName] EligibilityFileProcessed orgName
71237
+ * @property {string|null} [elfName] EligibilityFileProcessed elfName
71238
+ * @property {number|Long|null} [timestampProcessedEpochMs] EligibilityFileProcessed timestampProcessedEpochMs
71239
+ * @property {string|null} [elfStatus] EligibilityFileProcessed elfStatus
71240
+ * @property {number|null} [numDupedEmails] EligibilityFileProcessed numDupedEmails
71241
+ * @property {number|null} [numBadEmails] EligibilityFileProcessed numBadEmails
71242
+ * @property {number|null} [numMembersRemoved] EligibilityFileProcessed numMembersRemoved
71243
+ */
71244
+
71245
+ /**
71246
+ * Constructs a new EligibilityFileProcessed.
71247
+ * @exports EligibilityFileProcessed
71248
+ * @classdesc Represents an EligibilityFileProcessed.
71249
+ * @implements IEligibilityFileProcessed
71250
+ * @constructor
71251
+ * @param {IEligibilityFileProcessed=} [properties] Properties to set
71252
+ */
71253
+ function EligibilityFileProcessed(properties) {
71254
+ if (properties)
71255
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
71256
+ if (properties[keys[i]] != null)
71257
+ this[keys[i]] = properties[keys[i]];
71258
+ }
71259
+
71260
+ /**
71261
+ * EligibilityFileProcessed email.
71262
+ * @member {IEmail|null|undefined} email
71263
+ * @memberof EligibilityFileProcessed
71264
+ * @instance
71265
+ */
71266
+ EligibilityFileProcessed.prototype.email = null;
71267
+
71268
+ /**
71269
+ * EligibilityFileProcessed orgName.
71270
+ * @member {string} orgName
71271
+ * @memberof EligibilityFileProcessed
71272
+ * @instance
71273
+ */
71274
+ EligibilityFileProcessed.prototype.orgName = "";
71275
+
71276
+ /**
71277
+ * EligibilityFileProcessed elfName.
71278
+ * @member {string} elfName
71279
+ * @memberof EligibilityFileProcessed
71280
+ * @instance
71281
+ */
71282
+ EligibilityFileProcessed.prototype.elfName = "";
71283
+
71284
+ /**
71285
+ * EligibilityFileProcessed timestampProcessedEpochMs.
71286
+ * @member {number|Long} timestampProcessedEpochMs
71287
+ * @memberof EligibilityFileProcessed
71288
+ * @instance
71289
+ */
71290
+ EligibilityFileProcessed.prototype.timestampProcessedEpochMs = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
71291
+
71292
+ /**
71293
+ * EligibilityFileProcessed elfStatus.
71294
+ * @member {string} elfStatus
71295
+ * @memberof EligibilityFileProcessed
71296
+ * @instance
71297
+ */
71298
+ EligibilityFileProcessed.prototype.elfStatus = "";
71299
+
71300
+ /**
71301
+ * EligibilityFileProcessed numDupedEmails.
71302
+ * @member {number} numDupedEmails
71303
+ * @memberof EligibilityFileProcessed
71304
+ * @instance
71305
+ */
71306
+ EligibilityFileProcessed.prototype.numDupedEmails = 0;
71307
+
71308
+ /**
71309
+ * EligibilityFileProcessed numBadEmails.
71310
+ * @member {number} numBadEmails
71311
+ * @memberof EligibilityFileProcessed
71312
+ * @instance
71313
+ */
71314
+ EligibilityFileProcessed.prototype.numBadEmails = 0;
71315
+
71316
+ /**
71317
+ * EligibilityFileProcessed numMembersRemoved.
71318
+ * @member {number} numMembersRemoved
71319
+ * @memberof EligibilityFileProcessed
71320
+ * @instance
71321
+ */
71322
+ EligibilityFileProcessed.prototype.numMembersRemoved = 0;
71323
+
71324
+ /**
71325
+ * Creates a new EligibilityFileProcessed instance using the specified properties.
71326
+ * @function create
71327
+ * @memberof EligibilityFileProcessed
71328
+ * @static
71329
+ * @param {IEligibilityFileProcessed=} [properties] Properties to set
71330
+ * @returns {EligibilityFileProcessed} EligibilityFileProcessed instance
71331
+ */
71332
+ EligibilityFileProcessed.create = function create(properties) {
71333
+ return new EligibilityFileProcessed(properties);
71334
+ };
71335
+
71336
+ /**
71337
+ * Encodes the specified EligibilityFileProcessed message. Does not implicitly {@link EligibilityFileProcessed.verify|verify} messages.
71338
+ * @function encode
71339
+ * @memberof EligibilityFileProcessed
71340
+ * @static
71341
+ * @param {IEligibilityFileProcessed} message EligibilityFileProcessed message or plain object to encode
71342
+ * @param {$protobuf.Writer} [writer] Writer to encode to
71343
+ * @returns {$protobuf.Writer} Writer
71344
+ */
71345
+ EligibilityFileProcessed.encode = function encode(message, writer) {
71346
+ if (!writer)
71347
+ writer = $Writer.create();
71348
+ if (message.email != null && message.hasOwnProperty("email"))
71349
+ $root.Email.encode(message.email, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
71350
+ if (message.orgName != null && message.hasOwnProperty("orgName"))
71351
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.orgName);
71352
+ if (message.elfName != null && message.hasOwnProperty("elfName"))
71353
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.elfName);
71354
+ if (message.timestampProcessedEpochMs != null && message.hasOwnProperty("timestampProcessedEpochMs"))
71355
+ writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.timestampProcessedEpochMs);
71356
+ if (message.elfStatus != null && message.hasOwnProperty("elfStatus"))
71357
+ writer.uint32(/* id 5, wireType 2 =*/42).string(message.elfStatus);
71358
+ if (message.numDupedEmails != null && message.hasOwnProperty("numDupedEmails"))
71359
+ writer.uint32(/* id 6, wireType 0 =*/48).uint32(message.numDupedEmails);
71360
+ if (message.numBadEmails != null && message.hasOwnProperty("numBadEmails"))
71361
+ writer.uint32(/* id 7, wireType 0 =*/56).uint32(message.numBadEmails);
71362
+ if (message.numMembersRemoved != null && message.hasOwnProperty("numMembersRemoved"))
71363
+ writer.uint32(/* id 8, wireType 0 =*/64).uint32(message.numMembersRemoved);
71364
+ return writer;
71365
+ };
71366
+
71367
+ /**
71368
+ * Encodes the specified EligibilityFileProcessed message, length delimited. Does not implicitly {@link EligibilityFileProcessed.verify|verify} messages.
71369
+ * @function encodeDelimited
71370
+ * @memberof EligibilityFileProcessed
71371
+ * @static
71372
+ * @param {IEligibilityFileProcessed} message EligibilityFileProcessed message or plain object to encode
71373
+ * @param {$protobuf.Writer} [writer] Writer to encode to
71374
+ * @returns {$protobuf.Writer} Writer
71375
+ */
71376
+ EligibilityFileProcessed.encodeDelimited = function encodeDelimited(message, writer) {
71377
+ return this.encode(message, writer).ldelim();
71378
+ };
71379
+
71380
+ /**
71381
+ * Decodes an EligibilityFileProcessed message from the specified reader or buffer.
71382
+ * @function decode
71383
+ * @memberof EligibilityFileProcessed
71384
+ * @static
71385
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
71386
+ * @param {number} [length] Message length if known beforehand
71387
+ * @returns {EligibilityFileProcessed} EligibilityFileProcessed
71388
+ * @throws {Error} If the payload is not a reader or valid buffer
71389
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
71390
+ */
71391
+ EligibilityFileProcessed.decode = function decode(reader, length) {
71392
+ if (!(reader instanceof $Reader))
71393
+ reader = $Reader.create(reader);
71394
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.EligibilityFileProcessed();
71395
+ while (reader.pos < end) {
71396
+ var tag = reader.uint32();
71397
+ switch (tag >>> 3) {
71398
+ case 1:
71399
+ message.email = $root.Email.decode(reader, reader.uint32());
71400
+ break;
71401
+ case 2:
71402
+ message.orgName = reader.string();
71403
+ break;
71404
+ case 3:
71405
+ message.elfName = reader.string();
71406
+ break;
71407
+ case 4:
71408
+ message.timestampProcessedEpochMs = reader.uint64();
71409
+ break;
71410
+ case 5:
71411
+ message.elfStatus = reader.string();
71412
+ break;
71413
+ case 6:
71414
+ message.numDupedEmails = reader.uint32();
71415
+ break;
71416
+ case 7:
71417
+ message.numBadEmails = reader.uint32();
71418
+ break;
71419
+ case 8:
71420
+ message.numMembersRemoved = reader.uint32();
71421
+ break;
71422
+ default:
71423
+ reader.skipType(tag & 7);
71424
+ break;
71425
+ }
71426
+ }
71427
+ return message;
71428
+ };
71429
+
71430
+ /**
71431
+ * Decodes an EligibilityFileProcessed message from the specified reader or buffer, length delimited.
71432
+ * @function decodeDelimited
71433
+ * @memberof EligibilityFileProcessed
71434
+ * @static
71435
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
71436
+ * @returns {EligibilityFileProcessed} EligibilityFileProcessed
71437
+ * @throws {Error} If the payload is not a reader or valid buffer
71438
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
71439
+ */
71440
+ EligibilityFileProcessed.decodeDelimited = function decodeDelimited(reader) {
71441
+ if (!(reader instanceof $Reader))
71442
+ reader = new $Reader(reader);
71443
+ return this.decode(reader, reader.uint32());
71444
+ };
71445
+
71446
+ /**
71447
+ * Verifies an EligibilityFileProcessed message.
71448
+ * @function verify
71449
+ * @memberof EligibilityFileProcessed
71450
+ * @static
71451
+ * @param {Object.<string,*>} message Plain object to verify
71452
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
71453
+ */
71454
+ EligibilityFileProcessed.verify = function verify(message) {
71455
+ if (typeof message !== "object" || message === null)
71456
+ return "object expected";
71457
+ if (message.email != null && message.hasOwnProperty("email")) {
71458
+ var error = $root.Email.verify(message.email);
71459
+ if (error)
71460
+ return "email." + error;
71461
+ }
71462
+ if (message.orgName != null && message.hasOwnProperty("orgName"))
71463
+ if (!$util.isString(message.orgName))
71464
+ return "orgName: string expected";
71465
+ if (message.elfName != null && message.hasOwnProperty("elfName"))
71466
+ if (!$util.isString(message.elfName))
71467
+ return "elfName: string expected";
71468
+ if (message.timestampProcessedEpochMs != null && message.hasOwnProperty("timestampProcessedEpochMs"))
71469
+ if (!$util.isInteger(message.timestampProcessedEpochMs) && !(message.timestampProcessedEpochMs && $util.isInteger(message.timestampProcessedEpochMs.low) && $util.isInteger(message.timestampProcessedEpochMs.high)))
71470
+ return "timestampProcessedEpochMs: integer|Long expected";
71471
+ if (message.elfStatus != null && message.hasOwnProperty("elfStatus"))
71472
+ if (!$util.isString(message.elfStatus))
71473
+ return "elfStatus: string expected";
71474
+ if (message.numDupedEmails != null && message.hasOwnProperty("numDupedEmails"))
71475
+ if (!$util.isInteger(message.numDupedEmails))
71476
+ return "numDupedEmails: integer expected";
71477
+ if (message.numBadEmails != null && message.hasOwnProperty("numBadEmails"))
71478
+ if (!$util.isInteger(message.numBadEmails))
71479
+ return "numBadEmails: integer expected";
71480
+ if (message.numMembersRemoved != null && message.hasOwnProperty("numMembersRemoved"))
71481
+ if (!$util.isInteger(message.numMembersRemoved))
71482
+ return "numMembersRemoved: integer expected";
71483
+ return null;
71484
+ };
71485
+
71486
+ /**
71487
+ * Creates an EligibilityFileProcessed message from a plain object. Also converts values to their respective internal types.
71488
+ * @function fromObject
71489
+ * @memberof EligibilityFileProcessed
71490
+ * @static
71491
+ * @param {Object.<string,*>} object Plain object
71492
+ * @returns {EligibilityFileProcessed} EligibilityFileProcessed
71493
+ */
71494
+ EligibilityFileProcessed.fromObject = function fromObject(object) {
71495
+ if (object instanceof $root.EligibilityFileProcessed)
71496
+ return object;
71497
+ var message = new $root.EligibilityFileProcessed();
71498
+ if (object.email != null) {
71499
+ if (typeof object.email !== "object")
71500
+ throw TypeError(".EligibilityFileProcessed.email: object expected");
71501
+ message.email = $root.Email.fromObject(object.email);
71502
+ }
71503
+ if (object.orgName != null)
71504
+ message.orgName = String(object.orgName);
71505
+ if (object.elfName != null)
71506
+ message.elfName = String(object.elfName);
71507
+ if (object.timestampProcessedEpochMs != null)
71508
+ if ($util.Long)
71509
+ (message.timestampProcessedEpochMs = $util.Long.fromValue(object.timestampProcessedEpochMs)).unsigned = true;
71510
+ else if (typeof object.timestampProcessedEpochMs === "string")
71511
+ message.timestampProcessedEpochMs = parseInt(object.timestampProcessedEpochMs, 10);
71512
+ else if (typeof object.timestampProcessedEpochMs === "number")
71513
+ message.timestampProcessedEpochMs = object.timestampProcessedEpochMs;
71514
+ else if (typeof object.timestampProcessedEpochMs === "object")
71515
+ message.timestampProcessedEpochMs = new $util.LongBits(object.timestampProcessedEpochMs.low >>> 0, object.timestampProcessedEpochMs.high >>> 0).toNumber(true);
71516
+ if (object.elfStatus != null)
71517
+ message.elfStatus = String(object.elfStatus);
71518
+ if (object.numDupedEmails != null)
71519
+ message.numDupedEmails = object.numDupedEmails >>> 0;
71520
+ if (object.numBadEmails != null)
71521
+ message.numBadEmails = object.numBadEmails >>> 0;
71522
+ if (object.numMembersRemoved != null)
71523
+ message.numMembersRemoved = object.numMembersRemoved >>> 0;
71524
+ return message;
71525
+ };
71526
+
71527
+ /**
71528
+ * Creates a plain object from an EligibilityFileProcessed message. Also converts values to other types if specified.
71529
+ * @function toObject
71530
+ * @memberof EligibilityFileProcessed
71531
+ * @static
71532
+ * @param {EligibilityFileProcessed} message EligibilityFileProcessed
71533
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
71534
+ * @returns {Object.<string,*>} Plain object
71535
+ */
71536
+ EligibilityFileProcessed.toObject = function toObject(message, options) {
71537
+ if (!options)
71538
+ options = {};
71539
+ var object = {};
71540
+ if (options.defaults) {
71541
+ object.email = null;
71542
+ object.orgName = "";
71543
+ object.elfName = "";
71544
+ if ($util.Long) {
71545
+ var long = new $util.Long(0, 0, true);
71546
+ object.timestampProcessedEpochMs = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
71547
+ } else
71548
+ object.timestampProcessedEpochMs = options.longs === String ? "0" : 0;
71549
+ object.elfStatus = "";
71550
+ object.numDupedEmails = 0;
71551
+ object.numBadEmails = 0;
71552
+ object.numMembersRemoved = 0;
71553
+ }
71554
+ if (message.email != null && message.hasOwnProperty("email"))
71555
+ object.email = $root.Email.toObject(message.email, options);
71556
+ if (message.orgName != null && message.hasOwnProperty("orgName"))
71557
+ object.orgName = message.orgName;
71558
+ if (message.elfName != null && message.hasOwnProperty("elfName"))
71559
+ object.elfName = message.elfName;
71560
+ if (message.timestampProcessedEpochMs != null && message.hasOwnProperty("timestampProcessedEpochMs"))
71561
+ if (typeof message.timestampProcessedEpochMs === "number")
71562
+ object.timestampProcessedEpochMs = options.longs === String ? String(message.timestampProcessedEpochMs) : message.timestampProcessedEpochMs;
71563
+ else
71564
+ object.timestampProcessedEpochMs = options.longs === String ? $util.Long.prototype.toString.call(message.timestampProcessedEpochMs) : options.longs === Number ? new $util.LongBits(message.timestampProcessedEpochMs.low >>> 0, message.timestampProcessedEpochMs.high >>> 0).toNumber(true) : message.timestampProcessedEpochMs;
71565
+ if (message.elfStatus != null && message.hasOwnProperty("elfStatus"))
71566
+ object.elfStatus = message.elfStatus;
71567
+ if (message.numDupedEmails != null && message.hasOwnProperty("numDupedEmails"))
71568
+ object.numDupedEmails = message.numDupedEmails;
71569
+ if (message.numBadEmails != null && message.hasOwnProperty("numBadEmails"))
71570
+ object.numBadEmails = message.numBadEmails;
71571
+ if (message.numMembersRemoved != null && message.hasOwnProperty("numMembersRemoved"))
71572
+ object.numMembersRemoved = message.numMembersRemoved;
71573
+ return object;
71574
+ };
71575
+
71576
+ /**
71577
+ * Converts this EligibilityFileProcessed to JSON.
71578
+ * @function toJSON
71579
+ * @memberof EligibilityFileProcessed
71580
+ * @instance
71581
+ * @returns {Object.<string,*>} JSON object
71582
+ */
71583
+ EligibilityFileProcessed.prototype.toJSON = function toJSON() {
71584
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
71585
+ };
71586
+
71587
+ return EligibilityFileProcessed;
71588
+ })();
71589
+
71590
+ $root.Email = (function() {
71591
+
71592
+ /**
71593
+ * Properties of an Email.
71594
+ * @exports IEmail
71595
+ * @interface IEmail
71596
+ * @property {string|null} [subjectLine] Email subjectLine
71597
+ * @property {string|null} [message] Email message
71598
+ * @property {Array.<number>|null} [adminIds] Email adminIds
71599
+ */
71600
+
71601
+ /**
71602
+ * Constructs a new Email.
71603
+ * @exports Email
71604
+ * @classdesc Represents an Email.
71605
+ * @implements IEmail
71606
+ * @constructor
71607
+ * @param {IEmail=} [properties] Properties to set
71608
+ */
71609
+ function Email(properties) {
71610
+ this.adminIds = [];
71611
+ if (properties)
71612
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
71613
+ if (properties[keys[i]] != null)
71614
+ this[keys[i]] = properties[keys[i]];
71615
+ }
71616
+
71617
+ /**
71618
+ * Email subjectLine.
71619
+ * @member {string} subjectLine
71620
+ * @memberof Email
71621
+ * @instance
71622
+ */
71623
+ Email.prototype.subjectLine = "";
71624
+
71625
+ /**
71626
+ * Email message.
71627
+ * @member {string} message
71628
+ * @memberof Email
71629
+ * @instance
71630
+ */
71631
+ Email.prototype.message = "";
71632
+
71633
+ /**
71634
+ * Email adminIds.
71635
+ * @member {Array.<number>} adminIds
71636
+ * @memberof Email
71637
+ * @instance
71638
+ */
71639
+ Email.prototype.adminIds = $util.emptyArray;
71640
+
71641
+ /**
71642
+ * Creates a new Email instance using the specified properties.
71643
+ * @function create
71644
+ * @memberof Email
71645
+ * @static
71646
+ * @param {IEmail=} [properties] Properties to set
71647
+ * @returns {Email} Email instance
71648
+ */
71649
+ Email.create = function create(properties) {
71650
+ return new Email(properties);
71651
+ };
71652
+
71653
+ /**
71654
+ * Encodes the specified Email message. Does not implicitly {@link Email.verify|verify} messages.
71655
+ * @function encode
71656
+ * @memberof Email
71657
+ * @static
71658
+ * @param {IEmail} message Email message or plain object to encode
71659
+ * @param {$protobuf.Writer} [writer] Writer to encode to
71660
+ * @returns {$protobuf.Writer} Writer
71661
+ */
71662
+ Email.encode = function encode(message, writer) {
71663
+ if (!writer)
71664
+ writer = $Writer.create();
71665
+ if (message.subjectLine != null && message.hasOwnProperty("subjectLine"))
71666
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.subjectLine);
71667
+ if (message.message != null && message.hasOwnProperty("message"))
71668
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.message);
71669
+ if (message.adminIds != null && message.adminIds.length) {
71670
+ writer.uint32(/* id 3, wireType 2 =*/26).fork();
71671
+ for (var i = 0; i < message.adminIds.length; ++i)
71672
+ writer.uint32(message.adminIds[i]);
71673
+ writer.ldelim();
71674
+ }
71675
+ return writer;
71676
+ };
71677
+
71678
+ /**
71679
+ * Encodes the specified Email message, length delimited. Does not implicitly {@link Email.verify|verify} messages.
71680
+ * @function encodeDelimited
71681
+ * @memberof Email
71682
+ * @static
71683
+ * @param {IEmail} message Email message or plain object to encode
71684
+ * @param {$protobuf.Writer} [writer] Writer to encode to
71685
+ * @returns {$protobuf.Writer} Writer
71686
+ */
71687
+ Email.encodeDelimited = function encodeDelimited(message, writer) {
71688
+ return this.encode(message, writer).ldelim();
71689
+ };
71690
+
71691
+ /**
71692
+ * Decodes an Email message from the specified reader or buffer.
71693
+ * @function decode
71694
+ * @memberof Email
71695
+ * @static
71696
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
71697
+ * @param {number} [length] Message length if known beforehand
71698
+ * @returns {Email} Email
71699
+ * @throws {Error} If the payload is not a reader or valid buffer
71700
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
71701
+ */
71702
+ Email.decode = function decode(reader, length) {
71703
+ if (!(reader instanceof $Reader))
71704
+ reader = $Reader.create(reader);
71705
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.Email();
71706
+ while (reader.pos < end) {
71707
+ var tag = reader.uint32();
71708
+ switch (tag >>> 3) {
71709
+ case 1:
71710
+ message.subjectLine = reader.string();
71711
+ break;
71712
+ case 2:
71713
+ message.message = reader.string();
71714
+ break;
71715
+ case 3:
71716
+ if (!(message.adminIds && message.adminIds.length))
71717
+ message.adminIds = [];
71718
+ if ((tag & 7) === 2) {
71719
+ var end2 = reader.uint32() + reader.pos;
71720
+ while (reader.pos < end2)
71721
+ message.adminIds.push(reader.uint32());
71722
+ } else
71723
+ message.adminIds.push(reader.uint32());
71724
+ break;
71725
+ default:
71726
+ reader.skipType(tag & 7);
71727
+ break;
71728
+ }
71729
+ }
71730
+ return message;
71731
+ };
71732
+
71733
+ /**
71734
+ * Decodes an Email message from the specified reader or buffer, length delimited.
71735
+ * @function decodeDelimited
71736
+ * @memberof Email
71737
+ * @static
71738
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
71739
+ * @returns {Email} Email
71740
+ * @throws {Error} If the payload is not a reader or valid buffer
71741
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
71742
+ */
71743
+ Email.decodeDelimited = function decodeDelimited(reader) {
71744
+ if (!(reader instanceof $Reader))
71745
+ reader = new $Reader(reader);
71746
+ return this.decode(reader, reader.uint32());
71747
+ };
71748
+
71749
+ /**
71750
+ * Verifies an Email message.
71751
+ * @function verify
71752
+ * @memberof Email
71753
+ * @static
71754
+ * @param {Object.<string,*>} message Plain object to verify
71755
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
71756
+ */
71757
+ Email.verify = function verify(message) {
71758
+ if (typeof message !== "object" || message === null)
71759
+ return "object expected";
71760
+ if (message.subjectLine != null && message.hasOwnProperty("subjectLine"))
71761
+ if (!$util.isString(message.subjectLine))
71762
+ return "subjectLine: string expected";
71763
+ if (message.message != null && message.hasOwnProperty("message"))
71764
+ if (!$util.isString(message.message))
71765
+ return "message: string expected";
71766
+ if (message.adminIds != null && message.hasOwnProperty("adminIds")) {
71767
+ if (!Array.isArray(message.adminIds))
71768
+ return "adminIds: array expected";
71769
+ for (var i = 0; i < message.adminIds.length; ++i)
71770
+ if (!$util.isInteger(message.adminIds[i]))
71771
+ return "adminIds: integer[] expected";
71772
+ }
71773
+ return null;
71774
+ };
71775
+
71776
+ /**
71777
+ * Creates an Email message from a plain object. Also converts values to their respective internal types.
71778
+ * @function fromObject
71779
+ * @memberof Email
71780
+ * @static
71781
+ * @param {Object.<string,*>} object Plain object
71782
+ * @returns {Email} Email
71783
+ */
71784
+ Email.fromObject = function fromObject(object) {
71785
+ if (object instanceof $root.Email)
71786
+ return object;
71787
+ var message = new $root.Email();
71788
+ if (object.subjectLine != null)
71789
+ message.subjectLine = String(object.subjectLine);
71790
+ if (object.message != null)
71791
+ message.message = String(object.message);
71792
+ if (object.adminIds) {
71793
+ if (!Array.isArray(object.adminIds))
71794
+ throw TypeError(".Email.adminIds: array expected");
71795
+ message.adminIds = [];
71796
+ for (var i = 0; i < object.adminIds.length; ++i)
71797
+ message.adminIds[i] = object.adminIds[i] >>> 0;
71798
+ }
71799
+ return message;
71800
+ };
71801
+
71802
+ /**
71803
+ * Creates a plain object from an Email message. Also converts values to other types if specified.
71804
+ * @function toObject
71805
+ * @memberof Email
71806
+ * @static
71807
+ * @param {Email} message Email
71808
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
71809
+ * @returns {Object.<string,*>} Plain object
71810
+ */
71811
+ Email.toObject = function toObject(message, options) {
71812
+ if (!options)
71813
+ options = {};
71814
+ var object = {};
71815
+ if (options.arrays || options.defaults)
71816
+ object.adminIds = [];
71817
+ if (options.defaults) {
71818
+ object.subjectLine = "";
71819
+ object.message = "";
71820
+ }
71821
+ if (message.subjectLine != null && message.hasOwnProperty("subjectLine"))
71822
+ object.subjectLine = message.subjectLine;
71823
+ if (message.message != null && message.hasOwnProperty("message"))
71824
+ object.message = message.message;
71825
+ if (message.adminIds && message.adminIds.length) {
71826
+ object.adminIds = [];
71827
+ for (var j = 0; j < message.adminIds.length; ++j)
71828
+ object.adminIds[j] = message.adminIds[j];
71829
+ }
71830
+ return object;
71831
+ };
71832
+
71833
+ /**
71834
+ * Converts this Email to JSON.
71835
+ * @function toJSON
71836
+ * @memberof Email
71837
+ * @instance
71838
+ * @returns {Object.<string,*>} JSON object
71839
+ */
71840
+ Email.prototype.toJSON = function toJSON() {
71841
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
71842
+ };
71843
+
71844
+ return Email;
71845
+ })();
71846
+
70895
71847
  $root.GracefulExitCompleted = (function() {
70896
71848
 
70897
71849
  /**
package/package.json CHANGED
@@ -16,5 +16,5 @@
16
16
  "main": "lib/index.js",
17
17
  "name": "@headspace/protos-events",
18
18
  "typings": "lib/index.d.ts",
19
- "version": "1.283.0"
19
+ "version": "1.285.0"
20
20
  }