protobuf-platform 1.0.243 → 1.0.245

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.
@@ -0,0 +1,16 @@
1
+ syntax = "proto3";
2
+
3
+ package analytic;
4
+
5
+ service Analytic {
6
+ rpc checkConnection(PingRequest) returns (PongResponse);
7
+ }
8
+ //Technical
9
+ message PingRequest { string ping = 1; }
10
+ message PongResponse { string pong = 1; }
11
+ //Common
12
+ message PaginationRequest { int32 limit = 1; int32 offset = 2; optional GlobalSearchRequest global_search_params = 3; }
13
+ message GlobalSearchRequest {
14
+ optional string start_at = 1;
15
+ optional string end_at = 2;
16
+ }
@@ -0,0 +1,44 @@
1
+ // GENERATED CODE -- DO NOT EDIT!
2
+
3
+ 'use strict';
4
+ var grpc = require('@grpc/grpc-js');
5
+ var analytic_pb = require('./analytic_pb.js');
6
+
7
+ function serialize_analytic_PingRequest(arg) {
8
+ if (!(arg instanceof analytic_pb.PingRequest)) {
9
+ throw new Error('Expected argument of type analytic.PingRequest');
10
+ }
11
+ return Buffer.from(arg.serializeBinary());
12
+ }
13
+
14
+ function deserialize_analytic_PingRequest(buffer_arg) {
15
+ return analytic_pb.PingRequest.deserializeBinary(new Uint8Array(buffer_arg));
16
+ }
17
+
18
+ function serialize_analytic_PongResponse(arg) {
19
+ if (!(arg instanceof analytic_pb.PongResponse)) {
20
+ throw new Error('Expected argument of type analytic.PongResponse');
21
+ }
22
+ return Buffer.from(arg.serializeBinary());
23
+ }
24
+
25
+ function deserialize_analytic_PongResponse(buffer_arg) {
26
+ return analytic_pb.PongResponse.deserializeBinary(new Uint8Array(buffer_arg));
27
+ }
28
+
29
+
30
+ var AnalyticService = exports.AnalyticService = {
31
+ checkConnection: {
32
+ path: '/analytic.Analytic/checkConnection',
33
+ requestStream: false,
34
+ responseStream: false,
35
+ requestType: analytic_pb.PingRequest,
36
+ responseType: analytic_pb.PongResponse,
37
+ requestSerialize: serialize_analytic_PingRequest,
38
+ requestDeserialize: deserialize_analytic_PingRequest,
39
+ responseSerialize: serialize_analytic_PongResponse,
40
+ responseDeserialize: deserialize_analytic_PongResponse,
41
+ },
42
+ };
43
+
44
+ exports.AnalyticClient = grpc.makeGenericClientConstructor(AnalyticService);
@@ -0,0 +1,779 @@
1
+ // source: analytic.proto
2
+ /**
3
+ * @fileoverview
4
+ * @enhanceable
5
+ * @suppress {missingRequire} reports error on implicit type usages.
6
+ * @suppress {messageConventions} JS Compiler reports an error if a variable or
7
+ * field starts with 'MSG_' and isn't a translatable message.
8
+ * @public
9
+ */
10
+ // GENERATED CODE -- DO NOT EDIT!
11
+ /* eslint-disable */
12
+ // @ts-nocheck
13
+
14
+ var jspb = require('google-protobuf');
15
+ var goog = jspb;
16
+ var global = (function() {
17
+ if (this) { return this; }
18
+ if (typeof window !== 'undefined') { return window; }
19
+ if (typeof global !== 'undefined') { return global; }
20
+ if (typeof self !== 'undefined') { return self; }
21
+ return Function('return this')();
22
+ }.call(null));
23
+
24
+ goog.exportSymbol('proto.analytic.GlobalSearchRequest', null, global);
25
+ goog.exportSymbol('proto.analytic.PaginationRequest', null, global);
26
+ goog.exportSymbol('proto.analytic.PingRequest', null, global);
27
+ goog.exportSymbol('proto.analytic.PongResponse', null, global);
28
+ /**
29
+ * Generated by JsPbCodeGenerator.
30
+ * @param {Array=} opt_data Optional initial data array, typically from a
31
+ * server response, or constructed directly in Javascript. The array is used
32
+ * in place and becomes part of the constructed object. It is not cloned.
33
+ * If no data is provided, the constructed object will be empty, but still
34
+ * valid.
35
+ * @extends {jspb.Message}
36
+ * @constructor
37
+ */
38
+ proto.analytic.PingRequest = function(opt_data) {
39
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
40
+ };
41
+ goog.inherits(proto.analytic.PingRequest, jspb.Message);
42
+ if (goog.DEBUG && !COMPILED) {
43
+ /**
44
+ * @public
45
+ * @override
46
+ */
47
+ proto.analytic.PingRequest.displayName = 'proto.analytic.PingRequest';
48
+ }
49
+ /**
50
+ * Generated by JsPbCodeGenerator.
51
+ * @param {Array=} opt_data Optional initial data array, typically from a
52
+ * server response, or constructed directly in Javascript. The array is used
53
+ * in place and becomes part of the constructed object. It is not cloned.
54
+ * If no data is provided, the constructed object will be empty, but still
55
+ * valid.
56
+ * @extends {jspb.Message}
57
+ * @constructor
58
+ */
59
+ proto.analytic.PongResponse = function(opt_data) {
60
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
61
+ };
62
+ goog.inherits(proto.analytic.PongResponse, jspb.Message);
63
+ if (goog.DEBUG && !COMPILED) {
64
+ /**
65
+ * @public
66
+ * @override
67
+ */
68
+ proto.analytic.PongResponse.displayName = 'proto.analytic.PongResponse';
69
+ }
70
+ /**
71
+ * Generated by JsPbCodeGenerator.
72
+ * @param {Array=} opt_data Optional initial data array, typically from a
73
+ * server response, or constructed directly in Javascript. The array is used
74
+ * in place and becomes part of the constructed object. It is not cloned.
75
+ * If no data is provided, the constructed object will be empty, but still
76
+ * valid.
77
+ * @extends {jspb.Message}
78
+ * @constructor
79
+ */
80
+ proto.analytic.PaginationRequest = function(opt_data) {
81
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
82
+ };
83
+ goog.inherits(proto.analytic.PaginationRequest, jspb.Message);
84
+ if (goog.DEBUG && !COMPILED) {
85
+ /**
86
+ * @public
87
+ * @override
88
+ */
89
+ proto.analytic.PaginationRequest.displayName = 'proto.analytic.PaginationRequest';
90
+ }
91
+ /**
92
+ * Generated by JsPbCodeGenerator.
93
+ * @param {Array=} opt_data Optional initial data array, typically from a
94
+ * server response, or constructed directly in Javascript. The array is used
95
+ * in place and becomes part of the constructed object. It is not cloned.
96
+ * If no data is provided, the constructed object will be empty, but still
97
+ * valid.
98
+ * @extends {jspb.Message}
99
+ * @constructor
100
+ */
101
+ proto.analytic.GlobalSearchRequest = function(opt_data) {
102
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
103
+ };
104
+ goog.inherits(proto.analytic.GlobalSearchRequest, jspb.Message);
105
+ if (goog.DEBUG && !COMPILED) {
106
+ /**
107
+ * @public
108
+ * @override
109
+ */
110
+ proto.analytic.GlobalSearchRequest.displayName = 'proto.analytic.GlobalSearchRequest';
111
+ }
112
+
113
+
114
+
115
+ if (jspb.Message.GENERATE_TO_OBJECT) {
116
+ /**
117
+ * Creates an object representation of this proto.
118
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
119
+ * Optional fields that are not set will be set to undefined.
120
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
121
+ * For the list of reserved names please see:
122
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
123
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
124
+ * JSPB instance for transitional soy proto support:
125
+ * http://goto/soy-param-migration
126
+ * @return {!Object}
127
+ */
128
+ proto.analytic.PingRequest.prototype.toObject = function(opt_includeInstance) {
129
+ return proto.analytic.PingRequest.toObject(opt_includeInstance, this);
130
+ };
131
+
132
+
133
+ /**
134
+ * Static version of the {@see toObject} method.
135
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
136
+ * the JSPB instance for transitional soy proto support:
137
+ * http://goto/soy-param-migration
138
+ * @param {!proto.analytic.PingRequest} msg The msg instance to transform.
139
+ * @return {!Object}
140
+ * @suppress {unusedLocalVariables} f is only used for nested messages
141
+ */
142
+ proto.analytic.PingRequest.toObject = function(includeInstance, msg) {
143
+ var f, obj = {
144
+ ping: jspb.Message.getFieldWithDefault(msg, 1, "")
145
+ };
146
+
147
+ if (includeInstance) {
148
+ obj.$jspbMessageInstance = msg;
149
+ }
150
+ return obj;
151
+ };
152
+ }
153
+
154
+
155
+ /**
156
+ * Deserializes binary data (in protobuf wire format).
157
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
158
+ * @return {!proto.analytic.PingRequest}
159
+ */
160
+ proto.analytic.PingRequest.deserializeBinary = function(bytes) {
161
+ var reader = new jspb.BinaryReader(bytes);
162
+ var msg = new proto.analytic.PingRequest;
163
+ return proto.analytic.PingRequest.deserializeBinaryFromReader(msg, reader);
164
+ };
165
+
166
+
167
+ /**
168
+ * Deserializes binary data (in protobuf wire format) from the
169
+ * given reader into the given message object.
170
+ * @param {!proto.analytic.PingRequest} msg The message object to deserialize into.
171
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
172
+ * @return {!proto.analytic.PingRequest}
173
+ */
174
+ proto.analytic.PingRequest.deserializeBinaryFromReader = function(msg, reader) {
175
+ while (reader.nextField()) {
176
+ if (reader.isEndGroup()) {
177
+ break;
178
+ }
179
+ var field = reader.getFieldNumber();
180
+ switch (field) {
181
+ case 1:
182
+ var value = /** @type {string} */ (reader.readString());
183
+ msg.setPing(value);
184
+ break;
185
+ default:
186
+ reader.skipField();
187
+ break;
188
+ }
189
+ }
190
+ return msg;
191
+ };
192
+
193
+
194
+ /**
195
+ * Serializes the message to binary data (in protobuf wire format).
196
+ * @return {!Uint8Array}
197
+ */
198
+ proto.analytic.PingRequest.prototype.serializeBinary = function() {
199
+ var writer = new jspb.BinaryWriter();
200
+ proto.analytic.PingRequest.serializeBinaryToWriter(this, writer);
201
+ return writer.getResultBuffer();
202
+ };
203
+
204
+
205
+ /**
206
+ * Serializes the given message to binary data (in protobuf wire
207
+ * format), writing to the given BinaryWriter.
208
+ * @param {!proto.analytic.PingRequest} message
209
+ * @param {!jspb.BinaryWriter} writer
210
+ * @suppress {unusedLocalVariables} f is only used for nested messages
211
+ */
212
+ proto.analytic.PingRequest.serializeBinaryToWriter = function(message, writer) {
213
+ var f = undefined;
214
+ f = message.getPing();
215
+ if (f.length > 0) {
216
+ writer.writeString(
217
+ 1,
218
+ f
219
+ );
220
+ }
221
+ };
222
+
223
+
224
+ /**
225
+ * optional string ping = 1;
226
+ * @return {string}
227
+ */
228
+ proto.analytic.PingRequest.prototype.getPing = function() {
229
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
230
+ };
231
+
232
+
233
+ /**
234
+ * @param {string} value
235
+ * @return {!proto.analytic.PingRequest} returns this
236
+ */
237
+ proto.analytic.PingRequest.prototype.setPing = function(value) {
238
+ return jspb.Message.setProto3StringField(this, 1, value);
239
+ };
240
+
241
+
242
+
243
+
244
+
245
+ if (jspb.Message.GENERATE_TO_OBJECT) {
246
+ /**
247
+ * Creates an object representation of this proto.
248
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
249
+ * Optional fields that are not set will be set to undefined.
250
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
251
+ * For the list of reserved names please see:
252
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
253
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
254
+ * JSPB instance for transitional soy proto support:
255
+ * http://goto/soy-param-migration
256
+ * @return {!Object}
257
+ */
258
+ proto.analytic.PongResponse.prototype.toObject = function(opt_includeInstance) {
259
+ return proto.analytic.PongResponse.toObject(opt_includeInstance, this);
260
+ };
261
+
262
+
263
+ /**
264
+ * Static version of the {@see toObject} method.
265
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
266
+ * the JSPB instance for transitional soy proto support:
267
+ * http://goto/soy-param-migration
268
+ * @param {!proto.analytic.PongResponse} msg The msg instance to transform.
269
+ * @return {!Object}
270
+ * @suppress {unusedLocalVariables} f is only used for nested messages
271
+ */
272
+ proto.analytic.PongResponse.toObject = function(includeInstance, msg) {
273
+ var f, obj = {
274
+ pong: jspb.Message.getFieldWithDefault(msg, 1, "")
275
+ };
276
+
277
+ if (includeInstance) {
278
+ obj.$jspbMessageInstance = msg;
279
+ }
280
+ return obj;
281
+ };
282
+ }
283
+
284
+
285
+ /**
286
+ * Deserializes binary data (in protobuf wire format).
287
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
288
+ * @return {!proto.analytic.PongResponse}
289
+ */
290
+ proto.analytic.PongResponse.deserializeBinary = function(bytes) {
291
+ var reader = new jspb.BinaryReader(bytes);
292
+ var msg = new proto.analytic.PongResponse;
293
+ return proto.analytic.PongResponse.deserializeBinaryFromReader(msg, reader);
294
+ };
295
+
296
+
297
+ /**
298
+ * Deserializes binary data (in protobuf wire format) from the
299
+ * given reader into the given message object.
300
+ * @param {!proto.analytic.PongResponse} msg The message object to deserialize into.
301
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
302
+ * @return {!proto.analytic.PongResponse}
303
+ */
304
+ proto.analytic.PongResponse.deserializeBinaryFromReader = function(msg, reader) {
305
+ while (reader.nextField()) {
306
+ if (reader.isEndGroup()) {
307
+ break;
308
+ }
309
+ var field = reader.getFieldNumber();
310
+ switch (field) {
311
+ case 1:
312
+ var value = /** @type {string} */ (reader.readString());
313
+ msg.setPong(value);
314
+ break;
315
+ default:
316
+ reader.skipField();
317
+ break;
318
+ }
319
+ }
320
+ return msg;
321
+ };
322
+
323
+
324
+ /**
325
+ * Serializes the message to binary data (in protobuf wire format).
326
+ * @return {!Uint8Array}
327
+ */
328
+ proto.analytic.PongResponse.prototype.serializeBinary = function() {
329
+ var writer = new jspb.BinaryWriter();
330
+ proto.analytic.PongResponse.serializeBinaryToWriter(this, writer);
331
+ return writer.getResultBuffer();
332
+ };
333
+
334
+
335
+ /**
336
+ * Serializes the given message to binary data (in protobuf wire
337
+ * format), writing to the given BinaryWriter.
338
+ * @param {!proto.analytic.PongResponse} message
339
+ * @param {!jspb.BinaryWriter} writer
340
+ * @suppress {unusedLocalVariables} f is only used for nested messages
341
+ */
342
+ proto.analytic.PongResponse.serializeBinaryToWriter = function(message, writer) {
343
+ var f = undefined;
344
+ f = message.getPong();
345
+ if (f.length > 0) {
346
+ writer.writeString(
347
+ 1,
348
+ f
349
+ );
350
+ }
351
+ };
352
+
353
+
354
+ /**
355
+ * optional string pong = 1;
356
+ * @return {string}
357
+ */
358
+ proto.analytic.PongResponse.prototype.getPong = function() {
359
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
360
+ };
361
+
362
+
363
+ /**
364
+ * @param {string} value
365
+ * @return {!proto.analytic.PongResponse} returns this
366
+ */
367
+ proto.analytic.PongResponse.prototype.setPong = function(value) {
368
+ return jspb.Message.setProto3StringField(this, 1, value);
369
+ };
370
+
371
+
372
+
373
+
374
+
375
+ if (jspb.Message.GENERATE_TO_OBJECT) {
376
+ /**
377
+ * Creates an object representation of this proto.
378
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
379
+ * Optional fields that are not set will be set to undefined.
380
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
381
+ * For the list of reserved names please see:
382
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
383
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
384
+ * JSPB instance for transitional soy proto support:
385
+ * http://goto/soy-param-migration
386
+ * @return {!Object}
387
+ */
388
+ proto.analytic.PaginationRequest.prototype.toObject = function(opt_includeInstance) {
389
+ return proto.analytic.PaginationRequest.toObject(opt_includeInstance, this);
390
+ };
391
+
392
+
393
+ /**
394
+ * Static version of the {@see toObject} method.
395
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
396
+ * the JSPB instance for transitional soy proto support:
397
+ * http://goto/soy-param-migration
398
+ * @param {!proto.analytic.PaginationRequest} msg The msg instance to transform.
399
+ * @return {!Object}
400
+ * @suppress {unusedLocalVariables} f is only used for nested messages
401
+ */
402
+ proto.analytic.PaginationRequest.toObject = function(includeInstance, msg) {
403
+ var f, obj = {
404
+ limit: jspb.Message.getFieldWithDefault(msg, 1, 0),
405
+ offset: jspb.Message.getFieldWithDefault(msg, 2, 0),
406
+ globalSearchParams: (f = msg.getGlobalSearchParams()) && proto.analytic.GlobalSearchRequest.toObject(includeInstance, f)
407
+ };
408
+
409
+ if (includeInstance) {
410
+ obj.$jspbMessageInstance = msg;
411
+ }
412
+ return obj;
413
+ };
414
+ }
415
+
416
+
417
+ /**
418
+ * Deserializes binary data (in protobuf wire format).
419
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
420
+ * @return {!proto.analytic.PaginationRequest}
421
+ */
422
+ proto.analytic.PaginationRequest.deserializeBinary = function(bytes) {
423
+ var reader = new jspb.BinaryReader(bytes);
424
+ var msg = new proto.analytic.PaginationRequest;
425
+ return proto.analytic.PaginationRequest.deserializeBinaryFromReader(msg, reader);
426
+ };
427
+
428
+
429
+ /**
430
+ * Deserializes binary data (in protobuf wire format) from the
431
+ * given reader into the given message object.
432
+ * @param {!proto.analytic.PaginationRequest} msg The message object to deserialize into.
433
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
434
+ * @return {!proto.analytic.PaginationRequest}
435
+ */
436
+ proto.analytic.PaginationRequest.deserializeBinaryFromReader = function(msg, reader) {
437
+ while (reader.nextField()) {
438
+ if (reader.isEndGroup()) {
439
+ break;
440
+ }
441
+ var field = reader.getFieldNumber();
442
+ switch (field) {
443
+ case 1:
444
+ var value = /** @type {number} */ (reader.readInt32());
445
+ msg.setLimit(value);
446
+ break;
447
+ case 2:
448
+ var value = /** @type {number} */ (reader.readInt32());
449
+ msg.setOffset(value);
450
+ break;
451
+ case 3:
452
+ var value = new proto.analytic.GlobalSearchRequest;
453
+ reader.readMessage(value,proto.analytic.GlobalSearchRequest.deserializeBinaryFromReader);
454
+ msg.setGlobalSearchParams(value);
455
+ break;
456
+ default:
457
+ reader.skipField();
458
+ break;
459
+ }
460
+ }
461
+ return msg;
462
+ };
463
+
464
+
465
+ /**
466
+ * Serializes the message to binary data (in protobuf wire format).
467
+ * @return {!Uint8Array}
468
+ */
469
+ proto.analytic.PaginationRequest.prototype.serializeBinary = function() {
470
+ var writer = new jspb.BinaryWriter();
471
+ proto.analytic.PaginationRequest.serializeBinaryToWriter(this, writer);
472
+ return writer.getResultBuffer();
473
+ };
474
+
475
+
476
+ /**
477
+ * Serializes the given message to binary data (in protobuf wire
478
+ * format), writing to the given BinaryWriter.
479
+ * @param {!proto.analytic.PaginationRequest} message
480
+ * @param {!jspb.BinaryWriter} writer
481
+ * @suppress {unusedLocalVariables} f is only used for nested messages
482
+ */
483
+ proto.analytic.PaginationRequest.serializeBinaryToWriter = function(message, writer) {
484
+ var f = undefined;
485
+ f = message.getLimit();
486
+ if (f !== 0) {
487
+ writer.writeInt32(
488
+ 1,
489
+ f
490
+ );
491
+ }
492
+ f = message.getOffset();
493
+ if (f !== 0) {
494
+ writer.writeInt32(
495
+ 2,
496
+ f
497
+ );
498
+ }
499
+ f = message.getGlobalSearchParams();
500
+ if (f != null) {
501
+ writer.writeMessage(
502
+ 3,
503
+ f,
504
+ proto.analytic.GlobalSearchRequest.serializeBinaryToWriter
505
+ );
506
+ }
507
+ };
508
+
509
+
510
+ /**
511
+ * optional int32 limit = 1;
512
+ * @return {number}
513
+ */
514
+ proto.analytic.PaginationRequest.prototype.getLimit = function() {
515
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
516
+ };
517
+
518
+
519
+ /**
520
+ * @param {number} value
521
+ * @return {!proto.analytic.PaginationRequest} returns this
522
+ */
523
+ proto.analytic.PaginationRequest.prototype.setLimit = function(value) {
524
+ return jspb.Message.setProto3IntField(this, 1, value);
525
+ };
526
+
527
+
528
+ /**
529
+ * optional int32 offset = 2;
530
+ * @return {number}
531
+ */
532
+ proto.analytic.PaginationRequest.prototype.getOffset = function() {
533
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
534
+ };
535
+
536
+
537
+ /**
538
+ * @param {number} value
539
+ * @return {!proto.analytic.PaginationRequest} returns this
540
+ */
541
+ proto.analytic.PaginationRequest.prototype.setOffset = function(value) {
542
+ return jspb.Message.setProto3IntField(this, 2, value);
543
+ };
544
+
545
+
546
+ /**
547
+ * optional GlobalSearchRequest global_search_params = 3;
548
+ * @return {?proto.analytic.GlobalSearchRequest}
549
+ */
550
+ proto.analytic.PaginationRequest.prototype.getGlobalSearchParams = function() {
551
+ return /** @type{?proto.analytic.GlobalSearchRequest} */ (
552
+ jspb.Message.getWrapperField(this, proto.analytic.GlobalSearchRequest, 3));
553
+ };
554
+
555
+
556
+ /**
557
+ * @param {?proto.analytic.GlobalSearchRequest|undefined} value
558
+ * @return {!proto.analytic.PaginationRequest} returns this
559
+ */
560
+ proto.analytic.PaginationRequest.prototype.setGlobalSearchParams = function(value) {
561
+ return jspb.Message.setWrapperField(this, 3, value);
562
+ };
563
+
564
+
565
+ /**
566
+ * Clears the message field making it undefined.
567
+ * @return {!proto.analytic.PaginationRequest} returns this
568
+ */
569
+ proto.analytic.PaginationRequest.prototype.clearGlobalSearchParams = function() {
570
+ return this.setGlobalSearchParams(undefined);
571
+ };
572
+
573
+
574
+ /**
575
+ * Returns whether this field is set.
576
+ * @return {boolean}
577
+ */
578
+ proto.analytic.PaginationRequest.prototype.hasGlobalSearchParams = function() {
579
+ return jspb.Message.getField(this, 3) != null;
580
+ };
581
+
582
+
583
+
584
+
585
+
586
+ if (jspb.Message.GENERATE_TO_OBJECT) {
587
+ /**
588
+ * Creates an object representation of this proto.
589
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
590
+ * Optional fields that are not set will be set to undefined.
591
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
592
+ * For the list of reserved names please see:
593
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
594
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
595
+ * JSPB instance for transitional soy proto support:
596
+ * http://goto/soy-param-migration
597
+ * @return {!Object}
598
+ */
599
+ proto.analytic.GlobalSearchRequest.prototype.toObject = function(opt_includeInstance) {
600
+ return proto.analytic.GlobalSearchRequest.toObject(opt_includeInstance, this);
601
+ };
602
+
603
+
604
+ /**
605
+ * Static version of the {@see toObject} method.
606
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
607
+ * the JSPB instance for transitional soy proto support:
608
+ * http://goto/soy-param-migration
609
+ * @param {!proto.analytic.GlobalSearchRequest} msg The msg instance to transform.
610
+ * @return {!Object}
611
+ * @suppress {unusedLocalVariables} f is only used for nested messages
612
+ */
613
+ proto.analytic.GlobalSearchRequest.toObject = function(includeInstance, msg) {
614
+ var f, obj = {
615
+ startAt: jspb.Message.getFieldWithDefault(msg, 1, ""),
616
+ endAt: jspb.Message.getFieldWithDefault(msg, 2, "")
617
+ };
618
+
619
+ if (includeInstance) {
620
+ obj.$jspbMessageInstance = msg;
621
+ }
622
+ return obj;
623
+ };
624
+ }
625
+
626
+
627
+ /**
628
+ * Deserializes binary data (in protobuf wire format).
629
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
630
+ * @return {!proto.analytic.GlobalSearchRequest}
631
+ */
632
+ proto.analytic.GlobalSearchRequest.deserializeBinary = function(bytes) {
633
+ var reader = new jspb.BinaryReader(bytes);
634
+ var msg = new proto.analytic.GlobalSearchRequest;
635
+ return proto.analytic.GlobalSearchRequest.deserializeBinaryFromReader(msg, reader);
636
+ };
637
+
638
+
639
+ /**
640
+ * Deserializes binary data (in protobuf wire format) from the
641
+ * given reader into the given message object.
642
+ * @param {!proto.analytic.GlobalSearchRequest} msg The message object to deserialize into.
643
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
644
+ * @return {!proto.analytic.GlobalSearchRequest}
645
+ */
646
+ proto.analytic.GlobalSearchRequest.deserializeBinaryFromReader = function(msg, reader) {
647
+ while (reader.nextField()) {
648
+ if (reader.isEndGroup()) {
649
+ break;
650
+ }
651
+ var field = reader.getFieldNumber();
652
+ switch (field) {
653
+ case 1:
654
+ var value = /** @type {string} */ (reader.readString());
655
+ msg.setStartAt(value);
656
+ break;
657
+ case 2:
658
+ var value = /** @type {string} */ (reader.readString());
659
+ msg.setEndAt(value);
660
+ break;
661
+ default:
662
+ reader.skipField();
663
+ break;
664
+ }
665
+ }
666
+ return msg;
667
+ };
668
+
669
+
670
+ /**
671
+ * Serializes the message to binary data (in protobuf wire format).
672
+ * @return {!Uint8Array}
673
+ */
674
+ proto.analytic.GlobalSearchRequest.prototype.serializeBinary = function() {
675
+ var writer = new jspb.BinaryWriter();
676
+ proto.analytic.GlobalSearchRequest.serializeBinaryToWriter(this, writer);
677
+ return writer.getResultBuffer();
678
+ };
679
+
680
+
681
+ /**
682
+ * Serializes the given message to binary data (in protobuf wire
683
+ * format), writing to the given BinaryWriter.
684
+ * @param {!proto.analytic.GlobalSearchRequest} message
685
+ * @param {!jspb.BinaryWriter} writer
686
+ * @suppress {unusedLocalVariables} f is only used for nested messages
687
+ */
688
+ proto.analytic.GlobalSearchRequest.serializeBinaryToWriter = function(message, writer) {
689
+ var f = undefined;
690
+ f = /** @type {string} */ (jspb.Message.getField(message, 1));
691
+ if (f != null) {
692
+ writer.writeString(
693
+ 1,
694
+ f
695
+ );
696
+ }
697
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
698
+ if (f != null) {
699
+ writer.writeString(
700
+ 2,
701
+ f
702
+ );
703
+ }
704
+ };
705
+
706
+
707
+ /**
708
+ * optional string start_at = 1;
709
+ * @return {string}
710
+ */
711
+ proto.analytic.GlobalSearchRequest.prototype.getStartAt = function() {
712
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
713
+ };
714
+
715
+
716
+ /**
717
+ * @param {string} value
718
+ * @return {!proto.analytic.GlobalSearchRequest} returns this
719
+ */
720
+ proto.analytic.GlobalSearchRequest.prototype.setStartAt = function(value) {
721
+ return jspb.Message.setField(this, 1, value);
722
+ };
723
+
724
+
725
+ /**
726
+ * Clears the field making it undefined.
727
+ * @return {!proto.analytic.GlobalSearchRequest} returns this
728
+ */
729
+ proto.analytic.GlobalSearchRequest.prototype.clearStartAt = function() {
730
+ return jspb.Message.setField(this, 1, undefined);
731
+ };
732
+
733
+
734
+ /**
735
+ * Returns whether this field is set.
736
+ * @return {boolean}
737
+ */
738
+ proto.analytic.GlobalSearchRequest.prototype.hasStartAt = function() {
739
+ return jspb.Message.getField(this, 1) != null;
740
+ };
741
+
742
+
743
+ /**
744
+ * optional string end_at = 2;
745
+ * @return {string}
746
+ */
747
+ proto.analytic.GlobalSearchRequest.prototype.getEndAt = function() {
748
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
749
+ };
750
+
751
+
752
+ /**
753
+ * @param {string} value
754
+ * @return {!proto.analytic.GlobalSearchRequest} returns this
755
+ */
756
+ proto.analytic.GlobalSearchRequest.prototype.setEndAt = function(value) {
757
+ return jspb.Message.setField(this, 2, value);
758
+ };
759
+
760
+
761
+ /**
762
+ * Clears the field making it undefined.
763
+ * @return {!proto.analytic.GlobalSearchRequest} returns this
764
+ */
765
+ proto.analytic.GlobalSearchRequest.prototype.clearEndAt = function() {
766
+ return jspb.Message.setField(this, 2, undefined);
767
+ };
768
+
769
+
770
+ /**
771
+ * Returns whether this field is set.
772
+ * @return {boolean}
773
+ */
774
+ proto.analytic.GlobalSearchRequest.prototype.hasEndAt = function() {
775
+ return jspb.Message.getField(this, 2) != null;
776
+ };
777
+
778
+
779
+ goog.object.extend(exports, proto.analytic);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.0.243",
3
+ "version": "1.0.245",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -184,6 +184,7 @@ message GetUserPaymentsInfoRequest {
184
184
  optional int32 offset = 3;
185
185
  optional string start_date = 4;
186
186
  optional string end_date = 5;
187
+ optional string transaction_type = 6;
187
188
  }
