protobuf-platform 1.0.246 → 1.0.248
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/analytic/analytic_grpc_pb.js +44 -0
- package/analytic/analytic_pb.js +779 -0
- package/bet/bet_grpc_pb.js +112 -0
- package/bet/bet_pb.js +3306 -0
- 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,190 @@
|
|
1
|
+
// GENERATED CODE -- DO NOT EDIT!
|
2
|
+
|
3
|
+
'use strict';
|
4
|
+
var grpc = require('@grpc/grpc-js');
|
5
|
+
var config_pb = require('./config_pb.js');
|
6
|
+
|
7
|
+
function serialize_config_ConfigDataResponse(arg) {
|
8
|
+
if (!(arg instanceof config_pb.ConfigDataResponse)) {
|
9
|
+
throw new Error('Expected argument of type config.ConfigDataResponse');
|
10
|
+
}
|
11
|
+
return Buffer.from(arg.serializeBinary());
|
12
|
+
}
|
13
|
+
|
14
|
+
function deserialize_config_ConfigDataResponse(buffer_arg) {
|
15
|
+
return config_pb.ConfigDataResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
16
|
+
}
|
17
|
+
|
18
|
+
function serialize_config_ConfigRequest(arg) {
|
19
|
+
if (!(arg instanceof config_pb.ConfigRequest)) {
|
20
|
+
throw new Error('Expected argument of type config.ConfigRequest');
|
21
|
+
}
|
22
|
+
return Buffer.from(arg.serializeBinary());
|
23
|
+
}
|
24
|
+
|
25
|
+
function deserialize_config_ConfigRequest(buffer_arg) {
|
26
|
+
return config_pb.ConfigRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
27
|
+
}
|
28
|
+
|
29
|
+
function serialize_config_ConfigStatusResponse(arg) {
|
30
|
+
if (!(arg instanceof config_pb.ConfigStatusResponse)) {
|
31
|
+
throw new Error('Expected argument of type config.ConfigStatusResponse');
|
32
|
+
}
|
33
|
+
return Buffer.from(arg.serializeBinary());
|
34
|
+
}
|
35
|
+
|
36
|
+
function deserialize_config_ConfigStatusResponse(buffer_arg) {
|
37
|
+
return config_pb.ConfigStatusResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
38
|
+
}
|
39
|
+
|
40
|
+
function serialize_config_ErrorRequest(arg) {
|
41
|
+
if (!(arg instanceof config_pb.ErrorRequest)) {
|
42
|
+
throw new Error('Expected argument of type config.ErrorRequest');
|
43
|
+
}
|
44
|
+
return Buffer.from(arg.serializeBinary());
|
45
|
+
}
|
46
|
+
|
47
|
+
function deserialize_config_ErrorRequest(buffer_arg) {
|
48
|
+
return config_pb.ErrorRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
49
|
+
}
|
50
|
+
|
51
|
+
function serialize_config_ErrorStatusResponse(arg) {
|
52
|
+
if (!(arg instanceof config_pb.ErrorStatusResponse)) {
|
53
|
+
throw new Error('Expected argument of type config.ErrorStatusResponse');
|
54
|
+
}
|
55
|
+
return Buffer.from(arg.serializeBinary());
|
56
|
+
}
|
57
|
+
|
58
|
+
function deserialize_config_ErrorStatusResponse(buffer_arg) {
|
59
|
+
return config_pb.ErrorStatusResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
60
|
+
}
|
61
|
+
|
62
|
+
function serialize_config_GlobalDataRequest(arg) {
|
63
|
+
if (!(arg instanceof config_pb.GlobalDataRequest)) {
|
64
|
+
throw new Error('Expected argument of type config.GlobalDataRequest');
|
65
|
+
}
|
66
|
+
return Buffer.from(arg.serializeBinary());
|
67
|
+
}
|
68
|
+
|
69
|
+
function deserialize_config_GlobalDataRequest(buffer_arg) {
|
70
|
+
return config_pb.GlobalDataRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
71
|
+
}
|
72
|
+
|
73
|
+
function serialize_config_PingRequest(arg) {
|
74
|
+
if (!(arg instanceof config_pb.PingRequest)) {
|
75
|
+
throw new Error('Expected argument of type config.PingRequest');
|
76
|
+
}
|
77
|
+
return Buffer.from(arg.serializeBinary());
|
78
|
+
}
|
79
|
+
|
80
|
+
function deserialize_config_PingRequest(buffer_arg) {
|
81
|
+
return config_pb.PingRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
82
|
+
}
|
83
|
+
|
84
|
+
function serialize_config_PongResponse(arg) {
|
85
|
+
if (!(arg instanceof config_pb.PongResponse)) {
|
86
|
+
throw new Error('Expected argument of type config.PongResponse');
|
87
|
+
}
|
88
|
+
return Buffer.from(arg.serializeBinary());
|
89
|
+
}
|
90
|
+
|
91
|
+
function deserialize_config_PongResponse(buffer_arg) {
|
92
|
+
return config_pb.PongResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
93
|
+
}
|
94
|
+
|
95
|
+
function serialize_config_SettingsRequest(arg) {
|
96
|
+
if (!(arg instanceof config_pb.SettingsRequest)) {
|
97
|
+
throw new Error('Expected argument of type config.SettingsRequest');
|
98
|
+
}
|
99
|
+
return Buffer.from(arg.serializeBinary());
|
100
|
+
}
|
101
|
+
|
102
|
+
function deserialize_config_SettingsRequest(buffer_arg) {
|
103
|
+
return config_pb.SettingsRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
104
|
+
}
|
105
|
+
|
106
|
+
function serialize_config_SettingsResponse(arg) {
|
107
|
+
if (!(arg instanceof config_pb.SettingsResponse)) {
|
108
|
+
throw new Error('Expected argument of type config.SettingsResponse');
|
109
|
+
}
|
110
|
+
return Buffer.from(arg.serializeBinary());
|
111
|
+
}
|
112
|
+
|
113
|
+
function deserialize_config_SettingsResponse(buffer_arg) {
|
114
|
+
return config_pb.SettingsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
115
|
+
}
|
116
|
+
|
117
|
+
|
118
|
+
var ConfigService = exports.ConfigService = {
|
119
|
+
checkConnection: {
|
120
|
+
path: '/config.Config/checkConnection',
|
121
|
+
requestStream: false,
|
122
|
+
responseStream: false,
|
123
|
+
requestType: config_pb.PingRequest,
|
124
|
+
responseType: config_pb.PongResponse,
|
125
|
+
requestSerialize: serialize_config_PingRequest,
|
126
|
+
requestDeserialize: deserialize_config_PingRequest,
|
127
|
+
responseSerialize: serialize_config_PongResponse,
|
128
|
+
responseDeserialize: deserialize_config_PongResponse,
|
129
|
+
},
|
130
|
+
// Fetch settings for particular service
|
131
|
+
getConfigSettings: {
|
132
|
+
path: '/config.Config/getConfigSettings',
|
133
|
+
requestStream: false,
|
134
|
+
responseStream: false,
|
135
|
+
requestType: config_pb.SettingsRequest,
|
136
|
+
responseType: config_pb.SettingsResponse,
|
137
|
+
requestSerialize: serialize_config_SettingsRequest,
|
138
|
+
requestDeserialize: deserialize_config_SettingsRequest,
|
139
|
+
responseSerialize: serialize_config_SettingsResponse,
|
140
|
+
responseDeserialize: deserialize_config_SettingsResponse,
|
141
|
+
},
|
142
|
+
// Set config for particular customer
|
143
|
+
setConfig: {
|
144
|
+
path: '/config.Config/setConfig',
|
145
|
+
requestStream: false,
|
146
|
+
responseStream: false,
|
147
|
+
requestType: config_pb.ConfigRequest,
|
148
|
+
responseType: config_pb.ConfigStatusResponse,
|
149
|
+
requestSerialize: serialize_config_ConfigRequest,
|
150
|
+
requestDeserialize: deserialize_config_ConfigRequest,
|
151
|
+
responseSerialize: serialize_config_ConfigStatusResponse,
|
152
|
+
responseDeserialize: deserialize_config_ConfigStatusResponse,
|
153
|
+
},
|
154
|
+
getConfig: {
|
155
|
+
path: '/config.Config/getConfig',
|
156
|
+
requestStream: false,
|
157
|
+
responseStream: false,
|
158
|
+
requestType: config_pb.ConfigRequest,
|
159
|
+
responseType: config_pb.ConfigDataResponse,
|
160
|
+
requestSerialize: serialize_config_ConfigRequest,
|
161
|
+
requestDeserialize: deserialize_config_ConfigRequest,
|
162
|
+
responseSerialize: serialize_config_ConfigDataResponse,
|
163
|
+
responseDeserialize: deserialize_config_ConfigDataResponse,
|
164
|
+
},
|
165
|
+
// Global settings
|
166
|
+
addError: {
|
167
|
+
path: '/config.Config/addError',
|
168
|
+
requestStream: false,
|
169
|
+
responseStream: false,
|
170
|
+
requestType: config_pb.ErrorRequest,
|
171
|
+
responseType: config_pb.ErrorStatusResponse,
|
172
|
+
requestSerialize: serialize_config_ErrorRequest,
|
173
|
+
requestDeserialize: deserialize_config_ErrorRequest,
|
174
|
+
responseSerialize: serialize_config_ErrorStatusResponse,
|
175
|
+
responseDeserialize: deserialize_config_ErrorStatusResponse,
|
176
|
+
},
|
177
|
+
changeGlobalData: {
|
178
|
+
path: '/config.Config/changeGlobalData',
|
179
|
+
requestStream: false,
|
180
|
+
responseStream: false,
|
181
|
+
requestType: config_pb.GlobalDataRequest,
|
182
|
+
responseType: config_pb.ConfigStatusResponse,
|
183
|
+
requestSerialize: serialize_config_GlobalDataRequest,
|
184
|
+
requestDeserialize: deserialize_config_GlobalDataRequest,
|
185
|
+
responseSerialize: serialize_config_ConfigStatusResponse,
|
186
|
+
responseDeserialize: deserialize_config_ConfigStatusResponse,
|
187
|
+
},
|
188
|
+
};
|
189
|
+
|
190
|
+
exports.ConfigClient = grpc.makeGenericClientConstructor(ConfigService);
|