60p82u21t54k 1.0.1 → 1.0.2

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.
Files changed (40) hide show
  1. package/dist/60p82u21t54k.cjs.js +1 -1
  2. package/dist/60p82u21t54k.es.js +281 -35
  3. package/dist/60p82u21t54k.umd.js +1 -1
  4. package/dist/api/autoRegister/autoRegisterApi.d.ts +1 -3
  5. package/dist/api/autoRegister/autoRegisterApi.d.ts.map +1 -1
  6. package/dist/api/autoRegister/index.d.ts +1 -1
  7. package/dist/api/autoRegister/index.d.ts.map +1 -1
  8. package/dist/api/getMaintenanceMode/getMaintenanceModeApi.d.ts +1 -3
  9. package/dist/api/getMaintenanceMode/getMaintenanceModeApi.d.ts.map +1 -1
  10. package/dist/api/getMaintenanceMode/index.d.ts +1 -1
  11. package/dist/api/getMaintenanceMode/index.d.ts.map +1 -1
  12. package/dist/api/jackpotData/index.d.ts +1 -1
  13. package/dist/api/jackpotData/index.d.ts.map +1 -1
  14. package/dist/api/jackpotData/jackpotDataApi.d.ts +1 -3
  15. package/dist/api/jackpotData/jackpotDataApi.d.ts.map +1 -1
  16. package/dist/api/loadMatch/index.d.ts +1 -1
  17. package/dist/api/loadMatch/index.d.ts.map +1 -1
  18. package/dist/api/loadMatch/loadMatchApi.d.ts +1 -3
  19. package/dist/api/loadMatch/loadMatchApi.d.ts.map +1 -1
  20. package/dist/api/login/index.d.ts +1 -1
  21. package/dist/api/login/index.d.ts.map +1 -1
  22. package/dist/api/login/loginApi.d.ts +1 -3
  23. package/dist/api/login/loginApi.d.ts.map +1 -1
  24. package/dist/api/logout/index.d.ts +1 -1
  25. package/dist/api/logout/index.d.ts.map +1 -1
  26. package/dist/api/logout/logoutApi.d.ts +1 -3
  27. package/dist/api/logout/logoutApi.d.ts.map +1 -1
  28. package/dist/api/rename/index.d.ts +1 -1
  29. package/dist/api/rename/index.d.ts.map +1 -1
  30. package/dist/api/setLocale/index.d.ts +1 -1
  31. package/dist/api/setLocale/index.d.ts.map +1 -1
  32. package/dist/api/setLocale/setLocaleApi.d.ts +1 -3
  33. package/dist/api/setLocale/setLocaleApi.d.ts.map +1 -1
  34. package/dist/api/telegramLogin/index.d.ts +1 -1
  35. package/dist/api/telegramLogin/index.d.ts.map +1 -1
  36. package/dist/api/telegramLogin/telegramLoginApi.d.ts +1 -3
  37. package/dist/api/telegramLogin/telegramLoginApi.d.ts.map +1 -1
  38. package/dist/index.d.ts +9 -3
  39. package/dist/index.d.ts.map +1 -1
  40. package/package.json +1 -1
