@headspace/protos-events 1.204.0 → 1.206.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 +316 -4
- package/lib/index.js +940 -26
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -7000,6 +7000,318 @@ export class ContentfulCategoryDeleted implements IContentfulCategoryDeleted {
|
|
|
7000
7000
|
public toJSON(): { [k: string]: any };
|
|
7001
7001
|
}
|
|
7002
7002
|
|
|
7003
|
+
/** Properties of a ContentfulMediaWrapperCreated. */
|
|
7004
|
+
export interface IContentfulMediaWrapperCreated {
|
|
7005
|
+
|
|
7006
|
+
/** ContentfulMediaWrapperCreated slug */
|
|
7007
|
+
slug?: (string|null);
|
|
7008
|
+
|
|
7009
|
+
/** ContentfulMediaWrapperCreated media */
|
|
7010
|
+
media?: ({ [k: string]: contentful.IIdReference }|null);
|
|
7011
|
+
|
|
7012
|
+
/** ContentfulMediaWrapperCreated caption */
|
|
7013
|
+
caption?: ({ [k: string]: contentful.IIdReference }|null);
|
|
7014
|
+
|
|
7015
|
+
/** ContentfulMediaWrapperCreated createdAt */
|
|
7016
|
+
createdAt?: (number|Long|null);
|
|
7017
|
+
}
|
|
7018
|
+
|
|
7019
|
+
/** Represents a ContentfulMediaWrapperCreated. */
|
|
7020
|
+
export class ContentfulMediaWrapperCreated implements IContentfulMediaWrapperCreated {
|
|
7021
|
+
|
|
7022
|
+
/**
|
|
7023
|
+
* Constructs a new ContentfulMediaWrapperCreated.
|
|
7024
|
+
* @param [properties] Properties to set
|
|
7025
|
+
*/
|
|
7026
|
+
constructor(properties?: IContentfulMediaWrapperCreated);
|
|
7027
|
+
|
|
7028
|
+
/** ContentfulMediaWrapperCreated slug. */
|
|
7029
|
+
public slug: string;
|
|
7030
|
+
|
|
7031
|
+
/** ContentfulMediaWrapperCreated media. */
|
|
7032
|
+
public media: { [k: string]: contentful.IIdReference };
|
|
7033
|
+
|
|
7034
|
+
/** ContentfulMediaWrapperCreated caption. */
|
|
7035
|
+
public caption: { [k: string]: contentful.IIdReference };
|
|
7036
|
+
|
|
7037
|
+
/** ContentfulMediaWrapperCreated createdAt. */
|
|
7038
|
+
public createdAt: (number|Long);
|
|
7039
|
+
|
|
7040
|
+
/**
|
|
7041
|
+
* Creates a new ContentfulMediaWrapperCreated instance using the specified properties.
|
|
7042
|
+
* @param [properties] Properties to set
|
|
7043
|
+
* @returns ContentfulMediaWrapperCreated instance
|
|
7044
|
+
*/
|
|
7045
|
+
public static create(properties?: IContentfulMediaWrapperCreated): ContentfulMediaWrapperCreated;
|
|
7046
|
+
|
|
7047
|
+
/**
|
|
7048
|
+
* Encodes the specified ContentfulMediaWrapperCreated message. Does not implicitly {@link ContentfulMediaWrapperCreated.verify|verify} messages.
|
|
7049
|
+
* @param message ContentfulMediaWrapperCreated message or plain object to encode
|
|
7050
|
+
* @param [writer] Writer to encode to
|
|
7051
|
+
* @returns Writer
|
|
7052
|
+
*/
|
|
7053
|
+
public static encode(message: IContentfulMediaWrapperCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
7054
|
+
|
|
7055
|
+
/**
|
|
7056
|
+
* Encodes the specified ContentfulMediaWrapperCreated message, length delimited. Does not implicitly {@link ContentfulMediaWrapperCreated.verify|verify} messages.
|
|
7057
|
+
* @param message ContentfulMediaWrapperCreated message or plain object to encode
|
|
7058
|
+
* @param [writer] Writer to encode to
|
|
7059
|
+
* @returns Writer
|
|
7060
|
+
*/
|
|
7061
|
+
public static encodeDelimited(message: IContentfulMediaWrapperCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
7062
|
+
|
|
7063
|
+
/**
|
|
7064
|
+
* Decodes a ContentfulMediaWrapperCreated message from the specified reader or buffer.
|
|
7065
|
+
* @param reader Reader or buffer to decode from
|
|
7066
|
+
* @param [length] Message length if known beforehand
|
|
7067
|
+
* @returns ContentfulMediaWrapperCreated
|
|
7068
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7069
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7070
|
+
*/
|
|
7071
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ContentfulMediaWrapperCreated;
|
|
7072
|
+
|
|
7073
|
+
/**
|
|
7074
|
+
* Decodes a ContentfulMediaWrapperCreated message from the specified reader or buffer, length delimited.
|
|
7075
|
+
* @param reader Reader or buffer to decode from
|
|
7076
|
+
* @returns ContentfulMediaWrapperCreated
|
|
7077
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7078
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7079
|
+
*/
|
|
7080
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ContentfulMediaWrapperCreated;
|
|
7081
|
+
|
|
7082
|
+
/**
|
|
7083
|
+
* Verifies a ContentfulMediaWrapperCreated message.
|
|
7084
|
+
* @param message Plain object to verify
|
|
7085
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
7086
|
+
*/
|
|
7087
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
7088
|
+
|
|
7089
|
+
/**
|
|
7090
|
+
* Creates a ContentfulMediaWrapperCreated message from a plain object. Also converts values to their respective internal types.
|
|
7091
|
+
* @param object Plain object
|
|
7092
|
+
* @returns ContentfulMediaWrapperCreated
|
|
7093
|
+
*/
|
|
7094
|
+
public static fromObject(object: { [k: string]: any }): ContentfulMediaWrapperCreated;
|
|
7095
|
+
|
|
7096
|
+
/**
|
|
7097
|
+
* Creates a plain object from a ContentfulMediaWrapperCreated message. Also converts values to other types if specified.
|
|
7098
|
+
* @param message ContentfulMediaWrapperCreated
|
|
7099
|
+
* @param [options] Conversion options
|
|
7100
|
+
* @returns Plain object
|
|
7101
|
+
*/
|
|
7102
|
+
public static toObject(message: ContentfulMediaWrapperCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
7103
|
+
|
|
7104
|
+
/**
|
|
7105
|
+
* Converts this ContentfulMediaWrapperCreated to JSON.
|
|
7106
|
+
* @returns JSON object
|
|
7107
|
+
*/
|
|
7108
|
+
public toJSON(): { [k: string]: any };
|
|
7109
|
+
}
|
|
7110
|
+
|
|
7111
|
+
/** Properties of a ContentfulMediaWrapperUpdated. */
|
|
7112
|
+
export interface IContentfulMediaWrapperUpdated {
|
|
7113
|
+
|
|
7114
|
+
/** ContentfulMediaWrapperUpdated slug */
|
|
7115
|
+
slug?: (string|null);
|
|
7116
|
+
|
|
7117
|
+
/** ContentfulMediaWrapperUpdated media */
|
|
7118
|
+
media?: ({ [k: string]: contentful.IIdReference }|null);
|
|
7119
|
+
|
|
7120
|
+
/** ContentfulMediaWrapperUpdated caption */
|
|
7121
|
+
caption?: ({ [k: string]: contentful.IIdReference }|null);
|
|
7122
|
+
|
|
7123
|
+
/** ContentfulMediaWrapperUpdated updatedAt */
|
|
7124
|
+
updatedAt?: (number|Long|null);
|
|
7125
|
+
}
|
|
7126
|
+
|
|
7127
|
+
/** Represents a ContentfulMediaWrapperUpdated. */
|
|
7128
|
+
export class ContentfulMediaWrapperUpdated implements IContentfulMediaWrapperUpdated {
|
|
7129
|
+
|
|
7130
|
+
/**
|
|
7131
|
+
* Constructs a new ContentfulMediaWrapperUpdated.
|
|
7132
|
+
* @param [properties] Properties to set
|
|
7133
|
+
*/
|
|
7134
|
+
constructor(properties?: IContentfulMediaWrapperUpdated);
|
|
7135
|
+
|
|
7136
|
+
/** ContentfulMediaWrapperUpdated slug. */
|
|
7137
|
+
public slug: string;
|
|
7138
|
+
|
|
7139
|
+
/** ContentfulMediaWrapperUpdated media. */
|
|
7140
|
+
public media: { [k: string]: contentful.IIdReference };
|
|
7141
|
+
|
|
7142
|
+
/** ContentfulMediaWrapperUpdated caption. */
|
|
7143
|
+
public caption: { [k: string]: contentful.IIdReference };
|
|
7144
|
+
|
|
7145
|
+
/** ContentfulMediaWrapperUpdated updatedAt. */
|
|
7146
|
+
public updatedAt: (number|Long);
|
|
7147
|
+
|
|
7148
|
+
/**
|
|
7149
|
+
* Creates a new ContentfulMediaWrapperUpdated instance using the specified properties.
|
|
7150
|
+
* @param [properties] Properties to set
|
|
7151
|
+
* @returns ContentfulMediaWrapperUpdated instance
|
|
7152
|
+
*/
|
|
7153
|
+
public static create(properties?: IContentfulMediaWrapperUpdated): ContentfulMediaWrapperUpdated;
|
|
7154
|
+
|
|
7155
|
+
/**
|
|
7156
|
+
* Encodes the specified ContentfulMediaWrapperUpdated message. Does not implicitly {@link ContentfulMediaWrapperUpdated.verify|verify} messages.
|
|
7157
|
+
* @param message ContentfulMediaWrapperUpdated message or plain object to encode
|
|
7158
|
+
* @param [writer] Writer to encode to
|
|
7159
|
+
* @returns Writer
|
|
7160
|
+
*/
|
|
7161
|
+
public static encode(message: IContentfulMediaWrapperUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
7162
|
+
|
|
7163
|
+
/**
|
|
7164
|
+
* Encodes the specified ContentfulMediaWrapperUpdated message, length delimited. Does not implicitly {@link ContentfulMediaWrapperUpdated.verify|verify} messages.
|
|
7165
|
+
* @param message ContentfulMediaWrapperUpdated message or plain object to encode
|
|
7166
|
+
* @param [writer] Writer to encode to
|
|
7167
|
+
* @returns Writer
|
|
7168
|
+
*/
|
|
7169
|
+
public static encodeDelimited(message: IContentfulMediaWrapperUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
7170
|
+
|
|
7171
|
+
/**
|
|
7172
|
+
* Decodes a ContentfulMediaWrapperUpdated message from the specified reader or buffer.
|
|
7173
|
+
* @param reader Reader or buffer to decode from
|
|
7174
|
+
* @param [length] Message length if known beforehand
|
|
7175
|
+
* @returns ContentfulMediaWrapperUpdated
|
|
7176
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7177
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7178
|
+
*/
|
|
7179
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ContentfulMediaWrapperUpdated;
|
|
7180
|
+
|
|
7181
|
+
/**
|
|
7182
|
+
* Decodes a ContentfulMediaWrapperUpdated message from the specified reader or buffer, length delimited.
|
|
7183
|
+
* @param reader Reader or buffer to decode from
|
|
7184
|
+
* @returns ContentfulMediaWrapperUpdated
|
|
7185
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7186
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7187
|
+
*/
|
|
7188
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ContentfulMediaWrapperUpdated;
|
|
7189
|
+
|
|
7190
|
+
/**
|
|
7191
|
+
* Verifies a ContentfulMediaWrapperUpdated message.
|
|
7192
|
+
* @param message Plain object to verify
|
|
7193
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
7194
|
+
*/
|
|
7195
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
7196
|
+
|
|
7197
|
+
/**
|
|
7198
|
+
* Creates a ContentfulMediaWrapperUpdated message from a plain object. Also converts values to their respective internal types.
|
|
7199
|
+
* @param object Plain object
|
|
7200
|
+
* @returns ContentfulMediaWrapperUpdated
|
|
7201
|
+
*/
|
|
7202
|
+
public static fromObject(object: { [k: string]: any }): ContentfulMediaWrapperUpdated;
|
|
7203
|
+
|
|
7204
|
+
/**
|
|
7205
|
+
* Creates a plain object from a ContentfulMediaWrapperUpdated message. Also converts values to other types if specified.
|
|
7206
|
+
* @param message ContentfulMediaWrapperUpdated
|
|
7207
|
+
* @param [options] Conversion options
|
|
7208
|
+
* @returns Plain object
|
|
7209
|
+
*/
|
|
7210
|
+
public static toObject(message: ContentfulMediaWrapperUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
7211
|
+
|
|
7212
|
+
/**
|
|
7213
|
+
* Converts this ContentfulMediaWrapperUpdated to JSON.
|
|
7214
|
+
* @returns JSON object
|
|
7215
|
+
*/
|
|
7216
|
+
public toJSON(): { [k: string]: any };
|
|
7217
|
+
}
|
|
7218
|
+
|
|
7219
|
+
/** Properties of a ContentfulMediaWrapperDeleted. */
|
|
7220
|
+
export interface IContentfulMediaWrapperDeleted {
|
|
7221
|
+
|
|
7222
|
+
/** ContentfulMediaWrapperDeleted slug */
|
|
7223
|
+
slug?: (string|null);
|
|
7224
|
+
|
|
7225
|
+
/** ContentfulMediaWrapperDeleted deletedAt */
|
|
7226
|
+
deletedAt?: (number|Long|null);
|
|
7227
|
+
}
|
|
7228
|
+
|
|
7229
|
+
/** Represents a ContentfulMediaWrapperDeleted. */
|
|
7230
|
+
export class ContentfulMediaWrapperDeleted implements IContentfulMediaWrapperDeleted {
|
|
7231
|
+
|
|
7232
|
+
/**
|
|
7233
|
+
* Constructs a new ContentfulMediaWrapperDeleted.
|
|
7234
|
+
* @param [properties] Properties to set
|
|
7235
|
+
*/
|
|
7236
|
+
constructor(properties?: IContentfulMediaWrapperDeleted);
|
|
7237
|
+
|
|
7238
|
+
/** ContentfulMediaWrapperDeleted slug. */
|
|
7239
|
+
public slug: string;
|
|
7240
|
+
|
|
7241
|
+
/** ContentfulMediaWrapperDeleted deletedAt. */
|
|
7242
|
+
public deletedAt: (number|Long);
|
|
7243
|
+
|
|
7244
|
+
/**
|
|
7245
|
+
* Creates a new ContentfulMediaWrapperDeleted instance using the specified properties.
|
|
7246
|
+
* @param [properties] Properties to set
|
|
7247
|
+
* @returns ContentfulMediaWrapperDeleted instance
|
|
7248
|
+
*/
|
|
7249
|
+
public static create(properties?: IContentfulMediaWrapperDeleted): ContentfulMediaWrapperDeleted;
|
|
7250
|
+
|
|
7251
|
+
/**
|
|
7252
|
+
* Encodes the specified ContentfulMediaWrapperDeleted message. Does not implicitly {@link ContentfulMediaWrapperDeleted.verify|verify} messages.
|
|
7253
|
+
* @param message ContentfulMediaWrapperDeleted message or plain object to encode
|
|
7254
|
+
* @param [writer] Writer to encode to
|
|
7255
|
+
* @returns Writer
|
|
7256
|
+
*/
|
|
7257
|
+
public static encode(message: IContentfulMediaWrapperDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
7258
|
+
|
|
7259
|
+
/**
|
|
7260
|
+
* Encodes the specified ContentfulMediaWrapperDeleted message, length delimited. Does not implicitly {@link ContentfulMediaWrapperDeleted.verify|verify} messages.
|
|
7261
|
+
* @param message ContentfulMediaWrapperDeleted message or plain object to encode
|
|
7262
|
+
* @param [writer] Writer to encode to
|
|
7263
|
+
* @returns Writer
|
|
7264
|
+
*/
|
|
7265
|
+
public static encodeDelimited(message: IContentfulMediaWrapperDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
7266
|
+
|
|
7267
|
+
/**
|
|
7268
|
+
* Decodes a ContentfulMediaWrapperDeleted message from the specified reader or buffer.
|
|
7269
|
+
* @param reader Reader or buffer to decode from
|
|
7270
|
+
* @param [length] Message length if known beforehand
|
|
7271
|
+
* @returns ContentfulMediaWrapperDeleted
|
|
7272
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7273
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7274
|
+
*/
|
|
7275
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ContentfulMediaWrapperDeleted;
|
|
7276
|
+
|
|
7277
|
+
/**
|
|
7278
|
+
* Decodes a ContentfulMediaWrapperDeleted message from the specified reader or buffer, length delimited.
|
|
7279
|
+
* @param reader Reader or buffer to decode from
|
|
7280
|
+
* @returns ContentfulMediaWrapperDeleted
|
|
7281
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7282
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7283
|
+
*/
|
|
7284
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ContentfulMediaWrapperDeleted;
|
|
7285
|
+
|
|
7286
|
+
/**
|
|
7287
|
+
* Verifies a ContentfulMediaWrapperDeleted message.
|
|
7288
|
+
* @param message Plain object to verify
|
|
7289
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
7290
|
+
*/
|
|
7291
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
7292
|
+
|
|
7293
|
+
/**
|
|
7294
|
+
* Creates a ContentfulMediaWrapperDeleted message from a plain object. Also converts values to their respective internal types.
|
|
7295
|
+
* @param object Plain object
|
|
7296
|
+
* @returns ContentfulMediaWrapperDeleted
|
|
7297
|
+
*/
|
|
7298
|
+
public static fromObject(object: { [k: string]: any }): ContentfulMediaWrapperDeleted;
|
|
7299
|
+
|
|
7300
|
+
/**
|
|
7301
|
+
* Creates a plain object from a ContentfulMediaWrapperDeleted message. Also converts values to other types if specified.
|
|
7302
|
+
* @param message ContentfulMediaWrapperDeleted
|
|
7303
|
+
* @param [options] Conversion options
|
|
7304
|
+
* @returns Plain object
|
|
7305
|
+
*/
|
|
7306
|
+
public static toObject(message: ContentfulMediaWrapperDeleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
7307
|
+
|
|
7308
|
+
/**
|
|
7309
|
+
* Converts this ContentfulMediaWrapperDeleted to JSON.
|
|
7310
|
+
* @returns JSON object
|
|
7311
|
+
*/
|
|
7312
|
+
public toJSON(): { [k: string]: any };
|
|
7313
|
+
}
|
|
7314
|
+
|
|
7003
7315
|
/** Properties of a ContentfulTopicCreated. */
|
|
7004
7316
|
export interface IContentfulTopicCreated {
|
|
7005
7317
|
|
|
@@ -10661,7 +10973,7 @@ export interface IContentfulSleepcastCreated {
|
|
|
10661
10973
|
playerBackgroundMedia?: ({ [k: string]: contentful.IIdReference }|null);
|
|
10662
10974
|
|
|
10663
10975
|
/** ContentfulSleepcastCreated useVariantPresets */
|
|
10664
|
-
useVariantPresets?: (boolean|null);
|
|
10976
|
+
useVariantPresets?: ({ [k: string]: boolean }|null);
|
|
10665
10977
|
|
|
10666
10978
|
/** ContentfulSleepcastCreated isEnabled */
|
|
10667
10979
|
isEnabled?: (boolean|null);
|
|
@@ -10719,7 +11031,7 @@ export class ContentfulSleepcastCreated implements IContentfulSleepcastCreated {
|
|
|
10719
11031
|
public playerBackgroundMedia: { [k: string]: contentful.IIdReference };
|
|
10720
11032
|
|
|
10721
11033
|
/** ContentfulSleepcastCreated useVariantPresets. */
|
|
10722
|
-
public useVariantPresets: boolean;
|
|
11034
|
+
public useVariantPresets: { [k: string]: boolean };
|
|
10723
11035
|
|
|
10724
11036
|
/** ContentfulSleepcastCreated isEnabled. */
|
|
10725
11037
|
public isEnabled: boolean;
|
|
@@ -10841,7 +11153,7 @@ export interface IContentfulSleepcastUpdated {
|
|
|
10841
11153
|
playerBackgroundMedia?: ({ [k: string]: contentful.IIdReference }|null);
|
|
10842
11154
|
|
|
10843
11155
|
/** ContentfulSleepcastUpdated useVariantPresets */
|
|
10844
|
-
useVariantPresets?: (boolean|null);
|
|
11156
|
+
useVariantPresets?: ({ [k: string]: boolean }|null);
|
|
10845
11157
|
|
|
10846
11158
|
/** ContentfulSleepcastUpdated isEnabled */
|
|
10847
11159
|
isEnabled?: (boolean|null);
|
|
@@ -10899,7 +11211,7 @@ export class ContentfulSleepcastUpdated implements IContentfulSleepcastUpdated {
|
|
|
10899
11211
|
public playerBackgroundMedia: { [k: string]: contentful.IIdReference };
|
|
10900
11212
|
|
|
10901
11213
|
/** ContentfulSleepcastUpdated useVariantPresets. */
|
|
10902
|
-
public useVariantPresets: boolean;
|
|
11214
|
+
public useVariantPresets: { [k: string]: boolean };
|
|
10903
11215
|
|
|
10904
11216
|
/** ContentfulSleepcastUpdated isEnabled. */
|
|
10905
11217
|
public isEnabled: boolean;
|