refactoring
This commit is contained in:
parent
51958a34e1
commit
efdcec27bb
|
@ -21,8 +21,15 @@ import { WebStorageModule } from 'app/core/web-storage/web-storage.module';
|
|||
|
||||
import { environment } from 'environments/environment';
|
||||
|
||||
import { DomainModule } from 'app/modules/polyglot/domain/domain.module';
|
||||
import { BankModule } from 'app/modules/polyglot/bank/bank.module';
|
||||
import { IdentityModule } from 'app/modules/polyglot/identity/identity.module';
|
||||
import { MemberBankAccountModule } from 'app/modules/polyglot/member_bank_account/member_bank_account.module';
|
||||
import { MemberBankDepositModule } from 'app/modules/polyglot/member_bank_deposit/member_bank_deposit.module';
|
||||
import { MemberBankWithdrawModule } from 'app/modules/polyglot/member_bank_withdraw/member_bank_withdraw.module';
|
||||
import { MemberClassModule } from 'app/modules/polyglot/member_class/member_class.module';
|
||||
import { MemberLevelModule } from 'app/modules/polyglot/member_level/member_level.module';
|
||||
import { MemberModule } from 'app/modules/polyglot/member/member.module';
|
||||
import { SiteModule } from 'app/modules/polyglot/site/site.module';
|
||||
|
||||
const routerConfig: ExtraOptions = {
|
||||
preloadingStrategy: PreloadAllModules,
|
||||
|
@ -54,8 +61,15 @@ const routerConfig: ExtraOptions = {
|
|||
NatsModule.forRoot(environment.nats),
|
||||
WebStorageModule.forRoot({}),
|
||||
|
||||
DomainModule.forRoot(),
|
||||
BankModule.forRoot(),
|
||||
IdentityModule.forRoot(),
|
||||
MemberBankAccountModule.forRoot(),
|
||||
MemberBankDepositModule.forRoot(),
|
||||
MemberBankWithdrawModule.forRoot(),
|
||||
MemberClassModule.forRoot(),
|
||||
MemberLevelModule.forRoot(),
|
||||
MemberModule.forRoot(),
|
||||
SiteModule.forRoot(),
|
||||
],
|
||||
bootstrap: [AppComponent],
|
||||
})
|
||||
|
|
|
@ -3,7 +3,7 @@ import { HttpClient } from '@angular/common/http';
|
|||
import { catchError, Observable, of, switchMap, throwError } from 'rxjs';
|
||||
import { AuthUtils } from 'app/core/auth/auth.utils';
|
||||
import { WebSessionStorageService } from 'app/core/web-storage/services/web-session-storage.service';
|
||||
import { IdentityService } from 'app/modules/polyglot/member/services/identity.service';
|
||||
import { IdentityService } from 'app/modules/polyglot/identity/services/identity.service';
|
||||
|
||||
@Injectable()
|
||||
export class AuthService {
|
||||
|
|
|
@ -5,8 +5,8 @@ import * as jspb from 'google-protobuf';
|
|||
import * as nats from 'nats.ws';
|
||||
import { Base64 } from 'js-base64';
|
||||
|
||||
import { HEADER_CLIENT } from 'app/modules/protobuf/c2se/core/network_pb';
|
||||
import { Client } from 'app/modules/protobuf/models/core/network_pb';
|
||||
import { HEADER_CLIENT } from 'app/modules/proto/c2se/core/network_pb';
|
||||
import { Client } from 'app/modules/proto/models/core/network_pb';
|
||||
|
||||
import { ModuleConfig } from '../config/module-config';
|
||||
import { _MODULE_CONFIG } from '../config/token';
|
||||
|
|
|
@ -41,15 +41,15 @@ import { CashComposeComponent } from '../compose/cash-compose.component';
|
|||
import { CommissionComposeComponent } from '../compose/commission-compose.component';
|
||||
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
import { SiteService } from 'app/modules/polyglot/domain/services/site.service';
|
||||
import { Site } from 'app/modules/protobuf/models/domain/site_pb';
|
||||
import { SiteService } from 'app/modules/polyglot/site/services/site.service';
|
||||
import { Site } from 'app/modules/proto/models/site_pb';
|
||||
import { MemberService } from 'app/modules/polyglot/member/services/member.service';
|
||||
import { MemberModel } from 'app/modules/protobuf/models/member/member_pb';
|
||||
import { MemberModel } from 'app/modules/proto/models/member_pb';
|
||||
import {
|
||||
ListMembersRequest,
|
||||
ListMembersResponse,
|
||||
} from 'app/modules/protobuf/c2se/backend/member_pb';
|
||||
import { Pagination } from 'app/modules/protobuf/protobuf/pagination/pagination_pb';
|
||||
} from 'app/modules/proto/c2se/member_pb';
|
||||
import { Pagination } from 'app/modules/proto/protobuf/pagination_pb';
|
||||
@Component({
|
||||
selector: 'partner-list',
|
||||
templateUrl: './list.component.html',
|
||||
|
@ -189,7 +189,10 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
|
|||
paging.setPageSize(this._paginator.pageSize);
|
||||
|
||||
req.setPagination(paging);
|
||||
req.setMemberClassId('4b014ef5-3bab-4413-aaf9-b0040a70ec77');
|
||||
let search = new ListMembersRequest.Search();
|
||||
search.setMemberClassId('4b014ef5-3bab-4413-aaf9-b0040a70ec77');
|
||||
req.setSearch(search);
|
||||
|
||||
return of(this.__memberService.listMembers(req));
|
||||
}),
|
||||
map(() => {
|
||||
|
|
|
@ -7,9 +7,9 @@ import {
|
|||
} from '@angular/core';
|
||||
import { FormBuilder, FormGroup, Validators } from '@angular/forms';
|
||||
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
|
||||
import { SiteService } from 'app/modules/polyglot/domain/services/site.service';
|
||||
import { IdentityService } from 'app/modules/polyglot/member/services/identity.service';
|
||||
import { Site } from 'app/modules/protobuf/models/domain/site_pb';
|
||||
import { SiteService } from 'app/modules/polyglot/site/services/site.service';
|
||||
import { IdentityService } from 'app/modules/polyglot/identity/services/identity.service';
|
||||
import { Site } from 'app/modules/proto/models/site_pb';
|
||||
|
||||
export interface CashComposeData {
|
||||
price: string;
|
||||
|
|
|
@ -7,9 +7,9 @@ import {
|
|||
} from '@angular/core';
|
||||
import { FormBuilder, FormGroup, Validators } from '@angular/forms';
|
||||
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
|
||||
import { SiteService } from 'app/modules/polyglot/domain/services/site.service';
|
||||
import { IdentityService } from 'app/modules/polyglot/member/services/identity.service';
|
||||
import { Site } from 'app/modules/protobuf/models/domain/site_pb';
|
||||
import { SiteService } from 'app/modules/polyglot/site/services/site.service';
|
||||
import { IdentityService } from 'app/modules/polyglot/identity/services/identity.service';
|
||||
import { Site } from 'app/modules/proto/models/site_pb';
|
||||
|
||||
export interface CommissionComposeData {
|
||||
price: string;
|
||||
|
|
|
@ -8,16 +8,16 @@ import {
|
|||
import { FormBuilder, FormGroup, Validators } from '@angular/forms';
|
||||
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
|
||||
import { FuseAlertType } from '@fuse/components/alert';
|
||||
import { SiteService } from 'app/modules/polyglot/domain/services/site.service';
|
||||
import { IdentityService } from 'app/modules/polyglot/member/services/identity.service';
|
||||
import { SiteService } from 'app/modules/polyglot/site/services/site.service';
|
||||
import { IdentityService } from 'app/modules/polyglot/identity/services/identity.service';
|
||||
import { MemberService } from 'app/modules/polyglot/member/services/member.service';
|
||||
import {
|
||||
CreateMemberRequest,
|
||||
CreateMemberResponse,
|
||||
} from 'app/modules/protobuf/c2se/backend/member_pb';
|
||||
import { Bank } from 'app/modules/protobuf/models/account/bank_pb';
|
||||
import { Site } from 'app/modules/protobuf/models/domain/site_pb';
|
||||
import { MemberModel } from 'app/modules/protobuf/models/member/member_pb';
|
||||
} from 'app/modules/proto/c2se/member_pb';
|
||||
import { Bank } from 'app/modules/proto/models/bank_pb';
|
||||
import { Site } from 'app/modules/proto/models/site_pb';
|
||||
import { MemberModel } from 'app/modules/proto/models/member_pb';
|
||||
import { fuseAnimations } from '@fuse/animations';
|
||||
|
||||
export interface RegistComposeData {
|
||||
|
|
|
@ -9,8 +9,8 @@ import { MemberService } from 'app/modules/polyglot/member/services/member.servi
|
|||
import {
|
||||
ListMembersRequest,
|
||||
ListMembersResponse,
|
||||
} from 'app/modules/protobuf/c2se/backend/member_pb';
|
||||
import { Pagination } from 'app/modules/protobuf/protobuf/pagination/pagination_pb';
|
||||
} from 'app/modules/proto/c2se/member_pb';
|
||||
import { Pagination } from 'app/modules/proto/protobuf/pagination_pb';
|
||||
import { catchError, Observable, throwError } from 'rxjs';
|
||||
|
||||
import { Partner } from '../models/partner';
|
||||
|
@ -121,8 +121,9 @@ export class PartnerListResolver implements Resolve<any> {
|
|||
| Promise<ListMembersResponse.Result>
|
||||
| ListMembersResponse.Result {
|
||||
let req = new ListMembersRequest();
|
||||
|
||||
req.setMemberClassId('4b014ef5-3bab-4413-aaf9-b0040a70ec77');
|
||||
let search = new ListMembersRequest.Search();
|
||||
search.setMemberClassId('4b014ef5-3bab-4413-aaf9-b0040a70ec77');
|
||||
req.setSearch(search);
|
||||
|
||||
return this.__memberService.listMembers(req);
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@ import { User } from '../models/user';
|
|||
import { UserPagination } from '../models/user-pagination';
|
||||
import { UserService } from '../services/user.service';
|
||||
import { Router } from '@angular/router';
|
||||
import { IdentityService } from 'app/modules/polyglot/member/services/identity.service';
|
||||
import { IdentityService } from 'app/modules/polyglot/identity/services/identity.service';
|
||||
|
||||
@Component({
|
||||
selector: 'user-list',
|
||||
|
|
|
@ -32,8 +32,8 @@ import { FuseConfirmationService } from '@fuse/services/confirmation';
|
|||
import { User } from '../models/user';
|
||||
import { UserService } from '../services/user.service';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { GetMemberResponse } from 'app/modules/protobuf/c2se/backend/member_pb';
|
||||
import { MemberModel } from 'app/modules/protobuf/models/member/member_pb';
|
||||
import { GetMemberResponse } from 'app/modules/proto/c2se/member_pb';
|
||||
import { MemberModel } from 'app/modules/proto/models/member_pb';
|
||||
import { MemberService } from 'app/modules/polyglot/member/services/member.service';
|
||||
|
||||
@Component({
|
||||
|
|
|
@ -6,7 +6,7 @@ import {
|
|||
RouterStateSnapshot,
|
||||
} from '@angular/router';
|
||||
import { MemberService } from 'app/modules/polyglot/member/services/member.service';
|
||||
import { GetMemberResponse } from 'app/modules/protobuf/c2se/backend/member_pb';
|
||||
import { GetMemberResponse } from 'app/modules/proto/c2se/member_pb';
|
||||
import { catchError, Observable, throwError } from 'rxjs';
|
||||
|
||||
import { User } from '../models/user';
|
||||
|
|
|
@ -31,9 +31,9 @@ import { fuseAnimations } from '@fuse/animations';
|
|||
import { FuseConfirmationService } from '@fuse/services/confirmation';
|
||||
import { DomainService } from '../services/domain.service';
|
||||
import { MatSelectChange } from '@angular/material/select';
|
||||
import { SiteService } from 'app/modules/polyglot/domain/services/site.service';
|
||||
import { SiteService } from 'app/modules/polyglot/site/services/site.service';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { ListSitesResponse } from 'app/modules/protobuf/c2se/backend/site_pb';
|
||||
import { ListSitesResponse } from 'app/modules/proto/c2se/site_pb';
|
||||
|
||||
@Component({
|
||||
selector: 'settings-domain-list',
|
||||
|
|
|
@ -5,8 +5,8 @@ import {
|
|||
Router,
|
||||
RouterStateSnapshot,
|
||||
} from '@angular/router';
|
||||
import { SiteService } from 'app/modules/polyglot/domain/services/site.service';
|
||||
import { ListSitesResponse } from 'app/modules/protobuf/c2se/backend/site_pb';
|
||||
import { SiteService } from 'app/modules/polyglot/site/services/site.service';
|
||||
import { ListSitesResponse } from 'app/modules/proto/c2se/site_pb';
|
||||
import { catchError, Observable, throwError } from 'rxjs';
|
||||
|
||||
@Injectable({
|
||||
|
|
|
@ -5,7 +5,7 @@ import { ActivatedRoute, Router } from '@angular/router';
|
|||
import { fuseAnimations } from '@fuse/animations';
|
||||
import { FuseAlertType } from '@fuse/components/alert';
|
||||
import { AuthService } from 'app/core/auth/auth.service';
|
||||
import { CaptchaResponse } from 'app/modules/protobuf/c2se/common/identity_pb';
|
||||
import { CaptchaResponse } from 'app/modules/proto/c2se/identity_pb';
|
||||
|
||||
@Component({
|
||||
selector: 'auth-sign-in',
|
||||
|
|
|
@ -7,8 +7,8 @@ import {
|
|||
} from '@angular/router';
|
||||
import { Observable } from 'rxjs';
|
||||
|
||||
import { IdentityService } from 'app/modules/polyglot/member/services/identity.service';
|
||||
import { CaptchaResponse } from 'app/modules/protobuf/c2se/common/identity_pb';
|
||||
import { IdentityService } from 'app/modules/polyglot/identity/services/identity.service';
|
||||
import { CaptchaResponse } from 'app/modules/proto/c2se/identity_pb';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
||||
|
|
|
@ -3,13 +3,13 @@ import { ModuleWithProviders, NgModule } from '@angular/core';
|
|||
import { SERVICES } from './services';
|
||||
|
||||
@NgModule({})
|
||||
export class DomainRootModule {}
|
||||
export class BankRootModule {}
|
||||
|
||||
@NgModule({})
|
||||
export class DomainModule {
|
||||
public static forRoot(): ModuleWithProviders<DomainRootModule> {
|
||||
export class BankModule {
|
||||
public static forRoot(): ModuleWithProviders<BankRootModule> {
|
||||
return {
|
||||
ngModule: DomainRootModule,
|
||||
ngModule: BankRootModule,
|
||||
providers: [...SERVICES],
|
||||
};
|
||||
}
|
148
src/app/modules/polyglot/bank/services/bank.service.ts
Normal file
148
src/app/modules/polyglot/bank/services/bank.service.ts
Normal file
|
@ -0,0 +1,148 @@
|
|||
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 {
|
||||
ListBanksRequest,
|
||||
ListBanksResponse,
|
||||
CreateBankRequest,
|
||||
CreateBankResponse,
|
||||
UpdateBankRequest,
|
||||
UpdateBankResponse,
|
||||
DeleteBankRequest,
|
||||
DeleteBankResponse,
|
||||
GetBankResponse,
|
||||
GetBankRequest,
|
||||
} from 'app/modules/proto/c2se/bank_pb';
|
||||
import {
|
||||
SUBJECT_LIST_BANKS,
|
||||
SUBJECT_CREATE_BANK,
|
||||
SUBJECT_UPDATE_BANK,
|
||||
SUBJECT_DELETE_BANK,
|
||||
SUBJECT_GET_BANK,
|
||||
} from 'app/modules/proto/c2se/backend/bank_pb';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
||||
})
|
||||
export class BankService {
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
constructor(private __natsService: NatsService) {}
|
||||
|
||||
// -----------------------------------------------------------------------------------------------------
|
||||
// @ Accessors
|
||||
// -----------------------------------------------------------------------------------------------------
|
||||
|
||||
// -----------------------------------------------------------------------------------------------------
|
||||
// @ Public methods
|
||||
// -----------------------------------------------------------------------------------------------------
|
||||
|
||||
createBank(): Promise<CreateBankResponse.Result> {
|
||||
return new Promise<CreateBankResponse.Result>((resolve, reject) => {
|
||||
let req = new CreateBankRequest();
|
||||
|
||||
this.__natsService
|
||||
.request<CreateBankResponse.Result>(
|
||||
SUBJECT_CREATE_BANK,
|
||||
req.serializeBinary(),
|
||||
CreateBankResponse.deserializeBinary
|
||||
)
|
||||
.then((result) => {
|
||||
console.log('success', result, result.getBank());
|
||||
return resolve(result);
|
||||
})
|
||||
.catch((e: Error) => {
|
||||
console.log('failed', e);
|
||||
return reject(e);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
listBanks(): Promise<ListBanksResponse.Result> {
|
||||
return new Promise<ListBanksResponse.Result>((resolve, reject) => {
|
||||
let req = new ListBanksRequest();
|
||||
|
||||
this.__natsService
|
||||
.request<ListBanksResponse.Result>(
|
||||
SUBJECT_LIST_BANKS,
|
||||
req.serializeBinary(),
|
||||
ListBanksResponse.deserializeBinary
|
||||
)
|
||||
.then((result) => {
|
||||
console.log('success', result, result.getBanksList());
|
||||
return resolve(result);
|
||||
})
|
||||
.catch((e: Error) => {
|
||||
console.log('failed', e);
|
||||
reject(e);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
getBank(): Promise<GetBankResponse.Result> {
|
||||
return new Promise<GetBankResponse.Result>((resolve, reject) => {
|
||||
let req = new GetBankRequest();
|
||||
|
||||
this.__natsService
|
||||
.request<GetBankResponse.Result>(
|
||||
SUBJECT_GET_BANK,
|
||||
req.serializeBinary(),
|
||||
GetBankResponse.deserializeBinary
|
||||
)
|
||||
.then((result) => {
|
||||
console.log('success', result, result.getBank());
|
||||
return resolve(result);
|
||||
})
|
||||
.catch((e: Error) => {
|
||||
console.log('failed', e);
|
||||
return reject(e);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
updateBank(): Promise<UpdateBankResponse.Result> {
|
||||
return new Promise<UpdateBankResponse.Result>((resolve, reject) => {
|
||||
let req = new UpdateBankRequest();
|
||||
|
||||
this.__natsService
|
||||
.request<UpdateBankResponse.Result>(
|
||||
SUBJECT_UPDATE_BANK,
|
||||
req.serializeBinary(),
|
||||
UpdateBankResponse.deserializeBinary
|
||||
)
|
||||
.then((result) => {
|
||||
console.log('success', result, result.getBank());
|
||||
return resolve(result);
|
||||
})
|
||||
.catch((e: Error) => {
|
||||
console.log('failed', e);
|
||||
return reject(e);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
deleteBank(): Promise<DeleteBankResponse.Result> {
|
||||
return new Promise<DeleteBankResponse.Result>((resolve, reject) => {
|
||||
let req = new DeleteBankRequest();
|
||||
|
||||
this.__natsService
|
||||
.request<DeleteBankResponse.Result>(
|
||||
SUBJECT_DELETE_BANK,
|
||||
req.serializeBinary(),
|
||||
DeleteBankResponse.deserializeBinary
|
||||
)
|
||||
.then((result) => {
|
||||
console.log('success', result);
|
||||
return resolve(result);
|
||||
})
|
||||
.catch((e: Error) => {
|
||||
console.log('failed', e);
|
||||
return reject(e);
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
5
src/app/modules/polyglot/bank/services/index.ts
Normal file
5
src/app/modules/polyglot/bank/services/index.ts
Normal file
|
@ -0,0 +1,5 @@
|
|||
import { Type } from '@angular/core';
|
||||
|
||||
import { BankService } from './bank.service';
|
||||
|
||||
export const SERVICES: Type<any>[] = [BankService];
|
16
src/app/modules/polyglot/identity/identity.module.ts
Normal file
16
src/app/modules/polyglot/identity/identity.module.ts
Normal file
|
@ -0,0 +1,16 @@
|
|||
import { ModuleWithProviders, NgModule } from '@angular/core';
|
||||
|
||||
import { SERVICES } from './services';
|
||||
|
||||
@NgModule({})
|
||||
export class IdentityRootModule {}
|
||||
|
||||
@NgModule({})
|
||||
export class IdentityModule {
|
||||
public static forRoot(): ModuleWithProviders<IdentityRootModule> {
|
||||
return {
|
||||
ngModule: IdentityRootModule,
|
||||
providers: [...SERVICES],
|
||||
};
|
||||
}
|
||||
}
|
|
@ -2,7 +2,7 @@ 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/protobuf/protobuf/rpc/error_pb';
|
||||
import { Error } from 'app/modules/proto/protobuf/rpc_pb';
|
||||
|
||||
import {
|
||||
CheckUsernameForDuplicationRequest,
|
||||
|
@ -11,15 +11,15 @@ import {
|
|||
CheckNicknameForDuplicationResponse,
|
||||
CaptchaRequest,
|
||||
CaptchaResponse,
|
||||
} from 'app/modules/protobuf/c2se/common/identity_pb';
|
||||
SigninRequest,
|
||||
SigninResponse,
|
||||
} from 'app/modules/proto/c2se/identity_pb';
|
||||
import {
|
||||
SUBJECT_CHECK_USERNAME_FOR_DUPLICATION,
|
||||
SUBJECT_CHECK_NICKNAME_FOR_DUPLICATION,
|
||||
SUBJECT_CAPTCHA,
|
||||
SUBJECT_SIGNIN,
|
||||
SigninRequest,
|
||||
SigninResponse,
|
||||
} from 'app/modules/protobuf/c2se/backend/identity_pb';
|
||||
} from 'app/modules/proto/c2se/backend/identity_pb';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
5
src/app/modules/polyglot/identity/services/index.ts
Normal file
5
src/app/modules/polyglot/identity/services/index.ts
Normal file
|
@ -0,0 +1,5 @@
|
|||
import { Type } from '@angular/core';
|
||||
|
||||
import { IdentityService } from './identity.service';
|
||||
|
||||
export const SERVICES: Type<any>[] = [IdentityService];
|
|
@ -1,6 +1,5 @@
|
|||
import { Type } from '@angular/core';
|
||||
|
||||
import { IdentityService } from './identity.service';
|
||||
import { MemberService } from './member.service';
|
||||
|
||||
export const SERVICES: Type<any>[] = [IdentityService, MemberService];
|
||||
export const SERVICES: Type<any>[] = [MemberService];
|
||||
|
|
|
@ -2,7 +2,7 @@ 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/protobuf/protobuf/rpc/error_pb';
|
||||
import { Error } from 'app/modules/proto/protobuf/rpc_pb';
|
||||
|
||||
import {
|
||||
ListMembersRequest,
|
||||
|
@ -11,18 +11,19 @@ import {
|
|||
GetMemberByUsernameResponse,
|
||||
GetMemberRequest,
|
||||
GetMemberResponse,
|
||||
UpdateMemberRequest,
|
||||
UpdateMemberResponse,
|
||||
CreateMemberResponse,
|
||||
CreateMemberRequest,
|
||||
} from 'app/modules/proto/c2se/member_pb';
|
||||
import {
|
||||
SUBJECT_LIST_MEMBERS,
|
||||
SUBJECT_GET_MEMBER,
|
||||
SUBJECT_GET_MEMBER_BY_USERNAME,
|
||||
UpdateMemberRequest,
|
||||
UpdateMemberResponse,
|
||||
SUBJECT_UPDATE_MEMBER,
|
||||
CreateMemberResponse,
|
||||
CreateMemberRequest,
|
||||
SUBJECT_CREATE_MEMBER,
|
||||
} from 'app/modules/protobuf/c2se/backend/member_pb';
|
||||
import { Pagination } from 'app/modules/protobuf/protobuf/pagination/pagination_pb';
|
||||
import { MemberModel } from 'app/modules/protobuf/models/member/member_pb';
|
||||
} from 'app/modules/proto/c2se/backend/member_pb';
|
||||
import { Pagination } from 'app/modules/proto/protobuf/pagination_pb';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
||||
|
|
|
@ -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,158 @@
|
|||
import { Injectable } from '@angular/core';
|
||||
import { NatsService } from 'app/core/nats/services/nats.service';
|
||||
import * as nats from 'nats.ws';
|
||||
|
||||
import { Error } from 'app/modules/proto/protobuf/rpc_pb';
|
||||
|
||||
import {
|
||||
ListMemberBankAccountsRequest,
|
||||
ListMemberBankAccountsResponse,
|
||||
CreateMemberBankAccountRequest,
|
||||
CreateMemberBankAccountResponse,
|
||||
UpdateMemberBankAccountRequest,
|
||||
UpdateMemberBankAccountResponse,
|
||||
DeleteMemberBankAccountRequest,
|
||||
DeleteMemberBankAccountResponse,
|
||||
GetMemberBankAccountResponse,
|
||||
GetMemberBankAccountRequest,
|
||||
} from 'app/modules/proto/c2se/member_bank_account_pb';
|
||||
import {
|
||||
SUBJECT_LIST_MEMBER_BANK_ACCOUNTS,
|
||||
SUBJECT_CREATE_MEMBER_BANK_ACCOUNT,
|
||||
SUBJECT_UPDATE_MEMBER_BANK_ACCOUNT,
|
||||
SUBJECT_DELETE_MEMBER_BANK_ACCOUNT,
|
||||
SUBJECT_GET_MEMBER_BANK_ACCOUNT,
|
||||
} from 'app/modules/proto/c2se/backend/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);
|
||||
});
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
listMemberBankAccounts(): Promise<ListMemberBankAccountsResponse.Result> {
|
||||
return new Promise<ListMemberBankAccountsResponse.Result>(
|
||||
(resolve, reject) => {
|
||||
let req = new ListMemberBankAccountsRequest();
|
||||
|
||||
this.__natsService
|
||||
.request<ListMemberBankAccountsResponse.Result>(
|
||||
SUBJECT_LIST_MEMBER_BANK_ACCOUNTS,
|
||||
req.serializeBinary(),
|
||||
ListMemberBankAccountsResponse.deserializeBinary
|
||||
)
|
||||
.then((result) => {
|
||||
console.log('success', result, result.getMemberBankAccountsList());
|
||||
return resolve(result);
|
||||
})
|
||||
.catch((e: Error) => {
|
||||
console.log('failed', e);
|
||||
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);
|
||||
});
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
deleteMemberBankAccount(): Promise<DeleteMemberBankAccountResponse.Result> {
|
||||
return new Promise<DeleteMemberBankAccountResponse.Result>(
|
||||
(resolve, reject) => {
|
||||
let req = new DeleteMemberBankAccountRequest();
|
||||
|
||||
this.__natsService
|
||||
.request<DeleteMemberBankAccountResponse.Result>(
|
||||
SUBJECT_DELETE_MEMBER_BANK_ACCOUNT,
|
||||
req.serializeBinary(),
|
||||
DeleteMemberBankAccountResponse.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,184 @@
|
|||
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,
|
||||
SUBJECT_UPDATE_MEMBER_BANK_DEPOSIT_FOR_STATE,
|
||||
} from 'app/modules/proto/c2se/backend/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);
|
||||
});
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
updateMemberBankDepositForState(): Promise<UpdateMemberBankDepositForStateResponse.Result> {
|
||||
return new Promise<UpdateMemberBankDepositForStateResponse.Result>(
|
||||
(resolve, reject) => {
|
||||
let req = new UpdateMemberBankDepositForStateRequest();
|
||||
|
||||
this.__natsService
|
||||
.request<UpdateMemberBankDepositForStateResponse.Result>(
|
||||
SUBJECT_UPDATE_MEMBER_BANK_DEPOSIT_FOR_STATE,
|
||||
req.serializeBinary(),
|
||||
UpdateMemberBankDepositForStateResponse.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,184 @@
|
|||
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,
|
||||
SUBJECT_UPDATE_MEMBER_BANK_WITHDRAW_FOR_STATE,
|
||||
} from 'app/modules/proto/c2se/backend/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);
|
||||
});
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
updateMemberBankWithdrawForState(): Promise<UpdateMemberBankWithdrawForStateResponse.Result> {
|
||||
return new Promise<UpdateMemberBankWithdrawForStateResponse.Result>(
|
||||
(resolve, reject) => {
|
||||
let req = new UpdateMemberBankWithdrawForStateRequest();
|
||||
|
||||
this.__natsService
|
||||
.request<UpdateMemberBankWithdrawForStateResponse.Result>(
|
||||
SUBJECT_UPDATE_MEMBER_BANK_WITHDRAW_FOR_STATE,
|
||||
req.serializeBinary(),
|
||||
UpdateMemberBankWithdrawForStateResponse.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);
|
||||
});
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
16
src/app/modules/polyglot/member_class/member_class.module.ts
Normal file
16
src/app/modules/polyglot/member_class/member_class.module.ts
Normal file
|
@ -0,0 +1,16 @@
|
|||
import { ModuleWithProviders, NgModule } from '@angular/core';
|
||||
|
||||
import { SERVICES } from './services';
|
||||
|
||||
@NgModule({})
|
||||
export class MemberClassRootModule {}
|
||||
|
||||
@NgModule({})
|
||||
export class MemberClassModule {
|
||||
public static forRoot(): ModuleWithProviders<MemberClassRootModule> {
|
||||
return {
|
||||
ngModule: MemberClassRootModule,
|
||||
providers: [...SERVICES],
|
||||
};
|
||||
}
|
||||
}
|
5
src/app/modules/polyglot/member_class/services/index.ts
Normal file
5
src/app/modules/polyglot/member_class/services/index.ts
Normal file
|
@ -0,0 +1,5 @@
|
|||
import { Type } from '@angular/core';
|
||||
|
||||
import { MemberClassService } from './member_class.service';
|
||||
|
||||
export const SERVICES: Type<any>[] = [MemberClassService];
|
|
@ -0,0 +1,148 @@
|
|||
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 {
|
||||
ListMemberClassesRequest,
|
||||
ListMemberClassesResponse,
|
||||
CreateMemberClassRequest,
|
||||
CreateMemberClassResponse,
|
||||
UpdateMemberClassRequest,
|
||||
UpdateMemberClassResponse,
|
||||
DeleteMemberClassRequest,
|
||||
DeleteMemberClassResponse,
|
||||
GetMemberClassResponse,
|
||||
GetMemberClassRequest,
|
||||
} from 'app/modules/proto/c2se/member_class_pb';
|
||||
import {
|
||||
SUBJECT_LIST_MEMBER_CLASSES,
|
||||
SUBJECT_CREATE_MEMBER_CLASS,
|
||||
SUBJECT_UPDATE_MEMBER_CLASS,
|
||||
SUBJECT_DELETE_MEMBER_CLASS,
|
||||
SUBJECT_GET_MEMBER_CLASS,
|
||||
} from 'app/modules/proto/c2se/backend/member_class_pb';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
||||
})
|
||||
export class MemberClassService {
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
constructor(private __natsService: NatsService) {}
|
||||
|
||||
// -----------------------------------------------------------------------------------------------------
|
||||
// @ Accessors
|
||||
// -----------------------------------------------------------------------------------------------------
|
||||
|
||||
// -----------------------------------------------------------------------------------------------------
|
||||
// @ Public methods
|
||||
// -----------------------------------------------------------------------------------------------------
|
||||
|
||||
createMemberClass(): Promise<CreateMemberClassResponse.Result> {
|
||||
return new Promise<CreateMemberClassResponse.Result>((resolve, reject) => {
|
||||
let req = new CreateMemberClassRequest();
|
||||
|
||||
this.__natsService
|
||||
.request<CreateMemberClassResponse.Result>(
|
||||
SUBJECT_CREATE_MEMBER_CLASS,
|
||||
req.serializeBinary(),
|
||||
CreateMemberClassResponse.deserializeBinary
|
||||
)
|
||||
.then((result) => {
|
||||
console.log('success', result, result.getMemberClass());
|
||||
return resolve(result);
|
||||
})
|
||||
.catch((e: Error) => {
|
||||
console.log('failed', e);
|
||||
return reject(e);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
listMemberClasss(): Promise<ListMemberClassesResponse.Result> {
|
||||
return new Promise<ListMemberClassesResponse.Result>((resolve, reject) => {
|
||||
let req = new ListMemberClassesRequest();
|
||||
|
||||
this.__natsService
|
||||
.request<ListMemberClassesResponse.Result>(
|
||||
SUBJECT_LIST_MEMBER_CLASSES,
|
||||
req.serializeBinary(),
|
||||
ListMemberClassesResponse.deserializeBinary
|
||||
)
|
||||
.then((result) => {
|
||||
console.log('success', result, result.getMemberClassesList());
|
||||
return resolve(result);
|
||||
})
|
||||
.catch((e: Error) => {
|
||||
console.log('failed', e);
|
||||
reject(e);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
getMemberClass(): Promise<GetMemberClassResponse.Result> {
|
||||
return new Promise<GetMemberClassResponse.Result>((resolve, reject) => {
|
||||
let req = new GetMemberClassRequest();
|
||||
|
||||
this.__natsService
|
||||
.request<GetMemberClassResponse.Result>(
|
||||
SUBJECT_GET_MEMBER_CLASS,
|
||||
req.serializeBinary(),
|
||||
GetMemberClassResponse.deserializeBinary
|
||||
)
|
||||
.then((result) => {
|
||||
console.log('success', result, result.getMemberClass());
|
||||
return resolve(result);
|
||||
})
|
||||
.catch((e: Error) => {
|
||||
console.log('failed', e);
|
||||
return reject(e);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
updateMemberClass(): Promise<UpdateMemberClassResponse.Result> {
|
||||
return new Promise<UpdateMemberClassResponse.Result>((resolve, reject) => {
|
||||
let req = new UpdateMemberClassRequest();
|
||||
|
||||
this.__natsService
|
||||
.request<UpdateMemberClassResponse.Result>(
|
||||
SUBJECT_UPDATE_MEMBER_CLASS,
|
||||
req.serializeBinary(),
|
||||
UpdateMemberClassResponse.deserializeBinary
|
||||
)
|
||||
.then((result) => {
|
||||
console.log('success', result, result.getMemberClass());
|
||||
return resolve(result);
|
||||
})
|
||||
.catch((e: Error) => {
|
||||
console.log('failed', e);
|
||||
return reject(e);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
deleteMemberClass(): Promise<DeleteMemberClassResponse.Result> {
|
||||
return new Promise<DeleteMemberClassResponse.Result>((resolve, reject) => {
|
||||
let req = new DeleteMemberClassRequest();
|
||||
|
||||
this.__natsService
|
||||
.request<DeleteMemberClassResponse.Result>(
|
||||
SUBJECT_DELETE_MEMBER_CLASS,
|
||||
req.serializeBinary(),
|
||||
DeleteMemberClassResponse.deserializeBinary
|
||||
)
|
||||
.then((result) => {
|
||||
console.log('success', result);
|
||||
return resolve(result);
|
||||
})
|
||||
.catch((e: Error) => {
|
||||
console.log('failed', e);
|
||||
return reject(e);
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
16
src/app/modules/polyglot/member_level/member_level.module.ts
Normal file
16
src/app/modules/polyglot/member_level/member_level.module.ts
Normal file
|
@ -0,0 +1,16 @@
|
|||
import { ModuleWithProviders, NgModule } from '@angular/core';
|
||||
|
||||
import { SERVICES } from './services';
|
||||
|
||||
@NgModule({})
|
||||
export class MemberLevelRootModule {}
|
||||
|
||||
@NgModule({})
|
||||
export class MemberLevelModule {
|
||||
public static forRoot(): ModuleWithProviders<MemberLevelRootModule> {
|
||||
return {
|
||||
ngModule: MemberLevelRootModule,
|
||||
providers: [...SERVICES],
|
||||
};
|
||||
}
|
||||
}
|
5
src/app/modules/polyglot/member_level/services/index.ts
Normal file
5
src/app/modules/polyglot/member_level/services/index.ts
Normal file
|
@ -0,0 +1,5 @@
|
|||
import { Type } from '@angular/core';
|
||||
|
||||
import { MemberLevelService } from './member_level.service';
|
||||
|
||||
export const SERVICES: Type<any>[] = [MemberLevelService];
|
|
@ -0,0 +1,148 @@
|
|||
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 {
|
||||
ListMemberLevelsRequest,
|
||||
ListMemberLevelsResponse,
|
||||
CreateMemberLevelRequest,
|
||||
CreateMemberLevelResponse,
|
||||
UpdateMemberLevelRequest,
|
||||
UpdateMemberLevelResponse,
|
||||
DeleteMemberLevelRequest,
|
||||
DeleteMemberLevelResponse,
|
||||
GetMemberLevelResponse,
|
||||
GetMemberLevelRequest,
|
||||
} from 'app/modules/proto/c2se/member_level_pb';
|
||||
import {
|
||||
SUBJECT_LIST_MEMBER_LEVELS,
|
||||
SUBJECT_CREATE_MEMBER_LEVEL,
|
||||
SUBJECT_UPDATE_MEMBER_LEVEL,
|
||||
SUBJECT_DELETE_MEMBER_LEVEL,
|
||||
SUBJECT_GET_MEMBER_LEVEL,
|
||||
} from 'app/modules/proto/c2se/backend/member_level_pb';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
||||
})
|
||||
export class MemberLevelService {
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
constructor(private __natsService: NatsService) {}
|
||||
|
||||
// -----------------------------------------------------------------------------------------------------
|
||||
// @ Accessors
|
||||
// -----------------------------------------------------------------------------------------------------
|
||||
|
||||
// -----------------------------------------------------------------------------------------------------
|
||||
// @ Public methods
|
||||
// -----------------------------------------------------------------------------------------------------
|
||||
|
||||
createMemberLevel(): Promise<CreateMemberLevelResponse.Result> {
|
||||
return new Promise<CreateMemberLevelResponse.Result>((resolve, reject) => {
|
||||
let req = new CreateMemberLevelRequest();
|
||||
|
||||
this.__natsService
|
||||
.request<CreateMemberLevelResponse.Result>(
|
||||
SUBJECT_CREATE_MEMBER_LEVEL,
|
||||
req.serializeBinary(),
|
||||
CreateMemberLevelResponse.deserializeBinary
|
||||
)
|
||||
.then((result) => {
|
||||
console.log('success', result, result.getMemberLevel());
|
||||
return resolve(result);
|
||||
})
|
||||
.catch((e: Error) => {
|
||||
console.log('failed', e);
|
||||
return reject(e);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
listMemberLevels(): Promise<ListMemberLevelsResponse.Result> {
|
||||
return new Promise<ListMemberLevelsResponse.Result>((resolve, reject) => {
|
||||
let req = new ListMemberLevelsRequest();
|
||||
|
||||
this.__natsService
|
||||
.request<ListMemberLevelsResponse.Result>(
|
||||
SUBJECT_LIST_MEMBER_LEVELS,
|
||||
req.serializeBinary(),
|
||||
ListMemberLevelsResponse.deserializeBinary
|
||||
)
|
||||
.then((result) => {
|
||||
console.log('success', result, result.getMemberLevelsList());
|
||||
return resolve(result);
|
||||
})
|
||||
.catch((e: Error) => {
|
||||
console.log('failed', e);
|
||||
reject(e);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
getMemberLevel(): Promise<GetMemberLevelResponse.Result> {
|
||||
return new Promise<GetMemberLevelResponse.Result>((resolve, reject) => {
|
||||
let req = new GetMemberLevelRequest();
|
||||
|
||||
this.__natsService
|
||||
.request<GetMemberLevelResponse.Result>(
|
||||
SUBJECT_GET_MEMBER_LEVEL,
|
||||
req.serializeBinary(),
|
||||
GetMemberLevelResponse.deserializeBinary
|
||||
)
|
||||
.then((result) => {
|
||||
console.log('success', result, result.getMemberLevel());
|
||||
return resolve(result);
|
||||
})
|
||||
.catch((e: Error) => {
|
||||
console.log('failed', e);
|
||||
return reject(e);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
updateMemberLevel(): Promise<UpdateMemberLevelResponse.Result> {
|
||||
return new Promise<UpdateMemberLevelResponse.Result>((resolve, reject) => {
|
||||
let req = new UpdateMemberLevelRequest();
|
||||
|
||||
this.__natsService
|
||||
.request<UpdateMemberLevelResponse.Result>(
|
||||
SUBJECT_UPDATE_MEMBER_LEVEL,
|
||||
req.serializeBinary(),
|
||||
UpdateMemberLevelResponse.deserializeBinary
|
||||
)
|
||||
.then((result) => {
|
||||
console.log('success', result, result.getMemberLevel());
|
||||
return resolve(result);
|
||||
})
|
||||
.catch((e: Error) => {
|
||||
console.log('failed', e);
|
||||
return reject(e);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
deleteMemberLevel(): Promise<DeleteMemberLevelResponse.Result> {
|
||||
return new Promise<DeleteMemberLevelResponse.Result>((resolve, reject) => {
|
||||
let req = new DeleteMemberLevelRequest();
|
||||
|
||||
this.__natsService
|
||||
.request<DeleteMemberLevelResponse.Result>(
|
||||
SUBJECT_DELETE_MEMBER_LEVEL,
|
||||
req.serializeBinary(),
|
||||
DeleteMemberLevelResponse.deserializeBinary
|
||||
)
|
||||
.then((result) => {
|
||||
console.log('success', result);
|
||||
return resolve(result);
|
||||
})
|
||||
.catch((e: Error) => {
|
||||
console.log('failed', e);
|
||||
return reject(e);
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
|
@ -2,7 +2,7 @@ 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/protobuf/protobuf/rpc/error_pb';
|
||||
import { Error } from 'app/modules/proto/protobuf/rpc_pb';
|
||||
|
||||
import {
|
||||
ListSitesRequest,
|
||||
|
@ -13,12 +13,13 @@ import {
|
|||
UpdateSiteResponse,
|
||||
DeleteSiteRequest,
|
||||
DeleteSiteResponse,
|
||||
} from 'app/modules/proto/c2se/site_pb';
|
||||
import {
|
||||
SUBJECT_LIST_SITES,
|
||||
SUBJECT_CREATE_SITE,
|
||||
SUBJECT_UPDATE_SITE,
|
||||
SUBJECT_DELETE_SITE,
|
||||
} from 'app/modules/protobuf/c2se/backend/site_pb';
|
||||
import { Site } from 'app/modules/protobuf/models/domain/site_pb';
|
||||
} from 'app/modules/proto/c2se/backend/site_pb';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
16
src/app/modules/polyglot/site/site.module.ts
Normal file
16
src/app/modules/polyglot/site/site.module.ts
Normal file
|
@ -0,0 +1,16 @@
|
|||
import { ModuleWithProviders, NgModule } from '@angular/core';
|
||||
|
||||
import { SERVICES } from './services';
|
||||
|
||||
@NgModule({})
|
||||
export class SiteRootModule {}
|
||||
|
||||
@NgModule({})
|
||||
export class SiteModule {
|
||||
public static forRoot(): ModuleWithProviders<SiteRootModule> {
|
||||
return {
|
||||
ngModule: SiteRootModule,
|
||||
providers: [...SERVICES],
|
||||
};
|
||||
}
|
||||
}
|
|
@ -1,9 +1,10 @@
|
|||
// package:
|
||||
// file: c2se/backend/account.proto
|
||||
// package: bet.beteran.c2se.backend.bank
|
||||
// file: c2se/backend/bank.proto
|
||||
|
||||
import * as jspb from 'google-protobuf';
|
||||
|
||||
export const SUBJECT_CREATE_BANK: string;
|
||||
export const SUBJECT_LIST_BANKS: string;
|
||||
export const SUBJECT_GET_BANK: string;
|
||||
export const SUBJECT_UPDATE_BANK: string;
|
||||
export const SUBJECT_DELETE_BANK: string;
|
35
src/app/modules/proto/c2se/backend/bank_pb.js
Normal file
35
src/app/modules/proto/c2se/backend/bank_pb.js
Normal file
|
@ -0,0 +1,35 @@
|
|||
// source: c2se/backend/bank.proto
|
||||
/**
|
||||
* @fileoverview
|
||||
* @enhanceable
|
||||
* @suppress {missingRequire} reports error on implicit type usages.
|
||||
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
||||
* field starts with 'MSG_' and isn't a translatable message.
|
||||
* @public
|
||||
*/
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
/* eslint-disable */
|
||||
// @ts-nocheck
|
||||
|
||||
var jspb = require("google-protobuf");
|
||||
var goog = jspb;
|
||||
var global = function () {
|
||||
return this || window || global || self || Function("return this")();
|
||||
}.call(null);
|
||||
|
||||
goog.exportSymbol("proto.bet.beteran.c2se.backend.bank", null, global);
|
||||
|
||||
proto.bet.beteran.c2se.backend.bank = {};
|
||||
|
||||
proto.bet.beteran.c2se.backend.bank.SUBJECT_CREATE_BANK =
|
||||
"bet.beteran.c2se.backend.bank.CreateBank";
|
||||
proto.bet.beteran.c2se.bank.SUBJECT_LIST_BANKS =
|
||||
"bet.beteran.c2se.backend.bank.ListBanks";
|
||||
proto.bet.beteran.c2se.backend.bank.SUBJECT_GET_BANK =
|
||||
"bet.beteran.c2se.backend.bank.GetBank";
|
||||
proto.bet.beteran.c2se.backend.bank.SUBJECT_UPDATE_BANK =
|
||||
"bet.beteran.c2se.backend.bank.UpdateBank";
|
||||
proto.bet.beteran.c2se.backend.bank.SUBJECT_DELETE_BANK =
|
||||
"bet.beteran.c2se.backend.bank.DeleteBank";
|
||||
|
||||
goog.object.extend(exports, proto.bet.beteran.c2se.backend.bank);
|
9
src/app/modules/proto/c2se/backend/identity_pb.d.ts
vendored
Normal file
9
src/app/modules/proto/c2se/backend/identity_pb.d.ts
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
// package: bet.beteran.c2se.backend.identity
|
||||
// file: c2se/backend/identity.proto
|
||||
|
||||
import * as jspb from 'google-protobuf';
|
||||
|
||||
export const SUBJECT_CHECK_USERNAME_FOR_DUPLICATION: string;
|
||||
export const SUBJECT_CHECK_NICKNAME_FOR_DUPLICATION: string;
|
||||
export const SUBJECT_CAPTCHA: string;
|
||||
export const SUBJECT_SIGNIN: string;
|
33
src/app/modules/proto/c2se/backend/identity_pb.js
Normal file
33
src/app/modules/proto/c2se/backend/identity_pb.js
Normal file
|
@ -0,0 +1,33 @@
|
|||
// source: c2se/backend/identity.proto
|
||||
/**
|
||||
* @fileoverview
|
||||
* @enhanceable
|
||||
* @suppress {missingRequire} reports error on implicit type usages.
|
||||
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
||||
* field starts with 'MSG_' and isn't a translatable message.
|
||||
* @public
|
||||
*/
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
/* eslint-disable */
|
||||
// @ts-nocheck
|
||||
|
||||
var jspb = require("google-protobuf");
|
||||
var goog = jspb;
|
||||
var global = function () {
|
||||
return this || window || global || self || Function("return this")();
|
||||
}.call(null);
|
||||
|
||||
goog.exportSymbol("proto.bet.beteran.c2se.backend.identity", null, global);
|
||||
|
||||
proto.bet.beteran.c2se.backend.identity = {};
|
||||
|
||||
proto.bet.beteran.c2se.backend.identity.SUBJECT_CHECK_USERNAME_FOR_DUPLICATION =
|
||||
"bet.beteran.c2se.backend.identity.CheckUsernameForDuplication";
|
||||
proto.bet.beteran.c2se.identity.SUBJECT_CHECK_NICKNAME_FOR_DUPLICATION =
|
||||
"bet.beteran.c2se.backend.identity.CheckNicknameForDuplication";
|
||||
proto.bet.beteran.c2se.backend.identity.SUBJECT_CAPTCHA =
|
||||
"bet.beteran.c2se.backend.identity.Captcha";
|
||||
proto.bet.beteran.c2se.backend.identity.SUBJECT_SIGNIN =
|
||||
"bet.beteran.c2se.backend.identity.Signin";
|
||||
|
||||
goog.object.extend(exports, proto.bet.beteran.c2se.backend.identity);
|
10
src/app/modules/proto/c2se/backend/member_bank_account_pb.d.ts
vendored
Normal file
10
src/app/modules/proto/c2se/backend/member_bank_account_pb.d.ts
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
// package: bet.beteran.c2se.backend.member_bank_account
|
||||
// file: c2se/backend/member_bank_account.proto
|
||||
|
||||
import * as jspb from 'google-protobuf';
|
||||
|
||||
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_DELETE_MEMBER_BANK_ACCOUNT: string;
|
39
src/app/modules/proto/c2se/backend/member_bank_account_pb.js
Normal file
39
src/app/modules/proto/c2se/backend/member_bank_account_pb.js
Normal file
|
@ -0,0 +1,39 @@
|
|||
// source: c2se/backend/member_member_bank_account_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.backend.member_bank_account",
|
||||
null,
|
||||
global
|
||||
);
|
||||
|
||||
proto.bet.beteran.c2se.backend.member_bank_account = {};
|
||||
|
||||
proto.bet.beteran.c2se.backend.member_bank_account.SUBJECT_CREATE_MEMBER_BANK_ACCOUNT =
|
||||
"bet.beteran.c2se.backend.member_bank_account.CreateMemberBankAccount";
|
||||
proto.bet.beteran.c2se.member_bank_account.SUBJECT_LIST_MEMBER_BANK_ACCOUNTS =
|
||||
"bet.beteran.c2se.backend.member_bank_account.ListMemberBankAccounts";
|
||||
proto.bet.beteran.c2se.backend.member_bank_account.SUBJECT_GET_MEMBER_BANK_ACCOUNT =
|
||||
"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_DELETE_MEMBER_BANK_ACCOUNT =
|
||||
"bet.beteran.c2se.backend.member_bank_account.DeleteMemberBankAccount";
|
||||
|
||||
goog.object.extend(exports, proto.bet.beteran.c2se.backend.member_bank_account);
|
11
src/app/modules/proto/c2se/backend/member_bank_deposit_pb.d.ts
vendored
Normal file
11
src/app/modules/proto/c2se/backend/member_bank_deposit_pb.d.ts
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
// package: bet.beteran.c2se.backend.member_bank_deposit
|
||||
// file: c2se/backend/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_UPDATE_MEMBER_BANK_DEPOSIT_FOR_STATE: string;
|
||||
export const SUBJECT_DELETE_MEMBER_BANK_DEPOSIT: string;
|
35
src/app/modules/proto/c2se/backend/member_bank_deposit_pb.js
Normal file
35
src/app/modules/proto/c2se/backend/member_bank_deposit_pb.js
Normal file
|
@ -0,0 +1,35 @@
|
|||
// source: c2se/backend/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);
|
||||
|
||||
proto.bet.beteran.c2se.backend.member_bank_deposit = {};
|
||||
|
||||
proto.bet.beteran.c2se.backend.member_bank_deposit.SUBJECT_CREATE_MEMBER_BANK_DEPOSIT =
|
||||
"bet.beteran.c2se.backend.member_bank_deposit.CreateMemberBankDeposit";
|
||||
proto.bet.beteran.c2se.member_bank_deposit.SUBJECT_LIST_MEMBER_BANK_DEPOSITS =
|
||||
"bet.beteran.c2se.backend.member_bank_deposit.ListMemberBankDeposits";
|
||||
proto.bet.beteran.c2se.backend.member_bank_deposit.SUBJECT_GET_MEMBER_BANK_DEPOSIT =
|
||||
"bet.beteran.c2se.backend.member_bank_deposit.GetMemberBankDeposit";
|
||||
proto.bet.beteran.c2se.backend.member_bank_deposit.SUBJECT_UPDATE_MEMBER_BANK_DEPOSIT =
|
||||
"bet.beteran.c2se.backend.member_bank_deposit.UpdateMemberBankDeposit";
|
||||
proto.bet.beteran.c2se.backend.member_bank_deposit.SUBJECT_UPDATE_MEMBER_BANK_DEPOSIT_FOR_STATE =
|
||||
"bet.beteran.c2se.backend.member_bank_deposit.UpdateMemberBankDepositForState";
|
||||
proto.bet.beteran.c2se.backend.member_bank_deposit.SUBJECT_DELETE_MEMBER_BANK_DEPOSIT =
|
||||
"bet.beteran.c2se.backend.member_bank_deposit.DeleteMemberBankDeposit";
|
||||
|
||||
goog.object.extend(exports, proto.bet.beteran.c2se.backend.member_bank_deposit);
|
11
src/app/modules/proto/c2se/backend/member_bank_withdraw_pb.d.ts
vendored
Normal file
11
src/app/modules/proto/c2se/backend/member_bank_withdraw_pb.d.ts
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
// package: bet.beteran.c2se.backend.member_bank_withdraw
|
||||
// file: c2se/backend/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_UPDATE_MEMBER_BANK_WITHDRAW_FOR_STATE: string;
|
||||
export const SUBJECT_DELETE_MEMBER_BANK_WITHDRAW: string;
|
|
@ -0,0 +1,38 @@
|
|||
// source: c2se/backend/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);
|
||||
|
||||
proto.bet.beteran.c2se.backend.member_bank_withdraw = {};
|
||||
|
||||
proto.bet.beteran.c2se.backend.member_bank_withdraw.SUBJECT_CREATE_MEMBER_BANK_WITHDRAW =
|
||||
"bet.beteran.c2se.backend.member_bank_withdraw.CreateMemberBankWithdraw";
|
||||
proto.bet.beteran.c2se.member_bank_withdraw.SUBJECT_LIST_MEMBER_BANK_WITHDRAWS =
|
||||
"bet.beteran.c2se.backend.member_bank_withdraw.ListMemberBankWithdraws";
|
||||
proto.bet.beteran.c2se.backend.member_bank_withdraw.SUBJECT_GET_MEMBER_BANK_WITHDRAW =
|
||||
"bet.beteran.c2se.backend.member_bank_withdraw.GetMemberBankWithdraw";
|
||||
proto.bet.beteran.c2se.backend.member_bank_withdraw.SUBJECT_UPDATE_MEMBER_BANK_WITHDRAW =
|
||||
"bet.beteran.c2se.backend.member_bank_withdraw.UpdateMemberBankWithdraw";
|
||||
proto.bet.beteran.c2se.backend.member_bank_withdraw.SUBJECT_UPDATE_MEMBER_BANK_WITHDRAW_FOR_STATE =
|
||||
"bet.beteran.c2se.backend.member_bank_withdraw.UpdateMemberBankWithdrawForState";
|
||||
proto.bet.beteran.c2se.backend.member_bank_withdraw.SUBJECT_DELETE_MEMBER_BANK_WITHDRAW =
|
||||
"bet.beteran.c2se.backend.member_bank_withdraw.DeleteMemberBankWithdraw";
|
||||
|
||||
goog.object.extend(
|
||||
exports,
|
||||
proto.bet.beteran.c2se.backend.member_bank_withdraw
|
||||
);
|
10
src/app/modules/proto/c2se/backend/member_class_pb.d.ts
vendored
Normal file
10
src/app/modules/proto/c2se/backend/member_class_pb.d.ts
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
// package: bet.beteran.c2se.backend.member_class
|
||||
// file: c2se/backend/member_class.proto
|
||||
|
||||
import * as jspb from 'google-protobuf';
|
||||
|
||||
export const SUBJECT_CREATE_MEMBER_CLASS: string;
|
||||
export const SUBJECT_LIST_MEMBER_CLASSES: string;
|
||||
export const SUBJECT_GET_MEMBER_CLASS: string;
|
||||
export const SUBJECT_UPDATE_MEMBER_CLASS: string;
|
||||
export const SUBJECT_DELETE_MEMBER_CLASS: string;
|
35
src/app/modules/proto/c2se/backend/member_class_pb.js
Normal file
35
src/app/modules/proto/c2se/backend/member_class_pb.js
Normal file
|
@ -0,0 +1,35 @@
|
|||
// source: c2se/backend/member_class.proto
|
||||
/**
|
||||
* @fileoverview
|
||||
* @enhanceable
|
||||
* @suppress {missingRequire} reports error on implicit type usages.
|
||||
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
||||
* field starts with 'MSG_' and isn't a translatable message.
|
||||
* @public
|
||||
*/
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
/* eslint-disable */
|
||||
// @ts-nocheck
|
||||
|
||||
var jspb = require("google-protobuf");
|
||||
var goog = jspb;
|
||||
var global = function () {
|
||||
return this || window || global || self || Function("return this")();
|
||||
}.call(null);
|
||||
|
||||
goog.exportSymbol("proto.bet.beteran.c2se.backend.member_class", null, global);
|
||||
|
||||
proto.bet.beteran.c2se.backend.member_class = {};
|
||||
|
||||
proto.bet.beteran.c2se.backend.member_class.SUBJECT_CREATE_MEMBER_CLASS =
|
||||
"bet.beteran.c2se.backend.member_class.CreateMemberClass";
|
||||
proto.bet.beteran.c2se.member_class.SUBJECT_LIST_MEMBER_CLASSES =
|
||||
"bet.beteran.c2se.backend.member_class.ListMemberClasses";
|
||||
proto.bet.beteran.c2se.backend.member_class.SUBJECT_GET_MEMBER_CLASS =
|
||||
"bet.beteran.c2se.backend.member_class.GetMemberClass";
|
||||
proto.bet.beteran.c2se.backend.member_class.SUBJECT_UPDATE_MEMBER_CLASS =
|
||||
"bet.beteran.c2se.backend.member_class.UpdateMemberClass";
|
||||
proto.bet.beteran.c2se.backend.member_class.SUBJECT_DELETE_MEMBER_CLASS =
|
||||
"bet.beteran.c2se.backend.member_class.DeleteMemberClass";
|
||||
|
||||
goog.object.extend(exports, proto.bet.beteran.c2se.backend.member_class);
|
10
src/app/modules/proto/c2se/backend/member_level_pb.d.ts
vendored
Normal file
10
src/app/modules/proto/c2se/backend/member_level_pb.d.ts
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
// package: bet.beteran.c2se.backend.member_level
|
||||
// file: c2se/backend/member_level.proto
|
||||
|
||||
import * as jspb from 'google-protobuf';
|
||||
|
||||
export const SUBJECT_CREATE_MEMBER_LEVEL: string;
|
||||
export const SUBJECT_LIST_MEMBER_LEVELS: string;
|
||||
export const SUBJECT_GET_MEMBER_LEVEL: string;
|
||||
export const SUBJECT_UPDATE_MEMBER_LEVEL: string;
|
||||
export const SUBJECT_DELETE_MEMBER_LEVEL: string;
|
35
src/app/modules/proto/c2se/backend/member_level_pb.js
Normal file
35
src/app/modules/proto/c2se/backend/member_level_pb.js
Normal file
|
@ -0,0 +1,35 @@
|
|||
// source: c2se/backend/member_level.proto
|
||||
/**
|
||||
* @fileoverview
|
||||
* @enhanceable
|
||||
* @suppress {missingRequire} reports error on implicit type usages.
|
||||
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
||||
* field starts with 'MSG_' and isn't a translatable message.
|
||||
* @public
|
||||
*/
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
/* eslint-disable */
|
||||
// @ts-nocheck
|
||||
|
||||
var jspb = require("google-protobuf");
|
||||
var goog = jspb;
|
||||
var global = function () {
|
||||
return this || window || global || self || Function("return this")();
|
||||
}.call(null);
|
||||
|
||||
goog.exportSymbol("proto.bet.beteran.c2se.backend.member_level", null, global);
|
||||
|
||||
proto.bet.beteran.c2se.backend.member_level = {};
|
||||
|
||||
proto.bet.beteran.c2se.backend.member_level.SUBJECT_CREATE_MEMBER_LEVEL =
|
||||
"bet.beteran.c2se.backend.member_level.CreateMemberLevel";
|
||||
proto.bet.beteran.c2se.member_level.SUBJECT_LIST_MEMBER_LEVELS =
|
||||
"bet.beteran.c2se.backend.member_level.ListMemberLevels";
|
||||
proto.bet.beteran.c2se.backend.member_level.SUBJECT_GET_MEMBER_LEVEL =
|
||||
"bet.beteran.c2se.backend.member_level.GetMemberLevel";
|
||||
proto.bet.beteran.c2se.backend.member_level.SUBJECT_UPDATE_MEMBER_LEVEL =
|
||||
"bet.beteran.c2se.backend.member_level.UpdateMemberLevel";
|
||||
proto.bet.beteran.c2se.backend.member_level.SUBJECT_DELETE_MEMBER_LEVEL =
|
||||
"bet.beteran.c2se.backend.member_level.DeleteMemberLevel";
|
||||
|
||||
goog.object.extend(exports, proto.bet.beteran.c2se.backend.member_level);
|
11
src/app/modules/proto/c2se/backend/member_pb.d.ts
vendored
Normal file
11
src/app/modules/proto/c2se/backend/member_pb.d.ts
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
// package: bet.beteran.c2se.backend.member
|
||||
// file: c2se/backend/member.proto
|
||||
|
||||
import * as jspb from 'google-protobuf';
|
||||
|
||||
export const SUBJECT_CREATE_MEMBER: string;
|
||||
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_DELETE_MEMBER: string;
|
37
src/app/modules/proto/c2se/backend/member_pb.js
Normal file
37
src/app/modules/proto/c2se/backend/member_pb.js
Normal file
|
@ -0,0 +1,37 @@
|
|||
// source: c2se/backend/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.backend.member", null, global);
|
||||
|
||||
proto.bet.beteran.c2se.backend.member = {};
|
||||
|
||||
proto.bet.beteran.c2se.backend.member.SUBJECT_CREATE_MEMBER =
|
||||
"bet.beteran.c2se.backend.member.CreateMember";
|
||||
proto.bet.beteran.c2se.member.SUBJECT_LIST_MEMBERS =
|
||||
"bet.beteran.c2se.backend.member.ListMembers";
|
||||
proto.bet.beteran.c2se.backend.member.SUBJECT_GET_MEMBER =
|
||||
"bet.beteran.c2se.backend.member.GetMember";
|
||||
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_DELETE_MEMBER =
|
||||
"bet.beteran.c2se.backend.member.DeleteMember";
|
||||
|
||||
goog.object.extend(exports, proto.bet.beteran.c2se.backend.member);
|
10
src/app/modules/proto/c2se/backend/site_pb.d.ts
vendored
Normal file
10
src/app/modules/proto/c2se/backend/site_pb.d.ts
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
// package: bet.beteran.c2se.backend.site
|
||||
// file: c2se/backend/site.proto
|
||||
|
||||
import * as jspb from 'google-protobuf';
|
||||
|
||||
export const SUBJECT_CREATE_SITE: string;
|
||||
export const SUBJECT_LIST_SITES: string;
|
||||
export const SUBJECT_GET_SITE: string;
|
||||
export const SUBJECT_UPDATE_SITE: string;
|
||||
export const SUBJECT_DELETE_SITE: string;
|
35
src/app/modules/proto/c2se/backend/site_pb.js
Normal file
35
src/app/modules/proto/c2se/backend/site_pb.js
Normal file
|
@ -0,0 +1,35 @@
|
|||
// source: c2se/backend/site.proto
|
||||
/**
|
||||
* @fileoverview
|
||||
* @enhanceable
|
||||
* @suppress {missingRequire} reports error on implicit type usages.
|
||||
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
||||
* field starts with 'MSG_' and isn't a translatable message.
|
||||
* @public
|
||||
*/
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
/* eslint-disable */
|
||||
// @ts-nocheck
|
||||
|
||||
var jspb = require("google-protobuf");
|
||||
var goog = jspb;
|
||||
var global = function () {
|
||||
return this || window || global || self || Function("return this")();
|
||||
}.call(null);
|
||||
|
||||
goog.exportSymbol("proto.bet.beteran.c2se.backend.site", null, global);
|
||||
|
||||
proto.bet.beteran.c2se.backend.site = {};
|
||||
|
||||
proto.bet.beteran.c2se.backend.site.SUBJECT_CREATE_SITE =
|
||||
"bet.beteran.c2se.backend.site.CreateSite";
|
||||
proto.bet.beteran.c2se.site.SUBJECT_LIST_SITES =
|
||||
"bet.beteran.c2se.backend.site.ListSites";
|
||||
proto.bet.beteran.c2se.backend.site.SUBJECT_GET_SITE =
|
||||
"bet.beteran.c2se.backend.site.GetSite";
|
||||
proto.bet.beteran.c2se.backend.site.SUBJECT_UPDATE_SITE =
|
||||
"bet.beteran.c2se.backend.site.UpdateSite";
|
||||
proto.bet.beteran.c2se.backend.site.SUBJECT_DELETE_SITE =
|
||||
"bet.beteran.c2se.backend.site.DeleteSite";
|
||||
|
||||
goog.object.extend(exports, proto.bet.beteran.c2se.backend.site);
|
446
src/app/modules/proto/c2se/bank_pb.d.ts
vendored
Normal file
446
src/app/modules/proto/c2se/bank_pb.d.ts
vendored
Normal file
|
@ -0,0 +1,446 @@
|
|||
// package: bet.beteran.c2se.bank
|
||||
// file: c2se/bank.proto
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
import * as protobuf_rpc_pb from "../protobuf/rpc_pb";
|
||||
import * as protobuf_pagination_pb from "../protobuf/pagination_pb";
|
||||
import * as models_bank_pb from "../models/bank_pb";
|
||||
|
||||
export class CreateBankRequest extends jspb.Message {
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
getSortOrder(): number;
|
||||
setSortOrder(value: number): void;
|
||||
|
||||
getShow(): boolean;
|
||||
setShow(value: boolean): void;
|
||||
|
||||
getCanUse(): boolean;
|
||||
setCanUse(value: boolean): void;
|
||||
|
||||
hasMemo(): boolean;
|
||||
clearMemo(): void;
|
||||
getMemo(): string;
|
||||
setMemo(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CreateBankRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CreateBankRequest): CreateBankRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: CreateBankRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): CreateBankRequest;
|
||||
static deserializeBinaryFromReader(message: CreateBankRequest, reader: jspb.BinaryReader): CreateBankRequest;
|
||||
}
|
||||
|
||||
export namespace CreateBankRequest {
|
||||
export type AsObject = {
|
||||
name: string,
|
||||
sortOrder: number,
|
||||
show: boolean,
|
||||
canUse: boolean,
|
||||
memo: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class CreateBankResponse 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(): CreateBankResponse.Result | undefined;
|
||||
setResult(value?: CreateBankResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CreateBankResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CreateBankResponse): CreateBankResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: CreateBankResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): CreateBankResponse;
|
||||
static deserializeBinaryFromReader(message: CreateBankResponse, reader: jspb.BinaryReader): CreateBankResponse;
|
||||
}
|
||||
|
||||
export namespace CreateBankResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject,
|
||||
result?: CreateBankResponse.Result.AsObject,
|
||||
}
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
hasBank(): boolean;
|
||||
clearBank(): void;
|
||||
getBank(): models_bank_pb.Bank | undefined;
|
||||
setBank(value?: models_bank_pb.Bank): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Result.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Result): Result.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Result, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Result;
|
||||
static deserializeBinaryFromReader(message: Result, reader: jspb.BinaryReader): Result;
|
||||
}
|
||||
|
||||
export namespace Result {
|
||||
export type AsObject = {
|
||||
bank?: models_bank_pb.Bank.AsObject,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export class ListBanksRequest extends jspb.Message {
|
||||
hasPagination(): boolean;
|
||||
clearPagination(): void;
|
||||
getPagination(): protobuf_pagination_pb.Pagination | undefined;
|
||||
setPagination(value?: protobuf_pagination_pb.Pagination): void;
|
||||
|
||||
clearSortsList(): void;
|
||||
getSortsList(): Array<protobuf_pagination_pb.Sort>;
|
||||
setSortsList(value: Array<protobuf_pagination_pb.Sort>): void;
|
||||
addSorts(value?: protobuf_pagination_pb.Sort, index?: number): protobuf_pagination_pb.Sort;
|
||||
|
||||
hasSearch(): boolean;
|
||||
clearSearch(): void;
|
||||
getSearch(): ListBanksRequest.Search | undefined;
|
||||
setSearch(value?: ListBanksRequest.Search): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListBanksRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListBanksRequest): ListBanksRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ListBanksRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListBanksRequest;
|
||||
static deserializeBinaryFromReader(message: ListBanksRequest, reader: jspb.BinaryReader): ListBanksRequest;
|
||||
}
|
||||
|
||||
export namespace ListBanksRequest {
|
||||
export type AsObject = {
|
||||
pagination?: protobuf_pagination_pb.Pagination.AsObject,
|
||||
sortsList: Array<protobuf_pagination_pb.Sort.AsObject>,
|
||||
search?: ListBanksRequest.Search.AsObject,
|
||||
}
|
||||
|
||||
export class Search extends jspb.Message {
|
||||
hasNameLike(): boolean;
|
||||
clearNameLike(): void;
|
||||
getNameLike(): string;
|
||||
setNameLike(value: string): void;
|
||||
|
||||
hasShow(): boolean;
|
||||
clearShow(): void;
|
||||
getShow(): boolean;
|
||||
setShow(value: boolean): void;
|
||||
|
||||
hasCanUse(): boolean;
|
||||
clearCanUse(): void;
|
||||
getCanUse(): boolean;
|
||||
setCanUse(value: boolean): void;
|
||||
|
||||
hasMemoLike(): boolean;
|
||||
clearMemoLike(): void;
|
||||
getMemoLike(): string;
|
||||
setMemoLike(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Search.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Search): Search.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Search, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Search;
|
||||
static deserializeBinaryFromReader(message: Search, reader: jspb.BinaryReader): Search;
|
||||
}
|
||||
|
||||
export namespace Search {
|
||||
export type AsObject = {
|
||||
nameLike: string,
|
||||
show: boolean,
|
||||
canUse: boolean,
|
||||
memoLike: string,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export class ListBanksResponse 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(): ListBanksResponse.Result | undefined;
|
||||
setResult(value?: ListBanksResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListBanksResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListBanksResponse): ListBanksResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ListBanksResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListBanksResponse;
|
||||
static deserializeBinaryFromReader(message: ListBanksResponse, reader: jspb.BinaryReader): ListBanksResponse;
|
||||
}
|
||||
|
||||
export namespace ListBanksResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject,
|
||||
result?: ListBanksResponse.Result.AsObject,
|
||||
}
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
clearBanksList(): void;
|
||||
getBanksList(): Array<models_bank_pb.Bank>;
|
||||
setBanksList(value: Array<models_bank_pb.Bank>): void;
|
||||
addBanks(value?: models_bank_pb.Bank, index?: number): models_bank_pb.Bank;
|
||||
|
||||
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 = {
|
||||
banksList: Array<models_bank_pb.Bank.AsObject>,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export class GetBankRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetBankRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetBankRequest): GetBankRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GetBankRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetBankRequest;
|
||||
static deserializeBinaryFromReader(message: GetBankRequest, reader: jspb.BinaryReader): GetBankRequest;
|
||||
}
|
||||
|
||||
export namespace GetBankRequest {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class GetBankResponse 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(): GetBankResponse.Result | undefined;
|
||||
setResult(value?: GetBankResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetBankResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetBankResponse): GetBankResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GetBankResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetBankResponse;
|
||||
static deserializeBinaryFromReader(message: GetBankResponse, reader: jspb.BinaryReader): GetBankResponse;
|
||||
}
|
||||
|
||||
export namespace GetBankResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject,
|
||||
result?: GetBankResponse.Result.AsObject,
|
||||
}
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
hasBank(): boolean;
|
||||
clearBank(): void;
|
||||
getBank(): models_bank_pb.Bank | undefined;
|
||||
setBank(value?: models_bank_pb.Bank): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Result.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Result): Result.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Result, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Result;
|
||||
static deserializeBinaryFromReader(message: Result, reader: jspb.BinaryReader): Result;
|
||||
}
|
||||
|
||||
export namespace Result {
|
||||
export type AsObject = {
|
||||
bank?: models_bank_pb.Bank.AsObject,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateBankRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
getSortOrder(): number;
|
||||
setSortOrder(value: number): void;
|
||||
|
||||
getShow(): boolean;
|
||||
setShow(value: boolean): void;
|
||||
|
||||
getCanUse(): boolean;
|
||||
setCanUse(value: boolean): void;
|
||||
|
||||
hasMemo(): boolean;
|
||||
clearMemo(): void;
|
||||
getMemo(): string;
|
||||
setMemo(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateBankRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateBankRequest): UpdateBankRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: UpdateBankRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateBankRequest;
|
||||
static deserializeBinaryFromReader(message: UpdateBankRequest, reader: jspb.BinaryReader): UpdateBankRequest;
|
||||
}
|
||||
|
||||
export namespace UpdateBankRequest {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
name: string,
|
||||
sortOrder: number,
|
||||
show: boolean,
|
||||
canUse: boolean,
|
||||
memo: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateBankResponse 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(): UpdateBankResponse.Result | undefined;
|
||||
setResult(value?: UpdateBankResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateBankResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateBankResponse): UpdateBankResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: UpdateBankResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateBankResponse;
|
||||
static deserializeBinaryFromReader(message: UpdateBankResponse, reader: jspb.BinaryReader): UpdateBankResponse;
|
||||
}
|
||||
|
||||
export namespace UpdateBankResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject,
|
||||
result?: UpdateBankResponse.Result.AsObject,
|
||||
}
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
hasBank(): boolean;
|
||||
clearBank(): void;
|
||||
getBank(): models_bank_pb.Bank | undefined;
|
||||
setBank(value?: models_bank_pb.Bank): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Result.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Result): Result.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Result, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Result;
|
||||
static deserializeBinaryFromReader(message: Result, reader: jspb.BinaryReader): Result;
|
||||
}
|
||||
|
||||
export namespace Result {
|
||||
export type AsObject = {
|
||||
bank?: models_bank_pb.Bank.AsObject,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export class DeleteBankRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DeleteBankRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DeleteBankRequest): DeleteBankRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: DeleteBankRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): DeleteBankRequest;
|
||||
static deserializeBinaryFromReader(message: DeleteBankRequest, reader: jspb.BinaryReader): DeleteBankRequest;
|
||||
}
|
||||
|
||||
export namespace DeleteBankRequest {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class DeleteBankResponse 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(): DeleteBankResponse.Result | undefined;
|
||||
setResult(value?: DeleteBankResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DeleteBankResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DeleteBankResponse): DeleteBankResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: DeleteBankResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): DeleteBankResponse;
|
||||
static deserializeBinaryFromReader(message: DeleteBankResponse, reader: jspb.BinaryReader): DeleteBankResponse;
|
||||
}
|
||||
|
||||
export namespace DeleteBankResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject,
|
||||
result?: DeleteBankResponse.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 = {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
3480
src/app/modules/proto/c2se/bank_pb.js
Normal file
3480
src/app/modules/proto/c2se/bank_pb.js
Normal file
File diff suppressed because it is too large
Load Diff
|
@ -1,4 +1,4 @@
|
|||
// package:
|
||||
// package: bet.beteran.c2se.core.network
|
||||
// file: c2se/core/network.proto
|
||||
|
||||
import * as jspb from 'google-protobuf';
|
7
src/app/modules/proto/c2se/frontend/bank_pb.d.ts
vendored
Normal file
7
src/app/modules/proto/c2se/frontend/bank_pb.d.ts
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
// package: bet.beteran.c2se.frontend.bank
|
||||
// file: c2se/frontend/bank.proto
|
||||
|
||||
import * as jspb from 'google-protobuf';
|
||||
|
||||
export const SUBJECT_LIST_BANKS: string;
|
||||
export const SUBJECT_GET_BANK: string;
|
|
@ -1,4 +1,4 @@
|
|||
// source: c2se/frontend/account.proto
|
||||
// source: c2se/frontend/bank.proto
|
||||
/**
|
||||
* @fileoverview
|
||||
* @enhanceable
|
||||
|
@ -17,11 +17,13 @@ var global = function () {
|
|||
return this || window || global || self || Function("return this")();
|
||||
}.call(null);
|
||||
|
||||
goog.exportSymbol("bet.beteran.c2se.frontend.bank", null, global);
|
||||
goog.exportSymbol("proto.bet.beteran.c2se.frontend.bank", null, global);
|
||||
|
||||
bet.beteran.c2se.frontend.bank = {};
|
||||
proto.bet.beteran.c2se.frontend.bank = {};
|
||||
|
||||
bet.beteran.c2se.frontend.bank.SUBJECT_LIST_BANKS =
|
||||
"bet.beteran.c2se.core.network.ListBanks";
|
||||
proto.bet.beteran.c2se.bank.SUBJECT_LIST_BANKS =
|
||||
"bet.beteran.c2se.frontend.bank.ListBanks";
|
||||
proto.bet.beteran.c2se.frontend.bank.SUBJECT_GET_BANK =
|
||||
"bet.beteran.c2se.frontend.bank.GetBank";
|
||||
|
||||
goog.object.extend(exports, bet.beteran.c2se.frontend.bank);
|
||||
goog.object.extend(exports, proto.bet.beteran.c2se.frontend.bank);
|
9
src/app/modules/proto/c2se/frontend/identity_pb.d.ts
vendored
Normal file
9
src/app/modules/proto/c2se/frontend/identity_pb.d.ts
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
// package: bet.beteran.c2se.frontend.identity
|
||||
// file: c2se/frontend/identity.proto
|
||||
|
||||
import * as jspb from 'google-protobuf';
|
||||
|
||||
export const SUBJECT_CHECK_USERNAME_FOR_DUPLICATION: string;
|
||||
export const SUBJECT_CHECK_NICKNAME_FOR_DUPLICATION: string;
|
||||
export const SUBJECT_CAPTCHA: string;
|
||||
export const SUBJECT_SIGNIN: string;
|
33
src/app/modules/proto/c2se/frontend/identity_pb.js
Normal file
33
src/app/modules/proto/c2se/frontend/identity_pb.js
Normal file
|
@ -0,0 +1,33 @@
|
|||
// source: c2se/frontend/identity.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.identity", null, global);
|
||||
|
||||
proto.bet.beteran.c2se.frontend.identity = {};
|
||||
|
||||
proto.bet.beteran.c2se.frontend.identity.SUBJECT_CHECK_USERNAME_FOR_DUPLICATION =
|
||||
"bet.beteran.c2se.frontend.identity.CheckUsernameForDuplication";
|
||||
proto.bet.beteran.c2se.identity.SUBJECT_CHECK_NICKNAME_FOR_DUPLICATION =
|
||||
"bet.beteran.c2se.frontend.identity.CheckNicknameForDuplication";
|
||||
proto.bet.beteran.c2se.frontend.identity.SUBJECT_CAPTCHA =
|
||||
"bet.beteran.c2se.frontend.identity.Captcha";
|
||||
proto.bet.beteran.c2se.frontend.identity.SUBJECT_SIGNIN =
|
||||
"bet.beteran.c2se.frontend.identity.Signin";
|
||||
|
||||
goog.object.extend(exports, proto.bet.beteran.c2se.frontend.identity);
|
290
src/app/modules/proto/c2se/identity_pb.d.ts
vendored
Normal file
290
src/app/modules/proto/c2se/identity_pb.d.ts
vendored
Normal file
|
@ -0,0 +1,290 @@
|
|||
// package: bet.beteran.c2se.identity
|
||||
// file: c2se/identity.proto
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
import * as protobuf_rpc_pb from "../protobuf/rpc_pb";
|
||||
|
||||
export class CheckUsernameForDuplicationRequest extends jspb.Message {
|
||||
getUsername(): string;
|
||||
setUsername(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CheckUsernameForDuplicationRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CheckUsernameForDuplicationRequest): CheckUsernameForDuplicationRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: CheckUsernameForDuplicationRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): CheckUsernameForDuplicationRequest;
|
||||
static deserializeBinaryFromReader(message: CheckUsernameForDuplicationRequest, reader: jspb.BinaryReader): CheckUsernameForDuplicationRequest;
|
||||
}
|
||||
|
||||
export namespace CheckUsernameForDuplicationRequest {
|
||||
export type AsObject = {
|
||||
username: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class CheckUsernameForDuplicationResponse 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(): CheckUsernameForDuplicationResponse.Result | undefined;
|
||||
setResult(value?: CheckUsernameForDuplicationResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CheckUsernameForDuplicationResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CheckUsernameForDuplicationResponse): CheckUsernameForDuplicationResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: CheckUsernameForDuplicationResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): CheckUsernameForDuplicationResponse;
|
||||
static deserializeBinaryFromReader(message: CheckUsernameForDuplicationResponse, reader: jspb.BinaryReader): CheckUsernameForDuplicationResponse;
|
||||
}
|
||||
|
||||
export namespace CheckUsernameForDuplicationResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject,
|
||||
result?: CheckUsernameForDuplicationResponse.Result.AsObject,
|
||||
}
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
getDuplicated(): boolean;
|
||||
setDuplicated(value: boolean): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Result.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Result): Result.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Result, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Result;
|
||||
static deserializeBinaryFromReader(message: Result, reader: jspb.BinaryReader): Result;
|
||||
}
|
||||
|
||||
export namespace Result {
|
||||
export type AsObject = {
|
||||
duplicated: boolean,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export class CheckNicknameForDuplicationRequest extends jspb.Message {
|
||||
getNickname(): string;
|
||||
setNickname(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CheckNicknameForDuplicationRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CheckNicknameForDuplicationRequest): CheckNicknameForDuplicationRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: CheckNicknameForDuplicationRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): CheckNicknameForDuplicationRequest;
|
||||
static deserializeBinaryFromReader(message: CheckNicknameForDuplicationRequest, reader: jspb.BinaryReader): CheckNicknameForDuplicationRequest;
|
||||
}
|
||||
|
||||
export namespace CheckNicknameForDuplicationRequest {
|
||||
export type AsObject = {
|
||||
nickname: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class CheckNicknameForDuplicationResponse 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(): CheckNicknameForDuplicationResponse.Result | undefined;
|
||||
setResult(value?: CheckNicknameForDuplicationResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CheckNicknameForDuplicationResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CheckNicknameForDuplicationResponse): CheckNicknameForDuplicationResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: CheckNicknameForDuplicationResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): CheckNicknameForDuplicationResponse;
|
||||
static deserializeBinaryFromReader(message: CheckNicknameForDuplicationResponse, reader: jspb.BinaryReader): CheckNicknameForDuplicationResponse;
|
||||
}
|
||||
|
||||
export namespace CheckNicknameForDuplicationResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject,
|
||||
result?: CheckNicknameForDuplicationResponse.Result.AsObject,
|
||||
}
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
getDuplicated(): boolean;
|
||||
setDuplicated(value: boolean): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Result.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Result): Result.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Result, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Result;
|
||||
static deserializeBinaryFromReader(message: Result, reader: jspb.BinaryReader): Result;
|
||||
}
|
||||
|
||||
export namespace Result {
|
||||
export type AsObject = {
|
||||
duplicated: boolean,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export class CaptchaRequest extends jspb.Message {
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CaptchaRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CaptchaRequest): CaptchaRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: CaptchaRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): CaptchaRequest;
|
||||
static deserializeBinaryFromReader(message: CaptchaRequest, reader: jspb.BinaryReader): CaptchaRequest;
|
||||
}
|
||||
|
||||
export namespace CaptchaRequest {
|
||||
export type AsObject = {
|
||||
}
|
||||
}
|
||||
|
||||
export class CaptchaResponse 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(): CaptchaResponse.Result | undefined;
|
||||
setResult(value?: CaptchaResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CaptchaResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CaptchaResponse): CaptchaResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: CaptchaResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): CaptchaResponse;
|
||||
static deserializeBinaryFromReader(message: CaptchaResponse, reader: jspb.BinaryReader): CaptchaResponse;
|
||||
}
|
||||
|
||||
export namespace CaptchaResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject,
|
||||
result?: CaptchaResponse.Result.AsObject,
|
||||
}
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
getSecurityCodeHash(): string;
|
||||
setSecurityCodeHash(value: string): void;
|
||||
|
||||
getImage(): string;
|
||||
setImage(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Result.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Result): Result.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Result, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Result;
|
||||
static deserializeBinaryFromReader(message: Result, reader: jspb.BinaryReader): Result;
|
||||
}
|
||||
|
||||
export namespace Result {
|
||||
export type AsObject = {
|
||||
securityCodeHash: string,
|
||||
image: string,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export class SigninRequest extends jspb.Message {
|
||||
getSecurityCodeHash(): string;
|
||||
setSecurityCodeHash(value: string): void;
|
||||
|
||||
getSecurityCode(): string;
|
||||
setSecurityCode(value: string): void;
|
||||
|
||||
getUsername(): string;
|
||||
setUsername(value: string): void;
|
||||
|
||||
getPassword(): string;
|
||||
setPassword(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): SigninRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: SigninRequest): SigninRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: SigninRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): SigninRequest;
|
||||
static deserializeBinaryFromReader(message: SigninRequest, reader: jspb.BinaryReader): SigninRequest;
|
||||
}
|
||||
|
||||
export namespace SigninRequest {
|
||||
export type AsObject = {
|
||||
securityCodeHash: string,
|
||||
securityCode: string,
|
||||
username: string,
|
||||
password: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class SigninResponse 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(): SigninResponse.Result | undefined;
|
||||
setResult(value?: SigninResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): SigninResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: SigninResponse): SigninResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: SigninResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): SigninResponse;
|
||||
static deserializeBinaryFromReader(message: SigninResponse, reader: jspb.BinaryReader): SigninResponse;
|
||||
}
|
||||
|
||||
export namespace SigninResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject,
|
||||
result?: SigninResponse.Result.AsObject,
|
||||
}
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
getAccessToken(): string;
|
||||
setAccessToken(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Result.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Result): Result.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Result, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Result;
|
||||
static deserializeBinaryFromReader(message: Result, reader: jspb.BinaryReader): Result;
|
||||
}
|
||||
|
||||
export namespace Result {
|
||||
export type AsObject = {
|
||||
accessToken: string,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
2223
src/app/modules/proto/c2se/identity_pb.js
Normal file
2223
src/app/modules/proto/c2se/identity_pb.js
Normal file
File diff suppressed because it is too large
Load Diff
448
src/app/modules/proto/c2se/member_bank_account_pb.d.ts
vendored
Normal file
448
src/app/modules/proto/c2se/member_bank_account_pb.d.ts
vendored
Normal file
|
@ -0,0 +1,448 @@
|
|||
// package: bet.beteran.c2se.member_bank_account
|
||||
// file: c2se/member_bank_account.proto
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
import * as protobuf_rpc_pb from "../protobuf/rpc_pb";
|
||||
import * as protobuf_pagination_pb from "../protobuf/pagination_pb";
|
||||
import * as models_member_bank_account_pb from "../models/member_bank_account_pb";
|
||||
|
||||
export class CreateMemberBankAccountRequest extends jspb.Message {
|
||||
getMemberId(): string;
|
||||
setMemberId(value: string): void;
|
||||
|
||||
getBankId(): string;
|
||||
setBankId(value: string): void;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
getAccountNumber(): string;
|
||||
setAccountNumber(value: string): void;
|
||||
|
||||
hasMemo(): boolean;
|
||||
clearMemo(): void;
|
||||
getMemo(): string;
|
||||
setMemo(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CreateMemberBankAccountRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CreateMemberBankAccountRequest): CreateMemberBankAccountRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: CreateMemberBankAccountRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): CreateMemberBankAccountRequest;
|
||||
static deserializeBinaryFromReader(message: CreateMemberBankAccountRequest, reader: jspb.BinaryReader): CreateMemberBankAccountRequest;
|
||||
}
|
||||
|
||||
export namespace CreateMemberBankAccountRequest {
|
||||
export type AsObject = {
|
||||
memberId: string,
|
||||
bankId: string,
|
||||
name: string,
|
||||
accountNumber: string,
|
||||
memo: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class CreateMemberBankAccountResponse 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(): CreateMemberBankAccountResponse.Result | undefined;
|
||||
setResult(value?: CreateMemberBankAccountResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CreateMemberBankAccountResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CreateMemberBankAccountResponse): CreateMemberBankAccountResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: CreateMemberBankAccountResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): CreateMemberBankAccountResponse;
|
||||
static deserializeBinaryFromReader(message: CreateMemberBankAccountResponse, reader: jspb.BinaryReader): CreateMemberBankAccountResponse;
|
||||
}
|
||||
|
||||
export namespace CreateMemberBankAccountResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject,
|
||||
result?: CreateMemberBankAccountResponse.Result.AsObject,
|
||||
}
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
hasMemberBankAccount(): boolean;
|
||||
clearMemberBankAccount(): void;
|
||||
getMemberBankAccount(): models_member_bank_account_pb.MemberBankAccount | undefined;
|
||||
setMemberBankAccount(value?: models_member_bank_account_pb.MemberBankAccount): void;
|
||||
|
||||
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 = {
|
||||
memberBankAccount?: models_member_bank_account_pb.MemberBankAccount.AsObject,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export class ListMemberBankAccountsRequest extends jspb.Message {
|
||||
hasPagination(): boolean;
|
||||
clearPagination(): void;
|
||||
getPagination(): protobuf_pagination_pb.Pagination | undefined;
|
||||
setPagination(value?: protobuf_pagination_pb.Pagination): void;
|
||||
|
||||
clearSortsList(): void;
|
||||
getSortsList(): Array<protobuf_pagination_pb.Sort>;
|
||||
setSortsList(value: Array<protobuf_pagination_pb.Sort>): void;
|
||||
addSorts(value?: protobuf_pagination_pb.Sort, index?: number): protobuf_pagination_pb.Sort;
|
||||
|
||||
hasSearch(): boolean;
|
||||
clearSearch(): void;
|
||||
getSearch(): ListMemberBankAccountsRequest.Search | undefined;
|
||||
setSearch(value?: ListMemberBankAccountsRequest.Search): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListMemberBankAccountsRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListMemberBankAccountsRequest): ListMemberBankAccountsRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ListMemberBankAccountsRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListMemberBankAccountsRequest;
|
||||
static deserializeBinaryFromReader(message: ListMemberBankAccountsRequest, reader: jspb.BinaryReader): ListMemberBankAccountsRequest;
|
||||
}
|
||||
|
||||
export namespace ListMemberBankAccountsRequest {
|
||||
export type AsObject = {
|
||||
pagination?: protobuf_pagination_pb.Pagination.AsObject,
|
||||
sortsList: Array<protobuf_pagination_pb.Sort.AsObject>,
|
||||
search?: ListMemberBankAccountsRequest.Search.AsObject,
|
||||
}
|
||||
|
||||
export class Search extends jspb.Message {
|
||||
hasMemberId(): boolean;
|
||||
clearMemberId(): void;
|
||||
getMemberId(): string;
|
||||
setMemberId(value: string): void;
|
||||
|
||||
hasBankId(): boolean;
|
||||
clearBankId(): void;
|
||||
getBankId(): string;
|
||||
setBankId(value: string): void;
|
||||
|
||||
hasNameLike(): boolean;
|
||||
clearNameLike(): void;
|
||||
getNameLike(): string;
|
||||
setNameLike(value: string): void;
|
||||
|
||||
hasAccountNumberLike(): boolean;
|
||||
clearAccountNumberLike(): void;
|
||||
getAccountNumberLike(): string;
|
||||
setAccountNumberLike(value: string): void;
|
||||
|
||||
hasMemoLike(): boolean;
|
||||
clearMemoLike(): void;
|
||||
getMemoLike(): string;
|
||||
setMemoLike(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Search.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Search): Search.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Search, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Search;
|
||||
static deserializeBinaryFromReader(message: Search, reader: jspb.BinaryReader): Search;
|
||||
}
|
||||
|
||||
export namespace Search {
|
||||
export type AsObject = {
|
||||
memberId: string,
|
||||
bankId: string,
|
||||
nameLike: string,
|
||||
accountNumberLike: string,
|
||||
memoLike: string,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export class ListMemberBankAccountsResponse 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(): ListMemberBankAccountsResponse.Result | undefined;
|
||||
setResult(value?: ListMemberBankAccountsResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListMemberBankAccountsResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListMemberBankAccountsResponse): ListMemberBankAccountsResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ListMemberBankAccountsResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListMemberBankAccountsResponse;
|
||||
static deserializeBinaryFromReader(message: ListMemberBankAccountsResponse, reader: jspb.BinaryReader): ListMemberBankAccountsResponse;
|
||||
}
|
||||
|
||||
export namespace ListMemberBankAccountsResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject,
|
||||
result?: ListMemberBankAccountsResponse.Result.AsObject,
|
||||
}
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
clearMemberBankAccountsList(): void;
|
||||
getMemberBankAccountsList(): Array<models_member_bank_account_pb.MemberBankAccount>;
|
||||
setMemberBankAccountsList(value: Array<models_member_bank_account_pb.MemberBankAccount>): void;
|
||||
addMemberBankAccounts(value?: models_member_bank_account_pb.MemberBankAccount, index?: number): models_member_bank_account_pb.MemberBankAccount;
|
||||
|
||||
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 = {
|
||||
memberBankAccountsList: Array<models_member_bank_account_pb.MemberBankAccount.AsObject>,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export class GetMemberBankAccountRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetMemberBankAccountRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetMemberBankAccountRequest): GetMemberBankAccountRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GetMemberBankAccountRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetMemberBankAccountRequest;
|
||||
static deserializeBinaryFromReader(message: GetMemberBankAccountRequest, reader: jspb.BinaryReader): GetMemberBankAccountRequest;
|
||||
}
|
||||
|
||||
export namespace GetMemberBankAccountRequest {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class GetMemberBankAccountResponse 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(): GetMemberBankAccountResponse.Result | undefined;
|
||||
setResult(value?: GetMemberBankAccountResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetMemberBankAccountResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetMemberBankAccountResponse): GetMemberBankAccountResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GetMemberBankAccountResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetMemberBankAccountResponse;
|
||||
static deserializeBinaryFromReader(message: GetMemberBankAccountResponse, reader: jspb.BinaryReader): GetMemberBankAccountResponse;
|
||||
}
|
||||
|
||||
export namespace GetMemberBankAccountResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject,
|
||||
result?: GetMemberBankAccountResponse.Result.AsObject,
|
||||
}
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
hasMemberBankAccount(): boolean;
|
||||
clearMemberBankAccount(): void;
|
||||
getMemberBankAccount(): models_member_bank_account_pb.MemberBankAccount | undefined;
|
||||
setMemberBankAccount(value?: models_member_bank_account_pb.MemberBankAccount): void;
|
||||
|
||||
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 = {
|
||||
memberBankAccount?: models_member_bank_account_pb.MemberBankAccount.AsObject,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateMemberBankAccountRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
getBankId(): string;
|
||||
setBankId(value: string): void;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
getAccountNumber(): string;
|
||||
setAccountNumber(value: string): void;
|
||||
|
||||
hasMemo(): boolean;
|
||||
clearMemo(): void;
|
||||
getMemo(): string;
|
||||
setMemo(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateMemberBankAccountRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateMemberBankAccountRequest): UpdateMemberBankAccountRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: UpdateMemberBankAccountRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateMemberBankAccountRequest;
|
||||
static deserializeBinaryFromReader(message: UpdateMemberBankAccountRequest, reader: jspb.BinaryReader): UpdateMemberBankAccountRequest;
|
||||
}
|
||||
|
||||
export namespace UpdateMemberBankAccountRequest {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
bankId: string,
|
||||
name: string,
|
||||
accountNumber: string,
|
||||
memo: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateMemberBankAccountResponse 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(): UpdateMemberBankAccountResponse.Result | undefined;
|
||||
setResult(value?: UpdateMemberBankAccountResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateMemberBankAccountResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateMemberBankAccountResponse): UpdateMemberBankAccountResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: UpdateMemberBankAccountResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateMemberBankAccountResponse;
|
||||
static deserializeBinaryFromReader(message: UpdateMemberBankAccountResponse, reader: jspb.BinaryReader): UpdateMemberBankAccountResponse;
|
||||
}
|
||||
|
||||
export namespace UpdateMemberBankAccountResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject,
|
||||
result?: UpdateMemberBankAccountResponse.Result.AsObject,
|
||||
}
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
hasMemberBankAccount(): boolean;
|
||||
clearMemberBankAccount(): void;
|
||||
getMemberBankAccount(): models_member_bank_account_pb.MemberBankAccount | undefined;
|
||||
setMemberBankAccount(value?: models_member_bank_account_pb.MemberBankAccount): void;
|
||||
|
||||
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 = {
|
||||
memberBankAccount?: models_member_bank_account_pb.MemberBankAccount.AsObject,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export class DeleteMemberBankAccountRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DeleteMemberBankAccountRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DeleteMemberBankAccountRequest): DeleteMemberBankAccountRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: DeleteMemberBankAccountRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): DeleteMemberBankAccountRequest;
|
||||
static deserializeBinaryFromReader(message: DeleteMemberBankAccountRequest, reader: jspb.BinaryReader): DeleteMemberBankAccountRequest;
|
||||
}
|
||||
|
||||
export namespace DeleteMemberBankAccountRequest {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class DeleteMemberBankAccountResponse 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(): DeleteMemberBankAccountResponse.Result | undefined;
|
||||
setResult(value?: DeleteMemberBankAccountResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DeleteMemberBankAccountResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DeleteMemberBankAccountResponse): DeleteMemberBankAccountResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: DeleteMemberBankAccountResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): DeleteMemberBankAccountResponse;
|
||||
static deserializeBinaryFromReader(message: DeleteMemberBankAccountResponse, reader: jspb.BinaryReader): DeleteMemberBankAccountResponse;
|
||||
}
|
||||
|
||||
export namespace DeleteMemberBankAccountResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject,
|
||||
result?: DeleteMemberBankAccountResponse.Result.AsObject,
|
||||
}
|
||||
|
||||
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 = {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
3498
src/app/modules/proto/c2se/member_bank_account_pb.js
Normal file
3498
src/app/modules/proto/c2se/member_bank_account_pb.js
Normal file
File diff suppressed because it is too large
Load Diff
510
src/app/modules/proto/c2se/member_bank_deposit_pb.d.ts
vendored
Normal file
510
src/app/modules/proto/c2se/member_bank_deposit_pb.d.ts
vendored
Normal file
|
@ -0,0 +1,510 @@
|
|||
// package: bet.beteran.c2se.member_bank_deposit
|
||||
// file: c2se/member_bank_deposit.proto
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
import * as protobuf_rpc_pb from "../protobuf/rpc_pb";
|
||||
import * as protobuf_pagination_pb from "../protobuf/pagination_pb";
|
||||
import * as models_member_bank_deposit_pb from "../models/member_bank_deposit_pb";
|
||||
|
||||
export class CreateMemberBankDepositRequest extends jspb.Message {
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
getAmount(): number;
|
||||
setAmount(value: number): void;
|
||||
|
||||
hasMemo(): boolean;
|
||||
clearMemo(): void;
|
||||
getMemo(): string;
|
||||
setMemo(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CreateMemberBankDepositRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CreateMemberBankDepositRequest): CreateMemberBankDepositRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: CreateMemberBankDepositRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): CreateMemberBankDepositRequest;
|
||||
static deserializeBinaryFromReader(message: CreateMemberBankDepositRequest, reader: jspb.BinaryReader): CreateMemberBankDepositRequest;
|
||||
}
|
||||
|
||||
export namespace CreateMemberBankDepositRequest {
|
||||
export type AsObject = {
|
||||
name: string,
|
||||
amount: number,
|
||||
memo: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class CreateMemberBankDepositResponse 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(): CreateMemberBankDepositResponse.Result | undefined;
|
||||
setResult(value?: CreateMemberBankDepositResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CreateMemberBankDepositResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CreateMemberBankDepositResponse): CreateMemberBankDepositResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: CreateMemberBankDepositResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): CreateMemberBankDepositResponse;
|
||||
static deserializeBinaryFromReader(message: CreateMemberBankDepositResponse, reader: jspb.BinaryReader): CreateMemberBankDepositResponse;
|
||||
}
|
||||
|
||||
export namespace CreateMemberBankDepositResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject,
|
||||
result?: CreateMemberBankDepositResponse.Result.AsObject,
|
||||
}
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
hasMemberBankDeposit(): boolean;
|
||||
clearMemberBankDeposit(): void;
|
||||
getMemberBankDeposit(): models_member_bank_deposit_pb.MemberBankDeposit | undefined;
|
||||
setMemberBankDeposit(value?: models_member_bank_deposit_pb.MemberBankDeposit): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Result.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Result): Result.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Result, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Result;
|
||||
static deserializeBinaryFromReader(message: Result, reader: jspb.BinaryReader): Result;
|
||||
}
|
||||
|
||||
export namespace Result {
|
||||
export type AsObject = {
|
||||
memberBankDeposit?: models_member_bank_deposit_pb.MemberBankDeposit.AsObject,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export class ListMemberBankDepositsRequest extends jspb.Message {
|
||||
hasPagination(): boolean;
|
||||
clearPagination(): void;
|
||||
getPagination(): protobuf_pagination_pb.Pagination | undefined;
|
||||
setPagination(value?: protobuf_pagination_pb.Pagination): void;
|
||||
|
||||
clearSortsList(): void;
|
||||
getSortsList(): Array<protobuf_pagination_pb.Sort>;
|
||||
setSortsList(value: Array<protobuf_pagination_pb.Sort>): void;
|
||||
addSorts(value?: protobuf_pagination_pb.Sort, index?: number): protobuf_pagination_pb.Sort;
|
||||
|
||||
hasSearch(): boolean;
|
||||
clearSearch(): void;
|
||||
getSearch(): ListMemberBankDepositsRequest.Search | undefined;
|
||||
setSearch(value?: ListMemberBankDepositsRequest.Search): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListMemberBankDepositsRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListMemberBankDepositsRequest): ListMemberBankDepositsRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ListMemberBankDepositsRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListMemberBankDepositsRequest;
|
||||
static deserializeBinaryFromReader(message: ListMemberBankDepositsRequest, reader: jspb.BinaryReader): ListMemberBankDepositsRequest;
|
||||
}
|
||||
|
||||
export namespace ListMemberBankDepositsRequest {
|
||||
export type AsObject = {
|
||||
pagination?: protobuf_pagination_pb.Pagination.AsObject,
|
||||
sortsList: Array<protobuf_pagination_pb.Sort.AsObject>,
|
||||
search?: ListMemberBankDepositsRequest.Search.AsObject,
|
||||
}
|
||||
|
||||
export class Search extends jspb.Message {
|
||||
hasMemberId(): boolean;
|
||||
clearMemberId(): void;
|
||||
getMemberId(): string;
|
||||
setMemberId(value: string): void;
|
||||
|
||||
hasNameLike(): boolean;
|
||||
clearNameLike(): void;
|
||||
getNameLike(): string;
|
||||
setNameLike(value: string): void;
|
||||
|
||||
hasAmount(): boolean;
|
||||
clearAmount(): void;
|
||||
getAmount(): string;
|
||||
setAmount(value: string): void;
|
||||
|
||||
hasMemoLike(): boolean;
|
||||
clearMemoLike(): void;
|
||||
getMemoLike(): string;
|
||||
setMemoLike(value: string): void;
|
||||
|
||||
hasState(): boolean;
|
||||
clearState(): void;
|
||||
getState(): string;
|
||||
setState(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Search.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Search): Search.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Search, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Search;
|
||||
static deserializeBinaryFromReader(message: Search, reader: jspb.BinaryReader): Search;
|
||||
}
|
||||
|
||||
export namespace Search {
|
||||
export type AsObject = {
|
||||
memberId: string,
|
||||
nameLike: string,
|
||||
amount: string,
|
||||
memoLike: string,
|
||||
state: string,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export class ListMemberBankDepositsResponse 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(): ListMemberBankDepositsResponse.Result | undefined;
|
||||
setResult(value?: ListMemberBankDepositsResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListMemberBankDepositsResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListMemberBankDepositsResponse): ListMemberBankDepositsResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ListMemberBankDepositsResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListMemberBankDepositsResponse;
|
||||
static deserializeBinaryFromReader(message: ListMemberBankDepositsResponse, reader: jspb.BinaryReader): ListMemberBankDepositsResponse;
|
||||
}
|
||||
|
||||
export namespace ListMemberBankDepositsResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject,
|
||||
result?: ListMemberBankDepositsResponse.Result.AsObject,
|
||||
}
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
clearMemberBankDepositsList(): void;
|
||||
getMemberBankDepositsList(): Array<models_member_bank_deposit_pb.MemberBankDeposit>;
|
||||
setMemberBankDepositsList(value: Array<models_member_bank_deposit_pb.MemberBankDeposit>): void;
|
||||
addMemberBankDeposits(value?: models_member_bank_deposit_pb.MemberBankDeposit, index?: number): models_member_bank_deposit_pb.MemberBankDeposit;
|
||||
|
||||
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 = {
|
||||
memberBankDepositsList: Array<models_member_bank_deposit_pb.MemberBankDeposit.AsObject>,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export class GetMemberBankDepositRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetMemberBankDepositRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetMemberBankDepositRequest): GetMemberBankDepositRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GetMemberBankDepositRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetMemberBankDepositRequest;
|
||||
static deserializeBinaryFromReader(message: GetMemberBankDepositRequest, reader: jspb.BinaryReader): GetMemberBankDepositRequest;
|
||||
}
|
||||
|
||||
export namespace GetMemberBankDepositRequest {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class GetMemberBankDepositResponse 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(): GetMemberBankDepositResponse.Result | undefined;
|
||||
setResult(value?: GetMemberBankDepositResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetMemberBankDepositResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetMemberBankDepositResponse): GetMemberBankDepositResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GetMemberBankDepositResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetMemberBankDepositResponse;
|
||||
static deserializeBinaryFromReader(message: GetMemberBankDepositResponse, reader: jspb.BinaryReader): GetMemberBankDepositResponse;
|
||||
}
|
||||
|
||||
export namespace GetMemberBankDepositResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject,
|
||||
result?: GetMemberBankDepositResponse.Result.AsObject,
|
||||
}
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
hasMemberBankDeposit(): boolean;
|
||||
clearMemberBankDeposit(): void;
|
||||
getMemberBankDeposit(): models_member_bank_deposit_pb.MemberBankDeposit | undefined;
|
||||
setMemberBankDeposit(value?: models_member_bank_deposit_pb.MemberBankDeposit): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Result.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Result): Result.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Result, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Result;
|
||||
static deserializeBinaryFromReader(message: Result, reader: jspb.BinaryReader): Result;
|
||||
}
|
||||
|
||||
export namespace Result {
|
||||
export type AsObject = {
|
||||
memberBankDeposit?: models_member_bank_deposit_pb.MemberBankDeposit.AsObject,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateMemberBankDepositRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
getAmount(): number;
|
||||
setAmount(value: number): void;
|
||||
|
||||
hasMemo(): boolean;
|
||||
clearMemo(): void;
|
||||
getMemo(): string;
|
||||
setMemo(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateMemberBankDepositRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateMemberBankDepositRequest): UpdateMemberBankDepositRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: UpdateMemberBankDepositRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateMemberBankDepositRequest;
|
||||
static deserializeBinaryFromReader(message: UpdateMemberBankDepositRequest, reader: jspb.BinaryReader): UpdateMemberBankDepositRequest;
|
||||
}
|
||||
|
||||
export namespace UpdateMemberBankDepositRequest {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
name: string,
|
||||
amount: number,
|
||||
memo: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateMemberBankDepositResponse 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(): UpdateMemberBankDepositResponse.Result | undefined;
|
||||
setResult(value?: UpdateMemberBankDepositResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateMemberBankDepositResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateMemberBankDepositResponse): UpdateMemberBankDepositResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: UpdateMemberBankDepositResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateMemberBankDepositResponse;
|
||||
static deserializeBinaryFromReader(message: UpdateMemberBankDepositResponse, reader: jspb.BinaryReader): UpdateMemberBankDepositResponse;
|
||||
}
|
||||
|
||||
export namespace UpdateMemberBankDepositResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject,
|
||||
result?: UpdateMemberBankDepositResponse.Result.AsObject,
|
||||
}
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
hasMemberBankDeposit(): boolean;
|
||||
clearMemberBankDeposit(): void;
|
||||
getMemberBankDeposit(): models_member_bank_deposit_pb.MemberBankDeposit | undefined;
|
||||
setMemberBankDeposit(value?: models_member_bank_deposit_pb.MemberBankDeposit): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Result.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Result): Result.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Result, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Result;
|
||||
static deserializeBinaryFromReader(message: Result, reader: jspb.BinaryReader): Result;
|
||||
}
|
||||
|
||||
export namespace Result {
|
||||
export type AsObject = {
|
||||
memberBankDeposit?: models_member_bank_deposit_pb.MemberBankDeposit.AsObject,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateMemberBankDepositForStateRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
getState(): models_member_bank_deposit_pb.MemberBankDepositStateMap[keyof models_member_bank_deposit_pb.MemberBankDepositStateMap];
|
||||
setState(value: models_member_bank_deposit_pb.MemberBankDepositStateMap[keyof models_member_bank_deposit_pb.MemberBankDepositStateMap]): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateMemberBankDepositForStateRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateMemberBankDepositForStateRequest): UpdateMemberBankDepositForStateRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: UpdateMemberBankDepositForStateRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateMemberBankDepositForStateRequest;
|
||||
static deserializeBinaryFromReader(message: UpdateMemberBankDepositForStateRequest, reader: jspb.BinaryReader): UpdateMemberBankDepositForStateRequest;
|
||||
}
|
||||
|
||||
export namespace UpdateMemberBankDepositForStateRequest {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
state: models_member_bank_deposit_pb.MemberBankDepositStateMap[keyof models_member_bank_deposit_pb.MemberBankDepositStateMap],
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateMemberBankDepositForStateResponse 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(): UpdateMemberBankDepositForStateResponse.Result | undefined;
|
||||
setResult(value?: UpdateMemberBankDepositForStateResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateMemberBankDepositForStateResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateMemberBankDepositForStateResponse): UpdateMemberBankDepositForStateResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: UpdateMemberBankDepositForStateResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateMemberBankDepositForStateResponse;
|
||||
static deserializeBinaryFromReader(message: UpdateMemberBankDepositForStateResponse, reader: jspb.BinaryReader): UpdateMemberBankDepositForStateResponse;
|
||||
}
|
||||
|
||||
export namespace UpdateMemberBankDepositForStateResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject,
|
||||
result?: UpdateMemberBankDepositForStateResponse.Result.AsObject,
|
||||
}
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
hasMemberBankDeposit(): boolean;
|
||||
clearMemberBankDeposit(): void;
|
||||
getMemberBankDeposit(): models_member_bank_deposit_pb.MemberBankDeposit | undefined;
|
||||
setMemberBankDeposit(value?: models_member_bank_deposit_pb.MemberBankDeposit): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Result.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Result): Result.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Result, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Result;
|
||||
static deserializeBinaryFromReader(message: Result, reader: jspb.BinaryReader): Result;
|
||||
}
|
||||
|
||||
export namespace Result {
|
||||
export type AsObject = {
|
||||
memberBankDeposit?: models_member_bank_deposit_pb.MemberBankDeposit.AsObject,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export class DeleteMemberBankDepositRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DeleteMemberBankDepositRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DeleteMemberBankDepositRequest): DeleteMemberBankDepositRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: DeleteMemberBankDepositRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): DeleteMemberBankDepositRequest;
|
||||
static deserializeBinaryFromReader(message: DeleteMemberBankDepositRequest, reader: jspb.BinaryReader): DeleteMemberBankDepositRequest;
|
||||
}
|
||||
|
||||
export namespace DeleteMemberBankDepositRequest {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class DeleteMemberBankDepositResponse 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(): DeleteMemberBankDepositResponse.Result | undefined;
|
||||
setResult(value?: DeleteMemberBankDepositResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DeleteMemberBankDepositResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DeleteMemberBankDepositResponse): DeleteMemberBankDepositResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: DeleteMemberBankDepositResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): DeleteMemberBankDepositResponse;
|
||||
static deserializeBinaryFromReader(message: DeleteMemberBankDepositResponse, reader: jspb.BinaryReader): DeleteMemberBankDepositResponse;
|
||||
}
|
||||
|
||||
export namespace DeleteMemberBankDepositResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject,
|
||||
result?: DeleteMemberBankDepositResponse.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 = {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
3987
src/app/modules/proto/c2se/member_bank_deposit_pb.js
Normal file
3987
src/app/modules/proto/c2se/member_bank_deposit_pb.js
Normal file
File diff suppressed because it is too large
Load Diff
546
src/app/modules/proto/c2se/member_bank_withdraw_pb.d.ts
vendored
Normal file
546
src/app/modules/proto/c2se/member_bank_withdraw_pb.d.ts
vendored
Normal file
|
@ -0,0 +1,546 @@
|
|||
// package: bet.beteran.c2se.member_bank_withdraw
|
||||
// file: c2se/member_bank_withdraw.proto
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
import * as protobuf_rpc_pb from "../protobuf/rpc_pb";
|
||||
import * as protobuf_pagination_pb from "../protobuf/pagination_pb";
|
||||
import * as models_member_bank_withdraw_pb from "../models/member_bank_withdraw_pb";
|
||||
|
||||
export class CreateMemberBankWithdrawRequest extends jspb.Message {
|
||||
getBankName(): string;
|
||||
setBankName(value: string): void;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
getAccountNumber(): string;
|
||||
setAccountNumber(value: string): void;
|
||||
|
||||
getAmount(): number;
|
||||
setAmount(value: number): void;
|
||||
|
||||
getPassword(): string;
|
||||
setPassword(value: string): void;
|
||||
|
||||
hasMemo(): boolean;
|
||||
clearMemo(): void;
|
||||
getMemo(): string;
|
||||
setMemo(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CreateMemberBankWithdrawRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CreateMemberBankWithdrawRequest): CreateMemberBankWithdrawRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: CreateMemberBankWithdrawRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): CreateMemberBankWithdrawRequest;
|
||||
static deserializeBinaryFromReader(message: CreateMemberBankWithdrawRequest, reader: jspb.BinaryReader): CreateMemberBankWithdrawRequest;
|
||||
}
|
||||
|
||||
export namespace CreateMemberBankWithdrawRequest {
|
||||
export type AsObject = {
|
||||
bankName: string,
|
||||
name: string,
|
||||
accountNumber: string,
|
||||
amount: number,
|
||||
password: string,
|
||||
memo: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class CreateMemberBankWithdrawResponse 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(): CreateMemberBankWithdrawResponse.Result | undefined;
|
||||
setResult(value?: CreateMemberBankWithdrawResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CreateMemberBankWithdrawResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CreateMemberBankWithdrawResponse): CreateMemberBankWithdrawResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: CreateMemberBankWithdrawResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): CreateMemberBankWithdrawResponse;
|
||||
static deserializeBinaryFromReader(message: CreateMemberBankWithdrawResponse, reader: jspb.BinaryReader): CreateMemberBankWithdrawResponse;
|
||||
}
|
||||
|
||||
export namespace CreateMemberBankWithdrawResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject,
|
||||
result?: CreateMemberBankWithdrawResponse.Result.AsObject,
|
||||
}
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
hasMemberBankWithdraw(): boolean;
|
||||
clearMemberBankWithdraw(): void;
|
||||
getMemberBankWithdraw(): models_member_bank_withdraw_pb.MemberBankWithdraw | undefined;
|
||||
setMemberBankWithdraw(value?: models_member_bank_withdraw_pb.MemberBankWithdraw): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Result.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Result): Result.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Result, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Result;
|
||||
static deserializeBinaryFromReader(message: Result, reader: jspb.BinaryReader): Result;
|
||||
}
|
||||
|
||||
export namespace Result {
|
||||
export type AsObject = {
|
||||
memberBankWithdraw?: models_member_bank_withdraw_pb.MemberBankWithdraw.AsObject,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export class ListMemberBankWithdrawsRequest extends jspb.Message {
|
||||
hasPagination(): boolean;
|
||||
clearPagination(): void;
|
||||
getPagination(): protobuf_pagination_pb.Pagination | undefined;
|
||||
setPagination(value?: protobuf_pagination_pb.Pagination): void;
|
||||
|
||||
clearSortsList(): void;
|
||||
getSortsList(): Array<protobuf_pagination_pb.Sort>;
|
||||
setSortsList(value: Array<protobuf_pagination_pb.Sort>): void;
|
||||
addSorts(value?: protobuf_pagination_pb.Sort, index?: number): protobuf_pagination_pb.Sort;
|
||||
|
||||
hasSearch(): boolean;
|
||||
clearSearch(): void;
|
||||
getSearch(): ListMemberBankWithdrawsRequest.Search | undefined;
|
||||
setSearch(value?: ListMemberBankWithdrawsRequest.Search): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListMemberBankWithdrawsRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListMemberBankWithdrawsRequest): ListMemberBankWithdrawsRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ListMemberBankWithdrawsRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListMemberBankWithdrawsRequest;
|
||||
static deserializeBinaryFromReader(message: ListMemberBankWithdrawsRequest, reader: jspb.BinaryReader): ListMemberBankWithdrawsRequest;
|
||||
}
|
||||
|
||||
export namespace ListMemberBankWithdrawsRequest {
|
||||
export type AsObject = {
|
||||
pagination?: protobuf_pagination_pb.Pagination.AsObject,
|
||||
sortsList: Array<protobuf_pagination_pb.Sort.AsObject>,
|
||||
search?: ListMemberBankWithdrawsRequest.Search.AsObject,
|
||||
}
|
||||
|
||||
export class Search extends jspb.Message {
|
||||
hasMemberId(): boolean;
|
||||
clearMemberId(): void;
|
||||
getMemberId(): string;
|
||||
setMemberId(value: string): void;
|
||||
|
||||
hasBankNameLike(): boolean;
|
||||
clearBankNameLike(): void;
|
||||
getBankNameLike(): string;
|
||||
setBankNameLike(value: string): void;
|
||||
|
||||
hasNameLike(): boolean;
|
||||
clearNameLike(): void;
|
||||
getNameLike(): string;
|
||||
setNameLike(value: string): void;
|
||||
|
||||
hasAccountNumberLike(): boolean;
|
||||
clearAccountNumberLike(): void;
|
||||
getAccountNumberLike(): string;
|
||||
setAccountNumberLike(value: string): void;
|
||||
|
||||
hasAmount(): boolean;
|
||||
clearAmount(): void;
|
||||
getAmount(): string;
|
||||
setAmount(value: string): void;
|
||||
|
||||
hasMemoLike(): boolean;
|
||||
clearMemoLike(): void;
|
||||
getMemoLike(): string;
|
||||
setMemoLike(value: string): void;
|
||||
|
||||
hasState(): boolean;
|
||||
clearState(): void;
|
||||
getState(): string;
|
||||
setState(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Search.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Search): Search.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Search, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Search;
|
||||
static deserializeBinaryFromReader(message: Search, reader: jspb.BinaryReader): Search;
|
||||
}
|
||||
|
||||
export namespace Search {
|
||||
export type AsObject = {
|
||||
memberId: string,
|
||||
bankNameLike: string,
|
||||
nameLike: string,
|
||||
accountNumberLike: string,
|
||||
amount: string,
|
||||
memoLike: string,
|
||||
state: string,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export class ListMemberBankWithdrawsResponse 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(): ListMemberBankWithdrawsResponse.Result | undefined;
|
||||
setResult(value?: ListMemberBankWithdrawsResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListMemberBankWithdrawsResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListMemberBankWithdrawsResponse): ListMemberBankWithdrawsResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ListMemberBankWithdrawsResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListMemberBankWithdrawsResponse;
|
||||
static deserializeBinaryFromReader(message: ListMemberBankWithdrawsResponse, reader: jspb.BinaryReader): ListMemberBankWithdrawsResponse;
|
||||
}
|
||||
|
||||
export namespace ListMemberBankWithdrawsResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject,
|
||||
result?: ListMemberBankWithdrawsResponse.Result.AsObject,
|
||||
}
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
clearMemberBankWithdrawsList(): void;
|
||||
getMemberBankWithdrawsList(): Array<models_member_bank_withdraw_pb.MemberBankWithdraw>;
|
||||
setMemberBankWithdrawsList(value: Array<models_member_bank_withdraw_pb.MemberBankWithdraw>): void;
|
||||
addMemberBankWithdraws(value?: models_member_bank_withdraw_pb.MemberBankWithdraw, index?: number): models_member_bank_withdraw_pb.MemberBankWithdraw;
|
||||
|
||||
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 = {
|
||||
memberBankWithdrawsList: Array<models_member_bank_withdraw_pb.MemberBankWithdraw.AsObject>,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export class GetMemberBankWithdrawRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetMemberBankWithdrawRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetMemberBankWithdrawRequest): GetMemberBankWithdrawRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GetMemberBankWithdrawRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetMemberBankWithdrawRequest;
|
||||
static deserializeBinaryFromReader(message: GetMemberBankWithdrawRequest, reader: jspb.BinaryReader): GetMemberBankWithdrawRequest;
|
||||
}
|
||||
|
||||
export namespace GetMemberBankWithdrawRequest {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class GetMemberBankWithdrawResponse 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(): GetMemberBankWithdrawResponse.Result | undefined;
|
||||
setResult(value?: GetMemberBankWithdrawResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetMemberBankWithdrawResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetMemberBankWithdrawResponse): GetMemberBankWithdrawResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GetMemberBankWithdrawResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetMemberBankWithdrawResponse;
|
||||
static deserializeBinaryFromReader(message: GetMemberBankWithdrawResponse, reader: jspb.BinaryReader): GetMemberBankWithdrawResponse;
|
||||
}
|
||||
|
||||
export namespace GetMemberBankWithdrawResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject,
|
||||
result?: GetMemberBankWithdrawResponse.Result.AsObject,
|
||||
}
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
hasMemberBankWithdraw(): boolean;
|
||||
clearMemberBankWithdraw(): void;
|
||||
getMemberBankWithdraw(): models_member_bank_withdraw_pb.MemberBankWithdraw | undefined;
|
||||
setMemberBankWithdraw(value?: models_member_bank_withdraw_pb.MemberBankWithdraw): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Result.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Result): Result.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Result, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Result;
|
||||
static deserializeBinaryFromReader(message: Result, reader: jspb.BinaryReader): Result;
|
||||
}
|
||||
|
||||
export namespace Result {
|
||||
export type AsObject = {
|
||||
memberBankWithdraw?: models_member_bank_withdraw_pb.MemberBankWithdraw.AsObject,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateMemberBankWithdrawRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
getBankName(): string;
|
||||
setBankName(value: string): void;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
getAccountNumber(): string;
|
||||
setAccountNumber(value: string): void;
|
||||
|
||||
getAmount(): number;
|
||||
setAmount(value: number): void;
|
||||
|
||||
getPassword(): string;
|
||||
setPassword(value: string): void;
|
||||
|
||||
hasMemo(): boolean;
|
||||
clearMemo(): void;
|
||||
getMemo(): string;
|
||||
setMemo(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateMemberBankWithdrawRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateMemberBankWithdrawRequest): UpdateMemberBankWithdrawRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: UpdateMemberBankWithdrawRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateMemberBankWithdrawRequest;
|
||||
static deserializeBinaryFromReader(message: UpdateMemberBankWithdrawRequest, reader: jspb.BinaryReader): UpdateMemberBankWithdrawRequest;
|
||||
}
|
||||
|
||||
export namespace UpdateMemberBankWithdrawRequest {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
bankName: string,
|
||||
name: string,
|
||||
accountNumber: string,
|
||||
amount: number,
|
||||
password: string,
|
||||
memo: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateMemberBankWithdrawResponse 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(): UpdateMemberBankWithdrawResponse.Result | undefined;
|
||||
setResult(value?: UpdateMemberBankWithdrawResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateMemberBankWithdrawResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateMemberBankWithdrawResponse): UpdateMemberBankWithdrawResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: UpdateMemberBankWithdrawResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateMemberBankWithdrawResponse;
|
||||
static deserializeBinaryFromReader(message: UpdateMemberBankWithdrawResponse, reader: jspb.BinaryReader): UpdateMemberBankWithdrawResponse;
|
||||
}
|
||||
|
||||
export namespace UpdateMemberBankWithdrawResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject,
|
||||
result?: UpdateMemberBankWithdrawResponse.Result.AsObject,
|
||||
}
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
hasMemberBankWithdraw(): boolean;
|
||||
clearMemberBankWithdraw(): void;
|
||||
getMemberBankWithdraw(): models_member_bank_withdraw_pb.MemberBankWithdraw | undefined;
|
||||
setMemberBankWithdraw(value?: models_member_bank_withdraw_pb.MemberBankWithdraw): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Result.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Result): Result.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Result, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Result;
|
||||
static deserializeBinaryFromReader(message: Result, reader: jspb.BinaryReader): Result;
|
||||
}
|
||||
|
||||
export namespace Result {
|
||||
export type AsObject = {
|
||||
memberBankWithdraw?: models_member_bank_withdraw_pb.MemberBankWithdraw.AsObject,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateMemberBankWithdrawForStateRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
getState(): models_member_bank_withdraw_pb.MemberBankWithdrawStateMap[keyof models_member_bank_withdraw_pb.MemberBankWithdrawStateMap];
|
||||
setState(value: models_member_bank_withdraw_pb.MemberBankWithdrawStateMap[keyof models_member_bank_withdraw_pb.MemberBankWithdrawStateMap]): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateMemberBankWithdrawForStateRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateMemberBankWithdrawForStateRequest): UpdateMemberBankWithdrawForStateRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: UpdateMemberBankWithdrawForStateRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateMemberBankWithdrawForStateRequest;
|
||||
static deserializeBinaryFromReader(message: UpdateMemberBankWithdrawForStateRequest, reader: jspb.BinaryReader): UpdateMemberBankWithdrawForStateRequest;
|
||||
}
|
||||
|
||||
export namespace UpdateMemberBankWithdrawForStateRequest {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
state: models_member_bank_withdraw_pb.MemberBankWithdrawStateMap[keyof models_member_bank_withdraw_pb.MemberBankWithdrawStateMap],
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateMemberBankWithdrawForStateResponse 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(): UpdateMemberBankWithdrawForStateResponse.Result | undefined;
|
||||
setResult(value?: UpdateMemberBankWithdrawForStateResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateMemberBankWithdrawForStateResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateMemberBankWithdrawForStateResponse): UpdateMemberBankWithdrawForStateResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: UpdateMemberBankWithdrawForStateResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateMemberBankWithdrawForStateResponse;
|
||||
static deserializeBinaryFromReader(message: UpdateMemberBankWithdrawForStateResponse, reader: jspb.BinaryReader): UpdateMemberBankWithdrawForStateResponse;
|
||||
}
|
||||
|
||||
export namespace UpdateMemberBankWithdrawForStateResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject,
|
||||
result?: UpdateMemberBankWithdrawForStateResponse.Result.AsObject,
|
||||
}
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
hasMemberBankWithdraw(): boolean;
|
||||
clearMemberBankWithdraw(): void;
|
||||
getMemberBankWithdraw(): models_member_bank_withdraw_pb.MemberBankWithdraw | undefined;
|
||||
setMemberBankWithdraw(value?: models_member_bank_withdraw_pb.MemberBankWithdraw): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Result.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Result): Result.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Result, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Result;
|
||||
static deserializeBinaryFromReader(message: Result, reader: jspb.BinaryReader): Result;
|
||||
}
|
||||
|
||||
export namespace Result {
|
||||
export type AsObject = {
|
||||
memberBankWithdraw?: models_member_bank_withdraw_pb.MemberBankWithdraw.AsObject,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export class DeleteMemberBankWithdrawRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DeleteMemberBankWithdrawRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DeleteMemberBankWithdrawRequest): DeleteMemberBankWithdrawRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: DeleteMemberBankWithdrawRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): DeleteMemberBankWithdrawRequest;
|
||||
static deserializeBinaryFromReader(message: DeleteMemberBankWithdrawRequest, reader: jspb.BinaryReader): DeleteMemberBankWithdrawRequest;
|
||||
}
|
||||
|
||||
export namespace DeleteMemberBankWithdrawRequest {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class DeleteMemberBankWithdrawResponse 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(): DeleteMemberBankWithdrawResponse.Result | undefined;
|
||||
setResult(value?: DeleteMemberBankWithdrawResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DeleteMemberBankWithdrawResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DeleteMemberBankWithdrawResponse): DeleteMemberBankWithdrawResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: DeleteMemberBankWithdrawResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): DeleteMemberBankWithdrawResponse;
|
||||
static deserializeBinaryFromReader(message: DeleteMemberBankWithdrawResponse, reader: jspb.BinaryReader): DeleteMemberBankWithdrawResponse;
|
||||
}
|
||||
|
||||
export namespace DeleteMemberBankWithdrawResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject,
|
||||
result?: DeleteMemberBankWithdrawResponse.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 = {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
4263
src/app/modules/proto/c2se/member_bank_withdraw_pb.js
Normal file
4263
src/app/modules/proto/c2se/member_bank_withdraw_pb.js
Normal file
File diff suppressed because it is too large
Load Diff
404
src/app/modules/proto/c2se/member_class_pb.d.ts
vendored
Normal file
404
src/app/modules/proto/c2se/member_class_pb.d.ts
vendored
Normal file
|
@ -0,0 +1,404 @@
|
|||
// package: bet.beteran.c2se.member_class
|
||||
// file: c2se/member_class.proto
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
import * as protobuf_rpc_pb from "../protobuf/rpc_pb";
|
||||
import * as protobuf_pagination_pb from "../protobuf/pagination_pb";
|
||||
import * as models_member_class_pb from "../models/member_class_pb";
|
||||
|
||||
export class CreateMemberClassRequest extends jspb.Message {
|
||||
hasParentId(): boolean;
|
||||
clearParentId(): void;
|
||||
getParentId(): string;
|
||||
setParentId(value: string): void;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CreateMemberClassRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CreateMemberClassRequest): CreateMemberClassRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: CreateMemberClassRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): CreateMemberClassRequest;
|
||||
static deserializeBinaryFromReader(message: CreateMemberClassRequest, reader: jspb.BinaryReader): CreateMemberClassRequest;
|
||||
}
|
||||
|
||||
export namespace CreateMemberClassRequest {
|
||||
export type AsObject = {
|
||||
parentId: string,
|
||||
name: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class CreateMemberClassResponse 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(): CreateMemberClassResponse.Result | undefined;
|
||||
setResult(value?: CreateMemberClassResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CreateMemberClassResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CreateMemberClassResponse): CreateMemberClassResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: CreateMemberClassResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): CreateMemberClassResponse;
|
||||
static deserializeBinaryFromReader(message: CreateMemberClassResponse, reader: jspb.BinaryReader): CreateMemberClassResponse;
|
||||
}
|
||||
|
||||
export namespace CreateMemberClassResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject,
|
||||
result?: CreateMemberClassResponse.Result.AsObject,
|
||||
}
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
hasMemberClass(): boolean;
|
||||
clearMemberClass(): void;
|
||||
getMemberClass(): models_member_class_pb.MemberClass | undefined;
|
||||
setMemberClass(value?: models_member_class_pb.MemberClass): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Result.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Result): Result.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Result, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Result;
|
||||
static deserializeBinaryFromReader(message: Result, reader: jspb.BinaryReader): Result;
|
||||
}
|
||||
|
||||
export namespace Result {
|
||||
export type AsObject = {
|
||||
memberClass?: models_member_class_pb.MemberClass.AsObject,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export class ListMemberClassesRequest extends jspb.Message {
|
||||
hasPagination(): boolean;
|
||||
clearPagination(): void;
|
||||
getPagination(): protobuf_pagination_pb.Pagination | undefined;
|
||||
setPagination(value?: protobuf_pagination_pb.Pagination): void;
|
||||
|
||||
clearSortsList(): void;
|
||||
getSortsList(): Array<protobuf_pagination_pb.Sort>;
|
||||
setSortsList(value: Array<protobuf_pagination_pb.Sort>): void;
|
||||
addSorts(value?: protobuf_pagination_pb.Sort, index?: number): protobuf_pagination_pb.Sort;
|
||||
|
||||
hasSearch(): boolean;
|
||||
clearSearch(): void;
|
||||
getSearch(): ListMemberClassesRequest.Search | undefined;
|
||||
setSearch(value?: ListMemberClassesRequest.Search): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListMemberClassesRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListMemberClassesRequest): ListMemberClassesRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ListMemberClassesRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListMemberClassesRequest;
|
||||
static deserializeBinaryFromReader(message: ListMemberClassesRequest, reader: jspb.BinaryReader): ListMemberClassesRequest;
|
||||
}
|
||||
|
||||
export namespace ListMemberClassesRequest {
|
||||
export type AsObject = {
|
||||
pagination?: protobuf_pagination_pb.Pagination.AsObject,
|
||||
sortsList: Array<protobuf_pagination_pb.Sort.AsObject>,
|
||||
search?: ListMemberClassesRequest.Search.AsObject,
|
||||
}
|
||||
|
||||
export class Search extends jspb.Message {
|
||||
hasNameLike(): boolean;
|
||||
clearNameLike(): void;
|
||||
getNameLike(): string;
|
||||
setNameLike(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Search.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Search): Search.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Search, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Search;
|
||||
static deserializeBinaryFromReader(message: Search, reader: jspb.BinaryReader): Search;
|
||||
}
|
||||
|
||||
export namespace Search {
|
||||
export type AsObject = {
|
||||
nameLike: string,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export class ListMemberClassesResponse 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(): ListMemberClassesResponse.Result | undefined;
|
||||
setResult(value?: ListMemberClassesResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListMemberClassesResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListMemberClassesResponse): ListMemberClassesResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ListMemberClassesResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListMemberClassesResponse;
|
||||
static deserializeBinaryFromReader(message: ListMemberClassesResponse, reader: jspb.BinaryReader): ListMemberClassesResponse;
|
||||
}
|
||||
|
||||
export namespace ListMemberClassesResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject,
|
||||
result?: ListMemberClassesResponse.Result.AsObject,
|
||||
}
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
clearMemberClassesList(): void;
|
||||
getMemberClassesList(): Array<models_member_class_pb.MemberClass>;
|
||||
setMemberClassesList(value: Array<models_member_class_pb.MemberClass>): void;
|
||||
addMemberClasses(value?: models_member_class_pb.MemberClass, index?: number): models_member_class_pb.MemberClass;
|
||||
|
||||
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 = {
|
||||
memberClassesList: Array<models_member_class_pb.MemberClass.AsObject>,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export class GetMemberClassRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetMemberClassRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetMemberClassRequest): GetMemberClassRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GetMemberClassRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetMemberClassRequest;
|
||||
static deserializeBinaryFromReader(message: GetMemberClassRequest, reader: jspb.BinaryReader): GetMemberClassRequest;
|
||||
}
|
||||
|
||||
export namespace GetMemberClassRequest {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class GetMemberClassResponse 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(): GetMemberClassResponse.Result | undefined;
|
||||
setResult(value?: GetMemberClassResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetMemberClassResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetMemberClassResponse): GetMemberClassResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GetMemberClassResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetMemberClassResponse;
|
||||
static deserializeBinaryFromReader(message: GetMemberClassResponse, reader: jspb.BinaryReader): GetMemberClassResponse;
|
||||
}
|
||||
|
||||
export namespace GetMemberClassResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject,
|
||||
result?: GetMemberClassResponse.Result.AsObject,
|
||||
}
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
hasMemberClass(): boolean;
|
||||
clearMemberClass(): void;
|
||||
getMemberClass(): models_member_class_pb.MemberClass | undefined;
|
||||
setMemberClass(value?: models_member_class_pb.MemberClass): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Result.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Result): Result.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Result, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Result;
|
||||
static deserializeBinaryFromReader(message: Result, reader: jspb.BinaryReader): Result;
|
||||
}
|
||||
|
||||
export namespace Result {
|
||||
export type AsObject = {
|
||||
memberClass?: models_member_class_pb.MemberClass.AsObject,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateMemberClassRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
hasParentId(): boolean;
|
||||
clearParentId(): void;
|
||||
getParentId(): string;
|
||||
setParentId(value: string): void;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateMemberClassRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateMemberClassRequest): UpdateMemberClassRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: UpdateMemberClassRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateMemberClassRequest;
|
||||
static deserializeBinaryFromReader(message: UpdateMemberClassRequest, reader: jspb.BinaryReader): UpdateMemberClassRequest;
|
||||
}
|
||||
|
||||
export namespace UpdateMemberClassRequest {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
parentId: string,
|
||||
name: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateMemberClassResponse 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(): UpdateMemberClassResponse.Result | undefined;
|
||||
setResult(value?: UpdateMemberClassResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateMemberClassResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateMemberClassResponse): UpdateMemberClassResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: UpdateMemberClassResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateMemberClassResponse;
|
||||
static deserializeBinaryFromReader(message: UpdateMemberClassResponse, reader: jspb.BinaryReader): UpdateMemberClassResponse;
|
||||
}
|
||||
|
||||
export namespace UpdateMemberClassResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject,
|
||||
result?: UpdateMemberClassResponse.Result.AsObject,
|
||||
}
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
hasMemberClass(): boolean;
|
||||
clearMemberClass(): void;
|
||||
getMemberClass(): models_member_class_pb.MemberClass | undefined;
|
||||
setMemberClass(value?: models_member_class_pb.MemberClass): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Result.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Result): Result.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Result, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Result;
|
||||
static deserializeBinaryFromReader(message: Result, reader: jspb.BinaryReader): Result;
|
||||
}
|
||||
|
||||
export namespace Result {
|
||||
export type AsObject = {
|
||||
memberClass?: models_member_class_pb.MemberClass.AsObject,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export class DeleteMemberClassRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DeleteMemberClassRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DeleteMemberClassRequest): DeleteMemberClassRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: DeleteMemberClassRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): DeleteMemberClassRequest;
|
||||
static deserializeBinaryFromReader(message: DeleteMemberClassRequest, reader: jspb.BinaryReader): DeleteMemberClassRequest;
|
||||
}
|
||||
|
||||
export namespace DeleteMemberClassRequest {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class DeleteMemberClassResponse 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(): DeleteMemberClassResponse.Result | undefined;
|
||||
setResult(value?: DeleteMemberClassResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DeleteMemberClassResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DeleteMemberClassResponse): DeleteMemberClassResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: DeleteMemberClassResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): DeleteMemberClassResponse;
|
||||
static deserializeBinaryFromReader(message: DeleteMemberClassResponse, reader: jspb.BinaryReader): DeleteMemberClassResponse;
|
||||
}
|
||||
|
||||
export namespace DeleteMemberClassResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject,
|
||||
result?: DeleteMemberClassResponse.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 = {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
3156
src/app/modules/proto/c2se/member_class_pb.js
Normal file
3156
src/app/modules/proto/c2se/member_class_pb.js
Normal file
File diff suppressed because it is too large
Load Diff
400
src/app/modules/proto/c2se/member_level_pb.d.ts
vendored
Normal file
400
src/app/modules/proto/c2se/member_level_pb.d.ts
vendored
Normal file
|
@ -0,0 +1,400 @@
|
|||
// package: bet.beteran.c2se.member_level
|
||||
// file: c2se/member_level.proto
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
import * as protobuf_rpc_pb from "../protobuf/rpc_pb";
|
||||
import * as protobuf_pagination_pb from "../protobuf/pagination_pb";
|
||||
import * as models_member_level_pb from "../models/member_level_pb";
|
||||
|
||||
export class CreateMemberLevelRequest extends jspb.Message {
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
getSortOrder(): number;
|
||||
setSortOrder(value: number): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CreateMemberLevelRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CreateMemberLevelRequest): CreateMemberLevelRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: CreateMemberLevelRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): CreateMemberLevelRequest;
|
||||
static deserializeBinaryFromReader(message: CreateMemberLevelRequest, reader: jspb.BinaryReader): CreateMemberLevelRequest;
|
||||
}
|
||||
|
||||
export namespace CreateMemberLevelRequest {
|
||||
export type AsObject = {
|
||||
name: string,
|
||||
sortOrder: number,
|
||||
}
|
||||
}
|
||||
|
||||
export class CreateMemberLevelResponse 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(): CreateMemberLevelResponse.Result | undefined;
|
||||
setResult(value?: CreateMemberLevelResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CreateMemberLevelResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CreateMemberLevelResponse): CreateMemberLevelResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: CreateMemberLevelResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): CreateMemberLevelResponse;
|
||||
static deserializeBinaryFromReader(message: CreateMemberLevelResponse, reader: jspb.BinaryReader): CreateMemberLevelResponse;
|
||||
}
|
||||
|
||||
export namespace CreateMemberLevelResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject,
|
||||
result?: CreateMemberLevelResponse.Result.AsObject,
|
||||
}
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
hasMemberLevel(): boolean;
|
||||
clearMemberLevel(): void;
|
||||
getMemberLevel(): models_member_level_pb.MemberLevel | undefined;
|
||||
setMemberLevel(value?: models_member_level_pb.MemberLevel): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Result.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Result): Result.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Result, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Result;
|
||||
static deserializeBinaryFromReader(message: Result, reader: jspb.BinaryReader): Result;
|
||||
}
|
||||
|
||||
export namespace Result {
|
||||
export type AsObject = {
|
||||
memberLevel?: models_member_level_pb.MemberLevel.AsObject,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export class ListMemberLevelsRequest extends jspb.Message {
|
||||
hasPagination(): boolean;
|
||||
clearPagination(): void;
|
||||
getPagination(): protobuf_pagination_pb.Pagination | undefined;
|
||||
setPagination(value?: protobuf_pagination_pb.Pagination): void;
|
||||
|
||||
clearSortsList(): void;
|
||||
getSortsList(): Array<protobuf_pagination_pb.Sort>;
|
||||
setSortsList(value: Array<protobuf_pagination_pb.Sort>): void;
|
||||
addSorts(value?: protobuf_pagination_pb.Sort, index?: number): protobuf_pagination_pb.Sort;
|
||||
|
||||
hasSearch(): boolean;
|
||||
clearSearch(): void;
|
||||
getSearch(): ListMemberLevelsRequest.Search | undefined;
|
||||
setSearch(value?: ListMemberLevelsRequest.Search): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListMemberLevelsRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListMemberLevelsRequest): ListMemberLevelsRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ListMemberLevelsRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListMemberLevelsRequest;
|
||||
static deserializeBinaryFromReader(message: ListMemberLevelsRequest, reader: jspb.BinaryReader): ListMemberLevelsRequest;
|
||||
}
|
||||
|
||||
export namespace ListMemberLevelsRequest {
|
||||
export type AsObject = {
|
||||
pagination?: protobuf_pagination_pb.Pagination.AsObject,
|
||||
sortsList: Array<protobuf_pagination_pb.Sort.AsObject>,
|
||||
search?: ListMemberLevelsRequest.Search.AsObject,
|
||||
}
|
||||
|
||||
export class Search extends jspb.Message {
|
||||
hasNameLike(): boolean;
|
||||
clearNameLike(): void;
|
||||
getNameLike(): string;
|
||||
setNameLike(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Search.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Search): Search.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Search, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Search;
|
||||
static deserializeBinaryFromReader(message: Search, reader: jspb.BinaryReader): Search;
|
||||
}
|
||||
|
||||
export namespace Search {
|
||||
export type AsObject = {
|
||||
nameLike: string,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export class ListMemberLevelsResponse 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(): ListMemberLevelsResponse.Result | undefined;
|
||||
setResult(value?: ListMemberLevelsResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListMemberLevelsResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListMemberLevelsResponse): ListMemberLevelsResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ListMemberLevelsResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListMemberLevelsResponse;
|
||||
static deserializeBinaryFromReader(message: ListMemberLevelsResponse, reader: jspb.BinaryReader): ListMemberLevelsResponse;
|
||||
}
|
||||
|
||||
export namespace ListMemberLevelsResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject,
|
||||
result?: ListMemberLevelsResponse.Result.AsObject,
|
||||
}
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
clearMemberLevelsList(): void;
|
||||
getMemberLevelsList(): Array<models_member_level_pb.MemberLevel>;
|
||||
setMemberLevelsList(value: Array<models_member_level_pb.MemberLevel>): void;
|
||||
addMemberLevels(value?: models_member_level_pb.MemberLevel, index?: number): models_member_level_pb.MemberLevel;
|
||||
|
||||
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 = {
|
||||
memberLevelsList: Array<models_member_level_pb.MemberLevel.AsObject>,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export class GetMemberLevelRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetMemberLevelRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetMemberLevelRequest): GetMemberLevelRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GetMemberLevelRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetMemberLevelRequest;
|
||||
static deserializeBinaryFromReader(message: GetMemberLevelRequest, reader: jspb.BinaryReader): GetMemberLevelRequest;
|
||||
}
|
||||
|
||||
export namespace GetMemberLevelRequest {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class GetMemberLevelResponse 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(): GetMemberLevelResponse.Result | undefined;
|
||||
setResult(value?: GetMemberLevelResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetMemberLevelResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetMemberLevelResponse): GetMemberLevelResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GetMemberLevelResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetMemberLevelResponse;
|
||||
static deserializeBinaryFromReader(message: GetMemberLevelResponse, reader: jspb.BinaryReader): GetMemberLevelResponse;
|
||||
}
|
||||
|
||||
export namespace GetMemberLevelResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject,
|
||||
result?: GetMemberLevelResponse.Result.AsObject,
|
||||
}
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
hasMemberLevel(): boolean;
|
||||
clearMemberLevel(): void;
|
||||
getMemberLevel(): models_member_level_pb.MemberLevel | undefined;
|
||||
setMemberLevel(value?: models_member_level_pb.MemberLevel): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Result.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Result): Result.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Result, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Result;
|
||||
static deserializeBinaryFromReader(message: Result, reader: jspb.BinaryReader): Result;
|
||||
}
|
||||
|
||||
export namespace Result {
|
||||
export type AsObject = {
|
||||
memberLevel?: models_member_level_pb.MemberLevel.AsObject,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateMemberLevelRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
getSortOrder(): number;
|
||||
setSortOrder(value: number): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateMemberLevelRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateMemberLevelRequest): UpdateMemberLevelRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: UpdateMemberLevelRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateMemberLevelRequest;
|
||||
static deserializeBinaryFromReader(message: UpdateMemberLevelRequest, reader: jspb.BinaryReader): UpdateMemberLevelRequest;
|
||||
}
|
||||
|
||||
export namespace UpdateMemberLevelRequest {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
name: string,
|
||||
sortOrder: number,
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateMemberLevelResponse 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(): UpdateMemberLevelResponse.Result | undefined;
|
||||
setResult(value?: UpdateMemberLevelResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateMemberLevelResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateMemberLevelResponse): UpdateMemberLevelResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: UpdateMemberLevelResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateMemberLevelResponse;
|
||||
static deserializeBinaryFromReader(message: UpdateMemberLevelResponse, reader: jspb.BinaryReader): UpdateMemberLevelResponse;
|
||||
}
|
||||
|
||||
export namespace UpdateMemberLevelResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject,
|
||||
result?: UpdateMemberLevelResponse.Result.AsObject,
|
||||
}
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
hasMemberLevel(): boolean;
|
||||
clearMemberLevel(): void;
|
||||
getMemberLevel(): models_member_level_pb.MemberLevel | undefined;
|
||||
setMemberLevel(value?: models_member_level_pb.MemberLevel): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Result.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Result): Result.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Result, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Result;
|
||||
static deserializeBinaryFromReader(message: Result, reader: jspb.BinaryReader): Result;
|
||||
}
|
||||
|
||||
export namespace Result {
|
||||
export type AsObject = {
|
||||
memberLevel?: models_member_level_pb.MemberLevel.AsObject,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export class DeleteMemberLevelRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DeleteMemberLevelRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DeleteMemberLevelRequest): DeleteMemberLevelRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: DeleteMemberLevelRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): DeleteMemberLevelRequest;
|
||||
static deserializeBinaryFromReader(message: DeleteMemberLevelRequest, reader: jspb.BinaryReader): DeleteMemberLevelRequest;
|
||||
}
|
||||
|
||||
export namespace DeleteMemberLevelRequest {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class DeleteMemberLevelResponse 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(): DeleteMemberLevelResponse.Result | undefined;
|
||||
setResult(value?: DeleteMemberLevelResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DeleteMemberLevelResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DeleteMemberLevelResponse): DeleteMemberLevelResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: DeleteMemberLevelResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): DeleteMemberLevelResponse;
|
||||
static deserializeBinaryFromReader(message: DeleteMemberLevelResponse, reader: jspb.BinaryReader): DeleteMemberLevelResponse;
|
||||
}
|
||||
|
||||
export namespace DeleteMemberLevelResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject,
|
||||
result?: DeleteMemberLevelResponse.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 = {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
3120
src/app/modules/proto/c2se/member_level_pb.js
Normal file
3120
src/app/modules/proto/c2se/member_level_pb.js
Normal file
File diff suppressed because it is too large
Load Diff
646
src/app/modules/proto/c2se/member_pb.d.ts
vendored
Normal file
646
src/app/modules/proto/c2se/member_pb.d.ts
vendored
Normal file
|
@ -0,0 +1,646 @@
|
|||
// package: bet.beteran.c2se.member
|
||||
// file: c2se/member.proto
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
import * as protobuf_rpc_pb from "../protobuf/rpc_pb";
|
||||
import * as protobuf_pagination_pb from "../protobuf/pagination_pb";
|
||||
import * as models_member_pb from "../models/member_pb";
|
||||
|
||||
export class CreateMemberRequest extends jspb.Message {
|
||||
getSiteId(): string;
|
||||
setSiteId(value: string): void;
|
||||
|
||||
getMemberClassId(): string;
|
||||
setMemberClassId(value: string): void;
|
||||
|
||||
getMemberLevelId(): string;
|
||||
setMemberLevelId(value: string): void;
|
||||
|
||||
hasReferrerMemberUsername(): boolean;
|
||||
clearReferrerMemberUsername(): void;
|
||||
getReferrerMemberUsername(): string;
|
||||
setReferrerMemberUsername(value: string): void;
|
||||
|
||||
getUsername(): string;
|
||||
setUsername(value: string): void;
|
||||
|
||||
getPassword(): string;
|
||||
setPassword(value: string): void;
|
||||
|
||||
getNickname(): string;
|
||||
setNickname(value: string): void;
|
||||
|
||||
hasMobilePhoneNumber(): boolean;
|
||||
clearMobilePhoneNumber(): void;
|
||||
getMobilePhoneNumber(): string;
|
||||
setMobilePhoneNumber(value: string): void;
|
||||
|
||||
getState(): models_member_pb.MemberStateMap[keyof models_member_pb.MemberStateMap];
|
||||
setState(value: models_member_pb.MemberStateMap[keyof models_member_pb.MemberStateMap]): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CreateMemberRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CreateMemberRequest): CreateMemberRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: CreateMemberRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): CreateMemberRequest;
|
||||
static deserializeBinaryFromReader(message: CreateMemberRequest, reader: jspb.BinaryReader): CreateMemberRequest;
|
||||
}
|
||||
|
||||
export namespace CreateMemberRequest {
|
||||
export type AsObject = {
|
||||
siteId: string,
|
||||
memberClassId: string,
|
||||
memberLevelId: string,
|
||||
referrerMemberUsername: string,
|
||||
username: string,
|
||||
password: string,
|
||||
nickname: string,
|
||||
mobilePhoneNumber: string,
|
||||
state: models_member_pb.MemberStateMap[keyof models_member_pb.MemberStateMap],
|
||||
}
|
||||
}
|
||||
|
||||
export class CreateMemberResponse 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(): CreateMemberResponse.Result | undefined;
|
||||
setResult(value?: CreateMemberResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CreateMemberResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CreateMemberResponse): CreateMemberResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: CreateMemberResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): CreateMemberResponse;
|
||||
static deserializeBinaryFromReader(message: CreateMemberResponse, reader: jspb.BinaryReader): CreateMemberResponse;
|
||||
}
|
||||
|
||||
export namespace CreateMemberResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject,
|
||||
result?: CreateMemberResponse.Result.AsObject,
|
||||
}
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
hasMember(): boolean;
|
||||
clearMember(): void;
|
||||
getMember(): models_member_pb.MemberModel | undefined;
|
||||
setMember(value?: models_member_pb.MemberModel): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Result.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Result): Result.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Result, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Result;
|
||||
static deserializeBinaryFromReader(message: Result, reader: jspb.BinaryReader): Result;
|
||||
}
|
||||
|
||||
export namespace Result {
|
||||
export type AsObject = {
|
||||
member?: models_member_pb.MemberModel.AsObject,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export class ListMembersRequest extends jspb.Message {
|
||||
hasPagination(): boolean;
|
||||
clearPagination(): void;
|
||||
getPagination(): protobuf_pagination_pb.Pagination | undefined;
|
||||
setPagination(value?: protobuf_pagination_pb.Pagination): void;
|
||||
|
||||
clearSortsList(): void;
|
||||
getSortsList(): Array<protobuf_pagination_pb.Sort>;
|
||||
setSortsList(value: Array<protobuf_pagination_pb.Sort>): void;
|
||||
addSorts(value?: protobuf_pagination_pb.Sort, index?: number): protobuf_pagination_pb.Sort;
|
||||
|
||||
hasSearch(): boolean;
|
||||
clearSearch(): void;
|
||||
getSearch(): ListMembersRequest.Search | undefined;
|
||||
setSearch(value?: ListMembersRequest.Search): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListMembersRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListMembersRequest): ListMembersRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ListMembersRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListMembersRequest;
|
||||
static deserializeBinaryFromReader(message: ListMembersRequest, reader: jspb.BinaryReader): ListMembersRequest;
|
||||
}
|
||||
|
||||
export namespace ListMembersRequest {
|
||||
export type AsObject = {
|
||||
pagination?: protobuf_pagination_pb.Pagination.AsObject,
|
||||
sortsList: Array<protobuf_pagination_pb.Sort.AsObject>,
|
||||
search?: ListMembersRequest.Search.AsObject,
|
||||
}
|
||||
|
||||
export class Search extends jspb.Message {
|
||||
hasSiteId(): boolean;
|
||||
clearSiteId(): void;
|
||||
getSiteId(): string;
|
||||
setSiteId(value: string): void;
|
||||
|
||||
hasMemberClassId(): boolean;
|
||||
clearMemberClassId(): void;
|
||||
getMemberClassId(): string;
|
||||
setMemberClassId(value: string): void;
|
||||
|
||||
hasMemberLevelId(): boolean;
|
||||
clearMemberLevelId(): void;
|
||||
getMemberLevelId(): string;
|
||||
setMemberLevelId(value: string): void;
|
||||
|
||||
hasReferrerMemberId(): boolean;
|
||||
clearReferrerMemberId(): void;
|
||||
getReferrerMemberId(): string;
|
||||
setReferrerMemberId(value: string): void;
|
||||
|
||||
hasUsernameLike(): boolean;
|
||||
clearUsernameLike(): void;
|
||||
getUsernameLike(): string;
|
||||
setUsernameLike(value: string): void;
|
||||
|
||||
hasNicknameLike(): boolean;
|
||||
clearNicknameLike(): void;
|
||||
getNicknameLike(): string;
|
||||
setNicknameLike(value: string): void;
|
||||
|
||||
hasMobilePhoneNumberLike(): boolean;
|
||||
clearMobilePhoneNumberLike(): void;
|
||||
getMobilePhoneNumberLike(): string;
|
||||
setMobilePhoneNumberLike(value: string): void;
|
||||
|
||||
hasLastSigninedIp(): boolean;
|
||||
clearLastSigninedIp(): void;
|
||||
getLastSigninedIp(): string;
|
||||
setLastSigninedIp(value: string): void;
|
||||
|
||||
hasState(): boolean;
|
||||
clearState(): void;
|
||||
getState(): models_member_pb.MemberStateMap[keyof models_member_pb.MemberStateMap];
|
||||
setState(value: models_member_pb.MemberStateMap[keyof models_member_pb.MemberStateMap]): void;
|
||||
|
||||
hasDeletedAt(): boolean;
|
||||
clearDeletedAt(): void;
|
||||
getDeletedAt(): number;
|
||||
setDeletedAt(value: number): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Search.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Search): Search.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Search, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Search;
|
||||
static deserializeBinaryFromReader(message: Search, reader: jspb.BinaryReader): Search;
|
||||
}
|
||||
|
||||
export namespace Search {
|
||||
export type AsObject = {
|
||||
siteId: string,
|
||||
memberClassId: string,
|
||||
memberLevelId: string,
|
||||
referrerMemberId: string,
|
||||
usernameLike: string,
|
||||
nicknameLike: string,
|
||||
mobilePhoneNumberLike: string,
|
||||
lastSigninedIp: string,
|
||||
state: models_member_pb.MemberStateMap[keyof models_member_pb.MemberStateMap],
|
||||
deletedAt: number,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export class ListMembersResponse 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(): ListMembersResponse.Result | undefined;
|
||||
setResult(value?: ListMembersResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListMembersResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListMembersResponse): ListMembersResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ListMembersResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListMembersResponse;
|
||||
static deserializeBinaryFromReader(message: ListMembersResponse, reader: jspb.BinaryReader): ListMembersResponse;
|
||||
}
|
||||
|
||||
export namespace ListMembersResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject,
|
||||
result?: ListMembersResponse.Result.AsObject,
|
||||
}
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
clearMembersList(): void;
|
||||
getMembersList(): Array<models_member_pb.MemberModel>;
|
||||
setMembersList(value: Array<models_member_pb.MemberModel>): void;
|
||||
addMembers(value?: models_member_pb.MemberModel, index?: number): models_member_pb.MemberModel;
|
||||
|
||||
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 = {
|
||||
membersList: Array<models_member_pb.MemberModel.AsObject>,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export class GetMemberRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetMemberRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetMemberRequest): GetMemberRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GetMemberRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetMemberRequest;
|
||||
static deserializeBinaryFromReader(message: GetMemberRequest, reader: jspb.BinaryReader): GetMemberRequest;
|
||||
}
|
||||
|
||||
export namespace GetMemberRequest {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class GetMemberResponse 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(): GetMemberResponse.Result | undefined;
|
||||
setResult(value?: GetMemberResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetMemberResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetMemberResponse): GetMemberResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GetMemberResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetMemberResponse;
|
||||
static deserializeBinaryFromReader(message: GetMemberResponse, reader: jspb.BinaryReader): GetMemberResponse;
|
||||
}
|
||||
|
||||
export namespace GetMemberResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject,
|
||||
result?: GetMemberResponse.Result.AsObject,
|
||||
}
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
hasMember(): boolean;
|
||||
clearMember(): void;
|
||||
getMember(): models_member_pb.MemberModel | undefined;
|
||||
setMember(value?: models_member_pb.MemberModel): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Result.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Result): Result.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Result, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Result;
|
||||
static deserializeBinaryFromReader(message: Result, reader: jspb.BinaryReader): Result;
|
||||
}
|
||||
|
||||
export namespace Result {
|
||||
export type AsObject = {
|
||||
member?: models_member_pb.MemberModel.AsObject,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export class GetMemberByUsernameRequest extends jspb.Message {
|
||||
getUsername(): string;
|
||||
setUsername(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetMemberByUsernameRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetMemberByUsernameRequest): GetMemberByUsernameRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GetMemberByUsernameRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetMemberByUsernameRequest;
|
||||
static deserializeBinaryFromReader(message: GetMemberByUsernameRequest, reader: jspb.BinaryReader): GetMemberByUsernameRequest;
|
||||
}
|
||||
|
||||
export namespace GetMemberByUsernameRequest {
|
||||
export type AsObject = {
|
||||
username: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class GetMemberByUsernameResponse 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(): GetMemberByUsernameResponse.Result | undefined;
|
||||
setResult(value?: GetMemberByUsernameResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetMemberByUsernameResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetMemberByUsernameResponse): GetMemberByUsernameResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GetMemberByUsernameResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetMemberByUsernameResponse;
|
||||
static deserializeBinaryFromReader(message: GetMemberByUsernameResponse, reader: jspb.BinaryReader): GetMemberByUsernameResponse;
|
||||
}
|
||||
|
||||
export namespace GetMemberByUsernameResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject,
|
||||
result?: GetMemberByUsernameResponse.Result.AsObject,
|
||||
}
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
hasMember(): boolean;
|
||||
clearMember(): void;
|
||||
getMember(): models_member_pb.MemberModel | undefined;
|
||||
setMember(value?: models_member_pb.MemberModel): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Result.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Result): Result.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Result, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Result;
|
||||
static deserializeBinaryFromReader(message: Result, reader: jspb.BinaryReader): Result;
|
||||
}
|
||||
|
||||
export namespace Result {
|
||||
export type AsObject = {
|
||||
member?: models_member_pb.MemberModel.AsObject,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateMemberRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
hasSiteId(): boolean;
|
||||
clearSiteId(): void;
|
||||
getSiteId(): string;
|
||||
setSiteId(value: string): void;
|
||||
|
||||
hasMemberLevelId(): boolean;
|
||||
clearMemberLevelId(): void;
|
||||
getMemberLevelId(): string;
|
||||
setMemberLevelId(value: string): void;
|
||||
|
||||
hasPassword(): boolean;
|
||||
clearPassword(): void;
|
||||
getPassword(): string;
|
||||
setPassword(value: string): void;
|
||||
|
||||
hasMobilePhoneNumber(): boolean;
|
||||
clearMobilePhoneNumber(): void;
|
||||
getMobilePhoneNumber(): string;
|
||||
setMobilePhoneNumber(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateMemberRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateMemberRequest): UpdateMemberRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: UpdateMemberRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateMemberRequest;
|
||||
static deserializeBinaryFromReader(message: UpdateMemberRequest, reader: jspb.BinaryReader): UpdateMemberRequest;
|
||||
}
|
||||
|
||||
export namespace UpdateMemberRequest {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
siteId: string,
|
||||
memberLevelId: string,
|
||||
password: string,
|
||||
mobilePhoneNumber: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateMemberResponse 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(): UpdateMemberResponse.Result | undefined;
|
||||
setResult(value?: UpdateMemberResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateMemberResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateMemberResponse): UpdateMemberResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: UpdateMemberResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateMemberResponse;
|
||||
static deserializeBinaryFromReader(message: UpdateMemberResponse, reader: jspb.BinaryReader): UpdateMemberResponse;
|
||||
}
|
||||
|
||||
export namespace UpdateMemberResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject,
|
||||
result?: UpdateMemberResponse.Result.AsObject,
|
||||
}
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
hasMember(): boolean;
|
||||
clearMember(): void;
|
||||
getMember(): models_member_pb.MemberModel | undefined;
|
||||
setMember(value?: models_member_pb.MemberModel): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Result.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Result): Result.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Result, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Result;
|
||||
static deserializeBinaryFromReader(message: Result, reader: jspb.BinaryReader): Result;
|
||||
}
|
||||
|
||||
export namespace Result {
|
||||
export type AsObject = {
|
||||
member?: models_member_pb.MemberModel.AsObject,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateMemberForStateRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
getState(): models_member_pb.MemberStateMap[keyof models_member_pb.MemberStateMap];
|
||||
setState(value: models_member_pb.MemberStateMap[keyof models_member_pb.MemberStateMap]): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateMemberForStateRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateMemberForStateRequest): UpdateMemberForStateRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: UpdateMemberForStateRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateMemberForStateRequest;
|
||||
static deserializeBinaryFromReader(message: UpdateMemberForStateRequest, reader: jspb.BinaryReader): UpdateMemberForStateRequest;
|
||||
}
|
||||
|
||||
export namespace UpdateMemberForStateRequest {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
state: models_member_pb.MemberStateMap[keyof models_member_pb.MemberStateMap],
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateMemberForStateResponse 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(): UpdateMemberForStateResponse.Result | undefined;
|
||||
setResult(value?: UpdateMemberForStateResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateMemberForStateResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateMemberForStateResponse): UpdateMemberForStateResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: UpdateMemberForStateResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateMemberForStateResponse;
|
||||
static deserializeBinaryFromReader(message: UpdateMemberForStateResponse, reader: jspb.BinaryReader): UpdateMemberForStateResponse;
|
||||
}
|
||||
|
||||
export namespace UpdateMemberForStateResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject,
|
||||
result?: UpdateMemberForStateResponse.Result.AsObject,
|
||||
}
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
hasMember(): boolean;
|
||||
clearMember(): void;
|
||||
getMember(): models_member_pb.MemberModel | undefined;
|
||||
setMember(value?: models_member_pb.MemberModel): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Result.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Result): Result.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Result, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Result;
|
||||
static deserializeBinaryFromReader(message: Result, reader: jspb.BinaryReader): Result;
|
||||
}
|
||||
|
||||
export namespace Result {
|
||||
export type AsObject = {
|
||||
member?: models_member_pb.MemberModel.AsObject,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export class DeleteMemberRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DeleteMemberRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DeleteMemberRequest): DeleteMemberRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: DeleteMemberRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): DeleteMemberRequest;
|
||||
static deserializeBinaryFromReader(message: DeleteMemberRequest, reader: jspb.BinaryReader): DeleteMemberRequest;
|
||||
}
|
||||
|
||||
export namespace DeleteMemberRequest {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class DeleteMemberResponse 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(): DeleteMemberResponse.Result | undefined;
|
||||
setResult(value?: DeleteMemberResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DeleteMemberResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DeleteMemberResponse): DeleteMemberResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: DeleteMemberResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): DeleteMemberResponse;
|
||||
static deserializeBinaryFromReader(message: DeleteMemberResponse, reader: jspb.BinaryReader): DeleteMemberResponse;
|
||||
}
|
||||
|
||||
export namespace DeleteMemberResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject,
|
||||
result?: DeleteMemberResponse.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 = {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
5058
src/app/modules/proto/c2se/member_pb.js
Normal file
5058
src/app/modules/proto/c2se/member_pb.js
Normal file
File diff suppressed because it is too large
Load Diff
486
src/app/modules/proto/c2se/site_pb.d.ts
vendored
Normal file
486
src/app/modules/proto/c2se/site_pb.d.ts
vendored
Normal file
|
@ -0,0 +1,486 @@
|
|||
// package: bet.beteran.c2se.site
|
||||
// file: c2se/site.proto
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
import * as protobuf_rpc_pb from "../protobuf/rpc_pb";
|
||||
import * as protobuf_pagination_pb from "../protobuf/pagination_pb";
|
||||
import * as models_site_pb from "../models/site_pb";
|
||||
|
||||
export class CreateSiteRequest extends jspb.Message {
|
||||
getUrl(): string;
|
||||
setUrl(value: string): void;
|
||||
|
||||
hasName(): boolean;
|
||||
clearName(): void;
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
hasPath(): boolean;
|
||||
clearPath(): void;
|
||||
getPath(): string;
|
||||
setPath(value: string): void;
|
||||
|
||||
getShow(): boolean;
|
||||
setShow(value: boolean): void;
|
||||
|
||||
getCanUse(): boolean;
|
||||
setCanUse(value: boolean): void;
|
||||
|
||||
hasMemo(): boolean;
|
||||
clearMemo(): void;
|
||||
getMemo(): string;
|
||||
setMemo(value: string): void;
|
||||
|
||||
hasExpiresAt(): boolean;
|
||||
clearExpiresAt(): void;
|
||||
getExpiresAt(): number;
|
||||
setExpiresAt(value: number): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CreateSiteRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CreateSiteRequest): CreateSiteRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: CreateSiteRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): CreateSiteRequest;
|
||||
static deserializeBinaryFromReader(message: CreateSiteRequest, reader: jspb.BinaryReader): CreateSiteRequest;
|
||||
}
|
||||
|
||||
export namespace CreateSiteRequest {
|
||||
export type AsObject = {
|
||||
url: string,
|
||||
name: string,
|
||||
path: string,
|
||||
show: boolean,
|
||||
canUse: boolean,
|
||||
memo: string,
|
||||
expiresAt: number,
|
||||
}
|
||||
}
|
||||
|
||||
export class CreateSiteResponse 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(): CreateSiteResponse.Result | undefined;
|
||||
setResult(value?: CreateSiteResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CreateSiteResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CreateSiteResponse): CreateSiteResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: CreateSiteResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): CreateSiteResponse;
|
||||
static deserializeBinaryFromReader(message: CreateSiteResponse, reader: jspb.BinaryReader): CreateSiteResponse;
|
||||
}
|
||||
|
||||
export namespace CreateSiteResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject,
|
||||
result?: CreateSiteResponse.Result.AsObject,
|
||||
}
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
hasSite(): boolean;
|
||||
clearSite(): void;
|
||||
getSite(): models_site_pb.Site | undefined;
|
||||
setSite(value?: models_site_pb.Site): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Result.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Result): Result.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Result, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Result;
|
||||
static deserializeBinaryFromReader(message: Result, reader: jspb.BinaryReader): Result;
|
||||
}
|
||||
|
||||
export namespace Result {
|
||||
export type AsObject = {
|
||||
site?: models_site_pb.Site.AsObject,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export class ListSitesRequest extends jspb.Message {
|
||||
hasPagination(): boolean;
|
||||
clearPagination(): void;
|
||||
getPagination(): protobuf_pagination_pb.Pagination | undefined;
|
||||
setPagination(value?: protobuf_pagination_pb.Pagination): void;
|
||||
|
||||
clearSortsList(): void;
|
||||
getSortsList(): Array<protobuf_pagination_pb.Sort>;
|
||||
setSortsList(value: Array<protobuf_pagination_pb.Sort>): void;
|
||||
addSorts(value?: protobuf_pagination_pb.Sort, index?: number): protobuf_pagination_pb.Sort;
|
||||
|
||||
hasSearch(): boolean;
|
||||
clearSearch(): void;
|
||||
getSearch(): ListSitesRequest.Search | undefined;
|
||||
setSearch(value?: ListSitesRequest.Search): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListSitesRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListSitesRequest): ListSitesRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ListSitesRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListSitesRequest;
|
||||
static deserializeBinaryFromReader(message: ListSitesRequest, reader: jspb.BinaryReader): ListSitesRequest;
|
||||
}
|
||||
|
||||
export namespace ListSitesRequest {
|
||||
export type AsObject = {
|
||||
pagination?: protobuf_pagination_pb.Pagination.AsObject,
|
||||
sortsList: Array<protobuf_pagination_pb.Sort.AsObject>,
|
||||
search?: ListSitesRequest.Search.AsObject,
|
||||
}
|
||||
|
||||
export class Search extends jspb.Message {
|
||||
hasUrlLike(): boolean;
|
||||
clearUrlLike(): void;
|
||||
getUrlLike(): string;
|
||||
setUrlLike(value: string): void;
|
||||
|
||||
hasNameLike(): boolean;
|
||||
clearNameLike(): void;
|
||||
getNameLike(): string;
|
||||
setNameLike(value: string): void;
|
||||
|
||||
hasPathLike(): boolean;
|
||||
clearPathLike(): void;
|
||||
getPathLike(): string;
|
||||
setPathLike(value: string): void;
|
||||
|
||||
hasShow(): boolean;
|
||||
clearShow(): void;
|
||||
getShow(): boolean;
|
||||
setShow(value: boolean): void;
|
||||
|
||||
hasCanUse(): boolean;
|
||||
clearCanUse(): void;
|
||||
getCanUse(): boolean;
|
||||
setCanUse(value: boolean): void;
|
||||
|
||||
hasMemoLike(): boolean;
|
||||
clearMemoLike(): void;
|
||||
getMemoLike(): string;
|
||||
setMemoLike(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Search.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Search): Search.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Search, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Search;
|
||||
static deserializeBinaryFromReader(message: Search, reader: jspb.BinaryReader): Search;
|
||||
}
|
||||
|
||||
export namespace Search {
|
||||
export type AsObject = {
|
||||
urlLike: string,
|
||||
nameLike: string,
|
||||
pathLike: string,
|
||||
show: boolean,
|
||||
canUse: boolean,
|
||||
memoLike: string,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export class ListSitesResponse 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(): ListSitesResponse.Result | undefined;
|
||||
setResult(value?: ListSitesResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListSitesResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListSitesResponse): ListSitesResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ListSitesResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListSitesResponse;
|
||||
static deserializeBinaryFromReader(message: ListSitesResponse, reader: jspb.BinaryReader): ListSitesResponse;
|
||||
}
|
||||
|
||||
export namespace ListSitesResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject,
|
||||
result?: ListSitesResponse.Result.AsObject,
|
||||
}
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
clearSitesList(): void;
|
||||
getSitesList(): Array<models_site_pb.Site>;
|
||||
setSitesList(value: Array<models_site_pb.Site>): void;
|
||||
addSites(value?: models_site_pb.Site, index?: number): models_site_pb.Site;
|
||||
|
||||
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 = {
|
||||
sitesList: Array<models_site_pb.Site.AsObject>,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export class GetSiteRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetSiteRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetSiteRequest): GetSiteRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GetSiteRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetSiteRequest;
|
||||
static deserializeBinaryFromReader(message: GetSiteRequest, reader: jspb.BinaryReader): GetSiteRequest;
|
||||
}
|
||||
|
||||
export namespace GetSiteRequest {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class GetSiteResponse 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(): GetSiteResponse.Result | undefined;
|
||||
setResult(value?: GetSiteResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetSiteResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetSiteResponse): GetSiteResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GetSiteResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetSiteResponse;
|
||||
static deserializeBinaryFromReader(message: GetSiteResponse, reader: jspb.BinaryReader): GetSiteResponse;
|
||||
}
|
||||
|
||||
export namespace GetSiteResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject,
|
||||
result?: GetSiteResponse.Result.AsObject,
|
||||
}
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
hasSite(): boolean;
|
||||
clearSite(): void;
|
||||
getSite(): models_site_pb.Site | undefined;
|
||||
setSite(value?: models_site_pb.Site): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Result.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Result): Result.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Result, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Result;
|
||||
static deserializeBinaryFromReader(message: Result, reader: jspb.BinaryReader): Result;
|
||||
}
|
||||
|
||||
export namespace Result {
|
||||
export type AsObject = {
|
||||
site?: models_site_pb.Site.AsObject,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateSiteRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
getUrl(): string;
|
||||
setUrl(value: string): void;
|
||||
|
||||
hasName(): boolean;
|
||||
clearName(): void;
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
hasPath(): boolean;
|
||||
clearPath(): void;
|
||||
getPath(): string;
|
||||
setPath(value: string): void;
|
||||
|
||||
getShow(): boolean;
|
||||
setShow(value: boolean): void;
|
||||
|
||||
getCanUse(): boolean;
|
||||
setCanUse(value: boolean): void;
|
||||
|
||||
hasMemo(): boolean;
|
||||
clearMemo(): void;
|
||||
getMemo(): string;
|
||||
setMemo(value: string): void;
|
||||
|
||||
hasExpiresAt(): boolean;
|
||||
clearExpiresAt(): void;
|
||||
getExpiresAt(): number;
|
||||
setExpiresAt(value: number): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateSiteRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateSiteRequest): UpdateSiteRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: UpdateSiteRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateSiteRequest;
|
||||
static deserializeBinaryFromReader(message: UpdateSiteRequest, reader: jspb.BinaryReader): UpdateSiteRequest;
|
||||
}
|
||||
|
||||
export namespace UpdateSiteRequest {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
url: string,
|
||||
name: string,
|
||||
path: string,
|
||||
show: boolean,
|
||||
canUse: boolean,
|
||||
memo: string,
|
||||
expiresAt: number,
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateSiteResponse 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(): UpdateSiteResponse.Result | undefined;
|
||||
setResult(value?: UpdateSiteResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateSiteResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateSiteResponse): UpdateSiteResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: UpdateSiteResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateSiteResponse;
|
||||
static deserializeBinaryFromReader(message: UpdateSiteResponse, reader: jspb.BinaryReader): UpdateSiteResponse;
|
||||
}
|
||||
|
||||
export namespace UpdateSiteResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject,
|
||||
result?: UpdateSiteResponse.Result.AsObject,
|
||||
}
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
hasSite(): boolean;
|
||||
clearSite(): void;
|
||||
getSite(): models_site_pb.Site | undefined;
|
||||
setSite(value?: models_site_pb.Site): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Result.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Result): Result.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Result, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Result;
|
||||
static deserializeBinaryFromReader(message: Result, reader: jspb.BinaryReader): Result;
|
||||
}
|
||||
|
||||
export namespace Result {
|
||||
export type AsObject = {
|
||||
site?: models_site_pb.Site.AsObject,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export class DeleteSiteRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DeleteSiteRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DeleteSiteRequest): DeleteSiteRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: DeleteSiteRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): DeleteSiteRequest;
|
||||
static deserializeBinaryFromReader(message: DeleteSiteRequest, reader: jspb.BinaryReader): DeleteSiteRequest;
|
||||
}
|
||||
|
||||
export namespace DeleteSiteRequest {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class DeleteSiteResponse 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(): DeleteSiteResponse.Result | undefined;
|
||||
setResult(value?: DeleteSiteResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DeleteSiteResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DeleteSiteResponse): DeleteSiteResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: DeleteSiteResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): DeleteSiteResponse;
|
||||
static deserializeBinaryFromReader(message: DeleteSiteResponse, reader: jspb.BinaryReader): DeleteSiteResponse;
|
||||
}
|
||||
|
||||
export namespace DeleteSiteResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_pb.Error.AsObject,
|
||||
result?: DeleteSiteResponse.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 = {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
3804
src/app/modules/proto/c2se/site_pb.js
Normal file
3804
src/app/modules/proto/c2se/site_pb.js
Normal file
File diff suppressed because it is too large
Load Diff
|
@ -1,7 +1,7 @@
|
|||
// package: bet.beteran.account
|
||||
// file: models/account/bank.proto
|
||||
// package: bet.beteran.bank
|
||||
// file: models/bank.proto
|
||||
|
||||
import * as jspb from 'google-protobuf';
|
||||
import * as jspb from "google-protobuf";
|
||||
|
||||
export class Bank extends jspb.Message {
|
||||
getId(): string;
|
||||
|
@ -10,6 +10,9 @@ export class Bank extends jspb.Message {
|
|||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
getSortOrder(): boolean;
|
||||
setSortOrder(value: boolean): void;
|
||||
|
||||
getShow(): boolean;
|
||||
setShow(value: boolean): void;
|
||||
|
||||
|
@ -31,28 +34,22 @@ export class Bank extends jspb.Message {
|
|||
toObject(includeInstance?: boolean): Bank.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Bank): Bank.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: Bank,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Bank, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Bank;
|
||||
static deserializeBinaryFromReader(
|
||||
message: Bank,
|
||||
reader: jspb.BinaryReader
|
||||
): Bank;
|
||||
static deserializeBinaryFromReader(message: Bank, reader: jspb.BinaryReader): Bank;
|
||||
}
|
||||
|
||||
export namespace Bank {
|
||||
export type AsObject = {
|
||||
id: string;
|
||||
name: string;
|
||||
show: boolean;
|
||||
canUse: boolean;
|
||||
memo: string;
|
||||
createdAt: number;
|
||||
updatedAt: number;
|
||||
};
|
||||
id: string,
|
||||
name: string,
|
||||
sortOrder: boolean,
|
||||
show: boolean,
|
||||
canUse: boolean,
|
||||
memo: string,
|
||||
createdAt: number,
|
||||
updatedAt: number,
|
||||
}
|
||||
}
|
||||
|
398
src/app/modules/proto/models/bank_pb.js
Normal file
398
src/app/modules/proto/models/bank_pb.js
Normal file
|
@ -0,0 +1,398 @@
|
|||
// source: models/bank.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.bank.Bank', null, global);
|
||||
/**
|
||||
* Generated by JsPbCodeGenerator.
|
||||
* @param {Array=} opt_data Optional initial data array, typically from a
|
||||
* server response, or constructed directly in Javascript. The array is used
|
||||
* in place and becomes part of the constructed object. It is not cloned.
|
||||
* If no data is provided, the constructed object will be empty, but still
|
||||
* valid.
|
||||
* @extends {jspb.Message}
|
||||
* @constructor
|
||||
*/
|
||||
proto.bet.beteran.bank.Bank = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(proto.bet.beteran.bank.Bank, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.bet.beteran.bank.Bank.displayName = 'proto.bet.beteran.bank.Bank';
|
||||
}
|
||||
|
||||
|
||||
|
||||
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.bank.Bank.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.bet.beteran.bank.Bank.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.bank.Bank} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.bet.beteran.bank.Bank.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
||||
sortOrder: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
||||
show: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
||||
canUse: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
|
||||
memo: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
||||
createdAt: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
||||
updatedAt: jspb.Message.getFieldWithDefault(msg, 8, 0)
|
||||
};
|
||||
|
||||
if (includeInstance) {
|
||||
obj.$jspbMessageInstance = msg;
|
||||
}
|
||||
return obj;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format).
|
||||
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
||||
* @return {!proto.bet.beteran.bank.Bank}
|
||||
*/
|
||||
proto.bet.beteran.bank.Bank.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.bet.beteran.bank.Bank;
|
||||
return proto.bet.beteran.bank.Bank.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.bet.beteran.bank.Bank} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.bet.beteran.bank.Bank}
|
||||
*/
|
||||
proto.bet.beteran.bank.Bank.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.setName(value);
|
||||
break;
|
||||
case 3:
|
||||
var value = /** @type {boolean} */ (reader.readBool());
|
||||
msg.setSortOrder(value);
|
||||
break;
|
||||
case 4:
|
||||
var value = /** @type {boolean} */ (reader.readBool());
|
||||
msg.setShow(value);
|
||||
break;
|
||||
case 5:
|
||||
var value = /** @type {boolean} */ (reader.readBool());
|
||||
msg.setCanUse(value);
|
||||
break;
|
||||
case 6:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setMemo(value);
|
||||
break;
|
||||
case 7:
|
||||
var value = /** @type {number} */ (reader.readUint64());
|
||||
msg.setCreatedAt(value);
|
||||
break;
|
||||
case 8:
|
||||
var value = /** @type {number} */ (reader.readUint64());
|
||||
msg.setUpdatedAt(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.bet.beteran.bank.Bank.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.bet.beteran.bank.Bank.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.bank.Bank} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.bet.beteran.bank.Bank.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getId();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
1,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getName();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
2,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getSortOrder();
|
||||
if (f) {
|
||||
writer.writeBool(
|
||||
3,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getShow();
|
||||
if (f) {
|
||||
writer.writeBool(
|
||||
4,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getCanUse();
|
||||
if (f) {
|
||||
writer.writeBool(
|
||||
5,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
||||
if (f != null) {
|
||||
writer.writeString(
|
||||
6,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getCreatedAt();
|
||||
if (f !== 0) {
|
||||
writer.writeUint64(
|
||||
7,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getUpdatedAt();
|
||||
if (f !== 0) {
|
||||
writer.writeUint64(
|
||||
8,
|
||||
f
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string id = 1;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.bank.Bank.prototype.getId = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.bank.Bank} returns this
|
||||
*/
|
||||
proto.bet.beteran.bank.Bank.prototype.setId = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 1, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string name = 2;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.bank.Bank.prototype.getName = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.bank.Bank} returns this
|
||||
*/
|
||||
proto.bet.beteran.bank.Bank.prototype.setName = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 2, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional bool sort_order = 3;
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.bet.beteran.bank.Bank.prototype.getSortOrder = function() {
|
||||
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {boolean} value
|
||||
* @return {!proto.bet.beteran.bank.Bank} returns this
|
||||
*/
|
||||
proto.bet.beteran.bank.Bank.prototype.setSortOrder = function(value) {
|
||||
return jspb.Message.setProto3BooleanField(this, 3, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional bool show = 4;
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.bet.beteran.bank.Bank.prototype.getShow = function() {
|
||||
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {boolean} value
|
||||
* @return {!proto.bet.beteran.bank.Bank} returns this
|
||||
*/
|
||||
proto.bet.beteran.bank.Bank.prototype.setShow = function(value) {
|
||||
return jspb.Message.setProto3BooleanField(this, 4, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional bool can_use = 5;
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.bet.beteran.bank.Bank.prototype.getCanUse = function() {
|
||||
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {boolean} value
|
||||
* @return {!proto.bet.beteran.bank.Bank} returns this
|
||||
*/
|
||||
proto.bet.beteran.bank.Bank.prototype.setCanUse = function(value) {
|
||||
return jspb.Message.setProto3BooleanField(this, 5, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string memo = 6;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.bank.Bank.prototype.getMemo = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.bank.Bank} returns this
|
||||
*/
|
||||
proto.bet.beteran.bank.Bank.prototype.setMemo = function(value) {
|
||||
return jspb.Message.setField(this, 6, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the field making it undefined.
|
||||
* @return {!proto.bet.beteran.bank.Bank} returns this
|
||||
*/
|
||||
proto.bet.beteran.bank.Bank.prototype.clearMemo = function() {
|
||||
return jspb.Message.setField(this, 6, undefined);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Returns whether this field is set.
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.bet.beteran.bank.Bank.prototype.hasMemo = function() {
|
||||
return jspb.Message.getField(this, 6) != null;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional uint64 created_at = 7;
|
||||
* @return {number}
|
||||
*/
|
||||
proto.bet.beteran.bank.Bank.prototype.getCreatedAt = function() {
|
||||
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {number} value
|
||||
* @return {!proto.bet.beteran.bank.Bank} returns this
|
||||
*/
|
||||
proto.bet.beteran.bank.Bank.prototype.setCreatedAt = function(value) {
|
||||
return jspb.Message.setProto3IntField(this, 7, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional uint64 updated_at = 8;
|
||||
* @return {number}
|
||||
*/
|
||||
proto.bet.beteran.bank.Bank.prototype.getUpdatedAt = function() {
|
||||
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {number} value
|
||||
* @return {!proto.bet.beteran.bank.Bank} returns this
|
||||
*/
|
||||
proto.bet.beteran.bank.Bank.prototype.setUpdatedAt = function(value) {
|
||||
return jspb.Message.setProto3IntField(this, 8, value);
|
||||
};
|
||||
|
||||
|
||||
goog.object.extend(exports, proto.bet.beteran.bank);
|
|
@ -1,7 +1,7 @@
|
|||
// package: bet.beteran.core.network
|
||||
// file: models/core/network.proto
|
||||
|
||||
import * as jspb from 'google-protobuf';
|
||||
import * as jspb from "google-protobuf";
|
||||
|
||||
export class Client extends jspb.Message {
|
||||
getClientIp(): string;
|
||||
|
@ -21,24 +21,17 @@ export class Client extends jspb.Message {
|
|||
toObject(includeInstance?: boolean): Client.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Client): Client.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: Client,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Client, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Client;
|
||||
static deserializeBinaryFromReader(
|
||||
message: Client,
|
||||
reader: jspb.BinaryReader
|
||||
): Client;
|
||||
static deserializeBinaryFromReader(message: Client, reader: jspb.BinaryReader): Client;
|
||||
}
|
||||
|
||||
export namespace Client {
|
||||
export type AsObject = {
|
||||
clientIp: string;
|
||||
siteUrl: string;
|
||||
accessToken: string;
|
||||
};
|
||||
clientIp: string,
|
||||
siteUrl: string,
|
||||
accessToken: string,
|
||||
}
|
||||
}
|
||||
|
|
@ -11,13 +11,11 @@
|
|||
/* eslint-disable */
|
||||
// @ts-nocheck
|
||||
|
||||
var jspb = require("google-protobuf");
|
||||
var jspb = require('google-protobuf');
|
||||
var goog = jspb;
|
||||
var global = function () {
|
||||
return this || window || global || self || Function("return this")();
|
||||
}.call(null);
|
||||
var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
|
||||
|
||||
goog.exportSymbol("proto.bet.beteran.core.network.Client", null, global);
|
||||
goog.exportSymbol('proto.bet.beteran.core.network.Client', null, global);
|
||||
/**
|
||||
* Generated by JsPbCodeGenerator.
|
||||
* @param {Array=} opt_data Optional initial data array, typically from a
|
||||
|
@ -37,10 +35,11 @@ if (goog.DEBUG && !COMPILED) {
|
|||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.bet.beteran.core.network.Client.displayName =
|
||||
"proto.bet.beteran.core.network.Client";
|
||||
proto.bet.beteran.core.network.Client.displayName = 'proto.bet.beteran.core.network.Client';
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||
/**
|
||||
* Creates an object representation of this proto.
|
||||
|
@ -54,15 +53,11 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|||
* http://goto/soy-param-migration
|
||||
* @return {!Object}
|
||||
*/
|
||||
proto.bet.beteran.core.network.Client.prototype.toObject = function (
|
||||
opt_includeInstance
|
||||
) {
|
||||
return proto.bet.beteran.core.network.Client.toObject(
|
||||
opt_includeInstance,
|
||||
this
|
||||
);
|
||||
proto.bet.beteran.core.network.Client.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.bet.beteran.core.network.Client.toObject(opt_includeInstance, this);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Static version of the {@see toObject} method.
|
||||
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
||||
|
@ -72,15 +67,11 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.bet.beteran.core.network.Client.toObject = function (
|
||||
includeInstance,
|
||||
msg
|
||||
) {
|
||||
var f,
|
||||
obj = {
|
||||
proto.bet.beteran.core.network.Client.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
clientIp: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
siteUrl: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
||||
accessToken: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
||||
accessToken: jspb.Message.getFieldWithDefault(msg, 3, "")
|
||||
};
|
||||
|
||||
if (includeInstance) {
|
||||
|
@ -90,6 +81,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|||
};
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format).
|
||||
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
||||
|
@ -97,13 +89,11 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|||
*/
|
||||
proto.bet.beteran.core.network.Client.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.bet.beteran.core.network.Client();
|
||||
return proto.bet.beteran.core.network.Client.deserializeBinaryFromReader(
|
||||
msg,
|
||||
reader
|
||||
);
|
||||
var msg = new proto.bet.beteran.core.network.Client;
|
||||
return proto.bet.beteran.core.network.Client.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
|
@ -111,10 +101,7 @@ proto.bet.beteran.core.network.Client.deserializeBinary = function (bytes) {
|
|||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.bet.beteran.core.network.Client}
|
||||
*/
|
||||
proto.bet.beteran.core.network.Client.deserializeBinaryFromReader = function (
|
||||
msg,
|
||||
reader
|
||||
) {
|
||||
proto.bet.beteran.core.network.Client.deserializeBinaryFromReader = function(msg, reader) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
|
@ -141,6 +128,7 @@ proto.bet.beteran.core.network.Client.deserializeBinaryFromReader = function (
|
|||
return msg;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
|
@ -151,6 +139,7 @@ proto.bet.beteran.core.network.Client.prototype.serializeBinary = function () {
|
|||
return writer.getResultBuffer();
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the given message to binary data (in protobuf wire
|
||||
* format), writing to the given BinaryWriter.
|
||||
|
@ -158,25 +147,32 @@ proto.bet.beteran.core.network.Client.prototype.serializeBinary = function () {
|
|||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.bet.beteran.core.network.Client.serializeBinaryToWriter = function (
|
||||
message,
|
||||
writer
|
||||
) {
|
||||
proto.bet.beteran.core.network.Client.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getClientIp();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(1, f);
|
||||
writer.writeString(
|
||||
1,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
||||
if (f != null) {
|
||||
writer.writeString(2, f);
|
||||
writer.writeString(
|
||||
2,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
||||
if (f != null) {
|
||||
writer.writeString(3, f);
|
||||
writer.writeString(
|
||||
3,
|
||||
f
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string client_ip = 1;
|
||||
* @return {string}
|
||||
|
@ -185,6 +181,7 @@ proto.bet.beteran.core.network.Client.prototype.getClientIp = function () {
|
|||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.core.network.Client} returns this
|
||||
|
@ -193,6 +190,7 @@ proto.bet.beteran.core.network.Client.prototype.setClientIp = function (value) {
|
|||
return jspb.Message.setProto3StringField(this, 1, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string site_url = 2;
|
||||
* @return {string}
|
||||
|
@ -201,6 +199,7 @@ proto.bet.beteran.core.network.Client.prototype.getSiteUrl = function () {
|
|||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.core.network.Client} returns this
|
||||
|
@ -209,6 +208,7 @@ proto.bet.beteran.core.network.Client.prototype.setSiteUrl = function (value) {
|
|||
return jspb.Message.setField(this, 2, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the field making it undefined.
|
||||
* @return {!proto.bet.beteran.core.network.Client} returns this
|
||||
|
@ -217,6 +217,7 @@ proto.bet.beteran.core.network.Client.prototype.clearSiteUrl = function () {
|
|||
return jspb.Message.setField(this, 2, undefined);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Returns whether this field is set.
|
||||
* @return {boolean}
|
||||
|
@ -225,6 +226,7 @@ proto.bet.beteran.core.network.Client.prototype.hasSiteUrl = function () {
|
|||
return jspb.Message.getField(this, 2) != null;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string access_token = 3;
|
||||
* @return {string}
|
||||
|
@ -233,16 +235,16 @@ proto.bet.beteran.core.network.Client.prototype.getAccessToken = function () {
|
|||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.core.network.Client} returns this
|
||||
*/
|
||||
proto.bet.beteran.core.network.Client.prototype.setAccessToken = function (
|
||||
value
|
||||
) {
|
||||
proto.bet.beteran.core.network.Client.prototype.setAccessToken = function(value) {
|
||||
return jspb.Message.setField(this, 3, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the field making it undefined.
|
||||
* @return {!proto.bet.beteran.core.network.Client} returns this
|
||||
|
@ -251,6 +253,7 @@ proto.bet.beteran.core.network.Client.prototype.clearAccessToken = function () {
|
|||
return jspb.Message.setField(this, 3, undefined);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Returns whether this field is set.
|
||||
* @return {boolean}
|
||||
|
@ -259,4 +262,5 @@ proto.bet.beteran.core.network.Client.prototype.hasAccessToken = function () {
|
|||
return jspb.Message.getField(this, 3) != null;
|
||||
};
|
||||
|
||||
|
||||
goog.object.extend(exports, proto.bet.beteran.core.network);
|
55
src/app/modules/proto/models/member_bank_account_pb.d.ts
vendored
Normal file
55
src/app/modules/proto/models/member_bank_account_pb.d.ts
vendored
Normal file
|
@ -0,0 +1,55 @@
|
|||
// package: bet.beteran.member_bank_account
|
||||
// file: models/member_bank_account.proto
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
|
||||
export class MemberBankAccount extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
getMemberId(): string;
|
||||
setMemberId(value: string): void;
|
||||
|
||||
getBankId(): string;
|
||||
setBankId(value: string): void;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
getAccountNumber(): string;
|
||||
setAccountNumber(value: string): void;
|
||||
|
||||
hasMemo(): boolean;
|
||||
clearMemo(): void;
|
||||
getMemo(): string;
|
||||
setMemo(value: string): void;
|
||||
|
||||
getCreatedAt(): number;
|
||||
setCreatedAt(value: number): void;
|
||||
|
||||
getUpdatedAt(): number;
|
||||
setUpdatedAt(value: number): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): MemberBankAccount.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: MemberBankAccount): MemberBankAccount.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: MemberBankAccount, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): MemberBankAccount;
|
||||
static deserializeBinaryFromReader(message: MemberBankAccount, reader: jspb.BinaryReader): MemberBankAccount;
|
||||
}
|
||||
|
||||
export namespace MemberBankAccount {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
memberId: string,
|
||||
bankId: string,
|
||||
name: string,
|
||||
accountNumber: string,
|
||||
memo: string,
|
||||
createdAt: number,
|
||||
updatedAt: number,
|
||||
}
|
||||
}
|
||||
|
398
src/app/modules/proto/models/member_bank_account_pb.js
Normal file
398
src/app/modules/proto/models/member_bank_account_pb.js
Normal file
|
@ -0,0 +1,398 @@
|
|||
// source: models/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.member_bank_account.MemberBankAccount', null, global);
|
||||
/**
|
||||
* Generated by JsPbCodeGenerator.
|
||||
* @param {Array=} opt_data Optional initial data array, typically from a
|
||||
* server response, or constructed directly in Javascript. The array is used
|
||||
* in place and becomes part of the constructed object. It is not cloned.
|
||||
* If no data is provided, the constructed object will be empty, but still
|
||||
* valid.
|
||||
* @extends {jspb.Message}
|
||||
* @constructor
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(proto.bet.beteran.member_bank_account.MemberBankAccount, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.displayName = 'proto.bet.beteran.member_bank_account.MemberBankAccount';
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||
/**
|
||||
* Creates an object representation of this proto.
|
||||
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
||||
* Optional fields that are not set will be set to undefined.
|
||||
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
||||
* For the list of reserved names please see:
|
||||
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
||||
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
||||
* JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @return {!Object}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.bet.beteran.member_bank_account.MemberBankAccount.toObject(opt_includeInstance, this);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Static version of the {@see toObject} method.
|
||||
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
||||
* the JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @param {!proto.bet.beteran.member_bank_account.MemberBankAccount} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
memberId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
||||
bankId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
||||
name: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
||||
accountNumber: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
||||
memo: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
||||
createdAt: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
||||
updatedAt: jspb.Message.getFieldWithDefault(msg, 8, 0)
|
||||
};
|
||||
|
||||
if (includeInstance) {
|
||||
obj.$jspbMessageInstance = msg;
|
||||
}
|
||||
return obj;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format).
|
||||
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
||||
* @return {!proto.bet.beteran.member_bank_account.MemberBankAccount}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.bet.beteran.member_bank_account.MemberBankAccount;
|
||||
return proto.bet.beteran.member_bank_account.MemberBankAccount.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.bet.beteran.member_bank_account.MemberBankAccount} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.bet.beteran.member_bank_account.MemberBankAccount}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.deserializeBinaryFromReader = function(msg, reader) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
}
|
||||
var field = reader.getFieldNumber();
|
||||
switch (field) {
|
||||
case 1:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setId(value);
|
||||
break;
|
||||
case 2:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setMemberId(value);
|
||||
break;
|
||||
case 3:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setBankId(value);
|
||||
break;
|
||||
case 4:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setName(value);
|
||||
break;
|
||||
case 5:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setAccountNumber(value);
|
||||
break;
|
||||
case 6:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setMemo(value);
|
||||
break;
|
||||
case 7:
|
||||
var value = /** @type {number} */ (reader.readUint64());
|
||||
msg.setCreatedAt(value);
|
||||
break;
|
||||
case 8:
|
||||
var value = /** @type {number} */ (reader.readUint64());
|
||||
msg.setUpdatedAt(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.serializeBinaryToWriter(this, writer);
|
||||
return writer.getResultBuffer();
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the given message to binary data (in protobuf wire
|
||||
* format), writing to the given BinaryWriter.
|
||||
* @param {!proto.bet.beteran.member_bank_account.MemberBankAccount} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getId();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
1,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getMemberId();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
2,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getBankId();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
3,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getName();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
4,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getAccountNumber();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
5,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
||||
if (f != null) {
|
||||
writer.writeString(
|
||||
6,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getCreatedAt();
|
||||
if (f !== 0) {
|
||||
writer.writeUint64(
|
||||
7,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getUpdatedAt();
|
||||
if (f !== 0) {
|
||||
writer.writeUint64(
|
||||
8,
|
||||
f
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string id = 1;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.getId = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.member_bank_account.MemberBankAccount} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.setId = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 1, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string member_id = 2;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.getMemberId = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.member_bank_account.MemberBankAccount} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.setMemberId = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 2, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string bank_id = 3;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.getBankId = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.member_bank_account.MemberBankAccount} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.setBankId = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 3, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string name = 4;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.getName = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.member_bank_account.MemberBankAccount} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.setName = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 4, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string account_number = 5;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.getAccountNumber = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.member_bank_account.MemberBankAccount} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.setAccountNumber = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 5, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string memo = 6;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.getMemo = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.member_bank_account.MemberBankAccount} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.setMemo = function(value) {
|
||||
return jspb.Message.setField(this, 6, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the field making it undefined.
|
||||
* @return {!proto.bet.beteran.member_bank_account.MemberBankAccount} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.clearMemo = function() {
|
||||
return jspb.Message.setField(this, 6, undefined);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Returns whether this field is set.
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.hasMemo = function() {
|
||||
return jspb.Message.getField(this, 6) != null;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional uint64 created_at = 7;
|
||||
* @return {number}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.getCreatedAt = function() {
|
||||
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {number} value
|
||||
* @return {!proto.bet.beteran.member_bank_account.MemberBankAccount} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.setCreatedAt = function(value) {
|
||||
return jspb.Message.setProto3IntField(this, 7, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional uint64 updated_at = 8;
|
||||
* @return {number}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.getUpdatedAt = function() {
|
||||
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {number} value
|
||||
* @return {!proto.bet.beteran.member_bank_account.MemberBankAccount} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.setUpdatedAt = function(value) {
|
||||
return jspb.Message.setProto3IntField(this, 8, value);
|
||||
};
|
||||
|
||||
|
||||
goog.object.extend(exports, proto.bet.beteran.member_bank_account);
|
67
src/app/modules/proto/models/member_bank_deposit_pb.d.ts
vendored
Normal file
67
src/app/modules/proto/models/member_bank_deposit_pb.d.ts
vendored
Normal file
|
@ -0,0 +1,67 @@
|
|||
// package: bet.beteran.member_bank_deposit
|
||||
// file: models/member_bank_deposit.proto
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
|
||||
export class MemberBankDeposit extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
getMemberId(): string;
|
||||
setMemberId(value: string): void;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
getAmount(): number;
|
||||
setAmount(value: number): void;
|
||||
|
||||
hasMemo(): boolean;
|
||||
clearMemo(): void;
|
||||
getMemo(): string;
|
||||
setMemo(value: string): void;
|
||||
|
||||
getState(): MemberBankDepositStateMap[keyof MemberBankDepositStateMap];
|
||||
setState(value: MemberBankDepositStateMap[keyof MemberBankDepositStateMap]): void;
|
||||
|
||||
getStateChangedAt(): number;
|
||||
setStateChangedAt(value: number): void;
|
||||
|
||||
getCreatedAt(): number;
|
||||
setCreatedAt(value: number): void;
|
||||
|
||||
getUpdatedAt(): number;
|
||||
setUpdatedAt(value: number): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): MemberBankDeposit.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: MemberBankDeposit): MemberBankDeposit.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: MemberBankDeposit, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): MemberBankDeposit;
|
||||
static deserializeBinaryFromReader(message: MemberBankDeposit, reader: jspb.BinaryReader): MemberBankDeposit;
|
||||
}
|
||||
|
||||
export namespace MemberBankDeposit {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
memberId: string,
|
||||
name: string,
|
||||
amount: number,
|
||||
memo: string,
|
||||
state: MemberBankDepositStateMap[keyof MemberBankDepositStateMap],
|
||||
stateChangedAt: number,
|
||||
createdAt: number,
|
||||
updatedAt: number,
|
||||
}
|
||||
}
|
||||
|
||||
export interface MemberBankDepositStateMap {
|
||||
NONE: 0;
|
||||
APPLICATION: 1;
|
||||
COMPLETE: 2;
|
||||
}
|
||||
|
||||
export const MemberBankDepositState: MemberBankDepositStateMap;
|
||||
|
438
src/app/modules/proto/models/member_bank_deposit_pb.js
Normal file
438
src/app/modules/proto/models/member_bank_deposit_pb.js
Normal file
|
@ -0,0 +1,438 @@
|
|||
// source: models/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.member_bank_deposit.MemberBankDeposit', null, global);
|
||||
goog.exportSymbol('proto.bet.beteran.member_bank_deposit.MemberBankDepositState', null, global);
|
||||
/**
|
||||
* Generated by JsPbCodeGenerator.
|
||||
* @param {Array=} opt_data Optional initial data array, typically from a
|
||||
* server response, or constructed directly in Javascript. The array is used
|
||||
* in place and becomes part of the constructed object. It is not cloned.
|
||||
* If no data is provided, the constructed object will be empty, but still
|
||||
* valid.
|
||||
* @extends {jspb.Message}
|
||||
* @constructor
|
||||
*/
|
||||
proto.bet.beteran.member_bank_deposit.MemberBankDeposit = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(proto.bet.beteran.member_bank_deposit.MemberBankDeposit, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.bet.beteran.member_bank_deposit.MemberBankDeposit.displayName = 'proto.bet.beteran.member_bank_deposit.MemberBankDeposit';
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||
/**
|
||||
* Creates an object representation of this proto.
|
||||
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
||||
* Optional fields that are not set will be set to undefined.
|
||||
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
||||
* For the list of reserved names please see:
|
||||
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
||||
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
||||
* JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @return {!Object}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.bet.beteran.member_bank_deposit.MemberBankDeposit.toObject(opt_includeInstance, this);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Static version of the {@see toObject} method.
|
||||
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
||||
* the JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @param {!proto.bet.beteran.member_bank_deposit.MemberBankDeposit} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.bet.beteran.member_bank_deposit.MemberBankDeposit.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
memberId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
||||
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
||||
amount: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
||||
memo: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
||||
state: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
||||
stateChangedAt: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
||||
createdAt: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
||||
updatedAt: jspb.Message.getFieldWithDefault(msg, 9, 0)
|
||||
};
|
||||
|
||||
if (includeInstance) {
|
||||
obj.$jspbMessageInstance = msg;
|
||||
}
|
||||
return obj;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format).
|
||||
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
||||
* @return {!proto.bet.beteran.member_bank_deposit.MemberBankDeposit}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_deposit.MemberBankDeposit.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.bet.beteran.member_bank_deposit.MemberBankDeposit;
|
||||
return proto.bet.beteran.member_bank_deposit.MemberBankDeposit.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.bet.beteran.member_bank_deposit.MemberBankDeposit} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.bet.beteran.member_bank_deposit.MemberBankDeposit}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_deposit.MemberBankDeposit.deserializeBinaryFromReader = function(msg, reader) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
}
|
||||
var field = reader.getFieldNumber();
|
||||
switch (field) {
|
||||
case 1:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setId(value);
|
||||
break;
|
||||
case 2:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setMemberId(value);
|
||||
break;
|
||||
case 3:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setName(value);
|
||||
break;
|
||||
case 4:
|
||||
var value = /** @type {number} */ (reader.readUint32());
|
||||
msg.setAmount(value);
|
||||
break;
|
||||
case 5:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setMemo(value);
|
||||
break;
|
||||
case 6:
|
||||
var value = /** @type {!proto.bet.beteran.member_bank_deposit.MemberBankDepositState} */ (reader.readEnum());
|
||||
msg.setState(value);
|
||||
break;
|
||||
case 7:
|
||||
var value = /** @type {number} */ (reader.readUint64());
|
||||
msg.setStateChangedAt(value);
|
||||
break;
|
||||
case 8:
|
||||
var value = /** @type {number} */ (reader.readUint64());
|
||||
msg.setCreatedAt(value);
|
||||
break;
|
||||
case 9:
|
||||
var value = /** @type {number} */ (reader.readUint64());
|
||||
msg.setUpdatedAt(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.bet.beteran.member_bank_deposit.MemberBankDeposit.serializeBinaryToWriter(this, writer);
|
||||
return writer.getResultBuffer();
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the given message to binary data (in protobuf wire
|
||||
* format), writing to the given BinaryWriter.
|
||||
* @param {!proto.bet.beteran.member_bank_deposit.MemberBankDeposit} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.bet.beteran.member_bank_deposit.MemberBankDeposit.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getId();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
1,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getMemberId();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
2,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getName();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
3,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getAmount();
|
||||
if (f !== 0) {
|
||||
writer.writeUint32(
|
||||
4,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
||||
if (f != null) {
|
||||
writer.writeString(
|
||||
5,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getState();
|
||||
if (f !== 0.0) {
|
||||
writer.writeEnum(
|
||||
6,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getStateChangedAt();
|
||||
if (f !== 0) {
|
||||
writer.writeUint64(
|
||||
7,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getCreatedAt();
|
||||
if (f !== 0) {
|
||||
writer.writeUint64(
|
||||
8,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getUpdatedAt();
|
||||
if (f !== 0) {
|
||||
writer.writeUint64(
|
||||
9,
|
||||
f
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string id = 1;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.getId = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.member_bank_deposit.MemberBankDeposit} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.setId = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 1, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string member_id = 2;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.getMemberId = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.member_bank_deposit.MemberBankDeposit} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.setMemberId = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 2, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string name = 3;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.getName = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.member_bank_deposit.MemberBankDeposit} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.setName = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 3, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional uint32 amount = 4;
|
||||
* @return {number}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.getAmount = function() {
|
||||
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {number} value
|
||||
* @return {!proto.bet.beteran.member_bank_deposit.MemberBankDeposit} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.setAmount = function(value) {
|
||||
return jspb.Message.setProto3IntField(this, 4, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string memo = 5;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.getMemo = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.member_bank_deposit.MemberBankDeposit} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.setMemo = function(value) {
|
||||
return jspb.Message.setField(this, 5, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the field making it undefined.
|
||||
* @return {!proto.bet.beteran.member_bank_deposit.MemberBankDeposit} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.clearMemo = function() {
|
||||
return jspb.Message.setField(this, 5, undefined);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Returns whether this field is set.
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.hasMemo = function() {
|
||||
return jspb.Message.getField(this, 5) != null;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional MemberBankDepositState state = 6;
|
||||
* @return {!proto.bet.beteran.member_bank_deposit.MemberBankDepositState}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.getState = function() {
|
||||
return /** @type {!proto.bet.beteran.member_bank_deposit.MemberBankDepositState} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.bet.beteran.member_bank_deposit.MemberBankDepositState} value
|
||||
* @return {!proto.bet.beteran.member_bank_deposit.MemberBankDeposit} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.setState = function(value) {
|
||||
return jspb.Message.setProto3EnumField(this, 6, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional uint64 state_changed_at = 7;
|
||||
* @return {number}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.getStateChangedAt = function() {
|
||||
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {number} value
|
||||
* @return {!proto.bet.beteran.member_bank_deposit.MemberBankDeposit} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.setStateChangedAt = function(value) {
|
||||
return jspb.Message.setProto3IntField(this, 7, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional uint64 created_at = 8;
|
||||
* @return {number}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.getCreatedAt = function() {
|
||||
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {number} value
|
||||
* @return {!proto.bet.beteran.member_bank_deposit.MemberBankDeposit} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.setCreatedAt = function(value) {
|
||||
return jspb.Message.setProto3IntField(this, 8, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional uint64 updated_at = 9;
|
||||
* @return {number}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.getUpdatedAt = function() {
|
||||
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {number} value
|
||||
* @return {!proto.bet.beteran.member_bank_deposit.MemberBankDeposit} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.setUpdatedAt = function(value) {
|
||||
return jspb.Message.setProto3IntField(this, 9, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @enum {number}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_deposit.MemberBankDepositState = {
|
||||
NONE: 0,
|
||||
APPLICATION: 1,
|
||||
COMPLETE: 2
|
||||
};
|
||||
|
||||
goog.object.extend(exports, proto.bet.beteran.member_bank_deposit);
|
79
src/app/modules/proto/models/member_bank_withdraw_pb.d.ts
vendored
Normal file
79
src/app/modules/proto/models/member_bank_withdraw_pb.d.ts
vendored
Normal file
|
@ -0,0 +1,79 @@
|
|||
// package: bet.beteran.member_bank_withdraw
|
||||
// file: models/member_bank_withdraw.proto
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
|
||||
export class MemberBankWithdraw extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
getMemberId(): string;
|
||||
setMemberId(value: string): void;
|
||||
|
||||
getBankName(): string;
|
||||
setBankName(value: string): void;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
getAccountNumber(): string;
|
||||
setAccountNumber(value: string): void;
|
||||
|
||||
getAmount(): number;
|
||||
setAmount(value: number): void;
|
||||
|
||||
getPassword(): string;
|
||||
setPassword(value: string): void;
|
||||
|
||||
hasMemo(): boolean;
|
||||
clearMemo(): void;
|
||||
getMemo(): string;
|
||||
setMemo(value: string): void;
|
||||
|
||||
getState(): MemberBankWithdrawStateMap[keyof MemberBankWithdrawStateMap];
|
||||
setState(value: MemberBankWithdrawStateMap[keyof MemberBankWithdrawStateMap]): void;
|
||||
|
||||
getStateChangedAt(): number;
|
||||
setStateChangedAt(value: number): void;
|
||||
|
||||
getCreatedAt(): number;
|
||||
setCreatedAt(value: number): void;
|
||||
|
||||
getUpdatedAt(): number;
|
||||
setUpdatedAt(value: number): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): MemberBankWithdraw.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: MemberBankWithdraw): MemberBankWithdraw.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: MemberBankWithdraw, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): MemberBankWithdraw;
|
||||
static deserializeBinaryFromReader(message: MemberBankWithdraw, reader: jspb.BinaryReader): MemberBankWithdraw;
|
||||
}
|
||||
|
||||
export namespace MemberBankWithdraw {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
memberId: string,
|
||||
bankName: string,
|
||||
name: string,
|
||||
accountNumber: string,
|
||||
amount: number,
|
||||
password: string,
|
||||
memo: string,
|
||||
state: MemberBankWithdrawStateMap[keyof MemberBankWithdrawStateMap],
|
||||
stateChangedAt: number,
|
||||
createdAt: number,
|
||||
updatedAt: number,
|
||||
}
|
||||
}
|
||||
|
||||
export interface MemberBankWithdrawStateMap {
|
||||
NONE: 0;
|
||||
APPLICATION: 1;
|
||||
COMPLETE: 2;
|
||||
}
|
||||
|
||||
export const MemberBankWithdrawState: MemberBankWithdrawStateMap;
|
||||
|
528
src/app/modules/proto/models/member_bank_withdraw_pb.js
Normal file
528
src/app/modules/proto/models/member_bank_withdraw_pb.js
Normal file
|
@ -0,0 +1,528 @@
|
|||
// source: models/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.member_bank_withdraw.MemberBankWithdraw', null, global);
|
||||
goog.exportSymbol('proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawState', null, global);
|
||||
/**
|
||||
* Generated by JsPbCodeGenerator.
|
||||
* @param {Array=} opt_data Optional initial data array, typically from a
|
||||
* server response, or constructed directly in Javascript. The array is used
|
||||
* in place and becomes part of the constructed object. It is not cloned.
|
||||
* If no data is provided, the constructed object will be empty, but still
|
||||
* valid.
|
||||
* @extends {jspb.Message}
|
||||
* @constructor
|
||||
*/
|
||||
proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.displayName = 'proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw';
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||
/**
|
||||
* Creates an object representation of this proto.
|
||||
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
||||
* Optional fields that are not set will be set to undefined.
|
||||
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
||||
* For the list of reserved names please see:
|
||||
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
||||
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
||||
* JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @return {!Object}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.toObject(opt_includeInstance, this);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Static version of the {@see toObject} method.
|
||||
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
||||
* the JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @param {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
memberId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
||||
bankName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
||||
name: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
||||
accountNumber: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
||||
amount: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
||||
password: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
||||
memo: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
||||
state: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
||||
stateChangedAt: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
||||
createdAt: jspb.Message.getFieldWithDefault(msg, 11, 0),
|
||||
updatedAt: jspb.Message.getFieldWithDefault(msg, 12, 0)
|
||||
};
|
||||
|
||||
if (includeInstance) {
|
||||
obj.$jspbMessageInstance = msg;
|
||||
}
|
||||
return obj;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format).
|
||||
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
||||
* @return {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw;
|
||||
return proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.deserializeBinaryFromReader = function(msg, reader) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
}
|
||||
var field = reader.getFieldNumber();
|
||||
switch (field) {
|
||||
case 1:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setId(value);
|
||||
break;
|
||||
case 2:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setMemberId(value);
|
||||
break;
|
||||
case 3:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setBankName(value);
|
||||
break;
|
||||
case 4:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setName(value);
|
||||
break;
|
||||
case 5:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setAccountNumber(value);
|
||||
break;
|
||||
case 6:
|
||||
var value = /** @type {number} */ (reader.readUint32());
|
||||
msg.setAmount(value);
|
||||
break;
|
||||
case 7:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setPassword(value);
|
||||
break;
|
||||
case 8:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setMemo(value);
|
||||
break;
|
||||
case 9:
|
||||
var value = /** @type {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawState} */ (reader.readEnum());
|
||||
msg.setState(value);
|
||||
break;
|
||||
case 10:
|
||||
var value = /** @type {number} */ (reader.readUint64());
|
||||
msg.setStateChangedAt(value);
|
||||
break;
|
||||
case 11:
|
||||
var value = /** @type {number} */ (reader.readUint64());
|
||||
msg.setCreatedAt(value);
|
||||
break;
|
||||
case 12:
|
||||
var value = /** @type {number} */ (reader.readUint64());
|
||||
msg.setUpdatedAt(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.serializeBinaryToWriter(this, writer);
|
||||
return writer.getResultBuffer();
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the given message to binary data (in protobuf wire
|
||||
* format), writing to the given BinaryWriter.
|
||||
* @param {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getId();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
1,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getMemberId();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
2,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getBankName();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
3,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getName();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
4,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getAccountNumber();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
5,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getAmount();
|
||||
if (f !== 0) {
|
||||
writer.writeUint32(
|
||||
6,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getPassword();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
7,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
||||
if (f != null) {
|
||||
writer.writeString(
|
||||
8,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getState();
|
||||
if (f !== 0.0) {
|
||||
writer.writeEnum(
|
||||
9,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getStateChangedAt();
|
||||
if (f !== 0) {
|
||||
writer.writeUint64(
|
||||
10,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getCreatedAt();
|
||||
if (f !== 0) {
|
||||
writer.writeUint64(
|
||||
11,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getUpdatedAt();
|
||||
if (f !== 0) {
|
||||
writer.writeUint64(
|
||||
12,
|
||||
f
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string id = 1;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.getId = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.setId = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 1, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string member_id = 2;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.getMemberId = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.setMemberId = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 2, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string bank_name = 3;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.getBankName = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.setBankName = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 3, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string name = 4;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.getName = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.setName = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 4, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string account_number = 5;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.getAccountNumber = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.setAccountNumber = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 5, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional uint32 amount = 6;
|
||||
* @return {number}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.getAmount = function() {
|
||||
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {number} value
|
||||
* @return {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.setAmount = function(value) {
|
||||
return jspb.Message.setProto3IntField(this, 6, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string password = 7;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.getPassword = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.setPassword = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 7, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string memo = 8;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.getMemo = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.setMemo = function(value) {
|
||||
return jspb.Message.setField(this, 8, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the field making it undefined.
|
||||
* @return {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.clearMemo = function() {
|
||||
return jspb.Message.setField(this, 8, undefined);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Returns whether this field is set.
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.hasMemo = function() {
|
||||
return jspb.Message.getField(this, 8) != null;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional MemberBankWithdrawState state = 9;
|
||||
* @return {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawState}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.getState = function() {
|
||||
return /** @type {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawState} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawState} value
|
||||
* @return {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.setState = function(value) {
|
||||
return jspb.Message.setProto3EnumField(this, 9, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional uint64 state_changed_at = 10;
|
||||
* @return {number}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.getStateChangedAt = function() {
|
||||
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {number} value
|
||||
* @return {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.setStateChangedAt = function(value) {
|
||||
return jspb.Message.setProto3IntField(this, 10, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional uint64 created_at = 11;
|
||||
* @return {number}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.getCreatedAt = function() {
|
||||
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {number} value
|
||||
* @return {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.setCreatedAt = function(value) {
|
||||
return jspb.Message.setProto3IntField(this, 11, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional uint64 updated_at = 12;
|
||||
* @return {number}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.getUpdatedAt = function() {
|
||||
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {number} value
|
||||
* @return {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.setUpdatedAt = function(value) {
|
||||
return jspb.Message.setProto3IntField(this, 12, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @enum {number}
|
||||
*/
|
||||
proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawState = {
|
||||
NONE: 0,
|
||||
APPLICATION: 1,
|
||||
COMPLETE: 2
|
||||
};
|
||||
|
||||
goog.object.extend(exports, proto.bet.beteran.member_bank_withdraw);
|
43
src/app/modules/proto/models/member_class_pb.d.ts
vendored
Normal file
43
src/app/modules/proto/models/member_class_pb.d.ts
vendored
Normal file
|
@ -0,0 +1,43 @@
|
|||
// package: bet.beteran.member_class
|
||||
// file: models/member_class.proto
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
|
||||
export class MemberClass extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
hasParentId(): boolean;
|
||||
clearParentId(): void;
|
||||
getParentId(): string;
|
||||
setParentId(value: string): void;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
getCreatedAt(): number;
|
||||
setCreatedAt(value: number): void;
|
||||
|
||||
getUpdatedAt(): number;
|
||||
setUpdatedAt(value: number): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): MemberClass.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: MemberClass): MemberClass.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: MemberClass, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): MemberClass;
|
||||
static deserializeBinaryFromReader(message: MemberClass, reader: jspb.BinaryReader): MemberClass;
|
||||
}
|
||||
|
||||
export namespace MemberClass {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
parentId: string,
|
||||
name: string,
|
||||
createdAt: number,
|
||||
updatedAt: number,
|
||||
}
|
||||
}
|
||||
|
308
src/app/modules/proto/models/member_class_pb.js
Normal file
308
src/app/modules/proto/models/member_class_pb.js
Normal file
|
@ -0,0 +1,308 @@
|
|||
// source: models/member_class.proto
|
||||
/**
|
||||
* @fileoverview
|
||||
* @enhanceable
|
||||
* @suppress {missingRequire} reports error on implicit type usages.
|
||||
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
||||
* field starts with 'MSG_' and isn't a translatable message.
|
||||
* @public
|
||||
*/
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
/* eslint-disable */
|
||||
// @ts-nocheck
|
||||
|
||||
var jspb = require('google-protobuf');
|
||||
var goog = jspb;
|
||||
var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
|
||||
|
||||
goog.exportSymbol('proto.bet.beteran.member_class.MemberClass', null, global);
|
||||
/**
|
||||
* Generated by JsPbCodeGenerator.
|
||||
* @param {Array=} opt_data Optional initial data array, typically from a
|
||||
* server response, or constructed directly in Javascript. The array is used
|
||||
* in place and becomes part of the constructed object. It is not cloned.
|
||||
* If no data is provided, the constructed object will be empty, but still
|
||||
* valid.
|
||||
* @extends {jspb.Message}
|
||||
* @constructor
|
||||
*/
|
||||
proto.bet.beteran.member_class.MemberClass = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(proto.bet.beteran.member_class.MemberClass, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.bet.beteran.member_class.MemberClass.displayName = 'proto.bet.beteran.member_class.MemberClass';
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||
/**
|
||||
* Creates an object representation of this proto.
|
||||
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
||||
* Optional fields that are not set will be set to undefined.
|
||||
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
||||
* For the list of reserved names please see:
|
||||
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
||||
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
||||
* JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @return {!Object}
|
||||
*/
|
||||
proto.bet.beteran.member_class.MemberClass.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.bet.beteran.member_class.MemberClass.toObject(opt_includeInstance, this);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Static version of the {@see toObject} method.
|
||||
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
||||
* the JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @param {!proto.bet.beteran.member_class.MemberClass} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.bet.beteran.member_class.MemberClass.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
parentId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
||||
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
||||
createdAt: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
||||
updatedAt: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
||||
};
|
||||
|
||||
if (includeInstance) {
|
||||
obj.$jspbMessageInstance = msg;
|
||||
}
|
||||
return obj;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format).
|
||||
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
||||
* @return {!proto.bet.beteran.member_class.MemberClass}
|
||||
*/
|
||||
proto.bet.beteran.member_class.MemberClass.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.bet.beteran.member_class.MemberClass;
|
||||
return proto.bet.beteran.member_class.MemberClass.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.bet.beteran.member_class.MemberClass} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.bet.beteran.member_class.MemberClass}
|
||||
*/
|
||||
proto.bet.beteran.member_class.MemberClass.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.setParentId(value);
|
||||
break;
|
||||
case 3:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setName(value);
|
||||
break;
|
||||
case 4:
|
||||
var value = /** @type {number} */ (reader.readUint64());
|
||||
msg.setCreatedAt(value);
|
||||
break;
|
||||
case 5:
|
||||
var value = /** @type {number} */ (reader.readUint64());
|
||||
msg.setUpdatedAt(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.bet.beteran.member_class.MemberClass.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.bet.beteran.member_class.MemberClass.serializeBinaryToWriter(this, writer);
|
||||
return writer.getResultBuffer();
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the given message to binary data (in protobuf wire
|
||||
* format), writing to the given BinaryWriter.
|
||||
* @param {!proto.bet.beteran.member_class.MemberClass} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.bet.beteran.member_class.MemberClass.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getId();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
1,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
||||
if (f != null) {
|
||||
writer.writeString(
|
||||
2,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getName();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
3,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getCreatedAt();
|
||||
if (f !== 0) {
|
||||
writer.writeUint64(
|
||||
4,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getUpdatedAt();
|
||||
if (f !== 0) {
|
||||
writer.writeUint64(
|
||||
5,
|
||||
f
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string id = 1;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.member_class.MemberClass.prototype.getId = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.member_class.MemberClass} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_class.MemberClass.prototype.setId = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 1, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string parent_id = 2;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.member_class.MemberClass.prototype.getParentId = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.member_class.MemberClass} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_class.MemberClass.prototype.setParentId = function(value) {
|
||||
return jspb.Message.setField(this, 2, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the field making it undefined.
|
||||
* @return {!proto.bet.beteran.member_class.MemberClass} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_class.MemberClass.prototype.clearParentId = function() {
|
||||
return jspb.Message.setField(this, 2, undefined);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Returns whether this field is set.
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.bet.beteran.member_class.MemberClass.prototype.hasParentId = function() {
|
||||
return jspb.Message.getField(this, 2) != null;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string name = 3;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.member_class.MemberClass.prototype.getName = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.member_class.MemberClass} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_class.MemberClass.prototype.setName = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 3, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional uint64 created_at = 4;
|
||||
* @return {number}
|
||||
*/
|
||||
proto.bet.beteran.member_class.MemberClass.prototype.getCreatedAt = function() {
|
||||
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {number} value
|
||||
* @return {!proto.bet.beteran.member_class.MemberClass} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_class.MemberClass.prototype.setCreatedAt = function(value) {
|
||||
return jspb.Message.setProto3IntField(this, 4, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional uint64 updated_at = 5;
|
||||
* @return {number}
|
||||
*/
|
||||
proto.bet.beteran.member_class.MemberClass.prototype.getUpdatedAt = function() {
|
||||
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {number} value
|
||||
* @return {!proto.bet.beteran.member_class.MemberClass} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_class.MemberClass.prototype.setUpdatedAt = function(value) {
|
||||
return jspb.Message.setProto3IntField(this, 5, value);
|
||||
};
|
||||
|
||||
|
||||
goog.object.extend(exports, proto.bet.beteran.member_class);
|
41
src/app/modules/proto/models/member_level_pb.d.ts
vendored
Normal file
41
src/app/modules/proto/models/member_level_pb.d.ts
vendored
Normal file
|
@ -0,0 +1,41 @@
|
|||
// package: bet.beteran.member_level
|
||||
// file: models/member_level.proto
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
|
||||
export class MemberLevel extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
getSortOrder(): number;
|
||||
setSortOrder(value: number): void;
|
||||
|
||||
getCreatedAt(): number;
|
||||
setCreatedAt(value: number): void;
|
||||
|
||||
getUpdatedAt(): number;
|
||||
setUpdatedAt(value: number): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): MemberLevel.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: MemberLevel): MemberLevel.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: MemberLevel, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): MemberLevel;
|
||||
static deserializeBinaryFromReader(message: MemberLevel, reader: jspb.BinaryReader): MemberLevel;
|
||||
}
|
||||
|
||||
export namespace MemberLevel {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
name: string,
|
||||
sortOrder: number,
|
||||
createdAt: number,
|
||||
updatedAt: number,
|
||||
}
|
||||
}
|
||||
|
290
src/app/modules/proto/models/member_level_pb.js
Normal file
290
src/app/modules/proto/models/member_level_pb.js
Normal file
|
@ -0,0 +1,290 @@
|
|||
// source: models/member_level.proto
|
||||
/**
|
||||
* @fileoverview
|
||||
* @enhanceable
|
||||
* @suppress {missingRequire} reports error on implicit type usages.
|
||||
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
||||
* field starts with 'MSG_' and isn't a translatable message.
|
||||
* @public
|
||||
*/
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
/* eslint-disable */
|
||||
// @ts-nocheck
|
||||
|
||||
var jspb = require('google-protobuf');
|
||||
var goog = jspb;
|
||||
var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
|
||||
|
||||
goog.exportSymbol('proto.bet.beteran.member_level.MemberLevel', null, global);
|
||||
/**
|
||||
* Generated by JsPbCodeGenerator.
|
||||
* @param {Array=} opt_data Optional initial data array, typically from a
|
||||
* server response, or constructed directly in Javascript. The array is used
|
||||
* in place and becomes part of the constructed object. It is not cloned.
|
||||
* If no data is provided, the constructed object will be empty, but still
|
||||
* valid.
|
||||
* @extends {jspb.Message}
|
||||
* @constructor
|
||||
*/
|
||||
proto.bet.beteran.member_level.MemberLevel = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(proto.bet.beteran.member_level.MemberLevel, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.bet.beteran.member_level.MemberLevel.displayName = 'proto.bet.beteran.member_level.MemberLevel';
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||
/**
|
||||
* Creates an object representation of this proto.
|
||||
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
||||
* Optional fields that are not set will be set to undefined.
|
||||
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
||||
* For the list of reserved names please see:
|
||||
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
||||
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
||||
* JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @return {!Object}
|
||||
*/
|
||||
proto.bet.beteran.member_level.MemberLevel.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.bet.beteran.member_level.MemberLevel.toObject(opt_includeInstance, this);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Static version of the {@see toObject} method.
|
||||
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
||||
* the JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @param {!proto.bet.beteran.member_level.MemberLevel} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.bet.beteran.member_level.MemberLevel.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
||||
sortOrder: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
||||
createdAt: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
||||
updatedAt: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
||||
};
|
||||
|
||||
if (includeInstance) {
|
||||
obj.$jspbMessageInstance = msg;
|
||||
}
|
||||
return obj;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format).
|
||||
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
||||
* @return {!proto.bet.beteran.member_level.MemberLevel}
|
||||
*/
|
||||
proto.bet.beteran.member_level.MemberLevel.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.bet.beteran.member_level.MemberLevel;
|
||||
return proto.bet.beteran.member_level.MemberLevel.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.bet.beteran.member_level.MemberLevel} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.bet.beteran.member_level.MemberLevel}
|
||||
*/
|
||||
proto.bet.beteran.member_level.MemberLevel.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.setName(value);
|
||||
break;
|
||||
case 3:
|
||||
var value = /** @type {number} */ (reader.readUint32());
|
||||
msg.setSortOrder(value);
|
||||
break;
|
||||
case 4:
|
||||
var value = /** @type {number} */ (reader.readUint64());
|
||||
msg.setCreatedAt(value);
|
||||
break;
|
||||
case 5:
|
||||
var value = /** @type {number} */ (reader.readUint64());
|
||||
msg.setUpdatedAt(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.bet.beteran.member_level.MemberLevel.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.bet.beteran.member_level.MemberLevel.serializeBinaryToWriter(this, writer);
|
||||
return writer.getResultBuffer();
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the given message to binary data (in protobuf wire
|
||||
* format), writing to the given BinaryWriter.
|
||||
* @param {!proto.bet.beteran.member_level.MemberLevel} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.bet.beteran.member_level.MemberLevel.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getId();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
1,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getName();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
2,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getSortOrder();
|
||||
if (f !== 0) {
|
||||
writer.writeUint32(
|
||||
3,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getCreatedAt();
|
||||
if (f !== 0) {
|
||||
writer.writeUint64(
|
||||
4,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getUpdatedAt();
|
||||
if (f !== 0) {
|
||||
writer.writeUint64(
|
||||
5,
|
||||
f
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string id = 1;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.member_level.MemberLevel.prototype.getId = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.member_level.MemberLevel} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_level.MemberLevel.prototype.setId = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 1, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string name = 2;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.member_level.MemberLevel.prototype.getName = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.member_level.MemberLevel} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_level.MemberLevel.prototype.setName = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 2, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional uint32 sort_order = 3;
|
||||
* @return {number}
|
||||
*/
|
||||
proto.bet.beteran.member_level.MemberLevel.prototype.getSortOrder = function() {
|
||||
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {number} value
|
||||
* @return {!proto.bet.beteran.member_level.MemberLevel} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_level.MemberLevel.prototype.setSortOrder = function(value) {
|
||||
return jspb.Message.setProto3IntField(this, 3, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional uint64 created_at = 4;
|
||||
* @return {number}
|
||||
*/
|
||||
proto.bet.beteran.member_level.MemberLevel.prototype.getCreatedAt = function() {
|
||||
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {number} value
|
||||
* @return {!proto.bet.beteran.member_level.MemberLevel} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_level.MemberLevel.prototype.setCreatedAt = function(value) {
|
||||
return jspb.Message.setProto3IntField(this, 4, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional uint64 updated_at = 5;
|
||||
* @return {number}
|
||||
*/
|
||||
proto.bet.beteran.member_level.MemberLevel.prototype.getUpdatedAt = function() {
|
||||
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {number} value
|
||||
* @return {!proto.bet.beteran.member_level.MemberLevel} returns this
|
||||
*/
|
||||
proto.bet.beteran.member_level.MemberLevel.prototype.setUpdatedAt = function(value) {
|
||||
return jspb.Message.setProto3IntField(this, 5, value);
|
||||
};
|
||||
|
||||
|
||||
goog.object.extend(exports, proto.bet.beteran.member_level);
|
|
@ -1,10 +1,10 @@
|
|||
// package: bet.beteran.member
|
||||
// file: models/member/member.proto
|
||||
// file: models/member.proto
|
||||
|
||||
import * as jspb from 'google-protobuf';
|
||||
import * as models_domain_site_pb from '../../models/domain/site_pb';
|
||||
import * as models_member_member_class_pb from '../../models/member/member_class_pb';
|
||||
import * as models_member_member_level_pb from '../../models/member/member_level_pb';
|
||||
import * as jspb from "google-protobuf";
|
||||
import * as models_site_pb from "../models/site_pb";
|
||||
import * as models_member_class_pb from "../models/member_class_pb";
|
||||
import * as models_member_level_pb from "../models/member_level_pb";
|
||||
|
||||
export class Member extends jspb.Message {
|
||||
getId(): string;
|
||||
|
@ -71,39 +71,31 @@ export class Member extends jspb.Message {
|
|||
toObject(includeInstance?: boolean): Member.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Member): Member.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: Member,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Member, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Member;
|
||||
static deserializeBinaryFromReader(
|
||||
message: Member,
|
||||
reader: jspb.BinaryReader
|
||||
): Member;
|
||||
static deserializeBinaryFromReader(message: Member, reader: jspb.BinaryReader): Member;
|
||||
}
|
||||
|
||||
export namespace Member {
|
||||
export type AsObject = {
|
||||
id: string;
|
||||
siteId: string;
|
||||
memberClassId: string;
|
||||
memberLevelId: string;
|
||||
referrerMemberId: string;
|
||||
referredCount: number;
|
||||
username: string;
|
||||
nickname: string;
|
||||
mobilePhoneNumber: string;
|
||||
state: MemberStateMap[keyof MemberStateMap];
|
||||
stateChangedAt: number;
|
||||
lastSigninedIp: string;
|
||||
lastSigninedAt: number;
|
||||
createdAt: number;
|
||||
updatedAt: number;
|
||||
deletedAt: number;
|
||||
};
|
||||
id: string,
|
||||
siteId: string,
|
||||
memberClassId: string,
|
||||
memberLevelId: string,
|
||||
referrerMemberId: string,
|
||||
referredCount: number,
|
||||
username: string,
|
||||
nickname: string,
|
||||
mobilePhoneNumber: string,
|
||||
state: MemberStateMap[keyof MemberStateMap],
|
||||
stateChangedAt: number,
|
||||
lastSigninedIp: string,
|
||||
lastSigninedAt: number,
|
||||
createdAt: number,
|
||||
updatedAt: number,
|
||||
deletedAt: number,
|
||||
}
|
||||
}
|
||||
|
||||
export class MemberModel extends jspb.Message {
|
||||
|
@ -112,18 +104,18 @@ export class MemberModel extends jspb.Message {
|
|||
|
||||
hasSite(): boolean;
|
||||
clearSite(): void;
|
||||
getSite(): models_domain_site_pb.Site | undefined;
|
||||
setSite(value?: models_domain_site_pb.Site): void;
|
||||
getSite(): models_site_pb.Site | undefined;
|
||||
setSite(value?: models_site_pb.Site): void;
|
||||
|
||||
hasMemberClass(): boolean;
|
||||
clearMemberClass(): void;
|
||||
getMemberClass(): models_member_member_class_pb.MemberClass | undefined;
|
||||
setMemberClass(value?: models_member_member_class_pb.MemberClass): void;
|
||||
getMemberClass(): models_member_class_pb.MemberClass | undefined;
|
||||
setMemberClass(value?: models_member_class_pb.MemberClass): void;
|
||||
|
||||
hasMemberLevel(): boolean;
|
||||
clearMemberLevel(): void;
|
||||
getMemberLevel(): models_member_member_level_pb.MemberLevel | undefined;
|
||||
setMemberLevel(value?: models_member_member_level_pb.MemberLevel): void;
|
||||
getMemberLevel(): models_member_level_pb.MemberLevel | undefined;
|
||||
setMemberLevel(value?: models_member_level_pb.MemberLevel): void;
|
||||
|
||||
hasReferrerMember(): boolean;
|
||||
clearReferrerMember(): void;
|
||||
|
@ -175,44 +167,33 @@ export class MemberModel extends jspb.Message {
|
|||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): MemberModel.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: MemberModel
|
||||
): MemberModel.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: MemberModel): MemberModel.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: MemberModel,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: MemberModel, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): MemberModel;
|
||||
static deserializeBinaryFromReader(
|
||||
message: MemberModel,
|
||||
reader: jspb.BinaryReader
|
||||
): MemberModel;
|
||||
static deserializeBinaryFromReader(message: MemberModel, reader: jspb.BinaryReader): MemberModel;
|
||||
}
|
||||
|
||||
export namespace MemberModel {
|
||||
export type AsObject = {
|
||||
id: string;
|
||||
site?: models_domain_site_pb.Site.AsObject;
|
||||
memberClass?: models_member_member_class_pb.MemberClass.AsObject;
|
||||
memberLevel?: models_member_member_level_pb.MemberLevel.AsObject;
|
||||
referrerMember?: Member.AsObject;
|
||||
referredCount: number;
|
||||
username: string;
|
||||
nickname: string;
|
||||
mobilePhoneNumber: string;
|
||||
state: MemberStateMap[keyof MemberStateMap];
|
||||
stateChangedAt: number;
|
||||
lastSigninedIp: string;
|
||||
lastSigninedAt: number;
|
||||
createdAt: number;
|
||||
updatedAt: number;
|
||||
deletedAt: number;
|
||||
};
|
||||
id: string,
|
||||
site?: models_site_pb.Site.AsObject,
|
||||
memberClass?: models_member_class_pb.MemberClass.AsObject,
|
||||
memberLevel?: models_member_level_pb.MemberLevel.AsObject,
|
||||
referrerMember?: Member.AsObject,
|
||||
referredCount: number,
|
||||
username: string,
|
||||
nickname: string,
|
||||
mobilePhoneNumber: string,
|
||||
state: MemberStateMap[keyof MemberStateMap],
|
||||
stateChangedAt: number,
|
||||
lastSigninedIp: string,
|
||||
lastSigninedAt: number,
|
||||
createdAt: number,
|
||||
updatedAt: number,
|
||||
deletedAt: number,
|
||||
}
|
||||
}
|
||||
|
||||
export interface MemberStateMap {
|
||||
|
@ -226,3 +207,4 @@ export interface MemberStateMap {
|
|||
}
|
||||
|
||||
export const MemberState: MemberStateMap;
|
||||
|
File diff suppressed because it is too large
Load Diff
5
src/app/modules/proto/models/member_permission_pb.d.ts
vendored
Normal file
5
src/app/modules/proto/models/member_permission_pb.d.ts
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
// package: bet.beteran.member_permission
|
||||
// file: models/member_permission.proto
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user