50p82u21t54k 0.0.16 → 0.0.18

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 (95) hide show
  1. package/dist/50p82u21t54k.es.js +21 -92
  2. package/dist/50p82u21t54k.umd.js +1 -1
  3. package/dist/fishGames/index.d.ts.map +1 -0
  4. package/dist/fishGames/method.d.ts +30 -0
  5. package/dist/fishGames/method.d.ts.map +1 -0
  6. package/dist/fishGames/type.d.ts +30 -0
  7. package/dist/fishGames/type.d.ts.map +1 -0
  8. package/dist/getSetting/index.d.ts.map +1 -0
  9. package/dist/getSetting/method.d.ts +4 -0
  10. package/dist/{promotions → getSetting}/method.d.ts.map +1 -1
  11. package/dist/getSetting/type.d.ts +12 -0
  12. package/dist/getSetting/type.d.ts.map +1 -0
  13. package/dist/historyGames (incomplete)/index.d.ts +1 -0
  14. package/dist/historyGames (incomplete)/index.d.ts.map +1 -0
  15. package/dist/historyGames (incomplete)/method.d.ts +1 -0
  16. package/dist/historyGames (incomplete)/method.d.ts.map +1 -0
  17. package/dist/historyGames (incomplete)/type.d.ts +1 -0
  18. package/dist/historyGames (incomplete)/type.d.ts.map +1 -0
  19. package/dist/home/index.d.ts.map +1 -0
  20. package/dist/home/method.d.ts +98 -0
  21. package/dist/home/method.d.ts.map +1 -0
  22. package/dist/home/type.d.ts +102 -0
  23. package/dist/home/type.d.ts.map +1 -0
  24. package/dist/hotGames/index.d.ts.map +1 -0
  25. package/dist/hotGames/method.d.ts +38 -0
  26. package/dist/hotGames/method.d.ts.map +1 -0
  27. package/dist/hotGames/type.d.ts +38 -0
  28. package/dist/hotGames/type.d.ts.map +1 -0
  29. package/dist/index.d.ts +8 -15
  30. package/dist/index.d.ts.map +1 -1
  31. package/dist/legacy/announcement/index.d.ts.map +1 -0
  32. package/dist/legacy/announcement/method.d.ts.map +1 -0
  33. package/dist/{announcement → legacy/announcement}/type.d.ts +1 -1
  34. package/dist/legacy/announcement/type.d.ts.map +1 -0
  35. package/dist/legacy/gKey/index.d.ts.map +1 -0
  36. package/dist/legacy/gKey/method.d.ts.map +1 -0
  37. package/dist/legacy/gKey/type.d.ts +6 -0
  38. package/dist/legacy/gKey/type.d.ts.map +1 -0
  39. package/dist/legacy/language/index.d.ts +3 -0
  40. package/dist/legacy/language/index.d.ts.map +1 -0
  41. package/dist/legacy/language/method.d.ts.map +1 -0
  42. package/dist/{language → legacy/language}/type.d.ts +1 -1
  43. package/dist/legacy/language/type.d.ts.map +1 -0
  44. package/dist/legacy/platforms/index.d.ts +3 -0
  45. package/dist/legacy/platforms/index.d.ts.map +1 -0
  46. package/dist/legacy/platforms/method.d.ts.map +1 -0
  47. package/dist/{platforms → legacy/platforms}/type.d.ts +1 -1
  48. package/dist/legacy/platforms/type.d.ts.map +1 -0
  49. package/dist/legacy/products/index.d.ts +3 -0
  50. package/dist/legacy/products/index.d.ts.map +1 -0
  51. package/dist/legacy/products/method.d.ts.map +1 -0
  52. package/dist/{products → legacy/products}/type.d.ts +1 -1
  53. package/dist/legacy/products/type.d.ts.map +1 -0
  54. package/dist/legacy/promotions/index.d.ts +3 -0
  55. package/dist/legacy/promotions/index.d.ts.map +1 -0
  56. package/dist/legacy/promotions/method.d.ts.map +1 -0
  57. package/dist/{promotions → legacy/promotions}/type.d.ts +1 -1
  58. package/dist/legacy/promotions/type.d.ts.map +1 -0
  59. package/dist/trialGames/index.d.ts +3 -0
  60. package/dist/trialGames/index.d.ts.map +1 -0
  61. package/dist/trialGames/method.d.ts +27 -0
  62. package/dist/trialGames/method.d.ts.map +1 -0
  63. package/dist/trialGames/type.d.ts +27 -0
  64. package/dist/trialGames/type.d.ts.map +1 -0
  65. package/package.json +1 -1
  66. package/dist/announcement/index.d.ts.map +0 -1
  67. package/dist/announcement/method.d.ts.map +0 -1
  68. package/dist/announcement/type.d.ts.map +0 -1
  69. package/dist/gKey/index.d.ts.map +0 -1
  70. package/dist/gKey/method.d.ts.map +0 -1
  71. package/dist/gKey/type.d.ts +0 -6
  72. package/dist/gKey/type.d.ts.map +0 -1
  73. package/dist/language/index.d.ts.map +0 -1
  74. package/dist/language/method.d.ts.map +0 -1
  75. package/dist/language/type.d.ts.map +0 -1
  76. package/dist/platforms/index.d.ts.map +0 -1
  77. package/dist/platforms/method.d.ts.map +0 -1
  78. package/dist/platforms/type.d.ts.map +0 -1
  79. package/dist/products/index.d.ts.map +0 -1
  80. package/dist/products/method.d.ts.map +0 -1
  81. package/dist/products/type.d.ts.map +0 -1
  82. package/dist/promotions/index.d.ts.map +0 -1
  83. package/dist/promotions/type.d.ts.map +0 -1
  84. /package/dist/{announcement → fishGames}/index.d.ts +0 -0
  85. /package/dist/{gKey → getSetting}/index.d.ts +0 -0
  86. /package/dist/{language → home}/index.d.ts +0 -0
  87. /package/dist/{platforms → hotGames}/index.d.ts +0 -0
  88. /package/dist/{products → legacy/announcement}/index.d.ts +0 -0
  89. /package/dist/{announcement → legacy/announcement}/method.d.ts +0 -0
  90. /package/dist/{promotions → legacy/gKey}/index.d.ts +0 -0
  91. /package/dist/{gKey → legacy/gKey}/method.d.ts +0 -0
  92. /package/dist/{language → legacy/language}/method.d.ts +0 -0
  93. /package/dist/{platforms → legacy/platforms}/method.d.ts +0 -0
  94. /package/dist/{products → legacy/products}/method.d.ts +0 -0
  95. /package/dist/{promotions → legacy/promotions}/method.d.ts +0 -0
