@headspace/protos-events 1.130.0 → 1.132.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
@@ -5434,6 +5434,222 @@ export class ContentfulOrderedTopicsUpdated implements IContentfulOrderedTopicsU
5434
5434
  public toJSON(): { [k: string]: any };
5435
5435
  }
5436
5436
 
5437
+ /** Properties of a ContentfulOrderedCategoriesCreated. */
5438
+ export interface IContentfulOrderedCategoriesCreated {
5439
+
5440
+ /** ContentfulOrderedCategoriesCreated slug */
5441
+ slug?: (string|null);
5442
+
5443
+ /** ContentfulOrderedCategoriesCreated topic */
5444
+ topic?: (contentful.ISlugReference|null);
5445
+
5446
+ /** ContentfulOrderedCategoriesCreated categories */
5447
+ categories?: (contentful.ISlugReference[]|null);
5448
+
5449
+ /** ContentfulOrderedCategoriesCreated createdAt */
5450
+ createdAt?: (number|Long|null);
5451
+ }
5452
+
5453
+ /** Represents a ContentfulOrderedCategoriesCreated. */
5454
+ export class ContentfulOrderedCategoriesCreated implements IContentfulOrderedCategoriesCreated {
5455
+
5456
+ /**
5457
+ * Constructs a new ContentfulOrderedCategoriesCreated.
5458
+ * @param [properties] Properties to set
5459
+ */
5460
+ constructor(properties?: IContentfulOrderedCategoriesCreated);
5461
+
5462
+ /** ContentfulOrderedCategoriesCreated slug. */
5463
+ public slug: string;
5464
+
5465
+ /** ContentfulOrderedCategoriesCreated topic. */
5466
+ public topic?: (contentful.ISlugReference|null);
5467
+
5468
+ /** ContentfulOrderedCategoriesCreated categories. */
5469
+ public categories: contentful.ISlugReference[];
5470
+
5471
+ /** ContentfulOrderedCategoriesCreated createdAt. */
5472
+ public createdAt: (number|Long);
5473
+
5474
+ /**
5475
+ * Creates a new ContentfulOrderedCategoriesCreated instance using the specified properties.
5476
+ * @param [properties] Properties to set
5477
+ * @returns ContentfulOrderedCategoriesCreated instance
5478
+ */
5479
+ public static create(properties?: IContentfulOrderedCategoriesCreated): ContentfulOrderedCategoriesCreated;
5480
+
5481
+ /**
5482
+ * Encodes the specified ContentfulOrderedCategoriesCreated message. Does not implicitly {@link ContentfulOrderedCategoriesCreated.verify|verify} messages.
5483
+ * @param message ContentfulOrderedCategoriesCreated message or plain object to encode
5484
+ * @param [writer] Writer to encode to
5485
+ * @returns Writer
5486
+ */
5487
+ public static encode(message: IContentfulOrderedCategoriesCreated, writer?: $protobuf.Writer): $protobuf.Writer;
5488
+
5489
+ /**
5490
+ * Encodes the specified ContentfulOrderedCategoriesCreated message, length delimited. Does not implicitly {@link ContentfulOrderedCategoriesCreated.verify|verify} messages.
5491
+ * @param message ContentfulOrderedCategoriesCreated message or plain object to encode
5492
+ * @param [writer] Writer to encode to
5493
+ * @returns Writer
5494
+ */
5495
+ public static encodeDelimited(message: IContentfulOrderedCategoriesCreated, writer?: $protobuf.Writer): $protobuf.Writer;
5496
+
5497
+ /**
5498
+ * Decodes a ContentfulOrderedCategoriesCreated message from the specified reader or buffer.
5499
+ * @param reader Reader or buffer to decode from
5500
+ * @param [length] Message length if known beforehand
5501
+ * @returns ContentfulOrderedCategoriesCreated
5502
+ * @throws {Error} If the payload is not a reader or valid buffer
5503
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5504
+ */
5505
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ContentfulOrderedCategoriesCreated;
5506
+
5507
+ /**
5508
+ * Decodes a ContentfulOrderedCategoriesCreated message from the specified reader or buffer, length delimited.
5509
+ * @param reader Reader or buffer to decode from
5510
+ * @returns ContentfulOrderedCategoriesCreated
5511
+ * @throws {Error} If the payload is not a reader or valid buffer
5512
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5513
+ */
5514
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ContentfulOrderedCategoriesCreated;
5515
+
5516
+ /**
5517
+ * Verifies a ContentfulOrderedCategoriesCreated message.
5518
+ * @param message Plain object to verify
5519
+ * @returns `null` if valid, otherwise the reason why it is not
5520
+ */
5521
+ public static verify(message: { [k: string]: any }): (string|null);
5522
+
5523
+ /**
5524
+ * Creates a ContentfulOrderedCategoriesCreated message from a plain object. Also converts values to their respective internal types.
5525
+ * @param object Plain object
5526
+ * @returns ContentfulOrderedCategoriesCreated
5527
+ */
5528
+ public static fromObject(object: { [k: string]: any }): ContentfulOrderedCategoriesCreated;
5529
+
5530
+ /**
5531
+ * Creates a plain object from a ContentfulOrderedCategoriesCreated message. Also converts values to other types if specified.
5532
+ * @param message ContentfulOrderedCategoriesCreated
5533
+ * @param [options] Conversion options
5534
+ * @returns Plain object
5535
+ */
5536
+ public static toObject(message: ContentfulOrderedCategoriesCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
5537
+
5538
+ /**
5539
+ * Converts this ContentfulOrderedCategoriesCreated to JSON.
5540
+ * @returns JSON object
5541
+ */
5542
+ public toJSON(): { [k: string]: any };
5543
+ }
5544
+
5545
+ /** Properties of a ContentfulOrderedCategoriesUpdated. */
5546
+ export interface IContentfulOrderedCategoriesUpdated {
5547
+
5548
+ /** ContentfulOrderedCategoriesUpdated slug */
5549
+ slug?: (string|null);
5550
+
5551
+ /** ContentfulOrderedCategoriesUpdated topic */
5552
+ topic?: (contentful.ISlugReference|null);
5553
+
5554
+ /** ContentfulOrderedCategoriesUpdated categories */
5555
+ categories?: (contentful.ISlugReference[]|null);
5556
+
5557
+ /** ContentfulOrderedCategoriesUpdated updatedAt */
5558
+ updatedAt?: (number|Long|null);
5559
+ }
5560
+
5561
+ /** Represents a ContentfulOrderedCategoriesUpdated. */
5562
+ export class ContentfulOrderedCategoriesUpdated implements IContentfulOrderedCategoriesUpdated {
5563
+
5564
+ /**
5565
+ * Constructs a new ContentfulOrderedCategoriesUpdated.
5566
+ * @param [properties] Properties to set
5567
+ */
5568
+ constructor(properties?: IContentfulOrderedCategoriesUpdated);
5569
+
5570
+ /** ContentfulOrderedCategoriesUpdated slug. */
5571
+ public slug: string;
5572
+
5573
+ /** ContentfulOrderedCategoriesUpdated topic. */
5574
+ public topic?: (contentful.ISlugReference|null);
5575
+
5576
+ /** ContentfulOrderedCategoriesUpdated categories. */
5577
+ public categories: contentful.ISlugReference[];
5578
+
5579
+ /** ContentfulOrderedCategoriesUpdated updatedAt. */
5580
+ public updatedAt: (number|Long);
5581
+
5582
+ /**
5583
+ * Creates a new ContentfulOrderedCategoriesUpdated instance using the specified properties.
5584
+ * @param [properties] Properties to set
5585
+ * @returns ContentfulOrderedCategoriesUpdated instance
5586
+ */
5587
+ public static create(properties?: IContentfulOrderedCategoriesUpdated): ContentfulOrderedCategoriesUpdated;
5588
+
5589
+ /**
5590
+ * Encodes the specified ContentfulOrderedCategoriesUpdated message. Does not implicitly {@link ContentfulOrderedCategoriesUpdated.verify|verify} messages.
5591
+ * @param message ContentfulOrderedCategoriesUpdated message or plain object to encode
5592
+ * @param [writer] Writer to encode to
5593
+ * @returns Writer
5594
+ */
5595
+ public static encode(message: IContentfulOrderedCategoriesUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
5596
+
5597
+ /**
5598
+ * Encodes the specified ContentfulOrderedCategoriesUpdated message, length delimited. Does not implicitly {@link ContentfulOrderedCategoriesUpdated.verify|verify} messages.
5599
+ * @param message ContentfulOrderedCategoriesUpdated message or plain object to encode
5600
+ * @param [writer] Writer to encode to
5601
+ * @returns Writer
5602
+ */
5603
+ public static encodeDelimited(message: IContentfulOrderedCategoriesUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
5604
+
5605
+ /**
5606
+ * Decodes a ContentfulOrderedCategoriesUpdated message from the specified reader or buffer.
5607
+ * @param reader Reader or buffer to decode from
5608
+ * @param [length] Message length if known beforehand
5609
+ * @returns ContentfulOrderedCategoriesUpdated
5610
+ * @throws {Error} If the payload is not a reader or valid buffer
5611
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5612
+ */
5613
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ContentfulOrderedCategoriesUpdated;
5614
+
5615
+ /**
5616
+ * Decodes a ContentfulOrderedCategoriesUpdated message from the specified reader or buffer, length delimited.
5617
+ * @param reader Reader or buffer to decode from
5618
+ * @returns ContentfulOrderedCategoriesUpdated
5619
+ * @throws {Error} If the payload is not a reader or valid buffer
5620
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5621
+ */
5622
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ContentfulOrderedCategoriesUpdated;
5623
+
5624
+ /**
5625
+ * Verifies a ContentfulOrderedCategoriesUpdated message.
5626
+ * @param message Plain object to verify
5627
+ * @returns `null` if valid, otherwise the reason why it is not
5628
+ */
5629
+ public static verify(message: { [k: string]: any }): (string|null);
5630
+
5631
+ /**
5632
+ * Creates a ContentfulOrderedCategoriesUpdated message from a plain object. Also converts values to their respective internal types.
5633
+ * @param object Plain object
5634
+ * @returns ContentfulOrderedCategoriesUpdated
5635
+ */
5636
+ public static fromObject(object: { [k: string]: any }): ContentfulOrderedCategoriesUpdated;
5637
+
5638
+ /**
5639
+ * Creates a plain object from a ContentfulOrderedCategoriesUpdated message. Also converts values to other types if specified.
5640
+ * @param message ContentfulOrderedCategoriesUpdated
5641
+ * @param [options] Conversion options
5642
+ * @returns Plain object
5643
+ */
5644
+ public static toObject(message: ContentfulOrderedCategoriesUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
5645
+
5646
+ /**
5647
+ * Converts this ContentfulOrderedCategoriesUpdated to JSON.
5648
+ * @returns JSON object
5649
+ */
5650
+ public toJSON(): { [k: string]: any };
5651
+ }
5652
+
5437
5653
  /** Properties of a ContentfulContentModelCreated. */
5438
5654
  export interface IContentfulContentModelCreated {
5439
5655
 
@@ -8324,6 +8540,114 @@ export class MessageSent implements IMessageSent {
8324
8540
  public toJSON(): { [k: string]: any };
8325
8541
  }
8326
8542
 
8543
+ /** Properties of an AssignmentAllocationBatchPushed. */
8544
+ export interface IAssignmentAllocationBatchPushed {
8545
+
8546
+ /** AssignmentAllocationBatchPushed hsId */
8547
+ hsId?: (string|null);
8548
+
8549
+ /** AssignmentAllocationBatchPushed coachId */
8550
+ coachId?: (string|null);
8551
+
8552
+ /** AssignmentAllocationBatchPushed coachName */
8553
+ coachName?: (string|null);
8554
+
8555
+ /** AssignmentAllocationBatchPushed pushNote */
8556
+ pushNote?: (string|null);
8557
+ }
8558
+
8559
+ /** Represents an AssignmentAllocationBatchPushed. */
8560
+ export class AssignmentAllocationBatchPushed implements IAssignmentAllocationBatchPushed {
8561
+
8562
+ /**
8563
+ * Constructs a new AssignmentAllocationBatchPushed.
8564
+ * @param [properties] Properties to set
8565
+ */
8566
+ constructor(properties?: IAssignmentAllocationBatchPushed);
8567
+
8568
+ /** AssignmentAllocationBatchPushed hsId. */
8569
+ public hsId: string;
8570
+
8571
+ /** AssignmentAllocationBatchPushed coachId. */
8572
+ public coachId: string;
8573
+
8574
+ /** AssignmentAllocationBatchPushed coachName. */
8575
+ public coachName: string;
8576
+
8577
+ /** AssignmentAllocationBatchPushed pushNote. */
8578
+ public pushNote: string;
8579
+
8580
+ /**
8581
+ * Creates a new AssignmentAllocationBatchPushed instance using the specified properties.
8582
+ * @param [properties] Properties to set
8583
+ * @returns AssignmentAllocationBatchPushed instance
8584
+ */
8585
+ public static create(properties?: IAssignmentAllocationBatchPushed): AssignmentAllocationBatchPushed;
8586
+
8587
+ /**
8588
+ * Encodes the specified AssignmentAllocationBatchPushed message. Does not implicitly {@link AssignmentAllocationBatchPushed.verify|verify} messages.
8589
+ * @param message AssignmentAllocationBatchPushed message or plain object to encode
8590
+ * @param [writer] Writer to encode to
8591
+ * @returns Writer
8592
+ */
8593
+ public static encode(message: IAssignmentAllocationBatchPushed, writer?: $protobuf.Writer): $protobuf.Writer;
8594
+
8595
+ /**
8596
+ * Encodes the specified AssignmentAllocationBatchPushed message, length delimited. Does not implicitly {@link AssignmentAllocationBatchPushed.verify|verify} messages.
8597
+ * @param message AssignmentAllocationBatchPushed message or plain object to encode
8598
+ * @param [writer] Writer to encode to
8599
+ * @returns Writer
8600
+ */
8601
+ public static encodeDelimited(message: IAssignmentAllocationBatchPushed, writer?: $protobuf.Writer): $protobuf.Writer;
8602
+
8603
+ /**
8604
+ * Decodes an AssignmentAllocationBatchPushed message from the specified reader or buffer.
8605
+ * @param reader Reader or buffer to decode from
8606
+ * @param [length] Message length if known beforehand
8607
+ * @returns AssignmentAllocationBatchPushed
8608
+ * @throws {Error} If the payload is not a reader or valid buffer
8609
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8610
+ */
8611
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): AssignmentAllocationBatchPushed;
8612
+
8613
+ /**
8614
+ * Decodes an AssignmentAllocationBatchPushed message from the specified reader or buffer, length delimited.
8615
+ * @param reader Reader or buffer to decode from
8616
+ * @returns AssignmentAllocationBatchPushed
8617
+ * @throws {Error} If the payload is not a reader or valid buffer
8618
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8619
+ */
8620
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): AssignmentAllocationBatchPushed;
8621
+
8622
+ /**
8623
+ * Verifies an AssignmentAllocationBatchPushed message.
8624
+ * @param message Plain object to verify
8625
+ * @returns `null` if valid, otherwise the reason why it is not
8626
+ */
8627
+ public static verify(message: { [k: string]: any }): (string|null);
8628
+
8629
+ /**
8630
+ * Creates an AssignmentAllocationBatchPushed message from a plain object. Also converts values to their respective internal types.
8631
+ * @param object Plain object
8632
+ * @returns AssignmentAllocationBatchPushed
8633
+ */
8634
+ public static fromObject(object: { [k: string]: any }): AssignmentAllocationBatchPushed;
8635
+
8636
+ /**
8637
+ * Creates a plain object from an AssignmentAllocationBatchPushed message. Also converts values to other types if specified.
8638
+ * @param message AssignmentAllocationBatchPushed
8639
+ * @param [options] Conversion options
8640
+ * @returns Plain object
8641
+ */
8642
+ public static toObject(message: AssignmentAllocationBatchPushed, options?: $protobuf.IConversionOptions): { [k: string]: any };
8643
+
8644
+ /**
8645
+ * Converts this AssignmentAllocationBatchPushed to JSON.
8646
+ * @returns JSON object
8647
+ */
8648
+ public toJSON(): { [k: string]: any };
8649
+ }
8650
+
8327
8651
  /** Properties of an IosSubscriptionCreated. */
8328
8652
  export interface IIosSubscriptionCreated {
8329
8653
 
package/lib/index.js CHANGED
@@ -14427,6 +14427,596 @@ $root.ContentfulOrderedTopicsUpdated = (function() {
14427
14427
  return ContentfulOrderedTopicsUpdated;
14428
14428
  })();
14429
14429
 
14430
+ $root.ContentfulOrderedCategoriesCreated = (function() {
14431
+
14432
+ /**
14433
+ * Properties of a ContentfulOrderedCategoriesCreated.
14434
+ * @exports IContentfulOrderedCategoriesCreated
14435
+ * @interface IContentfulOrderedCategoriesCreated
14436
+ * @property {string|null} [slug] ContentfulOrderedCategoriesCreated slug
14437
+ * @property {contentful.ISlugReference|null} [topic] ContentfulOrderedCategoriesCreated topic
14438
+ * @property {Array.<contentful.ISlugReference>|null} [categories] ContentfulOrderedCategoriesCreated categories
14439
+ * @property {number|Long|null} [createdAt] ContentfulOrderedCategoriesCreated createdAt
14440
+ */
14441
+
14442
+ /**
14443
+ * Constructs a new ContentfulOrderedCategoriesCreated.
14444
+ * @exports ContentfulOrderedCategoriesCreated
14445
+ * @classdesc Represents a ContentfulOrderedCategoriesCreated.
14446
+ * @implements IContentfulOrderedCategoriesCreated
14447
+ * @constructor
14448
+ * @param {IContentfulOrderedCategoriesCreated=} [properties] Properties to set
14449
+ */
14450
+ function ContentfulOrderedCategoriesCreated(properties) {
14451
+ this.categories = [];
14452
+ if (properties)
14453
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
14454
+ if (properties[keys[i]] != null)
14455
+ this[keys[i]] = properties[keys[i]];
14456
+ }
14457
+
14458
+ /**
14459
+ * ContentfulOrderedCategoriesCreated slug.
14460
+ * @member {string} slug
14461
+ * @memberof ContentfulOrderedCategoriesCreated
14462
+ * @instance
14463
+ */
14464
+ ContentfulOrderedCategoriesCreated.prototype.slug = "";
14465
+
14466
+ /**
14467
+ * ContentfulOrderedCategoriesCreated topic.
14468
+ * @member {contentful.ISlugReference|null|undefined} topic
14469
+ * @memberof ContentfulOrderedCategoriesCreated
14470
+ * @instance
14471
+ */
14472
+ ContentfulOrderedCategoriesCreated.prototype.topic = null;
14473
+
14474
+ /**
14475
+ * ContentfulOrderedCategoriesCreated categories.
14476
+ * @member {Array.<contentful.ISlugReference>} categories
14477
+ * @memberof ContentfulOrderedCategoriesCreated
14478
+ * @instance
14479
+ */
14480
+ ContentfulOrderedCategoriesCreated.prototype.categories = $util.emptyArray;
14481
+
14482
+ /**
14483
+ * ContentfulOrderedCategoriesCreated createdAt.
14484
+ * @member {number|Long} createdAt
14485
+ * @memberof ContentfulOrderedCategoriesCreated
14486
+ * @instance
14487
+ */
14488
+ ContentfulOrderedCategoriesCreated.prototype.createdAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
14489
+
14490
+ /**
14491
+ * Creates a new ContentfulOrderedCategoriesCreated instance using the specified properties.
14492
+ * @function create
14493
+ * @memberof ContentfulOrderedCategoriesCreated
14494
+ * @static
14495
+ * @param {IContentfulOrderedCategoriesCreated=} [properties] Properties to set
14496
+ * @returns {ContentfulOrderedCategoriesCreated} ContentfulOrderedCategoriesCreated instance
14497
+ */
14498
+ ContentfulOrderedCategoriesCreated.create = function create(properties) {
14499
+ return new ContentfulOrderedCategoriesCreated(properties);
14500
+ };
14501
+
14502
+ /**
14503
+ * Encodes the specified ContentfulOrderedCategoriesCreated message. Does not implicitly {@link ContentfulOrderedCategoriesCreated.verify|verify} messages.
14504
+ * @function encode
14505
+ * @memberof ContentfulOrderedCategoriesCreated
14506
+ * @static
14507
+ * @param {IContentfulOrderedCategoriesCreated} message ContentfulOrderedCategoriesCreated message or plain object to encode
14508
+ * @param {$protobuf.Writer} [writer] Writer to encode to
14509
+ * @returns {$protobuf.Writer} Writer
14510
+ */
14511
+ ContentfulOrderedCategoriesCreated.encode = function encode(message, writer) {
14512
+ if (!writer)
14513
+ writer = $Writer.create();
14514
+ if (message.slug != null && message.hasOwnProperty("slug"))
14515
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.slug);
14516
+ if (message.topic != null && message.hasOwnProperty("topic"))
14517
+ $root.contentful.SlugReference.encode(message.topic, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
14518
+ if (message.categories != null && message.categories.length)
14519
+ for (var i = 0; i < message.categories.length; ++i)
14520
+ $root.contentful.SlugReference.encode(message.categories[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
14521
+ if (message.createdAt != null && message.hasOwnProperty("createdAt"))
14522
+ writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.createdAt);
14523
+ return writer;
14524
+ };
14525
+
14526
+ /**
14527
+ * Encodes the specified ContentfulOrderedCategoriesCreated message, length delimited. Does not implicitly {@link ContentfulOrderedCategoriesCreated.verify|verify} messages.
14528
+ * @function encodeDelimited
14529
+ * @memberof ContentfulOrderedCategoriesCreated
14530
+ * @static
14531
+ * @param {IContentfulOrderedCategoriesCreated} message ContentfulOrderedCategoriesCreated message or plain object to encode
14532
+ * @param {$protobuf.Writer} [writer] Writer to encode to
14533
+ * @returns {$protobuf.Writer} Writer
14534
+ */
14535
+ ContentfulOrderedCategoriesCreated.encodeDelimited = function encodeDelimited(message, writer) {
14536
+ return this.encode(message, writer).ldelim();
14537
+ };
14538
+
14539
+ /**
14540
+ * Decodes a ContentfulOrderedCategoriesCreated message from the specified reader or buffer.
14541
+ * @function decode
14542
+ * @memberof ContentfulOrderedCategoriesCreated
14543
+ * @static
14544
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
14545
+ * @param {number} [length] Message length if known beforehand
14546
+ * @returns {ContentfulOrderedCategoriesCreated} ContentfulOrderedCategoriesCreated
14547
+ * @throws {Error} If the payload is not a reader or valid buffer
14548
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14549
+ */
14550
+ ContentfulOrderedCategoriesCreated.decode = function decode(reader, length) {
14551
+ if (!(reader instanceof $Reader))
14552
+ reader = $Reader.create(reader);
14553
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ContentfulOrderedCategoriesCreated();
14554
+ while (reader.pos < end) {
14555
+ var tag = reader.uint32();
14556
+ switch (tag >>> 3) {
14557
+ case 1:
14558
+ message.slug = reader.string();
14559
+ break;
14560
+ case 2:
14561
+ message.topic = $root.contentful.SlugReference.decode(reader, reader.uint32());
14562
+ break;
14563
+ case 3:
14564
+ if (!(message.categories && message.categories.length))
14565
+ message.categories = [];
14566
+ message.categories.push($root.contentful.SlugReference.decode(reader, reader.uint32()));
14567
+ break;
14568
+ case 4:
14569
+ message.createdAt = reader.uint64();
14570
+ break;
14571
+ default:
14572
+ reader.skipType(tag & 7);
14573
+ break;
14574
+ }
14575
+ }
14576
+ return message;
14577
+ };
14578
+
14579
+ /**
14580
+ * Decodes a ContentfulOrderedCategoriesCreated message from the specified reader or buffer, length delimited.
14581
+ * @function decodeDelimited
14582
+ * @memberof ContentfulOrderedCategoriesCreated
14583
+ * @static
14584
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
14585
+ * @returns {ContentfulOrderedCategoriesCreated} ContentfulOrderedCategoriesCreated
14586
+ * @throws {Error} If the payload is not a reader or valid buffer
14587
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14588
+ */
14589
+ ContentfulOrderedCategoriesCreated.decodeDelimited = function decodeDelimited(reader) {
14590
+ if (!(reader instanceof $Reader))
14591
+ reader = new $Reader(reader);
14592
+ return this.decode(reader, reader.uint32());
14593
+ };
14594
+
14595
+ /**
14596
+ * Verifies a ContentfulOrderedCategoriesCreated message.
14597
+ * @function verify
14598
+ * @memberof ContentfulOrderedCategoriesCreated
14599
+ * @static
14600
+ * @param {Object.<string,*>} message Plain object to verify
14601
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
14602
+ */
14603
+ ContentfulOrderedCategoriesCreated.verify = function verify(message) {
14604
+ if (typeof message !== "object" || message === null)
14605
+ return "object expected";
14606
+ if (message.slug != null && message.hasOwnProperty("slug"))
14607
+ if (!$util.isString(message.slug))
14608
+ return "slug: string expected";
14609
+ if (message.topic != null && message.hasOwnProperty("topic")) {
14610
+ var error = $root.contentful.SlugReference.verify(message.topic);
14611
+ if (error)
14612
+ return "topic." + error;
14613
+ }
14614
+ if (message.categories != null && message.hasOwnProperty("categories")) {
14615
+ if (!Array.isArray(message.categories))
14616
+ return "categories: array expected";
14617
+ for (var i = 0; i < message.categories.length; ++i) {
14618
+ var error = $root.contentful.SlugReference.verify(message.categories[i]);
14619
+ if (error)
14620
+ return "categories." + error;
14621
+ }
14622
+ }
14623
+ if (message.createdAt != null && message.hasOwnProperty("createdAt"))
14624
+ if (!$util.isInteger(message.createdAt) && !(message.createdAt && $util.isInteger(message.createdAt.low) && $util.isInteger(message.createdAt.high)))
14625
+ return "createdAt: integer|Long expected";
14626
+ return null;
14627
+ };
14628
+
14629
+ /**
14630
+ * Creates a ContentfulOrderedCategoriesCreated message from a plain object. Also converts values to their respective internal types.
14631
+ * @function fromObject
14632
+ * @memberof ContentfulOrderedCategoriesCreated
14633
+ * @static
14634
+ * @param {Object.<string,*>} object Plain object
14635
+ * @returns {ContentfulOrderedCategoriesCreated} ContentfulOrderedCategoriesCreated
14636
+ */
14637
+ ContentfulOrderedCategoriesCreated.fromObject = function fromObject(object) {
14638
+ if (object instanceof $root.ContentfulOrderedCategoriesCreated)
14639
+ return object;
14640
+ var message = new $root.ContentfulOrderedCategoriesCreated();
14641
+ if (object.slug != null)
14642
+ message.slug = String(object.slug);
14643
+ if (object.topic != null) {
14644
+ if (typeof object.topic !== "object")
14645
+ throw TypeError(".ContentfulOrderedCategoriesCreated.topic: object expected");
14646
+ message.topic = $root.contentful.SlugReference.fromObject(object.topic);
14647
+ }
14648
+ if (object.categories) {
14649
+ if (!Array.isArray(object.categories))
14650
+ throw TypeError(".ContentfulOrderedCategoriesCreated.categories: array expected");
14651
+ message.categories = [];
14652
+ for (var i = 0; i < object.categories.length; ++i) {
14653
+ if (typeof object.categories[i] !== "object")
14654
+ throw TypeError(".ContentfulOrderedCategoriesCreated.categories: object expected");
14655
+ message.categories[i] = $root.contentful.SlugReference.fromObject(object.categories[i]);
14656
+ }
14657
+ }
14658
+ if (object.createdAt != null)
14659
+ if ($util.Long)
14660
+ (message.createdAt = $util.Long.fromValue(object.createdAt)).unsigned = true;
14661
+ else if (typeof object.createdAt === "string")
14662
+ message.createdAt = parseInt(object.createdAt, 10);
14663
+ else if (typeof object.createdAt === "number")
14664
+ message.createdAt = object.createdAt;
14665
+ else if (typeof object.createdAt === "object")
14666
+ message.createdAt = new $util.LongBits(object.createdAt.low >>> 0, object.createdAt.high >>> 0).toNumber(true);
14667
+ return message;
14668
+ };
14669
+
14670
+ /**
14671
+ * Creates a plain object from a ContentfulOrderedCategoriesCreated message. Also converts values to other types if specified.
14672
+ * @function toObject
14673
+ * @memberof ContentfulOrderedCategoriesCreated
14674
+ * @static
14675
+ * @param {ContentfulOrderedCategoriesCreated} message ContentfulOrderedCategoriesCreated
14676
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
14677
+ * @returns {Object.<string,*>} Plain object
14678
+ */
14679
+ ContentfulOrderedCategoriesCreated.toObject = function toObject(message, options) {
14680
+ if (!options)
14681
+ options = {};
14682
+ var object = {};
14683
+ if (options.arrays || options.defaults)
14684
+ object.categories = [];
14685
+ if (options.defaults) {
14686
+ object.slug = "";
14687
+ object.topic = null;
14688
+ if ($util.Long) {
14689
+ var long = new $util.Long(0, 0, true);
14690
+ object.createdAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
14691
+ } else
14692
+ object.createdAt = options.longs === String ? "0" : 0;
14693
+ }
14694
+ if (message.slug != null && message.hasOwnProperty("slug"))
14695
+ object.slug = message.slug;
14696
+ if (message.topic != null && message.hasOwnProperty("topic"))
14697
+ object.topic = $root.contentful.SlugReference.toObject(message.topic, options);
14698
+ if (message.categories && message.categories.length) {
14699
+ object.categories = [];
14700
+ for (var j = 0; j < message.categories.length; ++j)
14701
+ object.categories[j] = $root.contentful.SlugReference.toObject(message.categories[j], options);
14702
+ }
14703
+ if (message.createdAt != null && message.hasOwnProperty("createdAt"))
14704
+ if (typeof message.createdAt === "number")
14705
+ object.createdAt = options.longs === String ? String(message.createdAt) : message.createdAt;
14706
+ else
14707
+ object.createdAt = options.longs === String ? $util.Long.prototype.toString.call(message.createdAt) : options.longs === Number ? new $util.LongBits(message.createdAt.low >>> 0, message.createdAt.high >>> 0).toNumber(true) : message.createdAt;
14708
+ return object;
14709
+ };
14710
+
14711
+ /**
14712
+ * Converts this ContentfulOrderedCategoriesCreated to JSON.
14713
+ * @function toJSON
14714
+ * @memberof ContentfulOrderedCategoriesCreated
14715
+ * @instance
14716
+ * @returns {Object.<string,*>} JSON object
14717
+ */
14718
+ ContentfulOrderedCategoriesCreated.prototype.toJSON = function toJSON() {
14719
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
14720
+ };
14721
+
14722
+ return ContentfulOrderedCategoriesCreated;
14723
+ })();
14724
+
14725
+ $root.ContentfulOrderedCategoriesUpdated = (function() {
14726
+
14727
+ /**
14728
+ * Properties of a ContentfulOrderedCategoriesUpdated.
14729
+ * @exports IContentfulOrderedCategoriesUpdated
14730
+ * @interface IContentfulOrderedCategoriesUpdated
14731
+ * @property {string|null} [slug] ContentfulOrderedCategoriesUpdated slug
14732
+ * @property {contentful.ISlugReference|null} [topic] ContentfulOrderedCategoriesUpdated topic
14733
+ * @property {Array.<contentful.ISlugReference>|null} [categories] ContentfulOrderedCategoriesUpdated categories
14734
+ * @property {number|Long|null} [updatedAt] ContentfulOrderedCategoriesUpdated updatedAt
14735
+ */
14736
+
14737
+ /**
14738
+ * Constructs a new ContentfulOrderedCategoriesUpdated.
14739
+ * @exports ContentfulOrderedCategoriesUpdated
14740
+ * @classdesc Represents a ContentfulOrderedCategoriesUpdated.
14741
+ * @implements IContentfulOrderedCategoriesUpdated
14742
+ * @constructor
14743
+ * @param {IContentfulOrderedCategoriesUpdated=} [properties] Properties to set
14744
+ */
14745
+ function ContentfulOrderedCategoriesUpdated(properties) {
14746
+ this.categories = [];
14747
+ if (properties)
14748
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
14749
+ if (properties[keys[i]] != null)
14750
+ this[keys[i]] = properties[keys[i]];
14751
+ }
14752
+
14753
+ /**
14754
+ * ContentfulOrderedCategoriesUpdated slug.
14755
+ * @member {string} slug
14756
+ * @memberof ContentfulOrderedCategoriesUpdated
14757
+ * @instance
14758
+ */
14759
+ ContentfulOrderedCategoriesUpdated.prototype.slug = "";
14760
+
14761
+ /**
14762
+ * ContentfulOrderedCategoriesUpdated topic.
14763
+ * @member {contentful.ISlugReference|null|undefined} topic
14764
+ * @memberof ContentfulOrderedCategoriesUpdated
14765
+ * @instance
14766
+ */
14767
+ ContentfulOrderedCategoriesUpdated.prototype.topic = null;
14768
+
14769
+ /**
14770
+ * ContentfulOrderedCategoriesUpdated categories.
14771
+ * @member {Array.<contentful.ISlugReference>} categories
14772
+ * @memberof ContentfulOrderedCategoriesUpdated
14773
+ * @instance
14774
+ */
14775
+ ContentfulOrderedCategoriesUpdated.prototype.categories = $util.emptyArray;
14776
+
14777
+ /**
14778
+ * ContentfulOrderedCategoriesUpdated updatedAt.
14779
+ * @member {number|Long} updatedAt
14780
+ * @memberof ContentfulOrderedCategoriesUpdated
14781
+ * @instance
14782
+ */
14783
+ ContentfulOrderedCategoriesUpdated.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
14784
+
14785
+ /**
14786
+ * Creates a new ContentfulOrderedCategoriesUpdated instance using the specified properties.
14787
+ * @function create
14788
+ * @memberof ContentfulOrderedCategoriesUpdated
14789
+ * @static
14790
+ * @param {IContentfulOrderedCategoriesUpdated=} [properties] Properties to set
14791
+ * @returns {ContentfulOrderedCategoriesUpdated} ContentfulOrderedCategoriesUpdated instance
14792
+ */
14793
+ ContentfulOrderedCategoriesUpdated.create = function create(properties) {
14794
+ return new ContentfulOrderedCategoriesUpdated(properties);
14795
+ };
14796
+
14797
+ /**
14798
+ * Encodes the specified ContentfulOrderedCategoriesUpdated message. Does not implicitly {@link ContentfulOrderedCategoriesUpdated.verify|verify} messages.
14799
+ * @function encode
14800
+ * @memberof ContentfulOrderedCategoriesUpdated
14801
+ * @static
14802
+ * @param {IContentfulOrderedCategoriesUpdated} message ContentfulOrderedCategoriesUpdated message or plain object to encode
14803
+ * @param {$protobuf.Writer} [writer] Writer to encode to
14804
+ * @returns {$protobuf.Writer} Writer
14805
+ */
14806
+ ContentfulOrderedCategoriesUpdated.encode = function encode(message, writer) {
14807
+ if (!writer)
14808
+ writer = $Writer.create();
14809
+ if (message.slug != null && message.hasOwnProperty("slug"))
14810
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.slug);
14811
+ if (message.topic != null && message.hasOwnProperty("topic"))
14812
+ $root.contentful.SlugReference.encode(message.topic, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
14813
+ if (message.categories != null && message.categories.length)
14814
+ for (var i = 0; i < message.categories.length; ++i)
14815
+ $root.contentful.SlugReference.encode(message.categories[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
14816
+ if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
14817
+ writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.updatedAt);
14818
+ return writer;
14819
+ };
14820
+
14821
+ /**
14822
+ * Encodes the specified ContentfulOrderedCategoriesUpdated message, length delimited. Does not implicitly {@link ContentfulOrderedCategoriesUpdated.verify|verify} messages.
14823
+ * @function encodeDelimited
14824
+ * @memberof ContentfulOrderedCategoriesUpdated
14825
+ * @static
14826
+ * @param {IContentfulOrderedCategoriesUpdated} message ContentfulOrderedCategoriesUpdated message or plain object to encode
14827
+ * @param {$protobuf.Writer} [writer] Writer to encode to
14828
+ * @returns {$protobuf.Writer} Writer
14829
+ */
14830
+ ContentfulOrderedCategoriesUpdated.encodeDelimited = function encodeDelimited(message, writer) {
14831
+ return this.encode(message, writer).ldelim();
14832
+ };
14833
+
14834
+ /**
14835
+ * Decodes a ContentfulOrderedCategoriesUpdated message from the specified reader or buffer.
14836
+ * @function decode
14837
+ * @memberof ContentfulOrderedCategoriesUpdated
14838
+ * @static
14839
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
14840
+ * @param {number} [length] Message length if known beforehand
14841
+ * @returns {ContentfulOrderedCategoriesUpdated} ContentfulOrderedCategoriesUpdated
14842
+ * @throws {Error} If the payload is not a reader or valid buffer
14843
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14844
+ */
14845
+ ContentfulOrderedCategoriesUpdated.decode = function decode(reader, length) {
14846
+ if (!(reader instanceof $Reader))
14847
+ reader = $Reader.create(reader);
14848
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ContentfulOrderedCategoriesUpdated();
14849
+ while (reader.pos < end) {
14850
+ var tag = reader.uint32();
14851
+ switch (tag >>> 3) {
14852
+ case 1:
14853
+ message.slug = reader.string();
14854
+ break;
14855
+ case 2:
14856
+ message.topic = $root.contentful.SlugReference.decode(reader, reader.uint32());
14857
+ break;
14858
+ case 3:
14859
+ if (!(message.categories && message.categories.length))
14860
+ message.categories = [];
14861
+ message.categories.push($root.contentful.SlugReference.decode(reader, reader.uint32()));
14862
+ break;
14863
+ case 4:
14864
+ message.updatedAt = reader.uint64();
14865
+ break;
14866
+ default:
14867
+ reader.skipType(tag & 7);
14868
+ break;
14869
+ }
14870
+ }
14871
+ return message;
14872
+ };
14873
+
14874
+ /**
14875
+ * Decodes a ContentfulOrderedCategoriesUpdated message from the specified reader or buffer, length delimited.
14876
+ * @function decodeDelimited
14877
+ * @memberof ContentfulOrderedCategoriesUpdated
14878
+ * @static
14879
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
14880
+ * @returns {ContentfulOrderedCategoriesUpdated} ContentfulOrderedCategoriesUpdated
14881
+ * @throws {Error} If the payload is not a reader or valid buffer
14882
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14883
+ */
14884
+ ContentfulOrderedCategoriesUpdated.decodeDelimited = function decodeDelimited(reader) {
14885
+ if (!(reader instanceof $Reader))
14886
+ reader = new $Reader(reader);
14887
+ return this.decode(reader, reader.uint32());
14888
+ };
14889
+
14890
+ /**
14891
+ * Verifies a ContentfulOrderedCategoriesUpdated message.
14892
+ * @function verify
14893
+ * @memberof ContentfulOrderedCategoriesUpdated
14894
+ * @static
14895
+ * @param {Object.<string,*>} message Plain object to verify
14896
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
14897
+ */
14898
+ ContentfulOrderedCategoriesUpdated.verify = function verify(message) {
14899
+ if (typeof message !== "object" || message === null)
14900
+ return "object expected";
14901
+ if (message.slug != null && message.hasOwnProperty("slug"))
14902
+ if (!$util.isString(message.slug))
14903
+ return "slug: string expected";
14904
+ if (message.topic != null && message.hasOwnProperty("topic")) {
14905
+ var error = $root.contentful.SlugReference.verify(message.topic);
14906
+ if (error)
14907
+ return "topic." + error;
14908
+ }
14909
+ if (message.categories != null && message.hasOwnProperty("categories")) {
14910
+ if (!Array.isArray(message.categories))
14911
+ return "categories: array expected";
14912
+ for (var i = 0; i < message.categories.length; ++i) {
14913
+ var error = $root.contentful.SlugReference.verify(message.categories[i]);
14914
+ if (error)
14915
+ return "categories." + error;
14916
+ }
14917
+ }
14918
+ if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
14919
+ if (!$util.isInteger(message.updatedAt) && !(message.updatedAt && $util.isInteger(message.updatedAt.low) && $util.isInteger(message.updatedAt.high)))
14920
+ return "updatedAt: integer|Long expected";
14921
+ return null;
14922
+ };
14923
+
14924
+ /**
14925
+ * Creates a ContentfulOrderedCategoriesUpdated message from a plain object. Also converts values to their respective internal types.
14926
+ * @function fromObject
14927
+ * @memberof ContentfulOrderedCategoriesUpdated
14928
+ * @static
14929
+ * @param {Object.<string,*>} object Plain object
14930
+ * @returns {ContentfulOrderedCategoriesUpdated} ContentfulOrderedCategoriesUpdated
14931
+ */
14932
+ ContentfulOrderedCategoriesUpdated.fromObject = function fromObject(object) {
14933
+ if (object instanceof $root.ContentfulOrderedCategoriesUpdated)
14934
+ return object;
14935
+ var message = new $root.ContentfulOrderedCategoriesUpdated();
14936
+ if (object.slug != null)
14937
+ message.slug = String(object.slug);
14938
+ if (object.topic != null) {
14939
+ if (typeof object.topic !== "object")
14940
+ throw TypeError(".ContentfulOrderedCategoriesUpdated.topic: object expected");
14941
+ message.topic = $root.contentful.SlugReference.fromObject(object.topic);
14942
+ }
14943
+ if (object.categories) {
14944
+ if (!Array.isArray(object.categories))
14945
+ throw TypeError(".ContentfulOrderedCategoriesUpdated.categories: array expected");
14946
+ message.categories = [];
14947
+ for (var i = 0; i < object.categories.length; ++i) {
14948
+ if (typeof object.categories[i] !== "object")
14949
+ throw TypeError(".ContentfulOrderedCategoriesUpdated.categories: object expected");
14950
+ message.categories[i] = $root.contentful.SlugReference.fromObject(object.categories[i]);
14951
+ }
14952
+ }
14953
+ if (object.updatedAt != null)
14954
+ if ($util.Long)
14955
+ (message.updatedAt = $util.Long.fromValue(object.updatedAt)).unsigned = true;
14956
+ else if (typeof object.updatedAt === "string")
14957
+ message.updatedAt = parseInt(object.updatedAt, 10);
14958
+ else if (typeof object.updatedAt === "number")
14959
+ message.updatedAt = object.updatedAt;
14960
+ else if (typeof object.updatedAt === "object")
14961
+ message.updatedAt = new $util.LongBits(object.updatedAt.low >>> 0, object.updatedAt.high >>> 0).toNumber(true);
14962
+ return message;
14963
+ };
14964
+
14965
+ /**
14966
+ * Creates a plain object from a ContentfulOrderedCategoriesUpdated message. Also converts values to other types if specified.
14967
+ * @function toObject
14968
+ * @memberof ContentfulOrderedCategoriesUpdated
14969
+ * @static
14970
+ * @param {ContentfulOrderedCategoriesUpdated} message ContentfulOrderedCategoriesUpdated
14971
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
14972
+ * @returns {Object.<string,*>} Plain object
14973
+ */
14974
+ ContentfulOrderedCategoriesUpdated.toObject = function toObject(message, options) {
14975
+ if (!options)
14976
+ options = {};
14977
+ var object = {};
14978
+ if (options.arrays || options.defaults)
14979
+ object.categories = [];
14980
+ if (options.defaults) {
14981
+ object.slug = "";
14982
+ object.topic = null;
14983
+ if ($util.Long) {
14984
+ var long = new $util.Long(0, 0, true);
14985
+ object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
14986
+ } else
14987
+ object.updatedAt = options.longs === String ? "0" : 0;
14988
+ }
14989
+ if (message.slug != null && message.hasOwnProperty("slug"))
14990
+ object.slug = message.slug;
14991
+ if (message.topic != null && message.hasOwnProperty("topic"))
14992
+ object.topic = $root.contentful.SlugReference.toObject(message.topic, options);
14993
+ if (message.categories && message.categories.length) {
14994
+ object.categories = [];
14995
+ for (var j = 0; j < message.categories.length; ++j)
14996
+ object.categories[j] = $root.contentful.SlugReference.toObject(message.categories[j], options);
14997
+ }
14998
+ if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
14999
+ if (typeof message.updatedAt === "number")
15000
+ object.updatedAt = options.longs === String ? String(message.updatedAt) : message.updatedAt;
15001
+ else
15002
+ object.updatedAt = options.longs === String ? $util.Long.prototype.toString.call(message.updatedAt) : options.longs === Number ? new $util.LongBits(message.updatedAt.low >>> 0, message.updatedAt.high >>> 0).toNumber(true) : message.updatedAt;
15003
+ return object;
15004
+ };
15005
+
15006
+ /**
15007
+ * Converts this ContentfulOrderedCategoriesUpdated to JSON.
15008
+ * @function toJSON
15009
+ * @memberof ContentfulOrderedCategoriesUpdated
15010
+ * @instance
15011
+ * @returns {Object.<string,*>} JSON object
15012
+ */
15013
+ ContentfulOrderedCategoriesUpdated.prototype.toJSON = function toJSON() {
15014
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
15015
+ };
15016
+
15017
+ return ContentfulOrderedCategoriesUpdated;
15018
+ })();
15019
+
14430
15020
  $root.ContentfulContentModelCreated = (function() {
14431
15021
 
14432
15022
  /**
@@ -21772,6 +22362,260 @@ $root.MessageSent = (function() {
21772
22362
  return MessageSent;
21773
22363
  })();
21774
22364
 
22365
+ $root.AssignmentAllocationBatchPushed = (function() {
22366
+
22367
+ /**
22368
+ * Properties of an AssignmentAllocationBatchPushed.
22369
+ * @exports IAssignmentAllocationBatchPushed
22370
+ * @interface IAssignmentAllocationBatchPushed
22371
+ * @property {string|null} [hsId] AssignmentAllocationBatchPushed hsId
22372
+ * @property {string|null} [coachId] AssignmentAllocationBatchPushed coachId
22373
+ * @property {string|null} [coachName] AssignmentAllocationBatchPushed coachName
22374
+ * @property {string|null} [pushNote] AssignmentAllocationBatchPushed pushNote
22375
+ */
22376
+
22377
+ /**
22378
+ * Constructs a new AssignmentAllocationBatchPushed.
22379
+ * @exports AssignmentAllocationBatchPushed
22380
+ * @classdesc Represents an AssignmentAllocationBatchPushed.
22381
+ * @implements IAssignmentAllocationBatchPushed
22382
+ * @constructor
22383
+ * @param {IAssignmentAllocationBatchPushed=} [properties] Properties to set
22384
+ */
22385
+ function AssignmentAllocationBatchPushed(properties) {
22386
+ if (properties)
22387
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
22388
+ if (properties[keys[i]] != null)
22389
+ this[keys[i]] = properties[keys[i]];
22390
+ }
22391
+
22392
+ /**
22393
+ * AssignmentAllocationBatchPushed hsId.
22394
+ * @member {string} hsId
22395
+ * @memberof AssignmentAllocationBatchPushed
22396
+ * @instance
22397
+ */
22398
+ AssignmentAllocationBatchPushed.prototype.hsId = "";
22399
+
22400
+ /**
22401
+ * AssignmentAllocationBatchPushed coachId.
22402
+ * @member {string} coachId
22403
+ * @memberof AssignmentAllocationBatchPushed
22404
+ * @instance
22405
+ */
22406
+ AssignmentAllocationBatchPushed.prototype.coachId = "";
22407
+
22408
+ /**
22409
+ * AssignmentAllocationBatchPushed coachName.
22410
+ * @member {string} coachName
22411
+ * @memberof AssignmentAllocationBatchPushed
22412
+ * @instance
22413
+ */
22414
+ AssignmentAllocationBatchPushed.prototype.coachName = "";
22415
+
22416
+ /**
22417
+ * AssignmentAllocationBatchPushed pushNote.
22418
+ * @member {string} pushNote
22419
+ * @memberof AssignmentAllocationBatchPushed
22420
+ * @instance
22421
+ */
22422
+ AssignmentAllocationBatchPushed.prototype.pushNote = "";
22423
+
22424
+ /**
22425
+ * Creates a new AssignmentAllocationBatchPushed instance using the specified properties.
22426
+ * @function create
22427
+ * @memberof AssignmentAllocationBatchPushed
22428
+ * @static
22429
+ * @param {IAssignmentAllocationBatchPushed=} [properties] Properties to set
22430
+ * @returns {AssignmentAllocationBatchPushed} AssignmentAllocationBatchPushed instance
22431
+ */
22432
+ AssignmentAllocationBatchPushed.create = function create(properties) {
22433
+ return new AssignmentAllocationBatchPushed(properties);
22434
+ };
22435
+
22436
+ /**
22437
+ * Encodes the specified AssignmentAllocationBatchPushed message. Does not implicitly {@link AssignmentAllocationBatchPushed.verify|verify} messages.
22438
+ * @function encode
22439
+ * @memberof AssignmentAllocationBatchPushed
22440
+ * @static
22441
+ * @param {IAssignmentAllocationBatchPushed} message AssignmentAllocationBatchPushed message or plain object to encode
22442
+ * @param {$protobuf.Writer} [writer] Writer to encode to
22443
+ * @returns {$protobuf.Writer} Writer
22444
+ */
22445
+ AssignmentAllocationBatchPushed.encode = function encode(message, writer) {
22446
+ if (!writer)
22447
+ writer = $Writer.create();
22448
+ if (message.hsId != null && message.hasOwnProperty("hsId"))
22449
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsId);
22450
+ if (message.coachId != null && message.hasOwnProperty("coachId"))
22451
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.coachId);
22452
+ if (message.coachName != null && message.hasOwnProperty("coachName"))
22453
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.coachName);
22454
+ if (message.pushNote != null && message.hasOwnProperty("pushNote"))
22455
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.pushNote);
22456
+ return writer;
22457
+ };
22458
+
22459
+ /**
22460
+ * Encodes the specified AssignmentAllocationBatchPushed message, length delimited. Does not implicitly {@link AssignmentAllocationBatchPushed.verify|verify} messages.
22461
+ * @function encodeDelimited
22462
+ * @memberof AssignmentAllocationBatchPushed
22463
+ * @static
22464
+ * @param {IAssignmentAllocationBatchPushed} message AssignmentAllocationBatchPushed message or plain object to encode
22465
+ * @param {$protobuf.Writer} [writer] Writer to encode to
22466
+ * @returns {$protobuf.Writer} Writer
22467
+ */
22468
+ AssignmentAllocationBatchPushed.encodeDelimited = function encodeDelimited(message, writer) {
22469
+ return this.encode(message, writer).ldelim();
22470
+ };
22471
+
22472
+ /**
22473
+ * Decodes an AssignmentAllocationBatchPushed message from the specified reader or buffer.
22474
+ * @function decode
22475
+ * @memberof AssignmentAllocationBatchPushed
22476
+ * @static
22477
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
22478
+ * @param {number} [length] Message length if known beforehand
22479
+ * @returns {AssignmentAllocationBatchPushed} AssignmentAllocationBatchPushed
22480
+ * @throws {Error} If the payload is not a reader or valid buffer
22481
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
22482
+ */
22483
+ AssignmentAllocationBatchPushed.decode = function decode(reader, length) {
22484
+ if (!(reader instanceof $Reader))
22485
+ reader = $Reader.create(reader);
22486
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.AssignmentAllocationBatchPushed();
22487
+ while (reader.pos < end) {
22488
+ var tag = reader.uint32();
22489
+ switch (tag >>> 3) {
22490
+ case 1:
22491
+ message.hsId = reader.string();
22492
+ break;
22493
+ case 2:
22494
+ message.coachId = reader.string();
22495
+ break;
22496
+ case 3:
22497
+ message.coachName = reader.string();
22498
+ break;
22499
+ case 4:
22500
+ message.pushNote = reader.string();
22501
+ break;
22502
+ default:
22503
+ reader.skipType(tag & 7);
22504
+ break;
22505
+ }
22506
+ }
22507
+ return message;
22508
+ };
22509
+
22510
+ /**
22511
+ * Decodes an AssignmentAllocationBatchPushed message from the specified reader or buffer, length delimited.
22512
+ * @function decodeDelimited
22513
+ * @memberof AssignmentAllocationBatchPushed
22514
+ * @static
22515
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
22516
+ * @returns {AssignmentAllocationBatchPushed} AssignmentAllocationBatchPushed
22517
+ * @throws {Error} If the payload is not a reader or valid buffer
22518
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
22519
+ */
22520
+ AssignmentAllocationBatchPushed.decodeDelimited = function decodeDelimited(reader) {
22521
+ if (!(reader instanceof $Reader))
22522
+ reader = new $Reader(reader);
22523
+ return this.decode(reader, reader.uint32());
22524
+ };
22525
+
22526
+ /**
22527
+ * Verifies an AssignmentAllocationBatchPushed message.
22528
+ * @function verify
22529
+ * @memberof AssignmentAllocationBatchPushed
22530
+ * @static
22531
+ * @param {Object.<string,*>} message Plain object to verify
22532
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
22533
+ */
22534
+ AssignmentAllocationBatchPushed.verify = function verify(message) {
22535
+ if (typeof message !== "object" || message === null)
22536
+ return "object expected";
22537
+ if (message.hsId != null && message.hasOwnProperty("hsId"))
22538
+ if (!$util.isString(message.hsId))
22539
+ return "hsId: string expected";
22540
+ if (message.coachId != null && message.hasOwnProperty("coachId"))
22541
+ if (!$util.isString(message.coachId))
22542
+ return "coachId: string expected";
22543
+ if (message.coachName != null && message.hasOwnProperty("coachName"))
22544
+ if (!$util.isString(message.coachName))
22545
+ return "coachName: string expected";
22546
+ if (message.pushNote != null && message.hasOwnProperty("pushNote"))
22547
+ if (!$util.isString(message.pushNote))
22548
+ return "pushNote: string expected";
22549
+ return null;
22550
+ };
22551
+
22552
+ /**
22553
+ * Creates an AssignmentAllocationBatchPushed message from a plain object. Also converts values to their respective internal types.
22554
+ * @function fromObject
22555
+ * @memberof AssignmentAllocationBatchPushed
22556
+ * @static
22557
+ * @param {Object.<string,*>} object Plain object
22558
+ * @returns {AssignmentAllocationBatchPushed} AssignmentAllocationBatchPushed
22559
+ */
22560
+ AssignmentAllocationBatchPushed.fromObject = function fromObject(object) {
22561
+ if (object instanceof $root.AssignmentAllocationBatchPushed)
22562
+ return object;
22563
+ var message = new $root.AssignmentAllocationBatchPushed();
22564
+ if (object.hsId != null)
22565
+ message.hsId = String(object.hsId);
22566
+ if (object.coachId != null)
22567
+ message.coachId = String(object.coachId);
22568
+ if (object.coachName != null)
22569
+ message.coachName = String(object.coachName);
22570
+ if (object.pushNote != null)
22571
+ message.pushNote = String(object.pushNote);
22572
+ return message;
22573
+ };
22574
+
22575
+ /**
22576
+ * Creates a plain object from an AssignmentAllocationBatchPushed message. Also converts values to other types if specified.
22577
+ * @function toObject
22578
+ * @memberof AssignmentAllocationBatchPushed
22579
+ * @static
22580
+ * @param {AssignmentAllocationBatchPushed} message AssignmentAllocationBatchPushed
22581
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
22582
+ * @returns {Object.<string,*>} Plain object
22583
+ */
22584
+ AssignmentAllocationBatchPushed.toObject = function toObject(message, options) {
22585
+ if (!options)
22586
+ options = {};
22587
+ var object = {};
22588
+ if (options.defaults) {
22589
+ object.hsId = "";
22590
+ object.coachId = "";
22591
+ object.coachName = "";
22592
+ object.pushNote = "";
22593
+ }
22594
+ if (message.hsId != null && message.hasOwnProperty("hsId"))
22595
+ object.hsId = message.hsId;
22596
+ if (message.coachId != null && message.hasOwnProperty("coachId"))
22597
+ object.coachId = message.coachId;
22598
+ if (message.coachName != null && message.hasOwnProperty("coachName"))
22599
+ object.coachName = message.coachName;
22600
+ if (message.pushNote != null && message.hasOwnProperty("pushNote"))
22601
+ object.pushNote = message.pushNote;
22602
+ return object;
22603
+ };
22604
+
22605
+ /**
22606
+ * Converts this AssignmentAllocationBatchPushed to JSON.
22607
+ * @function toJSON
22608
+ * @memberof AssignmentAllocationBatchPushed
22609
+ * @instance
22610
+ * @returns {Object.<string,*>} JSON object
22611
+ */
22612
+ AssignmentAllocationBatchPushed.prototype.toJSON = function toJSON() {
22613
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
22614
+ };
22615
+
22616
+ return AssignmentAllocationBatchPushed;
22617
+ })();
22618
+
21775
22619
  $root.IosSubscriptionCreated = (function() {
21776
22620
 
21777
22621
  /**
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.130.0"
19
+ "version": "1.132.0"
20
20
  }