@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
@@ -1,6 +1,6 @@
1
1
  export = PaymentPlatformModel;
2
2
  /**
3
- * @typedef PaymentGatewayConfigResponse
3
+ * @typedef PaymentGatewayConfigDetails
4
4
  * @property {Object[]} [aggregators] - List of all speceific Payment options
5
5
  * with their Details.
6
6
  * @property {string} app_id - Application Id to which Payment config Mapped
@@ -24,7 +24,7 @@ export = PaymentPlatformModel;
24
24
  * @property {string} merchant_salt - Merchant key of the payment aggregator
25
25
  */
26
26
  /**
27
- * @typedef PaymentGatewayConfigRequest
27
+ * @typedef PaymentGatewayConfigCreation
28
28
  * @property {string} app_id - Application Id to which Payment config Mapped
29
29
  * @property {boolean} [is_active] - Enable or Disable Flag
30
30
  * @property {PaymentGatewayConfig} [aggregator_name]
@@ -40,7 +40,7 @@ export = PaymentPlatformModel;
40
40
  * @property {string} code - Error descrption code.
41
41
  */
42
42
  /**
43
- * @typedef HttpErrorCodeAndResponse
43
+ * @typedef HttpErrorDetails
44
44
  * @property {ErrorCodeAndDescription} error
45
45
  * @property {boolean} success - Response is successful or not
46
46
  */
@@ -52,10 +52,10 @@ export = PaymentPlatformModel;
52
52
  /**
53
53
  * @typedef ProductCODData
54
54
  * @property {Object} [items] - Item id with its cod availability.
55
- * @property {CODChargesLimitsResponse} [cod_charges]
55
+ * @property {CODChargesLimitsDetails} [cod_charges]
56
56
  */
57
57
  /**
58
- * @typedef CODChargesLimitsResponse
58
+ * @typedef CODChargesLimitsDetails
59
59
  * @property {number} [max_cart_value] - Max allowed cart value for cod order.
60
60
  * @property {number} [min_cart_value] - Min allowed cart value for cod order.
61
61
  * @property {number} [cod_charge] - Cod charges to be applied on order.
@@ -197,14 +197,14 @@ export = PaymentPlatformModel;
197
197
  * @property {AdvanceObject} [advance]
198
198
  */
199
199
  /**
200
- * @typedef PaymentModeRouteResponse
200
+ * @typedef PaymentModeRouteDetails
201
201
  * @property {PaymentOptionAndFlow} payment_options
202
202
  * @property {boolean} success - Response is successful or not
203
203
  * @property {Object} [payment_breakup] - Payment Breakup for advance payment
204
204
  * @property {AdvancePaymentObject[]} [advance_payment] - Advance Payment Array
205
205
  */
206
206
  /**
207
- * @typedef PaymentOptionsResponse
207
+ * @typedef PaymentOptionsDetails
208
208
  * @property {PaymentOptions} payment_options
209
209
  * @property {boolean} success - Response is successful or not
210
210
  * @property {Object} [payment_breakup] - Payment Breakup for advance payment
@@ -246,7 +246,7 @@ export = PaymentPlatformModel;
246
246
  * @property {string} transfer_type - Transafer type
247
247
  */
248
248
  /**
249
- * @typedef PayoutsResponse
249
+ * @typedef PayoutsDetails
250
250
  * @property {boolean} success - Response is successful or not
251
251
  * @property {Payout[]} items - Contains list of PayoutSchema
252
252
  */
@@ -264,7 +264,7 @@ export = PaymentPlatformModel;
264
264
  * @property {number} [pincode]
265
265
  */
266
266
  /**
267
- * @typedef PayoutRequest
267
+ * @typedef PayoutCreation
268
268
  * @property {string} aggregator - Aggregator Name
269
269
  * @property {Object} users - Payout users object
270
270
  * @property {string} unique_external_id - Unique Id of Payout
@@ -273,7 +273,7 @@ export = PaymentPlatformModel;
273
273
  * @property {string} transfer_type - Transafer type
274
274
  */
275
275
  /**
276
- * @typedef PayoutResponse
276
+ * @typedef PayoutDetails
277
277
  * @property {string} payment_status - Status of payment
278
278
  * @property {Object} users - Users details object
279
279
  * @property {string} aggregator - Aggregator Name
@@ -286,47 +286,47 @@ export = PaymentPlatformModel;
286
286
  * @property {Object} payouts - Payout object
287
287
  */
288
288
  /**
289
- * @typedef UpdatePayoutResponse
289
+ * @typedef UpdatePayoutDetails
290
290
  * @property {boolean} is_default - Enable or Disable Default Payout
291
291
  * @property {boolean} is_active - Enable or DIsable Flag Payout
292
292
  * @property {boolean} success - Response is successful or not
293
293
  */
294
294
  /**
295
- * @typedef UpdatePayoutRequest
295
+ * @typedef UpdatePayoutCreation
296
296
  * @property {boolean} is_default - Enable or Disable Default Payout
297
297
  * @property {boolean} is_active - Enable or Disable Flag Payout
298
298
  * @property {string} unique_external_id - Unique Id of Payout
299
299
  */
300
300
  /**
301
- * @typedef DeletePayoutResponse
301
+ * @typedef DeletePayoutDetails
302
302
  * @property {boolean} success - Response is successful or not
303
303
  */
304
304
  /**
305
- * @typedef SubscriptionPaymentMethodResponse
305
+ * @typedef SubscriptionPaymentMethodDetails
306
306
  * @property {Object[]} data - Subscription Payment Method Object
307
307
  * @property {boolean} success - Response is successful or not
308
308
  */
309
309
  /**
310
- * @typedef DeleteSubscriptionPaymentMethodResponse
310
+ * @typedef DeleteSubscriptionPaymentMethodDetails
311
311
  * @property {boolean} success - Success or failure.
312
312
  */
313
313
  /**
314
- * @typedef SubscriptionConfigResponse
314
+ * @typedef SubscriptionConfigDetails
315
315
  * @property {string} aggregator - Aggregator Name
316
316
  * @property {Object} config - Aggregator Config
317
317
  * @property {boolean} success - Response is successful or not
318
318
  */
319
319
  /**
320
- * @typedef SaveSubscriptionSetupIntentRequest
320
+ * @typedef SaveSubscriptionSetupIntentCreation
321
321
  * @property {string} unique_external_id - Unique id i.e company:id
322
322
  */
323
323
  /**
324
- * @typedef SaveSubscriptionSetupIntentResponse
324
+ * @typedef SaveSubscriptionSetupIntentDetails
325
325
  * @property {Object} data - Subscription Payment Method Object
326
326
  * @property {boolean} success - Response is successful or not
327
327
  */
328
328
  /**
329
- * @typedef RefundAccountResponse
329
+ * @typedef RefundAccountDetails
330
330
  * @property {boolean} [is_verified_flag]
331
331
  * @property {string} message - Response message
332
332
  * @property {Object} [data] - Refund account data.
@@ -347,12 +347,12 @@ export = PaymentPlatformModel;
347
347
  * @property {string} account_holder
348
348
  */
349
349
  /**
350
- * @typedef AddBeneficiaryDetailsOTPRequest
350
+ * @typedef AddBeneficiaryDetailsOTPCreation
351
351
  * @property {string} order_id
352
352
  * @property {BankDetailsForOTP} details
353
353
  */
354
354
  /**
355
- * @typedef IfscCodeResponse
355
+ * @typedef IfscCodeDetails
356
356
  * @property {string} branch_name - Branch Name Of Account
357
357
  * @property {boolean} [success] - Response is successful or not
358
358
  * @property {string} bank_name - Bank Name Of Account
@@ -380,7 +380,7 @@ export = PaymentPlatformModel;
380
380
  * @property {string} [mobile] - MObile no of User
381
381
  */
382
382
  /**
383
- * @typedef OrderBeneficiaryResponse
383
+ * @typedef OrderBeneficiaryFetchResults
384
384
  * @property {OrderBeneficiaryDetails[]} [beneficiaries] - All Beneficiaries Of An Order
385
385
  * @property {boolean} [show_beneficiary_details] - Show beneficiary details or not.
386
386
  */
@@ -406,12 +406,12 @@ export = PaymentPlatformModel;
406
406
  * @property {string} mode
407
407
  */
408
408
  /**
409
- * @typedef PaymentConfirmationRequest
409
+ * @typedef PaymentConfirmationCreation
410
410
  * @property {string} order_id - Unique order id
411
411
  * @property {MultiTenderPaymentMethod[]} payment_methods
412
412
  */
413
413
  /**
414
- * @typedef PaymentConfirmationResponse
414
+ * @typedef PaymentConfirmationDetails
415
415
  * @property {string} order_id - Unique order id
416
416
  * @property {string} message - Message
417
417
  * @property {boolean} success - Payment confirmation updated or not.
@@ -425,19 +425,19 @@ export = PaymentPlatformModel;
425
425
  * @property {number} usages - Used COD limit from the user Limit
426
426
  */
427
427
  /**
428
- * @typedef GetUserCODLimitResponse
428
+ * @typedef GetUserCODLimitDetails
429
429
  * @property {CODdata} user_cod_data
430
430
  * @property {boolean} success - Response is successful or not
431
431
  */
432
432
  /**
433
- * @typedef SetCODForUserRequest
433
+ * @typedef SetCODForUserCreation
434
434
  * @property {string} [business_unit] - Business unit
435
435
  * @property {string} mobileno - Mobile No. of User
436
436
  * @property {boolean} is_active - Either true or false
437
437
  * @property {string} merchant_user_id - Merchant User id
438
438
  */
439
439
  /**
440
- * @typedef SetCODOptionResponse
440
+ * @typedef SetCODOptionDetails
441
441
  * @property {string} message - Message
442
442
  * @property {boolean} success - Response is successful or not
443
443
  */
@@ -448,7 +448,7 @@ export = PaymentPlatformModel;
448
448
  * @property {string[]} models - List of string of edc models
449
449
  */
450
450
  /**
451
- * @typedef EdcAggregatorAndModelListResponse
451
+ * @typedef EdcAggregatorAndModelListDetails
452
452
  * @property {EdcModelData[]} data - List of aggregators and their edc models
453
453
  * @property {boolean} success - Response is successful or not
454
454
  */
@@ -458,12 +458,12 @@ export = PaymentPlatformModel;
458
458
  * @property {number} active_device_count - No of active devices
