@gofynd/fdk-client-javascript 3.1.0-beta.1 → 3.2.0

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 (304) hide show
  1. package/README.md +1 -1
  2. package/package.json +2 -2
  3. package/sdk/application/ApplicationClient.d.ts +2 -0
  4. package/sdk/application/ApplicationClient.js +2 -0
  5. package/sdk/application/Cart/CartApplicationClient.d.ts +81 -101
  6. package/sdk/application/Cart/CartApplicationClient.js +173 -511
  7. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +110 -110
  8. package/sdk/application/Catalog/CatalogApplicationClient.js +214 -447
  9. package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
  10. package/sdk/application/Common/CommonApplicationClient.js +4 -19
  11. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +3 -43
  12. package/sdk/application/Communication/CommunicationApplicationClient.js +4 -214
  13. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +41 -54
  14. package/sdk/application/Configuration/ConfigurationApplicationClient.js +39 -192
  15. package/sdk/application/Content/ContentApplicationClient.d.ts +61 -61
  16. package/sdk/application/Content/ContentApplicationClient.js +183 -366
  17. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +2 -2
  18. package/sdk/application/FileStorage/FileStorageApplicationClient.js +11 -30
  19. package/sdk/application/Finance/FinanceApplicationClient.d.ts +29 -0
  20. package/sdk/application/Finance/FinanceApplicationClient.js +111 -0
  21. package/sdk/application/Lead/LeadApplicationClient.d.ts +6 -6
  22. package/sdk/application/Lead/LeadApplicationClient.js +24 -55
  23. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +28 -117
  24. package/sdk/application/Logistic/LogisticApplicationClient.js +99 -492
  25. package/sdk/application/Order/OrderApplicationClient.d.ts +31 -51
  26. package/sdk/application/Order/OrderApplicationClient.js +89 -293
  27. package/sdk/application/Payment/PaymentApplicationClient.d.ts +108 -218
  28. package/sdk/application/Payment/PaymentApplicationClient.js +100 -1081
  29. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +14 -14
  30. package/sdk/application/Rewards/RewardsApplicationClient.js +13 -66
  31. package/sdk/application/Share/ShareApplicationClient.d.ts +11 -11
  32. package/sdk/application/Share/ShareApplicationClient.js +35 -89
  33. package/sdk/application/Theme/ThemeApplicationClient.d.ts +5 -25
  34. package/sdk/application/Theme/ThemeApplicationClient.js +24 -150
  35. package/sdk/application/User/UserApplicationClient.d.ts +23 -13
  36. package/sdk/application/User/UserApplicationClient.js +49 -407
  37. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
  38. package/sdk/application/Webhook/WebhookApplicationClient.js +4 -11
  39. package/sdk/common/Utility.d.ts +1 -1
  40. package/sdk/common/Utility.js +10 -7
  41. package/sdk/common/Validator.d.ts +1 -0
  42. package/sdk/common/Validator.js +20 -0
  43. package/sdk/common/utils.d.ts +0 -1
  44. package/sdk/common/utils.js +0 -14
  45. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +10 -54
  46. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +32 -364
  47. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +54 -1
  48. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +43 -0
  49. package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +1 -5
  50. package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -35
  51. package/sdk/partner/Lead/LeadPartnerClient.d.ts +5 -5
  52. package/sdk/partner/Lead/LeadPartnerClient.js +4 -4
  53. package/sdk/partner/Lead/LeadPartnerModel.d.ts +52 -98
  54. package/sdk/partner/Lead/LeadPartnerModel.js +76 -100
  55. package/sdk/partner/Lead/LeadPartnerValidator.js +1 -1
  56. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +172 -41
  57. package/sdk/partner/Logistics/LogisticsPartnerClient.js +1222 -85
  58. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +1921 -297
  59. package/sdk/partner/Logistics/LogisticsPartnerModel.js +973 -258
  60. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +13 -1
  61. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +148 -16
  62. package/sdk/partner/PartnerClient.d.ts +0 -6
  63. package/sdk/partner/PartnerClient.js +0 -9
  64. package/sdk/partner/Theme/ThemePartnerClient.d.ts +21 -63
  65. package/sdk/partner/Theme/ThemePartnerClient.js +67 -392
  66. package/sdk/partner/Theme/ThemePartnerModel.d.ts +72 -104
  67. package/sdk/partner/Theme/ThemePartnerModel.js +75 -101
  68. package/sdk/partner/Theme/ThemePartnerValidator.d.ts +1 -5
  69. package/sdk/partner/Theme/ThemePartnerValidator.js +12 -42
  70. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +18 -18
  71. package/sdk/partner/Webhook/WebhookPartnerClient.js +18 -18
  72. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +673 -189
  73. package/sdk/partner/Webhook/WebhookPartnerModel.js +270 -159
  74. package/sdk/partner/Webhook/WebhookPartnerValidator.js +3 -3
  75. package/sdk/partner/index.d.ts +0 -3
  76. package/sdk/partner/index.js +0 -6
  77. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +4 -1
  78. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +1 -1
  79. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +3 -3
  80. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +3 -3
  81. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +2 -32
  82. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +3 -243
  83. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +49 -145
  84. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +20 -171
  85. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -39
  86. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +0 -35
  87. package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
  88. package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
  89. package/sdk/platform/Billing/BillingPlatformModel.d.ts +443 -388
  90. package/sdk/platform/Billing/BillingPlatformModel.js +280 -263
  91. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +16 -18
  92. package/sdk/platform/Billing/BillingPlatformValidator.js +8 -9
  93. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +172 -251
  94. package/sdk/platform/Cart/CartPlatformApplicationClient.js +577 -648
  95. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +270 -165
  96. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +192 -108
  97. package/sdk/platform/Cart/CartPlatformModel.d.ts +4554 -3154
  98. package/sdk/platform/Cart/CartPlatformModel.js +1935 -2854
  99. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +380 -976
  100. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +2004 -6464
  101. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +161 -1082
  102. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +80 -884
  103. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +568 -325
  104. package/sdk/platform/Catalog/CatalogPlatformClient.js +1560 -1162
  105. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +9772 -7871
  106. package/sdk/platform/Catalog/CatalogPlatformModel.js +6978 -9516
  107. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +231 -240
  108. package/sdk/platform/Catalog/CatalogPlatformValidator.js +180 -188
  109. package/sdk/platform/Common/CommonPlatformClient.d.ts +6 -5
  110. package/sdk/platform/Common/CommonPlatformClient.js +6 -5
  111. package/sdk/platform/Common/CommonPlatformModel.d.ts +19 -25
  112. package/sdk/platform/Common/CommonPlatformModel.js +11 -14
  113. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +240 -376
  114. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +589 -874
  115. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +139 -170
  116. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +126 -145
  117. package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +3 -56
  118. package/sdk/platform/Communication/CommunicationPlatformClient.js +4 -307
  119. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +330 -502
  120. package/sdk/platform/Communication/CommunicationPlatformModel.js +376 -610
  121. package/sdk/platform/Communication/CommunicationPlatformValidator.d.ts +3 -62
  122. package/sdk/platform/Communication/CommunicationPlatformValidator.js +2 -48
  123. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +72 -100
  124. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +88 -146
  125. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +270 -241
  126. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +248 -226
  127. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +20 -31
  128. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +20 -25
  129. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +117 -332
  130. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +409 -1470
  131. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +55 -158
  132. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +41 -163
  133. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +65 -142
  134. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +103 -568
  135. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +562 -1289
  136. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +368 -1037
  137. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +34 -80
  138. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +24 -79
  139. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +302 -248
  140. package/sdk/platform/Content/ContentPlatformApplicationClient.js +1292 -773
  141. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +330 -218
  142. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +325 -208
  143. package/sdk/platform/Content/ContentPlatformClient.d.ts +279 -118
  144. package/sdk/platform/Content/ContentPlatformClient.js +1617 -492
  145. package/sdk/platform/Content/ContentPlatformModel.d.ts +2391 -924
  146. package/sdk/platform/Content/ContentPlatformModel.js +1314 -970
  147. package/sdk/platform/Content/ContentPlatformValidator.d.ts +272 -134
  148. package/sdk/platform/Content/ContentPlatformValidator.js +295 -118
  149. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +53 -43
  150. package/sdk/platform/Discount/DiscountPlatformClient.js +53 -43
  151. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +383 -110
  152. package/sdk/platform/Discount/DiscountPlatformModel.js +117 -108
  153. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +56 -36
  154. package/sdk/platform/Discount/DiscountPlatformValidator.js +29 -19
  155. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +4 -163
  156. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +4 -1078
  157. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +5 -141
  158. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +4 -177
  159. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +8 -8
  160. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +8 -8
  161. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +30 -1123
  162. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +24 -1135
  163. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
  164. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
  165. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +17 -17
  166. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +33 -33
  167. package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +19 -19
  168. package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +14 -14
  169. package/sdk/platform/Lead/LeadPlatformClient.d.ts +24 -4
  170. package/sdk/platform/Lead/LeadPlatformClient.js +160 -4
  171. package/sdk/platform/Lead/LeadPlatformModel.d.ts +60 -140
  172. package/sdk/platform/Lead/LeadPlatformModel.js +81 -162
  173. package/sdk/platform/Lead/LeadPlatformValidator.d.ts +29 -3
  174. package/sdk/platform/Lead/LeadPlatformValidator.js +28 -2
  175. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +19 -98
  176. package/sdk/platform/Order/OrderPlatformApplicationClient.js +27 -662
  177. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +91 -118
  178. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +32 -127
  179. package/sdk/platform/Order/OrderPlatformClient.d.ts +406 -403
  180. package/sdk/platform/Order/OrderPlatformClient.js +1200 -1343
  181. package/sdk/platform/Order/OrderPlatformModel.d.ts +8665 -4505
  182. package/sdk/platform/Order/OrderPlatformModel.js +4088 -3601
  183. package/sdk/platform/Order/OrderPlatformValidator.d.ts +666 -442
  184. package/sdk/platform/Order/OrderPlatformValidator.js +353 -312
  185. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -4
  186. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +9 -7
  187. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +67 -19
  188. package/sdk/platform/Partner/PartnerPlatformModel.js +26 -17
  189. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +135 -382
  190. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +937 -2452
  191. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +100 -306
  192. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +74 -305
  193. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +56 -66
  194. package/sdk/platform/Payment/PaymentPlatformClient.js +124 -269
  195. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +1307 -3536
  196. package/sdk/platform/Payment/PaymentPlatformModel.js +1389 -3692
  197. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +35 -64
  198. package/sdk/platform/Payment/PaymentPlatformValidator.js +34 -60
  199. package/sdk/platform/PlatformClient.d.ts +0 -2
  200. package/sdk/platform/PlatformClient.js +0 -4
  201. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
  202. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
  203. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
  204. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
  205. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +12 -12
  206. package/sdk/platform/Rewards/RewardsPlatformModel.js +10 -10
  207. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +64 -136
  208. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +111 -521
  209. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +75 -117
  210. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +50 -105
  211. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +160 -149
  212. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +766 -545
  213. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +6196 -3978
  214. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +3181 -3895
  215. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +294 -220
  216. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +205 -149
  217. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +16 -4
  218. package/sdk/platform/Share/SharePlatformApplicationClient.js +86 -8
  219. package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +23 -6
  220. package/sdk/platform/Share/SharePlatformApplicationValidator.js +16 -3
  221. package/sdk/platform/Share/SharePlatformModel.d.ts +53 -9
  222. package/sdk/platform/Share/SharePlatformModel.js +45 -5
  223. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +17 -37
  224. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +66 -204
  225. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +25 -26
  226. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +20 -31
  227. package/sdk/platform/Theme/ThemePlatformClient.d.ts +8 -18
  228. package/sdk/platform/Theme/ThemePlatformClient.js +8 -85
  229. package/sdk/platform/Theme/ThemePlatformModel.d.ts +17 -425
  230. package/sdk/platform/Theme/ThemePlatformModel.js +23 -329
  231. package/sdk/platform/Theme/ThemePlatformValidator.d.ts +3 -7
  232. package/sdk/platform/Theme/ThemePlatformValidator.js +2 -9
  233. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +81 -18
  234. package/sdk/platform/User/UserPlatformApplicationClient.js +491 -27
  235. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +126 -10
  236. package/sdk/platform/User/UserPlatformApplicationValidator.js +92 -7
  237. package/sdk/platform/User/UserPlatformModel.d.ts +317 -218
  238. package/sdk/platform/User/UserPlatformModel.js +253 -210
  239. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +25 -78
  240. package/sdk/platform/Webhook/WebhookPlatformClient.js +75 -470
  241. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +813 -426
  242. package/sdk/platform/Webhook/WebhookPlatformModel.js +446 -395
  243. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
  244. package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
  245. package/sdk/platform/index.d.ts +0 -1
  246. package/sdk/platform/index.js +0 -2
  247. package/sdk/public/Catalog/CatalogPublicClient.d.ts +22 -0
  248. package/sdk/public/Catalog/CatalogPublicClient.js +133 -0
  249. package/sdk/public/Catalog/CatalogPublicModel.d.ts +158 -0
  250. package/sdk/public/Catalog/CatalogPublicModel.js +116 -0
  251. package/sdk/public/Catalog/CatalogPublicValidator.d.ts +55 -0
  252. package/sdk/public/Catalog/CatalogPublicValidator.js +35 -0
  253. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +4 -14
  254. package/sdk/public/Configuration/ConfigurationPublicClient.js +10 -113
  255. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +46 -114
  256. package/sdk/public/Configuration/ConfigurationPublicModel.js +32 -117
  257. package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +1 -11
  258. package/sdk/public/Configuration/ConfigurationPublicValidator.js +0 -12
  259. package/sdk/public/Content/ContentPublicClient.d.ts +36 -25
  260. package/sdk/public/Content/ContentPublicClient.js +254 -280
  261. package/sdk/public/Content/ContentPublicModel.d.ts +151 -38
  262. package/sdk/public/Content/ContentPublicModel.js +98 -44
  263. package/sdk/public/Content/ContentPublicValidator.d.ts +18 -17
  264. package/sdk/public/Content/ContentPublicValidator.js +26 -19
  265. package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
  266. package/sdk/public/Partner/PartnerPublicClient.js +6 -11
  267. package/sdk/public/Partner/PartnerPublicModel.d.ts +248 -72
  268. package/sdk/public/Partner/PartnerPublicModel.js +81 -71
  269. package/sdk/public/Partner/PartnerPublicValidator.d.ts +2 -2
  270. package/sdk/public/Partner/PartnerPublicValidator.js +1 -1
  271. package/sdk/public/PublicClient.d.ts +2 -0
  272. package/sdk/public/PublicClient.js +4 -0
  273. package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
  274. package/sdk/public/Webhook/WebhookPublicClient.js +9 -48
  275. package/sdk/public/Webhook/WebhookPublicModel.d.ts +215 -67
  276. package/sdk/public/Webhook/WebhookPublicModel.js +66 -61
  277. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
  278. package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
  279. package/sdk/public/index.d.ts +1 -0
  280. package/sdk/public/index.js +2 -0
  281. package/sdk/partner/Authorization/AuthorizationPartnerClient.d.ts +0 -66
  282. package/sdk/partner/Authorization/AuthorizationPartnerClient.js +0 -431
  283. package/sdk/partner/Authorization/AuthorizationPartnerModel.d.ts +0 -231
  284. package/sdk/partner/Authorization/AuthorizationPartnerModel.js +0 -152
  285. package/sdk/partner/Authorization/AuthorizationPartnerValidator.d.ts +0 -8
  286. package/sdk/partner/Authorization/AuthorizationPartnerValidator.js +0 -39
  287. package/sdk/partner/Catalog/CatalogPartnerClient.d.ts +0 -26
  288. package/sdk/partner/Catalog/CatalogPartnerClient.js +0 -173
  289. package/sdk/partner/Catalog/CatalogPartnerModel.d.ts +0 -238
  290. package/sdk/partner/Catalog/CatalogPartnerModel.js +0 -248
  291. package/sdk/partner/Catalog/CatalogPartnerValidator.d.ts +0 -5
  292. package/sdk/partner/Catalog/CatalogPartnerValidator.js +0 -19
  293. package/sdk/partner/Payment/PaymentPartnerClient.d.ts +0 -116
  294. package/sdk/partner/Payment/PaymentPartnerClient.js +0 -857
  295. package/sdk/partner/Payment/PaymentPartnerModel.d.ts +0 -388
  296. package/sdk/partner/Payment/PaymentPartnerModel.js +0 -442
  297. package/sdk/partner/Payment/PaymentPartnerValidator.d.ts +0 -14
  298. package/sdk/partner/Payment/PaymentPartnerValidator.js +0 -74
  299. package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -320
  300. package/sdk/platform/Finance/FinancePlatformClient.js +0 -2333
  301. package/sdk/platform/Finance/FinancePlatformModel.d.ts +0 -2895
  302. package/sdk/platform/Finance/FinancePlatformModel.js +0 -2150
  303. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
  304. package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