188
189
  message UserPaymentsInfoResponse {
189
190
  float deposit_sum = 1;
@@ -205,10 +206,12 @@ message UserDepositItem {
205
206
  float amount_paid = 3;
206
207
  float fee = 4;
207
208
  string currency = 5;
208
- string payment_method_title = 6;
209
- string payment_provider_image = 7;
210
- int32 status_id = 8;
211
- string created = 9;
209
+ optional string payment_method_title = 6;
210
+ optional string payment_provider_image = 7;
211
+ optional string payment_provider_title = 8;
212
+ optional int32 status_id = 9;
213
+ optional string created = 10;
214
+ optional string status = 11;
212
215
  }
213
216
  message UserDepositItemsResponse {
214
217
  repeated UserDepositItem items = 1;
@@ -7865,7 +7865,8 @@ proto.payment.GetUserPaymentsInfoRequest.toObject = function(includeInstance, ms
7865
7865
  limit: jspb.Message.getFieldWithDefault(msg, 2, 0),
7866
7866
  offset: jspb.Message.getFieldWithDefault(msg, 3, 0),
7867
7867
  startDate: jspb.Message.getFieldWithDefault(msg, 4, ""),
7868
- endDate: jspb.Message.getFieldWithDefault(msg, 5, "")
7868
+ endDate: jspb.Message.getFieldWithDefault(msg, 5, ""),
7869
+ transactionType: jspb.Message.getFieldWithDefault(msg, 6, "")
7869
7870
  };
7870
7871
 
7871
7872
  if (includeInstance) {
@@ -7922,6 +7923,10 @@ proto.payment.GetUserPaymentsInfoRequest.deserializeBinaryFromReader = function(
7922
7923
  var value = /** @type {string} */ (reader.readString());
7923
7924
  msg.setEndDate(value);
7924
7925
  break;
7926
+ case 6:
7927
+ var value = /** @type {string} */ (reader.readString());
7928
+ msg.setTransactionType(value);
7929
+ break;
7925
7930
  default:
7926
7931
  reader.skipField();
7927
7932
  break;
@@ -7986,6 +7991,13 @@ proto.payment.GetUserPaymentsInfoRequest.serializeBinaryToWriter = function(mess
7986
7991
  f
7987
7992
  );
7988
7993
  }
7994
+ f = /** @type {string} */ (jspb.Message.getField(message, 6));
7995
+ if (f != null) {
7996
+ writer.writeString(
7997
+ 6,
7998
+ f
7999
+ );
8000
+ }
7989
8001
  };
7990
8002
 
7991
8003
 
@@ -8151,6 +8163,42 @@ proto.payment.GetUserPaymentsInfoRequest.prototype.hasEndDate = function() {
8151
8163
  };
8152
8164
 
8153
8165
 
8166
+ /**
8167
+ * optional string transaction_type = 6;
8168
+ * @return {string}
8169
+ */
8170
+ proto.payment.GetUserPaymentsInfoRequest.prototype.getTransactionType = function() {
8171
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
8172
+ };
8173
+
8174
+
8175
+ /**
8176
+ * @param {string} value
8177
+ * @return {!proto.payment.GetUserPaymentsInfoRequest} returns this
8178
+ */
8179
+ proto.payment.GetUserPaymentsInfoRequest.prototype.setTransactionType = function(value) {
8180
+ return jspb.Message.setField(this, 6, value);
8181
+ };
8182
+
8183
+
8184
+ /**
8185
+ * Clears the field making it undefined.
8186
+ * @return {!proto.payment.GetUserPaymentsInfoRequest} returns this
8187
+ */
8188
+ proto.payment.GetUserPaymentsInfoRequest.prototype.clearTransactionType = function() {
8189
+ return jspb.Message.setField(this, 6, undefined);
8190
+ };
8191
+
8192
+
8193
+ /**
8194
+ * Returns whether this field is set.
8195
+ * @return {boolean}
8196
+ */
8197
+ proto.payment.GetUserPaymentsInfoRequest.prototype.hasTransactionType = function() {
8198
+ return jspb.Message.getField(this, 6) != null;
8199
+ };
8200
+
8201
+
8154
8202
 
8155
8203
 
8156
8204
 
@@ -8650,8 +8698,10 @@ proto.payment.UserDepositItem.toObject = function(includeInstance, msg) {
8650
8698
  currency: jspb.Message.getFieldWithDefault(msg, 5, ""),
8651
8699
  paymentMethodTitle: jspb.Message.getFieldWithDefault(msg, 6, ""),
8652
8700
  paymentProviderImage: jspb.Message.getFieldWithDefault(msg, 7, ""),
8653
- statusId: jspb.Message.getFieldWithDefault(msg, 8, 0),
8654
- created: jspb.Message.getFieldWithDefault(msg, 9, "")
8701
+ paymentProviderTitle: jspb.Message.getFieldWithDefault(msg, 8, ""),
8702
+ statusId: jspb.Message.getFieldWithDefault(msg, 9, 0),
8703
+ created: jspb.Message.getFieldWithDefault(msg, 10, ""),
8704
+ status: jspb.Message.getFieldWithDefault(msg, 11, "")
8655
8705
  };
8656
8706
 
8657
8707
  if (includeInstance) {
@@ -8717,13 +8767,21 @@ proto.payment.UserDepositItem.deserializeBinaryFromReader = function(msg, reader
8717
8767
  msg.setPaymentProviderImage(value);
8718
8768
  break;
8719
8769
  case 8:
8770
+ var value = /** @type {string} */ (reader.readString());
8771
+ msg.setPaymentProviderTitle(value);
8772
+ break;
8773
+ case 9:
8720
8774
  var value = /** @type {number} */ (reader.readInt32());
8721
8775
  msg.setStatusId(value);
8722
8776
  break;
8723
- case 9:
8777
+ case 10:
8724
8778
  var value = /** @type {string} */ (reader.readString());
8725
8779
  msg.setCreated(value);
8726
8780
  break;
8781
+ case 11:
8782
+ var value = /** @type {string} */ (reader.readString());
8783
+ msg.setStatus(value);
8784
+ break;
8727
8785
  default:
8728
8786
  reader.skipField();
8729
8787
  break;
@@ -8788,34 +8846,48 @@ proto.payment.UserDepositItem.serializeBinaryToWriter = function(message, writer
8788
8846
  f
8789
8847
  );
8790
8848
  }
8791
- f = message.getPaymentMethodTitle();
8792
- if (f.length > 0) {
8849
+ f = /** @type {string} */ (jspb.Message.getField(message, 6));
8850
+ if (f != null) {
8793
8851
  writer.writeString(
8794
8852
  6,
8795
8853
  f
8796
8854
  );
8797
8855
  }
8798
- f = message.getPaymentProviderImage();
8799
- if (f.length > 0) {
8856
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
8857
+ if (f != null) {
8800
8858
  writer.writeString(
8801
8859
  7,
8802
8860
  f
8803
8861
  );
8804
8862
  }
8805
- f = message.getStatusId();
8806
- if (f !== 0) {
8807
- writer.writeInt32(
8863
+ f = /** @type {string} */ (jspb.Message.getField(message, 8));
8864
+ if (f != null) {
8865
+ writer.writeString(
8808
8866
  8,
8809
8867
  f
8810
8868
  );
8811
8869
  }
8812
- f = message.getCreated();
8813
- if (f.length > 0) {
8814
- writer.writeString(
8870
+ f = /** @type {number} */ (jspb.Message.getField(message, 9));
8871
+ if (f != null) {
8872
+ writer.writeInt32(
8815
8873
  9,
8816
8874
  f
8817
8875
  );
8818
8876
  }
8877
+ f = /** @type {string} */ (jspb.Message.getField(message, 10));
8878
+ if (f != null) {
8879
+ writer.writeString(
8880
+ 10,
8881
+ f
8882
+ );
8883
+ }
8884
+ f = /** @type {string} */ (jspb.Message.getField(message, 11));
8885
+ if (f != null) {
8886
+ writer.writeString(
8887
+ 11,
8888
+ f
8889
+ );
8890
+ }
8819
8891
  };
8820
8892
 
8821
8893
 
@@ -8923,7 +8995,25 @@ proto.payment.UserDepositItem.prototype.getPaymentMethodTitle = function() {
8923
8995
  * @return {!proto.payment.UserDepositItem} returns this
8924
8996
  */
8925
8997
  proto.payment.UserDepositItem.prototype.setPaymentMethodTitle = function(value) {
8926
- return jspb.Message.setProto3StringField(this, 6, value);
8998
+ return jspb.Message.setField(this, 6, value);
8999
+ };
9000
+
9001
+
9002
+ /**
9003
+ * Clears the field making it undefined.
9004
+ * @return {!proto.payment.UserDepositItem} returns this
9005
+ */
9006
+ proto.payment.UserDepositItem.prototype.clearPaymentMethodTitle = function() {
9007
+ return jspb.Message.setField(this, 6, undefined);
9008
+ };
9009
+
9010
+
9011
+ /**
9012
+ * Returns whether this field is set.
9013
+ * @return {boolean}
9014
+ */
9015
+ proto.payment.UserDepositItem.prototype.hasPaymentMethodTitle = function() {
9016
+ return jspb.Message.getField(this, 6) != null;
8927
9017
  };
8928
9018
 
8929
9019
 
@@ -8941,16 +9031,70 @@ proto.payment.UserDepositItem.prototype.getPaymentProviderImage = function() {
8941
9031
  * @return {!proto.payment.UserDepositItem} returns this
8942
9032
  */
8943
9033
  proto.payment.UserDepositItem.prototype.setPaymentProviderImage = function(value) {
8944
- return jspb.Message.setProto3StringField(this, 7, value);
9034
+ return jspb.Message.setField(this, 7, value);
9035
+ };
9036
+
9037
+
9038
+ /**
9039
+ * Clears the field making it undefined.
9040
+ * @return {!proto.payment.UserDepositItem} returns this
9041
+ */
9042
+ proto.payment.UserDepositItem.prototype.clearPaymentProviderImage = function() {
9043
+ return jspb.Message.setField(this, 7, undefined);
8945
9044
  };
8946
9045
 
8947
9046
 
8948
9047
  /**
8949
- * optional int32 status_id = 8;
9048
+ * Returns whether this field is set.
9049
+ * @return {boolean}
9050
+ */
9051
+ proto.payment.UserDepositItem.prototype.hasPaymentProviderImage = function() {
9052
+ return jspb.Message.getField(this, 7) != null;
9053
+ };
9054
+
9055
+
9056
+ /**
9057
+ * optional string payment_provider_title = 8;
9058
+ * @return {string}
9059
+ */
9060
+ proto.payment.UserDepositItem.prototype.getPaymentProviderTitle = function() {
9061
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
9062
+ };
9063
+
9064
+
9065
+ /**
9066
+ * @param {string} value
9067
+ * @return {!proto.payment.UserDepositItem} returns this
9068
+ */
9069
+ proto.payment.UserDepositItem.prototype.setPaymentProviderTitle = function(value) {
9070
+ return jspb.Message.setField(this, 8, value);
9071
+ };
9072
+
9073
+
9074
+ /**
9075
+ * Clears the field making it undefined.
9076
+ * @return {!proto.payment.UserDepositItem} returns this
9077
+ */
9078
+ proto.payment.UserDepositItem.prototype.clearPaymentProviderTitle = function() {
9079
+ return jspb.Message.setField(this, 8, undefined);
9080
+ };
9081
+
9082
+
9083
+ /**
9084
+ * Returns whether this field is set.
9085
+ * @return {boolean}
9086
+ */
9087
+ proto.payment.UserDepositItem.prototype.hasPaymentProviderTitle = function() {
9088
+ return jspb.Message.getField(this, 8) != null;
9089
+ };
9090
+
9091
+
9092
+ /**
9093
+ * optional int32 status_id = 9;
8950
9094
  * @return {number}
8951
9095
  */
8952
9096
  proto.payment.UserDepositItem.prototype.getStatusId = function() {
8953
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
9097
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
8954
9098
  };
8955
9099
 
8956
9100
 
@@ -8959,16 +9103,34 @@ proto.payment.UserDepositItem.prototype.getStatusId = function() {
8959
9103
  * @return {!proto.payment.UserDepositItem} returns this
8960
9104
  */
8961
9105
  proto.payment.UserDepositItem.prototype.setStatusId = function(value) {
8962
- return jspb.Message.setProto3IntField(this, 8, value);
9106
+ return jspb.Message.setField(this, 9, value);
9107
+ };
9108
+
9109
+
9110
+ /**
9111
+ * Clears the field making it undefined.
9112
+ * @return {!proto.payment.UserDepositItem} returns this
9113
+ */
9114
+ proto.payment.UserDepositItem.prototype.clearStatusId = function() {
9115
+ return jspb.Message.setField(this, 9, undefined);
9116
+ };
9117
+
9118
+
9119
+ /**
9120
+ * Returns whether this field is set.
9121
+ * @return {boolean}
9122
+ */
9123
+ proto.payment.UserDepositItem.prototype.hasStatusId = function() {
9124
+ return jspb.Message.getField(this, 9) != null;
8963
9125
  };
8964
9126
 
8965
9127
 
8966
9128
  /**
8967
- * optional string created = 9;
9129
+ * optional string created = 10;
8968
9130
  * @return {string}
8969
9131
  */
8970
9132
  proto.payment.UserDepositItem.prototype.getCreated = function() {
8971
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
9133
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
8972
9134
  };
8973
9135
 
8974
9136
 
@@ -8977,7 +9139,61 @@ proto.payment.UserDepositItem.prototype.getCreated = function() {
8977
9139
  * @return {!proto.payment.UserDepositItem} returns this
8978
9140
  */
8979
9141
  proto.payment.UserDepositItem.prototype.setCreated = function(value) {
8980
- return jspb.Message.setProto3StringField(this, 9, value);
9142
+ return jspb.Message.setField(this, 10, value);
9143
+ };
9144
+
9145
+
9146
+ /**
9147
+ * Clears the field making it undefined.
9148
+ * @return {!proto.payment.UserDepositItem} returns this
9149
+ */
9150
+ proto.payment.UserDepositItem.prototype.clearCreated = function() {
9151
+ return jspb.Message.setField(this, 10, undefined);
9152
+ };
9153
+
9154
+
9155
+ /**
9156
+ * Returns whether this field is set.
9157
+ * @return {boolean}
9158
+ */
9159
+ proto.payment.UserDepositItem.prototype.hasCreated = function() {
9160
+ return jspb.Message.getField(this, 10) != null;
9161
+ };
9162
+
9163
+
9164
+ /**
9165
+ * optional string status = 11;
9166
+ * @return {string}
9167
+ */
9168
+ proto.payment.UserDepositItem.prototype.getStatus = function() {
9169
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
9170
+ };
9171
+
9172
+
9173
+ /**
9174
+ * @param {string} value
9175
+ * @return {!proto.payment.UserDepositItem} returns this
9176
+ */
9177
+ proto.payment.UserDepositItem.prototype.setStatus = function(value) {
9178
+ return jspb.Message.setField(this, 11, value);
9179
+ };
9180
+
9181
+
9182
+ /**
9183
+ * Clears the field making it undefined.
9184
+ * @return {!proto.payment.UserDepositItem} returns this
9185
+ */
9186
+ proto.payment.UserDepositItem.prototype.clearStatus = function() {
9187
+ return jspb.Message.setField(this, 11, undefined);
9188
+ };
9189
+
9190
+
9191
+ /**
9192
+ * Returns whether this field is set.
9193
+ * @return {boolean}
9194
+ */
9195
+ proto.payment.UserDepositItem.prototype.hasStatus = function() {
9196
+ return jspb.Message.getField(this, 11) != null;
8981
9197
  };
8982
9198
 
8983
9199
 
@@ -13,4 +13,5 @@ grpc_tools_node_protoc --js_out=import_style=commonjs,binary:notification --grpc
13
13
  grpc_tools_node_protoc --js_out=import_style=commonjs,binary:payment --grpc_out=grpc_js:payment --proto_path=./payment ./payment/*.proto &&
14
14
  grpc_tools_node_protoc --js_out=import_style=commonjs,binary:cashback --grpc_out=grpc_js:cashback --proto_path=./cashback ./cashback/*.proto &&
15
15
  grpc_tools_node_protoc --js_out=import_style=commonjs,binary:promocode --grpc_out=grpc_js:promocode --proto_path=./promocode ./promocode/*.proto &&
16
- grpc_tools_node_protoc --js_out=import_style=commonjs,binary:tournament --grpc_out=grpc_js:tournament --proto_path=./tournament ./tournament/*.proto
16
+ grpc_tools_node_protoc --js_out=import_style=commonjs,binary:tournament --grpc_out=grpc_js:tournament --proto_path=./tournament ./tournament/*.proto &&
17
+ grpc_tools_node_protoc --js_out=import_style=commonjs,binary:analytic --grpc_out=grpc_js:analytic --proto_path=./analytic ./analytic/*.proto