betting is added
This commit is contained in:
parent
2148c97fb9
commit
c3c6da5e86
49
src/app/modules/polyglot/api/services/betting.service.ts
Normal file
49
src/app/modules/polyglot/api/services/betting.service.ts
Normal file
|
@ -0,0 +1,49 @@
|
|||
import { Injectable } from '@angular/core';
|
||||
import { NatsService } from 'app/core/nats/services/nats.service';
|
||||
|
||||
import { Error } from 'app/modules/proto/protobuf/rpc_pb';
|
||||
|
||||
import {
|
||||
ListBettingHistoryRequest,
|
||||
ListBettingHistoryResponse,
|
||||
} from 'app/modules/proto/c2se/api/betting_pb';
|
||||
import { SUBJECT_LIST_BETTING_HISTORY } from 'app/modules/proto/c2se/backend/api/betting_pb';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
||||
})
|
||||
export class BettingService {
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
constructor(private __natsService: NatsService) {}
|
||||
|
||||
// -----------------------------------------------------------------------------------------------------
|
||||
// @ Accessors
|
||||
// -----------------------------------------------------------------------------------------------------
|
||||
|
||||
// -----------------------------------------------------------------------------------------------------
|
||||
// @ Public methods
|
||||
// -----------------------------------------------------------------------------------------------------
|
||||
|
||||
listVendors(
|
||||
req: ListBettingHistoryRequest
|
||||
): Promise<ListBettingHistoryResponse.Result> {
|
||||
return new Promise<ListBettingHistoryResponse.Result>((resolve, reject) => {
|
||||
this.__natsService
|
||||
.request<ListBettingHistoryResponse.Result>(
|
||||
SUBJECT_LIST_BETTING_HISTORY,
|
||||
req.serializeBinary(),
|
||||
ListBettingHistoryResponse.deserializeBinary
|
||||
)
|
||||
.then((result) => {
|
||||
console.log('success', result);
|
||||
return resolve(result);
|
||||
})
|
||||
.catch((e: Error) => {
|
||||
console.log('failed', e);
|
||||
reject(e);
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
|
@ -2,5 +2,10 @@ import { Type } from '@angular/core';
|
|||
|
||||
import { VendorService } from './vendor.service';
|
||||
import { GameService } from './game.service';
|
||||
import { BettingService } from './betting.service';
|
||||
|
||||
export const SERVICES: Type<any>[] = [VendorService, GameService];
|
||||
export const SERVICES: Type<any>[] = [
|
||||
VendorService,
|
||||
GameService,
|
||||
BettingService,
|
||||
];
|
||||
|
|
334
src/app/modules/proto/c2se/api/betting_pb.d.ts
vendored
Normal file
334
src/app/modules/proto/c2se/api/betting_pb.d.ts
vendored
Normal file
|
@ -0,0 +1,334 @@
|
|||
// package: bet.beteran.c2se.api.betting
|
||||
// file: c2se/api/betting.proto
|
||||
|
||||
import * as jspb from 'google-protobuf';
|
||||
import * as protobuf_rpc_pb from '../../protobuf/rpc_pb';
|
||||
import * as protobuf_pagination_pb from '../../protobuf/pagination_pb';
|
||||
import * as models_core_network_pb from '../../models/core/network_pb';
|
||||
import * as models_api_betting_pb from '../../models/api/betting_pb';
|
||||
|
||||
export class ListBettingHistoryRequest extends jspb.Message {
|
||||
hasPagination(): boolean;
|
||||
clearPagination(): void;
|
||||
getPagination(): protobuf_pagination_pb.Pagination | undefined;
|
||||
setPagination(value?: protobuf_pagination_pb.Pagination): void;
|
||||
|
||||
clearSortsList(): void;
|
||||
getSortsList(): Array<protobuf_pagination_pb.Sort>;
|
||||
setSortsList(value: Array<protobuf_pagination_pb.Sort>): void;
|
||||
addSorts(
|
||||
value?: protobuf_pagination_pb.Sort,
|
||||
index?: number
|
||||
): protobuf_pagination_pb.Sort;
|
||||
|
||||
hasSearch(): boolean;
|
||||
clearSearch(): void;
|
||||
getSearch(): ListBettingHistoryRequest.Search | undefined;
|
||||
setSearch(value?: ListBettingHistoryRequest.Search): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListBettingHistoryRequest.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: ListBettingHistoryRequest
|
||||
): ListBettingHistoryRequest.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: ListBettingHistoryRequest,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListBettingHistoryRequest;
|
||||
static deserializeBinaryFromReader(
|
||||
message: ListBettingHistoryRequest,
|
||||
reader: jspb.BinaryReader
|
||||
): ListBettingHistoryRequest;
|
||||
}
|
||||
|
||||
export namespace ListBettingHistoryRequest {
|
||||
export type AsObject = {
|
||||
pagination?: protobuf_pagination_pb.Pagination.AsObject;
|
||||
sortsList: Array<protobuf_pagination_pb.Sort.AsObject>;
|
||||
search?: ListBettingHistoryRequest.Search.AsObject;
|
||||
};
|
||||
|
||||
export class Search extends jspb.Message {
|
||||
hasMemberId(): boolean;
|
||||
clearMemberId(): void;
|
||||
getMemberId(): string;
|
||||
setMemberId(value: string): void;
|
||||
|
||||
hasVendorId(): boolean;
|
||||
clearVendorId(): void;
|
||||
getVendorId(): number;
|
||||
setVendorId(value: number): void;
|
||||
|
||||
hasVendorName(): boolean;
|
||||
clearVendorName(): void;
|
||||
getVendorName(): string;
|
||||
setVendorName(value: string): void;
|
||||
|
||||
hasVendorNameLike(): boolean;
|
||||
clearVendorNameLike(): void;
|
||||
getVendorNameLike(): string;
|
||||
setVendorNameLike(value: string): void;
|
||||
|
||||
hasGameId(): boolean;
|
||||
clearGameId(): void;
|
||||
getGameId(): number;
|
||||
setGameId(value: number): void;
|
||||
|
||||
hasGameName(): boolean;
|
||||
clearGameName(): void;
|
||||
getGameName(): string;
|
||||
setGameName(value: string): void;
|
||||
|
||||
hasGameNameLike(): boolean;
|
||||
clearGameNameLike(): void;
|
||||
getGameNameLike(): string;
|
||||
setGameNameLike(value: string): void;
|
||||
|
||||
hasGameCategory(): boolean;
|
||||
clearGameCategory(): void;
|
||||
getGameCategory(): string;
|
||||
setGameCategory(value: string): void;
|
||||
|
||||
hasGameCategoryLike(): boolean;
|
||||
clearGameCategoryLike(): void;
|
||||
getGameCategoryLike(): string;
|
||||
setGameCategoryLike(value: string): void;
|
||||
|
||||
hasGameType(): boolean;
|
||||
clearGameType(): void;
|
||||
getGameType(): string;
|
||||
setGameType(value: string): void;
|
||||
|
||||
hasGameTypeLike(): boolean;
|
||||
clearGameTypeLike(): void;
|
||||
getGameTypeLike(): string;
|
||||
setGameTypeLike(value: string): void;
|
||||
|
||||
hasCurrency(): boolean;
|
||||
clearCurrency(): void;
|
||||
getCurrency(): string;
|
||||
setCurrency(value: string): void;
|
||||
|
||||
hasCurrencyLike(): boolean;
|
||||
clearCurrencyLike(): void;
|
||||
getCurrencyLike(): string;
|
||||
setCurrencyLike(value: string): void;
|
||||
|
||||
hasKey(): boolean;
|
||||
clearKey(): void;
|
||||
getKey(): string;
|
||||
setKey(value: string): void;
|
||||
|
||||
hasKeyLike(): boolean;
|
||||
clearKeyLike(): void;
|
||||
getKeyLike(): string;
|
||||
setKeyLike(value: string): void;
|
||||
|
||||
hasRefId(): boolean;
|
||||
clearRefId(): void;
|
||||
getRefId(): string;
|
||||
setRefId(value: string): void;
|
||||
|
||||
hasRefIdLike(): boolean;
|
||||
clearRefIdLike(): void;
|
||||
getRefIdLike(): string;
|
||||
setRefIdLike(value: string): void;
|
||||
|
||||
hasORefId(): boolean;
|
||||
clearORefId(): void;
|
||||
getORefId(): string;
|
||||
setORefId(value: string): void;
|
||||
|
||||
hasORefIdLike(): boolean;
|
||||
clearORefIdLike(): void;
|
||||
getORefIdLike(): string;
|
||||
setORefIdLike(value: string): void;
|
||||
|
||||
hasGroupKey(): boolean;
|
||||
clearGroupKey(): void;
|
||||
getGroupKey(): string;
|
||||
setGroupKey(value: string): void;
|
||||
|
||||
hasGroupKeyLike(): boolean;
|
||||
clearGroupKeyLike(): void;
|
||||
getGroupKeyLike(): string;
|
||||
setGroupKeyLike(value: string): void;
|
||||
|
||||
hasIsBonus(): boolean;
|
||||
clearIsBonus(): void;
|
||||
getIsBonus(): boolean;
|
||||
setIsBonus(value: boolean): void;
|
||||
|
||||
hasIsPromo(): boolean;
|
||||
clearIsPromo(): void;
|
||||
getIsPromo(): boolean;
|
||||
setIsPromo(value: boolean): void;
|
||||
|
||||
hasIsJackpot(): boolean;
|
||||
clearIsJackpot(): void;
|
||||
getIsJackpot(): boolean;
|
||||
setIsJackpot(value: boolean): void;
|
||||
|
||||
hasSiteUsername(): boolean;
|
||||
clearSiteUsername(): void;
|
||||
getSiteUsername(): string;
|
||||
setSiteUsername(value: string): void;
|
||||
|
||||
hasSiteUsernameLike(): boolean;
|
||||
clearSiteUsernameLike(): void;
|
||||
getSiteUsernameLike(): string;
|
||||
setSiteUsernameLike(value: string): void;
|
||||
|
||||
hasBettingType(): boolean;
|
||||
clearBettingType(): void;
|
||||
getBettingType(): string;
|
||||
setBettingType(value: string): void;
|
||||
|
||||
hasBettingTypeLike(): boolean;
|
||||
clearBettingTypeLike(): void;
|
||||
getBettingTypeLike(): string;
|
||||
setBettingTypeLike(value: string): void;
|
||||
|
||||
hasCategory(): boolean;
|
||||
clearCategory(): void;
|
||||
getCategory(): string;
|
||||
setCategory(value: string): void;
|
||||
|
||||
hasCategoryLike(): boolean;
|
||||
clearCategoryLike(): void;
|
||||
getCategoryLike(): string;
|
||||
setCategoryLike(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Search.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Search): Search.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: Search,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Search;
|
||||
static deserializeBinaryFromReader(
|
||||
message: Search,
|
||||
reader: jspb.BinaryReader
|
||||
): Search;
|
||||
}
|
||||
|
||||
export namespace Search {
|
||||
export type AsObject = {
|
||||
memberId: string;
|
||||
vendorId: number;
|
||||
vendorName: string;
|
||||
vendorNameLike: string;
|
||||
gameId: number;
|
||||
gameName: string;
|
||||
gameNameLike: string;
|
||||
gameCategory: string;
|
||||
gameCategoryLike: string;
|
||||
gameType: string;
|
||||
gameTypeLike: string;
|
||||
currency: string;
|
||||
currencyLike: string;
|
||||
key: string;
|
||||
keyLike: string;
|
||||
refId: string;
|
||||
refIdLike: string;
|
||||
oRefId: string;
|
||||
oRefIdLike: string;
|
||||
groupKey: string;
|
||||
groupKeyLike: string;
|
||||
isBonus: boolean;
|
||||
isPromo: boolean;
|
||||
isJackpot: boolean;
|
||||
siteUsername: string;
|
||||
siteUsernameLike: string;
|
||||
bettingType: string;
|
||||
bettingTypeLike: string;
|
||||
category: string;
|
||||
categoryLike: string;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
export class ListBettingHistoryResponse extends jspb.Message {
|
||||
hasError(): boolean;
|
||||
clearError(): void;
|
||||
getError(): protobuf_rpc_pb.Error | undefined;
|
||||
setError(value?: protobuf_rpc_pb.Error): void;
|
||||
|
||||
hasResult(): boolean;
|
||||
clearResult(): void;
|
||||
getResult(): ListBettingHistoryResponse.Result | undefined;
|
||||
setResult(value?: ListBettingHistoryResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListBettingHistoryResponse.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: ListBettingHistoryResponse
|
||||
): ListBettingHistoryResponse.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: ListBettingHistoryResponse,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListBettingHistoryResponse;
|
||||
static deserializeBinaryFromReader(
|
||||
message: ListBettingHistoryResponse,
|
||||
reader: jspb.BinaryReader
|
||||
): ListBettingHistoryResponse;
|
||||
}
|
||||
|
||||
export namespace ListBettingHistoryResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject;
|
||||
result?: ListBettingHistoryResponse.Result.AsObject;
|
||||
};
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
clearBettingHistoryList(): void;
|
||||
getBettingHistoryList(): Array<models_api_betting_pb.BettingHistoryModel>;
|
||||
setBettingHistoryList(
|
||||
value: Array<models_api_betting_pb.BettingHistoryModel>
|
||||
): void;
|
||||
addBettingHistory(
|
||||
value?: models_api_betting_pb.BettingHistoryModel,
|
||||
index?: number
|
||||
): models_api_betting_pb.BettingHistoryModel;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Result.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Result): Result.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: Result,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Result;
|
||||
static deserializeBinaryFromReader(
|
||||
message: Result,
|
||||
reader: jspb.BinaryReader
|
||||
): Result;
|
||||
}
|
||||
|
||||
export namespace Result {
|
||||
export type AsObject = {
|
||||
bettingHistoryList: Array<models_api_betting_pb.BettingHistoryModel.AsObject>;
|
||||
};
|
||||
}
|
||||
}
|
2408
src/app/modules/proto/c2se/api/betting_pb.js
Normal file
2408
src/app/modules/proto/c2se/api/betting_pb.js
Normal file
File diff suppressed because it is too large
Load Diff
6
src/app/modules/proto/c2se/backend/api/betting_pb.d.ts
vendored
Normal file
6
src/app/modules/proto/c2se/backend/api/betting_pb.d.ts
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
// package: bet.beteran.c2se.backend.api.betting
|
||||
// file: c2se/backend/api/betting.proto
|
||||
|
||||
import * as jspb from 'google-protobuf';
|
||||
|
||||
export const SUBJECT_LIST_BETTING_HISTORY: string;
|
27
src/app/modules/proto/c2se/backend/api/betting_pb.js
Normal file
27
src/app/modules/proto/c2se/backend/api/betting_pb.js
Normal file
|
@ -0,0 +1,27 @@
|
|||
// source: c2se/backend/api/betting.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.api.betting", null, global);
|
||||
|
||||
proto.bet.beteran.c2se.backend.api.betting = {};
|
||||
|
||||
proto.bet.beteran.c2se.backend.api.betting.SUBJECT_LIST_BETTING_HISTORY =
|
||||
"bet.beteran.c2se.backend.api.betting.ListBettingHistory";
|
||||
|
||||
goog.object.extend(exports, proto.bet.beteran.c2se.backend.api.betting);
|
253
src/app/modules/proto/models/api/betting_pb.d.ts
vendored
Normal file
253
src/app/modules/proto/models/api/betting_pb.d.ts
vendored
Normal file
|
@ -0,0 +1,253 @@
|
|||
// package: bet.beteran.api.betting
|
||||
// file: models/api/betting.proto
|
||||
|
||||
import * as jspb from 'google-protobuf';
|
||||
import * as models_member_pb from '../../models/member_pb';
|
||||
|
||||
export class BettingHistory extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
getVendorId(): number;
|
||||
setVendorId(value: number): void;
|
||||
|
||||
getVendorName(): string;
|
||||
setVendorName(value: string): void;
|
||||
|
||||
getGameId(): number;
|
||||
setGameId(value: number): void;
|
||||
|
||||
getGameName(): string;
|
||||
setGameName(value: string): void;
|
||||
|
||||
getGameCategory(): string;
|
||||
setGameCategory(value: string): void;
|
||||
|
||||
getGameType(): string;
|
||||
setGameType(value: string): void;
|
||||
|
||||
getCurrency(): string;
|
||||
setCurrency(value: string): void;
|
||||
|
||||
getCash(): number;
|
||||
setCash(value: number): void;
|
||||
|
||||
getBeforeCash(): number;
|
||||
setBeforeCash(value: number): void;
|
||||
|
||||
getAfterCash(): number;
|
||||
setAfterCash(value: number): void;
|
||||
|
||||
getKey(): string;
|
||||
setKey(value: string): void;
|
||||
|
||||
getRefId(): string;
|
||||
setRefId(value: string): void;
|
||||
|
||||
getORefId(): string;
|
||||
setORefId(value: string): void;
|
||||
|
||||
hasGroupKey(): boolean;
|
||||
clearGroupKey(): void;
|
||||
getGroupKey(): string;
|
||||
setGroupKey(value: string): void;
|
||||
|
||||
getIsBonus(): boolean;
|
||||
setIsBonus(value: boolean): void;
|
||||
|
||||
getIsPromo(): boolean;
|
||||
setIsPromo(value: boolean): void;
|
||||
|
||||
getIsJackpot(): boolean;
|
||||
setIsJackpot(value: boolean): void;
|
||||
|
||||
getSiteUsername(): string;
|
||||
setSiteUsername(value: string): void;
|
||||
|
||||
getBettingType(): string;
|
||||
setBettingType(value: string): void;
|
||||
|
||||
getCategory(): string;
|
||||
setCategory(value: string): void;
|
||||
|
||||
getCreatedAt(): number;
|
||||
setCreatedAt(value: number): void;
|
||||
|
||||
getUtcCreatedAt(): number;
|
||||
setUtcCreatedAt(value: number): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): BettingHistory.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: BettingHistory
|
||||
): BettingHistory.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: BettingHistory,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): BettingHistory;
|
||||
static deserializeBinaryFromReader(
|
||||
message: BettingHistory,
|
||||
reader: jspb.BinaryReader
|
||||
): BettingHistory;
|
||||
}
|
||||
|
||||
export namespace BettingHistory {
|
||||
export type AsObject = {
|
||||
id: string;
|
||||
vendorId: number;
|
||||
vendorName: string;
|
||||
gameId: number;
|
||||
gameName: string;
|
||||
gameCategory: string;
|
||||
gameType: string;
|
||||
currency: string;
|
||||
cash: number;
|
||||
beforeCash: number;
|
||||
afterCash: number;
|
||||
key: string;
|
||||
refId: string;
|
||||
oRefId: string;
|
||||
groupKey: string;
|
||||
isBonus: boolean;
|
||||
isPromo: boolean;
|
||||
isJackpot: boolean;
|
||||
siteUsername: string;
|
||||
bettingType: string;
|
||||
category: string;
|
||||
createdAt: number;
|
||||
utcCreatedAt: number;
|
||||
};
|
||||
}
|
||||
|
||||
export class BettingHistoryModel extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
hasMember(): boolean;
|
||||
clearMember(): void;
|
||||
getMember(): models_member_pb.Member | undefined;
|
||||
setMember(value?: models_member_pb.Member): void;
|
||||
|
||||
getVendorId(): number;
|
||||
setVendorId(value: number): void;
|
||||
|
||||
getVendorName(): string;
|
||||
setVendorName(value: string): void;
|
||||
|
||||
getGameId(): number;
|
||||
setGameId(value: number): void;
|
||||
|
||||
getGameName(): string;
|
||||
setGameName(value: string): void;
|
||||
|
||||
getGameCategory(): string;
|
||||
setGameCategory(value: string): void;
|
||||
|
||||
getGameType(): string;
|
||||
setGameType(value: string): void;
|
||||
|
||||
getCurrency(): string;
|
||||
setCurrency(value: string): void;
|
||||
|
||||
getCash(): number;
|
||||
setCash(value: number): void;
|
||||
|
||||
getBeforeCash(): number;
|
||||
setBeforeCash(value: number): void;
|
||||
|
||||
getAfterCash(): number;
|
||||
setAfterCash(value: number): void;
|
||||
|
||||
getKey(): string;
|
||||
setKey(value: string): void;
|
||||
|
||||
getRefId(): string;
|
||||
setRefId(value: string): void;
|
||||
|
||||
getORefId(): string;
|
||||
setORefId(value: string): void;
|
||||
|
||||
hasGroupKey(): boolean;
|
||||
clearGroupKey(): void;
|
||||
getGroupKey(): string;
|
||||
setGroupKey(value: string): void;
|
||||
|
||||
getIsBonus(): boolean;
|
||||
setIsBonus(value: boolean): void;
|
||||
|
||||
getIsPromo(): boolean;
|
||||
setIsPromo(value: boolean): void;
|
||||
|
||||
getIsJackpot(): boolean;
|
||||
setIsJackpot(value: boolean): void;
|
||||
|
||||
getSiteUsername(): string;
|
||||
setSiteUsername(value: string): void;
|
||||
|
||||
getBettingType(): string;
|
||||
setBettingType(value: string): void;
|
||||
|
||||
getCategory(): string;
|
||||
setCategory(value: string): void;
|
||||
|
||||
getCreatedAt(): number;
|
||||
setCreatedAt(value: number): void;
|
||||
|
||||
getUtcCreatedAt(): number;
|
||||
setUtcCreatedAt(value: number): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): BettingHistoryModel.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: BettingHistoryModel
|
||||
): BettingHistoryModel.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: BettingHistoryModel,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): BettingHistoryModel;
|
||||
static deserializeBinaryFromReader(
|
||||
message: BettingHistoryModel,
|
||||
reader: jspb.BinaryReader
|
||||
): BettingHistoryModel;
|
||||
}
|
||||
|
||||
export namespace BettingHistoryModel {
|
||||
export type AsObject = {
|
||||
id: string;
|
||||
member?: models_member_pb.Member.AsObject;
|
||||
vendorId: number;
|
||||
vendorName: string;
|
||||
gameId: number;
|
||||
gameName: string;
|
||||
gameCategory: string;
|
||||
gameType: string;
|
||||
currency: string;
|
||||
cash: number;
|
||||
beforeCash: number;
|
||||
afterCash: number;
|
||||
key: string;
|
||||
refId: string;
|
||||
oRefId: string;
|
||||
groupKey: string;
|
||||
isBonus: boolean;
|
||||
isPromo: boolean;
|
||||
isJackpot: boolean;
|
||||
siteUsername: string;
|
||||
bettingType: string;
|
||||
category: string;
|
||||
createdAt: number;
|
||||
utcCreatedAt: number;
|
||||
};
|
||||
}
|
1719
src/app/modules/proto/models/api/betting_pb.js
Normal file
1719
src/app/modules/proto/models/api/betting_pb.js
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user