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,222 @@
|
|
1
|
+
// GENERATED CODE -- DO NOT EDIT!
|
2
|
+
|
3
|
+
'use strict';
|
4
|
+
var grpc = require('@grpc/grpc-js');
|
5
|
+
var tournament_pb = require('./tournament_pb.js');
|
6
|
+
|
7
|
+
function serialize_tournament_File(arg) {
|
8
|
+
if (!(arg instanceof tournament_pb.File)) {
|
9
|
+
throw new Error('Expected argument of type tournament.File');
|
10
|
+
}
|
11
|
+
return Buffer.from(arg.serializeBinary());
|
12
|
+
}
|
13
|
+
|
14
|
+
function deserialize_tournament_File(buffer_arg) {
|
15
|
+
return tournament_pb.File.deserializeBinary(new Uint8Array(buffer_arg));
|
16
|
+
}
|
17
|
+
|
18
|
+
function serialize_tournament_GetFileRequest(arg) {
|
19
|
+
if (!(arg instanceof tournament_pb.GetFileRequest)) {
|
20
|
+
throw new Error('Expected argument of type tournament.GetFileRequest');
|
21
|
+
}
|
22
|
+
return Buffer.from(arg.serializeBinary());
|
23
|
+
}
|
24
|
+
|
25
|
+
function deserialize_tournament_GetFileRequest(buffer_arg) {
|
26
|
+
return tournament_pb.GetFileRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
27
|
+
}
|
28
|
+
|
29
|
+
function serialize_tournament_GetTournamentRequest(arg) {
|
30
|
+
if (!(arg instanceof tournament_pb.GetTournamentRequest)) {
|
31
|
+
throw new Error('Expected argument of type tournament.GetTournamentRequest');
|
32
|
+
}
|
33
|
+
return Buffer.from(arg.serializeBinary());
|
34
|
+
}
|
35
|
+
|
36
|
+
function deserialize_tournament_GetTournamentRequest(buffer_arg) {
|
37
|
+
return tournament_pb.GetTournamentRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
38
|
+
}
|
39
|
+
|
40
|
+
function serialize_tournament_PaginationRequest(arg) {
|
41
|
+
if (!(arg instanceof tournament_pb.PaginationRequest)) {
|
42
|
+
throw new Error('Expected argument of type tournament.PaginationRequest');
|
43
|
+
}
|
44
|
+
return Buffer.from(arg.serializeBinary());
|
45
|
+
}
|
46
|
+
|
47
|
+
function deserialize_tournament_PaginationRequest(buffer_arg) {
|
48
|
+
return tournament_pb.PaginationRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
49
|
+
}
|
50
|
+
|
51
|
+
function serialize_tournament_PingRequest(arg) {
|
52
|
+
if (!(arg instanceof tournament_pb.PingRequest)) {
|
53
|
+
throw new Error('Expected argument of type tournament.PingRequest');
|
54
|
+
}
|
55
|
+
return Buffer.from(arg.serializeBinary());
|
56
|
+
}
|
57
|
+
|
58
|
+
function deserialize_tournament_PingRequest(buffer_arg) {
|
59
|
+
return tournament_pb.PingRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
60
|
+
}
|
61
|
+
|
62
|
+
function serialize_tournament_PongResponse(arg) {
|
63
|
+
if (!(arg instanceof tournament_pb.PongResponse)) {
|
64
|
+
throw new Error('Expected argument of type tournament.PongResponse');
|
65
|
+
}
|
66
|
+
return Buffer.from(arg.serializeBinary());
|
67
|
+
}
|
68
|
+
|
69
|
+
function deserialize_tournament_PongResponse(buffer_arg) {
|
70
|
+
return tournament_pb.PongResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
71
|
+
}
|
72
|
+
|
73
|
+
function serialize_tournament_TournamentItemsResponse(arg) {
|
74
|
+
if (!(arg instanceof tournament_pb.TournamentItemsResponse)) {
|
75
|
+
throw new Error('Expected argument of type tournament.TournamentItemsResponse');
|
76
|
+
}
|
77
|
+
return Buffer.from(arg.serializeBinary());
|
78
|
+
}
|
79
|
+
|
80
|
+
function deserialize_tournament_TournamentItemsResponse(buffer_arg) {
|
81
|
+
return tournament_pb.TournamentItemsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
82
|
+
}
|
83
|
+
|
84
|
+
function serialize_tournament_TournamentRequest(arg) {
|
85
|
+
if (!(arg instanceof tournament_pb.TournamentRequest)) {
|
86
|
+
throw new Error('Expected argument of type tournament.TournamentRequest');
|
87
|
+
}
|
88
|
+
return Buffer.from(arg.serializeBinary());
|
89
|
+
}
|
90
|
+
|
91
|
+
function deserialize_tournament_TournamentRequest(buffer_arg) {
|
92
|
+
return tournament_pb.TournamentRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
93
|
+
}
|
94
|
+
|
95
|
+
function serialize_tournament_TournamentResponse(arg) {
|
96
|
+
if (!(arg instanceof tournament_pb.TournamentResponse)) {
|
97
|
+
throw new Error('Expected argument of type tournament.TournamentResponse');
|
98
|
+
}
|
99
|
+
return Buffer.from(arg.serializeBinary());
|
100
|
+
}
|
101
|
+
|
102
|
+
function deserialize_tournament_TournamentResponse(buffer_arg) {
|
103
|
+
return tournament_pb.TournamentResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
104
|
+
}
|
105
|
+
|
106
|
+
function serialize_tournament_TournamentStatusItemsResponse(arg) {
|
107
|
+
if (!(arg instanceof tournament_pb.TournamentStatusItemsResponse)) {
|
108
|
+
throw new Error('Expected argument of type tournament.TournamentStatusItemsResponse');
|
109
|
+
}
|
110
|
+
return Buffer.from(arg.serializeBinary());
|
111
|
+
}
|
112
|
+
|
113
|
+
function deserialize_tournament_TournamentStatusItemsResponse(buffer_arg) {
|
114
|
+
return tournament_pb.TournamentStatusItemsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
115
|
+
}
|
116
|
+
|
117
|
+
function serialize_tournament_TournamentStatusResponse(arg) {
|
118
|
+
if (!(arg instanceof tournament_pb.TournamentStatusResponse)) {
|
119
|
+
throw new Error('Expected argument of type tournament.TournamentStatusResponse');
|
120
|
+
}
|
121
|
+
return Buffer.from(arg.serializeBinary());
|
122
|
+
}
|
123
|
+
|
124
|
+
function deserialize_tournament_TournamentStatusResponse(buffer_arg) {
|
125
|
+
return tournament_pb.TournamentStatusResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
126
|
+
}
|
127
|
+
|
128
|
+
|
129
|
+
var TournamentService = exports.TournamentService = {
|
130
|
+
checkConnection: {
|
131
|
+
path: '/tournament.Tournament/checkConnection',
|
132
|
+
requestStream: false,
|
133
|
+
responseStream: false,
|
134
|
+
requestType: tournament_pb.PingRequest,
|
135
|
+
responseType: tournament_pb.PongResponse,
|
136
|
+
requestSerialize: serialize_tournament_PingRequest,
|
137
|
+
requestDeserialize: deserialize_tournament_PingRequest,
|
138
|
+
responseSerialize: serialize_tournament_PongResponse,
|
139
|
+
responseDeserialize: deserialize_tournament_PongResponse,
|
140
|
+
},
|
141
|
+
getMediaResource: {
|
142
|
+
path: '/tournament.Tournament/getMediaResource',
|
143
|
+
requestStream: false,
|
144
|
+
responseStream: true,
|
145
|
+
requestType: tournament_pb.GetFileRequest,
|
146
|
+
responseType: tournament_pb.File,
|
147
|
+
requestSerialize: serialize_tournament_GetFileRequest,
|
148
|
+
requestDeserialize: deserialize_tournament_GetFileRequest,
|
149
|
+
responseSerialize: serialize_tournament_File,
|
150
|
+
responseDeserialize: deserialize_tournament_File,
|
151
|
+
},
|
152
|
+
// Tournaments
|
153
|
+
createSingleTournament: {
|
154
|
+
path: '/tournament.Tournament/createSingleTournament',
|
155
|
+
requestStream: true,
|
156
|
+
responseStream: false,
|
157
|
+
requestType: tournament_pb.TournamentRequest,
|
158
|
+
responseType: tournament_pb.TournamentResponse,
|
159
|
+
requestSerialize: serialize_tournament_TournamentRequest,
|
160
|
+
requestDeserialize: deserialize_tournament_TournamentRequest,
|
161
|
+
responseSerialize: serialize_tournament_TournamentResponse,
|
162
|
+
responseDeserialize: deserialize_tournament_TournamentResponse,
|
163
|
+
},
|
164
|
+
readSingleTournament: {
|
165
|
+
path: '/tournament.Tournament/readSingleTournament',
|
166
|
+
requestStream: false,
|
167
|
+
responseStream: false,
|
168
|
+
requestType: tournament_pb.GetTournamentRequest,
|
169
|
+
responseType: tournament_pb.TournamentResponse,
|
170
|
+
requestSerialize: serialize_tournament_GetTournamentRequest,
|
171
|
+
requestDeserialize: deserialize_tournament_GetTournamentRequest,
|
172
|
+
responseSerialize: serialize_tournament_TournamentResponse,
|
173
|
+
responseDeserialize: deserialize_tournament_TournamentResponse,
|
174
|
+
},
|
175
|
+
updateSingleTournament: {
|
176
|
+
path: '/tournament.Tournament/updateSingleTournament',
|
177
|
+
requestStream: true,
|
178
|
+
responseStream: false,
|
179
|
+
requestType: tournament_pb.TournamentRequest,
|
180
|
+
responseType: tournament_pb.TournamentResponse,
|
181
|
+
requestSerialize: serialize_tournament_TournamentRequest,
|
182
|
+
requestDeserialize: deserialize_tournament_TournamentRequest,
|
183
|
+
responseSerialize: serialize_tournament_TournamentResponse,
|
184
|
+
responseDeserialize: deserialize_tournament_TournamentResponse,
|
185
|
+
},
|
186
|
+
deleteSingleTournament: {
|
187
|
+
path: '/tournament.Tournament/deleteSingleTournament',
|
188
|
+
requestStream: false,
|
189
|
+
responseStream: false,
|
190
|
+
requestType: tournament_pb.GetTournamentRequest,
|
191
|
+
responseType: tournament_pb.TournamentStatusResponse,
|
192
|
+
requestSerialize: serialize_tournament_GetTournamentRequest,
|
193
|
+
requestDeserialize: deserialize_tournament_GetTournamentRequest,
|
194
|
+
responseSerialize: serialize_tournament_TournamentStatusResponse,
|
195
|
+
responseDeserialize: deserialize_tournament_TournamentStatusResponse,
|
196
|
+
},
|
197
|
+
readListTournaments: {
|
198
|
+
path: '/tournament.Tournament/readListTournaments',
|
199
|
+
requestStream: false,
|
200
|
+
responseStream: false,
|
201
|
+
requestType: tournament_pb.PaginationRequest,
|
202
|
+
responseType: tournament_pb.TournamentItemsResponse,
|
203
|
+
requestSerialize: serialize_tournament_PaginationRequest,
|
204
|
+
requestDeserialize: deserialize_tournament_PaginationRequest,
|
205
|
+
responseSerialize: serialize_tournament_TournamentItemsResponse,
|
206
|
+
responseDeserialize: deserialize_tournament_TournamentItemsResponse,
|
207
|
+
},
|
208
|
+
// Tournament Statuses
|
209
|
+
readListTournamentStatuses: {
|
210
|
+
path: '/tournament.Tournament/readListTournamentStatuses',
|
211
|
+
requestStream: false,
|
212
|
+
responseStream: false,
|
213
|
+
requestType: tournament_pb.PaginationRequest,
|
214
|
+
responseType: tournament_pb.TournamentStatusItemsResponse,
|
215
|
+
requestSerialize: serialize_tournament_PaginationRequest,
|
216
|
+
requestDeserialize: deserialize_tournament_PaginationRequest,
|
217
|
+
responseSerialize: serialize_tournament_TournamentStatusItemsResponse,
|
218
|
+
responseDeserialize: deserialize_tournament_TournamentStatusItemsResponse,
|
219
|
+
},
|
220
|
+
};
|
221
|
+
|
222
|
+
exports.TournamentClient = grpc.makeGenericClientConstructor(TournamentService);
|