@gofynd/fdk-client-javascript 1.4.15-beta.2 → 1.4.15-beta.3

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 (314) hide show
  1. package/README.md +2 -2
  2. package/application.d.ts +1 -2
  3. package/application.js +2 -3
  4. package/index.d.ts +1 -2
  5. package/index.js +7 -1
  6. package/package.json +2 -3
  7. package/sdk/application/ApplicationClient.d.ts +2 -0
  8. package/sdk/application/ApplicationClient.js +2 -18
  9. package/sdk/application/Cart/CartApplicationClient.d.ts +75 -90
  10. package/sdk/application/Cart/CartApplicationClient.js +111 -1200
  11. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +81 -142
  12. package/sdk/application/Catalog/CatalogApplicationClient.js +41 -1344
  13. package/sdk/application/Common/CommonApplicationClient.d.ts +4 -8
  14. package/sdk/application/Common/CommonApplicationClient.js +2 -92
  15. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +6 -19
  16. package/sdk/application/Communication/CommunicationApplicationClient.js +3 -148
  17. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +32 -73
  18. package/sdk/application/Configuration/ConfigurationApplicationClient.js +16 -727
  19. package/sdk/application/Content/ContentApplicationClient.d.ts +52 -95
  20. package/sdk/application/Content/ContentApplicationClient.js +46 -990
  21. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +8 -13
  22. package/sdk/application/FileStorage/FileStorageApplicationClient.js +8 -138
  23. package/sdk/application/Finance/FinanceApplicationClient.d.ts +29 -0
  24. package/sdk/application/Finance/FinanceApplicationClient.js +105 -0
  25. package/sdk/application/Lead/LeadApplicationClient.d.ts +10 -18
  26. package/sdk/application/Lead/LeadApplicationClient.js +5 -217
  27. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +42 -39
  28. package/sdk/application/Logistic/LogisticApplicationClient.js +89 -493
  29. package/sdk/application/Order/OrderApplicationClient.d.ts +36 -46
  30. package/sdk/application/Order/OrderApplicationClient.js +52 -507
  31. package/sdk/application/Payment/PaymentApplicationClient.d.ts +93 -213
  32. package/sdk/application/Payment/PaymentApplicationClient.js +49 -2109
  33. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +15 -29
  34. package/sdk/application/Rewards/RewardsApplicationClient.js +8 -312
  35. package/sdk/application/Share/ShareApplicationClient.d.ts +14 -24
  36. package/sdk/application/Share/ShareApplicationClient.js +7 -309
  37. package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -14
  38. package/sdk/application/Theme/ThemeApplicationClient.js +8 -176
  39. package/sdk/application/User/UserApplicationClient.d.ts +87 -138
  40. package/sdk/application/User/UserApplicationClient.js +44 -1820
  41. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -7
  42. package/sdk/application/Webhook/WebhookApplicationClient.js +3 -52
  43. package/sdk/application/index.d.ts +0 -18
  44. package/sdk/application/index.js +0 -33
  45. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +86 -12
  46. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +582 -24
  47. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +116 -19
  48. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +121 -14
  49. package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +8 -1
  50. package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +51 -4
  51. package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
  52. package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
  53. package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
  54. package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
  55. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +126 -20
  56. package/sdk/partner/Logistics/LogisticsPartnerClient.js +970 -20
  57. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +1200 -167
  58. package/sdk/partner/Logistics/LogisticsPartnerModel.js +571 -160
  59. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +10 -0
  60. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +121 -7
  61. package/sdk/partner/Theme/ThemePartnerClient.d.ts +8 -10
  62. package/sdk/partner/Theme/ThemePartnerClient.js +14 -16
  63. package/sdk/partner/Theme/ThemePartnerModel.d.ts +96 -37
  64. package/sdk/partner/Theme/ThemePartnerModel.js +90 -36
  65. package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
  66. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +28 -18
  67. package/sdk/partner/Webhook/WebhookPartnerClient.js +103 -18
  68. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +612 -179
  69. package/sdk/partner/Webhook/WebhookPartnerModel.js +253 -150
  70. package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +1 -0
  71. package/sdk/partner/Webhook/WebhookPartnerValidator.js +11 -3
  72. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +5 -4
  73. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +14 -8
  74. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +59 -9
  75. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +40 -4
  76. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +2 -32
  77. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +3 -243
  78. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +11 -130
  79. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +12 -152
  80. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -39
  81. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +0 -35
  82. package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
  83. package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
  84. package/sdk/platform/Billing/BillingPlatformModel.d.ts +443 -388
  85. package/sdk/platform/Billing/BillingPlatformModel.js +280 -263
  86. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +16 -18
  87. package/sdk/platform/Billing/BillingPlatformValidator.js +8 -9
  88. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +134 -103
  89. package/sdk/platform/Cart/CartPlatformApplicationClient.js +419 -115
  90. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +118 -65
  91. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +109 -44
  92. package/sdk/platform/Cart/CartPlatformModel.d.ts +5046 -1300
  93. package/sdk/platform/Cart/CartPlatformModel.js +1979 -1217
  94. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +209 -183
  95. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +452 -395
  96. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +185 -142
  97. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +96 -78
  98. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +154 -117
  99. package/sdk/platform/Catalog/CatalogPlatformClient.js +292 -172
  100. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +6506 -1775
  101. package/sdk/platform/Catalog/CatalogPlatformModel.js +3224 -1690
  102. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +72 -31
  103. package/sdk/platform/Catalog/CatalogPlatformValidator.js +50 -24
  104. package/sdk/platform/Common/CommonPlatformClient.d.ts +3 -2
  105. package/sdk/platform/Common/CommonPlatformClient.js +3 -2
  106. package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
  107. package/sdk/platform/Common/CommonPlatformModel.js +6 -6
  108. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +16 -17
  109. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +16 -17
  110. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
  111. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
  112. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +43 -33
  113. package/sdk/platform/Communication/CommunicationPlatformModel.js +38 -34
  114. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +46 -42
  115. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +47 -43
  116. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
  117. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +210 -212
  118. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
  119. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
  120. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +46 -33
  121. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +67 -54
  122. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
  123. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
  124. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +45 -24
  125. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +134 -30
  126. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +283 -124
  127. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +219 -94
  128. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +37 -9
  129. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +27 -8
  130. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +124 -141
  131. package/sdk/platform/Content/ContentPlatformApplicationClient.js +449 -422
  132. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +179 -141
  133. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +168 -130
  134. package/sdk/platform/Content/ContentPlatformClient.d.ts +142 -106
  135. package/sdk/platform/Content/ContentPlatformClient.js +523 -336
  136. package/sdk/platform/Content/ContentPlatformModel.d.ts +1241 -395
  137. package/sdk/platform/Content/ContentPlatformModel.js +521 -390
  138. package/sdk/platform/Content/ContentPlatformValidator.d.ts +168 -117
  139. package/sdk/platform/Content/ContentPlatformValidator.js +162 -108
  140. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +14 -12
  141. package/sdk/platform/Discount/DiscountPlatformClient.js +14 -12
  142. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
  143. package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
  144. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
  145. package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
  146. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +94 -36
  147. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +462 -60
  148. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +62 -15
  149. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +75 -13
  150. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +19 -19
  151. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +21 -21
  152. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +370 -101
  153. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +313 -84
  154. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
  155. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
  156. package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
  157. package/sdk/platform/Lead/LeadPlatformClient.js +2 -2
  158. package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -5
  159. package/sdk/platform/Lead/LeadPlatformModel.js +16 -16
  160. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +17 -6
  161. package/sdk/platform/Order/OrderPlatformApplicationClient.js +85 -7
  162. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +95 -24
  163. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +39 -19
  164. package/sdk/platform/Order/OrderPlatformClient.d.ts +153 -96
  165. package/sdk/platform/Order/OrderPlatformClient.js +416 -198
  166. package/sdk/platform/Order/OrderPlatformModel.d.ts +7602 -1269
  167. package/sdk/platform/Order/OrderPlatformModel.js +3926 -1269
  168. package/sdk/platform/Order/OrderPlatformValidator.d.ts +270 -109
  169. package/sdk/platform/Order/OrderPlatformValidator.js +135 -77
  170. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -4
  171. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +9 -7
  172. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
  173. package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
  174. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +93 -105
  175. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +129 -141
  176. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +48 -48
  177. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +48 -48
  178. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
  179. package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
  180. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +333 -319
  181. package/sdk/platform/Payment/PaymentPlatformModel.js +288 -278
  182. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
  183. package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
  184. package/sdk/platform/PlatformClient.d.ts +0 -2
  185. package/sdk/platform/PlatformClient.js +0 -4
  186. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
  187. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
  188. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
  189. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
  190. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +9 -9
  191. package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
  192. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +46 -36
  193. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +132 -41
  194. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +46 -17
  195. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +34 -14
  196. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +40 -46
  197. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +58 -64
  198. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +1842 -609
  199. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +886 -554
  200. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +42 -46
  201. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +26 -28
  202. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
  203. package/sdk/platform/Share/SharePlatformApplicationClient.js +2 -2
  204. package/sdk/platform/Share/SharePlatformModel.d.ts +36 -5
  205. package/sdk/platform/Share/SharePlatformModel.js +27 -4
  206. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
  207. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +8 -4
  208. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +5 -0
  209. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +2 -0
  210. package/sdk/platform/Theme/ThemePlatformModel.d.ts +37 -11
  211. package/sdk/platform/Theme/ThemePlatformModel.js +33 -15
  212. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
  213. package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
  214. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
  215. package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
  216. package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
  217. package/sdk/platform/User/UserPlatformModel.js +23 -23
  218. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +25 -78
  219. package/sdk/platform/Webhook/WebhookPlatformClient.js +75 -470
  220. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +720 -427
  221. package/sdk/platform/Webhook/WebhookPlatformModel.js +410 -386
  222. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
  223. package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
  224. package/sdk/platform/index.d.ts +0 -1
  225. package/sdk/platform/index.js +0 -2
  226. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +3 -2
  227. package/sdk/public/Configuration/ConfigurationPublicClient.js +10 -7
  228. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
  229. package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
  230. package/sdk/public/Content/ContentPublicClient.d.ts +112 -2
  231. package/sdk/public/Content/ContentPublicClient.js +795 -7
  232. package/sdk/public/Content/ContentPublicModel.d.ts +549 -3
  233. package/sdk/public/Content/ContentPublicModel.js +649 -3
  234. package/sdk/public/Content/ContentPublicValidator.d.ts +69 -3
  235. package/sdk/public/Content/ContentPublicValidator.js +88 -2
  236. package/sdk/public/Partner/PartnerPublicClient.js +4 -2
  237. package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
  238. package/sdk/public/Webhook/WebhookPublicClient.js +12 -10
  239. package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
  240. package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
  241. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
  242. package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
  243. package/sdk/application/Cart/CartApplicationModel.d.ts +0 -3994
  244. package/sdk/application/Cart/CartApplicationModel.js +0 -2497
  245. package/sdk/application/Cart/CartApplicationValidator.d.ts +0 -769
  246. package/sdk/application/Cart/CartApplicationValidator.js +0 -530
  247. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +0 -3857
  248. package/sdk/application/Catalog/CatalogApplicationModel.js +0 -2629
  249. package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +0 -791
  250. package/sdk/application/Catalog/CatalogApplicationValidator.js +0 -551
  251. package/sdk/application/Common/CommonApplicationModel.d.ts +0 -449
  252. package/sdk/application/Common/CommonApplicationModel.js +0 -308
  253. package/sdk/application/Common/CommonApplicationValidator.d.ts +0 -46
  254. package/sdk/application/Common/CommonApplicationValidator.js +0 -38
  255. package/sdk/application/Communication/CommunicationApplicationModel.d.ts +0 -293
  256. package/sdk/application/Communication/CommunicationApplicationModel.js +0 -201
  257. package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +0 -29
  258. package/sdk/application/Communication/CommunicationApplicationValidator.js +0 -38
  259. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +0 -2556
  260. package/sdk/application/Configuration/ConfigurationApplicationModel.js +0 -1887
  261. package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +0 -179
  262. package/sdk/application/Configuration/ConfigurationApplicationValidator.js +0 -176
  263. package/sdk/application/Content/ContentApplicationModel.d.ts +0 -2133
  264. package/sdk/application/Content/ContentApplicationModel.js +0 -1589
  265. package/sdk/application/Content/ContentApplicationValidator.d.ts +0 -284
  266. package/sdk/application/Content/ContentApplicationValidator.js +0 -264
  267. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +0 -272
  268. package/sdk/application/FileStorage/FileStorageApplicationModel.js +0 -190
  269. package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +0 -56
  270. package/sdk/application/FileStorage/FileStorageApplicationValidator.js +0 -53
  271. package/sdk/application/Lead/LeadApplicationModel.d.ts +0 -590
  272. package/sdk/application/Lead/LeadApplicationModel.js +0 -480
  273. package/sdk/application/Lead/LeadApplicationValidator.d.ts +0 -68
  274. package/sdk/application/Lead/LeadApplicationValidator.js +0 -71
  275. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +0 -1675
  276. package/sdk/application/Logistic/LogisticApplicationModel.js +0 -1121
  277. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +0 -254
  278. package/sdk/application/Logistic/LogisticApplicationValidator.js +0 -190
  279. package/sdk/application/Order/OrderApplicationModel.d.ts +0 -2296
  280. package/sdk/application/Order/OrderApplicationModel.js +0 -1471
  281. package/sdk/application/Order/OrderApplicationValidator.d.ts +0 -265
  282. package/sdk/application/Order/OrderApplicationValidator.js +0 -197
  283. package/sdk/application/Payment/PaymentApplicationModel.d.ts +0 -4058
  284. package/sdk/application/Payment/PaymentApplicationModel.js +0 -2630
  285. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +0 -576
  286. package/sdk/application/Payment/PaymentApplicationValidator.js +0 -594
  287. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +0 -365
  288. package/sdk/application/Rewards/RewardsApplicationModel.js +0 -396
  289. package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +0 -73
  290. package/sdk/application/Rewards/RewardsApplicationValidator.js +0 -84
  291. package/sdk/application/Share/ShareApplicationModel.d.ts +0 -339
  292. package/sdk/application/Share/ShareApplicationModel.js +0 -234
  293. package/sdk/application/Share/ShareApplicationValidator.d.ts +0 -90
  294. package/sdk/application/Share/ShareApplicationValidator.js +0 -91
  295. package/sdk/application/Theme/ThemeApplicationModel.d.ts +0 -1713
  296. package/sdk/application/Theme/ThemeApplicationModel.js +0 -1426
  297. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +0 -66
  298. package/sdk/application/Theme/ThemeApplicationValidator.js +0 -58
  299. package/sdk/application/User/UserApplicationModel.d.ts +0 -1943
  300. package/sdk/application/User/UserApplicationModel.js +0 -1382
  301. package/sdk/application/User/UserApplicationValidator.d.ts +0 -560
  302. package/sdk/application/User/UserApplicationValidator.js +0 -573
  303. package/sdk/application/Webhook/WebhookApplicationModel.d.ts +0 -52
  304. package/sdk/application/Webhook/WebhookApplicationModel.js +0 -46
  305. package/sdk/application/Webhook/WebhookApplicationValidator.d.ts +0 -16
  306. package/sdk/application/Webhook/WebhookApplicationValidator.js +0 -19
  307. package/sdk/common/Clickstream.d.ts +0 -1
  308. package/sdk/common/Clickstream.js +0 -464
  309. package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -320
  310. package/sdk/platform/Finance/FinancePlatformClient.js +0 -2333
  311. package/sdk/platform/Finance/FinancePlatformModel.d.ts +0 -2890
  312. package/sdk/platform/Finance/FinancePlatformModel.js +0 -2148
  313. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
  314. package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
