@headspace/protos-events 1.717.0 → 1.719.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
 
@@ -31872,6 +31974,102 @@ export class OrganizationMFAUpdated implements IOrganizationMFAUpdated {
31872
31974
  public toJSON(): { [k: string]: any };
31873
31975
  }
31874
31976
 
31977
+ /** Properties of a B2bSsoOrganizationMigrated. */
31978
+ export interface IB2bSsoOrganizationMigrated {
31979
+
31980
+ /** B2bSsoOrganizationMigrated orgId */
31981
+ orgId?: (number|Long|null);
31982
+
31983
+ /** B2bSsoOrganizationMigrated migratedAtTimestamp */
31984
+ migratedAtTimestamp?: (number|Long|null);
31985
+ }
31986
+
31987
+ /** Represents a B2bSsoOrganizationMigrated. */
31988
+ export class B2bSsoOrganizationMigrated implements IB2bSsoOrganizationMigrated {
31989
+
31990
+ /**
31991
+ * Constructs a new B2bSsoOrganizationMigrated.
31992
+ * @param [properties] Properties to set
31993
+ */
31994
+ constructor(properties?: IB2bSsoOrganizationMigrated);
31995
+
31996
+ /** B2bSsoOrganizationMigrated orgId. */
31997
+ public orgId: (number|Long);
31998
+
31999
+ /** B2bSsoOrganizationMigrated migratedAtTimestamp. */
32000
+ public migratedAtTimestamp: (number|Long);
32001
+
32002
+ /**
32003
+ * Creates a new B2bSsoOrganizationMigrated instance using the specified properties.
32004
+ * @param [properties] Properties to set
32005
+ * @returns B2bSsoOrganizationMigrated instance
32006
+ */
32007
+ public static create(properties?: IB2bSsoOrganizationMigrated): B2bSsoOrganizationMigrated;
32008
+
32009
+ /**
32010
+ * Encodes the specified B2bSsoOrganizationMigrated message. Does not implicitly {@link B2bSsoOrganizationMigrated.verify|verify} messages.
32011
+ * @param message B2bSsoOrganizationMigrated message or plain object to encode
32012
+ * @param [writer] Writer to encode to
32013
+ * @returns Writer
32014
+ */
32015
+ public static encode(message: IB2bSsoOrganizationMigrated, writer?: $protobuf.Writer): $protobuf.Writer;
32016
+
32017
+ /**
32018
+ * Encodes the specified B2bSsoOrganizationMigrated message, length delimited. Does not implicitly {@link B2bSsoOrganizationMigrated.verify|verify} messages.
32019
+ * @param message B2bSsoOrganizationMigrated message or plain object to encode
32020
+ * @param [writer] Writer to encode to
32021
+ * @returns Writer
32022
+ */
32023
+ public static encodeDelimited(message: IB2bSsoOrganizationMigrated, writer?: $protobuf.Writer): $protobuf.Writer;
32024
+
32025
+ /**
32026
+ * Decodes a B2bSsoOrganizationMigrated message from the specified reader or buffer.
32027
+ * @param reader Reader or buffer to decode from
32028
+ * @param [length] Message length if known beforehand
32029
+ * @returns B2bSsoOrganizationMigrated
32030
+ * @throws {Error} If the payload is not a reader or valid buffer
32031
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
32032
+ */
32033
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): B2bSsoOrganizationMigrated;
32034
+
32035
+ /**
32036
+ * Decodes a B2bSsoOrganizationMigrated message from the specified reader or buffer, length delimited.
32037
+ * @param reader Reader or buffer to decode from
32038
+ * @returns B2bSsoOrganizationMigrated
32039
+ * @throws {Error} If the payload is not a reader or valid buffer
32040
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
32041
+ */
32042
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): B2bSsoOrganizationMigrated;
32043
+
32044
+ /**
32045
+ * Verifies a B2bSsoOrganizationMigrated message.
32046
+ * @param message Plain object to verify
32047
+ * @returns `null` if valid, otherwise the reason why it is not
32048
+ */
32049
+ public static verify(message: { [k: string]: any }): (string|null);
32050
+
32051
+ /**
32052
+ * Creates a B2bSsoOrganizationMigrated message from a plain object. Also converts values to their respective internal types.
32053
+ * @param object Plain object
32054
+ * @returns B2bSsoOrganizationMigrated
32055
+ */
32056
+ public static fromObject(object: { [k: string]: any }): B2bSsoOrganizationMigrated;
32057
+
32058
+ /**
32059
+ * Creates a plain object from a B2bSsoOrganizationMigrated message. Also converts values to other types if specified.
32060
+ * @param message B2bSsoOrganizationMigrated
32061
+ * @param [options] Conversion options
32062
+ * @returns Plain object
32063
+ */
32064
+ public static toObject(message: B2bSsoOrganizationMigrated, options?: $protobuf.IConversionOptions): { [k: string]: any };
32065
+
32066
+ /**
32067
+ * Converts this B2bSsoOrganizationMigrated to JSON.
32068
+ * @returns JSON object
32069
+ */
32070
+ public toJSON(): { [k: string]: any };
32071
+ }
32072
+
31875
32073
  /** Properties of an OrgMarketingConfigUpdated. */
