protobuf-platform 1.0.289 → 1.0.291
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 +36 -0
- package/game/game_grpc_pb.js +122 -0
- package/game/game_pb.js +1435 -0
- package/notification/notification.proto +1 -0
- package/notification/notification_pb.js +49 -1
- package/package.json +1 -1
package/game/game.proto
CHANGED
@@ -75,6 +75,13 @@ service Game {
|
|
75
75
|
rpc fetchGamesFromWagerList(PaginationRequest) returns (GameItemsResponse);
|
76
76
|
rpc notProcessedGamesInWagerList(PaginationRequest) returns (GameItemsResponse);
|
77
77
|
rpc getPoorWagerLists(WagerSearchRequest) returns (WagerListItemsResponse);
|
78
|
+
//CashBack lists
|
79
|
+
rpc readSingleCashBackList(GetCashBackListRequest) returns (CashBackListResponse);
|
80
|
+
rpc createSingleCashBackList(CashBackListRequest) returns (CashBackListResponse);
|
81
|
+
rpc updateSingleCashBackList(CashBackListRequest) returns (CashBackListResponse);
|
82
|
+
rpc deleteSingleCashBackList(GetCashBackListRequest) returns (GameStatusResponse);
|
83
|
+
rpc getArrayCashBackList(PaginationRequest) returns (CashBackListItemsResponse);
|
84
|
+
rpc addGamesIntoCashBackList(CashBackListGamesRequest) returns (GameStatusResponse);
|
78
85
|
//Dashboard
|
79
86
|
rpc getDashboardInfo(DashboardRequest) returns (DashboardResponse);
|
80
87
|
//SEO
|
@@ -555,6 +562,35 @@ message WagerListItemsResponse {
|
|
555
562
|
optional int32 total_pages = 2;
|
556
563
|
optional int32 total_items = 3;
|
557
564
|
}
|
565
|
+
//CashBack Lists
|
566
|
+
message GetCashBackListRequest {
|
567
|
+
int32 id = 1;
|
568
|
+
optional bool only_games = 2;
|
569
|
+
}
|
570
|
+
message CashBackListRequest {
|
571
|
+
optional int32 id = 1;
|
572
|
+
optional int32 cashback_id = 2;
|
573
|
+
optional string title = 3;
|
574
|
+
optional string description = 4;
|
575
|
+
}
|
576
|
+
message CashBackListGamesRequest {
|
577
|
+
int32 id = 1;
|
578
|
+
repeated int32 game_ids = 2;
|
579
|
+
}
|
580
|
+
message CashBackListItem {
|
581
|
+
int32 id = 1;
|
582
|
+
int32 cashback_id = 2;
|
583
|
+
string title = 3;
|
584
|
+
optional string description = 4;
|
585
|
+
}
|
586
|
+
message CashBackListResponse {
|
587
|
+
CashBackListItem data = 1;
|
588
|
+
}
|
589
|
+
message CashBackListItemsResponse {
|
590
|
+
repeated CashBackListItem items = 1;
|
591
|
+
optional int32 total_pages = 2;
|
592
|
+
optional int32 total_items = 3;
|
593
|
+
}
|
558
594
|
//Dashboard
|
559
595
|
message DashboardRequest {
|
560
596
|
string start_date = 1;
|
package/game/game_grpc_pb.js
CHANGED
@@ -4,6 +4,50 @@
|
|
4
4
|
var grpc = require('@grpc/grpc-js');
|
5
5
|
var game_pb = require('./game_pb.js');
|
6
6
|
|
7
|
+
function serialize_game_CashBackListGamesRequest(arg) {
|
8
|
+
if (!(arg instanceof game_pb.CashBackListGamesRequest)) {
|
9
|
+
throw new Error('Expected argument of type game.CashBackListGamesRequest');
|
10
|
+
}
|
11
|
+
return Buffer.from(arg.serializeBinary());
|
12
|
+
}
|
13
|
+
|
14
|
+
function deserialize_game_CashBackListGamesRequest(buffer_arg) {
|
15
|
+
return game_pb.CashBackListGamesRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
16
|
+
}
|
17
|
+
|
18
|
+
function serialize_game_CashBackListItemsResponse(arg) {
|
19
|
+
if (!(arg instanceof game_pb.CashBackListItemsResponse)) {
|
20
|
+
throw new Error('Expected argument of type game.CashBackListItemsResponse');
|
21
|
+
}
|
22
|
+
return Buffer.from(arg.serializeBinary());
|
23
|
+
}
|
24
|
+
|
25
|
+
function deserialize_game_CashBackListItemsResponse(buffer_arg) {
|
26
|
+
return game_pb.CashBackListItemsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
27
|
+
}
|
28
|
+
|
29
|
+
function serialize_game_CashBackListRequest(arg) {
|
30
|
+
if (!(arg instanceof game_pb.CashBackListRequest)) {
|
31
|
+
throw new Error('Expected argument of type game.CashBackListRequest');
|
32
|
+
}
|
33
|
+
return Buffer.from(arg.serializeBinary());
|
34
|
+
}
|
35
|
+
|
36
|
+
function deserialize_game_CashBackListRequest(buffer_arg) {
|
37
|
+
return game_pb.CashBackListRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
38
|
+
}
|
39
|
+
|
40
|
+
function serialize_game_CashBackListResponse(arg) {
|
41
|
+
if (!(arg instanceof game_pb.CashBackListResponse)) {
|
42
|
+
throw new Error('Expected argument of type game.CashBackListResponse');
|
43
|
+
}
|
44
|
+
return Buffer.from(arg.serializeBinary());
|
45
|
+
}
|
46
|
+
|
47
|
+
function deserialize_game_CashBackListResponse(buffer_arg) {
|
48
|
+
return game_pb.CashBackListResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
49
|
+
}
|
50
|
+
|
7
51
|
function serialize_game_CategoryItemsResponse(arg) {
|
8
52
|
if (!(arg instanceof game_pb.CategoryItemsResponse)) {
|
9
53
|
throw new Error('Expected argument of type game.CategoryItemsResponse');
|
@@ -323,6 +367,17 @@ function deserialize_game_GamesUuids(buffer_arg) {
|
|
323
367
|
return game_pb.GamesUuids.deserializeBinary(new Uint8Array(buffer_arg));
|
324
368
|
}
|
325
369
|
|
370
|
+
function serialize_game_GetCashBackListRequest(arg) {
|
371
|
+
if (!(arg instanceof game_pb.GetCashBackListRequest)) {
|
372
|
+
throw new Error('Expected argument of type game.GetCashBackListRequest');
|
373
|
+
}
|
374
|
+
return Buffer.from(arg.serializeBinary());
|
375
|
+
}
|
376
|
+
|
377
|
+
function deserialize_game_GetCashBackListRequest(buffer_arg) {
|
378
|
+
return game_pb.GetCashBackListRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
379
|
+
}
|
380
|
+
|
326
381
|
function serialize_game_GetCategoryRequest(arg) {
|
327
382
|
if (!(arg instanceof game_pb.GetCategoryRequest)) {
|
328
383
|
throw new Error('Expected argument of type game.GetCategoryRequest');
|
@@ -1489,6 +1544,73 @@ readSingleWagerList: {
|
|
1489
1544
|
responseSerialize: serialize_game_WagerListItemsResponse,
|
1490
1545
|
responseDeserialize: deserialize_game_WagerListItemsResponse,
|
1491
1546
|
},
|
1547
|
+
// CashBack lists
|
1548
|
+
readSingleCashBackList: {
|
1549
|
+
path: '/game.Game/readSingleCashBackList',
|
1550
|
+
requestStream: false,
|
1551
|
+
responseStream: false,
|
1552
|
+
requestType: game_pb.GetCashBackListRequest,
|
1553
|
+
responseType: game_pb.CashBackListResponse,
|
1554
|
+
requestSerialize: serialize_game_GetCashBackListRequest,
|
1555
|
+
requestDeserialize: deserialize_game_GetCashBackListRequest,
|
1556
|
+
responseSerialize: serialize_game_CashBackListResponse,
|
1557
|
+
responseDeserialize: deserialize_game_CashBackListResponse,
|
1558
|
+
},
|
1559
|
+
createSingleCashBackList: {
|
1560
|
+
path: '/game.Game/createSingleCashBackList',
|
1561
|
+
requestStream: false,
|
1562
|
+
responseStream: false,
|
1563
|
+
requestType: game_pb.CashBackListRequest,
|
1564
|
+
responseType: game_pb.CashBackListResponse,
|
1565
|
+
requestSerialize: serialize_game_CashBackListRequest,
|
1566
|
+
requestDeserialize: deserialize_game_CashBackListRequest,
|
1567
|
+
responseSerialize: serialize_game_CashBackListResponse,
|
1568
|
+
responseDeserialize: deserialize_game_CashBackListResponse,
|
1569
|
+
},
|
1570
|
+
updateSingleCashBackList: {
|
1571
|
+
path: '/game.Game/updateSingleCashBackList',
|
1572
|
+
requestStream: false,
|
1573
|
+
responseStream: false,
|
1574
|
+
requestType: game_pb.CashBackListRequest,
|
1575
|
+
responseType: game_pb.CashBackListResponse,
|
1576
|
+
requestSerialize: serialize_game_CashBackListRequest,
|
1577
|
+
requestDeserialize: deserialize_game_CashBackListRequest,
|
1578
|
+
responseSerialize: serialize_game_CashBackListResponse,
|
1579
|
+
responseDeserialize: deserialize_game_CashBackListResponse,
|
1580
|
+
},
|
1581
|
+
deleteSingleCashBackList: {
|
1582
|
+
path: '/game.Game/deleteSingleCashBackList',
|
1583
|
+
requestStream: false,
|
1584
|
+
responseStream: false,
|
1585
|
+
requestType: game_pb.GetCashBackListRequest,
|
1586
|
+
responseType: game_pb.GameStatusResponse,
|
1587
|
+
requestSerialize: serialize_game_GetCashBackListRequest,
|
1588
|
+
requestDeserialize: deserialize_game_GetCashBackListRequest,
|
1589
|
+
responseSerialize: serialize_game_GameStatusResponse,
|
1590
|
+
responseDeserialize: deserialize_game_GameStatusResponse,
|
1591
|
+
},
|
1592
|
+
getArrayCashBackList: {
|
1593
|
+
path: '/game.Game/getArrayCashBackList',
|
1594
|
+
requestStream: false,
|
1595
|
+
responseStream: false,
|
1596
|
+
requestType: game_pb.PaginationRequest,
|
1597
|
+
responseType: game_pb.CashBackListItemsResponse,
|
1598
|
+
requestSerialize: serialize_game_PaginationRequest,
|
1599
|
+
requestDeserialize: deserialize_game_PaginationRequest,
|
1600
|
+
responseSerialize: serialize_game_CashBackListItemsResponse,
|
1601
|
+
responseDeserialize: deserialize_game_CashBackListItemsResponse,
|
1602
|
+
},
|
1603
|
+
addGamesIntoCashBackList: {
|
1604
|
+
path: '/game.Game/addGamesIntoCashBackList',
|
1605
|
+
requestStream: false,
|
1606
|
+
responseStream: false,
|
1607
|
+
requestType: game_pb.CashBackListGamesRequest,
|
1608
|
+
responseType: game_pb.GameStatusResponse,
|
1609
|
+
requestSerialize: serialize_game_CashBackListGamesRequest,
|
1610
|
+
requestDeserialize: deserialize_game_CashBackListGamesRequest,
|
1611
|
+
responseSerialize: serialize_game_GameStatusResponse,
|
1612
|
+
responseDeserialize: deserialize_game_GameStatusResponse,
|
1613
|
+
},
|
1492
1614
|
// Dashboard
|
1493
1615
|
getDashboardInfo: {
|
1494
1616
|
path: '/game.Game/getDashboardInfo',
|