protobuf-platform 1.2.70 → 1.2.72
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/game/game.proto +5 -0
- package/game/game_grpc_pb.js +33 -0
- package/game/game_pb.js +152 -0
- package/package.json +1 -1
package/game/game.proto
CHANGED
|
@@ -43,6 +43,7 @@ service Game {
|
|
|
43
43
|
rpc deleteSingleProvider(GetProviderRequest) returns (ProviderStatusResponse);
|
|
44
44
|
rpc readListProviders(PaginationRequest) returns (ProviderItemsResponse);
|
|
45
45
|
rpc updateProvidersInBunch(ItemsBunchRequest) returns (ProviderStatusResponse);
|
|
46
|
+
rpc syncProvidersImages(SyncImagesRequest) returns (ProviderStatusResponse);
|
|
46
47
|
//Games
|
|
47
48
|
rpc parseGames(ParseGamesRequest) returns (ParseGamesResponse);
|
|
48
49
|
rpc readSingleGame(GetGameRequest) returns (GameResponse);
|
|
@@ -61,6 +62,7 @@ service Game {
|
|
|
61
62
|
rpc addGamesIntoTournament(TournamentGamesRequest) returns (GameStatusResponse);
|
|
62
63
|
rpc removeGamesFromTournament(TournamentGamesRequest) returns (GameStatusResponse);
|
|
63
64
|
rpc fetchGamesFromTournament(PaginationRequest) returns (GameItemsResponse);
|
|
65
|
+
rpc syncGamesImages(SyncImagesRequest) returns (GameStatusResponse);
|
|
64
66
|
//Vendor
|
|
65
67
|
rpc processedVendorActionCallback(VendorActionRequest) returns (VendorActionResponse);
|
|
66
68
|
rpc getIntegratorSettings(IntegratorSettingsRequest) returns (IntegratorSettingsResponse);
|
|
@@ -179,6 +181,9 @@ message ItemsBunchRequest {
|
|
|
179
181
|
repeated int32 ids = 1;
|
|
180
182
|
optional int32 is_active = 2;
|
|
181
183
|
}
|
|
184
|
+
message SyncImagesRequest {
|
|
185
|
+
string type = 1;
|
|
186
|
+
}
|
|
182
187
|
//Media
|
|
183
188
|
message File { bytes media = 1; }
|
|
184
189
|
message GetFileRequest { string file_name = 1; string instance_type = 2; }
|
package/game/game_grpc_pb.js
CHANGED
|
@@ -807,6 +807,17 @@ function deserialize_game_SegmentedUserResponse(buffer_arg) {
|
|
|
807
807
|
return game_pb.SegmentedUserResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
808
808
|
}
|
|
809
809
|
|
|
810
|
+
function serialize_game_SyncImagesRequest(arg) {
|
|
811
|
+
if (!(arg instanceof game_pb.SyncImagesRequest)) {
|
|
812
|
+
throw new Error('Expected argument of type game.SyncImagesRequest');
|
|
813
|
+
}
|
|
814
|
+
return Buffer.from(arg.serializeBinary());
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
function deserialize_game_SyncImagesRequest(buffer_arg) {
|
|
818
|
+
return game_pb.SyncImagesRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
819
|
+
}
|
|
820
|
+
|
|
810
821
|
function serialize_game_TagGamesRequest(arg) {
|
|
811
822
|
if (!(arg instanceof game_pb.TagGamesRequest)) {
|
|
812
823
|
throw new Error('Expected argument of type game.TagGamesRequest');
|
|
@@ -1332,6 +1343,17 @@ createSingleProvider: {
|
|
|
1332
1343
|
responseSerialize: serialize_game_ProviderStatusResponse,
|
|
1333
1344
|
responseDeserialize: deserialize_game_ProviderStatusResponse,
|
|
1334
1345
|
},
|
|
1346
|
+
syncProvidersImages: {
|
|
1347
|
+
path: '/game.Game/syncProvidersImages',
|
|
1348
|
+
requestStream: false,
|
|
1349
|
+
responseStream: false,
|
|
1350
|
+
requestType: game_pb.SyncImagesRequest,
|
|
1351
|
+
responseType: game_pb.ProviderStatusResponse,
|
|
1352
|
+
requestSerialize: serialize_game_SyncImagesRequest,
|
|
1353
|
+
requestDeserialize: deserialize_game_SyncImagesRequest,
|
|
1354
|
+
responseSerialize: serialize_game_ProviderStatusResponse,
|
|
1355
|
+
responseDeserialize: deserialize_game_ProviderStatusResponse,
|
|
1356
|
+
},
|
|
1335
1357
|
// Games
|
|
1336
1358
|
parseGames: {
|
|
1337
1359
|
path: '/game.Game/parseGames',
|
|
@@ -1520,6 +1542,17 @@ parseGames: {
|
|
|
1520
1542
|
responseSerialize: serialize_game_GameItemsResponse,
|
|
1521
1543
|
responseDeserialize: deserialize_game_GameItemsResponse,
|
|
1522
1544
|
},
|
|
1545
|
+
syncGamesImages: {
|
|
1546
|
+
path: '/game.Game/syncGamesImages',
|
|
1547
|
+
requestStream: false,
|
|
1548
|
+
responseStream: false,
|
|
1549
|
+
requestType: game_pb.SyncImagesRequest,
|
|
1550
|
+
responseType: game_pb.GameStatusResponse,
|
|
1551
|
+
requestSerialize: serialize_game_SyncImagesRequest,
|
|
1552
|
+
requestDeserialize: deserialize_game_SyncImagesRequest,
|
|
1553
|
+
responseSerialize: serialize_game_GameStatusResponse,
|
|
1554
|
+
responseDeserialize: deserialize_game_GameStatusResponse,
|
|
1555
|
+
},
|
|
1523
1556
|
// Vendor
|
|
1524
1557
|
processedVendorActionCallback: {
|
|
1525
1558
|
path: '/game.Game/processedVendorActionCallback',
|
package/game/game_pb.js
CHANGED
|
@@ -115,6 +115,7 @@ goog.exportSymbol('proto.game.SearchGamesIntoProvidersRequest', null, global);
|
|
|
115
115
|
goog.exportSymbol('proto.game.SearchGamesIntoTagsRequest', null, global);
|
|
116
116
|
goog.exportSymbol('proto.game.SegmentedUserRequest', null, global);
|
|
117
117
|
goog.exportSymbol('proto.game.SegmentedUserResponse', null, global);
|
|
118
|
+
goog.exportSymbol('proto.game.SyncImagesRequest', null, global);
|
|
118
119
|
goog.exportSymbol('proto.game.TagGamesRequest', null, global);
|
|
119
120
|
goog.exportSymbol('proto.game.TagItem', null, global);
|
|
120
121
|
goog.exportSymbol('proto.game.TagItemRequest', null, global);
|
|
@@ -387,6 +388,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
387
388
|
*/
|
|
388
389
|
proto.game.ItemsBunchRequest.displayName = 'proto.game.ItemsBunchRequest';
|
|
389
390
|
}
|
|
391
|
+
/**
|
|
392
|
+
* Generated by JsPbCodeGenerator.
|
|
393
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
394
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
395
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
396
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
397
|
+
* valid.
|
|
398
|
+
* @extends {jspb.Message}
|
|
399
|
+
* @constructor
|
|
400
|
+
*/
|
|
401
|
+
proto.game.SyncImagesRequest = function(opt_data) {
|
|
402
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
403
|
+
};
|
|
404
|
+
goog.inherits(proto.game.SyncImagesRequest, jspb.Message);
|
|
405
|
+
if (goog.DEBUG && !COMPILED) {
|
|
406
|
+
/**
|
|
407
|
+
* @public
|
|
408
|
+
* @override
|
|
409
|
+
*/
|
|
410
|
+
proto.game.SyncImagesRequest.displayName = 'proto.game.SyncImagesRequest';
|
|
411
|
+
}
|
|
390
412
|
/**
|
|
391
413
|
* Generated by JsPbCodeGenerator.
|
|
392
414
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -6087,6 +6109,136 @@ proto.game.ItemsBunchRequest.prototype.hasIsActive = function() {
|
|
|
6087
6109
|
|
|
6088
6110
|
|
|
6089
6111
|
|
|
6112
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6113
|
+
/**
|
|
6114
|
+
* Creates an object representation of this proto.
|
|
6115
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
6116
|
+
* Optional fields that are not set will be set to undefined.
|
|
6117
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
6118
|
+
* For the list of reserved names please see:
|
|
6119
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
6120
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
6121
|
+
* JSPB instance for transitional soy proto support:
|
|
6122
|
+
* http://goto/soy-param-migration
|
|
6123
|
+
* @return {!Object}
|
|
6124
|
+
*/
|
|
6125
|
+
proto.game.SyncImagesRequest.prototype.toObject = function(opt_includeInstance) {
|
|
6126
|
+
return proto.game.SyncImagesRequest.toObject(opt_includeInstance, this);
|
|
6127
|
+
};
|
|
6128
|
+
|
|
6129
|
+
|
|
6130
|
+
/**
|
|
6131
|
+
* Static version of the {@see toObject} method.
|
|
6132
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6133
|
+
* the JSPB instance for transitional soy proto support:
|
|
6134
|
+
* http://goto/soy-param-migration
|
|
6135
|
+
* @param {!proto.game.SyncImagesRequest} msg The msg instance to transform.
|
|
6136
|
+
* @return {!Object}
|
|
6137
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6138
|
+
*/
|
|
6139
|
+
proto.game.SyncImagesRequest.toObject = function(includeInstance, msg) {
|
|
6140
|
+
var f, obj = {
|
|
6141
|
+
type: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
6142
|
+
};
|
|
6143
|
+
|
|
6144
|
+
if (includeInstance) {
|
|
6145
|
+
obj.$jspbMessageInstance = msg;
|
|
6146
|
+
}
|
|
6147
|
+
return obj;
|
|
6148
|
+
};
|
|
6149
|
+
}
|
|
6150
|
+
|
|
6151
|
+
|
|
6152
|
+
/**
|
|
6153
|
+
* Deserializes binary data (in protobuf wire format).
|
|
6154
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6155
|
+
* @return {!proto.game.SyncImagesRequest}
|
|
6156
|
+
*/
|
|
6157
|
+
proto.game.SyncImagesRequest.deserializeBinary = function(bytes) {
|
|
6158
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
6159
|
+
var msg = new proto.game.SyncImagesRequest;
|
|
6160
|
+
return proto.game.SyncImagesRequest.deserializeBinaryFromReader(msg, reader);
|
|
6161
|
+
};
|
|
6162
|
+
|
|
6163
|
+
|
|
6164
|
+
/**
|
|
6165
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
6166
|
+
* given reader into the given message object.
|
|
6167
|
+
* @param {!proto.game.SyncImagesRequest} msg The message object to deserialize into.
|
|
6168
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6169
|
+
* @return {!proto.game.SyncImagesRequest}
|
|
6170
|
+
*/
|
|
6171
|
+
proto.game.SyncImagesRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
6172
|
+
while (reader.nextField()) {
|
|
6173
|
+
if (reader.isEndGroup()) {
|
|
6174
|
+
break;
|
|
6175
|
+
}
|
|
6176
|
+
var field = reader.getFieldNumber();
|
|
6177
|
+
switch (field) {
|
|
6178
|
+
case 1:
|
|
6179
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6180
|
+
msg.setType(value);
|
|
6181
|
+
break;
|
|
6182
|
+
default:
|
|
6183
|
+
reader.skipField();
|
|
6184
|
+
break;
|
|
6185
|
+
}
|
|
6186
|
+
}
|
|
6187
|
+
return msg;
|
|
6188
|
+
};
|
|
6189
|
+
|
|
6190
|
+
|
|
6191
|
+
/**
|
|
6192
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
6193
|
+
* @return {!Uint8Array}
|
|
6194
|
+
*/
|
|
6195
|
+
proto.game.SyncImagesRequest.prototype.serializeBinary = function() {
|
|
6196
|
+
var writer = new jspb.BinaryWriter();
|
|
6197
|
+
proto.game.SyncImagesRequest.serializeBinaryToWriter(this, writer);
|
|
6198
|
+
return writer.getResultBuffer();
|
|
6199
|
+
};
|
|
6200
|
+
|
|
6201
|
+
|
|
6202
|
+
/**
|
|
6203
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
6204
|
+
* format), writing to the given BinaryWriter.
|
|
6205
|
+
* @param {!proto.game.SyncImagesRequest} message
|
|
6206
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6207
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6208
|
+
*/
|
|
6209
|
+
proto.game.SyncImagesRequest.serializeBinaryToWriter = function(message, writer) {
|
|
6210
|
+
var f = undefined;
|
|
6211
|
+
f = message.getType();
|
|
6212
|
+
if (f.length > 0) {
|
|
6213
|
+
writer.writeString(
|
|
6214
|
+
1,
|
|
6215
|
+
f
|
|
6216
|
+
);
|
|
6217
|
+
}
|
|
6218
|
+
};
|
|
6219
|
+
|
|
6220
|
+
|
|
6221
|
+
/**
|
|
6222
|
+
* optional string type = 1;
|
|
6223
|
+
* @return {string}
|
|
6224
|
+
*/
|
|
6225
|
+
proto.game.SyncImagesRequest.prototype.getType = function() {
|
|
6226
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
6227
|
+
};
|
|
6228
|
+
|
|
6229
|
+
|
|
6230
|
+
/**
|
|
6231
|
+
* @param {string} value
|
|
6232
|
+
* @return {!proto.game.SyncImagesRequest} returns this
|
|
6233
|
+
*/
|
|
6234
|
+
proto.game.SyncImagesRequest.prototype.setType = function(value) {
|
|
6235
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
6236
|
+
};
|
|
6237
|
+
|
|
6238
|
+
|
|
6239
|
+
|
|
6240
|
+
|
|
6241
|
+
|
|
6090
6242
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6091
6243
|
/**
|
|
6092
6244
|
* Creates an object representation of this proto.
|