@gofynd/fdk-client-javascript 1.4.8-beta.3 → 1.4.8

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 (189) hide show
  1. package/README.md +26 -1
  2. package/package.json +2 -2
  3. package/sdk/application/ApplicationClient.d.ts +8 -0
  4. package/sdk/application/ApplicationClient.js +14 -0
  5. package/sdk/application/Cart/CartApplicationClient.d.ts +20 -20
  6. package/sdk/application/Cart/CartApplicationClient.js +20 -20
  7. package/sdk/application/Cart/CartApplicationModel.d.ts +2446 -664
  8. package/sdk/application/Cart/CartApplicationModel.js +783 -552
  9. package/sdk/application/Cart/CartApplicationValidator.d.ts +268 -194
  10. package/sdk/application/Cart/CartApplicationValidator.js +100 -114
  11. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +53 -53
  12. package/sdk/application/Catalog/CatalogApplicationClient.js +53 -53
  13. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +2012 -503
  14. package/sdk/application/Catalog/CatalogApplicationModel.js +603 -453
  15. package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +64 -64
  16. package/sdk/application/Catalog/CatalogApplicationValidator.js +32 -32
  17. package/sdk/application/Common/CommonApplicationClient.d.ts +2 -2
  18. package/sdk/application/Common/CommonApplicationClient.js +2 -2
  19. package/sdk/application/Common/CommonApplicationModel.d.ts +170 -90
  20. package/sdk/application/Common/CommonApplicationModel.js +59 -58
  21. package/sdk/application/Common/CommonApplicationValidator.d.ts +8 -5
  22. package/sdk/application/Common/CommonApplicationValidator.js +3 -3
  23. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +2 -2
  24. package/sdk/application/Communication/CommunicationApplicationClient.js +2 -2
  25. package/sdk/application/Communication/CommunicationApplicationModel.d.ts +170 -35
  26. package/sdk/application/Communication/CommunicationApplicationModel.js +54 -33
  27. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +15 -15
  28. package/sdk/application/Configuration/ConfigurationApplicationClient.js +15 -15
  29. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +624 -443
  30. package/sdk/application/Configuration/ConfigurationApplicationModel.js +259 -248
  31. package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +32 -24
  32. package/sdk/application/Configuration/ConfigurationApplicationValidator.js +14 -13
  33. package/sdk/application/Content/ContentApplicationClient.d.ts +16 -16
  34. package/sdk/application/Content/ContentApplicationClient.js +16 -16
  35. package/sdk/application/Content/ContentApplicationModel.d.ts +1205 -282
  36. package/sdk/application/Content/ContentApplicationModel.js +341 -277
  37. package/sdk/application/Content/ContentApplicationValidator.d.ts +28 -17
  38. package/sdk/application/Content/ContentApplicationValidator.js +11 -10
  39. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +3 -3
  40. package/sdk/application/FileStorage/FileStorageApplicationClient.js +3 -3
  41. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +146 -37
  42. package/sdk/application/FileStorage/FileStorageApplicationModel.js +38 -36
  43. package/sdk/application/Lead/LeadApplicationClient.d.ts +3 -3
  44. package/sdk/application/Lead/LeadApplicationClient.js +3 -3
  45. package/sdk/application/Lead/LeadApplicationModel.d.ts +195 -134
  46. package/sdk/application/Lead/LeadApplicationModel.js +110 -67
  47. package/sdk/application/Lead/LeadApplicationValidator.d.ts +8 -8
  48. package/sdk/application/Lead/LeadApplicationValidator.js +4 -4
  49. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +10 -10
  50. package/sdk/application/Logistic/LogisticApplicationClient.js +10 -10
  51. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +1039 -221
  52. package/sdk/application/Logistic/LogisticApplicationModel.js +342 -199
  53. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +76 -82
  54. package/sdk/application/Logistic/LogisticApplicationValidator.js +38 -41
  55. package/sdk/application/Order/OrderApplicationClient.d.ts +10 -10
  56. package/sdk/application/Order/OrderApplicationClient.js +10 -10
  57. package/sdk/application/Order/OrderApplicationModel.d.ts +1400 -325
  58. package/sdk/application/Order/OrderApplicationModel.js +391 -317
  59. package/sdk/application/Order/OrderApplicationValidator.d.ts +32 -30
  60. package/sdk/application/Order/OrderApplicationValidator.js +15 -14
  61. package/sdk/application/Payment/PaymentApplicationClient.d.ts +43 -43
  62. package/sdk/application/Payment/PaymentApplicationClient.js +43 -43
  63. package/sdk/application/Payment/PaymentApplicationModel.d.ts +1111 -1022
  64. package/sdk/application/Payment/PaymentApplicationModel.js +537 -521
  65. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +82 -49
  66. package/sdk/application/Payment/PaymentApplicationValidator.js +30 -30
  67. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +28 -7
  68. package/sdk/application/Rewards/RewardsApplicationModel.js +7 -7
  69. package/sdk/application/Share/ShareApplicationModel.d.ts +178 -38
  70. package/sdk/application/Share/ShareApplicationModel.js +53 -37
  71. package/sdk/application/Share/ShareApplicationValidator.d.ts +4 -2
  72. package/sdk/application/Share/ShareApplicationValidator.js +2 -1
  73. package/sdk/application/Theme/ThemeApplicationClient.d.ts +4 -4
  74. package/sdk/application/Theme/ThemeApplicationClient.js +14 -8
  75. package/sdk/application/Theme/ThemeApplicationModel.d.ts +528 -287
  76. package/sdk/application/Theme/ThemeApplicationModel.js +208 -172
  77. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +17 -12
  78. package/sdk/application/Theme/ThemeApplicationValidator.js +8 -6
  79. package/sdk/application/User/UserApplicationClient.d.ts +36 -36
  80. package/sdk/application/User/UserApplicationClient.js +36 -36
  81. package/sdk/application/User/UserApplicationModel.d.ts +1062 -255
  82. package/sdk/application/User/UserApplicationModel.js +298 -244
  83. package/sdk/application/User/UserApplicationValidator.d.ts +80 -80
  84. package/sdk/application/User/UserApplicationValidator.js +40 -40
  85. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +1 -1
  86. package/sdk/application/Webhook/WebhookApplicationClient.js +1 -1
  87. package/sdk/application/Webhook/WebhookApplicationModel.d.ts +20 -5
  88. package/sdk/application/Webhook/WebhookApplicationModel.js +5 -5
  89. package/sdk/common/Clickstream.js +95 -15
  90. package/sdk/common/Constant.d.ts +9 -0
  91. package/sdk/common/Constant.js +11 -0
  92. package/sdk/common/Utility.js +19 -0
  93. package/sdk/common/utils.js +8 -1
  94. package/sdk/partner/Lead/LeadPartnerModel.d.ts +28 -7
  95. package/sdk/partner/Lead/LeadPartnerModel.js +7 -7
  96. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +28 -7
  97. package/sdk/partner/Logistics/LogisticsPartnerModel.js +7 -7
  98. package/sdk/partner/PartnerClient.d.ts +8 -0
  99. package/sdk/partner/PartnerClient.js +14 -0
  100. package/sdk/partner/Theme/ThemePartnerClient.d.ts +20 -0
  101. package/sdk/partner/Theme/ThemePartnerClient.js +158 -0
  102. package/sdk/partner/Theme/ThemePartnerModel.d.ts +45 -6
  103. package/sdk/partner/Theme/ThemePartnerModel.js +33 -4
  104. package/sdk/partner/Theme/ThemePartnerValidator.d.ts +2 -0
  105. package/sdk/partner/Theme/ThemePartnerValidator.js +14 -0
  106. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +28 -7
  107. package/sdk/partner/Webhook/WebhookPartnerModel.js +7 -7
  108. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +28 -7
  109. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +7 -7
  110. package/sdk/platform/Billing/BillingPlatformClient.d.ts +21 -10
  111. package/sdk/platform/Billing/BillingPlatformClient.js +167 -83
  112. package/sdk/platform/Billing/BillingPlatformModel.d.ts +2849 -565
  113. package/sdk/platform/Billing/BillingPlatformModel.js +935 -556
  114. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +30 -14
  115. package/sdk/platform/Billing/BillingPlatformValidator.js +31 -16
  116. package/sdk/platform/Cart/CartPlatformModel.d.ts +28 -7
  117. package/sdk/platform/Cart/CartPlatformModel.js +8 -8
  118. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +12 -2
  119. package/sdk/platform/Catalog/CatalogPlatformClient.js +41 -1
  120. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +46 -12
  121. package/sdk/platform/Catalog/CatalogPlatformModel.js +14 -11
  122. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +40 -0
  123. package/sdk/platform/Catalog/CatalogPlatformValidator.js +17 -0
  124. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +28 -7
  125. package/sdk/platform/Communication/CommunicationPlatformModel.js +7 -7
  126. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +28 -7
  127. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +7 -7
  128. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +0 -97
  129. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +77 -782
  130. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +24 -701
  131. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +7 -539
  132. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +1 -183
  133. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +0 -134
  134. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +0 -10
  135. package/sdk/platform/Content/ContentPlatformApplicationClient.js +0 -79
  136. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +1 -15
  137. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +0 -13
  138. package/sdk/platform/Content/ContentPlatformModel.d.ts +58 -17
  139. package/sdk/platform/Content/ContentPlatformModel.js +28 -15
  140. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +28 -7
  141. package/sdk/platform/Discount/DiscountPlatformModel.js +7 -7
  142. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +127 -25
  143. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +37 -25
  144. package/sdk/platform/Finance/FinancePlatformClient.d.ts +28 -28
  145. package/sdk/platform/Finance/FinancePlatformClient.js +28 -28
  146. package/sdk/platform/Finance/FinancePlatformModel.d.ts +1583 -347
  147. package/sdk/platform/Finance/FinancePlatformModel.js +463 -351
  148. package/sdk/platform/Lead/LeadPlatformModel.d.ts +28 -7
  149. package/sdk/platform/Lead/LeadPlatformModel.js +7 -7
  150. package/sdk/platform/Order/OrderPlatformClient.d.ts +22 -0
  151. package/sdk/platform/Order/OrderPlatformClient.js +165 -0
  152. package/sdk/platform/Order/OrderPlatformModel.d.ts +613 -39
  153. package/sdk/platform/Order/OrderPlatformModel.js +359 -41
  154. package/sdk/platform/Order/OrderPlatformValidator.d.ts +32 -1
  155. package/sdk/platform/Order/OrderPlatformValidator.js +28 -0
  156. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +30 -9
  157. package/sdk/platform/Payment/PaymentPlatformModel.js +9 -9
  158. package/sdk/platform/PlatformClient.d.ts +8 -0
  159. package/sdk/platform/PlatformClient.js +14 -0
  160. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +28 -7
  161. package/sdk/platform/Rewards/RewardsPlatformModel.js +7 -7
  162. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +12 -9
  163. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +12 -9
  164. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +120 -22
  165. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +76 -21
  166. package/sdk/platform/Share/SharePlatformModel.d.ts +28 -7
  167. package/sdk/platform/Share/SharePlatformModel.js +7 -7
  168. package/sdk/platform/Theme/ThemePlatformModel.d.ts +18 -5
  169. package/sdk/platform/Theme/ThemePlatformModel.js +7 -4
  170. package/sdk/platform/User/UserPlatformModel.d.ts +18 -18
  171. package/sdk/platform/User/UserPlatformModel.js +9 -9
  172. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +28 -7
  173. package/sdk/platform/Webhook/WebhookPlatformModel.js +7 -7
  174. package/sdk/public/Billing/BillingPublicClient.d.ts +11 -0
  175. package/sdk/public/Billing/BillingPublicClient.js +80 -0
  176. package/sdk/public/Billing/BillingPublicModel.d.ts +584 -99
  177. package/sdk/public/Billing/BillingPublicModel.js +252 -87
  178. package/sdk/public/Billing/BillingPublicValidator.d.ts +10 -1
  179. package/sdk/public/Billing/BillingPublicValidator.js +12 -0
  180. package/sdk/public/PublicClient.d.ts +0 -2
  181. package/sdk/public/PublicClient.js +0 -4
  182. package/sdk/public/index.d.ts +0 -1
  183. package/sdk/public/index.js +0 -2
  184. package/sdk/public/Inventory/InventoryPublicClient.d.ts +0 -87
  185. package/sdk/public/Inventory/InventoryPublicClient.js +0 -529
  186. package/sdk/public/Inventory/InventoryPublicModel.d.ts +0 -393
  187. package/sdk/public/Inventory/InventoryPublicModel.js +0 -448
  188. package/sdk/public/Inventory/InventoryPublicValidator.d.ts +0 -91
  189. package/sdk/public/Inventory/InventoryPublicValidator.js +0 -85
