protobuf-platform 1.2.675 → 1.2.677
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 +12 -0
- package/game/game_grpc_pb.js +47 -0
- package/game/game_pb.js +248 -0
- package/notification/notification.proto +7 -0
- package/notification/notification_pb.js +195 -3
- package/package.json +1 -1
package/game/game.proto
CHANGED
|
@@ -123,6 +123,12 @@ service Game {
|
|
|
123
123
|
rpc getCategoryHierarchyByIds(CategoryHierarchyRequest) returns (CategoryHierarchyResponse);
|
|
124
124
|
/** Public active category with active direct collections; unknown/inactive slugs return NOT_FOUND. */
|
|
125
125
|
rpc getCategoryBySlug(GetCategoryBySlugRequest) returns (CategoryHierarchyItem);
|
|
126
|
+
/** Public active tag; unknown/inactive slugs return NOT_FOUND. */
|
|
127
|
+
rpc getTagBySlug(GetGameEntityBySlugRequest) returns (TagResponse);
|
|
128
|
+
/** Public active collection; unknown/inactive slugs return NOT_FOUND. */
|
|
129
|
+
rpc getCollectionBySlug(GetGameEntityBySlugRequest) returns (CollectionResponse);
|
|
130
|
+
/** Public canonical provider; unknown/inactive slugs return NOT_FOUND. */
|
|
131
|
+
rpc getProviderBySlug(GetGameEntityBySlugRequest) returns (ProviderResponse);
|
|
126
132
|
rpc getProviderCatalogBatch(CatalogCursorRequest) returns (ProviderCatalogBatchResponse);
|
|
127
133
|
rpc getGameCatalogBatch(CatalogCursorRequest) returns (GameCatalogBatchResponse);
|
|
128
134
|
//Wager lists
|
|
@@ -1457,6 +1463,12 @@ message GetCategoryBySlugRequest {
|
|
|
1457
1463
|
string slug = 1;
|
|
1458
1464
|
optional string locale = 2;
|
|
1459
1465
|
}
|
|
1466
|
+
/** Public tag, collection, or provider lookup with optional localized display metadata. */
|
|
1467
|
+
message GetGameEntityBySlugRequest {
|
|
1468
|
+
string slug = 1;
|
|
1469
|
+
optional string locale = 2;
|
|
1470
|
+
optional string geo = 3;
|
|
1471
|
+
}
|
|
1460
1472
|
/** Lightweight batch read for Category → Collections hierarchy enrichment. */
|
|
1461
1473
|
message CategoryHierarchyRequest {
|
|
1462
1474
|
repeated int32 ids = 1;
|
package/game/game_grpc_pb.js
CHANGED
|
@@ -697,6 +697,17 @@ function deserialize_game_GetGameConfigCheckRequest(buffer_arg) {
|
|
|
697
697
|
return game_pb.GetGameConfigCheckRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
698
698
|
}
|
|
699
699
|
|
|
700
|
+
function serialize_game_GetGameEntityBySlugRequest(arg) {
|
|
701
|
+
if (!(arg instanceof game_pb.GetGameEntityBySlugRequest)) {
|
|
702
|
+
throw new Error('Expected argument of type game.GetGameEntityBySlugRequest');
|
|
703
|
+
}
|
|
704
|
+
return Buffer.from(arg.serializeBinary());
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
function deserialize_game_GetGameEntityBySlugRequest(buffer_arg) {
|
|
708
|
+
return game_pb.GetGameEntityBySlugRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
709
|
+
}
|
|
710
|
+
|
|
700
711
|
function serialize_game_GetGameRequest(arg) {
|
|
701
712
|
if (!(arg instanceof game_pb.GetGameRequest)) {
|
|
702
713
|
throw new Error('Expected argument of type game.GetGameRequest');
|
|
@@ -2803,6 +2814,42 @@ getCategoryBySlug: {
|
|
|
2803
2814
|
responseSerialize: serialize_game_CategoryHierarchyItem,
|
|
2804
2815
|
responseDeserialize: deserialize_game_CategoryHierarchyItem,
|
|
2805
2816
|
},
|
|
2817
|
+
// * Public active tag; unknown/inactive slugs return NOT_FOUND.
|
|
2818
|
+
getTagBySlug: {
|
|
2819
|
+
path: '/game.Game/getTagBySlug',
|
|
2820
|
+
requestStream: false,
|
|
2821
|
+
responseStream: false,
|
|
2822
|
+
requestType: game_pb.GetGameEntityBySlugRequest,
|
|
2823
|
+
responseType: game_pb.TagResponse,
|
|
2824
|
+
requestSerialize: serialize_game_GetGameEntityBySlugRequest,
|
|
2825
|
+
requestDeserialize: deserialize_game_GetGameEntityBySlugRequest,
|
|
2826
|
+
responseSerialize: serialize_game_TagResponse,
|
|
2827
|
+
responseDeserialize: deserialize_game_TagResponse,
|
|
2828
|
+
},
|
|
2829
|
+
// * Public active collection; unknown/inactive slugs return NOT_FOUND.
|
|
2830
|
+
getCollectionBySlug: {
|
|
2831
|
+
path: '/game.Game/getCollectionBySlug',
|
|
2832
|
+
requestStream: false,
|
|
2833
|
+
responseStream: false,
|
|
2834
|
+
requestType: game_pb.GetGameEntityBySlugRequest,
|
|
2835
|
+
responseType: game_pb.CollectionResponse,
|
|
2836
|
+
requestSerialize: serialize_game_GetGameEntityBySlugRequest,
|
|
2837
|
+
requestDeserialize: deserialize_game_GetGameEntityBySlugRequest,
|
|
2838
|
+
responseSerialize: serialize_game_CollectionResponse,
|
|
2839
|
+
responseDeserialize: deserialize_game_CollectionResponse,
|
|
2840
|
+
},
|
|
2841
|
+
// * Public canonical provider; unknown/inactive slugs return NOT_FOUND.
|
|
2842
|
+
getProviderBySlug: {
|
|
2843
|
+
path: '/game.Game/getProviderBySlug',
|
|
2844
|
+
requestStream: false,
|
|
2845
|
+
responseStream: false,
|
|
2846
|
+
requestType: game_pb.GetGameEntityBySlugRequest,
|
|
2847
|
+
responseType: game_pb.ProviderResponse,
|
|
2848
|
+
requestSerialize: serialize_game_GetGameEntityBySlugRequest,
|
|
2849
|
+
requestDeserialize: deserialize_game_GetGameEntityBySlugRequest,
|
|
2850
|
+
responseSerialize: serialize_game_ProviderResponse,
|
|
2851
|
+
responseDeserialize: deserialize_game_ProviderResponse,
|
|
2852
|
+
},
|
|
2806
2853
|
getProviderCatalogBatch: {
|
|
2807
2854
|
path: '/game.Game/getProviderCatalogBatch',
|
|
2808
2855
|
requestStream: false,
|
package/game/game_pb.js
CHANGED
|
@@ -118,6 +118,7 @@ goog.exportSymbol('proto.game.GetCollectionSnapshotsByIdsRequest', null, global)
|
|
|
118
118
|
goog.exportSymbol('proto.game.GetDistinctGameTypesRequest', null, global);
|
|
119
119
|
goog.exportSymbol('proto.game.GetFileRequest', null, global);
|
|
120
120
|
goog.exportSymbol('proto.game.GetGameConfigCheckRequest', null, global);
|
|
121
|
+
goog.exportSymbol('proto.game.GetGameEntityBySlugRequest', null, global);
|
|
121
122
|
goog.exportSymbol('proto.game.GetGameRequest', null, global);
|
|
122
123
|
goog.exportSymbol('proto.game.GetGameSnapshotsByIdsRequest', null, global);
|
|
123
124
|
goog.exportSymbol('proto.game.GetMultiScopeRequest', null, global);
|
|
@@ -4412,6 +4413,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
4412
4413
|
*/
|
|
4413
4414
|
proto.game.GetCategoryBySlugRequest.displayName = 'proto.game.GetCategoryBySlugRequest';
|
|
4414
4415
|
}
|
|
4416
|
+
/**
|
|
4417
|
+
* Generated by JsPbCodeGenerator.
|
|
4418
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4419
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4420
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4421
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4422
|
+
* valid.
|
|
4423
|
+
* @extends {jspb.Message}
|
|
4424
|
+
* @constructor
|
|
4425
|
+
*/
|
|
4426
|
+
proto.game.GetGameEntityBySlugRequest = function(opt_data) {
|
|
4427
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4428
|
+
};
|
|
4429
|
+
goog.inherits(proto.game.GetGameEntityBySlugRequest, jspb.Message);
|
|
4430
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4431
|
+
/**
|
|
4432
|
+
* @public
|
|
4433
|
+
* @override
|
|
4434
|
+
*/
|
|
4435
|
+
proto.game.GetGameEntityBySlugRequest.displayName = 'proto.game.GetGameEntityBySlugRequest';
|
|
4436
|
+
}
|
|
4415
4437
|
/**
|
|
4416
4438
|
* Generated by JsPbCodeGenerator.
|
|
4417
4439
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -62088,6 +62110,232 @@ proto.game.GetCategoryBySlugRequest.prototype.hasLocale = function() {
|
|
|
62088
62110
|
|
|
62089
62111
|
|
|
62090
62112
|
|
|
62113
|
+
|
|
62114
|
+
|
|
62115
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
62116
|
+
/**
|
|
62117
|
+
* Creates an object representation of this proto.
|
|
62118
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
62119
|
+
* Optional fields that are not set will be set to undefined.
|
|
62120
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
62121
|
+
* For the list of reserved names please see:
|
|
62122
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
62123
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
62124
|
+
* JSPB instance for transitional soy proto support:
|
|
62125
|
+
* http://goto/soy-param-migration
|
|
62126
|
+
* @return {!Object}
|
|
62127
|
+
*/
|
|
62128
|
+
proto.game.GetGameEntityBySlugRequest.prototype.toObject = function(opt_includeInstance) {
|
|
62129
|
+
return proto.game.GetGameEntityBySlugRequest.toObject(opt_includeInstance, this);
|
|
62130
|
+
};
|
|
62131
|
+
|
|
62132
|
+
|
|
62133
|
+
/**
|
|
62134
|
+
* Static version of the {@see toObject} method.
|
|
62135
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
62136
|
+
* the JSPB instance for transitional soy proto support:
|
|
62137
|
+
* http://goto/soy-param-migration
|
|
62138
|
+
* @param {!proto.game.GetGameEntityBySlugRequest} msg The msg instance to transform.
|
|
62139
|
+
* @return {!Object}
|
|
62140
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
62141
|
+
*/
|
|
62142
|
+
proto.game.GetGameEntityBySlugRequest.toObject = function(includeInstance, msg) {
|
|
62143
|
+
var f, obj = {
|
|
62144
|
+
slug: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
62145
|
+
locale: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
62146
|
+
geo: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
62147
|
+
};
|
|
62148
|
+
|
|
62149
|
+
if (includeInstance) {
|
|
62150
|
+
obj.$jspbMessageInstance = msg;
|
|
62151
|
+
}
|
|
62152
|
+
return obj;
|
|
62153
|
+
};
|
|
62154
|
+
}
|
|
62155
|
+
|
|
62156
|
+
|
|
62157
|
+
/**
|
|
62158
|
+
* Deserializes binary data (in protobuf wire format).
|
|
62159
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
62160
|
+
* @return {!proto.game.GetGameEntityBySlugRequest}
|
|
62161
|
+
*/
|
|
62162
|
+
proto.game.GetGameEntityBySlugRequest.deserializeBinary = function(bytes) {
|
|
62163
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
62164
|
+
var msg = new proto.game.GetGameEntityBySlugRequest;
|
|
62165
|
+
return proto.game.GetGameEntityBySlugRequest.deserializeBinaryFromReader(msg, reader);
|
|
62166
|
+
};
|
|
62167
|
+
|
|
62168
|
+
|
|
62169
|
+
/**
|
|
62170
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
62171
|
+
* given reader into the given message object.
|
|
62172
|
+
* @param {!proto.game.GetGameEntityBySlugRequest} msg The message object to deserialize into.
|
|
62173
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
62174
|
+
* @return {!proto.game.GetGameEntityBySlugRequest}
|
|
62175
|
+
*/
|
|
62176
|
+
proto.game.GetGameEntityBySlugRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
62177
|
+
while (reader.nextField()) {
|
|
62178
|
+
if (reader.isEndGroup()) {
|
|
62179
|
+
break;
|
|
62180
|
+
}
|
|
62181
|
+
var field = reader.getFieldNumber();
|
|
62182
|
+
switch (field) {
|
|
62183
|
+
case 1:
|
|
62184
|
+
var value = /** @type {string} */ (reader.readString());
|
|
62185
|
+
msg.setSlug(value);
|
|
62186
|
+
break;
|
|
62187
|
+
case 2:
|
|
62188
|
+
var value = /** @type {string} */ (reader.readString());
|
|
62189
|
+
msg.setLocale(value);
|
|
62190
|
+
break;
|
|
62191
|
+
case 3:
|
|
62192
|
+
var value = /** @type {string} */ (reader.readString());
|
|
62193
|
+
msg.setGeo(value);
|
|
62194
|
+
break;
|
|
62195
|
+
default:
|
|
62196
|
+
reader.skipField();
|
|
62197
|
+
break;
|
|
62198
|
+
}
|
|
62199
|
+
}
|
|
62200
|
+
return msg;
|
|
62201
|
+
};
|
|
62202
|
+
|
|
62203
|
+
|
|
62204
|
+
/**
|
|
62205
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
62206
|
+
* @return {!Uint8Array}
|
|
62207
|
+
*/
|
|
62208
|
+
proto.game.GetGameEntityBySlugRequest.prototype.serializeBinary = function() {
|
|
62209
|
+
var writer = new jspb.BinaryWriter();
|
|
62210
|
+
proto.game.GetGameEntityBySlugRequest.serializeBinaryToWriter(this, writer);
|
|
62211
|
+
return writer.getResultBuffer();
|
|
62212
|
+
};
|
|
62213
|
+
|
|
62214
|
+
|
|
62215
|
+
/**
|
|
62216
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
62217
|
+
* format), writing to the given BinaryWriter.
|
|
62218
|
+
* @param {!proto.game.GetGameEntityBySlugRequest} message
|
|
62219
|
+
* @param {!jspb.BinaryWriter} writer
|
|
62220
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
62221
|
+
*/
|
|
62222
|
+
proto.game.GetGameEntityBySlugRequest.serializeBinaryToWriter = function(message, writer) {
|
|
62223
|
+
var f = undefined;
|
|
62224
|
+
f = message.getSlug();
|
|
62225
|
+
if (f.length > 0) {
|
|
62226
|
+
writer.writeString(
|
|
62227
|
+
1,
|
|
62228
|
+
f
|
|
62229
|
+
);
|
|
62230
|
+
}
|
|
62231
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
62232
|
+
if (f != null) {
|
|
62233
|
+
writer.writeString(
|
|
62234
|
+
2,
|
|
62235
|
+
f
|
|
62236
|
+
);
|
|
62237
|
+
}
|
|
62238
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
62239
|
+
if (f != null) {
|
|
62240
|
+
writer.writeString(
|
|
62241
|
+
3,
|
|
62242
|
+
f
|
|
62243
|
+
);
|
|
62244
|
+
}
|
|
62245
|
+
};
|
|
62246
|
+
|
|
62247
|
+
|
|
62248
|
+
/**
|
|
62249
|
+
* optional string slug = 1;
|
|
62250
|
+
* @return {string}
|
|
62251
|
+
*/
|
|
62252
|
+
proto.game.GetGameEntityBySlugRequest.prototype.getSlug = function() {
|
|
62253
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
62254
|
+
};
|
|
62255
|
+
|
|
62256
|
+
|
|
62257
|
+
/**
|
|
62258
|
+
* @param {string} value
|
|
62259
|
+
* @return {!proto.game.GetGameEntityBySlugRequest} returns this
|
|
62260
|
+
*/
|
|
62261
|
+
proto.game.GetGameEntityBySlugRequest.prototype.setSlug = function(value) {
|
|
62262
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
62263
|
+
};
|
|
62264
|
+
|
|
62265
|
+
|
|
62266
|
+
/**
|
|
62267
|
+
* optional string locale = 2;
|
|
62268
|
+
* @return {string}
|
|
62269
|
+
*/
|
|
62270
|
+
proto.game.GetGameEntityBySlugRequest.prototype.getLocale = function() {
|
|
62271
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
62272
|
+
};
|
|
62273
|
+
|
|
62274
|
+
|
|
62275
|
+
/**
|
|
62276
|
+
* @param {string} value
|
|
62277
|
+
* @return {!proto.game.GetGameEntityBySlugRequest} returns this
|
|
62278
|
+
*/
|
|
62279
|
+
proto.game.GetGameEntityBySlugRequest.prototype.setLocale = function(value) {
|
|
62280
|
+
return jspb.Message.setField(this, 2, value);
|
|
62281
|
+
};
|
|
62282
|
+
|
|
62283
|
+
|
|
62284
|
+
/**
|
|
62285
|
+
* Clears the field making it undefined.
|
|
62286
|
+
* @return {!proto.game.GetGameEntityBySlugRequest} returns this
|
|
62287
|
+
*/
|
|
62288
|
+
proto.game.GetGameEntityBySlugRequest.prototype.clearLocale = function() {
|
|
62289
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
62290
|
+
};
|
|
62291
|
+
|
|
62292
|
+
|
|
62293
|
+
/**
|
|
62294
|
+
* Returns whether this field is set.
|
|
62295
|
+
* @return {boolean}
|
|
62296
|
+
*/
|
|
62297
|
+
proto.game.GetGameEntityBySlugRequest.prototype.hasLocale = function() {
|
|
62298
|
+
return jspb.Message.getField(this, 2) != null;
|
|
62299
|
+
};
|
|
62300
|
+
|
|
62301
|
+
|
|
62302
|
+
/**
|
|
62303
|
+
* optional string geo = 3;
|
|
62304
|
+
* @return {string}
|
|
62305
|
+
*/
|
|
62306
|
+
proto.game.GetGameEntityBySlugRequest.prototype.getGeo = function() {
|
|
62307
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
62308
|
+
};
|
|
62309
|
+
|
|
62310
|
+
|
|
62311
|
+
/**
|
|
62312
|
+
* @param {string} value
|
|
62313
|
+
* @return {!proto.game.GetGameEntityBySlugRequest} returns this
|
|
62314
|
+
*/
|
|
62315
|
+
proto.game.GetGameEntityBySlugRequest.prototype.setGeo = function(value) {
|
|
62316
|
+
return jspb.Message.setField(this, 3, value);
|
|
62317
|
+
};
|
|
62318
|
+
|
|
62319
|
+
|
|
62320
|
+
/**
|
|
62321
|
+
* Clears the field making it undefined.
|
|
62322
|
+
* @return {!proto.game.GetGameEntityBySlugRequest} returns this
|
|
62323
|
+
*/
|
|
62324
|
+
proto.game.GetGameEntityBySlugRequest.prototype.clearGeo = function() {
|
|
62325
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
62326
|
+
};
|
|
62327
|
+
|
|
62328
|
+
|
|
62329
|
+
/**
|
|
62330
|
+
* Returns whether this field is set.
|
|
62331
|
+
* @return {boolean}
|
|
62332
|
+
*/
|
|
62333
|
+
proto.game.GetGameEntityBySlugRequest.prototype.hasGeo = function() {
|
|
62334
|
+
return jspb.Message.getField(this, 3) != null;
|
|
62335
|
+
};
|
|
62336
|
+
|
|
62337
|
+
|
|
62338
|
+
|
|
62091
62339
|
/**
|
|
62092
62340
|
* List of repeated fields within this message type.
|
|
62093
62341
|
* @private {!Array<number>}
|
|
@@ -75,6 +75,8 @@ message UserSearchRequest {
|
|
|
75
75
|
optional bool is_checked = 2;
|
|
76
76
|
optional int32 limit = 3;
|
|
77
77
|
optional int32 offset = 4;
|
|
78
|
+
// Administrative history includes expired recipient rows. Client retrieval leaves this unset.
|
|
79
|
+
optional bool include_expired = 5;
|
|
78
80
|
}
|
|
79
81
|
message ItemsBunchRequest {
|
|
80
82
|
repeated int32 ids = 1;
|
|
@@ -103,6 +105,10 @@ message NotificationItemRequest {
|
|
|
103
105
|
optional string target_title = 12;
|
|
104
106
|
optional string target_slug = 13;
|
|
105
107
|
optional string button_text = 14;
|
|
108
|
+
// Positive hours. Absent on update leaves the stored value unchanged.
|
|
109
|
+
optional int32 remove_after_hours = 15;
|
|
110
|
+
// Explicit clear of remove_after_hours. Independent of field 15 so unset and null stay distinct.
|
|
111
|
+
optional bool clear_remove_after_hours = 16;
|
|
106
112
|
}
|
|
107
113
|
message NotificationRequest {
|
|
108
114
|
oneof request {
|
|
@@ -200,6 +206,7 @@ message NotificationItem {
|
|
|
200
206
|
optional string target_slug = 16;
|
|
201
207
|
optional string button_text = 17;
|
|
202
208
|
optional string target_provider_slug = 18; // response-only; enriched from game-service
|
|
209
|
+
optional int32 remove_after_hours = 19;
|
|
203
210
|
}
|
|
204
211
|
message NotificationResponse {
|
|
205
212
|
NotificationItem data = 1;
|
|
@@ -2419,7 +2419,8 @@ proto.notification.UserSearchRequest.toObject = function(includeInstance, msg) {
|
|
|
2419
2419
|
userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
2420
2420
|
isChecked: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
|
|
2421
2421
|
limit: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
2422
|
-
offset: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
2422
|
+
offset: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
2423
|
+
includeExpired: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
|
|
2423
2424
|
};
|
|
2424
2425
|
|
|
2425
2426
|
if (includeInstance) {
|
|
@@ -2472,6 +2473,10 @@ proto.notification.UserSearchRequest.deserializeBinaryFromReader = function(msg,
|
|
|
2472
2473
|
var value = /** @type {number} */ (reader.readInt32());
|
|
2473
2474
|
msg.setOffset(value);
|
|
2474
2475
|
break;
|
|
2476
|
+
case 5:
|
|
2477
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
2478
|
+
msg.setIncludeExpired(value);
|
|
2479
|
+
break;
|
|
2475
2480
|
default:
|
|
2476
2481
|
reader.skipField();
|
|
2477
2482
|
break;
|
|
@@ -2529,6 +2534,13 @@ proto.notification.UserSearchRequest.serializeBinaryToWriter = function(message,
|
|
|
2529
2534
|
f
|
|
2530
2535
|
);
|
|
2531
2536
|
}
|
|
2537
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 5));
|
|
2538
|
+
if (f != null) {
|
|
2539
|
+
writer.writeBool(
|
|
2540
|
+
5,
|
|
2541
|
+
f
|
|
2542
|
+
);
|
|
2543
|
+
}
|
|
2532
2544
|
};
|
|
2533
2545
|
|
|
2534
2546
|
|
|
@@ -2658,6 +2670,42 @@ proto.notification.UserSearchRequest.prototype.hasOffset = function() {
|
|
|
2658
2670
|
};
|
|
2659
2671
|
|
|
2660
2672
|
|
|
2673
|
+
/**
|
|
2674
|
+
* optional bool include_expired = 5;
|
|
2675
|
+
* @return {boolean}
|
|
2676
|
+
*/
|
|
2677
|
+
proto.notification.UserSearchRequest.prototype.getIncludeExpired = function() {
|
|
2678
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
|
|
2679
|
+
};
|
|
2680
|
+
|
|
2681
|
+
|
|
2682
|
+
/**
|
|
2683
|
+
* @param {boolean} value
|
|
2684
|
+
* @return {!proto.notification.UserSearchRequest} returns this
|
|
2685
|
+
*/
|
|
2686
|
+
proto.notification.UserSearchRequest.prototype.setIncludeExpired = function(value) {
|
|
2687
|
+
return jspb.Message.setField(this, 5, value);
|
|
2688
|
+
};
|
|
2689
|
+
|
|
2690
|
+
|
|
2691
|
+
/**
|
|
2692
|
+
* Clears the field making it undefined.
|
|
2693
|
+
* @return {!proto.notification.UserSearchRequest} returns this
|
|
2694
|
+
*/
|
|
2695
|
+
proto.notification.UserSearchRequest.prototype.clearIncludeExpired = function() {
|
|
2696
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
2697
|
+
};
|
|
2698
|
+
|
|
2699
|
+
|
|
2700
|
+
/**
|
|
2701
|
+
* Returns whether this field is set.
|
|
2702
|
+
* @return {boolean}
|
|
2703
|
+
*/
|
|
2704
|
+
proto.notification.UserSearchRequest.prototype.hasIncludeExpired = function() {
|
|
2705
|
+
return jspb.Message.getField(this, 5) != null;
|
|
2706
|
+
};
|
|
2707
|
+
|
|
2708
|
+
|
|
2661
2709
|
|
|
2662
2710
|
/**
|
|
2663
2711
|
* List of repeated fields within this message type.
|
|
@@ -3271,7 +3319,9 @@ proto.notification.NotificationItemRequest.toObject = function(includeInstance,
|
|
|
3271
3319
|
targetId: jspb.Message.getFieldWithDefault(msg, 11, 0),
|
|
3272
3320
|
targetTitle: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
3273
3321
|
targetSlug: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
3274
|
-
buttonText: jspb.Message.getFieldWithDefault(msg, 14, "")
|
|
3322
|
+
buttonText: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
3323
|
+
removeAfterHours: jspb.Message.getFieldWithDefault(msg, 15, 0),
|
|
3324
|
+
clearRemoveAfterHours: jspb.Message.getBooleanFieldWithDefault(msg, 16, false)
|
|
3275
3325
|
};
|
|
3276
3326
|
|
|
3277
3327
|
if (includeInstance) {
|
|
@@ -3364,6 +3414,14 @@ proto.notification.NotificationItemRequest.deserializeBinaryFromReader = functio
|
|
|
3364
3414
|
var value = /** @type {string} */ (reader.readString());
|
|
3365
3415
|
msg.setButtonText(value);
|
|
3366
3416
|
break;
|
|
3417
|
+
case 15:
|
|
3418
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
3419
|
+
msg.setRemoveAfterHours(value);
|
|
3420
|
+
break;
|
|
3421
|
+
case 16:
|
|
3422
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
3423
|
+
msg.setClearRemoveAfterHours(value);
|
|
3424
|
+
break;
|
|
3367
3425
|
default:
|
|
3368
3426
|
reader.skipField();
|
|
3369
3427
|
break;
|
|
@@ -3491,6 +3549,20 @@ proto.notification.NotificationItemRequest.serializeBinaryToWriter = function(me
|
|
|
3491
3549
|
f
|
|
3492
3550
|
);
|
|
3493
3551
|
}
|
|
3552
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 15));
|
|
3553
|
+
if (f != null) {
|
|
3554
|
+
writer.writeInt32(
|
|
3555
|
+
15,
|
|
3556
|
+
f
|
|
3557
|
+
);
|
|
3558
|
+
}
|
|
3559
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 16));
|
|
3560
|
+
if (f != null) {
|
|
3561
|
+
writer.writeBool(
|
|
3562
|
+
16,
|
|
3563
|
+
f
|
|
3564
|
+
);
|
|
3565
|
+
}
|
|
3494
3566
|
};
|
|
3495
3567
|
|
|
3496
3568
|
|
|
@@ -3998,6 +4070,78 @@ proto.notification.NotificationItemRequest.prototype.hasButtonText = function()
|
|
|
3998
4070
|
};
|
|
3999
4071
|
|
|
4000
4072
|
|
|
4073
|
+
/**
|
|
4074
|
+
* optional int32 remove_after_hours = 15;
|
|
4075
|
+
* @return {number}
|
|
4076
|
+
*/
|
|
4077
|
+
proto.notification.NotificationItemRequest.prototype.getRemoveAfterHours = function() {
|
|
4078
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0));
|
|
4079
|
+
};
|
|
4080
|
+
|
|
4081
|
+
|
|
4082
|
+
/**
|
|
4083
|
+
* @param {number} value
|
|
4084
|
+
* @return {!proto.notification.NotificationItemRequest} returns this
|
|
4085
|
+
*/
|
|
4086
|
+
proto.notification.NotificationItemRequest.prototype.setRemoveAfterHours = function(value) {
|
|
4087
|
+
return jspb.Message.setField(this, 15, value);
|
|
4088
|
+
};
|
|
4089
|
+
|
|
4090
|
+
|
|
4091
|
+
/**
|
|
4092
|
+
* Clears the field making it undefined.
|
|
4093
|
+
* @return {!proto.notification.NotificationItemRequest} returns this
|
|
4094
|
+
*/
|
|
4095
|
+
proto.notification.NotificationItemRequest.prototype.clearRemoveAfterHours = function() {
|
|
4096
|
+
return jspb.Message.setField(this, 15, undefined);
|
|
4097
|
+
};
|
|
4098
|
+
|
|
4099
|
+
|
|
4100
|
+
/**
|
|
4101
|
+
* Returns whether this field is set.
|
|
4102
|
+
* @return {boolean}
|
|
4103
|
+
*/
|
|
4104
|
+
proto.notification.NotificationItemRequest.prototype.hasRemoveAfterHours = function() {
|
|
4105
|
+
return jspb.Message.getField(this, 15) != null;
|
|
4106
|
+
};
|
|
4107
|
+
|
|
4108
|
+
|
|
4109
|
+
/**
|
|
4110
|
+
* optional bool clear_remove_after_hours = 16;
|
|
4111
|
+
* @return {boolean}
|
|
4112
|
+
*/
|
|
4113
|
+
proto.notification.NotificationItemRequest.prototype.getClearRemoveAfterHours = function() {
|
|
4114
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 16, false));
|
|
4115
|
+
};
|
|
4116
|
+
|
|
4117
|
+
|
|
4118
|
+
/**
|
|
4119
|
+
* @param {boolean} value
|
|
4120
|
+
* @return {!proto.notification.NotificationItemRequest} returns this
|
|
4121
|
+
*/
|
|
4122
|
+
proto.notification.NotificationItemRequest.prototype.setClearRemoveAfterHours = function(value) {
|
|
4123
|
+
return jspb.Message.setField(this, 16, value);
|
|
4124
|
+
};
|
|
4125
|
+
|
|
4126
|
+
|
|
4127
|
+
/**
|
|
4128
|
+
* Clears the field making it undefined.
|
|
4129
|
+
* @return {!proto.notification.NotificationItemRequest} returns this
|
|
4130
|
+
*/
|
|
4131
|
+
proto.notification.NotificationItemRequest.prototype.clearClearRemoveAfterHours = function() {
|
|
4132
|
+
return jspb.Message.setField(this, 16, undefined);
|
|
4133
|
+
};
|
|
4134
|
+
|
|
4135
|
+
|
|
4136
|
+
/**
|
|
4137
|
+
* Returns whether this field is set.
|
|
4138
|
+
* @return {boolean}
|
|
4139
|
+
*/
|
|
4140
|
+
proto.notification.NotificationItemRequest.prototype.hasClearRemoveAfterHours = function() {
|
|
4141
|
+
return jspb.Message.getField(this, 16) != null;
|
|
4142
|
+
};
|
|
4143
|
+
|
|
4144
|
+
|
|
4001
4145
|
|
|
4002
4146
|
/**
|
|
4003
4147
|
* Oneof group definitions for this message. Each group defines the field
|
|
@@ -7514,7 +7658,8 @@ proto.notification.NotificationItem.toObject = function(includeInstance, msg) {
|
|
|
7514
7658
|
targetTitle: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
7515
7659
|
targetSlug: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
7516
7660
|
buttonText: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
7517
|
-
targetProviderSlug: jspb.Message.getFieldWithDefault(msg, 18, "")
|
|
7661
|
+
targetProviderSlug: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
7662
|
+
removeAfterHours: jspb.Message.getFieldWithDefault(msg, 19, 0)
|
|
7518
7663
|
};
|
|
7519
7664
|
|
|
7520
7665
|
if (includeInstance) {
|
|
@@ -7623,6 +7768,10 @@ proto.notification.NotificationItem.deserializeBinaryFromReader = function(msg,
|
|
|
7623
7768
|
var value = /** @type {string} */ (reader.readString());
|
|
7624
7769
|
msg.setTargetProviderSlug(value);
|
|
7625
7770
|
break;
|
|
7771
|
+
case 19:
|
|
7772
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
7773
|
+
msg.setRemoveAfterHours(value);
|
|
7774
|
+
break;
|
|
7626
7775
|
default:
|
|
7627
7776
|
reader.skipField();
|
|
7628
7777
|
break;
|
|
@@ -7778,6 +7927,13 @@ proto.notification.NotificationItem.serializeBinaryToWriter = function(message,
|
|
|
7778
7927
|
f
|
|
7779
7928
|
);
|
|
7780
7929
|
}
|
|
7930
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 19));
|
|
7931
|
+
if (f != null) {
|
|
7932
|
+
writer.writeInt32(
|
|
7933
|
+
19,
|
|
7934
|
+
f
|
|
7935
|
+
);
|
|
7936
|
+
}
|
|
7781
7937
|
};
|
|
7782
7938
|
|
|
7783
7939
|
|
|
@@ -8321,6 +8477,42 @@ proto.notification.NotificationItem.prototype.hasTargetProviderSlug = function()
|
|
|
8321
8477
|
};
|
|
8322
8478
|
|
|
8323
8479
|
|
|
8480
|
+
/**
|
|
8481
|
+
* optional int32 remove_after_hours = 19;
|
|
8482
|
+
* @return {number}
|
|
8483
|
+
*/
|
|
8484
|
+
proto.notification.NotificationItem.prototype.getRemoveAfterHours = function() {
|
|
8485
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 19, 0));
|
|
8486
|
+
};
|
|
8487
|
+
|
|
8488
|
+
|
|
8489
|
+
/**
|
|
8490
|
+
* @param {number} value
|
|
8491
|
+
* @return {!proto.notification.NotificationItem} returns this
|
|
8492
|
+
*/
|
|
8493
|
+
proto.notification.NotificationItem.prototype.setRemoveAfterHours = function(value) {
|
|
8494
|
+
return jspb.Message.setField(this, 19, value);
|
|
8495
|
+
};
|
|
8496
|
+
|
|
8497
|
+
|
|
8498
|
+
/**
|
|
8499
|
+
* Clears the field making it undefined.
|
|
8500
|
+
* @return {!proto.notification.NotificationItem} returns this
|
|
8501
|
+
*/
|
|
8502
|
+
proto.notification.NotificationItem.prototype.clearRemoveAfterHours = function() {
|
|
8503
|
+
return jspb.Message.setField(this, 19, undefined);
|
|
8504
|
+
};
|
|
8505
|
+
|
|
8506
|
+
|
|
8507
|
+
/**
|
|
8508
|
+
* Returns whether this field is set.
|
|
8509
|
+
* @return {boolean}
|
|
8510
|
+
*/
|
|
8511
|
+
proto.notification.NotificationItem.prototype.hasRemoveAfterHours = function() {
|
|
8512
|
+
return jspb.Message.getField(this, 19) != null;
|
|
8513
|
+
};
|
|
8514
|
+
|
|
8515
|
+
|
|
8324
8516
|
|
|
8325
8517
|
|
|
8326
8518
|
|