@headspace/protos-events 1.672.0 → 1.673.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
@@ -47901,6 +47901,138 @@ export class OrganizationMFAUpdated implements IOrganizationMFAUpdated {
47901
47901
  public toJSON(): { [k: string]: any };
47902
47902
  }
47903
47903
 
47904
+ /** Properties of an OrgMarketingConfigUpdated. */
47905
+ export interface IOrgMarketingConfigUpdated {
47906
+
47907
+ /** OrgMarketingConfigUpdated b2bOrgId */
47908
+ b2bOrgId?: (number|null);
47909
+
47910
+ /** OrgMarketingConfigUpdated isSmb */
47911
+ isSmb?: (boolean|null);
47912
+
47913
+ /** OrgMarketingConfigUpdated areMemberCommsEnabled */
47914
+ areMemberCommsEnabled?: (boolean|null);
47915
+
47916
+ /** OrgMarketingConfigUpdated areNonMemberCommsEnabled */
47917
+ areNonMemberCommsEnabled?: (boolean|null);
47918
+
47919
+ /** OrgMarketingConfigUpdated areEnrollmentCommsEnabled */
47920
+ areEnrollmentCommsEnabled?: (boolean|null);
47921
+
47922
+ /** OrgMarketingConfigUpdated campaignDisplayName */
47923
+ campaignDisplayName?: (string|null);
47924
+
47925
+ /** OrgMarketingConfigUpdated campaignLaunchDate */
47926
+ campaignLaunchDate?: (number|Long|null);
47927
+
47928
+ /** OrgMarketingConfigUpdated adminId */
47929
+ adminId?: (number|null);
47930
+ }
47931
+
47932
+ /** Represents an OrgMarketingConfigUpdated. */
47933
+ export class OrgMarketingConfigUpdated implements IOrgMarketingConfigUpdated {
47934
+
47935
+ /**
47936
+ * Constructs a new OrgMarketingConfigUpdated.
47937
+ * @param [properties] Properties to set
47938
+ */
47939
+ constructor(properties?: IOrgMarketingConfigUpdated);
47940
+
47941
+ /** OrgMarketingConfigUpdated b2bOrgId. */
47942
+ public b2bOrgId: number;
47943
+
47944
+ /** OrgMarketingConfigUpdated isSmb. */
47945
+ public isSmb: boolean;
47946
+
47947
+ /** OrgMarketingConfigUpdated areMemberCommsEnabled. */
47948
+ public areMemberCommsEnabled: boolean;
47949
+
47950
+ /** OrgMarketingConfigUpdated areNonMemberCommsEnabled. */
47951
+ public areNonMemberCommsEnabled: boolean;
47952
+
47953
+ /** OrgMarketingConfigUpdated areEnrollmentCommsEnabled. */
47954
+ public areEnrollmentCommsEnabled: boolean;
47955
+
47956
+ /** OrgMarketingConfigUpdated campaignDisplayName. */
47957
+ public campaignDisplayName: string;
47958
+
47959
+ /** OrgMarketingConfigUpdated campaignLaunchDate. */
47960
+ public campaignLaunchDate: (number|Long);
47961
+
47962
+ /** OrgMarketingConfigUpdated adminId. */
47963
+ public adminId: number;
47964
+
47965
+ /**
47966
+ * Creates a new OrgMarketingConfigUpdated instance using the specified properties.
47967
+ * @param [properties] Properties to set
47968
+ * @returns OrgMarketingConfigUpdated instance
47969
+ */
47970
+ public static create(properties?: IOrgMarketingConfigUpdated): OrgMarketingConfigUpdated;
47971
+
47972
+ /**
47973
+ * Encodes the specified OrgMarketingConfigUpdated message. Does not implicitly {@link OrgMarketingConfigUpdated.verify|verify} messages.
47974
+ * @param message OrgMarketingConfigUpdated message or plain object to encode
47975
+ * @param [writer] Writer to encode to
47976
+ * @returns Writer
47977
+ */
47978
+ public static encode(message: IOrgMarketingConfigUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
47979
+
47980
+ /**
47981
+ * Encodes the specified OrgMarketingConfigUpdated message, length delimited. Does not implicitly {@link OrgMarketingConfigUpdated.verify|verify} messages.
47982
+ * @param message OrgMarketingConfigUpdated message or plain object to encode
47983
+ * @param [writer] Writer to encode to
47984
+ * @returns Writer
47985
+ */
47986
+ public static encodeDelimited(message: IOrgMarketingConfigUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
47987
+
47988
+ /**
47989
+ * Decodes an OrgMarketingConfigUpdated message from the specified reader or buffer.
47990
+ * @param reader Reader or buffer to decode from
47991
+ * @param [length] Message length if known beforehand
47992
+ * @returns OrgMarketingConfigUpdated
47993
+ * @throws {Error} If the payload is not a reader or valid buffer
47994
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
47995
+ */
47996
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): OrgMarketingConfigUpdated;
47997
+
47998
+ /**
47999
+ * Decodes an OrgMarketingConfigUpdated message from the specified reader or buffer, length delimited.
48000
+ * @param reader Reader or buffer to decode from
48001
+ * @returns OrgMarketingConfigUpdated
48002
+ * @throws {Error} If the payload is not a reader or valid buffer
48003
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
48004
+ */
48005
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): OrgMarketingConfigUpdated;
48006
+
48007
+ /**
48008
+ * Verifies an OrgMarketingConfigUpdated message.
48009
+ * @param message Plain object to verify
48010
+ * @returns `null` if valid, otherwise the reason why it is not
48011
+ */
48012
+ public static verify(message: { [k: string]: any }): (string|null);
48013
+
48014
+ /**
48015
+ * Creates an OrgMarketingConfigUpdated message from a plain object. Also converts values to their respective internal types.
48016
+ * @param object Plain object
48017
+ * @returns OrgMarketingConfigUpdated
48018
+ */
48019
+ public static fromObject(object: { [k: string]: any }): OrgMarketingConfigUpdated;
48020
+
48021
+ /**
48022
+ * Creates a plain object from an OrgMarketingConfigUpdated message. Also converts values to other types if specified.
48023
+ * @param message OrgMarketingConfigUpdated
48024
+ * @param [options] Conversion options
48025
+ * @returns Plain object
48026
+ */
48027
+ public static toObject(message: OrgMarketingConfigUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
48028
+
48029
+ /**
48030
+ * Converts this OrgMarketingConfigUpdated to JSON.
48031
+ * @returns JSON object
48032
+ */
48033
+ public toJSON(): { [k: string]: any };
48034
+ }
48035
+
47904
48036
  /** Properties of an OrganizationSubscriptionCreated. */
47905
48037
  export interface IOrganizationSubscriptionCreated {
47906
48038
 
package/lib/index.js CHANGED
@@ -132320,6 +132320,362 @@ $root.OrganizationMFAUpdated = (function() {
132320
132320
  return OrganizationMFAUpdated;
132321
132321
  })();
132322
132322
 
132323
+ $root.OrgMarketingConfigUpdated = (function() {
132324
+
132325
+ /**
132326
+ * Properties of an OrgMarketingConfigUpdated.
132327
+ * @name IOrgMarketingConfigUpdated
132328
+ * @interface IOrgMarketingConfigUpdated
132329
+ * @property {number|null} [b2bOrgId] OrgMarketingConfigUpdated b2bOrgId
132330
+ * @property {boolean|null} [isSmb] OrgMarketingConfigUpdated isSmb
132331
+ * @property {boolean|null} [areMemberCommsEnabled] OrgMarketingConfigUpdated areMemberCommsEnabled
132332
+ * @property {boolean|null} [areNonMemberCommsEnabled] OrgMarketingConfigUpdated areNonMemberCommsEnabled
132333
+ * @property {boolean|null} [areEnrollmentCommsEnabled] OrgMarketingConfigUpdated areEnrollmentCommsEnabled
132334
+ * @property {string|null} [campaignDisplayName] OrgMarketingConfigUpdated campaignDisplayName
132335
+ * @property {number|Long|null} [campaignLaunchDate] OrgMarketingConfigUpdated campaignLaunchDate
132336
+ * @property {number|null} [adminId] OrgMarketingConfigUpdated adminId
132337
+ */
132338
+
132339
+ /**
132340
+ * Constructs a new OrgMarketingConfigUpdated.
132341
+ * @name OrgMarketingConfigUpdated
132342
+ * @classdesc Represents an OrgMarketingConfigUpdated.
132343
+ * @implements IOrgMarketingConfigUpdated
132344
+ * @constructor
132345
+ * @param {IOrgMarketingConfigUpdated=} [properties] Properties to set
132346
+ */
132347
+ function OrgMarketingConfigUpdated(properties) {
132348
+ if (properties)
132349
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
132350
+ if (properties[keys[i]] != null)
132351
+ this[keys[i]] = properties[keys[i]];
132352
+ }
132353
+
132354
+ /**
132355
+ * OrgMarketingConfigUpdated b2bOrgId.
132356
+ * @member {number} b2bOrgId
132357
+ * @memberof OrgMarketingConfigUpdated
132358
+ * @instance
132359
+ */
132360
+ OrgMarketingConfigUpdated.prototype.b2bOrgId = 0;
132361
+
132362
+ /**
132363
+ * OrgMarketingConfigUpdated isSmb.
132364
+ * @member {boolean} isSmb
132365
+ * @memberof OrgMarketingConfigUpdated
132366
+ * @instance
132367
+ */
132368
+ OrgMarketingConfigUpdated.prototype.isSmb = false;
132369
+
132370
+ /**
132371
+ * OrgMarketingConfigUpdated areMemberCommsEnabled.
132372
+ * @member {boolean} areMemberCommsEnabled
132373
+ * @memberof OrgMarketingConfigUpdated
132374
+ * @instance
132375
+ */
132376
+ OrgMarketingConfigUpdated.prototype.areMemberCommsEnabled = false;
132377
+
132378
+ /**
132379
+ * OrgMarketingConfigUpdated areNonMemberCommsEnabled.
132380
+ * @member {boolean} areNonMemberCommsEnabled
132381
+ * @memberof OrgMarketingConfigUpdated
132382
+ * @instance
132383
+ */
132384
+ OrgMarketingConfigUpdated.prototype.areNonMemberCommsEnabled = false;
132385
+
132386
+ /**
132387
+ * OrgMarketingConfigUpdated areEnrollmentCommsEnabled.
132388
+ * @member {boolean} areEnrollmentCommsEnabled
132389
+ * @memberof OrgMarketingConfigUpdated
132390
+ * @instance
132391
+ */
132392
+ OrgMarketingConfigUpdated.prototype.areEnrollmentCommsEnabled = false;
132393
+
132394
+ /**
132395
+ * OrgMarketingConfigUpdated campaignDisplayName.
132396
+ * @member {string} campaignDisplayName
132397
+ * @memberof OrgMarketingConfigUpdated
132398
+ * @instance
132399
+ */
132400
+ OrgMarketingConfigUpdated.prototype.campaignDisplayName = "";
132401
+
132402
+ /**
132403
+ * OrgMarketingConfigUpdated campaignLaunchDate.
132404
+ * @member {number|Long} campaignLaunchDate
132405
+ * @memberof OrgMarketingConfigUpdated
132406
+ * @instance
132407
+ */
132408
+ OrgMarketingConfigUpdated.prototype.campaignLaunchDate = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
132409
+
132410
+ /**
132411
+ * OrgMarketingConfigUpdated adminId.
132412
+ * @member {number} adminId
132413
+ * @memberof OrgMarketingConfigUpdated
132414
+ * @instance
132415
+ */
132416
+ OrgMarketingConfigUpdated.prototype.adminId = 0;
132417
+
132418
+ /**
132419
+ * Creates a new OrgMarketingConfigUpdated instance using the specified properties.
132420
+ * @function create
132421
+ * @memberof OrgMarketingConfigUpdated
132422
+ * @static
132423
+ * @param {IOrgMarketingConfigUpdated=} [properties] Properties to set
132424
+ * @returns {OrgMarketingConfigUpdated} OrgMarketingConfigUpdated instance
132425
+ */
132426
+ OrgMarketingConfigUpdated.create = function create(properties) {
132427
+ return new OrgMarketingConfigUpdated(properties);
132428
+ };
132429
+
132430
+ /**
132431
+ * Encodes the specified OrgMarketingConfigUpdated message. Does not implicitly {@link OrgMarketingConfigUpdated.verify|verify} messages.
132432
+ * @function encode
132433
+ * @memberof OrgMarketingConfigUpdated
132434
+ * @static
132435
+ * @param {IOrgMarketingConfigUpdated} message OrgMarketingConfigUpdated message or plain object to encode
132436
+ * @param {$protobuf.Writer} [writer] Writer to encode to
132437
+ * @returns {$protobuf.Writer} Writer
132438
+ */
132439
+ OrgMarketingConfigUpdated.encode = function encode(message, writer) {
132440
+ if (!writer)
132441
+ writer = $Writer.create();
132442
+ if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
132443
+ writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.b2bOrgId);
132444
+ if (message.isSmb != null && message.hasOwnProperty("isSmb"))
132445
+ writer.uint32(/* id 2, wireType 0 =*/16).bool(message.isSmb);
132446
+ if (message.areMemberCommsEnabled != null && message.hasOwnProperty("areMemberCommsEnabled"))
132447
+ writer.uint32(/* id 3, wireType 0 =*/24).bool(message.areMemberCommsEnabled);
132448
+ if (message.areNonMemberCommsEnabled != null && message.hasOwnProperty("areNonMemberCommsEnabled"))
132449
+ writer.uint32(/* id 4, wireType 0 =*/32).bool(message.areNonMemberCommsEnabled);
132450
+ if (message.areEnrollmentCommsEnabled != null && message.hasOwnProperty("areEnrollmentCommsEnabled"))
132451
+ writer.uint32(/* id 5, wireType 0 =*/40).bool(message.areEnrollmentCommsEnabled);
132452
+ if (message.campaignDisplayName != null && message.hasOwnProperty("campaignDisplayName"))
132453
+ writer.uint32(/* id 6, wireType 2 =*/50).string(message.campaignDisplayName);
132454
+ if (message.campaignLaunchDate != null && message.hasOwnProperty("campaignLaunchDate"))
132455
+ writer.uint32(/* id 7, wireType 0 =*/56).uint64(message.campaignLaunchDate);
132456
+ if (message.adminId != null && message.hasOwnProperty("adminId"))
132457
+ writer.uint32(/* id 8, wireType 0 =*/64).uint32(message.adminId);
132458
+ return writer;
132459
+ };
132460
+
132461
+ /**
132462
+ * Encodes the specified OrgMarketingConfigUpdated message, length delimited. Does not implicitly {@link OrgMarketingConfigUpdated.verify|verify} messages.
132463
+ * @function encodeDelimited
132464
+ * @memberof OrgMarketingConfigUpdated
132465
+ * @static
132466
+ * @param {IOrgMarketingConfigUpdated} message OrgMarketingConfigUpdated message or plain object to encode
132467
+ * @param {$protobuf.Writer} [writer] Writer to encode to
132468
+ * @returns {$protobuf.Writer} Writer
132469
+ */
132470
+ OrgMarketingConfigUpdated.encodeDelimited = function encodeDelimited(message, writer) {
132471
+ return this.encode(message, writer).ldelim();
132472
+ };
132473
+
132474
+ /**
132475
+ * Decodes an OrgMarketingConfigUpdated message from the specified reader or buffer.
132476
+ * @function decode
132477
+ * @memberof OrgMarketingConfigUpdated
132478
+ * @static
132479
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
132480
+ * @param {number} [length] Message length if known beforehand
132481
+ * @returns {OrgMarketingConfigUpdated} OrgMarketingConfigUpdated
132482
+ * @throws {Error} If the payload is not a reader or valid buffer
132483
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
132484
+ */
132485
+ OrgMarketingConfigUpdated.decode = function decode(reader, length) {
132486
+ if (!(reader instanceof $Reader))
132487
+ reader = $Reader.create(reader);
132488
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.OrgMarketingConfigUpdated();
132489
+ while (reader.pos < end) {
132490
+ var tag = reader.uint32();
132491
+ switch (tag >>> 3) {
132492
+ case 1:
132493
+ message.b2bOrgId = reader.uint32();
132494
+ break;
132495
+ case 2:
132496
+ message.isSmb = reader.bool();
132497
+ break;
132498
+ case 3:
132499
+ message.areMemberCommsEnabled = reader.bool();
132500
+ break;
132501
+ case 4:
132502
+ message.areNonMemberCommsEnabled = reader.bool();
132503
+ break;
132504
+ case 5:
132505
+ message.areEnrollmentCommsEnabled = reader.bool();
132506
+ break;
132507
+ case 6:
132508
+ message.campaignDisplayName = reader.string();
132509
+ break;
132510
+ case 7:
132511
+ message.campaignLaunchDate = reader.uint64();
132512
+ break;
132513
+ case 8:
132514
+ message.adminId = reader.uint32();
132515
+ break;
132516
+ default:
132517
+ reader.skipType(tag & 7);
132518
+ break;
132519
+ }
132520
+ }
132521
+ return message;
132522
+ };
132523
+
132524
+ /**
132525
+ * Decodes an OrgMarketingConfigUpdated message from the specified reader or buffer, length delimited.
132526
+ * @function decodeDelimited
132527
+ * @memberof OrgMarketingConfigUpdated
132528
+ * @static
132529
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
132530
+ * @returns {OrgMarketingConfigUpdated} OrgMarketingConfigUpdated
132531
+ * @throws {Error} If the payload is not a reader or valid buffer
132532
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
132533
+ */
132534
+ OrgMarketingConfigUpdated.decodeDelimited = function decodeDelimited(reader) {
132535
+ if (!(reader instanceof $Reader))
132536
+ reader = new $Reader(reader);
132537
+ return this.decode(reader, reader.uint32());
132538
+ };
132539
+
132540
+ /**
132541
+ * Verifies an OrgMarketingConfigUpdated message.
132542
+ * @function verify
132543
+ * @memberof OrgMarketingConfigUpdated
132544
+ * @static
132545
+ * @param {Object.<string,*>} message Plain object to verify
132546
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
132547
+ */
132548
+ OrgMarketingConfigUpdated.verify = function verify(message) {
132549
+ if (typeof message !== "object" || message === null)
132550
+ return "object expected";
132551
+ if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
132552
+ if (!$util.isInteger(message.b2bOrgId))
132553
+ return "b2bOrgId: integer expected";
132554
+ if (message.isSmb != null && message.hasOwnProperty("isSmb"))
132555
+ if (typeof message.isSmb !== "boolean")
132556
+ return "isSmb: boolean expected";
132557
+ if (message.areMemberCommsEnabled != null && message.hasOwnProperty("areMemberCommsEnabled"))
132558
+ if (typeof message.areMemberCommsEnabled !== "boolean")
132559
+ return "areMemberCommsEnabled: boolean expected";
132560
+ if (message.areNonMemberCommsEnabled != null && message.hasOwnProperty("areNonMemberCommsEnabled"))
132561
+ if (typeof message.areNonMemberCommsEnabled !== "boolean")
132562
+ return "areNonMemberCommsEnabled: boolean expected";
132563
+ if (message.areEnrollmentCommsEnabled != null && message.hasOwnProperty("areEnrollmentCommsEnabled"))
132564
+ if (typeof message.areEnrollmentCommsEnabled !== "boolean")
132565
+ return "areEnrollmentCommsEnabled: boolean expected";
132566
+ if (message.campaignDisplayName != null && message.hasOwnProperty("campaignDisplayName"))
132567
+ if (!$util.isString(message.campaignDisplayName))
132568
+ return "campaignDisplayName: string expected";
132569
+ if (message.campaignLaunchDate != null && message.hasOwnProperty("campaignLaunchDate"))
132570
+ if (!$util.isInteger(message.campaignLaunchDate) && !(message.campaignLaunchDate && $util.isInteger(message.campaignLaunchDate.low) && $util.isInteger(message.campaignLaunchDate.high)))
132571
+ return "campaignLaunchDate: integer|Long expected";
132572
+ if (message.adminId != null && message.hasOwnProperty("adminId"))
132573
+ if (!$util.isInteger(message.adminId))
132574
+ return "adminId: integer expected";
132575
+ return null;
132576
+ };
132577
+
132578
+ /**
132579
+ * Creates an OrgMarketingConfigUpdated message from a plain object. Also converts values to their respective internal types.
132580
+ * @function fromObject
132581
+ * @memberof OrgMarketingConfigUpdated
132582
+ * @static
132583
+ * @param {Object.<string,*>} object Plain object
132584
+ * @returns {OrgMarketingConfigUpdated} OrgMarketingConfigUpdated
132585
+ */
132586
+ OrgMarketingConfigUpdated.fromObject = function fromObject(object) {
132587
+ if (object instanceof $root.OrgMarketingConfigUpdated)
132588
+ return object;
132589
+ var message = new $root.OrgMarketingConfigUpdated();
132590
+ if (object.b2bOrgId != null)
132591
+ message.b2bOrgId = object.b2bOrgId >>> 0;
132592
+ if (object.isSmb != null)
132593
+ message.isSmb = Boolean(object.isSmb);
132594
+ if (object.areMemberCommsEnabled != null)
132595
+ message.areMemberCommsEnabled = Boolean(object.areMemberCommsEnabled);
132596
+ if (object.areNonMemberCommsEnabled != null)
132597
+ message.areNonMemberCommsEnabled = Boolean(object.areNonMemberCommsEnabled);
132598
+ if (object.areEnrollmentCommsEnabled != null)
132599
+ message.areEnrollmentCommsEnabled = Boolean(object.areEnrollmentCommsEnabled);
132600
+ if (object.campaignDisplayName != null)
132601
+ message.campaignDisplayName = String(object.campaignDisplayName);
132602
+ if (object.campaignLaunchDate != null)
132603
+ if ($util.Long)
132604
+ (message.campaignLaunchDate = $util.Long.fromValue(object.campaignLaunchDate)).unsigned = true;
132605
+ else if (typeof object.campaignLaunchDate === "string")
132606
+ message.campaignLaunchDate = parseInt(object.campaignLaunchDate, 10);
132607
+ else if (typeof object.campaignLaunchDate === "number")
132608
+ message.campaignLaunchDate = object.campaignLaunchDate;
132609
+ else if (typeof object.campaignLaunchDate === "object")
132610
+ message.campaignLaunchDate = new $util.LongBits(object.campaignLaunchDate.low >>> 0, object.campaignLaunchDate.high >>> 0).toNumber(true);
132611
+ if (object.adminId != null)
132612
+ message.adminId = object.adminId >>> 0;
132613
+ return message;
132614
+ };
132615
+
132616
+ /**
132617
+ * Creates a plain object from an OrgMarketingConfigUpdated message. Also converts values to other types if specified.
132618
+ * @function toObject
132619
+ * @memberof OrgMarketingConfigUpdated
132620
+ * @static
132621
+ * @param {OrgMarketingConfigUpdated} message OrgMarketingConfigUpdated
132622
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
132623
+ * @returns {Object.<string,*>} Plain object
132624
+ */
132625
+ OrgMarketingConfigUpdated.toObject = function toObject(message, options) {
132626
+ if (!options)
132627
+ options = {};
132628
+ var object = {};
132629
+ if (options.defaults) {
132630
+ object.b2bOrgId = 0;
132631
+ object.isSmb = false;
132632
+ object.areMemberCommsEnabled = false;
132633
+ object.areNonMemberCommsEnabled = false;
132634
+ object.areEnrollmentCommsEnabled = false;
132635
+ object.campaignDisplayName = "";
132636
+ if ($util.Long) {
132637
+ var long = new $util.Long(0, 0, true);
132638
+ object.campaignLaunchDate = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
132639
+ } else
132640
+ object.campaignLaunchDate = options.longs === String ? "0" : 0;
132641
+ object.adminId = 0;
132642
+ }
132643
+ if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
132644
+ object.b2bOrgId = message.b2bOrgId;
132645
+ if (message.isSmb != null && message.hasOwnProperty("isSmb"))
132646
+ object.isSmb = message.isSmb;
132647
+ if (message.areMemberCommsEnabled != null && message.hasOwnProperty("areMemberCommsEnabled"))
132648
+ object.areMemberCommsEnabled = message.areMemberCommsEnabled;
132649
+ if (message.areNonMemberCommsEnabled != null && message.hasOwnProperty("areNonMemberCommsEnabled"))
132650
+ object.areNonMemberCommsEnabled = message.areNonMemberCommsEnabled;
132651
+ if (message.areEnrollmentCommsEnabled != null && message.hasOwnProperty("areEnrollmentCommsEnabled"))
132652
+ object.areEnrollmentCommsEnabled = message.areEnrollmentCommsEnabled;
132653
+ if (message.campaignDisplayName != null && message.hasOwnProperty("campaignDisplayName"))
132654
+ object.campaignDisplayName = message.campaignDisplayName;
132655
+ if (message.campaignLaunchDate != null && message.hasOwnProperty("campaignLaunchDate"))
132656
+ if (typeof message.campaignLaunchDate === "number")
132657
+ object.campaignLaunchDate = options.longs === String ? String(message.campaignLaunchDate) : message.campaignLaunchDate;
132658
+ else
132659
+ object.campaignLaunchDate = options.longs === String ? $util.Long.prototype.toString.call(message.campaignLaunchDate) : options.longs === Number ? new $util.LongBits(message.campaignLaunchDate.low >>> 0, message.campaignLaunchDate.high >>> 0).toNumber(true) : message.campaignLaunchDate;
132660
+ if (message.adminId != null && message.hasOwnProperty("adminId"))
132661
+ object.adminId = message.adminId;
132662
+ return object;
132663
+ };
132664
+
132665
+ /**
132666
+ * Converts this OrgMarketingConfigUpdated to JSON.
132667
+ * @function toJSON
132668
+ * @memberof OrgMarketingConfigUpdated
132669
+ * @instance
132670
+ * @returns {Object.<string,*>} JSON object
132671
+ */
132672
+ OrgMarketingConfigUpdated.prototype.toJSON = function toJSON() {
132673
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
132674
+ };
132675
+
132676
+ return OrgMarketingConfigUpdated;
132677
+ })();
132678
+
132323
132679
  $root.OrganizationSubscriptionCreated = (function() {
132324
132680
 
132325
132681
  /**
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.672.0"
19
+ "version": "1.673.0"
20
20
  }