@@ -1 +1 @@
1
- "use strict";var e=Object.defineProperty;Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("axios"),a=new class{constructor(){var t;((t,a,r)=>{a in t?e(t,a,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[a]=r})(this,"symbol"!=typeof(t="models")?t+"":t,new Map)}register(e,t){this.models.set(e,t)}getTransformer(e){var t;return(null==(t=this.models.get(e))?void 0:t.transformer)||null}getRequestModifier(e){var t;return(null==(t=this.models.get(e))?void 0:t.requestModifier)||null}getResponseModifier(e){var t;return(null==(t=this.models.get(e))?void 0:t.responseModifier)||null}hasModel(e){return this.models.has(e)}getRegisteredApis(){return Array.from(this.models.keys())}},r=(e,t)=>{const r=a.getTransformer(e);return r?r.transform(t):t};var s=(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.upcomingMatches="upcomingMatches",e.deposit="deposit",e.applyVipBonus="applyVipBonus",e.getBankCardData="getBankCardData",e.withdrawalGet="withdrawalGet",e.withdraw="withdraw",e.addBankCard="addBankCard",e.transactionReport="transactionReport",e.changePassword="changePassword",e.wallet="wallet",e.getEventlist="getEventlist",e.getEventToken="getEventToken",e.getExtraGame="getExtraGame",e.mailBox="mailBox",e.slotGameList="slotGameList",e.getTurnOverRewardData="getTurnOverRewardData",e.getTurnOverRewardReport="getTurnOverRewardReport",e.getInviteRewardData="getInviteRewardData",e.getInviteRewardReport="getInviteRewardReport",e.getTopupRewardData="getTopupRewardData",e.getTopupRewardReport="getTopupRewardReport",e.getRewardReferral="getRewardReferral",e.submitWithdrawValidate="submitWithdrawValidate",e.getDepositPromotion="getDepositPromotion",e.getInviteRewardClaim="getInviteRewardClaim",e.getTopupRewardClaim="getTopupRewardClaim",e.getTurnOverRewardClaim="getTurnOverRewardClaim",e.getInviteRewardSetting="getInviteRewardSetting",e.getTopupRewardSetting="getTopupRewardSetting",e.getTurnOverRewardSetting="getTurnOverRewardSetting",e.requestForgetPassword="requestForgetPassword",e.submitForgetPassword="submitForgetPassword",e.getImage="getImage",e.getDepositValidate="getDepositValidate",e.getTransferCreditValidate="getTransferCreditValidate",e.getWithdrawValidate="getWithdrawValidate",e.updateProfilePicture="updateProfilePicture",e.readMail="readMail",e.checkRedpacketValidate="checkRedpacketValidate",e.requestTacCode="requestTacCode",e.getUsernameByRefer="getUsernameByRefer",e.applyPromo="applyPromo",e.applyRedpacket="applyRedpacket",e.applySignIn="applySignIn",e.getCountry="getCountry",e.submitGiftCode="submitGiftCode",e.playGame="playGame",e.transferToMain="transferToMain",e.transferProcess="transferProcess",e.submitDepositValidate="submitDepositValidate",e.submitTransferCreditValidate="submitTransferCreditValidate",e.checkTransferCredit="checkTransferCredit",e.friendList="friendList",e.friendListEdit="friendListEdit",e.getActivePP="getActivePP",e.getActiveProduct="getActiveProduct",e.requestWithdrawTac="requestWithdrawTac",e.requestWithdrawalCode="requestWithdrawalCode",e.commissionWithdraw="commissionWithdraw",e.submitWithdrawalCode="submitWithdrawalCode",e.submitCryptoAccount="submitCryptoAccount",e.requestTransferMoney="requestTransferMoney",e.submitTransferMoney="submitTransferMoney",e.getVerifyPromo="getVerifyPromo",e.requestUpdateMobileTacCode="requestUpdateMobileTacCode",e.submitUpdateMobileTacCode="submitUpdateMobileTacCode",e.signInViewInfo="signInViewInfo",e.signInRecord="signInRecord",e.referralProfile="referralProfile",e.referralMemberProfile="referralMemberProfile",e.registerAction="registerAction",e.transferReport="transferReport",e.agTransferCreditReport="agTransferCreditReport",e.betReport="betReport",e.getTwoFactorAuthenticate="getTwoFactorAuthenticate",e.getUserDeviceList="getUserDeviceList",e.submitTwoFactorAuthenticate="submitTwoFactorAuthenticate",e.unbindUserDevice="unbindUserDevice",e.searchNumberHistory="searchNumberHistory",e.changeWithdrawalCode="changeWithdrawalCode",e.checkRedPacketToken="checkRedPacketToken",e.submitWithdrawalAlipay="submitWithdrawalAlipay",e.applyReliefFund="applyReliefFund",e.getReliefFundData="getReliefFundData",e.getReliefFundReport="getReliefFundReport",e.getWeekCardData="getWeekCardData",e.applyWeekCard="applyWeekCard",e.getWeekCardClaim="getWeekCardClaim",e.transfersetting="transfersetting",e.transfer="transfer",e.getIncentiveData="getIncentiveData",e.getIncentiveRebate="getIncentiveRebate",e.claimIncentiveRebate="claimIncentiveRebate",e.getMissionData="getMissionData",e.getMissionClaim="getMissionClaim",e.registerForm="registerForm",e.getFavouriteGame="getFavouriteGame",e.updateFavouriteGame="updateFavouriteGame",e.requestForgetUsername="requestForgetUsername",e.submitForgetUsername="submitForgetUsername",e.getAccumulateDepositData="getAccumulateDepositData",e.getAccumulateDepositClaim="getAccumulateDepositClaim",e.rebateRefundSetting="rebateRefundSetting",e.getASCMatchCount="getASCMatchCount",e.updateDeviceToken="updateDeviceToken",e.getCryptoList="getCryptoList",e.getCryptoAddress="getCryptoAddress",e.getPopoutItem="getPopoutItem",e.getTurnOverRewardSettingMult="getTurnOverRewardSettingMult",e.interestIndex="interestIndex",e.interestWalletInfo="interestWalletInfo",e.interestTransactionList="interestTransactionList",e.interestTransferIn="interestTransferIn",e.interestTransferOut="interestTransferOut",e.getWheelData="getWheelData",e.getWheelTicket="getWheelTicket",e.spinWheel="spinWheel",e.getWheelReport="getWheelReport",e.getWeekCardAllData="getWeekCardAllData",e.searchGameByName="searchGameByName",e.checkGoldEggValidate="checkGoldEggValidate",e.applyGoldEgg="applyGoldEgg",e.checkGoldEggToken="checkGoldEggToken",e.getGoldEggData="getGoldEggData",e.getNewbieMissionData="getNewbieMissionData",e.getNewbieMissionClaim="getNewbieMissionClaim",e.getFeedback="getFeedback",e.submitFeedback="submitFeedback",e.casinoGameList="casinoGameList",e.isMobileRegistered="isMobileRegistered",e.getActivePlatform="getActivePlatform",e))(s||{});function i(e){return e.charAt(0).toUpperCase()+e.slice(1)}(async()=>{await(async()=>{const e=Object.values(s),t={successful:[],failed:[]};for(const s of e)try{const e=await import(`../model/${s}`),r=`get${i(s)}Response`,o=`modify${i(s)}Request`,n=`modify${i(s)}Response`,l=[];if(e[r]||l.push(r),e[o]||l.push(o),e[n]||l.push(n),l.length>0){t.failed.push({name:s,reason:`Missing functions: ${l.join(", ")}`});continue}a.register(s,{transformer:{transform:e[r]},requestModifier:{modifyRequest:e[o]},responseModifier:{modifyResponse:e[n]}}),t.successful.push(s)}catch(r){const e=r instanceof Error?r.message:"Unknown error";t.failed.push({name:s,reason:e})}})()})();const o=t.create({baseURL:"",timeout:29e3,headers:{"Content-Type":"application/json"}});o.interceptors.request.use(e=>{const t=localStorage.getItem("token");return t&&(e.headers.Authorization=`Bearer ${t}`),e},e=>Promise.reject(e)),o.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,401===e.response.status||404===e.response.status||e.response.status):e.request,Promise.reject(t)});let n={prefix:"188",timezone:-4,currency:"¥",language:"zh"};const l=Object.freeze(Object.defineProperty({__proto__:null,getConfig:()=>n,setConfig:e=>{n={...n,...e}}},Symbol.toStringTag,{value:"Module"})),u=e=>{try{return atob(e)}catch(t){return""}},g=async e=>{const t=(e=>{let t=[...e];for(const r of e){const e=a.getRequestModifier(r.name);e&&(t=e.modifyRequest(t))}return t})(e),s={requests:t.map(e=>({name:e.name,query:btoa(e.query)}))},i=await o.post("/graph/jwt",(n=JSON.stringify(s),(new TextEncoder).encode(n)));var n;const l={status:200,message:"",result:{}};for(const a of i.data.responses){null!=a.error&&200!=a.error.code&&(l.status=a.error.code,l.message=a.error.message);const e=null!==a.attributes&&void 0!==a.attributes?u(a.attributes):null,t=a.name,s=e?JSON.parse(e):null;l.result[t]=s?r(t,s):null}return l.result=(e=>{let t={...e};for(const r of Object.keys(e)){const e=a.getResponseModifier(r);e&&(t=e.modifyResponse(t))}return t})(l.result),l},d=Object.freeze(Object.defineProperty({__proto__:null,post:g},Symbol.toStringTag,{value:"Module"})),p={apis:{},types:{}};async function c(e){try{return await import(e)}catch{return null}}Promise.all([async function(){(await Promise.allSettled(["telegramLogin","login","jackpotData","logout","autoRegister","setLocale","loadMatch","getMaintenanceMode","rename"].map(async e=>{const[t,a]=await Promise.all([c(`./api/${e}/${e}Api`),c(`./api/${e}/type`)]);return{name:e,apiMod:t,typeMod:a}}))).forEach(e=>{if("fulfilled"===e.status){const{name:t,apiMod:a,typeMod:r}=e.value;a&&(p.apis[`${t}Api`]=a),r&&(p.types[`${t}Type`]=r)}})}(),async function(){const e=Object.values(s);for(let t=0;t<e.length;t+=20){const a=e.slice(t,t+20);(await Promise.allSettled(a.map(async e=>({apiName:e,typeModule:await c(`./model/${e}/type`)})))).forEach(e=>{if("fulfilled"===e.status&&e.value.typeModule){const{apiName:t,typeModule:a}=e.value;p.types[`${t}Type`]=a}})}}()]).then(()=>{}).catch(e=>{}),exports.Api=s,exports.api=d,exports.config=l,exports.getAllApiNames=()=>Object.values(s),exports.getAllModules=()=>({apis:{...p.apis},types:{...p.types}}),exports.getApiModule=e=>p.apis[e],exports.getTypeModule=e=>p.types[e],exports.post=g;
1
+ "use strict";var e=Object.defineProperty;Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("axios"),a=new class{constructor(){var t;((t,a,s)=>{a in t?e(t,a,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[a]=s})(this,"symbol"!=typeof(t="models")?t+"":t,new Map)}register(e,t){this.models.set(e,t)}getTransformer(e){var t;return(null==(t=this.models.get(e))?void 0:t.transformer)||null}getRequestModifier(e){var t;return(null==(t=this.models.get(e))?void 0:t.requestModifier)||null}getResponseModifier(e){var t;return(null==(t=this.models.get(e))?void 0:t.responseModifier)||null}hasModel(e){return this.models.has(e)}getRegisteredApis(){return Array.from(this.models.keys())}},s=(e,t)=>{const s=a.getTransformer(e);return s?s.transform(t):t};var r=(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.upcomingMatches="upcomingMatches",e.deposit="deposit",e.applyVipBonus="applyVipBonus",e.getBankCardData="getBankCardData",e.withdrawalGet="withdrawalGet",e.withdraw="withdraw",e.addBankCard="addBankCard",e.transactionReport="transactionReport",e.changePassword="changePassword",e.wallet="wallet",e.getEventlist="getEventlist",e.getEventToken="getEventToken",e.getExtraGame="getExtraGame",e.mailBox="mailBox",e.slotGameList="slotGameList",e.getTurnOverRewardData="getTurnOverRewardData",e.getTurnOverRewardReport="getTurnOverRewardReport",e.getInviteRewardData="getInviteRewardData",e.getInviteRewardReport="getInviteRewardReport",e.getTopupRewardData="getTopupRewardData",e.getTopupRewardReport="getTopupRewardReport",e.getRewardReferral="getRewardReferral",e.submitWithdrawValidate="submitWithdrawValidate",e.getDepositPromotion="getDepositPromotion",e.getInviteRewardClaim="getInviteRewardClaim",e.getTopupRewardClaim="getTopupRewardClaim",e.getTurnOverRewardClaim="getTurnOverRewardClaim",e.getInviteRewardSetting="getInviteRewardSetting",e.getTopupRewardSetting="getTopupRewardSetting",e.getTurnOverRewardSetting="getTurnOverRewardSetting",e.requestForgetPassword="requestForgetPassword",e.submitForgetPassword="submitForgetPassword",e.getImage="getImage",e.getDepositValidate="getDepositValidate",e.getTransferCreditValidate="getTransferCreditValidate",e.getWithdrawValidate="getWithdrawValidate",e.updateProfilePicture="updateProfilePicture",e.readMail="readMail",e.checkRedpacketValidate="checkRedpacketValidate",e.requestTacCode="requestTacCode",e.getUsernameByRefer="getUsernameByRefer",e.applyPromo="applyPromo",e.applyRedpacket="applyRedpacket",e.applySignIn="applySignIn",e.getCountry="getCountry",e.submitGiftCode="submitGiftCode",e.playGame="playGame",e.transferToMain="transferToMain",e.transferProcess="transferProcess",e.submitDepositValidate="submitDepositValidate",e.submitTransferCreditValidate="submitTransferCreditValidate",e.checkTransferCredit="checkTransferCredit",e.friendList="friendList",e.friendListEdit="friendListEdit",e.getActivePP="getActivePP",e.getActiveProduct="getActiveProduct",e.requestWithdrawTac="requestWithdrawTac",e.requestWithdrawalCode="requestWithdrawalCode",e.commissionWithdraw="commissionWithdraw",e.submitWithdrawalCode="submitWithdrawalCode",e.submitCryptoAccount="submitCryptoAccount",e.requestTransferMoney="requestTransferMoney",e.submitTransferMoney="submitTransferMoney",e.getVerifyPromo="getVerifyPromo",e.requestUpdateMobileTacCode="requestUpdateMobileTacCode",e.submitUpdateMobileTacCode="submitUpdateMobileTacCode",e.signInViewInfo="signInViewInfo",e.signInRecord="signInRecord",e.referralProfile="referralProfile",e.referralMemberProfile="referralMemberProfile",e.registerAction="registerAction",e.transferReport="transferReport",e.agTransferCreditReport="agTransferCreditReport",e.betReport="betReport",e.getTwoFactorAuthenticate="getTwoFactorAuthenticate",e.getUserDeviceList="getUserDeviceList",e.submitTwoFactorAuthenticate="submitTwoFactorAuthenticate",e.unbindUserDevice="unbindUserDevice",e.searchNumberHistory="searchNumberHistory",e.changeWithdrawalCode="changeWithdrawalCode",e.checkRedPacketToken="checkRedPacketToken",e.submitWithdrawalAlipay="submitWithdrawalAlipay",e.applyReliefFund="applyReliefFund",e.getReliefFundData="getReliefFundData",e.getReliefFundReport="getReliefFundReport",e.getWeekCardData="getWeekCardData",e.applyWeekCard="applyWeekCard",e.getWeekCardClaim="getWeekCardClaim",e.transfersetting="transfersetting",e.transfer="transfer",e.getIncentiveData="getIncentiveData",e.getIncentiveRebate="getIncentiveRebate",e.claimIncentiveRebate="claimIncentiveRebate",e.getMissionData="getMissionData",e.getMissionClaim="getMissionClaim",e.registerForm="registerForm",e.getFavouriteGame="getFavouriteGame",e.updateFavouriteGame="updateFavouriteGame",e.requestForgetUsername="requestForgetUsername",e.submitForgetUsername="submitForgetUsername",e.getAccumulateDepositData="getAccumulateDepositData",e.getAccumulateDepositClaim="getAccumulateDepositClaim",e.rebateRefundSetting="rebateRefundSetting",e.getASCMatchCount="getASCMatchCount",e.updateDeviceToken="updateDeviceToken",e.getCryptoList="getCryptoList",e.getCryptoAddress="getCryptoAddress",e.getPopoutItem="getPopoutItem",e.getTurnOverRewardSettingMult="getTurnOverRewardSettingMult",e.interestIndex="interestIndex",e.interestWalletInfo="interestWalletInfo",e.interestTransactionList="interestTransactionList",e.interestTransferIn="interestTransferIn",e.interestTransferOut="interestTransferOut",e.getWheelData="getWheelData",e.getWheelTicket="getWheelTicket",e.spinWheel="spinWheel",e.getWheelReport="getWheelReport",e.getWeekCardAllData="getWeekCardAllData",e.searchGameByName="searchGameByName",e.checkGoldEggValidate="checkGoldEggValidate",e.applyGoldEgg="applyGoldEgg",e.checkGoldEggToken="checkGoldEggToken",e.getGoldEggData="getGoldEggData",e.getNewbieMissionData="getNewbieMissionData",e.getNewbieMissionClaim="getNewbieMissionClaim",e.getFeedback="getFeedback",e.submitFeedback="submitFeedback",e.casinoGameList="casinoGameList",e.isMobileRegistered="isMobileRegistered",e.getActivePlatform="getActivePlatform",e))(r||{});function i(e){return e.charAt(0).toUpperCase()+e.slice(1)}(async()=>{await(async()=>{const e=Object.values(r),t={successful:[],failed:[]};for(const r of e)try{const e=await import(`../model/${r}`),s=`get${i(r)}Response`,o=`modify${i(r)}Request`,n=`modify${i(r)}Response`,u=[];if(e[s]||u.push(s),e[o]||u.push(o),e[n]||u.push(n),u.length>0){t.failed.push({name:r,reason:`Missing functions: ${u.join(", ")}`});continue}a.register(r,{transformer:{transform:e[s]},requestModifier:{modifyRequest:e[o]},responseModifier:{modifyResponse:e[n]}}),t.successful.push(r)}catch(s){const e=s instanceof Error?s.message:"Unknown error";t.failed.push({name:r,reason:e})}})()})();const o=t.create({baseURL:"",timeout:29e3,headers:{"Content-Type":"application/json"}});o.interceptors.request.use(e=>{const t=localStorage.getItem("token");return t&&(e.headers.Authorization=`Bearer ${t}`),e},e=>Promise.reject(e)),o.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,401===e.response.status||404===e.response.status||e.response.status):e.request,Promise.reject(t)});let n={prefix:"188",timezone:-4,currency:"¥",language:"zh"};const u=Object.freeze(Object.defineProperty({__proto__:null,getConfig:()=>n,setConfig:e=>{n={...n,...e}}},Symbol.toStringTag,{value:"Module"})),g=e=>{try{return atob(e)}catch(t){return""}},d=async e=>{const t=(e=>{let t=[...e];for(const s of e){const e=a.getRequestModifier(s.name);e&&(t=e.modifyRequest(t))}return t})(e),r={requests:t.map(e=>({name:e.name,query:btoa(e.query)}))},i=await o.post("/graph/jwt",(n=JSON.stringify(r),(new TextEncoder).encode(n)));var n;const u={status:200,message:"",result:{}};for(const a of i.data.responses){null!=a.error&&200!=a.error.code&&(u.status=a.error.code,u.message=a.error.message);const e=null!==a.attributes&&void 0!==a.attributes?g(a.attributes):null,t=a.name,r=e?JSON.parse(e):null;u.result[t]=r?s(t,r):null}return u.result=(e=>{let t={...e};for(const s of Object.keys(e)){const e=a.getResponseModifier(s);e&&(t=e.modifyResponse(t))}return t})(u.result),u},l=Object.freeze(Object.defineProperty({__proto__:null,post:d},Symbol.toStringTag,{value:"Module"})),c={data:{status:!1,message:"",data:{account:"",password:"",accountId:0}}},p={data:{status:!1,message:"",data:{isMaintenance:!1,startTime:"",endTime:""}}},m={data:{startTimestamp:0,startJackpot:0,dailyIncrease:0,updateInterval:0}},f={data:{status:!1,message:""}},h={types:{}};async function y(e){try{return await import(e)}catch{return null}}Promise.all([async function(){const e=Object.values(r);for(let t=0;t<e.length;t+=20){const a=e.slice(t,t+20);(await Promise.allSettled(a.map(async e=>({apiName:e,typeModule:await y(`./model/${e}/type`)})))).forEach(e=>{if("fulfilled"===e.status&&e.value.typeModule){const{apiName:t,typeModule:a}=e.value;h.types[`${t}Type`]=a}})}}()]).then(()=>{}).catch(e=>{}),exports.Api=r,exports.api=l,exports.autoRegisterApi=async()=>{let e={status:200,message:"",...c};try{const t=(await o.get("/graph/autoregister")).data;e.data={status:1==t.status,message:t.message??"",data:{account:t.data.accountcode,password:t.data.password,accountId:t.data.accountid}}}catch(t){e={status:t.status||500,message:t.message,...c}}return e},exports.config=u,exports.getAllApiNames=()=>Object.values(r),exports.getAllModules=()=>({types:{...h.types}}),exports.getMaintenanceModeApi=async()=>{var e,t,a;let s={status:200,message:"",...p};try{const r=(await o.get("/graph/getMaintenanceMode")).data;s.data={status:1==r.status,message:r.msg??"",data:{isMaintenance:"1"==(null==(e=r.data)?void 0:e.maintenanceMode),startTime:(null==(t=r.data)?void 0:t.startTime)??"",endTime:(null==(a=r.data)?void 0:a.endTime)??""}}}catch(r){s={status:r.status||500,message:r.message,...p}}return s},exports.getTypeModule=e=>h.types[e],exports.jackpotDataApi=async()=>{let e={status:200,message:"",...m};try{const t=(await o.get("/api/jackpotData")).data;e.data={startTimestamp:t.startTimestamp,startJackpot:t.startJackpot,dailyIncrease:t.dailyIncrease,updateInterval:t.updateInterval}}catch(t){e={status:t.status||500,message:t.message,...m}}return e},exports.loadMatchApi=async(e,t,a,s,r)=>{let i={status:200,message:"",data:{message:"",urlLink:""}};try{const n=(await o.post(`/loadgame/${e}`,{wanturl:1,extra:{Stage:t,SportId:a,tagid:s,MatchId:r}})).data;i={status:200,message:"",data:{message:n.msg??"",urlLink:n.data??""}}}catch(n){i={status:n.status||500,message:n.message,data:{message:"",urlLink:""}}}return i},exports.loginApi=async(e,t)=>{let a={status:200,message:""};try{await o.post("/graph/auth/sesh",{usr:e,pwd:t}),a={status:200,message:""}}catch(s){a={status:s.status||500,message:s.message}}return a},exports.logoutApi=async()=>{let e={status:200,message:""};try{await o.post("/graph/auth/sesh/logout")}catch(t){e={status:t.status||500,message:t.message}}return e},exports.post=d,exports.rename=async e=>{let t={status:200,message:""};try{const a=await o.post("/graph/rename",{fullname:e}),s=a.data;t={status:1==s.status?200:509,message:s.msg?a.data.msg:""}}catch(a){t={status:a.status||500,message:a.message}}return t},exports.setLocaleApi=async(e,t)=>{let a={status:200,message:"",...f};try{const s=await o.post("/graph/setlocale",{language:e,udid:t??""}),r=JSON.parse(atob(s.data.responses[0].attributes));a.data={status:1==r.status,message:r.message??""}}catch(s){a={status:s.status||500,message:s.message,...f}}return a},exports.telegramLoginApi=async e=>{let t={status:200,message:""};try{await o.post("/loginVia/telegram",e),t={status:200,message:""}}catch(a){t={status:a.status||500,message:a.message}}return t};
@@ -429,8 +429,277 @@ const api = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
429
429
  __proto__: null,
