protobuf-platform 1.0.247 → 1.0.249
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/bonus/bonus_grpc_pb.js +367 -0
- package/bonus/bonus_pb.js +9220 -0
- package/cashback/cashback_grpc_pb.js +199 -0
- package/cashback/cashback_pb.js +3299 -0
- package/cms/cms_grpc_pb.js +487 -0
- package/cms/cms_pb.js +7464 -0
- package/config/config_grpc_pb.js +190 -0
- package/config/config_pb.js +2119 -0
- package/file/file_grpc_pb.js +44 -0
- package/file/file_pb.js +352 -0
- package/game/game_grpc_pb.js +1462 -0
- package/game/game_pb.js +22846 -0
- package/log/log_grpc_pb.js +78 -0
- package/log/log_pb.js +1338 -0
- package/loyalty/loyalty_grpc_pb.js +344 -0
- package/loyalty/loyalty_pb.js +6246 -0
- package/notification/notification_grpc_pb.js +288 -0
- package/notification/notification_pb.js +3957 -0
- package/package.json +1 -1
- package/payment/payment_grpc_pb.js +456 -0
- package/payment/payment_pb.js +9456 -0
- package/promocode/promocode_grpc_pb.js +166 -0
- package/promocode/promocode_pb.js +2546 -0
- package/tournament/tournament_grpc_pb.js +222 -0
- package/tournament/tournament_pb.js +3951 -0
- package/user/user_grpc_pb.js +601 -0
- package/user/user_pb.js +10854 -0
@@ -0,0 +1,78 @@
|
|
1
|
+
// GENERATED CODE -- DO NOT EDIT!
|
2
|
+
|
3
|
+
'use strict';
|
4
|
+
var grpc = require('@grpc/grpc-js');
|
5
|
+
var log_pb = require('./log_pb.js');
|
6
|
+
|
7
|
+
function serialize_log_IssueItemsResponse(arg) {
|
8
|
+
if (!(arg instanceof log_pb.IssueItemsResponse)) {
|
9
|
+
throw new Error('Expected argument of type log.IssueItemsResponse');
|
10
|
+
}
|
11
|
+
return Buffer.from(arg.serializeBinary());
|
12
|
+
}
|
13
|
+
|
14
|
+
function deserialize_log_IssueItemsResponse(buffer_arg) {
|
15
|
+
return log_pb.IssueItemsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
16
|
+
}
|
17
|
+
|
18
|
+
function serialize_log_PaginationRequest(arg) {
|
19
|
+
if (!(arg instanceof log_pb.PaginationRequest)) {
|
20
|
+
throw new Error('Expected argument of type log.PaginationRequest');
|
21
|
+
}
|
22
|
+
return Buffer.from(arg.serializeBinary());
|
23
|
+
}
|
24
|
+
|
25
|
+
function deserialize_log_PaginationRequest(buffer_arg) {
|
26
|
+
return log_pb.PaginationRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
27
|
+
}
|
28
|
+
|
29
|
+
function serialize_log_PingRequest(arg) {
|
30
|
+
if (!(arg instanceof log_pb.PingRequest)) {
|
31
|
+
throw new Error('Expected argument of type log.PingRequest');
|
32
|
+
}
|
33
|
+
return Buffer.from(arg.serializeBinary());
|
34
|
+
}
|
35
|
+
|
36
|
+
function deserialize_log_PingRequest(buffer_arg) {
|
37
|
+
return log_pb.PingRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
38
|
+
}
|
39
|
+
|
40
|
+
function serialize_log_PongResponse(arg) {
|
41
|
+
if (!(arg instanceof log_pb.PongResponse)) {
|
42
|
+
throw new Error('Expected argument of type log.PongResponse');
|
43
|
+
}
|
44
|
+
return Buffer.from(arg.serializeBinary());
|
45
|
+
}
|
46
|
+
|
47
|
+
function deserialize_log_PongResponse(buffer_arg) {
|
48
|
+
return log_pb.PongResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
49
|
+
}
|
50
|
+
|
51
|
+
|
52
|
+
var LogService = exports.LogService = {
|
53
|
+
checkConnection: {
|
54
|
+
path: '/log.Log/checkConnection',
|
55
|
+
requestStream: false,
|
56
|
+
responseStream: false,
|
57
|
+
requestType: log_pb.PingRequest,
|
58
|
+
responseType: log_pb.PongResponse,
|
59
|
+
requestSerialize: serialize_log_PingRequest,
|
60
|
+
requestDeserialize: deserialize_log_PingRequest,
|
61
|
+
responseSerialize: serialize_log_PongResponse,
|
62
|
+
responseDeserialize: deserialize_log_PongResponse,
|
63
|
+
},
|
64
|
+
// Issues
|
65
|
+
readListIssues: {
|
66
|
+
path: '/log.Log/readListIssues',
|
67
|
+
requestStream: false,
|
68
|
+
responseStream: false,
|
69
|
+
requestType: log_pb.PaginationRequest,
|
70
|
+
responseType: log_pb.IssueItemsResponse,
|
71
|
+
requestSerialize: serialize_log_PaginationRequest,
|
72
|
+
requestDeserialize: deserialize_log_PaginationRequest,
|
73
|
+
responseSerialize: serialize_log_IssueItemsResponse,
|
74
|
+
responseDeserialize: deserialize_log_IssueItemsResponse,
|
75
|
+
},
|
76
|
+
};
|
77
|
+
|
78
|
+
exports.LogClient = grpc.makeGenericClientConstructor(LogService);
|