@gofynd/fdk-client-javascript 3.3.5 → 3.3.6

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 (158) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/Cart/CartApplicationClient.d.ts +30 -30
  4. package/sdk/application/Cart/CartApplicationClient.js +30 -30
  5. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +30 -30
  6. package/sdk/application/Catalog/CatalogApplicationClient.js +30 -30
  7. package/sdk/application/Common/CommonApplicationClient.d.ts +2 -2
  8. package/sdk/application/Common/CommonApplicationClient.js +2 -2
  9. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +3 -3
  10. package/sdk/application/Communication/CommunicationApplicationClient.js +3 -3
  11. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +16 -16
  12. package/sdk/application/Configuration/ConfigurationApplicationClient.js +16 -16
  13. package/sdk/application/Content/ContentApplicationClient.d.ts +24 -24
  14. package/sdk/application/Content/ContentApplicationClient.js +24 -24
  15. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +3 -3
  16. package/sdk/application/FileStorage/FileStorageApplicationClient.js +3 -3
  17. package/sdk/application/Finance/FinanceApplicationClient.d.ts +2 -2
  18. package/sdk/application/Finance/FinanceApplicationClient.js +2 -2
  19. package/sdk/application/Lead/LeadApplicationClient.d.ts +5 -5
  20. package/sdk/application/Lead/LeadApplicationClient.js +5 -5
  21. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +9 -9
  22. package/sdk/application/Logistic/LogisticApplicationClient.js +9 -9
  23. package/sdk/application/Order/OrderApplicationClient.d.ts +12 -12
  24. package/sdk/application/Order/OrderApplicationClient.js +12 -12
  25. package/sdk/application/Payment/PaymentApplicationClient.d.ts +46 -46
  26. package/sdk/application/Payment/PaymentApplicationClient.js +46 -46
  27. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +7 -7
  28. package/sdk/application/Rewards/RewardsApplicationClient.js +7 -7
  29. package/sdk/application/Share/ShareApplicationClient.d.ts +7 -7
  30. package/sdk/application/Share/ShareApplicationClient.js +7 -7
  31. package/sdk/application/Theme/ThemeApplicationClient.d.ts +4 -4
  32. package/sdk/application/Theme/ThemeApplicationClient.js +4 -4
  33. package/sdk/application/User/UserApplicationClient.d.ts +47 -47
  34. package/sdk/application/User/UserApplicationClient.js +47 -47
  35. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +1 -1
  36. package/sdk/application/Webhook/WebhookApplicationClient.js +1 -1
  37. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +6 -6
  38. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +6 -6
  39. package/sdk/partner/Lead/LeadPartnerClient.d.ts +7 -7
  40. package/sdk/partner/Lead/LeadPartnerClient.js +7 -7
  41. package/sdk/partner/Lead/LeadPartnerModel.d.ts +2 -2
  42. package/sdk/partner/Lead/LeadPartnerModel.js +1 -1
  43. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +25 -25
  44. package/sdk/partner/Logistics/LogisticsPartnerClient.js +25 -25
  45. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +2 -2
  46. package/sdk/partner/Logistics/LogisticsPartnerModel.js +1 -1
  47. package/sdk/partner/Theme/ThemePartnerClient.d.ts +24 -24
  48. package/sdk/partner/Theme/ThemePartnerClient.js +24 -24
  49. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +10 -10
  50. package/sdk/partner/Webhook/WebhookPartnerClient.js +10 -10
  51. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +2 -2
  52. package/sdk/partner/Webhook/WebhookPartnerModel.js +1 -1
  53. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +3 -3
  54. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +3 -3
  55. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +2 -2
  56. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +1 -1
  57. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +1 -1
  58. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +1 -1
  59. package/sdk/platform/Billing/BillingPlatformClient.d.ts +5 -5
  60. package/sdk/platform/Billing/BillingPlatformClient.js +5 -5
  61. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +62 -62
  62. package/sdk/platform/Cart/CartPlatformApplicationClient.js +62 -62
  63. package/sdk/platform/Cart/CartPlatformModel.d.ts +41 -3
  64. package/sdk/platform/Cart/CartPlatformModel.js +24 -1
  65. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +66 -66
  66. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +66 -66
  67. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +77 -77
  68. package/sdk/platform/Catalog/CatalogPlatformClient.js +77 -77
  69. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +56 -3
  70. package/sdk/platform/Catalog/CatalogPlatformModel.js +40 -1
  71. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +2 -2
  72. package/sdk/platform/Catalog/CatalogPlatformValidator.js +2 -2
  73. package/sdk/platform/Common/CommonPlatformClient.d.ts +2 -2
  74. package/sdk/platform/Common/CommonPlatformClient.js +2 -2
  75. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +67 -67
  76. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +67 -67
  77. package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +1 -1
  78. package/sdk/platform/Communication/CommunicationPlatformClient.js +1 -1
  79. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +2 -2
  80. package/sdk/platform/Communication/CommunicationPlatformModel.js +1 -1
  81. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +14 -14
  82. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +14 -14
  83. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +2 -2
  84. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +1 -1
  85. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +32 -32
  86. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +32 -32
  87. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +11 -11
  88. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +11 -11
  89. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +2 -2
  90. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +1 -1
  91. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +107 -107
  92. package/sdk/platform/Content/ContentPlatformApplicationClient.js +107 -107
  93. package/sdk/platform/Content/ContentPlatformClient.d.ts +40 -40
  94. package/sdk/platform/Content/ContentPlatformClient.js +40 -40
  95. package/sdk/platform/Content/ContentPlatformModel.d.ts +2 -2
  96. package/sdk/platform/Content/ContentPlatformModel.js +1 -1
  97. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +11 -11
  98. package/sdk/platform/Discount/DiscountPlatformClient.js +11 -11
  99. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +2 -2
  100. package/sdk/platform/Discount/DiscountPlatformModel.js +1 -1
  101. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +4 -4
  102. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +4 -4
  103. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +6 -6
  104. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +6 -6
  105. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +10 -10
  106. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +10 -10
  107. package/sdk/platform/Lead/LeadPlatformClient.d.ts +9 -9
  108. package/sdk/platform/Lead/LeadPlatformClient.js +9 -9
  109. package/sdk/platform/Lead/LeadPlatformModel.d.ts +2 -2
  110. package/sdk/platform/Lead/LeadPlatformModel.js +1 -1
  111. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +5 -5
  112. package/sdk/platform/Order/OrderPlatformApplicationClient.js +5 -5
  113. package/sdk/platform/Order/OrderPlatformClient.d.ts +58 -58
  114. package/sdk/platform/Order/OrderPlatformClient.js +58 -58
  115. package/sdk/platform/Order/OrderPlatformModel.d.ts +9 -9
  116. package/sdk/platform/Order/OrderPlatformModel.js +6 -6
  117. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +2 -2
  118. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +2 -2
  119. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +51 -51
  120. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +51 -51
  121. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +10 -10
  122. package/sdk/platform/Payment/PaymentPlatformClient.js +10 -10
  123. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +2 -2
  124. package/sdk/platform/Payment/PaymentPlatformModel.js +1 -1
  125. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +12 -12
  126. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +12 -12
  127. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +2 -2
  128. package/sdk/platform/Rewards/RewardsPlatformModel.js +1 -1
  129. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +38 -38
  130. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +38 -38
  131. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +28 -28
  132. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +28 -28
  133. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +2 -2
  134. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +1 -1
  135. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +5 -5
  136. package/sdk/platform/Share/SharePlatformApplicationClient.js +5 -5
  137. package/sdk/platform/Share/SharePlatformModel.d.ts +2 -2
  138. package/sdk/platform/Share/SharePlatformModel.js +1 -1
  139. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +22 -22
  140. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +22 -22
  141. package/sdk/platform/Theme/ThemePlatformClient.d.ts +4 -4
  142. package/sdk/platform/Theme/ThemePlatformClient.js +4 -4
  143. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +34 -34
  144. package/sdk/platform/User/UserPlatformApplicationClient.js +34 -34
  145. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +9 -9
  146. package/sdk/platform/Webhook/WebhookPlatformClient.js +9 -9
  147. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +2 -2
  148. package/sdk/platform/Webhook/WebhookPlatformModel.js +1 -1
  149. package/sdk/public/Catalog/CatalogPublicClient.d.ts +1 -1
  150. package/sdk/public/Catalog/CatalogPublicClient.js +1 -1
  151. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +2 -2
  152. package/sdk/public/Configuration/ConfigurationPublicClient.js +2 -2
  153. package/sdk/public/Content/ContentPublicClient.d.ts +14 -14
  154. package/sdk/public/Content/ContentPublicClient.js +14 -14
  155. package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
  156. package/sdk/public/Partner/PartnerPublicClient.js +1 -1
  157. package/sdk/public/Webhook/WebhookPublicClient.d.ts +5 -5
  158. package/sdk/public/Webhook/WebhookPublicClient.js +5 -5