@@ -1,7 +1,7 @@
1
- import d from "axios";
2
- import { ref as m } from "vue";
3
- import c from "crypto-js";
4
- const o = d.create({
1
+ import p from "axios";
2
+ import { ref as g } from "vue";
3
+ import n from "crypto-js";
4
+ const o = p.create({
5
5
  baseURL: "/apis",
6
6
  timeout: 5e3,
7
7
  // Request timeout
@@ -61,33 +61,33 @@ o.interceptors.response.use(
61
61
  return e.response ? (s.status = e.response.status, s.message = e.response.data.message || e.response.statusText, console.error("Error response:", JSON.stringify(s)), 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(s);
62
62
  }
63
63
  );
64
- const i = m("");
64
+ const u = g("");
65
65
  function a() {
66
- return i.value === "" ? 0 : 1;
66
+ return u.value === "" ? 0 : 1;
67
67
  }
68
68
  const f = {
69
69
  install() {
70
70
  }
71
- }, u = (e) => {
71
+ }, i = (e) => {
72
72
  try {
73
73
  const s = JSON.parse(
74
- c.AES.decrypt(e, i.value, {
74
+ n.AES.decrypt(e, u.value, {
75
75
  format: {
76
76
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
77
77
  stringify: (t) => {
78
78
  const r = {
79
- ct: t.ciphertext.toString(c.enc.Base64)
79
+ ct: t.ciphertext.toString(n.enc.Base64)
80
80
  };
81
81
  return t.iv && (r.iv = t.iv.toString()), t.salt && (r.s = t.salt.toString()), JSON.stringify(r);
82
82
  },
83
83
  parse: (t) => {
84
- const r = JSON.parse(t), n = c.lib.CipherParams.create({
85
- ciphertext: c.enc.Base64.parse(r.ct)
84
+ const r = JSON.parse(t), c = n.lib.CipherParams.create({
85
+ ciphertext: n.enc.Base64.parse(r.ct)
86
86
  });
87
- return r.iv && (n.iv = c.enc.Hex.parse(r.iv)), r.s && (n.salt = c.enc.Hex.parse(r.s)), n;
87
+ return r.iv && (c.iv = n.enc.Hex.parse(r.iv)), r.s && (c.salt = n.enc.Hex.parse(r.s)), c;
88
88
  }
89
89
  }
90
- }).toString(c.enc.Utf8)
90
+ }).toString(n.enc.Utf8)
91
91
  );
92
92
  return s !== "" ? JSON.parse(s) : s;
93
93
  } catch (s) {
@@ -95,44 +95,6 @@ const f = {
95
95
  }
96
96
  };
97
97
  async function y() {
98
- const e = {
99
- status: 200,
100
- message: "",
101
- data: []
102
- };
103
- try {
104
- const s = await o.get("/products", {
105
- params: {
106
- render: a()
107
- }
108
- });
109
- let t;
110
- return a() ? t = u(s.data) : t = s.data, t.code !== 200 ? (e.status = t.code, e.message = t.message, e) : (e.data = t.results.data, e);
111
- } catch (s) {
112
- const t = s;
113
- return e.status = t.status || 500, e.message = t.message || "An unexpected error occurred", e;
114
- }
115
- }
116
- async function _() {
117
- const e = {
118
- status: 200,
119
- message: "",
120
- data: []
121
- };
122
- try {
123
- const s = await o.get("/platforms", {
124
- params: {
125
- render: a()
126
- }
127
- });
128
- let t;
129
- return a() ? t = u(s.data) : t = s.data, t.code !== 200 ? (e.status = t.code, e.message = t.message, e) : (e.data = t.results.data, e);
130
- } catch (s) {
131
- const t = s;
132
- return e.status = t.status || 500, e.message = t.message || "An unexpected error occurred", e;
133
- }
134
- }
135
- async function x() {
136
98
  const e = {
137
99
  status: 200,
138
100
  message: "",
@@ -145,7 +107,7 @@ async function x() {
145
107
  }
146
108
  });
147
109
  let t;
148
- return a() ? t = u(s.data) : t = s.data, t.code != 200 ? (e.status = t.code, e.message = t.message, e) : (console.log(t), e.data = t.results.data.map((r) => ({
110
+ return a() ? t = i(s.data) : t = s.data, t.code != 200 ? (e.status = t.code, e.message = t.message, e) : (console.log(t), e.data = t.results.data.map((r) => ({
149
111
  alert: r.alert === "1",
150
112
  announcement_content: r.announcement_content,
151
113
  date_created: r.date_created
@@ -156,9 +118,9 @@ async function x() {
156
118
  }
157
119
  }
158
120
  async function S(e) {
159
- i.value = e;
121
+ u.value = e;
160
122
  }
161
- async function h() {
123
+ async function x() {
162
124
  const e = {
163
125
  status: 200,
164
126
  message: "",
@@ -176,37 +138,7 @@ async function h() {
176
138
  return e.status = t.status || 500, e.message = t.message || "An unexpected error occurred", e;
177
139
  }
178
140
  }
179
- async function A() {
180
- const e = {
181
- status: 200,
182
- message: "",
183
- data: []
184
- };
185
- try {
186
- const s = await o.get("/promotions", {
187
- params: {
188
- render: a()
189
- }
190
- });
191
- let t;
192
- return a() ? t = u(s.data) : t = s.data, t.code !== 200 ? (e.status = t.code, e.message = t.message, e) : (console.log(t), e.data = t.results.data.map((r) => ({
193
- cat_id: r.cat_id,
194
- name: r.name,
195
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
196
- promo_list: r.promo_list.map((n) => ({
197
- promo_title: n.promo_title,
198
- start_time: n.start_time ?? "",
199
- end_time: n.end_time ?? "",
200
- img_path: n.img_path,
201
- content: n.content
202
- }))
203
- })), e);
204
- } catch (s) {
205
- const t = s;
206
- return e.status = t.status || 500, e.message = t.message || "An unexpected error occurred", e;
207
- }
208
- }
209
- async function w() {
141
+ async function v() {
210
142
  const e = {
211
143
  status: 200,
212
144
  message: "",
@@ -219,7 +151,7 @@ async function w() {
219
151
  }
220
152
  });
221
153
  let t;
222
- return a() ? t = u(s.data) : t = s.data, t.code !== 200 && (e.status = t.code, e.message = t.message), e;
154
+ return a() ? t = i(s.data) : t = s.data, t.code !== 200 && (e.status = t.code, e.message = t.message), e;
223
155
  } catch (s) {
224
156
  const t = s;
225
157
  return e.status = t.status || 500, e.message = t.message || "An unexpected error occurred", e;
@@ -227,11 +159,8 @@ async function w() {
227
159
  }
228
160
  export {
229
161
  f as Repository,
230
- x as getAnnouncement,
231
- h as getGKey,
232
- w as getLanguageList,
233
- _ as getPlatforms,
234
- y as getProducts,
235
- A as getPromotions,
162
+ y as getAnnouncement,
163
+ x as getGKey,
164
+ v as getLanguageList,
236
165
  S as setGKey
237
166
  };
@@ -1 +1 @@
1
- (function(a,i){typeof exports=="object"&&typeof module<"u"?i(exports,require("axios"),require("vue"),require("crypto-js")):typeof define=="function"&&define.amd?define(["exports","axios","vue","crypto-js"],i):(a=typeof globalThis<"u"?globalThis:a||self,i(a["50p82u21t54k"]={},a.axios,a.Vue,a.CryptoJS))})(this,function(a,i,m,u){"use strict";const c=i.create({baseURL:"/apis",timeout:5e3,headers:{"Content-Type":"application/json"}});c.interceptors.request.use(e=>e,e=>(console.error("Error request:",e.response),Promise.reject(e))),c.interceptors.response.use(e=>e,e=>{const s={status:null,message:"An error occurred"};return e.response?(s.status=e.response.status,s.message=e.response.data.message||e.response.statusText,console.error("Error response:",JSON.stringify(s)),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(s)});const g=m.ref("");function n(){return g.value===""?0:1}const l={install(){}},d=e=>{try{const s=JSON.parse(u.AES.decrypt(e,g.value,{format:{stringify:t=>{const r={ct:t.ciphertext.toString(u.enc.Base64)};return t.iv&&(r.iv=t.iv.toString()),t.salt&&(r.s=t.salt.toString()),JSON.stringify(r)},parse:t=>{const r=JSON.parse(t),o=u.lib.CipherParams.create({ciphertext:u.enc.Base64.parse(r.ct)});return r.iv&&(o.iv=u.enc.Hex.parse(r.iv)),r.s&&(o.salt=u.enc.Hex.parse(r.s)),o}}}).toString(u.enc.Utf8));return s!==""?JSON.parse(s):s}catch(s){return console.error(s),""}};async function p(){const e={status:200,message:"",data:[]};try{const s=await c.get("/products",{params:{render:n()}});let t;return n()?t=d(s.data):t=s.data,t.code!==200?(e.status=t.code,e.message=t.message,e):(e.data=t.results.data,e)}catch(s){const t=s;return e.status=t.status||500,e.message=t.message||"An unexpected error occurred",e}}async function f(){const e={status:200,message:"",data:[]};try{const s=await c.get("/platforms",{params:{render:n()}});let t;return n()?t=d(s.data):t=s.data,t.code!==200?(e.status=t.code,e.message=t.message,e):(e.data=t.results.data,e)}catch(s){const t=s;return e.status=t.status||500,e.message=t.message||"An unexpected error occurred",e}}async function y(){const e={status:200,message:"",data:[]};try{const s=await c.get("/announcements",{params:{render:n()}});let t;return n()?t=d(s.data):t=s.data,t.code!=200?(e.status=t.code,e.message=t.message,e):(console.log(t),e.data=t.results.data.map(r=>({alert:r.alert==="1",announcement_content:r.announcement_content,date_created:r.date_created})),e)}catch(s){const t=s;return e.status=t.status||500,e.message="",e}}async function _(e){g.value=e}async function h(){const e={status:200,message:"",data:""};try{const t=(await c.get("/getGKey",{params:{render:n()}})).data;return t.code!==200?(e.status=t.code,e.message=t.message,e):(e.data=t.results.gkey,e)}catch(s){const t=s;return e.status=t.status||500,e.message=t.message||"An unexpected error occurred",e}}async function j(){const e={status:200,message:"",data:[]};try{const s=await c.get("/promotions",{params:{render:n()}});let t;return n()?t=d(s.data):t=s.data,t.code!==200?(e.status=t.code,e.message=t.message,e):(console.log(t),e.data=t.results.data.map(r=>({cat_id:r.cat_id,name:r.name,promo_list:r.promo_list.map(o=>({promo_title:o.promo_title,start_time:o.start_time??"",end_time:o.end_time??"",img_path:o.img_path,content:o.content}))})),e)}catch(s){const t=s;return e.status=t.status||500,e.message=t.message||"An unexpected error occurred",e}}async function x(){const e={status:200,message:"",data:[]};try{const s=await c.get("/getLangList",{params:{render:n()}});let t;return n()?t=d(s.data):t=s.data,t.code!==200&&(e.status=t.code,e.message=t.message),e}catch(s){const t=s;return e.status=t.status||500,e.message=t.message||"An unexpected error occurred",e}}a.Repository=l,a.getAnnouncement=y,a.getGKey=h,a.getLanguageList=x,a.getPlatforms=f,a.getProducts=p,a.getPromotions=j,a.setGKey=_,Object.defineProperty(a,Symbol.toStringTag,{value:"Module"})});
1
+ (function(r,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("axios"),require("vue"),require("crypto-js")):typeof define=="function"&&define.amd?define(["exports","axios","vue","crypto-js"],o):(r=typeof globalThis<"u"?globalThis:r||self,o(r["50p82u21t54k"]={},r.axios,r.Vue,r.CryptoJS))})(this,function(r,o,p,a){"use strict";const c=o.create({baseURL:"/apis",timeout:5e3,headers:{"Content-Type":"application/json"}});c.interceptors.request.use(e=>e,e=>(console.error("Error request:",e.response),Promise.reject(e))),c.interceptors.response.use(e=>e,e=>{const s={status:null,message:"An error occurred"};return e.response?(s.status=e.response.status,s.message=e.response.data.message||e.response.statusText,console.error("Error response:",JSON.stringify(s)),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(s)});const i=p.ref("");function u(){return i.value===""?0:1}const l={install(){}},g=e=>{try{const s=JSON.parse(a.AES.decrypt(e,i.value,{format:{stringify:t=>{const n={ct:t.ciphertext.toString(a.enc.Base64)};return t.iv&&(n.iv=t.iv.toString()),t.salt&&(n.s=t.salt.toString()),JSON.stringify(n)},parse:t=>{const n=JSON.parse(t),d=a.lib.CipherParams.create({ciphertext:a.enc.Base64.parse(n.ct)});return n.iv&&(d.iv=a.enc.Hex.parse(n.iv)),n.s&&(d.salt=a.enc.Hex.parse(n.s)),d}}}).toString(a.enc.Utf8));return s!==""?JSON.parse(s):s}catch(s){return console.error(s),""}};async function f(){const e={status:200,message:"",data:[]};try{const s=await c.get("/announcements",{params:{render:u()}});let t;return u()?t=g(s.data):t=s.data,t.code!=200?(e.status=t.code,e.message=t.message,e):(console.log(t),e.data=t.results.data.map(n=>({alert:n.alert==="1",announcement_content:n.announcement_content,date_created:n.date_created})),e)}catch(s){const t=s;return e.status=t.status||500,e.message="",e}}async function m(e){i.value=e}async function y(){const e={status:200,message:"",data:""};try{const t=(await c.get("/getGKey",{params:{render:u()}})).data;return t.code!==200?(e.status=t.code,e.message=t.message,e):(e.data=t.results.gkey,e)}catch(s){const t=s;return e.status=t.status||500,e.message=t.message||"An unexpected error occurred",e}}async function v(){const e={status:200,message:"",data:[]};try{const s=await c.get("/getLangList",{params:{render:u()}});let t;return u()?t=g(s.data):t=s.data,t.code!==200&&(e.status=t.code,e.message=t.message),e}catch(s){const t=s;return e.status=t.status||500,e.message=t.message||"An unexpected error occurred",e}}r.Repository=l,r.getAnnouncement=f,r.getGKey=y,r.getLanguageList=v,r.setGKey=m,Object.defineProperty(r,Symbol.toStringTag,{value:"Module"})});
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/fishGames/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA"}
@@ -0,0 +1,30 @@
1
+ import { FishGamesResponse } from './type';
2
+
3
+ export type RawFishGamesResponse = {
4
+ hotfish: RawFishGame[];
5
+ data: RawFishGame[];
6
+ };
7
+ export type RawFishGame = {
8
+ id: number;
9
+ name: string;
10
+ pp_id: number;
11
+ img: string;
12
+ desc: string;
13
+ pp_name: string;
14
+ platform_code: string;
15
+ code: string;
16
+ flag: number;
17
+ game_id: number;
18
+ imgSrc: string;
19
+ imgPf: string;
20
+ favourite_flag: number;
21
+ platform_status_Fflag: string;
22
+ platform_flag_name: string;
23
+ platform_status_params: {
24
+ eb: boolean;
25
+ fit: boolean;
26
+ fs: boolean;
27
+ };
28
+ };
29
+ export declare function getFishGames(): Promise<FishGamesResponse>;
30
+ //# sourceMappingURL=method.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"method.d.ts","sourceRoot":"","sources":["../../src/fishGames/method.ts"],"names":[],"mappings":"AAGA,OAAO,EAAY,iBAAiB,EAAE,MAAM,QAAQ,CAAA;AAGpD,MAAM,MAAM,oBAAoB,GAAG;IACjC,OAAO,EAAE,WAAW,EAAE,CAAA;IACtB,IAAI,EAAE,WAAW,EAAE,CAAA;CACpB,CAAA;AAED,MAAM,MAAM,WAAW,GAAG;IACxB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,aAAa,EAAE,MAAM,CAAA;IACrB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,cAAc,EAAE,MAAM,CAAA;IACtB,qBAAqB,EAAE,MAAM,CAAA;IAC7B,kBAAkB,EAAE,MAAM,CAAA;IAC1B,sBAAsB,EAAE;QACtB,EAAE,EAAE,OAAO,CAAA;QACX,GAAG,EAAE,OAAO,CAAA;QACZ,EAAE,EAAE,OAAO,CAAA;KACZ,CAAA;CACF,CAAA;AAED,wBAAsB,YAAY,IAAI,OAAO,CAAC,iBAAiB,CAAC,CA8C/D"}
@@ -0,0 +1,30 @@
1
+ import { BaseType } from '../util/type';
2
+
3
+ export type FishGamesResponse = BaseType & {
4
+ hotfish: FishGame[];
5
+ data: FishGame[];
6
+ };
7
+ export type FishGame = {
8
+ id: number;
9
+ name: string;
10
+ ppid: number;
11
+ img: string;
12
+ desc: string;
13
+ ppname: string;
14
+ platformCode: string;
15
+ code: string;
16
+ flag: number;
17
+ gameId: number;
18
+ imgSrc: string;
19
+ imgPf: string;
20
+ favouriteFlag: boolean;
21
+ platformStatusFflag: string;
22
+ platformFlagName: string;
23
+ platformStatusParams: FishPlatformStatusParam;
24
+ };
25
+ export type FishPlatformStatusParam = {
26
+ eb: boolean;
27
+ fit: boolean;
28
+ fs: boolean;
29
+ };
30
+ //# sourceMappingURL=type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/fishGames/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAEtC,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG;IACzC,OAAO,EAAE,QAAQ,EAAE,CAAA;IACnB,IAAI,EAAE,QAAQ,EAAE,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,QAAQ,GAAG;IACrB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,YAAY,EAAE,MAAM,CAAA;IACpB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,aAAa,EAAE,OAAO,CAAA;IACtB,mBAAmB,EAAE,MAAM,CAAA;IAC3B,gBAAgB,EAAE,MAAM,CAAA;IACxB,oBAAoB,EAAE,uBAAuB,CAAA;CAC9C,CAAA;AAED,MAAM,MAAM,uBAAuB,GAAG;IACpC,EAAE,EAAE,OAAO,CAAA;IACX,GAAG,EAAE,OAAO,CAAA;IACZ,EAAE,EAAE,OAAO,CAAA;CACZ,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/getSetting/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA"}
@@ -0,0 +1,4 @@
1
+ import { GetSettingResponse } from './type';
2
+
3
+ export declare function getGetSetting(): Promise<GetSettingResponse>;
4
+ //# sourceMappingURL=method.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"method.d.ts","sourceRoot":"","sources":["../../src/promotions/method.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAA;AAE3C,wBAAsB,aAAa,IAAI,OAAO,CAAC,kBAAkB,CAAC,CAuDjE"}
1
+ {"version":3,"file":"method.d.ts","sourceRoot":"","sources":["../../src/getSetting/method.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAA;AAE3C,wBAAsB,aAAa,IAAI,OAAO,CAAC,kBAAkB,CAAC,CA6CjE"}
@@ -0,0 +1,12 @@
1
+ import { BaseType } from '../util/type';
2
+
3
+ export type GetSettingResponse = BaseType & {
4
+ data: {
5
+ csrf: string;
6
+ getCaptcha: boolean;
7
+ verificationBeforeLogin: boolean;
8
+ publicKey: string;
9
+ concantenatedKey: string;
10
+ } | null;
11
+ };
12
+ //# sourceMappingURL=type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/getSetting/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAEtC,MAAM,MAAM,kBAAkB,GAAG,QAAQ,GAAG;IAC1C,IAAI,EAAE;QACJ,IAAI,EAAE,MAAM,CAAA;QACZ,UAAU,EAAE,OAAO,CAAA;QACnB,uBAAuB,EAAE,OAAO,CAAA;QAChC,SAAS,EAAE,MAAM,CAAA;QACjB,gBAAgB,EAAE,MAAM,CAAA;KACzB,GAAG,IAAI,CAAA;CACT,CAAA"}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/historyGames (incomplete)/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=method.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"method.d.ts","sourceRoot":"","sources":["../../src/historyGames (incomplete)/method.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/historyGames (incomplete)/type.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/home/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA"}
@@ -0,0 +1,98 @@
1
+ import { HomeResponse } from './type';
2
+
3
+ export declare function getHome(): Promise<HomeResponse>;
4
+ export type RawHomeResponse = {
5
+ game: RawGame;
6
+ mobileBanner: RawMobileBanner[];
7
+ announcement: RawAnnouncement[];
8
+ alert_announcement: RawAlertAnnouncement[];
9
+ };
10
+ export type RawGame = {
11
+ SPORT: RawPlatformGame[];
12
+ SPECIAL: RawPlatformGame[];
13
+ PVP: RawPlatformGame[];
14
+ LIVE: RawPlatformGame[];
15
+ EVENT: RawPlatformGame[];
16
+ ESPORT: RawPlatformGame[];
17
+ EGAME: RawPlatformGame[];
18
+ BINGO: RawPlatformGame[];
19
+ };
20
+ export type RawPlatformGame = {
21
+ id: number;
22
+ id_PlatformMaster: number;
23
+ id_ProductMaster: number;
24
+ name: string;
25
+ shortName: string;
26
+ img: string;
27
+ mobileUrl: string;
28
+ url: string;
29
+ desc: string;
30
+ seq: number;
31
+ flag: number;
32
+ status: string;
33
+ created_by: number;
34
+ created_on: string;
35
+ categoryid: number;
36
+ com: string;
37
+ cur: string;
38
+ pt: string;
39
+ pp_name: string;
40
+ pp_image: string;
41
+ platform_code: string;
42
+ platform_name: string;
43
+ class_icon: string;
44
+ product_code: string;
45
+ product_name: string;
46
+ game_id: number;
47
+ fAuth: boolean;
48
+ platform_status_params: {
49
+ eb: boolean;
50
+ fit: boolean;
51
+ fs: boolean;
52
+ };
53
+ login_flag: string;
54
+ link: string;
55
+ favourite_flag: number;
56
+ platform_status_flag: string;
57
+ platform_flag_name: string;
58
+ home_logo: string;
59
+ imgPf: string;
60
+ imgSport: string;
61
+ imgTemplate: string;
62
+ };
63
+ export type RawMobileBanner = {
64
+ name: string;
65
+ content: string;
66
+ link: string;
67
+ link_target: string;
68
+ updated_on: string;
69
+ id_cms_category: number;
70
+ content_org: string;
71
+ };
72
+ export type RawAnnouncement = {
73
+ announcement_index: number;
74
+ announcement_english: string;
75
+ announcement_simplified: string;
76
+ announcement_traditional: string;
77
+ announcement_malay: string;
78
+ announcement_status: string;
79
+ announcement_show: string;
80
+ announcement_alert: string;
81
+ announcement_user: string;
82
+ announcement_sequence: number;
83
+ announcement_company: string;
84
+ companyindex: number;
85
+ announcement_lastupdated: string;
86
+ announcement_datecreated: string;
87
+ announcement_smaid: string;
88
+ ann_timer: string;
89
+ ann_start: string;
90
+ ann_end: string;
91
+ grp: string;
92
+ time: string;
93
+ };
94
+ export type RawAlertAnnouncement = {
95
+ announcement_datecreated: string;
96
+ announcement_simplified: string;
97
+ };
98
+ //# sourceMapping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iBAAiB,EAAE,MAAM,CAAA;IACzB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,iBAAiB,EAAE,MAAM,CAAA;IACzB,qBAAqB,EAAE,MAAM,CAAA;IAC7B,oBAAoB,EAAE,MAAM,CAAA;IAC5B,YAAY,EAAE,MAAM,CAAA;IACpB,wBAAwB,EAAE,MAAM,CAAA;IAChC,wBAAwB,EAAE,MAAM,CAAA;IAChC,kBAAkB,EAAE,MAAM,CAAA;IAC1B,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;IACf,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG;IACjC,wBAAwB,EAAE,MAAM,CAAA;IAChC,uBAAuB,EAAE,MAAM,CAAA;CAChC,CAAA"}
@@ -0,0 +1,102 @@
1
+ import { FishGamesResponse } from '../fishGames';
2
+ import { HotGamesResponse } from '../hotGames';
3
+ import { BaseType } from '../util/type';
4
+
5
+ export type HomeResponse = BaseType & {
6
+ game: Game;
7
+ mobileBanner: MobileBanner[];
8
+ announcement: Announcement[];
9
+ alertAnnouncement: AlertAnnouncement[];
10
+ hotGames: HotGamesResponse;
11
+ fishGames: FishGamesResponse;
12
+ };
13
+ export type Game = {
14
+ SPORT: PlatformGame[];
15
+ SPECIAL: PlatformGame[];
16
+ PVP: PlatformGame[];
17
+ LIVE: PlatformGame[];
18
+ EVENT: PlatformGame[];
19
+ ESPORT: PlatformGame[];
20
+ EGAME: PlatformGame[];
21
+ BINGO: PlatformGame[];
22
+ };
23
+ export type PlatformGame = {
24
+ id: number;
25
+ idPlatformMaster: number;
26
+ idProductMaster: number;
27
+ name: string;
28
+ shortName: string;
29
+ img: string;
30
+ mobileUrl: string;
31
+ url: string;
32
+ desc: string;
33
+ seq: number;
34
+ flag: number;
35
+ status: string;
36
+ createdBy: number;
37
+ createdOn: string;
38
+ categoryID: number;
39
+ com: string;
40
+ cur: string;
41
+ pt: string;
42
+ ppName: string;
43
+ ppImage: string;
44
+ platformCode: string;
45
+ platformName: string;
46
+ classIcon: string;
47
+ productCode: string;
48
+ productName: string;
49
+ gameID: number;
50
+ fAuth: boolean;
51
+ platformStatusParams: PlatformStatusParam;
52
+ loginFlag: boolean;
53
+ link: string;
54
+ favouriteFlag: boolean;
55
+ platformStatusFlag: string;
56
+ platformFlagName: string;
57
+ homeLogo: string;
58
+ imgPf: string;
59
+ imgSport: string;
60
+ imgTemplate: string;
61
+ };
62
+ export type PlatformStatusParam = {
63
+ eb: boolean;
64
+ fit: boolean;
65
+ fs: boolean;
66
+ };
67
+ export type MobileBanner = {
68
+ name: string;
69
+ content: string;
70
+ link: string;
71
+ linkTarget: string;
72
+ updatedOn: string;
73
+ idCmsCategory: number;
74
+ contentOrg: string;
75
+ };
76
+ export type Announcement = {
77
+ announcementIndex: number;
78
+ announcementEnglish: string;
79
+ announcementSimplified: string;
80
+ announcementTraditional: string;
81
+ announcementMalay: string;
82
+ announcementStatus: boolean;
83
+ announcementShow: boolean;
84
+ announcementAlert: boolean;
85
+ announcementUser: boolean;
86
+ announcementSequence: number;
87
+ announcementCompany: boolean;
88
+ companyIndex: number;
89
+ announcementLastUpdated: string;
90
+ announcementDateCreated: string;
91
+ announcementSmaid: string;
92
+ annTimer: string;
93
+ annStart: string;
94
+ annEnd: string;
95
+ grp: string;
96
+ time: string;
97
+ };
98
+ export type AlertAnnouncement = {
99
+ announcementDateCreated: string;
100
+ announcementSimplified: string;
101
+ };
102
+ //# sourceMappingURL=type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/home/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAA;AAC/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAE7C,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CA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A;IACzB,oBAAoB,EAAE,MAAM,CAAA;IAC5B,mBAAmB,EAAE,OAAO,CAAA;IAC5B,YAAY,EAAE,MAAM,CAAA;IACpB,uBAAuB,EAAE,MAAM,CAAA;IAC/B,uBAAuB,EAAE,MAAM,CAAA;IAC/B,iBAAiB,EAAE,MAAM,CAAA;IACzB,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,MAAM,CAAA;IACd,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC9B,uBAAuB,EAAE,MAAM,CAAA;IAC/B,sBAAsB,EAAE,MAAM,CAAA;CAC/B,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hotGames/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA"}
@@ -0,0 +1,38 @@
1
+ import { HotGamesResponse } from './type';
2
+
3
+ export type RawHotGamesResponse = {
4
+ current_page: number;
5
+ data: {
6
+ id: number;
7
+ name: string;
8
+ pfid: number;
9
+ ppname: string;
10
+ code: string;
11
+ img: string;
12
+ progressive: string;
13
+ ppid: number;
14
+ notry: number;
15
+ product_code: string;
16
+ imgSrc: string;
17
+ imgPf: string;
18
+ favourite_flag: number;
19
+ platform_status_flag: string;
20
+ platform_flag_name: string;
21
+ platform_status_params: {
22
+ eb: boolean;
23
+ fit: boolean;
24
+ fs: boolean;
25
+ };
26
+ game_id: number;
27
+ }[];
28
+ from: number;
29
+ last_page: number;
30
+ next_page_url: string;
31
+ path: string;
32
+ per_page: number;
33
+ prev_page_url: string;
34
+ to: number;
35
+ total: number;
36
+ };
37
+ export declare function getHotGames(): Promise<HotGamesResponse>;
38
+ //# sourceMappingURL=method.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"method.d.ts","sourceRoot":"","sources":["../../src/hotGames/method.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAA;AAGzC,MAAM,MAAM,mBAAmB,GAAG;IAChC,YAAY,EAAE,MAAM,CAAA;IACpB,IAAI,EAAE;QACJ,EAAE,EAAE,MAAM,CAAA;QACV,IAAI,EAAE,MAAM,CAAA;QACZ,IAAI,EAAE,MAAM,CAAA;QACZ,MAAM,EAAE,MAAM,CAAA;QACd,IAAI,EAAE,MAAM,CAAA;QACZ,GAAG,EAAE,MAAM,CAAA;QACX,WAAW,EAAE,MAAM,CAAA;QACnB,IAAI,EAAE,MAAM,CAAA;QACZ,KAAK,EAAE,MAAM,CAAA;QACb,YAAY,EAAE,MAAM,CAAA;QACpB,MAAM,EAAE,MAAM,CAAA;QACd,KAAK,EAAE,MAAM,CAAA;QACb,cAAc,EAAE,MAAM,CAAA;QACtB,oBAAoB,EAAE,MAAM,CAAA;QAC5B,kBAAkB,EAAE,MAAM,CAAA;QAC1B,sBAAsB,EAAE;YACtB,EAAE,EAAE,OAAO,CAAA;YACX,GAAG,EAAE,OAAO,CAAA;YACZ,EAAE,EAAE,OAAO,CAAA;SACZ,CAAA;QACD,OAAO,EAAE,MAAM,CAAA;KAChB,EAAE,CAAA;IACH,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,MAAM,CAAA;IACjB,aAAa,EAAE,MAAM,CAAA;IACrB,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;IAChB,aAAa,EAAE,MAAM,CAAA;IACrB,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED,wBAAsB,WAAW,IAAI,OAAO,CAAC,gBAAgB,CAAC,CAkF7D"}
@@ -0,0 +1,38 @@
1
+ import { BaseType } from '../util/type';
2
+
3
+ export type HotGamesResponse = BaseType & {
4
+ currentPage: number;
5
+ data: {
6
+ id: number;
7
+ name: string;
8
+ pfid: number;
9
+ ppname: string;
10
+ code: string;
11
+ img: string;
12
+ progressive: string;
13
+ ppid: number;
14
+ notry: boolean;
15
+ productCode: string;
16
+ imgSrc: string;
17
+ imgPf: string;
18
+ favouriteFlag: boolean;
19
+ platformStatusFlag: string;
20
+ platformFlagName: string;
21
+ platformStatusParams: HotPlatformStatusParam;
22
+ gameId: number;
23
+ }[];
24
+ from: number;
25
+ lastPage: number;
26
+ nextPageUrl: string;
27
+ path: string;
28
+ perPage: number;
29
+ prevPageUrl: string;
30
+ to: number;
31
+ total: number;
32
+ };
33
+ export type HotPlatformStatusParam = {
34
+ eb: boolean;
35
+ fit: boolean;
36
+ fs: boolean;
37
+ };
38
+ //# sourceMappingURL=type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/hotGames/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAEtC,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG;IACxC,WAAW,EAAE,MAAM,CAAA;IACnB,IAAI,EAAE;QACJ,EAAE,EAAE,MAAM,CAAA;QACV,IAAI,EAAE,MAAM,CAAA;QACZ,IAAI,EAAE,MAAM,CAAA;QACZ,MAAM,EAAE,MAAM,CAAA;QACd,IAAI,EAAE,MAAM,CAAA;QACZ,GAAG,EAAE,MAAM,CAAA;QACX,WAAW,EAAE,MAAM,CAAA;QACnB,IAAI,EAAE,MAAM,CAAA;QACZ,KAAK,EAAE,OAAO,CAAA;QACd,WAAW,EAAE,MAAM,CAAA;QACnB,MAAM,EAAE,MAAM,CAAA;QACd,KAAK,EAAE,MAAM,CAAA;QACb,aAAa,EAAE,OAAO,CAAA;QACtB,kBAAkB,EAAE,MAAM,CAAA;QAC1B,gBAAgB,EAAE,MAAM,CAAA;QACxB,oBAAoB,EAAE,sBAAsB,CAAA;QAC5C,MAAM,EAAE,MAAM,CAAA;KACf,EAAE,CAAA;IACH,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,MAAM,CAAA;IACnB,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,WAAW,EAAE,MAAM,CAAA;IACnB,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED,MAAM,MAAM,sBAAsB,GAAG;IACnC,EAAE,EAAE,OAAO,CAAA;IACX,GAAG,EAAE,OAAO,CAAA;IACZ,EAAE,EAAE,OAAO,CAAA;CACZ,CAAA"}
package/dist/index.d.ts CHANGED
@@ -1,22 +1,15 @@
1
- export * from './products';
2
- export * from './platforms';
3
- export * from './announcement';
4
- export * from './gKey';
5
- export * from './promotions';
6
- export * from './language';
1
+ export * from './legacy/announcement';
2
+ export * from './legacy/gKey';
3
+ export * from './legacy/language';
7
4
  export { default as Repository } from './plugin';
8
- import * as products from './products';
9
- import * as platforms from './platforms';
10
- import * as announcement from './announcement';
11
- import * as gKey from './gKey';
12
- import * as promotions from './promotions';
13
- import * as language from './language';
5
+ import * as announcement from './legacy/announcement';
6
+ import * as gKey from './legacy/gKey';
7
+ import * as language from './legacy/language';
8
+ import * as home from './home';
14
9
  export type RepositoryType = {
15
- products: typeof products;
16
- platforms: typeof platforms;
17
10
  announcement: typeof announcement;
18
11
  gKey: typeof gKey;
19
- promotions: typeof promotions;
20
12
  language: typeof language;
13
+ home: typeof home;
21
14
  };
22
15
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,QAAQ,CAAA;AACtB,cAAc,cAAc,CAAA;AAC5B,cAAc,YAAY,CAAA;AAC1B,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,UAAU,CAAA;AAEhD,OAAO,KAAK,QAAQ,MAAM,YAAY,CAAA;AACtC,OAAO,KAAK,SAAS,MAAM,aAAa,CAAA;AACxC,OAAO,KAAK,YAAY,MAAM,gBAAgB,CAAA;AAC9C,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAA;AAC9B,OAAO,KAAK,UAAU,MAAM,cAAc,CAAA;AAC1C,OAAO,KAAK,QAAQ,MAAM,YAAY,CAAA;AAEtC,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,EAAE,OAAO,QAAQ,CAAA;IACzB,SAAS,EAAE,OAAO,SAAS,CAAA;IAC3B,YAAY,EAAE,OAAO,YAAY,CAAA;IACjC,IAAI,EAAE,OAAO,IAAI,CAAA;IACjB,UAAU,EAAE,OAAO,UAAU,CAAA;IAC7B,QAAQ,EAAE,OAAO,QAAQ,CAAA;CAC1B,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,cAAc,uBAAuB,CAAA;AACrC,cAAc,eAAe,CAAA;AAE7B,cAAc,mBAAmB,CAAA;AACjC,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,UAAU,CAAA;AAIhD,OAAO,KAAK,YAAY,MAAM,uBAAuB,CAAA;AACrD,OAAO,KAAK,IAAI,MAAM,eAAe,CAAA;AAErC,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAA;AAC7C,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAA;AAE9B,MAAM,MAAM,cAAc,GAAG;IAG3B,YAAY,EAAE,OAAO,YAAY,CAAA;IACjC,IAAI,EAAE,OAAO,IAAI,CAAA;IAEjB,QAAQ,EAAE,OAAO,QAAQ,CAAA;IACzB,IAAI,EAAE,OAAO,IAAI,CAAA;CAClB,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/legacy/announcement/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"method.d.ts","sourceRoot":"","sources":["../../../src/legacy/announcement/method.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAAA;AAE7C,wBAAsB,eAAe,IAAI,OAAO,CAAC,oBAAoB,CAAC,CA8CrE"}
@@ -1,4 +1,4 @@
1
- import { BaseType } from '../util/type';
1
+ import { BaseType } from '../../util/type';
2
2
 
3
3
  export type AnnouncementResponse = BaseType & {
4
4
  data: Announcement[];
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../src/legacy/announcement/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE1C,MAAM,MAAM,oBAAoB,GAAG,QAAQ,GAAG;IAC5C,IAAI,EAAE,YAAY,EAAE,CAAA;CACrB,CAAA;AAED,MAAM,MAAM,YAAY,GAAG;IACzB,KAAK,EAAE,OAAO,CAAA;IACd,oBAAoB,EAAE,MAAM,CAAA;IAC5B,YAAY,EAAE,MAAM,CAAA;CACrB,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/legacy/gKey/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"method.d.ts","sourceRoot":"","sources":["../../../src/legacy/gKey/method.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAA;AAGxC,wBAAsB,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAExD;AAED,wBAAsB,OAAO,IAAI,OAAO,CAAC,eAAe,CAAC,CA+BxD"}
@@ -0,0 +1,6 @@
1
+ import { BaseType } from '../../util/type';
2
+
3
+ export type GetGKeyResponse = BaseType & {
4
+ data: string;
5
+ };
6
+ //# sourceMappingURL=type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../src/legacy/gKey/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE1C,MAAM,MAAM,eAAe,GAAG,QAAQ,GAAG;IACvC,IAAI,EAAE,MAAM,CAAA;CACb,CAAA"}
@@ -0,0 +1,3 @@
1
+ export * from './method';
2
+ export * from './type';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/legacy/language/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"method.d.ts","sourceRoot":"","sources":["../../../src/legacy/language/method.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,uBAAuB,EAAE,MAAM,QAAQ,CAAA;AAEhD,wBAAsB,eAAe,IAAI,OAAO,CAAC,uBAAuB,CAAC,CAiDxE"}
@@ -1,4 +1,4 @@
1
- import { BaseType } from '../util/type';
1
+ import { BaseType } from '../../util/type';
2
2
 
3
3
  export type GetLanguageListResponse = BaseType & {
4
4
  data: string[];
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../src/legacy/language/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE1C,MAAM,MAAM,uBAAuB,GAAG,QAAQ,GAAG;IAC/C,IAAI,EAAE,MAAM,EAAE,CAAA;CACf,CAAA;AAED,MAAM,MAAM,UAAU,GAAG;IACvB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;CACtB,CAAA;AAED,MAAM,MAAM,MAAM,GAAG;IACnB,KAAK,EAAE,MAAM,CAAA;CACd,CAAA"}
@@ -0,0 +1,3 @@
1
+ export * from './method';
2
+ export * from './type';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/legacy/platforms/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"method.d.ts","sourceRoot":"","sources":["../../../src/legacy/platforms/method.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAA;AAE1C,wBAAsB,YAAY,IAAI,OAAO,CAAC,iBAAiB,CAAC,CA2C/D"}
@@ -1,4 +1,4 @@
1
- import { BaseType } from '../util/type';
1
+ import { BaseType } from '../../util/type';
2
2
 
3
3
  export type PlatformsResponse = BaseType & {
4
4
  data: Platform[];
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../src/legacy/platforms/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAEtC,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG;IACzC,IAAI,EAAE,QAAQ,EAAE,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,QAAQ,GAAG;IACrB,IAAI,EAAE,MAAM,CAAA;CACb,CAAA"}
@@ -0,0 +1,3 @@
1
+ export * from './method';
2
+ export * from './type';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/legacy/products/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"method.d.ts","sourceRoot":"","sources":["../../../src/legacy/products/method.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAA;AAEzC,wBAAsB,WAAW,IAAI,OAAO,CAAC,gBAAgB,CAAC,CA2C7D"}
@@ -1,4 +1,4 @@
1
- import { BaseType } from '../util/type';
1
+ import { BaseType } from '../../util/type';
2
2
 
3
3
  export type ProductsResponse = BaseType & {
4
4
  data: Product[];
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../src/legacy/products/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAEtC,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG;IACxC,IAAI,EAAE,OAAO,EAAE,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,OAAO,GAAG;IACpB,IAAI,EAAE,MAAM,CAAA;IACZ,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,eAAe,EAAE,EAAE,CAAA;IACnB,GAAG,EAAE,MAAM,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,eAAe,GAAG;IAC5B,UAAU,EAAE,MAAM,CAAA;IAClB,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,EAAE,EAAE,MAAM,CAAA;IACV,iBAAiB,EAAE,MAAM,CAAA;IACzB,gBAAgB,EAAE,MAAM,CAAA;IACxB,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,MAAM,CAAA;CACZ,CAAA"}
@@ -0,0 +1,3 @@
1
+ export * from './method';
2
+ export * from './type';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/legacy/promotions/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"method.d.ts","sourceRoot":"","sources":["../../../src/legacy/promotions/method.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAA;AAE3C,wBAAsB,aAAa,IAAI,OAAO,CAAC,kBAAkB,CAAC,CAuDjE"}
@@ -1,4 +1,4 @@
1
- import { BaseType } from '../util/type';
1
+ import { BaseType } from '../../util/type';
2
2
 
3
3
  export type PromotionsResponse = BaseType & {
4
4
  data: PromotionsCategory[];
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../src/legacy/promotions/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAEtC,MAAM,MAAM,kBAAkB,GAAG,QAAQ,GAAG;IAC1C,IAAI,EAAE,kBAAkB,EAAE,CAAA;CAC3B,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG;IAC/B,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,sBAAsB,EAAE,CAAA;CACrC,CAAA;AAED,MAAM,MAAM,sBAAsB,GAAG;IACnC,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;IAChB,OAAO,EAAE,MAAM,CAAA;CAChB,CAAA"}
@@ -0,0 +1,3 @@
1
+ export * from './method';
2
+ export * from './type';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/trialGames/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA"}
@@ -0,0 +1,27 @@
1
+ import { TrialGamesResponse } from './type';
2
+
3
+ export type RawTrialGamesResponse = {
4
+ ppid: number;
5
+ ppname: string;
6
+ games: RawTrialGames[];
7
+ };
8
+ export type RawTrialGames = {
9
+ id: number;
10
+ name: string;
11
+ img: string;
12
+ progressive: string;
13
+ notry: number;
14
+ imgSrc: string;
15
+ imgPf: string;
16
+ favourite_flag: number;
17
+ platform_status_Fflag: string;
18
+ platform_flag_name: string;
19
+ platform_status_params: {
20
+ eb: boolean;
21
+ fit: boolean;
22
+ fs: boolean;
23
+ };
24
+ ppname: string;
25
+ };
26
+ export declare function getTrialGames(): Promise<TrialGamesResponse>;
27
+ //# sourceMappingURL=method.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"method.d.ts","sourceRoot":"","sources":["../../src/trialGames/method.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAA;AAE3C,MAAM,MAAM,qBAAqB,GAAG;IAClC,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,aAAa,EAAE,CAAA;CACvB,CAAA;AAED,MAAM,MAAM,aAAa,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,MAAM,CAAA;IACX,WAAW,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,cAAc,EAAE,MAAM,CAAA;IACtB,qBAAqB,EAAE,MAAM,CAAA;IAC7B,kBAAkB,EAAE,MAAM,CAAA;IAC1B,sBAAsB,EAAE;QACtB,EAAE,EAAE,OAAO,CAAA;QACX,GAAG,EAAE,OAAO,CAAA;QACZ,EAAE,EAAE,OAAO,CAAA;KACZ,CAAA;IACD,MAAM,EAAE,MAAM,CAAA;CACf,CAAA;AAED,wBAAsB,aAAa,IAAI,OAAO,CAAC,kBAAkB,CAAC,CA+DjE"}
@@ -0,0 +1,27 @@
1
+ import { BaseType } from '../util/type';
2
+
3
+ export type TrialGamesResponse = BaseType & {
4
+ ppid: number;
5
+ ppname: string;
6
+ games: TrialGames[];
7
+ };
8
+ export type TrialGames = {
9
+ id: number;
10
+ name: string;
11
+ img: string;
12
+ progressive: string;
13
+ notry: boolean;
14
+ imgSrc: string;
15
+ imgPf: string;
16
+ favouriteFlag: boolean;
17
+ platformStatusFflag: string;
18
+ platformFlagName: string;
19
+ platformStatusParams: TrialPlatformStatusParam;
20
+ ppname: string;
21
+ };
22
+ export type TrialPlatformStatusParam = {
23
+ eb: boolean;
24
+ fit: boolean;
25
+ fs: boolean;
26
+ };
27
+ //# sourceMappingURL=type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/trialGames/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAEtC,MAAM,MAAM,kBAAkB,GAAG,QAAQ,GAAG;IAC1C,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,UAAU,EAAE,CAAA;CACpB,CAAA;AAED,MAAM,MAAM,UAAU,GAAG;IACvB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,MAAM,CAAA;IACX,WAAW,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,OAAO,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,aAAa,EAAE,OAAO,CAAA;IACtB,mBAAmB,EAAE,MAAM,CAAA;IAC3B,gBAAgB,EAAE,MAAM,CAAA;IACxB,oBAAoB,EAAE,wBAAwB,CAAA;IAC9C,MAAM,EAAE,MAAM,CAAA;CACf,CAAA;AAED,MAAM,MAAM,wBAAwB,GAAG;IACrC,EAAE,EAAE,OAAO,CAAA;IACX,GAAG,EAAE,OAAO,CAAA;IACZ,EAAE,EAAE,OAAO,CAAA;CACZ,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "50p82u21t54k",
3
- "version": "0.0.16",
3
+ "version": "0.0.18",
4
4
  "description": "A description of your library",
5
5
  "main": "dist/50p82u21t54k.umd.js",
6
6
  "module": "dist/50p82u21t54k.es.js",
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/announcement/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"method.d.ts","sourceRoot":"","sources":["../../src/announcement/method.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAAA;AAE7C,wBAAsB,eAAe,IAAI,OAAO,CAAC,oBAAoB,CAAC,CA8CrE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/announcement/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAEvC,MAAM,MAAM,oBAAoB,GAAG,QAAQ,GAAG;IAC5C,IAAI,EAAE,YAAY,EAAE,CAAA;CACrB,CAAA;AAED,MAAM,MAAM,YAAY,GAAG;IACzB,KAAK,EAAE,OAAO,CAAA;IACd,oBAAoB,EAAE,MAAM,CAAA;IAC5B,YAAY,EAAE,MAAM,CAAA;CACrB,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/gKey/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"method.d.ts","sourceRoot":"","sources":["../../src/gKey/method.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAA;AAGxC,wBAAsB,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAExD;AAED,wBAAsB,OAAO,IAAI,OAAO,CAAC,eAAe,CAAC,CA+BxD"}
@@ -1,6 +0,0 @@
1
- import { BaseType } from '../util/type';
2
-
3
- export type GetGKeyResponse = BaseType & {
4
- data: string;
5
- };
6
- //# sourceMappingURL=type.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/gKey/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAEvC,MAAM,MAAM,eAAe,GAAG,QAAQ,GAAG;IACvC,IAAI,EAAE,MAAM,CAAA;CACb,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/language/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"method.d.ts","sourceRoot":"","sources":["../../src/language/method.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,uBAAuB,EAAE,MAAM,QAAQ,CAAA;AAEhD,wBAAsB,eAAe,IAAI,OAAO,CAAC,uBAAuB,CAAC,CAiDxE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/language/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAEvC,MAAM,MAAM,uBAAuB,GAAG,QAAQ,GAAG;IAC/C,IAAI,EAAE,MAAM,EAAE,CAAA;CACf,CAAA;AAED,MAAM,MAAM,UAAU,GAAG;IACvB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;CACtB,CAAA;AAED,MAAM,MAAM,MAAM,GAAG;IACnB,KAAK,EAAE,MAAM,CAAA;CACd,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/platforms/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"method.d.ts","sourceRoot":"","sources":["../../src/platforms/method.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAA;AAE1C,wBAAsB,YAAY,IAAI,OAAO,CAAC,iBAAiB,CAAC,CA2C/D"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/platforms/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAEvC,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG;IACzC,IAAI,EAAE,QAAQ,EAAE,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,QAAQ,GAAG;IACrB,IAAI,EAAE,MAAM,CAAA;CACb,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/products/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"method.d.ts","sourceRoot":"","sources":["../../src/products/method.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAA;AAEzC,wBAAsB,WAAW,IAAI,OAAO,CAAC,gBAAgB,CAAC,CA2C7D"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/products/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAEvC,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG;IACxC,IAAI,EAAE,OAAO,EAAE,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,OAAO,GAAG;IACpB,IAAI,EAAE,MAAM,CAAA;IACZ,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,eAAe,EAAE,EAAE,CAAA;IACnB,GAAG,EAAE,MAAM,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,eAAe,GAAG;IAC5B,UAAU,EAAE,MAAM,CAAA;IAClB,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,EAAE,EAAE,MAAM,CAAA;IACV,iBAAiB,EAAE,MAAM,CAAA;IACzB,gBAAgB,EAAE,MAAM,CAAA;IACxB,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,MAAM,CAAA;CACZ,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/promotions/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/promotions/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAEvC,MAAM,MAAM,kBAAkB,GAAG,QAAQ,GAAG;IAC1C,IAAI,EAAE,kBAAkB,EAAE,CAAA;CAC3B,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG;IAC/B,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,sBAAsB,EAAE,CAAA;CACrC,CAAA;AAED,MAAM,MAAM,sBAAsB,GAAG;IACnC,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;IAChB,OAAO,EAAE,MAAM,CAAA;CAChB,CAAA"}
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes