Merge branch 'feature/BETERAN-BACKEND-APP-BROWSER-init' of https://gitlab.loafle.net/bet/beteran-backend-app-browser into feature/BETERAN-BACKEND-APP-BROWSER-init

This commit is contained in:
이담 정 2022-08-22 07:39:31 +00:00
commit 0870c7ed38
20 changed files with 11476 additions and 63 deletions

View File

@ -0,0 +1,16 @@
import { ModuleWithProviders, NgModule } from '@angular/core';
import { SERVICES } from './services';
@NgModule({})
export class MemberGameSettingRootModule {}
@NgModule({})
export class MemberGameSettingModule {
public static forRoot(): ModuleWithProviders<MemberGameSettingRootModule> {
return {
ngModule: MemberGameSettingRootModule,
providers: [...SERVICES],
};
}
}

View File

@ -0,0 +1,5 @@
import { Type } from '@angular/core';
import { MemberGameSettingService } from './member_game_setting.service';
export const SERVICES: Type<any>[] = [MemberGameSettingService];

View File

@ -0,0 +1,158 @@
import { Injectable } from '@angular/core';
import { NatsService } from 'app/core/nats/services/nats.service';
import * as nats from 'nats.ws';
import { Error } from 'app/modules/proto/protobuf/rpc_pb';
import {
ListMemberGameSettingsRequest,
ListMemberGameSettingsResponse,
CreateMemberGameSettingRequest,
CreateMemberGameSettingResponse,
UpdateMemberGameSettingRequest,
UpdateMemberGameSettingResponse,
DeleteMemberGameSettingRequest,
DeleteMemberGameSettingResponse,
GetMemberGameSettingResponse,
GetMemberGameSettingRequest,
} from 'app/modules/proto/c2se/member_game_setting_pb';
import {
SUBJECT_LIST_MEMBER_GAME_SETTINGS,
SUBJECT_CREATE_MEMBER_GAME_SETTING,
SUBJECT_UPDATE_MEMBER_GAME_SETTING,
SUBJECT_DELETE_MEMBER_GAME_SETTING,
SUBJECT_GET_MEMBER_GAME_SETTING,
} from 'app/modules/proto/c2se/backend/member_game_setting_pb';
@Injectable({
providedIn: 'root',
})
export class MemberGameSettingService {
/**
* Constructor
*/
constructor(private __natsService: NatsService) {}
// -----------------------------------------------------------------------------------------------------
// @ Accessors
// -----------------------------------------------------------------------------------------------------
// -----------------------------------------------------------------------------------------------------
// @ Public methods
// -----------------------------------------------------------------------------------------------------
createMemberGameSetting(): Promise<CreateMemberGameSettingResponse.Result> {
return new Promise<CreateMemberGameSettingResponse.Result>(
(resolve, reject) => {
let req = new CreateMemberGameSettingRequest();
this.__natsService
.request<CreateMemberGameSettingResponse.Result>(
SUBJECT_CREATE_MEMBER_GAME_SETTING,
req.serializeBinary(),
CreateMemberGameSettingResponse.deserializeBinary
)
.then((result) => {
console.log('success', result, result.getMemberGameSetting());
return resolve(result);
})
.catch((e: Error) => {
console.log('failed', e);
return reject(e);
});
}
);
}
listMemberGameSettings(): Promise<ListMemberGameSettingsResponse.Result> {
return new Promise<ListMemberGameSettingsResponse.Result>(
(resolve, reject) => {
let req = new ListMemberGameSettingsRequest();
this.__natsService
.request<ListMemberGameSettingsResponse.Result>(
SUBJECT_LIST_MEMBER_GAME_SETTINGS,
req.serializeBinary(),
ListMemberGameSettingsResponse.deserializeBinary
)
.then((result) => {
console.log('success', result, result.getMemberGameSettingsList());
return resolve(result);
})
.catch((e: Error) => {
console.log('failed', e);
reject(e);
});
}
);
}
getMemberGameSetting(): Promise<GetMemberGameSettingResponse.Result> {
return new Promise<GetMemberGameSettingResponse.Result>(
(resolve, reject) => {
let req = new GetMemberGameSettingRequest();
this.__natsService
.request<GetMemberGameSettingResponse.Result>(
SUBJECT_GET_MEMBER_GAME_SETTING,
req.serializeBinary(),
GetMemberGameSettingResponse.deserializeBinary
)
.then((result) => {
console.log('success', result, result.getMemberGameSetting());
return resolve(result);
})
.catch((e: Error) => {
console.log('failed', e);
return reject(e);
});
}
);
}
updateMemberGameSetting(): Promise<UpdateMemberGameSettingResponse.Result> {
return new Promise<UpdateMemberGameSettingResponse.Result>(
(resolve, reject) => {
let req = new UpdateMemberGameSettingRequest();
this.__natsService
.request<UpdateMemberGameSettingResponse.Result>(
SUBJECT_UPDATE_MEMBER_GAME_SETTING,
req.serializeBinary(),
UpdateMemberGameSettingResponse.deserializeBinary
)
.then((result) => {
console.log('success', result, result.getMemberGameSetting());
return resolve(result);
})
.catch((e: Error) => {
console.log('failed', e);
return reject(e);
});
}
);
}
deleteMemberGameSetting(): Promise<DeleteMemberGameSettingResponse.Result> {
return new Promise<DeleteMemberGameSettingResponse.Result>(
(resolve, reject) => {
let req = new DeleteMemberGameSettingRequest();
this.__natsService
.request<DeleteMemberGameSettingResponse.Result>(
SUBJECT_DELETE_MEMBER_GAME_SETTING,
req.serializeBinary(),
DeleteMemberGameSettingResponse.deserializeBinary
)
.then((result) => {
console.log('success', result);
return resolve(result);
})
.catch((e: Error) => {
console.log('failed', e);
return reject(e);
});
}
);
}
}

View File

@ -0,0 +1,16 @@
import { ModuleWithProviders, NgModule } from '@angular/core';
import { SERVICES } from './services';
@NgModule({})
export class MemberSettlementSettingRootModule {}
@NgModule({})
export class MemberSettlementSettingModule {
public static forRoot(): ModuleWithProviders<MemberSettlementSettingRootModule> {
return {
ngModule: MemberSettlementSettingRootModule,
providers: [...SERVICES],
};
}
}

View File

@ -0,0 +1,5 @@
import { Type } from '@angular/core';
import { MemberSettlementSettingService } from './member_settlement_setting.service';
export const SERVICES: Type<any>[] = [MemberSettlementSettingService];

View File

@ -0,0 +1,162 @@
import { Injectable } from '@angular/core';
import { NatsService } from 'app/core/nats/services/nats.service';
import * as nats from 'nats.ws';
import { Error } from 'app/modules/proto/protobuf/rpc_pb';
import {
ListMemberSettlementSettingsRequest,
ListMemberSettlementSettingsResponse,
CreateMemberSettlementSettingRequest,
CreateMemberSettlementSettingResponse,
UpdateMemberSettlementSettingRequest,
UpdateMemberSettlementSettingResponse,
DeleteMemberSettlementSettingRequest,
DeleteMemberSettlementSettingResponse,
GetMemberSettlementSettingResponse,
GetMemberSettlementSettingRequest,
} from 'app/modules/proto/c2se/member_settlement_setting_pb';
import {
SUBJECT_LIST_MEMBER_SETTLEMENT_SETTINGS,
SUBJECT_CREATE_MEMBER_SETTLEMENT_SETTING,
SUBJECT_UPDATE_MEMBER_SETTLEMENT_SETTING,
SUBJECT_DELETE_MEMBER_SETTLEMENT_SETTING,
SUBJECT_GET_MEMBER_SETTLEMENT_SETTING,
} from 'app/modules/proto/c2se/backend/member_settlement_setting_pb';
@Injectable({
providedIn: 'root',
})
export class MemberSettlementSettingService {
/**
* Constructor
*/
constructor(private __natsService: NatsService) {}
// -----------------------------------------------------------------------------------------------------
// @ Accessors
// -----------------------------------------------------------------------------------------------------
// -----------------------------------------------------------------------------------------------------
// @ Public methods
// -----------------------------------------------------------------------------------------------------
createMemberSettlementSetting(): Promise<CreateMemberSettlementSettingResponse.Result> {
return new Promise<CreateMemberSettlementSettingResponse.Result>(
(resolve, reject) => {
let req = new CreateMemberSettlementSettingRequest();
this.__natsService
.request<CreateMemberSettlementSettingResponse.Result>(
SUBJECT_CREATE_MEMBER_SETTLEMENT_SETTING,
req.serializeBinary(),
CreateMemberSettlementSettingResponse.deserializeBinary
)
.then((result) => {
console.log('success', result, result.getMemberSettlementSetting());
return resolve(result);
})
.catch((e: Error) => {
console.log('failed', e);
return reject(e);
});
}
);
}
listMemberSettlementSettings(): Promise<ListMemberSettlementSettingsResponse.Result> {
return new Promise<ListMemberSettlementSettingsResponse.Result>(
(resolve, reject) => {
let req = new ListMemberSettlementSettingsRequest();
this.__natsService
.request<ListMemberSettlementSettingsResponse.Result>(
SUBJECT_LIST_MEMBER_SETTLEMENT_SETTINGS,
req.serializeBinary(),
ListMemberSettlementSettingsResponse.deserializeBinary
)
.then((result) => {
console.log(
'success',
result,
result.getMemberSettlementSettingsList()
);
return resolve(result);
})
.catch((e: Error) => {
console.log('failed', e);
reject(e);
});
}
);
}
getMemberSettlementSetting(): Promise<GetMemberSettlementSettingResponse.Result> {
return new Promise<GetMemberSettlementSettingResponse.Result>(
(resolve, reject) => {
let req = new GetMemberSettlementSettingRequest();
this.__natsService
.request<GetMemberSettlementSettingResponse.Result>(
SUBJECT_GET_MEMBER_SETTLEMENT_SETTING,
req.serializeBinary(),
GetMemberSettlementSettingResponse.deserializeBinary
)
.then((result) => {
console.log('success', result, result.getMemberSettlementSetting());
return resolve(result);
})
.catch((e: Error) => {
console.log('failed', e);
return reject(e);
});
}
);
}
updateMemberSettlementSetting(): Promise<UpdateMemberSettlementSettingResponse.Result> {
return new Promise<UpdateMemberSettlementSettingResponse.Result>(
(resolve, reject) => {
let req = new UpdateMemberSettlementSettingRequest();
this.__natsService
.request<UpdateMemberSettlementSettingResponse.Result>(
SUBJECT_UPDATE_MEMBER_SETTLEMENT_SETTING,
req.serializeBinary(),
UpdateMemberSettlementSettingResponse.deserializeBinary
)
.then((result) => {
console.log('success', result, result.getMemberSettlementSetting());
return resolve(result);
})
.catch((e: Error) => {
console.log('failed', e);
return reject(e);
});
}
);
}
deleteMemberSettlementSetting(): Promise<DeleteMemberSettlementSettingResponse.Result> {
return new Promise<DeleteMemberSettlementSettingResponse.Result>(
(resolve, reject) => {
let req = new DeleteMemberSettlementSettingRequest();
this.__natsService
.request<DeleteMemberSettlementSettingResponse.Result>(
SUBJECT_DELETE_MEMBER_SETTLEMENT_SETTING,
req.serializeBinary(),
DeleteMemberSettlementSettingResponse.deserializeBinary
)
.then((result) => {
console.log('success', result);
return resolve(result);
})
.catch((e: Error) => {
console.log('failed', e);
return reject(e);
});
}
);
}
}

View File

@ -0,0 +1,10 @@
// package: bet.beteran.c2se.backend.member_game_setting
// file: c2se/backend/member_game_setting.proto
import * as jspb from 'google-protobuf';
export const SUBJECT_CREATE_MEMBER_GAME_SETTING: string;
export const SUBJECT_LIST_MEMBER_GAME_SETTINGS: string;
export const SUBJECT_GET_MEMBER_GAME_SETTING: string;
export const SUBJECT_UPDATE_MEMBER_GAME_SETTING: string;
export const SUBJECT_DELETE_MEMBER_GAME_SETTING: string;

View File

