@gofynd/fdk-client-javascript 1.4.15-beta.13 → 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.
Files changed (278) hide show
  1. package/README.md +23 -26
  2. package/package.json +5 -1
  3. package/sdk/application/ApplicationClient.d.ts +5 -6
  4. package/sdk/application/ApplicationClient.js +24 -20
  5. package/sdk/application/Cart/CartApplicationClient.d.ts +133 -83
  6. package/sdk/application/Cart/CartApplicationClient.js +444 -76
  7. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +132 -114
  8. package/sdk/application/Catalog/CatalogApplicationClient.js +209 -126
  9. package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
  10. package/sdk/application/Common/CommonApplicationClient.js +4 -4
  11. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +3 -3
  12. package/sdk/application/Communication/CommunicationApplicationClient.js +3 -3
  13. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +58 -36
  14. package/sdk/application/Configuration/ConfigurationApplicationClient.js +73 -29
  15. package/sdk/application/Content/ContentApplicationClient.d.ts +95 -66
  16. package/sdk/application/Content/ContentApplicationClient.js +274 -111
  17. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +11 -11
  18. package/sdk/application/FileStorage/FileStorageApplicationClient.js +10 -10
  19. package/sdk/application/Finance/FinanceApplicationClient.d.ts +29 -0
  20. package/sdk/application/Finance/FinanceApplicationClient.js +111 -0
  21. package/sdk/application/Lead/LeadApplicationClient.d.ts +7 -7
  22. package/sdk/application/Lead/LeadApplicationClient.js +6 -6
  23. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +37 -57
  24. package/sdk/application/Logistic/LogisticApplicationClient.js +117 -180
  25. package/sdk/application/Order/OrderApplicationClient.d.ts +63 -21
  26. package/sdk/application/Order/OrderApplicationClient.js +217 -17
  27. package/sdk/application/Payment/PaymentApplicationClient.d.ts +179 -149
  28. package/sdk/application/Payment/PaymentApplicationClient.js +301 -167
  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 +7 -7
  32. package/sdk/application/Theme/ThemeApplicationClient.js +10 -6
  33. package/sdk/application/User/UserApplicationClient.d.ts +103 -53
  34. package/sdk/application/User/UserApplicationClient.js +308 -49
  35. package/sdk/common/AxiosHelper.js +11 -4
  36. package/sdk/common/Constant.d.ts +27 -4
  37. package/sdk/common/Constant.js +33 -6
  38. package/sdk/common/utils.d.ts +10 -0
  39. package/sdk/common/utils.js +24 -3
  40. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +46 -16
  41. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +266 -40
  42. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +163 -19
  43. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +158 -14
  44. package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +5 -2
  45. package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +23 -7
  46. package/sdk/partner/Lead/LeadPartnerClient.d.ts +9 -9
  47. package/sdk/partner/Lead/LeadPartnerClient.js +9 -9
  48. package/sdk/partner/Lead/LeadPartnerModel.d.ts +14 -9
  49. package/sdk/partner/Lead/LeadPartnerModel.js +19 -17
  50. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +264 -49
  51. package/sdk/partner/Logistics/LogisticsPartnerClient.js +2116 -252
  52. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +2256 -258
  53. package/sdk/partner/Logistics/LogisticsPartnerModel.js +1187 -230
  54. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +21 -1
  55. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +218 -13
  56. package/sdk/partner/PartnerClient.d.ts +5 -2
  57. package/sdk/partner/PartnerClient.js +21 -7
  58. package/sdk/partner/Theme/ThemePartnerClient.d.ts +32 -34
  59. package/sdk/partner/Theme/ThemePartnerClient.js +42 -44
  60. package/sdk/partner/Theme/ThemePartnerModel.d.ts +142 -43
  61. package/sdk/partner/Theme/ThemePartnerModel.js +129 -44
  62. package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
  63. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +83 -27
  64. package/sdk/partner/Webhook/WebhookPartnerClient.js +446 -27
  65. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +920 -185
  66. package/sdk/partner/Webhook/WebhookPartnerModel.js +462 -154
  67. package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +5 -0
  68. package/sdk/partner/Webhook/WebhookPartnerValidator.js +41 -3
  69. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +8 -7
  70. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +17 -11
  71. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +4 -1
  72. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +1 -1
  73. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +68 -13
  74. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +44 -6
  75. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +3 -33
  76. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +4 -244
  77. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +49 -145
  78. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +20 -171
  79. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -39
  80. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +0 -35
  81. package/sdk/platform/Billing/BillingPlatformClient.d.ts +15 -15
  82. package/sdk/platform/Billing/BillingPlatformClient.js +18 -18
  83. package/sdk/platform/Billing/BillingPlatformModel.d.ts +443 -388
  84. package/sdk/platform/Billing/BillingPlatformModel.js +280 -263
  85. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +16 -18
  86. package/sdk/platform/Billing/BillingPlatformValidator.js +8 -9
  87. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +266 -203
  88. package/sdk/platform/Cart/CartPlatformApplicationClient.js +1446 -500
  89. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +729 -100
  90. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +446 -82
  91. package/sdk/platform/Cart/CartPlatformModel.d.ts +6927 -1396
  92. package/sdk/platform/Cart/CartPlatformModel.js +3065 -1316
  93. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +433 -248
  94. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +1662 -559
  95. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +464 -159
  96. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +304 -87
  97. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +383 -234
  98. package/sdk/platform/Catalog/CatalogPlatformClient.js +2475 -1557
  99. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +9571 -2674
  100. package/sdk/platform/Catalog/CatalogPlatformModel.js +5081 -2019
  101. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +364 -117
  102. package/sdk/platform/Catalog/CatalogPlatformValidator.js +281 -104
  103. package/sdk/platform/Common/CommonPlatformClient.d.ts +5 -4
  104. package/sdk/platform/Common/CommonPlatformClient.js +6 -5
  105. package/sdk/platform/Common/CommonPlatformModel.d.ts +36 -25
  106. package/sdk/platform/Common/CommonPlatformModel.js +25 -14
  107. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +80 -153
  108. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +102 -541
  109. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +36 -49
  110. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +20 -60
  111. package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +1 -1
  112. package/sdk/platform/Communication/CommunicationPlatformClient.js +1 -1
  113. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +189 -43
  114. package/sdk/platform/Communication/CommunicationPlatformModel.js +165 -42
  115. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +58 -81
  116. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +68 -116
  117. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +291 -249
  118. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +243 -234
  119. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
  120. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
  121. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +78 -65
  122. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +101 -88
  123. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +20 -20
  124. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +19 -19
  125. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +68 -34
  126. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +174 -41
  127. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +667 -244
  128. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +474 -155
  129. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +37 -9
  130. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +27 -8
  131. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +366 -280
  132. package/sdk/platform/Content/ContentPlatformApplicationClient.js +1435 -753
  133. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +323 -223
  134. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +335 -205
  135. package/sdk/platform/Content/ContentPlatformClient.d.ts +304 -106
  136. package/sdk/platform/Content/ContentPlatformClient.js +1842 -450
  137. package/sdk/platform/Content/ContentPlatformModel.d.ts +2582 -566
  138. package/sdk/platform/Content/ContentPlatformModel.js +1426 -558
  139. package/sdk/platform/Content/ContentPlatformValidator.d.ts +293 -114
  140. package/sdk/platform/Content/ContentPlatformValidator.js +328 -101
  141. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +59 -23
  142. package/sdk/platform/Discount/DiscountPlatformClient.js +84 -23
  143. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +403 -110
  144. package/sdk/platform/Discount/DiscountPlatformModel.js +121 -107
  145. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +56 -36
  146. package/sdk/platform/Discount/DiscountPlatformValidator.js +29 -19
  147. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +12 -110
  148. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +14 -684
  149. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +5 -94
  150. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +4 -115
  151. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +20 -20
  152. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +22 -22
  153. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +90 -920
  154. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +53 -949
  155. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
  156. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
  157. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +10 -10
  158. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +10 -10
  159. package/sdk/platform/Lead/LeadPlatformClient.d.ts +11 -11
  160. package/sdk/platform/Lead/LeadPlatformClient.js +11 -11
  161. package/sdk/platform/Lead/LeadPlatformModel.d.ts +14 -9
  162. package/sdk/platform/Lead/LeadPlatformModel.js +20 -18
  163. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +56 -9
  164. package/sdk/platform/Order/OrderPlatformApplicationClient.js +340 -10
  165. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +128 -24
  166. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +81 -19
  167. package/sdk/platform/Order/OrderPlatformClient.d.ts +517 -160
  168. package/sdk/platform/Order/OrderPlatformClient.js +1623 -384
  169. package/sdk/platform/Order/OrderPlatformModel.d.ts +10372 -1587
  170. package/sdk/platform/Order/OrderPlatformModel.js +5726 -1512
  171. package/sdk/platform/Order/OrderPlatformValidator.d.ts +539 -123
  172. package/sdk/platform/Order/OrderPlatformValidator.js +323 -92
  173. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +8 -6
  174. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +11 -9
  175. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +6 -4
  176. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +3 -2
  177. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +77 -25
  178. package/sdk/platform/Partner/PartnerPlatformModel.js +32 -21
  179. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +144 -219
  180. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +307 -796
  181. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +86 -121
  182. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +80 -138
  183. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +30 -30
  184. package/sdk/platform/Payment/PaymentPlatformClient.js +30 -30
  185. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +901 -761
  186. package/sdk/platform/Payment/PaymentPlatformModel.js +663 -583
  187. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
  188. package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
  189. package/sdk/platform/PlatformApplicationClient.d.ts +0 -2
  190. package/sdk/platform/PlatformApplicationClient.js +0 -4
  191. package/sdk/platform/PlatformClient.d.ts +5 -4
  192. package/sdk/platform/PlatformClient.js +32 -22
  193. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +526 -69
  194. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +3337 -337
  195. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +603 -38
  196. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +529 -32
  197. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +184 -133
  198. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +780 -491
  199. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +9408 -1666
  200. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +5720 -1765
  201. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +257 -180
  202. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +185 -127
  203. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +7 -7
  204. package/sdk/platform/Share/SharePlatformApplicationClient.js +7 -7
  205. package/sdk/platform/Share/SharePlatformModel.d.ts +45 -9
  206. package/sdk/platform/Share/SharePlatformModel.js +31 -6
  207. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +26 -26
  208. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +38 -29
  209. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +18 -3
  210. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +10 -2
  211. package/sdk/platform/Theme/ThemePlatformClient.d.ts +4 -4
  212. package/sdk/platform/Theme/ThemePlatformClient.js +4 -4
  213. package/sdk/platform/Theme/ThemePlatformModel.d.ts +103 -17
  214. package/sdk/platform/Theme/ThemePlatformModel.js +92 -23
  215. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +167 -45
  216. package/sdk/platform/User/UserPlatformApplicationClient.js +950 -67
  217. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +189 -3
  218. package/sdk/platform/User/UserPlatformApplicationValidator.js +157 -3
  219. package/sdk/platform/User/UserPlatformModel.d.ts +880 -47
  220. package/sdk/platform/User/UserPlatformModel.js +607 -46
  221. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +33 -86
  222. package/sdk/platform/Webhook/WebhookPlatformClient.js +79 -474
  223. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +861 -422
  224. package/sdk/platform/Webhook/WebhookPlatformModel.js +469 -391
  225. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
  226. package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
  227. package/sdk/platform/index.d.ts +0 -2
  228. package/sdk/platform/index.js +0 -4
  229. package/sdk/public/Catalog/CatalogPublicClient.d.ts +22 -0
  230. package/sdk/public/Catalog/CatalogPublicClient.js +133 -0
  231. package/sdk/public/Catalog/CatalogPublicModel.d.ts +158 -0
  232. package/sdk/public/Catalog/CatalogPublicModel.js +116 -0
  233. package/sdk/public/Catalog/CatalogPublicValidator.d.ts +55 -0
  234. package/sdk/public/Catalog/CatalogPublicValidator.js +35 -0
  235. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +5 -4
  236. package/sdk/public/Configuration/ConfigurationPublicClient.js +9 -8
  237. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +41 -21
  238. package/sdk/public/Configuration/ConfigurationPublicModel.js +28 -12
  239. package/sdk/public/Content/ContentPublicClient.d.ts +145 -2
  240. package/sdk/public/Content/ContentPublicClient.js +1067 -17
  241. package/sdk/public/Content/ContentPublicModel.d.ts +704 -3
  242. package/sdk/public/Content/ContentPublicModel.js +751 -3
  243. package/sdk/public/Content/ContentPublicValidator.d.ts +94 -3
  244. package/sdk/public/Content/ContentPublicValidator.js +119 -2
  245. package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
  246. package/sdk/public/Partner/PartnerPublicClient.js +1 -1
  247. package/sdk/public/Partner/PartnerPublicModel.d.ts +248 -72
  248. package/sdk/public/Partner/PartnerPublicModel.js +81 -71
  249. package/sdk/public/Partner/PartnerPublicValidator.d.ts +2 -2
  250. package/sdk/public/Partner/PartnerPublicValidator.js +1 -1
  251. package/sdk/public/PublicClient.d.ts +5 -2
  252. package/sdk/public/PublicClient.js +16 -6
  253. package/sdk/public/Webhook/WebhookPublicClient.d.ts +13 -13
  254. package/sdk/public/Webhook/WebhookPublicClient.js +13 -13
  255. package/sdk/public/Webhook/WebhookPublicModel.d.ts +249 -67
  256. package/sdk/public/Webhook/WebhookPublicModel.js +81 -61
  257. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
  258. package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
  259. package/sdk/public/index.d.ts +1 -0
  260. package/sdk/public/index.js +2 -0
  261. package/utility.d.ts +3 -0
  262. package/utility.js +7 -0
  263. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +0 -79
  264. package/sdk/application/Rewards/RewardsApplicationClient.js +0 -315
  265. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +0 -19
  266. package/sdk/application/Webhook/WebhookApplicationClient.js +0 -72
  267. package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -320
  268. package/sdk/platform/Finance/FinancePlatformClient.js +0 -2333
  269. package/sdk/platform/Finance/FinancePlatformModel.d.ts +0 -2890
  270. package/sdk/platform/Finance/FinancePlatformModel.js +0 -2148
  271. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
  272. package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
  273. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +0 -136
  274. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +0 -976
  275. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +0 -152
  276. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +0 -157
  277. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +0 -382
  278. package/sdk/platform/Rewards/RewardsPlatformModel.js +0 -408