430
430
  post
431
431
  }, Symbol.toStringTag, { value: "Module" }));
432
+ const DefaultAutoRegisterData = {
433
+ data: {
434
+ status: false,
435
+ message: "",
436
+ data: {
437
+ account: "",
438
+ password: "",
439
+ accountId: 0
440
+ }
441
+ }
442
+ };
443
+ const autoRegisterApi = async () => {
444
+ let result = {
445
+ status: 200,
446
+ message: "",
447
+ ...DefaultAutoRegisterData
448
+ };
449
+ try {
450
+ const request = await axiosInstance.get("/graph/autoregister");
451
+ const output = request.data;
452
+ result.data = {
453
+ status: output.status == 1,
454
+ message: output.message ?? "",
455
+ data: {
456
+ account: output.data.accountcode,
457
+ password: output.data.password,
458
+ accountId: output.data.accountid
459
+ }
460
+ };
461
+ } catch (error) {
462
+ const extendedError = error;
463
+ result = {
464
+ status: extendedError.status || 500,
465
+ message: error.message,
466
+ ...DefaultAutoRegisterData
467
+ };
468
+ }
469
+ return result;
470
+ };
471
+ const DefaultGetMaintenanceModeData = {
472
+ data: {
473
+ status: false,
474
+ message: "",
475
+ data: {
476
+ isMaintenance: false,
477
+ startTime: "",
478
+ endTime: ""
479
+ }
480
+ }
481
+ };
482
+ const getMaintenanceModeApi = async () => {
483
+ var _a, _b, _c;
484
+ let result = {
485
+ status: 200,
486
+ message: "",
487
+ ...DefaultGetMaintenanceModeData
488
+ };
489
+ try {
490
+ const request = await axiosInstance.get("/graph/getMaintenanceMode");
491
+ const output = request.data;
492
+ result.data = {
493
+ status: output.status == 1,
494
+ message: output.msg ?? "",
495
+ data: {
496
+ isMaintenance: ((_a = output.data) == null ? void 0 : _a.maintenanceMode) == "1",
497
+ startTime: ((_b = output.data) == null ? void 0 : _b.startTime) ?? "",
498
+ endTime: ((_c = output.data) == null ? void 0 : _c.endTime) ?? ""
499
+ }
500
+ };
501
+ } catch (error) {
502
+ const extendedError = error;
503
+ result = {
504
+ status: extendedError.status || 500,
505
+ message: error.message,
506
+ ...DefaultGetMaintenanceModeData
507
+ };
508
+ }
509
+ return result;
510
+ };
511
+ const DefaultjackpotData = {
512
+ data: {
513
+ startTimestamp: 0,
514
+ startJackpot: 0,
515
+ dailyIncrease: 0,
516
+ updateInterval: 0
517
+ }
518
+ };
519
+ const jackpotDataApi = async () => {
520
+ let result = {
521
+ status: 200,
522
+ message: "",
523
+ ...DefaultjackpotData
524
+ };
525
+ try {
526
+ const request = await axiosInstance.get("/api/jackpotData");
527
+ const output = request.data;
528
+ result.data = {
529
+ startTimestamp: output.startTimestamp,
530
+ startJackpot: output.startJackpot,
531
+ dailyIncrease: output.dailyIncrease,
532
+ updateInterval: output.updateInterval
533
+ };
534
+ } catch (error) {
535
+ const extendedError = error;
536
+ result = {
537
+ status: extendedError.status || 500,
538
+ message: error.message,
539
+ ...DefaultjackpotData
540
+ };
541
+ }
542
+ return result;
543
+ };
544
+ const loadMatchApi = async (gameId, stage, sportId, tagId, matchId) => {
545
+ let result = {
546
+ status: 200,
547
+ message: "",
548
+ data: {
549
+ message: "",
550
+ urlLink: ""
551
+ }
552
+ };
553
+ try {
554
+ const request = await axiosInstance.post(`/loadgame/${gameId}`, {
555
+ wanturl: 1,
556
+ extra: {
557
+ Stage: stage,
558
+ SportId: sportId,
559
+ tagid: tagId,
560
+ MatchId: matchId
561
+ }
562
+ });
563
+ const output = request.data;
564
+ result = {
565
+ status: 200,
566
+ message: "",
567
+ data: {
568
+ message: output.msg ?? "",
569
+ urlLink: output.data ?? ""
570
+ }
571
+ };
572
+ } catch (error) {
573
+ const extendedError = error;
574
+ result = {
575
+ status: extendedError.status || 500,
576
+ message: error.message,
577
+ data: {
578
+ message: "",
579
+ urlLink: ""
580
+ }
581
+ };
582
+ }
583
+ return result;
584
+ };
585
+ const loginApi = async (username, password) => {
586
+ let result = {
587
+ status: 200,
588
+ message: ""
589
+ };
590
+ try {
591
+ await axiosInstance.post("/graph/auth/sesh", {
592
+ usr: username,
593
+ pwd: password
594
+ });
595
+ result = {
596
+ status: 200,
597
+ message: ""
598
+ };
599
+ } catch (error) {
600
+ const extendedError = error;
601
+ result = {
602
+ status: extendedError.status || 500,
603
+ message: error.message
604
+ };
605
+ }
606
+ return result;
607
+ };
608
+ const logoutApi = async () => {
609
+ let result = {
610
+ status: 200,
611
+ message: ""
612
+ };
613
+ try {
614
+ await axiosInstance.post("/graph/auth/sesh/logout");
615
+ } catch (error) {
616
+ const extendedError = error;
617
+ result = {
618
+ status: extendedError.status || 500,
619
+ message: error.message
620
+ };
621
+ }
622
+ return result;
623
+ };
624
+ const rename = async (fullname) => {
625
+ let result = {
626
+ status: 200,
627
+ message: ""
628
+ };
629
+ try {
630
+ const request = await axiosInstance.post("/graph/rename", {
631
+ fullname
632
+ });
633
+ if (false) ;
634
+ const response = request.data;
635
+ result = {
636
+ status: response.status == 1 ? 200 : 509,
637
+ message: response.msg ? request.data.msg : ""
638
+ };
639
+ } catch (error) {
640
+ const extendedError = error;
641
+ result = {
642
+ status: extendedError.status || 500,
643
+ message: error.message
644
+ };
645
+ }
646
+ return result;
647
+ };
648
+ const DefaultSetLocaleData = {
649
+ data: {
650
+ status: false,
651
+ message: ""
652
+ }
653
+ };
654
+ const setLocaleApi = async (localeCode, udid) => {
655
+ let result = {
656
+ status: 200,
657
+ message: "",
658
+ ...DefaultSetLocaleData
659
+ };
660
+ try {
661
+ const request = await axiosInstance.post("/graph/setlocale", {
662
+ language: localeCode,
663
+ udid: udid ?? ""
664
+ });
665
+ const output = JSON.parse(
666
+ atob(request.data.responses[0].attributes)
667
+ );
668
+ result.data = {
669
+ status: output.status == 1,
670
+ message: output.message ?? ""
671
+ };
672
+ } catch (error) {
673
+ const extendedError = error;
674
+ result = {
675
+ status: extendedError.status || 500,
676
+ message: error.message,
677
+ ...DefaultSetLocaleData
678
+ };
679
+ }
680
+ return result;
681
+ };
682
+ const telegramLoginApi = async (data) => {
683
+ let result = {
684
+ status: 200,
685
+ message: ""
686
+ };
687
+ try {
688
+ await axiosInstance.post("/loginVia/telegram", data);
689
+ result = {
690
+ status: 200,
691
+ message: ""
692
+ };
693
+ } catch (error) {
694
+ const extendedError = error;
695
+ result = {
696
+ status: extendedError.status || 500,
697
+ message: error.message
698
+ };
699
+ }
700
+ return result;
701
+ };
432
702
  const discoveredModules = {
433
- apis: {},
434
703
  types: {}
435
704
  };