@ -0,0 +1,39 @@
// source: c2se/backend/member_game_setting.proto
/**
* @fileoverview
* @enhanceable
* @suppress {missingRequire} reports error on implicit type usages.
* @suppress {messageConventions} JS Compiler reports an error if a variable or
* field starts with 'MSG_' and isn't a translatable message.
* @public
*/
// GENERATED CODE -- DO NOT EDIT!
/* eslint-disable */
// @ts-nocheck
var jspb = require("google-protobuf");
var goog = jspb;
var global = function () {
return this || window || global || self || Function("return this")();
}.call(null);
goog.exportSymbol(
"proto.bet.beteran.c2se.backend.member_game_setting",
null,
global
);
proto.bet.beteran.c2se.backend.member_game_setting = {};
proto.bet.beteran.c2se.backend.member_game_setting.SUBJECT_CREATE_MEMBER_GAME_SETTING =
"bet.beteran.c2se.backend.member_game_setting.CreateMemberGameSetting";
proto.bet.beteran.c2se.backend.member_game_setting.SUBJECT_LIST_MEMBER_GAME_SETTINGS =
"bet.beteran.c2se.backend.member_game_setting.ListMemberGameSettings";
proto.bet.beteran.c2se.backend.member_game_setting.SUBJECT_GET_MEMBER_GAME_SETTING =
"bet.beteran.c2se.backend.member_game_setting.GetMemberGameSetting";
proto.bet.beteran.c2se.backend.member_game_setting.SUBJECT_UPDATE_MEMBER_GAME_SETTING =
"bet.beteran.c2se.backend.member_game_setting.UpdateMemberGameSetting";
proto.bet.beteran.c2se.backend.member_game_setting.SUBJECT_DELETE_MEMBER_GAME_SETTING =
"bet.beteran.c2se.backend.member_game_setting.DeleteMemberGameSetting";
goog.object.extend(exports, proto.bet.beteran.c2se.backend.member_game_setting);

View File

@ -0,0 +1,10 @@
// package: bet.beteran.c2se.backend.member_settlement_setting
// file: c2se/backend/member_settlement_setting.proto
import * as jspb from 'google-protobuf';
export const SUBJECT_CREATE_MEMBER_SETTLEMENT_SETTING: string;
export const SUBJECT_LIST_MEMBER_SETTLEMENT_SETTINGS: string;
export const SUBJECT_GET_MEMBER_SETTLEMENT_SETTING: string;
export const SUBJECT_UPDATE_MEMBER_SETTLEMENT_SETTING: string;
export const SUBJECT_DELETE_MEMBER_SETTLEMENT_SETTING: string;

View File

@ -0,0 +1,42 @@
// source: c2se/backend/member_settlement_setting.proto
/**
* @fileoverview
* @enhanceable
* @suppress {missingRequire} reports error on implicit type usages.
* @suppress {messageConventions} JS Compiler reports an error if a variable or
* field starts with 'MSG_' and isn't a translatable message.
* @public
*/
// GENERATED CODE -- DO NOT EDIT!
/* eslint-disable */
// @ts-nocheck
var jspb = require("google-protobuf");
var goog = jspb;
var global = function () {
return this || window || global || self || Function("return this")();
}.call(null);
goog.exportSymbol(
"proto.bet.beteran.c2se.backend.member_settlement_setting",
null,
global
);
proto.bet.beteran.c2se.backend.member_settlement_setting = {};
proto.bet.beteran.c2se.backend.member_settlement_setting.SUBJECT_CREATE_MEMBER_SETTLEMENT_SETTING =
"bet.beteran.c2se.backend.member_settlement_setting.CreateMemberSettlementSetting";
proto.bet.beteran.c2se.backend.member_settlement_setting.SUBJECT_LIST_MEMBER_SETTLEMENT_SETTINGS =
"bet.beteran.c2se.backend.member_settlement_setting.ListMemberSettlementSettings";
proto.bet.beteran.c2se.backend.member_settlement_setting.SUBJECT_GET_MEMBER_SETTLEMENT_SETTING =
"bet.beteran.c2se.backend.member_settlement_setting.GetMemberSettlementSetting";
proto.bet.beteran.c2se.backend.member_settlement_setting.SUBJECT_UPDATE_MEMBER_SETTLEMENT_SETTING =
"bet.beteran.c2se.backend.member_settlement_setting.UpdateMemberSettlementSetting";
proto.bet.beteran.c2se.backend.member_settlement_setting.SUBJECT_DELETE_MEMBER_SETTLEMENT_SETTING =
"bet.beteran.c2se.backend.member_settlement_setting.DeleteMemberSettlementSetting";
goog.object.extend(
exports,
proto.bet.beteran.c2se.backend.member_settlement_setting
);

View File

