@headspace/protos-events 1.239.0 → 1.241.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 +312 -102
- package/lib/index.js +770 -246
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -36682,6 +36682,776 @@ $root.ContentfulVariationContainerDeleted = (function() {
|
|
|
36682
36682
|
return ContentfulVariationContainerDeleted;
|
|
36683
36683
|
})();
|
|
36684
36684
|
|
|
36685
|
+
$root.ContentfulEDHSSessionCreated = (function() {
|
|
36686
|
+
|
|
36687
|
+
/**
|
|
36688
|
+
* Properties of a ContentfulEDHSSessionCreated.
|
|
36689
|
+
* @exports IContentfulEDHSSessionCreated
|
|
36690
|
+
* @interface IContentfulEDHSSessionCreated
|
|
36691
|
+
* @property {string|null} [slug] ContentfulEDHSSessionCreated slug
|
|
36692
|
+
* @property {contentful.ISlugReference|null} [activityGroup] ContentfulEDHSSessionCreated activityGroup
|
|
36693
|
+
* @property {string|null} [date] ContentfulEDHSSessionCreated date
|
|
36694
|
+
* @property {number|Long|null} [createdAt] ContentfulEDHSSessionCreated createdAt
|
|
36695
|
+
*/
|
|
36696
|
+
|
|
36697
|
+
/**
|
|
36698
|
+
* Constructs a new ContentfulEDHSSessionCreated.
|
|
36699
|
+
* @exports ContentfulEDHSSessionCreated
|
|
36700
|
+
* @classdesc Represents a ContentfulEDHSSessionCreated.
|
|
36701
|
+
* @implements IContentfulEDHSSessionCreated
|
|
36702
|
+
* @constructor
|
|
36703
|
+
* @param {IContentfulEDHSSessionCreated=} [properties] Properties to set
|
|
36704
|
+
*/
|
|
36705
|
+
function ContentfulEDHSSessionCreated(properties) {
|
|
36706
|
+
if (properties)
|
|
36707
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
36708
|
+
if (properties[keys[i]] != null)
|
|
36709
|
+
this[keys[i]] = properties[keys[i]];
|
|
36710
|
+
}
|
|
36711
|
+
|
|
36712
|
+
/**
|
|
36713
|
+
* ContentfulEDHSSessionCreated slug.
|
|
36714
|
+
* @member {string} slug
|
|
36715
|
+
* @memberof ContentfulEDHSSessionCreated
|
|
36716
|
+
* @instance
|
|
36717
|
+
*/
|
|
36718
|
+
ContentfulEDHSSessionCreated.prototype.slug = "";
|
|
36719
|
+
|
|
36720
|
+
/**
|
|
36721
|
+
* ContentfulEDHSSessionCreated activityGroup.
|
|
36722
|
+
* @member {contentful.ISlugReference|null|undefined} activityGroup
|
|
36723
|
+
* @memberof ContentfulEDHSSessionCreated
|
|
36724
|
+
* @instance
|
|
36725
|
+
*/
|
|
36726
|
+
ContentfulEDHSSessionCreated.prototype.activityGroup = null;
|
|
36727
|
+
|
|
36728
|
+
/**
|
|
36729
|
+
* ContentfulEDHSSessionCreated date.
|
|
36730
|
+
* @member {string} date
|
|
36731
|
+
* @memberof ContentfulEDHSSessionCreated
|
|
36732
|
+
* @instance
|
|
36733
|
+
*/
|
|
36734
|
+
ContentfulEDHSSessionCreated.prototype.date = "";
|
|
36735
|
+
|
|
36736
|
+
/**
|
|
36737
|
+
* ContentfulEDHSSessionCreated createdAt.
|
|
36738
|
+
* @member {number|Long} createdAt
|
|
36739
|
+
* @memberof ContentfulEDHSSessionCreated
|
|
36740
|
+
* @instance
|
|
36741
|
+
*/
|
|
36742
|
+
ContentfulEDHSSessionCreated.prototype.createdAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
36743
|
+
|
|
36744
|
+
/**
|
|
36745
|
+
* Creates a new ContentfulEDHSSessionCreated instance using the specified properties.
|
|
36746
|
+
* @function create
|
|
36747
|
+
* @memberof ContentfulEDHSSessionCreated
|
|
36748
|
+
* @static
|
|
36749
|
+
* @param {IContentfulEDHSSessionCreated=} [properties] Properties to set
|
|
36750
|
+
* @returns {ContentfulEDHSSessionCreated} ContentfulEDHSSessionCreated instance
|
|
36751
|
+
*/
|
|
36752
|
+
ContentfulEDHSSessionCreated.create = function create(properties) {
|
|
36753
|
+
return new ContentfulEDHSSessionCreated(properties);
|
|
36754
|
+
};
|
|
36755
|
+
|
|
36756
|
+
/**
|
|
36757
|
+
* Encodes the specified ContentfulEDHSSessionCreated message. Does not implicitly {@link ContentfulEDHSSessionCreated.verify|verify} messages.
|
|
36758
|
+
* @function encode
|
|
36759
|
+
* @memberof ContentfulEDHSSessionCreated
|
|
36760
|
+
* @static
|
|
36761
|
+
* @param {IContentfulEDHSSessionCreated} message ContentfulEDHSSessionCreated message or plain object to encode
|
|
36762
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
36763
|
+
* @returns {$protobuf.Writer} Writer
|
|
36764
|
+
*/
|
|
36765
|
+
ContentfulEDHSSessionCreated.encode = function encode(message, writer) {
|
|
36766
|
+
if (!writer)
|
|
36767
|
+
writer = $Writer.create();
|
|
36768
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
36769
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.slug);
|
|
36770
|
+
if (message.activityGroup != null && message.hasOwnProperty("activityGroup"))
|
|
36771
|
+
$root.contentful.SlugReference.encode(message.activityGroup, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
36772
|
+
if (message.date != null && message.hasOwnProperty("date"))
|
|
36773
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.date);
|
|
36774
|
+
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
36775
|
+
writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.createdAt);
|
|
36776
|
+
return writer;
|
|
36777
|
+
};
|
|
36778
|
+
|
|
36779
|
+
/**
|
|
36780
|
+
* Encodes the specified ContentfulEDHSSessionCreated message, length delimited. Does not implicitly {@link ContentfulEDHSSessionCreated.verify|verify} messages.
|
|
36781
|
+
* @function encodeDelimited
|
|
36782
|
+
* @memberof ContentfulEDHSSessionCreated
|
|
36783
|
+
* @static
|
|
36784
|
+
* @param {IContentfulEDHSSessionCreated} message ContentfulEDHSSessionCreated message or plain object to encode
|
|
36785
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
36786
|
+
* @returns {$protobuf.Writer} Writer
|
|
36787
|
+
*/
|
|
36788
|
+
ContentfulEDHSSessionCreated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
36789
|
+
return this.encode(message, writer).ldelim();
|
|
36790
|
+
};
|
|
36791
|
+
|
|
36792
|
+
/**
|
|
36793
|
+
* Decodes a ContentfulEDHSSessionCreated message from the specified reader or buffer.
|
|
36794
|
+
* @function decode
|
|
36795
|
+
* @memberof ContentfulEDHSSessionCreated
|
|
36796
|
+
* @static
|
|
36797
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
36798
|
+
* @param {number} [length] Message length if known beforehand
|
|
36799
|
+
* @returns {ContentfulEDHSSessionCreated} ContentfulEDHSSessionCreated
|
|
36800
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
36801
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
36802
|
+
*/
|
|
36803
|
+
ContentfulEDHSSessionCreated.decode = function decode(reader, length) {
|
|
36804
|
+
if (!(reader instanceof $Reader))
|
|
36805
|
+
reader = $Reader.create(reader);
|
|
36806
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ContentfulEDHSSessionCreated();
|
|
36807
|
+
while (reader.pos < end) {
|
|
36808
|
+
var tag = reader.uint32();
|
|
36809
|
+
switch (tag >>> 3) {
|
|
36810
|
+
case 1:
|
|
36811
|
+
message.slug = reader.string();
|
|
36812
|
+
break;
|
|
36813
|
+
case 2:
|
|
36814
|
+
message.activityGroup = $root.contentful.SlugReference.decode(reader, reader.uint32());
|
|
36815
|
+
break;
|
|
36816
|
+
case 3:
|
|
36817
|
+
message.date = reader.string();
|
|
36818
|
+
break;
|
|
36819
|
+
case 4:
|
|
36820
|
+
message.createdAt = reader.uint64();
|
|
36821
|
+
break;
|
|
36822
|
+
default:
|
|
36823
|
+
reader.skipType(tag & 7);
|
|
36824
|
+
break;
|
|
36825
|
+
}
|
|
36826
|
+
}
|
|
36827
|
+
return message;
|
|
36828
|
+
};
|
|
36829
|
+
|
|
36830
|
+
/**
|
|
36831
|
+
* Decodes a ContentfulEDHSSessionCreated message from the specified reader or buffer, length delimited.
|
|
36832
|
+
* @function decodeDelimited
|
|
36833
|
+
* @memberof ContentfulEDHSSessionCreated
|
|
36834
|
+
* @static
|
|
36835
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
36836
|
+
* @returns {ContentfulEDHSSessionCreated} ContentfulEDHSSessionCreated
|
|
36837
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
36838
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
36839
|
+
*/
|
|
36840
|
+
ContentfulEDHSSessionCreated.decodeDelimited = function decodeDelimited(reader) {
|
|
36841
|
+
if (!(reader instanceof $Reader))
|
|
36842
|
+
reader = new $Reader(reader);
|
|
36843
|
+
return this.decode(reader, reader.uint32());
|
|
36844
|
+
};
|
|
36845
|
+
|
|
36846
|
+
/**
|
|
36847
|
+
* Verifies a ContentfulEDHSSessionCreated message.
|
|
36848
|
+
* @function verify
|
|
36849
|
+
* @memberof ContentfulEDHSSessionCreated
|
|
36850
|
+
* @static
|
|
36851
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
36852
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
36853
|
+
*/
|
|
36854
|
+
ContentfulEDHSSessionCreated.verify = function verify(message) {
|
|
36855
|
+
if (typeof message !== "object" || message === null)
|
|
36856
|
+
return "object expected";
|
|
36857
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
36858
|
+
if (!$util.isString(message.slug))
|
|
36859
|
+
return "slug: string expected";
|
|
36860
|
+
if (message.activityGroup != null && message.hasOwnProperty("activityGroup")) {
|
|
36861
|
+
var error = $root.contentful.SlugReference.verify(message.activityGroup);
|
|
36862
|
+
if (error)
|
|
36863
|
+
return "activityGroup." + error;
|
|
36864
|
+
}
|
|
36865
|
+
if (message.date != null && message.hasOwnProperty("date"))
|
|
36866
|
+
if (!$util.isString(message.date))
|
|
36867
|
+
return "date: string expected";
|
|
36868
|
+
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
36869
|
+
if (!$util.isInteger(message.createdAt) && !(message.createdAt && $util.isInteger(message.createdAt.low) && $util.isInteger(message.createdAt.high)))
|
|
36870
|
+
return "createdAt: integer|Long expected";
|
|
36871
|
+
return null;
|
|
36872
|
+
};
|
|
36873
|
+
|
|
36874
|
+
/**
|
|
36875
|
+
* Creates a ContentfulEDHSSessionCreated message from a plain object. Also converts values to their respective internal types.
|
|
36876
|
+
* @function fromObject
|
|
36877
|
+
* @memberof ContentfulEDHSSessionCreated
|
|
36878
|
+
* @static
|
|
36879
|
+
* @param {Object.<string,*>} object Plain object
|
|
36880
|
+
* @returns {ContentfulEDHSSessionCreated} ContentfulEDHSSessionCreated
|
|
36881
|
+
*/
|
|
36882
|
+
ContentfulEDHSSessionCreated.fromObject = function fromObject(object) {
|
|
36883
|
+
if (object instanceof $root.ContentfulEDHSSessionCreated)
|
|
36884
|
+
return object;
|
|
36885
|
+
var message = new $root.ContentfulEDHSSessionCreated();
|
|
36886
|
+
if (object.slug != null)
|
|
36887
|
+
message.slug = String(object.slug);
|
|
36888
|
+
if (object.activityGroup != null) {
|
|
36889
|
+
if (typeof object.activityGroup !== "object")
|
|
36890
|
+
throw TypeError(".ContentfulEDHSSessionCreated.activityGroup: object expected");
|
|
36891
|
+
message.activityGroup = $root.contentful.SlugReference.fromObject(object.activityGroup);
|
|
36892
|
+
}
|
|
36893
|
+
if (object.date != null)
|
|
36894
|
+
message.date = String(object.date);
|
|
36895
|
+
if (object.createdAt != null)
|
|
36896
|
+
if ($util.Long)
|
|
36897
|
+
(message.createdAt = $util.Long.fromValue(object.createdAt)).unsigned = true;
|
|
36898
|
+
else if (typeof object.createdAt === "string")
|
|
36899
|
+
message.createdAt = parseInt(object.createdAt, 10);
|
|
36900
|
+
else if (typeof object.createdAt === "number")
|
|
36901
|
+
message.createdAt = object.createdAt;
|
|
36902
|
+
else if (typeof object.createdAt === "object")
|
|
36903
|
+
message.createdAt = new $util.LongBits(object.createdAt.low >>> 0, object.createdAt.high >>> 0).toNumber(true);
|
|
36904
|
+
return message;
|
|
36905
|
+
};
|
|
36906
|
+
|
|
36907
|
+
/**
|
|
36908
|
+
* Creates a plain object from a ContentfulEDHSSessionCreated message. Also converts values to other types if specified.
|
|
36909
|
+
* @function toObject
|
|
36910
|
+
* @memberof ContentfulEDHSSessionCreated
|
|
36911
|
+
* @static
|
|
36912
|
+
* @param {ContentfulEDHSSessionCreated} message ContentfulEDHSSessionCreated
|
|
36913
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
36914
|
+
* @returns {Object.<string,*>} Plain object
|
|
36915
|
+
*/
|
|
36916
|
+
ContentfulEDHSSessionCreated.toObject = function toObject(message, options) {
|
|
36917
|
+
if (!options)
|
|
36918
|
+
options = {};
|
|
36919
|
+
var object = {};
|
|
36920
|
+
if (options.defaults) {
|
|
36921
|
+
object.slug = "";
|
|
36922
|
+
object.activityGroup = null;
|
|
36923
|
+
object.date = "";
|
|
36924
|
+
if ($util.Long) {
|
|
36925
|
+
var long = new $util.Long(0, 0, true);
|
|
36926
|
+
object.createdAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
36927
|
+
} else
|
|
36928
|
+
object.createdAt = options.longs === String ? "0" : 0;
|
|
36929
|
+
}
|
|
36930
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
36931
|
+
object.slug = message.slug;
|
|
36932
|
+
if (message.activityGroup != null && message.hasOwnProperty("activityGroup"))
|
|
36933
|
+
object.activityGroup = $root.contentful.SlugReference.toObject(message.activityGroup, options);
|
|
36934
|
+
if (message.date != null && message.hasOwnProperty("date"))
|
|
36935
|
+
object.date = message.date;
|
|
36936
|
+
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
36937
|
+
if (typeof message.createdAt === "number")
|
|
36938
|
+
object.createdAt = options.longs === String ? String(message.createdAt) : message.createdAt;
|
|
36939
|
+
else
|
|
36940
|
+
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;
|
|
36941
|
+
return object;
|
|
36942
|
+
};
|
|
36943
|
+
|
|
36944
|
+
/**
|
|
36945
|
+
* Converts this ContentfulEDHSSessionCreated to JSON.
|
|
36946
|
+
* @function toJSON
|
|
36947
|
+
* @memberof ContentfulEDHSSessionCreated
|
|
36948
|
+
* @instance
|
|
36949
|
+
* @returns {Object.<string,*>} JSON object
|
|
36950
|
+
*/
|
|
36951
|
+
ContentfulEDHSSessionCreated.prototype.toJSON = function toJSON() {
|
|
36952
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
36953
|
+
};
|
|
36954
|
+
|
|
36955
|
+
return ContentfulEDHSSessionCreated;
|
|
36956
|
+
})();
|
|
36957
|
+
|
|
36958
|
+
$root.ContentfulEDHSSessionUpdated = (function() {
|
|
36959
|
+
|
|
36960
|
+
/**
|
|
36961
|
+
* Properties of a ContentfulEDHSSessionUpdated.
|
|
36962
|
+
* @exports IContentfulEDHSSessionUpdated
|
|
36963
|
+
* @interface IContentfulEDHSSessionUpdated
|
|
36964
|
+
* @property {string|null} [slug] ContentfulEDHSSessionUpdated slug
|
|
36965
|
+
* @property {contentful.ISlugReference|null} [activityGroup] ContentfulEDHSSessionUpdated activityGroup
|
|
36966
|
+
* @property {string|null} [date] ContentfulEDHSSessionUpdated date
|
|
36967
|
+
* @property {number|Long|null} [updatedAt] ContentfulEDHSSessionUpdated updatedAt
|
|
36968
|
+
*/
|
|
36969
|
+
|
|
36970
|
+
/**
|
|
36971
|
+
* Constructs a new ContentfulEDHSSessionUpdated.
|
|
36972
|
+
* @exports ContentfulEDHSSessionUpdated
|
|
36973
|
+
* @classdesc Represents a ContentfulEDHSSessionUpdated.
|
|
36974
|
+
* @implements IContentfulEDHSSessionUpdated
|
|
36975
|
+
* @constructor
|
|
36976
|
+
* @param {IContentfulEDHSSessionUpdated=} [properties] Properties to set
|
|
36977
|
+
*/
|
|
36978
|
+
function ContentfulEDHSSessionUpdated(properties) {
|
|
36979
|
+
if (properties)
|
|
36980
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
36981
|
+
if (properties[keys[i]] != null)
|
|
36982
|
+
this[keys[i]] = properties[keys[i]];
|
|
36983
|
+
}
|
|
36984
|
+
|
|
36985
|
+
/**
|
|
36986
|
+
* ContentfulEDHSSessionUpdated slug.
|
|
36987
|
+
* @member {string} slug
|
|
36988
|
+
* @memberof ContentfulEDHSSessionUpdated
|
|
36989
|
+
* @instance
|
|
36990
|
+
*/
|
|
36991
|
+
ContentfulEDHSSessionUpdated.prototype.slug = "";
|
|
36992
|
+
|
|
36993
|
+
/**
|
|
36994
|
+
* ContentfulEDHSSessionUpdated activityGroup.
|
|
36995
|
+
* @member {contentful.ISlugReference|null|undefined} activityGroup
|
|
36996
|
+
* @memberof ContentfulEDHSSessionUpdated
|
|
36997
|
+
* @instance
|
|
36998
|
+
*/
|
|
36999
|
+
ContentfulEDHSSessionUpdated.prototype.activityGroup = null;
|
|
37000
|
+
|
|
37001
|
+
/**
|
|
37002
|
+
* ContentfulEDHSSessionUpdated date.
|
|
37003
|
+
* @member {string} date
|
|
37004
|
+
* @memberof ContentfulEDHSSessionUpdated
|
|
37005
|
+
* @instance
|
|
37006
|
+
*/
|
|
37007
|
+
ContentfulEDHSSessionUpdated.prototype.date = "";
|
|
37008
|
+
|
|
37009
|
+
/**
|
|
37010
|
+
* ContentfulEDHSSessionUpdated updatedAt.
|
|
37011
|
+
* @member {number|Long} updatedAt
|
|
37012
|
+
* @memberof ContentfulEDHSSessionUpdated
|
|
37013
|
+
* @instance
|
|
37014
|
+
*/
|
|
37015
|
+
ContentfulEDHSSessionUpdated.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
37016
|
+
|
|
37017
|
+
/**
|
|
37018
|
+
* Creates a new ContentfulEDHSSessionUpdated instance using the specified properties.
|
|
37019
|
+
* @function create
|
|
37020
|
+
* @memberof ContentfulEDHSSessionUpdated
|
|
37021
|
+
* @static
|
|
37022
|
+
* @param {IContentfulEDHSSessionUpdated=} [properties] Properties to set
|
|
37023
|
+
* @returns {ContentfulEDHSSessionUpdated} ContentfulEDHSSessionUpdated instance
|
|
37024
|
+
*/
|
|
37025
|
+
ContentfulEDHSSessionUpdated.create = function create(properties) {
|
|
37026
|
+
return new ContentfulEDHSSessionUpdated(properties);
|
|
37027
|
+
};
|
|
37028
|
+
|
|
37029
|
+
/**
|
|
37030
|
+
* Encodes the specified ContentfulEDHSSessionUpdated message. Does not implicitly {@link ContentfulEDHSSessionUpdated.verify|verify} messages.
|
|
37031
|
+
* @function encode
|
|
37032
|
+
* @memberof ContentfulEDHSSessionUpdated
|
|
37033
|
+
* @static
|
|
37034
|
+
* @param {IContentfulEDHSSessionUpdated} message ContentfulEDHSSessionUpdated message or plain object to encode
|
|
37035
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
37036
|
+
* @returns {$protobuf.Writer} Writer
|
|
37037
|
+
*/
|
|
37038
|
+
ContentfulEDHSSessionUpdated.encode = function encode(message, writer) {
|
|
37039
|
+
if (!writer)
|
|
37040
|
+
writer = $Writer.create();
|
|
37041
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
37042
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.slug);
|
|
37043
|
+
if (message.activityGroup != null && message.hasOwnProperty("activityGroup"))
|
|
37044
|
+
$root.contentful.SlugReference.encode(message.activityGroup, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
37045
|
+
if (message.date != null && message.hasOwnProperty("date"))
|
|
37046
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.date);
|
|
37047
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
37048
|
+
writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.updatedAt);
|
|
37049
|
+
return writer;
|
|
37050
|
+
};
|
|
37051
|
+
|
|
37052
|
+
/**
|
|
37053
|
+
* Encodes the specified ContentfulEDHSSessionUpdated message, length delimited. Does not implicitly {@link ContentfulEDHSSessionUpdated.verify|verify} messages.
|
|
37054
|
+
* @function encodeDelimited
|
|
37055
|
+
* @memberof ContentfulEDHSSessionUpdated
|
|
37056
|
+
* @static
|
|
37057
|
+
* @param {IContentfulEDHSSessionUpdated} message ContentfulEDHSSessionUpdated message or plain object to encode
|
|
37058
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
37059
|
+
* @returns {$protobuf.Writer} Writer
|
|
37060
|
+
*/
|
|
37061
|
+
ContentfulEDHSSessionUpdated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
37062
|
+
return this.encode(message, writer).ldelim();
|
|
37063
|
+
};
|
|
37064
|
+
|
|
37065
|
+
/**
|
|
37066
|
+
* Decodes a ContentfulEDHSSessionUpdated message from the specified reader or buffer.
|
|
37067
|
+
* @function decode
|
|
37068
|
+
* @memberof ContentfulEDHSSessionUpdated
|
|
37069
|
+
* @static
|
|
37070
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
37071
|
+
* @param {number} [length] Message length if known beforehand
|
|
37072
|
+
* @returns {ContentfulEDHSSessionUpdated} ContentfulEDHSSessionUpdated
|
|
37073
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
37074
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
37075
|
+
*/
|
|
37076
|
+
ContentfulEDHSSessionUpdated.decode = function decode(reader, length) {
|
|
37077
|
+
if (!(reader instanceof $Reader))
|
|
37078
|
+
reader = $Reader.create(reader);
|
|
37079
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ContentfulEDHSSessionUpdated();
|
|
37080
|
+
while (reader.pos < end) {
|
|
37081
|
+
var tag = reader.uint32();
|
|
37082
|
+
switch (tag >>> 3) {
|
|
37083
|
+
case 1:
|
|
37084
|
+
message.slug = reader.string();
|
|
37085
|
+
break;
|
|
37086
|
+
case 2:
|
|
37087
|
+
message.activityGroup = $root.contentful.SlugReference.decode(reader, reader.uint32());
|
|
37088
|
+
break;
|
|
37089
|
+
case 3:
|
|
37090
|
+
message.date = reader.string();
|
|
37091
|
+
break;
|
|
37092
|
+
case 4:
|
|
37093
|
+
message.updatedAt = reader.uint64();
|
|
37094
|
+
break;
|
|
37095
|
+
default:
|
|
37096
|
+
reader.skipType(tag & 7);
|
|
37097
|
+
break;
|
|
37098
|
+
}
|
|
37099
|
+
}
|
|
37100
|
+
return message;
|
|
37101
|
+
};
|
|
37102
|
+
|
|
37103
|
+
/**
|
|
37104
|
+
* Decodes a ContentfulEDHSSessionUpdated message from the specified reader or buffer, length delimited.
|
|
37105
|
+
* @function decodeDelimited
|
|
37106
|
+
* @memberof ContentfulEDHSSessionUpdated
|
|
37107
|
+
* @static
|
|
37108
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
37109
|
+
* @returns {ContentfulEDHSSessionUpdated} ContentfulEDHSSessionUpdated
|
|
37110
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
37111
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
37112
|
+
*/
|
|
37113
|
+
ContentfulEDHSSessionUpdated.decodeDelimited = function decodeDelimited(reader) {
|
|
37114
|
+
if (!(reader instanceof $Reader))
|
|
37115
|
+
reader = new $Reader(reader);
|
|
37116
|
+
return this.decode(reader, reader.uint32());
|
|
37117
|
+
};
|
|
37118
|
+
|
|
37119
|
+
/**
|
|
37120
|
+
* Verifies a ContentfulEDHSSessionUpdated message.
|
|
37121
|
+
* @function verify
|
|
37122
|
+
* @memberof ContentfulEDHSSessionUpdated
|
|
37123
|
+
* @static
|
|
37124
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
37125
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
37126
|
+
*/
|
|
37127
|
+
ContentfulEDHSSessionUpdated.verify = function verify(message) {
|
|
37128
|
+
if (typeof message !== "object" || message === null)
|
|
37129
|
+
return "object expected";
|
|
37130
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
37131
|
+
if (!$util.isString(message.slug))
|
|
37132
|
+
return "slug: string expected";
|
|
37133
|
+
if (message.activityGroup != null && message.hasOwnProperty("activityGroup")) {
|
|
37134
|
+
var error = $root.contentful.SlugReference.verify(message.activityGroup);
|
|
37135
|
+
if (error)
|
|
37136
|
+
return "activityGroup." + error;
|
|
37137
|
+
}
|
|
37138
|
+
if (message.date != null && message.hasOwnProperty("date"))
|
|
37139
|
+
if (!$util.isString(message.date))
|
|
37140
|
+
return "date: string expected";
|
|
37141
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
37142
|
+
if (!$util.isInteger(message.updatedAt) && !(message.updatedAt && $util.isInteger(message.updatedAt.low) && $util.isInteger(message.updatedAt.high)))
|
|
37143
|
+
return "updatedAt: integer|Long expected";
|
|
37144
|
+
return null;
|
|
37145
|
+
};
|
|
37146
|
+
|
|
37147
|
+
/**
|
|
37148
|
+
* Creates a ContentfulEDHSSessionUpdated message from a plain object. Also converts values to their respective internal types.
|
|
37149
|
+
* @function fromObject
|
|
37150
|
+
* @memberof ContentfulEDHSSessionUpdated
|
|
37151
|
+
* @static
|
|
37152
|
+
* @param {Object.<string,*>} object Plain object
|
|
37153
|
+
* @returns {ContentfulEDHSSessionUpdated} ContentfulEDHSSessionUpdated
|
|
37154
|
+
*/
|
|
37155
|
+
ContentfulEDHSSessionUpdated.fromObject = function fromObject(object) {
|
|
37156
|
+
if (object instanceof $root.ContentfulEDHSSessionUpdated)
|
|
37157
|
+
return object;
|
|
37158
|
+
var message = new $root.ContentfulEDHSSessionUpdated();
|
|
37159
|
+
if (object.slug != null)
|
|
37160
|
+
message.slug = String(object.slug);
|
|
37161
|
+
if (object.activityGroup != null) {
|
|
37162
|
+
if (typeof object.activityGroup !== "object")
|
|
37163
|
+
throw TypeError(".ContentfulEDHSSessionUpdated.activityGroup: object expected");
|
|
37164
|
+
message.activityGroup = $root.contentful.SlugReference.fromObject(object.activityGroup);
|
|
37165
|
+
}
|
|
37166
|
+
if (object.date != null)
|
|
37167
|
+
message.date = String(object.date);
|
|
37168
|
+
if (object.updatedAt != null)
|
|
37169
|
+
if ($util.Long)
|
|
37170
|
+
(message.updatedAt = $util.Long.fromValue(object.updatedAt)).unsigned = true;
|
|
37171
|
+
else if (typeof object.updatedAt === "string")
|
|
37172
|
+
message.updatedAt = parseInt(object.updatedAt, 10);
|
|
37173
|
+
else if (typeof object.updatedAt === "number")
|
|
37174
|
+
message.updatedAt = object.updatedAt;
|
|
37175
|
+
else if (typeof object.updatedAt === "object")
|
|
37176
|
+
message.updatedAt = new $util.LongBits(object.updatedAt.low >>> 0, object.updatedAt.high >>> 0).toNumber(true);
|
|
37177
|
+
return message;
|
|
37178
|
+
};
|
|
37179
|
+
|
|
37180
|
+
/**
|
|
37181
|
+
* Creates a plain object from a ContentfulEDHSSessionUpdated message. Also converts values to other types if specified.
|
|
37182
|
+
* @function toObject
|
|
37183
|
+
* @memberof ContentfulEDHSSessionUpdated
|
|
37184
|
+
* @static
|
|
37185
|
+
* @param {ContentfulEDHSSessionUpdated} message ContentfulEDHSSessionUpdated
|
|
37186
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
37187
|
+
* @returns {Object.<string,*>} Plain object
|
|
37188
|
+
*/
|
|
37189
|
+
ContentfulEDHSSessionUpdated.toObject = function toObject(message, options) {
|
|
37190
|
+
if (!options)
|
|
37191
|
+
options = {};
|
|
37192
|
+
var object = {};
|
|
37193
|
+
if (options.defaults) {
|
|
37194
|
+
object.slug = "";
|
|
37195
|
+
object.activityGroup = null;
|
|
37196
|
+
object.date = "";
|
|
37197
|
+
if ($util.Long) {
|
|
37198
|
+
var long = new $util.Long(0, 0, true);
|
|
37199
|
+
object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
37200
|
+
} else
|
|
37201
|
+
object.updatedAt = options.longs === String ? "0" : 0;
|
|
37202
|
+
}
|
|
37203
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
37204
|
+
object.slug = message.slug;
|
|
37205
|
+
if (message.activityGroup != null && message.hasOwnProperty("activityGroup"))
|
|
37206
|
+
object.activityGroup = $root.contentful.SlugReference.toObject(message.activityGroup, options);
|
|
37207
|
+
if (message.date != null && message.hasOwnProperty("date"))
|
|
37208
|
+
object.date = message.date;
|
|
37209
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
37210
|
+
if (typeof message.updatedAt === "number")
|
|
37211
|
+
object.updatedAt = options.longs === String ? String(message.updatedAt) : message.updatedAt;
|
|
37212
|
+
else
|
|
37213
|
+
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;
|
|
37214
|
+
return object;
|
|
37215
|
+
};
|
|
37216
|
+
|
|
37217
|
+
/**
|
|
37218
|
+
* Converts this ContentfulEDHSSessionUpdated to JSON.
|
|
37219
|
+
* @function toJSON
|
|
37220
|
+
* @memberof ContentfulEDHSSessionUpdated
|
|
37221
|
+
* @instance
|
|
37222
|
+
* @returns {Object.<string,*>} JSON object
|
|
37223
|
+
*/
|
|
37224
|
+
ContentfulEDHSSessionUpdated.prototype.toJSON = function toJSON() {
|
|
37225
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
37226
|
+
};
|
|
37227
|
+
|
|
37228
|
+
return ContentfulEDHSSessionUpdated;
|
|
37229
|
+
})();
|
|
37230
|
+
|
|
37231
|
+
$root.ContentfulEDHSSessionDeleted = (function() {
|
|
37232
|
+
|
|
37233
|
+
/**
|
|
37234
|
+
* Properties of a ContentfulEDHSSessionDeleted.
|
|
37235
|
+
* @exports IContentfulEDHSSessionDeleted
|
|
37236
|
+
* @interface IContentfulEDHSSessionDeleted
|
|
37237
|
+
* @property {string|null} [slug] ContentfulEDHSSessionDeleted slug
|
|
37238
|
+
* @property {number|Long|null} [deletedAt] ContentfulEDHSSessionDeleted deletedAt
|
|
37239
|
+
*/
|
|
37240
|
+
|
|
37241
|
+
/**
|
|
37242
|
+
* Constructs a new ContentfulEDHSSessionDeleted.
|
|
37243
|
+
* @exports ContentfulEDHSSessionDeleted
|
|
37244
|
+
* @classdesc Represents a ContentfulEDHSSessionDeleted.
|
|
37245
|
+
* @implements IContentfulEDHSSessionDeleted
|
|
37246
|
+
* @constructor
|
|
37247
|
+
* @param {IContentfulEDHSSessionDeleted=} [properties] Properties to set
|
|
37248
|
+
*/
|
|
37249
|
+
function ContentfulEDHSSessionDeleted(properties) {
|
|
37250
|
+
if (properties)
|
|
37251
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
37252
|
+
if (properties[keys[i]] != null)
|
|
37253
|
+
this[keys[i]] = properties[keys[i]];
|
|
37254
|
+
}
|
|
37255
|
+
|
|
37256
|
+
/**
|
|
37257
|
+
* ContentfulEDHSSessionDeleted slug.
|
|
37258
|
+
* @member {string} slug
|
|
37259
|
+
* @memberof ContentfulEDHSSessionDeleted
|
|
37260
|
+
* @instance
|
|
37261
|
+
*/
|
|
37262
|
+
ContentfulEDHSSessionDeleted.prototype.slug = "";
|
|
37263
|
+
|
|
37264
|
+
/**
|
|
37265
|
+
* ContentfulEDHSSessionDeleted deletedAt.
|
|
37266
|
+
* @member {number|Long} deletedAt
|
|
37267
|
+
* @memberof ContentfulEDHSSessionDeleted
|
|
37268
|
+
* @instance
|
|
37269
|
+
*/
|
|
37270
|
+
ContentfulEDHSSessionDeleted.prototype.deletedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
37271
|
+
|
|
37272
|
+
/**
|
|
37273
|
+
* Creates a new ContentfulEDHSSessionDeleted instance using the specified properties.
|
|
37274
|
+
* @function create
|
|
37275
|
+
* @memberof ContentfulEDHSSessionDeleted
|
|
37276
|
+
* @static
|
|
37277
|
+
* @param {IContentfulEDHSSessionDeleted=} [properties] Properties to set
|
|
37278
|
+
* @returns {ContentfulEDHSSessionDeleted} ContentfulEDHSSessionDeleted instance
|
|
37279
|
+
*/
|
|
37280
|
+
ContentfulEDHSSessionDeleted.create = function create(properties) {
|
|
37281
|
+
return new ContentfulEDHSSessionDeleted(properties);
|
|
37282
|
+
};
|
|
37283
|
+
|
|
37284
|
+
/**
|
|
37285
|
+
* Encodes the specified ContentfulEDHSSessionDeleted message. Does not implicitly {@link ContentfulEDHSSessionDeleted.verify|verify} messages.
|
|
37286
|
+
* @function encode
|
|
37287
|
+
* @memberof ContentfulEDHSSessionDeleted
|
|
37288
|
+
* @static
|
|
37289
|
+
* @param {IContentfulEDHSSessionDeleted} message ContentfulEDHSSessionDeleted message or plain object to encode
|
|
37290
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
37291
|
+
* @returns {$protobuf.Writer} Writer
|
|
37292
|
+
*/
|
|
37293
|
+
ContentfulEDHSSessionDeleted.encode = function encode(message, writer) {
|
|
37294
|
+
if (!writer)
|
|
37295
|
+
writer = $Writer.create();
|
|
37296
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
37297
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.slug);
|
|
37298
|
+
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
37299
|
+
writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.deletedAt);
|
|
37300
|
+
return writer;
|
|
37301
|
+
};
|
|
37302
|
+
|
|
37303
|
+
/**
|
|
37304
|
+
* Encodes the specified ContentfulEDHSSessionDeleted message, length delimited. Does not implicitly {@link ContentfulEDHSSessionDeleted.verify|verify} messages.
|
|
37305
|
+
* @function encodeDelimited
|
|
37306
|
+
* @memberof ContentfulEDHSSessionDeleted
|
|
37307
|
+
* @static
|
|
37308
|
+
* @param {IContentfulEDHSSessionDeleted} message ContentfulEDHSSessionDeleted message or plain object to encode
|
|
37309
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
37310
|
+
* @returns {$protobuf.Writer} Writer
|
|
37311
|
+
*/
|
|
37312
|
+
ContentfulEDHSSessionDeleted.encodeDelimited = function encodeDelimited(message, writer) {
|
|
37313
|
+
return this.encode(message, writer).ldelim();
|
|
37314
|
+
};
|
|
37315
|
+
|
|
37316
|
+
/**
|
|
37317
|
+
* Decodes a ContentfulEDHSSessionDeleted message from the specified reader or buffer.
|
|
37318
|
+
* @function decode
|
|
37319
|
+
* @memberof ContentfulEDHSSessionDeleted
|
|
37320
|
+
* @static
|
|
37321
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
37322
|
+
* @param {number} [length] Message length if known beforehand
|
|
37323
|
+
* @returns {ContentfulEDHSSessionDeleted} ContentfulEDHSSessionDeleted
|
|
37324
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
37325
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
37326
|
+
*/
|
|
37327
|
+
ContentfulEDHSSessionDeleted.decode = function decode(reader, length) {
|
|
37328
|
+
if (!(reader instanceof $Reader))
|
|
37329
|
+
reader = $Reader.create(reader);
|
|
37330
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ContentfulEDHSSessionDeleted();
|
|
37331
|
+
while (reader.pos < end) {
|
|
37332
|
+
var tag = reader.uint32();
|
|
37333
|
+
switch (tag >>> 3) {
|
|
37334
|
+
case 1:
|
|
37335
|
+
message.slug = reader.string();
|
|
37336
|
+
break;
|
|
37337
|
+
case 2:
|
|
37338
|
+
message.deletedAt = reader.uint64();
|
|
37339
|
+
break;
|
|
37340
|
+
default:
|
|
37341
|
+
reader.skipType(tag & 7);
|
|
37342
|
+
break;
|
|
37343
|
+
}
|
|
37344
|
+
}
|
|
37345
|
+
return message;
|
|
37346
|
+
};
|
|
37347
|
+
|
|
37348
|
+
/**
|
|
37349
|
+
* Decodes a ContentfulEDHSSessionDeleted message from the specified reader or buffer, length delimited.
|
|
37350
|
+
* @function decodeDelimited
|
|
37351
|
+
* @memberof ContentfulEDHSSessionDeleted
|
|
37352
|
+
* @static
|
|
37353
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
37354
|
+
* @returns {ContentfulEDHSSessionDeleted} ContentfulEDHSSessionDeleted
|
|
37355
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
37356
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
37357
|
+
*/
|
|
37358
|
+
ContentfulEDHSSessionDeleted.decodeDelimited = function decodeDelimited(reader) {
|
|
37359
|
+
if (!(reader instanceof $Reader))
|
|
37360
|
+
reader = new $Reader(reader);
|
|
37361
|
+
return this.decode(reader, reader.uint32());
|
|
37362
|
+
};
|
|
37363
|
+
|
|
37364
|
+
/**
|
|
37365
|
+
* Verifies a ContentfulEDHSSessionDeleted message.
|
|
37366
|
+
* @function verify
|
|
37367
|
+
* @memberof ContentfulEDHSSessionDeleted
|
|
37368
|
+
* @static
|
|
37369
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
37370
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
37371
|
+
*/
|
|
37372
|
+
ContentfulEDHSSessionDeleted.verify = function verify(message) {
|
|
37373
|
+
if (typeof message !== "object" || message === null)
|
|
37374
|
+
return "object expected";
|
|
37375
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
37376
|
+
if (!$util.isString(message.slug))
|
|
37377
|
+
return "slug: string expected";
|
|
37378
|
+
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
37379
|
+
if (!$util.isInteger(message.deletedAt) && !(message.deletedAt && $util.isInteger(message.deletedAt.low) && $util.isInteger(message.deletedAt.high)))
|
|
37380
|
+
return "deletedAt: integer|Long expected";
|
|
37381
|
+
return null;
|
|
37382
|
+
};
|
|
37383
|
+
|
|
37384
|
+
/**
|
|
37385
|
+
* Creates a ContentfulEDHSSessionDeleted message from a plain object. Also converts values to their respective internal types.
|
|
37386
|
+
* @function fromObject
|
|
37387
|
+
* @memberof ContentfulEDHSSessionDeleted
|
|
37388
|
+
* @static
|
|
37389
|
+
* @param {Object.<string,*>} object Plain object
|
|
37390
|
+
* @returns {ContentfulEDHSSessionDeleted} ContentfulEDHSSessionDeleted
|
|
37391
|
+
*/
|
|
37392
|
+
ContentfulEDHSSessionDeleted.fromObject = function fromObject(object) {
|
|
37393
|
+
if (object instanceof $root.ContentfulEDHSSessionDeleted)
|
|
37394
|
+
return object;
|
|
37395
|
+
var message = new $root.ContentfulEDHSSessionDeleted();
|
|
37396
|
+
if (object.slug != null)
|
|
37397
|
+
message.slug = String(object.slug);
|
|
37398
|
+
if (object.deletedAt != null)
|
|
37399
|
+
if ($util.Long)
|
|
37400
|
+
(message.deletedAt = $util.Long.fromValue(object.deletedAt)).unsigned = true;
|
|
37401
|
+
else if (typeof object.deletedAt === "string")
|
|
37402
|
+
message.deletedAt = parseInt(object.deletedAt, 10);
|
|
37403
|
+
else if (typeof object.deletedAt === "number")
|
|
37404
|
+
message.deletedAt = object.deletedAt;
|
|
37405
|
+
else if (typeof object.deletedAt === "object")
|
|
37406
|
+
message.deletedAt = new $util.LongBits(object.deletedAt.low >>> 0, object.deletedAt.high >>> 0).toNumber(true);
|
|
37407
|
+
return message;
|
|
37408
|
+
};
|
|
37409
|
+
|
|
37410
|
+
/**
|
|
37411
|
+
* Creates a plain object from a ContentfulEDHSSessionDeleted message. Also converts values to other types if specified.
|
|
37412
|
+
* @function toObject
|
|
37413
|
+
* @memberof ContentfulEDHSSessionDeleted
|
|
37414
|
+
* @static
|
|
37415
|
+
* @param {ContentfulEDHSSessionDeleted} message ContentfulEDHSSessionDeleted
|
|
37416
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
37417
|
+
* @returns {Object.<string,*>} Plain object
|
|
37418
|
+
*/
|
|
37419
|
+
ContentfulEDHSSessionDeleted.toObject = function toObject(message, options) {
|
|
37420
|
+
if (!options)
|
|
37421
|
+
options = {};
|
|
37422
|
+
var object = {};
|
|
37423
|
+
if (options.defaults) {
|
|
37424
|
+
object.slug = "";
|
|
37425
|
+
if ($util.Long) {
|
|
37426
|
+
var long = new $util.Long(0, 0, true);
|
|
37427
|
+
object.deletedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
37428
|
+
} else
|
|
37429
|
+
object.deletedAt = options.longs === String ? "0" : 0;
|
|
37430
|
+
}
|
|
37431
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
37432
|
+
object.slug = message.slug;
|
|
37433
|
+
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
37434
|
+
if (typeof message.deletedAt === "number")
|
|
37435
|
+
object.deletedAt = options.longs === String ? String(message.deletedAt) : message.deletedAt;
|
|
37436
|
+
else
|
|
37437
|
+
object.deletedAt = options.longs === String ? $util.Long.prototype.toString.call(message.deletedAt) : options.longs === Number ? new $util.LongBits(message.deletedAt.low >>> 0, message.deletedAt.high >>> 0).toNumber(true) : message.deletedAt;
|
|
37438
|
+
return object;
|
|
37439
|
+
};
|
|
37440
|
+
|
|
37441
|
+
/**
|
|
37442
|
+
* Converts this ContentfulEDHSSessionDeleted to JSON.
|
|
37443
|
+
* @function toJSON
|
|
37444
|
+
* @memberof ContentfulEDHSSessionDeleted
|
|
37445
|
+
* @instance
|
|
37446
|
+
* @returns {Object.<string,*>} JSON object
|
|
37447
|
+
*/
|
|
37448
|
+
ContentfulEDHSSessionDeleted.prototype.toJSON = function toJSON() {
|
|
37449
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
37450
|
+
};
|
|
37451
|
+
|
|
37452
|
+
return ContentfulEDHSSessionDeleted;
|
|
37453
|
+
})();
|
|
37454
|
+
|
|
36685
37455
|
$root.ContentfulContentModelCreated = (function() {
|
|
36686
37456
|
|
|
36687
37457
|
/**
|
|
@@ -82537,252 +83307,6 @@ $root.UserConsentUpdated = (function() {
|
|
|
82537
83307
|
return UserConsentUpdated;
|
|
82538
83308
|
})();
|
|
82539
83309
|
|
|
82540
|
-
$root.UserOnboardingStepCompleted = (function() {
|
|
82541
|
-
|
|
82542
|
-
/**
|
|
82543
|
-
* Properties of a UserOnboardingStepCompleted.
|
|
82544
|
-
* @exports IUserOnboardingStepCompleted
|
|
82545
|
-
* @interface IUserOnboardingStepCompleted
|
|
82546
|
-
* @property {string|null} [userId] UserOnboardingStepCompleted userId
|
|
82547
|
-
* @property {string|null} [pushMessageBody] UserOnboardingStepCompleted pushMessageBody
|
|
82548
|
-
* @property {number|Long|null} [pushScheduledAt] UserOnboardingStepCompleted pushScheduledAt
|
|
82549
|
-
*/
|
|
82550
|
-
|
|
82551
|
-
/**
|
|
82552
|
-
* Constructs a new UserOnboardingStepCompleted.
|
|
82553
|
-
* @exports UserOnboardingStepCompleted
|
|
82554
|
-
* @classdesc Represents a UserOnboardingStepCompleted.
|
|
82555
|
-
* @implements IUserOnboardingStepCompleted
|
|
82556
|
-
* @constructor
|
|
82557
|
-
* @param {IUserOnboardingStepCompleted=} [properties] Properties to set
|
|
82558
|
-
*/
|
|
82559
|
-
function UserOnboardingStepCompleted(properties) {
|
|
82560
|
-
if (properties)
|
|
82561
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
82562
|
-
if (properties[keys[i]] != null)
|
|
82563
|
-
this[keys[i]] = properties[keys[i]];
|
|
82564
|
-
}
|
|
82565
|
-
|
|
82566
|
-
/**
|
|
82567
|
-
* UserOnboardingStepCompleted userId.
|
|
82568
|
-
* @member {string} userId
|
|
82569
|
-
* @memberof UserOnboardingStepCompleted
|
|
82570
|
-
* @instance
|
|
82571
|
-
*/
|
|
82572
|
-
UserOnboardingStepCompleted.prototype.userId = "";
|
|
82573
|
-
|
|
82574
|
-
/**
|
|
82575
|
-
* UserOnboardingStepCompleted pushMessageBody.
|
|
82576
|
-
* @member {string} pushMessageBody
|
|
82577
|
-
* @memberof UserOnboardingStepCompleted
|
|
82578
|
-
* @instance
|
|
82579
|
-
*/
|
|
82580
|
-
UserOnboardingStepCompleted.prototype.pushMessageBody = "";
|
|
82581
|
-
|
|
82582
|
-
/**
|
|
82583
|
-
* UserOnboardingStepCompleted pushScheduledAt.
|
|
82584
|
-
* @member {number|Long} pushScheduledAt
|
|
82585
|
-
* @memberof UserOnboardingStepCompleted
|
|
82586
|
-
* @instance
|
|
82587
|
-
*/
|
|
82588
|
-
UserOnboardingStepCompleted.prototype.pushScheduledAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
82589
|
-
|
|
82590
|
-
/**
|
|
82591
|
-
* Creates a new UserOnboardingStepCompleted instance using the specified properties.
|
|
82592
|
-
* @function create
|
|
82593
|
-
* @memberof UserOnboardingStepCompleted
|
|
82594
|
-
* @static
|
|
82595
|
-
* @param {IUserOnboardingStepCompleted=} [properties] Properties to set
|
|
82596
|
-
* @returns {UserOnboardingStepCompleted} UserOnboardingStepCompleted instance
|
|
82597
|
-
*/
|
|
82598
|
-
UserOnboardingStepCompleted.create = function create(properties) {
|
|
82599
|
-
return new UserOnboardingStepCompleted(properties);
|
|
82600
|
-
};
|
|
82601
|
-
|
|
82602
|
-
/**
|
|
82603
|
-
* Encodes the specified UserOnboardingStepCompleted message. Does not implicitly {@link UserOnboardingStepCompleted.verify|verify} messages.
|
|
82604
|
-
* @function encode
|
|
82605
|
-
* @memberof UserOnboardingStepCompleted
|
|
82606
|
-
* @static
|
|
82607
|
-
* @param {IUserOnboardingStepCompleted} message UserOnboardingStepCompleted message or plain object to encode
|
|
82608
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
82609
|
-
* @returns {$protobuf.Writer} Writer
|
|
82610
|
-
*/
|
|
82611
|
-
UserOnboardingStepCompleted.encode = function encode(message, writer) {
|
|
82612
|
-
if (!writer)
|
|
82613
|
-
writer = $Writer.create();
|
|
82614
|
-
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
82615
|
-
writer.uint32(/* id 1, wireType 2 =*/10).string(message.userId);
|
|
82616
|
-
if (message.pushMessageBody != null && message.hasOwnProperty("pushMessageBody"))
|
|
82617
|
-
writer.uint32(/* id 2, wireType 2 =*/18).string(message.pushMessageBody);
|
|
82618
|
-
if (message.pushScheduledAt != null && message.hasOwnProperty("pushScheduledAt"))
|
|
82619
|
-
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.pushScheduledAt);
|
|
82620
|
-
return writer;
|
|
82621
|
-
};
|
|
82622
|
-
|
|
82623
|
-
/**
|
|
82624
|
-
* Encodes the specified UserOnboardingStepCompleted message, length delimited. Does not implicitly {@link UserOnboardingStepCompleted.verify|verify} messages.
|
|
82625
|
-
* @function encodeDelimited
|
|
82626
|
-
* @memberof UserOnboardingStepCompleted
|
|
82627
|
-
* @static
|
|
82628
|
-
* @param {IUserOnboardingStepCompleted} message UserOnboardingStepCompleted message or plain object to encode
|
|
82629
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
82630
|
-
* @returns {$protobuf.Writer} Writer
|
|
82631
|
-
*/
|
|
82632
|
-
UserOnboardingStepCompleted.encodeDelimited = function encodeDelimited(message, writer) {
|
|
82633
|
-
return this.encode(message, writer).ldelim();
|
|
82634
|
-
};
|
|
82635
|
-
|
|
82636
|
-
/**
|
|
82637
|
-
* Decodes a UserOnboardingStepCompleted message from the specified reader or buffer.
|
|
82638
|
-
* @function decode
|
|
82639
|
-
* @memberof UserOnboardingStepCompleted
|
|
82640
|
-
* @static
|
|
82641
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
82642
|
-
* @param {number} [length] Message length if known beforehand
|
|
82643
|
-
* @returns {UserOnboardingStepCompleted} UserOnboardingStepCompleted
|
|
82644
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
82645
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
82646
|
-
*/
|
|
82647
|
-
UserOnboardingStepCompleted.decode = function decode(reader, length) {
|
|
82648
|
-
if (!(reader instanceof $Reader))
|
|
82649
|
-
reader = $Reader.create(reader);
|
|
82650
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.UserOnboardingStepCompleted();
|
|
82651
|
-
while (reader.pos < end) {
|
|
82652
|
-
var tag = reader.uint32();
|
|
82653
|
-
switch (tag >>> 3) {
|
|
82654
|
-
case 1:
|
|
82655
|
-
message.userId = reader.string();
|
|
82656
|
-
break;
|
|
82657
|
-
case 2:
|
|
82658
|
-
message.pushMessageBody = reader.string();
|
|
82659
|
-
break;
|
|
82660
|
-
case 3:
|
|
82661
|
-
message.pushScheduledAt = reader.uint64();
|
|
82662
|
-
break;
|
|
82663
|
-
default:
|
|
82664
|
-
reader.skipType(tag & 7);
|
|
82665
|
-
break;
|
|
82666
|
-
}
|
|
82667
|
-
}
|
|
82668
|
-
return message;
|
|
82669
|
-
};
|
|
82670
|
-
|
|
82671
|
-
/**
|
|
82672
|
-
* Decodes a UserOnboardingStepCompleted message from the specified reader or buffer, length delimited.
|
|
82673
|
-
* @function decodeDelimited
|
|
82674
|
-
* @memberof UserOnboardingStepCompleted
|
|
82675
|
-
* @static
|
|
82676
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
82677
|
-
* @returns {UserOnboardingStepCompleted} UserOnboardingStepCompleted
|
|
82678
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
82679
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
82680
|
-
*/
|
|
82681
|
-
UserOnboardingStepCompleted.decodeDelimited = function decodeDelimited(reader) {
|
|
82682
|
-
if (!(reader instanceof $Reader))
|
|
82683
|
-
reader = new $Reader(reader);
|
|
82684
|
-
return this.decode(reader, reader.uint32());
|
|
82685
|
-
};
|
|
82686
|
-
|
|
82687
|
-
/**
|
|
82688
|
-
* Verifies a UserOnboardingStepCompleted message.
|
|
82689
|
-
* @function verify
|
|
82690
|
-
* @memberof UserOnboardingStepCompleted
|
|
82691
|
-
* @static
|
|
82692
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
82693
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
82694
|
-
*/
|
|
82695
|
-
UserOnboardingStepCompleted.verify = function verify(message) {
|
|
82696
|
-
if (typeof message !== "object" || message === null)
|
|
82697
|
-
return "object expected";
|
|
82698
|
-
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
82699
|
-
if (!$util.isString(message.userId))
|
|
82700
|
-
return "userId: string expected";
|
|
82701
|
-
if (message.pushMessageBody != null && message.hasOwnProperty("pushMessageBody"))
|
|
82702
|
-
if (!$util.isString(message.pushMessageBody))
|
|
82703
|
-
return "pushMessageBody: string expected";
|
|
82704
|
-
if (message.pushScheduledAt != null && message.hasOwnProperty("pushScheduledAt"))
|
|
82705
|
-
if (!$util.isInteger(message.pushScheduledAt) && !(message.pushScheduledAt && $util.isInteger(message.pushScheduledAt.low) && $util.isInteger(message.pushScheduledAt.high)))
|
|
82706
|
-
return "pushScheduledAt: integer|Long expected";
|
|
82707
|
-
return null;
|
|
82708
|
-
};
|
|
82709
|
-
|
|
82710
|
-
/**
|
|
82711
|
-
* Creates a UserOnboardingStepCompleted message from a plain object. Also converts values to their respective internal types.
|
|
82712
|
-
* @function fromObject
|
|
82713
|
-
* @memberof UserOnboardingStepCompleted
|
|
82714
|
-
* @static
|
|
82715
|
-
* @param {Object.<string,*>} object Plain object
|
|
82716
|
-
* @returns {UserOnboardingStepCompleted} UserOnboardingStepCompleted
|
|
82717
|
-
*/
|
|
82718
|
-
UserOnboardingStepCompleted.fromObject = function fromObject(object) {
|
|
82719
|
-
if (object instanceof $root.UserOnboardingStepCompleted)
|
|
82720
|
-
return object;
|
|
82721
|
-
var message = new $root.UserOnboardingStepCompleted();
|
|
82722
|
-
if (object.userId != null)
|
|
82723
|
-
message.userId = String(object.userId);
|
|
82724
|
-
if (object.pushMessageBody != null)
|
|
82725
|
-
message.pushMessageBody = String(object.pushMessageBody);
|
|
82726
|
-
if (object.pushScheduledAt != null)
|
|
82727
|
-
if ($util.Long)
|
|
82728
|
-
(message.pushScheduledAt = $util.Long.fromValue(object.pushScheduledAt)).unsigned = true;
|
|
82729
|
-
else if (typeof object.pushScheduledAt === "string")
|
|
82730
|
-
message.pushScheduledAt = parseInt(object.pushScheduledAt, 10);
|
|
82731
|
-
else if (typeof object.pushScheduledAt === "number")
|
|
82732
|
-
message.pushScheduledAt = object.pushScheduledAt;
|
|
82733
|
-
else if (typeof object.pushScheduledAt === "object")
|
|
82734
|
-
message.pushScheduledAt = new $util.LongBits(object.pushScheduledAt.low >>> 0, object.pushScheduledAt.high >>> 0).toNumber(true);
|
|
82735
|
-
return message;
|
|
82736
|
-
};
|
|
82737
|
-
|
|
82738
|
-
/**
|
|
82739
|
-
* Creates a plain object from a UserOnboardingStepCompleted message. Also converts values to other types if specified.
|
|
82740
|
-
* @function toObject
|
|
82741
|
-
* @memberof UserOnboardingStepCompleted
|
|
82742
|
-
* @static
|
|
82743
|
-
* @param {UserOnboardingStepCompleted} message UserOnboardingStepCompleted
|
|
82744
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
82745
|
-
* @returns {Object.<string,*>} Plain object
|
|
82746
|
-
*/
|
|
82747
|
-
UserOnboardingStepCompleted.toObject = function toObject(message, options) {
|
|
82748
|
-
if (!options)
|
|
82749
|
-
options = {};
|
|
82750
|
-
var object = {};
|
|
82751
|
-
if (options.defaults) {
|
|
82752
|
-
object.userId = "";
|
|
82753
|
-
object.pushMessageBody = "";
|
|
82754
|
-
if ($util.Long) {
|
|
82755
|
-
var long = new $util.Long(0, 0, true);
|
|
82756
|
-
object.pushScheduledAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
82757
|
-
} else
|
|
82758
|
-
object.pushScheduledAt = options.longs === String ? "0" : 0;
|
|
82759
|
-
}
|
|
82760
|
-
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
82761
|
-
object.userId = message.userId;
|
|
82762
|
-
if (message.pushMessageBody != null && message.hasOwnProperty("pushMessageBody"))
|
|
82763
|
-
object.pushMessageBody = message.pushMessageBody;
|
|
82764
|
-
if (message.pushScheduledAt != null && message.hasOwnProperty("pushScheduledAt"))
|
|
82765
|
-
if (typeof message.pushScheduledAt === "number")
|
|
82766
|
-
object.pushScheduledAt = options.longs === String ? String(message.pushScheduledAt) : message.pushScheduledAt;
|
|
82767
|
-
else
|
|
82768
|
-
object.pushScheduledAt = options.longs === String ? $util.Long.prototype.toString.call(message.pushScheduledAt) : options.longs === Number ? new $util.LongBits(message.pushScheduledAt.low >>> 0, message.pushScheduledAt.high >>> 0).toNumber(true) : message.pushScheduledAt;
|
|
82769
|
-
return object;
|
|
82770
|
-
};
|
|
82771
|
-
|
|
82772
|
-
/**
|
|
82773
|
-
* Converts this UserOnboardingStepCompleted to JSON.
|
|
82774
|
-
* @function toJSON
|
|
82775
|
-
* @memberof UserOnboardingStepCompleted
|
|
82776
|
-
* @instance
|
|
82777
|
-
* @returns {Object.<string,*>} JSON object
|
|
82778
|
-
*/
|
|
82779
|
-
UserOnboardingStepCompleted.prototype.toJSON = function toJSON() {
|
|
82780
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
82781
|
-
};
|
|
82782
|
-
|
|
82783
|
-
return UserOnboardingStepCompleted;
|
|
82784
|
-
})();
|
|
82785
|
-
|
|
82786
83310
|
$root.VirginPulseAccountLinked = (function() {
|
|
82787
83311
|
|
|
82788
83312
|
/**
|