436
705
  async function loadModule(path) {
@@ -440,35 +709,6 @@ async function loadModule(path) {
440
709
  return null;
441
710
  }
442
711
  }
443
- async function loadSpecialApis() {
444
- const specialApiModules = [
445
- "telegramLogin",
446
- "login",
447
- "jackpotData",
448
- "logout",
449
- "autoRegister",
450
- "setLocale",
451
- "loadMatch",
452
- "getMaintenanceMode",
453
- "rename"
454
- ];
455
- const results = await Promise.allSettled(
456
- specialApiModules.map(async (name) => {
457
- const [apiMod, typeMod] = await Promise.all([
458
- loadModule(`./api/${name}/${name}Api`),
459
- loadModule(`./api/${name}/type`)
460
- ]);
461
- return { name, apiMod, typeMod };
462
- })
463
- );
464
- results.forEach((result) => {
465
- if (result.status === "fulfilled") {
466
- const { name, apiMod, typeMod } = result.value;
467
- if (apiMod) discoveredModules.apis[`${name}Api`] = apiMod;
468
- if (typeMod) discoveredModules.types[`${name}Type`] = typeMod;
469
- }
470
- });
471
- }
472
712
  async function loadAllModelTypes() {
473
713
  const allApiNames = Object.values(Api);
474
714
  const batchSize = 20;
@@ -488,25 +728,31 @@ async function loadAllModelTypes() {
488
728
  });
489
729
  }
490
730
  }
