60p82u21t54k 0.0.34 → 0.0.36
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.
- package/dist/60p82u21t54k.es.js +342 -296
- package/dist/60p82u21t54k.umd.js +1 -1
- package/dist/api/api.d.ts.map +1 -1
- package/dist/index.d.ts +11 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/model/announcement/getAnnouncementResponse.d.ts +7 -1
- package/dist/model/announcement/getAnnouncementResponse.d.ts.map +1 -1
- package/dist/model/deposit/getPaymentsProviderResponse.d.ts +163 -1
- package/dist/model/deposit/getPaymentsProviderResponse.d.ts.map +1 -1
- package/dist/model/gameList/getGameListResponse.d.ts +38 -1
- package/dist/model/gameList/getGameListResponse.d.ts.map +1 -1
- package/dist/model/gameList/rawType.d.ts +0 -37
- package/dist/model/gameList/rawType.d.ts.map +1 -1
- package/dist/{api → model/login}/loginApi.d.ts +1 -1
- package/dist/model/login/loginApi.d.ts.map +1 -0
- package/dist/model/logout/logoutApi.d.ts +4 -0
- package/dist/model/logout/logoutApi.d.ts.map +1 -0
- package/dist/model/promotion/getPromotionResponse.d.ts +32 -1
- package/dist/model/promotion/getPromotionResponse.d.ts.map +1 -1
- package/dist/model/userProfile/getUserProfileResponse.d.ts +18 -1
- package/dist/model/userProfile/getUserProfileResponse.d.ts.map +1 -1
- package/dist/model/vipBonus/getVipBonusResponse.d.ts +13 -0
- package/dist/model/vipBonus/getVipBonusResponse.d.ts.map +1 -0
- package/dist/model/vipBonus/type.d.ts +0 -2
- package/dist/model/vipBonus/type.d.ts.map +1 -1
- package/dist/model/vipFieldStatus/getVipFieldStatusResponse.d.ts +13 -0
- package/dist/model/vipFieldStatus/getVipFieldStatusResponse.d.ts.map +1 -0
- package/dist/model/vipFieldStatus/type.d.ts +4 -0
- package/dist/model/vipFieldStatus/type.d.ts.map +1 -0
- package/dist/model/vipList/getVipListResponse.d.ts +107 -2
- package/dist/model/vipList/getVipListResponse.d.ts.map +1 -1
- package/dist/model/vipList/type.d.ts +50 -10
- package/dist/model/vipList/type.d.ts.map +1 -1
- package/dist/model/vipStatus/{rawType.d.ts → getVipStatusResponse.d.ts} +4 -1
- package/dist/model/vipStatus/getVipStatusResponse.d.ts.map +1 -0
- package/dist/model/vipStatus/type.d.ts +4 -8
- package/dist/model/vipStatus/type.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/api/loginApi.d.ts.map +0 -1
- package/dist/api/logoutApi.d.ts +0 -4
- package/dist/api/logoutApi.d.ts.map +0 -1
- package/dist/model/announcement/rawType.d.ts +0 -7
- package/dist/model/announcement/rawType.d.ts.map +0 -1
- package/dist/model/deposit/rawType.d.ts +0 -170
- package/dist/model/deposit/rawType.d.ts.map +0 -1
- package/dist/model/promotion/rawType.d.ts +0 -37
- package/dist/model/promotion/rawType.d.ts.map +0 -1
- package/dist/model/userProfile/rawType.d.ts +0 -18
- package/dist/model/userProfile/rawType.d.ts.map +0 -1
- package/dist/model/vipBonus/rawType.d.ts +0 -9
- package/dist/model/vipBonus/rawType.d.ts.map +0 -1
- package/dist/model/vipList/rawType.d.ts +0 -79
- package/dist/model/vipList/rawType.d.ts.map +0 -1
- package/dist/model/vipStatus/rawType.d.ts.map +0 -1
package/dist/60p82u21t54k.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(u,b){typeof exports=="object"&&typeof module<"u"?b(exports,require("axios")):typeof define=="function"&&define.amd?define(["exports","axios"],b):(u=typeof globalThis<"u"?globalThis:u||self,b(u["60p82u21t54k"]={},u.axios))})(this,function(u,b){"use strict";const h=b.create({baseURL:"/graph",timeout:5e3,headers:{"Content-Type":"application/json"}});h.interceptors.request.use(t=>t,t=>(console.error("Error request:",t.response),Promise.reject(t))),h.interceptors.response.use(t=>t,t=>{const e={status:null,message:"An error occurred"};return t.response?(e.status=t.response.status,e.message=t.response.data.message||t.response.statusText,console.error("Error response:",JSON.stringify(e)),t.response.status===401?console.error("Unauthorized access - redirecting to login."):t.response.status===404?console.error("Resource not found."):t.response.status>=500&&console.error("Server error. Please try again later.")):t.request?console.error("No response received:",t.request):console.error("Error setting up request:",t.message),Promise.reject(e)});const N=t=>new TextEncoder().encode(t),A=t=>{try{return atob(t)}catch(e){return console.error("Failed to decode Base64:",e),""}};var f=(t=>(t.announcement="announcement",t.gameList="gameList",t.fishGameList="fishGameList",t.cmsList="cmsList",t.paymentsProvider="paymentsProvider",t.getUserProfile="getUserProfile",t.vipList="vipList",t.vipStatus="vipStatus",t.vipBonus="vipBonus",t.vipFieldStatus="vipFieldStatus",t.promotion="promotion",t))(f||{});const q=Object.freeze(Object.defineProperty({__proto__:null,Api:f},Symbol.toStringTag,{value:"Module"}));var g=(t=>(t.default="default",t.pay="pay",t.auto="auto",t.fix="fix",t.manual="manual",t.unknown="unknown",t))(g||{});const B=Object.freeze(Object.defineProperty({__proto__:null,PaymentType:g},Symbol.toStringTag,{value:"Module"})),P=t=>t.mdPaymentChannels.map(e=>{const n=[];switch(e.name){case g.default:n.push(k(e.paymentmethod.manual,t));break;case g.pay:n.push(D(e.paymentmethod.onlinebanking,t));break;default:if(e.paymentmethod.auto.bank.length>0&&n.push($(e.bankid??0,e.paymentmethod.auto,t)),e.paymentmethod.manual.bank.length>0){let o=!1;for(let s=0;s<e.paymentmethod.manual.bank.length;s++){const i=e.paymentmethod.manual.bank[s];if(i.list&&i.list.length>0){o=!0;break}}o&&n.push(k(e.paymentmethod.manual,t))}e.paymentmethod.fixamount.bank.length>0&&n.push(U(e.bankid??0,e.paymentmethod.fixamount))}return{name:e.label,imageUrl:`/image/game/native/deposit/sidemenu/${e.name}.png?${t.systemtime}`,paymentList:n}}),M={id:0,name:"",type:g.unknown,promo:[],bank:[],requiredField:{deposit_bank:!1,deposit_datetime:!1,deposit_detail:!1,deposit_method:!1,depositor:!1,uploadReceipt:!1}},v=t=>{const e={id:0,name:"excludePromo",value:"0",disabled:!0},n=t.map((o,s)=>({id:s+1,name:o.promodesc,value:o.promoindex.toString(),disabled:!1}));return[e,...n]},x=(t,e,n,o)=>{let s,i;n>0?s=t>0?Math.max(n,t):n:s=Math.max(t,0),o>0?i=e>0?Math.min(o,e):o:i=Math.max(e,0);const r=Math.round(s);let a=1e3;i<a&&(a=Math.round(i));const d=a-r;let l="",m="";if(d>0){let p=Math.round((a-r)*.25).toString().split(""),y=[];for(const c of p)c!==""&&y.push(c);for(let c=0;c<y.length;c++)c===0?l+=(parseInt(y[c])+1).toString():l+="0";p=Math.round((a-r)*.5).toString().split(""),y=[];for(const c of p)c!==""&&y.push(c);for(let c=0;c<y.length;c++)c===0?m+=(parseInt(y[c])+1).toString():m+="0"}else l=a.toString(),m=a.toString();return{amountList:[r.toString(),l,m,a.toString()],minAmount:r,maxAmount:i}},k=(t,e)=>e?{id:0,name:"manualMethod",type:g.manual,promo:v(t.promo),bank:t.bank.map(s=>{const i=s.list&&s.list.length>0?s.list[0].mintransaction??"0.00":"0.00",r=s.list&&s.list.length>0?s.list[0].maxtransaction??"0.00":"0.00",{amountList:a,minAmount:d,maxAmount:l}=x(Number(i),Number(r),e.mdBankLevelDetail.deposit_min,e.mdBankLevelDetail.deposit_max);return e.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:a,min:d,max:l}}),requiredField:{...e.mdManualDepositRequireField,uploadReceipt:e.mdUploadReceipt}}:M,D=(t,e)=>e?{id:0,name:"onlineBankingMethod",type:g.pay,promo:v(t.promo),bank:t.banklist.map(s=>{let i="0.00",r="0.00";const a=s.bankindex??0;for(let p=0;p<e.mdGatewayMinMax.length;p++)e.mdGatewayMinMax[p].bankindex==a.toString()&&(i=e.mdGatewayMinMax[p].min,r=e.mdGatewayMinMax[p].max);const{amountList:d,minAmount:l,maxAmount:m}=x(Number(i),Number(r),e.mdBankLevelDetail.onlinepayment_min,e.mdBankLevelDetail.onlinepayment_max),S={id:0,name:"autoChannel",amountList:d,min:l,max:m},L=s.pg.map(p=>{const y=p.mintransaction??"0.00",T=p.maxtransaction??"0.00",{amountList:R,minAmount:c,maxAmount:Z}=x(Number(y),Number(T),e.mdBankLevelDetail.onlinepayment_min,e.mdBankLevelDetail.onlinepayment_max);return{id:p.pgindex,name:p.bankaccountname,amountList:R,min:c,max:Z}});return{id:s.bankindex??0,name:s.banknameenglish??"",amountList:[],min:0,max:0,gateway:[S,...L]}}),requiredField:{deposit_bank:!1,deposit_datetime:!1,deposit_detail:!1,deposit_method:!1,depositor:!1,uploadReceipt:!1}}:M,$=(t,e,n)=>{if(!n)return M;const o=g.auto;let s=[];const i=n.mdGatewayMinMax;if(e.bank.length>0&&n.mdPGSelection=="1")s=e.bank.map(a=>{const{amountList:d,minAmount:l,maxAmount:m}=x(a.minTransaction??0,a.maxTransaction??0,n.mdBankLevelDetail.onlinepayment_min,n.mdBankLevelDetail.onlinepayment_max);return{id:a.pgindex,name:a.bankaccountname||"",amountList:d,min:l,max:m}});else{let a="0.00",d="0.00";for(let _=0;_<i.length;_++)i[_].bankindex===t.toString()&&(a=i[_].min,d=i[_].max);const{amountList:l,minAmount:m,maxAmount:S}=x(Number(a),Number(d),n.mdBankLevelDetail.onlinepayment_min,n.mdBankLevelDetail.onlinepayment_max),L={id:0,name:"autoChannel",amountList:l,min:m,max:S};s.push(L)}return{id:t,name:"autoMethod",type:o,promo:v(e.promo),bank:s,requiredField:{deposit_bank:!1,deposit_datetime:!1,deposit_detail:!1,deposit_method:!1,depositor:!1,uploadReceipt:!1}}},U=(t,e)=>{const n=g.fix;return{id:t,name:"fixAmountMethod",type:n,promo:v(e.promo),bank:e.bank.map(s=>{const i=s.amtlist.map(Number).sort((a,d)=>a-d);return{id:s.pgindex,name:s.name,amountList:s.amtlist,min:i.length>0?i[0]:0,max:i.length>0?i[i.length-1]:0}}),requiredField:{deposit_bank:!1,deposit_datetime:!1,deposit_detail:!1,deposit_method:!1,depositor:!1,uploadReceipt:!1}}},z=Object.freeze(Object.defineProperty({__proto__:null,getPaymentsProviderResponse:P},Symbol.toStringTag,{value:"Module"})),O=t=>t.map(e=>({alert:e.announcement_alert=="1",update_time:e.announcement_lastupdated,content:e.announcement_simplified})),G=Object.freeze(Object.defineProperty({__proto__:null,getAnnouncementResponse:O},Symbol.toStringTag,{value:"Module"})),C=t=>({username:t.username,birthday:t.mdUserDetail.dob,email:t.mdUserDetail.email,fullName:t.mdUserDetail.firstname,phoneNumber:t.mdUserDetail.mobileno,profilePicUrl:t.mdUserDetail.profile_pic}),j=t=>t.mdGameListResult.map(e=>({code:e.code,id:e.id,name:e.name,nextPage:e.nextPage===1,list:e.mdPlatformProducts.map(n=>({id:Number(n.id),name:n.shortName,flag:n.flag,imageUrl:n.img}))})),E=Object.freeze(Object.defineProperty({__proto__:null,getGameListResponse:j},Symbol.toStringTag,{value:"Module"})),F=t=>(console.table(t),t.mdGrade.map(e=>({name:e.grade_simplified,color_code:`#${e.colorcode}`,turnover:e.min_activebet,deposit:e.min_deposit,promo_list:e.promocash.filter(n=>n.isshow==1&&n.status=="1").map(n=>{let o="";switch(n.type){case"F":o="first_time";break;case"D":o="everyday";break;case"W":o="every_week";break;case"M":o="every_month";break;case"E":o="everytime";break;case"O":o="only_once";break;default:o="-";break}return{name:n.promosimplified,min_deposit:n.min_deposit,promo_bonus:n.percentage,promo_limit:n.max_promo_amt,turnover_multiplier:n.multiply,type:o}})}))),J=t=>({category:t.category.sort((e,n)=>e.sequence-n.sequence).map(e=>({id:e.catid,name:e.name})),list:t.list.sort((e,n)=>e.sequence-n.sequence).map(e=>{let n="";return e.stime!==""&&e.etime!==""&&(n=`${e.stime} - ${e.etime}`),e.stime!==""&&e.etime===""&&(n=e.stime),e.stime===""&&e.etime!==""&&(n=e.etime),{category_id:e.catid,img_url:e.banner,content:e.content,time:n,name:e.title}})}),I=Object.freeze(Object.defineProperty({__proto__:null,post:async t=>{var e,n;try{const s={requests:t.map(a=>({name:a.name,query:btoa(a.query)}))},i=await h.post("/jwt",N(JSON.stringify(s))),r={status:200,message:"",result:{}};for(const a of i.data.responses){const d=a.attributes!==null&&a.attributes!==void 0?A(a.attributes):null,l=a.name,m=d?JSON.parse(d):null;if(console.log(m),!m)r.result[l]=null;else switch(l){case f.announcement:r.result[l]=O(m);break;case f.gameList:r.result[l]=j(m);break;case f.cmsList:r.result[l]=m;break;case f.paymentsProvider:r.result[l]=P(m);break;case f.getUserProfile:r.result[l]=C(m);break;case f.vipList:r.result[l]=F(m);break;case f.promotion:r.result[l]=J(m);break}}return r}catch(o){return b.isAxiosError(o)?(console.error(o),{status:((e=o.response)==null?void 0:e.status)||500,message:JSON.stringify((n=o.response)==null?void 0:n.data),result:{}}):(console.error(o),{status:o.status||500,message:o.message,result:{}})}}},Symbol.toStringTag,{value:"Module"})),V=Object.freeze(Object.defineProperty({__proto__:null,call:async(t,e)=>{try{const n={status:200,message:""};return await h.post("/auth/sesh",JSON.stringify({usr:t,pwd:e})),n}catch(n){return console.error(`login: ${JSON.stringify(n)}`),{status:n.status||500,message:n.message}}}},Symbol.toStringTag,{value:"Module"})),W=Object.freeze(Object.defineProperty({__proto__:null,call:async()=>{try{const t={status:200,message:""};return await h.post("/auth/sesh/logout"),t}catch(t){return console.error(`login: ${JSON.stringify(t)}`),{status:t.status||500,message:t.message}}}},Symbol.toStringTag,{value:"Module"})),H=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"})),Y={install(){}};u.Repository=Y,u.announcementType=Q,u.api=I,u.apiType=q,u.gameListType=X,u.getAnnouncementResponse=G,u.getGameListResponse=E,u.getPaymentsProviderResponse=z,u.loginApi=V,u.loginType=H,u.logoutApi=W,u.logoutType=K,u.paymentsProviderType=B,Object.defineProperty(u,Symbol.toStringTag,{value:"Module"})});
|
|
1
|
+
(function(m,h){typeof exports=="object"&&typeof module<"u"?h(exports,require("axios")):typeof define=="function"&&define.amd?define(["exports","axios"],h):(m=typeof globalThis<"u"?globalThis:m||self,h(m["60p82u21t54k"]={},m.axios))})(this,function(m,h){"use strict";const v=h.create({baseURL:"/graph",timeout:5e3,headers:{"Content-Type":"application/json"}});v.interceptors.request.use(e=>e,e=>(console.error("Error request:",e.response),Promise.reject(e))),v.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 q=e=>new TextEncoder().encode(e),A=e=>{try{return atob(e)}catch(t){return console.error("Failed to decode Base64:",t),""}};var c=(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))(c||{});const $=Object.freeze(Object.defineProperty({__proto__:null,Api:c},Symbol.toStringTag,{value:"Module"}));var y=(e=>(e.default="default",e.pay="pay",e.auto="auto",e.fix="fix",e.manual="manual",e.unknown="unknown",e))(y||{});const z=Object.freeze(Object.defineProperty({__proto__:null,PaymentType:y},Symbol.toStringTag,{value:"Module"})),M=e=>e.mdPaymentChannels.map(t=>{const n=[];switch(t.name){case y.default:n.push(O(t.paymentmethod.manual,e));break;case y.pay:n.push(F(t.paymentmethod.onlinebanking,e));break;default:if(t.paymentmethod.auto.bank.length>0&&n.push(D(t.bankid??0,t.paymentmethod.auto,e)),t.paymentmethod.manual.bank.length>0){let r=!1;for(let o=0;o<t.paymentmethod.manual.bank.length;o++){const a=t.paymentmethod.manual.bank[o];if(a.list&&a.list.length>0){r=!0;break}}r&&n.push(O(t.paymentmethod.manual,e))}t.paymentmethod.fixamount.bank.length>0&&n.push(G(t.bankid??0,t.paymentmethod.fixamount))}return{name:t.label,imageUrl:`/image/game/native/deposit/sidemenu/${t.name}.png?${e.systemtime}`,paymentList:n}}),P={id:0,name:"",type:y.unknown,promo:[],bank:[],requiredField:{deposit_bank:!1,deposit_datetime:!1,deposit_detail:!1,deposit_method:!1,depositor:!1,uploadReceipt:!1}},x=e=>{const t={id:0,name:"excludePromo",value:"0",disabled:!0},n=e.map((r,o)=>({id:o+1,name:r.promodesc,value:r.promoindex.toString(),disabled:!1}));return[t,...n]},S=(e,t,n,r)=>{let o,a;n>0?o=e>0?Math.max(n,e):n:o=Math.max(e,0),r>0?a=t>0?Math.min(r,t):r:a=Math.max(t,0);const g=Math.round(o);let s=1e3;a<s&&(s=Math.round(a));const i=s-g;let u="",l="";if(i>0){let f=Math.round((s-g)*.25).toString().split(""),_=[];for(const p of f)p!==""&&_.push(p);for(let p=0;p<_.length;p++)p===0?u+=(parseInt(_[p])+1).toString():u+="0";f=Math.round((s-g)*.5).toString().split(""),_=[];for(const p of f)p!==""&&_.push(p);for(let p=0;p<_.length;p++)p===0?l+=(parseInt(_[p])+1).toString():l+="0"}else u=s.toString(),l=s.toString();return{amountList:[g.toString(),u,l,s.toString()],minAmount:g,maxAmount:a}},O=(e,t)=>t?{id:0,name:"manualMethod",type:y.manual,promo:x(e.promo),bank:e.bank.map(o=>{const a=o.list&&o.list.length>0?o.list[0].mintransaction??"0.00":"0.00",g=o.list&&o.list.length>0?o.list[0].maxtransaction??"0.00":"0.00",{amountList:s,minAmount:i,maxAmount:u}=S(Number(a),Number(g),t.mdBankLevelDetail.deposit_min,t.mdBankLevelDetail.deposit_max);return t.mdManualDepositRequireField.depositor=!0,{id:o.bankindex??0,bankAccountId:o.list&&o.list.length>0?o.list[0].bankaccountindex??0:0,name:o.list&&o.list.length>0?o.list[0].label??"":"",accountName:o.list&&o.list.length>0?o.list[0].bankaccountname??"":"",accountNo:o.list&&o.list.length>0?o.list[0].bankaccountno??"":"",qrcode:o.list&&o.list.length>0?o.list[0].bankaccountdesc:"",amountList:s,min:i,max:u}}),requiredField:{...t.mdManualDepositRequireField,uploadReceipt:t.mdUploadReceipt}}:P,F=(e,t)=>t?{id:0,name:"onlineBankingMethod",type:y.pay,promo:x(e.promo),bank:e.banklist.map(o=>{let a="0.00",g="0.00";const s=o.bankindex??0;for(let f=0;f<t.mdGatewayMinMax.length;f++)t.mdGatewayMinMax[f].bankindex==s.toString()&&(a=t.mdGatewayMinMax[f].min,g=t.mdGatewayMinMax[f].max);const{amountList:i,minAmount:u,maxAmount:l}=S(Number(a),Number(g),t.mdBankLevelDetail.onlinepayment_min,t.mdBankLevelDetail.onlinepayment_max),d={id:0,name:"autoChannel",amountList:i,min:u,max:l},L=o.pg.map(f=>{const _=f.mintransaction??"0.00",B=f.maxtransaction??"0.00",{amountList:N,minAmount:p,maxAmount:ie}=S(Number(_),Number(B),t.mdBankLevelDetail.onlinepayment_min,t.mdBankLevelDetail.onlinepayment_max);return{id:f.pgindex,name:f.bankaccountname,amountList:N,min:p,max:ie}});return{id:o.bankindex??0,name:o.banknameenglish??"",amountList:[],min:0,max:0,gateway:[d,...L]}}),requiredField:{deposit_bank:!1,deposit_datetime:!1,deposit_detail:!1,deposit_method:!1,depositor:!1,uploadReceipt:!1}}:P,D=(e,t,n)=>{if(!n)return P;const r=y.auto;let o=[];const a=n.mdGatewayMinMax;if(t.bank.length>0&&n.mdPGSelection=="1")o=t.bank.map(s=>{const{amountList:i,minAmount:u,maxAmount:l}=S(s.minTransaction??0,s.maxTransaction??0,n.mdBankLevelDetail.onlinepayment_min,n.mdBankLevelDetail.onlinepayment_max);return{id:s.pgindex,name:s.bankaccountname||"",amountList:i,min:u,max:l}});else{let s="0.00",i="0.00";for(let b=0;b<a.length;b++)a[b].bankindex===e.toString()&&(s=a[b].min,i=a[b].max);const{amountList:u,minAmount:l,maxAmount:d}=S(Number(s),Number(i),n.mdBankLevelDetail.onlinepayment_min,n.mdBankLevelDetail.onlinepayment_max),L={id:0,name:"autoChannel",amountList:u,min:l,max:d};o.push(L)}return{id:e,name:"autoMethod",type:r,promo:x(t.promo),bank:o,requiredField:{deposit_bank:!1,deposit_datetime:!1,deposit_detail:!1,deposit_method:!1,depositor:!1,uploadReceipt:!1}}},G=(e,t)=>{const n=y.fix;return{id:e,name:"fixAmountMethod",type:n,promo:x(t.promo),bank:t.bank.map(o=>{const a=o.amtlist.map(Number).sort((s,i)=>s-i);return{id:o.pgindex,name:o.name,amountList:o.amtlist,min:a.length>0?a[0]:0,max:a.length>0?a[a.length-1]:0}}),requiredField:{deposit_bank:!1,deposit_datetime:!1,deposit_detail:!1,deposit_method:!1,depositor:!1,uploadReceipt:!1}}},U=Object.freeze(Object.defineProperty({__proto__:null,getPaymentsProviderResponse:M},Symbol.toStringTag,{value:"Module"})),j=e=>e.map(t=>({alert:t.announcement_alert=="1",update_time:t.announcement_lastupdated,content:t.announcement_simplified})),C=Object.freeze(Object.defineProperty({__proto__:null,getAnnouncementResponse:j},Symbol.toStringTag,{value:"Module"})),E=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}),k=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}))})),I=Object.freeze(Object.defineProperty({__proto__:null,getGameListResponse:k},Symbol.toStringTag,{value:"Module"})),T=e=>({list:e.mdGrade.map(t=>({name:t.grade_simplified,color_code:`#${t.colorcode}`,turnover:t.min_activebet,deposit: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:{month:0,week:0,day:0},member_info:{id:0,deposit:"0",turnover:"0",percentage:0}}),J=Object.freeze(Object.defineProperty({__proto__:null,getVipListResponse:T},Symbol.toStringTag,{value:"Module"})),R=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}})}),V=Object.freeze(Object.defineProperty({__proto__:null,getPromotionResponse:R},Symbol.toStringTag,{value:"Module"})),H=e=>({month:e.month,week:e.week,day:e.day}),K=e=>e.mdVipSetting.filter(t=>{t.status==1}).map(t=>({name:t.showname})),Q=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}),W=Object.freeze(Object.defineProperty({__proto__:null,post:async e=>{var t,n;try{e.findIndex(i=>i.name===c.vipList)!==-1&&e.push({name:c.vipBonus,query:""},{name:c.vipFieldStatus,query:""},{name:c.vipStatus,query:""});const a={requests:e.map(i=>({name:i.name,query:btoa(i.query)}))},g=await v.post("/jwt",q(JSON.stringify(a))),s={status:200,message:"",result:{}};for(const i of g.data.responses){const u=i.attributes!==null&&i.attributes!==void 0?A(i.attributes):null,l=i.name,d=u?JSON.parse(u):null;if(!d)s.result[l]=null;else switch(l){case c.announcement:s.result[l]=j(d);break;case c.gameList:s.result[l]=k(d);break;case c.cmsList:s.result[l]=d;break;case c.paymentsProvider:s.result[l]=M(d);break;case c.getUserProfile:s.result[l]=E(d);break;case c.vipList:s.result[l]=T(d);break;case c.vipBonus:s.result[l]=H(d);break;case c.vipFieldStatus:s.result[l]=K(d);break;case c.vipStatus:s.result[l]=Q(d);break;case c.promotion:s.result[l]=R(d);break}}if(c.vipList in s.result&&s.result.vipList!==null){const i=s.result.vipList;if(c.vipBonus in s.result&&s.result.vipBonus!==null){const u=s.result.vipBonus;i.bonus=u,delete s.result.vipBonus}if(c.vipStatus in s.result&&s.result.vipStatus!==null){const u=s.result.vipStatus;i.member_info.id=u.current_grade_id,i.member_info.deposit=u.current_deposit,i.member_info.turnover=u.current_turnover,i.member_info.percentage=u.percentage,delete s.result.vipStatus}c.vipFieldStatus in s.result&&s.result.vipFieldStatus!=null&&delete s.result.vipFieldStatus,s.result.vipList=i}return s}catch(r){return h.isAxiosError(r)?(console.error(r),{status:((t=r.response)==null?void 0:t.status)||500,message:JSON.stringify((n=r.response)==null?void 0:n.data),result:{}}):(console.error(r),{status:r.status||500,message:r.message,result:{}})}}},Symbol.toStringTag,{value:"Module"})),X=Object.freeze(Object.defineProperty({__proto__:null,call:async(e,t)=>{try{const n={status:200,message:""};return await v.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"})),Y=Object.freeze(Object.defineProperty({__proto__:null,call:async()=>{try{const e={status:200,message:""};return await v.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"})),Z=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),w=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),ee=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),te=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),ne=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),se=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),oe={install(){}};m.Repository=oe,m.announcementType=ee,m.api=W,m.apiType=$,m.gameListType=te,m.getAnnouncementResponse=C,m.getGameListResponse=I,m.getPaymentsProviderResponse=U,m.getPromotionResponse=V,m.getVipListResponse=J,m.loginApi=X,m.loginType=Z,m.logoutApi=Y,m.logoutType=w,m.paymentsProviderType=z,m.promotionType=se,m.vipListType=ne,Object.defineProperty(m,Symbol.toStringTag,{value:"Module"})});
|
package/dist/api/api.d.ts.map
CHANGED
|
@@ -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;
|
|
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;AAenF,eAAO,MAAM,IAAI,GAAU,CAAC,SAAS,MAAM,cAAc,YAC7C,cAAc,CAAC,CAAC,CAAC,EAAE,KAC5B,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CA8HnB,CAAA"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as api from './api/api';
|
|
2
|
-
import * as loginApi from './
|
|
3
|
-
import * as logoutApi from './
|
|
2
|
+
import * as loginApi from './model/login/loginApi';
|
|
3
|
+
import * as logoutApi from './model/logout/logoutApi';
|
|
4
4
|
import * as apiType from './api/type';
|
|
5
5
|
import * as loginType from './model/login/type';
|
|
6
6
|
import * as logoutType from './model/logout/type';
|
|
@@ -10,7 +10,11 @@ import * as getPaymentsProviderResponse from './model/deposit/getPaymentsProvide
|
|
|
10
10
|
import * as paymentsProviderType from './model/deposit/type';
|
|
11
11
|
import * as getGameListResponse from './model/gameList/getGameListResponse';
|
|
12
12
|
import * as gameListType from './model/gameList/type';
|
|
13
|
-
|
|
13
|
+
import * as getVipListResponse from './model/vipList/getVipListResponse';
|
|
14
|
+
import * as vipListType from './model/vipList/type';
|
|
15
|
+
import * as getPromotionResponse from './model/promotion/getPromotionResponse';
|
|
16
|
+
import * as promotionType from './model/promotion/type';
|
|
17
|
+
export { api, loginApi, logoutApi, apiType, loginType, logoutType, getAnnouncementResponse, announcementType, getPaymentsProviderResponse, paymentsProviderType, getGameListResponse, gameListType, getVipListResponse, vipListType, getPromotionResponse, promotionType, };
|
|
14
18
|
export type RepositoryType = {
|
|
15
19
|
api: typeof api;
|
|
16
20
|
loginApi: typeof loginApi;
|
|
@@ -24,6 +28,10 @@ export type RepositoryType = {
|
|
|
24
28
|
paymentsProviderType: typeof paymentsProviderType;
|
|
25
29
|
getGameListResponse: typeof getGameListResponse;
|
|
26
30
|
gameListType: typeof gameListType;
|
|
31
|
+
getVipListResponse: typeof getVipListResponse;
|
|
32
|
+
vipListType: typeof vipListType;
|
|
33
|
+
getPromotionResponse: typeof getPromotionResponse;
|
|
34
|
+
promotionType: typeof promotionType;
|
|
27
35
|
};
|
|
28
36
|
export { default as Repository } from './plugin';
|
|
29
37
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,WAAW,CAAA;AAChC,OAAO,KAAK,QAAQ,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,WAAW,CA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,OAAO,gBAAgB,CAAA;IACzC,2BAA2B,EAAE,OAAO,2BAA2B,CAAA;IAC/D,oBAAoB,EAAE,OAAO,oBAAoB,CAAA;IACjD,mBAAmB,EAAE,OAAO,mBAAmB,CAAA;IAC/C,YAAY,EAAE,OAAO,YAAY,CAAA;IACjC,kBAAkB,EAAE,OAAO,kBAAkB,CAAA;IAC7C,WAAW,EAAE,OAAO,WAAW,CAAA;IAC/B,oBAAoB,EAAE,OAAO,oBAAoB,CAAA;IACjD,aAAa,EAAE,OAAO,aAAa,CAAA;CACpC,CAAA;AAED,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,UAAU,CAAA"}
|
|
@@ -1,5 +1,11 @@
|
|
|
1
|
-
import { RawAnnouncementResponse } from './rawType';
|
|
2
1
|
import { AnnouncementResponse } from './type';
|
|
3
2
|
|
|
4
3
|
export declare const getAnnouncementResponse: (raw: RawAnnouncementResponse) => AnnouncementResponse;
|
|
4
|
+
type RawAnnouncementResponse = RawAnnouncementDetail[];
|
|
5
|
+
type RawAnnouncementDetail = {
|
|
6
|
+
announcement_simplified: string;
|
|
7
|
+
announcement_alert: string;
|
|
8
|
+
announcement_lastupdated: string;
|
|
9
|
+
};
|
|
10
|
+
export {};
|
|
5
11
|
//# sourceMappingURL=getAnnouncementResponse.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAnnouncementResponse.d.ts","sourceRoot":"","sources":["../../../src/model/announcement/getAnnouncementResponse.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"getAnnouncementResponse.d.ts","sourceRoot":"","sources":["../../../src/model/announcement/getAnnouncementResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAAA;AAE7C,eAAO,MAAM,uBAAuB,QAC7B,uBAAuB,KAC3B,oBAQF,CAAA;AAED,KAAK,uBAAuB,GAAG,qBAAqB,EAAE,CAAA;AAEtD,KAAK,qBAAqB,GAAG;IAC3B,uBAAuB,EAAE,MAAM,CAAA;IAC/B,kBAAkB,EAAE,MAAM,CAAA;IAC1B,wBAAwB,EAAE,MAAM,CAAA;CACjC,CAAA"}
|
|
@@ -1,5 +1,167 @@
|
|
|
1
|
-
import { RawPaymentsProviderResponse } from './rawType';
|
|
2
1
|
import { PaymentsProviderResponse } from './type';
|
|
3
2
|
|
|
4
3
|
export declare const getPaymentsProviderResponse: (raw: RawPaymentsProviderResponse) => PaymentsProviderResponse;
|
|
4
|
+
type RawPaymentsProviderResponse = {
|
|
5
|
+
mdMethods: Method[];
|
|
6
|
+
mdPaymentChannels: PaymentChannels[];
|
|
7
|
+
mdGatewayMinMax: GatewayMinMax[];
|
|
8
|
+
mdDepositBankDetail: DepositBankDetail[];
|
|
9
|
+
mdBankLevelDetail: {
|
|
10
|
+
name: string;
|
|
11
|
+
amount: string;
|
|
12
|
+
bank_group: string;
|
|
13
|
+
showbankaccountno: string;
|
|
14
|
+
leveltype: string;
|
|
15
|
+
id: number;
|
|
16
|
+
trans: number;
|
|
17
|
+
sequence: number;
|
|
18
|
+
dailywithdraw_max: number;
|
|
19
|
+
autoapprovelimit: number;
|
|
20
|
+
onlinepayment_min: number;
|
|
21
|
+
onlinepayment_max: number;
|
|
22
|
+
deposit_min: number;
|
|
23
|
+
deposit_max: number;
|
|
24
|
+
withdraw_min: number;
|
|
25
|
+
withdraw_max: number;
|
|
26
|
+
};
|
|
27
|
+
mdManualDepositRequireField: {
|
|
28
|
+
deposit_bank: boolean;
|
|
29
|
+
depositor: boolean;
|
|
30
|
+
deposit_method: boolean;
|
|
31
|
+
deposit_datetime: boolean;
|
|
32
|
+
deposit_detail: boolean;
|
|
33
|
+
};
|
|
34
|
+
mdPGSelection: string;
|
|
35
|
+
mdUSDTrate: string;
|
|
36
|
+
mdDFUSDTrate: string;
|
|
37
|
+
systemtime: number;
|
|
38
|
+
mdUploadReceipt: boolean;
|
|
39
|
+
};
|
|
40
|
+
type PaymentChannels = {
|
|
41
|
+
name: string;
|
|
42
|
+
label: string;
|
|
43
|
+
bankid: number;
|
|
44
|
+
paymentmethod: PaymentMethod;
|
|
45
|
+
};
|
|
46
|
+
type PaymentMethod = {
|
|
47
|
+
auto: AutoType;
|
|
48
|
+
fixamount: FixAmountType;
|
|
49
|
+
manual: ManualType;
|
|
50
|
+
onlinebanking: OnlineBankingType;
|
|
51
|
+
};
|
|
52
|
+
type AutoType = {
|
|
53
|
+
bank: AutoBank[];
|
|
54
|
+
promo: PromoType[];
|
|
55
|
+
};
|
|
56
|
+
type FixAmountType = {
|
|
57
|
+
bank: FixAmountBank[];
|
|
58
|
+
promo: PromoType[];
|
|
59
|
+
};
|
|
60
|
+
type ManualType = {
|
|
61
|
+
bank: ManualBank[];
|
|
62
|
+
promo: PromoType[];
|
|
63
|
+
};
|
|
64
|
+
type OnlineBankingType = {
|
|
65
|
+
banklist: OnlineBankingBank[];
|
|
66
|
+
promo: PromoType[];
|
|
67
|
+
};
|
|
68
|
+
type AutoBank = {
|
|
69
|
+
pgindex: number;
|
|
70
|
+
bankindex?: number;
|
|
71
|
+
bankAccountIndex?: number;
|
|
72
|
+
sb?: string;
|
|
73
|
+
bankaccountname?: string;
|
|
74
|
+
bankAccountNo?: string;
|
|
75
|
+
minTransaction?: number | null;
|
|
76
|
+
maxTransaction?: number | null;
|
|
77
|
+
bankAccountDesc?: string | null;
|
|
78
|
+
representAccount?: string;
|
|
79
|
+
bankAddress?: string | null;
|
|
80
|
+
cBankAccountName?: string;
|
|
81
|
+
bankProfileId?: string | null;
|
|
82
|
+
userAddressFlag?: string;
|
|
83
|
+
img?: string | null;
|
|
84
|
+
};
|
|
85
|
+
type FixAmountBank = {
|
|
86
|
+
pgindex: number;
|
|
87
|
+
name: string;
|
|
88
|
+
amtlist: string[];
|
|
89
|
+
img?: string | null;
|
|
90
|
+
};
|
|
91
|
+
type ManualBank = {
|
|
92
|
+
list?: ManualBankItem[];
|
|
93
|
+
name: string;
|
|
94
|
+
img?: string | null;
|
|
95
|
+
bankindex: number;
|
|
96
|
+
};
|
|
97
|
+
type ManualBankItem = {
|
|
98
|
+
label?: string;
|
|
99
|
+
banknameenglish?: string;
|
|
100
|
+
shortnameenglish?: string;
|
|
101
|
+
shortnamesimplified?: string;
|
|
102
|
+
bankcode?: string;
|
|
103
|
+
bankaccountname?: string;
|
|
104
|
+
bankaccountno?: string;
|
|
105
|
+
show_flag?: string;
|
|
106
|
+
mintransaction?: string;
|
|
107
|
+
maxtransaction?: string;
|
|
108
|
+
maintenance_starttime?: string;
|
|
109
|
+
maintenance_endtime?: string;
|
|
110
|
+
maintenance_status?: string;
|
|
111
|
+
showBankAccountNo?: string;
|
|
112
|
+
bankaccountdesc?: string;
|
|
113
|
+
bankindex: number;
|
|
114
|
+
sequence?: number;
|
|
115
|
+
bank_type?: number;
|
|
116
|
+
bankaccountindex?: number;
|
|
117
|
+
accountindex?: number;
|
|
118
|
+
bankcategoryindex?: number;
|
|
119
|
+
bankprovince?: number;
|
|
120
|
+
seq?: number;
|
|
121
|
+
};
|
|
122
|
+
type OnlineBankingBank = {
|
|
123
|
+
bankindex?: number;
|
|
124
|
+
banknameenglish?: string;
|
|
125
|
+
shortnameenglish?: string;
|
|
126
|
+
banknamesimplified?: string;
|
|
127
|
+
pg: OnlineBankingPG[];
|
|
128
|
+
img?: string | null;
|
|
129
|
+
};
|
|
130
|
+
type OnlineBankingPG = {
|
|
131
|
+
pgindex: number;
|
|
132
|
+
bankaccountname: string;
|
|
133
|
+
mintransaction?: string | null;
|
|
134
|
+
maxtransaction?: string | null;
|
|
135
|
+
};
|
|
136
|
+
type PromoType = {
|
|
137
|
+
todaydate: string;
|
|
138
|
+
featureindex: string;
|
|
139
|
+
promodesc: string;
|
|
140
|
+
tcdesc: string;
|
|
141
|
+
image_path: string;
|
|
142
|
+
min_deposit: string;
|
|
143
|
+
type: string;
|
|
144
|
+
percentage: string;
|
|
145
|
+
max_promo_amt: string;
|
|
146
|
+
daily_limit: string;
|
|
147
|
+
promoindex: number;
|
|
148
|
+
multiply: number;
|
|
149
|
+
};
|
|
150
|
+
type Method = {
|
|
151
|
+
name: string;
|
|
152
|
+
id: number;
|
|
153
|
+
status: number;
|
|
154
|
+
seq: number;
|
|
155
|
+
};
|
|
156
|
+
type GatewayMinMax = {
|
|
157
|
+
min: string;
|
|
158
|
+
max: string;
|
|
159
|
+
bankindex: string;
|
|
160
|
+
};
|
|
161
|
+
type DepositBankDetail = {
|
|
162
|
+
bankindex: number;
|
|
163
|
+
countryindex: number;
|
|
164
|
+
label: string;
|
|
165
|
+
};
|
|
166
|
+
export {};
|
|
5
167
|
//# sourceMappingURL=getPaymentsProviderResponse.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getPaymentsProviderResponse.d.ts","sourceRoot":"","sources":["../../../src/model/deposit/getPaymentsProviderResponse.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"getPaymentsProviderResponse.d.ts","sourceRoot":"","sources":["../../../src/model/deposit/getPaymentsProviderResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,wBAAwB,EAGzB,MAAM,sBAAsB,CAAA;AAE7B,eAAO,MAAM,2BAA2B,QACjC,2BAA2B,KAC/B,wBA0CF,CAAA;AAmWD,KAAK,2BAA2B,GAAG;IACjC,SAAS,EAAE,MAAM,EAAE,CAAA;IACnB,iBAAiB,EAAE,eAAe,EAAE,CAAA;IACpC,eAAe,EAAE,aAAa,EAAE,CAAA;IAChC,mBAAmB,EAAE,iBAAiB,EAAE,CAAA;IACxC,iBAAiB,EAAE;QACjB,IAAI,EAAE,MAAM,CAAA;QACZ,MAAM,EAAE,MAAM,CAAA;QACd,UAAU,EAAE,MAAM,CAAA;QAClB,iBAAiB,EAAE,MAAM,CAAA;QACzB,SAAS,EAAE,MAAM,CAAA;QACjB,EAAE,EAAE,MAAM,CAAA;QACV,KAAK,EAAE,MAAM,CAAA;QACb,QAAQ,EAAE,MAAM,CA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GAAG,IAAI,CAAA;CAC/B,CAAA;AAED,KAAK,SAAS,GAAG;IACf,SAAS,EAAE,MAAM,CAAA;IACjB,YAAY,EAAE,MAAM,CAAA;IACpB,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,MAAM,CAAA;IAClB,WAAW,EAAE,MAAM,CAAA;IACnB,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,MAAM,CAAA;IAClB,aAAa,EAAE,MAAM,CAAA;IACrB,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,MAAM,CAAA;CACjB,CAAA;AAID,KAAK,MAAM,GAAG;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,EAAE,EAAE,MAAM,CAAA;IACV,MAAM,EAAE,MAAM,CAAA;IACd,GAAG,EAAE,MAAM,CAAA;CACZ,CAAA;AAED,KAAK,aAAa,GAAG;IACnB,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;IACX,SAAS,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,KAAK,iBAAiB,GAAG;IACvB,SAAS,EAAE,MAAM,CAAA;IACjB,YAAY,EAAE,MAAM,CAAA;IACpB,KAAK,EAAE,MAAM,CAAA;CACd,CAAA"}
|
|
@@ -1,5 +1,42 @@
|
|
|
1
|
-
import { RawGameListResponse } from './rawType';
|
|
2
1
|
import { GameListResponse } from './type';
|
|
3
2
|
|
|
4
3
|
export declare const getGameListResponse: (raw: RawGameListResponse) => GameListResponse;
|
|
4
|
+
type RawGameListResponse = {
|
|
5
|
+
mdGameListResult: RawProduct[];
|
|
6
|
+
mdCategoryMaster: RawCategoryMaster[];
|
|
7
|
+
mdDomains: string[];
|
|
8
|
+
mdGameLists: RawGame[];
|
|
9
|
+
};
|
|
10
|
+
type RawProduct = {
|
|
11
|
+
id: number;
|
|
12
|
+
code: string;
|
|
13
|
+
name: string;
|
|
14
|
+
nextPage: number;
|
|
15
|
+
mdPlatformProducts: RawPlatform[];
|
|
16
|
+
};
|
|
17
|
+
type RawCategoryMaster = {
|
|
18
|
+
id: string;
|
|
19
|
+
name: string;
|
|
20
|
+
};
|
|
21
|
+
type RawGame = {
|
|
22
|
+
id: string;
|
|
23
|
+
name: string;
|
|
24
|
+
img: string;
|
|
25
|
+
id_PlatformProduct: string;
|
|
26
|
+
filemtime: string;
|
|
27
|
+
mdDomains_id: number;
|
|
28
|
+
};
|
|
29
|
+
type RawPlatform = {
|
|
30
|
+
id: string;
|
|
31
|
+
shortName: string;
|
|
32
|
+
code: string;
|
|
33
|
+
flag: number;
|
|
34
|
+
id_GameMaster: string;
|
|
35
|
+
d_filemtime: string;
|
|
36
|
+
filemtime: string;
|
|
37
|
+
d_img: string;
|
|
38
|
+
img: string;
|
|
39
|
+
mdDomains_id: number;
|
|
40
|
+
};
|
|
41
|
+
export {};
|
|
5
42
|
//# sourceMappingURL=getGameListResponse.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getGameListResponse.d.ts","sourceRoot":"","sources":["../../../src/model/gameList/getGameListResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"getGameListResponse.d.ts","sourceRoot":"","sources":["../../../src/model/gameList/getGameListResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAA;AAEzC,eAAO,MAAM,mBAAmB,QAAS,mBAAmB,KAAG,gBAiB9D,CAAA;AAED,KAAK,mBAAmB,GAAG;IACzB,gBAAgB,EAAE,UAAU,EAAE,CAAA;IAC9B,gBAAgB,EAAE,iBAAiB,EAAE,CAAA;IACrC,SAAS,EAAE,MAAM,EAAE,CAAA;IACnB,WAAW,EAAE,OAAO,EAAE,CAAA;CACvB,CAAA;AAED,KAAK,UAAU,GAAG;IAChB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;IAChB,kBAAkB,EAAE,WAAW,EAAE,CAAA;CAClC,CAAA;AAED,KAAK,iBAAiB,GAAG;IACvB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AAED,KAAK,OAAO,GAAG;IACb,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,MAAM,CAAA;IACX,kBAAkB,EAAE,MAAM,CAAA;IAC1B,SAAS,EAAE,MAAM,CAAA;IACjB,YAAY,EAAE,MAAM,CAAA;CACrB,CAAA;AAED,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,aAAa,EAAE,MAAM,CAAA;IACrB,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,GAAG,EAAE,MAAM,CAAA;IACX,YAAY,EAAE,MAAM,CAAA;CACrB,CAAA"}
|
|
@@ -1,38 +1 @@
|
|
|
1
|
-
export type RawGameListResponse = {
|
|
2
|
-
mdGameListResult: RawProduct[];
|
|
3
|
-
mdCategoryMaster: RawCategoryMaster[];
|
|
4
|
-
mdDomains: string[];
|
|
5
|
-
mdGameLists: RawGame[];
|
|
6
|
-
};
|
|
7
|
-
export type RawProduct = {
|
|
8
|
-
id: number;
|
|
9
|
-
code: string;
|
|
10
|
-
name: string;
|
|
11
|
-
nextPage: number;
|
|
12
|
-
mdPlatformProducts: RawPlatform[];
|
|
13
|
-
};
|
|
14
|
-
export type RawCategoryMaster = {
|
|
15
|
-
id: string;
|
|
16
|
-
name: string;
|
|
17
|
-
};
|
|
18
|
-
export type RawGame = {
|
|
19
|
-
id: string;
|
|
20
|
-
name: string;
|
|
21
|
-
img: string;
|
|
22
|
-
id_PlatformProduct: string;
|
|
23
|
-
filemtime: string;
|
|
24
|
-
mdDomains_id: number;
|
|
25
|
-
};
|
|
26
|
-
export type RawPlatform = {
|
|
27
|
-
id: string;
|
|
28
|
-
shortName: string;
|
|
29
|
-
code: string;
|
|
30
|
-
flag: number;
|
|
31
|
-
id_GameMaster: string;
|
|
32
|
-
d_filemtime: string;
|
|
33
|
-
filemtime: string;
|
|
34
|
-
d_img: string;
|
|
35
|
-
img: string;
|
|
36
|
-
mdDomains_id: number;
|
|
37
|
-
};
|
|
38
1
|
//# sourceMappingURL=rawType.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rawType.d.ts","sourceRoot":"","sources":["../../../src/model/gameList/rawType.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"rawType.d.ts","sourceRoot":"","sources":["../../../src/model/gameList/rawType.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loginApi.d.ts","sourceRoot":"","sources":["../../../src/model/login/loginApi.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAGlD,eAAO,MAAM,IAAI,aACL,MAAM,YACN,MAAM,KACf,OAAO,CAAC,aAAa,CAwBvB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logoutApi.d.ts","sourceRoot":"","sources":["../../../src/model/logout/logoutApi.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAGpD,eAAO,MAAM,IAAI,QAAa,OAAO,CAAC,cAAc,CAkBnD,CAAA"}
|
|
@@ -1,5 +1,36 @@
|
|
|
1
|
-
import { RawPromotionResponse } from './rawType';
|
|
2
1
|
import { PromotionResponse } from './type';
|
|
3
2
|
|
|
4
3
|
export declare const getPromotionResponse: (raw: RawPromotionResponse) => PromotionResponse;
|
|
4
|
+
type PromotionCategory = {
|
|
5
|
+
catid: number;
|
|
6
|
+
name: string;
|
|
7
|
+
sequence: number;
|
|
8
|
+
};
|
|
9
|
+
type PromotionList = {
|
|
10
|
+
promoindex: number;
|
|
11
|
+
title: string;
|
|
12
|
+
display_time: string;
|
|
13
|
+
content: string;
|
|
14
|
+
sequence: number;
|
|
15
|
+
status: number;
|
|
16
|
+
timer: string;
|
|
17
|
+
stime: string;
|
|
18
|
+
etime: string;
|
|
19
|
+
banner: string;
|
|
20
|
+
catid: number;
|
|
21
|
+
promo_category: {
|
|
22
|
+
catid: number;
|
|
23
|
+
name: string;
|
|
24
|
+
};
|
|
25
|
+
promo_image: {
|
|
26
|
+
filename: string;
|
|
27
|
+
lastupdated: string;
|
|
28
|
+
};
|
|
29
|
+
link: string;
|
|
30
|
+
};
|
|
31
|
+
type RawPromotionResponse = {
|
|
32
|
+
category: PromotionCategory[];
|
|
33
|
+
list: PromotionList[];
|
|
34
|
+
};
|
|
35
|
+
export {};
|
|
5
36
|
//# sourceMappingURL=getPromotionResponse.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getPromotionResponse.d.ts","sourceRoot":"","sources":["../../../src/model/promotion/getPromotionResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"getPromotionResponse.d.ts","sourceRoot":"","sources":["../../../src/model/promotion/getPromotionResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAA;AAE1C,eAAO,MAAM,oBAAoB,QAAS,oBAAoB,KAAG,iBAgChE,CAAA;AAED,KAAK,iBAAiB,GAAG;IACvB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,KAAK,aAAa,GAAG;IACnB,UAAU,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,YAAY,EAAE,MAAM,CAAA;IACpB,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,cAAc,EAAE;QACd,KAAK,EAAE,MAAM,CAAA;QACb,IAAI,EAAE,MAAM,CAAA;KACb,CAAA;IACD,WAAW,EAAE;QACX,QAAQ,EAAE,MAAM,CAAA;QAChB,WAAW,EAAE,MAAM,CAAA;KACpB,CAAA;IACD,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AAED,KAAK,oBAAoB,GAAG;IAC1B,QAAQ,EAAE,iBAAiB,EAAE,CAAA;IAC7B,IAAI,EAAE,aAAa,EAAE,CAAA;CACtB,CAAA"}
|
|
@@ -1,5 +1,22 @@
|
|
|
1
|
-
import { RawGetUserProfileResponse } from './rawType';
|
|
2
1
|
import { GetUserProfileResponse } from './type';
|
|
3
2
|
|
|
4
3
|
export declare const getUserProfileResponse: (raw: RawGetUserProfileResponse) => GetUserProfileResponse;
|
|
4
|
+
type RawGetUserProfileResponse = {
|
|
5
|
+
mdUserDetail: {
|
|
6
|
+
dob: string;
|
|
7
|
+
email: string;
|
|
8
|
+
firstname: string;
|
|
9
|
+
isVerify: string;
|
|
10
|
+
mobileno: string;
|
|
11
|
+
profile_pic: string;
|
|
12
|
+
qq: string;
|
|
13
|
+
unlock_app_function: string;
|
|
14
|
+
viber: string | null;
|
|
15
|
+
wechat: string;
|
|
16
|
+
whatsapp: string;
|
|
17
|
+
};
|
|
18
|
+
note: string;
|
|
19
|
+
username: string;
|
|
20
|
+
};
|
|
21
|
+
export {};
|
|
5
22
|
//# sourceMappingURL=getUserProfileResponse.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getUserProfileResponse.d.ts","sourceRoot":"","sources":["../../../src/model/userProfile/getUserProfileResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"getUserProfileResponse.d.ts","sourceRoot":"","sources":["../../../src/model/userProfile/getUserProfileResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,QAAQ,CAAA;AAE/C,eAAO,MAAM,sBAAsB,QAC5B,yBAAyB,KAC7B,sBASF,CAAA;AAED,KAAK,yBAAyB,GAAG;IAC/B,YAAY,EAAE;QACZ,GAAG,EAAE,MAAM,CAAA;QACX,KAAK,EAAE,MAAM,CAAA;QACb,SAAS,EAAE,MAAM,CAAA;QACjB,QAAQ,EAAE,MAAM,CAAA;QAChB,QAAQ,EAAE,MAAM,CAAA;QAChB,WAAW,EAAE,MAAM,CAAA;QACnB,EAAE,EAAE,MAAM,CAAA;QACV,mBAAmB,EAAE,MAAM,CAAA;QAC3B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;QACpB,MAAM,EAAE,MAAM,CAAA;QACd,QAAQ,EAAE,MAAM,CAAA;KACjB,CAAA;IACD,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;CACjB,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { VipBonusResponse } from './type';
|
|
2
|
+
|
|
3
|
+
export declare const getVipBonusResponse: (raw: RawVipBonusResponse) => VipBonusResponse;
|
|
4
|
+
type RawVipBonusResponse = {
|
|
5
|
+
status: number;
|
|
6
|
+
message: string | null;
|
|
7
|
+
errormessage: string | null;
|
|
8
|
+
month: number;
|
|
9
|
+
week: number;
|
|
10
|
+
day: number;
|
|
11
|
+
};
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=getVipBonusResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getVipBonusResponse.d.ts","sourceRoot":"","sources":["../../../src/model/vipBonus/getVipBonusResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAA;AAEzC,eAAO,MAAM,mBAAmB,QAAS,mBAAmB,KAAG,gBAM9D,CAAA;AAED,KAAK,mBAAmB,GAAG;IACzB,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,MAAM,CAAA;CACZ,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../src/model/vipBonus/type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../src/model/vipBonus/type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,MAAM,CAAA;CACZ,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { VipFieldStatusResponse } from './type';
|
|
2
|
+
|
|
3
|
+
export declare const getVipFieldStatusResponse: (raw: RawVipFieldStatusResponse) => VipFieldStatusResponse[];
|
|
4
|
+
type RawVipFieldStatusResponse = {
|
|
5
|
+
mdVipSetting: {
|
|
6
|
+
fieldname: string;
|
|
7
|
+
showname: string;
|
|
8
|
+
showname_en: string;
|
|
9
|
+
status: number;
|
|
10
|
+
}[];
|
|
11
|
+
};
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=getVipFieldStatusResponse.d.ts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +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"}
|