Merge branch 'feature/BETERAN-BACKEND-APP-BROWSER-init' of https://gitlab.loafle.net/bet/beteran-backend-app-browser into feature/BETERAN-BACKEND-APP-BROWSER-init

This commit is contained in:
Park Byung Eun 2022-08-05 07:50:24 +00:00
commit f98bb4653f
12 changed files with 1446 additions and 83 deletions

View File

@ -11,20 +11,33 @@
"VARIANT": "16-bullseye" "VARIANT": "16-bullseye"
} }
}, },
// Configure tool-specific properties.
// Set *default* container specific settings.json values on container create. "customizations": {
"settings": {}, // Configure properties specific to VS Code.
"vscode": {
// Add the IDs of extensions you want installed when the container is created. // Set *default* container specific settings.json values on container create.
"extensions": [ "settings": {
"dbaeumer.vscode-eslint", // VS Code don't watch files under ./target
"esbenp.prettier-vscode", "files.watcherExclude": {
"angular.ng-template", "**/.git/objects/**": true,
"donjayamanne.githistory", "**/.git/subtree-cache/**": true,
"eamodio.gitlens", "**/node_modules/*/**": true
"mhutchie.git-graph" },
], "editor.tabSize": 2,
"editor.insertSpaces": true,
"editor.formatOnSave": true
},
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"angular.ng-template",
"donjayamanne.githistory",
"eamodio.gitlens",
"mhutchie.git-graph"
]
}
},
// Use 'forwardPorts' to make a list of ports inside the container available locally. // Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [], // "forwardPorts": [],
"portsAttributes": { "portsAttributes": {

View File

@ -13,4 +13,40 @@ export const couponLogs = [
couponBeforeMoney: 50000, couponBeforeMoney: 50000,
couponAfterMoney: 0, couponAfterMoney: 0,
}, },
{
id: '7eb7c859-1347-4317-96b6-9476a7e2ba3c',
idx: 4,
issuedCouponId: 'on03',
couponGroupNumber: '6L03ER50103AZ0VS',
couponTitle: '쿠폰테스트',
issuedCouponMoney: 50000,
couponContents: '파트너페이지에서 쿠폰생성',
issuedCouponDate: '2022-06-12 16:22',
couponBeforeMoney: 50000,
couponAfterMoney: 0,
},
{
id: '7eb7c859-1347-4317-96b6-9476a7e2ba3c',
idx: 4,
issuedCouponId: 'on04',
couponGroupNumber: 'L9635FCU9BC1HFV7',
couponTitle: '쿠폰테스트',
issuedCouponMoney: 50000,
couponContents: '파트너페이지에서 쿠폰생성',
issuedCouponDate: '2022-06-12 16:22',
couponBeforeMoney: 25000,
couponAfterMoney: 0,
},
{
id: '7eb7c859-1347-4317-96b6-9476a7e2ba3c',
idx: 4,
issuedCouponId: 'on04',
couponGroupNumber: 'QFW7QQ3GV2CBL6BP ',
couponTitle: '쿠폰테스트',
issuedCouponMoney: 50000,
couponContents: '파트너페이지에서 쿠폰생성',
issuedCouponDate: '2022-06-12 16:22',
couponBeforeMoney: 50000,
couponAfterMoney: 0,
},
]; ];

View File

@ -35,6 +35,57 @@ export const couponMoneyLogs = [
giveCouponRegistrationDate: '2022-06-12 16:22', giveCouponRegistrationDate: '2022-06-12 16:22',
takeCouponRegistrationDate: '2022-06-12 16:22', takeCouponRegistrationDate: '2022-06-12 16:22',
}, },
{
id: 'b899ec30-b85a-40ab-bb1f-18a596d5c6de',
idx: 13,
giveCouponId: 'zxc123',
giveCouponRank: '회원',
takeCouponId: 'ADMIN',
takeCouponRank: 'ADMIN',
giveCouponBeforeMoney: 50000,
giveCouponChangeMoney: -30000,
giveCouponAfterMoney: 20000,
takeCouponBeforeMoney: 0,
takeCouponChangeMoney: 30000,
takeCouponAfterMoney: 0,
couponContents: '쿠폰테스스',
giveCouponRegistrationDate: '2022-06-04 16:17',
takeCouponRegistrationDate: '2022-06-04 16:17',
},
{
id: 'b899ec30-b85a-40ab-bb1f-18a596d5c6de',
idx: 13,
giveCouponId: 'qwe123',
giveCouponRank: '본사',
takeCouponId: 'ADMIN',
takeCouponRank: 'ADMIN',
giveCouponBeforeMoney: 0,
giveCouponChangeMoney: -100000,
giveCouponAfterMoney: 0,
takeCouponBeforeMoney: 0,
takeCouponChangeMoney: 100000,
takeCouponAfterMoney: 0,
couponContents: '쿠폰테스스',
giveCouponRegistrationDate: '2022-06-12 16:17',
takeCouponRegistrationDate: '2022-06-12 16:17',
},
{
id: 'b899ec30-b85a-40ab-bb1f-18a596d5c6de',
idx: 13,
giveCouponId: 'on00',
giveCouponRank: '본사',
takeCouponId: 'ADMIN',
takeCouponRank: 'ADMIN',
giveCouponBeforeMoney: 100000,
giveCouponChangeMoney: -50000,
giveCouponAfterMoney: 50000,
takeCouponBeforeMoney: 0,
takeCouponChangeMoney: 50000,
takeCouponAfterMoney: 0,
couponContents: '쿠폰테스스',
giveCouponRegistrationDate: '2022-06-12 16:17',
takeCouponRegistrationDate: '2022-06-12 16:17',
},
{ {
id: 'b899ec30-b85a-40ab-bb1f-18a596d5c6de', id: 'b899ec30-b85a-40ab-bb1f-18a596d5c6de',
idx: 13, idx: 13,

View File

@ -18,4 +18,89 @@ export const coupons = [
modifyCouponDate: '2022-06-12 16:22', modifyCouponDate: '2022-06-12 16:22',
useCouponDate: '', useCouponDate: '',
}, },
{
id: '7eb7c859-1347-4317-96b6-9476a7e2ba3c',
issuedCouponId: 'on03',
issuedCouponNickname: 'on03',
takeCouponId: 'on04',
tkaeCouponNickname: 'on04',
couponGroupNumber: '6L03ER50103AZOVS',
couponSerialNumber: '3GWL2T6RQJ4WJLRTQMBIRFEO',
issuedCoupons: '1/1',
issuedCouponMoney: 50000,
couponStartDate: '2022-06-12 00:00',
couponFinishDate: '2022-07-12 23:59',
useOrNot: 'Y',
issuedCouponDate: '2022-06-12 16:22',
modifyCouponDate: '2022-06-12 16:22',
useCouponDate: '',
},
{
id: '7eb7c859-1347-4317-96b6-9476a7e2ba3c',
issuedCouponId: 'on01',
issuedCouponNickname: 'on01',
takeCouponId: 'on02',
tkaeCouponNickname: 'on02',
couponGroupNumber: '6L03ER50103AZOVS',
couponSerialNumber: '3GWL2T6RQJ4WJLRTQMBIRFEO',
issuedCoupons: '1/1',
issuedCouponMoney: 50000,
couponStartDate: '2022-06-12 00:00',
couponFinishDate: '2022-07-12 23:59',
useOrNot: 'Y',
issuedCouponDate: '2022-06-12 16:22',
modifyCouponDate: '2022-06-12 16:22',
useCouponDate: '',
},
{
id: '7eb7c859-1347-4317-96b6-9476a7e2ba3c',
issuedCouponId: 'on00',
issuedCouponNickname: 'on00',
takeCouponId: 'on01',
tkaeCouponNickname: 'on01',
couponGroupNumber: '6L03ER50103AZOVS',
couponSerialNumber: '3GWL2T6RQJ4WJLRTQMBIRFEO',
issuedCoupons: '1/1',
issuedCouponMoney: 50000,
couponStartDate: '2022-06-12 00:00',
couponFinishDate: '2022-07-12 23:59',
useOrNot: 'Y',
issuedCouponDate: '2022-06-12 16:22',
modifyCouponDate: '2022-06-12 16:22',
useCouponDate: '',
},
{
id: '7eb7c859-1347-4317-96b6-9476a7e2ba3c',
issuedCouponId: 'on04',
issuedCouponNickname: 'on04',
takeCouponId: 'onon6',
tkaeCouponNickname: '가가가',
couponGroupNumber: '6L03ER50103AZOVS',
couponSerialNumber: '3GWL2T6RQJ4WJLRTQMBIRFEO',
issuedCoupons: '1/1',
issuedCouponMoney: 50000,
couponStartDate: '2022-06-12 00:00',
couponFinishDate: '2022-07-12 23:59',
useOrNot: 'Y',
issuedCouponDate: '2022-06-12 16:22',
modifyCouponDate: '2022-06-12 16:22',
useCouponDate: '',
},
{
id: '7eb7c859-1347-4317-96b6-9476a7e2ba3c',
issuedCouponId: 'on04',
issuedCouponNickname: 'on04',
takeCouponId: 'onon6',
tkaeCouponNickname: '가가가',
couponGroupNumber: '6L03ER50103AZOVS',
couponSerialNumber: '3GWL2T6RQJ4WJLRTQMBIRFEO',
issuedCoupons: '1/1',
issuedCouponMoney: 50000,
couponStartDate: '2022-06-12 00:00',
couponFinishDate: '2022-07-12 23:59',
useOrNot: 'Y',
issuedCouponDate: '2022-06-12 16:22',
modifyCouponDate: '2022-06-12 16:22',
useCouponDate: '',
},
]; ];