@@ -5,9 +5,9 @@ export = CartPlatformApplicationValidator;
5
5
  */
6
6
  /**
7
7
  * @typedef AddItemsParam
8
- * @property {string} cartId - Current Cart _id
8
+ * @property {string} cartId - Current Cart id of user cart
9
9
  * @property {boolean} [b]
10
- * @property {CartPlatformModel.AddCartRequest} body
10
+ * @property {CartPlatformModel.AddCartCreation} body
11
11
  */
12
12
  /**
13
13
  * @typedef AddPriceAdjustmentParam
@@ -15,19 +15,25 @@ export = CartPlatformApplicationValidator;
15
15
  */
16
16
  /**
17
17
  * @typedef ApplyCouponParam
18
+ * @property {CartPlatformModel.OrderingSource} [xOrderingSource] - Ordering
19
+ * source header, to be used to identify source of order creation.
18
20
  * @property {boolean} [i]
19
21
  * @property {boolean} [b]
20
22
  * @property {boolean} [p]
21
23
  * @property {string} [id]
22
24
  * @property {boolean} [buyNow]
23
- * @property {CartPlatformModel.ApplyCouponRequest} body
25
+ * @property {CartPlatformModel.ApplyCouponDetails} body
24
26
  */
25
27
  /**
26
28
  * @typedef CheckCartServiceabilityParam
27
- * @property {CartPlatformModel.OpenApiCartServiceabilityRequest} body
29
+ * @property {CartPlatformModel.OrderingSource} [xOrderingSource] - Ordering
30
+ * source header, to be used to identify source of order creation.
31
+ * @property {CartPlatformModel.OpenApiCartServiceabilityCreation} body
28
32
  */
