@headspace/protos-events 1.10.0 → 1.12.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 +937 -69
- package/lib/index.js +2154 -187
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -1,4 +1,98 @@
|
|
|
1
1
|
import * as $protobuf from "protobufjs";
|
|
2
|
+
/** Namespace date. */
|
|
3
|
+
export namespace date {
|
|
4
|
+
|
|
5
|
+
/** Properties of a Date. */
|
|
6
|
+
interface IDate {
|
|
7
|
+
|
|
8
|
+
/** Date epochMilliseconds */
|
|
9
|
+
epochMilliseconds?: (number|Long|null);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/** Represents a Date. */
|
|
13
|
+
class Date implements IDate {
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Constructs a new Date.
|
|
17
|
+
* @param [properties] Properties to set
|
|
18
|
+
*/
|
|
19
|
+
constructor(properties?: date.IDate);
|
|
20
|
+
|
|
21
|
+
/** Date epochMilliseconds. */
|
|
22
|
+
public epochMilliseconds: (number|Long);
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Creates a new Date instance using the specified properties.
|
|
26
|
+
* @param [properties] Properties to set
|
|
27
|
+
* @returns Date instance
|
|
28
|
+
*/
|
|
29
|
+
public static create(properties?: date.IDate): date.Date;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Encodes the specified Date message. Does not implicitly {@link date.Date.verify|verify} messages.
|
|
33
|
+
* @param message Date message or plain object to encode
|
|
34
|
+
* @param [writer] Writer to encode to
|
|
35
|
+
* @returns Writer
|
|
36
|
+
*/
|
|
37
|
+
public static encode(message: date.IDate, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Encodes the specified Date message, length delimited. Does not implicitly {@link date.Date.verify|verify} messages.
|
|
41
|
+
* @param message Date message or plain object to encode
|
|
42
|
+
* @param [writer] Writer to encode to
|
|
43
|
+
* @returns Writer
|
|
44
|
+
*/
|
|
45
|
+
public static encodeDelimited(message: date.IDate, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Decodes a Date message from the specified reader or buffer.
|
|
49
|
+
* @param reader Reader or buffer to decode from
|
|
50
|
+
* @param [length] Message length if known beforehand
|
|
51
|
+
* @returns Date
|
|
52
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
53
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
54
|
+
*/
|
|
55
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): date.Date;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Decodes a Date message from the specified reader or buffer, length delimited.
|
|
59
|
+
* @param reader Reader or buffer to decode from
|
|
60
|
+
* @returns Date
|
|
61
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
62
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
63
|
+
*/
|
|
64
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): date.Date;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Verifies a Date message.
|
|
68
|
+
* @param message Plain object to verify
|
|
69
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
70
|
+
*/
|
|
71
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Creates a Date message from a plain object. Also converts values to their respective internal types.
|
|
75
|
+
* @param object Plain object
|
|
76
|
+
* @returns Date
|
|
77
|
+
*/
|
|
78
|
+
public static fromObject(object: { [k: string]: any }): date.Date;
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Creates a plain object from a Date message. Also converts values to other types if specified.
|
|
82
|
+
* @param message Date
|
|
83
|
+
* @param [options] Conversion options
|
|
84
|
+
* @returns Plain object
|
|
85
|
+
*/
|
|
86
|
+
public static toObject(message: date.Date, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Converts this Date to JSON.
|
|
90
|
+
* @returns JSON object
|
|
91
|
+
*/
|
|
92
|
+
public toJSON(): { [k: string]: any };
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
2
96
|
/** Namespace subscription. */
|
|
3
97
|
export namespace subscription {
|
|
4
98
|
|
|
@@ -14,6 +108,678 @@ export namespace subscription {
|
|
|
14
108
|
PRIMARY = 0,
|
|
15
109
|
MEMBER = 1
|
|
16
110
|
}
|
|
111
|
+
|
|
112
|
+
/** Represents a SubscriptionGrpcManager */
|
|
113
|
+
class SubscriptionGrpcManager extends $protobuf.rpc.Service {
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Constructs a new SubscriptionGrpcManager service.
|
|
117
|
+
* @param rpcImpl RPC implementation
|
|
118
|
+
* @param [requestDelimited=false] Whether requests are length-delimited
|
|
119
|
+
* @param [responseDelimited=false] Whether responses are length-delimited
|
|
120
|
+
*/
|
|
121
|
+
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* Creates new SubscriptionGrpcManager service using the specified rpc implementation.
|
|
125
|
+
* @param rpcImpl RPC implementation
|
|
126
|
+
* @param [requestDelimited=false] Whether requests are length-delimited
|
|
127
|
+
* @param [responseDelimited=false] Whether responses are length-delimited
|
|
128
|
+
* @returns RPC service. Useful where requests and/or responses are streamed.
|
|
129
|
+
*/
|
|
130
|
+
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): SubscriptionGrpcManager;
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* Calls findSubscriptions.
|
|
134
|
+
* @param request FindAllSubscriptionsRequest message or plain object
|
|
135
|
+
* @param callback Node-style callback called with the error, if any, and ManySubscriptionsResponse
|
|
136
|
+
*/
|
|
137
|
+
public findSubscriptions(request: subscription.IFindAllSubscriptionsRequest, callback: subscription.SubscriptionGrpcManager.findSubscriptionsCallback): void;
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Calls findSubscriptions.
|
|
141
|
+
* @param request FindAllSubscriptionsRequest message or plain object
|
|
142
|
+
* @returns Promise
|
|
143
|
+
*/
|
|
144
|
+
public findSubscriptions(request: subscription.IFindAllSubscriptionsRequest): Promise<subscription.ManySubscriptionsResponse>;
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* Calls findCurrentSubscription.
|
|
148
|
+
* @param request FindCurrentSubscriptionRequest message or plain object
|
|
149
|
+
* @param callback Node-style callback called with the error, if any, and OneSubscriptionResponse
|
|
150
|
+
*/
|
|
151
|
+
public findCurrentSubscription(request: subscription.IFindCurrentSubscriptionRequest, callback: subscription.SubscriptionGrpcManager.findCurrentSubscriptionCallback): void;
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* Calls findCurrentSubscription.
|
|
155
|
+
* @param request FindCurrentSubscriptionRequest message or plain object
|
|
156
|
+
* @returns Promise
|
|
157
|
+
*/
|
|
158
|
+
public findCurrentSubscription(request: subscription.IFindCurrentSubscriptionRequest): Promise<subscription.OneSubscriptionResponse>;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
namespace SubscriptionGrpcManager {
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* Callback as used by {@link subscription.SubscriptionGrpcManager#findSubscriptions}.
|
|
165
|
+
* @param error Error, if any
|
|
166
|
+
* @param [response] ManySubscriptionsResponse
|
|
167
|
+
*/
|
|
168
|
+
type findSubscriptionsCallback = (error: (Error|null), response?: subscription.ManySubscriptionsResponse) => void;
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* Callback as used by {@link subscription.SubscriptionGrpcManager#findCurrentSubscription}.
|
|
172
|
+
* @param error Error, if any
|
|
173
|
+
* @param [response] OneSubscriptionResponse
|
|
174
|
+
*/
|
|
175
|
+
type findCurrentSubscriptionCallback = (error: (Error|null), response?: subscription.OneSubscriptionResponse) => void;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/** Properties of a FindAllSubscriptionsRequest. */
|
|
179
|
+
interface IFindAllSubscriptionsRequest {
|
|
180
|
+
|
|
181
|
+
/** FindAllSubscriptionsRequest userId */
|
|
182
|
+
userId?: (string|null);
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
/** Represents a FindAllSubscriptionsRequest. */
|
|
186
|
+
class FindAllSubscriptionsRequest implements IFindAllSubscriptionsRequest {
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* Constructs a new FindAllSubscriptionsRequest.
|
|
190
|
+
* @param [properties] Properties to set
|
|
191
|
+
*/
|
|
192
|
+
constructor(properties?: subscription.IFindAllSubscriptionsRequest);
|
|
193
|
+
|
|
194
|
+
/** FindAllSubscriptionsRequest userId. */
|
|
195
|
+
public userId: string;
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* Creates a new FindAllSubscriptionsRequest instance using the specified properties.
|
|
199
|
+
* @param [properties] Properties to set
|
|
200
|
+
* @returns FindAllSubscriptionsRequest instance
|
|
201
|
+
*/
|
|
202
|
+
public static create(properties?: subscription.IFindAllSubscriptionsRequest): subscription.FindAllSubscriptionsRequest;
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* Encodes the specified FindAllSubscriptionsRequest message. Does not implicitly {@link subscription.FindAllSubscriptionsRequest.verify|verify} messages.
|
|
206
|
+
* @param message FindAllSubscriptionsRequest message or plain object to encode
|
|
207
|
+
* @param [writer] Writer to encode to
|
|
208
|
+
* @returns Writer
|
|
209
|
+
*/
|
|
210
|
+
public static encode(message: subscription.IFindAllSubscriptionsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* Encodes the specified FindAllSubscriptionsRequest message, length delimited. Does not implicitly {@link subscription.FindAllSubscriptionsRequest.verify|verify} messages.
|
|
214
|
+
* @param message FindAllSubscriptionsRequest message or plain object to encode
|
|
215
|
+
* @param [writer] Writer to encode to
|
|
216
|
+
* @returns Writer
|
|
217
|
+
*/
|
|
218
|
+
public static encodeDelimited(message: subscription.IFindAllSubscriptionsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* Decodes a FindAllSubscriptionsRequest message from the specified reader or buffer.
|
|
222
|
+
* @param reader Reader or buffer to decode from
|
|
223
|
+
* @param [length] Message length if known beforehand
|
|
224
|
+
* @returns FindAllSubscriptionsRequest
|
|
225
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
226
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
227
|
+
*/
|
|
228
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): subscription.FindAllSubscriptionsRequest;
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* Decodes a FindAllSubscriptionsRequest message from the specified reader or buffer, length delimited.
|
|
232
|
+
* @param reader Reader or buffer to decode from
|
|
233
|
+
* @returns FindAllSubscriptionsRequest
|
|
234
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
235
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
236
|
+
*/
|
|
237
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): subscription.FindAllSubscriptionsRequest;
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* Verifies a FindAllSubscriptionsRequest message.
|
|
241
|
+
* @param message Plain object to verify
|
|
242
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
243
|
+
*/
|
|
244
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* Creates a FindAllSubscriptionsRequest message from a plain object. Also converts values to their respective internal types.
|
|
248
|
+
* @param object Plain object
|
|
249
|
+
* @returns FindAllSubscriptionsRequest
|
|
250
|
+
*/
|
|
251
|
+
public static fromObject(object: { [k: string]: any }): subscription.FindAllSubscriptionsRequest;
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* Creates a plain object from a FindAllSubscriptionsRequest message. Also converts values to other types if specified.
|
|
255
|
+
* @param message FindAllSubscriptionsRequest
|
|
256
|
+
* @param [options] Conversion options
|
|
257
|
+
* @returns Plain object
|
|
258
|
+
*/
|
|
259
|
+
public static toObject(message: subscription.FindAllSubscriptionsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
260
|
+
|
|
261
|
+
/**
|
|
262
|
+
* Converts this FindAllSubscriptionsRequest to JSON.
|
|
263
|
+
* @returns JSON object
|
|
264
|
+
*/
|
|
265
|
+
public toJSON(): { [k: string]: any };
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
/** Properties of a FindCurrentSubscriptionRequest. */
|
|
269
|
+
interface IFindCurrentSubscriptionRequest {
|
|
270
|
+
|
|
271
|
+
/** FindCurrentSubscriptionRequest userId */
|
|
272
|
+
userId?: (string|null);
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
/** Represents a FindCurrentSubscriptionRequest. */
|
|
276
|
+
class FindCurrentSubscriptionRequest implements IFindCurrentSubscriptionRequest {
|
|
277
|
+
|
|
278
|
+
/**
|
|
279
|
+
* Constructs a new FindCurrentSubscriptionRequest.
|
|
280
|
+
* @param [properties] Properties to set
|
|
281
|
+
*/
|
|
282
|
+
constructor(properties?: subscription.IFindCurrentSubscriptionRequest);
|
|
283
|
+
|
|
284
|
+
/** FindCurrentSubscriptionRequest userId. */
|
|
285
|
+
public userId: string;
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* Creates a new FindCurrentSubscriptionRequest instance using the specified properties.
|
|
289
|
+
* @param [properties] Properties to set
|
|
290
|
+
* @returns FindCurrentSubscriptionRequest instance
|
|
291
|
+
*/
|
|
292
|
+
public static create(properties?: subscription.IFindCurrentSubscriptionRequest): subscription.FindCurrentSubscriptionRequest;
|
|
293
|
+
|
|
294
|
+
/**
|
|
295
|
+
* Encodes the specified FindCurrentSubscriptionRequest message. Does not implicitly {@link subscription.FindCurrentSubscriptionRequest.verify|verify} messages.
|
|
296
|
+
* @param message FindCurrentSubscriptionRequest message or plain object to encode
|
|
297
|
+
* @param [writer] Writer to encode to
|
|
298
|
+
* @returns Writer
|
|
299
|
+
*/
|
|
300
|
+
public static encode(message: subscription.IFindCurrentSubscriptionRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* Encodes the specified FindCurrentSubscriptionRequest message, length delimited. Does not implicitly {@link subscription.FindCurrentSubscriptionRequest.verify|verify} messages.
|
|
304
|
+
* @param message FindCurrentSubscriptionRequest message or plain object to encode
|
|
305
|
+
* @param [writer] Writer to encode to
|
|
306
|
+
* @returns Writer
|
|
307
|
+
*/
|
|
308
|
+
public static encodeDelimited(message: subscription.IFindCurrentSubscriptionRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
309
|
+
|
|
310
|
+
/**
|
|
311
|
+
* Decodes a FindCurrentSubscriptionRequest message from the specified reader or buffer.
|
|
312
|
+
* @param reader Reader or buffer to decode from
|
|
313
|
+
* @param [length] Message length if known beforehand
|
|
314
|
+
* @returns FindCurrentSubscriptionRequest
|
|
315
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
316
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
317
|
+
*/
|
|
318
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): subscription.FindCurrentSubscriptionRequest;
|
|
319
|
+
|
|
320
|
+
/**
|
|
321
|
+
* Decodes a FindCurrentSubscriptionRequest message from the specified reader or buffer, length delimited.
|
|
322
|
+
* @param reader Reader or buffer to decode from
|
|
323
|
+
* @returns FindCurrentSubscriptionRequest
|
|
324
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
325
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
326
|
+
*/
|
|
327
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): subscription.FindCurrentSubscriptionRequest;
|
|
328
|
+
|
|
329
|
+
/**
|
|
330
|
+
* Verifies a FindCurrentSubscriptionRequest message.
|
|
331
|
+
* @param message Plain object to verify
|
|
332
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
333
|
+
*/
|
|
334
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
335
|
+
|
|
336
|
+
/**
|
|
337
|
+
* Creates a FindCurrentSubscriptionRequest message from a plain object. Also converts values to their respective internal types.
|
|
338
|
+
* @param object Plain object
|
|
339
|
+
* @returns FindCurrentSubscriptionRequest
|
|
340
|
+
*/
|
|
341
|
+
public static fromObject(object: { [k: string]: any }): subscription.FindCurrentSubscriptionRequest;
|
|
342
|
+
|
|
343
|
+
/**
|
|
344
|
+
* Creates a plain object from a FindCurrentSubscriptionRequest message. Also converts values to other types if specified.
|
|
345
|
+
* @param message FindCurrentSubscriptionRequest
|
|
346
|
+
* @param [options] Conversion options
|
|
347
|
+
* @returns Plain object
|
|
348
|
+
*/
|
|
349
|
+
public static toObject(message: subscription.FindCurrentSubscriptionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
350
|
+
|
|
351
|
+
/**
|
|
352
|
+
* Converts this FindCurrentSubscriptionRequest to JSON.
|
|
353
|
+
* @returns JSON object
|
|
354
|
+
*/
|
|
355
|
+
public toJSON(): { [k: string]: any };
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
/** Properties of a ManySubscriptionsResponse. */
|
|
359
|
+
interface IManySubscriptionsResponse {
|
|
360
|
+
|
|
361
|
+
/** ManySubscriptionsResponse subscriptions */
|
|
362
|
+
subscriptions?: (subscription.ISubscription[]|null);
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
/** Represents a ManySubscriptionsResponse. */
|
|
366
|
+
class ManySubscriptionsResponse implements IManySubscriptionsResponse {
|
|
367
|
+
|
|
368
|
+
/**
|
|
369
|
+
* Constructs a new ManySubscriptionsResponse.
|
|
370
|
+
* @param [properties] Properties to set
|
|
371
|
+
*/
|
|
372
|
+
constructor(properties?: subscription.IManySubscriptionsResponse);
|
|
373
|
+
|
|
374
|
+
/** ManySubscriptionsResponse subscriptions. */
|
|
375
|
+
public subscriptions: subscription.ISubscription[];
|
|
376
|
+
|
|
377
|
+
/**
|
|
378
|
+
* Creates a new ManySubscriptionsResponse instance using the specified properties.
|
|
379
|
+
* @param [properties] Properties to set
|
|
380
|
+
* @returns ManySubscriptionsResponse instance
|
|
381
|
+
*/
|
|
382
|
+
public static create(properties?: subscription.IManySubscriptionsResponse): subscription.ManySubscriptionsResponse;
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* Encodes the specified ManySubscriptionsResponse message. Does not implicitly {@link subscription.ManySubscriptionsResponse.verify|verify} messages.
|
|
386
|
+
* @param message ManySubscriptionsResponse message or plain object to encode
|
|
387
|
+
* @param [writer] Writer to encode to
|
|
388
|
+
* @returns Writer
|
|
389
|
+
*/
|
|
390
|
+
public static encode(message: subscription.IManySubscriptionsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
391
|
+
|
|
392
|
+
/**
|
|
393
|
+
* Encodes the specified ManySubscriptionsResponse message, length delimited. Does not implicitly {@link subscription.ManySubscriptionsResponse.verify|verify} messages.
|
|
394
|
+
* @param message ManySubscriptionsResponse message or plain object to encode
|
|
395
|
+
* @param [writer] Writer to encode to
|
|
396
|
+
* @returns Writer
|
|
397
|
+
*/
|
|
398
|
+
public static encodeDelimited(message: subscription.IManySubscriptionsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
399
|
+
|
|
400
|
+
/**
|
|
401
|
+
* Decodes a ManySubscriptionsResponse message from the specified reader or buffer.
|
|
402
|
+
* @param reader Reader or buffer to decode from
|
|
403
|
+
* @param [length] Message length if known beforehand
|
|
404
|
+
* @returns ManySubscriptionsResponse
|
|
405
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
406
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
407
|
+
*/
|
|
408
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): subscription.ManySubscriptionsResponse;
|
|
409
|
+
|
|
410
|
+
/**
|
|
411
|
+
* Decodes a ManySubscriptionsResponse message from the specified reader or buffer, length delimited.
|
|
412
|
+
* @param reader Reader or buffer to decode from
|
|
413
|
+
* @returns ManySubscriptionsResponse
|
|
414
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
415
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
416
|
+
*/
|
|
417
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): subscription.ManySubscriptionsResponse;
|
|
418
|
+
|
|
419
|
+
/**
|
|
420
|
+
* Verifies a ManySubscriptionsResponse message.
|
|
421
|
+
* @param message Plain object to verify
|
|
422
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
423
|
+
*/
|
|
424
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
425
|
+
|
|
426
|
+
/**
|
|
427
|
+
* Creates a ManySubscriptionsResponse message from a plain object. Also converts values to their respective internal types.
|
|
428
|
+
* @param object Plain object
|
|
429
|
+
* @returns ManySubscriptionsResponse
|
|
430
|
+
*/
|
|
431
|
+
public static fromObject(object: { [k: string]: any }): subscription.ManySubscriptionsResponse;
|
|
432
|
+
|
|
433
|
+
/**
|
|
434
|
+
* Creates a plain object from a ManySubscriptionsResponse message. Also converts values to other types if specified.
|
|
435
|
+
* @param message ManySubscriptionsResponse
|
|
436
|
+
* @param [options] Conversion options
|
|
437
|
+
* @returns Plain object
|
|
438
|
+
*/
|
|
439
|
+
public static toObject(message: subscription.ManySubscriptionsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
440
|
+
|
|
441
|
+
/**
|
|
442
|
+
* Converts this ManySubscriptionsResponse to JSON.
|
|
443
|
+
* @returns JSON object
|
|
444
|
+
*/
|
|
445
|
+
public toJSON(): { [k: string]: any };
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
/** Properties of an OneSubscriptionResponse. */
|
|
449
|
+
interface IOneSubscriptionResponse {
|
|
450
|
+
|
|
451
|
+
/** OneSubscriptionResponse subscription */
|
|
452
|
+
subscription?: (subscription.ISubscription|null);
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
/** Represents an OneSubscriptionResponse. */
|
|
456
|
+
class OneSubscriptionResponse implements IOneSubscriptionResponse {
|
|
457
|
+
|
|
458
|
+
/**
|
|
459
|
+
* Constructs a new OneSubscriptionResponse.
|
|
460
|
+
* @param [properties] Properties to set
|
|
461
|
+
*/
|
|
462
|
+
constructor(properties?: subscription.IOneSubscriptionResponse);
|
|
463
|
+
|
|
464
|
+
/** OneSubscriptionResponse subscription. */
|
|
465
|
+
public subscription?: (subscription.ISubscription|null);
|
|
466
|
+
|
|
467
|
+
/**
|
|
468
|
+
* Creates a new OneSubscriptionResponse instance using the specified properties.
|
|
469
|
+
* @param [properties] Properties to set
|
|
470
|
+
* @returns OneSubscriptionResponse instance
|
|
471
|
+
*/
|
|
472
|
+
public static create(properties?: subscription.IOneSubscriptionResponse): subscription.OneSubscriptionResponse;
|
|
473
|
+
|
|
474
|
+
/**
|
|
475
|
+
* Encodes the specified OneSubscriptionResponse message. Does not implicitly {@link subscription.OneSubscriptionResponse.verify|verify} messages.
|
|
476
|
+
* @param message OneSubscriptionResponse message or plain object to encode
|
|
477
|
+
* @param [writer] Writer to encode to
|
|
478
|
+
* @returns Writer
|
|
479
|
+
*/
|
|
480
|
+
public static encode(message: subscription.IOneSubscriptionResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
481
|
+
|
|
482
|
+
/**
|
|
483
|
+
* Encodes the specified OneSubscriptionResponse message, length delimited. Does not implicitly {@link subscription.OneSubscriptionResponse.verify|verify} messages.
|
|
484
|
+
* @param message OneSubscriptionResponse message or plain object to encode
|
|
485
|
+
* @param [writer] Writer to encode to
|
|
486
|
+
* @returns Writer
|
|
487
|
+
*/
|
|
488
|
+
public static encodeDelimited(message: subscription.IOneSubscriptionResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
489
|
+
|
|
490
|
+
/**
|
|
491
|
+
* Decodes an OneSubscriptionResponse message from the specified reader or buffer.
|
|
492
|
+
* @param reader Reader or buffer to decode from
|
|
493
|
+
* @param [length] Message length if known beforehand
|
|
494
|
+
* @returns OneSubscriptionResponse
|
|
495
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
496
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
497
|
+
*/
|
|
498
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): subscription.OneSubscriptionResponse;
|
|
499
|
+
|
|
500
|
+
/**
|
|
501
|
+
* Decodes an OneSubscriptionResponse message from the specified reader or buffer, length delimited.
|
|
502
|
+
* @param reader Reader or buffer to decode from
|
|
503
|
+
* @returns OneSubscriptionResponse
|
|
504
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
505
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
506
|
+
*/
|
|
507
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): subscription.OneSubscriptionResponse;
|
|
508
|
+
|
|
509
|
+
/**
|
|
510
|
+
* Verifies an OneSubscriptionResponse message.
|
|
511
|
+
* @param message Plain object to verify
|
|
512
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
513
|
+
*/
|
|
514
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
515
|
+
|
|
516
|
+
/**
|
|
517
|
+
* Creates an OneSubscriptionResponse message from a plain object. Also converts values to their respective internal types.
|
|
518
|
+
* @param object Plain object
|
|
519
|
+
* @returns OneSubscriptionResponse
|
|
520
|
+
*/
|
|
521
|
+
public static fromObject(object: { [k: string]: any }): subscription.OneSubscriptionResponse;
|
|
522
|
+
|
|
523
|
+
/**
|
|
524
|
+
* Creates a plain object from an OneSubscriptionResponse message. Also converts values to other types if specified.
|
|
525
|
+
* @param message OneSubscriptionResponse
|
|
526
|
+
* @param [options] Conversion options
|
|
527
|
+
* @returns Plain object
|
|
528
|
+
*/
|
|
529
|
+
public static toObject(message: subscription.OneSubscriptionResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
530
|
+
|
|
531
|
+
/**
|
|
532
|
+
* Converts this OneSubscriptionResponse to JSON.
|
|
533
|
+
* @returns JSON object
|
|
534
|
+
*/
|
|
535
|
+
public toJSON(): { [k: string]: any };
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
/** Properties of a Subscription. */
|
|
539
|
+
interface ISubscription {
|
|
540
|
+
|
|
541
|
+
/** Subscription id */
|
|
542
|
+
id?: (number|null);
|
|
543
|
+
|
|
544
|
+
/** Subscription startsAt */
|
|
545
|
+
startsAt?: (date.IDate|null);
|
|
546
|
+
|
|
547
|
+
/** Subscription endsAt */
|
|
548
|
+
endsAt?: (date.IDate|null);
|
|
549
|
+
|
|
550
|
+
/** Subscription status */
|
|
551
|
+
status?: (string|null);
|
|
552
|
+
|
|
553
|
+
/** Subscription plan */
|
|
554
|
+
plan?: (subscription.IPlan|null);
|
|
555
|
+
|
|
556
|
+
/** Subscription membership */
|
|
557
|
+
membership?: (string|null);
|
|
558
|
+
|
|
559
|
+
/** Subscription voucherCode */
|
|
560
|
+
voucherCode?: (string|null);
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
/** Represents a Subscription. */
|
|
564
|
+
class Subscription implements ISubscription {
|
|
565
|
+
|
|
566
|
+
/**
|
|
567
|
+
* Constructs a new Subscription.
|
|
568
|
+
* @param [properties] Properties to set
|
|
569
|
+
*/
|
|
570
|
+
constructor(properties?: subscription.ISubscription);
|
|
571
|
+
|
|
572
|
+
/** Subscription id. */
|
|
573
|
+
public id: number;
|
|
574
|
+
|
|
575
|
+
/** Subscription startsAt. */
|
|
576
|
+
public startsAt?: (date.IDate|null);
|
|
577
|
+
|
|
578
|
+
/** Subscription endsAt. */
|
|
579
|
+
public endsAt?: (date.IDate|null);
|
|
580
|
+
|
|
581
|
+
/** Subscription status. */
|
|
582
|
+
public status: string;
|
|
583
|
+
|
|
584
|
+
/** Subscription plan. */
|
|
585
|
+
public plan?: (subscription.IPlan|null);
|
|
586
|
+
|
|
587
|
+
/** Subscription membership. */
|
|
588
|
+
public membership: string;
|
|
589
|
+
|
|
590
|
+
/** Subscription voucherCode. */
|
|
591
|
+
public voucherCode: string;
|
|
592
|
+
|
|
593
|
+
/**
|
|
594
|
+
* Creates a new Subscription instance using the specified properties.
|
|
595
|
+
* @param [properties] Properties to set
|
|
596
|
+
* @returns Subscription instance
|
|
597
|
+
*/
|
|
598
|
+
public static create(properties?: subscription.ISubscription): subscription.Subscription;
|
|
599
|
+
|
|
600
|
+
/**
|
|
601
|
+
* Encodes the specified Subscription message. Does not implicitly {@link subscription.Subscription.verify|verify} messages.
|
|
602
|
+
* @param message Subscription message or plain object to encode
|
|
603
|
+
* @param [writer] Writer to encode to
|
|
604
|
+
* @returns Writer
|
|
605
|
+
*/
|
|
606
|
+
public static encode(message: subscription.ISubscription, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
607
|
+
|
|
608
|
+
/**
|
|
609
|
+
* Encodes the specified Subscription message, length delimited. Does not implicitly {@link subscription.Subscription.verify|verify} messages.
|
|
610
|
+
* @param message Subscription message or plain object to encode
|
|
611
|
+
* @param [writer] Writer to encode to
|
|
612
|
+
* @returns Writer
|
|
613
|
+
*/
|
|
614
|
+
public static encodeDelimited(message: subscription.ISubscription, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
615
|
+
|
|
616
|
+
/**
|
|
617
|
+
* Decodes a Subscription message from the specified reader or buffer.
|
|
618
|
+
* @param reader Reader or buffer to decode from
|
|
619
|
+
* @param [length] Message length if known beforehand
|
|
620
|
+
* @returns Subscription
|
|
621
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
622
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
623
|
+
*/
|
|
624
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): subscription.Subscription;
|
|
625
|
+
|
|
626
|
+
/**
|
|
627
|
+
* Decodes a Subscription message from the specified reader or buffer, length delimited.
|
|
628
|
+
* @param reader Reader or buffer to decode from
|
|
629
|
+
* @returns Subscription
|
|
630
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
631
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
632
|
+
*/
|
|
633
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): subscription.Subscription;
|
|
634
|
+
|
|
635
|
+
/**
|
|
636
|
+
* Verifies a Subscription message.
|
|
637
|
+
* @param message Plain object to verify
|
|
638
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
639
|
+
*/
|
|
640
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
641
|
+
|
|
642
|
+
/**
|
|
643
|
+
* Creates a Subscription message from a plain object. Also converts values to their respective internal types.
|
|
644
|
+
* @param object Plain object
|
|
645
|
+
* @returns Subscription
|
|
646
|
+
*/
|
|
647
|
+
public static fromObject(object: { [k: string]: any }): subscription.Subscription;
|
|
648
|
+
|
|
649
|
+
/**
|
|
650
|
+
* Creates a plain object from a Subscription message. Also converts values to other types if specified.
|
|
651
|
+
* @param message Subscription
|
|
652
|
+
* @param [options] Conversion options
|
|
653
|
+
* @returns Plain object
|
|
654
|
+
*/
|
|
655
|
+
public static toObject(message: subscription.Subscription, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
656
|
+
|
|
657
|
+
/**
|
|
658
|
+
* Converts this Subscription to JSON.
|
|
659
|
+
* @returns JSON object
|
|
660
|
+
*/
|
|
661
|
+
public toJSON(): { [k: string]: any };
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
/** Properties of a Plan. */
|
|
665
|
+
interface IPlan {
|
|
666
|
+
|
|
667
|
+
/** Plan id */
|
|
668
|
+
id?: (number|null);
|
|
669
|
+
|
|
670
|
+
/** Plan description */
|
|
671
|
+
description?: (string|null);
|
|
672
|
+
|
|
673
|
+
/** Plan termLength */
|
|
674
|
+
termLength?: (number|null);
|
|
675
|
+
|
|
676
|
+
/** Plan name */
|
|
677
|
+
name?: (string|null);
|
|
678
|
+
|
|
679
|
+
/** Plan subscriptionType */
|
|
680
|
+
subscriptionType?: (string|null);
|
|
681
|
+
|
|
682
|
+
/** Plan affiliation */
|
|
683
|
+
affiliation?: (string|null);
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
/** Represents a Plan. */
|
|
687
|
+
class Plan implements IPlan {
|
|
688
|
+
|
|
689
|
+
/**
|
|
690
|
+
* Constructs a new Plan.
|
|
691
|
+
* @param [properties] Properties to set
|
|
692
|
+
*/
|
|
693
|
+
constructor(properties?: subscription.IPlan);
|
|
694
|
+
|
|
695
|
+
/** Plan id. */
|
|
696
|
+
public id: number;
|
|
697
|
+
|
|
698
|
+
/** Plan description. */
|
|
699
|
+
public description: string;
|
|
700
|
+
|
|
701
|
+
/** Plan termLength. */
|
|
702
|
+
public termLength: number;
|
|
703
|
+
|
|
704
|
+
/** Plan name. */
|
|
705
|
+
public name: string;
|
|
706
|
+
|
|
707
|
+
/** Plan subscriptionType. */
|
|
708
|
+
public subscriptionType: string;
|
|
709
|
+
|
|
710
|
+
/** Plan affiliation. */
|
|
711
|
+
public affiliation: string;
|
|
712
|
+
|
|
713
|
+
/**
|
|
714
|
+
* Creates a new Plan instance using the specified properties.
|
|
715
|
+
* @param [properties] Properties to set
|
|
716
|
+
* @returns Plan instance
|
|
717
|
+
*/
|
|
718
|
+
public static create(properties?: subscription.IPlan): subscription.Plan;
|
|
719
|
+
|
|
720
|
+
/**
|
|
721
|
+
* Encodes the specified Plan message. Does not implicitly {@link subscription.Plan.verify|verify} messages.
|
|
722
|
+
* @param message Plan message or plain object to encode
|
|
723
|
+
* @param [writer] Writer to encode to
|
|
724
|
+
* @returns Writer
|
|
725
|
+
*/
|
|
726
|
+
public static encode(message: subscription.IPlan, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
727
|
+
|
|
728
|
+
/**
|
|
729
|
+
* Encodes the specified Plan message, length delimited. Does not implicitly {@link subscription.Plan.verify|verify} messages.
|
|
730
|
+
* @param message Plan message or plain object to encode
|
|
731
|
+
* @param [writer] Writer to encode to
|
|
732
|
+
* @returns Writer
|
|
733
|
+
*/
|
|
734
|
+
public static encodeDelimited(message: subscription.IPlan, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
735
|
+
|
|
736
|
+
/**
|
|
737
|
+
* Decodes a Plan message from the specified reader or buffer.
|
|
738
|
+
* @param reader Reader or buffer to decode from
|
|
739
|
+
* @param [length] Message length if known beforehand
|
|
740
|
+
* @returns Plan
|
|
741
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
742
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
743
|
+
*/
|
|
744
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): subscription.Plan;
|
|
745
|
+
|
|
746
|
+
/**
|
|
747
|
+
* Decodes a Plan message from the specified reader or buffer, length delimited.
|
|
748
|
+
* @param reader Reader or buffer to decode from
|
|
749
|
+
* @returns Plan
|
|
750
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
751
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
752
|
+
*/
|
|
753
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): subscription.Plan;
|
|
754
|
+
|
|
755
|
+
/**
|
|
756
|
+
* Verifies a Plan message.
|
|
757
|
+
* @param message Plain object to verify
|
|
758
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
759
|
+
*/
|
|
760
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
761
|
+
|
|
762
|
+
/**
|
|
763
|
+
* Creates a Plan message from a plain object. Also converts values to their respective internal types.
|
|
764
|
+
* @param object Plain object
|
|
765
|
+
* @returns Plan
|
|
766
|
+
*/
|
|
767
|
+
public static fromObject(object: { [k: string]: any }): subscription.Plan;
|
|
768
|
+
|
|
769
|
+
/**
|
|
770
|
+
* Creates a plain object from a Plan message. Also converts values to other types if specified.
|
|
771
|
+
* @param message Plan
|
|
772
|
+
* @param [options] Conversion options
|
|
773
|
+
* @returns Plain object
|
|
774
|
+
*/
|
|
775
|
+
public static toObject(message: subscription.Plan, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
776
|
+
|
|
777
|
+
/**
|
|
778
|
+
* Converts this Plan to JSON.
|
|
779
|
+
* @returns JSON object
|
|
780
|
+
*/
|
|
781
|
+
public toJSON(): { [k: string]: any };
|
|
782
|
+
}
|
|
17
783
|
}
|
|
18
784
|
|
|
19
785
|
/** Properties of a FamilyMemberAdded. */
|
|
@@ -1726,103 +2492,193 @@ export class SubscriptionPaymentDeclined implements ISubscriptionPaymentDeclined
|
|
|
1726
2492
|
public toJSON(): { [k: string]: any };
|
|
1727
2493
|
}
|
|
1728
2494
|
|
|
1729
|
-
/** Properties of a
|
|
1730
|
-
export interface
|
|
2495
|
+
/** Properties of a UserDoubleOptInEmailRequested. */
|
|
2496
|
+
export interface IUserDoubleOptInEmailRequested {
|
|
1731
2497
|
|
|
1732
|
-
/**
|
|
2498
|
+
/** UserDoubleOptInEmailRequested userId */
|
|
1733
2499
|
userId?: (string|null);
|
|
2500
|
+
}
|
|
1734
2501
|
|
|
1735
|
-
|
|
1736
|
-
|
|
2502
|
+
/** Represents a UserDoubleOptInEmailRequested. */
|
|
2503
|
+
export class UserDoubleOptInEmailRequested implements IUserDoubleOptInEmailRequested {
|
|
1737
2504
|
|
|
1738
|
-
/**
|
|
2505
|
+
/**
|
|
2506
|
+
* Constructs a new UserDoubleOptInEmailRequested.
|
|
2507
|
+
* @param [properties] Properties to set
|
|
2508
|
+
*/
|
|
2509
|
+
constructor(properties?: IUserDoubleOptInEmailRequested);
|
|
2510
|
+
|
|
2511
|
+
/** UserDoubleOptInEmailRequested userId. */
|
|
2512
|
+
public userId: string;
|
|
2513
|
+
|
|
2514
|
+
/**
|
|
2515
|
+
* Creates a new UserDoubleOptInEmailRequested instance using the specified properties.
|
|
2516
|
+
* @param [properties] Properties to set
|
|
2517
|
+
* @returns UserDoubleOptInEmailRequested instance
|
|
2518
|
+
*/
|
|
2519
|
+
public static create(properties?: IUserDoubleOptInEmailRequested): UserDoubleOptInEmailRequested;
|
|
2520
|
+
|
|
2521
|
+
/**
|
|
2522
|
+
* Encodes the specified UserDoubleOptInEmailRequested message. Does not implicitly {@link UserDoubleOptInEmailRequested.verify|verify} messages.
|
|
2523
|
+
* @param message UserDoubleOptInEmailRequested message or plain object to encode
|
|
2524
|
+
* @param [writer] Writer to encode to
|
|
2525
|
+
* @returns Writer
|
|
2526
|
+
*/
|
|
2527
|
+
public static encode(message: IUserDoubleOptInEmailRequested, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2528
|
+
|
|
2529
|
+
/**
|
|
2530
|
+
* Encodes the specified UserDoubleOptInEmailRequested message, length delimited. Does not implicitly {@link UserDoubleOptInEmailRequested.verify|verify} messages.
|
|
2531
|
+
* @param message UserDoubleOptInEmailRequested message or plain object to encode
|
|
2532
|
+
* @param [writer] Writer to encode to
|
|
2533
|
+
* @returns Writer
|
|
2534
|
+
*/
|
|
2535
|
+
public static encodeDelimited(message: IUserDoubleOptInEmailRequested, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2536
|
+
|
|
2537
|
+
/**
|
|
2538
|
+
* Decodes a UserDoubleOptInEmailRequested message from the specified reader or buffer.
|
|
2539
|
+
* @param reader Reader or buffer to decode from
|
|
2540
|
+
* @param [length] Message length if known beforehand
|
|
2541
|
+
* @returns UserDoubleOptInEmailRequested
|
|
2542
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2543
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2544
|
+
*/
|
|
2545
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserDoubleOptInEmailRequested;
|
|
2546
|
+
|
|
2547
|
+
/**
|
|
2548
|
+
* Decodes a UserDoubleOptInEmailRequested message from the specified reader or buffer, length delimited.
|
|
2549
|
+
* @param reader Reader or buffer to decode from
|
|
2550
|
+
* @returns UserDoubleOptInEmailRequested
|
|
2551
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2552
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2553
|
+
*/
|
|
2554
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserDoubleOptInEmailRequested;
|
|
2555
|
+
|
|
2556
|
+
/**
|
|
2557
|
+
* Verifies a UserDoubleOptInEmailRequested message.
|
|
2558
|
+
* @param message Plain object to verify
|
|
2559
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
2560
|
+
*/
|
|
2561
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
2562
|
+
|
|
2563
|
+
/**
|
|
2564
|
+
* Creates a UserDoubleOptInEmailRequested message from a plain object. Also converts values to their respective internal types.
|
|
2565
|
+
* @param object Plain object
|
|
2566
|
+
* @returns UserDoubleOptInEmailRequested
|
|
2567
|
+
*/
|
|
2568
|
+
public static fromObject(object: { [k: string]: any }): UserDoubleOptInEmailRequested;
|
|
2569
|
+
|
|
2570
|
+
/**
|
|
2571
|
+
* Creates a plain object from a UserDoubleOptInEmailRequested message. Also converts values to other types if specified.
|
|
2572
|
+
* @param message UserDoubleOptInEmailRequested
|
|
2573
|
+
* @param [options] Conversion options
|
|
2574
|
+
* @returns Plain object
|
|
2575
|
+
*/
|
|
2576
|
+
public static toObject(message: UserDoubleOptInEmailRequested, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2577
|
+
|
|
2578
|
+
/**
|
|
2579
|
+
* Converts this UserDoubleOptInEmailRequested to JSON.
|
|
2580
|
+
* @returns JSON object
|
|
2581
|
+
*/
|
|
2582
|
+
public toJSON(): { [k: string]: any };
|
|
2583
|
+
}
|
|
2584
|
+
|
|
2585
|
+
/** Properties of a UserEmailUpdated. */
|
|
2586
|
+
export interface IUserEmailUpdated {
|
|
2587
|
+
|
|
2588
|
+
/** UserEmailUpdated userId */
|
|
2589
|
+
userId?: (string|null);
|
|
2590
|
+
|
|
2591
|
+
/** UserEmailUpdated email */
|
|
1739
2592
|
email?: (string|null);
|
|
2593
|
+
|
|
2594
|
+
/** UserEmailUpdated timestamp */
|
|
2595
|
+
timestamp?: (number|Long|null);
|
|
1740
2596
|
}
|
|
1741
2597
|
|
|
1742
|
-
/** Represents a
|
|
1743
|
-
export class
|
|
2598
|
+
/** Represents a UserEmailUpdated. */
|
|
2599
|
+
export class UserEmailUpdated implements IUserEmailUpdated {
|
|
1744
2600
|
|
|
1745
2601
|
/**
|
|
1746
|
-
* Constructs a new
|
|
2602
|
+
* Constructs a new UserEmailUpdated.
|
|
1747
2603
|
* @param [properties] Properties to set
|
|
1748
2604
|
*/
|
|
1749
|
-
constructor(properties?:
|
|
2605
|
+
constructor(properties?: IUserEmailUpdated);
|
|
1750
2606
|
|
|
1751
|
-
/**
|
|
2607
|
+
/** UserEmailUpdated userId. */
|
|
1752
2608
|
public userId: string;
|
|
1753
2609
|
|
|
1754
|
-
/**
|
|
1755
|
-
public updatedOn: (number|Long);
|
|
1756
|
-
|
|
1757
|
-
/** UserPasswordUpdated email. */
|
|
2610
|
+
/** UserEmailUpdated email. */
|
|
1758
2611
|
public email: string;
|
|
1759
2612
|
|
|
2613
|
+
/** UserEmailUpdated timestamp. */
|
|
2614
|
+
public timestamp: (number|Long);
|
|
2615
|
+
|
|
1760
2616
|
/**
|
|
1761
|
-
* Creates a new
|
|
2617
|
+
* Creates a new UserEmailUpdated instance using the specified properties.
|
|
1762
2618
|
* @param [properties] Properties to set
|
|
1763
|
-
* @returns
|
|
2619
|
+
* @returns UserEmailUpdated instance
|
|
1764
2620
|
*/
|
|
1765
|
-
public static create(properties?:
|
|
2621
|
+
public static create(properties?: IUserEmailUpdated): UserEmailUpdated;
|
|
1766
2622
|
|
|
1767
2623
|
/**
|
|
1768
|
-
* Encodes the specified
|
|
1769
|
-
* @param message
|
|
2624
|
+
* Encodes the specified UserEmailUpdated message. Does not implicitly {@link UserEmailUpdated.verify|verify} messages.
|
|
2625
|
+
* @param message UserEmailUpdated message or plain object to encode
|
|
1770
2626
|
* @param [writer] Writer to encode to
|
|
1771
2627
|
* @returns Writer
|
|
1772
2628
|
*/
|
|
1773
|
-
public static encode(message:
|
|
2629
|
+
public static encode(message: IUserEmailUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1774
2630
|
|
|
1775
2631
|
/**
|
|
1776
|
-
* Encodes the specified
|
|
1777
|
-
* @param message
|
|
2632
|
+
* Encodes the specified UserEmailUpdated message, length delimited. Does not implicitly {@link UserEmailUpdated.verify|verify} messages.
|
|
2633
|
+
* @param message UserEmailUpdated message or plain object to encode
|
|
1778
2634
|
* @param [writer] Writer to encode to
|
|
1779
2635
|
* @returns Writer
|
|
1780
2636
|
*/
|
|
1781
|
-
public static encodeDelimited(message:
|
|
2637
|
+
public static encodeDelimited(message: IUserEmailUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1782
2638
|
|
|
1783
2639
|
/**
|
|
1784
|
-
* Decodes a
|
|
2640
|
+
* Decodes a UserEmailUpdated message from the specified reader or buffer.
|
|
1785
2641
|
* @param reader Reader or buffer to decode from
|
|
1786
2642
|
* @param [length] Message length if known beforehand
|
|
1787
|
-
* @returns
|
|
2643
|
+
* @returns UserEmailUpdated
|
|
1788
2644
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1789
2645
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1790
2646
|
*/
|
|
1791
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number):
|
|
2647
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserEmailUpdated;
|
|
1792
2648
|
|
|
1793
2649
|
/**
|
|
1794
|
-
* Decodes a
|
|
2650
|
+
* Decodes a UserEmailUpdated message from the specified reader or buffer, length delimited.
|
|
1795
2651
|
* @param reader Reader or buffer to decode from
|
|
1796
|
-
* @returns
|
|
2652
|
+
* @returns UserEmailUpdated
|
|
1797
2653
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1798
2654
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1799
2655
|
*/
|
|
1800
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)):
|
|
2656
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserEmailUpdated;
|
|
1801
2657
|
|
|
1802
2658
|
/**
|
|
1803
|
-
* Verifies a
|
|
2659
|
+
* Verifies a UserEmailUpdated message.
|
|
1804
2660
|
* @param message Plain object to verify
|
|
1805
2661
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
1806
2662
|
*/
|
|
1807
2663
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
1808
2664
|
|
|
1809
2665
|
/**
|
|
1810
|
-
* Creates a
|
|
2666
|
+
* Creates a UserEmailUpdated message from a plain object. Also converts values to their respective internal types.
|
|
1811
2667
|
* @param object Plain object
|
|
1812
|
-
* @returns
|
|
2668
|
+
* @returns UserEmailUpdated
|
|
1813
2669
|
*/
|
|
1814
|
-
public static fromObject(object: { [k: string]: any }):
|
|
2670
|
+
public static fromObject(object: { [k: string]: any }): UserEmailUpdated;
|
|
1815
2671
|
|
|
1816
2672
|
/**
|
|
1817
|
-
* Creates a plain object from a
|
|
1818
|
-
* @param message
|
|
2673
|
+
* Creates a plain object from a UserEmailUpdated message. Also converts values to other types if specified.
|
|
2674
|
+
* @param message UserEmailUpdated
|
|
1819
2675
|
* @param [options] Conversion options
|
|
1820
2676
|
* @returns Plain object
|
|
1821
2677
|
*/
|
|
1822
|
-
public static toObject(message:
|
|
2678
|
+
public static toObject(message: UserEmailUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1823
2679
|
|
|
1824
2680
|
/**
|
|
1825
|
-
* Converts this
|
|
2681
|
+
* Converts this UserEmailUpdated to JSON.
|
|
1826
2682
|
* @returns JSON object
|
|
1827
2683
|
*/
|
|
1828
2684
|
public toJSON(): { [k: string]: any };
|
|
@@ -1930,91 +2786,103 @@ export class UserEmailVerificationRequested implements IUserEmailVerificationReq
|
|
|
1930
2786
|
public toJSON(): { [k: string]: any };
|
|
1931
2787
|
}
|
|
1932
2788
|
|
|
1933
|
-
/** Properties of a
|
|
1934
|
-
export interface
|
|
2789
|
+
/** Properties of a UserPasswordUpdated. */
|
|
2790
|
+
export interface IUserPasswordUpdated {
|
|
1935
2791
|
|
|
1936
|
-
/**
|
|
2792
|
+
/** UserPasswordUpdated userId */
|
|
1937
2793
|
userId?: (string|null);
|
|
2794
|
+
|
|
2795
|
+
/** UserPasswordUpdated updatedOn */
|
|
2796
|
+
updatedOn?: (number|Long|null);
|
|
2797
|
+
|
|
2798
|
+
/** UserPasswordUpdated email */
|
|
2799
|
+
email?: (string|null);
|
|
1938
2800
|
}
|
|
1939
2801
|
|
|
1940
|
-
/** Represents a
|
|
1941
|
-
export class
|
|
2802
|
+
/** Represents a UserPasswordUpdated. */
|
|
2803
|
+
export class UserPasswordUpdated implements IUserPasswordUpdated {
|
|
1942
2804
|
|
|
1943
2805
|
/**
|
|
1944
|
-
* Constructs a new
|
|
2806
|
+
* Constructs a new UserPasswordUpdated.
|
|
1945
2807
|
* @param [properties] Properties to set
|
|
1946
2808
|
*/
|
|
1947
|
-
constructor(properties?:
|
|
2809
|
+
constructor(properties?: IUserPasswordUpdated);
|
|
1948
2810
|
|
|
1949
|
-
/**
|
|
2811
|
+
/** UserPasswordUpdated userId. */
|
|
1950
2812
|
public userId: string;
|
|
1951
2813
|
|
|
2814
|
+
/** UserPasswordUpdated updatedOn. */
|
|
2815
|
+
public updatedOn: (number|Long);
|
|
2816
|
+
|
|
2817
|
+
/** UserPasswordUpdated email. */
|
|
2818
|
+
public email: string;
|
|
2819
|
+
|
|
1952
2820
|
/**
|
|
1953
|
-
* Creates a new
|
|
2821
|
+
* Creates a new UserPasswordUpdated instance using the specified properties.
|
|
1954
2822
|
* @param [properties] Properties to set
|
|
1955
|
-
* @returns
|
|
2823
|
+
* @returns UserPasswordUpdated instance
|
|
1956
2824
|
*/
|
|
1957
|
-
public static create(properties?:
|
|
2825
|
+
public static create(properties?: IUserPasswordUpdated): UserPasswordUpdated;
|
|
1958
2826
|
|
|
1959
2827
|
/**
|
|
1960
|
-
* Encodes the specified
|
|
1961
|
-
* @param message
|
|
2828
|
+
* Encodes the specified UserPasswordUpdated message. Does not implicitly {@link UserPasswordUpdated.verify|verify} messages.
|
|
2829
|
+
* @param message UserPasswordUpdated message or plain object to encode
|
|
1962
2830
|
* @param [writer] Writer to encode to
|
|
1963
2831
|
* @returns Writer
|
|
1964
2832
|
*/
|
|
1965
|
-
public static encode(message:
|
|
2833
|
+
public static encode(message: IUserPasswordUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1966
2834
|
|
|
1967
2835
|
/**
|
|
1968
|
-
* Encodes the specified
|
|
1969
|
-
* @param message
|
|
2836
|
+
* Encodes the specified UserPasswordUpdated message, length delimited. Does not implicitly {@link UserPasswordUpdated.verify|verify} messages.
|
|
2837
|
+
* @param message UserPasswordUpdated message or plain object to encode
|
|
1970
2838
|
* @param [writer] Writer to encode to
|
|
1971
2839
|
* @returns Writer
|
|
1972
2840
|
*/
|
|
1973
|
-
public static encodeDelimited(message:
|
|
2841
|
+
public static encodeDelimited(message: IUserPasswordUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1974
2842
|
|
|
1975
2843
|
/**
|
|
1976
|
-
* Decodes a
|
|
2844
|
+
* Decodes a UserPasswordUpdated message from the specified reader or buffer.
|
|
1977
2845
|
* @param reader Reader or buffer to decode from
|
|
1978
2846
|
* @param [length] Message length if known beforehand
|
|
1979
|
-
* @returns
|
|
2847
|
+
* @returns UserPasswordUpdated
|
|
1980
2848
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1981
2849
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1982
2850
|
*/
|
|
1983
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number):
|
|
2851
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserPasswordUpdated;
|
|
1984
2852
|
|
|
1985
2853
|
/**
|
|
1986
|
-
* Decodes a
|
|
2854
|
+
* Decodes a UserPasswordUpdated message from the specified reader or buffer, length delimited.
|
|
1987
2855
|
* @param reader Reader or buffer to decode from
|
|
1988
|
-
* @returns
|
|
2856
|
+
* @returns UserPasswordUpdated
|
|
1989
2857
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1990
2858
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1991
2859
|
*/
|
|
1992
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)):
|
|
2860
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserPasswordUpdated;
|
|
1993
2861
|
|
|
1994
2862
|
/**
|
|
1995
|
-
* Verifies a
|
|
2863
|
+
* Verifies a UserPasswordUpdated message.
|
|
1996
2864
|
* @param message Plain object to verify
|
|
1997
2865
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
1998
2866
|
*/
|
|
1999
2867
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
2000
2868
|
|
|
2001
2869
|
/**
|
|
2002
|
-
* Creates a
|
|
2870
|
+
* Creates a UserPasswordUpdated message from a plain object. Also converts values to their respective internal types.
|
|
2003
2871
|
* @param object Plain object
|
|
2004
|
-
* @returns
|
|
2872
|
+
* @returns UserPasswordUpdated
|
|
2005
2873
|
*/
|
|
2006
|
-
public static fromObject(object: { [k: string]: any }):
|
|
2874
|
+
public static fromObject(object: { [k: string]: any }): UserPasswordUpdated;
|
|
2007
2875
|
|
|
2008
2876
|
/**
|
|
2009
|
-
* Creates a plain object from a
|
|
2010
|
-
* @param message
|
|
2877
|
+
* Creates a plain object from a UserPasswordUpdated message. Also converts values to other types if specified.
|
|
2878
|
+
* @param message UserPasswordUpdated
|
|
2011
2879
|
* @param [options] Conversion options
|
|
2012
2880
|
* @returns Plain object
|
|
2013
2881
|
*/
|
|
2014
|
-
public static toObject(message:
|
|
2882
|
+
public static toObject(message: UserPasswordUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2015
2883
|
|
|
2016
2884
|
/**
|
|
2017
|
-
* Converts this
|
|
2885
|
+
* Converts this UserPasswordUpdated to JSON.
|
|
2018
2886
|
* @returns JSON object
|
|
2019
2887
|
*/
|
|
2020
2888
|
public toJSON(): { [k: string]: any };
|