@@ -7,79 +7,75 @@ declare class Cart {
7
7
  * @param {CartPlatformApplicationValidator.AddAddressParam} arg - Arg object
8
8
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
9
9
  * @param {import("../PlatformAPIClient").Options} - Options
10
- * @returns {Promise<CartPlatformModel.SaveAddressResponse>} - Success response
10
+ * @returns {Promise<CartPlatformModel.SaveAddressDetails>} - Success response
11
11
  * @name addAddress
12
12
  * @summary: Creates a new address for a customer
13
- * @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/platform/cart/addAddress/).
13
+ * @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://docs.fynd.com/partners/commerce/sdk/platform/cart/addAddress/).
14
14
  */
15
- addAddress({ body, requestHeaders }?: CartPlatformApplicationValidator.AddAddressParam, { responseHeaders }?: object): Promise<CartPlatformModel.SaveAddressResponse>;
16
- /**
17
- * @param {CartPlatformApplicationValidator.AddBulkPriceAdjustmentParam} arg
18
- * - Arg object
19
- *
20
- * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
21
- * @param {import("../PlatformAPIClient").Options} - Options
22
- * @returns {Promise<CartPlatformModel.BulkPriceAdjustmentResponse>} -
23
- * Success response
24
- * @name addBulkPriceAdjustment
25
- * @summary: Create price adjustments in Bulk
26
- * @description: Create custom price adjustments for items in the cart, facilitating the application of discounts or promotions. Price adjustments can be tailored based on specific sales channel contexts, enhancing flexibility in pricing strategies. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/addBulkPriceAdjustment/).
27
- */
28
- addBulkPriceAdjustment({ body, requestHeaders }?: CartPlatformApplicationValidator.AddBulkPriceAdjustmentParam, { responseHeaders }?: object): Promise<CartPlatformModel.BulkPriceAdjustmentResponse>;
15
+ addAddress({ body, requestHeaders }?: CartPlatformApplicationValidator.AddAddressParam, { responseHeaders }?: object): Promise<CartPlatformModel.SaveAddressDetails>;
29
16
  /**
30
17
  * @param {CartPlatformApplicationValidator.AddItemsParam} arg - Arg object
31
18
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
32
19
  * @param {import("../PlatformAPIClient").Options} - Options
33
- * @returns {Promise<CartPlatformModel.AddCartDetailResponse>} - Success response
20
+ * @returns {Promise<CartPlatformModel.AddCartDetailResult>} - Success response
34
21
  * @name addItems
35
22
  * @summary: Add items to cart
36
- * @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/platform/cart/addItems/).
23
+ * @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/platform/cart/addItems/).
37
24
  */
38
- addItems({ cartId, body, b, requestHeaders }?: CartPlatformApplicationValidator.AddItemsParam, { responseHeaders }?: object): Promise<CartPlatformModel.AddCartDetailResponse>;
25
+ addItems({ cartId, body, b, requestHeaders }?: CartPlatformApplicationValidator.AddItemsParam, { responseHeaders }?: object): Promise<CartPlatformModel.AddCartDetailResult>;
39
26
  /**
40
27
  * @param {CartPlatformApplicationValidator.AddPriceAdjustmentParam} arg - Arg object
41
28
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
42
29
  * @param {import("../PlatformAPIClient").Options} - Options
43
- * @returns {Promise<CartPlatformModel.PriceAdjustmentResponse>} - Success response
30
+ * @returns {Promise<CartPlatformModel.GetPriceAdjustmentResult>} - Success response
44
31
  * @name addPriceAdjustment
45
32
  * @summary: Create price adjustments
46
- * @description: Create custom price adjustments for items in the cart, facilitating the application of discounts or promotions. Price adjustments can be tailored based on specific sales channel contexts, enhancing flexibility in pricing strategies. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/addPriceAdjustment/).
33
+ * @description: Create custom price adjustments for items in the cart, facilitating the application of discounts or promotions. Price adjustments can be tailored based on specific sales channel contexts, enhancing flexibility in pricing strategies. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/addPriceAdjustment/).
47
34
  */