459
459
  */
460
460
  /**
461
- * @typedef EdcDeviceStatsResponse
461
+ * @typedef EdcDeviceStatsDetails
462
462
  * @property {StatisticsData} statistics
463
463
  * @property {boolean} success - Response is successful or not
464
464
  */
465
465
  /**
466
- * @typedef EdcAddRequest
466
+ * @typedef EdcAddCreation
467
467
  * @property {string} edc_model - Model of the edc machine
468
468
  * @property {number} store_id - Store at which devices is to used
469
469
  * @property {number} aggregator_id - Aggregator which will accept payment
@@ -488,17 +488,17 @@ export = PaymentPlatformModel;
488
488
  * @property {string} application_id - Application ID
489
489
  */
490
490
  /**
491
- * @typedef EdcDeviceAddResponse
491
+ * @typedef EdcDeviceAddDetails
492
492
  * @property {EdcDevice} data
493
493
  * @property {boolean} success - Response is successful or not
494
494
  */
495
495
  /**
496
- * @typedef EdcDeviceDetailsResponse
496
+ * @typedef EdcDeviceDetails
497
497
  * @property {EdcDevice} data
498
498
  * @property {boolean} success - Response is successful or not
499
499
  */
500
500
  /**
501
- * @typedef EdcUpdateRequest
501
+ * @typedef EdcUpdate
502
502
  * @property {string} [edc_model] - Model of the edc machine
503
503
  * @property {number} [store_id] - Store at which devices is to used
504
504
  * @property {number} [aggregator_id] - Aggregator which will accept payment
@@ -508,7 +508,7 @@ export = PaymentPlatformModel;
508
508
  * @property {string} [device_tag] - Device tag of edc device to identify it
509
509
  */
510
510
  /**
511
- * @typedef EdcDeviceUpdateResponse
511
+ * @typedef EdcDeviceUpdateDetails
512
512
  * @property {boolean} success - Response is successful or not
513
513
  */
514
514
  /**
@@ -522,14 +522,14 @@ export = PaymentPlatformModel;
522
522
  * @property {number} [size] - The number of items per page.
523
523
  */
524
524
  /**
525
- * @typedef EdcDeviceListResponse
525
+ * @typedef EdcDeviceListDetails
526
526
  * @property {EdcDevice[]} items - List of all edc mapped to the application
527
527
  * options with their Details.
528
528
  * @property {Page} page
529
529
  * @property {boolean} success - Response is successful or not
530
530
  */
531
531
  /**
532
- * @typedef PaymentInitializationRequest
532
+ * @typedef PaymentInitializationCreation
533
533
  * @property {string} [razorpay_payment_id] - Payment gateway payment id
534
534
  * @property {string} [device_id] - EDC machine Unique Identifier
535
535
  * @property {string} email - Customer valid email
@@ -545,7 +545,7 @@ export = PaymentPlatformModel;
545
545
  * @property {string} method - Payment method
546
546
  */
547
547
  /**
548
- * @typedef PaymentInitializationResponse
548
+ * @typedef PaymentInitializationDetails
549
549
  * @property {string} [razorpay_payment_id] - Payment id.
550
550
  * @property {string} [device_id] - EDC machine Unique Identifier
551
551
  * @property {string} [upi_poll_url] - UPI poll url.
@@ -565,7 +565,7 @@ export = PaymentPlatformModel;
565
565
  * @property {string} method - Payment method
566
566
  */
567
567
  /**
568
- * @typedef PaymentStatusUpdateRequest
568
+ * @typedef PaymentStatusUpdateCreation
569
569
  * @property {string} [device_id] - EDC machine Unique Identifier
570
570
  * @property {string} email - Customer valid email
571
571
  * @property {string} customer_id - Payment gateway customer id.
@@ -581,7 +581,7 @@ export = PaymentPlatformModel;
581
581
  * @property {string} merchant_transaction_id - Unique fynd transaction id
582
582
  */
583
583
  /**
584
- * @typedef PaymentStatusUpdateResponse
584
+ * @typedef PaymentStatusUpdateDetails
585
585
  * @property {string} [redirect_url] - Redirect url
586
586
  * @property {boolean} retry - Response is successful or not.
587
587
  * @property {boolean} [success] - Response is successful or not
@@ -589,7 +589,7 @@ export = PaymentPlatformModel;
589
589
  * @property {string} aggregator_name - Payment gateway name
590
590
  */
591
591
  /**
592
- * @typedef ResendOrCancelPaymentRequest
592
+ * @typedef ResendOrCancelPaymentCreation
593
593
  * @property {string} order_id - Unique order id
594
594
  * @property {string} [device_id] - EDC machine Unique Identifier
595
595
  * @property {string} request_type - Either resend or cancel
@@ -602,16 +602,16 @@ export = PaymentPlatformModel;
602
602
  * status of payment link.
603
603
  */
604
604
  /**
605
- * @typedef ResendOrCancelPaymentResponse
605
+ * @typedef ResendOrCancelPaymentDetails
606
606
  * @property {LinkStatus} data
607
607
  * @property {boolean} success - Response is successful or not.
608
608
  */
609
609
  /**
610
- * @typedef PaymentStatusBulkHandlerRequest
610
+ * @typedef PaymentStatusBulkHandlerCreation
611
611
  * @property {string[]} merchant_order_id - List of order ids
612
612
  */
613
613
  /**
614
- * @typedef PaymentObjectListSerializer
614
+ * @typedef PaymentObjectList
615
615
  * @property {Object} user_object
616
616
  * @property {string} modified_on
617
617
  * @property {string} collected_by
@@ -634,10 +634,10 @@ export = PaymentPlatformModel;
634
634
  /**
635
635
  * @typedef PaymentStatusObject
636
636
  * @property {string} merchant_order_id
637
- * @property {PaymentObjectListSerializer[]} [payment_object_list]
637
+ * @property {PaymentObjectList[]} [payment_object_list]
638
638
  */
639
639
  /**
640
- * @typedef PaymentStatusBulkHandlerResponse
640
+ * @typedef PaymentStatusBulkHandlerDetails
641
641
  * @property {number} [count]
642
642
  * @property {PaymentStatusObject[]} [data]
643
643
  * @property {string} success
@@ -645,7 +645,7 @@ export = PaymentPlatformModel;
645
645
  * @property {number} status
646
646
  */
647
647
  /**
648
- * @typedef GetOauthUrlResponse
648
+ * @typedef GetOauthUrlDetails
649
649
  * @property {string} url - The url to call for authenticating
650
650
  * @property {boolean} success - Response is successful or not
651
651
  */
@@ -676,12 +676,12 @@ export = PaymentPlatformModel;
676
676
  * @property {RepaymentRequestDetails[]} [shipment_details]
677
677
  */
678
678
  /**
679
- * @typedef RepaymentResponse
679
+ * @typedef RepaymentDetails
680
680
  * @property {Object} data
681
681
  * @property {boolean} success - Success/Failure of the transaction
682
682
  */
683
683
  /**
684
- * @typedef MerchantOnBoardingRequest
684
+ * @typedef MerchantOnBoardingCreation
685
685
  * @property {string} credit_line_id - Merchant ID at Ajiodhan's end
686
686
  * @property {string} aggregator - Payment aggregator name
687
687
  * @property {string} app_id - Application id
@@ -689,12 +689,12 @@ export = PaymentPlatformModel;
689
689
  * @property {string} status - Status
690
690
  */
691
691
  /**
692
- * @typedef MerchantOnBoardingResponse
692
+ * @typedef MerchantOnBoardingDetails
693
693
  * @property {Object} data
694
694
  * @property {boolean} success - Success/Failure of the transaction
695
695
  */
696
696
  /**
697
- * @typedef ValidateCustomerRequest
697
+ * @typedef ValidateCustomerCreation
698
698
  * @property {string} phone_number - User mobile number without country code.
699
699
  * @property {string} aggregator - Payment gateway name in camel case i.e Simpl, Rupifi
700
700
  * @property {string} [payload] - Hashed payload string.
@@ -705,13 +705,13 @@ export = PaymentPlatformModel;
705
705
  * @property {Object} [billing_address] - Extra meta fields.
706
706
  */
707
707
  /**
708
- * @typedef ValidateCustomerResponse
708
+ * @typedef ValidateCustomerDetails
709
709
  * @property {string} message - Error or success message.
710
710
  * @property {Object} [data] - Payment gateway response data
711
711
  * @property {boolean} success - Response is successful or not
712
712
  */
713
713
  /**
714
- * @typedef GetPaymentLinkResponse
714
+ * @typedef GetPaymentLinkDetails
715
715
  * @property {string} message - Message
716
716
  * @property {number} status_code - HTTP status code
717
717
  * @property {number} [amount] - Total value of order
@@ -734,7 +734,7 @@ export = PaymentPlatformModel;
734
734
  * @property {boolean} [cancelled] - Payment link is cancelled or not
735
735
  */
736
736
  /**
737
- * @typedef ErrorResponse
737
+ * @typedef ErrorDetails
738
738
  * @property {number} status_code - HTTP status code
739
739
  * @property {ErrorDescription} [error]
740
740
  * @property {string} message - Message
@@ -748,7 +748,7 @@ export = PaymentPlatformModel;
748
748
  * @property {string} [assign_card_id]
749
749
  */
750
750
  /**
751
- * @typedef CreatePaymentLinkRequest
751
+ * @typedef CreatePaymentLinkCreation
752
752
  * @property {string} email - Email to which the payment link is to be sent
753
753
  * @property {number} amount - Total value of order
754
754
  * @property {string} mobile_number - Mobile number to which the payment link is
@@ -757,9 +757,13 @@ export = PaymentPlatformModel;
757
757
  * @property {string} [description] - Merchant order id
758
758
  * @property {CreatePaymentLinkMeta} meta
759
759
  * @property {string} external_order_id - Merchant order id
760
+ * @property {string} [success_redirection_url] - URL to which the user will be
761
+ * redirected after a successful payment.
762
+ * @property {string} [failure_redirection_url] - URL to which the user will be
763
+ * redirected if the payment fails.
760
764
  */
