@gofynd/fdk-client-javascript 1.4.13 → 1.4.14

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 (294) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/ApplicationClient.d.ts +2 -0
  4. package/sdk/application/ApplicationClient.js +2 -0
  5. package/sdk/application/Cart/CartApplicationClient.d.ts +60 -53
  6. package/sdk/application/Cart/CartApplicationClient.js +130 -53
  7. package/sdk/application/Cart/CartApplicationModel.d.ts +489 -143
  8. package/sdk/application/Cart/CartApplicationModel.js +380 -159
  9. package/sdk/application/Cart/CartApplicationValidator.d.ts +38 -19
  10. package/sdk/application/Cart/CartApplicationValidator.js +34 -18
  11. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +88 -68
  12. package/sdk/application/Catalog/CatalogApplicationClient.js +114 -94
  13. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +194 -142
  14. package/sdk/application/Catalog/CatalogApplicationModel.js +171 -133
  15. package/sdk/application/Common/CommonApplicationClient.d.ts +3 -2
  16. package/sdk/application/Common/CommonApplicationClient.js +6 -5
  17. package/sdk/application/Common/CommonApplicationModel.d.ts +9 -9
  18. package/sdk/application/Common/CommonApplicationModel.js +6 -6
  19. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +34 -27
  20. package/sdk/application/Configuration/ConfigurationApplicationClient.js +34 -27
  21. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +45 -57
  22. package/sdk/application/Configuration/ConfigurationApplicationModel.js +35 -47
  23. package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +2 -2
  24. package/sdk/application/Configuration/ConfigurationApplicationValidator.js +2 -2
  25. package/sdk/application/Content/ContentApplicationClient.d.ts +23 -33
  26. package/sdk/application/Content/ContentApplicationClient.js +54 -75
  27. package/sdk/application/Content/ContentApplicationModel.d.ts +93 -37
  28. package/sdk/application/Content/ContentApplicationModel.js +83 -32
  29. package/sdk/application/Content/ContentApplicationValidator.d.ts +23 -17
  30. package/sdk/application/Content/ContentApplicationValidator.js +15 -10
  31. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +9 -8
  32. package/sdk/application/FileStorage/FileStorageApplicationClient.js +14 -13
  33. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +23 -25
  34. package/sdk/application/FileStorage/FileStorageApplicationModel.js +16 -18
  35. package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +6 -6
  36. package/sdk/application/FileStorage/FileStorageApplicationValidator.js +6 -6
  37. package/sdk/application/Finance/FinanceApplicationClient.d.ts +36 -0
  38. package/sdk/application/Finance/FinanceApplicationClient.js +202 -0
  39. package/sdk/application/Finance/FinanceApplicationModel.d.ts +289 -0
  40. package/sdk/application/Finance/FinanceApplicationModel.js +208 -0
  41. package/sdk/application/Finance/FinanceApplicationValidator.d.ts +25 -0
  42. package/sdk/application/Finance/FinanceApplicationValidator.js +31 -0
  43. package/sdk/application/Lead/LeadApplicationClient.d.ts +2 -3
  44. package/sdk/application/Lead/LeadApplicationClient.js +2 -3
  45. package/sdk/application/Lead/LeadApplicationModel.d.ts +11 -11
  46. package/sdk/application/Lead/LeadApplicationModel.js +19 -19
  47. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +39 -16
  48. package/sdk/application/Logistic/LogisticApplicationClient.js +189 -21
  49. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +532 -173
  50. package/sdk/application/Logistic/LogisticApplicationModel.js +409 -139
  51. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +54 -9
  52. package/sdk/application/Logistic/LogisticApplicationValidator.js +42 -8
  53. package/sdk/application/Order/OrderApplicationClient.d.ts +24 -10
  54. package/sdk/application/Order/OrderApplicationClient.js +96 -13
  55. package/sdk/application/Order/OrderApplicationModel.d.ts +434 -102
  56. package/sdk/application/Order/OrderApplicationModel.js +278 -73
  57. package/sdk/application/Order/OrderApplicationValidator.d.ts +17 -3
  58. package/sdk/application/Order/OrderApplicationValidator.js +15 -2
  59. package/sdk/application/Payment/PaymentApplicationClient.d.ts +96 -99
  60. package/sdk/application/Payment/PaymentApplicationClient.js +111 -114
  61. package/sdk/application/Payment/PaymentApplicationModel.d.ts +293 -289
  62. package/sdk/application/Payment/PaymentApplicationModel.js +243 -241
  63. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +46 -46
  64. package/sdk/application/Payment/PaymentApplicationValidator.js +46 -46
  65. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +13 -16
  66. package/sdk/application/Rewards/RewardsApplicationClient.js +19 -22
  67. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +37 -37
  68. package/sdk/application/Rewards/RewardsApplicationModel.js +29 -29
  69. package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +6 -6
  70. package/sdk/application/Rewards/RewardsApplicationValidator.js +6 -6
  71. package/sdk/application/Share/ShareApplicationModel.js +1 -1
  72. package/sdk/application/Theme/ThemeApplicationClient.d.ts +2 -2
  73. package/sdk/application/Theme/ThemeApplicationClient.js +8 -6
  74. package/sdk/application/Theme/ThemeApplicationModel.d.ts +48 -17
  75. package/sdk/application/Theme/ThemeApplicationModel.js +42 -22
  76. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +16 -3
  77. package/sdk/application/Theme/ThemeApplicationValidator.js +9 -2
  78. package/sdk/application/User/UserApplicationClient.d.ts +10 -10
  79. package/sdk/application/User/UserApplicationClient.js +10 -10
  80. package/sdk/application/User/UserApplicationModel.d.ts +17 -17
  81. package/sdk/application/User/UserApplicationModel.js +16 -16
  82. package/sdk/application/User/UserApplicationValidator.d.ts +2 -2
  83. package/sdk/application/User/UserApplicationValidator.js +2 -2
  84. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
  85. package/sdk/application/Webhook/WebhookApplicationClient.js +4 -4
  86. package/sdk/application/Webhook/WebhookApplicationModel.d.ts +11 -9
  87. package/sdk/application/Webhook/WebhookApplicationModel.js +8 -6
  88. package/sdk/application/Webhook/WebhookApplicationValidator.d.ts +2 -2
  89. package/sdk/application/Webhook/WebhookApplicationValidator.js +2 -2
  90. package/sdk/application/index.d.ts +1 -0
  91. package/sdk/application/index.js +2 -0
  92. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +86 -12
  93. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +582 -24
  94. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +116 -19
  95. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +121 -14
  96. package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +8 -1
  97. package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +51 -4
  98. package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
  99. package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
  100. package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
  101. package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
  102. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +126 -20
  103. package/sdk/partner/Logistics/LogisticsPartnerClient.js +970 -20
  104. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +767 -85
  105. package/sdk/partner/Logistics/LogisticsPartnerModel.js +429 -76
  106. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +10 -0
  107. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +120 -6
  108. package/sdk/partner/Theme/ThemePartnerClient.d.ts +8 -10
  109. package/sdk/partner/Theme/ThemePartnerClient.js +14 -16
  110. package/sdk/partner/Theme/ThemePartnerModel.d.ts +96 -37
  111. package/sdk/partner/Theme/ThemePartnerModel.js +90 -36
  112. package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
  113. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +28 -18
  114. package/sdk/partner/Webhook/WebhookPartnerClient.js +103 -18
  115. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +612 -179
  116. package/sdk/partner/Webhook/WebhookPartnerModel.js +253 -150
  117. package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +1 -0
  118. package/sdk/partner/Webhook/WebhookPartnerValidator.js +11 -3
  119. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +5 -4
  120. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +14 -8
  121. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +59 -9
  122. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +40 -4
  123. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +2 -32
  124. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +3 -243
  125. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +11 -130
  126. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +12 -152
  127. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -39
  128. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +0 -35
  129. package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
  130. package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
  131. package/sdk/platform/Billing/BillingPlatformModel.d.ts +443 -388
  132. package/sdk/platform/Billing/BillingPlatformModel.js +280 -263
  133. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +16 -18
  134. package/sdk/platform/Billing/BillingPlatformValidator.js +8 -9
  135. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +134 -103
  136. package/sdk/platform/Cart/CartPlatformApplicationClient.js +407 -112
  137. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +111 -65
  138. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +106 -44
  139. package/sdk/platform/Cart/CartPlatformModel.d.ts +4978 -1303
  140. package/sdk/platform/Cart/CartPlatformModel.js +1922 -1217
  141. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +208 -183
  142. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +383 -358
  143. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +122 -126
  144. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +66 -68
  145. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +141 -118
  146. package/sdk/platform/Catalog/CatalogPlatformClient.js +193 -170
  147. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1516 -1766
  148. package/sdk/platform/Catalog/CatalogPlatformModel.js +1393 -1224
  149. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +18 -18
  150. package/sdk/platform/Catalog/CatalogPlatformValidator.js +18 -18
  151. package/sdk/platform/Common/CommonPlatformClient.d.ts +3 -2
  152. package/sdk/platform/Common/CommonPlatformClient.js +3 -2
  153. package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
  154. package/sdk/platform/Common/CommonPlatformModel.js +6 -6
  155. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +16 -17
  156. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +16 -17
  157. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
  158. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
  159. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +43 -33
  160. package/sdk/platform/Communication/CommunicationPlatformModel.js +38 -34
  161. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +46 -42
  162. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +47 -43
  163. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
  164. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +210 -212
  165. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
  166. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
  167. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +46 -33
  168. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +67 -54
  169. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
  170. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
  171. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +45 -24
  172. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +134 -30
  173. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +283 -124
  174. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +219 -94
  175. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +37 -9
  176. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +27 -8
  177. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +124 -141
  178. package/sdk/platform/Content/ContentPlatformApplicationClient.js +449 -422
  179. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +179 -141
  180. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +168 -130
  181. package/sdk/platform/Content/ContentPlatformClient.d.ts +142 -106
  182. package/sdk/platform/Content/ContentPlatformClient.js +523 -336
  183. package/sdk/platform/Content/ContentPlatformModel.d.ts +1241 -395
  184. package/sdk/platform/Content/ContentPlatformModel.js +521 -390
  185. package/sdk/platform/Content/ContentPlatformValidator.d.ts +168 -117
  186. package/sdk/platform/Content/ContentPlatformValidator.js +162 -108
  187. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +14 -12
  188. package/sdk/platform/Discount/DiscountPlatformClient.js +14 -12
  189. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
  190. package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
  191. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
  192. package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
  193. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +94 -36
  194. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +462 -60
  195. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +62 -15
  196. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +75 -13
  197. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +19 -19
  198. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +21 -21
  199. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +370 -101
  200. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +313 -84
  201. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
  202. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
  203. package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
  204. package/sdk/platform/Lead/LeadPlatformClient.js +2 -2
  205. package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -5
  206. package/sdk/platform/Lead/LeadPlatformModel.js +16 -16
  207. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +15 -4
  208. package/sdk/platform/Order/OrderPlatformApplicationClient.js +83 -5
  209. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +25 -4
  210. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +16 -3
  211. package/sdk/platform/Order/OrderPlatformClient.d.ts +178 -97
  212. package/sdk/platform/Order/OrderPlatformClient.js +589 -229
  213. package/sdk/platform/Order/OrderPlatformModel.d.ts +5447 -3071
  214. package/sdk/platform/Order/OrderPlatformModel.js +3496 -1653
  215. package/sdk/platform/Order/OrderPlatformValidator.d.ts +241 -176
  216. package/sdk/platform/Order/OrderPlatformValidator.js +153 -97
  217. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -4
  218. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +9 -7
  219. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
  220. package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
  221. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +93 -105
  222. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +129 -141
  223. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +48 -48
  224. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +48 -48
  225. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
  226. package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
  227. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +327 -313
  228. package/sdk/platform/Payment/PaymentPlatformModel.js +283 -273
  229. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
  230. package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
  231. package/sdk/platform/PlatformClient.d.ts +0 -2
  232. package/sdk/platform/PlatformClient.js +0 -4
  233. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
  234. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
  235. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
  236. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
  237. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +9 -9
  238. package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
  239. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +45 -35
  240. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +117 -38
  241. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +22 -13
  242. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +24 -12
  243. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +40 -46
  244. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +58 -64
  245. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +602 -341
  246. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +483 -284
  247. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +8 -8
  248. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +8 -8
  249. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
  250. package/sdk/platform/Share/SharePlatformApplicationClient.js +2 -2
  251. package/sdk/platform/Share/SharePlatformModel.d.ts +36 -5
  252. package/sdk/platform/Share/SharePlatformModel.js +27 -4
  253. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
  254. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +8 -4
  255. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +5 -0
  256. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +2 -0
  257. package/sdk/platform/Theme/ThemePlatformModel.d.ts +37 -11
  258. package/sdk/platform/Theme/ThemePlatformModel.js +33 -15
  259. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
  260. package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
  261. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
  262. package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
  263. package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
  264. package/sdk/platform/User/UserPlatformModel.js +23 -23
  265. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +25 -78
  266. package/sdk/platform/Webhook/WebhookPlatformClient.js +75 -470
  267. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +720 -427
  268. package/sdk/platform/Webhook/WebhookPlatformModel.js +410 -386
  269. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
  270. package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
  271. package/sdk/platform/index.d.ts +0 -1
  272. package/sdk/platform/index.js +0 -2
  273. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +3 -2
  274. package/sdk/public/Configuration/ConfigurationPublicClient.js +6 -5
  275. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
  276. package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
  277. package/sdk/public/Content/ContentPublicClient.d.ts +112 -2
  278. package/sdk/public/Content/ContentPublicClient.js +791 -5
  279. package/sdk/public/Content/ContentPublicModel.d.ts +549 -3
  280. package/sdk/public/Content/ContentPublicModel.js +649 -3
  281. package/sdk/public/Content/ContentPublicValidator.d.ts +69 -3
  282. package/sdk/public/Content/ContentPublicValidator.js +88 -2
  283. package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
  284. package/sdk/public/Webhook/WebhookPublicClient.js +8 -8
  285. package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
  286. package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
  287. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
  288. package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
  289. package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -320
  290. package/sdk/platform/Finance/FinancePlatformClient.js +0 -2333
  291. package/sdk/platform/Finance/FinancePlatformModel.d.ts +0 -2890
  292. package/sdk/platform/Finance/FinancePlatformModel.js +0 -2148
  293. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
  294. package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
