@gofynd/fdk-client-javascript 3.0.0-beta.1 → 3.0.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 (310) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  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 +93 -113
  6. package/sdk/application/Cart/CartApplicationClient.js +157 -530
  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 +65 -55
  16. package/sdk/application/Content/ContentApplicationClient.js +211 -341
  17. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +6 -6
  18. package/sdk/application/FileStorage/FileStorageApplicationClient.js +14 -33
  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 +32 -87
  24. package/sdk/application/Logistic/LogisticApplicationClient.js +126 -383
  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 +18 -62
  46. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +40 -372
  47. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +99 -33
  48. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +84 -25
  49. package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +1 -5
  50. package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +7 -38
  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 +15 -406
  88. package/sdk/platform/Billing/BillingPlatformClient.js +76 -3214
  89. package/sdk/platform/Billing/BillingPlatformModel.d.ts +459 -3798
  90. package/sdk/platform/Billing/BillingPlatformModel.js +338 -2573
  91. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +24 -465
  92. package/sdk/platform/Billing/BillingPlatformValidator.js +14 -490
  93. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +205 -284
  94. package/sdk/platform/Cart/CartPlatformApplicationClient.js +554 -672
  95. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +165 -165
  96. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +132 -108
  97. package/sdk/platform/Cart/CartPlatformModel.d.ts +4865 -3148
  98. package/sdk/platform/Cart/CartPlatformModel.js +2071 -2854
  99. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +419 -1015
  100. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +2004 -6444
  101. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +226 -1117
  102. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +127 -919
  103. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +574 -372
  104. package/sdk/platform/Catalog/CatalogPlatformClient.js +1315 -1238
  105. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +9334 -7634
  106. package/sdk/platform/Catalog/CatalogPlatformModel.js +6980 -9652
  107. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +239 -294
  108. package/sdk/platform/Catalog/CatalogPlatformValidator.js +186 -246
  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 +236 -376
  114. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +579 -868
  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 +314 -422
  120. package/sdk/platform/Communication/CommunicationPlatformModel.js +382 -538
  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 -68
  124. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +88 -84
  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 -20
  128. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +20 -20
  129. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +118 -333
  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 +565 -1282
  136. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +369 -1034
  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 -246
  140. package/sdk/platform/Content/ContentPlatformApplicationClient.js +1297 -776
  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 +2374 -877
  146. package/sdk/platform/Content/ContentPlatformModel.js +1304 -930
  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 +421 -418
  180. package/sdk/platform/Order/OrderPlatformClient.js +1194 -1350
  181. package/sdk/platform/Order/OrderPlatformModel.d.ts +9145 -4107
  182. package/sdk/platform/Order/OrderPlatformModel.js +4257 -3197
  183. package/sdk/platform/Order/OrderPlatformValidator.d.ts +641 -442
  184. package/sdk/platform/Order/OrderPlatformValidator.js +341 -311
  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 +934 -2452
  191. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +93 -306
  192. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +70 -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 +1327 -3529
  196. package/sdk/platform/Payment/PaymentPlatformModel.js +1397 -3693
  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 -513
  209. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +75 -103
  210. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +50 -99
  211. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +162 -127
  212. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +775 -435
  213. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +6250 -3861
  214. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +3178 -3798
  215. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +295 -199
  216. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +205 -133
  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 -4
  222. package/sdk/platform/Share/SharePlatformModel.js +45 -3
  223. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +4 -26
  224. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +10 -157
  225. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +10 -21
  226. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +6 -23
  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 -2
  272. package/sdk/public/PublicClient.js +2 -2
  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 -1
  280. package/sdk/public/index.js +1 -1
  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
  305. package/sdk/public/Billing/BillingPublicClient.d.ts +0 -56
  306. package/sdk/public/Billing/BillingPublicClient.js +0 -397
  307. package/sdk/public/Billing/BillingPublicModel.d.ts +0 -919
  308. package/sdk/public/Billing/BillingPublicModel.js +0 -560
  309. package/sdk/public/Billing/BillingPublicValidator.d.ts +0 -43
  310. package/sdk/public/Billing/BillingPublicValidator.js +0 -50