761
765
  /**
762
- * @typedef CreatePaymentLinkResponse
766
+ * @typedef CreatePaymentLinkDetails
763
767
  * @property {string} message - Message
764
768
  * @property {number} status_code - HTTP status code
765
769
  * @property {string} [payment_link_url] - Url of payment link
@@ -768,7 +772,7 @@ export = PaymentPlatformModel;
768
772
  * @property {string} [payment_link_id] - Unique id of payment link
769
773
  */
770
774
  /**
771
- * @typedef PollingPaymentLinkResponse
775
+ * @typedef PollingPaymentLinkDetails
772
776
  * @property {string} [message] - Message
773
777
  * @property {number} [http_status] - HTTP status code
774
778
  * @property {number} [status_code] - HTTP status code
@@ -781,18 +785,18 @@ export = PaymentPlatformModel;
781
785
  * @property {string} [aggregator_name] - Aggregator name
782
786
  */
783
787
  /**
784
- * @typedef CancelOrResendPaymentLinkRequest
788
+ * @typedef CancelOrResendPaymentLinkCreation
785
789
  * @property {string} payment_link_id - Unique id of payment link
786
790
  */
787
791
  /**
788
- * @typedef ResendPaymentLinkResponse
792
+ * @typedef ResendPaymentLinkDetails
789
793
  * @property {number} status_code - HTTP status code
790
794
  * @property {string} message - Message
791
795
  * @property {number} [polling_timeout] - Polling request timeout
792
796
  * @property {boolean} success - Successful or failure
793
797
  */
794
798
  /**
795
- * @typedef CancelPaymentLinkResponse
799
+ * @typedef CancelPaymentLinkDetails
796
800
  * @property {number} status_code - HTTP status code
797
801
  * @property {string} message - Message
798
802
  * @property {boolean} success - Successful or failure
@@ -815,18 +819,18 @@ export = PaymentPlatformModel;
815
819
  * @property {PaymentCode} method_code
816
820
  */
817
821
  /**
818
- * @typedef GetPaymentCodeResponse
822
+ * @typedef GetPaymentCodeDetails
819
823
  * @property {GetPaymentCode} data
820
824
  * @property {boolean} success - Response is successful or not.
821
825
  */
822
826
  /**
823
- * @typedef PlatformPaymentModeResponse
827
+ * @typedef PlatformPaymentModeDetails
824
828
  * @property {string} [message] - Message
825
829
  * @property {Object[]} [items] - List of all aggregator and payment mode details.
826
830
  * @property {boolean} success - Response is successful or not.
827
831
  */
828
832
  /**
829
- * @typedef MerchnatPaymentModeRequest
833
+ * @typedef MerchnatPaymentModeCreation
830
834
  * @property {Object} [offline] - Details to be updated for online payment configuration.
831
835
  * @property {Object} [online] - Details to be updated for offline payment configuration.
832
836
  */
@@ -902,7 +906,7 @@ export = PaymentPlatformModel;
902
906
  * @property {string} status - Stautus of the payment
903
907
  */
904
908
  /**
905
- * @typedef PaymentSessionRequestSerializer
909
+ * @typedef PaymentSessionCreation
906
910
  * @property {Object} [meta] - Meta
907
911
  * @property {string} gid - Global identifier of the entity (e.g. order, cart
908
912
  * etc.) against which payment_session was initiated. This is generated by
@@ -916,7 +920,7 @@ export = PaymentPlatformModel;
916
920
  * @property {string} checksum - Checksum to verify the payload
917
921
  */
918
922
  /**
919
- * @typedef PaymentSessionResponseSerializer
923
+ * @typedef PaymentSessionPutDetails
920
924
  * @property {string} gid - Global identifier of the entity (e.g. order, cart
921
925
  * etc.) against which payment_session was initiated. This is generated by
922
926
  * Fynd payments platform and is unique.
@@ -945,7 +949,7 @@ export = PaymentPlatformModel;
945
949
  * @property {string} [balance_transaction] - Balance transaction.
946
950
  */
947
951
  /**
948
- * @typedef RefundSessionRequestSerializer
952
+ * @typedef RefundSessionCreation
949
953
  * @property {Object} [meta] - Meta
950
954
  * @property {string} gid - Global identifier of the entity (e.g. order, cart
951
955
  * etc.) against which payment_session was initiated. This is generated by
@@ -960,7 +964,7 @@ export = PaymentPlatformModel;
960
964
  * @property {string} checksum - Checksum to verify payload
961
965
  */
962
966
  /**
963
- * @typedef RefundSessionResponseSerializer
967
+ * @typedef RefundSessionDetails
964
968
  * @property {string} gid - Global identifier of the entity (e.g. order, cart
965
969
  * etc.) against which payment_session was initiated. This is generated by
966
970
  * Fynd payments platform and is unique.
@@ -970,7 +974,7 @@ export = PaymentPlatformModel;
970
974
  * @property {number} total_refund_amount - The total amount refunded.
971
975
  */
972
976
  /**
973
- * @typedef PaymentDetailsSerializer
977
+ * @typedef PaymentDetails
974
978
  * @property {Object[]} payment_methods - Method of payment
975
979
  * @property {string} gid - Global identifier of the entity (e.g. order, cart
976
980
  * etc.) against which payment_session was initiated. This is generated by
@@ -1004,7 +1008,7 @@ export = PaymentPlatformModel;
1004
1008
  * id generated by payment gateway
1005
1009
  */
1006
1010
  /**
1007
- * @typedef CartDetailsSerializer
1011
+ * @typedef CartDetails
1008
1012
  * @property {Object} items - Items that are added in cart
1009
1013
  * @property {Object[]} articles - List of articles that are added in cart
1010
1014
  * @property {number} cart_value - Total cart value i.e. amount to be paid
@@ -1013,7 +1017,7 @@ export = PaymentPlatformModel;
1013
1017
  * retrieve custom data fields to cart items.
1014
1018
  */
1015
1019
  /**
1016
- * @typedef RefundDetailsSerializer
1020
+ * @typedef RefundDetails
1017
1021
  * @property {number} amount - Refunded amount
1018
1022
  * @property {string} currency - The currency of the payment.
1019
1023
  * @property {string} request_id - Refund request id, unique id generated by Fynd platform
@@ -1022,7 +1026,7 @@ export = PaymentPlatformModel;
1022
1026
  * @property {string} refund_utr - Unique refund utr generated by payment gateway.
1023
1027
  */
1024
1028
  /**
1025
- * @typedef PaymentSessionSerializer
1029
+ * @typedef PaymentSessionFetchDetails
1026
1030
  * @property {Object} payment_details - Object of payment details
1027
1031
  * @property {string} [currency] - The currency of the payment.
1028
1032
  * @property {string} status - The status of the payment session.
@@ -1030,8 +1034,8 @@ export = PaymentPlatformModel;
1030
1034
  * @property {string} gid - Global identifier of the entity (e.g. order, cart
1031
1035
  * etc.) against which payment_session was initiated. This is generated by
1032
1036
  * Fynd payments platform and is unique.
1033
- * @property {CartDetailsSerializer} [cart_details]
1034
- * @property {RefundDetailsSerializer[]} refund_details - Object of refund details
1037
+ * @property {CartDetails} [cart_details]
1038
+ * @property {RefundDetails[]} refund_details - Object of refund details
1035
1039
  */
1036
1040
  /**
1037
1041
  * @typedef RefundSourcesPriority
@@ -1040,7 +1044,7 @@ export = PaymentPlatformModel;
1040
1044
  * @property {string} source - Source of refund
1041
1045
  */
1042
1046
  /**
1043
- * @typedef RefundPriorityResponseSerializer
1047
+ * @typedef RefundPriorityDetails
1044
1048
  * @property {string} configuration - Configuration for merchant or customer
1045
1049
  * @property {boolean} success - Success
1046
1050
  * @property {boolean} apportion - Apportion refund to multiple sources
@@ -1048,12 +1052,12 @@ export = PaymentPlatformModel;
1048
1052
  * @property {string} [message] - Message
1049
1053
  */
1050
1054
  /**
1051
- * @typedef RefundPriorityRequestSerializer
1055
+ * @typedef RefundPriorityCreation
1052
1056
  * @property {boolean} apportion - Apportion refund to multiple sources
1053
1057
  * @property {RefundSourcesPriority[]} refund_sources_priority - Refund sources priority
1054
1058
  */
1055
1059
  /**
1056
- * @typedef MerchantPaymentModeRequest
1060
+ * @typedef MerchantPaymentModeCreation
1057
1061
  * @property {string} business_unit - Business unit
1058
1062
  * @property {Object[]} items - List of item details with respect to payment_mode
1059
1063
  * @property {Object} device - List of devices and its activation status
@@ -1069,7 +1073,7 @@ export = PaymentPlatformModel;
1069
1073
  * @property {string} business_unit - Business unit name
1070
1074
  */
1071
1075
  /**
1072
- * @typedef PlatformPaymentModeCopyConfigRequest
1076
+ * @typedef PlatformPaymentModeCopyConfigCreation
1073
1077
  * @property {FromConfig} from_config
1074
1078
  * @property {ToConfig} to_config
1075
1079
  */
@@ -1088,7 +1092,7 @@ export = PaymentPlatformModel;
1088
1092
  * @property {string} name - Payment mode name
1089
1093
  */
1090
1094
  /**
1091
- * @typedef PaymentOrderRequest
1095
+ * @typedef PaymentOrderCreation
1092
1096
  * @property {string} order_id - Order id
1093
1097
  * @property {PaymentOrderMethods[]} [payment_methods]
1094
1098
  * @property {string} [shipment_id] - Shipment_id
@@ -1107,7 +1111,7 @@ export = PaymentPlatformModel;
1107
1111
  * @property {string} [merchant_order_id] - Merchant order id
1108
1112
  */
1109
1113
  /**
1110
- * @typedef PaymentOrderResponse
1114
+ * @typedef PaymentOrderDetails
1111
1115
  * @property {string} message - Message
1112
1116
  * @property {boolean} success - Successful or failure
1113
1117
  * @property {string} [payment_confirm_url] - Payment confirm url for aggregator
@@ -1123,7 +1127,7 @@ export = PaymentPlatformModel;
1123
1127
  * @property {string} [is_greater_than]
1124
1128
  */
1125
1129
  /**
1126
- * @typedef AggregatorVersionResponse
1130
+ * @typedef AggregatorVersionDetails
1127
1131
  * @property {string} message - Message
1128
1132
  * @property {boolean} success - Successful or failure
1129
1133
  * @property {AggregatorVersionItemSchema} [items]
@@ -1135,7 +1139,7 @@ export = PaymentPlatformModel;
1135
1139
  * @property {string} [is_greater_than]
1136
1140
  */