@@ -184,7 +184,7 @@ export = CartPlatformModel;
184
184
  */
185
185
  /**
186
186
  * @typedef Page
187
- * @property {number} [item_total] - The total number of items on the page.
187
+ * @property {number} [item_total] - The total number of all items across all pages.
188
188
  * @property {string} [next_id] - The identifier for the next page.
189
189
  * @property {boolean} [has_previous] - Indicates whether there is a previous page.
190
190
  * @property {boolean} [has_next] - Indicates whether there is a next page.
@@ -975,6 +975,7 @@ export = CartPlatformModel;
975
975
  * @property {Object} [meta] - Meta data of article in cart
976
976
  * @property {string} [size] - Size of the article added in cart
977
977
  * @property {StoreInfo} [store]
978
+ * @property {number} [item_index] - Specify the index of article in cart.
978
979
  * @property {string[]} [tags] - A list of article tags
979
980
  */
980
981
  /**
@@ -1737,10 +1738,16 @@ export = CartPlatformModel;
1737
1738
  * @typedef CartItemCountResult
1738
1739
  * @property {number} [user_cart_items_count] - Item count present in cart
1739
1740
  */
1741
+ /**
1742
+ * @typedef DiscountRules
1743
+ * @property {number} [discounted_price] - Discount will be reflected in the
1744
+ * cart upon adding the product.
1745
+ */
1740
1746
  /**
1741
1747
  * @typedef Coupon
1742
1748
  * @property {string} [title] - Coupon Title of the coupon applied denotes name
1743
1749
  * of the coupon
1750
+ * @property {DiscountRules[]} [rule] - Discount rules of coupons
1744
1751
  * @property {number} [max_discount_value] - Maximum discount value of the
1745
1752
  * coupon applied to cart
1746
1753
  * @property {string} [coupon_code] - Coupon code of the coupon applied on cart
@@ -1932,6 +1939,8 @@ export = CartPlatformModel;
1932
1939
  * @property {number} [quantity] - Quantity of product in shipment
1933
1940
  * @property {string} shipment_type - Shipment delivery type
1934
1941
  * @property {string} article_uid - Article unique id for shipment
1942
+ * @property {number} [item_index] - Item index determines the position in the
1943
+ * list where the product should be updated.
1935
1944
  */
