@opexa/portal-sdk 0.59.47 → 0.59.48

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.
@@ -1593,6 +1593,19 @@ var CASHBACKS_QUERY = gql`
1593
1593
  }
1594
1594
  }
1595
1595
  `;
1596
+ var PROMOS_AND_CASHBACKS_QUERY = gql`
1597
+ ${CASHBACK_FRAGMENT}
1598
+ ${PROMO_FRAGMENT}
1599
+
1600
+ query PromosAndCashbacks {
1601
+ cashbacks {
1602
+ ...CashbackFragment
1603
+ }
1604
+ promos {
1605
+ ...PromoFragment
1606
+ }
1607
+ }
1608
+ `;
1596
1609
  var BONUS_QUERY = gql`
1597
1610
  ${PROMO_FRAGMENT}
1598
1611
 
@@ -5284,6 +5297,18 @@ var WalletService = class {
5284
5297
  const res = await this.client.request(CASHBACKS_QUERY);
5285
5298
  return res.ok ? { ok: res.ok, data: res.data.cashbacks } : res;
5286
5299
  }
5300
+ async promosAndCashbacks() {
5301
+ const res = await this.client.request(
5302
+ PROMOS_AND_CASHBACKS_QUERY
5303
+ );
5304
+ return res.ok ? {
5305
+ ok: res.ok,
5306
+ data: {
5307
+ promos: res.data.promos,
5308
+ cashbacks: res.data.cashbacks
5309
+ }
5310
+ } : res;
5311
+ }
5287
5312
  async availablePromos(variables) {
5288
5313
  const res = await this.client.request(AVAILABLE_PROMOS_QUERY, variables);
5289
5314
  return res.ok ? { ok: res.ok, data: res.data.availablePromos } : res;
@@ -6208,5 +6233,5 @@ var ExtensionService = class {
6208
6233
  };
6209
6234
 
6210
6235
  export { AccountService, AuthService, CmsPortalService, ExtensionService, FileService, GameService, PortalService, ReportService, TriggerService, WalletService, callIfFn, statusCodeToOperationError };
6211
- //# sourceMappingURL=chunk-LRFLE5E6.js.map
6212
- //# sourceMappingURL=chunk-LRFLE5E6.js.map
6236
+ //# sourceMappingURL=chunk-TFG2D5CR.js.map
6237
+ //# sourceMappingURL=chunk-TFG2D5CR.js.map