@@ -5,14 +5,11 @@ export = CartApplicationValidator;
5
5
  */
6
6
  /**
7
7
  * @typedef AddItemsParam
8
- * @property {boolean} [i] - This is a boolean value. Select `true` to retrieve
9
- * all the items added in the cart.
10
- * @property {boolean} [b] - This is a boolean value. Select `true` to retrieve
11
- * the price breakup of cart items.
12
- * @property {string} [areaCode] - Customer servicable area_code
13
- * @property {boolean} [buyNow] - This is a boolen value. Select `true` to
14
- * set/initialize buy now cart
15
- * @property {string} [id] - The unique identifier of the cart
8
+ * @property {boolean} [i] - Select `true` to retrieve all the items added in the cart.
9
+ * @property {boolean} [b] - Select `true` to retrieve the price breakup of cart items.
10
+ * @property {string} [areaCode] - Customer servicable area_code.
11
+ * @property {boolean} [buyNow] - Select `true` to set/initialize buy now cart.
12
+ * @property {string} [id] - The unique identifier of the cart.
16
13
  * @property {string} [orderType] - The order type of shipment HomeDelivery - If
17
14
  * the customer wants the order home-delivered PickAtStore - If the customer
18
15
  * wants the handover of an order at the store itself.
@@ -20,34 +17,32 @@ export = CartApplicationValidator;
20
17
  */
