@headspace/protos-events 1.122.0 → 1.124.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 +340 -4
  2. package/lib/index.js +966 -36
  3. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -3785,7 +3785,7 @@ export interface IContentfulPlaylistCreated {
3785
3785
  videoSegments?: ({ [k: string]: contentful.IIdReferences }|null);
3786
3786
 
3787
3787
  /** ContentfulPlaylistCreated schedule */
3788
- schedule?: ({ [k: string]: (number|Long) }|null);
3788
+ schedule?: ({ [k: string]: string }|null);
3789
3789
 
3790
3790
  /** ContentfulPlaylistCreated accessGroups */
3791
3791
  accessGroups?: (contentful.ISlugReference[]|null);
@@ -3831,7 +3831,7 @@ export class ContentfulPlaylistCreated implements IContentfulPlaylistCreated {
3831
3831
  public videoSegments: { [k: string]: contentful.IIdReferences };
3832
3832
 
3833
3833
  /** ContentfulPlaylistCreated schedule. */
3834
- public schedule: { [k: string]: (number|Long) };
3834
+ public schedule: { [k: string]: string };
3835
3835
 
3836
3836
  /** ContentfulPlaylistCreated accessGroups. */
3837
3837
  public accessGroups: contentful.ISlugReference[];
@@ -3941,7 +3941,7 @@ export interface IContentfulPlaylistUpdated {
3941
3941
  videoSegments?: ({ [k: string]: contentful.IIdReferences }|null);
3942
3942
 
3943
3943
  /** ContentfulPlaylistUpdated schedule */
3944
- schedule?: ({ [k: string]: (number|Long) }|null);
3944
+ schedule?: ({ [k: string]: string }|null);
3945
3945
 
3946
3946
  /** ContentfulPlaylistUpdated accessGroups */
3947
3947
  accessGroups?: (contentful.ISlugReference[]|null);
@@ -3987,7 +3987,7 @@ export class ContentfulPlaylistUpdated implements IContentfulPlaylistUpdated {
3987
3987
  public videoSegments: { [k: string]: contentful.IIdReferences };
3988
3988
 
3989
3989
  /** ContentfulPlaylistUpdated schedule. */
3990
- public schedule: { [k: string]: (number|Long) };
3990
+ public schedule: { [k: string]: string };
3991
3991
 
3992
3992
  /** ContentfulPlaylistUpdated accessGroups. */
3993
3993
  public accessGroups: contentful.ISlugReference[];
@@ -4474,6 +4474,342 @@ export class ContentfulSubscriptionAccessGroupDeleted implements IContentfulSubs
4474
4474
  public toJSON(): { [k: string]: any };
4475
4475
  }
4476
4476
 
4477
+ /** Properties of a ContentfulCategoryCreated. */
4478
+ export interface IContentfulCategoryCreated {
4479
+
4480
+ /** ContentfulCategoryCreated name */
4481
+ name?: (string|null);
4482
+
4483
+ /** ContentfulCategoryCreated slug */
4484
+ slug?: (string|null);
4485
+
4486
+ /** ContentfulCategoryCreated topic */
4487
+ topic?: ({ [k: string]: contentful.ISlugReference }|null);
4488
+
4489
+ /** ContentfulCategoryCreated type */
4490
+ type?: (string|null);
4491
+
4492
+ /** ContentfulCategoryCreated content */
4493
+ content?: (contentful.ISlugReference[]|null);
4494
+
4495
+ /** ContentfulCategoryCreated createdAt */
4496
+ createdAt?: (number|Long|null);
4497
+ }
4498
+
4499
+ /** Represents a ContentfulCategoryCreated. */
4500
+ export class ContentfulCategoryCreated implements IContentfulCategoryCreated {
4501
+
4502
+ /**
4503
+ * Constructs a new ContentfulCategoryCreated.
4504
+ * @param [properties] Properties to set
4505
+ */
4506
+ constructor(properties?: IContentfulCategoryCreated);
4507
+
4508
+ /** ContentfulCategoryCreated name. */
4509
+ public name: string;
4510
+
4511
+ /** ContentfulCategoryCreated slug. */
4512
+ public slug: string;
4513
+
4514
+ /** ContentfulCategoryCreated topic. */
4515
+ public topic: { [k: string]: contentful.ISlugReference };
4516
+
4517
+ /** ContentfulCategoryCreated type. */
4518
+ public type: string;
4519
+
4520
+ /** ContentfulCategoryCreated content. */
4521
+ public content: contentful.ISlugReference[];
4522
+
4523
+ /** ContentfulCategoryCreated createdAt. */
4524
+ public createdAt: (number|Long);
4525
+
4526
+ /**
4527
+ * Creates a new ContentfulCategoryCreated instance using the specified properties.
4528
+ * @param [properties] Properties to set
4529
+ * @returns ContentfulCategoryCreated instance
4530
+ */
4531
+ public static create(properties?: IContentfulCategoryCreated): ContentfulCategoryCreated;
4532
+
4533
+ /**
4534
+ * Encodes the specified ContentfulCategoryCreated message. Does not implicitly {@link ContentfulCategoryCreated.verify|verify} messages.
4535
+ * @param message ContentfulCategoryCreated message or plain object to encode
4536
+ * @param [writer] Writer to encode to
4537
+ * @returns Writer
4538
+ */
4539
+ public static encode(message: IContentfulCategoryCreated, writer?: $protobuf.Writer): $protobuf.Writer;
4540
+
4541
+ /**
4542
+ * Encodes the specified ContentfulCategoryCreated message, length delimited. Does not implicitly {@link ContentfulCategoryCreated.verify|verify} messages.
4543
+ * @param message ContentfulCategoryCreated message or plain object to encode
4544
+ * @param [writer] Writer to encode to
4545
+ * @returns Writer
4546
+ */
4547
+ public static encodeDelimited(message: IContentfulCategoryCreated, writer?: $protobuf.Writer): $protobuf.Writer;
4548
+
4549
+ /**
4550
+ * Decodes a ContentfulCategoryCreated message from the specified reader or buffer.
4551
+ * @param reader Reader or buffer to decode from
4552
+ * @param [length] Message length if known beforehand
4553
+ * @returns ContentfulCategoryCreated
4554
+ * @throws {Error} If the payload is not a reader or valid buffer
4555
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4556
+ */
4557
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ContentfulCategoryCreated;
4558
+
4559
+ /**
4560
+ * Decodes a ContentfulCategoryCreated message from the specified reader or buffer, length delimited.
4561
+ * @param reader Reader or buffer to decode from
4562
+ * @returns ContentfulCategoryCreated
4563
+ * @throws {Error} If the payload is not a reader or valid buffer
4564
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4565
+ */
4566
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ContentfulCategoryCreated;
4567
+
4568
+ /**
4569
+ * Verifies a ContentfulCategoryCreated message.
4570
+ * @param message Plain object to verify
4571
+ * @returns `null` if valid, otherwise the reason why it is not
4572
+ */
4573
+ public static verify(message: { [k: string]: any }): (string|null);
4574
+
4575
+ /**
4576
+ * Creates a ContentfulCategoryCreated message from a plain object. Also converts values to their respective internal types.
4577
+ * @param object Plain object
4578
+ * @returns ContentfulCategoryCreated
4579
+ */
4580
+ public static fromObject(object: { [k: string]: any }): ContentfulCategoryCreated;
4581
+
4582
+ /**
4583
+ * Creates a plain object from a ContentfulCategoryCreated message. Also converts values to other types if specified.
4584
+ * @param message ContentfulCategoryCreated
4585
+ * @param [options] Conversion options
4586
+ * @returns Plain object
4587
+ */
4588
+ public static toObject(message: ContentfulCategoryCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
4589
+
4590
+ /**
4591
+ * Converts this ContentfulCategoryCreated to JSON.
4592
+ * @returns JSON object
4593
+ */
4594
+ public toJSON(): { [k: string]: any };
4595
+ }
4596
+
4597
+ /** Properties of a ContentfulCategoryUpdated. */
4598
+ export interface IContentfulCategoryUpdated {
4599
+
4600
+ /** ContentfulCategoryUpdated name */
4601
+ name?: (string|null);
4602
+
4603
+ /** ContentfulCategoryUpdated slug */
4604
+ slug?: (string|null);
4605
+
4606
+ /** ContentfulCategoryUpdated topic */
4607
+ topic?: ({ [k: string]: contentful.ISlugReference }|null);
4608
+
4609
+ /** ContentfulCategoryUpdated type */
4610
+ type?: (string|null);
4611
+
4612
+ /** ContentfulCategoryUpdated content */
4613
+ content?: (contentful.ISlugReference[]|null);
4614
+
4615
+ /** ContentfulCategoryUpdated updatedAt */
4616
+ updatedAt?: (number|Long|null);
4617
+ }
4618
+
4619
+ /** Represents a ContentfulCategoryUpdated. */
4620
+ export class ContentfulCategoryUpdated implements IContentfulCategoryUpdated {
4621
+
4622
+ /**
4623
+ * Constructs a new ContentfulCategoryUpdated.
4624
+ * @param [properties] Properties to set
4625
+ */
4626
+ constructor(properties?: IContentfulCategoryUpdated);
4627
+
4628
+ /** ContentfulCategoryUpdated name. */
4629
+ public name: string;
4630
+
4631
+ /** ContentfulCategoryUpdated slug. */
4632
+ public slug: string;
4633
+
4634
+ /** ContentfulCategoryUpdated topic. */
4635
+ public topic: { [k: string]: contentful.ISlugReference };
4636
+
4637
+ /** ContentfulCategoryUpdated type. */
4638
+ public type: string;
4639
+
4640
+ /** ContentfulCategoryUpdated content. */
4641
+ public content: contentful.ISlugReference[];
4642
+
4643
+ /** ContentfulCategoryUpdated updatedAt. */
4644
+ public updatedAt: (number|Long);
4645
+
4646
+ /**
4647
+ * Creates a new ContentfulCategoryUpdated instance using the specified properties.
4648
+ * @param [properties] Properties to set
4649
+ * @returns ContentfulCategoryUpdated instance
4650
+ */
4651
+ public static create(properties?: IContentfulCategoryUpdated): ContentfulCategoryUpdated;
4652
+
4653
+ /**
4654
+ * Encodes the specified ContentfulCategoryUpdated message. Does not implicitly {@link ContentfulCategoryUpdated.verify|verify} messages.
4655
+ * @param message ContentfulCategoryUpdated message or plain object to encode
4656
+ * @param [writer] Writer to encode to
4657
+ * @returns Writer
4658
+ */
4659
+ public static encode(message: IContentfulCategoryUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
4660
+
4661
+ /**
4662
+ * Encodes the specified ContentfulCategoryUpdated message, length delimited. Does not implicitly {@link ContentfulCategoryUpdated.verify|verify} messages.
4663
+ * @param message ContentfulCategoryUpdated message or plain object to encode
4664
+ * @param [writer] Writer to encode to
4665
+ * @returns Writer
4666
+ */
4667
+ public static encodeDelimited(message: IContentfulCategoryUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
4668
+
4669
+ /**
4670
+ * Decodes a ContentfulCategoryUpdated message from the specified reader or buffer.
4671
+ * @param reader Reader or buffer to decode from
4672
+ * @param [length] Message length if known beforehand
4673
+ * @returns ContentfulCategoryUpdated
4674
+ * @throws {Error} If the payload is not a reader or valid buffer
4675
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4676
+ */
4677
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ContentfulCategoryUpdated;
4678
+
4679
+ /**
4680
+ * Decodes a ContentfulCategoryUpdated message from the specified reader or buffer, length delimited.
4681
+ * @param reader Reader or buffer to decode from
4682
+ * @returns ContentfulCategoryUpdated
4683
+ * @throws {Error} If the payload is not a reader or valid buffer
4684
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4685
+ */
4686
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ContentfulCategoryUpdated;
4687
+
4688
+ /**
4689
+ * Verifies a ContentfulCategoryUpdated message.
4690
+ * @param message Plain object to verify
4691
+ * @returns `null` if valid, otherwise the reason why it is not
4692
+ */
4693
+ public static verify(message: { [k: string]: any }): (string|null);
4694
+
4695
+ /**
4696
+ * Creates a ContentfulCategoryUpdated message from a plain object. Also converts values to their respective internal types.
4697
+ * @param object Plain object
4698
+ * @returns ContentfulCategoryUpdated
4699
+ */
4700
+ public static fromObject(object: { [k: string]: any }): ContentfulCategoryUpdated;
4701
+
4702
+ /**
4703
+ * Creates a plain object from a ContentfulCategoryUpdated message. Also converts values to other types if specified.
4704
+ * @param message ContentfulCategoryUpdated
4705
+ * @param [options] Conversion options
4706
+ * @returns Plain object
4707
+ */
4708
+ public static toObject(message: ContentfulCategoryUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
4709
+
4710
+ /**
4711
+ * Converts this ContentfulCategoryUpdated to JSON.
4712
+ * @returns JSON object
4713
+ */
4714
+ public toJSON(): { [k: string]: any };
4715
+ }
4716
+
4717
+ /** Properties of a ContentfulCategoryDeleted. */
4718
+ export interface IContentfulCategoryDeleted {
4719
+
4720
+ /** ContentfulCategoryDeleted slug */
4721
+ slug?: (string|null);
4722
+
4723
+ /** ContentfulCategoryDeleted deletedAt */
4724
+ deletedAt?: (number|Long|null);
4725
+ }
4726
+
4727
+ /** Represents a ContentfulCategoryDeleted. */
4728
+ export class ContentfulCategoryDeleted implements IContentfulCategoryDeleted {
4729
+
4730
+ /**
4731
+ * Constructs a new ContentfulCategoryDeleted.
4732
+ * @param [properties] Properties to set
4733
+ */
4734
+ constructor(properties?: IContentfulCategoryDeleted);
4735
+
4736
+ /** ContentfulCategoryDeleted slug. */
4737
+ public slug: string;
4738
+
4739
+ /** ContentfulCategoryDeleted deletedAt. */
4740
+ public deletedAt: (number|Long);
4741
+
4742
+ /**
4743
+ * Creates a new ContentfulCategoryDeleted instance using the specified properties.
4744
+ * @param [properties] Properties to set
4745
+ * @returns ContentfulCategoryDeleted instance
4746
+ */
4747
+ public static create(properties?: IContentfulCategoryDeleted): ContentfulCategoryDeleted;
4748
+
4749
+ /**
4750
+ * Encodes the specified ContentfulCategoryDeleted message. Does not implicitly {@link ContentfulCategoryDeleted.verify|verify} messages.
4751
+ * @param message ContentfulCategoryDeleted message or plain object to encode
4752
+ * @param [writer] Writer to encode to
4753
+ * @returns Writer
4754
+ */
4755
+ public static encode(message: IContentfulCategoryDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
4756
+
4757
+ /**
4758
+ * Encodes the specified ContentfulCategoryDeleted message, length delimited. Does not implicitly {@link ContentfulCategoryDeleted.verify|verify} messages.
4759
+ * @param message ContentfulCategoryDeleted message or plain object to encode
4760
+ * @param [writer] Writer to encode to
4761
+ * @returns Writer
4762
+ */
4763
+ public static encodeDelimited(message: IContentfulCategoryDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
4764
+
4765
+ /**
4766
+ * Decodes a ContentfulCategoryDeleted message from the specified reader or buffer.
4767
+ * @param reader Reader or buffer to decode from
4768
+ * @param [length] Message length if known beforehand
4769
+ * @returns ContentfulCategoryDeleted
4770
+ * @throws {Error} If the payload is not a reader or valid buffer
4771
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4772
+ */
4773
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ContentfulCategoryDeleted;
4774
+
4775
+ /**
4776
+ * Decodes a ContentfulCategoryDeleted message from the specified reader or buffer, length delimited.
4777
+ * @param reader Reader or buffer to decode from
4778
+ * @returns ContentfulCategoryDeleted
4779
+ * @throws {Error} If the payload is not a reader or valid buffer
4780
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4781
+ */
4782
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ContentfulCategoryDeleted;
4783
+
4784
+ /**
4785
+ * Verifies a ContentfulCategoryDeleted message.
4786
+ * @param message Plain object to verify
4787
+ * @returns `null` if valid, otherwise the reason why it is not
4788
+ */
4789
+ public static verify(message: { [k: string]: any }): (string|null);
4790
+
4791
+ /**
4792
+ * Creates a ContentfulCategoryDeleted message from a plain object. Also converts values to their respective internal types.
4793
+ * @param object Plain object
4794
+ * @returns ContentfulCategoryDeleted
4795
+ */
4796
+ public static fromObject(object: { [k: string]: any }): ContentfulCategoryDeleted;
4797
+
4798
+ /**
4799
+ * Creates a plain object from a ContentfulCategoryDeleted message. Also converts values to other types if specified.
4800
+ * @param message ContentfulCategoryDeleted
4801
+ * @param [options] Conversion options
4802
+ * @returns Plain object
4803
+ */
4804
+ public static toObject(message: ContentfulCategoryDeleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
4805
+
4806
+ /**
4807
+ * Converts this ContentfulCategoryDeleted to JSON.
4808
+ * @returns JSON object
4809
+ */
4810
+ public toJSON(): { [k: string]: any };
4811
+ }
4812
+
4477
4813
  /** Properties of a ContentfulContentModelCreated. */
4478
4814
  export interface IContentfulContentModelCreated {
4479
4815