@headspace/protos-events 0.1.0-alpha.0ae9639 → 1.2.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 +737 -98
- package/lib/index.js +2070 -384
- package/package.json +10 -10
- package/community.proto +0 -13
- package/pingpong.proto +0 -15
- package/subscription.proto +0 -11
package/lib/index.d.ts
CHANGED
|
@@ -10,6 +10,9 @@ export interface IFamilyMemberAdded {
|
|
|
10
10
|
|
|
11
11
|
/** FamilyMemberAdded userId */
|
|
12
12
|
userId?: (string|null);
|
|
13
|
+
|
|
14
|
+
/** FamilyMemberAdded userGroupId */
|
|
15
|
+
userGroupId?: (number|null);
|
|
13
16
|
}
|
|
14
17
|
|
|
15
18
|
/** Represents a FamilyMemberAdded. */
|
|
@@ -30,6 +33,9 @@ export class FamilyMemberAdded implements IFamilyMemberAdded {
|
|
|
30
33
|
/** FamilyMemberAdded userId. */
|
|
31
34
|
public userId: string;
|
|
32
35
|
|
|
36
|
+
/** FamilyMemberAdded userGroupId. */
|
|
37
|
+
public userGroupId: number;
|
|
38
|
+
|
|
33
39
|
/**
|
|
34
40
|
* Creates a new FamilyMemberAdded instance using the specified properties.
|
|
35
41
|
* @param [properties] Properties to set
|
|
@@ -101,6 +107,246 @@ export class FamilyMemberAdded implements IFamilyMemberAdded {
|
|
|
101
107
|
public toJSON(): { [k: string]: any };
|
|
102
108
|
}
|
|
103
109
|
|
|
110
|
+
/** Properties of a FamilyMemberInvited. */
|
|
111
|
+
export interface IFamilyMemberInvited {
|
|
112
|
+
|
|
113
|
+
/** FamilyMemberInvited timestamp */
|
|
114
|
+
timestamp?: (number|Long|null);
|
|
115
|
+
|
|
116
|
+
/** FamilyMemberInvited userGroupEntryId */
|
|
117
|
+
userGroupEntryId?: (number|null);
|
|
118
|
+
|
|
119
|
+
/** FamilyMemberInvited userGroupId */
|
|
120
|
+
userGroupId?: (number|null);
|
|
121
|
+
|
|
122
|
+
/** FamilyMemberInvited email */
|
|
123
|
+
email?: (string|null);
|
|
124
|
+
|
|
125
|
+
/** FamilyMemberInvited token */
|
|
126
|
+
token?: (string|null);
|
|
127
|
+
|
|
128
|
+
/** FamilyMemberInvited userId */
|
|
129
|
+
userId?: (string|null);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/** Represents a FamilyMemberInvited. */
|
|
133
|
+
export class FamilyMemberInvited implements IFamilyMemberInvited {
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* Constructs a new FamilyMemberInvited.
|
|
137
|
+
* @param [properties] Properties to set
|
|
138
|
+
*/
|
|
139
|
+
constructor(properties?: IFamilyMemberInvited);
|
|
140
|
+
|
|
141
|
+
/** FamilyMemberInvited timestamp. */
|
|
142
|
+
public timestamp: (number|Long);
|
|
143
|
+
|
|
144
|
+
/** FamilyMemberInvited userGroupEntryId. */
|
|
145
|
+
public userGroupEntryId: number;
|
|
146
|
+
|
|
147
|
+
/** FamilyMemberInvited userGroupId. */
|
|
148
|
+
public userGroupId: number;
|
|
149
|
+
|
|
150
|
+
/** FamilyMemberInvited email. */
|
|
151
|
+
public email: string;
|
|
152
|
+
|
|
153
|
+
/** FamilyMemberInvited token. */
|
|
154
|
+
public token: string;
|
|
155
|
+
|
|
156
|
+
/** FamilyMemberInvited userId. */
|
|
157
|
+
public userId: string;
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Creates a new FamilyMemberInvited instance using the specified properties.
|
|
161
|
+
* @param [properties] Properties to set
|
|
162
|
+
* @returns FamilyMemberInvited instance
|
|
163
|
+
*/
|
|
164
|
+
public static create(properties?: IFamilyMemberInvited): FamilyMemberInvited;
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Encodes the specified FamilyMemberInvited message. Does not implicitly {@link FamilyMemberInvited.verify|verify} messages.
|
|
168
|
+
* @param message FamilyMemberInvited message or plain object to encode
|
|
169
|
+
* @param [writer] Writer to encode to
|
|
170
|
+
* @returns Writer
|
|
171
|
+
*/
|
|
172
|
+
public static encode(message: IFamilyMemberInvited, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* Encodes the specified FamilyMemberInvited message, length delimited. Does not implicitly {@link FamilyMemberInvited.verify|verify} messages.
|
|
176
|
+
* @param message FamilyMemberInvited message or plain object to encode
|
|
177
|
+
* @param [writer] Writer to encode to
|
|
178
|
+
* @returns Writer
|
|
179
|
+
*/
|
|
180
|
+
public static encodeDelimited(message: IFamilyMemberInvited, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* Decodes a FamilyMemberInvited message from the specified reader or buffer.
|
|
184
|
+
* @param reader Reader or buffer to decode from
|
|
185
|
+
* @param [length] Message length if known beforehand
|
|
186
|
+
* @returns FamilyMemberInvited
|
|
187
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
188
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
189
|
+
*/
|
|
190
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): FamilyMemberInvited;
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* Decodes a FamilyMemberInvited message from the specified reader or buffer, length delimited.
|
|
194
|
+
* @param reader Reader or buffer to decode from
|
|
195
|
+
* @returns FamilyMemberInvited
|
|
196
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
197
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
198
|
+
*/
|
|
199
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): FamilyMemberInvited;
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* Verifies a FamilyMemberInvited message.
|
|
203
|
+
* @param message Plain object to verify
|
|
204
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
205
|
+
*/
|
|
206
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* Creates a FamilyMemberInvited message from a plain object. Also converts values to their respective internal types.
|
|
210
|
+
* @param object Plain object
|
|
211
|
+
* @returns FamilyMemberInvited
|
|
212
|
+
*/
|
|
213
|
+
public static fromObject(object: { [k: string]: any }): FamilyMemberInvited;
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* Creates a plain object from a FamilyMemberInvited message. Also converts values to other types if specified.
|
|
217
|
+
* @param message FamilyMemberInvited
|
|
218
|
+
* @param [options] Conversion options
|
|
219
|
+
* @returns Plain object
|
|
220
|
+
*/
|
|
221
|
+
public static toObject(message: FamilyMemberInvited, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* Converts this FamilyMemberInvited to JSON.
|
|
225
|
+
* @returns JSON object
|
|
226
|
+
*/
|
|
227
|
+
public toJSON(): { [k: string]: any };
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
/** Properties of a FamilyMemberRejected. */
|
|
231
|
+
export interface IFamilyMemberRejected {
|
|
232
|
+
|
|
233
|
+
/** FamilyMemberRejected timestamp */
|
|
234
|
+
timestamp?: (number|Long|null);
|
|
235
|
+
|
|
236
|
+
/** FamilyMemberRejected userGroupEntryId */
|
|
237
|
+
userGroupEntryId?: (number|null);
|
|
238
|
+
|
|
239
|
+
/** FamilyMemberRejected userGroupId */
|
|
240
|
+
userGroupId?: (number|null);
|
|
241
|
+
|
|
242
|
+
/** FamilyMemberRejected email */
|
|
243
|
+
email?: (string|null);
|
|
244
|
+
|
|
245
|
+
/** FamilyMemberRejected token */
|
|
246
|
+
token?: (string|null);
|
|
247
|
+
|
|
248
|
+
/** FamilyMemberRejected userId */
|
|
249
|
+
userId?: (string|null);
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
/** Represents a FamilyMemberRejected. */
|
|
253
|
+
export class FamilyMemberRejected implements IFamilyMemberRejected {
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* Constructs a new FamilyMemberRejected.
|
|
257
|
+
* @param [properties] Properties to set
|
|
258
|
+
*/
|
|
259
|
+
constructor(properties?: IFamilyMemberRejected);
|
|
260
|
+
|
|
261
|
+
/** FamilyMemberRejected timestamp. */
|
|
262
|
+
public timestamp: (number|Long);
|
|
263
|
+
|
|
264
|
+
/** FamilyMemberRejected userGroupEntryId. */
|
|
265
|
+
public userGroupEntryId: number;
|
|
266
|
+
|
|
267
|
+
/** FamilyMemberRejected userGroupId. */
|
|
268
|
+
public userGroupId: number;
|
|
269
|
+
|
|
270
|
+
/** FamilyMemberRejected email. */
|
|
271
|
+
public email: string;
|
|
272
|
+
|
|
273
|
+
/** FamilyMemberRejected token. */
|
|
274
|
+
public token: string;
|
|
275
|
+
|
|
276
|
+
/** FamilyMemberRejected userId. */
|
|
277
|
+
public userId: string;
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* Creates a new FamilyMemberRejected instance using the specified properties.
|
|
281
|
+
* @param [properties] Properties to set
|
|
282
|
+
* @returns FamilyMemberRejected instance
|
|
283
|
+
*/
|
|
284
|
+
public static create(properties?: IFamilyMemberRejected): FamilyMemberRejected;
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* Encodes the specified FamilyMemberRejected message. Does not implicitly {@link FamilyMemberRejected.verify|verify} messages.
|
|
288
|
+
* @param message FamilyMemberRejected message or plain object to encode
|
|
289
|
+
* @param [writer] Writer to encode to
|
|
290
|
+
* @returns Writer
|
|
291
|
+
*/
|
|
292
|
+
public static encode(message: IFamilyMemberRejected, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
293
|
+
|
|
294
|
+
/**
|
|
295
|
+
* Encodes the specified FamilyMemberRejected message, length delimited. Does not implicitly {@link FamilyMemberRejected.verify|verify} messages.
|
|
296
|
+
* @param message FamilyMemberRejected message or plain object to encode
|
|
297
|
+
* @param [writer] Writer to encode to
|
|
298
|
+
* @returns Writer
|
|
299
|
+
*/
|
|
300
|
+
public static encodeDelimited(message: IFamilyMemberRejected, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* Decodes a FamilyMemberRejected message from the specified reader or buffer.
|
|
304
|
+
* @param reader Reader or buffer to decode from
|
|
305
|
+
* @param [length] Message length if known beforehand
|
|
306
|
+
* @returns FamilyMemberRejected
|
|
307
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
308
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
309
|
+
*/
|
|
310
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): FamilyMemberRejected;
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* Decodes a FamilyMemberRejected message from the specified reader or buffer, length delimited.
|
|
314
|
+
* @param reader Reader or buffer to decode from
|
|
315
|
+
* @returns FamilyMemberRejected
|
|
316
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
317
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
318
|
+
*/
|
|
319
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): FamilyMemberRejected;
|
|
320
|
+
|
|
321
|
+
/**
|
|
322
|
+
* Verifies a FamilyMemberRejected message.
|
|
323
|
+
* @param message Plain object to verify
|
|
324
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
325
|
+
*/
|
|
326
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
327
|
+
|
|
328
|
+
/**
|
|
329
|
+
* Creates a FamilyMemberRejected message from a plain object. Also converts values to their respective internal types.
|
|
330
|
+
* @param object Plain object
|
|
331
|
+
* @returns FamilyMemberRejected
|
|
332
|
+
*/
|
|
333
|
+
public static fromObject(object: { [k: string]: any }): FamilyMemberRejected;
|
|
334
|
+
|
|
335
|
+
/**
|
|
336
|
+
* Creates a plain object from a FamilyMemberRejected message. Also converts values to other types if specified.
|
|
337
|
+
* @param message FamilyMemberRejected
|
|
338
|
+
* @param [options] Conversion options
|
|
339
|
+
* @returns Plain object
|
|
340
|
+
*/
|
|
341
|
+
public static toObject(message: FamilyMemberRejected, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
342
|
+
|
|
343
|
+
/**
|
|
344
|
+
* Converts this FamilyMemberRejected to JSON.
|
|
345
|
+
* @returns JSON object
|
|
346
|
+
*/
|
|
347
|
+
public toJSON(): { [k: string]: any };
|
|
348
|
+
}
|
|
349
|
+
|
|
104
350
|
/** Properties of a FamilyMemberRemoved. */
|
|
105
351
|
export interface IFamilyMemberRemoved {
|
|
106
352
|
|
|
@@ -112,6 +358,9 @@ export interface IFamilyMemberRemoved {
|
|
|
112
358
|
|
|
113
359
|
/** FamilyMemberRemoved userId */
|
|
114
360
|
userId?: (string|null);
|
|
361
|
+
|
|
362
|
+
/** FamilyMemberRemoved userGroupId */
|
|
363
|
+
userGroupId?: (number|null);
|
|
115
364
|
}
|
|
116
365
|
|
|
117
366
|
/** Represents a FamilyMemberRemoved. */
|
|
@@ -132,6 +381,9 @@ export class FamilyMemberRemoved implements IFamilyMemberRemoved {
|
|
|
132
381
|
/** FamilyMemberRemoved userId. */
|
|
133
382
|
public userId: string;
|
|
134
383
|
|
|
384
|
+
/** FamilyMemberRemoved userGroupId. */
|
|
385
|
+
public userGroupId: number;
|
|
386
|
+
|
|
135
387
|
/**
|
|
136
388
|
* Creates a new FamilyMemberRemoved instance using the specified properties.
|
|
137
389
|
* @param [properties] Properties to set
|
|
@@ -203,241 +455,412 @@ export class FamilyMemberRemoved implements IFamilyMemberRemoved {
|
|
|
203
455
|
public toJSON(): { [k: string]: any };
|
|
204
456
|
}
|
|
205
457
|
|
|
206
|
-
/** Properties of a
|
|
207
|
-
export interface
|
|
458
|
+
/** Properties of a VoiceDeviceConnected. */
|
|
459
|
+
export interface IVoiceDeviceConnected {
|
|
208
460
|
|
|
209
|
-
/**
|
|
210
|
-
|
|
461
|
+
/** VoiceDeviceConnected userId */
|
|
462
|
+
userId?: (string|null);
|
|
463
|
+
|
|
464
|
+
/** VoiceDeviceConnected platform */
|
|
465
|
+
platform?: (string|null);
|
|
211
466
|
|
|
212
|
-
/**
|
|
467
|
+
/** VoiceDeviceConnected timestamp */
|
|
213
468
|
timestamp?: (number|Long|null);
|
|
214
469
|
}
|
|
215
470
|
|
|
216
|
-
/** Represents a
|
|
217
|
-
export class
|
|
471
|
+
/** Represents a VoiceDeviceConnected. */
|
|
472
|
+
export class VoiceDeviceConnected implements IVoiceDeviceConnected {
|
|
218
473
|
|
|
219
474
|
/**
|
|
220
|
-
* Constructs a new
|
|
475
|
+
* Constructs a new VoiceDeviceConnected.
|
|
221
476
|
* @param [properties] Properties to set
|
|
222
477
|
*/
|
|
223
|
-
constructor(properties?:
|
|
478
|
+
constructor(properties?: IVoiceDeviceConnected);
|
|
479
|
+
|
|
480
|
+
/** VoiceDeviceConnected userId. */
|
|
481
|
+
public userId: string;
|
|
224
482
|
|
|
225
|
-
/**
|
|
226
|
-
public
|
|
483
|
+
/** VoiceDeviceConnected platform. */
|
|
484
|
+
public platform: string;
|
|
227
485
|
|
|
228
|
-
/**
|
|
486
|
+
/** VoiceDeviceConnected timestamp. */
|
|
229
487
|
public timestamp: (number|Long);
|
|
230
488
|
|
|
231
489
|
/**
|
|
232
|
-
* Creates a new
|
|
490
|
+
* Creates a new VoiceDeviceConnected instance using the specified properties.
|
|
233
491
|
* @param [properties] Properties to set
|
|
234
|
-
* @returns
|
|
492
|
+
* @returns VoiceDeviceConnected instance
|
|
235
493
|
*/
|
|
236
|
-
public static create(properties?:
|
|
494
|
+
public static create(properties?: IVoiceDeviceConnected): VoiceDeviceConnected;
|
|
237
495
|
|
|
238
496
|
/**
|
|
239
|
-
* Encodes the specified
|
|
240
|
-
* @param message
|
|
497
|
+
* Encodes the specified VoiceDeviceConnected message. Does not implicitly {@link VoiceDeviceConnected.verify|verify} messages.
|
|
498
|
+
* @param message VoiceDeviceConnected message or plain object to encode
|
|
241
499
|
* @param [writer] Writer to encode to
|
|
242
500
|
* @returns Writer
|
|
243
501
|
*/
|
|
244
|
-
public static encode(message:
|
|
502
|
+
public static encode(message: IVoiceDeviceConnected, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
245
503
|
|
|
246
504
|
/**
|
|
247
|
-
* Encodes the specified
|
|
248
|
-
* @param message
|
|
505
|
+
* Encodes the specified VoiceDeviceConnected message, length delimited. Does not implicitly {@link VoiceDeviceConnected.verify|verify} messages.
|
|
506
|
+
* @param message VoiceDeviceConnected message or plain object to encode
|
|
249
507
|
* @param [writer] Writer to encode to
|
|
250
508
|
* @returns Writer
|
|
251
509
|
*/
|
|
252
|
-
public static encodeDelimited(message:
|
|
510
|
+
public static encodeDelimited(message: IVoiceDeviceConnected, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
253
511
|
|
|
254
512
|
/**
|
|
255
|
-
* Decodes a
|
|
513
|
+
* Decodes a VoiceDeviceConnected message from the specified reader or buffer.
|
|
256
514
|
* @param reader Reader or buffer to decode from
|
|
257
515
|
* @param [length] Message length if known beforehand
|
|
258
|
-
* @returns
|
|
516
|
+
* @returns VoiceDeviceConnected
|
|
259
517
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
260
518
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
261
519
|
*/
|
|
262
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number):
|
|
520
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): VoiceDeviceConnected;
|
|
263
521
|
|
|
264
522
|
/**
|
|
265
|
-
* Decodes a
|
|
523
|
+
* Decodes a VoiceDeviceConnected message from the specified reader or buffer, length delimited.
|
|
266
524
|
* @param reader Reader or buffer to decode from
|
|
267
|
-
* @returns
|
|
525
|
+
* @returns VoiceDeviceConnected
|
|
268
526
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
269
527
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
270
528
|
*/
|
|
271
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)):
|
|
529
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): VoiceDeviceConnected;
|
|
272
530
|
|
|
273
531
|
/**
|
|
274
|
-
* Verifies a
|
|
532
|
+
* Verifies a VoiceDeviceConnected message.
|
|
275
533
|
* @param message Plain object to verify
|
|
276
534
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
277
535
|
*/
|
|
278
536
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
279
537
|
|
|
280
538
|
/**
|
|
281
|
-
* Creates a
|
|
539
|
+
* Creates a VoiceDeviceConnected message from a plain object. Also converts values to their respective internal types.
|
|
282
540
|
* @param object Plain object
|
|
283
|
-
* @returns
|
|
541
|
+
* @returns VoiceDeviceConnected
|
|
284
542
|
*/
|
|
285
|
-
public static fromObject(object: { [k: string]: any }):
|
|
543
|
+
public static fromObject(object: { [k: string]: any }): VoiceDeviceConnected;
|
|
286
544
|
|
|
287
545
|
/**
|
|
288
|
-
* Creates a plain object from a
|
|
289
|
-
* @param message
|
|
546
|
+
* Creates a plain object from a VoiceDeviceConnected message. Also converts values to other types if specified.
|
|
547
|
+
* @param message VoiceDeviceConnected
|
|
290
548
|
* @param [options] Conversion options
|
|
291
549
|
* @returns Plain object
|
|
292
550
|
*/
|
|
293
|
-
public static toObject(message:
|
|
551
|
+
public static toObject(message: VoiceDeviceConnected, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
294
552
|
|
|
295
553
|
/**
|
|
296
|
-
* Converts this
|
|
554
|
+
* Converts this VoiceDeviceConnected to JSON.
|
|
297
555
|
* @returns JSON object
|
|
298
556
|
*/
|
|
299
557
|
public toJSON(): { [k: string]: any };
|
|
300
558
|
}
|
|
301
559
|
|
|
302
|
-
/** Properties of a
|
|
303
|
-
export interface
|
|
304
|
-
|
|
305
|
-
/** Pong message */
|
|
306
|
-
message?: (string|null);
|
|
560
|
+
/** Properties of a SleepcastEpisodeCompleted. */
|
|
561
|
+
export interface ISleepcastEpisodeCompleted {
|
|
307
562
|
|
|
308
|
-
/**
|
|
563
|
+
/** SleepcastEpisodeCompleted timestamp */
|
|
309
564
|
timestamp?: (number|Long|null);
|
|
565
|
+
|
|
566
|
+
/** SleepcastEpisodeCompleted sleepcastId */
|
|
567
|
+
sleepcastId?: (number|null);
|
|
568
|
+
|
|
569
|
+
/** SleepcastEpisodeCompleted userId */
|
|
570
|
+
userId?: (string|null);
|
|
310
571
|
}
|
|
311
572
|
|
|
312
|
-
/** Represents a
|
|
313
|
-
export class
|
|
573
|
+
/** Represents a SleepcastEpisodeCompleted. */
|
|
574
|
+
export class SleepcastEpisodeCompleted implements ISleepcastEpisodeCompleted {
|
|
314
575
|
|
|
315
576
|
/**
|
|
316
|
-
* Constructs a new
|
|
577
|
+
* Constructs a new SleepcastEpisodeCompleted.
|
|
317
578
|
* @param [properties] Properties to set
|
|
318
579
|
*/
|
|
319
|
-
constructor(properties?:
|
|
580
|
+
constructor(properties?: ISleepcastEpisodeCompleted);
|
|
320
581
|
|
|
321
|
-
/**
|
|
322
|
-
public message: string;
|
|
323
|
-
|
|
324
|
-
/** Pong timestamp. */
|
|
582
|
+
/** SleepcastEpisodeCompleted timestamp. */
|
|
325
583
|
public timestamp: (number|Long);
|
|
326
584
|
|
|
585
|
+
/** SleepcastEpisodeCompleted sleepcastId. */
|
|
586
|
+
public sleepcastId: number;
|
|
587
|
+
|
|
588
|
+
/** SleepcastEpisodeCompleted userId. */
|
|
589
|
+
public userId: string;
|
|
590
|
+
|
|
327
591
|
/**
|
|
328
|
-
* Creates a new
|
|
592
|
+
* Creates a new SleepcastEpisodeCompleted instance using the specified properties.
|
|
329
593
|
* @param [properties] Properties to set
|
|
330
|
-
* @returns
|
|
594
|
+
* @returns SleepcastEpisodeCompleted instance
|
|
331
595
|
*/
|
|
332
|
-
public static create(properties?:
|
|
596
|
+
public static create(properties?: ISleepcastEpisodeCompleted): SleepcastEpisodeCompleted;
|
|
333
597
|
|
|
334
598
|
/**
|
|
335
|
-
* Encodes the specified
|
|
336
|
-
* @param message
|
|
599
|
+
* Encodes the specified SleepcastEpisodeCompleted message. Does not implicitly {@link SleepcastEpisodeCompleted.verify|verify} messages.
|
|
600
|
+
* @param message SleepcastEpisodeCompleted message or plain object to encode
|
|
337
601
|
* @param [writer] Writer to encode to
|
|
338
602
|
* @returns Writer
|
|
339
603
|
*/
|
|
340
|
-
public static encode(message:
|
|
604
|
+
public static encode(message: ISleepcastEpisodeCompleted, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
341
605
|
|
|
342
606
|
/**
|
|
343
|
-
* Encodes the specified
|
|
344
|
-
* @param message
|
|
607
|
+
* Encodes the specified SleepcastEpisodeCompleted message, length delimited. Does not implicitly {@link SleepcastEpisodeCompleted.verify|verify} messages.
|
|
608
|
+
* @param message SleepcastEpisodeCompleted message or plain object to encode
|
|
345
609
|
* @param [writer] Writer to encode to
|
|
346
610
|
* @returns Writer
|
|
347
611
|
*/
|
|
348
|
-
public static encodeDelimited(message:
|
|
612
|
+
public static encodeDelimited(message: ISleepcastEpisodeCompleted, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
349
613
|
|
|
350
614
|
/**
|
|
351
|
-
* Decodes a
|
|
615
|
+
* Decodes a SleepcastEpisodeCompleted message from the specified reader or buffer.
|
|
352
616
|
* @param reader Reader or buffer to decode from
|
|
353
617
|
* @param [length] Message length if known beforehand
|
|
354
|
-
* @returns
|
|
618
|
+
* @returns SleepcastEpisodeCompleted
|
|
355
619
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
356
620
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
357
621
|
*/
|
|
358
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number):
|
|
622
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SleepcastEpisodeCompleted;
|
|
359
623
|
|
|
360
624
|
/**
|
|
361
|
-
* Decodes a
|
|
625
|
+
* Decodes a SleepcastEpisodeCompleted message from the specified reader or buffer, length delimited.
|
|
362
626
|
* @param reader Reader or buffer to decode from
|
|
363
|
-
* @returns
|
|
627
|
+
* @returns SleepcastEpisodeCompleted
|
|
364
628
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
365
629
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
366
630
|
*/
|
|
367
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)):
|
|
631
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SleepcastEpisodeCompleted;
|
|
368
632
|
|
|
369
633
|
/**
|
|
370
|
-
* Verifies a
|
|
634
|
+
* Verifies a SleepcastEpisodeCompleted message.
|
|
371
635
|
* @param message Plain object to verify
|
|
372
636
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
373
637
|
*/
|
|
374
638
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
375
639
|
|
|
376
640
|
/**
|
|
377
|
-
* Creates a
|
|
641
|
+
* Creates a SleepcastEpisodeCompleted message from a plain object. Also converts values to their respective internal types.
|
|
378
642
|
* @param object Plain object
|
|
379
|
-
* @returns
|
|
643
|
+
* @returns SleepcastEpisodeCompleted
|
|
380
644
|
*/
|
|
381
|
-
public static fromObject(object: { [k: string]: any }):
|
|
645
|
+
public static fromObject(object: { [k: string]: any }): SleepcastEpisodeCompleted;
|
|
382
646
|
|
|
383
647
|
/**
|
|
384
|
-
* Creates a plain object from a
|
|
385
|
-
* @param message
|
|
648
|
+
* Creates a plain object from a SleepcastEpisodeCompleted message. Also converts values to other types if specified.
|
|
649
|
+
* @param message SleepcastEpisodeCompleted
|
|
386
650
|
* @param [options] Conversion options
|
|
387
651
|
* @returns Plain object
|
|
388
652
|
*/
|
|
389
|
-
public static toObject(message:
|
|
653
|
+
public static toObject(message: SleepcastEpisodeCompleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
390
654
|
|
|
391
655
|
/**
|
|
392
|
-
* Converts this
|
|
656
|
+
* Converts this SleepcastEpisodeCompleted to JSON.
|
|
393
657
|
* @returns JSON object
|
|
394
658
|
*/
|
|
395
659
|
public toJSON(): { [k: string]: any };
|
|
396
660
|
}
|
|
397
661
|
|
|
398
|
-
/**
|
|
399
|
-
export
|
|
662
|
+
/** Properties of a FirstSleepcastPlayDateSet. */
|
|
663
|
+
export interface IFirstSleepcastPlayDateSet {
|
|
664
|
+
|
|
665
|
+
/** FirstSleepcastPlayDateSet timestamp */
|
|
666
|
+
timestamp?: (number|Long|null);
|
|
667
|
+
|
|
668
|
+
/** FirstSleepcastPlayDateSet userId */
|
|
669
|
+
userId?: (string|null);
|
|
670
|
+
|
|
671
|
+
/** FirstSleepcastPlayDateSet firstPlayTimestamp */
|
|
672
|
+
firstPlayTimestamp?: (number|Long|null);
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
/** Represents a FirstSleepcastPlayDateSet. */
|
|
676
|
+
export class FirstSleepcastPlayDateSet implements IFirstSleepcastPlayDateSet {
|
|
400
677
|
|
|
401
678
|
/**
|
|
402
|
-
* Constructs a new
|
|
403
|
-
* @param
|
|
404
|
-
* @param [requestDelimited=false] Whether requests are length-delimited
|
|
405
|
-
* @param [responseDelimited=false] Whether responses are length-delimited
|
|
679
|
+
* Constructs a new FirstSleepcastPlayDateSet.
|
|
680
|
+
* @param [properties] Properties to set
|
|
406
681
|
*/
|
|
407
|
-
constructor(
|
|
682
|
+
constructor(properties?: IFirstSleepcastPlayDateSet);
|
|
683
|
+
|
|
684
|
+
/** FirstSleepcastPlayDateSet timestamp. */
|
|
685
|
+
public timestamp: (number|Long);
|
|
686
|
+
|
|
687
|
+
/** FirstSleepcastPlayDateSet userId. */
|
|
688
|
+
public userId: string;
|
|
689
|
+
|
|
690
|
+
/** FirstSleepcastPlayDateSet firstPlayTimestamp. */
|
|
691
|
+
public firstPlayTimestamp: (number|Long);
|
|
408
692
|
|
|
409
693
|
/**
|
|
410
|
-
* Creates new
|
|
411
|
-
* @param
|
|
412
|
-
* @
|
|
413
|
-
* @param [responseDelimited=false] Whether responses are length-delimited
|
|
414
|
-
* @returns RPC service. Useful where requests and/or responses are streamed.
|
|
694
|
+
* Creates a new FirstSleepcastPlayDateSet instance using the specified properties.
|
|
695
|
+
* @param [properties] Properties to set
|
|
696
|
+
* @returns FirstSleepcastPlayDateSet instance
|
|
415
697
|
*/
|
|
416
|
-
public static create(
|
|
698
|
+
public static create(properties?: IFirstSleepcastPlayDateSet): FirstSleepcastPlayDateSet;
|
|
417
699
|
|
|
418
700
|
/**
|
|
419
|
-
*
|
|
420
|
-
* @param
|
|
421
|
-
* @param
|
|
701
|
+
* Encodes the specified FirstSleepcastPlayDateSet message. Does not implicitly {@link FirstSleepcastPlayDateSet.verify|verify} messages.
|
|
702
|
+
* @param message FirstSleepcastPlayDateSet message or plain object to encode
|
|
703
|
+
* @param [writer] Writer to encode to
|
|
704
|
+
* @returns Writer
|
|
422
705
|
*/
|
|
423
|
-
public
|
|
706
|
+
public static encode(message: IFirstSleepcastPlayDateSet, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
424
707
|
|
|
425
708
|
/**
|
|
426
|
-
*
|
|
427
|
-
* @param
|
|
428
|
-
* @
|
|
709
|
+
* Encodes the specified FirstSleepcastPlayDateSet message, length delimited. Does not implicitly {@link FirstSleepcastPlayDateSet.verify|verify} messages.
|
|
710
|
+
* @param message FirstSleepcastPlayDateSet message or plain object to encode
|
|
711
|
+
* @param [writer] Writer to encode to
|
|
712
|
+
* @returns Writer
|
|
429
713
|
*/
|
|
430
|
-
public
|
|
714
|
+
public static encodeDelimited(message: IFirstSleepcastPlayDateSet, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
715
|
+
|
|
716
|
+
/**
|
|
717
|
+
* Decodes a FirstSleepcastPlayDateSet message from the specified reader or buffer.
|
|
718
|
+
* @param reader Reader or buffer to decode from
|
|
719
|
+
* @param [length] Message length if known beforehand
|
|
720
|
+
* @returns FirstSleepcastPlayDateSet
|
|
721
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
722
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
723
|
+
*/
|
|
724
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): FirstSleepcastPlayDateSet;
|
|
725
|
+
|
|
726
|
+
/**
|
|
727
|
+
* Decodes a FirstSleepcastPlayDateSet message from the specified reader or buffer, length delimited.
|
|
728
|
+
* @param reader Reader or buffer to decode from
|
|
729
|
+
* @returns FirstSleepcastPlayDateSet
|
|
730
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
731
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
732
|
+
*/
|
|
733
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): FirstSleepcastPlayDateSet;
|
|
734
|
+
|
|
735
|
+
/**
|
|
736
|
+
* Verifies a FirstSleepcastPlayDateSet message.
|
|
737
|
+
* @param message Plain object to verify
|
|
738
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
739
|
+
*/
|
|
740
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
741
|
+
|
|
742
|
+
/**
|
|
743
|
+
* Creates a FirstSleepcastPlayDateSet message from a plain object. Also converts values to their respective internal types.
|
|
744
|
+
* @param object Plain object
|
|
745
|
+
* @returns FirstSleepcastPlayDateSet
|
|
746
|
+
*/
|
|
747
|
+
public static fromObject(object: { [k: string]: any }): FirstSleepcastPlayDateSet;
|
|
748
|
+
|
|
749
|
+
/**
|
|
750
|
+
* Creates a plain object from a FirstSleepcastPlayDateSet message. Also converts values to other types if specified.
|
|
751
|
+
* @param message FirstSleepcastPlayDateSet
|
|
752
|
+
* @param [options] Conversion options
|
|
753
|
+
* @returns Plain object
|
|
754
|
+
*/
|
|
755
|
+
public static toObject(message: FirstSleepcastPlayDateSet, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
756
|
+
|
|
757
|
+
/**
|
|
758
|
+
* Converts this FirstSleepcastPlayDateSet to JSON.
|
|
759
|
+
* @returns JSON object
|
|
760
|
+
*/
|
|
761
|
+
public toJSON(): { [k: string]: any };
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
/** Properties of a NumSleepcastPlaysSet. */
|
|
765
|
+
export interface INumSleepcastPlaysSet {
|
|
766
|
+
|
|
767
|
+
/** NumSleepcastPlaysSet timestamp */
|
|
768
|
+
timestamp?: (number|Long|null);
|
|
769
|
+
|
|
770
|
+
/** NumSleepcastPlaysSet userId */
|
|
771
|
+
userId?: (string|null);
|
|
772
|
+
|
|
773
|
+
/** NumSleepcastPlaysSet numPlays */
|
|
774
|
+
numPlays?: (number|null);
|
|
431
775
|
}
|
|
432
776
|
|
|
433
|
-
|
|
777
|
+
/** Represents a NumSleepcastPlaysSet. */
|
|
778
|
+
export class NumSleepcastPlaysSet implements INumSleepcastPlaysSet {
|
|
779
|
+
|
|
780
|
+
/**
|
|
781
|
+
* Constructs a new NumSleepcastPlaysSet.
|
|
782
|
+
* @param [properties] Properties to set
|
|
783
|
+
*/
|
|
784
|
+
constructor(properties?: INumSleepcastPlaysSet);
|
|
785
|
+
|
|
786
|
+
/** NumSleepcastPlaysSet timestamp. */
|
|
787
|
+
public timestamp: (number|Long);
|
|
788
|
+
|
|
789
|
+
/** NumSleepcastPlaysSet userId. */
|
|
790
|
+
public userId: string;
|
|
791
|
+
|
|
792
|
+
/** NumSleepcastPlaysSet numPlays. */
|
|
793
|
+
public numPlays: number;
|
|
794
|
+
|
|
795
|
+
/**
|
|
796
|
+
* Creates a new NumSleepcastPlaysSet instance using the specified properties.
|
|
797
|
+
* @param [properties] Properties to set
|
|
798
|
+
* @returns NumSleepcastPlaysSet instance
|
|
799
|
+
*/
|
|
800
|
+
public static create(properties?: INumSleepcastPlaysSet): NumSleepcastPlaysSet;
|
|
801
|
+
|
|
802
|
+
/**
|
|
803
|
+
* Encodes the specified NumSleepcastPlaysSet message. Does not implicitly {@link NumSleepcastPlaysSet.verify|verify} messages.
|
|
804
|
+
* @param message NumSleepcastPlaysSet message or plain object to encode
|
|
805
|
+
* @param [writer] Writer to encode to
|
|
806
|
+
* @returns Writer
|
|
807
|
+
*/
|
|
808
|
+
public static encode(message: INumSleepcastPlaysSet, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
809
|
+
|
|
810
|
+
/**
|
|
811
|
+
* Encodes the specified NumSleepcastPlaysSet message, length delimited. Does not implicitly {@link NumSleepcastPlaysSet.verify|verify} messages.
|
|
812
|
+
* @param message NumSleepcastPlaysSet message or plain object to encode
|
|
813
|
+
* @param [writer] Writer to encode to
|
|
814
|
+
* @returns Writer
|
|
815
|
+
*/
|
|
816
|
+
public static encodeDelimited(message: INumSleepcastPlaysSet, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
817
|
+
|
|
818
|
+
/**
|
|
819
|
+
* Decodes a NumSleepcastPlaysSet message from the specified reader or buffer.
|
|
820
|
+
* @param reader Reader or buffer to decode from
|
|
821
|
+
* @param [length] Message length if known beforehand
|
|
822
|
+
* @returns NumSleepcastPlaysSet
|
|
823
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
824
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
825
|
+
*/
|
|
826
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): NumSleepcastPlaysSet;
|
|
827
|
+
|
|
828
|
+
/**
|
|
829
|
+
* Decodes a NumSleepcastPlaysSet message from the specified reader or buffer, length delimited.
|
|
830
|
+
* @param reader Reader or buffer to decode from
|
|
831
|
+
* @returns NumSleepcastPlaysSet
|
|
832
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
833
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
834
|
+
*/
|
|
835
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): NumSleepcastPlaysSet;
|
|
434
836
|
|
|
435
837
|
/**
|
|
436
|
-
*
|
|
437
|
-
* @param
|
|
438
|
-
* @
|
|
838
|
+
* Verifies a NumSleepcastPlaysSet message.
|
|
839
|
+
* @param message Plain object to verify
|
|
840
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
439
841
|
*/
|
|
440
|
-
|
|
842
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
843
|
+
|
|
844
|
+
/**
|
|
845
|
+
* Creates a NumSleepcastPlaysSet message from a plain object. Also converts values to their respective internal types.
|
|
846
|
+
* @param object Plain object
|
|
847
|
+
* @returns NumSleepcastPlaysSet
|
|
848
|
+
*/
|
|
849
|
+
public static fromObject(object: { [k: string]: any }): NumSleepcastPlaysSet;
|
|
850
|
+
|
|
851
|
+
/**
|
|
852
|
+
* Creates a plain object from a NumSleepcastPlaysSet message. Also converts values to other types if specified.
|
|
853
|
+
* @param message NumSleepcastPlaysSet
|
|
854
|
+
* @param [options] Conversion options
|
|
855
|
+
* @returns Plain object
|
|
856
|
+
*/
|
|
857
|
+
public static toObject(message: NumSleepcastPlaysSet, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
858
|
+
|
|
859
|
+
/**
|
|
860
|
+
* Converts this NumSleepcastPlaysSet to JSON.
|
|
861
|
+
* @returns JSON object
|
|
862
|
+
*/
|
|
863
|
+
public toJSON(): { [k: string]: any };
|
|
441
864
|
}
|
|
442
865
|
|
|
443
866
|
/** Properties of a SubscriptionCreated. */
|
|
@@ -448,6 +871,9 @@ export interface ISubscriptionCreated {
|
|
|
448
871
|
|
|
449
872
|
/** SubscriptionCreated updatedOn */
|
|
450
873
|
updatedOn?: (number|Long|null);
|
|
874
|
+
|
|
875
|
+
/** SubscriptionCreated userId */
|
|
876
|
+
userId?: (string|null);
|
|
451
877
|
}
|
|
452
878
|
|
|
453
879
|
/** Represents a SubscriptionCreated. */
|
|
@@ -465,6 +891,9 @@ export class SubscriptionCreated implements ISubscriptionCreated {
|
|
|
465
891
|
/** SubscriptionCreated updatedOn. */
|
|
466
892
|
public updatedOn: (number|Long);
|
|
467
893
|
|
|
894
|
+
/** SubscriptionCreated userId. */
|
|
895
|
+
public userId: string;
|
|
896
|
+
|
|
468
897
|
/**
|
|
469
898
|
* Creates a new SubscriptionCreated instance using the specified properties.
|
|
470
899
|
* @param [properties] Properties to set
|
|
@@ -544,6 +973,9 @@ export interface ISubscriptionCancelled {
|
|
|
544
973
|
|
|
545
974
|
/** SubscriptionCancelled updatedOn */
|
|
546
975
|
updatedOn?: (number|Long|null);
|
|
976
|
+
|
|
977
|
+
/** SubscriptionCancelled userId */
|
|
978
|
+
userId?: (string|null);
|
|
547
979
|
}
|
|
548
980
|
|
|
549
981
|
/** Represents a SubscriptionCancelled. */
|
|
@@ -561,6 +993,9 @@ export class SubscriptionCancelled implements ISubscriptionCancelled {
|
|
|
561
993
|
/** SubscriptionCancelled updatedOn. */
|
|
562
994
|
public updatedOn: (number|Long);
|
|
563
995
|
|
|
996
|
+
/** SubscriptionCancelled userId. */
|
|
997
|
+
public userId: string;
|
|
998
|
+
|
|
564
999
|
/**
|
|
565
1000
|
* Creates a new SubscriptionCancelled instance using the specified properties.
|
|
566
1001
|
* @param [properties] Properties to set
|
|
@@ -631,3 +1066,207 @@ export class SubscriptionCancelled implements ISubscriptionCancelled {
|
|
|
631
1066
|
*/
|
|
632
1067
|
public toJSON(): { [k: string]: any };
|
|
633
1068
|
}
|
|
1069
|
+
|
|
1070
|
+
/** Properties of a SubscriptionRenewed. */
|
|
1071
|
+
export interface ISubscriptionRenewed {
|
|
1072
|
+
|
|
1073
|
+
/** SubscriptionRenewed id */
|
|
1074
|
+
id?: (number|null);
|
|
1075
|
+
|
|
1076
|
+
/** SubscriptionRenewed updatedOn */
|
|
1077
|
+
updatedOn?: (number|Long|null);
|
|
1078
|
+
|
|
1079
|
+
/** SubscriptionRenewed userId */
|
|
1080
|
+
userId?: (string|null);
|
|
1081
|
+
}
|
|
1082
|
+
|
|
1083
|
+
/** Represents a SubscriptionRenewed. */
|
|
1084
|
+
export class SubscriptionRenewed implements ISubscriptionRenewed {
|
|
1085
|
+
|
|
1086
|
+
/**
|
|
1087
|
+
* Constructs a new SubscriptionRenewed.
|
|
1088
|
+
* @param [properties] Properties to set
|
|
1089
|
+
*/
|
|
1090
|
+
constructor(properties?: ISubscriptionRenewed);
|
|
1091
|
+
|
|
1092
|
+
/** SubscriptionRenewed id. */
|
|
1093
|
+
public id: number;
|
|
1094
|
+
|
|
1095
|
+
/** SubscriptionRenewed updatedOn. */
|
|
1096
|
+
public updatedOn: (number|Long);
|
|
1097
|
+
|
|
1098
|
+
/** SubscriptionRenewed userId. */
|
|
1099
|
+
public userId: string;
|
|
1100
|
+
|
|
1101
|
+
/**
|
|
1102
|
+
* Creates a new SubscriptionRenewed instance using the specified properties.
|
|
1103
|
+
* @param [properties] Properties to set
|
|
1104
|
+
* @returns SubscriptionRenewed instance
|
|
1105
|
+
*/
|
|
1106
|
+
public static create(properties?: ISubscriptionRenewed): SubscriptionRenewed;
|
|
1107
|
+
|
|
1108
|
+
/**
|
|
1109
|
+
* Encodes the specified SubscriptionRenewed message. Does not implicitly {@link SubscriptionRenewed.verify|verify} messages.
|
|
1110
|
+
* @param message SubscriptionRenewed message or plain object to encode
|
|
1111
|
+
* @param [writer] Writer to encode to
|
|
1112
|
+
* @returns Writer
|
|
1113
|
+
*/
|
|
1114
|
+
public static encode(message: ISubscriptionRenewed, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1115
|
+
|
|
1116
|
+
/**
|
|
1117
|
+
* Encodes the specified SubscriptionRenewed message, length delimited. Does not implicitly {@link SubscriptionRenewed.verify|verify} messages.
|
|
1118
|
+
* @param message SubscriptionRenewed message or plain object to encode
|
|
1119
|
+
* @param [writer] Writer to encode to
|
|
1120
|
+
* @returns Writer
|
|
1121
|
+
*/
|
|
1122
|
+
public static encodeDelimited(message: ISubscriptionRenewed, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1123
|
+
|
|
1124
|
+
/**
|
|
1125
|
+
* Decodes a SubscriptionRenewed message from the specified reader or buffer.
|
|
1126
|
+
* @param reader Reader or buffer to decode from
|
|
1127
|
+
* @param [length] Message length if known beforehand
|
|
1128
|
+
* @returns SubscriptionRenewed
|
|
1129
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1130
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1131
|
+
*/
|
|
1132
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SubscriptionRenewed;
|
|
1133
|
+
|
|
1134
|
+
/**
|
|
1135
|
+
* Decodes a SubscriptionRenewed message from the specified reader or buffer, length delimited.
|
|
1136
|
+
* @param reader Reader or buffer to decode from
|
|
1137
|
+
* @returns SubscriptionRenewed
|
|
1138
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1139
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1140
|
+
*/
|
|
1141
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SubscriptionRenewed;
|
|
1142
|
+
|
|
1143
|
+
/**
|
|
1144
|
+
* Verifies a SubscriptionRenewed message.
|
|
1145
|
+
* @param message Plain object to verify
|
|
1146
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1147
|
+
*/
|
|
1148
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1149
|
+
|
|
1150
|
+
/**
|
|
1151
|
+
* Creates a SubscriptionRenewed message from a plain object. Also converts values to their respective internal types.
|
|
1152
|
+
* @param object Plain object
|
|
1153
|
+
* @returns SubscriptionRenewed
|
|
1154
|
+
*/
|
|
1155
|
+
public static fromObject(object: { [k: string]: any }): SubscriptionRenewed;
|
|
1156
|
+
|
|
1157
|
+
/**
|
|
1158
|
+
* Creates a plain object from a SubscriptionRenewed message. Also converts values to other types if specified.
|
|
1159
|
+
* @param message SubscriptionRenewed
|
|
1160
|
+
* @param [options] Conversion options
|
|
1161
|
+
* @returns Plain object
|
|
1162
|
+
*/
|
|
1163
|
+
public static toObject(message: SubscriptionRenewed, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1164
|
+
|
|
1165
|
+
/**
|
|
1166
|
+
* Converts this SubscriptionRenewed to JSON.
|
|
1167
|
+
* @returns JSON object
|
|
1168
|
+
*/
|
|
1169
|
+
public toJSON(): { [k: string]: any };
|
|
1170
|
+
}
|
|
1171
|
+
|
|
1172
|
+
/** Properties of a UserPasswordUpdated. */
|
|
1173
|
+
export interface IUserPasswordUpdated {
|
|
1174
|
+
|
|
1175
|
+
/** UserPasswordUpdated userId */
|
|
1176
|
+
userId?: (string|null);
|
|
1177
|
+
|
|
1178
|
+
/** UserPasswordUpdated updatedOn */
|
|
1179
|
+
updatedOn?: (number|Long|null);
|
|
1180
|
+
|
|
1181
|
+
/** UserPasswordUpdated email */
|
|
1182
|
+
email?: (string|null);
|
|
1183
|
+
}
|
|
1184
|
+
|
|
1185
|
+
/** Represents a UserPasswordUpdated. */
|
|
1186
|
+
export class UserPasswordUpdated implements IUserPasswordUpdated {
|
|
1187
|
+
|
|
1188
|
+
/**
|
|
1189
|
+
* Constructs a new UserPasswordUpdated.
|
|
1190
|
+
* @param [properties] Properties to set
|
|
1191
|
+
*/
|
|
1192
|
+
constructor(properties?: IUserPasswordUpdated);
|
|
1193
|
+
|
|
1194
|
+
/** UserPasswordUpdated userId. */
|
|
1195
|
+
public userId: string;
|
|
1196
|
+
|
|
1197
|
+
/** UserPasswordUpdated updatedOn. */
|
|
1198
|
+
public updatedOn: (number|Long);
|
|
1199
|
+
|
|
1200
|
+
/** UserPasswordUpdated email. */
|
|
1201
|
+
public email: string;
|
|
1202
|
+
|
|
1203
|
+
/**
|
|
1204
|
+
* Creates a new UserPasswordUpdated instance using the specified properties.
|
|
1205
|
+
* @param [properties] Properties to set
|
|
1206
|
+
* @returns UserPasswordUpdated instance
|
|
1207
|
+
*/
|
|
1208
|
+
public static create(properties?: IUserPasswordUpdated): UserPasswordUpdated;
|
|
1209
|
+
|
|
1210
|
+
/**
|
|
1211
|
+
* Encodes the specified UserPasswordUpdated message. Does not implicitly {@link UserPasswordUpdated.verify|verify} messages.
|
|
1212
|
+
* @param message UserPasswordUpdated message or plain object to encode
|
|
1213
|
+
* @param [writer] Writer to encode to
|
|
1214
|
+
* @returns Writer
|
|
1215
|
+
*/
|
|
1216
|
+
public static encode(message: IUserPasswordUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1217
|
+
|
|
1218
|
+
/**
|
|
1219
|
+
* Encodes the specified UserPasswordUpdated message, length delimited. Does not implicitly {@link UserPasswordUpdated.verify|verify} messages.
|
|
1220
|
+
* @param message UserPasswordUpdated message or plain object to encode
|
|
1221
|
+
* @param [writer] Writer to encode to
|
|
1222
|
+
* @returns Writer
|
|
1223
|
+
*/
|
|
1224
|
+
public static encodeDelimited(message: IUserPasswordUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1225
|
+
|
|
1226
|
+
/**
|
|
1227
|
+
* Decodes a UserPasswordUpdated message from the specified reader or buffer.
|
|
1228
|
+
* @param reader Reader or buffer to decode from
|
|
1229
|
+
* @param [length] Message length if known beforehand
|
|
1230
|
+
* @returns UserPasswordUpdated
|
|
1231
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1232
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1233
|
+
*/
|
|
1234
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserPasswordUpdated;
|
|
1235
|
+
|
|
1236
|
+
/**
|
|
1237
|
+
* Decodes a UserPasswordUpdated message from the specified reader or buffer, length delimited.
|
|
1238
|
+
* @param reader Reader or buffer to decode from
|
|
1239
|
+
* @returns UserPasswordUpdated
|
|
1240
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1241
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1242
|
+
*/
|
|
1243
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserPasswordUpdated;
|
|
1244
|
+
|
|
1245
|
+
/**
|
|
1246
|
+
* Verifies a UserPasswordUpdated message.
|
|
1247
|
+
* @param message Plain object to verify
|
|
1248
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1249
|
+
*/
|
|
1250
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1251
|
+
|
|
1252
|
+
/**
|
|
1253
|
+
* Creates a UserPasswordUpdated message from a plain object. Also converts values to their respective internal types.
|
|
1254
|
+
* @param object Plain object
|
|
1255
|
+
* @returns UserPasswordUpdated
|
|
1256
|
+
*/
|
|
1257
|
+
public static fromObject(object: { [k: string]: any }): UserPasswordUpdated;
|
|
1258
|
+
|
|
1259
|
+
/**
|
|
1260
|
+
* Creates a plain object from a UserPasswordUpdated message. Also converts values to other types if specified.
|
|
1261
|
+
* @param message UserPasswordUpdated
|
|
1262
|
+
* @param [options] Conversion options
|
|
1263
|
+
* @returns Plain object
|
|
1264
|
+
*/
|
|
1265
|
+
public static toObject(message: UserPasswordUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1266
|
+
|
|
1267
|
+
/**
|
|
1268
|
+
* Converts this UserPasswordUpdated to JSON.
|
|
1269
|
+
* @returns JSON object
|
|
1270
|
+
*/
|
|
1271
|
+
public toJSON(): { [k: string]: any };
|
|
1272
|
+
}
|