@@ -1,6 +1,6 @@
1
1
  export = PaymentPlatformModel;
2
2
  /**
3
- * @typedef PaymentGatewayConfigResponse
3
+ * @typedef PaymentGatewayConfigDetails
4
4
  * @property {Object[]} [aggregators] - List of all config specific to the
5
5
  * aggregator with their Details.
6
6
  * @property {string} app_id - Application Id to which Payment config Mapped
@@ -25,7 +25,7 @@ export = PaymentPlatformModel;
25
25
  * payment aggregator for the merchant.
26
26
  */
27
27
  /**
28
- * @typedef PaymentGatewayConfigRequest
28
+ * @typedef PaymentGatewayConfigCreation
29
29
  * @property {string} app_id - Application Id to which Payment config Mapped
30
30
  * @property {boolean} [is_active] - Enable or Disable Flag
31
31
  * @property {PaymentGatewayConfig} [aggregator_name]
@@ -41,7 +41,7 @@ export = PaymentPlatformModel;
41
41
  * @property {string} code - Error descrption code.
42
42
  */
43
43
  /**
44
- * @typedef HttpErrorCodeAndResponse
44
+ * @typedef HttpErrorDetails
45
45
  * @property {ErrorCodeAndDescription} error
46
46
  * @property {boolean} success - Response is successful or not
47
47
  */
@@ -53,10 +53,10 @@ export = PaymentPlatformModel;
53
53
  /**
54
54
  * @typedef ProductCODData
55
55
  * @property {Object} [items] - Item id with its cod availability.
56
- * @property {CODChargesLimitsResponse} [cod_charges]
56
+ * @property {CODChargesLimitsDetails} [cod_charges]
57
57
  */
58
58
  /**
59
- * @typedef CODChargesLimitsResponse
59
+ * @typedef CODChargesLimitsDetails
60
60
  * @property {number} [max_cart_value] - Max allowed cart value for cod order.
61
61
  * @property {number} [min_cart_value] - Min allowed cart value for cod order.
62
62
  * @property {number} [cod_charge] - Cod charges to be applied on order.
@@ -198,14 +198,14 @@ export = PaymentPlatformModel;
198
198
  * @property {AdvanceObject} [advance]
199
199
  */
200
200
  /**
201
- * @typedef PaymentModeRouteResponse
201
+ * @typedef PaymentModeRouteDetails
202
202
  * @property {PaymentOptionAndFlow} payment_options
203
203
  * @property {boolean} success - Response is successful or not
204
204
  * @property {Object} [payment_breakup] - Payment Breakup for advance payment
205
205
  * @property {AdvancePaymentObject[]} [advance_payment] - Advance Payment Array
206
206
  */
207
207
  /**
208
- * @typedef PaymentOptionsResponse
208
+ * @typedef PaymentOptionsDetails
209
209
  * @property {PaymentOptions} payment_options
210
210
  * @property {boolean} success - Response is successful or not
211
211
  * @property {Object} [payment_breakup] - Payment Breakup for advance payment
@@ -247,7 +247,7 @@ export = PaymentPlatformModel;
247
247
  * @property {string} transfer_type - Transafer type
248
248
  */
249
249
  /**
250
- * @typedef PayoutsResponse
250
+ * @typedef PayoutsDetails
251
251
  * @property {boolean} success - Response is successful or not
252
252
  * @property {Payout[]} items - Contains list of PayoutSchema
253
253
  */
@@ -265,7 +265,7 @@ export = PaymentPlatformModel;
265
265
  * @property {number} [pincode]
266
266
  */
267
267
  /**
268
- * @typedef PayoutRequest
268
+ * @typedef PayoutCreation
269
269
  * @property {string} aggregator - Aggregator Name
270
270
  * @property {Object} users - Payout users object
271
271
  * @property {string} unique_external_id - Unique Id of Payout
@@ -274,7 +274,7 @@ export = PaymentPlatformModel;
274
274
  * @property {string} transfer_type - Transafer type
275
275
  */
276
276
  /**
277
- * @typedef PayoutResponse
277
+ * @typedef PayoutDetails
278
278
  * @property {string} payment_status - Status of payment
279
279
  * @property {Object} users - Users details object
280
280
  * @property {string} aggregator - Aggregator Name
@@ -287,47 +287,47 @@ export = PaymentPlatformModel;
287
287
  * @property {Object} payouts - Payout object
288
288
  */
289
289
  /**
290
- * @typedef UpdatePayoutResponse
290
+ * @typedef UpdatePayoutDetails
291
291
  * @property {boolean} is_default - Enable or Disable Default Payout
292
292
  * @property {boolean} is_active - Enable or DIsable Flag Payout
293
293
  * @property {boolean} success - Response is successful or not
294
294
  */
295
295
  /**
296
- * @typedef UpdatePayoutRequest
296
+ * @typedef UpdatePayoutCreation
297
297
  * @property {boolean} is_default - Enable or Disable Default Payout
298
298
  * @property {boolean} is_active - Enable or Disable Flag Payout
299
299
  * @property {string} unique_external_id - Unique Id of Payout
300
300
  */
301
301
  /**
302
- * @typedef DeletePayoutResponse
302
+ * @typedef DeletePayoutDetails
303
303
  * @property {boolean} success - Response is successful or not
304
304
  */
305
305
  /**
306
- * @typedef SubscriptionPaymentMethodResponse
306
+ * @typedef SubscriptionPaymentMethodDetails
307
307
  * @property {Object[]} data - Subscription Payment Method Object
308
308
  * @property {boolean} success - Response is successful or not
309
309
  */
310
310
  /**
311
- * @typedef DeleteSubscriptionPaymentMethodResponse
311
+ * @typedef DeleteSubscriptionPaymentMethodDetails
312
312
  * @property {boolean} success - Success or failure.
313
313
  */
314
314
  /**
315
- * @typedef SubscriptionConfigResponse
315
+ * @typedef SubscriptionConfigDetails
316
316
  * @property {string} aggregator - Aggregator Name
317
317
  * @property {Object} config - Aggregator Config
318
318
  * @property {boolean} success - Response is successful or not
319
319
  */
320
320
  /**
321
- * @typedef SaveSubscriptionSetupIntentRequest
321
+ * @typedef SaveSubscriptionSetupIntentCreation
322
322
  * @property {string} unique_external_id - Unique id i.e company:id
323
323
  */
324
324
  /**
325
- * @typedef SaveSubscriptionSetupIntentResponse
325
+ * @typedef SaveSubscriptionSetupIntentDetails
326
326
  * @property {Object} data - Subscription Payment Method Object
327
327
  * @property {boolean} success - Response is successful or not
328
328
  */
329
329
  /**
330
- * @typedef RefundAccountResponse
330
+ * @typedef RefundAccountDetails
331
331
  * @property {boolean} [is_verified_flag] - Account is verified or not
332
332
  * @property {string} [message] - Response message
333
333
  * @property {Object} data - Refund account data.
@@ -348,12 +348,12 @@ export = PaymentPlatformModel;
348
348
  * @property {string} account_holder - Accountg holder name of account
349
349
  */
350
350
  /**
351
- * @typedef AddBeneficiaryDetailsOTPRequest
351
+ * @typedef AddBeneficiaryDetailsOTPCreation
352
352
  * @property {string} order_id - Order_id for which account will be added
353
353
  * @property {BankDetailsForOTP} details
354
354
  */
355
355
  /**
356
- * @typedef IfscCodeResponse
356
+ * @typedef IfscCodeDetails
357
357
  * @property {string} branch_name - Branch Name Of Account
358
358
  * @property {boolean} [success] - Response is successful or not
359
359
  * @property {string} bank_name - Bank Name Of Account
@@ -381,7 +381,7 @@ export = PaymentPlatformModel;
381
381
  * @property {string} [mobile] - MObile no of User
382
382
  */
383
383
  /**
384
- * @typedef OrderBeneficiaryResponse
384
+ * @typedef OrderBeneficiaryFetchResults
385
385
  * @property {OrderBeneficiaryDetails[]} [beneficiaries] - All Beneficiaries Of An Order
386
386
  * @property {boolean} [show_beneficiary_details] - Show beneficiary details or not.
387
387
  */
@@ -407,12 +407,12 @@ export = PaymentPlatformModel;
407
407
  * @property {string} mode - Payment mode short code
408
408
  */
409
409
  /**
410
- * @typedef PaymentConfirmationRequest
410
+ * @typedef PaymentConfirmationCreation
411
411
  * @property {string} order_id - Unique order id
412
412
  * @property {MultiTenderPaymentMethod[]} payment_methods
413
413
  */
414
414
  /**
415
- * @typedef PaymentConfirmationResponse
415
+ * @typedef PaymentConfirmationDetails
416
416
  * @property {string} order_id - Unique order id
417
417
  * @property {string} message - Message
418
418
  * @property {boolean} success - Payment confirmation updated or not.
@@ -440,26 +440,26 @@ export = PaymentPlatformModel;
440
440
  * @property {CODLimitConfig} limit
441
441
  */
442
442
  /**
443
- * @typedef GetUserBULimitResponse
443
+ * @typedef GetUserBULimitResponseSchema
444
444
  * @property {string} business_unit - COD limit business unit
445
445
  * @property {string} display_name - Display name for cod limit
446
446
  * @property {CODPaymentLimitConfig} config
447
447
  */
448
448
  /**
449
- * @typedef GetUserCODLimitResponse
450
- * @property {GetUserBULimitResponse[]} items
449
+ * @typedef GetUserCODLimitDetails
450
+ * @property {GetUserBULimitResponseSchema[]} items
451
451
  * @property {boolean} success - Response is successful or not
452
452
  * @property {string} [message] - Message for cod limit
453
453
  */
454
454
  /**
455
- * @typedef SetCODForUserRequest
455
+ * @typedef SetCODForUserCreation
456
456
  * @property {string} [business_unit] - Business unit
457
457
  * @property {string} mobileno - Mobile No. of User
458
458
  * @property {boolean} is_active - Either true or false
459
459
  * @property {string} merchant_user_id - Merchant User id
460
460
  */
461
461
  /**
462
- * @typedef SetCODOptionResponse
462
+ * @typedef SetCODOptionDetails
463
463
  * @property {string} message - Message
464
464
  * @property {boolean} success - Response is successful or not
465
465
  */
@@ -470,7 +470,7 @@ export = PaymentPlatformModel;
470
470
  * @property {string[]} models - List of string of edc models
471
471
  */
472
472
  /**
473
- * @typedef EdcAggregatorAndModelListResponse
473
+ * @typedef EdcAggregatorAndModelListDetails
474
474
  * @property {EdcModelData[]} data - List of aggregators and their edc models
475
475
  * @property {boolean} success - Response is successful or not
476
476
  */
@@ -480,12 +480,12 @@ export = PaymentPlatformModel;
480
480
  * @property {number} active_device_count - No of active devices
481
481
  */
482
482
  /**
483
- * @typedef EdcDeviceStatsResponse
483
+ * @typedef EdcDeviceStatsDetails
484
484
  * @property {StatisticsData} statistics
485
485
  * @property {boolean} success - Response is successful or not
486
486
  */
