protobuf-platform 1.2.378 → 1.2.381
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.
|
@@ -57,6 +57,8 @@ message NotificationSearchRequest {
|
|
|
57
57
|
optional string category = 7;
|
|
58
58
|
optional string trigger = 8;
|
|
59
59
|
optional string search = 9;
|
|
60
|
+
repeated string categories = 10; // optional multiselect category filter
|
|
61
|
+
repeated string triggers = 11; // optional multiselect trigger filter
|
|
60
62
|
}
|
|
61
63
|
message UserSearchRequest {
|
|
62
64
|
int32 user_id = 1;
|
|
@@ -1486,7 +1486,7 @@ proto.notification.PaginationRequest.prototype.hasMailTemplateSearchParams = fun
|
|
|
1486
1486
|
* @private {!Array<number>}
|
|
1487
1487
|
* @const
|
|
1488
1488
|
*/
|
|
1489
|
-
proto.notification.NotificationSearchRequest.repeatedFields_ = [4];
|
|
1489
|
+
proto.notification.NotificationSearchRequest.repeatedFields_ = [4,10,11];
|
|
1490
1490
|
|
|
1491
1491
|
|
|
1492
1492
|
|
|
@@ -1527,7 +1527,9 @@ proto.notification.NotificationSearchRequest.toObject = function(includeInstance
|
|
|
1527
1527
|
isActive: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
1528
1528
|
category: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
1529
1529
|
trigger: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
1530
|
-
search: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
1530
|
+
search: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
1531
|
+
categoriesList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f,
|
|
1532
|
+
triggersList: (f = jspb.Message.getRepeatedField(msg, 11)) == null ? undefined : f
|
|
1531
1533
|
};
|
|
1532
1534
|
|
|
1533
1535
|
if (includeInstance) {
|
|
@@ -1602,6 +1604,14 @@ proto.notification.NotificationSearchRequest.deserializeBinaryFromReader = funct
|
|
|
1602
1604
|
var value = /** @type {string} */ (reader.readString());
|
|
1603
1605
|
msg.setSearch(value);
|
|
1604
1606
|
break;
|
|
1607
|
+
case 10:
|
|
1608
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1609
|
+
msg.addCategories(value);
|
|
1610
|
+
break;
|
|
1611
|
+
case 11:
|
|
1612
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1613
|
+
msg.addTriggers(value);
|
|
1614
|
+
break;
|
|
1605
1615
|
default:
|
|
1606
1616
|
reader.skipField();
|
|
1607
1617
|
break;
|
|
@@ -1694,6 +1704,20 @@ proto.notification.NotificationSearchRequest.serializeBinaryToWriter = function(
|
|
|
1694
1704
|
f
|
|
1695
1705
|
);
|
|
1696
1706
|
}
|
|
1707
|
+
f = message.getCategoriesList();
|
|
1708
|
+
if (f.length > 0) {
|
|
1709
|
+
writer.writeRepeatedString(
|
|
1710
|
+
10,
|
|
1711
|
+
f
|
|
1712
|
+
);
|
|
1713
|
+
}
|
|
1714
|
+
f = message.getTriggersList();
|
|
1715
|
+
if (f.length > 0) {
|
|
1716
|
+
writer.writeRepeatedString(
|
|
1717
|
+
11,
|
|
1718
|
+
f
|
|
1719
|
+
);
|
|
1720
|
+
}
|
|
1697
1721
|
};
|
|
1698
1722
|
|
|
1699
1723
|
|
|
@@ -2022,6 +2046,80 @@ proto.notification.NotificationSearchRequest.prototype.hasSearch = function() {
|
|
|
2022
2046
|
};
|
|
2023
2047
|
|
|
2024
2048
|
|
|
2049
|
+
/**
|
|
2050
|
+
* repeated string categories = 10;
|
|
2051
|
+
* @return {!Array<string>}
|
|
2052
|
+
*/
|
|
2053
|
+
proto.notification.NotificationSearchRequest.prototype.getCategoriesList = function() {
|
|
2054
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 10));
|
|
2055
|
+
};
|
|
2056
|
+
|
|
2057
|
+
|
|
2058
|
+
/**
|
|
2059
|
+
* @param {!Array<string>} value
|
|
2060
|
+
* @return {!proto.notification.NotificationSearchRequest} returns this
|
|
2061
|
+
*/
|
|
2062
|
+
proto.notification.NotificationSearchRequest.prototype.setCategoriesList = function(value) {
|
|
2063
|
+
return jspb.Message.setField(this, 10, value || []);
|
|
2064
|
+
};
|
|
2065
|
+
|
|
2066
|
+
|
|
2067
|
+
/**
|
|
2068
|
+
* @param {string} value
|
|
2069
|
+
* @param {number=} opt_index
|
|
2070
|
+
* @return {!proto.notification.NotificationSearchRequest} returns this
|
|
2071
|
+
*/
|
|
2072
|
+
proto.notification.NotificationSearchRequest.prototype.addCategories = function(value, opt_index) {
|
|
2073
|
+
return jspb.Message.addToRepeatedField(this, 10, value, opt_index);
|
|
2074
|
+
};
|
|
2075
|
+
|
|
2076
|
+
|
|
2077
|
+
/**
|
|
2078
|
+
* Clears the list making it empty but non-null.
|
|
2079
|
+
* @return {!proto.notification.NotificationSearchRequest} returns this
|
|
2080
|
+
*/
|
|
2081
|
+
proto.notification.NotificationSearchRequest.prototype.clearCategoriesList = function() {
|
|
2082
|
+
return this.setCategoriesList([]);
|
|
2083
|
+
};
|
|
2084
|
+
|
|
2085
|
+
|
|
2086
|
+
/**
|
|
2087
|
+
* repeated string triggers = 11;
|
|
2088
|
+
* @return {!Array<string>}
|
|
2089
|
+
*/
|
|
2090
|
+
proto.notification.NotificationSearchRequest.prototype.getTriggersList = function() {
|
|
2091
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 11));
|
|
2092
|
+
};
|
|
2093
|
+
|
|
2094
|
+
|
|
2095
|
+
/**
|
|
2096
|
+
* @param {!Array<string>} value
|
|
2097
|
+
* @return {!proto.notification.NotificationSearchRequest} returns this
|
|
2098
|
+
*/
|
|
2099
|
+
proto.notification.NotificationSearchRequest.prototype.setTriggersList = function(value) {
|
|
2100
|
+
return jspb.Message.setField(this, 11, value || []);
|
|
2101
|
+
};
|
|
2102
|
+
|
|
2103
|
+
|
|
2104
|
+
/**
|
|
2105
|
+
* @param {string} value
|
|
2106
|
+
* @param {number=} opt_index
|
|
2107
|
+
* @return {!proto.notification.NotificationSearchRequest} returns this
|
|
2108
|
+
*/
|
|
2109
|
+
proto.notification.NotificationSearchRequest.prototype.addTriggers = function(value, opt_index) {
|
|
2110
|
+
return jspb.Message.addToRepeatedField(this, 11, value, opt_index);
|
|
2111
|
+
};
|
|
2112
|
+
|
|
2113
|
+
|
|
2114
|
+
/**
|
|
2115
|
+
* Clears the list making it empty but non-null.
|
|
2116
|
+
* @return {!proto.notification.NotificationSearchRequest} returns this
|
|
2117
|
+
*/
|
|
2118
|
+
proto.notification.NotificationSearchRequest.prototype.clearTriggersList = function() {
|
|
2119
|
+
return this.setTriggersList([]);
|
|
2120
|
+
};
|
|
2121
|
+
|
|
2122
|
+
|
|
2025
2123
|
|
|
2026
2124
|
|
|
2027
2125
|
|