@gofynd/fdk-client-javascript 1.1.6 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (321) hide show
  1. package/README.md +12 -0
  2. package/index.js +0 -3
  3. package/package.json +1 -1
  4. package/sdk/application/ApplicationAPIClient.d.ts +15 -1
  5. package/sdk/application/ApplicationAPIClient.js +8 -1
  6. package/sdk/application/ApplicationClient.d.ts +37 -6
  7. package/sdk/application/ApplicationClient.js +31 -0
  8. package/sdk/application/ApplicationConfig.d.ts +52 -12
  9. package/sdk/application/ApplicationConfig.js +37 -2
  10. package/sdk/application/ApplicationModels.d.ts +46 -1
  11. package/sdk/application/ApplicationModels.js +18 -0
  12. package/sdk/application/Cart/CartApplicationClient.d.ts +172 -357
  13. package/sdk/application/Cart/CartApplicationClient.js +620 -483
  14. package/sdk/application/Cart/CartApplicationModel.d.ts +2054 -96
  15. package/sdk/application/Cart/CartApplicationModel.js +1224 -93
  16. package/sdk/application/Cart/CartApplicationValidator.d.ts +508 -30
  17. package/sdk/application/Cart/CartApplicationValidator.js +270 -15
  18. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +234 -413
  19. package/sdk/application/Catalog/CatalogApplicationClient.js +777 -630
  20. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +2218 -117
  21. package/sdk/application/Catalog/CatalogApplicationModel.js +1499 -170
  22. package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +798 -31
  23. package/sdk/application/Catalog/CatalogApplicationValidator.js +318 -3
  24. package/sdk/application/Common/CommonApplicationClient.d.ts +14 -21
  25. package/sdk/application/Common/CommonApplicationClient.js +50 -33
  26. package/sdk/application/Common/CommonApplicationModel.d.ts +448 -19
  27. package/sdk/application/Common/CommonApplicationModel.js +224 -16
  28. package/sdk/application/Common/CommonApplicationValidator.d.ts +42 -4
  29. package/sdk/application/Common/CommonApplicationValidator.js +21 -3
  30. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +25 -18
  31. package/sdk/application/Communication/CommunicationApplicationClient.js +74 -47
  32. package/sdk/application/Communication/CommunicationApplicationModel.d.ts +190 -14
  33. package/sdk/application/Communication/CommunicationApplicationModel.js +124 -7
  34. package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +27 -4
  35. package/sdk/application/Communication/CommunicationApplicationValidator.js +21 -5
  36. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +113 -112
  37. package/sdk/application/Configuration/ConfigurationApplicationClient.js +381 -260
  38. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +2453 -110
  39. package/sdk/application/Configuration/ConfigurationApplicationModel.js +1254 -108
  40. package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +160 -8
  41. package/sdk/application/Configuration/ConfigurationApplicationValidator.js +88 -4
  42. package/sdk/application/Content/ContentApplicationClient.d.ts +120 -138
  43. package/sdk/application/Content/ContentApplicationClient.js +409 -277
  44. package/sdk/application/Content/ContentApplicationModel.d.ts +1627 -105
  45. package/sdk/application/Content/ContentApplicationModel.js +1202 -109
  46. package/sdk/application/Content/ContentApplicationValidator.d.ts +214 -12
  47. package/sdk/application/Content/ContentApplicationValidator.js +113 -3
  48. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +20 -29
  49. package/sdk/application/FileStorage/FileStorageApplicationClient.js +68 -47
  50. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +299 -20
  51. package/sdk/application/FileStorage/FileStorageApplicationModel.js +209 -16
  52. package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +55 -5
  53. package/sdk/application/FileStorage/FileStorageApplicationValidator.js +33 -6
  54. package/sdk/application/Lead/LeadApplicationClient.d.ts +50 -53
  55. package/sdk/application/Lead/LeadApplicationClient.js +169 -103
  56. package/sdk/application/Lead/LeadApplicationModel.d.ts +1405 -54
  57. package/sdk/application/Lead/LeadApplicationModel.js +619 -73
  58. package/sdk/application/Lead/LeadApplicationValidator.d.ts +91 -9
  59. package/sdk/application/Lead/LeadApplicationValidator.js +51 -6
  60. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +34 -33
  61. package/sdk/application/Logistic/LogisticApplicationClient.js +110 -73
  62. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +399 -28
  63. package/sdk/application/Logistic/LogisticApplicationModel.js +293 -24
  64. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +48 -6
  65. package/sdk/application/Logistic/LogisticApplicationValidator.js +34 -6
  66. package/sdk/application/Order/OrderApplicationClient.d.ts +81 -133
  67. package/sdk/application/Order/OrderApplicationClient.js +297 -217
  68. package/sdk/application/Order/OrderApplicationModel.d.ts +1101 -66
  69. package/sdk/application/Order/OrderApplicationModel.js +776 -57
  70. package/sdk/application/Order/OrderApplicationValidator.d.ts +249 -14
  71. package/sdk/application/Order/OrderApplicationValidator.js +114 -5
  72. package/sdk/application/Payment/PaymentApplicationClient.d.ts +341 -356
  73. package/sdk/application/Payment/PaymentApplicationClient.js +1077 -703
  74. package/sdk/application/Payment/PaymentApplicationModel.d.ts +3125 -99
  75. package/sdk/application/Payment/PaymentApplicationModel.js +1158 -62
  76. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +494 -41
  77. package/sdk/application/Payment/PaymentApplicationValidator.js +297 -25
  78. package/sdk/application/PosCart/PosCartApplicationClient.d.ts +178 -350
  79. package/sdk/application/PosCart/PosCartApplicationClient.js +636 -491
  80. package/sdk/application/PosCart/PosCartApplicationModel.d.ts +1823 -89
  81. package/sdk/application/PosCart/PosCartApplicationModel.js +1117 -85
  82. package/sdk/application/PosCart/PosCartApplicationValidator.d.ts +480 -29
  83. package/sdk/application/PosCart/PosCartApplicationValidator.js +262 -15
  84. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +49 -47
  85. package/sdk/application/Rewards/RewardsApplicationClient.js +160 -102
  86. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +343 -22
  87. package/sdk/application/Rewards/RewardsApplicationModel.js +230 -15
  88. package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +70 -7
  89. package/sdk/application/Rewards/RewardsApplicationValidator.js +45 -6
  90. package/sdk/application/Share/ShareApplicationClient.d.ts +44 -50
  91. package/sdk/application/Share/ShareApplicationClient.js +165 -97
  92. package/sdk/application/Share/ShareApplicationModel.d.ts +230 -15
  93. package/sdk/application/Share/ShareApplicationModel.js +154 -16
  94. package/sdk/application/Share/ShareApplicationValidator.d.ts +86 -8
  95. package/sdk/application/Share/ShareApplicationValidator.js +48 -4
  96. package/sdk/application/Theme/ThemeApplicationClient.d.ts +25 -27
  97. package/sdk/application/Theme/ThemeApplicationClient.js +83 -54
  98. package/sdk/application/Theme/ThemeApplicationModel.d.ts +621 -48
  99. package/sdk/application/Theme/ThemeApplicationModel.js +464 -40
  100. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +49 -5
  101. package/sdk/application/Theme/ThemeApplicationValidator.js +26 -3
  102. package/sdk/application/User/UserApplicationClient.d.ts +219 -303
  103. package/sdk/application/User/UserApplicationClient.js +819 -522
  104. package/sdk/application/User/UserApplicationModel.d.ts +1390 -101
  105. package/sdk/application/User/UserApplicationModel.js +983 -44
  106. package/sdk/application/User/UserApplicationValidator.d.ts +457 -33
  107. package/sdk/application/User/UserApplicationValidator.js +265 -31
  108. package/sdk/common/AxiosHelper.js +8 -2
  109. package/sdk/common/Paginator.d.ts +27 -12
  110. package/sdk/common/Paginator.js +15 -0
  111. package/sdk/common/RequestSigner.js +0 -1
  112. package/sdk/partner/PartnerAPIClient.d.ts +15 -1
  113. package/sdk/partner/PartnerAPIClient.js +8 -1
  114. package/sdk/partner/PartnerClient.d.ts +20 -3
  115. package/sdk/partner/PartnerClient.js +17 -0
  116. package/sdk/partner/PartnerConfig.d.ts +40 -14
  117. package/sdk/partner/PartnerConfig.js +31 -6
  118. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +26 -25
  119. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +82 -53
  120. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +202 -17
  121. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +139 -10
  122. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +42 -5
  123. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +26 -4
  124. package/sdk/platform/Billing/BillingPlatformClient.d.ts +88 -97
  125. package/sdk/platform/Billing/BillingPlatformClient.js +310 -191
  126. package/sdk/platform/Billing/BillingPlatformModel.d.ts +1211 -68
  127. package/sdk/platform/Billing/BillingPlatformModel.js +824 -59
  128. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +153 -12
  129. package/sdk/platform/Billing/BillingPlatformValidator.js +87 -8
  130. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +392 -634
  131. package/sdk/platform/Cart/CartPlatformApplicationClient.js +1480 -957
  132. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +827 -57
  133. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +492 -34
  134. package/sdk/platform/Cart/CartPlatformModel.d.ts +3639 -175
  135. package/sdk/platform/Cart/CartPlatformModel.js +2368 -212
  136. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +438 -615
  137. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +1449 -984
  138. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +1081 -49
  139. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +482 -23
  140. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +573 -824
  141. package/sdk/platform/Catalog/CatalogPlatformClient.js +1773 -1264
  142. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +6871 -326
  143. package/sdk/platform/Catalog/CatalogPlatformModel.js +4215 -349
  144. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +1331 -71
  145. package/sdk/platform/Catalog/CatalogPlatformValidator.js +611 -30
  146. package/sdk/platform/Common/CommonPlatformClient.d.ts +14 -21
  147. package/sdk/platform/Common/CommonPlatformClient.js +48 -33
  148. package/sdk/platform/Common/CommonPlatformModel.d.ts +448 -19
  149. package/sdk/platform/Common/CommonPlatformModel.js +224 -16
  150. package/sdk/platform/Common/CommonPlatformValidator.d.ts +42 -4
  151. package/sdk/platform/Common/CommonPlatformValidator.js +21 -3
  152. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +457 -279
  153. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +1423 -553
  154. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +581 -42
  155. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +294 -22
  156. package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +18 -5
  157. package/sdk/platform/Communication/CommunicationPlatformClient.js +58 -19
  158. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +1630 -102
  159. package/sdk/platform/Communication/CommunicationPlatformModel.js +1150 -85
  160. package/sdk/platform/Communication/CommunicationPlatformValidator.d.ts +16 -3
  161. package/sdk/platform/Communication/CommunicationPlatformValidator.js +11 -3
  162. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +102 -111
  163. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +321 -225
  164. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +830 -43
  165. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +612 -78
  166. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +180 -13
  167. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +98 -10
  168. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +232 -212
  169. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +737 -438
  170. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +293 -22
  171. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +184 -17
  172. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +166 -178
  173. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +519 -310
  174. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +4504 -188
  175. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +2242 -204
  176. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +332 -19
  177. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +153 -10
  178. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +495 -560
  179. package/sdk/platform/Content/ContentPlatformApplicationClient.js +1777 -987
  180. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +872 -62
  181. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +487 -35
  182. package/sdk/platform/Content/ContentPlatformModel.d.ts +1661 -108
  183. package/sdk/platform/Content/ContentPlatformModel.js +1217 -113
  184. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +67 -101
  185. package/sdk/platform/Discount/DiscountPlatformClient.js +240 -176
  186. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +242 -15
  187. package/sdk/platform/Discount/DiscountPlatformModel.js +162 -10
  188. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +185 -13
  189. package/sdk/platform/Discount/DiscountPlatformValidator.js +88 -8
  190. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +32 -41
  191. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +106 -74
  192. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +77 -6
  193. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +41 -6
  194. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +39 -54
  195. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +124 -99
  196. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +299 -20
  197. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +207 -16
  198. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +98 -8
  199. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +54 -7
  200. package/sdk/platform/Finance/FinancePlatformClient.d.ts +85 -91
  201. package/sdk/platform/Finance/FinancePlatformClient.js +272 -180
  202. package/sdk/platform/Finance/FinancePlatformModel.d.ts +619 -50
  203. package/sdk/platform/Finance/FinancePlatformModel.js +458 -30
  204. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +123 -15
  205. package/sdk/platform/Finance/FinancePlatformValidator.js +95 -16
  206. package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +99 -97
  207. package/sdk/platform/Inventory/InventoryPlatformClient.js +288 -199
  208. package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +1354 -61
  209. package/sdk/platform/Inventory/InventoryPlatformModel.js +916 -83
  210. package/sdk/platform/Inventory/InventoryPlatformValidator.d.ts +168 -12
  211. package/sdk/platform/Inventory/InventoryPlatformValidator.js +82 -6
  212. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +86 -106
  213. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +326 -186
  214. package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +180 -14
  215. package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +94 -9
  216. package/sdk/platform/Lead/LeadPlatformClient.d.ts +75 -101
  217. package/sdk/platform/Lead/LeadPlatformClient.js +240 -174
  218. package/sdk/platform/Lead/LeadPlatformModel.d.ts +1403 -54
  219. package/sdk/platform/Lead/LeadPlatformModel.js +618 -73
  220. package/sdk/platform/Lead/LeadPlatformValidator.d.ts +173 -12
  221. package/sdk/platform/Lead/LeadPlatformValidator.js +85 -8
  222. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +18 -14
  223. package/sdk/platform/Order/OrderPlatformApplicationClient.js +56 -29
  224. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +26 -4
  225. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +16 -3
  226. package/sdk/platform/Order/OrderPlatformClient.d.ts +343 -556
  227. package/sdk/platform/Order/OrderPlatformClient.js +969 -762
  228. package/sdk/platform/Order/OrderPlatformModel.d.ts +4967 -247
  229. package/sdk/platform/Order/OrderPlatformModel.js +3249 -259
  230. package/sdk/platform/Order/OrderPlatformValidator.d.ts +758 -37
  231. package/sdk/platform/Order/OrderPlatformValidator.js +351 -22
  232. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +28 -36
  233. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +103 -59
  234. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +66 -6
  235. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +32 -4
  236. package/sdk/platform/Partner/PartnerPlatformClient.d.ts +68 -107
  237. package/sdk/platform/Partner/PartnerPlatformClient.js +253 -174
  238. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +767 -45
  239. package/sdk/platform/Partner/PartnerPlatformModel.js +524 -41
  240. package/sdk/platform/Partner/PartnerPlatformValidator.d.ts +207 -13
  241. package/sdk/platform/Partner/PartnerPlatformValidator.js +87 -5
  242. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +255 -260
  243. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +860 -504
  244. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +348 -30
  245. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +221 -19
  246. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +73 -73
  247. package/sdk/platform/Payment/PaymentPlatformClient.js +238 -154
  248. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +2658 -93
  249. package/sdk/platform/Payment/PaymentPlatformModel.js +1035 -36
  250. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +111 -11
  251. package/sdk/platform/Payment/PaymentPlatformValidator.js +68 -7
  252. package/sdk/platform/PlatformAPIClient.d.ts +16 -1
  253. package/sdk/platform/PlatformAPIClient.js +9 -1
  254. package/sdk/platform/PlatformApplicationClient.d.ts +22 -1798
  255. package/sdk/platform/PlatformApplicationClient.js +17 -1899
  256. package/sdk/platform/PlatformClient.d.ts +29 -12579
  257. package/sdk/platform/PlatformClient.js +26 -15085
  258. package/sdk/platform/PlatformConfig.d.ts +37 -11
  259. package/sdk/platform/PlatformConfig.js +32 -6
  260. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +80 -92
  261. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +307 -177
  262. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +149 -12
  263. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +82 -8
  264. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +371 -23
  265. package/sdk/platform/Rewards/RewardsPlatformModel.js +246 -16
  266. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +120 -89
  267. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +349 -201
  268. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +128 -12
  269. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +85 -11
  270. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +148 -178
  271. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +454 -329
  272. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +1399 -96
  273. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +1022 -71
  274. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +280 -18
  275. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +134 -11
  276. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +38 -47
  277. package/sdk/platform/Share/SharePlatformApplicationClient.js +137 -73
  278. package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +87 -7
  279. package/sdk/platform/Share/SharePlatformApplicationValidator.js +42 -5
  280. package/sdk/platform/Share/SharePlatformModel.d.ts +250 -16
  281. package/sdk/platform/Share/SharePlatformModel.js +165 -17
  282. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +149 -183
  283. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +579 -330
  284. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +308 -24
  285. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +162 -10
  286. package/sdk/platform/Theme/ThemePlatformModel.d.ts +621 -48
  287. package/sdk/platform/Theme/ThemePlatformModel.js +464 -40
  288. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +119 -151
  289. package/sdk/platform/User/UserPlatformApplicationClient.js +411 -244
  290. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +235 -18
  291. package/sdk/platform/User/UserPlatformApplicationValidator.js +126 -12
  292. package/sdk/platform/User/UserPlatformModel.d.ts +1390 -101
  293. package/sdk/platform/User/UserPlatformModel.js +983 -44
  294. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +38 -47
  295. package/sdk/platform/Webhook/WebhookPlatformClient.js +137 -87
  296. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +242 -16
  297. package/sdk/platform/Webhook/WebhookPlatformModel.js +167 -18
  298. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +83 -7
  299. package/sdk/platform/Webhook/WebhookPlatformValidator.js +43 -5
  300. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +14 -21
  301. package/sdk/public/Configuration/ConfigurationPublicClient.js +46 -33
  302. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +473 -19
  303. package/sdk/public/Configuration/ConfigurationPublicModel.js +224 -16
  304. package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +42 -4
  305. package/sdk/public/Configuration/ConfigurationPublicValidator.js +21 -3
  306. package/sdk/public/Inventory/InventoryPublicClient.d.ts +48 -48
  307. package/sdk/public/Inventory/InventoryPublicClient.js +146 -98
  308. package/sdk/public/Inventory/InventoryPublicModel.d.ts +392 -21
  309. package/sdk/public/Inventory/InventoryPublicModel.js +267 -27
  310. package/sdk/public/Inventory/InventoryPublicValidator.d.ts +90 -8
  311. package/sdk/public/Inventory/InventoryPublicValidator.js +44 -4
  312. package/sdk/public/PublicClient.d.ts +19 -3
  313. package/sdk/public/PublicClient.js +16 -0
  314. package/sdk/public/PublicConfig.d.ts +27 -6
  315. package/sdk/public/PublicConfig.js +17 -1
  316. package/sdk/public/Webhook/WebhookPublicClient.d.ts +13 -11
  317. package/sdk/public/Webhook/WebhookPublicClient.js +42 -27
  318. package/sdk/public/Webhook/WebhookPublicModel.d.ts +242 -16
  319. package/sdk/public/Webhook/WebhookPublicModel.js +167 -18
  320. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +18 -3
  321. package/sdk/public/Webhook/WebhookPublicValidator.js +14 -4
