60p82u21t54k 0.0.56 → 0.0.57

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- (function(p,D){typeof exports=="object"&&typeof module<"u"?D(exports,require("axios")):typeof define=="function"&&define.amd?define(["exports","axios"],D):(p=typeof globalThis<"u"?globalThis:p||self,D(p["60p82u21t54k"]={},p.axios))})(this,function(p,D){"use strict";const M=D.create({baseURL:"/graph",timeout:5e3,headers:{"Content-Type":"application/json"}});M.interceptors.request.use(e=>e,e=>(console.error("Error request:",e.response),Promise.reject(e))),M.interceptors.response.use(e=>e,e=>{const t={status:null,message:"An error occurred"};return e.response?(t.status=e.response.status,t.message=e.response.data.message||e.response.statusText,console.error("Error response:",JSON.stringify(t)),e.response.status===401?console.error("Unauthorized access - redirecting to login."):e.response.status===404?console.error("Resource not found."):e.response.status>=500&&console.error("Server error. Please try again later.")):e.request?console.error("No response received:",e.request):console.error("Error setting up request:",e.message),Promise.reject(t)});const ee=e=>new TextEncoder().encode(e),te=e=>{try{return atob(e)}catch(t){return console.error("Failed to decode Base64:",t),""}};var i=(e=>(e.announcement="announcement",e.gameList="gameList",e.fishGameList="fishGameList",e.cmsList="cmsList",e.paymentsProvider="paymentsProvider",e.getUserProfile="getUserProfile",e.vipList="vipList",e.vipStatus="vipStatus",e.vipBonus="vipBonus",e.vipFieldStatus="vipFieldStatus",e.promotion="promotion",e.getSetting="getSetting",e.getCountryMobile="getCountryMobile",e.getPlatformTurnoverRate="getPlatformTurnoverRate",e.mainWallet="mainWallet",e.getLanguageSetting="getLanguageSetting",e.getFourDimensionData="getfourDimensionData",e.getCompany="getCompany",e.searchResultDate="searchResultDate",e.searchHot="searchHot",e.searchByDate="searchByDate",e))(i||{});const $=Object.freeze(Object.defineProperty({__proto__:null,Api:i},Symbol.toStringTag,{value:"Module"}));var L=(e=>(e.default="default",e.pay="pay",e.auto="auto",e.fix="fix",e.manual="manual",e.unknown="unknown",e))(L||{});const U=Object.freeze(Object.defineProperty({__proto__:null,PaymentType:L},Symbol.toStringTag,{value:"Module"})),ne=e=>e.mdPaymentChannels.map(t=>{const n=[];switch(t.name){case L.default:n.push(I(t.paymentmethod.manual,e));break;case L.pay:n.push(oe(t.paymentmethod.onlinebanking,e));break;default:if(t.paymentmethod.auto.bank.length>0&&n.push(se(t.bankid??0,t.paymentmethod.auto,e)),t.paymentmethod.manual.bank.length>0){let r=!1;for(let s=0;s<t.paymentmethod.manual.bank.length;s++){const c=t.paymentmethod.manual.bank[s];if(c.list&&c.list.length>0){r=!0;break}}r&&n.push(I(t.paymentmethod.manual,e))}t.paymentmethod.fixamount.bank.length>0&&n.push(ae(t.bankid??0,t.paymentmethod.fixamount))}return{name:t.label,imageUrl:`/image/game/native/deposit/sidemenu/${t.name}.png?${e.systemtime}`,paymentList:n}}),F={id:0,name:"",type:L.unknown,promo:[],bank:[],requiredField:{deposit_bank:!1,deposit_datetime:!1,deposit_detail:!1,deposit_method:!1,depositor:!1,uploadReceipt:!1}},k=e=>{const t={id:0,name:"excludePromo",value:"0",disabled:!0},n=e.map((r,s)=>({id:s+1,name:r.promodesc,value:r.promoindex.toString(),disabled:!1}));return[t,...n]},P=(e,t,n,r)=>{let s,c;n>0?s=e>0?Math.max(n,e):n:s=Math.max(e,0),r>0?c=t>0?Math.min(r,t):r:c=Math.max(t,0);const f=Math.round(s);let d=1e3;c<d&&(d=Math.round(c));const b=d-f;let y="",_="";if(b>0){let g=Math.round((d-f)*.25).toString().split(""),x=[];for(const o of g)o!==""&&x.push(o);for(let o=0;o<x.length;o++)o===0?y+=(parseInt(x[o])+1).toString():y+="0";g=Math.round((d-f)*.5).toString().split(""),x=[];for(const o of g)o!==""&&x.push(o);for(let o=0;o<x.length;o++)o===0?_+=(parseInt(x[o])+1).toString():_+="0"}else y=d.toString(),_=d.toString();return{amountList:[f.toString(),y,_,d.toString()],minAmount:f,maxAmount:c}},I=(e,t)=>t?{id:0,name:"manualMethod",type:L.manual,promo:k(e.promo),bank:e.bank.map(s=>{const c=s.list&&s.list.length>0?s.list[0].mintransaction??"0.00":"0.00",f=s.list&&s.list.length>0?s.list[0].maxtransaction??"0.00":"0.00",{amountList:d,minAmount:b,maxAmount:y}=P(Number(c),Number(f),t.mdBankLevelDetail.deposit_min,t.mdBankLevelDetail.deposit_max);return t.mdManualDepositRequireField.depositor=!0,{id:s.bankindex??0,bankAccountId:s.list&&s.list.length>0?s.list[0].bankaccountindex??0:0,name:s.list&&s.list.length>0?s.list[0].label??"":"",accountName:s.list&&s.list.length>0?s.list[0].bankaccountname??"":"",accountNo:s.list&&s.list.length>0?s.list[0].bankaccountno??"":"",qrcode:s.list&&s.list.length>0?s.list[0].bankaccountdesc:"",amountList:d,min:b,max:y}}),requiredField:{...t.mdManualDepositRequireField,uploadReceipt:t.mdUploadReceipt}}:F,oe=(e,t)=>t?{id:0,name:"onlineBankingMethod",type:L.pay,promo:k(e.promo),bank:e.banklist.map(s=>{let c="0.00",f="0.00";const d=s.bankindex??0;for(let g=0;g<t.mdGatewayMinMax.length;g++)t.mdGatewayMinMax[g].bankindex==d.toString()&&(c=t.mdGatewayMinMax[g].min,f=t.mdGatewayMinMax[g].max);const{amountList:b,minAmount:y,maxAmount:_}=P(Number(c),Number(f),t.mdBankLevelDetail.onlinepayment_min,t.mdBankLevelDetail.onlinepayment_max),S={id:0,name:"autoChannel",amountList:b,min:y,max:_},v=s.pg.map(g=>{const x=g.mintransaction??"0.00",O=g.maxtransaction??"0.00",{amountList:B,minAmount:o,maxAmount:l}=P(Number(x),Number(O),t.mdBankLevelDetail.onlinepayment_min,t.mdBankLevelDetail.onlinepayment_max);return{id:g.pgindex,name:g.bankaccountname,amountList:B,min:o,max:l}});return{id:s.bankindex??0,name:s.banknameenglish??"",amountList:[],min:0,max:0,gateway:[S,...v]}}),requiredField:{deposit_bank:!1,deposit_datetime:!1,deposit_detail:!1,deposit_method:!1,depositor:!1,uploadReceipt:!1}}:F,se=(e,t,n)=>{if(!n)return F;const r=L.auto;let s=[];const c=n.mdGatewayMinMax;if(t.bank.length>0&&n.mdPGSelection=="1")s=t.bank.map(d=>{const{amountList:b,minAmount:y,maxAmount:_}=P(d.minTransaction??0,d.maxTransaction??0,n.mdBankLevelDetail.onlinepayment_min,n.mdBankLevelDetail.onlinepayment_max);return{id:d.pgindex,name:d.bankaccountname||"",amountList:b,min:y,max:_}});else{let d="0.00",b="0.00";for(let a=0;a<c.length;a++)c[a].bankindex===e.toString()&&(d=c[a].min,b=c[a].max);const{amountList:y,minAmount:_,maxAmount:S}=P(Number(d),Number(b),n.mdBankLevelDetail.onlinepayment_min,n.mdBankLevelDetail.onlinepayment_max),v={id:0,name:"autoChannel",amountList:y,min:_,max:S};s.push(v)}return{id:e,name:"autoMethod",type:r,promo:k(t.promo),bank:s,requiredField:{deposit_bank:!1,deposit_datetime:!1,deposit_detail:!1,deposit_method:!1,depositor:!1,uploadReceipt:!1}}},ae=(e,t)=>{const n=L.fix;return{id:e,name:"fixAmountMethod",type:n,promo:k(t.promo),bank:t.bank.map(s=>{const c=s.amtlist.map(Number).sort((d,b)=>d-b);return{id:s.pgindex,name:s.name,amountList:s.amtlist,min:c.length>0?c[0]:0,max:c.length>0?c[c.length-1]:0}}),requiredField:{deposit_bank:!1,deposit_datetime:!1,deposit_detail:!1,deposit_method:!1,depositor:!1,uploadReceipt:!1}}},ie=e=>e.map(t=>({alert:t.announcement_alert=="1",update_time:t.announcement_lastupdated,content:t.announcement_simplified})),re=e=>({username:e.username,birthday:e.mdUserDetail.dob,email:e.mdUserDetail.email,fullName:e.mdUserDetail.firstname,phoneNumber:e.mdUserDetail.mobileno,profilePicUrl:e.mdUserDetail.profile_pic}),le=e=>e.mdGameListResult.map(t=>({code:t.code,id:t.id,name:t.name,nextPage:t.nextPage===1,list:t.mdPlatformProducts.map(n=>({id:Number(n.id),name:n.shortName,flag:n.flag,imageUrl:n.img,rate:"0.00"}))})),ue=e=>({list:e.mdGrade.map(t=>({id:t.gradeindex,is_current_level:!1,name:t.grade_simplified,percentage:0,turnover:{isShow:!1,current:"0",total:t.min_activebet},deposit:{isShow:!1,current:"0",total:t.min_deposit},promo_list:t.promocash.filter(n=>n.isshow==1&&n.status=="1").map(n=>({name:n.promosimplified,min_deposit:n.min_deposit,promo_bonus:n.percentage,promo_limit:n.max_promo_amt,turnover_multiplier:n.multiply,type:n.promo_type})),benefit_list:t.benefit})),detail:[],bonus:{showMonthButton:!1,showWeekButton:!1,showDayButton:!1}}),me=e=>({category:e.category.sort((t,n)=>t.sequence-n.sequence).map(t=>({id:t.catid,name:t.name})),list:e.list.sort((t,n)=>t.sequence-n.sequence).map(t=>{let n="";return t.stime!==""&&t.etime!==""&&(n=`${t.stime} - ${t.etime}`),t.stime!==""&&t.etime===""&&(n=t.stime),t.stime===""&&t.etime!==""&&(n=t.etime),{category_id:t.catid,img_url:t.banner,content:t.content,time:n,name:t.title}})}),ce=e=>({showMonthButton:e.month===1,showWeekButton:e.week===1,showDayButton:e.day===1}),de=e=>e.mdVipSetting.filter(t=>{t.status==1}).map(t=>({name:t.showname})),pe=e=>({current_deposit:e.deposit,current_turnover:e.turnOver,current_grade_id:e.mdCurrentGrade.gradeindex,next_grade_id:e.mdNextGrade.gradeindex,percentage:Number(e.percentage)*100}),ge=e=>{let t=4;e.vipcalculation&&(t=Number(e.vipcalculation));let n=[];return e.extralivechat&&(n=JSON.parse(e.extralivechat)),{vip_calculation:t,livechat:n.filter(r=>r.status===1).map(r=>({name:r.name,image_url:r.imgname,url:r.url})),mobileValidate:e.mobilevalidate?e.mobilevalidate=="1":!1}},fe=e=>{let t=[];e.mobileBanner&&(t=e.mobileBanner);let n=[];e.mobileAd&&(n=e.mobileAd);let r=[];return e.mobileAbout&&(r=e.mobileAbout),{banner:t.map(s=>`${s.imagepath}?${s.filemtime}`),ad:n.map(s=>`${s.imagepath}?${s.filemtime}`),about:r.map(s=>({name:s.name,content:s.content}))}},be=e=>e.data.filter(t=>t.status==="1").map(t=>({code:t.area_code,regex:t.regex,value:t.value})),ye=e=>e,_e=e=>{let t=null;return e?e.status!=1?t=0:t=e.mainwallet:t=0,{amount:t}},he=e=>e.data.filter(t=>t.status=="1").map(t=>({name:t.title,icon_url:t.flag_icon,code:t.code})),ve=e=>(console.log(e),{name:""}),Se=e=>e.data.filter(t=>t.company_status==1).map(t=>({id:t.company_id,name:t.company_name,date:[]})),xe=e=>e.data.map(t=>({id:t.key,date:t.draw_date.map(n=>Le(n.draw_tmactive))}));function Le(e){const t=new Date(e*1e3),n=t.getFullYear(),r=("0"+(t.getMonth()+1)).slice(-2),s=("0"+t.getDate()).slice(-2);return`${n}-${r}-${s}`}const Te=e=>e.data.map(t=>({id:t.company_id,list:t.drawCount.map(n=>({combination:n.combination_combination,total:n.total}))})),Re=e=>e.data.map(t=>({id:t.company_id,resultByDateList:t.draws.map(n=>{const r=n.results.filter(a=>a.combination_dimension==3).map(a=>a.combination_combination),s=n.results.filter(a=>a.combination_dimension==4&&a.combination_position==1).map(a=>a.combination_combination),c=n.results.filter(a=>a.combination_dimension==4&&a.combination_position==2).map(a=>a.combination_combination),f=n.results.filter(a=>a.combination_dimension==4&&a.combination_position==3).map(a=>a.combination_combination),d=n.results.filter(a=>a.combination_dimension==4&&a.combination_position==4).map(a=>a.combination_combination),b=n.results.filter(a=>a.combination_dimension==4&&a.combination_position==5).map(a=>a.combination_combination),y=n.results.filter(a=>a.combination_dimension==5&&a.combination_position==1).map(a=>a.combination_combination),_=n.results.filter(a=>a.combination_dimension==5).map(a=>a.combination_combination),S=n.results.filter(a=>a.combination_dimension==6&&a.combination_position==1).map(a=>a.combination_combination),v=n.results.filter(a=>a.combination_dimension==6).map(a=>a.combination_combination);return{date:n.date,3:r,4:{1:s,2:c,3:f,4:d,5:b},5:{1:y,all:_},6:{1:S,all:v}}})})),z=Object.freeze(Object.defineProperty({__proto__:null,post:async e=>{var t,n,r,s,c,f,d,b,y,_,S;try{e.findIndex(l=>l.name===i.vipList)!==-1&&e.push({name:i.vipBonus,query:""},{name:i.vipFieldStatus,query:""},{name:i.vipStatus,query:""},{name:i.getSetting,query:JSON.stringify({name:["vipcalculation"]})}),e.findIndex(l=>l.name===i.gameList)!==-1&&e.push({name:i.getPlatformTurnoverRate,query:""});const g=e.findIndex(l=>l.name===i.getFourDimensionData);g!==-1&&e[g].query==""&&(e.splice(g),e.push({name:i.getFourDimensionData,query:JSON.stringify({action:"getCompany",native:"1"})},{name:i.getFourDimensionData,query:JSON.stringify({action:"searchResultDate",limit:100,company:[],native:"1",splitCompany:"1"})}));const O={requests:e.map(l=>({name:l.name,query:btoa(l.query)}))},B=await M.post("/jwt",ee(JSON.stringify(O))),o={status:200,message:"",result:{}};for(const l of B.data.responses){l.error!=null&&l.error.code!=200&&(o.status=l.error.code,o.message=l.error.message);const h=l.attributes!==null&&l.attributes!==void 0?te(l.attributes):null,u=l.name,m=h?JSON.parse(h):null;if(!m)o.result[u]=null;else switch(u){case i.announcement:o.result[u]=ie(m);break;case i.gameList:o.result[u]=le(m);break;case i.cmsList:o.result[u]=fe(m);break;case i.paymentsProvider:o.result[u]=ne(m);break;case i.getUserProfile:o.result[u]=re(m);break;case i.vipList:o.result[u]=ue(m);break;case i.vipBonus:o.result[u]=ce(m);break;case i.vipFieldStatus:o.result[u]=de(m);break;case i.vipStatus:o.result[u]=pe(m);break;case i.promotion:o.result[u]=me(m);break;case i.getSetting:o.result[u]=ge(m);break;case i.getCountryMobile:o.result[u]=be(m);break;case i.getPlatformTurnoverRate:o.result[u]=ye(m);break;case i.mainWallet:o.result[u]=_e(m);break;case i.getLanguageSetting:o.result[u]=he(m);break;case i.getFourDimensionData:o.result[u]=ve(m);break;case i.getCompany:o.result[u]=Se(m);break;case i.searchResultDate:o.result[u]=xe(m);break;case i.searchHot:o.result[u]=Te(m);break;case i.searchByDate:o.result[u]=Re(m);break}}if(i.vipList in o.result&&((t=o.result)!=null&&t.vipList)){const l=o.result.vipList;let h=4;if(i.getSetting in o.result&&((n=o.result)!=null&&n.getSetting)&&(h=o.result.getSetting.vip_calculation,delete o.result.getSetting),i.vipBonus in o.result&&((r=o.result)!=null&&r.vipBonus)&&(l.bonus=o.result.vipBonus,delete o.result.vipBonus),i.vipFieldStatus in o.result&&((s=o.result)!=null&&s.vipFieldStatus)&&(console.log(o.result.vipFieldStatus),delete o.result.vipFieldStatus),i.vipStatus in o.result&&((c=o.result)!=null&&c.vipStatus)){const u=o.result.vipStatus,{current_grade_id:m,current_deposit:R,current_turnover:q,percentage:Pe}=u,A=l.list.findIndex(T=>T.id===m);l.list=l.list.map((T,G)=>{const w=G===A;let N="0",j="0",C=0;return w?(N=`${Math.min(Number(R),Number(T.deposit.total))}`,j=`${Math.min(Number(q),Number(T.turnover.total))}`,C=Pe):G<A?(N=T.deposit.total,j=T.turnover.total,C=1):G>A&&(N="0.00",j="0.00",C=0),{...T,is_current_level:w,deposit:{...T.deposit,isShow:h===1||h===3||h===4,current:N},turnover:{...T.turnover,isShow:h===2||h===3||h===4,current:j},percentage:C}}),delete o.result.vipStatus}o.result.vipList=l}if(i.gameList in o.result&&((f=o.result)!=null&&f.gameList)){const l=o.result.gameList;if(i.getPlatformTurnoverRate in o.result&&((d=o.result)!=null&&d.getPlatformTurnoverRate)){const h=o.result.getPlatformTurnoverRate;l.forEach(u=>{u.list=u.list.map(m=>{const R=h.find(q=>q.id===m.id);return{...m,rate:(R==null?void 0:R.percentage)??"0.00"}})}),delete o.result.getPlatformTurnoverRate}o.result.gameList=l}if(i.getCompany in o.result&&((b=o.result)!=null&&b.getCompany)){const l=o.result.getCompany;if(i.searchResultDate in o.result&&((y=o.result)!=null&&y.searchResultDate)){const h=o.result.searchResultDate;l.forEach(u=>{const m=h.find(R=>R.id==u.id);m&&(u.date=m==null?void 0:m.date)}),delete o.result.searchResultDate}o.result.getCompany=l}return o}catch(v){return D.isAxiosError(v)?{status:((_=v.response)==null?void 0:_.status)||600,message:JSON.stringify((S=v.response)==null?void 0:S.data),result:{}}:(console.error(v),{status:v.status||500,message:v.message,result:{}})}}},Symbol.toStringTag,{value:"Module"})),E=Object.freeze(Object.defineProperty({__proto__:null,call:async(e,t)=>{try{const n={status:200,message:""};return await M.post("/auth/sesh",JSON.stringify({usr:e,pwd:t})),n}catch(n){return console.error(`login: ${JSON.stringify(n)}`),{status:n.status||500,message:n.message}}}},Symbol.toStringTag,{value:"Module"})),J=Object.freeze(Object.defineProperty({__proto__:null,call:async()=>{try{const e={status:200,message:""};return await M.post("/auth/sesh/logout"),e}catch(e){return console.error(`login: ${JSON.stringify(e)}`),{status:e.status||500,message:e.message}}}},Symbol.toStringTag,{value:"Module"})),W=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),V=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),H=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Y=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),K=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Q=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),X=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Z=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),De={api:z,loginApi:E,logoutApi:J,apiType:$,loginType:W,logoutType:V,announcementType:H,paymentsProviderType:U,gameListType:Y,vipListType:K,promotionType:Q,cmsListType:X,mainWalletType:Z},Me={install(e){e.config.globalProperties.$library=De}};p.Repository=Me,p.announcementType=H,p.api=z,p.apiType=$,p.cmsListType=X,p.gameListType=Y,p.loginApi=E,p.loginType=W,p.logoutApi=J,p.logoutType=V,p.mainWalletType=Z,p.paymentsProviderType=U,p.promotionType=Q,p.vipListType=K,Object.defineProperty(p,Symbol.toStringTag,{value:"Module"})});
1
+ (function(g,D){typeof exports=="object"&&typeof module<"u"?D(exports,require("axios")):typeof define=="function"&&define.amd?define(["exports","axios"],D):(g=typeof globalThis<"u"?globalThis:g||self,D(g["60p82u21t54k"]={},g.axios))})(this,function(g,D){"use strict";const B=D.create({baseURL:"/graph",timeout:5e3,headers:{"Content-Type":"application/json"}});B.interceptors.request.use(e=>e,e=>(console.error("Error request:",e.response),Promise.reject(e))),B.interceptors.response.use(e=>e,e=>{const t={status:null,message:"An error occurred"};return e.response?(t.status=e.response.status,t.message=e.response.data.message||e.response.statusText,console.error("Error response:",JSON.stringify(t)),e.response.status===401?console.error("Unauthorized access - redirecting to login."):e.response.status===404?console.error("Resource not found."):e.response.status>=500&&console.error("Server error. Please try again later.")):e.request?console.error("No response received:",e.request):console.error("Error setting up request:",e.message),Promise.reject(t)});const te=e=>new TextEncoder().encode(e),ne=e=>{try{return atob(e)}catch(t){return console.error("Failed to decode Base64:",t),""}};var m=(e=>(e.announcement="announcement",e.gameList="gameList",e.fishGameList="fishGameList",e.cmsList="cmsList",e.paymentsProvider="paymentsProvider",e.getUserProfile="getUserProfile",e.vipList="vipList",e.vipStatus="vipStatus",e.vipBonus="vipBonus",e.vipFieldStatus="vipFieldStatus",e.promotion="promotion",e.getSetting="getSetting",e.getCountryMobile="getCountryMobile",e.getPlatformTurnoverRate="getPlatformTurnoverRate",e.mainWallet="mainWallet",e.getLanguageSetting="getLanguageSetting",e.getFourDimensionData="getfourDimensionData",e.getCompany="getCompany",e.searchResultDate="searchResultDate",e.searchHot="searchHot",e.searchByDate="searchByDate",e))(m||{});const U=Object.freeze(Object.defineProperty({__proto__:null,Api:m},Symbol.toStringTag,{value:"Module"}));var k=(e=>(e.default="default",e.pay="pay",e.auto="auto",e.fix="fix",e.manual="manual",e.unknown="unknown",e))(k||{});const z=Object.freeze(Object.defineProperty({__proto__:null,PaymentType:k},Symbol.toStringTag,{value:"Module"})),oe=e=>e.mdPaymentChannels.map(t=>{const n=[];switch(t.name){case k.default:n.push(E(t.paymentmethod.manual,e));break;case k.pay:n.push(se(t.paymentmethod.onlinebanking,e));break;default:if(t.paymentmethod.auto.bank.length>0&&n.push(ae(t.bankid??0,t.paymentmethod.auto,e)),t.paymentmethod.manual.bank.length>0){let c=!1;for(let s=0;s<t.paymentmethod.manual.bank.length;s++){const d=t.paymentmethod.manual.bank[s];if(d.list&&d.list.length>0){c=!0;break}}c&&n.push(E(t.paymentmethod.manual,e))}t.paymentmethod.fixamount.bank.length>0&&n.push(ie(t.bankid??0,t.paymentmethod.fixamount))}return{name:t.label,imageUrl:`/image/game/native/deposit/sidemenu/${t.name}.png?${e.systemtime}`,paymentList:n}}),$={id:0,name:"",type:k.unknown,promo:[],bank:[],requiredField:{deposit_bank:!1,deposit_datetime:!1,deposit_detail:!1,deposit_method:!1,depositor:!1,uploadReceipt:!1}},I=e=>{const t={id:0,name:"excludePromo",value:"0",disabled:!0},n=e.map((c,s)=>({id:s+1,name:c.promodesc,value:c.promoindex.toString(),disabled:!1}));return[t,...n]},j=(e,t,n,c)=>{let s,d;n>0?s=e>0?Math.max(n,e):n:s=Math.max(e,0),c>0?d=t>0?Math.min(c,t):c:d=Math.max(t,0);const y=Math.round(s);let p=1e3;d<p&&(p=Math.round(d));const _=p-y;let h="",v="";if(_>0){let b=Math.round((p-y)*.25).toString().split(""),T=[];for(const o of b)o!==""&&T.push(o);for(let o=0;o<T.length;o++)o===0?h+=(parseInt(T[o])+1).toString():h+="0";b=Math.round((p-y)*.5).toString().split(""),T=[];for(const o of b)o!==""&&T.push(o);for(let o=0;o<T.length;o++)o===0?v+=(parseInt(T[o])+1).toString():v+="0"}else h=p.toString(),v=p.toString();return{amountList:[y.toString(),h,v,p.toString()],minAmount:y,maxAmount:d}},E=(e,t)=>t?{id:0,name:"manualMethod",type:k.manual,promo:I(e.promo),bank:e.bank.map(s=>{const d=s.list&&s.list.length>0?s.list[0].mintransaction??"0.00":"0.00",y=s.list&&s.list.length>0?s.list[0].maxtransaction??"0.00":"0.00",{amountList:p,minAmount:_,maxAmount:h}=j(Number(d),Number(y),t.mdBankLevelDetail.deposit_min,t.mdBankLevelDetail.deposit_max);return t.mdManualDepositRequireField.depositor=!0,{id:s.bankindex??0,bankAccountId:s.list&&s.list.length>0?s.list[0].bankaccountindex??0:0,name:s.list&&s.list.length>0?s.list[0].label??"":"",accountName:s.list&&s.list.length>0?s.list[0].bankaccountname??"":"",accountNo:s.list&&s.list.length>0?s.list[0].bankaccountno??"":"",qrcode:s.list&&s.list.length>0?s.list[0].bankaccountdesc:"",amountList:p,min:_,max:h}}),requiredField:{...t.mdManualDepositRequireField,uploadReceipt:t.mdUploadReceipt}}:$,se=(e,t)=>t?{id:0,name:"onlineBankingMethod",type:k.pay,promo:I(e.promo),bank:e.banklist.map(s=>{let d="0.00",y="0.00";const p=s.bankindex??0;for(let b=0;b<t.mdGatewayMinMax.length;b++)t.mdGatewayMinMax[b].bankindex==p.toString()&&(d=t.mdGatewayMinMax[b].min,y=t.mdGatewayMinMax[b].max);const{amountList:_,minAmount:h,maxAmount:v}=j(Number(d),Number(y),t.mdBankLevelDetail.onlinepayment_min,t.mdBankLevelDetail.onlinepayment_max),L={id:0,name:"autoChannel",amountList:_,min:h,max:v},x=s.pg.map(b=>{const T=b.mintransaction??"0.00",F=b.maxtransaction??"0.00",{amountList:q,minAmount:o,maxAmount:l}=j(Number(T),Number(F),t.mdBankLevelDetail.onlinepayment_min,t.mdBankLevelDetail.onlinepayment_max);return{id:b.pgindex,name:b.bankaccountname,amountList:q,min:o,max:l}});return{id:s.bankindex??0,name:s.banknameenglish??"",amountList:[],min:0,max:0,gateway:[L,...x]}}),requiredField:{deposit_bank:!1,deposit_datetime:!1,deposit_detail:!1,deposit_method:!1,depositor:!1,uploadReceipt:!1}}:$,ae=(e,t,n)=>{if(!n)return $;const c=k.auto;let s=[];const d=n.mdGatewayMinMax;if(t.bank.length>0&&n.mdPGSelection=="1")s=t.bank.map(p=>{const{amountList:_,minAmount:h,maxAmount:v}=j(p.minTransaction??0,p.maxTransaction??0,n.mdBankLevelDetail.onlinepayment_min,n.mdBankLevelDetail.onlinepayment_max);return{id:p.pgindex,name:p.bankaccountname||"",amountList:_,min:h,max:v}});else{let p="0.00",_="0.00";for(let a=0;a<d.length;a++)d[a].bankindex===e.toString()&&(p=d[a].min,_=d[a].max);const{amountList:h,minAmount:v,maxAmount:L}=j(Number(p),Number(_),n.mdBankLevelDetail.onlinepayment_min,n.mdBankLevelDetail.onlinepayment_max),x={id:0,name:"autoChannel",amountList:h,min:v,max:L};s.push(x)}return{id:e,name:"autoMethod",type:c,promo:I(t.promo),bank:s,requiredField:{deposit_bank:!1,deposit_datetime:!1,deposit_detail:!1,deposit_method:!1,depositor:!1,uploadReceipt:!1}}},ie=(e,t)=>{const n=k.fix;return{id:e,name:"fixAmountMethod",type:n,promo:I(t.promo),bank:t.bank.map(s=>{const d=s.amtlist.map(Number).sort((p,_)=>p-_);return{id:s.pgindex,name:s.name,amountList:s.amtlist,min:d.length>0?d[0]:0,max:d.length>0?d[d.length-1]:0}}),requiredField:{deposit_bank:!1,deposit_datetime:!1,deposit_detail:!1,deposit_method:!1,depositor:!1,uploadReceipt:!1}}},re=e=>e.map(t=>({alert:t.announcement_alert=="1",update_time:t.announcement_lastupdated,content:t.announcement_simplified})),le=e=>({username:e.username,birthday:e.mdUserDetail.dob,email:e.mdUserDetail.email,fullName:e.mdUserDetail.firstname,phoneNumber:e.mdUserDetail.mobileno,profilePicUrl:e.mdUserDetail.profile_pic}),ue=e=>e.mdGameListResult.map(t=>({code:t.code,id:t.id,name:t.name,nextPage:t.nextPage===1,list:t.mdPlatformProducts.map(n=>({id:Number(n.id),name:n.shortName,flag:n.flag,imageUrl:n.img,rate:"0.00"}))})),me=e=>({list:e.mdGrade.map(t=>({id:t.gradeindex,is_current_level:!1,name:t.grade_simplified,percentage:0,turnover:{isShow:!1,current:"0",total:t.min_activebet},deposit:{isShow:!1,current:"0",total:t.min_deposit},promo_list:t.promocash.filter(n=>n.isshow==1&&n.status=="1").map(n=>({name:n.promosimplified,min_deposit:n.min_deposit,promo_bonus:n.percentage,promo_limit:n.max_promo_amt,turnover_multiplier:n.multiply,type:n.promo_type})),benefit_list:t.benefit})),detail:[],bonus:{showMonthButton:!1,showWeekButton:!1,showDayButton:!1}}),ce=e=>({category:e.category.sort((t,n)=>t.sequence-n.sequence).map(t=>({id:t.catid,name:t.name})),list:e.list.sort((t,n)=>t.sequence-n.sequence).map(t=>{let n="";return t.stime!==""&&t.etime!==""&&(n=`${t.stime} - ${t.etime}`),t.stime!==""&&t.etime===""&&(n=t.stime),t.stime===""&&t.etime!==""&&(n=t.etime),{category_id:t.catid,img_url:t.banner,content:t.content,time:n,name:t.title}})}),de=e=>({showMonthButton:e.month===1,showWeekButton:e.week===1,showDayButton:e.day===1}),pe=e=>e.mdVipSetting.filter(n=>n.status==1).map(n=>({fieldName:n.fieldname,showName:n.showname})),fe=e=>({current_deposit:e.deposit,current_turnover:e.turnOver,current_grade_id:e.mdCurrentGrade.gradeindex,next_grade_id:e.mdNextGrade.gradeindex,percentage:Number(e.percentage)*100}),ge=e=>{let t=4;e.vipcalculation&&(t=Number(e.vipcalculation));let n=[];return e.extralivechat&&(n=JSON.parse(e.extralivechat)),{vip_calculation:t,livechat:n.filter(c=>c.status===1).map(c=>({name:c.name,image_url:c.imgname,url:c.url})),mobileValidate:e.mobilevalidate?e.mobilevalidate=="1":!1}},be=e=>{let t=[];e.mobileBanner&&(t=e.mobileBanner);let n=[];e.mobileAd&&(n=e.mobileAd);let c=[];return e.mobileAbout&&(c=e.mobileAbout),{banner:t.map(s=>`${s.imagepath}?${s.filemtime}`),ad:n.map(s=>`${s.imagepath}?${s.filemtime}`),about:c.map(s=>({name:s.name,content:s.content}))}},ye=e=>e.data.filter(t=>t.status==="1").map(t=>({code:t.area_code,regex:t.regex,value:t.value})),_e=e=>e,he=e=>{let t=null;return e?e.status!=1?t=0:t=e.mainwallet:t=0,{amount:t}},ve=e=>e.data.filter(t=>t.status=="1").map(t=>({name:t.title,icon_url:t.flag_icon,code:t.code})),xe=e=>(console.log(e),{name:""}),Se=e=>e.data.filter(t=>t.company_status==1).map(t=>({id:t.company_id,name:t.company_name,date:[]})),Le=e=>e.data.map(t=>({id:t.key,date:t.draw_date.map(n=>Te(n.draw_tmactive))}));function Te(e){const t=new Date(e*1e3),n=t.getFullYear(),c=("0"+(t.getMonth()+1)).slice(-2),s=("0"+t.getDate()).slice(-2);return`${n}-${c}-${s}`}const Re=e=>e.data.map(t=>({id:t.company_id,list:t.drawCount.map(n=>({combination:n.combination_combination,total:n.total}))})),ke=e=>e.data.map(t=>({id:t.company_id,resultByDateList:t.draws.map(n=>{const c=n.results.filter(a=>a.combination_dimension==3).map(a=>a.combination_combination),s=n.results.filter(a=>a.combination_dimension==4&&a.combination_position==1).map(a=>a.combination_combination),d=n.results.filter(a=>a.combination_dimension==4&&a.combination_position==2).map(a=>a.combination_combination),y=n.results.filter(a=>a.combination_dimension==4&&a.combination_position==3).map(a=>a.combination_combination),p=n.results.filter(a=>a.combination_dimension==4&&a.combination_position==4).map(a=>a.combination_combination),_=n.results.filter(a=>a.combination_dimension==4&&a.combination_position==5).map(a=>a.combination_combination),h=n.results.filter(a=>a.combination_dimension==5&&a.combination_position==1).map(a=>a.combination_combination),v=n.results.filter(a=>a.combination_dimension==5).map(a=>a.combination_combination),L=n.results.filter(a=>a.combination_dimension==6&&a.combination_position==1).map(a=>a.combination_combination),x=n.results.filter(a=>a.combination_dimension==6).map(a=>a.combination_combination);return{date:n.date,3:c,4:{1:s,2:d,3:y,4:p,5:_},5:{1:h,all:v},6:{1:L,all:x}}})})),J=Object.freeze(Object.defineProperty({__proto__:null,post:async e=>{var t,n,c,s,d,y,p,_,h,v,L;try{e.findIndex(l=>l.name===m.vipList)!==-1&&e.push({name:m.vipBonus,query:""},{name:m.vipFieldStatus,query:""},{name:m.vipStatus,query:""},{name:m.getSetting,query:JSON.stringify({name:["vipcalculation"]})}),e.findIndex(l=>l.name===m.gameList)!==-1&&e.push({name:m.getPlatformTurnoverRate,query:""});const b=e.findIndex(l=>l.name===m.getFourDimensionData);b!==-1&&e[b].query==""&&(e.splice(b),e.push({name:m.getFourDimensionData,query:JSON.stringify({action:"getCompany",native:"1"})},{name:m.getFourDimensionData,query:JSON.stringify({action:"searchResultDate",limit:100,company:[],native:"1",splitCompany:"1"})}));const F={requests:e.map(l=>({name:l.name,query:btoa(l.query)}))},q=await B.post("/jwt",te(JSON.stringify(F))),o={status:200,message:"",result:{}};for(const l of q.data.responses){l.error!=null&&l.error.code!=200&&(o.status=l.error.code,o.message=l.error.message);const f=l.attributes!==null&&l.attributes!==void 0?ne(l.attributes):null,i=l.name,r=f?JSON.parse(f):null;if(!r)o.result[i]=null;else switch(i){case m.announcement:o.result[i]=re(r);break;case m.gameList:o.result[i]=ue(r);break;case m.cmsList:o.result[i]=be(r);break;case m.paymentsProvider:o.result[i]=oe(r);break;case m.getUserProfile:o.result[i]=le(r);break;case m.vipList:o.result[i]=me(r);break;case m.vipBonus:o.result[i]=de(r);break;case m.vipFieldStatus:o.result[i]=pe(r);break;case m.vipStatus:o.result[i]=fe(r);break;case m.promotion:o.result[i]=ce(r);break;case m.getSetting:o.result[i]=ge(r);break;case m.getCountryMobile:o.result[i]=ye(r);break;case m.getPlatformTurnoverRate:o.result[i]=_e(r);break;case m.mainWallet:o.result[i]=he(r);break;case m.getLanguageSetting:o.result[i]=ve(r);break;case m.getFourDimensionData:o.result[i]=xe(r);break;case m.getCompany:o.result[i]=Se(r);break;case m.searchResultDate:o.result[i]=Le(r);break;case m.searchHot:o.result[i]=Re(r);break;case m.searchByDate:o.result[i]=ke(r);break}}if(m.vipList in o.result&&((t=o.result)!=null&&t.vipList)){const l=o.result.vipList;let f=4;if(m.getSetting in o.result&&((n=o.result)!=null&&n.getSetting&&(f=o.result.getSetting.vip_calculation),delete o.result.getSetting),m.vipBonus in o.result&&((c=o.result)!=null&&c.vipBonus&&(l.bonus=o.result.vipBonus),delete o.result.vipBonus),m.vipStatus in o.result){if((s=o.result)!=null&&s.vipStatus){const i=o.result.vipStatus,{current_grade_id:r,current_deposit:R,current_turnover:M,percentage:A}=i,P=l.list.findIndex(S=>S.id===r);l.list=l.list.map((S,O)=>{const C=O===P;let N="0",u="0",G=0;return C?(N=`${Math.min(Number(R),Number(S.deposit.total))}`,u=`${Math.min(Number(M),Number(S.turnover.total))}`,G=A):O<P?(N=S.deposit.total,u=S.turnover.total,G=1):O>P&&(N="0.00",u="0.00",G=0),{...S,is_current_level:C,deposit:{...S.deposit,isShow:f===1||f===3||f===4,current:N},turnover:{...S.turnover,isShow:f===2||f===3||f===4,current:u},percentage:G}})}delete o.result.vipStatus}if(m.vipFieldStatus in o.result){if((d=o.result)!=null&&d.vipFieldStatus){const i=o.result.vipFieldStatus,r=[];r.push({name:"",code:"vipLevel",value:l.list.map(u=>u.name)});const R=i.findIndex(u=>u.fieldName=="upgrade_bonus");R>-1&&r.push({name:i[R].showName,code:"",value:l.list.map(u=>u.benefit_list.upgrade.bonus)});const M=i.findIndex(u=>u.fieldName=="upgrade_bonus_multiply");M>-1&&r.push({name:i[M].showName,code:"",value:l.list.map(u=>u.benefit_list.upgrade.turnover)});const A=i.findIndex(u=>u.fieldName=="monthly_bonus");A>-1&&r.push({name:i[A].showName,code:"",value:l.list.map(u=>u.benefit_list.monthly.bonus)});const P=i.findIndex(u=>u.fieldName=="monthly_bonus_multiply");P>-1&&r.push({name:i[P].showName,code:"",value:l.list.map(u=>u.benefit_list.monthly.turnover)});const S=i.findIndex(u=>u.fieldName=="weekly_bonus");S>-1&&r.push({name:i[S].showName,code:"",value:l.list.map(u=>u.benefit_list.weekly.bonus)});const O=i.findIndex(u=>u.fieldName=="weekly_bonus_multiply");O>-1&&r.push({name:i[O].showName,code:"",value:l.list.map(u=>u.benefit_list.weekly.turnover)});const C=i.findIndex(u=>u.fieldName=="daily_bonus");C>-1&&r.push({name:i[C].showName,code:"",value:l.list.map(u=>u.benefit_list.daily.bonus)});const N=i.findIndex(u=>u.fieldName=="daily_bonus_multiply");N>-1&&r.push({name:i[N].showName,code:"",value:l.list.map(u=>u.benefit_list.daily.turnover)}),(f===1||f===3||f===4)&&r.push({name:"",code:"detail_deposit",value:l.list.map(u=>u.deposit.total)}),(f===2||f===3||f===4)&&r.push({name:"",code:"detail_turnover",value:l.list.map(u=>u.turnover.total)}),l.detail=r}delete o.result.vipFieldStatus}o.result.vipList=l}if(m.gameList in o.result&&((y=o.result)!=null&&y.gameList)){const l=o.result.gameList;if(m.getPlatformTurnoverRate in o.result&&((p=o.result)!=null&&p.getPlatformTurnoverRate)){const f=o.result.getPlatformTurnoverRate;l.forEach(i=>{i.list=i.list.map(r=>{const R=f.find(M=>M.id===r.id);return{...r,rate:(R==null?void 0:R.percentage)??"0.00"}})}),delete o.result.getPlatformTurnoverRate}o.result.gameList=l}if(m.getCompany in o.result&&((_=o.result)!=null&&_.getCompany)){const l=o.result.getCompany;if(m.searchResultDate in o.result&&(h=o.result)!=null&&h.searchResultDate){const f=o.result.searchResultDate;l.forEach(i=>{const r=f.find(R=>R.id==i.id);r&&(i.date=r==null?void 0:r.date)}),delete o.result.searchResultDate}o.result.getCompany=l}return o}catch(x){return D.isAxiosError(x)?{status:((v=x.response)==null?void 0:v.status)||600,message:JSON.stringify((L=x.response)==null?void 0:L.data),result:{}}:(console.error(x),{status:x.status||500,message:x.message,result:{}})}}},Symbol.toStringTag,{value:"Module"})),W=Object.freeze(Object.defineProperty({__proto__:null,call:async(e,t)=>{try{const n={status:200,message:""};return await B.post("/auth/sesh",JSON.stringify({usr:e,pwd:t})),n}catch(n){return console.error(`login: ${JSON.stringify(n)}`),{status:n.status||500,message:n.message}}}},Symbol.toStringTag,{value:"Module"})),V=Object.freeze(Object.defineProperty({__proto__:null,call:async()=>{try{const e={status:200,message:""};return await B.post("/auth/sesh/logout"),e}catch(e){return console.error(`login: ${JSON.stringify(e)}`),{status:e.status||500,message:e.message}}}},Symbol.toStringTag,{value:"Module"})),w=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),H=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Y=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),K=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Q=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),X=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Z=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),ee=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Ne={api:J,loginApi:W,logoutApi:V,apiType:U,loginType:w,logoutType:H,announcementType:Y,paymentsProviderType:z,gameListType:K,vipListType:Q,promotionType:X,cmsListType:Z,mainWalletType:ee},De={install(e){e.config.globalProperties.$library=Ne}};g.Repository=De,g.announcementType=Y,g.api=J,g.apiType=U,g.cmsListType=Z,g.gameListType=K,g.loginApi=W,g.loginType=w,g.logoutApi=V,g.logoutType=H,g.mainWalletType=ee,g.paymentsProviderType=z,g.promotionType=X,g.vipListType=Q,Object.defineProperty(g,Symbol.toStringTag,{value:"Module"})});
@@ -1 +1 @@
1
- {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/api/api.ts"],"names":[],"mappings":"AAEA,OAAO,EAAO,cAAc,EAAiB,cAAc,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AA+BnF,eAAO,MAAM,IAAI,GAAU,CAAC,SAAS,MAAM,cAAc,YAC7C,cAAc,CAAC,CAAC,CAAC,EAAE,KAC5B,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CA6SnB,CAAA"}
1
+ {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/api/api.ts"],"names":[],"mappings":"AAEA,OAAO,EAAO,cAAc,EAAiB,cAAc,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAgCnF,eAAO,MAAM,IAAI,GAAU,CAAC,SAAS,MAAM,cAAc,YAC7C,cAAc,CAAC,CAAC,CAAC,EAAE,KAC5B,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAuanB,CAAA"}
@@ -18,6 +18,7 @@ import { getCompanyResponse } from '../model/getCompany/type';
18
18
  import { searchResultDateResponse } from '../model/searchResultDate/type';
19
19
  import { searchHotResponse } from '../model/searchHot/type';
20
20
  import { searchByDateResponse } from '../model/searchByDate/type';
21
+ import { VipFieldStatusResponse } from '../model/vipFieldStatus/type';
21
22
 
22
23
  export declare enum Api {
23
24
  announcement = "announcement",
@@ -52,7 +53,7 @@ export type ApiResponseMap = {
52
53
  [Api.vipList]: VipListResponse;
53
54
  [Api.vipStatus]: VipStatusResponse;
54
55
  [Api.vipBonus]: VipBonusResponse;
55
- [Api.vipFieldStatus]: VipListResponse;
56
+ [Api.vipFieldStatus]: VipFieldStatusResponse;
56
57
  [Api.promotion]: PromotionResponse;
57
58
  [Api.getSetting]: GetSettingResponse;
58
59
  [Api.getCountryMobile]: getCountryMobileResponse;
@@ -1 +1 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/api/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAA;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAA;AAC/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAA;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AACxD,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAA;AACxE,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAA;AACtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAC1D,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAA;AACjE,OAAO,EA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M,cAAc,IAAI;KACrD,CAAC,IAAI,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,GAAG,IAAI;CACnC,CAAA;AAED,MAAM,WAAW,aAAc,SAAQ,KAAK;IAC1C,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB"}
@@ -1,6 +1,6 @@
1
1
  import { VipFieldStatusResponse } from './type';
2
2
 
3
- export declare const getVipFieldStatusResponse: (raw: RawVipFieldStatusResponse) => VipFieldStatusResponse[];
3
+ export declare const getVipFieldStatusResponse: (raw: RawVipFieldStatusResponse) => VipFieldStatusResponse;
4
4
  type RawVipFieldStatusResponse = {
5
5
  mdVipSetting: {
6
6
  fieldname: string;
@@ -1 +1 @@
1
- {"version":3,"file":"getVipFieldStatusResponse.d.ts","sourceRoot":"","sources":["../../../src/model/vipFieldStatus/getVipFieldStatusResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,QAAQ,CAAA;AAE/C,eAAO,MAAM,yBAAyB,QAC/B,yBAAyB,KAC7B,sBAAsB,EAUxB,CAAA;AAED,KAAK,yBAAyB,GAAG;IAC/B,YAAY,EAAE;QACZ,SAAS,EAAE,MAAM,CAAA;QACjB,QAAQ,EAAE,MAAM,CAAA;QAChB,WAAW,EAAE,MAAM,CAAA;QACnB,MAAM,EAAE,MAAM,CAAA;KACf,EAAE,CAAA;CACJ,CAAA"}
1
+ {"version":3,"file":"getVipFieldStatusResponse.d.ts","sourceRoot":"","sources":["../../../src/model/vipFieldStatus/getVipFieldStatusResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,QAAQ,CAAA;AAE/C,eAAO,MAAM,yBAAyB,QAC/B,yBAAyB,KAC7B,sBAUF,CAAA;AAED,KAAK,yBAAyB,GAAG;IAC/B,YAAY,EAAE;QACZ,SAAS,EAAE,MAAM,CAAA;QACjB,QAAQ,EAAE,MAAM,CAAA;QAChB,WAAW,EAAE,MAAM,CAAA;QACnB,MAAM,EAAE,MAAM,CAAA;KACf,EAAE,CAAA;CACJ,CAAA"}
@@ -1,4 +1,5 @@
1
1
  export type VipFieldStatusResponse = {
2
- name: string;
3
- };
2
+ fieldName: string;
3
+ showName: string;
4
+ }[];
4
5
  //# sourceMappingURL=type.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../src/model/vipFieldStatus/type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,sBAAsB,GAAG;IACnC,IAAI,EAAE,MAAM,CAAA;CACb,CAAA"}
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../src/model/vipFieldStatus/type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,sBAAsB,GAAG;IACnC,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,MAAM,CAAA;CACjB,EAAE,CAAA"}
@@ -23,7 +23,7 @@ type MdGrade = {
23
23
  check_activebet: string;
24
24
  auto_upgrade: string;
25
25
  promocash: PromoCash[];
26
- benefit: Benefit[];
26
+ benefit: Benefit;
27
27
  };
28
28
  type Benefit = {
29
29
  daily: {
@@ -1 +1 @@
1
- {"version":3,"file":"getVipListResponse.d.ts","sourceRoot":"","sources":["../../../src/model/vipList/getVipListResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAA;AAExC,eAAO,MAAM,kBAAkB,QAAS,kBAAkB,KAAG,eAwC5D,CAAA;AAED,KAAK,kBAAkB,GAAG;IACxB,OAAO,EAAE,OAAO,EAAE,CAAA;IAClB,UAAU,EAAE,MAAM,EAAE,CAAA;CACrB,CAAA;AAED,KAAK,OAAO,GAAG;IACb,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,aAAa,EAAE,MAAM,CAAA;IACrB,gBAAgB,EAAE,MAAM,CAAA;IACxB,iBAAiB,EAAE,MAAM,CAAA;IACzB,MAAM,EAAE,MAAM,CA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AAA;IACnB,oBAAoB,EAAE,MAAM,CAAA;IAC5B,YAAY,EAAE,MAAM,CAAA;IACpB,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAA;IAChC,aAAa,EAAE,MAAM,CAAA;IACrB,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAA;IAC/B,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAA;IAC/B,aAAa,EAAE,MAAM,CAAA;CACtB,CAAA"}
1
+ {"version":3,"file":"getVipListResponse.d.ts","sourceRoot":"","sources":["../../../src/model/vipList/getVipListResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAA;AAExC,eAAO,MAAM,kBAAkB,QAAS,kBAAkB,KAAG,eAwC5D,CAAA;AAED,KAAK,kBAAkB,GAAG;IACxB,OAAO,EAAE,OAAO,EAAE,CAAA;IAClB,UAAU,EAAE,MAAM,EAAE,CAAA;CACrB,CAAA;AAED,KAAK,OAAO,GAAG;IACb,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,aAAa,EAAE,MAAM,CAAA;IACrB,gBAAgB,EAAE,MAAM,CAAA;IACxB,iBAAiB,EAAE,MAAM,CAAA;IACzB,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;IAChB,YAAY,EAAE,MAAM,CAAA;IACpB,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,MAAM,CAAA;IACnB,aAAa,EAAE,MAAM,CAAA;IACrB,eAAe,EAAE,MAAM,CAAA;IACvB,YAAY,EAAE,MAAM,CAAA;IACpB,SAAS,EAAE,SAAS,EAAE,CAAA;IACtB,OAAO,EAAE,OAAO,CAAA;CACjB,CAAA;AAED,KAAK,OAAO,GAAG;IACb,KAAK,EAAE;QACL,K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ACpB,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,MAAM,CAAA;IAClB,YAAY,EAAE,MAAM,CAAA;IACpB,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,EAAE,MAAM,CAAA;IACnB,cAAc,EAAE,MAAM,CAAA;IACtB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAA;IAClB,WAAW,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,MAAM,CAAA;IAClB,cAAc,EAAE,MAAM,CAAA;IACtB,aAAa,EAAE,MAAM,CAAA;IACrB,UAAU,EAAE,MAAM,CAAA;IAClB,iBAAiB,EAAE,MAAM,CAAA;IACzB,eAAe,EAAE,MAAM,CAAA;IACvB,aAAa,EAAE,MAAM,CAAA;IACrB,sBAAsB,EAAE,MAAM,CAAA;IAC9B,UAAU,EAAE,MAAM,CAAA;IAClB,aAAa,EAAE,MAAM,CAAA;IACrB,sBAAsB,EAAE,MAAM,CAAA;IAC9B,YAAY,EAAE,MAAM,CAAA;IACpB,qBAAqB,EAAE,MAAM,CAAA;IAC7B,WAAW,EAAE,MAAM,CAAA;IACnB,oBAAoB,EAAE,MAAM,CAAA;IAC5B,YAAY,EAAE,MAAM,CAAA;IACpB,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAA;IAChC,aAAa,EAAE,MAAM,CAAA;IACrB,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAA;IAC/B,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAA;IAC/B,aAAa,EAAE,MAAM,CAAA;CACtB,CAAA"}
@@ -47,13 +47,18 @@ export type VipListResponse = {
47
47
  turnover: string;
48
48
  turnover_name: string;
49
49
  };
50
- }[];
50
+ };
51
51
  }[];
52
- detail: string[];
52
+ detail: VipDetail;
53
53
  bonus: {
54
54
  showMonthButton: boolean;
55
55
  showWeekButton: boolean;
56
56
  showDayButton: boolean;
57
57
  };
58
58
  };
59
+ export type VipDetail = {
60
+ code: string;
61
+ name: string;
62
+ value: string[];
63
+ }[];
59
64
  //# sourceMappingURL=type.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../src/model/vipList/type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,EAAE;QACJ,EAAE,EAAE,MAAM,CAAA;QACV,gBAAgB,EAAE,OAAO,CAAA;QACzB,IAAI,EAAE,MAAM,CAAA;QACZ,UAAU,EAAE,MAAM,CAAA;QAClB,QAAQ,EAAE;YACR,MAAM,EAAE,OAAO,CAAA;YACf,OAAO,EAAE,MAAM,CAAA;YACf,KAAK,EAAE,MAAM,CAAA;SACd,CAAA;QACD,OAAO,EAAE;YACP,MAAM,EAAE,OAAO,CAAA;YACf,OAAO,EAAE,MAAM,CAAA;YACf,KAAK,EAAE,MAAM,CAAA;SACd,CAAA;QACD,UAAU,EAAE;YACV,IAAI,EAAE,MAAM,CAAA;YACZ,WAAW,EAAE,MAAM,CAAA;YACnB,WAAW,EAAE,MAAM,CAAA;YACnB,WAAW,EAAE,MAAM,CAAA;YACnB,mBAAmB,EAAE,MAAM,CAAA;YAC3B,IAAI,EAAE,MAAM,CAAA;SACb,EAAE,CAAA;QACH,YAAY,EAAE;YACZ,KAAK,EAAE;gBACL,KAAK,EAAE,MAAM,CAAA;gBACb,UAAU,EAAE,MAAM,CAAA;gBAClB,QAAQ,EAAE,MAAM,CAAA;gBAChB,aAAa,EAAE,MAAM,CAAA;aACtB,CAAA;YACD,OAAO,EAAE;gBACP,KAAK,EAAE,MAAM,CAAA;gBACb,UAAU,EAAE,MAAM,CAAA;gBAClB,QAAQ,EAAE,MAAM,CAAA;gBAChB,aAAa,EAAE,MAAM,CAAA;aACtB,CAAA;YACD,MAAM,EAAE;gBACN,KAAK,EAAE,MAAM,CAAA;gB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E,MAAM,CAAA;gBAClB,QAAQ,EAAE,MAAM,CAAA;gBAChB,aAAa,EAAE,MAAM,CAAA;aACtB,CAAA;YACD,OAAO,EAAE;gBACP,KAAK,EAAE,MAAM,CAAA;gBACb,UAAU,EAAE,MAAM,CAAA;gBAClB,QAAQ,EAAE,MAAM,CAAA;gBAChB,aAAa,EAAE,MAAM,CAAA;aACtB,CAAA;YACD,MAAM,EAAE;gBACN,KAAK,EAAE,MAAM,CAAA;gBACb,UAAU,EAAE,MAAM,CAAA;gBAClB,QAAQ,EAAE,MAAM,CAAA;gBAChB,aAAa,EAAE,MAAM,CAAA;aACtB,CAAA;YACD,OAAO,EAAE;gBACP,KAAK,EAAE,MAAM,CAAA;gBACb,UAAU,EAAE,MAAM,CAAA;gBAClB,QAAQ,EAAE,MAAM,CAAA;gBAChB,aAAa,EAAE,MAAM,CAAA;aACtB,CAAA;SACF,CAAA;KACF,EAAE,CAAA;IACH,MAAM,EAAE,SAAS,CAAA;IACjB,KAAK,EAAE;QACL,eAAe,EAAE,OAAO,CAAA;QACxB,cAAc,EAAE,OAAO,CAAA;QACvB,aAAa,EAAE,OAAO,CAAA;KACvB,CAAA;CACF,CAAA;AAED,MAAM,MAAM,SAAS,GAAG;IACtB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,EAAE,CAAA;CAChB,EAAE,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "60p82u21t54k",
3
- "version": "0.0.56",
3
+ "version": "0.0.57",
4
4
  "description": "A description of your library",
5
5
  "main": "dist/60p82u21t54k.umd.js",
6
6
  "module": "dist/60p82u21t54k.es.js",