491
- Promise.all([loadSpecialApis(), loadAllModelTypes()]).then(
731
+ Promise.all([loadAllModelTypes()]).then(
492
732
  () => console.log(
493
733
  `✅ Module discovery completed - ${Object.keys(discoveredModules.types).length} types loaded`
494
734
  )
495
735
  ).catch((error) => console.warn("Module discovery failed:", error));
496
- const getApiModule = (name) => discoveredModules.apis[name];
497
736
  const getTypeModule = (name) => discoveredModules.types[name];
498
737
  const getAllModules = () => ({
499
- apis: { ...discoveredModules.apis },
500
738
  types: { ...discoveredModules.types }
501
739
  });
502
740
  const getAllApiNames = () => Object.values(Api);
503
741
  export {
504
742
  Api,
505
743
  api,
744
+ autoRegisterApi,
506
745
  config,
507
746
  getAllApiNames,
508
747
  getAllModules,
509
- getApiModule,
748
+ getMaintenanceModeApi,
510
749
  getTypeModule,
511
- post
750
+ jackpotDataApi,
751
+ loadMatchApi,
752
+ loginApi,
753
+ logoutApi,
754
+ post,
755
+ rename,
756
+ setLocaleApi,
757
+ telegramLoginApi
512
758
  };
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("axios")):"function"==typeof define&&define.amd?define(["exports","axios"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self)["60p82u21t54k"]={},e.axios)}(this,function(e,t){"use strict";var a=Object.defineProperty;const r=new class{constructor(){var e;((e,t,r)=>{t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r})(this,"symbol"!=typeof(e="models")?e+"":e,new Map)}register(e,t){this.models.set(e,t)}getTransformer(e){var t;return(null==(t=this.models.get(e))?void 0:t.transformer)||null}getRequestModifier(e){var t;return(null==(t=this.models.get(e))?void 0:t.requestModifier)||null}getResponseModifier(e){var t;return(null==(t=this.models.get(e))?void 0:t.responseModifier)||null}hasModel(e){return this.models.has(e)}getRegisteredApis(){return Array.from(this.models.keys())}},i=(e,t)=>{const a=r.getTransformer(e);return a?a.transform(t):t};var s=(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.upcomingMatches="upcomingMatches",e.deposit="deposit",e.applyVipBonus="applyVipBonus",e.getBankCardData="getBankCardData",e.withdrawalGet="withdrawalGet",e.withdraw="withdraw",e.addBankCard="addBankCard",e.transactionReport="transactionReport",e.changePassword="changePassword",e.wallet="wallet",e.getEventlist="getEventlist",e.getEventToken="getEventToken",e.getExtraGame="getExtraGame",e.mailBox="mailBox",e.slotGameList="slotGameList",e.getTurnOverRewardData="getTurnOverRewardData",e.getTurnOverRewardReport="getTurnOverRewardReport",e.getInviteRewardData="getInviteRewardData",e.getInviteRewardReport="getInviteRewardReport",e.getTopupRewardData="getTopupRewardData",e.getTopupRewardReport="getTopupRewardReport",e.getRewardReferral="getRewardReferral",e.submitWithdrawValidate="submitWithdrawValidate",e.getDepositPromotion="getDepositPromotion",e.getInviteRewardClaim="getInviteRewardClaim",e.getTopupRewardClaim="getTopupRewardClaim",e.getTurnOverRewardClaim="getTurnOverRewardClaim",e.getInviteRewardSetting="getInviteRewardSetting",e.getTopupRewardSetting="getTopupRewardSetting",e.getTurnOverRewardSetting="getTurnOverRewardSetting",e.requestForgetPassword="requestForgetPassword",e.submitForgetPassword="submitForgetPassword",e.getImage="getImage",e.getDepositValidate="getDepositValidate",e.getTransferCreditValidate="getTransferCreditValidate",e.getWithdrawValidate="getWithdrawValidate",e.updateProfilePicture="updateProfilePicture",e.readMail="readMail",e.checkRedpacketValidate="checkRedpacketValidate",e.requestTacCode="requestTacCode",e.getUsernameByRefer="getUsernameByRefer",e.applyPromo="applyPromo",e.applyRedpacket="applyRedpacket",e.applySignIn="applySignIn",e.getCountry="getCountry",e.submitGiftCode="submitGiftCode",e.playGame="playGame",e.transferToMain="transferToMain",e.transferProcess="transferProcess",e.submitDepositValidate="submitDepositValidate",e.submitTransferCreditValidate="submitTransferCreditValidate",e.checkTransferCredit="checkTransferCredit",e.friendList="friendList",e.friendListEdit="friendListEdit",e.getActivePP="getActivePP",e.getActiveProduct="getActiveProduct",e.requestWithdrawTac="requestWithdrawTac",e.requestWithdrawalCode="requestWithdrawalCode",e.commissionWithdraw="commissionWithdraw",e.submitWithdrawalCode="submitWithdrawalCode",e.submitCryptoAccount="submitCryptoAccount",e.requestTransferMoney="requestTransferMoney",e.submitTransferMoney="submitTransferMoney",e.getVerifyPromo="getVerifyPromo",e.requestUpdateMobileTacCode="requestUpdateMobileTacCode",e.submitUpdateMobileTacCode="submitUpdateMobileTacCode",e.signInViewInfo="signInViewInfo",e.signInRecord="signInRecord",e.referralProfile="referralProfile",e.referralMemberProfile="referralMemberProfile",e.registerAction="registerAction",e.transferReport="transferReport",e.agTransferCreditReport="agTransferCreditReport",e.betReport="betReport",e.getTwoFactorAuthenticate="getTwoFactorAuthenticate",e.getUserDeviceList="getUserDeviceList",e.submitTwoFactorAuthenticate="submitTwoFactorAuthenticate",e.unbindUserDevice="unbindUserDevice",e.searchNumberHistory="searchNumberHistory",e.changeWithdrawalCode="changeWithdrawalCode",e.checkRedPacketToken="checkRedPacketToken",e.submitWithdrawalAlipay="submitWithdrawalAlipay",e.applyReliefFund="applyReliefFund",e.getReliefFundData="getReliefFundData",e.getReliefFundReport="getReliefFundReport",e.getWeekCardData="getWeekCardData",e.applyWeekCard="applyWeekCard",e.getWeekCardClaim="getWeekCardClaim",e.transfersetting="transfersetting",e.transfer="transfer",e.getIncentiveData="getIncentiveData",e.getIncentiveRebate="getIncentiveRebate",e.claimIncentiveRebate="claimIncentiveRebate",e.getMissionData="getMissionData",e.getMissionClaim="getMissionClaim",e.registerForm="registerForm",e.getFavouriteGame="getFavouriteGame",e.updateFavouriteGame="updateFavouriteGame",e.requestForgetUsername="requestForgetUsername",e.submitForgetUsername="submitForgetUsername",e.getAccumulateDepositData="getAccumulateDepositData",e.getAccumulateDepositClaim="getAccumulateDepositClaim",e.rebateRefundSetting="rebateRefundSetting",e.getASCMatchCount="getASCMatchCount",e.updateDeviceToken="updateDeviceToken",e.getCryptoList="getCryptoList",e.getCryptoAddress="getCryptoAddress",e.getPopoutItem="getPopoutItem",e.getTurnOverRewardSettingMult="getTurnOverRewardSettingMult",e.interestIndex="interestIndex",e.interestWalletInfo="interestWalletInfo",e.interestTransactionList="interestTransactionList",e.interestTransferIn="interestTransferIn",e.interestTransferOut="interestTransferOut",e.getWheelData="getWheelData",e.getWheelTicket="getWheelTicket",e.spinWheel="spinWheel",e.getWheelReport="getWheelReport",e.getWeekCardAllData="getWeekCardAllData",e.searchGameByName="searchGameByName",e.checkGoldEggValidate="checkGoldEggValidate",e.applyGoldEgg="applyGoldEgg",e.checkGoldEggToken="checkGoldEggToken",e.getGoldEggData="getGoldEggData",e.getNewbieMissionData="getNewbieMissionData",e.getNewbieMissionClaim="getNewbieMissionClaim",e.getFeedback="getFeedback",e.submitFeedback="submitFeedback",e.casinoGameList="casinoGameList",e.isMobileRegistered="isMobileRegistered",e.getActivePlatform="getActivePlatform",e))(s||{});function o(e){return e.charAt(0).toUpperCase()+e.slice(1)}(async()=>{await(async()=>{const e=Object.values(s),t={successful:[],failed:[]};for(const i of e)try{const e=await import(`../model/${i}`),a=`get${o(i)}Response`,s=`modify${o(i)}Request`,n=`modify${o(i)}Response`,l=[];if(e[a]||l.push(a),e[s]||l.push(s),e[n]||l.push(n),l.length>0){t.failed.push({name:i,reason:`Missing functions: ${l.join(", ")}`});continue}r.register(i,{transformer:{transform:e[a]},requestModifier:{modifyRequest:e[s]},responseModifier:{modifyResponse:e[n]}}),t.successful.push(i)}catch(a){const e=a instanceof Error?a.message:"Unknown error";t.failed.push({name:i,reason:e})}})()})();const n=t.create({baseURL:"",timeout:29e3,headers:{"Content-Type":"application/json"}});n.interceptors.request.use(e=>{const t=localStorage.getItem("token");return t&&(e.headers.Authorization=`Bearer ${t}`),e},e=>Promise.reject(e)),n.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,401===e.response.status||404===e.response.status||e.response.status):e.request,Promise.reject(t)});let l={prefix:"188",timezone:-4,currency:"¥",language:"zh"};const u=Object.freeze(Object.defineProperty({__proto__:null,getConfig:()=>l,setConfig:e=>{l={...l,...e}}},Symbol.toStringTag,{value:"Module"})),d=e=>{try{return atob(e)}catch(t){return""}},g=async e=>{const t=(e=>{let t=[...e];for(const a of e){const e=r.getRequestModifier(a.name);e&&(t=e.modifyRequest(t))}return t})(e),a={requests:t.map(e=>({name:e.name,query:btoa(e.query)}))},s=await n.post("/graph/jwt",(o=JSON.stringify(a),(new TextEncoder).encode(o)));var o;const l={status:200,message:"",result:{}};for(const r of s.data.responses){null!=r.error&&200!=r.error.code&&(l.status=r.error.code,l.message=r.error.message);const e=null!==r.attributes&&void 0!==r.attributes?d(r.attributes):null,t=r.name,a=e?JSON.parse(e):null;l.result[t]=a?i(t,a):null}return l.result=(e=>{let t={...e};for(const a of Object.keys(e)){const e=r.getResponseModifier(a);e&&(t=e.modifyResponse(t))}return t})(l.result),l},c=Object.freeze(Object.defineProperty({__proto__:null,post:g},Symbol.toStringTag,{value:"Module"})),p={apis:{},types:{}};async function m(e){try{return await import(e)}catch{return null}}Promise.all([async function(){(await Promise.allSettled(["telegramLogin","login","jackpotData","logout","autoRegister","setLocale","loadMatch","getMaintenanceMode","rename"].map(async e=>{const[t,a]=await Promise.all([m(`./api/${e}/${e}Api`),m(`./api/${e}/type`)]);return{name:e,apiMod:t,typeMod:a}}))).forEach(e=>{if("fulfilled"===e.status){const{name:t,apiMod:a,typeMod:r}=e.value;a&&(p.apis[`${t}Api`]=a),r&&(p.types[`${t}Type`]=r)}})}(),async function(){const e=Object.values(s);for(let t=0;t<e.length;t+=20){const a=e.slice(t,t+20);(await Promise.allSettled(a.map(async e=>({apiName:e,typeModule:await m(`./model/${e}/type`)})))).forEach(e=>{if("fulfilled"===e.status&&e.value.typeModule){const{apiName:t,typeModule:a}=e.value;p.types[`${t}Type`]=a}})}}()]).then(()=>{}).catch(e=>{}),e.Api=s,e.api=c,e.config=u,e.getAllApiNames=()=>Object.values(s),e.getAllModules=()=>({apis:{...p.apis},types:{...p.types}}),e.getApiModule=e=>p.apis[e],e.getTypeModule=e=>p.types[e],e.post=g,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})});
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("axios")):"function"==typeof define&&define.amd?define(["exports","axios"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self)["60p82u21t54k"]={},e.axios)}(this,function(e,t){"use strict";var a=Object.defineProperty;const s=new class{constructor(){var e;((e,t,s)=>{t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s})(this,"symbol"!=typeof(e="models")?e+"":e,new Map)}register(e,t){this.models.set(e,t)}getTransformer(e){var t;return(null==(t=this.models.get(e))?void 0:t.transformer)||null}getRequestModifier(e){var t;return(null==(t=this.models.get(e))?void 0:t.requestModifier)||null}getResponseModifier(e){var t;return(null==(t=this.models.get(e))?void 0:t.responseModifier)||null}hasModel(e){return this.models.has(e)}getRegisteredApis(){return Array.from(this.models.keys())}},r=(e,t)=>{const a=s.getTransformer(e);return a?a.transform(t):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.upcomingMatches="upcomingMatches",e.deposit="deposit",e.applyVipBonus="applyVipBonus",e.getBankCardData="getBankCardData",e.withdrawalGet="withdrawalGet",e.withdraw="withdraw",e.addBankCard="addBankCard",e.transactionReport="transactionReport",e.changePassword="changePassword",e.wallet="wallet",e.getEventlist="getEventlist",e.getEventToken="getEventToken",e.getExtraGame="getExtraGame",e.mailBox="mailBox",e.slotGameList="slotGameList",e.getTurnOverRewardData="getTurnOverRewardData",e.getTurnOverRewardReport="getTurnOverRewardReport",e.getInviteRewardData="getInviteRewardData",e.getInviteRewardReport="getInviteRewardReport",e.getTopupRewardData="getTopupRewardData",e.getTopupRewardReport="getTopupRewardReport",e.getRewardReferral="getRewardReferral",e.submitWithdrawValidate="submitWithdrawValidate",e.getDepositPromotion="getDepositPromotion",e.getInviteRewardClaim="getInviteRewardClaim",e.getTopupRewardClaim="getTopupRewardClaim",e.getTurnOverRewardClaim="getTurnOverRewardClaim",e.getInviteRewardSetting="getInviteRewardSetting",e.getTopupRewardSetting="getTopupRewardSetting",e.getTurnOverRewardSetting="getTurnOverRewardSetting",e.requestForgetPassword="requestForgetPassword",e.submitForgetPassword="submitForgetPassword",e.getImage="getImage",e.getDepositValidate="getDepositValidate",e.getTransferCreditValidate="getTransferCreditValidate",e.getWithdrawValidate="getWithdrawValidate",e.updateProfilePicture="updateProfilePicture",e.readMail="readMail",e.checkRedpacketValidate="checkRedpacketValidate",e.requestTacCode="requestTacCode",e.getUsernameByRefer="getUsernameByRefer",e.applyPromo="applyPromo",e.applyRedpacket="applyRedpacket",e.applySignIn="applySignIn",e.getCountry="getCountry",e.submitGiftCode="submitGiftCode",e.playGame="playGame",e.transferToMain="transferToMain",e.transferProcess="transferProcess",e.submitDepositValidate="submitDepositValidate",e.submitTransferCreditValidate="submitTransferCreditValidate",e.checkTransferCredit="checkTransferCredit",e.friendList="friendList",e.friendListEdit="friendListEdit",e.getActivePP="getActivePP",e.getActiveProduct="getActiveProduct",e.requestWithdrawTac="requestWithdrawTac",e.requestWithdrawalCode="requestWithdrawalCode",e.commissionWithdraw="commissionWithdraw",e.submitWithdrawalCode="submitWithdrawalCode",e.submitCryptoAccount="submitCryptoAccount",e.requestTransferMoney="requestTransferMoney",e.submitTransferMoney="submitTransferMoney",e.getVerifyPromo="getVerifyPromo",e.requestUpdateMobileTacCode="requestUpdateMobileTacCode",e.submitUpdateMobileTacCode="submitUpdateMobileTacCode",e.signInViewInfo="signInViewInfo",e.signInRecord="signInRecord",e.referralProfile="referralProfile",e.referralMemberProfile="referralMemberProfile",e.registerAction="registerAction",e.transferReport="transferReport",e.agTransferCreditReport="agTransferCreditReport",e.betReport="betReport",e.getTwoFactorAuthenticate="getTwoFactorAuthenticate",e.getUserDeviceList="getUserDeviceList",e.submitTwoFactorAuthenticate="submitTwoFactorAuthenticate",e.unbindUserDevice="unbindUserDevice",e.searchNumberHistory="searchNumberHistory",e.changeWithdrawalCode="changeWithdrawalCode",e.checkRedPacketToken="checkRedPacketToken",e.submitWithdrawalAlipay="submitWithdrawalAlipay",e.applyReliefFund="applyReliefFund",e.getReliefFundData="getReliefFundData",e.getReliefFundReport="getReliefFundReport",e.getWeekCardData="getWeekCardData",e.applyWeekCard="applyWeekCard",e.getWeekCardClaim="getWeekCardClaim",e.transfersetting="transfersetting",e.transfer="transfer",e.getIncentiveData="getIncentiveData",e.getIncentiveRebate="getIncentiveRebate",e.claimIncentiveRebate="claimIncentiveRebate",e.getMissionData="getMissionData",e.getMissionClaim="getMissionClaim",e.registerForm="registerForm",e.getFavouriteGame="getFavouriteGame",e.updateFavouriteGame="updateFavouriteGame",e.requestForgetUsername="requestForgetUsername",e.submitForgetUsername="submitForgetUsername",e.getAccumulateDepositData="getAccumulateDepositData",e.getAccumulateDepositClaim="getAccumulateDepositClaim",e.rebateRefundSetting="rebateRefundSetting",e.getASCMatchCount="getASCMatchCount",e.updateDeviceToken="updateDeviceToken",e.getCryptoList="getCryptoList",e.getCryptoAddress="getCryptoAddress",e.getPopoutItem="getPopoutItem",e.getTurnOverRewardSettingMult="getTurnOverRewardSettingMult",e.interestIndex="interestIndex",e.interestWalletInfo="interestWalletInfo",e.interestTransactionList="interestTransactionList",e.interestTransferIn="interestTransferIn",e.interestTransferOut="interestTransferOut",e.getWheelData="getWheelData",e.getWheelTicket="getWheelTicket",e.spinWheel="spinWheel",e.getWheelReport="getWheelReport",e.getWeekCardAllData="getWeekCardAllData",e.searchGameByName="searchGameByName",e.checkGoldEggValidate="checkGoldEggValidate",e.applyGoldEgg="applyGoldEgg",e.checkGoldEggToken="checkGoldEggToken",e.getGoldEggData="getGoldEggData",e.getNewbieMissionData="getNewbieMissionData",e.getNewbieMissionClaim="getNewbieMissionClaim",e.getFeedback="getFeedback",e.submitFeedback="submitFeedback",e.casinoGameList="casinoGameList",e.isMobileRegistered="isMobileRegistered",e.getActivePlatform="getActivePlatform",e))(i||{});function n(e){return e.charAt(0).toUpperCase()+e.slice(1)}(async()=>{await(async()=>{const e=Object.values(i),t={successful:[],failed:[]};for(const r of e)try{const e=await import(`../model/${r}`),a=`get${n(r)}Response`,i=`modify${n(r)}Request`,o=`modify${n(r)}Response`,u=[];if(e[a]||u.push(a),e[i]||u.push(i),e[o]||u.push(o),u.length>0){t.failed.push({name:r,reason:`Missing functions: ${u.join(", ")}`});continue}s.register(r,{transformer:{transform:e[a]},requestModifier:{modifyRequest:e[i]},responseModifier:{modifyResponse:e[o]}}),t.successful.push(r)}catch(a){const e=a instanceof Error?a.message:"Unknown error";t.failed.push({name:r,reason:e})}})()})();const o=t.create({baseURL:"",timeout:29e3,headers:{"Content-Type":"application/json"}});o.interceptors.request.use(e=>{const t=localStorage.getItem("token");return t&&(e.headers.Authorization=`Bearer ${t}`),e},e=>Promise.reject(e)),o.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,401===e.response.status||404===e.response.status||e.response.status):e.request,Promise.reject(t)});let u={prefix:"188",timezone:-4,currency:"¥",language:"zh"};const g=Object.freeze(Object.defineProperty({__proto__:null,getConfig:()=>u,setConfig:e=>{u={...u,...e}}},Symbol.toStringTag,{value:"Module"})),d=e=>{try{return atob(e)}catch(t){return""}},l=async e=>{const t=(e=>{let t=[...e];for(const a of e){const e=s.getRequestModifier(a.name);e&&(t=e.modifyRequest(t))}return t})(e),a={requests:t.map(e=>({name:e.name,query:btoa(e.query)}))},i=await o.post("/graph/jwt",(n=JSON.stringify(a),(new TextEncoder).encode(n)));var n;const u={status:200,message:"",result:{}};for(const s of i.data.responses){null!=s.error&&200!=s.error.code&&(u.status=s.error.code,u.message=s.error.message);const e=null!==s.attributes&&void 0!==s.attributes?d(s.attributes):null,t=s.name,a=e?JSON.parse(e):null;u.result[t]=a?r(t,a):null}return u.result=(e=>{let t={...e};for(const a of Object.keys(e)){const e=s.getResponseModifier(a);e&&(t=e.modifyResponse(t))}return t})(u.result),u},c=Object.freeze(Object.defineProperty({__proto__:null,post:l},Symbol.toStringTag,{value:"Module"})),m={data:{status:!1,message:"",data:{account:"",password:"",accountId:0}}},p={data:{status:!1,message:"",data:{isMaintenance:!1,startTime:"",endTime:""}}},f={data:{startTimestamp:0,startJackpot:0,dailyIncrease:0,updateInterval:0}},h={data:{status:!1,message:""}},y={types:{}};async function w(e){try{return await import(e)}catch{return null}}Promise.all([async function(){const e=Object.values(i);for(let t=0;t<e.length;t+=20){const a=e.slice(t,t+20);(await Promise.allSettled(a.map(async e=>({apiName:e,typeModule:await w(`./model/${e}/type`)})))).forEach(e=>{if("fulfilled"===e.status&&e.value.typeModule){const{apiName:t,typeModule:a}=e.value;y.types[`${t}Type`]=a}})}}()]).then(()=>{}).catch(e=>{}),e.Api=i,e.api=c,e.autoRegisterApi=async()=>{let e={status:200,message:"",...m};try{const t=(await o.get("/graph/autoregister")).data;e.data={status:1==t.status,message:t.message??"",data:{account:t.data.accountcode,password:t.data.password,accountId:t.data.accountid}}}catch(t){e={status:t.status||500,message:t.message,...m}}return e},e.config=g,e.getAllApiNames=()=>Object.values(i),e.getAllModules=()=>({types:{...y.types}}),e.getMaintenanceModeApi=async()=>{var e,t,a;let s={status:200,message:"",...p};try{const r=(await o.get("/graph/getMaintenanceMode")).data;s.data={status:1==r.status,message:r.msg??"",data:{isMaintenance:"1"==(null==(e=r.data)?void 0:e.maintenanceMode),startTime:(null==(t=r.data)?void 0:t.startTime)??"",endTime:(null==(a=r.data)?void 0:a.endTime)??""}}}catch(r){s={status:r.status||500,message:r.message,...p}}return s},e.getTypeModule=e=>y.types[e],e.jackpotDataApi=async()=>{let e={status:200,message:"",...f};try{const t=(await o.get("/api/jackpotData")).data;e.data={startTimestamp:t.startTimestamp,startJackpot:t.startJackpot,dailyIncrease:t.dailyIncrease,updateInterval:t.updateInterval}}catch(t){e={status:t.status||500,message:t.message,...f}}return e},e.loadMatchApi=async(e,t,a,s,r)=>{let i={status:200,message:"",data:{message:"",urlLink:""}};try{const n=(await o.post(`/loadgame/${e}`,{wanturl:1,extra:{Stage:t,SportId:a,tagid:s,MatchId:r}})).data;i={status:200,message:"",data:{message:n.msg??"",urlLink:n.data??""}}}catch(n){i={status:n.status||500,message:n.message,data:{message:"",urlLink:""}}}return i},e.loginApi=async(e,t)=>{let a={status:200,message:""};try{await o.post("/graph/auth/sesh",{usr:e,pwd:t}),a={status:200,message:""}}catch(s){a={status:s.status||500,message:s.message}}return a},e.logoutApi=async()=>{let e={status:200,message:""};try{await o.post("/graph/auth/sesh/logout")}catch(t){e={status:t.status||500,message:t.message}}return e},e.post=l,e.rename=async e=>{let t={status:200,message:""};try{const a=await o.post("/graph/rename",{fullname:e}),s=a.data;t={status:1==s.status?200:509,message:s.msg?a.data.msg:""}}catch(a){t={status:a.status||500,message:a.message}}return t},e.setLocaleApi=async(e,t)=>{let a={status:200,message:"",...h};try{const s=await o.post("/graph/setlocale",{language:e,udid:t??""}),r=JSON.parse(atob(s.data.responses[0].attributes));a.data={status:1==r.status,message:r.message??""}}catch(s){a={status:s.status||500,message:s.message,...h}}return a},e.telegramLoginApi=async e=>{let t={status:200,message:""};try{await o.post("/loginVia/telegram",e),t={status:200,message:""}}catch(a){t={status:a.status||500,message:a.message}}return t},Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})});
@@ -1,5 +1,3 @@
1
1
  import { AutoRegisterResponse } from './type';