@ -0,0 +1,588 @@
// package: bet.beteran.c2se.member_game_setting
// file: c2se/member_game_setting.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_member_game_setting_pb from '../models/member_game_setting_pb';
export class CreateMemberGameSettingRequest extends jspb.Message {
getMemberId(): string;
setMemberId(value: string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): CreateMemberGameSettingRequest.AsObject;
static toObject(
includeInstance: boolean,
msg: CreateMemberGameSettingRequest
): CreateMemberGameSettingRequest.AsObject;
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
};
static serializeBinaryToWriter(
message: CreateMemberGameSettingRequest,
writer: jspb.BinaryWriter
): void;
static deserializeBinary(bytes: Uint8Array): CreateMemberGameSettingRequest;
static deserializeBinaryFromReader(
message: CreateMemberGameSettingRequest,
reader: jspb.BinaryReader
): CreateMemberGameSettingRequest;
}
export namespace CreateMemberGameSettingRequest {
export type AsObject = {
memberId: string;
};
}
export class CreateMemberGameSettingResponse 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(): CreateMemberGameSettingResponse.Result | undefined;
setResult(value?: CreateMemberGameSettingResponse.Result): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): CreateMemberGameSettingResponse.AsObject;
static toObject(
includeInstance: boolean,
msg: CreateMemberGameSettingResponse
): CreateMemberGameSettingResponse.AsObject;
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
};
static serializeBinaryToWriter(
message: CreateMemberGameSettingResponse,
writer: jspb.BinaryWriter
): void;
static deserializeBinary(bytes: Uint8Array): CreateMemberGameSettingResponse;
static deserializeBinaryFromReader(
message: CreateMemberGameSettingResponse,
reader: jspb.BinaryReader
): CreateMemberGameSettingResponse;
}
export namespace CreateMemberGameSettingResponse {
export type AsObject = {
error?: protobuf_rpc_pb.Error.AsObject;
result?: CreateMemberGameSettingResponse.Result.AsObject;
};
export class Result extends jspb.Message {
hasMemberGameSetting(): boolean;
clearMemberGameSetting(): void;
getMemberGameSetting():
| models_member_game_setting_pb.MemberGameSetting
| undefined;
setMemberGameSetting(
value?: models_member_game_setting_pb.MemberGameSetting
): void;
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 = {
memberGameSetting?: models_member_game_setting_pb.MemberGameSetting.AsObject;
};
}
}
export class ListMemberGameSettingsRequest 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(): ListMemberGameSettingsRequest.Search | undefined;
setSearch(value?: ListMemberGameSettingsRequest.Search): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ListMemberGameSettingsRequest.AsObject;
static toObject(
includeInstance: boolean,
msg: ListMemberGameSettingsRequest
): ListMemberGameSettingsRequest.AsObject;
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
};
static serializeBinaryToWriter(
message: ListMemberGameSettingsRequest,
writer: jspb.BinaryWriter
): void;
static deserializeBinary(bytes: Uint8Array): ListMemberGameSettingsRequest;
static deserializeBinaryFromReader(
message: ListMemberGameSettingsRequest,
reader: jspb.BinaryReader
): ListMemberGameSettingsRequest;
}
export namespace ListMemberGameSettingsRequest {
export type AsObject = {
pagination?: protobuf_pagination_pb.Pagination.AsObject;
sortsList: Array<protobuf_pagination_pb.Sort.AsObject>;
search?: ListMemberGameSettingsRequest.Search.AsObject;
};
export class Search extends jspb.Message {
hasMemberId(): boolean;
clearMemberId(): void;
getMemberId(): string;
setMemberId(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;
};
}
}
export class ListMemberGameSettingsResponse 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(): ListMemberGameSettingsResponse.Result | undefined;
setResult(value?: ListMemberGameSettingsResponse.Result): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ListMemberGameSettingsResponse.AsObject;
static toObject(
includeInstance: boolean,
msg: ListMemberGameSettingsResponse
): ListMemberGameSettingsResponse.AsObject;
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
};
static serializeBinaryToWriter(
message: ListMemberGameSettingsResponse,
writer: jspb.BinaryWriter
): void;
static deserializeBinary(bytes: Uint8Array): ListMemberGameSettingsResponse;
static deserializeBinaryFromReader(
message: ListMemberGameSettingsResponse,
reader: jspb.BinaryReader
): ListMemberGameSettingsResponse;
}
export namespace ListMemberGameSettingsResponse {
export type AsObject = {
error?: protobuf_rpc_pb.Error.AsObject;
result?: ListMemberGameSettingsResponse.Result.AsObject;
};
export class Result extends jspb.Message {
clearMemberGameSettingsList(): void;
getMemberGameSettingsList(): Array<models_member_game_setting_pb.MemberGameSetting>;
setMemberGameSettingsList(
value: Array<models_member_game_setting_pb.MemberGameSetting>
): void;
addMemberGameSettings(
value?: models_member_game_setting_pb.MemberGameSetting,
index?: number
): models_member_game_setting_pb.MemberGameSetting;
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 = {
memberGameSettingsList: Array<models_member_game_setting_pb.MemberGameSetting.AsObject>;
};
}
}
export class GetMemberGameSettingRequest extends jspb.Message {
getId(): string;
setId(value: string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetMemberGameSettingRequest.AsObject;
static toObject(
includeInstance: boolean,
msg: GetMemberGameSettingRequest
): GetMemberGameSettingRequest.AsObject;
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
};
static serializeBinaryToWriter(
message: GetMemberGameSettingRequest,
writer: jspb.BinaryWriter
): void;
static deserializeBinary(bytes: Uint8Array): GetMemberGameSettingRequest;
static deserializeBinaryFromReader(
message: GetMemberGameSettingRequest,
reader: jspb.BinaryReader
): GetMemberGameSettingRequest;
}
export namespace GetMemberGameSettingRequest {
export type AsObject = {
id: string;
};
}
export class GetMemberGameSettingResponse 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(): GetMemberGameSettingResponse.Result | undefined;
setResult(value?: GetMemberGameSettingResponse.Result): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetMemberGameSettingResponse.AsObject;
static toObject(
includeInstance: boolean,
msg: GetMemberGameSettingResponse
): GetMemberGameSettingResponse.AsObject;
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
};
static serializeBinaryToWriter(
message: GetMemberGameSettingResponse,
writer: jspb.BinaryWriter
): void;
static deserializeBinary(bytes: Uint8Array): GetMemberGameSettingResponse;
static deserializeBinaryFromReader(
message: GetMemberGameSettingResponse,
reader: jspb.BinaryReader
): GetMemberGameSettingResponse;
}
export namespace GetMemberGameSettingResponse {
export type AsObject = {
error?: protobuf_rpc_pb.Error.AsObject;
result?: GetMemberGameSettingResponse.Result.AsObject;
};
export class Result extends jspb.Message {
hasMemberGameSetting(): boolean;
clearMemberGameSetting(): void;
getMemberGameSetting():
| models_member_game_setting_pb.MemberGameSetting
| undefined;
setMemberGameSetting(
value?: models_member_game_setting_pb.MemberGameSetting
): void;
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 = {
memberGameSetting?: models_member_game_setting_pb.MemberGameSetting.AsObject;
};
}
}
export class UpdateMemberGameSettingRequest extends jspb.Message {
getId(): string;
setId(value: string): void;
getCanBetCasino(): boolean;
setCanBetCasino(value: boolean): void;
getCanBetSlot(): boolean;
setCanBetSlot(value: boolean): void;
getCanBetPowerball(): boolean;
setCanBetPowerball(value: boolean): void;
getCanBetPowerladder(): boolean;
setCanBetPowerladder(value: boolean): void;
getCanBetEos(): boolean;
setCanBetEos(value: boolean): void;
getCanBetBogglepowerball(): boolean;
setCanBetBogglepowerball(value: boolean): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): UpdateMemberGameSettingRequest.AsObject;
static toObject(
includeInstance: boolean,
msg: UpdateMemberGameSettingRequest
): UpdateMemberGameSettingRequest.AsObject;
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
};
static serializeBinaryToWriter(
message: UpdateMemberGameSettingRequest,
writer: jspb.BinaryWriter
): void;
static deserializeBinary(bytes: Uint8Array): UpdateMemberGameSettingRequest;
static deserializeBinaryFromReader(
message: UpdateMemberGameSettingRequest,
reader: jspb.BinaryReader
): UpdateMemberGameSettingRequest;
}
export namespace UpdateMemberGameSettingRequest {
export type AsObject = {
id: string;
canBetCasino: boolean;
canBetSlot: boolean;
canBetPowerball: boolean;
canBetPowerladder: boolean;
canBetEos: boolean;
canBetBogglepowerball: boolean;
};
}
export class UpdateMemberGameSettingResponse 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(): UpdateMemberGameSettingResponse.Result | undefined;
setResult(value?: UpdateMemberGameSettingResponse.Result): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): UpdateMemberGameSettingResponse.AsObject;
static toObject(
includeInstance: boolean,
msg: UpdateMemberGameSettingResponse
): UpdateMemberGameSettingResponse.AsObject;
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
};
static serializeBinaryToWriter(
message: UpdateMemberGameSettingResponse,
writer: jspb.BinaryWriter
): void;
static deserializeBinary(bytes: Uint8Array): UpdateMemberGameSettingResponse;
static deserializeBinaryFromReader(
message: UpdateMemberGameSettingResponse,
reader: jspb.BinaryReader
): UpdateMemberGameSettingResponse;
}
export namespace UpdateMemberGameSettingResponse {
export type AsObject = {
error?: protobuf_rpc_pb.Error.AsObject;
result?: UpdateMemberGameSettingResponse.Result.AsObject;
};
export class Result extends jspb.Message {
hasMemberGameSetting(): boolean;
clearMemberGameSetting(): void;
getMemberGameSetting():
| models_member_game_setting_pb.MemberGameSetting
| undefined;
setMemberGameSetting(
value?: models_member_game_setting_pb.MemberGameSetting
): void;
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 = {
memberGameSetting?: models_member_game_setting_pb.MemberGameSetting.AsObject;
};
}
}
export class DeleteMemberGameSettingRequest extends jspb.Message {
getId(): string;
setId(value: string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): DeleteMemberGameSettingRequest.AsObject;
static toObject(
includeInstance: boolean,
msg: DeleteMemberGameSettingRequest
): DeleteMemberGameSettingRequest.AsObject;
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
};
static serializeBinaryToWriter(
message: DeleteMemberGameSettingRequest,
writer: jspb.BinaryWriter
): void;
static deserializeBinary(bytes: Uint8Array): DeleteMemberGameSettingRequest;
static deserializeBinaryFromReader(
message: DeleteMemberGameSettingRequest,
reader: jspb.BinaryReader
): DeleteMemberGameSettingRequest;
}
export namespace DeleteMemberGameSettingRequest {
export type AsObject = {
id: string;
};
}
export class DeleteMemberGameSettingResponse 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(): DeleteMemberGameSettingResponse.Result | undefined;
setResult(value?: DeleteMemberGameSettingResponse.Result): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): DeleteMemberGameSettingResponse.AsObject;
static toObject(
includeInstance: boolean,
msg: DeleteMemberGameSettingResponse
): DeleteMemberGameSettingResponse.AsObject;
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
};
static serializeBinaryToWriter(
message: DeleteMemberGameSettingResponse,
writer: jspb.BinaryWriter
): void;
static deserializeBinary(bytes: Uint8Array): DeleteMemberGameSettingResponse;
static deserializeBinaryFromReader(
message: DeleteMemberGameSettingResponse,
reader: jspb.BinaryReader
): DeleteMemberGameSettingResponse;
}
export namespace DeleteMemberGameSettingResponse {
export type AsObject = {
error?: protobuf_rpc_pb.Error.AsObject;
result?: DeleteMemberGameSettingResponse.Result.AsObject;
};
export class Result extends jspb.Message {
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 = {};
}
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,688 @@
// package: bet.beteran.c2se.member_settlement_setting
// file: c2se/member_settlement_setting.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_member_settlement_setting_pb from '../models/member_settlement_setting_pb';
export class CreateMemberSettlementSettingRequest extends jspb.Message {
getMemberId(): string;
setMemberId(value: string): void;
serializeBinary(): Uint8Array;
toObject(
includeInstance?: boolean
): CreateMemberSettlementSettingRequest.AsObject;
static toObject(
includeInstance: boolean,
msg: CreateMemberSettlementSettingRequest
): CreateMemberSettlementSettingRequest.AsObject;
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
};
static serializeBinaryToWriter(
message: CreateMemberSettlementSettingRequest,
writer: jspb.BinaryWriter
): void;
static deserializeBinary(
bytes: Uint8Array
): CreateMemberSettlementSettingRequest;
static deserializeBinaryFromReader(
message: CreateMemberSettlementSettingRequest,
reader: jspb.BinaryReader
): CreateMemberSettlementSettingRequest;
}
export namespace CreateMemberSettlementSettingRequest {
export type AsObject = {
memberId: string;
};
}
export class CreateMemberSettlementSettingResponse 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(): CreateMemberSettlementSettingResponse.Result | undefined;
setResult(value?: CreateMemberSettlementSettingResponse.Result): void;
serializeBinary(): Uint8Array;
toObject(
includeInstance?: boolean
): CreateMemberSettlementSettingResponse.AsObject;
static toObject(
includeInstance: boolean,
msg: CreateMemberSettlementSettingResponse
): CreateMemberSettlementSettingResponse.AsObject;
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
};
static serializeBinaryToWriter(
message: CreateMemberSettlementSettingResponse,
writer: jspb.BinaryWriter
): void;
static deserializeBinary(
bytes: Uint8Array
): CreateMemberSettlementSettingResponse;
static deserializeBinaryFromReader(
message: CreateMemberSettlementSettingResponse,
reader: jspb.BinaryReader
): CreateMemberSettlementSettingResponse;
}
export namespace CreateMemberSettlementSettingResponse {
export type AsObject = {
error?: protobuf_rpc_pb.Error.AsObject;
result?: CreateMemberSettlementSettingResponse.Result.AsObject;
};
export class Result extends jspb.Message {
hasMemberSettlementSetting(): boolean;
clearMemberSettlementSetting(): void;
getMemberSettlementSetting():
| models_member_settlement_setting_pb.MemberSettlementSetting
| undefined;
setMemberSettlementSetting(
value?: models_member_settlement_setting_pb.MemberSettlementSetting
): void;
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 = {
memberSettlementSetting?: models_member_settlement_setting_pb.MemberSettlementSetting.AsObject;
};
}
}
export class ListMemberSettlementSettingsRequest 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(): ListMemberSettlementSettingsRequest.Search | undefined;
setSearch(value?: ListMemberSettlementSettingsRequest.Search): void;
serializeBinary(): Uint8Array;
toObject(
includeInstance?: boolean
): ListMemberSettlementSettingsRequest.AsObject;
static toObject(
includeInstance: boolean,
msg: ListMemberSettlementSettingsRequest
): ListMemberSettlementSettingsRequest.AsObject;
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
};
static serializeBinaryToWriter(
message: ListMemberSettlementSettingsRequest,
writer: jspb.BinaryWriter
): void;
static deserializeBinary(
bytes: Uint8Array
): ListMemberSettlementSettingsRequest;
static deserializeBinaryFromReader(
message: ListMemberSettlementSettingsRequest,
reader: jspb.BinaryReader
): ListMemberSettlementSettingsRequest;
}
export namespace ListMemberSettlementSettingsRequest {
export type AsObject = {
pagination?: protobuf_pagination_pb.Pagination.AsObject;
sortsList: Array<protobuf_pagination_pb.Sort.AsObject>;
search?: ListMemberSettlementSettingsRequest.Search.AsObject;
};
export class Search extends jspb.Message {
hasMemberId(): boolean;
clearMemberId(): void;
getMemberId(): string;
setMemberId(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;
};
}
}
export class ListMemberSettlementSettingsResponse 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(): ListMemberSettlementSettingsResponse.Result | undefined;
setResult(value?: ListMemberSettlementSettingsResponse.Result): void;
serializeBinary(): Uint8Array;
toObject(
includeInstance?: boolean
): ListMemberSettlementSettingsResponse.AsObject;
static toObject(
includeInstance: boolean,
msg: ListMemberSettlementSettingsResponse
): ListMemberSettlementSettingsResponse.AsObject;
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
};
static serializeBinaryToWriter(
message: ListMemberSettlementSettingsResponse,
writer: jspb.BinaryWriter
): void;
static deserializeBinary(
bytes: Uint8Array
): ListMemberSettlementSettingsResponse;
static deserializeBinaryFromReader(
message: ListMemberSettlementSettingsResponse,
reader: jspb.BinaryReader
): ListMemberSettlementSettingsResponse;
}
export namespace ListMemberSettlementSettingsResponse {
export type AsObject = {
error?: protobuf_rpc_pb.Error.AsObject;
result?: ListMemberSettlementSettingsResponse.Result.AsObject;
};
export class Result extends jspb.Message {
clearMemberSettlementSettingsList(): void;
getMemberSettlementSettingsList(): Array<models_member_settlement_setting_pb.MemberSettlementSetting>;
setMemberSettlementSettingsList(
value: Array<models_member_settlement_setting_pb.MemberSettlementSetting>
): void;
addMemberSettlementSettings(
value?: models_member_settlement_setting_pb.MemberSettlementSetting,
index?: number
): models_member_settlement_setting_pb.MemberSettlementSetting;
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 = {
memberSettlementSettingsList: Array<models_member_settlement_setting_pb.MemberSettlementSetting.AsObject>;
};
}
}
export class GetMemberSettlementSettingRequest extends jspb.Message {
getId(): string;
setId(value: string): void;
serializeBinary(): Uint8Array;
toObject(
includeInstance?: boolean
): GetMemberSettlementSettingRequest.AsObject;
static toObject(
includeInstance: boolean,
msg: GetMemberSettlementSettingRequest
): GetMemberSettlementSettingRequest.AsObject;
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
};
static serializeBinaryToWriter(
message: GetMemberSettlementSettingRequest,
writer: jspb.BinaryWriter
): void;
static deserializeBinary(
bytes: Uint8Array
): GetMemberSettlementSettingRequest;
static deserializeBinaryFromReader(
message: GetMemberSettlementSettingRequest,
reader: jspb.BinaryReader
): GetMemberSettlementSettingRequest;
}
export namespace GetMemberSettlementSettingRequest {
export type AsObject = {
id: string;
};
}
export class GetMemberSettlementSettingResponse 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(): GetMemberSettlementSettingResponse.Result | undefined;
setResult(value?: GetMemberSettlementSettingResponse.Result): void;
serializeBinary(): Uint8Array;
toObject(
includeInstance?: boolean
): GetMemberSettlementSettingResponse.AsObject;
static toObject(
includeInstance: boolean,
msg: GetMemberSettlementSettingResponse
): GetMemberSettlementSettingResponse.AsObject;
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
};
static serializeBinaryToWriter(
message: GetMemberSettlementSettingResponse,
writer: jspb.BinaryWriter
): void;
static deserializeBinary(
bytes: Uint8Array
): GetMemberSettlementSettingResponse;
static deserializeBinaryFromReader(
message: GetMemberSettlementSettingResponse,
reader: jspb.BinaryReader
): GetMemberSettlementSettingResponse;
}
export namespace GetMemberSettlementSettingResponse {
export type AsObject = {
error?: protobuf_rpc_pb.Error.AsObject;
result?: GetMemberSettlementSettingResponse.Result.AsObject;
};
export class Result extends jspb.Message {
hasMemberSettlementSetting(): boolean;
clearMemberSettlementSetting(): void;
getMemberSettlementSetting():
| models_member_settlement_setting_pb.MemberSettlementSetting
| undefined;
setMemberSettlementSetting(
value?: models_member_settlement_setting_pb.MemberSettlementSetting
): void;
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 = {
memberSettlementSetting?: models_member_settlement_setting_pb.MemberSettlementSetting.AsObject;
};
}
}
export class UpdateMemberSettlementSettingRequest extends jspb.Message {
getId(): string;
setId(value: string): void;
getCanExchange(): boolean;
setCanExchange(value: boolean): void;
getCanFirstChargeComp(): boolean;
setCanFirstChargeComp(value: boolean): void;
getCanPerChargeComp(): boolean;
setCanPerChargeComp(value: boolean): void;
getSettlementType(): models_member_settlement_setting_pb.SettlementTypeMap[keyof models_member_settlement_setting_pb.SettlementTypeMap];
setSettlementType(
value: models_member_settlement_setting_pb.SettlementTypeMap[keyof models_member_settlement_setting_pb.SettlementTypeMap]
): void;
getManualPaymentTypeForPartner(): models_member_settlement_setting_pb.ManualPaymentTypeMap[keyof models_member_settlement_setting_pb.ManualPaymentTypeMap];
setManualPaymentTypeForPartner(
value: models_member_settlement_setting_pb.ManualPaymentTypeMap[keyof models_member_settlement_setting_pb.ManualPaymentTypeMap]
): void;
getRateCasino(): number;
setRateCasino(value: number): void;
getRateCasinoLoosing(): number;
setRateCasinoLoosing(value: number): void;
getRateCasinoBacara(): number;
setRateCasinoBacara(value: number): void;
getRateCasinoRoulette(): number;
setRateCasinoRoulette(value: number): void;
getRateCasinoDragonTiger(): number;
setRateCasinoDragonTiger(value: number): void;
getRateSlot(): number;
setRateSlot(value: number): void;
getRateSlotLoosing(): number;
setRateSlotLoosing(value: number): void;
getRatePowerballSingle(): number;
setRatePowerballSingle(value: number): void;
getRatePowerballCombo(): number;
setRatePowerballCombo(value: number): void;
getRatePowerladderSingle(): number;
setRatePowerladderSingle(value: number): void;
getRatePowerladderCombo(): number;
setRatePowerladderCombo(value: number): void;
getRateEosSingle(): number;
setRateEosSingle(value: number): void;
getRateEosCombo(): number;
setRateEosCombo(value: number): void;
getRateBogglepowerballSingle(): number;
setRateBogglepowerballSingle(value: number): void;
getRateBogglepowerballCombo(): number;
setRateBogglepowerballCombo(value: number): void;
serializeBinary(): Uint8Array;
toObject(
includeInstance?: boolean
): UpdateMemberSettlementSettingRequest.AsObject;
static toObject(
includeInstance: boolean,
msg: UpdateMemberSettlementSettingRequest
): UpdateMemberSettlementSettingRequest.AsObject;
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
};
static serializeBinaryToWriter(
message: UpdateMemberSettlementSettingRequest,
writer: jspb.BinaryWriter
): void;
static deserializeBinary(
bytes: Uint8Array
): UpdateMemberSettlementSettingRequest;
static deserializeBinaryFromReader(
message: UpdateMemberSettlementSettingRequest,
reader: jspb.BinaryReader
): UpdateMemberSettlementSettingRequest;
}
export namespace UpdateMemberSettlementSettingRequest {
export type AsObject = {
id: string;
canExchange: boolean;
canFirstChargeComp: boolean;
canPerChargeComp: boolean;
settlementType: models_member_settlement_setting_pb.SettlementTypeMap[keyof models_member_settlement_setting_pb.SettlementTypeMap];
manualPaymentTypeForPartner: models_member_settlement_setting_pb.ManualPaymentTypeMap[keyof models_member_settlement_setting_pb.ManualPaymentTypeMap];
rateCasino: number;
rateCasinoLoosing: number;
rateCasinoBacara: number;
rateCasinoRoulette: number;
rateCasinoDragonTiger: number;
rateSlot: number;
rateSlotLoosing: number;
ratePowerballSingle: number;
ratePowerballCombo: number;
ratePowerladderSingle: number;
ratePowerladderCombo: number;
rateEosSingle: number;
rateEosCombo: number;
rateBogglepowerballSingle: number;
rateBogglepowerballCombo: number;
};
}
export class UpdateMemberSettlementSettingResponse 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(): UpdateMemberSettlementSettingResponse.Result | undefined;
setResult(value?: UpdateMemberSettlementSettingResponse.Result): void;
serializeBinary(): Uint8Array;
toObject(
includeInstance?: boolean
): UpdateMemberSettlementSettingResponse.AsObject;
static toObject(
includeInstance: boolean,
msg: UpdateMemberSettlementSettingResponse
): UpdateMemberSettlementSettingResponse.AsObject;
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
};
static serializeBinaryToWriter(
message: UpdateMemberSettlementSettingResponse,
writer: jspb.BinaryWriter
): void;
static deserializeBinary(
bytes: Uint8Array
): UpdateMemberSettlementSettingResponse;
static deserializeBinaryFromReader(
message: UpdateMemberSettlementSettingResponse,
reader: jspb.BinaryReader
): UpdateMemberSettlementSettingResponse;
}
export namespace UpdateMemberSettlementSettingResponse {
export type AsObject = {
error?: protobuf_rpc_pb.Error.AsObject;
result?: UpdateMemberSettlementSettingResponse.Result.AsObject;
};
export class Result extends jspb.Message {
hasMemberSettlementSetting(): boolean;
clearMemberSettlementSetting(): void;
getMemberSettlementSetting():
| models_member_settlement_setting_pb.MemberSettlementSetting
| undefined;
setMemberSettlementSetting(
value?: models_member_settlement_setting_pb.MemberSettlementSetting
): void;
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 = {
memberSettlementSetting?: models_member_settlement_setting_pb.MemberSettlementSetting.AsObject;
};
}
}
export class DeleteMemberSettlementSettingRequest extends jspb.Message {
getId(): string;
setId(value: string): void;
serializeBinary(): Uint8Array;
toObject(
includeInstance?: boolean
): DeleteMemberSettlementSettingRequest.AsObject;
static toObject(
includeInstance: boolean,
msg: DeleteMemberSettlementSettingRequest
): DeleteMemberSettlementSettingRequest.AsObject;
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
};
static serializeBinaryToWriter(
message: DeleteMemberSettlementSettingRequest,
writer: jspb.BinaryWriter
): void;
static deserializeBinary(
bytes: Uint8Array
): DeleteMemberSettlementSettingRequest;
static deserializeBinaryFromReader(
message: DeleteMemberSettlementSettingRequest,
reader: jspb.BinaryReader
): DeleteMemberSettlementSettingRequest;
}
export namespace DeleteMemberSettlementSettingRequest {
export type AsObject = {
id: string;
};
}
export class DeleteMemberSettlementSettingResponse 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(): DeleteMemberSettlementSettingResponse.Result | undefined;
setResult(value?: DeleteMemberSettlementSettingResponse.Result): void;
serializeBinary(): Uint8Array;
toObject(
includeInstance?: boolean
): DeleteMemberSettlementSettingResponse.AsObject;
static toObject(
includeInstance: boolean,
msg: DeleteMemberSettlementSettingResponse
): DeleteMemberSettlementSettingResponse.AsObject;
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
};
static serializeBinaryToWriter(
message: DeleteMemberSettlementSettingResponse,
writer: jspb.BinaryWriter
): void;
static deserializeBinary(
bytes: Uint8Array
): DeleteMemberSettlementSettingResponse;
static deserializeBinaryFromReader(
message: DeleteMemberSettlementSettingResponse,
reader: jspb.BinaryReader
): DeleteMemberSettlementSettingResponse;
}
export namespace DeleteMemberSettlementSettingResponse {
export type AsObject = {
error?: protobuf_rpc_pb.Error.AsObject;
result?: DeleteMemberSettlementSettingResponse.Result.AsObject;
};
export class Result extends jspb.Message {
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 = {};
}
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,71 @@
// package: bet.beteran.member_game_setting
// file: models/member_game_setting.proto
import * as jspb from 'google-protobuf';
export class MemberGameSetting extends jspb.Message {
getId(): string;
setId(value: string): void;
getMemberId(): string;
setMemberId(value: string): void;
getCanBetCasino(): boolean;
setCanBetCasino(value: boolean): void;
getCanBetSlot(): boolean;
setCanBetSlot(value: boolean): void;
getCanBetPowerball(): boolean;
setCanBetPowerball(value: boolean): void;
getCanBetPowerladder(): boolean;
setCanBetPowerladder(value: boolean): void;
getCanBetEos(): boolean;
setCanBetEos(value: boolean): void;
getCanBetBogglepowerball(): boolean;
setCanBetBogglepowerball(value: boolean): void;
getCreatedAt(): number;
setCreatedAt(value: number): void;
getUpdatedAt(): number;
setUpdatedAt(value: number): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): MemberGameSetting.AsObject;
static toObject(
includeInstance: boolean,
msg: MemberGameSetting
): MemberGameSetting.AsObject;
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
};
static serializeBinaryToWriter(
message: MemberGameSetting,
writer: jspb.BinaryWriter
): void;
static deserializeBinary(bytes: Uint8Array): MemberGameSetting;
static deserializeBinaryFromReader(
message: MemberGameSetting,
reader: jspb.BinaryReader
): MemberGameSetting;
}
export namespace MemberGameSetting {
export type AsObject = {
id: string;
memberId: string;
canBetCasino: boolean;
canBetSlot: boolean;
canBetPowerball: boolean;
canBetPowerladder: boolean;
canBetEos: boolean;
canBetBogglepowerball: boolean;
createdAt: number;
updatedAt: number;
};
}

