@gofynd/fdk-client-javascript 1.4.15-beta.3 → 1.4.15-beta.4
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 +1 -1
- package/sdk/application/ApplicationClient.d.ts +0 -2
- package/sdk/application/ApplicationClient.js +0 -2
- package/sdk/application/Cart/CartApplicationClient.d.ts +48 -68
- package/sdk/application/Cart/CartApplicationClient.js +27 -114
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +58 -59
- package/sdk/application/Catalog/CatalogApplicationClient.js +29 -30
- package/sdk/application/Common/CommonApplicationClient.d.ts +2 -2
- package/sdk/application/Common/CommonApplicationClient.js +1 -1
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +20 -20
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +10 -10
- package/sdk/application/Content/ContentApplicationClient.d.ts +30 -19
- package/sdk/application/Content/ContentApplicationClient.js +54 -28
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +8 -8
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +7 -7
- package/sdk/application/Lead/LeadApplicationClient.d.ts +2 -2
- package/sdk/application/Lead/LeadApplicationClient.js +1 -1
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +15 -35
- package/sdk/application/Logistic/LogisticApplicationClient.js +8 -89
- package/sdk/application/Order/OrderApplicationClient.d.ts +12 -22
- package/sdk/application/Order/OrderApplicationClient.js +8 -47
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +87 -87
- package/sdk/application/Payment/PaymentApplicationClient.js +46 -46
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +13 -13
- package/sdk/application/Rewards/RewardsApplicationClient.js +7 -7
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +2 -2
- package/sdk/application/Theme/ThemeApplicationClient.js +2 -4
- package/sdk/application/User/UserApplicationClient.d.ts +10 -10
- package/sdk/application/User/UserApplicationClient.js +6 -6
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
- package/sdk/application/Webhook/WebhookApplicationClient.js +3 -3
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +12 -86
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +24 -582
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +19 -116
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +14 -121
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +1 -8
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -51
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
- package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
- package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +20 -126
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +20 -970
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +167 -1200
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +160 -571
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +0 -10
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +7 -121
- package/sdk/partner/OAuthClient.js +1 -0
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +10 -8
- package/sdk/partner/Theme/ThemePartnerClient.js +16 -14
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +37 -96
- package/sdk/partner/Theme/ThemePartnerModel.js +36 -90
- package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +18 -28
- package/sdk/partner/Webhook/WebhookPartnerClient.js +18 -103
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +179 -612
- package/sdk/partner/Webhook/WebhookPartnerModel.js +150 -253
- package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +0 -1
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +3 -11
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +4 -5
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +8 -14
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +9 -59
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +4 -40
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +32 -2
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +243 -3
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +130 -11
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +152 -12
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +39 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +35 -0
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
- package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +388 -443
- package/sdk/platform/Billing/BillingPlatformModel.js +263 -280
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +18 -16
- package/sdk/platform/Billing/BillingPlatformValidator.js +9 -8
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +103 -134
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +115 -419
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +65 -118
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +44 -109
- package/sdk/platform/Cart/CartPlatformModel.d.ts +1298 -5037
- package/sdk/platform/Cart/CartPlatformModel.js +1217 -1976
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +183 -209
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +400 -457
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +142 -185
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +78 -96
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +117 -154
- package/sdk/platform/Catalog/CatalogPlatformClient.js +172 -292
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1647 -6385
- package/sdk/platform/Catalog/CatalogPlatformModel.js +1680 -3217
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +31 -72
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +24 -50
- package/sdk/platform/Common/CommonPlatformClient.d.ts +2 -3
- package/sdk/platform/Common/CommonPlatformClient.js +2 -3
- package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
- package/sdk/platform/Common/CommonPlatformModel.js +6 -6
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +17 -16
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +17 -16
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +33 -43
- package/sdk/platform/Communication/CommunicationPlatformModel.js +34 -38
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +42 -46
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +43 -47
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +212 -210
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +33 -46
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +54 -67
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +24 -45
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +30 -134
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +131 -283
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +97 -219
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +9 -37
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +8 -27
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +141 -124
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +422 -449
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +141 -179
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +130 -168
- package/sdk/platform/Content/ContentPlatformClient.d.ts +106 -142
- package/sdk/platform/Content/ContentPlatformClient.js +336 -523
- package/sdk/platform/Content/ContentPlatformModel.d.ts +395 -1241
- package/sdk/platform/Content/ContentPlatformModel.js +390 -521
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +117 -168
- package/sdk/platform/Content/ContentPlatformValidator.js +108 -162
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +12 -14
- package/sdk/platform/Discount/DiscountPlatformClient.js +12 -14
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
- package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +36 -94
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +60 -462
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +15 -62
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +13 -75
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +19 -19
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +21 -21
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +101 -370
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +84 -313
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +320 -0
- package/sdk/platform/Finance/FinancePlatformClient.js +2333 -0
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +2890 -0
- package/sdk/platform/Finance/FinancePlatformModel.js +2148 -0
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +284 -0
- package/sdk/platform/Finance/FinancePlatformValidator.js +354 -0
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
- package/sdk/platform/Lead/LeadPlatformClient.js +2 -2
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -5
- package/sdk/platform/Lead/LeadPlatformModel.js +16 -16
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +6 -17
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +7 -85
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +24 -95
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +19 -39
- package/sdk/platform/Order/OrderPlatformClient.d.ts +96 -153
- package/sdk/platform/Order/OrderPlatformClient.js +198 -416
- package/sdk/platform/Order/OrderPlatformModel.d.ts +1286 -7619
- package/sdk/platform/Order/OrderPlatformModel.js +1265 -3922
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +109 -270
- package/sdk/platform/Order/OrderPlatformValidator.js +77 -135
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -6
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +7 -9
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
- package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +105 -93
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +141 -129
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +48 -48
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +48 -48
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
- package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +319 -333
- package/sdk/platform/Payment/PaymentPlatformModel.js +278 -288
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
- package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
- package/sdk/platform/PlatformClient.d.ts +2 -0
- package/sdk/platform/PlatformClient.js +4 -0
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +9 -9
- package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +36 -46
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +41 -132
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +17 -46
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +14 -34
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +46 -40
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +64 -58
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +612 -1845
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +554 -886
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +46 -42
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +28 -26
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Share/SharePlatformApplicationClient.js +2 -2
- package/sdk/platform/Share/SharePlatformModel.d.ts +5 -36
- package/sdk/platform/Share/SharePlatformModel.js +4 -27
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +4 -8
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +0 -5
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +0 -2
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +11 -37
- package/sdk/platform/Theme/ThemePlatformModel.js +15 -33
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
- package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
- package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
- package/sdk/platform/User/UserPlatformModel.js +23 -23
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +78 -25
- package/sdk/platform/Webhook/WebhookPlatformClient.js +470 -75
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +427 -720
- package/sdk/platform/Webhook/WebhookPlatformModel.js +386 -410
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +55 -10
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +72 -12
- package/sdk/platform/index.d.ts +1 -0
- package/sdk/platform/index.js +2 -0
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +2 -3
- package/sdk/public/Configuration/ConfigurationPublicClient.js +5 -6
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
- package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
- package/sdk/public/Content/ContentPublicClient.d.ts +2 -112
- package/sdk/public/Content/ContentPublicClient.js +5 -791
- package/sdk/public/Content/ContentPublicModel.d.ts +3 -549
- package/sdk/public/Content/ContentPublicModel.js +3 -649
- package/sdk/public/Content/ContentPublicValidator.d.ts +3 -69
- package/sdk/public/Content/ContentPublicValidator.js +2 -88
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
- package/sdk/public/Webhook/WebhookPublicClient.js +8 -8
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
- package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
- package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +0 -29
- package/sdk/application/Finance/FinanceApplicationClient.js +0 -105
package/README.md
CHANGED
|
@@ -237,7 +237,7 @@ console.log("Active Theme: ", response.information.name);
|
|
|
237
237
|
The above code will log the curl command in the console
|
|
238
238
|
|
|
239
239
|
```bash
|
|
240
|
-
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.15-beta.
|
|
240
|
+
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.15-beta.4' --header 'x-fp-date: 20230222T115108Z' --header 'x-fp-signature: v1.1:1e3ab3b02b5bc626e3c32a37ee844266ade02bbcbaafc28fc7a0e46a76a7a1a8'
|
|
241
241
|
Active Theme: Emerge
|
|
242
242
|
```
|
|
243
243
|
|
package/package.json
CHANGED
|
@@ -15,7 +15,6 @@ declare class ApplicationClient {
|
|
|
15
15
|
configuration: Configuration;
|
|
16
16
|
content: Content;
|
|
17
17
|
fileStorage: FileStorage;
|
|
18
|
-
finance: Finance;
|
|
19
18
|
lead: Lead;
|
|
20
19
|
logistic: Logistic;
|
|
21
20
|
order: Order;
|
|
@@ -72,7 +71,6 @@ import Communication = require("./Communication/CommunicationApplicationClient")
|
|
|
72
71
|
import Configuration = require("./Configuration/ConfigurationApplicationClient");
|
|
73
72
|
import Content = require("./Content/ContentApplicationClient");
|
|
74
73
|
import FileStorage = require("./FileStorage/FileStorageApplicationClient");
|
|
75
|
-
import Finance = require("./Finance/FinanceApplicationClient");
|
|
76
74
|
import Lead = require("./Lead/LeadApplicationClient");
|
|
77
75
|
import Logistic = require("./Logistic/LogisticApplicationClient");
|
|
78
76
|
import Order = require("./Order/OrderApplicationClient");
|
|
@@ -5,7 +5,6 @@ const Communication = require("./Communication/CommunicationApplicationClient");
|
|
|
5
5
|
const Configuration = require("./Configuration/ConfigurationApplicationClient");
|
|
6
6
|
const Content = require("./Content/ContentApplicationClient");
|
|
7
7
|
const FileStorage = require("./FileStorage/FileStorageApplicationClient");
|
|
8
|
-
const Finance = require("./Finance/FinanceApplicationClient");
|
|
9
8
|
const Lead = require("./Lead/LeadApplicationClient");
|
|
10
9
|
const Logistic = require("./Logistic/LogisticApplicationClient");
|
|
11
10
|
const Order = require("./Order/OrderApplicationClient");
|
|
@@ -36,7 +35,6 @@ class ApplicationClient {
|
|
|
36
35
|
this.configuration = new Configuration(config);
|
|
37
36
|
this.content = new Content(config);
|
|
38
37
|
this.fileStorage = new FileStorage(config);
|
|
39
|
-
this.finance = new Finance(config);
|
|
40
38
|
this.lead = new Lead(config);
|
|
41
39
|
this.logistic = new Logistic(config);
|
|
42
40
|
this.order = new Order(config);
|
|
@@ -7,7 +7,6 @@ declare class Cart {
|
|
|
7
7
|
addItems: string;
|
|
8
8
|
applyCoupon: string;
|
|
9
9
|
applyRewardPoints: string;
|
|
10
|
-
checkoutCart: string;
|
|
11
10
|
checkoutCartV2: string;
|
|
12
11
|
deleteCart: string;
|
|
13
12
|
getAddressById: string;
|
|
@@ -22,7 +21,6 @@ declare class Cart {
|
|
|
22
21
|
getLadderOffers: string;
|
|
23
22
|
getPromotionOffers: string;
|
|
24
23
|
getPromotionPaymentOffers: string;
|
|
25
|
-
getPromotions: string;
|
|
26
24
|
getShipments: string;
|
|
27
25
|
removeAddress: string;
|
|
28
26
|
removeCoupon: string;
|
|
@@ -39,66 +37,57 @@ declare class Cart {
|
|
|
39
37
|
/**
|
|
40
38
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
41
39
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
42
|
-
* @returns {Promise<
|
|
40
|
+
* @returns {Promise<SaveAddressResponse>} - Success response
|
|
43
41
|
* @name addAddress
|
|
44
42
|
* @summary: Creates a new address for a customer
|
|
45
43
|
* @description: Add a new address to their cart to save details such as name, email, contact information, and address. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/addAddress/).
|
|
46
44
|
*/
|
|
47
|
-
addAddress({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
45
|
+
addAddress({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<SaveAddressResponse>;
|
|
48
46
|
/**
|
|
49
47
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
50
48
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
51
|
-
* @returns {Promise<
|
|
49
|
+
* @returns {Promise<AddCartDetailResponse>} - Success response
|
|
52
50
|
* @name addItems
|
|
53
51
|
* @summary: Add items to a cart
|
|
54
52
|
* @description: Add product items to the customer's existing shopping cart. If there is no existing cart associated with the customer, it creates a new one and adds the items to it. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/addItems/).
|
|
55
53
|
*/
|
|
56
|
-
addItems({ body, i, b, areaCode, buyNow, id, orderType, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
54
|
+
addItems({ body, i, b, areaCode, buyNow, id, orderType, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<AddCartDetailResponse>;
|
|
57
55
|
/**
|
|
58
56
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
59
57
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
60
|
-
* @returns {Promise<
|
|
58
|
+
* @returns {Promise<CartDetailResponse>} - Success response
|
|
61
59
|
* @name applyCoupon
|
|
62
60
|
* @summary: Apply coupon
|
|
63
61
|
* @description: Apply a coupon code to the cart to trigger discounts on eligible items. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/applyCoupon/).
|
|
64
62
|
*/
|
|
65
|
-
applyCoupon({ body, i, b, p, id, buyNow, cartType, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
63
|
+
applyCoupon({ body, i, b, p, id, buyNow, cartType, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CartDetailResponse>;
|
|
66
64
|
/**
|
|
67
65
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
68
66
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
69
|
-
* @returns {Promise<
|
|
67
|
+
* @returns {Promise<CartDetailResponse>} - Success response
|
|
70
68
|
* @name applyRewardPoints
|
|
71
69
|
* @summary: Use reward points
|
|
72
70
|
* @description: Users can redeem their accumulated reward points and apply them to the items in their cart, thereby availing discounts on their current purchases. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/applyRewardPoints/).
|
|
73
71
|
*/
|
|
74
|
-
applyRewardPoints({ body, id, i, b, buyNow, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
72
|
+
applyRewardPoints({ body, id, i, b, buyNow, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CartDetailResponse>;
|
|
75
73
|
/**
|
|
76
74
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
77
75
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
78
|
-
* @returns {Promise<
|
|
79
|
-
* @name checkoutCart
|
|
80
|
-
* @summary: Checkout cart
|
|
81
|
-
* @description: The checkout cart initiates the order creation process based on the selected address and payment method. It revalidates the cart details to ensure safe and seamless order placement. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/checkoutCart/).
|
|
82
|
-
*/
|
|
83
|
-
checkoutCart({ body, buyNow, cartType, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CartCheckoutResult>;
|
|
84
|
-
/**
|
|
85
|
-
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
86
|
-
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
87
|
-
* @returns {Promise<CartCheckoutResult>} - Success response
|
|
76
|
+
* @returns {Promise<CartCheckoutResponse>} - Success response
|
|
88
77
|
* @name checkoutCartV2
|
|
89
78
|
* @summary: Checkout cart
|
|
90
79
|
* @description: The checkout cart initiates the order creation process based on the items in the user’s cart, their selected address, and chosen payment methods. It also supports multiple payment method options and revalidates the cart details to ensure a secure and seamless order placement. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/checkoutCartV2/).
|
|
91
80
|
*/
|
|
92
|
-
checkoutCartV2({ body, buyNow, cartType, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
81
|
+
checkoutCartV2({ body, buyNow, cartType, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CartCheckoutResponse>;
|
|
93
82
|
/**
|
|
94
83
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
95
84
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
96
|
-
* @returns {Promise<
|
|
85
|
+
* @returns {Promise<DeleteCartDetailResponse>} - Success response
|
|
97
86
|
* @name deleteCart
|
|
98
87
|
* @summary: Delete a cart
|
|
99
88
|
* @description: Delete all items from the user's cart and resets it to its initial state, providing a clean slate for new selections. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/deleteCart/).
|
|
100
89
|
*/
|
|
101
|
-
deleteCart({ id, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
90
|
+
deleteCart({ id, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<DeleteCartDetailResponse>;
|
|
102
91
|
/**
|
|
103
92
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
104
93
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
@@ -111,30 +100,30 @@ declare class Cart {
|
|
|
111
100
|
/**
|
|
112
101
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
113
102
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
114
|
-
* @returns {Promise<
|
|
103
|
+
* @returns {Promise<GetAddressesResponse>} - Success response
|
|
115
104
|
* @name getAddresses
|
|
116
105
|
* @summary: Get a list of addresses for a customer
|
|
117
106
|
* @description: List all addresses saved by the customer, simplifying the checkout process by offering pre-saved address options for delivery. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getAddresses/).
|
|
118
107
|
*/
|
|
119
|
-
getAddresses({ cartId, buyNow, mobileNo, checkoutMode, tags, isDefault, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
108
|
+
getAddresses({ cartId, buyNow, mobileNo, checkoutMode, tags, isDefault, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<GetAddressesResponse>;
|
|
120
109
|
/**
|
|
121
110
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
122
111
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
123
|
-
* @returns {Promise<
|
|
112
|
+
* @returns {Promise<BulkPriceResponse>} - Success response
|
|
124
113
|
* @name getBulkDiscountOffers
|
|
125
114
|
* @summary: List bulk discounts
|
|
126
115
|
* @description: List offer discounts with information about quantity and seller. One offer is marked with a "best" flag, indicating it as the best offer among the list. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getBulkDiscountOffers/).
|
|
127
116
|
*/
|
|
128
|
-
getBulkDiscountOffers({ itemId, articleId, uid, slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
117
|
+
getBulkDiscountOffers({ itemId, articleId, uid, slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<BulkPriceResponse>;
|
|
129
118
|
/**
|
|
130
119
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
131
120
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
132
|
-
* @returns {Promise<
|
|
121
|
+
* @returns {Promise<CartDetailResponse>} - Success response
|
|
133
122
|
* @name getCart
|
|
134
123
|
* @summary: Get a cart
|
|
135
124
|
* @description: Get details of a cart linked to a specific customer using a unique cart ID. It offers an overview of the items, quantities, prices, and other relevant information associated with the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getCart/).
|
|
136
125
|
*/
|
|
137
|
-
getCart({ id, i, b, c, assignCardId, areaCode, buyNow, orderType, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
126
|
+
getCart({ id, i, b, c, assignCardId, areaCode, buyNow, orderType, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CartDetailResponse>;
|
|
138
127
|
/**
|
|
139
128
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
140
129
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
@@ -147,39 +136,39 @@ declare class Cart {
|
|
|
147
136
|
/**
|
|
148
137
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
149
138
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
150
|
-
* @returns {Promise<
|
|
139
|
+
* @returns {Promise<GetShareCartLinkResponse>} - Success response
|
|
151
140
|
* @name getCartShareLink
|
|
152
141
|
* @summary: Create share cart link
|
|
153
142
|
* @description: Generate a unique shareable link for the customer's cart for a specific sales channel. This link enables easy sharing of the cart contents with other users, facilitating collaborative shopping experiences. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getCartShareLink/).
|
|
154
143
|
*/
|
|
155
|
-
getCartShareLink({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
144
|
+
getCartShareLink({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<GetShareCartLinkResponse>;
|
|
156
145
|
/**
|
|
157
146
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
158
147
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
159
|
-
* @returns {Promise<
|
|
148
|
+
* @returns {Promise<SharedCartResponse>} - Success response
|
|
160
149
|
* @name getCartSharedItems
|
|
161
150
|
* @summary: List shared cart items
|
|
162
151
|
* @description: Get cart items from the shared cart link based on unique token. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getCartSharedItems/).
|
|
163
152
|
*/
|
|
164
|
-
getCartSharedItems({ token, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
153
|
+
getCartSharedItems({ token, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<SharedCartResponse>;
|
|
165
154
|
/**
|
|
166
155
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
167
156
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
168
|
-
* @returns {Promise<
|
|
157
|
+
* @returns {Promise<GetCouponResponse>} - Success response
|
|
169
158
|
* @name getCoupons
|
|
170
159
|
* @summary: List available coupons
|
|
171
160
|
* @description: List all available coupons that customer can apply to their carts. It provides details about each coupon, including its code, discount amount, and applicable conditions. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getCoupons/).
|
|
172
161
|
*/
|
|
173
|
-
getCoupons({ id, buyNow, slug, storeId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
162
|
+
getCoupons({ id, buyNow, slug, storeId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<GetCouponResponse>;
|
|
174
163
|
/**
|
|
175
164
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
176
165
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
177
|
-
* @returns {Promise<
|
|
166
|
+
* @returns {Promise<CartItemCountResponse>} - Success response
|
|
178
167
|
* @name getItemCount
|
|
179
168
|
* @summary: Get a cart items count
|
|
180
169
|
* @description: Get total count of items currently present in the customer's cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getItemCount/).
|
|
181
170
|
*/
|
|
182
|
-
getItemCount({ id, buyNow, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
171
|
+
getItemCount({ id, buyNow, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CartItemCountResponse>;
|
|
183
172
|
/**
|
|
184
173
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
185
174
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
@@ -192,111 +181,102 @@ declare class Cart {
|
|
|
192
181
|
/**
|
|
193
182
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
194
183
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
195
|
-
* @returns {Promise<
|
|
184
|
+
* @returns {Promise<PromotionOffersResponse>} - Success response
|
|
196
185
|
* @name getPromotionOffers
|
|
197
186
|
* @summary: List available promotion offers
|
|
198
187
|
* @description: List all promotional offers available for the items in the cart, including details such as offer text, unique promotion ID, and validity period. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getPromotionOffers/).
|
|
199
188
|
*/
|
|
200
|
-
getPromotionOffers({ slug, pageSize, promotionGroup, storeId, cartType,
|
|
189
|
+
getPromotionOffers({ slug, pageSize, promotionGroup, storeId, cartType, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PromotionOffersResponse>;
|
|
201
190
|
/**
|
|
202
191
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
203
192
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
204
|
-
* @returns {Promise<
|
|
193
|
+
* @returns {Promise<PromotionPaymentOffersResponse>} - Success response
|
|
205
194
|
* @name getPromotionPaymentOffers
|
|
206
195
|
* @summary: Fetch available promotions payment offers
|
|
207
196
|
* @description: Use this API to get top 5 payment offers available for current product. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getPromotionPaymentOffers/).
|
|
208
197
|
*/
|
|
209
|
-
getPromotionPaymentOffers({ id, uid, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
210
|
-
/**
|
|
211
|
-
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
212
|
-
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
213
|
-
* @returns {Promise<Promotions>} - Success response
|
|
214
|
-
* @name getPromotions
|
|
215
|
-
* @summary: List all available promotions of the sales channel
|
|
216
|
-
* @description: List all promotional offers available for the sales channel, including details such as offer text, unique promotion ID, and validity period. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getPromotions/).
|
|
217
|
-
*/
|
|
218
|
-
getPromotions({ pageSize, pageNo, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<Promotions>;
|
|
198
|
+
getPromotionPaymentOffers({ id, uid, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PromotionPaymentOffersResponse>;
|
|
219
199
|
/**
|
|
220
200
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
221
201
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
222
|
-
* @returns {Promise<
|
|
202
|
+
* @returns {Promise<CartShipmentsResponse>} - Success response
|
|
223
203
|
* @name getShipments
|
|
224
204
|
* @summary: List shipments
|
|
225
205
|
* @description: Get shipment details for the items in a cart, specific to the selected address. Shipment details include delivery promises, seller information, item details, and other relevant information. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getShipments/).
|
|
226
206
|
*/
|
|
227
|
-
getShipments({ p, id, buyNow, addressId, areaCode, orderType, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
207
|
+
getShipments({ p, id, buyNow, addressId, areaCode, orderType, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CartShipmentsResponse>;
|
|
228
208
|
/**
|
|
229
209
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
230
210
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
231
|
-
* @returns {Promise<
|
|
211
|
+
* @returns {Promise<DeleteAddressResponse>} - Success response
|
|
232
212
|
* @name removeAddress
|
|
233
213
|
* @summary: Removes an address from a customer's address list
|
|
234
214
|
* @description: Delete an existing customer address from the system. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/removeAddress/).
|
|
235
215
|
*/
|
|
236
|
-
removeAddress({ id, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
216
|
+
removeAddress({ id, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<DeleteAddressResponse>;
|
|
237
217
|
/**
|
|
238
218
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
239
219
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
240
|
-
* @returns {Promise<
|
|
220
|
+
* @returns {Promise<CartDetailResponse>} - Success response
|
|
241
221
|
* @name removeCoupon
|
|
242
222
|
* @summary: Remove coupon
|
|
243
223
|
* @description: Remove an applied coupon from the customer's cart, thereby removing the associated discount from the cart total. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/removeCoupon/).
|
|
244
224
|
*/
|
|
245
|
-
removeCoupon({ id, buyNow, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
225
|
+
removeCoupon({ id, buyNow, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CartDetailResponse>;
|
|
246
226
|
/**
|
|
247
227
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
248
228
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
249
|
-
* @returns {Promise<
|
|
229
|
+
* @returns {Promise<CartDetailResponse>} - Success response
|
|
250
230
|
* @name selectAddress
|
|
251
231
|
* @summary: Select customer address for order processing
|
|
252
232
|
* @description: Select an address from the saved customer addresses and validates the availability of items in the cart. Additionally, it verifies and updates the delivery promise based on the selected address. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/selectAddress/).
|
|
253
233
|
*/
|
|
254
|
-
selectAddress({ body, cartId, buyNow, i, b, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
234
|
+
selectAddress({ body, cartId, buyNow, i, b, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CartDetailResponse>;
|
|
255
235
|
/**
|
|
256
236
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
257
237
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
258
|
-
* @returns {Promise<
|
|
238
|
+
* @returns {Promise<CartDetailResponse>} - Success response
|
|
259
239
|
* @name selectPaymentMode
|
|
260
240
|
* @summary: Select payment mode
|
|
261
241
|
* @description: Select a preferred payment mode from available options during the cart checkout process to securely and efficiently complete their transaction. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/selectPaymentMode/).
|
|
262
242
|
*/
|
|
263
|
-
selectPaymentMode({ body, id, buyNow, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
243
|
+
selectPaymentMode({ body, id, buyNow, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CartDetailResponse>;
|
|
264
244
|
/**
|
|
265
245
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
266
246
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
267
|
-
* @returns {Promise<
|
|
247
|
+
* @returns {Promise<UpdateAddressResponse>} - Success response
|
|
268
248
|
* @name updateAddress
|
|
269
249
|
* @summary: Updates an existing customer address
|
|
270
250
|
* @description: Customer can modify the details of a previously saved addresses. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/updateAddress/).
|
|
271
251
|
*/
|
|
272
|
-
updateAddress({ id, body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
252
|
+
updateAddress({ id, body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<UpdateAddressResponse>;
|
|
273
253
|
/**
|
|
274
254
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
275
255
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
276
|
-
* @returns {Promise<
|
|
256
|
+
* @returns {Promise<UpdateCartDetailResponse>} - Success response
|
|
277
257
|
* @name updateCart
|
|
278
258
|
* @summary: Update cart items
|
|
279
259
|
* @description: Update cart. Customers can modify added product attributes such as quantity and size, as well as remove items from the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/updateCart/).
|
|
280
260
|
*/
|
|
281
|
-
updateCart({ body, id, i, b, areaCode, buyNow, cartType, orderType, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
261
|
+
updateCart({ body, id, i, b, areaCode, buyNow, cartType, orderType, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<UpdateCartDetailResponse>;
|
|
282
262
|
/**
|
|
283
263
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
284
264
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
285
|
-
* @returns {Promise<
|
|
265
|
+
* @returns {Promise<CartMetaResponse>} - Success response
|
|
286
266
|
* @name updateCartMeta
|
|
287
267
|
* @summary: Update cart metadata
|
|
288
268
|
* @description: Update metadata associated with a cart, which includes customer preferences, delivery instructions, or any special requirements related to the cart items. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/updateCartMeta/).
|
|
289
269
|
*/
|
|
290
|
-
updateCartMeta({ body, id, buyNow, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
270
|
+
updateCartMeta({ body, id, buyNow, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CartMetaResponse>;
|
|
291
271
|
/**
|
|
292
272
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
293
273
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
294
|
-
* @returns {Promise<
|
|
274
|
+
* @returns {Promise<SharedCartResponse>} - Success response
|
|
295
275
|
* @name updateCartWithSharedItems
|
|
296
276
|
* @summary: Update with shared items
|
|
297
277
|
* @description: Merge or replace shared cart items with existing cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/updateCartWithSharedItems/).
|
|
298
278
|
*/
|
|
299
|
-
updateCartWithSharedItems({ token, action, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
279
|
+
updateCartWithSharedItems({ token, action, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<SharedCartResponse>;
|
|
300
280
|
/**
|
|
301
281
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
302
282
|
* @param {import("../ApplicationAPIClient").Options} - Options
|