@headspace/protos-events 1.9.0 → 1.11.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 +856 -0
- package/lib/index.js +1908 -0
- 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. */
|
|
@@ -1929,3 +2695,93 @@ export class UserEmailVerificationRequested implements IUserEmailVerificationReq
|
|
|
1929
2695
|
*/
|
|
1930
2696
|
public toJSON(): { [k: string]: any };
|
|
1931
2697
|
}
|
|
2698
|
+
|
|
2699
|
+
/** Properties of a UserDoubleOptInEmailRequested. */
|
|
2700
|
+
export interface IUserDoubleOptInEmailRequested {
|
|
2701
|
+
|
|
2702
|
+
/** UserDoubleOptInEmailRequested userId */
|
|
2703
|
+
userId?: (string|null);
|
|
2704
|
+
}
|
|
2705
|
+
|
|
2706
|
+
/** Represents a UserDoubleOptInEmailRequested. */
|
|
2707
|
+
export class UserDoubleOptInEmailRequested implements IUserDoubleOptInEmailRequested {
|
|
2708
|
+
|
|
2709
|
+
/**
|
|
2710
|
+
* Constructs a new UserDoubleOptInEmailRequested.
|
|
2711
|
+
* @param [properties] Properties to set
|
|
2712
|
+
*/
|
|
2713
|
+
constructor(properties?: IUserDoubleOptInEmailRequested);
|
|
2714
|
+
|
|
2715
|
+
/** UserDoubleOptInEmailRequested userId. */
|
|
2716
|
+
public userId: string;
|
|
2717
|
+
|
|
2718
|
+
/**
|
|
2719
|
+
* Creates a new UserDoubleOptInEmailRequested instance using the specified properties.
|
|
2720
|
+
* @param [properties] Properties to set
|
|
2721
|
+
* @returns UserDoubleOptInEmailRequested instance
|
|
2722
|
+
*/
|
|
2723
|
+
public static create(properties?: IUserDoubleOptInEmailRequested): UserDoubleOptInEmailRequested;
|
|
2724
|
+
|
|
2725
|
+
/**
|
|
2726
|
+
* Encodes the specified UserDoubleOptInEmailRequested message. Does not implicitly {@link UserDoubleOptInEmailRequested.verify|verify} messages.
|
|
2727
|
+
* @param message UserDoubleOptInEmailRequested message or plain object to encode
|
|
2728
|
+
* @param [writer] Writer to encode to
|
|
2729
|
+
* @returns Writer
|
|
2730
|
+
*/
|
|
2731
|
+
public static encode(message: IUserDoubleOptInEmailRequested, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2732
|
+
|
|
2733
|
+
/**
|
|
2734
|
+
* Encodes the specified UserDoubleOptInEmailRequested message, length delimited. Does not implicitly {@link UserDoubleOptInEmailRequested.verify|verify} messages.
|
|
2735
|
+
* @param message UserDoubleOptInEmailRequested message or plain object to encode
|
|
2736
|
+
* @param [writer] Writer to encode to
|
|
2737
|
+
* @returns Writer
|
|
2738
|
+
*/
|
|
2739
|
+
public static encodeDelimited(message: IUserDoubleOptInEmailRequested, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2740
|
+
|
|
2741
|
+
/**
|
|
2742
|
+
* Decodes a UserDoubleOptInEmailRequested message from the specified reader or buffer.
|
|
2743
|
+
* @param reader Reader or buffer to decode from
|
|
2744
|
+
* @param [length] Message length if known beforehand
|
|
2745
|
+
* @returns UserDoubleOptInEmailRequested
|
|
2746
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2747
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2748
|
+
*/
|
|
2749
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserDoubleOptInEmailRequested;
|
|
2750
|
+
|
|
2751
|
+
/**
|
|
2752
|
+
* Decodes a UserDoubleOptInEmailRequested message from the specified reader or buffer, length delimited.
|
|
2753
|
+
* @param reader Reader or buffer to decode from
|
|
2754
|
+
* @returns UserDoubleOptInEmailRequested
|
|
2755
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2756
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2757
|
+
*/
|
|
2758
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserDoubleOptInEmailRequested;
|
|
2759
|
+
|
|
2760
|
+
/**
|
|
2761
|
+
* Verifies a UserDoubleOptInEmailRequested message.
|
|
2762
|
+
* @param message Plain object to verify
|
|
2763
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
2764
|
+
*/
|
|
2765
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
2766
|
+
|
|
2767
|
+
/**
|
|
2768
|
+
* Creates a UserDoubleOptInEmailRequested message from a plain object. Also converts values to their respective internal types.
|
|
2769
|
+
* @param object Plain object
|
|
2770
|
+
* @returns UserDoubleOptInEmailRequested
|
|
2771
|
+
*/
|
|
2772
|
+
public static fromObject(object: { [k: string]: any }): UserDoubleOptInEmailRequested;
|
|
2773
|
+
|
|
2774
|
+
/**
|
|
2775
|
+
* Creates a plain object from a UserDoubleOptInEmailRequested message. Also converts values to other types if specified.
|
|
2776
|
+
* @param message UserDoubleOptInEmailRequested
|
|
2777
|
+
* @param [options] Conversion options
|
|
2778
|
+
* @returns Plain object
|
|
2779
|
+
*/
|
|
2780
|
+
public static toObject(message: UserDoubleOptInEmailRequested, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2781
|
+
|
|
2782
|
+
/**
|
|
2783
|
+
* Converts this UserDoubleOptInEmailRequested to JSON.
|
|
2784
|
+
* @returns JSON object
|
|
2785
|
+
*/
|
|
2786
|
+
public toJSON(): { [k: string]: any };
|
|
2787
|
+
}
|