@headspace/protos-events 1.775.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
 
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
  /**
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.775.0"
19
+ "version": "1.776.0"
20
20
  }