@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
@@ -2,54 +2,36 @@ export = PaymentPlatformApplicationValidator;
2
2
  /**
3
3
  * @typedef AddEdcDeviceParam
4
4
  * @property {string} terminalUniqueIdentifier - Terminal unique identifier
5
- * @property {PaymentPlatformModel.EdcUpdateRequest} body
6
- */
7
- /**
8
- * @typedef AddRefundBankAccountParam
9
- * @property {PaymentPlatformModel.AddBeneficiaryDetailsOTPRequest} body
5
+ * @property {PaymentPlatformModel.EdcUpdate} body
10
6
  */
11
7
  /**
12
8
  * @typedef AddRefundBankAccountUsingOTPParam
13
- * @property {PaymentPlatformModel.AddBeneficiaryDetailsOTPRequest} body
9
+ * @property {PaymentPlatformModel.AddBeneficiaryDetailsOTPCreation} body
14
10
  */
15
11
  /**
16
12
  * @typedef CancelPaymentLinkParam
17
- * @property {PaymentPlatformModel.CancelOrResendPaymentLinkRequest} body
13
+ * @property {PaymentPlatformModel.CancelOrResendPaymentLinkCreation} body
18
14
  */
19
15
  /**
20
16
  * @typedef CheckAndUpdatePaymentStatusParam
21
- * @property {PaymentPlatformModel.PaymentStatusUpdateRequest} body
17
+ * @property {PaymentPlatformModel.PaymentStatusUpdateCreation} body
22
18
  */
23
19
  /**
24
20
  * @typedef ConfirmPaymentParam
25
- * @property {PaymentPlatformModel.PaymentConfirmationRequest} body
26
- */
27
- /**
28
- * @typedef CopyConfigAggPaymentModesParam
29
- * @property {string} aggregatorId - Aggregator Id
30
- * @property {PaymentPlatformModel.PlatformPaymentModeCopyConfigRequest} body
31
- */
32
- /**
33
- * @typedef CopyConfigPaymentModesParam
34
- * @property {PaymentPlatformModel.PlatformPaymentModeCopyConfigRequest} body
21
+ * @property {PaymentPlatformModel.PaymentConfirmationCreation} body
35
22
  */
36
23
  /**
37
24
  * @typedef CreateMerchantRefundPriorityParam
38
25
  * @property {string} configType - Configuration for merchant or customer
39
- * @property {string} businessUnit - Business unit storefront or pos
40
- * @property {PaymentPlatformModel.RefundPriorityRequestSerializer} body
26
+ * @property {PaymentPlatformModel.RefundPriorityCreation} body
41
27
  */
42
28
  /**
43
29
  * @typedef CreatePaymentLinkParam
44
- * @property {PaymentPlatformModel.CreatePaymentLinkRequest} body
30
+ * @property {PaymentPlatformModel.CreatePaymentLinkCreation} body
45
31
  */
46
32
  /**
47
33
  * @typedef CreatePaymentOrderParam
48
- * @property {PaymentPlatformModel.PaymentOrderRequest} body
49
- */
50
- /**
51
- * @typedef DeleteBeneficiaryDetailsParam
52
- * @property {PaymentPlatformModel.DeleteBeneficiaryRequest} body
34
+ * @property {PaymentPlatformModel.PaymentOrderCreation} body
53
35
  */
54
36
  /** @typedef EdcAggregatorsAndModelListParam */
55
37
  /**
@@ -61,18 +43,6 @@ export = PaymentPlatformApplicationValidator;
61
43
  * @property {string} [deviceTag]
62
44
  */
63
45
  /** @typedef EdcDeviceStatsParam */
64
- /**
65
- * @typedef GetAggregatorCredentialParam
66
- * @property {string} aggregator - The aggregator for which credentials are requested
67
- * @property {string} configType - The configuration type for which credentials
68
- * are requested
69
- */
70
- /**
71
- * @typedef GetAggregatorCredentialHistoryParam
72
- * @property {string} aggregator - The aggregator for which credentials are requested
73
- * @property {string} configType - The configuration type for which credentials
74
- * are requested
75
- */
76
46
  /**
77
47
  * @typedef GetBankAccountDetailsOpenAPIParam
78
48
  * @property {string} orderId
@@ -83,7 +53,6 @@ export = PaymentPlatformApplicationValidator;
83
53
  * @property {string} aggregator - Aggregator slug
84
54
  * @property {string} [configType]
85
55
  */
86
- /** @typedef GetDevicesParam */
87
56
  /**
88
57
  * @typedef GetEdcDeviceParam
89
58
  * @property {string} terminalUniqueIdentifier - Terminal unique identifier
@@ -102,15 +71,10 @@ export = PaymentPlatformApplicationValidator;
102
71
  * @property {string} businessUnit
103
72
  * @property {string} device
104
73
  */
105
- /**
106
- * @typedef GetMerchantPaymentOptionParam
107
- * @property {string} [paymentOptionType] - Payment Option Type, Expected value
108
- * - advance (Optional)
109
- */
74
+ /** @typedef GetMerchantPaymentOptionParam */
110
75
  /**
111
76
  * @typedef GetMerchantRefundPriorityParam
112
77
  * @property {string} configType - Configuration for merchant or customer
113
- * @property {string} businessUnit - Business unit storefront or pos
114
78
  */
115
79
  /** @typedef GetPGConfigAggregatorsParam */
116
80
  /** @typedef GetPaymentCodeOptionParam */
@@ -118,11 +82,6 @@ export = PaymentPlatformApplicationValidator;
118
82
  * @typedef GetPaymentLinkParam
119
83
  * @property {string} paymentLinkId
120
84
  */
