@opexa/portal-sdk 0.59.64 → 0.59.66

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.
@@ -3058,6 +3058,26 @@ var TOP_WINS_NEXT_QUERY = gql`
3058
3058
  }
3059
3059
  }
3060
3060
  `;
3061
+ var TOP_WINS_QUERY__NEXT = gql`
3062
+ query TopWins {
3063
+ topWins: _topWins {
3064
+ id
3065
+ game {
3066
+ id
3067
+ name
3068
+ type
3069
+ provider
3070
+ reference
3071
+ }
3072
+ member {
3073
+ id
3074
+ name
3075
+ }
3076
+ multiplier
3077
+ payout
3078
+ }
3079
+ }
3080
+ `;
3061
3081
  var JACKPOTS_QUERY = gql`
3062
3082
  query Jackpots(
3063
3083
  $first: Int
@@ -5034,19 +5054,21 @@ var PortalService = class {
5034
5054
  };
5035
5055
  }
5036
5056
  async topWinsNext() {
5037
- const res = await this.client.request(
5038
- TOP_WINS_NEXT_QUERY,
5039
- void 0,
5040
- {
5041
- method: "GET"
5042
- }
5043
- );
5057
+ const res = await this.client.request(TOP_WINS_NEXT_QUERY);
5044
5058
  if (!res.ok) return res;
5045
5059
  return {
5046
5060
  ok: true,
5047
5061
  data: res.data._topWins
5048
5062
  };
5049
5063
  }
5064
+ async topWins__next() {
5065
+ const res = await this.client.request(TOP_WINS_QUERY__NEXT);
5066
+ if (!res.ok) return res;
5067
+ return {
5068
+ ok: true,
5069
+ data: res.data.topWins
5070
+ };
5071
+ }
5050
5072
  };
5051
5073
 
5052
5074
  // src/services/report.service.ts
@@ -5118,9 +5140,7 @@ var ReportService = class {
5118
5140
  return res.ok ? { ok: res.ok, data: res.data.promoByCode } : res;
5119
5141
  }
5120
5142
  async jackpots(variables) {
5121
- const res = await this.client.request(JACKPOTS_QUERY, variables, {
5122
- method: "GET"
5123
- });
5143
+ const res = await this.client.request(JACKPOTS_QUERY, variables);
5124
5144
  if (!res.ok) return res;
5125
5145
  return {
5126
5146
  ok: true,
@@ -5128,9 +5148,7 @@ var ReportService = class {
5128
5148
  };
5129
5149
  }
5130
5150
  async _jackpots(variables) {
5131
- const res = await this.client.request(_JACKPOTS_QUERY, variables, {
5132
- method: "GET"
5133
- });
5151
+ const res = await this.client.request(_JACKPOTS_QUERY, variables);
5134
5152
  if (!res.ok) return res;
5135
5153
  return {
5136
5154
  ok: true,
@@ -5138,9 +5156,7 @@ var ReportService = class {
5138
5156
  };
5139
5157
  }
5140
5158
  async jackpotsIds(variables) {
5141
- const res = await this.client.request(JACKPOTS_IDS_QUERY, variables, {
5142
- method: "GET"
5143
- });
5159
+ const res = await this.client.request(JACKPOTS_IDS_QUERY, variables);
5144
5160
  if (!res.ok) return res;
5145
5161
  return {
5146
5162
  ok: true,
@@ -5156,9 +5172,7 @@ var ReportService = class {
5156
5172
  };
5157
5173
  }
5158
5174
  async tournaments(variables) {
5159
- const res = await this.client.request(TOURNAMENTS_QUERY, variables, {
5160
- method: "GET"
5161
- });
5175
+ const res = await this.client.request(TOURNAMENTS_QUERY, variables);
5162
5176
  if (!res.ok) return res;
5163
5177
  return {
5164
5178
  ok: true,
@@ -5166,9 +5180,7 @@ var ReportService = class {
5166
5180
  };
5167
5181
  }
5168
5182
  async tournamentsIds(variables) {
5169
- const res = await this.client.request(TOURNAMENTS_IDS_QUERY, variables, {
5170
- method: "GET"
5171
- });
5183
+ const res = await this.client.request(TOURNAMENTS_IDS_QUERY, variables);
5172
5184
  if (!res.ok) return res;
5173
5185
  return {
5174
5186
  ok: true,
@@ -5379,11 +5391,14 @@ var WalletService = class {
5379
5391
  this.client = client;
5380
5392
  }
5381
5393
  async promos() {
5382
- const res = await this.client.request(PROMOS_QUERY);
5394
+ const res = await this.client.request(PROMOS_QUERY, void 0);
5383
5395
  return res.ok ? { ok: res.ok, data: res.data.promos } : res;
5384
5396
  }
5385
5397
  async cashbacks() {
5386
- const res = await this.client.request(CASHBACKS_QUERY);
5398
+ const res = await this.client.request(
5399
+ CASHBACKS_QUERY,
5400
+ void 0
5401
+ );
5387
5402
  return res.ok ? { ok: res.ok, data: res.data.cashbacks } : res;
5388
5403
  }
5389
5404
  async promosAndCashbacks() {
@@ -6339,5 +6354,5 @@ var ExtensionService = class {
6339
6354
  };
6340
6355
 
6341
6356
  export { AccountService, AuthService, CmsPortalService, ExtensionService, FileService, GameService, PortalService, ReportService, TriggerService, WalletService, getFingerPrint };
6342
- //# sourceMappingURL=chunk-LSIBWJ34.js.map
6343
- //# sourceMappingURL=chunk-LSIBWJ34.js.map
6357
+ //# sourceMappingURL=chunk-22E7HNRO.js.map
6358
+ //# sourceMappingURL=chunk-22E7HNRO.js.map