@headspace/protos-events 1.501.0 → 1.502.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
@@ -47109,6 +47109,96 @@ export class UserMessageNotification implements IUserMessageNotification {
47109
47109
  public toJSON(): { [k: string]: any };
47110
47110
  }
47111
47111
 
47112
+ /** Properties of a UserMessageProcessMessagesEvent. */
47113
+ export interface IUserMessageProcessMessagesEvent {
47114
+
47115
+ /** UserMessageProcessMessagesEvent filePath */
47116
+ filePath?: (string|null);
47117
+ }
47118
+
47119
+ /** Represents a UserMessageProcessMessagesEvent. */
47120
+ export class UserMessageProcessMessagesEvent implements IUserMessageProcessMessagesEvent {
47121
+
47122
+ /**
47123
+ * Constructs a new UserMessageProcessMessagesEvent.
47124
+ * @param [properties] Properties to set
47125
+ */
47126
+ constructor(properties?: IUserMessageProcessMessagesEvent);
47127
+
47128
+ /** UserMessageProcessMessagesEvent filePath. */
47129
+ public filePath: string;
47130
+
47131
+ /**
47132
+ * Creates a new UserMessageProcessMessagesEvent instance using the specified properties.
47133
+ * @param [properties] Properties to set
47134
+ * @returns UserMessageProcessMessagesEvent instance
47135
+ */
47136
+ public static create(properties?: IUserMessageProcessMessagesEvent): UserMessageProcessMessagesEvent;
47137
+
47138
+ /**
47139
+ * Encodes the specified UserMessageProcessMessagesEvent message. Does not implicitly {@link UserMessageProcessMessagesEvent.verify|verify} messages.
47140
+ * @param message UserMessageProcessMessagesEvent message or plain object to encode
47141
+ * @param [writer] Writer to encode to
47142
+ * @returns Writer
47143
+ */
47144
+ public static encode(message: IUserMessageProcessMessagesEvent, writer?: $protobuf.Writer): $protobuf.Writer;
47145
+
47146
+ /**
47147
+ * Encodes the specified UserMessageProcessMessagesEvent message, length delimited. Does not implicitly {@link UserMessageProcessMessagesEvent.verify|verify} messages.
47148
+ * @param message UserMessageProcessMessagesEvent message or plain object to encode
47149
+ * @param [writer] Writer to encode to
47150
+ * @returns Writer
47151
+ */
47152
+ public static encodeDelimited(message: IUserMessageProcessMessagesEvent, writer?: $protobuf.Writer): $protobuf.Writer;
47153
+
47154
+ /**
47155
+ * Decodes a UserMessageProcessMessagesEvent message from the specified reader or buffer.
47156
+ * @param reader Reader or buffer to decode from
47157
+ * @param [length] Message length if known beforehand
47158
+ * @returns UserMessageProcessMessagesEvent
47159
+ * @throws {Error} If the payload is not a reader or valid buffer
47160
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
47161
+ */
47162
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserMessageProcessMessagesEvent;
47163
+
47164
+ /**
47165
+ * Decodes a UserMessageProcessMessagesEvent message from the specified reader or buffer, length delimited.
47166
+ * @param reader Reader or buffer to decode from
47167
+ * @returns UserMessageProcessMessagesEvent
47168
+ * @throws {Error} If the payload is not a reader or valid buffer
47169
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
47170
+ */
47171
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserMessageProcessMessagesEvent;
47172
+
47173
+ /**
47174
+ * Verifies a UserMessageProcessMessagesEvent message.
47175
+ * @param message Plain object to verify
47176
+ * @returns `null` if valid, otherwise the reason why it is not
47177
+ */
47178
+ public static verify(message: { [k: string]: any }): (string|null);
47179
+
47180
+ /**
47181
+ * Creates a UserMessageProcessMessagesEvent message from a plain object. Also converts values to their respective internal types.
47182
+ * @param object Plain object
47183
+ * @returns UserMessageProcessMessagesEvent
47184
+ */
47185
+ public static fromObject(object: { [k: string]: any }): UserMessageProcessMessagesEvent;
47186
+
47187
+ /**
47188
+ * Creates a plain object from a UserMessageProcessMessagesEvent message. Also converts values to other types if specified.
47189
+ * @param message UserMessageProcessMessagesEvent
47190
+ * @param [options] Conversion options
47191
+ * @returns Plain object
47192
+ */
47193
+ public static toObject(message: UserMessageProcessMessagesEvent, options?: $protobuf.IConversionOptions): { [k: string]: any };
47194
+
47195
+ /**
47196
+ * Converts this UserMessageProcessMessagesEvent to JSON.
47197
+ * @returns JSON object
47198
+ */
47199
+ public toJSON(): { [k: string]: any };
47200
+ }
47201
+
47112
47202
  /** Properties of a VirginPulseAccountLinked. */
