@headspace/protos-events 1.438.0 → 1.439.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 +360 -0
- package/lib/index.js +752 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -35038,6 +35038,366 @@ export class GiftRedemptionCodeGenerated implements IGiftRedemptionCodeGenerated
|
|
|
35038
35038
|
public toJSON(): { [k: string]: any };
|
|
35039
35039
|
}
|
|
35040
35040
|
|
|
35041
|
+
/** Properties of a GoalSet. */
|
|
35042
|
+
export interface IGoalSet {
|
|
35043
|
+
|
|
35044
|
+
/** GoalSet goalFocusArea */
|
|
35045
|
+
goalFocusArea?: (GoalType|null);
|
|
35046
|
+
|
|
35047
|
+
/** GoalSet goalCommittedCount */
|
|
35048
|
+
goalCommittedCount?: (number|null);
|
|
35049
|
+
|
|
35050
|
+
/** GoalSet goalDaysCompleted */
|
|
35051
|
+
goalDaysCompleted?: (number|null);
|
|
35052
|
+
}
|
|
35053
|
+
|
|
35054
|
+
/** Represents a GoalSet. */
|
|
35055
|
+
export class GoalSet implements IGoalSet {
|
|
35056
|
+
|
|
35057
|
+
/**
|
|
35058
|
+
* Constructs a new GoalSet.
|
|
35059
|
+
* @param [properties] Properties to set
|
|
35060
|
+
*/
|
|
35061
|
+
constructor(properties?: IGoalSet);
|
|
35062
|
+
|
|
35063
|
+
/** GoalSet goalFocusArea. */
|
|
35064
|
+
public goalFocusArea: GoalType;
|
|
35065
|
+
|
|
35066
|
+
/** GoalSet goalCommittedCount. */
|
|
35067
|
+
public goalCommittedCount: number;
|
|
35068
|
+
|
|
35069
|
+
/** GoalSet goalDaysCompleted. */
|
|
35070
|
+
public goalDaysCompleted: number;
|
|
35071
|
+
|
|
35072
|
+
/**
|
|
35073
|
+
* Creates a new GoalSet instance using the specified properties.
|
|
35074
|
+
* @param [properties] Properties to set
|
|
35075
|
+
* @returns GoalSet instance
|
|
35076
|
+
*/
|
|
35077
|
+
public static create(properties?: IGoalSet): GoalSet;
|
|
35078
|
+
|
|
35079
|
+
/**
|
|
35080
|
+
* Encodes the specified GoalSet message. Does not implicitly {@link GoalSet.verify|verify} messages.
|
|
35081
|
+
* @param message GoalSet message or plain object to encode
|
|
35082
|
+
* @param [writer] Writer to encode to
|
|
35083
|
+
* @returns Writer
|
|
35084
|
+
*/
|
|
35085
|
+
public static encode(message: IGoalSet, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
35086
|
+
|
|
35087
|
+
/**
|
|
35088
|
+
* Encodes the specified GoalSet message, length delimited. Does not implicitly {@link GoalSet.verify|verify} messages.
|
|
35089
|
+
* @param message GoalSet message or plain object to encode
|
|
35090
|
+
* @param [writer] Writer to encode to
|
|
35091
|
+
* @returns Writer
|
|
35092
|
+
*/
|
|
35093
|
+
public static encodeDelimited(message: IGoalSet, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
35094
|
+
|
|
35095
|
+
/**
|
|
35096
|
+
* Decodes a GoalSet message from the specified reader or buffer.
|
|
35097
|
+
* @param reader Reader or buffer to decode from
|
|
35098
|
+
* @param [length] Message length if known beforehand
|
|
35099
|
+
* @returns GoalSet
|
|
35100
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
35101
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
35102
|
+
*/
|
|
35103
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): GoalSet;
|
|
35104
|
+
|
|
35105
|
+
/**
|
|
35106
|
+
* Decodes a GoalSet message from the specified reader or buffer, length delimited.
|
|
35107
|
+
* @param reader Reader or buffer to decode from
|
|
35108
|
+
* @returns GoalSet
|
|
35109
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
35110
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
35111
|
+
*/
|
|
35112
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): GoalSet;
|
|
35113
|
+
|
|
35114
|
+
/**
|
|
35115
|
+
* Verifies a GoalSet message.
|
|
35116
|
+
* @param message Plain object to verify
|
|
35117
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
35118
|
+
*/
|
|
35119
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
35120
|
+
|
|
35121
|
+
/**
|
|
35122
|
+
* Creates a GoalSet message from a plain object. Also converts values to their respective internal types.
|
|
35123
|
+
* @param object Plain object
|
|
35124
|
+
* @returns GoalSet
|
|
35125
|
+
*/
|
|
35126
|
+
public static fromObject(object: { [k: string]: any }): GoalSet;
|
|
35127
|
+
|
|
35128
|
+
/**
|
|
35129
|
+
* Creates a plain object from a GoalSet message. Also converts values to other types if specified.
|
|
35130
|
+
* @param message GoalSet
|
|
35131
|
+
* @param [options] Conversion options
|
|
35132
|
+
* @returns Plain object
|
|
35133
|
+
*/
|
|
35134
|
+
public static toObject(message: GoalSet, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
35135
|
+
|
|
35136
|
+
/**
|
|
35137
|
+
* Converts this GoalSet to JSON.
|
|
35138
|
+
* @returns JSON object
|
|
35139
|
+
*/
|
|
35140
|
+
public toJSON(): { [k: string]: any };
|
|
35141
|
+
}
|
|
35142
|
+
|
|
35143
|
+
/** Properties of a GoalActivityIncreased. */
|
|
35144
|
+
export interface IGoalActivityIncreased {
|
|
35145
|
+
|
|
35146
|
+
/** GoalActivityIncreased goalDaysCompleted */
|
|
35147
|
+
goalDaysCompleted?: (number|null);
|
|
35148
|
+
}
|
|
35149
|
+
|
|
35150
|
+
/** Represents a GoalActivityIncreased. */
|
|
35151
|
+
export class GoalActivityIncreased implements IGoalActivityIncreased {
|
|
35152
|
+
|
|
35153
|
+
/**
|
|
35154
|
+
* Constructs a new GoalActivityIncreased.
|
|
35155
|
+
* @param [properties] Properties to set
|
|
35156
|
+
*/
|
|
35157
|
+
constructor(properties?: IGoalActivityIncreased);
|
|
35158
|
+
|
|
35159
|
+
/** GoalActivityIncreased goalDaysCompleted. */
|
|
35160
|
+
public goalDaysCompleted: number;
|
|
35161
|
+
|
|
35162
|
+
/**
|
|
35163
|
+
* Creates a new GoalActivityIncreased instance using the specified properties.
|
|
35164
|
+
* @param [properties] Properties to set
|
|
35165
|
+
* @returns GoalActivityIncreased instance
|
|
35166
|
+
*/
|
|
35167
|
+
public static create(properties?: IGoalActivityIncreased): GoalActivityIncreased;
|
|
35168
|
+
|
|
35169
|
+
/**
|
|
35170
|
+
* Encodes the specified GoalActivityIncreased message. Does not implicitly {@link GoalActivityIncreased.verify|verify} messages.
|
|
35171
|
+
* @param message GoalActivityIncreased message or plain object to encode
|
|
35172
|
+
* @param [writer] Writer to encode to
|
|
35173
|
+
* @returns Writer
|
|
35174
|
+
*/
|
|
35175
|
+
public static encode(message: IGoalActivityIncreased, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
35176
|
+
|
|
35177
|
+
/**
|
|
35178
|
+
* Encodes the specified GoalActivityIncreased message, length delimited. Does not implicitly {@link GoalActivityIncreased.verify|verify} messages.
|
|
35179
|
+
* @param message GoalActivityIncreased message or plain object to encode
|
|
35180
|
+
* @param [writer] Writer to encode to
|
|
35181
|
+
* @returns Writer
|
|
35182
|
+
*/
|
|
35183
|
+
public static encodeDelimited(message: IGoalActivityIncreased, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
35184
|
+
|
|
35185
|
+
/**
|
|
35186
|
+
* Decodes a GoalActivityIncreased message from the specified reader or buffer.
|
|
35187
|
+
* @param reader Reader or buffer to decode from
|
|
35188
|
+
* @param [length] Message length if known beforehand
|
|
35189
|
+
* @returns GoalActivityIncreased
|
|
35190
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
35191
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
35192
|
+
*/
|
|
35193
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): GoalActivityIncreased;
|
|
35194
|
+
|
|
35195
|
+
/**
|
|
35196
|
+
* Decodes a GoalActivityIncreased message from the specified reader or buffer, length delimited.
|
|
35197
|
+
* @param reader Reader or buffer to decode from
|
|
35198
|
+
* @returns GoalActivityIncreased
|
|
35199
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
35200
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
35201
|
+
*/
|
|
35202
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): GoalActivityIncreased;
|
|
35203
|
+
|
|
35204
|
+
/**
|
|
35205
|
+
* Verifies a GoalActivityIncreased message.
|
|
35206
|
+
* @param message Plain object to verify
|
|
35207
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
35208
|
+
*/
|
|
35209
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
35210
|
+
|
|
35211
|
+
/**
|
|
35212
|
+
* Creates a GoalActivityIncreased message from a plain object. Also converts values to their respective internal types.
|
|
35213
|
+
* @param object Plain object
|
|
35214
|
+
* @returns GoalActivityIncreased
|
|
35215
|
+
*/
|
|
35216
|
+
public static fromObject(object: { [k: string]: any }): GoalActivityIncreased;
|
|
35217
|
+
|
|
35218
|
+
/**
|
|
35219
|
+
* Creates a plain object from a GoalActivityIncreased message. Also converts values to other types if specified.
|
|
35220
|
+
* @param message GoalActivityIncreased
|
|
35221
|
+
* @param [options] Conversion options
|
|
35222
|
+
* @returns Plain object
|
|
35223
|
+
*/
|
|
35224
|
+
public static toObject(message: GoalActivityIncreased, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
35225
|
+
|
|
35226
|
+
/**
|
|
35227
|
+
* Converts this GoalActivityIncreased to JSON.
|
|
35228
|
+
* @returns JSON object
|
|
35229
|
+
*/
|
|
35230
|
+
public toJSON(): { [k: string]: any };
|
|
35231
|
+
}
|
|
35232
|
+
|
|
35233
|
+
/** Properties of a GoalReflectionCompleted. */
|
|
35234
|
+
export interface IGoalReflectionCompleted {
|
|
35235
|
+
}
|
|
35236
|
+
|
|
35237
|
+
/** Represents a GoalReflectionCompleted. */
|
|
35238
|
+
export class GoalReflectionCompleted implements IGoalReflectionCompleted {
|
|
35239
|
+
|
|
35240
|
+
/**
|
|
35241
|
+
* Constructs a new GoalReflectionCompleted.
|
|
35242
|
+
* @param [properties] Properties to set
|
|
35243
|
+
*/
|
|
35244
|
+
constructor(properties?: IGoalReflectionCompleted);
|
|
35245
|
+
|
|
35246
|
+
/**
|
|
35247
|
+
* Creates a new GoalReflectionCompleted instance using the specified properties.
|
|
35248
|
+
* @param [properties] Properties to set
|
|
35249
|
+
* @returns GoalReflectionCompleted instance
|
|
35250
|
+
*/
|
|
35251
|
+
public static create(properties?: IGoalReflectionCompleted): GoalReflectionCompleted;
|
|
35252
|
+
|
|
35253
|
+
/**
|
|
35254
|
+
* Encodes the specified GoalReflectionCompleted message. Does not implicitly {@link GoalReflectionCompleted.verify|verify} messages.
|
|
35255
|
+
* @param message GoalReflectionCompleted message or plain object to encode
|
|
35256
|
+
* @param [writer] Writer to encode to
|
|
35257
|
+
* @returns Writer
|
|
35258
|
+
*/
|
|
35259
|
+
public static encode(message: IGoalReflectionCompleted, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
35260
|
+
|
|
35261
|
+
/**
|
|
35262
|
+
* Encodes the specified GoalReflectionCompleted message, length delimited. Does not implicitly {@link GoalReflectionCompleted.verify|verify} messages.
|
|
35263
|
+
* @param message GoalReflectionCompleted message or plain object to encode
|
|
35264
|
+
* @param [writer] Writer to encode to
|
|
35265
|
+
* @returns Writer
|
|
35266
|
+
*/
|
|
35267
|
+
public static encodeDelimited(message: IGoalReflectionCompleted, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
35268
|
+
|
|
35269
|
+
/**
|
|
35270
|
+
* Decodes a GoalReflectionCompleted message from the specified reader or buffer.
|
|
35271
|
+
* @param reader Reader or buffer to decode from
|
|
35272
|
+
* @param [length] Message length if known beforehand
|
|
35273
|
+
* @returns GoalReflectionCompleted
|
|
35274
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
35275
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
35276
|
+
*/
|
|
35277
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): GoalReflectionCompleted;
|
|
35278
|
+
|
|
35279
|
+
/**
|
|
35280
|
+
* Decodes a GoalReflectionCompleted message from the specified reader or buffer, length delimited.
|
|
35281
|
+
* @param reader Reader or buffer to decode from
|
|
35282
|
+
* @returns GoalReflectionCompleted
|
|
35283
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
35284
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
35285
|
+
*/
|
|
35286
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): GoalReflectionCompleted;
|
|
35287
|
+
|
|
35288
|
+
/**
|
|
35289
|
+
* Verifies a GoalReflectionCompleted message.
|
|
35290
|
+
* @param message Plain object to verify
|
|
35291
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
35292
|
+
*/
|
|
35293
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
35294
|
+
|
|
35295
|
+
/**
|
|
35296
|
+
* Creates a GoalReflectionCompleted message from a plain object. Also converts values to their respective internal types.
|
|
35297
|
+
* @param object Plain object
|
|
35298
|
+
* @returns GoalReflectionCompleted
|
|
35299
|
+
*/
|
|
35300
|
+
public static fromObject(object: { [k: string]: any }): GoalReflectionCompleted;
|
|
35301
|
+
|
|
35302
|
+
/**
|
|
35303
|
+
* Creates a plain object from a GoalReflectionCompleted message. Also converts values to other types if specified.
|
|
35304
|
+
* @param message GoalReflectionCompleted
|
|
35305
|
+
* @param [options] Conversion options
|
|
35306
|
+
* @returns Plain object
|
|
35307
|
+
*/
|
|
35308
|
+
public static toObject(message: GoalReflectionCompleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
35309
|
+
|
|
35310
|
+
/**
|
|
35311
|
+
* Converts this GoalReflectionCompleted to JSON.
|
|
35312
|
+
* @returns JSON object
|
|
35313
|
+
*/
|
|
35314
|
+
public toJSON(): { [k: string]: any };
|
|
35315
|
+
}
|
|
35316
|
+
|
|
35317
|
+
/** Properties of a GoalCompleted. */
|
|
35318
|
+
export interface IGoalCompleted {
|
|
35319
|
+
}
|
|
35320
|
+
|
|
35321
|
+
/** Represents a GoalCompleted. */
|
|
35322
|
+
export class GoalCompleted implements IGoalCompleted {
|
|
35323
|
+
|
|
35324
|
+
/**
|
|
35325
|
+
* Constructs a new GoalCompleted.
|
|
35326
|
+
* @param [properties] Properties to set
|
|
35327
|
+
*/
|
|
35328
|
+
constructor(properties?: IGoalCompleted);
|
|
35329
|
+
|
|
35330
|
+
/**
|
|
35331
|
+
* Creates a new GoalCompleted instance using the specified properties.
|
|
35332
|
+
* @param [properties] Properties to set
|
|
35333
|
+
* @returns GoalCompleted instance
|
|
35334
|
+
*/
|
|
35335
|
+
public static create(properties?: IGoalCompleted): GoalCompleted;
|
|
35336
|
+
|
|
35337
|
+
/**
|
|
35338
|
+
* Encodes the specified GoalCompleted message. Does not implicitly {@link GoalCompleted.verify|verify} messages.
|
|
35339
|
+
* @param message GoalCompleted message or plain object to encode
|
|
35340
|
+
* @param [writer] Writer to encode to
|
|
35341
|
+
* @returns Writer
|
|
35342
|
+
*/
|
|
35343
|
+
public static encode(message: IGoalCompleted, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
35344
|
+
|
|
35345
|
+
/**
|
|
35346
|
+
* Encodes the specified GoalCompleted message, length delimited. Does not implicitly {@link GoalCompleted.verify|verify} messages.
|
|
35347
|
+
* @param message GoalCompleted message or plain object to encode
|
|
35348
|
+
* @param [writer] Writer to encode to
|
|
35349
|
+
* @returns Writer
|
|
35350
|
+
*/
|
|
35351
|
+
public static encodeDelimited(message: IGoalCompleted, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
35352
|
+
|
|
35353
|
+
/**
|
|
35354
|
+
* Decodes a GoalCompleted message from the specified reader or buffer.
|
|
35355
|
+
* @param reader Reader or buffer to decode from
|
|
35356
|
+
* @param [length] Message length if known beforehand
|
|
35357
|
+
* @returns GoalCompleted
|
|
35358
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
35359
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
35360
|
+
*/
|
|
35361
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): GoalCompleted;
|
|
35362
|
+
|
|
35363
|
+
/**
|
|
35364
|
+
* Decodes a GoalCompleted message from the specified reader or buffer, length delimited.
|
|
35365
|
+
* @param reader Reader or buffer to decode from
|
|
35366
|
+
* @returns GoalCompleted
|
|
35367
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
35368
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
35369
|
+
*/
|
|
35370
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): GoalCompleted;
|
|
35371
|
+
|
|
35372
|
+
/**
|
|
35373
|
+
* Verifies a GoalCompleted message.
|
|
35374
|
+
* @param message Plain object to verify
|
|
35375
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
35376
|
+
*/
|
|
35377
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
35378
|
+
|
|
35379
|
+
/**
|
|
35380
|
+
* Creates a GoalCompleted message from a plain object. Also converts values to their respective internal types.
|
|
35381
|
+
* @param object Plain object
|
|
35382
|
+
* @returns GoalCompleted
|
|
35383
|
+
*/
|
|
35384
|
+
public static fromObject(object: { [k: string]: any }): GoalCompleted;
|
|
35385
|
+
|
|
35386
|
+
/**
|
|
35387
|
+
* Creates a plain object from a GoalCompleted message. Also converts values to other types if specified.
|
|
35388
|
+
* @param message GoalCompleted
|
|
35389
|
+
* @param [options] Conversion options
|
|
35390
|
+
* @returns Plain object
|
|
35391
|
+
*/
|
|
35392
|
+
public static toObject(message: GoalCompleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
35393
|
+
|
|
35394
|
+
/**
|
|
35395
|
+
* Converts this GoalCompleted to JSON.
|
|
35396
|
+
* @returns JSON object
|
|
35397
|
+
*/
|
|
35398
|
+
public toJSON(): { [k: string]: any };
|
|
35399
|
+
}
|
|
35400
|
+
|
|
35041
35401
|
/** Properties of a GoogleSubscriptionPurchased. */
|
|
35042
35402
|
export interface IGoogleSubscriptionPurchased {
|
|
35043
35403
|
|
package/lib/index.js
CHANGED
|
@@ -97933,6 +97933,758 @@ $root.GiftRedemptionCodeGenerated = (function() {
|
|
|
97933
97933
|
return GiftRedemptionCodeGenerated;
|
|
97934
97934
|
})();
|
|
97935
97935
|
|
|
97936
|
+
$root.GoalSet = (function() {
|
|
97937
|
+
|
|
97938
|
+
/**
|
|
97939
|
+
* Properties of a GoalSet.
|
|
97940
|
+
* @exports IGoalSet
|
|
97941
|
+
* @interface IGoalSet
|
|
97942
|
+
* @property {GoalType|null} [goalFocusArea] GoalSet goalFocusArea
|
|
97943
|
+
* @property {number|null} [goalCommittedCount] GoalSet goalCommittedCount
|
|
97944
|
+
* @property {number|null} [goalDaysCompleted] GoalSet goalDaysCompleted
|
|
97945
|
+
*/
|
|
97946
|
+
|
|
97947
|
+
/**
|
|
97948
|
+
* Constructs a new GoalSet.
|
|
97949
|
+
* @exports GoalSet
|
|
97950
|
+
* @classdesc Represents a GoalSet.
|
|
97951
|
+
* @implements IGoalSet
|
|
97952
|
+
* @constructor
|
|
97953
|
+
* @param {IGoalSet=} [properties] Properties to set
|
|
97954
|
+
*/
|
|
97955
|
+
function GoalSet(properties) {
|
|
97956
|
+
if (properties)
|
|
97957
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
97958
|
+
if (properties[keys[i]] != null)
|
|
97959
|
+
this[keys[i]] = properties[keys[i]];
|
|
97960
|
+
}
|
|
97961
|
+
|
|
97962
|
+
/**
|
|
97963
|
+
* GoalSet goalFocusArea.
|
|
97964
|
+
* @member {GoalType} goalFocusArea
|
|
97965
|
+
* @memberof GoalSet
|
|
97966
|
+
* @instance
|
|
97967
|
+
*/
|
|
97968
|
+
GoalSet.prototype.goalFocusArea = 0;
|
|
97969
|
+
|
|
97970
|
+
/**
|
|
97971
|
+
* GoalSet goalCommittedCount.
|
|
97972
|
+
* @member {number} goalCommittedCount
|
|
97973
|
+
* @memberof GoalSet
|
|
97974
|
+
* @instance
|
|
97975
|
+
*/
|
|
97976
|
+
GoalSet.prototype.goalCommittedCount = 0;
|
|
97977
|
+
|
|
97978
|
+
/**
|
|
97979
|
+
* GoalSet goalDaysCompleted.
|
|
97980
|
+
* @member {number} goalDaysCompleted
|
|
97981
|
+
* @memberof GoalSet
|
|
97982
|
+
* @instance
|
|
97983
|
+
*/
|
|
97984
|
+
GoalSet.prototype.goalDaysCompleted = 0;
|
|
97985
|
+
|
|
97986
|
+
/**
|
|
97987
|
+
* Creates a new GoalSet instance using the specified properties.
|
|
97988
|
+
* @function create
|
|
97989
|
+
* @memberof GoalSet
|
|
97990
|
+
* @static
|
|
97991
|
+
* @param {IGoalSet=} [properties] Properties to set
|
|
97992
|
+
* @returns {GoalSet} GoalSet instance
|
|
97993
|
+
*/
|
|
97994
|
+
GoalSet.create = function create(properties) {
|
|
97995
|
+
return new GoalSet(properties);
|
|
97996
|
+
};
|
|
97997
|
+
|
|
97998
|
+
/**
|
|
97999
|
+
* Encodes the specified GoalSet message. Does not implicitly {@link GoalSet.verify|verify} messages.
|
|
98000
|
+
* @function encode
|
|
98001
|
+
* @memberof GoalSet
|
|
98002
|
+
* @static
|
|
98003
|
+
* @param {IGoalSet} message GoalSet message or plain object to encode
|
|
98004
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
98005
|
+
* @returns {$protobuf.Writer} Writer
|
|
98006
|
+
*/
|
|
98007
|
+
GoalSet.encode = function encode(message, writer) {
|
|
98008
|
+
if (!writer)
|
|
98009
|
+
writer = $Writer.create();
|
|
98010
|
+
if (message.goalFocusArea != null && message.hasOwnProperty("goalFocusArea"))
|
|
98011
|
+
writer.uint32(/* id 1, wireType 0 =*/8).int32(message.goalFocusArea);
|
|
98012
|
+
if (message.goalCommittedCount != null && message.hasOwnProperty("goalCommittedCount"))
|
|
98013
|
+
writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.goalCommittedCount);
|
|
98014
|
+
if (message.goalDaysCompleted != null && message.hasOwnProperty("goalDaysCompleted"))
|
|
98015
|
+
writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.goalDaysCompleted);
|
|
98016
|
+
return writer;
|
|
98017
|
+
};
|
|
98018
|
+
|
|
98019
|
+
/**
|
|
98020
|
+
* Encodes the specified GoalSet message, length delimited. Does not implicitly {@link GoalSet.verify|verify} messages.
|
|
98021
|
+
* @function encodeDelimited
|
|
98022
|
+
* @memberof GoalSet
|
|
98023
|
+
* @static
|
|
98024
|
+
* @param {IGoalSet} message GoalSet message or plain object to encode
|
|
98025
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
98026
|
+
* @returns {$protobuf.Writer} Writer
|
|
98027
|
+
*/
|
|
98028
|
+
GoalSet.encodeDelimited = function encodeDelimited(message, writer) {
|
|
98029
|
+
return this.encode(message, writer).ldelim();
|
|
98030
|
+
};
|
|
98031
|
+
|
|
98032
|
+
/**
|
|
98033
|
+
* Decodes a GoalSet message from the specified reader or buffer.
|
|
98034
|
+
* @function decode
|
|
98035
|
+
* @memberof GoalSet
|
|
98036
|
+
* @static
|
|
98037
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
98038
|
+
* @param {number} [length] Message length if known beforehand
|
|
98039
|
+
* @returns {GoalSet} GoalSet
|
|
98040
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
98041
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
98042
|
+
*/
|
|
98043
|
+
GoalSet.decode = function decode(reader, length) {
|
|
98044
|
+
if (!(reader instanceof $Reader))
|
|
98045
|
+
reader = $Reader.create(reader);
|
|
98046
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.GoalSet();
|
|
98047
|
+
while (reader.pos < end) {
|
|
98048
|
+
var tag = reader.uint32();
|
|
98049
|
+
switch (tag >>> 3) {
|
|
98050
|
+
case 1:
|
|
98051
|
+
message.goalFocusArea = reader.int32();
|
|
98052
|
+
break;
|
|
98053
|
+
case 2:
|
|
98054
|
+
message.goalCommittedCount = reader.uint32();
|
|
98055
|
+
break;
|
|
98056
|
+
case 3:
|
|
98057
|
+
message.goalDaysCompleted = reader.uint32();
|
|
98058
|
+
break;
|
|
98059
|
+
default:
|
|
98060
|
+
reader.skipType(tag & 7);
|
|
98061
|
+
break;
|
|
98062
|
+
}
|
|
98063
|
+
}
|
|
98064
|
+
return message;
|
|
98065
|
+
};
|
|
98066
|
+
|
|
98067
|
+
/**
|
|
98068
|
+
* Decodes a GoalSet message from the specified reader or buffer, length delimited.
|
|
98069
|
+
* @function decodeDelimited
|
|
98070
|
+
* @memberof GoalSet
|
|
98071
|
+
* @static
|
|
98072
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
98073
|
+
* @returns {GoalSet} GoalSet
|
|
98074
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
98075
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
98076
|
+
*/
|
|
98077
|
+
GoalSet.decodeDelimited = function decodeDelimited(reader) {
|
|
98078
|
+
if (!(reader instanceof $Reader))
|
|
98079
|
+
reader = new $Reader(reader);
|
|
98080
|
+
return this.decode(reader, reader.uint32());
|
|
98081
|
+
};
|
|
98082
|
+
|
|
98083
|
+
/**
|
|
98084
|
+
* Verifies a GoalSet message.
|
|
98085
|
+
* @function verify
|
|
98086
|
+
* @memberof GoalSet
|
|
98087
|
+
* @static
|
|
98088
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
98089
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
98090
|
+
*/
|
|
98091
|
+
GoalSet.verify = function verify(message) {
|
|
98092
|
+
if (typeof message !== "object" || message === null)
|
|
98093
|
+
return "object expected";
|
|
98094
|
+
if (message.goalFocusArea != null && message.hasOwnProperty("goalFocusArea"))
|
|
98095
|
+
switch (message.goalFocusArea) {
|
|
98096
|
+
default:
|
|
98097
|
+
return "goalFocusArea: enum value expected";
|
|
98098
|
+
case 0:
|
|
98099
|
+
case 1:
|
|
98100
|
+
break;
|
|
98101
|
+
}
|
|
98102
|
+
if (message.goalCommittedCount != null && message.hasOwnProperty("goalCommittedCount"))
|
|
98103
|
+
if (!$util.isInteger(message.goalCommittedCount))
|
|
98104
|
+
return "goalCommittedCount: integer expected";
|
|
98105
|
+
if (message.goalDaysCompleted != null && message.hasOwnProperty("goalDaysCompleted"))
|
|
98106
|
+
if (!$util.isInteger(message.goalDaysCompleted))
|
|
98107
|
+
return "goalDaysCompleted: integer expected";
|
|
98108
|
+
return null;
|
|
98109
|
+
};
|
|
98110
|
+
|
|
98111
|
+
/**
|
|
98112
|
+
* Creates a GoalSet message from a plain object. Also converts values to their respective internal types.
|
|
98113
|
+
* @function fromObject
|
|
98114
|
+
* @memberof GoalSet
|
|
98115
|
+
* @static
|
|
98116
|
+
* @param {Object.<string,*>} object Plain object
|
|
98117
|
+
* @returns {GoalSet} GoalSet
|
|
98118
|
+
*/
|
|
98119
|
+
GoalSet.fromObject = function fromObject(object) {
|
|
98120
|
+
if (object instanceof $root.GoalSet)
|
|
98121
|
+
return object;
|
|
98122
|
+
var message = new $root.GoalSet();
|
|
98123
|
+
switch (object.goalFocusArea) {
|
|
98124
|
+
case "CONTENT_STARTS":
|
|
98125
|
+
case 0:
|
|
98126
|
+
message.goalFocusArea = 0;
|
|
98127
|
+
break;
|
|
98128
|
+
case "MINUTES":
|
|
98129
|
+
case 1:
|
|
98130
|
+
message.goalFocusArea = 1;
|
|
98131
|
+
break;
|
|
98132
|
+
}
|
|
98133
|
+
if (object.goalCommittedCount != null)
|
|
98134
|
+
message.goalCommittedCount = object.goalCommittedCount >>> 0;
|
|
98135
|
+
if (object.goalDaysCompleted != null)
|
|
98136
|
+
message.goalDaysCompleted = object.goalDaysCompleted >>> 0;
|
|
98137
|
+
return message;
|
|
98138
|
+
};
|
|
98139
|
+
|
|
98140
|
+
/**
|
|
98141
|
+
* Creates a plain object from a GoalSet message. Also converts values to other types if specified.
|
|
98142
|
+
* @function toObject
|
|
98143
|
+
* @memberof GoalSet
|
|
98144
|
+
* @static
|
|
98145
|
+
* @param {GoalSet} message GoalSet
|
|
98146
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
98147
|
+
* @returns {Object.<string,*>} Plain object
|
|
98148
|
+
*/
|
|
98149
|
+
GoalSet.toObject = function toObject(message, options) {
|
|
98150
|
+
if (!options)
|
|
98151
|
+
options = {};
|
|
98152
|
+
var object = {};
|
|
98153
|
+
if (options.defaults) {
|
|
98154
|
+
object.goalFocusArea = options.enums === String ? "CONTENT_STARTS" : 0;
|
|
98155
|
+
object.goalCommittedCount = 0;
|
|
98156
|
+
object.goalDaysCompleted = 0;
|
|
98157
|
+
}
|
|
98158
|
+
if (message.goalFocusArea != null && message.hasOwnProperty("goalFocusArea"))
|
|
98159
|
+
object.goalFocusArea = options.enums === String ? $root.GoalType[message.goalFocusArea] : message.goalFocusArea;
|
|
98160
|
+
if (message.goalCommittedCount != null && message.hasOwnProperty("goalCommittedCount"))
|
|
98161
|
+
object.goalCommittedCount = message.goalCommittedCount;
|
|
98162
|
+
if (message.goalDaysCompleted != null && message.hasOwnProperty("goalDaysCompleted"))
|
|
98163
|
+
object.goalDaysCompleted = message.goalDaysCompleted;
|
|
98164
|
+
return object;
|
|
98165
|
+
};
|
|
98166
|
+
|
|
98167
|
+
/**
|
|
98168
|
+
* Converts this GoalSet to JSON.
|
|
98169
|
+
* @function toJSON
|
|
98170
|
+
* @memberof GoalSet
|
|
98171
|
+
* @instance
|
|
98172
|
+
* @returns {Object.<string,*>} JSON object
|
|
98173
|
+
*/
|
|
98174
|
+
GoalSet.prototype.toJSON = function toJSON() {
|
|
98175
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
98176
|
+
};
|
|
98177
|
+
|
|
98178
|
+
return GoalSet;
|
|
98179
|
+
})();
|
|
98180
|
+
|
|
98181
|
+
$root.GoalActivityIncreased = (function() {
|
|
98182
|
+
|
|
98183
|
+
/**
|
|
98184
|
+
* Properties of a GoalActivityIncreased.
|
|
98185
|
+
* @exports IGoalActivityIncreased
|
|
98186
|
+
* @interface IGoalActivityIncreased
|
|
98187
|
+
* @property {number|null} [goalDaysCompleted] GoalActivityIncreased goalDaysCompleted
|
|
98188
|
+
*/
|
|
98189
|
+
|
|
98190
|
+
/**
|
|
98191
|
+
* Constructs a new GoalActivityIncreased.
|
|
98192
|
+
* @exports GoalActivityIncreased
|
|
98193
|
+
* @classdesc Represents a GoalActivityIncreased.
|
|
98194
|
+
* @implements IGoalActivityIncreased
|
|
98195
|
+
* @constructor
|
|
98196
|
+
* @param {IGoalActivityIncreased=} [properties] Properties to set
|
|
98197
|
+
*/
|
|
98198
|
+
function GoalActivityIncreased(properties) {
|
|
98199
|
+
if (properties)
|
|
98200
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
98201
|
+
if (properties[keys[i]] != null)
|
|
98202
|
+
this[keys[i]] = properties[keys[i]];
|
|
98203
|
+
}
|
|
98204
|
+
|
|
98205
|
+
/**
|
|
98206
|
+
* GoalActivityIncreased goalDaysCompleted.
|
|
98207
|
+
* @member {number} goalDaysCompleted
|
|
98208
|
+
* @memberof GoalActivityIncreased
|
|
98209
|
+
* @instance
|
|
98210
|
+
*/
|
|
98211
|
+
GoalActivityIncreased.prototype.goalDaysCompleted = 0;
|
|
98212
|
+
|
|
98213
|
+
/**
|
|
98214
|
+
* Creates a new GoalActivityIncreased instance using the specified properties.
|
|
98215
|
+
* @function create
|
|
98216
|
+
* @memberof GoalActivityIncreased
|
|
98217
|
+
* @static
|
|
98218
|
+
* @param {IGoalActivityIncreased=} [properties] Properties to set
|
|
98219
|
+
* @returns {GoalActivityIncreased} GoalActivityIncreased instance
|
|
98220
|
+
*/
|
|
98221
|
+
GoalActivityIncreased.create = function create(properties) {
|
|
98222
|
+
return new GoalActivityIncreased(properties);
|
|
98223
|
+
};
|
|
98224
|
+
|
|
98225
|
+
/**
|
|
98226
|
+
* Encodes the specified GoalActivityIncreased message. Does not implicitly {@link GoalActivityIncreased.verify|verify} messages.
|
|
98227
|
+
* @function encode
|
|
98228
|
+
* @memberof GoalActivityIncreased
|
|
98229
|
+
* @static
|
|
98230
|
+
* @param {IGoalActivityIncreased} message GoalActivityIncreased message or plain object to encode
|
|
98231
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
98232
|
+
* @returns {$protobuf.Writer} Writer
|
|
98233
|
+
*/
|
|
98234
|
+
GoalActivityIncreased.encode = function encode(message, writer) {
|
|
98235
|
+
if (!writer)
|
|
98236
|
+
writer = $Writer.create();
|
|
98237
|
+
if (message.goalDaysCompleted != null && message.hasOwnProperty("goalDaysCompleted"))
|
|
98238
|
+
writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.goalDaysCompleted);
|
|
98239
|
+
return writer;
|
|
98240
|
+
};
|
|
98241
|
+
|
|
98242
|
+
/**
|
|
98243
|
+
* Encodes the specified GoalActivityIncreased message, length delimited. Does not implicitly {@link GoalActivityIncreased.verify|verify} messages.
|
|
98244
|
+
* @function encodeDelimited
|
|
98245
|
+
* @memberof GoalActivityIncreased
|
|
98246
|
+
* @static
|
|
98247
|
+
* @param {IGoalActivityIncreased} message GoalActivityIncreased message or plain object to encode
|
|
98248
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
98249
|
+
* @returns {$protobuf.Writer} Writer
|
|
98250
|
+
*/
|
|
98251
|
+
GoalActivityIncreased.encodeDelimited = function encodeDelimited(message, writer) {
|
|
98252
|
+
return this.encode(message, writer).ldelim();
|
|
98253
|
+
};
|
|
98254
|
+
|
|
98255
|
+
/**
|
|
98256
|
+
* Decodes a GoalActivityIncreased message from the specified reader or buffer.
|
|
98257
|
+
* @function decode
|
|
98258
|
+
* @memberof GoalActivityIncreased
|
|
98259
|
+
* @static
|
|
98260
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
98261
|
+
* @param {number} [length] Message length if known beforehand
|
|
98262
|
+
* @returns {GoalActivityIncreased} GoalActivityIncreased
|
|
98263
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
98264
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
98265
|
+
*/
|
|
98266
|
+
GoalActivityIncreased.decode = function decode(reader, length) {
|
|
98267
|
+
if (!(reader instanceof $Reader))
|
|
98268
|
+
reader = $Reader.create(reader);
|
|
98269
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.GoalActivityIncreased();
|
|
98270
|
+
while (reader.pos < end) {
|
|
98271
|
+
var tag = reader.uint32();
|
|
98272
|
+
switch (tag >>> 3) {
|
|
98273
|
+
case 1:
|
|
98274
|
+
message.goalDaysCompleted = reader.uint32();
|
|
98275
|
+
break;
|
|
98276
|
+
default:
|
|
98277
|
+
reader.skipType(tag & 7);
|
|
98278
|
+
break;
|
|
98279
|
+
}
|
|
98280
|
+
}
|
|
98281
|
+
return message;
|
|
98282
|
+
};
|
|
98283
|
+
|
|
98284
|
+
/**
|
|
98285
|
+
* Decodes a GoalActivityIncreased message from the specified reader or buffer, length delimited.
|
|
98286
|
+
* @function decodeDelimited
|
|
98287
|
+
* @memberof GoalActivityIncreased
|
|
98288
|
+
* @static
|
|
98289
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
98290
|
+
* @returns {GoalActivityIncreased} GoalActivityIncreased
|
|
98291
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
98292
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
98293
|
+
*/
|
|
98294
|
+
GoalActivityIncreased.decodeDelimited = function decodeDelimited(reader) {
|
|
98295
|
+
if (!(reader instanceof $Reader))
|
|
98296
|
+
reader = new $Reader(reader);
|
|
98297
|
+
return this.decode(reader, reader.uint32());
|
|
98298
|
+
};
|
|
98299
|
+
|
|
98300
|
+
/**
|
|
98301
|
+
* Verifies a GoalActivityIncreased message.
|
|
98302
|
+
* @function verify
|
|
98303
|
+
* @memberof GoalActivityIncreased
|
|
98304
|
+
* @static
|
|
98305
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
98306
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
98307
|
+
*/
|
|
98308
|
+
GoalActivityIncreased.verify = function verify(message) {
|
|
98309
|
+
if (typeof message !== "object" || message === null)
|
|
98310
|
+
return "object expected";
|
|
98311
|
+
if (message.goalDaysCompleted != null && message.hasOwnProperty("goalDaysCompleted"))
|
|
98312
|
+
if (!$util.isInteger(message.goalDaysCompleted))
|
|
98313
|
+
return "goalDaysCompleted: integer expected";
|
|
98314
|
+
return null;
|
|
98315
|
+
};
|
|
98316
|
+
|
|
98317
|
+
/**
|
|
98318
|
+
* Creates a GoalActivityIncreased message from a plain object. Also converts values to their respective internal types.
|
|
98319
|
+
* @function fromObject
|
|
98320
|
+
* @memberof GoalActivityIncreased
|
|
98321
|
+
* @static
|
|
98322
|
+
* @param {Object.<string,*>} object Plain object
|
|
98323
|
+
* @returns {GoalActivityIncreased} GoalActivityIncreased
|
|
98324
|
+
*/
|
|
98325
|
+
GoalActivityIncreased.fromObject = function fromObject(object) {
|
|
98326
|
+
if (object instanceof $root.GoalActivityIncreased)
|
|
98327
|
+
return object;
|
|
98328
|
+
var message = new $root.GoalActivityIncreased();
|
|
98329
|
+
if (object.goalDaysCompleted != null)
|
|
98330
|
+
message.goalDaysCompleted = object.goalDaysCompleted >>> 0;
|
|
98331
|
+
return message;
|
|
98332
|
+
};
|
|
98333
|
+
|
|
98334
|
+
/**
|
|
98335
|
+
* Creates a plain object from a GoalActivityIncreased message. Also converts values to other types if specified.
|
|
98336
|
+
* @function toObject
|
|
98337
|
+
* @memberof GoalActivityIncreased
|
|
98338
|
+
* @static
|
|
98339
|
+
* @param {GoalActivityIncreased} message GoalActivityIncreased
|
|
98340
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
98341
|
+
* @returns {Object.<string,*>} Plain object
|
|
98342
|
+
*/
|
|
98343
|
+
GoalActivityIncreased.toObject = function toObject(message, options) {
|
|
98344
|
+
if (!options)
|
|
98345
|
+
options = {};
|
|
98346
|
+
var object = {};
|
|
98347
|
+
if (options.defaults)
|
|
98348
|
+
object.goalDaysCompleted = 0;
|
|
98349
|
+
if (message.goalDaysCompleted != null && message.hasOwnProperty("goalDaysCompleted"))
|
|
98350
|
+
object.goalDaysCompleted = message.goalDaysCompleted;
|
|
98351
|
+
return object;
|
|
98352
|
+
};
|
|
98353
|
+
|
|
98354
|
+
/**
|
|
98355
|
+
* Converts this GoalActivityIncreased to JSON.
|
|
98356
|
+
* @function toJSON
|
|
98357
|
+
* @memberof GoalActivityIncreased
|
|
98358
|
+
* @instance
|
|
98359
|
+
* @returns {Object.<string,*>} JSON object
|
|
98360
|
+
*/
|
|
98361
|
+
GoalActivityIncreased.prototype.toJSON = function toJSON() {
|
|
98362
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
98363
|
+
};
|
|
98364
|
+
|
|
98365
|
+
return GoalActivityIncreased;
|
|
98366
|
+
})();
|
|
98367
|
+
|
|
98368
|
+
$root.GoalReflectionCompleted = (function() {
|
|
98369
|
+
|
|
98370
|
+
/**
|
|
98371
|
+
* Properties of a GoalReflectionCompleted.
|
|
98372
|
+
* @exports IGoalReflectionCompleted
|
|
98373
|
+
* @interface IGoalReflectionCompleted
|
|
98374
|
+
*/
|
|
98375
|
+
|
|
98376
|
+
/**
|
|
98377
|
+
* Constructs a new GoalReflectionCompleted.
|
|
98378
|
+
* @exports GoalReflectionCompleted
|
|
98379
|
+
* @classdesc Represents a GoalReflectionCompleted.
|
|
98380
|
+
* @implements IGoalReflectionCompleted
|
|
98381
|
+
* @constructor
|
|
98382
|
+
* @param {IGoalReflectionCompleted=} [properties] Properties to set
|
|
98383
|
+
*/
|
|
98384
|
+
function GoalReflectionCompleted(properties) {
|
|
98385
|
+
if (properties)
|
|
98386
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
98387
|
+
if (properties[keys[i]] != null)
|
|
98388
|
+
this[keys[i]] = properties[keys[i]];
|
|
98389
|
+
}
|
|
98390
|
+
|
|
98391
|
+
/**
|
|
98392
|
+
* Creates a new GoalReflectionCompleted instance using the specified properties.
|
|
98393
|
+
* @function create
|
|
98394
|
+
* @memberof GoalReflectionCompleted
|
|
98395
|
+
* @static
|
|
98396
|
+
* @param {IGoalReflectionCompleted=} [properties] Properties to set
|
|
98397
|
+
* @returns {GoalReflectionCompleted} GoalReflectionCompleted instance
|
|
98398
|
+
*/
|
|
98399
|
+
GoalReflectionCompleted.create = function create(properties) {
|
|
98400
|
+
return new GoalReflectionCompleted(properties);
|
|
98401
|
+
};
|
|
98402
|
+
|
|
98403
|
+
/**
|
|
98404
|
+
* Encodes the specified GoalReflectionCompleted message. Does not implicitly {@link GoalReflectionCompleted.verify|verify} messages.
|
|
98405
|
+
* @function encode
|
|
98406
|
+
* @memberof GoalReflectionCompleted
|
|
98407
|
+
* @static
|
|
98408
|
+
* @param {IGoalReflectionCompleted} message GoalReflectionCompleted message or plain object to encode
|
|
98409
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
98410
|
+
* @returns {$protobuf.Writer} Writer
|
|
98411
|
+
*/
|
|
98412
|
+
GoalReflectionCompleted.encode = function encode(message, writer) {
|
|
98413
|
+
if (!writer)
|
|
98414
|
+
writer = $Writer.create();
|
|
98415
|
+
return writer;
|
|
98416
|
+
};
|
|
98417
|
+
|
|
98418
|
+
/**
|
|
98419
|
+
* Encodes the specified GoalReflectionCompleted message, length delimited. Does not implicitly {@link GoalReflectionCompleted.verify|verify} messages.
|
|
98420
|
+
* @function encodeDelimited
|
|
98421
|
+
* @memberof GoalReflectionCompleted
|
|
98422
|
+
* @static
|
|
98423
|
+
* @param {IGoalReflectionCompleted} message GoalReflectionCompleted message or plain object to encode
|
|
98424
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
98425
|
+
* @returns {$protobuf.Writer} Writer
|
|
98426
|
+
*/
|
|
98427
|
+
GoalReflectionCompleted.encodeDelimited = function encodeDelimited(message, writer) {
|
|
98428
|
+
return this.encode(message, writer).ldelim();
|
|
98429
|
+
};
|
|
98430
|
+
|
|
98431
|
+
/**
|
|
98432
|
+
* Decodes a GoalReflectionCompleted message from the specified reader or buffer.
|
|
98433
|
+
* @function decode
|
|
98434
|
+
* @memberof GoalReflectionCompleted
|
|
98435
|
+
* @static
|
|
98436
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
98437
|
+
* @param {number} [length] Message length if known beforehand
|
|
98438
|
+
* @returns {GoalReflectionCompleted} GoalReflectionCompleted
|
|
98439
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
98440
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
98441
|
+
*/
|
|
98442
|
+
GoalReflectionCompleted.decode = function decode(reader, length) {
|
|
98443
|
+
if (!(reader instanceof $Reader))
|
|
98444
|
+
reader = $Reader.create(reader);
|
|
98445
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.GoalReflectionCompleted();
|
|
98446
|
+
while (reader.pos < end) {
|
|
98447
|
+
var tag = reader.uint32();
|
|
98448
|
+
switch (tag >>> 3) {
|
|
98449
|
+
default:
|
|
98450
|
+
reader.skipType(tag & 7);
|
|
98451
|
+
break;
|
|
98452
|
+
}
|
|
98453
|
+
}
|
|
98454
|
+
return message;
|
|
98455
|
+
};
|
|
98456
|
+
|
|
98457
|
+
/**
|
|
98458
|
+
* Decodes a GoalReflectionCompleted message from the specified reader or buffer, length delimited.
|
|
98459
|
+
* @function decodeDelimited
|
|
98460
|
+
* @memberof GoalReflectionCompleted
|
|
98461
|
+
* @static
|
|
98462
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
98463
|
+
* @returns {GoalReflectionCompleted} GoalReflectionCompleted
|
|
98464
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
98465
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
98466
|
+
*/
|
|
98467
|
+
GoalReflectionCompleted.decodeDelimited = function decodeDelimited(reader) {
|
|
98468
|
+
if (!(reader instanceof $Reader))
|
|
98469
|
+
reader = new $Reader(reader);
|
|
98470
|
+
return this.decode(reader, reader.uint32());
|
|
98471
|
+
};
|
|
98472
|
+
|
|
98473
|
+
/**
|
|
98474
|
+
* Verifies a GoalReflectionCompleted message.
|
|
98475
|
+
* @function verify
|
|
98476
|
+
* @memberof GoalReflectionCompleted
|
|
98477
|
+
* @static
|
|
98478
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
98479
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
98480
|
+
*/
|
|
98481
|
+
GoalReflectionCompleted.verify = function verify(message) {
|
|
98482
|
+
if (typeof message !== "object" || message === null)
|
|
98483
|
+
return "object expected";
|
|
98484
|
+
return null;
|
|
98485
|
+
};
|
|
98486
|
+
|
|
98487
|
+
/**
|
|
98488
|
+
* Creates a GoalReflectionCompleted message from a plain object. Also converts values to their respective internal types.
|
|
98489
|
+
* @function fromObject
|
|
98490
|
+
* @memberof GoalReflectionCompleted
|
|
98491
|
+
* @static
|
|
98492
|
+
* @param {Object.<string,*>} object Plain object
|
|
98493
|
+
* @returns {GoalReflectionCompleted} GoalReflectionCompleted
|
|
98494
|
+
*/
|
|
98495
|
+
GoalReflectionCompleted.fromObject = function fromObject(object) {
|
|
98496
|
+
if (object instanceof $root.GoalReflectionCompleted)
|
|
98497
|
+
return object;
|
|
98498
|
+
return new $root.GoalReflectionCompleted();
|
|
98499
|
+
};
|
|
98500
|
+
|
|
98501
|
+
/**
|
|
98502
|
+
* Creates a plain object from a GoalReflectionCompleted message. Also converts values to other types if specified.
|
|
98503
|
+
* @function toObject
|
|
98504
|
+
* @memberof GoalReflectionCompleted
|
|
98505
|
+
* @static
|
|
98506
|
+
* @param {GoalReflectionCompleted} message GoalReflectionCompleted
|
|
98507
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
98508
|
+
* @returns {Object.<string,*>} Plain object
|
|
98509
|
+
*/
|
|
98510
|
+
GoalReflectionCompleted.toObject = function toObject() {
|
|
98511
|
+
return {};
|
|
98512
|
+
};
|
|
98513
|
+
|
|
98514
|
+
/**
|
|
98515
|
+
* Converts this GoalReflectionCompleted to JSON.
|
|
98516
|
+
* @function toJSON
|
|
98517
|
+
* @memberof GoalReflectionCompleted
|
|
98518
|
+
* @instance
|
|
98519
|
+
* @returns {Object.<string,*>} JSON object
|
|
98520
|
+
*/
|
|
98521
|
+
GoalReflectionCompleted.prototype.toJSON = function toJSON() {
|
|
98522
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
98523
|
+
};
|
|
98524
|
+
|
|
98525
|
+
return GoalReflectionCompleted;
|
|
98526
|
+
})();
|
|
98527
|
+
|
|
98528
|
+
$root.GoalCompleted = (function() {
|
|
98529
|
+
|
|
98530
|
+
/**
|
|
98531
|
+
* Properties of a GoalCompleted.
|
|
98532
|
+
* @exports IGoalCompleted
|
|
98533
|
+
* @interface IGoalCompleted
|
|
98534
|
+
*/
|
|
98535
|
+
|
|
98536
|
+
/**
|
|
98537
|
+
* Constructs a new GoalCompleted.
|
|
98538
|
+
* @exports GoalCompleted
|
|
98539
|
+
* @classdesc Represents a GoalCompleted.
|
|
98540
|
+
* @implements IGoalCompleted
|
|
98541
|
+
* @constructor
|
|
98542
|
+
* @param {IGoalCompleted=} [properties] Properties to set
|
|
98543
|
+
*/
|
|
98544
|
+
function GoalCompleted(properties) {
|
|
98545
|
+
if (properties)
|
|
98546
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
98547
|
+
if (properties[keys[i]] != null)
|
|
98548
|
+
this[keys[i]] = properties[keys[i]];
|
|
98549
|
+
}
|
|
98550
|
+
|
|
98551
|
+
/**
|
|
98552
|
+
* Creates a new GoalCompleted instance using the specified properties.
|
|
98553
|
+
* @function create
|
|
98554
|
+
* @memberof GoalCompleted
|
|
98555
|
+
* @static
|
|
98556
|
+
* @param {IGoalCompleted=} [properties] Properties to set
|
|
98557
|
+
* @returns {GoalCompleted} GoalCompleted instance
|
|
98558
|
+
*/
|
|
98559
|
+
GoalCompleted.create = function create(properties) {
|
|
98560
|
+
return new GoalCompleted(properties);
|
|
98561
|
+
};
|
|
98562
|
+
|
|
98563
|
+
/**
|
|
98564
|
+
* Encodes the specified GoalCompleted message. Does not implicitly {@link GoalCompleted.verify|verify} messages.
|
|
98565
|
+
* @function encode
|
|
98566
|
+
* @memberof GoalCompleted
|
|
98567
|
+
* @static
|
|
98568
|
+
* @param {IGoalCompleted} message GoalCompleted message or plain object to encode
|
|
98569
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
98570
|
+
* @returns {$protobuf.Writer} Writer
|
|
98571
|
+
*/
|
|
98572
|
+
GoalCompleted.encode = function encode(message, writer) {
|
|
98573
|
+
if (!writer)
|
|
98574
|
+
writer = $Writer.create();
|
|
98575
|
+
return writer;
|
|
98576
|
+
};
|
|
98577
|
+
|
|
98578
|
+
/**
|
|
98579
|
+
* Encodes the specified GoalCompleted message, length delimited. Does not implicitly {@link GoalCompleted.verify|verify} messages.
|
|
98580
|
+
* @function encodeDelimited
|
|
98581
|
+
* @memberof GoalCompleted
|
|
98582
|
+
* @static
|
|
98583
|
+
* @param {IGoalCompleted} message GoalCompleted message or plain object to encode
|
|
98584
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
98585
|
+
* @returns {$protobuf.Writer} Writer
|
|
98586
|
+
*/
|
|
98587
|
+
GoalCompleted.encodeDelimited = function encodeDelimited(message, writer) {
|
|
98588
|
+
return this.encode(message, writer).ldelim();
|
|
98589
|
+
};
|
|
98590
|
+
|
|
98591
|
+
/**
|
|
98592
|
+
* Decodes a GoalCompleted message from the specified reader or buffer.
|
|
98593
|
+
* @function decode
|
|
98594
|
+
* @memberof GoalCompleted
|
|
98595
|
+
* @static
|
|
98596
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
98597
|
+
* @param {number} [length] Message length if known beforehand
|
|
98598
|
+
* @returns {GoalCompleted} GoalCompleted
|
|
98599
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
98600
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
98601
|
+
*/
|
|
98602
|
+
GoalCompleted.decode = function decode(reader, length) {
|
|
98603
|
+
if (!(reader instanceof $Reader))
|
|
98604
|
+
reader = $Reader.create(reader);
|
|
98605
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.GoalCompleted();
|
|
98606
|
+
while (reader.pos < end) {
|
|
98607
|
+
var tag = reader.uint32();
|
|
98608
|
+
switch (tag >>> 3) {
|
|
98609
|
+
default:
|
|
98610
|
+
reader.skipType(tag & 7);
|
|
98611
|
+
break;
|
|
98612
|
+
}
|
|
98613
|
+
}
|
|
98614
|
+
return message;
|
|
98615
|
+
};
|
|
98616
|
+
|
|
98617
|
+
/**
|
|
98618
|
+
* Decodes a GoalCompleted message from the specified reader or buffer, length delimited.
|
|
98619
|
+
* @function decodeDelimited
|
|
98620
|
+
* @memberof GoalCompleted
|
|
98621
|
+
* @static
|
|
98622
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
98623
|
+
* @returns {GoalCompleted} GoalCompleted
|
|
98624
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
98625
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
98626
|
+
*/
|
|
98627
|
+
GoalCompleted.decodeDelimited = function decodeDelimited(reader) {
|
|
98628
|
+
if (!(reader instanceof $Reader))
|
|
98629
|
+
reader = new $Reader(reader);
|
|
98630
|
+
return this.decode(reader, reader.uint32());
|
|
98631
|
+
};
|
|
98632
|
+
|
|
98633
|
+
/**
|
|
98634
|
+
* Verifies a GoalCompleted message.
|
|
98635
|
+
* @function verify
|
|
98636
|
+
* @memberof GoalCompleted
|
|
98637
|
+
* @static
|
|
98638
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
98639
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
98640
|
+
*/
|
|
98641
|
+
GoalCompleted.verify = function verify(message) {
|
|
98642
|
+
if (typeof message !== "object" || message === null)
|
|
98643
|
+
return "object expected";
|
|
98644
|
+
return null;
|
|
98645
|
+
};
|
|
98646
|
+
|
|
98647
|
+
/**
|
|
98648
|
+
* Creates a GoalCompleted message from a plain object. Also converts values to their respective internal types.
|
|
98649
|
+
* @function fromObject
|
|
98650
|
+
* @memberof GoalCompleted
|
|
98651
|
+
* @static
|
|
98652
|
+
* @param {Object.<string,*>} object Plain object
|
|
98653
|
+
* @returns {GoalCompleted} GoalCompleted
|
|
98654
|
+
*/
|
|
98655
|
+
GoalCompleted.fromObject = function fromObject(object) {
|
|
98656
|
+
if (object instanceof $root.GoalCompleted)
|
|
98657
|
+
return object;
|
|
98658
|
+
return new $root.GoalCompleted();
|
|
98659
|
+
};
|
|
98660
|
+
|
|
98661
|
+
/**
|
|
98662
|
+
* Creates a plain object from a GoalCompleted message. Also converts values to other types if specified.
|
|
98663
|
+
* @function toObject
|
|
98664
|
+
* @memberof GoalCompleted
|
|
98665
|
+
* @static
|
|
98666
|
+
* @param {GoalCompleted} message GoalCompleted
|
|
98667
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
98668
|
+
* @returns {Object.<string,*>} Plain object
|
|
98669
|
+
*/
|
|
98670
|
+
GoalCompleted.toObject = function toObject() {
|
|
98671
|
+
return {};
|
|
98672
|
+
};
|
|
98673
|
+
|
|
98674
|
+
/**
|
|
98675
|
+
* Converts this GoalCompleted to JSON.
|
|
98676
|
+
* @function toJSON
|
|
98677
|
+
* @memberof GoalCompleted
|
|
98678
|
+
* @instance
|
|
98679
|
+
* @returns {Object.<string,*>} JSON object
|
|
98680
|
+
*/
|
|
98681
|
+
GoalCompleted.prototype.toJSON = function toJSON() {
|
|
98682
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
98683
|
+
};
|
|
98684
|
+
|
|
98685
|
+
return GoalCompleted;
|
|
98686
|
+
})();
|
|
98687
|
+
|
|
97936
98688
|
$root.GoogleSubscriptionPurchased = (function() {
|
|
97937
98689
|
|
|
97938
98690
|
/**
|
package/package.json
CHANGED