29
33
  /**
30
34
  * @typedef CheckoutCartParam
35
+ * @property {CartPlatformModel.OrderingSource} [xOrderingSource] - Ordering
36
+ * source header, to be used to identify source of order creation.
31
37
  * @property {CartPlatformModel.OpenApiPlatformCheckoutReq} body
32
38
  */
33
39
  /**
@@ -45,18 +51,23 @@ export = CartPlatformApplicationValidator;
45
51
  /**
46
52
  * @typedef DeleteCartParam
47
53
  * @property {string} [id] - The unique identifier of the cart.
48
- * @property {string} [cartType] - The type of cart
49
- * @property {CartPlatformModel.DeleteCartRequest} body
54
+ * @property {CartPlatformModel.DeleteCartDetails} body
50
55
  */
51
56
  /**
52
- * @typedef DeleteCartMetaConfigParam
53
- * @property {string} cartMetaId - CartMeta mongo _id for fetching single cart
54
- * meta data for editing
57
+ * @typedef DeleteCouponParam
58
+ * @property {string} id
59
+ */
60
+ /**
61
+ * @typedef DeletePromotionParam
62
+ * @property {string} id
55
63
  */
56
64
  /**
57
65
  * @typedef FetchAndvalidateCartItemsParam
58
- * @property {CartPlatformModel.OpenapiCartDetailsRequest} body
66
+ * @property {CartPlatformModel.OrderingSource} [xOrderingSource] - Ordering
67
+ * source header, to be used to identify source of order creation.
68
+ * @property {CartPlatformModel.OpenapiCartDetailsCreation} body
59
69
  */
70
+ /** @typedef FetchCartMetaConfigParam */
60
71
  /**
61
72
  * @typedef GetAbandonedCartParam
62
73
  * @property {number} [pageNo]
@@ -109,8 +120,13 @@ export = CartPlatformApplicationValidator;
109
120
  */
110
121
  /**
111
122
  * @typedef GetCartParam
123
+ * @property {CartPlatformModel.OrderingSource} [xOrderingSource] - Ordering
124
+ * source header, to be used to identify source of order creation.
112
125
  * @property {string} [id] - The unique identifier of the cart
113
126
  * @property {string} [userId] - Option to fetch cart for the provided user_id.
127
+ * @property {string} [orderType] - The order type of shipment HomeDelivery - If
128
+ * the customer wants the order home-delivered PickAtStore - If the customer
129
+ * wants the handover of an order at the store itself.
114
130
  * @property {boolean} [i] - This is a boolean value. Select `true` to retrieve
115
131
  * all the items added in the cart.
116
132
  * @property {boolean} [b] - This is a boolean value. Select `true` to retrieve
@@ -118,7 +134,6 @@ export = CartPlatformApplicationValidator;
118
134
  * @property {number} [assignCardId] - Token of user's debit or credit card
119
135
  * @property {boolean} [buyNow] - This is a boolen value. Select `true` to
120
136
  * set/initialize buy now cart
121
- * @property {string} [cartType] - The type of cart
122
137
  */
123
138
  /**
124
139
  * @typedef GetCartListParam
@@ -126,15 +141,9 @@ export = CartPlatformApplicationValidator;
126
141
  * @property {string} [toDate]
127
142
  * @property {string} [filterOn]
128
143
  */
129
- /**
130
- * @typedef GetCartMetaConfigParam
131
- * @property {string} cartMetaId - CartMeta mongo _id for fetching single cart
132
- * meta data for editing
133
- */
134
- /** @typedef GetCartMetaConfigsParam */
135
144
  /**
136
145
  * @typedef GetCartShareLinkParam
137
- * @property {CartPlatformModel.GetShareCartLinkRequest} body
146
+ * @property {CartPlatformModel.GetShareCartLinkCreation} body
138
147
  */
