@gofynd/fdk-client-javascript 1.4.3 → 1.4.5

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.
Files changed (125) hide show
  1. package/README.md +1 -10
  2. package/package.json +1 -1
  3. package/sdk/application/Cart/CartApplicationClient.d.ts +48 -48
  4. package/sdk/application/Cart/CartApplicationClient.js +48 -48
  5. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +69 -69
  6. package/sdk/application/Catalog/CatalogApplicationClient.js +69 -69
  7. package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
  8. package/sdk/application/Common/CommonApplicationClient.js +4 -4
  9. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +6 -6
  10. package/sdk/application/Communication/CommunicationApplicationClient.js +6 -6
  11. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +32 -32
  12. package/sdk/application/Configuration/ConfigurationApplicationClient.js +32 -32
  13. package/sdk/application/Content/ContentApplicationClient.d.ts +45 -45
  14. package/sdk/application/Content/ContentApplicationClient.js +45 -45
  15. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +5 -5
  16. package/sdk/application/FileStorage/FileStorageApplicationClient.js +5 -5
  17. package/sdk/application/Lead/LeadApplicationClient.d.ts +9 -9
  18. package/sdk/application/Lead/LeadApplicationClient.js +9 -9
  19. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +22 -22
  20. package/sdk/application/Logistic/LogisticApplicationClient.js +22 -22
  21. package/sdk/application/Order/OrderApplicationClient.d.ts +14 -25
  22. package/sdk/application/Order/OrderApplicationClient.js +14 -94
  23. package/sdk/application/Order/OrderApplicationValidator.d.ts +1 -15
  24. package/sdk/application/Order/OrderApplicationValidator.js +0 -13
  25. package/sdk/application/Payment/PaymentApplicationClient.d.ts +71 -71
  26. package/sdk/application/Payment/PaymentApplicationClient.js +71 -71
  27. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +1 -1
  28. package/sdk/application/Rewards/RewardsApplicationClient.js +1 -1
  29. package/sdk/application/Share/ShareApplicationClient.d.ts +1 -1
  30. package/sdk/application/Share/ShareApplicationClient.js +1 -1
  31. package/sdk/application/Share/ShareApplicationModel.d.ts +2 -0
  32. package/sdk/application/Share/ShareApplicationModel.js +2 -0
  33. package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -8
  34. package/sdk/application/Theme/ThemeApplicationClient.js +8 -8
  35. package/sdk/application/User/UserApplicationClient.d.ts +74 -74
  36. package/sdk/application/User/UserApplicationClient.js +74 -74
  37. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +5 -5
  38. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +5 -5
  39. package/sdk/platform/Billing/BillingPlatformClient.d.ts +13 -13
  40. package/sdk/platform/Billing/BillingPlatformClient.js +13 -13
  41. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +102 -102
  42. package/sdk/platform/Cart/CartPlatformApplicationClient.js +102 -102
  43. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +132 -131
  44. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +132 -131
  45. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +130 -130
  46. package/sdk/platform/Catalog/CatalogPlatformClient.js +130 -130
  47. package/sdk/platform/Common/CommonPlatformClient.d.ts +2 -2
  48. package/sdk/platform/Common/CommonPlatformClient.js +2 -2
  49. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +118 -118
  50. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +118 -118
  51. package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +1 -1
  52. package/sdk/platform/Communication/CommunicationPlatformClient.js +1 -1
  53. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +22 -22
  54. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +22 -22
  55. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +34 -7
  56. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +35 -5
  57. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +4 -4
  58. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +4 -4
  59. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +41 -41
  60. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +41 -41
  61. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +26 -26
  62. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +26 -26
  63. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +93 -93
  64. package/sdk/platform/Content/ContentPlatformApplicationClient.js +93 -93
  65. package/sdk/platform/Content/ContentPlatformClient.d.ts +29 -29
  66. package/sdk/platform/Content/ContentPlatformClient.js +29 -29
  67. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +18 -18
  68. package/sdk/platform/Discount/DiscountPlatformClient.js +18 -18
  69. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +18 -17
  70. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +18 -17
  71. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +6 -6
  72. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +6 -6
  73. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +2 -2
  74. package/sdk/platform/Finance/FinancePlatformClient.d.ts +4 -4
  75. package/sdk/platform/Finance/FinancePlatformClient.js +4 -4
  76. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +12 -12
  77. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +12 -12
  78. package/sdk/platform/Lead/LeadPlatformClient.d.ts +15 -15
  79. package/sdk/platform/Lead/LeadPlatformClient.js +15 -15
  80. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +10 -10
  81. package/sdk/platform/Order/OrderPlatformApplicationClient.js +10 -10
  82. package/sdk/platform/Order/OrderPlatformClient.d.ts +95 -106
  83. package/sdk/platform/Order/OrderPlatformClient.js +95 -190
  84. package/sdk/platform/Order/OrderPlatformModel.d.ts +10 -0
  85. package/sdk/platform/Order/OrderPlatformModel.js +4 -0
  86. package/sdk/platform/Order/OrderPlatformValidator.d.ts +1 -33
  87. package/sdk/platform/Order/OrderPlatformValidator.js +0 -20
  88. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -4
  89. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +4 -4
  90. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +77 -77
  91. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +77 -77
  92. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +2 -2
  93. package/sdk/platform/Payment/PaymentPlatformClient.js +2 -2
  94. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +7 -0
  95. package/sdk/platform/Payment/PaymentPlatformModel.js +3 -0
  96. package/sdk/platform/PlatformClient.d.ts +0 -2
  97. package/sdk/platform/PlatformClient.js +0 -4
  98. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +7 -7
  99. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +7 -7
  100. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +40 -40
  101. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +40 -40
  102. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +51 -50
  103. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +51 -50
  104. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +1 -1
  105. package/sdk/platform/Share/SharePlatformApplicationClient.js +1 -1
  106. package/sdk/platform/Share/SharePlatformModel.d.ts +2 -0
  107. package/sdk/platform/Share/SharePlatformModel.js +2 -0
  108. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +34 -104
  109. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +34 -591
  110. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +1 -100
  111. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +0 -92
  112. package/sdk/platform/Theme/ThemePlatformClient.d.ts +6 -6
  113. package/sdk/platform/Theme/ThemePlatformClient.js +6 -6
  114. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +35 -35
  115. package/sdk/platform/User/UserPlatformApplicationClient.js +35 -35
  116. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +7 -6
  117. package/sdk/platform/Webhook/WebhookPlatformClient.js +7 -6
  118. package/sdk/platform/index.d.ts +0 -1
  119. package/sdk/platform/index.js +0 -2
  120. package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +0 -152
  121. package/sdk/platform/Inventory/InventoryPlatformClient.js +0 -1017
  122. package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +0 -1355
  123. package/sdk/platform/Inventory/InventoryPlatformModel.js +0 -1544
  124. package/sdk/platform/Inventory/InventoryPlatformValidator.d.ts +0 -171
  125. package/sdk/platform/Inventory/InventoryPlatformValidator.js +0 -159
