@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
@@ -1,94 +1,3201 @@
1
- export = PaymentModel;
2
- declare class PaymentModel {
3
- static AddBeneficiaryDetailsOTPRequest(): any;
4
- static BankDetailsForOTP(): any;
5
- static CancelOrResendPaymentLinkRequest(): any;
6
- static CancelPaymentLinkResponse(): any;
7
- static CODdata(): any;
8
- static Code(): any;
9
- static CreatePaymentLinkMeta(): any;
10
- static CreatePaymentLinkRequest(): any;
11
- static CreatePaymentLinkResponse(): any;
12
- static DeletePayoutResponse(): any;
13
- static DeleteSubscriptionPaymentMethodResponse(): any;
14
- static EdcAddRequest(): any;
15
- static EdcAggregatorAndModelListResponse(): any;
16
- static EdcDevice(): any;
17
- static EdcDeviceAddResponse(): any;
18
- static EdcDeviceDetailsResponse(): any;
19
- static EdcDeviceListResponse(): any;
20
- static EdcDeviceStatsResponse(): any;
21
- static EdcDeviceUpdateResponse(): any;
22
- static EdcModelData(): any;
23
- static EdcUpdateRequest(): any;
24
- static ErrorCodeAndDescription(): any;
25
- static ErrorCodeDescription(): any;
26
- static ErrorDescription(): any;
27
- static ErrorResponse(): any;
28
- static GetOauthUrlResponse(): any;
29
- static GetPaymentCode(): any;
30
- static GetPaymentCodeResponse(): any;
31
- static GetPaymentLinkResponse(): any;
32
- static GetUserCODLimitResponse(): any;
33
- static HttpErrorCodeAndResponse(): any;
34
- static IfscCodeResponse(): any;
35
- static IntentApp(): any;
36
- static IntentAppErrorList(): any;
37
- static LinkStatus(): any;
38
- static MerchantOnBoardingRequest(): any;
39
- static MerchantOnBoardingResponse(): any;
40
- static MultiTenderPaymentMeta(): any;
41
- static MultiTenderPaymentMethod(): any;
42
- static NotFoundResourceError(): any;
43
- static OrderBeneficiaryDetails(): any;
44
- static OrderBeneficiaryResponse(): any;
45
- static Page(): any;
46
- static PaymentCode(): any;
47
- static PaymentConfirmationRequest(): any;
48
- static PaymentConfirmationResponse(): any;
49
- static PaymentGatewayConfig(): any;
50
- static PaymentGatewayConfigRequest(): any;
51
- static PaymentGatewayConfigResponse(): any;
52
- static PaymentGatewayToBeReviewed(): any;
53
- static PaymentInitializationRequest(): any;
54
- static PaymentInitializationResponse(): any;
55
- static PaymentModeList(): any;
56
- static PaymentModeLogo(): any;
57
- static PaymentObjectListSerializer(): any;
58
- static PaymentOptions(): any;
59
- static PaymentOptionsResponse(): any;
60
- static PaymentStatusBulkHandlerRequest(): any;
61
- static PaymentStatusBulkHandlerResponse(): any;
62
- static PaymentStatusObject(): any;
63
- static PaymentStatusUpdateRequest(): any;
64
- static PaymentStatusUpdateResponse(): any;
65
- static Payout(): any;
66
- static PayoutAggregator(): any;
67
- static PayoutBankDetails(): any;
68
- static PayoutCustomer(): any;
69
- static PayoutMoreAttributes(): any;
70
- static PayoutRequest(): any;
71
- static PayoutResponse(): any;
72
- static PayoutsResponse(): any;
73
- static PollingPaymentLinkResponse(): any;
74
- static RefundAccountResponse(): any;
75
- static RepaymentDetailsSerialiserPayAll(): any;
76
- static RepaymentRequestDetails(): any;
77
- static RepaymentResponse(): any;
78
- static ResendOrCancelPaymentRequest(): any;
79
- static ResendOrCancelPaymentResponse(): any;
80
- static ResendPaymentLinkResponse(): any;
81
- static RevokeOAuthToken(): any;
82
- static RootPaymentMode(): any;
83
- static SaveSubscriptionSetupIntentRequest(): any;
84
- static SaveSubscriptionSetupIntentResponse(): any;
85
- static SetCODForUserRequest(): any;
86
- static SetCODOptionResponse(): any;
87
- static StatisticsData(): any;
88
- static SubscriptionConfigResponse(): any;
89
- static SubscriptionPaymentMethodResponse(): any;
90
- static UpdatePayoutRequest(): any;
91
- static UpdatePayoutResponse(): any;
92
- static ValidateCustomerRequest(): any;
93
- static ValidateCustomerResponse(): any;
1
+ export = PaymentPlatformModel;
2
+ /**
3
+ * @typedef AddBeneficiaryDetailsOTPRequest
4
+ * @property {BankDetailsForOTP} details
5
+ * @property {string} order_id
6
+ */
7
+ /**
8
+ * @typedef AddressDetail
9
+ * @property {string} address - Address details
10
+ * @property {string} address_type - Address type e.g. home, office
11
+ * @property {string} area - Area details
12
+ * @property {string} area_code - Customer pin/zip code
13
+ * @property {string} area_code_slug - Area slug code, use pin/zip code if not available
14
+ * @property {string} city - City name
15
+ * @property {string} country - Country name
16
+ * @property {string} country_iso_code - Country's code name e.g. `IN`, `GB`
17
+ * @property {string} country_phone_code - Country's phone code
18
+ * @property {string} [email] - Customer email
19
+ * @property {string} [expire_at] - Address expiry timestamp
20
+ * @property {string} g_address_id - Unique address id generated by Fynd platform
21
+ * @property {Object} [geo_location] - Location latitude and logitude
22
+ * @property {Object} [google_map_point] - Google map point of location
23
+ * @property {string} [landmark] - Landmark
24
+ * @property {string} name - Customer name
25
+ * @property {string} phone - Phone number
26
+ * @property {string} state - State of the customer
27
+ * @property {Object[]} [tags] - Optional address tag
28
+ */
29
+ /**
30
+ * @typedef BankDetailsForOTP
31
+ * @property {string} account_holder
32
+ * @property {string} account_no
33
+ * @property {string} bank_name
34
+ * @property {string} branch_name
35
+ * @property {string} ifsc_code
36
+ */
37
+ /**
38
+ * @typedef CancelOrResendPaymentLinkRequest
39
+ * @property {string} payment_link_id - Unique id of payment link
40
+ */
41
+ /**
42
+ * @typedef CancelPaymentLinkResponse
43
+ * @property {string} message - Message
44
+ * @property {number} status_code - HTTP status code
45
+ * @property {boolean} success - Successful or failure
46
+ */
47
+ /**
48
+ * @typedef CODdata
49
+ * @property {boolean} is_active - COD option is active or not
50
+ * @property {number} limit - Total Limit of user
51
+ * @property {number} remaining_limit - Remaining Limit for COD of User
52
+ * @property {number} usages - Used COD limit from the user Limit
53
+ * @property {string} user_id - Payment mode name
54
+ */
55
+ /**
56
+ * @typedef Code
57
+ * @property {string} code - Payment Method Code
58
+ * @property {string} merchant_code - Merchant Payment Code
59
+ * @property {string} name - Name of payment method
60
+ */
61
+ /**
62
+ * @typedef CreatePaymentLinkMeta
63
+ * @property {string} amount
64
+ * @property {string} [assign_card_id]
65
+ * @property {string} cart_id
66
+ * @property {string} checkout_mode
67
+ * @property {string} pincode
68
+ */
69
+ /**
70
+ * @typedef CreatePaymentLinkRequest
71
+ * @property {number} amount - Total value of order
72
+ * @property {string} [description] - Merchant order id
73
+ * @property {string} email - Email to which the payment link is to be sent
74
+ * @property {string} external_order_id - Merchant order id
75
+ * @property {CreatePaymentLinkMeta} meta - Meta
76
+ * @property {string} mobile_number - Mobile number to which the payment link is
77
+ * to be sent
78
+ */
79
+ /**
80
+ * @typedef CreatePaymentLinkResponse
81
+ * @property {string} message - Message
82
+ * @property {string} [payment_link_id] - Unique id of payment link
83
+ * @property {string} [payment_link_url] - Url of payment link
84
+ * @property {number} [polling_timeout] - Polling request timeout
85
+ * @property {number} status_code - HTTP status code
86
+ * @property {boolean} success - Successful or failure
87
+ */
88
+ /**
89
+ * @typedef DeletePayoutResponse
90
+ * @property {boolean} success - Response is successful or not
91
+ */
92
+ /**
93
+ * @typedef DeleteSubscriptionPaymentMethodResponse
94
+ * @property {boolean} success - Success or failure.
95
+ */
96
+ /**
97
+ * @typedef EdcAddRequest
98
+ * @property {number} aggregator_id - Aggregator which will accept payment
99
+ * @property {string} [device_tag] - Device tag of edc device to identify it
100
+ * @property {string} edc_device_serial_no - Serial number or imei of EDC device
101
+ * @property {string} edc_model - Model of the edc machine
102
+ * @property {number} store_id - Store at which devices is to used
103
+ * @property {string} terminal_serial_no - Device serial number of
104
+ * terminal(android tablet)
105
+ */
106
+ /**
107
+ * @typedef EdcAggregatorAndModelListResponse
108
+ * @property {EdcModelData[]} data - List of aggregators and their edc models
109
+ * @property {boolean} success - Response is successful or not
110
+ */
111
+ /**
112
+ * @typedef EdcDevice
113
+ * @property {number} aggregator_id - Aggregator which will accept payment
114
+ * @property {string} [aggregator_name] - Name of the corresponding aggregator
115
+ * @property {string} application_id - Application ID
116
+ * @property {string} device_tag - Device tag of edc device to identify it
117
+ * @property {string} edc_device_serial_no - Serial number of EDC device
118
+ * @property {string} [edc_model] - Name of the model
119
+ * @property {boolean} is_active - State whether device is active or inactive
120
+ * @property {string} [merchant_store_pos_code] - This is provided by pinelabs
121
+ * @property {number} store_id - Store at which devices is to used
122
+ * @property {string} terminal_serial_no - Device serial number of
123
+ * terminal(android tablet)
124
+ * @property {string} terminal_unique_identifier - Genearated unique value for edc device
125
+ */
126
+ /**
127
+ * @typedef EdcDeviceAddResponse
128
+ * @property {EdcDevice} data - Details of the EDC Device that is added
129
+ * @property {boolean} success - Response is successful or not
130
+ */
131
+ /**
132
+ * @typedef EdcDeviceDetailsResponse
133
+ * @property {EdcDevice} data - Details of one EDC Device
134
+ * @property {boolean} success - Response is successful or not
135
+ */
136
+ /**
137
+ * @typedef EdcDeviceListResponse
138
+ * @property {EdcDevice[]} items - List of all edc mapped to the application
139
+ * options with their Details.
140
+ * @property {Page} page - Pagination Response
141
+ * @property {boolean} success - Response is successful or not
142
+ */
143
+ /**
144
+ * @typedef EdcDeviceStatsResponse
145
+ * @property {StatisticsData} statistics - Message
146
+ * @property {boolean} success - Response is successful or not
147
+ */
148
+ /**
149
+ * @typedef EdcDeviceUpdateResponse
150
+ * @property {boolean} success - Response is successful or not
151
+ */
152
+ /**
153
+ * @typedef EdcModelData
154
+ * @property {string} aggregator - Name of aggregator
155
+ * @property {number} aggregator_id - ID of aggregator
156
+ * @property {string[]} models - List of string of edc models
157
+ */
158
+ /**
159
+ * @typedef EdcUpdateRequest
160
+ * @property {number} [aggregator_id] - Aggregator which will accept payment
161
+ * @property {string} [device_tag] - Device tag of edc device to identify it
162
+ * @property {string} [edc_device_serial_no] - Serial number or imei of EDC device
163
+ * @property {string} [edc_model] - Model of the edc machine
164
+ * @property {boolean} [is_active] - State whether device is active or inactive
165
+ * @property {string} [merchant_store_pos_code] - This is provided by pinelabs
166
+ * @property {number} [store_id] - Store at which devices is to used
167
+ */
168
+ /**
169
+ * @typedef ErrorCodeAndDescription
170
+ * @property {string} code - Error descrption code.
171
+ * @property {string} description - Error human understandable description.
172
+ */
173
+ /**
174
+ * @typedef ErrorCodeDescription
175
+ * @property {string} code - Error descrption code.
176
+ * @property {string} description - Error human understandable description.
177
+ * @property {boolean} success - Response is successful or not
178
+ */
179
+ /**
180
+ * @typedef ErrorDescription
181
+ * @property {number} [amount] - Amount paid
182
+ * @property {boolean} [cancelled] - Payment link is cancelled or not
183
+ * @property {boolean} [expired] - Payment link expired or not
184
+ * @property {boolean} [invalid_id] - Payment link id is valid or not
185
+ * @property {string} [merchant_name] - Name of merchant that created payment link
186
+ * @property {string} [merchant_order_id] - Order id
187
+ * @property {string} [msg] - Message
188
+ * @property {string} [payment_transaction_id] - Payment transaction id
189
+ */
190
+ /**
191
+ * @typedef ErrorResponse
192
+ * @property {Object} [error]
193
+ * @property {string} message - Message
194
+ * @property {number} status_code - HTTP status code
195
+ * @property {boolean} success - Successful or failure
196
+ */
197
+ /**
198
+ * @typedef GetOauthUrlResponse
199
+ * @property {boolean} success - Response is successful or not
200
+ * @property {string} url - The url to call for authenticating
201
+ */
202
+ /**
203
+ * @typedef GetPaymentCode
204
+ * @property {PaymentCode} method_code - Payment method code
205
+ */
206
+ /**
207
+ * @typedef GetPaymentCodeResponse
208
+ * @property {GetPaymentCode} data - Data about Payment Code.
209
+ * @property {boolean} success - Response is successful or not.
210
+ */
211
+ /**
212
+ * @typedef GetPaymentLinkResponse
213
+ * @property {number} [amount] - Total value of order
214
+ * @property {string} [external_order_id] - Merchant order id
215
+ * @property {string} [merchant_name] - Merchant name
216
+ * @property {string} message - Message
217
+ * @property {string} [payment_link_current_status] - Status of payment link
218
+ * @property {string} [payment_link_url] - Url of payment link
219
+ * @property {number} [polling_timeout] - Polling request timeout
220
+ * @property {number} status_code - HTTP status code
221
+ * @property {boolean} success - Successful or failure
222
+ */
223
+ /**
224
+ * @typedef GetUserCODLimitResponse
225
+ * @property {boolean} success - Response is successful or not
226
+ * @property {CODdata} user_cod_data - User COD Data
227
+ */
228
+ /**
229
+ * @typedef HttpErrorCodeAndResponse
230
+ * @property {ErrorCodeAndDescription} error
231
+ * @property {boolean} success - Response is successful or not
232
+ */
233
+ /**
234
+ * @typedef IfscCodeResponse
235
+ * @property {string} bank_name - Bank Name Of Account
236
+ * @property {string} branch_name - Branch Name Of Account
237
+ * @property {boolean} [success] - Response is successful or not
238
+ */
239
+ /**
240
+ * @typedef IntentApp
241
+ * @property {string} [code] - Code
242
+ * @property {string} [display_name] - Display_name
243
+ * @property {Object} [logos] - Logos
244
+ * @property {string} [package_name] - Package_name
245
+ */
246
+ /**
247
+ * @typedef IntentAppErrorList
248
+ * @property {string} [code] - Code
249
+ * @property {string} [package_name] - Package_name
250
+ */
251
+ /**
252
+ * @typedef LinkStatus
253
+ * @property {string} message - Message
254
+ * @property {boolean} status - Link action status
255
+ */
256
+ /**
257
+ * @typedef MerchantOnBoardingRequest
258
+ * @property {string} aggregator - Payment aggregator name
259
+ * @property {string} app_id - Application id
260
+ * @property {string} credit_line_id - Merchant ID at Ajiodhan's end
261
+ * @property {string} status - Status
262
+ * @property {string} user_id - Deadlock/Grimlock user id
263
+ */
264
+ /**
265
+ * @typedef MerchantOnBoardingResponse
266
+ * @property {Object} data
267
+ * @property {boolean} success - Success/Failure of the transaction
268
+ */
269
+ /**
270
+ * @typedef MerchnatPaymentModeRequest
271
+ * @property {Object} [offline] - Details to be updated for online payment configuration.
272
+ * @property {Object} [online] - Details to be updated for offline payment configuration.
273
+ */
274
+ /**
275
+ * @typedef MerchnatPaymentModeResponse
276
+ * @property {Object[]} [items] - List of all aggregator and payment mode details.
277
+ * @property {string} [message] - Message
278
+ * @property {boolean} success - Response is successful or not.
279
+ */
280
+ /**
281
+ * @typedef MultiTenderPaymentMeta
282
+ * @property {string} [current_status]
283
+ * @property {Object} [extra_meta]
284
+ * @property {string} [order_id]
285
+ * @property {string} [payment_gateway]
286
+ * @property {string} [payment_id]
287
+ */
288
+ /**
289
+ * @typedef MultiTenderPaymentMethod
290
+ * @property {number} amount - Payment amount
291
+ * @property {MultiTenderPaymentMeta} [meta]
292
+ * @property {string} mode
293
+ * @property {string} [name] - Payment mode name
294
+ */
295
+ /**
296
+ * @typedef NotFoundResourceError
297
+ * @property {string} code - Bad Request Data
298
+ * @property {string} description - Not Found
299
+ * @property {boolean} success - Response is successful or not
300
+ */
301
+ /**
302
+ * @typedef OrderBeneficiaryDetails
303
+ * @property {string} account_holder - Account Holder Name
304
+ * @property {string} account_no - Account Number
305
+ * @property {string} address - Address of User
306
+ * @property {string} bank_name - Bank Name Of Account
307
+ * @property {string} beneficiary_id - Benenficiary Id
308
+ * @property {string} [branch_name] - Branch Name Of Account
309
+ * @property {string} [comment] - Remarks
310
+ * @property {string} created_on - Creation Date of Beneficiary
311
+ * @property {string} [delights_user_name] - User Id Who filled the Beneficiary
312
+ * @property {string} display_name - Display Name Of Account
313
+ * @property {string} email - EMail of User
314
+ * @property {number} id -
315
+ * @property {string} ifsc_code - Ifsc Code Of Account
316
+ * @property {boolean} is_active - Boolean Flag whether Beneficiary set or not
317
+ * @property {string} [mobile] - MObile no of User
318
+ * @property {string} modified_on - MOdification Date of Beneficiary
319
+ * @property {string} subtitle - SHort Title Of Account
320
+ * @property {string} title - Title Of Account
321
+ * @property {string} transfer_mode - Transfer Mode Of Account
322
+ */
323
+ /**
324
+ * @typedef OrderBeneficiaryResponse
325
+ * @property {OrderBeneficiaryDetails[]} [beneficiaries] - All Beneficiaries Of An Order
326
+ * @property {boolean} [show_beneficiary_details] - Show beneficiary details or not.
327
+ */
328
+ /**
329
+ * @typedef OrderDetail
330
+ * @property {string} aggregator - Name of the payment gateway aggregator.
331
+ * @property {Object} aggregator_order_details - Aggregator order details
332
+ * generated by the payment gateway.
333
+ * @property {number} amount - Amount paid.
334
+ * @property {string} currency - Currency of the payment.
335
+ * @property {string} gid - Global identifier of the entity (e.g. order, cart
336
+ * etc.) against which payment_session was initiated. This is generated by
337
+ * Fynd payments platform and is unique.
338
+ * @property {string} status - Order status created by payment gateway aggregator.
339
+ */
340
+ /**
341
+ * @typedef Page
342
+ * @property {number} [current]
343
+ * @property {boolean} [has_next]
344
+ * @property {boolean} [has_previous]
345
+ * @property {number} [item_total]
346
+ * @property {string} [next_id]
347
+ * @property {number} [size]
348
+ * @property {string} type
349
+ */
350
+ /**
351
+ * @typedef PaymentCode
352
+ * @property {Code} codes - List of dict that contains payment method data
353
+ * @property {string} name - Name of payment name
354
+ * @property {string} networks - Payment networks
355
+ * @property {string} types - Type of payment mode
356
+ */
357
+ /**
358
+ * @typedef PaymentConfirmationRequest
359
+ * @property {string} order_id - Unique order id
360
+ * @property {MultiTenderPaymentMethod[]} payment_methods
361
+ */
362
+ /**
363
+ * @typedef PaymentConfirmationResponse
364
+ * @property {string} message - Message
365
+ * @property {string} order_id - Unique order id
366
+ * @property {boolean} success - Payment confirmation updated or not.
367
+ */
368
+ /**
369
+ * @typedef PaymentGatewayConfig
370
+ * @property {string} config_type - Config Type of the aggregator
371
+ * @property {boolean} [is_active] - Enable/ Disable Flag
372
+ * @property {string} key - Api key of the payment aggregator
373
+ * @property {string} merchant_salt - Merchant key of the payment aggregator
374
+ * @property {string} secret - Secret Key of the payment aggregator
375
+ */
376
+ /**
377
+ * @typedef PaymentGatewayConfigRequest
378
+ * @property {PaymentGatewayConfig} [aggregator_name]
379
+ * @property {string} app_id - Application Id to which Payment config Mapped
380
+ * @property {boolean} [is_active] - Enable/ Disable Flag
381
+ */
382
+ /**
383
+ * @typedef PaymentGatewayConfigResponse
384
+ * @property {Object[]} [aggregators] - List of all speceific Payment options
385
+ * with their Details.
386
+ * @property {string} app_id - Application Id to which Payment config Mapped
387
+ * @property {boolean} created - Response is created or not
388
+ * @property {string[]} display_fields - List of all included options with their Details.
389
+ * @property {string[]} excluded_fields - List of all excluded options with their Details.
390
+ * @property {boolean} success - Response is successful or not
391
+ */
392
+ /**
393
+ * @typedef PaymentGatewayToBeReviewed
394
+ * @property {string[]} aggregator - List of added payment gateway
395
+ * @property {boolean} success - Response is successful or not
396
+ */
397
+ /**
398
+ * @typedef PaymentInitializationRequest
399
+ * @property {string} aggregator - Payment gateway name
400
+ * @property {number} amount - Payable amount.
401
+ * @property {string} contact - Customer valid mobile number
402
+ * @property {string} currency - Currency code.
403
+ * @property {string} customer_id - Payment gateway customer id.
404
+ * @property {string} [device_id] - EDC machine Unique Identifier
405
+ * @property {string} email - Customer valid email
406
+ * @property {string} merchant_order_id - Unique fynd order id
407
+ * @property {string} method - Payment method
408
+ * @property {string} order_id - Payment gateway order id
409
+ * @property {string} [razorpay_payment_id] - Payment gateway payment id
410
+ * @property {number} [timeout] - Payment polling timeout if not recieved response
411
+ * @property {string} [vpa] - Customer vpa address
412
+ */
413
+ /**
414
+ * @typedef PaymentInitializationResponse
415
+ * @property {string} aggregator - Payment gateway name
416
+ * @property {string} [aggregator_order_id] - Payment order id
417
+ * @property {number} [amount] - Payable amount.
418
+ * @property {string} [bqr_image] - Bharath qr image url.
419
+ * @property {string} [currency] - Currency code.
420
+ * @property {string} [customer_id] - Payment gateway customer id.
421
+ * @property {string} [device_id] - EDC machine Unique Identifier
422
+ * @property {string} merchant_order_id - Order id
423
+ * @property {string} method - Payment method
424
+ * @property {string} polling_url - Polling url.
425
+ * @property {string} [razorpay_payment_id] - Payment id.
426
+ * @property {string} [status] - Status of payment.
427
+ * @property {boolean} success - Response is successful or not.
428
+ * @property {number} [timeout] - Timeout.
429
+ * @property {string} [upi_poll_url] - UPI poll url.
430
+ * @property {string} [virtual_id] - Payment virtual address.
431
+ * @property {string} [vpa] - Customer vpa address
432
+ */
433
+ /**
434
+ * @typedef PaymentModeList
435
+ * @property {string} aggregator_name - Aggregator_name
436
+ * @property {string} [card_brand] - Card_brand
437
+ * @property {string} [card_brand_image] - Card_brand_image
438
+ * @property {string} [card_fingerprint] - Card_fingerprint
439
+ * @property {string} [card_id] - Card_id
440
+ * @property {string} [card_isin] - Card_isin
441
+ * @property {string} [card_issuer] - Card_issuer
442
+ * @property {string} [card_name] - Card_name
443
+ * @property {string} [card_number] - Card_number
444
+ * @property {string} [card_reference] - Card_reference
445
+ * @property {string} [card_token] - Card_token
446
+ * @property {string} [card_type] - Card_type
447
+ * @property {number} [cod_limit] - Cod limit
448
+ * @property {number} [cod_limit_per_order] - Cod limit per order
449
+ * @property {string} [code] - Code
450
+ * @property {boolean} [compliant_with_tokenisation_guidelines] - If card is
451
+ * tokenised or not
452
+ * @property {string} [display_name] - Display name
453
+ * @property {number} [display_priority] - Dispaly Priority
454
+ * @property {number} [exp_month] - Exp_month
455
+ * @property {number} [exp_year] - Exp_year
456
+ * @property {boolean} [expired] - Expired
457
+ * @property {string} [fynd_vpa] - Fynd_vpa
458
+ * @property {IntentApp[]} [intent_app] - Intent_app
459
+ * @property {IntentAppErrorList[]} [intent_app_error_dict_list] -
460
+ * Intent_app_error_dict_list
461
+ * @property {string[]} [intent_app_error_list] - Intent_app_error_list
462
+ * @property {boolean} [intent_flow] - Intent_flow
463
+ * @property {Object} [logo_url] - Logo
464
+ * @property {string} [merchant_code] - Merchant code
465
+ * @property {string} [name] - Name
466
+ * @property {string} [nickname] - Nickname
467
+ * @property {number} [remaining_limit] - Remaining limit
468
+ * @property {number} [retry_count] - Retry_count
469
+ * @property {number} [timeout] - Timeout
470
+ */
471
+ /**
472
+ * @typedef PaymentModeLogo
473
+ * @property {string} large - Large
474
+ * @property {string} small - Smalll
475
+ */
476
+ /**
477
+ * @typedef PaymentObjectListSerializer
478
+ * @property {Object} [aggregator_payment_object]
479
+ * @property {string[]} all_status
480
+ * @property {string} amount_in_paisa
481
+ * @property {string} application_id
482
+ * @property {string} collected_by
483
+ * @property {string} company_id
484
+ * @property {string} created_on
485
+ * @property {string} currency
486
+ * @property {string} current_status
487
+ * @property {string} id
488
+ * @property {string} modified_on
489
+ * @property {string} payment_gateway
490
+ * @property {string} [payment_id]
491
+ * @property {string} payment_mode
492
+ * @property {string} payment_mode_identifier
493
+ * @property {Object} [refund_object]
494
+ * @property {string} refunded_by
495
+ * @property {Object} user_object
496
+ */
497
+ /**
498
+ * @typedef PaymentOptions
499
+ * @property {RootPaymentMode[]} payment_option - Payment options
500
+ */
501
+ /**
502
+ * @typedef PaymentOptionsResponse
503
+ * @property {PaymentOptions} payment_options - Payment options
504
+ * @property {boolean} success - Response is successful or not
505
+ */
506
+ /**
507
+ * @typedef PaymentSessionDetail
508
+ * @property {string} [aggregator_customer_id] - Unique customer id generated by
509
+ * payment gateway, not required for standard checkout.
510
+ * @property {string} aggregator_order_id - Unique order id or payment request
511
+ * id generated by payment gateway
512
+ * @property {number} amount - Amount paid.
513
+ * @property {number} amount_captured - Amount which is captured or credited to
514
+ * merchant account
515
+ * @property {number} [amount_refunded]
516
+ * @property {AddressDetail} billing_address - Billing address
517
+ * @property {string} cancel_url - Cancel url sent by Fynd platform at the time
518
+ * of payment creation
519
+ * @property {boolean} [captured] - Whether the payment is captured (credited to
520
+ * merchant account) by payment gateway.
521
+ * @property {string} [created] - Timestamp in epoch
522
+ * @property {string} currency - Currency of the payment.
523
+ * @property {string} g_user_id - Global user identifier - unique user id
524
+ * generated by Fynd platform
525
+ * @property {string} gid - Global identifier of the entity (e.g. order, cart
526
+ * etc.) against which payment_session was initiated. This is generated by
527
+ * Fynd payments platform and is unique.
528
+ * @property {string} [kind] - Optional kind of purchase/payment - one time
529
+ * payment (sale) or subcription. defaults to sale.
530
+ * @property {string} [locale] - User's locale
531
+ * @property {string} [merchant_locale] - Merchant's locale
532
+ * @property {string} mode - Test or live, test mode uses test credentials so
533
+ * that actual payment is not created.
534
+ * @property {string} payment_id - Unique transaction id generated by payment gateway
535
+ * @property {Object[]} payment_methods - Method of payment
536
+ * @property {AddressDetail} shipping_address - Shipping address
537
+ * @property {string} status - Stautus of the payment
538
+ * @property {string} success_url - Success url sent by Fynd platform at the
539
+ * time of payment creation
540
+ */
541
+ /**
542
+ * @typedef PaymentSessionRequestSerializer
543
+ * @property {string} currency - Currency of the payment.
544
+ * @property {string} gid - Global identifier of the entity (e.g. order, cart
545
+ * etc.) against which payment_session was initiated. This is generated by
546
+ * Fynd payments platform and is unique.
547
+ * @property {OrderDetail} order_details - The details of the order.
548
+ * @property {PaymentSessionDetail[]} payment_details - The payment details with
549
+ * the schema `PaymentSessionDetail`.
550
+ * @property {string} status - Status of the payment.
551
+ * @property {number} total_amount - Amount paid.
552
+ */
553
+ /**
554
+ * @typedef PaymentSessionResponseSerializer
555
+ * @property {string} currency - Currency of the payment.
556
+ * @property {string} gid - Global identifier of the entity (e.g. order, cart
557
+ * etc.) against which payment_session was initiated. This is generated by
558
+ * Fynd payments platform and is unique.
559
+ * @property {Object[]} platform_transaction_details - Platform transaction details.
560
+ * @property {string} status - Status of the payment.
561
+ * @property {number} total_amount - Amount paid.
562
+ */
563
+ /**
564
+ * @typedef PaymentStatusBulkHandlerRequest
565
+ * @property {string[]} merchant_order_id - List of order ids
566
+ */
567
+ /**
568
+ * @typedef PaymentStatusBulkHandlerResponse
569
+ * @property {number} [count]
570
+ * @property {PaymentStatusObject[]} [data]
571
+ * @property {string} [error]
572
+ * @property {number} status
573
+ * @property {string} success
574
+ */
575
+ /**
576
+ * @typedef PaymentStatusObject
577
+ * @property {string} merchant_order_id
578
+ * @property {PaymentObjectListSerializer[]} [payment_object_list]
579
+ */
580
+ /**
581
+ * @typedef PaymentStatusUpdateRequest
582
+ * @property {string} aggregator - Payment gateway name
583
+ * @property {number} amount - Payable amount.
584
+ * @property {string} contact - Customer valid mobile number
585
+ * @property {string} currency - Currency code.
586
+ * @property {string} customer_id - Payment gateway customer id.
587
+ * @property {string} [device_id] - EDC machine Unique Identifier
588
+ * @property {string} email - Customer valid email
589
+ * @property {string} merchant_order_id - Unique fynd order id
590
+ * @property {string} merchant_transaction_id - Unique fynd transaction id
591
+ * @property {string} method - Payment method
592
+ * @property {string} order_id - Payment gateway order id
593
+ * @property {string} status - Status of payment.
594
+ * @property {string} [vpa] - Customer vpa address
595
+ */
596
+ /**
597
+ * @typedef PaymentStatusUpdateResponse
598
+ * @property {string} aggregator_name - Payment gateway name
599
+ * @property {string} [redirect_url] - Redirect url
600
+ * @property {boolean} retry - Response is successful or not.
601
+ * @property {string} status - Payment status
602
+ * @property {boolean} [success] - Response is successful or not
603
+ */
604
+ /**
605
+ * @typedef Payout
606
+ * @property {PayoutCustomer} customers - Customers details object
607
+ * @property {boolean} is_active - Enable/DIsable Flag Payout
608
+ * @property {boolean} is_default - Default or not
609
+ * @property {PayoutMoreAttributes} more_attributes - Bank details object
610
+ * @property {PayoutAggregator[]} [payouts_aggregators]
611
+ * @property {string} transfer_type - Transafer type
612
+ * @property {string} unique_transfer_no - Display priority of the payment mode
613
+ */
614
+ /**
615
+ * @typedef PayoutAggregator
616
+ * @property {number} [aggregator_fund_id] - Aggregator_fund_id
617
+ * @property {number} [aggregator_id] - Aggregator_id
618
+ * @property {number} [payout_details_id] - Payout_details_id
619
+ */
620
+ /**
621
+ * @typedef PayoutBankDetails
622
+ * @property {string} [account_holder]
623
+ * @property {string} [account_no]
624
+ * @property {string} account_type
625
+ * @property {string} [bank_name]
626
+ * @property {string} [branch_name]
627
+ * @property {string} [city]
628
+ * @property {string} [country]
629
+ * @property {string} ifsc_code
630
+ * @property {number} [pincode]
631
+ * @property {string} [state]
632
+ */
633
+ /**
634
+ * @typedef PayoutCustomer
635
+ * @property {string} [email] - Customer Email
636
+ * @property {number} [id] - Customer ID
637
+ * @property {string} [mobile] - Customer Mobile No
638
+ * @property {string} [name] - Customer Name
639
+ * @property {string} [unique_external_id] - Unique_external_id
640
+ */
641
+ /**
642
+ * @typedef PayoutMoreAttributes
643
+ * @property {string} [account_holder] - Account Holder Name
644
+ * @property {string} [account_no] - Account Number
645
+ * @property {string} [account_type] - Account Type Saving/Current
646
+ * @property {string} [bank_name] - Name of Bank
647
+ * @property {string} [branch_name] - Branch Name
648
+ * @property {string} [city] - City
649
+ * @property {string} [country] - Country
650
+ * @property {string} [ifsc_code] - IFSC Code
651
+ * @property {string} [state] - State
652
+ */
653
+ /**
654
+ * @typedef PayoutRequest
655
+ * @property {string} aggregator - Aggregator Name
656
+ * @property {PayoutBankDetails} bank_details - Payout bank details object
657
+ * @property {boolean} is_active - Enable/Disable Flag Payout
658
+ * @property {string} transfer_type - Transafer type
659
+ * @property {string} unique_external_id - Unique Id of Payout
660
+ * @property {Object} users - Payout users object
661
+ */
662
+ /**
663
+ * @typedef PayoutResponse
664
+ * @property {string} aggregator - Aggregator Name
665
+ * @property {Object} bank_details - Payout bank_details object
666
+ * @property {boolean} created - Created flag
667
+ * @property {boolean} is_active - Enable/DIsable Flag Payout
668
+ * @property {string} payment_status - Status of payment
669
+ * @property {Object} payouts - Payout object
670
+ * @property {boolean} success - Response is successful or not
671
+ * @property {string} transfer_type - Transfer type
672
+ * @property {string} unique_transfer_no - Unique transfer no
673
+ * @property {Object} users - Users details object
674
+ */
675
+ /**
676
+ * @typedef PayoutsResponse
677
+ * @property {Payout[]} items - Contains list of PayoutSchema
678
+ * @property {boolean} success - Response is successful or not
679
+ */
680
+ /**
681
+ * @typedef PollingPaymentLinkResponse
682
+ * @property {string} [aggregator_name] - Aggregator name
683
+ * @property {number} [amount] - Amount
684
+ * @property {number} [http_status] - HTTP status code
685
+ * @property {string} [message] - Message
686
+ * @property {string} [order_id] - Fynd order id
687
+ * @property {string} [payment_link_id] - Payment link id
688
+ * @property {string} [redirect_url] - Url to redirect to
689
+ * @property {string} [status] - Status of payment link
690
+ * @property {number} [status_code] - HTTP status code
691
+ * @property {boolean} [success] - Successful or failure
692
+ */
693
+ /**
694
+ * @typedef RefundAccountResponse
695
+ * @property {Object} [data] - Refund account data.
696
+ * @property {boolean} [is_verified_flag]
697
+ * @property {string} message - Response message
698
+ * @property {boolean} success - Success or failure flag.
699
+ */
700
+ /**
701
+ * @typedef RefundSessionDetail
702
+ * @property {number} amount - Amount refunded.
703
+ * @property {string} [balance_transaction] - Balance transaction.
704
+ * @property {string} created - Timestamp in epoch.
705
+ * @property {string} currency - Currency of the payment.
706
+ * @property {string} payment_id - Unique payment id generated by payment gateway.
707
+ * @property {string} [reason] - Reason for refund, optional
708
+ * @property {string} [receipt_number] - Unique receipt for refund, generated by
709
+ * payment gateway, if not available can be utr.
710
+ * @property {string} [refund_utr] - Unique refund utr generated by payment gateway.
711
+ * @property {string} request_id - Refund request id, unique id generated by Fynd platform
712
+ * @property {string} [source_transfer_reversal] - Description in case of
713
+ * reversal of payment.
714
+ * @property {string} status - Status of the refund.
715
+ * @property {string} [transfer_reversal] - Description in case of reversal of payment.
716
+ */
717
+ /**
718
+ * @typedef RefundSessionRequestSerializer
719
+ * @property {string} currency - The currency of the payment.
720
+ * @property {string} gid - Global identifier of the entity (e.g. order, cart
721
+ * etc.) against which payment_session was initiated. This is generated by
722
+ * Fynd payments platform and is unique.
723
+ * @property {PaymentSessionDetail} payment_details - Details of the payment
724
+ * @property {RefundSessionDetail[]} [refund_details] - Details of the refund
725
+ * @property {string} status - The status of the refund.
726
+ * @property {number} total_amount - The total amount refunded.
727
+ */
728
+ /**
729
+ * @typedef RefundSessionResponseSerializer
730
+ * @property {string} currency - The currency of the payment.
731
+ * @property {string} gid - Global identifier of the entity (e.g. order, cart
732
+ * etc.) against which payment_session was initiated. This is generated by
733
+ * Fynd payments platform and is unique.
734
+ * @property {Object[]} platform_refund_details - Details of the refund
735
+ * @property {string} status - The status of the refund.
736
+ * @property {number} total_refund_amount - The total amount refunded.
737
+ */
738
+ /**
739
+ * @typedef RepaymentDetailsSerialiserPayAll
740
+ * @property {string} aggregator_order_id - Id of payment gateway
741
+ * @property {string} aggregator_transaction_id - Unique Id for the transaction
742
+ * @property {string} extension_order_id - Order id created in extension
743
+ * @property {RepaymentRequestDetails[]} [shipment_details]
744
+ * @property {number} total_amount - Total amount
745
+ */
746
+ /**
747
+ * @typedef RepaymentRequestDetails
748
+ * @property {string} aggregator - Name of Payment Gateway
749
+ * @property {string} aggregator_order_id - Id of payment gateway
750
+ * @property {string} aggregator_transaction_id - Unique Id for the transaction
751
+ * @property {number} amount - Amount to paid back
752
+ * @property {string} current_status - Status
753
+ * @property {string} fwd_shipment_id - Purchase Shipment Id
754
+ * @property {string} merchant_order_id - Merchant's Order Id
755
+ * @property {number} outstanding_details_id - Outstanding details ID
756
+ * @property {string} payment_mode - Payment Mode
757
+ * @property {string} payment_mode_identifier - Payment Mode Id
758
+ */
759
+ /**
760
+ * @typedef RepaymentResponse
761
+ * @property {Object} data
762
+ * @property {boolean} success - Success/Failure of the transaction
763
+ */
764
+ /**
765
+ * @typedef ResendOrCancelPaymentRequest
766
+ * @property {string} [device_id] - EDC machine Unique Identifier
767
+ * @property {string} order_id - Unique order id
768
+ * @property {string} request_type - Either resend or cancel
769
+ */
770
+ /**
771
+ * @typedef ResendOrCancelPaymentResponse
772
+ * @property {LinkStatus} data - Data about link action status.
773
+ * @property {boolean} success - Response is successful or not.
774
+ */
775
+ /**
776
+ * @typedef ResendPaymentLinkResponse
777
+ * @property {string} message - Message
778
+ * @property {number} [polling_timeout] - Polling request timeout
779
+ * @property {number} status_code - HTTP status code
780
+ * @property {boolean} success - Successful or failure
781
+ */
782
+ /**
783
+ * @typedef RevokeOAuthToken
784
+ * @property {string} message - The confirmation message of the token revoke.
785
+ * @property {boolean} success - Response is successful or not
786
+ */
787
+ /**
788
+ * @typedef RootPaymentMode
789
+ * @property {boolean} [add_card_enabled] - Annonymous card flag
790
+ * @property {string} [aggregator_name] - Dispaly Priority
791
+ * @property {boolean} [anonymous_enable] - Annonymous card flag
792
+ * @property {string} display_name - Payment mode display name
793
+ * @property {number} display_priority - Dispaly Priority
794
+ * @property {boolean} [is_pay_by_card_pl] - This flag will be true in case of
795
+ * Payment link payment through card
796
+ * @property {PaymentModeList[]} [list] - Payment mode
797
+ * @property {string} name - Payment mode name
798
+ * @property {boolean} [save_card] - Card save or not
799
+ */
800
+ /**
801
+ * @typedef SaveSubscriptionSetupIntentRequest
802
+ * @property {string} unique_external_id - Unique id i.e company:id
803
+ */
804
+ /**
805
+ * @typedef SaveSubscriptionSetupIntentResponse
806
+ * @property {Object} data - Subscription Payment Method Object
807
+ * @property {boolean} success - Response is successful or not
808
+ */
809
+ /**
810
+ * @typedef SetCODForUserRequest
811
+ * @property {boolean} is_active - Either true or false
812
+ * @property {string} merchant_user_id - Merchant User id
813
+ * @property {string} mobileno - Mobile No. of User
814
+ */
815
+ /**
816
+ * @typedef SetCODOptionResponse
817
+ * @property {string} message - Message
818
+ * @property {boolean} success - Response is successful or not
819
+ */
820
+ /**
821
+ * @typedef StatisticsData
822
+ * @property {number} active_device_count - No of active devices
823
+ * @property {number} inactive_device_count - No of inactive devices
824
+ */
825
+ /**
826
+ * @typedef SubscriptionConfigResponse
827
+ * @property {string} aggregator - Aggregator Name
828
+ * @property {Object} config - Aggregator Config
829
+ * @property {boolean} success - Response is successful or not
830
+ */
831
+ /**
832
+ * @typedef SubscriptionPaymentMethodResponse
833
+ * @property {Object[]} data - Subscription Payment Method Object
834
+ * @property {boolean} success - Response is successful or not
835
+ */
836
+ /**
837
+ * @typedef UpdatePayoutRequest
838
+ * @property {boolean} is_active - Enable/Disable Flag Payout
839
+ * @property {boolean} is_default - Enable/Disable Default Payout
840
+ * @property {string} unique_external_id - Unique Id of Payout
841
+ */
842
+ /**
843
+ * @typedef UpdatePayoutResponse
844
+ * @property {boolean} is_active - Enable/DIsable Flag Payout
845
+ * @property {boolean} is_default - Enable/Disable Default Payout
846
+ * @property {boolean} success - Response is successful or not
847
+ */
848
+ /**
849
+ * @typedef ValidateCustomerRequest
850
+ * @property {string} aggregator - Payment gateway name in camel case i.e Simpl, Rupifi
851
+ * @property {Object} [billing_address] - Extra meta fields.
852
+ * @property {Object} [delivery_address] - Extra meta fields.
853
+ * @property {Object} [merchant_params] - Extra meta fields.
854
+ * @property {Object[]} [order_items] - Extra meta fields.
855
+ * @property {string} [payload] - Hashed payload string.
856
+ * @property {string} phone_number - User mobile number without country code.
857
+ * @property {number} transaction_amount_in_paise - Payable amount in paise
858
+ */
859
+ /**
860
+ * @typedef ValidateCustomerResponse
861
+ * @property {Object} data - Payment gateway response data
862
+ * @property {string} message - Error or success message.
863
+ * @property {boolean} success - Response is successful or not
864
+ */
865
+ declare class PaymentPlatformModel {
94
866
  }
867
+ declare namespace PaymentPlatformModel {
868
+ export { AddBeneficiaryDetailsOTPRequest, AddressDetail, BankDetailsForOTP, CancelOrResendPaymentLinkRequest, CancelPaymentLinkResponse, CODdata, Code, CreatePaymentLinkMeta, CreatePaymentLinkRequest, CreatePaymentLinkResponse, DeletePayoutResponse, DeleteSubscriptionPaymentMethodResponse, EdcAddRequest, EdcAggregatorAndModelListResponse, EdcDevice, EdcDeviceAddResponse, EdcDeviceDetailsResponse, EdcDeviceListResponse, EdcDeviceStatsResponse, EdcDeviceUpdateResponse, EdcModelData, EdcUpdateRequest, ErrorCodeAndDescription, ErrorCodeDescription, ErrorDescription, ErrorResponse, GetOauthUrlResponse, GetPaymentCode, GetPaymentCodeResponse, GetPaymentLinkResponse, GetUserCODLimitResponse, HttpErrorCodeAndResponse, IfscCodeResponse, IntentApp, IntentAppErrorList, LinkStatus, MerchantOnBoardingRequest, MerchantOnBoardingResponse, MerchnatPaymentModeRequest, MerchnatPaymentModeResponse, MultiTenderPaymentMeta, MultiTenderPaymentMethod, NotFoundResourceError, OrderBeneficiaryDetails, OrderBeneficiaryResponse, OrderDetail, Page, PaymentCode, PaymentConfirmationRequest, PaymentConfirmationResponse, PaymentGatewayConfig, PaymentGatewayConfigRequest, PaymentGatewayConfigResponse, PaymentGatewayToBeReviewed, PaymentInitializationRequest, PaymentInitializationResponse, PaymentModeList, PaymentModeLogo, PaymentObjectListSerializer, PaymentOptions, PaymentOptionsResponse, PaymentSessionDetail, PaymentSessionRequestSerializer, PaymentSessionResponseSerializer, PaymentStatusBulkHandlerRequest, PaymentStatusBulkHandlerResponse, PaymentStatusObject, PaymentStatusUpdateRequest, PaymentStatusUpdateResponse, Payout, PayoutAggregator, PayoutBankDetails, PayoutCustomer, PayoutMoreAttributes, PayoutRequest, PayoutResponse, PayoutsResponse, PollingPaymentLinkResponse, RefundAccountResponse, RefundSessionDetail, RefundSessionRequestSerializer, RefundSessionResponseSerializer, RepaymentDetailsSerialiserPayAll, RepaymentRequestDetails, RepaymentResponse, ResendOrCancelPaymentRequest, ResendOrCancelPaymentResponse, ResendPaymentLinkResponse, RevokeOAuthToken, RootPaymentMode, SaveSubscriptionSetupIntentRequest, SaveSubscriptionSetupIntentResponse, SetCODForUserRequest, SetCODOptionResponse, StatisticsData, SubscriptionConfigResponse, SubscriptionPaymentMethodResponse, UpdatePayoutRequest, UpdatePayoutResponse, ValidateCustomerRequest, ValidateCustomerResponse };
869
+ }
870
+ /** @returns {AddBeneficiaryDetailsOTPRequest} */
871
+ declare function AddBeneficiaryDetailsOTPRequest(): AddBeneficiaryDetailsOTPRequest;
872
+ type AddBeneficiaryDetailsOTPRequest = {
873
+ details: BankDetailsForOTP;
874
+ order_id: string;
875
+ };
876
+ /** @returns {AddressDetail} */
877
+ declare function AddressDetail(): AddressDetail;
878
+ type AddressDetail = {
879
+ /**
880
+ * - Address details
881
+ */
882
+ address: string;
883
+ /**
884
+ * - Address type e.g. home, office
885
+ */
886
+ address_type: string;
887
+ /**
888
+ * - Area details
889
+ */
890
+ area: string;
891
+ /**
892
+ * - Customer pin/zip code
893
+ */
894
+ area_code: string;
895
+ /**
896
+ * - Area slug code, use pin/zip code if not available
897
+ */
898
+ area_code_slug: string;
899
+ /**
900
+ * - City name
901
+ */
902
+ city: string;
903
+ /**
904
+ * - Country name
905
+ */
906
+ country: string;
907
+ /**
908
+ * - Country's code name e.g. `IN`, `GB`
909
+ */
910
+ country_iso_code: string;
911
+ /**
912
+ * - Country's phone code
913
+ */
914
+ country_phone_code: string;
915
+ /**
916
+ * - Customer email
917
+ */
918
+ email?: string;
919
+ /**
920
+ * - Address expiry timestamp
921
+ */
922
+ expire_at?: string;
923
+ /**
924
+ * - Unique address id generated by Fynd platform
925
+ */
926
+ g_address_id: string;
927
+ /**
928
+ * - Location latitude and logitude
929
+ */
930
+ geo_location?: any;
931
+ /**
932
+ * - Google map point of location
933
+ */
934
+ google_map_point?: any;
935
+ /**
936
+ * - Landmark
937
+ */
938
+ landmark?: string;
939
+ /**
940
+ * - Customer name
941
+ */
942
+ name: string;
943
+ /**
944
+ * - Phone number
945
+ */
946
+ phone: string;
947
+ /**
948
+ * - State of the customer
949
+ */
950
+ state: string;
951
+ /**
952
+ * - Optional address tag
953
+ */
954
+ tags?: any[];
955
+ };
956
+ /** @returns {BankDetailsForOTP} */
957
+ declare function BankDetailsForOTP(): BankDetailsForOTP;
958
+ type BankDetailsForOTP = {
959
+ account_holder: string;
960
+ account_no: string;
961
+ bank_name: string;
962
+ branch_name: string;
963
+ ifsc_code: string;
964
+ };
965
+ /** @returns {CancelOrResendPaymentLinkRequest} */
966
+ declare function CancelOrResendPaymentLinkRequest(): CancelOrResendPaymentLinkRequest;
967
+ type CancelOrResendPaymentLinkRequest = {
968
+ /**
969
+ * - Unique id of payment link
970
+ */
971
+ payment_link_id: string;
972
+ };
973
+ /** @returns {CancelPaymentLinkResponse} */
974
+ declare function CancelPaymentLinkResponse(): CancelPaymentLinkResponse;
975
+ type CancelPaymentLinkResponse = {
976
+ /**
977
+ * - Message
978
+ */
979
+ message: string;
980
+ /**
981
+ * - HTTP status code
982
+ */
983
+ status_code: number;
984
+ /**
985
+ * - Successful or failure
986
+ */
987
+ success: boolean;
988
+ };
989
+ /** @returns {CODdata} */
990
+ declare function CODdata(): CODdata;
991
+ type CODdata = {
992
+ /**
993
+ * - COD option is active or not
994
+ */
995
+ is_active: boolean;
996
+ /**
997
+ * - Total Limit of user
998
+ */
999
+ limit: number;
1000
+ /**
1001
+ * - Remaining Limit for COD of User
1002
+ */
1003
+ remaining_limit: number;
1004
+ /**
1005
+ * - Used COD limit from the user Limit
1006
+ */
1007
+ usages: number;
1008
+ /**
1009
+ * - Payment mode name
1010
+ */
1011
+ user_id: string;
1012
+ };
1013
+ /** @returns {Code} */
1014
+ declare function Code(): Code;
1015
+ type Code = {
1016
+ /**
1017
+ * - Payment Method Code
1018
+ */
1019
+ code: string;
1020
+ /**
1021
+ * - Merchant Payment Code
1022
+ */
1023
+ merchant_code: string;
1024
+ /**
1025
+ * - Name of payment method
1026
+ */
1027
+ name: string;
1028
+ };
1029
+ /** @returns {CreatePaymentLinkMeta} */
1030
+ declare function CreatePaymentLinkMeta(): CreatePaymentLinkMeta;
1031
+ type CreatePaymentLinkMeta = {
1032
+ amount: string;
1033
+ assign_card_id?: string;
1034
+ cart_id: string;
1035
+ checkout_mode: string;
1036
+ pincode: string;
1037
+ };
1038
+ /** @returns {CreatePaymentLinkRequest} */
1039
+ declare function CreatePaymentLinkRequest(): CreatePaymentLinkRequest;
1040
+ type CreatePaymentLinkRequest = {
1041
+ /**
1042
+ * - Total value of order
1043
+ */
1044
+ amount: number;
1045
+ /**
1046
+ * - Merchant order id
1047
+ */
1048
+ description?: string;
1049
+ /**
1050
+ * - Email to which the payment link is to be sent
1051
+ */
1052
+ email: string;
1053
+ /**
1054
+ * - Merchant order id
1055
+ */
1056
+ external_order_id: string;
1057
+ /**
1058
+ * - Meta
1059
+ */
1060
+ meta: CreatePaymentLinkMeta;
1061
+ /**
1062
+ * - Mobile number to which the payment link is
1063
+ * to be sent
1064
+ */
1065
+ mobile_number: string;
1066
+ };
1067
+ /** @returns {CreatePaymentLinkResponse} */
1068
+ declare function CreatePaymentLinkResponse(): CreatePaymentLinkResponse;
1069
+ type CreatePaymentLinkResponse = {
1070
+ /**
1071
+ * - Message
1072
+ */
1073
+ message: string;
1074
+ /**
1075
+ * - Unique id of payment link
1076
+ */
1077
+ payment_link_id?: string;
1078
+ /**
1079
+ * - Url of payment link
1080
+ */
1081
+ payment_link_url?: string;
1082
+ /**
1083
+ * - Polling request timeout
1084
+ */
1085
+ polling_timeout?: number;
1086
+ /**
1087
+ * - HTTP status code
1088
+ */
1089
+ status_code: number;
1090
+ /**
1091
+ * - Successful or failure
1092
+ */
1093
+ success: boolean;
1094
+ };
1095
+ /** @returns {DeletePayoutResponse} */
1096
+ declare function DeletePayoutResponse(): DeletePayoutResponse;
1097
+ type DeletePayoutResponse = {
1098
+ /**
1099
+ * - Response is successful or not
1100
+ */
1101
+ success: boolean;
1102
+ };
1103
+ /** @returns {DeleteSubscriptionPaymentMethodResponse} */
1104
+ declare function DeleteSubscriptionPaymentMethodResponse(): DeleteSubscriptionPaymentMethodResponse;
1105
+ type DeleteSubscriptionPaymentMethodResponse = {
1106
+ /**
1107
+ * - Success or failure.
1108
+ */
1109
+ success: boolean;
1110
+ };
1111
+ /** @returns {EdcAddRequest} */
1112
+ declare function EdcAddRequest(): EdcAddRequest;
1113
+ type EdcAddRequest = {
1114
+ /**
1115
+ * - Aggregator which will accept payment
1116
+ */
1117
+ aggregator_id: number;
1118
+ /**
1119
+ * - Device tag of edc device to identify it
1120
+ */
1121
+ device_tag?: string;
1122
+ /**
1123
+ * - Serial number or imei of EDC device
1124
+ */
1125
+ edc_device_serial_no: string;
1126
+ /**
1127
+ * - Model of the edc machine
1128
+ */
1129
+ edc_model: string;
1130
+ /**
1131
+ * - Store at which devices is to used
1132
+ */
1133
+ store_id: number;
1134
+ /**
1135
+ * - Device serial number of
1136
+ * terminal(android tablet)
1137
+ */
1138
+ terminal_serial_no: string;
1139
+ };
1140
+ /** @returns {EdcAggregatorAndModelListResponse} */
1141
+ declare function EdcAggregatorAndModelListResponse(): EdcAggregatorAndModelListResponse;
1142
+ type EdcAggregatorAndModelListResponse = {
1143
+ /**
1144
+ * - List of aggregators and their edc models
1145
+ */
1146
+ data: EdcModelData[];
1147
+ /**
1148
+ * - Response is successful or not
1149
+ */
1150
+ success: boolean;
1151
+ };
1152
+ /** @returns {EdcDevice} */
1153
+ declare function EdcDevice(): EdcDevice;
1154
+ type EdcDevice = {
1155
+ /**
1156
+ * - Aggregator which will accept payment
1157
+ */
1158
+ aggregator_id: number;
1159
+ /**
1160
+ * - Name of the corresponding aggregator
1161
+ */
1162
+ aggregator_name?: string;
1163
+ /**
1164
+ * - Application ID
1165
+ */
1166
+ application_id: string;
1167
+ /**
1168
+ * - Device tag of edc device to identify it
1169
+ */
1170
+ device_tag: string;
1171
+ /**
1172
+ * - Serial number of EDC device
1173
+ */
1174
+ edc_device_serial_no: string;
1175
+ /**
1176
+ * - Name of the model
1177
+ */
1178
+ edc_model?: string;
1179
+ /**
1180
+ * - State whether device is active or inactive
1181
+ */
1182
+ is_active: boolean;
1183
+ /**
1184
+ * - This is provided by pinelabs
1185
+ */
1186
+ merchant_store_pos_code?: string;
1187
+ /**
1188
+ * - Store at which devices is to used
1189
+ */
1190
+ store_id: number;
1191
+ /**
1192
+ * - Device serial number of
1193
+ * terminal(android tablet)
1194
+ */
1195
+ terminal_serial_no: string;
1196
+ /**
1197
+ * - Genearated unique value for edc device
1198
+ */
1199
+ terminal_unique_identifier: string;
1200
+ };
1201
+ /** @returns {EdcDeviceAddResponse} */
1202
+ declare function EdcDeviceAddResponse(): EdcDeviceAddResponse;
1203
+ type EdcDeviceAddResponse = {
1204
+ /**
1205
+ * - Details of the EDC Device that is added
1206
+ */
1207
+ data: EdcDevice;
1208
+ /**
1209
+ * - Response is successful or not
1210
+ */
1211
+ success: boolean;
1212
+ };
1213
+ /** @returns {EdcDeviceDetailsResponse} */
1214
+ declare function EdcDeviceDetailsResponse(): EdcDeviceDetailsResponse;
1215
+ type EdcDeviceDetailsResponse = {
1216
+ /**
1217
+ * - Details of one EDC Device
1218
+ */
1219
+ data: EdcDevice;
1220
+ /**
1221
+ * - Response is successful or not
1222
+ */
1223
+ success: boolean;
1224
+ };
1225
+ /** @returns {EdcDeviceListResponse} */
1226
+ declare function EdcDeviceListResponse(): EdcDeviceListResponse;
1227
+ type EdcDeviceListResponse = {
1228
+ /**
1229
+ * - List of all edc mapped to the application
1230
+ * options with their Details.
1231
+ */
1232
+ items: EdcDevice[];
1233
+ /**
1234
+ * - Pagination Response
1235
+ */
1236
+ page: Page;
1237
+ /**
1238
+ * - Response is successful or not
1239
+ */
1240
+ success: boolean;
1241
+ };
1242
+ /** @returns {EdcDeviceStatsResponse} */
1243
+ declare function EdcDeviceStatsResponse(): EdcDeviceStatsResponse;
1244
+ type EdcDeviceStatsResponse = {
1245
+ /**
1246
+ * - Message
1247
+ */
1248
+ statistics: StatisticsData;
1249
+ /**
1250
+ * - Response is successful or not
1251
+ */
1252
+ success: boolean;
1253
+ };
1254
+ /** @returns {EdcDeviceUpdateResponse} */
1255
+ declare function EdcDeviceUpdateResponse(): EdcDeviceUpdateResponse;
1256
+ type EdcDeviceUpdateResponse = {
1257
+ /**
1258
+ * - Response is successful or not
1259
+ */
1260
+ success: boolean;
1261
+ };
1262
+ /** @returns {EdcModelData} */
1263
+ declare function EdcModelData(): EdcModelData;
1264
+ type EdcModelData = {
1265
+ /**
1266
+ * - Name of aggregator
1267
+ */
1268
+ aggregator: string;
1269
+ /**
1270
+ * - ID of aggregator
1271
+ */
1272
+ aggregator_id: number;
1273
+ /**
1274
+ * - List of string of edc models
1275
+ */
1276
+ models: string[];
1277
+ };
1278
+ /** @returns {EdcUpdateRequest} */
1279
+ declare function EdcUpdateRequest(): EdcUpdateRequest;
1280
+ type EdcUpdateRequest = {
1281
+ /**
1282
+ * - Aggregator which will accept payment
1283
+ */
1284
+ aggregator_id?: number;
1285
+ /**
1286
+ * - Device tag of edc device to identify it
1287
+ */
1288
+ device_tag?: string;
1289
+ /**
1290
+ * - Serial number or imei of EDC device
1291
+ */
1292
+ edc_device_serial_no?: string;
1293
+ /**
1294
+ * - Model of the edc machine
1295
+ */
1296
+ edc_model?: string;
1297
+ /**
1298
+ * - State whether device is active or inactive
1299
+ */
1300
+ is_active?: boolean;
1301
+ /**
1302
+ * - This is provided by pinelabs
1303
+ */
1304
+ merchant_store_pos_code?: string;
1305
+ /**
1306
+ * - Store at which devices is to used
1307
+ */
1308
+ store_id?: number;
1309
+ };
1310
+ /** @returns {ErrorCodeAndDescription} */
1311
+ declare function ErrorCodeAndDescription(): ErrorCodeAndDescription;
1312
+ type ErrorCodeAndDescription = {
1313
+ /**
1314
+ * - Error descrption code.
1315
+ */
1316
+ code: string;
1317
+ /**
1318
+ * - Error human understandable description.
1319
+ */
1320
+ description: string;
1321
+ };
1322
+ /** @returns {ErrorCodeDescription} */
1323
+ declare function ErrorCodeDescription(): ErrorCodeDescription;
1324
+ type ErrorCodeDescription = {
1325
+ /**
1326
+ * - Error descrption code.
1327
+ */
1328
+ code: string;
1329
+ /**
1330
+ * - Error human understandable description.
1331
+ */
1332
+ description: string;
1333
+ /**
1334
+ * - Response is successful or not
1335
+ */
1336
+ success: boolean;
1337
+ };
1338
+ /** @returns {ErrorDescription} */
1339
+ declare function ErrorDescription(): ErrorDescription;
1340
+ type ErrorDescription = {
1341
+ /**
1342
+ * - Amount paid
1343
+ */
1344
+ amount?: number;
1345
+ /**
1346
+ * - Payment link is cancelled or not
1347
+ */
1348
+ cancelled?: boolean;
1349
+ /**
1350
+ * - Payment link expired or not
1351
+ */
1352
+ expired?: boolean;
1353
+ /**
1354
+ * - Payment link id is valid or not
1355
+ */
1356
+ invalid_id?: boolean;
1357
+ /**
1358
+ * - Name of merchant that created payment link
1359
+ */
1360
+ merchant_name?: string;
1361
+ /**
1362
+ * - Order id
1363
+ */
1364
+ merchant_order_id?: string;
1365
+ /**
1366
+ * - Message
1367
+ */
1368
+ msg?: string;
1369
+ /**
1370
+ * - Payment transaction id
1371
+ */
1372
+ payment_transaction_id?: string;
1373
+ };
1374
+ /** @returns {ErrorResponse} */
1375
+ declare function ErrorResponse(): ErrorResponse;
1376
+ type ErrorResponse = {
1377
+ error?: any;
1378
+ /**
1379
+ * - Message
1380
+ */
1381
+ message: string;
1382
+ /**
1383
+ * - HTTP status code
1384
+ */
1385
+ status_code: number;
1386
+ /**
1387
+ * - Successful or failure
1388
+ */
1389
+ success: boolean;
1390
+ };
1391
+ /** @returns {GetOauthUrlResponse} */
1392
+ declare function GetOauthUrlResponse(): GetOauthUrlResponse;
1393
+ type GetOauthUrlResponse = {
1394
+ /**
1395
+ * - Response is successful or not
1396
+ */
1397
+ success: boolean;
1398
+ /**
1399
+ * - The url to call for authenticating
1400
+ */
1401
+ url: string;
1402
+ };
1403
+ /** @returns {GetPaymentCode} */
1404
+ declare function GetPaymentCode(): GetPaymentCode;
1405
+ type GetPaymentCode = {
1406
+ /**
1407
+ * - Payment method code
1408
+ */
1409
+ method_code: PaymentCode;
1410
+ };
1411
+ /** @returns {GetPaymentCodeResponse} */
1412
+ declare function GetPaymentCodeResponse(): GetPaymentCodeResponse;
1413
+ type GetPaymentCodeResponse = {
1414
+ /**
1415
+ * - Data about Payment Code.
1416
+ */
1417
+ data: GetPaymentCode;
1418
+ /**
1419
+ * - Response is successful or not.
1420
+ */
1421
+ success: boolean;
1422
+ };
1423
+ /** @returns {GetPaymentLinkResponse} */
1424
+ declare function GetPaymentLinkResponse(): GetPaymentLinkResponse;
1425
+ type GetPaymentLinkResponse = {
1426
+ /**
1427
+ * - Total value of order
1428
+ */
1429
+ amount?: number;
1430
+ /**
1431
+ * - Merchant order id
1432
+ */
1433
+ external_order_id?: string;
1434
+ /**
1435
+ * - Merchant name
1436
+ */
1437
+ merchant_name?: string;
1438
+ /**
1439
+ * - Message
1440
+ */
1441
+ message: string;
1442
+ /**
1443
+ * - Status of payment link
1444
+ */
1445
+ payment_link_current_status?: string;
1446
+ /**
1447
+ * - Url of payment link
1448
+ */
1449
+ payment_link_url?: string;
1450
+ /**
1451
+ * - Polling request timeout
1452
+ */
1453
+ polling_timeout?: number;
1454
+ /**
1455
+ * - HTTP status code
1456
+ */
1457
+ status_code: number;
1458
+ /**
1459
+ * - Successful or failure
1460
+ */
1461
+ success: boolean;
1462
+ };
1463
+ /** @returns {GetUserCODLimitResponse} */
1464
+ declare function GetUserCODLimitResponse(): GetUserCODLimitResponse;
1465
+ type GetUserCODLimitResponse = {
1466
+ /**
1467
+ * - Response is successful or not
1468
+ */
1469
+ success: boolean;
1470
+ /**
1471
+ * - User COD Data
1472
+ */
1473
+ user_cod_data: CODdata;
1474
+ };
1475
+ /** @returns {HttpErrorCodeAndResponse} */
1476
+ declare function HttpErrorCodeAndResponse(): HttpErrorCodeAndResponse;
1477
+ type HttpErrorCodeAndResponse = {
1478
+ error: ErrorCodeAndDescription;
1479
+ /**
1480
+ * - Response is successful or not
1481
+ */
1482
+ success: boolean;
1483
+ };
1484
+ /** @returns {IfscCodeResponse} */
1485
+ declare function IfscCodeResponse(): IfscCodeResponse;
1486
+ type IfscCodeResponse = {
1487
+ /**
1488
+ * - Bank Name Of Account
1489
+ */
1490
+ bank_name: string;
1491
+ /**
1492
+ * - Branch Name Of Account
1493
+ */
1494
+ branch_name: string;
1495
+ /**
1496
+ * - Response is successful or not
1497
+ */
1498
+ success?: boolean;
1499
+ };
1500
+ /** @returns {IntentApp} */
1501
+ declare function IntentApp(): IntentApp;
1502
+ type IntentApp = {
1503
+ /**
1504
+ * - Code
1505
+ */
1506
+ code?: string;
1507
+ /**
1508
+ * - Display_name
1509
+ */
1510
+ display_name?: string;
1511
+ /**
1512
+ * - Logos
1513
+ */
1514
+ logos?: any;
1515
+ /**
1516
+ * - Package_name
1517
+ */
1518
+ package_name?: string;
1519
+ };
1520
+ /** @returns {IntentAppErrorList} */
1521
+ declare function IntentAppErrorList(): IntentAppErrorList;
1522
+ type IntentAppErrorList = {
1523
+ /**
1524
+ * - Code
1525
+ */
1526
+ code?: string;
1527
+ /**
1528
+ * - Package_name
1529
+ */
1530
+ package_name?: string;
1531
+ };
1532
+ /** @returns {LinkStatus} */
1533
+ declare function LinkStatus(): LinkStatus;
1534
+ type LinkStatus = {
1535
+ /**
1536
+ * - Message
1537
+ */
1538
+ message: string;
1539
+ /**
1540
+ * - Link action status
1541
+ */
1542
+ status: boolean;
1543
+ };
1544
+ /** @returns {MerchantOnBoardingRequest} */
1545
+ declare function MerchantOnBoardingRequest(): MerchantOnBoardingRequest;
1546
+ type MerchantOnBoardingRequest = {
1547
+ /**
1548
+ * - Payment aggregator name
1549
+ */
1550
+ aggregator: string;
1551
+ /**
1552
+ * - Application id
1553
+ */
1554
+ app_id: string;
1555
+ /**
1556
+ * - Merchant ID at Ajiodhan's end
1557
+ */
1558
+ credit_line_id: string;
1559
+ /**
1560
+ * - Status
1561
+ */
1562
+ status: string;
1563
+ /**
1564
+ * - Deadlock/Grimlock user id
1565
+ */
1566
+ user_id: string;
1567
+ };
1568
+ /** @returns {MerchantOnBoardingResponse} */
1569
+ declare function MerchantOnBoardingResponse(): MerchantOnBoardingResponse;
1570
+ type MerchantOnBoardingResponse = {
1571
+ data: any;
1572
+ /**
1573
+ * - Success/Failure of the transaction
1574
+ */
1575
+ success: boolean;
1576
+ };
1577
+ /** @returns {MerchnatPaymentModeRequest} */
1578
+ declare function MerchnatPaymentModeRequest(): MerchnatPaymentModeRequest;
1579
+ type MerchnatPaymentModeRequest = {
1580
+ /**
1581
+ * - Details to be updated for online payment configuration.
1582
+ */
1583
+ offline?: any;
1584
+ /**
1585
+ * - Details to be updated for offline payment configuration.
1586
+ */
1587
+ online?: any;
1588
+ };
1589
+ /** @returns {MerchnatPaymentModeResponse} */
1590
+ declare function MerchnatPaymentModeResponse(): MerchnatPaymentModeResponse;
1591
+ type MerchnatPaymentModeResponse = {
1592
+ /**
1593
+ * - List of all aggregator and payment mode details.
1594
+ */
1595
+ items?: any[];
1596
+ /**
1597
+ * - Message
1598
+ */
1599
+ message?: string;
1600
+ /**
1601
+ * - Response is successful or not.
1602
+ */
1603
+ success: boolean;
1604
+ };
1605
+ /** @returns {MultiTenderPaymentMeta} */
1606
+ declare function MultiTenderPaymentMeta(): MultiTenderPaymentMeta;
1607
+ type MultiTenderPaymentMeta = {
1608
+ current_status?: string;
1609
+ extra_meta?: any;
1610
+ order_id?: string;
1611
+ payment_gateway?: string;
1612
+ payment_id?: string;
1613
+ };
1614
+ /** @returns {MultiTenderPaymentMethod} */
1615
+ declare function MultiTenderPaymentMethod(): MultiTenderPaymentMethod;
1616
+ type MultiTenderPaymentMethod = {
1617
+ /**
1618
+ * - Payment amount
1619
+ */
1620
+ amount: number;
1621
+ meta?: MultiTenderPaymentMeta;
1622
+ mode: string;
1623
+ /**
1624
+ * - Payment mode name
1625
+ */
1626
+ name?: string;
1627
+ };
1628
+ /** @returns {NotFoundResourceError} */
1629
+ declare function NotFoundResourceError(): NotFoundResourceError;
1630
+ type NotFoundResourceError = {
1631
+ /**
1632
+ * - Bad Request Data
1633
+ */
1634
+ code: string;
1635
+ /**
1636
+ * - Not Found
1637
+ */
1638
+ description: string;
1639
+ /**
1640
+ * - Response is successful or not
1641
+ */
1642
+ success: boolean;
1643
+ };
1644
+ /** @returns {OrderBeneficiaryDetails} */
1645
+ declare function OrderBeneficiaryDetails(): OrderBeneficiaryDetails;
1646
+ type OrderBeneficiaryDetails = {
1647
+ /**
1648
+ * - Account Holder Name
1649
+ */
1650
+ account_holder: string;
1651
+ /**
1652
+ * - Account Number
1653
+ */
1654
+ account_no: string;
1655
+ /**
1656
+ * - Address of User
1657
+ */
1658
+ address: string;
1659
+ /**
1660
+ * - Bank Name Of Account
1661
+ */
1662
+ bank_name: string;
1663
+ /**
1664
+ * - Benenficiary Id
1665
+ */
1666
+ beneficiary_id: string;
1667
+ /**
1668
+ * - Branch Name Of Account
1669
+ */
1670
+ branch_name?: string;
1671
+ /**
1672
+ * - Remarks
1673
+ */
1674
+ comment?: string;
1675
+ /**
1676
+ * - Creation Date of Beneficiary
1677
+ */
1678
+ created_on: string;
1679
+ /**
1680
+ * - User Id Who filled the Beneficiary
1681
+ */
1682
+ delights_user_name?: string;
1683
+ /**
1684
+ * - Display Name Of Account
1685
+ */
1686
+ display_name: string;
1687
+ /**
1688
+ * - EMail of User
1689
+ */
1690
+ email: string;
1691
+ /**
1692
+ * -
1693
+ */
1694
+ id: number;
1695
+ /**
1696
+ * - Ifsc Code Of Account
1697
+ */
1698
+ ifsc_code: string;
1699
+ /**
1700
+ * - Boolean Flag whether Beneficiary set or not
1701
+ */
1702
+ is_active: boolean;
1703
+ /**
1704
+ * - MObile no of User
1705
+ */
1706
+ mobile?: string;
1707
+ /**
1708
+ * - MOdification Date of Beneficiary
1709
+ */
1710
+ modified_on: string;
1711
+ /**
1712
+ * - SHort Title Of Account
1713
+ */
1714
+ subtitle: string;
1715
+ /**
1716
+ * - Title Of Account
1717
+ */
1718
+ title: string;
1719
+ /**
1720
+ * - Transfer Mode Of Account
1721
+ */
1722
+ transfer_mode: string;
1723
+ };
1724
+ /** @returns {OrderBeneficiaryResponse} */
1725
+ declare function OrderBeneficiaryResponse(): OrderBeneficiaryResponse;
1726
+ type OrderBeneficiaryResponse = {
1727
+ /**
1728
+ * - All Beneficiaries Of An Order
1729
+ */
1730
+ beneficiaries?: OrderBeneficiaryDetails[];
1731
+ /**
1732
+ * - Show beneficiary details or not.
1733
+ */
1734
+ show_beneficiary_details?: boolean;
1735
+ };
1736
+ /** @returns {OrderDetail} */
1737
+ declare function OrderDetail(): OrderDetail;
1738
+ type OrderDetail = {
1739
+ /**
1740
+ * - Name of the payment gateway aggregator.
1741
+ */
1742
+ aggregator: string;
1743
+ /**
1744
+ * - Aggregator order details
1745
+ * generated by the payment gateway.
1746
+ */
1747
+ aggregator_order_details: any;
1748
+ /**
1749
+ * - Amount paid.
1750
+ */
1751
+ amount: number;
1752
+ /**
1753
+ * - Currency of the payment.
1754
+ */
1755
+ currency: string;
1756
+ /**
1757
+ * - Global identifier of the entity (e.g. order, cart
1758
+ * etc.) against which payment_session was initiated. This is generated by
1759
+ * Fynd payments platform and is unique.
1760
+ */
1761
+ gid: string;
1762
+ /**
1763
+ * - Order status created by payment gateway aggregator.
1764
+ */
1765
+ status: string;
1766
+ };
1767
+ /** @returns {Page} */
1768
+ declare function Page(): Page;
1769
+ type Page = {
1770
+ current?: number;
1771
+ has_next?: boolean;
1772
+ has_previous?: boolean;
1773
+ item_total?: number;
1774
+ next_id?: string;
1775
+ size?: number;
1776
+ type: string;
1777
+ };
1778
+ /** @returns {PaymentCode} */
1779
+ declare function PaymentCode(): PaymentCode;
1780
+ type PaymentCode = {
1781
+ /**
1782
+ * - List of dict that contains payment method data
1783
+ */
1784
+ codes: Code;
1785
+ /**
1786
+ * - Name of payment name
1787
+ */
1788
+ name: string;
1789
+ /**
1790
+ * - Payment networks
1791
+ */
1792
+ networks: string;
1793
+ /**
1794
+ * - Type of payment mode
1795
+ */
1796
+ types: string;
1797
+ };
1798
+ /** @returns {PaymentConfirmationRequest} */
1799
+ declare function PaymentConfirmationRequest(): PaymentConfirmationRequest;
1800
+ type PaymentConfirmationRequest = {
1801
+ /**
1802
+ * - Unique order id
1803
+ */
1804
+ order_id: string;
1805
+ payment_methods: MultiTenderPaymentMethod[];
1806
+ };
1807
+ /** @returns {PaymentConfirmationResponse} */
1808
+ declare function PaymentConfirmationResponse(): PaymentConfirmationResponse;
1809
+ type PaymentConfirmationResponse = {
1810
+ /**
1811
+ * - Message
1812
+ */
1813
+ message: string;
1814
+ /**
1815
+ * - Unique order id
1816
+ */
1817
+ order_id: string;
1818
+ /**
1819
+ * - Payment confirmation updated or not.
1820
+ */
1821
+ success: boolean;
1822
+ };
1823
+ /** @returns {PaymentGatewayConfig} */
1824
+ declare function PaymentGatewayConfig(): PaymentGatewayConfig;
1825
+ type PaymentGatewayConfig = {
1826
+ /**
1827
+ * - Config Type of the aggregator
1828
+ */
1829
+ config_type: string;
1830
+ /**
1831
+ * - Enable/ Disable Flag
1832
+ */
1833
+ is_active?: boolean;
1834
+ /**
1835
+ * - Api key of the payment aggregator
1836
+ */
1837
+ key: string;
1838
+ /**
1839
+ * - Merchant key of the payment aggregator
1840
+ */
1841
+ merchant_salt: string;
1842
+ /**
1843
+ * - Secret Key of the payment aggregator
1844
+ */
1845
+ secret: string;
1846
+ };
1847
+ /** @returns {PaymentGatewayConfigRequest} */
1848
+ declare function PaymentGatewayConfigRequest(): PaymentGatewayConfigRequest;
1849
+ type PaymentGatewayConfigRequest = {
1850
+ aggregator_name?: PaymentGatewayConfig;
1851
+ /**
1852
+ * - Application Id to which Payment config Mapped
1853
+ */
1854
+ app_id: string;
1855
+ /**
1856
+ * - Enable/ Disable Flag
1857
+ */
1858
+ is_active?: boolean;
1859
+ };
1860
+ /** @returns {PaymentGatewayConfigResponse} */
1861
+ declare function PaymentGatewayConfigResponse(): PaymentGatewayConfigResponse;
1862
+ type PaymentGatewayConfigResponse = {
1863
+ /**
1864
+ * - List of all speceific Payment options
1865
+ * with their Details.
1866
+ */
1867
+ aggregators?: any[];
1868
+ /**
1869
+ * - Application Id to which Payment config Mapped
1870
+ */
1871
+ app_id: string;
1872
+ /**
1873
+ * - Response is created or not
1874
+ */
1875
+ created: boolean;
1876
+ /**
1877
+ * - List of all included options with their Details.
1878
+ */
1879
+ display_fields: string[];
1880
+ /**
1881
+ * - List of all excluded options with their Details.
1882
+ */
1883
+ excluded_fields: string[];
1884
+ /**
1885
+ * - Response is successful or not
1886
+ */
1887
+ success: boolean;
1888
+ };
1889
+ /** @returns {PaymentGatewayToBeReviewed} */
1890
+ declare function PaymentGatewayToBeReviewed(): PaymentGatewayToBeReviewed;
1891
+ type PaymentGatewayToBeReviewed = {
1892
+ /**
1893
+ * - List of added payment gateway
1894
+ */
1895
+ aggregator: string[];
1896
+ /**
1897
+ * - Response is successful or not
1898
+ */
1899
+ success: boolean;
1900
+ };
1901
+ /** @returns {PaymentInitializationRequest} */
1902
+ declare function PaymentInitializationRequest(): PaymentInitializationRequest;
1903
+ type PaymentInitializationRequest = {
1904
+ /**
1905
+ * - Payment gateway name
1906
+ */
1907
+ aggregator: string;
1908
+ /**
1909
+ * - Payable amount.
1910
+ */
1911
+ amount: number;
1912
+ /**
1913
+ * - Customer valid mobile number
1914
+ */
1915
+ contact: string;
1916
+ /**
1917
+ * - Currency code.
1918
+ */
1919
+ currency: string;
1920
+ /**
1921
+ * - Payment gateway customer id.
1922
+ */
1923
+ customer_id: string;
1924
+ /**
1925
+ * - EDC machine Unique Identifier
1926
+ */
1927
+ device_id?: string;
1928
+ /**
1929
+ * - Customer valid email
1930
+ */
1931
+ email: string;
1932
+ /**
1933
+ * - Unique fynd order id
1934
+ */
1935
+ merchant_order_id: string;
1936
+ /**
1937
+ * - Payment method
1938
+ */
1939
+ method: string;
1940
+ /**
1941
+ * - Payment gateway order id
1942
+ */
1943
+ order_id: string;
1944
+ /**
1945
+ * - Payment gateway payment id
1946
+ */
1947
+ razorpay_payment_id?: string;
1948
+ /**
1949
+ * - Payment polling timeout if not recieved response
1950
+ */
1951
+ timeout?: number;
1952
+ /**
1953
+ * - Customer vpa address
1954
+ */
1955
+ vpa?: string;
1956
+ };
1957
+ /** @returns {PaymentInitializationResponse} */
1958
+ declare function PaymentInitializationResponse(): PaymentInitializationResponse;
1959
+ type PaymentInitializationResponse = {
1960
+ /**
1961
+ * - Payment gateway name
1962
+ */
1963
+ aggregator: string;
1964
+ /**
1965
+ * - Payment order id
1966
+ */
1967
+ aggregator_order_id?: string;
1968
+ /**
1969
+ * - Payable amount.
1970
+ */
1971
+ amount?: number;
1972
+ /**
1973
+ * - Bharath qr image url.
1974
+ */
1975
+ bqr_image?: string;
1976
+ /**
1977
+ * - Currency code.
1978
+ */
1979
+ currency?: string;
1980
+ /**
1981
+ * - Payment gateway customer id.
1982
+ */
1983
+ customer_id?: string;
1984
+ /**
1985
+ * - EDC machine Unique Identifier
1986
+ */
1987
+ device_id?: string;
1988
+ /**
1989
+ * - Order id
1990
+ */
1991
+ merchant_order_id: string;
1992
+ /**
1993
+ * - Payment method
1994
+ */
1995
+ method: string;
1996
+ /**
1997
+ * - Polling url.
1998
+ */
1999
+ polling_url: string;
2000
+ /**
2001
+ * - Payment id.
2002
+ */
2003
+ razorpay_payment_id?: string;
2004
+ /**
2005
+ * - Status of payment.
2006
+ */
2007
+ status?: string;
2008
+ /**
2009
+ * - Response is successful or not.
2010
+ */
2011
+ success: boolean;
2012
+ /**
2013
+ * - Timeout.
2014
+ */
2015
+ timeout?: number;
2016
+ /**
2017
+ * - UPI poll url.
2018
+ */
2019
+ upi_poll_url?: string;
2020
+ /**
2021
+ * - Payment virtual address.
2022
+ */
2023
+ virtual_id?: string;
2024
+ /**
2025
+ * - Customer vpa address
2026
+ */
2027
+ vpa?: string;
2028
+ };
2029
+ /** @returns {PaymentModeList} */
2030
+ declare function PaymentModeList(): PaymentModeList;
2031
+ type PaymentModeList = {
2032
+ /**
2033
+ * - Aggregator_name
2034
+ */
2035
+ aggregator_name: string;
2036
+ /**
2037
+ * - Card_brand
2038
+ */
2039
+ card_brand?: string;
2040
+ /**
2041
+ * - Card_brand_image
2042
+ */
2043
+ card_brand_image?: string;
2044
+ /**
2045
+ * - Card_fingerprint
2046
+ */
2047
+ card_fingerprint?: string;
2048
+ /**
2049
+ * - Card_id
2050
+ */
2051
+ card_id?: string;
2052
+ /**
2053
+ * - Card_isin
2054
+ */
2055
+ card_isin?: string;
2056
+ /**
2057
+ * - Card_issuer
2058
+ */
2059
+ card_issuer?: string;
2060
+ /**
2061
+ * - Card_name
2062
+ */
2063
+ card_name?: string;
2064
+ /**
2065
+ * - Card_number
2066
+ */
2067
+ card_number?: string;
2068
+ /**
2069
+ * - Card_reference
2070
+ */
2071
+ card_reference?: string;
2072
+ /**
2073
+ * - Card_token
2074
+ */
2075
+ card_token?: string;
2076
+ /**
2077
+ * - Card_type
2078
+ */
2079
+ card_type?: string;
2080
+ /**
2081
+ * - Cod limit
2082
+ */
2083
+ cod_limit?: number;
2084
+ /**
2085
+ * - Cod limit per order
2086
+ */
2087
+ cod_limit_per_order?: number;
2088
+ /**
2089
+ * - Code
2090
+ */
2091
+ code?: string;
2092
+ /**
2093
+ * - If card is
2094
+ * tokenised or not
2095
+ */
2096
+ compliant_with_tokenisation_guidelines?: boolean;
2097
+ /**
2098
+ * - Display name
2099
+ */
2100
+ display_name?: string;
2101
+ /**
2102
+ * - Dispaly Priority
2103
+ */
2104
+ display_priority?: number;
2105
+ /**
2106
+ * - Exp_month
2107
+ */
2108
+ exp_month?: number;
2109
+ /**
2110
+ * - Exp_year
2111
+ */
2112
+ exp_year?: number;
2113
+ /**
2114
+ * - Expired
2115
+ */
2116
+ expired?: boolean;
2117
+ /**
2118
+ * - Fynd_vpa
2119
+ */
2120
+ fynd_vpa?: string;
2121
+ /**
2122
+ * - Intent_app
2123
+ */
2124
+ intent_app?: IntentApp[];
2125
+ /**
2126
+ * -
2127
+ * Intent_app_error_dict_list
2128
+ */
2129
+ intent_app_error_dict_list?: IntentAppErrorList[];
2130
+ /**
2131
+ * - Intent_app_error_list
2132
+ */
2133
+ intent_app_error_list?: string[];
2134
+ /**
2135
+ * - Intent_flow
2136
+ */
2137
+ intent_flow?: boolean;
2138
+ /**
2139
+ * - Logo
2140
+ */
2141
+ logo_url?: any;
2142
+ /**
2143
+ * - Merchant code
2144
+ */
2145
+ merchant_code?: string;
2146
+ /**
2147
+ * - Name
2148
+ */
2149
+ name?: string;
2150
+ /**
2151
+ * - Nickname
2152
+ */
2153
+ nickname?: string;
2154
+ /**
2155
+ * - Remaining limit
2156
+ */
2157
+ remaining_limit?: number;
2158
+ /**
2159
+ * - Retry_count
2160
+ */
2161
+ retry_count?: number;
2162
+ /**
2163
+ * - Timeout
2164
+ */
2165
+ timeout?: number;
2166
+ };
2167
+ /** @returns {PaymentModeLogo} */
2168
+ declare function PaymentModeLogo(): PaymentModeLogo;
2169
+ type PaymentModeLogo = {
2170
+ /**
2171
+ * - Large
2172
+ */
2173
+ large: string;
2174
+ /**
2175
+ * - Smalll
2176
+ */
2177
+ small: string;
2178
+ };
2179
+ /** @returns {PaymentObjectListSerializer} */
2180
+ declare function PaymentObjectListSerializer(): PaymentObjectListSerializer;
2181
+ type PaymentObjectListSerializer = {
2182
+ aggregator_payment_object?: any;
2183
+ all_status: string[];
2184
+ amount_in_paisa: string;
2185
+ application_id: string;
2186
+ collected_by: string;
2187
+ company_id: string;
2188
+ created_on: string;
2189
+ currency: string;
2190
+ current_status: string;
2191
+ id: string;
2192
+ modified_on: string;
2193
+ payment_gateway: string;
2194
+ payment_id?: string;
2195
+ payment_mode: string;
2196
+ payment_mode_identifier: string;
2197
+ refund_object?: any;
2198
+ refunded_by: string;
2199
+ user_object: any;
2200
+ };
2201
+ /** @returns {PaymentOptions} */
2202
+ declare function PaymentOptions(): PaymentOptions;
2203
+ type PaymentOptions = {
2204
+ /**
2205
+ * - Payment options
2206
+ */
2207
+ payment_option: RootPaymentMode[];
2208
+ };
2209
+ /** @returns {PaymentOptionsResponse} */
2210
+ declare function PaymentOptionsResponse(): PaymentOptionsResponse;
2211
+ type PaymentOptionsResponse = {
2212
+ /**
2213
+ * - Payment options
2214
+ */
2215
+ payment_options: PaymentOptions;
2216
+ /**
2217
+ * - Response is successful or not
2218
+ */
2219
+ success: boolean;
2220
+ };
2221
+ /** @returns {PaymentSessionDetail} */
2222
+ declare function PaymentSessionDetail(): PaymentSessionDetail;
2223
+ type PaymentSessionDetail = {
2224
+ /**
2225
+ * - Unique customer id generated by
2226
+ * payment gateway, not required for standard checkout.
2227
+ */
2228
+ aggregator_customer_id?: string;
2229
+ /**
2230
+ * - Unique order id or payment request
2231
+ * id generated by payment gateway
2232
+ */
2233
+ aggregator_order_id: string;
2234
+ /**
2235
+ * - Amount paid.
2236
+ */
2237
+ amount: number;
2238
+ /**
2239
+ * - Amount which is captured or credited to
2240
+ * merchant account
2241
+ */
2242
+ amount_captured: number;
2243
+ amount_refunded?: number;
2244
+ /**
2245
+ * - Billing address
2246
+ */
2247
+ billing_address: AddressDetail;
2248
+ /**
2249
+ * - Cancel url sent by Fynd platform at the time
2250
+ * of payment creation
2251
+ */
2252
+ cancel_url: string;
2253
+ /**
2254
+ * - Whether the payment is captured (credited to
2255
+ * merchant account) by payment gateway.
2256
+ */
2257
+ captured?: boolean;
2258
+ /**
2259
+ * - Timestamp in epoch
2260
+ */
2261
+ created?: string;
2262
+ /**
2263
+ * - Currency of the payment.
2264
+ */
2265
+ currency: string;
2266
+ /**
2267
+ * - Global user identifier - unique user id
2268
+ * generated by Fynd platform
2269
+ */
2270
+ g_user_id: string;
2271
+ /**
2272
+ * - Global identifier of the entity (e.g. order, cart
2273
+ * etc.) against which payment_session was initiated. This is generated by
2274
+ * Fynd payments platform and is unique.
2275
+ */
2276
+ gid: string;
2277
+ /**
2278
+ * - Optional kind of purchase/payment - one time
2279
+ * payment (sale) or subcription. defaults to sale.
2280
+ */
2281
+ kind?: string;
2282
+ /**
2283
+ * - User's locale
2284
+ */
2285
+ locale?: string;
2286
+ /**
2287
+ * - Merchant's locale
2288
+ */
2289
+ merchant_locale?: string;
2290
+ /**
2291
+ * - Test or live, test mode uses test credentials so
2292
+ * that actual payment is not created.
2293
+ */
2294
+ mode: string;
2295
+ /**
2296
+ * - Unique transaction id generated by payment gateway
2297
+ */
2298
+ payment_id: string;
2299
+ /**
2300
+ * - Method of payment
2301
+ */
2302
+ payment_methods: any[];
2303
+ /**
2304
+ * - Shipping address
2305
+ */
2306
+ shipping_address: AddressDetail;
2307
+ /**
2308
+ * - Stautus of the payment
2309
+ */
2310
+ status: string;
2311
+ /**
2312
+ * - Success url sent by Fynd platform at the
2313
+ * time of payment creation
2314
+ */
2315
+ success_url: string;
2316
+ };
2317
+ /** @returns {PaymentSessionRequestSerializer} */
2318
+ declare function PaymentSessionRequestSerializer(): PaymentSessionRequestSerializer;
2319
+ type PaymentSessionRequestSerializer = {
2320
+ /**
2321
+ * - Currency of the payment.
2322
+ */
2323
+ currency: string;
2324
+ /**
2325
+ * - Global identifier of the entity (e.g. order, cart
2326
+ * etc.) against which payment_session was initiated. This is generated by
2327
+ * Fynd payments platform and is unique.
2328
+ */
2329
+ gid: string;
2330
+ /**
2331
+ * - The details of the order.
2332
+ */
2333
+ order_details: OrderDetail;
2334
+ /**
2335
+ * - The payment details with
2336
+ * the schema `PaymentSessionDetail`.
2337
+ */
2338
+ payment_details: PaymentSessionDetail[];
2339
+ /**
2340
+ * - Status of the payment.
2341
+ */
2342
+ status: string;
2343
+ /**
2344
+ * - Amount paid.
2345
+ */
2346
+ total_amount: number;
2347
+ };
2348
+ /** @returns {PaymentSessionResponseSerializer} */
2349
+ declare function PaymentSessionResponseSerializer(): PaymentSessionResponseSerializer;
2350
+ type PaymentSessionResponseSerializer = {
2351
+ /**
2352
+ * - Currency of the payment.
2353
+ */
2354
+ currency: string;
2355
+ /**
2356
+ * - Global identifier of the entity (e.g. order, cart
2357
+ * etc.) against which payment_session was initiated. This is generated by
2358
+ * Fynd payments platform and is unique.
2359
+ */
2360
+ gid: string;
2361
+ /**
2362
+ * - Platform transaction details.
2363
+ */
2364
+ platform_transaction_details: any[];
2365
+ /**
2366
+ * - Status of the payment.
2367
+ */
2368
+ status: string;
2369
+ /**
2370
+ * - Amount paid.
2371
+ */
2372
+ total_amount: number;
2373
+ };
2374
+ /** @returns {PaymentStatusBulkHandlerRequest} */
2375
+ declare function PaymentStatusBulkHandlerRequest(): PaymentStatusBulkHandlerRequest;
2376
+ type PaymentStatusBulkHandlerRequest = {
2377
+ /**
2378
+ * - List of order ids
2379
+ */
2380
+ merchant_order_id: string[];
2381
+ };
2382
+ /** @returns {PaymentStatusBulkHandlerResponse} */
2383
+ declare function PaymentStatusBulkHandlerResponse(): PaymentStatusBulkHandlerResponse;
2384
+ type PaymentStatusBulkHandlerResponse = {
2385
+ count?: number;
2386
+ data?: PaymentStatusObject[];
2387
+ error?: string;
2388
+ status: number;
2389
+ success: string;
2390
+ };
2391
+ /** @returns {PaymentStatusObject} */
2392
+ declare function PaymentStatusObject(): PaymentStatusObject;
2393
+ type PaymentStatusObject = {
2394
+ merchant_order_id: string;
2395
+ payment_object_list?: PaymentObjectListSerializer[];
2396
+ };
2397
+ /** @returns {PaymentStatusUpdateRequest} */
2398
+ declare function PaymentStatusUpdateRequest(): PaymentStatusUpdateRequest;
2399
+ type PaymentStatusUpdateRequest = {
2400
+ /**
2401
+ * - Payment gateway name
2402
+ */
2403
+ aggregator: string;
2404
+ /**
2405
+ * - Payable amount.
2406
+ */
2407
+ amount: number;
2408
+ /**
2409
+ * - Customer valid mobile number
2410
+ */
2411
+ contact: string;
2412
+ /**
2413
+ * - Currency code.
2414
+ */
2415
+ currency: string;
2416
+ /**
2417
+ * - Payment gateway customer id.
2418
+ */
2419
+ customer_id: string;
2420
+ /**
2421
+ * - EDC machine Unique Identifier
2422
+ */
2423
+ device_id?: string;
2424
+ /**
2425
+ * - Customer valid email
2426
+ */
2427
+ email: string;
2428
+ /**
2429
+ * - Unique fynd order id
2430
+ */
2431
+ merchant_order_id: string;
2432
+ /**
2433
+ * - Unique fynd transaction id
2434
+ */
2435
+ merchant_transaction_id: string;
2436
+ /**
2437
+ * - Payment method
2438
+ */
2439
+ method: string;
2440
+ /**
2441
+ * - Payment gateway order id
2442
+ */
2443
+ order_id: string;
2444
+ /**
2445
+ * - Status of payment.
2446
+ */
2447
+ status: string;
2448
+ /**
2449
+ * - Customer vpa address
2450
+ */
2451
+ vpa?: string;
2452
+ };
2453
+ /** @returns {PaymentStatusUpdateResponse} */
2454
+ declare function PaymentStatusUpdateResponse(): PaymentStatusUpdateResponse;
2455
+ type PaymentStatusUpdateResponse = {
2456
+ /**
2457
+ * - Payment gateway name
2458
+ */
2459
+ aggregator_name: string;
2460
+ /**
2461
+ * - Redirect url
2462
+ */
2463
+ redirect_url?: string;
2464
+ /**
2465
+ * - Response is successful or not.
2466
+ */
2467
+ retry: boolean;
2468
+ /**
2469
+ * - Payment status
2470
+ */
2471
+ status: string;
2472
+ /**
2473
+ * - Response is successful or not
2474
+ */
2475
+ success?: boolean;
2476
+ };
2477
+ /** @returns {Payout} */
2478
+ declare function Payout(): Payout;
2479
+ type Payout = {
2480
+ /**
2481
+ * - Customers details object
2482
+ */
2483
+ customers: PayoutCustomer;
2484
+ /**
2485
+ * - Enable/DIsable Flag Payout
2486
+ */
2487
+ is_active: boolean;
2488
+ /**
2489
+ * - Default or not
2490
+ */
2491
+ is_default: boolean;
2492
+ /**
2493
+ * - Bank details object
2494
+ */
2495
+ more_attributes: PayoutMoreAttributes;
2496
+ payouts_aggregators?: PayoutAggregator[];
2497
+ /**
2498
+ * - Transafer type
2499
+ */
2500
+ transfer_type: string;
2501
+ /**
2502
+ * - Display priority of the payment mode
2503
+ */
2504
+ unique_transfer_no: string;
2505
+ };
2506
+ /** @returns {PayoutAggregator} */
2507
+ declare function PayoutAggregator(): PayoutAggregator;
2508
+ type PayoutAggregator = {
2509
+ /**
2510
+ * - Aggregator_fund_id
2511
+ */
2512
+ aggregator_fund_id?: number;
2513
+ /**
2514
+ * - Aggregator_id
2515
+ */
2516
+ aggregator_id?: number;
2517
+ /**
2518
+ * - Payout_details_id
2519
+ */
2520
+ payout_details_id?: number;
2521
+ };
2522
+ /** @returns {PayoutBankDetails} */
2523
+ declare function PayoutBankDetails(): PayoutBankDetails;
2524
+ type PayoutBankDetails = {
2525
+ account_holder?: string;
2526
+ account_no?: string;
2527
+ account_type: string;
2528
+ bank_name?: string;
2529
+ branch_name?: string;
2530
+ city?: string;
2531
+ country?: string;
2532
+ ifsc_code: string;
2533
+ pincode?: number;
2534
+ state?: string;
2535
+ };
2536
+ /** @returns {PayoutCustomer} */
2537
+ declare function PayoutCustomer(): PayoutCustomer;
2538
+ type PayoutCustomer = {
2539
+ /**
2540
+ * - Customer Email
2541
+ */
2542
+ email?: string;
2543
+ /**
2544
+ * - Customer ID
2545
+ */
2546
+ id?: number;
2547
+ /**
2548
+ * - Customer Mobile No
2549
+ */
2550
+ mobile?: string;
2551
+ /**
2552
+ * - Customer Name
2553
+ */
2554
+ name?: string;
2555
+ /**
2556
+ * - Unique_external_id
2557
+ */
2558
+ unique_external_id?: string;
2559
+ };
2560
+ /** @returns {PayoutMoreAttributes} */
2561
+ declare function PayoutMoreAttributes(): PayoutMoreAttributes;
2562
+ type PayoutMoreAttributes = {
2563
+ /**
2564
+ * - Account Holder Name
2565
+ */
2566
+ account_holder?: string;
2567
+ /**
2568
+ * - Account Number
2569
+ */
2570
+ account_no?: string;
2571
+ /**
2572
+ * - Account Type Saving/Current
2573
+ */
2574
+ account_type?: string;
2575
+ /**
2576
+ * - Name of Bank
2577
+ */
2578
+ bank_name?: string;
2579
+ /**
2580
+ * - Branch Name
2581
+ */
2582
+ branch_name?: string;
2583
+ /**
2584
+ * - City
2585
+ */
2586
+ city?: string;
2587
+ /**
2588
+ * - Country
2589
+ */
2590
+ country?: string;
2591
+ /**
2592
+ * - IFSC Code
2593
+ */
2594
+ ifsc_code?: string;
2595
+ /**
2596
+ * - State
2597
+ */
2598
+ state?: string;
2599
+ };
2600
+ /** @returns {PayoutRequest} */
2601
+ declare function PayoutRequest(): PayoutRequest;
2602
+ type PayoutRequest = {
2603
+ /**
2604
+ * - Aggregator Name
2605
+ */
2606
+ aggregator: string;
2607
+ /**
2608
+ * - Payout bank details object
2609
+ */
2610
+ bank_details: PayoutBankDetails;
2611
+ /**
2612
+ * - Enable/Disable Flag Payout
2613
+ */
2614
+ is_active: boolean;
2615
+ /**
2616
+ * - Transafer type
2617
+ */
2618
+ transfer_type: string;
2619
+ /**
2620
+ * - Unique Id of Payout
2621
+ */
2622
+ unique_external_id: string;
2623
+ /**
2624
+ * - Payout users object
2625
+ */
2626
+ users: any;
2627
+ };
2628
+ /** @returns {PayoutResponse} */
2629
+ declare function PayoutResponse(): PayoutResponse;
2630
+ type PayoutResponse = {
2631
+ /**
2632
+ * - Aggregator Name
2633
+ */
2634
+ aggregator: string;
2635
+ /**
2636
+ * - Payout bank_details object
2637
+ */
2638
+ bank_details: any;
2639
+ /**
2640
+ * - Created flag
2641
+ */
2642
+ created: boolean;
2643
+ /**
2644
+ * - Enable/DIsable Flag Payout
2645
+ */
2646
+ is_active: boolean;
2647
+ /**
2648
+ * - Status of payment
2649
+ */
2650
+ payment_status: string;
2651
+ /**
2652
+ * - Payout object
2653
+ */
2654
+ payouts: any;
2655
+ /**
2656
+ * - Response is successful or not
2657
+ */
2658
+ success: boolean;
2659
+ /**
2660
+ * - Transfer type
2661
+ */
2662
+ transfer_type: string;
2663
+ /**
2664
+ * - Unique transfer no
2665
+ */
2666
+ unique_transfer_no: string;
2667
+ /**
2668
+ * - Users details object
2669
+ */
2670
+ users: any;
2671
+ };
2672
+ /** @returns {PayoutsResponse} */
2673
+ declare function PayoutsResponse(): PayoutsResponse;
2674
+ type PayoutsResponse = {
2675
+ /**
2676
+ * - Contains list of PayoutSchema
2677
+ */
2678
+ items: Payout[];
2679
+ /**
2680
+ * - Response is successful or not
2681
+ */
2682
+ success: boolean;
2683
+ };
2684
+ /** @returns {PollingPaymentLinkResponse} */
2685
+ declare function PollingPaymentLinkResponse(): PollingPaymentLinkResponse;
2686
+ type PollingPaymentLinkResponse = {
2687
+ /**
2688
+ * - Aggregator name
2689
+ */
2690
+ aggregator_name?: string;
2691
+ /**
2692
+ * - Amount
2693
+ */
2694
+ amount?: number;
2695
+ /**
2696
+ * - HTTP status code
2697
+ */
2698
+ http_status?: number;
2699
+ /**
2700
+ * - Message
2701
+ */
2702
+ message?: string;
2703
+ /**
2704
+ * - Fynd order id
2705
+ */
2706
+ order_id?: string;
2707
+ /**
2708
+ * - Payment link id
2709
+ */
2710
+ payment_link_id?: string;
2711
+ /**
2712
+ * - Url to redirect to
2713
+ */
2714
+ redirect_url?: string;
2715
+ /**
2716
+ * - Status of payment link
2717
+ */
2718
+ status?: string;
2719
+ /**
2720
+ * - HTTP status code
2721
+ */
2722
+ status_code?: number;
2723
+ /**
2724
+ * - Successful or failure
2725
+ */
2726
+ success?: boolean;
2727
+ };
2728
+ /** @returns {RefundAccountResponse} */
2729
+ declare function RefundAccountResponse(): RefundAccountResponse;
2730
+ type RefundAccountResponse = {
2731
+ /**
2732
+ * - Refund account data.
2733
+ */
2734
+ data?: any;
2735
+ is_verified_flag?: boolean;
2736
+ /**
2737
+ * - Response message
2738
+ */
2739
+ message: string;
2740
+ /**
2741
+ * - Success or failure flag.
2742
+ */
2743
+ success: boolean;
2744
+ };
2745
+ /** @returns {RefundSessionDetail} */
2746
+ declare function RefundSessionDetail(): RefundSessionDetail;
2747
+ type RefundSessionDetail = {
2748
+ /**
2749
+ * - Amount refunded.
2750
+ */
2751
+ amount: number;
2752
+ /**
2753
+ * - Balance transaction.
2754
+ */
2755
+ balance_transaction?: string;
2756
+ /**
2757
+ * - Timestamp in epoch.
2758
+ */
2759
+ created: string;
2760
+ /**
2761
+ * - Currency of the payment.
2762
+ */
2763
+ currency: string;
2764
+ /**
2765
+ * - Unique payment id generated by payment gateway.
2766
+ */
2767
+ payment_id: string;
2768
+ /**
2769
+ * - Reason for refund, optional
2770
+ */
2771
+ reason?: string;
2772
+ /**
2773
+ * - Unique receipt for refund, generated by
2774
+ * payment gateway, if not available can be utr.
2775
+ */
2776
+ receipt_number?: string;
2777
+ /**
2778
+ * - Unique refund utr generated by payment gateway.
2779
+ */
2780
+ refund_utr?: string;
2781
+ /**
2782
+ * - Refund request id, unique id generated by Fynd platform
2783
+ */
2784
+ request_id: string;
2785
+ /**
2786
+ * - Description in case of
2787
+ * reversal of payment.
2788
+ */
2789
+ source_transfer_reversal?: string;
2790
+ /**
2791
+ * - Status of the refund.
2792
+ */
2793
+ status: string;
2794
+ /**
2795
+ * - Description in case of reversal of payment.
2796
+ */
2797
+ transfer_reversal?: string;
2798
+ };
2799
+ /** @returns {RefundSessionRequestSerializer} */
2800
+ declare function RefundSessionRequestSerializer(): RefundSessionRequestSerializer;
2801
+ type RefundSessionRequestSerializer = {
2802
+ /**
2803
+ * - The currency of the payment.
2804
+ */
2805
+ currency: string;
2806
+ /**
2807
+ * - Global identifier of the entity (e.g. order, cart
2808
+ * etc.) against which payment_session was initiated. This is generated by
2809
+ * Fynd payments platform and is unique.
2810
+ */
2811
+ gid: string;
2812
+ /**
2813
+ * - Details of the payment
2814
+ */
2815
+ payment_details: PaymentSessionDetail;
2816
+ /**
2817
+ * - Details of the refund
2818
+ */
2819
+ refund_details?: RefundSessionDetail[];
2820
+ /**
2821
+ * - The status of the refund.
2822
+ */
2823
+ status: string;
2824
+ /**
2825
+ * - The total amount refunded.
2826
+ */
2827
+ total_amount: number;
2828
+ };
2829
+ /** @returns {RefundSessionResponseSerializer} */
2830
+ declare function RefundSessionResponseSerializer(): RefundSessionResponseSerializer;
2831
+ type RefundSessionResponseSerializer = {
2832
+ /**
2833
+ * - The currency of the payment.
2834
+ */
2835
+ currency: string;
2836
+ /**
2837
+ * - Global identifier of the entity (e.g. order, cart
2838
+ * etc.) against which payment_session was initiated. This is generated by
2839
+ * Fynd payments platform and is unique.
2840
+ */
2841
+ gid: string;
2842
+ /**
2843
+ * - Details of the refund
2844
+ */
2845
+ platform_refund_details: any[];
2846
+ /**
2847
+ * - The status of the refund.
2848
+ */
2849
+ status: string;
2850
+ /**
2851
+ * - The total amount refunded.
2852
+ */
2853
+ total_refund_amount: number;
2854
+ };
2855
+ /** @returns {RepaymentDetailsSerialiserPayAll} */
2856
+ declare function RepaymentDetailsSerialiserPayAll(): RepaymentDetailsSerialiserPayAll;
2857
+ type RepaymentDetailsSerialiserPayAll = {
2858
+ /**
2859
+ * - Id of payment gateway
2860
+ */
2861
+ aggregator_order_id: string;
2862
+ /**
2863
+ * - Unique Id for the transaction
2864
+ */
2865
+ aggregator_transaction_id: string;
2866
+ /**
2867
+ * - Order id created in extension
2868
+ */
2869
+ extension_order_id: string;
2870
+ shipment_details?: RepaymentRequestDetails[];
2871
+ /**
2872
+ * - Total amount
2873
+ */
2874
+ total_amount: number;
2875
+ };
2876
+ /** @returns {RepaymentRequestDetails} */
2877
+ declare function RepaymentRequestDetails(): RepaymentRequestDetails;
2878
+ type RepaymentRequestDetails = {
2879
+ /**
2880
+ * - Name of Payment Gateway
2881
+ */
2882
+ aggregator: string;
2883
+ /**
2884
+ * - Id of payment gateway
2885
+ */
2886
+ aggregator_order_id: string;
2887
+ /**
2888
+ * - Unique Id for the transaction
2889
+ */
2890
+ aggregator_transaction_id: string;
2891
+ /**
2892
+ * - Amount to paid back
2893
+ */
2894
+ amount: number;
2895
+ /**
2896
+ * - Status
2897
+ */
2898
+ current_status: string;
2899
+ /**
2900
+ * - Purchase Shipment Id
2901
+ */
2902
+ fwd_shipment_id: string;
2903
+ /**
2904
+ * - Merchant's Order Id
2905
+ */
2906
+ merchant_order_id: string;
2907
+ /**
2908
+ * - Outstanding details ID
2909
+ */
2910
+ outstanding_details_id: number;
2911
+ /**
2912
+ * - Payment Mode
2913
+ */
2914
+ payment_mode: string;
2915
+ /**
2916
+ * - Payment Mode Id
2917
+ */
2918
+ payment_mode_identifier: string;
2919
+ };
2920
+ /** @returns {RepaymentResponse} */
2921
+ declare function RepaymentResponse(): RepaymentResponse;
2922
+ type RepaymentResponse = {
2923
+ data: any;
2924
+ /**
2925
+ * - Success/Failure of the transaction
2926
+ */
2927
+ success: boolean;
2928
+ };
2929
+ /** @returns {ResendOrCancelPaymentRequest} */
2930
+ declare function ResendOrCancelPaymentRequest(): ResendOrCancelPaymentRequest;
2931
+ type ResendOrCancelPaymentRequest = {
2932
+ /**
2933
+ * - EDC machine Unique Identifier
2934
+ */
2935
+ device_id?: string;
2936
+ /**
2937
+ * - Unique order id
2938
+ */
2939
+ order_id: string;
2940
+ /**
2941
+ * - Either resend or cancel
2942
+ */
2943
+ request_type: string;
2944
+ };
2945
+ /** @returns {ResendOrCancelPaymentResponse} */
2946
+ declare function ResendOrCancelPaymentResponse(): ResendOrCancelPaymentResponse;
2947
+ type ResendOrCancelPaymentResponse = {
2948
+ /**
2949
+ * - Data about link action status.
2950
+ */
2951
+ data: LinkStatus;
2952
+ /**
2953
+ * - Response is successful or not.
2954
+ */
2955
+ success: boolean;
2956
+ };
2957
+ /** @returns {ResendPaymentLinkResponse} */
2958
+ declare function ResendPaymentLinkResponse(): ResendPaymentLinkResponse;
2959
+ type ResendPaymentLinkResponse = {
2960
+ /**
2961
+ * - Message
2962
+ */
2963
+ message: string;
2964
+ /**
2965
+ * - Polling request timeout
2966
+ */
2967
+ polling_timeout?: number;
2968
+ /**
2969
+ * - HTTP status code
2970
+ */
2971
+ status_code: number;
2972
+ /**
2973
+ * - Successful or failure
2974
+ */
2975
+ success: boolean;
2976
+ };
2977
+ /** @returns {RevokeOAuthToken} */
2978
+ declare function RevokeOAuthToken(): RevokeOAuthToken;
2979
+ type RevokeOAuthToken = {
2980
+ /**
2981
+ * - The confirmation message of the token revoke.
2982
+ */
2983
+ message: string;
2984
+ /**
2985
+ * - Response is successful or not
2986
+ */
2987
+ success: boolean;
2988
+ };
2989
+ /** @returns {RootPaymentMode} */
2990
+ declare function RootPaymentMode(): RootPaymentMode;
2991
+ type RootPaymentMode = {
2992
+ /**
2993
+ * - Annonymous card flag
2994
+ */
2995
+ add_card_enabled?: boolean;
2996
+ /**
2997
+ * - Dispaly Priority
2998
+ */
2999
+ aggregator_name?: string;
3000
+ /**
3001
+ * - Annonymous card flag
3002
+ */
3003
+ anonymous_enable?: boolean;
3004
+ /**
3005
+ * - Payment mode display name
3006
+ */
3007
+ display_name: string;
3008
+ /**
3009
+ * - Dispaly Priority
3010
+ */
3011
+ display_priority: number;
3012
+ /**
3013
+ * - This flag will be true in case of
3014
+ * Payment link payment through card
3015
+ */
3016
+ is_pay_by_card_pl?: boolean;
3017
+ /**
3018
+ * - Payment mode
3019
+ */
3020
+ list?: PaymentModeList[];
3021
+ /**
3022
+ * - Payment mode name
3023
+ */
3024
+ name: string;
3025
+ /**
3026
+ * - Card save or not
3027
+ */
3028
+ save_card?: boolean;
3029
+ };
3030
+ /** @returns {SaveSubscriptionSetupIntentRequest} */
3031
+ declare function SaveSubscriptionSetupIntentRequest(): SaveSubscriptionSetupIntentRequest;
3032
+ type SaveSubscriptionSetupIntentRequest = {
3033
+ /**
3034
+ * - Unique id i.e company:id
3035
+ */
3036
+ unique_external_id: string;
3037
+ };
3038
+ /** @returns {SaveSubscriptionSetupIntentResponse} */
3039
+ declare function SaveSubscriptionSetupIntentResponse(): SaveSubscriptionSetupIntentResponse;
3040
+ type SaveSubscriptionSetupIntentResponse = {
3041
+ /**
3042
+ * - Subscription Payment Method Object
3043
+ */
3044
+ data: any;
3045
+ /**
3046
+ * - Response is successful or not
3047
+ */
3048
+ success: boolean;
3049
+ };
3050
+ /** @returns {SetCODForUserRequest} */
3051
+ declare function SetCODForUserRequest(): SetCODForUserRequest;
3052
+ type SetCODForUserRequest = {
3053
+ /**
3054
+ * - Either true or false
3055
+ */
3056
+ is_active: boolean;
3057
+ /**
3058
+ * - Merchant User id
3059
+ */
3060
+ merchant_user_id: string;
3061
+ /**
3062
+ * - Mobile No. of User
3063
+ */
3064
+ mobileno: string;
3065
+ };
3066
+ /** @returns {SetCODOptionResponse} */
3067
+ declare function SetCODOptionResponse(): SetCODOptionResponse;
3068
+ type SetCODOptionResponse = {
3069
+ /**
3070
+ * - Message
3071
+ */
3072
+ message: string;
3073
+ /**
3074
+ * - Response is successful or not
3075
+ */
3076
+ success: boolean;
3077
+ };
3078
+ /** @returns {StatisticsData} */
3079
+ declare function StatisticsData(): StatisticsData;
3080
+ type StatisticsData = {
3081
+ /**
3082
+ * - No of active devices
3083
+ */
3084
+ active_device_count: number;
3085
+ /**
3086
+ * - No of inactive devices
3087
+ */
3088
+ inactive_device_count: number;
3089
+ };
3090
+ /** @returns {SubscriptionConfigResponse} */
3091
+ declare function SubscriptionConfigResponse(): SubscriptionConfigResponse;
3092
+ type SubscriptionConfigResponse = {
3093
+ /**
3094
+ * - Aggregator Name
3095
+ */
3096
+ aggregator: string;
3097
+ /**
3098
+ * - Aggregator Config
3099
+ */
3100
+ config: any;
3101
+ /**
3102
+ * - Response is successful or not
3103
+ */
3104
+ success: boolean;
3105
+ };
3106
+ /** @returns {SubscriptionPaymentMethodResponse} */
3107
+ declare function SubscriptionPaymentMethodResponse(): SubscriptionPaymentMethodResponse;
3108
+ type SubscriptionPaymentMethodResponse = {
3109
+ /**
3110
+ * - Subscription Payment Method Object
3111
+ */
3112
+ data: any[];
3113
+ /**
3114
+ * - Response is successful or not
3115
+ */
3116
+ success: boolean;
3117
+ };
3118
+ /** @returns {UpdatePayoutRequest} */
3119
+ declare function UpdatePayoutRequest(): UpdatePayoutRequest;
3120
+ type UpdatePayoutRequest = {
3121
+ /**
3122
+ * - Enable/Disable Flag Payout
3123
+ */
3124
+ is_active: boolean;
3125
+ /**
3126
+ * - Enable/Disable Default Payout
3127
+ */
3128
+ is_default: boolean;
3129
+ /**
3130
+ * - Unique Id of Payout
3131
+ */
3132
+ unique_external_id: string;
3133
+ };
3134
+ /** @returns {UpdatePayoutResponse} */
3135
+ declare function UpdatePayoutResponse(): UpdatePayoutResponse;
3136
+ type UpdatePayoutResponse = {
3137
+ /**
3138
+ * - Enable/DIsable Flag Payout
3139
+ */
3140
+ is_active: boolean;
3141
+ /**
3142
+ * - Enable/Disable Default Payout
3143
+ */
3144
+ is_default: boolean;
3145
+ /**
3146
+ * - Response is successful or not
3147
+ */
3148
+ success: boolean;
3149
+ };
3150
+ /** @returns {ValidateCustomerRequest} */
3151
+ declare function ValidateCustomerRequest(): ValidateCustomerRequest;
3152
+ type ValidateCustomerRequest = {
3153
+ /**
3154
+ * - Payment gateway name in camel case i.e Simpl, Rupifi
3155
+ */
3156
+ aggregator: string;
3157
+ /**
3158
+ * - Extra meta fields.
3159
+ */
3160
+ billing_address?: any;
3161
+ /**
3162
+ * - Extra meta fields.
3163
+ */
3164
+ delivery_address?: any;
3165
+ /**
3166
+ * - Extra meta fields.
3167
+ */
3168
+ merchant_params?: any;
3169
+ /**
3170
+ * - Extra meta fields.
3171
+ */
3172
+ order_items?: any[];
3173
+ /**
3174
+ * - Hashed payload string.
3175
+ */
3176
+ payload?: string;
3177
+ /**
3178
+ * - User mobile number without country code.
3179
+ */
3180
+ phone_number: string;
3181
+ /**
3182
+ * - Payable amount in paise
3183
+ */
3184
+ transaction_amount_in_paise: number;
3185
+ };
3186
+ /** @returns {ValidateCustomerResponse} */
3187
+ declare function ValidateCustomerResponse(): ValidateCustomerResponse;
3188
+ type ValidateCustomerResponse = {
3189
+ /**
3190
+ * - Payment gateway response data
3191
+ */
3192
+ data: any;
3193
+ /**
3194
+ * - Error or success message.
3195
+ */
3196
+ message: string;
3197
+ /**
3198
+ * - Response is successful or not
3199
+ */
3200
+ success: boolean;
3201
+ };