@gofynd/fdk-client-javascript 1.1.6 → 1.3.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 (348) hide show
  1. package/README.md +52 -3
  2. package/index.js +0 -3
  3. package/package.json +1 -2
  4. package/sdk/application/ApplicationAPIClient.d.ts +15 -1
  5. package/sdk/application/ApplicationAPIClient.js +12 -3
  6. package/sdk/application/ApplicationClient.d.ts +36 -6
  7. package/sdk/application/ApplicationClient.js +30 -43
  8. package/sdk/application/ApplicationConfig.d.ts +92 -12
  9. package/sdk/application/ApplicationConfig.js +48 -14
  10. package/sdk/application/Cart/CartApplicationClient.d.ts +200 -357
  11. package/sdk/application/Cart/CartApplicationClient.js +711 -483
  12. package/sdk/application/Cart/CartApplicationModel.d.ts +2054 -96
  13. package/sdk/application/Cart/CartApplicationModel.js +1224 -93
  14. package/sdk/application/Cart/CartApplicationValidator.d.ts +508 -30
  15. package/sdk/application/Cart/CartApplicationValidator.js +270 -15
  16. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +274 -422
  17. package/sdk/application/Catalog/CatalogApplicationClient.js +865 -630
  18. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +2320 -117
  19. package/sdk/application/Catalog/CatalogApplicationModel.js +1566 -172
  20. package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +798 -31
  21. package/sdk/application/Catalog/CatalogApplicationValidator.js +318 -3
  22. package/sdk/application/Common/CommonApplicationClient.d.ts +16 -21
  23. package/sdk/application/Common/CommonApplicationClient.js +52 -33
  24. package/sdk/application/Common/CommonApplicationModel.d.ts +368 -19
  25. package/sdk/application/Common/CommonApplicationModel.js +192 -40
  26. package/sdk/application/Common/CommonApplicationValidator.d.ts +42 -4
  27. package/sdk/application/Common/CommonApplicationValidator.js +21 -3
  28. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +31 -18
  29. package/sdk/application/Communication/CommunicationApplicationClient.js +86 -47
  30. package/sdk/application/Communication/CommunicationApplicationModel.d.ts +157 -14
  31. package/sdk/application/Communication/CommunicationApplicationModel.js +104 -23
  32. package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +27 -4
  33. package/sdk/application/Communication/CommunicationApplicationValidator.js +21 -5
  34. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +149 -118
  35. package/sdk/application/Configuration/ConfigurationApplicationClient.js +457 -260
  36. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +2235 -110
  37. package/sdk/application/Configuration/ConfigurationApplicationModel.js +1113 -193
  38. package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +160 -8
  39. package/sdk/application/Configuration/ConfigurationApplicationValidator.js +88 -4
  40. package/sdk/application/Content/ContentApplicationClient.d.ts +149 -139
  41. package/sdk/application/Content/ContentApplicationClient.js +489 -278
  42. package/sdk/application/Content/ContentApplicationModel.d.ts +1010 -105
  43. package/sdk/application/Content/ContentApplicationModel.js +737 -396
  44. package/sdk/application/Content/ContentApplicationValidator.d.ts +214 -12
  45. package/sdk/application/Content/ContentApplicationValidator.js +113 -3
  46. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +23 -29
  47. package/sdk/application/FileStorage/FileStorageApplicationClient.js +74 -47
  48. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +148 -20
  49. package/sdk/application/FileStorage/FileStorageApplicationModel.js +100 -87
  50. package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +55 -5
  51. package/sdk/application/FileStorage/FileStorageApplicationValidator.js +33 -6
  52. package/sdk/application/Lead/LeadApplicationClient.d.ts +57 -53
  53. package/sdk/application/Lead/LeadApplicationClient.js +188 -103
  54. package/sdk/application/Lead/LeadApplicationModel.d.ts +686 -54
  55. package/sdk/application/Lead/LeadApplicationModel.js +330 -244
  56. package/sdk/application/Lead/LeadApplicationValidator.d.ts +91 -9
  57. package/sdk/application/Lead/LeadApplicationValidator.js +51 -6
  58. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +40 -33
  59. package/sdk/application/Logistic/LogisticApplicationClient.js +131 -73
  60. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +399 -28
  61. package/sdk/application/Logistic/LogisticApplicationModel.js +293 -24
  62. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +48 -6
  63. package/sdk/application/Logistic/LogisticApplicationValidator.js +34 -6
  64. package/sdk/application/Order/OrderApplicationClient.d.ts +93 -133
  65. package/sdk/application/Order/OrderApplicationClient.js +329 -217
  66. package/sdk/application/Order/OrderApplicationModel.d.ts +1101 -66
  67. package/sdk/application/Order/OrderApplicationModel.js +776 -57
  68. package/sdk/application/Order/OrderApplicationValidator.d.ts +249 -14
  69. package/sdk/application/Order/OrderApplicationValidator.js +114 -5
  70. package/sdk/application/Payment/PaymentApplicationClient.d.ts +400 -366
  71. package/sdk/application/Payment/PaymentApplicationClient.js +1176 -703
  72. package/sdk/application/Payment/PaymentApplicationModel.d.ts +3125 -99
  73. package/sdk/application/Payment/PaymentApplicationModel.js +1158 -62
  74. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +494 -41
  75. package/sdk/application/Payment/PaymentApplicationValidator.js +297 -25
  76. package/sdk/application/PosCart/PosCartApplicationClient.d.ts +205 -350
  77. package/sdk/application/PosCart/PosCartApplicationClient.js +720 -491
  78. package/sdk/application/PosCart/PosCartApplicationModel.d.ts +1823 -89
  79. package/sdk/application/PosCart/PosCartApplicationModel.js +1117 -85
  80. package/sdk/application/PosCart/PosCartApplicationValidator.d.ts +480 -29
  81. package/sdk/application/PosCart/PosCartApplicationValidator.js +262 -15
  82. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +58 -47
  83. package/sdk/application/Rewards/RewardsApplicationClient.js +187 -102
  84. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +343 -22
  85. package/sdk/application/Rewards/RewardsApplicationModel.js +230 -15
  86. package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +70 -7
  87. package/sdk/application/Rewards/RewardsApplicationValidator.js +45 -6
  88. package/sdk/application/Share/ShareApplicationClient.d.ts +52 -50
  89. package/sdk/application/Share/ShareApplicationClient.js +185 -97
  90. package/sdk/application/Share/ShareApplicationModel.d.ts +198 -15
  91. package/sdk/application/Share/ShareApplicationModel.js +131 -31
  92. package/sdk/application/Share/ShareApplicationValidator.d.ts +86 -8
  93. package/sdk/application/Share/ShareApplicationValidator.js +48 -4
  94. package/sdk/application/Theme/ThemeApplicationClient.d.ts +30 -27
  95. package/sdk/application/Theme/ThemeApplicationClient.js +102 -56
  96. package/sdk/application/Theme/ThemeApplicationModel.d.ts +1291 -48
  97. package/sdk/application/Theme/ThemeApplicationModel.js +895 -134
  98. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +49 -5
  99. package/sdk/application/Theme/ThemeApplicationValidator.js +26 -3
  100. package/sdk/application/User/UserApplicationClient.d.ts +260 -305
  101. package/sdk/application/User/UserApplicationClient.js +910 -522
  102. package/sdk/application/User/UserApplicationModel.d.ts +992 -101
  103. package/sdk/application/User/UserApplicationModel.js +699 -248
  104. package/sdk/application/User/UserApplicationValidator.d.ts +457 -33
  105. package/sdk/application/User/UserApplicationValidator.js +265 -31
  106. package/sdk/common/AxiosHelper.js +7 -2
  107. package/sdk/common/FDKError.d.ts +3 -0
  108. package/sdk/common/FDKError.js +8 -0
  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/common/utils.d.ts +3 -0
  113. package/sdk/common/utils.js +29 -0
  114. package/sdk/partner/PartnerAPIClient.d.ts +16 -1
  115. package/sdk/partner/PartnerAPIClient.js +12 -2
  116. package/sdk/partner/PartnerClient.d.ts +22 -3
  117. package/sdk/partner/PartnerClient.js +20 -0
  118. package/sdk/partner/PartnerConfig.d.ts +40 -14
  119. package/sdk/partner/PartnerConfig.js +31 -6
  120. package/sdk/partner/Theme/ThemePartnerClient.d.ts +299 -0
  121. package/sdk/partner/Theme/ThemePartnerClient.js +768 -0
  122. package/sdk/partner/Theme/ThemePartnerModel.d.ts +1706 -0
  123. package/sdk/partner/Theme/ThemePartnerModel.js +1409 -0
  124. package/sdk/partner/Theme/ThemePartnerValidator.d.ts +22 -0
  125. package/sdk/partner/Theme/ThemePartnerValidator.js +157 -0
  126. package/sdk/partner/index.d.ts +3 -1
  127. package/sdk/partner/index.js +3 -1
  128. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +30 -25
  129. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +104 -53
  130. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +190 -17
  131. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +132 -15
  132. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +52 -5
  133. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +30 -4
  134. package/sdk/platform/Billing/BillingPlatformClient.d.ts +133 -97
  135. package/sdk/platform/Billing/BillingPlatformClient.js +561 -191
  136. package/sdk/platform/Billing/BillingPlatformModel.d.ts +1071 -68
  137. package/sdk/platform/Billing/BillingPlatformModel.js +762 -151
  138. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +175 -12
  139. package/sdk/platform/Billing/BillingPlatformValidator.js +118 -8
  140. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +454 -635
  141. package/sdk/platform/Cart/CartPlatformApplicationClient.js +1646 -957
  142. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +827 -57
  143. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +492 -34
  144. package/sdk/platform/Cart/CartPlatformModel.d.ts +3839 -175
  145. package/sdk/platform/Cart/CartPlatformModel.js +2423 -217
  146. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +528 -638
  147. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +1600 -984
  148. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +1081 -49
  149. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +482 -23
  150. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +652 -826
  151. package/sdk/platform/Catalog/CatalogPlatformClient.js +1979 -1264
  152. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +6869 -326
  153. package/sdk/platform/Catalog/CatalogPlatformModel.js +4215 -351
  154. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +1361 -71
  155. package/sdk/platform/Catalog/CatalogPlatformValidator.js +624 -30
  156. package/sdk/platform/Common/CommonPlatformClient.d.ts +16 -21
  157. package/sdk/platform/Common/CommonPlatformClient.js +50 -33
  158. package/sdk/platform/Common/CommonPlatformModel.d.ts +423 -19
  159. package/sdk/platform/Common/CommonPlatformModel.js +214 -40
  160. package/sdk/platform/Common/CommonPlatformValidator.d.ts +37 -4
  161. package/sdk/platform/Common/CommonPlatformValidator.js +20 -3
  162. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +731 -303
  163. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +3095 -785
  164. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +699 -41
  165. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +463 -27
  166. package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +19 -5
  167. package/sdk/platform/Communication/CommunicationPlatformClient.js +59 -19
  168. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +1708 -102
  169. package/sdk/platform/Communication/CommunicationPlatformModel.js +1360 -235
  170. package/sdk/platform/Communication/CommunicationPlatformValidator.d.ts +16 -3
  171. package/sdk/platform/Communication/CommunicationPlatformValidator.js +11 -3
  172. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +127 -111
  173. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +435 -225
  174. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +882 -43
  175. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +666 -78
  176. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +184 -13
  177. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +105 -10
  178. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +327 -240
  179. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +922 -438
  180. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +297 -22
  181. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +191 -17
  182. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +184 -178
  183. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +555 -311
  184. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +4337 -188
  185. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +2178 -248
  186. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +332 -19
  187. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +153 -10
  188. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +605 -578
  189. package/sdk/platform/Content/ContentPlatformApplicationClient.js +1996 -987
  190. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +872 -62
  191. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +487 -35
  192. package/sdk/platform/Content/ContentPlatformModel.d.ts +1472 -108
  193. package/sdk/platform/Content/ContentPlatformModel.js +1085 -204
  194. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +85 -82
  195. package/sdk/platform/Discount/DiscountPlatformClient.js +333 -175
  196. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +281 -15
  197. package/sdk/platform/Discount/DiscountPlatformModel.js +189 -10
  198. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +185 -13
  199. package/sdk/platform/Discount/DiscountPlatformValidator.js +88 -8
  200. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +109 -52
  201. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +570 -105
  202. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +141 -6
  203. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +118 -7
  204. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +43 -63
  205. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +153 -135
  206. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +426 -20
  207. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +379 -40
  208. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +106 -8
  209. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +60 -8
  210. package/sdk/platform/Finance/FinancePlatformClient.d.ts +260 -129
  211. package/sdk/platform/Finance/FinancePlatformClient.js +1182 -194
  212. package/sdk/platform/Finance/FinancePlatformModel.d.ts +1267 -50
  213. package/sdk/platform/Finance/FinancePlatformModel.js +1252 -38
  214. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +233 -15
  215. package/sdk/platform/Finance/FinancePlatformValidator.js +229 -16
  216. package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +111 -97
  217. package/sdk/platform/Inventory/InventoryPlatformClient.js +330 -199
  218. package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +1354 -61
  219. package/sdk/platform/Inventory/InventoryPlatformModel.js +916 -83
  220. package/sdk/platform/Inventory/InventoryPlatformValidator.d.ts +168 -12
  221. package/sdk/platform/Inventory/InventoryPlatformValidator.js +82 -6
  222. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +100 -106
  223. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +372 -186
  224. package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +180 -14
  225. package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +94 -9
  226. package/sdk/platform/Lead/LeadPlatformClient.d.ts +89 -104
  227. package/sdk/platform/Lead/LeadPlatformClient.js +305 -180
  228. package/sdk/platform/Lead/LeadPlatformModel.d.ts +1045 -54
  229. package/sdk/platform/Lead/LeadPlatformModel.js +504 -142
  230. package/sdk/platform/Lead/LeadPlatformValidator.d.ts +173 -12
  231. package/sdk/platform/Lead/LeadPlatformValidator.js +92 -15
  232. package/sdk/platform/OAuthClient.js +6 -2
  233. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +20 -14
  234. package/sdk/platform/Order/OrderPlatformApplicationClient.js +58 -29
  235. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +26 -4
  236. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +16 -3
  237. package/sdk/platform/Order/OrderPlatformClient.d.ts +437 -556
  238. package/sdk/platform/Order/OrderPlatformClient.js +1500 -760
  239. package/sdk/platform/Order/OrderPlatformModel.d.ts +5225 -247
  240. package/sdk/platform/Order/OrderPlatformModel.js +3473 -260
  241. package/sdk/platform/Order/OrderPlatformValidator.d.ts +859 -37
  242. package/sdk/platform/Order/OrderPlatformValidator.js +435 -23
  243. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +16 -42
  244. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +52 -155
  245. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +37 -6
  246. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +19 -17
  247. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +78 -45
  248. package/sdk/platform/Partner/PartnerPlatformModel.js +43 -369
  249. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +418 -288
  250. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +1509 -505
  251. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +438 -30
  252. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +312 -19
  253. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +83 -73
  254. package/sdk/platform/Payment/PaymentPlatformClient.js +259 -154
  255. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +3200 -93
  256. package/sdk/platform/Payment/PaymentPlatformModel.js +1334 -36
  257. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +111 -11
  258. package/sdk/platform/Payment/PaymentPlatformValidator.js +68 -7
  259. package/sdk/platform/PlatformAPIClient.d.ts +16 -1
  260. package/sdk/platform/PlatformAPIClient.js +9 -1
  261. package/sdk/platform/PlatformApplicationClient.d.ts +22 -1798
  262. package/sdk/platform/PlatformApplicationClient.js +17 -1899
  263. package/sdk/platform/PlatformClient.d.ts +31 -12581
  264. package/sdk/platform/PlatformClient.js +30 -15089
  265. package/sdk/platform/PlatformConfig.d.ts +37 -11
  266. package/sdk/platform/PlatformConfig.js +32 -6
  267. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +96 -92
  268. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +344 -177
  269. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +149 -12
  270. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +82 -8
  271. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +360 -23
  272. package/sdk/platform/Rewards/RewardsPlatformModel.js +238 -22
  273. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +159 -92
  274. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +473 -208
  275. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +138 -13
  276. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +100 -14
  277. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +166 -178
  278. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +518 -329
  279. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +1408 -96
  280. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +1034 -71
  281. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +280 -18
  282. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +134 -11
  283. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +41 -66
  284. package/sdk/platform/Share/SharePlatformApplicationClient.js +149 -116
  285. package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +87 -7
  286. package/sdk/platform/Share/SharePlatformApplicationValidator.js +42 -5
  287. package/sdk/platform/Share/SharePlatformModel.d.ts +250 -16
  288. package/sdk/platform/Share/SharePlatformModel.js +167 -19
  289. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +229 -193
  290. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +976 -352
  291. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +345 -24
  292. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +206 -14
  293. package/sdk/platform/Theme/ThemePlatformClient.d.ts +37 -0
  294. package/sdk/platform/Theme/ThemePlatformClient.js +235 -0
  295. package/sdk/platform/Theme/ThemePlatformModel.d.ts +1527 -48
  296. package/sdk/platform/Theme/ThemePlatformModel.js +1099 -118
  297. package/sdk/platform/Theme/ThemePlatformValidator.d.ts +32 -0
  298. package/sdk/platform/Theme/ThemePlatformValidator.js +38 -0
  299. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +138 -152
  300. package/sdk/platform/User/UserPlatformApplicationClient.js +470 -244
  301. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +242 -18
  302. package/sdk/platform/User/UserPlatformApplicationValidator.js +129 -12
  303. package/sdk/platform/User/UserPlatformModel.d.ts +653 -101
  304. package/sdk/platform/User/UserPlatformModel.js +467 -424
  305. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +153 -49
  306. package/sdk/platform/Webhook/WebhookPlatformClient.js +896 -88
  307. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +632 -16
  308. package/sdk/platform/Webhook/WebhookPlatformModel.js +502 -54
  309. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +170 -7
  310. package/sdk/platform/Webhook/WebhookPlatformValidator.js +157 -7
  311. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +16 -21
  312. package/sdk/public/Configuration/ConfigurationPublicClient.js +48 -33
  313. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +370 -19
  314. package/sdk/public/Configuration/ConfigurationPublicModel.js +191 -40
  315. package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +42 -4
  316. package/sdk/public/Configuration/ConfigurationPublicValidator.js +21 -3
  317. package/sdk/public/Inventory/InventoryPublicClient.d.ts +54 -48
  318. package/sdk/public/Inventory/InventoryPublicClient.js +161 -98
  319. package/sdk/public/Inventory/InventoryPublicModel.d.ts +392 -21
  320. package/sdk/public/Inventory/InventoryPublicModel.js +267 -27
  321. package/sdk/public/Inventory/InventoryPublicValidator.d.ts +90 -8
  322. package/sdk/public/Inventory/InventoryPublicValidator.js +44 -4
  323. package/sdk/public/Partner/PartnerPublicClient.d.ts +22 -0
  324. package/sdk/public/Partner/PartnerPublicClient.js +110 -0
  325. package/sdk/public/Partner/PartnerPublicModel.d.ts +240 -0
  326. package/sdk/public/Partner/PartnerPublicModel.js +280 -0
  327. package/sdk/public/Partner/PartnerPublicValidator.d.ts +18 -0
  328. package/sdk/public/Partner/PartnerPublicValidator.js +19 -0
  329. package/sdk/public/PublicAPIClient.d.ts +14 -1
  330. package/sdk/public/PublicAPIClient.js +7 -1
  331. package/sdk/public/PublicClient.d.ts +21 -3
  332. package/sdk/public/PublicClient.js +20 -0
  333. package/sdk/public/PublicConfig.d.ts +27 -6
  334. package/sdk/public/PublicConfig.js +17 -1
  335. package/sdk/public/Webhook/WebhookPublicClient.d.ts +16 -11
  336. package/sdk/public/Webhook/WebhookPublicClient.js +48 -27
  337. package/sdk/public/Webhook/WebhookPublicModel.d.ts +52 -16
  338. package/sdk/public/Webhook/WebhookPublicModel.js +33 -113
  339. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +18 -3
  340. package/sdk/public/Webhook/WebhookPublicValidator.js +14 -4
  341. package/sdk/public/index.d.ts +1 -0
  342. package/sdk/public/index.js +2 -0
  343. package/sdk/application/ApplicationModels.d.ts +0 -3
  344. package/sdk/application/ApplicationModels.js +0 -20
  345. package/sdk/platform/Partner/PartnerPlatformClient.d.ts +0 -145
  346. package/sdk/platform/Partner/PartnerPlatformClient.js +0 -799
  347. package/sdk/platform/Partner/PartnerPlatformValidator.d.ts +0 -14
  348. package/sdk/platform/Partner/PartnerPlatformValidator.js +0 -87
