protobuf-platform 1.2.674 → 1.2.676
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/loyalty/loyalty.proto
CHANGED
|
@@ -205,6 +205,11 @@ message DepositPoint {
|
|
|
205
205
|
float min = 3;
|
|
206
206
|
float max = 4;
|
|
207
207
|
optional int32 number_of_deposit = 5;
|
|
208
|
+
optional bool use_deposit_amount = 6;
|
|
209
|
+
optional double deposit_multiplier = 7;
|
|
210
|
+
optional int32 loyalty_level_id = 8;
|
|
211
|
+
optional double loyalty_multiplier = 9;
|
|
212
|
+
optional bool clear_loyalty_override = 10;
|
|
208
213
|
}
|
|
209
214
|
message BetPoint {
|
|
210
215
|
string currency = 1;
|
package/loyalty/loyalty_pb.js
CHANGED
|
@@ -9014,7 +9014,12 @@ proto.loyalty.DepositPoint.toObject = function(includeInstance, msg) {
|
|
|
9014
9014
|
points: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
9015
9015
|
min: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
|
9016
9016
|
max: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
|
9017
|
-
numberOfDeposit: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
9017
|
+
numberOfDeposit: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
9018
|
+
useDepositAmount: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
9019
|
+
depositMultiplier: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
|
|
9020
|
+
loyaltyLevelId: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
9021
|
+
loyaltyMultiplier: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0),
|
|
9022
|
+
clearLoyaltyOverride: jspb.Message.getBooleanFieldWithDefault(msg, 10, false)
|
|
9018
9023
|
};
|
|
9019
9024
|
|
|
9020
9025
|
if (includeInstance) {
|
|
@@ -9071,6 +9076,26 @@ proto.loyalty.DepositPoint.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
9071
9076
|
var value = /** @type {number} */ (reader.readInt32());
|
|
9072
9077
|
msg.setNumberOfDeposit(value);
|
|
9073
9078
|
break;
|
|
9079
|
+
case 6:
|
|
9080
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
9081
|
+
msg.setUseDepositAmount(value);
|
|
9082
|
+
break;
|
|
9083
|
+
case 7:
|
|
9084
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
9085
|
+
msg.setDepositMultiplier(value);
|
|
9086
|
+
break;
|
|
9087
|
+
case 8:
|
|
9088
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
9089
|
+
msg.setLoyaltyLevelId(value);
|
|
9090
|
+
break;
|
|
9091
|
+
case 9:
|
|
9092
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
9093
|
+
msg.setLoyaltyMultiplier(value);
|
|
9094
|
+
break;
|
|
9095
|
+
case 10:
|
|
9096
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
9097
|
+
msg.setClearLoyaltyOverride(value);
|
|
9098
|
+
break;
|
|
9074
9099
|
default:
|
|
9075
9100
|
reader.skipField();
|
|
9076
9101
|
break;
|
|
@@ -9135,6 +9160,41 @@ proto.loyalty.DepositPoint.serializeBinaryToWriter = function(message, writer) {
|
|
|
9135
9160
|
f
|
|
9136
9161
|
);
|
|
9137
9162
|
}
|
|
9163
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 6));
|
|
9164
|
+
if (f != null) {
|
|
9165
|
+
writer.writeBool(
|
|
9166
|
+
6,
|
|
9167
|
+
f
|
|
9168
|
+
);
|
|
9169
|
+
}
|
|
9170
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 7));
|
|
9171
|
+
if (f != null) {
|
|
9172
|
+
writer.writeDouble(
|
|
9173
|
+
7,
|
|
9174
|
+
f
|
|
9175
|
+
);
|
|
9176
|
+
}
|
|
9177
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 8));
|
|
9178
|
+
if (f != null) {
|
|
9179
|
+
writer.writeInt32(
|
|
9180
|
+
8,
|
|
9181
|
+
f
|
|
9182
|
+
);
|
|
9183
|
+
}
|
|
9184
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 9));
|
|
9185
|
+
if (f != null) {
|
|
9186
|
+
writer.writeDouble(
|
|
9187
|
+
9,
|
|
9188
|
+
f
|
|
9189
|
+
);
|
|
9190
|
+
}
|
|
9191
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 10));
|
|
9192
|
+
if (f != null) {
|
|
9193
|
+
writer.writeBool(
|
|
9194
|
+
10,
|
|
9195
|
+
f
|
|
9196
|
+
);
|
|
9197
|
+
}
|
|
9138
9198
|
};
|
|
9139
9199
|
|
|
9140
9200
|
|
|
@@ -9246,6 +9306,186 @@ proto.loyalty.DepositPoint.prototype.hasNumberOfDeposit = function() {
|
|
|
9246
9306
|
};
|
|
9247
9307
|
|
|
9248
9308
|
|
|
9309
|
+
/**
|
|
9310
|
+
* optional bool use_deposit_amount = 6;
|
|
9311
|
+
* @return {boolean}
|
|
9312
|
+
*/
|
|
9313
|
+
proto.loyalty.DepositPoint.prototype.getUseDepositAmount = function() {
|
|
9314
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
|
|
9315
|
+
};
|
|
9316
|
+
|
|
9317
|
+
|
|
9318
|
+
/**
|
|
9319
|
+
* @param {boolean} value
|
|
9320
|
+
* @return {!proto.loyalty.DepositPoint} returns this
|
|
9321
|
+
*/
|
|
9322
|
+
proto.loyalty.DepositPoint.prototype.setUseDepositAmount = function(value) {
|
|
9323
|
+
return jspb.Message.setField(this, 6, value);
|
|
9324
|
+
};
|
|
9325
|
+
|
|
9326
|
+
|
|
9327
|
+
/**
|
|
9328
|
+
* Clears the field making it undefined.
|
|
9329
|
+
* @return {!proto.loyalty.DepositPoint} returns this
|
|
9330
|
+
*/
|
|
9331
|
+
proto.loyalty.DepositPoint.prototype.clearUseDepositAmount = function() {
|
|
9332
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
9333
|
+
};
|
|
9334
|
+
|
|
9335
|
+
|
|
9336
|
+
/**
|
|
9337
|
+
* Returns whether this field is set.
|
|
9338
|
+
* @return {boolean}
|
|
9339
|
+
*/
|
|
9340
|
+
proto.loyalty.DepositPoint.prototype.hasUseDepositAmount = function() {
|
|
9341
|
+
return jspb.Message.getField(this, 6) != null;
|
|
9342
|
+
};
|
|
9343
|
+
|
|
9344
|
+
|
|
9345
|
+
/**
|
|
9346
|
+
* optional double deposit_multiplier = 7;
|
|
9347
|
+
* @return {number}
|
|
9348
|
+
*/
|
|
9349
|
+
proto.loyalty.DepositPoint.prototype.getDepositMultiplier = function() {
|
|
9350
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
|
|
9351
|
+
};
|
|
9352
|
+
|
|
9353
|
+
|
|
9354
|
+
/**
|
|
9355
|
+
* @param {number} value
|
|
9356
|
+
* @return {!proto.loyalty.DepositPoint} returns this
|
|
9357
|
+
*/
|
|
9358
|
+
proto.loyalty.DepositPoint.prototype.setDepositMultiplier = function(value) {
|
|
9359
|
+
return jspb.Message.setField(this, 7, value);
|
|
9360
|
+
};
|
|
9361
|
+
|
|
9362
|
+
|
|
9363
|
+
/**
|
|
9364
|
+
* Clears the field making it undefined.
|
|
9365
|
+
* @return {!proto.loyalty.DepositPoint} returns this
|
|
9366
|
+
*/
|
|
9367
|
+
proto.loyalty.DepositPoint.prototype.clearDepositMultiplier = function() {
|
|
9368
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
9369
|
+
};
|
|
9370
|
+
|
|
9371
|
+
|
|
9372
|
+
/**
|
|
9373
|
+
* Returns whether this field is set.
|
|
9374
|
+
* @return {boolean}
|
|
9375
|
+
*/
|
|
9376
|
+
proto.loyalty.DepositPoint.prototype.hasDepositMultiplier = function() {
|
|
9377
|
+
return jspb.Message.getField(this, 7) != null;
|
|
9378
|
+
};
|
|
9379
|
+
|
|
9380
|
+
|
|
9381
|
+
/**
|
|
9382
|
+
* optional int32 loyalty_level_id = 8;
|
|
9383
|
+
* @return {number}
|
|
9384
|
+
*/
|
|
9385
|
+
proto.loyalty.DepositPoint.prototype.getLoyaltyLevelId = function() {
|
|
9386
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
9387
|
+
};
|
|
9388
|
+
|
|
9389
|
+
|
|
9390
|
+
/**
|
|
9391
|
+
* @param {number} value
|
|
9392
|
+
* @return {!proto.loyalty.DepositPoint} returns this
|
|
9393
|
+
*/
|
|
9394
|
+
proto.loyalty.DepositPoint.prototype.setLoyaltyLevelId = function(value) {
|
|
9395
|
+
return jspb.Message.setField(this, 8, value);
|
|
9396
|
+
};
|
|
9397
|
+
|
|
9398
|
+
|
|
9399
|
+
/**
|
|
9400
|
+
* Clears the field making it undefined.
|
|
9401
|
+
* @return {!proto.loyalty.DepositPoint} returns this
|
|
9402
|
+
*/
|
|
9403
|
+
proto.loyalty.DepositPoint.prototype.clearLoyaltyLevelId = function() {
|
|
9404
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
9405
|
+
};
|
|
9406
|
+
|
|
9407
|
+
|
|
9408
|
+
/**
|
|
9409
|
+
* Returns whether this field is set.
|
|
9410
|
+
* @return {boolean}
|
|
9411
|
+
*/
|
|
9412
|
+
proto.loyalty.DepositPoint.prototype.hasLoyaltyLevelId = function() {
|
|
9413
|
+
return jspb.Message.getField(this, 8) != null;
|
|
9414
|
+
};
|
|
9415
|
+
|
|
9416
|
+
|
|
9417
|
+
/**
|
|
9418
|
+
* optional double loyalty_multiplier = 9;
|
|
9419
|
+
* @return {number}
|
|
9420
|
+
*/
|
|
9421
|
+
proto.loyalty.DepositPoint.prototype.getLoyaltyMultiplier = function() {
|
|
9422
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 9, 0.0));
|
|
9423
|
+
};
|
|
9424
|
+
|
|
9425
|
+
|
|
9426
|
+
/**
|
|
9427
|
+
* @param {number} value
|
|
9428
|
+
* @return {!proto.loyalty.DepositPoint} returns this
|
|
9429
|
+
*/
|
|
9430
|
+
proto.loyalty.DepositPoint.prototype.setLoyaltyMultiplier = function(value) {
|
|
9431
|
+
return jspb.Message.setField(this, 9, value);
|
|
9432
|
+
};
|
|
9433
|
+
|
|
9434
|
+
|
|
9435
|
+
/**
|
|
9436
|
+
* Clears the field making it undefined.
|
|
9437
|
+
* @return {!proto.loyalty.DepositPoint} returns this
|
|
9438
|
+
*/
|
|
9439
|
+
proto.loyalty.DepositPoint.prototype.clearLoyaltyMultiplier = function() {
|
|
9440
|
+
return jspb.Message.setField(this, 9, undefined);
|
|
9441
|
+
};
|
|
9442
|
+
|
|
9443
|
+
|
|
9444
|
+
/**
|
|
9445
|
+
* Returns whether this field is set.
|
|
9446
|
+
* @return {boolean}
|
|
9447
|
+
*/
|
|
9448
|
+
proto.loyalty.DepositPoint.prototype.hasLoyaltyMultiplier = function() {
|
|
9449
|
+
return jspb.Message.getField(this, 9) != null;
|
|
9450
|
+
};
|
|
9451
|
+
|
|
9452
|
+
|
|
9453
|
+
/**
|
|
9454
|
+
* optional bool clear_loyalty_override = 10;
|
|
9455
|
+
* @return {boolean}
|
|
9456
|
+
*/
|
|
9457
|
+
proto.loyalty.DepositPoint.prototype.getClearLoyaltyOverride = function() {
|
|
9458
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 10, false));
|
|
9459
|
+
};
|
|
9460
|
+
|
|
9461
|
+
|
|
9462
|
+
/**
|
|
9463
|
+
* @param {boolean} value
|
|
9464
|
+
* @return {!proto.loyalty.DepositPoint} returns this
|
|
9465
|
+
*/
|
|
9466
|
+
proto.loyalty.DepositPoint.prototype.setClearLoyaltyOverride = function(value) {
|
|
9467
|
+
return jspb.Message.setField(this, 10, value);
|
|
9468
|
+
};
|
|
9469
|
+
|
|
9470
|
+
|
|
9471
|
+
/**
|
|
9472
|
+
* Clears the field making it undefined.
|
|
9473
|
+
* @return {!proto.loyalty.DepositPoint} returns this
|
|
9474
|
+
*/
|
|
9475
|
+
proto.loyalty.DepositPoint.prototype.clearClearLoyaltyOverride = function() {
|
|
9476
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
9477
|
+
};
|
|
9478
|
+
|
|
9479
|
+
|
|
9480
|
+
/**
|
|
9481
|
+
* Returns whether this field is set.
|
|
9482
|
+
* @return {boolean}
|
|
9483
|
+
*/
|
|
9484
|
+
proto.loyalty.DepositPoint.prototype.hasClearLoyaltyOverride = function() {
|
|
9485
|
+
return jspb.Message.getField(this, 10) != null;
|
|
9486
|
+
};
|
|
9487
|
+
|
|
9488
|
+
|
|
9249
9489
|
|
|
9250
9490
|
|
|
9251
9491
|
|
|
@@ -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
|
|