View File

@ -2,23 +2,21 @@
export const partnerBranchs = [ export const partnerBranchs = [
{ {
id: 'on00', id: '00b0292f-3d50-4669-a0c4-7a9d85efc98d',
totalPartnerCount: '5', signinId: 'mamama123',
totalHoldingMoney: 303675, highRank: 'mama123',
totalComp: 108933,
total: 412608,
branchCount: 1,
divisionCount: 1, divisionCount: 1,
officeCount: 1, officeCount: 1,
storeCount: 1, storeCount: 1,
memberCount: 1, memberCount: 1,
nickname: 'on00', bottomMemberCount: 1,
accountHolder: '11', nickname: 'mamama123',
phoneNumber: '010-1111-1111', accountHolder: '테스트대본사',
phoneNumber: '010-2344-2341',
calculateType: '롤링', calculateType: '롤링',
ownCash: 50000, ownCash: 100000,
ownComp: 1711, ownComp: 0,
ownCoupon: 50000, ownCoupon: 0,
gameMoney: 0, gameMoney: 0,
todayComp: 0, todayComp: 0,
totalDeposit: 0, totalDeposit: 0,
@ -30,4 +28,141 @@ export const partnerBranchs = [
state: '정상', state: '정상',
note: '부본등록', note: '부본등록',
}, },
{
id: '00b0292f-3d50-4669-a0c4-7a9d85efc98d',
signinId: 'ace2',
highRank: 'ace1',
divisionCount: 1,
officeCount: 1,
storeCount: 1,
memberCount: 1,
bottomMemberCount: 1,
nickname: '파파대본',
accountHolder: '',
phoneNumber: '',
calculateType: '롤링',
ownCash: 100000,
ownComp: 0,
ownCoupon: 0,
gameMoney: 0,
todayComp: 0,
totalDeposit: 0,
totalWithdraw: 0,
balance: 0,
registDate: '2022-06-11 15:38',
finalSigninDate: '',
ip: '',
state: '정상',
note: '부본등록',
},
{
id: '00b0292f-3d50-4669-a0c4-7a9d85efc98d',
signinId: 'king777',
highRank: 'king222',
divisionCount: 1,
officeCount: 1,
storeCount: 1,
memberCount: 1,
bottomMemberCount: 1,
nickname: '킹111',
accountHolder: '테스트',
phoneNumber: '010-1111-1111',
calculateType: '롤링',
ownCash: 0,
ownComp: 0,
ownCoupon: 0,
gameMoney: 0,
todayComp: 0,
totalDeposit: 0,
totalWithdraw: 0,
balance: 0,
registDate: '2022-06-10 15:38',
finalSigninDate: '',
ip: '',
state: '정상',
note: '부본등록',
},
{
id: '00b0292f-3d50-4669-a0c4-7a9d85efc98d',
signinId: 'zxcv123',
highRank: 'zxcv1234',
divisionCount: 1,
officeCount: 1,
storeCount: 1,
memberCount: 1,
bottomMemberCount: 1,
nickname: '테스트',
accountHolder: '테스트',
phoneNumber: '010-0000-0000',
calculateType: '롤링',
ownCash: 0,
ownComp: 0,
ownCoupon: 0,
gameMoney: 0,
todayComp: 0,
totalDeposit: 0,
totalWithdraw: 0,
balance: 0,
registDate: '2022-06-10 15:38',
finalSigninDate: '',
ip: '',
state: '정상',
note: '부본등록',
},
{
id: '00b0292f-3d50-4669-a0c4-7a9d85efc98d',
signinId: 'qwer11',
highRank: 'qwe123',
branchCount: 1,
divisionCount: 1,
officeCount: 1,
storeCount: 1,
memberCount: 1,
bottomMemberCount: 1,
nickname: '테스트66',
accountHolder: '홍길동',
phoneNumber: '010-3215-5678',
calculateType: '롤링',
ownCash: 0,
ownComp: 0,
ownCoupon: 0,
gameMoney: 0,
todayComp: 0,
totalDeposit: 0,
totalWithdraw: 0,
balance: 0,
registDate: '2022-06-10 15:38',
finalSigninDate: '',
ip: '',
state: '정상',
note: '부본등록',
},
{
id: '00b0292f-3d50-4669-a0c4-7a9d85efc98d',
signinId: 'test11',
highRank: 'test00',
branchCount: 1,
divisionCount: 1,
officeCount: 1,
storeCount: 1,
memberCount: 1,
bottomMemberCount: 1,
nickname: '3215',
accountHolder: '32100',
phoneNumber: '010-3215-5678',
calculateType: '롤링',
ownCash: 0,
ownComp: 45026,
ownCoupon: 0,
gameMoney: 0,
todayComp: 0,
totalDeposit: 0,
totalWithdraw: 0,
balance: 0,
registDate: '2022-06-10 15:38',
finalSigninDate: '',
ip: '',
state: '정상',
note: '부본등록',
},
]; ];

View File

@ -2,18 +2,41 @@
export const partnerDivisions = [ export const partnerDivisions = [
{ {
id: 'on00', id: '00b0292f-3d50-4669-a0c4-7a9d85efc98d',
totalPartnerCount: '5', signinId: 'aaaa3434',
totalHoldingMoney: 303675, nickname: '나나나',
totalComp: 108933, highRank: 'bbc100',
total: 412608,
branchCount: 1,
divisionCount: 1,
officeCount: 1, officeCount: 1,
storeCount: 1, storeCount: 1,
memberCount: 1, memberCount: 1,
nickname: 'on00', bottomMemberCount: 0,
accountHolder: '11', accountHolder: 'ooo',
phoneNumber: '010-1111-1111',
calculateType: '롤링',
ownCash: 50000,
ownComp: 1711,
ownCoupon: 50000,
gameMoney: 0,
todayComp: 0,
totalDeposit: 0,
totalWithdraw: 0,
balance: 0,
registDate: '2022-06-12 15:38',
finalSigninDate: '',
ip: '',
state: '8',
note: '총판등록',
},
{
id: '00b0292f-3d50-4669-a0c4-7a9d85efc98d',
signinId: 'mamama1',
nickname: '나나나',
highRank: '테스트부본사',
officeCount: 0,
storeCount: 0,
memberCount: 0,
bottomMemberCount: 0,
accountHolder: '테스트부본사',
phoneNumber: '010-1111-1111', phoneNumber: '010-1111-1111',
calculateType: '롤링', calculateType: '롤링',
ownCash: 50000, ownCash: 50000,
@ -30,4 +53,108 @@ export const partnerDivisions = [
state: '정상', state: '정상',
note: '총판등록', note: '총판등록',
}, },
{
id: '00b0292f-3d50-4669-a0c4-7a9d85efc98d',
signinId: 'ace3',
nickname: '파파부본',
highRank: 'ace2',
officeCount: 1,
storeCount: 1,
memberCount: 5,
bottomMemberCount: 0,
accountHolder: '',
phoneNumber: '',
calculateType: '롤링',
ownCash: 0,
ownComp: 3058,
ownCoupon: 0,
gameMoney: 0,
todayComp: 0,
totalDeposit: 0,
totalWithdraw: 0,
balance: 0,
registDate: '2022-06-12 15:38',
finalSigninDate: '',
ip: '',
state: '정상',
note: '총판등록',
},
{
id: '00b0292f-3d50-4669-a0c4-7a9d85efc98d',
signinId: 'on02',
nickname: 'on02',
highRank: 'on01',
officeCount: 1,
storeCount: 1,
memberCount: 1,
bottomMemberCount: 1,
accountHolder: '33',
phoneNumber: '010-3333-3333',
calculateType: '롤링',
ownCash: 50000,
ownComp: 1655,
ownCoupon: 0,
gameMoney: 0,
todayComp: 0,
totalDeposit: 0,
totalWithdraw: 0,
balance: 0,
registDate: '2022-06-12 15:38',
finalSigninDate: '',
ip: '',
state: '정상',
note: '총판등록',
},
{
id: '00b0292f-3d50-4669-a0c4-7a9d85efc98d',
signinId: 'zxcv12',
nickname: 'zxcv12',
highRank: 'zxcv123',
officeCount: 1,
storeCount: 1,
memberCount: 1,
bottomMemberCount: 0,
accountHolder: '테스트',
phoneNumber: '010-0000-1111',
calculateType: '롤링',
ownCash: 50000,
ownComp: 1711,
ownCoupon: 50000,
gameMoney: 0,
todayComp: 0,
totalDeposit: 0,
totalWithdraw: 0,
balance: 0,
registDate: '2022-06-12 15:38',
finalSigninDate: '',
ip: '',
state: '정상',
note: '총판등록',
},
{
id: '00b0292f-3d50-4669-a0c4-7a9d85efc98d',
signinId: 'test770',
nickname: '테스70',
highRank: 'bbc100',
officeCount: 1,
storeCount: 1,
memberCount: 1,
bottomMemberCount: 0,
accountHolder: '에이스7',
phoneNumber: '010-3243-4324',
calculateType: '롤링',
ownCash: 50000,
ownComp: 1711,
ownCoupon: 50000,
gameMoney: 0,
todayComp: 0,
totalDeposit: 0,
totalWithdraw: 0,
balance: 0,
registDate: '2022-06-12 15:38',
finalSigninDate: '',
ip: '',
state: '정상',
note: '총판등록',
},
]; ];

View File

@ -3,16 +3,16 @@
export const partnerMainoffices = [ export const partnerMainoffices = [
{ {
id: '7eb7c859-1347-4317-96b6-9476a7e2ba3c', id: '7eb7c859-1347-4317-96b6-9476a7e2ba3c',
signinId: 'on00', signinId: 'mama123',
branchCount: 1, branchCount: 1,
divisionCount: 1, divisionCount: 1,
officeCount: 1, officeCount: 1,
storeCount: 1, storeCount: 1,
memberCount: 1, memberCount: 1,
ownMemberCount: 1, bottomMemberCount: 1,
nickname: 'on00', nickname: '테스트본사',
accountHolder: '11', accountHolder: '테스트본사',
phoneNumber: '010-1111-1111', phoneNumber: '010-7979-7951',
calculateType: '롤링', calculateType: '롤링',
ownCash: 50000, ownCash: 50000,
ownComp: 1711, ownComp: 1711,
@ -35,7 +35,7 @@ export const partnerMainoffices = [
officeCount: 1, officeCount: 1,
storeCount: 1, storeCount: 1,
memberCount: 2, memberCount: 2,
ownMemberCount: 1, bottomMemberCount: 1,
nickname: 'zxcv1234', nickname: 'zxcv1234',
accountHolder: '테스트', accountHolder: '테스트',
phoneNumber: '010-0000-0000', phoneNumber: '010-0000-0000',
@ -61,7 +61,7 @@ export const partnerMainoffices = [
officeCount: 1, officeCount: 1,
storeCount: 1, storeCount: 1,
memberCount: 1, memberCount: 1,
ownMemberCount: 1, bottomMemberCount: 1,
nickname: '테스트55', nickname: '테스트55',
accountHolder: '테스트', accountHolder: '테스트',
phoneNumber: '010-1234-1234', phoneNumber: '010-1234-1234',
@ -81,16 +81,16 @@ export const partnerMainoffices = [
}, },
{ {
id: '8fcce528-d878-4cc8-99f7-bd3451ed5405', id: '8fcce528-d878-4cc8-99f7-bd3451ed5405',
signinId: 'on00', signinId: 'mama123',
branchCount: 1, branchCount: 1,
divisionCount: 1, divisionCount: 1,
officeCount: 1, officeCount: 1,
storeCount: 1, storeCount: 1,
memberCount: 1, memberCount: 1,
ownMemberCount: 1, bottomMemberCount: 1,
nickname: 'on00', nickname: '테스트본사',
accountHolder: '11', accountHolder: '11',
phoneNumber: '010-1111-1111', phoneNumber: '010-7979-7951',
calculateType: '롤링', calculateType: '롤링',
ownCash: 50000, ownCash: 50000,
ownComp: 1711, ownComp: 1711,
@ -113,7 +113,7 @@ export const partnerMainoffices = [
officeCount: 1, officeCount: 1,
storeCount: 1, storeCount: 1,
memberCount: 1, memberCount: 1,
ownMemberCount: 1, bottomMemberCount: 1,
nickname: 'on00', nickname: 'on00',
accountHolder: '11', accountHolder: '11',
phoneNumber: '010-1111-1111', phoneNumber: '010-1111-1111',
@ -131,4 +131,30 @@ export const partnerMainoffices = [
ip: '', ip: '',
state: '정상', state: '정상',
}, },
{
id: 'd7a47d7c-4cdf-4319-bbaa-37ade38c622c',
signinId: 'king777',
branchCount: 1,
divisionCount: 1,
officeCount: 1,
storeCount: 1,
memberCount: 1,
bottomMemberCount: 1,
nickname: '킹111',
accountHolder: '테스트',
phoneNumber: '010-1111-1111',
calculateType: '롤링',
ownCash: 50000,
ownComp: 1711,
ownCoupon: 50000,
gameMoney: 0,
todayComp: 0,
totalDeposit: 0,
totalWithdraw: 0,
balance: 0,
registDate: '2022-06-12 15:38',
finalSigninDate: '',
ip: '',
state: '정상',
},
]; ];

View File

@ -2,23 +2,144 @@
export const partnerOffices = [ export const partnerOffices = [
{ {
id: 'on00', id: 'd7a47d7c-4cdf-4319-bbaa-37ade38c622c',
totalPartnerCount: '5', signinId: 'mamama12',
totalHoldingMoney: 303675,
totalComp: 108933,
total: 412608,
branchCount: 1,
divisionCount: 1,
officeCount: 1,
storeCount: 1, storeCount: 1,
memberCount: 1, memberCount: 1,
nickname: 'on00', bottomMemberCount: 1,
accountHolder: '11', nickname: '테스트총판',
phoneNumber: '010-1111-1111', highRank: 'mamama1',
accountHolder: '테스트총판',
phoneNumber: '010-1212-2341',
calculateType: '롤링', calculateType: '롤링',
ownCash: 50000, ownCash: 0,
ownComp: 1711, ownComp: 0,
ownCoupon: 50000, ownCoupon: 0,
gameMoney: 0,
todayComp: 0,
totalDeposit: 0,
totalWithdraw: 0,
balance: 0,
registDate: '2022-06-12 15:38',
finalSigninDate: '',
ip: '',
state: '정상',
note: '매장등록',
},
{
id: 'd7a47d7c-4cdf-4319-bbaa-37ade38c622c',
signinId: 'ace4',
storeCount: 1,
memberCount: 1,
bottomMemberCount: 1,
nickname: '파파총판',
highRank: 'ace3',
accountHolder: '',
phoneNumber: '',
calculateType: '롤링',
ownCash: 0,
ownComp: 0,
ownCoupon: 0,
gameMoney: 0,
todayComp: 0,
totalDeposit: 0,
totalWithdraw: 0,
balance: 0,
registDate: '2022-06-12 15:38',
finalSigninDate: '',
ip: '',
state: '정상',
note: '매장등록',
},
{
id: 'd7a47d7c-4cdf-4319-bbaa-37ade38c622c',
signinId: 'king777',
storeCount: 1,
memberCount: 1,
bottomMemberCount: 1,
nickname: '킹11111',
highRank: 'king444',
accountHolder: '테스트',
phoneNumber: '010-1212-2341',
calculateType: '롤링',
ownCash: 0,
ownComp: 0,
ownCoupon: 0,
gameMoney: 0,
todayComp: 0,
totalDeposit: 0,
totalWithdraw: 0,
balance: 0,
registDate: '2022-06-12 15:38',
finalSigninDate: '',
ip: '',
state: '정상',
note: '매장등록',
},
{
id: 'd7a47d7c-4cdf-4319-bbaa-37ade38c622c',
signinId: 'on03',
storeCount: 1,
memberCount: 1,
bottomMemberCount: 1,
nickname: 'on03',
highRank: 'on02',
accountHolder: '33',
phoneNumber: '010-1212-2341',
calculateType: '롤링',
ownCash: 10000,
ownComp: 1649,
ownCoupon: 0,
gameMoney: 0,
todayComp: 0,
totalDeposit: 0,
totalWithdraw: 0,
balance: 0,
registDate: '2022-06-12 15:38',
finalSigninDate: '',
ip: '',
state: '정상',
note: '매장등록',
},
{
id: 'd7a47d7c-4cdf-4319-bbaa-37ade38c622c',
signinId: 'zxcv1',
storeCount: 1,
memberCount: 1,
bottomMemberCount: 2,
nickname: 'zxcv1',
highRank: 'zxcv12',
accountHolder: '테스트',
phoneNumber: '010-0000-0000',
calculateType: '롤링',
ownCash: 0,
ownComp: 0,
ownCoupon: 0,
gameMoney: 0,
todayComp: 0,
totalDeposit: 0,
totalWithdraw: 0,
balance: 0,
registDate: '2022-06-12 15:38',
finalSigninDate: '',
ip: '',
state: '정상',
note: '매장등록',
},
{
id: 'd7a47d7c-4cdf-4319-bbaa-37ade38c622c',
signinId: 'ss22',
storeCount: 1,
memberCount: 1,
bottomMemberCount: 1,
nickname: '아아아아',
highRank: 'aa2315',
accountHolder: '홍길동',
phoneNumber: '010-1212-2341',
calculateType: '롤링',
ownCash: 0,
ownComp: 0,
ownCoupon: 0,
gameMoney: 0, gameMoney: 0,
todayComp: 0, todayComp: 0,
totalDeposit: 0, totalDeposit: 0,

View File

@ -6,7 +6,7 @@ export const partnerRecommendations = [
signinId: 'on04', signinId: 'on04',
nickname: '가가가', nickname: '가가가',
rank: '매장', rank: '매장',
highRank: 'on03', highRank: '[총판]on03',
accountHolder: '홍길동', accountHolder: '홍길동',
nameOfBank: '국민은행', nameOfBank: '국민은행',
accountNumber: '1212121-2121212', accountNumber: '1212121-2121212',
@ -17,4 +17,116 @@ export const partnerRecommendations = [
useOrNot: 'Y', useOrNot: 'Y',
memberCount: 1, memberCount: 1,
}, },
{
id: '7eb7c859-1347-4317-96b6-9476a7e2ba3c',
signinId: 'ttest07',
nickname: 'ttest07',
rank: '매장',
highRank: '[총판]test44',
accountHolder: 'ttest07',
nameOfBank: '국민은행',
accountNumber: '15453-2121212',
holdingMoney: 100000,
ownComp: 238908,
state: '정상',
siteAddress: 'sel3.kgon365.com',
useOrNot: 'Y',
memberCount: 1,
},
{
id: '7eb7c859-1347-4317-96b6-9476a7e2ba3c',
signinId: 'king1111',
nickname: '킹111111',
rank: '매장',
highRank: '[총판]test44',
accountHolder: 'test',
nameOfBank: '국민은행',
accountNumber: '11',
holdingMoney: 0,
ownComp: 0,
state: '정상',
siteAddress: 'sel3.kgon365.com',
useOrNot: 'Y',
memberCount: 1,
},
{
id: '7eb7c859-1347-4317-96b6-9476a7e2ba3c',
signinId: 'ace5',
nickname: '파파매장',
rank: '매장',
highRank: '[총판]test44',
accountHolder: '',
nameOfBank: '',
accountNumber: '',
holdingMoney: 118,
ownComp: 0,
state: '정상',
siteAddress: 'web4.kgon365.com',
useOrNot: 'Y',
memberCount: 1,
},
{
id: '7eb7c859-1347-4317-96b6-9476a7e2ba3c',
signinId: 'mama1',
nickname: '테스트매장',
rank: '매장',
highRank: '[총판]test44',
accountHolder: '테스트매장',
nameOfBank: '농협',
accountNumber: '12312312331',
holdingMoney: 0,
ownComp: 0,
state: '정상',
siteAddress: 'web4.nova114.com',
useOrNot: 'Y',
memberCount: 1,
},
{
id: '7eb7c859-1347-4317-96b6-9476a7e2ba3c',
signinId: 'kgon5',
nickname: '매장',
rank: '매장',
highRank: '[총판]kgon4',
accountHolder: '매장',
nameOfBank: '국민은행',
accountNumber: '0000000000',
holdingMoney: 37195,
ownComp: 28182,
state: '정상',
siteAddress: 'web4.nova114.com',
useOrNot: 'Y',
memberCount: 1,
},
{
id: '7eb7c859-1347-4317-96b6-9476a7e2ba3c',
signinId: 'test55',
nickname: '매장',
rank: '매장',
highRank: '[총판]kgon4',
accountHolder: '매장',
nameOfBank: '국민은행',
accountNumber: '0000000000',
holdingMoney: 712,
ownComp: 28182,
state: '6192',
siteAddress: 'test.com',
useOrNot: 'Y',
memberCount: 1,
},
{
id: '7eb7c859-1347-4317-96b6-9476a7e2ba3c',
signinId: 'test55',
nickname: '35555555',
rank: '매장',
highRank: '[총판]test44',
accountHolder: '매장',
nameOfBank: '국민은행',
accountNumber: '0000000000',
holdingMoney: 712,
ownComp: 6192,
state: '6192',
siteAddress: 'test.com',
useOrNot: 'Y',
memberCount: 1,
},
]; ];

View File

@ -55,4 +55,112 @@ export const partners = [
registDate: '2022-04-22 18:55', registDate: '2022-04-22 18:55',
state: '정상', state: '정상',
}, },
{
id: 'b899ec30-b85a-40ab-bb1f-18a596d5c6de',
signinId: 'qwe123',
nickname: '테스트55',
rank: '본사',
branchCount: 1,
divisionCount: 1,
officeCount: 1,
storeCount: 1,
memberCount: 1,
level: '1',
calculateType: '롤링',
holdingMoney: 253675,
accountHolder: '테스트',
phoneNumber: '010-1234-5678',
ownCash: 0,
ownComp: 0,
ownCoupon: 100000,
ownCharge: 0,
bottomCharge: 9550000,
ownExchange: 0,
bottomExchange: 0,
ownRevenue: 0,
bottomRevenue: 9550000,
registDate: '2022-04-23 01:06',
state: '정상',
},
{
id: '8fcce528-d878-4cc8-99f7-bd3451ed5405',
signinId: 'zxcv1234',
nickname: 'zxcv1234',
rank: '본사',
branchCount: 1,
divisionCount: 1,
officeCount: 1,
storeCount: 2,
memberCount: 1,
level: '1',
calculateType: '롤링',
holdingMoney: 253675,
accountHolder: '테스트',
phoneNumber: '010-0000-0000',
ownCash: 0,
ownComp: 0,
ownCoupon: 0,
ownCharge: 0,
bottomCharge: 21000000,
ownExchange: 0,
bottomExchange: 0,
ownRevenue: 0,
bottomRevenue: 21000000,
registDate: '2022-06-08 01:35',
state: '정상',
},
{
id: '8fcce528-d878-4cc8-99f7-bd3451ed5406',
signinId: 'on00',
nickname: 'on00',
rank: '본사',
branchCount: 1,
divisionCount: 1,
officeCount: 1,
storeCount: 1,
memberCount: 1,
level: '1',
calculateType: '롤링',
holdingMoney: 50000,
accountHolder: '11',
phoneNumber: '010-0000-0000',
ownCash: 0,
ownComp: 0,
ownCoupon: 0,
ownCharge: 0,
bottomCharge: 200000,
ownExchange: 0,
bottomExchange: 0,
ownRevenue: 0,
bottomRevenue: 200000,
registDate: '2022-06-12 15:38',
state: '정상',
},
{
id: 'd7a47d7c-4cdf-4319-bbaa-37ade38c622c',
signinId: 'king777',
nickname: '킹111',
rank: '본사',
branchCount: 1,
divisionCount: 1,
officeCount: 1,
storeCount: 1,
memberCount: 2,
level: '1',
calculateType: '롤링',
holdingMoney: 50000,
accountHolder: '테스트',
phoneNumber: '010-1111-1111',
ownCash: 0,
ownComp: 0,
ownCoupon: 0,
ownCharge: 0,
bottomCharge: 0,
ownExchange: 0,
bottomExchange: 0,
ownRevenue: 0,
bottomRevenue: 0,
registDate: '2022-06-23 12:11',
state: '정상',
},
]; ];

View File

@ -4,11 +4,114 @@
import * as jspb from 'google-protobuf'; import * as jspb from 'google-protobuf';
export class Error extends jspb.Message { export class Error extends jspb.Message {
static readonly PARSE: number;
static readonly INVALID_REQUEST: number;
static readonly INVALID_PARAMS: number;
static readonly INTERNAL: number;
static readonly SERVER_00: number;
static readonly SERVER_01: number;
static readonly SERVER_02: number;
static readonly SERVER_03: number;
static readonly SERVER_04: number;
static readonly SERVER_05: number;
static readonly SERVER_06: number;
static readonly SERVER_07: number;
static readonly SERVER_08: number;
static readonly SERVER_09: number;
static readonly SERVER_10: number;
static readonly SERVER_11: number;
static readonly SERVER_12: number;
static readonly SERVER_13: number;
static readonly SERVER_14: number;
static readonly SERVER_15: number;
static readonly SERVER_16: number;
static readonly SERVER_17: number;
static readonly SERVER_18: number;
static readonly SERVER_19: number;
static readonly SERVER_20: number;
static readonly SERVER_21: number;
static readonly SERVER_22: number;
static readonly SERVER_23: number;
static readonly SERVER_24: number;
static readonly SERVER_25: number;
static readonly SERVER_26: number;
static readonly SERVER_27: number;
static readonly SERVER_28: number;
static readonly SERVER_29: number;
static readonly SERVER_30: number;
static readonly SERVER_31: number;
static readonly SERVER_32: number;
static readonly SERVER_33: number;
static readonly SERVER_34: number;
static readonly SERVER_35: number;
static readonly SERVER_36: number;
static readonly SERVER_37: number;
static readonly SERVER_38: number;
static readonly SERVER_39: number;
static readonly SERVER_40: number;
static readonly SERVER_41: number;
static readonly SERVER_42: number;
static readonly SERVER_43: number;
static readonly SERVER_44: number;
static readonly SERVER_45: number;
static readonly SERVER_46: number;
static readonly SERVER_47: number;
static readonly SERVER_48: number;
static readonly SERVER_49: number;
static readonly SERVER_50: number;
static readonly SERVER_51: number;
static readonly SERVER_52: number;
static readonly SERVER_53: number;
static readonly SERVER_54: number;
static readonly SERVER_55: number;
static readonly SERVER_56: number;
static readonly SERVER_57: number;
static readonly SERVER_58: number;
static readonly SERVER_59: number;
static readonly SERVER_60: number;
static readonly SERVER_61: number;
static readonly SERVER_62: number;
static readonly SERVER_63: number;
static readonly SERVER_64: number;
static readonly SERVER_65: number;
static readonly SERVER_66: number;
static readonly SERVER_67: number;
static readonly SERVER_68: number;
static readonly SERVER_69: number;
static readonly SERVER_70: number;
static readonly SERVER_71: number;
static readonly SERVER_72: number;
static readonly SERVER_73: number;
static readonly SERVER_74: number;
static readonly SERVER_75: number;
static readonly SERVER_76: number;
static readonly SERVER_77: number;
static readonly SERVER_78: number;
static readonly SERVER_79: number;
static readonly SERVER_80: number;
static readonly SERVER_81: number;
static readonly SERVER_82: number;
static readonly SERVER_83: number;
static readonly SERVER_84: number;
static readonly SERVER_85: number;
static readonly SERVER_86: number;
static readonly SERVER_87: number;
static readonly SERVER_88: number;
static readonly SERVER_89: number;
static readonly SERVER_90: number;
static readonly SERVER_91: number;
static readonly SERVER_92: number;
static readonly SERVER_93: number;
static readonly SERVER_94: number;
static readonly SERVER_95: number;
static readonly SERVER_96: number;
static readonly SERVER_97: number;
static readonly SERVER_98: number;
static readonly SERVER_99: number;
getCode(): number; getCode(): number;
setCode(value: number): void; setCode(value: number): void;
hasMessage(): boolean;
clearMessage(): void;
getMessage(): string; getMessage(): string;
setMessage(value: string): void; setMessage(value: string): void;
@ -44,3 +147,66 @@ export namespace Error {
data: Uint8Array | string; data: Uint8Array | string;
}; };
} }
export class InvalidParamsDetail extends jspb.Message {
getLocation(): string;
setLocation(value: string): void;
getParam(): string;
setParam(value: string): void;
getValue(): string;
setValue(value: string): void;
getErrorType(): InvalidParamsTypeMap[keyof InvalidParamsTypeMap];
setErrorType(value: InvalidParamsTypeMap[keyof InvalidParamsTypeMap]): void;
getMessage(): string;
setMessage(value: string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): InvalidParamsDetail.AsObject;
static toObject(
includeInstance: boolean,
msg: InvalidParamsDetail
): InvalidParamsDetail.AsObject;
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
};
static serializeBinaryToWriter(
message: InvalidParamsDetail,
writer: jspb.BinaryWriter
): void;
static deserializeBinary(bytes: Uint8Array): InvalidParamsDetail;
static deserializeBinaryFromReader(
message: InvalidParamsDetail,
reader: jspb.BinaryReader
): InvalidParamsDetail;
}
export namespace InvalidParamsDetail {
export type AsObject = {
location: string;
param: string;
value: string;
errorType: InvalidParamsTypeMap[keyof InvalidParamsTypeMap];
message: string;
};
}
export interface InvalidParamsTypeMap {
NONE: 0;
DATE_TIME: 1;
DECIMAL: 2;
EQUALS_TO: 3;
FLOAT: 4;
INTEGER: 5;
RANGE: 6;
REG_EX: 7;
REQUIRED: 8;
STRING_LENGTH: 9;
URL: 10;
}
export const InvalidParamsType: InvalidParamsTypeMap;

View File

@ -18,6 +18,8 @@ var global = function () {
}.call(null); }.call(null);
goog.exportSymbol("proto.bet.protobuf.rpc.Error", null, global); goog.exportSymbol("proto.bet.protobuf.rpc.Error", null, global);
goog.exportSymbol("proto.bet.protobuf.rpc.InvalidParamsDetail", null, global);
goog.exportSymbol("proto.bet.protobuf.rpc.InvalidParamsType", null, global);
/** /**
* 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
@ -39,6 +41,28 @@ if (goog.DEBUG && !COMPILED) {
*/ */
proto.bet.protobuf.rpc.Error.displayName = "proto.bet.protobuf.rpc.Error"; proto.bet.protobuf.rpc.Error.displayName = "proto.bet.protobuf.rpc.Error";
} }
/**
* 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.protobuf.rpc.InvalidParamsDetail = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bet.protobuf.rpc.InvalidParamsDetail, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bet.protobuf.rpc.InvalidParamsDetail.displayName =
"proto.bet.protobuf.rpc.InvalidParamsDetail";
}
if (jspb.Message.GENERATE_TO_OBJECT) { if (jspb.Message.GENERATE_TO_OBJECT) {
/** /**
@ -83,6 +107,111 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
}; };
} }
proto.bet.protobuf.rpc.Error.PARSE = -32700;
proto.bet.protobuf.rpc.Error.INVALID_REQUEST = -32600;
proto.bet.protobuf.rpc.Error.INVALID_PARAMS = -32602;
proto.bet.protobuf.rpc.Error.INTERNAL = -32603;
proto.bet.protobuf.rpc.Error.SERVER_00 = -32000;
proto.bet.protobuf.rpc.Error.SERVER_01 = -32001;
proto.bet.protobuf.rpc.Error.SERVER_02 = -32002;
proto.bet.protobuf.rpc.Error.SERVER_03 = -32003;
proto.bet.protobuf.rpc.Error.SERVER_04 = -32004;
proto.bet.protobuf.rpc.Error.SERVER_05 = -32005;
proto.bet.protobuf.rpc.Error.SERVER_06 = -32006;
proto.bet.protobuf.rpc.Error.SERVER_07 = -32007;
proto.bet.protobuf.rpc.Error.SERVER_08 = -32008;
proto.bet.protobuf.rpc.Error.SERVER_09 = -32009;
proto.bet.protobuf.rpc.Error.SERVER_10 = -32010;
proto.bet.protobuf.rpc.Error.SERVER_11 = -32011;
proto.bet.protobuf.rpc.Error.SERVER_12 = -32012;
proto.bet.protobuf.rpc.Error.SERVER_13 = -32013;
proto.bet.protobuf.rpc.Error.SERVER_14 = -32014;
proto.bet.protobuf.rpc.Error.SERVER_15 = -32015;
proto.bet.protobuf.rpc.Error.SERVER_16 = -32016;
proto.bet.protobuf.rpc.Error.SERVER_17 = -32017;
proto.bet.protobuf.rpc.Error.SERVER_18 = -32018;
proto.bet.protobuf.rpc.Error.SERVER_19 = -32019;
proto.bet.protobuf.rpc.Error.SERVER_20 = -32020;
proto.bet.protobuf.rpc.Error.SERVER_21 = -32021;
proto.bet.protobuf.rpc.Error.SERVER_22 = -32022;
proto.bet.protobuf.rpc.Error.SERVER_23 = -32023;
proto.bet.protobuf.rpc.Error.SERVER_24 = -32024;
proto.bet.protobuf.rpc.Error.SERVER_25 = -32025;
proto.bet.protobuf.rpc.Error.SERVER_26 = -32026;
proto.bet.protobuf.rpc.Error.SERVER_27 = -32027;
proto.bet.protobuf.rpc.Error.SERVER_28 = -32028;
proto.bet.protobuf.rpc.Error.SERVER_29 = -32029;
proto.bet.protobuf.rpc.Error.SERVER_30 = -32030;
proto.bet.protobuf.rpc.Error.SERVER_31 = -32031;
proto.bet.protobuf.rpc.Error.SERVER_32 = -32032;
proto.bet.protobuf.rpc.Error.SERVER_33 = -32033;
proto.bet.protobuf.rpc.Error.SERVER_34 = -32034;
proto.bet.protobuf.rpc.Error.SERVER_35 = -32035;
proto.bet.protobuf.rpc.Error.SERVER_36 = -32036;
proto.bet.protobuf.rpc.Error.SERVER_37 = -32037;
proto.bet.protobuf.rpc.Error.SERVER_38 = -32038;
proto.bet.protobuf.rpc.Error.SERVER_39 = -32039;
proto.bet.protobuf.rpc.Error.SERVER_40 = -32040;
proto.bet.protobuf.rpc.Error.SERVER_41 = -32041;
proto.bet.protobuf.rpc.Error.SERVER_42 = -32042;
proto.bet.protobuf.rpc.Error.SERVER_43 = -32043;
proto.bet.protobuf.rpc.Error.SERVER_44 = -32044;
proto.bet.protobuf.rpc.Error.SERVER_45 = -32045;
proto.bet.protobuf.rpc.Error.SERVER_46 = -32046;
proto.bet.protobuf.rpc.Error.SERVER_47 = -32047;
proto.bet.protobuf.rpc.Error.SERVER_48 = -32048;
proto.bet.protobuf.rpc.Error.SERVER_49 = -32049;
proto.bet.protobuf.rpc.Error.SERVER_50 = -32050;
proto.bet.protobuf.rpc.Error.SERVER_51 = -32051;
proto.bet.protobuf.rpc.Error.SERVER_52 = -32052;
proto.bet.protobuf.rpc.Error.SERVER_53 = -32053;
proto.bet.protobuf.rpc.Error.SERVER_54 = -32054;
proto.bet.protobuf.rpc.Error.SERVER_55 = -32055;
proto.bet.protobuf.rpc.Error.SERVER_56 = -32056;
proto.bet.protobuf.rpc.Error.SERVER_57 = -32057;
proto.bet.protobuf.rpc.Error.SERVER_58 = -32058;
proto.bet.protobuf.rpc.Error.SERVER_59 = -32059;
proto.bet.protobuf.rpc.Error.SERVER_60 = -32060;
proto.bet.protobuf.rpc.Error.SERVER_61 = -32061;
proto.bet.protobuf.rpc.Error.SERVER_62 = -32062;
proto.bet.protobuf.rpc.Error.SERVER_63 = -32063;
proto.bet.protobuf.rpc.Error.SERVER_64 = -32064;
proto.bet.protobuf.rpc.Error.SERVER_65 = -32065;
proto.bet.protobuf.rpc.Error.SERVER_66 = -32066;
proto.bet.protobuf.rpc.Error.SERVER_67 = -32067;
proto.bet.protobuf.rpc.Error.SERVER_68 = -32068;
proto.bet.protobuf.rpc.Error.SERVER_69 = -32069;
proto.bet.protobuf.rpc.Error.SERVER_70 = -32070;
proto.bet.protobuf.rpc.Error.SERVER_71 = -32071;
proto.bet.protobuf.rpc.Error.SERVER_72 = -32072;
proto.bet.protobuf.rpc.Error.SERVER_73 = -32073;
proto.bet.protobuf.rpc.Error.SERVER_74 = -32074;
proto.bet.protobuf.rpc.Error.SERVER_75 = -32075;
proto.bet.protobuf.rpc.Error.SERVER_76 = -32076;
proto.bet.protobuf.rpc.Error.SERVER_77 = -32077;
proto.bet.protobuf.rpc.Error.SERVER_78 = -32078;
proto.bet.protobuf.rpc.Error.SERVER_79 = -32079;
proto.bet.protobuf.rpc.Error.SERVER_80 = -32080;
proto.bet.protobuf.rpc.Error.SERVER_81 = -32081;
proto.bet.protobuf.rpc.Error.SERVER_82 = -32082;
proto.bet.protobuf.rpc.Error.SERVER_83 = -32083;
proto.bet.protobuf.rpc.Error.SERVER_84 = -32084;
proto.bet.protobuf.rpc.Error.SERVER_85 = -32085;
proto.bet.protobuf.rpc.Error.SERVER_86 = -32086;
proto.bet.protobuf.rpc.Error.SERVER_87 = -32087;
proto.bet.protobuf.rpc.Error.SERVER_88 = -32088;
proto.bet.protobuf.rpc.Error.SERVER_89 = -32089;
proto.bet.protobuf.rpc.Error.SERVER_90 = -32090;
proto.bet.protobuf.rpc.Error.SERVER_91 = -32091;
proto.bet.protobuf.rpc.Error.SERVER_92 = -32092;
proto.bet.protobuf.rpc.Error.SERVER_93 = -32093;
proto.bet.protobuf.rpc.Error.SERVER_94 = -32094;
proto.bet.protobuf.rpc.Error.SERVER_95 = -32095;
proto.bet.protobuf.rpc.Error.SERVER_96 = -32096;
proto.bet.protobuf.rpc.Error.SERVER_97 = -32097;
proto.bet.protobuf.rpc.Error.SERVER_98 = -32098;
proto.bet.protobuf.rpc.Error.SERVER_99 = -32099;
/** /**
* Deserializes binary data (in protobuf wire format). * Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize. * @param {jspb.ByteSource} bytes The bytes to deserialize.
@ -157,8 +286,8 @@ proto.bet.protobuf.rpc.Error.serializeBinaryToWriter = function (
if (f !== 0) { if (f !== 0) {
writer.writeInt32(1, f); writer.writeInt32(1, f);
} }
f = /** @type {string} */ (jspb.Message.getField(message, 2)); f = message.getMessage();
if (f != null) { if (f.length > 0) {
writer.writeString(2, f); writer.writeString(2, f);
} }
f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 3)); f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 3));
@ -196,23 +325,7 @@ proto.bet.protobuf.rpc.Error.prototype.getMessage = function () {
* @return {!proto.bet.protobuf.rpc.Error} returns this * @return {!proto.bet.protobuf.rpc.Error} returns this
*/ */
proto.bet.protobuf.rpc.Error.prototype.setMessage = function (value) { proto.bet.protobuf.rpc.Error.prototype.setMessage = function (value) {
return jspb.Message.setField(this, 2, value); return jspb.Message.setProto3StringField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.bet.protobuf.rpc.Error} returns this
*/
proto.bet.protobuf.rpc.Error.prototype.clearMessage = function () {
return jspb.Message.setField(this, 2, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.protobuf.rpc.Error.prototype.hasMessage = function () {
return jspb.Message.getField(this, 2) != null;
}; };
/** /**
@ -269,4 +382,274 @@ proto.bet.protobuf.rpc.Error.prototype.hasData = function () {
return jspb.Message.getField(this, 3) != null; return jspb.Message.getField(this, 3) != null;
}; };
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.bet.protobuf.rpc.InvalidParamsDetail.prototype.toObject = function (
opt_includeInstance
) {
return proto.bet.protobuf.rpc.InvalidParamsDetail.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.protobuf.rpc.InvalidParamsDetail} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.bet.protobuf.rpc.InvalidParamsDetail.toObject = function (
includeInstance,
msg
) {
var f,
obj = {
location: jspb.Message.getFieldWithDefault(msg, 1, ""),
param: jspb.Message.getFieldWithDefault(msg, 2, ""),
value: jspb.Message.getFieldWithDefault(msg, 3, ""),
errorType: jspb.Message.getFieldWithDefault(msg, 4, 0),
message: jspb.Message.getFieldWithDefault(msg, 5, ""),
};
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.protobuf.rpc.InvalidParamsDetail}
*/
proto.bet.protobuf.rpc.InvalidParamsDetail.deserializeBinary = function (
bytes
) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.bet.protobuf.rpc.InvalidParamsDetail();
return proto.bet.protobuf.rpc.InvalidParamsDetail.deserializeBinaryFromReader(
msg,
reader
);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.bet.protobuf.rpc.InvalidParamsDetail} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.bet.protobuf.rpc.InvalidParamsDetail}
*/
proto.bet.protobuf.rpc.InvalidParamsDetail.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.setLocation(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setParam(value);
break;
case 3:
var value = /** @type {string} */ (reader.readString());
msg.setValue(value);
break;
case 4:
var value = /** @type {!proto.bet.protobuf.rpc.InvalidParamsType} */ (
reader.readEnum()
);
msg.setErrorType(value);
break;
case 5:
var value = /** @type {string} */ (reader.readString());
msg.setMessage(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.bet.protobuf.rpc.InvalidParamsDetail.prototype.serializeBinary =
function () {
var writer = new jspb.BinaryWriter();
proto.bet.protobuf.rpc.InvalidParamsDetail.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.protobuf.rpc.InvalidParamsDetail} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.bet.protobuf.rpc.InvalidParamsDetail.serializeBinaryToWriter = function (
message,
writer
) {
var f = undefined;
f = message.getLocation();
if (f.length > 0) {
writer.writeString(1, f);
}
f = message.getParam();
if (f.length > 0) {
writer.writeString(2, f);
}
f = message.getValue();
if (f.length > 0) {
writer.writeString(3, f);
}
f = message.getErrorType();
if (f !== 0.0) {
writer.writeEnum(4, f);
}
f = message.getMessage();
if (f.length > 0) {
writer.writeString(5, f);
}
};
/**
* optional string location = 1;
* @return {string}
*/
proto.bet.protobuf.rpc.InvalidParamsDetail.prototype.getLocation = function () {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.bet.protobuf.rpc.InvalidParamsDetail} returns this
*/
proto.bet.protobuf.rpc.InvalidParamsDetail.prototype.setLocation = function (
value
) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* optional string param = 2;
* @return {string}
*/
proto.bet.protobuf.rpc.InvalidParamsDetail.prototype.getParam = function () {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.bet.protobuf.rpc.InvalidParamsDetail} returns this
*/
proto.bet.protobuf.rpc.InvalidParamsDetail.prototype.setParam = function (
value
) {
return jspb.Message.setProto3StringField(this, 2, value);
};
/**
* optional string value = 3;
* @return {string}
*/
proto.bet.protobuf.rpc.InvalidParamsDetail.prototype.getValue = function () {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};
/**
* @param {string} value
* @return {!proto.bet.protobuf.rpc.InvalidParamsDetail} returns this
*/
proto.bet.protobuf.rpc.InvalidParamsDetail.prototype.setValue = function (
value
) {
return jspb.Message.setProto3StringField(this, 3, value);
};
/**
* optional InvalidParamsType error_type = 4;
* @return {!proto.bet.protobuf.rpc.InvalidParamsType}
*/
proto.bet.protobuf.rpc.InvalidParamsDetail.prototype.getErrorType =
function () {
return /** @type {!proto.bet.protobuf.rpc.InvalidParamsType} */ (
jspb.Message.getFieldWithDefault(this, 4, 0)
);
};
/**
* @param {!proto.bet.protobuf.rpc.InvalidParamsType} value
* @return {!proto.bet.protobuf.rpc.InvalidParamsDetail} returns this
*/
proto.bet.protobuf.rpc.InvalidParamsDetail.prototype.setErrorType = function (
value
) {
return jspb.Message.setProto3EnumField(this, 4, value);
};
/**
* optional string message = 5;
* @return {string}
*/
proto.bet.protobuf.rpc.InvalidParamsDetail.prototype.getMessage = function () {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
};
/**
* @param {string} value
* @return {!proto.bet.protobuf.rpc.InvalidParamsDetail} returns this
*/
proto.bet.protobuf.rpc.InvalidParamsDetail.prototype.setMessage = function (
value
) {
return jspb.Message.setProto3StringField(this, 5, value);
};
/**
* @enum {number}
*/
proto.bet.protobuf.rpc.InvalidParamsType = {
NONE: 0,
DATE_TIME: 1,
DECIMAL: 2,
EQUALS_TO: 3,
FLOAT: 4,
INTEGER: 5,
RANGE: 6,
REG_EX: 7,
REQUIRED: 8,
STRING_LENGTH: 9,
URL: 10,
};
goog.object.extend(exports, proto.bet.protobuf.rpc); goog.object.extend(exports, proto.bet.protobuf.rpc);