View File

@ -0,0 +1,456 @@
// source: models/member_game_setting.proto
/**
* @fileoverview
* @enhanceable
* @suppress {missingRequire} reports error on implicit type usages.
* @suppress {messageConventions} JS Compiler reports an error if a variable or
* field starts with 'MSG_' and isn't a translatable message.
* @public
*/
// GENERATED CODE -- DO NOT EDIT!
/* eslint-disable */
// @ts-nocheck
var jspb = require("google-protobuf");
var goog = jspb;
var global = function () {
return this || window || global || self || Function("return this")();
}.call(null);
goog.exportSymbol(
"proto.bet.beteran.member_game_setting.MemberGameSetting",
null,
global
);
/**
* 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.member_game_setting.MemberGameSetting = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(
proto.bet.beteran.member_game_setting.MemberGameSetting,
jspb.Message
);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bet.beteran.member_game_setting.MemberGameSetting.displayName =
"proto.bet.beteran.member_game_setting.MemberGameSetting";
}
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.member_game_setting.MemberGameSetting.prototype.toObject =
function (opt_includeInstance) {
return proto.bet.beteran.member_game_setting.MemberGameSetting.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.member_game_setting.MemberGameSetting} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.bet.beteran.member_game_setting.MemberGameSetting.toObject = function (
includeInstance,
msg
) {
var f,
obj = {
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
memberId: jspb.Message.getFieldWithDefault(msg, 2, ""),
canBetCasino: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
canBetSlot: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
canBetPowerball: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
canBetPowerladder: jspb.Message.getBooleanFieldWithDefault(
msg,
6,
false
),
canBetEos: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
canBetBogglepowerball: jspb.Message.getBooleanFieldWithDefault(
msg,
8,
false
),
createdAt: jspb.Message.getFieldWithDefault(msg, 9, 0),
updatedAt: jspb.Message.getFieldWithDefault(msg, 10, 0),
};
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.member_game_setting.MemberGameSetting}
*/
proto.bet.beteran.member_game_setting.MemberGameSetting.deserializeBinary =
function (bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.bet.beteran.member_game_setting.MemberGameSetting();
return proto.bet.beteran.member_game_setting.MemberGameSetting.deserializeBinaryFromReader(
msg,
reader
);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.bet.beteran.member_game_setting.MemberGameSetting} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.bet.beteran.member_game_setting.MemberGameSetting}
*/
proto.bet.beteran.member_game_setting.MemberGameSetting.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.setId(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setMemberId(value);
break;
case 3:
var value = /** @type {boolean} */ (reader.readBool());
msg.setCanBetCasino(value);
break;
case 4:
var value = /** @type {boolean} */ (reader.readBool());
msg.setCanBetSlot(value);
break;
case 5:
var value = /** @type {boolean} */ (reader.readBool());
msg.setCanBetPowerball(value);
break;
case 6:
var value = /** @type {boolean} */ (reader.readBool());
msg.setCanBetPowerladder(value);
break;
case 7:
var value = /** @type {boolean} */ (reader.readBool());
msg.setCanBetEos(value);
break;
case 8:
var value = /** @type {boolean} */ (reader.readBool());
msg.setCanBetBogglepowerball(value);
break;
case 9:
var value = /** @type {number} */ (reader.readUint64());
msg.setCreatedAt(value);
break;
case 10:
var value = /** @type {number} */ (reader.readUint64());
msg.setUpdatedAt(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.bet.beteran.member_game_setting.MemberGameSetting.prototype.serializeBinary =
function () {
var writer = new jspb.BinaryWriter();
proto.bet.beteran.member_game_setting.MemberGameSetting.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.member_game_setting.MemberGameSetting} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.bet.beteran.member_game_setting.MemberGameSetting.serializeBinaryToWriter =
function (message, writer) {
var f = undefined;
f = message.getId();
if (f.length > 0) {
writer.writeString(1, f);
}
f = message.getMemberId();
if (f.length > 0) {
writer.writeString(2, f);
}
f = message.getCanBetCasino();
if (f) {
writer.writeBool(3, f);
}
f = message.getCanBetSlot();
if (f) {
writer.writeBool(4, f);
}
f = message.getCanBetPowerball();
if (f) {
writer.writeBool(5, f);
}
f = message.getCanBetPowerladder();
if (f) {
writer.writeBool(6, f);
}
f = message.getCanBetEos();
if (f) {
writer.writeBool(7, f);
}
f = message.getCanBetBogglepowerball();
if (f) {
writer.writeBool(8, f);
}
f = message.getCreatedAt();
if (f !== 0) {
writer.writeUint64(9, f);
}
f = message.getUpdatedAt();
if (f !== 0) {
writer.writeUint64(10, f);
}
};
/**
* optional string id = 1;
* @return {string}
*/
proto.bet.beteran.member_game_setting.MemberGameSetting.prototype.getId =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 1, "")
);
};
/**
* @param {string} value
* @return {!proto.bet.beteran.member_game_setting.MemberGameSetting} returns this
*/
proto.bet.beteran.member_game_setting.MemberGameSetting.prototype.setId =
function (value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* optional string member_id = 2;
* @return {string}
*/
proto.bet.beteran.member_game_setting.MemberGameSetting.prototype.getMemberId =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 2, "")
);
};
/**
* @param {string} value
* @return {!proto.bet.beteran.member_game_setting.MemberGameSetting} returns this
*/
proto.bet.beteran.member_game_setting.MemberGameSetting.prototype.setMemberId =
function (value) {
return jspb.Message.setProto3StringField(this, 2, value);
};
/**
* optional bool can_bet_casino = 3;
* @return {boolean}
*/
proto.bet.beteran.member_game_setting.MemberGameSetting.prototype.getCanBetCasino =
function () {
return /** @type {boolean} */ (
jspb.Message.getBooleanFieldWithDefault(this, 3, false)
);
};
/**
* @param {boolean} value
* @return {!proto.bet.beteran.member_game_setting.MemberGameSetting} returns this
*/
proto.bet.beteran.member_game_setting.MemberGameSetting.prototype.setCanBetCasino =
function (value) {
return jspb.Message.setProto3BooleanField(this, 3, value);
};
/**
* optional bool can_bet_slot = 4;
* @return {boolean}
*/
proto.bet.beteran.member_game_setting.MemberGameSetting.prototype.getCanBetSlot =
function () {
return /** @type {boolean} */ (
jspb.Message.getBooleanFieldWithDefault(this, 4, false)
);
};
/**
* @param {boolean} value
* @return {!proto.bet.beteran.member_game_setting.MemberGameSetting} returns this
*/
proto.bet.beteran.member_game_setting.MemberGameSetting.prototype.setCanBetSlot =
function (value) {
return jspb.Message.setProto3BooleanField(this, 4, value);
};
/**
* optional bool can_bet_powerball = 5;
* @return {boolean}
*/
proto.bet.beteran.member_game_setting.MemberGameSetting.prototype.getCanBetPowerball =
function () {
return /** @type {boolean} */ (
jspb.Message.getBooleanFieldWithDefault(this, 5, false)
);
};
/**
* @param {boolean} value
* @return {!proto.bet.beteran.member_game_setting.MemberGameSetting} returns this
*/
proto.bet.beteran.member_game_setting.MemberGameSetting.prototype.setCanBetPowerball =
function (value) {
return jspb.Message.setProto3BooleanField(this, 5, value);
};
/**
* optional bool can_bet_powerladder = 6;
* @return {boolean}
*/
proto.bet.beteran.member_game_setting.MemberGameSetting.prototype.getCanBetPowerladder =
function () {
return /** @type {boolean} */ (
jspb.Message.getBooleanFieldWithDefault(this, 6, false)
);
};
/**
* @param {boolean} value
* @return {!proto.bet.beteran.member_game_setting.MemberGameSetting} returns this
*/
proto.bet.beteran.member_game_setting.MemberGameSetting.prototype.setCanBetPowerladder =
function (value) {
return jspb.Message.setProto3BooleanField(this, 6, value);
};
/**
* optional bool can_bet_eos = 7;
* @return {boolean}
*/
proto.bet.beteran.member_game_setting.MemberGameSetting.prototype.getCanBetEos =
function () {
return /** @type {boolean} */ (
jspb.Message.getBooleanFieldWithDefault(this, 7, false)
);
};
/**
* @param {boolean} value
* @return {!proto.bet.beteran.member_game_setting.MemberGameSetting} returns this
*/
proto.bet.beteran.member_game_setting.MemberGameSetting.prototype.setCanBetEos =
function (value) {
return jspb.Message.setProto3BooleanField(this, 7, value);
};
/**
* optional bool can_bet_bogglepowerball = 8;
* @return {boolean}
*/
proto.bet.beteran.member_game_setting.MemberGameSetting.prototype.getCanBetBogglepowerball =
function () {
return /** @type {boolean} */ (
jspb.Message.getBooleanFieldWithDefault(this, 8, false)
);
};
/**
* @param {boolean} value
* @return {!proto.bet.beteran.member_game_setting.MemberGameSetting} returns this
*/
proto.bet.beteran.member_game_setting.MemberGameSetting.prototype.setCanBetBogglepowerball =
function (value) {
return jspb.Message.setProto3BooleanField(this, 8, value);
};
/**
* optional uint64 created_at = 9;
* @return {number}
*/
proto.bet.beteran.member_game_setting.MemberGameSetting.prototype.getCreatedAt =
function () {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
};
/**
* @param {number} value
* @return {!proto.bet.beteran.member_game_setting.MemberGameSetting} returns this
*/
proto.bet.beteran.member_game_setting.MemberGameSetting.prototype.setCreatedAt =
function (value) {
return jspb.Message.setProto3IntField(this, 9, value);
};
/**
* optional uint64 updated_at = 10;
* @return {number}
*/
proto.bet.beteran.member_game_setting.MemberGameSetting.prototype.getUpdatedAt =
function () {
return /** @type {number} */ (
jspb.Message.getFieldWithDefault(this, 10, 0)
);
};
/**
* @param {number} value
* @return {!proto.bet.beteran.member_game_setting.MemberGameSetting} returns this
*/
proto.bet.beteran.member_game_setting.MemberGameSetting.prototype.setUpdatedAt =
function (value) {
return jspb.Message.setProto3IntField(this, 10, value);
};
goog.object.extend(exports, proto.bet.beteran.member_game_setting);

