model is changed

This commit is contained in:
병준 박 2022-09-01 03:23:13 +00:00
parent 628a663037
commit 9b16bf5b34
4 changed files with 846 additions and 472 deletions

View File

@ -65,6 +65,11 @@ export namespace ListBettingHistoryRequest {
getVendorId(): number;
setVendorId(value: number): void;
clearVendorIdsList(): void;
getVendorIdsList(): Array<number>;
setVendorIdsList(value: Array<number>): void;
addVendorIds(value: number, index?: number): number;
hasVendorName(): boolean;
clearVendorName(): void;
getVendorName(): string;
@ -80,6 +85,11 @@ export namespace ListBettingHistoryRequest {
getGameId(): number;
setGameId(value: number): void;
clearGameIdsList(): void;
getGameIdsList(): Array<number>;
setGameIdsList(value: Array<number>): void;
addGameIds(value: number, index?: number): number;
hasGameName(): boolean;
clearGameName(): void;
getGameName(): string;
@ -227,9 +237,11 @@ export namespace ListBettingHistoryRequest {
export type AsObject = {
memberId: string;
vendorId: number;
vendorIdsList: Array<number>;
vendorName: string;
vendorNameLike: string;
gameId: number;
gameIdsList: Array<number>;
gameName: string;
gameNameLike: string;
gameCategory: string;

File diff suppressed because it is too large Load Diff

View File

@ -197,27 +197,10 @@ 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;
hasMember(): boolean;
clearMember(): void;
getMember(): BettingHistoryModel.Member | undefined;
setMember(value?: BettingHistoryModel.Member): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): BettingHistoryModel.AsObject;
@ -265,11 +248,58 @@ export namespace BettingHistoryModel {
category: string;
createdAt: number;
utcCreatedAt: number;
mSiteId: string;
mMemberClassId: string;
mMemberLevelId: string;
mParentMemberId: string;
mNickname: string;
mMobilePhoneNumber: string;
member?: BettingHistoryModel.Member.AsObject;
};
export class Member extends jspb.Message {
getSiteId(): string;
setSiteId(value: string): void;
getMemberClassId(): string;
setMemberClassId(value: string): void;
getMemberLevelId(): string;
setMemberLevelId(value: string): void;
hasParentMemberId(): boolean;
clearParentMemberId(): void;
getParentMemberId(): string;
setParentMemberId(value: string): void;
getNickname(): string;
setNickname(value: string): void;
hasMobilePhoneNumber(): boolean;
clearMobilePhoneNumber(): void;
getMobilePhoneNumber(): string;
setMobilePhoneNumber(value: string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Member.AsObject;
static toObject(includeInstance: boolean, msg: Member): Member.AsObject;
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
};
static serializeBinaryToWriter(
message: Member,
writer: jspb.BinaryWriter
): void;
static deserializeBinary(bytes: Uint8Array): Member;
static deserializeBinaryFromReader(
message: Member,
reader: jspb.BinaryReader
): Member;
}
export namespace Member {
export type AsObject = {
siteId: string;
memberClassId: string;
memberLevelId: string;
parentMemberId: string;
nickname: string;
mobilePhoneNumber: string;
};
}
}

View File

@ -25,6 +25,11 @@ goog.exportSymbol(
null,
global
);
goog.exportSymbol(
"proto.bet.beteran.api.betting.BettingHistoryModel.Member",
null,
global
);
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
@ -69,6 +74,31 @@ if (goog.DEBUG && !COMPILED) {
proto.bet.beteran.api.betting.BettingHistoryModel.displayName =
"proto.bet.beteran.api.betting.BettingHistoryModel";
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bet.beteran.api.betting.BettingHistoryModel.Member = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(
proto.bet.beteran.api.betting.BettingHistoryModel.Member,
jspb.Message
);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bet.beteran.api.betting.BettingHistoryModel.Member.displayName =
"proto.bet.beteran.api.betting.BettingHistoryModel.Member";
}
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
@ -924,12 +954,12 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
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, ""),
member:
(f = msg.getMember()) &&
proto.bet.beteran.api.betting.BettingHistoryModel.Member.toObject(
includeInstance,
f
),
};
if (includeInstance) {
@ -1063,28 +1093,14 @@ proto.bet.beteran.api.betting.BettingHistoryModel.deserializeBinaryFromReader =
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);
var value =
new proto.bet.beteran.api.betting.BettingHistoryModel.Member();
reader.readMessage(
value,
proto.bet.beteran.api.betting.BettingHistoryModel.Member
.deserializeBinaryFromReader
);
msg.setMember(value);
break;
default:
reader.skipField();
@ -1210,30 +1226,334 @@ proto.bet.beteran.api.betting.BettingHistoryModel.serializeBinaryToWriter =
if (f !== 0) {
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));
f = message.getMember();
if (f != null) {
writer.writeString(27, f);
writer.writeMessage(
24,
f,
proto.bet.beteran.api.betting.BettingHistoryModel.Member
.serializeBinaryToWriter
);
}
f = message.getMNickname();
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.toObject =
function (opt_includeInstance) {
return proto.bet.beteran.api.betting.BettingHistoryModel.Member.toObject(
opt_includeInstance,
this
);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.bet.beteran.api.betting.BettingHistoryModel.Member} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.bet.beteran.api.betting.BettingHistoryModel.Member.toObject = function (
includeInstance,
msg
) {
var f,
obj = {
siteId: jspb.Message.getFieldWithDefault(msg, 1, ""),
memberClassId: jspb.Message.getFieldWithDefault(msg, 2, ""),
memberLevelId: jspb.Message.getFieldWithDefault(msg, 3, ""),
parentMemberId: jspb.Message.getFieldWithDefault(msg, 4, ""),
nickname: jspb.Message.getFieldWithDefault(msg, 5, ""),
mobilePhoneNumber: jspb.Message.getFieldWithDefault(msg, 6, ""),
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.bet.beteran.api.betting.BettingHistoryModel.Member}
*/
proto.bet.beteran.api.betting.BettingHistoryModel.Member.deserializeBinary =
function (bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.bet.beteran.api.betting.BettingHistoryModel.Member();
return proto.bet.beteran.api.betting.BettingHistoryModel.Member.deserializeBinaryFromReader(
msg,
reader
);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.bet.beteran.api.betting.BettingHistoryModel.Member} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.bet.beteran.api.betting.BettingHistoryModel.Member}
*/
proto.bet.beteran.api.betting.BettingHistoryModel.Member.deserializeBinaryFromReader =
function (msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setSiteId(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setMemberClassId(value);
break;
case 3:
var value = /** @type {string} */ (reader.readString());
msg.setMemberLevelId(value);
break;
case 4:
var value = /** @type {string} */ (reader.readString());
msg.setParentMemberId(value);
break;
case 5:
var value = /** @type {string} */ (reader.readString());
msg.setNickname(value);
break;
case 6:
var value = /** @type {string} */ (reader.readString());
msg.setMobilePhoneNumber(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.serializeBinary =
function () {
var writer = new jspb.BinaryWriter();
proto.bet.beteran.api.betting.BettingHistoryModel.Member.serializeBinaryToWriter(
this,
writer
);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.bet.beteran.api.betting.BettingHistoryModel.Member} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.bet.beteran.api.betting.BettingHistoryModel.Member.serializeBinaryToWriter =
function (message, writer) {
var f = undefined;
f = message.getSiteId();
if (f.length > 0) {
writer.writeString(28, f);
writer.writeString(1, f);
}
f = /** @type {string} */ (jspb.Message.getField(message, 29));
f = message.getMemberClassId();
if (f.length > 0) {
writer.writeString(2, f);
}
f = message.getMemberLevelId();
if (f.length > 0) {
writer.writeString(3, f);
}
f = /** @type {string} */ (jspb.Message.getField(message, 4));
if (f != null) {
writer.writeString(29, f);
writer.writeString(4, f);
}
f = message.getNickname();
if (f.length > 0) {
writer.writeString(5, f);
}
f = /** @type {string} */ (jspb.Message.getField(message, 6));
if (f != null) {
writer.writeString(6, f);
}
};
/**
* optional string site_id = 1;
* @return {string}
*/
proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.getSiteId =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 1, "")
);
};
/**
* @param {string} value
* @return {!proto.bet.beteran.api.betting.BettingHistoryModel.Member} returns this
*/
proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.setSiteId =
function (value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* optional string member_class_id = 2;
* @return {string}
*/
proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.getMemberClassId =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 2, "")
);
};
/**
* @param {string} value
* @return {!proto.bet.beteran.api.betting.BettingHistoryModel.Member} returns this
*/
proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.setMemberClassId =
function (value) {
return jspb.Message.setProto3StringField(this, 2, value);
};
/**
* optional string member_level_id = 3;
* @return {string}
*/
proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.getMemberLevelId =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 3, "")
);
};
/**
* @param {string} value
* @return {!proto.bet.beteran.api.betting.BettingHistoryModel.Member} returns this
*/
proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.setMemberLevelId =
function (value) {
return jspb.Message.setProto3StringField(this, 3, value);
};
/**
* optional string parent_member_id = 4;
* @return {string}
*/
proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.getParentMemberId =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 4, "")
);
};
/**
* @param {string} value
* @return {!proto.bet.beteran.api.betting.BettingHistoryModel.Member} returns this
*/
proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.setParentMemberId =
function (value) {
return jspb.Message.setField(this, 4, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.bet.beteran.api.betting.BettingHistoryModel.Member} returns this
*/
proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.clearParentMemberId =
function () {
return jspb.Message.setField(this, 4, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.hasParentMemberId =
function () {
return jspb.Message.getField(this, 4) != null;
};
/**
* optional string nickname = 5;
* @return {string}
*/
proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.getNickname =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 5, "")
);
};
/**
* @param {string} value
* @return {!proto.bet.beteran.api.betting.BettingHistoryModel.Member} returns this
*/
proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.setNickname =
function (value) {
return jspb.Message.setProto3StringField(this, 5, value);
};
/**
* optional string mobile_phone_number = 6;
* @return {string}
*/
proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.getMobilePhoneNumber =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 6, "")
);
};
/**
* @param {string} value
* @return {!proto.bet.beteran.api.betting.BettingHistoryModel.Member} returns this
*/
proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.setMobilePhoneNumber =
function (value) {
return jspb.Message.setField(this, 6, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.bet.beteran.api.betting.BettingHistoryModel.Member} returns this
*/
proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.clearMobilePhoneNumber =
function () {
return jspb.Message.setField(this, 6, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.hasMobilePhoneNumber =
function () {
return jspb.Message.getField(this, 6) != null;
};
/**
@ -1714,159 +2034,45 @@ proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setUtcCreatedAt =
};
/**
* optional string m_site_id = 24;
* @return {string}
* optional Member member = 24;
* @return {?proto.bet.beteran.api.betting.BettingHistoryModel.Member}
*/
proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getMSiteId =
proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getMember =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 24, "")
return /** @type{?proto.bet.beteran.api.betting.BettingHistoryModel.Member} */ (
jspb.Message.getWrapperField(
this,
proto.bet.beteran.api.betting.BettingHistoryModel.Member,
24
)
);
};
/**
* @param {string} value
* @param {?proto.bet.beteran.api.betting.BettingHistoryModel.Member|undefined} value
* @return {!proto.bet.beteran.api.betting.BettingHistoryModel} returns this
*/
proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setMSiteId =
proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setMember =
function (value) {
return jspb.Message.setProto3StringField(this, 24, value);
return jspb.Message.setWrapperField(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
* Clears the message field making it undefined.
* @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 =
proto.bet.beteran.api.betting.BettingHistoryModel.prototype.clearMember =
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);
return this.setMember(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.api.betting.BettingHistoryModel.prototype.hasMParentMemberId =
proto.bet.beteran.api.betting.BettingHistoryModel.prototype.hasMember =
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;
return jspb.Message.getField(this, 24) != null;
};
goog.object.extend(exports, proto.bet.beteran.api.betting);