bb-api-platforma 0.1.217 → 0.1.218

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.
@@ -1119,4 +1119,11 @@ export declare class BetBoosterOfficeApi {
1119
1119
  status: number;
1120
1120
  statusText: string;
1121
1121
  }>;
1122
+ /** Special methods */
1123
+ getUserForwardedUrl(payload: I.TPayloadUserForwardedUrl): Promise<{
1124
+ data: I.IApiResponse<any> | null;
1125
+ error: string | null;
1126
+ status: number;
1127
+ statusText: string;
1128
+ }>;
1122
1129
  }
@@ -2136,5 +2136,11 @@ export class BetBoosterOfficeApi {
2136
2136
  const { data, status, statusText } = await this.request(url).GET().query(query).exec();
2137
2137
  return this.responseHandlerDataData(data, status, statusText);
2138
2138
  }
2139
+ /** Special methods */
2140
+ async getUserForwardedUrl(payload) {
2141
+ const url = this.url(`/cashier/getsiteurl`, api.NV30);
2142
+ const { data, status, statusText } = await this.request(url).POST(payload).exec();
2143
+ return this.responseHandlerData(data, status, statusText);
2144
+ }
2139
2145
  }
2140
2146
  // @workspace /doc в комментарии приведи полный пример payload из I.IConfirmWithdrawalOrderPayload
package/dist/Types.d.ts CHANGED
@@ -1784,6 +1784,10 @@ export type TSliderPutImagePayload = {
1784
1784
  /** Image URL. Optional. If specified, it will be used instead of imageBase64. */
1785
1785
  imageUrl?: string;
1786
1786
  };
1787
+ export type TPayloadUserForwardedUrl = {
1788
+ l: string;
1789
+ p: string;
1790
+ };
1787
1791
  export type TSliderDeleteImagePayload = {
1788
1792
  siteTag: string;
1789
1793
  groupTag: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bb-api-platforma",
3
- "version": "0.1.217",
3
+ "version": "0.1.218",
4
4
  "description": "API module for BetBooster Platform",
5
5
  "productName": "BetBooster Platform API",
6
6
  "author": "Tomy Bet <tomybet.com@gmail.com>",