121
- /**
122
- * @typedef GetPaymentLinkIdParam
123
- * @property {string} id
124
- * @property {string} paymentLinkId
125
- */
126
85
  /**
127
86
  * @typedef GetPaymentModeControlRoutesParam
128
87
  * @property {string} mode - Offline / advance modes to get the payment modes
@@ -133,20 +92,18 @@ export = PaymentPlatformApplicationValidator;
133
92
  */
134
93
  /**
135
94
  * @typedef GetPaymentModeRoutesParam
136
- * @property {boolean} refresh
137
- * @property {number} amount
138
- * @property {string} requestType
139
- * @property {string} [orderId]
140
- * @property {string} [shipmentId]
141
- */
142
- /**
143
- * @typedef GetPaymentModeSequencingParam
144
- * @property {string} businessUnit
145
- * @property {string} device
95
+ * @property {boolean} [refresh] - Flag to refresh the cache and retrieve the
96
+ * updated payment option
97
+ * @property {string} [requestType] - Type of payment request, i.e. self
98
+ * @property {string} [orderId] - Order id for the payment
99
+ * @property {string} [shipmentId] - Shipment id for the payment
100
+ * @property {number} [amount] - Amount for the payment
146
101
  */
147
102
  /**
148
103
  * @typedef GetPaymentSessionParam
149
- * @property {string} gid - Transaction id
104
+ * @property {string} gid - Global identifier of the entity (e.g. order, cart
105
+ * etc.) against which payment session was initiated. This is generated by
106
+ * Fynd payments platform and is unique.
150
107
  * @property {boolean} [lineItem] - A boolean flag to include detailed cart and
151
108
  * line item information in the response. When set to true, the response will
152
109
  * contain comprehensive details about the cart, including each line item's
@@ -155,7 +112,6 @@ export = PaymentPlatformApplicationValidator;
155
112
  * breakdown of charges to the customer, helping to understand the total
156
113
  * amount billed in a more granular way.
157
114
  */
158
- /** @typedef GetPennyDropValidationParam */
159
115
  /**
160
116
  * @typedef GetPosPaymentModeRoutesParam
161
117
  * @property {number} amount - Payable amount.
@@ -175,27 +131,10 @@ export = PaymentPlatformApplicationValidator;
175
131
  * @property {boolean} [advancePayment] - Display Advance Payment Options or Normal
176
132
  * @property {string} [shipmentId]
177
133
  */
178
- /**
179
- * @typedef GetSelectedRefundOptionParam
180
- * @property {string} shipmentId - Shipment Id
181
- * @property {string} orderId - Order Id
182
- */
183
- /**
184
- * @typedef GetShipmentBeneficiaryParam
185
- * @property {string} shipmentId - Shipment id
186
- */
187
134
  /**
188
135
  * @typedef GetUserBeneficiariesParam
189
136
  * @property {string} orderId
190
137
  */
191
- /**
192
- * @typedef GetUserBeneficiariesDetailV2Param
193
- * @property {string} [orderId] - A unique number used for identifying and
194
- * tracking your orders.
195
- * @property {string} [shipmentId] - A unique number used for identifying and
196
- * tracking your orders.
197
- * @property {string} [mop] - Mode of payment for which beneficiary data required
198
- */
199
138
  /**
200
139
  * @typedef GetUserCODlimitRoutesParam
201
140
  * @property {string} merchantUserId
@@ -207,11 +146,11 @@ export = PaymentPlatformApplicationValidator;
207
146
  */
208
147
  /**
209
148
  * @typedef InitialisePaymentParam
210
- * @property {PaymentPlatformModel.PaymentInitializationRequest} body
149
+ * @property {PaymentPlatformModel.PaymentInitializationCreation} body
211
150
  */
212
151
  /**
213
152
  * @typedef MerchantOnBoardingParam
214
- * @property {PaymentPlatformModel.MerchantOnBoardingRequest} body
153
+ * @property {PaymentPlatformModel.MerchantOnBoardingCreation} body
215
154
  */
216
155
  /**
217
156
  * @typedef OauthGetUrlParam
@@ -222,28 +161,24 @@ export = PaymentPlatformApplicationValidator;
222
161
  /**
223
162
  * @typedef PatchMerchantAggregatorPaymentModeDetailsParam
224
163
  * @property {number} aggregatorId - Aggregators Id
225
- * @property {PaymentPlatformModel.PlatformPaymentModeRequest} body
164
+ * @property {PaymentPlatformModel.PlatformPaymentModeDetails} body
226
165
  */
227
166
  /**
228
167
  * @typedef PatchMerchantPaymentOptionParam
229
- * @property {PaymentPlatformModel.MerchantPaymentModeRequest} body
168
+ * @property {PaymentPlatformModel.MerchnatPaymentModeCreation} body
230
169
  */
231
170
  /**
232
171
  * @typedef PatchMerchantPaymentOptionVersionParam
233
172
  * @property {number} aggregatorId - Aggregators Id
234
- * @property {PaymentPlatformModel.AggregatorControlRequest} body
235
- */
236
- /**
237
- * @typedef PatchPaymentModeSequencingParam
238
- * @property {PaymentPlatformModel.PlatformPaymentModeRequest} body
173
+ * @property {PaymentPlatformModel.PatchAggregatorControl} body
239
174
  */
240
175
  /**
241
176
  * @typedef PaymentStatusBulkParam
242
- * @property {PaymentPlatformModel.PaymentStatusBulkHandlerRequest} body
177
+ * @property {PaymentPlatformModel.PaymentStatusBulkHandlerCreation} body
243
178
  */
244
179
  /**
245
180
  * @typedef PollingPaymentLinkParam
246
- * @property {string} [paymentLinkId]
181
+ * @property {string} paymentLinkId
247
182
  */
