@opexa/portal-sdk 0.59.65 → 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.
@@ -5095,13 +5095,7 @@ var PortalService = class {
5095
5095
  };
5096
5096
  }
5097
5097
  async topWinsNext() {
5098
- const res = await this.client.request(
5099
- TOP_WINS_NEXT_QUERY,
5100
- void 0,
5101
- {
5102
- method: "GET"
5103
- }
5104
- );
5098
+ const res = await this.client.request(TOP_WINS_NEXT_QUERY);
5105
5099
  if (!res.ok) return res;
5106
5100
  return {
5107
5101
  ok: true,
@@ -5109,13 +5103,7 @@ var PortalService = class {
5109
5103
  };
5110
5104
  }
5111
5105
  async topWins__next() {
5112
- const res = await this.client.request(
5113
- TOP_WINS_QUERY__NEXT,
5114
- void 0,
5115
- {
5116
- method: "GET"
5117
- }
5118
- );
5106
+ const res = await this.client.request(TOP_WINS_QUERY__NEXT);
5119
5107
  if (!res.ok) return res;
5120
5108
  return {
5121
5109
  ok: true,
@@ -5193,9 +5181,7 @@ var ReportService = class {
5193
5181
  return res.ok ? { ok: res.ok, data: res.data.promoByCode } : res;
5194
5182
  }
5195
5183
  async jackpots(variables) {
5196
- const res = await this.client.request(JACKPOTS_QUERY, variables, {
5197
- method: "GET"
5198
- });
5184
+ const res = await this.client.request(JACKPOTS_QUERY, variables);
5199
5185
  if (!res.ok) return res;
5200
5186
  return {
5201
5187
  ok: true,
@@ -5203,9 +5189,7 @@ var ReportService = class {
5203
5189
  };
5204
5190
  }
5205
5191
  async _jackpots(variables) {
5206
- const res = await this.client.request(_JACKPOTS_QUERY, variables, {
5207
- method: "GET"
5208
- });
5192
+ const res = await this.client.request(_JACKPOTS_QUERY, variables);
5209
5193
  if (!res.ok) return res;
5210
5194
  return {
5211
5195
  ok: true,
@@ -5213,9 +5197,7 @@ var ReportService = class {
5213
5197
  };
5214
5198
  }
5215
5199
  async jackpotsIds(variables) {
5216
- const res = await this.client.request(JACKPOTS_IDS_QUERY, variables, {
5217
- method: "GET"
5218
- });
5200
+ const res = await this.client.request(JACKPOTS_IDS_QUERY, variables);
5219
5201
  if (!res.ok) return res;
5220
5202
  return {
5221
5203
  ok: true,
@@ -5231,9 +5213,7 @@ var ReportService = class {
5231
5213
  };
5232
5214
  }
5233
5215
  async tournaments(variables) {
5234
- const res = await this.client.request(TOURNAMENTS_QUERY, variables, {
5235
- method: "GET"
5236
- });
5216
+ const res = await this.client.request(TOURNAMENTS_QUERY, variables);
5237
5217
  if (!res.ok) return res;
5238
5218
  return {
5239
5219
  ok: true,
@@ -5241,9 +5221,7 @@ var ReportService = class {
5241
5221
  };
5242
5222
  }
5243
5223
  async tournamentsIds(variables) {
5244
- const res = await this.client.request(TOURNAMENTS_IDS_QUERY, variables, {
5245
- method: "GET"
5246
- });
5224
+ const res = await this.client.request(TOURNAMENTS_IDS_QUERY, variables);
5247
5225
  if (!res.ok) return res;
5248
5226
  return {
5249
5227
  ok: true,
@@ -5454,24 +5432,19 @@ var WalletService = class {
5454
5432
  this.client = client;
5455
5433
  }
5456
5434
  async promos() {
5457
- const res = await this.client.request(PROMOS_QUERY, void 0, {
5458
- method: "GET"
5459
- });
5435
+ const res = await this.client.request(PROMOS_QUERY, void 0);
5460
5436
  return res.ok ? { ok: res.ok, data: res.data.promos } : res;
5461
5437
  }
5462
5438
  async cashbacks() {
5463
- const res = await this.client.request(CASHBACKS_QUERY, void 0, {
5464
- method: "GET"
5465
- });
5439
+ const res = await this.client.request(
5440
+ CASHBACKS_QUERY,
5441
+ void 0
5442
+ );
5466
5443
  return res.ok ? { ok: res.ok, data: res.data.cashbacks } : res;
5467
5444
  }
5468
5445
  async promosAndCashbacks() {
5469
5446
  const res = await this.client.request(
5470
- PROMOS_AND_CASHBACKS_QUERY,
5471
- void 0,
5472
- {
5473
- method: "GET"
5474
- }
5447
+ PROMOS_AND_CASHBACKS_QUERY
5475
5448
  );
5476
5449
  return res.ok ? {
5477
5450
  ok: res.ok,