139
148
  /**
140
149
  * @typedef GetCartSharedItemsParam
@@ -149,7 +158,6 @@ export = CartPlatformApplicationValidator;
149
158
  * @property {string} [code]
150
159
  */
151
160
  /** @typedef GetCouponOptionValuesParam */
152
- /** @typedef GetCouponTagsParam */
153
161
  /**
154
162
  * @typedef GetCouponsParam
155
163
  * @property {number} [pageNo]
@@ -160,21 +168,27 @@ export = CartPlatformApplicationValidator;
160
168
  * @property {boolean} [isDisplay]
161
169
  * @property {string} [typeSlug]
162
170
  * @property {string} [code]
171
+ * @property {string} [createdBy]
172
+ * @property {string} [reviewedBy]
173
+ * @property {string} [approvedStartTime]
174
+ * @property {string} [approvedEndTime]
175
+ * @property {string} [reviewStartTime]
176
+ * @property {string} [reviewEndTime]
177
+ * @property {string} [status]
163
178
  */
164
179
  /**
165
180
  * @typedef GetItemCountParam
166
181
  * @property {string} [id] - The unique identifier of the cart.
167
182
  * @property {boolean} [buyNow] - Boolean value to get buy_now cart.
168
- * @property {string} [cartType] - The type of cart
169
183
  */
170
184
  /**
171
185
  * @typedef GetPriceAdjustmentsParam
172
- * @property {string} cartId - Cart Id
186
+ * @property {string} cartId - Cart id of user cart
173
187
  */
174
188
  /**
175
189
  * @typedef GetPromosCouponConfigParam
176
- * @property {string} [entityType] - Entity_type as promotion or coupon
177
- * @property {boolean} [isHidden] - Promo-coupon config shown or not
190
+ * @property {string} [entityType] - Entity type as promotion or coupon
191
+ * @property {boolean} [isHidden] - Promotion coupon config shown or not
178
192
  */
179
193
  /**
180
194
  * @typedef GetPromotionByIdParam
@@ -184,7 +198,21 @@ export = CartPlatformApplicationValidator;
184
198
  * @typedef GetPromotionCodeExistsParam
185
199
  * @property {string} [code]
186
200
  */
187
- /** @typedef GetPromotionTagsParam */
201
+ /**
202
+ * @typedef GetPromotionOffersParam
203
+ * @property {string} [slug] - A short, human-readable, URL-friendly identifier
204
+ * of a product. You can get slug value from the endpoint
205
+ * /service/application/catalog/v1.0/products/
206
+ * @property {number} [pageSize] - Number of offers to be fetched to show
207
+ * @property {string} [promotionGroup] - Type of promotion groups
208
+ * @property {number} [storeId] - Unique identifier of a store
209
+ * @property {string} [cartType] - The type of cart
210
+ */
211
+ /**
212
+ * @typedef GetPromotionPaymentOffersParam
213
+ * @property {string} [id] - Cart id of the user cart
214
+ * @property {number} [uid] - Cart uid of the user cart
215
+ */
188
216
  /**
189
217
  * @typedef GetPromotionsParam
190
218
  * @property {number} [pageNo]
@@ -195,6 +223,13 @@ export = CartPlatformApplicationValidator;
195
223
  * @property {string} [promotionType]
196
224
  * @property {string} [fpPanel]
197
225
  * @property {string} [promotionId]
226
+ * @property {string} [createdBy]
227
+ * @property {string} [reviewedBy]
228
+ * @property {string} [approvedStartTime]
229
+ * @property {string} [approvedEndTime]
230
+ * @property {string} [reviewStartTime]
231
+ * @property {string} [reviewEndTime]
232
+ * @property {string} [status]
198
233
  */
199
234
  /**
200
235
  * @typedef GetShipmentsParam
@@ -217,34 +252,44 @@ export = CartPlatformApplicationValidator;
217
252
  */
218
253
  /**
219
254
  * @typedef OverrideCartParam
255
+ * @property {CartPlatformModel.OrderingSource} [xOrderingSource] - Ordering
256
+ * source header, to be used to identify source of order creation.
220
257
  * @property {CartPlatformModel.OverrideCheckoutReq} body
221
258
  */
222
259
  /**
223
260
  * @typedef PlatformAddItemsParam
261
+ * @property {CartPlatformModel.OrderingSource} [xOrderingSource] - Ordering
262
+ * source header, to be used to identify source of order creation.
224
263
  * @property {boolean} [i] - This is a boolean value. Select `true` to retrieve
225
264
  * all the items added in the cart.
226
265
  * @property {boolean} [b] - This is a boolean value. Select `true` to retrieve
227
266
  * the price breakup of cart items.
228
267
  * @property {boolean} [buyNow] - This is a boolen value. Select `true` to
229
268
  * set/initialize buy now cart
269
+ * @property {string} [orderType] - The order type of shipment HomeDelivery - If
270
+ * the customer wants the order home-delivered PickAtStore - If the customer
271
+ * wants the handover of an order at the store itself.
230
272
  * @property {string} [id] - The unique identifier of the cart
231
- * @property {string} [cartType] - The type of cart
232
- * @property {CartPlatformModel.PlatformAddCartRequest} body
273
+ * @property {CartPlatformModel.PlatformAddCartDetails} body
233
274
  */
234
275
  /**
235
276
  * @typedef PlatformCheckoutCartParam
277
+ * @property {CartPlatformModel.OrderingSource} [xOrderingSource] - Ordering
278
+ * source header, to be used to identify source of order creation.
236
279
  * @property {string} [id] - The unique identifier of the cart
237
- * @property {string} [cartType] - The type of cart
238
- * @property {CartPlatformModel.PlatformCartCheckoutDetailRequest} body
280
+ * @property {CartPlatformModel.PlatformCartCheckoutDetailCreation} body
239
281
  */
240
282
  /**
241
283
  * @typedef PlatformCheckoutCartV2Param
284
+ * @property {CartPlatformModel.OrderingSource} [xOrderingSource] - Ordering
285
+ * source header, to be used to identify source of order creation.
242
286
  * @property {string} [id] - The unique identifier of the cart
243
- * @property {string} [cartType] - The type of cart
244
- * @property {CartPlatformModel.PlatformCartCheckoutDetailV2Request} body
287
+ * @property {CartPlatformModel.PlatformCartCheckoutDetailV2Creation} body
245
288
  */
246
289
  /**
247
290
  * @typedef PlatformUpdateCartParam
291
+ * @property {CartPlatformModel.OrderingSource} [xOrderingSource] - Ordering
292
+ * source header, to be used to identify source of order creation.
248
293
  * @property {string} [id] - The unique identifier of the cart
249
294
  * @property {boolean} [i] - This is a boolean value. Select `true` to retrieve
250
295
  * all the items added in the cart.
@@ -255,8 +300,7 @@ export = CartPlatformApplicationValidator;
255
300
  * the price breakup of cart items.
256
301
  * @property {boolean} [buyNow] - This is a boolen value. Select `true` to
257
302
  * set/initialize buy now cart
258
- * @property {string} [cartType] - The type of cart
259
- * @property {CartPlatformModel.PlatformUpdateCartRequest} body
303
+ * @property {CartPlatformModel.PlatformUpdateCartDetails} body
260
304
  */
261
305
  /**
262
306
  * @typedef RemoveAddressParam
@@ -265,9 +309,10 @@ export = CartPlatformApplicationValidator;
265
309
  */
