@gofynd/fdk-client-javascript 3.16.3 → 3.17.1

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 (90) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/ApplicationClient.d.ts +0 -2
  4. package/sdk/application/ApplicationClient.js +0 -2
  5. package/sdk/application/Cart/CartApplicationClient.d.ts +40 -0
  6. package/sdk/application/Cart/CartApplicationClient.js +176 -0
  7. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +18 -4
  8. package/sdk/application/Catalog/CatalogApplicationClient.js +47 -4
  9. package/sdk/application/Content/ContentApplicationClient.d.ts +21 -1
  10. package/sdk/application/Content/ContentApplicationClient.js +93 -2
  11. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +11 -21
  12. package/sdk/application/Logistic/LogisticApplicationClient.js +34 -83
  13. package/sdk/application/Order/OrderApplicationClient.d.ts +11 -0
  14. package/sdk/application/Order/OrderApplicationClient.js +50 -0
  15. package/sdk/application/Payment/PaymentApplicationClient.d.ts +5 -5
  16. package/sdk/application/Payment/PaymentApplicationClient.js +5 -4
  17. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +84 -0
  18. package/sdk/partner/Logistics/LogisticsPartnerClient.js +712 -0
  19. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +237 -1
  20. package/sdk/partner/Logistics/LogisticsPartnerModel.js +157 -0
  21. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +8 -0
  22. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +70 -0
  23. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +74 -12
  24. package/sdk/platform/Cart/CartPlatformApplicationClient.js +637 -36
  25. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +225 -1
  26. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +147 -0
  27. package/sdk/platform/Cart/CartPlatformModel.d.ts +952 -5
  28. package/sdk/platform/Cart/CartPlatformModel.js +598 -2
  29. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +125 -5
  30. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +831 -41
  31. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +205 -7
  32. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +154 -3
  33. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +5 -16
  34. package/sdk/platform/Catalog/CatalogPlatformClient.js +8 -85
  35. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1025 -159
  36. package/sdk/platform/Catalog/CatalogPlatformModel.js +840 -165
  37. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +8 -10
  38. package/sdk/platform/Catalog/CatalogPlatformValidator.js +3 -12
  39. package/sdk/platform/Common/CommonPlatformModel.d.ts +18 -1
  40. package/sdk/platform/Common/CommonPlatformModel.js +14 -0
  41. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +1 -73
  42. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +4 -462
  43. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +7 -45
  44. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +4 -55
  45. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +10 -2
  46. package/sdk/platform/Communication/CommunicationPlatformModel.js +3 -2
  47. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +14 -0
  48. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +6 -0
  49. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +92 -1
  50. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +54 -0
  51. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +21 -0
  52. package/sdk/platform/Discount/DiscountPlatformModel.js +9 -0
  53. package/sdk/platform/Order/OrderPlatformClient.d.ts +27 -19
  54. package/sdk/platform/Order/OrderPlatformClient.js +176 -108
  55. package/sdk/platform/Order/OrderPlatformModel.d.ts +359 -45
  56. package/sdk/platform/Order/OrderPlatformModel.js +218 -44
  57. package/sdk/platform/Order/OrderPlatformValidator.d.ts +40 -43
  58. package/sdk/platform/Order/OrderPlatformValidator.js +35 -30
  59. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +14 -3
  60. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +88 -6
  61. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +28 -3
  62. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +22 -2
  63. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +376 -11
  64. package/sdk/platform/Payment/PaymentPlatformModel.js +243 -10
  65. package/sdk/platform/PlatformApplicationClient.d.ts +0 -2
  66. package/sdk/platform/PlatformApplicationClient.js +0 -4
  67. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +0 -13
  68. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +0 -82
  69. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +1 -10
  70. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +0 -12
  71. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +212 -28
  72. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +133 -13
  73. package/sdk/platform/User/UserPlatformModel.d.ts +2 -2
  74. package/sdk/platform/User/UserPlatformModel.js +4 -4
  75. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +29 -0
  76. package/sdk/platform/Webhook/WebhookPlatformModel.js +13 -0
  77. package/sdk/platform/index.d.ts +0 -1
  78. package/sdk/platform/index.js +0 -2
  79. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +27 -1
  80. package/sdk/public/Configuration/ConfigurationPublicModel.js +19 -0
  81. package/sdk/public/Webhook/WebhookPublicModel.d.ts +29 -0
  82. package/sdk/public/Webhook/WebhookPublicModel.js +13 -0
  83. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +0 -79
  84. package/sdk/application/Rewards/RewardsApplicationClient.js +0 -315
  85. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +0 -136
  86. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +0 -976
  87. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +0 -152
  88. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +0 -157
  89. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +0 -387
  90. package/sdk/platform/Rewards/RewardsPlatformModel.js +0 -410