@@ -13,7 +13,7 @@ export = PaymentApplicationModel;
13
13
  * @property {string} [merchant_id] - Unique merchant id.
14
14
  */
15
15
  /**
16
- * @typedef AggregatorsConfigDetailResponse
16
+ * @typedef AggregatorsConfigDetail
17
17
  * @property {boolean} success - Api response was successful or not.
18
18
  * @property {AggregatorConfigDetail} [razorpay]
19
19
  * @property {AggregatorConfigDetail} [juspay]
@@ -31,19 +31,19 @@ export = PaymentApplicationModel;
31
31
  * @property {string} description - Error human understandable description.
32
32
  */
33
33
  /**
34
- * @typedef HttpErrorCodeAndResponse
34
+ * @typedef HttpErrorCodeDetails
35
35
  * @property {ErrorCodeAndDescription} [error]
36
36
  * @property {boolean} success - Response is successful or not.
37
37
  */
38
38
  /**
39
- * @typedef AttachCardRequest
39
+ * @typedef AttachCard
40
40
  * @property {string} [nickname] - Nickname of the card holder.
41
41
  * @property {boolean} [refresh] - Refresh cache flag.
42
42
  * @property {string} card_id - Card token of payment gateway.
43
43
  * @property {string} [name_on_card] - Name of the card holder.
44
44
  */
45
45
  /**
46
- * @typedef AttachCardsResponse
46
+ * @typedef AttachCardsDetails
47
47
  * @property {Object} data - List of cards of customer.
48
48
  * @property {boolean} success - Response is successful or not.
49
49
  * @property {string} [message] - Human readable message.
@@ -55,7 +55,7 @@ export = PaymentApplicationModel;
55
55
  * @property {string} [customer_id] - Payment gateway customer id.
56
56
  */
57
57
  /**
58
- * @typedef ActiveCardPaymentGatewayResponse
58
+ * @typedef ActiveCardPaymentGatewayDetails
59
59
  * @property {CardPaymentGateway} cards
60
60
  * @property {boolean} success - Response is successful or not.
61
61
  * @property {string} message - Human readable message.
@@ -84,22 +84,22 @@ export = PaymentApplicationModel;
84
84
  * @property {string} [card_id] - Unique identifier for the card within the system.
85
85
  */
86
86
  /**
87
- * @typedef ListCardsResponse
87
+ * @typedef ListCardsDetails
88
88
  * @property {Card[]} [data] - List of cards of customer.
89
89
  * @property {boolean} success - Response is successful or not.
90
90
  * @property {string} message - Human readable message.
91
91
  */
92
92
  /**
93
- * @typedef DeletehCardRequest
93
+ * @typedef DeleteCard
94
94
  * @property {string} card_id - Card token of payment gateway.
95
95
  */
96
96
  /**
97
- * @typedef DeleteCardsResponse
97
+ * @typedef DeleteCardsDetails
98
98
  * @property {boolean} success - Response is successful or not.
99
99
  * @property {string} [message] - Human readable message.
100
100
  */
101
101
  /**
102
- * @typedef ValidateCustomerRequest
102
+ * @typedef ValidateCustomer
103
103
  * @property {string} aggregator - Payment gateway name in camelcase i.e Simple, Rupifi.
104
104
  * @property {number} transaction_amount_in_paise - Payable amount in paise.
105
105
  * @property {string} phone_number - User mobile number without country code.
@@ -110,13 +110,13 @@ export = PaymentApplicationModel;
110
110
  * @property {Object} [delivery_address] - Extra meta fields.
111
111
  */
112
112
  /**
113
- * @typedef ValidateCustomerResponse
113
+ * @typedef ValidateCustomerDetails
114
114
  * @property {Object} [data] - Payment gateway response data.
115
115
  * @property {boolean} success - Response is successful or not.
116
116
  * @property {string} message - Error or success message.
117
117
  */
118
118
  /**
119
- * @typedef ChargeCustomerRequest
119
+ * @typedef ChargeCustomer
120
120
  * @property {boolean} [verified] - Already Verified flag from payment gateway i.e Mswipe.
121
121
  * @property {string} aggregator - Payment gateway name i.e Simpl, Mswipe.
122
122
  * @property {string} order_id - Unique order id.
@@ -124,7 +124,7 @@ export = PaymentApplicationModel;
124
124
  * @property {number} amount - Chargeable amount of order.
125
125
  */
126
126
  /**
127
- * @typedef ChargeCustomerResponse
127
+ * @typedef ChargeCustomerDetails
128
128
  * @property {string} status - Status of charged payment.
129
129
  * @property {string} [cart_id] - Cart id of customer.
130
130
  * @property {boolean} success - Response is successful or not.
@@ -134,7 +134,7 @@ export = PaymentApplicationModel;
134
134
  * @property {string} [delivery_address_id] - Delivery address id of customer.
135
135
  */
136
136
  /**
137
- * @typedef PaymentInitializationRequest
137
+ * @typedef PaymentInitialization
138
138
  * @property {string} [razorpay_payment_id] - Payment gateway payment id.
139
139
  * @property {string} method - Payment method.
140
140
  * @property {string} [device_id] - EDC machine Unique Identifier.
@@ -150,7 +150,7 @@ export = PaymentApplicationModel;
150
150
  * @property {string} email - Customer valid email.
151
151
  */
152
152
  /**
153
- * @typedef PaymentInitializationResponse
153
+ * @typedef PaymentInitializationDetails
154
154
  * @property {string} [status] - Status of payment.
155
155
  * @property {string} [razorpay_payment_id] - Payment id.
156
156
  * @property {string} [aggregator_order_id] - Payment order id.
@@ -170,8 +170,8 @@ export = PaymentApplicationModel;
170
170
  * @property {string} [bqr_image] - Bharat qr image url.
171
171
  */
172
172
  /**
173
- * @typedef PaymentStatusUpdateRequest
174
- * @property {string} [status] - Status of payment.
173
+ * @typedef PaymentStatusUpdate
174
+ * @property {string} status - Status of payment.
175
175
  * @property {string} [merchant_transaction_id] - Unique fynd transaction id.
176
176
  * @property {string} method - Payment method.
177
177
  * @property {string} [device_id] - EDC machine Unique Identifier.
@@ -180,13 +180,13 @@ export = PaymentApplicationModel;
180
180
  * @property {string} [contact] - Customer valid mobile number.
181
181
  * @property {string} merchant_order_id - Unique fynd order id.
182
182
  * @property {string} [vpa] - Customer vpa address.
183
- * @property {string} [order_id] - Payment gateway order id.
183
+ * @property {string} order_id - Payment gateway order id.
184
184
  * @property {string} [currency] - Currency code.
185
185
  * @property {number} [amount] - Payable amount.
186
186
  * @property {string} [email] - Customer valid email.
187
187
  */
188
188
  /**
189
- * @typedef PaymentStatusUpdateResponse
189
+ * @typedef PaymentStatusUpdateDetails
190
190
  * @property {string} status - Payment status.
191
191
  * @property {boolean} [success] - Response is successful or not.
192
192
  * @property {boolean} retry - Response is successful or not.
@@ -336,7 +336,7 @@ export = PaymentApplicationModel;
336
336
  * @property {AdvanceObject} [advance]
337
337
  */
338
338
  /**
339
- * @typedef PaymentModeRouteResponse
339
+ * @typedef PaymentModeRouteDetails
340
340
  * @property {PaymentOptionAndFlow} payment_options
341
341
  * @property {boolean} success - Response is successful or not.
342
342
  * @property {Object} [payment_breakup] - Payment Breakup for advance payment.
@@ -370,7 +370,7 @@ export = PaymentApplicationModel;
370
370
  * @property {string} [kyc_url] - Rupifi KYC banner url.
371
371
  */
372
372
  /**
373
- * @typedef RupifiBannerResponse
373
+ * @typedef RupifiBannerDetails
374
374
  * @property {RupifiBannerData} data
375
375
  * @property {boolean} success - Successful or not.
376
376
  */
@@ -381,12 +381,12 @@ export = PaymentApplicationModel;
381
381
  * @property {boolean} display - Need to display banner or not.
382
382
  */
383
383
  /**
384
- * @typedef EpaylaterBannerResponse
384
+ * @typedef EpaylaterBannerDetails
385
385
  * @property {EpaylaterBannerData} data
386
386
  * @property {boolean} success - Successful or not.
387
387
  */
388
388
  /**
389
- * @typedef ResendOrCancelPaymentRequest
389
+ * @typedef ResendOrCancelPayment
390
390
  * @property {string} order_id - Unique order id.
391
391
  * @property {string} [device_id] - EDC machine Unique Identifier.
392
392
  * @property {string} request_type - Either resend or cancel.
@@ -399,21 +399,21 @@ export = PaymentApplicationModel;
399
399
  * status of payment link.
400
400
  */
401
401
  /**
402
- * @typedef ResendOrCancelPaymentResponse
402
+ * @typedef ResendOrCancelPaymentDetails
403
403
  * @property {LinkStatus} data
404
404
  * @property {boolean} success - Response is successful or not.
405
405
  */
406
406
  /**
407
- * @typedef renderHTMLRequest
407
+ * @typedef RenderHTML
408
408
  * @property {string} [returntype] - Return Type of API.
409
409
  * @property {string} base64_html - Base64 encoded html string.
410
410
  */
411
411
  /**
412
- * @typedef renderHTMLResponse
412
+ * @typedef RenderHTMLDetails
413
413
  * @property {string} html - HTML string.
414
414
  */
