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