@sniipwebmaster/realtime-message-client-grpcweb 24.7.620 → 24.15.648
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);
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
|
|
7
7
|
// Code generated by protoc-gen-grpc-web. DO NOT EDIT.
|
|
8
8
|
// versions:
|
|
9
|
-
// protoc-gen-grpc-web v1.
|
|
10
|
-
// protoc v3.
|
|
9
|
+
// protoc-gen-grpc-web v1.5.0
|
|
10
|
+
// protoc v3.20.1
|
|
11
11
|
// source: service.proto
|
|
12
12
|
|
|
13
13
|
|
|
@@ -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
|
|
|
@@ -2,15 +2,18 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* @fileoverview
|
|
4
4
|
* @enhanceable
|
|
5
|
+
* @suppress {missingRequire} reports error on implicit type usages.
|
|
5
6
|
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
|
6
7
|
* field starts with 'MSG_' and isn't a translatable message.
|
|
7
8
|
* @public
|
|
8
9
|
*/
|
|
9
10
|
// GENERATED CODE -- DO NOT EDIT!
|
|
11
|
+
/* eslint-disable */
|
|
12
|
+
// @ts-nocheck
|
|
10
13
|
|
|
11
14
|
var jspb = require('google-protobuf');
|
|
12
15
|
var goog = jspb;
|
|
13
|
-
var global = Function('return this')();
|
|
16
|
+
var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
|
|
14
17
|
|
|
15
18
|
var google_api_annotations_pb = require('./google/api/annotations_pb.js');
|
|
16
19
|
goog.object.extend(proto, google_api_annotations_pb);
|
|
@@ -5725,7 +5728,8 @@ proto.realtimemessageapi.EventType = {
|
|
|
5725
5728
|
IMPORT_ITEM_FAILED: 7,
|
|
5726
5729
|
BILL_PROCESSED_BY_IMPORT_FAILED: 8,
|
|
5727
5730
|
BILL_PROCESSED_BY_IMPORT_SUCCESS: 9,
|
|
5728
|
-
UPLOAD_BATCH_PROCESSING_EVENT: 10
|
|
5731
|
+
UPLOAD_BATCH_PROCESSING_EVENT: 10,
|
|
5732
|
+
TEST_EVENT: 11
|
|
5729
5733
|
};
|
|
5730
5734
|
|
|
5731
5735
|
goog.object.extend(exports, proto.realtimemessageapi);
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sniipwebmaster/realtime-message-client-grpcweb",
|
|
3
|
-
"version": "24.
|
|
3
|
+
"version": "24.15.648",
|
|
4
4
|
"description": "realtime-message-client-grpcweb",
|
|
5
5
|
"author": "Sniip Development Team",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"google-protobuf": "3.
|
|
9
|
-
"grpc-web": "1.
|
|
8
|
+
"google-protobuf": "3.20.1",
|
|
9
|
+
"grpc-web": "1.5.0"
|
|
10
10
|
}
|
|
11
11
|
}
|