protobuf-platform 1.0.227 → 1.0.229
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/package.json +1 -1
- package/user/user.proto +3 -2
- package/user/user_grpc_pb.js +3 -3
- package/user/user_pb.js +70 -4
package/package.json
CHANGED
package/user/user.proto
CHANGED
@@ -24,7 +24,7 @@ service User {
|
|
24
24
|
rpc addUsersIntoSegments(GetSegmentRequest) returns (SegmentStatusResponse);
|
25
25
|
rpc addUsersIntoMultiSegments(GetSegmentRequest) returns (SegmentStatusResponse);
|
26
26
|
rpc removeUsersFromSegments(GetSegmentRequest) returns (SegmentStatusResponse);
|
27
|
-
rpc fetchUsersFromSegment(
|
27
|
+
rpc fetchUsersFromSegment(PaginationRequest) returns (UsersResponse);
|
28
28
|
//Risk Status
|
29
29
|
rpc readListRiskStatuses(PaginationRequest) returns (RiskStatusItemsResponse);
|
30
30
|
//Dashboard
|
@@ -44,7 +44,8 @@ message UserSearchParams {
|
|
44
44
|
repeated int32 user_ids = 2;
|
45
45
|
}
|
46
46
|
message SegmentSearchParams {
|
47
|
-
string type = 1;
|
47
|
+
optional string type = 1;
|
48
|
+
optional string geo = 2;
|
48
49
|
}
|
49
50
|
|
50
51
|
//Auth [Registration & Login]
|
package/user/user_grpc_pb.js
CHANGED
@@ -454,10 +454,10 @@ createSingleSegment: {
|
|
454
454
|
path: '/user.User/fetchUsersFromSegment',
|
455
455
|
requestStream: false,
|
456
456
|
responseStream: false,
|
457
|
-
requestType: user_pb.
|
457
|
+
requestType: user_pb.PaginationRequest,
|
458
458
|
responseType: user_pb.UsersResponse,
|
459
|
-
requestSerialize:
|
460
|
-
requestDeserialize:
|
459
|
+
requestSerialize: serialize_user_PaginationRequest,
|
460
|
+
requestDeserialize: deserialize_user_PaginationRequest,
|
461
461
|
responseSerialize: serialize_user_UsersResponse,
|
462
462
|
responseDeserialize: deserialize_user_UsersResponse,
|
463
463
|
},
|
package/user/user_pb.js
CHANGED
@@ -1376,7 +1376,8 @@ proto.user.SegmentSearchParams.prototype.toObject = function(opt_includeInstance
|
|
1376
1376
|
*/
|
1377
1377
|
proto.user.SegmentSearchParams.toObject = function(includeInstance, msg) {
|
1378
1378
|
var f, obj = {
|
1379
|
-
type: jspb.Message.getFieldWithDefault(msg, 1, "")
|
1379
|
+
type: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
1380
|
+
geo: jspb.Message.getFieldWithDefault(msg, 2, "")
|
1380
1381
|
};
|
1381
1382
|
|
1382
1383
|
if (includeInstance) {
|
@@ -1417,6 +1418,10 @@ proto.user.SegmentSearchParams.deserializeBinaryFromReader = function(msg, reade
|
|
1417
1418
|
var value = /** @type {string} */ (reader.readString());
|
1418
1419
|
msg.setType(value);
|
1419
1420
|
break;
|
1421
|
+
case 2:
|
1422
|
+
var value = /** @type {string} */ (reader.readString());
|
1423
|
+
msg.setGeo(value);
|
1424
|
+
break;
|
1420
1425
|
default:
|
1421
1426
|
reader.skipField();
|
1422
1427
|
break;
|
@@ -1446,13 +1451,20 @@ proto.user.SegmentSearchParams.prototype.serializeBinary = function() {
|
|
1446
1451
|
*/
|
1447
1452
|
proto.user.SegmentSearchParams.serializeBinaryToWriter = function(message, writer) {
|
1448
1453
|
var f = undefined;
|
1449
|
-
f =
|
1450
|
-
if (f
|
1454
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 1));
|
1455
|
+
if (f != null) {
|
1451
1456
|
writer.writeString(
|
1452
1457
|
1,
|
1453
1458
|
f
|
1454
1459
|
);
|
1455
1460
|
}
|
1461
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
1462
|
+
if (f != null) {
|
1463
|
+
writer.writeString(
|
1464
|
+
2,
|
1465
|
+
f
|
1466
|
+
);
|
1467
|
+
}
|
1456
1468
|
};
|
1457
1469
|
|
1458
1470
|
|
@@ -1470,7 +1482,61 @@ proto.user.SegmentSearchParams.prototype.getType = function() {
|
|
1470
1482
|
* @return {!proto.user.SegmentSearchParams} returns this
|
1471
1483
|
*/
|
1472
1484
|
proto.user.SegmentSearchParams.prototype.setType = function(value) {
|
1473
|
-
return jspb.Message.
|
1485
|
+
return jspb.Message.setField(this, 1, value);
|
1486
|
+
};
|
1487
|
+
|
1488
|
+
|
1489
|
+
/**
|
1490
|
+
* Clears the field making it undefined.
|
1491
|
+
* @return {!proto.user.SegmentSearchParams} returns this
|
1492
|
+
*/
|
1493
|
+
proto.user.SegmentSearchParams.prototype.clearType = function() {
|
1494
|
+
return jspb.Message.setField(this, 1, undefined);
|
1495
|
+
};
|
1496
|
+
|
1497
|
+
|
1498
|
+
/**
|
1499
|
+
* Returns whether this field is set.
|
1500
|
+
* @return {boolean}
|
1501
|
+
*/
|
1502
|
+
proto.user.SegmentSearchParams.prototype.hasType = function() {
|
1503
|
+
return jspb.Message.getField(this, 1) != null;
|
1504
|
+
};
|
1505
|
+
|
1506
|
+
|
1507
|
+
/**
|
1508
|
+
* optional string geo = 2;
|
1509
|
+
* @return {string}
|
1510
|
+
*/
|
1511
|
+
proto.user.SegmentSearchParams.prototype.getGeo = function() {
|
1512
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
1513
|
+
};
|
1514
|
+
|
1515
|
+
|
1516
|
+
/**
|
1517
|
+
* @param {string} value
|
1518
|
+
* @return {!proto.user.SegmentSearchParams} returns this
|
1519
|
+
*/
|
1520
|
+
proto.user.SegmentSearchParams.prototype.setGeo = function(value) {
|
1521
|
+
return jspb.Message.setField(this, 2, value);
|
1522
|
+
};
|
1523
|
+
|
1524
|
+
|
1525
|
+
/**
|
1526
|
+
* Clears the field making it undefined.
|
1527
|
+
* @return {!proto.user.SegmentSearchParams} returns this
|
1528
|
+
*/
|
1529
|
+
proto.user.SegmentSearchParams.prototype.clearGeo = function() {
|
1530
|
+
return jspb.Message.setField(this, 2, undefined);
|
1531
|
+
};
|
1532
|
+
|
1533
|
+
|
1534
|
+
/**
|
1535
|
+
* Returns whether this field is set.
|
1536
|
+
* @return {boolean}
|
1537
|
+
*/
|
1538
|
+
proto.user.SegmentSearchParams.prototype.hasGeo = function() {
|
1539
|
+
return jspb.Message.getField(this, 2) != null;
|
1474
1540
|
};
|
1475
1541
|
|
1476
1542
|
|