@gofynd/fdk-client-javascript 1.2.0 → 1.3.1-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (262) hide show
  1. package/README.md +44 -7
  2. package/package.json +1 -2
  3. package/sdk/application/ApplicationAPIClient.d.ts +3 -3
  4. package/sdk/application/ApplicationAPIClient.js +6 -4
  5. package/sdk/application/ApplicationClient.d.ts +2 -3
  6. package/sdk/application/ApplicationClient.js +1 -45
  7. package/sdk/application/ApplicationConfig.d.ts +46 -6
  8. package/sdk/application/ApplicationConfig.js +15 -16
  9. package/sdk/application/Cart/CartApplicationClient.d.ts +61 -33
  10. package/sdk/application/Cart/CartApplicationClient.js +225 -134
  11. package/sdk/application/Cart/CartApplicationModel.d.ts +6 -4
  12. package/sdk/application/Cart/CartApplicationModel.js +6 -4
  13. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +61 -30
  14. package/sdk/application/Catalog/CatalogApplicationClient.js +234 -146
  15. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +115 -13
  16. package/sdk/application/Catalog/CatalogApplicationModel.js +77 -12
  17. package/sdk/application/Common/CommonApplicationClient.d.ts +5 -3
  18. package/sdk/application/Common/CommonApplicationClient.js +13 -11
  19. package/sdk/application/Common/CommonApplicationModel.d.ts +3 -83
  20. package/sdk/application/Common/CommonApplicationModel.js +2 -58
  21. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +9 -3
  22. package/sdk/application/Communication/CommunicationApplicationClient.js +25 -13
  23. package/sdk/application/Communication/CommunicationApplicationModel.d.ts +1 -34
  24. package/sdk/application/Communication/CommunicationApplicationModel.js +0 -36
  25. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +46 -16
  26. package/sdk/application/Configuration/ConfigurationApplicationClient.js +144 -68
  27. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +1 -219
  28. package/sdk/application/Configuration/ConfigurationApplicationModel.js +0 -226
  29. package/sdk/application/Content/ContentApplicationClient.d.ts +49 -21
  30. package/sdk/application/Content/ContentApplicationClient.js +159 -80
  31. package/sdk/application/Content/ContentApplicationModel.d.ts +5 -622
  32. package/sdk/application/Content/ContentApplicationModel.js +11 -763
  33. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +6 -3
  34. package/sdk/application/FileStorage/FileStorageApplicationClient.js +20 -14
  35. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +1 -152
  36. package/sdk/application/FileStorage/FileStorageApplicationModel.js +0 -180
  37. package/sdk/application/Lead/LeadApplicationClient.d.ts +14 -7
  38. package/sdk/application/Lead/LeadApplicationClient.js +50 -31
  39. package/sdk/application/Lead/LeadApplicationModel.d.ts +22 -741
  40. package/sdk/application/Lead/LeadApplicationModel.js +21 -481
  41. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +11 -5
  42. package/sdk/application/Logistic/LogisticApplicationClient.js +41 -20
  43. package/sdk/application/Order/OrderApplicationClient.d.ts +24 -12
  44. package/sdk/application/Order/OrderApplicationClient.js +88 -56
  45. package/sdk/application/Payment/PaymentApplicationClient.d.ts +91 -42
  46. package/sdk/application/Payment/PaymentApplicationClient.js +293 -194
  47. package/sdk/application/Payment/PaymentApplicationModel.d.ts +36 -36
  48. package/sdk/application/Payment/PaymentApplicationModel.js +36 -36
  49. package/sdk/application/PosCart/PosCartApplicationClient.d.ts +59 -32
  50. package/sdk/application/PosCart/PosCartApplicationClient.js +214 -130
  51. package/sdk/application/PosCart/PosCartApplicationModel.d.ts +2 -2
  52. package/sdk/application/PosCart/PosCartApplicationModel.js +2 -2
  53. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +16 -7
  54. package/sdk/application/Rewards/RewardsApplicationClient.js +56 -29
  55. package/sdk/application/Share/ShareApplicationClient.d.ts +15 -7
  56. package/sdk/application/Share/ShareApplicationClient.js +51 -31
  57. package/sdk/application/Share/ShareApplicationModel.d.ts +1 -33
  58. package/sdk/application/Share/ShareApplicationModel.js +0 -38
  59. package/sdk/application/Theme/ThemeApplicationClient.d.ts +9 -4
  60. package/sdk/application/Theme/ThemeApplicationClient.js +35 -18
  61. package/sdk/application/Theme/ThemeApplicationModel.d.ts +982 -312
  62. package/sdk/application/Theme/ThemeApplicationModel.js +621 -284
  63. package/sdk/application/User/UserApplicationClient.d.ts +74 -35
  64. package/sdk/application/User/UserApplicationClient.js +252 -161
  65. package/sdk/application/User/UserApplicationModel.d.ts +3 -401
  66. package/sdk/application/User/UserApplicationModel.js +2 -490
  67. package/sdk/common/AxiosHelper.js +1 -2
  68. package/sdk/common/FDKError.d.ts +3 -0
  69. package/sdk/common/FDKError.js +8 -0
  70. package/sdk/common/utils.d.ts +3 -0
  71. package/sdk/common/utils.js +29 -0
  72. package/sdk/partner/PartnerAPIClient.d.ts +5 -4
  73. package/sdk/partner/PartnerAPIClient.js +7 -4
  74. package/sdk/partner/PartnerClient.d.ts +2 -0
  75. package/sdk/partner/PartnerClient.js +3 -0
  76. package/sdk/partner/Theme/ThemePartnerClient.d.ts +299 -0
  77. package/sdk/partner/Theme/ThemePartnerClient.js +768 -0
  78. package/sdk/partner/Theme/ThemePartnerModel.d.ts +1706 -0
  79. package/sdk/partner/Theme/ThemePartnerModel.js +1409 -0
  80. package/sdk/partner/Theme/ThemePartnerValidator.d.ts +22 -0
  81. package/sdk/partner/Theme/ThemePartnerValidator.js +157 -0
  82. package/sdk/partner/index.d.ts +3 -1
  83. package/sdk/partner/index.js +3 -1
  84. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +8 -4
  85. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +38 -16
  86. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +1 -13
  87. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +0 -12
  88. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +10 -0
  89. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +4 -0
  90. package/sdk/platform/Billing/BillingPlatformClient.d.ts +59 -14
  91. package/sdk/platform/Billing/BillingPlatformClient.js +315 -64
  92. package/sdk/platform/Billing/BillingPlatformModel.d.ts +56 -196
  93. package/sdk/platform/Billing/BillingPlatformModel.js +63 -217
  94. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +23 -1
  95. package/sdk/platform/Billing/BillingPlatformValidator.js +31 -0
  96. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +124 -63
  97. package/sdk/platform/Cart/CartPlatformApplicationClient.js +431 -265
  98. package/sdk/platform/Cart/CartPlatformModel.d.ts +253 -53
  99. package/sdk/platform/Cart/CartPlatformModel.js +104 -54
  100. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +120 -53
  101. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +398 -247
  102. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +155 -78
  103. package/sdk/platform/Catalog/CatalogPlatformClient.js +561 -355
  104. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +10 -12
  105. package/sdk/platform/Catalog/CatalogPlatformModel.js +10 -12
  106. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +30 -0
  107. package/sdk/platform/Catalog/CatalogPlatformValidator.js +13 -0
  108. package/sdk/platform/Common/CommonPlatformClient.d.ts +5 -3
  109. package/sdk/platform/Common/CommonPlatformClient.js +13 -11
  110. package/sdk/platform/Common/CommonPlatformModel.d.ts +39 -64
  111. package/sdk/platform/Common/CommonPlatformModel.js +23 -57
  112. package/sdk/platform/Common/CommonPlatformValidator.d.ts +5 -10
  113. package/sdk/platform/Common/CommonPlatformValidator.js +3 -4
  114. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +370 -120
  115. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +2328 -888
  116. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +143 -24
  117. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +179 -15
  118. package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +2 -1
  119. package/sdk/platform/Communication/CommunicationPlatformClient.js +6 -5
  120. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +386 -308
  121. package/sdk/platform/Communication/CommunicationPlatformModel.js +415 -355
  122. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +38 -13
  123. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +171 -57
  124. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +53 -1
  125. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +54 -0
  126. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +5 -1
  127. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +7 -0
  128. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +96 -29
  129. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +311 -126
  130. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +5 -1
  131. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +7 -0
  132. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +36 -18
  133. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +121 -86
  134. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +13 -180
  135. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +5 -113
  136. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +162 -70
  137. package/sdk/platform/Content/ContentPlatformApplicationClient.js +528 -309
  138. package/sdk/platform/Content/ContentPlatformModel.d.ts +9 -198
  139. package/sdk/platform/Content/ContentPlatformModel.js +8 -231
  140. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +48 -11
  141. package/sdk/platform/Discount/DiscountPlatformClient.js +142 -48
  142. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +40 -1
  143. package/sdk/platform/Discount/DiscountPlatformModel.js +27 -0
  144. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +84 -18
  145. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +486 -53
  146. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +71 -7
  147. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +81 -5
  148. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +13 -18
  149. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +58 -65
  150. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +198 -71
  151. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +212 -64
  152. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +18 -10
  153. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +11 -6
  154. package/sdk/platform/Finance/FinancePlatformClient.d.ts +177 -40
  155. package/sdk/platform/Finance/FinancePlatformClient.js +1028 -132
  156. package/sdk/platform/Finance/FinancePlatformModel.d.ts +670 -22
  157. package/sdk/platform/Finance/FinancePlatformModel.js +809 -23
  158. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +111 -1
  159. package/sdk/platform/Finance/FinancePlatformValidator.js +134 -0
  160. package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +24 -12
  161. package/sdk/platform/Inventory/InventoryPlatformClient.js +94 -52
  162. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +27 -13
  163. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +101 -55
  164. package/sdk/platform/Lead/LeadPlatformClient.d.ts +50 -39
  165. package/sdk/platform/Lead/LeadPlatformClient.js +171 -112
  166. package/sdk/platform/Lead/LeadPlatformModel.d.ts +32 -390
  167. package/sdk/platform/Lead/LeadPlatformModel.js +31 -214
  168. package/sdk/platform/Lead/LeadPlatformValidator.d.ts +33 -33
  169. package/sdk/platform/Lead/LeadPlatformValidator.js +23 -23
  170. package/sdk/platform/OAuthClient.js +6 -2
  171. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +4 -2
  172. package/sdk/platform/Order/OrderPlatformApplicationClient.js +12 -10
  173. package/sdk/platform/Order/OrderPlatformClient.d.ts +165 -71
  174. package/sdk/platform/Order/OrderPlatformClient.js +738 -205
  175. package/sdk/platform/Order/OrderPlatformModel.d.ts +261 -3
  176. package/sdk/platform/Order/OrderPlatformModel.js +225 -2
  177. package/sdk/platform/Order/OrderPlatformValidator.d.ts +104 -3
  178. package/sdk/platform/Order/OrderPlatformValidator.js +85 -2
  179. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -22
  180. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +12 -159
  181. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +1 -30
  182. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +0 -26
  183. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +1 -690
  184. package/sdk/platform/Partner/PartnerPlatformModel.js +0 -809
  185. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +167 -32
  186. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +793 -145
  187. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +91 -1
  188. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +91 -0
  189. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -10
  190. package/sdk/platform/Payment/PaymentPlatformClient.js +68 -47
  191. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +549 -7
  192. package/sdk/platform/Payment/PaymentPlatformModel.js +305 -6
  193. package/sdk/platform/PlatformAPIClient.d.ts +3 -3
  194. package/sdk/platform/PlatformAPIClient.js +2 -2
  195. package/sdk/platform/PlatformClient.d.ts +2 -2
  196. package/sdk/platform/PlatformClient.js +4 -4
  197. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +28 -12
  198. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +90 -53
  199. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +1 -12
  200. package/sdk/platform/Rewards/RewardsPlatformModel.js +0 -14
  201. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +62 -26
  202. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +210 -93
  203. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +20 -11
  204. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +23 -11
  205. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +36 -18
  206. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +142 -78
  207. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +12 -3
  208. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +14 -2
  209. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +10 -26
  210. package/sdk/platform/Share/SharePlatformApplicationClient.js +36 -67
  211. package/sdk/platform/Share/SharePlatformModel.d.ts +4 -4
  212. package/sdk/platform/Share/SharePlatformModel.js +4 -4
  213. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +127 -57
  214. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +564 -189
  215. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +63 -26
  216. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +62 -22
  217. package/sdk/platform/Theme/ThemePlatformClient.d.ts +37 -0
  218. package/sdk/platform/Theme/ThemePlatformClient.js +235 -0
  219. package/sdk/platform/Theme/ThemePlatformModel.d.ts +1167 -261
  220. package/sdk/platform/Theme/ThemePlatformModel.js +801 -244
  221. package/sdk/platform/Theme/ThemePlatformValidator.d.ts +32 -0
  222. package/sdk/platform/Theme/ThemePlatformValidator.js +38 -0
  223. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +35 -17
  224. package/sdk/platform/User/UserPlatformApplicationClient.js +132 -73
  225. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +7 -0
  226. package/sdk/platform/User/UserPlatformApplicationValidator.js +3 -0
  227. package/sdk/platform/User/UserPlatformModel.d.ts +1 -738
  228. package/sdk/platform/User/UserPlatformModel.js +3 -899
  229. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +120 -7
  230. package/sdk/platform/Webhook/WebhookPlatformClient.js +799 -41
  231. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +476 -86
  232. package/sdk/platform/Webhook/WebhookPlatformModel.js +388 -89
  233. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +90 -7
  234. package/sdk/platform/Webhook/WebhookPlatformValidator.js +113 -3
  235. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +5 -3
  236. package/sdk/public/Configuration/ConfigurationPublicClient.js +13 -11
  237. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +3 -106
  238. package/sdk/public/Configuration/ConfigurationPublicModel.js +2 -59
  239. package/sdk/public/Inventory/InventoryPublicClient.d.ts +12 -6
  240. package/sdk/public/Inventory/InventoryPublicClient.js +42 -27
  241. package/sdk/public/Partner/PartnerPublicClient.d.ts +22 -0
  242. package/sdk/public/Partner/PartnerPublicClient.js +110 -0
  243. package/sdk/public/Partner/PartnerPublicModel.d.ts +240 -0
  244. package/sdk/public/Partner/PartnerPublicModel.js +280 -0
  245. package/sdk/public/Partner/PartnerPublicValidator.d.ts +18 -0
  246. package/sdk/public/Partner/PartnerPublicValidator.js +19 -0
  247. package/sdk/public/PublicAPIClient.d.ts +14 -1
  248. package/sdk/public/PublicAPIClient.js +7 -1
  249. package/sdk/public/PublicClient.d.ts +2 -0
  250. package/sdk/public/PublicClient.js +4 -0
  251. package/sdk/public/Webhook/WebhookPublicClient.d.ts +5 -2
  252. package/sdk/public/Webhook/WebhookPublicClient.js +15 -9
  253. package/sdk/public/Webhook/WebhookPublicModel.d.ts +1 -191
  254. package/sdk/public/Webhook/WebhookPublicModel.js +0 -229
  255. package/sdk/public/index.d.ts +1 -0
  256. package/sdk/public/index.js +2 -0
  257. package/sdk/application/ApplicationModels.d.ts +0 -48
  258. package/sdk/application/ApplicationModels.js +0 -38
  259. package/sdk/platform/Partner/PartnerPlatformClient.d.ts +0 -106
  260. package/sdk/platform/Partner/PartnerPlatformClient.js +0 -878
  261. package/sdk/platform/Partner/PartnerPlatformValidator.d.ts +0 -208
  262. package/sdk/platform/Partner/PartnerPlatformValidator.js +0 -169