415
415
  /**
416
- * @typedef ValidateVPARequest
416
+ * @typedef ValidateVPA
417
417
  * @property {string} upi_vpa - UPI ID.
418
418
  * @property {string} [aggregator] - Aggregator slug.
419
419
  */
@@ -425,7 +425,7 @@ export = PaymentApplicationModel;
425
425
  * @property {string} upi_vpa - UPI ID.
426
426
  */
427
427
  /**
428
- * @typedef ValidateVPAResponse
428
+ * @typedef ValidateVPADetails
429
429
  * @property {ValidateUPI} data
430
430
  * @property {boolean} success - Response is successful or not.
431
431
  */
@@ -450,7 +450,7 @@ export = PaymentApplicationModel;
450
450
  * @property {string} bank - Bank associated with the card.
451
451
  */
452
452
  /**
453
- * @typedef CardDetailsResponse
453
+ * @typedef CardDetailsFetchedDetails
454
454
  * @property {CardDetails} data
455
455
  * @property {boolean} success - Response is successful or not.
456
456
  */
@@ -468,21 +468,21 @@ export = PaymentApplicationModel;
468
468
  * @property {string} display_name - Beneficiary Mode Name.
469
469
  */
470
470
  /**
471
- * @typedef TransferModeResponse
471
+ * @typedef TransferModeFetchDetails
472
472
  * @property {TransferModeDetails[]} data - Response Object.
473
473
  */
474
474
  /**
475
- * @typedef UpdateRefundTransferModeRequest
475
+ * @typedef UpdateRefundTransferMode
476
476
  * @property {boolean} enable - True for enabling the Transfer Mode.
477
477
  * @property {string} transfer_mode - Transfer Mode of the Beneficiary to be added.
478
478
  */
479
479
  /**
480
- * @typedef UpdateRefundTransferModeResponse
480
+ * @typedef RefundTransferModeUpdateDetails
481
481
  * @property {boolean} [success] - Response is successful or not.
482
482
  */
483
483
  /**
484
484
  * @typedef OrderBeneficiaryDetails
485
- * @property {string} modified_on - MOdification Date of Beneficiary.
485
+ * @property {string} modified_on - Modification Date of Beneficiary.
486
486
  * @property {string} account_no - Account Number.
487
487
  * @property {string} [mobile] - MObile no of User.
488
488
  * @property {string} bank_name - Bank Name Of Account.
@@ -503,7 +503,7 @@ export = PaymentApplicationModel;
503
503
  * @property {string} display_name - Display Name Of Account.
504
504
  */
505
505
  /**
506
- * @typedef OrderBeneficiaryResponse
506
+ * @typedef OrderBeneficiaryFetchDetails
507
507
  * @property {boolean} [show_beneficiary_details] - Show beneficiary details or not.
508
508
  * @property {OrderBeneficiaryDetails[]} [beneficiaries] - All Beneficiaries Of An Order.
509
509
  */
@@ -514,7 +514,7 @@ export = PaymentApplicationModel;
514
514
  * @property {boolean} success - Response is successful or not.
515
515
  */
516
516
  /**
517
- * @typedef IfscCodeResponse
517
+ * @typedef IfscCodeDetails
518
518
  * @property {string} branch_name - Branch Name Of Account.
519
519
  * @property {boolean} [success] - Response is successful or not.
520
520
  * @property {string} bank_name - Bank Name Of Account.
@@ -526,13 +526,13 @@ export = PaymentApplicationModel;
526
526
  * @property {boolean} success - Response is successful or not.
527
527
  */
528
528
  /**
529
- * @typedef AddBeneficiaryViaOtpVerificationRequest
529
+ * @typedef AddBeneficiaryViaOtpVerification
530
530
  * @property {string} request_id - Request id.
531
531
  * @property {string} hash_key - Hash key of the beneficiary Id.
532
532
  * @property {string} otp - Otp sent to the given Mobile No.
533
533
  */
534
534
  /**
535
- * @typedef AddBeneficiaryViaOtpVerificationResponse
535
+ * @typedef AddBeneficiaryViaOtpVerificationDetails
536
536
  * @property {boolean} [success] - Response is successful or not.
537
537
  * @property {string} message - Aggregator Response of beneficiary.
538
538
  */
@@ -557,7 +557,7 @@ export = PaymentApplicationModel;
557
557
  * @property {string} email - Email of the Account Holder.
558
558
  */
559
559
  /**
560
- * @typedef AddBeneficiaryDetailsRequest
560
+ * @typedef AddBeneficiaryDetails
561
561
  * @property {boolean} delights - True if beneficiary to be added by delights or
562
562
  * False if by User.
563
563
  * @property {string} shipment_id - Shipment Id of the respective Merchant Order Id.
@@ -568,7 +568,7 @@ export = PaymentApplicationModel;
568
568
  * @property {string} [request_id] - Request Id for add benificiary request.
569
569
  */
570
570
  /**
571
- * @typedef RefundAccountResponse
571
+ * @typedef RefundAccountDetails
572
572
  * @property {boolean} [is_verified_flag] - Flag for verification of refund.
573
573
  * @property {Object} [data] - Refund account data.
574
574
  * @property {boolean} success - Success or failure flag.
@@ -583,34 +583,34 @@ export = PaymentApplicationModel;
583
583
  * @property {string} account_holder - Name of the account holder.
584
584
  */
585
585
  /**
586
- * @typedef AddBeneficiaryDetailsOTPRequest
586
+ * @typedef AddBeneficiaryDetailsOTP
587
587
  * @property {string} order_id - Unique identifier for an order.
588
588
  * @property {BankDetailsForOTP} details
589
589
  */
590
590
  /**
591
- * @typedef WalletOtpRequest
591
+ * @typedef WalletOtp
592
592
  * @property {string} country_code - Country Code of the Mobile Number.
593
593
  * @property {string} mobile - Wallet Mobile Number of the User.
594
594
  */
595
595
  /**
596
- * @typedef WalletOtpResponse
596
+ * @typedef WalletOtpDetails
597
597
  * @property {string} request_id - Request Id for wallet otp request.
598
598
  * @property {string} is_verified_flag - Boolean Flag whether OTP Validation is
599
599
  * already done or not.
600
600
  * @property {boolean} [success] - Response is successful or not.
601
601
  */
602
602
  /**
603
- * @typedef SetDefaultBeneficiaryRequest
603
+ * @typedef SetDefaultBeneficiary
604
604
  * @property {string} order_id - Merchant Order Id.
605
605
  * @property {string} beneficiary_id - Beneficiary Hash Id of the beneficiary added.
606
606
  */
607
607
  /**
608
- * @typedef SetDefaultBeneficiaryResponse
608
+ * @typedef SetDefaultBeneficiaryDetails
609
609
  * @property {boolean} is_beneficiary_set - Boolean Flag whether Beneficiary set or not.
610
610
  * @property {boolean} [success] - Response is successful or not.
611
611
  */
612
612
  /**
613
- * @typedef GetPaymentLinkResponse
613
+ * @typedef GetPaymentLinkDetails
614
614
  * @property {number} status_code - HTTP status code.
615
615
  * @property {string} [payment_link_current_status] - Status of payment link.
616
616
  * @property {boolean} success - Successful or failure.
@@ -633,7 +633,7 @@ export = PaymentApplicationModel;
633
633
  * @property {boolean} [invalid_id] - Payment link id is valid or not.
634
634
  */
635
635
  /**
636
- * @typedef ErrorResponse
636
+ * @typedef ErrorDetails
637
637
  * @property {number} status_code - HTTP status code.
638
638
  * @property {ErrorDescription} [error]
639
639
  * @property {string} message - Detailed message.
@@ -649,7 +649,7 @@ export = PaymentApplicationModel;
649
649
  * @property {string} amount - Total amount for the transaction.
650
650
  */
651
651
  /**
652
- * @typedef CreatePaymentLinkRequest
652
+ * @typedef CreatePaymentLink
653
653
  * @property {string} [description] - Merchant order id.
654
654
  * @property {string} external_order_id - Merchant order id.
655
655
  * @property {string} mobile_number - Mobile number to which the payment link is
@@ -657,9 +657,13 @@ export = PaymentApplicationModel;
657
657
  * @property {number} amount - Total value of order.
658
658
  * @property {CreatePaymentLinkMeta} meta
659
659
  * @property {string} email - Email to which the payment link is to be sent.
660
+ * @property {string} [success_redirection_url] - URL to which the user will be
661
+ * redirected after a successful payment.
662
+ * @property {string} [failure_redirection_url] - URL to which the user will be
663
+ * redirected if the payment fails.
660
664
  */
661
665
  /**
662
- * @typedef CreatePaymentLinkResponse
666
+ * @typedef CreatePaymentLinkDetails
663
667
  * @property {number} status_code - HTTP status code.
664
668
  * @property {boolean} success - Successful or failure.
665
669
  * @property {number} [polling_timeout] - Polling request timeout.
@@ -668,24 +672,24 @@ export = PaymentApplicationModel;
668
672
  * @property {string} [payment_link_id] - Unique id of payment link.
669
673
  */
670
674
  /**
671
- * @typedef CancelOrResendPaymentLinkRequest
675
+ * @typedef CancelOrResendPaymentLink
672
676
  * @property {string} payment_link_id - Unique id of payment link.
673
677
  */
674
678
  /**
675
- * @typedef ResendPaymentLinkResponse
679
+ * @typedef ResendPaymentLinkDetails
676
680
  * @property {number} status_code - HTTP status code.
677
681
  * @property {number} [polling_timeout] - Polling request timeout.
678
682
  * @property {boolean} success - Successful or failure.
679
683
  * @property {string} message - Detailed message.
680
684
  */
681
685
  /**
682
- * @typedef CancelPaymentLinkResponse
686
+ * @typedef CancelPaymentLinkDetails
683
687
  * @property {number} status_code - HTTP status code.
684
688
  * @property {boolean} success - Successful or failure.
685
689
  * @property {string} message - Detailed message.
686
690
  */
687
691
  /**
688
- * @typedef PollingPaymentLinkResponse
692
+ * @typedef PollingPaymentLinkDetails
689
693
  * @property {string} [status] - Status of payment link.
690
694
  * @property {number} [status_code] - HTTP status code.
691
695
  * @property {boolean} [success] - Successful or failure.
@@ -710,12 +714,10 @@ export = PaymentApplicationModel;
710
714
  * @property {PaymentMethodsMeta} meta
711
715
  */
712
716
  /**
713
- * @typedef CreateOrderUserRequest
714
- * @property {string} failure_callback_url - Failure page url.
717
+ * @typedef CreateOrderUser
715
718
  * @property {string} currency - Currency of the transaction.
716
719
  * @property {string} payment_link_id - Unique id of payment link.
717
720
  * @property {CreateOrderUserPaymentMethods} payment_methods
718
- * @property {string} success_callback_url - Success page url.
719
721
  * @property {Object} [meta] - Meta details.
720
722
  */
721
723
  /**
@@ -732,7 +734,7 @@ export = PaymentApplicationModel;
732
734
  * @property {string} [email] - Email.
733
735
  */
734
736
  /**
735
- * @typedef CreateOrderUserResponse
737
+ * @typedef CreateOrderUserDetails
736
738
  * @property {number} status_code - HTTP status code.
737
739
  * @property {boolean} success - Successful or failure.
738
740
  * @property {CreateOrderUserData} [data]
@@ -766,7 +768,7 @@ export = PaymentApplicationModel;
766
768
  * @property {string} [activation_url] - Url for activation.
767
769
  */
768
770
  /**
769
- * @typedef CustomerCreditSummaryResponse
771
+ * @typedef CustomerCreditSummaryDetails
770
772
  * @property {CreditSummary} [data]
771
773
  * @property {boolean} success - Payment confirmation updated or not.
772
774
  */
@@ -776,7 +778,7 @@ export = PaymentApplicationModel;
776
778
  * @property {string} signup_url - URL to which the user may redirect.
777
779
  */
