@headspace/protos-events 1.774.0 → 1.776.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
@@ -4659,6 +4659,102 @@ export class ClinicalCoverageUpgraded implements IClinicalCoverageUpgraded {
4659
4659
  public toJSON(): { [k: string]: any };
4660
4660
  }
4661
4661
 
4662
+ /** Properties of a B2BMemberConnectionUnlinked. */
4663
+ export interface IB2BMemberConnectionUnlinked {
4664
+
4665
+ /** B2BMemberConnectionUnlinked hsUserId */
4666
+ hsUserId?: (string|null);
4667
+
4668
+ /** B2BMemberConnectionUnlinked connectionName */
4669
+ connectionName?: (string|null);
4670
+ }
4671
+
4672
+ /** Represents a B2BMemberConnectionUnlinked. */
4673
+ export class B2BMemberConnectionUnlinked implements IB2BMemberConnectionUnlinked {
4674
+
4675
+ /**
4676
+ * Constructs a new B2BMemberConnectionUnlinked.
4677
+ * @param [properties] Properties to set
4678
+ */
4679
+ constructor(properties?: IB2BMemberConnectionUnlinked);
4680
+
4681
+ /** B2BMemberConnectionUnlinked hsUserId. */
4682
+ public hsUserId: string;
4683
+
4684
+ /** B2BMemberConnectionUnlinked connectionName. */
4685
+ public connectionName: string;
4686
+
4687
+ /**
4688
+ * Creates a new B2BMemberConnectionUnlinked instance using the specified properties.
4689
+ * @param [properties] Properties to set
4690
+ * @returns B2BMemberConnectionUnlinked instance
4691
+ */
4692
+ public static create(properties?: IB2BMemberConnectionUnlinked): B2BMemberConnectionUnlinked;
4693
+
4694
+ /**
4695
+ * Encodes the specified B2BMemberConnectionUnlinked message. Does not implicitly {@link B2BMemberConnectionUnlinked.verify|verify} messages.
4696
+ * @param message B2BMemberConnectionUnlinked message or plain object to encode
4697
+ * @param [writer] Writer to encode to
4698
+ * @returns Writer
4699
+ */
4700
+ public static encode(message: IB2BMemberConnectionUnlinked, writer?: $protobuf.Writer): $protobuf.Writer;
4701
+
4702
+ /**
4703
+ * Encodes the specified B2BMemberConnectionUnlinked message, length delimited. Does not implicitly {@link B2BMemberConnectionUnlinked.verify|verify} messages.
4704
+ * @param message B2BMemberConnectionUnlinked message or plain object to encode
4705
+ * @param [writer] Writer to encode to
4706
+ * @returns Writer
4707
+ */
4708
+ public static encodeDelimited(message: IB2BMemberConnectionUnlinked, writer?: $protobuf.Writer): $protobuf.Writer;
4709
+
4710
+ /**
4711
+ * Decodes a B2BMemberConnectionUnlinked message from the specified reader or buffer.
4712
+ * @param reader Reader or buffer to decode from
4713
+ * @param [length] Message length if known beforehand
4714
+ * @returns B2BMemberConnectionUnlinked
4715
+ * @throws {Error} If the payload is not a reader or valid buffer
4716
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4717
+ */
4718
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): B2BMemberConnectionUnlinked;
4719
+
4720
+ /**
4721
+ * Decodes a B2BMemberConnectionUnlinked message from the specified reader or buffer, length delimited.
4722
+ * @param reader Reader or buffer to decode from
4723
+ * @returns B2BMemberConnectionUnlinked
4724
+ * @throws {Error} If the payload is not a reader or valid buffer
4725
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4726
+ */
4727
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): B2BMemberConnectionUnlinked;
4728
+
4729
+ /**
4730
+ * Verifies a B2BMemberConnectionUnlinked message.
4731
+ * @param message Plain object to verify
4732
+ * @returns `null` if valid, otherwise the reason why it is not
4733
+ */
4734
+ public static verify(message: { [k: string]: any }): (string|null);
4735
+
4736
+ /**
4737
+ * Creates a B2BMemberConnectionUnlinked message from a plain object. Also converts values to their respective internal types.
4738
+ * @param object Plain object
4739
+ * @returns B2BMemberConnectionUnlinked
4740
+ */
4741
+ public static fromObject(object: { [k: string]: any }): B2BMemberConnectionUnlinked;
4742
+
4743
+ /**
4744
+ * Creates a plain object from a B2BMemberConnectionUnlinked message. Also converts values to other types if specified.
4745
+ * @param message B2BMemberConnectionUnlinked
4746
+ * @param [options] Conversion options
4747
+ * @returns Plain object
4748
+ */
4749
+ public static toObject(message: B2BMemberConnectionUnlinked, options?: $protobuf.IConversionOptions): { [k: string]: any };
4750
+
4751
+ /**
4752
+ * Converts this B2BMemberConnectionUnlinked to JSON.
4753
+ * @returns JSON object
4754
+ */
4755
+ public toJSON(): { [k: string]: any };
4756
+ }
4757
+
4662
4758
  /** Properties of an EapCoverageCreated. */
