@headspace/protos-events 1.180.0 → 1.182.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.
Files changed (3) hide show
  1. package/lib/index.d.ts +104 -8
  2. package/lib/index.js +250 -30
  3. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -10231,8 +10231,8 @@ export interface IContentfulSleepcastRecipeCreated {
10231
10231
  /** ContentfulSleepcastRecipeCreated slug */
10232
10232
  slug?: (string|null);
10233
10233
 
10234
- /** ContentfulSleepcastRecipeCreated generatior */
10235
- generatior?: (string|null);
10234
+ /** ContentfulSleepcastRecipeCreated generator */
10235
+ generator?: (string|null);
10236
10236
 
10237
10237
  /** ContentfulSleepcastRecipeCreated mainMedia */
10238
10238
  mainMedia?: ({ [k: string]: contentful.IIdReferences }|null);
@@ -10268,8 +10268,8 @@ export class ContentfulSleepcastRecipeCreated implements IContentfulSleepcastRec
10268
10268
  /** ContentfulSleepcastRecipeCreated slug. */
10269
10269
  public slug: string;
10270
10270
 
10271
- /** ContentfulSleepcastRecipeCreated generatior. */
10272
- public generatior: string;
10271
+ /** ContentfulSleepcastRecipeCreated generator. */
10272
+ public generator: string;
10273
10273
 
10274
10274
  /** ContentfulSleepcastRecipeCreated mainMedia. */
10275
10275
  public mainMedia: { [k: string]: contentful.IIdReferences };
@@ -10369,8 +10369,8 @@ export interface IContentfulSleepcastRecipeUpdated {
10369
10369
  /** ContentfulSleepcastRecipeUpdated slug */
10370
10370
  slug?: (string|null);
10371
10371
 
10372
- /** ContentfulSleepcastRecipeUpdated generatior */
10373
- generatior?: (string|null);
10372
+ /** ContentfulSleepcastRecipeUpdated generator */
10373
+ generator?: (string|null);
10374
10374
 
10375
10375
  /** ContentfulSleepcastRecipeUpdated mainMedia */
10376
10376
  mainMedia?: ({ [k: string]: contentful.IIdReferences }|null);
@@ -10406,8 +10406,8 @@ export class ContentfulSleepcastRecipeUpdated implements IContentfulSleepcastRec
10406
10406
  /** ContentfulSleepcastRecipeUpdated slug. */
10407
10407
  public slug: string;
10408
10408
 
10409
- /** ContentfulSleepcastRecipeUpdated generatior. */
10410
- public generatior: string;
10409
+ /** ContentfulSleepcastRecipeUpdated generator. */
10410
+ public generator: string;
10411
10411
 
10412
10412
  /** ContentfulSleepcastRecipeUpdated mainMedia. */
10413
10413
  public mainMedia: { [k: string]: contentful.IIdReferences };
@@ -15857,6 +15857,102 @@ export class ElfImportJobFailed implements IElfImportJobFailed {
15857
15857
  public toJSON(): { [k: string]: any };
15858
15858
  }
15859
15859
 
15860
+ /** Properties of an ElfImportJobRejected. */
15861
+ export interface IElfImportJobRejected {
15862
+
15863
+ /** ElfImportJobRejected importGroup */
15864
+ importGroup?: (elf.IImportGroup|null);
15865
+
15866
+ /** ElfImportJobRejected importJob */
15867
+ importJob?: (elf.IImportJob|null);
15868
+ }
15869
+
15870
+ /** Represents an ElfImportJobRejected. */
15871
+ export class ElfImportJobRejected implements IElfImportJobRejected {
15872
+
15873
+ /**
15874
+ * Constructs a new ElfImportJobRejected.
15875
+ * @param [properties] Properties to set
15876
+ */
15877
+ constructor(properties?: IElfImportJobRejected);
15878
+
15879
+ /** ElfImportJobRejected importGroup. */
15880
+ public importGroup?: (elf.IImportGroup|null);
15881
+
15882
+ /** ElfImportJobRejected importJob. */
15883
+ public importJob?: (elf.IImportJob|null);
15884
+
15885
+ /**
15886
+ * Creates a new ElfImportJobRejected instance using the specified properties.
15887
+ * @param [properties] Properties to set
15888
+ * @returns ElfImportJobRejected instance
15889
+ */
15890
+ public static create(properties?: IElfImportJobRejected): ElfImportJobRejected;
15891
+
15892
+ /**
15893
+ * Encodes the specified ElfImportJobRejected message. Does not implicitly {@link ElfImportJobRejected.verify|verify} messages.
15894
+ * @param message ElfImportJobRejected message or plain object to encode
15895
+ * @param [writer] Writer to encode to
15896
+ * @returns Writer
15897
+ */
15898
+ public static encode(message: IElfImportJobRejected, writer?: $protobuf.Writer): $protobuf.Writer;
15899
+
15900
+ /**
15901
+ * Encodes the specified ElfImportJobRejected message, length delimited. Does not implicitly {@link ElfImportJobRejected.verify|verify} messages.
15902
+ * @param message ElfImportJobRejected message or plain object to encode
15903
+ * @param [writer] Writer to encode to
15904
+ * @returns Writer
15905
+ */
15906
+ public static encodeDelimited(message: IElfImportJobRejected, writer?: $protobuf.Writer): $protobuf.Writer;
15907
+
15908
+ /**
15909
+ * Decodes an ElfImportJobRejected message from the specified reader or buffer.
15910
+ * @param reader Reader or buffer to decode from
15911
+ * @param [length] Message length if known beforehand
15912
+ * @returns ElfImportJobRejected
15913
+ * @throws {Error} If the payload is not a reader or valid buffer
15914
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15915
+ */
15916
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ElfImportJobRejected;
15917
+
15918
+ /**
15919
+ * Decodes an ElfImportJobRejected message from the specified reader or buffer, length delimited.
15920
+ * @param reader Reader or buffer to decode from
15921
+ * @returns ElfImportJobRejected
15922
+ * @throws {Error} If the payload is not a reader or valid buffer
15923
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15924
+ */
15925
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ElfImportJobRejected;
15926
+
15927
+ /**
15928
+ * Verifies an ElfImportJobRejected message.
15929
+ * @param message Plain object to verify
15930
+ * @returns `null` if valid, otherwise the reason why it is not
15931
+ */
15932
+ public static verify(message: { [k: string]: any }): (string|null);
15933
+
15934
+ /**
15935
+ * Creates an ElfImportJobRejected message from a plain object. Also converts values to their respective internal types.
15936
+ * @param object Plain object
15937
+ * @returns ElfImportJobRejected
15938
+ */
15939
+ public static fromObject(object: { [k: string]: any }): ElfImportJobRejected;
15940
+
15941
+ /**
15942
+ * Creates a plain object from an ElfImportJobRejected message. Also converts values to other types if specified.
15943
+ * @param message ElfImportJobRejected
15944
+ * @param [options] Conversion options
15945
+ * @returns Plain object
15946
+ */
15947
+ public static toObject(message: ElfImportJobRejected, options?: $protobuf.IConversionOptions): { [k: string]: any };
15948
+
15949
+ /**
15950
+ * Converts this ElfImportJobRejected to JSON.
15951
+ * @returns JSON object
15952
+ */
15953
+ public toJSON(): { [k: string]: any };
15954
+ }
15955
+
15860
15956
  /** Properties of an EnterpriseUserEnrollmentCreated. */
15861
15957
  export interface IEnterpriseUserEnrollmentCreated {
15862
15958
 
package/lib/index.js CHANGED
@@ -28164,7 +28164,7 @@ $root.ContentfulSleepcastRecipeCreated = (function() {
28164
28164
  * @exports IContentfulSleepcastRecipeCreated
28165
28165
  * @interface IContentfulSleepcastRecipeCreated
28166
28166
  * @property {string|null} [slug] ContentfulSleepcastRecipeCreated slug
28167
- * @property {string|null} [generatior] ContentfulSleepcastRecipeCreated generatior
28167
+ * @property {string|null} [generator] ContentfulSleepcastRecipeCreated generator
28168
28168
  * @property {Object.<string,contentful.IIdReferences>|null} [mainMedia] ContentfulSleepcastRecipeCreated mainMedia
28169
28169
  * @property {Object.<string,contentful.IIdReferences>|null} [windDownMedia] ContentfulSleepcastRecipeCreated windDownMedia
28170
28170
  * @property {Object.<string,contentful.IIdReference>|null} [soundBedMedia] ContentfulSleepcastRecipeCreated soundBedMedia
@@ -28204,12 +28204,12 @@ $root.ContentfulSleepcastRecipeCreated = (function() {
28204
28204
  ContentfulSleepcastRecipeCreated.prototype.slug = "";
28205
28205
 
28206
28206
  /**
28207
- * ContentfulSleepcastRecipeCreated generatior.
28208
- * @member {string} generatior
28207
+ * ContentfulSleepcastRecipeCreated generator.
28208
+ * @member {string} generator
28209
28209
  * @memberof ContentfulSleepcastRecipeCreated
28210
28210
  * @instance
28211
28211
  */
28212
- ContentfulSleepcastRecipeCreated.prototype.generatior = "";
28212
+ ContentfulSleepcastRecipeCreated.prototype.generator = "";
28213
28213
 
28214
28214
  /**
28215
28215
  * ContentfulSleepcastRecipeCreated mainMedia.
@@ -28293,8 +28293,8 @@ $root.ContentfulSleepcastRecipeCreated = (function() {
28293
28293
  writer = $Writer.create();
28294
28294
  if (message.slug != null && message.hasOwnProperty("slug"))
28295
28295
  writer.uint32(/* id 1, wireType 2 =*/10).string(message.slug);
28296
- if (message.generatior != null && message.hasOwnProperty("generatior"))
28297
- writer.uint32(/* id 2, wireType 2 =*/18).string(message.generatior);
28296
+ if (message.generator != null && message.hasOwnProperty("generator"))
28297
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.generator);
28298
28298
  if (message.mainMedia != null && message.hasOwnProperty("mainMedia"))
28299
28299
  for (var keys = Object.keys(message.mainMedia), i = 0; i < keys.length; ++i) {
28300
28300
  writer.uint32(/* id 3, wireType 2 =*/26).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
@@ -28365,7 +28365,7 @@ $root.ContentfulSleepcastRecipeCreated = (function() {
28365
28365
  message.slug = reader.string();
28366
28366
  break;
28367
28367
  case 2:
28368
- message.generatior = reader.string();
28368
+ message.generator = reader.string();
28369
28369
  break;
28370
28370
  case 3:
28371
28371
  reader.skip().pos++;
@@ -28456,9 +28456,9 @@ $root.ContentfulSleepcastRecipeCreated = (function() {
28456
28456
  if (message.slug != null && message.hasOwnProperty("slug"))
28457
28457
  if (!$util.isString(message.slug))
28458
28458
  return "slug: string expected";
28459
- if (message.generatior != null && message.hasOwnProperty("generatior"))
28460
- if (!$util.isString(message.generatior))
28461
- return "generatior: string expected";
28459
+ if (message.generator != null && message.hasOwnProperty("generator"))
28460
+ if (!$util.isString(message.generator))
28461
+ return "generator: string expected";
28462
28462
  if (message.mainMedia != null && message.hasOwnProperty("mainMedia")) {
28463
28463
  if (!$util.isObject(message.mainMedia))
28464
28464
  return "mainMedia: object expected";
@@ -28539,8 +28539,8 @@ $root.ContentfulSleepcastRecipeCreated = (function() {
28539
28539
  var message = new $root.ContentfulSleepcastRecipeCreated();
28540
28540
  if (object.slug != null)
28541
28541
  message.slug = String(object.slug);
28542
- if (object.generatior != null)
28543
- message.generatior = String(object.generatior);
28542
+ if (object.generator != null)
28543
+ message.generator = String(object.generator);
28544
28544
  if (object.mainMedia) {
28545
28545
  if (typeof object.mainMedia !== "object")
28546
28546
  throw TypeError(".ContentfulSleepcastRecipeCreated.mainMedia: object expected");
@@ -28636,7 +28636,7 @@ $root.ContentfulSleepcastRecipeCreated = (function() {
28636
28636
  }
28637
28637
  if (options.defaults) {
28638
28638
  object.slug = "";
28639
- object.generatior = "";
28639
+ object.generator = "";
28640
28640
  if ($util.Long) {
28641
28641
  var long = new $util.Long(0, 0, true);
28642
28642
  object.createdAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
@@ -28645,8 +28645,8 @@ $root.ContentfulSleepcastRecipeCreated = (function() {
28645
28645
  }
28646
28646
  if (message.slug != null && message.hasOwnProperty("slug"))
28647
28647
  object.slug = message.slug;
28648
- if (message.generatior != null && message.hasOwnProperty("generatior"))
28649
- object.generatior = message.generatior;
28648
+ if (message.generator != null && message.hasOwnProperty("generator"))
28649
+ object.generator = message.generator;
28650
28650
  var keys2;
28651
28651
  if (message.mainMedia && (keys2 = Object.keys(message.mainMedia)).length) {
28652
28652
  object.mainMedia = {};
@@ -28707,7 +28707,7 @@ $root.ContentfulSleepcastRecipeUpdated = (function() {
28707
28707
  * @exports IContentfulSleepcastRecipeUpdated
28708
28708
  * @interface IContentfulSleepcastRecipeUpdated
28709
28709
  * @property {string|null} [slug] ContentfulSleepcastRecipeUpdated slug
28710
- * @property {string|null} [generatior] ContentfulSleepcastRecipeUpdated generatior
28710
+ * @property {string|null} [generator] ContentfulSleepcastRecipeUpdated generator
28711
28711
  * @property {Object.<string,contentful.IIdReferences>|null} [mainMedia] ContentfulSleepcastRecipeUpdated mainMedia
28712
28712
  * @property {Object.<string,contentful.IIdReferences>|null} [windDownMedia] ContentfulSleepcastRecipeUpdated windDownMedia
28713
28713
  * @property {Object.<string,contentful.IIdReference>|null} [soundBedMedia] ContentfulSleepcastRecipeUpdated soundBedMedia
@@ -28747,12 +28747,12 @@ $root.ContentfulSleepcastRecipeUpdated = (function() {
28747
28747
  ContentfulSleepcastRecipeUpdated.prototype.slug = "";
28748
28748
 
28749
28749
  /**
28750
- * ContentfulSleepcastRecipeUpdated generatior.
28751
- * @member {string} generatior
28750
+ * ContentfulSleepcastRecipeUpdated generator.
28751
+ * @member {string} generator
28752
28752
  * @memberof ContentfulSleepcastRecipeUpdated
28753
28753
  * @instance
28754
28754
  */
28755
- ContentfulSleepcastRecipeUpdated.prototype.generatior = "";
28755
+ ContentfulSleepcastRecipeUpdated.prototype.generator = "";
28756
28756
 
28757
28757
  /**
28758
28758
  * ContentfulSleepcastRecipeUpdated mainMedia.
@@ -28836,8 +28836,8 @@ $root.ContentfulSleepcastRecipeUpdated = (function() {
28836
28836
  writer = $Writer.create();
28837
28837
  if (message.slug != null && message.hasOwnProperty("slug"))
28838
28838
  writer.uint32(/* id 1, wireType 2 =*/10).string(message.slug);
28839
- if (message.generatior != null && message.hasOwnProperty("generatior"))
28840
- writer.uint32(/* id 2, wireType 2 =*/18).string(message.generatior);
28839
+ if (message.generator != null && message.hasOwnProperty("generator"))
28840
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.generator);
28841
28841
  if (message.mainMedia != null && message.hasOwnProperty("mainMedia"))
28842
28842
  for (var keys = Object.keys(message.mainMedia), i = 0; i < keys.length; ++i) {
28843
28843
  writer.uint32(/* id 3, wireType 2 =*/26).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
@@ -28908,7 +28908,7 @@ $root.ContentfulSleepcastRecipeUpdated = (function() {
28908
28908
  message.slug = reader.string();
28909
28909
  break;
28910
28910
  case 2:
28911
- message.generatior = reader.string();
28911
+ message.generator = reader.string();
28912
28912
  break;
28913
28913
  case 3:
28914
28914
  reader.skip().pos++;
@@ -28999,9 +28999,9 @@ $root.ContentfulSleepcastRecipeUpdated = (function() {
28999
28999
  if (message.slug != null && message.hasOwnProperty("slug"))
29000
29000
  if (!$util.isString(message.slug))
29001
29001
  return "slug: string expected";
29002
- if (message.generatior != null && message.hasOwnProperty("generatior"))
29003
- if (!$util.isString(message.generatior))
29004
- return "generatior: string expected";
29002
+ if (message.generator != null && message.hasOwnProperty("generator"))
29003
+ if (!$util.isString(message.generator))
29004
+ return "generator: string expected";
29005
29005
  if (message.mainMedia != null && message.hasOwnProperty("mainMedia")) {
29006
29006
  if (!$util.isObject(message.mainMedia))
29007
29007
  return "mainMedia: object expected";
@@ -29082,8 +29082,8 @@ $root.ContentfulSleepcastRecipeUpdated = (function() {
29082
29082
  var message = new $root.ContentfulSleepcastRecipeUpdated();
29083
29083
  if (object.slug != null)
29084
29084
  message.slug = String(object.slug);
29085
- if (object.generatior != null)
29086
- message.generatior = String(object.generatior);
29085
+ if (object.generator != null)
29086
+ message.generator = String(object.generator);
29087
29087
  if (object.mainMedia) {
29088
29088
  if (typeof object.mainMedia !== "object")
29089
29089
  throw TypeError(".ContentfulSleepcastRecipeUpdated.mainMedia: object expected");
@@ -29179,7 +29179,7 @@ $root.ContentfulSleepcastRecipeUpdated = (function() {
29179
29179
  }
29180
29180
  if (options.defaults) {
29181
29181
  object.slug = "";
29182
- object.generatior = "";
29182
+ object.generator = "";
29183
29183
  if ($util.Long) {
29184
29184
  var long = new $util.Long(0, 0, true);
29185
29185
  object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
@@ -29188,8 +29188,8 @@ $root.ContentfulSleepcastRecipeUpdated = (function() {
29188
29188
  }
29189
29189
  if (message.slug != null && message.hasOwnProperty("slug"))
29190
29190
  object.slug = message.slug;
29191
- if (message.generatior != null && message.hasOwnProperty("generatior"))
29192
- object.generatior = message.generatior;
29191
+ if (message.generator != null && message.hasOwnProperty("generator"))
29192
+ object.generator = message.generator;
29193
29193
  var keys2;
29194
29194
  if (message.mainMedia && (keys2 = Object.keys(message.mainMedia)).length) {
29195
29195
  object.mainMedia = {};
@@ -43018,6 +43018,226 @@ $root.ElfImportJobFailed = (function() {
43018
43018
  return ElfImportJobFailed;
43019
43019
  })();
43020
43020
 
43021
+ $root.ElfImportJobRejected = (function() {
43022
+
43023
+ /**
43024
+ * Properties of an ElfImportJobRejected.
43025
+ * @exports IElfImportJobRejected
43026
+ * @interface IElfImportJobRejected
43027
+ * @property {elf.IImportGroup|null} [importGroup] ElfImportJobRejected importGroup
43028
+ * @property {elf.IImportJob|null} [importJob] ElfImportJobRejected importJob
43029
+ */
43030
+
43031
+ /**
43032
+ * Constructs a new ElfImportJobRejected.
43033
+ * @exports ElfImportJobRejected
43034
+ * @classdesc Represents an ElfImportJobRejected.
43035
+ * @implements IElfImportJobRejected
43036
+ * @constructor
43037
+ * @param {IElfImportJobRejected=} [properties] Properties to set
43038
+ */
43039
+ function ElfImportJobRejected(properties) {
43040
+ if (properties)
43041
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
43042
+ if (properties[keys[i]] != null)
43043
+ this[keys[i]] = properties[keys[i]];
43044
+ }
43045
+
43046
+ /**
43047
+ * ElfImportJobRejected importGroup.
43048
+ * @member {elf.IImportGroup|null|undefined} importGroup
43049
+ * @memberof ElfImportJobRejected
43050
+ * @instance
43051
+ */
43052
+ ElfImportJobRejected.prototype.importGroup = null;
43053
+
43054
+ /**
43055
+ * ElfImportJobRejected importJob.
43056
+ * @member {elf.IImportJob|null|undefined} importJob
43057
+ * @memberof ElfImportJobRejected
43058
+ * @instance
43059
+ */
43060
+ ElfImportJobRejected.prototype.importJob = null;
43061
+
43062
+ /**
43063
+ * Creates a new ElfImportJobRejected instance using the specified properties.
43064
+ * @function create
43065
+ * @memberof ElfImportJobRejected
43066
+ * @static
43067
+ * @param {IElfImportJobRejected=} [properties] Properties to set
43068
+ * @returns {ElfImportJobRejected} ElfImportJobRejected instance
43069
+ */
43070
+ ElfImportJobRejected.create = function create(properties) {
43071
+ return new ElfImportJobRejected(properties);
43072
+ };
43073
+
43074
+ /**
43075
+ * Encodes the specified ElfImportJobRejected message. Does not implicitly {@link ElfImportJobRejected.verify|verify} messages.
43076
+ * @function encode
43077
+ * @memberof ElfImportJobRejected
43078
+ * @static
43079
+ * @param {IElfImportJobRejected} message ElfImportJobRejected message or plain object to encode
43080
+ * @param {$protobuf.Writer} [writer] Writer to encode to
43081
+ * @returns {$protobuf.Writer} Writer
43082
+ */
43083
+ ElfImportJobRejected.encode = function encode(message, writer) {
43084
+ if (!writer)
43085
+ writer = $Writer.create();
43086
+ if (message.importGroup != null && message.hasOwnProperty("importGroup"))
43087
+ $root.elf.ImportGroup.encode(message.importGroup, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
43088
+ if (message.importJob != null && message.hasOwnProperty("importJob"))
43089
+ $root.elf.ImportJob.encode(message.importJob, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
43090
+ return writer;
43091
+ };
43092
+
43093
+ /**
43094
+ * Encodes the specified ElfImportJobRejected message, length delimited. Does not implicitly {@link ElfImportJobRejected.verify|verify} messages.
43095
+ * @function encodeDelimited
43096
+ * @memberof ElfImportJobRejected
43097
+ * @static
43098
+ * @param {IElfImportJobRejected} message ElfImportJobRejected message or plain object to encode
43099
+ * @param {$protobuf.Writer} [writer] Writer to encode to
43100
+ * @returns {$protobuf.Writer} Writer
43101
+ */
43102
+ ElfImportJobRejected.encodeDelimited = function encodeDelimited(message, writer) {
43103
+ return this.encode(message, writer).ldelim();
43104
+ };
43105
+
43106
+ /**
43107
+ * Decodes an ElfImportJobRejected message from the specified reader or buffer.
43108
+ * @function decode
43109
+ * @memberof ElfImportJobRejected
43110
+ * @static
43111
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
43112
+ * @param {number} [length] Message length if known beforehand
43113
+ * @returns {ElfImportJobRejected} ElfImportJobRejected
43114
+ * @throws {Error} If the payload is not a reader or valid buffer
43115
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
43116
+ */
43117
+ ElfImportJobRejected.decode = function decode(reader, length) {
43118
+ if (!(reader instanceof $Reader))
43119
+ reader = $Reader.create(reader);
43120
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ElfImportJobRejected();
43121
+ while (reader.pos < end) {
43122
+ var tag = reader.uint32();
43123
+ switch (tag >>> 3) {
43124
+ case 1:
43125
+ message.importGroup = $root.elf.ImportGroup.decode(reader, reader.uint32());
43126
+ break;
43127
+ case 2:
43128
+ message.importJob = $root.elf.ImportJob.decode(reader, reader.uint32());
43129
+ break;
43130
+ default:
43131
+ reader.skipType(tag & 7);
43132
+ break;
43133
+ }
43134
+ }
43135
+ return message;
43136
+ };
43137
+
43138
+ /**
43139
+ * Decodes an ElfImportJobRejected message from the specified reader or buffer, length delimited.
43140
+ * @function decodeDelimited
43141
+ * @memberof ElfImportJobRejected
43142
+ * @static
43143
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
43144
+ * @returns {ElfImportJobRejected} ElfImportJobRejected
43145
+ * @throws {Error} If the payload is not a reader or valid buffer
43146
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
43147
+ */
43148
+ ElfImportJobRejected.decodeDelimited = function decodeDelimited(reader) {
43149
+ if (!(reader instanceof $Reader))
43150
+ reader = new $Reader(reader);
43151
+ return this.decode(reader, reader.uint32());
43152
+ };
43153
+
43154
+ /**
43155
+ * Verifies an ElfImportJobRejected message.
43156
+ * @function verify
43157
+ * @memberof ElfImportJobRejected
43158
+ * @static
43159
+ * @param {Object.<string,*>} message Plain object to verify
43160
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
43161
+ */
43162
+ ElfImportJobRejected.verify = function verify(message) {
43163
+ if (typeof message !== "object" || message === null)
43164
+ return "object expected";
43165
+ if (message.importGroup != null && message.hasOwnProperty("importGroup")) {
43166
+ var error = $root.elf.ImportGroup.verify(message.importGroup);
43167
+ if (error)
43168
+ return "importGroup." + error;
43169
+ }
43170
+ if (message.importJob != null && message.hasOwnProperty("importJob")) {
43171
+ var error = $root.elf.ImportJob.verify(message.importJob);
43172
+ if (error)
43173
+ return "importJob." + error;
43174
+ }
43175
+ return null;
43176
+ };
43177
+
43178
+ /**
43179
+ * Creates an ElfImportJobRejected message from a plain object. Also converts values to their respective internal types.
43180
+ * @function fromObject
43181
+ * @memberof ElfImportJobRejected
43182
+ * @static
43183
+ * @param {Object.<string,*>} object Plain object
43184
+ * @returns {ElfImportJobRejected} ElfImportJobRejected
43185
+ */
43186
+ ElfImportJobRejected.fromObject = function fromObject(object) {
43187
+ if (object instanceof $root.ElfImportJobRejected)
43188
+ return object;
43189
+ var message = new $root.ElfImportJobRejected();
43190
+ if (object.importGroup != null) {
43191
+ if (typeof object.importGroup !== "object")
43192
+ throw TypeError(".ElfImportJobRejected.importGroup: object expected");
43193
+ message.importGroup = $root.elf.ImportGroup.fromObject(object.importGroup);
43194
+ }
43195
+ if (object.importJob != null) {
43196
+ if (typeof object.importJob !== "object")
43197
+ throw TypeError(".ElfImportJobRejected.importJob: object expected");
43198
+ message.importJob = $root.elf.ImportJob.fromObject(object.importJob);
43199
+ }
43200
+ return message;
43201
+ };
43202
+
43203
+ /**
43204
+ * Creates a plain object from an ElfImportJobRejected message. Also converts values to other types if specified.
43205
+ * @function toObject
43206
+ * @memberof ElfImportJobRejected
43207
+ * @static
43208
+ * @param {ElfImportJobRejected} message ElfImportJobRejected
43209
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
43210
+ * @returns {Object.<string,*>} Plain object
43211
+ */
43212
+ ElfImportJobRejected.toObject = function toObject(message, options) {
43213
+ if (!options)
43214
+ options = {};
43215
+ var object = {};
43216
+ if (options.defaults) {
43217
+ object.importGroup = null;
43218
+ object.importJob = null;
43219
+ }
43220
+ if (message.importGroup != null && message.hasOwnProperty("importGroup"))
43221
+ object.importGroup = $root.elf.ImportGroup.toObject(message.importGroup, options);
43222
+ if (message.importJob != null && message.hasOwnProperty("importJob"))
43223
+ object.importJob = $root.elf.ImportJob.toObject(message.importJob, options);
43224
+ return object;
43225
+ };
43226
+
43227
+ /**
43228
+ * Converts this ElfImportJobRejected to JSON.
43229
+ * @function toJSON
43230
+ * @memberof ElfImportJobRejected
43231
+ * @instance
43232
+ * @returns {Object.<string,*>} JSON object
43233
+ */
43234
+ ElfImportJobRejected.prototype.toJSON = function toJSON() {
43235
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
43236
+ };
43237
+
43238
+ return ElfImportJobRejected;
43239
+ })();
43240
+
43021
43241
  $root.EnterpriseUserEnrollmentCreated = (function() {
43022
43242
 
43023
43243
  /**
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.180.0"
19
+ "version": "1.182.0"
20
20
  }