487
487
  /**
488
- * @typedef EdcAddRequest
488
+ * @typedef EdcAddCreation
489
489
  * @property {string} edc_model - Model of the edc machine
490
490
  * @property {number} store_id - Store at which devices is to used
491
491
  * @property {number} aggregator_id - Aggregator which will accept payment
@@ -510,17 +510,17 @@ export = PaymentPlatformModel;
510
510
  * @property {string} application_id - Application ID
511
511
  */
512
512
  /**
513
- * @typedef EdcDeviceAddResponse
513
+ * @typedef EdcDeviceAddDetails
514
514
  * @property {EdcDevice} data
515
515
  * @property {boolean} success - Response is successful or not
516
516
  */
517
517
  /**
518
- * @typedef EdcDeviceDetailsResponse
518
+ * @typedef EdcDeviceDetails
519
519
  * @property {EdcDevice} data
520
520
  * @property {boolean} success - Response is successful or not
521
521
  */
522
522
  /**
523
- * @typedef EdcUpdateRequest
523
+ * @typedef EdcUpdate
524
524
  * @property {string} [edc_model] - Model of the edc machine
525
525
  * @property {number} [store_id] - Store at which devices is to used
526
526
  * @property {number} [aggregator_id] - Aggregator which will accept payment
@@ -530,7 +530,7 @@ export = PaymentPlatformModel;
530
530
  * @property {string} [device_tag] - Device tag of edc device to identify it
531
531
  */
532
532
  /**
533
- * @typedef EdcDeviceUpdateResponse
533
+ * @typedef EdcDeviceUpdateDetails
534
534
  * @property {boolean} success - Response is successful or not
535
535
  */
536
536
  /**
@@ -544,14 +544,14 @@ export = PaymentPlatformModel;
544
544
  * @property {number} [size] - The number of items per page.
545
545
  */
546
546
  /**
547
- * @typedef EdcDeviceListResponse
547
+ * @typedef EdcDeviceListDetails
548
548
  * @property {EdcDevice[]} items - List of all edc mapped to the application
549
549
  * options with their Details.
550
550
  * @property {Page} page
551
551
  * @property {boolean} success - Response is successful or not
552
552
  */
553
553
  /**
554
- * @typedef PaymentInitializationRequest
554
+ * @typedef PaymentInitializationCreation
555
555
  * @property {string} [razorpay_payment_id] - Payment gateway payment id
556
556
  * @property {string} [device_id] - EDC machine Unique Identifier
557
557
  * @property {string} email - Customer valid email
@@ -567,7 +567,7 @@ export = PaymentPlatformModel;
567
567
  * @property {string} method - Payment method
568
568
  */
569
569
  /**
570
- * @typedef PaymentInitializationResponse
570
+ * @typedef PaymentInitializationDetails
571
571
  * @property {string} [razorpay_payment_id] - Payment id.
572
572
  * @property {string} [device_id] - EDC machine Unique Identifier
573
573
  * @property {string} [upi_poll_url] - UPI poll url.
@@ -587,7 +587,7 @@ export = PaymentPlatformModel;
587
587
  * @property {string} method - Payment method
588
588
  */
589
589
  /**
590
- * @typedef PaymentStatusUpdateRequest
590
+ * @typedef PaymentStatusUpdateCreation
591
591
  * @property {string} [device_id] - EDC machine Unique Identifier
592
592
  * @property {string} email - Customer valid email
593
593
  * @property {string} customer_id - Payment gateway customer id.
@@ -603,7 +603,7 @@ export = PaymentPlatformModel;
603
603
  * @property {string} merchant_transaction_id - Unique fynd transaction id
604
604
  */
605
605
  /**
606
- * @typedef PaymentStatusUpdateResponse
606
+ * @typedef PaymentStatusUpdateDetails
607
607
  * @property {string} [redirect_url] - Redirect url
608
608
  * @property {boolean} retry - Response is successful or not.
609
609
  * @property {boolean} [success] - Response is successful or not
@@ -611,7 +611,7 @@ export = PaymentPlatformModel;
611
611
  * @property {string} aggregator_name - Payment gateway name
612
612
  */
613
613
  /**
614
- * @typedef ResendOrCancelPaymentRequest
614
+ * @typedef ResendOrCancelPaymentCreation
615
615
  * @property {string} order_id - Unique order id
616
616
  * @property {string} [device_id] - EDC machine Unique Identifier
617
617
  * @property {string} request_type - Either resend or cancel
@@ -624,16 +624,16 @@ export = PaymentPlatformModel;
624
624
  * status of payment link.
625
625
  */
626
626
  /**
627
- * @typedef ResendOrCancelPaymentResponse
627
+ * @typedef ResendOrCancelPaymentDetails
628
628
  * @property {LinkStatus} data
629
629
  * @property {boolean} success - Response is successful or not.
630
630
  */
631
631
  /**
632
- * @typedef PaymentStatusBulkHandlerRequest
632
+ * @typedef PaymentStatusBulkHandlerCreation
633
633
  * @property {string[]} merchant_order_id - List of order ids
634
634
  */
635
635
  /**
636
- * @typedef PaymentObjectListSerializer
636
+ * @typedef PaymentObjectList
637
637
  * @property {Object} user_object
638
638
  * @property {string} modified_on
639
639
  * @property {string} collected_by
@@ -656,10 +656,10 @@ export = PaymentPlatformModel;
656
656
  /**
657
657
  * @typedef PaymentStatusObject
658
658
  * @property {string} merchant_order_id
659
- * @property {PaymentObjectListSerializer[]} [payment_object_list]
659
+ * @property {PaymentObjectList[]} [payment_object_list]
660
660
  */
661
661
  /**
662
- * @typedef PaymentStatusBulkHandlerResponse
662
+ * @typedef PaymentStatusBulkHandlerDetails
663
663
  * @property {number} [count]
664
664
  * @property {PaymentStatusObject[]} [data]
665
665
  * @property {string} success
@@ -667,7 +667,7 @@ export = PaymentPlatformModel;
667
667
  * @property {number} status
668
668
  */
669
669
  /**
670
- * @typedef GetOauthUrlResponse
670
+ * @typedef GetOauthUrlDetails
671
671
  * @property {string} url - The url to call for authenticating
672
672
  * @property {boolean} success - Response is successful or not
673
673
  */
@@ -698,12 +698,12 @@ export = PaymentPlatformModel;
698
698
  * @property {RepaymentRequestDetails[]} [shipment_details]
699
699
  */
700
700
  /**
701
- * @typedef RepaymentResponse
701
+ * @typedef RepaymentDetails
702
702
  * @property {Object} data
703
703
  * @property {boolean} success - Success/Failure of the transaction
704
704
  */
705
705
  /**
706
- * @typedef MerchantOnBoardingRequest
706
+ * @typedef MerchantOnBoardingCreation
707
707
  * @property {string} credit_line_id - Merchant ID at Ajiodhan's end
708
708
  * @property {string} aggregator - Payment aggregator name
709
709
  * @property {string} app_id - Application id
@@ -711,12 +711,12 @@ export = PaymentPlatformModel;
711
711
  * @property {string} status - Status
712
712
  */
713
713
  /**
714
- * @typedef MerchantOnBoardingResponse
714
+ * @typedef MerchantOnBoardingDetails
715
715
  * @property {Object} data
716
716
  * @property {boolean} success - Success/Failure of the transaction
717
717
  */
718
718
  /**
719
- * @typedef ValidateCustomerRequest
719
+ * @typedef ValidateCustomerCreation
720
720
  * @property {string} phone_number - User mobile number without country code.
721
721
  * @property {string} aggregator - Payment gateway name in camel case i.e Simpl, Rupifi
722
722
  * @property {string} [payload] - Hashed payload string.
@@ -727,13 +727,13 @@ export = PaymentPlatformModel;
727
727
  * @property {Object} [billing_address] - Extra meta fields.
728
728
  */
729
729
  /**
730
- * @typedef ValidateCustomerResponse
730
+ * @typedef ValidateCustomerDetails
731
731
  * @property {string} message - Error or success message.
732
732
  * @property {Object} [data] - Payment gateway response data
733
733
  * @property {boolean} success - Response is successful or not
734
734
  */
735
735
  /**
736
- * @typedef GetPaymentLinkResponse
736
+ * @typedef GetPaymentLinkDetails
737
737
  * @property {string} message - Message
738
738
  * @property {number} status_code - HTTP status code
739
739
  * @property {number} [amount] - Total value of order
@@ -757,7 +757,7 @@ export = PaymentPlatformModel;
757
757
  * @property {boolean} [cancelled] - Payment link is cancelled or not
758
758
  */
759
759
  /**
760
- * @typedef ErrorResponse
760
+ * @typedef ErrorDetails
761
761
  * @property {number} status_code - HTTP status code
762
762
  * @property {ErrorDescription} [error]
763
763
  * @property {string} message - Message
@@ -772,7 +772,7 @@ export = PaymentPlatformModel;
772
772
  * to be done via payment link
773
773
  */
774
774
  /**
775
- * @typedef CreatePaymentLinkRequest
775
+ * @typedef CreatePaymentLinkCreation
776
776
  * @property {string} email - Email to which the payment link is to be sent
777
777
  * @property {number} amount - Total value of order
778
778
  * @property {string} mobile_number - Mobile number to which the payment link is
@@ -781,9 +781,13 @@ export = PaymentPlatformModel;
781
781
  * @property {string} [description] - Merchant order id
782
782
  * @property {CreatePaymentLinkMeta} meta
783
783
  * @property {string} external_order_id - Merchant order id
784
+ * @property {string} [success_redirection_url] - URL to which the user will be
785
+ * redirected after a successful payment.
786
+ * @property {string} [failure_redirection_url] - URL to which the user will be
787
+ * redirected if the payment fails.
784
788
  */
785
789
  /**
786
- * @typedef CreatePaymentLinkResponse
790
+ * @typedef CreatePaymentLinkDetails
787
791
  * @property {string} message - Message
788
792
  * @property {number} status_code - HTTP status code
789
793
  * @property {string} [payment_link_url] - Url of payment link
@@ -792,7 +796,7 @@ export = PaymentPlatformModel;
792
796
  * @property {string} [payment_link_id] - Unique id of payment link
793
797
  */
794
798
  /**
795
- * @typedef PollingPaymentLinkResponse
799
+ * @typedef PollingPaymentLinkDetails
796
800
  * @property {string} [message] - Message
797
801
  * @property {number} [http_status] - HTTP status code
798
802
  * @property {number} [status_code] - HTTP status code
@@ -805,18 +809,18 @@ export = PaymentPlatformModel;
805
809
  * @property {string} [aggregator_name] - Aggregator name
806
810
  */
807
811
  /**
808
- * @typedef CancelOrResendPaymentLinkRequest
812
+ * @typedef CancelOrResendPaymentLinkCreation
809
813
  * @property {string} payment_link_id - Unique id of payment link
810
814
  */
811
815
  /**
812
- * @typedef ResendPaymentLinkResponse
816
+ * @typedef ResendPaymentLinkDetails
813
817
  * @property {number} status_code - HTTP status code
814
818
  * @property {string} message - Message
815
819
  * @property {number} [polling_timeout] - Polling request timeout
816
820
  * @property {boolean} success - Successful or failure
817
821
  */
818
822
  /**
819
- * @typedef CancelPaymentLinkResponse
823
+ * @typedef CancelPaymentLinkDetails
820
824
  * @property {number} status_code - HTTP status code
821
825
  * @property {string} message - Message
822
826
  * @property {boolean} success - Successful or failure
@@ -839,18 +843,18 @@ export = PaymentPlatformModel;
839
843
  * @property {PaymentCode} method_code
840
844
  */
841
845
  /**
842
- * @typedef GetPaymentCodeResponse
846
+ * @typedef GetPaymentCodeDetails
843
847
  * @property {GetPaymentCode} data
844
848
  * @property {boolean} success - Response is successful or not.
845
849
  */
846
850
  /**
847
- * @typedef PlatformPaymentModeResponse
851
+ * @typedef PlatformPaymentModeDetails
848
852
  * @property {string} [message] - Message
849
853
  * @property {Object[]} [items] - List of all aggregator and payment mode details.
850
854
  * @property {boolean} success - Response is successful or not.
851
855
  */
852
856
  /**
853
- * @typedef MerchnatPaymentModeRequest
857
+ * @typedef MerchnatPaymentModeCreation
854
858
  * @property {Object} [offline] - Details to be updated for online payment configuration.
855
859
  * @property {Object} [online] - Details to be updated for offline payment configuration.
856
860
  */
@@ -927,7 +931,7 @@ export = PaymentPlatformModel;
927
931
  * @property {string} status - Status of the payment
928
932
  */
929
933
  /**
930
- * @typedef PaymentSessionRequestSerializer
934
+ * @typedef PaymentSessionCreation
931
935
  * @property {Object} [meta] - Extra meta data specific to extensions
932
936
  * @property {string} gid - Global identifier of the entity (e.g. order, cart
933
937
  * etc.) against which payment_session was initiated. This is generated by
@@ -942,7 +946,7 @@ export = PaymentPlatformModel;
942
946
  * @property {string} [source] - Source of payment update session
943
947
  */
944
948
  /**
945
- * @typedef PaymentSessionResponseSerializer
949
+ * @typedef PaymentSessionPutDetails
946
950
  * @property {string} gid - Global identifier of the entity (e.g. order, cart
947
951
  * etc.) against which payment_session was initiated. This is generated by
948
952
  * Fynd payments platform and is unique.
@@ -971,7 +975,7 @@ export = PaymentPlatformModel;
971
975
  * @property {string} [balance_transaction] - Balance transaction.
972
976
  */