@@ -42,7 +42,7 @@ declare class Cart {
42
42
  * @summary: Apply coupon
43
43
  * @description: Apply a coupon code to the customer's cart to trigger discounts on eligible items - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/applyCoupon/).
44
44
  */
45
- applyCoupon({ body, xOrderingSource, i, b, p, id, buyNow, requestHeaders }?: CartPlatformApplicationValidator.ApplyCouponParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartDetailResult>;
45
+ applyCoupon({ body, xOrderingSource, xAnonymousCart, i, b, p, id, buyNow, requestHeaders, }?: CartPlatformApplicationValidator.ApplyCouponParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartDetailResult>;
46
46
  /**
47
47
  * @param {CartPlatformApplicationValidator.ApplyLoyaltyPointsParam} arg - Arg object
48
48
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -75,7 +75,7 @@ declare class Cart {
75
75
  * @summary: Checkout cart
76
76
  * @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/platform/cart/checkoutCart/).
77
77
  */
78
- checkoutCart({ body, xOrderingSource, requestHeaders }?: CartPlatformApplicationValidator.CheckoutCartParam, { responseHeaders }?: object): Promise<CartPlatformModel.OpenApiCheckoutResult>;
78
+ checkoutCart({ body, xOrderingSource, xAnonymousCart, requestHeaders }?: CartPlatformApplicationValidator.CheckoutCartParam, { responseHeaders }?: object): Promise<CartPlatformModel.OpenApiCheckoutResult>;
79
79
  /**
80
80
  * @param {CartPlatformApplicationValidator.CreateCartMetaConfigParam} arg
81
81
  * - Arg object
@@ -98,6 +98,16 @@ declare class Cart {
98
98
  * @description: Creates a new coupon based on the selected coupon type. Sellers can choose from multiple supported coupon types, including percentage value, fixed amount value, bundled discount, buy X get Y items, and more, along with customizable coupon criteria to meet specific business requirements. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/createCoupon/).
99
99
  */
100
100
  createCoupon({ body, requestHeaders }?: CartPlatformApplicationValidator.CreateCouponParam, { responseHeaders }?: object): Promise<CartPlatformModel.CouponCreateResult>;
101
+ /**
102
+ * @param {CartPlatformApplicationValidator.CreateOfferParam} arg - Arg object
103
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
104
+ * @param {import("../PlatformAPIClient").Options} - Options
105
+ * @returns {Promise<CartPlatformModel.OfferSchema>} - Success response
106
+ * @name createOffer
107
+ * @summary: Create an offer
108
+ * @description: Creates a new offer based on the selected offer type. Sellers can choose from multiple supported offer types, including percentage value, fixed amount value, bundled discount, buy X get Y items, and more, along with customizable offer criteria to meet specific business requirements. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/createOffer/).
109
+ */
110
+ createOffer({ body, requestHeaders }?: CartPlatformApplicationValidator.CreateOfferParam, { responseHeaders }?: object): Promise<CartPlatformModel.OfferSchema>;
101
111
  /**
102
112
  * @param {CartPlatformApplicationValidator.CreatePromotionParam} arg - Arg object
103
113
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -128,6 +138,16 @@ declare class Cart {
128
138
  * @description: Delete details of a draft coupon by providing its unique identifier to delete information such as coupon type, rules, validity period and other related information. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/deleteCoupon/).
129
139
  */
130
140
  deleteCoupon({ id, requestHeaders }?: CartPlatformApplicationValidator.DeleteCouponParam, { responseHeaders }?: object): Promise<CartPlatformModel.SuccessMessage>;
141
+ /**
142
+ * @param {CartPlatformApplicationValidator.DeleteOfferParam} arg - Arg object
143
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
144
+ * @param {import("../PlatformAPIClient").Options} - Options
145
+ * @returns {Promise<CartPlatformModel.SuccessMessage>} - Success response
146
+ * @name deleteOffer
147
+ * @summary: Delete draft offer
148
+ * @description: Delete details of a draft offer by providing its unique identifier to delete information such as offer type, rules, validity period and other related information. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/deleteOffer/).
149
+ */
150
+ deleteOffer({ id, requestHeaders }?: CartPlatformApplicationValidator.DeleteOfferParam, { responseHeaders }?: object): Promise<CartPlatformModel.SuccessMessage>;
131
151
  /**
132
152
  * @param {CartPlatformApplicationValidator.DeletePromotionParam} arg - Arg object
133
153
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -234,7 +254,7 @@ declare class Cart {
234
254
  * @summary: Get a cart
235
255
  * @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://docs.fynd.com/partners/commerce/sdk/platform/cart/getCart/).
236
256
  */
237
- getCart({ xOrderingSource, id, userId, orderType, i, b, assignCardId, buyNow, requestHeaders, }?: CartPlatformApplicationValidator.GetCartParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartDetailResult>;
257
+ getCart({ xOrderingSource, xAnonymousCart, id, userId, orderType, i, b, assignCardId, buyNow, requestHeaders, }?: CartPlatformApplicationValidator.GetCartParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartDetailResult>;
238
258
  /**
239
259
  * @param {CartPlatformApplicationValidator.GetCartListParam} arg - Arg object
240
260
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -317,6 +337,26 @@ declare class Cart {
317
337
  * @description: Retrieve the total count of items currently present in the customer's cart. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/getItemCount/).
318
338
  */
319
339
  getItemCount({ id, buyNow, requestHeaders }?: CartPlatformApplicationValidator.GetItemCountParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartItemCountResult>;
340
+ /**
341
+ * @param {CartPlatformApplicationValidator.GetOfferByIdParam} arg - Arg object
342
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
343
+ * @param {import("../PlatformAPIClient").Options} - Options
344
+ * @returns {Promise<CartPlatformModel.OfferSchema>} - Success response
345
+ * @name getOfferById
346
+ * @summary: Get a specific offer
347
+ * @description: Retrieve details of a specific offer by providing its unique identifier to obtain information such as offer type, rules, validity period and other related information. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/getOfferById/).
348
+ */
349
+ getOfferById({ id, requestHeaders }?: CartPlatformApplicationValidator.GetOfferByIdParam, { responseHeaders }?: object): Promise<CartPlatformModel.OfferSchema>;
350
+ /**
351
+ * @param {CartPlatformApplicationValidator.GetOffersParam} arg - Arg object
352
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
353
+ * @param {import("../PlatformAPIClient").Options} - Options
354
+ * @returns {Promise<CartPlatformModel.OfferListResult>} - Success response
355
+ * @name getOffers
356
+ * @summary: List of offers
357
+ * @description: Retrieve a list of all created offers for specific sales channel. It also supports efficient text search and pagination functionalities, ensuring optimized offers listing for streamlined navigation and management. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/getOffers/).
358
+ */
359
+ getOffers({ pageNo, pageSize, search, mode, type, promoGroup, excludeContractOffers, offerId, createdBy, reviewedBy, approvedStartTime, approvedEndTime, status, code, isPublic, requestHeaders, }?: CartPlatformApplicationValidator.GetOffersParam, { responseHeaders }?: object): Promise<CartPlatformModel.OfferListResult>;
320
360
  /**
321
361
  * @param {CartPlatformApplicationValidator.GetPriceAdjustmentsParam} arg - Arg object
322
362
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -436,7 +476,7 @@ declare class Cart {
436
476
  * @summary: Add items to cart
437
477
  * @description: Adds product items to a customer's shopping cart. If the customer does not have an existing cart, a new one is created automatically. - The `new_cart` flag forces creation of a new cart even if one already exists. - The `default_cart` flag determines whether the item is added to the user's default storefront-visible cart. If `true`, the item is added to the user's default cart that is accessible via the storefront. If `false`, an existing active cart is fetched if available; otherwise, a new hidden cart is created. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/platformAddItems/).
438
478
  */
439
- platformAddItems({ body, xOrderingSource, i, b, buyNow, orderType, id, requestHeaders }?: CartPlatformApplicationValidator.PlatformAddItemsParam, { responseHeaders }?: object): Promise<CartPlatformModel.AddCartDetailResult>;
479
+ platformAddItems({ body, xOrderingSource, xAnonymousCart, i, b, buyNow, orderType, id, requestHeaders, }?: CartPlatformApplicationValidator.PlatformAddItemsParam, { responseHeaders }?: object): Promise<CartPlatformModel.AddCartDetailResult>;
440
480
  /**
441
481
  * @param {CartPlatformApplicationValidator.PlatformCheckoutCartParam} arg
442
482
  * - Arg object
@@ -448,7 +488,7 @@ declare class Cart {
448
488
  * @summary: Checkout cart
449
489
  * @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/platform/cart/platformCheckoutCart/).
450
490
  */
451
- platformCheckoutCart({ body, xOrderingSource, id, requestHeaders }?: CartPlatformApplicationValidator.PlatformCheckoutCartParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartCheckoutResult>;
491
+ platformCheckoutCart({ body, xOrderingSource, xAnonymousCart, id, requestHeaders }?: CartPlatformApplicationValidator.PlatformCheckoutCartParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartCheckoutResult>;
452
492
  /**
453
493
  * @param {CartPlatformApplicationValidator.PlatformCheckoutCartV2Param} arg
454
494
  * - Arg object
@@ -470,7 +510,7 @@ declare class Cart {
470
510
  * @summary: Update cart items
471
511
  * @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://docs.fynd.com/partners/commerce/sdk/platform/cart/platformUpdateCart/).
472
512
  */
473
- platformUpdateCart({ body, xOrderingSource, id, i, orderType, b, buyNow, requestHeaders }?: CartPlatformApplicationValidator.PlatformUpdateCartParam, { responseHeaders }?: object): Promise<CartPlatformModel.UpdateCartDetailResult>;
513
+ platformUpdateCart({ body, xOrderingSource, xAnonymousCart, id, i, orderType, b, buyNow, requestHeaders, }?: CartPlatformApplicationValidator.PlatformUpdateCartParam, { responseHeaders }?: object): Promise<CartPlatformModel.UpdateCartDetailResult>;
474
514
  /**
475
515
  * @param {CartPlatformApplicationValidator.RemoveAddressParam} arg - Arg object
476
516
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -490,7 +530,7 @@ declare class Cart {
490
530
  * @summary: Remove coupon
491
531
  * @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/platform/cart/removeCoupon/).
492
532
  */
493
- removeCoupon({ xOrderingSource, uid, buyNow, requestHeaders }?: CartPlatformApplicationValidator.RemoveCouponParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartDetailResult>;
533
+ removeCoupon({ xOrderingSource, xAnonymousCart, uid, buyNow, requestHeaders }?: CartPlatformApplicationValidator.RemoveCouponParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartDetailResult>;
494
534
  /**
495
535
  * @param {CartPlatformApplicationValidator.RemovePriceAdjustmentParam} arg
496
536
  * - Arg object
@@ -512,7 +552,7 @@ declare class Cart {
512
552
  * @summary: Select customer address for order processing
513
553
  * @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/platform/cart/selectAddress/).
514
554
  */
515
- selectAddress({ body, xOrderingSource, cartId, buyNow, i, b, requestHeaders }?: CartPlatformApplicationValidator.SelectAddressParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartDetailResult>;
555
+ selectAddress({ body, xOrderingSource, xAnonymousCart, cartId, buyNow, i, b, requestHeaders, }?: CartPlatformApplicationValidator.SelectAddressParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartDetailResult>;
516
556
  /**
517
557
  * @param {CartPlatformApplicationValidator.SelectPaymentModeParam} arg - Arg object
518
558
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -522,7 +562,7 @@ declare class Cart {
522
562
  * @summary: Select payment mode
523
563
  * @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://docs.fynd.com/partners/commerce/sdk/platform/cart/selectPaymentMode/).
524
564
  */
525
- selectPaymentMode({ body, xOrderingSource, id, buyNow, orderType, requestHeaders }?: CartPlatformApplicationValidator.SelectPaymentModeParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartDetailResult>;
565
+ selectPaymentMode({ body, xOrderingSource, xAnonymousCart, id, buyNow, orderType, requestHeaders, }?: CartPlatformApplicationValidator.SelectPaymentModeParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartDetailResult>;
526
566
  /**
527
567
  * @param {CartPlatformApplicationValidator.SelectPaymentModeV2Param} arg - Arg object
528
568
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -557,12 +597,12 @@ declare class Cart {
557
597
  * @param {CartPlatformApplicationValidator.UpdateCartBreakupParam} arg - Arg object
558
598
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
559
599
  * @param {import("../PlatformAPIClient").Options} - Options
560
- * @returns {Promise<CartPlatformModel.UpdateCartDetailResult>} - Success response
600
+ * @returns {Promise<CartPlatformModel.CartDetailResult>} - Success response
561
601
  * @name updateCartBreakup
562
602
  * @summary: Update cart breakup values
563
- * @description: Updates the cart breakup based on the enabled features and user preferences. This endpoint allows customers to modify how their cart totals are calculated — including options such as applying store credits, loyalty points, discounts, and other promotional benefits. The API recalculates and returns the updated breakup reflecting the selected configurations in real-time. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/updateCartBreakup/).
603
+ * @description: Updates the cart breakup based on the enabled features and user preferences. This endpoint allows customers to modify how their cart totals are calculated — including options such as applying store credits, loyalty points, discounts, and other promotional benefits. The API recalculates and returns the updated breakup reflecting the selected configurations in real-time. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/updateCartBreakup/).
564
604
  */
565
- updateCartBreakup({ body, xOrderingSource, id, i, b, buyNow, requestHeaders }?: CartPlatformApplicationValidator.UpdateCartBreakupParam, { responseHeaders }?: object): Promise<CartPlatformModel.UpdateCartDetailResult>;
605
+ updateCartBreakup({ body, xOrderingSource, xAnonymousCart, id, i, b, buyNow, requestHeaders, }?: CartPlatformApplicationValidator.UpdateCartBreakupParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartDetailResult>;
566
606
  /**
567
607
  * @param {CartPlatformApplicationValidator.UpdateCartMetaParam} arg - Arg object
568
608
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -629,6 +669,28 @@ declare class Cart {
629
669
  * @description: Seller can make partial adjustments of an existing coupon by specifying its unique identifier. It enables businesses to modify specific attributes of the coupon while preserving other details intact. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/updateCouponPartially/).
630
670
  */
631
671
  updateCouponPartially({ id, body, requestHeaders }?: CartPlatformApplicationValidator.UpdateCouponPartiallyParam, { responseHeaders }?: object): Promise<CartPlatformModel.SuccessMessage>;
672
+ /**
673
+ * @param {CartPlatformApplicationValidator.UpdateOfferParam} arg - Arg object
674
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
675
+ * @param {import("../PlatformAPIClient").Options} - Options
676
+ * @returns {Promise<CartPlatformModel.OfferSchema>} - Success response
677
+ * @name updateOffer
678
+ * @summary: Update existing offer
679
+ * @description: Update the details of an existing offer by specifying its unique identifier. This includes modifying offer attributes such as discount percentage, validity period, and associated conditions. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/updateOffer/).
680
+ */
681
+ updateOffer({ id, body, requestHeaders }?: CartPlatformApplicationValidator.UpdateOfferParam, { responseHeaders }?: object): Promise<CartPlatformModel.OfferSchema>;
682
+ /**
683
+ * @param {CartPlatformApplicationValidator.UpdateOfferPartiallyParam} arg
684
+ * - Arg object
685
+ *
686
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
687
+ * @param {import("../PlatformAPIClient").Options} - Options
688
+ * @returns {Promise<CartPlatformModel.SuccessMessage>} - Success response
689
+ * @name updateOfferPartially
690
+ * @summary: Partially update offer
691
+ * @description: Seller can make partial adjustments of an existing offer by specifying its unique identifier. It enables businesses to modify specific attributes of the offer while preserving other details intact. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/updateOfferPartially/).
692
+ */
693
+ updateOfferPartially({ id, body, requestHeaders }?: CartPlatformApplicationValidator.UpdateOfferPartiallyParam, { responseHeaders }?: object): Promise<CartPlatformModel.SuccessMessage>;
632
694
  /**
633
695
  * @param {CartPlatformApplicationValidator.UpdatePriceAdjustmentParam} arg
634
696
  * - Arg object