@gofynd/fdk-client-javascript 1.4.2-beta.7 → 1.4.3
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/README.md +1 -1
- package/package.json +5 -3
- package/sdk/application/ApplicationAPIClient.d.ts +1 -1
- package/sdk/application/ApplicationAPIClient.js +0 -1
- package/sdk/application/Cart/CartApplicationClient.d.ts +25 -25
- package/sdk/application/Cart/CartApplicationClient.js +25 -25
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +40 -40
- package/sdk/application/Catalog/CatalogApplicationClient.js +40 -40
- package/sdk/application/Common/CommonApplicationClient.d.ts +2 -2
- package/sdk/application/Common/CommonApplicationClient.js +2 -2
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +3 -3
- package/sdk/application/Communication/CommunicationApplicationClient.js +3 -3
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +16 -16
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +16 -16
- package/sdk/application/Content/ContentApplicationClient.d.ts +10 -10
- package/sdk/application/Content/ContentApplicationClient.js +10 -10
- package/sdk/application/Content/ContentApplicationModel.d.ts +18 -18
- package/sdk/application/Content/ContentApplicationModel.js +26 -26
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +2 -2
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +12 -6
- package/sdk/application/Lead/LeadApplicationClient.d.ts +7 -7
- package/sdk/application/Lead/LeadApplicationClient.js +7 -7
- package/sdk/application/Lead/LeadApplicationModel.d.ts +64 -77
- package/sdk/application/Lead/LeadApplicationModel.js +42 -52
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +9 -9
- package/sdk/application/Logistic/LogisticApplicationClient.js +9 -9
- package/sdk/application/Order/OrderApplicationClient.d.ts +12 -12
- package/sdk/application/Order/OrderApplicationClient.js +12 -12
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +47 -47
- package/sdk/application/Payment/PaymentApplicationClient.js +52 -52
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +5 -2
- package/sdk/application/Payment/PaymentApplicationModel.js +4 -2
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +5 -5
- package/sdk/application/Payment/PaymentApplicationValidator.js +3 -3
- package/sdk/application/PosCart/PosCartApplicationClient.d.ts +27 -27
- package/sdk/application/PosCart/PosCartApplicationClient.js +27 -27
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +6 -6
- package/sdk/application/Rewards/RewardsApplicationClient.js +6 -6
- package/sdk/application/Share/ShareApplicationClient.d.ts +7 -7
- package/sdk/application/Share/ShareApplicationClient.js +7 -7
- package/sdk/application/Share/ShareApplicationModel.d.ts +2 -0
- package/sdk/application/Share/ShareApplicationModel.js +2 -0
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +4 -4
- package/sdk/application/Theme/ThemeApplicationClient.js +4 -4
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +25 -32
- package/sdk/application/Theme/ThemeApplicationModel.js +30 -40
- package/sdk/application/User/UserApplicationClient.d.ts +28 -28
- package/sdk/application/User/UserApplicationClient.js +28 -28
- package/sdk/application/User/UserApplicationModel.d.ts +44 -13
- package/sdk/application/User/UserApplicationModel.js +17 -13
- package/sdk/common/AxiosHelper.d.ts +1 -1
- package/sdk/common/AxiosHelper.js +38 -17
- package/sdk/common/Clickstream.js +22 -16
- package/sdk/common/curlHelper.js +1 -3
- package/sdk/common/utils.d.ts +15 -0
- package/sdk/common/utils.js +30 -0
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +2 -2
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +2 -2
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +1 -1
- package/sdk/partner/Lead/LeadPartnerClient.js +1 -1
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +4 -4
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +4 -4
- package/sdk/partner/OAuthClient.d.ts +3 -3
- package/sdk/partner/PartnerAPIClient.d.ts +1 -1
- package/sdk/partner/PartnerAPIClient.js +0 -1
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +19 -19
- package/sdk/partner/Theme/ThemePartnerClient.js +19 -19
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +25 -32
- package/sdk/partner/Theme/ThemePartnerModel.js +30 -40
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +2 -2
- package/sdk/partner/Webhook/WebhookPartnerClient.js +2 -2
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +4 -4
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +4 -4
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +17 -17
- package/sdk/platform/Billing/BillingPlatformClient.js +17 -17
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +49 -49
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +49 -49
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +60 -60
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +62 -62
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +87 -87
- package/sdk/platform/Catalog/CatalogPlatformClient.js +87 -87
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +65 -28
- package/sdk/platform/Catalog/CatalogPlatformModel.js +68 -36
- package/sdk/platform/Common/CommonPlatformClient.d.ts +2 -2
- package/sdk/platform/Common/CommonPlatformClient.js +2 -2
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +58 -58
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +58 -58
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +1 -1
- package/sdk/platform/Communication/CommunicationPlatformClient.js +1 -1
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +12 -0
- package/sdk/platform/Communication/CommunicationPlatformModel.js +12 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +16 -16
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +16 -16
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +2 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +2 -0
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +32 -32
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +32 -32
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +18 -18
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +57 -57
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +63 -63
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +4 -4
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +4 -4
- package/sdk/platform/Content/ContentPlatformClient.d.ts +3 -3
- package/sdk/platform/Content/ContentPlatformClient.js +9 -9
- package/sdk/platform/Content/ContentPlatformModel.d.ts +18 -18
- package/sdk/platform/Content/ContentPlatformModel.js +26 -26
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +4 -4
- package/sdk/platform/Content/ContentPlatformValidator.js +4 -4
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +11 -11
- package/sdk/platform/Discount/DiscountPlatformClient.js +11 -11
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +9 -9
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +19 -13
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +8 -8
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +23 -14
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +12 -1
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +14 -0
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +27 -27
- package/sdk/platform/Finance/FinancePlatformClient.js +27 -27
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +6 -6
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +6 -6
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +11 -11
- package/sdk/platform/Lead/LeadPlatformClient.js +11 -11
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +62 -77
- package/sdk/platform/Lead/LeadPlatformModel.js +40 -52
- package/sdk/platform/OAuthClient.d.ts +3 -3
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +2 -2
- package/sdk/platform/Order/OrderPlatformClient.d.ts +41 -41
- package/sdk/platform/Order/OrderPlatformClient.js +41 -41
- package/sdk/platform/Order/OrderPlatformModel.d.ts +8 -2
- package/sdk/platform/Order/OrderPlatformModel.js +8 -2
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +2 -2
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +38 -38
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +38 -38
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +10 -10
- package/sdk/platform/Payment/PaymentPlatformClient.js +10 -10
- package/sdk/platform/PlatformAPIClient.d.ts +1 -1
- package/sdk/platform/PlatformAPIClient.js +0 -1
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +12 -12
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +12 -12
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +9 -9
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +9 -9
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +15 -15
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +15 -15
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +2 -2
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +4 -2
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +5 -5
- package/sdk/platform/Share/SharePlatformApplicationClient.js +5 -5
- package/sdk/platform/Share/SharePlatformModel.d.ts +2 -0
- package/sdk/platform/Share/SharePlatformModel.js +2 -0
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +28 -28
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +28 -28
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +3 -3
- package/sdk/platform/Theme/ThemePlatformClient.js +3 -3
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +25 -32
- package/sdk/platform/Theme/ThemePlatformModel.js +30 -40
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +16 -16
- package/sdk/platform/User/UserPlatformApplicationClient.js +16 -16
- package/sdk/platform/User/UserPlatformModel.d.ts +48 -13
- package/sdk/platform/User/UserPlatformModel.js +21 -13
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +16 -16
- package/sdk/platform/Webhook/WebhookPlatformClient.js +16 -16
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +2 -2
- package/sdk/platform/Webhook/WebhookPlatformModel.js +1 -1
- package/sdk/public/Billing/BillingPublicClient.d.ts +1 -1
- package/sdk/public/Billing/BillingPublicClient.js +4 -4
- package/sdk/public/Billing/BillingPublicValidator.d.ts +2 -2
- package/sdk/public/Billing/BillingPublicValidator.js +2 -2
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +1 -1
- package/sdk/public/Configuration/ConfigurationPublicClient.js +1 -1
- package/sdk/public/Content/ContentPublicValidator.d.ts +2 -2
- package/sdk/public/Content/ContentPublicValidator.js +3 -3
- package/sdk/public/Inventory/InventoryPublicModel.d.ts +8 -8
- package/sdk/public/Inventory/InventoryPublicModel.js +8 -8
- package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
- package/sdk/public/Partner/PartnerPublicClient.js +1 -1
- package/sdk/public/PublicAPIClient.d.ts +1 -1
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +2 -2
- package/sdk/public/Webhook/WebhookPublicClient.js +2 -2
package/README.md
CHANGED
|
@@ -214,7 +214,7 @@ console.log("Active Theme: ", response.information.name);
|
|
|
214
214
|
The above code will log the curl command in the console
|
|
215
215
|
|
|
216
216
|
```bash
|
|
217
|
-
curl --request GET "https://api.fynd.com/service/application/theme/v1.0/applied-theme" --header 'authorization: Bearer <authorization-token>' --header 'x-fp-sdk-version: 1.4.
|
|
217
|
+
curl --request GET "https://api.fynd.com/service/application/theme/v1.0/applied-theme" --header 'authorization: Bearer <authorization-token>' --header 'x-fp-sdk-version: 1.4.3' --header 'x-fp-date: 20230222T115108Z' --header 'x-fp-signature: v1.1:1e3ab3b02b5bc626e3c32a37ee844266ade02bbcbaafc28fc7a0e46a76a7a1a8'
|
|
218
218
|
Active Theme: Emerge
|
|
219
219
|
```
|
|
220
220
|
|
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gofynd/fdk-client-javascript",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "jest --coverage",
|
|
8
|
+
"lint": "eslint",
|
|
8
9
|
"test:standalone": "npm run build && npx cypress run",
|
|
9
10
|
"build": "webpack",
|
|
10
11
|
"prettier": "npx prettier -w ./sdk ./tests && npx tsc"
|
|
@@ -12,19 +13,20 @@
|
|
|
12
13
|
"author": "Jigar Dafda<jigar.dafda@gmail.com>",
|
|
13
14
|
"license": "ISC",
|
|
14
15
|
"dependencies": {
|
|
15
|
-
"axios": "^
|
|
16
|
+
"axios": "^1.6.4",
|
|
16
17
|
"camelcase": "^6.3.0",
|
|
17
18
|
"joi": "^17.7.0",
|
|
18
19
|
"loglevel": "^1.8.1",
|
|
19
20
|
"query-string": "^7.1.3",
|
|
20
21
|
"@gofynd/fp-signature": "^1.0.1",
|
|
21
|
-
"@gofynd/flick": "^1.0.
|
|
22
|
+
"@gofynd/flick": "^1.0.6"
|
|
22
23
|
},
|
|
23
24
|
"devDependencies": {
|
|
24
25
|
"axios-cookiejar-support": "^4.0.6",
|
|
25
26
|
"axios-mock-adapter": "^1.21.2",
|
|
26
27
|
"clean-webpack-plugin": "^4.0.0",
|
|
27
28
|
"coveralls": "^3.1.1",
|
|
29
|
+
"eslint": "^8.57.0",
|
|
28
30
|
"cypress": "^9.2.0",
|
|
29
31
|
"dotenv": "^16.0.3",
|
|
30
32
|
"jest": "^29.5.0",
|
|
@@ -12,7 +12,7 @@ declare class APIClient {
|
|
|
12
12
|
* @param {object} body
|
|
13
13
|
* @param {object} xHeaders
|
|
14
14
|
*/
|
|
15
|
-
static execute(conf: object, method: string, url: string, query: object, body: object, xHeaders: object, options: any): any
|
|
15
|
+
static execute(conf: object, method: string, url: string, query: object, body: object, xHeaders: object, options: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
16
16
|
}
|
|
17
17
|
declare namespace APIClient {
|
|
18
18
|
export { Options };
|
|
@@ -40,7 +40,7 @@ declare class Cart {
|
|
|
40
40
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
41
41
|
* @returns {Promise<CartApplicationModel.SaveAddressResponse>} - Success response
|
|
42
42
|
* @name addAddress
|
|
43
|
-
* @summary: Add new address
|
|
43
|
+
* @summary: Add new address
|
|
44
44
|
* @description: Saves a new address for the user. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/addAddress/).
|
|
45
45
|
*/
|
|
46
46
|
addAddress({ body, requestHeaders }?: CartApplicationValidator.AddAddressParam, { responseHeaders }?: object): Promise<CartApplicationModel.SaveAddressResponse>;
|
|
@@ -50,7 +50,7 @@ declare class Cart {
|
|
|
50
50
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
51
51
|
* @returns {Promise<CartApplicationModel.AddCartDetailResponse>} - Success response
|
|
52
52
|
* @name addItems
|
|
53
|
-
* @summary: Add to cart
|
|
53
|
+
* @summary: Add to cart
|
|
54
54
|
* @description: Adds selected items to the shopping cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/addItems/).
|
|
55
55
|
*/
|
|
56
56
|
addItems({ body, i, b, areaCode, buyNow, id, requestHeaders }?: CartApplicationValidator.AddItemsParam, { responseHeaders }?: object): Promise<CartApplicationModel.AddCartDetailResponse>;
|
|
@@ -60,7 +60,7 @@ declare class Cart {
|
|
|
60
60
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
61
61
|
* @returns {Promise<CartApplicationModel.CartDetailResponse>} - Success response
|
|
62
62
|
* @name applyCoupon
|
|
63
|
-
* @summary: Apply coupon
|
|
63
|
+
* @summary: Apply coupon
|
|
64
64
|
* @description: Applies a coupon code to get discounts on cart items. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/applyCoupon/).
|
|
65
65
|
*/
|
|
66
66
|
applyCoupon({ body, i, b, p, id, buyNow, cartType, requestHeaders }?: CartApplicationValidator.ApplyCouponParam, { responseHeaders }?: object): Promise<CartApplicationModel.CartDetailResponse>;
|
|
@@ -70,7 +70,7 @@ declare class Cart {
|
|
|
70
70
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
71
71
|
* @returns {Promise<CartApplicationModel.CartDetailResponse>} - Success response
|
|
72
72
|
* @name applyRewardPoints
|
|
73
|
-
* @summary: Use reward points
|
|
73
|
+
* @summary: Use reward points
|
|
74
74
|
* @description: Applies user’s reward points to the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/applyRewardPoints/).
|
|
75
75
|
*/
|
|
76
76
|
applyRewardPoints({ body, id, i, b, buyNow, requestHeaders }?: CartApplicationValidator.ApplyRewardPointsParam, { responseHeaders }?: object): Promise<CartApplicationModel.CartDetailResponse>;
|
|
@@ -80,7 +80,7 @@ declare class Cart {
|
|
|
80
80
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
81
81
|
* @returns {Promise<CartApplicationModel.CartCheckoutResponse>} - Success response
|
|
82
82
|
* @name checkoutCart
|
|
83
|
-
* @summary: Checkout cart
|
|
83
|
+
* @summary: Checkout cart
|
|
84
84
|
* @description: Initiates the checkout process for the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/checkoutCart/).
|
|
85
85
|
*/
|
|
86
86
|
checkoutCart({ body, buyNow, cartType, requestHeaders }?: CartApplicationValidator.CheckoutCartParam, { responseHeaders }?: object): Promise<CartApplicationModel.CartCheckoutResponse>;
|
|
@@ -111,7 +111,7 @@ declare class Cart {
|
|
|
111
111
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
112
112
|
* @returns {Promise<CartApplicationModel.Address>} - Success response
|
|
113
113
|
* @name getAddressById
|
|
114
|
-
* @summary: Fetch address
|
|
114
|
+
* @summary: Fetch address
|
|
115
115
|
* @description: Retrieves a saved address using its ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getAddressById/).
|
|
116
116
|
*/
|
|
117
117
|
getAddressById({ id, cartId, buyNow, mobileNo, checkoutMode, tags, isDefault, requestHeaders, }?: CartApplicationValidator.GetAddressByIdParam, { responseHeaders }?: object): Promise<CartApplicationModel.Address>;
|
|
@@ -121,7 +121,7 @@ declare class Cart {
|
|
|
121
121
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
122
122
|
* @returns {Promise<CartApplicationModel.GetAddressesResponse>} - Success response
|
|
123
123
|
* @name getAddresses
|
|
124
|
-
* @summary: Get saved addresses
|
|
124
|
+
* @summary: Get saved addresses
|
|
125
125
|
* @description: Retrieve all saved addresses for the user. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getAddresses/).
|
|
126
126
|
*/
|
|
127
127
|
getAddresses({ cartId, buyNow, mobileNo, checkoutMode, tags, isDefault, requestHeaders, }?: CartApplicationValidator.GetAddressesParam, { responseHeaders }?: object): Promise<CartApplicationModel.GetAddressesResponse>;
|
|
@@ -131,7 +131,7 @@ declare class Cart {
|
|
|
131
131
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
132
132
|
* @returns {Promise<CartApplicationModel.BulkPriceResponse>} - Success response
|
|
133
133
|
* @name getBulkDiscountOffers
|
|
134
|
-
* @summary: Bulk discounts
|
|
134
|
+
* @summary: Bulk discounts
|
|
135
135
|
* @description: Lists available bulk discount offers for cart items. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getBulkDiscountOffers/).
|
|
136
136
|
*/
|
|
137
137
|
getBulkDiscountOffers({ itemId, articleId, uid, slug, requestHeaders }?: CartApplicationValidator.GetBulkDiscountOffersParam, { responseHeaders }?: object): Promise<CartApplicationModel.BulkPriceResponse>;
|
|
@@ -141,7 +141,7 @@ declare class Cart {
|
|
|
141
141
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
142
142
|
* @returns {Promise<CartApplicationModel.CartDetailResponse>} - Success response
|
|
143
143
|
* @name getCart
|
|
144
|
-
* @summary: Retrieve cart details
|
|
144
|
+
* @summary: Retrieve cart details
|
|
145
145
|
* @description: Retrieve the current state and items in the shopping cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getCart/).
|
|
146
146
|
*/
|
|
147
147
|
getCart({ id, i, b, c, assignCardId, areaCode, buyNow, requestHeaders }?: CartApplicationValidator.GetCartParam, { responseHeaders }?: object): Promise<CartApplicationModel.CartDetailResponse>;
|
|
@@ -151,7 +151,7 @@ declare class Cart {
|
|
|
151
151
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
152
152
|
* @returns {Promise<any>} - Success response
|
|
153
153
|
* @name getCartLastModified
|
|
154
|
-
* @summary: Cart modification time
|
|
154
|
+
* @summary: Cart modification time
|
|
155
155
|
* @description: Gets the last modified timestamp for the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getCartLastModified/).
|
|
156
156
|
*/
|
|
157
157
|
getCartLastModified({ id, requestHeaders }?: CartApplicationValidator.GetCartLastModifiedParam, { responseHeaders }?: object): Promise<any>;
|
|
@@ -162,7 +162,7 @@ declare class Cart {
|
|
|
162
162
|
* @returns {Promise<CartApplicationModel.GetShareCartLinkResponse>} -
|
|
163
163
|
* Success response
|
|
164
164
|
* @name getCartShareLink
|
|
165
|
-
* @summary: Share cart link
|
|
165
|
+
* @summary: Share cart link
|
|
166
166
|
* @description: Generates a shareable link for the current cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getCartShareLink/).
|
|
167
167
|
*/
|
|
168
168
|
getCartShareLink({ body, requestHeaders }?: CartApplicationValidator.GetCartShareLinkParam, { responseHeaders }?: object): Promise<CartApplicationModel.GetShareCartLinkResponse>;
|
|
@@ -172,7 +172,7 @@ declare class Cart {
|
|
|
172
172
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
173
173
|
* @returns {Promise<CartApplicationModel.SharedCartResponse>} - Success response
|
|
174
174
|
* @name getCartSharedItems
|
|
175
|
-
* @summary: Shared cart items
|
|
175
|
+
* @summary: Shared cart items
|
|
176
176
|
* @description: Retrieves items from a shared cart link. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getCartSharedItems/).
|
|
177
177
|
*/
|
|
178
178
|
getCartSharedItems({ token, requestHeaders }?: CartApplicationValidator.GetCartSharedItemsParam, { responseHeaders }?: object): Promise<CartApplicationModel.SharedCartResponse>;
|
|
@@ -182,7 +182,7 @@ declare class Cart {
|
|
|
182
182
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
183
183
|
* @returns {Promise<CartApplicationModel.GetCouponResponse>} - Success response
|
|
184
184
|
* @name getCoupons
|
|
185
|
-
* @summary: List available coupons
|
|
185
|
+
* @summary: List available coupons
|
|
186
186
|
* @description: Retrieve coupons that can be applied to the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getCoupons/).
|
|
187
187
|
*/
|
|
188
188
|
getCoupons({ id, buyNow, slug, storeId, requestHeaders }?: CartApplicationValidator.GetCouponsParam, { responseHeaders }?: object): Promise<CartApplicationModel.GetCouponResponse>;
|
|
@@ -192,7 +192,7 @@ declare class Cart {
|
|
|
192
192
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
193
193
|
* @returns {Promise<CartApplicationModel.CartItemCountResponse>} - Success response
|
|
194
194
|
* @name getItemCount
|
|
195
|
-
* @summary: Count cart items
|
|
195
|
+
* @summary: Count cart items
|
|
196
196
|
* @description: Gets the total number of items in the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getItemCount/).
|
|
197
197
|
*/
|
|
198
198
|
getItemCount({ id, buyNow, requestHeaders }?: CartApplicationValidator.GetItemCountParam, { responseHeaders }?: object): Promise<CartApplicationModel.CartItemCountResponse>;
|
|
@@ -202,7 +202,7 @@ declare class Cart {
|
|
|
202
202
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
203
203
|
* @returns {Promise<CartApplicationModel.LadderPriceOffers>} - Success response
|
|
204
204
|
* @name getLadderOffers
|
|
205
|
-
* @summary: Fetches ladder offers
|
|
205
|
+
* @summary: Fetches ladder offers
|
|
206
206
|
* @description: Gets tiered discounts based on cart value. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getLadderOffers/).
|
|
207
207
|
*/
|
|
208
208
|
getLadderOffers({ slug, storeId, promotionId, pageSize, requestHeaders }?: CartApplicationValidator.GetLadderOffersParam, { responseHeaders }?: object): Promise<CartApplicationModel.LadderPriceOffers>;
|
|
@@ -222,7 +222,7 @@ declare class Cart {
|
|
|
222
222
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
223
223
|
* @returns {Promise<CartApplicationModel.CartShipmentsResponse>} - Success response
|
|
224
224
|
* @name getShipments
|
|
225
|
-
* @summary: List shipments
|
|
225
|
+
* @summary: List shipments
|
|
226
226
|
* @description: Retrieve shipment details for items in the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getShipments/).
|
|
227
227
|
*/
|
|
228
228
|
getShipments({ p, id, buyNow, addressId, areaCode, orderType, requestHeaders }?: CartApplicationValidator.GetShipmentsParam, { responseHeaders }?: object): Promise<CartApplicationModel.CartShipmentsResponse>;
|
|
@@ -232,7 +232,7 @@ declare class Cart {
|
|
|
232
232
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
233
233
|
* @returns {Promise<CartApplicationModel.DeleteAddressResponse>} - Success response
|
|
234
234
|
* @name removeAddress
|
|
235
|
-
* @summary: Delete address
|
|
235
|
+
* @summary: Delete address
|
|
236
236
|
* @description: Removes a saved address from the user's profile. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/removeAddress/).
|
|
237
237
|
*/
|
|
238
238
|
removeAddress({ id, requestHeaders }?: CartApplicationValidator.RemoveAddressParam, { responseHeaders }?: object): Promise<CartApplicationModel.DeleteAddressResponse>;
|
|
@@ -242,7 +242,7 @@ declare class Cart {
|
|
|
242
242
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
243
243
|
* @returns {Promise<CartApplicationModel.CartDetailResponse>} - Success response
|
|
244
244
|
* @name removeCoupon
|
|
245
|
-
* @summary: Remove coupon
|
|
245
|
+
* @summary: Remove coupon
|
|
246
246
|
* @description: Removes an applied coupon from the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/removeCoupon/).
|
|
247
247
|
*/
|
|
248
248
|
removeCoupon({ id, buyNow, requestHeaders }?: CartApplicationValidator.RemoveCouponParam, { responseHeaders }?: object): Promise<CartApplicationModel.CartDetailResponse>;
|
|
@@ -252,7 +252,7 @@ declare class Cart {
|
|
|
252
252
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
253
253
|
* @returns {Promise<CartApplicationModel.CartDetailResponse>} - Success response
|
|
254
254
|
* @name selectAddress
|
|
255
|
-
* @summary: Choose delivery address
|
|
255
|
+
* @summary: Choose delivery address
|
|
256
256
|
* @description: Selects an address for the cart's delivery. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/selectAddress/).
|
|
257
257
|
*/
|
|
258
258
|
selectAddress({ body, cartId, buyNow, i, b, requestHeaders }?: CartApplicationValidator.SelectAddressParam, { responseHeaders }?: object): Promise<CartApplicationModel.CartDetailResponse>;
|
|
@@ -262,7 +262,7 @@ declare class Cart {
|
|
|
262
262
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
263
263
|
* @returns {Promise<CartApplicationModel.CartDetailResponse>} - Success response
|
|
264
264
|
* @name selectPaymentMode
|
|
265
|
-
* @summary: Pick payment method
|
|
265
|
+
* @summary: Pick payment method
|
|
266
266
|
* @description: Chooses a payment mode for the checkout process. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/selectPaymentMode/).
|
|
267
267
|
*/
|
|
268
268
|
selectPaymentMode({ body, id, buyNow, requestHeaders }?: CartApplicationValidator.SelectPaymentModeParam, { responseHeaders }?: object): Promise<CartApplicationModel.CartDetailResponse>;
|
|
@@ -272,7 +272,7 @@ declare class Cart {
|
|
|
272
272
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
273
273
|
* @returns {Promise<CartApplicationModel.UpdateAddressResponse>} - Success response
|
|
274
274
|
* @name updateAddress
|
|
275
|
-
* @summary: Update address
|
|
275
|
+
* @summary: Update address
|
|
276
276
|
* @description: Modifies a saved address. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/updateAddress/).
|
|
277
277
|
*/
|
|
278
278
|
updateAddress({ id, body, requestHeaders }?: CartApplicationValidator.UpdateAddressParam, { responseHeaders }?: object): Promise<CartApplicationModel.UpdateAddressResponse>;
|
|
@@ -283,7 +283,7 @@ declare class Cart {
|
|
|
283
283
|
* @returns {Promise<CartApplicationModel.UpdateCartDetailResponse>} -
|
|
284
284
|
* Success response
|
|
285
285
|
* @name updateCart
|
|
286
|
-
* @summary: Update cart
|
|
286
|
+
* @summary: Update cart
|
|
287
287
|
* @description: Modifies items and quantities in the existing cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/updateCart/).
|
|
288
288
|
*/
|
|
289
289
|
updateCart({ body, id, i, b, areaCode, buyNow, cartType, requestHeaders }?: CartApplicationValidator.UpdateCartParam, { responseHeaders }?: object): Promise<CartApplicationModel.UpdateCartDetailResponse>;
|
|
@@ -293,7 +293,7 @@ declare class Cart {
|
|
|
293
293
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
294
294
|
* @returns {Promise<CartApplicationModel.CartMetaResponse>} - Success response
|
|
295
295
|
* @name updateCartMeta
|
|
296
|
-
* @summary: Update cart metadata
|
|
296
|
+
* @summary: Update cart metadata
|
|
297
297
|
* @description: Adds or modifies metadata for the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/updateCartMeta/).
|
|
298
298
|
*/
|
|
299
299
|
updateCartMeta({ body, id, buyNow, requestHeaders }?: CartApplicationValidator.UpdateCartMetaParam, { responseHeaders }?: object): Promise<CartApplicationModel.CartMetaResponse>;
|
|
@@ -303,7 +303,7 @@ declare class Cart {
|
|
|
303
303
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
304
304
|
* @returns {Promise<CartApplicationModel.SharedCartResponse>} - Success response
|
|
305
305
|
* @name updateCartWithSharedItems
|
|
306
|
-
* @summary: Update with shared items
|
|
306
|
+
* @summary: Update with shared items
|
|
307
307
|
* @description: Updates the cart with items from a shared link. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/updateCartWithSharedItems/).
|
|
308
308
|
*/
|
|
309
309
|
updateCartWithSharedItems({ token, action, requestHeaders }?: CartApplicationValidator.UpdateCartWithSharedItemsParam, { responseHeaders }?: object): Promise<CartApplicationModel.SharedCartResponse>;
|
|
@@ -313,7 +313,7 @@ declare class Cart {
|
|
|
313
313
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
314
314
|
* @returns {Promise<CartApplicationModel.PaymentCouponValidate>} - Success response
|
|
315
315
|
* @name validateCouponForPayment
|
|
316
|
-
* @summary: Validate coupon
|
|
316
|
+
* @summary: Validate coupon
|
|
317
317
|
* @description: Checks if a coupon is valid for the selected payment mode. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/validateCouponForPayment/).
|
|
318
318
|
*/
|
|
319
319
|
validateCouponForPayment({ id, buyNow, addressId, paymentMode, paymentIdentifier, aggregatorName, merchantCode, iin, network, type, cardId, cartType, requestHeaders, }?: CartApplicationValidator.ValidateCouponForPaymentParam, { responseHeaders }?: object): Promise<CartApplicationModel.PaymentCouponValidate>;
|
|
@@ -67,7 +67,7 @@ class Cart {
|
|
|
67
67
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
68
68
|
* @returns {Promise<CartApplicationModel.SaveAddressResponse>} - Success response
|
|
69
69
|
* @name addAddress
|
|
70
|
-
* @summary: Add new address
|
|
70
|
+
* @summary: Add new address
|
|
71
71
|
* @description: Saves a new address for the user. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/addAddress/).
|
|
72
72
|
*/
|
|
73
73
|
async addAddress(
|
|
@@ -143,7 +143,7 @@ class Cart {
|
|
|
143
143
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
144
144
|
* @returns {Promise<CartApplicationModel.AddCartDetailResponse>} - Success response
|
|
145
145
|
* @name addItems
|
|
146
|
-
* @summary: Add to cart
|
|
146
|
+
* @summary: Add to cart
|
|
147
147
|
* @description: Adds selected items to the shopping cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/addItems/).
|
|
148
148
|
*/
|
|
149
149
|
async addItems(
|
|
@@ -226,7 +226,7 @@ class Cart {
|
|
|
226
226
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
227
227
|
* @returns {Promise<CartApplicationModel.CartDetailResponse>} - Success response
|
|
228
228
|
* @name applyCoupon
|
|
229
|
-
* @summary: Apply coupon
|
|
229
|
+
* @summary: Apply coupon
|
|
230
230
|
* @description: Applies a coupon code to get discounts on cart items. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/applyCoupon/).
|
|
231
231
|
*/
|
|
232
232
|
async applyCoupon(
|
|
@@ -310,7 +310,7 @@ class Cart {
|
|
|
310
310
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
311
311
|
* @returns {Promise<CartApplicationModel.CartDetailResponse>} - Success response
|
|
312
312
|
* @name applyRewardPoints
|
|
313
|
-
* @summary: Use reward points
|
|
313
|
+
* @summary: Use reward points
|
|
314
314
|
* @description: Applies user’s reward points to the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/applyRewardPoints/).
|
|
315
315
|
*/
|
|
316
316
|
async applyRewardPoints(
|
|
@@ -392,7 +392,7 @@ class Cart {
|
|
|
392
392
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
393
393
|
* @returns {Promise<CartApplicationModel.CartCheckoutResponse>} - Success response
|
|
394
394
|
* @name checkoutCart
|
|
395
|
-
* @summary: Checkout cart
|
|
395
|
+
* @summary: Checkout cart
|
|
396
396
|
* @description: Initiates the checkout process for the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/checkoutCart/).
|
|
397
397
|
*/
|
|
398
398
|
async checkoutCart(
|
|
@@ -630,7 +630,7 @@ class Cart {
|
|
|
630
630
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
631
631
|
* @returns {Promise<CartApplicationModel.Address>} - Success response
|
|
632
632
|
* @name getAddressById
|
|
633
|
-
* @summary: Fetch address
|
|
633
|
+
* @summary: Fetch address
|
|
634
634
|
* @description: Retrieves a saved address using its ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getAddressById/).
|
|
635
635
|
*/
|
|
636
636
|
async getAddressById(
|
|
@@ -723,7 +723,7 @@ class Cart {
|
|
|
723
723
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
724
724
|
* @returns {Promise<CartApplicationModel.GetAddressesResponse>} - Success response
|
|
725
725
|
* @name getAddresses
|
|
726
|
-
* @summary: Get saved addresses
|
|
726
|
+
* @summary: Get saved addresses
|
|
727
727
|
* @description: Retrieve all saved addresses for the user. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getAddresses/).
|
|
728
728
|
*/
|
|
729
729
|
async getAddresses(
|
|
@@ -815,7 +815,7 @@ class Cart {
|
|
|
815
815
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
816
816
|
* @returns {Promise<CartApplicationModel.BulkPriceResponse>} - Success response
|
|
817
817
|
* @name getBulkDiscountOffers
|
|
818
|
-
* @summary: Bulk discounts
|
|
818
|
+
* @summary: Bulk discounts
|
|
819
819
|
* @description: Lists available bulk discount offers for cart items. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getBulkDiscountOffers/).
|
|
820
820
|
*/
|
|
821
821
|
async getBulkDiscountOffers(
|
|
@@ -897,7 +897,7 @@ class Cart {
|
|
|
897
897
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
898
898
|
* @returns {Promise<CartApplicationModel.CartDetailResponse>} - Success response
|
|
899
899
|
* @name getCart
|
|
900
|
-
* @summary: Retrieve cart details
|
|
900
|
+
* @summary: Retrieve cart details
|
|
901
901
|
* @description: Retrieve the current state and items in the shopping cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getCart/).
|
|
902
902
|
*/
|
|
903
903
|
async getCart(
|
|
@@ -982,7 +982,7 @@ class Cart {
|
|
|
982
982
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
983
983
|
* @returns {Promise<any>} - Success response
|
|
984
984
|
* @name getCartLastModified
|
|
985
|
-
* @summary: Cart modification time
|
|
985
|
+
* @summary: Cart modification time
|
|
986
986
|
* @description: Gets the last modified timestamp for the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getCartLastModified/).
|
|
987
987
|
*/
|
|
988
988
|
async getCartLastModified(
|
|
@@ -1059,7 +1059,7 @@ class Cart {
|
|
|
1059
1059
|
* @returns {Promise<CartApplicationModel.GetShareCartLinkResponse>} -
|
|
1060
1060
|
* Success response
|
|
1061
1061
|
* @name getCartShareLink
|
|
1062
|
-
* @summary: Share cart link
|
|
1062
|
+
* @summary: Share cart link
|
|
1063
1063
|
* @description: Generates a shareable link for the current cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getCartShareLink/).
|
|
1064
1064
|
*/
|
|
1065
1065
|
async getCartShareLink(
|
|
@@ -1137,7 +1137,7 @@ class Cart {
|
|
|
1137
1137
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1138
1138
|
* @returns {Promise<CartApplicationModel.SharedCartResponse>} - Success response
|
|
1139
1139
|
* @name getCartSharedItems
|
|
1140
|
-
* @summary: Shared cart items
|
|
1140
|
+
* @summary: Shared cart items
|
|
1141
1141
|
* @description: Retrieves items from a shared cart link. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getCartSharedItems/).
|
|
1142
1142
|
*/
|
|
1143
1143
|
async getCartSharedItems(
|
|
@@ -1215,7 +1215,7 @@ class Cart {
|
|
|
1215
1215
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1216
1216
|
* @returns {Promise<CartApplicationModel.GetCouponResponse>} - Success response
|
|
1217
1217
|
* @name getCoupons
|
|
1218
|
-
* @summary: List available coupons
|
|
1218
|
+
* @summary: List available coupons
|
|
1219
1219
|
* @description: Retrieve coupons that can be applied to the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getCoupons/).
|
|
1220
1220
|
*/
|
|
1221
1221
|
async getCoupons(
|
|
@@ -1295,7 +1295,7 @@ class Cart {
|
|
|
1295
1295
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1296
1296
|
* @returns {Promise<CartApplicationModel.CartItemCountResponse>} - Success response
|
|
1297
1297
|
* @name getItemCount
|
|
1298
|
-
* @summary: Count cart items
|
|
1298
|
+
* @summary: Count cart items
|
|
1299
1299
|
* @description: Gets the total number of items in the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getItemCount/).
|
|
1300
1300
|
*/
|
|
1301
1301
|
async getItemCount(
|
|
@@ -1375,7 +1375,7 @@ class Cart {
|
|
|
1375
1375
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1376
1376
|
* @returns {Promise<CartApplicationModel.LadderPriceOffers>} - Success response
|
|
1377
1377
|
* @name getLadderOffers
|
|
1378
|
-
* @summary: Fetches ladder offers
|
|
1378
|
+
* @summary: Fetches ladder offers
|
|
1379
1379
|
* @description: Gets tiered discounts based on cart value. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getLadderOffers/).
|
|
1380
1380
|
*/
|
|
1381
1381
|
async getLadderOffers(
|
|
@@ -1544,7 +1544,7 @@ class Cart {
|
|
|
1544
1544
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1545
1545
|
* @returns {Promise<CartApplicationModel.CartShipmentsResponse>} - Success response
|
|
1546
1546
|
* @name getShipments
|
|
1547
|
-
* @summary: List shipments
|
|
1547
|
+
* @summary: List shipments
|
|
1548
1548
|
* @description: Retrieve shipment details for items in the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getShipments/).
|
|
1549
1549
|
*/
|
|
1550
1550
|
async getShipments(
|
|
@@ -1630,7 +1630,7 @@ class Cart {
|
|
|
1630
1630
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1631
1631
|
* @returns {Promise<CartApplicationModel.DeleteAddressResponse>} - Success response
|
|
1632
1632
|
* @name removeAddress
|
|
1633
|
-
* @summary: Delete address
|
|
1633
|
+
* @summary: Delete address
|
|
1634
1634
|
* @description: Removes a saved address from the user's profile. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/removeAddress/).
|
|
1635
1635
|
*/
|
|
1636
1636
|
async removeAddress(
|
|
@@ -1708,7 +1708,7 @@ class Cart {
|
|
|
1708
1708
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1709
1709
|
* @returns {Promise<CartApplicationModel.CartDetailResponse>} - Success response
|
|
1710
1710
|
* @name removeCoupon
|
|
1711
|
-
* @summary: Remove coupon
|
|
1711
|
+
* @summary: Remove coupon
|
|
1712
1712
|
* @description: Removes an applied coupon from the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/removeCoupon/).
|
|
1713
1713
|
*/
|
|
1714
1714
|
async removeCoupon(
|
|
@@ -1788,7 +1788,7 @@ class Cart {
|
|
|
1788
1788
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1789
1789
|
* @returns {Promise<CartApplicationModel.CartDetailResponse>} - Success response
|
|
1790
1790
|
* @name selectAddress
|
|
1791
|
-
* @summary: Choose delivery address
|
|
1791
|
+
* @summary: Choose delivery address
|
|
1792
1792
|
* @description: Selects an address for the cart's delivery. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/selectAddress/).
|
|
1793
1793
|
*/
|
|
1794
1794
|
async selectAddress(
|
|
@@ -1870,7 +1870,7 @@ class Cart {
|
|
|
1870
1870
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1871
1871
|
* @returns {Promise<CartApplicationModel.CartDetailResponse>} - Success response
|
|
1872
1872
|
* @name selectPaymentMode
|
|
1873
|
-
* @summary: Pick payment method
|
|
1873
|
+
* @summary: Pick payment method
|
|
1874
1874
|
* @description: Chooses a payment mode for the checkout process. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/selectPaymentMode/).
|
|
1875
1875
|
*/
|
|
1876
1876
|
async selectPaymentMode(
|
|
@@ -1950,7 +1950,7 @@ class Cart {
|
|
|
1950
1950
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1951
1951
|
* @returns {Promise<CartApplicationModel.UpdateAddressResponse>} - Success response
|
|
1952
1952
|
* @name updateAddress
|
|
1953
|
-
* @summary: Update address
|
|
1953
|
+
* @summary: Update address
|
|
1954
1954
|
* @description: Modifies a saved address. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/updateAddress/).
|
|
1955
1955
|
*/
|
|
1956
1956
|
async updateAddress(
|
|
@@ -2029,7 +2029,7 @@ class Cart {
|
|
|
2029
2029
|
* @returns {Promise<CartApplicationModel.UpdateCartDetailResponse>} -
|
|
2030
2030
|
* Success response
|
|
2031
2031
|
* @name updateCart
|
|
2032
|
-
* @summary: Update cart
|
|
2032
|
+
* @summary: Update cart
|
|
2033
2033
|
* @description: Modifies items and quantities in the existing cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/updateCart/).
|
|
2034
2034
|
*/
|
|
2035
2035
|
async updateCart(
|
|
@@ -2113,7 +2113,7 @@ class Cart {
|
|
|
2113
2113
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
2114
2114
|
* @returns {Promise<CartApplicationModel.CartMetaResponse>} - Success response
|
|
2115
2115
|
* @name updateCartMeta
|
|
2116
|
-
* @summary: Update cart metadata
|
|
2116
|
+
* @summary: Update cart metadata
|
|
2117
2117
|
* @description: Adds or modifies metadata for the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/updateCartMeta/).
|
|
2118
2118
|
*/
|
|
2119
2119
|
async updateCartMeta(
|
|
@@ -2193,7 +2193,7 @@ class Cart {
|
|
|
2193
2193
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
2194
2194
|
* @returns {Promise<CartApplicationModel.SharedCartResponse>} - Success response
|
|
2195
2195
|
* @name updateCartWithSharedItems
|
|
2196
|
-
* @summary: Update with shared items
|
|
2196
|
+
* @summary: Update with shared items
|
|
2197
2197
|
* @description: Updates the cart with items from a shared link. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/updateCartWithSharedItems/).
|
|
2198
2198
|
*/
|
|
2199
2199
|
async updateCartWithSharedItems(
|
|
@@ -2273,7 +2273,7 @@ class Cart {
|
|
|
2273
2273
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
2274
2274
|
* @returns {Promise<CartApplicationModel.PaymentCouponValidate>} - Success response
|
|
2275
2275
|
* @name validateCouponForPayment
|
|
2276
|
-
* @summary: Validate coupon
|
|
2276
|
+
* @summary: Validate coupon
|
|
2277
2277
|
* @description: Checks if a coupon is valid for the selected payment mode. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/validateCouponForPayment/).
|
|
2278
2278
|
*/
|
|
2279
2279
|
async validateCouponForPayment(
|