4663
4759
  export interface IEapCoverageCreated {
4664
4760
 
@@ -35113,6 +35209,114 @@ export class OrgCoachingConfigUpdated implements IOrgCoachingConfigUpdated {
35113
35209
  public toJSON(): { [k: string]: any };
35114
35210
  }
35115
35211
 
35212
+ /** Properties of an OrgEbbConfigUpdated. */
35213
+ export interface IOrgEbbConfigUpdated {
35214
+
35215
+ /** OrgEbbConfigUpdated b2bOrgId */
35216
+ b2bOrgId?: (number|null);
35217
+
35218
+ /** OrgEbbConfigUpdated isEbbEnabled */
35219
+ isEbbEnabled?: (boolean|null);
35220
+
35221
+ /** OrgEbbConfigUpdated adminId */
35222
+ adminId?: (number|null);
35223
+
35224
+ /** OrgEbbConfigUpdated timestamp */
35225
+ timestamp?: (number|Long|null);
35226
+ }
35227
+
35228
+ /** Represents an OrgEbbConfigUpdated. */
35229
+ export class OrgEbbConfigUpdated implements IOrgEbbConfigUpdated {
35230
+
35231
+ /**
35232
+ * Constructs a new OrgEbbConfigUpdated.
35233
+ * @param [properties] Properties to set
35234
+ */
35235
+ constructor(properties?: IOrgEbbConfigUpdated);
35236
+
35237
+ /** OrgEbbConfigUpdated b2bOrgId. */
35238
+ public b2bOrgId: number;
35239
+
35240
+ /** OrgEbbConfigUpdated isEbbEnabled. */
35241
+ public isEbbEnabled: boolean;
35242
+
35243
+ /** OrgEbbConfigUpdated adminId. */
35244
+ public adminId: number;
35245
+
35246
+ /** OrgEbbConfigUpdated timestamp. */
35247
+ public timestamp: (number|Long);
35248
+
35249
+ /**
35250
+ * Creates a new OrgEbbConfigUpdated instance using the specified properties.
35251
+ * @param [properties] Properties to set
35252
+ * @returns OrgEbbConfigUpdated instance
35253
+ */
35254
+ public static create(properties?: IOrgEbbConfigUpdated): OrgEbbConfigUpdated;
35255
+
35256
+ /**
35257
+ * Encodes the specified OrgEbbConfigUpdated message. Does not implicitly {@link OrgEbbConfigUpdated.verify|verify} messages.
35258
+ * @param message OrgEbbConfigUpdated message or plain object to encode
35259
+ * @param [writer] Writer to encode to
35260
+ * @returns Writer
35261
+ */
35262
+ public static encode(message: IOrgEbbConfigUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
35263
+
35264
+ /**
35265
+ * Encodes the specified OrgEbbConfigUpdated message, length delimited. Does not implicitly {@link OrgEbbConfigUpdated.verify|verify} messages.
35266
+ * @param message OrgEbbConfigUpdated message or plain object to encode
35267
+ * @param [writer] Writer to encode to
35268
+ * @returns Writer
35269
+ */
35270
+ public static encodeDelimited(message: IOrgEbbConfigUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
35271
+
35272
+ /**
35273
+ * Decodes an OrgEbbConfigUpdated message from the specified reader or buffer.
35274
+ * @param reader Reader or buffer to decode from
35275
+ * @param [length] Message length if known beforehand
35276
+ * @returns OrgEbbConfigUpdated
35277
+ * @throws {Error} If the payload is not a reader or valid buffer
35278
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35279
+ */
35280
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): OrgEbbConfigUpdated;
35281
+
35282
+ /**
35283
+ * Decodes an OrgEbbConfigUpdated message from the specified reader or buffer, length delimited.
35284
+ * @param reader Reader or buffer to decode from
35285
+ * @returns OrgEbbConfigUpdated
35286
+ * @throws {Error} If the payload is not a reader or valid buffer
35287
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35288
+ */
35289
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): OrgEbbConfigUpdated;
35290
+
35291
+ /**
35292
+ * Verifies an OrgEbbConfigUpdated message.
35293
+ * @param message Plain object to verify
35294
+ * @returns `null` if valid, otherwise the reason why it is not
35295
+ */
35296
+ public static verify(message: { [k: string]: any }): (string|null);
35297
+
35298
+ /**
35299
+ * Creates an OrgEbbConfigUpdated message from a plain object. Also converts values to their respective internal types.
35300
+ * @param object Plain object
35301
+ * @returns OrgEbbConfigUpdated
35302
+ */
35303
+ public static fromObject(object: { [k: string]: any }): OrgEbbConfigUpdated;
35304
+
35305
+ /**
35306
+ * Creates a plain object from an OrgEbbConfigUpdated message. Also converts values to other types if specified.
35307
+ * @param message OrgEbbConfigUpdated
35308
+ * @param [options] Conversion options
35309
+ * @returns Plain object
35310
+ */
35311
+ public static toObject(message: OrgEbbConfigUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
35312
+
35313
+ /**
35314
+ * Converts this OrgEbbConfigUpdated to JSON.
35315
+ * @returns JSON object
35316
+ */
35317
+ public toJSON(): { [k: string]: any };
35318
+ }
35319
+
35116
35320
  /** Properties of an OrgMarketingConfigUpdated. */
35117
35321
  export interface IOrgMarketingConfigUpdated {
35118
35322
 
package/lib/index.js CHANGED
@@ -13070,6 +13070,216 @@ $root.ClinicalCoverageUpgraded = (function() {
13070
13070
  return ClinicalCoverageUpgraded;
13071
13071
  })();
13072
13072
 
13073
+ $root.B2BMemberConnectionUnlinked = (function() {
13074
+
13075
+ /**
13076
+ * Properties of a B2BMemberConnectionUnlinked.
13077
+ * @name IB2BMemberConnectionUnlinked
13078
+ * @interface IB2BMemberConnectionUnlinked
13079
+ * @property {string|null} [hsUserId] B2BMemberConnectionUnlinked hsUserId
13080
+ * @property {string|null} [connectionName] B2BMemberConnectionUnlinked connectionName
13081
+ */
13082
+
13083
+ /**
13084
+ * Constructs a new B2BMemberConnectionUnlinked.
13085
+ * @name B2BMemberConnectionUnlinked
13086
+ * @classdesc Represents a B2BMemberConnectionUnlinked.
13087
+ * @implements IB2BMemberConnectionUnlinked
13088
+ * @constructor
13089
+ * @param {IB2BMemberConnectionUnlinked=} [properties] Properties to set
13090
+ */
13091
+ function B2BMemberConnectionUnlinked(properties) {
13092
+ if (properties)
13093
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
13094
+ if (properties[keys[i]] != null)
13095
+ this[keys[i]] = properties[keys[i]];
13096
+ }
13097
+
13098
+ /**
13099
+ * B2BMemberConnectionUnlinked hsUserId.
13100
+ * @member {string} hsUserId
13101
+ * @memberof B2BMemberConnectionUnlinked
13102
+ * @instance
13103
+ */
13104
+ B2BMemberConnectionUnlinked.prototype.hsUserId = "";
13105
+
13106
+ /**
13107
+ * B2BMemberConnectionUnlinked connectionName.
13108
+ * @member {string} connectionName
13109
+ * @memberof B2BMemberConnectionUnlinked
13110
+ * @instance
13111
+ */
13112
+ B2BMemberConnectionUnlinked.prototype.connectionName = "";
13113
+
13114
+ /**
13115
+ * Creates a new B2BMemberConnectionUnlinked instance using the specified properties.
13116
+ * @function create
13117
+ * @memberof B2BMemberConnectionUnlinked
13118
+ * @static
13119
+ * @param {IB2BMemberConnectionUnlinked=} [properties] Properties to set
13120
+ * @returns {B2BMemberConnectionUnlinked} B2BMemberConnectionUnlinked instance
13121
+ */
13122
+ B2BMemberConnectionUnlinked.create = function create(properties) {
13123
+ return new B2BMemberConnectionUnlinked(properties);
13124
+ };
13125
+
13126
+ /**
13127
+ * Encodes the specified B2BMemberConnectionUnlinked message. Does not implicitly {@link B2BMemberConnectionUnlinked.verify|verify} messages.
13128
+ * @function encode
13129
+ * @memberof B2BMemberConnectionUnlinked
13130
+ * @static
13131
+ * @param {IB2BMemberConnectionUnlinked} message B2BMemberConnectionUnlinked message or plain object to encode
13132
+ * @param {$protobuf.Writer} [writer] Writer to encode to
13133
+ * @returns {$protobuf.Writer} Writer
13134
+ */
13135
+ B2BMemberConnectionUnlinked.encode = function encode(message, writer) {
13136
+ if (!writer)
13137
+ writer = $Writer.create();
13138
+ if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
13139
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsUserId);
13140
+ if (message.connectionName != null && message.hasOwnProperty("connectionName"))
13141
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.connectionName);
13142
+ return writer;
13143
+ };
13144
+
13145
+ /**
13146
+ * Encodes the specified B2BMemberConnectionUnlinked message, length delimited. Does not implicitly {@link B2BMemberConnectionUnlinked.verify|verify} messages.
13147
+ * @function encodeDelimited
13148
+ * @memberof B2BMemberConnectionUnlinked
13149
+ * @static
13150
+ * @param {IB2BMemberConnectionUnlinked} message B2BMemberConnectionUnlinked message or plain object to encode
13151
+ * @param {$protobuf.Writer} [writer] Writer to encode to
13152
+ * @returns {$protobuf.Writer} Writer
13153
+ */
13154
+ B2BMemberConnectionUnlinked.encodeDelimited = function encodeDelimited(message, writer) {
13155
+ return this.encode(message, writer).ldelim();
13156
+ };
13157
+
13158
+ /**
13159
+ * Decodes a B2BMemberConnectionUnlinked message from the specified reader or buffer.
13160
+ * @function decode
13161
+ * @memberof B2BMemberConnectionUnlinked
13162
+ * @static
13163
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
13164
+ * @param {number} [length] Message length if known beforehand
13165
+ * @returns {B2BMemberConnectionUnlinked} B2BMemberConnectionUnlinked
13166
+ * @throws {Error} If the payload is not a reader or valid buffer
13167
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
13168
+ */
13169
+ B2BMemberConnectionUnlinked.decode = function decode(reader, length) {
13170
+ if (!(reader instanceof $Reader))
13171
+ reader = $Reader.create(reader);
13172
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.B2BMemberConnectionUnlinked();
13173
+ while (reader.pos < end) {
13174
+ var tag = reader.uint32();
13175
+ switch (tag >>> 3) {
13176
+ case 1:
13177
+ message.hsUserId = reader.string();
13178
+ break;
13179
+ case 2:
13180
+ message.connectionName = reader.string();
13181
+ break;
13182
+ default:
13183
+ reader.skipType(tag & 7);
13184
+ break;
13185
+ }
13186
+ }
13187
+ return message;
13188
+ };
13189
+
13190
+ /**
13191
+ * Decodes a B2BMemberConnectionUnlinked message from the specified reader or buffer, length delimited.
13192
+ * @function decodeDelimited
13193
+ * @memberof B2BMemberConnectionUnlinked
13194
+ * @static
13195
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
13196
+ * @returns {B2BMemberConnectionUnlinked} B2BMemberConnectionUnlinked
13197
+ * @throws {Error} If the payload is not a reader or valid buffer
13198
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
13199
+ */
13200
+ B2BMemberConnectionUnlinked.decodeDelimited = function decodeDelimited(reader) {
13201
+ if (!(reader instanceof $Reader))
13202
+ reader = new $Reader(reader);
13203
+ return this.decode(reader, reader.uint32());
13204
+ };
13205
+
13206
+ /**
13207
+ * Verifies a B2BMemberConnectionUnlinked message.
13208
+ * @function verify
13209
+ * @memberof B2BMemberConnectionUnlinked
13210
+ * @static
13211
+ * @param {Object.<string,*>} message Plain object to verify
13212
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
13213
+ */
13214
+ B2BMemberConnectionUnlinked.verify = function verify(message) {
13215
+ if (typeof message !== "object" || message === null)
13216
+ return "object expected";
13217
+ if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
13218
+ if (!$util.isString(message.hsUserId))
13219
+ return "hsUserId: string expected";
13220
+ if (message.connectionName != null && message.hasOwnProperty("connectionName"))
13221
+ if (!$util.isString(message.connectionName))
13222
+ return "connectionName: string expected";
13223
+ return null;
13224
+ };
13225
+
13226
+ /**
13227
+ * Creates a B2BMemberConnectionUnlinked message from a plain object. Also converts values to their respective internal types.
13228
+ * @function fromObject
13229
+ * @memberof B2BMemberConnectionUnlinked
13230
+ * @static
13231
+ * @param {Object.<string,*>} object Plain object
13232
+ * @returns {B2BMemberConnectionUnlinked} B2BMemberConnectionUnlinked
13233
+ */
13234
+ B2BMemberConnectionUnlinked.fromObject = function fromObject(object) {
13235
+ if (object instanceof $root.B2BMemberConnectionUnlinked)
13236
+ return object;
13237
+ var message = new $root.B2BMemberConnectionUnlinked();
13238
+ if (object.hsUserId != null)
13239
+ message.hsUserId = String(object.hsUserId);
13240
+ if (object.connectionName != null)
13241
+ message.connectionName = String(object.connectionName);
13242
+ return message;
13243
+ };
13244
+
13245
+ /**
13246
+ * Creates a plain object from a B2BMemberConnectionUnlinked message. Also converts values to other types if specified.
13247
+ * @function toObject
13248
+ * @memberof B2BMemberConnectionUnlinked
13249
+ * @static
13250
+ * @param {B2BMemberConnectionUnlinked} message B2BMemberConnectionUnlinked
13251
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
13252
+ * @returns {Object.<string,*>} Plain object
13253
+ */
13254
+ B2BMemberConnectionUnlinked.toObject = function toObject(message, options) {
13255
+ if (!options)
13256
+ options = {};
13257
+ var object = {};
13258
+ if (options.defaults) {
13259
+ object.hsUserId = "";
13260
+ object.connectionName = "";
13261
+ }
13262
+ if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
13263
+ object.hsUserId = message.hsUserId;
13264
+ if (message.connectionName != null && message.hasOwnProperty("connectionName"))
13265
+ object.connectionName = message.connectionName;
13266
+ return object;
13267
+ };
13268
+
13269
+ /**
13270
+ * Converts this B2BMemberConnectionUnlinked to JSON.
13271
+ * @function toJSON
13272
+ * @memberof B2BMemberConnectionUnlinked
13273
+ * @instance
13274
+ * @returns {Object.<string,*>} JSON object
13275
+ */
13276
+ B2BMemberConnectionUnlinked.prototype.toJSON = function toJSON() {
13277
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
13278
+ };
13279
+
13280
+ return B2BMemberConnectionUnlinked;
13281
+ })();
13282
+
13073
13283
  $root.EapCoverageCreated = (function() {
13074
13284
 
13075
13285
  /**
@@ -98699,6 +98909,274 @@ $root.OrgCoachingConfigUpdated = (function() {
98699
98909
  return OrgCoachingConfigUpdated;
98700
98910
  })();
98701
98911
 
98912
+ $root.OrgEbbConfigUpdated = (function() {
98913
+
98914
+ /**
98915
+ * Properties of an OrgEbbConfigUpdated.
98916
+ * @name IOrgEbbConfigUpdated
98917
+ * @interface IOrgEbbConfigUpdated
98918
+ * @property {number|null} [b2bOrgId] OrgEbbConfigUpdated b2bOrgId
98919
+ * @property {boolean|null} [isEbbEnabled] OrgEbbConfigUpdated isEbbEnabled
98920
+ * @property {number|null} [adminId] OrgEbbConfigUpdated adminId
98921
+ * @property {number|Long|null} [timestamp] OrgEbbConfigUpdated timestamp
98922
+ */
98923
+
98924
+ /**
98925
+ * Constructs a new OrgEbbConfigUpdated.
98926
+ * @name OrgEbbConfigUpdated
98927
+ * @classdesc Represents an OrgEbbConfigUpdated.
98928
+ * @implements IOrgEbbConfigUpdated
98929
+ * @constructor
98930
+ * @param {IOrgEbbConfigUpdated=} [properties] Properties to set
98931
+ */
98932
+ function OrgEbbConfigUpdated(properties) {
98933
+ if (properties)
98934
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
98935
+ if (properties[keys[i]] != null)
98936
+ this[keys[i]] = properties[keys[i]];
98937
+ }
98938
+
98939
+ /**
98940
+ * OrgEbbConfigUpdated b2bOrgId.
98941
+ * @member {number} b2bOrgId
98942
+ * @memberof OrgEbbConfigUpdated
98943
+ * @instance
98944
+ */
98945
+ OrgEbbConfigUpdated.prototype.b2bOrgId = 0;
98946
+
98947
+ /**
98948
+ * OrgEbbConfigUpdated isEbbEnabled.
98949
+ * @member {boolean} isEbbEnabled
98950
+ * @memberof OrgEbbConfigUpdated
98951
+ * @instance
98952
+ */
98953
+ OrgEbbConfigUpdated.prototype.isEbbEnabled = false;
98954
+
98955
+ /**
98956
+ * OrgEbbConfigUpdated adminId.
98957
+ * @member {number} adminId
98958
+ * @memberof OrgEbbConfigUpdated
98959
+ * @instance
98960
+ */
98961
+ OrgEbbConfigUpdated.prototype.adminId = 0;
98962
+
98963
+ /**
98964
+ * OrgEbbConfigUpdated timestamp.
98965
+ * @member {number|Long} timestamp
98966
+ * @memberof OrgEbbConfigUpdated
98967
+ * @instance
98968
+ */
98969
+ OrgEbbConfigUpdated.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
98970
+
98971
+ /**
98972
+ * Creates a new OrgEbbConfigUpdated instance using the specified properties.
98973
+ * @function create
98974
+ * @memberof OrgEbbConfigUpdated
98975
+ * @static
98976
+ * @param {IOrgEbbConfigUpdated=} [properties] Properties to set
98977
+ * @returns {OrgEbbConfigUpdated} OrgEbbConfigUpdated instance
98978
+ */
98979
+ OrgEbbConfigUpdated.create = function create(properties) {
98980
+ return new OrgEbbConfigUpdated(properties);
98981
+ };
98982
+
98983
+ /**
98984
+ * Encodes the specified OrgEbbConfigUpdated message. Does not implicitly {@link OrgEbbConfigUpdated.verify|verify} messages.
98985
+ * @function encode
98986
+ * @memberof OrgEbbConfigUpdated
98987
+ * @static
98988
+ * @param {IOrgEbbConfigUpdated} message OrgEbbConfigUpdated message or plain object to encode
98989
+ * @param {$protobuf.Writer} [writer] Writer to encode to
98990
+ * @returns {$protobuf.Writer} Writer
98991
+ */
98992
+ OrgEbbConfigUpdated.encode = function encode(message, writer) {
98993
+ if (!writer)
98994
+ writer = $Writer.create();
98995
+ if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
98996
+ writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.b2bOrgId);
98997
+ if (message.isEbbEnabled != null && message.hasOwnProperty("isEbbEnabled"))
98998
+ writer.uint32(/* id 2, wireType 0 =*/16).bool(message.isEbbEnabled);
98999
+ if (message.adminId != null && message.hasOwnProperty("adminId"))
99000
+ writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.adminId);
99001
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
99002
+ writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.timestamp);
99003
+ return writer;
99004
+ };
99005
+
99006
+ /**
99007
+ * Encodes the specified OrgEbbConfigUpdated message, length delimited. Does not implicitly {@link OrgEbbConfigUpdated.verify|verify} messages.
99008
+ * @function encodeDelimited
99009
+ * @memberof OrgEbbConfigUpdated
99010
+ * @static
99011
+ * @param {IOrgEbbConfigUpdated} message OrgEbbConfigUpdated message or plain object to encode
99012
+ * @param {$protobuf.Writer} [writer] Writer to encode to
99013
+ * @returns {$protobuf.Writer} Writer
99014
+ */
99015
+ OrgEbbConfigUpdated.encodeDelimited = function encodeDelimited(message, writer) {
99016
+ return this.encode(message, writer).ldelim();
99017
+ };
99018
+
99019
+ /**
99020
+ * Decodes an OrgEbbConfigUpdated message from the specified reader or buffer.
99021
+ * @function decode
99022
+ * @memberof OrgEbbConfigUpdated
99023
+ * @static
99024
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
99025
+ * @param {number} [length] Message length if known beforehand
99026
+ * @returns {OrgEbbConfigUpdated} OrgEbbConfigUpdated
99027
+ * @throws {Error} If the payload is not a reader or valid buffer
99028
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
99029
+ */
99030
+ OrgEbbConfigUpdated.decode = function decode(reader, length) {
99031
+ if (!(reader instanceof $Reader))
99032
+ reader = $Reader.create(reader);
99033
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.OrgEbbConfigUpdated();
99034
+ while (reader.pos < end) {
99035
+ var tag = reader.uint32();
99036
+ switch (tag >>> 3) {
99037
+ case 1:
99038
+ message.b2bOrgId = reader.uint32();
99039
+ break;
99040
+ case 2:
99041
+ message.isEbbEnabled = reader.bool();
99042
+ break;
99043
+ case 3:
99044
+ message.adminId = reader.uint32();
99045
+ break;
99046
+ case 4:
99047
+ message.timestamp = reader.uint64();
99048
+ break;
99049
+ default:
99050
+ reader.skipType(tag & 7);
99051
+ break;
99052
+ }
99053
+ }
99054
+ return message;
99055
+ };
99056
+
99057
+ /**
99058
+ * Decodes an OrgEbbConfigUpdated message from the specified reader or buffer, length delimited.
99059
+ * @function decodeDelimited
99060
+ * @memberof OrgEbbConfigUpdated
99061
+ * @static
99062
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
99063
+ * @returns {OrgEbbConfigUpdated} OrgEbbConfigUpdated
99064
+ * @throws {Error} If the payload is not a reader or valid buffer
99065
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
99066
+ */
99067
+ OrgEbbConfigUpdated.decodeDelimited = function decodeDelimited(reader) {
99068
+ if (!(reader instanceof $Reader))
99069
+ reader = new $Reader(reader);
99070
+ return this.decode(reader, reader.uint32());
99071
+ };
99072
+
99073
+ /**
99074
+ * Verifies an OrgEbbConfigUpdated message.
99075
+ * @function verify
99076
+ * @memberof OrgEbbConfigUpdated
99077
+ * @static
99078
+ * @param {Object.<string,*>} message Plain object to verify
99079
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
99080
+ */
99081
+ OrgEbbConfigUpdated.verify = function verify(message) {
99082
+ if (typeof message !== "object" || message === null)
99083
+ return "object expected";
99084
+ if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
99085
+ if (!$util.isInteger(message.b2bOrgId))
99086
+ return "b2bOrgId: integer expected";
99087
+ if (message.isEbbEnabled != null && message.hasOwnProperty("isEbbEnabled"))
99088
+ if (typeof message.isEbbEnabled !== "boolean")
99089
+ return "isEbbEnabled: boolean expected";
99090
+ if (message.adminId != null && message.hasOwnProperty("adminId"))
99091
+ if (!$util.isInteger(message.adminId))
99092
+ return "adminId: integer expected";
99093
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
99094
+ if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
99095
+ return "timestamp: integer|Long expected";
99096
+ return null;
99097
+ };
99098
+
99099
+ /**
99100
+ * Creates an OrgEbbConfigUpdated message from a plain object. Also converts values to their respective internal types.
99101
+ * @function fromObject
99102
+ * @memberof OrgEbbConfigUpdated
99103
+ * @static
99104
+ * @param {Object.<string,*>} object Plain object
99105
+ * @returns {OrgEbbConfigUpdated} OrgEbbConfigUpdated
99106
+ */
99107
+ OrgEbbConfigUpdated.fromObject = function fromObject(object) {
99108
+ if (object instanceof $root.OrgEbbConfigUpdated)
99109
+ return object;
99110
+ var message = new $root.OrgEbbConfigUpdated();
99111
+ if (object.b2bOrgId != null)
99112
+ message.b2bOrgId = object.b2bOrgId >>> 0;
99113
+ if (object.isEbbEnabled != null)
99114
+ message.isEbbEnabled = Boolean(object.isEbbEnabled);
99115
+ if (object.adminId != null)
99116
+ message.adminId = object.adminId >>> 0;
99117
+ if (object.timestamp != null)
99118
+ if ($util.Long)
99119
+ (message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
99120
+ else if (typeof object.timestamp === "string")
99121
+ message.timestamp = parseInt(object.timestamp, 10);
99122
+ else if (typeof object.timestamp === "number")
99123
+ message.timestamp = object.timestamp;
99124
+ else if (typeof object.timestamp === "object")
99125
+ message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
99126
+ return message;
99127
+ };
99128
+
99129
+ /**
99130
+ * Creates a plain object from an OrgEbbConfigUpdated message. Also converts values to other types if specified.
99131
+ * @function toObject
99132
+ * @memberof OrgEbbConfigUpdated
99133
+ * @static
99134
+ * @param {OrgEbbConfigUpdated} message OrgEbbConfigUpdated
99135
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
99136
+ * @returns {Object.<string,*>} Plain object
99137
+ */
99138
+ OrgEbbConfigUpdated.toObject = function toObject(message, options) {
99139
+ if (!options)
99140
+ options = {};
99141
+ var object = {};
99142
+ if (options.defaults) {
99143
+ object.b2bOrgId = 0;
99144
+ object.isEbbEnabled = false;
99145
+ object.adminId = 0;
99146
+ if ($util.Long) {
99147
+ var long = new $util.Long(0, 0, true);
99148
+ object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
99149
+ } else
99150
+ object.timestamp = options.longs === String ? "0" : 0;
99151
+ }
99152
+ if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
99153
+ object.b2bOrgId = message.b2bOrgId;
99154
+ if (message.isEbbEnabled != null && message.hasOwnProperty("isEbbEnabled"))
99155
+ object.isEbbEnabled = message.isEbbEnabled;
99156
+ if (message.adminId != null && message.hasOwnProperty("adminId"))
99157
+ object.adminId = message.adminId;
99158
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
99159
+ if (typeof message.timestamp === "number")
99160
+ object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
99161
+ else
99162
+ 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;
99163
+ return object;
99164
+ };
99165
+
99166
+ /**
99167
+ * Converts this OrgEbbConfigUpdated to JSON.
99168
+ * @function toJSON
99169
+ * @memberof OrgEbbConfigUpdated
99170
+ * @instance
99171
+ * @returns {Object.<string,*>} JSON object
99172
+ */
99173
+ OrgEbbConfigUpdated.prototype.toJSON = function toJSON() {
99174
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
99175
+ };
99176
+
99177
+ return OrgEbbConfigUpdated;
99178
+ })();
99179
+
98702
99180
  $root.OrgMarketingConfigUpdated = (function() {
98703
99181
 
98704
99182
  /**
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.774.0"
19
+ "version": "1.776.0"
20
20
  }