21
18
  /**
22
19
  * @typedef ApplyCouponParam
23
- * @property {boolean} [i]
24
- * @property {boolean} [b]
25
- * @property {boolean} [p]
26
- * @property {string} [id]
27
- * @property {boolean} [buyNow]
28
- * @property {string} [cartType]
20
+ * @property {boolean} [i] - Select `true` to retrieve all the items added in the cart.
21
+ * @property {boolean} [b] - Select `true` to retrieve the price breakup of cart items.
22
+ * @property {boolean} [p] - Select `true` for getting a payment option in response.
23
+ * @property {string} [id] - The unique identifier of the cart.
24
+ * @property {boolean} [buyNow] - This is boolean to get buy_now cart.
25
+ * @property {string} [cartType] - The type of cart.
29
26
  * @property {CartApplicationModel.ApplyCouponRequest} body
30
27
  */
31
28
  /**
32
29
  * @typedef ApplyRewardPointsParam
33
- * @property {string} [id] - The unique identifier of the cart
34
- * @property {boolean} [i] - This is a boolean value. Select `true` to retrieve
35
- * all the items added in the cart.
36
- * @property {boolean} [b] - This is a boolean value. Select `true` to retrieve
37
- * the price breakup of cart items.
38
- * @property {boolean} [buyNow] - This is boolean to get buy_now cart
30
+ * @property {string} [id] - The unique identifier of the cart.
31
+ * @property {boolean} [i] - Select `true` to retrieve all the items added in the cart.
32
+ * @property {boolean} [b] - Select `true` to retrieve the price breakup of cart items.
33
+ * @property {boolean} [buyNow] - This is boolean to get buy_now cart.
39
34
  * @property {CartApplicationModel.RewardPointRequest} body
40
35
  */
41
36
  /**
42
37
  * @typedef CheckoutCartParam
43
- * @property {boolean} [buyNow] - This indicates the type of cart to checkout
44
- * @property {string} [cartType] - The type of cart
38
+ * @property {boolean} [buyNow] - This indicates the type of cart to checkout.
39
+ * @property {string} [cartType] - The type of cart.
45
40
  * @property {CartApplicationModel.CartCheckoutDetailRequest} body
46
41
  */
47
42
  /**
48
43
  * @typedef CheckoutCartV2Param
49
- * @property {boolean} [buyNow] - This indicates the type of cart to checkout
50
- * @property {string} [cartType] - The type of cart
44
+ * @property {boolean} [buyNow] - This indicates the type of cart to checkout.
45
+ * @property {string} [cartType] - The type of cart.
51
46
  * @property {CartApplicationModel.CartCheckoutDetailV2Request} body
52
47
  */
53
48
  /**
@@ -56,52 +51,49 @@ export = CartApplicationValidator;
56
51
  */
57
52
  /**
58
53
  * @typedef GetAddressByIdParam
59
- * @property {string} id
60
- * @property {string} [cartId]
61
- * @property {boolean} [buyNow]
62
- * @property {string} [mobileNo]
63
- * @property {string} [checkoutMode]
64
- * @property {string} [tags]
65
- * @property {boolean} [isDefault]
54
+ * @property {string} id - ID allotted to the selected address.
55
+ * @property {string} [cartId] - The unique identifier of the cart.
56
+ * @property {boolean} [buyNow] - This is boolean to get buy_now cart.
57
+ * @property {string} [mobileNo] - Mobile number of the customer.
58
+ * @property {string} [checkoutMode] - Option to checkout for self or for others.
59
+ * @property {string} [tags] - Tag given to an address, e.g. work, home, office, shop.
60
+ * @property {boolean} [isDefault] - This is a boolean value. Select `true` to
61
+ * fetch the default address.
66
62
  */
67
63
  /**
68
64
  * @typedef GetAddressesParam
69
- * @property {string} [cartId]
70
- * @property {boolean} [buyNow]
71
- * @property {string} [mobileNo]
72
- * @property {string} [checkoutMode]
73
- * @property {string} [tags]
74
- * @property {boolean} [isDefault]
65
+ * @property {string} [cartId] - The unique identifier of the user cart.
66
+ * @property {boolean} [buyNow] - Whether to get buy_now cart.
67
+ * @property {string} [mobileNo] - Mobile number of the customer.
68
+ * @property {string} [checkoutMode] - Option to checkout for self or for others.
69
+ * @property {string} [tags] - Tag given to an address, e.g. work, home, office, shop.
70
+ * @property {boolean} [isDefault] - Select `true` to fetch the default address.
75
71
  */
