@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
@@ -4,351 +4,346 @@ declare class Payment {
4
4
  config: any;
5
5
  applicationId: any;
6
6
  /**
7
- * @param {Object} arg - Arg object.
8
- * @param {string} arg.terminalUniqueIdentifier - Terminal unique identifier
9
- * @param {EdcUpdateRequest} arg.body
10
- * @returns {Promise<EdcDeviceUpdateResponse>} - Success response
7
+ * @param {PaymentPlatformApplicationValidator.AddEdcDeviceParam} arg - Arg object
8
+ * @param {import("../PlatformAPIClient").Options} - Options
9
+ * @returns {Promise<PaymentPlatformModel.EdcDeviceUpdateResponse>} - Success response
10
+ * @name addEdcDevice
11
11
  * @summary: Update store id and device tag of edc device
12
- * @description: Use this API to Update store id and device tag of edc device
12
+ * @description: Use this API to Update store id and device tag of edc device - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/addEdcDevice/).
13
13
  */
14
- addEdcDevice({ terminalUniqueIdentifier, body }?: {
15
- terminalUniqueIdentifier: string;
16
- body: EdcUpdateRequest;
17
- }): Promise<EdcDeviceUpdateResponse>;
14
+ addEdcDevice({ terminalUniqueIdentifier, body }?: PaymentPlatformApplicationValidator.AddEdcDeviceParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.EdcDeviceUpdateResponse>;
18
15
  /**
19
- * @param {Object} arg - Arg object.
20
- * @param {AddBeneficiaryDetailsOTPRequest} arg.body
21
- * @returns {Promise<RefundAccountResponse>} - Success response
16
+ * @param {PaymentPlatformApplicationValidator.AddRefundBankAccountUsingOTPParam} arg
17
+ * - Arg object
18
+ *
19
+ * @param {import("../PlatformAPIClient").Options} - Options
20
+ * @returns {Promise<PaymentPlatformModel.RefundAccountResponse>} - Success response
21
+ * @name addRefundBankAccountUsingOTP
22
22
  * @summary: Save bank details for cancelled/returned order
23
- * @description: Use this API to save bank details for returned/cancelled order to refund amount in his account.
23
+ * @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/platform/payment/addRefundBankAccountUsingOTP/).
24
24
  */
25
- addRefundBankAccountUsingOTP({ body }?: {
26
- body: AddBeneficiaryDetailsOTPRequest;
27
- }): Promise<RefundAccountResponse>;
25
+ addRefundBankAccountUsingOTP({ body }?: PaymentPlatformApplicationValidator.AddRefundBankAccountUsingOTPParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.RefundAccountResponse>;
28
26
  /**
29
- * @param {Object} arg - Arg object.
30
- * @param {CancelOrResendPaymentLinkRequest} arg.body
31
- * @returns {Promise<CancelPaymentLinkResponse>} - Success response
27
+ * @param {PaymentPlatformApplicationValidator.CancelPaymentLinkParam} arg
28
+ * - Arg object
29
+ *
30
+ * @param {import("../PlatformAPIClient").Options} - Options
31
+ * @returns {Promise<PaymentPlatformModel.CancelPaymentLinkResponse>} -
32
+ * Success response
33
+ * @name cancelPaymentLink
32
34
  * @summary: Cancel payment link
33
- * @description: Use this API to cancel a payment link for the customer
35
+ * @description: Use this API to cancel a payment link for the customer - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/cancelPaymentLink/).
34
36
  */
35
- cancelPaymentLink({ body }?: {
36
- body: CancelOrResendPaymentLinkRequest;
37
- }): Promise<CancelPaymentLinkResponse>;
37
+ cancelPaymentLink({ body }?: PaymentPlatformApplicationValidator.CancelPaymentLinkParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.CancelPaymentLinkResponse>;
38
38
  /**
39
- * @param {Object} arg - Arg object.
40
- * @param {PaymentStatusUpdateRequest} arg.body
41
- * @returns {Promise<PaymentStatusUpdateResponse>} - Success response
39
+ * @param {PaymentPlatformApplicationValidator.CheckAndUpdatePaymentStatusParam} arg
40
+ * - Arg object
41
+ *
42
+ * @param {import("../PlatformAPIClient").Options} - Options
43
+ * @returns {Promise<PaymentPlatformModel.PaymentStatusUpdateResponse>} -
44
+ * Success response
45
+ * @name checkAndUpdatePaymentStatus
42
46
  * @summary: Performs continuous polling to check status of payment on the server
43
- * @description: Use this API to perform continuous polling at intervals to check the status of payment until timeout.
47
+ * @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/platform/payment/checkAndUpdatePaymentStatus/).
44
48
  */
45
- checkAndUpdatePaymentStatus({ body }?: {
46
- body: PaymentStatusUpdateRequest;
47
- }): Promise<PaymentStatusUpdateResponse>;
49
+ checkAndUpdatePaymentStatus({ body }?: PaymentPlatformApplicationValidator.CheckAndUpdatePaymentStatusParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.PaymentStatusUpdateResponse>;
48
50
  /**
49
- * @param {Object} arg - Arg object.
50
- * @param {PaymentConfirmationRequest} arg.body
51
- * @returns {Promise<PaymentConfirmationResponse>} - Success response
51
+ * @param {PaymentPlatformApplicationValidator.ConfirmPaymentParam} arg - Arg object
52
+ * @param {import("../PlatformAPIClient").Options} - Options
53
+ * @returns {Promise<PaymentPlatformModel.PaymentConfirmationResponse>} -
54
+ * Success response
55
+ * @name confirmPayment
52
56
  * @summary: Confirm payment after successful payment from payment gateway
53
- * @description: Use this API to confirm payment after payment gateway accepted payment.
57
+ * @description: Use this API to confirm payment after payment gateway accepted payment. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/confirmPayment/).
54
58
  */
55
- confirmPayment({ body }?: {
56
- body: PaymentConfirmationRequest;
57
- }): Promise<PaymentConfirmationResponse>;
59
+ confirmPayment({ body }?: PaymentPlatformApplicationValidator.ConfirmPaymentParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.PaymentConfirmationResponse>;
58
60
  /**
59
- * @param {Object} arg - Arg object.
60
- * @param {CreatePaymentLinkRequest} arg.body
61
- * @returns {Promise<CreatePaymentLinkResponse>} - Success response
61
+ * @param {PaymentPlatformApplicationValidator.CreatePaymentLinkParam} arg
62
+ * - Arg object
63
+ *
64
+ * @param {import("../PlatformAPIClient").Options} - Options
65
+ * @returns {Promise<PaymentPlatformModel.CreatePaymentLinkResponse>} -
66
+ * Success response
67
+ * @name createPaymentLink
62
68
  * @summary: Create payment link
63
- * @description: Use this API to create a payment link for the customer
69
+ * @description: Use this API to create a payment link for the customer - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/createPaymentLink/).
64
70
  */
65
- createPaymentLink({ body }?: {
66
- body: CreatePaymentLinkRequest;
67
- }): Promise<CreatePaymentLinkResponse>;
71
+ createPaymentLink({ body }?: PaymentPlatformApplicationValidator.CreatePaymentLinkParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.CreatePaymentLinkResponse>;
68
72
  /**
69
- * @param {Object} arg - Arg object.
70
- * @returns {Promise<EdcAggregatorAndModelListResponse>} - Success response
73
+ * @param {import("../PlatformAPIClient").Options} - Options
74
+ * @returns {Promise<PaymentPlatformModel.EdcAggregatorAndModelListResponse>}
75
+ * - Success response
76
+ *
77
+ * @name edcAggregatorsAndModelList
71
78
  * @summary: get some information about the store and edc device
72
- * @description: Use this API to get info of devices linked to a particular app.
79
+ * @description: Use this API to get info of devices linked to a particular app. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/edcAggregatorsAndModelList/).
73
80
  */
74
- edcAggregatorsAndModelList({}?: any): Promise<EdcAggregatorAndModelListResponse>;
81
+ edcAggregatorsAndModelList({ headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.EdcAggregatorAndModelListResponse>;
75
82
  /**
76
- * @param {Object} arg - Arg object.
77
- * @param {number} [arg.pageNo] -
78
- * @param {number} [arg.pageSize] -
79
- * @param {boolean} [arg.isActive] -
80
- * @param {number} [arg.storeId] -
81
- * @param {string} [arg.deviceTag] -
82
- * @returns {Promise<EdcDeviceListResponse>} - Success response
83
+ * @param {PaymentPlatformApplicationValidator.EdcDeviceListParam} arg - Arg object
84
+ * @param {import("../PlatformAPIClient").Options} - Options
85
+ * @returns {Promise<PaymentPlatformModel.EdcDeviceListResponse>} - Success response
86
+ * @name edcDeviceList
83
87
  * @summary: get all the device list of an app
84
- * @description: Use this API to get all devices linked to a particular app.
85
- */
86
- edcDeviceList({ pageNo, pageSize, isActive, storeId, deviceTag }?: {
87
- pageNo?: number;
88
- pageSize?: number;
89
- isActive?: boolean;
90
- storeId?: number;
91
- deviceTag?: string;
92
- }): Promise<EdcDeviceListResponse>;
93
- /**
94
- * @param {Object} arg - Arg object.
95
- * @returns {Promise<EdcDeviceStatsResponse>} - Success response
88
+ * @description: Use this API to get all devices linked to a particular app. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/edcDeviceList/).
89
+ */
90
+ edcDeviceList({ pageNo, pageSize, isActive, storeId, deviceTag }?: PaymentPlatformApplicationValidator.EdcDeviceListParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.EdcDeviceListResponse>;
91
+ /**
92
+ * @param {import("../PlatformAPIClient").Options} - Options
93
+ * @returns {Promise<PaymentPlatformModel.EdcDeviceStatsResponse>} - Success response
94
+ * @name edcDeviceStats
96
95
  * @summary: get some information about the store and edc device
97
- * @description: Use this API to get info of devices linked to a particular app.
96
+ * @description: Use this API to get info of devices linked to a particular app. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/edcDeviceStats/).
98
97
  */
99
- edcDeviceStats({}?: any): Promise<EdcDeviceStatsResponse>;
98
+ edcDeviceStats({ headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.EdcDeviceStatsResponse>;
100
99
  /**
101
- * @param {Object} arg - Arg object.
102
- * @param {string} arg.orderId -
103
- * @param {string} [arg.requestHash] -
104
- * @returns {Promise<RefundAccountResponse>} - Success response
100
+ * @param {PaymentPlatformApplicationValidator.GetBankAccountDetailsOpenAPIParam} arg
101
+ * - Arg object
102
+ *
103
+ * @param {import("../PlatformAPIClient").Options} - Options
104
+ * @returns {Promise<PaymentPlatformModel.RefundAccountResponse>} - Success response
105
+ * @name getBankAccountDetailsOpenAPI
105
106
  * @summary: Get bank details
106
- * @description: Use this API to get saved bank details for returned/cancelled order using order id.
107
+ * @description: Use this API to get saved bank details for returned/cancelled order using order id. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getBankAccountDetailsOpenAPI/).
107
108
  */
108
- getBankAccountDetailsOpenAPI({ orderId, requestHash, }?: {
109
- orderId: string;
110
- requestHash?: string;
111
- }): Promise<RefundAccountResponse>;
109
+ getBankAccountDetailsOpenAPI({ orderId, requestHash }?: PaymentPlatformApplicationValidator.GetBankAccountDetailsOpenAPIParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.RefundAccountResponse>;
112
110
  /**
113
- * @param {Object} arg - Arg object.
114
- * @returns {Promise<PaymentGatewayConfigResponse>} - Success response
111
+ * @param {import("../PlatformAPIClient").Options} - Options
112
+ * @returns {Promise<PaymentPlatformModel.PaymentGatewayConfigResponse>} -
113
+ * Success response
114
+ * @name getBrandPaymentGatewayConfig
115
115
  * @summary: Get All Brand Payment Gateway Config Secret
116
- * @description: Get All Brand Payment Gateway Config Secret
116
+ * @description: Get All Brand Payment Gateway Config Secret - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getBrandPaymentGatewayConfig/).
117
117
  */
118
- getBrandPaymentGatewayConfig({}?: any): Promise<PaymentGatewayConfigResponse>;
118
+ getBrandPaymentGatewayConfig({ headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.PaymentGatewayConfigResponse>;
119
119
  /**
120
- * @param {Object} arg - Arg object.
121
- * @param {string} arg.terminalUniqueIdentifier - Terminal unique identifier
122
- * @returns {Promise<EdcDeviceDetailsResponse>} - Success response
120
+ * @param {PaymentPlatformApplicationValidator.GetEdcDeviceParam} arg - Arg object
121
+ * @param {import("../PlatformAPIClient").Options} - Options
122
+ * @returns {Promise<PaymentPlatformModel.EdcDeviceDetailsResponse>} -
123
+ * Success response
124
+ * @name getEdcDevice
123
125
  * @summary: get details of a single edc device
124
- * @description: Use this API to get details of a single edc device
126
+ * @description: Use this API to get details of a single edc device - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getEdcDevice/).
125
127
  */
126
- getEdcDevice({ terminalUniqueIdentifier }?: {
127
- terminalUniqueIdentifier: string;
128
- }): Promise<EdcDeviceDetailsResponse>;
128
+ getEdcDevice({ terminalUniqueIdentifier }?: PaymentPlatformApplicationValidator.GetEdcDeviceParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.EdcDeviceDetailsResponse>;
129
129
  /**
130
- * @param {Object} arg - Arg object.
131
- * @returns {Promise<GetPaymentCodeResponse>} - Success response
130
+ * @param {import("../PlatformAPIClient").Options} - Options
131
+ * @returns {Promise<PaymentPlatformModel.GetPaymentCodeResponse>} - Success response
132
+ * @name getPaymentCodeOption
132
133
  * @summary: List Payment Options Method Codes
133
- * @description: Get all active List Payment Options Method Codes
134
+ * @description: Get all active List Payment Options Method Codes - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getPaymentCodeOption/).
134
135
  */
135
- getPaymentCodeOption({}?: any): Promise<GetPaymentCodeResponse>;
136
+ getPaymentCodeOption({ headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.GetPaymentCodeResponse>;
136
137
  /**
137
- * @param {Object} arg - Arg object.
138
- * @param {string} [arg.paymentLinkId] -
139
- * @returns {Promise<GetPaymentLinkResponse>} - Success response
138
+ * @param {PaymentPlatformApplicationValidator.GetPaymentLinkParam} arg - Arg object
139
+ * @param {import("../PlatformAPIClient").Options} - Options
140
+ * @returns {Promise<PaymentPlatformModel.GetPaymentLinkResponse>} - Success response
141
+ * @name getPaymentLink
140
142
  * @summary: Get payment link
141
- * @description: Use this API to get a payment link
143
+ * @description: Use this API to get a payment link - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getPaymentLink/).
142
144
  */
143
- getPaymentLink({ paymentLinkId }?: {
144
- paymentLinkId?: string;
145
- }): Promise<GetPaymentLinkResponse>;
145
+ getPaymentLink({ paymentLinkId }?: PaymentPlatformApplicationValidator.GetPaymentLinkParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.GetPaymentLinkResponse>;
146
146
  /**
147
- * @param {Object} arg - Arg object.
148
- * @param {boolean} arg.refresh -
149
- * @param {string} arg.requestType -
150
- * @returns {Promise<PaymentOptionsResponse>} - Success response
147
+ * @param {PaymentPlatformApplicationValidator.GetPaymentModeRoutesParam} arg
148
+ * - Arg object
149
+ *
150
+ * @param {import("../PlatformAPIClient").Options} - Options
151
+ * @returns {Promise<PaymentPlatformModel.PaymentOptionsResponse>} - Success response
152
+ * @name getPaymentModeRoutes
151
153
  * @summary: Get All Valid Payment Options
152
- * @description: Use this API to get Get All Valid Payment Options for making payment
153
- */
154
- getPaymentModeRoutes({ refresh, requestType }?: {
155
- refresh: boolean;
156
- requestType: string;
157
- }): Promise<PaymentOptionsResponse>;
158
- /**
159
- * @param {Object} arg - Arg object.
160
- * @param {number} arg.amount - Payable amount.
161
- * @param {string} arg.cartId - Identifier of the cart.
162
- * @param {string} arg.pincode - The PIN Code of the destination address, e.g. 400059
163
- * @param {string} arg.checkoutMode - Option to checkout for self or for others.
164
- * @param {boolean} [arg.refresh] - This is a boolean value. Select `true`
165
- * to remove temporary cache files on payment gateway and replace with the
166
- * latest one.
167
- * @param {string} [arg.cardReference] - Card reference id of user's debit
168
- * or credit card.
169
- * @param {string} arg.orderType - The order type of shipment * HomeDelivery
170
- * - If the customer wants the order home-delivered * PickAtStore - If the
171
- * customer wants the handover of an order at the store itself.
172
- * @param {string} [arg.userDetails] - URIencoded JSON containing details of
173
- * an anonymous user.
174
- * @returns {Promise<PaymentOptionsResponse>} - Success response
154
+ * @description: Use this API to get Get All Valid Payment Options for making payment - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getPaymentModeRoutes/).
155
+ */
156
+ getPaymentModeRoutes({ refresh, requestType }?: PaymentPlatformApplicationValidator.GetPaymentModeRoutesParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.PaymentOptionsResponse>;
157
+ /**
158
+ * @param {PaymentPlatformApplicationValidator.GetPosPaymentModeRoutesParam} arg
159
+ * - Arg object
160
+ *
161
+ * @param {import("../PlatformAPIClient").Options} - Options
162
+ * @returns {Promise<PaymentPlatformModel.PaymentOptionsResponse>} - Success response
163
+ * @name getPosPaymentModeRoutes
175
164
  * @summary: Get All Valid Payment Options
176
- * @description: Use this API to get Get All Valid Payment Options for making payment
177
- */
178
- getPosPaymentModeRoutes({ amount, cartId, pincode, checkoutMode, orderType, refresh, cardReference, userDetails, }?: {
179
- amount: number;
180
- cartId: string;
181
- pincode: string;
182
- checkoutMode: string;
183
- refresh?: boolean;
184
- cardReference?: string;
185
- orderType: string;
186
- userDetails?: string;
187
- }): Promise<PaymentOptionsResponse>;
188
- /**
189
- * @param {Object} arg - Arg object.
190
- * @param {string} arg.orderId -
191
- * @returns {Promise<OrderBeneficiaryResponse>} - Success response
165
+ * @description: Use this API to get Get All Valid Payment Options for making payment - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getPosPaymentModeRoutes/).
166
+ */
167
+ getPosPaymentModeRoutes({ amount, cartId, pincode, checkoutMode, orderType, refresh, cardReference, userDetails, }?: PaymentPlatformApplicationValidator.GetPosPaymentModeRoutesParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.PaymentOptionsResponse>;
168
+ /**
169
+ * @param {PaymentPlatformApplicationValidator.GetUserBeneficiariesParam} arg
170
+ * - Arg object
171
+ *
172
+ * @param {import("../PlatformAPIClient").Options} - Options
173
+ * @returns {Promise<PaymentPlatformModel.OrderBeneficiaryResponse>} -
174
+ * Success response
175
+ * @name getUserBeneficiaries
192
176
  * @summary: List User Beneficiary
193
- * @description: Get all active beneficiary details added by the user for refund
177
+ * @description: Get all active beneficiary details added by the user for refund - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getUserBeneficiaries/).
194
178
  */
195
- getUserBeneficiaries({ orderId }?: {
196
- orderId: string;
197
- }): Promise<OrderBeneficiaryResponse>;
179
+ getUserBeneficiaries({ orderId }?: PaymentPlatformApplicationValidator.GetUserBeneficiariesParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.OrderBeneficiaryResponse>;
198
180
  /**
199
- * @param {Object} arg - Arg object.
200
- * @param {string} arg.merchantUserId -
201
- * @param {string} arg.mobileNo -
202
- * @returns {Promise<GetUserCODLimitResponse>} - Success response
181
+ * @param {PaymentPlatformApplicationValidator.GetUserCODlimitRoutesParam} arg
182
+ * - Arg object
183
+ *
184
+ * @param {import("../PlatformAPIClient").Options} - Options
185
+ * @returns {Promise<PaymentPlatformModel.GetUserCODLimitResponse>} - Success response
186
+ * @name getUserCODlimitRoutes
203
187
  * @summary: Get COD limit for user
204
- * @description: Use this API to get user cod limit and reamining limit for the payment
188
+ * @description: Use this API to get user cod limit and reamining limit for the payment - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getUserCODlimitRoutes/).
205
189
  */
206
- getUserCODlimitRoutes({ merchantUserId, mobileNo }?: {
207
- merchantUserId: string;
208
- mobileNo: string;
209
- }): Promise<GetUserCODLimitResponse>;
190
+ getUserCODlimitRoutes({ merchantUserId, mobileNo }?: PaymentPlatformApplicationValidator.GetUserCODlimitRoutesParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.GetUserCODLimitResponse>;
210
191
  /**
211
- * @param {Object} arg - Arg object.
212
- * @param {string} arg.orderId -
213
- * @returns {Promise<OrderBeneficiaryResponse>} - Success response
192
+ * @param {PaymentPlatformApplicationValidator.GetUserOrderBeneficiariesParam} arg
193
+ * - Arg object
194
+ *
195
+ * @param {import("../PlatformAPIClient").Options} - Options
196
+ * @returns {Promise<PaymentPlatformModel.OrderBeneficiaryResponse>} -
197
+ * Success response
198
+ * @name getUserOrderBeneficiaries
214
199
  * @summary: List Order Beneficiary
215
- * @description: Get all active beneficiary details added by the user for refund
200
+ * @description: Get all active beneficiary details added by the user for refund - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getUserOrderBeneficiaries/).
216
201
  */
217
- getUserOrderBeneficiaries({ orderId }?: {
218
- orderId: string;
219
- }): Promise<OrderBeneficiaryResponse>;
202
+ getUserOrderBeneficiaries({ orderId }?: PaymentPlatformApplicationValidator.GetUserOrderBeneficiariesParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.OrderBeneficiaryResponse>;
220
203
  /**
221
- * @param {Object} arg - Arg object.
222
- * @param {PaymentInitializationRequest} arg.body
223
- * @returns {Promise<PaymentInitializationResponse>} - Success response
204
+ * @param {PaymentPlatformApplicationValidator.InitialisePaymentParam} arg
205
+ * - Arg object
206
+ *
207
+ * @param {import("../PlatformAPIClient").Options} - Options
208
+ * @returns {Promise<PaymentPlatformModel.PaymentInitializationResponse>} -
209
+ * Success response
210
+ * @name initialisePayment
224
211
  * @summary: Initialize a payment (server-to-server) for UPI and BharatQR
225
- * @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.
212
+ * @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/platform/payment/initialisePayment/).
226
213
  */
227
- initialisePayment({ body }?: {
228
- body: PaymentInitializationRequest;
229
- }): Promise<PaymentInitializationResponse>;
214
+ initialisePayment({ body }?: PaymentPlatformApplicationValidator.InitialisePaymentParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.PaymentInitializationResponse>;
230
215
  /**
231
- * @param {Object} arg - Arg object.
232
- * @param {MerchantOnBoardingRequest} arg.body
233
- * @returns {Promise<MerchantOnBoardingResponse>} - Success response
216
+ * @param {PaymentPlatformApplicationValidator.MerchantOnBoardingParam} arg
217
+ * - Arg object
218
+ *
219
+ * @param {import("../PlatformAPIClient").Options} - Options
220
+ * @returns {Promise<PaymentPlatformModel.MerchantOnBoardingResponse>} -
221
+ * Success response
222
+ * @name merchantOnBoarding
234
223
  * @summary: API to push Ajiodhan merchant data to Gringotts system
235
- * @description: Use this API to push Ajiodhan merchant data to Gringotts system
224
+ * @description: Use this API to push Ajiodhan merchant data to Gringotts system - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/merchantOnBoarding/).
236
225
  */
237
- merchantOnBoarding({ body }?: {
238
- body: MerchantOnBoardingRequest;
239
- }): Promise<MerchantOnBoardingResponse>;
226
+ merchantOnBoarding({ body }?: PaymentPlatformApplicationValidator.MerchantOnBoardingParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.MerchantOnBoardingResponse>;
240
227
  /**
241
- * @param {Object} arg - Arg object.
242
- * @param {string} arg.aggregator - Aggregator
243
- * @param {string} [arg.successRedirectUrl] -
244
- * @param {string} [arg.failureRedirectUrl] -
245
- * @returns {Promise<GetOauthUrlResponse>} - Success response
228
+ * @param {PaymentPlatformApplicationValidator.OauthGetUrlParam} arg - Arg object
229
+ * @param {import("../PlatformAPIClient").Options} - Options
230
+ * @returns {Promise<PaymentPlatformModel.GetOauthUrlResponse>} - Success response
231
+ * @name oauthGetUrl
246
232
  * @summary: API to Get the url to call for oauth
247
- * @description: Use this API to Get the url to call for oauth.
248
- */
249
- oauthGetUrl({ aggregator, successRedirectUrl, failureRedirectUrl, }?: {
250
- aggregator: string;
251
- successRedirectUrl?: string;
252
- failureRedirectUrl?: string;
253
- }): Promise<GetOauthUrlResponse>;
254
- /**
255
- * @param {Object} arg - Arg object.
256
- * @param {PaymentStatusBulkHandlerRequest} arg.body
257
- * @returns {Promise<PaymentStatusBulkHandlerResponse>} - Success response
233
+ * @description: Use this API to Get the url to call for oauth. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/oauthGetUrl/).
234
+ */
235
+ oauthGetUrl({ aggregator, successRedirectUrl, failureRedirectUrl }?: PaymentPlatformApplicationValidator.OauthGetUrlParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.GetOauthUrlResponse>;
236
+ /**
237
+ * @param {PaymentPlatformApplicationValidator.PaymentStatusBulkParam} arg
238
+ * - Arg object
239
+ *
240
+ * @param {import("../PlatformAPIClient").Options} - Options
241
+ * @returns {Promise<PaymentPlatformModel.PaymentStatusBulkHandlerResponse>}
242
+ * - Success response
243
+ *
244
+ * @name paymentStatusBulk
258
245
  * @summary: Get Payment status and information for a list of order_ids
259
- * @description: Use this API to get Payment status and information for a list of order_ids
246
+ * @description: Use this API to get Payment status and information for a list of order_ids - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/paymentStatusBulk/).
260
247
  */
261
- paymentStatusBulk({ body }?: {
262
- body: PaymentStatusBulkHandlerRequest;
263
- }): Promise<PaymentStatusBulkHandlerResponse>;
248
+ paymentStatusBulk({ body }?: PaymentPlatformApplicationValidator.PaymentStatusBulkParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.PaymentStatusBulkHandlerResponse>;
264
249
  /**
265
- * @param {Object} arg - Arg object.
266
- * @param {string} [arg.paymentLinkId] -
267
- * @returns {Promise<PollingPaymentLinkResponse>} - Success response
250
+ * @param {PaymentPlatformApplicationValidator.PollingPaymentLinkParam} arg
251
+ * - Arg object
252
+ *
253
+ * @param {import("../PlatformAPIClient").Options} - Options
254
+ * @returns {Promise<PaymentPlatformModel.PollingPaymentLinkResponse>} -
255
+ * Success response
256
+ * @name pollingPaymentLink
268
257
  * @summary: Used for polling if payment successful or not
269
- * @description: Use this API to poll if payment through payment was successful or not
258
+ * @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/platform/payment/pollingPaymentLink/).
270
259
  */
271
- pollingPaymentLink({ paymentLinkId }?: {
272
- paymentLinkId?: string;
273
- }): Promise<PollingPaymentLinkResponse>;
260
+ pollingPaymentLink({ paymentLinkId }?: PaymentPlatformApplicationValidator.PollingPaymentLinkParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.PollingPaymentLinkResponse>;
274
261
  /**
275
- * @param {Object} arg - Arg object.
276
- * @param {RepaymentDetailsSerialiserPayAll} arg.body
277
- * @returns {Promise<RepaymentResponse>} - Success response
262
+ * @param {PaymentPlatformApplicationValidator.RepaymentDetailsParam} arg - Arg object
263
+ * @param {import("../PlatformAPIClient").Options} - Options
264
+ * @returns {Promise<PaymentPlatformModel.RepaymentResponse>} - Success response
265
+ * @name repaymentDetails
278
266
  * @summary: API to register repayment details
279
- * @description: Use this API to register any repayment record in the db and notify the aggrgator
267
+ * @description: Use this API to register any repayment record in the db and notify the aggrgator - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/repaymentDetails/).
280
268
  */
281
- repaymentDetails({ body }?: {
282
- body: RepaymentDetailsSerialiserPayAll;
283
- }): Promise<RepaymentResponse>;
269
+ repaymentDetails({ body }?: PaymentPlatformApplicationValidator.RepaymentDetailsParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.RepaymentResponse>;
284
270
  /**
285
- * @param {Object} arg - Arg object.
286
- * @param {ResendOrCancelPaymentRequest} arg.body
287
- * @returns {Promise<ResendOrCancelPaymentResponse>} - Success response
271
+ * @param {PaymentPlatformApplicationValidator.ResendOrCancelPaymentParam} arg
272
+ * - Arg object
273
+ *
274
+ * @param {import("../PlatformAPIClient").Options} - Options
275
+ * @returns {Promise<PaymentPlatformModel.ResendOrCancelPaymentResponse>} -
276
+ * Success response
277
+ * @name resendOrCancelPayment
288
278
  * @summary: API to resend and cancel a payment link which was already generated.
289
- * @description: Use this API to perform resend or cancel a payment link based on request payload.
279
+ * @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/platform/payment/resendOrCancelPayment/).
290
280
  */
291
- resendOrCancelPayment({ body }?: {
292
- body: ResendOrCancelPaymentRequest;
293
- }): Promise<ResendOrCancelPaymentResponse>;
281
+ resendOrCancelPayment({ body }?: PaymentPlatformApplicationValidator.ResendOrCancelPaymentParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.ResendOrCancelPaymentResponse>;
294
282
  /**
295
- * @param {Object} arg - Arg object.
296
- * @param {CancelOrResendPaymentLinkRequest} arg.body
297
- * @returns {Promise<ResendPaymentLinkResponse>} - Success response
283
+ * @param {PaymentPlatformApplicationValidator.ResendPaymentLinkParam} arg
284
+ * - Arg object
285
+ *
286
+ * @param {import("../PlatformAPIClient").Options} - Options
287
+ * @returns {Promise<PaymentPlatformModel.ResendPaymentLinkResponse>} -
288
+ * Success response
289
+ * @name resendPaymentLink
298
290
  * @summary: Resend payment link
299
- * @description: Use this API to resend a payment link for the customer
291
+ * @description: Use this API to resend a payment link for the customer - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/resendPaymentLink/).
300
292
  */
301
- resendPaymentLink({ body }?: {
302
- body: CancelOrResendPaymentLinkRequest;
303
- }): Promise<ResendPaymentLinkResponse>;
293
+ resendPaymentLink({ body }?: PaymentPlatformApplicationValidator.ResendPaymentLinkParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.ResendPaymentLinkResponse>;
304
294
  /**
305
- * @param {Object} arg - Arg object.
306
- * @param {string} arg.aggregator - Aggregator_slug
307
- * @returns {Promise<RevokeOAuthToken>} - Success response
295
+ * @param {PaymentPlatformApplicationValidator.RevokeOauthTokenParam} arg - Arg object
296
+ * @param {import("../PlatformAPIClient").Options} - Options
297
+ * @returns {Promise<PaymentPlatformModel.RevokeOAuthToken>} - Success response
298
+ * @name revokeOauthToken
308
299
  * @summary: API to Revoke oauth for razorpay partnership
309
- * @description: Use this API to Revoke oauth for razorpay partnership
300
+ * @description: Use this API to Revoke oauth for razorpay partnership - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/revokeOauthToken/).
310
301
  */
311
- revokeOauthToken({ aggregator }?: {
312
- aggregator: string;
313
- }): Promise<RevokeOAuthToken>;
302
+ revokeOauthToken({ aggregator }?: PaymentPlatformApplicationValidator.RevokeOauthTokenParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.RevokeOAuthToken>;
314
303
  /**
315
- * @param {Object} arg - Arg object.
316
- * @param {PaymentGatewayConfigRequest} arg.body
317
- * @returns {Promise<PaymentGatewayToBeReviewed>} - Success response
304
+ * @param {PaymentPlatformApplicationValidator.SaveBrandPaymentGatewayConfigParam} arg
305
+ * - Arg object
306
+ *
307
+ * @param {import("../PlatformAPIClient").Options} - Options
308
+ * @returns {Promise<PaymentPlatformModel.PaymentGatewayToBeReviewed>} -
309
+ * Success response
310
+ * @name saveBrandPaymentGatewayConfig
318
311
  * @summary: Save Config Secret For Brand Payment Gateway
319
- * @description: Save Config Secret For Brand Payment Gateway
312
+ * @description: Save Config Secret For Brand Payment Gateway - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/saveBrandPaymentGatewayConfig/).
320
313
  */
321
- saveBrandPaymentGatewayConfig({ body }?: {
322
- body: PaymentGatewayConfigRequest;
323
- }): Promise<PaymentGatewayToBeReviewed>;
314
+ saveBrandPaymentGatewayConfig({ body }?: PaymentPlatformApplicationValidator.SaveBrandPaymentGatewayConfigParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.PaymentGatewayToBeReviewed>;
324
315
  /**
325
- * @param {Object} arg - Arg object.
326
- * @param {SetCODForUserRequest} arg.body
327
- * @returns {Promise<SetCODOptionResponse>} - Success response
316
+ * @param {PaymentPlatformApplicationValidator.SetUserCODlimitRoutesParam} arg
317
+ * - Arg object
318
+ *
319
+ * @param {import("../PlatformAPIClient").Options} - Options
320
+ * @returns {Promise<PaymentPlatformModel.SetCODOptionResponse>} - Success response
321
+ * @name setUserCODlimitRoutes
328
322
  * @summary: Set COD option for user for payment
329
- * @description: Use this API to set cod option as true or false for the payment
323
+ * @description: Use this API to set cod option as true or false for the payment - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/setUserCODlimitRoutes/).
330
324
  */
331
- setUserCODlimitRoutes({ body }?: {
332
- body: SetCODForUserRequest;
333
- }): Promise<SetCODOptionResponse>;
325
+ setUserCODlimitRoutes({ body }?: PaymentPlatformApplicationValidator.SetUserCODlimitRoutesParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.SetCODOptionResponse>;
334
326
  /**
335
- * @param {Object} arg - Arg object.
336
- * @param {EdcAddRequest} arg.body
337
- * @returns {Promise<EdcDeviceAddResponse>} - Success response
327
+ * @param {PaymentPlatformApplicationValidator.UpdateEdcDeviceParam} arg - Arg object
328
+ * @param {import("../PlatformAPIClient").Options} - Options
329
+ * @returns {Promise<PaymentPlatformModel.EdcDeviceAddResponse>} - Success response
330
+ * @name updateEdcDevice
338
331
  * @summary: map new edc device to the terminal
339
- * @description: Use this API to map new edc device to the terminal
332
+ * @description: Use this API to map new edc device to the terminal - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/updateEdcDevice/).
340
333
  */
341
- updateEdcDevice({ body }?: {
342
- body: EdcAddRequest;
343
- }): Promise<EdcDeviceAddResponse>;
334
+ updateEdcDevice({ body }?: PaymentPlatformApplicationValidator.UpdateEdcDeviceParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.EdcDeviceAddResponse>;
344
335
  /**
345
- * @param {Object} arg - Arg object.
346
- * @param {ValidateCustomerRequest} arg.body
347
- * @returns {Promise<ValidateCustomerResponse>} - Success response
336
+ * @param {PaymentPlatformApplicationValidator.VerifyCustomerForPaymentParam} arg
337
+ * - Arg object
338
+ *
339
+ * @param {import("../PlatformAPIClient").Options} - Options
340
+ * @returns {Promise<PaymentPlatformModel.ValidateCustomerResponse>} -
341
+ * Success response
342
+ * @name verifyCustomerForPayment
348
343
  * @summary: Validate customer for payment
349
- * @description: Use this API to check if the customer is eligible to use credit-line facilities such as Simpl Pay Later and Rupifi.
344
+ * @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/platform/payment/verifyCustomerForPayment/).
350
345
  */
351
- verifyCustomerForPayment({ body }?: {
352
- body: ValidateCustomerRequest;
353
- }): Promise<ValidateCustomerResponse>;
346
+ verifyCustomerForPayment({ body }?: PaymentPlatformApplicationValidator.VerifyCustomerForPaymentParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PaymentPlatformModel.ValidateCustomerResponse>;
354
347
  }
348
+ import PaymentPlatformApplicationValidator = require("./PaymentPlatformApplicationValidator");
349
+ import PaymentPlatformModel = require("./PaymentPlatformModel");