@@ -67,8 +67,8 @@ class Cart {
67
67
  * @param {import("../ApplicationAPIClient").Options} - Options
68
68
  * @returns {Promise<CartApplicationModel.SaveAddressResponse>} - Success response
69
69
  * @name addAddress
70
- * @summary: Add new address
71
- * @description: Saves a new address for the user. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/addAddress/).
70
+ * @summary: Create a new address
71
+ * @description: Customers can 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/).
72
72
  */
73
73
  async addAddress(
74
74
  { body, requestHeaders } = { requestHeaders: {} },
@@ -143,8 +143,8 @@ class Cart {
143
143
  * @param {import("../ApplicationAPIClient").Options} - Options
144
144
  * @returns {Promise<CartApplicationModel.AddCartDetailResponse>} - Success response
145
145
  * @name addItems
146
- * @summary: Add to cart
147
- * @description: Adds selected items to the shopping cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/addItems/).
146
+ * @summary: Add items to a cart
147
+ * @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/).
148
148
  */
149
149
  async addItems(
150
150
  { body, i, b, areaCode, buyNow, id, requestHeaders } = {
@@ -227,7 +227,7 @@ class Cart {
227
227
  * @returns {Promise<CartApplicationModel.CartDetailResponse>} - Success response
228
228
  * @name applyCoupon
229
229
  * @summary: Apply coupon
230
- * @description: Applies a coupon code to get discounts on cart items. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/applyCoupon/).
230
+ * @description: Apply a coupon code to the customer's cart to trigger discounts on eligible items - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/applyCoupon/).
231
231
  */
232
232
  async applyCoupon(
233
233
  { body, i, b, p, id, buyNow, cartType, requestHeaders } = {
@@ -311,7 +311,7 @@ class Cart {
311
311
  * @returns {Promise<CartApplicationModel.CartDetailResponse>} - Success response
312
312
  * @name applyRewardPoints
313
313
  * @summary: Use reward points
314
- * @description: Applies user’s reward points to the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/applyRewardPoints/).
314
+ * @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/).
315
315
  */
316
316
  async applyRewardPoints(
317
317
  { body, id, i, b, buyNow, requestHeaders } = { requestHeaders: {} },
@@ -393,7 +393,7 @@ class Cart {
393
393
  * @returns {Promise<CartApplicationModel.CartCheckoutResponse>} - Success response
394
394
  * @name checkoutCart
395
395
  * @summary: Checkout cart
396
- * @description: Initiates the checkout process for the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/checkoutCart/).
396
+ * @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/).
397
397
  */
398
398
  async checkoutCart(
399
399
  { body, buyNow, cartType, requestHeaders } = { requestHeaders: {} },
@@ -472,8 +472,8 @@ class Cart {
472
472
  * @param {import("../ApplicationAPIClient").Options} - Options
473
473
  * @returns {Promise<CartApplicationModel.CartCheckoutResponse>} - Success response
474
474
  * @name checkoutCartV2
475
- * @summary: Enhanced cart checkout process
476
- * @description: Initiates a more secure and detailed checkout process. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/checkoutCartV2/).
475
+ * @summary: Start cart checkout (latest)
476
+ * @description: Enhanced version of checkout process that supports multiple mode of payment(MOP). - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/checkoutCartV2/).
477
477
  */
478
478
  async checkoutCartV2(
479
479
  { body, buyNow, cartType, requestHeaders } = { requestHeaders: {} },
@@ -553,8 +553,8 @@ class Cart {
553
553
  * @returns {Promise<CartApplicationModel.DeleteCartDetailResponse>} -
554
554
  * Success response
555
555
  * @name deleteCart
556
- * @summary: Clears the cart
557
- * @description: Removes all items and resets the user's cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/deleteCart/).
556
+ * @summary: Delete a cart
557
+ * @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/).
558
558
  */
559
559
  async deleteCart(
560
560
  { id, requestHeaders } = { requestHeaders: {} },
@@ -630,8 +630,8 @@ class Cart {
630
630
  * @param {import("../ApplicationAPIClient").Options} - Options
631
631
  * @returns {Promise<CartApplicationModel.Address>} - Success response
632
632
  * @name getAddressById
633
- * @summary: Fetch address
634
- * @description: Retrieves a saved address using its ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getAddressById/).
633
+ * @summary: Get a address
634
+ * @description: Retrieve 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://partners.fynd.com/help/docs/sdk/application/cart/getAddressById/).
635
635
  */
636
636
  async getAddressById(
637
637
  {
@@ -723,8 +723,8 @@ class Cart {
723
723
  * @param {import("../ApplicationAPIClient").Options} - Options
724
724
  * @returns {Promise<CartApplicationModel.GetAddressesResponse>} - Success response
725
725
  * @name getAddresses
726
- * @summary: Get saved addresses
727
- * @description: Retrieve all saved addresses for the user. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getAddresses/).
726
+ * @summary: List customer addresses
727
+ * @description: Retrieve a list of 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/).
728
728
  */
729
729
  async getAddresses(
730
730
  {
@@ -815,8 +815,8 @@ class Cart {
815
815
  * @param {import("../ApplicationAPIClient").Options} - Options
816
816
  * @returns {Promise<CartApplicationModel.BulkPriceResponse>} - Success response
817
817
  * @name getBulkDiscountOffers
818
- * @summary: Bulk discounts
819
- * @description: Lists available bulk discount offers for cart items. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getBulkDiscountOffers/).
818
+ * @summary: List bulk discounts
819
+ * @description: Retrieve a list of 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/).
820
820
  */
821
821
  async getBulkDiscountOffers(
822
822
  { itemId, articleId, uid, slug, requestHeaders } = { requestHeaders: {} },
@@ -897,8 +897,8 @@ class Cart {
897
897
  * @param {import("../ApplicationAPIClient").Options} - Options
898
898
  * @returns {Promise<CartApplicationModel.CartDetailResponse>} - Success response
899
899
  * @name getCart
900
- * @summary: Retrieve cart details
901
- * @description: Retrieve the current state and items in the shopping cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getCart/).
900
+ * @summary: Get a cart
901
+ * @description: Retrieve details of a cart linked to a specific customer using either the customer's ID or 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/).
902
902
  */
903
903
  async getCart(
904
904
  { id, i, b, c, assignCardId, areaCode, buyNow, requestHeaders } = {
@@ -982,8 +982,8 @@ class Cart {
982
982
  * @param {import("../ApplicationAPIClient").Options} - Options
983
983
  * @returns {Promise<any>} - Success response
984
984
  * @name getCartLastModified
985
- * @summary: Cart modification time
986
- * @description: Gets the last modified timestamp for the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getCartLastModified/).
985
+ * @summary: Get last modified timestamp of a cart
986
+ * @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://partners.fynd.com/help/docs/sdk/application/cart/getCartLastModified/).
987
987
  */
988
988
  async getCartLastModified(
989
989
  { id, requestHeaders } = { requestHeaders: {} },
@@ -1059,8 +1059,8 @@ class Cart {
1059
1059
  * @returns {Promise<CartApplicationModel.GetShareCartLinkResponse>} -
1060
1060
  * Success response
1061
1061
  * @name getCartShareLink
1062
- * @summary: Share cart link
1063
- * @description: Generates a shareable link for the current cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getCartShareLink/).
1062
+ * @summary: Create share cart link
1063
+ * @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/).
1064
1064
  */
1065
1065
  async getCartShareLink(
1066
1066
  { body, requestHeaders } = { requestHeaders: {} },
@@ -1137,8 +1137,8 @@ class Cart {
1137
1137
  * @param {import("../ApplicationAPIClient").Options} - Options
1138
1138
  * @returns {Promise<CartApplicationModel.SharedCartResponse>} - Success response
1139
1139
  * @name getCartSharedItems
1140
- * @summary: Shared cart items
1141
- * @description: Retrieves items from a shared cart link. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getCartSharedItems/).
1140
+ * @summary: List shared cart items
1141
+ * @description: Retrieve the 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/).
1142
1142
  */
1143
1143
  async getCartSharedItems(
1144
1144
  { token, requestHeaders } = { requestHeaders: {} },
@@ -1216,7 +1216,7 @@ class Cart {
1216
1216
  * @returns {Promise<CartApplicationModel.GetCouponResponse>} - Success response
1217
1217
  * @name getCoupons
1218
1218
  * @summary: List available coupons
1219
- * @description: Retrieve coupons that can be applied to the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getCoupons/).
1219
+ * @description: Retrieve a list of 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/).
1220
1220
  */
1221
1221
  async getCoupons(
1222
1222
  { id, buyNow, slug, storeId, requestHeaders } = { requestHeaders: {} },
@@ -1295,8 +1295,8 @@ class Cart {
1295
1295
  * @param {import("../ApplicationAPIClient").Options} - Options
1296
1296
  * @returns {Promise<CartApplicationModel.CartItemCountResponse>} - Success response
1297
1297
  * @name getItemCount
1298
- * @summary: Count cart items
1299
- * @description: Gets the total number of items in the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getItemCount/).
1298
+ * @summary: Get a cart items count
1299
+ * @description: Retrieve the 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/).
1300
1300
  */
1301
1301
  async getItemCount(
1302
1302
  { id, buyNow, requestHeaders } = { requestHeaders: {} },
@@ -1375,8 +1375,8 @@ class Cart {
1375
1375
  * @param {import("../ApplicationAPIClient").Options} - Options
1376
1376
  * @returns {Promise<CartApplicationModel.LadderPriceOffers>} - Success response
1377
1377
  * @name getLadderOffers
1378
- * @summary: Fetches ladder offers
1379
- * @description: Gets tiered discounts based on cart value. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getLadderOffers/).
1378
+ * @summary: List ladder offers
1379
+ * @description: Retrieve 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://partners.fynd.com/help/docs/sdk/application/cart/getLadderOffers/).
1380
1380
  */
1381
1381
  async getLadderOffers(
1382
1382
  { slug, storeId, promotionId, pageSize, requestHeaders } = {
@@ -1459,8 +1459,8 @@ class Cart {
1459
1459
  * @param {import("../ApplicationAPIClient").Options} - Options
1460
1460
  * @returns {Promise<CartApplicationModel.PromotionOffersResponse>} - Success response
1461
1461
  * @name getPromotionOffers
1462
- * @summary: Retrieves promotional offers
1463
- * @description: Lists all available promotional offers for the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getPromotionOffers/).
1462
+ * @summary: List available promotion offers
1463
+ * @description: Retrieve a list of 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/).
1464
1464
  */
1465
1465
  async getPromotionOffers(
1466
1466
  { slug, pageSize, promotionGroup, storeId, cartType, requestHeaders } = {
@@ -1545,7 +1545,7 @@ class Cart {
1545
1545
  * @returns {Promise<CartApplicationModel.CartShipmentsResponse>} - Success response
1546
1546
  * @name getShipments
1547
1547
  * @summary: List shipments
1548
- * @description: Retrieve shipment details for items in the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getShipments/).
1548
+ * @description: Retrieve 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/).
1549
1549
  */
1550
1550
  async getShipments(
1551
1551
  { p, id, buyNow, addressId, areaCode, orderType, requestHeaders } = {
@@ -1630,8 +1630,8 @@ class Cart {
1630
1630
  * @param {import("../ApplicationAPIClient").Options} - Options
1631
1631
  * @returns {Promise<CartApplicationModel.DeleteAddressResponse>} - Success response
1632
1632
  * @name removeAddress
1633
- * @summary: Delete address
1634
- * @description: Removes a saved address from the user's profile. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/removeAddress/).
1633
+ * @summary: Delete a address
1634
+ * @description: Removes an existing customer address from the system. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/removeAddress/).
1635
1635
  */
1636
1636
  async removeAddress(
1637
1637
  { id, requestHeaders } = { requestHeaders: {} },
@@ -1709,7 +1709,7 @@ class Cart {
1709
1709
  * @returns {Promise<CartApplicationModel.CartDetailResponse>} - Success response
1710
1710
  * @name removeCoupon
1711
1711
  * @summary: Remove coupon
1712
- * @description: Removes an applied coupon from the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/removeCoupon/).
1712
+ * @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/).
1713
1713
  */
1714
1714
  async removeCoupon(
1715
1715
  { id, buyNow, requestHeaders } = { requestHeaders: {} },
@@ -1788,8 +1788,8 @@ class Cart {
1788
1788
  * @param {import("../ApplicationAPIClient").Options} - Options
1789
1789
  * @returns {Promise<CartApplicationModel.CartDetailResponse>} - Success response
1790
1790
  * @name selectAddress
1791
- * @summary: Choose delivery address
1792
- * @description: Selects an address for the cart's delivery. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/selectAddress/).
1791
+ * @summary: Select a delivery address
1792
+ * @description: Selects 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/).
1793
1793
  */
1794
1794
  async selectAddress(
1795
1795
  { body, cartId, buyNow, i, b, requestHeaders } = { requestHeaders: {} },
@@ -1870,8 +1870,8 @@ class Cart {
1870
1870
  * @param {import("../ApplicationAPIClient").Options} - Options
1871
1871
  * @returns {Promise<CartApplicationModel.CartDetailResponse>} - Success response
1872
1872
  * @name selectPaymentMode
1873
- * @summary: Pick payment method
1874
- * @description: Chooses a payment mode for the checkout process. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/selectPaymentMode/).
1873
+ * @summary: Select payment mode
1874
+ * @description: Customers can 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/).
1875
1875
  */
1876
1876
  async selectPaymentMode(
1877
1877
  { body, id, buyNow, requestHeaders } = { requestHeaders: {} },
@@ -1950,8 +1950,8 @@ class Cart {
1950
1950
  * @param {import("../ApplicationAPIClient").Options} - Options
1951
1951
  * @returns {Promise<CartApplicationModel.UpdateAddressResponse>} - Success response
1952
1952
  * @name updateAddress
1953
- * @summary: Update address
1954
- * @description: Modifies a saved address. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/updateAddress/).
1953
+ * @summary: Update a address
1954
+ * @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/).
1955
1955
  */
1956
1956
  async updateAddress(
1957
1957
  { id, body, requestHeaders } = { requestHeaders: {} },
@@ -2029,8 +2029,8 @@ class Cart {
2029
2029
  * @returns {Promise<CartApplicationModel.UpdateCartDetailResponse>} -
2030
2030
  * Success response
2031
2031
  * @name updateCart
2032
- * @summary: Update cart
2033
- * @description: Modifies items and quantities in the existing cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/updateCart/).
2032
+ * @summary: Update cart items
2033
+ * @description: 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/).
2034
2034
  */
2035
2035
  async updateCart(
2036
2036
  { body, id, i, b, areaCode, buyNow, cartType, requestHeaders } = {
@@ -2114,7 +2114,7 @@ class Cart {
2114
2114
  * @returns {Promise<CartApplicationModel.CartMetaResponse>} - Success response
2115
2115
  * @name updateCartMeta
2116
2116
  * @summary: Update cart metadata
2117
- * @description: Adds or modifies metadata for the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/updateCartMeta/).
2117
+ * @description: Add or modify 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/).
2118
2118
  */
2119
2119
  async updateCartMeta(
2120
2120
  { body, id, buyNow, requestHeaders } = { requestHeaders: {} },
@@ -2194,7 +2194,7 @@ class Cart {
2194
2194
  * @returns {Promise<CartApplicationModel.SharedCartResponse>} - Success response
2195
2195
  * @name updateCartWithSharedItems
2196
2196
  * @summary: Update with shared items
2197
- * @description: Updates the cart with items from a shared link. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/updateCartWithSharedItems/).
2197
+ * @description: Customer can either merge or replace shared cart items with existing cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/updateCartWithSharedItems/).
2198
2198
  */
2199
2199
  async updateCartWithSharedItems(
2200
2200
  { token, action, requestHeaders } = { requestHeaders: {} },
@@ -2273,8 +2273,8 @@ class Cart {
2273
2273
  * @param {import("../ApplicationAPIClient").Options} - Options
2274
2274
  * @returns {Promise<CartApplicationModel.PaymentCouponValidate>} - Success response
2275
2275
  * @name validateCouponForPayment
2276
- * @summary: Validate coupon
2277
- * @description: Checks if a coupon is valid for the selected payment mode. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/validateCouponForPayment/).
2276
+ * @summary: Validate applied coupon
2277
+ * @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://partners.fynd.com/help/docs/sdk/application/cart/validateCouponForPayment/).
2278
2278
  */
2279
2279
  async validateCouponForPayment(
2280
2280
  {