266
310
  /**
267
311
  * @typedef RemoveCouponParam
312
+ * @property {CartPlatformModel.OrderingSource} [xOrderingSource] - Ordering
313
+ * source header, to be used to identify source of order creation.
268
314
  * @property {string} [uid]
269
315
  * @property {boolean} [buyNow]
270
- * @property {string} [cartType] - The type of cart
271
316
  */
272
317
  /**
273
318
  * @typedef RemovePriceAdjustmentParam
@@ -275,28 +320,30 @@ export = CartPlatformApplicationValidator;
275
320
  */
276
321
  /**
277
322
  * @typedef SelectAddressParam
323
+ * @property {CartPlatformModel.OrderingSource} [xOrderingSource] - Ordering
324
+ * source header, to be used to identify source of order creation.
278
325
  * @property {string} [cartId]
279
326
  * @property {boolean} [buyNow]
280
327
  * @property {boolean} [i]
281
328
  * @property {boolean} [b]
282
- * @property {CartPlatformModel.PlatformSelectCartAddressRequest} body
329
+ * @property {CartPlatformModel.PlatformSelectCartAddress} body
283
330
  */
284
331
  /**
285
332
  * @typedef SelectPaymentModeParam
333
+ * @property {CartPlatformModel.OrderingSource} [xOrderingSource] - Ordering
334
+ * source header, to be used to identify source of order creation.
286
335
  * @property {string} [id]
287
336
  * @property {boolean} [buyNow]
288
- * @property {string} [orderType] - The order type of shipment HomeDelivery - If
289
- * the customer wants the order home-delivered PickAtStore - If the customer
290
- * wants the handover of an order at the store itself.
291
- * @property {CartPlatformModel.UpdateCartPaymentRequest} body
337
+ * @property {string} [orderType]
338
+ * @property {CartPlatformModel.CartPaymentUpdate} body
292
339
  */
293
340
  /**
294
341
  * @typedef SelectPaymentModeV2Param
342
+ * @property {CartPlatformModel.OrderingSource} [xOrderingSource] - Ordering
343
+ * source header, to be used to identify source of order creation.
295
344
  * @property {string} [id]
296
345
  * @property {boolean} [buyNow]
297
- * @property {string} [orderType] - The order type of shipment HomeDelivery - If
298
- * the customer wants the order home-delivered PickAtStore - If the customer
299
- * wants the handover of an order at the store itself.
346
+ * @property {string} [orderType]
300
347
  * @property {CartPlatformModel.UpdateCartPaymentRequestV2} body
301
348
  */
302
349
  /**
@@ -306,21 +353,20 @@ export = CartPlatformApplicationValidator;
306
353
  */
307
354
  /**
308
355
  * @typedef UpdateCartParam
309
- * @property {string} cartId - Current Cart _id
356
+ * @property {string} cartId - Current Cart id of user cart
310
357
  * @property {boolean} [b]
311
- * @property {CartPlatformModel.UpdateCartRequest} body
358
+ * @property {CartPlatformModel.UpdateCartCreation} body
312
359
  */
313
360
  /**
314
361
  * @typedef UpdateCartMetaParam
315
362
  * @property {string} [id]
316
363
  * @property {boolean} [buyNow]
317
- * @property {string} [userId]
318
- * @property {CartPlatformModel.PlatformCartMetaRequest} body
364
+ * @property {CartPlatformModel.PlatformCartMetaCreation} body
319
365
  */
320
366
  /**
321
367
  * @typedef UpdateCartMetaConfigParam
322
- * @property {string} cartMetaId - CartMeta mongo _id for fetching single cart
323
- * meta data for editing
368
+ * @property {string} cartMetaId - CartMeta id for fetching single cart meta
369
+ * data for editing
324
370
  * @property {CartPlatformModel.CartMetaConfigUpdate} body
325
371
  */
326
372
  /**
@@ -371,10 +417,12 @@ export = CartPlatformApplicationValidator;
371
417
  * @property {string} [orderType] - The order type of shipment HomeDelivery - If
372
418
  * the customer wants the order home-delivered PickAtStore - If the customer
373
419
  * wants the handover of an order at the store itself.
374
- * @property {CartPlatformModel.UpdateCartShipmentRequest} body
420
+ * @property {CartPlatformModel.UpdateCartShipmentCreation} body
375
421
  */
376
422
  /**
377
423
  * @typedef ValidateCouponForPaymentParam
424
+ * @property {CartPlatformModel.OrderingSource} [xOrderingSource] - Ordering
425
+ * source header, to be used to identify source of order creation.
378
426
  * @property {string} [id]
379
427
  * @property {boolean} [buyNow]
380
428
  * @property {string} [addressId]
@@ -382,11 +430,6 @@ export = CartPlatformApplicationValidator;
382
430
  * @property {string} [paymentIdentifier]
383
431
  * @property {string} [aggregatorName]
384
432
  * @property {string} [merchantCode]
385
- * @property {string} [iin] - Debit/Credit card prefix (first 6 digit)
386
- * @property {string} [network] - Credit/Debit card issuer, e.g. VISA, MASTERCARD, RUPAY
387
- * @property {string} [type] - Card type, e.g. Credit, Debit
388
- * @property {string} [cardId] - Saved card token reference id
389
- * @property {string} [cartType] - Type of the cart
390
433
  */