1936
1945
  /**
1937
1946
  * @typedef UpdateCartShipmentCreation
@@ -2170,6 +2179,8 @@ export = CartPlatformModel;
2170
2179
  * mode selected to do the payment
2171
2180
  * @property {string} [merchant_code] - Merchant code of the payment mode
2172
2181
  * selected to do the payment
2182
+ * @property {string[]} [payment_source_bag_id] - Previous bag IDs for which an
2183
+ * exchange has been performed.
2173
2184
  */
2174
2185
  /**
2175
2186
  * @typedef PaymentMethod
@@ -2341,7 +2352,7 @@ export = CartPlatformModel;
2341
2352
  declare class CartPlatformModel {
2342
2353
  }
2343
2354
  declare namespace CartPlatformModel {
2344
- export { CouponDateMeta, Ownership, CouponAuthor, State, PaymentAllowValue, PaymentModes, PriceRange, PostOrder, BulkBundleRestriction, UsesRemaining, UsesRestriction, Restrictions, Validation, CouponAction, CouponSchedule, Rule, DisplayMetaDict, DisplayMeta, Identifier, Validity, RuleDefinition, CouponAdd, Page, CouponsResult, SuccessMessage, OperationErrorResult, CouponUpdate, CouponPartialUpdate, CouponCreateResult, DisplayMeta1, Ownership1, CompareObject, ItemSizeMapping, ItemCriteria, DiscountOffer, DiscountRule, PaymentAllowValue1, PromotionPaymentModes, UserRegistered, PostOrder1, UsesRemaining1, UsesRestriction1, Restrictions1, PromotionSchedule, PromotionAction, PromotionAuthor, Visibility, PromotionDateMeta, PromotionListItem, PromotionsResult, PromotionAdd, PromotionAddResult, PromotionUpdate, PromotionUpdateResult, PromotionPartialUpdate, ActivePromosResult, Charges, DeliveryCharges, CartMetaConfigUpdate, CartMetaConfigAdd, Article, PriceAdjustmentRestrictions, Collection, PriceAdjustmentUpdate, PriceAdjustment, PriceAdjustmentResult, GetPriceAdjustmentResult, PriceAdjustmentAdd, DistributionRule, Distribution, DistributionLogic, CartItem, OpenapiCartDetailsCreation, CouponBreakup, DisplayBreakup, LoyaltyPoints, RawBreakup, CartBreakup, ProductImage, Tags, BaseInfo, ActionQuery, ProductActionParams, ProductActionPage, ProductAction, CategoryInfo, CartProduct, BasePrice, ArticlePriceInfo, StoreInfo, ProductArticle, Ownership2, DiscountRulesApp, AppliedFreeArticles, BuyRules, AppliedPromotion, PromiseFormatted, PromiseISOFormat, PromiseTimestamp, ShipmentPromise, CouponDetails, ProductPrice, ProductPriceInfo, ProductMaxQuantityInfo, CartProductIdentifer, ProductAvailabilitySize, ProductAvailability, PromoMeta, CartProductInfo, OpenapiCartDetailsResult, OpenApiErrorResult, ShippingAddress, OpenApiCartServiceabilityCreation, OpenApiCartServiceabilityResult, OpenApiFiles, CartItemMeta, MultiTenderPaymentMeta, MultiTenderPaymentMethod, OpenApiOrderItem, OpenApiPlatformCheckoutReq, OpenApiCheckoutResult, AbandonedCart, AbandonedCartResult, PaymentSelectionLock, CartCurrency, CartDetailCoupon, ChargesThreshold, DeliveryChargesConfig, CartCommonConfig, CartDetailResult, AddProductCart, AddCartCreation, AddCartDetailResult, CartItemInfo, UpdateProductCart, FreeGiftItemCreation, UpdateCartCreation, UpdateCartDetailResult, OverrideCartItemPromo, OverrideCartItem, OverrideCheckoutReq, OverrideCheckoutResult, GetShareCartLinkCreation, GetShareCartLinkResult, SharedCartDetails, SharedCart, SharedCartResult, CartList, MultiCartResult, UpdateUserCartMapping, UserInfo, UserCartMappingResult, PlatformAddCartDetails, PlatformUpdateCartDetails, DeleteCartDetails, DeleteCartDetailResult, CartItemCountResult, Coupon, PageCoupon, GetCouponResult, ApplyCouponDetails, GeoLocation, PlatformAddress, ValidationConfig, PlatformGetAddressesDetails, SaveAddressDetails, UpdateAddressDetails, DeleteAddressResult, PlatformSelectCartAddress, ShipmentArticle, PlatformShipmentDetails, PlatformCartShipmentsResult, UpdateCartShipmentItem, UpdateCartShipmentCreation, PlatformCartMetaCreation, CartMetaDetails, CartMetaMissingDetails, StaffCheckout, CustomerDetails, Files, CartCheckoutCustomMeta, OrderTag, PlatformCartCheckoutDetailCreation, CheckCart, CartCheckoutDetails, CartCheckoutResult, CartDeliveryModesDetails, PickupStoreDetail, StoreDetails, CartPaymentUpdate, CouponValidity, PaymentCouponValidate, PaymentMeta, PaymentMethod, PlatformCartCheckoutDetailV2Creation, UpdateCartPaymentRequestV2, PriceMinMax, ItemPriceDetails, ArticlePriceDetails, FreeGiftItems, PromotionOffer, PromotionOffersDetails, PromotionPaymentOffer, PromotionPaymentOffersDetails, ValidationError, OrderingSource };
2355
+ export { CouponDateMeta, Ownership, CouponAuthor, State, PaymentAllowValue, PaymentModes, PriceRange, PostOrder, BulkBundleRestriction, UsesRemaining, UsesRestriction, Restrictions, Validation, CouponAction, CouponSchedule, Rule, DisplayMetaDict, DisplayMeta, Identifier, Validity, RuleDefinition, CouponAdd, Page, CouponsResult, SuccessMessage, OperationErrorResult, CouponUpdate, CouponPartialUpdate, CouponCreateResult, DisplayMeta1, Ownership1, CompareObject, ItemSizeMapping, ItemCriteria, DiscountOffer, DiscountRule, PaymentAllowValue1, PromotionPaymentModes, UserRegistered, PostOrder1, UsesRemaining1, UsesRestriction1, Restrictions1, PromotionSchedule, PromotionAction, PromotionAuthor, Visibility, PromotionDateMeta, PromotionListItem, PromotionsResult, PromotionAdd, PromotionAddResult, PromotionUpdate, PromotionUpdateResult, PromotionPartialUpdate, ActivePromosResult, Charges, DeliveryCharges, CartMetaConfigUpdate, CartMetaConfigAdd, Article, PriceAdjustmentRestrictions, Collection, PriceAdjustmentUpdate, PriceAdjustment, PriceAdjustmentResult, GetPriceAdjustmentResult, PriceAdjustmentAdd, DistributionRule, Distribution, DistributionLogic, CartItem, OpenapiCartDetailsCreation, CouponBreakup, DisplayBreakup, LoyaltyPoints, RawBreakup, CartBreakup, ProductImage, Tags, BaseInfo, ActionQuery, ProductActionParams, ProductActionPage, ProductAction, CategoryInfo, CartProduct, BasePrice, ArticlePriceInfo, StoreInfo, ProductArticle, Ownership2, DiscountRulesApp, AppliedFreeArticles, BuyRules, AppliedPromotion, PromiseFormatted, PromiseISOFormat, PromiseTimestamp, ShipmentPromise, CouponDetails, ProductPrice, ProductPriceInfo, ProductMaxQuantityInfo, CartProductIdentifer, ProductAvailabilitySize, ProductAvailability, PromoMeta, CartProductInfo, OpenapiCartDetailsResult, OpenApiErrorResult, ShippingAddress, OpenApiCartServiceabilityCreation, OpenApiCartServiceabilityResult, OpenApiFiles, CartItemMeta, MultiTenderPaymentMeta, MultiTenderPaymentMethod, OpenApiOrderItem, OpenApiPlatformCheckoutReq, OpenApiCheckoutResult, AbandonedCart, AbandonedCartResult, PaymentSelectionLock, CartCurrency, CartDetailCoupon, ChargesThreshold, DeliveryChargesConfig, CartCommonConfig, CartDetailResult, AddProductCart, AddCartCreation, AddCartDetailResult, CartItemInfo, UpdateProductCart, FreeGiftItemCreation, UpdateCartCreation, UpdateCartDetailResult, OverrideCartItemPromo, OverrideCartItem, OverrideCheckoutReq, OverrideCheckoutResult, GetShareCartLinkCreation, GetShareCartLinkResult, SharedCartDetails, SharedCart, SharedCartResult, CartList, MultiCartResult, UpdateUserCartMapping, UserInfo, UserCartMappingResult, PlatformAddCartDetails, PlatformUpdateCartDetails, DeleteCartDetails, DeleteCartDetailResult, CartItemCountResult, DiscountRules, Coupon, PageCoupon, GetCouponResult, ApplyCouponDetails, GeoLocation, PlatformAddress, ValidationConfig, PlatformGetAddressesDetails, SaveAddressDetails, UpdateAddressDetails, DeleteAddressResult, PlatformSelectCartAddress, ShipmentArticle, PlatformShipmentDetails, PlatformCartShipmentsResult, UpdateCartShipmentItem, UpdateCartShipmentCreation, PlatformCartMetaCreation, CartMetaDetails, CartMetaMissingDetails, StaffCheckout, CustomerDetails, Files, CartCheckoutCustomMeta, OrderTag, PlatformCartCheckoutDetailCreation, CheckCart, CartCheckoutDetails, CartCheckoutResult, CartDeliveryModesDetails, PickupStoreDetail, StoreDetails, CartPaymentUpdate, CouponValidity, PaymentCouponValidate, PaymentMeta, PaymentMethod, PlatformCartCheckoutDetailV2Creation, UpdateCartPaymentRequestV2, PriceMinMax, ItemPriceDetails, ArticlePriceDetails, FreeGiftItems, PromotionOffer, PromotionOffersDetails, PromotionPaymentOffer, PromotionPaymentOffersDetails, ValidationError, OrderingSource };
2345
2356
  }
2346
2357
  /** @returns {CouponDateMeta} */