@@ -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
@@ -20,11 +20,11 @@ export = CartPlatformApplicationValidator;
20
20
  * @property {boolean} [p]
21
21
  * @property {string} [id]
22
22
  * @property {boolean} [buyNow]
23
- * @property {CartPlatformModel.ApplyCouponRequest} body
23
+ * @property {CartPlatformModel.ApplyCouponDetails} body
24
24
  */
25
25
  /**
26
26
  * @typedef CheckCartServiceabilityParam
27
- * @property {CartPlatformModel.OpenApiCartServiceabilityRequest} body
27
+ * @property {CartPlatformModel.OpenApiCartServiceabilityCreation} body
28
28
  */
29
29
  /**
30
30
  * @typedef CheckoutCartParam
@@ -45,18 +45,21 @@ export = CartPlatformApplicationValidator;
45
45
  /**
46
46
  * @typedef DeleteCartParam
47
47
  * @property {string} [id] - The unique identifier of the cart.
48
- * @property {string} [cartType] - The type of cart
49
- * @property {CartPlatformModel.DeleteCartRequest} body
48
+ * @property {CartPlatformModel.DeleteCartDetails} body
50
49
  */
51
50
  /**
52
- * @typedef DeleteCartMetaConfigParam
53
- * @property {string} cartMetaId - CartMeta mongo _id for fetching single cart
54
- * meta data for editing
51
+ * @typedef DeleteCouponParam
52
+ * @property {string} id
53
+ */
54
+ /**
55
+ * @typedef DeletePromotionParam
56
+ * @property {string} id
55
57
  */
56
58
  /**
57
59
  * @typedef FetchAndvalidateCartItemsParam
58
- * @property {CartPlatformModel.OpenapiCartDetailsRequest} body
60
+ * @property {CartPlatformModel.OpenapiCartDetailsCreation} body
59
61
  */
62
+ /** @typedef FetchCartMetaConfigParam */
60
63
  /**
61
64
  * @typedef GetAbandonedCartParam
62
65
  * @property {number} [pageNo]
@@ -111,6 +114,9 @@ export = CartPlatformApplicationValidator;
111
114
  * @typedef GetCartParam
112
115
  * @property {string} [id] - The unique identifier of the cart
113
116
  * @property {string} [userId] - Option to fetch cart for the provided user_id.
117
+ * @property {string} [orderType] - The order type of shipment HomeDelivery - If
118
+ * the customer wants the order home-delivered PickAtStore - If the customer
119
+ * wants the handover of an order at the store itself.
114
120
  * @property {boolean} [i] - This is a boolean value. Select `true` to retrieve
115
121
  * all the items added in the cart.
116
122
  * @property {boolean} [b] - This is a boolean value. Select `true` to retrieve
@@ -118,7 +124,6 @@ export = CartPlatformApplicationValidator;
118
124
  * @property {number} [assignCardId] - Token of user's debit or credit card
119
125
  * @property {boolean} [buyNow] - This is a boolen value. Select `true` to
120
126
  * set/initialize buy now cart
121
- * @property {string} [cartType] - The type of cart
122
127
  */
123
128
  /**
124
129
  * @typedef GetCartListParam
@@ -126,15 +131,9 @@ export = CartPlatformApplicationValidator;
126
131
  * @property {string} [toDate]
127
132
  * @property {string} [filterOn]
128
133
  */
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
134
  /**
136
135
  * @typedef GetCartShareLinkParam
137
- * @property {CartPlatformModel.GetShareCartLinkRequest} body
136
+ * @property {CartPlatformModel.GetShareCartLinkCreation} body
138
137
  */
139
138
  /**
140
139
  * @typedef GetCartSharedItemsParam
@@ -149,7 +148,6 @@ export = CartPlatformApplicationValidator;
149
148
  * @property {string} [code]
150
149
  */
151
150
  /** @typedef GetCouponOptionValuesParam */
152
- /** @typedef GetCouponTagsParam */
153
151
  /**
154
152
  * @typedef GetCouponsParam
155
153
  * @property {number} [pageNo]
@@ -160,21 +158,27 @@ export = CartPlatformApplicationValidator;
160
158
  * @property {boolean} [isDisplay]
161
159
  * @property {string} [typeSlug]
162
160
  * @property {string} [code]
161
+ * @property {string} [createdBy]
162
+ * @property {string} [reviewedBy]
163
+ * @property {string} [approvedStartTime]
164
+ * @property {string} [approvedEndTime]
165
+ * @property {string} [reviewStartTime]
166
+ * @property {string} [reviewEndTime]
167
+ * @property {string} [status]
163
168
  */
