protobuf-platform 1.2.508 → 1.2.511
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/cashback/cashback.proto +5 -0
- package/cashback/cashback_pb.js +241 -1
- package/package.json +1 -1
package/cashback/cashback.proto
CHANGED
|
@@ -209,5 +209,10 @@ message GetUserCashbackInformationResponse {
|
|
|
209
209
|
optional string content = 5;
|
|
210
210
|
optional string nearest_claim_expires_at = 6;
|
|
211
211
|
repeated UserCashbackInformationDefinitionItem definitions = 7;
|
|
212
|
+
optional string description = 8;
|
|
213
|
+
optional string image = 9;
|
|
214
|
+
optional string image_cdn = 10;
|
|
215
|
+
optional bool is_claimable = 11;
|
|
216
|
+
optional int32 claimable_cashback_user_id = 12;
|
|
212
217
|
}
|
|
213
218
|
|
package/cashback/cashback_pb.js
CHANGED
|
@@ -8959,7 +8959,12 @@ proto.cashback.GetUserCashbackInformationResponse.toObject = function(includeIns
|
|
|
8959
8959
|
content: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
8960
8960
|
nearestClaimExpiresAt: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
8961
8961
|
definitionsList: jspb.Message.toObjectList(msg.getDefinitionsList(),
|
|
8962
|
-
proto.cashback.UserCashbackInformationDefinitionItem.toObject, includeInstance)
|
|
8962
|
+
proto.cashback.UserCashbackInformationDefinitionItem.toObject, includeInstance),
|
|
8963
|
+
description: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
8964
|
+
image: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
8965
|
+
imageCdn: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
8966
|
+
isClaimable: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
|
|
8967
|
+
claimableCashbackUserId: jspb.Message.getFieldWithDefault(msg, 12, 0)
|
|
8963
8968
|
};
|
|
8964
8969
|
|
|
8965
8970
|
if (includeInstance) {
|
|
@@ -9025,6 +9030,26 @@ proto.cashback.GetUserCashbackInformationResponse.deserializeBinaryFromReader =
|
|
|
9025
9030
|
reader.readMessage(value,proto.cashback.UserCashbackInformationDefinitionItem.deserializeBinaryFromReader);
|
|
9026
9031
|
msg.addDefinitions(value);
|
|
9027
9032
|
break;
|
|
9033
|
+
case 8:
|
|
9034
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9035
|
+
msg.setDescription(value);
|
|
9036
|
+
break;
|
|
9037
|
+
case 9:
|
|
9038
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9039
|
+
msg.setImage(value);
|
|
9040
|
+
break;
|
|
9041
|
+
case 10:
|
|
9042
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9043
|
+
msg.setImageCdn(value);
|
|
9044
|
+
break;
|
|
9045
|
+
case 11:
|
|
9046
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
9047
|
+
msg.setIsClaimable(value);
|
|
9048
|
+
break;
|
|
9049
|
+
case 12:
|
|
9050
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
9051
|
+
msg.setClaimableCashbackUserId(value);
|
|
9052
|
+
break;
|
|
9028
9053
|
default:
|
|
9029
9054
|
reader.skipField();
|
|
9030
9055
|
break;
|
|
@@ -9104,6 +9129,41 @@ proto.cashback.GetUserCashbackInformationResponse.serializeBinaryToWriter = func
|
|
|
9104
9129
|
proto.cashback.UserCashbackInformationDefinitionItem.serializeBinaryToWriter
|
|
9105
9130
|
);
|
|
9106
9131
|
}
|
|
9132
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
|
9133
|
+
if (f != null) {
|
|
9134
|
+
writer.writeString(
|
|
9135
|
+
8,
|
|
9136
|
+
f
|
|
9137
|
+
);
|
|
9138
|
+
}
|
|
9139
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 9));
|
|
9140
|
+
if (f != null) {
|
|
9141
|
+
writer.writeString(
|
|
9142
|
+
9,
|
|
9143
|
+
f
|
|
9144
|
+
);
|
|
9145
|
+
}
|
|
9146
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 10));
|
|
9147
|
+
if (f != null) {
|
|
9148
|
+
writer.writeString(
|
|
9149
|
+
10,
|
|
9150
|
+
f
|
|
9151
|
+
);
|
|
9152
|
+
}
|
|
9153
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 11));
|
|
9154
|
+
if (f != null) {
|
|
9155
|
+
writer.writeBool(
|
|
9156
|
+
11,
|
|
9157
|
+
f
|
|
9158
|
+
);
|
|
9159
|
+
}
|
|
9160
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 12));
|
|
9161
|
+
if (f != null) {
|
|
9162
|
+
writer.writeInt32(
|
|
9163
|
+
12,
|
|
9164
|
+
f
|
|
9165
|
+
);
|
|
9166
|
+
}
|
|
9107
9167
|
};
|
|
9108
9168
|
|
|
9109
9169
|
|
|
@@ -9307,4 +9367,184 @@ proto.cashback.GetUserCashbackInformationResponse.prototype.clearDefinitionsList
|
|
|
9307
9367
|
};
|
|
9308
9368
|
|
|
9309
9369
|
|
|
9370
|
+
/**
|
|
9371
|
+
* optional string description = 8;
|
|
9372
|
+
* @return {string}
|
|
9373
|
+
*/
|
|
9374
|
+
proto.cashback.GetUserCashbackInformationResponse.prototype.getDescription = function() {
|
|
9375
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
9376
|
+
};
|
|
9377
|
+
|
|
9378
|
+
|
|
9379
|
+
/**
|
|
9380
|
+
* @param {string} value
|
|
9381
|
+
* @return {!proto.cashback.GetUserCashbackInformationResponse} returns this
|
|
9382
|
+
*/
|
|
9383
|
+
proto.cashback.GetUserCashbackInformationResponse.prototype.setDescription = function(value) {
|
|
9384
|
+
return jspb.Message.setField(this, 8, value);
|
|
9385
|
+
};
|
|
9386
|
+
|
|
9387
|
+
|
|
9388
|
+
/**
|
|
9389
|
+
* Clears the field making it undefined.
|
|
9390
|
+
* @return {!proto.cashback.GetUserCashbackInformationResponse} returns this
|
|
9391
|
+
*/
|
|
9392
|
+
proto.cashback.GetUserCashbackInformationResponse.prototype.clearDescription = function() {
|
|
9393
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
9394
|
+
};
|
|
9395
|
+
|
|
9396
|
+
|
|
9397
|
+
/**
|
|
9398
|
+
* Returns whether this field is set.
|
|
9399
|
+
* @return {boolean}
|
|
9400
|
+
*/
|
|
9401
|
+
proto.cashback.GetUserCashbackInformationResponse.prototype.hasDescription = function() {
|
|
9402
|
+
return jspb.Message.getField(this, 8) != null;
|
|
9403
|
+
};
|
|
9404
|
+
|
|
9405
|
+
|
|
9406
|
+
/**
|
|
9407
|
+
* optional string image = 9;
|
|
9408
|
+
* @return {string}
|
|
9409
|
+
*/
|
|
9410
|
+
proto.cashback.GetUserCashbackInformationResponse.prototype.getImage = function() {
|
|
9411
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
9412
|
+
};
|
|
9413
|
+
|
|
9414
|
+
|
|
9415
|
+
/**
|
|
9416
|
+
* @param {string} value
|
|
9417
|
+
* @return {!proto.cashback.GetUserCashbackInformationResponse} returns this
|
|
9418
|
+
*/
|
|
9419
|
+
proto.cashback.GetUserCashbackInformationResponse.prototype.setImage = function(value) {
|
|
9420
|
+
return jspb.Message.setField(this, 9, value);
|
|
9421
|
+
};
|
|
9422
|
+
|
|
9423
|
+
|
|
9424
|
+
/**
|
|
9425
|
+
* Clears the field making it undefined.
|
|
9426
|
+
* @return {!proto.cashback.GetUserCashbackInformationResponse} returns this
|
|
9427
|
+
*/
|
|
9428
|
+
proto.cashback.GetUserCashbackInformationResponse.prototype.clearImage = function() {
|
|
9429
|
+
return jspb.Message.setField(this, 9, undefined);
|
|
9430
|
+
};
|
|
9431
|
+
|
|
9432
|
+
|
|
9433
|
+
/**
|
|
9434
|
+
* Returns whether this field is set.
|
|
9435
|
+
* @return {boolean}
|
|
9436
|
+
*/
|
|
9437
|
+
proto.cashback.GetUserCashbackInformationResponse.prototype.hasImage = function() {
|
|
9438
|
+
return jspb.Message.getField(this, 9) != null;
|
|
9439
|
+
};
|
|
9440
|
+
|
|
9441
|
+
|
|
9442
|
+
/**
|
|
9443
|
+
* optional string image_cdn = 10;
|
|
9444
|
+
* @return {string}
|
|
9445
|
+
*/
|
|
9446
|
+
proto.cashback.GetUserCashbackInformationResponse.prototype.getImageCdn = function() {
|
|
9447
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
9448
|
+
};
|
|
9449
|
+
|
|
9450
|
+
|
|
9451
|
+
/**
|
|
9452
|
+
* @param {string} value
|
|
9453
|
+
* @return {!proto.cashback.GetUserCashbackInformationResponse} returns this
|
|
9454
|
+
*/
|
|
9455
|
+
proto.cashback.GetUserCashbackInformationResponse.prototype.setImageCdn = function(value) {
|
|
9456
|
+
return jspb.Message.setField(this, 10, value);
|
|
9457
|
+
};
|
|
9458
|
+
|
|
9459
|
+
|
|
9460
|
+
/**
|
|
9461
|
+
* Clears the field making it undefined.
|
|
9462
|
+
* @return {!proto.cashback.GetUserCashbackInformationResponse} returns this
|
|
9463
|
+
*/
|
|
9464
|
+
proto.cashback.GetUserCashbackInformationResponse.prototype.clearImageCdn = function() {
|
|
9465
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
9466
|
+
};
|
|
9467
|
+
|
|
9468
|
+
|
|
9469
|
+
/**
|
|
9470
|
+
* Returns whether this field is set.
|
|
9471
|
+
* @return {boolean}
|
|
9472
|
+
*/
|
|
9473
|
+
proto.cashback.GetUserCashbackInformationResponse.prototype.hasImageCdn = function() {
|
|
9474
|
+
return jspb.Message.getField(this, 10) != null;
|
|
9475
|
+
};
|
|
9476
|
+
|
|
9477
|
+
|
|
9478
|
+
/**
|
|
9479
|
+
* optional bool is_claimable = 11;
|
|
9480
|
+
* @return {boolean}
|
|
9481
|
+
*/
|
|
9482
|
+
proto.cashback.GetUserCashbackInformationResponse.prototype.getIsClaimable = function() {
|
|
9483
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false));
|
|
9484
|
+
};
|
|
9485
|
+
|
|
9486
|
+
|
|
9487
|
+
/**
|
|
9488
|
+
* @param {boolean} value
|
|
9489
|
+
* @return {!proto.cashback.GetUserCashbackInformationResponse} returns this
|
|
9490
|
+
*/
|
|
9491
|
+
proto.cashback.GetUserCashbackInformationResponse.prototype.setIsClaimable = function(value) {
|
|
9492
|
+
return jspb.Message.setField(this, 11, value);
|
|
9493
|
+
};
|
|
9494
|
+
|
|
9495
|
+
|
|
9496
|
+
/**
|
|
9497
|
+
* Clears the field making it undefined.
|
|
9498
|
+
* @return {!proto.cashback.GetUserCashbackInformationResponse} returns this
|
|
9499
|
+
*/
|
|
9500
|
+
proto.cashback.GetUserCashbackInformationResponse.prototype.clearIsClaimable = function() {
|
|
9501
|
+
return jspb.Message.setField(this, 11, undefined);
|
|
9502
|
+
};
|
|
9503
|
+
|
|
9504
|
+
|
|
9505
|
+
/**
|
|
9506
|
+
* Returns whether this field is set.
|
|
9507
|
+
* @return {boolean}
|
|
9508
|
+
*/
|
|
9509
|
+
proto.cashback.GetUserCashbackInformationResponse.prototype.hasIsClaimable = function() {
|
|
9510
|
+
return jspb.Message.getField(this, 11) != null;
|
|
9511
|
+
};
|
|
9512
|
+
|
|
9513
|
+
|
|
9514
|
+
/**
|
|
9515
|
+
* optional int32 claimable_cashback_user_id = 12;
|
|
9516
|
+
* @return {number}
|
|
9517
|
+
*/
|
|
9518
|
+
proto.cashback.GetUserCashbackInformationResponse.prototype.getClaimableCashbackUserId = function() {
|
|
9519
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
|
|
9520
|
+
};
|
|
9521
|
+
|
|
9522
|
+
|
|
9523
|
+
/**
|
|
9524
|
+
* @param {number} value
|
|
9525
|
+
* @return {!proto.cashback.GetUserCashbackInformationResponse} returns this
|
|
9526
|
+
*/
|
|
9527
|
+
proto.cashback.GetUserCashbackInformationResponse.prototype.setClaimableCashbackUserId = function(value) {
|
|
9528
|
+
return jspb.Message.setField(this, 12, value);
|
|
9529
|
+
};
|
|
9530
|
+
|
|
9531
|
+
|
|
9532
|
+
/**
|
|
9533
|
+
* Clears the field making it undefined.
|
|
9534
|
+
* @return {!proto.cashback.GetUserCashbackInformationResponse} returns this
|
|
9535
|
+
*/
|
|
9536
|
+
proto.cashback.GetUserCashbackInformationResponse.prototype.clearClaimableCashbackUserId = function() {
|
|
9537
|
+
return jspb.Message.setField(this, 12, undefined);
|
|
9538
|
+
};
|
|
9539
|
+
|
|
9540
|
+
|
|
9541
|
+
/**
|
|
9542
|
+
* Returns whether this field is set.
|
|
9543
|
+
* @return {boolean}
|
|
9544
|
+
*/
|
|
9545
|
+
proto.cashback.GetUserCashbackInformationResponse.prototype.hasClaimableCashbackUserId = function() {
|
|
9546
|
+
return jspb.Message.getField(this, 12) != null;
|
|
9547
|
+
};
|
|
9548
|
+
|
|
9549
|
+
|
|
9310
9550
|
goog.object.extend(exports, proto.cashback);
|