@headspace/protos-events 1.717.0 → 1.718.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
@@ -3317,6 +3317,108 @@ export class EligibleUserAmended implements IEligibleUserAmended {
3317
3317
  public toJSON(): { [k: string]: any };
3318
3318
  }
3319
3319
 
3320
+ /** Properties of an EligibilityDataDeleted. */
3321
+ export interface IEligibilityDataDeleted {
3322
+
3323
+ /** EligibilityDataDeleted timestamp */
3324
+ timestamp?: (number|Long|null);
3325
+
3326
+ /** EligibilityDataDeleted b2bOrgId */
3327
+ b2bOrgId?: (number|null);
3328
+
3329
+ /** EligibilityDataDeleted eligibilityCollectiveUuid */
3330
+ eligibilityCollectiveUuid?: (string|null);
3331
+ }
3332
+
3333
+ /** Represents an EligibilityDataDeleted. */
3334
+ export class EligibilityDataDeleted implements IEligibilityDataDeleted {
3335
+
3336
+ /**
3337
+ * Constructs a new EligibilityDataDeleted.
3338
+ * @param [properties] Properties to set
3339
+ */
3340
+ constructor(properties?: IEligibilityDataDeleted);
3341
+
3342
+ /** EligibilityDataDeleted timestamp. */
3343
+ public timestamp: (number|Long);
3344
+
3345
+ /** EligibilityDataDeleted b2bOrgId. */
3346
+ public b2bOrgId: number;
3347
+
3348
+ /** EligibilityDataDeleted eligibilityCollectiveUuid. */
3349
+ public eligibilityCollectiveUuid: string;
3350
+
3351
+ /**
3352
+ * Creates a new EligibilityDataDeleted instance using the specified properties.
3353
+ * @param [properties] Properties to set
3354
+ * @returns EligibilityDataDeleted instance
3355
+ */
3356
+ public static create(properties?: IEligibilityDataDeleted): EligibilityDataDeleted;
3357
+
3358
+ /**
3359
+ * Encodes the specified EligibilityDataDeleted message. Does not implicitly {@link EligibilityDataDeleted.verify|verify} messages.
3360
+ * @param message EligibilityDataDeleted message or plain object to encode
3361
+ * @param [writer] Writer to encode to
3362
+ * @returns Writer
3363
+ */
3364
+ public static encode(message: IEligibilityDataDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
3365
+
3366
+ /**
3367
+ * Encodes the specified EligibilityDataDeleted message, length delimited. Does not implicitly {@link EligibilityDataDeleted.verify|verify} messages.
3368
+ * @param message EligibilityDataDeleted message or plain object to encode
3369
+ * @param [writer] Writer to encode to
3370
+ * @returns Writer
3371
+ */
3372
+ public static encodeDelimited(message: IEligibilityDataDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
3373
+
3374
+ /**
3375
+ * Decodes an EligibilityDataDeleted message from the specified reader or buffer.
3376
+ * @param reader Reader or buffer to decode from
3377
+ * @param [length] Message length if known beforehand
3378
+ * @returns EligibilityDataDeleted
3379
+ * @throws {Error} If the payload is not a reader or valid buffer
3380
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3381
+ */
3382
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): EligibilityDataDeleted;
3383
+
3384
+ /**
3385
+ * Decodes an EligibilityDataDeleted message from the specified reader or buffer, length delimited.
3386
+ * @param reader Reader or buffer to decode from
3387
+ * @returns EligibilityDataDeleted
3388
+ * @throws {Error} If the payload is not a reader or valid buffer
3389
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3390
+ */
3391
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): EligibilityDataDeleted;
3392
+
3393
+ /**
3394
+ * Verifies an EligibilityDataDeleted message.
3395
+ * @param message Plain object to verify
3396
+ * @returns `null` if valid, otherwise the reason why it is not
3397
+ */
3398
+ public static verify(message: { [k: string]: any }): (string|null);
3399
+
3400
+ /**
3401
+ * Creates an EligibilityDataDeleted message from a plain object. Also converts values to their respective internal types.
3402
+ * @param object Plain object
3403
+ * @returns EligibilityDataDeleted
3404
+ */
3405
+ public static fromObject(object: { [k: string]: any }): EligibilityDataDeleted;
3406
+
3407
+ /**
3408
+ * Creates a plain object from an EligibilityDataDeleted message. Also converts values to other types if specified.
3409
+ * @param message EligibilityDataDeleted
3410
+ * @param [options] Conversion options
3411
+ * @returns Plain object
3412
+ */
3413
+ public static toObject(message: EligibilityDataDeleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
3414
+
3415
+ /**
3416
+ * Converts this EligibilityDataDeleted to JSON.
3417
+ * @returns JSON object
3418
+ */
3419
+ public toJSON(): { [k: string]: any };
3420
+ }
3421
+
3320
3422
  /** Properties of an Email. */
3321
3423
  export interface IEmail {
3322
3424
 
package/lib/index.js CHANGED
@@ -10271,6 +10271,252 @@ $root.EligibleUserAmended = (function() {
10271
10271
  return EligibleUserAmended;
10272
10272
  })();
10273
10273
 
10274
+ $root.EligibilityDataDeleted = (function() {
10275
+
10276
+ /**
10277
+ * Properties of an EligibilityDataDeleted.
10278
+ * @name IEligibilityDataDeleted
10279
+ * @interface IEligibilityDataDeleted
10280
+ * @property {number|Long|null} [timestamp] EligibilityDataDeleted timestamp
10281
+ * @property {number|null} [b2bOrgId] EligibilityDataDeleted b2bOrgId
10282
+ * @property {string|null} [eligibilityCollectiveUuid] EligibilityDataDeleted eligibilityCollectiveUuid
10283
+ */
10284
+
10285
+ /**
10286
+ * Constructs a new EligibilityDataDeleted.
10287
+ * @name EligibilityDataDeleted
10288
+ * @classdesc Represents an EligibilityDataDeleted.
10289
+ * @implements IEligibilityDataDeleted
10290
+ * @constructor
10291
+ * @param {IEligibilityDataDeleted=} [properties] Properties to set
10292
+ */
10293
+ function EligibilityDataDeleted(properties) {
10294
+ if (properties)
10295
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
10296
+ if (properties[keys[i]] != null)
10297
+ this[keys[i]] = properties[keys[i]];
10298
+ }
10299
+
10300
+ /**
10301
+ * EligibilityDataDeleted timestamp.
10302
+ * @member {number|Long} timestamp
10303
+ * @memberof EligibilityDataDeleted
10304
+ * @instance
10305
+ */
10306
+ EligibilityDataDeleted.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
10307
+
10308
+ /**
10309
+ * EligibilityDataDeleted b2bOrgId.
10310
+ * @member {number} b2bOrgId
10311
+ * @memberof EligibilityDataDeleted
10312
+ * @instance
10313
+ */
10314
+ EligibilityDataDeleted.prototype.b2bOrgId = 0;
10315
+
10316
+ /**
10317
+ * EligibilityDataDeleted eligibilityCollectiveUuid.
10318
+ * @member {string} eligibilityCollectiveUuid
10319
+ * @memberof EligibilityDataDeleted
10320
+ * @instance
10321
+ */
10322
+ EligibilityDataDeleted.prototype.eligibilityCollectiveUuid = "";
10323
+
10324
+ /**
10325
+ * Creates a new EligibilityDataDeleted instance using the specified properties.
10326
+ * @function create
10327
+ * @memberof EligibilityDataDeleted
10328
+ * @static
10329
+ * @param {IEligibilityDataDeleted=} [properties] Properties to set
10330
+ * @returns {EligibilityDataDeleted} EligibilityDataDeleted instance
10331
+ */
10332
+ EligibilityDataDeleted.create = function create(properties) {
10333
+ return new EligibilityDataDeleted(properties);
10334
+ };
10335
+
10336
+ /**
10337
+ * Encodes the specified EligibilityDataDeleted message. Does not implicitly {@link EligibilityDataDeleted.verify|verify} messages.
10338
+ * @function encode
10339
+ * @memberof EligibilityDataDeleted
10340
+ * @static
10341
+ * @param {IEligibilityDataDeleted} message EligibilityDataDeleted message or plain object to encode
10342
+ * @param {$protobuf.Writer} [writer] Writer to encode to
10343
+ * @returns {$protobuf.Writer} Writer
10344
+ */
10345
+ EligibilityDataDeleted.encode = function encode(message, writer) {
10346
+ if (!writer)
10347
+ writer = $Writer.create();
10348
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
10349
+ writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.timestamp);
10350
+ if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
10351
+ writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.b2bOrgId);
10352
+ if (message.eligibilityCollectiveUuid != null && message.hasOwnProperty("eligibilityCollectiveUuid"))
10353
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.eligibilityCollectiveUuid);
10354
+ return writer;
10355
+ };
10356
+
10357
+ /**
10358
+ * Encodes the specified EligibilityDataDeleted message, length delimited. Does not implicitly {@link EligibilityDataDeleted.verify|verify} messages.
10359
+ * @function encodeDelimited
10360
+ * @memberof EligibilityDataDeleted
10361
+ * @static
10362
+ * @param {IEligibilityDataDeleted} message EligibilityDataDeleted message or plain object to encode
10363
+ * @param {$protobuf.Writer} [writer] Writer to encode to
10364
+ * @returns {$protobuf.Writer} Writer
10365
+ */
10366
+ EligibilityDataDeleted.encodeDelimited = function encodeDelimited(message, writer) {
10367
+ return this.encode(message, writer).ldelim();
10368
+ };
10369
+
10370
+ /**
10371
+ * Decodes an EligibilityDataDeleted message from the specified reader or buffer.
10372
+ * @function decode
10373
+ * @memberof EligibilityDataDeleted
10374
+ * @static
10375
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
10376
+ * @param {number} [length] Message length if known beforehand
10377
+ * @returns {EligibilityDataDeleted} EligibilityDataDeleted
10378
+ * @throws {Error} If the payload is not a reader or valid buffer
10379
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
10380
+ */
10381
+ EligibilityDataDeleted.decode = function decode(reader, length) {
10382
+ if (!(reader instanceof $Reader))
10383
+ reader = $Reader.create(reader);
10384
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.EligibilityDataDeleted();
10385
+ while (reader.pos < end) {
10386
+ var tag = reader.uint32();
10387
+ switch (tag >>> 3) {
10388
+ case 1:
10389
+ message.timestamp = reader.uint64();
10390
+ break;
10391
+ case 2:
10392
+ message.b2bOrgId = reader.uint32();
10393
+ break;
10394
+ case 3:
10395
+ message.eligibilityCollectiveUuid = reader.string();
10396
+ break;
10397
+ default:
10398
+ reader.skipType(tag & 7);
10399
+ break;
10400
+ }
10401
+ }
10402
+ return message;
10403
+ };
10404
+
10405
+ /**
10406
+ * Decodes an EligibilityDataDeleted message from the specified reader or buffer, length delimited.
10407
+ * @function decodeDelimited
10408
+ * @memberof EligibilityDataDeleted
10409
+ * @static
10410
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
10411
+ * @returns {EligibilityDataDeleted} EligibilityDataDeleted
10412
+ * @throws {Error} If the payload is not a reader or valid buffer
10413
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
10414
+ */
10415
+ EligibilityDataDeleted.decodeDelimited = function decodeDelimited(reader) {
10416
+ if (!(reader instanceof $Reader))
10417
+ reader = new $Reader(reader);
10418
+ return this.decode(reader, reader.uint32());
10419
+ };
10420
+
10421
+ /**
10422
+ * Verifies an EligibilityDataDeleted message.
10423
+ * @function verify
10424
+ * @memberof EligibilityDataDeleted
10425
+ * @static
10426
+ * @param {Object.<string,*>} message Plain object to verify
10427
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
10428
+ */
10429
+ EligibilityDataDeleted.verify = function verify(message) {
10430
+ if (typeof message !== "object" || message === null)
10431
+ return "object expected";
10432
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
10433
+ if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
10434
+ return "timestamp: integer|Long expected";
10435
+ if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
10436
+ if (!$util.isInteger(message.b2bOrgId))
10437
+ return "b2bOrgId: integer expected";
10438
+ if (message.eligibilityCollectiveUuid != null && message.hasOwnProperty("eligibilityCollectiveUuid"))
10439
+ if (!$util.isString(message.eligibilityCollectiveUuid))
10440
+ return "eligibilityCollectiveUuid: string expected";
10441
+ return null;
10442
+ };
10443
+
10444
+ /**
10445
+ * Creates an EligibilityDataDeleted message from a plain object. Also converts values to their respective internal types.
10446
+ * @function fromObject
10447
+ * @memberof EligibilityDataDeleted
10448
+ * @static
10449
+ * @param {Object.<string,*>} object Plain object
10450
+ * @returns {EligibilityDataDeleted} EligibilityDataDeleted
10451
+ */
10452
+ EligibilityDataDeleted.fromObject = function fromObject(object) {
10453
+ if (object instanceof $root.EligibilityDataDeleted)
10454
+ return object;
10455
+ var message = new $root.EligibilityDataDeleted();
10456
+ if (object.timestamp != null)
10457
+ if ($util.Long)
10458
+ (message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
10459
+ else if (typeof object.timestamp === "string")
10460
+ message.timestamp = parseInt(object.timestamp, 10);
10461
+ else if (typeof object.timestamp === "number")
10462
+ message.timestamp = object.timestamp;
10463
+ else if (typeof object.timestamp === "object")
10464
+ message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
10465
+ if (object.b2bOrgId != null)
10466
+ message.b2bOrgId = object.b2bOrgId >>> 0;
10467
+ if (object.eligibilityCollectiveUuid != null)
10468
+ message.eligibilityCollectiveUuid = String(object.eligibilityCollectiveUuid);
10469
+ return message;
10470
+ };
10471
+
10472
+ /**
10473
+ * Creates a plain object from an EligibilityDataDeleted message. Also converts values to other types if specified.
10474
+ * @function toObject
10475
+ * @memberof EligibilityDataDeleted
10476
+ * @static
10477
+ * @param {EligibilityDataDeleted} message EligibilityDataDeleted
10478
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
10479
+ * @returns {Object.<string,*>} Plain object
10480
+ */
10481
+ EligibilityDataDeleted.toObject = function toObject(message, options) {
10482
+ if (!options)
10483
+ options = {};
10484
+ var object = {};
10485
+ if (options.defaults) {
10486
+ if ($util.Long) {
10487
+ var long = new $util.Long(0, 0, true);
10488
+ object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
10489
+ } else
10490
+ object.timestamp = options.longs === String ? "0" : 0;
10491
+ object.b2bOrgId = 0;
10492
+ object.eligibilityCollectiveUuid = "";
10493
+ }
10494
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
10495
+ if (typeof message.timestamp === "number")
10496
+ object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
10497
+ else
10498
+ object.timestamp = options.longs === String ? $util.Long.prototype.toString.call(message.timestamp) : options.longs === Number ? new $util.LongBits(message.timestamp.low >>> 0, message.timestamp.high >>> 0).toNumber(true) : message.timestamp;
10499
+ if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
10500
+ object.b2bOrgId = message.b2bOrgId;
10501
+ if (message.eligibilityCollectiveUuid != null && message.hasOwnProperty("eligibilityCollectiveUuid"))
10502
+ object.eligibilityCollectiveUuid = message.eligibilityCollectiveUuid;
10503
+ return object;
10504
+ };
10505
+
10506
+ /**
10507
+ * Converts this EligibilityDataDeleted to JSON.
10508
+ * @function toJSON
10509
+ * @memberof EligibilityDataDeleted
10510
+ * @instance
10511
+ * @returns {Object.<string,*>} JSON object
10512
+ */
10513
+ EligibilityDataDeleted.prototype.toJSON = function toJSON() {
10514
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
10515
+ };
10516
+
10517
+ return EligibilityDataDeleted;
10518
+ })();
10519
+
10274
10520
  $root.Email = (function() {
10275
10521
 
10276
10522
  /**
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.717.0"
19
+ "version": "1.718.0"
20
20
  }