2
- declare const autoRegisterApi: () => Promise<AutoRegisterResponse>;
3
- export default autoRegisterApi;
4
- export declare const call: () => Promise<AutoRegisterResponse>;
2
+ export declare const autoRegisterApi: () => Promise<AutoRegisterResponse>;
5
3
  //# sourceMappingURL=autoRegisterApi.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"autoRegisterApi.d.ts","sourceRoot":"","sources":["../../../src/api/autoRegister/autoRegisterApi.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAAA;AAiB7C,QAAA,MAAM,eAAe,QAAa,OAAO,CAAC,oBAAoB,CAgC7D,CAAA;AAGD,eAAe,eAAe,CAAA;AAG9B,eAAO,MAAM,IAAI,QAtCiB,OAAO,CAAC,oBAAoB,CAsC3B,CAAA"}
1
+ {"version":3,"file":"autoRegisterApi.d.ts","sourceRoot":"","sources":["../../../src/api/autoRegister/autoRegisterApi.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAAA;AAiB7C,eAAO,MAAM,eAAe,QAAa,OAAO,CAAC,oBAAoB,CAgCpE,CAAA"}
@@ -1,3 +1,3 @@
1
- export { call } from './autoRegisterApi';
1
+ export * from './autoRegisterApi';
2
2
  export * from './type';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/autoRegister/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAA;AACxC,cAAc,QAAQ,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/autoRegister/index.ts"],"names":[],"mappings":"AAEA,cAAc,mBAAmB,CAAA;AACjC,cAAc,QAAQ,CAAA"}
@@ -1,5 +1,3 @@
1
1
  import { GetMaintenanceModeResponse } from './type';
2
- declare const getMaintenanceModeApi: () => Promise<GetMaintenanceModeResponse>;
3
- export default getMaintenanceModeApi;
4
- export declare const call: () => Promise<GetMaintenanceModeResponse>;
2
+ export declare const getMaintenanceModeApi: () => Promise<GetMaintenanceModeResponse>;
5
3
  //# sourceMappingURL=getMaintenanceModeApi.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getMaintenanceModeApi.d.ts","sourceRoot":"","sources":["../../../src/api/getMaintenanceMode/getMaintenanceModeApi.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,0BAA0B,EAAE,MAAM,QAAQ,CAAA;AAgBnD,QAAA,MAAM,qBAAqB,QAAa,OAAO,CAAC,0BAA0B,CAgCzE,CAAA;AAGD,eAAe,qBAAqB,CAAA;AAGpC,eAAO,MAAM,IAAI,QAtCuB,OAAO,CAAC,0BAA0B,CAsCjC,CAAA"}
1
+ {"version":3,"file":"getMaintenanceModeApi.d.ts","sourceRoot":"","sources":["../../../src/api/getMaintenanceMode/getMaintenanceModeApi.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,0BAA0B,EAAE,MAAM,QAAQ,CAAA;AAgBnD,eAAO,MAAM,qBAAqB,QAAa,OAAO,CAAC,0BAA0B,CAgChF,CAAA"}
@@ -1,3 +1,3 @@
1
- export { call } from './getMaintenanceModeApi';
1
+ export * from './getMaintenanceModeApi';
2
2
  export * from './type';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/getMaintenanceMode/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAA;AAC9C,cAAc,QAAQ,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/getMaintenanceMode/index.ts"],"names":[],"mappings":"AAEA,cAAc,yBAAyB,CAAA;AACvC,cAAc,QAAQ,CAAA"}
@@ -1,3 +1,3 @@
1
- export { call } from './jackpotDataApi';
1
+ export * from './jackpotDataApi';
2
2
  export * from './type';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/jackpotData/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAA;AACvC,cAAc,QAAQ,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/jackpotData/index.ts"],"names":[],"mappings":"AAEA,cAAc,kBAAkB,CAAA;AAChC,cAAc,QAAQ,CAAA"}
@@ -1,5 +1,3 @@
1
1
  import { JackpotDataResponse } from './type';
2
- declare const jackpotDataApi: () => Promise<JackpotDataResponse>;
3
- export default jackpotDataApi;
4
- export declare const call: () => Promise<JackpotDataResponse>;
2
+ export declare const jackpotDataApi: () => Promise<JackpotDataResponse>;
5
3
  //# sourceMappingURL=jackpotDataApi.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"jackpotDataApi.d.ts","sourceRoot":"","sources":["../../../src/api/jackpotData/jackpotDataApi.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAA;AAa5C,QAAA,MAAM,cAAc,QAAa,OAAO,CAAC,mBAAmB,CA6B3D,CAAA;AAGD,eAAe,cAAc,CAAA;AAG7B,eAAO,MAAM,IAAI,QAnCgB,OAAO,CAAC,mBAAmB,CAmC1B,CAAA"}
1
+ {"version":3,"file":"jackpotDataApi.d.ts","sourceRoot":"","sources":["../../../src/api/jackpotData/jackpotDataApi.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAA;AAa5C,eAAO,MAAM,cAAc,QAAa,OAAO,CAAC,mBAAmB,CA6BlE,CAAA"}
@@ -1,3 +1,3 @@
1
- export { call } from './loadMatchApi';
1
+ export * from './loadMatchApi';
2
2
  export * from './type';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/loadMatch/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AACrC,cAAc,QAAQ,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/loadMatch/index.ts"],"names":[],"mappings":"AAEA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,QAAQ,CAAA"}
@@ -1,5 +1,3 @@
1
1
  import { LoadMatchResponse } from './type';
2
- declare const loadMatchApi: (gameId: string, stage: string, sportId: string, tagId: string, matchId: string) => Promise<LoadMatchResponse>;
3
- export default loadMatchApi;
4
- export declare const call: (gameId: string, stage: string, sportId: string, tagId: string, matchId: string) => Promise<LoadMatchResponse>;
2
+ export declare const loadMatchApi: (gameId: string, stage: string, sportId: string, tagId: string, matchId: string) => Promise<LoadMatchResponse>;
5
3
  //# sourceMappingURL=loadMatchApi.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"loadMatchApi.d.ts","sourceRoot":"","sources":["../../../src/api/loadMatch/loadMatchApi.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAA;AAI1C,QAAA,MAAM,YAAY,WACR,MAAM,SACP,MAAM,WACJ,MAAM,SACR,MAAM,WACJ,MAAM,KACd,OAAO,CAAC,iBAAiB,CA6C3B,CAAA;AAGD,eAAe,YAAY,CAAA;AAG3B,eAAO,MAAM,IAAI,WAxDP,MAAM,SACP,MAAM,WACJ,MAAM,SACR,MAAM,WACJ,MAAM,KACd,OAAO,CAAC,iBAAiB,CAmDI,CAAA"}
1
+ {"version":3,"file":"loadMatchApi.d.ts","sourceRoot":"","sources":["../../../src/api/loadMatch/loadMatchApi.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAA;AAI1C,eAAO,MAAM,YAAY,WACf,MAAM,SACP,MAAM,WACJ,MAAM,SACR,MAAM,WACJ,MAAM,KACd,OAAO,CAAC,iBAAiB,CA6C3B,CAAA"}
@@ -1,3 +1,3 @@
1
- export { call } from './loginApi';
1
+ export * from './loginApi';
2
2
  export * from './type';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/login/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAA;AACjC,cAAc,QAAQ,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/login/index.ts"],"names":[],"mappings":"AAEA,cAAc,YAAY,CAAA;AAC1B,cAAc,QAAQ,CAAA"}
@@ -1,5 +1,3 @@
1
1
  import { LoginResponse } from './type';
2
- declare const loginApi: (username: string, password: string) => Promise<LoginResponse>;
3
- export default loginApi;
4
- export declare const call: (username: string, password: string) => Promise<LoginResponse>;
2
+ export declare const loginApi: (username: string, password: string) => Promise<LoginResponse>;
5
3
  //# sourceMappingURL=loginApi.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"loginApi.d.ts","sourceRoot":"","sources":["../../../src/api/login/loginApi.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAIhD,QAAA,MAAM,QAAQ,aAAoB,MAAM,YAAY,MAAM,KAAG,OAAO,CAAC,aAAa,CA0BjF,CAAA;AAGD,eAAe,QAAQ,CAAA;AAGvB,eAAO,MAAM,IAAI,aAhCiB,MAAM,YAAY,MAAM,KAAG,OAAO,CAAC,aAAa,CAgCtD,CAAA"}
1
+ {"version":3,"file":"loginApi.d.ts","sourceRoot":"","sources":["../../../src/api/login/loginApi.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAIhD,eAAO,MAAM,QAAQ,aACT,MAAM,YACN,MAAM,KACf,OAAO,CAAC,aAAa,CA0BvB,CAAA"}
@@ -1,3 +1,3 @@
1
- export { call } from './logoutApi';
1
+ export * from './logoutApi';
2
2
  export * from './type';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/logout/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAClC,cAAc,QAAQ,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/logout/index.ts"],"names":[],"mappings":"AAEA,cAAc,aAAa,CAAA;AAC3B,cAAc,QAAQ,CAAA"}
@@ -1,5 +1,3 @@
1
1
  import { LogoutResponse } from './type';
2
- declare const logoutApi: () => Promise<LogoutResponse>;
3
- export default logoutApi;
4
- export declare const call: () => Promise<LogoutResponse>;
2
+ export declare const logoutApi: () => Promise<LogoutResponse>;
5
3
  //# sourceMappingURL=logoutApi.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"logoutApi.d.ts","sourceRoot":"","sources":["../../../src/api/logout/logoutApi.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAIlD,QAAA,MAAM,SAAS,QAAa,OAAO,CAAC,cAAc,CAkBjD,CAAA;AAGD,eAAe,SAAS,CAAA;AAGxB,eAAO,MAAM,IAAI,QAxBW,OAAO,CAAC,cAAc,CAwBrB,CAAA"}
1
+ {"version":3,"file":"logoutApi.d.ts","sourceRoot":"","sources":["../../../src/api/logout/logoutApi.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAIlD,eAAO,MAAM,SAAS,QAAa,OAAO,CAAC,cAAc,CAkBxD,CAAA"}
@@ -1,3 +1,3 @@
1
- export { rename } from './renameApi';
1
+ export * from './renameApi';
2
2
  export * from './type';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/rename/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AAEpC,cAAc,QAAQ,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/rename/index.ts"],"names":[],"mappings":"AAEA,cAAc,aAAa,CAAA;AAE3B,cAAc,QAAQ,CAAA"}
@@ -1,3 +1,3 @@
1
- export { call } from './setLocaleApi';
1
+ export * from './setLocaleApi';
2
2
  export * from './type';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/setLocale/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AACrC,cAAc,QAAQ,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/setLocale/index.ts"],"names":[],"mappings":"AAEA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,QAAQ,CAAA"}
@@ -1,5 +1,3 @@
1
1
  import { SetLocaleResponse } from './type';
2
- declare const setLocaleApi: (localeCode: string, udid?: string) => Promise<SetLocaleResponse>;
3
- export default setLocaleApi;
4
- export declare const call: (localeCode: string, udid?: string) => Promise<SetLocaleResponse>;
2
+ export declare const setLocaleApi: (localeCode: string, udid?: string) => Promise<SetLocaleResponse>;
5
3
  //# sourceMappingURL=setLocaleApi.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"setLocaleApi.d.ts","sourceRoot":"","sources":["../../../src/api/setLocale/setLocaleApi.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAA;AAW1C,QAAA,MAAM,YAAY,eACJ,MAAM,SACX,MAAM,KACZ,OAAO,CAAC,iBAAiB,CAgC3B,CAAA;AAGD,eAAe,YAAY,CAAA;AAG3B,eAAO,MAAM,IAAI,eAxCH,MAAM,SACX,MAAM,KACZ,OAAO,CAAC,iBAAiB,CAsCI,CAAA"}
1
+ {"version":3,"file":"setLocaleApi.d.ts","sourceRoot":"","sources":["../../../src/api/setLocale/setLocaleApi.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAA;AAW1C,eAAO,MAAM,YAAY,eACX,MAAM,SACX,MAAM,KACZ,OAAO,CAAC,iBAAiB,CAgC3B,CAAA"}
@@ -1,3 +1,3 @@
1
- export { call } from './telegramLoginApi';
1
+ export * from './telegramLoginApi';
2
2
  export * from './type';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/telegramLogin/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAA;AACzC,cAAc,QAAQ,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/telegramLogin/index.ts"],"names":[],"mappings":"AAEA,cAAc,oBAAoB,CAAA;AAClC,cAAc,QAAQ,CAAA"}
@@ -1,5 +1,3 @@
1
1
  import { TelegramLoginResponse } from './type';
2
- declare const telegramLoginApi: (data: Record<string, unknown>) => Promise<TelegramLoginResponse>;
3
- export default telegramLoginApi;
4
- export declare const call: (data: Record<string, unknown>) => Promise<TelegramLoginResponse>;
2
+ export declare const telegramLoginApi: (data: Record<string, unknown>) => Promise<TelegramLoginResponse>;
5
3
  //# sourceMappingURL=telegramLoginApi.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"telegramLoginApi.d.ts","sourceRoot":"","sources":["../../../src/api/telegramLogin/telegramLoginApi.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,QAAQ,CAAA;AAI9C,QAAA,MAAM,gBAAgB,SACd,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAC5B,OAAO,CAAC,qBAAqB,CAuB/B,CAAA;AAGD,eAAe,gBAAgB,CAAA;AAG/B,eAAO,MAAM,IAAI,SA9BT,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAC5B,OAAO,CAAC,qBAAqB,CA6BI,CAAA"}
1
+ {"version":3,"file":"telegramLoginApi.d.ts","sourceRoot":"","sources":["../../../src/api/telegramLogin/telegramLoginApi.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,QAAQ,CAAA;AAI9C,eAAO,MAAM,gBAAgB,SACrB,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAC5B,OAAO,CAAC,qBAAqB,CAuB/B,CAAA"}
package/dist/index.d.ts CHANGED
@@ -1,22 +1,28 @@
1
1
  export { post } from './api/general/api';
2
2
  export type { ApiResponseMap, RequestPayload, ApiResult, Result, } from './api/general/type';
3
3
  export { Api } from './api/general/type';
4
+ export { autoRegisterApi } from './api/autoRegister/autoRegisterApi';
5
+ export { getMaintenanceModeApi } from './api/getMaintenanceMode/getMaintenanceModeApi';
6
+ export { jackpotDataApi } from './api/jackpotData/jackpotDataApi';
7
+ export { loadMatchApi } from './api/loadMatch/loadMatchApi';
8
+ export { loginApi } from './api/login/loginApi';
9
+ export { logoutApi } from './api/logout/logoutApi';
10
+ export { rename } from './api/rename/renameApi';
11
+ export { setLocaleApi } from './api/setLocale/setLocaleApi';
12
+ export { telegramLoginApi } from './api/telegramLogin/telegramLoginApi';
4
13
  import * as api from './api/general/api';
5
14
  import * as config from './config';
6
15
  export { api, config };
7
16
  type ModuleRecord = Record<string, unknown>;
8
17
  interface DiscoveredModules {
9
- apis: Record<string, ModuleRecord>;
10
18
  types: Record<string, ModuleRecord>;
11
19
  }
12
- export declare const getApiModule: (name: string) => ModuleRecord | undefined;
13
20
  export declare const getTypeModule: (name: string) => ModuleRecord | undefined;
14
21
  export declare const getAllModules: () => DiscoveredModules;
15
22
  export declare const getAllApiNames: () => string[];
16
23
  export type RepositoryType = {
17
24
  api: typeof api;
18
25
  config: typeof config;
19
- getApiModule: typeof getApiModule;
20
26
  getTypeModule: typeof getTypeModule;
21
27
  getAllModules: typeof getAllModules;
22
28
  getAllApiNames: typeof getAllApiNames;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAA;AACxC,YAAY,EACV,cAAc,EACd,cAAc,EACd,SAAS,EACT,MAAM,GACP,MAAM,oBAAoB,CAAA;AAG3B,OAAO,EAAE,GAAG,EAAE,MAAM,oBAAoB,CAAA;AAGxC,OAAO,KAAK,GAAG,MAAM,mBAAmB,CAAA;AACxC,OAAO,KAAK,MAAM,MAAM,UAAU,CAAA;AAIlC,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,CAAA;AAGtB,KAAK,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;AAE3C,UAAU,iBAAiB;IACzB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAA;IAClC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAA;CACpC;AAqFD,eAAO,MAAM,YAAY,SAAU,MAAM,KAAG,YAAY,GAAG,SAC7B,CAAA;AAE9B,eAAO,MAAM,aAAa,SAAU,MAAM,KAAG,YAAY,GAAG,SAC7B,CAAA;AAE/B,eAAO,MAAM,aAAa,QAAO,iBAG/B,CAAA;AAGF,eAAO,MAAM,cAAc,QAAO,MAAM,EAAwB,CAAA;AAGhE,MAAM,MAAM,cAAc,GAAG;IAC3B,GAAG,EAAE,OAAO,GAAG,CAAA;IACf,MAAM,EAAE,OAAO,MAAM,CAAA;IACrB,YAAY,EAAE,OAAO,YAAY,CAAA;IACjC,aAAa,EAAE,OAAO,aAAa,CAAA;IACnC,aAAa,EAAE,OAAO,aAAa,CAAA;IACnC,cAAc,EAAE,OAAO,cAAc,CAAA;CACtC,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAA;AACxC,YAAY,EACV,cAAc,EACd,cAAc,EACd,SAAS,EACT,MAAM,GACP,MAAM,oBAAoB,CAAA;AAG3B,OAAO,EAAE,GAAG,EAAE,MAAM,oBAAoB,CAAA;AAGxC,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAA;AACpE,OAAO,EAAE,qBAAqB,EAAE,MAAM,gDAAgD,CAAA;AACtF,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAA;AACjE,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAA;AAC3D,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAA;AAClD,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAA;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAA;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAA;AAGvE,OAAO,KAAK,GAAG,MAAM,mBAAmB,CAAA;AACxC,OAAO,KAAK,MAAM,MAAM,UAAU,CAAA;AAIlC,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,CAAA;AAGtB,KAAK,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;AAE3C,UAAU,iBAAiB;IACzB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAA;CACpC;AAoDD,eAAO,MAAM,aAAa,SAAU,MAAM,KAAG,YAAY,GAAG,SAC7B,CAAA;AAE/B,eAAO,MAAM,aAAa,QAAO,iBAE/B,CAAA;AAGF,eAAO,MAAM,cAAc,QAAO,MAAM,EAAwB,CAAA;AAGhE,MAAM,MAAM,cAAc,GAAG;IAC3B,GAAG,EAAE,OAAO,GAAG,CAAA;IACf,MAAM,EAAE,OAAO,MAAM,CAAA;IACrB,aAAa,EAAE,OAAO,aAAa,CAAA;IACnC,aAAa,EAAE,OAAO,aAAa,CAAA;IACnC,cAAc,EAAE,OAAO,cAAc,CAAA;CACtC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "60p82u21t54k",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "A description of your library",
5
5
  "main": "dist/60p82u21t54k.umd.js",
6
6
  "module": "dist/60p82u21t54k.es.js",