@bzbs/react-api-client 0.1.10 → 0.1.12

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.
package/dist/index.d.mts CHANGED
@@ -1118,8 +1118,14 @@ declare class AuthenticateApi extends BaseService {
1118
1118
  deviceLogin(params: {
1119
1119
  appId: string;
1120
1120
  uuid: string;
1121
+ deviceLocale: string;
1122
+ os: string;
1123
+ platform: string;
1124
+ deviceNotificationEnabled: boolean;
1125
+ clientVersion: string;
1126
+ deviceToken: string;
1121
1127
  options?: {
1122
- [key: string]: any;
1128
+ [key: string]: unknown;
1123
1129
  };
1124
1130
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<LoginResponse>>;
1125
1131
  /**
@@ -1137,8 +1143,14 @@ declare class AuthenticateApi extends BaseService {
1137
1143
  accessToken: string;
1138
1144
  appId: string;
1139
1145
  uuid: string;
1146
+ deviceLocale: string;
1147
+ os: string;
1148
+ platform: string;
1149
+ deviceNotificationEnabled: boolean;
1150
+ clientVersion: string;
1151
+ deviceToken: string;
1140
1152
  options?: {
1141
- [key: string]: any;
1153
+ [key: string]: unknown;
1142
1154
  };
1143
1155
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<LoginResponse>>;
1144
1156
  /**
@@ -1156,8 +1168,14 @@ declare class AuthenticateApi extends BaseService {
1156
1168
  idToken: string;
1157
1169
  appId: string;
1158
1170
  uuid: string;
1171
+ deviceLocale: string;
1172
+ os: string;
1173
+ platform: string;
1174
+ deviceNotificationEnabled: boolean;
1175
+ clientVersion: string;
1176
+ deviceToken: string;
1159
1177
  options?: {
1160
- [key: string]: any;
1178
+ [key: string]: unknown;
1161
1179
  };
1162
1180
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<LoginResponse>>;
1163
1181
  /**
@@ -1178,8 +1196,14 @@ declare class AuthenticateApi extends BaseService {
1178
1196
  authorizationCode: string;
1179
1197
  appId: string;
1180
1198
  uuid: string;
1199
+ deviceLocale: string;
1200
+ os: string;
1201
+ platform: string;
1202
+ deviceNotificationEnabled: boolean;
1203
+ clientVersion: string;
1204
+ deviceToken: string;
1181
1205
  options?: {
1182
- [key: string]: any;
1206
+ [key: string]: unknown;
1183
1207
  };
1184
1208
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<LoginResponse>>;
1185
1209
  /**
@@ -1199,8 +1223,14 @@ declare class AuthenticateApi extends BaseService {
1199
1223
  refreshToken: string;
1200
1224
  appId: string;
1201
1225
  uuid: string;
1226
+ deviceLocale: string;
1227
+ os: string;
1228
+ platform: string;
1229
+ deviceNotificationEnabled: boolean;
1230
+ clientVersion: string;
1231
+ deviceToken: string;
1202
1232
  options?: {
1203
- [key: string]: any;
1233
+ [key: string]: unknown;
1204
1234
  };
1205
1235
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<LoginResponse>>;
1206
1236
  /**
@@ -1217,10 +1247,16 @@ declare class AuthenticateApi extends BaseService {
1217
1247
  usernamePasswordLogin(params: {
1218
1248
  username: string;
1219
1249
  password: string;
1220
- uuid: string;
1221
1250
  appId: string;
1251
+ uuid: string;
1252
+ deviceLocale: string;
1253
+ os: string;
1254
+ platform: string;
1255
+ deviceNotificationEnabled: boolean;
1256
+ clientVersion: string;
1257
+ deviceToken: string;
1222
1258
  options?: {
1223
- [key: string]: any;
1259
+ [key: string]: unknown;
1224
1260
  };
1225
1261
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<LoginResponse>>;
1226
1262
  /**
@@ -1235,9 +1271,9 @@ declare class AuthenticateApi extends BaseService {
1235
1271
  logout(params: {
1236
1272
  uuid: string;
1237
1273
  options?: {
1238
- [key: string]: any;
1274
+ [key: string]: unknown;
1239
1275
  };
1240
- }, requestOptions?: RequestOptions): Promise<ServiceResponse<any>>;
1276
+ }, requestOptions?: RequestOptions): Promise<ServiceResponse<unknown>>;
1241
1277
  /**
1242
1278
  * Sends a forget password request to the user.
1243
1279
  *
@@ -1252,7 +1288,7 @@ declare class AuthenticateApi extends BaseService {
1252
1288
  contact: string;
1253
1289
  type: 'email' | 'contact_number';
1254
1290
  options?: {
1255
- [key: string]: any;
1291
+ [key: string]: unknown;
1256
1292
  };
1257
1293
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<ForgetPasswordResponse>>;
1258
1294
  /**
@@ -1273,7 +1309,7 @@ declare class AuthenticateApi extends BaseService {
1273
1309
  newPassword: string;
1274
1310
  otp?: string;
1275
1311
  options?: {
1276
- [key: string]: any;
1312
+ [key: string]: unknown;
1277
1313
  };
1278
1314
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<StatusResponse>>;
1279
1315
  /**
@@ -1288,13 +1324,13 @@ declare class AuthenticateApi extends BaseService {
1288
1324
  * @param requestOptions - (Optional) Additional options for the request.
1289
1325
  * @returns A promise that resolves to a ServiceResponse containing the OTP response.
1290
1326
  */
1291
- getOtp(params: {
1327
+ otp(params: {
1292
1328
  uuid: string;
1293
1329
  appId: string;
1294
1330
  contactNumber: string;
1295
1331
  channel?: string;
1296
1332
  options?: {
1297
- [key: string]: any;
1333
+ [key: string]: unknown;
1298
1334
  };
1299
1335
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<OtpResponse>>;
1300
1336
  /**
@@ -1313,7 +1349,7 @@ declare class AuthenticateApi extends BaseService {
1313
1349
  refCode: string;
1314
1350
  contactNumber: string;
1315
1351
  options?: {
1316
- [key: string]: any;
1352
+ [key: string]: unknown;
1317
1353
  };
1318
1354
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<ConfirmOtpResponse>>;
1319
1355
  /**
@@ -1338,7 +1374,7 @@ declare class AuthenticateApi extends BaseService {
1338
1374
  use: boolean;
1339
1375
  channel?: string;
1340
1376
  options?: {
1341
- [key: string]: any;
1377
+ [key: string]: unknown;
1342
1378
  };
1343
1379
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<ValidateOtpResponse>>;
1344
1380
  /**
@@ -1359,7 +1395,7 @@ declare class AuthenticateApi extends BaseService {
1359
1395
  clientVersion?: string;
1360
1396
  deviceToken?: string;
1361
1397
  options?: {
1362
- [key: string]: any;
1398
+ [key: string]: unknown;
1363
1399
  };
1364
1400
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<ResumeResponse>>;
1365
1401
  /**
@@ -1380,7 +1416,7 @@ declare class AuthenticateApi extends BaseService {
1380
1416
  clientVersion?: string;
1381
1417
  deviceToken?: string;
1382
1418
  options?: {
1383
- [key: string]: any;
1419
+ [key: string]: unknown;
1384
1420
  };
1385
1421
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<ResumeResponse>>;
1386
1422
  /**
@@ -1410,7 +1446,7 @@ declare class BadgeApi extends BaseService {
1410
1446
  * @param requestOptions - (Optional) Additional options for the request.
1411
1447
  * @returns A promise that resolves to a ServiceResponse containing an array of Badge objects.
1412
1448
  */
1413
- getBadges(params: {
1449
+ badges(params: {
1414
1450
  badgeId?: string;
1415
1451
  options?: {
1416
1452
  [key: string]: any;
@@ -1444,7 +1480,7 @@ declare class CampaignApi extends BaseService {
1444
1480
  * @param requestOptions - The options for the HTTP request.
1445
1481
  * @returns A promise that resolves to a ServiceResponse containing an array of Campaign objects.
1446
1482
  */
1447
- campaign(params: {
1483
+ campaigns(params: {
1448
1484
  config: string;
1449
1485
  cat?: string;
1450
1486
  byConfig?: boolean;
@@ -1462,7 +1498,7 @@ declare class CampaignApi extends BaseService {
1462
1498
  hashTags?: string;
1463
1499
  locationAgencyId?: string;
1464
1500
  options?: {
1465
- [key: string]: any;
1501
+ [key: string]: unknown;
1466
1502
  };
1467
1503
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<Campaign[]>>;
1468
1504
  /**
@@ -1481,7 +1517,7 @@ declare class CampaignApi extends BaseService {
1481
1517
  top?: number;
1482
1518
  locale?: number;
1483
1519
  options?: {
1484
- [key: string]: any;
1520
+ [key: string]: unknown;
1485
1521
  };
1486
1522
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<Campaign[]>>;
1487
1523
  /**
@@ -1498,7 +1534,7 @@ declare class CampaignApi extends BaseService {
1498
1534
  id: string;
1499
1535
  deviceLocale?: number;
1500
1536
  options?: {
1501
- [key: string]: any;
1537
+ [key: string]: unknown;
1502
1538
  };
1503
1539
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<CampaignDetail>>;
1504
1540
  /**
@@ -1514,7 +1550,12 @@ declare class CampaignApi extends BaseService {
1514
1550
  * @param requestOptions - Optional request options.
1515
1551
  * @returns A promise that resolves to a ServiceResponse containing the FavoriteResponse.
1516
1552
  */
1517
- removeFromFavorite(id: string, requestOptions?: RequestOptions): Promise<ServiceResponse<FavoriteResponse>>;
1553
+ removeFromFavorite(params: {
1554
+ id: string;
1555
+ options?: {
1556
+ [key: string]: string;
1557
+ };
1558
+ }, requestOptions?: RequestOptions): Promise<ServiceResponse<FavoriteResponse>>;
1518
1559
  /**
1519
1560
  * Redeems a campaign.
1520
1561
  *
@@ -1531,7 +1572,7 @@ declare class CampaignApi extends BaseService {
1531
1572
  addressKey?: string;
1532
1573
  contactNumber?: string;
1533
1574
  options?: {
1534
- [key: string]: any;
1575
+ [key: string]: unknown;
1535
1576
  };
1536
1577
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<RedeemResponse>>;
1537
1578
  /**
@@ -1548,7 +1589,7 @@ declare class CampaignApi extends BaseService {
1548
1589
  id: string;
1549
1590
  quantity: number;
1550
1591
  options?: {
1551
- [key: string]: any;
1592
+ [key: string]: unknown;
1552
1593
  };
1553
1594
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<RedeemResponse>>;
1554
1595
  }
@@ -1573,16 +1614,19 @@ declare class CartApi extends BaseService {
1573
1614
  qty?: number;
1574
1615
  sideCampaignJson?: string;
1575
1616
  options?: {
1576
- [key: string]: any;
1617
+ [key: string]: unknown;
1577
1618
  };
1578
1619
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<CartCountResponse>>;
1579
1620
  /**
1580
1621
  * Retrieves the count of items in the cart.
1581
1622
  *
1623
+ * @param options - Optional additional parameters.
1582
1624
  * @param requestOptions - Optional request options.
1583
1625
  * @returns A promise that resolves to a ServiceResponse containing the CartCountResponse.
1584
1626
  */
1585
- cartCount(requestOptions?: RequestOptions): Promise<ServiceResponse<CartCountResponse>>;
1627
+ cartCount(options?: {
1628
+ [key: string]: unknown;
1629
+ }, requestOptions?: RequestOptions): Promise<ServiceResponse<CartCountResponse>>;
1586
1630
  /**
1587
1631
  * Retrieves the cart access.
1588
1632
  *
@@ -1603,7 +1647,7 @@ declare class CartApi extends BaseService {
1603
1647
  appId: string;
1604
1648
  appName: string;
1605
1649
  options?: {
1606
- [key: string]: any;
1650
+ [key: string]: unknown;
1607
1651
  };
1608
1652
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<CartAccessResponse>>;
1609
1653
  }
@@ -1624,7 +1668,7 @@ declare class CategoryApi extends BaseService {
1624
1668
  config: string;
1625
1669
  byConfig?: boolean;
1626
1670
  options?: {
1627
- [key: string]: any;
1671
+ [key: string]: unknown;
1628
1672
  };
1629
1673
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<Category[]>>;
1630
1674
  }
@@ -1634,10 +1678,13 @@ declare class ConsentApi extends BaseService {
1634
1678
  /**
1635
1679
  * Retrieves the user's consent information.
1636
1680
  *
1681
+ * @param options - Additional options for the request.
1637
1682
  * @param requestOptions - The options for the request.
1638
1683
  * @returns A promise that resolves to a ServiceResponse containing the consent information.
1639
1684
  */
1640
- consent(requestOptions?: RequestOptions): Promise<ServiceResponse<Consent>>;
1685
+ consent(options?: {
1686
+ [key: string]: unknown;
1687
+ }, requestOptions?: RequestOptions): Promise<ServiceResponse<Consent>>;
1641
1688
  /**
1642
1689
  * Retrieves the user's consent information.
1643
1690
  *
@@ -1678,7 +1725,7 @@ declare class ConsentApi extends BaseService {
1678
1725
  marketingCookies?: string;
1679
1726
  necessaryCookies?: string;
1680
1727
  options?: {
1681
- [key: string]: any;
1728
+ [key: string]: unknown;
1682
1729
  };
1683
1730
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<Consent>>;
1684
1731
  /**
@@ -1687,7 +1734,9 @@ declare class ConsentApi extends BaseService {
1687
1734
  * @param requestOptions - The options for the request.
1688
1735
  * @returns A promise that resolves to a ServiceResponse containing the result of the unconsent operation.
1689
1736
  */
1690
- unconsent(requestOptions?: RequestOptions): Promise<ServiceResponse<any>>;
1737
+ unconsent(options?: {
1738
+ [key: string]: unknown;
1739
+ }, requestOptions?: RequestOptions): Promise<ServiceResponse<unknown>>;
1691
1740
  }
1692
1741
 
1693
1742
  declare class CouponApi extends BaseService {
@@ -1704,7 +1753,7 @@ declare class CouponApi extends BaseService {
1704
1753
  processCodes(params: {
1705
1754
  codes: string;
1706
1755
  options?: {
1707
- [key: string]: any;
1756
+ [key: string]: unknown;
1708
1757
  };
1709
1758
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<CouponResponse>>;
1710
1759
  }
@@ -1725,7 +1774,7 @@ declare class DashboardApi extends BaseService {
1725
1774
  appName: string;
1726
1775
  locale: number;
1727
1776
  options?: {
1728
- [key: string]: any;
1777
+ [key: string]: unknown;
1729
1778
  };
1730
1779
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<Dashboard[]>>;
1731
1780
  /**
@@ -1742,7 +1791,7 @@ declare class DashboardApi extends BaseService {
1742
1791
  dashboardName: string;
1743
1792
  locale: number;
1744
1793
  options?: {
1745
- [key: string]: any;
1794
+ [key: string]: unknown;
1746
1795
  };
1747
1796
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<Dashboard[]>>;
1748
1797
  }
@@ -1773,7 +1822,7 @@ declare class HistoryApi extends BaseService {
1773
1822
  startDate?: string;
1774
1823
  endDate?: string;
1775
1824
  options?: {
1776
- [key: string]: any;
1825
+ [key: string]: unknown;
1777
1826
  };
1778
1827
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<Purchase[]>>;
1779
1828
  /**
@@ -1788,7 +1837,7 @@ declare class HistoryApi extends BaseService {
1788
1837
  use(params: {
1789
1838
  redeemKey: string;
1790
1839
  options?: {
1791
- [key: string]: any;
1840
+ [key: string]: unknown;
1792
1841
  };
1793
1842
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<UseCampaignResponse>>;
1794
1843
  }
@@ -1815,7 +1864,7 @@ declare class LineApi extends BaseService {
1815
1864
  clientSecret: string;
1816
1865
  redirectUrl: string;
1817
1866
  options?: {
1818
- [key: string]: any;
1867
+ [key: string]: unknown;
1819
1868
  };
1820
1869
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<LineAuthResponse>>;
1821
1870
  }
@@ -1835,7 +1884,7 @@ declare class NotificationApi extends BaseService {
1835
1884
  mode: string | 'new' | 'all';
1836
1885
  sortBy: string | 'createdate_desc' | 'createdate_asc';
1837
1886
  options?: {
1838
- [key: string]: any;
1887
+ [key: string]: unknown;
1839
1888
  };
1840
1889
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<Notification[]>>;
1841
1890
  /**
@@ -1850,9 +1899,9 @@ declare class NotificationApi extends BaseService {
1850
1899
  read(params: {
1851
1900
  ids: string;
1852
1901
  options?: {
1853
- [key: string]: any;
1902
+ [key: string]: unknown;
1854
1903
  };
1855
- }, requestOptions?: RequestOptions): Promise<ServiceResponse<any>>;
1904
+ }, requestOptions?: RequestOptions): Promise<ServiceResponse<unknown>>;
1856
1905
  }
1857
1906
 
1858
1907
  declare class PlaceApi extends BaseService {
@@ -1887,7 +1936,7 @@ declare class PlaceApi extends BaseService {
1887
1936
  keyword?: string;
1888
1937
  isFavourite?: boolean;
1889
1938
  options?: {
1890
- [key: string]: any;
1939
+ [key: string]: unknown;
1891
1940
  };
1892
1941
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<Place[]>>;
1893
1942
  /**
@@ -1908,7 +1957,7 @@ declare class PlaceApi extends BaseService {
1908
1957
  requiredCampaign?: boolean;
1909
1958
  isFavourite?: boolean;
1910
1959
  options?: {
1911
- [key: string]: any;
1960
+ [key: string]: unknown;
1912
1961
  };
1913
1962
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<Place>>;
1914
1963
  /**
@@ -1916,23 +1965,31 @@ declare class PlaceApi extends BaseService {
1916
1965
  *
1917
1966
  * @param params - The parameters.
1918
1967
  * @param params.id - The ID of the place to be added to favorites.
1968
+ * @param params.options - The additional options.
1919
1969
  * @param requestOptions - The optional request options.
1920
1970
  * @returns A promise that resolves to a ServiceResponse containing the result of the operation.
1921
1971
  */
1922
1972
  addToFavourite(params: {
1923
1973
  id: string;
1924
- }, requestOptions?: RequestOptions): Promise<ServiceResponse<any>>;
1974
+ options?: {
1975
+ [key: string]: unknown;
1976
+ };
1977
+ }, requestOptions?: RequestOptions): Promise<ServiceResponse<unknown>>;
1925
1978
  /**
1926
1979
  * Removes a place from the user's favorites.
1927
1980
  *
1928
1981
  * @param params - The parameters.
1929
1982
  * @param params.id - The ID of the place to be removed from favorites.
1983
+ * @param params.options - The additional options.
1930
1984
  * @param requestOptions - Optional request options.
1931
1985
  * @returns A promise that resolves to a ServiceResponse containing the result of the operation.
1932
1986
  */
1933
1987
  removeFromFavourite(params: {
1934
1988
  id: string;
1935
- }, requestOptions?: RequestOptions): Promise<ServiceResponse<any>>;
1989
+ options?: {
1990
+ [key: string]: unknown;
1991
+ };
1992
+ }, requestOptions?: RequestOptions): Promise<ServiceResponse<unknown>>;
1936
1993
  }
1937
1994
 
1938
1995
  declare class PointLogApi extends BaseService {
@@ -1955,7 +2012,7 @@ declare class PointLogApi extends BaseService {
1955
2012
  lastRowKey?: string;
1956
2013
  top?: number;
1957
2014
  options?: {
1958
- [key: string]: any;
2015
+ [key: string]: unknown;
1959
2016
  };
1960
2017
  }, requestOption?: RequestOptions): Promise<ServiceResponse<PointLog[]>>;
1961
2018
  }
@@ -1965,14 +2022,18 @@ declare class ProfileApi extends BaseService {
1965
2022
  /**
1966
2023
  * Retrieves the profile information for the current user.
1967
2024
  *
2025
+ * @param options - Optional additional parameters.
1968
2026
  * @param requestOptions - Optional request options.
1969
2027
  * @returns A promise that resolves to a ServiceResponse containing the profile information.
1970
2028
  */
1971
- profile(requestOptions?: RequestOptions): Promise<ServiceResponse<ProfileResponse>>;
2029
+ profile(options?: {
2030
+ [key: string]: unknown;
2031
+ }, requestOptions?: RequestOptions): Promise<ServiceResponse<ProfileResponse>>;
1972
2032
  /**
1973
2033
  * Updates the user profile with the provided parameters.
1974
2034
  *
1975
2035
  * @param params - The parameters for updating the profile.
2036
+ * @param params.options - Additional options for the request.
1976
2037
  * @param requestOptions - The options for the request.
1977
2038
  * @returns A promise that resolves to a ServiceResponse containing the updated profile.
1978
2039
  */
@@ -2030,7 +2091,7 @@ declare class ProfileApi extends BaseService {
2030
2091
  remark?: string;
2031
2092
  displayName?: string;
2032
2093
  options?: {
2033
- [key: string]: any;
2094
+ [key: string]: unknown;
2034
2095
  };
2035
2096
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<ProfileResponse>>;
2036
2097
  /**
@@ -2047,7 +2108,7 @@ declare class ProfileApi extends BaseService {
2047
2108
  current: string;
2048
2109
  change: string;
2049
2110
  options?: {
2050
- [key: string]: any;
2111
+ [key: string]: unknown;
2051
2112
  };
2052
2113
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<StatusResponse>>;
2053
2114
  /**
@@ -2070,9 +2131,9 @@ declare class ProfileApi extends BaseService {
2070
2131
  shippingSubFDistrictName?: string;
2071
2132
  shippingContactNumber?: string;
2072
2133
  options?: {
2073
- [key: string]: any;
2134
+ [key: string]: unknown;
2074
2135
  };
2075
- }, requestOptions?: RequestOptions): Promise<ServiceResponse<any>>;
2136
+ }, requestOptions?: RequestOptions): Promise<ServiceResponse<unknown>>;
2076
2137
  /**
2077
2138
  * Changes the contact number of the user.
2078
2139
  *
@@ -2091,7 +2152,7 @@ declare class ProfileApi extends BaseService {
2091
2152
  refCode: string;
2092
2153
  idCard?: string;
2093
2154
  options?: {
2094
- [key: string]: any;
2155
+ [key: string]: unknown;
2095
2156
  };
2096
2157
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<ConfirmOtpResponse>>;
2097
2158
  /**
@@ -2110,30 +2171,39 @@ declare class ProfileApi extends BaseService {
2110
2171
  otp: string;
2111
2172
  refCode: string;
2112
2173
  options?: {
2113
- [key: string]: any;
2174
+ [key: string]: unknown;
2114
2175
  };
2115
2176
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<any>>;
2116
2177
  /**
2117
2178
  * Retrieves the updated points for the current user's profile.
2118
2179
  *
2180
+ * @param options - Optional additional parameters.
2119
2181
  * @param requestOptions - Optional request options.
2120
2182
  * @returns A promise that resolves to a ServiceResponse containing the updated points.
2121
2183
  */
2122
- points(requestOptions?: RequestOptions): Promise<ServiceResponse<UpdatedPoints>>;
2184
+ points(options?: {
2185
+ [key: string]: unknown;
2186
+ }, requestOptions?: RequestOptions): Promise<ServiceResponse<UpdatedPoints>>;
2123
2187
  /**
2124
2188
  * Retrieves the expiring points for the current user's profile.
2125
2189
  *
2190
+ * @param options - Optional additional parameters.
2126
2191
  * @param requestOptions - Optional request options.
2127
2192
  * @returns A promise that resolves to a ServiceResponse containing the expiring points.
2128
2193
  */
2129
- expiringPoints(requestOptions?: RequestOptions): Promise<ServiceResponse<ExpiringPoints>>;
2194
+ expiringPoints(options?: {
2195
+ [key: string]: unknown;
2196
+ }, requestOptions?: RequestOptions): Promise<ServiceResponse<ExpiringPoints>>;
2130
2197
  /**
2131
2198
  * Deactivates the user's profile.
2132
2199
  *
2200
+ * @param options - Optional additional parameters.
2133
2201
  * @param requestOptions - Optional request options.
2134
2202
  * @returns A promise that resolves to a ServiceResponse containing the result of the deactivation.
2135
2203
  */
2136
- deactivate(requestOptions?: RequestOptions): Promise<ServiceResponse<any>>;
2204
+ deactivate(options?: {
2205
+ [key: string]: unknown;
2206
+ }, requestOptions?: RequestOptions): Promise<ServiceResponse<unknown>>;
2137
2207
  }
2138
2208
 
2139
2209
  declare class RegistrationApi extends BaseService {
@@ -2176,7 +2246,7 @@ declare class RegistrationApi extends BaseService {
2176
2246
  lineMarketing?: string;
2177
2247
  phoneMarketing?: string;
2178
2248
  options: {
2179
- [key: string]: any;
2249
+ [key: string]: unknown;
2180
2250
  };
2181
2251
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<RegistrationResponse>>;
2182
2252
  }
@@ -2186,53 +2256,72 @@ declare class AddressApi extends BaseService {
2186
2256
  /**
2187
2257
  * Get information of zip code
2188
2258
  *
2189
- * @param zipCode - Zip code
2259
+ * @param params.zipCode - Zip code
2260
+ * @param params.options - Optional additional parameters
2190
2261
  * @param requestOptions - Optional request options
2191
2262
  * @returns A promise that resolves to a service response containing an array of ZipCode objects
2192
2263
  */
2193
2264
  zipCodes(params: {
2194
2265
  zipCode?: string;
2266
+ options?: {
2267
+ [key: string]: unknown;
2268
+ };
2195
2269
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<ZipCode[]>>;
2196
2270
  /**
2197
2271
  * Get list of Thailand province
2198
2272
  *
2273
+ * @param options - Optional additional parameters
2199
2274
  * @param requestOptions - Optional request options
2200
- * @returns A promise that resolves to a service response containing an array of ZipCode objects
2275
+ * @returns A promise that resolves to a service response containing an array of Province objects
2201
2276
  */
2202
- provinces(requestOptions?: RequestOptions): Promise<ServiceResponse<Province[]>>;
2277
+ provinces(options?: {
2278
+ [key: string]: unknown;
2279
+ }, requestOptions?: RequestOptions): Promise<ServiceResponse<Province[]>>;
2203
2280
  /**
2204
2281
  * Get list of Thailand district
2205
2282
  *
2206
- * @param provinceCode - Province code
2283
+ * @param params.provinceCode - Province code
2284
+ * @param params.options - Optional additional parameters
2207
2285
  * @param requestOptions - Optional request options
2208
- * @returns A promise that resolves to a service response containing an array of ZipCode objects
2286
+ * @returns A promise that resolves to a service response containing an array of District objects
2209
2287
  */
2210
2288
  districts(params: {
2211
2289
  provinceCode?: string;
2290
+ options?: {
2291
+ [key: string]: unknown;
2292
+ };
2212
2293
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<District[]>>;
2213
2294
  /**
2214
2295
  * Get list of Thailand sub district
2215
2296
  *
2216
- * @param provinceCode - Province code
2217
- * @param districtCode - District code
2297
+ * @param params.provinceCode - Province code
2298
+ * @param params.districtCode - District code
2299
+ * @param params.options - Optional additional parameters
2218
2300
  * @param requestOptions - Optional request options
2219
- * @returns A promise that resolves to a service response containing an array of ZipCode objects
2301
+ * @returns A promise that resolves to a service response containing an array of SubDistrict objects
2220
2302
  */
2221
2303
  subDistricts(params: {
2222
2304
  provinceCode?: string;
2223
2305
  districtCode?: string;
2306
+ options?: {
2307
+ [key: string]: unknown;
2308
+ };
2224
2309
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<SubDistrict[]>>;
2225
2310
  /**
2226
2311
  * Get user addresses
2227
2312
  *
2313
+ * @param options - Optional additional parameters
2228
2314
  * @param requestOptions - Optional request options
2229
2315
  * @returns A promise that resolves to a service response containing an array of Address objects
2230
2316
  */
2231
- userAddresses(requestOptions?: RequestOptions): Promise<ServiceResponse<Address[]>>;
2317
+ userAddresses(options?: {
2318
+ [key: string]: unknown;
2319
+ }, requestOptions?: RequestOptions): Promise<ServiceResponse<Address[]>>;
2232
2320
  /**
2233
2321
  * Update user address
2234
2322
  *
2235
2323
  * @param params - The parameters for updating the address
2324
+ * @param params.options - Optional additional parameters
2236
2325
  * @param requestOptions - Optional request options
2237
2326
  * @returns A promise that resolves to a service response containing the updated Address object
2238
2327
  */
@@ -2253,28 +2342,39 @@ declare class AddressApi extends BaseService {
2253
2342
  countryName?: string;
2254
2343
  isDefault?: boolean;
2255
2344
  rowKey?: string;
2345
+ options?: {
2346
+ [key: string]: unknown;
2347
+ };
2256
2348
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<Address>>;
2257
2349
  /**
2258
2350
  * Delete user address
2259
2351
  *
2260
- * @param rowKey - Row key
2352
+ * @param params.rowKey - Row key
2353
+ * @param params.options - Optional additional parameters
2261
2354
  * @param requestOptions - Optional request options
2262
2355
  * @returns A promise that resolves to a service response containing the result of the deletion
2263
2356
  */
2264
2357
  deleteAddress(params: {
2265
2358
  rowKey?: string;
2266
- }, requestOptions?: RequestOptions): Promise<ServiceResponse<any>>;
2359
+ options?: {
2360
+ [key: string]: unknown;
2361
+ };
2362
+ }, requestOptions?: RequestOptions): Promise<ServiceResponse<unknown>>;
2267
2363
  /**
2268
2364
  * Get user tax addresses
2269
2365
  *
2366
+ * @param options - Optional additional parameters
2270
2367
  * @param requestOptions - Optional request options
2271
2368
  * @returns A promise that resolves to a service response containing an array of Address objects
2272
2369
  */
2273
- userTaxAddresses(requestOptions?: RequestOptions): Promise<ServiceResponse<Address[]>>;
2370
+ userTaxAddresses(options?: {
2371
+ [key: string]: unknown;
2372
+ }, requestOptions?: RequestOptions): Promise<ServiceResponse<Address[]>>;
2274
2373
  /**
2275
2374
  * Update user tax address
2276
2375
  *
2277
2376
  * @param params - The parameters for updating the tax address
2377
+ * @param params.options - Optional additional parameters
2278
2378
  * @param requestOptions - Optional request options
2279
2379
  * @returns A promise that resolves to a service response containing the updated Address object
2280
2380
  */
@@ -2305,17 +2405,24 @@ declare class AddressApi extends BaseService {
2305
2405
  subDistrictCode?: string;
2306
2406
  subDistrictName?: string;
2307
2407
  zipCode?: string;
2408
+ options?: {
2409
+ [key: string]: unknown;
2410
+ };
2308
2411
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<Address>>;
2309
2412
  /**
2310
2413
  * Delete user tax address
2311
2414
  *
2312
- * @param rowKey - Row key
2415
+ * @param params.rowKey - Row key
2416
+ * @param params.options - Optional additional parameters
2313
2417
  * @param requestOptions - Optional request options
2314
2418
  * @returns A promise that resolves to a service response containing the result of the deletion
2315
2419
  */
2316
2420
  deleteTaxAddress(params: {
2317
2421
  rowKey?: string;
2318
- }, requestOptions?: RequestOptions): Promise<ServiceResponse<any>>;
2422
+ options?: {
2423
+ [key: string]: unknown;
2424
+ };
2425
+ }, requestOptions?: RequestOptions): Promise<ServiceResponse<unknown>>;
2319
2426
  }
2320
2427
 
2321
2428
  declare class StampApi extends BaseService {
@@ -2324,6 +2431,11 @@ declare class StampApi extends BaseService {
2324
2431
  * Create stamp
2325
2432
  *
2326
2433
  * @param params - The parameters for creating the stamp
2434
+ * @param params.imei - The IMEI
2435
+ * @param params.issuer - The issuer
2436
+ * @param params.os - The operating system
2437
+ * @param params.platform - The platform
2438
+ * @param params.options - Additional options for the request
2327
2439
  * @param requestOptions - Optional request options
2328
2440
  * @returns A promise that resolves to a service response containing the created stamp response
2329
2441
  */
@@ -2332,34 +2444,48 @@ declare class StampApi extends BaseService {
2332
2444
  issuer?: string;
2333
2445
  os?: string;
2334
2446
  platform?: string;
2447
+ options?: {
2448
+ [key: string]: unknown;
2449
+ };
2335
2450
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<CreateStampResponse>>;
2336
2451
  /**
2337
2452
  * Get list of stamps
2338
2453
  *
2454
+ * @param options - Additional options for the request
2339
2455
  * @param requestOptions - Optional request options
2340
2456
  * @returns A promise that resolves to a service response containing an array of stamps
2341
2457
  */
2342
- stamps(requestOptions?: RequestOptions): Promise<ServiceResponse<Stamp[]>>;
2458
+ stamps(options: {
2459
+ [key: string]: unknown;
2460
+ }, requestOptions?: RequestOptions): Promise<ServiceResponse<Stamp[]>>;
2343
2461
  /**
2344
2462
  * Get stamp info
2345
2463
  *
2346
2464
  * @param id - Stamp id
2347
2465
  * @param cardId - Card Id
2466
+ * @param options - Additional options for the request
2348
2467
  * @param requestOptions - Optional request options
2349
2468
  * @returns A promise that resolves to a service response containing the stamp profile response
2350
2469
  */
2351
2470
  stampProfile(params: {
2352
2471
  id: string;
2353
2472
  cardId: string;
2473
+ options?: {
2474
+ [key: string]: unknown;
2475
+ };
2354
2476
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<StampProfileResponse>>;
2355
2477
  }
2356
2478
 
2357
- declare class ForumApi extends BaseService {
2479
+ declare class RequestHelpApi extends BaseService {
2358
2480
  constructor(client: AxiosInstance, baseUrl: string);
2359
2481
  /**
2360
2482
  * Get help code
2361
2483
  *
2362
2484
  * @param params - The parameters for getting the help code
2485
+ * @param params.os - The operating system
2486
+ * @param params.platform - The platform
2487
+ * @param params.clientVersion - The client version
2488
+ * @param params.options - Additional options for the request
2363
2489
  * @param requestOptions - Optional request options
2364
2490
  * @returns A promise that resolves to a service response containing the help code
2365
2491
  */
@@ -2367,31 +2493,48 @@ declare class ForumApi extends BaseService {
2367
2493
  os: string;
2368
2494
  platform: string;
2369
2495
  clientVersion: string;
2496
+ options?: {
2497
+ [key: string]: unknown;
2498
+ };
2370
2499
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<RequestHelpCode>>;
2371
2500
  /**
2372
2501
  * Get request help list
2373
2502
  *
2374
2503
  * @param params - The parameters for getting the request help list
2504
+ * @param params.requestId - The request ID
2505
+ * @param params.options - Additional options for the request
2375
2506
  * @param requestOptions - Optional request options
2376
2507
  * @returns A promise that resolves to a service response containing a list of chat messages
2377
2508
  */
2378
2509
  requestHelpList(params: {
2379
2510
  requestId: string;
2511
+ options?: {
2512
+ [key: string]: unknown;
2513
+ };
2380
2514
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<ChatMessage[]>>;
2381
2515
  /**
2382
2516
  * Get request help detail
2383
2517
  *
2384
2518
  * @param params - The parameters for getting the request help detail
2519
+ * @param params.buzzKey - The buzz key
2520
+ * @param params.options - Additional options for the request
2385
2521
  * @param requestOptions - Optional request options
2386
2522
  * @returns A promise that resolves to a service response containing a chat message
2387
2523
  */
2388
2524
  requestDetail(params: {
2389
2525
  buzzKey: string;
2526
+ options?: {
2527
+ [key: string]: unknown;
2528
+ };
2390
2529
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<ChatMessage>>;
2391
2530
  /**
2392
2531
  * Create request help
2393
2532
  *
2394
2533
  * @param params - The parameters for creating the request help
2534
+ * @param params.requestId - The request ID
2535
+ * @param params.message - The message
2536
+ * @param params.image - The image
2537
+ * @param params.options - Additional options for the request
2395
2538
  * @param requestOptions - Optional request options
2396
2539
  * @returns A promise that resolves to a service response containing a chat message
2397
2540
  */
@@ -2399,22 +2542,35 @@ declare class ForumApi extends BaseService {
2399
2542
  requestId: string;
2400
2543
  message: string;
2401
2544
  image?: File;
2545
+ options?: {
2546
+ [key: string]: unknown;
2547
+ };
2402
2548
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<ChatMessage>>;
2403
2549
  /**
2404
2550
  * Get comment list
2405
2551
  *
2406
2552
  * @param params - The parameters for getting the comment list
2553
+ * @param params.buzzKey - The buzz key
2554
+ * @param params.lastRowKey - The last row key
2555
+ * @param params.options - Additional options for the request
2407
2556
  * @param requestOptions - Optional request options
2408
2557
  * @returns A promise that resolves to a service response containing a list of chat messages
2409
2558
  */
2410
2559
  comments(params: {
2411
2560
  buzzKey: string;
2412
2561
  lastRowKey?: string;
2562
+ options?: {
2563
+ [key: string]: unknown;
2564
+ };
2413
2565
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<ChatMessage[]>>;
2414
2566
  /**
2415
2567
  * Create comment
2416
2568
  *
2417
2569
  * @param params - The parameters for creating the comment
2570
+ * @param params.buzzKey - The buzz key
2571
+ * @param params.message - The message
2572
+ * @param params.image - The image
2573
+ * @param params.options - Additional options for the request
2418
2574
  * @param requestOptions - Optional request options
2419
2575
  * @returns A promise that resolves to a service response containing a chat message
2420
2576
  */
@@ -2422,26 +2578,37 @@ declare class ForumApi extends BaseService {
2422
2578
  buzzKey: string;
2423
2579
  message: string;
2424
2580
  image?: File;
2581
+ options?: {
2582
+ [key: string]: unknown;
2583
+ };
2425
2584
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<ChatMessage>>;
2426
2585
  /**
2427
- * Like/Unlike forum
2586
+ * Like post
2428
2587
  *
2429
- * @param params - The parameters for liking the forum
2588
+ * @param params - The parameters for liking the post
2589
+ * @param params.buzzKey - The buzz key
2590
+ * @param params.options - Additional options for the request
2430
2591
  * @param requestOptions - Optional request options
2431
2592
  * @returns A promise that resolves to a service response containing the like forum response
2432
2593
  */
2433
- likeForum(params: {
2594
+ like(params: {
2434
2595
  buzzKey: string;
2596
+ options?: {
2597
+ [key: string]: unknown;
2598
+ };
2435
2599
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<LikeForumResponse>>;
2436
2600
  /**
2437
- * Unlike forum
2601
+ * Unlike post
2438
2602
  *
2439
- * @param params - The parameters for unliking the forum
2603
+ * @param params - The parameters for unliking the post
2440
2604
  * @param requestOptions - Optional request options
2441
2605
  * @returns A promise that resolves to a service response containing the like forum response
2442
2606
  */
2443
- unlikeForum(params: {
2607
+ unlike(params: {
2444
2608
  buzzKey: string;
2609
+ options?: {
2610
+ [key: string]: string;
2611
+ };
2445
2612
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<LikeForumResponse>>;
2446
2613
  }
2447
2614
 
@@ -2466,8 +2633,8 @@ declare class BzbsService {
2466
2633
  registerApi: RegistrationApi;
2467
2634
  addressApi: AddressApi;
2468
2635
  stampApi: StampApi;
2469
- forumApi: ForumApi;
2636
+ forumApi: RequestHelpApi;
2470
2637
  constructor(client: AxiosInstance, baseUrl: string, baseLineUrl: string);
2471
2638
  }
2472
2639
 
2473
- export { type Address, AddressApi, AuthenticateApi, type Badge, BadgeApi, BaseService, type Buzzebees, type BzbsErrorResponse, BzbsService, type Campaign, CampaignApi, type CampaignDetail, type CartAccessResponse, CartApi, type CartCountResponse, type Category, CategoryApi, type ChatMessage, type ClientError, type ConfirmOtpResponse, type Consent, ConsentApi, CouponApi, type CouponResponse, type CouponResponseData, type CreateStampResponse, type Dashboard, DashboardApi, type Detail, type District, type ErrorResponse, type ExpiringPoints, type FavoriteResponse, type ForgetPasswordResponse, ForumApi, HistoryApi, type LikeForumResponse, LineApi, type LineAuthResponse, type LoginResponse, type Mission, type Notification, NotificationApi, type OtpResponse, type Picture, type Place, PlaceApi, type PlaceService, type PointLog, PointLogApi, ProfileApi, type ProfileResponse, type Province, type Purchase, type RedeemResponse, RegistrationApi, type RegistrationResponse, type RequestHelpCode, type RequestOptions, type ResumeResponse, type ServerError, type ServiceResponse, type Stamp, StampApi, type StampCampaign, type StampHistory, type StampProfileResponse, type StatusResponse, type Style, type SubCampaign, type SubCampaignStyle, type SubDistrict, type SuccessResponse, type Trace, type UpdatedPoints, type UseCampaignResponse, type ValidateOtpResponse, type Version, type ZipCode };
2640
+ export { type Address, AddressApi, AuthenticateApi, type Badge, BadgeApi, BaseService, type Buzzebees, type BzbsErrorResponse, BzbsService, type Campaign, CampaignApi, type CampaignDetail, type CartAccessResponse, CartApi, type CartCountResponse, type Category, CategoryApi, type ChatMessage, type ClientError, type ConfirmOtpResponse, type Consent, ConsentApi, CouponApi, type CouponResponse, type CouponResponseData, type CreateStampResponse, type Dashboard, DashboardApi, type Detail, type District, type ErrorResponse, type ExpiringPoints, type FavoriteResponse, type ForgetPasswordResponse, HistoryApi, type LikeForumResponse, LineApi, type LineAuthResponse, type LoginResponse, type Mission, type Notification, NotificationApi, type OtpResponse, type Picture, type Place, PlaceApi, type PlaceService, type PointLog, PointLogApi, ProfileApi, type ProfileResponse, type Province, type Purchase, type RedeemResponse, RegistrationApi, type RegistrationResponse, RequestHelpApi, type RequestHelpCode, type RequestOptions, type ResumeResponse, type ServerError, type ServiceResponse, type Stamp, StampApi, type StampCampaign, type StampHistory, type StampProfileResponse, type StatusResponse, type Style, type SubCampaign, type SubCampaignStyle, type SubDistrict, type SuccessResponse, type Trace, type UpdatedPoints, type UseCampaignResponse, type ValidateOtpResponse, type Version, type ZipCode };