@opexa/portal-sdk 0.59.64 → 0.59.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-LSIBWJ34.js → chunk-CY6AO3EN.js} +47 -5
- package/dist/chunk-CY6AO3EN.js.map +1 -0
- package/dist/index.cjs +67 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -3
- package/dist/index.d.ts +6 -3
- package/dist/index.js +23 -1
- package/dist/index.js.map +1 -1
- package/dist/services/index.cjs +45 -3
- package/dist/services/index.cjs.map +1 -1
- package/dist/services/index.d.cts +4 -3
- package/dist/services/index.d.ts +4 -3
- package/dist/services/index.js +1 -1
- package/dist/{types-DLixKQ1b.d.ts → types-Blgu5UwG.d.ts} +38 -1
- package/dist/{types-o6aJjH1M.d.cts → types-CU6K5qYs.d.cts} +38 -1
- package/package.json +1 -1
- package/dist/chunk-LSIBWJ34.js.map +0 -1
package/dist/services/index.cjs
CHANGED
|
@@ -3069,6 +3069,26 @@ var TOP_WINS_NEXT_QUERY = gql`
|
|
|
3069
3069
|
}
|
|
3070
3070
|
}
|
|
3071
3071
|
`;
|
|
3072
|
+
var TOP_WINS_QUERY__NEXT = gql`
|
|
3073
|
+
query TopWins {
|
|
3074
|
+
topWins: _topWins {
|
|
3075
|
+
id
|
|
3076
|
+
game {
|
|
3077
|
+
id
|
|
3078
|
+
name
|
|
3079
|
+
type
|
|
3080
|
+
provider
|
|
3081
|
+
reference
|
|
3082
|
+
}
|
|
3083
|
+
member {
|
|
3084
|
+
id
|
|
3085
|
+
name
|
|
3086
|
+
}
|
|
3087
|
+
multiplier
|
|
3088
|
+
payout
|
|
3089
|
+
}
|
|
3090
|
+
}
|
|
3091
|
+
`;
|
|
3072
3092
|
var JACKPOTS_QUERY = gql`
|
|
3073
3093
|
query Jackpots(
|
|
3074
3094
|
$first: Int
|
|
@@ -5088,6 +5108,20 @@ var PortalService = class {
|
|
|
5088
5108
|
data: res.data._topWins
|
|
5089
5109
|
};
|
|
5090
5110
|
}
|
|
5111
|
+
async topWins__next() {
|
|
5112
|
+
const res = await this.client.request(
|
|
5113
|
+
TOP_WINS_QUERY__NEXT,
|
|
5114
|
+
void 0,
|
|
5115
|
+
{
|
|
5116
|
+
method: "GET"
|
|
5117
|
+
}
|
|
5118
|
+
);
|
|
5119
|
+
if (!res.ok) return res;
|
|
5120
|
+
return {
|
|
5121
|
+
ok: true,
|
|
5122
|
+
data: res.data.topWins
|
|
5123
|
+
};
|
|
5124
|
+
}
|
|
5091
5125
|
};
|
|
5092
5126
|
|
|
5093
5127
|
// src/services/report.service.ts
|
|
@@ -5420,16 +5454,24 @@ var WalletService = class {
|
|
|
5420
5454
|
this.client = client;
|
|
5421
5455
|
}
|
|
5422
5456
|
async promos() {
|
|
5423
|
-
const res = await this.client.request(PROMOS_QUERY
|
|
5457
|
+
const res = await this.client.request(PROMOS_QUERY, void 0, {
|
|
5458
|
+
method: "GET"
|
|
5459
|
+
});
|
|
5424
5460
|
return res.ok ? { ok: res.ok, data: res.data.promos } : res;
|
|
5425
5461
|
}
|
|
5426
5462
|
async cashbacks() {
|
|
5427
|
-
const res = await this.client.request(CASHBACKS_QUERY
|
|
5463
|
+
const res = await this.client.request(CASHBACKS_QUERY, void 0, {
|
|
5464
|
+
method: "GET"
|
|
5465
|
+
});
|
|
5428
5466
|
return res.ok ? { ok: res.ok, data: res.data.cashbacks } : res;
|
|
5429
5467
|
}
|
|
5430
5468
|
async promosAndCashbacks() {
|
|
5431
5469
|
const res = await this.client.request(
|
|
5432
|
-
PROMOS_AND_CASHBACKS_QUERY
|
|
5470
|
+
PROMOS_AND_CASHBACKS_QUERY,
|
|
5471
|
+
void 0,
|
|
5472
|
+
{
|
|
5473
|
+
method: "GET"
|
|
5474
|
+
}
|
|
5433
5475
|
);
|
|
5434
5476
|
return res.ok ? {
|
|
5435
5477
|
ok: res.ok,
|