76
72
  /**
77
73
  * @typedef GetBulkDiscountOffersParam
78
- * @property {number} [itemId] - The Item ID of the product
79
- * @property {string} [articleId] - Article Mongo ID
80
- * @property {number} [uid] - UID of the product
74
+ * @property {number} [itemId] - The Item ID of the product.
75
+ * @property {string} [articleId] - Article Mongo ID.
76
+ * @property {number} [uid] - UID of the product.
81
77
  * @property {string} [slug] - A short, human-readable, URL-friendly identifier
82
- * of a product. You can get slug value from the endpoint
83
- * /service/application/catalog/v1.0/products/
78
+ * of a product.
84
79
  */
85
80
  /**
86
81
  * @typedef GetCartParam
87
- * @property {string} [id] - The unique identifier of the cart
88
- * @property {boolean} [i] - This is a boolean value. Select `true` to retrieve
89
- * all the items added in the cart.
90
- * @property {boolean} [b] - This is a boolean value. Select `true` to retrieve
91
- * the price breakup of cart items.
92
- * @property {boolean} [c] - This is a boolean value. Select `true` to retrieve
93
- * the cod charges in breakup of cart items.
94
- * @property {number} [assignCardId] - Token of user's debit or credit card
95
- * @property {string} [areaCode] - Customer servicable area_code
96
- * @property {boolean} [buyNow] - This is a boolen value. Select `true` to
97
- * set/initialize buy now cart
82
+ * @property {string} [id] - The unique identifier of the cart.
83
+ * @property {boolean} [i] - Select `true` to retrieve all the items added in the cart.
84
+ * @property {boolean} [b] - Select `true` to retrieve the price breakup of cart items.
85
+ * @property {boolean} [c] - Select `true` to retrieve the cod charges in
86
+ * breakup of cart items.
87
+ * @property {number} [assignCardId] - Token of user's debit or credit card.
88
+ * @property {string} [areaCode] - Customer servicable area_code.
89
+ * @property {boolean} [buyNow] - Select `true` to set/initialize buy now cart.
98
90
  * @property {string} [orderType] - The order type of shipment HomeDelivery - If
99
91
  * the customer wants the order home-delivered PickAtStore - If the customer
100
92
  * wants the handover of an order at the store itself.
101
93
  */
102
94
  /**
103
95
  * @typedef GetCartLastModifiedParam
104
- * @property {string} [id]
96
+ * @property {string} [id] - The unique identifier of the cart.
105
97
  */
106
98
  /**
107
99
  * @typedef GetCartShareLinkParam
@@ -109,98 +101,92 @@ export = CartApplicationValidator;
109
101
  */
110
102
  /**
111
103
  * @typedef GetCartSharedItemsParam
112
- * @property {string} token - Token of the shared short link
104
+ * @property {string} token - Token of the shared short link.
113
105
  */
114
106
  /**
115
107
  * @typedef GetCouponsParam
116
- * @property {string} [id]
117
- * @property {boolean} [buyNow]
118
- * @property {string} [slug]
119
- * @property {string} [storeId]
108
+ * @property {string} [id] - The unique identifier of the cart.
109
+ * @property {boolean} [buyNow] - Whether to get buy_now cart.
110
+ * @property {string} [slug] - Product slug to fetch the available coupons.
111
+ * @property {string} [storeId] - Unique identifier of a store.
120
112
  */
121
113
  /**
122
114
  * @typedef GetItemCountParam
123
115
  * @property {string} [id] - The unique identifier of the cart.
124
- * @property {boolean} [buyNow]
116
+ * @property {boolean} [buyNow] - Boolean value to get buy_now cart.
125
117
  */
126
118
  /**
127
119
  * @typedef GetLadderOffersParam
128
120
  * @property {string} slug - A short, human-readable, URL-friendly identifier of
129
- * a product. You can get slug value from the endpoint
130
- * /service/application/catalog/v1.0/products/
121
+ * a product.
131
122
  * @property {string} [storeId] - Store uid of assigned store on PDP page. If
132
- * not passed default first created ladder will be returned
123
+ * not passed default first created ladder will be returned.
133
124
  * @property {string} [promotionId] - Get ladder information of given promotion
134
- * id explicitely
135
- * @property {number} [pageSize] - Number of offers to be fetched to show
125
+ * id explicitely.
126
+ * @property {number} [pageSize] - Number of offers to be fetched to show.
136
127
  */
137
128
  /**
138
129
  * @typedef GetPromotionOffersParam
139
130
  * @property {string} [slug] - A short, human-readable, URL-friendly identifier
140
- * of a product. You can get slug value from the endpoint
141
- * /service/application/catalog/v1.0/products/
142
- * @property {number} [pageSize] - Number of offers to be fetched to show
143
- * @property {string} [promotionGroup] - Type of promotion groups
144
- * @property {number} [storeId] - Store id
145
- * @property {string} [cartType] - The type of cart
131
+ * of a product.
132
+ * @property {number} [pageSize] - Number of offers to be fetched to show.
133
+ * @property {string} [promotionGroup] - Type of promotion groups.
134
+ * @property {number} [storeId] - Unique identifier of a store.
135
+ * @property {string} [cartType] - The type of cart.
146
136
  */
147
137
  /**
148
138
  * @typedef GetPromotionPaymentOffersParam
149
- * @property {string} [id] - Cart id
150
- * @property {number} [uid] - Cart uid
139
+ * @property {string} [id] - Cart id of the user cart .
140
+ * @property {number} [uid] - Cart uid of the user cart .
151
141
  */
152
142
  /**
153
143
  * @typedef GetShipmentsParam
154
- * @property {boolean} [p] - This is a boolean value. Select `true` for getting
155
- * a payment option in response.
156
- * @property {string} [id] - The unique identifier of the cart
157
- * @property {boolean} [buyNow]
158
- * @property {string} [addressId] - ID allotted to the selected address
159
- * @property {string} [areaCode] - The PIN Code of the destination address, e.g. 400059
144
+ * @property {boolean} [p] - Select `true` for getting a payment option in response.
145
+ * @property {string} [id] - The unique identifier of the cart.
146
+ * @property {boolean} [buyNow] - This is boolean to get buy_now cart.
147
+ * @property {string} [addressId] - ID allotted to the selected address.
148
+ * @property {string} [areaCode] - The PIN Code of the destination address, e.g. 400059.
160
149
  * @property {string} [orderType] - The order type of shipment HomeDelivery - If
161
150
  * the customer wants the order home-delivered PickAtStore - If the customer
162
151
  * wants the handover of an order at the store itself. Digital - If the
163
- * customer wants to buy digital voucher ( for jiogames )
152
+ * customer wants to buy digital voucher ( for jiogames ).
164
153
  */
