@bzbs/react-api-client 0.1.9 → 0.1.11
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 +211 -80
- package/dist/index.d.ts +211 -80
- package/dist/index.js +239 -92
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +238 -91
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1119,7 +1119,7 @@ declare class AuthenticateApi extends BaseService {
|
|
|
1119
1119
|
appId: string;
|
|
1120
1120
|
uuid: string;
|
|
1121
1121
|
options?: {
|
|
1122
|
-
[key: string]:
|
|
1122
|
+
[key: string]: unknown;
|
|
1123
1123
|
};
|
|
1124
1124
|
}, requestOptions?: RequestOptions): Promise<ServiceResponse<LoginResponse>>;
|
|
1125
1125
|
/**
|
|
@@ -1138,7 +1138,7 @@ declare class AuthenticateApi extends BaseService {
|
|
|
1138
1138
|
appId: string;
|
|
1139
1139
|
uuid: string;
|
|
1140
1140
|
options?: {
|
|
1141
|
-
[key: string]:
|
|
1141
|
+
[key: string]: unknown;
|
|
1142
1142
|
};
|
|
1143
1143
|
}, requestOptions?: RequestOptions): Promise<ServiceResponse<LoginResponse>>;
|
|
1144
1144
|
/**
|
|
@@ -1157,7 +1157,7 @@ declare class AuthenticateApi extends BaseService {
|
|
|
1157
1157
|
appId: string;
|
|
1158
1158
|
uuid: string;
|
|
1159
1159
|
options?: {
|
|
1160
|
-
[key: string]:
|
|
1160
|
+
[key: string]: unknown;
|
|
1161
1161
|
};
|
|
1162
1162
|
}, requestOptions?: RequestOptions): Promise<ServiceResponse<LoginResponse>>;
|
|
1163
1163
|
/**
|
|
@@ -1179,7 +1179,7 @@ declare class AuthenticateApi extends BaseService {
|
|
|
1179
1179
|
appId: string;
|
|
1180
1180
|
uuid: string;
|
|
1181
1181
|
options?: {
|
|
1182
|
-
[key: string]:
|
|
1182
|
+
[key: string]: unknown;
|
|
1183
1183
|
};
|
|
1184
1184
|
}, requestOptions?: RequestOptions): Promise<ServiceResponse<LoginResponse>>;
|
|
1185
1185
|
/**
|
|
@@ -1200,7 +1200,7 @@ declare class AuthenticateApi extends BaseService {
|
|
|
1200
1200
|
appId: string;
|
|
1201
1201
|
uuid: string;
|
|
1202
1202
|
options?: {
|
|
1203
|
-
[key: string]:
|
|
1203
|
+
[key: string]: unknown;
|
|
1204
1204
|
};
|
|
1205
1205
|
}, requestOptions?: RequestOptions): Promise<ServiceResponse<LoginResponse>>;
|
|
1206
1206
|
/**
|
|
@@ -1220,7 +1220,7 @@ declare class AuthenticateApi extends BaseService {
|
|
|
1220
1220
|
uuid: string;
|
|
1221
1221
|
appId: string;
|
|
1222
1222
|
options?: {
|
|
1223
|
-
[key: string]:
|
|
1223
|
+
[key: string]: unknown;
|
|
1224
1224
|
};
|
|
1225
1225
|
}, requestOptions?: RequestOptions): Promise<ServiceResponse<LoginResponse>>;
|
|
1226
1226
|
/**
|
|
@@ -1235,9 +1235,9 @@ declare class AuthenticateApi extends BaseService {
|
|
|
1235
1235
|
logout(params: {
|
|
1236
1236
|
uuid: string;
|
|
1237
1237
|
options?: {
|
|
1238
|
-
[key: string]:
|
|
1238
|
+
[key: string]: unknown;
|
|
1239
1239
|
};
|
|
1240
|
-
}, requestOptions?: RequestOptions): Promise<ServiceResponse<
|
|
1240
|
+
}, requestOptions?: RequestOptions): Promise<ServiceResponse<unknown>>;
|
|
1241
1241
|
/**
|
|
1242
1242
|
* Sends a forget password request to the user.
|
|
1243
1243
|
*
|
|
@@ -1252,7 +1252,7 @@ declare class AuthenticateApi extends BaseService {
|
|
|
1252
1252
|
contact: string;
|
|
1253
1253
|
type: 'email' | 'contact_number';
|
|
1254
1254
|
options?: {
|
|
1255
|
-
[key: string]:
|
|
1255
|
+
[key: string]: unknown;
|
|
1256
1256
|
};
|
|
1257
1257
|
}, requestOptions?: RequestOptions): Promise<ServiceResponse<ForgetPasswordResponse>>;
|
|
1258
1258
|
/**
|
|
@@ -1273,7 +1273,7 @@ declare class AuthenticateApi extends BaseService {
|
|
|
1273
1273
|
newPassword: string;
|
|
1274
1274
|
otp?: string;
|
|
1275
1275
|
options?: {
|
|
1276
|
-
[key: string]:
|
|
1276
|
+
[key: string]: unknown;
|
|
1277
1277
|
};
|
|
1278
1278
|
}, requestOptions?: RequestOptions): Promise<ServiceResponse<StatusResponse>>;
|
|
1279
1279
|
/**
|
|
@@ -1288,13 +1288,13 @@ declare class AuthenticateApi extends BaseService {
|
|
|
1288
1288
|
* @param requestOptions - (Optional) Additional options for the request.
|
|
1289
1289
|
* @returns A promise that resolves to a ServiceResponse containing the OTP response.
|
|
1290
1290
|
*/
|
|
1291
|
-
|
|
1291
|
+
otp(params: {
|
|
1292
1292
|
uuid: string;
|
|
1293
1293
|
appId: string;
|
|
1294
1294
|
contactNumber: string;
|
|
1295
1295
|
channel?: string;
|
|
1296
1296
|
options?: {
|
|
1297
|
-
[key: string]:
|
|
1297
|
+
[key: string]: unknown;
|
|
1298
1298
|
};
|
|
1299
1299
|
}, requestOptions?: RequestOptions): Promise<ServiceResponse<OtpResponse>>;
|
|
1300
1300
|
/**
|
|
@@ -1313,7 +1313,7 @@ declare class AuthenticateApi extends BaseService {
|
|
|
1313
1313
|
refCode: string;
|
|
1314
1314
|
contactNumber: string;
|
|
1315
1315
|
options?: {
|
|
1316
|
-
[key: string]:
|
|
1316
|
+
[key: string]: unknown;
|
|
1317
1317
|
};
|
|
1318
1318
|
}, requestOptions?: RequestOptions): Promise<ServiceResponse<ConfirmOtpResponse>>;
|
|
1319
1319
|
/**
|
|
@@ -1338,7 +1338,7 @@ declare class AuthenticateApi extends BaseService {
|
|
|
1338
1338
|
use: boolean;
|
|
1339
1339
|
channel?: string;
|
|
1340
1340
|
options?: {
|
|
1341
|
-
[key: string]:
|
|
1341
|
+
[key: string]: unknown;
|
|
1342
1342
|
};
|
|
1343
1343
|
}, requestOptions?: RequestOptions): Promise<ServiceResponse<ValidateOtpResponse>>;
|
|
1344
1344
|
/**
|
|
@@ -1359,7 +1359,7 @@ declare class AuthenticateApi extends BaseService {
|
|
|
1359
1359
|
clientVersion?: string;
|
|
1360
1360
|
deviceToken?: string;
|
|
1361
1361
|
options?: {
|
|
1362
|
-
[key: string]:
|
|
1362
|
+
[key: string]: unknown;
|
|
1363
1363
|
};
|
|
1364
1364
|
}, requestOptions?: RequestOptions): Promise<ServiceResponse<ResumeResponse>>;
|
|
1365
1365
|
/**
|
|
@@ -1380,7 +1380,7 @@ declare class AuthenticateApi extends BaseService {
|
|
|
1380
1380
|
clientVersion?: string;
|
|
1381
1381
|
deviceToken?: string;
|
|
1382
1382
|
options?: {
|
|
1383
|
-
[key: string]:
|
|
1383
|
+
[key: string]: unknown;
|
|
1384
1384
|
};
|
|
1385
1385
|
}, requestOptions?: RequestOptions): Promise<ServiceResponse<ResumeResponse>>;
|
|
1386
1386
|
/**
|
|
@@ -1410,7 +1410,7 @@ declare class BadgeApi extends BaseService {
|
|
|
1410
1410
|
* @param requestOptions - (Optional) Additional options for the request.
|
|
1411
1411
|
* @returns A promise that resolves to a ServiceResponse containing an array of Badge objects.
|
|
1412
1412
|
*/
|
|
1413
|
-
|
|
1413
|
+
badges(params: {
|
|
1414
1414
|
badgeId?: string;
|
|
1415
1415
|
options?: {
|
|
1416
1416
|
[key: string]: any;
|
|
@@ -1444,7 +1444,7 @@ declare class CampaignApi extends BaseService {
|
|
|
1444
1444
|
* @param requestOptions - The options for the HTTP request.
|
|
1445
1445
|
* @returns A promise that resolves to a ServiceResponse containing an array of Campaign objects.
|
|
1446
1446
|
*/
|
|
1447
|
-
|
|
1447
|
+
campaigns(params: {
|
|
1448
1448
|
config: string;
|
|
1449
1449
|
cat?: string;
|
|
1450
1450
|
byConfig?: boolean;
|
|
@@ -1462,7 +1462,7 @@ declare class CampaignApi extends BaseService {
|
|
|
1462
1462
|
hashTags?: string;
|
|
1463
1463
|
locationAgencyId?: string;
|
|
1464
1464
|
options?: {
|
|
1465
|
-
[key: string]:
|
|
1465
|
+
[key: string]: unknown;
|
|
1466
1466
|
};
|
|
1467
1467
|
}, requestOptions?: RequestOptions): Promise<ServiceResponse<Campaign[]>>;
|
|
1468
1468
|
/**
|
|
@@ -1481,7 +1481,7 @@ declare class CampaignApi extends BaseService {
|
|
|
1481
1481
|
top?: number;
|
|
1482
1482
|
locale?: number;
|
|
1483
1483
|
options?: {
|
|
1484
|
-
[key: string]:
|
|
1484
|
+
[key: string]: unknown;
|
|
1485
1485
|
};
|
|
1486
1486
|
}, requestOptions?: RequestOptions): Promise<ServiceResponse<Campaign[]>>;
|
|
1487
1487
|
/**
|
|
@@ -1498,7 +1498,7 @@ declare class CampaignApi extends BaseService {
|
|
|
1498
1498
|
id: string;
|
|
1499
1499
|
deviceLocale?: number;
|
|
1500
1500
|
options?: {
|
|
1501
|
-
[key: string]:
|
|
1501
|
+
[key: string]: unknown;
|
|
1502
1502
|
};
|
|
1503
1503
|
}, requestOptions?: RequestOptions): Promise<ServiceResponse<CampaignDetail>>;
|
|
1504
1504
|
/**
|
|
@@ -1514,7 +1514,12 @@ declare class CampaignApi extends BaseService {
|
|
|
1514
1514
|
* @param requestOptions - Optional request options.
|
|
1515
1515
|
* @returns A promise that resolves to a ServiceResponse containing the FavoriteResponse.
|
|
1516
1516
|
*/
|
|
1517
|
-
removeFromFavorite(
|
|
1517
|
+
removeFromFavorite(params: {
|
|
1518
|
+
id: string;
|
|
1519
|
+
options?: {
|
|
1520
|
+
[key: string]: string;
|
|
1521
|
+
};
|
|
1522
|
+
}, requestOptions?: RequestOptions): Promise<ServiceResponse<FavoriteResponse>>;
|
|
1518
1523
|
/**
|
|
1519
1524
|
* Redeems a campaign.
|
|
1520
1525
|
*
|
|
@@ -1531,7 +1536,7 @@ declare class CampaignApi extends BaseService {
|
|
|
1531
1536
|
addressKey?: string;
|
|
1532
1537
|
contactNumber?: string;
|
|
1533
1538
|
options?: {
|
|
1534
|
-
[key: string]:
|
|
1539
|
+
[key: string]: unknown;
|
|
1535
1540
|
};
|
|
1536
1541
|
}, requestOptions?: RequestOptions): Promise<ServiceResponse<RedeemResponse>>;
|
|
1537
1542
|
/**
|
|
@@ -1548,7 +1553,7 @@ declare class CampaignApi extends BaseService {
|
|
|
1548
1553
|
id: string;
|
|
1549
1554
|
quantity: number;
|
|
1550
1555
|
options?: {
|
|
1551
|
-
[key: string]:
|
|
1556
|
+
[key: string]: unknown;
|
|
1552
1557
|
};
|
|
1553
1558
|
}, requestOptions?: RequestOptions): Promise<ServiceResponse<RedeemResponse>>;
|
|
1554
1559
|
}
|
|
@@ -1573,16 +1578,19 @@ declare class CartApi extends BaseService {
|
|
|
1573
1578
|
qty?: number;
|
|
1574
1579
|
sideCampaignJson?: string;
|
|
1575
1580
|
options?: {
|
|
1576
|
-
[key: string]:
|
|
1581
|
+
[key: string]: unknown;
|
|
1577
1582
|
};
|
|
1578
1583
|
}, requestOptions?: RequestOptions): Promise<ServiceResponse<CartCountResponse>>;
|
|
1579
1584
|
/**
|
|
1580
1585
|
* Retrieves the count of items in the cart.
|
|
1581
1586
|
*
|
|
1587
|
+
* @param options - Optional additional parameters.
|
|
1582
1588
|
* @param requestOptions - Optional request options.
|
|
1583
1589
|
* @returns A promise that resolves to a ServiceResponse containing the CartCountResponse.
|
|
1584
1590
|
*/
|
|
1585
|
-
cartCount(
|
|
1591
|
+
cartCount(options?: {
|
|
1592
|
+
[key: string]: unknown;
|
|
1593
|
+
}, requestOptions?: RequestOptions): Promise<ServiceResponse<CartCountResponse>>;
|
|
1586
1594
|
/**
|
|
1587
1595
|
* Retrieves the cart access.
|
|
1588
1596
|
*
|
|
@@ -1603,7 +1611,7 @@ declare class CartApi extends BaseService {
|
|
|
1603
1611
|
appId: string;
|
|
1604
1612
|
appName: string;
|
|
1605
1613
|
options?: {
|
|
1606
|
-
[key: string]:
|
|
1614
|
+
[key: string]: unknown;
|
|
1607
1615
|
};
|
|
1608
1616
|
}, requestOptions?: RequestOptions): Promise<ServiceResponse<CartAccessResponse>>;
|
|
1609
1617
|
}
|
|
@@ -1624,7 +1632,7 @@ declare class CategoryApi extends BaseService {
|
|
|
1624
1632
|
config: string;
|
|
1625
1633
|
byConfig?: boolean;
|
|
1626
1634
|
options?: {
|
|
1627
|
-
[key: string]:
|
|
1635
|
+
[key: string]: unknown;
|
|
1628
1636
|
};
|
|
1629
1637
|
}, requestOptions?: RequestOptions): Promise<ServiceResponse<Category[]>>;
|
|
1630
1638
|
}
|
|
@@ -1634,10 +1642,13 @@ declare class ConsentApi extends BaseService {
|
|
|
1634
1642
|
/**
|
|
1635
1643
|
* Retrieves the user's consent information.
|
|
1636
1644
|
*
|
|
1645
|
+
* @param options - Additional options for the request.
|
|
1637
1646
|
* @param requestOptions - The options for the request.
|
|
1638
1647
|
* @returns A promise that resolves to a ServiceResponse containing the consent information.
|
|
1639
1648
|
*/
|
|
1640
|
-
consent(
|
|
1649
|
+
consent(options?: {
|
|
1650
|
+
[key: string]: unknown;
|
|
1651
|
+
}, requestOptions?: RequestOptions): Promise<ServiceResponse<Consent>>;
|
|
1641
1652
|
/**
|
|
1642
1653
|
* Retrieves the user's consent information.
|
|
1643
1654
|
*
|
|
@@ -1678,7 +1689,7 @@ declare class ConsentApi extends BaseService {
|
|
|
1678
1689
|
marketingCookies?: string;
|
|
1679
1690
|
necessaryCookies?: string;
|
|
1680
1691
|
options?: {
|
|
1681
|
-
[key: string]:
|
|
1692
|
+
[key: string]: unknown;
|
|
1682
1693
|
};
|
|
1683
1694
|
}, requestOptions?: RequestOptions): Promise<ServiceResponse<Consent>>;
|
|
1684
1695
|
/**
|
|
@@ -1687,7 +1698,9 @@ declare class ConsentApi extends BaseService {
|
|
|
1687
1698
|
* @param requestOptions - The options for the request.
|
|
1688
1699
|
* @returns A promise that resolves to a ServiceResponse containing the result of the unconsent operation.
|
|
1689
1700
|
*/
|
|
1690
|
-
unconsent(
|
|
1701
|
+
unconsent(options?: {
|
|
1702
|
+
[key: string]: unknown;
|
|
1703
|
+
}, requestOptions?: RequestOptions): Promise<ServiceResponse<unknown>>;
|
|
1691
1704
|
}
|
|
1692
1705
|
|
|
1693
1706
|
declare class CouponApi extends BaseService {
|
|
@@ -1704,7 +1717,7 @@ declare class CouponApi extends BaseService {
|
|
|
1704
1717
|
processCodes(params: {
|
|
1705
1718
|
codes: string;
|
|
1706
1719
|
options?: {
|
|
1707
|
-
[key: string]:
|
|
1720
|
+
[key: string]: unknown;
|
|
1708
1721
|
};
|
|
1709
1722
|
}, requestOptions?: RequestOptions): Promise<ServiceResponse<CouponResponse>>;
|
|
1710
1723
|
}
|
|
@@ -1725,7 +1738,7 @@ declare class DashboardApi extends BaseService {
|
|
|
1725
1738
|
appName: string;
|
|
1726
1739
|
locale: number;
|
|
1727
1740
|
options?: {
|
|
1728
|
-
[key: string]:
|
|
1741
|
+
[key: string]: unknown;
|
|
1729
1742
|
};
|
|
1730
1743
|
}, requestOptions?: RequestOptions): Promise<ServiceResponse<Dashboard[]>>;
|
|
1731
1744
|
/**
|
|
@@ -1742,7 +1755,7 @@ declare class DashboardApi extends BaseService {
|
|
|
1742
1755
|
dashboardName: string;
|
|
1743
1756
|
locale: number;
|
|
1744
1757
|
options?: {
|
|
1745
|
-
[key: string]:
|
|
1758
|
+
[key: string]: unknown;
|
|
1746
1759
|
};
|
|
1747
1760
|
}, requestOptions?: RequestOptions): Promise<ServiceResponse<Dashboard[]>>;
|
|
1748
1761
|
}
|
|
@@ -1773,7 +1786,7 @@ declare class HistoryApi extends BaseService {
|
|
|
1773
1786
|
startDate?: string;
|
|
1774
1787
|
endDate?: string;
|
|
1775
1788
|
options?: {
|
|
1776
|
-
[key: string]:
|
|
1789
|
+
[key: string]: unknown;
|
|
1777
1790
|
};
|
|
1778
1791
|
}, requestOptions?: RequestOptions): Promise<ServiceResponse<Purchase[]>>;
|
|
1779
1792
|
/**
|
|
@@ -1788,7 +1801,7 @@ declare class HistoryApi extends BaseService {
|
|
|
1788
1801
|
use(params: {
|
|
1789
1802
|
redeemKey: string;
|
|
1790
1803
|
options?: {
|
|
1791
|
-
[key: string]:
|
|
1804
|
+
[key: string]: unknown;
|
|
1792
1805
|
};
|
|
1793
1806
|
}, requestOptions?: RequestOptions): Promise<ServiceResponse<UseCampaignResponse>>;
|
|
1794
1807
|
}
|
|
@@ -1815,7 +1828,7 @@ declare class LineApi extends BaseService {
|
|
|
1815
1828
|
clientSecret: string;
|
|
1816
1829
|
redirectUrl: string;
|
|
1817
1830
|
options?: {
|
|
1818
|
-
[key: string]:
|
|
1831
|
+
[key: string]: unknown;
|
|
1819
1832
|
};
|
|
1820
1833
|
}, requestOptions?: RequestOptions): Promise<ServiceResponse<LineAuthResponse>>;
|
|
1821
1834
|
}
|
|
@@ -1835,7 +1848,7 @@ declare class NotificationApi extends BaseService {
|
|
|
1835
1848
|
mode: string | 'new' | 'all';
|
|
1836
1849
|
sortBy: string | 'createdate_desc' | 'createdate_asc';
|
|
1837
1850
|
options?: {
|
|
1838
|
-
[key: string]:
|
|
1851
|
+
[key: string]: unknown;
|
|
1839
1852
|
};
|
|
1840
1853
|
}, requestOptions?: RequestOptions): Promise<ServiceResponse<Notification[]>>;
|
|
1841
1854
|
/**
|
|
@@ -1850,9 +1863,9 @@ declare class NotificationApi extends BaseService {
|
|
|
1850
1863
|
read(params: {
|
|
1851
1864
|
ids: string;
|
|
1852
1865
|
options?: {
|
|
1853
|
-
[key: string]:
|
|
1866
|
+
[key: string]: unknown;
|
|
1854
1867
|
};
|
|
1855
|
-
}, requestOptions?: RequestOptions): Promise<ServiceResponse<
|
|
1868
|
+
}, requestOptions?: RequestOptions): Promise<ServiceResponse<unknown>>;
|
|
1856
1869
|
}
|
|
1857
1870
|
|
|
1858
1871
|
declare class PlaceApi extends BaseService {
|
|
@@ -1887,7 +1900,7 @@ declare class PlaceApi extends BaseService {
|
|
|
1887
1900
|
keyword?: string;
|
|
1888
1901
|
isFavourite?: boolean;
|
|
1889
1902
|
options?: {
|
|
1890
|
-
[key: string]:
|
|
1903
|
+
[key: string]: unknown;
|
|
1891
1904
|
};
|
|
1892
1905
|
}, requestOptions?: RequestOptions): Promise<ServiceResponse<Place[]>>;
|
|
1893
1906
|
/**
|
|
@@ -1908,7 +1921,7 @@ declare class PlaceApi extends BaseService {
|
|
|
1908
1921
|
requiredCampaign?: boolean;
|
|
1909
1922
|
isFavourite?: boolean;
|
|
1910
1923
|
options?: {
|
|
1911
|
-
[key: string]:
|
|
1924
|
+
[key: string]: unknown;
|
|
1912
1925
|
};
|
|
1913
1926
|
}, requestOptions?: RequestOptions): Promise<ServiceResponse<Place>>;
|
|
1914
1927
|
/**
|
|
@@ -1916,23 +1929,31 @@ declare class PlaceApi extends BaseService {
|
|
|
1916
1929
|
*
|
|
1917
1930
|
* @param params - The parameters.
|
|
1918
1931
|
* @param params.id - The ID of the place to be added to favorites.
|
|
1932
|
+
* @param params.options - The additional options.
|
|
1919
1933
|
* @param requestOptions - The optional request options.
|
|
1920
1934
|
* @returns A promise that resolves to a ServiceResponse containing the result of the operation.
|
|
1921
1935
|
*/
|
|
1922
1936
|
addToFavourite(params: {
|
|
1923
1937
|
id: string;
|
|
1924
|
-
|
|
1938
|
+
options?: {
|
|
1939
|
+
[key: string]: unknown;
|
|
1940
|
+
};
|
|
1941
|
+
}, requestOptions?: RequestOptions): Promise<ServiceResponse<unknown>>;
|
|
1925
1942
|
/**
|
|
1926
1943
|
* Removes a place from the user's favorites.
|
|
1927
1944
|
*
|
|
1928
1945
|
* @param params - The parameters.
|
|
1929
1946
|
* @param params.id - The ID of the place to be removed from favorites.
|
|
1947
|
+
* @param params.options - The additional options.
|
|
1930
1948
|
* @param requestOptions - Optional request options.
|
|
1931
1949
|
* @returns A promise that resolves to a ServiceResponse containing the result of the operation.
|
|
1932
1950
|
*/
|
|
1933
1951
|
removeFromFavourite(params: {
|
|
1934
1952
|
id: string;
|
|
1935
|
-
|
|
1953
|
+
options?: {
|
|
1954
|
+
[key: string]: unknown;
|
|
1955
|
+
};
|
|
1956
|
+
}, requestOptions?: RequestOptions): Promise<ServiceResponse<unknown>>;
|
|
1936
1957
|
}
|
|
1937
1958
|
|
|
1938
1959
|
declare class PointLogApi extends BaseService {
|
|
@@ -1955,7 +1976,7 @@ declare class PointLogApi extends BaseService {
|
|
|
1955
1976
|
lastRowKey?: string;
|
|
1956
1977
|
top?: number;
|
|
1957
1978
|
options?: {
|
|
1958
|
-
[key: string]:
|
|
1979
|
+
[key: string]: unknown;
|
|
1959
1980
|
};
|
|
1960
1981
|
}, requestOption?: RequestOptions): Promise<ServiceResponse<PointLog[]>>;
|
|
1961
1982
|
}
|
|
@@ -1965,14 +1986,18 @@ declare class ProfileApi extends BaseService {
|
|
|
1965
1986
|
/**
|
|
1966
1987
|
* Retrieves the profile information for the current user.
|
|
1967
1988
|
*
|
|
1989
|
+
* @param options - Optional additional parameters.
|
|
1968
1990
|
* @param requestOptions - Optional request options.
|
|
1969
1991
|
* @returns A promise that resolves to a ServiceResponse containing the profile information.
|
|
1970
1992
|
*/
|
|
1971
|
-
profile(
|
|
1993
|
+
profile(options?: {
|
|
1994
|
+
[key: string]: unknown;
|
|
1995
|
+
}, requestOptions?: RequestOptions): Promise<ServiceResponse<ProfileResponse>>;
|
|
1972
1996
|
/**
|
|
1973
1997
|
* Updates the user profile with the provided parameters.
|
|
1974
1998
|
*
|
|
1975
1999
|
* @param params - The parameters for updating the profile.
|
|
2000
|
+
* @param params.options - Additional options for the request.
|
|
1976
2001
|
* @param requestOptions - The options for the request.
|
|
1977
2002
|
* @returns A promise that resolves to a ServiceResponse containing the updated profile.
|
|
1978
2003
|
*/
|
|
@@ -2030,7 +2055,7 @@ declare class ProfileApi extends BaseService {
|
|
|
2030
2055
|
remark?: string;
|
|
2031
2056
|
displayName?: string;
|
|
2032
2057
|
options?: {
|
|
2033
|
-
[key: string]:
|
|
2058
|
+
[key: string]: unknown;
|
|
2034
2059
|
};
|
|
2035
2060
|
}, requestOptions?: RequestOptions): Promise<ServiceResponse<ProfileResponse>>;
|
|
2036
2061
|
/**
|
|
@@ -2047,7 +2072,7 @@ declare class ProfileApi extends BaseService {
|
|
|
2047
2072
|
current: string;
|
|
2048
2073
|
change: string;
|
|
2049
2074
|
options?: {
|
|
2050
|
-
[key: string]:
|
|
2075
|
+
[key: string]: unknown;
|
|
2051
2076
|
};
|
|
2052
2077
|
}, requestOptions?: RequestOptions): Promise<ServiceResponse<StatusResponse>>;
|
|
2053
2078
|
/**
|
|
@@ -2070,9 +2095,9 @@ declare class ProfileApi extends BaseService {
|
|
|
2070
2095
|
shippingSubFDistrictName?: string;
|
|
2071
2096
|
shippingContactNumber?: string;
|
|
2072
2097
|
options?: {
|
|
2073
|
-
[key: string]:
|
|
2098
|
+
[key: string]: unknown;
|
|
2074
2099
|
};
|
|
2075
|
-
}, requestOptions?: RequestOptions): Promise<ServiceResponse<
|
|
2100
|
+
}, requestOptions?: RequestOptions): Promise<ServiceResponse<unknown>>;
|
|
2076
2101
|
/**
|
|
2077
2102
|
* Changes the contact number of the user.
|
|
2078
2103
|
*
|
|
@@ -2091,7 +2116,7 @@ declare class ProfileApi extends BaseService {
|
|
|
2091
2116
|
refCode: string;
|
|
2092
2117
|
idCard?: string;
|
|
2093
2118
|
options?: {
|
|
2094
|
-
[key: string]:
|
|
2119
|
+
[key: string]: unknown;
|
|
2095
2120
|
};
|
|
2096
2121
|
}, requestOptions?: RequestOptions): Promise<ServiceResponse<ConfirmOtpResponse>>;
|
|
2097
2122
|
/**
|
|
@@ -2110,30 +2135,39 @@ declare class ProfileApi extends BaseService {
|
|
|
2110
2135
|
otp: string;
|
|
2111
2136
|
refCode: string;
|
|
2112
2137
|
options?: {
|
|
2113
|
-
[key: string]:
|
|
2138
|
+
[key: string]: unknown;
|
|
2114
2139
|
};
|
|
2115
2140
|
}, requestOptions?: RequestOptions): Promise<ServiceResponse<any>>;
|
|
2116
2141
|
/**
|
|
2117
2142
|
* Retrieves the updated points for the current user's profile.
|
|
2118
2143
|
*
|
|
2144
|
+
* @param options - Optional additional parameters.
|
|
2119
2145
|
* @param requestOptions - Optional request options.
|
|
2120
2146
|
* @returns A promise that resolves to a ServiceResponse containing the updated points.
|
|
2121
2147
|
*/
|
|
2122
|
-
points(
|
|
2148
|
+
points(options?: {
|
|
2149
|
+
[key: string]: unknown;
|
|
2150
|
+
}, requestOptions?: RequestOptions): Promise<ServiceResponse<UpdatedPoints>>;
|
|
2123
2151
|
/**
|
|
2124
2152
|
* Retrieves the expiring points for the current user's profile.
|
|
2125
2153
|
*
|
|
2154
|
+
* @param options - Optional additional parameters.
|
|
2126
2155
|
* @param requestOptions - Optional request options.
|
|
2127
2156
|
* @returns A promise that resolves to a ServiceResponse containing the expiring points.
|
|
2128
2157
|
*/
|
|
2129
|
-
expiringPoints(
|
|
2158
|
+
expiringPoints(options?: {
|
|
2159
|
+
[key: string]: unknown;
|
|
2160
|
+
}, requestOptions?: RequestOptions): Promise<ServiceResponse<ExpiringPoints>>;
|
|
2130
2161
|
/**
|
|
2131
2162
|
* Deactivates the user's profile.
|
|
2132
2163
|
*
|
|
2164
|
+
* @param options - Optional additional parameters.
|
|
2133
2165
|
* @param requestOptions - Optional request options.
|
|
2134
2166
|
* @returns A promise that resolves to a ServiceResponse containing the result of the deactivation.
|
|
2135
2167
|
*/
|
|
2136
|
-
deactivate(
|
|
2168
|
+
deactivate(options?: {
|
|
2169
|
+
[key: string]: unknown;
|
|
2170
|
+
}, requestOptions?: RequestOptions): Promise<ServiceResponse<unknown>>;
|
|
2137
2171
|
}
|
|
2138
2172
|
|
|
2139
2173
|
declare class RegistrationApi extends BaseService {
|
|
@@ -2176,7 +2210,7 @@ declare class RegistrationApi extends BaseService {
|
|
|
2176
2210
|
lineMarketing?: string;
|
|
2177
2211
|
phoneMarketing?: string;
|
|
2178
2212
|
options: {
|
|
2179
|
-
[key: string]:
|
|
2213
|
+
[key: string]: unknown;
|
|
2180
2214
|
};
|
|
2181
2215
|
}, requestOptions?: RequestOptions): Promise<ServiceResponse<RegistrationResponse>>;
|
|
2182
2216
|
}
|
|
@@ -2186,53 +2220,72 @@ declare class AddressApi extends BaseService {
|
|
|
2186
2220
|
/**
|
|
2187
2221
|
* Get information of zip code
|
|
2188
2222
|
*
|
|
2189
|
-
* @param zipCode - Zip code
|
|
2223
|
+
* @param params.zipCode - Zip code
|
|
2224
|
+
* @param params.options - Optional additional parameters
|
|
2190
2225
|
* @param requestOptions - Optional request options
|
|
2191
2226
|
* @returns A promise that resolves to a service response containing an array of ZipCode objects
|
|
2192
2227
|
*/
|
|
2193
2228
|
zipCodes(params: {
|
|
2194
2229
|
zipCode?: string;
|
|
2230
|
+
options?: {
|
|
2231
|
+
[key: string]: unknown;
|
|
2232
|
+
};
|
|
2195
2233
|
}, requestOptions?: RequestOptions): Promise<ServiceResponse<ZipCode[]>>;
|
|
2196
2234
|
/**
|
|
2197
2235
|
* Get list of Thailand province
|
|
2198
2236
|
*
|
|
2237
|
+
* @param options - Optional additional parameters
|
|
2199
2238
|
* @param requestOptions - Optional request options
|
|
2200
|
-
* @returns A promise that resolves to a service response containing an array of
|
|
2239
|
+
* @returns A promise that resolves to a service response containing an array of Province objects
|
|
2201
2240
|
*/
|
|
2202
|
-
provinces(
|
|
2241
|
+
provinces(options?: {
|
|
2242
|
+
[key: string]: unknown;
|
|
2243
|
+
}, requestOptions?: RequestOptions): Promise<ServiceResponse<Province[]>>;
|
|
2203
2244
|
/**
|
|
2204
2245
|
* Get list of Thailand district
|
|
2205
2246
|
*
|
|
2206
|
-
* @param provinceCode - Province code
|
|
2247
|
+
* @param params.provinceCode - Province code
|
|
2248
|
+
* @param params.options - Optional additional parameters
|
|
2207
2249
|
* @param requestOptions - Optional request options
|
|
2208
|
-
* @returns A promise that resolves to a service response containing an array of
|
|
2250
|
+
* @returns A promise that resolves to a service response containing an array of District objects
|
|
2209
2251
|
*/
|
|
2210
2252
|
districts(params: {
|
|
2211
2253
|
provinceCode?: string;
|
|
2254
|
+
options?: {
|
|
2255
|
+
[key: string]: unknown;
|
|
2256
|
+
};
|
|
2212
2257
|
}, requestOptions?: RequestOptions): Promise<ServiceResponse<District[]>>;
|
|
2213
2258
|
/**
|
|
2214
2259
|
* Get list of Thailand sub district
|
|
2215
2260
|
*
|
|
2216
|
-
* @param provinceCode - Province code
|
|
2217
|
-
* @param districtCode - District code
|
|
2261
|
+
* @param params.provinceCode - Province code
|
|
2262
|
+
* @param params.districtCode - District code
|
|
2263
|
+
* @param params.options - Optional additional parameters
|
|
2218
2264
|
* @param requestOptions - Optional request options
|
|
2219
|
-
* @returns A promise that resolves to a service response containing an array of
|
|
2265
|
+
* @returns A promise that resolves to a service response containing an array of SubDistrict objects
|
|
2220
2266
|
*/
|
|
2221
2267
|
subDistricts(params: {
|
|
2222
2268
|
provinceCode?: string;
|
|
2223
2269
|
districtCode?: string;
|
|
2270
|
+
options?: {
|
|
2271
|
+
[key: string]: unknown;
|
|
2272
|
+
};
|
|
2224
2273
|
}, requestOptions?: RequestOptions): Promise<ServiceResponse<SubDistrict[]>>;
|
|
2225
2274
|
/**
|
|
2226
2275
|
* Get user addresses
|
|
2227
2276
|
*
|
|
2277
|
+
* @param options - Optional additional parameters
|
|
2228
2278
|
* @param requestOptions - Optional request options
|
|
2229
2279
|
* @returns A promise that resolves to a service response containing an array of Address objects
|
|
2230
2280
|
*/
|
|
2231
|
-
userAddresses(
|
|
2281
|
+
userAddresses(options?: {
|
|
2282
|
+
[key: string]: unknown;
|
|
2283
|
+
}, requestOptions?: RequestOptions): Promise<ServiceResponse<Address[]>>;
|
|
2232
2284
|
/**
|
|
2233
2285
|
* Update user address
|
|
2234
2286
|
*
|
|
2235
2287
|
* @param params - The parameters for updating the address
|
|
2288
|
+
* @param params.options - Optional additional parameters
|
|
2236
2289
|
* @param requestOptions - Optional request options
|
|
2237
2290
|
* @returns A promise that resolves to a service response containing the updated Address object
|
|
2238
2291
|
*/
|
|
@@ -2253,28 +2306,39 @@ declare class AddressApi extends BaseService {
|
|
|
2253
2306
|
countryName?: string;
|
|
2254
2307
|
isDefault?: boolean;
|
|
2255
2308
|
rowKey?: string;
|
|
2309
|
+
options?: {
|
|
2310
|
+
[key: string]: unknown;
|
|
2311
|
+
};
|
|
2256
2312
|
}, requestOptions?: RequestOptions): Promise<ServiceResponse<Address>>;
|
|
2257
2313
|
/**
|
|
2258
2314
|
* Delete user address
|
|
2259
2315
|
*
|
|
2260
|
-
* @param rowKey - Row key
|
|
2316
|
+
* @param params.rowKey - Row key
|
|
2317
|
+
* @param params.options - Optional additional parameters
|
|
2261
2318
|
* @param requestOptions - Optional request options
|
|
2262
2319
|
* @returns A promise that resolves to a service response containing the result of the deletion
|
|
2263
2320
|
*/
|
|
2264
2321
|
deleteAddress(params: {
|
|
2265
2322
|
rowKey?: string;
|
|
2266
|
-
|
|
2323
|
+
options?: {
|
|
2324
|
+
[key: string]: unknown;
|
|
2325
|
+
};
|
|
2326
|
+
}, requestOptions?: RequestOptions): Promise<ServiceResponse<unknown>>;
|
|
2267
2327
|
/**
|
|
2268
2328
|
* Get user tax addresses
|
|
2269
2329
|
*
|
|
2330
|
+
* @param options - Optional additional parameters
|
|
2270
2331
|
* @param requestOptions - Optional request options
|
|
2271
2332
|
* @returns A promise that resolves to a service response containing an array of Address objects
|
|
2272
2333
|
*/
|
|
2273
|
-
userTaxAddresses(
|
|
2334
|
+
userTaxAddresses(options?: {
|
|
2335
|
+
[key: string]: unknown;
|
|
2336
|
+
}, requestOptions?: RequestOptions): Promise<ServiceResponse<Address[]>>;
|
|
2274
2337
|
/**
|
|
2275
2338
|
* Update user tax address
|
|
2276
2339
|
*
|
|
2277
2340
|
* @param params - The parameters for updating the tax address
|
|
2341
|
+
* @param params.options - Optional additional parameters
|
|
2278
2342
|
* @param requestOptions - Optional request options
|
|
2279
2343
|
* @returns A promise that resolves to a service response containing the updated Address object
|
|
2280
2344
|
*/
|
|
@@ -2305,17 +2369,24 @@ declare class AddressApi extends BaseService {
|
|
|
2305
2369
|
subDistrictCode?: string;
|
|
2306
2370
|
subDistrictName?: string;
|
|
2307
2371
|
zipCode?: string;
|
|
2372
|
+
options?: {
|
|
2373
|
+
[key: string]: unknown;
|
|
2374
|
+
};
|
|
2308
2375
|
}, requestOptions?: RequestOptions): Promise<ServiceResponse<Address>>;
|
|
2309
2376
|
/**
|
|
2310
2377
|
* Delete user tax address
|
|
2311
2378
|
*
|
|
2312
|
-
* @param rowKey - Row key
|
|
2379
|
+
* @param params.rowKey - Row key
|
|
2380
|
+
* @param params.options - Optional additional parameters
|
|
2313
2381
|
* @param requestOptions - Optional request options
|
|
2314
2382
|
* @returns A promise that resolves to a service response containing the result of the deletion
|
|
2315
2383
|
*/
|
|
2316
2384
|
deleteTaxAddress(params: {
|
|
2317
2385
|
rowKey?: string;
|
|
2318
|
-
|
|
2386
|
+
options?: {
|
|
2387
|
+
[key: string]: unknown;
|
|
2388
|
+
};
|
|
2389
|
+
}, requestOptions?: RequestOptions): Promise<ServiceResponse<unknown>>;
|
|
2319
2390
|
}
|
|
2320
2391
|
|
|
2321
2392
|
declare class StampApi extends BaseService {
|
|
@@ -2324,6 +2395,11 @@ declare class StampApi extends BaseService {
|
|
|
2324
2395
|
* Create stamp
|
|
2325
2396
|
*
|
|
2326
2397
|
* @param params - The parameters for creating the stamp
|
|
2398
|
+
* @param params.imei - The IMEI
|
|
2399
|
+
* @param params.issuer - The issuer
|
|
2400
|
+
* @param params.os - The operating system
|
|
2401
|
+
* @param params.platform - The platform
|
|
2402
|
+
* @param params.options - Additional options for the request
|
|
2327
2403
|
* @param requestOptions - Optional request options
|
|
2328
2404
|
* @returns A promise that resolves to a service response containing the created stamp response
|
|
2329
2405
|
*/
|
|
@@ -2332,34 +2408,48 @@ declare class StampApi extends BaseService {
|
|
|
2332
2408
|
issuer?: string;
|
|
2333
2409
|
os?: string;
|
|
2334
2410
|
platform?: string;
|
|
2411
|
+
options?: {
|
|
2412
|
+
[key: string]: unknown;
|
|
2413
|
+
};
|
|
2335
2414
|
}, requestOptions?: RequestOptions): Promise<ServiceResponse<CreateStampResponse>>;
|
|
2336
2415
|
/**
|
|
2337
2416
|
* Get list of stamps
|
|
2338
2417
|
*
|
|
2418
|
+
* @param options - Additional options for the request
|
|
2339
2419
|
* @param requestOptions - Optional request options
|
|
2340
2420
|
* @returns A promise that resolves to a service response containing an array of stamps
|
|
2341
2421
|
*/
|
|
2342
|
-
stamps(
|
|
2422
|
+
stamps(options: {
|
|
2423
|
+
[key: string]: unknown;
|
|
2424
|
+
}, requestOptions?: RequestOptions): Promise<ServiceResponse<Stamp[]>>;
|
|
2343
2425
|
/**
|
|
2344
2426
|
* Get stamp info
|
|
2345
2427
|
*
|
|
2346
2428
|
* @param id - Stamp id
|
|
2347
2429
|
* @param cardId - Card Id
|
|
2430
|
+
* @param options - Additional options for the request
|
|
2348
2431
|
* @param requestOptions - Optional request options
|
|
2349
2432
|
* @returns A promise that resolves to a service response containing the stamp profile response
|
|
2350
2433
|
*/
|
|
2351
2434
|
stampProfile(params: {
|
|
2352
2435
|
id: string;
|
|
2353
2436
|
cardId: string;
|
|
2437
|
+
options?: {
|
|
2438
|
+
[key: string]: unknown;
|
|
2439
|
+
};
|
|
2354
2440
|
}, requestOptions?: RequestOptions): Promise<ServiceResponse<StampProfileResponse>>;
|
|
2355
2441
|
}
|
|
2356
2442
|
|
|
2357
|
-
declare class
|
|
2443
|
+
declare class RequestHelpApi extends BaseService {
|
|
2358
2444
|
constructor(client: AxiosInstance, baseUrl: string);
|
|
2359
2445
|
/**
|
|
2360
2446
|
* Get help code
|
|
2361
2447
|
*
|
|
2362
2448
|
* @param params - The parameters for getting the help code
|
|
2449
|
+
* @param params.os - The operating system
|
|
2450
|
+
* @param params.platform - The platform
|
|
2451
|
+
* @param params.clientVersion - The client version
|
|
2452
|
+
* @param params.options - Additional options for the request
|
|
2363
2453
|
* @param requestOptions - Optional request options
|
|
2364
2454
|
* @returns A promise that resolves to a service response containing the help code
|
|
2365
2455
|
*/
|
|
@@ -2367,31 +2457,48 @@ declare class ForumApi extends BaseService {
|
|
|
2367
2457
|
os: string;
|
|
2368
2458
|
platform: string;
|
|
2369
2459
|
clientVersion: string;
|
|
2460
|
+
options?: {
|
|
2461
|
+
[key: string]: unknown;
|
|
2462
|
+
};
|
|
2370
2463
|
}, requestOptions?: RequestOptions): Promise<ServiceResponse<RequestHelpCode>>;
|
|
2371
2464
|
/**
|
|
2372
2465
|
* Get request help list
|
|
2373
2466
|
*
|
|
2374
2467
|
* @param params - The parameters for getting the request help list
|
|
2468
|
+
* @param params.requestId - The request ID
|
|
2469
|
+
* @param params.options - Additional options for the request
|
|
2375
2470
|
* @param requestOptions - Optional request options
|
|
2376
2471
|
* @returns A promise that resolves to a service response containing a list of chat messages
|
|
2377
2472
|
*/
|
|
2378
2473
|
requestHelpList(params: {
|
|
2379
2474
|
requestId: string;
|
|
2475
|
+
options?: {
|
|
2476
|
+
[key: string]: unknown;
|
|
2477
|
+
};
|
|
2380
2478
|
}, requestOptions?: RequestOptions): Promise<ServiceResponse<ChatMessage[]>>;
|
|
2381
2479
|
/**
|
|
2382
2480
|
* Get request help detail
|
|
2383
2481
|
*
|
|
2384
2482
|
* @param params - The parameters for getting the request help detail
|
|
2483
|
+
* @param params.buzzKey - The buzz key
|
|
2484
|
+
* @param params.options - Additional options for the request
|
|
2385
2485
|
* @param requestOptions - Optional request options
|
|
2386
2486
|
* @returns A promise that resolves to a service response containing a chat message
|
|
2387
2487
|
*/
|
|
2388
2488
|
requestDetail(params: {
|
|
2389
2489
|
buzzKey: string;
|
|
2490
|
+
options?: {
|
|
2491
|
+
[key: string]: unknown;
|
|
2492
|
+
};
|
|
2390
2493
|
}, requestOptions?: RequestOptions): Promise<ServiceResponse<ChatMessage>>;
|
|
2391
2494
|
/**
|
|
2392
2495
|
* Create request help
|
|
2393
2496
|
*
|
|
2394
2497
|
* @param params - The parameters for creating the request help
|
|
2498
|
+
* @param params.requestId - The request ID
|
|
2499
|
+
* @param params.message - The message
|
|
2500
|
+
* @param params.image - The image
|
|
2501
|
+
* @param params.options - Additional options for the request
|
|
2395
2502
|
* @param requestOptions - Optional request options
|
|
2396
2503
|
* @returns A promise that resolves to a service response containing a chat message
|
|
2397
2504
|
*/
|
|
@@ -2399,22 +2506,35 @@ declare class ForumApi extends BaseService {
|
|
|
2399
2506
|
requestId: string;
|
|
2400
2507
|
message: string;
|
|
2401
2508
|
image?: File;
|
|
2509
|
+
options?: {
|
|
2510
|
+
[key: string]: unknown;
|
|
2511
|
+
};
|
|
2402
2512
|
}, requestOptions?: RequestOptions): Promise<ServiceResponse<ChatMessage>>;
|
|
2403
2513
|
/**
|
|
2404
2514
|
* Get comment list
|
|
2405
2515
|
*
|
|
2406
2516
|
* @param params - The parameters for getting the comment list
|
|
2517
|
+
* @param params.buzzKey - The buzz key
|
|
2518
|
+
* @param params.lastRowKey - The last row key
|
|
2519
|
+
* @param params.options - Additional options for the request
|
|
2407
2520
|
* @param requestOptions - Optional request options
|
|
2408
2521
|
* @returns A promise that resolves to a service response containing a list of chat messages
|
|
2409
2522
|
*/
|
|
2410
2523
|
comments(params: {
|
|
2411
2524
|
buzzKey: string;
|
|
2412
2525
|
lastRowKey?: string;
|
|
2526
|
+
options?: {
|
|
2527
|
+
[key: string]: unknown;
|
|
2528
|
+
};
|
|
2413
2529
|
}, requestOptions?: RequestOptions): Promise<ServiceResponse<ChatMessage[]>>;
|
|
2414
2530
|
/**
|
|
2415
2531
|
* Create comment
|
|
2416
2532
|
*
|
|
2417
2533
|
* @param params - The parameters for creating the comment
|
|
2534
|
+
* @param params.buzzKey - The buzz key
|
|
2535
|
+
* @param params.message - The message
|
|
2536
|
+
* @param params.image - The image
|
|
2537
|
+
* @param params.options - Additional options for the request
|
|
2418
2538
|
* @param requestOptions - Optional request options
|
|
2419
2539
|
* @returns A promise that resolves to a service response containing a chat message
|
|
2420
2540
|
*/
|
|
@@ -2422,26 +2542,37 @@ declare class ForumApi extends BaseService {
|
|
|
2422
2542
|
buzzKey: string;
|
|
2423
2543
|
message: string;
|
|
2424
2544
|
image?: File;
|
|
2545
|
+
options?: {
|
|
2546
|
+
[key: string]: unknown;
|
|
2547
|
+
};
|
|
2425
2548
|
}, requestOptions?: RequestOptions): Promise<ServiceResponse<ChatMessage>>;
|
|
2426
2549
|
/**
|
|
2427
|
-
* Like
|
|
2550
|
+
* Like post
|
|
2428
2551
|
*
|
|
2429
|
-
* @param params - The parameters for liking the
|
|
2552
|
+
* @param params - The parameters for liking the post
|
|
2553
|
+
* @param params.buzzKey - The buzz key
|
|
2554
|
+
* @param params.options - Additional options for the request
|
|
2430
2555
|
* @param requestOptions - Optional request options
|
|
2431
2556
|
* @returns A promise that resolves to a service response containing the like forum response
|
|
2432
2557
|
*/
|
|
2433
|
-
|
|
2558
|
+
like(params: {
|
|
2434
2559
|
buzzKey: string;
|
|
2560
|
+
options?: {
|
|
2561
|
+
[key: string]: unknown;
|
|
2562
|
+
};
|
|
2435
2563
|
}, requestOptions?: RequestOptions): Promise<ServiceResponse<LikeForumResponse>>;
|
|
2436
2564
|
/**
|
|
2437
|
-
* Unlike
|
|
2565
|
+
* Unlike post
|
|
2438
2566
|
*
|
|
2439
|
-
* @param params - The parameters for unliking the
|
|
2567
|
+
* @param params - The parameters for unliking the post
|
|
2440
2568
|
* @param requestOptions - Optional request options
|
|
2441
2569
|
* @returns A promise that resolves to a service response containing the like forum response
|
|
2442
2570
|
*/
|
|
2443
|
-
|
|
2571
|
+
unlike(params: {
|
|
2444
2572
|
buzzKey: string;
|
|
2573
|
+
options?: {
|
|
2574
|
+
[key: string]: string;
|
|
2575
|
+
};
|
|
2445
2576
|
}, requestOptions?: RequestOptions): Promise<ServiceResponse<LikeForumResponse>>;
|
|
2446
2577
|
}
|
|
2447
2578
|
|
|
@@ -2466,8 +2597,8 @@ declare class BzbsService {
|
|
|
2466
2597
|
registerApi: RegistrationApi;
|
|
2467
2598
|
addressApi: AddressApi;
|
|
2468
2599
|
stampApi: StampApi;
|
|
2469
|
-
forumApi:
|
|
2600
|
+
forumApi: RequestHelpApi;
|
|
2470
2601
|
constructor(client: AxiosInstance, baseUrl: string, baseLineUrl: string);
|
|
2471
2602
|
}
|
|
2472
2603
|
|
|
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,
|
|
2604
|
+
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 };
|