778
780
  /**
779
- * @typedef RedirectToAggregatorResponse
781
+ * @typedef RedirectToAggregatorDetails
780
782
  * @property {RedirectURL} data
781
783
  * @property {boolean} success - Status updated or not.
782
784
  */
@@ -787,7 +789,7 @@ export = PaymentApplicationModel;
787
789
  * @property {string} signup_url - URL to which the user may redirect.
788
790
  */
789
791
  /**
790
- * @typedef CheckCreditResponse
792
+ * @typedef CheckCreditDetails
791
793
  * @property {CreditDetail} data
792
794
  * @property {boolean} success - Operation is successful or not.
793
795
  */
@@ -855,7 +857,7 @@ export = PaymentApplicationModel;
855
857
  * @property {string} [os_version] - OS Version.
856
858
  */
857
859
  /**
858
- * @typedef CustomerOnboardingRequest
860
+ * @typedef CustomerOnboarding
859
861
  * @property {UserPersonalInfoInDetails} [personal_info]
860
862
  * @property {string} [mcc] - Merchant Category Code, indicating the type of business.
861
863
  * @property {string} aggregator - Payment aggregator handling the transaction.
@@ -875,26 +877,26 @@ export = PaymentApplicationModel;
875
877
  * @property {string} [activation_url] - Url for activation.
876
878
  */
877
879
  /**
878
- * @typedef CustomerOnboardingResponse
880
+ * @typedef CustomerOnboardingDetails
879
881
  * @property {OnboardSummary} data
880
882
  * @property {boolean} success - Status updated or not.
881
883
  */
882
884
  /**
883
- * @typedef OutstandingOrderDetailsResponse
884
- * @property {number} status_code - HTTP Status code.
885
+ * @typedef OutstandingOrderDetails
886
+ * @property {number} status_code - HTTP status code.
885
887
  * @property {Object[]} [data] - Dict containing the outstanding order details.
886
888
  * @property {boolean} success - Response is successful or not.
887
889
  * @property {string} [message] - Message.
888
890
  */
889
891
  /**
890
- * @typedef PaidOrderDetailsResponse
891
- * @property {number} status_code - HTTP Status code.
892
+ * @typedef PaidOrderDetails
893
+ * @property {number} status_code - HTTP status code.
892
894
  * @property {Object[]} [data] - Dict containing the paid order details.
893
895
  * @property {boolean} success - Response is successful or not.
894
896
  * @property {string} [message] - Message.
895
897
  */
896
898
  /**
897
- * @typedef DeleteRefundAccountResponse
899
+ * @typedef DeleteRefundAccountDetails
898
900
  * @property {boolean} success - Success/Failure of the deleted beneficiary.
899
901
  * @property {string} message - Message.
900
902
  */
@@ -916,14 +918,14 @@ export = PaymentApplicationModel;
916
918
  * Code value.
917
919
  */
918
920
  /**
919
- * @typedef RefundOptionResponse
921
+ * @typedef RefundOptionDetails
920
922
  * @property {OfflineRefundOptions} offline_refund_options - Available offline
921
923
  * refund options data.
922
924
  * @property {boolean} success - Success/Failure Of response.
923
925
  * @property {RefundOptions} refund_options - Available refund options data.
924
926
  */
925
927
  /**
926
- * @typedef SelectedRefundOptionResponse
928
+ * @typedef SelectedRefundOptionDetails
927
929
  * @property {Object} transfer_mode - Selected transfer mode for given shipment.
928
930
  * @property {string} shipment_id - ID of the shipment.
929
931
  * @property {string} message - Detailed message.
@@ -975,14 +977,14 @@ export = PaymentApplicationModel;
975
977
  * @property {UpiBeneficiaryDetails} [upi] - List of all add UPI beneficiary details.
976
978
  */
977
979
  /**
978
- * @typedef OrderBeneficiaryResponseSchemaV2
980
+ * @typedef OrderBeneficiaryDetailsSchemaV2
979
981
  * @property {boolean} show_beneficiary_details - Show Beneficiary details on UI or not.
980
982
  * @property {BeneficiaryRefundOptions} data - Beneficiary Data for Bank
981
983
  * account, UPI and Wallets.
982
984
  * @property {Object} limit - Max Limit for adding bank account, UPI and wallet.
983
985
  */
984
986
  /**
985
- * @typedef ValidateValidateAddressRequest
987
+ * @typedef ValidateValidateAddress
986
988
  * @property {string} [ifsc_code] - IFSC Code.
987
989
  * @property {string} [upi_vpa] - VPA Address.
988
990
  * @property {string} [aggregator] - Aggregator Name.
@@ -995,7 +997,7 @@ export = PaymentApplicationModel;
995
997
  * @property {string} customer_name - VPA Customer Name.
996
998
  */
997
999
  /**
998
- * @typedef ValidateValidateAddressResponse
1000
+ * @typedef ValidateValidateAddressDetails
999
1001
  * @property {VPADetails} [upi] - UPI validation details.
1000
1002
  * @property {boolean} success - Whether address validation is successful or not.
1001
1003
  * @property {Object} [ifsc] - IFSC details response data.
@@ -1015,7 +1017,7 @@ export = PaymentApplicationModel;
1015
1017
  * @property {string} name - Payment mode name.
1016
1018
  */
1017
1019
  /**
1018
- * @typedef PaymentOrderRequest
1020
+ * @typedef PaymentOrder
1019
1021
  * @property {PaymentOrderMethods[]} [payment_methods] - All payment methods for order.
1020
1022
  * @property {string} order_id - Order id.
1021
1023
  * @property {string} [shipment_id] - Shipment_id.
@@ -1034,7 +1036,7 @@ export = PaymentApplicationModel;
1034
1036
  * @property {string} [method] - Method of payment or delivery for the order.
1035
1037
  */
1036
1038
  /**
1037
- * @typedef PaymentOrderResponse
1039
+ * @typedef PaymentOrderDetails
1038
1040
  * @property {string} [payment_confirm_url] - Payment confirm url for aggregator.
1039
1041
  * @property {string} [callback_url] - Callback url for aggregator.
1040
1042
  * @property {string} [order_id] - Merchant order id.
@@ -1044,7 +1046,7 @@ export = PaymentApplicationModel;
1044
1046
  * @property {string} message - Detailed message.
1045
1047
  */
1046
1048
  /**
1047
- * @typedef ShipmentRefundRequest
1049
+ * @typedef ShipmentRefund
1048
1050
  * @property {string} shipment_id - Shipment Id of the respective Merchant Order Id.
1049
1051
  * @property {string} order_id - Merchant Order Id.
1050
1052
  * @property {string} transfer_mode - Transfer Mode of the Beneficiary to be added.
@@ -1060,7 +1062,7 @@ export = PaymentApplicationModel;
1060
1062
  * receiving the refund.
1061
1063
  */
1062
1064
  /**
1063
- * @typedef ShipmentRefundResponse
1065
+ * @typedef ShipmentRefundDetails
1064
1066
  * @property {ShipmentRefundDetail} data - Selected Shipment refund option details.
1065
1067
  * @property {boolean} success - Successful or not.
1066
1068
  * @property {string} message - Detailed message.
@@ -1068,7 +1070,7 @@ export = PaymentApplicationModel;
1068
1070
  declare class PaymentApplicationModel {
1069
1071
  }
1070
1072
  declare namespace PaymentApplicationModel {
1071
- export { AggregatorConfigDetail, AggregatorsConfigDetailResponse, ErrorCodeAndDescription, HttpErrorCodeAndResponse, AttachCardRequest, AttachCardsResponse, CardPaymentGateway, ActiveCardPaymentGatewayResponse, Card, ListCardsResponse, DeletehCardRequest, DeleteCardsResponse, ValidateCustomerRequest, ValidateCustomerResponse, ChargeCustomerRequest, ChargeCustomerResponse, PaymentInitializationRequest, PaymentInitializationResponse, PaymentStatusUpdateRequest, PaymentStatusUpdateResponse, IntentAppErrorList, PaymentModeLogo, IntentApp, PaymentModeList, RootPaymentMode, AggregatorRoute, PaymentDefaultSelection, PaymentFlow, PaymentOptionAndFlow, AdvanceObject, SplitObject, AdvancePaymentObject, PaymentModeRouteResponse, WalletLinkRequestSchema, WalletVerifyRequestSchema, WalletDelinkRequestSchema, WalletResponseSchema, RupifiBannerData, RupifiBannerResponse, EpaylaterBannerData, EpaylaterBannerResponse, ResendOrCancelPaymentRequest, LinkStatus, ResendOrCancelPaymentResponse, renderHTMLRequest, renderHTMLResponse, ValidateVPARequest, ValidateUPI, ValidateVPAResponse, CardDetails, CardDetailsResponse, TransferItemsDetails, TransferModeDetails, TransferModeResponse, UpdateRefundTransferModeRequest, UpdateRefundTransferModeResponse, OrderBeneficiaryDetails, OrderBeneficiaryResponse, NotFoundResourceError, IfscCodeResponse, ErrorCodeDescription, AddBeneficiaryViaOtpVerificationRequest, AddBeneficiaryViaOtpVerificationResponse, WrongOtpError, BeneficiaryModeDetails, AddBeneficiaryDetailsRequest, RefundAccountResponse, BankDetailsForOTP, AddBeneficiaryDetailsOTPRequest, WalletOtpRequest, WalletOtpResponse, SetDefaultBeneficiaryRequest, SetDefaultBeneficiaryResponse, GetPaymentLinkResponse, ErrorDescription, ErrorResponse, CreatePaymentLinkMeta, CreatePaymentLinkRequest, CreatePaymentLinkResponse, CancelOrResendPaymentLinkRequest, ResendPaymentLinkResponse, CancelPaymentLinkResponse, PollingPaymentLinkResponse, PaymentMethodsMeta, CreateOrderUserPaymentMethods, CreateOrderUserRequest, CreateOrderUserData, CreateOrderUserResponse, BalanceDetails, CreditSummary, CustomerCreditSummaryResponse, RedirectURL, RedirectToAggregatorResponse, CreditDetail, CheckCreditResponse, KYCAddress, UserPersonalInfoInDetails, MarketplaceInfo, BusinessDetails, DeviceDetails, CustomerOnboardingRequest, OnboardSummary, CustomerOnboardingResponse, OutstandingOrderDetailsResponse, PaidOrderDetailsResponse, DeleteRefundAccountResponse, RefundOptionsDetails, RefundOptions, OfflineRefundOptions, RefundOptionResponse, SelectedRefundOptionResponse, WalletBeneficiaryDetails, UpiBeneficiaryDetails, BeneficiaryRefundOptions, OrderBeneficiaryResponseSchemaV2, ValidateValidateAddressRequest, VPADetails, ValidateValidateAddressResponse, PaymentMethodsMetaOrder, PaymentOrderMethods, PaymentOrderRequest, PaymentOrderData, PaymentOrderResponse, ShipmentRefundRequest, ShipmentRefundDetail, ShipmentRefundResponse };
1073
+ export { AggregatorConfigDetail, AggregatorsConfigDetail, ErrorCodeAndDescription, HttpErrorCodeDetails, AttachCard, AttachCardsDetails, CardPaymentGateway, ActiveCardPaymentGatewayDetails, Card, ListCardsDetails, DeleteCard, DeleteCardsDetails, ValidateCustomer, ValidateCustomerDetails, ChargeCustomer, ChargeCustomerDetails, PaymentInitialization, PaymentInitializationDetails, PaymentStatusUpdate, PaymentStatusUpdateDetails, IntentAppErrorList, PaymentModeLogo, IntentApp, PaymentModeList, RootPaymentMode, AggregatorRoute, PaymentDefaultSelection, PaymentFlow, PaymentOptionAndFlow, AdvanceObject, SplitObject, AdvancePaymentObject, PaymentModeRouteDetails, WalletLinkRequestSchema, WalletVerifyRequestSchema, WalletDelinkRequestSchema, WalletResponseSchema, RupifiBannerData, RupifiBannerDetails, EpaylaterBannerData, EpaylaterBannerDetails, ResendOrCancelPayment, LinkStatus, ResendOrCancelPaymentDetails, RenderHTML, RenderHTMLDetails, ValidateVPA, ValidateUPI, ValidateVPADetails, CardDetails, CardDetailsFetchedDetails, TransferItemsDetails, TransferModeDetails, TransferModeFetchDetails, UpdateRefundTransferMode, RefundTransferModeUpdateDetails, OrderBeneficiaryDetails, OrderBeneficiaryFetchDetails, NotFoundResourceError, IfscCodeDetails, ErrorCodeDescription, AddBeneficiaryViaOtpVerification, AddBeneficiaryViaOtpVerificationDetails, WrongOtpError, BeneficiaryModeDetails, AddBeneficiaryDetails, RefundAccountDetails, BankDetailsForOTP, AddBeneficiaryDetailsOTP, WalletOtp, WalletOtpDetails, SetDefaultBeneficiary, SetDefaultBeneficiaryDetails, GetPaymentLinkDetails, ErrorDescription, ErrorDetails, CreatePaymentLinkMeta, CreatePaymentLink, CreatePaymentLinkDetails, CancelOrResendPaymentLink, ResendPaymentLinkDetails, CancelPaymentLinkDetails, PollingPaymentLinkDetails, PaymentMethodsMeta, CreateOrderUserPaymentMethods, CreateOrderUser, CreateOrderUserData, CreateOrderUserDetails, BalanceDetails, CreditSummary, CustomerCreditSummaryDetails, RedirectURL, RedirectToAggregatorDetails, CreditDetail, CheckCreditDetails, KYCAddress, UserPersonalInfoInDetails, MarketplaceInfo, BusinessDetails, DeviceDetails, CustomerOnboarding, OnboardSummary, CustomerOnboardingDetails, OutstandingOrderDetails, PaidOrderDetails, DeleteRefundAccountDetails, RefundOptionsDetails, RefundOptions, OfflineRefundOptions, RefundOptionDetails, SelectedRefundOptionDetails, WalletBeneficiaryDetails, UpiBeneficiaryDetails, BeneficiaryRefundOptions, OrderBeneficiaryDetailsSchemaV2, ValidateValidateAddress, VPADetails, ValidateValidateAddressDetails, PaymentMethodsMetaOrder, PaymentOrderMethods, PaymentOrder, PaymentOrderData, PaymentOrderDetails, ShipmentRefund, ShipmentRefundDetail, ShipmentRefundDetails };
1072
1074
  }
1073
1075
  /** @returns {AggregatorConfigDetail} */