48
- addPriceAdjustment({ body, requestHeaders }?: CartPlatformApplicationValidator.AddPriceAdjustmentParam, { responseHeaders }?: object): Promise<CartPlatformModel.PriceAdjustmentResponse>;
35
+ addPriceAdjustment({ body, requestHeaders }?: CartPlatformApplicationValidator.AddPriceAdjustmentParam, { responseHeaders }?: object): Promise<CartPlatformModel.GetPriceAdjustmentResult>;
49
36
  /**
50
37
  * @param {CartPlatformApplicationValidator.ApplyCouponParam} arg - Arg object
51
38
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
52
39
  * @param {import("../PlatformAPIClient").Options} - Options
53
- * @returns {Promise<CartPlatformModel.CartDetailResponse>} - Success response
40
+ * @returns {Promise<CartPlatformModel.CartDetailResult>} - Success response
54
41
  * @name applyCoupon
55
42
  * @summary: Apply coupon
56
- * @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/platform/cart/applyCoupon/).
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
+ */
45
+ applyCoupon({ body, xOrderingSource, xOrderingSourceType, xAnonymousCart, i, b, p, id, buyNow, requestHeaders, }?: CartPlatformApplicationValidator.ApplyCouponParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartDetailResult>;
46
+ /**
47
+ * @param {CartPlatformApplicationValidator.ApplyLoyaltyPointsParam} arg - Arg object
48
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
49
+ * @param {import("../PlatformAPIClient").Options} - Options
50
+ * @returns {Promise<CartPlatformModel.CartDetailResult>} - Success response
51
+ * @name applyLoyaltyPoints
52
+ * @summary: Redeem loyalty points.
53
+ * @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/platform/cart/applyLoyaltyPoints/).
57
54
  */
58
- applyCoupon({ body, i, b, p, id, buyNow, requestHeaders }?: CartPlatformApplicationValidator.ApplyCouponParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartDetailResponse>;
55
+ applyLoyaltyPoints({ body, xOrderingSource, xOrderingSourceType, id, i, b, buyNow, requestHeaders, }?: CartPlatformApplicationValidator.ApplyLoyaltyPointsParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartDetailResult>;
59
56
  /**
60
57
  * @param {CartPlatformApplicationValidator.CheckCartServiceabilityParam} arg
61
58
  * - Arg object
62
59
  *
63
60
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
64
61
  * @param {import("../PlatformAPIClient").Options} - Options
65
- * @returns {Promise<CartPlatformModel.OpenApiCartServiceabilityResponse>}
66
- * - Success response
67
- *
62
+ * @returns {Promise<CartPlatformModel.OpenApiCartServiceabilityResult>} -
63
+ * Success response
68
64
  * @name checkCartServiceability
69
65
  * @summary: Check cart serviceability
70
- * @description: Verify the serviceability of items in the cart at a specific pin code and ensure accurate delivery promises. System checks each item's availability and delivery feasibility, providing real-time information on serviceability and estimated delivery times. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/checkCartServiceability/).
66
+ * @description: Verify the serviceability of items in the cart at a specific pin code and ensure accurate delivery promises. System checks each item's availability and delivery feasibility, providing real-time information on serviceability and estimated delivery times. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/checkCartServiceability/).
71
67
  */
72
- checkCartServiceability({ body, requestHeaders }?: CartPlatformApplicationValidator.CheckCartServiceabilityParam, { responseHeaders }?: object): Promise<CartPlatformModel.OpenApiCartServiceabilityResponse>;
68
+ checkCartServiceability({ body, xOrderingSource, xOrderingSourceType, requestHeaders }?: CartPlatformApplicationValidator.CheckCartServiceabilityParam, { responseHeaders }?: object): Promise<CartPlatformModel.OpenApiCartServiceabilityResult>;
73
69
  /**
74
70
  * @param {CartPlatformApplicationValidator.CheckoutCartParam} arg - Arg object
75
71
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
76
72
  * @param {import("../PlatformAPIClient").Options} - Options
77
- * @returns {Promise<CartPlatformModel.OpenApiCheckoutResponse>} - Success response
73
+ * @returns {Promise<CartPlatformModel.OpenApiCheckoutResult>} - Success response
78
74
  * @name checkoutCart
79
- * @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://partners.fynd.com/help/docs/sdk/platform/cart/checkoutCart/).
75
+ * @summary: Headless Checkout
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/).
81
77
  */
82
- checkoutCart({ body, requestHeaders }?: CartPlatformApplicationValidator.CheckoutCartParam, { responseHeaders }?: object): Promise<CartPlatformModel.OpenApiCheckoutResponse>;
78
+ checkoutCart({ body, xOrderingSource, xOrderingSourceType, xAnonymousCart, xLocationDetail, xCurrencyCode, requestHeaders, }?: CartPlatformApplicationValidator.CheckoutCartParam, { responseHeaders }?: object): Promise<CartPlatformModel.OpenApiCheckoutResult>;
83
79
  /**
84
80
  * @param {CartPlatformApplicationValidator.CreateCartMetaConfigParam} arg
85
81
  * - Arg object
@@ -89,51 +85,91 @@ declare class Cart {
89
85
  * @returns {Promise<CartPlatformModel.CartMetaConfigAdd>} - Success response
90
86
  * @name createCartMetaConfig
91
87
  * @summary: Create a new cart meta
92
- * @description: Create custom meta configurations for carts associated with a specific sales channel. By specifying the company ID and application ID, seller can define unique cart settings, including preferences, rules, and constraints, tailored to their business needs. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/createCartMetaConfig/).
88
+ * @description: Create custom meta configurations for carts associated with a specific sales channel. By specifying the company ID and application ID, seller can define unique cart settings, including preferences, rules, and constraints, tailored to their business needs. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/createCartMetaConfig/).
93
89
  */
94
90
  createCartMetaConfig({ body, requestHeaders }?: CartPlatformApplicationValidator.CreateCartMetaConfigParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartMetaConfigAdd>;
95
91
  /**
96
92
  * @param {CartPlatformApplicationValidator.CreateCouponParam} arg - Arg object
97
93
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
98
94
  * @param {import("../PlatformAPIClient").Options} - Options
99
- * @returns {Promise<CartPlatformModel.SuccessMessage>} - Success response
95
+ * @returns {Promise<CartPlatformModel.CouponCreateResult>} - Success response
100
96
  * @name createCoupon
101
97
  * @summary: Create a coupon
102
- * @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://partners.fynd.com/help/docs/sdk/platform/cart/createCoupon/).
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
+ */
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/).
103
109
  */
104
- createCoupon({ body, requestHeaders }?: CartPlatformApplicationValidator.CreateCouponParam, { responseHeaders }?: object): Promise<CartPlatformModel.SuccessMessage>;
110
+ createOffer({ body, requestHeaders }?: CartPlatformApplicationValidator.CreateOfferParam, { responseHeaders }?: object): Promise<CartPlatformModel.OfferSchema>;
105
111
  /**
106
112
  * @param {CartPlatformApplicationValidator.CreatePromotionParam} arg - Arg object
107
113
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
108
114
  * @param {import("../PlatformAPIClient").Options} - Options
109
- * @returns {Promise<CartPlatformModel.PromotionAdd>} - Success response
115
+ * @returns {Promise<CartPlatformModel.PromotionAddResult>} - Success response
110
116
  * @name createPromotion
111
117
  * @summary: Create a promotion
112
- * @description: Creates a new promotion based on the selected promotion type. Sellers can choose from multiple supported promotion types, including percentage value, fixed amount value, bundled discount, buy X get Y items, and more, along with customizable promotion criteria to meet specific business requirements. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/createPromotion/).
118
+ * @description: Creates a new promotion based on the selected promotion type. Sellers can choose from multiple supported promotion types, including percentage value, fixed amount value, bundled discount, buy X get Y items, and more, along with customizable promotion criteria to meet specific business requirements. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/createPromotion/).
113
119
  */
114
- createPromotion({ body, requestHeaders }?: CartPlatformApplicationValidator.CreatePromotionParam, { responseHeaders }?: object): Promise<CartPlatformModel.PromotionAdd>;
120
+ createPromotion({ body, requestHeaders }?: CartPlatformApplicationValidator.CreatePromotionParam, { responseHeaders }?: object): Promise<CartPlatformModel.PromotionAddResult>;
115
121
  /**
116
122
  * @param {CartPlatformApplicationValidator.DeleteCartParam} arg - Arg object
117
123
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
118
124
  * @param {import("../PlatformAPIClient").Options} - Options
119
- * @returns {Promise<CartPlatformModel.DeleteCartDetailResponse>} - Success response
125
+ * @returns {Promise<CartPlatformModel.DeleteCartDetailResult>} - Success response
120
126
  * @name deleteCart
121
127
  * @summary: Delete a cart
122
- * @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/platform/cart/deleteCart/).
128
+ * @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/platform/cart/deleteCart/).
129
+ */
130
+ deleteCart({ body, id, requestHeaders }?: CartPlatformApplicationValidator.DeleteCartParam, { responseHeaders }?: object): Promise<CartPlatformModel.DeleteCartDetailResult>;
131
+ /**
132
+ * @param {CartPlatformApplicationValidator.DeleteCouponParam} arg - Arg object
133
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
134
+ * @param {import("../PlatformAPIClient").Options} - Options
135
+ * @returns {Promise<CartPlatformModel.SuccessMessage>} - Success response
136
+ * @name deleteCoupon
137
+ * @summary: Delete a coupon which is in draft state
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/).
139
+ */
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/).
123
149
  */
124
- deleteCart({ body, id, requestHeaders }?: CartPlatformApplicationValidator.DeleteCartParam, { responseHeaders }?: object): Promise<CartPlatformModel.DeleteCartDetailResponse>;
150
+ deleteOffer({ id, requestHeaders }?: CartPlatformApplicationValidator.DeleteOfferParam, { responseHeaders }?: object): Promise<CartPlatformModel.SuccessMessage>;
151
+ /**
152
+ * @param {CartPlatformApplicationValidator.DeletePromotionParam} arg - Arg object
153
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
154
+ * @param {import("../PlatformAPIClient").Options} - Options
155
+ * @returns {Promise<CartPlatformModel.SuccessMessage>} - Success response
156
+ * @name deletePromotion
157
+ * @summary: Delete a promotion which is in draft state
158
+ * @description: Delete details of a draft promotion by providing its unique identifier to delete information such as promotion type, rules, validity period and other related information. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/deletePromotion/).
159
+ */
160
+ deletePromotion({ id, requestHeaders }?: CartPlatformApplicationValidator.DeletePromotionParam, { responseHeaders }?: object): Promise<CartPlatformModel.SuccessMessage>;
125
161
  /**
126
162
  * @param {CartPlatformApplicationValidator.FetchAndvalidateCartItemsParam} arg
127
163
  * - Arg object
128
164
  *
129
165
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
130
166
  * @param {import("../PlatformAPIClient").Options} - Options
131
- * @returns {Promise<CartPlatformModel.OpenapiCartDetailsResponse>} - Success response
167
+ * @returns {Promise<CartPlatformModel.OpenapiCartDetailsResult>} - Success response
132
168
  * @name fetchAndvalidateCartItems
133
169
  * @summary: Get and validate cart items
134
- * @description: Retrieve cart details for a provided list of cart items and validate its contents. This ensures accuracy and completeness in cart information, including item quantities, prices, discounts, and applicable taxes. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/fetchAndvalidateCartItems/).
170
+ * @description: Retrieve cart details for a provided list of cart items and validate its contents. This ensures accuracy and completeness in cart information, including item quantities, prices, discounts, and applicable taxes. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/fetchAndvalidateCartItems/).
135
171
  */
136
- fetchAndvalidateCartItems({ body, requestHeaders }?: CartPlatformApplicationValidator.FetchAndvalidateCartItemsParam, { responseHeaders }?: object): Promise<CartPlatformModel.OpenapiCartDetailsResponse>;
172
+ fetchAndvalidateCartItems({ body, xOrderingSource, xOrderingSourceType, xLocationDetail, xCurrencyCode, requestHeaders, }?: CartPlatformApplicationValidator.FetchAndvalidateCartItemsParam, { responseHeaders }?: object): Promise<CartPlatformModel.OpenapiCartDetailsResult>;
137
173
  /**
138
174
  * @param {CartPlatformApplicationValidator.FetchCartMetaConfigParam} arg - Arg object
139
175
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -141,31 +177,31 @@ declare class Cart {
141
177
  * @returns {Promise<CartPlatformModel.CartMetaConfigAdd>} - Success response
142
178
  * @name fetchCartMetaConfig
143
179
  * @summary: Get cart meta
144
- * @description: Retrieve meta configuration settings tailored for customizing the cart experience within a specific sales channel. Cart meta includes configuration settings such as allowed maximum cart value, allowed minimum cart value, maximum allowed cart items, delivery charges, etc. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/fetchCartMetaConfig/).
180
+ * @description: Retrieve meta configuration settings tailored for customizing the cart experience within a specific sales channel. Cart meta includes configuration settings such as allowed maximum cart value, allowed minimum cart value, maximum allowed cart items, delivery charges, etc. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/fetchCartMetaConfig/).
145
181
  */
146
182
  fetchCartMetaConfig({ requestHeaders }?: any, { responseHeaders }?: object): Promise<CartPlatformModel.CartMetaConfigAdd>;
147
183
  /**
148
184
  * @param {CartPlatformApplicationValidator.GetAbandonedCartParam} arg - Arg object
149
185
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
150
186
  * @param {import("../PlatformAPIClient").Options} - Options
151
- * @returns {Promise<CartPlatformModel.AbandonedCartResponse>} - Success response
187
+ * @returns {Promise<CartPlatformModel.AbandonedCartResult>} - Success response
152
188
  * @name getAbandonedCart
153
189
  * @summary: Get abandoned carts
154
- * @description: Retrieve the list of abandoned carts that have been active for the specified period of time and have not yet been archived for the specific sales channel. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/getAbandonedCart/).
190
+ * @description: Retrieve the list of abandoned carts that have been active for the specified period of time and have not yet been archived for the specific sales channel. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/getAbandonedCart/).
155
191
  */
156
- getAbandonedCart({ pageNo, pageSize, fromDate, toDate, anonymousCart, lastId, sortOn, requestHeaders, }?: CartPlatformApplicationValidator.GetAbandonedCartParam, { responseHeaders }?: object): Promise<CartPlatformModel.AbandonedCartResponse>;
192
+ getAbandonedCart({ pageNo, pageSize, fromDate, toDate, anonymousCart, lastId, sortOn, requestHeaders, }?: CartPlatformApplicationValidator.GetAbandonedCartParam, { responseHeaders }?: object): Promise<CartPlatformModel.AbandonedCartResult>;
157
193
  /**
158
194
  * @param {CartPlatformApplicationValidator.GetAbandonedCartDetailsParam} arg
159
195
  * - Arg object
160
196
  *
161
197
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
162
198
  * @param {import("../PlatformAPIClient").Options} - Options
163
- * @returns {Promise<CartPlatformModel.CartDetailResponse>} - Success response
199
+ * @returns {Promise<CartPlatformModel.CartDetailResult>} - Success response
164
200
  * @name getAbandonedCartDetails
165
201
  * @summary: Get abandoned cart details
166
- * @description: Retrieves abandoned cart details linked to a specific customer using a unique cart ID. It offers an overview of the items, quantities, prices, and other relevant information associated with the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/getAbandonedCartDetails/).
202
+ * @description: Retrieves abandoned cart details 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/platform/cart/getAbandonedCartDetails/).
167
203
  */
168
- getAbandonedCartDetails({ id, i, b, c, requestHeaders }?: CartPlatformApplicationValidator.GetAbandonedCartDetailsParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartDetailResponse>;
204
+ getAbandonedCartDetails({ id, i, b, c, requestHeaders }?: CartPlatformApplicationValidator.GetAbandonedCartDetailsParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartDetailResult>;
169
205
  /**
170
206
  * @param {CartPlatformApplicationValidator.GetAddressByIdParam} arg - Arg object
171
207
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -173,82 +209,82 @@ declare class Cart {
173
209
  * @returns {Promise<CartPlatformModel.PlatformAddress>} - Success response
174
210
  * @name getAddressById
175
211
  * @summary: Get details for a single customer address
176
- * @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/platform/cart/getAddressById/).
212
+ * @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://docs.fynd.com/partners/commerce/sdk/platform/cart/getAddressById/).
177
213
  */
178
214
  getAddressById({ id, cartId, buyNow, mobileNo, checkoutMode, tags, isDefault, userId, requestHeaders, }?: CartPlatformApplicationValidator.GetAddressByIdParam, { responseHeaders }?: object): Promise<CartPlatformModel.PlatformAddress>;
179
215
  /**
180
216
  * @param {CartPlatformApplicationValidator.GetAddressesParam} arg - Arg object
181
217
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
182
218
  * @param {import("../PlatformAPIClient").Options} - Options
183
- * @returns {Promise<CartPlatformModel.PlatformGetAddressesResponse>} -
219
+ * @returns {Promise<CartPlatformModel.PlatformGetAddressesDetails>} -
184
220
  * Success response
185
221
  * @name getAddresses
186
222
  * @summary: Get a list of addresses for a customer
187
- * @description: Retrieves 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/platform/cart/getAddresses/).
223
+ * @description: Retrieves 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://docs.fynd.com/partners/commerce/sdk/platform/cart/getAddresses/).
188
224
  */
189
- getAddresses({ cartId, buyNow, mobileNo, checkoutMode, tags, isDefault, userId, requestHeaders, }?: CartPlatformApplicationValidator.GetAddressesParam, { responseHeaders }?: object): Promise<CartPlatformModel.PlatformGetAddressesResponse>;
225
+ getAddresses({ cartId, buyNow, mobileNo, checkoutMode, tags, isDefault, userId, requestHeaders, }?: CartPlatformApplicationValidator.GetAddressesParam, { responseHeaders }?: object): Promise<CartPlatformModel.PlatformGetAddressesDetails>;
190
226
  /**
191
227
  * @param {CartPlatformApplicationValidator.GetAppCouponsParam} arg - Arg object
192
228
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
193
229
  * @param {import("../PlatformAPIClient").Options} - Options
194
- * @returns {Promise<CartPlatformModel.GetCouponResponse>} - Success response
230
+ * @returns {Promise<CartPlatformModel.GetCouponResult>} - Success response
195
231
  * @name getAppCoupons
196
- * @summary: List coupons
197
- * @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/platform/cart/getAppCoupons/).
232
+ * @summary: List of coupons
233
+ * @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://docs.fynd.com/partners/commerce/sdk/platform/cart/getAppCoupons/).
198
234
  */
199
- getAppCoupons({ id, buyNow, slug, storeId, requestHeaders }?: CartPlatformApplicationValidator.GetAppCouponsParam, { responseHeaders }?: object): Promise<CartPlatformModel.GetCouponResponse>;
235
+ getAppCoupons({ id, buyNow, slug, storeId, requestHeaders }?: CartPlatformApplicationValidator.GetAppCouponsParam, { responseHeaders }?: object): Promise<CartPlatformModel.GetCouponResult>;
200
236
  /**
201
237
  * @param {CartPlatformApplicationValidator.GetAvailableDeliveryModesParam} arg
202
238
  * - Arg object
203
239
  *
204
240
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
205
241
  * @param {import("../PlatformAPIClient").Options} - Options
206
- * @returns {Promise<CartPlatformModel.CartDeliveryModesResponse>} - Success response
242
+ * @returns {Promise<CartPlatformModel.CartDeliveryModesDetails>} - Success response
207
243
  * @name getAvailableDeliveryModes
208
244
  * @summary: Get delivery modes
209
- * @description: Retrieve a list of delivery modes (home delivery/store pickup) along with a list of available pickup stores for a given cart at a specified PIN Code. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/getAvailableDeliveryModes/).
245
+ * @description: Retrieve a list of delivery modes (home delivery/store pickup) along with a list of available pickup stores for a given cart at a specified PIN Code. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/getAvailableDeliveryModes/).
210
246
  */
211
- getAvailableDeliveryModes({ areaCode, id, requestHeaders }?: CartPlatformApplicationValidator.GetAvailableDeliveryModesParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartDeliveryModesResponse>;
247
+ getAvailableDeliveryModes({ areaCode, id, requestHeaders }?: CartPlatformApplicationValidator.GetAvailableDeliveryModesParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartDeliveryModesDetails>;
212
248
  /**
213
249
  * @param {CartPlatformApplicationValidator.GetCartParam} arg - Arg object
214
250
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
215
251
  * @param {import("../PlatformAPIClient").Options} - Options
216
- * @returns {Promise<CartPlatformModel.CartDetailResponse>} - Success response
252
+ * @returns {Promise<CartPlatformModel.CartDetailResult>} - Success response
217
253
  * @name getCart
218
254
  * @summary: Get a cart
219
- * @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/platform/cart/getCart/).
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/).
220
256
  */
221
- getCart({ id, userId, orderType, i, b, assignCardId, buyNow, requestHeaders }?: CartPlatformApplicationValidator.GetCartParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartDetailResponse>;
257
+ getCart({ xOrderingSource, xOrderingSourceType, xAnonymousCart, id, userId, orderType, i, b, assignCardId, buyNow, requestHeaders, }?: CartPlatformApplicationValidator.GetCartParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartDetailResult>;
222
258
  /**
223
259
  * @param {CartPlatformApplicationValidator.GetCartListParam} arg - Arg object
224
260
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
225
261
  * @param {import("../PlatformAPIClient").Options} - Options
226
- * @returns {Promise<CartPlatformModel.MultiCartResponse>} - Success response
262
+ * @returns {Promise<CartPlatformModel.MultiCartResult>} - Success response
227
263
  * @name getCartList
228
- * @summary: List carts
229
- * @description: Retrieve the list of active carts associated with a specific customer. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/getCartList/).
264
+ * @summary: List of carts
265
+ * @description: Retrieve the list of active carts associated with a specific customer. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/getCartList/).
230
266
  */
231
- getCartList({ fromDate, toDate, filterOn, requestHeaders }?: CartPlatformApplicationValidator.GetCartListParam, { responseHeaders }?: object): Promise<CartPlatformModel.MultiCartResponse>;
267
+ getCartList({ fromDate, toDate, filterOn, requestHeaders }?: CartPlatformApplicationValidator.GetCartListParam, { responseHeaders }?: object): Promise<CartPlatformModel.MultiCartResult>;
232
268
  /**
233
269
  * @param {CartPlatformApplicationValidator.GetCartShareLinkParam} arg - Arg object
234
270
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
235
271
  * @param {import("../PlatformAPIClient").Options} - Options
236
- * @returns {Promise<CartPlatformModel.GetShareCartLinkResponse>} - Success response
272
+ * @returns {Promise<CartPlatformModel.GetShareCartLinkResult>} - Success response
237
273
  * @name getCartShareLink
238
274
  * @summary: Share cart link
239
- * @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/platform/cart/getCartShareLink/).
275
+ * @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/platform/cart/getCartShareLink/).
240
276
  */
241
- getCartShareLink({ body, requestHeaders }?: CartPlatformApplicationValidator.GetCartShareLinkParam, { responseHeaders }?: object): Promise<CartPlatformModel.GetShareCartLinkResponse>;
277
+ getCartShareLink({ body, requestHeaders }?: CartPlatformApplicationValidator.GetCartShareLinkParam, { responseHeaders }?: object): Promise<CartPlatformModel.GetShareCartLinkResult>;
242
278
  /**
243
279
  * @param {CartPlatformApplicationValidator.GetCartSharedItemsParam} arg - Arg object
244
280
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
245
281
  * @param {import("../PlatformAPIClient").Options} - Options
246
- * @returns {Promise<CartPlatformModel.SharedCartResponse>} - Success response
282
+ * @returns {Promise<CartPlatformModel.SharedCartResult>} - Success response
247
283
  * @name getCartSharedItems
248
284
  * @summary: List shared cart items
249
- * @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/platform/cart/getCartSharedItems/).
285
+ * @description: Retrieve the cart items from the shared cart link based on unique token. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/getCartSharedItems/).
250
286
  */
251
- getCartSharedItems({ token, requestHeaders }?: CartPlatformApplicationValidator.GetCartSharedItemsParam, { responseHeaders }?: object): Promise<CartPlatformModel.SharedCartResponse>;
287
+ getCartSharedItems({ token, requestHeaders }?: CartPlatformApplicationValidator.GetCartSharedItemsParam, { responseHeaders }?: object): Promise<CartPlatformModel.SharedCartResult>;
252
288
  /**
253
289
  * @param {CartPlatformApplicationValidator.GetCouponByIdParam} arg - Arg object
254
290
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -256,7 +292,7 @@ declare class Cart {
256
292
  * @returns {Promise<CartPlatformModel.CouponUpdate>} - Success response
257
293
  * @name getCouponById
258
294
  * @summary: Get a coupon
259
- * @description: Retrieve details of a specific coupon by providing its unique identifier to obtain information such as coupon type, rules, validity period and other related information. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/getCouponById/).
295
+ * @description: Retrieve details of a specific coupon by providing its unique identifier to obtain 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/getCouponById/).
260
296
  */
261
297
  getCouponById({ id, requestHeaders }?: CartPlatformApplicationValidator.GetCouponByIdParam, { responseHeaders }?: object): Promise<CartPlatformModel.CouponUpdate>;
262
298
  /**
@@ -266,7 +302,7 @@ declare class Cart {
266
302
  * @returns {Promise<Object>} - Success response
267
303
  * @name getCouponCodeExists
268
304
  * @summary: Check coupon code exists
269
- * @description: Validates the presence of a coupon code for the specified sales channel to verify whether the provided code already exists or not. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/getCouponCodeExists/).
305
+ * @description: Validates the presence of a coupon code for the specified sales channel to verify whether the provided code already exists or not. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/getCouponCodeExists/).
270
306
  */
271
307
  getCouponCodeExists({ code, requestHeaders }?: CartPlatformApplicationValidator.GetCouponCodeExistsParam, { responseHeaders }?: object): Promise<any>;
272
308
  /**
@@ -278,61 +314,81 @@ declare class Cart {
278
314
  * @returns {Promise<Object>} - Success response
279
315
  * @name getCouponOptionValues
280
316
  * @summary: Get coupon option values
281
- * @description: Retrieves the available values for coupon options used to create and update coupons. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/getCouponOptionValues/).
317
+ * @description: Retrieves the available values for coupon options used to create and update coupons. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/getCouponOptionValues/).
282
318
  */
283
319
  getCouponOptionValues({ requestHeaders }?: any, { responseHeaders }?: object): Promise<any>;
284
320
  /**
285
321
  * @param {CartPlatformApplicationValidator.GetCouponsParam} arg - Arg object
286
322
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
287
323
  * @param {import("../PlatformAPIClient").Options} - Options
288
- * @returns {Promise<CartPlatformModel.CouponsResponse>} - Success response
324
+ * @returns {Promise<CartPlatformModel.CouponsResult>} - Success response
289
325
  * @name getCoupons
290
- * @summary: List coupons
291
- * @description: Retrieve a list of all created coupons for specific sales channel. It also supports searching based on text search, pagination and other flags to filter coupons. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/getCoupons/).
326
+ * @summary: List of coupons
327
+ * @description: Retrieve a list of all created coupons for specific sales channel. It also supports searching based on text search, pagination and other flags to filter coupons. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/getCoupons/).
292
328
  */
293
- getCoupons({ pageNo, pageSize, isArchived, title, isPublic, isDisplay, typeSlug, code, requestHeaders, }?: CartPlatformApplicationValidator.GetCouponsParam, { responseHeaders }?: object): Promise<CartPlatformModel.CouponsResponse>;
329
+ getCoupons({ pageNo, pageSize, isArchived, title, isPublic, isDisplay, typeSlug, code, createdBy, reviewedBy, approvedStartTime, approvedEndTime, reviewStartTime, reviewEndTime, status, requestHeaders, }?: CartPlatformApplicationValidator.GetCouponsParam, { responseHeaders }?: object): Promise<CartPlatformModel.CouponsResult>;
294
330
  /**
295
331
  * @param {CartPlatformApplicationValidator.GetItemCountParam} arg - Arg object
296
332
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
297
333
  * @param {import("../PlatformAPIClient").Options} - Options
298
- * @returns {Promise<CartPlatformModel.CartItemCountResponse>} - Success response
334
+ * @returns {Promise<CartPlatformModel.CartItemCountResult>} - Success response
299
335
  * @name getItemCount
300
336
  * @summary: Get a cart items count
301
- * @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/platform/cart/getItemCount/).
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/).
302
338
  */
303
- getItemCount({ id, buyNow, requestHeaders }?: CartPlatformApplicationValidator.GetItemCountParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartItemCountResponse>;
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>;
304
360
  /**
305
361
  * @param {CartPlatformApplicationValidator.GetPriceAdjustmentsParam} arg - Arg object
306
362
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
307
363
  * @param {import("../PlatformAPIClient").Options} - Options
308
- * @returns {Promise<CartPlatformModel.GetPriceAdjustmentResponse>} - Success response
364
+ * @returns {Promise<CartPlatformModel.GetPriceAdjustmentResult>} - Success response
309
365
  * @name getPriceAdjustments
310
366
  * @summary: Get a list of all price adjustments associated with a cart
311
- * @description: This API helps to get price adjustments data associated to a particular cart - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/getPriceAdjustments/).
367
+ * @description: This API helps to get price adjustments data associated to a particular cart - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/getPriceAdjustments/).
312
368
  */
313
- getPriceAdjustments({ cartId, requestHeaders }?: CartPlatformApplicationValidator.GetPriceAdjustmentsParam, { responseHeaders }?: object): Promise<CartPlatformModel.GetPriceAdjustmentResponse>;
369
+ getPriceAdjustments({ cartId, requestHeaders }?: CartPlatformApplicationValidator.GetPriceAdjustmentsParam, { responseHeaders }?: object): Promise<CartPlatformModel.GetPriceAdjustmentResult>;
314
370
  /**
315
371
  * @param {CartPlatformApplicationValidator.GetPromosCouponConfigParam} arg
316
372
  * - Arg object
317
373
  *
318
374
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
319
375
  * @param {import("../PlatformAPIClient").Options} - Options
320
- * @returns {Promise<CartPlatformModel.ActivePromosResponse>} - Success response
376
+ * @returns {Promise<CartPlatformModel.ActivePromosResult>} - Success response
321
377
  * @name getPromosCouponConfig
322
378
  * @summary: Get promotion and coupon type
323
- * @description: Retrieve the configuration settings related to promotions and coupons for a specific seller. It provides details of the supported types of coupons and promotions along with their descriptions, examples, and related attributes. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/getPromosCouponConfig/).
379
+ * @description: Retrieve the configuration settings related to promotions and coupons for a specific seller. It provides details of the supported types of coupons and promotions along with their descriptions, examples, and related attributes. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/getPromosCouponConfig/).
324
380
  */
325
- getPromosCouponConfig({ entityType, isHidden, requestHeaders }?: CartPlatformApplicationValidator.GetPromosCouponConfigParam, { responseHeaders }?: object): Promise<CartPlatformModel.ActivePromosResponse>;
381
+ getPromosCouponConfig({ entityType, isHidden, requestHeaders }?: CartPlatformApplicationValidator.GetPromosCouponConfigParam, { responseHeaders }?: object): Promise<CartPlatformModel.ActivePromosResult>;
326
382
  /**
327
383
  * @param {CartPlatformApplicationValidator.GetPromotionByIdParam} arg - Arg object
328
384
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
329
385
  * @param {import("../PlatformAPIClient").Options} - Options
330
- * @returns {Promise<CartPlatformModel.PromotionUpdate>} - Success response
386
+ * @returns {Promise<CartPlatformModel.PromotionUpdateResult>} - Success response
331
387
  * @name getPromotionById
332
- * @summary: Get a promotion
333
- * @description: Retrieve details of a specific promotion by providing its unique identifier to obtain information such as promotion type, rules, validity period and other related information. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/getPromotionById/).
388
+ * @summary: Get a specific promotion
389
+ * @description: Retrieve details of a specific promotion by providing its unique identifier to obtain information such as promotion type, rules, validity period and other related information. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/getPromotionById/).
334
390
  */
335
- getPromotionById({ id, requestHeaders }?: CartPlatformApplicationValidator.GetPromotionByIdParam, { responseHeaders }?: object): Promise<CartPlatformModel.PromotionUpdate>;
391
+ getPromotionById({ id, requestHeaders }?: CartPlatformApplicationValidator.GetPromotionByIdParam, { responseHeaders }?: object): Promise<CartPlatformModel.PromotionUpdateResult>;
336
392
  /**
337
393
  * @param {CartPlatformApplicationValidator.GetPromotionCodeExistsParam} arg
338
394
  * - Arg object
@@ -342,151 +398,139 @@ declare class Cart {
342
398
  * @returns {Promise<Object>} - Success response
343
399
  * @name getPromotionCodeExists
344
400
  * @summary: Check promotion code exists
345
- * @description: Validates the presence of a promotion code for the specified sales channel to verify whether the provided code already exists or not. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/getPromotionCodeExists/).
401
+ * @description: Validates the presence of a promotion code for the specified sales channel to verify whether the provided code already exists or not. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/getPromotionCodeExists/).
346
402
  */
347
403
  getPromotionCodeExists({ code, requestHeaders }?: CartPlatformApplicationValidator.GetPromotionCodeExistsParam, { responseHeaders }?: object): Promise<any>;
348
404
  /**
349
405
  * @param {CartPlatformApplicationValidator.GetPromotionOffersParam} arg - Arg object
350
406
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
351
407
  * @param {import("../PlatformAPIClient").Options} - Options
352
- * @returns {Promise<CartPlatformModel.PromotionOffersResponse>} - Success response
408
+ * @returns {Promise<CartPlatformModel.PromotionOffersDetails>} - Success response
353
409
  * @name getPromotionOffers
354
- * @summary: List available promotion offers
355
- * @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/platform/cart/getPromotionOffers/).
410
+ * @summary: List of all available promotion offers
411
+ * @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://docs.fynd.com/partners/commerce/sdk/platform/cart/getPromotionOffers/).
356
412
  */
357
- getPromotionOffers({ slug, pageSize, promotionGroup, storeId, cartType, requestHeaders }?: CartPlatformApplicationValidator.GetPromotionOffersParam, { responseHeaders }?: object): Promise<CartPlatformModel.PromotionOffersResponse>;
413
+ getPromotionOffers({ slug, pageSize, promotionGroup, storeId, cartType, promotionType, cartId, autoApply, requestHeaders, }?: CartPlatformApplicationValidator.GetPromotionOffersParam, { responseHeaders }?: object): Promise<CartPlatformModel.PromotionOffersDetails>;
358
414
  /**
359
415
  * @param {CartPlatformApplicationValidator.GetPromotionPaymentOffersParam} arg
360
416
  * - Arg object
361
417
  *
362
418
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
363
419
  * @param {import("../PlatformAPIClient").Options} - Options
364
- * @returns {Promise<CartPlatformModel.PromotionPaymentOffersResponse>} -
420
+ * @returns {Promise<CartPlatformModel.PromotionPaymentOffersDetails>} -
365
421
  * Success response
366
422
  * @name getPromotionPaymentOffers
367
423
  * @summary: Fetch available promotions payment offers
368
- * @description: Use this API to get top 5 payment offers available for current product - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/getPromotionPaymentOffers/).
424
+ * @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/platform/cart/getPromotionPaymentOffers/).
369
425
  */
370
- getPromotionPaymentOffers({ id, uid, requestHeaders }?: CartPlatformApplicationValidator.GetPromotionPaymentOffersParam, { responseHeaders }?: object): Promise<CartPlatformModel.PromotionPaymentOffersResponse>;
426
+ getPromotionPaymentOffers({ id, uid, requestHeaders }?: CartPlatformApplicationValidator.GetPromotionPaymentOffersParam, { responseHeaders }?: object): Promise<CartPlatformModel.PromotionPaymentOffersDetails>;
371
427
  /**
372
428
  * @param {CartPlatformApplicationValidator.GetPromotionsParam} arg - Arg object
373
429
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
374
430
  * @param {import("../PlatformAPIClient").Options} - Options
375
- * @returns {Promise<CartPlatformModel.PromotionsResponse>} - Success response
431
+ * @returns {Promise<CartPlatformModel.PromotionsResult>} - Success response
376
432
  * @name getPromotions
377
- * @summary: List promotions
378
- * @description: Retrieve a list of all created promotions for specific sales channel. It also supports efficient text search and pagination functionalities, ensuring optimized promotion listing for streamlined navigation and management. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/getPromotions/).
433
+ * @summary: List of promotions
434
+ * @description: Retrieve a list of all created promotions for specific sales channel. It also supports efficient text search and pagination functionalities, ensuring optimized promotion listing for streamlined navigation and management. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/getPromotions/).
379
435
  */
380
- getPromotions({ pageNo, pageSize, q, isActive, promoGroup, promotionType, fpPanel, promotionId, requestHeaders, }?: CartPlatformApplicationValidator.GetPromotionsParam, { responseHeaders }?: object): Promise<CartPlatformModel.PromotionsResponse>;
436
+ getPromotions({ pageNo, pageSize, q, isActive, promoGroup, promotionType, fpPanel, promotionId, createdBy, reviewedBy, approvedStartTime, approvedEndTime, reviewStartTime, reviewEndTime, status, requestHeaders, }?: CartPlatformApplicationValidator.GetPromotionsParam, { responseHeaders }?: object): Promise<CartPlatformModel.PromotionsResult>;
381
437
  /**
382
438
  * @param {CartPlatformApplicationValidator.GetShipmentsParam} arg - Arg object
383
439
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
384
440
  * @param {import("../PlatformAPIClient").Options} - Options
385
- * @returns {Promise<CartPlatformModel.PlatformCartShipmentsResponse>} -
441
+ * @returns {Promise<CartPlatformModel.PlatformCartShipmentsResult>} -
386
442
  * Success response
387
443
  * @name getShipments
388
444
  * @summary: Get shipments details
389
- * @description: Use this API to get shipment details, expected delivery date, items and price breakup of the shipment. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/getShipments/).
445
+ * @description: Use this API to get shipment details, expected delivery date, items and price breakup of the shipment. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/getShipments/).
390
446
  */
391
- getShipments({ pickAtStoreUid, orderingStoreId, i, p, id, addressId, areaCode, orderType, requestHeaders, }?: CartPlatformApplicationValidator.GetShipmentsParam, { responseHeaders }?: object): Promise<CartPlatformModel.PlatformCartShipmentsResponse>;
447
+ getShipments({ pickAtStoreUid, orderingStoreId, i, p, id, addressId, areaCode, orderType, requestHeaders, }?: CartPlatformApplicationValidator.GetShipmentsParam, { responseHeaders }?: object): Promise<CartPlatformModel.PlatformCartShipmentsResult>;
392
448
  /**
393
449
  * @param {CartPlatformApplicationValidator.GetStoreAddressByUidParam} arg
394
450
  * - Arg object
395
451
  *
396
452
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
397
453
  * @param {import("../PlatformAPIClient").Options} - Options
398
- * @returns {Promise<CartPlatformModel.StoreDetailsResponse>} - Success response
454
+ * @returns {Promise<CartPlatformModel.StoreDetails>} - Success response
399
455
  * @name getStoreAddressByUid
400
456
  * @summary: Get Store Address
401
- * @description: Retrieve store details by entering the unique identifier of the pickup stores. Store details include the seller's name, contact information such as email address or phone number and business address. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/getStoreAddressByUid/).
457
+ * @description: Retrieve store details by entering the unique identifier of the pickup stores. Store details include the seller's name, contact information such as email address or phone number and business address. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/getStoreAddressByUid/).
402
458
  */
403
- getStoreAddressByUid({ storeUid, requestHeaders }?: CartPlatformApplicationValidator.GetStoreAddressByUidParam, { responseHeaders }?: object): Promise<CartPlatformModel.StoreDetailsResponse>;
459
+ getStoreAddressByUid({ storeUid, requestHeaders }?: CartPlatformApplicationValidator.GetStoreAddressByUidParam, { responseHeaders }?: object): Promise<CartPlatformModel.StoreDetails>;
404
460
  /**
405
461
  * @param {CartPlatformApplicationValidator.OverrideCartParam} arg - Arg object
406
462
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
407
463
  * @param {import("../PlatformAPIClient").Options} - Options
408
- * @returns {Promise<CartPlatformModel.OverrideCheckoutResponse>} - Success response
464
+ * @returns {Promise<CartPlatformModel.OverrideCheckoutResult>} - Success response
409
465
  * @name overrideCart
410
466
  * @summary: Update cart checkout
411
- * @description: Overrides the cart's checkout process with a new provided cart items. It provides flexibility in customizing checkout flows to meet specific business requirements, enhancing the user experience and optimizing order processing workflows. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/overrideCart/).
467
+ * @description: Overrides the cart's checkout process with a new provided cart items. It provides flexibility in customizing checkout flows to meet specific business requirements, enhancing the user experience and optimizing order processing workflows. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/overrideCart/).
412
468
  */
413
- overrideCart({ body, requestHeaders }?: CartPlatformApplicationValidator.OverrideCartParam, { responseHeaders }?: object): Promise<CartPlatformModel.OverrideCheckoutResponse>;
469
+ overrideCart({ body, xOrderingSource, xOrderingSourceType, xLocationDetail, xCurrencyCode, requestHeaders, }?: CartPlatformApplicationValidator.OverrideCartParam, { responseHeaders }?: object): Promise<CartPlatformModel.OverrideCheckoutResult>;
414
470
  /**
415
471
  * @param {CartPlatformApplicationValidator.PlatformAddItemsParam} arg - Arg object
416
472
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
417
473
  * @param {import("../PlatformAPIClient").Options} - Options
418
- * @returns {Promise<CartPlatformModel.AddCartDetailResponse>} - Success response
474
+ * @returns {Promise<CartPlatformModel.AddCartDetailResult>} - Success response
419
475
  * @name platformAddItems
420
476
  * @summary: Add items to cart
421
- * @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/platform/cart/platformAddItems/).
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/).
422
478
  */
423
- platformAddItems({ body, i, b, buyNow, orderType, id, requestHeaders }?: CartPlatformApplicationValidator.PlatformAddItemsParam, { responseHeaders }?: object): Promise<CartPlatformModel.AddCartDetailResponse>;
479
+ platformAddItems({ body, xOrderingSource, xOrderingSourceType, xAnonymousCart, i, b, includeCartCalculation, buyNow, orderType, id, requestHeaders, }?: CartPlatformApplicationValidator.PlatformAddItemsParam, { responseHeaders }?: object): Promise<CartPlatformModel.AddCartDetailResult>;
424
480
  /**
425
481
  * @param {CartPlatformApplicationValidator.PlatformCheckoutCartParam} arg
426
482
  * - Arg object
427
483
  *
428
484
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
429
485
  * @param {import("../PlatformAPIClient").Options} - Options
430
- * @returns {Promise<CartPlatformModel.CartCheckoutResponse>} - Success response
486
+ * @returns {Promise<CartPlatformModel.CartCheckoutResult>} - Success response
431
487
  * @name platformCheckoutCart
432
488
  * @summary: Checkout cart
433
- * @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/platform/cart/platformCheckoutCart/).
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/).
434
490
  */
435
- platformCheckoutCart({ body, id, requestHeaders }?: CartPlatformApplicationValidator.PlatformCheckoutCartParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartCheckoutResponse>;
491
+ platformCheckoutCart({ body, xOrderingSource, xOrderingSourceType, xAnonymousCart, id, requestHeaders, }?: CartPlatformApplicationValidator.PlatformCheckoutCartParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartCheckoutResult>;
436
492
  /**
437
493
  * @param {CartPlatformApplicationValidator.PlatformCheckoutCartV2Param} arg
438
494
  * - Arg object
439
495
  *
440
496
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
441
497
  * @param {import("../PlatformAPIClient").Options} - Options
442
- * @returns {Promise<CartPlatformModel.CartCheckoutResponse>} - Success response
498
+ * @returns {Promise<CartPlatformModel.CartCheckoutDetails>} - Success response
443
499
  * @name platformCheckoutCartV2
444
500
  * @summary: Checkout cart
445
- * @description: The checkout cart initiates the order creation process based on the items in the user's cart, their selected address, and chosen payment methods. It also supports multiple payment method options and revalidates the cart details to ensure a secure and seamless order placement. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/platformCheckoutCartV2/).
501
+ * @description: The checkout cart initiates the order creation process based on the items in the users 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/platform/cart/platformCheckoutCartV2/).
446
502
  */
447
- platformCheckoutCartV2({ body, id, requestHeaders }?: CartPlatformApplicationValidator.PlatformCheckoutCartV2Param, { responseHeaders }?: object): Promise<CartPlatformModel.CartCheckoutResponse>;
503
+ platformCheckoutCartV2({ body, xOrderingSource, xOrderingSourceType, xAnonymousCart, xLocationDetail, xCurrencyCode, id, requestHeaders, }?: CartPlatformApplicationValidator.PlatformCheckoutCartV2Param, { responseHeaders }?: object): Promise<CartPlatformModel.CartCheckoutDetails>;
448
504
  /**
449
505
  * @param {CartPlatformApplicationValidator.PlatformUpdateCartParam} arg - Arg object
450
506
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
451
507
  * @param {import("../PlatformAPIClient").Options} - Options
452
- * @returns {Promise<CartPlatformModel.UpdateCartDetailResponse>} - Success response
508
+ * @returns {Promise<CartPlatformModel.UpdateCartDetailResult>} - Success response
453
509
  * @name platformUpdateCart
454
510
  * @summary: Update cart items
455
- * @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/platform/cart/platformUpdateCart/).
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/).
456
512
  */
457
- platformUpdateCart({ body, id, i, orderType, b, buyNow, requestHeaders }?: CartPlatformApplicationValidator.PlatformUpdateCartParam, { responseHeaders }?: object): Promise<CartPlatformModel.UpdateCartDetailResponse>;
513
+ platformUpdateCart({ body, xOrderingSource, xOrderingSourceType, xAnonymousCart, id, i, orderType, b, includeCartCalculation, buyNow, requestHeaders, }?: CartPlatformApplicationValidator.PlatformUpdateCartParam, { responseHeaders }?: object): Promise<CartPlatformModel.UpdateCartDetailResult>;
458
514
  /**
459
515
  * @param {CartPlatformApplicationValidator.RemoveAddressParam} arg - Arg object
460
516
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
461
517
  * @param {import("../PlatformAPIClient").Options} - Options
462
- * @returns {Promise<CartPlatformModel.DeleteAddressResponse>} - Success response
518
+ * @returns {Promise<CartPlatformModel.DeleteAddressResult>} - Success response
463
519
  * @name removeAddress
464
520
  * @summary: Removes an address from a customer's address list
465
- * @description: Remove an existing customer address from the system. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/removeAddress/).
466
- */
467
- removeAddress({ id, userId, requestHeaders }?: CartPlatformApplicationValidator.RemoveAddressParam, { responseHeaders }?: object): Promise<CartPlatformModel.DeleteAddressResponse>;
468
- /**
469
- * @param {CartPlatformApplicationValidator.RemoveBulkPriceAdjustmentParam} arg
470
- * - Arg object
471
- *
472
- * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
473
- * @param {import("../PlatformAPIClient").Options} - Options
474
- * @returns {Promise<CartPlatformModel.SuccessMessage>} - Success response
475
- * @name removeBulkPriceAdjustment
476
- * @summary: Remove price adjustments in bulk.
477
- * @description: Remove the applied price adjustments for specific items within the cart based on unique price adjustment IDs. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/removeBulkPriceAdjustment/).
521
+ * @description: Remove an existing customer address from the system. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/removeAddress/).
478
522
  */
479
- removeBulkPriceAdjustment({ priceAdjustmentIds, requestHeaders }?: CartPlatformApplicationValidator.RemoveBulkPriceAdjustmentParam, { responseHeaders }?: object): Promise<CartPlatformModel.SuccessMessage>;
523
+ removeAddress({ id, userId, requestHeaders }?: CartPlatformApplicationValidator.RemoveAddressParam, { responseHeaders }?: object): Promise<CartPlatformModel.DeleteAddressResult>;
480
524
  /**
481
525
  * @param {CartPlatformApplicationValidator.RemoveCouponParam} arg - Arg object
482
526
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
483
527
  * @param {import("../PlatformAPIClient").Options} - Options
484
- * @returns {Promise<CartPlatformModel.CartDetailResponse>} - Success response
528
+ * @returns {Promise<CartPlatformModel.CartDetailResult>} - Success response
485
529
  * @name removeCoupon
486
530
  * @summary: Remove coupon
487
- * @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/platform/cart/removeCoupon/).
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/).
488
532
  */
489
- removeCoupon({ uid, buyNow, requestHeaders }?: CartPlatformApplicationValidator.RemoveCouponParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartDetailResponse>;
533
+ removeCoupon({ xOrderingSource, xOrderingSourceType, xAnonymousCart, uid, buyNow, requestHeaders, }?: CartPlatformApplicationValidator.RemoveCouponParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartDetailResult>;
490
534
  /**
491
535
  * @param {CartPlatformApplicationValidator.RemovePriceAdjustmentParam} arg
492
536
  * - Arg object
@@ -496,82 +540,79 @@ declare class Cart {
496
540
  * @returns {Promise<CartPlatformModel.SuccessMessage>} - Success response
497
541
  * @name removePriceAdjustment
498
542
  * @summary: Remove price adjustments
499
- * @description: Remove the applied price adjustments for specific items within the cart based on unique price adjustment ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/removePriceAdjustment/).
543
+ * @description: Remove the applied price adjustments for specific items within the cart based on unique price adjustment ID. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/removePriceAdjustment/).
500
544
  */
501
545
  removePriceAdjustment({ id, requestHeaders }?: CartPlatformApplicationValidator.RemovePriceAdjustmentParam, { responseHeaders }?: object): Promise<CartPlatformModel.SuccessMessage>;
502
546
  /**
503
547
  * @param {CartPlatformApplicationValidator.SelectAddressParam} arg - Arg object
504
548
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
505
549
  * @param {import("../PlatformAPIClient").Options} - Options
506
- * @returns {Promise<CartPlatformModel.CartDetailResponse>} - Success response
550
+ * @returns {Promise<CartPlatformModel.CartDetailResult>} - Success response
507
551
  * @name selectAddress
508
552
  * @summary: Select customer address for order processing
509
- * @description: Select an address from the saved customer addresses and validates the availability of items in the cart. Additionally, it verifies and updates the delivery promise based on the selected address. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/selectAddress/).
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/).
510
554
  */
511
- selectAddress({ body, cartId, buyNow, i, b, requestHeaders }?: CartPlatformApplicationValidator.SelectAddressParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartDetailResponse>;
555
+ selectAddress({ body, xOrderingSource, xOrderingSourceType, xAnonymousCart, cartId, buyNow, i, b, requestHeaders, }?: CartPlatformApplicationValidator.SelectAddressParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartDetailResult>;
512
556
  /**
513
557
  * @param {CartPlatformApplicationValidator.SelectPaymentModeParam} arg - Arg object
514
558
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
515
559
  * @param {import("../PlatformAPIClient").Options} - Options
516
- * @returns {Promise<CartPlatformModel.CartDetailResponse>} - Success response
560
+ * @returns {Promise<CartPlatformModel.CartDetailResult>} - Success response
517
561
  * @name selectPaymentMode
518
562
  * @summary: Select payment mode
519
- * @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/platform/cart/selectPaymentMode/).
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/).
520
564
  */
521
- selectPaymentMode({ body, id, buyNow, orderType, requestHeaders }?: CartPlatformApplicationValidator.SelectPaymentModeParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartDetailResponse>;
565
+ selectPaymentMode({ body, xOrderingSource, xOrderingSourceType, xAnonymousCart, id, buyNow, orderType, requestHeaders, }?: CartPlatformApplicationValidator.SelectPaymentModeParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartDetailResult>;
522
566
  /**
523
567
  * @param {CartPlatformApplicationValidator.SelectPaymentModeV2Param} arg - Arg object
524
568
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
525
569
  * @param {import("../PlatformAPIClient").Options} - Options
526
- * @returns {Promise<CartPlatformModel.CartDetailResponse>} - Success response
570
+ * @returns {Promise<CartPlatformModel.CartDetailResult>} - Success response
527
571
  * @name selectPaymentModeV2
528
572
  * @summary: Select payment mode (latest)
529
- * @description: Selection of payment mode that supports multiple MOP(mode of payment). - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/selectPaymentModeV2/).
573
+ * @description: Selection of payment mode that supports multiple MOP(mode of payment). - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/selectPaymentModeV2/).
530
574
  */
531
- selectPaymentModeV2({ body, id, buyNow, orderType, requestHeaders }?: CartPlatformApplicationValidator.SelectPaymentModeV2Param, { responseHeaders }?: object): Promise<CartPlatformModel.CartDetailResponse>;
575
+ selectPaymentModeV2({ body, xOrderingSource, xOrderingSourceType, id, buyNow, orderType, requestHeaders, }?: CartPlatformApplicationValidator.SelectPaymentModeV2Param, { responseHeaders }?: object): Promise<CartPlatformModel.CartDetailResult>;
532
576
  /**
533
577
  * @param {CartPlatformApplicationValidator.UpdateAddressParam} arg - Arg object
534
578
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
535
579
  * @param {import("../PlatformAPIClient").Options} - Options
536
- * @returns {Promise<CartPlatformModel.UpdateAddressResponse>} - Success response
580
+ * @returns {Promise<CartPlatformModel.UpdateAddressDetails>} - Success response
537
581
  * @name updateAddress
538
582
  * @summary: Updates an existing customer address
539
- * @description: Update the user address - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/updateAddress/).
583
+ * @description: Update the user address - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/updateAddress/).
540
584
  */
541
- updateAddress({ id, body, requestHeaders }?: CartPlatformApplicationValidator.UpdateAddressParam, { responseHeaders }?: object): Promise<CartPlatformModel.UpdateAddressResponse>;
585
+ updateAddress({ id, body, requestHeaders }?: CartPlatformApplicationValidator.UpdateAddressParam, { responseHeaders }?: object): Promise<CartPlatformModel.UpdateAddressDetails>;
542
586
  /**
543
- * @param {CartPlatformApplicationValidator.UpdateBulkPriceAdjustmentParam} arg
544
- * - Arg object
545
- *
587
+ * @param {CartPlatformApplicationValidator.UpdateCartParam} arg - Arg object
546
588
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
547
589
  * @param {import("../PlatformAPIClient").Options} - Options
548
- * @returns {Promise<CartPlatformModel.BulkPriceAdjustmentResponse>} -
549
- * Success response
550
- * @name updateBulkPriceAdjustment
551
- * @summary: Update price adjustments
552
- * @description: Modify price adjustments for specific items in the cart. By providing the seller ID, sales channel ID, and price adjustment ID, seller can apply discounts or other adjustments to the prices of cart items, facilitating dynamic pricing strategies. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/updateBulkPriceAdjustment/).
590
+ * @returns {Promise<CartPlatformModel.UpdateCartDetailResult>} - Success response
591
+ * @name updateCart
592
+ * @summary: Update cart items
593
+ * @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/updateCart/).
553
594
  */
554
- updateBulkPriceAdjustment({ body, requestHeaders }?: CartPlatformApplicationValidator.UpdateBulkPriceAdjustmentParam, { responseHeaders }?: object): Promise<CartPlatformModel.BulkPriceAdjustmentResponse>;
595
+ updateCart({ cartId, body, b, requestHeaders }?: CartPlatformApplicationValidator.UpdateCartParam, { responseHeaders }?: object): Promise<CartPlatformModel.UpdateCartDetailResult>;
555
596
  /**
556
- * @param {CartPlatformApplicationValidator.UpdateCartParam} arg - Arg object
597
+ * @param {CartPlatformApplicationValidator.UpdateCartBreakupParam} arg - Arg object
557
598
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
558
599
  * @param {import("../PlatformAPIClient").Options} - Options
559
- * @returns {Promise<CartPlatformModel.UpdateCartDetailResponse>} - Success response
560
- * @name updateCart
561
- * @summary: Update cart items
562
- * @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/platform/cart/updateCart/).
600
+ * @returns {Promise<CartPlatformModel.CartDetailResult>} - Success response
601
+ * @name updateCartBreakup
602
+ * @summary: Update cart breakup values
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/).
563
604
  */
564
- updateCart({ cartId, body, b, requestHeaders }?: CartPlatformApplicationValidator.UpdateCartParam, { responseHeaders }?: object): Promise<CartPlatformModel.UpdateCartDetailResponse>;
605
+ updateCartBreakup({ body, xOrderingSource, xOrderingSourceType, xAnonymousCart, id, i, b, includeCartCalculation, buyNow, requestHeaders, }?: CartPlatformApplicationValidator.UpdateCartBreakupParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartDetailResult>;
565
606
  /**
566
607
  * @param {CartPlatformApplicationValidator.UpdateCartMetaParam} arg - Arg object
567
608
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
568
609
  * @param {import("../PlatformAPIClient").Options} - Options
569
- * @returns {Promise<CartPlatformModel.CartMetaResponse>} - Success response
610
+ * @returns {Promise<CartPlatformModel.CartMetaDetails>} - Success response
570
611
  * @name updateCartMeta
571
612
  * @summary: Update cart metadata
572
- * @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/platform/cart/updateCartMeta/).
613
+ * @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://docs.fynd.com/partners/commerce/sdk/platform/cart/updateCartMeta/).
573
614
  */
574
- updateCartMeta({ body, id, buyNow, requestHeaders }?: CartPlatformApplicationValidator.UpdateCartMetaParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartMetaResponse>;
615
+ updateCartMeta({ body, id, buyNow, requestHeaders }?: CartPlatformApplicationValidator.UpdateCartMetaParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartMetaDetails>;
575
616
  /**
576
617
  * @param {CartPlatformApplicationValidator.UpdateCartMetaConfigParam} arg
577
618
  * - Arg object
@@ -581,41 +622,41 @@ declare class Cart {
581
622
  * @returns {Promise<CartPlatformModel.CartMetaConfigUpdate>} - Success response
582
623
  * @name updateCartMetaConfig
583
624
  * @summary: Update cart meta
584
- * @description: Modify the configuration settings for cart metadata associated with a specific sales channel. Cart meta includes configuration settings such as allowed maximum cart value, allowed minimum cart value, maximum allowed cart items, delivery charges, etc. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/updateCartMetaConfig/).
625
+ * @description: Modify the configuration settings for cart metadata associated with a specific sales channel. Cart meta includes configuration settings such as allowed maximum cart value, allowed minimum cart value, maximum allowed cart items, delivery charges, etc. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/updateCartMetaConfig/).
585
626
  */
586
627
  updateCartMetaConfig({ cartMetaId, body, requestHeaders }?: CartPlatformApplicationValidator.UpdateCartMetaConfigParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartMetaConfigUpdate>;
587
628
  /**
588
629
  * @param {CartPlatformApplicationValidator.UpdateCartUserParam} arg - Arg object
589
630
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
590
631
  * @param {import("../PlatformAPIClient").Options} - Options
591
- * @returns {Promise<CartPlatformModel.UserCartMappingResponse>} - Success response
632
+ * @returns {Promise<CartPlatformModel.UserCartMappingResult>} - Success response
592
633
  * @name updateCartUser
593
634
  * @summary: Update user of a cart
594
- * @description: Modify the cart user to a new valid customer for the provided customer ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/updateCartUser/).
635
+ * @description: Modify the cart user to a new valid customer for the provided customer ID. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/updateCartUser/).
595
636
  */
596
- updateCartUser({ body, id, requestHeaders }?: CartPlatformApplicationValidator.UpdateCartUserParam, { responseHeaders }?: object): Promise<CartPlatformModel.UserCartMappingResponse>;
637
+ updateCartUser({ body, id, requestHeaders }?: CartPlatformApplicationValidator.UpdateCartUserParam, { responseHeaders }?: object): Promise<CartPlatformModel.UserCartMappingResult>;
597
638
  /**
598
639
  * @param {CartPlatformApplicationValidator.UpdateCartWithSharedItemsParam} arg
599
640
  * - Arg object
600
641
  *
601
642
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
602
643
  * @param {import("../PlatformAPIClient").Options} - Options
603
- * @returns {Promise<CartPlatformModel.SharedCartResponse>} - Success response
644
+ * @returns {Promise<CartPlatformModel.SharedCartResult>} - Success response
604
645
  * @name updateCartWithSharedItems
605
646
  * @summary: Update shared cart items
606
- * @description: Customer can either merge or replace shared cart items with existing cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/updateCartWithSharedItems/).
647
+ * @description: Customer can either merge or replace shared cart items with existing cart. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/updateCartWithSharedItems/).
607
648
  */
608
- updateCartWithSharedItems({ token, action, cartId, requestHeaders }?: CartPlatformApplicationValidator.UpdateCartWithSharedItemsParam, { responseHeaders }?: object): Promise<CartPlatformModel.SharedCartResponse>;
649
+ updateCartWithSharedItems({ token, action, cartId, requestHeaders }?: CartPlatformApplicationValidator.UpdateCartWithSharedItemsParam, { responseHeaders }?: object): Promise<CartPlatformModel.SharedCartResult>;
609
650
  /**
610
651
  * @param {CartPlatformApplicationValidator.UpdateCouponParam} arg - Arg object
611
652
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
612
653
  * @param {import("../PlatformAPIClient").Options} - Options
613
- * @returns {Promise<CartPlatformModel.SuccessMessage>} - Success response
654
+ * @returns {Promise<CartPlatformModel.CouponCreateResult>} - Success response
614
655
  * @name updateCoupon
615
656
  * @summary: Update a coupon
616
- * @description: Update the details of an existing coupon by specifying its unique identifier. This includes modifying coupon attributes such as discount percentage, validity period, and associated conditions. Leveraging this functionality allows businesses to quickly adapt their promotional strategies to changing market dynamics. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/updateCoupon/).
657
+ * @description: Update the details of an existing coupon by specifying its unique identifier. This includes modifying coupon attributes such as discount percentage, validity period, and associated conditions. Leveraging this functionality allows businesses to quickly adapt their promotional strategies to changing market dynamics. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/updateCoupon/).
617
658
  */
618
- updateCoupon({ id, body, requestHeaders }?: CartPlatformApplicationValidator.UpdateCouponParam, { responseHeaders }?: object): Promise<CartPlatformModel.SuccessMessage>;
659
+ updateCoupon({ id, body, requestHeaders }?: CartPlatformApplicationValidator.UpdateCouponParam, { responseHeaders }?: object): Promise<CartPlatformModel.CouponCreateResult>;
619
660
  /**
620
661
  * @param {CartPlatformApplicationValidator.UpdateCouponPartiallyParam} arg
621
662
  * - Arg object
@@ -625,31 +666,53 @@ declare class Cart {
625
666
  * @returns {Promise<CartPlatformModel.SuccessMessage>} - Success response
626
667
  * @name updateCouponPartially
627
668
  * @summary: Update a coupon partially
628
- * @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://partners.fynd.com/help/docs/sdk/platform/cart/updateCouponPartially/).
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/).
629
670
  */
630
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>;
631
694
  /**
632
695
  * @param {CartPlatformApplicationValidator.UpdatePriceAdjustmentParam} arg
633
696
  * - Arg object
634
697
  *
635
698
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
636
699
  * @param {import("../PlatformAPIClient").Options} - Options
637
- * @returns {Promise<CartPlatformModel.PriceAdjustmentResponse>} - Success response
700
+ * @returns {Promise<CartPlatformModel.GetPriceAdjustmentResult>} - Success response
638
701
  * @name updatePriceAdjustment
639
702
  * @summary: Update price adjustments
640
- * @description: Modify price adjustments for specific items in the cart. By providing the seller ID, sales channel ID, and price adjustment ID, seller can apply discounts or other adjustments to the prices of cart items, facilitating dynamic pricing strategies. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/updatePriceAdjustment/).
703
+ * @description: Modify price adjustments for specific items in the cart. By providing the seller ID, sales channel ID, and price adjustment ID, seller can apply discounts or other adjustments to the prices of cart items, facilitating dynamic pricing strategies. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/updatePriceAdjustment/).
641
704
  */
642
- updatePriceAdjustment({ id, body, requestHeaders }?: CartPlatformApplicationValidator.UpdatePriceAdjustmentParam, { responseHeaders }?: object): Promise<CartPlatformModel.PriceAdjustmentResponse>;
705
+ updatePriceAdjustment({ id, body, requestHeaders }?: CartPlatformApplicationValidator.UpdatePriceAdjustmentParam, { responseHeaders }?: object): Promise<CartPlatformModel.GetPriceAdjustmentResult>;
643
706
  /**
644
707
  * @param {CartPlatformApplicationValidator.UpdatePromotionParam} arg - Arg object
645
708
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
646
709
  * @param {import("../PlatformAPIClient").Options} - Options
647
- * @returns {Promise<CartPlatformModel.PromotionUpdate>} - Success response
710
+ * @returns {Promise<CartPlatformModel.PromotionUpdateResult>} - Success response
648
711
  * @name updatePromotion
649
712
  * @summary: Update a promotion
650
- * @description: Update the details of an existing promotion by specifying its unique identifier. This includes modifying promotion attributes such as discount percentage, validity period, and associated conditions. Leveraging this functionality allows businesses to quickly adapt their promotional strategies to changing market dynamics. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/updatePromotion/).
713
+ * @description: Update the details of an existing promotion by specifying its unique identifier. This includes modifying promotion attributes such as discount percentage, validity period, and associated conditions. Leveraging this functionality allows businesses to quickly adapt their promotional strategies to changing market dynamics. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/updatePromotion/).
651
714
  */
652
- updatePromotion({ id, body, requestHeaders }?: CartPlatformApplicationValidator.UpdatePromotionParam, { responseHeaders }?: object): Promise<CartPlatformModel.PromotionUpdate>;
715
+ updatePromotion({ id, body, requestHeaders }?: CartPlatformApplicationValidator.UpdatePromotionParam, { responseHeaders }?: object): Promise<CartPlatformModel.PromotionUpdateResult>;
653
716
  /**
654
717
  * @param {CartPlatformApplicationValidator.UpdatePromotionPartiallyParam} arg
655
718
  * - Arg object
@@ -659,20 +722,20 @@ declare class Cart {
659
722
  * @returns {Promise<CartPlatformModel.SuccessMessage>} - Success response
660
723
  * @name updatePromotionPartially
661
724
  * @summary: Update a promotion partially
662
- * @description: Seller can make partial adjustments of an existing promotion by specifying its unique identifier. It enables businesses to modify specific attributes of the promotion while preserving other details intact. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/updatePromotionPartially/).
725
+ * @description: Seller can make partial adjustments of an existing promotion by specifying its unique identifier. It enables businesses to modify specific attributes of the promotion while preserving other details intact. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/updatePromotionPartially/).
663
726
  */
664
727
  updatePromotionPartially({ id, body, requestHeaders }?: CartPlatformApplicationValidator.UpdatePromotionPartiallyParam, { responseHeaders }?: object): Promise<CartPlatformModel.SuccessMessage>;
665
728
  /**
666
729
  * @param {CartPlatformApplicationValidator.UpdateShipmentsParam} arg - Arg object
667
730
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
668
731
  * @param {import("../PlatformAPIClient").Options} - Options
669
- * @returns {Promise<CartPlatformModel.PlatformCartShipmentsResponse>} -
732
+ * @returns {Promise<CartPlatformModel.PlatformCartShipmentsResult>} -
670
733
  * Success response
671
734
  * @name updateShipments
672
735
  * @summary: Update shipments
673
- * @description: Update the quantity or delivery type of the shipments. Customers can switch the order type from Home Delivery to Pick At Store and vice versa. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/updateShipments/).
736
+ * @description: Update the quantity or delivery type of the shipments. Customers can switch the order type from Home Delivery to Pick At Store and vice versa. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/updateShipments/).
674
737
  */
675
- updateShipments({ body, i, p, id, addressId, areaCode, orderType, requestHeaders }?: CartPlatformApplicationValidator.UpdateShipmentsParam, { responseHeaders }?: object): Promise<CartPlatformModel.PlatformCartShipmentsResponse>;
738
+ updateShipments({ body, i, p, id, addressId, areaCode, orderType, requestHeaders }?: CartPlatformApplicationValidator.UpdateShipmentsParam, { responseHeaders }?: object): Promise<CartPlatformModel.PlatformCartShipmentsResult>;
676
739
  /**
677
740
  * @param {CartPlatformApplicationValidator.ValidateCouponForPaymentParam} arg
678
741
  * - Arg object
@@ -682,9 +745,9 @@ declare class Cart {
682
745
  * @returns {Promise<CartPlatformModel.PaymentCouponValidate>} - Success response
683
746
  * @name validateCouponForPayment
684
747
  * @summary: Validate applied coupon
685
- * @description: Validates 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/platform/cart/validateCouponForPayment/).
748
+ * @description: Validates 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/platform/cart/validateCouponForPayment/).
686
749
  */
687
- validateCouponForPayment({ id, buyNow, addressId, paymentMode, paymentIdentifier, aggregatorName, merchantCode, requestHeaders, }?: CartPlatformApplicationValidator.ValidateCouponForPaymentParam, { responseHeaders }?: object): Promise<CartPlatformModel.PaymentCouponValidate>;
750
+ validateCouponForPayment({ xOrderingSource, xOrderingSourceType, id, buyNow, addressId, paymentMode, paymentIdentifier, aggregatorName, merchantCode, requestHeaders, }?: CartPlatformApplicationValidator.ValidateCouponForPaymentParam, { responseHeaders }?: object): Promise<CartPlatformModel.PaymentCouponValidate>;
688
751
  }
689
752
  import CartPlatformApplicationValidator = require("./CartPlatformApplicationValidator");
690
753
  import CartPlatformModel = require("./CartPlatformModel");