165
154
  /**
166
155
  * @typedef RemoveAddressParam
167
- * @property {string} id - ID allotted to the selected address
156
+ * @property {string} id - ID allotted to the selected address.
168
157
  */
169
158
  /**
170
159
  * @typedef RemoveCouponParam
171
- * @property {string} [id] - The unique identifier of the cart
172
- * @property {boolean} [buyNow] - This is boolean to get buy_now cart
160
+ * @property {string} [id] - The unique identifier of the cart.
161
+ * @property {boolean} [buyNow] - Wheter to get buy_now cart.
173
162
  */
174
163
  /**
175
164
  * @typedef SelectAddressParam
176
- * @property {string} [cartId]
177
- * @property {boolean} [buyNow]
178
- * @property {boolean} [i]
179
- * @property {boolean} [b]
165
+ * @property {string} [cartId] - The unique identifier of the cart.
166
+ * @property {boolean} [buyNow] - Whether to get buy_now cart.
167
+ * @property {boolean} [i] - Select `true` to retrieve all the items added in the cart.
168
+ * @property {boolean} [b] - Select `true` to retrieve the price breakup of cart items.
180
169
  * @property {CartApplicationModel.SelectCartAddressRequest} body
181
170
  */
182
171
  /**
183
172
  * @typedef SelectPaymentModeParam
184
- * @property {string} [id]
185
- * @property {boolean} [buyNow]
173
+ * @property {string} [id] - The unique identifier of the cart.
174
+ * @property {boolean} [buyNow] - Whether to get buy_now cart.
186
175
  * @property {CartApplicationModel.UpdateCartPaymentRequest} body
187
176
  */
188
177
  /**
189
178
  * @typedef UpdateAddressParam
190
- * @property {string} id - ID allotted to the selected address
179
+ * @property {string} id - ID allotted to the selected address.
191
180
  * @property {CartApplicationModel.Address} body
192
181
  */
193
182
  /**
194
183
  * @typedef UpdateCartParam
195
- * @property {string} [id] - The unique identifier of the cart
196
- * @property {boolean} [i] - This is a boolean value. Select `true` to retrieve
197
- * all the items added in the cart.
198
- * @property {boolean} [b] - This is a boolean value. Select `true` to retrieve
199
- * the price breakup of cart items.
200
- * @property {string} [areaCode] - Customer servicable area_code
201
- * @property {boolean} [buyNow] - This is a boolen value. Select `true` to
202
- * set/initialize buy now cart
203
- * @property {string} [cartType] - The type of cart
184
+ * @property {string} [id] - The unique identifier of the cart.
185
+ * @property {boolean} [i] - Select `true` to retrieve all the items added in the cart.
186
+ * @property {boolean} [b] - Select `true` to retrieve the price breakup of cart items.
187
+ * @property {string} [areaCode] - Customer servicable area_code.
188
+ * @property {boolean} [buyNow] - Select `true` to set/initialize buy now cart.
189
+ * @property {string} [cartType] - The type of cart.
204
190
  * @property {string} [orderType] - The order type of shipment HomeDelivery - If
205
191
  * the customer wants the order home-delivered PickAtStore - If the customer
206
192
  * wants the handover of an order at the store itself.
@@ -208,30 +194,30 @@ export = CartApplicationValidator;
208
194
  */
209
195
  /**
210
196
  * @typedef UpdateCartMetaParam
211
- * @property {string} [id]
212
- * @property {boolean} [buyNow]
197
+ * @property {string} [id] - The unique identifier of the cart.
198
+ * @property {boolean} [buyNow] - Whether to get buy_now cart.
213
199
  * @property {CartApplicationModel.CartMetaRequest} body
214
200
  */
215
201
  /**
216
202
  * @typedef UpdateCartWithSharedItemsParam
217
- * @property {string} token - Token of the shared short link
203
+ * @property {string} token - Token of the shared short link.
218
204
  * @property {string} action - Operation to perform on the existing cart merge or replace.
219
205
  */
220
206
  /**
221
207
  * @typedef ValidateCouponForPaymentParam
222
- * @property {string} [id] - The unique identifier of the cart
223
- * @property {boolean} [buyNow] - This is boolean to get buy_now cart
224
- * @property {string} [addressId] - ID allotted to an address
225
- * @property {string} [paymentMode] - Payment mode selected by the customer
226
- * @property {string} [paymentIdentifier] - Identifier of payment like ICIC, PAYTM
227
- * @property {string} [aggregatorName] - Payment gateway identifier
208
+ * @property {string} [id] - The unique identifier of the cart.
209
+ * @property {boolean} [buyNow] - Whether to get buy_now cart.
210
+ * @property {string} [addressId] - ID allotted to an address.
211
+ * @property {string} [paymentMode] - Payment mode selected by the customer.
212
+ * @property {string} [paymentIdentifier] - Identifier of payment like ICIC, PAYTM.
213
+ * @property {string} [aggregatorName] - Payment gateway identifier.
228
214
  * @property {string} [merchantCode] - Identifier used by payment gateway for a
229
- * given payment mode, e.g. NB_ICIC, PAYTM
230
- * @property {string} [iin] - Debit/Credit card prefix (first 6 digit)
231
- * @property {string} [network] - Credit/Debit card issuer, e.g. VISA, MASTERCARD, RUPAY
232
- * @property {string} [type] - Card type, e.g. Credit, Debit
233
- * @property {string} [cardId] - Saved card token reference id
234
- * @property {string} [cartType] - Type of the cart
215
+ * given payment mode, e.g. NB_ICIC, PAYTM.
216
+ * @property {string} [iin] - Debit/Credit card prefix (first 6 digit).
217
+ * @property {string} [network] - Credit/Debit card issuer, e.g. VISA, MASTERCARD, RUPAY.
218
+ * @property {string} [type] - Card type, e.g. Credit, Debit.
219
+ * @property {string} [cardId] - Saved card token reference id.
220
+ * @property {string} [cartType] - Type of the cart.
235
221
  */
