bb-api-platforma 0.1.178 → 0.1.179

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.
@@ -959,6 +959,15 @@ export declare class BetBoosterOfficeApi {
959
959
  status: number;
960
960
  statusText: string;
961
961
  }>;
962
+ sliderGetSectionData({ siteTag, groupTag }: {
963
+ siteTag: string;
964
+ groupTag: string;
965
+ }): Promise<{
966
+ data: I.IApiResponse<any> | null;
967
+ error: string | null;
968
+ status: number;
969
+ statusText: string;
970
+ }>;
962
971
  /**
963
972
  * Retrieves section data for a slider component based on site and group tags.
964
973
  *
@@ -1885,7 +1885,7 @@ export class BetBoosterOfficeApi {
1885
1885
  async getBetContentAdm(payload) {
1886
1886
  payload.culture = this.locale;
1887
1887
  const url = this.url(`/account/GetBet`, api.V2);
1888
- const { data, status, statusText } = await this.request(url).query(payload).exec();
1888
+ const { data, status, statusText } = await this.request(url).GET().query(payload).exec();
1889
1889
  // console.log('deleteCoupon data:', data , status , statusText);
1890
1890
  return this.responseHandlerData(data, status, statusText);
1891
1891
  }
@@ -1904,6 +1904,12 @@ export class BetBoosterOfficeApi {
1904
1904
  // console.log('deleteCoupon data:', data , status , statusText);
1905
1905
  return this.responseHandlerData(data, status, statusText);
1906
1906
  }
1907
+ async sliderGetSectionData({ siteTag, groupTag }) {
1908
+ const url = this.url(`/section/${siteTag}/${groupTag}`, api.NV30);
1909
+ const { data, status, statusText } = await this.request(url).GET().exec();
1910
+ // console.log('deleteCoupon data:', data , status , statusText);
1911
+ return this.responseHandlerData(data, status, statusText);
1912
+ }
1907
1913
  /**
1908
1914
  * Retrieves section data for a slider component based on site and group tags.
1909
1915
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bb-api-platforma",
3
- "version": "0.1.178",
3
+ "version": "0.1.179",
4
4
  "description": "API module for BetBooster Platform",
5
5
  "productName": "BetBooster Platform API",
6
6
  "author": "Tomy Bet <tomybet.com@gmail.com>",