47113
47203
  export interface IVirginPulseAccountLinked {
47114
47204
 
package/lib/index.js CHANGED
@@ -133810,6 +133810,193 @@ $root.UserMessageNotification = (function() {
133810
133810
  return UserMessageNotification;
133811
133811
  })();
133812
133812
 
133813
+ $root.UserMessageProcessMessagesEvent = (function() {
133814
+
133815
+ /**
133816
+ * Properties of a UserMessageProcessMessagesEvent.
133817
+ * @name IUserMessageProcessMessagesEvent
133818
+ * @interface IUserMessageProcessMessagesEvent
133819
+ * @property {string|null} [filePath] UserMessageProcessMessagesEvent filePath
133820
+ */
133821
+
133822
+ /**
133823
+ * Constructs a new UserMessageProcessMessagesEvent.
133824
+ * @name UserMessageProcessMessagesEvent
133825
+ * @classdesc Represents a UserMessageProcessMessagesEvent.
133826
+ * @implements IUserMessageProcessMessagesEvent
133827
+ * @constructor
133828
+ * @param {IUserMessageProcessMessagesEvent=} [properties] Properties to set
133829
+ */
133830
+ function UserMessageProcessMessagesEvent(properties) {
133831
+ if (properties)
133832
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
133833
+ if (properties[keys[i]] != null)
133834
+ this[keys[i]] = properties[keys[i]];
133835
+ }
133836
+
133837
+ /**
133838
+ * UserMessageProcessMessagesEvent filePath.
133839
+ * @member {string} filePath
133840
+ * @memberof UserMessageProcessMessagesEvent
133841
+ * @instance
133842
+ */
133843
+ UserMessageProcessMessagesEvent.prototype.filePath = "";
133844
+
133845
+ /**
133846
+ * Creates a new UserMessageProcessMessagesEvent instance using the specified properties.
133847
+ * @function create
133848
+ * @memberof UserMessageProcessMessagesEvent
133849
+ * @static
133850
+ * @param {IUserMessageProcessMessagesEvent=} [properties] Properties to set
133851
+ * @returns {UserMessageProcessMessagesEvent} UserMessageProcessMessagesEvent instance
133852
+ */
133853
+ UserMessageProcessMessagesEvent.create = function create(properties) {
133854
+ return new UserMessageProcessMessagesEvent(properties);
133855
+ };
133856
+
133857
+ /**
133858
+ * Encodes the specified UserMessageProcessMessagesEvent message. Does not implicitly {@link UserMessageProcessMessagesEvent.verify|verify} messages.
133859
+ * @function encode
133860
+ * @memberof UserMessageProcessMessagesEvent
133861
+ * @static
133862
+ * @param {IUserMessageProcessMessagesEvent} message UserMessageProcessMessagesEvent message or plain object to encode
133863
+ * @param {$protobuf.Writer} [writer] Writer to encode to
133864
+ * @returns {$protobuf.Writer} Writer
133865
+ */
133866
+ UserMessageProcessMessagesEvent.encode = function encode(message, writer) {
133867
+ if (!writer)
133868
+ writer = $Writer.create();
133869
+ if (message.filePath != null && message.hasOwnProperty("filePath"))
133870
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.filePath);
133871
+ return writer;
133872
+ };
133873
+
133874
+ /**
133875
+ * Encodes the specified UserMessageProcessMessagesEvent message, length delimited. Does not implicitly {@link UserMessageProcessMessagesEvent.verify|verify} messages.
133876
+ * @function encodeDelimited
133877
+ * @memberof UserMessageProcessMessagesEvent
133878
+ * @static
133879
+ * @param {IUserMessageProcessMessagesEvent} message UserMessageProcessMessagesEvent message or plain object to encode
133880
+ * @param {$protobuf.Writer} [writer] Writer to encode to
133881
+ * @returns {$protobuf.Writer} Writer
133882
+ */
133883
+ UserMessageProcessMessagesEvent.encodeDelimited = function encodeDelimited(message, writer) {
133884
+ return this.encode(message, writer).ldelim();
133885
+ };
133886
+
133887
+ /**
133888
+ * Decodes a UserMessageProcessMessagesEvent message from the specified reader or buffer.
133889
+ * @function decode
133890
+ * @memberof UserMessageProcessMessagesEvent
133891
+ * @static
133892
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
133893
+ * @param {number} [length] Message length if known beforehand
133894
+ * @returns {UserMessageProcessMessagesEvent} UserMessageProcessMessagesEvent
133895
+ * @throws {Error} If the payload is not a reader or valid buffer
133896
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
133897
+ */
133898
+ UserMessageProcessMessagesEvent.decode = function decode(reader, length) {
133899
+ if (!(reader instanceof $Reader))
133900
+ reader = $Reader.create(reader);
133901
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.UserMessageProcessMessagesEvent();
133902
+ while (reader.pos < end) {
133903
+ var tag = reader.uint32();
133904
+ switch (tag >>> 3) {
133905
+ case 1:
133906
+ message.filePath = reader.string();
133907
+ break;
133908
+ default:
133909
+ reader.skipType(tag & 7);
133910
+ break;
133911
+ }
133912
+ }
133913
+ return message;
133914
+ };
133915
+
133916
+ /**
133917
+ * Decodes a UserMessageProcessMessagesEvent message from the specified reader or buffer, length delimited.
133918
+ * @function decodeDelimited
133919
+ * @memberof UserMessageProcessMessagesEvent
133920
+ * @static
133921
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
133922
+ * @returns {UserMessageProcessMessagesEvent} UserMessageProcessMessagesEvent
133923
+ * @throws {Error} If the payload is not a reader or valid buffer
133924
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
133925
+ */
133926
+ UserMessageProcessMessagesEvent.decodeDelimited = function decodeDelimited(reader) {
133927
+ if (!(reader instanceof $Reader))
133928
+ reader = new $Reader(reader);
133929
+ return this.decode(reader, reader.uint32());
133930
+ };
133931
+
133932
+ /**
133933
+ * Verifies a UserMessageProcessMessagesEvent message.
133934
+ * @function verify
133935
+ * @memberof UserMessageProcessMessagesEvent
133936
+ * @static
133937
+ * @param {Object.<string,*>} message Plain object to verify
133938
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
133939
+ */
133940
+ UserMessageProcessMessagesEvent.verify = function verify(message) {
133941
+ if (typeof message !== "object" || message === null)
133942
+ return "object expected";
133943
+ if (message.filePath != null && message.hasOwnProperty("filePath"))
133944
+ if (!$util.isString(message.filePath))
133945
+ return "filePath: string expected";
133946
+ return null;
133947
+ };
133948
+
133949
+ /**
133950
+ * Creates a UserMessageProcessMessagesEvent message from a plain object. Also converts values to their respective internal types.
133951
+ * @function fromObject
133952
+ * @memberof UserMessageProcessMessagesEvent
133953
+ * @static
133954
+ * @param {Object.<string,*>} object Plain object
133955
+ * @returns {UserMessageProcessMessagesEvent} UserMessageProcessMessagesEvent
133956
+ */
133957
+ UserMessageProcessMessagesEvent.fromObject = function fromObject(object) {
133958
+ if (object instanceof $root.UserMessageProcessMessagesEvent)
133959
+ return object;
133960
+ var message = new $root.UserMessageProcessMessagesEvent();
133961
+ if (object.filePath != null)
133962
+ message.filePath = String(object.filePath);
133963
+ return message;
133964
+ };
133965
+
133966
+ /**
133967
+ * Creates a plain object from a UserMessageProcessMessagesEvent message. Also converts values to other types if specified.
133968
+ * @function toObject
133969
+ * @memberof UserMessageProcessMessagesEvent
133970
+ * @static
133971
+ * @param {UserMessageProcessMessagesEvent} message UserMessageProcessMessagesEvent
133972
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
133973
+ * @returns {Object.<string,*>} Plain object
133974
+ */
133975
+ UserMessageProcessMessagesEvent.toObject = function toObject(message, options) {
133976
+ if (!options)
133977
+ options = {};
133978
+ var object = {};
133979
+ if (options.defaults)
133980
+ object.filePath = "";
133981
+ if (message.filePath != null && message.hasOwnProperty("filePath"))
133982
+ object.filePath = message.filePath;
133983
+ return object;
133984
+ };
133985
+
133986
+ /**
133987
+ * Converts this UserMessageProcessMessagesEvent to JSON.
133988
+ * @function toJSON
133989
+ * @memberof UserMessageProcessMessagesEvent
133990
+ * @instance
133991
+ * @returns {Object.<string,*>} JSON object
133992
+ */
133993
+ UserMessageProcessMessagesEvent.prototype.toJSON = function toJSON() {
133994
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
133995
+ };
133996
+
133997
+ return UserMessageProcessMessagesEvent;
133998
+ })();
133999
+
133813
134000
  $root.VirginPulseAccountLinked = (function() {
133814
134001
 
133815
134002
  /**
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.501.0"
19
+ "version": "1.502.0"
20
20
  }