From 498e265e54053e3f7a1c8d95adcd39b410b0aa4a Mon Sep 17 00:00:00 2001 From: PARK BYUNG JUN Date: Wed, 31 Aug 2022 14:18:02 +0000 Subject: [PATCH] model is modified --- .../modules/proto/models/api/betting_pb.d.ts | 34 +- .../modules/proto/models/api/betting_pb.js | 659 +++++++++++------- 2 files changed, 434 insertions(+), 259 deletions(-) diff --git a/src/app/modules/proto/models/api/betting_pb.d.ts b/src/app/modules/proto/models/api/betting_pb.d.ts index 9cf0a28..314e7f1 100644 --- a/src/app/modules/proto/models/api/betting_pb.d.ts +++ b/src/app/modules/proto/models/api/betting_pb.d.ts @@ -129,11 +129,6 @@ export class BettingHistoryModel extends jspb.Message { getId(): string; setId(value: string): void; - hasMember(): boolean; - clearMember(): void; - getMember(): models_member_pb.Member | undefined; - setMember(value?: models_member_pb.Member): void; - getVendorId(): number; setVendorId(value: number): void; @@ -202,6 +197,28 @@ export class BettingHistoryModel extends jspb.Message { getUtcCreatedAt(): number; setUtcCreatedAt(value: number): void; + getMSiteId(): string; + setMSiteId(value: string): void; + + getMMemberClassId(): string; + setMMemberClassId(value: string): void; + + getMMemberLevelId(): string; + setMMemberLevelId(value: string): void; + + hasMParentMemberId(): boolean; + clearMParentMemberId(): void; + getMParentMemberId(): string; + setMParentMemberId(value: string): void; + + getMNickname(): string; + setMNickname(value: string): void; + + hasMMobilePhoneNumber(): boolean; + clearMMobilePhoneNumber(): void; + getMMobilePhoneNumber(): string; + setMMobilePhoneNumber(value: string): void; + serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): BettingHistoryModel.AsObject; static toObject( @@ -226,7 +243,6 @@ export class BettingHistoryModel extends jspb.Message { export namespace BettingHistoryModel { export type AsObject = { id: string; - member?: models_member_pb.Member.AsObject; vendorId: number; vendorName: string; gameId: number; @@ -249,5 +265,11 @@ export namespace BettingHistoryModel { category: string; createdAt: number; utcCreatedAt: number; + mSiteId: string; + mMemberClassId: string; + mMemberLevelId: string; + mParentMemberId: string; + mNickname: string; + mMobilePhoneNumber: string; }; } diff --git a/src/app/modules/proto/models/api/betting_pb.js b/src/app/modules/proto/models/api/betting_pb.js index 7728756..c97cc81 100644 --- a/src/app/modules/proto/models/api/betting_pb.js +++ b/src/app/modules/proto/models/api/betting_pb.js @@ -902,31 +902,34 @@ if (jspb.Message.GENERATE_TO_OBJECT) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), - member: - (f = msg.getMember()) && - models_member_pb.Member.toObject(includeInstance, f), - vendorId: jspb.Message.getFieldWithDefault(msg, 3, 0), - vendorName: jspb.Message.getFieldWithDefault(msg, 4, ""), - gameId: jspb.Message.getFieldWithDefault(msg, 5, 0), - gameName: jspb.Message.getFieldWithDefault(msg, 6, ""), - gameCategory: jspb.Message.getFieldWithDefault(msg, 7, ""), - gameType: jspb.Message.getFieldWithDefault(msg, 8, ""), - currency: jspb.Message.getFieldWithDefault(msg, 9, ""), - cash: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0), - beforeCash: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0), - afterCash: jspb.Message.getFloatingPointFieldWithDefault(msg, 12, 0.0), - key: jspb.Message.getFieldWithDefault(msg, 13, ""), - refId: jspb.Message.getFieldWithDefault(msg, 14, ""), - oRefId: jspb.Message.getFieldWithDefault(msg, 15, ""), - groupKey: jspb.Message.getFieldWithDefault(msg, 16, ""), - isBonus: jspb.Message.getBooleanFieldWithDefault(msg, 17, false), - isPromo: jspb.Message.getBooleanFieldWithDefault(msg, 18, false), - isJackpot: jspb.Message.getBooleanFieldWithDefault(msg, 19, false), - siteUsername: jspb.Message.getFieldWithDefault(msg, 20, ""), - bettingType: jspb.Message.getFieldWithDefault(msg, 21, ""), - category: jspb.Message.getFieldWithDefault(msg, 22, ""), - createdAt: jspb.Message.getFieldWithDefault(msg, 23, 0), - utcCreatedAt: jspb.Message.getFieldWithDefault(msg, 24, 0), + vendorId: jspb.Message.getFieldWithDefault(msg, 2, 0), + vendorName: jspb.Message.getFieldWithDefault(msg, 3, ""), + gameId: jspb.Message.getFieldWithDefault(msg, 4, 0), + gameName: jspb.Message.getFieldWithDefault(msg, 5, ""), + gameCategory: jspb.Message.getFieldWithDefault(msg, 6, ""), + gameType: jspb.Message.getFieldWithDefault(msg, 7, ""), + currency: jspb.Message.getFieldWithDefault(msg, 8, ""), + cash: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0), + beforeCash: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0), + afterCash: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0), + key: jspb.Message.getFieldWithDefault(msg, 12, ""), + refId: jspb.Message.getFieldWithDefault(msg, 13, ""), + oRefId: jspb.Message.getFieldWithDefault(msg, 14, ""), + groupKey: jspb.Message.getFieldWithDefault(msg, 15, ""), + isBonus: jspb.Message.getBooleanFieldWithDefault(msg, 16, false), + isPromo: jspb.Message.getBooleanFieldWithDefault(msg, 17, false), + isJackpot: jspb.Message.getBooleanFieldWithDefault(msg, 18, false), + siteUsername: jspb.Message.getFieldWithDefault(msg, 19, ""), + bettingType: jspb.Message.getFieldWithDefault(msg, 20, ""), + category: jspb.Message.getFieldWithDefault(msg, 21, ""), + createdAt: jspb.Message.getFieldWithDefault(msg, 22, 0), + utcCreatedAt: jspb.Message.getFieldWithDefault(msg, 23, 0), + mSiteId: jspb.Message.getFieldWithDefault(msg, 24, ""), + mMemberClassId: jspb.Message.getFieldWithDefault(msg, 25, ""), + mMemberLevelId: jspb.Message.getFieldWithDefault(msg, 26, ""), + mParentMemberId: jspb.Message.getFieldWithDefault(msg, 27, ""), + mNickname: jspb.Message.getFieldWithDefault(msg, 28, ""), + mMobilePhoneNumber: jspb.Message.getFieldWithDefault(msg, 29, ""), }; if (includeInstance) { @@ -972,101 +975,117 @@ proto.bet.beteran.api.betting.BettingHistoryModel.deserializeBinaryFromReader = msg.setId(value); break; case 2: - var value = new models_member_pb.Member(); - reader.readMessage( - value, - models_member_pb.Member.deserializeBinaryFromReader - ); - msg.setMember(value); - break; - case 3: var value = /** @type {number} */ (reader.readUint64()); msg.setVendorId(value); break; - case 4: + case 3: var value = /** @type {string} */ (reader.readString()); msg.setVendorName(value); break; - case 5: + case 4: var value = /** @type {number} */ (reader.readUint64()); msg.setGameId(value); break; - case 6: + case 5: var value = /** @type {string} */ (reader.readString()); msg.setGameName(value); break; - case 7: + case 6: var value = /** @type {string} */ (reader.readString()); msg.setGameCategory(value); break; - case 8: + case 7: var value = /** @type {string} */ (reader.readString()); msg.setGameType(value); break; - case 9: + case 8: var value = /** @type {string} */ (reader.readString()); msg.setCurrency(value); break; - case 10: + case 9: var value = /** @type {number} */ (reader.readDouble()); msg.setCash(value); break; - case 11: + case 10: var value = /** @type {number} */ (reader.readDouble()); msg.setBeforeCash(value); break; - case 12: + case 11: var value = /** @type {number} */ (reader.readDouble()); msg.setAfterCash(value); break; - case 13: + case 12: var value = /** @type {string} */ (reader.readString()); msg.setKey(value); break; - case 14: + case 13: var value = /** @type {string} */ (reader.readString()); msg.setRefId(value); break; - case 15: + case 14: var value = /** @type {string} */ (reader.readString()); msg.setORefId(value); break; - case 16: + case 15: var value = /** @type {string} */ (reader.readString()); msg.setGroupKey(value); break; - case 17: + case 16: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsBonus(value); break; - case 18: + case 17: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsPromo(value); break; - case 19: + case 18: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsJackpot(value); break; - case 20: + case 19: var value = /** @type {string} */ (reader.readString()); msg.setSiteUsername(value); break; - case 21: + case 20: var value = /** @type {string} */ (reader.readString()); msg.setBettingType(value); break; - case 22: + case 21: var value = /** @type {string} */ (reader.readString()); msg.setCategory(value); break; - case 23: + case 22: var value = /** @type {number} */ (reader.readUint64()); msg.setCreatedAt(value); break; - case 24: + case 23: var value = /** @type {number} */ (reader.readUint64()); msg.setUtcCreatedAt(value); break; + case 24: + var value = /** @type {string} */ (reader.readString()); + msg.setMSiteId(value); + break; + case 25: + var value = /** @type {string} */ (reader.readString()); + msg.setMMemberClassId(value); + break; + case 26: + var value = /** @type {string} */ (reader.readString()); + msg.setMMemberLevelId(value); + break; + case 27: + var value = /** @type {string} */ (reader.readString()); + msg.setMParentMemberId(value); + break; + case 28: + var value = /** @type {string} */ (reader.readString()); + msg.setMNickname(value); + break; + case 29: + var value = /** @type {string} */ (reader.readString()); + msg.setMMobilePhoneNumber(value); + break; default: reader.skipField(); break; @@ -1103,101 +1122,117 @@ proto.bet.beteran.api.betting.BettingHistoryModel.serializeBinaryToWriter = if (f.length > 0) { writer.writeString(1, f); } - f = message.getMember(); - if (f != null) { - writer.writeMessage( - 2, - f, - models_member_pb.Member.serializeBinaryToWriter - ); - } f = message.getVendorId(); if (f !== 0) { - writer.writeUint64(3, f); + writer.writeUint64(2, f); } f = message.getVendorName(); if (f.length > 0) { - writer.writeString(4, f); + writer.writeString(3, f); } f = message.getGameId(); if (f !== 0) { - writer.writeUint64(5, f); + writer.writeUint64(4, f); } f = message.getGameName(); if (f.length > 0) { - writer.writeString(6, f); + writer.writeString(5, f); } f = message.getGameCategory(); if (f.length > 0) { - writer.writeString(7, f); + writer.writeString(6, f); } f = message.getGameType(); if (f.length > 0) { - writer.writeString(8, f); + writer.writeString(7, f); } f = message.getCurrency(); if (f.length > 0) { - writer.writeString(9, f); + writer.writeString(8, f); } f = message.getCash(); if (f !== 0.0) { - writer.writeDouble(10, f); + writer.writeDouble(9, f); } f = message.getBeforeCash(); if (f !== 0.0) { - writer.writeDouble(11, f); + writer.writeDouble(10, f); } f = message.getAfterCash(); if (f !== 0.0) { - writer.writeDouble(12, f); + writer.writeDouble(11, f); } f = message.getKey(); if (f.length > 0) { - writer.writeString(13, f); + writer.writeString(12, f); } f = message.getRefId(); if (f.length > 0) { - writer.writeString(14, f); + writer.writeString(13, f); } f = message.getORefId(); if (f.length > 0) { - writer.writeString(15, f); + writer.writeString(14, f); } - f = /** @type {string} */ (jspb.Message.getField(message, 16)); + f = /** @type {string} */ (jspb.Message.getField(message, 15)); if (f != null) { - writer.writeString(16, f); + writer.writeString(15, f); } f = message.getIsBonus(); if (f) { - writer.writeBool(17, f); + writer.writeBool(16, f); } f = message.getIsPromo(); if (f) { - writer.writeBool(18, f); + writer.writeBool(17, f); } f = message.getIsJackpot(); if (f) { - writer.writeBool(19, f); + writer.writeBool(18, f); } f = message.getSiteUsername(); if (f.length > 0) { - writer.writeString(20, f); + writer.writeString(19, f); } f = message.getBettingType(); if (f.length > 0) { - writer.writeString(21, f); + writer.writeString(20, f); } f = message.getCategory(); if (f.length > 0) { - writer.writeString(22, f); + writer.writeString(21, f); } f = message.getCreatedAt(); if (f !== 0) { - writer.writeUint64(23, f); + writer.writeUint64(22, f); } f = message.getUtcCreatedAt(); if (f !== 0) { - writer.writeUint64(24, f); + writer.writeUint64(23, f); + } + f = message.getMSiteId(); + if (f.length > 0) { + writer.writeString(24, f); + } + f = message.getMMemberClassId(); + if (f.length > 0) { + writer.writeString(25, f); + } + f = message.getMMemberLevelId(); + if (f.length > 0) { + writer.writeString(26, f); + } + f = /** @type {string} */ (jspb.Message.getField(message, 27)); + if (f != null) { + writer.writeString(27, f); + } + f = message.getMNickname(); + if (f.length > 0) { + writer.writeString(28, f); + } + f = /** @type {string} */ (jspb.Message.getField(message, 29)); + if (f != null) { + writer.writeString(29, f); } }; @@ -1223,50 +1258,12 @@ proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setId = function ( }; /** - * optional bet.beteran.member.Member member = 2; - * @return {?proto.bet.beteran.member.Member} - */ -proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getMember = - function () { - return /** @type{?proto.bet.beteran.member.Member} */ ( - jspb.Message.getWrapperField(this, models_member_pb.Member, 2) - ); - }; - -/** - * @param {?proto.bet.beteran.member.Member|undefined} value - * @return {!proto.bet.beteran.api.betting.BettingHistoryModel} returns this - */ -proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setMember = - function (value) { - return jspb.Message.setWrapperField(this, 2, value); - }; - -/** - * Clears the message field making it undefined. - * @return {!proto.bet.beteran.api.betting.BettingHistoryModel} returns this - */ -proto.bet.beteran.api.betting.BettingHistoryModel.prototype.clearMember = - function () { - return this.setMember(undefined); - }; - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.bet.beteran.api.betting.BettingHistoryModel.prototype.hasMember = - function () { - return jspb.Message.getField(this, 2) != null; - }; - -/** - * optional uint64 vendor_id = 3; + * optional uint64 vendor_id = 2; * @return {number} */ proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getVendorId = function () { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** @@ -1275,17 +1272,17 @@ proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getVendorId = */ proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setVendorId = function (value) { - return jspb.Message.setProto3IntField(this, 3, value); + return jspb.Message.setProto3IntField(this, 2, value); }; /** - * optional string vendor_name = 4; + * optional string vendor_name = 3; * @return {string} */ proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getVendorName = function () { return /** @type {string} */ ( - jspb.Message.getFieldWithDefault(this, 4, "") + jspb.Message.getFieldWithDefault(this, 3, "") ); }; @@ -1295,16 +1292,16 @@ proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getVendorName = */ proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setVendorName = function (value) { - return jspb.Message.setProto3StringField(this, 4, value); + return jspb.Message.setProto3StringField(this, 3, value); }; /** - * optional uint64 game_id = 5; + * optional uint64 game_id = 4; * @return {number} */ proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getGameId = function () { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** @@ -1313,14 +1310,34 @@ proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getGameId = */ proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setGameId = function (value) { - return jspb.Message.setProto3IntField(this, 5, value); + return jspb.Message.setProto3IntField(this, 4, value); }; /** - * optional string game_name = 6; + * optional string game_name = 5; * @return {string} */ proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getGameName = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 5, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.api.betting.BettingHistoryModel} returns this + */ +proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setGameName = + function (value) { + return jspb.Message.setProto3StringField(this, 5, value); + }; + +/** + * optional string game_category = 6; + * @return {string} + */ +proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getGameCategory = function () { return /** @type {string} */ ( jspb.Message.getFieldWithDefault(this, 6, "") @@ -1331,16 +1348,16 @@ proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getGameName = * @param {string} value * @return {!proto.bet.beteran.api.betting.BettingHistoryModel} returns this */ -proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setGameName = +proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setGameCategory = function (value) { return jspb.Message.setProto3StringField(this, 6, value); }; /** - * optional string game_category = 7; + * optional string game_type = 7; * @return {string} */ -proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getGameCategory = +proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getGameType = function () { return /** @type {string} */ ( jspb.Message.getFieldWithDefault(this, 7, "") @@ -1351,16 +1368,16 @@ proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getGameCategory = * @param {string} value * @return {!proto.bet.beteran.api.betting.BettingHistoryModel} returns this */ -proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setGameCategory = +proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setGameType = function (value) { return jspb.Message.setProto3StringField(this, 7, value); }; /** - * optional string game_type = 8; + * optional string currency = 8; * @return {string} */ -proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getGameType = +proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getCurrency = function () { return /** @type {string} */ ( jspb.Message.getFieldWithDefault(this, 8, "") @@ -1371,39 +1388,19 @@ proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getGameType = * @param {string} value * @return {!proto.bet.beteran.api.betting.BettingHistoryModel} returns this */ -proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setGameType = +proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setCurrency = function (value) { return jspb.Message.setProto3StringField(this, 8, value); }; /** - * optional string currency = 9; - * @return {string} - */ -proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getCurrency = - function () { - return /** @type {string} */ ( - jspb.Message.getFieldWithDefault(this, 9, "") - ); - }; - -/** - * @param {string} value - * @return {!proto.bet.beteran.api.betting.BettingHistoryModel} returns this - */ -proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setCurrency = - function (value) { - return jspb.Message.setProto3StringField(this, 9, value); - }; - -/** - * optional double cash = 10; + * optional double cash = 9; * @return {number} */ proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getCash = function () { return /** @type {number} */ ( - jspb.Message.getFloatingPointFieldWithDefault(this, 10, 0.0) + jspb.Message.getFloatingPointFieldWithDefault(this, 9, 0.0) ); }; @@ -1414,14 +1411,34 @@ proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getCash = proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setCash = function ( value ) { - return jspb.Message.setProto3FloatField(this, 10, value); + return jspb.Message.setProto3FloatField(this, 9, value); }; /** - * optional double before_cash = 11; + * optional double before_cash = 10; * @return {number} */ proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getBeforeCash = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 10, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.api.betting.BettingHistoryModel} returns this + */ +proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setBeforeCash = + function (value) { + return jspb.Message.setProto3FloatField(this, 10, value); + }; + +/** + * optional double after_cash = 11; + * @return {number} + */ +proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getAfterCash = function () { return /** @type {number} */ ( jspb.Message.getFloatingPointFieldWithDefault(this, 11, 0.0) @@ -1432,39 +1449,19 @@ proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getBeforeCash = * @param {number} value * @return {!proto.bet.beteran.api.betting.BettingHistoryModel} returns this */ -proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setBeforeCash = +proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setAfterCash = function (value) { return jspb.Message.setProto3FloatField(this, 11, value); }; /** - * optional double after_cash = 12; - * @return {number} - */ -proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getAfterCash = - function () { - return /** @type {number} */ ( - jspb.Message.getFloatingPointFieldWithDefault(this, 12, 0.0) - ); - }; - -/** - * @param {number} value - * @return {!proto.bet.beteran.api.betting.BettingHistoryModel} returns this - */ -proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setAfterCash = - function (value) { - return jspb.Message.setProto3FloatField(this, 12, value); - }; - -/** - * optional string key = 13; + * optional string key = 12; * @return {string} */ proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getKey = function () { return /** @type {string} */ ( - jspb.Message.getFieldWithDefault(this, 13, "") + jspb.Message.getFieldWithDefault(this, 12, "") ); }; @@ -1475,14 +1472,34 @@ proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getKey = proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setKey = function ( value ) { - return jspb.Message.setProto3StringField(this, 13, value); + return jspb.Message.setProto3StringField(this, 12, value); }; /** - * optional string ref_id = 14; + * optional string ref_id = 13; * @return {string} */ proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getRefId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 13, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.api.betting.BettingHistoryModel} returns this + */ +proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setRefId = + function (value) { + return jspb.Message.setProto3StringField(this, 13, value); + }; + +/** + * optional string o_ref_id = 14; + * @return {string} + */ +proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getORefId = function () { return /** @type {string} */ ( jspb.Message.getFieldWithDefault(this, 14, "") @@ -1493,49 +1510,29 @@ proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getRefId = * @param {string} value * @return {!proto.bet.beteran.api.betting.BettingHistoryModel} returns this */ -proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setRefId = +proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setORefId = function (value) { return jspb.Message.setProto3StringField(this, 14, value); }; /** - * optional string o_ref_id = 15; + * optional string group_key = 15; * @return {string} */ -proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getORefId = +proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getGroupKey = function () { return /** @type {string} */ ( jspb.Message.getFieldWithDefault(this, 15, "") ); }; -/** - * @param {string} value - * @return {!proto.bet.beteran.api.betting.BettingHistoryModel} returns this - */ -proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setORefId = - function (value) { - return jspb.Message.setProto3StringField(this, 15, value); - }; - -/** - * optional string group_key = 16; - * @return {string} - */ -proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getGroupKey = - function () { - return /** @type {string} */ ( - jspb.Message.getFieldWithDefault(this, 16, "") - ); - }; - /** * @param {string} value * @return {!proto.bet.beteran.api.betting.BettingHistoryModel} returns this */ proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setGroupKey = function (value) { - return jspb.Message.setField(this, 16, value); + return jspb.Message.setField(this, 15, value); }; /** @@ -1544,7 +1541,7 @@ proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setGroupKey = */ proto.bet.beteran.api.betting.BettingHistoryModel.prototype.clearGroupKey = function () { - return jspb.Message.setField(this, 16, undefined); + return jspb.Message.setField(this, 15, undefined); }; /** @@ -1553,14 +1550,34 @@ proto.bet.beteran.api.betting.BettingHistoryModel.prototype.clearGroupKey = */ proto.bet.beteran.api.betting.BettingHistoryModel.prototype.hasGroupKey = function () { - return jspb.Message.getField(this, 16) != null; + return jspb.Message.getField(this, 15) != null; }; /** - * optional bool is_bonus = 17; + * optional bool is_bonus = 16; * @return {boolean} */ proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getIsBonus = + function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 16, false) + ); + }; + +/** + * @param {boolean} value + * @return {!proto.bet.beteran.api.betting.BettingHistoryModel} returns this + */ +proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setIsBonus = + function (value) { + return jspb.Message.setProto3BooleanField(this, 16, value); + }; + +/** + * optional bool is_promo = 17; + * @return {boolean} + */ +proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getIsPromo = function () { return /** @type {boolean} */ ( jspb.Message.getBooleanFieldWithDefault(this, 17, false) @@ -1571,16 +1588,16 @@ proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getIsBonus = * @param {boolean} value * @return {!proto.bet.beteran.api.betting.BettingHistoryModel} returns this */ -proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setIsBonus = +proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setIsPromo = function (value) { return jspb.Message.setProto3BooleanField(this, 17, value); }; /** - * optional bool is_promo = 18; + * optional bool is_jackpot = 18; * @return {boolean} */ -proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getIsPromo = +proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getIsJackpot = function () { return /** @type {boolean} */ ( jspb.Message.getBooleanFieldWithDefault(this, 18, false) @@ -1591,36 +1608,36 @@ proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getIsPromo = * @param {boolean} value * @return {!proto.bet.beteran.api.betting.BettingHistoryModel} returns this */ -proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setIsPromo = +proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setIsJackpot = function (value) { return jspb.Message.setProto3BooleanField(this, 18, value); }; /** - * optional bool is_jackpot = 19; - * @return {boolean} + * optional string site_username = 19; + * @return {string} */ -proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getIsJackpot = +proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getSiteUsername = function () { - return /** @type {boolean} */ ( - jspb.Message.getBooleanFieldWithDefault(this, 19, false) + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 19, "") ); }; /** - * @param {boolean} value + * @param {string} value * @return {!proto.bet.beteran.api.betting.BettingHistoryModel} returns this */ -proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setIsJackpot = +proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setSiteUsername = function (value) { - return jspb.Message.setProto3BooleanField(this, 19, value); + return jspb.Message.setProto3StringField(this, 19, value); }; /** - * optional string site_username = 20; + * optional string betting_type = 20; * @return {string} */ -proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getSiteUsername = +proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getBettingType = function () { return /** @type {string} */ ( jspb.Message.getFieldWithDefault(this, 20, "") @@ -1631,16 +1648,16 @@ proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getSiteUsername = * @param {string} value * @return {!proto.bet.beteran.api.betting.BettingHistoryModel} returns this */ -proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setSiteUsername = +proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setBettingType = function (value) { return jspb.Message.setProto3StringField(this, 20, value); }; /** - * optional string betting_type = 21; + * optional string category = 21; * @return {string} */ -proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getBettingType = +proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getCategory = function () { return /** @type {string} */ ( jspb.Message.getFieldWithDefault(this, 21, "") @@ -1651,36 +1668,36 @@ proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getBettingType = * @param {string} value * @return {!proto.bet.beteran.api.betting.BettingHistoryModel} returns this */ -proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setBettingType = +proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setCategory = function (value) { return jspb.Message.setProto3StringField(this, 21, value); }; /** - * optional string category = 22; - * @return {string} + * optional uint64 created_at = 22; + * @return {number} */ -proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getCategory = +proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getCreatedAt = function () { - return /** @type {string} */ ( - jspb.Message.getFieldWithDefault(this, 22, "") + return /** @type {number} */ ( + jspb.Message.getFieldWithDefault(this, 22, 0) ); }; /** - * @param {string} value + * @param {number} value * @return {!proto.bet.beteran.api.betting.BettingHistoryModel} returns this */ -proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setCategory = +proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setCreatedAt = function (value) { - return jspb.Message.setProto3StringField(this, 22, value); + return jspb.Message.setProto3IntField(this, 22, value); }; /** - * optional uint64 created_at = 23; + * optional uint64 utc_created_at = 23; * @return {number} */ -proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getCreatedAt = +proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getUtcCreatedAt = function () { return /** @type {number} */ ( jspb.Message.getFieldWithDefault(this, 23, 0) @@ -1691,29 +1708,165 @@ proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getCreatedAt = * @param {number} value * @return {!proto.bet.beteran.api.betting.BettingHistoryModel} returns this */ -proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setCreatedAt = +proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setUtcCreatedAt = function (value) { return jspb.Message.setProto3IntField(this, 23, value); }; /** - * optional uint64 utc_created_at = 24; - * @return {number} + * optional string m_site_id = 24; + * @return {string} */ -proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getUtcCreatedAt = +proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getMSiteId = function () { - return /** @type {number} */ ( - jspb.Message.getFieldWithDefault(this, 24, 0) + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 24, "") ); }; /** - * @param {number} value + * @param {string} value * @return {!proto.bet.beteran.api.betting.BettingHistoryModel} returns this */ -proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setUtcCreatedAt = +proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setMSiteId = function (value) { - return jspb.Message.setProto3IntField(this, 24, value); + return jspb.Message.setProto3StringField(this, 24, value); + }; + +/** + * optional string m_member_class_id = 25; + * @return {string} + */ +proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getMMemberClassId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 25, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.api.betting.BettingHistoryModel} returns this + */ +proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setMMemberClassId = + function (value) { + return jspb.Message.setProto3StringField(this, 25, value); + }; + +/** + * optional string m_member_level_id = 26; + * @return {string} + */ +proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getMMemberLevelId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 26, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.api.betting.BettingHistoryModel} returns this + */ +proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setMMemberLevelId = + function (value) { + return jspb.Message.setProto3StringField(this, 26, value); + }; + +/** + * optional string m_parent_member_id = 27; + * @return {string} + */ +proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getMParentMemberId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 27, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.api.betting.BettingHistoryModel} returns this + */ +proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setMParentMemberId = + function (value) { + return jspb.Message.setField(this, 27, value); + }; + +/** + * Clears the field making it undefined. + * @return {!proto.bet.beteran.api.betting.BettingHistoryModel} returns this + */ +proto.bet.beteran.api.betting.BettingHistoryModel.prototype.clearMParentMemberId = + function () { + return jspb.Message.setField(this, 27, undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.api.betting.BettingHistoryModel.prototype.hasMParentMemberId = + function () { + return jspb.Message.getField(this, 27) != null; + }; + +/** + * optional string m_nickname = 28; + * @return {string} + */ +proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getMNickname = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 28, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.api.betting.BettingHistoryModel} returns this + */ +proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setMNickname = + function (value) { + return jspb.Message.setProto3StringField(this, 28, value); + }; + +/** + * optional string m_mobile_phone_number = 29; + * @return {string} + */ +proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getMMobilePhoneNumber = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 29, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.api.betting.BettingHistoryModel} returns this + */ +proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setMMobilePhoneNumber = + function (value) { + return jspb.Message.setField(this, 29, value); + }; + +/** + * Clears the field making it undefined. + * @return {!proto.bet.beteran.api.betting.BettingHistoryModel} returns this + */ +proto.bet.beteran.api.betting.BettingHistoryModel.prototype.clearMMobilePhoneNumber = + function () { + return jspb.Message.setField(this, 29, undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.api.betting.BettingHistoryModel.prototype.hasMMobilePhoneNumber = + function () { + return jspb.Message.getField(this, 29) != null; }; goog.object.extend(exports, proto.bet.beteran.api.betting);