model is modified

This commit is contained in:
병준 박 2022-09-01 10:33:29 +00:00
parent 5cdcb7d7e2
commit 55af317999
8 changed files with 6285 additions and 72 deletions

View File

@ -0,0 +1,346 @@
// package: bet.beteran.c2se.api.betting
// file: c2se/api/betting.proto
import * as jspb from 'google-protobuf';
import * as protobuf_rpc_pb from '../../protobuf/rpc_pb';
import * as protobuf_pagination_pb from '../../protobuf/pagination_pb';
import * as models_core_network_pb from '../../models/core/network_pb';
import * as models_api_betting_pb from '../../models/api/betting_pb';
export class ListBettingHistoryRequest extends jspb.Message {
hasPagination(): boolean;
clearPagination(): void;
getPagination(): protobuf_pagination_pb.Pagination | undefined;
setPagination(value?: protobuf_pagination_pb.Pagination): void;
clearSortsList(): void;
getSortsList(): Array<protobuf_pagination_pb.Sort>;
setSortsList(value: Array<protobuf_pagination_pb.Sort>): void;
addSorts(
value?: protobuf_pagination_pb.Sort,
index?: number
): protobuf_pagination_pb.Sort;
hasSearch(): boolean;
clearSearch(): void;
getSearch(): ListBettingHistoryRequest.Search | undefined;
setSearch(value?: ListBettingHistoryRequest.Search): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ListBettingHistoryRequest.AsObject;
static toObject(
includeInstance: boolean,
msg: ListBettingHistoryRequest
): ListBettingHistoryRequest.AsObject;
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
};
static serializeBinaryToWriter(
message: ListBettingHistoryRequest,
writer: jspb.BinaryWriter
): void;
static deserializeBinary(bytes: Uint8Array): ListBettingHistoryRequest;
static deserializeBinaryFromReader(
message: ListBettingHistoryRequest,
reader: jspb.BinaryReader
): ListBettingHistoryRequest;
}
export namespace ListBettingHistoryRequest {
export type AsObject = {
pagination?: protobuf_pagination_pb.Pagination.AsObject;
sortsList: Array<protobuf_pagination_pb.Sort.AsObject>;
search?: ListBettingHistoryRequest.Search.AsObject;
};
export class Search extends jspb.Message {
hasMemberId(): boolean;
clearMemberId(): void;
getMemberId(): string;
setMemberId(value: string): void;
hasVendorId(): boolean;
clearVendorId(): void;
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;
setVendorName(value: string): void;
hasVendorNameLike(): boolean;
clearVendorNameLike(): void;
getVendorNameLike(): string;
setVendorNameLike(value: string): void;
hasGameId(): boolean;
clearGameId(): void;
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;
setGameName(value: string): void;
hasGameNameLike(): boolean;
clearGameNameLike(): void;
getGameNameLike(): string;
setGameNameLike(value: string): void;
hasGameCategory(): boolean;
clearGameCategory(): void;
getGameCategory(): string;
setGameCategory(value: string): void;
hasGameCategoryLike(): boolean;
clearGameCategoryLike(): void;
getGameCategoryLike(): string;
setGameCategoryLike(value: string): void;
hasGameType(): boolean;
clearGameType(): void;
getGameType(): string;
setGameType(value: string): void;
hasGameTypeLike(): boolean;
clearGameTypeLike(): void;
getGameTypeLike(): string;
setGameTypeLike(value: string): void;
hasCurrency(): boolean;
clearCurrency(): void;
getCurrency(): string;
setCurrency(value: string): void;
hasCurrencyLike(): boolean;
clearCurrencyLike(): void;
getCurrencyLike(): string;
setCurrencyLike(value: string): void;
hasKey(): boolean;
clearKey(): void;
getKey(): string;
setKey(value: string): void;
hasKeyLike(): boolean;
clearKeyLike(): void;
getKeyLike(): string;
setKeyLike(value: string): void;
hasRefId(): boolean;
clearRefId(): void;
getRefId(): string;
setRefId(value: string): void;
hasRefIdLike(): boolean;
clearRefIdLike(): void;
getRefIdLike(): string;
setRefIdLike(value: string): void;
hasORefId(): boolean;
clearORefId(): void;
getORefId(): string;
setORefId(value: string): void;
hasORefIdLike(): boolean;
clearORefIdLike(): void;
getORefIdLike(): string;
setORefIdLike(value: string): void;
hasGroupKey(): boolean;
clearGroupKey(): void;
getGroupKey(): string;
setGroupKey(value: string): void;
hasGroupKeyLike(): boolean;
clearGroupKeyLike(): void;
getGroupKeyLike(): string;
setGroupKeyLike(value: string): void;
hasIsBonus(): boolean;
clearIsBonus(): void;
getIsBonus(): boolean;
setIsBonus(value: boolean): void;
hasIsPromo(): boolean;
clearIsPromo(): void;
getIsPromo(): boolean;
setIsPromo(value: boolean): void;
hasIsJackpot(): boolean;
clearIsJackpot(): void;
getIsJackpot(): boolean;
setIsJackpot(value: boolean): void;
hasSiteUsername(): boolean;
clearSiteUsername(): void;
getSiteUsername(): string;
setSiteUsername(value: string): void;
hasSiteUsernameLike(): boolean;
clearSiteUsernameLike(): void;
getSiteUsernameLike(): string;
setSiteUsernameLike(value: string): void;
hasBettingType(): boolean;
clearBettingType(): void;
getBettingType(): string;
setBettingType(value: string): void;
hasBettingTypeLike(): boolean;
clearBettingTypeLike(): void;
getBettingTypeLike(): string;
setBettingTypeLike(value: string): void;
hasCategory(): boolean;
clearCategory(): void;
getCategory(): string;
setCategory(value: string): void;
hasCategoryLike(): boolean;
clearCategoryLike(): void;
getCategoryLike(): string;
setCategoryLike(value: string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Search.AsObject;
static toObject(includeInstance: boolean, msg: Search): Search.AsObject;
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
};
static serializeBinaryToWriter(
message: Search,
writer: jspb.BinaryWriter
): void;
static deserializeBinary(bytes: Uint8Array): Search;
static deserializeBinaryFromReader(
message: Search,
reader: jspb.BinaryReader
): Search;
}
export namespace Search {
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;
gameCategoryLike: string;
gameType: string;
gameTypeLike: string;
currency: string;
currencyLike: string;
key: string;
keyLike: string;
refId: string;
refIdLike: string;
oRefId: string;
oRefIdLike: string;
groupKey: string;
groupKeyLike: string;
isBonus: boolean;
isPromo: boolean;
isJackpot: boolean;
siteUsername: string;
siteUsernameLike: string;
bettingType: string;
bettingTypeLike: string;
category: string;
categoryLike: string;
};
}
}
export class ListBettingHistoryResponse extends jspb.Message {
hasError(): boolean;
clearError(): void;
getError(): protobuf_rpc_pb.Error | undefined;
setError(value?: protobuf_rpc_pb.Error): void;
hasResult(): boolean;
clearResult(): void;
getResult(): ListBettingHistoryResponse.Result | undefined;
setResult(value?: ListBettingHistoryResponse.Result): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ListBettingHistoryResponse.AsObject;
static toObject(
includeInstance: boolean,
msg: ListBettingHistoryResponse
): ListBettingHistoryResponse.AsObject;
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
};
static serializeBinaryToWriter(
message: ListBettingHistoryResponse,
writer: jspb.BinaryWriter
): void;
static deserializeBinary(bytes: Uint8Array): ListBettingHistoryResponse;
static deserializeBinaryFromReader(
message: ListBettingHistoryResponse,
reader: jspb.BinaryReader
): ListBettingHistoryResponse;
}
export namespace ListBettingHistoryResponse {
export type AsObject = {
error?: protobuf_rpc_pb.Error.AsObject;
result?: ListBettingHistoryResponse.Result.AsObject;
};
export class Result extends jspb.Message {
clearBettingHistoryList(): void;
getBettingHistoryList(): Array<models_api_betting_pb.BettingHistoryModel>;
setBettingHistoryList(
value: Array<models_api_betting_pb.BettingHistoryModel>
): void;
addBettingHistory(
value?: models_api_betting_pb.BettingHistoryModel,
index?: number
): models_api_betting_pb.BettingHistoryModel;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Result.AsObject;
static toObject(includeInstance: boolean, msg: Result): Result.AsObject;
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
};
static serializeBinaryToWriter(
message: Result,
writer: jspb.BinaryWriter
): void;
static deserializeBinary(bytes: Uint8Array): Result;
static deserializeBinaryFromReader(
message: Result,
reader: jspb.BinaryReader
): Result;
}
export namespace Result {
export type AsObject = {
bettingHistoryList: Array<models_api_betting_pb.BettingHistoryModel.AsObject>;
};
}
}

