@headspace/protos-events 1.160.0 → 1.162.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 +30 -216
- package/lib/index.js +110 -590
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -3861,6 +3861,21 @@ export namespace asset {
|
|
|
3861
3861
|
|
|
3862
3862
|
/** Narrator gender */
|
|
3863
3863
|
gender?: (asset.Gender|null);
|
|
3864
|
+
|
|
3865
|
+
/** Narrator firstName */
|
|
3866
|
+
firstName?: (string|null);
|
|
3867
|
+
|
|
3868
|
+
/** Narrator lastName */
|
|
3869
|
+
lastName?: (string|null);
|
|
3870
|
+
|
|
3871
|
+
/** Narrator bio */
|
|
3872
|
+
bio?: (string|null);
|
|
3873
|
+
|
|
3874
|
+
/** Narrator title */
|
|
3875
|
+
title?: (string|null);
|
|
3876
|
+
|
|
3877
|
+
/** Narrator thumbnailMediaId */
|
|
3878
|
+
thumbnailMediaId?: (number|null);
|
|
3864
3879
|
}
|
|
3865
3880
|
|
|
3866
3881
|
/** Represents a Narrator. */
|
|
@@ -3881,6 +3896,21 @@ export namespace asset {
|
|
|
3881
3896
|
/** Narrator gender. */
|
|
3882
3897
|
public gender: asset.Gender;
|
|
3883
3898
|
|
|
3899
|
+
/** Narrator firstName. */
|
|
3900
|
+
public firstName: string;
|
|
3901
|
+
|
|
3902
|
+
/** Narrator lastName. */
|
|
3903
|
+
public lastName: string;
|
|
3904
|
+
|
|
3905
|
+
/** Narrator bio. */
|
|
3906
|
+
public bio: string;
|
|
3907
|
+
|
|
3908
|
+
/** Narrator title. */
|
|
3909
|
+
public title: string;
|
|
3910
|
+
|
|
3911
|
+
/** Narrator thumbnailMediaId. */
|
|
3912
|
+
public thumbnailMediaId: number;
|
|
3913
|
+
|
|
3884
3914
|
/**
|
|
3885
3915
|
* Creates a new Narrator instance using the specified properties.
|
|
3886
3916
|
* @param [properties] Properties to set
|
|
@@ -7338,222 +7368,6 @@ export class ContentfulOrderedTopicsUpdated implements IContentfulOrderedTopicsU
|
|
|
7338
7368
|
public toJSON(): { [k: string]: any };
|
|
7339
7369
|
}
|
|
7340
7370
|
|
|
7341
|
-
/** Properties of a ContentfulOrderedCategoriesCreated. */
|
|
7342
|
-
export interface IContentfulOrderedCategoriesCreated {
|
|
7343
|
-
|
|
7344
|
-
/** ContentfulOrderedCategoriesCreated slug */
|
|
7345
|
-
slug?: (string|null);
|
|
7346
|
-
|
|
7347
|
-
/** ContentfulOrderedCategoriesCreated topic */
|
|
7348
|
-
topic?: (contentful.ISlugReference|null);
|
|
7349
|
-
|
|
7350
|
-
/** ContentfulOrderedCategoriesCreated categories */
|
|
7351
|
-
categories?: (contentful.ISlugReference[]|null);
|
|
7352
|
-
|
|
7353
|
-
/** ContentfulOrderedCategoriesCreated createdAt */
|
|
7354
|
-
createdAt?: (number|Long|null);
|
|
7355
|
-
}
|
|
7356
|
-
|
|
7357
|
-
/** Represents a ContentfulOrderedCategoriesCreated. */
|
|
7358
|
-
export class ContentfulOrderedCategoriesCreated implements IContentfulOrderedCategoriesCreated {
|
|
7359
|
-
|
|
7360
|
-
/**
|
|
7361
|
-
* Constructs a new ContentfulOrderedCategoriesCreated.
|
|
7362
|
-
* @param [properties] Properties to set
|
|
7363
|
-
*/
|
|
7364
|
-
constructor(properties?: IContentfulOrderedCategoriesCreated);
|
|
7365
|
-
|
|
7366
|
-
/** ContentfulOrderedCategoriesCreated slug. */
|
|
7367
|
-
public slug: string;
|
|
7368
|
-
|
|
7369
|
-
/** ContentfulOrderedCategoriesCreated topic. */
|
|
7370
|
-
public topic?: (contentful.ISlugReference|null);
|
|
7371
|
-
|
|
7372
|
-
/** ContentfulOrderedCategoriesCreated categories. */
|
|
7373
|
-
public categories: contentful.ISlugReference[];
|
|
7374
|
-
|
|
7375
|
-
/** ContentfulOrderedCategoriesCreated createdAt. */
|
|
7376
|
-
public createdAt: (number|Long);
|
|
7377
|
-
|
|
7378
|
-
/**
|
|
7379
|
-
* Creates a new ContentfulOrderedCategoriesCreated instance using the specified properties.
|
|
7380
|
-
* @param [properties] Properties to set
|
|
7381
|
-
* @returns ContentfulOrderedCategoriesCreated instance
|
|
7382
|
-
*/
|
|
7383
|
-
public static create(properties?: IContentfulOrderedCategoriesCreated): ContentfulOrderedCategoriesCreated;
|
|
7384
|
-
|
|
7385
|
-
/**
|
|
7386
|
-
* Encodes the specified ContentfulOrderedCategoriesCreated message. Does not implicitly {@link ContentfulOrderedCategoriesCreated.verify|verify} messages.
|
|
7387
|
-
* @param message ContentfulOrderedCategoriesCreated message or plain object to encode
|
|
7388
|
-
* @param [writer] Writer to encode to
|
|
7389
|
-
* @returns Writer
|
|
7390
|
-
*/
|
|
7391
|
-
public static encode(message: IContentfulOrderedCategoriesCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
7392
|
-
|
|
7393
|
-
/**
|
|
7394
|
-
* Encodes the specified ContentfulOrderedCategoriesCreated message, length delimited. Does not implicitly {@link ContentfulOrderedCategoriesCreated.verify|verify} messages.
|
|
7395
|
-
* @param message ContentfulOrderedCategoriesCreated message or plain object to encode
|
|
7396
|
-
* @param [writer] Writer to encode to
|
|
7397
|
-
* @returns Writer
|
|
7398
|
-
*/
|
|
7399
|
-
public static encodeDelimited(message: IContentfulOrderedCategoriesCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
7400
|
-
|
|
7401
|
-
/**
|
|
7402
|
-
* Decodes a ContentfulOrderedCategoriesCreated message from the specified reader or buffer.
|
|
7403
|
-
* @param reader Reader or buffer to decode from
|
|
7404
|
-
* @param [length] Message length if known beforehand
|
|
7405
|
-
* @returns ContentfulOrderedCategoriesCreated
|
|
7406
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7407
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7408
|
-
*/
|
|
7409
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ContentfulOrderedCategoriesCreated;
|
|
7410
|
-
|
|
7411
|
-
/**
|
|
7412
|
-
* Decodes a ContentfulOrderedCategoriesCreated message from the specified reader or buffer, length delimited.
|
|
7413
|
-
* @param reader Reader or buffer to decode from
|
|
7414
|
-
* @returns ContentfulOrderedCategoriesCreated
|
|
7415
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7416
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7417
|
-
*/
|
|
7418
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ContentfulOrderedCategoriesCreated;
|
|
7419
|
-
|
|
7420
|
-
/**
|
|
7421
|
-
* Verifies a ContentfulOrderedCategoriesCreated message.
|
|
7422
|
-
* @param message Plain object to verify
|
|
7423
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
7424
|
-
*/
|
|
7425
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
7426
|
-
|
|
7427
|
-
/**
|
|
7428
|
-
* Creates a ContentfulOrderedCategoriesCreated message from a plain object. Also converts values to their respective internal types.
|
|
7429
|
-
* @param object Plain object
|
|
7430
|
-
* @returns ContentfulOrderedCategoriesCreated
|
|
7431
|
-
*/
|
|
7432
|
-
public static fromObject(object: { [k: string]: any }): ContentfulOrderedCategoriesCreated;
|
|
7433
|
-
|
|
7434
|
-
/**
|
|
7435
|
-
* Creates a plain object from a ContentfulOrderedCategoriesCreated message. Also converts values to other types if specified.
|
|
7436
|
-
* @param message ContentfulOrderedCategoriesCreated
|
|
7437
|
-
* @param [options] Conversion options
|
|
7438
|
-
* @returns Plain object
|
|
7439
|
-
*/
|
|
7440
|
-
public static toObject(message: ContentfulOrderedCategoriesCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
7441
|
-
|
|
7442
|
-
/**
|
|
7443
|
-
* Converts this ContentfulOrderedCategoriesCreated to JSON.
|
|
7444
|
-
* @returns JSON object
|
|
7445
|
-
*/
|
|
7446
|
-
public toJSON(): { [k: string]: any };
|
|
7447
|
-
}
|
|
7448
|
-
|
|
7449
|
-
/** Properties of a ContentfulOrderedCategoriesUpdated. */
|
|
7450
|
-
export interface IContentfulOrderedCategoriesUpdated {
|
|
7451
|
-
|
|
7452
|
-
/** ContentfulOrderedCategoriesUpdated slug */
|
|
7453
|
-
slug?: (string|null);
|
|
7454
|
-
|
|
7455
|
-
/** ContentfulOrderedCategoriesUpdated topic */
|
|
7456
|
-
topic?: (contentful.ISlugReference|null);
|
|
7457
|
-
|
|
7458
|
-
/** ContentfulOrderedCategoriesUpdated categories */
|
|
7459
|
-
categories?: (contentful.ISlugReference[]|null);
|
|
7460
|
-
|
|
7461
|
-
/** ContentfulOrderedCategoriesUpdated updatedAt */
|
|
7462
|
-
updatedAt?: (number|Long|null);
|
|
7463
|
-
}
|
|
7464
|
-
|
|
7465
|
-
/** Represents a ContentfulOrderedCategoriesUpdated. */
|
|
7466
|
-
export class ContentfulOrderedCategoriesUpdated implements IContentfulOrderedCategoriesUpdated {
|
|
7467
|
-
|
|
7468
|
-
/**
|
|
7469
|
-
* Constructs a new ContentfulOrderedCategoriesUpdated.
|
|
7470
|
-
* @param [properties] Properties to set
|
|
7471
|
-
*/
|
|
7472
|
-
constructor(properties?: IContentfulOrderedCategoriesUpdated);
|
|
7473
|
-
|
|
7474
|
-
/** ContentfulOrderedCategoriesUpdated slug. */
|
|
7475
|
-
public slug: string;
|
|
7476
|
-
|
|
7477
|
-
/** ContentfulOrderedCategoriesUpdated topic. */
|
|
7478
|
-
public topic?: (contentful.ISlugReference|null);
|
|
7479
|
-
|
|
7480
|
-
/** ContentfulOrderedCategoriesUpdated categories. */
|
|
7481
|
-
public categories: contentful.ISlugReference[];
|
|
7482
|
-
|
|
7483
|
-
/** ContentfulOrderedCategoriesUpdated updatedAt. */
|
|
7484
|
-
public updatedAt: (number|Long);
|
|
7485
|
-
|
|
7486
|
-
/**
|
|
7487
|
-
* Creates a new ContentfulOrderedCategoriesUpdated instance using the specified properties.
|
|
7488
|
-
* @param [properties] Properties to set
|
|
7489
|
-
* @returns ContentfulOrderedCategoriesUpdated instance
|
|
7490
|
-
*/
|
|
7491
|
-
public static create(properties?: IContentfulOrderedCategoriesUpdated): ContentfulOrderedCategoriesUpdated;
|
|
7492
|
-
|
|
7493
|
-
/**
|
|
7494
|
-
* Encodes the specified ContentfulOrderedCategoriesUpdated message. Does not implicitly {@link ContentfulOrderedCategoriesUpdated.verify|verify} messages.
|
|
7495
|
-
* @param message ContentfulOrderedCategoriesUpdated message or plain object to encode
|
|
7496
|
-
* @param [writer] Writer to encode to
|
|
7497
|
-
* @returns Writer
|
|
7498
|
-
*/
|
|
7499
|
-
public static encode(message: IContentfulOrderedCategoriesUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
7500
|
-
|
|
7501
|
-
/**
|
|
7502
|
-
* Encodes the specified ContentfulOrderedCategoriesUpdated message, length delimited. Does not implicitly {@link ContentfulOrderedCategoriesUpdated.verify|verify} messages.
|
|
7503
|
-
* @param message ContentfulOrderedCategoriesUpdated message or plain object to encode
|
|
7504
|
-
* @param [writer] Writer to encode to
|
|
7505
|
-
* @returns Writer
|
|
7506
|
-
*/
|
|
7507
|
-
public static encodeDelimited(message: IContentfulOrderedCategoriesUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
7508
|
-
|
|
7509
|
-
/**
|
|
7510
|
-
* Decodes a ContentfulOrderedCategoriesUpdated message from the specified reader or buffer.
|
|
7511
|
-
* @param reader Reader or buffer to decode from
|
|
7512
|
-
* @param [length] Message length if known beforehand
|
|
7513
|
-
* @returns ContentfulOrderedCategoriesUpdated
|
|
7514
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7515
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7516
|
-
*/
|
|
7517
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ContentfulOrderedCategoriesUpdated;
|
|
7518
|
-
|
|
7519
|
-
/**
|
|
7520
|
-
* Decodes a ContentfulOrderedCategoriesUpdated message from the specified reader or buffer, length delimited.
|
|
7521
|
-
* @param reader Reader or buffer to decode from
|
|
7522
|
-
* @returns ContentfulOrderedCategoriesUpdated
|
|
7523
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7524
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7525
|
-
*/
|
|
7526
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ContentfulOrderedCategoriesUpdated;
|
|
7527
|
-
|
|
7528
|
-
/**
|
|
7529
|
-
* Verifies a ContentfulOrderedCategoriesUpdated message.
|
|
7530
|
-
* @param message Plain object to verify
|
|
7531
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
7532
|
-
*/
|
|
7533
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
7534
|
-
|
|
7535
|
-
/**
|
|
7536
|
-
* Creates a ContentfulOrderedCategoriesUpdated message from a plain object. Also converts values to their respective internal types.
|
|
7537
|
-
* @param object Plain object
|
|
7538
|
-
* @returns ContentfulOrderedCategoriesUpdated
|
|
7539
|
-
*/
|
|
7540
|
-
public static fromObject(object: { [k: string]: any }): ContentfulOrderedCategoriesUpdated;
|
|
7541
|
-
|
|
7542
|
-
/**
|
|
7543
|
-
* Creates a plain object from a ContentfulOrderedCategoriesUpdated message. Also converts values to other types if specified.
|
|
7544
|
-
* @param message ContentfulOrderedCategoriesUpdated
|
|
7545
|
-
* @param [options] Conversion options
|
|
7546
|
-
* @returns Plain object
|
|
7547
|
-
*/
|
|
7548
|
-
public static toObject(message: ContentfulOrderedCategoriesUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
7549
|
-
|
|
7550
|
-
/**
|
|
7551
|
-
* Converts this ContentfulOrderedCategoriesUpdated to JSON.
|
|
7552
|
-
* @returns JSON object
|
|
7553
|
-
*/
|
|
7554
|
-
public toJSON(): { [k: string]: any };
|
|
7555
|
-
}
|
|
7556
|
-
|
|
7557
7371
|
/** Properties of a ContentfulActivityVariationCreated. */
|
|
7558
7372
|
export interface IContentfulActivityVariationCreated {
|
|
7559
7373
|
|
package/lib/index.js
CHANGED
|
@@ -8903,6 +8903,11 @@ $root.asset = (function() {
|
|
|
8903
8903
|
* @property {string|null} [id] Narrator id
|
|
8904
8904
|
* @property {string|null} [name] Narrator name
|
|
8905
8905
|
* @property {asset.Gender|null} [gender] Narrator gender
|
|
8906
|
+
* @property {string|null} [firstName] Narrator firstName
|
|
8907
|
+
* @property {string|null} [lastName] Narrator lastName
|
|
8908
|
+
* @property {string|null} [bio] Narrator bio
|
|
8909
|
+
* @property {string|null} [title] Narrator title
|
|
8910
|
+
* @property {number|null} [thumbnailMediaId] Narrator thumbnailMediaId
|
|
8906
8911
|
*/
|
|
8907
8912
|
|
|
8908
8913
|
/**
|
|
@@ -8944,6 +8949,46 @@ $root.asset = (function() {
|
|
|
8944
8949
|
*/
|
|
8945
8950
|
Narrator.prototype.gender = 0;
|
|
8946
8951
|
|
|
8952
|
+
/**
|
|
8953
|
+
* Narrator firstName.
|
|
8954
|
+
* @member {string} firstName
|
|
8955
|
+
* @memberof asset.Narrator
|
|
8956
|
+
* @instance
|
|
8957
|
+
*/
|
|
8958
|
+
Narrator.prototype.firstName = "";
|
|
8959
|
+
|
|
8960
|
+
/**
|
|
8961
|
+
* Narrator lastName.
|
|
8962
|
+
* @member {string} lastName
|
|
8963
|
+
* @memberof asset.Narrator
|
|
8964
|
+
* @instance
|
|
8965
|
+
*/
|
|
8966
|
+
Narrator.prototype.lastName = "";
|
|
8967
|
+
|
|
8968
|
+
/**
|
|
8969
|
+
* Narrator bio.
|
|
8970
|
+
* @member {string} bio
|
|
8971
|
+
* @memberof asset.Narrator
|
|
8972
|
+
* @instance
|
|
8973
|
+
*/
|
|
8974
|
+
Narrator.prototype.bio = "";
|
|
8975
|
+
|
|
8976
|
+
/**
|
|
8977
|
+
* Narrator title.
|
|
8978
|
+
* @member {string} title
|
|
8979
|
+
* @memberof asset.Narrator
|
|
8980
|
+
* @instance
|
|
8981
|
+
*/
|
|
8982
|
+
Narrator.prototype.title = "";
|
|
8983
|
+
|
|
8984
|
+
/**
|
|
8985
|
+
* Narrator thumbnailMediaId.
|
|
8986
|
+
* @member {number} thumbnailMediaId
|
|
8987
|
+
* @memberof asset.Narrator
|
|
8988
|
+
* @instance
|
|
8989
|
+
*/
|
|
8990
|
+
Narrator.prototype.thumbnailMediaId = 0;
|
|
8991
|
+
|
|
8947
8992
|
/**
|
|
8948
8993
|
* Creates a new Narrator instance using the specified properties.
|
|
8949
8994
|
* @function create
|
|
@@ -8974,6 +9019,16 @@ $root.asset = (function() {
|
|
|
8974
9019
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.name);
|
|
8975
9020
|
if (message.gender != null && message.hasOwnProperty("gender"))
|
|
8976
9021
|
writer.uint32(/* id 3, wireType 0 =*/24).int32(message.gender);
|
|
9022
|
+
if (message.firstName != null && message.hasOwnProperty("firstName"))
|
|
9023
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.firstName);
|
|
9024
|
+
if (message.lastName != null && message.hasOwnProperty("lastName"))
|
|
9025
|
+
writer.uint32(/* id 5, wireType 2 =*/42).string(message.lastName);
|
|
9026
|
+
if (message.bio != null && message.hasOwnProperty("bio"))
|
|
9027
|
+
writer.uint32(/* id 6, wireType 2 =*/50).string(message.bio);
|
|
9028
|
+
if (message.title != null && message.hasOwnProperty("title"))
|
|
9029
|
+
writer.uint32(/* id 7, wireType 2 =*/58).string(message.title);
|
|
9030
|
+
if (message.thumbnailMediaId != null && message.hasOwnProperty("thumbnailMediaId"))
|
|
9031
|
+
writer.uint32(/* id 8, wireType 0 =*/64).int32(message.thumbnailMediaId);
|
|
8977
9032
|
return writer;
|
|
8978
9033
|
};
|
|
8979
9034
|
|
|
@@ -9017,6 +9072,21 @@ $root.asset = (function() {
|
|
|
9017
9072
|
case 3:
|
|
9018
9073
|
message.gender = reader.int32();
|
|
9019
9074
|
break;
|
|
9075
|
+
case 4:
|
|
9076
|
+
message.firstName = reader.string();
|
|
9077
|
+
break;
|
|
9078
|
+
case 5:
|
|
9079
|
+
message.lastName = reader.string();
|
|
9080
|
+
break;
|
|
9081
|
+
case 6:
|
|
9082
|
+
message.bio = reader.string();
|
|
9083
|
+
break;
|
|
9084
|
+
case 7:
|
|
9085
|
+
message.title = reader.string();
|
|
9086
|
+
break;
|
|
9087
|
+
case 8:
|
|
9088
|
+
message.thumbnailMediaId = reader.int32();
|
|
9089
|
+
break;
|
|
9020
9090
|
default:
|
|
9021
9091
|
reader.skipType(tag & 7);
|
|
9022
9092
|
break;
|
|
@@ -9067,6 +9137,21 @@ $root.asset = (function() {
|
|
|
9067
9137
|
case 2:
|
|
9068
9138
|
break;
|
|
9069
9139
|
}
|
|
9140
|
+
if (message.firstName != null && message.hasOwnProperty("firstName"))
|
|
9141
|
+
if (!$util.isString(message.firstName))
|
|
9142
|
+
return "firstName: string expected";
|
|
9143
|
+
if (message.lastName != null && message.hasOwnProperty("lastName"))
|
|
9144
|
+
if (!$util.isString(message.lastName))
|
|
9145
|
+
return "lastName: string expected";
|
|
9146
|
+
if (message.bio != null && message.hasOwnProperty("bio"))
|
|
9147
|
+
if (!$util.isString(message.bio))
|
|
9148
|
+
return "bio: string expected";
|
|
9149
|
+
if (message.title != null && message.hasOwnProperty("title"))
|
|
9150
|
+
if (!$util.isString(message.title))
|
|
9151
|
+
return "title: string expected";
|
|
9152
|
+
if (message.thumbnailMediaId != null && message.hasOwnProperty("thumbnailMediaId"))
|
|
9153
|
+
if (!$util.isInteger(message.thumbnailMediaId))
|
|
9154
|
+
return "thumbnailMediaId: integer expected";
|
|
9070
9155
|
return null;
|
|
9071
9156
|
};
|
|
9072
9157
|
|
|
@@ -9100,6 +9185,16 @@ $root.asset = (function() {
|
|
|
9100
9185
|
message.gender = 2;
|
|
9101
9186
|
break;
|
|
9102
9187
|
}
|
|
9188
|
+
if (object.firstName != null)
|
|
9189
|
+
message.firstName = String(object.firstName);
|
|
9190
|
+
if (object.lastName != null)
|
|
9191
|
+
message.lastName = String(object.lastName);
|
|
9192
|
+
if (object.bio != null)
|
|
9193
|
+
message.bio = String(object.bio);
|
|
9194
|
+
if (object.title != null)
|
|
9195
|
+
message.title = String(object.title);
|
|
9196
|
+
if (object.thumbnailMediaId != null)
|
|
9197
|
+
message.thumbnailMediaId = object.thumbnailMediaId | 0;
|
|
9103
9198
|
return message;
|
|
9104
9199
|
};
|
|
9105
9200
|
|
|
@@ -9120,6 +9215,11 @@ $root.asset = (function() {
|
|
|
9120
9215
|
object.id = "";
|
|
9121
9216
|
object.name = "";
|
|
9122
9217
|
object.gender = options.enums === String ? "GENDER_UNKNOWN" : 0;
|
|
9218
|
+
object.firstName = "";
|
|
9219
|
+
object.lastName = "";
|
|
9220
|
+
object.bio = "";
|
|
9221
|
+
object.title = "";
|
|
9222
|
+
object.thumbnailMediaId = 0;
|
|
9123
9223
|
}
|
|
9124
9224
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
9125
9225
|
object.id = message.id;
|
|
@@ -9127,6 +9227,16 @@ $root.asset = (function() {
|
|
|
9127
9227
|
object.name = message.name;
|
|
9128
9228
|
if (message.gender != null && message.hasOwnProperty("gender"))
|
|
9129
9229
|
object.gender = options.enums === String ? $root.asset.Gender[message.gender] : message.gender;
|
|
9230
|
+
if (message.firstName != null && message.hasOwnProperty("firstName"))
|
|
9231
|
+
object.firstName = message.firstName;
|
|
9232
|
+
if (message.lastName != null && message.hasOwnProperty("lastName"))
|
|
9233
|
+
object.lastName = message.lastName;
|
|
9234
|
+
if (message.bio != null && message.hasOwnProperty("bio"))
|
|
9235
|
+
object.bio = message.bio;
|
|
9236
|
+
if (message.title != null && message.hasOwnProperty("title"))
|
|
9237
|
+
object.title = message.title;
|
|
9238
|
+
if (message.thumbnailMediaId != null && message.hasOwnProperty("thumbnailMediaId"))
|
|
9239
|
+
object.thumbnailMediaId = message.thumbnailMediaId;
|
|
9130
9240
|
return object;
|
|
9131
9241
|
};
|
|
9132
9242
|
|
|
@@ -19429,596 +19539,6 @@ $root.ContentfulOrderedTopicsUpdated = (function() {
|
|
|
19429
19539
|
return ContentfulOrderedTopicsUpdated;
|
|
19430
19540
|
})();
|
|
19431
19541
|
|
|
19432
|
-
$root.ContentfulOrderedCategoriesCreated = (function() {
|
|
19433
|
-
|
|
19434
|
-
/**
|
|
19435
|
-
* Properties of a ContentfulOrderedCategoriesCreated.
|
|
19436
|
-
* @exports IContentfulOrderedCategoriesCreated
|
|
19437
|
-
* @interface IContentfulOrderedCategoriesCreated
|
|
19438
|
-
* @property {string|null} [slug] ContentfulOrderedCategoriesCreated slug
|
|
19439
|
-
* @property {contentful.ISlugReference|null} [topic] ContentfulOrderedCategoriesCreated topic
|
|
19440
|
-
* @property {Array.<contentful.ISlugReference>|null} [categories] ContentfulOrderedCategoriesCreated categories
|
|
19441
|
-
* @property {number|Long|null} [createdAt] ContentfulOrderedCategoriesCreated createdAt
|
|
19442
|
-
*/
|
|
19443
|
-
|
|
19444
|
-
/**
|
|
19445
|
-
* Constructs a new ContentfulOrderedCategoriesCreated.
|
|
19446
|
-
* @exports ContentfulOrderedCategoriesCreated
|
|
19447
|
-
* @classdesc Represents a ContentfulOrderedCategoriesCreated.
|
|
19448
|
-
* @implements IContentfulOrderedCategoriesCreated
|
|
19449
|
-
* @constructor
|
|
19450
|
-
* @param {IContentfulOrderedCategoriesCreated=} [properties] Properties to set
|
|
19451
|
-
*/
|
|
19452
|
-
function ContentfulOrderedCategoriesCreated(properties) {
|
|
19453
|
-
this.categories = [];
|
|
19454
|
-
if (properties)
|
|
19455
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
19456
|
-
if (properties[keys[i]] != null)
|
|
19457
|
-
this[keys[i]] = properties[keys[i]];
|
|
19458
|
-
}
|
|
19459
|
-
|
|
19460
|
-
/**
|
|
19461
|
-
* ContentfulOrderedCategoriesCreated slug.
|
|
19462
|
-
* @member {string} slug
|
|
19463
|
-
* @memberof ContentfulOrderedCategoriesCreated
|
|
19464
|
-
* @instance
|
|
19465
|
-
*/
|
|
19466
|
-
ContentfulOrderedCategoriesCreated.prototype.slug = "";
|
|
19467
|
-
|
|
19468
|
-
/**
|
|
19469
|
-
* ContentfulOrderedCategoriesCreated topic.
|
|
19470
|
-
* @member {contentful.ISlugReference|null|undefined} topic
|
|
19471
|
-
* @memberof ContentfulOrderedCategoriesCreated
|
|
19472
|
-
* @instance
|
|
19473
|
-
*/
|
|
19474
|
-
ContentfulOrderedCategoriesCreated.prototype.topic = null;
|
|
19475
|
-
|
|
19476
|
-
/**
|
|
19477
|
-
* ContentfulOrderedCategoriesCreated categories.
|
|
19478
|
-
* @member {Array.<contentful.ISlugReference>} categories
|
|
19479
|
-
* @memberof ContentfulOrderedCategoriesCreated
|
|
19480
|
-
* @instance
|
|
19481
|
-
*/
|
|
19482
|
-
ContentfulOrderedCategoriesCreated.prototype.categories = $util.emptyArray;
|
|
19483
|
-
|
|
19484
|
-
/**
|
|
19485
|
-
* ContentfulOrderedCategoriesCreated createdAt.
|
|
19486
|
-
* @member {number|Long} createdAt
|
|
19487
|
-
* @memberof ContentfulOrderedCategoriesCreated
|
|
19488
|
-
* @instance
|
|
19489
|
-
*/
|
|
19490
|
-
ContentfulOrderedCategoriesCreated.prototype.createdAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
19491
|
-
|
|
19492
|
-
/**
|
|
19493
|
-
* Creates a new ContentfulOrderedCategoriesCreated instance using the specified properties.
|
|
19494
|
-
* @function create
|
|
19495
|
-
* @memberof ContentfulOrderedCategoriesCreated
|
|
19496
|
-
* @static
|
|
19497
|
-
* @param {IContentfulOrderedCategoriesCreated=} [properties] Properties to set
|
|
19498
|
-
* @returns {ContentfulOrderedCategoriesCreated} ContentfulOrderedCategoriesCreated instance
|
|
19499
|
-
*/
|
|
19500
|
-
ContentfulOrderedCategoriesCreated.create = function create(properties) {
|
|
19501
|
-
return new ContentfulOrderedCategoriesCreated(properties);
|
|
19502
|
-
};
|
|
19503
|
-
|
|
19504
|
-
/**
|
|
19505
|
-
* Encodes the specified ContentfulOrderedCategoriesCreated message. Does not implicitly {@link ContentfulOrderedCategoriesCreated.verify|verify} messages.
|
|
19506
|
-
* @function encode
|
|
19507
|
-
* @memberof ContentfulOrderedCategoriesCreated
|
|
19508
|
-
* @static
|
|
19509
|
-
* @param {IContentfulOrderedCategoriesCreated} message ContentfulOrderedCategoriesCreated message or plain object to encode
|
|
19510
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
19511
|
-
* @returns {$protobuf.Writer} Writer
|
|
19512
|
-
*/
|
|
19513
|
-
ContentfulOrderedCategoriesCreated.encode = function encode(message, writer) {
|
|
19514
|
-
if (!writer)
|
|
19515
|
-
writer = $Writer.create();
|
|
19516
|
-
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
19517
|
-
writer.uint32(/* id 1, wireType 2 =*/10).string(message.slug);
|
|
19518
|
-
if (message.topic != null && message.hasOwnProperty("topic"))
|
|
19519
|
-
$root.contentful.SlugReference.encode(message.topic, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
19520
|
-
if (message.categories != null && message.categories.length)
|
|
19521
|
-
for (var i = 0; i < message.categories.length; ++i)
|
|
19522
|
-
$root.contentful.SlugReference.encode(message.categories[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
|
|
19523
|
-
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
19524
|
-
writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.createdAt);
|
|
19525
|
-
return writer;
|
|
19526
|
-
};
|
|
19527
|
-
|
|
19528
|
-
/**
|
|
19529
|
-
* Encodes the specified ContentfulOrderedCategoriesCreated message, length delimited. Does not implicitly {@link ContentfulOrderedCategoriesCreated.verify|verify} messages.
|
|
19530
|
-
* @function encodeDelimited
|
|
19531
|
-
* @memberof ContentfulOrderedCategoriesCreated
|
|
19532
|
-
* @static
|
|
19533
|
-
* @param {IContentfulOrderedCategoriesCreated} message ContentfulOrderedCategoriesCreated message or plain object to encode
|
|
19534
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
19535
|
-
* @returns {$protobuf.Writer} Writer
|
|
19536
|
-
*/
|
|
19537
|
-
ContentfulOrderedCategoriesCreated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
19538
|
-
return this.encode(message, writer).ldelim();
|
|
19539
|
-
};
|
|
19540
|
-
|
|
19541
|
-
/**
|
|
19542
|
-
* Decodes a ContentfulOrderedCategoriesCreated message from the specified reader or buffer.
|
|
19543
|
-
* @function decode
|
|
19544
|
-
* @memberof ContentfulOrderedCategoriesCreated
|
|
19545
|
-
* @static
|
|
19546
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
19547
|
-
* @param {number} [length] Message length if known beforehand
|
|
19548
|
-
* @returns {ContentfulOrderedCategoriesCreated} ContentfulOrderedCategoriesCreated
|
|
19549
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
19550
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
19551
|
-
*/
|
|
19552
|
-
ContentfulOrderedCategoriesCreated.decode = function decode(reader, length) {
|
|
19553
|
-
if (!(reader instanceof $Reader))
|
|
19554
|
-
reader = $Reader.create(reader);
|
|
19555
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ContentfulOrderedCategoriesCreated();
|
|
19556
|
-
while (reader.pos < end) {
|
|
19557
|
-
var tag = reader.uint32();
|
|
19558
|
-
switch (tag >>> 3) {
|
|
19559
|
-
case 1:
|
|
19560
|
-
message.slug = reader.string();
|
|
19561
|
-
break;
|
|
19562
|
-
case 2:
|
|
19563
|
-
message.topic = $root.contentful.SlugReference.decode(reader, reader.uint32());
|
|
19564
|
-
break;
|
|
19565
|
-
case 3:
|
|
19566
|
-
if (!(message.categories && message.categories.length))
|
|
19567
|
-
message.categories = [];
|
|
19568
|
-
message.categories.push($root.contentful.SlugReference.decode(reader, reader.uint32()));
|
|
19569
|
-
break;
|
|
19570
|
-
case 4:
|
|
19571
|
-
message.createdAt = reader.uint64();
|
|
19572
|
-
break;
|
|
19573
|
-
default:
|
|
19574
|
-
reader.skipType(tag & 7);
|
|
19575
|
-
break;
|
|
19576
|
-
}
|
|
19577
|
-
}
|
|
19578
|
-
return message;
|
|
19579
|
-
};
|
|
19580
|
-
|
|
19581
|
-
/**
|
|
19582
|
-
* Decodes a ContentfulOrderedCategoriesCreated message from the specified reader or buffer, length delimited.
|
|
19583
|
-
* @function decodeDelimited
|
|
19584
|
-
* @memberof ContentfulOrderedCategoriesCreated
|
|
19585
|
-
* @static
|
|
19586
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
19587
|
-
* @returns {ContentfulOrderedCategoriesCreated} ContentfulOrderedCategoriesCreated
|
|
19588
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
19589
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
19590
|
-
*/
|
|
19591
|
-
ContentfulOrderedCategoriesCreated.decodeDelimited = function decodeDelimited(reader) {
|
|
19592
|
-
if (!(reader instanceof $Reader))
|
|
19593
|
-
reader = new $Reader(reader);
|
|
19594
|
-
return this.decode(reader, reader.uint32());
|
|
19595
|
-
};
|
|
19596
|
-
|
|
19597
|
-
/**
|
|
19598
|
-
* Verifies a ContentfulOrderedCategoriesCreated message.
|
|
19599
|
-
* @function verify
|
|
19600
|
-
* @memberof ContentfulOrderedCategoriesCreated
|
|
19601
|
-
* @static
|
|
19602
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
19603
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
19604
|
-
*/
|
|
19605
|
-
ContentfulOrderedCategoriesCreated.verify = function verify(message) {
|
|
19606
|
-
if (typeof message !== "object" || message === null)
|
|
19607
|
-
return "object expected";
|
|
19608
|
-
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
19609
|
-
if (!$util.isString(message.slug))
|
|
19610
|
-
return "slug: string expected";
|
|
19611
|
-
if (message.topic != null && message.hasOwnProperty("topic")) {
|
|
19612
|
-
var error = $root.contentful.SlugReference.verify(message.topic);
|
|
19613
|
-
if (error)
|
|
19614
|
-
return "topic." + error;
|
|
19615
|
-
}
|
|
19616
|
-
if (message.categories != null && message.hasOwnProperty("categories")) {
|
|
19617
|
-
if (!Array.isArray(message.categories))
|
|
19618
|
-
return "categories: array expected";
|
|
19619
|
-
for (var i = 0; i < message.categories.length; ++i) {
|
|
19620
|
-
var error = $root.contentful.SlugReference.verify(message.categories[i]);
|
|
19621
|
-
if (error)
|
|
19622
|
-
return "categories." + error;
|
|
19623
|
-
}
|
|
19624
|
-
}
|
|
19625
|
-
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
19626
|
-
if (!$util.isInteger(message.createdAt) && !(message.createdAt && $util.isInteger(message.createdAt.low) && $util.isInteger(message.createdAt.high)))
|
|
19627
|
-
return "createdAt: integer|Long expected";
|
|
19628
|
-
return null;
|
|
19629
|
-
};
|
|
19630
|
-
|
|
19631
|
-
/**
|
|
19632
|
-
* Creates a ContentfulOrderedCategoriesCreated message from a plain object. Also converts values to their respective internal types.
|
|
19633
|
-
* @function fromObject
|
|
19634
|
-
* @memberof ContentfulOrderedCategoriesCreated
|
|
19635
|
-
* @static
|
|
19636
|
-
* @param {Object.<string,*>} object Plain object
|
|
19637
|
-
* @returns {ContentfulOrderedCategoriesCreated} ContentfulOrderedCategoriesCreated
|
|
19638
|
-
*/
|
|
19639
|
-
ContentfulOrderedCategoriesCreated.fromObject = function fromObject(object) {
|
|
19640
|
-
if (object instanceof $root.ContentfulOrderedCategoriesCreated)
|
|
19641
|
-
return object;
|
|
19642
|
-
var message = new $root.ContentfulOrderedCategoriesCreated();
|
|
19643
|
-
if (object.slug != null)
|
|
19644
|
-
message.slug = String(object.slug);
|
|
19645
|
-
if (object.topic != null) {
|
|
19646
|
-
if (typeof object.topic !== "object")
|
|
19647
|
-
throw TypeError(".ContentfulOrderedCategoriesCreated.topic: object expected");
|
|
19648
|
-
message.topic = $root.contentful.SlugReference.fromObject(object.topic);
|
|
19649
|
-
}
|
|
19650
|
-
if (object.categories) {
|
|
19651
|
-
if (!Array.isArray(object.categories))
|
|
19652
|
-
throw TypeError(".ContentfulOrderedCategoriesCreated.categories: array expected");
|
|
19653
|
-
message.categories = [];
|
|
19654
|
-
for (var i = 0; i < object.categories.length; ++i) {
|
|
19655
|
-
if (typeof object.categories[i] !== "object")
|
|
19656
|
-
throw TypeError(".ContentfulOrderedCategoriesCreated.categories: object expected");
|
|
19657
|
-
message.categories[i] = $root.contentful.SlugReference.fromObject(object.categories[i]);
|
|
19658
|
-
}
|
|
19659
|
-
}
|
|
19660
|
-
if (object.createdAt != null)
|
|
19661
|
-
if ($util.Long)
|
|
19662
|
-
(message.createdAt = $util.Long.fromValue(object.createdAt)).unsigned = true;
|
|
19663
|
-
else if (typeof object.createdAt === "string")
|
|
19664
|
-
message.createdAt = parseInt(object.createdAt, 10);
|
|
19665
|
-
else if (typeof object.createdAt === "number")
|
|
19666
|
-
message.createdAt = object.createdAt;
|
|
19667
|
-
else if (typeof object.createdAt === "object")
|
|
19668
|
-
message.createdAt = new $util.LongBits(object.createdAt.low >>> 0, object.createdAt.high >>> 0).toNumber(true);
|
|
19669
|
-
return message;
|
|
19670
|
-
};
|
|
19671
|
-
|
|
19672
|
-
/**
|
|
19673
|
-
* Creates a plain object from a ContentfulOrderedCategoriesCreated message. Also converts values to other types if specified.
|
|
19674
|
-
* @function toObject
|
|
19675
|
-
* @memberof ContentfulOrderedCategoriesCreated
|
|
19676
|
-
* @static
|
|
19677
|
-
* @param {ContentfulOrderedCategoriesCreated} message ContentfulOrderedCategoriesCreated
|
|
19678
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
19679
|
-
* @returns {Object.<string,*>} Plain object
|
|
19680
|
-
*/
|
|
19681
|
-
ContentfulOrderedCategoriesCreated.toObject = function toObject(message, options) {
|
|
19682
|
-
if (!options)
|
|
19683
|
-
options = {};
|
|
19684
|
-
var object = {};
|
|
19685
|
-
if (options.arrays || options.defaults)
|
|
19686
|
-
object.categories = [];
|
|
19687
|
-
if (options.defaults) {
|
|
19688
|
-
object.slug = "";
|
|
19689
|
-
object.topic = null;
|
|
19690
|
-
if ($util.Long) {
|
|
19691
|
-
var long = new $util.Long(0, 0, true);
|
|
19692
|
-
object.createdAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
19693
|
-
} else
|
|
19694
|
-
object.createdAt = options.longs === String ? "0" : 0;
|
|
19695
|
-
}
|
|
19696
|
-
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
19697
|
-
object.slug = message.slug;
|
|
19698
|
-
if (message.topic != null && message.hasOwnProperty("topic"))
|
|
19699
|
-
object.topic = $root.contentful.SlugReference.toObject(message.topic, options);
|
|
19700
|
-
if (message.categories && message.categories.length) {
|
|
19701
|
-
object.categories = [];
|
|
19702
|
-
for (var j = 0; j < message.categories.length; ++j)
|
|
19703
|
-
object.categories[j] = $root.contentful.SlugReference.toObject(message.categories[j], options);
|
|
19704
|
-
}
|
|
19705
|
-
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
19706
|
-
if (typeof message.createdAt === "number")
|
|
19707
|
-
object.createdAt = options.longs === String ? String(message.createdAt) : message.createdAt;
|
|
19708
|
-
else
|
|
19709
|
-
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;
|
|
19710
|
-
return object;
|
|
19711
|
-
};
|
|
19712
|
-
|
|
19713
|
-
/**
|
|
19714
|
-
* Converts this ContentfulOrderedCategoriesCreated to JSON.
|
|
19715
|
-
* @function toJSON
|
|
19716
|
-
* @memberof ContentfulOrderedCategoriesCreated
|
|
19717
|
-
* @instance
|
|
19718
|
-
* @returns {Object.<string,*>} JSON object
|
|
19719
|
-
*/
|
|
19720
|
-
ContentfulOrderedCategoriesCreated.prototype.toJSON = function toJSON() {
|
|
19721
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
19722
|
-
};
|
|
19723
|
-
|
|
19724
|
-
return ContentfulOrderedCategoriesCreated;
|
|
19725
|
-
})();
|
|
19726
|
-
|
|
19727
|
-
$root.ContentfulOrderedCategoriesUpdated = (function() {
|
|
19728
|
-
|
|
19729
|
-
/**
|
|
19730
|
-
* Properties of a ContentfulOrderedCategoriesUpdated.
|
|
19731
|
-
* @exports IContentfulOrderedCategoriesUpdated
|
|
19732
|
-
* @interface IContentfulOrderedCategoriesUpdated
|
|
19733
|
-
* @property {string|null} [slug] ContentfulOrderedCategoriesUpdated slug
|
|
19734
|
-
* @property {contentful.ISlugReference|null} [topic] ContentfulOrderedCategoriesUpdated topic
|
|
19735
|
-
* @property {Array.<contentful.ISlugReference>|null} [categories] ContentfulOrderedCategoriesUpdated categories
|
|
19736
|
-
* @property {number|Long|null} [updatedAt] ContentfulOrderedCategoriesUpdated updatedAt
|
|
19737
|
-
*/
|
|
19738
|
-
|
|
19739
|
-
/**
|
|
19740
|
-
* Constructs a new ContentfulOrderedCategoriesUpdated.
|
|
19741
|
-
* @exports ContentfulOrderedCategoriesUpdated
|
|
19742
|
-
* @classdesc Represents a ContentfulOrderedCategoriesUpdated.
|
|
19743
|
-
* @implements IContentfulOrderedCategoriesUpdated
|
|
19744
|
-
* @constructor
|
|
19745
|
-
* @param {IContentfulOrderedCategoriesUpdated=} [properties] Properties to set
|
|
19746
|
-
*/
|
|
19747
|
-
function ContentfulOrderedCategoriesUpdated(properties) {
|
|
19748
|
-
this.categories = [];
|
|
19749
|
-
if (properties)
|
|
19750
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
19751
|
-
if (properties[keys[i]] != null)
|
|
19752
|
-
this[keys[i]] = properties[keys[i]];
|
|
19753
|
-
}
|
|
19754
|
-
|
|
19755
|
-
/**
|
|
19756
|
-
* ContentfulOrderedCategoriesUpdated slug.
|
|
19757
|
-
* @member {string} slug
|
|
19758
|
-
* @memberof ContentfulOrderedCategoriesUpdated
|
|
19759
|
-
* @instance
|
|
19760
|
-
*/
|
|
19761
|
-
ContentfulOrderedCategoriesUpdated.prototype.slug = "";
|
|
19762
|
-
|
|
19763
|
-
/**
|
|
19764
|
-
* ContentfulOrderedCategoriesUpdated topic.
|
|
19765
|
-
* @member {contentful.ISlugReference|null|undefined} topic
|
|
19766
|
-
* @memberof ContentfulOrderedCategoriesUpdated
|
|
19767
|
-
* @instance
|
|
19768
|
-
*/
|
|
19769
|
-
ContentfulOrderedCategoriesUpdated.prototype.topic = null;
|
|
19770
|
-
|
|
19771
|
-
/**
|
|
19772
|
-
* ContentfulOrderedCategoriesUpdated categories.
|
|
19773
|
-
* @member {Array.<contentful.ISlugReference>} categories
|
|
19774
|
-
* @memberof ContentfulOrderedCategoriesUpdated
|
|
19775
|
-
* @instance
|
|
19776
|
-
*/
|
|
19777
|
-
ContentfulOrderedCategoriesUpdated.prototype.categories = $util.emptyArray;
|
|
19778
|
-
|
|
19779
|
-
/**
|
|
19780
|
-
* ContentfulOrderedCategoriesUpdated updatedAt.
|
|
19781
|
-
* @member {number|Long} updatedAt
|
|
19782
|
-
* @memberof ContentfulOrderedCategoriesUpdated
|
|
19783
|
-
* @instance
|
|
19784
|
-
*/
|
|
19785
|
-
ContentfulOrderedCategoriesUpdated.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
19786
|
-
|
|
19787
|
-
/**
|
|
19788
|
-
* Creates a new ContentfulOrderedCategoriesUpdated instance using the specified properties.
|
|
19789
|
-
* @function create
|
|
19790
|
-
* @memberof ContentfulOrderedCategoriesUpdated
|
|
19791
|
-
* @static
|
|
19792
|
-
* @param {IContentfulOrderedCategoriesUpdated=} [properties] Properties to set
|
|
19793
|
-
* @returns {ContentfulOrderedCategoriesUpdated} ContentfulOrderedCategoriesUpdated instance
|
|
19794
|
-
*/
|
|
19795
|
-
ContentfulOrderedCategoriesUpdated.create = function create(properties) {
|
|
19796
|
-
return new ContentfulOrderedCategoriesUpdated(properties);
|
|
19797
|
-
};
|
|
19798
|
-
|
|
19799
|
-
/**
|
|
19800
|
-
* Encodes the specified ContentfulOrderedCategoriesUpdated message. Does not implicitly {@link ContentfulOrderedCategoriesUpdated.verify|verify} messages.
|
|
19801
|
-
* @function encode
|
|
19802
|
-
* @memberof ContentfulOrderedCategoriesUpdated
|
|
19803
|
-
* @static
|
|
19804
|
-
* @param {IContentfulOrderedCategoriesUpdated} message ContentfulOrderedCategoriesUpdated message or plain object to encode
|
|
19805
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
19806
|
-
* @returns {$protobuf.Writer} Writer
|
|
19807
|
-
*/
|
|
19808
|
-
ContentfulOrderedCategoriesUpdated.encode = function encode(message, writer) {
|
|
19809
|
-
if (!writer)
|
|
19810
|
-
writer = $Writer.create();
|
|
19811
|
-
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
19812
|
-
writer.uint32(/* id 1, wireType 2 =*/10).string(message.slug);
|
|
19813
|
-
if (message.topic != null && message.hasOwnProperty("topic"))
|
|
19814
|
-
$root.contentful.SlugReference.encode(message.topic, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
19815
|
-
if (message.categories != null && message.categories.length)
|
|
19816
|
-
for (var i = 0; i < message.categories.length; ++i)
|
|
19817
|
-
$root.contentful.SlugReference.encode(message.categories[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
|
|
19818
|
-
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
19819
|
-
writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.updatedAt);
|
|
19820
|
-
return writer;
|
|
19821
|
-
};
|
|
19822
|
-
|
|
19823
|
-
/**
|
|
19824
|
-
* Encodes the specified ContentfulOrderedCategoriesUpdated message, length delimited. Does not implicitly {@link ContentfulOrderedCategoriesUpdated.verify|verify} messages.
|
|
19825
|
-
* @function encodeDelimited
|
|
19826
|
-
* @memberof ContentfulOrderedCategoriesUpdated
|
|
19827
|
-
* @static
|
|
19828
|
-
* @param {IContentfulOrderedCategoriesUpdated} message ContentfulOrderedCategoriesUpdated message or plain object to encode
|
|
19829
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
19830
|
-
* @returns {$protobuf.Writer} Writer
|
|
19831
|
-
*/
|
|
19832
|
-
ContentfulOrderedCategoriesUpdated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
19833
|
-
return this.encode(message, writer).ldelim();
|
|
19834
|
-
};
|
|
19835
|
-
|
|
19836
|
-
/**
|
|
19837
|
-
* Decodes a ContentfulOrderedCategoriesUpdated message from the specified reader or buffer.
|
|
19838
|
-
* @function decode
|
|
19839
|
-
* @memberof ContentfulOrderedCategoriesUpdated
|
|
19840
|
-
* @static
|
|
19841
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
19842
|
-
* @param {number} [length] Message length if known beforehand
|
|
19843
|
-
* @returns {ContentfulOrderedCategoriesUpdated} ContentfulOrderedCategoriesUpdated
|
|
19844
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
19845
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
19846
|
-
*/
|
|
19847
|
-
ContentfulOrderedCategoriesUpdated.decode = function decode(reader, length) {
|
|
19848
|
-
if (!(reader instanceof $Reader))
|
|
19849
|
-
reader = $Reader.create(reader);
|
|
19850
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ContentfulOrderedCategoriesUpdated();
|
|
19851
|
-
while (reader.pos < end) {
|
|
19852
|
-
var tag = reader.uint32();
|
|
19853
|
-
switch (tag >>> 3) {
|
|
19854
|
-
case 1:
|
|
19855
|
-
message.slug = reader.string();
|
|
19856
|
-
break;
|
|
19857
|
-
case 2:
|
|
19858
|
-
message.topic = $root.contentful.SlugReference.decode(reader, reader.uint32());
|
|
19859
|
-
break;
|
|
19860
|
-
case 3:
|
|
19861
|
-
if (!(message.categories && message.categories.length))
|
|
19862
|
-
message.categories = [];
|
|
19863
|
-
message.categories.push($root.contentful.SlugReference.decode(reader, reader.uint32()));
|
|
19864
|
-
break;
|
|
19865
|
-
case 4:
|
|
19866
|
-
message.updatedAt = reader.uint64();
|
|
19867
|
-
break;
|
|
19868
|
-
default:
|
|
19869
|
-
reader.skipType(tag & 7);
|
|
19870
|
-
break;
|
|
19871
|
-
}
|
|
19872
|
-
}
|
|
19873
|
-
return message;
|
|
19874
|
-
};
|
|
19875
|
-
|
|
19876
|
-
/**
|
|
19877
|
-
* Decodes a ContentfulOrderedCategoriesUpdated message from the specified reader or buffer, length delimited.
|
|
19878
|
-
* @function decodeDelimited
|
|
19879
|
-
* @memberof ContentfulOrderedCategoriesUpdated
|
|
19880
|
-
* @static
|
|
19881
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
19882
|
-
* @returns {ContentfulOrderedCategoriesUpdated} ContentfulOrderedCategoriesUpdated
|
|
19883
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
19884
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
19885
|
-
*/
|
|
19886
|
-
ContentfulOrderedCategoriesUpdated.decodeDelimited = function decodeDelimited(reader) {
|
|
19887
|
-
if (!(reader instanceof $Reader))
|
|
19888
|
-
reader = new $Reader(reader);
|
|
19889
|
-
return this.decode(reader, reader.uint32());
|
|
19890
|
-
};
|
|
19891
|
-
|
|
19892
|
-
/**
|
|
19893
|
-
* Verifies a ContentfulOrderedCategoriesUpdated message.
|
|
19894
|
-
* @function verify
|
|
19895
|
-
* @memberof ContentfulOrderedCategoriesUpdated
|
|
19896
|
-
* @static
|
|
19897
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
19898
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
19899
|
-
*/
|
|
19900
|
-
ContentfulOrderedCategoriesUpdated.verify = function verify(message) {
|
|
19901
|
-
if (typeof message !== "object" || message === null)
|
|
19902
|
-
return "object expected";
|
|
19903
|
-
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
19904
|
-
if (!$util.isString(message.slug))
|
|
19905
|
-
return "slug: string expected";
|
|
19906
|
-
if (message.topic != null && message.hasOwnProperty("topic")) {
|
|
19907
|
-
var error = $root.contentful.SlugReference.verify(message.topic);
|
|
19908
|
-
if (error)
|
|
19909
|
-
return "topic." + error;
|
|
19910
|
-
}
|
|
19911
|
-
if (message.categories != null && message.hasOwnProperty("categories")) {
|
|
19912
|
-
if (!Array.isArray(message.categories))
|
|
19913
|
-
return "categories: array expected";
|
|
19914
|
-
for (var i = 0; i < message.categories.length; ++i) {
|
|
19915
|
-
var error = $root.contentful.SlugReference.verify(message.categories[i]);
|
|
19916
|
-
if (error)
|
|
19917
|
-
return "categories." + error;
|
|
19918
|
-
}
|
|
19919
|
-
}
|
|
19920
|
-
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
19921
|
-
if (!$util.isInteger(message.updatedAt) && !(message.updatedAt && $util.isInteger(message.updatedAt.low) && $util.isInteger(message.updatedAt.high)))
|
|
19922
|
-
return "updatedAt: integer|Long expected";
|
|
19923
|
-
return null;
|
|
19924
|
-
};
|
|
19925
|
-
|
|
19926
|
-
/**
|
|
19927
|
-
* Creates a ContentfulOrderedCategoriesUpdated message from a plain object. Also converts values to their respective internal types.
|
|
19928
|
-
* @function fromObject
|
|
19929
|
-
* @memberof ContentfulOrderedCategoriesUpdated
|
|
19930
|
-
* @static
|
|
19931
|
-
* @param {Object.<string,*>} object Plain object
|
|
19932
|
-
* @returns {ContentfulOrderedCategoriesUpdated} ContentfulOrderedCategoriesUpdated
|
|
19933
|
-
*/
|
|
19934
|
-
ContentfulOrderedCategoriesUpdated.fromObject = function fromObject(object) {
|
|
19935
|
-
if (object instanceof $root.ContentfulOrderedCategoriesUpdated)
|
|
19936
|
-
return object;
|
|
19937
|
-
var message = new $root.ContentfulOrderedCategoriesUpdated();
|
|
19938
|
-
if (object.slug != null)
|
|
19939
|
-
message.slug = String(object.slug);
|
|
19940
|
-
if (object.topic != null) {
|
|
19941
|
-
if (typeof object.topic !== "object")
|
|
19942
|
-
throw TypeError(".ContentfulOrderedCategoriesUpdated.topic: object expected");
|
|
19943
|
-
message.topic = $root.contentful.SlugReference.fromObject(object.topic);
|
|
19944
|
-
}
|
|
19945
|
-
if (object.categories) {
|
|
19946
|
-
if (!Array.isArray(object.categories))
|
|
19947
|
-
throw TypeError(".ContentfulOrderedCategoriesUpdated.categories: array expected");
|
|
19948
|
-
message.categories = [];
|
|
19949
|
-
for (var i = 0; i < object.categories.length; ++i) {
|
|
19950
|
-
if (typeof object.categories[i] !== "object")
|
|
19951
|
-
throw TypeError(".ContentfulOrderedCategoriesUpdated.categories: object expected");
|
|
19952
|
-
message.categories[i] = $root.contentful.SlugReference.fromObject(object.categories[i]);
|
|
19953
|
-
}
|
|
19954
|
-
}
|
|
19955
|
-
if (object.updatedAt != null)
|
|
19956
|
-
if ($util.Long)
|
|
19957
|
-
(message.updatedAt = $util.Long.fromValue(object.updatedAt)).unsigned = true;
|
|
19958
|
-
else if (typeof object.updatedAt === "string")
|
|
19959
|
-
message.updatedAt = parseInt(object.updatedAt, 10);
|
|
19960
|
-
else if (typeof object.updatedAt === "number")
|
|
19961
|
-
message.updatedAt = object.updatedAt;
|
|
19962
|
-
else if (typeof object.updatedAt === "object")
|
|
19963
|
-
message.updatedAt = new $util.LongBits(object.updatedAt.low >>> 0, object.updatedAt.high >>> 0).toNumber(true);
|
|
19964
|
-
return message;
|
|
19965
|
-
};
|
|
19966
|
-
|
|
19967
|
-
/**
|
|
19968
|
-
* Creates a plain object from a ContentfulOrderedCategoriesUpdated message. Also converts values to other types if specified.
|
|
19969
|
-
* @function toObject
|
|
19970
|
-
* @memberof ContentfulOrderedCategoriesUpdated
|
|
19971
|
-
* @static
|
|
19972
|
-
* @param {ContentfulOrderedCategoriesUpdated} message ContentfulOrderedCategoriesUpdated
|
|
19973
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
19974
|
-
* @returns {Object.<string,*>} Plain object
|
|
19975
|
-
*/
|
|
19976
|
-
ContentfulOrderedCategoriesUpdated.toObject = function toObject(message, options) {
|
|
19977
|
-
if (!options)
|
|
19978
|
-
options = {};
|
|
19979
|
-
var object = {};
|
|
19980
|
-
if (options.arrays || options.defaults)
|
|
19981
|
-
object.categories = [];
|
|
19982
|
-
if (options.defaults) {
|
|
19983
|
-
object.slug = "";
|
|
19984
|
-
object.topic = null;
|
|
19985
|
-
if ($util.Long) {
|
|
19986
|
-
var long = new $util.Long(0, 0, true);
|
|
19987
|
-
object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
19988
|
-
} else
|
|
19989
|
-
object.updatedAt = options.longs === String ? "0" : 0;
|
|
19990
|
-
}
|
|
19991
|
-
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
19992
|
-
object.slug = message.slug;
|
|
19993
|
-
if (message.topic != null && message.hasOwnProperty("topic"))
|
|
19994
|
-
object.topic = $root.contentful.SlugReference.toObject(message.topic, options);
|
|
19995
|
-
if (message.categories && message.categories.length) {
|
|
19996
|
-
object.categories = [];
|
|
19997
|
-
for (var j = 0; j < message.categories.length; ++j)
|
|
19998
|
-
object.categories[j] = $root.contentful.SlugReference.toObject(message.categories[j], options);
|
|
19999
|
-
}
|
|
20000
|
-
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
20001
|
-
if (typeof message.updatedAt === "number")
|
|
20002
|
-
object.updatedAt = options.longs === String ? String(message.updatedAt) : message.updatedAt;
|
|
20003
|
-
else
|
|
20004
|
-
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;
|
|
20005
|
-
return object;
|
|
20006
|
-
};
|
|
20007
|
-
|
|
20008
|
-
/**
|
|
20009
|
-
* Converts this ContentfulOrderedCategoriesUpdated to JSON.
|
|
20010
|
-
* @function toJSON
|
|
20011
|
-
* @memberof ContentfulOrderedCategoriesUpdated
|
|
20012
|
-
* @instance
|
|
20013
|
-
* @returns {Object.<string,*>} JSON object
|
|
20014
|
-
*/
|
|
20015
|
-
ContentfulOrderedCategoriesUpdated.prototype.toJSON = function toJSON() {
|
|
20016
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
20017
|
-
};
|
|
20018
|
-
|
|
20019
|
-
return ContentfulOrderedCategoriesUpdated;
|
|
20020
|
-
})();
|
|
20021
|
-
|
|
20022
19542
|
$root.ContentfulActivityVariationCreated = (function() {
|
|
20023
19543
|
|
|
20024
19544
|
/**
|
package/package.json
CHANGED