1137
1141
  /**
1138
- * @typedef AggregatorControlRequest
1142
+ * @typedef PatchAggregatorControl
1139
1143
  * @property {string} [business_unit] - Business unit
1140
1144
  * @property {Object[]} [items] - List of item details with respect to payment_mode
1141
1145
  * @property {string} [device] - Device name
@@ -1190,11 +1194,11 @@ export = PaymentPlatformModel;
1190
1194
  declare class PaymentPlatformModel {
1191
1195
  }
1192
1196
  declare namespace PaymentPlatformModel {
1193
- 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, 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 };
1197
+ 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, 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 };
1194
1198
  }
1195
- /** @returns {PaymentGatewayConfigResponse} */
1196
- declare function PaymentGatewayConfigResponse(): PaymentGatewayConfigResponse;
1197
- type PaymentGatewayConfigResponse = {
1199
+ /** @returns {PaymentGatewayConfigDetails} */
1200
+ declare function PaymentGatewayConfigDetails(): PaymentGatewayConfigDetails;
1201
+ type PaymentGatewayConfigDetails = {
1198
1202
  /**
1199
1203
  * - List of all speceific Payment options
1200
1204
  * with their Details.
@@ -1261,9 +1265,9 @@ type PaymentGatewayConfig = {
1261
1265
  */
1262
1266
  merchant_salt: string;
1263
1267
  };
1264
- /** @returns {PaymentGatewayConfigRequest} */
1265
- declare function PaymentGatewayConfigRequest(): PaymentGatewayConfigRequest;
1266
- type PaymentGatewayConfigRequest = {
1268
+ /** @returns {PaymentGatewayConfigCreation} */
1269
+ declare function PaymentGatewayConfigCreation(): PaymentGatewayConfigCreation;
1270
+ type PaymentGatewayConfigCreation = {
1267
1271
  /**
1268
1272
  * - Application Id to which Payment config Mapped
1269
1273
  */
@@ -1298,9 +1302,9 @@ type ErrorCodeAndDescription = {
1298
1302
  */
1299
1303
  code: string;
1300
1304
  };
1301
- /** @returns {HttpErrorCodeAndResponse} */
1302
- declare function HttpErrorCodeAndResponse(): HttpErrorCodeAndResponse;
1303
- type HttpErrorCodeAndResponse = {
1305
+ /** @returns {HttpErrorDetails} */
1306
+ declare function HttpErrorDetails(): HttpErrorDetails;
1307
+ type HttpErrorDetails = {
1304
1308
  error: ErrorCodeAndDescription;
1305
1309
  /**
1306
1310
  * - Response is successful or not
@@ -1326,11 +1330,11 @@ type ProductCODData = {
1326
1330
  * - Item id with its cod availability.
1327
1331
  */
1328
1332
  items?: any;
1329
- cod_charges?: CODChargesLimitsResponse;
1333
+ cod_charges?: CODChargesLimitsDetails;
1330
1334
  };
1331
- /** @returns {CODChargesLimitsResponse} */
1332
- declare function CODChargesLimitsResponse(): CODChargesLimitsResponse;
1333
- type CODChargesLimitsResponse = {
1335
+ /** @returns {CODChargesLimitsDetails} */
1336
+ declare function CODChargesLimitsDetails(): CODChargesLimitsDetails;
1337
+ type CODChargesLimitsDetails = {
1334
1338
  /**
1335
1339
  * - Max allowed cart value for cod order.
1336
1340
  */
@@ -1717,9 +1721,9 @@ type AdvancePaymentObject = {
1717
1721
  split?: SplitObject;
1718
1722
  advance?: AdvanceObject;
1719
1723
  };
1720
- /** @returns {PaymentModeRouteResponse} */
1721
- declare function PaymentModeRouteResponse(): PaymentModeRouteResponse;
1722
- type PaymentModeRouteResponse = {
1724
+ /** @returns {PaymentModeRouteDetails} */
1725
+ declare function PaymentModeRouteDetails(): PaymentModeRouteDetails;
1726
+ type PaymentModeRouteDetails = {
1723
1727
  payment_options: PaymentOptionAndFlow;
1724
1728
  /**
1725
1729
  * - Response is successful or not
@@ -1734,9 +1738,9 @@ type PaymentModeRouteResponse = {
1734
1738
  */
1735
1739
  advance_payment?: AdvancePaymentObject[];
1736
1740
  };
1737
- /** @returns {PaymentOptionsResponse} */
1738
- declare function PaymentOptionsResponse(): PaymentOptionsResponse;
1739
- type PaymentOptionsResponse = {
1741
+ /** @returns {PaymentOptionsDetails} */
1742
+ declare function PaymentOptionsDetails(): PaymentOptionsDetails;
1743
+ type PaymentOptionsDetails = {
1740
1744
  payment_options: PaymentOptions;
1741
1745
  /**
1742
1746
  * - Response is successful or not
@@ -1850,9 +1854,9 @@ type Payout = {
1850
1854
  */
1851
1855
  transfer_type: string;
1852
1856
  };
1853
- /** @returns {PayoutsResponse} */
1854
- declare function PayoutsResponse(): PayoutsResponse;
1855
- type PayoutsResponse = {
1857
+ /** @returns {PayoutsDetails} */
1858
+ declare function PayoutsDetails(): PayoutsDetails;
1859
+ type PayoutsDetails = {
1856
1860
  /**
1857
1861
  * - Response is successful or not
1858
1862
  */
@@ -1876,9 +1880,9 @@ type PayoutBankDetails = {
1876
1880
  branch_name?: string;
1877
1881
  pincode?: number;
1878
1882
  };
1879
- /** @returns {PayoutRequest} */
1880
- declare function PayoutRequest(): PayoutRequest;
1881
- type PayoutRequest = {
1883
+ /** @returns {PayoutCreation} */
1884
+ declare function PayoutCreation(): PayoutCreation;
1885
+ type PayoutCreation = {
1882
1886
  /**
1883
1887
  * - Aggregator Name
1884
1888
  */
@@ -1901,9 +1905,9 @@ type PayoutRequest = {
1901
1905
  */
1902
1906
  transfer_type: string;
1903
1907
  };
1904
- /** @returns {PayoutResponse} */
1905
- declare function PayoutResponse(): PayoutResponse;
1906
- type PayoutResponse = {
1908
+ /** @returns {PayoutDetails} */
1909
+ declare function PayoutDetails(): PayoutDetails;
1910
+ type PayoutDetails = {
1907
1911
  /**
1908
1912
  * - Status of payment
1909
1913
  */
@@ -1945,9 +1949,9 @@ type PayoutResponse = {
1945
1949
  */
1946
1950
  payouts: any;
1947
1951
  };
1948
- /** @returns {UpdatePayoutResponse} */
1949
- declare function UpdatePayoutResponse(): UpdatePayoutResponse;
1950
- type UpdatePayoutResponse = {
1952
+ /** @returns {UpdatePayoutDetails} */
1953
+ declare function UpdatePayoutDetails(): UpdatePayoutDetails;
1954
+ type UpdatePayoutDetails = {
1951
1955
  /**
1952
1956
  * - Enable or Disable Default Payout
1953
1957
  */
@@ -1961,9 +1965,9 @@ type UpdatePayoutResponse = {
1961
1965
  */
1962
1966
  success: boolean;
1963
1967
  };
1964
- /** @returns {UpdatePayoutRequest} */
1965
- declare function UpdatePayoutRequest(): UpdatePayoutRequest;
1966
- type UpdatePayoutRequest = {
1968
+ /** @returns {UpdatePayoutCreation} */
1969
+ declare function UpdatePayoutCreation(): UpdatePayoutCreation;
1970
+ type UpdatePayoutCreation = {
1967
1971
  /**
1968
1972
  * - Enable or Disable Default Payout
1969
1973
  */
@@ -1977,17 +1981,17 @@ type UpdatePayoutRequest = {
1977
1981
  */
1978
1982
  unique_external_id: string;
1979
1983
  };
1980
- /** @returns {DeletePayoutResponse} */
1981
- declare function DeletePayoutResponse(): DeletePayoutResponse;
1982
- type DeletePayoutResponse = {
1984
+ /** @returns {DeletePayoutDetails} */
1985
+ declare function DeletePayoutDetails(): DeletePayoutDetails;
1986
+ type DeletePayoutDetails = {
1983
1987
  /**
1984
1988
  * - Response is successful or not
1985
1989
  */
1986
1990
  success: boolean;
1987
1991
  };
1988
- /** @returns {SubscriptionPaymentMethodResponse} */
1989
- declare function SubscriptionPaymentMethodResponse(): SubscriptionPaymentMethodResponse;
1990
- type SubscriptionPaymentMethodResponse = {
1992
+ /** @returns {SubscriptionPaymentMethodDetails} */
1993
+ declare function SubscriptionPaymentMethodDetails(): SubscriptionPaymentMethodDetails;
1994
+ type SubscriptionPaymentMethodDetails = {
1991
1995
  /**
1992
1996
  * - Subscription Payment Method Object
1993
1997
  */
@@ -1997,17 +2001,17 @@ type SubscriptionPaymentMethodResponse = {
1997
2001
  */
1998
2002
  success: boolean;
1999
2003
  };
2000
- /** @returns {DeleteSubscriptionPaymentMethodResponse} */
2001
- declare function DeleteSubscriptionPaymentMethodResponse(): DeleteSubscriptionPaymentMethodResponse;
2002
- type DeleteSubscriptionPaymentMethodResponse = {
2004
+ /** @returns {DeleteSubscriptionPaymentMethodDetails} */
2005
+ declare function DeleteSubscriptionPaymentMethodDetails(): DeleteSubscriptionPaymentMethodDetails;
2006
+ type DeleteSubscriptionPaymentMethodDetails = {
2003
2007
  /**
2004
2008
  * - Success or failure.
2005
2009
  */
2006
2010
  success: boolean;
2007
2011
  };
2008
- /** @returns {SubscriptionConfigResponse} */
2009
- declare function SubscriptionConfigResponse(): SubscriptionConfigResponse;
2010
- type SubscriptionConfigResponse = {
2012
+ /** @returns {SubscriptionConfigDetails} */
2013
+ declare function SubscriptionConfigDetails(): SubscriptionConfigDetails;
2014
+ type SubscriptionConfigDetails = {
2011
2015
  /**
2012
2016
  * - Aggregator Name
2013
2017
  */
@@ -2021,17 +2025,17 @@ type SubscriptionConfigResponse = {
2021
2025
  */
2022
2026
  success: boolean;
2023
2027
  };
2024
- /** @returns {SaveSubscriptionSetupIntentRequest} */
2025
- declare function SaveSubscriptionSetupIntentRequest(): SaveSubscriptionSetupIntentRequest;
2026
- type SaveSubscriptionSetupIntentRequest = {
2028
+ /** @returns {SaveSubscriptionSetupIntentCreation} */
2029
+ declare function SaveSubscriptionSetupIntentCreation(): SaveSubscriptionSetupIntentCreation;
2030
+ type SaveSubscriptionSetupIntentCreation = {
2027
2031
  /**
2028
2032
  * - Unique id i.e company:id
2029
2033
  */
2030
2034
  unique_external_id: string;
2031
2035
  };
2032
- /** @returns {SaveSubscriptionSetupIntentResponse} */
2033
- declare function SaveSubscriptionSetupIntentResponse(): SaveSubscriptionSetupIntentResponse;
2034
- type SaveSubscriptionSetupIntentResponse = {
2036
+ /** @returns {SaveSubscriptionSetupIntentDetails} */
2037
+ declare function SaveSubscriptionSetupIntentDetails(): SaveSubscriptionSetupIntentDetails;
2038
+ type SaveSubscriptionSetupIntentDetails = {
2035
2039
  /**
2036
2040
  * - Subscription Payment Method Object
2037
2041
  */
@@ -2041,9 +2045,9 @@ type SaveSubscriptionSetupIntentResponse = {
2041
2045
  */
2042
2046
  success: boolean;
2043
2047
  };
2044
- /** @returns {RefundAccountResponse} */
2045
- declare function RefundAccountResponse(): RefundAccountResponse;
2046
- type RefundAccountResponse = {
2048
+ /** @returns {RefundAccountDetails} */
2049
+ declare function RefundAccountDetails(): RefundAccountDetails;
2050
+ type RefundAccountDetails = {
2047
2051
  is_verified_flag?: boolean;
2048
2052
  /**
2049
2053
  * - Response message
@@ -2083,15 +2087,15 @@ type BankDetailsForOTP = {
2083
2087
  bank_name: string;
2084
2088
  account_holder: string;
2085
2089
  };
2086
- /** @returns {AddBeneficiaryDetailsOTPRequest} */
2087
- declare function AddBeneficiaryDetailsOTPRequest(): AddBeneficiaryDetailsOTPRequest;
2088
- type AddBeneficiaryDetailsOTPRequest = {
2090
+ /** @returns {AddBeneficiaryDetailsOTPCreation} */
2091
+ declare function AddBeneficiaryDetailsOTPCreation(): AddBeneficiaryDetailsOTPCreation;
2092
+ type AddBeneficiaryDetailsOTPCreation = {
2089
2093
  order_id: string;
2090
2094
  details: BankDetailsForOTP;
2091
2095
  };
2092
- /** @returns {IfscCodeResponse} */
2093
- declare function IfscCodeResponse(): IfscCodeResponse;
2094
- type IfscCodeResponse = {
2096
+ /** @returns {IfscCodeDetails} */
2097
+ declare function IfscCodeDetails(): IfscCodeDetails;
2098
+ type IfscCodeDetails = {
2095
2099
  /**
2096
2100
  * - Branch Name Of Account
2097
2101
  */
@@ -2185,9 +2189,9 @@ type OrderBeneficiaryDetails = {
2185
2189
  */
2186
2190
  mobile?: string;
2187
2191
  };
2188
- /** @returns {OrderBeneficiaryResponse} */
2189
- declare function OrderBeneficiaryResponse(): OrderBeneficiaryResponse;
2190
- type OrderBeneficiaryResponse = {
2192
+ /** @returns {OrderBeneficiaryFetchResults} */
2193
+ declare function OrderBeneficiaryFetchResults(): OrderBeneficiaryFetchResults;
2194
+ type OrderBeneficiaryFetchResults = {
2191
2195
  /**
2192
2196
  * - All Beneficiaries Of An Order
2193
2197
  */
@@ -2241,18 +2245,18 @@ type MultiTenderPaymentMethod = {
2241
2245
  amount: number;
2242
2246
  mode: string;
2243
2247
  };
2244
- /** @returns {PaymentConfirmationRequest} */
2245
- declare function PaymentConfirmationRequest(): PaymentConfirmationRequest;
2246
- type PaymentConfirmationRequest = {
2248
+ /** @returns {PaymentConfirmationCreation} */
2249
+ declare function PaymentConfirmationCreation(): PaymentConfirmationCreation;
2250
+ type PaymentConfirmationCreation = {
2247
2251
  /**
2248
2252
  * - Unique order id
2249
2253
  */
2250
2254
  order_id: string;
2251
2255
  payment_methods: MultiTenderPaymentMethod[];
2252
2256
  };
2253
- /** @returns {PaymentConfirmationResponse} */
2254
- declare function PaymentConfirmationResponse(): PaymentConfirmationResponse;
2255
- type PaymentConfirmationResponse = {
2257
+ /** @returns {PaymentConfirmationDetails} */
2258
+ declare function PaymentConfirmationDetails(): PaymentConfirmationDetails;
2259
+ type PaymentConfirmationDetails = {
2256
2260
  /**
2257
2261
  * - Unique order id
2258
2262
  */
@@ -2290,18 +2294,18 @@ type CODdata = {
2290
2294
  */
2291
2295
  usages: number;
2292
2296
  };
2293
- /** @returns {GetUserCODLimitResponse} */
2294
- declare function GetUserCODLimitResponse(): GetUserCODLimitResponse;
2295
- type GetUserCODLimitResponse = {
2297
+ /** @returns {GetUserCODLimitDetails} */
2298
+ declare function GetUserCODLimitDetails(): GetUserCODLimitDetails;
2299
+ type GetUserCODLimitDetails = {
2296
2300
  user_cod_data: CODdata;
2297
2301
  /**
2298
2302
  * - Response is successful or not
2299
2303
  */
2300
2304
  success: boolean;
2301
2305
  };
2302
- /** @returns {SetCODForUserRequest} */
2303
- declare function SetCODForUserRequest(): SetCODForUserRequest;
2304
- type SetCODForUserRequest = {
2306
+ /** @returns {SetCODForUserCreation} */
2307
+ declare function SetCODForUserCreation(): SetCODForUserCreation;
2308
+ type SetCODForUserCreation = {
2305
2309
  /**
2306
2310
  * - Business unit
2307
2311
  */
@@ -2319,9 +2323,9 @@ type SetCODForUserRequest = {
2319
2323
  */
2320
2324
  merchant_user_id: string;
2321
2325
  };
2322
- /** @returns {SetCODOptionResponse} */
2323
- declare function SetCODOptionResponse(): SetCODOptionResponse;
2324
- type SetCODOptionResponse = {
2326
+ /** @returns {SetCODOptionDetails} */
2327
+ declare function SetCODOptionDetails(): SetCODOptionDetails;
2328
+ type SetCODOptionDetails = {
2325
2329
  /**
2326
2330
  * - Message
2327
2331
  */
@@ -2347,9 +2351,9 @@ type EdcModelData = {
2347
2351
  */
2348
2352
  models: string[];
2349
2353
  };
2350
- /** @returns {EdcAggregatorAndModelListResponse} */
2351
- declare function EdcAggregatorAndModelListResponse(): EdcAggregatorAndModelListResponse;
2352
- type EdcAggregatorAndModelListResponse = {
2354
+ /** @returns {EdcAggregatorAndModelListDetails} */
2355
+ declare function EdcAggregatorAndModelListDetails(): EdcAggregatorAndModelListDetails;
2356
+ type EdcAggregatorAndModelListDetails = {
2353
2357
  /**
2354
2358
  * - List of aggregators and their edc models
2355
2359
  */
@@ -2371,18 +2375,18 @@ type StatisticsData = {
2371
2375
  */
2372
2376
  active_device_count: number;
2373
2377
  };
2374
- /** @returns {EdcDeviceStatsResponse} */
2375
- declare function EdcDeviceStatsResponse(): EdcDeviceStatsResponse;
2376
- type EdcDeviceStatsResponse = {
2378
+ /** @returns {EdcDeviceStatsDetails} */
2379
+ declare function EdcDeviceStatsDetails(): EdcDeviceStatsDetails;
2380
+ type EdcDeviceStatsDetails = {
2377
2381
  statistics: StatisticsData;
2378
2382
  /**
2379
2383
  * - Response is successful or not
2380
2384
  */
2381
2385
  success: boolean;
2382
2386
  };
2383
- /** @returns {EdcAddRequest} */
2384
- declare function EdcAddRequest(): EdcAddRequest;
2385
- type EdcAddRequest = {
2387
+ /** @returns {EdcAddCreation} */
2388
+ declare function EdcAddCreation(): EdcAddCreation;
2389
+ type EdcAddCreation = {
2386
2390
  /**
2387
2391
  * - Model of the edc machine
2388
2392
  */
@@ -2458,27 +2462,27 @@ type EdcDevice = {
2458
2462
  */
2459
2463
  application_id: string;
2460
2464
  };
2461
- /** @returns {EdcDeviceAddResponse} */
2462
- declare function EdcDeviceAddResponse(): EdcDeviceAddResponse;
2463
- type EdcDeviceAddResponse = {
2465
+ /** @returns {EdcDeviceAddDetails} */
2466
+ declare function EdcDeviceAddDetails(): EdcDeviceAddDetails;
2467
+ type EdcDeviceAddDetails = {
2464
2468
  data: EdcDevice;
2465
2469
  /**
2466
2470
  * - Response is successful or not
2467
2471
  */
2468
2472
  success: boolean;
2469
2473
  };
2470
- /** @returns {EdcDeviceDetailsResponse} */
2471
- declare function EdcDeviceDetailsResponse(): EdcDeviceDetailsResponse;
2472
- type EdcDeviceDetailsResponse = {
2474
+ /** @returns {EdcDeviceDetails} */
2475
+ declare function EdcDeviceDetails(): EdcDeviceDetails;
2476
+ type EdcDeviceDetails = {
2473
2477
  data: EdcDevice;
2474
2478
  /**
2475
2479
  * - Response is successful or not
2476
2480
  */
2477
2481
  success: boolean;
2478
2482
  };
2479
- /** @returns {EdcUpdateRequest} */
2480
- declare function EdcUpdateRequest(): EdcUpdateRequest;
2481
- type EdcUpdateRequest = {
2483
+ /** @returns {EdcUpdate} */
2484
+ declare function EdcUpdate(): EdcUpdate;
2485
+ type EdcUpdate = {
2482
2486
  /**
2483
2487
  * - Model of the edc machine
2484
2488
  */
@@ -2508,9 +2512,9 @@ type EdcUpdateRequest = {
2508
2512
  */
2509
2513
  device_tag?: string;
2510
2514
  };
2511
- /** @returns {EdcDeviceUpdateResponse} */
2512
- declare function EdcDeviceUpdateResponse(): EdcDeviceUpdateResponse;
2513
- type EdcDeviceUpdateResponse = {
2515
+ /** @returns {EdcDeviceUpdateDetails} */
2516
+ declare function EdcDeviceUpdateDetails(): EdcDeviceUpdateDetails;
2517
+ type EdcDeviceUpdateDetails = {
2514
2518
  /**
2515
2519
  * - Response is successful or not
2516
2520
  */
@@ -2548,9 +2552,9 @@ type Page = {
2548
2552
  */
2549
2553
  size?: number;
2550
2554
  };
2551
- /** @returns {EdcDeviceListResponse} */
2552
- declare function EdcDeviceListResponse(): EdcDeviceListResponse;
2553
- type EdcDeviceListResponse = {
2555
+ /** @returns {EdcDeviceListDetails} */
2556
+ declare function EdcDeviceListDetails(): EdcDeviceListDetails;
2557
+ type EdcDeviceListDetails = {
2554
2558
  /**
2555
2559
  * - List of all edc mapped to the application
2556
2560
  * options with their Details.
@@ -2562,9 +2566,9 @@ type EdcDeviceListResponse = {
2562
2566
  */
2563
2567
  success: boolean;
2564
2568
  };
2565
- /** @returns {PaymentInitializationRequest} */
2566
- declare function PaymentInitializationRequest(): PaymentInitializationRequest;
2567
- type PaymentInitializationRequest = {
2569
+ /** @returns {PaymentInitializationCreation} */
2570
+ declare function PaymentInitializationCreation(): PaymentInitializationCreation;
2571
+ type PaymentInitializationCreation = {
2568
2572
  /**
2569
2573
  * - Payment gateway payment id
2570
2574
  */
@@ -2618,9 +2622,9 @@ type PaymentInitializationRequest = {
2618
2622
  */
2619
2623
  method: string;
2620
2624
  };
2621
- /** @returns {PaymentInitializationResponse} */
2622
- declare function PaymentInitializationResponse(): PaymentInitializationResponse;
2623
- type PaymentInitializationResponse = {
2625
+ /** @returns {PaymentInitializationDetails} */
2626
+ declare function PaymentInitializationDetails(): PaymentInitializationDetails;
2627
+ type PaymentInitializationDetails = {
2624
2628
  /**
2625
2629
  * - Payment id.
2626
2630
  */
@@ -2690,9 +2694,9 @@ type PaymentInitializationResponse = {
2690
2694
  */
2691
2695
  method: string;
2692
2696
  };
2693
- /** @returns {PaymentStatusUpdateRequest} */
2694
- declare function PaymentStatusUpdateRequest(): PaymentStatusUpdateRequest;
2695
- type PaymentStatusUpdateRequest = {
2697
+ /** @returns {PaymentStatusUpdateCreation} */
2698
+ declare function PaymentStatusUpdateCreation(): PaymentStatusUpdateCreation;
2699
+ type PaymentStatusUpdateCreation = {
2696
2700
  /**
2697
2701
  * - EDC machine Unique Identifier
2698
2702
  */
@@ -2746,9 +2750,9 @@ type PaymentStatusUpdateRequest = {
2746
2750
  */
2747
2751
  merchant_transaction_id: string;
2748
2752
  };
2749
- /** @returns {PaymentStatusUpdateResponse} */
2750
- declare function PaymentStatusUpdateResponse(): PaymentStatusUpdateResponse;
2751
- type PaymentStatusUpdateResponse = {
2753
+ /** @returns {PaymentStatusUpdateDetails} */
2754
+ declare function PaymentStatusUpdateDetails(): PaymentStatusUpdateDetails;
2755
+ type PaymentStatusUpdateDetails = {
2752
2756
  /**
2753
2757
  * - Redirect url
2754
2758
  */
@@ -2770,9 +2774,9 @@ type PaymentStatusUpdateResponse = {
2770
2774
  */
2771
2775
  aggregator_name: string;
2772
2776
  };
2773
- /** @returns {ResendOrCancelPaymentRequest} */
2774
- declare function ResendOrCancelPaymentRequest(): ResendOrCancelPaymentRequest;
2775
- type ResendOrCancelPaymentRequest = {
2777
+ /** @returns {ResendOrCancelPaymentCreation} */
2778
+ declare function ResendOrCancelPaymentCreation(): ResendOrCancelPaymentCreation;
2779
+ type ResendOrCancelPaymentCreation = {
2776
2780
  /**
2777
2781
  * - Unique order id
2778
2782
  */
@@ -2803,26 +2807,26 @@ type LinkStatus = {
2803
2807
  */
2804
2808
  is_payment_done?: boolean;
2805
2809
  };
2806
- /** @returns {ResendOrCancelPaymentResponse} */
2807
- declare function ResendOrCancelPaymentResponse(): ResendOrCancelPaymentResponse;
2808
- type ResendOrCancelPaymentResponse = {
2810
+ /** @returns {ResendOrCancelPaymentDetails} */
2811
+ declare function ResendOrCancelPaymentDetails(): ResendOrCancelPaymentDetails;
2812
+ type ResendOrCancelPaymentDetails = {
2809
2813
  data: LinkStatus;
2810
2814
  /**
2811
2815
  * - Response is successful or not.
2812
2816
  */
2813
2817
  success: boolean;
2814
2818
  };
2815
- /** @returns {PaymentStatusBulkHandlerRequest} */
2816
- declare function PaymentStatusBulkHandlerRequest(): PaymentStatusBulkHandlerRequest;
2817
- type PaymentStatusBulkHandlerRequest = {
2819
+ /** @returns {PaymentStatusBulkHandlerCreation} */
2820
+ declare function PaymentStatusBulkHandlerCreation(): PaymentStatusBulkHandlerCreation;
2821
+ type PaymentStatusBulkHandlerCreation = {
2818
2822
  /**
2819
2823
  * - List of order ids
2820
2824
  */
2821
2825
  merchant_order_id: string[];
2822
2826
  };
2823
- /** @returns {PaymentObjectListSerializer} */
2824
- declare function PaymentObjectListSerializer(): PaymentObjectListSerializer;
2825
- type PaymentObjectListSerializer = {
2827
+ /** @returns {PaymentObjectList} */
2828
+ declare function PaymentObjectList(): PaymentObjectList;
2829
+ type PaymentObjectList = {
2826
2830
  user_object: any;
2827
2831
  modified_on: string;
2828
2832
  collected_by: string;
@@ -2846,20 +2850,20 @@ type PaymentObjectListSerializer = {
2846
2850
  declare function PaymentStatusObject(): PaymentStatusObject;
2847
2851
  type PaymentStatusObject = {
2848
2852
  merchant_order_id: string;
2849
- payment_object_list?: PaymentObjectListSerializer[];
2853
+ payment_object_list?: PaymentObjectList[];
2850
2854
  };
2851
- /** @returns {PaymentStatusBulkHandlerResponse} */
2852
- declare function PaymentStatusBulkHandlerResponse(): PaymentStatusBulkHandlerResponse;
2853
- type PaymentStatusBulkHandlerResponse = {
2855
+ /** @returns {PaymentStatusBulkHandlerDetails} */
2856
+ declare function PaymentStatusBulkHandlerDetails(): PaymentStatusBulkHandlerDetails;
2857
+ type PaymentStatusBulkHandlerDetails = {
2854
2858
  count?: number;
2855
2859
  data?: PaymentStatusObject[];
2856
2860
  success: string;
2857
2861
  error?: string;
2858
2862
  status: number;
2859
2863
  };
2860
- /** @returns {GetOauthUrlResponse} */
2861
- declare function GetOauthUrlResponse(): GetOauthUrlResponse;
2862
- type GetOauthUrlResponse = {
2864
+ /** @returns {GetOauthUrlDetails} */
2865
+ declare function GetOauthUrlDetails(): GetOauthUrlDetails;
2866
+ type GetOauthUrlDetails = {
2863
2867
  /**
2864
2868
  * - The url to call for authenticating
2865
2869
  */
@@ -2946,18 +2950,18 @@ type RepaymentDetailsSerialiserPayAll = {
2946
2950
  aggregator_order_id: string;
2947
2951
  shipment_details?: RepaymentRequestDetails[];
2948
2952
  };
2949
- /** @returns {RepaymentResponse} */
2950
- declare function RepaymentResponse(): RepaymentResponse;
2951
- type RepaymentResponse = {
2953
+ /** @returns {RepaymentDetails} */
2954
+ declare function RepaymentDetails(): RepaymentDetails;
2955
+ type RepaymentDetails = {
2952
2956
  data: any;
2953
2957
  /**
2954
2958
  * - Success/Failure of the transaction
2955
2959
  */
2956
2960
  success: boolean;
2957
2961
  };
2958
- /** @returns {MerchantOnBoardingRequest} */
2959
- declare function MerchantOnBoardingRequest(): MerchantOnBoardingRequest;
2960
- type MerchantOnBoardingRequest = {
2962
+ /** @returns {MerchantOnBoardingCreation} */
2963
+ declare function MerchantOnBoardingCreation(): MerchantOnBoardingCreation;
2964
+ type MerchantOnBoardingCreation = {
2961
2965
  /**
2962
2966
  * - Merchant ID at Ajiodhan's end
2963
2967
  */
@@ -2979,18 +2983,18 @@ type MerchantOnBoardingRequest = {
2979
2983
  */
2980
2984
  status: string;
2981
2985
  };
2982
- /** @returns {MerchantOnBoardingResponse} */
2983
- declare function MerchantOnBoardingResponse(): MerchantOnBoardingResponse;
2984
- type MerchantOnBoardingResponse = {
2986
+ /** @returns {MerchantOnBoardingDetails} */
2987
+ declare function MerchantOnBoardingDetails(): MerchantOnBoardingDetails;
2988
+ type MerchantOnBoardingDetails = {
2985
2989
  data: any;
2986
2990
  /**
2987
2991
  * - Success/Failure of the transaction
2988
2992
  */
2989
2993
  success: boolean;
2990
2994
  };
2991
- /** @returns {ValidateCustomerRequest} */
2992
- declare function ValidateCustomerRequest(): ValidateCustomerRequest;
2993
- type ValidateCustomerRequest = {
2995
+ /** @returns {ValidateCustomerCreation} */
2996
+ declare function ValidateCustomerCreation(): ValidateCustomerCreation;
2997
+ type ValidateCustomerCreation = {
2994
2998
  /**
2995
2999
  * - User mobile number without country code.
2996
3000
  */
@@ -3024,9 +3028,9 @@ type ValidateCustomerRequest = {
3024
3028
  */
3025
3029
  billing_address?: any;
3026
3030
  };
3027
- /** @returns {ValidateCustomerResponse} */
3028
- declare function ValidateCustomerResponse(): ValidateCustomerResponse;
3029
- type ValidateCustomerResponse = {
3031
+ /** @returns {ValidateCustomerDetails} */
3032
+ declare function ValidateCustomerDetails(): ValidateCustomerDetails;
3033
+ type ValidateCustomerDetails = {
3030
3034
  /**
3031
3035
  * - Error or success message.
3032
3036
  */
@@ -3040,9 +3044,9 @@ type ValidateCustomerResponse = {
3040
3044
  */
3041
3045
  success: boolean;
3042
3046
  };
3043
- /** @returns {GetPaymentLinkResponse} */
3044
- declare function GetPaymentLinkResponse(): GetPaymentLinkResponse;
3045
- type GetPaymentLinkResponse = {
3047
+ /** @returns {GetPaymentLinkDetails} */
3048
+ declare function GetPaymentLinkDetails(): GetPaymentLinkDetails;
3049
+ type GetPaymentLinkDetails = {
3046
3050
  /**
3047
3051
  * - Message
3048
3052
  */
@@ -3116,9 +3120,9 @@ type ErrorDescription = {
3116
3120
  */
3117
3121
  cancelled?: boolean;
3118
3122
  };
3119
- /** @returns {ErrorResponse} */
3120
- declare function ErrorResponse(): ErrorResponse;
3121
- type ErrorResponse = {
3123
+ /** @returns {ErrorDetails} */
3124
+ declare function ErrorDetails(): ErrorDetails;
3125
+ type ErrorDetails = {
3122
3126
  /**
3123
3127
  * - HTTP status code
3124
3128
  */
@@ -3141,9 +3145,9 @@ type CreatePaymentLinkMeta = {
3141
3145
  amount: string;
3142
3146
  assign_card_id?: string;
3143
3147
  };
3144
- /** @returns {CreatePaymentLinkRequest} */
3145
- declare function CreatePaymentLinkRequest(): CreatePaymentLinkRequest;
3146
- type CreatePaymentLinkRequest = {
3148
+ /** @returns {CreatePaymentLinkCreation} */
3149
+ declare function CreatePaymentLinkCreation(): CreatePaymentLinkCreation;
3150
+ type CreatePaymentLinkCreation = {
3147
3151
  /**
3148
3152
  * - Email to which the payment link is to be sent
3149
3153
  */
@@ -3170,10 +3174,20 @@ type CreatePaymentLinkRequest = {
3170
3174
  * - Merchant order id
3171
3175
  */
3172
3176
  external_order_id: string;
3177
+ /**
3178
+ * - URL to which the user will be
3179
+ * redirected after a successful payment.
3180
+ */
3181
+ success_redirection_url?: string;
3182
+ /**
3183
+ * - URL to which the user will be
3184
+ * redirected if the payment fails.
3185
+ */
3186
+ failure_redirection_url?: string;
3173
3187
  };
3174
- /** @returns {CreatePaymentLinkResponse} */
3175
- declare function CreatePaymentLinkResponse(): CreatePaymentLinkResponse;
3176
- type CreatePaymentLinkResponse = {
3188
+ /** @returns {CreatePaymentLinkDetails} */
3189
+ declare function CreatePaymentLinkDetails(): CreatePaymentLinkDetails;
3190
+ type CreatePaymentLinkDetails = {
3177
3191
  /**
3178
3192
  * - Message
3179
3193
  */
@@ -3199,9 +3213,9 @@ type CreatePaymentLinkResponse = {
3199
3213
  */
3200
3214
  payment_link_id?: string;
3201
3215
  };
3202
- /** @returns {PollingPaymentLinkResponse} */
3203
- declare function PollingPaymentLinkResponse(): PollingPaymentLinkResponse;
3204
- type PollingPaymentLinkResponse = {
3216
+ /** @returns {PollingPaymentLinkDetails} */
3217
+ declare function PollingPaymentLinkDetails(): PollingPaymentLinkDetails;
3218
+ type PollingPaymentLinkDetails = {
3205
3219
  /**
3206
3220
  * - Message
3207
3221
  */
@@ -3243,17 +3257,17 @@ type PollingPaymentLinkResponse = {
3243
3257
  */
3244
3258
  aggregator_name?: string;
3245
3259
  };
3246
- /** @returns {CancelOrResendPaymentLinkRequest} */
3247
- declare function CancelOrResendPaymentLinkRequest(): CancelOrResendPaymentLinkRequest;
3248
- type CancelOrResendPaymentLinkRequest = {
3260
+ /** @returns {CancelOrResendPaymentLinkCreation} */
3261
+ declare function CancelOrResendPaymentLinkCreation(): CancelOrResendPaymentLinkCreation;
3262
+ type CancelOrResendPaymentLinkCreation = {
3249
3263
  /**
3250
3264
  * - Unique id of payment link
3251
3265
  */
3252
3266
  payment_link_id: string;
3253
3267
  };
3254
- /** @returns {ResendPaymentLinkResponse} */
3255
- declare function ResendPaymentLinkResponse(): ResendPaymentLinkResponse;
3256
- type ResendPaymentLinkResponse = {
3268
+ /** @returns {ResendPaymentLinkDetails} */
3269
+ declare function ResendPaymentLinkDetails(): ResendPaymentLinkDetails;
3270
+ type ResendPaymentLinkDetails = {
3257
3271
  /**
3258
3272
  * - HTTP status code
3259
3273
  */
@@ -3271,9 +3285,9 @@ type ResendPaymentLinkResponse = {
3271
3285
  */
3272
3286
  success: boolean;
3273
3287
  };
3274
- /** @returns {CancelPaymentLinkResponse} */
3275
- declare function CancelPaymentLinkResponse(): CancelPaymentLinkResponse;
3276
- type CancelPaymentLinkResponse = {
3288
+ /** @returns {CancelPaymentLinkDetails} */
3289
+ declare function CancelPaymentLinkDetails(): CancelPaymentLinkDetails;
3290
+ type CancelPaymentLinkDetails = {
3277
3291
  /**
3278
3292
  * - HTTP status code
3279
3293
  */
@@ -3325,18 +3339,18 @@ declare function GetPaymentCode(): GetPaymentCode;
3325
3339
  type GetPaymentCode = {
3326
3340
  method_code: PaymentCode;
3327
3341
  };
3328
- /** @returns {GetPaymentCodeResponse} */
3329
- declare function GetPaymentCodeResponse(): GetPaymentCodeResponse;
3330
- type GetPaymentCodeResponse = {
3342
+ /** @returns {GetPaymentCodeDetails} */
3343
+ declare function GetPaymentCodeDetails(): GetPaymentCodeDetails;
3344
+ type GetPaymentCodeDetails = {
3331
3345
  data: GetPaymentCode;
3332
3346
  /**
3333
3347
  * - Response is successful or not.
3334
3348
  */
3335
3349
  success: boolean;
3336
3350
  };
3337
- /** @returns {PlatformPaymentModeResponse} */
3338
- declare function PlatformPaymentModeResponse(): PlatformPaymentModeResponse;
3339
- type PlatformPaymentModeResponse = {
3351
+ /** @returns {PlatformPaymentModeDetails} */
3352
+ declare function PlatformPaymentModeDetails(): PlatformPaymentModeDetails;
3353
+ type PlatformPaymentModeDetails = {
3340
3354
  /**
3341
3355
  * - Message
3342
3356
  */
@@ -3350,9 +3364,9 @@ type PlatformPaymentModeResponse = {
3350
3364
  */
3351
3365
  success: boolean;
3352
3366
  };
3353
- /** @returns {MerchnatPaymentModeRequest} */
3354
- declare function MerchnatPaymentModeRequest(): MerchnatPaymentModeRequest;
3355
- type MerchnatPaymentModeRequest = {
3367
+ /** @returns {MerchnatPaymentModeCreation} */
3368
+ declare function MerchnatPaymentModeCreation(): MerchnatPaymentModeCreation;
3369
+ type MerchnatPaymentModeCreation = {
3356
3370
  /**
3357
3371
  * - Details to be updated for online payment configuration.
3358
3372
  */
@@ -3574,9 +3588,9 @@ type PaymentSessionDetail = {
3574
3588
  */
3575
3589
  status: string;
3576
3590
  };
3577
- /** @returns {PaymentSessionRequestSerializer} */
3578
- declare function PaymentSessionRequestSerializer(): PaymentSessionRequestSerializer;
3579
- type PaymentSessionRequestSerializer = {
3591
+ /** @returns {PaymentSessionCreation} */
3592
+ declare function PaymentSessionCreation(): PaymentSessionCreation;
3593
+ type PaymentSessionCreation = {
3580
3594
  /**
3581
3595
  * - Meta
3582
3596
  */
@@ -3613,9 +3627,9 @@ type PaymentSessionRequestSerializer = {
3613
3627
  */
3614
3628
  checksum: string;
3615
3629
  };
3616
- /** @returns {PaymentSessionResponseSerializer} */
3617
- declare function PaymentSessionResponseSerializer(): PaymentSessionResponseSerializer;
3618
- type PaymentSessionResponseSerializer = {
3630
+ /** @returns {PaymentSessionPutDetails} */
3631
+ declare function PaymentSessionPutDetails(): PaymentSessionPutDetails;
3632
+ type PaymentSessionPutDetails = {
3619
3633
  /**
3620
3634
  * - Global identifier of the entity (e.g. order, cart
3621
3635
  * etc.) against which payment_session was initiated. This is generated by
@@ -3698,9 +3712,9 @@ type RefundSessionDetail = {
3698
3712
  */
3699
3713
  balance_transaction?: string;
3700
3714
  };
3701
- /** @returns {RefundSessionRequestSerializer} */
3702
- declare function RefundSessionRequestSerializer(): RefundSessionRequestSerializer;
3703
- type RefundSessionRequestSerializer = {
3715
+ /** @returns {RefundSessionCreation} */
3716
+ declare function RefundSessionCreation(): RefundSessionCreation;
3717
+ type RefundSessionCreation = {
3704
3718
  /**
3705
3719
  * - Meta
3706
3720
  */
@@ -3741,9 +3755,9 @@ type RefundSessionRequestSerializer = {
3741
3755
  */
3742
3756
  checksum: string;
3743
3757
  };
3744
- /** @returns {RefundSessionResponseSerializer} */
3745
- declare function RefundSessionResponseSerializer(): RefundSessionResponseSerializer;
3746
- type RefundSessionResponseSerializer = {
3758
+ /** @returns {RefundSessionDetails} */
3759
+ declare function RefundSessionDetails(): RefundSessionDetails;
3760
+ type RefundSessionDetails = {
3747
3761
  /**
3748
3762
  * - Global identifier of the entity (e.g. order, cart
3749
3763
  * etc.) against which payment_session was initiated. This is generated by
@@ -3767,9 +3781,9 @@ type RefundSessionResponseSerializer = {
3767
3781
  */
3768
3782
  total_refund_amount: number;
3769
3783
  };
3770
- /** @returns {PaymentDetailsSerializer} */
3771
- declare function PaymentDetailsSerializer(): PaymentDetailsSerializer;
3772
- type PaymentDetailsSerializer = {
3784
+ /** @returns {PaymentDetails} */
3785
+ declare function PaymentDetails(): PaymentDetails;
3786
+ type PaymentDetails = {
3773
3787
  /**
3774
3788
  * - Method of payment
3775
3789
  */
@@ -3859,9 +3873,9 @@ type PaymentDetailsSerializer = {
3859
3873
  */
3860
3874
  aggregator_order_id?: string;
3861
3875
  };
3862
- /** @returns {CartDetailsSerializer} */
3863
- declare function CartDetailsSerializer(): CartDetailsSerializer;
3864
- type CartDetailsSerializer = {
3876
+ /** @returns {CartDetails} */
3877
+ declare function CartDetails(): CartDetails;
3878
+ type CartDetails = {
3865
3879
  /**
3866
3880
  * - Items that are added in cart
3867
3881
  */
@@ -3884,9 +3898,9 @@ type CartDetailsSerializer = {
3884
3898
  */
3885
3899
  custom_cart_meta?: any;
3886
3900
  };
3887
- /** @returns {RefundDetailsSerializer} */
3888
- declare function RefundDetailsSerializer(): RefundDetailsSerializer;
3889
- type RefundDetailsSerializer = {
3901
+ /** @returns {RefundDetails} */
3902
+ declare function RefundDetails(): RefundDetails;
3903
+ type RefundDetails = {
3890
3904
  /**
3891
3905
  * - Refunded amount
3892
3906
  */
@@ -3912,9 +3926,9 @@ type RefundDetailsSerializer = {
3912
3926
  */
3913
3927
  refund_utr: string;
3914
3928
  };
3915
- /** @returns {PaymentSessionSerializer} */
3916
- declare function PaymentSessionSerializer(): PaymentSessionSerializer;
3917
- type PaymentSessionSerializer = {
3929
+ /** @returns {PaymentSessionFetchDetails} */
3930
+ declare function PaymentSessionFetchDetails(): PaymentSessionFetchDetails;
3931
+ type PaymentSessionFetchDetails = {
3918
3932
  /**
3919
3933
  * - Object of payment details
3920
3934
  */
@@ -3937,11 +3951,11 @@ type PaymentSessionSerializer = {
3937
3951
  * Fynd payments platform and is unique.
3938
3952
  */
3939
3953
  gid: string;
3940
- cart_details?: CartDetailsSerializer;
3954
+ cart_details?: CartDetails;
3941
3955
  /**
3942
3956
  * - Object of refund details
3943
3957
  */
3944
- refund_details: RefundDetailsSerializer[];
3958
+ refund_details: RefundDetails[];
3945
3959
  };
3946
3960
  /** @returns {RefundSourcesPriority} */
3947
3961
  declare function RefundSourcesPriority(): RefundSourcesPriority;
@@ -3959,9 +3973,9 @@ type RefundSourcesPriority = {
3959
3973
  */
3960
3974
  source: string;
3961
3975
  };
3962
- /** @returns {RefundPriorityResponseSerializer} */
3963
- declare function RefundPriorityResponseSerializer(): RefundPriorityResponseSerializer;
3964
- type RefundPriorityResponseSerializer = {
3976
+ /** @returns {RefundPriorityDetails} */
3977
+ declare function RefundPriorityDetails(): RefundPriorityDetails;
3978
+ type RefundPriorityDetails = {
3965
3979
  /**
3966
3980
  * - Configuration for merchant or customer
3967
3981
  */
@@ -3983,9 +3997,9 @@ type RefundPriorityResponseSerializer = {
3983
3997
  */
3984
3998
  message?: string;
3985
3999
  };
3986
- /** @returns {RefundPriorityRequestSerializer} */
3987
- declare function RefundPriorityRequestSerializer(): RefundPriorityRequestSerializer;
3988
- type RefundPriorityRequestSerializer = {
4000
+ /** @returns {RefundPriorityCreation} */
4001
+ declare function RefundPriorityCreation(): RefundPriorityCreation;
4002
+ type RefundPriorityCreation = {
3989
4003
  /**
3990
4004
  * - Apportion refund to multiple sources
3991
4005
  */
@@ -3995,9 +4009,9 @@ type RefundPriorityRequestSerializer = {
3995
4009
  */
3996
4010
  refund_sources_priority: RefundSourcesPriority[];
3997
4011
  };
3998
- /** @returns {MerchantPaymentModeRequest} */
3999
- declare function MerchantPaymentModeRequest(): MerchantPaymentModeRequest;
4000
- type MerchantPaymentModeRequest = {
4012
+ /** @returns {MerchantPaymentModeCreation} */
4013
+ declare function MerchantPaymentModeCreation(): MerchantPaymentModeCreation;
4014
+ type MerchantPaymentModeCreation = {
4001
4015
  /**
4002
4016
  * - Business unit
4003
4017
  */
@@ -4035,9 +4049,9 @@ type ToConfig = {
4035
4049
  */
4036
4050
  business_unit: string;
4037
4051
  };
4038
- /** @returns {PlatformPaymentModeCopyConfigRequest} */
4039
- declare function PlatformPaymentModeCopyConfigRequest(): PlatformPaymentModeCopyConfigRequest;
4040
- type PlatformPaymentModeCopyConfigRequest = {
4052
+ /** @returns {PlatformPaymentModeCopyConfigCreation} */
4053
+ declare function PlatformPaymentModeCopyConfigCreation(): PlatformPaymentModeCopyConfigCreation;
4054
+ type PlatformPaymentModeCopyConfigCreation = {
4041
4055
  from_config: FromConfig;
4042
4056
  to_config: ToConfig;
4043
4057
  };
@@ -4078,9 +4092,9 @@ type PaymentOrderMethods = {
4078
4092
  */
4079
4093
  name: string;
4080
4094
  };
4081
- /** @returns {PaymentOrderRequest} */
4082
- declare function PaymentOrderRequest(): PaymentOrderRequest;
4083
- type PaymentOrderRequest = {
4095
+ /** @returns {PaymentOrderCreation} */
4096
+ declare function PaymentOrderCreation(): PaymentOrderCreation;
4097
+ type PaymentOrderCreation = {
4084
4098
  /**
4085
4099
  * - Order id
4086
4100
  */
@@ -4135,9 +4149,9 @@ type PaymentOrderData = {
4135
4149
  */
4136
4150
  merchant_order_id?: string;
4137
4151
  };
4138
- /** @returns {PaymentOrderResponse} */
4139
- declare function PaymentOrderResponse(): PaymentOrderResponse;
4140
- type PaymentOrderResponse = {
4152
+ /** @returns {PaymentOrderDetails} */
4153
+ declare function PaymentOrderDetails(): PaymentOrderDetails;
4154
+ type PaymentOrderDetails = {
4141
4155
  /**
4142
4156
  * - Message
4143
4157
  */
@@ -4171,9 +4185,9 @@ type AggregatorVersionItemSchema = {
4171
4185
  is_less_than?: string;
4172
4186
  is_greater_than?: string;
4173
4187
  };
4174
- /** @returns {AggregatorVersionResponse} */
4175
- declare function AggregatorVersionResponse(): AggregatorVersionResponse;
4176
- type AggregatorVersionResponse = {
4188
+ /** @returns {AggregatorVersionDetails} */
4189
+ declare function AggregatorVersionDetails(): AggregatorVersionDetails;
4190
+ type AggregatorVersionDetails = {
4177
4191
  /**
4178
4192
  * - Message
4179
4193
  */
@@ -4191,9 +4205,9 @@ type AggregatorVersionRequestSchema = {
4191
4205
  is_less_than?: string;
4192
4206
  is_greater_than?: string;
4193
4207
  };
4194
- /** @returns {AggregatorControlRequest} */
4195
- declare function AggregatorControlRequest(): AggregatorControlRequest;
4196
- type AggregatorControlRequest = {
4208
+ /** @returns {PatchAggregatorControl} */
4209
+ declare function PatchAggregatorControl(): PatchAggregatorControl;
4210
+ type PatchAggregatorControl = {
4197
4211
  /**
4198
4212
  * - Business unit
4199
4213
  */