@headspace/protos-events 1.34.0 → 1.34.1
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 +35 -35
- package/lib/index.js +62 -62
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -2863,103 +2863,103 @@ export class CheckInCompleted implements ICheckInCompleted {
|
|
|
2863
2863
|
public toJSON(): { [k: string]: any };
|
|
2864
2864
|
}
|
|
2865
2865
|
|
|
2866
|
-
/** Properties of a
|
|
2867
|
-
export interface
|
|
2866
|
+
/** Properties of a ContentPlayed. */
|
|
2867
|
+
export interface IContentPlayed {
|
|
2868
2868
|
|
|
2869
|
-
/**
|
|
2869
|
+
/** ContentPlayed timestamp */
|
|
2870
2870
|
timestamp?: (number|Long|null);
|
|
2871
2871
|
|
|
2872
|
-
/**
|
|
2872
|
+
/** ContentPlayed contentId */
|
|
2873
2873
|
contentId?: (number|null);
|
|
2874
2874
|
|
|
2875
|
-
/**
|
|
2875
|
+
/** ContentPlayed userId */
|
|
2876
2876
|
userId?: (string|null);
|
|
2877
2877
|
}
|
|
2878
2878
|
|
|
2879
|
-
/** Represents a
|
|
2880
|
-
export class
|
|
2879
|
+
/** Represents a ContentPlayed. */
|
|
2880
|
+
export class ContentPlayed implements IContentPlayed {
|
|
2881
2881
|
|
|
2882
2882
|
/**
|
|
2883
|
-
* Constructs a new
|
|
2883
|
+
* Constructs a new ContentPlayed.
|
|
2884
2884
|
* @param [properties] Properties to set
|
|
2885
2885
|
*/
|
|
2886
|
-
constructor(properties?:
|
|
2886
|
+
constructor(properties?: IContentPlayed);
|
|
2887
2887
|
|
|
2888
|
-
/**
|
|
2888
|
+
/** ContentPlayed timestamp. */
|
|
2889
2889
|
public timestamp: (number|Long);
|
|
2890
2890
|
|
|
2891
|
-
/**
|
|
2891
|
+
/** ContentPlayed contentId. */
|
|
2892
2892
|
public contentId: number;
|
|
2893
2893
|
|
|
2894
|
-
/**
|
|
2894
|
+
/** ContentPlayed userId. */
|
|
2895
2895
|
public userId: string;
|
|
2896
2896
|
|
|
2897
2897
|
/**
|
|
2898
|
-
* Creates a new
|
|
2898
|
+
* Creates a new ContentPlayed instance using the specified properties.
|
|
2899
2899
|
* @param [properties] Properties to set
|
|
2900
|
-
* @returns
|
|
2900
|
+
* @returns ContentPlayed instance
|
|
2901
2901
|
*/
|
|
2902
|
-
public static create(properties?:
|
|
2902
|
+
public static create(properties?: IContentPlayed): ContentPlayed;
|
|
2903
2903
|
|
|
2904
2904
|
/**
|
|
2905
|
-
* Encodes the specified
|
|
2906
|
-
* @param message
|
|
2905
|
+
* Encodes the specified ContentPlayed message. Does not implicitly {@link ContentPlayed.verify|verify} messages.
|
|
2906
|
+
* @param message ContentPlayed message or plain object to encode
|
|
2907
2907
|
* @param [writer] Writer to encode to
|
|
2908
2908
|
* @returns Writer
|
|
2909
2909
|
*/
|
|
2910
|
-
public static encode(message:
|
|
2910
|
+
public static encode(message: IContentPlayed, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2911
2911
|
|
|
2912
2912
|
/**
|
|
2913
|
-
* Encodes the specified
|
|
2914
|
-
* @param message
|
|
2913
|
+
* Encodes the specified ContentPlayed message, length delimited. Does not implicitly {@link ContentPlayed.verify|verify} messages.
|
|
2914
|
+
* @param message ContentPlayed message or plain object to encode
|
|
2915
2915
|
* @param [writer] Writer to encode to
|
|
2916
2916
|
* @returns Writer
|
|
2917
2917
|
*/
|
|
2918
|
-
public static encodeDelimited(message:
|
|
2918
|
+
public static encodeDelimited(message: IContentPlayed, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2919
2919
|
|
|
2920
2920
|
/**
|
|
2921
|
-
* Decodes a
|
|
2921
|
+
* Decodes a ContentPlayed message from the specified reader or buffer.
|
|
2922
2922
|
* @param reader Reader or buffer to decode from
|
|
2923
2923
|
* @param [length] Message length if known beforehand
|
|
2924
|
-
* @returns
|
|
2924
|
+
* @returns ContentPlayed
|
|
2925
2925
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2926
2926
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2927
2927
|
*/
|
|
2928
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number):
|
|
2928
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ContentPlayed;
|
|
2929
2929
|
|
|
2930
2930
|
/**
|
|
2931
|
-
* Decodes a
|
|
2931
|
+
* Decodes a ContentPlayed message from the specified reader or buffer, length delimited.
|
|
2932
2932
|
* @param reader Reader or buffer to decode from
|
|
2933
|
-
* @returns
|
|
2933
|
+
* @returns ContentPlayed
|
|
2934
2934
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2935
2935
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2936
2936
|
*/
|
|
2937
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)):
|
|
2937
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ContentPlayed;
|
|
2938
2938
|
|
|
2939
2939
|
/**
|
|
2940
|
-
* Verifies a
|
|
2940
|
+
* Verifies a ContentPlayed message.
|
|
2941
2941
|
* @param message Plain object to verify
|
|
2942
2942
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
2943
2943
|
*/
|
|
2944
2944
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
2945
2945
|
|
|
2946
2946
|
/**
|
|
2947
|
-
* Creates a
|
|
2947
|
+
* Creates a ContentPlayed message from a plain object. Also converts values to their respective internal types.
|
|
2948
2948
|
* @param object Plain object
|
|
2949
|
-
* @returns
|
|
2949
|
+
* @returns ContentPlayed
|
|
2950
2950
|
*/
|
|
2951
|
-
public static fromObject(object: { [k: string]: any }):
|
|
2951
|
+
public static fromObject(object: { [k: string]: any }): ContentPlayed;
|
|
2952
2952
|
|
|
2953
2953
|
/**
|
|
2954
|
-
* Creates a plain object from a
|
|
2955
|
-
* @param message
|
|
2954
|
+
* Creates a plain object from a ContentPlayed message. Also converts values to other types if specified.
|
|
2955
|
+
* @param message ContentPlayed
|
|
2956
2956
|
* @param [options] Conversion options
|
|
2957
2957
|
* @returns Plain object
|
|
2958
2958
|
*/
|
|
2959
|
-
public static toObject(message:
|
|
2959
|
+
public static toObject(message: ContentPlayed, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2960
2960
|
|
|
2961
2961
|
/**
|
|
2962
|
-
* Converts this
|
|
2962
|
+
* Converts this ContentPlayed to JSON.
|
|
2963
2963
|
* @returns JSON object
|
|
2964
2964
|
*/
|
|
2965
2965
|
public toJSON(): { [k: string]: any };
|
package/lib/index.js
CHANGED
|
@@ -6680,26 +6680,26 @@ $root.CheckInCompleted = (function() {
|
|
|
6680
6680
|
return CheckInCompleted;
|
|
6681
6681
|
})();
|
|
6682
6682
|
|
|
6683
|
-
$root.
|
|
6683
|
+
$root.ContentPlayed = (function() {
|
|
6684
6684
|
|
|
6685
6685
|
/**
|
|
6686
|
-
* Properties of a
|
|
6687
|
-
* @exports
|
|
6688
|
-
* @interface
|
|
6689
|
-
* @property {number|Long|null} [timestamp]
|
|
6690
|
-
* @property {number|null} [contentId]
|
|
6691
|
-
* @property {string|null} [userId]
|
|
6686
|
+
* Properties of a ContentPlayed.
|
|
6687
|
+
* @exports IContentPlayed
|
|
6688
|
+
* @interface IContentPlayed
|
|
6689
|
+
* @property {number|Long|null} [timestamp] ContentPlayed timestamp
|
|
6690
|
+
* @property {number|null} [contentId] ContentPlayed contentId
|
|
6691
|
+
* @property {string|null} [userId] ContentPlayed userId
|
|
6692
6692
|
*/
|
|
6693
6693
|
|
|
6694
6694
|
/**
|
|
6695
|
-
* Constructs a new
|
|
6696
|
-
* @exports
|
|
6697
|
-
* @classdesc Represents a
|
|
6698
|
-
* @implements
|
|
6695
|
+
* Constructs a new ContentPlayed.
|
|
6696
|
+
* @exports ContentPlayed
|
|
6697
|
+
* @classdesc Represents a ContentPlayed.
|
|
6698
|
+
* @implements IContentPlayed
|
|
6699
6699
|
* @constructor
|
|
6700
|
-
* @param {
|
|
6700
|
+
* @param {IContentPlayed=} [properties] Properties to set
|
|
6701
6701
|
*/
|
|
6702
|
-
function
|
|
6702
|
+
function ContentPlayed(properties) {
|
|
6703
6703
|
if (properties)
|
|
6704
6704
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
6705
6705
|
if (properties[keys[i]] != null)
|
|
@@ -6707,51 +6707,51 @@ $root.ContentCompleted = (function() {
|
|
|
6707
6707
|
}
|
|
6708
6708
|
|
|
6709
6709
|
/**
|
|
6710
|
-
*
|
|
6710
|
+
* ContentPlayed timestamp.
|
|
6711
6711
|
* @member {number|Long} timestamp
|
|
6712
|
-
* @memberof
|
|
6712
|
+
* @memberof ContentPlayed
|
|
6713
6713
|
* @instance
|
|
6714
6714
|
*/
|
|
6715
|
-
|
|
6715
|
+
ContentPlayed.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
6716
6716
|
|
|
6717
6717
|
/**
|
|
6718
|
-
*
|
|
6718
|
+
* ContentPlayed contentId.
|
|
6719
6719
|
* @member {number} contentId
|
|
6720
|
-
* @memberof
|
|
6720
|
+
* @memberof ContentPlayed
|
|
6721
6721
|
* @instance
|
|
6722
6722
|
*/
|
|
6723
|
-
|
|
6723
|
+
ContentPlayed.prototype.contentId = 0;
|
|
6724
6724
|
|
|
6725
6725
|
/**
|
|
6726
|
-
*
|
|
6726
|
+
* ContentPlayed userId.
|
|
6727
6727
|
* @member {string} userId
|
|
6728
|
-
* @memberof
|
|
6728
|
+
* @memberof ContentPlayed
|
|
6729
6729
|
* @instance
|
|
6730
6730
|
*/
|
|
6731
|
-
|
|
6731
|
+
ContentPlayed.prototype.userId = "";
|
|
6732
6732
|
|
|
6733
6733
|
/**
|
|
6734
|
-
* Creates a new
|
|
6734
|
+
* Creates a new ContentPlayed instance using the specified properties.
|
|
6735
6735
|
* @function create
|
|
6736
|
-
* @memberof
|
|
6736
|
+
* @memberof ContentPlayed
|
|
6737
6737
|
* @static
|
|
6738
|
-
* @param {
|
|
6739
|
-
* @returns {
|
|
6738
|
+
* @param {IContentPlayed=} [properties] Properties to set
|
|
6739
|
+
* @returns {ContentPlayed} ContentPlayed instance
|
|
6740
6740
|
*/
|
|
6741
|
-
|
|
6742
|
-
return new
|
|
6741
|
+
ContentPlayed.create = function create(properties) {
|
|
6742
|
+
return new ContentPlayed(properties);
|
|
6743
6743
|
};
|
|
6744
6744
|
|
|
6745
6745
|
/**
|
|
6746
|
-
* Encodes the specified
|
|
6746
|
+
* Encodes the specified ContentPlayed message. Does not implicitly {@link ContentPlayed.verify|verify} messages.
|
|
6747
6747
|
* @function encode
|
|
6748
|
-
* @memberof
|
|
6748
|
+
* @memberof ContentPlayed
|
|
6749
6749
|
* @static
|
|
6750
|
-
* @param {
|
|
6750
|
+
* @param {IContentPlayed} message ContentPlayed message or plain object to encode
|
|
6751
6751
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
6752
6752
|
* @returns {$protobuf.Writer} Writer
|
|
6753
6753
|
*/
|
|
6754
|
-
|
|
6754
|
+
ContentPlayed.encode = function encode(message, writer) {
|
|
6755
6755
|
if (!writer)
|
|
6756
6756
|
writer = $Writer.create();
|
|
6757
6757
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
@@ -6764,33 +6764,33 @@ $root.ContentCompleted = (function() {
|
|
|
6764
6764
|
};
|
|
6765
6765
|
|
|
6766
6766
|
/**
|
|
6767
|
-
* Encodes the specified
|
|
6767
|
+
* Encodes the specified ContentPlayed message, length delimited. Does not implicitly {@link ContentPlayed.verify|verify} messages.
|
|
6768
6768
|
* @function encodeDelimited
|
|
6769
|
-
* @memberof
|
|
6769
|
+
* @memberof ContentPlayed
|
|
6770
6770
|
* @static
|
|
6771
|
-
* @param {
|
|
6771
|
+
* @param {IContentPlayed} message ContentPlayed message or plain object to encode
|
|
6772
6772
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
6773
6773
|
* @returns {$protobuf.Writer} Writer
|
|
6774
6774
|
*/
|
|
6775
|
-
|
|
6775
|
+
ContentPlayed.encodeDelimited = function encodeDelimited(message, writer) {
|
|
6776
6776
|
return this.encode(message, writer).ldelim();
|
|
6777
6777
|
};
|
|
6778
6778
|
|
|
6779
6779
|
/**
|
|
6780
|
-
* Decodes a
|
|
6780
|
+
* Decodes a ContentPlayed message from the specified reader or buffer.
|
|
6781
6781
|
* @function decode
|
|
6782
|
-
* @memberof
|
|
6782
|
+
* @memberof ContentPlayed
|
|
6783
6783
|
* @static
|
|
6784
6784
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
6785
6785
|
* @param {number} [length] Message length if known beforehand
|
|
6786
|
-
* @returns {
|
|
6786
|
+
* @returns {ContentPlayed} ContentPlayed
|
|
6787
6787
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
6788
6788
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
6789
6789
|
*/
|
|
6790
|
-
|
|
6790
|
+
ContentPlayed.decode = function decode(reader, length) {
|
|
6791
6791
|
if (!(reader instanceof $Reader))
|
|
6792
6792
|
reader = $Reader.create(reader);
|
|
6793
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.
|
|
6793
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ContentPlayed();
|
|
6794
6794
|
while (reader.pos < end) {
|
|
6795
6795
|
var tag = reader.uint32();
|
|
6796
6796
|
switch (tag >>> 3) {
|
|
@@ -6812,30 +6812,30 @@ $root.ContentCompleted = (function() {
|
|
|
6812
6812
|
};
|
|
6813
6813
|
|
|
6814
6814
|
/**
|
|
6815
|
-
* Decodes a
|
|
6815
|
+
* Decodes a ContentPlayed message from the specified reader or buffer, length delimited.
|
|
6816
6816
|
* @function decodeDelimited
|
|
6817
|
-
* @memberof
|
|
6817
|
+
* @memberof ContentPlayed
|
|
6818
6818
|
* @static
|
|
6819
6819
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
6820
|
-
* @returns {
|
|
6820
|
+
* @returns {ContentPlayed} ContentPlayed
|
|
6821
6821
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
6822
6822
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
6823
6823
|
*/
|
|
6824
|
-
|
|
6824
|
+
ContentPlayed.decodeDelimited = function decodeDelimited(reader) {
|
|
6825
6825
|
if (!(reader instanceof $Reader))
|
|
6826
6826
|
reader = new $Reader(reader);
|
|
6827
6827
|
return this.decode(reader, reader.uint32());
|
|
6828
6828
|
};
|
|
6829
6829
|
|
|
6830
6830
|
/**
|
|
6831
|
-
* Verifies a
|
|
6831
|
+
* Verifies a ContentPlayed message.
|
|
6832
6832
|
* @function verify
|
|
6833
|
-
* @memberof
|
|
6833
|
+
* @memberof ContentPlayed
|
|
6834
6834
|
* @static
|
|
6835
6835
|
* @param {Object.<string,*>} message Plain object to verify
|
|
6836
6836
|
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
6837
6837
|
*/
|
|
6838
|
-
|
|
6838
|
+
ContentPlayed.verify = function verify(message) {
|
|
6839
6839
|
if (typeof message !== "object" || message === null)
|
|
6840
6840
|
return "object expected";
|
|
6841
6841
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
@@ -6851,17 +6851,17 @@ $root.ContentCompleted = (function() {
|
|
|
6851
6851
|
};
|
|
6852
6852
|
|
|
6853
6853
|
/**
|
|
6854
|
-
* Creates a
|
|
6854
|
+
* Creates a ContentPlayed message from a plain object. Also converts values to their respective internal types.
|
|
6855
6855
|
* @function fromObject
|
|
6856
|
-
* @memberof
|
|
6856
|
+
* @memberof ContentPlayed
|
|
6857
6857
|
* @static
|
|
6858
6858
|
* @param {Object.<string,*>} object Plain object
|
|
6859
|
-
* @returns {
|
|
6859
|
+
* @returns {ContentPlayed} ContentPlayed
|
|
6860
6860
|
*/
|
|
6861
|
-
|
|
6862
|
-
if (object instanceof $root.
|
|
6861
|
+
ContentPlayed.fromObject = function fromObject(object) {
|
|
6862
|
+
if (object instanceof $root.ContentPlayed)
|
|
6863
6863
|
return object;
|
|
6864
|
-
var message = new $root.
|
|
6864
|
+
var message = new $root.ContentPlayed();
|
|
6865
6865
|
if (object.timestamp != null)
|
|
6866
6866
|
if ($util.Long)
|
|
6867
6867
|
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
|
|
@@ -6879,15 +6879,15 @@ $root.ContentCompleted = (function() {
|
|
|
6879
6879
|
};
|
|
6880
6880
|
|
|
6881
6881
|
/**
|
|
6882
|
-
* Creates a plain object from a
|
|
6882
|
+
* Creates a plain object from a ContentPlayed message. Also converts values to other types if specified.
|
|
6883
6883
|
* @function toObject
|
|
6884
|
-
* @memberof
|
|
6884
|
+
* @memberof ContentPlayed
|
|
6885
6885
|
* @static
|
|
6886
|
-
* @param {
|
|
6886
|
+
* @param {ContentPlayed} message ContentPlayed
|
|
6887
6887
|
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
6888
6888
|
* @returns {Object.<string,*>} Plain object
|
|
6889
6889
|
*/
|
|
6890
|
-
|
|
6890
|
+
ContentPlayed.toObject = function toObject(message, options) {
|
|
6891
6891
|
if (!options)
|
|
6892
6892
|
options = {};
|
|
6893
6893
|
var object = {};
|
|
@@ -6913,17 +6913,17 @@ $root.ContentCompleted = (function() {
|
|
|
6913
6913
|
};
|
|
6914
6914
|
|
|
6915
6915
|
/**
|
|
6916
|
-
* Converts this
|
|
6916
|
+
* Converts this ContentPlayed to JSON.
|
|
6917
6917
|
* @function toJSON
|
|
6918
|
-
* @memberof
|
|
6918
|
+
* @memberof ContentPlayed
|
|
6919
6919
|
* @instance
|
|
6920
6920
|
* @returns {Object.<string,*>} JSON object
|
|
6921
6921
|
*/
|
|
6922
|
-
|
|
6922
|
+
ContentPlayed.prototype.toJSON = function toJSON() {
|
|
6923
6923
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
6924
6924
|
};
|
|
6925
6925
|
|
|
6926
|
-
return
|
|
6926
|
+
return ContentPlayed;
|
|
6927
6927
|
})();
|
|
6928
6928
|
|
|
6929
6929
|
$root.ReferralSignedUp = (function() {
|
package/package.json
CHANGED