164
169
  /**
165
170
  * @typedef GetItemCountParam
166
171
  * @property {string} [id] - The unique identifier of the cart.
167
172
  * @property {boolean} [buyNow] - Boolean value to get buy_now cart.
168
- * @property {string} [cartType] - The type of cart
169
173
  */
170
174
  /**
171
175
  * @typedef GetPriceAdjustmentsParam
172
- * @property {string} cartId - Cart Id
176
+ * @property {string} cartId - Cart id of user cart
173
177
  */
174
178
  /**
175
179
  * @typedef GetPromosCouponConfigParam
176
- * @property {string} [entityType] - Entity_type as promotion or coupon
177
- * @property {boolean} [isHidden] - Promo-coupon config shown or not
180
+ * @property {string} [entityType] - Entity type as promotion or coupon
181
+ * @property {boolean} [isHidden] - Promotion coupon config shown or not
178
182
  */
179
183
  /**
180
184
  * @typedef GetPromotionByIdParam
@@ -184,7 +188,21 @@ export = CartPlatformApplicationValidator;
184
188
  * @typedef GetPromotionCodeExistsParam
185
189
  * @property {string} [code]
186
190
  */
187
- /** @typedef GetPromotionTagsParam */
191
+ /**
192
+ * @typedef GetPromotionOffersParam
193
+ * @property {string} [slug] - A short, human-readable, URL-friendly identifier
194
+ * of a product. You can get slug value from the endpoint
195
+ * /service/application/catalog/v1.0/products/
196
+ * @property {number} [pageSize] - Number of offers to be fetched to show
197
+ * @property {string} [promotionGroup] - Type of promotion groups
198
+ * @property {number} [storeId] - Unique identifier of a store
199
+ * @property {string} [cartType] - The type of cart
200
+ */
201
+ /**
202
+ * @typedef GetPromotionPaymentOffersParam
203
+ * @property {string} [id] - Cart id of the user cart
204
+ * @property {number} [uid] - Cart uid of the user cart
205
+ */
188
206
  /**
189
207
  * @typedef GetPromotionsParam
190
208
  * @property {number} [pageNo]
@@ -195,6 +213,13 @@ export = CartPlatformApplicationValidator;
195
213
  * @property {string} [promotionType]
196
214
  * @property {string} [fpPanel]
197
215
  * @property {string} [promotionId]
216
+ * @property {string} [createdBy]
217
+ * @property {string} [reviewedBy]
218
+ * @property {string} [approvedStartTime]
219
+ * @property {string} [approvedEndTime]
220
+ * @property {string} [reviewStartTime]
221
+ * @property {string} [reviewEndTime]
222
+ * @property {string} [status]
198
223
  */
199
224
  /**
200
225
  * @typedef GetShipmentsParam
@@ -227,21 +252,21 @@ export = CartPlatformApplicationValidator;
227
252
  * the price breakup of cart items.
228
253
  * @property {boolean} [buyNow] - This is a boolen value. Select `true` to
229
254
  * set/initialize buy now cart
255
+ * @property {string} [orderType] - The order type of shipment HomeDelivery - If
256
+ * the customer wants the order home-delivered PickAtStore - If the customer
257
+ * wants the handover of an order at the store itself.
230
258
  * @property {string} [id] - The unique identifier of the cart
231
- * @property {string} [cartType] - The type of cart
232
- * @property {CartPlatformModel.PlatformAddCartRequest} body
259
+ * @property {CartPlatformModel.PlatformAddCartDetails} body
233
260
  */
234
261
  /**
235
262
  * @typedef PlatformCheckoutCartParam
236
263
  * @property {string} [id] - The unique identifier of the cart
237
- * @property {string} [cartType] - The type of cart
238
- * @property {CartPlatformModel.PlatformCartCheckoutDetailRequest} body
264
+ * @property {CartPlatformModel.PlatformCartCheckoutDetailCreation} body
239
265
  */
