@gofynd/fdk-client-javascript 1.4.15-beta.14 → 1.4.15-beta.15
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 +23 -26
- package/package.json +5 -1
- package/sdk/application/ApplicationClient.d.ts +5 -6
- package/sdk/application/ApplicationClient.js +24 -20
- package/sdk/application/Cart/CartApplicationClient.d.ts +133 -83
- package/sdk/application/Cart/CartApplicationClient.js +444 -76
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +132 -114
- package/sdk/application/Catalog/CatalogApplicationClient.js +209 -126
- package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
- package/sdk/application/Common/CommonApplicationClient.js +4 -4
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +3 -3
- package/sdk/application/Communication/CommunicationApplicationClient.js +3 -3
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +58 -36
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +73 -29
- package/sdk/application/Content/ContentApplicationClient.d.ts +95 -66
- package/sdk/application/Content/ContentApplicationClient.js +274 -111
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +11 -11
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +10 -10
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +29 -0
- package/sdk/application/Finance/FinanceApplicationClient.js +111 -0
- package/sdk/application/Lead/LeadApplicationClient.d.ts +7 -7
- package/sdk/application/Lead/LeadApplicationClient.js +6 -6
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +37 -57
- package/sdk/application/Logistic/LogisticApplicationClient.js +117 -180
- package/sdk/application/Order/OrderApplicationClient.d.ts +63 -21
- package/sdk/application/Order/OrderApplicationClient.js +217 -17
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +179 -149
- package/sdk/application/Payment/PaymentApplicationClient.js +301 -167
- package/sdk/application/Share/ShareApplicationClient.d.ts +7 -7
- package/sdk/application/Share/ShareApplicationClient.js +7 -7
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +7 -7
- package/sdk/application/Theme/ThemeApplicationClient.js +10 -6
- package/sdk/application/User/UserApplicationClient.d.ts +103 -53
- package/sdk/application/User/UserApplicationClient.js +308 -49
- package/sdk/common/AxiosHelper.js +11 -4
- package/sdk/common/Constant.d.ts +27 -4
- package/sdk/common/Constant.js +33 -6
- package/sdk/common/utils.d.ts +10 -0
- package/sdk/common/utils.js +24 -3
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +46 -16
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +266 -40
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +163 -19
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +158 -14
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +5 -2
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +23 -7
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +9 -9
- package/sdk/partner/Lead/LeadPartnerClient.js +9 -9
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +14 -9
- package/sdk/partner/Lead/LeadPartnerModel.js +19 -17
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +264 -49
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +2116 -252
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +2256 -258
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +1187 -230
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +21 -1
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +218 -13
- package/sdk/partner/PartnerClient.d.ts +5 -2
- package/sdk/partner/PartnerClient.js +21 -7
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +32 -34
- package/sdk/partner/Theme/ThemePartnerClient.js +42 -44
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +142 -43
- package/sdk/partner/Theme/ThemePartnerModel.js +129 -44
- package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +83 -27
- package/sdk/partner/Webhook/WebhookPartnerClient.js +446 -27
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +920 -185
- package/sdk/partner/Webhook/WebhookPartnerModel.js +462 -154
- package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +5 -0
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +41 -3
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +8 -7
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +17 -11
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +4 -1
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +1 -1
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +68 -13
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +44 -6
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +3 -33
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +4 -244
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +49 -145
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +20 -171
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -39
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +0 -35
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +15 -15
- package/sdk/platform/Billing/BillingPlatformClient.js +18 -18
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +443 -388
- package/sdk/platform/Billing/BillingPlatformModel.js +280 -263
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +16 -18
- package/sdk/platform/Billing/BillingPlatformValidator.js +8 -9
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +266 -203
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +1446 -500
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +729 -100
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +446 -82
- package/sdk/platform/Cart/CartPlatformModel.d.ts +6927 -1396
- package/sdk/platform/Cart/CartPlatformModel.js +3065 -1316
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +433 -248
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +1662 -559
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +464 -159
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +304 -87
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +383 -234
- package/sdk/platform/Catalog/CatalogPlatformClient.js +2475 -1557
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +9573 -2678
- package/sdk/platform/Catalog/CatalogPlatformModel.js +5033 -1973
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +364 -117
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +281 -104
- package/sdk/platform/Common/CommonPlatformClient.d.ts +5 -4
- package/sdk/platform/Common/CommonPlatformClient.js +6 -5
- package/sdk/platform/Common/CommonPlatformModel.d.ts +36 -25
- package/sdk/platform/Common/CommonPlatformModel.js +25 -14
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +80 -153
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +102 -541
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +36 -49
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +20 -60
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +1 -1
- package/sdk/platform/Communication/CommunicationPlatformClient.js +1 -1
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +189 -43
- package/sdk/platform/Communication/CommunicationPlatformModel.js +165 -42
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +58 -81
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +68 -116
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +291 -249
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +243 -234
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +78 -65
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +101 -88
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +20 -20
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +19 -19
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +68 -34
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +174 -41
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +667 -244
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +474 -155
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +37 -9
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +27 -8
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +366 -280
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1435 -753
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +323 -223
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +335 -205
- package/sdk/platform/Content/ContentPlatformClient.d.ts +304 -106
- package/sdk/platform/Content/ContentPlatformClient.js +1842 -450
- package/sdk/platform/Content/ContentPlatformModel.d.ts +2582 -566
- package/sdk/platform/Content/ContentPlatformModel.js +1426 -558
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +293 -114
- package/sdk/platform/Content/ContentPlatformValidator.js +328 -101
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +59 -23
- package/sdk/platform/Discount/DiscountPlatformClient.js +84 -23
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +403 -110
- package/sdk/platform/Discount/DiscountPlatformModel.js +121 -107
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +56 -36
- package/sdk/platform/Discount/DiscountPlatformValidator.js +29 -19
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +12 -110
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +14 -684
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +5 -94
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +4 -115
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +20 -20
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +22 -22
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +90 -920
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +53 -949
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +10 -10
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +10 -10
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +11 -11
- package/sdk/platform/Lead/LeadPlatformClient.js +11 -11
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +14 -9
- package/sdk/platform/Lead/LeadPlatformModel.js +20 -18
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +56 -9
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +340 -10
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +128 -24
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +81 -19
- package/sdk/platform/Order/OrderPlatformClient.d.ts +517 -160
- package/sdk/platform/Order/OrderPlatformClient.js +1623 -384
- package/sdk/platform/Order/OrderPlatformModel.d.ts +10372 -1587
- package/sdk/platform/Order/OrderPlatformModel.js +5726 -1512
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +539 -123
- package/sdk/platform/Order/OrderPlatformValidator.js +323 -92
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +8 -6
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +11 -9
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +6 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +3 -2
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +77 -25
- package/sdk/platform/Partner/PartnerPlatformModel.js +32 -21
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +144 -219
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +307 -796
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +86 -121
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +80 -138
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +30 -30
- package/sdk/platform/Payment/PaymentPlatformClient.js +30 -30
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +901 -761
- package/sdk/platform/Payment/PaymentPlatformModel.js +663 -583
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
- package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
- package/sdk/platform/PlatformApplicationClient.d.ts +0 -2
- package/sdk/platform/PlatformApplicationClient.js +0 -4
- package/sdk/platform/PlatformClient.d.ts +5 -4
- package/sdk/platform/PlatformClient.js +32 -22
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +526 -69
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +3337 -337
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +603 -38
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +529 -32
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +184 -133
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +780 -491
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +9408 -1666
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +5720 -1765
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +257 -180
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +185 -127
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +7 -7
- package/sdk/platform/Share/SharePlatformApplicationClient.js +7 -7
- package/sdk/platform/Share/SharePlatformModel.d.ts +45 -9
- package/sdk/platform/Share/SharePlatformModel.js +31 -6
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +26 -26
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +38 -29
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +18 -3
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +10 -2
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +4 -4
- package/sdk/platform/Theme/ThemePlatformClient.js +4 -4
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +103 -17
- package/sdk/platform/Theme/ThemePlatformModel.js +92 -23
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +167 -45
- package/sdk/platform/User/UserPlatformApplicationClient.js +950 -67
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +189 -3
- package/sdk/platform/User/UserPlatformApplicationValidator.js +157 -3
- package/sdk/platform/User/UserPlatformModel.d.ts +880 -47
- package/sdk/platform/User/UserPlatformModel.js +607 -46
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +33 -86
- package/sdk/platform/Webhook/WebhookPlatformClient.js +79 -474
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +861 -422
- package/sdk/platform/Webhook/WebhookPlatformModel.js +469 -391
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
- package/sdk/platform/index.d.ts +0 -2
- package/sdk/platform/index.js +0 -4
- package/sdk/public/Catalog/CatalogPublicClient.d.ts +22 -0
- package/sdk/public/Catalog/CatalogPublicClient.js +133 -0
- package/sdk/public/Catalog/CatalogPublicModel.d.ts +158 -0
- package/sdk/public/Catalog/CatalogPublicModel.js +116 -0
- package/sdk/public/Catalog/CatalogPublicValidator.d.ts +55 -0
- package/sdk/public/Catalog/CatalogPublicValidator.js +35 -0
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +5 -4
- package/sdk/public/Configuration/ConfigurationPublicClient.js +9 -8
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +41 -21
- package/sdk/public/Configuration/ConfigurationPublicModel.js +28 -12
- package/sdk/public/Content/ContentPublicClient.d.ts +145 -2
- package/sdk/public/Content/ContentPublicClient.js +1067 -17
- package/sdk/public/Content/ContentPublicModel.d.ts +704 -3
- package/sdk/public/Content/ContentPublicModel.js +751 -3
- package/sdk/public/Content/ContentPublicValidator.d.ts +94 -3
- package/sdk/public/Content/ContentPublicValidator.js +119 -2
- package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
- package/sdk/public/Partner/PartnerPublicClient.js +1 -1
- package/sdk/public/Partner/PartnerPublicModel.d.ts +248 -72
- package/sdk/public/Partner/PartnerPublicModel.js +81 -71
- package/sdk/public/Partner/PartnerPublicValidator.d.ts +2 -2
- package/sdk/public/Partner/PartnerPublicValidator.js +1 -1
- package/sdk/public/PublicClient.d.ts +5 -2
- package/sdk/public/PublicClient.js +16 -6
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +13 -13
- package/sdk/public/Webhook/WebhookPublicClient.js +13 -13
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +249 -67
- package/sdk/public/Webhook/WebhookPublicModel.js +81 -61
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
- package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
- package/sdk/public/index.d.ts +1 -0
- package/sdk/public/index.js +2 -0
- package/utility.d.ts +3 -0
- package/utility.js +7 -0
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +0 -79
- package/sdk/application/Rewards/RewardsApplicationClient.js +0 -315
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +0 -19
- package/sdk/application/Webhook/WebhookApplicationClient.js +0 -72
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -320
- package/sdk/platform/Finance/FinancePlatformClient.js +0 -2333
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +0 -2890
- package/sdk/platform/Finance/FinancePlatformModel.js +0 -2148
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
- package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +0 -136
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +0 -976
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +0 -152
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +0 -157
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +0 -382
- package/sdk/platform/Rewards/RewardsPlatformModel.js +0 -408
|
@@ -6,7 +6,8 @@ declare class Cart {
|
|
|
6
6
|
addAddress: string;
|
|
7
7
|
addItems: string;
|
|
8
8
|
applyCoupon: string;
|
|
9
|
-
|
|
9
|
+
applyLoyaltyPoints: string;
|
|
10
|
+
applyOffer: string;
|
|
10
11
|
checkoutCart: string;
|
|
11
12
|
checkoutCartV2: string;
|
|
12
13
|
deleteCart: string;
|
|
@@ -20,15 +21,19 @@ declare class Cart {
|
|
|
20
21
|
getCoupons: string;
|
|
21
22
|
getItemCount: string;
|
|
22
23
|
getLadderOffers: string;
|
|
24
|
+
getOffers: string;
|
|
25
|
+
getProductsByOfferId: string;
|
|
23
26
|
getPromotionOffers: string;
|
|
24
27
|
getPromotionPaymentOffers: string;
|
|
25
28
|
getShipments: string;
|
|
26
29
|
removeAddress: string;
|
|
27
30
|
removeCoupon: string;
|
|
31
|
+
removeOffer: string;
|
|
28
32
|
selectAddress: string;
|
|
29
33
|
selectPaymentMode: string;
|
|
30
34
|
updateAddress: string;
|
|
31
35
|
updateCart: string;
|
|
36
|
+
updateCartBreakup: string;
|
|
32
37
|
updateCartMeta: string;
|
|
33
38
|
updateCartWithSharedItems: string;
|
|
34
39
|
validateCouponForPayment: string;
|
|
@@ -38,262 +43,307 @@ declare class Cart {
|
|
|
38
43
|
/**
|
|
39
44
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
40
45
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
41
|
-
* @returns {Promise<
|
|
46
|
+
* @returns {Promise<SaveAddressResult>} - Success response
|
|
42
47
|
* @name addAddress
|
|
43
48
|
* @summary: Creates a new address for a customer
|
|
44
|
-
* @description: Add a new address to their cart to save details such as name, email, contact information, and address. - Check out [method documentation](https://
|
|
49
|
+
* @description: Add a new address to their cart to save details such as name, email, contact information, and address. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/cart/addAddress/).
|
|
45
50
|
*/
|
|
46
|
-
addAddress({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
51
|
+
addAddress({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<SaveAddressResult>;
|
|
47
52
|
/**
|
|
48
53
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
49
54
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
50
|
-
* @returns {Promise<
|
|
55
|
+
* @returns {Promise<AddCartDetailResult>} - Success response
|
|
51
56
|
* @name addItems
|
|
52
57
|
* @summary: Add items to a cart
|
|
53
|
-
* @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://
|
|
58
|
+
* @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://docs.fynd.com/partners/commerce/sdk/application/cart/addItems/).
|
|
54
59
|
*/
|
|
55
|
-
addItems({ body, i, b, areaCode, buyNow, id, orderType, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
60
|
+
addItems({ body, xOrderingSource, xOrderingSourceType, i, b, includeCartCalculation, areaCode, buyNow, id, orderType, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<AddCartDetailResult>;
|
|
56
61
|
/**
|
|
57
62
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
58
63
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
59
|
-
* @returns {Promise<
|
|
64
|
+
* @returns {Promise<CartDetailResult>} - Success response
|
|
60
65
|
* @name applyCoupon
|
|
61
66
|
* @summary: Apply coupon
|
|
62
|
-
* @description: Apply a coupon code to the cart to trigger discounts on eligible items. - Check out [method documentation](https://
|
|
67
|
+
* @description: Apply a coupon code to the cart to trigger discounts on eligible items. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/cart/applyCoupon/).
|
|
63
68
|
*/
|
|
64
|
-
applyCoupon({ body, i, b, p, id, buyNow, cartType, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
69
|
+
applyCoupon({ body, xOrderingSource, xOrderingSourceType, i, b, p, id, buyNow, cartType, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CartDetailResult>;
|
|
65
70
|
/**
|
|
66
71
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
67
72
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
68
|
-
* @returns {Promise<
|
|
69
|
-
* @name
|
|
70
|
-
* @summary: Use
|
|
71
|
-
* @description: Users can redeem their accumulated
|
|
73
|
+
* @returns {Promise<CartDetailResult>} - Success response
|
|
74
|
+
* @name applyLoyaltyPoints
|
|
75
|
+
* @summary: Use loyalty points
|
|
76
|
+
* @description: Users can redeem their accumulated loyalty points and apply them to the items in their cart, thereby availing discounts on their current purchases. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/cart/applyLoyaltyPoints/).
|
|
72
77
|
*/
|
|
73
|
-
|
|
78
|
+
applyLoyaltyPoints({ body, xOrderingSource, xOrderingSourceType, id, i, b, buyNow, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CartDetailResult>;
|
|
74
79
|
/**
|
|
75
80
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
76
81
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
77
|
-
* @returns {Promise<
|
|
82
|
+
* @returns {Promise<OfferListItem>} - Success response
|
|
83
|
+
* @name applyOffer
|
|
84
|
+
* @summary: Apply offer to cart
|
|
85
|
+
* @description: Apply offer to the cart to trigger discounts on eligible items. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/cart/applyOffer/).
|
|
86
|
+
*/
|
|
87
|
+
applyOffer({ id, body, buyNow, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<OfferListItem>;
|
|
88
|
+
/**
|
|
89
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
90
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
91
|
+
* @returns {Promise<CartCheckoutResult>} - Success response
|
|
78
92
|
* @name checkoutCart
|
|
79
93
|
* @summary: Checkout cart
|
|
80
|
-
* @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://
|
|
94
|
+
* @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://docs.fynd.com/partners/commerce/sdk/application/cart/checkoutCart/).
|
|
81
95
|
*/
|
|
82
|
-
checkoutCart({ body, buyNow, cartType, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
96
|
+
checkoutCart({ body, xOrderingSource, xOrderingSourceType, buyNow, cartType, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CartCheckoutResult>;
|
|
83
97
|
/**
|
|
84
98
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
85
99
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
86
|
-
* @returns {Promise<
|
|
100
|
+
* @returns {Promise<CartCheckoutResult>} - Success response
|
|
87
101
|
* @name checkoutCartV2
|
|
88
102
|
* @summary: Checkout cart
|
|
89
|
-
* @description: The checkout cart initiates the order creation process based on the items in the user
|
|
103
|
+
* @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://docs.fynd.com/partners/commerce/sdk/application/cart/checkoutCartV2/).
|
|
90
104
|
*/
|
|
91
|
-
checkoutCartV2({ body, buyNow, cartType, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
105
|
+
checkoutCartV2({ body, xOrderingSource, xOrderingSourceType, xLocationDetail, xCurrencyCode, buyNow, cartType, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CartCheckoutResult>;
|
|
92
106
|
/**
|
|
93
107
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
94
108
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
95
|
-
* @returns {Promise<
|
|
109
|
+
* @returns {Promise<DeleteCartDetailResult>} - Success response
|
|
96
110
|
* @name deleteCart
|
|
97
111
|
* @summary: Delete a cart
|
|
98
|
-
* @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://
|
|
112
|
+
* @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://docs.fynd.com/partners/commerce/sdk/application/cart/deleteCart/).
|
|
99
113
|
*/
|
|
100
|
-
deleteCart({ id, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
114
|
+
deleteCart({ id, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<DeleteCartDetailResult>;
|
|
101
115
|
/**
|
|
102
116
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
103
117
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
104
118
|
* @returns {Promise<Address>} - Success response
|
|
105
119
|
* @name getAddressById
|
|
106
120
|
* @summary: Get details for a single customer address
|
|
107
|
-
* @description: Get a specific customer address stored in the system by providing its unique identifier. This API provides detailed information about the address, including the recipient's name, address, city, postal code, and other relevant details. - Check out [method documentation](https://
|
|
121
|
+
* @description: Get a specific customer address stored in the system by providing its unique identifier. This API provides detailed information about the address, including the recipient's name, address, city, postal code, and other relevant details. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/cart/getAddressById/).
|
|
108
122
|
*/
|
|
109
123
|
getAddressById({ id, cartId, buyNow, mobileNo, checkoutMode, tags, isDefault, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<Address>;
|
|
110
124
|
/**
|
|
111
125
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
112
126
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
113
|
-
* @returns {Promise<
|
|
127
|
+
* @returns {Promise<GetAddressesResult>} - Success response
|
|
114
128
|
* @name getAddresses
|
|
115
129
|
* @summary: Get a list of addresses for a customer
|
|
116
|
-
* @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://
|
|
130
|
+
* @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://docs.fynd.com/partners/commerce/sdk/application/cart/getAddresses/).
|
|
117
131
|
*/
|
|
118
|
-
getAddresses({ cartId, buyNow, mobileNo, checkoutMode, tags, isDefault, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
132
|
+
getAddresses({ cartId, buyNow, mobileNo, checkoutMode, tags, isDefault, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<GetAddressesResult>;
|
|
119
133
|
/**
|
|
120
134
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
121
135
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
122
|
-
* @returns {Promise<
|
|
136
|
+
* @returns {Promise<BulkPriceResult>} - Success response
|
|
123
137
|
* @name getBulkDiscountOffers
|
|
124
138
|
* @summary: List bulk discounts
|
|
125
|
-
* @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://
|
|
139
|
+
* @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://docs.fynd.com/partners/commerce/sdk/application/cart/getBulkDiscountOffers/).
|
|
126
140
|
*/
|
|
127
|
-
getBulkDiscountOffers({ itemId, articleId, uid, slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
141
|
+
getBulkDiscountOffers({ itemId, articleId, uid, slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<BulkPriceResult>;
|
|
128
142
|
/**
|
|
129
143
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
130
144
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
131
|
-
* @returns {Promise<
|
|
145
|
+
* @returns {Promise<CartDetailResult>} - Success response
|
|
132
146
|
* @name getCart
|
|
133
147
|
* @summary: Get a cart
|
|
134
|
-
* @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://
|
|
148
|
+
* @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://docs.fynd.com/partners/commerce/sdk/application/cart/getCart/).
|
|
135
149
|
*/
|
|
136
|
-
getCart({ id, i, b, c, assignCardId, areaCode, buyNow, orderType, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
150
|
+
getCart({ xOrderingSource, xOrderingSourceType, id, i, b, c, assignCardId, areaCode, buyNow, orderType, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CartDetailResult>;
|
|
137
151
|
/**
|
|
138
152
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
139
153
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
140
154
|
* @returns {Promise<any>} - Success response
|
|
141
155
|
* @name getCartLastModified
|
|
142
156
|
* @summary: Get last modified timestamp of a cart
|
|
143
|
-
* @description: Retrieve the last modified timestamp of the cart using unique cart ID. It indicates the most recent update made to the cart's content or properties. - Check out [method documentation](https://
|
|
157
|
+
* @description: Retrieve the last modified timestamp of the cart using unique cart ID. It indicates the most recent update made to the cart's content or properties. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/cart/getCartLastModified/).
|
|
144
158
|
*/
|
|
145
159
|
getCartLastModified({ id, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<any>;
|
|
146
160
|
/**
|
|
147
161
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
148
162
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
149
|
-
* @returns {Promise<
|
|
163
|
+
* @returns {Promise<GetShareCartLinkResult>} - Success response
|
|
150
164
|
* @name getCartShareLink
|
|
151
165
|
* @summary: Create share cart link
|
|
152
|
-
* @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://
|
|
166
|
+
* @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://docs.fynd.com/partners/commerce/sdk/application/cart/getCartShareLink/).
|
|
153
167
|
*/
|
|
154
|
-
getCartShareLink({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
168
|
+
getCartShareLink({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<GetShareCartLinkResult>;
|
|
155
169
|
/**
|
|
156
170
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
157
171
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
158
|
-
* @returns {Promise<
|
|
172
|
+
* @returns {Promise<SharedCartResult>} - Success response
|
|
159
173
|
* @name getCartSharedItems
|
|
160
174
|
* @summary: List shared cart items
|
|
161
|
-
* @description: Get cart items from the shared cart link based on unique token. - Check out [method documentation](https://
|
|
175
|
+
* @description: Get cart items from the shared cart link based on unique token. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/cart/getCartSharedItems/).
|
|
162
176
|
*/
|
|
163
|
-
getCartSharedItems({ token, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<
|
|
177
|
+
getCartSharedItems({ token, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<SharedCartResult>;
|
|
164
178
|
/**
|
|
165
179
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
166
180
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
167
|
-
* @returns {Promise<
|
|
181
|
+
* @returns {Promise<GetCouponResult>} - Success response
|
|
168
182
|
* @name getCoupons
|
|
169
183
|
* @summary: List available coupons
|
|
170
|
-
* @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://
|
|
184
|
+
* @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://docs.fynd.com/partners/commerce/sdk/application/cart/getCoupons/).
|
|
171
185
|
*/
|
|
172
|
-
getCoupons({ id, buyNow,
|
|
186
|
+
getCoupons({ id, buyNow, productSlug, storeId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<GetCouponResult>;
|
|
173
187
|
/**
|
|
174
188
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
175
189
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
176
|
-
* @returns {Promise<
|
|
190
|
+
* @returns {Promise<CartItemCountResult>} - Success response
|
|
177
191
|
* @name getItemCount
|
|
178
192
|
* @summary: Get a cart items count
|
|
179
|
-
* @description: Get total count of items currently present in the customer's cart. - Check out [method documentation](https://
|
|
193
|
+
* @description: Get total count of items currently present in the customer's cart. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/cart/getItemCount/).
|
|
180
194
|
*/
|
|
181
|
-
getItemCount({ id, buyNow, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
195
|
+
getItemCount({ id, buyNow, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CartItemCountResult>;
|
|
182
196
|
/**
|
|
183
197
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
184
198
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
185
199
|
* @returns {Promise<LadderPriceOffers>} - Success response
|
|
186
200
|
* @name getLadderOffers
|
|
187
201
|
* @summary: List ladder offers
|
|
188
|
-
* @description: Get ladder offers associated for the items in the cart. Ladder offers provide discounts or special pricing based on item quantity, allowing users to benefit from bulk purchases or promotional deals. - Check out [method documentation](https://
|
|
202
|
+
* @description: Get ladder offers associated for the items in the cart. Ladder offers provide discounts or special pricing based on item quantity, allowing users to benefit from bulk purchases or promotional deals. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/cart/getLadderOffers/).
|
|
189
203
|
*/
|
|
190
204
|
getLadderOffers({ slug, storeId, promotionId, pageSize, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<LadderPriceOffers>;
|
|
191
205
|
/**
|
|
192
206
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
193
207
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
194
|
-
* @returns {Promise<
|
|
208
|
+
* @returns {Promise<GetOfferResult>} - Success response
|
|
209
|
+
* @name getOffers
|
|
210
|
+
* @summary: List available offers
|
|
211
|
+
* @description: List all offers available for the items in the cart, including details such as offer text, unique offer ID, validity period, etc. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/cart/getOffers/).
|
|
212
|
+
*/
|
|
213
|
+
getOffers({ mode, id, buyNow, productSlug, storeId, type, productSize, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<GetOfferResult>;
|
|
214
|
+
/**
|
|
215
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
216
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
217
|
+
* @returns {Promise<EligibleProductsResult>} - Success response
|
|
218
|
+
* @name getProductsByOfferId
|
|
219
|
+
* @summary: List eligible offer products
|
|
220
|
+
* @description: List all products eligible for the given offer. Lookup can be done by offer_code (takes priority) or offer_id. At least one must be provided. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/cart/getProductsByOfferId/).
|
|
221
|
+
*/
|
|
222
|
+
getProductsByOfferId({ offerCode, offerId, page, pageSize, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<EligibleProductsResult>;
|
|
223
|
+
/**
|
|
224
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
225
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
226
|
+
* @returns {Promise<PromotionOffersResult>} - Success response
|
|
195
227
|
* @name getPromotionOffers
|
|
196
228
|
* @summary: List available promotion offers
|
|
197
|
-
* @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://
|
|
229
|
+
* @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://docs.fynd.com/partners/commerce/sdk/application/cart/getPromotionOffers/).
|
|
198
230
|
*/
|
|
199
|
-
getPromotionOffers({ slug, pageSize, promotionGroup, storeId, cartType, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
231
|
+
getPromotionOffers({ slug, pageSize, promotionGroup, storeId, cartType, promotionType, cartId, autoApply, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PromotionOffersResult>;
|
|
200
232
|
/**
|
|
201
233
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
202
234
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
203
|
-
* @returns {Promise<
|
|
235
|
+
* @returns {Promise<PromotionPaymentOffersResult>} - Success response
|
|
204
236
|
* @name getPromotionPaymentOffers
|
|
205
237
|
* @summary: Fetch available promotions payment offers
|
|
206
|
-
* @description: Use this API to get top 5 payment offers available for current product. - Check out [method documentation](https://
|
|
238
|
+
* @description: Use this API to get top 5 payment offers available for current product. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/cart/getPromotionPaymentOffers/).
|
|
207
239
|
*/
|
|
208
|
-
getPromotionPaymentOffers({ id, uid, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
240
|
+
getPromotionPaymentOffers({ id, uid, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PromotionPaymentOffersResult>;
|
|
209
241
|
/**
|
|
210
242
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
211
243
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
212
|
-
* @returns {Promise<
|
|
244
|
+
* @returns {Promise<CartShipmentsResult>} - Success response
|
|
213
245
|
* @name getShipments
|
|
214
246
|
* @summary: List shipments
|
|
215
|
-
* @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://
|
|
247
|
+
* @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://docs.fynd.com/partners/commerce/sdk/application/cart/getShipments/).
|
|
216
248
|
*/
|
|
217
|
-
getShipments({ p, id, buyNow, addressId, areaCode, orderType, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
249
|
+
getShipments({ p, id, buyNow, addressId, areaCode, orderType, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CartShipmentsResult>;
|
|
218
250
|
/**
|
|
219
251
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
220
252
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
221
|
-
* @returns {Promise<
|
|
253
|
+
* @returns {Promise<DeleteAddressResult>} - Success response
|
|
222
254
|
* @name removeAddress
|
|
223
255
|
* @summary: Removes an address from a customer's address list
|
|
224
|
-
* @description: Delete an existing customer address from the system. - Check out [method documentation](https://
|
|
256
|
+
* @description: Delete an existing customer address from the system. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/cart/removeAddress/).
|
|
225
257
|
*/
|
|
226
|
-
removeAddress({ id, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<
|
|
258
|
+
removeAddress({ id, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<DeleteAddressResult>;
|
|
227
259
|
/**
|
|
228
260
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
229
261
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
230
|
-
* @returns {Promise<
|
|
262
|
+
* @returns {Promise<CartDetailResult>} - Success response
|
|
231
263
|
* @name removeCoupon
|
|
232
264
|
* @summary: Remove coupon
|
|
233
|
-
* @description: Remove an applied coupon from the customer's cart, thereby removing the associated discount from the cart total. - Check out [method documentation](https://
|
|
265
|
+
* @description: Remove an applied coupon from the customer's cart, thereby removing the associated discount from the cart total. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/cart/removeCoupon/).
|
|
266
|
+
*/
|
|
267
|
+
removeCoupon({ xOrderingSource, xOrderingSourceType, id, buyNow, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CartDetailResult>;
|
|
268
|
+
/**
|
|
269
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
270
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
271
|
+
* @returns {Promise<OfferListItem>} - Success response
|
|
272
|
+
* @name removeOffer
|
|
273
|
+
* @summary: Remove offer from cart
|
|
274
|
+
* @description: Remove an applied offer from the customer's cart, thereby removing the associated discount from the cart total. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/cart/removeOffer/).
|
|
234
275
|
*/
|
|
235
|
-
|
|
276
|
+
removeOffer({ id, buyNow, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<OfferListItem>;
|
|
236
277
|
/**
|
|
237
278
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
238
279
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
239
|
-
* @returns {Promise<
|
|
280
|
+
* @returns {Promise<CartDetailResult>} - Success response
|
|
240
281
|
* @name selectAddress
|
|
241
282
|
* @summary: Select customer address for order processing
|
|
242
|
-
* @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://
|
|
283
|
+
* @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://docs.fynd.com/partners/commerce/sdk/application/cart/selectAddress/).
|
|
243
284
|
*/
|
|
244
|
-
selectAddress({ body, cartId, buyNow, i, b, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
285
|
+
selectAddress({ body, xOrderingSource, xOrderingSourceType, cartId, buyNow, i, b, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CartDetailResult>;
|
|
245
286
|
/**
|
|
246
287
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
247
288
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
248
|
-
* @returns {Promise<
|
|
289
|
+
* @returns {Promise<CartDetailResult>} - Success response
|
|
249
290
|
* @name selectPaymentMode
|
|
250
291
|
* @summary: Select payment mode
|
|
251
|
-
* @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://
|
|
292
|
+
* @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://docs.fynd.com/partners/commerce/sdk/application/cart/selectPaymentMode/).
|
|
252
293
|
*/
|
|
253
|
-
selectPaymentMode({ body, id, buyNow, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
294
|
+
selectPaymentMode({ body, xOrderingSource, xOrderingSourceType, id, buyNow, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CartDetailResult>;
|
|
254
295
|
/**
|
|
255
296
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
256
297
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
257
|
-
* @returns {Promise<
|
|
298
|
+
* @returns {Promise<UpdateAddressResult>} - Success response
|
|
258
299
|
* @name updateAddress
|
|
259
300
|
* @summary: Updates an existing customer address
|
|
260
|
-
* @description: Customer can modify the details of a previously saved
|
|
301
|
+
* @description: Customer can modify the details of a previously saved address. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/cart/updateAddress/).
|
|
261
302
|
*/
|
|
262
|
-
updateAddress({ id, body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<
|
|
303
|
+
updateAddress({ id, body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<UpdateAddressResult>;
|
|
263
304
|
/**
|
|
264
305
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
265
306
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
266
|
-
* @returns {Promise<
|
|
307
|
+
* @returns {Promise<UpdateCartDetailResult>} - Success response
|
|
267
308
|
* @name updateCart
|
|
268
309
|
* @summary: Update cart items
|
|
269
|
-
* @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://
|
|
310
|
+
* @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://docs.fynd.com/partners/commerce/sdk/application/cart/updateCart/).
|
|
311
|
+
*/
|
|
312
|
+
updateCart({ body, xOrderingSource, xOrderingSourceType, id, i, b, includeCartCalculation, areaCode, buyNow, cartType, orderType, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<UpdateCartDetailResult>;
|
|
313
|
+
/**
|
|
314
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
315
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
316
|
+
* @returns {Promise<UpdateCartDetailResult>} - Success response
|
|
317
|
+
* @name updateCartBreakup
|
|
318
|
+
* @summary: Update store credits into cart and their items
|
|
319
|
+
* @description: Update cart. Customers can adjust the cart breakup by applying or removing store credits as needed. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/cart/updateCartBreakup/).
|
|
270
320
|
*/
|
|
271
|
-
|
|
321
|
+
updateCartBreakup({ body, xOrderingSource, xOrderingSourceType, id, i, b, buyNow, cartType, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<UpdateCartDetailResult>;
|
|
272
322
|
/**
|
|
273
323
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
274
324
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
275
|
-
* @returns {Promise<
|
|
325
|
+
* @returns {Promise<CartMetaResult>} - Success response
|
|
276
326
|
* @name updateCartMeta
|
|
277
327
|
* @summary: Update cart metadata
|
|
278
|
-
* @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://
|
|
328
|
+
* @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://docs.fynd.com/partners/commerce/sdk/application/cart/updateCartMeta/).
|
|
279
329
|
*/
|
|
280
|
-
updateCartMeta({ body, id, buyNow, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
330
|
+
updateCartMeta({ body, id, buyNow, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CartMetaResult>;
|
|
281
331
|
/**
|
|
282
332
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
283
333
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
284
|
-
* @returns {Promise<
|
|
334
|
+
* @returns {Promise<SharedCartResult>} - Success response
|
|
285
335
|
* @name updateCartWithSharedItems
|
|
286
336
|
* @summary: Update with shared items
|
|
287
|
-
* @description: Merge or replace shared cart items with existing cart. - Check out [method documentation](https://
|
|
337
|
+
* @description: Merge or replace shared cart items with existing cart. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/cart/updateCartWithSharedItems/).
|
|
288
338
|
*/
|
|
289
|
-
updateCartWithSharedItems({ token, action, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<
|
|
339
|
+
updateCartWithSharedItems({ token, action, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<SharedCartResult>;
|
|
290
340
|
/**
|
|
291
341
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
292
342
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
293
343
|
* @returns {Promise<PaymentCouponValidate>} - Success response
|
|
294
344
|
* @name validateCouponForPayment
|
|
295
345
|
* @summary: Validate applied coupon
|
|
296
|
-
* @description: Validate the applicability of a coupon code for the selected payment mode for the existing cart. This ensures the coupon's validity before proceeding with the payment process, enhancing user experience and preventing potential errors during transactions. - Check out [method documentation](https://
|
|
346
|
+
* @description: Validate the applicability of a coupon code for the selected payment mode for the existing cart. This ensures the coupon's validity before proceeding with the payment process, enhancing user experience and preventing potential errors during transactions. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/cart/validateCouponForPayment/).
|
|
297
347
|
*/
|
|
298
|
-
validateCouponForPayment({ id, buyNow, addressId, paymentMode, paymentIdentifier, aggregatorName, merchantCode, iin, network, type, cardId, cartType, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PaymentCouponValidate>;
|
|
348
|
+
validateCouponForPayment({ xOrderingSource, xOrderingSourceType, id, buyNow, addressId, paymentMode, paymentIdentifier, aggregatorName, merchantCode, iin, network, type, cardId, cartType, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PaymentCouponValidate>;
|
|
299
349
|
}
|