@sniipwebmaster/realtime-message-client-grpcweb 24.7.612 → 24.12.634

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,176 @@
1
+ // source: decimal.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 =
17
+ (typeof globalThis !== 'undefined' && globalThis) ||
18
+ (typeof window !== 'undefined' && window) ||
19
+ (typeof global !== 'undefined' && global) ||
20
+ (typeof self !== 'undefined' && self) ||
21
+ (function () { return this; }).call(null) ||
22
+ Function('return this')();
23
+
24
+ goog.exportSymbol('proto.google.type.Decimal', null, global);
25
+ /**
26
+ * Generated by JsPbCodeGenerator.
27
+ * @param {Array=} opt_data Optional initial data array, typically from a
28
+ * server response, or constructed directly in Javascript. The array is used
29
+ * in place and becomes part of the constructed object. It is not cloned.
30
+ * If no data is provided, the constructed object will be empty, but still
31
+ * valid.
32
+ * @extends {jspb.Message}
33
+ * @constructor
34
+ */
35
+ proto.google.type.Decimal = function(opt_data) {
36
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
37
+ };
38
+ goog.inherits(proto.google.type.Decimal, jspb.Message);
39
+ if (goog.DEBUG && !COMPILED) {
40
+ /**
41
+ * @public
42
+ * @override
43
+ */
44
+ proto.google.type.Decimal.displayName = 'proto.google.type.Decimal';
45
+ }
46
+
47
+
48
+
49
+ if (jspb.Message.GENERATE_TO_OBJECT) {
50
+ /**
51
+ * Creates an object representation of this proto.
52
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
53
+ * Optional fields that are not set will be set to undefined.
54
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
55
+ * For the list of reserved names please see:
56
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
57
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
58
+ * JSPB instance for transitional soy proto support:
59
+ * http://goto/soy-param-migration
60
+ * @return {!Object}
61
+ */
62
+ proto.google.type.Decimal.prototype.toObject = function(opt_includeInstance) {
63
+ return proto.google.type.Decimal.toObject(opt_includeInstance, this);
64
+ };
65
+
66
+
67
+ /**
68
+ * Static version of the {@see toObject} method.
69
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
70
+ * the JSPB instance for transitional soy proto support:
71
+ * http://goto/soy-param-migration
72
+ * @param {!proto.google.type.Decimal} msg The msg instance to transform.
73
+ * @return {!Object}
74
+ * @suppress {unusedLocalVariables} f is only used for nested messages
75
+ */
76
+ proto.google.type.Decimal.toObject = function(includeInstance, msg) {
77
+ var f, obj = {
78
+ value: jspb.Message.getFieldWithDefault(msg, 1, "")
79
+ };
80
+
81
+ if (includeInstance) {
82
+ obj.$jspbMessageInstance = msg;
83
+ }
84
+ return obj;
85
+ };
86
+ }
87
+
88
+
89
+ /**
90
+ * Deserializes binary data (in protobuf wire format).
91
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
92
+ * @return {!proto.google.type.Decimal}
93
+ */
94
+ proto.google.type.Decimal.deserializeBinary = function(bytes) {
95
+ var reader = new jspb.BinaryReader(bytes);
96
+ var msg = new proto.google.type.Decimal;
97
+ return proto.google.type.Decimal.deserializeBinaryFromReader(msg, reader);
98
+ };
99
+
100
+
101
+ /**
102
+ * Deserializes binary data (in protobuf wire format) from the
103
+ * given reader into the given message object.
104
+ * @param {!proto.google.type.Decimal} msg The message object to deserialize into.
105
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
106
+ * @return {!proto.google.type.Decimal}
107
+ */
108
+ proto.google.type.Decimal.deserializeBinaryFromReader = function(msg, reader) {
109
+ while (reader.nextField()) {
110
+ if (reader.isEndGroup()) {
111
+ break;
112
+ }
113
+ var field = reader.getFieldNumber();
114
+ switch (field) {
115
+ case 1:
116
+ var value = /** @type {string} */ (reader.readString());
117
+ msg.setValue(value);
118
+ break;
119
+ default:
120
+ reader.skipField();
121
+ break;
122
+ }
123
+ }
124
+ return msg;
125
+ };
126
+
127
+
128
+ /**
129
+ * Serializes the message to binary data (in protobuf wire format).
130
+ * @return {!Uint8Array}
131
+ */
132
+ proto.google.type.Decimal.prototype.serializeBinary = function() {
133
+ var writer = new jspb.BinaryWriter();
134
+ proto.google.type.Decimal.serializeBinaryToWriter(this, writer);
135
+ return writer.getResultBuffer();
136
+ };
137
+
138
+
139
+ /**
140
+ * Serializes the given message to binary data (in protobuf wire
141
+ * format), writing to the given BinaryWriter.
142
+ * @param {!proto.google.type.Decimal} message
143
+ * @param {!jspb.BinaryWriter} writer
144
+ * @suppress {unusedLocalVariables} f is only used for nested messages
145
+ */
146
+ proto.google.type.Decimal.serializeBinaryToWriter = function(message, writer) {
147
+ var f = undefined;
148
+ f = message.getValue();
149
+ if (f.length > 0) {
150
+ writer.writeString(
151
+ 1,
152
+ f
153
+ );
154
+ }
155
+ };
156
+
157
+
158
+ /**
159
+ * optional string value = 1;
160
+ * @return {string}
161
+ */
162
+ proto.google.type.Decimal.prototype.getValue = function() {
163
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
164
+ };
165
+
166
+
167
+ /**
168
+ * @param {string} value
169
+ * @return {!proto.google.type.Decimal} returns this
170
+ */
171
+ proto.google.type.Decimal.prototype.setValue = function(value) {
172
+ return jspb.Message.setProto3StringField(this, 1, value);
173
+ };
174
+
175
+
176
+ goog.object.extend(exports, proto.google.type);
@@ -380,5 +380,66 @@ proto.realtimemessageapi.RealTimeMessageServicePromiseClient.prototype.getBanner
380
380
  };