236
222
  declare class CartApplicationValidator {
237
223
  /** @returns {AddAddressParam} */
@@ -301,26 +287,23 @@ type AddAddressParam = {
301
287
  };
302
288
  type AddItemsParam = {
303
289
  /**
304
- * - This is a boolean value. Select `true` to retrieve
305
- * all the items added in the cart.
290
+ * - Select `true` to retrieve all the items added in the cart.
306
291
  */
307
292
  i?: boolean;
308
293
  /**
309
- * - This is a boolean value. Select `true` to retrieve
310
- * the price breakup of cart items.
294
+ * - Select `true` to retrieve the price breakup of cart items.
311
295
  */
312
296
  b?: boolean;
313
297
  /**
314
- * - Customer servicable area_code
298
+ * - Customer servicable area_code.
315
299
  */
316
300
  areaCode?: string;
317
301
  /**
318
- * - This is a boolen value. Select `true` to
319
- * set/initialize buy now cart
302
+ * - Select `true` to set/initialize buy now cart.
320
303
  */
321
304
  buyNow?: boolean;
322
305
  /**
323
- * - The unique identifier of the cart
306
+ * - The unique identifier of the cart.
324
307
  */
325
308
  id?: string;
326
309
  /**
@@ -332,53 +315,69 @@ type AddItemsParam = {
332
315
  body: CartApplicationModel.AddCartRequest;
333
316
  };
334
317
  type ApplyCouponParam = {
318
+ /**
319
+ * - Select `true` to retrieve all the items added in the cart.
320
+ */
335
321
  i?: boolean;
322
+ /**
323
+ * - Select `true` to retrieve the price breakup of cart items.
324
+ */
336
325
  b?: boolean;
326
+ /**
327
+ * - Select `true` for getting a payment option in response.
328
+ */
337
329
  p?: boolean;
330
+ /**
331
+ * - The unique identifier of the cart.
332
+ */
338
333
  id?: string;
334
+ /**
335
+ * - This is boolean to get buy_now cart.
336
+ */
339
337
  buyNow?: boolean;
338
+ /**
339
+ * - The type of cart.
340
+ */
340
341
  cartType?: string;
341
342
  body: CartApplicationModel.ApplyCouponRequest;
342
343
  };
343
344
  type ApplyRewardPointsParam = {
344
345
  /**
345
- * - The unique identifier of the cart
346
+ * - The unique identifier of the cart.
346
347
  */
347
348
  id?: string;
348
349
  /**
349
- * - This is a boolean value. Select `true` to retrieve
350
- * all the items added in the cart.
350
+ * - Select `true` to retrieve all the items added in the cart.
351
351
  */
352
352
  i?: boolean;
353
353
  /**
354
- * - This is a boolean value. Select `true` to retrieve
355
- * the price breakup of cart items.
354
+ * - Select `true` to retrieve the price breakup of cart items.
356
355
  */
357
356
  b?: boolean;
358
357
  /**
359
- * - This is boolean to get buy_now cart
358
+ * - This is boolean to get buy_now cart.
360
359
  */
361
360
  buyNow?: boolean;
362
361
  body: CartApplicationModel.RewardPointRequest;
363
362
  };
364
363
  type CheckoutCartParam = {
365
364
  /**
366
- * - This indicates the type of cart to checkout
365
+ * - This indicates the type of cart to checkout.
367
366
  */
368
367
  buyNow?: boolean;
369
368
  /**
370
- * - The type of cart
369
+ * - The type of cart.
371
370
  */
372
371
  cartType?: string;
373
372
  body: CartApplicationModel.CartCheckoutDetailRequest;
374
373
  };
375
374
  type CheckoutCartV2Param = {
376
375
  /**
377
- * - This indicates the type of cart to checkout
376
+ * - This indicates the type of cart to checkout.
378
377
  */
379
378
  buyNow?: boolean;
380
379
  /**
381
- * - The type of cart
380
+ * - The type of cart.
382
381
  */
383
382
  cartType?: string;
384
383
  body: CartApplicationModel.CartCheckoutDetailV2Request;
@@ -390,73 +389,109 @@ type DeleteCartParam = {
390
389
  id?: string;
391
390
  };
392
391
  type GetAddressByIdParam = {
392
+ /**
393
+ * - ID allotted to the selected address.
394
+ */
393
395
  id: string;
396
+ /**
397
+ * - The unique identifier of the cart.
398
+ */
394
399
  cartId?: string;
400
+ /**
401
+ * - This is boolean to get buy_now cart.
402
+ */
395
403
  buyNow?: boolean;
404
+ /**
405
+ * - Mobile number of the customer.
406
+ */
396
407
  mobileNo?: string;
408
+ /**
409
+ * - Option to checkout for self or for others.
410
+ */
397
411
  checkoutMode?: string;
412
+ /**
413
+ * - Tag given to an address, e.g. work, home, office, shop.
414
+ */
398
415
  tags?: string;
416
+ /**
417
+ * - This is a boolean value. Select `true` to
418
+ * fetch the default address.
419
+ */
399
420
  isDefault?: boolean;
400
421
  };
401
422
  type GetAddressesParam = {
423
+ /**
424
+ * - The unique identifier of the user cart.
425
+ */
402
426
  cartId?: string;
427
+ /**
428
+ * - Whether to get buy_now cart.
429
+ */
403
430
  buyNow?: boolean;
431
+ /**
432
+ * - Mobile number of the customer.
433
+ */
404
434
  mobileNo?: string;
435
+ /**
436
+ * - Option to checkout for self or for others.
437
+ */
405
438
  checkoutMode?: string;
439
+ /**
440
+ * - Tag given to an address, e.g. work, home, office, shop.
441
+ */
406
442
  tags?: string;
443
+ /**
444
+ * - Select `true` to fetch the default address.
445
+ */
407
446
  isDefault?: boolean;
408
447
  };
409
448
  type GetBulkDiscountOffersParam = {
410
449
  /**
411
- * - The Item ID of the product
450
+ * - The Item ID of the product.
412
451
  */
413
452
  itemId?: number;
414
453
  /**
415
- * - Article Mongo ID
454
+ * - Article Mongo ID.
416
455
  */
417
456
  articleId?: string;
418
457
  /**
419
- * - UID of the product
458
+ * - UID of the product.
420
459
  */
421
460
  uid?: number;
422
461
  /**
423
462
  * - A short, human-readable, URL-friendly identifier
424
- * of a product. You can get slug value from the endpoint
425
- * /service/application/catalog/v1.0/products/
463
+ * of a product.
426
464
  */
427
465
  slug?: string;
428
466
  };
429
467
  type GetCartParam = {
430
468
  /**
431
- * - The unique identifier of the cart
469
+ * - The unique identifier of the cart.
432
470
  */
433
471
  id?: string;
434
472
  /**
435
- * - This is a boolean value. Select `true` to retrieve
436
- * all the items added in the cart.
473
+ * - Select `true` to retrieve all the items added in the cart.
437
474
  */
438
475
  i?: boolean;
439
476
  /**
440
- * - This is a boolean value. Select `true` to retrieve
441
- * the price breakup of cart items.
477
+ * - Select `true` to retrieve the price breakup of cart items.
442
478
  */
443
479
  b?: boolean;
444
480
  /**
445
- * - This is a boolean value. Select `true` to retrieve
446
- * the cod charges in breakup of cart items.
481
+ * - Select `true` to retrieve the cod charges in
482
+ * breakup of cart items.
447
483
  */
448
484
  c?: boolean;
449
485
  /**
450
- * - Token of user's debit or credit card
486
+ * - Token of user's debit or credit card.
451
487
  */
452
488
  assignCardId?: number;
453
489
  /**
454
- * - Customer servicable area_code
490
+ * - Customer servicable area_code.
455
491
  */
456
492
  areaCode?: string;
457
493
  /**
458
- * - This is a boolen value. Select `true` to
459
- * set/initialize buy now cart
494
+ * - Select `true` to set/initialize buy now cart.
460
495
  */
461
496
  buyNow?: boolean;
462
497
  /**
@@ -467,6 +502,9 @@ type GetCartParam = {
467
502
  orderType?: string;
468
503
  };
469
504
  type GetCartLastModifiedParam = {
505
+ /**
506
+ * - The unique identifier of the cart.
507
+ */
470
508
  id?: string;
471
509
  };
472
510
  type GetCartShareLinkParam = {
@@ -474,14 +512,26 @@ type GetCartShareLinkParam = {
474
512
  };
475
513
  type GetCartSharedItemsParam = {
476
514
  /**
477
- * - Token of the shared short link
515
+ * - Token of the shared short link.
478
516
  */
479
517
  token: string;
480
518
  };
481
519
  type GetCouponsParam = {
520
+ /**
521
+ * - The unique identifier of the cart.
522
+ */
482
523
  id?: string;
524
+ /**
525
+ * - Whether to get buy_now cart.
526
+ */
483
527
  buyNow?: boolean;
528
+ /**
529
+ * - Product slug to fetch the available coupons.
530
+ */
484
531
  slug?: string;
532
+ /**
533
+ * - Unique identifier of a store.
534
+ */
485
535
  storeId?: string;
486
536
  };
487
537
  type GetItemCountParam = {
@@ -489,152 +539,170 @@ type GetItemCountParam = {
489
539
  * - The unique identifier of the cart.
490
540
  */
491
541
  id?: string;
542
+ /**
543
+ * - Boolean value to get buy_now cart.
544
+ */
492
545
  buyNow?: boolean;
493
546
  };
494
547
  type GetLadderOffersParam = {
495
548
  /**
496
549
  * - A short, human-readable, URL-friendly identifier of
497
- * a product. You can get slug value from the endpoint
498
- * /service/application/catalog/v1.0/products/
550
+ * a product.
499
551
  */
500
552
  slug: string;
501
553
  /**
502
554
  * - Store uid of assigned store on PDP page. If
503
- * not passed default first created ladder will be returned
555
+ * not passed default first created ladder will be returned.
504
556
  */
505
557
  storeId?: string;
506
558
  /**
507
559
  * - Get ladder information of given promotion
508
- * id explicitely
560
+ * id explicitely.
509
561
  */
510
562
  promotionId?: string;
511
563
  /**
512
- * - Number of offers to be fetched to show
564
+ * - Number of offers to be fetched to show.
513
565
  */
514
566
  pageSize?: number;
515
567
  };
516
568
  type GetPromotionOffersParam = {
517
569
  /**
518
570
  * - A short, human-readable, URL-friendly identifier
519
- * of a product. You can get slug value from the endpoint
520
- * /service/application/catalog/v1.0/products/
571
+ * of a product.
521
572
  */
522
573
  slug?: string;
523
574
  /**
524
- * - Number of offers to be fetched to show
575
+ * - Number of offers to be fetched to show.
525
576
  */
526
577
  pageSize?: number;
527
578
  /**
528
- * - Type of promotion groups
579
+ * - Type of promotion groups.
529
580
  */
530
581
  promotionGroup?: string;
531
582
  /**
532
- * - Store id
583
+ * - Unique identifier of a store.
533
584
  */
534
585
  storeId?: number;
535
586
  /**
536
- * - The type of cart
587
+ * - The type of cart.
537
588
  */
538
589
  cartType?: string;
539
590
  };
540
591
  type GetPromotionPaymentOffersParam = {
541
592
  /**
542
- * - Cart id
593
+ * - Cart id of the user cart .
543
594
  */
544
595
  id?: string;
545
596
  /**
546
- * - Cart uid
597
+ * - Cart uid of the user cart .
547
598
  */
548
599
  uid?: number;
549
600
  };
550
601
  type GetShipmentsParam = {
551
602
  /**
552
- * - This is a boolean value. Select `true` for getting
553
- * a payment option in response.
603
+ * - Select `true` for getting a payment option in response.
554
604
  */
555
605
  p?: boolean;
556
606
  /**
557
- * - The unique identifier of the cart
607
+ * - The unique identifier of the cart.
558
608
  */
559
609
  id?: string;
610
+ /**
611
+ * - This is boolean to get buy_now cart.
612
+ */
560
613
  buyNow?: boolean;
561
614
  /**
562
- * - ID allotted to the selected address
615
+ * - ID allotted to the selected address.
563
616
  */
564
617
  addressId?: string;
565
618
  /**
566
- * - The PIN Code of the destination address, e.g. 400059
619
+ * - The PIN Code of the destination address, e.g. 400059.
567
620
  */
568
621
  areaCode?: string;
569
622
  /**
570
623
  * - The order type of shipment HomeDelivery - If
571
624
  * the customer wants the order home-delivered PickAtStore - If the customer
572
625
  * wants the handover of an order at the store itself. Digital - If the
573
- * customer wants to buy digital voucher ( for jiogames )
626
+ * customer wants to buy digital voucher ( for jiogames ).
574
627
  */
575
628
  orderType?: string;
576
629
  };
577
630
  type RemoveAddressParam = {
578
631
  /**
579
- * - ID allotted to the selected address
632
+ * - ID allotted to the selected address.
580
633
  */
581
634
  id: string;
582
635
  };
583
636
  type RemoveCouponParam = {
584
637
  /**
585
- * - The unique identifier of the cart
638
+ * - The unique identifier of the cart.
586
639
  */
587
640
  id?: string;
588
641
  /**
589
- * - This is boolean to get buy_now cart
642
+ * - Wheter to get buy_now cart.
590
643
  */
591
644
  buyNow?: boolean;
592
645
  };
593
646
  type SelectAddressParam = {
647
+ /**
648
+ * - The unique identifier of the cart.
649
+ */
594
650
  cartId?: string;
651
+ /**
652
+ * - Whether to get buy_now cart.
653
+ */
595
654
  buyNow?: boolean;
655
+ /**
656
+ * - Select `true` to retrieve all the items added in the cart.
657
+ */
596
658
  i?: boolean;
659
+ /**
660
+ * - Select `true` to retrieve the price breakup of cart items.
661
+ */
597
662
  b?: boolean;
598
663
  body: CartApplicationModel.SelectCartAddressRequest;
599
664
  };
600
665
  type SelectPaymentModeParam = {
666
+ /**
667
+ * - The unique identifier of the cart.
668
+ */
601
669
  id?: string;
670
+ /**
671
+ * - Whether to get buy_now cart.
672
+ */
602
673
  buyNow?: boolean;
603
674
  body: CartApplicationModel.UpdateCartPaymentRequest;
604
675
  };
605
676
  type UpdateAddressParam = {
606
677
  /**
607
- * - ID allotted to the selected address
678
+ * - ID allotted to the selected address.
608
679
  */
609
680
  id: string;
610
681
  body: CartApplicationModel.Address;
611
682
  };
612
683
  type UpdateCartParam = {
613
684
  /**
614
- * - The unique identifier of the cart
685
+ * - The unique identifier of the cart.
615
686
  */
616
687
  id?: string;
617
688
  /**
618
- * - This is a boolean value. Select `true` to retrieve
619
- * all the items added in the cart.
689
+ * - Select `true` to retrieve all the items added in the cart.
620
690
  */
621
691
  i?: boolean;
622
692
  /**
623
- * - This is a boolean value. Select `true` to retrieve
624
- * the price breakup of cart items.
693
+ * - Select `true` to retrieve the price breakup of cart items.
625
694
  */
626
695
  b?: boolean;
627
696
  /**
628
- * - Customer servicable area_code
697
+ * - Customer servicable area_code.
629
698
  */
630
699
  areaCode?: string;
631
700
  /**
632
- * - This is a boolen value. Select `true` to
633
- * set/initialize buy now cart
701
+ * - Select `true` to set/initialize buy now cart.
634
702
  */
635
703
  buyNow?: boolean;
636
704
  /**
637
- * - The type of cart
705
+ * - The type of cart.
638
706
  */
639
707
  cartType?: string;
640
708
  /**
@@ -646,13 +714,19 @@ type UpdateCartParam = {
646
714
  body: CartApplicationModel.UpdateCartRequest;
647
715
  };
648
716
  type UpdateCartMetaParam = {
717
+ /**
718
+ * - The unique identifier of the cart.
719
+ */
649
720
  id?: string;
721
+ /**
722
+ * - Whether to get buy_now cart.
723
+ */
650
724
  buyNow?: boolean;
651
725
  body: CartApplicationModel.CartMetaRequest;
652
726
  };
653
727
  type UpdateCartWithSharedItemsParam = {
654
728
  /**
655
- * - Token of the shared short link
729
+ * - Token of the shared short link.
656
730
  */
657
731
  token: string;
658
732
  /**
@@ -662,52 +736,52 @@ type UpdateCartWithSharedItemsParam = {
662
736
  };
663
737
  type ValidateCouponForPaymentParam = {
664
738
  /**
665
- * - The unique identifier of the cart
739
+ * - The unique identifier of the cart.
666
740
  */
667
741
  id?: string;
668
742
  /**
669
- * - This is boolean to get buy_now cart
743
+ * - Whether to get buy_now cart.
670
744
  */
671
745
  buyNow?: boolean;
672
746
  /**
673
- * - ID allotted to an address
747
+ * - ID allotted to an address.
674
748
  */
675
749
  addressId?: string;
676
750
  /**
677
- * - Payment mode selected by the customer
751
+ * - Payment mode selected by the customer.
678
752
  */
679
753
  paymentMode?: string;
680
754
  /**
681
- * - Identifier of payment like ICIC, PAYTM
755
+ * - Identifier of payment like ICIC, PAYTM.
682
756
  */
683
757
  paymentIdentifier?: string;
684
758
  /**
685
- * - Payment gateway identifier
759
+ * - Payment gateway identifier.
686
760
  */
687
761
  aggregatorName?: string;
688
762
  /**
689
763
  * - Identifier used by payment gateway for a
690
- * given payment mode, e.g. NB_ICIC, PAYTM
764
+ * given payment mode, e.g. NB_ICIC, PAYTM.
691
765
  */
692
766
  merchantCode?: string;
693
767
  /**
694
- * - Debit/Credit card prefix (first 6 digit)
768
+ * - Debit/Credit card prefix (first 6 digit).
695
769
  */
696
770
  iin?: string;
697
771
  /**
698
- * - Credit/Debit card issuer, e.g. VISA, MASTERCARD, RUPAY
772
+ * - Credit/Debit card issuer, e.g. VISA, MASTERCARD, RUPAY.
699
773
  */
700
774
  network?: string;
701
775
  /**
702
- * - Card type, e.g. Credit, Debit
776
+ * - Card type, e.g. Credit, Debit.
703
777
  */
704
778
  type?: string;
705
779
  /**
706
- * - Saved card token reference id
780
+ * - Saved card token reference id.
707
781
  */
708
782
  cardId?: string;
709
783
  /**
710
- * - Type of the cart
784
+ * - Type of the cart.
711
785
  */
712
786
  cartType?: string;
713
787
  };