@headspace/protos-events 1.513.0 → 1.514.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
@@ -34855,6 +34855,222 @@ export namespace DiscussionPostReactionCreated {
34855
34855
  }
34856
34856
  }
34857
34857
 
34858
+ /** Properties of an ElfProcessingStarted. */
34859
+ export interface IElfProcessingStarted {
34860
+
34861
+ /** ElfProcessingStarted s3Bucket */
34862
+ s3Bucket?: (string|null);
34863
+
34864
+ /** ElfProcessingStarted s3Key */
34865
+ s3Key?: (string|null);
34866
+
34867
+ /** ElfProcessingStarted importedAtTimestamp */
34868
+ importedAtTimestamp?: (number|Long|null);
34869
+
34870
+ /** ElfProcessingStarted orgId */
34871
+ orgId?: (number|null);
34872
+ }
34873
+
34874
+ /** Represents an ElfProcessingStarted. */
34875
+ export class ElfProcessingStarted implements IElfProcessingStarted {
34876
+
34877
+ /**
34878
+ * Constructs a new ElfProcessingStarted.
34879
+ * @param [properties] Properties to set
34880
+ */
34881
+ constructor(properties?: IElfProcessingStarted);
34882
+
34883
+ /** ElfProcessingStarted s3Bucket. */
34884
+ public s3Bucket: string;
34885
+
34886
+ /** ElfProcessingStarted s3Key. */
34887
+ public s3Key: string;
34888
+
34889
+ /** ElfProcessingStarted importedAtTimestamp. */
34890
+ public importedAtTimestamp: (number|Long);
34891
+
34892
+ /** ElfProcessingStarted orgId. */
34893
+ public orgId: number;
34894
+
34895
+ /**
34896
+ * Creates a new ElfProcessingStarted instance using the specified properties.
34897
+ * @param [properties] Properties to set
34898
+ * @returns ElfProcessingStarted instance
34899
+ */
34900
+ public static create(properties?: IElfProcessingStarted): ElfProcessingStarted;
34901
+
34902
+ /**
34903
+ * Encodes the specified ElfProcessingStarted message. Does not implicitly {@link ElfProcessingStarted.verify|verify} messages.
34904
+ * @param message ElfProcessingStarted message or plain object to encode
34905
+ * @param [writer] Writer to encode to
34906
+ * @returns Writer
34907
+ */
34908
+ public static encode(message: IElfProcessingStarted, writer?: $protobuf.Writer): $protobuf.Writer;
34909
+
34910
+ /**
34911
+ * Encodes the specified ElfProcessingStarted message, length delimited. Does not implicitly {@link ElfProcessingStarted.verify|verify} messages.
34912
+ * @param message ElfProcessingStarted message or plain object to encode
34913
+ * @param [writer] Writer to encode to
34914
+ * @returns Writer
34915
+ */
34916
+ public static encodeDelimited(message: IElfProcessingStarted, writer?: $protobuf.Writer): $protobuf.Writer;
34917
+
34918
+ /**
34919
+ * Decodes an ElfProcessingStarted message from the specified reader or buffer.
34920
+ * @param reader Reader or buffer to decode from
34921
+ * @param [length] Message length if known beforehand
34922
+ * @returns ElfProcessingStarted
34923
+ * @throws {Error} If the payload is not a reader or valid buffer
34924
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
34925
+ */
34926
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ElfProcessingStarted;
34927
+
34928
+ /**
34929
+ * Decodes an ElfProcessingStarted message from the specified reader or buffer, length delimited.
34930
+ * @param reader Reader or buffer to decode from
34931
+ * @returns ElfProcessingStarted
34932
+ * @throws {Error} If the payload is not a reader or valid buffer
34933
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
34934
+ */
34935
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ElfProcessingStarted;
34936
+
34937
+ /**
34938
+ * Verifies an ElfProcessingStarted message.
34939
+ * @param message Plain object to verify
34940
+ * @returns `null` if valid, otherwise the reason why it is not
34941
+ */
34942
+ public static verify(message: { [k: string]: any }): (string|null);
34943
+
34944
+ /**
34945
+ * Creates an ElfProcessingStarted message from a plain object. Also converts values to their respective internal types.
34946
+ * @param object Plain object
34947
+ * @returns ElfProcessingStarted
34948
+ */
34949
+ public static fromObject(object: { [k: string]: any }): ElfProcessingStarted;
34950
+
34951
+ /**
34952
+ * Creates a plain object from an ElfProcessingStarted message. Also converts values to other types if specified.
34953
+ * @param message ElfProcessingStarted
34954
+ * @param [options] Conversion options
34955
+ * @returns Plain object
34956
+ */
34957
+ public static toObject(message: ElfProcessingStarted, options?: $protobuf.IConversionOptions): { [k: string]: any };
34958
+
34959
+ /**
34960
+ * Converts this ElfProcessingStarted to JSON.
34961
+ * @returns JSON object
34962
+ */
34963
+ public toJSON(): { [k: string]: any };
34964
+ }
34965
+
34966
+ /** Properties of an ElfProcessingCanceled. */
34967
+ export interface IElfProcessingCanceled {
34968
+
34969
+ /** ElfProcessingCanceled s3Bucket */
34970
+ s3Bucket?: (string|null);
34971
+
34972
+ /** ElfProcessingCanceled s3Key */
34973
+ s3Key?: (string|null);
34974
+
34975
+ /** ElfProcessingCanceled orgId */
34976
+ orgId?: (number|null);
34977
+
34978
+ /** ElfProcessingCanceled message */
34979
+ message?: (string|null);
34980
+ }
34981
+
34982
+ /** Represents an ElfProcessingCanceled. */
34983
+ export class ElfProcessingCanceled implements IElfProcessingCanceled {
34984
+
34985
+ /**
34986
+ * Constructs a new ElfProcessingCanceled.
34987
+ * @param [properties] Properties to set
34988
+ */
34989
+ constructor(properties?: IElfProcessingCanceled);
34990
+
34991
+ /** ElfProcessingCanceled s3Bucket. */
34992
+ public s3Bucket: string;
34993
+
34994
+ /** ElfProcessingCanceled s3Key. */
34995
+ public s3Key: string;
34996
+
34997
+ /** ElfProcessingCanceled orgId. */
34998
+ public orgId: number;
34999
+
35000
+ /** ElfProcessingCanceled message. */
35001
+ public message: string;
35002
+
35003
+ /**
35004
+ * Creates a new ElfProcessingCanceled instance using the specified properties.
35005
+ * @param [properties] Properties to set
35006
+ * @returns ElfProcessingCanceled instance
35007
+ */
35008
+ public static create(properties?: IElfProcessingCanceled): ElfProcessingCanceled;
35009
+
35010
+ /**
35011
+ * Encodes the specified ElfProcessingCanceled message. Does not implicitly {@link ElfProcessingCanceled.verify|verify} messages.
35012
+ * @param message ElfProcessingCanceled message or plain object to encode
35013
+ * @param [writer] Writer to encode to
35014
+ * @returns Writer
35015
+ */
35016
+ public static encode(message: IElfProcessingCanceled, writer?: $protobuf.Writer): $protobuf.Writer;
35017
+
35018
+ /**
35019
+ * Encodes the specified ElfProcessingCanceled message, length delimited. Does not implicitly {@link ElfProcessingCanceled.verify|verify} messages.
35020
+ * @param message ElfProcessingCanceled message or plain object to encode
35021
+ * @param [writer] Writer to encode to
35022
+ * @returns Writer
35023
+ */
35024
+ public static encodeDelimited(message: IElfProcessingCanceled, writer?: $protobuf.Writer): $protobuf.Writer;
35025
+
35026
+ /**
35027
+ * Decodes an ElfProcessingCanceled message from the specified reader or buffer.
35028
+ * @param reader Reader or buffer to decode from
35029
+ * @param [length] Message length if known beforehand
35030
+ * @returns ElfProcessingCanceled
35031
+ * @throws {Error} If the payload is not a reader or valid buffer
35032
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35033
+ */
35034
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ElfProcessingCanceled;
35035
+
35036
+ /**
35037
+ * Decodes an ElfProcessingCanceled message from the specified reader or buffer, length delimited.
35038
+ * @param reader Reader or buffer to decode from
35039
+ * @returns ElfProcessingCanceled
35040
+ * @throws {Error} If the payload is not a reader or valid buffer
35041
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35042
+ */
35043
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ElfProcessingCanceled;
35044
+
35045
+ /**
35046
+ * Verifies an ElfProcessingCanceled message.
35047
+ * @param message Plain object to verify
35048
+ * @returns `null` if valid, otherwise the reason why it is not
35049
+ */
35050
+ public static verify(message: { [k: string]: any }): (string|null);
35051
+
35052
+ /**
35053
+ * Creates an ElfProcessingCanceled message from a plain object. Also converts values to their respective internal types.
35054
+ * @param object Plain object
35055
+ * @returns ElfProcessingCanceled
35056
+ */
35057
+ public static fromObject(object: { [k: string]: any }): ElfProcessingCanceled;
35058
+
35059
+ /**
35060
+ * Creates a plain object from an ElfProcessingCanceled message. Also converts values to other types if specified.
35061
+ * @param message ElfProcessingCanceled
35062
+ * @param [options] Conversion options
35063
+ * @returns Plain object
35064
+ */
35065
+ public static toObject(message: ElfProcessingCanceled, options?: $protobuf.IConversionOptions): { [k: string]: any };
35066
+
35067
+ /**
35068
+ * Converts this ElfProcessingCanceled to JSON.
35069
+ * @returns JSON object
35070
+ */
35071
+ public toJSON(): { [k: string]: any };
35072
+ }
35073
+
34858
35074
  /** Properties of an ElfNormalizationJobCompleted. */
