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:
commit
69139aebb9
|
@ -1,10 +1,10 @@
|
|||
// package: bet.beteran.c2se.member_bank_account
|
||||
// file: c2se/member_bank_account.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_bank_account_pb from "../models/member_bank_account_pb";
|
||||
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_bank_account_pb from '../models/member_bank_account_pb';
|
||||
|
||||
export class CreateMemberBankAccountRequest extends jspb.Message {
|
||||
getMemberId(): string;
|
||||
|
@ -19,6 +19,9 @@ export class CreateMemberBankAccountRequest extends jspb.Message {
|
|||
getAccountNumber(): string;
|
||||
setAccountNumber(value: string): void;
|
||||
|
||||
getExchangePassword(): string;
|
||||
setExchangePassword(value: string): void;
|
||||
|
||||
hasMemo(): boolean;
|
||||
clearMemo(): void;
|
||||
getMemo(): string;
|
||||
|
@ -26,22 +29,34 @@ export class CreateMemberBankAccountRequest extends jspb.Message {
|
|||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CreateMemberBankAccountRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CreateMemberBankAccountRequest): CreateMemberBankAccountRequest.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: CreateMemberBankAccountRequest
|
||||
): CreateMemberBankAccountRequest.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: CreateMemberBankAccountRequest, writer: jspb.BinaryWriter): void;
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: CreateMemberBankAccountRequest,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): CreateMemberBankAccountRequest;
|
||||
static deserializeBinaryFromReader(message: CreateMemberBankAccountRequest, reader: jspb.BinaryReader): CreateMemberBankAccountRequest;
|
||||
static deserializeBinaryFromReader(
|
||||
message: CreateMemberBankAccountRequest,
|
||||
reader: jspb.BinaryReader
|
||||
): CreateMemberBankAccountRequest;
|
||||
}
|
||||
|
||||
export namespace CreateMemberBankAccountRequest {
|
||||
export type AsObject = {
|
||||
memberId: string,
|
||||
bankId: string,
|
||||
name: string,
|
||||
accountNumber: string,
|
||||
memo: string,
|
||||
}
|
||||
memberId: string;
|
||||
bankId: string;
|
||||
name: string;
|
||||
accountNumber: string;
|
||||
exchangePassword: string;
|
||||
memo: string;
|
||||
};
|
||||
}
|
||||
|
||||
export class CreateMemberBankAccountResponse extends jspb.Message {
|
||||
|
@ -57,40 +72,63 @@ export class CreateMemberBankAccountResponse extends jspb.Message {
|
|||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CreateMemberBankAccountResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CreateMemberBankAccountResponse): CreateMemberBankAccountResponse.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: CreateMemberBankAccountResponse
|
||||
): CreateMemberBankAccountResponse.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: CreateMemberBankAccountResponse, writer: jspb.BinaryWriter): void;
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: CreateMemberBankAccountResponse,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): CreateMemberBankAccountResponse;
|
||||
static deserializeBinaryFromReader(message: CreateMemberBankAccountResponse, reader: jspb.BinaryReader): CreateMemberBankAccountResponse;
|
||||
static deserializeBinaryFromReader(
|
||||
message: CreateMemberBankAccountResponse,
|
||||
reader: jspb.BinaryReader
|
||||
): CreateMemberBankAccountResponse;
|
||||
}
|
||||
|
||||
export namespace CreateMemberBankAccountResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject,
|
||||
result?: CreateMemberBankAccountResponse.Result.AsObject,
|
||||
}
|
||||
error?: protobuf_rpc_pb.Error.AsObject;
|
||||
result?: CreateMemberBankAccountResponse.Result.AsObject;
|
||||
};
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
hasMemberBankAccount(): boolean;
|
||||
clearMemberBankAccount(): void;
|
||||
getMemberBankAccount(): models_member_bank_account_pb.MemberBankAccount | undefined;
|
||||
setMemberBankAccount(value?: models_member_bank_account_pb.MemberBankAccount): void;
|
||||
getMemberBankAccount():
|
||||
| models_member_bank_account_pb.MemberBankAccount
|
||||
| undefined;
|
||||
setMemberBankAccount(
|
||||
value?: models_member_bank_account_pb.MemberBankAccount
|
||||
): 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 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;
|
||||
static deserializeBinaryFromReader(
|
||||
message: Result,
|
||||
reader: jspb.BinaryReader
|
||||
): Result;
|
||||
}
|
||||
|
||||
export namespace Result {
|
||||
export type AsObject = {
|
||||
memberBankAccount?: models_member_bank_account_pb.MemberBankAccount.AsObject,
|
||||
}
|
||||
memberBankAccount?: models_member_bank_account_pb.MemberBankAccount.AsObject;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -103,7 +141,10 @@ export class ListMemberBankAccountsRequest extends jspb.Message {
|
|||
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;
|
||||
addSorts(
|
||||
value?: protobuf_pagination_pb.Sort,
|
||||
index?: number
|
||||
): protobuf_pagination_pb.Sort;
|
||||
|
||||
hasSearch(): boolean;
|
||||
clearSearch(): void;
|
||||
|
@ -112,20 +153,31 @@ export class ListMemberBankAccountsRequest extends jspb.Message {
|
|||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListMemberBankAccountsRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListMemberBankAccountsRequest): ListMemberBankAccountsRequest.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: ListMemberBankAccountsRequest
|
||||
): ListMemberBankAccountsRequest.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ListMemberBankAccountsRequest, writer: jspb.BinaryWriter): void;
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: ListMemberBankAccountsRequest,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListMemberBankAccountsRequest;
|
||||
static deserializeBinaryFromReader(message: ListMemberBankAccountsRequest, reader: jspb.BinaryReader): ListMemberBankAccountsRequest;
|
||||
static deserializeBinaryFromReader(
|
||||
message: ListMemberBankAccountsRequest,
|
||||
reader: jspb.BinaryReader
|
||||
): ListMemberBankAccountsRequest;
|
||||
}
|
||||
|
||||
export namespace ListMemberBankAccountsRequest {
|
||||
export type AsObject = {
|
||||
pagination?: protobuf_pagination_pb.Pagination.AsObject,
|
||||
sortsList: Array<protobuf_pagination_pb.Sort.AsObject>,
|
||||
search?: ListMemberBankAccountsRequest.Search.AsObject,
|
||||
}
|
||||
pagination?: protobuf_pagination_pb.Pagination.AsObject;
|
||||
sortsList: Array<protobuf_pagination_pb.Sort.AsObject>;
|
||||
search?: ListMemberBankAccountsRequest.Search.AsObject;
|
||||
};
|
||||
|
||||
export class Search extends jspb.Message {
|
||||
hasMemberId(): boolean;
|
||||
|
@ -157,20 +209,28 @@ export namespace ListMemberBankAccountsRequest {
|
|||
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 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;
|
||||
static deserializeBinaryFromReader(
|
||||
message: Search,
|
||||
reader: jspb.BinaryReader
|
||||
): Search;
|
||||
}
|
||||
|
||||
export namespace Search {
|
||||
export type AsObject = {
|
||||
memberId: string,
|
||||
bankId: string,
|
||||
nameLike: string,
|
||||
accountNumberLike: string,
|
||||
memoLike: string,
|
||||
}
|
||||
memberId: string;
|
||||
bankId: string;
|
||||
nameLike: string;
|
||||
accountNumberLike: string;
|
||||
memoLike: string;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -187,40 +247,64 @@ export class ListMemberBankAccountsResponse extends jspb.Message {
|
|||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListMemberBankAccountsResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListMemberBankAccountsResponse): ListMemberBankAccountsResponse.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: ListMemberBankAccountsResponse
|
||||
): ListMemberBankAccountsResponse.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ListMemberBankAccountsResponse, writer: jspb.BinaryWriter): void;
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: ListMemberBankAccountsResponse,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListMemberBankAccountsResponse;
|
||||
static deserializeBinaryFromReader(message: ListMemberBankAccountsResponse, reader: jspb.BinaryReader): ListMemberBankAccountsResponse;
|
||||
static deserializeBinaryFromReader(
|
||||
message: ListMemberBankAccountsResponse,
|
||||
reader: jspb.BinaryReader
|
||||
): ListMemberBankAccountsResponse;
|
||||
}
|
||||
|
||||
export namespace ListMemberBankAccountsResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject,
|
||||
result?: ListMemberBankAccountsResponse.Result.AsObject,
|
||||
}
|
||||
error?: protobuf_rpc_pb.Error.AsObject;
|
||||
result?: ListMemberBankAccountsResponse.Result.AsObject;
|
||||
};
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
clearMemberBankAccountsList(): void;
|
||||
getMemberBankAccountsList(): Array<models_member_bank_account_pb.MemberBankAccount>;
|
||||
setMemberBankAccountsList(value: Array<models_member_bank_account_pb.MemberBankAccount>): void;
|
||||
addMemberBankAccounts(value?: models_member_bank_account_pb.MemberBankAccount, index?: number): models_member_bank_account_pb.MemberBankAccount;
|
||||
setMemberBankAccountsList(
|
||||
value: Array<models_member_bank_account_pb.MemberBankAccount>
|
||||
): void;
|
||||
addMemberBankAccounts(
|
||||
value?: models_member_bank_account_pb.MemberBankAccount,
|
||||
index?: number
|
||||
): models_member_bank_account_pb.MemberBankAccount;
|
||||
|
||||
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 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;
|
||||
static deserializeBinaryFromReader(
|
||||
message: Result,
|
||||
reader: jspb.BinaryReader
|
||||
): Result;
|
||||
}
|
||||
|
||||
export namespace Result {
|
||||
export type AsObject = {
|
||||
memberBankAccountsList: Array<models_member_bank_account_pb.MemberBankAccount.AsObject>,
|
||||
}
|
||||
memberBankAccountsList: Array<models_member_bank_account_pb.MemberBankAccount.AsObject>;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -230,18 +314,29 @@ export class GetMemberBankAccountRequest extends jspb.Message {
|
|||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetMemberBankAccountRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetMemberBankAccountRequest): GetMemberBankAccountRequest.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: GetMemberBankAccountRequest
|
||||
): GetMemberBankAccountRequest.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GetMemberBankAccountRequest, writer: jspb.BinaryWriter): void;
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: GetMemberBankAccountRequest,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetMemberBankAccountRequest;
|
||||
static deserializeBinaryFromReader(message: GetMemberBankAccountRequest, reader: jspb.BinaryReader): GetMemberBankAccountRequest;
|
||||
static deserializeBinaryFromReader(
|
||||
message: GetMemberBankAccountRequest,
|
||||
reader: jspb.BinaryReader
|
||||
): GetMemberBankAccountRequest;
|
||||
}
|
||||
|
||||
export namespace GetMemberBankAccountRequest {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
}
|
||||
id: string;
|
||||
};
|
||||
}
|
||||
|
||||
export class GetMemberBankAccountResponse extends jspb.Message {
|
||||
|
@ -257,40 +352,63 @@ export class GetMemberBankAccountResponse extends jspb.Message {
|
|||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetMemberBankAccountResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetMemberBankAccountResponse): GetMemberBankAccountResponse.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: GetMemberBankAccountResponse
|
||||
): GetMemberBankAccountResponse.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GetMemberBankAccountResponse, writer: jspb.BinaryWriter): void;
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: GetMemberBankAccountResponse,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetMemberBankAccountResponse;
|
||||
static deserializeBinaryFromReader(message: GetMemberBankAccountResponse, reader: jspb.BinaryReader): GetMemberBankAccountResponse;
|
||||
static deserializeBinaryFromReader(
|
||||
message: GetMemberBankAccountResponse,
|
||||
reader: jspb.BinaryReader
|
||||
): GetMemberBankAccountResponse;
|
||||
}
|
||||
|
||||
export namespace GetMemberBankAccountResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject,
|
||||
result?: GetMemberBankAccountResponse.Result.AsObject,
|
||||
}
|
||||
error?: protobuf_rpc_pb.Error.AsObject;
|
||||
result?: GetMemberBankAccountResponse.Result.AsObject;
|
||||
};
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
hasMemberBankAccount(): boolean;
|
||||
clearMemberBankAccount(): void;
|
||||
getMemberBankAccount(): models_member_bank_account_pb.MemberBankAccount | undefined;
|
||||
setMemberBankAccount(value?: models_member_bank_account_pb.MemberBankAccount): void;
|
||||
getMemberBankAccount():
|
||||
| models_member_bank_account_pb.MemberBankAccount
|
||||
| undefined;
|
||||
setMemberBankAccount(
|
||||
value?: models_member_bank_account_pb.MemberBankAccount
|
||||
): 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 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;
|
||||
static deserializeBinaryFromReader(
|
||||
message: Result,
|
||||
reader: jspb.BinaryReader
|
||||
): Result;
|
||||
}
|
||||
|
||||
export namespace Result {
|
||||
export type AsObject = {
|
||||
memberBankAccount?: models_member_bank_account_pb.MemberBankAccount.AsObject,
|
||||
}
|
||||
memberBankAccount?: models_member_bank_account_pb.MemberBankAccount.AsObject;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -307,6 +425,9 @@ export class UpdateMemberBankAccountRequest extends jspb.Message {
|
|||
getAccountNumber(): string;
|
||||
setAccountNumber(value: string): void;
|
||||
|
||||
getExchangePassword(): string;
|
||||
setExchangePassword(value: string): void;
|
||||
|
||||
hasMemo(): boolean;
|
||||
clearMemo(): void;
|
||||
getMemo(): string;
|
||||
|
@ -314,22 +435,34 @@ export class UpdateMemberBankAccountRequest extends jspb.Message {
|
|||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateMemberBankAccountRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateMemberBankAccountRequest): UpdateMemberBankAccountRequest.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: UpdateMemberBankAccountRequest
|
||||
): UpdateMemberBankAccountRequest.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: UpdateMemberBankAccountRequest, writer: jspb.BinaryWriter): void;
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: UpdateMemberBankAccountRequest,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateMemberBankAccountRequest;
|
||||
static deserializeBinaryFromReader(message: UpdateMemberBankAccountRequest, reader: jspb.BinaryReader): UpdateMemberBankAccountRequest;
|
||||
static deserializeBinaryFromReader(
|
||||
message: UpdateMemberBankAccountRequest,
|
||||
reader: jspb.BinaryReader
|
||||
): UpdateMemberBankAccountRequest;
|
||||
}
|
||||
|
||||
export namespace UpdateMemberBankAccountRequest {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
bankId: string,
|
||||
name: string,
|
||||
accountNumber: string,
|
||||
memo: string,
|
||||
}
|
||||
id: string;
|
||||
bankId: string;
|
||||
name: string;
|
||||
accountNumber: string;
|
||||
exchangePassword: string;
|
||||
memo: string;
|
||||
};
|
||||
}
|
||||
|
||||
export class UpdateMemberBankAccountResponse extends jspb.Message {
|
||||
|
@ -345,40 +478,63 @@ export class UpdateMemberBankAccountResponse extends jspb.Message {
|
|||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateMemberBankAccountResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateMemberBankAccountResponse): UpdateMemberBankAccountResponse.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: UpdateMemberBankAccountResponse
|
||||
): UpdateMemberBankAccountResponse.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: UpdateMemberBankAccountResponse, writer: jspb.BinaryWriter): void;
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: UpdateMemberBankAccountResponse,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateMemberBankAccountResponse;
|
||||
static deserializeBinaryFromReader(message: UpdateMemberBankAccountResponse, reader: jspb.BinaryReader): UpdateMemberBankAccountResponse;
|
||||
static deserializeBinaryFromReader(
|
||||
message: UpdateMemberBankAccountResponse,
|
||||
reader: jspb.BinaryReader
|
||||
): UpdateMemberBankAccountResponse;
|
||||
}
|
||||
|
||||
export namespace UpdateMemberBankAccountResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject,
|
||||
result?: UpdateMemberBankAccountResponse.Result.AsObject,
|
||||
}
|
||||
error?: protobuf_rpc_pb.Error.AsObject;
|
||||
result?: UpdateMemberBankAccountResponse.Result.AsObject;
|
||||
};
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
hasMemberBankAccount(): boolean;
|
||||
clearMemberBankAccount(): void;
|
||||
getMemberBankAccount(): models_member_bank_account_pb.MemberBankAccount | undefined;
|
||||
setMemberBankAccount(value?: models_member_bank_account_pb.MemberBankAccount): void;
|
||||
getMemberBankAccount():
|
||||
| models_member_bank_account_pb.MemberBankAccount
|
||||
| undefined;
|
||||
setMemberBankAccount(
|
||||
value?: models_member_bank_account_pb.MemberBankAccount
|
||||
): 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 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;
|
||||
static deserializeBinaryFromReader(
|
||||
message: Result,
|
||||
reader: jspb.BinaryReader
|
||||
): Result;
|
||||
}
|
||||
|
||||
export namespace Result {
|
||||
export type AsObject = {
|
||||
memberBankAccount?: models_member_bank_account_pb.MemberBankAccount.AsObject,
|
||||
}
|
||||
memberBankAccount?: models_member_bank_account_pb.MemberBankAccount.AsObject;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -388,18 +544,29 @@ export class DeleteMemberBankAccountRequest extends jspb.Message {
|
|||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DeleteMemberBankAccountRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DeleteMemberBankAccountRequest): DeleteMemberBankAccountRequest.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: DeleteMemberBankAccountRequest
|
||||
): DeleteMemberBankAccountRequest.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: DeleteMemberBankAccountRequest, writer: jspb.BinaryWriter): void;
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: DeleteMemberBankAccountRequest,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): DeleteMemberBankAccountRequest;
|
||||
static deserializeBinaryFromReader(message: DeleteMemberBankAccountRequest, reader: jspb.BinaryReader): DeleteMemberBankAccountRequest;
|
||||
static deserializeBinaryFromReader(
|
||||
message: DeleteMemberBankAccountRequest,
|
||||
reader: jspb.BinaryReader
|
||||
): DeleteMemberBankAccountRequest;
|
||||
}
|
||||
|
||||
export namespace DeleteMemberBankAccountRequest {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
}
|
||||
id: string;
|
||||
};
|
||||
}
|
||||
|
||||
export class DeleteMemberBankAccountResponse extends jspb.Message {
|
||||
|
@ -415,34 +582,51 @@ export class DeleteMemberBankAccountResponse extends jspb.Message {
|
|||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DeleteMemberBankAccountResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DeleteMemberBankAccountResponse): DeleteMemberBankAccountResponse.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: DeleteMemberBankAccountResponse
|
||||
): DeleteMemberBankAccountResponse.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: DeleteMemberBankAccountResponse, writer: jspb.BinaryWriter): void;
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: DeleteMemberBankAccountResponse,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): DeleteMemberBankAccountResponse;
|
||||
static deserializeBinaryFromReader(message: DeleteMemberBankAccountResponse, reader: jspb.BinaryReader): DeleteMemberBankAccountResponse;
|
||||
static deserializeBinaryFromReader(
|
||||
message: DeleteMemberBankAccountResponse,
|
||||
reader: jspb.BinaryReader
|
||||
): DeleteMemberBankAccountResponse;
|
||||
}
|
||||
|
||||
export namespace DeleteMemberBankAccountResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject,
|
||||
result?: DeleteMemberBankAccountResponse.Result.AsObject,
|
||||
}
|
||||
error?: protobuf_rpc_pb.Error.AsObject;
|
||||
result?: DeleteMemberBankAccountResponse.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 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;
|
||||
static deserializeBinaryFromReader(
|
||||
message: Result,
|
||||
reader: jspb.BinaryReader
|
||||
): Result;
|
||||
}
|
||||
|
||||
export namespace Result {
|
||||
export type AsObject = {
|
||||
export type AsObject = {};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
53
src/app/modules/proto/c2se/member_pb.d.ts
vendored
53
src/app/modules/proto/c2se/member_pb.d.ts
vendored
|
@ -84,6 +84,9 @@ export namespace CreateMemberRequest {
|
|||
getAccountNumber(): string;
|
||||
setAccountNumber(value: string): void;
|
||||
|
||||
getExchangePassword(): string;
|
||||
setExchangePassword(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): BankAccount.AsObject;
|
||||
static toObject(
|
||||
|
@ -110,6 +113,7 @@ export namespace CreateMemberRequest {
|
|||
bankId: string;
|
||||
name: string;
|
||||
accountNumber: string;
|
||||
exchangePassword: string;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
@ -613,6 +617,11 @@ export class UpdateMemberRequest extends jspb.Message {
|
|||
getMobilePhoneNumber(): string;
|
||||
setMobilePhoneNumber(value: string): void;
|
||||
|
||||
hasBankAccount(): boolean;
|
||||
clearBankAccount(): void;
|
||||
getBankAccount(): UpdateMemberRequest.BankAccount | undefined;
|
||||
setBankAccount(value?: UpdateMemberRequest.BankAccount): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateMemberRequest.AsObject;
|
||||
static toObject(
|
||||
|
@ -641,7 +650,51 @@ export namespace UpdateMemberRequest {
|
|||
memberLevelId: string;
|
||||
password: string;
|
||||
mobilePhoneNumber: string;
|
||||
bankAccount?: UpdateMemberRequest.BankAccount.AsObject;
|
||||
};
|
||||
|
||||
export class BankAccount extends jspb.Message {
|
||||
getBankId(): string;
|
||||
setBankId(value: string): void;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
getAccountNumber(): string;
|
||||
setAccountNumber(value: string): void;
|
||||
|
||||
getExchangePassword(): string;
|
||||
setExchangePassword(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): BankAccount.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: BankAccount
|
||||
): BankAccount.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: BankAccount,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): BankAccount;
|
||||
static deserializeBinaryFromReader(
|
||||
message: BankAccount,
|
||||
reader: jspb.BinaryReader
|
||||
): BankAccount;
|
||||
}
|
||||
|
||||
export namespace BankAccount {
|
||||
export type AsObject = {
|
||||
bankId: string;
|
||||
name: string;
|
||||
accountNumber: string;
|
||||
exchangePassword: string;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateMemberResponse extends jspb.Message {
|
||||
|
|
|
@ -128,6 +128,11 @@ goog.exportSymbol(
|
|||
null,
|
||||
global
|
||||
);
|
||||
goog.exportSymbol(
|
||||
"proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount",
|
||||
null,
|
||||
global
|
||||
);
|
||||
goog.exportSymbol(
|
||||
"proto.bet.beteran.c2se.member.UpdateMemberResponse",
|
||||
null,
|
||||
|
@ -514,6 +519,33 @@ if (goog.DEBUG && !COMPILED) {
|
|||
proto.bet.beteran.c2se.member.UpdateMemberRequest.displayName =
|
||||
"proto.bet.beteran.c2se.member.UpdateMemberRequest";
|
||||
}
|
||||
/**
|
||||
* 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.c2se.member.UpdateMemberRequest.BankAccount = function (
|
||||
opt_data
|
||||
) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount,
|
||||
jspb.Message
|
||||
);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.displayName =
|
||||
"proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount";
|
||||
}
|
||||
/**
|
||||
* Generated by JsPbCodeGenerator.
|
||||
* @param {Array=} opt_data Optional initial data array, typically from a
|
||||
|
@ -960,6 +992,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|||
bankId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
||||
accountNumber: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
||||
exchangePassword: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
||||
};
|
||||
|
||||
if (includeInstance) {
|
||||
|
@ -1012,6 +1045,10 @@ proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.deserializeBinaryF
|
|||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setAccountNumber(value);
|
||||
break;
|
||||
case 4:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setExchangePassword(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
|
@ -1056,6 +1093,10 @@ proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.serializeBinaryToW
|
|||
if (f.length > 0) {
|
||||
writer.writeString(3, f);
|
||||
}
|
||||
f = message.getExchangePassword();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(4, f);
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -1118,6 +1159,26 @@ proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.prototype.setAccou
|
|||
return jspb.Message.setProto3StringField(this, 3, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* optional string exchange_password = 4;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.prototype.getExchangePassword =
|
||||
function () {
|
||||
return /** @type {string} */ (
|
||||
jspb.Message.getFieldWithDefault(this, 4, "")
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount} returns this
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.prototype.setExchangePassword =
|
||||
function (value) {
|
||||
return jspb.Message.setProto3StringField(this, 4, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* optional string site_id = 1;
|
||||
* @return {string}
|
||||
|
@ -4164,6 +4225,12 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|||
memberLevelId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
||||
password: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
||||
mobilePhoneNumber: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
||||
bankAccount:
|
||||
(f = msg.getBankAccount()) &&
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.toObject(
|
||||
includeInstance,
|
||||
f
|
||||
),
|
||||
};
|
||||
|
||||
if (includeInstance) {
|
||||
|
@ -4224,6 +4291,16 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.deserializeBinaryFromReader =
|
|||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setMobilePhoneNumber(value);
|
||||
break;
|
||||
case 6:
|
||||
var value =
|
||||
new proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount();
|
||||
reader.readMessage(
|
||||
value,
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount
|
||||
.deserializeBinaryFromReader
|
||||
);
|
||||
msg.setBankAccount(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
|
@ -4276,6 +4353,239 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.serializeBinaryToWriter =
|
|||
if (f != null) {
|
||||
writer.writeString(5, f);
|
||||
}
|
||||
f = message.getBankAccount();
|
||||
if (f != null) {
|
||||
writer.writeMessage(
|
||||
6,
|
||||
f,
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount
|
||||
.serializeBinaryToWriter
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
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.c2se.member.UpdateMemberRequest.BankAccount.prototype.toObject =
|
||||
function (opt_includeInstance) {
|
||||
return proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.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.c2se.member.UpdateMemberRequest.BankAccount} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.toObject =
|
||||
function (includeInstance, msg) {
|
||||
var f,
|
||||
obj = {
|
||||
bankId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
||||
accountNumber: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
||||
exchangePassword: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
||||
};
|
||||
|
||||
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.c2se.member.UpdateMemberRequest.BankAccount}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.deserializeBinary =
|
||||
function (bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg =
|
||||
new proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount();
|
||||
return proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.deserializeBinaryFromReader(
|
||||
msg,
|
||||
reader
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.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.setBankId(value);
|
||||
break;
|
||||
case 2:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setName(value);
|
||||
break;
|
||||
case 3:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setAccountNumber(value);
|
||||
break;
|
||||
case 4:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setExchangePassword(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
};
|
||||
|
||||
/**
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.serializeBinary =
|
||||
function () {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.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.c2se.member.UpdateMemberRequest.BankAccount} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.serializeBinaryToWriter =
|
||||
function (message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getBankId();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(1, f);
|
||||
}
|
||||
f = message.getName();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(2, f);
|
||||
}
|
||||
f = message.getAccountNumber();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(3, f);
|
||||
}
|
||||
f = message.getExchangePassword();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(4, f);
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* optional string bank_id = 1;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.getBankId =
|
||||
function () {
|
||||
return /** @type {string} */ (
|
||||
jspb.Message.getFieldWithDefault(this, 1, "")
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount} returns this
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.setBankId =
|
||||
function (value) {
|
||||
return jspb.Message.setProto3StringField(this, 1, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* optional string name = 2;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.getName =
|
||||
function () {
|
||||
return /** @type {string} */ (
|
||||
jspb.Message.getFieldWithDefault(this, 2, "")
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount} returns this
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.setName =
|
||||
function (value) {
|
||||
return jspb.Message.setProto3StringField(this, 2, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* optional string account_number = 3;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.getAccountNumber =
|
||||
function () {
|
||||
return /** @type {string} */ (
|
||||
jspb.Message.getFieldWithDefault(this, 3, "")
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount} returns this
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.setAccountNumber =
|
||||
function (value) {
|
||||
return jspb.Message.setProto3StringField(this, 3, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* optional string exchange_password = 4;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.getExchangePassword =
|
||||
function () {
|
||||
return /** @type {string} */ (
|
||||
jspb.Message.getFieldWithDefault(this, 4, "")
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount} returns this
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.setExchangePassword =
|
||||
function (value) {
|
||||
return jspb.Message.setProto3StringField(this, 4, value);
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -4451,6 +4761,48 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.hasMobilePhoneNumber
|
|||
return jspb.Message.getField(this, 5) != null;
|
||||
};
|
||||
|
||||
/**
|
||||
* optional BankAccount bank_account = 6;
|
||||
* @return {?proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getBankAccount =
|
||||
function () {
|
||||
return /** @type{?proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount} */ (
|
||||
jspb.Message.getWrapperField(
|
||||
this,
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount,
|
||||
6
|
||||
)
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {?proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount|undefined} value
|
||||
* @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest} returns this
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.setBankAccount =
|
||||
function (value) {
|
||||
return jspb.Message.setWrapperField(this, 6, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* Clears the message field making it undefined.
|
||||
* @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest} returns this
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.clearBankAccount =
|
||||
function () {
|
||||
return this.setBankAccount(undefined);
|
||||
};
|
||||
|
||||
/**
|
||||
* Returns whether this field is set.
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.hasBankAccount =
|
||||
function () {
|
||||
return jspb.Message.getField(this, 6) != null;
|
||||
};
|
||||
|
||||
if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||
/**
|
||||
* Creates an object representation of this proto.
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
// package: bet.beteran.member_bank_account
|
||||
// file: models/member_bank_account.proto
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
import * as jspb from 'google-protobuf';
|
||||
import * as models_bank_pb from '../models/bank_pb';
|
||||
|
||||
export class MemberBankAccount extends jspb.Message {
|
||||
getId(): string;
|
||||
|
@ -19,6 +20,9 @@ export class MemberBankAccount extends jspb.Message {
|
|||
getAccountNumber(): string;
|
||||
setAccountNumber(value: string): void;
|
||||
|
||||
getExchangePassword(): string;
|
||||
setExchangePassword(value: string): void;
|
||||
|
||||
hasMemo(): boolean;
|
||||
clearMemo(): void;
|
||||
getMemo(): string;
|
||||
|
@ -32,24 +36,102 @@ export class MemberBankAccount extends jspb.Message {
|
|||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): MemberBankAccount.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: MemberBankAccount): MemberBankAccount.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: MemberBankAccount
|
||||
): MemberBankAccount.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: MemberBankAccount, writer: jspb.BinaryWriter): void;
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: MemberBankAccount,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): MemberBankAccount;
|
||||
static deserializeBinaryFromReader(message: MemberBankAccount, reader: jspb.BinaryReader): MemberBankAccount;
|
||||
static deserializeBinaryFromReader(
|
||||
message: MemberBankAccount,
|
||||
reader: jspb.BinaryReader
|
||||
): MemberBankAccount;
|
||||
}
|
||||
|
||||
export namespace MemberBankAccount {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
memberId: string,
|
||||
bankId: string,
|
||||
name: string,
|
||||
accountNumber: string,
|
||||
memo: string,
|
||||
createdAt: number,
|
||||
updatedAt: number,
|
||||
}
|
||||
id: string;
|
||||
memberId: string;
|
||||
bankId: string;
|
||||
name: string;
|
||||
accountNumber: string;
|
||||
exchangePassword: string;
|
||||
memo: string;
|
||||
createdAt: number;
|
||||
updatedAt: number;
|
||||
};
|
||||
}
|
||||
|
||||
export class MemberBankAccountModel extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
getMemberId(): string;
|
||||
setMemberId(value: string): void;
|
||||
|
||||
hasBank(): boolean;
|
||||
clearBank(): void;
|
||||
getBank(): models_bank_pb.Bank | undefined;
|
||||
setBank(value?: models_bank_pb.Bank): void;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
getAccountNumber(): string;
|
||||
setAccountNumber(value: string): void;
|
||||
|
||||
getExchangePassword(): string;
|
||||
setExchangePassword(value: string): void;
|
||||
|
||||
hasMemo(): boolean;
|
||||
clearMemo(): void;
|
||||
getMemo(): string;
|
||||
setMemo(value: string): void;
|
||||
|
||||
getCreatedAt(): number;
|
||||
setCreatedAt(value: number): void;
|
||||
|
||||
getUpdatedAt(): number;
|
||||
setUpdatedAt(value: number): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): MemberBankAccountModel.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: MemberBankAccountModel
|
||||
): MemberBankAccountModel.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: MemberBankAccountModel,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): MemberBankAccountModel;
|
||||
static deserializeBinaryFromReader(
|
||||
message: MemberBankAccountModel,
|
||||
reader: jspb.BinaryReader
|
||||
): MemberBankAccountModel;
|
||||
}
|
||||
|
||||
export namespace MemberBankAccountModel {
|
||||
export type AsObject = {
|
||||
id: string;
|
||||
memberId: string;
|
||||
bank?: models_bank_pb.Bank.AsObject;
|
||||
name: string;
|
||||
accountNumber: string;
|
||||
exchangePassword: string;
|
||||
memo: string;
|
||||
createdAt: number;
|
||||
updatedAt: number;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -11,11 +11,24 @@
|
|||
/* eslint-disable */
|
||||
// @ts-nocheck
|
||||
|
||||
var jspb = require('google-protobuf');
|
||||
var jspb = require("google-protobuf");
|
||||
var goog = jspb;
|
||||
var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
|
||||
var global = function () {
|
||||
return this || window || global || self || Function("return this")();
|
||||
}.call(null);
|
||||
|
||||
goog.exportSymbol('proto.bet.beteran.member_bank_account.MemberBankAccount', null, global);
|
||||
var models_bank_pb = require("../models/bank_pb.js");
|
||||
goog.object.extend(proto, models_bank_pb);
|
||||
goog.exportSymbol(
|
||||
"proto.bet.beteran.member_bank_account.MemberBankAccount",
|
||||
null,
|
||||
global
|
||||
);
|
||||
goog.exportSymbol(
|
||||
"proto.bet.beteran.member_bank_account.MemberBankAccountModel",
|
||||
null,
|
||||
global
|
||||
);
|
||||
/**
|
||||
* Generated by JsPbCodeGenerator.
|
||||
* @param {Array=} opt_data Optional initial data array, typically from a
|
||||
|
@ -29,16 +42,45 @@ goog.exportSymbol('proto.bet.beteran.member_bank_account.MemberBankAccount', nul
|
|||
proto.bet.beteran.member_bank_account.MemberBankAccount = function (opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(proto.bet.beteran.member_bank_account.MemberBankAccount, jspb.Message);
|
||||
goog.inherits(
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount,
|
||||
jspb.Message
|
||||
);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.displayName = 'proto.bet.beteran.member_bank_account.MemberBankAccount';
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.displayName =
|
||||
"proto.bet.beteran.member_bank_account.MemberBankAccount";
|
||||
}
|
||||
/**
|
||||
* 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_bank_account.MemberBankAccountModel = function (
|
||||
opt_data
|
||||
) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccountModel,
|
||||
jspb.Message
|
||||
);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccountModel.displayName =
|
||||
"proto.bet.beteran.member_bank_account.MemberBankAccountModel";
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||
/**
|
||||
|
@ -53,11 +95,14 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|||
* http://goto/soy-param-migration
|
||||
* @return {!Object}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.bet.beteran.member_bank_account.MemberBankAccount.toObject(opt_includeInstance, this);
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.toObject =
|
||||
function (opt_includeInstance) {
|
||||
return proto.bet.beteran.member_bank_account.MemberBankAccount.toObject(
|
||||
opt_includeInstance,
|
||||
this
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Static version of the {@see toObject} method.
|
||||
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
||||
|
@ -67,16 +112,21 @@ proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.toObject = fun
|
|||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.toObject = function (
|
||||
includeInstance,
|
||||
msg
|
||||
) {
|
||||
var f,
|
||||
obj = {
|
||||
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
memberId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
||||
bankId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
||||
name: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
||||
accountNumber: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
||||
memo: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
||||
createdAt: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
||||
updatedAt: jspb.Message.getFieldWithDefault(msg, 8, 0)
|
||||
exchangePassword: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
||||
memo: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
||||
createdAt: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
||||
updatedAt: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
||||
};
|
||||
|
||||
if (includeInstance) {
|
||||
|
@ -86,19 +136,21 @@ proto.bet.beteran.member_bank_account.MemberBankAccount.toObject = function(incl
|
|||
};
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format).
|
||||
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
||||
* @return {!proto.bet.beteran.member_bank_account.MemberBankAccount}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.deserializeBinary = function(bytes) {
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.deserializeBinary =
|
||||
function (bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.bet.beteran.member_bank_account.MemberBankAccount;
|
||||
return proto.bet.beteran.member_bank_account.MemberBankAccount.deserializeBinaryFromReader(msg, reader);
|
||||
var msg = new proto.bet.beteran.member_bank_account.MemberBankAccount();
|
||||
return proto.bet.beteran.member_bank_account.MemberBankAccount.deserializeBinaryFromReader(
|
||||
msg,
|
||||
reader
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
|
@ -106,7 +158,8 @@ proto.bet.beteran.member_bank_account.MemberBankAccount.deserializeBinary = func
|
|||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.bet.beteran.member_bank_account.MemberBankAccount}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.deserializeBinaryFromReader = function(msg, reader) {
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.deserializeBinaryFromReader =
|
||||
function (msg, reader) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
|
@ -135,13 +188,17 @@ proto.bet.beteran.member_bank_account.MemberBankAccount.deserializeBinaryFromRea
|
|||
break;
|
||||
case 6:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setMemo(value);
|
||||
msg.setExchangePassword(value);
|
||||
break;
|
||||
case 7:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setMemo(value);
|
||||
break;
|
||||
case 8:
|
||||
var value = /** @type {number} */ (reader.readUint64());
|
||||
msg.setCreatedAt(value);
|
||||
break;
|
||||
case 8:
|
||||
case 9:
|
||||
var value = /** @type {number} */ (reader.readUint64());
|
||||
msg.setUpdatedAt(value);
|
||||
break;
|
||||
|
@ -153,18 +210,20 @@ proto.bet.beteran.member_bank_account.MemberBankAccount.deserializeBinaryFromRea
|
|||
return msg;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.serializeBinary = function() {
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.serializeBinary =
|
||||
function () {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.serializeBinaryToWriter(this, writer);
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.serializeBinaryToWriter(
|
||||
this,
|
||||
writer
|
||||
);
|
||||
return writer.getResultBuffer();
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the given message to binary data (in protobuf wire
|
||||
* format), writing to the given BinaryWriter.
|
||||
|
@ -172,227 +231,646 @@ proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.serializeBinar
|
|||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.serializeBinaryToWriter = function(message, writer) {
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.serializeBinaryToWriter =
|
||||
function (message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getId();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
1,
|
||||
f
|
||||
);
|
||||
writer.writeString(1, f);
|
||||
}
|
||||
f = message.getMemberId();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
2,
|
||||
f
|
||||
);
|
||||
writer.writeString(2, f);
|
||||
}
|
||||
f = message.getBankId();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
3,
|
||||
f
|
||||
);
|
||||
writer.writeString(3, f);
|
||||
}
|
||||
f = message.getName();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
4,
|
||||
f
|
||||
);
|
||||
writer.writeString(4, f);
|
||||
}
|
||||
f = message.getAccountNumber();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
5,
|
||||
f
|
||||
);
|
||||
writer.writeString(5, f);
|
||||
}
|
||||
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
||||
f = message.getExchangePassword();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(6, f);
|
||||
}
|
||||
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
||||
if (f != null) {
|
||||
writer.writeString(
|
||||
6,
|
||||
f
|
||||
);
|
||||
writer.writeString(7, f);
|
||||
}
|
||||
f = message.getCreatedAt();
|
||||
if (f !== 0) {
|
||||
writer.writeUint64(
|
||||
7,
|
||||
f
|
||||
);
|
||||
writer.writeUint64(8, f);
|
||||
}
|
||||
f = message.getUpdatedAt();
|
||||
if (f !== 0) {
|
||||
writer.writeUint64(
|
||||
8,
|
||||
f
|
||||
);
|
||||
writer.writeUint64(9, f);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string id = 1;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.getId = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.getId =
|
||||
function () {
|
||||
return /** @type {string} */ (
|
||||
jspb.Message.getFieldWithDefault(this, 1, "")
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.member_bank_account.MemberBankAccount} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.setId = function(value) {
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.setId =
|
||||
function (value) {
|
||||
return jspb.Message.setProto3StringField(this, 1, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string member_id = 2;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.getMemberId = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.getMemberId =
|
||||
function () {
|
||||
return /** @type {string} */ (
|
||||
jspb.Message.getFieldWithDefault(this, 2, "")
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.member_bank_account.MemberBankAccount} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.setMemberId = function(value) {
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.setMemberId =
|
||||
function (value) {
|
||||
return jspb.Message.setProto3StringField(this, 2, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string bank_id = 3;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.getBankId = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.getBankId =
|
||||
function () {
|
||||
return /** @type {string} */ (
|
||||
jspb.Message.getFieldWithDefault(this, 3, "")
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.member_bank_account.MemberBankAccount} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.setBankId = function(value) {
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.setBankId =
|
||||
function (value) {
|
||||
return jspb.Message.setProto3StringField(this, 3, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string name = 4;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.getName = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.getName =
|
||||
function () {
|
||||
return /** @type {string} */ (
|
||||
jspb.Message.getFieldWithDefault(this, 4, "")
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.member_bank_account.MemberBankAccount} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.setName = function(value) {
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.setName =
|
||||
function (value) {
|
||||
return jspb.Message.setProto3StringField(this, 4, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string account_number = 5;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.getAccountNumber = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.getAccountNumber =
|
||||
function () {
|
||||
return /** @type {string} */ (
|
||||
jspb.Message.getFieldWithDefault(this, 5, "")
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.member_bank_account.MemberBankAccount} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.setAccountNumber = function(value) {
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.setAccountNumber =
|
||||
function (value) {
|
||||
return jspb.Message.setProto3StringField(this, 5, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string memo = 6;
|
||||
* optional string exchange_password = 6;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.getMemo = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.getExchangePassword =
|
||||
function () {
|
||||
return /** @type {string} */ (
|
||||
jspb.Message.getFieldWithDefault(this, 6, "")
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.member_bank_account.MemberBankAccount} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.setMemo = function(value) {
|
||||
return jspb.Message.setField(this, 6, value);
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.setExchangePassword =
|
||||
function (value) {
|
||||
return jspb.Message.setProto3StringField(this, 6, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* optional string memo = 7;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.getMemo =
|
||||
function () {
|
||||
return /** @type {string} */ (
|
||||
jspb.Message.getFieldWithDefault(this, 7, "")
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.member_bank_account.MemberBankAccount} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.setMemo =
|
||||
function (value) {
|
||||
return jspb.Message.setField(this, 7, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* Clears the field making it undefined.
|
||||
* @return {!proto.bet.beteran.member_bank_account.MemberBankAccount} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.clearMemo = function() {
|
||||
return jspb.Message.setField(this, 6, undefined);
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.clearMemo =
|
||||
function () {
|
||||
return jspb.Message.setField(this, 7, undefined);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Returns whether this field is set.
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.hasMemo = function() {
|
||||
return jspb.Message.getField(this, 6) != null;
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.hasMemo =
|
||||
function () {
|
||||
return jspb.Message.getField(this, 7) != null;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional uint64 created_at = 7;
|
||||
* optional uint64 created_at = 8;
|
||||
* @return {number}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.getCreatedAt = function() {
|
||||
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {number} value
|
||||
* @return {!proto.bet.beteran.member_bank_account.MemberBankAccount} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.setCreatedAt = function(value) {
|
||||
return jspb.Message.setProto3IntField(this, 7, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional uint64 updated_at = 8;
|
||||
* @return {number}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.getUpdatedAt = function() {
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.getCreatedAt =
|
||||
function () {
|
||||
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {number} value
|
||||
* @return {!proto.bet.beteran.member_bank_account.MemberBankAccount} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.setCreatedAt =
|
||||
function (value) {
|
||||
return jspb.Message.setProto3IntField(this, 8, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* optional uint64 updated_at = 9;
|
||||
* @return {number}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.getUpdatedAt =
|
||||
function () {
|
||||
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {number} value
|
||||
* @return {!proto.bet.beteran.member_bank_account.MemberBankAccount} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.setUpdatedAt = function(value) {
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.setUpdatedAt =
|
||||
function (value) {
|
||||
return jspb.Message.setProto3IntField(this, 9, value);
|
||||
};
|
||||
|
||||
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_bank_account.MemberBankAccountModel.prototype.toObject =
|
||||
function (opt_includeInstance) {
|
||||
return proto.bet.beteran.member_bank_account.MemberBankAccountModel.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_bank_account.MemberBankAccountModel} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccountModel.toObject =
|
||||
function (includeInstance, msg) {
|
||||
var f,
|
||||
obj = {
|
||||
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
memberId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
||||
bank:
|
||||
(f = msg.getBank()) &&
|
||||
models_bank_pb.Bank.toObject(includeInstance, f),
|
||||
name: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
||||
accountNumber: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
||||
exchangePassword: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
||||
memo: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
||||
createdAt: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
||||
updatedAt: jspb.Message.getFieldWithDefault(msg, 9, 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_bank_account.MemberBankAccountModel}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccountModel.deserializeBinary =
|
||||
function (bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg =
|
||||
new proto.bet.beteran.member_bank_account.MemberBankAccountModel();
|
||||
return proto.bet.beteran.member_bank_account.MemberBankAccountModel.deserializeBinaryFromReader(
|
||||
msg,
|
||||
reader
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.bet.beteran.member_bank_account.MemberBankAccountModel} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.bet.beteran.member_bank_account.MemberBankAccountModel}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccountModel.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 = new models_bank_pb.Bank();
|
||||
reader.readMessage(
|
||||
value,
|
||||
models_bank_pb.Bank.deserializeBinaryFromReader
|
||||
);
|
||||
msg.setBank(value);
|
||||
break;
|
||||
case 4:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setName(value);
|
||||
break;
|
||||
case 5:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setAccountNumber(value);
|
||||
break;
|
||||
case 6:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setExchangePassword(value);
|
||||
break;
|
||||
case 7:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setMemo(value);
|
||||
break;
|
||||
case 8:
|
||||
var value = /** @type {number} */ (reader.readUint64());
|
||||
msg.setCreatedAt(value);
|
||||
break;
|
||||
case 9:
|
||||
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_bank_account.MemberBankAccountModel.prototype.serializeBinary =
|
||||
function () {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccountModel.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_bank_account.MemberBankAccountModel} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccountModel.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.getBank();
|
||||
if (f != null) {
|
||||
writer.writeMessage(3, f, models_bank_pb.Bank.serializeBinaryToWriter);
|
||||
}
|
||||
f = message.getName();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(4, f);
|
||||
}
|
||||
f = message.getAccountNumber();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(5, f);
|
||||
}
|
||||
f = message.getExchangePassword();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(6, f);
|
||||
}
|
||||
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
||||
if (f != null) {
|
||||
writer.writeString(7, f);
|
||||
}
|
||||
f = message.getCreatedAt();
|
||||
if (f !== 0) {
|
||||
writer.writeUint64(8, f);
|
||||
}
|
||||
f = message.getUpdatedAt();
|
||||
if (f !== 0) {
|
||||
writer.writeUint64(9, f);
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* optional string id = 1;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccountModel.prototype.getId =
|
||||
function () {
|
||||
return /** @type {string} */ (
|
||||
jspb.Message.getFieldWithDefault(this, 1, "")
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.member_bank_account.MemberBankAccountModel} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccountModel.prototype.setId =
|
||||
function (value) {
|
||||
return jspb.Message.setProto3StringField(this, 1, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* optional string member_id = 2;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccountModel.prototype.getMemberId =
|
||||
function () {
|
||||
return /** @type {string} */ (
|
||||
jspb.Message.getFieldWithDefault(this, 2, "")
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.member_bank_account.MemberBankAccountModel} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccountModel.prototype.setMemberId =
|
||||
function (value) {
|
||||
return jspb.Message.setProto3StringField(this, 2, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* optional bet.beteran.bank.Bank bank = 3;
|
||||
* @return {?proto.bet.beteran.bank.Bank}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccountModel.prototype.getBank =
|
||||
function () {
|
||||
return /** @type{?proto.bet.beteran.bank.Bank} */ (
|
||||
jspb.Message.getWrapperField(this, models_bank_pb.Bank, 3)
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {?proto.bet.beteran.bank.Bank|undefined} value
|
||||
* @return {!proto.bet.beteran.member_bank_account.MemberBankAccountModel} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccountModel.prototype.setBank =
|
||||
function (value) {
|
||||
return jspb.Message.setWrapperField(this, 3, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* Clears the message field making it undefined.
|
||||
* @return {!proto.bet.beteran.member_bank_account.MemberBankAccountModel} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccountModel.prototype.clearBank =
|
||||
function () {
|
||||
return this.setBank(undefined);
|
||||
};
|
||||
|
||||
/**
|
||||
* Returns whether this field is set.
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccountModel.prototype.hasBank =
|
||||
function () {
|
||||
return jspb.Message.getField(this, 3) != null;
|
||||
};
|
||||
|
||||
/**
|
||||
* optional string name = 4;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccountModel.prototype.getName =
|
||||
function () {
|
||||
return /** @type {string} */ (
|
||||
jspb.Message.getFieldWithDefault(this, 4, "")
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.member_bank_account.MemberBankAccountModel} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccountModel.prototype.setName =
|
||||
function (value) {
|
||||
return jspb.Message.setProto3StringField(this, 4, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* optional string account_number = 5;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccountModel.prototype.getAccountNumber =
|
||||
function () {
|
||||
return /** @type {string} */ (
|
||||
jspb.Message.getFieldWithDefault(this, 5, "")
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.member_bank_account.MemberBankAccountModel} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccountModel.prototype.setAccountNumber =
|
||||
function (value) {
|
||||
return jspb.Message.setProto3StringField(this, 5, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* optional string exchange_password = 6;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccountModel.prototype.getExchangePassword =
|
||||
function () {
|
||||
return /** @type {string} */ (
|
||||
jspb.Message.getFieldWithDefault(this, 6, "")
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.member_bank_account.MemberBankAccountModel} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccountModel.prototype.setExchangePassword =
|
||||
function (value) {
|
||||
return jspb.Message.setProto3StringField(this, 6, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* optional string memo = 7;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccountModel.prototype.getMemo =
|
||||
function () {
|
||||
return /** @type {string} */ (
|
||||
jspb.Message.getFieldWithDefault(this, 7, "")
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.member_bank_account.MemberBankAccountModel} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccountModel.prototype.setMemo =
|
||||
function (value) {
|
||||
return jspb.Message.setField(this, 7, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* Clears the field making it undefined.
|
||||
* @return {!proto.bet.beteran.member_bank_account.MemberBankAccountModel} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccountModel.prototype.clearMemo =
|
||||
function () {
|
||||
return jspb.Message.setField(this, 7, undefined);
|
||||
};
|
||||
|
||||
/**
|
||||
* Returns whether this field is set.
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccountModel.prototype.hasMemo =
|
||||
function () {
|
||||
return jspb.Message.getField(this, 7) != null;
|
||||
};
|
||||
|
||||
/**
|
||||
* optional uint64 created_at = 8;
|
||||
* @return {number}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccountModel.prototype.getCreatedAt =
|
||||
function () {
|
||||
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {number} value
|
||||
* @return {!proto.bet.beteran.member_bank_account.MemberBankAccountModel} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccountModel.prototype.setCreatedAt =
|
||||
function (value) {
|
||||
return jspb.Message.setProto3IntField(this, 8, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* optional uint64 updated_at = 9;
|
||||
* @return {number}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccountModel.prototype.getUpdatedAt =
|
||||
function () {
|
||||
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {number} value
|
||||
* @return {!proto.bet.beteran.member_bank_account.MemberBankAccountModel} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccountModel.prototype.setUpdatedAt =
|
||||
function (value) {
|
||||
return jspb.Message.setProto3IntField(this, 9, value);
|
||||
};
|
||||
|
||||
goog.object.extend(exports, proto.bet.beteran.member_bank_account);
|
||||
|
|
121
src/app/modules/proto/models/member_pb.d.ts
vendored
121
src/app/modules/proto/models/member_pb.d.ts
vendored
|
@ -1,10 +1,11 @@
|
|||
// package: bet.beteran.member
|
||||
// file: models/member.proto
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
import * as models_site_pb from "../models/site_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 jspb from 'google-protobuf';
|
||||
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_class_pb from '../models/member_class_pb';
|
||||
import * as models_member_level_pb from '../models/member_level_pb';
|
||||
|
||||
export class Member extends jspb.Message {
|
||||
getId(): string;
|
||||
|
@ -71,31 +72,39 @@ export class Member extends jspb.Message {
|
|||
toObject(includeInstance?: boolean): Member.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Member): Member.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Member, writer: jspb.BinaryWriter): void;
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: Member,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Member;
|
||||
static deserializeBinaryFromReader(message: Member, reader: jspb.BinaryReader): Member;
|
||||
static deserializeBinaryFromReader(
|
||||
message: Member,
|
||||
reader: jspb.BinaryReader
|
||||
): Member;
|
||||
}
|
||||
|
||||
export namespace Member {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
siteId: string,
|
||||
memberClassId: string,
|
||||
memberLevelId: string,
|
||||
referrerMemberId: string,
|
||||
referredCount: number,
|
||||
username: string,
|
||||
nickname: string,
|
||||
mobilePhoneNumber: string,
|
||||
state: MemberStateMap[keyof MemberStateMap],
|
||||
stateChangedAt: number,
|
||||
lastSigninedIp: string,
|
||||
lastSigninedAt: number,
|
||||
createdAt: number,
|
||||
updatedAt: number,
|
||||
deletedAt: number,
|
||||
}
|
||||
id: string;
|
||||
siteId: string;
|
||||
memberClassId: string;
|
||||
memberLevelId: string;
|
||||
referrerMemberId: string;
|
||||
referredCount: number;
|
||||
username: string;
|
||||
nickname: string;
|
||||
mobilePhoneNumber: string;
|
||||
state: MemberStateMap[keyof MemberStateMap];
|
||||
stateChangedAt: number;
|
||||
lastSigninedIp: string;
|
||||
lastSigninedAt: number;
|
||||
createdAt: number;
|
||||
updatedAt: number;
|
||||
deletedAt: number;
|
||||
};
|
||||
}
|
||||
|
||||
export class MemberModel extends jspb.Message {
|
||||
|
@ -117,6 +126,15 @@ export class MemberModel extends jspb.Message {
|
|||
getMemberLevel(): models_member_level_pb.MemberLevel | undefined;
|
||||
setMemberLevel(value?: models_member_level_pb.MemberLevel): void;
|
||||
|
||||
hasBankAccount(): boolean;
|
||||
clearBankAccount(): void;
|
||||
getBankAccount():
|
||||
| models_member_bank_account_pb.MemberBankAccountModel
|
||||
| undefined;
|
||||
setBankAccount(
|
||||
value?: models_member_bank_account_pb.MemberBankAccountModel
|
||||
): void;
|
||||
|
||||
hasReferrerMember(): boolean;
|
||||
clearReferrerMember(): void;
|
||||
getReferrerMember(): Member | undefined;
|
||||
|
@ -167,33 +185,45 @@ export class MemberModel extends jspb.Message {
|
|||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): MemberModel.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: MemberModel): MemberModel.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: MemberModel
|
||||
): MemberModel.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: MemberModel, writer: jspb.BinaryWriter): void;
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: MemberModel,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): MemberModel;
|
||||
static deserializeBinaryFromReader(message: MemberModel, reader: jspb.BinaryReader): MemberModel;
|
||||
static deserializeBinaryFromReader(
|
||||
message: MemberModel,
|
||||
reader: jspb.BinaryReader
|
||||
): MemberModel;
|
||||
}
|
||||
|
||||
export namespace MemberModel {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
site?: models_site_pb.Site.AsObject,
|
||||
memberClass?: models_member_class_pb.MemberClass.AsObject,
|
||||
memberLevel?: models_member_level_pb.MemberLevel.AsObject,
|
||||
referrerMember?: Member.AsObject,
|
||||
referredCount: number,
|
||||
username: string,
|
||||
nickname: string,
|
||||
mobilePhoneNumber: string,
|
||||
state: MemberStateMap[keyof MemberStateMap],
|
||||
stateChangedAt: number,
|
||||
lastSigninedIp: string,
|
||||
lastSigninedAt: number,
|
||||
createdAt: number,
|
||||
updatedAt: number,
|
||||
deletedAt: number,
|
||||
}
|
||||
id: string;
|
||||
site?: models_site_pb.Site.AsObject;
|
||||
memberClass?: models_member_class_pb.MemberClass.AsObject;
|
||||
memberLevel?: models_member_level_pb.MemberLevel.AsObject;
|
||||
bankAccount?: models_member_bank_account_pb.MemberBankAccountModel.AsObject;
|
||||
referrerMember?: Member.AsObject;
|
||||
referredCount: number;
|
||||
username: string;
|
||||
nickname: string;
|
||||
mobilePhoneNumber: string;
|
||||
state: MemberStateMap[keyof MemberStateMap];
|
||||
stateChangedAt: number;
|
||||
lastSigninedIp: string;
|
||||
lastSigninedAt: number;
|
||||
createdAt: number;
|
||||
updatedAt: number;
|
||||
deletedAt: number;
|
||||
};
|
||||
}
|
||||
|
||||
export interface MemberStateMap {
|
||||
|
@ -207,4 +237,3 @@ export interface MemberStateMap {
|
|||
}
|
||||
|
||||
export const MemberState: MemberStateMap;
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user