248
183
  /**
249
184
  * @typedef RepaymentDetailsParam
@@ -251,11 +186,11 @@ export = PaymentPlatformApplicationValidator;
251
186
  */
252
187
  /**
253
188
  * @typedef ResendOrCancelPaymentParam
254
- * @property {PaymentPlatformModel.ResendOrCancelPaymentRequest} body
189
+ * @property {PaymentPlatformModel.ResendOrCancelPaymentCreation} body
255
190
  */
256
191
  /**
257
192
  * @typedef ResendPaymentLinkParam
258
- * @property {PaymentPlatformModel.CancelOrResendPaymentLinkRequest} body
193
+ * @property {PaymentPlatformModel.CancelOrResendPaymentLinkCreation} body
259
194
  */
260
195
  /**
261
196
  * @typedef RevokeOauthTokenParam
@@ -263,54 +198,37 @@ export = PaymentPlatformApplicationValidator;
263
198
  */
264
199
  /**
265
200
  * @typedef SaveBrandPaymentGatewayConfigParam
266
- * @property {PaymentPlatformModel.PaymentGatewayConfigRequest} body
201
+ * @property {PaymentPlatformModel.PaymentGatewayConfigCreation} body
267
202
  */
268
203
  /**
269
204
  * @typedef SetMerchantModeControlRoutesParam
270
- * @property {string} mode - Offline / advance modes to get the payment modes
271
- * @property {PaymentPlatformModel.PlatformOfflineAdvanceRequest} body
205
+ * @property {string} mode - Offline / advance payment mode
206
+ * @property {PaymentPlatformModel.MerchantPaymentModeCreation} body
272
207
  */
273
208
  /**
274
209
  * @typedef SetPaymentModeCustomConfigParam
275
210
  * @property {string} mode - Offline / advance payment mode
276
211
  * @property {PaymentPlatformModel.PaymentCustomConfigRequestSchema} body
277
212
  */
278
- /**
279
- * @typedef SetRefundOptionforShipmentParam
280
- * @property {PaymentPlatformModel.ShipmentRefundRequest} body
281
- */
282
213
  /**
283
214
  * @typedef SetUserCODlimitRoutesParam
284
- * @property {PaymentPlatformModel.SetCODForUserRequest} body
285
- */
286
- /**
287
- * @typedef UpdateAggregatorCredentialParam
288
- * @property {PaymentPlatformModel.AggregatorCredentialRequest} body
289
- */
290
- /**
291
- * @typedef UpdateDefaultBeneficiaryParam
292
- * @property {PaymentPlatformModel.SetDefaultBeneficiaryRequest} body
215
+ * @property {PaymentPlatformModel.SetCODForUserCreation} body
293
216
  */
294
217
  /**
295
218
  * @typedef UpdateEdcDeviceParam
296
- * @property {PaymentPlatformModel.EdcAddRequest} body
219
+ * @property {PaymentPlatformModel.EdcAddCreation} body
297
220
  */
298
221
  /**
299
222
  * @typedef UpdateMerchantRefundPriorityParam
300
223
  * @property {string} configType - Configuration for merchant or customer
301
- * @property {string} businessUnit - Business unit storefront or pos
302
- * @property {PaymentPlatformModel.RefundPriorityRequestSerializer} body
224
+ * @property {PaymentPlatformModel.RefundPriorityCreation} body
303
225
  */
304
226
  /**
305
227
  * @typedef UpdatePaymentSessionParam
306
228
  * @property {string} gid - Global identifier of the entity (e.g. order, cart
307
229
  * etc.) against which payment_session was initiated. This is generated by
308
230
  * Fynd payments platform and is unique.
309
- * @property {PaymentPlatformModel.PaymentSessionRequestSerializer} body
310
- */
311
- /**
312
- * @typedef UpdatePennyDropValidationParam
313
- * @property {PaymentPlatformModel.UpdatePennyDropValidationRequest} body
231
+ * @property {PaymentPlatformModel.PaymentSessionCreation} body
314
232
  */
315
233
  /**
316
234
  * @typedef UpdateRefundSessionParam
@@ -319,21 +237,19 @@ export = PaymentPlatformApplicationValidator;
319
237
  * Fynd payments platform and is unique.
320
238
  * @property {string} requestId - A unique id that was used to initiate a refund
321
239
  * session. This is generated by Fynd platform and is usually shipment_id.
322
- * @property {PaymentPlatformModel.RefundSessionRequestSerializer} body
240
+ * @property {PaymentPlatformModel.RefundSessionCreation} body
323
241
  */
324
242
  /**
325
- * @typedef ValidateBeneficiaryAddressParam
326
- * @property {PaymentPlatformModel.ValidateValidateAddressRequest} body
243
+ * @typedef ValidateCustomerAndCreditSummaryParam
244
+ * @property {PaymentPlatformModel.CustomerValidationSchema} body
327
245
  */
328
246
  /**
329
247
  * @typedef VerifyCustomerForPaymentParam
330
- * @property {PaymentPlatformModel.ValidateCustomerRequest} body
248
+ * @property {PaymentPlatformModel.ValidateCustomerCreation} body
331
249
  */