381
381
 
382
382
 
383
+ /**
384
+ * @const
385
+ * @type {!grpc.web.MethodDescriptor<
386
+ * !proto.google.protobuf.Empty,
387
+ * !proto.realtimemessageapi.ResponseCode>}
388
+ */
389
+ const methodDescriptor_RealTimeMessageService_SendConnectionTestMessageToSelf = new grpc.web.MethodDescriptor(
390
+ '/realtimemessageapi.RealTimeMessageService/SendConnectionTestMessageToSelf',
391
+ grpc.web.MethodType.UNARY,
392
+ google_protobuf_empty_pb.Empty,
393
+ proto.realtimemessageapi.ResponseCode,
394
+ /**
395
+ * @param {!proto.google.protobuf.Empty} request
396
+ * @return {!Uint8Array}
397
+ */
398
+ function(request) {
399
+ return request.serializeBinary();
400
+ },
401
+ proto.realtimemessageapi.ResponseCode.deserializeBinary
402
+ );
403
+
404
+
405
+ /**
406
+ * @param {!proto.google.protobuf.Empty} request The
407
+ * request proto
408
+ * @param {?Object<string, string>} metadata User defined
409
+ * call metadata
410
+ * @param {function(?grpc.web.RpcError, ?proto.realtimemessageapi.ResponseCode)}
411
+ * callback The callback function(error, response)
412
+ * @return {!grpc.web.ClientReadableStream<!proto.realtimemessageapi.ResponseCode>|undefined}
413
+ * The XHR Node Readable Stream
414
+ */
415
+ proto.realtimemessageapi.RealTimeMessageServiceClient.prototype.sendConnectionTestMessageToSelf =
416
+ function(request, metadata, callback) {
417
+ return this.client_.rpcCall(this.hostname_ +
418
+ '/realtimemessageapi.RealTimeMessageService/SendConnectionTestMessageToSelf',
419
+ request,
420
+ metadata || {},
421
+ methodDescriptor_RealTimeMessageService_SendConnectionTestMessageToSelf,
422
+ callback);
423
+ };
424
+
425
+
426
+ /**
427
+ * @param {!proto.google.protobuf.Empty} request The
428
+ * request proto
429
+ * @param {?Object<string, string>=} metadata User defined
430
+ * call metadata
431
+ * @return {!Promise<!proto.realtimemessageapi.ResponseCode>}
432
+ * Promise that resolves to the response
433
+ */
434
+ proto.realtimemessageapi.RealTimeMessageServicePromiseClient.prototype.sendConnectionTestMessageToSelf =
435
+ function(request, metadata) {
436
+ return this.client_.unaryCall(this.hostname_ +
437
+ '/realtimemessageapi.RealTimeMessageService/SendConnectionTestMessageToSelf',
438
+ request,
439
+ metadata || {},
440
+ methodDescriptor_RealTimeMessageService_SendConnectionTestMessageToSelf);
441
+ };
442
+
443
+
383
444
  module.exports = proto.realtimemessageapi;