240
266
  /**
241
267
  * @typedef PlatformCheckoutCartV2Param
242
268
  * @property {string} [id] - The unique identifier of the cart
243
- * @property {string} [cartType] - The type of cart
244
- * @property {CartPlatformModel.PlatformCartCheckoutDetailV2Request} body
269
+ * @property {CartPlatformModel.PlatformCartCheckoutDetailV2Creation} body
245
270
  */
246
271
  /**
247
272
  * @typedef PlatformUpdateCartParam
@@ -255,8 +280,7 @@ export = CartPlatformApplicationValidator;
255
280
  * the price breakup of cart items.
256
281
  * @property {boolean} [buyNow] - This is a boolen value. Select `true` to
257
282
  * set/initialize buy now cart
258
- * @property {string} [cartType] - The type of cart
259
- * @property {CartPlatformModel.PlatformUpdateCartRequest} body
283
+ * @property {CartPlatformModel.PlatformUpdateCartDetails} body
260
284
  */
261
285
  /**
262
286
  * @typedef RemoveAddressParam
@@ -267,7 +291,6 @@ export = CartPlatformApplicationValidator;
267
291
  * @typedef RemoveCouponParam
268
292
  * @property {string} [uid]
269
293
  * @property {boolean} [buyNow]
270
- * @property {string} [cartType] - The type of cart
271
294
  */
272
295
  /**
273
296
  * @typedef RemovePriceAdjustmentParam
@@ -279,24 +302,20 @@ export = CartPlatformApplicationValidator;
279
302
  * @property {boolean} [buyNow]
280
303
  * @property {boolean} [i]
281
304
  * @property {boolean} [b]
282
- * @property {CartPlatformModel.PlatformSelectCartAddressRequest} body
305
+ * @property {CartPlatformModel.PlatformSelectCartAddress} body
283
306
  */
284
307
  /**
285
308
  * @typedef SelectPaymentModeParam
286
309
  * @property {string} [id]
287
310
  * @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
311
+ * @property {string} [orderType]
312
+ * @property {CartPlatformModel.CartPaymentUpdate} body
292
313
  */
293
314
  /**
294
315
  * @typedef SelectPaymentModeV2Param
295
316
  * @property {string} [id]
296
317
  * @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.
318
+ * @property {string} [orderType]
300
319
  * @property {CartPlatformModel.UpdateCartPaymentRequestV2} body
301
320
  */
302
321
  /**
@@ -306,21 +325,20 @@ export = CartPlatformApplicationValidator;
306
325
  */
307
326
  /**
308
327
  * @typedef UpdateCartParam
309
- * @property {string} cartId - Current Cart _id
328
+ * @property {string} cartId - Current Cart id of user cart
310
329
  * @property {boolean} [b]
311
- * @property {CartPlatformModel.UpdateCartRequest} body
330
+ * @property {CartPlatformModel.UpdateCartCreation} body
312
331
  */
313
332
  /**
314
333
  * @typedef UpdateCartMetaParam
315
334
  * @property {string} [id]
316
335
  * @property {boolean} [buyNow]
317
- * @property {string} [userId]
318
- * @property {CartPlatformModel.PlatformCartMetaRequest} body
336
+ * @property {CartPlatformModel.PlatformCartMetaCreation} body
319
337
  */
320
338
  /**
321
339
  * @typedef UpdateCartMetaConfigParam
322
- * @property {string} cartMetaId - CartMeta mongo _id for fetching single cart
323
- * meta data for editing
340
+ * @property {string} cartMetaId - CartMeta id for fetching single cart meta
341
+ * data for editing
324
342
  * @property {CartPlatformModel.CartMetaConfigUpdate} body
325
343
  */
326
344
  /**
@@ -371,7 +389,7 @@ export = CartPlatformApplicationValidator;
371
389
  * @property {string} [orderType] - The order type of shipment HomeDelivery - If
372
390
  * the customer wants the order home-delivered PickAtStore - If the customer
373
391
  * wants the handover of an order at the store itself.
374
- * @property {CartPlatformModel.UpdateCartShipmentRequest} body
392
+ * @property {CartPlatformModel.UpdateCartShipmentCreation} body
375
393
  */