332
250
  declare class PaymentPlatformApplicationValidator {
333
251
  /** @returns {AddEdcDeviceParam} */
334
252
  static addEdcDevice(): AddEdcDeviceParam;
335
- /** @returns {AddRefundBankAccountParam} */
336
- static addRefundBankAccount(): AddRefundBankAccountParam;
337
253
  /** @returns {AddRefundBankAccountUsingOTPParam} */
338
254
  static addRefundBankAccountUsingOTP(): AddRefundBankAccountUsingOTPParam;
339
255
  /** @returns {CancelPaymentLinkParam} */
@@ -342,34 +258,22 @@ declare class PaymentPlatformApplicationValidator {
342
258
  static checkAndUpdatePaymentStatus(): CheckAndUpdatePaymentStatusParam;
343
259
  /** @returns {ConfirmPaymentParam} */
344
260
  static confirmPayment(): ConfirmPaymentParam;
345
- /** @returns {CopyConfigAggPaymentModesParam} */
346
- static copyConfigAggPaymentModes(): CopyConfigAggPaymentModesParam;
347
- /** @returns {CopyConfigPaymentModesParam} */
348
- static copyConfigPaymentModes(): CopyConfigPaymentModesParam;
349
261
  /** @returns {CreateMerchantRefundPriorityParam} */
350
262
  static createMerchantRefundPriority(): CreateMerchantRefundPriorityParam;
351
263
  /** @returns {CreatePaymentLinkParam} */
352
264
  static createPaymentLink(): CreatePaymentLinkParam;
353
265
  /** @returns {CreatePaymentOrderParam} */
354
266
  static createPaymentOrder(): CreatePaymentOrderParam;
355
- /** @returns {DeleteBeneficiaryDetailsParam} */
356
- static deleteBeneficiaryDetails(): DeleteBeneficiaryDetailsParam;
357
267
  /** @returns {EdcAggregatorsAndModelListParam} */
358
268
  static edcAggregatorsAndModelList(): any;
359
269
  /** @returns {EdcDeviceListParam} */
360
270
  static edcDeviceList(): EdcDeviceListParam;
361
271
  /** @returns {EdcDeviceStatsParam} */
362
272
  static edcDeviceStats(): any;
363
- /** @returns {GetAggregatorCredentialParam} */
364
- static getAggregatorCredential(): GetAggregatorCredentialParam;
365
- /** @returns {GetAggregatorCredentialHistoryParam} */
366
- static getAggregatorCredentialHistory(): GetAggregatorCredentialHistoryParam;
367
273
  /** @returns {GetBankAccountDetailsOpenAPIParam} */
368
274
  static getBankAccountDetailsOpenAPI(): GetBankAccountDetailsOpenAPIParam;
369
275
  /** @returns {GetBrandPaymentGatewayConfigParam} */
370
276
  static getBrandPaymentGatewayConfig(): GetBrandPaymentGatewayConfigParam;
371
- /** @returns {GetDevicesParam} */
372
- static getDevices(): any;
373
277
  /** @returns {GetEdcDeviceParam} */
374
278
  static getEdcDevice(): GetEdcDeviceParam;
375
279
  /** @returns {GetMerchantAggregatorAppVersionParam} */
@@ -377,7 +281,7 @@ declare class PaymentPlatformApplicationValidator {
377
281
  /** @returns {GetMerchantAggregatorPaymentModeDetailsParam} */
378
282
  static getMerchantAggregatorPaymentModeDetails(): GetMerchantAggregatorPaymentModeDetailsParam;
379
283
  /** @returns {GetMerchantPaymentOptionParam} */
380
- static getMerchantPaymentOption(): GetMerchantPaymentOptionParam;
284
+ static getMerchantPaymentOption(): any;
381
285
  /** @returns {GetMerchantRefundPriorityParam} */
382
286
  static getMerchantRefundPriority(): GetMerchantRefundPriorityParam;
383
287
  /** @returns {GetPGConfigAggregatorsParam} */
@@ -386,30 +290,18 @@ declare class PaymentPlatformApplicationValidator {
386
290
  static getPaymentCodeOption(): any;
387
291
  /** @returns {GetPaymentLinkParam} */
388
292
  static getPaymentLink(): GetPaymentLinkParam;
389
- /** @returns {GetPaymentLinkIdParam} */
390
- static getPaymentLinkId(): GetPaymentLinkIdParam;
391
293
  /** @returns {GetPaymentModeControlRoutesParam} */
392
294
  static getPaymentModeControlRoutes(): GetPaymentModeControlRoutesParam;
393
295
  /** @returns {GetPaymentModeCustomConfigParam} */
394
296
  static getPaymentModeCustomConfig(): GetPaymentModeCustomConfigParam;
395
297
  /** @returns {GetPaymentModeRoutesParam} */
396
298
  static getPaymentModeRoutes(): GetPaymentModeRoutesParam;
397
- /** @returns {GetPaymentModeSequencingParam} */
398
- static getPaymentModeSequencing(): GetPaymentModeSequencingParam;
399
299
  /** @returns {GetPaymentSessionParam} */
400
300
  static getPaymentSession(): GetPaymentSessionParam;
401
- /** @returns {GetPennyDropValidationParam} */
402
- static getPennyDropValidation(): any;
403
301
  /** @returns {GetPosPaymentModeRoutesParam} */
404
302
  static getPosPaymentModeRoutes(): GetPosPaymentModeRoutesParam;
405
- /** @returns {GetSelectedRefundOptionParam} */
406
- static getSelectedRefundOption(): GetSelectedRefundOptionParam;
407
- /** @returns {GetShipmentBeneficiaryParam} */
408
- static getShipmentBeneficiary(): GetShipmentBeneficiaryParam;
409
303
  /** @returns {GetUserBeneficiariesParam} */
410
304
  static getUserBeneficiaries(): GetUserBeneficiariesParam;
411
- /** @returns {GetUserBeneficiariesDetailV2Param} */
412
- static getUserBeneficiariesDetailV2(): GetUserBeneficiariesDetailV2Param;
413
305
  /** @returns {GetUserCODlimitRoutesParam} */
414
306
  static getUserCODlimitRoutes(): GetUserCODlimitRoutesParam;
415
307
  /** @returns {GetUserOrderBeneficiariesParam} */
@@ -426,8 +318,6 @@ declare class PaymentPlatformApplicationValidator {
426
318
  static patchMerchantPaymentOption(): PatchMerchantPaymentOptionParam;
427
319
  /** @returns {PatchMerchantPaymentOptionVersionParam} */
428
320
  static patchMerchantPaymentOptionVersion(): PatchMerchantPaymentOptionVersionParam;
429
- /** @returns {PatchPaymentModeSequencingParam} */
430
- static patchPaymentModeSequencing(): PatchPaymentModeSequencingParam;
431
321
  /** @returns {PaymentStatusBulkParam} */
432
322
  static paymentStatusBulk(): PaymentStatusBulkParam;
433
323
  /** @returns {PollingPaymentLinkParam} */
@@ -446,83 +336,55 @@ declare class PaymentPlatformApplicationValidator {
446
336
  static setMerchantModeControlRoutes(): SetMerchantModeControlRoutesParam;
447
337
  /** @returns {SetPaymentModeCustomConfigParam} */
448
338
  static setPaymentModeCustomConfig(): SetPaymentModeCustomConfigParam;
449
- /** @returns {SetRefundOptionforShipmentParam} */
450
- static setRefundOptionforShipment(): SetRefundOptionforShipmentParam;
451
339
  /** @returns {SetUserCODlimitRoutesParam} */
452
340
  static setUserCODlimitRoutes(): SetUserCODlimitRoutesParam;
453
- /** @returns {UpdateAggregatorCredentialParam} */
454
- static updateAggregatorCredential(): UpdateAggregatorCredentialParam;
455
- /** @returns {UpdateDefaultBeneficiaryParam} */
456
- static updateDefaultBeneficiary(): UpdateDefaultBeneficiaryParam;
457
341
  /** @returns {UpdateEdcDeviceParam} */
458
342
  static updateEdcDevice(): UpdateEdcDeviceParam;
459
343
  /** @returns {UpdateMerchantRefundPriorityParam} */
460
344
  static updateMerchantRefundPriority(): UpdateMerchantRefundPriorityParam;
461
345
  /** @returns {UpdatePaymentSessionParam} */
462
346
  static updatePaymentSession(): UpdatePaymentSessionParam;
463
- /** @returns {UpdatePennyDropValidationParam} */
464
- static updatePennyDropValidation(): UpdatePennyDropValidationParam;
465
347
  /** @returns {UpdateRefundSessionParam} */
466
348
  static updateRefundSession(): UpdateRefundSessionParam;
467
- /** @returns {ValidateBeneficiaryAddressParam} */
468
- static validateBeneficiaryAddress(): ValidateBeneficiaryAddressParam;
349
+ /** @returns {ValidateCustomerAndCreditSummaryParam} */
350
+ static validateCustomerAndCreditSummary(): ValidateCustomerAndCreditSummaryParam;
469
351
  /** @returns {VerifyCustomerForPaymentParam} */
470
352
  static verifyCustomerForPayment(): VerifyCustomerForPaymentParam;
471
353
  }
472
354
  declare namespace PaymentPlatformApplicationValidator {
473
- export { AddEdcDeviceParam, AddRefundBankAccountParam, AddRefundBankAccountUsingOTPParam, CancelPaymentLinkParam, CheckAndUpdatePaymentStatusParam, ConfirmPaymentParam, CopyConfigAggPaymentModesParam, CopyConfigPaymentModesParam, CreateMerchantRefundPriorityParam, CreatePaymentLinkParam, CreatePaymentOrderParam, DeleteBeneficiaryDetailsParam, EdcAggregatorsAndModelListParam, EdcDeviceListParam, EdcDeviceStatsParam, GetAggregatorCredentialParam, GetAggregatorCredentialHistoryParam, GetBankAccountDetailsOpenAPIParam, GetBrandPaymentGatewayConfigParam, GetDevicesParam, GetEdcDeviceParam, GetMerchantAggregatorAppVersionParam, GetMerchantAggregatorPaymentModeDetailsParam, GetMerchantPaymentOptionParam, GetMerchantRefundPriorityParam, GetPGConfigAggregatorsParam, GetPaymentCodeOptionParam, GetPaymentLinkParam, GetPaymentLinkIdParam, GetPaymentModeControlRoutesParam, GetPaymentModeCustomConfigParam, GetPaymentModeRoutesParam, GetPaymentModeSequencingParam, GetPaymentSessionParam, GetPennyDropValidationParam, GetPosPaymentModeRoutesParam, GetSelectedRefundOptionParam, GetShipmentBeneficiaryParam, GetUserBeneficiariesParam, GetUserBeneficiariesDetailV2Param, GetUserCODlimitRoutesParam, GetUserOrderBeneficiariesParam, InitialisePaymentParam, MerchantOnBoardingParam, OauthGetUrlParam, PatchMerchantAggregatorPaymentModeDetailsParam, PatchMerchantPaymentOptionParam, PatchMerchantPaymentOptionVersionParam, PatchPaymentModeSequencingParam, PaymentStatusBulkParam, PollingPaymentLinkParam, RepaymentDetailsParam, ResendOrCancelPaymentParam, ResendPaymentLinkParam, RevokeOauthTokenParam, SaveBrandPaymentGatewayConfigParam, SetMerchantModeControlRoutesParam, SetPaymentModeCustomConfigParam, SetRefundOptionforShipmentParam, SetUserCODlimitRoutesParam, UpdateAggregatorCredentialParam, UpdateDefaultBeneficiaryParam, UpdateEdcDeviceParam, UpdateMerchantRefundPriorityParam, UpdatePaymentSessionParam, UpdatePennyDropValidationParam, UpdateRefundSessionParam, ValidateBeneficiaryAddressParam, VerifyCustomerForPaymentParam };
355
+ export { AddEdcDeviceParam, AddRefundBankAccountUsingOTPParam, CancelPaymentLinkParam, CheckAndUpdatePaymentStatusParam, ConfirmPaymentParam, CreateMerchantRefundPriorityParam, CreatePaymentLinkParam, CreatePaymentOrderParam, EdcAggregatorsAndModelListParam, EdcDeviceListParam, EdcDeviceStatsParam, GetBankAccountDetailsOpenAPIParam, GetBrandPaymentGatewayConfigParam, GetEdcDeviceParam, GetMerchantAggregatorAppVersionParam, GetMerchantAggregatorPaymentModeDetailsParam, GetMerchantPaymentOptionParam, GetMerchantRefundPriorityParam, GetPGConfigAggregatorsParam, GetPaymentCodeOptionParam, GetPaymentLinkParam, GetPaymentModeControlRoutesParam, GetPaymentModeCustomConfigParam, GetPaymentModeRoutesParam, GetPaymentSessionParam, GetPosPaymentModeRoutesParam, GetUserBeneficiariesParam, GetUserCODlimitRoutesParam, GetUserOrderBeneficiariesParam, InitialisePaymentParam, MerchantOnBoardingParam, OauthGetUrlParam, PatchMerchantAggregatorPaymentModeDetailsParam, PatchMerchantPaymentOptionParam, PatchMerchantPaymentOptionVersionParam, PaymentStatusBulkParam, PollingPaymentLinkParam, RepaymentDetailsParam, ResendOrCancelPaymentParam, ResendPaymentLinkParam, RevokeOauthTokenParam, SaveBrandPaymentGatewayConfigParam, SetMerchantModeControlRoutesParam, SetPaymentModeCustomConfigParam, SetUserCODlimitRoutesParam, UpdateEdcDeviceParam, UpdateMerchantRefundPriorityParam, UpdatePaymentSessionParam, UpdateRefundSessionParam, ValidateCustomerAndCreditSummaryParam, VerifyCustomerForPaymentParam };
474
356
  }
475
357
  type AddEdcDeviceParam = {
476
358
  /**
477
359
  * - Terminal unique identifier
478
360
  */
479
361
  terminalUniqueIdentifier: string;
480
- body: PaymentPlatformModel.EdcUpdateRequest;
481
- };
482
- type AddRefundBankAccountParam = {
483
- body: PaymentPlatformModel.AddBeneficiaryDetailsOTPRequest;
362
+ body: PaymentPlatformModel.EdcUpdate;
484
363
  };
485
364
  type AddRefundBankAccountUsingOTPParam = {
486
- body: PaymentPlatformModel.AddBeneficiaryDetailsOTPRequest;
365
+ body: PaymentPlatformModel.AddBeneficiaryDetailsOTPCreation;
487
366
  };
488
367
  type CancelPaymentLinkParam = {
489
- body: PaymentPlatformModel.CancelOrResendPaymentLinkRequest;
368
+ body: PaymentPlatformModel.CancelOrResendPaymentLinkCreation;
490
369
  };
491
370
  type CheckAndUpdatePaymentStatusParam = {
492
- body: PaymentPlatformModel.PaymentStatusUpdateRequest;
371
+ body: PaymentPlatformModel.PaymentStatusUpdateCreation;
493
372
  };
494
373
  type ConfirmPaymentParam = {
495
- body: PaymentPlatformModel.PaymentConfirmationRequest;
496
- };
497
- type CopyConfigAggPaymentModesParam = {
498
- /**
499
- * - Aggregator Id
500
- */
501
- aggregatorId: string;
502
- body: PaymentPlatformModel.PlatformPaymentModeCopyConfigRequest;
503
- };
504
- type CopyConfigPaymentModesParam = {
505
- body: PaymentPlatformModel.PlatformPaymentModeCopyConfigRequest;
374
+ body: PaymentPlatformModel.PaymentConfirmationCreation;
506
375
  };
507
376
  type CreateMerchantRefundPriorityParam = {
508
377
  /**
509
378
  * - Configuration for merchant or customer
510
379
  */
511
380
  configType: string;
512
- /**
513
- * - Business unit storefront or pos
514
- */
515
- businessUnit: string;
516
- body: PaymentPlatformModel.RefundPriorityRequestSerializer;
381
+ body: PaymentPlatformModel.RefundPriorityCreation;
517
382
  };
518
383
  type CreatePaymentLinkParam = {
519
- body: PaymentPlatformModel.CreatePaymentLinkRequest;
384
+ body: PaymentPlatformModel.CreatePaymentLinkCreation;
520
385
  };
521
386
  type CreatePaymentOrderParam = {
522
- body: PaymentPlatformModel.PaymentOrderRequest;
523
- };
524
- type DeleteBeneficiaryDetailsParam = {
525
- body: PaymentPlatformModel.DeleteBeneficiaryRequest;
387
+ body: PaymentPlatformModel.PaymentOrderCreation;
526
388
  };
527
389
  type EdcDeviceListParam = {
528
390
  pageNo?: number;
@@ -531,28 +393,6 @@ type EdcDeviceListParam = {
531
393
  storeId?: number;
532
394
  deviceTag?: string;
533
395
  };
534
- type GetAggregatorCredentialParam = {
535
- /**
536
- * - The aggregator for which credentials are requested
537
- */
538
- aggregator: string;
539
- /**
540
- * - The configuration type for which credentials
541
- * are requested
542
- */
543
- configType: string;
544
- };
545
- type GetAggregatorCredentialHistoryParam = {
546
- /**
547
- * - The aggregator for which credentials are requested
548
- */
549
- aggregator: string;
550
- /**
551
- * - The configuration type for which credentials
552
- * are requested
553
- */
554
- configType: string;
555
- };
556
396
  type GetBankAccountDetailsOpenAPIParam = {
557
397
  orderId: string;
558
398
  requestHash?: string;
@@ -588,30 +428,15 @@ type GetMerchantAggregatorPaymentModeDetailsParam = {
588
428
  businessUnit: string;
589
429
  device: string;
590
430
  };
591
- type GetMerchantPaymentOptionParam = {
592
- /**
593
- * - Payment Option Type, Expected value
594
- * - advance (Optional)
595
- */
596
- paymentOptionType?: string;
597
- };
598
431
  type GetMerchantRefundPriorityParam = {
599
432
  /**
600
433
  * - Configuration for merchant or customer
601
434
  */
602
435
  configType: string;
603
- /**
604
- * - Business unit storefront or pos
605
- */
606
- businessUnit: string;
607
436
  };
608
437
  type GetPaymentLinkParam = {
609
438
  paymentLinkId: string;
610
439
  };
611
- type GetPaymentLinkIdParam = {
612
- id: string;
613
- paymentLinkId: string;
614
- };
615
440
  type GetPaymentModeControlRoutesParam = {
616
441
  /**
617
442
  * - Offline / advance modes to get the payment modes
@@ -625,19 +450,33 @@ type GetPaymentModeCustomConfigParam = {
625
450
  mode: string;
626
451
  };
627
452
  type GetPaymentModeRoutesParam = {
628
- refresh: boolean;
629
- amount: number;
630
- requestType: string;
453
+ /**
454
+ * - Flag to refresh the cache and retrieve the
455
+ * updated payment option
456
+ */
457
+ refresh?: boolean;
458
+ /**
459
+ * - Type of payment request, i.e. self
460
+ */
461
+ requestType?: string;
462
+ /**
463
+ * - Order id for the payment
464
+ */
631
465
  orderId?: string;
466
+ /**
467
+ * - Shipment id for the payment
468
+ */
632
469
  shipmentId?: string;
633
- };
634
- type GetPaymentModeSequencingParam = {
635
- businessUnit: string;
636
- device: string;
470
+ /**
471
+ * - Amount for the payment
472
+ */
473
+ amount?: number;
637
474
  };
638
475
  type GetPaymentSessionParam = {
639
476
  /**
640
- * - Transaction id
477
+ * - Global identifier of the entity (e.g. order, cart
478
+ * etc.) against which payment session was initiated. This is generated by
479
+ * Fynd payments platform and is unique.
641
480
  */
642
481
  gid: string;
643
482
  /**
@@ -699,41 +538,9 @@ type GetPosPaymentModeRoutesParam = {
699
538
  advancePayment?: boolean;
700
539
  shipmentId?: string;
701
540
  };
702
- type GetSelectedRefundOptionParam = {
703
- /**
704
- * - Shipment Id
705
- */
706
- shipmentId: string;
707
- /**
708
- * - Order Id
709
- */
710
- orderId: string;
711
- };
712
- type GetShipmentBeneficiaryParam = {
713
- /**
714
- * - Shipment id
715
- */
716
- shipmentId: string;
717
- };
718
541
  type GetUserBeneficiariesParam = {
719
542
  orderId: string;
720
543
  };
721
- type GetUserBeneficiariesDetailV2Param = {
722
- /**
723
- * - A unique number used for identifying and
724
- * tracking your orders.
725
- */
726
- orderId?: string;
727
- /**
728
- * - A unique number used for identifying and
729
- * tracking your orders.
730
- */
731
- shipmentId?: string;
732
- /**
733
- * - Mode of payment for which beneficiary data required
734
- */
735
- mop?: string;
736
- };
737
544
  type GetUserCODlimitRoutesParam = {
738
545
  merchantUserId: string;
739
546
  mobileNo: string;
@@ -742,10 +549,10 @@ type GetUserOrderBeneficiariesParam = {
742
549
  orderId: string;
743
550
  };
744
551
  type InitialisePaymentParam = {
745
- body: PaymentPlatformModel.PaymentInitializationRequest;
552
+ body: PaymentPlatformModel.PaymentInitializationCreation;
746
553
  };
747
554
  type MerchantOnBoardingParam = {
748
- body: PaymentPlatformModel.MerchantOnBoardingRequest;
555
+ body: PaymentPlatformModel.MerchantOnBoardingCreation;
749
556
  };
750
557
  type OauthGetUrlParam = {
751
558
  /**
@@ -760,35 +567,32 @@ type PatchMerchantAggregatorPaymentModeDetailsParam = {
760
567
  * - Aggregators Id
761
568
  */
762
569
  aggregatorId: number;
763
- body: PaymentPlatformModel.PlatformPaymentModeRequest;
570
+ body: PaymentPlatformModel.PlatformPaymentModeDetails;
764
571
  };
765
572
  type PatchMerchantPaymentOptionParam = {
766
- body: PaymentPlatformModel.MerchantPaymentModeRequest;
573
+ body: PaymentPlatformModel.MerchnatPaymentModeCreation;
767
574
  };
768
575
  type PatchMerchantPaymentOptionVersionParam = {
769
576
  /**
770
577
  * - Aggregators Id
771
578
  */
772
579
  aggregatorId: number;
773
- body: PaymentPlatformModel.AggregatorControlRequest;
774
- };
775
- type PatchPaymentModeSequencingParam = {
776
- body: PaymentPlatformModel.PlatformPaymentModeRequest;
580
+ body: PaymentPlatformModel.PatchAggregatorControl;
777
581
  };
778
582
  type PaymentStatusBulkParam = {
779
- body: PaymentPlatformModel.PaymentStatusBulkHandlerRequest;
583
+ body: PaymentPlatformModel.PaymentStatusBulkHandlerCreation;
780
584
  };
781
585
  type PollingPaymentLinkParam = {
782
- paymentLinkId?: string;
586
+ paymentLinkId: string;
783
587
  };
784
588
  type RepaymentDetailsParam = {
785
589
  body: PaymentPlatformModel.RepaymentDetailsSerialiserPayAll;
786
590
  };
787
591
  type ResendOrCancelPaymentParam = {
788
- body: PaymentPlatformModel.ResendOrCancelPaymentRequest;
592
+ body: PaymentPlatformModel.ResendOrCancelPaymentCreation;
789
593
  };
790
594
  type ResendPaymentLinkParam = {
791
- body: PaymentPlatformModel.CancelOrResendPaymentLinkRequest;
595
+ body: PaymentPlatformModel.CancelOrResendPaymentLinkCreation;
792
596
  };
793
597
  type RevokeOauthTokenParam = {
794
598
  /**
@@ -797,14 +601,14 @@ type RevokeOauthTokenParam = {
797
601
  aggregator: string;
798
602
  };
799
603
  type SaveBrandPaymentGatewayConfigParam = {
800
- body: PaymentPlatformModel.PaymentGatewayConfigRequest;
604
+ body: PaymentPlatformModel.PaymentGatewayConfigCreation;
801
605
  };
802
606
  type SetMerchantModeControlRoutesParam = {
803
607
  /**
804
- * - Offline / advance modes to get the payment modes
608
+ * - Offline / advance payment mode
805
609
  */
806
610
  mode: string;
807
- body: PaymentPlatformModel.PlatformOfflineAdvanceRequest;
611
+ body: PaymentPlatformModel.MerchantPaymentModeCreation;
808
612
  };
809
613
  type SetPaymentModeCustomConfigParam = {
810
614
  /**
@@ -813,31 +617,18 @@ type SetPaymentModeCustomConfigParam = {
813
617
  mode: string;
814
618
  body: PaymentPlatformModel.PaymentCustomConfigRequestSchema;
815
619
  };
816
- type SetRefundOptionforShipmentParam = {
817
- body: PaymentPlatformModel.ShipmentRefundRequest;
818
- };
819
620
  type SetUserCODlimitRoutesParam = {
820
- body: PaymentPlatformModel.SetCODForUserRequest;
821
- };
822
- type UpdateAggregatorCredentialParam = {
823
- body: PaymentPlatformModel.AggregatorCredentialRequest;
824
- };
825
- type UpdateDefaultBeneficiaryParam = {
826
- body: PaymentPlatformModel.SetDefaultBeneficiaryRequest;
621
+ body: PaymentPlatformModel.SetCODForUserCreation;
827
622
  };
828
623
  type UpdateEdcDeviceParam = {
829
- body: PaymentPlatformModel.EdcAddRequest;
624
+ body: PaymentPlatformModel.EdcAddCreation;
830
625
  };
831
626
  type UpdateMerchantRefundPriorityParam = {
832
627
  /**
833
628
  * - Configuration for merchant or customer
834
629
  */
835
630
  configType: string;
836
- /**
837
- * - Business unit storefront or pos
838
- */
839
- businessUnit: string;
840
- body: PaymentPlatformModel.RefundPriorityRequestSerializer;
631
+ body: PaymentPlatformModel.RefundPriorityCreation;
841
632
  };
842
633
  type UpdatePaymentSessionParam = {
843
634
  /**
@@ -846,10 +637,7 @@ type UpdatePaymentSessionParam = {
846
637
  * Fynd payments platform and is unique.
847
638
  */
848
639
  gid: string;
849
- body: PaymentPlatformModel.PaymentSessionRequestSerializer;
850
- };
851
- type UpdatePennyDropValidationParam = {
852
- body: PaymentPlatformModel.UpdatePennyDropValidationRequest;
640
+ body: PaymentPlatformModel.PaymentSessionCreation;
853
641
  };
854
642
  type UpdateRefundSessionParam = {
855
643
  /**
@@ -863,18 +651,17 @@ type UpdateRefundSessionParam = {
863
651
  * session. This is generated by Fynd platform and is usually shipment_id.
864
652
  */
865
653
  requestId: string;
866
- body: PaymentPlatformModel.RefundSessionRequestSerializer;
654
+ body: PaymentPlatformModel.RefundSessionCreation;
867
655
  };
868
- type ValidateBeneficiaryAddressParam = {
869
- body: PaymentPlatformModel.ValidateValidateAddressRequest;
656
+ type ValidateCustomerAndCreditSummaryParam = {
657
+ body: PaymentPlatformModel.CustomerValidationSchema;
870
658
  };
871
659
  type VerifyCustomerForPaymentParam = {
872
- body: PaymentPlatformModel.ValidateCustomerRequest;
660
+ body: PaymentPlatformModel.ValidateCustomerCreation;
873
661
  };
874
662
  type EdcAggregatorsAndModelListParam = any;
875
663
  type EdcDeviceStatsParam = any;
876
- type GetDevicesParam = any;
664
+ type GetMerchantPaymentOptionParam = any;
877
665
  type GetPGConfigAggregatorsParam = any;
878
666
  type GetPaymentCodeOptionParam = any;
879
- type GetPennyDropValidationParam = any;
880
667
  import PaymentPlatformModel = require("./PaymentPlatformModel");