391
434
  declare class CartPlatformApplicationValidator {
392
435
  /** @returns {AddAddressParam} */
@@ -409,10 +452,14 @@ declare class CartPlatformApplicationValidator {
409
452
  static createPromotion(): CreatePromotionParam;
410
453
  /** @returns {DeleteCartParam} */
411
454
  static deleteCart(): DeleteCartParam;
412
- /** @returns {DeleteCartMetaConfigParam} */
413
- static deleteCartMetaConfig(): DeleteCartMetaConfigParam;
455
+ /** @returns {DeleteCouponParam} */
456
+ static deleteCoupon(): DeleteCouponParam;
457
+ /** @returns {DeletePromotionParam} */
458
+ static deletePromotion(): DeletePromotionParam;
414
459
  /** @returns {FetchAndvalidateCartItemsParam} */
415
460
  static fetchAndvalidateCartItems(): FetchAndvalidateCartItemsParam;
461
+ /** @returns {FetchCartMetaConfigParam} */
462
+ static fetchCartMetaConfig(): any;
416
463
  /** @returns {GetAbandonedCartParam} */
417
464
  static getAbandonedCart(): GetAbandonedCartParam;
418
465
  /** @returns {GetAbandonedCartDetailsParam} */
@@ -429,10 +476,6 @@ declare class CartPlatformApplicationValidator {
429
476
  static getCart(): GetCartParam;
430
477
  /** @returns {GetCartListParam} */
431
478
  static getCartList(): GetCartListParam;
432
- /** @returns {GetCartMetaConfigParam} */
433
- static getCartMetaConfig(): GetCartMetaConfigParam;
434
- /** @returns {GetCartMetaConfigsParam} */
435
- static getCartMetaConfigs(): any;
436
479
  /** @returns {GetCartShareLinkParam} */
437
480
  static getCartShareLink(): GetCartShareLinkParam;
438
481
  /** @returns {GetCartSharedItemsParam} */
@@ -443,8 +486,6 @@ declare class CartPlatformApplicationValidator {
443
486
  static getCouponCodeExists(): GetCouponCodeExistsParam;
444
487
  /** @returns {GetCouponOptionValuesParam} */
445
488
  static getCouponOptionValues(): any;
446
- /** @returns {GetCouponTagsParam} */
447
- static getCouponTags(): any;
448
489
  /** @returns {GetCouponsParam} */
449
490
  static getCoupons(): GetCouponsParam;
450
491
  /** @returns {GetItemCountParam} */
@@ -457,8 +498,10 @@ declare class CartPlatformApplicationValidator {
457
498
  static getPromotionById(): GetPromotionByIdParam;
458
499
  /** @returns {GetPromotionCodeExistsParam} */
459
500
  static getPromotionCodeExists(): GetPromotionCodeExistsParam;
460
- /** @returns {GetPromotionTagsParam} */
461
- static getPromotionTags(): any;
501
+ /** @returns {GetPromotionOffersParam} */
502
+ static getPromotionOffers(): GetPromotionOffersParam;
503
+ /** @returns {GetPromotionPaymentOffersParam} */
504
+ static getPromotionPaymentOffers(): GetPromotionPaymentOffersParam;
462
505
  /** @returns {GetPromotionsParam} */
463
506
  static getPromotions(): GetPromotionsParam;
464
507
  /** @returns {GetShipmentsParam} */
@@ -515,34 +558,49 @@ declare class CartPlatformApplicationValidator {
515
558
  static validateCouponForPayment(): ValidateCouponForPaymentParam;
516
559
  }
517
560
  declare namespace CartPlatformApplicationValidator {
518
- export { AddAddressParam, AddItemsParam, AddPriceAdjustmentParam, ApplyCouponParam, CheckCartServiceabilityParam, CheckoutCartParam, CreateCartMetaConfigParam, CreateCouponParam, CreatePromotionParam, DeleteCartParam, DeleteCartMetaConfigParam, FetchAndvalidateCartItemsParam, GetAbandonedCartParam, GetAbandonedCartDetailsParam, GetAddressByIdParam, GetAddressesParam, GetAppCouponsParam, GetAvailableDeliveryModesParam, GetCartParam, GetCartListParam, GetCartMetaConfigParam, GetCartMetaConfigsParam, GetCartShareLinkParam, GetCartSharedItemsParam, GetCouponByIdParam, GetCouponCodeExistsParam, GetCouponOptionValuesParam, GetCouponTagsParam, GetCouponsParam, GetItemCountParam, GetPriceAdjustmentsParam, GetPromosCouponConfigParam, GetPromotionByIdParam, GetPromotionCodeExistsParam, GetPromotionTagsParam, GetPromotionsParam, GetShipmentsParam, GetStoreAddressByUidParam, OverrideCartParam, PlatformAddItemsParam, PlatformCheckoutCartParam, PlatformCheckoutCartV2Param, PlatformUpdateCartParam, RemoveAddressParam, RemoveCouponParam, RemovePriceAdjustmentParam, SelectAddressParam, SelectPaymentModeParam, SelectPaymentModeV2Param, UpdateAddressParam, UpdateCartParam, UpdateCartMetaParam, UpdateCartMetaConfigParam, UpdateCartUserParam, UpdateCartWithSharedItemsParam, UpdateCouponParam, UpdateCouponPartiallyParam, UpdatePriceAdjustmentParam, UpdatePromotionParam, UpdatePromotionPartiallyParam, UpdateShipmentsParam, ValidateCouponForPaymentParam };
561
+ export { AddAddressParam, AddItemsParam, AddPriceAdjustmentParam, ApplyCouponParam, CheckCartServiceabilityParam, CheckoutCartParam, CreateCartMetaConfigParam, CreateCouponParam, CreatePromotionParam, DeleteCartParam, DeleteCouponParam, DeletePromotionParam, FetchAndvalidateCartItemsParam, FetchCartMetaConfigParam, GetAbandonedCartParam, GetAbandonedCartDetailsParam, GetAddressByIdParam, GetAddressesParam, GetAppCouponsParam, GetAvailableDeliveryModesParam, GetCartParam, GetCartListParam, GetCartShareLinkParam, GetCartSharedItemsParam, GetCouponByIdParam, GetCouponCodeExistsParam, GetCouponOptionValuesParam, GetCouponsParam, GetItemCountParam, GetPriceAdjustmentsParam, GetPromosCouponConfigParam, GetPromotionByIdParam, GetPromotionCodeExistsParam, GetPromotionOffersParam, GetPromotionPaymentOffersParam, GetPromotionsParam, GetShipmentsParam, GetStoreAddressByUidParam, OverrideCartParam, PlatformAddItemsParam, PlatformCheckoutCartParam, PlatformCheckoutCartV2Param, PlatformUpdateCartParam, RemoveAddressParam, RemoveCouponParam, RemovePriceAdjustmentParam, SelectAddressParam, SelectPaymentModeParam, SelectPaymentModeV2Param, UpdateAddressParam, UpdateCartParam, UpdateCartMetaParam, UpdateCartMetaConfigParam, UpdateCartUserParam, UpdateCartWithSharedItemsParam, UpdateCouponParam, UpdateCouponPartiallyParam, UpdatePriceAdjustmentParam, UpdatePromotionParam, UpdatePromotionPartiallyParam, UpdateShipmentsParam, ValidateCouponForPaymentParam };
519
562
  }
520
563
  type AddAddressParam = {
521
564
  body: CartPlatformModel.PlatformAddress;
522
565
  };
523
566
  type AddItemsParam = {
524
567
  /**
525
- * - Current Cart _id
568
+ * - Current Cart id of user cart
526
569
  */
527
570
  cartId: string;
528
571
  b?: boolean;
529
- body: CartPlatformModel.AddCartRequest;
572
+ body: CartPlatformModel.AddCartCreation;
530
573
  };
531
574
  type AddPriceAdjustmentParam = {
532
575
  body: CartPlatformModel.PriceAdjustmentAdd;
533
576
  };
534
577
  type ApplyCouponParam = {
578
+ /**
579
+ * - Ordering
580
+ * source header, to be used to identify source of order creation.
581
+ */
582
+ xOrderingSource?: CartPlatformModel.OrderingSource;
535
583
  i?: boolean;
536
584
  b?: boolean;
537
585
  p?: boolean;
538
586
  id?: string;
539
587
  buyNow?: boolean;
540
- body: CartPlatformModel.ApplyCouponRequest;
588
+ body: CartPlatformModel.ApplyCouponDetails;
541
589
  };
542
590
  type CheckCartServiceabilityParam = {
543
- body: CartPlatformModel.OpenApiCartServiceabilityRequest;
591
+ /**
592
+ * - Ordering
593
+ * source header, to be used to identify source of order creation.
594
+ */
595
+ xOrderingSource?: CartPlatformModel.OrderingSource;
596
+ body: CartPlatformModel.OpenApiCartServiceabilityCreation;
544
597
  };
545
598
  type CheckoutCartParam = {
599
+ /**
600
+ * - Ordering
601
+ * source header, to be used to identify source of order creation.
602
+ */
603
+ xOrderingSource?: CartPlatformModel.OrderingSource;
546
604
  body: CartPlatformModel.OpenApiPlatformCheckoutReq;
547
605
  };
548
606
  type CreateCartMetaConfigParam = {
@@ -559,21 +617,21 @@ type DeleteCartParam = {
559
617
  * - The unique identifier of the cart.
560
618
  */
561
619
  id?: string;
562
- /**
563
- * - The type of cart
564
- */
565
- cartType?: string;
566
- body: CartPlatformModel.DeleteCartRequest;
620
+ body: CartPlatformModel.DeleteCartDetails;
567
621
  };
568
- type DeleteCartMetaConfigParam = {
569
- /**
570
- * - CartMeta mongo _id for fetching single cart
571
- * meta data for editing
572
- */
573
- cartMetaId: string;
622
+ type DeleteCouponParam = {
623
+ id: string;
624
+ };
625
+ type DeletePromotionParam = {
626
+ id: string;
574
627
  };
575
628
  type FetchAndvalidateCartItemsParam = {
576
- body: CartPlatformModel.OpenapiCartDetailsRequest;
629
+ /**
630
+ * - Ordering
631
+ * source header, to be used to identify source of order creation.
632
+ */
633
+ xOrderingSource?: CartPlatformModel.OrderingSource;
634
+ body: CartPlatformModel.OpenapiCartDetailsCreation;
577
635
  };
578
636
  type GetAbandonedCartParam = {
579
637
  pageNo?: number;
@@ -620,6 +678,11 @@ type GetAvailableDeliveryModesParam = {
620
678
  id?: string;
621
679
  };
622
680
  type GetCartParam = {
681
+ /**
682
+ * - Ordering
683
+ * source header, to be used to identify source of order creation.
684
+ */
685
+ xOrderingSource?: CartPlatformModel.OrderingSource;
623
686
  /**
624
687
  * - The unique identifier of the cart
625
688
  */
@@ -628,6 +691,12 @@ type GetCartParam = {
628
691
  * - Option to fetch cart for the provided user_id.
629
692
  */
630
693
  userId?: string;
694
+ /**
695
+ * - The order type of shipment HomeDelivery - If
696
+ * the customer wants the order home-delivered PickAtStore - If the customer
697
+ * wants the handover of an order at the store itself.
698
+ */
699
+ orderType?: string;
631
700
  /**
632
701
  * - This is a boolean value. Select `true` to retrieve
633
702
  * all the items added in the cart.
@@ -647,25 +716,14 @@ type GetCartParam = {
647
716
  * set/initialize buy now cart
648
717
  */
649
718
  buyNow?: boolean;
650
- /**
651
- * - The type of cart
652
- */
653
- cartType?: string;
654
719
  };
655
720
  type GetCartListParam = {
656
721
  fromDate?: string;
657
722
  toDate?: string;
658
723
  filterOn?: string;
659
724
  };
660
- type GetCartMetaConfigParam = {
661
- /**
662
- * - CartMeta mongo _id for fetching single cart
663
- * meta data for editing
664
- */
665
- cartMetaId: string;
666
- };
667
725
  type GetCartShareLinkParam = {
668
- body: CartPlatformModel.GetShareCartLinkRequest;
726
+ body: CartPlatformModel.GetShareCartLinkCreation;
669
727
  };
670
728
  type GetCartSharedItemsParam = {
671
729
  /**
@@ -688,6 +746,13 @@ type GetCouponsParam = {
688
746
  isDisplay?: boolean;
689
747
  typeSlug?: string;
690
748
  code?: string;
749
+ createdBy?: string;
750
+ reviewedBy?: string;
751
+ approvedStartTime?: string;
752
+ approvedEndTime?: string;
753
+ reviewStartTime?: string;
754
+ reviewEndTime?: string;
755
+ status?: string;
691
756
  };
692
757
  type GetItemCountParam = {
693
758
  /**
@@ -698,24 +763,20 @@ type GetItemCountParam = {
698
763
  * - Boolean value to get buy_now cart.
699
764
  */
700
765
  buyNow?: boolean;
701
- /**
702
- * - The type of cart
703
- */
704
- cartType?: string;
705
766
  };
706
767
  type GetPriceAdjustmentsParam = {
707
768
  /**
708
- * - Cart Id
769
+ * - Cart id of user cart
709
770
  */
710
771
  cartId: string;
711
772
  };
712
773
  type GetPromosCouponConfigParam = {
713
774
  /**
714
- * - Entity_type as promotion or coupon
775
+ * - Entity type as promotion or coupon
715
776
  */
716
777
  entityType?: string;
717
778
  /**
718
- * - Promo-coupon config shown or not
779
+ * - Promotion coupon config shown or not
719
780
  */
720
781
  isHidden?: boolean;
721
782
  };
@@ -725,6 +786,40 @@ type GetPromotionByIdParam = {
725
786
  type GetPromotionCodeExistsParam = {
726
787
  code?: string;
727
788
  };
789
+ type GetPromotionOffersParam = {
790
+ /**
791
+ * - A short, human-readable, URL-friendly identifier
792
+ * of a product. You can get slug value from the endpoint
793
+ * /service/application/catalog/v1.0/products/
794
+ */
795
+ slug?: string;
796
+ /**
797
+ * - Number of offers to be fetched to show
798
+ */
799
+ pageSize?: number;
800
+ /**
801
+ * - Type of promotion groups
802
+ */
803
+ promotionGroup?: string;
804
+ /**
805
+ * - Unique identifier of a store
806
+ */
807
+ storeId?: number;
808
+ /**
809
+ * - The type of cart
810
+ */
811
+ cartType?: string;
812
+ };
813
+ type GetPromotionPaymentOffersParam = {
814
+ /**
815
+ * - Cart id of the user cart
816
+ */
817
+ id?: string;
818
+ /**
819
+ * - Cart uid of the user cart
820
+ */
821
+ uid?: number;
822
+ };
728
823
  type GetPromotionsParam = {
729
824
  pageNo?: number;
730
825
  pageSize?: number;
@@ -734,6 +829,13 @@ type GetPromotionsParam = {
734
829
  promotionType?: string;
735
830
  fpPanel?: string;
736
831
  promotionId?: string;
832
+ createdBy?: string;
833
+ reviewedBy?: string;
834
+ approvedStartTime?: string;
835
+ approvedEndTime?: string;
836
+ reviewStartTime?: string;
837
+ reviewEndTime?: string;
838
+ status?: string;
737
839
  };
738
840
  type GetShipmentsParam = {
739
841
  pickAtStoreUid?: number;
@@ -771,9 +873,19 @@ type GetStoreAddressByUidParam = {
771
873
  storeUid: number;
772
874
  };
773
875
  type OverrideCartParam = {
876
+ /**
877
+ * - Ordering
878
+ * source header, to be used to identify source of order creation.
879
+ */
880
+ xOrderingSource?: CartPlatformModel.OrderingSource;
774
881
  body: CartPlatformModel.OverrideCheckoutReq;
775
882
  };
776
883
  type PlatformAddItemsParam = {
884
+ /**
885
+ * - Ordering
886
+ * source header, to be used to identify source of order creation.
887
+ */
888
+ xOrderingSource?: CartPlatformModel.OrderingSource;
777
889
  /**
778
890
  * - This is a boolean value. Select `true` to retrieve
779
891
  * all the items added in the cart.
@@ -790,38 +902,47 @@ type PlatformAddItemsParam = {
790
902
  */
791
903
  buyNow?: boolean;
792
904
  /**
793
- * - The unique identifier of the cart
905
+ * - The order type of shipment HomeDelivery - If
906
+ * the customer wants the order home-delivered PickAtStore - If the customer
907
+ * wants the handover of an order at the store itself.
794
908
  */
795
- id?: string;
909
+ orderType?: string;
796
910
  /**
797
- * - The type of cart
911
+ * - The unique identifier of the cart
798
912
  */
799
- cartType?: string;
800
- body: CartPlatformModel.PlatformAddCartRequest;
913
+ id?: string;
914
+ body: CartPlatformModel.PlatformAddCartDetails;
801
915
  };
802
916
  type PlatformCheckoutCartParam = {
803
917
  /**
804
- * - The unique identifier of the cart
918
+ * - Ordering
919
+ * source header, to be used to identify source of order creation.
805
920
  */
806
- id?: string;
921
+ xOrderingSource?: CartPlatformModel.OrderingSource;
807
922
  /**
808
- * - The type of cart
923
+ * - The unique identifier of the cart
809
924
  */
810
- cartType?: string;
811
- body: CartPlatformModel.PlatformCartCheckoutDetailRequest;
925
+ id?: string;
926
+ body: CartPlatformModel.PlatformCartCheckoutDetailCreation;
812
927
  };
813
928
  type PlatformCheckoutCartV2Param = {
814
929
  /**
815
- * - The unique identifier of the cart
930
+ * - Ordering
931
+ * source header, to be used to identify source of order creation.
816
932
  */
817
- id?: string;
933
+ xOrderingSource?: CartPlatformModel.OrderingSource;
818
934
  /**
819
- * - The type of cart
935
+ * - The unique identifier of the cart
820
936
  */
821
- cartType?: string;
822
- body: CartPlatformModel.PlatformCartCheckoutDetailV2Request;
937
+ id?: string;
938
+ body: CartPlatformModel.PlatformCartCheckoutDetailV2Creation;
823
939
  };
824
940
  type PlatformUpdateCartParam = {
941
+ /**
942
+ * - Ordering
943
+ * source header, to be used to identify source of order creation.
944
+ */
945
+ xOrderingSource?: CartPlatformModel.OrderingSource;
825
946
  /**
826
947
  * - The unique identifier of the cart
827
948
  */
@@ -847,11 +968,7 @@ type PlatformUpdateCartParam = {
847
968
  * set/initialize buy now cart
848
969
  */
849
970
  buyNow?: boolean;
850
- /**
851
- * - The type of cart
852
- */
853
- cartType?: string;
854
- body: CartPlatformModel.PlatformUpdateCartRequest;
971
+ body: CartPlatformModel.PlatformUpdateCartDetails;
855
972
  };
856
973
  type RemoveAddressParam = {
857
974
  /**
@@ -864,42 +981,48 @@ type RemoveAddressParam = {
864
981
  userId?: string;
865
982
  };
866
983
  type RemoveCouponParam = {
867
- uid?: string;
868
- buyNow?: boolean;
869
984
  /**
870
- * - The type of cart
985
+ * - Ordering
986
+ * source header, to be used to identify source of order creation.
871
987
  */
872
- cartType?: string;
988
+ xOrderingSource?: CartPlatformModel.OrderingSource;
989
+ uid?: string;
990
+ buyNow?: boolean;
873
991
  };
874
992
  type RemovePriceAdjustmentParam = {
875
993
  id: string;
876
994
  };
877
995
  type SelectAddressParam = {
996
+ /**
997
+ * - Ordering
998
+ * source header, to be used to identify source of order creation.
999
+ */
1000
+ xOrderingSource?: CartPlatformModel.OrderingSource;
878
1001
  cartId?: string;
879
1002
  buyNow?: boolean;
880
1003
  i?: boolean;
881
1004
  b?: boolean;
882
- body: CartPlatformModel.PlatformSelectCartAddressRequest;
1005
+ body: CartPlatformModel.PlatformSelectCartAddress;
883
1006
  };
884
1007
  type SelectPaymentModeParam = {
885
- id?: string;
886
- buyNow?: boolean;
887
1008
  /**
888
- * - The order type of shipment HomeDelivery - If
889
- * the customer wants the order home-delivered PickAtStore - If the customer
890
- * wants the handover of an order at the store itself.
1009
+ * - Ordering
1010
+ * source header, to be used to identify source of order creation.
891
1011
  */
1012
+ xOrderingSource?: CartPlatformModel.OrderingSource;
1013
+ id?: string;
1014
+ buyNow?: boolean;
892
1015
  orderType?: string;
893
- body: CartPlatformModel.UpdateCartPaymentRequest;
1016
+ body: CartPlatformModel.CartPaymentUpdate;
894
1017
  };
895
1018
  type SelectPaymentModeV2Param = {
896
- id?: string;
897
- buyNow?: boolean;
898
1019
  /**
899
- * - The order type of shipment HomeDelivery - If
900
- * the customer wants the order home-delivered PickAtStore - If the customer
901
- * wants the handover of an order at the store itself.
1020
+ * - Ordering
1021
+ * source header, to be used to identify source of order creation.
902
1022
  */
1023
+ xOrderingSource?: CartPlatformModel.OrderingSource;
1024
+ id?: string;
1025
+ buyNow?: boolean;
903
1026
  orderType?: string;
904
1027
  body: CartPlatformModel.UpdateCartPaymentRequestV2;
905
1028
  };
@@ -912,22 +1035,21 @@ type UpdateAddressParam = {
912
1035
  };
913
1036
  type UpdateCartParam = {
914
1037
  /**
915
- * - Current Cart _id
1038
+ * - Current Cart id of user cart
916
1039
  */
917
1040
  cartId: string;
918
1041
  b?: boolean;
919
- body: CartPlatformModel.UpdateCartRequest;
1042
+ body: CartPlatformModel.UpdateCartCreation;
920
1043
  };
921
1044
  type UpdateCartMetaParam = {
922
1045
  id?: string;
923
1046
  buyNow?: boolean;
924
- userId?: string;
925
- body: CartPlatformModel.PlatformCartMetaRequest;
1047
+ body: CartPlatformModel.PlatformCartMetaCreation;
926
1048
  };
927
1049
  type UpdateCartMetaConfigParam = {
928
1050
  /**
929
- * - CartMeta mongo _id for fetching single cart
930
- * meta data for editing
1051
+ * - CartMeta id for fetching single cart meta
1052
+ * data for editing
931
1053
  */
932
1054
  cartMetaId: string;
933
1055
  body: CartPlatformModel.CartMetaConfigUpdate;
@@ -996,9 +1118,14 @@ type UpdateShipmentsParam = {
996
1118
  * wants the handover of an order at the store itself.
997
1119
  */
998
1120
  orderType?: string;
999
- body: CartPlatformModel.UpdateCartShipmentRequest;
1121
+ body: CartPlatformModel.UpdateCartShipmentCreation;
1000
1122
  };
1001
1123
  type ValidateCouponForPaymentParam = {
1124
+ /**
1125
+ * - Ordering
1126
+ * source header, to be used to identify source of order creation.
1127
+ */
1128
+ xOrderingSource?: CartPlatformModel.OrderingSource;
1002
1129
  id?: string;
1003
1130
  buyNow?: boolean;
1004
1131
  addressId?: string;
@@ -1006,29 +1133,7 @@ type ValidateCouponForPaymentParam = {
1006
1133
  paymentIdentifier?: string;
1007
1134
  aggregatorName?: string;
1008
1135
  merchantCode?: string;
1009
- /**
1010
- * - Debit/Credit card prefix (first 6 digit)
1011
- */
1012
- iin?: string;
1013
- /**
1014
- * - Credit/Debit card issuer, e.g. VISA, MASTERCARD, RUPAY
1015
- */
1016
- network?: string;
1017
- /**
1018
- * - Card type, e.g. Credit, Debit
1019
- */
1020
- type?: string;
1021
- /**
1022
- * - Saved card token reference id
1023
- */
1024
- cardId?: string;
1025
- /**
1026
- * - Type of the cart
1027
- */
1028
- cartType?: string;
1029
1136
  };
1030
- type GetCartMetaConfigsParam = any;
1137
+ type FetchCartMetaConfigParam = any;
1031
1138
  type GetCouponOptionValuesParam = any;
1032
- type GetCouponTagsParam = any;
1033
- type GetPromotionTagsParam = any;
1034
1139
  import CartPlatformModel = require("./CartPlatformModel");