@headspace/protos-events 1.34.1 → 1.35.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 +102 -102
- package/lib/index.js +246 -246
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -2089,6 +2089,108 @@ export namespace com {
|
|
|
2089
2089
|
}
|
|
2090
2090
|
}
|
|
2091
2091
|
|
|
2092
|
+
/** Properties of a ContentPlayed. */
|
|
2093
|
+
export interface IContentPlayed {
|
|
2094
|
+
|
|
2095
|
+
/** ContentPlayed timestamp */
|
|
2096
|
+
timestamp?: (number|Long|null);
|
|
2097
|
+
|
|
2098
|
+
/** ContentPlayed contentId */
|
|
2099
|
+
contentId?: (number|null);
|
|
2100
|
+
|
|
2101
|
+
/** ContentPlayed userId */
|
|
2102
|
+
userId?: (string|null);
|
|
2103
|
+
}
|
|
2104
|
+
|
|
2105
|
+
/** Represents a ContentPlayed. */
|
|
2106
|
+
export class ContentPlayed implements IContentPlayed {
|
|
2107
|
+
|
|
2108
|
+
/**
|
|
2109
|
+
* Constructs a new ContentPlayed.
|
|
2110
|
+
* @param [properties] Properties to set
|
|
2111
|
+
*/
|
|
2112
|
+
constructor(properties?: IContentPlayed);
|
|
2113
|
+
|
|
2114
|
+
/** ContentPlayed timestamp. */
|
|
2115
|
+
public timestamp: (number|Long);
|
|
2116
|
+
|
|
2117
|
+
/** ContentPlayed contentId. */
|
|
2118
|
+
public contentId: number;
|
|
2119
|
+
|
|
2120
|
+
/** ContentPlayed userId. */
|
|
2121
|
+
public userId: string;
|
|
2122
|
+
|
|
2123
|
+
/**
|
|
2124
|
+
* Creates a new ContentPlayed instance using the specified properties.
|
|
2125
|
+
* @param [properties] Properties to set
|
|
2126
|
+
* @returns ContentPlayed instance
|
|
2127
|
+
*/
|
|
2128
|
+
public static create(properties?: IContentPlayed): ContentPlayed;
|
|
2129
|
+
|
|
2130
|
+
/**
|
|
2131
|
+
* Encodes the specified ContentPlayed message. Does not implicitly {@link ContentPlayed.verify|verify} messages.
|
|
2132
|
+
* @param message ContentPlayed message or plain object to encode
|
|
2133
|
+
* @param [writer] Writer to encode to
|
|
2134
|
+
* @returns Writer
|
|
2135
|
+
*/
|
|
2136
|
+
public static encode(message: IContentPlayed, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2137
|
+
|
|
2138
|
+
/**
|
|
2139
|
+
* Encodes the specified ContentPlayed message, length delimited. Does not implicitly {@link ContentPlayed.verify|verify} messages.
|
|
2140
|
+
* @param message ContentPlayed message or plain object to encode
|
|
2141
|
+
* @param [writer] Writer to encode to
|
|
2142
|
+
* @returns Writer
|
|
2143
|
+
*/
|
|
2144
|
+
public static encodeDelimited(message: IContentPlayed, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2145
|
+
|
|
2146
|
+
/**
|
|
2147
|
+
* Decodes a ContentPlayed message from the specified reader or buffer.
|
|
2148
|
+
* @param reader Reader or buffer to decode from
|
|
2149
|
+
* @param [length] Message length if known beforehand
|
|
2150
|
+
* @returns ContentPlayed
|
|
2151
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2152
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2153
|
+
*/
|
|
2154
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ContentPlayed;
|
|
2155
|
+
|
|
2156
|
+
/**
|
|
2157
|
+
* Decodes a ContentPlayed message from the specified reader or buffer, length delimited.
|
|
2158
|
+
* @param reader Reader or buffer to decode from
|
|
2159
|
+
* @returns ContentPlayed
|
|
2160
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2161
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2162
|
+
*/
|
|
2163
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ContentPlayed;
|
|
2164
|
+
|
|
2165
|
+
/**
|
|
2166
|
+
* Verifies a ContentPlayed message.
|
|
2167
|
+
* @param message Plain object to verify
|
|
2168
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
2169
|
+
*/
|
|
2170
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
2171
|
+
|
|
2172
|
+
/**
|
|
2173
|
+
* Creates a ContentPlayed message from a plain object. Also converts values to their respective internal types.
|
|
2174
|
+
* @param object Plain object
|
|
2175
|
+
* @returns ContentPlayed
|
|
2176
|
+
*/
|
|
2177
|
+
public static fromObject(object: { [k: string]: any }): ContentPlayed;
|
|
2178
|
+
|
|
2179
|
+
/**
|
|
2180
|
+
* Creates a plain object from a ContentPlayed message. Also converts values to other types if specified.
|
|
2181
|
+
* @param message ContentPlayed
|
|
2182
|
+
* @param [options] Conversion options
|
|
2183
|
+
* @returns Plain object
|
|
2184
|
+
*/
|
|
2185
|
+
public static toObject(message: ContentPlayed, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2186
|
+
|
|
2187
|
+
/**
|
|
2188
|
+
* Converts this ContentPlayed to JSON.
|
|
2189
|
+
* @returns JSON object
|
|
2190
|
+
*/
|
|
2191
|
+
public toJSON(): { [k: string]: any };
|
|
2192
|
+
}
|
|
2193
|
+
|
|
2092
2194
|
/** Properties of a FamilyMemberAdded. */
|
|
2093
2195
|
export interface IFamilyMemberAdded {
|
|
2094
2196
|
|
|
@@ -2863,108 +2965,6 @@ export class CheckInCompleted implements ICheckInCompleted {
|
|
|
2863
2965
|
public toJSON(): { [k: string]: any };
|
|
2864
2966
|
}
|
|
2865
2967
|
|
|
2866
|
-
/** Properties of a ContentPlayed. */
|
|
2867
|
-
export interface IContentPlayed {
|
|
2868
|
-
|
|
2869
|
-
/** ContentPlayed timestamp */
|
|
2870
|
-
timestamp?: (number|Long|null);
|
|
2871
|
-
|
|
2872
|
-
/** ContentPlayed contentId */
|
|
2873
|
-
contentId?: (number|null);
|
|
2874
|
-
|
|
2875
|
-
/** ContentPlayed userId */
|
|
2876
|
-
userId?: (string|null);
|
|
2877
|
-
}
|
|
2878
|
-
|
|
2879
|
-
/** Represents a ContentPlayed. */
|
|
2880
|
-
export class ContentPlayed implements IContentPlayed {
|
|
2881
|
-
|
|
2882
|
-
/**
|
|
2883
|
-
* Constructs a new ContentPlayed.
|
|
2884
|
-
* @param [properties] Properties to set
|
|
2885
|
-
*/
|
|
2886
|
-
constructor(properties?: IContentPlayed);
|
|
2887
|
-
|
|
2888
|
-
/** ContentPlayed timestamp. */
|
|
2889
|
-
public timestamp: (number|Long);
|
|
2890
|
-
|
|
2891
|
-
/** ContentPlayed contentId. */
|
|
2892
|
-
public contentId: number;
|
|
2893
|
-
|
|
2894
|
-
/** ContentPlayed userId. */
|
|
2895
|
-
public userId: string;
|
|
2896
|
-
|
|
2897
|
-
/**
|
|
2898
|
-
* Creates a new ContentPlayed instance using the specified properties.
|
|
2899
|
-
* @param [properties] Properties to set
|
|
2900
|
-
* @returns ContentPlayed instance
|
|
2901
|
-
*/
|
|
2902
|
-
public static create(properties?: IContentPlayed): ContentPlayed;
|
|
2903
|
-
|
|
2904
|
-
/**
|
|
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
|
-
* @param [writer] Writer to encode to
|
|
2908
|
-
* @returns Writer
|
|
2909
|
-
*/
|
|
2910
|
-
public static encode(message: IContentPlayed, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2911
|
-
|
|
2912
|
-
/**
|
|
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
|
-
* @param [writer] Writer to encode to
|
|
2916
|
-
* @returns Writer
|
|
2917
|
-
*/
|
|
2918
|
-
public static encodeDelimited(message: IContentPlayed, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2919
|
-
|
|
2920
|
-
/**
|
|
2921
|
-
* Decodes a ContentPlayed message from the specified reader or buffer.
|
|
2922
|
-
* @param reader Reader or buffer to decode from
|
|
2923
|
-
* @param [length] Message length if known beforehand
|
|
2924
|
-
* @returns ContentPlayed
|
|
2925
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2926
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2927
|
-
*/
|
|
2928
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ContentPlayed;
|
|
2929
|
-
|
|
2930
|
-
/**
|
|
2931
|
-
* Decodes a ContentPlayed message from the specified reader or buffer, length delimited.
|
|
2932
|
-
* @param reader Reader or buffer to decode from
|
|
2933
|
-
* @returns ContentPlayed
|
|
2934
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2935
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2936
|
-
*/
|
|
2937
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ContentPlayed;
|
|
2938
|
-
|
|
2939
|
-
/**
|
|
2940
|
-
* Verifies a ContentPlayed message.
|
|
2941
|
-
* @param message Plain object to verify
|
|
2942
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
2943
|
-
*/
|
|
2944
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
2945
|
-
|
|
2946
|
-
/**
|
|
2947
|
-
* Creates a ContentPlayed message from a plain object. Also converts values to their respective internal types.
|
|
2948
|
-
* @param object Plain object
|
|
2949
|
-
* @returns ContentPlayed
|
|
2950
|
-
*/
|
|
2951
|
-
public static fromObject(object: { [k: string]: any }): ContentPlayed;
|
|
2952
|
-
|
|
2953
|
-
/**
|
|
2954
|
-
* Creates a plain object from a ContentPlayed message. Also converts values to other types if specified.
|
|
2955
|
-
* @param message ContentPlayed
|
|
2956
|
-
* @param [options] Conversion options
|
|
2957
|
-
* @returns Plain object
|
|
2958
|
-
*/
|
|
2959
|
-
public static toObject(message: ContentPlayed, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2960
|
-
|
|
2961
|
-
/**
|
|
2962
|
-
* Converts this ContentPlayed to JSON.
|
|
2963
|
-
* @returns JSON object
|
|
2964
|
-
*/
|
|
2965
|
-
public toJSON(): { [k: string]: any };
|
|
2966
|
-
}
|
|
2967
|
-
|
|
2968
2968
|
/** Properties of a ReferralSignedUp. */
|
|
2969
2969
|
export interface IReferralSignedUp {
|
|
2970
2970
|
|
package/lib/index.js
CHANGED
|
@@ -4730,6 +4730,252 @@ $root.com = (function() {
|
|
|
4730
4730
|
return com;
|
|
4731
4731
|
})();
|
|
4732
4732
|
|
|
4733
|
+
$root.ContentPlayed = (function() {
|
|
4734
|
+
|
|
4735
|
+
/**
|
|
4736
|
+
* Properties of a ContentPlayed.
|
|
4737
|
+
* @exports IContentPlayed
|
|
4738
|
+
* @interface IContentPlayed
|
|
4739
|
+
* @property {number|Long|null} [timestamp] ContentPlayed timestamp
|
|
4740
|
+
* @property {number|null} [contentId] ContentPlayed contentId
|
|
4741
|
+
* @property {string|null} [userId] ContentPlayed userId
|
|
4742
|
+
*/
|
|
4743
|
+
|
|
4744
|
+
/**
|
|
4745
|
+
* Constructs a new ContentPlayed.
|
|
4746
|
+
* @exports ContentPlayed
|
|
4747
|
+
* @classdesc Represents a ContentPlayed.
|
|
4748
|
+
* @implements IContentPlayed
|
|
4749
|
+
* @constructor
|
|
4750
|
+
* @param {IContentPlayed=} [properties] Properties to set
|
|
4751
|
+
*/
|
|
4752
|
+
function ContentPlayed(properties) {
|
|
4753
|
+
if (properties)
|
|
4754
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
4755
|
+
if (properties[keys[i]] != null)
|
|
4756
|
+
this[keys[i]] = properties[keys[i]];
|
|
4757
|
+
}
|
|
4758
|
+
|
|
4759
|
+
/**
|
|
4760
|
+
* ContentPlayed timestamp.
|
|
4761
|
+
* @member {number|Long} timestamp
|
|
4762
|
+
* @memberof ContentPlayed
|
|
4763
|
+
* @instance
|
|
4764
|
+
*/
|
|
4765
|
+
ContentPlayed.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
4766
|
+
|
|
4767
|
+
/**
|
|
4768
|
+
* ContentPlayed contentId.
|
|
4769
|
+
* @member {number} contentId
|
|
4770
|
+
* @memberof ContentPlayed
|
|
4771
|
+
* @instance
|
|
4772
|
+
*/
|
|
4773
|
+
ContentPlayed.prototype.contentId = 0;
|
|
4774
|
+
|
|
4775
|
+
/**
|
|
4776
|
+
* ContentPlayed userId.
|
|
4777
|
+
* @member {string} userId
|
|
4778
|
+
* @memberof ContentPlayed
|
|
4779
|
+
* @instance
|
|
4780
|
+
*/
|
|
4781
|
+
ContentPlayed.prototype.userId = "";
|
|
4782
|
+
|
|
4783
|
+
/**
|
|
4784
|
+
* Creates a new ContentPlayed instance using the specified properties.
|
|
4785
|
+
* @function create
|
|
4786
|
+
* @memberof ContentPlayed
|
|
4787
|
+
* @static
|
|
4788
|
+
* @param {IContentPlayed=} [properties] Properties to set
|
|
4789
|
+
* @returns {ContentPlayed} ContentPlayed instance
|
|
4790
|
+
*/
|
|
4791
|
+
ContentPlayed.create = function create(properties) {
|
|
4792
|
+
return new ContentPlayed(properties);
|
|
4793
|
+
};
|
|
4794
|
+
|
|
4795
|
+
/**
|
|
4796
|
+
* Encodes the specified ContentPlayed message. Does not implicitly {@link ContentPlayed.verify|verify} messages.
|
|
4797
|
+
* @function encode
|
|
4798
|
+
* @memberof ContentPlayed
|
|
4799
|
+
* @static
|
|
4800
|
+
* @param {IContentPlayed} message ContentPlayed message or plain object to encode
|
|
4801
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
4802
|
+
* @returns {$protobuf.Writer} Writer
|
|
4803
|
+
*/
|
|
4804
|
+
ContentPlayed.encode = function encode(message, writer) {
|
|
4805
|
+
if (!writer)
|
|
4806
|
+
writer = $Writer.create();
|
|
4807
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
4808
|
+
writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.timestamp);
|
|
4809
|
+
if (message.contentId != null && message.hasOwnProperty("contentId"))
|
|
4810
|
+
writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.contentId);
|
|
4811
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
4812
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.userId);
|
|
4813
|
+
return writer;
|
|
4814
|
+
};
|
|
4815
|
+
|
|
4816
|
+
/**
|
|
4817
|
+
* Encodes the specified ContentPlayed message, length delimited. Does not implicitly {@link ContentPlayed.verify|verify} messages.
|
|
4818
|
+
* @function encodeDelimited
|
|
4819
|
+
* @memberof ContentPlayed
|
|
4820
|
+
* @static
|
|
4821
|
+
* @param {IContentPlayed} message ContentPlayed message or plain object to encode
|
|
4822
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
4823
|
+
* @returns {$protobuf.Writer} Writer
|
|
4824
|
+
*/
|
|
4825
|
+
ContentPlayed.encodeDelimited = function encodeDelimited(message, writer) {
|
|
4826
|
+
return this.encode(message, writer).ldelim();
|
|
4827
|
+
};
|
|
4828
|
+
|
|
4829
|
+
/**
|
|
4830
|
+
* Decodes a ContentPlayed message from the specified reader or buffer.
|
|
4831
|
+
* @function decode
|
|
4832
|
+
* @memberof ContentPlayed
|
|
4833
|
+
* @static
|
|
4834
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
4835
|
+
* @param {number} [length] Message length if known beforehand
|
|
4836
|
+
* @returns {ContentPlayed} ContentPlayed
|
|
4837
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4838
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4839
|
+
*/
|
|
4840
|
+
ContentPlayed.decode = function decode(reader, length) {
|
|
4841
|
+
if (!(reader instanceof $Reader))
|
|
4842
|
+
reader = $Reader.create(reader);
|
|
4843
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ContentPlayed();
|
|
4844
|
+
while (reader.pos < end) {
|
|
4845
|
+
var tag = reader.uint32();
|
|
4846
|
+
switch (tag >>> 3) {
|
|
4847
|
+
case 1:
|
|
4848
|
+
message.timestamp = reader.uint64();
|
|
4849
|
+
break;
|
|
4850
|
+
case 2:
|
|
4851
|
+
message.contentId = reader.uint32();
|
|
4852
|
+
break;
|
|
4853
|
+
case 3:
|
|
4854
|
+
message.userId = reader.string();
|
|
4855
|
+
break;
|
|
4856
|
+
default:
|
|
4857
|
+
reader.skipType(tag & 7);
|
|
4858
|
+
break;
|
|
4859
|
+
}
|
|
4860
|
+
}
|
|
4861
|
+
return message;
|
|
4862
|
+
};
|
|
4863
|
+
|
|
4864
|
+
/**
|
|
4865
|
+
* Decodes a ContentPlayed message from the specified reader or buffer, length delimited.
|
|
4866
|
+
* @function decodeDelimited
|
|
4867
|
+
* @memberof ContentPlayed
|
|
4868
|
+
* @static
|
|
4869
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
4870
|
+
* @returns {ContentPlayed} ContentPlayed
|
|
4871
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4872
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4873
|
+
*/
|
|
4874
|
+
ContentPlayed.decodeDelimited = function decodeDelimited(reader) {
|
|
4875
|
+
if (!(reader instanceof $Reader))
|
|
4876
|
+
reader = new $Reader(reader);
|
|
4877
|
+
return this.decode(reader, reader.uint32());
|
|
4878
|
+
};
|
|
4879
|
+
|
|
4880
|
+
/**
|
|
4881
|
+
* Verifies a ContentPlayed message.
|
|
4882
|
+
* @function verify
|
|
4883
|
+
* @memberof ContentPlayed
|
|
4884
|
+
* @static
|
|
4885
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
4886
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
4887
|
+
*/
|
|
4888
|
+
ContentPlayed.verify = function verify(message) {
|
|
4889
|
+
if (typeof message !== "object" || message === null)
|
|
4890
|
+
return "object expected";
|
|
4891
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
4892
|
+
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
4893
|
+
return "timestamp: integer|Long expected";
|
|
4894
|
+
if (message.contentId != null && message.hasOwnProperty("contentId"))
|
|
4895
|
+
if (!$util.isInteger(message.contentId))
|
|
4896
|
+
return "contentId: integer expected";
|
|
4897
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
4898
|
+
if (!$util.isString(message.userId))
|
|
4899
|
+
return "userId: string expected";
|
|
4900
|
+
return null;
|
|
4901
|
+
};
|
|
4902
|
+
|
|
4903
|
+
/**
|
|
4904
|
+
* Creates a ContentPlayed message from a plain object. Also converts values to their respective internal types.
|
|
4905
|
+
* @function fromObject
|
|
4906
|
+
* @memberof ContentPlayed
|
|
4907
|
+
* @static
|
|
4908
|
+
* @param {Object.<string,*>} object Plain object
|
|
4909
|
+
* @returns {ContentPlayed} ContentPlayed
|
|
4910
|
+
*/
|
|
4911
|
+
ContentPlayed.fromObject = function fromObject(object) {
|
|
4912
|
+
if (object instanceof $root.ContentPlayed)
|
|
4913
|
+
return object;
|
|
4914
|
+
var message = new $root.ContentPlayed();
|
|
4915
|
+
if (object.timestamp != null)
|
|
4916
|
+
if ($util.Long)
|
|
4917
|
+
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
|
|
4918
|
+
else if (typeof object.timestamp === "string")
|
|
4919
|
+
message.timestamp = parseInt(object.timestamp, 10);
|
|
4920
|
+
else if (typeof object.timestamp === "number")
|
|
4921
|
+
message.timestamp = object.timestamp;
|
|
4922
|
+
else if (typeof object.timestamp === "object")
|
|
4923
|
+
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
4924
|
+
if (object.contentId != null)
|
|
4925
|
+
message.contentId = object.contentId >>> 0;
|
|
4926
|
+
if (object.userId != null)
|
|
4927
|
+
message.userId = String(object.userId);
|
|
4928
|
+
return message;
|
|
4929
|
+
};
|
|
4930
|
+
|
|
4931
|
+
/**
|
|
4932
|
+
* Creates a plain object from a ContentPlayed message. Also converts values to other types if specified.
|
|
4933
|
+
* @function toObject
|
|
4934
|
+
* @memberof ContentPlayed
|
|
4935
|
+
* @static
|
|
4936
|
+
* @param {ContentPlayed} message ContentPlayed
|
|
4937
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
4938
|
+
* @returns {Object.<string,*>} Plain object
|
|
4939
|
+
*/
|
|
4940
|
+
ContentPlayed.toObject = function toObject(message, options) {
|
|
4941
|
+
if (!options)
|
|
4942
|
+
options = {};
|
|
4943
|
+
var object = {};
|
|
4944
|
+
if (options.defaults) {
|
|
4945
|
+
if ($util.Long) {
|
|
4946
|
+
var long = new $util.Long(0, 0, true);
|
|
4947
|
+
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
4948
|
+
} else
|
|
4949
|
+
object.timestamp = options.longs === String ? "0" : 0;
|
|
4950
|
+
object.contentId = 0;
|
|
4951
|
+
object.userId = "";
|
|
4952
|
+
}
|
|
4953
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
4954
|
+
if (typeof message.timestamp === "number")
|
|
4955
|
+
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
4956
|
+
else
|
|
4957
|
+
object.timestamp = options.longs === String ? $util.Long.prototype.toString.call(message.timestamp) : options.longs === Number ? new $util.LongBits(message.timestamp.low >>> 0, message.timestamp.high >>> 0).toNumber(true) : message.timestamp;
|
|
4958
|
+
if (message.contentId != null && message.hasOwnProperty("contentId"))
|
|
4959
|
+
object.contentId = message.contentId;
|
|
4960
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
4961
|
+
object.userId = message.userId;
|
|
4962
|
+
return object;
|
|
4963
|
+
};
|
|
4964
|
+
|
|
4965
|
+
/**
|
|
4966
|
+
* Converts this ContentPlayed to JSON.
|
|
4967
|
+
* @function toJSON
|
|
4968
|
+
* @memberof ContentPlayed
|
|
4969
|
+
* @instance
|
|
4970
|
+
* @returns {Object.<string,*>} JSON object
|
|
4971
|
+
*/
|
|
4972
|
+
ContentPlayed.prototype.toJSON = function toJSON() {
|
|
4973
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
4974
|
+
};
|
|
4975
|
+
|
|
4976
|
+
return ContentPlayed;
|
|
4977
|
+
})();
|
|
4978
|
+
|
|
4733
4979
|
$root.FamilyMemberAdded = (function() {
|
|
4734
4980
|
|
|
4735
4981
|
/**
|
|
@@ -6680,252 +6926,6 @@ $root.CheckInCompleted = (function() {
|
|
|
6680
6926
|
return CheckInCompleted;
|
|
6681
6927
|
})();
|
|
6682
6928
|
|
|
6683
|
-
$root.ContentPlayed = (function() {
|
|
6684
|
-
|
|
6685
|
-
/**
|
|
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
|
-
*/
|
|
6693
|
-
|
|
6694
|
-
/**
|
|
6695
|
-
* Constructs a new ContentPlayed.
|
|
6696
|
-
* @exports ContentPlayed
|
|
6697
|
-
* @classdesc Represents a ContentPlayed.
|
|
6698
|
-
* @implements IContentPlayed
|
|
6699
|
-
* @constructor
|
|
6700
|
-
* @param {IContentPlayed=} [properties] Properties to set
|
|
6701
|
-
*/
|
|
6702
|
-
function ContentPlayed(properties) {
|
|
6703
|
-
if (properties)
|
|
6704
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
6705
|
-
if (properties[keys[i]] != null)
|
|
6706
|
-
this[keys[i]] = properties[keys[i]];
|
|
6707
|
-
}
|
|
6708
|
-
|
|
6709
|
-
/**
|
|
6710
|
-
* ContentPlayed timestamp.
|
|
6711
|
-
* @member {number|Long} timestamp
|
|
6712
|
-
* @memberof ContentPlayed
|
|
6713
|
-
* @instance
|
|
6714
|
-
*/
|
|
6715
|
-
ContentPlayed.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
6716
|
-
|
|
6717
|
-
/**
|
|
6718
|
-
* ContentPlayed contentId.
|
|
6719
|
-
* @member {number} contentId
|
|
6720
|
-
* @memberof ContentPlayed
|
|
6721
|
-
* @instance
|
|
6722
|
-
*/
|
|
6723
|
-
ContentPlayed.prototype.contentId = 0;
|
|
6724
|
-
|
|
6725
|
-
/**
|
|
6726
|
-
* ContentPlayed userId.
|
|
6727
|
-
* @member {string} userId
|
|
6728
|
-
* @memberof ContentPlayed
|
|
6729
|
-
* @instance
|
|
6730
|
-
*/
|
|
6731
|
-
ContentPlayed.prototype.userId = "";
|
|
6732
|
-
|
|
6733
|
-
/**
|
|
6734
|
-
* Creates a new ContentPlayed instance using the specified properties.
|
|
6735
|
-
* @function create
|
|
6736
|
-
* @memberof ContentPlayed
|
|
6737
|
-
* @static
|
|
6738
|
-
* @param {IContentPlayed=} [properties] Properties to set
|
|
6739
|
-
* @returns {ContentPlayed} ContentPlayed instance
|
|
6740
|
-
*/
|
|
6741
|
-
ContentPlayed.create = function create(properties) {
|
|
6742
|
-
return new ContentPlayed(properties);
|
|
6743
|
-
};
|
|
6744
|
-
|
|
6745
|
-
/**
|
|
6746
|
-
* Encodes the specified ContentPlayed message. Does not implicitly {@link ContentPlayed.verify|verify} messages.
|
|
6747
|
-
* @function encode
|
|
6748
|
-
* @memberof ContentPlayed
|
|
6749
|
-
* @static
|
|
6750
|
-
* @param {IContentPlayed} message ContentPlayed message or plain object to encode
|
|
6751
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
6752
|
-
* @returns {$protobuf.Writer} Writer
|
|
6753
|
-
*/
|
|
6754
|
-
ContentPlayed.encode = function encode(message, writer) {
|
|
6755
|
-
if (!writer)
|
|
6756
|
-
writer = $Writer.create();
|
|
6757
|
-
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
6758
|
-
writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.timestamp);
|
|
6759
|
-
if (message.contentId != null && message.hasOwnProperty("contentId"))
|
|
6760
|
-
writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.contentId);
|
|
6761
|
-
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
6762
|
-
writer.uint32(/* id 3, wireType 2 =*/26).string(message.userId);
|
|
6763
|
-
return writer;
|
|
6764
|
-
};
|
|
6765
|
-
|
|
6766
|
-
/**
|
|
6767
|
-
* Encodes the specified ContentPlayed message, length delimited. Does not implicitly {@link ContentPlayed.verify|verify} messages.
|
|
6768
|
-
* @function encodeDelimited
|
|
6769
|
-
* @memberof ContentPlayed
|
|
6770
|
-
* @static
|
|
6771
|
-
* @param {IContentPlayed} message ContentPlayed message or plain object to encode
|
|
6772
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
6773
|
-
* @returns {$protobuf.Writer} Writer
|
|
6774
|
-
*/
|
|
6775
|
-
ContentPlayed.encodeDelimited = function encodeDelimited(message, writer) {
|
|
6776
|
-
return this.encode(message, writer).ldelim();
|
|
6777
|
-
};
|
|
6778
|
-
|
|
6779
|
-
/**
|
|
6780
|
-
* Decodes a ContentPlayed message from the specified reader or buffer.
|
|
6781
|
-
* @function decode
|
|
6782
|
-
* @memberof ContentPlayed
|
|
6783
|
-
* @static
|
|
6784
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
6785
|
-
* @param {number} [length] Message length if known beforehand
|
|
6786
|
-
* @returns {ContentPlayed} ContentPlayed
|
|
6787
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
6788
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
6789
|
-
*/
|
|
6790
|
-
ContentPlayed.decode = function decode(reader, length) {
|
|
6791
|
-
if (!(reader instanceof $Reader))
|
|
6792
|
-
reader = $Reader.create(reader);
|
|
6793
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ContentPlayed();
|
|
6794
|
-
while (reader.pos < end) {
|
|
6795
|
-
var tag = reader.uint32();
|
|
6796
|
-
switch (tag >>> 3) {
|
|
6797
|
-
case 1:
|
|
6798
|
-
message.timestamp = reader.uint64();
|
|
6799
|
-
break;
|
|
6800
|
-
case 2:
|
|
6801
|
-
message.contentId = reader.uint32();
|
|
6802
|
-
break;
|
|
6803
|
-
case 3:
|
|
6804
|
-
message.userId = reader.string();
|
|
6805
|
-
break;
|
|
6806
|
-
default:
|
|
6807
|
-
reader.skipType(tag & 7);
|
|
6808
|
-
break;
|
|
6809
|
-
}
|
|
6810
|
-
}
|
|
6811
|
-
return message;
|
|
6812
|
-
};
|
|
6813
|
-
|
|
6814
|
-
/**
|
|
6815
|
-
* Decodes a ContentPlayed message from the specified reader or buffer, length delimited.
|
|
6816
|
-
* @function decodeDelimited
|
|
6817
|
-
* @memberof ContentPlayed
|
|
6818
|
-
* @static
|
|
6819
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
6820
|
-
* @returns {ContentPlayed} ContentPlayed
|
|
6821
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
6822
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
6823
|
-
*/
|
|
6824
|
-
ContentPlayed.decodeDelimited = function decodeDelimited(reader) {
|
|
6825
|
-
if (!(reader instanceof $Reader))
|
|
6826
|
-
reader = new $Reader(reader);
|
|
6827
|
-
return this.decode(reader, reader.uint32());
|
|
6828
|
-
};
|
|
6829
|
-
|
|
6830
|
-
/**
|
|
6831
|
-
* Verifies a ContentPlayed message.
|
|
6832
|
-
* @function verify
|
|
6833
|
-
* @memberof ContentPlayed
|
|
6834
|
-
* @static
|
|
6835
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
6836
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
6837
|
-
*/
|
|
6838
|
-
ContentPlayed.verify = function verify(message) {
|
|
6839
|
-
if (typeof message !== "object" || message === null)
|
|
6840
|
-
return "object expected";
|
|
6841
|
-
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
6842
|
-
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
6843
|
-
return "timestamp: integer|Long expected";
|
|
6844
|
-
if (message.contentId != null && message.hasOwnProperty("contentId"))
|
|
6845
|
-
if (!$util.isInteger(message.contentId))
|
|
6846
|
-
return "contentId: integer expected";
|
|
6847
|
-
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
6848
|
-
if (!$util.isString(message.userId))
|
|
6849
|
-
return "userId: string expected";
|
|
6850
|
-
return null;
|
|
6851
|
-
};
|
|
6852
|
-
|
|
6853
|
-
/**
|
|
6854
|
-
* Creates a ContentPlayed message from a plain object. Also converts values to their respective internal types.
|
|
6855
|
-
* @function fromObject
|
|
6856
|
-
* @memberof ContentPlayed
|
|
6857
|
-
* @static
|
|
6858
|
-
* @param {Object.<string,*>} object Plain object
|
|
6859
|
-
* @returns {ContentPlayed} ContentPlayed
|
|
6860
|
-
*/
|
|
6861
|
-
ContentPlayed.fromObject = function fromObject(object) {
|
|
6862
|
-
if (object instanceof $root.ContentPlayed)
|
|
6863
|
-
return object;
|
|
6864
|
-
var message = new $root.ContentPlayed();
|
|
6865
|
-
if (object.timestamp != null)
|
|
6866
|
-
if ($util.Long)
|
|
6867
|
-
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
|
|
6868
|
-
else if (typeof object.timestamp === "string")
|
|
6869
|
-
message.timestamp = parseInt(object.timestamp, 10);
|
|
6870
|
-
else if (typeof object.timestamp === "number")
|
|
6871
|
-
message.timestamp = object.timestamp;
|
|
6872
|
-
else if (typeof object.timestamp === "object")
|
|
6873
|
-
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
6874
|
-
if (object.contentId != null)
|
|
6875
|
-
message.contentId = object.contentId >>> 0;
|
|
6876
|
-
if (object.userId != null)
|
|
6877
|
-
message.userId = String(object.userId);
|
|
6878
|
-
return message;
|
|
6879
|
-
};
|
|
6880
|
-
|
|
6881
|
-
/**
|
|
6882
|
-
* Creates a plain object from a ContentPlayed message. Also converts values to other types if specified.
|
|
6883
|
-
* @function toObject
|
|
6884
|
-
* @memberof ContentPlayed
|
|
6885
|
-
* @static
|
|
6886
|
-
* @param {ContentPlayed} message ContentPlayed
|
|
6887
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
6888
|
-
* @returns {Object.<string,*>} Plain object
|
|
6889
|
-
*/
|
|
6890
|
-
ContentPlayed.toObject = function toObject(message, options) {
|
|
6891
|
-
if (!options)
|
|
6892
|
-
options = {};
|
|
6893
|
-
var object = {};
|
|
6894
|
-
if (options.defaults) {
|
|
6895
|
-
if ($util.Long) {
|
|
6896
|
-
var long = new $util.Long(0, 0, true);
|
|
6897
|
-
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
6898
|
-
} else
|
|
6899
|
-
object.timestamp = options.longs === String ? "0" : 0;
|
|
6900
|
-
object.contentId = 0;
|
|
6901
|
-
object.userId = "";
|
|
6902
|
-
}
|
|
6903
|
-
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
6904
|
-
if (typeof message.timestamp === "number")
|
|
6905
|
-
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
6906
|
-
else
|
|
6907
|
-
object.timestamp = options.longs === String ? $util.Long.prototype.toString.call(message.timestamp) : options.longs === Number ? new $util.LongBits(message.timestamp.low >>> 0, message.timestamp.high >>> 0).toNumber(true) : message.timestamp;
|
|
6908
|
-
if (message.contentId != null && message.hasOwnProperty("contentId"))
|
|
6909
|
-
object.contentId = message.contentId;
|
|
6910
|
-
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
6911
|
-
object.userId = message.userId;
|
|
6912
|
-
return object;
|
|
6913
|
-
};
|
|
6914
|
-
|
|
6915
|
-
/**
|
|
6916
|
-
* Converts this ContentPlayed to JSON.
|
|
6917
|
-
* @function toJSON
|
|
6918
|
-
* @memberof ContentPlayed
|
|
6919
|
-
* @instance
|
|
6920
|
-
* @returns {Object.<string,*>} JSON object
|
|
6921
|
-
*/
|
|
6922
|
-
ContentPlayed.prototype.toJSON = function toJSON() {
|
|
6923
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
6924
|
-
};
|
|
6925
|
-
|
|
6926
|
-
return ContentPlayed;
|
|
6927
|
-
})();
|
|
6928
|
-
|
|
6929
6929
|
$root.ReferralSignedUp = (function() {
|
|
6930
6930
|
|
|
6931
6931
|
/**
|
package/package.json
CHANGED