2347
2358
  declare function CouponDateMeta(): CouponDateMeta;
@@ -2789,7 +2800,7 @@ type CouponAdd = {
2789
2800
  declare function Page(): Page;
2790
2801
  type Page = {
2791
2802
  /**
2792
- * - The total number of items on the page.
2803
+ * - The total number of all items across all pages.
2793
2804
  */
2794
2805
  item_total?: number;
2795
2806
  /**
@@ -4727,6 +4738,10 @@ type ProductArticle = {
4727
4738
  */
4728
4739
  size?: string;
4729
4740
  store?: StoreInfo;
4741
+ /**
4742
+ * - Specify the index of article in cart.
4743
+ */
4744
+ item_index?: number;
4730
4745
  /**
4731
4746
  * - A list of article tags
4732
4747
  */
@@ -6701,6 +6716,15 @@ type CartItemCountResult = {
6701
6716
  */
6702
6717
  user_cart_items_count?: number;
6703
6718
  };
6719
+ /** @returns {DiscountRules} */
6720
+ declare function DiscountRules(): DiscountRules;
6721
+ type DiscountRules = {
6722
+ /**
6723
+ * - Discount will be reflected in the
6724
+ * cart upon adding the product.
6725
+ */
6726
+ discounted_price?: number;
6727
+ };
6704
6728
  /** @returns {Coupon} */
6705
6729
  declare function Coupon(): Coupon;
6706
6730
  type Coupon = {
@@ -6709,6 +6733,10 @@ type Coupon = {
6709
6733
  * of the coupon
6710
6734
  */
6711
6735
  title?: string;
6736
+ /**
6737
+ * - Discount rules of coupons
6738
+ */
6739
+ rule?: DiscountRules[];
6712
6740
  /**
6713
6741
  * - Maximum discount value of the
6714
6742
  * coupon applied to cart
@@ -7230,6 +7258,11 @@ type UpdateCartShipmentItem = {
7230
7258
  * - Article unique id for shipment
7231
7259
  */
7232
7260
  article_uid: string;
7261
+ /**
7262
+ * - Item index determines the position in the
7263
+ * list where the product should be updated.
7264
+ */
7265
+ item_index?: number;
7233
7266
  };
7234
7267
  /** @returns {UpdateCartShipmentCreation} */
7235
7268
  declare function UpdateCartShipmentCreation(): UpdateCartShipmentCreation;
@@ -7794,6 +7827,11 @@ type PaymentMeta = {
7794
7827
  * selected to do the payment
7795
7828
  */
7796
7829
  merchant_code?: string;
7830
+ /**
7831
+ * - Previous bag IDs for which an
7832
+ * exchange has been performed.
7833
+ */
7834
+ payment_source_bag_id?: string[];
7797
7835
  };
7798
7836
  /** @returns {PaymentMethod} */
7799
7837
  declare function PaymentMethod(): PaymentMethod;
@@ -207,7 +207,7 @@ const Joi = require("joi");
207
207
 
208
208
  /**
209
209
  * @typedef Page
210
- * @property {number} [item_total] - The total number of items on the page.
210
+ * @property {number} [item_total] - The total number of all items across all pages.
211
211
  * @property {string} [next_id] - The identifier for the next page.
212
212
  * @property {boolean} [has_previous] - Indicates whether there is a previous page.
213
213
  * @property {boolean} [has_next] - Indicates whether there is a next page.
@@ -1066,6 +1066,7 @@ const Joi = require("joi");
1066
1066
  * @property {Object} [meta] - Meta data of article in cart
1067
1067
  * @property {string} [size] - Size of the article added in cart
1068
1068
  * @property {StoreInfo} [store]
1069
+ * @property {number} [item_index] - Specify the index of article in cart.
1069
1070
  * @property {string[]} [tags] - A list of article tags
1070
1071
  */
1071
1072
 
@@ -1895,10 +1896,17 @@ const Joi = require("joi");
1895
1896
  * @property {number} [user_cart_items_count] - Item count present in cart
1896
1897
  */
1897
1898
 
1899
+ /**
1900
+ * @typedef DiscountRules
1901
+ * @property {number} [discounted_price] - Discount will be reflected in the
1902
+ * cart upon adding the product.
1903
+ */
1904
+
1898
1905
  /**
1899
1906
  * @typedef Coupon
1900
1907
  * @property {string} [title] - Coupon Title of the coupon applied denotes name
1901
1908
  * of the coupon
1909
+ * @property {DiscountRules[]} [rule] - Discount rules of coupons
1902
1910
  * @property {number} [max_discount_value] - Maximum discount value of the
1903
1911
  * coupon applied to cart
1904
1912
  * @property {string} [coupon_code] - Coupon code of the coupon applied on cart
@@ -2105,6 +2113,8 @@ const Joi = require("joi");
2105
2113
  * @property {number} [quantity] - Quantity of product in shipment
2106
2114
  * @property {string} shipment_type - Shipment delivery type
2107
2115
  * @property {string} article_uid - Article unique id for shipment
2116
+ * @property {number} [item_index] - Item index determines the position in the
2117
+ * list where the product should be updated.
2108
2118
  */
2109
2119
 
2110
2120
  /**
@@ -2363,6 +2373,8 @@ const Joi = require("joi");
2363
2373
  * mode selected to do the payment
2364
2374
  * @property {string} [merchant_code] - Merchant code of the payment mode
2365
2375
  * selected to do the payment
2376
+ * @property {string[]} [payment_source_bag_id] - Previous bag IDs for which an
2377
+ * exchange has been performed.
2366
2378
  */
2367
2379
 
2368
2380
  /**
@@ -3658,6 +3670,7 @@ class CartPlatformModel {
3658
3670
  meta: Joi.object().pattern(/\S/, Joi.any()),
3659
3671
  size: Joi.string().allow(""),
3660
3672
  store: CartPlatformModel.StoreInfo(),
3673
+ item_index: Joi.number(),
3661
3674
  tags: Joi.array().items(Joi.string().allow("")),
3662
3675
  });
3663
3676
  }
@@ -4513,10 +4526,18 @@ class CartPlatformModel {
4513
4526
  });
4514
4527
  }
4515
4528
 
4529
+ /** @returns {DiscountRules} */
4530
+ static DiscountRules() {
4531
+ return Joi.object({
4532
+ discounted_price: Joi.number(),
4533
+ });
4534
+ }
4535
+
4516
4536
  /** @returns {Coupon} */
4517
4537
  static Coupon() {
4518
4538
  return Joi.object({
4519
4539
  title: Joi.string().allow(""),
4540
+ rule: Joi.array().items(CartPlatformModel.DiscountRules()),
4520
4541
  max_discount_value: Joi.number(),
4521
4542
  coupon_code: Joi.string().allow(""),
4522
4543
  is_applied: Joi.boolean(),
@@ -4722,6 +4743,7 @@ class CartPlatformModel {
4722
4743
  quantity: Joi.number(),
4723
4744
  shipment_type: Joi.string().allow("").required(),
4724
4745
  article_uid: Joi.string().allow("").required(),
4746
+ item_index: Joi.number(),
4725
4747
  });
4726
4748
  }
4727
4749
 
@@ -4991,6 +5013,7 @@ class CartPlatformModel {
4991
5013
  type: Joi.string().allow(""),
4992
5014
  payment_identifier: Joi.string().allow("").allow(null),
4993
5015
  merchant_code: Joi.string().allow(""),
5016
+ payment_source_bag_id: Joi.array().items(Joi.string().allow("")),
4994
5017
  });
4995
5018
  }
4996
5019