376
394
  /**
377
395
  * @typedef ValidateCouponForPaymentParam
@@ -382,11 +400,6 @@ export = CartPlatformApplicationValidator;
382
400
  * @property {string} [paymentIdentifier]
383
401
  * @property {string} [aggregatorName]
384
402
  * @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
403
  */
391
404
  declare class CartPlatformApplicationValidator {
392
405
  /** @returns {AddAddressParam} */
@@ -409,10 +422,14 @@ declare class CartPlatformApplicationValidator {
409
422
  static createPromotion(): CreatePromotionParam;
410
423
  /** @returns {DeleteCartParam} */
411
424
  static deleteCart(): DeleteCartParam;
412
- /** @returns {DeleteCartMetaConfigParam} */
413
- static deleteCartMetaConfig(): DeleteCartMetaConfigParam;
425
+ /** @returns {DeleteCouponParam} */
426
+ static deleteCoupon(): DeleteCouponParam;
427
+ /** @returns {DeletePromotionParam} */
428
+ static deletePromotion(): DeletePromotionParam;
414
429
  /** @returns {FetchAndvalidateCartItemsParam} */
415
430
  static fetchAndvalidateCartItems(): FetchAndvalidateCartItemsParam;
431
+ /** @returns {FetchCartMetaConfigParam} */
432
+ static fetchCartMetaConfig(): any;
416
433
  /** @returns {GetAbandonedCartParam} */
417
434
  static getAbandonedCart(): GetAbandonedCartParam;
418
435
  /** @returns {GetAbandonedCartDetailsParam} */
@@ -429,10 +446,6 @@ declare class CartPlatformApplicationValidator {
429
446
  static getCart(): GetCartParam;
430
447
  /** @returns {GetCartListParam} */
431
448
  static getCartList(): GetCartListParam;
432
- /** @returns {GetCartMetaConfigParam} */
433
- static getCartMetaConfig(): GetCartMetaConfigParam;
434
- /** @returns {GetCartMetaConfigsParam} */
435
- static getCartMetaConfigs(): any;
436
449
  /** @returns {GetCartShareLinkParam} */
437
450
  static getCartShareLink(): GetCartShareLinkParam;
438
451
  /** @returns {GetCartSharedItemsParam} */
@@ -443,8 +456,6 @@ declare class CartPlatformApplicationValidator {
443
456
  static getCouponCodeExists(): GetCouponCodeExistsParam;
444
457
  /** @returns {GetCouponOptionValuesParam} */
445
458
  static getCouponOptionValues(): any;
446
- /** @returns {GetCouponTagsParam} */
447
- static getCouponTags(): any;
448
459
  /** @returns {GetCouponsParam} */
449
460
  static getCoupons(): GetCouponsParam;
450
461
  /** @returns {GetItemCountParam} */
@@ -457,8 +468,10 @@ declare class CartPlatformApplicationValidator {
457
468
  static getPromotionById(): GetPromotionByIdParam;
458
469
  /** @returns {GetPromotionCodeExistsParam} */
459
470
  static getPromotionCodeExists(): GetPromotionCodeExistsParam;
460
- /** @returns {GetPromotionTagsParam} */
461
- static getPromotionTags(): any;
471
+ /** @returns {GetPromotionOffersParam} */
472
+ static getPromotionOffers(): GetPromotionOffersParam;
473
+ /** @returns {GetPromotionPaymentOffersParam} */
474
+ static getPromotionPaymentOffers(): GetPromotionPaymentOffersParam;
462
475
  /** @returns {GetPromotionsParam} */
463
476
  static getPromotions(): GetPromotionsParam;
464
477
  /** @returns {GetShipmentsParam} */
@@ -515,18 +528,18 @@ declare class CartPlatformApplicationValidator {
515
528
  static validateCouponForPayment(): ValidateCouponForPaymentParam;
516
529
  }
517
530
  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 };
531
+ 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
532
  }
520
533
  type AddAddressParam = {
521
534
  body: CartPlatformModel.PlatformAddress;
522
535
  };
523
536
  type AddItemsParam = {
524
537
  /**
525
- * - Current Cart _id
538
+ * - Current Cart id of user cart
526
539
  */
527
540
  cartId: string;
528
541
  b?: boolean;
529
- body: CartPlatformModel.AddCartRequest;
542
+ body: CartPlatformModel.AddCartCreation;
530
543
  };
531
544
  type AddPriceAdjustmentParam = {
532
545
  body: CartPlatformModel.PriceAdjustmentAdd;
@@ -537,10 +550,10 @@ type ApplyCouponParam = {
537
550
  p?: boolean;
538
551
  id?: string;
539
552
  buyNow?: boolean;
540
- body: CartPlatformModel.ApplyCouponRequest;
553
+ body: CartPlatformModel.ApplyCouponDetails;
541
554
  };
542
555
  type CheckCartServiceabilityParam = {
543
- body: CartPlatformModel.OpenApiCartServiceabilityRequest;
556
+ body: CartPlatformModel.OpenApiCartServiceabilityCreation;
544
557
  };
545
558
  type CheckoutCartParam = {
546
559
  body: CartPlatformModel.OpenApiPlatformCheckoutReq;
@@ -559,21 +572,16 @@ type DeleteCartParam = {
559
572
  * - The unique identifier of the cart.
560
573
  */
561
574
  id?: string;
562
- /**
563
- * - The type of cart
564
- */
565
- cartType?: string;
566
- body: CartPlatformModel.DeleteCartRequest;
575
+ body: CartPlatformModel.DeleteCartDetails;
567
576
  };
568
- type DeleteCartMetaConfigParam = {
569
- /**
570
- * - CartMeta mongo _id for fetching single cart
571
- * meta data for editing
572
- */
573
- cartMetaId: string;
577
+ type DeleteCouponParam = {
578
+ id: string;
579
+ };
580
+ type DeletePromotionParam = {
581
+ id: string;
574
582
  };
575
583
  type FetchAndvalidateCartItemsParam = {
576
- body: CartPlatformModel.OpenapiCartDetailsRequest;
584
+ body: CartPlatformModel.OpenapiCartDetailsCreation;
577
585
  };
578
586
  type GetAbandonedCartParam = {
579
587
  pageNo?: number;
@@ -628,6 +636,12 @@ type GetCartParam = {
628
636
  * - Option to fetch cart for the provided user_id.
629
637
  */
630
638
  userId?: string;
639
+ /**
640
+ * - The order type of shipment HomeDelivery - If
641
+ * the customer wants the order home-delivered PickAtStore - If the customer
642
+ * wants the handover of an order at the store itself.
643
+ */
644
+ orderType?: string;
631
645
  /**
632
646
  * - This is a boolean value. Select `true` to retrieve
633
647
  * all the items added in the cart.
@@ -647,25 +661,14 @@ type GetCartParam = {
647
661
  * set/initialize buy now cart
648
662
  */
649
663
  buyNow?: boolean;
650
- /**
651
- * - The type of cart
652
- */
653
- cartType?: string;
654
664
  };
655
665
  type GetCartListParam = {
656
666
  fromDate?: string;
657
667
  toDate?: string;
658
668
  filterOn?: string;
659
669
  };
660
- type GetCartMetaConfigParam = {
661
- /**
662
- * - CartMeta mongo _id for fetching single cart
663
- * meta data for editing
664
- */
665
- cartMetaId: string;
666
- };
667
670
  type GetCartShareLinkParam = {
668
- body: CartPlatformModel.GetShareCartLinkRequest;
671
+ body: CartPlatformModel.GetShareCartLinkCreation;
669
672
  };
670
673
  type GetCartSharedItemsParam = {
671
674
  /**
@@ -688,6 +691,13 @@ type GetCouponsParam = {
688
691
  isDisplay?: boolean;
689
692
  typeSlug?: string;
690
693
  code?: string;
694
+ createdBy?: string;
695
+ reviewedBy?: string;
696
+ approvedStartTime?: string;
697
+ approvedEndTime?: string;
698
+ reviewStartTime?: string;
699
+ reviewEndTime?: string;
700
+ status?: string;
691
701
  };
692
702
  type GetItemCountParam = {
693
703
  /**
@@ -698,24 +708,20 @@ type GetItemCountParam = {
698
708
  * - Boolean value to get buy_now cart.
699
709
  */
700
710
  buyNow?: boolean;
701
- /**
702
- * - The type of cart
703
- */
704
- cartType?: string;
705
711
  };
706
712
  type GetPriceAdjustmentsParam = {
707
713
  /**
708
- * - Cart Id
714
+ * - Cart id of user cart
709
715
  */
710
716
  cartId: string;
711
717
  };
712
718
  type GetPromosCouponConfigParam = {
713
719
  /**
714
- * - Entity_type as promotion or coupon
720
+ * - Entity type as promotion or coupon
715
721
  */
716
722
  entityType?: string;
717
723
  /**
718
- * - Promo-coupon config shown or not
724
+ * - Promotion coupon config shown or not
719
725
  */
720
726
  isHidden?: boolean;
721
727
  };
@@ -725,6 +731,40 @@ type GetPromotionByIdParam = {
725
731
  type GetPromotionCodeExistsParam = {
726
732
  code?: string;
727
733
  };
734
+ type GetPromotionOffersParam = {
735
+ /**
736
+ * - A short, human-readable, URL-friendly identifier
737
+ * of a product. You can get slug value from the endpoint
738
+ * /service/application/catalog/v1.0/products/
739
+ */
740
+ slug?: string;
741
+ /**
742
+ * - Number of offers to be fetched to show
743
+ */
744
+ pageSize?: number;
745
+ /**
746
+ * - Type of promotion groups
747
+ */
748
+ promotionGroup?: string;
749
+ /**
750
+ * - Unique identifier of a store
751
+ */
752
+ storeId?: number;
753
+ /**
754
+ * - The type of cart
755
+ */
756
+ cartType?: string;
757
+ };
758
+ type GetPromotionPaymentOffersParam = {
759
+ /**
760
+ * - Cart id of the user cart
761
+ */
762
+ id?: string;
763
+ /**
764
+ * - Cart uid of the user cart
765
+ */
766
+ uid?: number;
767
+ };
728
768
  type GetPromotionsParam = {
729
769
  pageNo?: number;
730
770
  pageSize?: number;
@@ -734,6 +774,13 @@ type GetPromotionsParam = {
734
774
  promotionType?: string;
735
775
  fpPanel?: string;
736
776
  promotionId?: string;
777
+ createdBy?: string;
778
+ reviewedBy?: string;
779
+ approvedStartTime?: string;
780
+ approvedEndTime?: string;
781
+ reviewStartTime?: string;
782
+ reviewEndTime?: string;
783
+ status?: string;
737
784
  };
738
785
  type GetShipmentsParam = {
739
786
  pickAtStoreUid?: number;
@@ -790,36 +837,30 @@ type PlatformAddItemsParam = {
790
837
  */
791
838
  buyNow?: boolean;
792
839
  /**
793
- * - The unique identifier of the cart
840
+ * - The order type of shipment HomeDelivery - If
841
+ * the customer wants the order home-delivered PickAtStore - If the customer
842
+ * wants the handover of an order at the store itself.
794
843
  */
795
- id?: string;
844
+ orderType?: string;
796
845
  /**
797
- * - The type of cart
846
+ * - The unique identifier of the cart
798
847
  */
799
- cartType?: string;
800
- body: CartPlatformModel.PlatformAddCartRequest;
848
+ id?: string;
849
+ body: CartPlatformModel.PlatformAddCartDetails;
801
850
  };
802
851
  type PlatformCheckoutCartParam = {
803
852
  /**
804
853
  * - The unique identifier of the cart
805
854
  */
806
855
  id?: string;
807
- /**
808
- * - The type of cart
809
- */
810
- cartType?: string;
811
- body: CartPlatformModel.PlatformCartCheckoutDetailRequest;
856
+ body: CartPlatformModel.PlatformCartCheckoutDetailCreation;
812
857
  };
813
858
  type PlatformCheckoutCartV2Param = {
814
859
  /**
815
860
  * - The unique identifier of the cart
816
861
  */
817
862
  id?: string;
818
- /**
819
- * - The type of cart
820
- */
821
- cartType?: string;
822
- body: CartPlatformModel.PlatformCartCheckoutDetailV2Request;
863
+ body: CartPlatformModel.PlatformCartCheckoutDetailV2Creation;
823
864
  };
824
865
  type PlatformUpdateCartParam = {
825
866
  /**
@@ -847,11 +888,7 @@ type PlatformUpdateCartParam = {
847
888
  * set/initialize buy now cart
848
889
  */
849
890
  buyNow?: boolean;
850
- /**
851
- * - The type of cart
852
- */
853
- cartType?: string;
854
- body: CartPlatformModel.PlatformUpdateCartRequest;
891
+ body: CartPlatformModel.PlatformUpdateCartDetails;
855
892
  };
856
893
  type RemoveAddressParam = {
857
894
  /**
@@ -866,10 +903,6 @@ type RemoveAddressParam = {
866
903
  type RemoveCouponParam = {
867
904
  uid?: string;
868
905
  buyNow?: boolean;
869
- /**
870
- * - The type of cart
871
- */
872
- cartType?: string;
873
906
  };
874
907
  type RemovePriceAdjustmentParam = {
875
908
  id: string;
@@ -879,27 +912,17 @@ type SelectAddressParam = {
879
912
  buyNow?: boolean;
880
913
  i?: boolean;
881
914
  b?: boolean;
882
- body: CartPlatformModel.PlatformSelectCartAddressRequest;
915
+ body: CartPlatformModel.PlatformSelectCartAddress;
883
916
  };
884
917
  type SelectPaymentModeParam = {
885
918
  id?: string;
886
919
  buyNow?: boolean;
887
- /**
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.
891
- */
892
920
  orderType?: string;
893
- body: CartPlatformModel.UpdateCartPaymentRequest;
921
+ body: CartPlatformModel.CartPaymentUpdate;
894
922
  };
895
923
  type SelectPaymentModeV2Param = {
896
924
  id?: string;
897
925
  buyNow?: boolean;
898
- /**
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.
902
- */
903
926
  orderType?: string;
904
927
  body: CartPlatformModel.UpdateCartPaymentRequestV2;
905
928
  };
@@ -912,22 +935,21 @@ type UpdateAddressParam = {
912
935
  };
913
936
  type UpdateCartParam = {
914
937
  /**
915
- * - Current Cart _id
938
+ * - Current Cart id of user cart
916
939
  */
917
940
  cartId: string;
918
941
  b?: boolean;
919
- body: CartPlatformModel.UpdateCartRequest;
942
+ body: CartPlatformModel.UpdateCartCreation;
920
943
  };
921
944
  type UpdateCartMetaParam = {
922
945
  id?: string;
923
946
  buyNow?: boolean;
924
- userId?: string;
925
- body: CartPlatformModel.PlatformCartMetaRequest;
947
+ body: CartPlatformModel.PlatformCartMetaCreation;
926
948
  };
927
949
  type UpdateCartMetaConfigParam = {
928
950
  /**
929
- * - CartMeta mongo _id for fetching single cart
930
- * meta data for editing
951
+ * - CartMeta id for fetching single cart meta
952
+ * data for editing
931
953
  */
932
954
  cartMetaId: string;
933
955
  body: CartPlatformModel.CartMetaConfigUpdate;
@@ -996,7 +1018,7 @@ type UpdateShipmentsParam = {
996
1018
  * wants the handover of an order at the store itself.
997
1019
  */
998
1020
  orderType?: string;
999
- body: CartPlatformModel.UpdateCartShipmentRequest;
1021
+ body: CartPlatformModel.UpdateCartShipmentCreation;
1000
1022
  };
1001
1023
  type ValidateCouponForPaymentParam = {
1002
1024
  id?: string;
@@ -1006,29 +1028,7 @@ type ValidateCouponForPaymentParam = {
1006
1028
  paymentIdentifier?: string;
1007
1029
  aggregatorName?: string;
1008
1030
  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
1031
  };
1030
- type GetCartMetaConfigsParam = any;
1032
+ type FetchCartMetaConfigParam = any;
1031
1033
  type GetCouponOptionValuesParam = any;
1032
- type GetCouponTagsParam = any;
1033
- type GetPromotionTagsParam = any;
1034
1034
  import CartPlatformModel = require("./CartPlatformModel");