1074
1076
  declare function AggregatorConfigDetail(): AggregatorConfigDetail;
@@ -1114,9 +1116,9 @@ type AggregatorConfigDetail = {
1114
1116
  */
1115
1117
  merchant_id?: string;
1116
1118
  };
1117
- /** @returns {AggregatorsConfigDetailResponse} */
1118
- declare function AggregatorsConfigDetailResponse(): AggregatorsConfigDetailResponse;
1119
- type AggregatorsConfigDetailResponse = {
1119
+ /** @returns {AggregatorsConfigDetail} */
1120
+ declare function AggregatorsConfigDetail(): AggregatorsConfigDetail;
1121
+ type AggregatorsConfigDetail = {
1120
1122
  /**
1121
1123
  * - Api response was successful or not.
1122
1124
  */
@@ -1146,18 +1148,18 @@ type ErrorCodeAndDescription = {
1146
1148
  */
1147
1149
  description: string;
1148
1150
  };
1149
- /** @returns {HttpErrorCodeAndResponse} */
1150
- declare function HttpErrorCodeAndResponse(): HttpErrorCodeAndResponse;
1151
- type HttpErrorCodeAndResponse = {
1151
+ /** @returns {HttpErrorCodeDetails} */
1152
+ declare function HttpErrorCodeDetails(): HttpErrorCodeDetails;
1153
+ type HttpErrorCodeDetails = {
1152
1154
  error?: ErrorCodeAndDescription;
1153
1155
  /**
1154
1156
  * - Response is successful or not.
1155
1157
  */
1156
1158
  success: boolean;
1157
1159
  };
1158
- /** @returns {AttachCardRequest} */
1159
- declare function AttachCardRequest(): AttachCardRequest;
1160
- type AttachCardRequest = {
1160
+ /** @returns {AttachCard} */
1161
+ declare function AttachCard(): AttachCard;
1162
+ type AttachCard = {
1161
1163
  /**
1162
1164
  * - Nickname of the card holder.
1163
1165
  */
@@ -1175,9 +1177,9 @@ type AttachCardRequest = {
1175
1177
  */
1176
1178
  name_on_card?: string;
1177
1179
  };
1178
- /** @returns {AttachCardsResponse} */
1179
- declare function AttachCardsResponse(): AttachCardsResponse;
1180
- type AttachCardsResponse = {
1180
+ /** @returns {AttachCardsDetails} */
1181
+ declare function AttachCardsDetails(): AttachCardsDetails;
1182
+ type AttachCardsDetails = {
1181
1183
  /**
1182
1184
  * - List of cards of customer.
1183
1185
  */
@@ -1207,9 +1209,9 @@ type CardPaymentGateway = {
1207
1209
  */
1208
1210
  customer_id?: string;
1209
1211
  };
1210
- /** @returns {ActiveCardPaymentGatewayResponse} */
1211
- declare function ActiveCardPaymentGatewayResponse(): ActiveCardPaymentGatewayResponse;
1212
- type ActiveCardPaymentGatewayResponse = {
1212
+ /** @returns {ActiveCardPaymentGatewayDetails} */
1213
+ declare function ActiveCardPaymentGatewayDetails(): ActiveCardPaymentGatewayDetails;
1214
+ type ActiveCardPaymentGatewayDetails = {
1213
1215
  cards: CardPaymentGateway;
1214
1216
  /**
1215
1217
  * - Response is successful or not.
@@ -1295,9 +1297,9 @@ type Card = {
1295
1297
  */
1296
1298
  card_id?: string;
1297
1299
  };
1298
- /** @returns {ListCardsResponse} */
1299
- declare function ListCardsResponse(): ListCardsResponse;
1300
- type ListCardsResponse = {
1300
+ /** @returns {ListCardsDetails} */
1301
+ declare function ListCardsDetails(): ListCardsDetails;
1302
+ type ListCardsDetails = {
1301
1303
  /**
1302
1304
  * - List of cards of customer.
1303
1305
  */
@@ -1311,17 +1313,17 @@ type ListCardsResponse = {
1311
1313
  */
1312
1314
  message: string;
1313
1315
  };
1314
- /** @returns {DeletehCardRequest} */
1315
- declare function DeletehCardRequest(): DeletehCardRequest;
1316
- type DeletehCardRequest = {
1316
+ /** @returns {DeleteCard} */
1317
+ declare function DeleteCard(): DeleteCard;
1318
+ type DeleteCard = {
1317
1319
  /**
1318
1320
  * - Card token of payment gateway.
1319
1321
  */
1320
1322
  card_id: string;
1321
1323
  };
1322
- /** @returns {DeleteCardsResponse} */
1323
- declare function DeleteCardsResponse(): DeleteCardsResponse;
1324
- type DeleteCardsResponse = {
1324
+ /** @returns {DeleteCardsDetails} */
1325
+ declare function DeleteCardsDetails(): DeleteCardsDetails;
1326
+ type DeleteCardsDetails = {
1325
1327
  /**
1326
1328
  * - Response is successful or not.
1327
1329
  */
@@ -1331,9 +1333,9 @@ type DeleteCardsResponse = {
1331
1333
  */
1332
1334
  message?: string;
1333
1335
  };
1334
- /** @returns {ValidateCustomerRequest} */
1335
- declare function ValidateCustomerRequest(): ValidateCustomerRequest;
1336
- type ValidateCustomerRequest = {
1336
+ /** @returns {ValidateCustomer} */
1337
+ declare function ValidateCustomer(): ValidateCustomer;
1338
+ type ValidateCustomer = {
1337
1339
  /**
1338
1340
  * - Payment gateway name in camelcase i.e Simple, Rupifi.
1339
1341
  */
@@ -1367,9 +1369,9 @@ type ValidateCustomerRequest = {
1367
1369
  */
1368
1370
  delivery_address?: any;
1369
1371
  };
1370
- /** @returns {ValidateCustomerResponse} */
1371
- declare function ValidateCustomerResponse(): ValidateCustomerResponse;
1372
- type ValidateCustomerResponse = {
1372
+ /** @returns {ValidateCustomerDetails} */
1373
+ declare function ValidateCustomerDetails(): ValidateCustomerDetails;
1374
+ type ValidateCustomerDetails = {
1373
1375
  /**
1374
1376
  * - Payment gateway response data.
1375
1377
  */
@@ -1383,9 +1385,9 @@ type ValidateCustomerResponse = {
1383
1385
  */
1384
1386
  message: string;
1385
1387
  };
1386
- /** @returns {ChargeCustomerRequest} */
1387
- declare function ChargeCustomerRequest(): ChargeCustomerRequest;
1388
- type ChargeCustomerRequest = {
1388
+ /** @returns {ChargeCustomer} */
1389
+ declare function ChargeCustomer(): ChargeCustomer;
1390
+ type ChargeCustomer = {
1389
1391
  /**
1390
1392
  * - Already Verified flag from payment gateway i.e Mswipe.
1391
1393
  */
@@ -1407,9 +1409,9 @@ type ChargeCustomerRequest = {
1407
1409
  */
1408
1410
  amount: number;
1409
1411
  };
1410
- /** @returns {ChargeCustomerResponse} */
1411
- declare function ChargeCustomerResponse(): ChargeCustomerResponse;
1412
- type ChargeCustomerResponse = {
1412
+ /** @returns {ChargeCustomerDetails} */
1413
+ declare function ChargeCustomerDetails(): ChargeCustomerDetails;
1414
+ type ChargeCustomerDetails = {
1413
1415
  /**
1414
1416
  * - Status of charged payment.
1415
1417
  */
@@ -1439,9 +1441,9 @@ type ChargeCustomerResponse = {
1439
1441
  */
1440
1442
  delivery_address_id?: string;
1441
1443
  };
1442
- /** @returns {PaymentInitializationRequest} */
1443
- declare function PaymentInitializationRequest(): PaymentInitializationRequest;
1444
- type PaymentInitializationRequest = {
1444
+ /** @returns {PaymentInitialization} */
1445
+ declare function PaymentInitialization(): PaymentInitialization;
1446
+ type PaymentInitialization = {
1445
1447
  /**
1446
1448
  * - Payment gateway payment id.
1447
1449
  */
@@ -1495,9 +1497,9 @@ type PaymentInitializationRequest = {
1495
1497
  */
1496
1498
  email: string;
1497
1499
  };
1498
- /** @returns {PaymentInitializationResponse} */
1499
- declare function PaymentInitializationResponse(): PaymentInitializationResponse;
1500
- type PaymentInitializationResponse = {
1500
+ /** @returns {PaymentInitializationDetails} */
1501
+ declare function PaymentInitializationDetails(): PaymentInitializationDetails;
1502
+ type PaymentInitializationDetails = {
1501
1503
  /**
1502
1504
  * - Status of payment.
1503
1505
  */
@@ -1567,13 +1569,13 @@ type PaymentInitializationResponse = {
1567
1569
  */
1568
1570
  bqr_image?: string;
1569
1571
  };
1570
- /** @returns {PaymentStatusUpdateRequest} */
1571
- declare function PaymentStatusUpdateRequest(): PaymentStatusUpdateRequest;
1572
- type PaymentStatusUpdateRequest = {
1572
+ /** @returns {PaymentStatusUpdate} */
1573
+ declare function PaymentStatusUpdate(): PaymentStatusUpdate;
1574
+ type PaymentStatusUpdate = {
1573
1575
  /**
1574
1576
  * - Status of payment.
1575
1577
  */
1576
- status?: string;
1578
+ status: string;
1577
1579
  /**
1578
1580
  * - Unique fynd transaction id.
1579
1581
  */
@@ -1609,7 +1611,7 @@ type PaymentStatusUpdateRequest = {
1609
1611
  /**
1610
1612
  * - Payment gateway order id.
1611
1613
  */
1612
- order_id?: string;
1614
+ order_id: string;
1613
1615
  /**
1614
1616
  * - Currency code.
1615
1617
  */
@@ -1623,9 +1625,9 @@ type PaymentStatusUpdateRequest = {
1623
1625
  */
1624
1626
  email?: string;
1625
1627
  };
1626
- /** @returns {PaymentStatusUpdateResponse} */
1627
- declare function PaymentStatusUpdateResponse(): PaymentStatusUpdateResponse;
1628
- type PaymentStatusUpdateResponse = {
1628
+ /** @returns {PaymentStatusUpdateDetails} */
1629
+ declare function PaymentStatusUpdateDetails(): PaymentStatusUpdateDetails;
1630
+ type PaymentStatusUpdateDetails = {
1629
1631
  /**
1630
1632
  * - Payment status.
1631
1633
  */
@@ -2029,9 +2031,9 @@ type AdvancePaymentObject = {
2029
2031
  split?: SplitObject;
2030
2032
  advance?: AdvanceObject;
2031
2033
  };
2032
- /** @returns {PaymentModeRouteResponse} */
2033
- declare function PaymentModeRouteResponse(): PaymentModeRouteResponse;
2034
- type PaymentModeRouteResponse = {
2034
+ /** @returns {PaymentModeRouteDetails} */
2035
+ declare function PaymentModeRouteDetails(): PaymentModeRouteDetails;
2036
+ type PaymentModeRouteDetails = {
2035
2037
  payment_options: PaymentOptionAndFlow;
2036
2038
  /**
2037
2039
  * - Response is successful or not.
@@ -2114,9 +2116,9 @@ type RupifiBannerData = {
2114
2116
  */
2115
2117
  kyc_url?: string;
2116
2118
  };
2117
- /** @returns {RupifiBannerResponse} */
2118
- declare function RupifiBannerResponse(): RupifiBannerResponse;
2119
- type RupifiBannerResponse = {
2119
+ /** @returns {RupifiBannerDetails} */
2120
+ declare function RupifiBannerDetails(): RupifiBannerDetails;
2121
+ type RupifiBannerDetails = {
2120
2122
  data: RupifiBannerData;
2121
2123
  /**
2122
2124
  * - Successful or not.
@@ -2139,18 +2141,18 @@ type EpaylaterBannerData = {
2139
2141
  */
2140
2142
  display: boolean;
2141
2143
  };
2142
- /** @returns {EpaylaterBannerResponse} */
2143
- declare function EpaylaterBannerResponse(): EpaylaterBannerResponse;
2144
- type EpaylaterBannerResponse = {
2144
+ /** @returns {EpaylaterBannerDetails} */
2145
+ declare function EpaylaterBannerDetails(): EpaylaterBannerDetails;
2146
+ type EpaylaterBannerDetails = {
2145
2147
  data: EpaylaterBannerData;
2146
2148
  /**
2147
2149
  * - Successful or not.
2148
2150
  */
2149
2151
  success: boolean;
2150
2152
  };
2151
- /** @returns {ResendOrCancelPaymentRequest} */
2152
- declare function ResendOrCancelPaymentRequest(): ResendOrCancelPaymentRequest;
2153
- type ResendOrCancelPaymentRequest = {
2153
+ /** @returns {ResendOrCancelPayment} */
2154
+ declare function ResendOrCancelPayment(): ResendOrCancelPayment;
2155
+ type ResendOrCancelPayment = {
2154
2156
  /**
2155
2157
  * - Unique order id.
2156
2158
  */
@@ -2181,18 +2183,18 @@ type LinkStatus = {
2181
2183
  */
2182
2184
  is_payment_done?: boolean;
2183
2185
  };
2184
- /** @returns {ResendOrCancelPaymentResponse} */
2185
- declare function ResendOrCancelPaymentResponse(): ResendOrCancelPaymentResponse;
2186
- type ResendOrCancelPaymentResponse = {
2186
+ /** @returns {ResendOrCancelPaymentDetails} */
2187
+ declare function ResendOrCancelPaymentDetails(): ResendOrCancelPaymentDetails;
2188
+ type ResendOrCancelPaymentDetails = {
2187
2189
  data: LinkStatus;
2188
2190
  /**
2189
2191
  * - Response is successful or not.
2190
2192
  */
2191
2193
  success: boolean;
2192
2194
  };
2193
- /** @returns {renderHTMLRequest} */
2194
- declare function renderHTMLRequest(): renderHTMLRequest;
2195
- type renderHTMLRequest = {
2195
+ /** @returns {RenderHTML} */
2196
+ declare function RenderHTML(): RenderHTML;
2197
+ type RenderHTML = {
2196
2198
  /**
2197
2199
  * - Return Type of API.
2198
2200
  */
@@ -2202,17 +2204,17 @@ type renderHTMLRequest = {
2202
2204
  */
2203
2205
  base64_html: string;
2204
2206
  };
2205
- /** @returns {renderHTMLResponse} */
2206
- declare function renderHTMLResponse(): renderHTMLResponse;
2207
- type renderHTMLResponse = {
2207
+ /** @returns {RenderHTMLDetails} */
2208
+ declare function RenderHTMLDetails(): RenderHTMLDetails;
2209
+ type RenderHTMLDetails = {
2208
2210
  /**
2209
2211
  * - HTML string.
2210
2212
  */
2211
2213
  html: string;
2212
2214
  };
2213
- /** @returns {ValidateVPARequest} */
2214
- declare function ValidateVPARequest(): ValidateVPARequest;
2215
- type ValidateVPARequest = {
2215
+ /** @returns {ValidateVPA} */
2216
+ declare function ValidateVPA(): ValidateVPA;
2217
+ type ValidateVPA = {
2216
2218
  /**
2217
2219
  * - UPI ID.
2218
2220
  */
@@ -2242,9 +2244,9 @@ type ValidateUPI = {
2242
2244
  */
2243
2245
  upi_vpa: string;
2244
2246
  };
2245
- /** @returns {ValidateVPAResponse} */
2246
- declare function ValidateVPAResponse(): ValidateVPAResponse;
2247
- type ValidateVPAResponse = {
2247
+ /** @returns {ValidateVPADetails} */
2248
+ declare function ValidateVPADetails(): ValidateVPADetails;
2249
+ type ValidateVPADetails = {
2248
2250
  data: ValidateUPI;
2249
2251
  /**
2250
2252
  * - Response is successful or not.
@@ -2320,9 +2322,9 @@ type CardDetails = {
2320
2322
  */
2321
2323
  bank: string;
2322
2324
  };
2323
- /** @returns {CardDetailsResponse} */
2324
- declare function CardDetailsResponse(): CardDetailsResponse;
2325
- type CardDetailsResponse = {
2325
+ /** @returns {CardDetailsFetchedDetails} */
2326
+ declare function CardDetailsFetchedDetails(): CardDetailsFetchedDetails;
2327
+ type CardDetailsFetchedDetails = {
2326
2328
  data: CardDetails;
2327
2329
  /**
2328
2330
  * - Response is successful or not.
@@ -2365,17 +2367,17 @@ type TransferModeDetails = {
2365
2367
  */
2366
2368
  display_name: string;
2367
2369
  };
2368
- /** @returns {TransferModeResponse} */
2369
- declare function TransferModeResponse(): TransferModeResponse;
2370
- type TransferModeResponse = {
2370
+ /** @returns {TransferModeFetchDetails} */
2371
+ declare function TransferModeFetchDetails(): TransferModeFetchDetails;
2372
+ type TransferModeFetchDetails = {
2371
2373
  /**
2372
2374
  * - Response Object.
2373
2375
  */
2374
2376
  data: TransferModeDetails[];
2375
2377
  };
2376
- /** @returns {UpdateRefundTransferModeRequest} */
2377
- declare function UpdateRefundTransferModeRequest(): UpdateRefundTransferModeRequest;
2378
- type UpdateRefundTransferModeRequest = {
2378
+ /** @returns {UpdateRefundTransferMode} */
2379
+ declare function UpdateRefundTransferMode(): UpdateRefundTransferMode;
2380
+ type UpdateRefundTransferMode = {
2379
2381
  /**
2380
2382
  * - True for enabling the Transfer Mode.
2381
2383
  */
@@ -2385,9 +2387,9 @@ type UpdateRefundTransferModeRequest = {
2385
2387
  */
2386
2388
  transfer_mode: string;
2387
2389
  };
2388
- /** @returns {UpdateRefundTransferModeResponse} */
2389
- declare function UpdateRefundTransferModeResponse(): UpdateRefundTransferModeResponse;
2390
- type UpdateRefundTransferModeResponse = {
2390
+ /** @returns {RefundTransferModeUpdateDetails} */
2391
+ declare function RefundTransferModeUpdateDetails(): RefundTransferModeUpdateDetails;
2392
+ type RefundTransferModeUpdateDetails = {
2391
2393
  /**
2392
2394
  * - Response is successful or not.
2393
2395
  */
@@ -2397,7 +2399,7 @@ type UpdateRefundTransferModeResponse = {
2397
2399
  declare function OrderBeneficiaryDetails(): OrderBeneficiaryDetails;
2398
2400
  type OrderBeneficiaryDetails = {
2399
2401
  /**
2400
- * - MOdification Date of Beneficiary.
2402
+ * - Modification Date of Beneficiary.
2401
2403
  */
2402
2404
  modified_on: string;
2403
2405
  /**
@@ -2473,9 +2475,9 @@ type OrderBeneficiaryDetails = {
2473
2475
  */
2474
2476
  display_name: string;
2475
2477
  };
2476
- /** @returns {OrderBeneficiaryResponse} */
2477
- declare function OrderBeneficiaryResponse(): OrderBeneficiaryResponse;
2478
- type OrderBeneficiaryResponse = {
2478
+ /** @returns {OrderBeneficiaryFetchDetails} */
2479
+ declare function OrderBeneficiaryFetchDetails(): OrderBeneficiaryFetchDetails;
2480
+ type OrderBeneficiaryFetchDetails = {
2479
2481
  /**
2480
2482
  * - Show beneficiary details or not.
2481
2483
  */
@@ -2501,9 +2503,9 @@ type NotFoundResourceError = {
2501
2503
  */
2502
2504
  success: boolean;
2503
2505
  };
2504
- /** @returns {IfscCodeResponse} */
2505
- declare function IfscCodeResponse(): IfscCodeResponse;
2506
- type IfscCodeResponse = {
2506
+ /** @returns {IfscCodeDetails} */
2507
+ declare function IfscCodeDetails(): IfscCodeDetails;
2508
+ type IfscCodeDetails = {
2507
2509
  /**
2508
2510
  * - Branch Name Of Account.
2509
2511
  */
@@ -2533,9 +2535,9 @@ type ErrorCodeDescription = {
2533
2535
  */
2534
2536
  success: boolean;
2535
2537
  };
2536
- /** @returns {AddBeneficiaryViaOtpVerificationRequest} */
2537
- declare function AddBeneficiaryViaOtpVerificationRequest(): AddBeneficiaryViaOtpVerificationRequest;
2538
- type AddBeneficiaryViaOtpVerificationRequest = {
2538
+ /** @returns {AddBeneficiaryViaOtpVerification} */
2539
+ declare function AddBeneficiaryViaOtpVerification(): AddBeneficiaryViaOtpVerification;
2540
+ type AddBeneficiaryViaOtpVerification = {
2539
2541
  /**
2540
2542
  * - Request id.
2541
2543
  */
@@ -2549,9 +2551,9 @@ type AddBeneficiaryViaOtpVerificationRequest = {
2549
2551
  */
2550
2552
  otp: string;
2551
2553
  };
2552
- /** @returns {AddBeneficiaryViaOtpVerificationResponse} */
2553
- declare function AddBeneficiaryViaOtpVerificationResponse(): AddBeneficiaryViaOtpVerificationResponse;
2554
- type AddBeneficiaryViaOtpVerificationResponse = {
2554
+ /** @returns {AddBeneficiaryViaOtpVerificationDetails} */
2555
+ declare function AddBeneficiaryViaOtpVerificationDetails(): AddBeneficiaryViaOtpVerificationDetails;
2556
+ type AddBeneficiaryViaOtpVerificationDetails = {
2555
2557
  /**
2556
2558
  * - Response is successful or not.
2557
2559
  */
@@ -2625,9 +2627,9 @@ type BeneficiaryModeDetails = {
2625
2627
  */
2626
2628
  email: string;
2627
2629
  };
2628
- /** @returns {AddBeneficiaryDetailsRequest} */
2629
- declare function AddBeneficiaryDetailsRequest(): AddBeneficiaryDetailsRequest;
2630
- type AddBeneficiaryDetailsRequest = {
2630
+ /** @returns {AddBeneficiaryDetails} */
2631
+ declare function AddBeneficiaryDetails(): AddBeneficiaryDetails;
2632
+ type AddBeneficiaryDetails = {
2631
2633
  /**
2632
2634
  * - True if beneficiary to be added by delights or
2633
2635
  * False if by User.
@@ -2655,9 +2657,9 @@ type AddBeneficiaryDetailsRequest = {
2655
2657
  */
2656
2658
  request_id?: string;
2657
2659
  };
2658
- /** @returns {RefundAccountResponse} */
2659
- declare function RefundAccountResponse(): RefundAccountResponse;
2660
- type RefundAccountResponse = {
2660
+ /** @returns {RefundAccountDetails} */
2661
+ declare function RefundAccountDetails(): RefundAccountDetails;
2662
+ type RefundAccountDetails = {
2661
2663
  /**
2662
2664
  * - Flag for verification of refund.
2663
2665
  */
@@ -2699,18 +2701,18 @@ type BankDetailsForOTP = {
2699
2701
  */
2700
2702
  account_holder: string;
2701
2703
  };
2702
- /** @returns {AddBeneficiaryDetailsOTPRequest} */
2703
- declare function AddBeneficiaryDetailsOTPRequest(): AddBeneficiaryDetailsOTPRequest;
2704
- type AddBeneficiaryDetailsOTPRequest = {
2704
+ /** @returns {AddBeneficiaryDetailsOTP} */
2705
+ declare function AddBeneficiaryDetailsOTP(): AddBeneficiaryDetailsOTP;
2706
+ type AddBeneficiaryDetailsOTP = {
2705
2707
  /**
2706
2708
  * - Unique identifier for an order.
2707
2709
  */
2708
2710
  order_id: string;
2709
2711
  details: BankDetailsForOTP;
2710
2712
  };
2711
- /** @returns {WalletOtpRequest} */
2712
- declare function WalletOtpRequest(): WalletOtpRequest;
2713
- type WalletOtpRequest = {
2713
+ /** @returns {WalletOtp} */
2714
+ declare function WalletOtp(): WalletOtp;
2715
+ type WalletOtp = {
2714
2716
  /**
2715
2717
  * - Country Code of the Mobile Number.
2716
2718
  */
@@ -2720,9 +2722,9 @@ type WalletOtpRequest = {
2720
2722
  */
2721
2723
  mobile: string;
2722
2724
  };
2723
- /** @returns {WalletOtpResponse} */
2724
- declare function WalletOtpResponse(): WalletOtpResponse;
2725
- type WalletOtpResponse = {
2725
+ /** @returns {WalletOtpDetails} */
2726
+ declare function WalletOtpDetails(): WalletOtpDetails;
2727
+ type WalletOtpDetails = {
2726
2728
  /**
2727
2729
  * - Request Id for wallet otp request.
2728
2730
  */
@@ -2737,9 +2739,9 @@ type WalletOtpResponse = {
2737
2739
  */
2738
2740
  success?: boolean;
2739
2741
  };
2740
- /** @returns {SetDefaultBeneficiaryRequest} */
2741
- declare function SetDefaultBeneficiaryRequest(): SetDefaultBeneficiaryRequest;
2742
- type SetDefaultBeneficiaryRequest = {
2742
+ /** @returns {SetDefaultBeneficiary} */
2743
+ declare function SetDefaultBeneficiary(): SetDefaultBeneficiary;
2744
+ type SetDefaultBeneficiary = {
2743
2745
  /**
2744
2746
  * - Merchant Order Id.
2745
2747
  */
@@ -2749,9 +2751,9 @@ type SetDefaultBeneficiaryRequest = {
2749
2751
  */
2750
2752
  beneficiary_id: string;
2751
2753
  };
2752
- /** @returns {SetDefaultBeneficiaryResponse} */
2753
- declare function SetDefaultBeneficiaryResponse(): SetDefaultBeneficiaryResponse;
2754
- type SetDefaultBeneficiaryResponse = {
2754
+ /** @returns {SetDefaultBeneficiaryDetails} */
2755
+ declare function SetDefaultBeneficiaryDetails(): SetDefaultBeneficiaryDetails;
2756
+ type SetDefaultBeneficiaryDetails = {
2755
2757
  /**
2756
2758
  * - Boolean Flag whether Beneficiary set or not.
2757
2759
  */
@@ -2761,9 +2763,9 @@ type SetDefaultBeneficiaryResponse = {
2761
2763
  */
2762
2764
  success?: boolean;
2763
2765
  };
2764
- /** @returns {GetPaymentLinkResponse} */
2765
- declare function GetPaymentLinkResponse(): GetPaymentLinkResponse;
2766
- type GetPaymentLinkResponse = {
2766
+ /** @returns {GetPaymentLinkDetails} */
2767
+ declare function GetPaymentLinkDetails(): GetPaymentLinkDetails;
2768
+ type GetPaymentLinkDetails = {
2767
2769
  /**
2768
2770
  * - HTTP status code.
2769
2771
  */
@@ -2837,9 +2839,9 @@ type ErrorDescription = {
2837
2839
  */
2838
2840
  invalid_id?: boolean;
2839
2841
  };
2840
- /** @returns {ErrorResponse} */
2841
- declare function ErrorResponse(): ErrorResponse;
2842
- type ErrorResponse = {
2842
+ /** @returns {ErrorDetails} */
2843
+ declare function ErrorDetails(): ErrorDetails;
2844
+ type ErrorDetails = {
2843
2845
  /**
2844
2846
  * - HTTP status code.
2845
2847
  */
@@ -2876,9 +2878,9 @@ type CreatePaymentLinkMeta = {
2876
2878
  */
2877
2879
  amount: string;
2878
2880
  };
2879
- /** @returns {CreatePaymentLinkRequest} */
2880
- declare function CreatePaymentLinkRequest(): CreatePaymentLinkRequest;
2881
- type CreatePaymentLinkRequest = {
2881
+ /** @returns {CreatePaymentLink} */
2882
+ declare function CreatePaymentLink(): CreatePaymentLink;
2883
+ type CreatePaymentLink = {
2882
2884
  /**
2883
2885
  * - Merchant order id.
2884
2886
  */
@@ -2901,10 +2903,20 @@ type CreatePaymentLinkRequest = {
2901
2903
  * - Email to which the payment link is to be sent.
2902
2904
  */
2903
2905
  email: string;
2906
+ /**
2907
+ * - URL to which the user will be
2908
+ * redirected after a successful payment.
2909
+ */
2910
+ success_redirection_url?: string;
2911
+ /**
2912
+ * - URL to which the user will be
2913
+ * redirected if the payment fails.
2914
+ */
2915
+ failure_redirection_url?: string;
2904
2916
  };
2905
- /** @returns {CreatePaymentLinkResponse} */
2906
- declare function CreatePaymentLinkResponse(): CreatePaymentLinkResponse;
2907
- type CreatePaymentLinkResponse = {
2917
+ /** @returns {CreatePaymentLinkDetails} */
2918
+ declare function CreatePaymentLinkDetails(): CreatePaymentLinkDetails;
2919
+ type CreatePaymentLinkDetails = {
2908
2920
  /**
2909
2921
  * - HTTP status code.
2910
2922
  */
@@ -2930,17 +2942,17 @@ type CreatePaymentLinkResponse = {
2930
2942
  */
2931
2943
  payment_link_id?: string;
2932
2944
  };
2933
- /** @returns {CancelOrResendPaymentLinkRequest} */
2934
- declare function CancelOrResendPaymentLinkRequest(): CancelOrResendPaymentLinkRequest;
2935
- type CancelOrResendPaymentLinkRequest = {
2945
+ /** @returns {CancelOrResendPaymentLink} */
2946
+ declare function CancelOrResendPaymentLink(): CancelOrResendPaymentLink;
2947
+ type CancelOrResendPaymentLink = {
2936
2948
  /**
2937
2949
  * - Unique id of payment link.
2938
2950
  */
2939
2951
  payment_link_id: string;
2940
2952
  };
2941
- /** @returns {ResendPaymentLinkResponse} */
2942
- declare function ResendPaymentLinkResponse(): ResendPaymentLinkResponse;
2943
- type ResendPaymentLinkResponse = {
2953
+ /** @returns {ResendPaymentLinkDetails} */
2954
+ declare function ResendPaymentLinkDetails(): ResendPaymentLinkDetails;
2955
+ type ResendPaymentLinkDetails = {
2944
2956
  /**
2945
2957
  * - HTTP status code.
2946
2958
  */
@@ -2958,9 +2970,9 @@ type ResendPaymentLinkResponse = {
2958
2970
  */
2959
2971
  message: string;
2960
2972
  };
2961
- /** @returns {CancelPaymentLinkResponse} */
2962
- declare function CancelPaymentLinkResponse(): CancelPaymentLinkResponse;
2963
- type CancelPaymentLinkResponse = {
2973
+ /** @returns {CancelPaymentLinkDetails} */
2974
+ declare function CancelPaymentLinkDetails(): CancelPaymentLinkDetails;
2975
+ type CancelPaymentLinkDetails = {
2964
2976
  /**
2965
2977
  * - HTTP status code.
2966
2978
  */
@@ -2974,9 +2986,9 @@ type CancelPaymentLinkResponse = {
2974
2986
  */
2975
2987
  message: string;
2976
2988
  };
2977
- /** @returns {PollingPaymentLinkResponse} */
2978
- declare function PollingPaymentLinkResponse(): PollingPaymentLinkResponse;
2979
- type PollingPaymentLinkResponse = {
2989
+ /** @returns {PollingPaymentLinkDetails} */
2990
+ declare function PollingPaymentLinkDetails(): PollingPaymentLinkDetails;
2991
+ type PollingPaymentLinkDetails = {
2980
2992
  /**
2981
2993
  * - Status of payment link.
2982
2994
  */
@@ -3047,13 +3059,9 @@ type CreateOrderUserPaymentMethods = {
3047
3059
  mode: string;
3048
3060
  meta: PaymentMethodsMeta;
3049
3061
  };
3050
- /** @returns {CreateOrderUserRequest} */
3051
- declare function CreateOrderUserRequest(): CreateOrderUserRequest;
3052
- type CreateOrderUserRequest = {
3053
- /**
3054
- * - Failure page url.
3055
- */
3056
- failure_callback_url: string;
3062
+ /** @returns {CreateOrderUser} */
3063
+ declare function CreateOrderUser(): CreateOrderUser;
3064
+ type CreateOrderUser = {
3057
3065
  /**
3058
3066
  * - Currency of the transaction.
3059
3067
  */
@@ -3063,10 +3071,6 @@ type CreateOrderUserRequest = {
3063
3071
  */
3064
3072
  payment_link_id: string;
3065
3073
  payment_methods: CreateOrderUserPaymentMethods;
3066
- /**
3067
- * - Success page url.
3068
- */
3069
- success_callback_url: string;
3070
3074
  /**
3071
3075
  * - Meta details.
3072
3076
  */
@@ -3116,9 +3120,9 @@ type CreateOrderUserData = {
3116
3120
  */
3117
3121
  email?: string;
3118
3122
  };
3119
- /** @returns {CreateOrderUserResponse} */
3120
- declare function CreateOrderUserResponse(): CreateOrderUserResponse;
3121
- type CreateOrderUserResponse = {
3123
+ /** @returns {CreateOrderUserDetails} */
3124
+ declare function CreateOrderUserDetails(): CreateOrderUserDetails;
3125
+ type CreateOrderUserDetails = {
3122
3126
  /**
3123
3127
  * - HTTP status code.
3124
3128
  */
@@ -3210,9 +3214,9 @@ type CreditSummary = {
3210
3214
  */
3211
3215
  activation_url?: string;
3212
3216
  };
3213
- /** @returns {CustomerCreditSummaryResponse} */
3214
- declare function CustomerCreditSummaryResponse(): CustomerCreditSummaryResponse;
3215
- type CustomerCreditSummaryResponse = {
3217
+ /** @returns {CustomerCreditSummaryDetails} */
3218
+ declare function CustomerCreditSummaryDetails(): CustomerCreditSummaryDetails;
3219
+ type CustomerCreditSummaryDetails = {
3216
3220
  data?: CreditSummary;
3217
3221
  /**
3218
3222
  * - Payment confirmation updated or not.
@@ -3231,9 +3235,9 @@ type RedirectURL = {
3231
3235
  */
3232
3236
  signup_url: string;
3233
3237
  };
3234
- /** @returns {RedirectToAggregatorResponse} */
3235
- declare function RedirectToAggregatorResponse(): RedirectToAggregatorResponse;
3236
- type RedirectToAggregatorResponse = {
3238
+ /** @returns {RedirectToAggregatorDetails} */
3239
+ declare function RedirectToAggregatorDetails(): RedirectToAggregatorDetails;
3240
+ type RedirectToAggregatorDetails = {
3237
3241
  data: RedirectURL;
3238
3242
  /**
3239
3243
  * - Status updated or not.
@@ -3256,9 +3260,9 @@ type CreditDetail = {
3256
3260
  */
3257
3261
  signup_url: string;
3258
3262
  };
3259
- /** @returns {CheckCreditResponse} */
3260
- declare function CheckCreditResponse(): CheckCreditResponse;
3261
- type CheckCreditResponse = {
3263
+ /** @returns {CheckCreditDetails} */
3264
+ declare function CheckCreditDetails(): CheckCreditDetails;
3265
+ type CheckCreditDetails = {
3262
3266
  data: CreditDetail;
3263
3267
  /**
3264
3268
  * - Operation is successful or not.
@@ -3459,9 +3463,9 @@ type DeviceDetails = {
3459
3463
  */
3460
3464
  os_version?: string;
3461
3465
  };
3462
- /** @returns {CustomerOnboardingRequest} */
3463
- declare function CustomerOnboardingRequest(): CustomerOnboardingRequest;
3464
- type CustomerOnboardingRequest = {
3466
+ /** @returns {CustomerOnboarding} */
3467
+ declare function CustomerOnboarding(): CustomerOnboarding;
3468
+ type CustomerOnboarding = {
3465
3469
  personal_info?: UserPersonalInfoInDetails;
3466
3470
  /**
3467
3471
  * - Merchant Category Code, indicating the type of business.
@@ -3511,20 +3515,20 @@ type OnboardSummary = {
3511
3515
  */
3512
3516
  activation_url?: string;
3513
3517
  };
3514
- /** @returns {CustomerOnboardingResponse} */
3515
- declare function CustomerOnboardingResponse(): CustomerOnboardingResponse;
3516
- type CustomerOnboardingResponse = {
3518
+ /** @returns {CustomerOnboardingDetails} */
3519
+ declare function CustomerOnboardingDetails(): CustomerOnboardingDetails;
3520
+ type CustomerOnboardingDetails = {
3517
3521
  data: OnboardSummary;
3518
3522
  /**
3519
3523
  * - Status updated or not.
3520
3524
  */
3521
3525
  success: boolean;
3522
3526
  };
3523
- /** @returns {OutstandingOrderDetailsResponse} */
3524
- declare function OutstandingOrderDetailsResponse(): OutstandingOrderDetailsResponse;
3525
- type OutstandingOrderDetailsResponse = {
3527
+ /** @returns {OutstandingOrderDetails} */
3528
+ declare function OutstandingOrderDetails(): OutstandingOrderDetails;
3529
+ type OutstandingOrderDetails = {
3526
3530
  /**
3527
- * - HTTP Status code.
3531
+ * - HTTP status code.
3528
3532
  */
3529
3533
  status_code: number;
3530
3534
  /**
@@ -3540,11 +3544,11 @@ type OutstandingOrderDetailsResponse = {
3540
3544
  */
3541
3545
  message?: string;
3542
3546
  };
3543
- /** @returns {PaidOrderDetailsResponse} */
3544
- declare function PaidOrderDetailsResponse(): PaidOrderDetailsResponse;
3545
- type PaidOrderDetailsResponse = {
3547
+ /** @returns {PaidOrderDetails} */
3548
+ declare function PaidOrderDetails(): PaidOrderDetails;
3549
+ type PaidOrderDetails = {
3546
3550
  /**
3547
- * - HTTP Status code.
3551
+ * - HTTP status code.
3548
3552
  */
3549
3553
  status_code: number;
3550
3554
  /**
@@ -3560,9 +3564,9 @@ type PaidOrderDetailsResponse = {
3560
3564
  */
3561
3565
  message?: string;
3562
3566
  };
3563
- /** @returns {DeleteRefundAccountResponse} */
3564
- declare function DeleteRefundAccountResponse(): DeleteRefundAccountResponse;
3565
- type DeleteRefundAccountResponse = {
3567
+ /** @returns {DeleteRefundAccountDetails} */
3568
+ declare function DeleteRefundAccountDetails(): DeleteRefundAccountDetails;
3569
+ type DeleteRefundAccountDetails = {
3566
3570
  /**
3567
3571
  * - Success/Failure of the deleted beneficiary.
3568
3572
  */
@@ -3613,9 +3617,9 @@ type OfflineRefundOptions = {
3613
3617
  */
3614
3618
  payment_modes: string[];
3615
3619
  };
3616
- /** @returns {RefundOptionResponse} */
3617
- declare function RefundOptionResponse(): RefundOptionResponse;
3618
- type RefundOptionResponse = {
3620
+ /** @returns {RefundOptionDetails} */
3621
+ declare function RefundOptionDetails(): RefundOptionDetails;
3622
+ type RefundOptionDetails = {
3619
3623
  /**
3620
3624
  * - Available offline
3621
3625
  * refund options data.
@@ -3630,9 +3634,9 @@ type RefundOptionResponse = {
3630
3634
  */
3631
3635
  refund_options: RefundOptions;
3632
3636
  };
3633
- /** @returns {SelectedRefundOptionResponse} */
3634
- declare function SelectedRefundOptionResponse(): SelectedRefundOptionResponse;
3635
- type SelectedRefundOptionResponse = {
3637
+ /** @returns {SelectedRefundOptionDetails} */
3638
+ declare function SelectedRefundOptionDetails(): SelectedRefundOptionDetails;
3639
+ type SelectedRefundOptionDetails = {
3636
3640
  /**
3637
3641
  * - Selected transfer mode for given shipment.
3638
3642
  */
@@ -3803,9 +3807,9 @@ type BeneficiaryRefundOptions = {
3803
3807
  */
3804
3808
  upi?: UpiBeneficiaryDetails;
3805
3809
  };
3806
- /** @returns {OrderBeneficiaryResponseSchemaV2} */
3807
- declare function OrderBeneficiaryResponseSchemaV2(): OrderBeneficiaryResponseSchemaV2;
3808
- type OrderBeneficiaryResponseSchemaV2 = {
3810
+ /** @returns {OrderBeneficiaryDetailsSchemaV2} */
3811
+ declare function OrderBeneficiaryDetailsSchemaV2(): OrderBeneficiaryDetailsSchemaV2;
3812
+ type OrderBeneficiaryDetailsSchemaV2 = {
3809
3813
  /**
3810
3814
  * - Show Beneficiary details on UI or not.
3811
3815
  */
@@ -3820,9 +3824,9 @@ type OrderBeneficiaryResponseSchemaV2 = {
3820
3824
  */
3821
3825
  limit: any;
3822
3826
  };
3823
- /** @returns {ValidateValidateAddressRequest} */
3824
- declare function ValidateValidateAddressRequest(): ValidateValidateAddressRequest;
3825
- type ValidateValidateAddressRequest = {
3827
+ /** @returns {ValidateValidateAddress} */
3828
+ declare function ValidateValidateAddress(): ValidateValidateAddress;
3829
+ type ValidateValidateAddress = {
3826
3830
  /**
3827
3831
  * - IFSC Code.
3828
3832
  */
@@ -3856,9 +3860,9 @@ type VPADetails = {
3856
3860
  */
3857
3861
  customer_name: string;
3858
3862
  };
3859
- /** @returns {ValidateValidateAddressResponse} */
3860
- declare function ValidateValidateAddressResponse(): ValidateValidateAddressResponse;
3861
- type ValidateValidateAddressResponse = {
3863
+ /** @returns {ValidateValidateAddressDetails} */
3864
+ declare function ValidateValidateAddressDetails(): ValidateValidateAddressDetails;
3865
+ type ValidateValidateAddressDetails = {
3862
3866
  /**
3863
3867
  * - UPI validation details.
3864
3868
  */
@@ -3909,9 +3913,9 @@ type PaymentOrderMethods = {
3909
3913
  */
3910
3914
  name: string;
3911
3915
  };
3912
- /** @returns {PaymentOrderRequest} */
3913
- declare function PaymentOrderRequest(): PaymentOrderRequest;
3914
- type PaymentOrderRequest = {
3916
+ /** @returns {PaymentOrder} */
3917
+ declare function PaymentOrder(): PaymentOrder;
3918
+ type PaymentOrder = {
3915
3919
  /**
3916
3920
  * - All payment methods for order.
3917
3921
  */
@@ -3969,9 +3973,9 @@ type PaymentOrderData = {
3969
3973
  */
3970
3974
  method?: string;
3971
3975
  };
3972
- /** @returns {PaymentOrderResponse} */
3973
- declare function PaymentOrderResponse(): PaymentOrderResponse;
3974
- type PaymentOrderResponse = {
3976
+ /** @returns {PaymentOrderDetails} */
3977
+ declare function PaymentOrderDetails(): PaymentOrderDetails;
3978
+ type PaymentOrderDetails = {
3975
3979
  /**
3976
3980
  * - Payment confirm url for aggregator.
3977
3981
  */
@@ -3998,9 +4002,9 @@ type PaymentOrderResponse = {
3998
4002
  */
3999
4003
  message: string;
4000
4004
  };
4001
- /** @returns {ShipmentRefundRequest} */
4002
- declare function ShipmentRefundRequest(): ShipmentRefundRequest;
4003
- type ShipmentRefundRequest = {
4005
+ /** @returns {ShipmentRefund} */
4006
+ declare function ShipmentRefund(): ShipmentRefund;
4007
+ type ShipmentRefund = {
4004
4008
  /**
4005
4009
  * - Shipment Id of the respective Merchant Order Id.
4006
4010
  */
@@ -4040,9 +4044,9 @@ type ShipmentRefundDetail = {
4040
4044
  */
4041
4045
  beneficiary_id: string;
4042
4046
  };
4043
- /** @returns {ShipmentRefundResponse} */
4044
- declare function ShipmentRefundResponse(): ShipmentRefundResponse;
4045
- type ShipmentRefundResponse = {
4047
+ /** @returns {ShipmentRefundDetails} */
4048
+ declare function ShipmentRefundDetails(): ShipmentRefundDetails;
4049
+ type ShipmentRefundDetails = {
4046
4050
  /**
4047
4051
  * - Selected Shipment refund option details.
4048
4052
  */