973
977
  /**
974
- * @typedef RefundSessionRequestSerializer
978
+ * @typedef RefundSessionCreation
975
979
  * @property {Object} [meta] - Meta
976
980
  * @property {string} gid - Global identifier of the entity (e.g. order, cart
977
981
  * etc.) against which payment_session was initiated. This is generated by
@@ -986,7 +990,7 @@ export = PaymentPlatformModel;
986
990
  * @property {string} checksum - Checksum to verify payload
987
991
  */
988
992
  /**
989
- * @typedef RefundSessionResponseSerializer
993
+ * @typedef RefundSessionDetails
990
994
  * @property {string} gid - Global identifier of the entity (e.g. order, cart
991
995
  * etc.) against which payment_session was initiated. This is generated by
992
996
  * Fynd payments platform and is unique.
@@ -996,7 +1000,7 @@ export = PaymentPlatformModel;
996
1000
  * @property {number} total_refund_amount - The total amount refunded.
997
1001
  */
998
1002
  /**
999
- * @typedef PaymentDetailsSerializer
1003
+ * @typedef PaymentDetails
1000
1004
  * @property {Object[]} payment_methods - List of payment methods
1001
1005
  * @property {string} gid - Global identifier of the entity (e.g. order, cart
1002
1006
  * etc.) against which payment_session was initiated. This is generated by
@@ -1031,7 +1035,7 @@ export = PaymentPlatformModel;
1031
1035
  * id generated by payment gateway
1032
1036
  */
1033
1037
  /**
1034
- * @typedef CartDetailsSerializer
1038
+ * @typedef CartDetails
1035
1039
  * @property {Object} items - Items that are added in cart
1036
1040
  * @property {Object[]} articles - List of articles that are added in cart
1037
1041
  * @property {number} cart_value - Total cart value i.e. amount to be paid
@@ -1040,7 +1044,7 @@ export = PaymentPlatformModel;
1040
1044
  * retrieve custom data fields to cart items.
1041
1045
  */
1042
1046
  /**
1043
- * @typedef RefundDetailsSerializer
1047
+ * @typedef RefundDetails
1044
1048
  * @property {number} amount - Refunded amount
1045
1049
  * @property {string} currency - The currency of the payment.
1046
1050
  * @property {string} request_id - Refund request id, unique id generated by Fynd platform
@@ -1049,7 +1053,7 @@ export = PaymentPlatformModel;
1049
1053
  * @property {string} refund_utr - Unique refund utr generated by payment gateway.
1050
1054
  */
1051
1055
  /**
1052
- * @typedef PaymentSessionSerializer
1056
+ * @typedef PaymentSessionFetchDetails
1053
1057
  * @property {Object} payment_details - Object of payment details
1054
1058
  * @property {string} [currency] - The currency of the payment.
1055
1059
  * @property {string} status - The status of the payment session.
@@ -1057,8 +1061,8 @@ export = PaymentPlatformModel;
1057
1061
  * @property {string} gid - Global identifier of the entity (e.g. order, cart
1058
1062
  * etc.) against which payment_session was initiated. This is generated by
1059
1063
  * Fynd payments platform and is unique.
1060
- * @property {CartDetailsSerializer} [cart_details]
1061
- * @property {RefundDetailsSerializer[]} refund_details - Object of refund details
1064
+ * @property {CartDetails} [cart_details]
1065
+ * @property {RefundDetails[]} refund_details - Object of refund details
1062
1066
  */
1063
1067
  /**
1064
1068
  * @typedef RefundSourcesPriority
@@ -1067,7 +1071,7 @@ export = PaymentPlatformModel;
1067
1071
  * @property {string} source - Source of refund
1068
1072
  */
1069
1073
  /**
1070
- * @typedef RefundPriorityResponseSerializer
1074
+ * @typedef RefundPriorityDetails
1071
1075
  * @property {string} configuration - Configuration for merchant or customer
1072
1076
  * @property {boolean} success - Success
1073
1077
  * @property {boolean} apportion - Apportion refund to multiple sources
@@ -1075,12 +1079,12 @@ export = PaymentPlatformModel;
1075
1079
  * @property {string} [message] - Message
1076
1080
  */
1077
1081
  /**
1078
- * @typedef RefundPriorityRequestSerializer
1082
+ * @typedef RefundPriorityCreation
1079
1083
  * @property {boolean} apportion - Apportion refund to multiple sources
1080
1084
  * @property {RefundSourcesPriority[]} refund_sources_priority - Refund sources priority
1081
1085
  */
1082
1086
  /**
1083
- * @typedef MerchantPaymentModeRequest
1087
+ * @typedef MerchantPaymentModeCreation
1084
1088
  * @property {string} business_unit - Business unit
1085
1089
  * @property {Object[]} items - List of item details with respect to payment_mode
1086
1090
  * @property {Object} device - List of devices and its activation status
@@ -1096,7 +1100,7 @@ export = PaymentPlatformModel;
1096
1100
  * @property {string} business_unit - Business unit name
1097
1101
  */
1098
1102
  /**
1099
- * @typedef PlatformPaymentModeCopyConfigRequest
1103
+ * @typedef PlatformPaymentModeCopyConfigCreation
1100
1104
  * @property {FromConfig} from_config
1101
1105
  * @property {ToConfig} to_config
1102
1106
  */
@@ -1115,7 +1119,7 @@ export = PaymentPlatformModel;
1115
1119
  * @property {string} name - Payment mode name
1116
1120
  */
1117
1121
  /**
1118
- * @typedef PaymentOrderRequest
1122
+ * @typedef PaymentOrderCreation
1119
1123
  * @property {string} order_id - Order id
1120
1124
  * @property {PaymentOrderMethods[]} [payment_methods]
1121
1125
  * @property {string} [shipment_id] - Shipment_id
@@ -1134,7 +1138,7 @@ export = PaymentPlatformModel;
1134
1138
  * @property {string} [merchant_order_id] - Merchant order id
1135
1139
  */
1136
1140
  /**
1137
- * @typedef PaymentOrderResponse
1141
+ * @typedef PaymentOrderDetails
1138
1142
  * @property {string} message - Message
1139
1143
  * @property {boolean} success - Successful or failure
1140
1144
  * @property {string} [payment_confirm_url] - Payment confirm url for aggregator
@@ -1150,7 +1154,7 @@ export = PaymentPlatformModel;
1150
1154
  * @property {string} [is_greater_than]
1151
1155
  */
1152
1156
  /**
1153
- * @typedef AggregatorVersionResponse
1157
+ * @typedef AggregatorVersionDetails
1154
1158
  * @property {string} message - Message
1155
1159
  * @property {boolean} success - Successful or failure
1156
1160
  * @property {AggregatorVersionItemSchema} [items]
@@ -1162,7 +1166,7 @@ export = PaymentPlatformModel;
1162
1166
  * @property {string} [is_greater_than]
1163
1167
  */
