member, member_bank_account are modified
This commit is contained in:
parent
99c38e9833
commit
928fd62875
|
@ -5,8 +5,6 @@ import * as nats from 'nats.ws';
|
|||
import { Error } from 'app/modules/proto/protobuf/rpc_pb';
|
||||
|
||||
import {
|
||||
ListMembersRequest,
|
||||
ListMembersResponse,
|
||||
GetMemberByUsernameRequest,
|
||||
GetMemberByUsernameResponse,
|
||||
GetMemberRequest,
|
||||
|
@ -15,13 +13,15 @@ import {
|
|||
UpdateMemberResponse,
|
||||
CreateMemberResponse,
|
||||
CreateMemberRequest,
|
||||
UpdateMemberForPasswordResponse,
|
||||
UpdateMemberForPasswordRequest,
|
||||
} from 'app/modules/proto/c2se/member_pb';
|
||||
import {
|
||||
SUBJECT_LIST_MEMBERS,
|
||||
SUBJECT_GET_MEMBER,
|
||||
SUBJECT_GET_MEMBER_BY_USERNAME,
|
||||
SUBJECT_UPDATE_MEMBER,
|
||||
SUBJECT_CREATE_MEMBER,
|
||||
SUBJECT_UPDATE_MEMBER_FOR_PASSWORD,
|
||||
} from 'app/modules/proto/c2se/backend/member_pb';
|
||||
import { Pagination } from 'app/modules/proto/protobuf/pagination_pb';
|
||||
|
||||
|
@ -42,37 +42,6 @@ export class MemberService {
|
|||
// @ Public methods
|
||||
// -----------------------------------------------------------------------------------------------------
|
||||
|
||||
listMembers(req?: ListMembersRequest): Promise<ListMembersResponse.Result> {
|
||||
return new Promise<ListMembersResponse.Result>((resolve, reject) => {
|
||||
if (!req) {
|
||||
req = new ListMembersRequest();
|
||||
}
|
||||
|
||||
if (!req.hasPagination()) {
|
||||
let paging = new Pagination();
|
||||
paging.setPageSize(10);
|
||||
paging.setPage(0);
|
||||
|
||||
req.setPagination(paging);
|
||||
}
|
||||
|
||||
this.__natsService
|
||||
.request<ListMembersResponse.Result>(
|
||||
SUBJECT_LIST_MEMBERS,
|
||||
req.serializeBinary(),
|
||||
ListMembersResponse.deserializeBinary
|
||||
)
|
||||
.then((result) => {
|
||||
console.log('success', result, result.getMembersList());
|
||||
resolve(result);
|
||||
})
|
||||
.catch((e: Error) => {
|
||||
console.log('failed', e);
|
||||
reject(e);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
getMember(id: string): Promise<GetMemberResponse.Result> {
|
||||
return new Promise<GetMemberResponse.Result>((resolve, reject) => {
|
||||
let req = new GetMemberRequest();
|
||||
|
@ -121,7 +90,6 @@ export class MemberService {
|
|||
id: string,
|
||||
siteId: string,
|
||||
memberLevelId: string,
|
||||
password: string,
|
||||
mobilePhoneNumber: string
|
||||
): Promise<UpdateMemberResponse.Result> {
|
||||
return new Promise<UpdateMemberResponse.Result>((resolve, reject) => {
|
||||
|
@ -134,9 +102,6 @@ export class MemberService {
|
|||
if (!!memberLevelId) {
|
||||
req.setMemberLevelId(memberLevelId);
|
||||
}
|
||||
if (!!password) {
|
||||
req.setPassword(password);
|
||||
}
|
||||
if (!!mobilePhoneNumber) {
|
||||
req.setMobilePhoneNumber(mobilePhoneNumber);
|
||||
}
|
||||
|
@ -158,6 +123,34 @@ export class MemberService {
|
|||
});
|
||||
}
|
||||
|
||||
updateMemberForPassword(
|
||||
id: string,
|
||||
password: string
|
||||
): Promise<UpdateMemberForPasswordResponse.Result> {
|
||||
return new Promise<UpdateMemberForPasswordResponse.Result>(
|
||||
(resolve, reject) => {
|
||||
let req = new UpdateMemberForPasswordRequest();
|
||||
req.setId(id);
|
||||
req.setPassword(password);
|
||||
|
||||
this.__natsService
|
||||
.request<UpdateMemberResponse.Result>(
|
||||
SUBJECT_UPDATE_MEMBER_FOR_PASSWORD,
|
||||
req.serializeBinary(),
|
||||
UpdateMemberResponse.deserializeBinary
|
||||
)
|
||||
.then((result) => {
|
||||
console.log('updateMemberForPassword Result: ', result);
|
||||
resolve(result);
|
||||
})
|
||||
.catch((e: Error) => {
|
||||
console.log('failed', e);
|
||||
reject(e);
|
||||
});
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
// siteId: 8429a7ab-b9de-400b-a209-28ff46e22bec
|
||||
// classId: 4b014ef5-3bab-4413-aaf9-b0040a70ec77
|
||||
// levelId: c56231ac-2120-4a81-a30a-5d41fafb6c57
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
import { ModuleWithProviders, NgModule } from '@angular/core';
|
||||
|
||||
import { SERVICES } from './services';
|
||||
|
||||
@NgModule({})
|
||||
export class MemberBankAccountRootModule {}
|
||||
|
||||
@NgModule({})
|
||||
export class MemberBankAccountModule {
|
||||
public static forRoot(): ModuleWithProviders<MemberBankAccountRootModule> {
|
||||
return {
|
||||
ngModule: MemberBankAccountRootModule,
|
||||
providers: [...SERVICES],
|
||||
};
|
||||
}
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
import { Type } from '@angular/core';
|
||||
|
||||
import { MemberBankAccountService } from './member_bank_account.service';
|
||||
|
||||
export const SERVICES: Type<any>[] = [MemberBankAccountService];
|
|
@ -0,0 +1,134 @@
|
|||
import { Injectable } from '@angular/core';
|
||||
import { NatsService } from 'app/core/nats/services/nats.service';
|
||||
import * as nats from 'nats.ws';
|
||||
|
||||
import { Error } from 'app/modules/proto/protobuf/rpc_pb';
|
||||
|
||||
import {
|
||||
ListMemberBankAccountsRequest,
|
||||
ListMemberBankAccountsResponse,
|
||||
CreateMemberBankAccountRequest,
|
||||
CreateMemberBankAccountResponse,
|
||||
UpdateMemberBankAccountRequest,
|
||||
UpdateMemberBankAccountResponse,
|
||||
DeleteMemberBankAccountRequest,
|
||||
DeleteMemberBankAccountResponse,
|
||||
GetMemberBankAccountResponse,
|
||||
GetMemberBankAccountRequest,
|
||||
UpdateMemberBankAccountForExchangePasswordResponse,
|
||||
} from 'app/modules/proto/c2se/member_bank_account_pb';
|
||||
import {
|
||||
SUBJECT_CREATE_MEMBER_BANK_ACCOUNT,
|
||||
SUBJECT_UPDATE_MEMBER_BANK_ACCOUNT,
|
||||
SUBJECT_GET_MEMBER_BANK_ACCOUNT,
|
||||
} from 'app/modules/proto/c2se/frontend/member_bank_account_pb';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
||||
})
|
||||
export class MemberBankAccountService {
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
constructor(private __natsService: NatsService) {}
|
||||
|
||||
// -----------------------------------------------------------------------------------------------------
|
||||
// @ Accessors
|
||||
// -----------------------------------------------------------------------------------------------------
|
||||
|
||||
// -----------------------------------------------------------------------------------------------------
|
||||
// @ Public methods
|
||||
// -----------------------------------------------------------------------------------------------------
|
||||
|
||||
createMemberBankAccount(): Promise<CreateMemberBankAccountResponse.Result> {
|
||||
return new Promise<CreateMemberBankAccountResponse.Result>(
|
||||
(resolve, reject) => {
|
||||
let req = new CreateMemberBankAccountRequest();
|
||||
|
||||
this.__natsService
|
||||
.request<CreateMemberBankAccountResponse.Result>(
|
||||
SUBJECT_CREATE_MEMBER_BANK_ACCOUNT,
|
||||
req.serializeBinary(),
|
||||
CreateMemberBankAccountResponse.deserializeBinary
|
||||
)
|
||||
.then((result) => {
|
||||
console.log('success', result, result.getMemberBankAccount());
|
||||
return resolve(result);
|
||||
})
|
||||
.catch((e: Error) => {
|
||||
console.log('failed', e);
|
||||
return reject(e);
|
||||
});
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
getMemberBankAccount(): Promise<GetMemberBankAccountResponse.Result> {
|
||||
return new Promise<GetMemberBankAccountResponse.Result>(
|
||||
(resolve, reject) => {
|
||||
let req = new GetMemberBankAccountRequest();
|
||||
|
||||
this.__natsService
|
||||
.request<GetMemberBankAccountResponse.Result>(
|
||||
SUBJECT_GET_MEMBER_BANK_ACCOUNT,
|
||||
req.serializeBinary(),
|
||||
GetMemberBankAccountResponse.deserializeBinary
|
||||
)
|
||||
.then((result) => {
|
||||
console.log('success', result, result.getMemberBankAccount());
|
||||
return resolve(result);
|
||||
})
|
||||
.catch((e: Error) => {
|
||||
console.log('failed', e);
|
||||
return reject(e);
|
||||
});
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
updateMemberBankAccount(): Promise<UpdateMemberBankAccountResponse.Result> {
|
||||
return new Promise<UpdateMemberBankAccountResponse.Result>(
|
||||
(resolve, reject) => {
|
||||
let req = new UpdateMemberBankAccountRequest();
|
||||
|
||||
this.__natsService
|
||||
.request<UpdateMemberBankAccountResponse.Result>(
|
||||
SUBJECT_UPDATE_MEMBER_BANK_ACCOUNT,
|
||||
req.serializeBinary(),
|
||||
UpdateMemberBankAccountResponse.deserializeBinary
|
||||
)
|
||||
.then((result) => {
|
||||
console.log('success', result, result.getMemberBankAccount());
|
||||
return resolve(result);
|
||||
})
|
||||
.catch((e: Error) => {
|
||||
console.log('failed', e);
|
||||
return reject(e);
|
||||
});
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
updateMemberBankAccountForExchangePassword(): Promise<UpdateMemberBankAccountForExchangePasswordResponse.Result> {
|
||||
return new Promise<UpdateMemberBankAccountForExchangePasswordResponse.Result>(
|
||||
(resolve, reject) => {
|
||||
let req = new UpdateMemberBankAccountForExchangePasswordResponse();
|
||||
|
||||
this.__natsService
|
||||
.request<UpdateMemberBankAccountForExchangePasswordResponse.Result>(
|
||||
SUBJECT_UPDATE_MEMBER_BANK_ACCOUNT,
|
||||
req.serializeBinary(),
|
||||
UpdateMemberBankAccountForExchangePasswordResponse.deserializeBinary
|
||||
)
|
||||
.then((result) => {
|
||||
console.log('success', result);
|
||||
return resolve(result);
|
||||
})
|
||||
.catch((e: Error) => {
|
||||
console.log('failed', e);
|
||||
return reject(e);
|
||||
});
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
|
@ -0,0 +1,16 @@
|
|||
import { ModuleWithProviders, NgModule } from '@angular/core';
|
||||
|
||||
import { SERVICES } from './services';
|
||||
|
||||
@NgModule({})
|
||||
export class MemberBankDepositRootModule {}
|
||||
|
||||
@NgModule({})
|
||||
export class MemberBankDepositModule {
|
||||
public static forRoot(): ModuleWithProviders<MemberBankDepositRootModule> {
|
||||
return {
|
||||
ngModule: MemberBankDepositRootModule,
|
||||
providers: [...SERVICES],
|
||||
};
|
||||
}
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
import { Type } from '@angular/core';
|
||||
|
||||
import { MemberBankDepositService } from './member_bank_deposit.service';
|
||||
|
||||
export const SERVICES: Type<any>[] = [MemberBankDepositService];
|
|
@ -0,0 +1,160 @@
|
|||
import { Injectable } from '@angular/core';
|
||||
import { NatsService } from 'app/core/nats/services/nats.service';
|
||||
import * as nats from 'nats.ws';
|
||||
|
||||
import { Error } from 'app/modules/proto/protobuf/rpc_pb';
|
||||
|
||||
import {
|
||||
ListMemberBankDepositsRequest,
|
||||
ListMemberBankDepositsResponse,
|
||||
CreateMemberBankDepositRequest,
|
||||
CreateMemberBankDepositResponse,
|
||||
UpdateMemberBankDepositRequest,
|
||||
UpdateMemberBankDepositResponse,
|
||||
DeleteMemberBankDepositRequest,
|
||||
DeleteMemberBankDepositResponse,
|
||||
GetMemberBankDepositResponse,
|
||||
GetMemberBankDepositRequest,
|
||||
UpdateMemberBankDepositForStateResponse,
|
||||
UpdateMemberBankDepositForStateRequest,
|
||||
} from 'app/modules/proto/c2se/member_bank_deposit_pb';
|
||||
import {
|
||||
SUBJECT_LIST_MEMBER_BANK_DEPOSITS,
|
||||
SUBJECT_CREATE_MEMBER_BANK_DEPOSIT,
|
||||
SUBJECT_UPDATE_MEMBER_BANK_DEPOSIT,
|
||||
SUBJECT_DELETE_MEMBER_BANK_DEPOSIT,
|
||||
SUBJECT_GET_MEMBER_BANK_DEPOSIT,
|
||||
} from 'app/modules/proto/c2se/frontend/member_bank_deposit_pb';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
||||
})
|
||||
export class MemberBankDepositService {
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
constructor(private __natsService: NatsService) {}
|
||||
|
||||
// -----------------------------------------------------------------------------------------------------
|
||||
// @ Accessors
|
||||
// -----------------------------------------------------------------------------------------------------
|
||||
|
||||
// -----------------------------------------------------------------------------------------------------
|
||||
// @ Public methods
|
||||
// -----------------------------------------------------------------------------------------------------
|
||||
|
||||
createMemberBankDeposit(): Promise<CreateMemberBankDepositResponse.Result> {
|
||||
return new Promise<CreateMemberBankDepositResponse.Result>(
|
||||
(resolve, reject) => {
|
||||
let req = new CreateMemberBankDepositRequest();
|
||||
|
||||
this.__natsService
|
||||
.request<CreateMemberBankDepositResponse.Result>(
|
||||
SUBJECT_CREATE_MEMBER_BANK_DEPOSIT,
|
||||
req.serializeBinary(),
|
||||
CreateMemberBankDepositResponse.deserializeBinary
|
||||
)
|
||||
.then((result) => {
|
||||
console.log('success', result, result.getMemberBankDeposit());
|
||||
return resolve(result);
|
||||
})
|
||||
.catch((e: Error) => {
|
||||
console.log('failed', e);
|
||||
return reject(e);
|
||||
});
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
listMemberBankDeposits(): Promise<ListMemberBankDepositsResponse.Result> {
|
||||
return new Promise<ListMemberBankDepositsResponse.Result>(
|
||||
(resolve, reject) => {
|
||||
let req = new ListMemberBankDepositsRequest();
|
||||
|
||||
this.__natsService
|
||||
.request<ListMemberBankDepositsResponse.Result>(
|
||||
SUBJECT_LIST_MEMBER_BANK_DEPOSITS,
|
||||
req.serializeBinary(),
|
||||
ListMemberBankDepositsResponse.deserializeBinary
|
||||
)
|
||||
.then((result) => {
|
||||
console.log('success', result, result.getMemberBankDepositsList());
|
||||
return resolve(result);
|
||||
})
|
||||
.catch((e: Error) => {
|
||||
console.log('failed', e);
|
||||
reject(e);
|
||||
});
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
getMemberBankDeposit(): Promise<GetMemberBankDepositResponse.Result> {
|
||||
return new Promise<GetMemberBankDepositResponse.Result>(
|
||||
(resolve, reject) => {
|
||||
let req = new GetMemberBankDepositRequest();
|
||||
|
||||
this.__natsService
|
||||
.request<GetMemberBankDepositResponse.Result>(
|
||||
SUBJECT_GET_MEMBER_BANK_DEPOSIT,
|
||||
req.serializeBinary(),
|
||||
GetMemberBankDepositResponse.deserializeBinary
|
||||
)
|
||||
.then((result) => {
|
||||
console.log('success', result, result.getMemberBankDeposit());
|
||||
return resolve(result);
|
||||
})
|
||||
.catch((e: Error) => {
|
||||
console.log('failed', e);
|
||||
return reject(e);
|
||||
});
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
updateMemberBankDeposit(): Promise<UpdateMemberBankDepositResponse.Result> {
|
||||
return new Promise<UpdateMemberBankDepositResponse.Result>(
|
||||
(resolve, reject) => {
|
||||
let req = new UpdateMemberBankDepositRequest();
|
||||
|
||||
this.__natsService
|
||||
.request<UpdateMemberBankDepositResponse.Result>(
|
||||
SUBJECT_UPDATE_MEMBER_BANK_DEPOSIT,
|
||||
req.serializeBinary(),
|
||||
UpdateMemberBankDepositResponse.deserializeBinary
|
||||
)
|
||||
.then((result) => {
|
||||
console.log('success', result, result.getMemberBankDeposit());
|
||||
return resolve(result);
|
||||
})
|
||||
.catch((e: Error) => {
|
||||
console.log('failed', e);
|
||||
return reject(e);
|
||||
});
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
deleteMemberBankDeposit(): Promise<DeleteMemberBankDepositResponse.Result> {
|
||||
return new Promise<DeleteMemberBankDepositResponse.Result>(
|
||||
(resolve, reject) => {
|
||||
let req = new DeleteMemberBankDepositRequest();
|
||||
|
||||
this.__natsService
|
||||
.request<DeleteMemberBankDepositResponse.Result>(
|
||||
SUBJECT_DELETE_MEMBER_BANK_DEPOSIT,
|
||||
req.serializeBinary(),
|
||||
DeleteMemberBankDepositResponse.deserializeBinary
|
||||
)
|
||||
.then((result) => {
|
||||
console.log('success', result);
|
||||
return resolve(result);
|
||||
})
|
||||
.catch((e: Error) => {
|
||||
console.log('failed', e);
|
||||
return reject(e);
|
||||
});
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
|
@ -0,0 +1,16 @@
|
|||
import { ModuleWithProviders, NgModule } from '@angular/core';
|
||||
|
||||
import { SERVICES } from './services';
|
||||
|
||||
@NgModule({})
|
||||
export class MemberBankWithdrawRootModule {}
|
||||
|
||||
@NgModule({})
|
||||
export class MemberBankWithdrawModule {
|
||||
public static forRoot(): ModuleWithProviders<MemberBankWithdrawRootModule> {
|
||||
return {
|
||||
ngModule: MemberBankWithdrawRootModule,
|
||||
providers: [...SERVICES],
|
||||
};
|
||||
}
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
import { Type } from '@angular/core';
|
||||
|
||||
import { MemberBankWithdrawService } from './member_bank_withdraw.service';
|
||||
|
||||
export const SERVICES: Type<any>[] = [MemberBankWithdrawService];
|
|
@ -0,0 +1,160 @@
|
|||
import { Injectable } from '@angular/core';
|
||||
import { NatsService } from 'app/core/nats/services/nats.service';
|
||||
import * as nats from 'nats.ws';
|
||||
|
||||
import { Error } from 'app/modules/proto/protobuf/rpc_pb';
|
||||
|
||||
import {
|
||||
ListMemberBankWithdrawsRequest,
|
||||
ListMemberBankWithdrawsResponse,
|
||||
CreateMemberBankWithdrawRequest,
|
||||
CreateMemberBankWithdrawResponse,
|
||||
UpdateMemberBankWithdrawRequest,
|
||||
UpdateMemberBankWithdrawResponse,
|
||||
DeleteMemberBankWithdrawRequest,
|
||||
DeleteMemberBankWithdrawResponse,
|
||||
GetMemberBankWithdrawResponse,
|
||||
GetMemberBankWithdrawRequest,
|
||||
UpdateMemberBankWithdrawForStateResponse,
|
||||
UpdateMemberBankWithdrawForStateRequest,
|
||||
} from 'app/modules/proto/c2se/member_bank_withdraw_pb';
|
||||
import {
|
||||
SUBJECT_LIST_MEMBER_BANK_WITHDRAWS,
|
||||
SUBJECT_CREATE_MEMBER_BANK_WITHDRAW,
|
||||
SUBJECT_UPDATE_MEMBER_BANK_WITHDRAW,
|
||||
SUBJECT_DELETE_MEMBER_BANK_WITHDRAW,
|
||||
SUBJECT_GET_MEMBER_BANK_WITHDRAW,
|
||||
} from 'app/modules/proto/c2se/frontend/member_bank_withdraw_pb';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
||||
})
|
||||
export class MemberBankWithdrawService {
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
constructor(private __natsService: NatsService) {}
|
||||
|
||||
// -----------------------------------------------------------------------------------------------------
|
||||
// @ Accessors
|
||||
// -----------------------------------------------------------------------------------------------------
|
||||
|
||||
// -----------------------------------------------------------------------------------------------------
|
||||
// @ Public methods
|
||||
// -----------------------------------------------------------------------------------------------------
|
||||
|
||||
createMemberBankWithdraw(): Promise<CreateMemberBankWithdrawResponse.Result> {
|
||||
return new Promise<CreateMemberBankWithdrawResponse.Result>(
|
||||
(resolve, reject) => {
|
||||
let req = new CreateMemberBankWithdrawRequest();
|
||||
|
||||
this.__natsService
|
||||
.request<CreateMemberBankWithdrawResponse.Result>(
|
||||
SUBJECT_CREATE_MEMBER_BANK_WITHDRAW,
|
||||
req.serializeBinary(),
|
||||
CreateMemberBankWithdrawResponse.deserializeBinary
|
||||
)
|
||||
.then((result) => {
|
||||
console.log('success', result, result.getMemberBankWithdraw());
|
||||
return resolve(result);
|
||||
})
|
||||
.catch((e: Error) => {
|
||||
console.log('failed', e);
|
||||
return reject(e);
|
||||
});
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
listMemberBankWithdraws(): Promise<ListMemberBankWithdrawsResponse.Result> {
|
||||
return new Promise<ListMemberBankWithdrawsResponse.Result>(
|
||||
(resolve, reject) => {
|
||||
let req = new ListMemberBankWithdrawsRequest();
|
||||
|
||||
this.__natsService
|
||||
.request<ListMemberBankWithdrawsResponse.Result>(
|
||||
SUBJECT_LIST_MEMBER_BANK_WITHDRAWS,
|
||||
req.serializeBinary(),
|
||||
ListMemberBankWithdrawsResponse.deserializeBinary
|
||||
)
|
||||
.then((result) => {
|
||||
console.log('success', result, result.getMemberBankWithdrawsList());
|
||||
return resolve(result);
|
||||
})
|
||||
.catch((e: Error) => {
|
||||
console.log('failed', e);
|
||||
reject(e);
|
||||
});
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
getMemberBankWithdraw(): Promise<GetMemberBankWithdrawResponse.Result> {
|
||||
return new Promise<GetMemberBankWithdrawResponse.Result>(
|
||||
(resolve, reject) => {
|
||||
let req = new GetMemberBankWithdrawRequest();
|
||||
|
||||
this.__natsService
|
||||
.request<GetMemberBankWithdrawResponse.Result>(
|
||||
SUBJECT_GET_MEMBER_BANK_WITHDRAW,
|
||||
req.serializeBinary(),
|
||||
GetMemberBankWithdrawResponse.deserializeBinary
|
||||
)
|
||||
.then((result) => {
|
||||
console.log('success', result, result.getMemberBankWithdraw());
|
||||
return resolve(result);
|
||||
})
|
||||
.catch((e: Error) => {
|
||||
console.log('failed', e);
|
||||
return reject(e);
|
||||
});
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
updateMemberBankWithdraw(): Promise<UpdateMemberBankWithdrawResponse.Result> {
|
||||
return new Promise<UpdateMemberBankWithdrawResponse.Result>(
|
||||
(resolve, reject) => {
|
||||
let req = new UpdateMemberBankWithdrawRequest();
|
||||
|
||||
this.__natsService
|
||||
.request<UpdateMemberBankWithdrawResponse.Result>(
|
||||
SUBJECT_UPDATE_MEMBER_BANK_WITHDRAW,
|
||||
req.serializeBinary(),
|
||||
UpdateMemberBankWithdrawResponse.deserializeBinary
|
||||
)
|
||||
.then((result) => {
|
||||
console.log('success', result, result.getMemberBankWithdraw());
|
||||
return resolve(result);
|
||||
})
|
||||
.catch((e: Error) => {
|
||||
console.log('failed', e);
|
||||
return reject(e);
|
||||
});
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
deleteMemberBankWithdraw(): Promise<DeleteMemberBankWithdrawResponse.Result> {
|
||||
return new Promise<DeleteMemberBankWithdrawResponse.Result>(
|
||||
(resolve, reject) => {
|
||||
let req = new DeleteMemberBankWithdrawRequest();
|
||||
|
||||
this.__natsService
|
||||
.request<DeleteMemberBankWithdrawResponse.Result>(
|
||||
SUBJECT_DELETE_MEMBER_BANK_WITHDRAW,
|
||||
req.serializeBinary(),
|
||||
DeleteMemberBankWithdrawResponse.deserializeBinary
|
||||
)
|
||||
.then((result) => {
|
||||
console.log('success', result);
|
||||
return resolve(result);
|
||||
})
|
||||
.catch((e: Error) => {
|
||||
console.log('failed', e);
|
||||
return reject(e);
|
||||
});
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
|
@ -7,4 +7,5 @@ export const SUBJECT_CREATE_MEMBER_BANK_ACCOUNT: string;
|
|||
export const SUBJECT_LIST_MEMBER_BANK_ACCOUNTS: string;
|
||||
export const SUBJECT_GET_MEMBER_BANK_ACCOUNT: string;
|
||||
export const SUBJECT_UPDATE_MEMBER_BANK_ACCOUNT: string;
|
||||
export const SUBJECT_UPDATE_MEMBER_BANK_ACCOUNT_FOR_EXCHANGE_PASSWORD: string;
|
||||
export const SUBJECT_DELETE_MEMBER_BANK_ACCOUNT: string;
|
||||
|
|
|
@ -33,6 +33,8 @@ proto.bet.beteran.c2se.backend.member_bank_account.SUBJECT_GET_MEMBER_BANK_ACCOU
|
|||
"bet.beteran.c2se.backend.member_bank_account.GetMemberBankAccount";
|
||||
proto.bet.beteran.c2se.backend.member_bank_account.SUBJECT_UPDATE_MEMBER_BANK_ACCOUNT =
|
||||
"bet.beteran.c2se.backend.member_bank_account.UpdateMemberBankAccount";
|
||||
proto.bet.beteran.c2se.backend.member_bank_account.SUBJECT_UPDATE_MEMBER_BANK_ACCOUNT_FOR_EXCHANGE_PASSWORD =
|
||||
"bet.beteran.c2se.backend.member_bank_account.UpdateMemberBankAccountForExchangePassword";
|
||||
proto.bet.beteran.c2se.backend.member_bank_account.SUBJECT_DELETE_MEMBER_BANK_ACCOUNT =
|
||||
"bet.beteran.c2se.backend.member_bank_account.DeleteMemberBankAccount";
|
||||
|
||||
|
|
|
@ -17,6 +17,12 @@ var global = function () {
|
|||
return this || window || global || self || Function("return this")();
|
||||
}.call(null);
|
||||
|
||||
goog.exportSymbol(
|
||||
"proto.bet.beteran.c2se.backend.member_bank_deposit",
|
||||
null,
|
||||
global
|
||||
);
|
||||
|
||||
proto.bet.beteran.c2se.backend.member_bank_deposit = {};
|
||||
|
||||
proto.bet.beteran.c2se.backend.member_bank_deposit.SUBJECT_CREATE_MEMBER_BANK_DEPOSIT =
|
||||
|
|
|
@ -17,6 +17,12 @@ var global = function () {
|
|||
return this || window || global || self || Function("return this")();
|
||||
}.call(null);
|
||||
|
||||
goog.exportSymbol(
|
||||
"proto.bet.beteran.c2se.backend.member_bank_withdraw",
|
||||
null,
|
||||
global
|
||||
);
|
||||
|
||||
proto.bet.beteran.c2se.backend.member_bank_withdraw = {};
|
||||
|
||||
proto.bet.beteran.c2se.backend.member_bank_withdraw.SUBJECT_CREATE_MEMBER_BANK_WITHDRAW =
|
||||
|
|
|
@ -8,4 +8,6 @@ export const SUBJECT_LIST_MEMBERS: string;
|
|||
export const SUBJECT_GET_MEMBER: string;
|
||||
export const SUBJECT_GET_MEMBER_BY_USERNAME: string;
|
||||
export const SUBJECT_UPDATE_MEMBER: string;
|
||||
export const SUBJECT_UPDATE_MEMBER_FOR_PASSWORD: string;
|
||||
export const SUBJECT_UPDATE_MEMBER_FOR_STATE: string;
|
||||
export const SUBJECT_DELETE_MEMBER: string;
|
||||
|
|
|
@ -31,6 +31,10 @@ proto.bet.beteran.c2se.backend.member.SUBJECT_GET_MEMBER_BY_USERNAME =
|
|||
"bet.beteran.c2se.backend.member.GetMemberByUsername";
|
||||
proto.bet.beteran.c2se.backend.member.SUBJECT_UPDATE_MEMBER =
|
||||
"bet.beteran.c2se.backend.member.UpdateMember";
|
||||
proto.bet.beteran.c2se.backend.member.SUBJECT_UPDATE_MEMBER_FOR_PASSWORD =
|
||||
"bet.beteran.c2se.backend.member.UpdateMemberForPassword";
|
||||
proto.bet.beteran.c2se.backend.member.SUBJECT_UPDATE_MEMBER_FOR_STATE =
|
||||
"bet.beteran.c2se.backend.member.UpdateMemberForState";
|
||||
proto.bet.beteran.c2se.backend.member.SUBJECT_DELETE_MEMBER =
|
||||
"bet.beteran.c2se.backend.member.DeleteMember";
|
||||
|
||||
|
|
9
src/app/modules/proto/c2se/frontend/member_bank_account_pb.d.ts
vendored
Normal file
9
src/app/modules/proto/c2se/frontend/member_bank_account_pb.d.ts
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
// package: bet.beteran.c2se.frontend.member_bank_account
|
||||
// file: c2se/frontend/member_bank_account.proto
|
||||
|
||||
import * as jspb from 'google-protobuf';
|
||||
|
||||
export const SUBJECT_CREATE_MEMBER_BANK_ACCOUNT: string;
|
||||
export const SUBJECT_GET_MEMBER_BANK_ACCOUNT: string;
|
||||
export const SUBJECT_UPDATE_MEMBER_BANK_ACCOUNT: string;
|
||||
export const SUBJECT_UPDATE_MEMBER_BANK_ACCOUNT_FOR_EXCHANGE_PASSWORD: string;
|
|
@ -0,0 +1,40 @@
|
|||
// source: c2se/frontend/member_bank_account.proto
|
||||
/**
|
||||
* @fileoverview
|
||||
* @enhanceable
|
||||
* @suppress {missingRequire} reports error on implicit type usages.
|
||||
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
||||
* field starts with 'MSG_' and isn't a translatable message.
|
||||
* @public
|
||||
*/
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
/* eslint-disable */
|
||||
// @ts-nocheck
|
||||
|
||||
var jspb = require("google-protobuf");
|
||||
var goog = jspb;
|
||||
var global = function () {
|
||||
return this || window || global || self || Function("return this")();
|
||||
}.call(null);
|
||||
|
||||
goog.exportSymbol(
|
||||
"proto.bet.beteran.c2se.frontend.member_bank_account",
|
||||
null,
|
||||
global
|
||||
);
|
||||
|
||||
proto.bet.beteran.c2se.frontend.member_bank_account = {};
|
||||
|
||||
proto.bet.beteran.c2se.frontend.member_bank_account.SUBJECT_CREATE_MEMBER_BANK_ACCOUNT =
|
||||
"bet.beteran.c2se.frontend.member_bank_account.CreateMemberBankAccount";
|
||||
proto.bet.beteran.c2se.frontend.member_bank_account.SUBJECT_GET_MEMBER_BANK_ACCOUNT =
|
||||
"bet.beteran.c2se.frontend.member_bank_account.GetMemberBankAccount";
|
||||
proto.bet.beteran.c2se.frontend.member_bank_account.SUBJECT_UPDATE_MEMBER_BANK_ACCOUNT =
|
||||
"bet.beteran.c2se.frontend.member_bank_account.UpdateMemberBankAccount";
|
||||
proto.bet.beteran.c2se.frontend.member_bank_account.SUBJECT_UPDATE_MEMBER_BANK_ACCOUNT_FOR_EXCHANGE_PASSWORD =
|
||||
"bet.beteran.c2se.frontend.member_bank_account.UpdateMemberBankAccountForExchangePassword";
|
||||
|
||||
goog.object.extend(
|
||||
exports,
|
||||
proto.bet.beteran.c2se.frontend.member_bank_account
|
||||
);
|
10
src/app/modules/proto/c2se/frontend/member_bank_deposit_pb.d.ts
vendored
Normal file
10
src/app/modules/proto/c2se/frontend/member_bank_deposit_pb.d.ts
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
// package: bet.beteran.c2se.frontend.member_bank_deposit
|
||||
// file: c2se/frontend/member_bank_deposit.proto
|
||||
|
||||
import * as jspb from 'google-protobuf';
|
||||
|
||||
export const SUBJECT_CREATE_MEMBER_BANK_DEPOSIT: string;
|
||||
export const SUBJECT_LIST_MEMBER_BANK_DEPOSITS: string;
|
||||
export const SUBJECT_GET_MEMBER_BANK_DEPOSIT: string;
|
||||
export const SUBJECT_UPDATE_MEMBER_BANK_DEPOSIT: string;
|
||||
export const SUBJECT_DELETE_MEMBER_BANK_DEPOSIT: string;
|
|
@ -0,0 +1,42 @@
|
|||
// source: c2se/frontend/member_bank_deposit.proto
|
||||
/**
|
||||
* @fileoverview
|
||||
* @enhanceable
|
||||
* @suppress {missingRequire} reports error on implicit type usages.
|
||||
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
||||
* field starts with 'MSG_' and isn't a translatable message.
|
||||
* @public
|
||||
*/
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
/* eslint-disable */
|
||||
// @ts-nocheck
|
||||
|
||||
var jspb = require("google-protobuf");
|
||||
var goog = jspb;
|
||||
var global = function () {
|
||||
return this || window || global || self || Function("return this")();
|
||||
}.call(null);
|
||||
|
||||
goog.exportSymbol(
|
||||
"proto.bet.beteran.c2se.frontend.member_bank_deposit",
|
||||
null,
|
||||
global
|
||||
);
|
||||
|
||||
proto.bet.beteran.c2se.frontend.member_bank_deposit = {};
|
||||
|
||||
proto.bet.beteran.c2se.frontend.member_bank_deposit.SUBJECT_CREATE_MEMBER_BANK_DEPOSIT =
|
||||
"bet.beteran.c2se.frontend.member_bank_deposit.CreateMemberBankDeposit";
|
||||
proto.bet.beteran.c2se.frontend.member_bank_deposit.SUBJECT_LIST_MEMBER_BANK_DEPOSITS =
|
||||
"bet.beteran.c2se.frontend.member_bank_deposit.ListMemberBankDeposits";
|
||||
proto.bet.beteran.c2se.frontend.member_bank_deposit.SUBJECT_GET_MEMBER_BANK_DEPOSIT =
|
||||
"bet.beteran.c2se.frontend.member_bank_deposit.GetMemberBankDeposit";
|
||||
proto.bet.beteran.c2se.frontend.member_bank_deposit.SUBJECT_UPDATE_MEMBER_BANK_DEPOSIT =
|
||||
"bet.beteran.c2se.frontend.member_bank_deposit.UpdateMemberBankDeposit";
|
||||
proto.bet.beteran.c2se.frontend.member_bank_deposit.SUBJECT_DELETE_MEMBER_BANK_DEPOSIT =
|
||||
"bet.beteran.c2se.frontend.member_bank_deposit.DeleteMemberBankDeposit";
|
||||
|
||||
goog.object.extend(
|
||||
exports,
|
||||
proto.bet.beteran.c2se.frontend.member_bank_deposit
|
||||
);
|
10
src/app/modules/proto/c2se/frontend/member_bank_withdraw_pb.d.ts
vendored
Normal file
10
src/app/modules/proto/c2se/frontend/member_bank_withdraw_pb.d.ts
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
// package: bet.beteran.c2se.frontend.member_bank_withdraw
|
||||
// file: c2se/frontend/member_bank_withdraw.proto
|
||||
|
||||
import * as jspb from 'google-protobuf';
|
||||
|
||||
export const SUBJECT_CREATE_MEMBER_BANK_WITHDRAW: string;
|
||||
export const SUBJECT_LIST_MEMBER_BANK_WITHDRAWS: string;
|
||||
export const SUBJECT_GET_MEMBER_BANK_WITHDRAW: string;
|
||||
export const SUBJECT_UPDATE_MEMBER_BANK_WITHDRAW: string;
|
||||
export const SUBJECT_DELETE_MEMBER_BANK_WITHDRAW: string;
|
|
@ -0,0 +1,42 @@
|
|||
// source: c2se/frontend/member_bank_withdraw.proto
|
||||
/**
|
||||
* @fileoverview
|
||||
* @enhanceable
|
||||
* @suppress {missingRequire} reports error on implicit type usages.
|
||||
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
||||
* field starts with 'MSG_' and isn't a translatable message.
|
||||
* @public
|
||||
*/
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
/* eslint-disable */
|
||||
// @ts-nocheck
|
||||
|
||||
var jspb = require("google-protobuf");
|
||||
var goog = jspb;
|
||||
var global = function () {
|
||||
return this || window || global || self || Function("return this")();
|
||||
}.call(null);
|
||||
|
||||
goog.exportSymbol(
|
||||
"proto.bet.beteran.c2se.frontend.member_bank_deposit",
|
||||
null,
|
||||
global
|
||||
);
|
||||
|
||||
proto.bet.beteran.c2se.frontend.member_bank_withdraw = {};
|
||||
|
||||
proto.bet.beteran.c2se.frontend.member_bank_withdraw.SUBJECT_CREATE_MEMBER_BANK_WITHDRAW =
|
||||
"bet.beteran.c2se.frontend.member_bank_withdraw.CreateMemberBankWithdraw";
|
||||
proto.bet.beteran.c2se.frontend.member_bank_withdraw.SUBJECT_LIST_MEMBER_BANK_WITHDRAWS =
|
||||
"bet.beteran.c2se.frontend.member_bank_withdraw.ListMemberBankWithdraws";
|
||||
proto.bet.beteran.c2se.frontend.member_bank_withdraw.SUBJECT_GET_MEMBER_BANK_WITHDRAW =
|
||||
"bet.beteran.c2se.frontend.member_bank_withdraw.GetMemberBankWithdraw";
|
||||
proto.bet.beteran.c2se.frontend.member_bank_withdraw.SUBJECT_UPDATE_MEMBER_BANK_WITHDRAW =
|
||||
"bet.beteran.c2se.frontend.member_bank_withdraw.UpdateMemberBankWithdraw";
|
||||
proto.bet.beteran.c2se.frontend.member_bank_withdraw.SUBJECT_DELETE_MEMBER_BANK_WITHDRAW =
|
||||
"bet.beteran.c2se.frontend.member_bank_withdraw.DeleteMemberBankWithdraw";
|
||||
|
||||
goog.object.extend(
|
||||
exports,
|
||||
proto.bet.beteran.c2se.frontend.member_bank_withdraw
|
||||
);
|
11
src/app/modules/proto/c2se/frontend/member_pb.d.ts
vendored
Normal file
11
src/app/modules/proto/c2se/frontend/member_pb.d.ts
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
// package: bet.beteran.c2se.frontend.member
|
||||
// file: c2se/frontend/member.proto
|
||||
|
||||
import * as jspb from 'google-protobuf';
|
||||
|
||||
export const SUBJECT_CREATE_MEMBER: string;
|
||||
export const SUBJECT_GET_MEMBER: string;
|
||||
export const SUBJECT_GET_MEMBER_BY_USERNAME: string;
|
||||
export const SUBJECT_UPDATE_MEMBER: string;
|
||||
export const SUBJECT_UPDATE_MEMBER_FOR_PASSWORD: string;
|
||||
export const SUBJECT_DELETE_MEMBER: string;
|
37
src/app/modules/proto/c2se/frontend/member_pb.js
Normal file
37
src/app/modules/proto/c2se/frontend/member_pb.js
Normal file
|
@ -0,0 +1,37 @@
|
|||
// source: c2se/frontend/member.proto
|
||||
/**
|
||||
* @fileoverview
|
||||
* @enhanceable
|
||||
* @suppress {missingRequire} reports error on implicit type usages.
|
||||
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
||||
* field starts with 'MSG_' and isn't a translatable message.
|
||||
* @public
|
||||
*/
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
/* eslint-disable */
|
||||
// @ts-nocheck
|
||||
|
||||
var jspb = require("google-protobuf");
|
||||
var goog = jspb;
|
||||
var global = function () {
|
||||
return this || window || global || self || Function("return this")();
|
||||
}.call(null);
|
||||
|
||||
goog.exportSymbol("proto.bet.beteran.c2se.frontend.member", null, global);
|
||||
|
||||
proto.bet.beteran.c2se.frontend.member = {};
|
||||
|
||||
proto.bet.beteran.c2se.frontend.member.SUBJECT_CREATE_MEMBER =
|
||||
"bet.beteran.c2se.frontend.member.CreateMember";
|
||||
proto.bet.beteran.c2se.frontend.member.SUBJECT_GET_MEMBER =
|
||||
"bet.beteran.c2se.frontend.member.GetMember";
|
||||
proto.bet.beteran.c2se.frontend.member.SUBJECT_GET_MEMBER_BY_USERNAME =
|
||||
"bet.beteran.c2se.frontend.member.GetMemberByUsername";
|
||||
proto.bet.beteran.c2se.frontend.member.SUBJECT_UPDATE_MEMBER =
|
||||
"bet.beteran.c2se.frontend.member.UpdateMember";
|
||||
proto.bet.beteran.c2se.frontend.member.SUBJECT_UPDATE_MEMBER_FOR_PASSWORD =
|
||||
"bet.beteran.c2se.frontend.member.UpdateMemberForPassword";
|
||||
proto.bet.beteran.c2se.frontend.member.SUBJECT_DELETE_MEMBER =
|
||||
"bet.beteran.c2se.frontend.member.DeleteMember";
|
||||
|
||||
goog.object.extend(exports, proto.bet.beteran.c2se.frontend.member);
|
|
@ -425,9 +425,6 @@ export class UpdateMemberBankAccountRequest extends jspb.Message {
|
|||
getAccountNumber(): string;
|
||||
setAccountNumber(value: string): void;
|
||||
|
||||
getExchangePassword(): string;
|
||||
setExchangePassword(value: string): void;
|
||||
|
||||
hasMemo(): boolean;
|
||||
clearMemo(): void;
|
||||
getMemo(): string;
|
||||
|
@ -460,7 +457,6 @@ export namespace UpdateMemberBankAccountRequest {
|
|||
bankId: string;
|
||||
name: string;
|
||||
accountNumber: string;
|
||||
exchangePassword: string;
|
||||
memo: string;
|
||||
};
|
||||
}
|
||||
|
@ -538,6 +534,115 @@ export namespace UpdateMemberBankAccountResponse {
|
|||
}
|
||||
}
|
||||
|
||||
export class UpdateMemberBankAccountForExchangePasswordRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
getExchangePassword(): string;
|
||||
setExchangePassword(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(
|
||||
includeInstance?: boolean
|
||||
): UpdateMemberBankAccountForExchangePasswordRequest.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: UpdateMemberBankAccountForExchangePasswordRequest
|
||||
): UpdateMemberBankAccountForExchangePasswordRequest.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: UpdateMemberBankAccountForExchangePasswordRequest,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(
|
||||
bytes: Uint8Array
|
||||
): UpdateMemberBankAccountForExchangePasswordRequest;
|
||||
static deserializeBinaryFromReader(
|
||||
message: UpdateMemberBankAccountForExchangePasswordRequest,
|
||||
reader: jspb.BinaryReader
|
||||
): UpdateMemberBankAccountForExchangePasswordRequest;
|
||||
}
|
||||
|
||||
export namespace UpdateMemberBankAccountForExchangePasswordRequest {
|
||||
export type AsObject = {
|
||||
id: string;
|
||||
exchangePassword: string;
|
||||
};
|
||||
}
|
||||
|
||||
export class UpdateMemberBankAccountForExchangePasswordResponse extends jspb.Message {
|
||||
hasError(): boolean;
|
||||
clearError(): void;
|
||||
getError(): protobuf_rpc_pb.Error | undefined;
|
||||
setError(value?: protobuf_rpc_pb.Error): void;
|
||||
|
||||
hasResult(): boolean;
|
||||
clearResult(): void;
|
||||
getResult():
|
||||
| UpdateMemberBankAccountForExchangePasswordResponse.Result
|
||||
| undefined;
|
||||
setResult(
|
||||
value?: UpdateMemberBankAccountForExchangePasswordResponse.Result
|
||||
): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(
|
||||
includeInstance?: boolean
|
||||
): UpdateMemberBankAccountForExchangePasswordResponse.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: UpdateMemberBankAccountForExchangePasswordResponse
|
||||
): UpdateMemberBankAccountForExchangePasswordResponse.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: UpdateMemberBankAccountForExchangePasswordResponse,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(
|
||||
bytes: Uint8Array
|
||||
): UpdateMemberBankAccountForExchangePasswordResponse;
|
||||
static deserializeBinaryFromReader(
|
||||
message: UpdateMemberBankAccountForExchangePasswordResponse,
|
||||
reader: jspb.BinaryReader
|
||||
): UpdateMemberBankAccountForExchangePasswordResponse;
|
||||
}
|
||||
|
||||
export namespace UpdateMemberBankAccountForExchangePasswordResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject;
|
||||
result?: UpdateMemberBankAccountForExchangePasswordResponse.Result.AsObject;
|
||||
};
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Result.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Result): Result.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: Result,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Result;
|
||||
static deserializeBinaryFromReader(
|
||||
message: Result,
|
||||
reader: jspb.BinaryReader
|
||||
): Result;
|
||||
}
|
||||
|
||||
export namespace Result {
|
||||
export type AsObject = {};
|
||||
}
|
||||
}
|
||||
|
||||
export class DeleteMemberBankAccountRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
|
|
@ -88,6 +88,21 @@ goog.exportSymbol(
|
|||
null,
|
||||
global
|
||||
);
|
||||
goog.exportSymbol(
|
||||
"proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordRequest",
|
||||
null,
|
||||
global
|
||||
);
|
||||
goog.exportSymbol(
|
||||
"proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse",
|
||||
null,
|
||||
global
|
||||
);
|
||||
goog.exportSymbol(
|
||||
"proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.Result",
|
||||
null,
|
||||
global
|
||||
);
|
||||
goog.exportSymbol(
|
||||
"proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest",
|
||||
null,
|
||||
|
@ -462,6 +477,87 @@ if (goog.DEBUG && !COMPILED) {
|
|||
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result.displayName =
|
||||
"proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result";
|
||||
}
|
||||
/**
|
||||
* 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_bank_account.UpdateMemberBankAccountForExchangePasswordRequest =
|
||||
function (opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(
|
||||
proto.bet.beteran.c2se.member_bank_account
|
||||
.UpdateMemberBankAccountForExchangePasswordRequest,
|
||||
jspb.Message
|
||||
);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordRequest.displayName =
|
||||
"proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordRequest";
|
||||
}
|
||||
/**
|
||||
* 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_bank_account.UpdateMemberBankAccountForExchangePasswordResponse =
|
||||
function (opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(
|
||||
proto.bet.beteran.c2se.member_bank_account
|
||||
.UpdateMemberBankAccountForExchangePasswordResponse,
|
||||
jspb.Message
|
||||
);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.displayName =
|
||||
"proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse";
|
||||
}
|
||||
/**
|
||||
* 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_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.Result =
|
||||
function (opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(
|
||||
proto.bet.beteran.c2se.member_bank_account
|
||||
.UpdateMemberBankAccountForExchangePasswordResponse.Result,
|
||||
jspb.Message
|
||||
);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.Result.displayName =
|
||||
"proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.Result";
|
||||
}
|
||||
/**
|
||||
* Generated by JsPbCodeGenerator.
|
||||
* @param {Array=} opt_data Optional initial data array, typically from a
|
||||
|
@ -2888,8 +2984,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|||
bankId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
||||
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
||||
accountNumber: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
||||
exchangePassword: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
||||
memo: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
||||
memo: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
||||
};
|
||||
|
||||
if (includeInstance) {
|
||||
|
@ -2947,10 +3042,6 @@ proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.deseri
|
|||
msg.setAccountNumber(value);
|
||||
break;
|
||||
case 5:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setExchangePassword(value);
|
||||
break;
|
||||
case 6:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setMemo(value);
|
||||
break;
|
||||
|
@ -3002,13 +3093,9 @@ proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.serial
|
|||
if (f.length > 0) {
|
||||
writer.writeString(4, f);
|
||||
}
|
||||
f = message.getExchangePassword();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(5, f);
|
||||
}
|
||||
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
||||
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
||||
if (f != null) {
|
||||
writer.writeString(6, f);
|
||||
writer.writeString(5, f);
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -3093,43 +3180,23 @@ proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.protot
|
|||
};
|
||||
|
||||
/**
|
||||
* optional string exchange_password = 5;
|
||||
* optional string memo = 5;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.getExchangePassword =
|
||||
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.getMemo =
|
||||
function () {
|
||||
return /** @type {string} */ (
|
||||
jspb.Message.getFieldWithDefault(this, 5, "")
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest} returns this
|
||||
*/
|
||||
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.setExchangePassword =
|
||||
function (value) {
|
||||
return jspb.Message.setProto3StringField(this, 5, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* optional string memo = 6;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.getMemo =
|
||||
function () {
|
||||
return /** @type {string} */ (
|
||||
jspb.Message.getFieldWithDefault(this, 6, "")
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest} returns this
|
||||
*/
|
||||
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.setMemo =
|
||||
function (value) {
|
||||
return jspb.Message.setField(this, 6, value);
|
||||
return jspb.Message.setField(this, 5, value);
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -3138,7 +3205,7 @@ proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.protot
|
|||
*/
|
||||
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.clearMemo =
|
||||
function () {
|
||||
return jspb.Message.setField(this, 6, undefined);
|
||||
return jspb.Message.setField(this, 5, undefined);
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -3147,7 +3214,7 @@ proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.protot
|
|||
*/
|
||||
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.hasMemo =
|
||||
function () {
|
||||
return jspb.Message.getField(this, 6) != null;
|
||||
return jspb.Message.getField(this, 5) != null;
|
||||
};
|
||||
|
||||
if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||
|
@ -3553,6 +3620,510 @@ proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.proto
|
|||
return jspb.Message.getField(this, 2) != null;
|
||||
};
|
||||
|
||||
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_bank_account.UpdateMemberBankAccountForExchangePasswordRequest.prototype.toObject =
|
||||
function (opt_includeInstance) {
|
||||
return proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordRequest.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_bank_account.UpdateMemberBankAccountForExchangePasswordRequest} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordRequest.toObject =
|
||||
function (includeInstance, msg) {
|
||||
var f,
|
||||
obj = {
|
||||
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
exchangePassword: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
||||
};
|
||||
|
||||
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_bank_account.UpdateMemberBankAccountForExchangePasswordRequest}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordRequest.deserializeBinary =
|
||||
function (bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg =
|
||||
new proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordRequest();
|
||||
return proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordRequest.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_bank_account.UpdateMemberBankAccountForExchangePasswordRequest} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordRequest}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordRequest.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.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_bank_account.UpdateMemberBankAccountForExchangePasswordRequest.prototype.serializeBinary =
|
||||
function () {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordRequest.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_bank_account.UpdateMemberBankAccountForExchangePasswordRequest} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordRequest.serializeBinaryToWriter =
|
||||
function (message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getId();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(1, f);
|
||||
}
|
||||
f = message.getExchangePassword();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(2, f);
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* optional string id = 1;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordRequest.prototype.getId =
|
||||
function () {
|
||||
return /** @type {string} */ (
|
||||
jspb.Message.getFieldWithDefault(this, 1, "")
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordRequest} returns this
|
||||
*/
|
||||
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordRequest.prototype.setId =
|
||||
function (value) {
|
||||
return jspb.Message.setProto3StringField(this, 1, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* optional string exchange_password = 2;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordRequest.prototype.getExchangePassword =
|
||||
function () {
|
||||
return /** @type {string} */ (
|
||||
jspb.Message.getFieldWithDefault(this, 2, "")
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordRequest} returns this
|
||||
*/
|
||||
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordRequest.prototype.setExchangePassword =
|
||||
function (value) {
|
||||
return jspb.Message.setProto3StringField(this, 2, 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.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.prototype.toObject =
|
||||
function (opt_includeInstance) {
|
||||
return proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.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_bank_account.UpdateMemberBankAccountForExchangePasswordResponse} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.toObject =
|
||||
function (includeInstance, msg) {
|
||||
var f,
|
||||
obj = {
|
||||
error:
|
||||
(f = msg.getError()) &&
|
||||
protobuf_rpc_pb.Error.toObject(includeInstance, f),
|
||||
result:
|
||||
(f = msg.getResult()) &&
|
||||
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.Result.toObject(
|
||||
includeInstance,
|
||||
f
|
||||
),
|
||||
};
|
||||
|
||||
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_bank_account.UpdateMemberBankAccountForExchangePasswordResponse}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.deserializeBinary =
|
||||
function (bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg =
|
||||
new proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse();
|
||||
return proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.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_bank_account.UpdateMemberBankAccountForExchangePasswordResponse} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.deserializeBinaryFromReader =
|
||||
function (msg, reader) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
}
|
||||
var field = reader.getFieldNumber();
|
||||
switch (field) {
|
||||
case 1:
|
||||
var value = new protobuf_rpc_pb.Error();
|
||||
reader.readMessage(
|
||||
value,
|
||||
protobuf_rpc_pb.Error.deserializeBinaryFromReader
|
||||
);
|
||||
msg.setError(value);
|
||||
break;
|
||||
case 2:
|
||||
var value =
|
||||
new proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.Result();
|
||||
reader.readMessage(
|
||||
value,
|
||||
proto.bet.beteran.c2se.member_bank_account
|
||||
.UpdateMemberBankAccountForExchangePasswordResponse.Result
|
||||
.deserializeBinaryFromReader
|
||||
);
|
||||
msg.setResult(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_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.prototype.serializeBinary =
|
||||
function () {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.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_bank_account.UpdateMemberBankAccountForExchangePasswordResponse} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.serializeBinaryToWriter =
|
||||
function (message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getError();
|
||||
if (f != null) {
|
||||
writer.writeMessage(1, f, protobuf_rpc_pb.Error.serializeBinaryToWriter);
|
||||
}
|
||||
f = message.getResult();
|
||||
if (f != null) {
|
||||
writer.writeMessage(
|
||||
2,
|
||||
f,
|
||||
proto.bet.beteran.c2se.member_bank_account
|
||||
.UpdateMemberBankAccountForExchangePasswordResponse.Result
|
||||
.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_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.Result.prototype.toObject =
|
||||
function (opt_includeInstance) {
|
||||
return proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.Result.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_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.Result} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.Result.toObject =
|
||||
function (includeInstance, msg) {
|
||||
var f,
|
||||
obj = {};
|
||||
|
||||
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_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.Result}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.Result.deserializeBinary =
|
||||
function (bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg =
|
||||
new proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.Result();
|
||||
return proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.Result.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_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.Result} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.Result}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.Result.deserializeBinaryFromReader =
|
||||
function (msg, reader) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
}
|
||||
var field = reader.getFieldNumber();
|
||||
switch (field) {
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
};
|
||||
|
||||
/**
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.Result.prototype.serializeBinary =
|
||||
function () {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.Result.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_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.Result} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.Result.serializeBinaryToWriter =
|
||||
function (message, writer) {
|
||||
var f = undefined;
|
||||
};
|
||||
|
||||
/**
|
||||
* optional bet.protobuf.rpc.Error error = 1;
|
||||
* @return {?proto.bet.protobuf.rpc.Error}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.prototype.getError =
|
||||
function () {
|
||||
return /** @type{?proto.bet.protobuf.rpc.Error} */ (
|
||||
jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1)
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {?proto.bet.protobuf.rpc.Error|undefined} value
|
||||
* @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse} returns this
|
||||
*/
|
||||
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.prototype.setError =
|
||||
function (value) {
|
||||
return jspb.Message.setWrapperField(this, 1, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* Clears the message field making it undefined.
|
||||
* @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse} returns this
|
||||
*/
|
||||
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.prototype.clearError =
|
||||
function () {
|
||||
return this.setError(undefined);
|
||||
};
|
||||
|
||||
/**
|
||||
* Returns whether this field is set.
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.prototype.hasError =
|
||||
function () {
|
||||
return jspb.Message.getField(this, 1) != null;
|
||||
};
|
||||
|
||||
/**
|
||||
* optional Result result = 2;
|
||||
* @return {?proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.Result}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.prototype.getResult =
|
||||
function () {
|
||||
return /** @type{?proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.Result} */ (
|
||||
jspb.Message.getWrapperField(
|
||||
this,
|
||||
proto.bet.beteran.c2se.member_bank_account
|
||||
.UpdateMemberBankAccountForExchangePasswordResponse.Result,
|
||||
2
|
||||
)
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {?proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.Result|undefined} value
|
||||
* @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse} returns this
|
||||
*/
|
||||
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.prototype.setResult =
|
||||
function (value) {
|
||||
return jspb.Message.setWrapperField(this, 2, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* Clears the message field making it undefined.
|
||||
* @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse} returns this
|
||||
*/
|
||||
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.prototype.clearResult =
|
||||
function () {
|
||||
return this.setResult(undefined);
|
||||
};
|
||||
|
||||
/**
|
||||
* Returns whether this field is set.
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.prototype.hasResult =
|
||||
function () {
|
||||
return jspb.Message.getField(this, 2) != null;
|
||||
};
|
||||
|
||||
if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||
/**
|
||||
* Creates an object representation of this proto.
|
||||
|
|
117
src/app/modules/proto/c2se/member_pb.d.ts
vendored
117
src/app/modules/proto/c2se/member_pb.d.ts
vendored
|
@ -100,6 +100,11 @@ export namespace CreateMemberRequest {
|
|||
getExchangePassword(): string;
|
||||
setExchangePassword(value: string): void;
|
||||
|
||||
hasMemo(): boolean;
|
||||
clearMemo(): void;
|
||||
getMemo(): string;
|
||||
setMemo(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): BankAccount.AsObject;
|
||||
static toObject(
|
||||
|
@ -127,6 +132,7 @@ export namespace CreateMemberRequest {
|
|||
name: string;
|
||||
accountNumber: string;
|
||||
exchangePassword: string;
|
||||
memo: string;
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -782,11 +788,6 @@ export class UpdateMemberRequest extends jspb.Message {
|
|||
getMemberLevelId(): string;
|
||||
setMemberLevelId(value: string): void;
|
||||
|
||||
hasPassword(): boolean;
|
||||
clearPassword(): void;
|
||||
getPassword(): string;
|
||||
setPassword(value: string): void;
|
||||
|
||||
hasMobilePhoneNumber(): boolean;
|
||||
clearMobilePhoneNumber(): void;
|
||||
getMobilePhoneNumber(): string;
|
||||
|
@ -833,7 +834,6 @@ export namespace UpdateMemberRequest {
|
|||
id: string;
|
||||
siteId: string;
|
||||
memberLevelId: string;
|
||||
password: string;
|
||||
mobilePhoneNumber: string;
|
||||
bankAccount?: UpdateMemberRequest.BankAccount.AsObject;
|
||||
gameSetting?: UpdateMemberRequest.GameSetting.AsObject;
|
||||
|
@ -853,8 +853,10 @@ export namespace UpdateMemberRequest {
|
|||
getAccountNumber(): string;
|
||||
setAccountNumber(value: string): void;
|
||||
|
||||
getExchangePassword(): string;
|
||||
setExchangePassword(value: string): void;
|
||||
hasMemo(): boolean;
|
||||
clearMemo(): void;
|
||||
getMemo(): string;
|
||||
setMemo(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): BankAccount.AsObject;
|
||||
|
@ -883,7 +885,7 @@ export namespace UpdateMemberRequest {
|
|||
bankId: string;
|
||||
name: string;
|
||||
accountNumber: string;
|
||||
exchangePassword: string;
|
||||
memo: string;
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -1127,6 +1129,103 @@ export namespace UpdateMemberResponse {
|
|||
}
|
||||
}
|
||||
|
||||
export class UpdateMemberForPasswordRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
getPassword(): string;
|
||||
setPassword(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateMemberForPasswordRequest.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: UpdateMemberForPasswordRequest
|
||||
): UpdateMemberForPasswordRequest.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: UpdateMemberForPasswordRequest,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateMemberForPasswordRequest;
|
||||
static deserializeBinaryFromReader(
|
||||
message: UpdateMemberForPasswordRequest,
|
||||
reader: jspb.BinaryReader
|
||||
): UpdateMemberForPasswordRequest;
|
||||
}
|
||||
|
||||
export namespace UpdateMemberForPasswordRequest {
|
||||
export type AsObject = {
|
||||
id: string;
|
||||
password: string;
|
||||
};
|
||||
}
|
||||
|
||||
export class UpdateMemberForPasswordResponse extends jspb.Message {
|
||||
hasError(): boolean;
|
||||
clearError(): void;
|
||||
getError(): protobuf_rpc_pb.Error | undefined;
|
||||
setError(value?: protobuf_rpc_pb.Error): void;
|
||||
|
||||
hasResult(): boolean;
|
||||
clearResult(): void;
|
||||
getResult(): UpdateMemberForPasswordResponse.Result | undefined;
|
||||
setResult(value?: UpdateMemberForPasswordResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateMemberForPasswordResponse.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: UpdateMemberForPasswordResponse
|
||||
): UpdateMemberForPasswordResponse.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: UpdateMemberForPasswordResponse,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateMemberForPasswordResponse;
|
||||
static deserializeBinaryFromReader(
|
||||
message: UpdateMemberForPasswordResponse,
|
||||
reader: jspb.BinaryReader
|
||||
): UpdateMemberForPasswordResponse;
|
||||
}
|
||||
|
||||
export namespace UpdateMemberForPasswordResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject;
|
||||
result?: UpdateMemberForPasswordResponse.Result.AsObject;
|
||||
};
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Result.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Result): Result.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: Result,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Result;
|
||||
static deserializeBinaryFromReader(
|
||||
message: Result,
|
||||
reader: jspb.BinaryReader
|
||||
): Result;
|
||||
}
|
||||
|
||||
export namespace Result {
|
||||
export type AsObject = {};
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateMemberForStateRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
|
|
@ -120,6 +120,21 @@ goog.exportSymbol(
|
|||
null,
|
||||
global
|
||||
);
|
||||
goog.exportSymbol(
|
||||
"proto.bet.beteran.c2se.member.UpdateMemberForPasswordRequest",
|
||||
null,
|
||||
global
|
||||
);
|
||||
goog.exportSymbol(
|
||||
"proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse",
|
||||
null,
|
||||
global
|
||||
);
|
||||
goog.exportSymbol(
|
||||
"proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.Result",
|
||||
null,
|
||||
global
|
||||
);
|
||||
goog.exportSymbol(
|
||||
"proto.bet.beteran.c2se.member.UpdateMemberForStateRequest",
|
||||
null,
|
||||
|
@ -725,6 +740,86 @@ if (goog.DEBUG && !COMPILED) {
|
|||
proto.bet.beteran.c2se.member.UpdateMemberResponse.Result.displayName =
|
||||
"proto.bet.beteran.c2se.member.UpdateMemberResponse.Result";
|
||||
}
|
||||
/**
|
||||
* 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.UpdateMemberForPasswordRequest = function (
|
||||
opt_data
|
||||
) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(
|
||||
proto.bet.beteran.c2se.member.UpdateMemberForPasswordRequest,
|
||||
jspb.Message
|
||||
);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberForPasswordRequest.displayName =
|
||||
"proto.bet.beteran.c2se.member.UpdateMemberForPasswordRequest";
|
||||
}
|
||||
/**
|
||||
* 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.UpdateMemberForPasswordResponse = function (
|
||||
opt_data
|
||||
) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(
|
||||
proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse,
|
||||
jspb.Message
|
||||
);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.displayName =
|
||||
"proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse";
|
||||
}
|
||||
/**
|
||||
* 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.UpdateMemberForPasswordResponse.Result =
|
||||
function (opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(
|
||||
proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.Result,
|
||||
jspb.Message
|
||||
);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.Result.displayName =
|
||||
"proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.Result";
|
||||
}
|
||||
/**
|
||||
* Generated by JsPbCodeGenerator.
|
||||
* @param {Array=} opt_data Optional initial data array, typically from a
|
||||
|
@ -1173,6 +1268,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|||
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
||||
accountNumber: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
||||
exchangePassword: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
||||
memo: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
||||
};
|
||||
|
||||
if (includeInstance) {
|
||||
|
@ -1229,6 +1325,10 @@ proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.deserializeBinaryF
|
|||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setExchangePassword(value);
|
||||
break;
|
||||
case 5:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setMemo(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
|
@ -1277,6 +1377,10 @@ proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.serializeBinaryToW
|
|||
if (f.length > 0) {
|
||||
writer.writeString(4, f);
|
||||
}
|
||||
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
||||
if (f != null) {
|
||||
writer.writeString(5, f);
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -1359,6 +1463,44 @@ proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.prototype.setExcha
|
|||
return jspb.Message.setProto3StringField(this, 4, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* optional string memo = 5;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.prototype.getMemo =
|
||||
function () {
|
||||
return /** @type {string} */ (
|
||||
jspb.Message.getFieldWithDefault(this, 5, "")
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount} returns this
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.prototype.setMemo =
|
||||
function (value) {
|
||||
return jspb.Message.setField(this, 5, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* Clears the field making it undefined.
|
||||
* @return {!proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount} returns this
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.prototype.clearMemo =
|
||||
function () {
|
||||
return jspb.Message.setField(this, 5, undefined);
|
||||
};
|
||||
|
||||
/**
|
||||
* Returns whether this field is set.
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.prototype.hasMemo =
|
||||
function () {
|
||||
return jspb.Message.getField(this, 5) != null;
|
||||
};
|
||||
|
||||
if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||
/**
|
||||
* Creates an object representation of this proto.
|
||||
|
@ -5537,8 +5679,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|||
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
siteId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
||||
memberLevelId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
||||
password: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
||||
mobilePhoneNumber: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
||||
mobilePhoneNumber: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
||||
bankAccount:
|
||||
(f = msg.getBankAccount()) &&
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.toObject(
|
||||
|
@ -5610,14 +5751,10 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.deserializeBinaryFromReader =
|
|||
msg.setMemberLevelId(value);
|
||||
break;
|
||||
case 4:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setPassword(value);
|
||||
break;
|
||||
case 5:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setMobilePhoneNumber(value);
|
||||
break;
|
||||
case 6:
|
||||
case 5:
|
||||
var value =
|
||||
new proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount();
|
||||
reader.readMessage(
|
||||
|
@ -5627,7 +5764,7 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.deserializeBinaryFromReader =
|
|||
);
|
||||
msg.setBankAccount(value);
|
||||
break;
|
||||
case 7:
|
||||
case 6:
|
||||
var value =
|
||||
new proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting();
|
||||
reader.readMessage(
|
||||
|
@ -5637,7 +5774,7 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.deserializeBinaryFromReader =
|
|||
);
|
||||
msg.setGameSetting(value);
|
||||
break;
|
||||
case 8:
|
||||
case 7:
|
||||
var value =
|
||||
new proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting();
|
||||
reader.readMessage(
|
||||
|
@ -5695,14 +5832,10 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.serializeBinaryToWriter =
|
|||
if (f != null) {
|
||||
writer.writeString(4, f);
|
||||
}
|
||||
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
||||
if (f != null) {
|
||||
writer.writeString(5, f);
|
||||
}
|
||||
f = message.getBankAccount();
|
||||
if (f != null) {
|
||||
writer.writeMessage(
|
||||
6,
|
||||
5,
|
||||
f,
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount
|
||||
.serializeBinaryToWriter
|
||||
|
@ -5711,7 +5844,7 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.serializeBinaryToWriter =
|
|||
f = message.getGameSetting();
|
||||
if (f != null) {
|
||||
writer.writeMessage(
|
||||
7,
|
||||
6,
|
||||
f,
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting
|
||||
.serializeBinaryToWriter
|
||||
|
@ -5720,7 +5853,7 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.serializeBinaryToWriter =
|
|||
f = message.getSettlementSetting();
|
||||
if (f != null) {
|
||||
writer.writeMessage(
|
||||
8,
|
||||
7,
|
||||
f,
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting
|
||||
.serializeBinaryToWriter
|
||||
|
@ -5766,7 +5899,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|||
bankId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
||||
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
||||
accountNumber: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
||||
exchangePassword: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
||||
memo: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
||||
};
|
||||
|
||||
if (includeInstance) {
|
||||
|
@ -5825,7 +5958,7 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.deserializeBinaryF
|
|||
break;
|
||||
case 5:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setExchangePassword(value);
|
||||
msg.setMemo(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
|
@ -5875,8 +6008,8 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.serializeBinaryToW
|
|||
if (f.length > 0) {
|
||||
writer.writeString(4, f);
|
||||
}
|
||||
f = message.getExchangePassword();
|
||||
if (f.length > 0) {
|
||||
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
||||
if (f != null) {
|
||||
writer.writeString(5, f);
|
||||
}
|
||||
};
|
||||
|
@ -5962,10 +6095,10 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.setAccou
|
|||
};
|
||||
|
||||
/**
|
||||
* optional string exchange_password = 5;
|
||||
* optional string memo = 5;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.getExchangePassword =
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.getMemo =
|
||||
function () {
|
||||
return /** @type {string} */ (
|
||||
jspb.Message.getFieldWithDefault(this, 5, "")
|
||||
|
@ -5976,9 +6109,27 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.getExcha
|
|||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount} returns this
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.setExchangePassword =
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.setMemo =
|
||||
function (value) {
|
||||
return jspb.Message.setProto3StringField(this, 5, value);
|
||||
return jspb.Message.setField(this, 5, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* Clears the field making it undefined.
|
||||
* @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount} returns this
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.clearMemo =
|
||||
function () {
|
||||
return jspb.Message.setField(this, 5, undefined);
|
||||
};
|
||||
|
||||
/**
|
||||
* Returns whether this field is set.
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.hasMemo =
|
||||
function () {
|
||||
return jspb.Message.getField(this, 5) != null;
|
||||
};
|
||||
|
||||
if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||
|
@ -7187,10 +7338,10 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.hasMemberLevelId =
|
|||
};
|
||||
|
||||
/**
|
||||
* optional string password = 4;
|
||||
* optional string mobile_phone_number = 4;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getPassword =
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getMobilePhoneNumber =
|
||||
function () {
|
||||
return /** @type {string} */ (
|
||||
jspb.Message.getFieldWithDefault(this, 4, "")
|
||||
|
@ -7201,7 +7352,7 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getPassword =
|
|||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest} returns this
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.setPassword =
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.setMobilePhoneNumber =
|
||||
function (value) {
|
||||
return jspb.Message.setField(this, 4, value);
|
||||
};
|
||||
|
@ -7210,7 +7361,7 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.setPassword =
|
|||
* Clears the field making it undefined.
|
||||
* @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest} returns this
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.clearPassword =
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.clearMobilePhoneNumber =
|
||||
function () {
|
||||
return jspb.Message.setField(this, 4, undefined);
|
||||
};
|
||||
|
@ -7219,51 +7370,13 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.clearPassword =
|
|||
* Returns whether this field is set.
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.hasPassword =
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.hasMobilePhoneNumber =
|
||||
function () {
|
||||
return jspb.Message.getField(this, 4) != null;
|
||||
};
|
||||
|
||||
/**
|
||||
* optional string mobile_phone_number = 5;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getMobilePhoneNumber =
|
||||
function () {
|
||||
return /** @type {string} */ (
|
||||
jspb.Message.getFieldWithDefault(this, 5, "")
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest} returns this
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.setMobilePhoneNumber =
|
||||
function (value) {
|
||||
return jspb.Message.setField(this, 5, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* Clears the field making it undefined.
|
||||
* @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest} returns this
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.clearMobilePhoneNumber =
|
||||
function () {
|
||||
return jspb.Message.setField(this, 5, undefined);
|
||||
};
|
||||
|
||||
/**
|
||||
* Returns whether this field is set.
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.hasMobilePhoneNumber =
|
||||
function () {
|
||||
return jspb.Message.getField(this, 5) != null;
|
||||
};
|
||||
|
||||
/**
|
||||
* optional BankAccount bank_account = 6;
|
||||
* optional BankAccount bank_account = 5;
|
||||
* @return {?proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getBankAccount =
|
||||
|
@ -7272,7 +7385,7 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getBankAccount =
|
|||
jspb.Message.getWrapperField(
|
||||
this,
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount,
|
||||
6
|
||||
5
|
||||
)
|
||||
);
|
||||
};
|
||||
|
@ -7283,7 +7396,7 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getBankAccount =
|
|||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.setBankAccount =
|
||||
function (value) {
|
||||
return jspb.Message.setWrapperField(this, 6, value);
|
||||
return jspb.Message.setWrapperField(this, 5, value);
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -7301,11 +7414,11 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.clearBankAccount =
|
|||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.hasBankAccount =
|
||||
function () {
|
||||
return jspb.Message.getField(this, 6) != null;
|
||||
return jspb.Message.getField(this, 5) != null;
|
||||
};
|
||||
|
||||
/**
|
||||
* optional GameSetting game_setting = 7;
|
||||
* optional GameSetting game_setting = 6;
|
||||
* @return {?proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getGameSetting =
|
||||
|
@ -7314,7 +7427,7 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getGameSetting =
|
|||
jspb.Message.getWrapperField(
|
||||
this,
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting,
|
||||
7
|
||||
6
|
||||
)
|
||||
);
|
||||
};
|
||||
|
@ -7325,7 +7438,7 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getGameSetting =
|
|||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.setGameSetting =
|
||||
function (value) {
|
||||
return jspb.Message.setWrapperField(this, 7, value);
|
||||
return jspb.Message.setWrapperField(this, 6, value);
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -7343,11 +7456,11 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.clearGameSetting =
|
|||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.hasGameSetting =
|
||||
function () {
|
||||
return jspb.Message.getField(this, 7) != null;
|
||||
return jspb.Message.getField(this, 6) != null;
|
||||
};
|
||||
|
||||
/**
|
||||
* optional SettlementSetting settlement_setting = 8;
|
||||
* optional SettlementSetting settlement_setting = 7;
|
||||
* @return {?proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getSettlementSetting =
|
||||
|
@ -7356,7 +7469,7 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getSettlementSetting
|
|||
jspb.Message.getWrapperField(
|
||||
this,
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting,
|
||||
8
|
||||
7
|
||||
)
|
||||
);
|
||||
};
|
||||
|
@ -7367,7 +7480,7 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getSettlementSetting
|
|||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.setSettlementSetting =
|
||||
function (value) {
|
||||
return jspb.Message.setWrapperField(this, 8, value);
|
||||
return jspb.Message.setWrapperField(this, 7, value);
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -7385,7 +7498,7 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.clearSettlementSetti
|
|||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.hasSettlementSetting =
|
||||
function () {
|
||||
return jspb.Message.getField(this, 8) != null;
|
||||
return jspb.Message.getField(this, 7) != null;
|
||||
};
|
||||
|
||||
if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||
|
@ -7781,6 +7894,507 @@ proto.bet.beteran.c2se.member.UpdateMemberResponse.prototype.hasResult =
|
|||
return jspb.Message.getField(this, 2) != null;
|
||||
};
|
||||
|
||||
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.UpdateMemberForPasswordRequest.prototype.toObject =
|
||||
function (opt_includeInstance) {
|
||||
return proto.bet.beteran.c2se.member.UpdateMemberForPasswordRequest.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.UpdateMemberForPasswordRequest} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberForPasswordRequest.toObject =
|
||||
function (includeInstance, msg) {
|
||||
var f,
|
||||
obj = {
|
||||
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
password: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
||||
};
|
||||
|
||||
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.UpdateMemberForPasswordRequest}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberForPasswordRequest.deserializeBinary =
|
||||
function (bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg =
|
||||
new proto.bet.beteran.c2se.member.UpdateMemberForPasswordRequest();
|
||||
return proto.bet.beteran.c2se.member.UpdateMemberForPasswordRequest.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.UpdateMemberForPasswordRequest} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.bet.beteran.c2se.member.UpdateMemberForPasswordRequest}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberForPasswordRequest.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.setPassword(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.UpdateMemberForPasswordRequest.prototype.serializeBinary =
|
||||
function () {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.bet.beteran.c2se.member.UpdateMemberForPasswordRequest.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.UpdateMemberForPasswordRequest} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberForPasswordRequest.serializeBinaryToWriter =
|
||||
function (message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getId();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(1, f);
|
||||
}
|
||||
f = message.getPassword();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(2, f);
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* optional string id = 1;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberForPasswordRequest.prototype.getId =
|
||||
function () {
|
||||
return /** @type {string} */ (
|
||||
jspb.Message.getFieldWithDefault(this, 1, "")
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.c2se.member.UpdateMemberForPasswordRequest} returns this
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberForPasswordRequest.prototype.setId =
|
||||
function (value) {
|
||||
return jspb.Message.setProto3StringField(this, 1, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* optional string password = 2;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberForPasswordRequest.prototype.getPassword =
|
||||
function () {
|
||||
return /** @type {string} */ (
|
||||
jspb.Message.getFieldWithDefault(this, 2, "")
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.c2se.member.UpdateMemberForPasswordRequest} returns this
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberForPasswordRequest.prototype.setPassword =
|
||||
function (value) {
|
||||
return jspb.Message.setProto3StringField(this, 2, 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.c2se.member.UpdateMemberForPasswordResponse.prototype.toObject =
|
||||
function (opt_includeInstance) {
|
||||
return proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.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.UpdateMemberForPasswordResponse} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.toObject =
|
||||
function (includeInstance, msg) {
|
||||
var f,
|
||||
obj = {
|
||||
error:
|
||||
(f = msg.getError()) &&
|
||||
protobuf_rpc_pb.Error.toObject(includeInstance, f),
|
||||
result:
|
||||
(f = msg.getResult()) &&
|
||||
proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.Result.toObject(
|
||||
includeInstance,
|
||||
f
|
||||
),
|
||||
};
|
||||
|
||||
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.UpdateMemberForPasswordResponse}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.deserializeBinary =
|
||||
function (bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg =
|
||||
new proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse();
|
||||
return proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.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.UpdateMemberForPasswordResponse} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.deserializeBinaryFromReader =
|
||||
function (msg, reader) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
}
|
||||
var field = reader.getFieldNumber();
|
||||
switch (field) {
|
||||
case 1:
|
||||
var value = new protobuf_rpc_pb.Error();
|
||||
reader.readMessage(
|
||||
value,
|
||||
protobuf_rpc_pb.Error.deserializeBinaryFromReader
|
||||
);
|
||||
msg.setError(value);
|
||||
break;
|
||||
case 2:
|
||||
var value =
|
||||
new proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.Result();
|
||||
reader.readMessage(
|
||||
value,
|
||||
proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.Result
|
||||
.deserializeBinaryFromReader
|
||||
);
|
||||
msg.setResult(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.UpdateMemberForPasswordResponse.prototype.serializeBinary =
|
||||
function () {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.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.UpdateMemberForPasswordResponse} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.serializeBinaryToWriter =
|
||||
function (message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getError();
|
||||
if (f != null) {
|
||||
writer.writeMessage(1, f, protobuf_rpc_pb.Error.serializeBinaryToWriter);
|
||||
}
|
||||
f = message.getResult();
|
||||
if (f != null) {
|
||||
writer.writeMessage(
|
||||
2,
|
||||
f,
|
||||
proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.Result
|
||||
.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.UpdateMemberForPasswordResponse.Result.prototype.toObject =
|
||||
function (opt_includeInstance) {
|
||||
return proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.Result.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.UpdateMemberForPasswordResponse.Result} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.Result.toObject =
|
||||
function (includeInstance, msg) {
|
||||
var f,
|
||||
obj = {};
|
||||
|
||||
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.UpdateMemberForPasswordResponse.Result}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.Result.deserializeBinary =
|
||||
function (bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg =
|
||||
new proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.Result();
|
||||
return proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.Result.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.UpdateMemberForPasswordResponse.Result} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.Result}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.Result.deserializeBinaryFromReader =
|
||||
function (msg, reader) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
}
|
||||
var field = reader.getFieldNumber();
|
||||
switch (field) {
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
};
|
||||
|
||||
/**
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.Result.prototype.serializeBinary =
|
||||
function () {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.Result.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.UpdateMemberForPasswordResponse.Result} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.Result.serializeBinaryToWriter =
|
||||
function (message, writer) {
|
||||
var f = undefined;
|
||||
};
|
||||
|
||||
/**
|
||||
* optional bet.protobuf.rpc.Error error = 1;
|
||||
* @return {?proto.bet.protobuf.rpc.Error}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.prototype.getError =
|
||||
function () {
|
||||
return /** @type{?proto.bet.protobuf.rpc.Error} */ (
|
||||
jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1)
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {?proto.bet.protobuf.rpc.Error|undefined} value
|
||||
* @return {!proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse} returns this
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.prototype.setError =
|
||||
function (value) {
|
||||
return jspb.Message.setWrapperField(this, 1, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* Clears the message field making it undefined.
|
||||
* @return {!proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse} returns this
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.prototype.clearError =
|
||||
function () {
|
||||
return this.setError(undefined);
|
||||
};
|
||||
|
||||
/**
|
||||
* Returns whether this field is set.
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.prototype.hasError =
|
||||
function () {
|
||||
return jspb.Message.getField(this, 1) != null;
|
||||
};
|
||||
|
||||
/**
|
||||
* optional Result result = 2;
|
||||
* @return {?proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.Result}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.prototype.getResult =
|
||||
function () {
|
||||
return /** @type{?proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.Result} */ (
|
||||
jspb.Message.getWrapperField(
|
||||
this,
|
||||
proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.Result,
|
||||
2
|
||||
)
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {?proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.Result|undefined} value
|
||||
* @return {!proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse} returns this
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.prototype.setResult =
|
||||
function (value) {
|
||||
return jspb.Message.setWrapperField(this, 2, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* Clears the message field making it undefined.
|
||||
* @return {!proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse} returns this
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.prototype.clearResult =
|
||||
function () {
|
||||
return this.setResult(undefined);
|
||||
};
|
||||
|
||||
/**
|
||||
* Returns whether this field is set.
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.prototype.hasResult =
|
||||
function () {
|
||||
return jspb.Message.getField(this, 2) != null;
|
||||
};
|
||||
|
||||
if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||
/**
|
||||
* Creates an object representation of this proto.
|
||||
|
|
Loading…
Reference in New Issue
Block a user