384
445
 
@@ -4324,7 +4324,8 @@ proto.realtimemessageapi.BulkPaymentSummary.toObject = function(includeInstance,
4324
4324
  tasksList: jspb.Message.toObjectList(msg.getTasksList(),
4325
4325
  proto.realtimemessageapi.BulkPaymentTaskSummary.toObject, includeInstance),
4326
4326
  isforscheduledpayments: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
4327
- isforbankaccount: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
4327
+ isforbankaccount: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
4328
+ deliverybatchid: jspb.Message.getFieldWithDefault(msg, 5, 0)
4328
4329
  };
4329
4330
 
4330
4331
  if (includeInstance) {
@@ -4378,6 +4379,10 @@ proto.realtimemessageapi.BulkPaymentSummary.deserializeBinaryFromReader = functi
4378
4379
  var value = /** @type {boolean} */ (reader.readBool());
4379
4380
  msg.setIsforbankaccount(value);
4380
4381
  break;
4382
+ case 5:
4383
+ var value = /** @type {number} */ (reader.readInt64());
4384
+ msg.setDeliverybatchid(value);
4385
+ break;
4381
4386
  default:
4382
4387
  reader.skipField();
4383
4388
  break;
@@ -4436,6 +4441,13 @@ proto.realtimemessageapi.BulkPaymentSummary.serializeBinaryToWriter = function(m
4436
4441
  f
4437
4442
  );
4438
4443
  }
4444
+ f = message.getDeliverybatchid();
4445
+ if (f !== 0) {
4446
+ writer.writeInt64(
4447
+ 5,
4448
+ f
4449
+ );
4450
+ }
4439
4451
  };
4440
4452
 
4441
4453
 
@@ -4531,6 +4543,24 @@ proto.realtimemessageapi.BulkPaymentSummary.prototype.setIsforbankaccount = func
4531
4543
  };
4532
4544
 
4533
4545
 
4546
+ /**
4547
+ * optional int64 deliveryBatchId = 5;
4548
+ * @return {number}
4549
+ */
4550
+ proto.realtimemessageapi.BulkPaymentSummary.prototype.getDeliverybatchid = function() {
4551
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
4552
+ };
4553
+
4554
+
4555
+ /**
4556
+ * @param {number} value
4557
+ * @return {!proto.realtimemessageapi.BulkPaymentSummary} returns this
4558
+ */
4559
+ proto.realtimemessageapi.BulkPaymentSummary.prototype.setDeliverybatchid = function(value) {
4560
+ return jspb.Message.setProto3IntField(this, 5, value);
4561
+ };
4562
+
4563
+
4534
4564
 
4535
4565
 
4536
4566
 
@@ -5695,7 +5725,8 @@ proto.realtimemessageapi.EventType = {
5695
5725
  IMPORT_ITEM_FAILED: 7,
5696
5726
  BILL_PROCESSED_BY_IMPORT_FAILED: 8,
5697
5727
  BILL_PROCESSED_BY_IMPORT_SUCCESS: 9,
5698
- UPLOAD_BATCH_PROCESSING_EVENT: 10
5728
+ UPLOAD_BATCH_PROCESSING_EVENT: 10,
5729
+ TEST_EVENT: 11
5699
5730
  };
5700
5731
 
5701
5732
  goog.object.extend(exports, proto.realtimemessageapi);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/realtime-message-client-grpcweb",
3
- "version": "24.7.612",
3
+ "version": "24.12.634",
4
4
  "description": "realtime-message-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",