1164
1168
  /**
1165
- * @typedef AggregatorControlRequest
1169
+ * @typedef PatchAggregatorControl
1166
1170
  * @property {string} [business_unit] - Business unit
1167
1171
  * @property {Object[]} [items] - List of item details with respect to payment_mode
1168
1172
  * @property {string} [device] - Device name
@@ -1217,11 +1221,11 @@ export = PaymentPlatformModel;
1217
1221
  declare class PaymentPlatformModel {
1218
1222
  }
1219
1223
  declare namespace PaymentPlatformModel {
1220
- export { PaymentGatewayConfigResponse, ErrorCodeDescription, PaymentGatewayConfig, PaymentGatewayConfigRequest, PaymentGatewayToBeReviewed, ErrorCodeAndDescription, HttpErrorCodeAndResponse, IntentAppErrorList, ProductCODData, CODChargesLimitsResponse, PaymentModeLogo, IntentApp, PaymentModeList, RootPaymentMode, PaymentOptions, AggregatorRoute, PaymentDefaultSelection, PaymentFlow, PaymentOptionAndFlow, AdvanceObject, SplitObject, AdvancePaymentObject, PaymentModeRouteResponse, PaymentOptionsResponse, PayoutCustomer, PayoutMoreAttributes, PayoutAggregator, Payout, PayoutsResponse, PayoutBankDetails, PayoutRequest, PayoutResponse, UpdatePayoutResponse, UpdatePayoutRequest, DeletePayoutResponse, SubscriptionPaymentMethodResponse, DeleteSubscriptionPaymentMethodResponse, SubscriptionConfigResponse, SaveSubscriptionSetupIntentRequest, SaveSubscriptionSetupIntentResponse, RefundAccountResponse, NotFoundResourceError, BankDetailsForOTP, AddBeneficiaryDetailsOTPRequest, IfscCodeResponse, OrderBeneficiaryDetails, OrderBeneficiaryResponse, MultiTenderPaymentMeta, MultiTenderPaymentMethod, PaymentConfirmationRequest, PaymentConfirmationResponse, CODdata, CODLimitConfig, CODPaymentLimitConfig, GetUserBULimitResponse, GetUserCODLimitResponse, SetCODForUserRequest, SetCODOptionResponse, EdcModelData, EdcAggregatorAndModelListResponse, StatisticsData, EdcDeviceStatsResponse, EdcAddRequest, EdcDevice, EdcDeviceAddResponse, EdcDeviceDetailsResponse, EdcUpdateRequest, EdcDeviceUpdateResponse, Page, EdcDeviceListResponse, PaymentInitializationRequest, PaymentInitializationResponse, PaymentStatusUpdateRequest, PaymentStatusUpdateResponse, ResendOrCancelPaymentRequest, LinkStatus, ResendOrCancelPaymentResponse, PaymentStatusBulkHandlerRequest, PaymentObjectListSerializer, PaymentStatusObject, PaymentStatusBulkHandlerResponse, GetOauthUrlResponse, RevokeOAuthToken, RepaymentRequestDetails, RepaymentDetailsSerialiserPayAll, RepaymentResponse, MerchantOnBoardingRequest, MerchantOnBoardingResponse, ValidateCustomerRequest, ValidateCustomerResponse, GetPaymentLinkResponse, ErrorDescription, ErrorResponse, CreatePaymentLinkMeta, CreatePaymentLinkRequest, CreatePaymentLinkResponse, PollingPaymentLinkResponse, CancelOrResendPaymentLinkRequest, ResendPaymentLinkResponse, CancelPaymentLinkResponse, Code, PaymentCode, GetPaymentCode, GetPaymentCodeResponse, PlatformPaymentModeResponse, MerchnatPaymentModeRequest, OrderDetail, AddressDetail, PaymentSessionDetail, PaymentSessionRequestSerializer, PaymentSessionResponseSerializer, RefundSessionDetail, RefundSessionRequestSerializer, RefundSessionResponseSerializer, PaymentDetailsSerializer, CartDetailsSerializer, RefundDetailsSerializer, PaymentSessionSerializer, RefundSourcesPriority, RefundPriorityResponseSerializer, RefundPriorityRequestSerializer, MerchantPaymentModeRequest, FromConfig, ToConfig, PlatformPaymentModeCopyConfigRequest, PaymentMethodsMetaOrder, PaymentOrderMethods, PaymentOrderRequest, PaymentOrderData, PaymentOrderResponse, AggregatorVersionItemSchema, AggregatorVersionResponse, AggregatorVersionRequestSchema, AggregatorControlRequest, PaymentModeCustomConfigSchema, PaymentCustomConfigDetailsSchema, PaymentCustomConfigCustomerSchema, PaymentCustomConfigModeSchema, PaymentCustomConfigDetailsRequestSchema, PaymentCustomConfigCustomerRequestSchema, PaymentCustomConfigRequestSchema, PaymentCustomConfigResponseSchema };
1224
+ export { PaymentGatewayConfigDetails, ErrorCodeDescription, PaymentGatewayConfig, PaymentGatewayConfigCreation, PaymentGatewayToBeReviewed, ErrorCodeAndDescription, HttpErrorDetails, IntentAppErrorList, ProductCODData, CODChargesLimitsDetails, PaymentModeLogo, IntentApp, PaymentModeList, RootPaymentMode, PaymentOptions, AggregatorRoute, PaymentDefaultSelection, PaymentFlow, PaymentOptionAndFlow, AdvanceObject, SplitObject, AdvancePaymentObject, PaymentModeRouteDetails, PaymentOptionsDetails, PayoutCustomer, PayoutMoreAttributes, PayoutAggregator, Payout, PayoutsDetails, PayoutBankDetails, PayoutCreation, PayoutDetails, UpdatePayoutDetails, UpdatePayoutCreation, DeletePayoutDetails, SubscriptionPaymentMethodDetails, DeleteSubscriptionPaymentMethodDetails, SubscriptionConfigDetails, SaveSubscriptionSetupIntentCreation, SaveSubscriptionSetupIntentDetails, RefundAccountDetails, NotFoundResourceError, BankDetailsForOTP, AddBeneficiaryDetailsOTPCreation, IfscCodeDetails, OrderBeneficiaryDetails, OrderBeneficiaryFetchResults, MultiTenderPaymentMeta, MultiTenderPaymentMethod, PaymentConfirmationCreation, PaymentConfirmationDetails, CODdata, CODLimitConfig, CODPaymentLimitConfig, GetUserBULimitResponseSchema, GetUserCODLimitDetails, SetCODForUserCreation, SetCODOptionDetails, EdcModelData, EdcAggregatorAndModelListDetails, StatisticsData, EdcDeviceStatsDetails, EdcAddCreation, EdcDevice, EdcDeviceAddDetails, EdcDeviceDetails, EdcUpdate, EdcDeviceUpdateDetails, Page, EdcDeviceListDetails, PaymentInitializationCreation, PaymentInitializationDetails, PaymentStatusUpdateCreation, PaymentStatusUpdateDetails, ResendOrCancelPaymentCreation, LinkStatus, ResendOrCancelPaymentDetails, PaymentStatusBulkHandlerCreation, PaymentObjectList, PaymentStatusObject, PaymentStatusBulkHandlerDetails, GetOauthUrlDetails, RevokeOAuthToken, RepaymentRequestDetails, RepaymentDetailsSerialiserPayAll, RepaymentDetails, MerchantOnBoardingCreation, MerchantOnBoardingDetails, ValidateCustomerCreation, ValidateCustomerDetails, GetPaymentLinkDetails, ErrorDescription, ErrorDetails, CreatePaymentLinkMeta, CreatePaymentLinkCreation, CreatePaymentLinkDetails, PollingPaymentLinkDetails, CancelOrResendPaymentLinkCreation, ResendPaymentLinkDetails, CancelPaymentLinkDetails, Code, PaymentCode, GetPaymentCode, GetPaymentCodeDetails, PlatformPaymentModeDetails, MerchnatPaymentModeCreation, OrderDetail, AddressDetail, PaymentSessionDetail, PaymentSessionCreation, PaymentSessionPutDetails, RefundSessionDetail, RefundSessionCreation, RefundSessionDetails, PaymentDetails, CartDetails, RefundDetails, PaymentSessionFetchDetails, RefundSourcesPriority, RefundPriorityDetails, RefundPriorityCreation, MerchantPaymentModeCreation, FromConfig, ToConfig, PlatformPaymentModeCopyConfigCreation, PaymentMethodsMetaOrder, PaymentOrderMethods, PaymentOrderCreation, PaymentOrderData, PaymentOrderDetails, AggregatorVersionItemSchema, AggregatorVersionDetails, AggregatorVersionRequestSchema, PatchAggregatorControl, PaymentModeCustomConfigSchema, PaymentCustomConfigDetailsSchema, PaymentCustomConfigCustomerSchema, PaymentCustomConfigModeSchema, PaymentCustomConfigDetailsRequestSchema, PaymentCustomConfigCustomerRequestSchema, PaymentCustomConfigRequestSchema, PaymentCustomConfigResponseSchema };
1221
1225
  }
1222
- /** @returns {PaymentGatewayConfigResponse} */
1223
- declare function PaymentGatewayConfigResponse(): PaymentGatewayConfigResponse;
1224
- type PaymentGatewayConfigResponse = {
1226
+ /** @returns {PaymentGatewayConfigDetails} */
1227
+ declare function PaymentGatewayConfigDetails(): PaymentGatewayConfigDetails;
1228
+ type PaymentGatewayConfigDetails = {
1225
1229
  /**
1226
1230
  * - List of all config specific to the
1227
1231
  * aggregator with their Details.
@@ -1289,9 +1293,9 @@ type PaymentGatewayConfig = {
1289
1293
  */
1290
1294
  merchant_salt: string;
1291
1295
  };
1292
- /** @returns {PaymentGatewayConfigRequest} */
1293
- declare function PaymentGatewayConfigRequest(): PaymentGatewayConfigRequest;
1294
- type PaymentGatewayConfigRequest = {
1296
+ /** @returns {PaymentGatewayConfigCreation} */
1297
+ declare function PaymentGatewayConfigCreation(): PaymentGatewayConfigCreation;
1298
+ type PaymentGatewayConfigCreation = {
1295
1299
  /**
1296
1300
  * - Application Id to which Payment config Mapped
1297
1301
  */
@@ -1326,9 +1330,9 @@ type ErrorCodeAndDescription = {
1326
1330
  */
1327
1331
  code: string;
1328
1332
  };
1329
- /** @returns {HttpErrorCodeAndResponse} */
1330
- declare function HttpErrorCodeAndResponse(): HttpErrorCodeAndResponse;
1331
- type HttpErrorCodeAndResponse = {
1333
+ /** @returns {HttpErrorDetails} */
1334
+ declare function HttpErrorDetails(): HttpErrorDetails;
1335
+ type HttpErrorDetails = {
1332
1336
  error: ErrorCodeAndDescription;
1333
1337
  /**
1334
1338
  * - Response is successful or not
@@ -1354,11 +1358,11 @@ type ProductCODData = {
1354
1358
  * - Item id with its cod availability.
1355
1359
  */
1356
1360
  items?: any;
1357
- cod_charges?: CODChargesLimitsResponse;
1361
+ cod_charges?: CODChargesLimitsDetails;
1358
1362
  };
1359
- /** @returns {CODChargesLimitsResponse} */
1360
- declare function CODChargesLimitsResponse(): CODChargesLimitsResponse;
1361
- type CODChargesLimitsResponse = {
1363
+ /** @returns {CODChargesLimitsDetails} */
1364
+ declare function CODChargesLimitsDetails(): CODChargesLimitsDetails;
1365
+ type CODChargesLimitsDetails = {
1362
1366
  /**
1363
1367
  * - Max allowed cart value for cod order.
1364
1368
  */
@@ -1745,9 +1749,9 @@ type AdvancePaymentObject = {
1745
1749
  split?: SplitObject;
1746
1750
  advance?: AdvanceObject;
1747
1751
  };
1748
- /** @returns {PaymentModeRouteResponse} */
1749
- declare function PaymentModeRouteResponse(): PaymentModeRouteResponse;
1750
- type PaymentModeRouteResponse = {
1752
+ /** @returns {PaymentModeRouteDetails} */
1753
+ declare function PaymentModeRouteDetails(): PaymentModeRouteDetails;
1754
+ type PaymentModeRouteDetails = {
1751
1755
  payment_options: PaymentOptionAndFlow;
1752
1756
  /**
1753
1757
  * - Response is successful or not
@@ -1762,9 +1766,9 @@ type PaymentModeRouteResponse = {
1762
1766
  */
1763
1767
  advance_payment?: AdvancePaymentObject[];
1764
1768
  };
1765
- /** @returns {PaymentOptionsResponse} */
1766
- declare function PaymentOptionsResponse(): PaymentOptionsResponse;
1767
- type PaymentOptionsResponse = {
1769
+ /** @returns {PaymentOptionsDetails} */
1770
+ declare function PaymentOptionsDetails(): PaymentOptionsDetails;
1771
+ type PaymentOptionsDetails = {
1768
1772
  payment_options: PaymentOptions;
1769
1773
  /**
1770
1774
  * - Response is successful or not
@@ -1878,9 +1882,9 @@ type Payout = {
1878
1882
  */
1879
1883
  transfer_type: string;
1880
1884
  };
1881
- /** @returns {PayoutsResponse} */
1882
- declare function PayoutsResponse(): PayoutsResponse;
1883
- type PayoutsResponse = {
1885
+ /** @returns {PayoutsDetails} */
1886
+ declare function PayoutsDetails(): PayoutsDetails;
1887
+ type PayoutsDetails = {
1884
1888
  /**
1885
1889
  * - Response is successful or not
1886
1890
  */
@@ -1904,9 +1908,9 @@ type PayoutBankDetails = {
1904
1908
  branch_name?: string;
1905
1909
  pincode?: number;
1906
1910
  };
1907
- /** @returns {PayoutRequest} */
1908
- declare function PayoutRequest(): PayoutRequest;
1909
- type PayoutRequest = {
1911
+ /** @returns {PayoutCreation} */
1912
+ declare function PayoutCreation(): PayoutCreation;
1913
+ type PayoutCreation = {
1910
1914
  /**
1911
1915
  * - Aggregator Name
1912
1916
  */
@@ -1929,9 +1933,9 @@ type PayoutRequest = {
1929
1933
  */
1930
1934
  transfer_type: string;
1931
1935
  };
1932
- /** @returns {PayoutResponse} */
1933
- declare function PayoutResponse(): PayoutResponse;
1934
- type PayoutResponse = {
1936
+ /** @returns {PayoutDetails} */
1937
+ declare function PayoutDetails(): PayoutDetails;
1938
+ type PayoutDetails = {
1935
1939
  /**
1936
1940
  * - Status of payment
1937
1941
  */
@@ -1973,9 +1977,9 @@ type PayoutResponse = {
1973
1977
  */
1974
1978
  payouts: any;
1975
1979
  };
1976
- /** @returns {UpdatePayoutResponse} */
1977
- declare function UpdatePayoutResponse(): UpdatePayoutResponse;
1978
- type UpdatePayoutResponse = {
1980
+ /** @returns {UpdatePayoutDetails} */
1981
+ declare function UpdatePayoutDetails(): UpdatePayoutDetails;
1982
+ type UpdatePayoutDetails = {
1979
1983
  /**
1980
1984
  * - Enable or Disable Default Payout
1981
1985
  */
@@ -1989,9 +1993,9 @@ type UpdatePayoutResponse = {
1989
1993
  */
1990
1994
  success: boolean;
1991
1995
  };
1992
- /** @returns {UpdatePayoutRequest} */
1993
- declare function UpdatePayoutRequest(): UpdatePayoutRequest;
1994
- type UpdatePayoutRequest = {
1996
+ /** @returns {UpdatePayoutCreation} */
1997
+ declare function UpdatePayoutCreation(): UpdatePayoutCreation;
1998
+ type UpdatePayoutCreation = {
1995
1999
  /**
1996
2000
  * - Enable or Disable Default Payout
1997
2001
  */
@@ -2005,17 +2009,17 @@ type UpdatePayoutRequest = {
2005
2009
  */
2006
2010
  unique_external_id: string;
2007
2011
  };
2008
- /** @returns {DeletePayoutResponse} */
2009
- declare function DeletePayoutResponse(): DeletePayoutResponse;
2010
- type DeletePayoutResponse = {
2012
+ /** @returns {DeletePayoutDetails} */
2013
+ declare function DeletePayoutDetails(): DeletePayoutDetails;
2014
+ type DeletePayoutDetails = {
2011
2015
  /**
2012
2016
  * - Response is successful or not
2013
2017
  */
2014
2018
  success: boolean;
2015
2019
  };
2016
- /** @returns {SubscriptionPaymentMethodResponse} */
2017
- declare function SubscriptionPaymentMethodResponse(): SubscriptionPaymentMethodResponse;
2018
- type SubscriptionPaymentMethodResponse = {
2020
+ /** @returns {SubscriptionPaymentMethodDetails} */
2021
+ declare function SubscriptionPaymentMethodDetails(): SubscriptionPaymentMethodDetails;
2022
+ type SubscriptionPaymentMethodDetails = {
2019
2023
  /**
2020
2024
  * - Subscription Payment Method Object
2021
2025
  */
@@ -2025,17 +2029,17 @@ type SubscriptionPaymentMethodResponse = {
2025
2029
  */
2026
2030
  success: boolean;
2027
2031
  };
2028
- /** @returns {DeleteSubscriptionPaymentMethodResponse} */
2029
- declare function DeleteSubscriptionPaymentMethodResponse(): DeleteSubscriptionPaymentMethodResponse;
2030
- type DeleteSubscriptionPaymentMethodResponse = {
2032
+ /** @returns {DeleteSubscriptionPaymentMethodDetails} */
2033
+ declare function DeleteSubscriptionPaymentMethodDetails(): DeleteSubscriptionPaymentMethodDetails;
2034
+ type DeleteSubscriptionPaymentMethodDetails = {
2031
2035
  /**
2032
2036
  * - Success or failure.
2033
2037
  */
2034
2038
  success: boolean;
2035
2039
  };
2036
- /** @returns {SubscriptionConfigResponse} */
2037
- declare function SubscriptionConfigResponse(): SubscriptionConfigResponse;
2038
- type SubscriptionConfigResponse = {
2040
+ /** @returns {SubscriptionConfigDetails} */
2041
+ declare function SubscriptionConfigDetails(): SubscriptionConfigDetails;
2042
+ type SubscriptionConfigDetails = {
2039
2043
  /**
2040
2044
  * - Aggregator Name
2041
2045
  */
@@ -2049,17 +2053,17 @@ type SubscriptionConfigResponse = {
2049
2053
  */
2050
2054
  success: boolean;
2051
2055
  };
2052
- /** @returns {SaveSubscriptionSetupIntentRequest} */
2053
- declare function SaveSubscriptionSetupIntentRequest(): SaveSubscriptionSetupIntentRequest;
2054
- type SaveSubscriptionSetupIntentRequest = {
2056
+ /** @returns {SaveSubscriptionSetupIntentCreation} */
2057
+ declare function SaveSubscriptionSetupIntentCreation(): SaveSubscriptionSetupIntentCreation;
2058
+ type SaveSubscriptionSetupIntentCreation = {
2055
2059
  /**
2056
2060
  * - Unique id i.e company:id
2057
2061
  */
2058
2062
  unique_external_id: string;
2059
2063
  };
2060
- /** @returns {SaveSubscriptionSetupIntentResponse} */
2061
- declare function SaveSubscriptionSetupIntentResponse(): SaveSubscriptionSetupIntentResponse;
2062
- type SaveSubscriptionSetupIntentResponse = {
2064
+ /** @returns {SaveSubscriptionSetupIntentDetails} */
2065
+ declare function SaveSubscriptionSetupIntentDetails(): SaveSubscriptionSetupIntentDetails;
2066
+ type SaveSubscriptionSetupIntentDetails = {
2063
2067
  /**
2064
2068
  * - Subscription Payment Method Object
2065
2069
  */
@@ -2069,9 +2073,9 @@ type SaveSubscriptionSetupIntentResponse = {
2069
2073
  */
2070
2074
  success: boolean;
2071
2075
  };
2072
- /** @returns {RefundAccountResponse} */
2073
- declare function RefundAccountResponse(): RefundAccountResponse;
2074
- type RefundAccountResponse = {
2076
+ /** @returns {RefundAccountDetails} */
2077
+ declare function RefundAccountDetails(): RefundAccountDetails;
2078
+ type RefundAccountDetails = {
2075
2079
  /**
2076
2080
  * - Account is verified or not
2077
2081
  */
@@ -2129,18 +2133,18 @@ type BankDetailsForOTP = {
2129
2133
  */
2130
2134
  account_holder: string;
2131
2135
  };
2132
- /** @returns {AddBeneficiaryDetailsOTPRequest} */
2133
- declare function AddBeneficiaryDetailsOTPRequest(): AddBeneficiaryDetailsOTPRequest;
2134
- type AddBeneficiaryDetailsOTPRequest = {
2136
+ /** @returns {AddBeneficiaryDetailsOTPCreation} */
2137
+ declare function AddBeneficiaryDetailsOTPCreation(): AddBeneficiaryDetailsOTPCreation;
2138
+ type AddBeneficiaryDetailsOTPCreation = {
2135
2139
  /**
2136
2140
  * - Order_id for which account will be added
2137
2141
  */
2138
2142
  order_id: string;
2139
2143
  details: BankDetailsForOTP;
2140
2144
  };
2141
- /** @returns {IfscCodeResponse} */
2142
- declare function IfscCodeResponse(): IfscCodeResponse;
2143
- type IfscCodeResponse = {
2145
+ /** @returns {IfscCodeDetails} */
2146
+ declare function IfscCodeDetails(): IfscCodeDetails;
2147
+ type IfscCodeDetails = {
2144
2148
  /**
2145
2149
  * - Branch Name Of Account
2146
2150
  */
@@ -2234,9 +2238,9 @@ type OrderBeneficiaryDetails = {
2234
2238
  */
2235
2239
  mobile?: string;
2236
2240
  };
2237
- /** @returns {OrderBeneficiaryResponse} */
2238
- declare function OrderBeneficiaryResponse(): OrderBeneficiaryResponse;
2239
- type OrderBeneficiaryResponse = {
2241
+ /** @returns {OrderBeneficiaryFetchResults} */
2242
+ declare function OrderBeneficiaryFetchResults(): OrderBeneficiaryFetchResults;
2243
+ type OrderBeneficiaryFetchResults = {
2240
2244
  /**
2241
2245
  * - All Beneficiaries Of An Order
2242
2246
  */
@@ -2296,18 +2300,18 @@ type MultiTenderPaymentMethod = {
2296
2300
  */
2297
2301
  mode: string;
2298
2302
  };
2299
- /** @returns {PaymentConfirmationRequest} */
2300
- declare function PaymentConfirmationRequest(): PaymentConfirmationRequest;
2301
- type PaymentConfirmationRequest = {
2303
+ /** @returns {PaymentConfirmationCreation} */
2304
+ declare function PaymentConfirmationCreation(): PaymentConfirmationCreation;
2305
+ type PaymentConfirmationCreation = {
2302
2306
  /**
2303
2307
  * - Unique order id
2304
2308
  */
2305
2309
  order_id: string;
2306
2310
  payment_methods: MultiTenderPaymentMethod[];
2307
2311
  };
2308
- /** @returns {PaymentConfirmationResponse} */
2309
- declare function PaymentConfirmationResponse(): PaymentConfirmationResponse;
2310
- type PaymentConfirmationResponse = {
2312
+ /** @returns {PaymentConfirmationDetails} */
2313
+ declare function PaymentConfirmationDetails(): PaymentConfirmationDetails;
2314
+ type PaymentConfirmationDetails = {
2311
2315
  /**
2312
2316
  * - Unique order id
2313
2317
  */
@@ -2382,9 +2386,9 @@ type CODPaymentLimitConfig = {
2382
2386
  remaining_limit: number;
2383
2387
  limit: CODLimitConfig;
2384
2388
  };
2385
- /** @returns {GetUserBULimitResponse} */
2386
- declare function GetUserBULimitResponse(): GetUserBULimitResponse;
2387
- type GetUserBULimitResponse = {
2389
+ /** @returns {GetUserBULimitResponseSchema} */
2390
+ declare function GetUserBULimitResponseSchema(): GetUserBULimitResponseSchema;
2391
+ type GetUserBULimitResponseSchema = {
2388
2392
  /**
2389
2393
  * - COD limit business unit
2390
2394
  */
@@ -2395,10 +2399,10 @@ type GetUserBULimitResponse = {
2395
2399
  display_name: string;
2396
2400
  config: CODPaymentLimitConfig;
2397
2401
  };
2398
- /** @returns {GetUserCODLimitResponse} */
2399
- declare function GetUserCODLimitResponse(): GetUserCODLimitResponse;
2400
- type GetUserCODLimitResponse = {
2401
- items: GetUserBULimitResponse[];
2402
+ /** @returns {GetUserCODLimitDetails} */
2403
+ declare function GetUserCODLimitDetails(): GetUserCODLimitDetails;
2404
+ type GetUserCODLimitDetails = {
2405
+ items: GetUserBULimitResponseSchema[];
2402
2406
  /**
2403
2407
  * - Response is successful or not
2404
2408
  */
@@ -2408,9 +2412,9 @@ type GetUserCODLimitResponse = {
2408
2412
  */
2409
2413
  message?: string;
2410
2414
  };
2411
- /** @returns {SetCODForUserRequest} */
2412
- declare function SetCODForUserRequest(): SetCODForUserRequest;
2413
- type SetCODForUserRequest = {
2415
+ /** @returns {SetCODForUserCreation} */
2416
+ declare function SetCODForUserCreation(): SetCODForUserCreation;
2417
+ type SetCODForUserCreation = {
2414
2418
  /**
2415
2419
  * - Business unit
2416
2420
  */
@@ -2428,9 +2432,9 @@ type SetCODForUserRequest = {
2428
2432
  */
2429
2433
  merchant_user_id: string;
2430
2434
  };
2431
- /** @returns {SetCODOptionResponse} */
2432
- declare function SetCODOptionResponse(): SetCODOptionResponse;
2433
- type SetCODOptionResponse = {
2435
+ /** @returns {SetCODOptionDetails} */
2436
+ declare function SetCODOptionDetails(): SetCODOptionDetails;
2437
+ type SetCODOptionDetails = {
2434
2438
  /**
2435
2439
  * - Message
2436
2440
  */
@@ -2456,9 +2460,9 @@ type EdcModelData = {
2456
2460
  */
2457
2461
  models: string[];
2458
2462
  };
2459
- /** @returns {EdcAggregatorAndModelListResponse} */
2460
- declare function EdcAggregatorAndModelListResponse(): EdcAggregatorAndModelListResponse;
2461
- type EdcAggregatorAndModelListResponse = {
2463
+ /** @returns {EdcAggregatorAndModelListDetails} */
2464
+ declare function EdcAggregatorAndModelListDetails(): EdcAggregatorAndModelListDetails;
2465
+ type EdcAggregatorAndModelListDetails = {
2462
2466
  /**
2463
2467
  * - List of aggregators and their edc models
2464
2468
  */
@@ -2480,18 +2484,18 @@ type StatisticsData = {
2480
2484
  */
2481
2485
  active_device_count: number;
2482
2486
  };
2483
- /** @returns {EdcDeviceStatsResponse} */
2484
- declare function EdcDeviceStatsResponse(): EdcDeviceStatsResponse;
2485
- type EdcDeviceStatsResponse = {
2487
+ /** @returns {EdcDeviceStatsDetails} */
2488
+ declare function EdcDeviceStatsDetails(): EdcDeviceStatsDetails;
2489
+ type EdcDeviceStatsDetails = {
2486
2490
  statistics: StatisticsData;
2487
2491
  /**
2488
2492
  * - Response is successful or not
2489
2493
  */
2490
2494
  success: boolean;
2491
2495
  };
2492
- /** @returns {EdcAddRequest} */
2493
- declare function EdcAddRequest(): EdcAddRequest;
2494
- type EdcAddRequest = {
2496
+ /** @returns {EdcAddCreation} */
2497
+ declare function EdcAddCreation(): EdcAddCreation;
2498
+ type EdcAddCreation = {
2495
2499
  /**
2496
2500
  * - Model of the edc machine
2497
2501
  */
@@ -2567,27 +2571,27 @@ type EdcDevice = {
2567
2571
  */
2568
2572
  application_id: string;
2569
2573
  };
2570
- /** @returns {EdcDeviceAddResponse} */
2571
- declare function EdcDeviceAddResponse(): EdcDeviceAddResponse;
2572
- type EdcDeviceAddResponse = {
2574
+ /** @returns {EdcDeviceAddDetails} */
2575
+ declare function EdcDeviceAddDetails(): EdcDeviceAddDetails;
2576
+ type EdcDeviceAddDetails = {
2573
2577
  data: EdcDevice;
2574
2578
  /**
2575
2579
  * - Response is successful or not
2576
2580
  */
2577
2581
  success: boolean;
2578
2582
  };
2579
- /** @returns {EdcDeviceDetailsResponse} */
2580
- declare function EdcDeviceDetailsResponse(): EdcDeviceDetailsResponse;
2581
- type EdcDeviceDetailsResponse = {
2583
+ /** @returns {EdcDeviceDetails} */
2584
+ declare function EdcDeviceDetails(): EdcDeviceDetails;
2585
+ type EdcDeviceDetails = {
2582
2586
  data: EdcDevice;
2583
2587
  /**
2584
2588
  * - Response is successful or not
2585
2589
  */
2586
2590
  success: boolean;
2587
2591
  };
2588
- /** @returns {EdcUpdateRequest} */
2589
- declare function EdcUpdateRequest(): EdcUpdateRequest;
2590
- type EdcUpdateRequest = {
2592
+ /** @returns {EdcUpdate} */
2593
+ declare function EdcUpdate(): EdcUpdate;
2594
+ type EdcUpdate = {
2591
2595
  /**
2592
2596
  * - Model of the edc machine
2593
2597
  */
@@ -2617,9 +2621,9 @@ type EdcUpdateRequest = {
2617
2621
  */
2618
2622
  device_tag?: string;
2619
2623
  };
2620
- /** @returns {EdcDeviceUpdateResponse} */
2621
- declare function EdcDeviceUpdateResponse(): EdcDeviceUpdateResponse;
2622
- type EdcDeviceUpdateResponse = {
2624
+ /** @returns {EdcDeviceUpdateDetails} */
2625
+ declare function EdcDeviceUpdateDetails(): EdcDeviceUpdateDetails;
2626
+ type EdcDeviceUpdateDetails = {
2623
2627
  /**
2624
2628
  * - Response is successful or not
2625
2629
  */
@@ -2657,9 +2661,9 @@ type Page = {
2657
2661
  */
2658
2662
  size?: number;
2659
2663
  };
2660
- /** @returns {EdcDeviceListResponse} */
2661
- declare function EdcDeviceListResponse(): EdcDeviceListResponse;
2662
- type EdcDeviceListResponse = {
2664
+ /** @returns {EdcDeviceListDetails} */
2665
+ declare function EdcDeviceListDetails(): EdcDeviceListDetails;
2666
+ type EdcDeviceListDetails = {
2663
2667
  /**
2664
2668
  * - List of all edc mapped to the application
2665
2669
  * options with their Details.
@@ -2671,9 +2675,9 @@ type EdcDeviceListResponse = {
2671
2675
  */
2672
2676
  success: boolean;
2673
2677
  };
2674
- /** @returns {PaymentInitializationRequest} */
2675
- declare function PaymentInitializationRequest(): PaymentInitializationRequest;
2676
- type PaymentInitializationRequest = {
2678
+ /** @returns {PaymentInitializationCreation} */
2679
+ declare function PaymentInitializationCreation(): PaymentInitializationCreation;
2680
+ type PaymentInitializationCreation = {
2677
2681
  /**
2678
2682
  * - Payment gateway payment id
2679
2683
  */
@@ -2727,9 +2731,9 @@ type PaymentInitializationRequest = {
2727
2731
  */
2728
2732
  method: string;
2729
2733
  };
2730
- /** @returns {PaymentInitializationResponse} */
2731
- declare function PaymentInitializationResponse(): PaymentInitializationResponse;
2732
- type PaymentInitializationResponse = {
2734
+ /** @returns {PaymentInitializationDetails} */
2735
+ declare function PaymentInitializationDetails(): PaymentInitializationDetails;
2736
+ type PaymentInitializationDetails = {
2733
2737
  /**
2734
2738
  * - Payment id.
2735
2739
  */
@@ -2799,9 +2803,9 @@ type PaymentInitializationResponse = {
2799
2803
  */
2800
2804
  method: string;
2801
2805
  };
2802
- /** @returns {PaymentStatusUpdateRequest} */
2803
- declare function PaymentStatusUpdateRequest(): PaymentStatusUpdateRequest;
2804
- type PaymentStatusUpdateRequest = {
2806
+ /** @returns {PaymentStatusUpdateCreation} */
2807
+ declare function PaymentStatusUpdateCreation(): PaymentStatusUpdateCreation;
2808
+ type PaymentStatusUpdateCreation = {
2805
2809
  /**
2806
2810
  * - EDC machine Unique Identifier
2807
2811
  */
@@ -2855,9 +2859,9 @@ type PaymentStatusUpdateRequest = {
2855
2859
  */
2856
2860
  merchant_transaction_id: string;
2857
2861
  };
2858
- /** @returns {PaymentStatusUpdateResponse} */
2859
- declare function PaymentStatusUpdateResponse(): PaymentStatusUpdateResponse;
2860
- type PaymentStatusUpdateResponse = {
2862
+ /** @returns {PaymentStatusUpdateDetails} */
2863
+ declare function PaymentStatusUpdateDetails(): PaymentStatusUpdateDetails;
2864
+ type PaymentStatusUpdateDetails = {
2861
2865
  /**
2862
2866
  * - Redirect url
2863
2867
  */
@@ -2879,9 +2883,9 @@ type PaymentStatusUpdateResponse = {
2879
2883
  */
2880
2884
  aggregator_name: string;
2881
2885
  };
2882
- /** @returns {ResendOrCancelPaymentRequest} */
2883
- declare function ResendOrCancelPaymentRequest(): ResendOrCancelPaymentRequest;
2884
- type ResendOrCancelPaymentRequest = {
2886
+ /** @returns {ResendOrCancelPaymentCreation} */
2887
+ declare function ResendOrCancelPaymentCreation(): ResendOrCancelPaymentCreation;
2888
+ type ResendOrCancelPaymentCreation = {
2885
2889
  /**
2886
2890
  * - Unique order id
2887
2891
  */
@@ -2912,26 +2916,26 @@ type LinkStatus = {
2912
2916
  */
2913
2917
  is_payment_done?: boolean;
2914
2918
  };
2915
- /** @returns {ResendOrCancelPaymentResponse} */
2916
- declare function ResendOrCancelPaymentResponse(): ResendOrCancelPaymentResponse;
2917
- type ResendOrCancelPaymentResponse = {
2919
+ /** @returns {ResendOrCancelPaymentDetails} */
2920
+ declare function ResendOrCancelPaymentDetails(): ResendOrCancelPaymentDetails;
2921
+ type ResendOrCancelPaymentDetails = {
2918
2922
  data: LinkStatus;
2919
2923
  /**
2920
2924
  * - Response is successful or not.
2921
2925
  */
2922
2926
  success: boolean;
2923
2927
  };
2924
- /** @returns {PaymentStatusBulkHandlerRequest} */
2925
- declare function PaymentStatusBulkHandlerRequest(): PaymentStatusBulkHandlerRequest;
2926
- type PaymentStatusBulkHandlerRequest = {
2928
+ /** @returns {PaymentStatusBulkHandlerCreation} */
2929
+ declare function PaymentStatusBulkHandlerCreation(): PaymentStatusBulkHandlerCreation;
2930
+ type PaymentStatusBulkHandlerCreation = {
2927
2931
  /**
2928
2932
  * - List of order ids
2929
2933
  */
2930
2934
  merchant_order_id: string[];
2931
2935
  };
2932
- /** @returns {PaymentObjectListSerializer} */
2933
- declare function PaymentObjectListSerializer(): PaymentObjectListSerializer;
2934
- type PaymentObjectListSerializer = {
2936
+ /** @returns {PaymentObjectList} */
2937
+ declare function PaymentObjectList(): PaymentObjectList;
2938
+ type PaymentObjectList = {
2935
2939
  user_object: any;
2936
2940
  modified_on: string;
2937
2941
  collected_by: string;
@@ -2955,20 +2959,20 @@ type PaymentObjectListSerializer = {
2955
2959
  declare function PaymentStatusObject(): PaymentStatusObject;
2956
2960
  type PaymentStatusObject = {
2957
2961
  merchant_order_id: string;
2958
- payment_object_list?: PaymentObjectListSerializer[];
2962
+ payment_object_list?: PaymentObjectList[];
2959
2963
  };
2960
- /** @returns {PaymentStatusBulkHandlerResponse} */
2961
- declare function PaymentStatusBulkHandlerResponse(): PaymentStatusBulkHandlerResponse;
2962
- type PaymentStatusBulkHandlerResponse = {
2964
+ /** @returns {PaymentStatusBulkHandlerDetails} */
2965
+ declare function PaymentStatusBulkHandlerDetails(): PaymentStatusBulkHandlerDetails;
2966
+ type PaymentStatusBulkHandlerDetails = {
2963
2967
  count?: number;
2964
2968
  data?: PaymentStatusObject[];
2965
2969
  success: string;
2966
2970
  error?: string;
2967
2971
  status: number;
2968
2972
  };
2969
- /** @returns {GetOauthUrlResponse} */
2970
- declare function GetOauthUrlResponse(): GetOauthUrlResponse;
2971
- type GetOauthUrlResponse = {
2973
+ /** @returns {GetOauthUrlDetails} */
2974
+ declare function GetOauthUrlDetails(): GetOauthUrlDetails;
2975
+ type GetOauthUrlDetails = {
2972
2976
  /**
2973
2977
  * - The url to call for authenticating
2974
2978
  */
@@ -3055,18 +3059,18 @@ type RepaymentDetailsSerialiserPayAll = {
3055
3059
  aggregator_order_id: string;
3056
3060
  shipment_details?: RepaymentRequestDetails[];
3057
3061
  };
3058
- /** @returns {RepaymentResponse} */
3059
- declare function RepaymentResponse(): RepaymentResponse;
3060
- type RepaymentResponse = {
3062
+ /** @returns {RepaymentDetails} */
3063
+ declare function RepaymentDetails(): RepaymentDetails;
3064
+ type RepaymentDetails = {
3061
3065
  data: any;
3062
3066
  /**
3063
3067
  * - Success/Failure of the transaction
3064
3068
  */
3065
3069
  success: boolean;
3066
3070
  };
3067
- /** @returns {MerchantOnBoardingRequest} */
3068
- declare function MerchantOnBoardingRequest(): MerchantOnBoardingRequest;
3069
- type MerchantOnBoardingRequest = {
3071
+ /** @returns {MerchantOnBoardingCreation} */
3072
+ declare function MerchantOnBoardingCreation(): MerchantOnBoardingCreation;
3073
+ type MerchantOnBoardingCreation = {
3070
3074
  /**
3071
3075
  * - Merchant ID at Ajiodhan's end
3072
3076
  */
@@ -3088,18 +3092,18 @@ type MerchantOnBoardingRequest = {
3088
3092
  */
3089
3093
  status: string;
3090
3094
  };
3091
- /** @returns {MerchantOnBoardingResponse} */
3092
- declare function MerchantOnBoardingResponse(): MerchantOnBoardingResponse;
3093
- type MerchantOnBoardingResponse = {
3095
+ /** @returns {MerchantOnBoardingDetails} */
3096
+ declare function MerchantOnBoardingDetails(): MerchantOnBoardingDetails;
3097
+ type MerchantOnBoardingDetails = {
3094
3098
  data: any;
3095
3099
  /**
3096
3100
  * - Success/Failure of the transaction
3097
3101
  */
3098
3102
  success: boolean;
3099
3103
  };
3100
- /** @returns {ValidateCustomerRequest} */
3101
- declare function ValidateCustomerRequest(): ValidateCustomerRequest;
3102
- type ValidateCustomerRequest = {
3104
+ /** @returns {ValidateCustomerCreation} */
3105
+ declare function ValidateCustomerCreation(): ValidateCustomerCreation;
3106
+ type ValidateCustomerCreation = {
3103
3107
  /**
3104
3108
  * - User mobile number without country code.
3105
3109
  */
@@ -3133,9 +3137,9 @@ type ValidateCustomerRequest = {
3133
3137
  */
3134
3138
  billing_address?: any;
3135
3139
  };
3136
- /** @returns {ValidateCustomerResponse} */
3137
- declare function ValidateCustomerResponse(): ValidateCustomerResponse;
3138
- type ValidateCustomerResponse = {
3140
+ /** @returns {ValidateCustomerDetails} */
3141
+ declare function ValidateCustomerDetails(): ValidateCustomerDetails;
3142
+ type ValidateCustomerDetails = {
3139
3143
  /**
3140
3144
  * - Error or success message.
3141
3145
  */
@@ -3149,9 +3153,9 @@ type ValidateCustomerResponse = {
3149
3153
  */
3150
3154
  success: boolean;
3151
3155
  };
3152
- /** @returns {GetPaymentLinkResponse} */
3153
- declare function GetPaymentLinkResponse(): GetPaymentLinkResponse;
3154
- type GetPaymentLinkResponse = {
3156
+ /** @returns {GetPaymentLinkDetails} */
3157
+ declare function GetPaymentLinkDetails(): GetPaymentLinkDetails;
3158
+ type GetPaymentLinkDetails = {
3155
3159
  /**
3156
3160
  * - Message
3157
3161
  */
@@ -3226,9 +3230,9 @@ type ErrorDescription = {
3226
3230
  */
3227
3231
  cancelled?: boolean;
3228
3232
  };
3229
- /** @returns {ErrorResponse} */
3230
- declare function ErrorResponse(): ErrorResponse;
3231
- type ErrorResponse = {
3233
+ /** @returns {ErrorDetails} */
3234
+ declare function ErrorDetails(): ErrorDetails;
3235
+ type ErrorDetails = {
3232
3236
  /**
3233
3237
  * - HTTP status code
3234
3238
  */
@@ -3264,9 +3268,9 @@ type CreatePaymentLinkMeta = {
3264
3268
  */
3265
3269
  assign_card_id?: string;
3266
3270
  };
3267
- /** @returns {CreatePaymentLinkRequest} */
3268
- declare function CreatePaymentLinkRequest(): CreatePaymentLinkRequest;
3269
- type CreatePaymentLinkRequest = {
3271
+ /** @returns {CreatePaymentLinkCreation} */
3272
+ declare function CreatePaymentLinkCreation(): CreatePaymentLinkCreation;
3273
+ type CreatePaymentLinkCreation = {
3270
3274
  /**
3271
3275
  * - Email to which the payment link is to be sent
3272
3276
  */
@@ -3293,10 +3297,20 @@ type CreatePaymentLinkRequest = {
3293
3297
  * - Merchant order id
3294
3298
  */
3295
3299
  external_order_id: string;
3300
+ /**
3301
+ * - URL to which the user will be
3302
+ * redirected after a successful payment.
3303
+ */
3304
+ success_redirection_url?: string;
3305
+ /**
3306
+ * - URL to which the user will be
3307
+ * redirected if the payment fails.
3308
+ */
3309
+ failure_redirection_url?: string;
3296
3310
  };
3297
- /** @returns {CreatePaymentLinkResponse} */
3298
- declare function CreatePaymentLinkResponse(): CreatePaymentLinkResponse;
3299
- type CreatePaymentLinkResponse = {
3311
+ /** @returns {CreatePaymentLinkDetails} */
3312
+ declare function CreatePaymentLinkDetails(): CreatePaymentLinkDetails;
3313
+ type CreatePaymentLinkDetails = {
3300
3314
  /**
3301
3315
  * - Message
3302
3316
  */
@@ -3322,9 +3336,9 @@ type CreatePaymentLinkResponse = {
3322
3336
  */
3323
3337
  payment_link_id?: string;
3324
3338
  };
3325
- /** @returns {PollingPaymentLinkResponse} */
3326
- declare function PollingPaymentLinkResponse(): PollingPaymentLinkResponse;
3327
- type PollingPaymentLinkResponse = {
3339
+ /** @returns {PollingPaymentLinkDetails} */
3340
+ declare function PollingPaymentLinkDetails(): PollingPaymentLinkDetails;
3341
+ type PollingPaymentLinkDetails = {
3328
3342
  /**
3329
3343
  * - Message
3330
3344
  */
@@ -3366,17 +3380,17 @@ type PollingPaymentLinkResponse = {
3366
3380
  */
3367
3381
  aggregator_name?: string;
3368
3382
  };
3369
- /** @returns {CancelOrResendPaymentLinkRequest} */
3370
- declare function CancelOrResendPaymentLinkRequest(): CancelOrResendPaymentLinkRequest;
3371
- type CancelOrResendPaymentLinkRequest = {
3383
+ /** @returns {CancelOrResendPaymentLinkCreation} */
3384
+ declare function CancelOrResendPaymentLinkCreation(): CancelOrResendPaymentLinkCreation;
3385
+ type CancelOrResendPaymentLinkCreation = {
3372
3386
  /**
3373
3387
  * - Unique id of payment link
3374
3388
  */
3375
3389
  payment_link_id: string;
3376
3390
  };
3377
- /** @returns {ResendPaymentLinkResponse} */
3378
- declare function ResendPaymentLinkResponse(): ResendPaymentLinkResponse;
3379
- type ResendPaymentLinkResponse = {
3391
+ /** @returns {ResendPaymentLinkDetails} */
3392
+ declare function ResendPaymentLinkDetails(): ResendPaymentLinkDetails;
3393
+ type ResendPaymentLinkDetails = {
3380
3394
  /**
3381
3395
  * - HTTP status code
3382
3396
  */
@@ -3394,9 +3408,9 @@ type ResendPaymentLinkResponse = {
3394
3408
  */
3395
3409
  success: boolean;
3396
3410
  };
3397
- /** @returns {CancelPaymentLinkResponse} */
3398
- declare function CancelPaymentLinkResponse(): CancelPaymentLinkResponse;
3399
- type CancelPaymentLinkResponse = {
3411
+ /** @returns {CancelPaymentLinkDetails} */
3412
+ declare function CancelPaymentLinkDetails(): CancelPaymentLinkDetails;
3413
+ type CancelPaymentLinkDetails = {
3400
3414
  /**
3401
3415
  * - HTTP status code
3402
3416
  */
@@ -3448,18 +3462,18 @@ declare function GetPaymentCode(): GetPaymentCode;
3448
3462
  type GetPaymentCode = {
3449
3463
  method_code: PaymentCode;
3450
3464
  };
3451
- /** @returns {GetPaymentCodeResponse} */
3452
- declare function GetPaymentCodeResponse(): GetPaymentCodeResponse;
3453
- type GetPaymentCodeResponse = {
3465
+ /** @returns {GetPaymentCodeDetails} */
3466
+ declare function GetPaymentCodeDetails(): GetPaymentCodeDetails;
3467
+ type GetPaymentCodeDetails = {
3454
3468
  data: GetPaymentCode;
3455
3469
  /**
3456
3470
  * - Response is successful or not.
3457
3471
  */
3458
3472
  success: boolean;
3459
3473
  };
3460
- /** @returns {PlatformPaymentModeResponse} */
3461
- declare function PlatformPaymentModeResponse(): PlatformPaymentModeResponse;
3462
- type PlatformPaymentModeResponse = {
3474
+ /** @returns {PlatformPaymentModeDetails} */
3475
+ declare function PlatformPaymentModeDetails(): PlatformPaymentModeDetails;
3476
+ type PlatformPaymentModeDetails = {
3463
3477
  /**
3464
3478
  * - Message
3465
3479
  */
@@ -3473,9 +3487,9 @@ type PlatformPaymentModeResponse = {
3473
3487
  */
3474
3488
  success: boolean;
3475
3489
  };
3476
- /** @returns {MerchnatPaymentModeRequest} */
3477
- declare function MerchnatPaymentModeRequest(): MerchnatPaymentModeRequest;
3478
- type MerchnatPaymentModeRequest = {
3490
+ /** @returns {MerchnatPaymentModeCreation} */
3491
+ declare function MerchnatPaymentModeCreation(): MerchnatPaymentModeCreation;
3492
+ type MerchnatPaymentModeCreation = {
3479
3493
  /**
3480
3494
  * - Details to be updated for online payment configuration.
3481
3495
  */
@@ -3701,9 +3715,9 @@ type PaymentSessionDetail = {
3701
3715
  */
3702
3716
  status: string;
3703
3717
  };
3704
- /** @returns {PaymentSessionRequestSerializer} */
3705
- declare function PaymentSessionRequestSerializer(): PaymentSessionRequestSerializer;
3706
- type PaymentSessionRequestSerializer = {
3718
+ /** @returns {PaymentSessionCreation} */
3719
+ declare function PaymentSessionCreation(): PaymentSessionCreation;
3720
+ type PaymentSessionCreation = {
3707
3721
  /**
3708
3722
  * - Extra meta data specific to extensions
3709
3723
  */
@@ -3744,9 +3758,9 @@ type PaymentSessionRequestSerializer = {
3744
3758
  */
3745
3759
  source?: string;
3746
3760
  };
3747
- /** @returns {PaymentSessionResponseSerializer} */
3748
- declare function PaymentSessionResponseSerializer(): PaymentSessionResponseSerializer;
3749
- type PaymentSessionResponseSerializer = {
3761
+ /** @returns {PaymentSessionPutDetails} */
3762
+ declare function PaymentSessionPutDetails(): PaymentSessionPutDetails;
3763
+ type PaymentSessionPutDetails = {
3750
3764
  /**
3751
3765
  * - Global identifier of the entity (e.g. order, cart
3752
3766
  * etc.) against which payment_session was initiated. This is generated by
@@ -3829,9 +3843,9 @@ type RefundSessionDetail = {
3829
3843
  */
3830
3844
  balance_transaction?: string;
3831
3845
  };
3832
- /** @returns {RefundSessionRequestSerializer} */
3833
- declare function RefundSessionRequestSerializer(): RefundSessionRequestSerializer;
3834
- type RefundSessionRequestSerializer = {
3846
+ /** @returns {RefundSessionCreation} */
3847
+ declare function RefundSessionCreation(): RefundSessionCreation;
3848
+ type RefundSessionCreation = {
3835
3849
  /**
3836
3850
  * - Meta
3837
3851
  */
@@ -3872,9 +3886,9 @@ type RefundSessionRequestSerializer = {
3872
3886
  */
3873
3887
  checksum: string;
3874
3888
  };
3875
- /** @returns {RefundSessionResponseSerializer} */
3876
- declare function RefundSessionResponseSerializer(): RefundSessionResponseSerializer;
3877
- type RefundSessionResponseSerializer = {
3889
+ /** @returns {RefundSessionDetails} */
3890
+ declare function RefundSessionDetails(): RefundSessionDetails;
3891
+ type RefundSessionDetails = {
3878
3892
  /**
3879
3893
  * - Global identifier of the entity (e.g. order, cart
3880
3894
  * etc.) against which payment_session was initiated. This is generated by
@@ -3898,9 +3912,9 @@ type RefundSessionResponseSerializer = {
3898
3912
  */
3899
3913
  total_refund_amount: number;
3900
3914
  };
3901
- /** @returns {PaymentDetailsSerializer} */
3902
- declare function PaymentDetailsSerializer(): PaymentDetailsSerializer;
3903
- type PaymentDetailsSerializer = {
3915
+ /** @returns {PaymentDetails} */
3916
+ declare function PaymentDetails(): PaymentDetails;
3917
+ type PaymentDetails = {
3904
3918
  /**
3905
3919
  * - List of payment methods
3906
3920
  */
@@ -3994,9 +4008,9 @@ type PaymentDetailsSerializer = {
3994
4008
  */
3995
4009
  aggregator_order_id?: string;
3996
4010
  };
3997
- /** @returns {CartDetailsSerializer} */
3998
- declare function CartDetailsSerializer(): CartDetailsSerializer;
3999
- type CartDetailsSerializer = {
4011
+ /** @returns {CartDetails} */
4012
+ declare function CartDetails(): CartDetails;
4013
+ type CartDetails = {
4000
4014
  /**
4001
4015
  * - Items that are added in cart
4002
4016
  */
@@ -4019,9 +4033,9 @@ type CartDetailsSerializer = {
4019
4033
  */
4020
4034
  custom_cart_meta?: any;
4021
4035
  };
4022
- /** @returns {RefundDetailsSerializer} */
4023
- declare function RefundDetailsSerializer(): RefundDetailsSerializer;
4024
- type RefundDetailsSerializer = {
4036
+ /** @returns {RefundDetails} */
4037
+ declare function RefundDetails(): RefundDetails;
4038
+ type RefundDetails = {
4025
4039
  /**
4026
4040
  * - Refunded amount
4027
4041
  */
@@ -4047,9 +4061,9 @@ type RefundDetailsSerializer = {
4047
4061
  */
4048
4062
  refund_utr: string;
4049
4063
  };
4050
- /** @returns {PaymentSessionSerializer} */
4051
- declare function PaymentSessionSerializer(): PaymentSessionSerializer;
4052
- type PaymentSessionSerializer = {
4064
+ /** @returns {PaymentSessionFetchDetails} */
4065
+ declare function PaymentSessionFetchDetails(): PaymentSessionFetchDetails;
4066
+ type PaymentSessionFetchDetails = {
4053
4067
  /**
4054
4068
  * - Object of payment details
4055
4069
  */
@@ -4072,11 +4086,11 @@ type PaymentSessionSerializer = {
4072
4086
  * Fynd payments platform and is unique.
4073
4087
  */
4074
4088
  gid: string;
4075
- cart_details?: CartDetailsSerializer;
4089
+ cart_details?: CartDetails;
4076
4090
  /**
4077
4091
  * - Object of refund details
4078
4092
  */
4079
- refund_details: RefundDetailsSerializer[];
4093
+ refund_details: RefundDetails[];
4080
4094
  };
4081
4095
  /** @returns {RefundSourcesPriority} */
4082
4096
  declare function RefundSourcesPriority(): RefundSourcesPriority;
@@ -4094,9 +4108,9 @@ type RefundSourcesPriority = {
4094
4108
  */
4095
4109
  source: string;
4096
4110
  };
4097
- /** @returns {RefundPriorityResponseSerializer} */
4098
- declare function RefundPriorityResponseSerializer(): RefundPriorityResponseSerializer;
4099
- type RefundPriorityResponseSerializer = {
4111
+ /** @returns {RefundPriorityDetails} */
4112
+ declare function RefundPriorityDetails(): RefundPriorityDetails;
4113
+ type RefundPriorityDetails = {
4100
4114
  /**
4101
4115
  * - Configuration for merchant or customer
4102
4116
  */
@@ -4118,9 +4132,9 @@ type RefundPriorityResponseSerializer = {
4118
4132
  */
4119
4133
  message?: string;
4120
4134
  };
4121
- /** @returns {RefundPriorityRequestSerializer} */
4122
- declare function RefundPriorityRequestSerializer(): RefundPriorityRequestSerializer;
4123
- type RefundPriorityRequestSerializer = {
4135
+ /** @returns {RefundPriorityCreation} */
4136
+ declare function RefundPriorityCreation(): RefundPriorityCreation;
4137
+ type RefundPriorityCreation = {
4124
4138
  /**
4125
4139
  * - Apportion refund to multiple sources
4126
4140
  */
@@ -4130,9 +4144,9 @@ type RefundPriorityRequestSerializer = {
4130
4144
  */
4131
4145
  refund_sources_priority: RefundSourcesPriority[];
4132
4146
  };
4133
- /** @returns {MerchantPaymentModeRequest} */
4134
- declare function MerchantPaymentModeRequest(): MerchantPaymentModeRequest;
4135
- type MerchantPaymentModeRequest = {
4147
+ /** @returns {MerchantPaymentModeCreation} */
4148
+ declare function MerchantPaymentModeCreation(): MerchantPaymentModeCreation;
4149
+ type MerchantPaymentModeCreation = {
4136
4150
  /**
4137
4151
  * - Business unit
4138
4152
  */
@@ -4170,9 +4184,9 @@ type ToConfig = {
4170
4184
  */
4171
4185
  business_unit: string;
4172
4186
  };
4173
- /** @returns {PlatformPaymentModeCopyConfigRequest} */
4174
- declare function PlatformPaymentModeCopyConfigRequest(): PlatformPaymentModeCopyConfigRequest;
4175
- type PlatformPaymentModeCopyConfigRequest = {
4187
+ /** @returns {PlatformPaymentModeCopyConfigCreation} */
4188
+ declare function PlatformPaymentModeCopyConfigCreation(): PlatformPaymentModeCopyConfigCreation;
4189
+ type PlatformPaymentModeCopyConfigCreation = {
4176
4190
  from_config: FromConfig;
4177
4191
  to_config: ToConfig;
4178
4192
  };
@@ -4213,9 +4227,9 @@ type PaymentOrderMethods = {
4213
4227
  */
4214
4228
  name: string;
4215
4229
  };
4216
- /** @returns {PaymentOrderRequest} */
4217
- declare function PaymentOrderRequest(): PaymentOrderRequest;
4218
- type PaymentOrderRequest = {
4230
+ /** @returns {PaymentOrderCreation} */
4231
+ declare function PaymentOrderCreation(): PaymentOrderCreation;
4232
+ type PaymentOrderCreation = {
4219
4233
  /**
4220
4234
  * - Order id
4221
4235
  */
@@ -4270,9 +4284,9 @@ type PaymentOrderData = {
4270
4284
  */
4271
4285
  merchant_order_id?: string;
4272
4286
  };
4273
- /** @returns {PaymentOrderResponse} */
4274
- declare function PaymentOrderResponse(): PaymentOrderResponse;
4275
- type PaymentOrderResponse = {
4287
+ /** @returns {PaymentOrderDetails} */
4288
+ declare function PaymentOrderDetails(): PaymentOrderDetails;
4289
+ type PaymentOrderDetails = {
4276
4290
  /**
4277
4291
  * - Message
4278
4292
  */
@@ -4306,9 +4320,9 @@ type AggregatorVersionItemSchema = {
4306
4320
  is_less_than?: string;
4307
4321
  is_greater_than?: string;
4308
4322
  };
4309
- /** @returns {AggregatorVersionResponse} */
4310
- declare function AggregatorVersionResponse(): AggregatorVersionResponse;
4311
- type AggregatorVersionResponse = {
4323
+ /** @returns {AggregatorVersionDetails} */
4324
+ declare function AggregatorVersionDetails(): AggregatorVersionDetails;
4325
+ type AggregatorVersionDetails = {
4312
4326
  /**
4313
4327
  * - Message
4314
4328
  */
@@ -4326,9 +4340,9 @@ type AggregatorVersionRequestSchema = {
4326
4340
  is_less_than?: string;
4327
4341
  is_greater_than?: string;
4328
4342
  };
4329
- /** @returns {AggregatorControlRequest} */
4330
- declare function AggregatorControlRequest(): AggregatorControlRequest;
4331
- type AggregatorControlRequest = {
4343
+ /** @returns {PatchAggregatorControl} */
4344
+ declare function PatchAggregatorControl(): PatchAggregatorControl;
4345
+ type PatchAggregatorControl = {
4332
4346
  /**
4333
4347
  * - Business unit
4334
4348
  */