member is modified

This commit is contained in:
병준 박 2022-08-15 03:57:24 +00:00
parent 453cb9dcbf
commit 0cde22e4f8
6 changed files with 1957 additions and 1001 deletions

View File

@ -84,6 +84,9 @@ export namespace CreateMemberRequest {
getAccountNumber(): string; getAccountNumber(): string;
setAccountNumber(value: string): void; setAccountNumber(value: string): void;
getExchangePassword(): string;
setExchangePassword(value: string): void;
serializeBinary(): Uint8Array; serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): BankAccount.AsObject; toObject(includeInstance?: boolean): BankAccount.AsObject;
static toObject( static toObject(
@ -110,6 +113,7 @@ export namespace CreateMemberRequest {
bankId: string; bankId: string;
name: string; name: string;
accountNumber: string; accountNumber: string;
exchangePassword: string;
}; };
} }
} }
@ -613,6 +617,11 @@ export class UpdateMemberRequest extends jspb.Message {
getMobilePhoneNumber(): string; getMobilePhoneNumber(): string;
setMobilePhoneNumber(value: string): void; setMobilePhoneNumber(value: string): void;
hasBankAccount(): boolean;
clearBankAccount(): void;
getBankAccount(): UpdateMemberRequest.BankAccount | undefined;
setBankAccount(value?: UpdateMemberRequest.BankAccount): void;
serializeBinary(): Uint8Array; serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): UpdateMemberRequest.AsObject; toObject(includeInstance?: boolean): UpdateMemberRequest.AsObject;
static toObject( static toObject(
@ -641,7 +650,51 @@ export namespace UpdateMemberRequest {
memberLevelId: string; memberLevelId: string;
password: string; password: string;
mobilePhoneNumber: string; mobilePhoneNumber: string;
bankAccount?: UpdateMemberRequest.BankAccount.AsObject;
}; };
export class BankAccount extends jspb.Message {
getBankId(): string;
setBankId(value: string): void;
getName(): string;
setName(value: string): void;
getAccountNumber(): string;
setAccountNumber(value: string): void;
getExchangePassword(): string;
setExchangePassword(value: string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): BankAccount.AsObject;
static toObject(
includeInstance: boolean,
msg: BankAccount
): BankAccount.AsObject;
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
};
static serializeBinaryToWriter(
message: BankAccount,
writer: jspb.BinaryWriter
): void;
static deserializeBinary(bytes: Uint8Array): BankAccount;
static deserializeBinaryFromReader(
message: BankAccount,
reader: jspb.BinaryReader
): BankAccount;
}
export namespace BankAccount {
export type AsObject = {
bankId: string;
name: string;
accountNumber: string;
exchangePassword: string;
};
}
} }
export class UpdateMemberResponse extends jspb.Message { export class UpdateMemberResponse extends jspb.Message {

View File

@ -128,6 +128,11 @@ goog.exportSymbol(
null, null,
global global
); );
goog.exportSymbol(
"proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount",
null,
global
);
goog.exportSymbol( goog.exportSymbol(
"proto.bet.beteran.c2se.member.UpdateMemberResponse", "proto.bet.beteran.c2se.member.UpdateMemberResponse",
null, null,
@ -514,6 +519,33 @@ if (goog.DEBUG && !COMPILED) {
proto.bet.beteran.c2se.member.UpdateMemberRequest.displayName = proto.bet.beteran.c2se.member.UpdateMemberRequest.displayName =
"proto.bet.beteran.c2se.member.UpdateMemberRequest"; "proto.bet.beteran.c2se.member.UpdateMemberRequest";
} }
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount = function (
opt_data
) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount,
jspb.Message
);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.displayName =
"proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount";
}
/** /**
* Generated by JsPbCodeGenerator. * Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a * @param {Array=} opt_data Optional initial data array, typically from a
@ -960,6 +992,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
bankId: jspb.Message.getFieldWithDefault(msg, 1, ""), bankId: jspb.Message.getFieldWithDefault(msg, 1, ""),
name: jspb.Message.getFieldWithDefault(msg, 2, ""), name: jspb.Message.getFieldWithDefault(msg, 2, ""),
accountNumber: jspb.Message.getFieldWithDefault(msg, 3, ""), accountNumber: jspb.Message.getFieldWithDefault(msg, 3, ""),
exchangePassword: jspb.Message.getFieldWithDefault(msg, 4, ""),
}; };
if (includeInstance) { if (includeInstance) {
@ -1012,6 +1045,10 @@ proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.deserializeBinaryF
var value = /** @type {string} */ (reader.readString()); var value = /** @type {string} */ (reader.readString());
msg.setAccountNumber(value); msg.setAccountNumber(value);
break; break;
case 4:
var value = /** @type {string} */ (reader.readString());
msg.setExchangePassword(value);
break;
default: default:
reader.skipField(); reader.skipField();
break; break;
@ -1056,6 +1093,10 @@ proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.serializeBinaryToW
if (f.length > 0) { if (f.length > 0) {
writer.writeString(3, f); writer.writeString(3, f);
} }
f = message.getExchangePassword();
if (f.length > 0) {
writer.writeString(4, f);
}
}; };
/** /**
@ -1118,6 +1159,26 @@ proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.prototype.setAccou
return jspb.Message.setProto3StringField(this, 3, value); return jspb.Message.setProto3StringField(this, 3, value);
}; };
/**
* optional string exchange_password = 4;
* @return {string}
*/
proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.prototype.getExchangePassword =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 4, "")
);
};
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount} returns this
*/
proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.prototype.setExchangePassword =
function (value) {
return jspb.Message.setProto3StringField(this, 4, value);
};
/** /**
* optional string site_id = 1; * optional string site_id = 1;
* @return {string} * @return {string}
@ -4164,6 +4225,12 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
memberLevelId: jspb.Message.getFieldWithDefault(msg, 3, ""), memberLevelId: jspb.Message.getFieldWithDefault(msg, 3, ""),
password: jspb.Message.getFieldWithDefault(msg, 4, ""), password: jspb.Message.getFieldWithDefault(msg, 4, ""),
mobilePhoneNumber: jspb.Message.getFieldWithDefault(msg, 5, ""), mobilePhoneNumber: jspb.Message.getFieldWithDefault(msg, 5, ""),
bankAccount:
(f = msg.getBankAccount()) &&
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.toObject(
includeInstance,
f
),
}; };
if (includeInstance) { if (includeInstance) {
@ -4224,6 +4291,16 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.deserializeBinaryFromReader =
var value = /** @type {string} */ (reader.readString()); var value = /** @type {string} */ (reader.readString());
msg.setMobilePhoneNumber(value); msg.setMobilePhoneNumber(value);
break; break;
case 6:
var value =
new proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount();
reader.readMessage(
value,
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount
.deserializeBinaryFromReader
);
msg.setBankAccount(value);
break;
default: default:
reader.skipField(); reader.skipField();
break; break;
@ -4276,6 +4353,239 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.serializeBinaryToWriter =
if (f != null) { if (f != null) {
writer.writeString(5, f); writer.writeString(5, f);
} }
f = message.getBankAccount();
if (f != null) {
writer.writeMessage(
6,
f,
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount
.serializeBinaryToWriter
);
}
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.toObject =
function (opt_includeInstance) {
return proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.toObject(
opt_includeInstance,
this
);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.toObject =
function (includeInstance, msg) {
var f,
obj = {
bankId: jspb.Message.getFieldWithDefault(msg, 1, ""),
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
accountNumber: jspb.Message.getFieldWithDefault(msg, 3, ""),
exchangePassword: jspb.Message.getFieldWithDefault(msg, 4, ""),
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount}
*/
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.deserializeBinary =
function (bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg =
new proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount();
return proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.deserializeBinaryFromReader(
msg,
reader
);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount}
*/
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.deserializeBinaryFromReader =
function (msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setBankId(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setName(value);
break;
case 3:
var value = /** @type {string} */ (reader.readString());
msg.setAccountNumber(value);
break;
case 4:
var value = /** @type {string} */ (reader.readString());
msg.setExchangePassword(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.serializeBinary =
function () {
var writer = new jspb.BinaryWriter();
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.serializeBinaryToWriter(
this,
writer
);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.serializeBinaryToWriter =
function (message, writer) {
var f = undefined;
f = message.getBankId();
if (f.length > 0) {
writer.writeString(1, f);
}
f = message.getName();
if (f.length > 0) {
writer.writeString(2, f);
}
f = message.getAccountNumber();
if (f.length > 0) {
writer.writeString(3, f);
}
f = message.getExchangePassword();
if (f.length > 0) {
writer.writeString(4, f);
}
};
/**
* optional string bank_id = 1;
* @return {string}
*/
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.getBankId =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 1, "")
);
};
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount} returns this
*/
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.setBankId =
function (value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* optional string name = 2;
* @return {string}
*/
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.getName =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 2, "")
);
};
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount} returns this
*/
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.setName =
function (value) {
return jspb.Message.setProto3StringField(this, 2, value);
};
/**
* optional string account_number = 3;
* @return {string}
*/
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.getAccountNumber =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 3, "")
);
};
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount} returns this
*/
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.setAccountNumber =
function (value) {
return jspb.Message.setProto3StringField(this, 3, value);
};
/**
* optional string exchange_password = 4;
* @return {string}
*/
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.getExchangePassword =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 4, "")
);
};
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount} returns this
*/
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.setExchangePassword =
function (value) {
return jspb.Message.setProto3StringField(this, 4, value);
}; };
/** /**
@ -4451,6 +4761,48 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.hasMobilePhoneNumber
return jspb.Message.getField(this, 5) != null; return jspb.Message.getField(this, 5) != null;
}; };
/**
* optional BankAccount bank_account = 6;
* @return {?proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount}
*/
proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getBankAccount =
function () {
return /** @type{?proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount} */ (
jspb.Message.getWrapperField(
this,
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount,
6
)
);
};
/**
* @param {?proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount|undefined} value
* @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest} returns this
*/
proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.setBankAccount =
function (value) {
return jspb.Message.setWrapperField(this, 6, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest} returns this
*/
proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.clearBankAccount =
function () {
return this.setBankAccount(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.hasBankAccount =
function () {
return jspb.Message.getField(this, 6) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) { if (jspb.Message.GENERATE_TO_OBJECT) {
/** /**
* Creates an object representation of this proto. * Creates an object representation of this proto.

View File

@ -1,7 +1,8 @@
// package: bet.beteran.member_bank_account // package: bet.beteran.member_bank_account
// file: models/member_bank_account.proto // file: models/member_bank_account.proto
import * as jspb from "google-protobuf"; import * as jspb from 'google-protobuf';
import * as models_bank_pb from '../models/bank_pb';
export class MemberBankAccount extends jspb.Message { export class MemberBankAccount extends jspb.Message {
getId(): string; getId(): string;
@ -19,6 +20,9 @@ export class MemberBankAccount extends jspb.Message {
getAccountNumber(): string; getAccountNumber(): string;
setAccountNumber(value: string): void; setAccountNumber(value: string): void;
getExchangePassword(): string;
setExchangePassword(value: string): void;
hasMemo(): boolean; hasMemo(): boolean;
clearMemo(): void; clearMemo(): void;
getMemo(): string; getMemo(): string;
@ -32,24 +36,102 @@ export class MemberBankAccount extends jspb.Message {
serializeBinary(): Uint8Array; serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): MemberBankAccount.AsObject; toObject(includeInstance?: boolean): MemberBankAccount.AsObject;
static toObject(includeInstance: boolean, msg: MemberBankAccount): MemberBankAccount.AsObject; static toObject(
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; includeInstance: boolean,
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; msg: MemberBankAccount
static serializeBinaryToWriter(message: MemberBankAccount, writer: jspb.BinaryWriter): void; ): 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 deserializeBinary(bytes: Uint8Array): MemberBankAccount;
static deserializeBinaryFromReader(message: MemberBankAccount, reader: jspb.BinaryReader): MemberBankAccount; static deserializeBinaryFromReader(
message: MemberBankAccount,
reader: jspb.BinaryReader
): MemberBankAccount;
} }
export namespace MemberBankAccount { export namespace MemberBankAccount {
export type AsObject = { export type AsObject = {
id: string, id: string;
memberId: string, memberId: string;
bankId: string, bankId: string;
name: string, name: string;
accountNumber: string, accountNumber: string;
memo: string, exchangePassword: string;
createdAt: number, memo: string;
updatedAt: number, createdAt: number;
} updatedAt: number;
};
} }
export class MemberBankAccountModel extends jspb.Message {
getId(): string;
setId(value: string): void;
getMemberId(): string;
setMemberId(value: string): void;
hasBank(): boolean;
clearBank(): void;
getBank(): models_bank_pb.Bank | undefined;
setBank(value?: models_bank_pb.Bank): void;
getName(): string;
setName(value: string): void;
getAccountNumber(): string;
setAccountNumber(value: string): void;
getExchangePassword(): string;
setExchangePassword(value: string): void;
hasMemo(): boolean;
clearMemo(): void;
getMemo(): string;
setMemo(value: string): void;
getCreatedAt(): number;
setCreatedAt(value: number): void;
getUpdatedAt(): number;
setUpdatedAt(value: number): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): MemberBankAccountModel.AsObject;
static toObject(
includeInstance: boolean,
msg: MemberBankAccountModel
): MemberBankAccountModel.AsObject;
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
};
static serializeBinaryToWriter(
message: MemberBankAccountModel,
writer: jspb.BinaryWriter
): void;
static deserializeBinary(bytes: Uint8Array): MemberBankAccountModel;
static deserializeBinaryFromReader(
message: MemberBankAccountModel,
reader: jspb.BinaryReader
): MemberBankAccountModel;
}
export namespace MemberBankAccountModel {
export type AsObject = {
id: string;
memberId: string;
bank?: models_bank_pb.Bank.AsObject;
name: string;
accountNumber: string;
exchangePassword: string;
memo: string;
createdAt: number;
updatedAt: number;
};
}

File diff suppressed because it is too large Load Diff

View File

@ -1,10 +1,11 @@
// package: bet.beteran.member // package: bet.beteran.member
// file: models/member.proto // file: models/member.proto
import * as jspb from "google-protobuf"; import * as jspb from 'google-protobuf';
import * as models_site_pb from "../models/site_pb"; import * as models_site_pb from '../models/site_pb';
import * as models_member_class_pb from "../models/member_class_pb"; import * as models_member_bank_account_pb from '../models/member_bank_account_pb';
import * as models_member_level_pb from "../models/member_level_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 { export class Member extends jspb.Message {
getId(): string; getId(): string;
@ -70,32 +71,40 @@ export class Member extends jspb.Message {
serializeBinary(): Uint8Array; serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Member.AsObject; toObject(includeInstance?: boolean): Member.AsObject;
static toObject(includeInstance: boolean, msg: Member): Member.AsObject; static toObject(includeInstance: boolean, msg: Member): Member.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; static extensionsBinary: {
static serializeBinaryToWriter(message: Member, writer: jspb.BinaryWriter): void; [key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
};
static serializeBinaryToWriter(
message: Member,
writer: jspb.BinaryWriter
): void;
static deserializeBinary(bytes: Uint8Array): Member; 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 namespace Member {
export type AsObject = { export type AsObject = {
id: string, id: string;
siteId: string, siteId: string;
memberClassId: string, memberClassId: string;
memberLevelId: string, memberLevelId: string;
referrerMemberId: string, referrerMemberId: string;
referredCount: number, referredCount: number;
username: string, username: string;
nickname: string, nickname: string;
mobilePhoneNumber: string, mobilePhoneNumber: string;
state: MemberStateMap[keyof MemberStateMap], state: MemberStateMap[keyof MemberStateMap];
stateChangedAt: number, stateChangedAt: number;
lastSigninedIp: string, lastSigninedIp: string;
lastSigninedAt: number, lastSigninedAt: number;
createdAt: number, createdAt: number;
updatedAt: number, updatedAt: number;
deletedAt: number, deletedAt: number;
} };
} }
export class MemberModel extends jspb.Message { export class MemberModel extends jspb.Message {
@ -117,6 +126,15 @@ export class MemberModel extends jspb.Message {
getMemberLevel(): models_member_level_pb.MemberLevel | undefined; getMemberLevel(): models_member_level_pb.MemberLevel | undefined;
setMemberLevel(value?: models_member_level_pb.MemberLevel): void; setMemberLevel(value?: models_member_level_pb.MemberLevel): void;
hasBankAccount(): boolean;
clearBankAccount(): void;
getBankAccount():
| models_member_bank_account_pb.MemberBankAccountModel
| undefined;
setBankAccount(
value?: models_member_bank_account_pb.MemberBankAccountModel
): void;
hasReferrerMember(): boolean; hasReferrerMember(): boolean;
clearReferrerMember(): void; clearReferrerMember(): void;
getReferrerMember(): Member | undefined; getReferrerMember(): Member | undefined;
@ -167,33 +185,45 @@ export class MemberModel extends jspb.Message {
serializeBinary(): Uint8Array; serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): MemberModel.AsObject; toObject(includeInstance?: boolean): MemberModel.AsObject;
static toObject(includeInstance: boolean, msg: MemberModel): MemberModel.AsObject; static toObject(
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; includeInstance: boolean,
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; msg: MemberModel
static serializeBinaryToWriter(message: MemberModel, writer: jspb.BinaryWriter): void; ): 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 deserializeBinary(bytes: Uint8Array): MemberModel; 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 namespace MemberModel {
export type AsObject = { export type AsObject = {
id: string, id: string;
site?: models_site_pb.Site.AsObject, site?: models_site_pb.Site.AsObject;
memberClass?: models_member_class_pb.MemberClass.AsObject, memberClass?: models_member_class_pb.MemberClass.AsObject;
memberLevel?: models_member_level_pb.MemberLevel.AsObject, memberLevel?: models_member_level_pb.MemberLevel.AsObject;
referrerMember?: Member.AsObject, bankAccount?: models_member_bank_account_pb.MemberBankAccountModel.AsObject;
referredCount: number, referrerMember?: Member.AsObject;
username: string, referredCount: number;
nickname: string, username: string;
mobilePhoneNumber: string, nickname: string;
state: MemberStateMap[keyof MemberStateMap], mobilePhoneNumber: string;
stateChangedAt: number, state: MemberStateMap[keyof MemberStateMap];
lastSigninedIp: string, stateChangedAt: number;
lastSigninedAt: number, lastSigninedIp: string;
createdAt: number, lastSigninedAt: number;
updatedAt: number, createdAt: number;
deletedAt: number, updatedAt: number;
} deletedAt: number;
};
} }
export interface MemberStateMap { export interface MemberStateMap {
@ -207,4 +237,3 @@ export interface MemberStateMap {
} }
export const MemberState: MemberStateMap; export const MemberState: MemberStateMap;

File diff suppressed because it is too large Load Diff