34859
35075
  export interface IElfNormalizationJobCompleted {
34860
35076
 
package/lib/index.js CHANGED
@@ -97003,6 +97003,528 @@ $root.DiscussionPostReactionCreated = (function() {
97003
97003
  return DiscussionPostReactionCreated;
97004
97004
  })();
97005
97005
 
97006
+ $root.ElfProcessingStarted = (function() {
97007
+
97008
+ /**
97009
+ * Properties of an ElfProcessingStarted.
97010
+ * @name IElfProcessingStarted
97011
+ * @interface IElfProcessingStarted
97012
+ * @property {string|null} [s3Bucket] ElfProcessingStarted s3Bucket
97013
+ * @property {string|null} [s3Key] ElfProcessingStarted s3Key
97014
+ * @property {number|Long|null} [importedAtTimestamp] ElfProcessingStarted importedAtTimestamp
97015
+ * @property {number|null} [orgId] ElfProcessingStarted orgId
97016
+ */
97017
+
97018
+ /**
97019
+ * Constructs a new ElfProcessingStarted.
97020
+ * @name ElfProcessingStarted
97021
+ * @classdesc Represents an ElfProcessingStarted.
97022
+ * @implements IElfProcessingStarted
97023
+ * @constructor
97024
+ * @param {IElfProcessingStarted=} [properties] Properties to set
97025
+ */
97026
+ function ElfProcessingStarted(properties) {
97027
+ if (properties)
97028
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
97029
+ if (properties[keys[i]] != null)
97030
+ this[keys[i]] = properties[keys[i]];
97031
+ }
97032
+
97033
+ /**
97034
+ * ElfProcessingStarted s3Bucket.
97035
+ * @member {string} s3Bucket
97036
+ * @memberof ElfProcessingStarted
97037
+ * @instance
97038
+ */
97039
+ ElfProcessingStarted.prototype.s3Bucket = "";
97040
+
97041
+ /**
97042
+ * ElfProcessingStarted s3Key.
97043
+ * @member {string} s3Key
97044
+ * @memberof ElfProcessingStarted
97045
+ * @instance
97046
+ */
97047
+ ElfProcessingStarted.prototype.s3Key = "";
97048
+
97049
+ /**
97050
+ * ElfProcessingStarted importedAtTimestamp.
97051
+ * @member {number|Long} importedAtTimestamp
97052
+ * @memberof ElfProcessingStarted
97053
+ * @instance
97054
+ */
97055
+ ElfProcessingStarted.prototype.importedAtTimestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
97056
+
97057
+ /**
97058
+ * ElfProcessingStarted orgId.
97059
+ * @member {number} orgId
97060
+ * @memberof ElfProcessingStarted
97061
+ * @instance
97062
+ */
97063
+ ElfProcessingStarted.prototype.orgId = 0;
97064
+
97065
+ /**
97066
+ * Creates a new ElfProcessingStarted instance using the specified properties.
97067
+ * @function create
97068
+ * @memberof ElfProcessingStarted
97069
+ * @static
97070
+ * @param {IElfProcessingStarted=} [properties] Properties to set
97071
+ * @returns {ElfProcessingStarted} ElfProcessingStarted instance
97072
+ */
97073
+ ElfProcessingStarted.create = function create(properties) {
97074
+ return new ElfProcessingStarted(properties);
97075
+ };
97076
+
97077
+ /**
97078
+ * Encodes the specified ElfProcessingStarted message. Does not implicitly {@link ElfProcessingStarted.verify|verify} messages.
97079
+ * @function encode
97080
+ * @memberof ElfProcessingStarted
97081
+ * @static
97082
+ * @param {IElfProcessingStarted} message ElfProcessingStarted message or plain object to encode
97083
+ * @param {$protobuf.Writer} [writer] Writer to encode to
97084
+ * @returns {$protobuf.Writer} Writer
97085
+ */
97086
+ ElfProcessingStarted.encode = function encode(message, writer) {
97087
+ if (!writer)
97088
+ writer = $Writer.create();
97089
+ if (message.s3Bucket != null && message.hasOwnProperty("s3Bucket"))
97090
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.s3Bucket);
97091
+ if (message.s3Key != null && message.hasOwnProperty("s3Key"))
97092
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.s3Key);
97093
+ if (message.importedAtTimestamp != null && message.hasOwnProperty("importedAtTimestamp"))
97094
+ writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.importedAtTimestamp);
97095
+ if (message.orgId != null && message.hasOwnProperty("orgId"))
97096
+ writer.uint32(/* id 4, wireType 0 =*/32).int32(message.orgId);
97097
+ return writer;
97098
+ };
97099
+
97100
+ /**
97101
+ * Encodes the specified ElfProcessingStarted message, length delimited. Does not implicitly {@link ElfProcessingStarted.verify|verify} messages.
97102
+ * @function encodeDelimited
97103
+ * @memberof ElfProcessingStarted
97104
+ * @static
97105
+ * @param {IElfProcessingStarted} message ElfProcessingStarted message or plain object to encode
97106
+ * @param {$protobuf.Writer} [writer] Writer to encode to
97107
+ * @returns {$protobuf.Writer} Writer
97108
+ */
97109
+ ElfProcessingStarted.encodeDelimited = function encodeDelimited(message, writer) {
97110
+ return this.encode(message, writer).ldelim();
97111
+ };
97112
+
97113
+ /**
97114
+ * Decodes an ElfProcessingStarted message from the specified reader or buffer.
97115
+ * @function decode
97116
+ * @memberof ElfProcessingStarted
97117
+ * @static
97118
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
97119
+ * @param {number} [length] Message length if known beforehand
97120
+ * @returns {ElfProcessingStarted} ElfProcessingStarted
97121
+ * @throws {Error} If the payload is not a reader or valid buffer
97122
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
97123
+ */
97124
+ ElfProcessingStarted.decode = function decode(reader, length) {
97125
+ if (!(reader instanceof $Reader))
97126
+ reader = $Reader.create(reader);
97127
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ElfProcessingStarted();
97128
+ while (reader.pos < end) {
97129
+ var tag = reader.uint32();
97130
+ switch (tag >>> 3) {
97131
+ case 1:
97132
+ message.s3Bucket = reader.string();
97133
+ break;
97134
+ case 2:
97135
+ message.s3Key = reader.string();
97136
+ break;
97137
+ case 3:
97138
+ message.importedAtTimestamp = reader.uint64();
97139
+ break;
97140
+ case 4:
97141
+ message.orgId = reader.int32();
97142
+ break;
97143
+ default:
97144
+ reader.skipType(tag & 7);
97145
+ break;
97146
+ }
97147
+ }
97148
+ return message;
97149
+ };
97150
+
97151
+ /**
97152
+ * Decodes an ElfProcessingStarted message from the specified reader or buffer, length delimited.
97153
+ * @function decodeDelimited
97154
+ * @memberof ElfProcessingStarted
97155
+ * @static
97156
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
97157
+ * @returns {ElfProcessingStarted} ElfProcessingStarted
97158
+ * @throws {Error} If the payload is not a reader or valid buffer
97159
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
97160
+ */
97161
+ ElfProcessingStarted.decodeDelimited = function decodeDelimited(reader) {
97162
+ if (!(reader instanceof $Reader))
97163
+ reader = new $Reader(reader);
97164
+ return this.decode(reader, reader.uint32());
97165
+ };
97166
+
97167
+ /**
97168
+ * Verifies an ElfProcessingStarted message.
97169
+ * @function verify
97170
+ * @memberof ElfProcessingStarted
97171
+ * @static
97172
+ * @param {Object.<string,*>} message Plain object to verify
97173
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
97174
+ */
97175
+ ElfProcessingStarted.verify = function verify(message) {
97176
+ if (typeof message !== "object" || message === null)
97177
+ return "object expected";
97178
+ if (message.s3Bucket != null && message.hasOwnProperty("s3Bucket"))
97179
+ if (!$util.isString(message.s3Bucket))
97180
+ return "s3Bucket: string expected";
97181
+ if (message.s3Key != null && message.hasOwnProperty("s3Key"))
97182
+ if (!$util.isString(message.s3Key))
97183
+ return "s3Key: string expected";
97184
+ if (message.importedAtTimestamp != null && message.hasOwnProperty("importedAtTimestamp"))
97185
+ if (!$util.isInteger(message.importedAtTimestamp) && !(message.importedAtTimestamp && $util.isInteger(message.importedAtTimestamp.low) && $util.isInteger(message.importedAtTimestamp.high)))
97186
+ return "importedAtTimestamp: integer|Long expected";
97187
+ if (message.orgId != null && message.hasOwnProperty("orgId"))
97188
+ if (!$util.isInteger(message.orgId))
97189
+ return "orgId: integer expected";
97190
+ return null;
97191
+ };
97192
+
97193
+ /**
97194
+ * Creates an ElfProcessingStarted message from a plain object. Also converts values to their respective internal types.
97195
+ * @function fromObject
97196
+ * @memberof ElfProcessingStarted
97197
+ * @static
97198
+ * @param {Object.<string,*>} object Plain object
97199
+ * @returns {ElfProcessingStarted} ElfProcessingStarted
97200
+ */
97201
+ ElfProcessingStarted.fromObject = function fromObject(object) {
97202
+ if (object instanceof $root.ElfProcessingStarted)
97203
+ return object;
97204
+ var message = new $root.ElfProcessingStarted();
97205
+ if (object.s3Bucket != null)
97206
+ message.s3Bucket = String(object.s3Bucket);
97207
+ if (object.s3Key != null)
97208
+ message.s3Key = String(object.s3Key);
97209
+ if (object.importedAtTimestamp != null)
97210
+ if ($util.Long)
97211
+ (message.importedAtTimestamp = $util.Long.fromValue(object.importedAtTimestamp)).unsigned = true;
97212
+ else if (typeof object.importedAtTimestamp === "string")
97213
+ message.importedAtTimestamp = parseInt(object.importedAtTimestamp, 10);
97214
+ else if (typeof object.importedAtTimestamp === "number")
97215
+ message.importedAtTimestamp = object.importedAtTimestamp;
97216
+ else if (typeof object.importedAtTimestamp === "object")
97217
+ message.importedAtTimestamp = new $util.LongBits(object.importedAtTimestamp.low >>> 0, object.importedAtTimestamp.high >>> 0).toNumber(true);
97218
+ if (object.orgId != null)
97219
+ message.orgId = object.orgId | 0;
97220
+ return message;
97221
+ };
97222
+
97223
+ /**
97224
+ * Creates a plain object from an ElfProcessingStarted message. Also converts values to other types if specified.
97225
+ * @function toObject
97226
+ * @memberof ElfProcessingStarted
97227
+ * @static
97228
+ * @param {ElfProcessingStarted} message ElfProcessingStarted
97229
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
97230
+ * @returns {Object.<string,*>} Plain object
97231
+ */
97232
+ ElfProcessingStarted.toObject = function toObject(message, options) {
97233
+ if (!options)
97234
+ options = {};
97235
+ var object = {};
97236
+ if (options.defaults) {
97237
+ object.s3Bucket = "";
97238
+ object.s3Key = "";
97239
+ if ($util.Long) {
97240
+ var long = new $util.Long(0, 0, true);
97241
+ object.importedAtTimestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
97242
+ } else
97243
+ object.importedAtTimestamp = options.longs === String ? "0" : 0;
97244
+ object.orgId = 0;
97245
+ }
97246
+ if (message.s3Bucket != null && message.hasOwnProperty("s3Bucket"))
97247
+ object.s3Bucket = message.s3Bucket;
97248
+ if (message.s3Key != null && message.hasOwnProperty("s3Key"))
97249
+ object.s3Key = message.s3Key;
97250
+ if (message.importedAtTimestamp != null && message.hasOwnProperty("importedAtTimestamp"))
97251
+ if (typeof message.importedAtTimestamp === "number")
97252
+ object.importedAtTimestamp = options.longs === String ? String(message.importedAtTimestamp) : message.importedAtTimestamp;
97253
+ else
97254
+ object.importedAtTimestamp = options.longs === String ? $util.Long.prototype.toString.call(message.importedAtTimestamp) : options.longs === Number ? new $util.LongBits(message.importedAtTimestamp.low >>> 0, message.importedAtTimestamp.high >>> 0).toNumber(true) : message.importedAtTimestamp;
97255
+ if (message.orgId != null && message.hasOwnProperty("orgId"))
97256
+ object.orgId = message.orgId;
97257
+ return object;
97258
+ };
97259
+
97260
+ /**
97261
+ * Converts this ElfProcessingStarted to JSON.
97262
+ * @function toJSON
97263
+ * @memberof ElfProcessingStarted
97264
+ * @instance
97265
+ * @returns {Object.<string,*>} JSON object
97266
+ */
97267
+ ElfProcessingStarted.prototype.toJSON = function toJSON() {
97268
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
97269
+ };
97270
+
97271
+ return ElfProcessingStarted;
97272
+ })();
97273
+
97274
+ $root.ElfProcessingCanceled = (function() {
97275
+
97276
+ /**
97277
+ * Properties of an ElfProcessingCanceled.
97278
+ * @name IElfProcessingCanceled
97279
+ * @interface IElfProcessingCanceled
97280
+ * @property {string|null} [s3Bucket] ElfProcessingCanceled s3Bucket
97281
+ * @property {string|null} [s3Key] ElfProcessingCanceled s3Key
97282
+ * @property {number|null} [orgId] ElfProcessingCanceled orgId
97283
+ * @property {string|null} [message] ElfProcessingCanceled message
97284
+ */
97285
+
97286
+ /**
97287
+ * Constructs a new ElfProcessingCanceled.
97288
+ * @name ElfProcessingCanceled
97289
+ * @classdesc Represents an ElfProcessingCanceled.
97290
+ * @implements IElfProcessingCanceled
97291
+ * @constructor
97292
+ * @param {IElfProcessingCanceled=} [properties] Properties to set
97293
+ */
97294
+ function ElfProcessingCanceled(properties) {
97295
+ if (properties)
97296
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
97297
+ if (properties[keys[i]] != null)
97298
+ this[keys[i]] = properties[keys[i]];
97299
+ }
97300
+
97301
+ /**
97302
+ * ElfProcessingCanceled s3Bucket.
97303
+ * @member {string} s3Bucket
97304
+ * @memberof ElfProcessingCanceled
97305
+ * @instance
97306
+ */
97307
+ ElfProcessingCanceled.prototype.s3Bucket = "";
97308
+
97309
+ /**
97310
+ * ElfProcessingCanceled s3Key.
97311
+ * @member {string} s3Key
97312
+ * @memberof ElfProcessingCanceled
97313
+ * @instance
97314
+ */
97315
+ ElfProcessingCanceled.prototype.s3Key = "";
97316
+
97317
+ /**
97318
+ * ElfProcessingCanceled orgId.
97319
+ * @member {number} orgId
97320
+ * @memberof ElfProcessingCanceled
97321
+ * @instance
97322
+ */
97323
+ ElfProcessingCanceled.prototype.orgId = 0;
97324
+
97325
+ /**
97326
+ * ElfProcessingCanceled message.
97327
+ * @member {string} message
97328
+ * @memberof ElfProcessingCanceled
97329
+ * @instance
97330
+ */
97331
+ ElfProcessingCanceled.prototype.message = "";
97332
+
97333
+ /**
97334
+ * Creates a new ElfProcessingCanceled instance using the specified properties.
97335
+ * @function create
97336
+ * @memberof ElfProcessingCanceled
97337
+ * @static
97338
+ * @param {IElfProcessingCanceled=} [properties] Properties to set
97339
+ * @returns {ElfProcessingCanceled} ElfProcessingCanceled instance
97340
+ */
97341
+ ElfProcessingCanceled.create = function create(properties) {
97342
+ return new ElfProcessingCanceled(properties);
97343
+ };
97344
+
97345
+ /**
97346
+ * Encodes the specified ElfProcessingCanceled message. Does not implicitly {@link ElfProcessingCanceled.verify|verify} messages.
97347
+ * @function encode
97348
+ * @memberof ElfProcessingCanceled
97349
+ * @static
97350
+ * @param {IElfProcessingCanceled} message ElfProcessingCanceled message or plain object to encode
97351
+ * @param {$protobuf.Writer} [writer] Writer to encode to
97352
+ * @returns {$protobuf.Writer} Writer
97353
+ */
97354
+ ElfProcessingCanceled.encode = function encode(message, writer) {
97355
+ if (!writer)
97356
+ writer = $Writer.create();
97357
+ if (message.s3Bucket != null && message.hasOwnProperty("s3Bucket"))
97358
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.s3Bucket);
97359
+ if (message.s3Key != null && message.hasOwnProperty("s3Key"))
97360
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.s3Key);
97361
+ if (message.orgId != null && message.hasOwnProperty("orgId"))
97362
+ writer.uint32(/* id 3, wireType 0 =*/24).int32(message.orgId);
97363
+ if (message.message != null && message.hasOwnProperty("message"))
97364
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.message);
97365
+ return writer;
97366
+ };
97367
+
97368
+ /**
97369
+ * Encodes the specified ElfProcessingCanceled message, length delimited. Does not implicitly {@link ElfProcessingCanceled.verify|verify} messages.
97370
+ * @function encodeDelimited
97371
+ * @memberof ElfProcessingCanceled
97372
+ * @static
97373
+ * @param {IElfProcessingCanceled} message ElfProcessingCanceled message or plain object to encode
97374
+ * @param {$protobuf.Writer} [writer] Writer to encode to
97375
+ * @returns {$protobuf.Writer} Writer
97376
+ */
97377
+ ElfProcessingCanceled.encodeDelimited = function encodeDelimited(message, writer) {
97378
+ return this.encode(message, writer).ldelim();
97379
+ };
97380
+
97381
+ /**
97382
+ * Decodes an ElfProcessingCanceled message from the specified reader or buffer.
97383
+ * @function decode
97384
+ * @memberof ElfProcessingCanceled
97385
+ * @static
97386
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
97387
+ * @param {number} [length] Message length if known beforehand
97388
+ * @returns {ElfProcessingCanceled} ElfProcessingCanceled
97389
+ * @throws {Error} If the payload is not a reader or valid buffer
97390
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
97391
+ */
97392
+ ElfProcessingCanceled.decode = function decode(reader, length) {
97393
+ if (!(reader instanceof $Reader))
97394
+ reader = $Reader.create(reader);
97395
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ElfProcessingCanceled();
97396
+ while (reader.pos < end) {
97397
+ var tag = reader.uint32();
97398
+ switch (tag >>> 3) {
97399
+ case 1:
97400
+ message.s3Bucket = reader.string();
97401
+ break;
97402
+ case 2:
97403
+ message.s3Key = reader.string();
97404
+ break;
97405
+ case 3:
97406
+ message.orgId = reader.int32();
97407
+ break;
97408
+ case 4:
97409
+ message.message = reader.string();
97410
+ break;
97411
+ default:
97412
+ reader.skipType(tag & 7);
97413
+ break;
97414
+ }
97415
+ }
97416
+ return message;
97417
+ };
97418
+
97419
+ /**
97420
+ * Decodes an ElfProcessingCanceled message from the specified reader or buffer, length delimited.
97421
+ * @function decodeDelimited
97422
+ * @memberof ElfProcessingCanceled
97423
+ * @static
97424
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
97425
+ * @returns {ElfProcessingCanceled} ElfProcessingCanceled
97426
+ * @throws {Error} If the payload is not a reader or valid buffer
97427
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
97428
+ */
97429
+ ElfProcessingCanceled.decodeDelimited = function decodeDelimited(reader) {
97430
+ if (!(reader instanceof $Reader))
97431
+ reader = new $Reader(reader);
97432
+ return this.decode(reader, reader.uint32());
97433
+ };
97434
+
97435
+ /**
97436
+ * Verifies an ElfProcessingCanceled message.
97437
+ * @function verify
97438
+ * @memberof ElfProcessingCanceled
97439
+ * @static
97440
+ * @param {Object.<string,*>} message Plain object to verify
97441
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
97442
+ */
97443
+ ElfProcessingCanceled.verify = function verify(message) {
97444
+ if (typeof message !== "object" || message === null)
97445
+ return "object expected";
97446
+ if (message.s3Bucket != null && message.hasOwnProperty("s3Bucket"))
97447
+ if (!$util.isString(message.s3Bucket))
97448
+ return "s3Bucket: string expected";
97449
+ if (message.s3Key != null && message.hasOwnProperty("s3Key"))
97450
+ if (!$util.isString(message.s3Key))
97451
+ return "s3Key: string expected";
97452
+ if (message.orgId != null && message.hasOwnProperty("orgId"))
97453
+ if (!$util.isInteger(message.orgId))
97454
+ return "orgId: integer expected";
97455
+ if (message.message != null && message.hasOwnProperty("message"))
97456
+ if (!$util.isString(message.message))
97457
+ return "message: string expected";
97458
+ return null;
97459
+ };
97460
+
97461
+ /**
97462
+ * Creates an ElfProcessingCanceled message from a plain object. Also converts values to their respective internal types.
97463
+ * @function fromObject
97464
+ * @memberof ElfProcessingCanceled
97465
+ * @static
97466
+ * @param {Object.<string,*>} object Plain object
97467
+ * @returns {ElfProcessingCanceled} ElfProcessingCanceled
97468
+ */
97469
+ ElfProcessingCanceled.fromObject = function fromObject(object) {
97470
+ if (object instanceof $root.ElfProcessingCanceled)
97471
+ return object;
97472
+ var message = new $root.ElfProcessingCanceled();
97473
+ if (object.s3Bucket != null)
97474
+ message.s3Bucket = String(object.s3Bucket);
97475
+ if (object.s3Key != null)
97476
+ message.s3Key = String(object.s3Key);
97477
+ if (object.orgId != null)
97478
+ message.orgId = object.orgId | 0;
97479
+ if (object.message != null)
97480
+ message.message = String(object.message);
97481
+ return message;
97482
+ };
97483
+
97484
+ /**
97485
+ * Creates a plain object from an ElfProcessingCanceled message. Also converts values to other types if specified.
97486
+ * @function toObject
97487
+ * @memberof ElfProcessingCanceled
97488
+ * @static
97489
+ * @param {ElfProcessingCanceled} message ElfProcessingCanceled
97490
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
97491
+ * @returns {Object.<string,*>} Plain object
97492
+ */
97493
+ ElfProcessingCanceled.toObject = function toObject(message, options) {
97494
+ if (!options)
97495
+ options = {};
97496
+ var object = {};
97497
+ if (options.defaults) {
97498
+ object.s3Bucket = "";
97499
+ object.s3Key = "";
97500
+ object.orgId = 0;
97501
+ object.message = "";
97502
+ }
97503
+ if (message.s3Bucket != null && message.hasOwnProperty("s3Bucket"))
97504
+ object.s3Bucket = message.s3Bucket;
97505
+ if (message.s3Key != null && message.hasOwnProperty("s3Key"))
97506
+ object.s3Key = message.s3Key;
97507
+ if (message.orgId != null && message.hasOwnProperty("orgId"))
97508
+ object.orgId = message.orgId;
97509
+ if (message.message != null && message.hasOwnProperty("message"))
97510
+ object.message = message.message;
97511
+ return object;
97512
+ };
97513
+
97514
+ /**
97515
+ * Converts this ElfProcessingCanceled to JSON.
97516
+ * @function toJSON
97517
+ * @memberof ElfProcessingCanceled
97518
+ * @instance
97519
+ * @returns {Object.<string,*>} JSON object
97520
+ */
97521
+ ElfProcessingCanceled.prototype.toJSON = function toJSON() {
97522
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
97523
+ };
97524
+
97525
+ return ElfProcessingCanceled;
97526
+ })();
97527
+
97006
97528
  $root.ElfNormalizationJobCompleted = (function() {
97007
97529
 
97008
97530
  /**
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.513.0"
19
+ "version": "1.514.0"
20
20
  }