File diff suppressed because it is too large Load Diff

View File

@ -436,11 +436,31 @@ export namespace ListMembersRequest {
getParentMemberId(): string;
setParentMemberId(value: string): void;
hasUsername(): boolean;
clearUsername(): void;
getUsername(): string;
setUsername(value: string): void;
clearUsernamesList(): void;
getUsernamesList(): Array<string>;
setUsernamesList(value: Array<string>): void;
addUsernames(value: string, index?: number): string;
hasUsernameLike(): boolean;
clearUsernameLike(): void;
getUsernameLike(): string;
setUsernameLike(value: string): void;
hasNickname(): boolean;
clearNickname(): void;
getNickname(): string;
setNickname(value: string): void;
clearNicknamesList(): void;
getNicknamesList(): Array<string>;
setNicknamesList(value: Array<string>): void;
addNicknames(value: string, index?: number): string;
hasNicknameLike(): boolean;
clearNicknameLike(): void;
getNicknameLike(): string;
@ -492,7 +512,11 @@ export namespace ListMembersRequest {
memberClassId: string;
memberLevelId: string;
parentMemberId: string;
username: string;
usernamesList: Array<string>;
usernameLike: string;
nickname: string;
nicknamesList: Array<string>;
nicknameLike: string;
mobilePhoneNumberLike: string;
lastSigninedIp: string;

View File

@ -372,7 +372,14 @@ if (goog.DEBUG && !COMPILED) {
* @constructor
*/
proto.bet.beteran.c2se.member.ListMembersRequest.Search = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
jspb.Message.initialize(
this,
opt_data,
0,
-1,
proto.bet.beteran.c2se.member.ListMembersRequest.Search.repeatedFields_,
null
);
};
goog.inherits(
proto.bet.beteran.c2se.member.ListMembersRequest.Search,
@ -3448,6 +3455,15 @@ proto.bet.beteran.c2se.member.ListMembersRequest.serializeBinaryToWriter =
}
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.bet.beteran.c2se.member.ListMembersRequest.Search.repeatedFields_ = [
6, 9,
];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
@ -3488,12 +3504,18 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
memberClassId: jspb.Message.getFieldWithDefault(msg, 2, ""),
memberLevelId: jspb.Message.getFieldWithDefault(msg, 3, ""),
parentMemberId: jspb.Message.getFieldWithDefault(msg, 4, ""),
usernameLike: jspb.Message.getFieldWithDefault(msg, 5, ""),
nicknameLike: jspb.Message.getFieldWithDefault(msg, 6, ""),
mobilePhoneNumberLike: jspb.Message.getFieldWithDefault(msg, 7, ""),
lastSigninedIp: jspb.Message.getFieldWithDefault(msg, 8, ""),
state: jspb.Message.getFieldWithDefault(msg, 9, 0),
deletedAt: jspb.Message.getFieldWithDefault(msg, 10, 0),
username: jspb.Message.getFieldWithDefault(msg, 5, ""),
usernamesList:
(f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f,
usernameLike: jspb.Message.getFieldWithDefault(msg, 7, ""),
nickname: jspb.Message.getFieldWithDefault(msg, 8, ""),
nicknamesList:
(f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f,
nicknameLike: jspb.Message.getFieldWithDefault(msg, 10, ""),
mobilePhoneNumberLike: jspb.Message.getFieldWithDefault(msg, 11, ""),
lastSigninedIp: jspb.Message.getFieldWithDefault(msg, 12, ""),
state: jspb.Message.getFieldWithDefault(msg, 13, 0),
deletedAt: jspb.Message.getFieldWithDefault(msg, 14, 0),
};
if (includeInstance) {
@ -3551,27 +3573,43 @@ proto.bet.beteran.c2se.member.ListMembersRequest.Search.deserializeBinaryFromRea
break;
case 5:
var value = /** @type {string} */ (reader.readString());
msg.setUsernameLike(value);
msg.setUsername(value);
break;
case 6:
var value = /** @type {string} */ (reader.readString());
msg.setNicknameLike(value);
msg.addUsernames(value);
break;
case 7:
var value = /** @type {string} */ (reader.readString());
msg.setMobilePhoneNumberLike(value);
msg.setUsernameLike(value);
break;
case 8:
var value = /** @type {string} */ (reader.readString());
msg.setLastSigninedIp(value);
msg.setNickname(value);
break;
case 9:
var value = /** @type {string} */ (reader.readString());
msg.addNicknames(value);
break;
case 10:
var value = /** @type {string} */ (reader.readString());
msg.setNicknameLike(value);
break;
case 11:
var value = /** @type {string} */ (reader.readString());
msg.setMobilePhoneNumberLike(value);
break;
case 12:
var value = /** @type {string} */ (reader.readString());
msg.setLastSigninedIp(value);
break;
case 13:
var value = /** @type {!proto.bet.beteran.member.MemberState} */ (
reader.readEnum()
);
msg.setState(value);
break;
case 10:
case 14:
var value = /** @type {number} */ (reader.readUint64());
msg.setDeletedAt(value);
break;
@ -3627,9 +3665,9 @@ proto.bet.beteran.c2se.member.ListMembersRequest.Search.serializeBinaryToWriter
if (f != null) {
writer.writeString(5, f);
}
f = /** @type {string} */ (jspb.Message.getField(message, 6));
if (f != null) {
writer.writeString(6, f);
f = message.getUsernamesList();
if (f.length > 0) {
writer.writeRepeatedString(6, f);
}
f = /** @type {string} */ (jspb.Message.getField(message, 7));
if (f != null) {
@ -3639,15 +3677,31 @@ proto.bet.beteran.c2se.member.ListMembersRequest.Search.serializeBinaryToWriter
if (f != null) {
writer.writeString(8, f);
}
f = message.getNicknamesList();
if (f.length > 0) {
writer.writeRepeatedString(9, f);
}
f = /** @type {string} */ (jspb.Message.getField(message, 10));
if (f != null) {
writer.writeString(10, f);
}
f = /** @type {string} */ (jspb.Message.getField(message, 11));
if (f != null) {
writer.writeString(11, f);
}
f = /** @type {string} */ (jspb.Message.getField(message, 12));
if (f != null) {
writer.writeString(12, f);
}
f = /** @type {!proto.bet.beteran.member.MemberState} */ (
jspb.Message.getField(message, 9)
jspb.Message.getField(message, 13)
);
if (f != null) {
writer.writeEnum(9, f);
writer.writeEnum(13, f);
}
f = /** @type {number} */ (jspb.Message.getField(message, 10));
f = /** @type {number} */ (jspb.Message.getField(message, 14));
if (f != null) {
writer.writeUint64(10, f);
writer.writeUint64(14, f);
}
};
@ -3804,10 +3858,10 @@ proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasParentMembe
};
/**
* optional string username_like = 5;
* optional string username = 5;
* @return {string}
*/
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getUsernameLike =
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getUsername =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 5, "")
@ -3818,7 +3872,7 @@ proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getUsernameLik
* @param {string} value
* @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
*/
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setUsernameLike =
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setUsername =
function (value) {
return jspb.Message.setField(this, 5, value);
};
@ -3827,7 +3881,7 @@ proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setUsernameLik
* Clears the field making it undefined.
* @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
*/
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearUsernameLike =
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearUsername =
function () {
return jspb.Message.setField(this, 5, undefined);
};
@ -3836,54 +3890,55 @@ proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearUsernameL
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasUsernameLike =
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasUsername =
function () {
return jspb.Message.getField(this, 5) != null;
};
/**
* optional string nickname_like = 6;
* @return {string}
* repeated string usernames = 6;
* @return {!Array<string>}
*/
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getNicknameLike =
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getUsernamesList =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 6, "")
return /** @type {!Array<string>} */ (
jspb.Message.getRepeatedField(this, 6)
);
};
/**
* @param {string} value
* @param {!Array<string>} value
* @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
*/
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setNicknameLike =
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setUsernamesList =
function (value) {
return jspb.Message.setField(this, 6, value);
return jspb.Message.setField(this, 6, value || []);
};
/**
* Clears the field making it undefined.
* @param {string} value
* @param {number=} opt_index
* @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
*/
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearNicknameLike =
function () {
return jspb.Message.setField(this, 6, undefined);
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.addUsernames =
function (value, opt_index) {
return jspb.Message.addToRepeatedField(this, 6, value, opt_index);
};
/**
* Returns whether this field is set.
* @return {boolean}
* Clears the list making it empty but non-null.
* @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
*/
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasNicknameLike =
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearUsernamesList =
function () {
return jspb.Message.getField(this, 6) != null;
return this.setUsernamesList([]);
};
/**
* optional string mobile_phone_number_like = 7;
* optional string username_like = 7;
* @return {string}
*/
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getMobilePhoneNumberLike =
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getUsernameLike =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 7, "")
@ -3894,7 +3949,7 @@ proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getMobilePhone
* @param {string} value
* @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
*/
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setMobilePhoneNumberLike =
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setUsernameLike =
function (value) {
return jspb.Message.setField(this, 7, value);
};
@ -3903,7 +3958,7 @@ proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setMobilePhone
* Clears the field making it undefined.
* @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
*/
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearMobilePhoneNumberLike =
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearUsernameLike =
function () {
return jspb.Message.setField(this, 7, undefined);
};
@ -3912,16 +3967,16 @@ proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearMobilePho
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasMobilePhoneNumberLike =
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasUsernameLike =
function () {
return jspb.Message.getField(this, 7) != null;
};
/**
* optional string last_signined_ip = 8;
* optional string nickname = 8;
* @return {string}
*/
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getLastSigninedIp =
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getNickname =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 8, "")
@ -3932,7 +3987,7 @@ proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getLastSignine
* @param {string} value
* @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
*/
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setLastSigninedIp =
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setNickname =
function (value) {
return jspb.Message.setField(this, 8, value);
};
@ -3941,7 +3996,7 @@ proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setLastSignine
* Clears the field making it undefined.
* @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
*/
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearLastSigninedIp =
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearNickname =
function () {
return jspb.Message.setField(this, 8, undefined);
};
@ -3950,19 +4005,172 @@ proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearLastSigni
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasLastSigninedIp =
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasNickname =
function () {
return jspb.Message.getField(this, 8) != null;
};
/**
* optional bet.beteran.member.MemberState state = 9;
* repeated string nicknames = 9;
* @return {!Array<string>}
*/
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getNicknamesList =
function () {
return /** @type {!Array<string>} */ (
jspb.Message.getRepeatedField(this, 9)
);
};
/**
* @param {!Array<string>} value
* @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
*/
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setNicknamesList =
function (value) {
return jspb.Message.setField(this, 9, value || []);
};
/**
* @param {string} value
* @param {number=} opt_index
* @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
*/
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.addNicknames =
function (value, opt_index) {
return jspb.Message.addToRepeatedField(this, 9, value, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
*/
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearNicknamesList =
function () {
return this.setNicknamesList([]);
};
/**
* optional string nickname_like = 10;
* @return {string}
*/
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getNicknameLike =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 10, "")
);
};
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
*/
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setNicknameLike =
function (value) {
return jspb.Message.setField(this, 10, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
*/
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearNicknameLike =
function () {
return jspb.Message.setField(this, 10, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasNicknameLike =
function () {
return jspb.Message.getField(this, 10) != null;
};
/**
* optional string mobile_phone_number_like = 11;
* @return {string}
*/
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getMobilePhoneNumberLike =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 11, "")
);
};
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
*/
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setMobilePhoneNumberLike =
function (value) {
return jspb.Message.setField(this, 11, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
*/
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearMobilePhoneNumberLike =
function () {
return jspb.Message.setField(this, 11, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasMobilePhoneNumberLike =
function () {
return jspb.Message.getField(this, 11) != null;
};
/**
* optional string last_signined_ip = 12;
* @return {string}
*/
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getLastSigninedIp =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 12, "")
);
};
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
*/
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setLastSigninedIp =
function (value) {
return jspb.Message.setField(this, 12, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
*/
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearLastSigninedIp =
function () {
return jspb.Message.setField(this, 12, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasLastSigninedIp =
function () {
return jspb.Message.getField(this, 12) != null;
};
/**
* optional bet.beteran.member.MemberState state = 13;
* @return {!proto.bet.beteran.member.MemberState}
*/
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getState =
function () {
return /** @type {!proto.bet.beteran.member.MemberState} */ (
jspb.Message.getFieldWithDefault(this, 9, 0)
jspb.Message.getFieldWithDefault(this, 13, 0)
);
};
@ -3972,7 +4180,7 @@ proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getState =
*/
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setState =
function (value) {
return jspb.Message.setField(this, 9, value);
return jspb.Message.setField(this, 13, value);
};
/**
@ -3981,7 +4189,7 @@ proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setState =
*/
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearState =
function () {
return jspb.Message.setField(this, 9, undefined);
return jspb.Message.setField(this, 13, undefined);
};
/**
@ -3990,17 +4198,17 @@ proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearState =
*/
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasState =
function () {
return jspb.Message.getField(this, 9) != null;
return jspb.Message.getField(this, 13) != null;
};
/**
* optional uint64 deleted_at = 10;
* optional uint64 deleted_at = 14;
* @return {number}
*/
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getDeletedAt =
function () {
return /** @type {number} */ (
jspb.Message.getFieldWithDefault(this, 10, 0)
jspb.Message.getFieldWithDefault(this, 14, 0)
);
};
@ -4010,7 +4218,7 @@ proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getDeletedAt =
*/
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setDeletedAt =
function (value) {
return jspb.Message.setField(this, 10, value);
return jspb.Message.setField(this, 14, value);
};
/**
@ -4019,7 +4227,7 @@ proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setDeletedAt =
*/
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearDeletedAt =
function () {
return jspb.Message.setField(this, 10, undefined);
return jspb.Message.setField(this, 14, undefined);
};
/**
@ -4028,7 +4236,7 @@ proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearDeletedAt
*/
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasDeletedAt =
function () {
return jspb.Message.getField(this, 10) != null;
return jspb.Message.getField(this, 14) != null;
};
/**

View File

@ -0,0 +1,253 @@
// package: bet.beteran.api.betting
// file: models/api/betting.proto
import * as jspb from 'google-protobuf';
import * as models_member_pb from '../../models/member_pb';
export class BettingHistory extends jspb.Message {
getId(): string;
setId(value: string): void;
getVendorId(): number;
setVendorId(value: number): void;
getVendorName(): string;
setVendorName(value: string): void;
getGameId(): number;
setGameId(value: number): void;
getGameName(): string;
setGameName(value: string): void;
getGameCategory(): string;
setGameCategory(value: string): void;
getGameType(): string;
setGameType(value: string): void;
getCurrency(): string;
setCurrency(value: string): void;
getCash(): number;
setCash(value: number): void;
getBeforeCash(): number;
setBeforeCash(value: number): void;
getAfterCash(): number;
setAfterCash(value: number): void;
getKey(): string;
setKey(value: string): void;
getRefId(): string;
setRefId(value: string): void;
getORefId(): string;
setORefId(value: string): void;
hasGroupKey(): boolean;
clearGroupKey(): void;
getGroupKey(): string;
setGroupKey(value: string): void;
getIsBonus(): boolean;
setIsBonus(value: boolean): void;
getIsPromo(): boolean;
setIsPromo(value: boolean): void;
getIsJackpot(): boolean;
setIsJackpot(value: boolean): void;
getSiteUsername(): string;
setSiteUsername(value: string): void;
getBettingType(): string;
setBettingType(value: string): void;
getCategory(): string;
setCategory(value: string): void;
getCreatedAt(): number;
setCreatedAt(value: number): void;
getUtcCreatedAt(): number;
setUtcCreatedAt(value: number): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): BettingHistory.AsObject;
static toObject(
includeInstance: boolean,
msg: BettingHistory
): BettingHistory.AsObject;
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
};
static serializeBinaryToWriter(
message: BettingHistory,
writer: jspb.BinaryWriter
): void;
static deserializeBinary(bytes: Uint8Array): BettingHistory;
static deserializeBinaryFromReader(
message: BettingHistory,
reader: jspb.BinaryReader
): BettingHistory;
}
export namespace BettingHistory {
export type AsObject = {
id: string;
vendorId: number;
vendorName: string;
gameId: number;
gameName: string;
gameCategory: string;
gameType: string;
currency: string;
cash: number;
beforeCash: number;
afterCash: number;
key: string;
refId: string;
oRefId: string;
groupKey: string;
isBonus: boolean;
isPromo: boolean;
isJackpot: boolean;
siteUsername: string;
bettingType: string;
category: string;
createdAt: number;
utcCreatedAt: number;
};
}
export class BettingHistoryModel extends jspb.Message {
getId(): string;
setId(value: string): void;
getVendorId(): number;
setVendorId(value: number): void;
getVendorName(): string;
setVendorName(value: string): void;
getGameId(): number;
setGameId(value: number): void;
getGameName(): string;
setGameName(value: string): void;
getGameCategory(): string;
setGameCategory(value: string): void;
getGameType(): string;
setGameType(value: string): void;
getCurrency(): string;
setCurrency(value: string): void;
getCash(): number;
setCash(value: number): void;
getBeforeCash(): number;
setBeforeCash(value: number): void;
getAfterCash(): number;
setAfterCash(value: number): void;
getKey(): string;
setKey(value: string): void;
getRefId(): string;
setRefId(value: string): void;
getORefId(): string;
setORefId(value: string): void;
hasGroupKey(): boolean;
clearGroupKey(): void;
getGroupKey(): string;
setGroupKey(value: string): void;
getIsBonus(): boolean;
setIsBonus(value: boolean): void;
getIsPromo(): boolean;
setIsPromo(value: boolean): void;
getIsJackpot(): boolean;
setIsJackpot(value: boolean): void;
getSiteUsername(): string;
setSiteUsername(value: string): void;
getBettingType(): string;
setBettingType(value: string): void;
getCategory(): string;
setCategory(value: string): void;
getCreatedAt(): number;
setCreatedAt(value: number): void;
getUtcCreatedAt(): number;
setUtcCreatedAt(value: number): void;
hasMember(): boolean;
clearMember(): void;
getMember(): models_member_pb.MemberModel | undefined;
setMember(value?: models_member_pb.MemberModel): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): BettingHistoryModel.AsObject;
static toObject(
includeInstance: boolean,
msg: BettingHistoryModel
): BettingHistoryModel.AsObject;
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
};
static serializeBinaryToWriter(
message: BettingHistoryModel,
writer: jspb.BinaryWriter
): void;
static deserializeBinary(bytes: Uint8Array): BettingHistoryModel;
static deserializeBinaryFromReader(
message: BettingHistoryModel,
reader: jspb.BinaryReader
): BettingHistoryModel;
}
export namespace BettingHistoryModel {
export type AsObject = {
id: string;
vendorId: number;
vendorName: string;
gameId: number;
gameName: string;
gameCategory: string;
gameType: string;
currency: string;
cash: number;
beforeCash: number;
afterCash: number;
key: string;
refId: string;
oRefId: string;
groupKey: string;
isBonus: boolean;
isPromo: boolean;
isJackpot: boolean;
siteUsername: string;
bettingType: string;
category: string;
createdAt: number;
utcCreatedAt: number;
member?: models_member_pb.MemberModel.AsObject;
};
}

File diff suppressed because it is too large Load Diff

View File

@ -109,6 +109,145 @@ export namespace Member {
};
}
export class ParentMemberModel extends jspb.Message {
getId(): string;
setId(value: string): void;
hasSite(): boolean;
clearSite(): void;
getSite(): models_site_pb.Site | undefined;
setSite(value?: models_site_pb.Site): void;
hasMemberClass(): boolean;
clearMemberClass(): void;
getMemberClass(): models_member_class_pb.MemberClass | undefined;
setMemberClass(value?: models_member_class_pb.MemberClass): void;
hasMemberLevel(): boolean;
clearMemberLevel(): void;
getMemberLevel(): models_member_level_pb.MemberLevel | undefined;
setMemberLevel(value?: models_member_level_pb.MemberLevel): void;
hasBankAccount(): boolean;
clearBankAccount(): void;
getBankAccount():
| models_member_bank_account_pb.MemberBankAccountModel
| undefined;
setBankAccount(
value?: models_member_bank_account_pb.MemberBankAccountModel
): void;
hasParentMemberId(): boolean;
clearParentMemberId(): void;
getParentMemberId(): string;
setParentMemberId(value: string): void;
getChildMemberCount(): number;
setChildMemberCount(value: number): void;
getUsername(): string;
setUsername(value: string): void;
getNickname(): string;
setNickname(value: string): void;
hasMobilePhoneNumber(): boolean;
clearMobilePhoneNumber(): void;
getMobilePhoneNumber(): string;
setMobilePhoneNumber(value: string): void;
getState(): MemberStateMap[keyof MemberStateMap];
setState(value: MemberStateMap[keyof MemberStateMap]): void;
hasStateChangedAt(): boolean;
clearStateChangedAt(): void;
getStateChangedAt(): number;
setStateChangedAt(value: number): void;
hasMemberGameSetting(): boolean;
clearMemberGameSetting(): void;
getMemberGameSetting():
| models_member_game_setting_pb.MemberGameSetting
| undefined;
setMemberGameSetting(
value?: models_member_game_setting_pb.MemberGameSetting
): void;
hasMemberSettlementSetting(): boolean;
clearMemberSettlementSetting(): void;
getMemberSettlementSetting():
| models_member_settlement_setting_pb.MemberSettlementSetting
| undefined;
setMemberSettlementSetting(
value?: models_member_settlement_setting_pb.MemberSettlementSetting
): void;
hasLastSigninedIp(): boolean;
clearLastSigninedIp(): void;
getLastSigninedIp(): string;
setLastSigninedIp(value: string): void;
hasLastSigninedAt(): boolean;
clearLastSigninedAt(): void;
getLastSigninedAt(): number;
setLastSigninedAt(value: number): void;
getCreatedAt(): number;
setCreatedAt(value: number): void;
getUpdatedAt(): number;
setUpdatedAt(value: number): void;
hasDeletedAt(): boolean;
clearDeletedAt(): void;
getDeletedAt(): number;
setDeletedAt(value: number): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ParentMemberModel.AsObject;
static toObject(
includeInstance: boolean,
msg: ParentMemberModel
): ParentMemberModel.AsObject;
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
};
static serializeBinaryToWriter(
message: ParentMemberModel,
writer: jspb.BinaryWriter
): void;
static deserializeBinary(bytes: Uint8Array): ParentMemberModel;
static deserializeBinaryFromReader(
message: ParentMemberModel,
reader: jspb.BinaryReader
): ParentMemberModel;
}
export namespace ParentMemberModel {
export type AsObject = {
id: string;
site?: models_site_pb.Site.AsObject;
memberClass?: models_member_class_pb.MemberClass.AsObject;
memberLevel?: models_member_level_pb.MemberLevel.AsObject;
bankAccount?: models_member_bank_account_pb.MemberBankAccountModel.AsObject;
parentMemberId: string;
childMemberCount: number;
username: string;
nickname: string;
mobilePhoneNumber: string;
state: MemberStateMap[keyof MemberStateMap];
stateChangedAt: number;
memberGameSetting?: models_member_game_setting_pb.MemberGameSetting.AsObject;
memberSettlementSetting?: models_member_settlement_setting_pb.MemberSettlementSetting.AsObject;
lastSigninedIp: string;
lastSigninedAt: number;
createdAt: number;
updatedAt: number;
deletedAt: number;
};
}
export class MemberModel extends jspb.Message {
getId(): string;
setId(value: string): void;
@ -139,8 +278,8 @@ export class MemberModel extends jspb.Message {
hasParentMember(): boolean;
clearParentMember(): void;
getParentMember(): Member | undefined;
setParentMember(value?: Member): void;
getParentMember(): ParentMemberModel | undefined;
setParentMember(value?: ParentMemberModel): void;
getChildMemberCount(): number;
setChildMemberCount(value: number): void;
@ -231,7 +370,7 @@ export namespace MemberModel {
memberClass?: models_member_class_pb.MemberClass.AsObject;
memberLevel?: models_member_level_pb.MemberLevel.AsObject;
bankAccount?: models_member_bank_account_pb.MemberBankAccountModel.AsObject;
parentMember?: Member.AsObject;
parentMember?: ParentMemberModel.AsObject;
childMemberCount: number;
username: string;
nickname: string;

File diff suppressed because it is too large Load Diff