@headspace/protos-events 1.125.0 → 1.127.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 +412 -4
  2. package/lib/index.js +1352 -76
  3. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -4484,7 +4484,7 @@ export interface IContentfulCategoryCreated {
4484
4484
  slug?: (string|null);
4485
4485
 
4486
4486
  /** ContentfulCategoryCreated topic */
4487
- topic?: ({ [k: string]: contentful.ISlugReference }|null);
4487
+ topic?: (contentful.ISlugReference|null);
4488
4488
 
4489
4489
  /** ContentfulCategoryCreated type */
4490
4490
  type?: (string|null);
@@ -4512,7 +4512,7 @@ export class ContentfulCategoryCreated implements IContentfulCategoryCreated {
4512
4512
  public slug: string;
4513
4513
 
4514
4514
  /** ContentfulCategoryCreated topic. */
4515
- public topic: { [k: string]: contentful.ISlugReference };
4515
+ public topic?: (contentful.ISlugReference|null);
4516
4516
 
4517
4517
  /** ContentfulCategoryCreated type. */
4518
4518
  public type: string;
@@ -4604,7 +4604,7 @@ export interface IContentfulCategoryUpdated {
4604
4604
  slug?: (string|null);
4605
4605
 
4606
4606
  /** ContentfulCategoryUpdated topic */
4607
- topic?: ({ [k: string]: contentful.ISlugReference }|null);
4607
+ topic?: (contentful.ISlugReference|null);
4608
4608
 
4609
4609
  /** ContentfulCategoryUpdated type */
4610
4610
  type?: (string|null);
@@ -4632,7 +4632,7 @@ export class ContentfulCategoryUpdated implements IContentfulCategoryUpdated {
4632
4632
  public slug: string;
4633
4633
 
4634
4634
  /** ContentfulCategoryUpdated topic. */
4635
- public topic: { [k: string]: contentful.ISlugReference };
4635
+ public topic?: (contentful.ISlugReference|null);
4636
4636
 
4637
4637
  /** ContentfulCategoryUpdated type. */
4638
4638
  public type: string;
@@ -4810,6 +4810,414 @@ export class ContentfulCategoryDeleted implements IContentfulCategoryDeleted {
4810
4810
  public toJSON(): { [k: string]: any };
4811
4811
  }
4812
4812
 
4813
+ /** Properties of a ContentfulTopicCreated. */
4814
+ export interface IContentfulTopicCreated {
4815
+
4816
+ /** ContentfulTopicCreated name */
4817
+ name?: (string|null);
4818
+
4819
+ /** ContentfulTopicCreated slug */
4820
+ slug?: (string|null);
4821
+
4822
+ /** ContentfulTopicCreated description */
4823
+ description?: (string|null);
4824
+
4825
+ /** ContentfulTopicCreated location */
4826
+ location?: (string|null);
4827
+
4828
+ /** ContentfulTopicCreated primaryColor */
4829
+ primaryColor?: (string|null);
4830
+
4831
+ /** ContentfulTopicCreated secondaryColor */
4832
+ secondaryColor?: (string|null);
4833
+
4834
+ /** ContentfulTopicCreated tertiaryColor */
4835
+ tertiaryColor?: (string|null);
4836
+
4837
+ /** ContentfulTopicCreated iconMedia */
4838
+ iconMedia?: ({ [k: string]: contentful.IIdReference }|null);
4839
+
4840
+ /** ContentfulTopicCreated headerPatternMedia */
4841
+ headerPatternMedia?: ({ [k: string]: contentful.IIdReference }|null);
4842
+
4843
+ /** ContentfulTopicCreated menuPatternMedia */
4844
+ menuPatternMedia?: ({ [k: string]: contentful.IIdReference }|null);
4845
+
4846
+ /** ContentfulTopicCreated accessGroups */
4847
+ accessGroups?: (contentful.ISlugReference[]|null);
4848
+
4849
+ /** ContentfulTopicCreated createdAt */
4850
+ createdAt?: (number|Long|null);
4851
+ }
4852
+
4853
+ /** Represents a ContentfulTopicCreated. */
4854
+ export class ContentfulTopicCreated implements IContentfulTopicCreated {
4855
+
4856
+ /**
4857
+ * Constructs a new ContentfulTopicCreated.
4858
+ * @param [properties] Properties to set
4859
+ */
4860
+ constructor(properties?: IContentfulTopicCreated);
4861
+
4862
+ /** ContentfulTopicCreated name. */
4863
+ public name: string;
4864
+
4865
+ /** ContentfulTopicCreated slug. */
4866
+ public slug: string;
4867
+
4868
+ /** ContentfulTopicCreated description. */
4869
+ public description: string;
4870
+
4871
+ /** ContentfulTopicCreated location. */
4872
+ public location: string;
4873
+
4874
+ /** ContentfulTopicCreated primaryColor. */
4875
+ public primaryColor: string;
4876
+
4877
+ /** ContentfulTopicCreated secondaryColor. */
4878
+ public secondaryColor: string;
4879
+
4880
+ /** ContentfulTopicCreated tertiaryColor. */
4881
+ public tertiaryColor: string;
4882
+
4883
+ /** ContentfulTopicCreated iconMedia. */
4884
+ public iconMedia: { [k: string]: contentful.IIdReference };
4885
+
4886
+ /** ContentfulTopicCreated headerPatternMedia. */
4887
+ public headerPatternMedia: { [k: string]: contentful.IIdReference };
4888
+
4889
+ /** ContentfulTopicCreated menuPatternMedia. */
4890
+ public menuPatternMedia: { [k: string]: contentful.IIdReference };
4891
+
4892
+ /** ContentfulTopicCreated accessGroups. */
4893
+ public accessGroups: contentful.ISlugReference[];
4894
+
4895
+ /** ContentfulTopicCreated createdAt. */
4896
+ public createdAt: (number|Long);
4897
+
4898
+ /**
4899
+ * Creates a new ContentfulTopicCreated instance using the specified properties.
4900
+ * @param [properties] Properties to set
4901
+ * @returns ContentfulTopicCreated instance
4902
+ */
4903
+ public static create(properties?: IContentfulTopicCreated): ContentfulTopicCreated;
4904
+
4905
+ /**
4906
+ * Encodes the specified ContentfulTopicCreated message. Does not implicitly {@link ContentfulTopicCreated.verify|verify} messages.
4907
+ * @param message ContentfulTopicCreated message or plain object to encode
4908
+ * @param [writer] Writer to encode to
4909
+ * @returns Writer
4910
+ */
4911
+ public static encode(message: IContentfulTopicCreated, writer?: $protobuf.Writer): $protobuf.Writer;
4912
+
4913
+ /**
4914
+ * Encodes the specified ContentfulTopicCreated message, length delimited. Does not implicitly {@link ContentfulTopicCreated.verify|verify} messages.
4915
+ * @param message ContentfulTopicCreated message or plain object to encode
4916
+ * @param [writer] Writer to encode to
4917
+ * @returns Writer
4918
+ */
4919
+ public static encodeDelimited(message: IContentfulTopicCreated, writer?: $protobuf.Writer): $protobuf.Writer;
4920
+
4921
+ /**
4922
+ * Decodes a ContentfulTopicCreated message from the specified reader or buffer.
4923
+ * @param reader Reader or buffer to decode from
4924
+ * @param [length] Message length if known beforehand
4925
+ * @returns ContentfulTopicCreated
4926
+ * @throws {Error} If the payload is not a reader or valid buffer
4927
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4928
+ */
4929
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ContentfulTopicCreated;
4930
+
4931
+ /**
4932
+ * Decodes a ContentfulTopicCreated message from the specified reader or buffer, length delimited.
4933
+ * @param reader Reader or buffer to decode from
4934
+ * @returns ContentfulTopicCreated
4935
+ * @throws {Error} If the payload is not a reader or valid buffer
4936
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4937
+ */
4938
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ContentfulTopicCreated;
4939
+
4940
+ /**
4941
+ * Verifies a ContentfulTopicCreated message.
4942
+ * @param message Plain object to verify
4943
+ * @returns `null` if valid, otherwise the reason why it is not
4944
+ */
4945
+ public static verify(message: { [k: string]: any }): (string|null);
4946
+
4947
+ /**
4948
+ * Creates a ContentfulTopicCreated message from a plain object. Also converts values to their respective internal types.
4949
+ * @param object Plain object
4950
+ * @returns ContentfulTopicCreated
4951
+ */
4952
+ public static fromObject(object: { [k: string]: any }): ContentfulTopicCreated;
4953
+
4954
+ /**
4955
+ * Creates a plain object from a ContentfulTopicCreated message. Also converts values to other types if specified.
4956
+ * @param message ContentfulTopicCreated
4957
+ * @param [options] Conversion options
4958
+ * @returns Plain object
4959
+ */
4960
+ public static toObject(message: ContentfulTopicCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
4961
+
4962
+ /**
4963
+ * Converts this ContentfulTopicCreated to JSON.
4964
+ * @returns JSON object
4965
+ */
4966
+ public toJSON(): { [k: string]: any };
4967
+ }
4968
+
4969
+ /** Properties of a ContentfulTopicUpdated. */
4970
+ export interface IContentfulTopicUpdated {
4971
+
4972
+ /** ContentfulTopicUpdated name */
4973
+ name?: (string|null);
4974
+
4975
+ /** ContentfulTopicUpdated slug */
4976
+ slug?: (string|null);
4977
+
4978
+ /** ContentfulTopicUpdated description */
4979
+ description?: (string|null);
4980
+
4981
+ /** ContentfulTopicUpdated location */
4982
+ location?: (string|null);
4983
+
4984
+ /** ContentfulTopicUpdated primaryColor */
4985
+ primaryColor?: (string|null);
4986
+
4987
+ /** ContentfulTopicUpdated secondaryColor */
4988
+ secondaryColor?: (string|null);
4989
+
4990
+ /** ContentfulTopicUpdated tertiaryColor */
4991
+ tertiaryColor?: (string|null);
4992
+
4993
+ /** ContentfulTopicUpdated iconMedia */
4994
+ iconMedia?: ({ [k: string]: contentful.IIdReference }|null);
4995
+
4996
+ /** ContentfulTopicUpdated headerPatternMedia */
4997
+ headerPatternMedia?: ({ [k: string]: contentful.IIdReference }|null);
4998
+
4999
+ /** ContentfulTopicUpdated menuPatternMedia */
5000
+ menuPatternMedia?: ({ [k: string]: contentful.IIdReference }|null);
5001
+
5002
+ /** ContentfulTopicUpdated accessGroups */
5003
+ accessGroups?: (contentful.ISlugReference[]|null);
5004
+
5005
+ /** ContentfulTopicUpdated updatedAt */
5006
+ updatedAt?: (number|Long|null);
5007
+ }
5008
+
5009
+ /** Represents a ContentfulTopicUpdated. */
5010
+ export class ContentfulTopicUpdated implements IContentfulTopicUpdated {
5011
+
5012
+ /**
5013
+ * Constructs a new ContentfulTopicUpdated.
5014
+ * @param [properties] Properties to set
5015
+ */
5016
+ constructor(properties?: IContentfulTopicUpdated);
5017
+
5018
+ /** ContentfulTopicUpdated name. */
5019
+ public name: string;
5020
+
5021
+ /** ContentfulTopicUpdated slug. */
5022
+ public slug: string;
5023
+
5024
+ /** ContentfulTopicUpdated description. */
5025
+ public description: string;
5026
+
5027
+ /** ContentfulTopicUpdated location. */
5028
+ public location: string;
5029
+
5030
+ /** ContentfulTopicUpdated primaryColor. */
5031
+ public primaryColor: string;
5032
+
5033
+ /** ContentfulTopicUpdated secondaryColor. */
5034
+ public secondaryColor: string;
5035
+
5036
+ /** ContentfulTopicUpdated tertiaryColor. */
5037
+ public tertiaryColor: string;
5038
+
5039
+ /** ContentfulTopicUpdated iconMedia. */
5040
+ public iconMedia: { [k: string]: contentful.IIdReference };
5041
+
5042
+ /** ContentfulTopicUpdated headerPatternMedia. */
5043
+ public headerPatternMedia: { [k: string]: contentful.IIdReference };
5044
+
5045
+ /** ContentfulTopicUpdated menuPatternMedia. */
5046
+ public menuPatternMedia: { [k: string]: contentful.IIdReference };
5047
+
5048
+ /** ContentfulTopicUpdated accessGroups. */
5049
+ public accessGroups: contentful.ISlugReference[];
5050
+
5051
+ /** ContentfulTopicUpdated updatedAt. */
5052
+ public updatedAt: (number|Long);
5053
+
5054
+ /**
5055
+ * Creates a new ContentfulTopicUpdated instance using the specified properties.
5056
+ * @param [properties] Properties to set
5057
+ * @returns ContentfulTopicUpdated instance
5058
+ */
5059
+ public static create(properties?: IContentfulTopicUpdated): ContentfulTopicUpdated;
5060
+
5061
+ /**
5062
+ * Encodes the specified ContentfulTopicUpdated message. Does not implicitly {@link ContentfulTopicUpdated.verify|verify} messages.
5063
+ * @param message ContentfulTopicUpdated message or plain object to encode
5064
+ * @param [writer] Writer to encode to
5065
+ * @returns Writer
5066
+ */
5067
+ public static encode(message: IContentfulTopicUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
5068
+
5069
+ /**
5070
+ * Encodes the specified ContentfulTopicUpdated message, length delimited. Does not implicitly {@link ContentfulTopicUpdated.verify|verify} messages.
5071
+ * @param message ContentfulTopicUpdated message or plain object to encode
5072
+ * @param [writer] Writer to encode to
5073
+ * @returns Writer
5074
+ */
5075
+ public static encodeDelimited(message: IContentfulTopicUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
5076
+
5077
+ /**
5078
+ * Decodes a ContentfulTopicUpdated message from the specified reader or buffer.
5079
+ * @param reader Reader or buffer to decode from
5080
+ * @param [length] Message length if known beforehand
5081
+ * @returns ContentfulTopicUpdated
5082
+ * @throws {Error} If the payload is not a reader or valid buffer
5083
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5084
+ */
5085
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ContentfulTopicUpdated;
5086
+
5087
+ /**
5088
+ * Decodes a ContentfulTopicUpdated message from the specified reader or buffer, length delimited.
5089
+ * @param reader Reader or buffer to decode from
5090
+ * @returns ContentfulTopicUpdated
5091
+ * @throws {Error} If the payload is not a reader or valid buffer
5092
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5093
+ */
5094
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ContentfulTopicUpdated;
5095
+
5096
+ /**
5097
+ * Verifies a ContentfulTopicUpdated message.
5098
+ * @param message Plain object to verify
5099
+ * @returns `null` if valid, otherwise the reason why it is not
5100
+ */
5101
+ public static verify(message: { [k: string]: any }): (string|null);
5102
+
5103
+ /**
5104
+ * Creates a ContentfulTopicUpdated message from a plain object. Also converts values to their respective internal types.
5105
+ * @param object Plain object
5106
+ * @returns ContentfulTopicUpdated
5107
+ */
5108
+ public static fromObject(object: { [k: string]: any }): ContentfulTopicUpdated;
5109
+
5110
+ /**
5111
+ * Creates a plain object from a ContentfulTopicUpdated message. Also converts values to other types if specified.
5112
+ * @param message ContentfulTopicUpdated
5113
+ * @param [options] Conversion options
5114
+ * @returns Plain object
5115
+ */
5116
+ public static toObject(message: ContentfulTopicUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
5117
+
5118
+ /**
5119
+ * Converts this ContentfulTopicUpdated to JSON.
5120
+ * @returns JSON object
5121
+ */
5122
+ public toJSON(): { [k: string]: any };
5123
+ }
5124
+
5125
+ /** Properties of a ContentfulTopicDeleted. */
5126
+ export interface IContentfulTopicDeleted {
5127
+
5128
+ /** ContentfulTopicDeleted slug */
5129
+ slug?: (string|null);
5130
+
5131
+ /** ContentfulTopicDeleted deletedAt */
5132
+ deletedAt?: (number|Long|null);
5133
+ }
5134
+
5135
+ /** Represents a ContentfulTopicDeleted. */
5136
+ export class ContentfulTopicDeleted implements IContentfulTopicDeleted {
5137
+
5138
+ /**
5139
+ * Constructs a new ContentfulTopicDeleted.
5140
+ * @param [properties] Properties to set
5141
+ */
5142
+ constructor(properties?: IContentfulTopicDeleted);
5143
+
5144
+ /** ContentfulTopicDeleted slug. */
5145
+ public slug: string;
5146
+
5147
+ /** ContentfulTopicDeleted deletedAt. */
5148
+ public deletedAt: (number|Long);
5149
+
5150
+ /**
5151
+ * Creates a new ContentfulTopicDeleted instance using the specified properties.
5152
+ * @param [properties] Properties to set
5153
+ * @returns ContentfulTopicDeleted instance
5154
+ */
5155
+ public static create(properties?: IContentfulTopicDeleted): ContentfulTopicDeleted;
5156
+
5157
+ /**
5158
+ * Encodes the specified ContentfulTopicDeleted message. Does not implicitly {@link ContentfulTopicDeleted.verify|verify} messages.
5159
+ * @param message ContentfulTopicDeleted message or plain object to encode
5160
+ * @param [writer] Writer to encode to
5161
+ * @returns Writer
5162
+ */
5163
+ public static encode(message: IContentfulTopicDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
5164
+
5165
+ /**
5166
+ * Encodes the specified ContentfulTopicDeleted message, length delimited. Does not implicitly {@link ContentfulTopicDeleted.verify|verify} messages.
5167
+ * @param message ContentfulTopicDeleted message or plain object to encode
5168
+ * @param [writer] Writer to encode to
5169
+ * @returns Writer
5170
+ */
5171
+ public static encodeDelimited(message: IContentfulTopicDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
5172
+
5173
+ /**
5174
+ * Decodes a ContentfulTopicDeleted message from the specified reader or buffer.
5175
+ * @param reader Reader or buffer to decode from
5176
+ * @param [length] Message length if known beforehand
5177
+ * @returns ContentfulTopicDeleted
5178
+ * @throws {Error} If the payload is not a reader or valid buffer
5179
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5180
+ */
5181
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ContentfulTopicDeleted;
5182
+
5183
+ /**
5184
+ * Decodes a ContentfulTopicDeleted message from the specified reader or buffer, length delimited.
5185
+ * @param reader Reader or buffer to decode from
5186
+ * @returns ContentfulTopicDeleted
5187
+ * @throws {Error} If the payload is not a reader or valid buffer
5188
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5189
+ */
5190
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ContentfulTopicDeleted;
5191
+
5192
+ /**
5193
+ * Verifies a ContentfulTopicDeleted message.
5194
+ * @param message Plain object to verify
5195
+ * @returns `null` if valid, otherwise the reason why it is not
5196
+ */
5197
+ public static verify(message: { [k: string]: any }): (string|null);
5198
+
5199
+ /**
5200
+ * Creates a ContentfulTopicDeleted message from a plain object. Also converts values to their respective internal types.
5201
+ * @param object Plain object
5202
+ * @returns ContentfulTopicDeleted
5203
+ */
5204
+ public static fromObject(object: { [k: string]: any }): ContentfulTopicDeleted;
5205
+
5206
+ /**
5207
+ * Creates a plain object from a ContentfulTopicDeleted message. Also converts values to other types if specified.
5208
+ * @param message ContentfulTopicDeleted
5209
+ * @param [options] Conversion options
5210
+ * @returns Plain object
5211
+ */
5212
+ public static toObject(message: ContentfulTopicDeleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
5213
+
5214
+ /**
5215
+ * Converts this ContentfulTopicDeleted to JSON.
5216
+ * @returns JSON object
5217
+ */
5218
+ public toJSON(): { [k: string]: any };
5219
+ }
5220
+
4813
5221
  /** Properties of a ContentfulContentModelCreated. */
4814
5222
  export interface IContentfulContentModelCreated {
4815
5223