31876
32074
  export interface IOrgMarketingConfigUpdated {
31877
32075
 
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
  /**
@@ -89561,6 +89807,244 @@ $root.OrganizationMFAUpdated = (function() {
89561
89807
  return OrganizationMFAUpdated;
89562
89808
  })();
89563
89809
 
89810
+ $root.B2bSsoOrganizationMigrated = (function() {
89811
+
89812
+ /**
89813
+ * Properties of a B2bSsoOrganizationMigrated.
89814
+ * @name IB2bSsoOrganizationMigrated
89815
+ * @interface IB2bSsoOrganizationMigrated
89816
+ * @property {number|Long|null} [orgId] B2bSsoOrganizationMigrated orgId
89817
+ * @property {number|Long|null} [migratedAtTimestamp] B2bSsoOrganizationMigrated migratedAtTimestamp
89818
+ */
89819
+
89820
+ /**
89821
+ * Constructs a new B2bSsoOrganizationMigrated.
89822
+ * @name B2bSsoOrganizationMigrated
89823
+ * @classdesc Represents a B2bSsoOrganizationMigrated.
89824
+ * @implements IB2bSsoOrganizationMigrated
89825
+ * @constructor
89826
+ * @param {IB2bSsoOrganizationMigrated=} [properties] Properties to set
89827
+ */
89828
+ function B2bSsoOrganizationMigrated(properties) {
89829
+ if (properties)
89830
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
89831
+ if (properties[keys[i]] != null)
89832
+ this[keys[i]] = properties[keys[i]];
89833
+ }
89834
+
89835
+ /**
89836
+ * B2bSsoOrganizationMigrated orgId.
89837
+ * @member {number|Long} orgId
89838
+ * @memberof B2bSsoOrganizationMigrated
89839
+ * @instance
89840
+ */
89841
+ B2bSsoOrganizationMigrated.prototype.orgId = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
89842
+
89843
+ /**
89844
+ * B2bSsoOrganizationMigrated migratedAtTimestamp.
89845
+ * @member {number|Long} migratedAtTimestamp
89846
+ * @memberof B2bSsoOrganizationMigrated
89847
+ * @instance
89848
+ */
89849
+ B2bSsoOrganizationMigrated.prototype.migratedAtTimestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
89850
+
89851
+ /**
89852
+ * Creates a new B2bSsoOrganizationMigrated instance using the specified properties.
89853
+ * @function create
89854
+ * @memberof B2bSsoOrganizationMigrated
89855
+ * @static
89856
+ * @param {IB2bSsoOrganizationMigrated=} [properties] Properties to set
89857
+ * @returns {B2bSsoOrganizationMigrated} B2bSsoOrganizationMigrated instance
89858
+ */
89859
+ B2bSsoOrganizationMigrated.create = function create(properties) {
89860
+ return new B2bSsoOrganizationMigrated(properties);
89861
+ };
89862
+
89863
+ /**
89864
+ * Encodes the specified B2bSsoOrganizationMigrated message. Does not implicitly {@link B2bSsoOrganizationMigrated.verify|verify} messages.
89865
+ * @function encode
89866
+ * @memberof B2bSsoOrganizationMigrated
89867
+ * @static
89868
+ * @param {IB2bSsoOrganizationMigrated} message B2bSsoOrganizationMigrated message or plain object to encode
89869
+ * @param {$protobuf.Writer} [writer] Writer to encode to
89870
+ * @returns {$protobuf.Writer} Writer
89871
+ */
89872
+ B2bSsoOrganizationMigrated.encode = function encode(message, writer) {
89873
+ if (!writer)
89874
+ writer = $Writer.create();
89875
+ if (message.orgId != null && message.hasOwnProperty("orgId"))
89876
+ writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.orgId);
89877
+ if (message.migratedAtTimestamp != null && message.hasOwnProperty("migratedAtTimestamp"))
89878
+ writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.migratedAtTimestamp);
89879
+ return writer;
89880
+ };
89881
+
89882
+ /**
89883
+ * Encodes the specified B2bSsoOrganizationMigrated message, length delimited. Does not implicitly {@link B2bSsoOrganizationMigrated.verify|verify} messages.
89884
+ * @function encodeDelimited
89885
+ * @memberof B2bSsoOrganizationMigrated
89886
+ * @static
89887
+ * @param {IB2bSsoOrganizationMigrated} message B2bSsoOrganizationMigrated message or plain object to encode
89888
+ * @param {$protobuf.Writer} [writer] Writer to encode to
89889
+ * @returns {$protobuf.Writer} Writer
89890
+ */
89891
+ B2bSsoOrganizationMigrated.encodeDelimited = function encodeDelimited(message, writer) {
89892
+ return this.encode(message, writer).ldelim();
89893
+ };
89894
+
89895
+ /**
89896
+ * Decodes a B2bSsoOrganizationMigrated message from the specified reader or buffer.
89897
+ * @function decode
89898
+ * @memberof B2bSsoOrganizationMigrated
89899
+ * @static
89900
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
89901
+ * @param {number} [length] Message length if known beforehand
89902
+ * @returns {B2bSsoOrganizationMigrated} B2bSsoOrganizationMigrated
89903
+ * @throws {Error} If the payload is not a reader or valid buffer
89904
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
89905
+ */
89906
+ B2bSsoOrganizationMigrated.decode = function decode(reader, length) {
89907
+ if (!(reader instanceof $Reader))
89908
+ reader = $Reader.create(reader);
89909
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.B2bSsoOrganizationMigrated();
89910
+ while (reader.pos < end) {
89911
+ var tag = reader.uint32();
89912
+ switch (tag >>> 3) {
89913
+ case 1:
89914
+ message.orgId = reader.uint64();
89915
+ break;
89916
+ case 2:
89917
+ message.migratedAtTimestamp = reader.uint64();
89918
+ break;
89919
+ default:
89920
+ reader.skipType(tag & 7);
89921
+ break;
89922
+ }
89923
+ }
89924
+ return message;
89925
+ };
89926
+
89927
+ /**
89928
+ * Decodes a B2bSsoOrganizationMigrated message from the specified reader or buffer, length delimited.
89929
+ * @function decodeDelimited
89930
+ * @memberof B2bSsoOrganizationMigrated
89931
+ * @static
89932
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
89933
+ * @returns {B2bSsoOrganizationMigrated} B2bSsoOrganizationMigrated
89934
+ * @throws {Error} If the payload is not a reader or valid buffer
89935
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
89936
+ */
89937
+ B2bSsoOrganizationMigrated.decodeDelimited = function decodeDelimited(reader) {
89938
+ if (!(reader instanceof $Reader))
89939
+ reader = new $Reader(reader);
89940
+ return this.decode(reader, reader.uint32());
89941
+ };
89942
+
89943
+ /**
89944
+ * Verifies a B2bSsoOrganizationMigrated message.
89945
+ * @function verify
89946
+ * @memberof B2bSsoOrganizationMigrated
89947
+ * @static
89948
+ * @param {Object.<string,*>} message Plain object to verify
89949
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
89950
+ */
89951
+ B2bSsoOrganizationMigrated.verify = function verify(message) {
89952
+ if (typeof message !== "object" || message === null)
89953
+ return "object expected";
89954
+ if (message.orgId != null && message.hasOwnProperty("orgId"))
89955
+ if (!$util.isInteger(message.orgId) && !(message.orgId && $util.isInteger(message.orgId.low) && $util.isInteger(message.orgId.high)))
89956
+ return "orgId: integer|Long expected";
89957
+ if (message.migratedAtTimestamp != null && message.hasOwnProperty("migratedAtTimestamp"))
89958
+ if (!$util.isInteger(message.migratedAtTimestamp) && !(message.migratedAtTimestamp && $util.isInteger(message.migratedAtTimestamp.low) && $util.isInteger(message.migratedAtTimestamp.high)))
89959
+ return "migratedAtTimestamp: integer|Long expected";
89960
+ return null;
89961
+ };
89962
+
89963
+ /**
89964
+ * Creates a B2bSsoOrganizationMigrated message from a plain object. Also converts values to their respective internal types.
89965
+ * @function fromObject
89966
+ * @memberof B2bSsoOrganizationMigrated
89967
+ * @static
89968
+ * @param {Object.<string,*>} object Plain object
89969
+ * @returns {B2bSsoOrganizationMigrated} B2bSsoOrganizationMigrated
89970
+ */
89971
+ B2bSsoOrganizationMigrated.fromObject = function fromObject(object) {
89972
+ if (object instanceof $root.B2bSsoOrganizationMigrated)
89973
+ return object;
89974
+ var message = new $root.B2bSsoOrganizationMigrated();
89975
+ if (object.orgId != null)
89976
+ if ($util.Long)
89977
+ (message.orgId = $util.Long.fromValue(object.orgId)).unsigned = true;
89978
+ else if (typeof object.orgId === "string")
89979
+ message.orgId = parseInt(object.orgId, 10);
89980
+ else if (typeof object.orgId === "number")
89981
+ message.orgId = object.orgId;
89982
+ else if (typeof object.orgId === "object")
89983
+ message.orgId = new $util.LongBits(object.orgId.low >>> 0, object.orgId.high >>> 0).toNumber(true);
89984
+ if (object.migratedAtTimestamp != null)
89985
+ if ($util.Long)
89986
+ (message.migratedAtTimestamp = $util.Long.fromValue(object.migratedAtTimestamp)).unsigned = true;
89987
+ else if (typeof object.migratedAtTimestamp === "string")
89988
+ message.migratedAtTimestamp = parseInt(object.migratedAtTimestamp, 10);
89989
+ else if (typeof object.migratedAtTimestamp === "number")
89990
+ message.migratedAtTimestamp = object.migratedAtTimestamp;
89991
+ else if (typeof object.migratedAtTimestamp === "object")
89992
+ message.migratedAtTimestamp = new $util.LongBits(object.migratedAtTimestamp.low >>> 0, object.migratedAtTimestamp.high >>> 0).toNumber(true);
89993
+ return message;
89994
+ };
89995
+
89996
+ /**
89997
+ * Creates a plain object from a B2bSsoOrganizationMigrated message. Also converts values to other types if specified.
89998
+ * @function toObject
89999
+ * @memberof B2bSsoOrganizationMigrated
90000
+ * @static
90001
+ * @param {B2bSsoOrganizationMigrated} message B2bSsoOrganizationMigrated
90002
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
90003
+ * @returns {Object.<string,*>} Plain object
90004
+ */
90005
+ B2bSsoOrganizationMigrated.toObject = function toObject(message, options) {
90006
+ if (!options)
90007
+ options = {};
90008
+ var object = {};
90009
+ if (options.defaults) {
90010
+ if ($util.Long) {
90011
+ var long = new $util.Long(0, 0, true);
90012
+ object.orgId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
90013
+ } else
90014
+ object.orgId = options.longs === String ? "0" : 0;
90015
+ if ($util.Long) {
90016
+ var long = new $util.Long(0, 0, true);
90017
+ object.migratedAtTimestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
90018
+ } else
90019
+ object.migratedAtTimestamp = options.longs === String ? "0" : 0;
90020
+ }
90021
+ if (message.orgId != null && message.hasOwnProperty("orgId"))
90022
+ if (typeof message.orgId === "number")
90023
+ object.orgId = options.longs === String ? String(message.orgId) : message.orgId;
90024
+ else
90025
+ object.orgId = options.longs === String ? $util.Long.prototype.toString.call(message.orgId) : options.longs === Number ? new $util.LongBits(message.orgId.low >>> 0, message.orgId.high >>> 0).toNumber(true) : message.orgId;
90026
+ if (message.migratedAtTimestamp != null && message.hasOwnProperty("migratedAtTimestamp"))
90027
+ if (typeof message.migratedAtTimestamp === "number")
90028
+ object.migratedAtTimestamp = options.longs === String ? String(message.migratedAtTimestamp) : message.migratedAtTimestamp;
90029
+ else
90030
+ object.migratedAtTimestamp = options.longs === String ? $util.Long.prototype.toString.call(message.migratedAtTimestamp) : options.longs === Number ? new $util.LongBits(message.migratedAtTimestamp.low >>> 0, message.migratedAtTimestamp.high >>> 0).toNumber(true) : message.migratedAtTimestamp;
90031
+ return object;
90032
+ };
90033
+
90034
+ /**
90035
+ * Converts this B2bSsoOrganizationMigrated to JSON.
90036
+ * @function toJSON
90037
+ * @memberof B2bSsoOrganizationMigrated
90038
+ * @instance
90039
+ * @returns {Object.<string,*>} JSON object
90040
+ */
90041
+ B2bSsoOrganizationMigrated.prototype.toJSON = function toJSON() {
90042
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
90043
+ };
90044
+
90045
+ return B2bSsoOrganizationMigrated;
90046
+ })();
90047
+
89564
90048
  $root.OrgMarketingConfigUpdated = (function() {
89565
90049
 
89566
90050
  /**
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.719.0"
20
20
  }