@gofynd/fdk-client-javascript 1.4.15-beta.2 → 1.4.15-beta.3

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