@@ -49,463 +49,497 @@ 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 {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
54
+ * @param {import("../ApplicationAPIClient").Options} - Options
55
+ * @returns {Promise<PaymentApplicationModel.RefundAccountResponse>} -
56
+ * Success response
57
+ * @name addBeneficiaryDetails
55
58
  * @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.
57
- */
58
- addBeneficiaryDetails({ body }?: {
59
- body: AddBeneficiaryDetailsRequest;
60
- }): Promise<RefundAccountResponse>;
61
- /**
62
- * @param {Object} arg - Arg object.
63
- * @param {AddBeneficiaryDetailsOTPRequest} arg.body
64
- * @returns {Promise<RefundAccountResponse>} - Success response
59
+ * @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/).
60
+ */
61
+ addBeneficiaryDetails({ body, requestHeaders }?: PaymentApplicationValidator.AddBeneficiaryDetailsParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.RefundAccountResponse>;
62
+ /**
63
+ * @param {PaymentApplicationValidator.AddRefundBankAccountUsingOTPParam} arg
64
+ * - Arg object.
65
+ *
66
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
67
+ * @param {import("../ApplicationAPIClient").Options} - Options
68
+ * @returns {Promise<PaymentApplicationModel.RefundAccountResponse>} -
69
+ * Success response
70
+ * @name addRefundBankAccountUsingOTP
65
71
  * @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.
72
+ * @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
73
  */
68
- addRefundBankAccountUsingOTP({ body }?: {
69
- body: AddBeneficiaryDetailsOTPRequest;
70
- }): Promise<RefundAccountResponse>;
74
+ addRefundBankAccountUsingOTP({ body, requestHeaders }?: PaymentApplicationValidator.AddRefundBankAccountUsingOTPParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.RefundAccountResponse>;
71
75
  /**
72
- * @param {Object} arg - Arg object.
73
- * @param {AttachCardRequest} arg.body
74
- * @returns {Promise<AttachCardsResponse>} - Success response
76
+ * @param {PaymentApplicationValidator.AttachCardToCustomerParam} arg - Arg object.
77
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
78
+ * @param {import("../ApplicationAPIClient").Options} - Options
79
+ * @returns {Promise<PaymentApplicationModel.AttachCardsResponse>} - Success response
80
+ * @name attachCardToCustomer
75
81
  * @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.
82
+ * @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
83
  */
78
- attachCardToCustomer({ body }?: {
79
- body: AttachCardRequest;
80
- }): Promise<AttachCardsResponse>;
84
+ attachCardToCustomer({ body, requestHeaders }?: PaymentApplicationValidator.AttachCardToCustomerParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.AttachCardsResponse>;
81
85
  /**
82
- * @param {Object} arg - Arg object.
83
- * @param {CancelOrResendPaymentLinkRequest} arg.body
84
- * @returns {Promise<CancelPaymentLinkResponse>} - Success response
86
+ * @param {PaymentApplicationValidator.CancelPaymentLinkParam} arg - Arg object.
87
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
88
+ * @param {import("../ApplicationAPIClient").Options} - Options
89
+ * @returns {Promise<PaymentApplicationModel.CancelPaymentLinkResponse>} -
90
+ * Success response
91
+ * @name cancelPaymentLink
85
92
  * @summary: Cancel payment link
86
- * @description: Use this API to cancel a payment link for the customer
93
+ * @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
94
  */
88
- cancelPaymentLink({ body }?: {
89
- body: CancelOrResendPaymentLinkRequest;
90
- }): Promise<CancelPaymentLinkResponse>;
95
+ cancelPaymentLink({ body, requestHeaders }?: PaymentApplicationValidator.CancelPaymentLinkParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.CancelPaymentLinkResponse>;
91
96
  /**
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
97
+ * @param {PaymentApplicationValidator.CardDetailsParam} arg - Arg object.
98
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
99
+ * @param {import("../ApplicationAPIClient").Options} - Options
100
+ * @returns {Promise<PaymentApplicationModel.CardDetailsResponse>} - Success response
101
+ * @name cardDetails
96
102
  * @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
103
+ * @description: API to get Card info from PG - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/cardDetails/).
104
+ */
105
+ cardDetails({ cardInfo, aggregator, requestHeaders }?: PaymentApplicationValidator.CardDetailsParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.CardDetailsResponse>;
106
+ /**
107
+ * @param {PaymentApplicationValidator.CheckAndUpdatePaymentStatusParam} arg
108
+ * - Arg object.
109
+ *
110
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
111
+ * @param {import("../ApplicationAPIClient").Options} - Options
112
+ * @returns {Promise<PaymentApplicationModel.PaymentStatusUpdateResponse>}
113
+ * - Success response
114
+ *
115
+ * @name checkAndUpdatePaymentStatus
107
116
  * @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
117
+ * @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/).
118
+ */
119
+ checkAndUpdatePaymentStatus({ body, requestHeaders }?: PaymentApplicationValidator.CheckAndUpdatePaymentStatusParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.PaymentStatusUpdateResponse>;
120
+ /**
121
+ * @param {PaymentApplicationValidator.CheckAndUpdatePaymentStatusPaymentLinkParam} arg
122
+ * - Arg object.
123
+ *
124
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
125
+ * @param {import("../ApplicationAPIClient").Options} - Options
126
+ * @returns {Promise<PaymentApplicationModel.PaymentStatusUpdateResponse>}
127
+ * - Success response
128
+ *
129
+ * @name checkAndUpdatePaymentStatusPaymentLink
117
130
  * @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.
131
+ * @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
132
  */
120
- checkAndUpdatePaymentStatusPaymentLink({ body }?: {
121
- body: PaymentStatusUpdateRequest;
122
- }): Promise<PaymentStatusUpdateResponse>;
133
+ checkAndUpdatePaymentStatusPaymentLink({ body, requestHeaders }?: PaymentApplicationValidator.CheckAndUpdatePaymentStatusPaymentLinkParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.PaymentStatusUpdateResponse>;
123
134
  /**
124
- * @param {Object} arg - Arg object.
125
- * @param {string} [arg.aggregator] -
126
- * @returns {Promise<CheckCreditResponse>} - Success response
135
+ * @param {PaymentApplicationValidator.CheckCreditParam} arg - Arg object.
136
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
137
+ * @param {import("../ApplicationAPIClient").Options} - Options
138
+ * @returns {Promise<PaymentApplicationModel.CheckCreditResponse>} - Success response
139
+ * @name checkCredit
127
140
  * @summary: API to fetch the customer credit summary
128
- * @description: Use this API to fetch the customer credit summary.
129
- */
130
- checkCredit({ aggregator }?: {
131
- aggregator?: string;
132
- }): Promise<CheckCreditResponse>;
133
- /**
134
- * @param {Object} arg - Arg object.
135
- * @param {CreateOrderUserRequest} arg.body
136
- * @returns {Promise<CreateOrderUserResponse>} - Success response
141
+ * @description: Use this API to fetch the customer credit summary. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/checkCredit/).
142
+ */
143
+ checkCredit({ aggregator, requestHeaders }?: PaymentApplicationValidator.CheckCreditParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.CheckCreditResponse>;
144
+ /**
145
+ * @param {PaymentApplicationValidator.CreateOrderHandlerPaymentLinkParam} arg
146
+ * - Arg object.
147
+ *
148
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
149
+ * @param {import("../ApplicationAPIClient").Options} - Options
150
+ * @returns {Promise<PaymentApplicationModel.CreateOrderUserResponse>} -
151
+ * Success response
152
+ * @name createOrderHandlerPaymentLink
137
153
  * @summary: Create Order user
138
- * @description: Use this API to create a order and payment on aggregator side
154
+ * @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
155
  */
140
- createOrderHandlerPaymentLink({ body }?: {
141
- body: CreateOrderUserRequest;
142
- }): Promise<CreateOrderUserResponse>;
156
+ createOrderHandlerPaymentLink({ body, requestHeaders }?: PaymentApplicationValidator.CreateOrderHandlerPaymentLinkParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.CreateOrderUserResponse>;
143
157
  /**
144
- * @param {Object} arg - Arg object.
145
- * @param {CreatePaymentLinkRequest} arg.body
146
- * @returns {Promise<CreatePaymentLinkResponse>} - Success response
158
+ * @param {PaymentApplicationValidator.CreatePaymentLinkParam} arg - Arg object.
159
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
160
+ * @param {import("../ApplicationAPIClient").Options} - Options
161
+ * @returns {Promise<PaymentApplicationModel.CreatePaymentLinkResponse>} -
162
+ * Success response
163
+ * @name createPaymentLink
147
164
  * @summary: Create payment link
148
- * @description: Use this API to create a payment link for the customer
165
+ * @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
166
  */
150
- createPaymentLink({ body }?: {
151
- body: CreatePaymentLinkRequest;
152
- }): Promise<CreatePaymentLinkResponse>;
167
+ createPaymentLink({ body, requestHeaders }?: PaymentApplicationValidator.CreatePaymentLinkParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.CreatePaymentLinkResponse>;
153
168
  /**
154
- * @param {Object} arg - Arg object.
155
- * @param {string} [arg.aggregator] -
156
- * @returns {Promise<CustomerCreditSummaryResponse>} - Success response
169
+ * @param {PaymentApplicationValidator.CustomerCreditSummaryParam} arg - Arg object.
170
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
171
+ * @param {import("../ApplicationAPIClient").Options} - Options
172
+ * @returns {Promise<PaymentApplicationModel.CustomerCreditSummaryResponse>}
173
+ * - Success response
174
+ *
175
+ * @name customerCreditSummary
157
176
  * @summary: API to fetch the customer credit summary
158
- * @description: Use this API to fetch the customer credit summary.
177
+ * @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
178
  */
160
- customerCreditSummary({ aggregator }?: {
161
- aggregator?: string;
162
- }): Promise<CustomerCreditSummaryResponse>;
179
+ customerCreditSummary({ aggregator, requestHeaders }?: PaymentApplicationValidator.CustomerCreditSummaryParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.CustomerCreditSummaryResponse>;
163
180
  /**
164
- * @param {Object} arg - Arg object.
165
- * @param {CustomerOnboardingRequest} arg.body
166
- * @returns {Promise<CustomerOnboardingResponse>} - Success response
181
+ * @param {PaymentApplicationValidator.CustomerOnboardParam} arg - Arg object.
182
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
183
+ * @param {import("../ApplicationAPIClient").Options} - Options
184
+ * @returns {Promise<PaymentApplicationModel.CustomerOnboardingResponse>} -
185
+ * Success response
186
+ * @name customerOnboard
167
187
  * @summary: API to fetch the customer credit summary
168
- * @description: Use this API to fetch the customer credit summary.
188
+ * @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
189
  */
170
- customerOnboard({ body }?: {
171
- body: CustomerOnboardingRequest;
172
- }): Promise<CustomerOnboardingResponse>;
190
+ customerOnboard({ body, requestHeaders }?: PaymentApplicationValidator.CustomerOnboardParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.CustomerOnboardingResponse>;
173
191
  /**
174
- * @param {Object} arg - Arg object.
175
- * @param {DeletehCardRequest} arg.body
176
- * @returns {Promise<DeleteCardsResponse>} - Success response
192
+ * @param {PaymentApplicationValidator.DeleteUserCardParam} arg - Arg object.
193
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
194
+ * @param {import("../ApplicationAPIClient").Options} - Options
195
+ * @returns {Promise<PaymentApplicationModel.DeleteCardsResponse>} - Success response
196
+ * @name deleteUserCard
177
197
  * @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
198
+ * @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/).
199
+ */
200
+ deleteUserCard({ body, requestHeaders }?: PaymentApplicationValidator.DeleteUserCardParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.DeleteCardsResponse>;
201
+ /**
202
+ * @param {PaymentApplicationValidator.EnableOrDisableRefundTransferModeParam} arg
203
+ * - Arg object.
204
+ *
205
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
206
+ * @param {import("../ApplicationAPIClient").Options} - Options
207
+ * @returns {Promise<PaymentApplicationModel.UpdateRefundTransferModeResponse>}
208
+ * - Success response
209
+ *
210
+ * @name enableOrDisableRefundTransferMode
187
211
  * @summary: Enable/Disable a mode for transferring a refund
188
- * @description: Activate or Deactivate Transfer Mode to collect Beneficiary Details for Refund
212
+ * @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
213
  */
190
- enableOrDisableRefundTransferMode({ body }?: {
191
- body: UpdateRefundTransferModeRequest;
192
- }): Promise<UpdateRefundTransferModeResponse>;
214
+ enableOrDisableRefundTransferMode({ body, requestHeaders }?: PaymentApplicationValidator.EnableOrDisableRefundTransferModeParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.UpdateRefundTransferModeResponse>;
193
215
  /**
194
- * @param {Object} arg - Arg object.
195
- * @param {boolean} [arg.refresh] -
196
- * @returns {Promise<ActiveCardPaymentGatewayResponse>} - Success response
216
+ * @param {PaymentApplicationValidator.GetActiveCardAggregatorParam} arg - Arg object.
217
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
218
+ * @param {import("../ApplicationAPIClient").Options} - Options
219
+ * @returns {Promise<PaymentApplicationModel.ActiveCardPaymentGatewayResponse>}
220
+ * - Success response
221
+ *
222
+ * @name getActiveCardAggregator
197
223
  * @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.
224
+ * @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
225
  */
200
- getActiveCardAggregator({ refresh }?: {
201
- refresh?: boolean;
202
- }): Promise<ActiveCardPaymentGatewayResponse>;
226
+ getActiveCardAggregator({ refresh, requestHeaders }?: PaymentApplicationValidator.GetActiveCardAggregatorParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.ActiveCardPaymentGatewayResponse>;
203
227
  /**
204
- * @param {Object} arg - Arg object.
205
- * @returns {Promise<TransferModeResponse>} - Success response
228
+ * @param {PaymentApplicationValidator.GetActiveRefundTransferModesParam} arg
229
+ * - Arg object.
230
+ *
231
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
232
+ * @param {import("../ApplicationAPIClient").Options} - Options
233
+ * @returns {Promise<PaymentApplicationModel.TransferModeResponse>} - Success response
234
+ * @name getActiveRefundTransferModes
206
235
  * @summary: Lists the mode of refund
207
- * @description: Use this API to retrieve eligible refund modes (such as Netbanking) and add the beneficiary details.
236
+ * @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
237
  */
209
- getActiveRefundTransferModes({}?: any): Promise<TransferModeResponse>;
238
+ getActiveRefundTransferModes({ requestHeaders }?: any, { responseHeaders }?: object): Promise<PaymentApplicationModel.TransferModeResponse>;
210
239
  /**
211
- * @param {Object} arg - Arg object.
212
- * @param {boolean} [arg.forceRefresh] -
213
- * @returns {Promise<ListCardsResponse>} - Success response
240
+ * @param {PaymentApplicationValidator.GetActiveUserCardsParam} arg - Arg object.
241
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
242
+ * @param {import("../ApplicationAPIClient").Options} - Options
243
+ * @returns {Promise<PaymentApplicationModel.ListCardsResponse>} - Success response
244
+ * @name getActiveUserCards
214
245
  * @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
227
- * @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.
246
+ * @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/).
229
247
  */
230
- getAggregatorsConfig({ xApiToken, refresh }?: {
231
- xApiToken?: string;
232
- refresh?: boolean;
233
- }): Promise<AggregatorsConfigDetailResponse>;
248
+ getActiveUserCards({ forceRefresh, requestHeaders }?: PaymentApplicationValidator.GetActiveUserCardsParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.ListCardsResponse>;
234
249
  /**
235
- * @param {Object} arg - Arg object.
236
- * @returns {Promise<EpaylaterBannerResponse>} - Success response
250
+ * @param {PaymentApplicationValidator.GetAggregatorsConfigParam} arg - Arg object.
251
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
252
+ * @param {import("../ApplicationAPIClient").Options} - Options
253
+ * @returns {Promise<PaymentApplicationModel.AggregatorsConfigDetailResponse>}
254
+ * - Success response
255
+ *
256
+ * @name getAggregatorsConfig
257
+ * @summary: Get payment gateway keys
258
+ * @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/).
259
+ */
260
+ getAggregatorsConfig({ xApiToken, refresh, requestHeaders }?: PaymentApplicationValidator.GetAggregatorsConfigParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.AggregatorsConfigDetailResponse>;
261
+ /**
262
+ * @param {PaymentApplicationValidator.GetEpaylaterBannerDetailsParam} arg
263
+ * - Arg object.
264
+ *
265
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
266
+ * @param {import("../ApplicationAPIClient").Options} - Options
267
+ * @returns {Promise<PaymentApplicationModel.EpaylaterBannerResponse>} -
268
+ * Success response
269
+ * @name getEpaylaterBannerDetails
237
270
  * @summary: Get Epaylater Enabled
238
- * @description: Get Epaylater Enabled if user is tentatively approved by epaylater
239
- */
240
- getEpaylaterBannerDetails({}?: any): Promise<EpaylaterBannerResponse>;
241
- /**
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
271
+ * @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/).
272
+ */
273
+ getEpaylaterBannerDetails({ requestHeaders }?: any, { responseHeaders }?: object): Promise<PaymentApplicationModel.EpaylaterBannerResponse>;
274
+ /**
275
+ * @param {PaymentApplicationValidator.GetOrderBeneficiariesDetailParam} arg
276
+ * - Arg object.
277
+ *
278
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
279
+ * @param {import("../ApplicationAPIClient").Options} - Options
280
+ * @returns {Promise<PaymentApplicationModel.OrderBeneficiaryResponse>} -
281
+ * Success response
282
+ * @name getOrderBeneficiariesDetail
246
283
  * @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.
284
+ * @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
285
  */
249
- getOrderBeneficiariesDetail({ orderId }?: {
250
- orderId: string;
251
- }): Promise<OrderBeneficiaryResponse>;
286
+ getOrderBeneficiariesDetail({ orderId, requestHeaders }?: PaymentApplicationValidator.GetOrderBeneficiariesDetailParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.OrderBeneficiaryResponse>;
252
287
  /**
253
- * @param {Object} arg - Arg object.
254
- * @param {string} [arg.paymentLinkId] -
255
- * @returns {Promise<GetPaymentLinkResponse>} - Success response
288
+ * @param {PaymentApplicationValidator.GetPaymentLinkParam} arg - Arg object.
289
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
290
+ * @param {import("../ApplicationAPIClient").Options} - Options
291
+ * @returns {Promise<PaymentApplicationModel.GetPaymentLinkResponse>} -
292
+ * Success response
293
+ * @name getPaymentLink
256
294
  * @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
295
+ * @description: Use this API to get a payment link - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getPaymentLink/).
296
+ */
297
+ getPaymentLink({ paymentLinkId, requestHeaders }?: PaymentApplicationValidator.GetPaymentLinkParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.GetPaymentLinkResponse>;
298
+ /**
299
+ * @param {PaymentApplicationValidator.GetPaymentModeRoutesParam} arg - Arg object.
300
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
301
+ * @param {import("../ApplicationAPIClient").Options} - Options
302
+ * @returns {Promise<PaymentApplicationModel.PaymentModeRouteResponse>} -
303
+ * Success response
304
+ * @name getPaymentModeRoutes
276
305
  * @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
306
+ * @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/).
307
+ */
308
+ getPaymentModeRoutes({ amount, cartId, pincode, checkoutMode, refresh, cardReference, userDetails, requestHeaders, }?: PaymentApplicationValidator.GetPaymentModeRoutesParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.PaymentModeRouteResponse>;
309
+ /**
310
+ * @param {PaymentApplicationValidator.GetPaymentModeRoutesPaymentLinkParam} arg
311
+ * - Arg object.
312
+ *
313
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
314
+ * @param {import("../ApplicationAPIClient").Options} - Options
315
+ * @returns {Promise<PaymentApplicationModel.PaymentModeRouteResponse>} -
316
+ * Success response
317
+ * @name getPaymentModeRoutesPaymentLink
292
318
  * @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
319
+ * @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/).
320
+ */
321
+ getPaymentModeRoutesPaymentLink({ paymentLinkId, requestHeaders }?: PaymentApplicationValidator.GetPaymentModeRoutesPaymentLinkParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.PaymentModeRouteResponse>;
322
+ /**
323
+ * @param {PaymentApplicationValidator.GetPosPaymentModeRoutesParam} arg - Arg object.
324
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
325
+ * @param {import("../ApplicationAPIClient").Options} - Options
326
+ * @returns {Promise<PaymentApplicationModel.PaymentModeRouteResponse>} -
327
+ * Success response
328
+ * @name getPosPaymentModeRoutes
315
329
  * @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
331
- * @summary: Get CreditLine Offer
332
- * @description: Get CreditLine Offer if user is tentatively approved by rupifi
330
+ * @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/).
333
331
  */
334
- getRupifiBannerDetails({}?: any): Promise<RupifiBannerResponse>;
332
+ getPosPaymentModeRoutes({ amount, cartId, pincode, checkoutMode, orderType, refresh, cardReference, userDetails, requestHeaders, }?: PaymentApplicationValidator.GetPosPaymentModeRoutesParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.PaymentModeRouteResponse>;
335
333
  /**
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
334
+ * @param {PaymentApplicationValidator.GetRupifiBannerDetailsParam} arg - Arg object.
335
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
336
+ * @param {import("../ApplicationAPIClient").Options} - Options
337
+ * @returns {Promise<PaymentApplicationModel.RupifiBannerResponse>} - Success response
338
+ * @name getRupifiBannerDetails
339
+ * @summary: Get CreditLine Offer
340
+ * @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/).
341
+ */
342
+ getRupifiBannerDetails({ requestHeaders }?: any, { responseHeaders }?: object): Promise<PaymentApplicationModel.RupifiBannerResponse>;
343
+ /**
344
+ * @param {PaymentApplicationValidator.GetUserBeneficiariesDetailParam} arg
345
+ * - Arg object.
346
+ *
347
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
348
+ * @param {import("../ApplicationAPIClient").Options} - Options
349
+ * @returns {Promise<PaymentApplicationModel.OrderBeneficiaryResponse>} -
350
+ * Success response
351
+ * @name getUserBeneficiariesDetail
340
352
  * @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.
353
+ * @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
354
  */
343
- getUserBeneficiariesDetail({ orderId }?: {
344
- orderId: string;
345
- }): Promise<OrderBeneficiaryResponse>;
355
+ getUserBeneficiariesDetail({ orderId, requestHeaders }?: PaymentApplicationValidator.GetUserBeneficiariesDetailParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.OrderBeneficiaryResponse>;
346
356
  /**
347
- * @param {Object} arg - Arg object.
348
- * @param {PaymentInitializationRequest} arg.body
349
- * @returns {Promise<PaymentInitializationResponse>} - Success response
357
+ * @param {PaymentApplicationValidator.InitialisePaymentParam} arg - Arg object.
358
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
359
+ * @param {import("../ApplicationAPIClient").Options} - Options
360
+ * @returns {Promise<PaymentApplicationModel.PaymentInitializationResponse>}
361
+ * - Success response
362
+ *
363
+ * @name initialisePayment
350
364
  * @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
365
+ * @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/).
366
+ */
367
+ initialisePayment({ body, requestHeaders }?: PaymentApplicationValidator.InitialisePaymentParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.PaymentInitializationResponse>;
368
+ /**
369
+ * @param {PaymentApplicationValidator.InitialisePaymentPaymentLinkParam} arg
370
+ * - Arg object.
371
+ *
372
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
373
+ * @param {import("../ApplicationAPIClient").Options} - Options
374
+ * @returns {Promise<PaymentApplicationModel.PaymentInitializationResponse>}
375
+ * - Success response
376
+ *
377
+ * @name initialisePaymentPaymentLink
360
378
  * @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.
379
+ * @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
380
  */
363
- initialisePaymentPaymentLink({ body }?: {
364
- body: PaymentInitializationRequest;
365
- }): Promise<PaymentInitializationResponse>;
381
+ initialisePaymentPaymentLink({ body, requestHeaders }?: PaymentApplicationValidator.InitialisePaymentPaymentLinkParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.PaymentInitializationResponse>;
366
382
  /**
367
- * @param {Object} arg - Arg object.
368
- * @param {string} [arg.aggregator] -
369
- * @returns {Promise<OutstandingOrderDetailsResponse>} - Success response
383
+ * @param {PaymentApplicationValidator.OutstandingOrderDetailsParam} arg - Arg object.
384
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
385
+ * @param {import("../ApplicationAPIClient").Options} - Options
386
+ * @returns {Promise<PaymentApplicationModel.OutstandingOrderDetailsResponse>}
387
+ * - Success response
388
+ *
389
+ * @name outstandingOrderDetails
370
390
  * @summary: API to fetch the outstanding order details
371
- * @description: Use this API to fetch the outstanding order details.
391
+ * @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
392
  */
373
- outstandingOrderDetails({ aggregator }?: {
374
- aggregator?: string;
375
- }): Promise<OutstandingOrderDetailsResponse>;
393
+ outstandingOrderDetails({ aggregator, requestHeaders }?: PaymentApplicationValidator.OutstandingOrderDetailsParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.OutstandingOrderDetailsResponse>;
376
394
  /**
377
- * @param {Object} arg - Arg object.
378
- * @param {string} [arg.aggregator] -
379
- * @returns {Promise<PaidOrderDetailsResponse>} - Success response
395
+ * @param {PaymentApplicationValidator.PaidOrderDetailsParam} arg - Arg object.
396
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
397
+ * @param {import("../ApplicationAPIClient").Options} - Options
398
+ * @returns {Promise<PaymentApplicationModel.PaidOrderDetailsResponse>} -
399
+ * Success response
400
+ * @name paidOrderDetails
380
401
  * @summary: API to fetch the paid order details
381
- * @description: Use this API to fetch the paid order details.
402
+ * @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
403
  */
383
- paidOrderDetails({ aggregator }?: {
384
- aggregator?: string;
385
- }): Promise<PaidOrderDetailsResponse>;
404
+ paidOrderDetails({ aggregator, requestHeaders }?: PaymentApplicationValidator.PaidOrderDetailsParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.PaidOrderDetailsResponse>;
386
405
  /**
387
- * @param {Object} arg - Arg object.
388
- * @param {string} [arg.paymentLinkId] -
389
- * @returns {Promise<PollingPaymentLinkResponse>} - Success response
406
+ * @param {PaymentApplicationValidator.PollingPaymentLinkParam} arg - Arg object.
407
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
408
+ * @param {import("../ApplicationAPIClient").Options} - Options
409
+ * @returns {Promise<PaymentApplicationModel.PollingPaymentLinkResponse>} -
410
+ * Success response
411
+ * @name pollingPaymentLink
390
412
  * @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
413
+ * @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/).
414
+ */
415
+ pollingPaymentLink({ paymentLinkId, requestHeaders }?: PaymentApplicationValidator.PollingPaymentLinkParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.PollingPaymentLinkResponse>;
416
+ /**
417
+ * @param {PaymentApplicationValidator.RedirectToAggregatorParam} arg - Arg object.
418
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
419
+ * @param {import("../ApplicationAPIClient").Options} - Options
420
+ * @returns {Promise<PaymentApplicationModel.RedirectToAggregatorResponse>}
421
+ * - Success response
422
+ *
423
+ * @name redirectToAggregator
403
424
  * @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
425
+ * @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
426
  */
406
- redirectToAggregator({ source, aggregator }?: {
407
- source?: string;
408
- aggregator?: string;
409
- }): Promise<RedirectToAggregatorResponse>;
427
+ redirectToAggregator({ source, aggregator, requestHeaders }?: PaymentApplicationValidator.RedirectToAggregatorParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.RedirectToAggregatorResponse>;
410
428
  /**
411
- * @param {Object} arg - Arg object.
412
- * @param {renderHTMLRequest} arg.body
413
- * @returns {Promise<renderHTMLResponse>} - Success response
429
+ * @param {PaymentApplicationValidator.RenderHTMLParam} arg - Arg object.
430
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
431
+ * @param {import("../ApplicationAPIClient").Options} - Options
432
+ * @returns {Promise<PaymentApplicationModel.renderHTMLResponse>} - Success response
433
+ * @name renderHTML
414
434
  * @summary: Convert base64 string to HTML form
415
- * @description: Use this API to decode base64 html form to plain HTML string.
435
+ * @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
436
  */
417
- renderHTML({ body }?: {
418
- body: renderHTMLRequest;
419
- }): Promise<renderHTMLResponse>;
437
+ renderHTML({ body, requestHeaders }?: PaymentApplicationValidator.RenderHTMLParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.renderHTMLResponse>;
420
438
  /**
421
- * @param {Object} arg - Arg object.
422
- * @param {ResendOrCancelPaymentRequest} arg.body
423
- * @returns {Promise<ResendOrCancelPaymentResponse>} - Success response
439
+ * @param {PaymentApplicationValidator.ResendOrCancelPaymentParam} arg - Arg object.
440
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
441
+ * @param {import("../ApplicationAPIClient").Options} - Options
442
+ * @returns {Promise<PaymentApplicationModel.ResendOrCancelPaymentResponse>}
443
+ * - Success response
444
+ *
445
+ * @name resendOrCancelPayment
424
446
  * @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.
447
+ * @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
448
  */
427
- resendOrCancelPayment({ body }?: {
428
- body: ResendOrCancelPaymentRequest;
429
- }): Promise<ResendOrCancelPaymentResponse>;
449
+ resendOrCancelPayment({ body, requestHeaders }?: PaymentApplicationValidator.ResendOrCancelPaymentParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.ResendOrCancelPaymentResponse>;
430
450
  /**
431
- * @param {Object} arg - Arg object.
432
- * @param {CancelOrResendPaymentLinkRequest} arg.body
433
- * @returns {Promise<ResendPaymentLinkResponse>} - Success response
451
+ * @param {PaymentApplicationValidator.ResendPaymentLinkParam} arg - Arg object.
452
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
453
+ * @param {import("../ApplicationAPIClient").Options} - Options
454
+ * @returns {Promise<PaymentApplicationModel.ResendPaymentLinkResponse>} -
455
+ * Success response
456
+ * @name resendPaymentLink
434
457
  * @summary: Resend payment link
435
- * @description: Use this API to resend a payment link for the customer
436
- */
437
- resendPaymentLink({ body }?: {
438
- body: CancelOrResendPaymentLinkRequest;
439
- }): Promise<ResendPaymentLinkResponse>;
440
- /**
441
- * @param {Object} arg - Arg object.
442
- * @param {SetDefaultBeneficiaryRequest} arg.body
443
- * @returns {Promise<SetDefaultBeneficiaryResponse>} - Success response
458
+ * @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/).
459
+ */
460
+ resendPaymentLink({ body, requestHeaders }?: PaymentApplicationValidator.ResendPaymentLinkParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.ResendPaymentLinkResponse>;
461
+ /**
462
+ * @param {PaymentApplicationValidator.UpdateDefaultBeneficiaryParam} arg -
463
+ * Arg object.
464
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
465
+ * @param {import("../ApplicationAPIClient").Options} - Options
466
+ * @returns {Promise<PaymentApplicationModel.SetDefaultBeneficiaryResponse>}
467
+ * - Success response
468
+ *
469
+ * @name updateDefaultBeneficiary
444
470
  * @summary: Set a default beneficiary for a refund
445
- * @description: Use this API to set a default beneficiary for getting a refund.
471
+ * @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
472
  */
447
- updateDefaultBeneficiary({ body }?: {
448
- body: SetDefaultBeneficiaryRequest;
449
- }): Promise<SetDefaultBeneficiaryResponse>;
473
+ updateDefaultBeneficiary({ body, requestHeaders }?: PaymentApplicationValidator.UpdateDefaultBeneficiaryParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.SetDefaultBeneficiaryResponse>;
450
474
  /**
451
- * @param {Object} arg - Arg object.
452
- * @param {ValidateVPARequest} arg.body
453
- * @returns {Promise<ValidateVPAResponse>} - Success response
475
+ * @param {PaymentApplicationValidator.ValidateVPAParam} arg - Arg object.
476
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
477
+ * @param {import("../ApplicationAPIClient").Options} - Options
478
+ * @returns {Promise<PaymentApplicationModel.ValidateVPAResponse>} - Success response
479
+ * @name validateVPA
454
480
  * @summary: API to Validate UPI ID
455
- * @description: API to Validate UPI ID
481
+ * @description: API to Validate UPI ID - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/validateVPA/).
456
482
  */
457
- validateVPA({ body }?: {
458
- body: ValidateVPARequest;
459
- }): Promise<ValidateVPAResponse>;
483
+ validateVPA({ body, requestHeaders }?: PaymentApplicationValidator.ValidateVPAParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.ValidateVPAResponse>;
460
484
  /**
461
- * @param {Object} arg - Arg object.
462
- * @param {ChargeCustomerRequest} arg.body
463
- * @returns {Promise<ChargeCustomerResponse>} - Success response
485
+ * @param {PaymentApplicationValidator.VerifyAndChargePaymentParam} arg - Arg object.
486
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
487
+ * @param {import("../ApplicationAPIClient").Options} - Options
488
+ * @returns {Promise<PaymentApplicationModel.ChargeCustomerResponse>} -
489
+ * Success response
490
+ * @name verifyAndChargePayment
464
491
  * @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.
492
+ * @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
493
  */
467
- verifyAndChargePayment({ body }?: {
468
- body: ChargeCustomerRequest;
469
- }): Promise<ChargeCustomerResponse>;
494
+ verifyAndChargePayment({ body, requestHeaders }?: PaymentApplicationValidator.VerifyAndChargePaymentParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.ChargeCustomerResponse>;
470
495
  /**
471
- * @param {Object} arg - Arg object.
472
- * @param {ValidateCustomerRequest} arg.body
473
- * @returns {Promise<ValidateCustomerResponse>} - Success response
496
+ * @param {PaymentApplicationValidator.VerifyCustomerForPaymentParam} arg -
497
+ * Arg object.
498
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
499
+ * @param {import("../ApplicationAPIClient").Options} - Options
500
+ * @returns {Promise<PaymentApplicationModel.ValidateCustomerResponse>} -
501
+ * Success response
502
+ * @name verifyCustomerForPayment
474
503
  * @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.
504
+ * @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
505
  */
477
- verifyCustomerForPayment({ body }?: {
478
- body: ValidateCustomerRequest;
479
- }): Promise<ValidateCustomerResponse>;
506
+ verifyCustomerForPayment({ body, requestHeaders }?: PaymentApplicationValidator.VerifyCustomerForPaymentParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.ValidateCustomerResponse>;
480
507
  /**
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
508
+ * @param {PaymentApplicationValidator.VerifyIfscCodeParam} arg - Arg object.
509
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
510
+ * @param {import("../ApplicationAPIClient").Options} - Options
511
+ * @returns {Promise<PaymentApplicationModel.IfscCodeResponse>} - Success response
512
+ * @name verifyIfscCode
485
513
  * @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
514
+ * @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/).
515
+ */
516
+ verifyIfscCode({ ifscCode, requestHeaders }?: PaymentApplicationValidator.VerifyIfscCodeParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.IfscCodeResponse>;
517
+ /**
518
+ * @param {PaymentApplicationValidator.VerifyOtpAndAddBeneficiaryForBankParam} arg
519
+ * - Arg object.
520
+ *
521
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
522
+ * @param {import("../ApplicationAPIClient").Options} - Options
523
+ * @returns {Promise<PaymentApplicationModel.AddBeneficiaryViaOtpVerificationResponse>}
524
+ * - Success response
525
+ *
526
+ * @name verifyOtpAndAddBeneficiaryForBank
495
527
  * @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.
528
+ * @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
529
  */
498
- verifyOtpAndAddBeneficiaryForBank({ body }?: {
499
- body: AddBeneficiaryViaOtpVerificationRequest;
500
- }): Promise<AddBeneficiaryViaOtpVerificationResponse>;
530
+ verifyOtpAndAddBeneficiaryForBank({ body, requestHeaders }?: PaymentApplicationValidator.VerifyOtpAndAddBeneficiaryForBankParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.AddBeneficiaryViaOtpVerificationResponse>;
501
531
  /**
502
- * @param {Object} arg - Arg object.
503
- * @param {WalletOtpRequest} arg.body
504
- * @returns {Promise<WalletOtpResponse>} - Success response
532
+ * @param {PaymentApplicationValidator.VerifyOtpAndAddBeneficiaryForWalletParam} arg
533
+ * - Arg object.
534
+ *
535
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
536
+ * @param {import("../ApplicationAPIClient").Options} - Options
537
+ * @returns {Promise<PaymentApplicationModel.WalletOtpResponse>} - Success response
538
+ * @name verifyOtpAndAddBeneficiaryForWallet
505
539
  * @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.
540
+ * @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
541
  */
508
- verifyOtpAndAddBeneficiaryForWallet({ body }?: {
509
- body: WalletOtpRequest;
510
- }): Promise<WalletOtpResponse>;
542
+ verifyOtpAndAddBeneficiaryForWallet({ body, requestHeaders }?: PaymentApplicationValidator.VerifyOtpAndAddBeneficiaryForWalletParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.WalletOtpResponse>;
511
543
  }
544
+ import PaymentApplicationValidator = require("./PaymentApplicationValidator");
545
+ import PaymentApplicationModel = require("./PaymentApplicationModel");