@@ -49,463 +49,448 @@ declare class Payment {
49
49
  _urls: {};
50
50
  updateUrls(urls: any): void;
51
51
  /**
52
- * @param {Object} arg - Arg object.
53
- * @param {AddBeneficiaryDetailsRequest} arg.body
54
- * @returns {Promise<RefundAccountResponse>} - Success response
52
+ * @param {PaymentApplicationValidator.AddBeneficiaryDetailsParam} arg - Arg object.
53
+ * @param {import("../ApplicationAPIClient").Options} - Options
54
+ * @returns {Promise<PaymentApplicationModel.RefundAccountResponse>} -
55
+ * Success response
56
+ * @name addBeneficiaryDetails
55
57
  * @summary: Save bank details for cancelled/returned order
56
- * @description: Use this API to save the bank details for a returned or cancelled order to refund the amount.
58
+ * @description: Use this API to save the bank details for a returned or cancelled order to refund the amount. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/addBeneficiaryDetails/).
57
59
  */
58
- addBeneficiaryDetails({ body }?: {
59
- body: AddBeneficiaryDetailsRequest;
60
- }): Promise<RefundAccountResponse>;
60
+ addBeneficiaryDetails({ body }?: PaymentApplicationValidator.AddBeneficiaryDetailsParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.RefundAccountResponse>;
61
61
  /**
62
- * @param {Object} arg - Arg object.
63
- * @param {AddBeneficiaryDetailsOTPRequest} arg.body
64
- * @returns {Promise<RefundAccountResponse>} - Success response
62
+ * @param {PaymentApplicationValidator.AddRefundBankAccountUsingOTPParam} arg
63
+ * - Arg object.
64
+ *
65
+ * @param {import("../ApplicationAPIClient").Options} - Options
66
+ * @returns {Promise<PaymentApplicationModel.RefundAccountResponse>} -
67
+ * Success response
68
+ * @name addRefundBankAccountUsingOTP
65
69
  * @summary: Save bank details for cancelled/returned order
66
- * @description: Use this API to save bank details for returned/cancelled order to refund amount in his account.
70
+ * @description: Use this API to save bank details for returned/cancelled order to refund amount in his account. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/addRefundBankAccountUsingOTP/).
67
71
  */
68
- addRefundBankAccountUsingOTP({ body }?: {
69
- body: AddBeneficiaryDetailsOTPRequest;
70
- }): Promise<RefundAccountResponse>;
72
+ addRefundBankAccountUsingOTP({ body }?: PaymentApplicationValidator.AddRefundBankAccountUsingOTPParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.RefundAccountResponse>;
71
73
  /**
72
- * @param {Object} arg - Arg object.
73
- * @param {AttachCardRequest} arg.body
74
- * @returns {Promise<AttachCardsResponse>} - Success response
74
+ * @param {PaymentApplicationValidator.AttachCardToCustomerParam} arg - Arg object.
75
+ * @param {import("../ApplicationAPIClient").Options} - Options
76
+ * @returns {Promise<PaymentApplicationModel.AttachCardsResponse>} - Success response
77
+ * @name attachCardToCustomer
75
78
  * @summary: Attach a saved card to customer.
76
- * @description: Use this API to attach a customer's saved card at the payment gateway, such as Stripe, Juspay.
79
+ * @description: Use this API to attach a customer's saved card at the payment gateway, such as Stripe, Juspay. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/attachCardToCustomer/).
77
80
  */
78
- attachCardToCustomer({ body }?: {
79
- body: AttachCardRequest;
80
- }): Promise<AttachCardsResponse>;
81
+ attachCardToCustomer({ body }?: PaymentApplicationValidator.AttachCardToCustomerParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.AttachCardsResponse>;
81
82
  /**
82
- * @param {Object} arg - Arg object.
83
- * @param {CancelOrResendPaymentLinkRequest} arg.body
84
- * @returns {Promise<CancelPaymentLinkResponse>} - Success response
83
+ * @param {PaymentApplicationValidator.CancelPaymentLinkParam} arg - Arg object.
84
+ * @param {import("../ApplicationAPIClient").Options} - Options
85
+ * @returns {Promise<PaymentApplicationModel.CancelPaymentLinkResponse>} -
86
+ * Success response
87
+ * @name cancelPaymentLink
85
88
  * @summary: Cancel payment link
86
- * @description: Use this API to cancel a payment link for the customer
89
+ * @description: Use this API to cancel a payment link for the customer - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/cancelPaymentLink/).
87
90
  */
88
- cancelPaymentLink({ body }?: {
89
- body: CancelOrResendPaymentLinkRequest;
90
- }): Promise<CancelPaymentLinkResponse>;
91
+ cancelPaymentLink({ body }?: PaymentApplicationValidator.CancelPaymentLinkParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.CancelPaymentLinkResponse>;
91
92
  /**
92
- * @param {Object} arg - Arg object.
93
- * @param {string} arg.cardInfo - Card first 6 digit IIN(prefix) number.
94
- * @param {string} [arg.aggregator] -
95
- * @returns {Promise<CardDetailsResponse>} - Success response
93
+ * @param {PaymentApplicationValidator.CardDetailsParam} arg - Arg object.
94
+ * @param {import("../ApplicationAPIClient").Options} - Options
95
+ * @returns {Promise<PaymentApplicationModel.CardDetailsResponse>} - Success response
96
+ * @name cardDetails
96
97
  * @summary: API to get Card info from PG
97
- * @description: API to get Card info from PG
98
- */
99
- cardDetails({ cardInfo, aggregator }?: {
100
- cardInfo: string;
101
- aggregator?: string;
102
- }): Promise<CardDetailsResponse>;
103
- /**
104
- * @param {Object} arg - Arg object.
105
- * @param {PaymentStatusUpdateRequest} arg.body
106
- * @returns {Promise<PaymentStatusUpdateResponse>} - Success response
98
+ * @description: API to get Card info from PG - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/cardDetails/).
99
+ */
100
+ cardDetails({ cardInfo, aggregator }?: PaymentApplicationValidator.CardDetailsParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.CardDetailsResponse>;
101
+ /**
102
+ * @param {PaymentApplicationValidator.CheckAndUpdatePaymentStatusParam} arg
103
+ * - Arg object.
104
+ *
105
+ * @param {import("../ApplicationAPIClient").Options} - Options
106
+ * @returns {Promise<PaymentApplicationModel.PaymentStatusUpdateResponse>}
107
+ * - Success response
108
+ *
109
+ * @name checkAndUpdatePaymentStatus
107
110
  * @summary: Performs continuous polling to check status of payment on the server
108
- * @description: Use this API to perform continuous polling at intervals to check the status of payment until timeout.
109
- */
110
- checkAndUpdatePaymentStatus({ body }?: {
111
- body: PaymentStatusUpdateRequest;
112
- }): Promise<PaymentStatusUpdateResponse>;
113
- /**
114
- * @param {Object} arg - Arg object.
115
- * @param {PaymentStatusUpdateRequest} arg.body
116
- * @returns {Promise<PaymentStatusUpdateResponse>} - Success response
111
+ * @description: Use this API to perform continuous polling at intervals to check the status of payment until timeout. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/checkAndUpdatePaymentStatus/).
112
+ */
113
+ checkAndUpdatePaymentStatus({ body }?: PaymentApplicationValidator.CheckAndUpdatePaymentStatusParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.PaymentStatusUpdateResponse>;
114
+ /**
115
+ * @param {PaymentApplicationValidator.CheckAndUpdatePaymentStatusPaymentLinkParam} arg
116
+ * - Arg object.
117
+ *
118
+ * @param {import("../ApplicationAPIClient").Options} - Options
119
+ * @returns {Promise<PaymentApplicationModel.PaymentStatusUpdateResponse>}
120
+ * - Success response
121
+ *
122
+ * @name checkAndUpdatePaymentStatusPaymentLink
117
123
  * @summary: Performs continuous polling to check status of payment on the server
118
- * @description: Use this API to perform continuous polling at intervals to check the status of payment until timeout.
124
+ * @description: Use this API to perform continuous polling at intervals to check the status of payment until timeout. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/checkAndUpdatePaymentStatusPaymentLink/).
119
125
  */
120
- checkAndUpdatePaymentStatusPaymentLink({ body }?: {
121
- body: PaymentStatusUpdateRequest;
122
- }): Promise<PaymentStatusUpdateResponse>;
126
+ checkAndUpdatePaymentStatusPaymentLink({ body }?: PaymentApplicationValidator.CheckAndUpdatePaymentStatusPaymentLinkParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.PaymentStatusUpdateResponse>;
123
127
  /**
124
- * @param {Object} arg - Arg object.
125
- * @param {string} [arg.aggregator] -
126
- * @returns {Promise<CheckCreditResponse>} - Success response
128
+ * @param {PaymentApplicationValidator.CheckCreditParam} arg - Arg object.
129
+ * @param {import("../ApplicationAPIClient").Options} - Options
130
+ * @returns {Promise<PaymentApplicationModel.CheckCreditResponse>} - Success response
131
+ * @name checkCredit
127
132
  * @summary: API to fetch the customer credit summary
128
- * @description: Use this API to fetch the customer credit summary.
133
+ * @description: Use this API to fetch the customer credit summary. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/checkCredit/).
129
134
  */
130
- checkCredit({ aggregator }?: {
131
- aggregator?: string;
132
- }): Promise<CheckCreditResponse>;
135
+ checkCredit({ aggregator }?: PaymentApplicationValidator.CheckCreditParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.CheckCreditResponse>;
133
136
  /**
134
- * @param {Object} arg - Arg object.
135
- * @param {CreateOrderUserRequest} arg.body
136
- * @returns {Promise<CreateOrderUserResponse>} - Success response
137
+ * @param {PaymentApplicationValidator.CreateOrderHandlerPaymentLinkParam} arg
138
+ * - Arg object.
139
+ *
140
+ * @param {import("../ApplicationAPIClient").Options} - Options
141
+ * @returns {Promise<PaymentApplicationModel.CreateOrderUserResponse>} -
142
+ * Success response
143
+ * @name createOrderHandlerPaymentLink
137
144
  * @summary: Create Order user
138
- * @description: Use this API to create a order and payment on aggregator side
145
+ * @description: Use this API to create a order and payment on aggregator side - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/createOrderHandlerPaymentLink/).
139
146
  */
140
- createOrderHandlerPaymentLink({ body }?: {
141
- body: CreateOrderUserRequest;
142
- }): Promise<CreateOrderUserResponse>;
147
+ createOrderHandlerPaymentLink({ body }?: PaymentApplicationValidator.CreateOrderHandlerPaymentLinkParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.CreateOrderUserResponse>;
143
148
  /**
144
- * @param {Object} arg - Arg object.
145
- * @param {CreatePaymentLinkRequest} arg.body
146
- * @returns {Promise<CreatePaymentLinkResponse>} - Success response
149
+ * @param {PaymentApplicationValidator.CreatePaymentLinkParam} arg - Arg object.
150
+ * @param {import("../ApplicationAPIClient").Options} - Options
151
+ * @returns {Promise<PaymentApplicationModel.CreatePaymentLinkResponse>} -
152
+ * Success response
153
+ * @name createPaymentLink
147
154
  * @summary: Create payment link
148
- * @description: Use this API to create a payment link for the customer
155
+ * @description: Use this API to create a payment link for the customer - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/createPaymentLink/).
149
156
  */
150
- createPaymentLink({ body }?: {
151
- body: CreatePaymentLinkRequest;
152
- }): Promise<CreatePaymentLinkResponse>;
157
+ createPaymentLink({ body }?: PaymentApplicationValidator.CreatePaymentLinkParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.CreatePaymentLinkResponse>;
153
158
  /**
154
- * @param {Object} arg - Arg object.
155
- * @param {string} [arg.aggregator] -
156
- * @returns {Promise<CustomerCreditSummaryResponse>} - Success response
159
+ * @param {PaymentApplicationValidator.CustomerCreditSummaryParam} arg - Arg object.
160
+ * @param {import("../ApplicationAPIClient").Options} - Options
161
+ * @returns {Promise<PaymentApplicationModel.CustomerCreditSummaryResponse>}
162
+ * - Success response
163
+ *
164
+ * @name customerCreditSummary
157
165
  * @summary: API to fetch the customer credit summary
158
- * @description: Use this API to fetch the customer credit summary.
166
+ * @description: Use this API to fetch the customer credit summary. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/customerCreditSummary/).
159
167
  */
160
- customerCreditSummary({ aggregator }?: {
161
- aggregator?: string;
162
- }): Promise<CustomerCreditSummaryResponse>;
168
+ customerCreditSummary({ aggregator }?: PaymentApplicationValidator.CustomerCreditSummaryParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.CustomerCreditSummaryResponse>;
163
169
  /**
164
- * @param {Object} arg - Arg object.
165
- * @param {CustomerOnboardingRequest} arg.body
166
- * @returns {Promise<CustomerOnboardingResponse>} - Success response
170
+ * @param {PaymentApplicationValidator.CustomerOnboardParam} arg - Arg object.
171
+ * @param {import("../ApplicationAPIClient").Options} - Options
172
+ * @returns {Promise<PaymentApplicationModel.CustomerOnboardingResponse>} -
173
+ * Success response
174
+ * @name customerOnboard
167
175
  * @summary: API to fetch the customer credit summary
168
- * @description: Use this API to fetch the customer credit summary.
176
+ * @description: Use this API to fetch the customer credit summary. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/customerOnboard/).
169
177
  */
170
- customerOnboard({ body }?: {
171
- body: CustomerOnboardingRequest;
172
- }): Promise<CustomerOnboardingResponse>;
178
+ customerOnboard({ body }?: PaymentApplicationValidator.CustomerOnboardParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.CustomerOnboardingResponse>;
173
179
  /**
174
- * @param {Object} arg - Arg object.
175
- * @param {DeletehCardRequest} arg.body
176
- * @returns {Promise<DeleteCardsResponse>} - Success response
180
+ * @param {PaymentApplicationValidator.DeleteUserCardParam} arg - Arg object.
181
+ * @param {import("../ApplicationAPIClient").Options} - Options
182
+ * @returns {Promise<PaymentApplicationModel.DeleteCardsResponse>} - Success response
183
+ * @name deleteUserCard
177
184
  * @summary: Delete a card
178
- * @description: Use this API to delete a card added by a user on the payment gateway and clear the cache.
179
- */
180
- deleteUserCard({ body }?: {
181
- body: DeletehCardRequest;
182
- }): Promise<DeleteCardsResponse>;
183
- /**
184
- * @param {Object} arg - Arg object.
185
- * @param {UpdateRefundTransferModeRequest} arg.body
186
- * @returns {Promise<UpdateRefundTransferModeResponse>} - Success response
185
+ * @description: Use this API to delete a card added by a user on the payment gateway and clear the cache. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/deleteUserCard/).
186
+ */
187
+ deleteUserCard({ body }?: PaymentApplicationValidator.DeleteUserCardParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.DeleteCardsResponse>;
188
+ /**
189
+ * @param {PaymentApplicationValidator.EnableOrDisableRefundTransferModeParam} arg
190
+ * - Arg object.
191
+ *
192
+ * @param {import("../ApplicationAPIClient").Options} - Options
193
+ * @returns {Promise<PaymentApplicationModel.UpdateRefundTransferModeResponse>}
194
+ * - Success response
195
+ *
196
+ * @name enableOrDisableRefundTransferMode
187
197
  * @summary: Enable/Disable a mode for transferring a refund
188
- * @description: Activate or Deactivate Transfer Mode to collect Beneficiary Details for Refund
198
+ * @description: Activate or Deactivate Transfer Mode to collect Beneficiary Details for Refund - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/enableOrDisableRefundTransferMode/).
189
199
  */
190
- enableOrDisableRefundTransferMode({ body }?: {
191
- body: UpdateRefundTransferModeRequest;
192
- }): Promise<UpdateRefundTransferModeResponse>;
200
+ enableOrDisableRefundTransferMode({ body }?: PaymentApplicationValidator.EnableOrDisableRefundTransferModeParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.UpdateRefundTransferModeResponse>;
193
201
  /**
194
- * @param {Object} arg - Arg object.
195
- * @param {boolean} [arg.refresh] -
196
- * @returns {Promise<ActiveCardPaymentGatewayResponse>} - Success response
202
+ * @param {PaymentApplicationValidator.GetActiveCardAggregatorParam} arg - Arg object.
203
+ * @param {import("../ApplicationAPIClient").Options} - Options
204
+ * @returns {Promise<PaymentApplicationModel.ActiveCardPaymentGatewayResponse>}
205
+ * - Success response
206
+ *
207
+ * @name getActiveCardAggregator
197
208
  * @summary: Fetch active payment gateway for card payments
198
- * @description: Use this API to retrieve an active payment aggregator along with the Customer ID. This is applicable for cards payments only.
209
+ * @description: Use this API to retrieve an active payment aggregator along with the Customer ID. This is applicable for cards payments only. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getActiveCardAggregator/).
199
210
  */
200
- getActiveCardAggregator({ refresh }?: {
201
- refresh?: boolean;
202
- }): Promise<ActiveCardPaymentGatewayResponse>;
211
+ getActiveCardAggregator({ refresh }?: PaymentApplicationValidator.GetActiveCardAggregatorParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.ActiveCardPaymentGatewayResponse>;
203
212
  /**
204
- * @param {Object} arg - Arg object.
205
- * @returns {Promise<TransferModeResponse>} - Success response
213
+ * @param {import("../ApplicationAPIClient").Options} - Options
214
+ * @returns {Promise<PaymentApplicationModel.TransferModeResponse>} - Success response
215
+ * @name getActiveRefundTransferModes
206
216
  * @summary: Lists the mode of refund
207
- * @description: Use this API to retrieve eligible refund modes (such as Netbanking) and add the beneficiary details.
217
+ * @description: Use this API to retrieve eligible refund modes (such as Netbanking) and add the beneficiary details. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getActiveRefundTransferModes/).
208
218
  */
209
- getActiveRefundTransferModes({}?: any): Promise<TransferModeResponse>;
219
+ getActiveRefundTransferModes({ headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.TransferModeResponse>;
210
220
  /**
211
- * @param {Object} arg - Arg object.
212
- * @param {boolean} [arg.forceRefresh] -
213
- * @returns {Promise<ListCardsResponse>} - Success response
221
+ * @param {PaymentApplicationValidator.GetActiveUserCardsParam} arg - Arg object.
222
+ * @param {import("../ApplicationAPIClient").Options} - Options
223
+ * @returns {Promise<PaymentApplicationModel.ListCardsResponse>} - Success response
224
+ * @name getActiveUserCards
214
225
  * @summary: Fetch the list of cards saved by the user
215
- * @description: Use this API to retrieve a list of cards stored by user from an active payment gateway.
216
- */
217
- getActiveUserCards({ forceRefresh }?: {
218
- forceRefresh?: boolean;
219
- }): Promise<ListCardsResponse>;
220
- /**
221
- * @param {Object} arg - Arg object.
222
- * @param {string} [arg.xApiToken] - Used for basic authentication.
223
- * @param {boolean} [arg.refresh] - This is a boolean value. Select `true`
224
- * to remove temporary cache files on payment gateway and replace with the
225
- * latest one.
226
- * @returns {Promise<AggregatorsConfigDetailResponse>} - Success response
226
+ * @description: Use this API to retrieve a list of cards stored by user from an active payment gateway. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getActiveUserCards/).
227
+ */
228
+ getActiveUserCards({ forceRefresh }?: PaymentApplicationValidator.GetActiveUserCardsParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.ListCardsResponse>;
229
+ /**
230
+ * @param {PaymentApplicationValidator.GetAggregatorsConfigParam} arg - Arg object.
231
+ * @param {import("../ApplicationAPIClient").Options} - Options
232
+ * @returns {Promise<PaymentApplicationModel.AggregatorsConfigDetailResponse>}
233
+ * - Success response
234
+ *
235
+ * @name getAggregatorsConfig
227
236
  * @summary: Get payment gateway keys
228
- * @description: Use this API to retrieve the payment gateway key, secrets, merchant, SDK/API details to complete a payment at front-end.
237
+ * @description: Use this API to retrieve the payment gateway key, secrets, merchant, SDK/API details to complete a payment at front-end. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getAggregatorsConfig/).
229
238
  */
230
- getAggregatorsConfig({ xApiToken, refresh }?: {
231
- xApiToken?: string;
232
- refresh?: boolean;
233
- }): Promise<AggregatorsConfigDetailResponse>;
239
+ getAggregatorsConfig({ xApiToken, refresh }?: PaymentApplicationValidator.GetAggregatorsConfigParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.AggregatorsConfigDetailResponse>;
234
240
  /**
235
- * @param {Object} arg - Arg object.
236
- * @returns {Promise<EpaylaterBannerResponse>} - Success response
241
+ * @param {import("../ApplicationAPIClient").Options} - Options
242
+ * @returns {Promise<PaymentApplicationModel.EpaylaterBannerResponse>} -
243
+ * Success response
244
+ * @name getEpaylaterBannerDetails
237
245
  * @summary: Get Epaylater Enabled
238
- * @description: Get Epaylater Enabled if user is tentatively approved by epaylater
246
+ * @description: Get Epaylater Enabled if user is tentatively approved by epaylater - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getEpaylaterBannerDetails/).
239
247
  */
240
- getEpaylaterBannerDetails({}?: any): Promise<EpaylaterBannerResponse>;
248
+ getEpaylaterBannerDetails({ headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.EpaylaterBannerResponse>;
241
249
  /**
242
- * @param {Object} arg - Arg object.
243
- * @param {string} arg.orderId - A unique number used for identifying and
244
- * tracking your orders.
245
- * @returns {Promise<OrderBeneficiaryResponse>} - Success response
250
+ * @param {PaymentApplicationValidator.GetOrderBeneficiariesDetailParam} arg
251
+ * - Arg object.
252
+ *
253
+ * @param {import("../ApplicationAPIClient").Options} - Options
254
+ * @returns {Promise<PaymentApplicationModel.OrderBeneficiaryResponse>} -
255
+ * Success response
256
+ * @name getOrderBeneficiariesDetail
246
257
  * @summary: Lists the beneficiary of a refund
247
- * @description: Use this API to get the details of all active beneficiary added by a user for refund.
258
+ * @description: Use this API to get the details of all active beneficiary added by a user for refund. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getOrderBeneficiariesDetail/).
248
259
  */
249
- getOrderBeneficiariesDetail({ orderId }?: {
250
- orderId: string;
251
- }): Promise<OrderBeneficiaryResponse>;
260
+ getOrderBeneficiariesDetail({ orderId }?: PaymentApplicationValidator.GetOrderBeneficiariesDetailParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.OrderBeneficiaryResponse>;
252
261
  /**
253
- * @param {Object} arg - Arg object.
254
- * @param {string} [arg.paymentLinkId] -
255
- * @returns {Promise<GetPaymentLinkResponse>} - Success response
262
+ * @param {PaymentApplicationValidator.GetPaymentLinkParam} arg - Arg object.
263
+ * @param {import("../ApplicationAPIClient").Options} - Options
264
+ * @returns {Promise<PaymentApplicationModel.GetPaymentLinkResponse>} -
265
+ * Success response
266
+ * @name getPaymentLink
256
267
  * @summary: Get payment link
257
- * @description: Use this API to get a payment link
258
- */
259
- getPaymentLink({ paymentLinkId }?: {
260
- paymentLinkId?: string;
261
- }): Promise<GetPaymentLinkResponse>;
262
- /**
263
- * @param {Object} arg - Arg object.
264
- * @param {number} arg.amount - Payable amount.
265
- * @param {string} arg.cartId - Identifier of the cart.
266
- * @param {string} arg.pincode - The PIN Code of the destination address, e.g. 400059
267
- * @param {string} arg.checkoutMode - Option to checkout for self or for others.
268
- * @param {boolean} [arg.refresh] - This is a boolean value. Select `true`
269
- * to remove temporary cache files on payment gateway and replace with the
270
- * latest one.
271
- * @param {string} [arg.cardReference] - Card reference id of user's debit
272
- * or credit card.
273
- * @param {string} [arg.userDetails] - URIencoded JSON containing details of
274
- * an anonymous user.
275
- * @returns {Promise<PaymentModeRouteResponse>} - Success response
268
+ * @description: Use this API to get a payment link - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getPaymentLink/).
269
+ */
270
+ getPaymentLink({ paymentLinkId }?: PaymentApplicationValidator.GetPaymentLinkParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.GetPaymentLinkResponse>;
271
+ /**
272
+ * @param {PaymentApplicationValidator.GetPaymentModeRoutesParam} arg - Arg object.
273
+ * @param {import("../ApplicationAPIClient").Options} - Options
274
+ * @returns {Promise<PaymentApplicationModel.PaymentModeRouteResponse>} -
275
+ * Success response
276
+ * @name getPaymentModeRoutes
276
277
  * @summary: Get applicable payment options
277
- * @description: Use this API to get all valid payment options for doing a payment.
278
- */
279
- getPaymentModeRoutes({ amount, cartId, pincode, checkoutMode, refresh, cardReference, userDetails, }?: {
280
- amount: number;
281
- cartId: string;
282
- pincode: string;
283
- checkoutMode: string;
284
- refresh?: boolean;
285
- cardReference?: string;
286
- userDetails?: string;
287
- }): Promise<PaymentModeRouteResponse>;
288
- /**
289
- * @param {Object} arg - Arg object.
290
- * @param {string} arg.paymentLinkId - Payment link id
291
- * @returns {Promise<PaymentModeRouteResponse>} - Success response
278
+ * @description: Use this API to get all valid payment options for doing a payment. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getPaymentModeRoutes/).
279
+ */
280
+ getPaymentModeRoutes({ amount, cartId, pincode, checkoutMode, refresh, cardReference, userDetails, }?: PaymentApplicationValidator.GetPaymentModeRoutesParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.PaymentModeRouteResponse>;
281
+ /**
282
+ * @param {PaymentApplicationValidator.GetPaymentModeRoutesPaymentLinkParam} arg
283
+ * - Arg object.
284
+ *
285
+ * @param {import("../ApplicationAPIClient").Options} - Options
286
+ * @returns {Promise<PaymentApplicationModel.PaymentModeRouteResponse>} -
287
+ * Success response
288
+ * @name getPaymentModeRoutesPaymentLink
292
289
  * @summary: Get applicable payment options for payment link
293
- * @description: Use this API to get all valid payment options for doing a payment through payment link
294
- */
295
- getPaymentModeRoutesPaymentLink({ paymentLinkId }?: {
296
- paymentLinkId: string;
297
- }): Promise<PaymentModeRouteResponse>;
298
- /**
299
- * @param {Object} arg - Arg object.
300
- * @param {number} arg.amount - Payable amount.
301
- * @param {string} arg.cartId - Identifier of the cart.
302
- * @param {string} arg.pincode - The PIN Code of the destination address, e.g. 400059
303
- * @param {string} arg.checkoutMode - Option to checkout for self or for others.
304
- * @param {boolean} [arg.refresh] - This is a boolean value. Select `true`
305
- * to remove temporary cache files on payment gateway and replace with the
306
- * latest one.
307
- * @param {string} [arg.cardReference] - Card reference id of user's debit
308
- * or credit card.
309
- * @param {string} arg.orderType - The order type of shipment * HomeDelivery
310
- * - If the customer wants the order home-delivered * PickAtStore - If the
311
- * customer wants the handover of an order at the store itself.
312
- * @param {string} [arg.userDetails] - URIencoded JSON containing details of
313
- * an anonymous user.
314
- * @returns {Promise<PaymentModeRouteResponse>} - Success response
290
+ * @description: Use this API to get all valid payment options for doing a payment through payment link - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getPaymentModeRoutesPaymentLink/).
291
+ */
292
+ getPaymentModeRoutesPaymentLink({ paymentLinkId }?: PaymentApplicationValidator.GetPaymentModeRoutesPaymentLinkParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.PaymentModeRouteResponse>;
293
+ /**
294
+ * @param {PaymentApplicationValidator.GetPosPaymentModeRoutesParam} arg - Arg object.
295
+ * @param {import("../ApplicationAPIClient").Options} - Options
296
+ * @returns {Promise<PaymentApplicationModel.PaymentModeRouteResponse>} -
297
+ * Success response
298
+ * @name getPosPaymentModeRoutes
315
299
  * @summary: Get applicable payment options for Point-of-Sale (POS)
316
- * @description: Use this API to get all valid payment options for doing a payment in POS.
317
- */
318
- getPosPaymentModeRoutes({ amount, cartId, pincode, checkoutMode, orderType, refresh, cardReference, userDetails, }?: {
319
- amount: number;
320
- cartId: string;
321
- pincode: string;
322
- checkoutMode: string;
323
- refresh?: boolean;
324
- cardReference?: string;
325
- orderType: string;
326
- userDetails?: string;
327
- }): Promise<PaymentModeRouteResponse>;
328
- /**
329
- * @param {Object} arg - Arg object.
330
- * @returns {Promise<RupifiBannerResponse>} - Success response
300
+ * @description: Use this API to get all valid payment options for doing a payment in POS. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getPosPaymentModeRoutes/).
301
+ */
302
+ getPosPaymentModeRoutes({ amount, cartId, pincode, checkoutMode, orderType, refresh, cardReference, userDetails, }?: PaymentApplicationValidator.GetPosPaymentModeRoutesParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.PaymentModeRouteResponse>;
303
+ /**
304
+ * @param {import("../ApplicationAPIClient").Options} - Options
305
+ * @returns {Promise<PaymentApplicationModel.RupifiBannerResponse>} - Success response
306
+ * @name getRupifiBannerDetails
331
307
  * @summary: Get CreditLine Offer
332
- * @description: Get CreditLine Offer if user is tentatively approved by rupifi
308
+ * @description: Get CreditLine Offer if user is tentatively approved by rupifi - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getRupifiBannerDetails/).
333
309
  */
334
- getRupifiBannerDetails({}?: any): Promise<RupifiBannerResponse>;
310
+ getRupifiBannerDetails({ headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.RupifiBannerResponse>;
335
311
  /**
336
- * @param {Object} arg - Arg object.
337
- * @param {string} arg.orderId - A unique number used for identifying and
338
- * tracking your orders.
339
- * @returns {Promise<OrderBeneficiaryResponse>} - Success response
312
+ * @param {PaymentApplicationValidator.GetUserBeneficiariesDetailParam} arg
313
+ * - Arg object.
314
+ *
315
+ * @param {import("../ApplicationAPIClient").Options} - Options
316
+ * @returns {Promise<PaymentApplicationModel.OrderBeneficiaryResponse>} -
317
+ * Success response
318
+ * @name getUserBeneficiariesDetail
340
319
  * @summary: Lists the beneficiary of a refund
341
- * @description: Use this API to get the details of all active beneficiary added by a user for refund.
320
+ * @description: Use this API to get the details of all active beneficiary added by a user for refund. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getUserBeneficiariesDetail/).
342
321
  */
343
- getUserBeneficiariesDetail({ orderId }?: {
344
- orderId: string;
345
- }): Promise<OrderBeneficiaryResponse>;
322
+ getUserBeneficiariesDetail({ orderId }?: PaymentApplicationValidator.GetUserBeneficiariesDetailParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.OrderBeneficiaryResponse>;
346
323
  /**
347
- * @param {Object} arg - Arg object.
348
- * @param {PaymentInitializationRequest} arg.body
349
- * @returns {Promise<PaymentInitializationResponse>} - Success response
324
+ * @param {PaymentApplicationValidator.InitialisePaymentParam} arg - Arg object.
325
+ * @param {import("../ApplicationAPIClient").Options} - Options
326
+ * @returns {Promise<PaymentApplicationModel.PaymentInitializationResponse>}
327
+ * - Success response
328
+ *
329
+ * @name initialisePayment
350
330
  * @summary: Initialize a payment (server-to-server) for UPI and BharatQR
351
- * @description: PUse this API to inititate payment using UPI, BharatQR, wherein the UPI requests are send to the app and QR code is displayed on the screen.
352
- */
353
- initialisePayment({ body }?: {
354
- body: PaymentInitializationRequest;
355
- }): Promise<PaymentInitializationResponse>;
356
- /**
357
- * @param {Object} arg - Arg object.
358
- * @param {PaymentInitializationRequest} arg.body
359
- * @returns {Promise<PaymentInitializationResponse>} - Success response
331
+ * @description: PUse this API to inititate payment using UPI, BharatQR, wherein the UPI requests are send to the app and QR code is displayed on the screen. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/initialisePayment/).
332
+ */
333
+ initialisePayment({ body }?: PaymentApplicationValidator.InitialisePaymentParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.PaymentInitializationResponse>;
334
+ /**
335
+ * @param {PaymentApplicationValidator.InitialisePaymentPaymentLinkParam} arg
336
+ * - Arg object.
337
+ *
338
+ * @param {import("../ApplicationAPIClient").Options} - Options
339
+ * @returns {Promise<PaymentApplicationModel.PaymentInitializationResponse>}
340
+ * - Success response
341
+ *
342
+ * @name initialisePaymentPaymentLink
360
343
  * @summary: Initialize a payment (server-to-server) for UPI and BharatQR
361
- * @description: Use this API to inititate payment using UPI, BharatQR, wherein the UPI requests are send to the app and QR code is displayed on the screen.
344
+ * @description: Use this API to inititate payment using UPI, BharatQR, wherein the UPI requests are send to the app and QR code is displayed on the screen. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/initialisePaymentPaymentLink/).
362
345
  */
363
- initialisePaymentPaymentLink({ body }?: {
364
- body: PaymentInitializationRequest;
365
- }): Promise<PaymentInitializationResponse>;
346
+ initialisePaymentPaymentLink({ body }?: PaymentApplicationValidator.InitialisePaymentPaymentLinkParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.PaymentInitializationResponse>;
366
347
  /**
367
- * @param {Object} arg - Arg object.
368
- * @param {string} [arg.aggregator] -
369
- * @returns {Promise<OutstandingOrderDetailsResponse>} - Success response
348
+ * @param {PaymentApplicationValidator.OutstandingOrderDetailsParam} arg - Arg object.
349
+ * @param {import("../ApplicationAPIClient").Options} - Options
350
+ * @returns {Promise<PaymentApplicationModel.OutstandingOrderDetailsResponse>}
351
+ * - Success response
352
+ *
353
+ * @name outstandingOrderDetails
370
354
  * @summary: API to fetch the outstanding order details
371
- * @description: Use this API to fetch the outstanding order details.
355
+ * @description: Use this API to fetch the outstanding order details. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/outstandingOrderDetails/).
372
356
  */
373
- outstandingOrderDetails({ aggregator }?: {
374
- aggregator?: string;
375
- }): Promise<OutstandingOrderDetailsResponse>;
357
+ outstandingOrderDetails({ aggregator }?: PaymentApplicationValidator.OutstandingOrderDetailsParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.OutstandingOrderDetailsResponse>;
376
358
  /**
377
- * @param {Object} arg - Arg object.
378
- * @param {string} [arg.aggregator] -
379
- * @returns {Promise<PaidOrderDetailsResponse>} - Success response
359
+ * @param {PaymentApplicationValidator.PaidOrderDetailsParam} arg - Arg object.
360
+ * @param {import("../ApplicationAPIClient").Options} - Options
361
+ * @returns {Promise<PaymentApplicationModel.PaidOrderDetailsResponse>} -
362
+ * Success response
363
+ * @name paidOrderDetails
380
364
  * @summary: API to fetch the paid order details
381
- * @description: Use this API to fetch the paid order details.
365
+ * @description: Use this API to fetch the paid order details. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/paidOrderDetails/).
382
366
  */
383
- paidOrderDetails({ aggregator }?: {
384
- aggregator?: string;
385
- }): Promise<PaidOrderDetailsResponse>;
367
+ paidOrderDetails({ aggregator }?: PaymentApplicationValidator.PaidOrderDetailsParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.PaidOrderDetailsResponse>;
386
368
  /**
387
- * @param {Object} arg - Arg object.
388
- * @param {string} [arg.paymentLinkId] -
389
- * @returns {Promise<PollingPaymentLinkResponse>} - Success response
369
+ * @param {PaymentApplicationValidator.PollingPaymentLinkParam} arg - Arg object.
370
+ * @param {import("../ApplicationAPIClient").Options} - Options
371
+ * @returns {Promise<PaymentApplicationModel.PollingPaymentLinkResponse>} -
372
+ * Success response
373
+ * @name pollingPaymentLink
390
374
  * @summary: Used for polling if payment successful or not
391
- * @description: Use this API to poll if payment through payment was successful or not
392
- */
393
- pollingPaymentLink({ paymentLinkId }?: {
394
- paymentLinkId?: string;
395
- }): Promise<PollingPaymentLinkResponse>;
396
- /**
397
- * @param {Object} arg - Arg object.
398
- * @param {string} [arg.source] - This is a String value that contains
399
- * callback URL as value.
400
- * @param {string} [arg.aggregator] - This is a String value that contains
401
- * aggregator name as value.
402
- * @returns {Promise<RedirectToAggregatorResponse>} - Success response
375
+ * @description: Use this API to poll if payment through payment was successful or not - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/pollingPaymentLink/).
376
+ */
377
+ pollingPaymentLink({ paymentLinkId }?: PaymentApplicationValidator.PollingPaymentLinkParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.PollingPaymentLinkResponse>;
378
+ /**
379
+ * @param {PaymentApplicationValidator.RedirectToAggregatorParam} arg - Arg object.
380
+ * @param {import("../ApplicationAPIClient").Options} - Options
381
+ * @returns {Promise<PaymentApplicationModel.RedirectToAggregatorResponse>}
382
+ * - Success response
383
+ *
384
+ * @name redirectToAggregator
403
385
  * @summary: API to get the redirect url to redirect the user to aggregator's page
404
- * @description: Use this API to get the redirect url to redirect the user to aggregator's page
386
+ * @description: Use this API to get the redirect url to redirect the user to aggregator's page - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/redirectToAggregator/).
405
387
  */
406
- redirectToAggregator({ source, aggregator }?: {
407
- source?: string;
408
- aggregator?: string;
409
- }): Promise<RedirectToAggregatorResponse>;
388
+ redirectToAggregator({ source, aggregator }?: PaymentApplicationValidator.RedirectToAggregatorParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.RedirectToAggregatorResponse>;
410
389
  /**
411
- * @param {Object} arg - Arg object.
412
- * @param {renderHTMLRequest} arg.body
413
- * @returns {Promise<renderHTMLResponse>} - Success response
390
+ * @param {PaymentApplicationValidator.RenderHTMLParam} arg - Arg object.
391
+ * @param {import("../ApplicationAPIClient").Options} - Options
392
+ * @returns {Promise<PaymentApplicationModel.renderHTMLResponse>} - Success response
393
+ * @name renderHTML
414
394
  * @summary: Convert base64 string to HTML form
415
- * @description: Use this API to decode base64 html form to plain HTML string.
395
+ * @description: Use this API to decode base64 html form to plain HTML string. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/renderHTML/).
416
396
  */
417
- renderHTML({ body }?: {
418
- body: renderHTMLRequest;
419
- }): Promise<renderHTMLResponse>;
397
+ renderHTML({ body }?: PaymentApplicationValidator.RenderHTMLParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.renderHTMLResponse>;
420
398
  /**
421
- * @param {Object} arg - Arg object.
422
- * @param {ResendOrCancelPaymentRequest} arg.body
423
- * @returns {Promise<ResendOrCancelPaymentResponse>} - Success response
399
+ * @param {PaymentApplicationValidator.ResendOrCancelPaymentParam} arg - Arg object.
400
+ * @param {import("../ApplicationAPIClient").Options} - Options
401
+ * @returns {Promise<PaymentApplicationModel.ResendOrCancelPaymentResponse>}
402
+ * - Success response
403
+ *
404
+ * @name resendOrCancelPayment
424
405
  * @summary: API to resend and cancel a payment link which was already generated.
425
- * @description: Use this API to perform resend or cancel a payment link based on request payload.
406
+ * @description: Use this API to perform resend or cancel a payment link based on request payload. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/resendOrCancelPayment/).
426
407
  */
427
- resendOrCancelPayment({ body }?: {
428
- body: ResendOrCancelPaymentRequest;
429
- }): Promise<ResendOrCancelPaymentResponse>;
408
+ resendOrCancelPayment({ body }?: PaymentApplicationValidator.ResendOrCancelPaymentParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.ResendOrCancelPaymentResponse>;
430
409
  /**
431
- * @param {Object} arg - Arg object.
432
- * @param {CancelOrResendPaymentLinkRequest} arg.body
433
- * @returns {Promise<ResendPaymentLinkResponse>} - Success response
410
+ * @param {PaymentApplicationValidator.ResendPaymentLinkParam} arg - Arg object.
411
+ * @param {import("../ApplicationAPIClient").Options} - Options
412
+ * @returns {Promise<PaymentApplicationModel.ResendPaymentLinkResponse>} -
413
+ * Success response
414
+ * @name resendPaymentLink
434
415
  * @summary: Resend payment link
435
- * @description: Use this API to resend a payment link for the customer
416
+ * @description: Use this API to resend a payment link for the customer - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/resendPaymentLink/).
436
417
  */
437
- resendPaymentLink({ body }?: {
438
- body: CancelOrResendPaymentLinkRequest;
439
- }): Promise<ResendPaymentLinkResponse>;
418
+ resendPaymentLink({ body }?: PaymentApplicationValidator.ResendPaymentLinkParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.ResendPaymentLinkResponse>;
440
419
  /**
441
- * @param {Object} arg - Arg object.
442
- * @param {SetDefaultBeneficiaryRequest} arg.body
443
- * @returns {Promise<SetDefaultBeneficiaryResponse>} - Success response
420
+ * @param {PaymentApplicationValidator.UpdateDefaultBeneficiaryParam} arg -
421
+ * Arg object.
422
+ * @param {import("../ApplicationAPIClient").Options} - Options
423
+ * @returns {Promise<PaymentApplicationModel.SetDefaultBeneficiaryResponse>}
424
+ * - Success response
425
+ *
426
+ * @name updateDefaultBeneficiary
444
427
  * @summary: Set a default beneficiary for a refund
445
- * @description: Use this API to set a default beneficiary for getting a refund.
428
+ * @description: Use this API to set a default beneficiary for getting a refund. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/updateDefaultBeneficiary/).
446
429
  */
447
- updateDefaultBeneficiary({ body }?: {
448
- body: SetDefaultBeneficiaryRequest;
449
- }): Promise<SetDefaultBeneficiaryResponse>;
430
+ updateDefaultBeneficiary({ body }?: PaymentApplicationValidator.UpdateDefaultBeneficiaryParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.SetDefaultBeneficiaryResponse>;
450
431
  /**
451
- * @param {Object} arg - Arg object.
452
- * @param {ValidateVPARequest} arg.body
453
- * @returns {Promise<ValidateVPAResponse>} - Success response
432
+ * @param {PaymentApplicationValidator.ValidateVPAParam} arg - Arg object.
433
+ * @param {import("../ApplicationAPIClient").Options} - Options
434
+ * @returns {Promise<PaymentApplicationModel.ValidateVPAResponse>} - Success response
435
+ * @name validateVPA
454
436
  * @summary: API to Validate UPI ID
455
- * @description: API to Validate UPI ID
437
+ * @description: API to Validate UPI ID - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/validateVPA/).
456
438
  */
457
- validateVPA({ body }?: {
458
- body: ValidateVPARequest;
459
- }): Promise<ValidateVPAResponse>;
439
+ validateVPA({ body }?: PaymentApplicationValidator.ValidateVPAParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.ValidateVPAResponse>;
460
440
  /**
461
- * @param {Object} arg - Arg object.
462
- * @param {ChargeCustomerRequest} arg.body
463
- * @returns {Promise<ChargeCustomerResponse>} - Success response
441
+ * @param {PaymentApplicationValidator.VerifyAndChargePaymentParam} arg - Arg object.
442
+ * @param {import("../ApplicationAPIClient").Options} - Options
443
+ * @returns {Promise<PaymentApplicationModel.ChargeCustomerResponse>} -
444
+ * Success response
445
+ * @name verifyAndChargePayment
464
446
  * @summary: Verify and charge payment
465
- * @description: Use this API to verify and check the status of a payment transaction (server-to-server) made through aggregators like Simpl and Mswipe.
447
+ * @description: Use this API to verify and check the status of a payment transaction (server-to-server) made through aggregators like Simpl and Mswipe. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/verifyAndChargePayment/).
466
448
  */
467
- verifyAndChargePayment({ body }?: {
468
- body: ChargeCustomerRequest;
469
- }): Promise<ChargeCustomerResponse>;
449
+ verifyAndChargePayment({ body }?: PaymentApplicationValidator.VerifyAndChargePaymentParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.ChargeCustomerResponse>;
470
450
  /**
471
- * @param {Object} arg - Arg object.
472
- * @param {ValidateCustomerRequest} arg.body
473
- * @returns {Promise<ValidateCustomerResponse>} - Success response
451
+ * @param {PaymentApplicationValidator.VerifyCustomerForPaymentParam} arg -
452
+ * Arg object.
453
+ * @param {import("../ApplicationAPIClient").Options} - Options
454
+ * @returns {Promise<PaymentApplicationModel.ValidateCustomerResponse>} -
455
+ * Success response
456
+ * @name verifyCustomerForPayment
474
457
  * @summary: Validate customer for payment
475
- * @description: Use this API to check if the customer is eligible to use credit-line facilities such as Simpl Pay Later and Rupifi.
458
+ * @description: Use this API to check if the customer is eligible to use credit-line facilities such as Simpl Pay Later and Rupifi. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/verifyCustomerForPayment/).
476
459
  */
477
- verifyCustomerForPayment({ body }?: {
478
- body: ValidateCustomerRequest;
479
- }): Promise<ValidateCustomerResponse>;
460
+ verifyCustomerForPayment({ body }?: PaymentApplicationValidator.VerifyCustomerForPaymentParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.ValidateCustomerResponse>;
480
461
  /**
481
- * @param {Object} arg - Arg object.
482
- * @param {string} [arg.ifscCode] - A 11-digit alphanumeric code that
483
- * uniquely identifies a bank branch.
484
- * @returns {Promise<IfscCodeResponse>} - Success response
462
+ * @param {PaymentApplicationValidator.VerifyIfscCodeParam} arg - Arg object.
463
+ * @param {import("../ApplicationAPIClient").Options} - Options
464
+ * @returns {Promise<PaymentApplicationModel.IfscCodeResponse>} - Success response
465
+ * @name verifyIfscCode
485
466
  * @summary: Verify IFSC Code
486
- * @description: Use this API to check whether the 11-digit IFSC code is valid and to fetch the bank details for refund.
487
- */
488
- verifyIfscCode({ ifscCode }?: {
489
- ifscCode?: string;
490
- }): Promise<IfscCodeResponse>;
491
- /**
492
- * @param {Object} arg - Arg object.
493
- * @param {AddBeneficiaryViaOtpVerificationRequest} arg.body
494
- * @returns {Promise<AddBeneficiaryViaOtpVerificationResponse>} - Success response
467
+ * @description: Use this API to check whether the 11-digit IFSC code is valid and to fetch the bank details for refund. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/verifyIfscCode/).
468
+ */
469
+ verifyIfscCode({ ifscCode }?: PaymentApplicationValidator.VerifyIfscCodeParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.IfscCodeResponse>;
470
+ /**
471
+ * @param {PaymentApplicationValidator.VerifyOtpAndAddBeneficiaryForBankParam} arg
472
+ * - Arg object.
473
+ *
474
+ * @param {import("../ApplicationAPIClient").Options} - Options
475
+ * @returns {Promise<PaymentApplicationModel.AddBeneficiaryViaOtpVerificationResponse>}
476
+ * - Success response
477
+ *
478
+ * @name verifyOtpAndAddBeneficiaryForBank
495
479
  * @summary: Verify the beneficiary details using OTP
496
- * @description: Use this API to perform an OTP validation before saving the beneficiary details added for a refund.
480
+ * @description: Use this API to perform an OTP validation before saving the beneficiary details added for a refund. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/verifyOtpAndAddBeneficiaryForBank/).
497
481
  */
498
- verifyOtpAndAddBeneficiaryForBank({ body }?: {
499
- body: AddBeneficiaryViaOtpVerificationRequest;
500
- }): Promise<AddBeneficiaryViaOtpVerificationResponse>;
482
+ verifyOtpAndAddBeneficiaryForBank({ body }?: PaymentApplicationValidator.VerifyOtpAndAddBeneficiaryForBankParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.AddBeneficiaryViaOtpVerificationResponse>;
501
483
  /**
502
- * @param {Object} arg - Arg object.
503
- * @param {WalletOtpRequest} arg.body
504
- * @returns {Promise<WalletOtpResponse>} - Success response
484
+ * @param {PaymentApplicationValidator.VerifyOtpAndAddBeneficiaryForWalletParam} arg
485
+ * - Arg object.
486
+ *
487
+ * @param {import("../ApplicationAPIClient").Options} - Options
488
+ * @returns {Promise<PaymentApplicationModel.WalletOtpResponse>} - Success response
489
+ * @name verifyOtpAndAddBeneficiaryForWallet
505
490
  * @summary: Send OTP on adding a wallet beneficiary
506
- * @description: Use this API to send an OTP while adding a wallet beneficiary by mobile no. verification.
491
+ * @description: Use this API to send an OTP while adding a wallet beneficiary by mobile no. verification. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/verifyOtpAndAddBeneficiaryForWallet/).
507
492
  */
508
- verifyOtpAndAddBeneficiaryForWallet({ body }?: {
509
- body: WalletOtpRequest;
510
- }): Promise<WalletOtpResponse>;
493
+ verifyOtpAndAddBeneficiaryForWallet({ body }?: PaymentApplicationValidator.VerifyOtpAndAddBeneficiaryForWalletParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.WalletOtpResponse>;
511
494
  }
495
+ import PaymentApplicationValidator = require("./PaymentApplicationValidator");
496
+ import PaymentApplicationModel = require("./PaymentApplicationModel");