protobuf is added

This commit is contained in:
병준 박 2022-08-12 08:45:27 +00:00
parent aaf9664eed
commit bc4a78a1b5
8 changed files with 8174 additions and 94 deletions

View File

@ -0,0 +1,555 @@
// package: bet.beteran.c2se.backend.member_class
// file: c2se/backend/member_class.proto
import * as jspb from 'google-protobuf';
import * as protobuf_rpc_error_pb from '../../protobuf/rpc/error_pb';
import * as protobuf_pagination_pagination_pb from '../../protobuf/pagination/pagination_pb';
import * as protobuf_pagination_search_pb from '../../protobuf/pagination/search_pb';
import * as protobuf_pagination_sort_pb from '../../protobuf/pagination/sort_pb';
import * as models_member_member_class_pb from '../../models/member/member_class_pb';
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;
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_error_pb.Error | undefined;
setError(value?: protobuf_rpc_error_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_error_pb.Error.AsObject;
result?: CreateMemberClassResponse.Result.AsObject;
};
export class Result extends jspb.Message {
hasMemberClass(): boolean;
clearMemberClass(): void;
getMemberClass(): models_member_member_class_pb.MemberClass | undefined;
setMemberClass(value?: models_member_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_member_class_pb.MemberClass.AsObject;
};
}
}
export class ListMemberClassesRequest extends jspb.Message {
hasPagination(): boolean;
clearPagination(): void;
getPagination(): protobuf_pagination_pagination_pb.Pagination | undefined;
setPagination(value?: protobuf_pagination_pagination_pb.Pagination): void;
clearSearchesList(): void;
getSearchesList(): Array<protobuf_pagination_search_pb.Search>;
setSearchesList(value: Array<protobuf_pagination_search_pb.Search>): void;
addSearches(
value?: protobuf_pagination_search_pb.Search,
index?: number
): protobuf_pagination_search_pb.Search;
clearSortsList(): void;
getSortsList(): Array<protobuf_pagination_sort_pb.Sort>;
setSortsList(value: Array<protobuf_pagination_sort_pb.Sort>): void;
addSorts(
value?: protobuf_pagination_sort_pb.Sort,
index?: number
): protobuf_pagination_sort_pb.Sort;
hasNameLike(): boolean;
clearNameLike(): void;
getNameLike(): string;
setNameLike(value: string): 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_pagination_pb.Pagination.AsObject;
searchesList: Array<protobuf_pagination_search_pb.Search.AsObject>;
sortsList: Array<protobuf_pagination_sort_pb.Sort.AsObject>;
nameLike: string;
};
}
export class ListMemberClasssResponse extends jspb.Message {
hasError(): boolean;
clearError(): void;
getError(): protobuf_rpc_error_pb.Error | undefined;
setError(value?: protobuf_rpc_error_pb.Error): void;
hasResult(): boolean;
clearResult(): void;
getResult(): ListMemberClasssResponse.Result | undefined;
setResult(value?: ListMemberClasssResponse.Result): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ListMemberClasssResponse.AsObject;
static toObject(
includeInstance: boolean,
msg: ListMemberClasssResponse
): ListMemberClasssResponse.AsObject;
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
};
static serializeBinaryToWriter(
message: ListMemberClasssResponse,
writer: jspb.BinaryWriter
): void;
static deserializeBinary(bytes: Uint8Array): ListMemberClasssResponse;
static deserializeBinaryFromReader(
message: ListMemberClasssResponse,
reader: jspb.BinaryReader
): ListMemberClasssResponse;
}
export namespace ListMemberClasssResponse {
export type AsObject = {
error?: protobuf_rpc_error_pb.Error.AsObject;
result?: ListMemberClasssResponse.Result.AsObject;
};
export class Result extends jspb.Message {
clearMemberClassesList(): void;
getMemberClassesList(): Array<models_member_member_class_pb.MemberClass>;
setMemberClassesList(
value: Array<models_member_member_class_pb.MemberClass>
): void;
addMemberClasses(
value?: models_member_member_class_pb.MemberClass,
index?: number
): models_member_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_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_error_pb.Error | undefined;
setError(value?: protobuf_rpc_error_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_error_pb.Error.AsObject;
result?: GetMemberClassResponse.Result.AsObject;
};
export class Result extends jspb.Message {
hasMemberClass(): boolean;
clearMemberClass(): void;
getMemberClass(): models_member_member_class_pb.MemberClass | undefined;
setMemberClass(value?: models_member_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_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_error_pb.Error | undefined;
setError(value?: protobuf_rpc_error_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_error_pb.Error.AsObject;
result?: UpdateMemberClassResponse.Result.AsObject;
};
export class Result extends jspb.Message {
hasMemberClass(): boolean;
clearMemberClass(): void;
getMemberClass(): models_member_member_class_pb.MemberClass | undefined;
setMemberClass(value?: models_member_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_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_error_pb.Error | undefined;
setError(value?: protobuf_rpc_error_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_error_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 = {};
}
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,553 @@
// package: bet.beteran.c2se.backend.member_level
// file: c2se/backend/member_level.proto
import * as jspb from 'google-protobuf';
import * as protobuf_rpc_error_pb from '../../protobuf/rpc/error_pb';
import * as protobuf_pagination_pagination_pb from '../../protobuf/pagination/pagination_pb';
import * as protobuf_pagination_search_pb from '../../protobuf/pagination/search_pb';
import * as protobuf_pagination_sort_pb from '../../protobuf/pagination/sort_pb';
import * as models_member_member_level_pb from '../../models/member/member_level_pb';
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;
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_error_pb.Error | undefined;
setError(value?: protobuf_rpc_error_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_error_pb.Error.AsObject;
result?: CreateMemberLevelResponse.Result.AsObject;
};
export class Result extends jspb.Message {
hasMemberLevel(): boolean;
clearMemberLevel(): void;
getMemberLevel(): models_member_member_level_pb.MemberLevel | undefined;
setMemberLevel(value?: models_member_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_member_level_pb.MemberLevel.AsObject;
};
}
}
export class ListMemberLevelesRequest extends jspb.Message {
hasPagination(): boolean;
clearPagination(): void;
getPagination(): protobuf_pagination_pagination_pb.Pagination | undefined;
setPagination(value?: protobuf_pagination_pagination_pb.Pagination): void;
clearSearchesList(): void;
getSearchesList(): Array<protobuf_pagination_search_pb.Search>;
setSearchesList(value: Array<protobuf_pagination_search_pb.Search>): void;
addSearches(
value?: protobuf_pagination_search_pb.Search,
index?: number
): protobuf_pagination_search_pb.Search;
clearSortsList(): void;
getSortsList(): Array<protobuf_pagination_sort_pb.Sort>;
setSortsList(value: Array<protobuf_pagination_sort_pb.Sort>): void;
addSorts(
value?: protobuf_pagination_sort_pb.Sort,
index?: number
): protobuf_pagination_sort_pb.Sort;
hasNameLike(): boolean;
clearNameLike(): void;
getNameLike(): string;
setNameLike(value: string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ListMemberLevelesRequest.AsObject;
static toObject(
includeInstance: boolean,
msg: ListMemberLevelesRequest
): ListMemberLevelesRequest.AsObject;
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
};
static serializeBinaryToWriter(
message: ListMemberLevelesRequest,
writer: jspb.BinaryWriter
): void;
static deserializeBinary(bytes: Uint8Array): ListMemberLevelesRequest;
static deserializeBinaryFromReader(
message: ListMemberLevelesRequest,
reader: jspb.BinaryReader
): ListMemberLevelesRequest;
}
export namespace ListMemberLevelesRequest {
export type AsObject = {
pagination?: protobuf_pagination_pagination_pb.Pagination.AsObject;
searchesList: Array<protobuf_pagination_search_pb.Search.AsObject>;
sortsList: Array<protobuf_pagination_sort_pb.Sort.AsObject>;
nameLike: string;
};
}
export class ListMemberLevelsResponse extends jspb.Message {
hasError(): boolean;
clearError(): void;
getError(): protobuf_rpc_error_pb.Error | undefined;
setError(value?: protobuf_rpc_error_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_error_pb.Error.AsObject;
result?: ListMemberLevelsResponse.Result.AsObject;
};
export class Result extends jspb.Message {
clearMemberLevelsList(): void;
getMemberLevelsList(): Array<models_member_member_level_pb.MemberLevel>;
setMemberLevelsList(
value: Array<models_member_member_level_pb.MemberLevel>
): void;
addMemberLevels(
value?: models_member_member_level_pb.MemberLevel,
index?: number
): models_member_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_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_error_pb.Error | undefined;
setError(value?: protobuf_rpc_error_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_error_pb.Error.AsObject;
result?: GetMemberLevelResponse.Result.AsObject;
};
export class Result extends jspb.Message {
hasMemberLevel(): boolean;
clearMemberLevel(): void;
getMemberLevel(): models_member_member_level_pb.MemberLevel | undefined;
setMemberLevel(value?: models_member_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_member_level_pb.MemberLevel.AsObject;
};
}
}
export class UpdateMemberLevelRequest 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): 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;
parentId: string;
name: string;
};
}
export class UpdateMemberLevelResponse extends jspb.Message {
hasError(): boolean;
clearError(): void;
getError(): protobuf_rpc_error_pb.Error | undefined;
setError(value?: protobuf_rpc_error_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_error_pb.Error.AsObject;
result?: UpdateMemberLevelResponse.Result.AsObject;
};
export class Result extends jspb.Message {
hasMemberLevel(): boolean;
clearMemberLevel(): void;
getMemberLevel(): models_member_member_level_pb.MemberLevel | undefined;
setMemberLevel(value?: models_member_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_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_error_pb.Error | undefined;
setError(value?: protobuf_rpc_error_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_error_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 = {};
}
}

File diff suppressed because it is too large Load Diff

View File

@ -21,11 +21,6 @@ export class MemberClass extends jspb.Message {
getUpdatedAt(): number;
setUpdatedAt(value: number): void;
hasDeletedAt(): boolean;
clearDeletedAt(): void;
getDeletedAt(): number;
setDeletedAt(value: number): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): MemberClass.AsObject;
static toObject(
@ -54,6 +49,5 @@ export namespace MemberClass {
name: string;
createdAt: number;
updatedAt: number;
deletedAt: number;
};
}

View File

@ -83,7 +83,6 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
createdAt: jspb.Message.getFieldWithDefault(msg, 4, 0),
updatedAt: jspb.Message.getFieldWithDefault(msg, 5, 0),
deletedAt: jspb.Message.getFieldWithDefault(msg, 6, 0),
};
if (includeInstance) {
@ -144,10 +143,6 @@ proto.bet.beteran.member.MemberClass.deserializeBinaryFromReader = function (
var value = /** @type {number} */ (reader.readUint64());
msg.setUpdatedAt(value);
break;
case 6:
var value = /** @type {number} */ (reader.readUint64());
msg.setDeletedAt(value);
break;
default:
reader.skipField();
break;
@ -198,10 +193,6 @@ proto.bet.beteran.member.MemberClass.serializeBinaryToWriter = function (
if (f !== 0) {
writer.writeUint64(5, f);
}
f = /** @type {number} */ (jspb.Message.getField(message, 6));
if (f != null) {
writer.writeUint64(6, f);
}
};
/**
@ -300,36 +291,4 @@ proto.bet.beteran.member.MemberClass.prototype.setUpdatedAt = function (value) {
return jspb.Message.setProto3IntField(this, 5, value);
};
/**
* optional uint64 deleted_at = 6;
* @return {number}
*/
proto.bet.beteran.member.MemberClass.prototype.getDeletedAt = function () {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
};
/**
* @param {number} value
* @return {!proto.bet.beteran.member.MemberClass} returns this
*/
proto.bet.beteran.member.MemberClass.prototype.setDeletedAt = function (value) {
return jspb.Message.setField(this, 6, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.bet.beteran.member.MemberClass} returns this
*/
proto.bet.beteran.member.MemberClass.prototype.clearDeletedAt = function () {
return jspb.Message.setField(this, 6, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.member.MemberClass.prototype.hasDeletedAt = function () {
return jspb.Message.getField(this, 6) != null;
};
goog.object.extend(exports, proto.bet.beteran.member);

View File

@ -19,11 +19,6 @@ export class MemberLevel extends jspb.Message {
getUpdatedAt(): number;
setUpdatedAt(value: number): void;
hasDeletedAt(): boolean;
clearDeletedAt(): void;
getDeletedAt(): number;
setDeletedAt(value: number): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): MemberLevel.AsObject;
static toObject(
@ -52,6 +47,5 @@ export namespace MemberLevel {
sortOrder: number;
createdAt: number;
updatedAt: number;
deletedAt: number;
};
}

View File

@ -83,7 +83,6 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
sortOrder: jspb.Message.getFieldWithDefault(msg, 3, 0),
createdAt: jspb.Message.getFieldWithDefault(msg, 4, 0),
updatedAt: jspb.Message.getFieldWithDefault(msg, 5, 0),
deletedAt: jspb.Message.getFieldWithDefault(msg, 6, 0),
};
if (includeInstance) {
@ -144,10 +143,6 @@ proto.bet.beteran.member.MemberLevel.deserializeBinaryFromReader = function (
var value = /** @type {number} */ (reader.readUint64());
msg.setUpdatedAt(value);
break;
case 6:
var value = /** @type {number} */ (reader.readUint64());
msg.setDeletedAt(value);
break;
default:
reader.skipField();
break;
@ -198,10 +193,6 @@ proto.bet.beteran.member.MemberLevel.serializeBinaryToWriter = function (
if (f !== 0) {
writer.writeUint64(5, f);
}
f = /** @type {number} */ (jspb.Message.getField(message, 6));
if (f != null) {
writer.writeUint64(6, f);
}
};
/**
@ -284,36 +275,4 @@ proto.bet.beteran.member.MemberLevel.prototype.setUpdatedAt = function (value) {
return jspb.Message.setProto3IntField(this, 5, value);
};
/**
* optional uint64 deleted_at = 6;
* @return {number}
*/
proto.bet.beteran.member.MemberLevel.prototype.getDeletedAt = function () {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
};
/**
* @param {number} value
* @return {!proto.bet.beteran.member.MemberLevel} returns this
*/
proto.bet.beteran.member.MemberLevel.prototype.setDeletedAt = function (value) {
return jspb.Message.setField(this, 6, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.bet.beteran.member.MemberLevel} returns this
*/
proto.bet.beteran.member.MemberLevel.prototype.clearDeletedAt = function () {
return jspb.Message.setField(this, 6, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.member.MemberLevel.prototype.hasDeletedAt = function () {
return jspb.Message.getField(this, 6) != null;
};
goog.object.extend(exports, proto.bet.beteran.member);