View File

@ -6,6 +6,8 @@ import * as models_site_pb from '../models/site_pb';
import * as models_member_bank_account_pb from '../models/member_bank_account_pb'; import * as models_member_bank_account_pb from '../models/member_bank_account_pb';
import * as models_member_class_pb from '../models/member_class_pb'; import * as models_member_class_pb from '../models/member_class_pb';
import * as models_member_level_pb from '../models/member_level_pb'; import * as models_member_level_pb from '../models/member_level_pb';
import * as models_member_game_setting_pb from '../models/member_game_setting_pb';
import * as models_member_settlement_setting_pb from '../models/member_settlement_setting_pb';
export class Member extends jspb.Message { export class Member extends jspb.Message {
getId(): string; getId(): string;
@ -162,6 +164,24 @@ export class MemberModel extends jspb.Message {
getStateChangedAt(): number; getStateChangedAt(): number;
setStateChangedAt(value: number): void; 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; hasLastSigninedIp(): boolean;
clearLastSigninedIp(): void; clearLastSigninedIp(): void;
getLastSigninedIp(): string; getLastSigninedIp(): string;
@ -218,6 +238,8 @@ export namespace MemberModel {
mobilePhoneNumber: string; mobilePhoneNumber: string;
state: MemberStateMap[keyof MemberStateMap]; state: MemberStateMap[keyof MemberStateMap];
stateChangedAt: number; stateChangedAt: number;
memberGameSetting?: models_member_game_setting_pb.MemberGameSetting.AsObject;
memberSettlementSetting?: models_member_settlement_setting_pb.MemberSettlementSetting.AsObject;
lastSigninedIp: string; lastSigninedIp: string;
lastSigninedAt: number; lastSigninedAt: number;
createdAt: number; createdAt: number;

View File

@ -25,6 +25,10 @@ var models_member_class_pb = require("../models/member_class_pb.js");
goog.object.extend(proto, models_member_class_pb); goog.object.extend(proto, models_member_class_pb);
var models_member_level_pb = require("../models/member_level_pb.js"); var models_member_level_pb = require("../models/member_level_pb.js");
goog.object.extend(proto, models_member_level_pb); goog.object.extend(proto, models_member_level_pb);
var models_member_game_setting_pb = require("../models/member_game_setting_pb.js");
goog.object.extend(proto, models_member_game_setting_pb);
var models_member_settlement_setting_pb = require("../models/member_settlement_setting_pb.js");
goog.object.extend(proto, models_member_settlement_setting_pb);
goog.exportSymbol("proto.bet.beteran.member.Member", null, global); goog.exportSymbol("proto.bet.beteran.member.Member", null, global);
goog.exportSymbol("proto.bet.beteran.member.MemberModel", null, global); goog.exportSymbol("proto.bet.beteran.member.MemberModel", null, global);
goog.exportSymbol("proto.bet.beteran.member.MemberState", null, global); goog.exportSymbol("proto.bet.beteran.member.MemberState", null, global);
@ -742,11 +746,23 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
mobilePhoneNumber: jspb.Message.getFieldWithDefault(msg, 10, ""), mobilePhoneNumber: jspb.Message.getFieldWithDefault(msg, 10, ""),
state: jspb.Message.getFieldWithDefault(msg, 11, 0), state: jspb.Message.getFieldWithDefault(msg, 11, 0),
stateChangedAt: jspb.Message.getFieldWithDefault(msg, 12, 0), stateChangedAt: jspb.Message.getFieldWithDefault(msg, 12, 0),
lastSigninedIp: jspb.Message.getFieldWithDefault(msg, 13, ""), memberGameSetting:
lastSigninedAt: jspb.Message.getFieldWithDefault(msg, 14, 0), (f = msg.getMemberGameSetting()) &&
createdAt: jspb.Message.getFieldWithDefault(msg, 15, 0), models_member_game_setting_pb.MemberGameSetting.toObject(
updatedAt: jspb.Message.getFieldWithDefault(msg, 16, 0), includeInstance,
deletedAt: jspb.Message.getFieldWithDefault(msg, 17, 0), f
),
memberSettlementSetting:
(f = msg.getMemberSettlementSetting()) &&
models_member_settlement_setting_pb.MemberSettlementSetting.toObject(
includeInstance,
f
),
lastSigninedIp: jspb.Message.getFieldWithDefault(msg, 15, ""),
lastSigninedAt: jspb.Message.getFieldWithDefault(msg, 16, 0),
createdAt: jspb.Message.getFieldWithDefault(msg, 17, 0),
updatedAt: jspb.Message.getFieldWithDefault(msg, 18, 0),
deletedAt: jspb.Message.getFieldWithDefault(msg, 19, 0),
}; };
if (includeInstance) { if (includeInstance) {
@ -859,22 +875,41 @@ proto.bet.beteran.member.MemberModel.deserializeBinaryFromReader = function (
msg.setStateChangedAt(value); msg.setStateChangedAt(value);
break; break;
case 13: case 13:
var value = new models_member_game_setting_pb.MemberGameSetting();
reader.readMessage(
value,
models_member_game_setting_pb.MemberGameSetting
.deserializeBinaryFromReader
);
msg.setMemberGameSetting(value);
break;
case 14:
var value =
new models_member_settlement_setting_pb.MemberSettlementSetting();
reader.readMessage(
value,
models_member_settlement_setting_pb.MemberSettlementSetting
.deserializeBinaryFromReader
);
msg.setMemberSettlementSetting(value);
break;
case 15:
var value = /** @type {string} */ (reader.readString()); var value = /** @type {string} */ (reader.readString());
msg.setLastSigninedIp(value); msg.setLastSigninedIp(value);
break; break;
case 14: case 16:
var value = /** @type {number} */ (reader.readUint64()); var value = /** @type {number} */ (reader.readUint64());
msg.setLastSigninedAt(value); msg.setLastSigninedAt(value);
break; break;
case 15: case 17:
var value = /** @type {number} */ (reader.readUint64()); var value = /** @type {number} */ (reader.readUint64());
msg.setCreatedAt(value); msg.setCreatedAt(value);
break; break;
case 16: case 18:
var value = /** @type {number} */ (reader.readUint64()); var value = /** @type {number} */ (reader.readUint64());
msg.setUpdatedAt(value); msg.setUpdatedAt(value);
break; break;
case 17: case 19:
var value = /** @type {number} */ (reader.readUint64()); var value = /** @type {number} */ (reader.readUint64());
msg.setDeletedAt(value); msg.setDeletedAt(value);
break; break;
@ -973,25 +1008,42 @@ proto.bet.beteran.member.MemberModel.serializeBinaryToWriter = function (
if (f != null) { if (f != null) {
writer.writeUint64(12, f); writer.writeUint64(12, f);
} }
f = /** @type {string} */ (jspb.Message.getField(message, 13)); f = message.getMemberGameSetting();
if (f != null) { if (f != null) {
writer.writeString(13, f); writer.writeMessage(
13,
f,
models_member_game_setting_pb.MemberGameSetting.serializeBinaryToWriter
);
} }
f = /** @type {number} */ (jspb.Message.getField(message, 14)); f = message.getMemberSettlementSetting();
if (f != null) { if (f != null) {
writer.writeUint64(14, f); writer.writeMessage(
14,
f,
models_member_settlement_setting_pb.MemberSettlementSetting
.serializeBinaryToWriter
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 15));
if (f != null) {
writer.writeString(15, f);
}
f = /** @type {number} */ (jspb.Message.getField(message, 16));
if (f != null) {
writer.writeUint64(16, f);
} }
f = message.getCreatedAt(); f = message.getCreatedAt();
if (f !== 0) { if (f !== 0) {
writer.writeUint64(15, f); writer.writeUint64(17, f);
} }
f = message.getUpdatedAt(); f = message.getUpdatedAt();
if (f !== 0) { if (f !== 0) {
writer.writeUint64(16, f); writer.writeUint64(18, f);
} }
f = /** @type {number} */ (jspb.Message.getField(message, 17)); f = /** @type {number} */ (jspb.Message.getField(message, 19));
if (f != null) { if (f != null) {
writer.writeUint64(17, f); writer.writeUint64(19, f);
} }
}; };
@ -1337,11 +1389,96 @@ proto.bet.beteran.member.MemberModel.prototype.hasStateChangedAt = function () {
}; };
/** /**
* optional string last_signined_ip = 13; * optional bet.beteran.member_game_setting.MemberGameSetting member_game_setting = 13;
* @return {?proto.bet.beteran.member_game_setting.MemberGameSetting}
*/
proto.bet.beteran.member.MemberModel.prototype.getMemberGameSetting =
function () {
return /** @type{?proto.bet.beteran.member_game_setting.MemberGameSetting} */ (
jspb.Message.getWrapperField(
this,
models_member_game_setting_pb.MemberGameSetting,
13
)
);
};
/**
* @param {?proto.bet.beteran.member_game_setting.MemberGameSetting|undefined} value
* @return {!proto.bet.beteran.member.MemberModel} returns this
*/
proto.bet.beteran.member.MemberModel.prototype.setMemberGameSetting = function (
value
) {
return jspb.Message.setWrapperField(this, 13, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.bet.beteran.member.MemberModel} returns this
*/
proto.bet.beteran.member.MemberModel.prototype.clearMemberGameSetting =
function () {
return this.setMemberGameSetting(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.member.MemberModel.prototype.hasMemberGameSetting =
function () {
return jspb.Message.getField(this, 13) != null;
};
/**
* optional bet.beteran.member_settlement_setting.MemberSettlementSetting member_settlement_setting = 14;
* @return {?proto.bet.beteran.member_settlement_setting.MemberSettlementSetting}
*/
proto.bet.beteran.member.MemberModel.prototype.getMemberSettlementSetting =
function () {
return /** @type{?proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} */ (
jspb.Message.getWrapperField(
this,
models_member_settlement_setting_pb.MemberSettlementSetting,
14
)
);
};
/**
* @param {?proto.bet.beteran.member_settlement_setting.MemberSettlementSetting|undefined} value
* @return {!proto.bet.beteran.member.MemberModel} returns this
*/
proto.bet.beteran.member.MemberModel.prototype.setMemberSettlementSetting =
function (value) {
return jspb.Message.setWrapperField(this, 14, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.bet.beteran.member.MemberModel} returns this
*/
proto.bet.beteran.member.MemberModel.prototype.clearMemberSettlementSetting =
function () {
return this.setMemberSettlementSetting(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.member.MemberModel.prototype.hasMemberSettlementSetting =
function () {
return jspb.Message.getField(this, 14) != null;
};
/**
* optional string last_signined_ip = 15;
* @return {string} * @return {string}
*/ */
proto.bet.beteran.member.MemberModel.prototype.getLastSigninedIp = function () { proto.bet.beteran.member.MemberModel.prototype.getLastSigninedIp = function () {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, "")); return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
}; };
/** /**
@ -1351,7 +1488,7 @@ proto.bet.beteran.member.MemberModel.prototype.getLastSigninedIp = function () {
proto.bet.beteran.member.MemberModel.prototype.setLastSigninedIp = function ( proto.bet.beteran.member.MemberModel.prototype.setLastSigninedIp = function (
value value
) { ) {
return jspb.Message.setField(this, 13, value); return jspb.Message.setField(this, 15, value);
}; };
/** /**
@ -1360,7 +1497,7 @@ proto.bet.beteran.member.MemberModel.prototype.setLastSigninedIp = function (
*/ */
proto.bet.beteran.member.MemberModel.prototype.clearLastSigninedIp = proto.bet.beteran.member.MemberModel.prototype.clearLastSigninedIp =
function () { function () {
return jspb.Message.setField(this, 13, undefined); return jspb.Message.setField(this, 15, undefined);
}; };
/** /**
@ -1368,15 +1505,15 @@ proto.bet.beteran.member.MemberModel.prototype.clearLastSigninedIp =
* @return {boolean} * @return {boolean}
*/ */
proto.bet.beteran.member.MemberModel.prototype.hasLastSigninedIp = function () { proto.bet.beteran.member.MemberModel.prototype.hasLastSigninedIp = function () {
return jspb.Message.getField(this, 13) != null; return jspb.Message.getField(this, 15) != null;
}; };
/** /**
* optional uint64 last_signined_at = 14; * optional uint64 last_signined_at = 16;
* @return {number} * @return {number}
*/ */
proto.bet.beteran.member.MemberModel.prototype.getLastSigninedAt = function () { proto.bet.beteran.member.MemberModel.prototype.getLastSigninedAt = function () {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0)); return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 16, 0));
}; };
/** /**
@ -1386,7 +1523,7 @@ proto.bet.beteran.member.MemberModel.prototype.getLastSigninedAt = function () {
proto.bet.beteran.member.MemberModel.prototype.setLastSigninedAt = function ( proto.bet.beteran.member.MemberModel.prototype.setLastSigninedAt = function (
value value
) { ) {
return jspb.Message.setField(this, 14, value); return jspb.Message.setField(this, 16, value);
}; };
/** /**
@ -1395,7 +1532,7 @@ proto.bet.beteran.member.MemberModel.prototype.setLastSigninedAt = function (
*/ */
proto.bet.beteran.member.MemberModel.prototype.clearLastSigninedAt = proto.bet.beteran.member.MemberModel.prototype.clearLastSigninedAt =
function () { function () {
return jspb.Message.setField(this, 14, undefined); return jspb.Message.setField(this, 16, undefined);
}; };
/** /**
@ -1403,55 +1540,55 @@ proto.bet.beteran.member.MemberModel.prototype.clearLastSigninedAt =
* @return {boolean} * @return {boolean}
*/ */
proto.bet.beteran.member.MemberModel.prototype.hasLastSigninedAt = function () { proto.bet.beteran.member.MemberModel.prototype.hasLastSigninedAt = function () {
return jspb.Message.getField(this, 14) != null; return jspb.Message.getField(this, 16) != null;
}; };
/** /**
* optional uint64 created_at = 15; * optional uint64 created_at = 17;
* @return {number} * @return {number}
*/ */
proto.bet.beteran.member.MemberModel.prototype.getCreatedAt = function () { proto.bet.beteran.member.MemberModel.prototype.getCreatedAt = function () {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0));
};
/**
* @param {number} value
* @return {!proto.bet.beteran.member.MemberModel} returns this
*/
proto.bet.beteran.member.MemberModel.prototype.setCreatedAt = function (value) {
return jspb.Message.setProto3IntField(this, 15, value);
};
/**
* optional uint64 updated_at = 16;
* @return {number}
*/
proto.bet.beteran.member.MemberModel.prototype.getUpdatedAt = function () {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 16, 0));
};
/**
* @param {number} value
* @return {!proto.bet.beteran.member.MemberModel} returns this
*/
proto.bet.beteran.member.MemberModel.prototype.setUpdatedAt = function (value) {
return jspb.Message.setProto3IntField(this, 16, value);
};
/**
* optional uint64 deleted_at = 17;
* @return {number}
*/
proto.bet.beteran.member.MemberModel.prototype.getDeletedAt = function () {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 17, 0)); return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 17, 0));
}; };
/**
* @param {number} value
* @return {!proto.bet.beteran.member.MemberModel} returns this
*/
proto.bet.beteran.member.MemberModel.prototype.setCreatedAt = function (value) {
return jspb.Message.setProto3IntField(this, 17, value);
};
/**
* optional uint64 updated_at = 18;
* @return {number}
*/
proto.bet.beteran.member.MemberModel.prototype.getUpdatedAt = function () {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 18, 0));
};
/**
* @param {number} value
* @return {!proto.bet.beteran.member.MemberModel} returns this
*/
proto.bet.beteran.member.MemberModel.prototype.setUpdatedAt = function (value) {
return jspb.Message.setProto3IntField(this, 18, value);
};
/**
* optional uint64 deleted_at = 19;
* @return {number}
*/
proto.bet.beteran.member.MemberModel.prototype.getDeletedAt = function () {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 19, 0));
};
/** /**
* @param {number} value * @param {number} value
* @return {!proto.bet.beteran.member.MemberModel} returns this * @return {!proto.bet.beteran.member.MemberModel} returns this
*/ */
proto.bet.beteran.member.MemberModel.prototype.setDeletedAt = function (value) { proto.bet.beteran.member.MemberModel.prototype.setDeletedAt = function (value) {
return jspb.Message.setField(this, 17, value); return jspb.Message.setField(this, 19, value);
}; };
/** /**
@ -1459,7 +1596,7 @@ proto.bet.beteran.member.MemberModel.prototype.setDeletedAt = function (value) {
* @return {!proto.bet.beteran.member.MemberModel} returns this * @return {!proto.bet.beteran.member.MemberModel} returns this
*/ */
proto.bet.beteran.member.MemberModel.prototype.clearDeletedAt = function () { proto.bet.beteran.member.MemberModel.prototype.clearDeletedAt = function () {
return jspb.Message.setField(this, 17, undefined); return jspb.Message.setField(this, 19, undefined);
}; };
/** /**
@ -1467,7 +1604,7 @@ proto.bet.beteran.member.MemberModel.prototype.clearDeletedAt = function () {
* @return {boolean} * @return {boolean}
*/ */
proto.bet.beteran.member.MemberModel.prototype.hasDeletedAt = function () { proto.bet.beteran.member.MemberModel.prototype.hasDeletedAt = function () {
return jspb.Message.getField(this, 17) != null; return jspb.Message.getField(this, 19) != null;
}; };
/** /**

View File

@ -0,0 +1,146 @@
// package: bet.beteran.member_settlement_setting
// file: models/member_settlement_setting.proto
import * as jspb from 'google-protobuf';
export class MemberSettlementSetting extends jspb.Message {
getId(): string;
setId(value: string): void;
getMemberId(): string;
setMemberId(value: string): void;
getCanExchange(): boolean;
setCanExchange(value: boolean): void;
getCanFirstChargeComp(): boolean;
setCanFirstChargeComp(value: boolean): void;
getCanPerChargeComp(): boolean;
setCanPerChargeComp(value: boolean): void;
getSettlementType(): SettlementTypeMap[keyof SettlementTypeMap];
setSettlementType(value: SettlementTypeMap[keyof SettlementTypeMap]): void;
getManualPaymentTypeForPartner(): ManualPaymentTypeMap[keyof ManualPaymentTypeMap];
setManualPaymentTypeForPartner(
value: ManualPaymentTypeMap[keyof ManualPaymentTypeMap]
): void;
getRateCasino(): number;
setRateCasino(value: number): void;
getRateCasinoLoosing(): number;
setRateCasinoLoosing(value: number): void;
getRateCasinoBacara(): number;
setRateCasinoBacara(value: number): void;
getRateCasinoRoulette(): number;
setRateCasinoRoulette(value: number): void;
getRateCasinoDragonTiger(): number;
setRateCasinoDragonTiger(value: number): void;
getRateSlot(): number;
setRateSlot(value: number): void;
getRateSlotLoosing(): number;
setRateSlotLoosing(value: number): void;
getRatePowerballSingle(): number;
setRatePowerballSingle(value: number): void;
getRatePowerballCombo(): number;
setRatePowerballCombo(value: number): void;
getRatePowerladderSingle(): number;
setRatePowerladderSingle(value: number): void;
getRatePowerladderCombo(): number;
setRatePowerladderCombo(value: number): void;
getRateEosSingle(): number;
setRateEosSingle(value: number): void;
getRateEosCombo(): number;
setRateEosCombo(value: number): void;
getRateBogglepowerballSingle(): number;
setRateBogglepowerballSingle(value: number): void;
getRateBogglepowerballCombo(): number;
setRateBogglepowerballCombo(value: number): void;
getCreatedAt(): number;
setCreatedAt(value: number): void;
getUpdatedAt(): number;
setUpdatedAt(value: number): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): MemberSettlementSetting.AsObject;
static toObject(
includeInstance: boolean,
msg: MemberSettlementSetting
): MemberSettlementSetting.AsObject;
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
};
static serializeBinaryToWriter(
message: MemberSettlementSetting,
writer: jspb.BinaryWriter
): void;
static deserializeBinary(bytes: Uint8Array): MemberSettlementSetting;
static deserializeBinaryFromReader(
message: MemberSettlementSetting,
reader: jspb.BinaryReader
): MemberSettlementSetting;
}
export namespace MemberSettlementSetting {
export type AsObject = {
id: string;
memberId: string;
canExchange: boolean;
canFirstChargeComp: boolean;
canPerChargeComp: boolean;
settlementType: SettlementTypeMap[keyof SettlementTypeMap];
manualPaymentTypeForPartner: ManualPaymentTypeMap[keyof ManualPaymentTypeMap];
rateCasino: number;
rateCasinoLoosing: number;
rateCasinoBacara: number;
rateCasinoRoulette: number;
rateCasinoDragonTiger: number;
rateSlot: number;
rateSlotLoosing: number;
ratePowerballSingle: number;
ratePowerballCombo: number;
ratePowerladderSingle: number;
ratePowerladderCombo: number;
rateEosSingle: number;
rateEosCombo: number;
rateBogglepowerballSingle: number;
rateBogglepowerballCombo: number;
createdAt: number;
updatedAt: number;
};
}
export interface SettlementTypeMap {
ST_NONE: 0;
ROLLING: 1;
LOOSING: 2;
}
export const SettlementType: SettlementTypeMap;
export interface ManualPaymentTypeMap {
MPT_NONE: 0;
DISABLE: 1;
ALL_CHILD_PARTNER: 2;
ONLY_DIRECT_PARTNER: 3;
}
export const ManualPaymentType: ManualPaymentTypeMap;

View File

@ -0,0 +1,954 @@
// source: models/member_settlement_setting.proto
/**
* @fileoverview
* @enhanceable
* @suppress {missingRequire} reports error on implicit type usages.
* @suppress {messageConventions} JS Compiler reports an error if a variable or
* field starts with 'MSG_' and isn't a translatable message.
* @public
*/
// GENERATED CODE -- DO NOT EDIT!
/* eslint-disable */
// @ts-nocheck
var jspb = require("google-protobuf");
var goog = jspb;
var global = function () {
return this || window || global || self || Function("return this")();
}.call(null);
goog.exportSymbol(
"proto.bet.beteran.member_settlement_setting.ManualPaymentType",
null,
global
);
goog.exportSymbol(
"proto.bet.beteran.member_settlement_setting.MemberSettlementSetting",
null,
global
);
goog.exportSymbol(
"proto.bet.beteran.member_settlement_setting.SettlementType",
null,
global
);
/**
* 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.member_settlement_setting.MemberSettlementSetting = function (
opt_data
) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting,
jspb.Message
);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.displayName =
"proto.bet.beteran.member_settlement_setting.MemberSettlementSetting";
}
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.member_settlement_setting.MemberSettlementSetting.prototype.toObject =
function (opt_includeInstance) {
return proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.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.member_settlement_setting.MemberSettlementSetting} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.toObject =
function (includeInstance, msg) {
var f,
obj = {
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
memberId: jspb.Message.getFieldWithDefault(msg, 2, ""),
canExchange: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
canFirstChargeComp: jspb.Message.getBooleanFieldWithDefault(
msg,
4,
false
),
canPerChargeComp: jspb.Message.getBooleanFieldWithDefault(
msg,
5,
false
),
settlementType: jspb.Message.getFieldWithDefault(msg, 6, 0),
manualPaymentTypeForPartner: jspb.Message.getFieldWithDefault(
msg,
7,
0
),
rateCasino: jspb.Message.getFloatingPointFieldWithDefault(
msg,
8,
0.0
),
rateCasinoLoosing: jspb.Message.getFloatingPointFieldWithDefault(
msg,
9,
0.0
),
rateCasinoBacara: jspb.Message.getFloatingPointFieldWithDefault(
msg,
10,
0.0
),
rateCasinoRoulette: jspb.Message.getFloatingPointFieldWithDefault(
msg,
11,
0.0
),
rateCasinoDragonTiger: jspb.Message.getFloatingPointFieldWithDefault(
msg,
12,
0.0
),
rateSlot: jspb.Message.getFloatingPointFieldWithDefault(msg, 13, 0.0),
rateSlotLoosing: jspb.Message.getFloatingPointFieldWithDefault(
msg,
14,
0.0
),
ratePowerballSingle: jspb.Message.getFloatingPointFieldWithDefault(
msg,
15,
0.0
),
ratePowerballCombo: jspb.Message.getFloatingPointFieldWithDefault(
msg,
16,
0.0
),
ratePowerladderSingle: jspb.Message.getFloatingPointFieldWithDefault(
msg,
17,
0.0
),
ratePowerladderCombo: jspb.Message.getFloatingPointFieldWithDefault(
msg,
18,
0.0
),
rateEosSingle: jspb.Message.getFloatingPointFieldWithDefault(
msg,
19,
0.0
),
rateEosCombo: jspb.Message.getFloatingPointFieldWithDefault(
msg,
20,
0.0
),
rateBogglepowerballSingle:
jspb.Message.getFloatingPointFieldWithDefault(msg, 21, 0.0),
rateBogglepowerballCombo:
jspb.Message.getFloatingPointFieldWithDefault(msg, 22, 0.0),
createdAt: jspb.Message.getFieldWithDefault(msg, 23, 0),
updatedAt: jspb.Message.getFieldWithDefault(msg, 24, 0),
};
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.member_settlement_setting.MemberSettlementSetting}
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.deserializeBinary =
function (bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg =
new proto.bet.beteran.member_settlement_setting.MemberSettlementSetting();
return proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.deserializeBinaryFromReader(
msg,
reader
);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting}
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.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.setId(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setMemberId(value);
break;
case 3:
var value = /** @type {boolean} */ (reader.readBool());
msg.setCanExchange(value);
break;
case 4:
var value = /** @type {boolean} */ (reader.readBool());
msg.setCanFirstChargeComp(value);
break;
case 5:
var value = /** @type {boolean} */ (reader.readBool());
msg.setCanPerChargeComp(value);
break;
case 6:
var value =
/** @type {!proto.bet.beteran.member_settlement_setting.SettlementType} */ (
reader.readEnum()
);
msg.setSettlementType(value);
break;
case 7:
var value =
/** @type {!proto.bet.beteran.member_settlement_setting.ManualPaymentType} */ (
reader.readEnum()
);
msg.setManualPaymentTypeForPartner(value);
break;
case 8:
var value = /** @type {number} */ (reader.readDouble());
msg.setRateCasino(value);
break;
case 9:
var value = /** @type {number} */ (reader.readDouble());
msg.setRateCasinoLoosing(value);
break;
case 10:
var value = /** @type {number} */ (reader.readDouble());
msg.setRateCasinoBacara(value);
break;
case 11:
var value = /** @type {number} */ (reader.readDouble());
msg.setRateCasinoRoulette(value);
break;
case 12:
var value = /** @type {number} */ (reader.readDouble());
msg.setRateCasinoDragonTiger(value);
break;
case 13:
var value = /** @type {number} */ (reader.readDouble());
msg.setRateSlot(value);
break;
case 14:
var value = /** @type {number} */ (reader.readDouble());
msg.setRateSlotLoosing(value);
break;
case 15:
var value = /** @type {number} */ (reader.readDouble());
msg.setRatePowerballSingle(value);
break;
case 16:
var value = /** @type {number} */ (reader.readDouble());
msg.setRatePowerballCombo(value);
break;
case 17:
var value = /** @type {number} */ (reader.readDouble());
msg.setRatePowerladderSingle(value);
break;
case 18:
var value = /** @type {number} */ (reader.readDouble());
msg.setRatePowerladderCombo(value);
break;
case 19:
var value = /** @type {number} */ (reader.readDouble());
msg.setRateEosSingle(value);
break;
case 20:
var value = /** @type {number} */ (reader.readDouble());
msg.setRateEosCombo(value);
break;
case 21:
var value = /** @type {number} */ (reader.readDouble());
msg.setRateBogglepowerballSingle(value);
break;
case 22:
var value = /** @type {number} */ (reader.readDouble());
msg.setRateBogglepowerballCombo(value);
break;
case 23:
var value = /** @type {number} */ (reader.readUint64());
msg.setCreatedAt(value);
break;
case 24:
var value = /** @type {number} */ (reader.readUint64());
msg.setUpdatedAt(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.serializeBinary =
function () {
var writer = new jspb.BinaryWriter();
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.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.member_settlement_setting.MemberSettlementSetting} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.serializeBinaryToWriter =
function (message, writer) {
var f = undefined;
f = message.getId();
if (f.length > 0) {
writer.writeString(1, f);
}
f = message.getMemberId();
if (f.length > 0) {
writer.writeString(2, f);
}
f = message.getCanExchange();
if (f) {
writer.writeBool(3, f);
}
f = message.getCanFirstChargeComp();
if (f) {
writer.writeBool(4, f);
}
f = message.getCanPerChargeComp();
if (f) {
writer.writeBool(5, f);
}
f = message.getSettlementType();
if (f !== 0.0) {
writer.writeEnum(6, f);
}
f = message.getManualPaymentTypeForPartner();
if (f !== 0.0) {
writer.writeEnum(7, f);
}
f = message.getRateCasino();
if (f !== 0.0) {
writer.writeDouble(8, f);
}
f = message.getRateCasinoLoosing();
if (f !== 0.0) {
writer.writeDouble(9, f);
}
f = message.getRateCasinoBacara();
if (f !== 0.0) {
writer.writeDouble(10, f);
}
f = message.getRateCasinoRoulette();
if (f !== 0.0) {
writer.writeDouble(11, f);
}
f = message.getRateCasinoDragonTiger();
if (f !== 0.0) {
writer.writeDouble(12, f);
}
f = message.getRateSlot();
if (f !== 0.0) {
writer.writeDouble(13, f);
}
f = message.getRateSlotLoosing();
if (f !== 0.0) {
writer.writeDouble(14, f);
}
f = message.getRatePowerballSingle();
if (f !== 0.0) {
writer.writeDouble(15, f);
}
f = message.getRatePowerballCombo();
if (f !== 0.0) {
writer.writeDouble(16, f);
}
f = message.getRatePowerladderSingle();
if (f !== 0.0) {
writer.writeDouble(17, f);
}
f = message.getRatePowerladderCombo();
if (f !== 0.0) {
writer.writeDouble(18, f);
}
f = message.getRateEosSingle();
if (f !== 0.0) {
writer.writeDouble(19, f);
}
f = message.getRateEosCombo();
if (f !== 0.0) {
writer.writeDouble(20, f);
}
f = message.getRateBogglepowerballSingle();
if (f !== 0.0) {
writer.writeDouble(21, f);
}
f = message.getRateBogglepowerballCombo();
if (f !== 0.0) {
writer.writeDouble(22, f);
}
f = message.getCreatedAt();
if (f !== 0) {
writer.writeUint64(23, f);
}
f = message.getUpdatedAt();
if (f !== 0) {
writer.writeUint64(24, f);
}
};
/**
* optional string id = 1;
* @return {string}
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.getId =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 1, "")
);
};
/**
* @param {string} value
* @return {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} returns this
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.setId =
function (value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* optional string member_id = 2;
* @return {string}
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.getMemberId =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 2, "")
);
};
/**
* @param {string} value
* @return {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} returns this
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.setMemberId =
function (value) {
return jspb.Message.setProto3StringField(this, 2, value);
};
/**
* optional bool can_exchange = 3;
* @return {boolean}
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.getCanExchange =
function () {
return /** @type {boolean} */ (
jspb.Message.getBooleanFieldWithDefault(this, 3, false)
);
};
/**
* @param {boolean} value
* @return {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} returns this
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.setCanExchange =
function (value) {
return jspb.Message.setProto3BooleanField(this, 3, value);
};
/**
* optional bool can_first_charge_comp = 4;
* @return {boolean}
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.getCanFirstChargeComp =
function () {
return /** @type {boolean} */ (
jspb.Message.getBooleanFieldWithDefault(this, 4, false)
);
};
/**
* @param {boolean} value
* @return {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} returns this
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.setCanFirstChargeComp =
function (value) {
return jspb.Message.setProto3BooleanField(this, 4, value);
};
/**
* optional bool can_per_charge_comp = 5;
* @return {boolean}
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.getCanPerChargeComp =
function () {
return /** @type {boolean} */ (
jspb.Message.getBooleanFieldWithDefault(this, 5, false)
);
};
/**
* @param {boolean} value
* @return {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} returns this
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.setCanPerChargeComp =
function (value) {
return jspb.Message.setProto3BooleanField(this, 5, value);
};
/**
* optional SettlementType settlement_type = 6;
* @return {!proto.bet.beteran.member_settlement_setting.SettlementType}
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.getSettlementType =
function () {
return /** @type {!proto.bet.beteran.member_settlement_setting.SettlementType} */ (
jspb.Message.getFieldWithDefault(this, 6, 0)
);
};
/**
* @param {!proto.bet.beteran.member_settlement_setting.SettlementType} value
* @return {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} returns this
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.setSettlementType =
function (value) {
return jspb.Message.setProto3EnumField(this, 6, value);
};
/**
* optional ManualPaymentType manual_payment_type_for_partner = 7;
* @return {!proto.bet.beteran.member_settlement_setting.ManualPaymentType}
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.getManualPaymentTypeForPartner =
function () {
return /** @type {!proto.bet.beteran.member_settlement_setting.ManualPaymentType} */ (
jspb.Message.getFieldWithDefault(this, 7, 0)
);
};
/**
* @param {!proto.bet.beteran.member_settlement_setting.ManualPaymentType} value
* @return {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} returns this
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.setManualPaymentTypeForPartner =
function (value) {
return jspb.Message.setProto3EnumField(this, 7, value);
};
/**
* optional double rate_casino = 8;
* @return {number}
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.getRateCasino =
function () {
return /** @type {number} */ (
jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0)
);
};
/**
* @param {number} value
* @return {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} returns this
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.setRateCasino =
function (value) {
return jspb.Message.setProto3FloatField(this, 8, value);
};
/**
* optional double rate_casino_loosing = 9;
* @return {number}
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.getRateCasinoLoosing =
function () {
return /** @type {number} */ (
jspb.Message.getFloatingPointFieldWithDefault(this, 9, 0.0)
);
};
/**
* @param {number} value
* @return {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} returns this
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.setRateCasinoLoosing =
function (value) {
return jspb.Message.setProto3FloatField(this, 9, value);
};
/**
* optional double rate_casino_bacara = 10;
* @return {number}
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.getRateCasinoBacara =
function () {
return /** @type {number} */ (
jspb.Message.getFloatingPointFieldWithDefault(this, 10, 0.0)
);
};
/**
* @param {number} value
* @return {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} returns this
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.setRateCasinoBacara =
function (value) {
return jspb.Message.setProto3FloatField(this, 10, value);
};
/**
* optional double rate_casino_roulette = 11;
* @return {number}
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.getRateCasinoRoulette =
function () {
return /** @type {number} */ (
jspb.Message.getFloatingPointFieldWithDefault(this, 11, 0.0)
);
};
/**
* @param {number} value
* @return {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} returns this
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.setRateCasinoRoulette =
function (value) {
return jspb.Message.setProto3FloatField(this, 11, value);
};
/**
* optional double rate_casino_dragon_tiger = 12;
* @return {number}
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.getRateCasinoDragonTiger =
function () {
return /** @type {number} */ (
jspb.Message.getFloatingPointFieldWithDefault(this, 12, 0.0)
);
};
/**
* @param {number} value
* @return {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} returns this
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.setRateCasinoDragonTiger =
function (value) {
return jspb.Message.setProto3FloatField(this, 12, value);
};
/**
* optional double rate_slot = 13;
* @return {number}
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.getRateSlot =
function () {
return /** @type {number} */ (
jspb.Message.getFloatingPointFieldWithDefault(this, 13, 0.0)
);
};
/**
* @param {number} value
* @return {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} returns this
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.setRateSlot =
function (value) {
return jspb.Message.setProto3FloatField(this, 13, value);
};
/**
* optional double rate_slot_loosing = 14;
* @return {number}
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.getRateSlotLoosing =
function () {
return /** @type {number} */ (
jspb.Message.getFloatingPointFieldWithDefault(this, 14, 0.0)
);
};
/**
* @param {number} value
* @return {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} returns this
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.setRateSlotLoosing =
function (value) {
return jspb.Message.setProto3FloatField(this, 14, value);
};
/**
* optional double rate_powerball_single = 15;
* @return {number}
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.getRatePowerballSingle =
function () {
return /** @type {number} */ (
jspb.Message.getFloatingPointFieldWithDefault(this, 15, 0.0)
);
};
/**
* @param {number} value
* @return {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} returns this
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.setRatePowerballSingle =
function (value) {
return jspb.Message.setProto3FloatField(this, 15, value);
};
/**
* optional double rate_powerball_combo = 16;
* @return {number}
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.getRatePowerballCombo =
function () {
return /** @type {number} */ (
jspb.Message.getFloatingPointFieldWithDefault(this, 16, 0.0)
);
};
/**
* @param {number} value
* @return {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} returns this
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.setRatePowerballCombo =
function (value) {
return jspb.Message.setProto3FloatField(this, 16, value);
};
/**
* optional double rate_powerladder_single = 17;
* @return {number}
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.getRatePowerladderSingle =
function () {
return /** @type {number} */ (
jspb.Message.getFloatingPointFieldWithDefault(this, 17, 0.0)
);
};
/**
* @param {number} value
* @return {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} returns this
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.setRatePowerladderSingle =
function (value) {
return jspb.Message.setProto3FloatField(this, 17, value);
};
/**
* optional double rate_powerladder_combo = 18;
* @return {number}
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.getRatePowerladderCombo =
function () {
return /** @type {number} */ (
jspb.Message.getFloatingPointFieldWithDefault(this, 18, 0.0)
);
};
/**
* @param {number} value
* @return {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} returns this
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.setRatePowerladderCombo =
function (value) {
return jspb.Message.setProto3FloatField(this, 18, value);
};
/**
* optional double rate_eos_single = 19;
* @return {number}
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.getRateEosSingle =
function () {
return /** @type {number} */ (
jspb.Message.getFloatingPointFieldWithDefault(this, 19, 0.0)
);
};
/**
* @param {number} value
* @return {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} returns this
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.setRateEosSingle =
function (value) {
return jspb.Message.setProto3FloatField(this, 19, value);
};
/**
* optional double rate_eos_combo = 20;
* @return {number}
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.getRateEosCombo =
function () {
return /** @type {number} */ (
jspb.Message.getFloatingPointFieldWithDefault(this, 20, 0.0)
);
};
/**
* @param {number} value
* @return {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} returns this
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.setRateEosCombo =
function (value) {
return jspb.Message.setProto3FloatField(this, 20, value);
};
/**
* optional double rate_bogglepowerball_single = 21;
* @return {number}
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.getRateBogglepowerballSingle =
function () {
return /** @type {number} */ (
jspb.Message.getFloatingPointFieldWithDefault(this, 21, 0.0)
);
};
/**
* @param {number} value
* @return {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} returns this
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.setRateBogglepowerballSingle =
function (value) {
return jspb.Message.setProto3FloatField(this, 21, value);
};
/**
* optional double rate_bogglepowerball_combo = 22;
* @return {number}
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.getRateBogglepowerballCombo =
function () {
return /** @type {number} */ (
jspb.Message.getFloatingPointFieldWithDefault(this, 22, 0.0)
);
};
/**
* @param {number} value
* @return {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} returns this
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.setRateBogglepowerballCombo =
function (value) {
return jspb.Message.setProto3FloatField(this, 22, value);
};
/**
* optional uint64 created_at = 23;
* @return {number}
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.getCreatedAt =
function () {
return /** @type {number} */ (
jspb.Message.getFieldWithDefault(this, 23, 0)
);
};
/**
* @param {number} value
* @return {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} returns this
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.setCreatedAt =
function (value) {
return jspb.Message.setProto3IntField(this, 23, value);
};
/**
* optional uint64 updated_at = 24;
* @return {number}
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.getUpdatedAt =
function () {
return /** @type {number} */ (
jspb.Message.getFieldWithDefault(this, 24, 0)
);
};
/**
* @param {number} value
* @return {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} returns this
*/
proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.setUpdatedAt =
function (value) {
return jspb.Message.setProto3IntField(this, 24, value);
};
/**
* @enum {number}
*/
proto.bet.beteran.member_settlement_setting.SettlementType = {
ST_NONE: 0,
ROLLING: 1,
LOOSING: 2,
};
/**
* @enum {number}
*/
proto.bet.beteran.member_settlement_setting.ManualPaymentType = {
MPT_NONE: 0,
DISABLE: 1,
ALL_CHILD_PARTNER: 2,
ONLY_DIRECT_PARTNER: 3,
};
goog.object.extend(exports, proto.bet.beteran.member_settlement_setting);