@@ -36,60 +36,67 @@ declare class Cart {
36
36
  updateUrls(urls: any): void;
37
37
  /**
38
38
  * @param {CartApplicationValidator.AddAddressParam} arg - Arg object.
39
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
39
40
  * @param {import("../ApplicationAPIClient").Options} - Options
40
41
  * @returns {Promise<CartApplicationModel.SaveAddressResponse>} - Success response
41
42
  * @name addAddress
42
43
  * @summary: Add address to an account
43
44
  * @description: Use this API to add an address to an account. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/addAddress/).
44
45
  */
45
- addAddress({ body }?: CartApplicationValidator.AddAddressParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<CartApplicationModel.SaveAddressResponse>;
46
+ addAddress({ body, requestHeaders }?: CartApplicationValidator.AddAddressParam, { responseHeaders }?: object): Promise<CartApplicationModel.SaveAddressResponse>;
46
47
  /**
47
48
  * @param {CartApplicationValidator.AddItemsParam} arg - Arg object.
49
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
48
50
  * @param {import("../ApplicationAPIClient").Options} - Options
49
51
  * @returns {Promise<CartApplicationModel.AddCartDetailResponse>} - Success response
50
52
  * @name addItems
51
53
  * @summary: Add items to cart
52
54
  * @description: Use this API to add items to the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/addItems/).
53
55
  */
54
- addItems({ body, i, b, areaCode, buyNow, id }?: CartApplicationValidator.AddItemsParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<CartApplicationModel.AddCartDetailResponse>;
56
+ addItems({ body, i, b, areaCode, buyNow, id, requestHeaders }?: CartApplicationValidator.AddItemsParam, { responseHeaders }?: object): Promise<CartApplicationModel.AddCartDetailResponse>;
55
57
  /**
56
58
  * @param {CartApplicationValidator.ApplyCouponParam} arg - Arg object.
59
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
57
60
  * @param {import("../ApplicationAPIClient").Options} - Options
58
61
  * @returns {Promise<CartApplicationModel.CartDetailResponse>} - Success response
59
62
  * @name applyCoupon
60
63
  * @summary: Apply Coupon
61
64
  * @description: Use this API to apply coupons on items in the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/applyCoupon/).
62
65
  */
63
- applyCoupon({ body, i, b, p, id, buyNow }?: CartApplicationValidator.ApplyCouponParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<CartApplicationModel.CartDetailResponse>;
66
+ applyCoupon({ body, i, b, p, id, buyNow, requestHeaders }?: CartApplicationValidator.ApplyCouponParam, { responseHeaders }?: object): Promise<CartApplicationModel.CartDetailResponse>;
64
67
  /**
65
68
  * @param {CartApplicationValidator.ApplyRewardPointsParam} arg - Arg object.
69
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
66
70
  * @param {import("../ApplicationAPIClient").Options} - Options
67
71
  * @returns {Promise<CartApplicationModel.CartDetailResponse>} - Success response
68
72
  * @name applyRewardPoints
69
73
  * @summary: Apply reward points at cart
70
74
  * @description: Use this API to redeem a fixed no. of reward points by applying it to the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/applyRewardPoints/).
71
75
  */
72
- applyRewardPoints({ body, id, i, b, buyNow }?: CartApplicationValidator.ApplyRewardPointsParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<CartApplicationModel.CartDetailResponse>;
76
+ applyRewardPoints({ body, id, i, b, buyNow, requestHeaders }?: CartApplicationValidator.ApplyRewardPointsParam, { responseHeaders }?: object): Promise<CartApplicationModel.CartDetailResponse>;
73
77
  /**
74
78
  * @param {CartApplicationValidator.CheckoutCartParam} arg - Arg object.
79
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
75
80
  * @param {import("../ApplicationAPIClient").Options} - Options
76
81
  * @returns {Promise<CartApplicationModel.CartCheckoutResponse>} - Success response
77
82
  * @name checkoutCart
78
83
  * @summary: Checkout all items in the cart
79
84
  * @description: Use this API to checkout all items in the cart for payment and order generation. For COD, order will be directly generated, whereas for other checkout modes, user will be redirected to a payment gateway. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/checkoutCart/).
80
85
  */
81
- checkoutCart({ body, buyNow }?: CartApplicationValidator.CheckoutCartParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<CartApplicationModel.CartCheckoutResponse>;
86
+ checkoutCart({ body, buyNow, requestHeaders }?: CartApplicationValidator.CheckoutCartParam, { responseHeaders }?: object): Promise<CartApplicationModel.CartCheckoutResponse>;
82
87
  /**
83
88
  * @param {CartApplicationValidator.CheckoutCartV2Param} arg - Arg object.
89
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
84
90
  * @param {import("../ApplicationAPIClient").Options} - Options
85
91
  * @returns {Promise<CartApplicationModel.CartCheckoutResponse>} - Success response
86
92
  * @name checkoutCartV2
87
93
  * @summary: Checkout all items in the cart
88
94
  * @description: Use this API to checkout all items in the cart for payment and order generation. For COD, order will be directly generated, whereas for other checkout modes, user will be redirected to a payment gateway. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/checkoutCartV2/).
89
95
  */
90
- checkoutCartV2({ body, buyNow }?: CartApplicationValidator.CheckoutCartV2Param, { headers }?: import("../ApplicationAPIClient").Options): Promise<CartApplicationModel.CartCheckoutResponse>;
96
+ checkoutCartV2({ body, buyNow, requestHeaders }?: CartApplicationValidator.CheckoutCartV2Param, { responseHeaders }?: object): Promise<CartApplicationModel.CartCheckoutResponse>;
91
97
  /**
92
98
  * @param {CartApplicationValidator.DeleteCartParam} arg - Arg object.
99
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
93
100
  * @param {import("../ApplicationAPIClient").Options} - Options
94
101
  * @returns {Promise<CartApplicationModel.DeleteCartDetailResponse>} -
95
102
  * Success response
@@ -97,54 +104,60 @@ declare class Cart {
97
104
  * @summary: Delete cart once user made successful checkout
98
105
  * @description: Use this API to delete the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/deleteCart/).
99
106
  */
100
- deleteCart({ id }?: CartApplicationValidator.DeleteCartParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<CartApplicationModel.DeleteCartDetailResponse>;
107
+ deleteCart({ id, requestHeaders }?: CartApplicationValidator.DeleteCartParam, { responseHeaders }?: object): Promise<CartApplicationModel.DeleteCartDetailResponse>;
101
108
  /**
102
109
  * @param {CartApplicationValidator.GetAddressByIdParam} arg - Arg object.
110
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
103
111
  * @param {import("../ApplicationAPIClient").Options} - Options
104
112
  * @returns {Promise<CartApplicationModel.Address>} - Success response
105
113
  * @name getAddressById
106
114
  * @summary: Fetch a single address by its ID
107
- * @description: Use this API to get an addresses using its ID. If successful, returns a Address resource in the response body specified in `Address`. Attibutes listed below are optional <ul> <li> <font color="monochrome">mobile_no</font></li> <li> <font color="monochrome">checkout_mode</font></li> <li> <font color="monochrome">tags</font></li> <li> <font color="monochrome">default</font></li> </ul> - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getAddressById/).
115
+ * @description: Use this API to get an addresses using its ID. If successful, returns a Address resource in the response body specified in `Address`. Attibutes listed below are optional mobile_no checkout_mode tags default - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getAddressById/).
108
116
  */
109
- getAddressById({ id, cartId, buyNow, mobileNo, checkoutMode, tags, isDefault }?: CartApplicationValidator.GetAddressByIdParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<CartApplicationModel.Address>;
117
+ getAddressById({ id, cartId, buyNow, mobileNo, checkoutMode, tags, isDefault, requestHeaders, }?: CartApplicationValidator.GetAddressByIdParam, { responseHeaders }?: object): Promise<CartApplicationModel.Address>;
110
118
  /**
111
119
  * @param {CartApplicationValidator.GetAddressesParam} arg - Arg object.
120
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
112
121
  * @param {import("../ApplicationAPIClient").Options} - Options
113
122
  * @returns {Promise<CartApplicationModel.GetAddressesResponse>} - Success response
114
123
  * @name getAddresses
115
124
  * @summary: Fetch address
116
- * @description: Use this API to get all the addresses associated with an account. If successful, returns a Address resource in the response body specified in GetAddressesResponse.attibutes listed below are optional <ul> <li> <font color="monochrome">uid</font></li> <li> <font color="monochrome">address_id</font></li> <li> <font color="monochrome">mobile_no</font></li> <li> <font color="monochrome">checkout_mode</font></li> <li> <font color="monochrome">tags</font></li> <li> <font color="monochrome">default</font></li> </ul> - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getAddresses/).
125
+ * @description: Use this API to get all the addresses associated with an account. If successful, returns a Address resource in the response body specified in GetAddressesResponse.attibutes listed below are optional uid address_id mobile_no checkout_mode tags default - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getAddresses/).
117
126
  */
118
- getAddresses({ cartId, buyNow, mobileNo, checkoutMode, tags, isDefault }?: CartApplicationValidator.GetAddressesParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<CartApplicationModel.GetAddressesResponse>;
127
+ getAddresses({ cartId, buyNow, mobileNo, checkoutMode, tags, isDefault, requestHeaders, }?: CartApplicationValidator.GetAddressesParam, { responseHeaders }?: object): Promise<CartApplicationModel.GetAddressesResponse>;
119
128
  /**
120
129
  * @param {CartApplicationValidator.GetBulkDiscountOffersParam} arg - Arg object.
130
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
121
131
  * @param {import("../ApplicationAPIClient").Options} - Options
122
132
  * @returns {Promise<CartApplicationModel.BulkPriceResponse>} - Success response
123
133
  * @name getBulkDiscountOffers
124
134
  * @summary: Get discount offers based on quantity
125
135
  * @description: Use this API to get a list of applicable offers along with current, next and best offer for given product. Either one of uid, item_id, slug should be present. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getBulkDiscountOffers/).
126
136
  */
127
- getBulkDiscountOffers({ itemId, articleId, uid, slug }?: CartApplicationValidator.GetBulkDiscountOffersParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<CartApplicationModel.BulkPriceResponse>;
137
+ getBulkDiscountOffers({ itemId, articleId, uid, slug, requestHeaders }?: CartApplicationValidator.GetBulkDiscountOffersParam, { responseHeaders }?: object): Promise<CartApplicationModel.BulkPriceResponse>;
128
138
  /**
129
139
  * @param {CartApplicationValidator.GetCartParam} arg - Arg object.
140
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
130
141
  * @param {import("../ApplicationAPIClient").Options} - Options
131
142
  * @returns {Promise<CartApplicationModel.CartDetailResponse>} - Success response
132
143
  * @name getCart
133
144
  * @summary: Fetch all items added to the cart
134
145
  * @description: Use this API to get details of all the items added to a cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getCart/).
135
146
  */
136
- getCart({ id, i, b, assignCardId, areaCode, buyNow }?: CartApplicationValidator.GetCartParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<CartApplicationModel.CartDetailResponse>;
147
+ getCart({ id, i, b, assignCardId, areaCode, buyNow, requestHeaders }?: CartApplicationValidator.GetCartParam, { responseHeaders }?: object): Promise<CartApplicationModel.CartDetailResponse>;
137
148
  /**
138
149
  * @param {CartApplicationValidator.GetCartLastModifiedParam} arg - Arg object.
150
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
139
151
  * @param {import("../ApplicationAPIClient").Options} - Options
140
152
  * @returns {Promise<any>} - Success response
141
153
  * @name getCartLastModified
142
154
  * @summary: Fetch last-modified timestamp
143
155
  * @description: Use this API to fetch Last-Modified timestamp in header metadata. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getCartLastModified/).
144
156
  */
145
- getCartLastModified({ id }?: CartApplicationValidator.GetCartLastModifiedParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<any>;
157
+ getCartLastModified({ id, requestHeaders }?: CartApplicationValidator.GetCartLastModifiedParam, { responseHeaders }?: object): Promise<any>;
146
158
  /**
147
159
  * @param {CartApplicationValidator.GetCartShareLinkParam} arg - Arg object.
160
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
148
161
  * @param {import("../ApplicationAPIClient").Options} - Options
149
162
  * @returns {Promise<CartApplicationModel.GetShareCartLinkResponse>} -
150
163
  * Success response
@@ -152,143 +165,158 @@ declare class Cart {
152
165
  * @summary: Generate token for sharing the cart
153
166
  * @description: Use this API to generate a shared cart snapshot and return a shortlink token. The link can be shared with other users for getting the same items in their cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getCartShareLink/).
154
167
  */
155
- getCartShareLink({ body }?: CartApplicationValidator.GetCartShareLinkParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<CartApplicationModel.GetShareCartLinkResponse>;
168
+ getCartShareLink({ body, requestHeaders }?: CartApplicationValidator.GetCartShareLinkParam, { responseHeaders }?: object): Promise<CartApplicationModel.GetShareCartLinkResponse>;
156
169
  /**
157
170
  * @param {CartApplicationValidator.GetCartSharedItemsParam} arg - Arg object.
171
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
158
172
  * @param {import("../ApplicationAPIClient").Options} - Options
159
173
  * @returns {Promise<CartApplicationModel.SharedCartResponse>} - Success response
160
174
  * @name getCartSharedItems
161
175
  * @summary: Get details of a shared cart
162
176
  * @description: Use this API to get the shared cart details as per the token generated using the share-cart API. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getCartSharedItems/).
163
177
  */
164
- getCartSharedItems({ token }?: CartApplicationValidator.GetCartSharedItemsParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<CartApplicationModel.SharedCartResponse>;
178
+ getCartSharedItems({ token, requestHeaders }?: CartApplicationValidator.GetCartSharedItemsParam, { responseHeaders }?: object): Promise<CartApplicationModel.SharedCartResponse>;
165
179
  /**
166
180
  * @param {CartApplicationValidator.GetCouponsParam} arg - Arg object.
181
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
167
182
  * @param {import("../ApplicationAPIClient").Options} - Options
168
183
  * @returns {Promise<CartApplicationModel.GetCouponResponse>} - Success response
169
184
  * @name getCoupons
170
185
  * @summary: Fetch Coupon
171
186
  * @description: Use this API to get a list of available coupons along with their details. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getCoupons/).
172
187
  */
173
- getCoupons({ id, buyNow }?: CartApplicationValidator.GetCouponsParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<CartApplicationModel.GetCouponResponse>;
188
+ getCoupons({ id, buyNow, requestHeaders }?: CartApplicationValidator.GetCouponsParam, { responseHeaders }?: object): Promise<CartApplicationModel.GetCouponResponse>;
174
189
  /**
175
190
  * @param {CartApplicationValidator.GetItemCountParam} arg - Arg object.
191
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
176
192
  * @param {import("../ApplicationAPIClient").Options} - Options
177
193
  * @returns {Promise<CartApplicationModel.CartItemCountResponse>} - Success response
178
194
  * @name getItemCount
179
195
  * @summary: Count items in the cart
180
196
  * @description: Use this API to get the total number of items present in cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getItemCount/).
181
197
  */
182
- getItemCount({ id, buyNow }?: CartApplicationValidator.GetItemCountParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<CartApplicationModel.CartItemCountResponse>;
198
+ getItemCount({ id, buyNow, requestHeaders }?: CartApplicationValidator.GetItemCountParam, { responseHeaders }?: object): Promise<CartApplicationModel.CartItemCountResponse>;
183
199
  /**
184
200
  * @param {CartApplicationValidator.GetLadderOffersParam} arg - Arg object.
201
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
185
202
  * @param {import("../ApplicationAPIClient").Options} - Options
186
203
  * @returns {Promise<CartApplicationModel.LadderPriceOffers>} - Success response
187
204
  * @name getLadderOffers
188
205
  * @summary: Fetch ladder price promotion
189
206
  * @description: Use this API to get applicable ladder price promotion for current product - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getLadderOffers/).
190
207
  */
191
- getLadderOffers({ slug, storeId, promotionId, pageSize }?: CartApplicationValidator.GetLadderOffersParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<CartApplicationModel.LadderPriceOffers>;
208
+ getLadderOffers({ slug, storeId, promotionId, pageSize, requestHeaders }?: CartApplicationValidator.GetLadderOffersParam, { responseHeaders }?: object): Promise<CartApplicationModel.LadderPriceOffers>;
192
209
  /**
193
210
  * @param {CartApplicationValidator.GetPromotionOffersParam} arg - Arg object.
211
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
194
212
  * @param {import("../ApplicationAPIClient").Options} - Options
195
213
  * @returns {Promise<CartApplicationModel.PromotionOffersResponse>} - Success response
196
214
  * @name getPromotionOffers
197
215
  * @summary: Fetch available promotions
198
216
  * @description: Use this API to get top 5 offers available for current product - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getPromotionOffers/).
199
217
  */
200
- getPromotionOffers({ slug, pageSize, promotionGroup, storeId }?: CartApplicationValidator.GetPromotionOffersParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<CartApplicationModel.PromotionOffersResponse>;
218
+ getPromotionOffers({ slug, pageSize, promotionGroup, storeId, requestHeaders }?: CartApplicationValidator.GetPromotionOffersParam, { responseHeaders }?: object): Promise<CartApplicationModel.PromotionOffersResponse>;
201
219
  /**
202
220
  * @param {CartApplicationValidator.GetShipmentsParam} arg - Arg object.
221
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
203
222
  * @param {import("../ApplicationAPIClient").Options} - Options
204
223
  * @returns {Promise<CartApplicationModel.CartShipmentsResponse>} - Success response
205
224
  * @name getShipments
206
225
  * @summary: Get delivery date and options before checkout
207
226
  * @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/application/cart/getShipments/).
208
227
  */
209
- getShipments({ p, id, buyNow, addressId, areaCode, orderType }?: CartApplicationValidator.GetShipmentsParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<CartApplicationModel.CartShipmentsResponse>;
228
+ getShipments({ p, id, buyNow, addressId, areaCode, orderType, requestHeaders }?: CartApplicationValidator.GetShipmentsParam, { responseHeaders }?: object): Promise<CartApplicationModel.CartShipmentsResponse>;
210
229
  /**
211
230
  * @param {CartApplicationValidator.RemoveAddressParam} arg - Arg object.
231
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
212
232
  * @param {import("../ApplicationAPIClient").Options} - Options
213
233
  * @returns {Promise<CartApplicationModel.DeleteAddressResponse>} - Success response
214
234
  * @name removeAddress
215
235
  * @summary: Remove address associated with an account
216
236
  * @description: Use this API to delete an address by its ID. This will returns an object that will indicate whether the address was deleted successfully or not. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/removeAddress/).
217
237
  */
218
- removeAddress({ id }?: CartApplicationValidator.RemoveAddressParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<CartApplicationModel.DeleteAddressResponse>;
238
+ removeAddress({ id, requestHeaders }?: CartApplicationValidator.RemoveAddressParam, { responseHeaders }?: object): Promise<CartApplicationModel.DeleteAddressResponse>;
219
239
  /**
220
240
  * @param {CartApplicationValidator.RemoveCouponParam} arg - Arg object.
241
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
221
242
  * @param {import("../ApplicationAPIClient").Options} - Options
222
243
  * @returns {Promise<CartApplicationModel.CartDetailResponse>} - Success response
223
244
  * @name removeCoupon
224
245
  * @summary: Remove Coupon Applied
225
246
  * @description: Remove Coupon applied on the cart by passing uid in request body. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/removeCoupon/).
226
247
  */
227
- removeCoupon({ id, buyNow }?: CartApplicationValidator.RemoveCouponParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<CartApplicationModel.CartDetailResponse>;
248
+ removeCoupon({ id, buyNow, requestHeaders }?: CartApplicationValidator.RemoveCouponParam, { responseHeaders }?: object): Promise<CartApplicationModel.CartDetailResponse>;
228
249
  /**
229
250
  * @param {CartApplicationValidator.SelectAddressParam} arg - Arg object.
251
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
230
252
  * @param {import("../ApplicationAPIClient").Options} - Options
231
253
  * @returns {Promise<CartApplicationModel.CartDetailResponse>} - Success response
232
254
  * @name selectAddress
233
255
  * @summary: Select an address from available addresses
234
- * @description: <p>Select Address from all addresses associated with the account in order to ship the cart items to that address, otherwise default address will be selected implicitly. See `SelectCartAddressRequest` in schema of request body for the list of attributes needed to select Address from account. On successful request, this API returns a Cart object. Below address attributes are required. <ul> <li> <font color="monochrome">address_id</font></li> <li> <font color="monochrome">billing_address_id</font></li> <li> <font color="monochrome">uid</font></li> </ul></p> - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/selectAddress/).
256
+ * @description: Select Address from all addresses associated with the account in order to ship the cart items to that address, otherwise default address will be selected implicitly. See `SelectCartAddressRequest` in schema of request body for the list of attributes needed to select Address from account. On successful request, this API returns a Cart object. Below address attributes are required. address_id billing_address_id uid - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/selectAddress/).
235
257
  */
236
- selectAddress({ body, cartId, buyNow, i, b }?: CartApplicationValidator.SelectAddressParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<CartApplicationModel.CartDetailResponse>;
258
+ selectAddress({ body, cartId, buyNow, i, b, requestHeaders }?: CartApplicationValidator.SelectAddressParam, { responseHeaders }?: object): Promise<CartApplicationModel.CartDetailResponse>;
237
259
  /**
238
260
  * @param {CartApplicationValidator.SelectPaymentModeParam} arg - Arg object.
261
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
239
262
  * @param {import("../ApplicationAPIClient").Options} - Options
240
263
  * @returns {Promise<CartApplicationModel.CartDetailResponse>} - Success response
241
264
  * @name selectPaymentMode
242
265
  * @summary: Update cart payment
243
266
  * @description: Use this API to update cart payment. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/selectPaymentMode/).
244
267
  */
245
- selectPaymentMode({ body, id, buyNow }?: CartApplicationValidator.SelectPaymentModeParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<CartApplicationModel.CartDetailResponse>;
268
+ selectPaymentMode({ body, id, buyNow, requestHeaders }?: CartApplicationValidator.SelectPaymentModeParam, { responseHeaders }?: object): Promise<CartApplicationModel.CartDetailResponse>;
246
269
  /**
247
270
  * @param {CartApplicationValidator.UpdateAddressParam} arg - Arg object.
271
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
248
272
  * @param {import("../ApplicationAPIClient").Options} - Options
249
273
  * @returns {Promise<CartApplicationModel.UpdateAddressResponse>} - Success response
250
274
  * @name updateAddress
251
275
  * @summary: Update address added to an account
252
- * @description: <p>Use this API to update an existing address in the account. Request object should contain attributes mentioned in <font color="blue">Address </font> can be updated. These attributes are:</p> <ul> <li> <font color="monochrome">is_default_address</font></li> <li> <font color="monochrome">landmark</font></li> <li> <font color="monochrome">area</font></li> <li> <font color="monochrome">pincode</font></li> <li> <font color="monochrome">email</font></li> <li> <font color="monochrome">address_type</font></li> <li> <font color="monochrome">name</font></li> <li> <font color="monochrome">address_id</font></li> <li> <font color="monochrome">address</font></li> </ul> - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/updateAddress/).
276
+ * @description: Use this API to update an existing address in the account. Request object should contain attributes mentioned in Address can be updated. These attributes are: is_default_address landmark area pincode email address_type name address_id address - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/updateAddress/).
253
277
  */
254
- updateAddress({ id, body }?: CartApplicationValidator.UpdateAddressParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<CartApplicationModel.UpdateAddressResponse>;
278
+ updateAddress({ id, body, requestHeaders }?: CartApplicationValidator.UpdateAddressParam, { responseHeaders }?: object): Promise<CartApplicationModel.UpdateAddressResponse>;
255
279
  /**
256
280
  * @param {CartApplicationValidator.UpdateCartParam} arg - Arg object.
281
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
257
282
  * @param {import("../ApplicationAPIClient").Options} - Options
258
283
  * @returns {Promise<CartApplicationModel.UpdateCartDetailResponse>} -
259
284
  * Success response
260
285
  * @name updateCart
261
286
  * @summary: Update items in the cart
262
- * @description: <p>Use this API to update items added to the cart with the help of a request object containing attributes like item_quantity and item_size. These attributes will be fetched from the following APIs</p> <ul> <li><font color="monochrome">operation</font> Operation for current api call. <b>update_item</b> for update items. <b>remove_item</b> for removing items.</li> <li> <font color="monochrome">item_id</font> "/platform/content/v1/products/"</li> <li> <font color="monochrome">item_size</font> "/platform/content/v1/products/:slug/sizes/"</li> <li> <font color="monochrome">quantity</font> item quantity (must be greater than or equal to 1)</li> <li> <font color="monochrome">article_id</font> "/content​/v1​/products​/:identifier​/sizes​/price​/"</li> <li> <font color="monochrome">item_index</font> item position in the cart (must be greater than or equal to 0)</li> </ul> - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/updateCart/).
287
+ * @description: Use this API to update items added to the cart with the help of a request object containing attributes like item_quantity and item_size. These attributes will be fetched from the following APIs operation: Operation for current api call. update_item for update items. remove_item for removing items. item_id "/platform/content/v1/products/" item_size "/platform/content/v1/products/:slug/sizes/" quantity item quantity (must be greater than or equal to 1) article_id "/content​/v1​/products​/:identifier​/sizes​/price​/" item_index item position in the cart (must be greater than or equal to 0) - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/updateCart/).
263
288
  */
264
- updateCart({ body, id, i, b, areaCode, buyNow }?: CartApplicationValidator.UpdateCartParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<CartApplicationModel.UpdateCartDetailResponse>;
289
+ updateCart({ body, id, i, b, areaCode, buyNow, requestHeaders }?: CartApplicationValidator.UpdateCartParam, { responseHeaders }?: object): Promise<CartApplicationModel.UpdateCartDetailResponse>;
265
290
  /**
266
291
  * @param {CartApplicationValidator.UpdateCartMetaParam} arg - Arg object.
292
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
267
293
  * @param {import("../ApplicationAPIClient").Options} - Options
268
294
  * @returns {Promise<CartApplicationModel.CartMetaResponse>} - Success response
269
295
  * @name updateCartMeta
270
296
  * @summary: Update the cart meta
271
297
  * @description: Use this API to update cart meta like checkout_mode and gstin. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/updateCartMeta/).
272
298
  */
273
- updateCartMeta({ body, id, buyNow }?: CartApplicationValidator.UpdateCartMetaParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<CartApplicationModel.CartMetaResponse>;
299
+ updateCartMeta({ body, id, buyNow, requestHeaders }?: CartApplicationValidator.UpdateCartMetaParam, { responseHeaders }?: object): Promise<CartApplicationModel.CartMetaResponse>;
274
300
  /**
275
301
  * @param {CartApplicationValidator.UpdateCartWithSharedItemsParam} arg - Arg object.
302
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
276
303
  * @param {import("../ApplicationAPIClient").Options} - Options
277
304
  * @returns {Promise<CartApplicationModel.SharedCartResponse>} - Success response
278
305
  * @name updateCartWithSharedItems
279
306
  * @summary: Merge or replace existing cart
280
307
  * @description: Use this API to merge the shared cart with existing cart, or replace the existing cart with the shared cart. The `action` parameter is used to indicate the operation Merge or Replace. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/updateCartWithSharedItems/).
281
308
  */
282
- updateCartWithSharedItems({ token, action }?: CartApplicationValidator.UpdateCartWithSharedItemsParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<CartApplicationModel.SharedCartResponse>;
309
+ updateCartWithSharedItems({ token, action, requestHeaders }?: CartApplicationValidator.UpdateCartWithSharedItemsParam, { responseHeaders }?: object): Promise<CartApplicationModel.SharedCartResponse>;
283
310
  /**
284
311
  * @param {CartApplicationValidator.ValidateCouponForPaymentParam} arg - Arg object.
312
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
285
313
  * @param {import("../ApplicationAPIClient").Options} - Options
286
314
  * @returns {Promise<CartApplicationModel.PaymentCouponValidate>} - Success response
287
315
  * @name validateCouponForPayment
288
316
  * @summary: Verify the coupon eligibility against the payment mode
289
317
  * @description: Use this API to validate a coupon against the payment mode such as NetBanking, Wallet, UPI etc. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/validateCouponForPayment/).
290
318
  */
291
- validateCouponForPayment({ id, buyNow, addressId, paymentMode, paymentIdentifier, aggregatorName, merchantCode, iin, network, type, cardId, }?: CartApplicationValidator.ValidateCouponForPaymentParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<CartApplicationModel.PaymentCouponValidate>;
319
+ validateCouponForPayment({ id, buyNow, addressId, paymentMode, paymentIdentifier, aggregatorName, merchantCode, iin, network, type, cardId, requestHeaders, }?: CartApplicationValidator.ValidateCouponForPaymentParam, { responseHeaders }?: object): Promise<CartApplicationModel.PaymentCouponValidate>;
292
320
  }
293
321
  import CartApplicationValidator = require("./CartApplicationValidator");
294
322
  import CartApplicationModel = require("./CartApplicationModel");