@gofynd/fdk-client-javascript 3.1.0-beta.1 → 3.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (304) hide show
  1. package/README.md +1 -1
  2. package/package.json +2 -2
  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 +81 -101
  6. package/sdk/application/Cart/CartApplicationClient.js +173 -511
  7. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +110 -110
  8. package/sdk/application/Catalog/CatalogApplicationClient.js +214 -447
  9. package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
  10. package/sdk/application/Common/CommonApplicationClient.js +4 -19
  11. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +3 -43
  12. package/sdk/application/Communication/CommunicationApplicationClient.js +4 -214
  13. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +41 -54
  14. package/sdk/application/Configuration/ConfigurationApplicationClient.js +39 -192
  15. package/sdk/application/Content/ContentApplicationClient.d.ts +61 -61
  16. package/sdk/application/Content/ContentApplicationClient.js +183 -366
  17. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +2 -2
  18. package/sdk/application/FileStorage/FileStorageApplicationClient.js +11 -30
  19. package/sdk/application/Finance/FinanceApplicationClient.d.ts +29 -0
  20. package/sdk/application/Finance/FinanceApplicationClient.js +111 -0
  21. package/sdk/application/Lead/LeadApplicationClient.d.ts +6 -6
  22. package/sdk/application/Lead/LeadApplicationClient.js +24 -55
  23. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +28 -117
  24. package/sdk/application/Logistic/LogisticApplicationClient.js +99 -492
  25. package/sdk/application/Order/OrderApplicationClient.d.ts +31 -51
  26. package/sdk/application/Order/OrderApplicationClient.js +89 -293
  27. package/sdk/application/Payment/PaymentApplicationClient.d.ts +108 -218
  28. package/sdk/application/Payment/PaymentApplicationClient.js +100 -1081
  29. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +14 -14
  30. package/sdk/application/Rewards/RewardsApplicationClient.js +13 -66
  31. package/sdk/application/Share/ShareApplicationClient.d.ts +11 -11
  32. package/sdk/application/Share/ShareApplicationClient.js +35 -89
  33. package/sdk/application/Theme/ThemeApplicationClient.d.ts +5 -25
  34. package/sdk/application/Theme/ThemeApplicationClient.js +24 -150
  35. package/sdk/application/User/UserApplicationClient.d.ts +23 -13
  36. package/sdk/application/User/UserApplicationClient.js +49 -407
  37. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
  38. package/sdk/application/Webhook/WebhookApplicationClient.js +4 -11
  39. package/sdk/common/Utility.d.ts +1 -1
  40. package/sdk/common/Utility.js +10 -7
  41. package/sdk/common/Validator.d.ts +1 -0
  42. package/sdk/common/Validator.js +20 -0
  43. package/sdk/common/utils.d.ts +0 -1
  44. package/sdk/common/utils.js +0 -14
  45. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +10 -54
  46. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +32 -364
  47. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +54 -1
  48. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +43 -0
  49. package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +1 -5
  50. package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -35
  51. package/sdk/partner/Lead/LeadPartnerClient.d.ts +5 -5
  52. package/sdk/partner/Lead/LeadPartnerClient.js +4 -4
  53. package/sdk/partner/Lead/LeadPartnerModel.d.ts +52 -98
  54. package/sdk/partner/Lead/LeadPartnerModel.js +76 -100
  55. package/sdk/partner/Lead/LeadPartnerValidator.js +1 -1
  56. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +172 -41
  57. package/sdk/partner/Logistics/LogisticsPartnerClient.js +1222 -85
  58. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +1921 -297
  59. package/sdk/partner/Logistics/LogisticsPartnerModel.js +973 -258
  60. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +13 -1
  61. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +148 -16
  62. package/sdk/partner/PartnerClient.d.ts +0 -6
  63. package/sdk/partner/PartnerClient.js +0 -9
  64. package/sdk/partner/Theme/ThemePartnerClient.d.ts +21 -63
  65. package/sdk/partner/Theme/ThemePartnerClient.js +67 -392
  66. package/sdk/partner/Theme/ThemePartnerModel.d.ts +72 -104
  67. package/sdk/partner/Theme/ThemePartnerModel.js +75 -101
  68. package/sdk/partner/Theme/ThemePartnerValidator.d.ts +1 -5
  69. package/sdk/partner/Theme/ThemePartnerValidator.js +12 -42
  70. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +18 -18
  71. package/sdk/partner/Webhook/WebhookPartnerClient.js +18 -18
  72. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +673 -189
  73. package/sdk/partner/Webhook/WebhookPartnerModel.js +270 -159
  74. package/sdk/partner/Webhook/WebhookPartnerValidator.js +3 -3
  75. package/sdk/partner/index.d.ts +0 -3
  76. package/sdk/partner/index.js +0 -6
  77. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +4 -1
  78. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +1 -1
  79. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +3 -3
  80. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +3 -3
  81. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +2 -32
  82. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +3 -243
  83. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +49 -145
  84. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +20 -171
  85. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -39
  86. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +0 -35
  87. package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
  88. package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
  89. package/sdk/platform/Billing/BillingPlatformModel.d.ts +443 -388
  90. package/sdk/platform/Billing/BillingPlatformModel.js +280 -263
  91. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +16 -18
  92. package/sdk/platform/Billing/BillingPlatformValidator.js +8 -9
  93. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +172 -251
  94. package/sdk/platform/Cart/CartPlatformApplicationClient.js +577 -648
  95. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +270 -165
  96. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +192 -108
  97. package/sdk/platform/Cart/CartPlatformModel.d.ts +4554 -3154
  98. package/sdk/platform/Cart/CartPlatformModel.js +1935 -2854
  99. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +380 -976
  100. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +2004 -6464
  101. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +161 -1082
  102. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +80 -884
  103. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +568 -325
  104. package/sdk/platform/Catalog/CatalogPlatformClient.js +1560 -1162
  105. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +9772 -7871
  106. package/sdk/platform/Catalog/CatalogPlatformModel.js +6978 -9516
  107. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +231 -240
  108. package/sdk/platform/Catalog/CatalogPlatformValidator.js +180 -188
  109. package/sdk/platform/Common/CommonPlatformClient.d.ts +6 -5
  110. package/sdk/platform/Common/CommonPlatformClient.js +6 -5
  111. package/sdk/platform/Common/CommonPlatformModel.d.ts +19 -25
  112. package/sdk/platform/Common/CommonPlatformModel.js +11 -14
  113. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +240 -376
  114. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +589 -874
  115. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +139 -170
  116. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +126 -145
  117. package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +3 -56
  118. package/sdk/platform/Communication/CommunicationPlatformClient.js +4 -307
  119. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +330 -502
  120. package/sdk/platform/Communication/CommunicationPlatformModel.js +376 -610
  121. package/sdk/platform/Communication/CommunicationPlatformValidator.d.ts +3 -62
  122. package/sdk/platform/Communication/CommunicationPlatformValidator.js +2 -48
  123. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +72 -100
  124. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +88 -146
  125. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +270 -241
  126. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +248 -226
  127. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +20 -31
  128. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +20 -25
  129. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +117 -332
  130. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +409 -1470
  131. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +55 -158
  132. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +41 -163
  133. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +65 -142
  134. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +103 -568
  135. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +562 -1289
  136. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +368 -1037
  137. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +34 -80
  138. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +24 -79
  139. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +302 -248
  140. package/sdk/platform/Content/ContentPlatformApplicationClient.js +1292 -773
  141. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +330 -218
  142. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +325 -208
  143. package/sdk/platform/Content/ContentPlatformClient.d.ts +279 -118
  144. package/sdk/platform/Content/ContentPlatformClient.js +1617 -492
  145. package/sdk/platform/Content/ContentPlatformModel.d.ts +2391 -924
  146. package/sdk/platform/Content/ContentPlatformModel.js +1314 -970
  147. package/sdk/platform/Content/ContentPlatformValidator.d.ts +272 -134
  148. package/sdk/platform/Content/ContentPlatformValidator.js +295 -118
  149. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +53 -43
  150. package/sdk/platform/Discount/DiscountPlatformClient.js +53 -43
  151. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +383 -110
  152. package/sdk/platform/Discount/DiscountPlatformModel.js +117 -108
  153. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +56 -36
  154. package/sdk/platform/Discount/DiscountPlatformValidator.js +29 -19
  155. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +4 -163
  156. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +4 -1078
  157. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +5 -141
  158. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +4 -177
  159. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +8 -8
  160. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +8 -8
  161. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +30 -1123
  162. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +24 -1135
  163. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
  164. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
  165. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +17 -17
  166. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +33 -33
  167. package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +19 -19
  168. package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +14 -14
  169. package/sdk/platform/Lead/LeadPlatformClient.d.ts +24 -4
  170. package/sdk/platform/Lead/LeadPlatformClient.js +160 -4
  171. package/sdk/platform/Lead/LeadPlatformModel.d.ts +60 -140
  172. package/sdk/platform/Lead/LeadPlatformModel.js +81 -162
  173. package/sdk/platform/Lead/LeadPlatformValidator.d.ts +29 -3
  174. package/sdk/platform/Lead/LeadPlatformValidator.js +28 -2
  175. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +19 -98
  176. package/sdk/platform/Order/OrderPlatformApplicationClient.js +27 -662
  177. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +91 -118
  178. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +32 -127
  179. package/sdk/platform/Order/OrderPlatformClient.d.ts +406 -403
  180. package/sdk/platform/Order/OrderPlatformClient.js +1200 -1343
  181. package/sdk/platform/Order/OrderPlatformModel.d.ts +8665 -4505
  182. package/sdk/platform/Order/OrderPlatformModel.js +4088 -3601
  183. package/sdk/platform/Order/OrderPlatformValidator.d.ts +666 -442
  184. package/sdk/platform/Order/OrderPlatformValidator.js +353 -312
  185. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -4
  186. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +9 -7
  187. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +67 -19
  188. package/sdk/platform/Partner/PartnerPlatformModel.js +26 -17
  189. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +135 -382
  190. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +937 -2452
  191. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +100 -306
  192. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +74 -305
  193. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +56 -66
  194. package/sdk/platform/Payment/PaymentPlatformClient.js +124 -269
  195. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +1307 -3536
  196. package/sdk/platform/Payment/PaymentPlatformModel.js +1389 -3692
  197. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +35 -64
  198. package/sdk/platform/Payment/PaymentPlatformValidator.js +34 -60
  199. package/sdk/platform/PlatformClient.d.ts +0 -2
  200. package/sdk/platform/PlatformClient.js +0 -4
  201. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
  202. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
  203. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
  204. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
  205. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +12 -12
  206. package/sdk/platform/Rewards/RewardsPlatformModel.js +10 -10
  207. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +64 -136
  208. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +111 -521
  209. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +75 -117
  210. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +50 -105
  211. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +160 -149
  212. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +766 -545
  213. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +6196 -3978
  214. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +3181 -3895
  215. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +294 -220
  216. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +205 -149
  217. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +16 -4
  218. package/sdk/platform/Share/SharePlatformApplicationClient.js +86 -8
  219. package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +23 -6
  220. package/sdk/platform/Share/SharePlatformApplicationValidator.js +16 -3
  221. package/sdk/platform/Share/SharePlatformModel.d.ts +53 -9
  222. package/sdk/platform/Share/SharePlatformModel.js +45 -5
  223. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +17 -37
  224. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +66 -204
  225. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +25 -26
  226. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +20 -31
  227. package/sdk/platform/Theme/ThemePlatformClient.d.ts +8 -18
  228. package/sdk/platform/Theme/ThemePlatformClient.js +8 -85
  229. package/sdk/platform/Theme/ThemePlatformModel.d.ts +17 -425
  230. package/sdk/platform/Theme/ThemePlatformModel.js +23 -329
  231. package/sdk/platform/Theme/ThemePlatformValidator.d.ts +3 -7
  232. package/sdk/platform/Theme/ThemePlatformValidator.js +2 -9
  233. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +81 -18
  234. package/sdk/platform/User/UserPlatformApplicationClient.js +491 -27
  235. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +126 -10
  236. package/sdk/platform/User/UserPlatformApplicationValidator.js +92 -7
  237. package/sdk/platform/User/UserPlatformModel.d.ts +317 -218
  238. package/sdk/platform/User/UserPlatformModel.js +253 -210
  239. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +25 -78
  240. package/sdk/platform/Webhook/WebhookPlatformClient.js +75 -470
  241. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +813 -426
  242. package/sdk/platform/Webhook/WebhookPlatformModel.js +446 -395
  243. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
  244. package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
  245. package/sdk/platform/index.d.ts +0 -1
  246. package/sdk/platform/index.js +0 -2
  247. package/sdk/public/Catalog/CatalogPublicClient.d.ts +22 -0
  248. package/sdk/public/Catalog/CatalogPublicClient.js +133 -0
  249. package/sdk/public/Catalog/CatalogPublicModel.d.ts +158 -0
  250. package/sdk/public/Catalog/CatalogPublicModel.js +116 -0
  251. package/sdk/public/Catalog/CatalogPublicValidator.d.ts +55 -0
  252. package/sdk/public/Catalog/CatalogPublicValidator.js +35 -0
  253. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +4 -14
  254. package/sdk/public/Configuration/ConfigurationPublicClient.js +10 -113
  255. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +46 -114
  256. package/sdk/public/Configuration/ConfigurationPublicModel.js +32 -117
  257. package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +1 -11
  258. package/sdk/public/Configuration/ConfigurationPublicValidator.js +0 -12
  259. package/sdk/public/Content/ContentPublicClient.d.ts +36 -25
  260. package/sdk/public/Content/ContentPublicClient.js +254 -280
  261. package/sdk/public/Content/ContentPublicModel.d.ts +151 -38
  262. package/sdk/public/Content/ContentPublicModel.js +98 -44
  263. package/sdk/public/Content/ContentPublicValidator.d.ts +18 -17
  264. package/sdk/public/Content/ContentPublicValidator.js +26 -19
  265. package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
  266. package/sdk/public/Partner/PartnerPublicClient.js +6 -11
  267. package/sdk/public/Partner/PartnerPublicModel.d.ts +248 -72
  268. package/sdk/public/Partner/PartnerPublicModel.js +81 -71
  269. package/sdk/public/Partner/PartnerPublicValidator.d.ts +2 -2
  270. package/sdk/public/Partner/PartnerPublicValidator.js +1 -1
  271. package/sdk/public/PublicClient.d.ts +2 -0
  272. package/sdk/public/PublicClient.js +4 -0
  273. package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
  274. package/sdk/public/Webhook/WebhookPublicClient.js +9 -48
  275. package/sdk/public/Webhook/WebhookPublicModel.d.ts +215 -67
  276. package/sdk/public/Webhook/WebhookPublicModel.js +66 -61
  277. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
  278. package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
  279. package/sdk/public/index.d.ts +1 -0
  280. package/sdk/public/index.js +2 -0
  281. package/sdk/partner/Authorization/AuthorizationPartnerClient.d.ts +0 -66
  282. package/sdk/partner/Authorization/AuthorizationPartnerClient.js +0 -431
  283. package/sdk/partner/Authorization/AuthorizationPartnerModel.d.ts +0 -231
  284. package/sdk/partner/Authorization/AuthorizationPartnerModel.js +0 -152
  285. package/sdk/partner/Authorization/AuthorizationPartnerValidator.d.ts +0 -8
  286. package/sdk/partner/Authorization/AuthorizationPartnerValidator.js +0 -39
  287. package/sdk/partner/Catalog/CatalogPartnerClient.d.ts +0 -26
  288. package/sdk/partner/Catalog/CatalogPartnerClient.js +0 -173
  289. package/sdk/partner/Catalog/CatalogPartnerModel.d.ts +0 -238
  290. package/sdk/partner/Catalog/CatalogPartnerModel.js +0 -248
  291. package/sdk/partner/Catalog/CatalogPartnerValidator.d.ts +0 -5
  292. package/sdk/partner/Catalog/CatalogPartnerValidator.js +0 -19
  293. package/sdk/partner/Payment/PaymentPartnerClient.d.ts +0 -116
  294. package/sdk/partner/Payment/PaymentPartnerClient.js +0 -857
  295. package/sdk/partner/Payment/PaymentPartnerModel.d.ts +0 -388
  296. package/sdk/partner/Payment/PaymentPartnerModel.js +0 -442
  297. package/sdk/partner/Payment/PaymentPartnerValidator.d.ts +0 -14
  298. package/sdk/partner/Payment/PaymentPartnerValidator.js +0 -74
  299. package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -320
  300. package/sdk/platform/Finance/FinancePlatformClient.js +0 -2333
  301. package/sdk/platform/Finance/FinancePlatformModel.d.ts +0 -2895
  302. package/sdk/platform/Finance/FinancePlatformModel.js +0 -2150
  303. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
  304. package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
@@ -2,54 +2,36 @@ export = PaymentPlatformApplicationValidator;
2
2
  /**
3
3
  * @typedef AddEdcDeviceParam
4
4
  * @property {string} terminalUniqueIdentifier - Terminal unique identifier
5
- * @property {PaymentPlatformModel.EdcUpdateRequest} body
6
- */
7
- /**
8
- * @typedef AddRefundBankAccountParam
9
- * @property {PaymentPlatformModel.AddBeneficiaryDetailsOTPRequest} body
5
+ * @property {PaymentPlatformModel.EdcUpdate} body
10
6
  */
11
7
  /**
12
8
  * @typedef AddRefundBankAccountUsingOTPParam
13
- * @property {PaymentPlatformModel.AddBeneficiaryDetailsOTPRequest} body
9
+ * @property {PaymentPlatformModel.AddBeneficiaryDetailsOTPCreation} body
14
10
  */
15
11
  /**
16
12
  * @typedef CancelPaymentLinkParam
17
- * @property {PaymentPlatformModel.CancelOrResendPaymentLinkRequest} body
13
+ * @property {PaymentPlatformModel.CancelOrResendPaymentLinkCreation} body
18
14
  */
19
15
  /**
20
16
  * @typedef CheckAndUpdatePaymentStatusParam
21
- * @property {PaymentPlatformModel.PaymentStatusUpdateRequest} body
17
+ * @property {PaymentPlatformModel.PaymentStatusUpdateCreation} body
22
18
  */
23
19
  /**
24
20
  * @typedef ConfirmPaymentParam
25
- * @property {PaymentPlatformModel.PaymentConfirmationRequest} body
26
- */
27
- /**
28
- * @typedef CopyConfigAggPaymentModesParam
29
- * @property {string} aggregatorId - Aggregator Id
30
- * @property {PaymentPlatformModel.PlatformPaymentModeCopyConfigRequest} body
31
- */
32
- /**
33
- * @typedef CopyConfigPaymentModesParam
34
- * @property {PaymentPlatformModel.PlatformPaymentModeCopyConfigRequest} body
21
+ * @property {PaymentPlatformModel.PaymentConfirmationCreation} body
35
22
  */
36
23
  /**
37
24
  * @typedef CreateMerchantRefundPriorityParam
38
25
  * @property {string} configType - Configuration for merchant or customer
39
- * @property {string} businessUnit - Business unit storefront or pos
40
- * @property {PaymentPlatformModel.RefundPriorityRequestSerializer} body
26
+ * @property {PaymentPlatformModel.RefundPriorityCreation} body
41
27
  */
42
28
  /**
43
29
  * @typedef CreatePaymentLinkParam
44
- * @property {PaymentPlatformModel.CreatePaymentLinkRequest} body
30
+ * @property {PaymentPlatformModel.CreatePaymentLinkCreation} body
45
31
  */
46
32
  /**
47
33
  * @typedef CreatePaymentOrderParam
48
- * @property {PaymentPlatformModel.PaymentOrderRequest} body
49
- */
50
- /**
51
- * @typedef DeleteBeneficiaryDetailsParam
52
- * @property {PaymentPlatformModel.DeleteBeneficiaryRequest} body
34
+ * @property {PaymentPlatformModel.PaymentOrderCreation} body
53
35
  */
54
36
  /** @typedef EdcAggregatorsAndModelListParam */
55
37
  /**
@@ -61,18 +43,6 @@ export = PaymentPlatformApplicationValidator;
61
43
  * @property {string} [deviceTag]
62
44
  */
63
45
  /** @typedef EdcDeviceStatsParam */
64
- /**
65
- * @typedef GetAggregatorCredentialParam
66
- * @property {string} aggregator - The aggregator for which credentials are requested
67
- * @property {string} configType - The configuration type for which credentials
68
- * are requested
69
- */
70
- /**
71
- * @typedef GetAggregatorCredentialHistoryParam
72
- * @property {string} aggregator - The aggregator for which credentials are requested
73
- * @property {string} configType - The configuration type for which credentials
74
- * are requested
75
- */
76
46
  /**
77
47
  * @typedef GetBankAccountDetailsOpenAPIParam
78
48
  * @property {string} orderId
@@ -83,7 +53,6 @@ export = PaymentPlatformApplicationValidator;
83
53
  * @property {string} aggregator - Aggregator slug
84
54
  * @property {string} [configType]
85
55
  */
86
- /** @typedef GetDevicesParam */
87
56
  /**
88
57
  * @typedef GetEdcDeviceParam
89
58
  * @property {string} terminalUniqueIdentifier - Terminal unique identifier
@@ -102,15 +71,10 @@ export = PaymentPlatformApplicationValidator;
102
71
  * @property {string} businessUnit
103
72
  * @property {string} device
104
73
  */
105
- /**
106
- * @typedef GetMerchantPaymentOptionParam
107
- * @property {string} [paymentOptionType] - Payment Option Type, Expected value
108
- * - advance (Optional)
109
- */
74
+ /** @typedef GetMerchantPaymentOptionParam */
110
75
  /**
111
76
  * @typedef GetMerchantRefundPriorityParam
112
77
  * @property {string} configType - Configuration for merchant or customer
113
- * @property {string} businessUnit - Business unit storefront or pos
114
78
  */
115
79
  /** @typedef GetPGConfigAggregatorsParam */
116
80
  /** @typedef GetPaymentCodeOptionParam */
@@ -118,11 +82,6 @@ export = PaymentPlatformApplicationValidator;
118
82
  * @typedef GetPaymentLinkParam
119
83
  * @property {string} paymentLinkId
120
84
  */
121
- /**
122
- * @typedef GetPaymentLinkIdParam
123
- * @property {string} id
124
- * @property {string} paymentLinkId
125
- */
126
85
  /**
127
86
  * @typedef GetPaymentModeControlRoutesParam
128
87
  * @property {string} mode - Offline / advance modes to get the payment modes
@@ -133,20 +92,18 @@ export = PaymentPlatformApplicationValidator;
133
92
  */
134
93
  /**
135
94
  * @typedef GetPaymentModeRoutesParam
136
- * @property {boolean} refresh
137
- * @property {number} amount
138
- * @property {string} requestType
139
- * @property {string} [orderId]
140
- * @property {string} [shipmentId]
141
- */
142
- /**
143
- * @typedef GetPaymentModeSequencingParam
144
- * @property {string} businessUnit
145
- * @property {string} device
95
+ * @property {boolean} [refresh] - Flag to refresh the cache and retrieve the
96
+ * updated payment option
97
+ * @property {string} [requestType] - Type of payment request, i.e. self
98
+ * @property {string} [orderId] - Order id for the payment
99
+ * @property {string} [shipmentId] - Shipment id for the payment
100
+ * @property {number} [amount] - Amount for the payment
146
101
  */
147
102
  /**
148
103
  * @typedef GetPaymentSessionParam
149
- * @property {string} gid - Transaction id
104
+ * @property {string} gid - Global identifier of the entity (e.g. order, cart
105
+ * etc.) against which payment session was initiated. This is generated by
106
+ * Fynd payments platform and is unique.
150
107
  * @property {boolean} [lineItem] - A boolean flag to include detailed cart and
151
108
  * line item information in the response. When set to true, the response will
152
109
  * contain comprehensive details about the cart, including each line item's
@@ -155,9 +112,10 @@ export = PaymentPlatformApplicationValidator;
155
112
  * breakdown of charges to the customer, helping to understand the total
156
113
  * amount billed in a more granular way.
157
114
  */
158
- /** @typedef GetPennyDropValidationParam */
159
115
  /**
160
116
  * @typedef GetPosPaymentModeRoutesParam
117
+ * @property {string} [xOrderingSource] - Optional header to identify the
118
+ * ordering source used to determine\ applicable payment options for business unit.
161
119
  * @property {number} amount - Payable amount.
162
120
  * @property {string} [cartId] - Identifier of the cart.
163
121
  * @property {string} pincode - The PIN Code of the destination address, e.g. 400059
@@ -175,27 +133,10 @@ export = PaymentPlatformApplicationValidator;
175
133
  * @property {boolean} [advancePayment] - Display Advance Payment Options or Normal
176
134
  * @property {string} [shipmentId]
177
135
  */
178
- /**
179
- * @typedef GetSelectedRefundOptionParam
180
- * @property {string} shipmentId - Shipment Id
181
- * @property {string} orderId - Order Id
182
- */
183
- /**
184
- * @typedef GetShipmentBeneficiaryParam
185
- * @property {string} shipmentId - Shipment id
186
- */
187
136
  /**
188
137
  * @typedef GetUserBeneficiariesParam
189
138
  * @property {string} orderId
190
139
  */
191
- /**
192
- * @typedef GetUserBeneficiariesDetailV2Param
193
- * @property {string} [orderId] - A unique number used for identifying and
194
- * tracking your orders.
195
- * @property {string} [shipmentId] - A unique number used for identifying and
196
- * tracking your orders.
197
- * @property {string} [mop] - Mode of payment for which beneficiary data required
198
- */
199
140
  /**
200
141
  * @typedef GetUserCODlimitRoutesParam
201
142
  * @property {string} merchantUserId
@@ -207,11 +148,11 @@ export = PaymentPlatformApplicationValidator;
207
148
  */
208
149
  /**
209
150
  * @typedef InitialisePaymentParam
210
- * @property {PaymentPlatformModel.PaymentInitializationRequest} body
151
+ * @property {PaymentPlatformModel.PaymentInitializationCreation} body
211
152
  */
212
153
  /**
213
154
  * @typedef MerchantOnBoardingParam
214
- * @property {PaymentPlatformModel.MerchantOnBoardingRequest} body
155
+ * @property {PaymentPlatformModel.MerchantOnBoardingCreation} body
215
156
  */
216
157
  /**
217
158
  * @typedef OauthGetUrlParam
@@ -222,28 +163,24 @@ export = PaymentPlatformApplicationValidator;
222
163
  /**
223
164
  * @typedef PatchMerchantAggregatorPaymentModeDetailsParam
224
165
  * @property {number} aggregatorId - Aggregators Id
225
- * @property {PaymentPlatformModel.PlatformPaymentModeRequest} body
166
+ * @property {PaymentPlatformModel.PlatformPaymentModeDetails} body
226
167
  */
227
168
  /**
228
169
  * @typedef PatchMerchantPaymentOptionParam
229
- * @property {PaymentPlatformModel.MerchantPaymentModeRequest} body
170
+ * @property {PaymentPlatformModel.MerchnatPaymentModeCreation} body
230
171
  */
231
172
  /**
232
173
  * @typedef PatchMerchantPaymentOptionVersionParam
233
174
  * @property {number} aggregatorId - Aggregators Id
234
- * @property {PaymentPlatformModel.AggregatorControlRequest} body
235
- */
236
- /**
237
- * @typedef PatchPaymentModeSequencingParam
238
- * @property {PaymentPlatformModel.PlatformPaymentModeRequest} body
175
+ * @property {PaymentPlatformModel.PatchAggregatorControl} body
239
176
  */
240
177
  /**
241
178
  * @typedef PaymentStatusBulkParam
242
- * @property {PaymentPlatformModel.PaymentStatusBulkHandlerRequest} body
179
+ * @property {PaymentPlatformModel.PaymentStatusBulkHandlerCreation} body
243
180
  */
244
181
  /**
245
182
  * @typedef PollingPaymentLinkParam
246
- * @property {string} [paymentLinkId]
183
+ * @property {string} paymentLinkId
247
184
  */
248
185
  /**
249
186
  * @typedef RepaymentDetailsParam
@@ -251,11 +188,11 @@ export = PaymentPlatformApplicationValidator;
251
188
  */
252
189
  /**
253
190
  * @typedef ResendOrCancelPaymentParam
254
- * @property {PaymentPlatformModel.ResendOrCancelPaymentRequest} body
191
+ * @property {PaymentPlatformModel.ResendOrCancelPaymentCreation} body
255
192
  */
256
193
  /**
257
194
  * @typedef ResendPaymentLinkParam
258
- * @property {PaymentPlatformModel.CancelOrResendPaymentLinkRequest} body
195
+ * @property {PaymentPlatformModel.CancelOrResendPaymentLinkCreation} body
259
196
  */
260
197
  /**
261
198
  * @typedef RevokeOauthTokenParam
@@ -263,54 +200,37 @@ export = PaymentPlatformApplicationValidator;
263
200
  */
264
201
  /**
265
202
  * @typedef SaveBrandPaymentGatewayConfigParam
266
- * @property {PaymentPlatformModel.PaymentGatewayConfigRequest} body
203
+ * @property {PaymentPlatformModel.PaymentGatewayConfigCreation} body
267
204
  */
268
205
  /**
269
206
  * @typedef SetMerchantModeControlRoutesParam
270
- * @property {string} mode - Offline / advance modes to get the payment modes
271
- * @property {PaymentPlatformModel.PlatformOfflineAdvanceRequest} body
207
+ * @property {string} mode - Offline / advance payment mode
208
+ * @property {PaymentPlatformModel.MerchantPaymentModeCreation} body
272
209
  */
273
210
  /**
274
211
  * @typedef SetPaymentModeCustomConfigParam
275
212
  * @property {string} mode - Offline / advance payment mode
276
213
  * @property {PaymentPlatformModel.PaymentCustomConfigRequestSchema} body
277
214
  */
278
- /**
279
- * @typedef SetRefundOptionforShipmentParam
280
- * @property {PaymentPlatformModel.ShipmentRefundRequest} body
281
- */
282
215
  /**
283
216
  * @typedef SetUserCODlimitRoutesParam
284
- * @property {PaymentPlatformModel.SetCODForUserRequest} body
285
- */
286
- /**
287
- * @typedef UpdateAggregatorCredentialParam
288
- * @property {PaymentPlatformModel.AggregatorCredentialRequest} body
289
- */
290
- /**
291
- * @typedef UpdateDefaultBeneficiaryParam
292
- * @property {PaymentPlatformModel.SetDefaultBeneficiaryRequest} body
217
+ * @property {PaymentPlatformModel.SetCODForUserCreation} body
293
218
  */
294
219
  /**
295
220
  * @typedef UpdateEdcDeviceParam
296
- * @property {PaymentPlatformModel.EdcAddRequest} body
221
+ * @property {PaymentPlatformModel.EdcAddCreation} body
297
222
  */
298
223
  /**
299
224
  * @typedef UpdateMerchantRefundPriorityParam
300
225
  * @property {string} configType - Configuration for merchant or customer
301
- * @property {string} businessUnit - Business unit storefront or pos
302
- * @property {PaymentPlatformModel.RefundPriorityRequestSerializer} body
226
+ * @property {PaymentPlatformModel.RefundPriorityCreation} body
303
227
  */
304
228
  /**
305
229
  * @typedef UpdatePaymentSessionParam
306
230
  * @property {string} gid - Global identifier of the entity (e.g. order, cart
307
231
  * etc.) against which payment_session was initiated. This is generated by
308
232
  * Fynd payments platform and is unique.
309
- * @property {PaymentPlatformModel.PaymentSessionRequestSerializer} body
310
- */
311
- /**
312
- * @typedef UpdatePennyDropValidationParam
313
- * @property {PaymentPlatformModel.UpdatePennyDropValidationRequest} body
233
+ * @property {PaymentPlatformModel.PaymentSessionCreation} body
314
234
  */
315
235
  /**
316
236
  * @typedef UpdateRefundSessionParam
@@ -319,21 +239,19 @@ export = PaymentPlatformApplicationValidator;
319
239
  * Fynd payments platform and is unique.
320
240
  * @property {string} requestId - A unique id that was used to initiate a refund
321
241
  * session. This is generated by Fynd platform and is usually shipment_id.
322
- * @property {PaymentPlatformModel.RefundSessionRequestSerializer} body
242
+ * @property {PaymentPlatformModel.RefundSessionCreation} body
323
243
  */
324
244
  /**
325
- * @typedef ValidateBeneficiaryAddressParam
326
- * @property {PaymentPlatformModel.ValidateValidateAddressRequest} body
245
+ * @typedef ValidateCustomerAndCreditSummaryParam
246
+ * @property {PaymentPlatformModel.CustomerValidationSchema} body
327
247
  */
328
248
  /**
329
249
  * @typedef VerifyCustomerForPaymentParam
330
- * @property {PaymentPlatformModel.ValidateCustomerRequest} body
250
+ * @property {PaymentPlatformModel.ValidateCustomerCreation} body
331
251
  */
332
252
  declare class PaymentPlatformApplicationValidator {
333
253
  /** @returns {AddEdcDeviceParam} */
334
254
  static addEdcDevice(): AddEdcDeviceParam;
335
- /** @returns {AddRefundBankAccountParam} */
336
- static addRefundBankAccount(): AddRefundBankAccountParam;
337
255
  /** @returns {AddRefundBankAccountUsingOTPParam} */
338
256
  static addRefundBankAccountUsingOTP(): AddRefundBankAccountUsingOTPParam;
339
257
  /** @returns {CancelPaymentLinkParam} */
@@ -342,34 +260,22 @@ declare class PaymentPlatformApplicationValidator {
342
260
  static checkAndUpdatePaymentStatus(): CheckAndUpdatePaymentStatusParam;
343
261
  /** @returns {ConfirmPaymentParam} */
344
262
  static confirmPayment(): ConfirmPaymentParam;
345
- /** @returns {CopyConfigAggPaymentModesParam} */
346
- static copyConfigAggPaymentModes(): CopyConfigAggPaymentModesParam;
347
- /** @returns {CopyConfigPaymentModesParam} */
348
- static copyConfigPaymentModes(): CopyConfigPaymentModesParam;
349
263
  /** @returns {CreateMerchantRefundPriorityParam} */
350
264
  static createMerchantRefundPriority(): CreateMerchantRefundPriorityParam;
351
265
  /** @returns {CreatePaymentLinkParam} */
352
266
  static createPaymentLink(): CreatePaymentLinkParam;
353
267
  /** @returns {CreatePaymentOrderParam} */
354
268
  static createPaymentOrder(): CreatePaymentOrderParam;
355
- /** @returns {DeleteBeneficiaryDetailsParam} */
356
- static deleteBeneficiaryDetails(): DeleteBeneficiaryDetailsParam;
357
269
  /** @returns {EdcAggregatorsAndModelListParam} */
358
270
  static edcAggregatorsAndModelList(): any;
359
271
  /** @returns {EdcDeviceListParam} */
360
272
  static edcDeviceList(): EdcDeviceListParam;
361
273
  /** @returns {EdcDeviceStatsParam} */
362
274
  static edcDeviceStats(): any;
363
- /** @returns {GetAggregatorCredentialParam} */
364
- static getAggregatorCredential(): GetAggregatorCredentialParam;
365
- /** @returns {GetAggregatorCredentialHistoryParam} */
366
- static getAggregatorCredentialHistory(): GetAggregatorCredentialHistoryParam;
367
275
  /** @returns {GetBankAccountDetailsOpenAPIParam} */
368
276
  static getBankAccountDetailsOpenAPI(): GetBankAccountDetailsOpenAPIParam;
369
277
  /** @returns {GetBrandPaymentGatewayConfigParam} */
370
278
  static getBrandPaymentGatewayConfig(): GetBrandPaymentGatewayConfigParam;
371
- /** @returns {GetDevicesParam} */
372
- static getDevices(): any;
373
279
  /** @returns {GetEdcDeviceParam} */
374
280
  static getEdcDevice(): GetEdcDeviceParam;
375
281
  /** @returns {GetMerchantAggregatorAppVersionParam} */
@@ -377,7 +283,7 @@ declare class PaymentPlatformApplicationValidator {
377
283
  /** @returns {GetMerchantAggregatorPaymentModeDetailsParam} */
378
284
  static getMerchantAggregatorPaymentModeDetails(): GetMerchantAggregatorPaymentModeDetailsParam;
379
285
  /** @returns {GetMerchantPaymentOptionParam} */
380
- static getMerchantPaymentOption(): GetMerchantPaymentOptionParam;
286
+ static getMerchantPaymentOption(): any;
381
287
  /** @returns {GetMerchantRefundPriorityParam} */
382
288
  static getMerchantRefundPriority(): GetMerchantRefundPriorityParam;
383
289
  /** @returns {GetPGConfigAggregatorsParam} */
@@ -386,30 +292,18 @@ declare class PaymentPlatformApplicationValidator {
386
292
  static getPaymentCodeOption(): any;
387
293
  /** @returns {GetPaymentLinkParam} */
388
294
  static getPaymentLink(): GetPaymentLinkParam;
389
- /** @returns {GetPaymentLinkIdParam} */
390
- static getPaymentLinkId(): GetPaymentLinkIdParam;
391
295
  /** @returns {GetPaymentModeControlRoutesParam} */
392
296
  static getPaymentModeControlRoutes(): GetPaymentModeControlRoutesParam;
393
297
  /** @returns {GetPaymentModeCustomConfigParam} */
394
298
  static getPaymentModeCustomConfig(): GetPaymentModeCustomConfigParam;
395
299
  /** @returns {GetPaymentModeRoutesParam} */
396
300
  static getPaymentModeRoutes(): GetPaymentModeRoutesParam;
397
- /** @returns {GetPaymentModeSequencingParam} */
398
- static getPaymentModeSequencing(): GetPaymentModeSequencingParam;
399
301
  /** @returns {GetPaymentSessionParam} */
400
302
  static getPaymentSession(): GetPaymentSessionParam;
401
- /** @returns {GetPennyDropValidationParam} */
402
- static getPennyDropValidation(): any;
403
303
  /** @returns {GetPosPaymentModeRoutesParam} */
404
304
  static getPosPaymentModeRoutes(): GetPosPaymentModeRoutesParam;
405
- /** @returns {GetSelectedRefundOptionParam} */
406
- static getSelectedRefundOption(): GetSelectedRefundOptionParam;
407
- /** @returns {GetShipmentBeneficiaryParam} */
408
- static getShipmentBeneficiary(): GetShipmentBeneficiaryParam;
409
305
  /** @returns {GetUserBeneficiariesParam} */
410
306
  static getUserBeneficiaries(): GetUserBeneficiariesParam;
411
- /** @returns {GetUserBeneficiariesDetailV2Param} */
412
- static getUserBeneficiariesDetailV2(): GetUserBeneficiariesDetailV2Param;
413
307
  /** @returns {GetUserCODlimitRoutesParam} */
414
308
  static getUserCODlimitRoutes(): GetUserCODlimitRoutesParam;
415
309
  /** @returns {GetUserOrderBeneficiariesParam} */
@@ -426,8 +320,6 @@ declare class PaymentPlatformApplicationValidator {
426
320
  static patchMerchantPaymentOption(): PatchMerchantPaymentOptionParam;
427
321
  /** @returns {PatchMerchantPaymentOptionVersionParam} */
428
322
  static patchMerchantPaymentOptionVersion(): PatchMerchantPaymentOptionVersionParam;
429
- /** @returns {PatchPaymentModeSequencingParam} */
430
- static patchPaymentModeSequencing(): PatchPaymentModeSequencingParam;
431
323
  /** @returns {PaymentStatusBulkParam} */
432
324
  static paymentStatusBulk(): PaymentStatusBulkParam;
433
325
  /** @returns {PollingPaymentLinkParam} */
@@ -446,83 +338,55 @@ declare class PaymentPlatformApplicationValidator {
446
338
  static setMerchantModeControlRoutes(): SetMerchantModeControlRoutesParam;
447
339
  /** @returns {SetPaymentModeCustomConfigParam} */
448
340
  static setPaymentModeCustomConfig(): SetPaymentModeCustomConfigParam;
449
- /** @returns {SetRefundOptionforShipmentParam} */
450
- static setRefundOptionforShipment(): SetRefundOptionforShipmentParam;
451
341
  /** @returns {SetUserCODlimitRoutesParam} */
452
342
  static setUserCODlimitRoutes(): SetUserCODlimitRoutesParam;
453
- /** @returns {UpdateAggregatorCredentialParam} */
454
- static updateAggregatorCredential(): UpdateAggregatorCredentialParam;
455
- /** @returns {UpdateDefaultBeneficiaryParam} */
456
- static updateDefaultBeneficiary(): UpdateDefaultBeneficiaryParam;
457
343
  /** @returns {UpdateEdcDeviceParam} */
458
344
  static updateEdcDevice(): UpdateEdcDeviceParam;
459
345
  /** @returns {UpdateMerchantRefundPriorityParam} */
460
346
  static updateMerchantRefundPriority(): UpdateMerchantRefundPriorityParam;
461
347
  /** @returns {UpdatePaymentSessionParam} */
462
348
  static updatePaymentSession(): UpdatePaymentSessionParam;
463
- /** @returns {UpdatePennyDropValidationParam} */
464
- static updatePennyDropValidation(): UpdatePennyDropValidationParam;
465
349
  /** @returns {UpdateRefundSessionParam} */
466
350
  static updateRefundSession(): UpdateRefundSessionParam;
467
- /** @returns {ValidateBeneficiaryAddressParam} */
468
- static validateBeneficiaryAddress(): ValidateBeneficiaryAddressParam;
351
+ /** @returns {ValidateCustomerAndCreditSummaryParam} */
352
+ static validateCustomerAndCreditSummary(): ValidateCustomerAndCreditSummaryParam;
469
353
  /** @returns {VerifyCustomerForPaymentParam} */
470
354
  static verifyCustomerForPayment(): VerifyCustomerForPaymentParam;
471
355
  }
472
356
  declare namespace PaymentPlatformApplicationValidator {
473
- export { AddEdcDeviceParam, AddRefundBankAccountParam, AddRefundBankAccountUsingOTPParam, CancelPaymentLinkParam, CheckAndUpdatePaymentStatusParam, ConfirmPaymentParam, CopyConfigAggPaymentModesParam, CopyConfigPaymentModesParam, CreateMerchantRefundPriorityParam, CreatePaymentLinkParam, CreatePaymentOrderParam, DeleteBeneficiaryDetailsParam, EdcAggregatorsAndModelListParam, EdcDeviceListParam, EdcDeviceStatsParam, GetAggregatorCredentialParam, GetAggregatorCredentialHistoryParam, GetBankAccountDetailsOpenAPIParam, GetBrandPaymentGatewayConfigParam, GetDevicesParam, GetEdcDeviceParam, GetMerchantAggregatorAppVersionParam, GetMerchantAggregatorPaymentModeDetailsParam, GetMerchantPaymentOptionParam, GetMerchantRefundPriorityParam, GetPGConfigAggregatorsParam, GetPaymentCodeOptionParam, GetPaymentLinkParam, GetPaymentLinkIdParam, GetPaymentModeControlRoutesParam, GetPaymentModeCustomConfigParam, GetPaymentModeRoutesParam, GetPaymentModeSequencingParam, GetPaymentSessionParam, GetPennyDropValidationParam, GetPosPaymentModeRoutesParam, GetSelectedRefundOptionParam, GetShipmentBeneficiaryParam, GetUserBeneficiariesParam, GetUserBeneficiariesDetailV2Param, GetUserCODlimitRoutesParam, GetUserOrderBeneficiariesParam, InitialisePaymentParam, MerchantOnBoardingParam, OauthGetUrlParam, PatchMerchantAggregatorPaymentModeDetailsParam, PatchMerchantPaymentOptionParam, PatchMerchantPaymentOptionVersionParam, PatchPaymentModeSequencingParam, PaymentStatusBulkParam, PollingPaymentLinkParam, RepaymentDetailsParam, ResendOrCancelPaymentParam, ResendPaymentLinkParam, RevokeOauthTokenParam, SaveBrandPaymentGatewayConfigParam, SetMerchantModeControlRoutesParam, SetPaymentModeCustomConfigParam, SetRefundOptionforShipmentParam, SetUserCODlimitRoutesParam, UpdateAggregatorCredentialParam, UpdateDefaultBeneficiaryParam, UpdateEdcDeviceParam, UpdateMerchantRefundPriorityParam, UpdatePaymentSessionParam, UpdatePennyDropValidationParam, UpdateRefundSessionParam, ValidateBeneficiaryAddressParam, VerifyCustomerForPaymentParam };
357
+ export { AddEdcDeviceParam, AddRefundBankAccountUsingOTPParam, CancelPaymentLinkParam, CheckAndUpdatePaymentStatusParam, ConfirmPaymentParam, CreateMerchantRefundPriorityParam, CreatePaymentLinkParam, CreatePaymentOrderParam, EdcAggregatorsAndModelListParam, EdcDeviceListParam, EdcDeviceStatsParam, GetBankAccountDetailsOpenAPIParam, GetBrandPaymentGatewayConfigParam, GetEdcDeviceParam, GetMerchantAggregatorAppVersionParam, GetMerchantAggregatorPaymentModeDetailsParam, GetMerchantPaymentOptionParam, GetMerchantRefundPriorityParam, GetPGConfigAggregatorsParam, GetPaymentCodeOptionParam, GetPaymentLinkParam, GetPaymentModeControlRoutesParam, GetPaymentModeCustomConfigParam, GetPaymentModeRoutesParam, GetPaymentSessionParam, GetPosPaymentModeRoutesParam, GetUserBeneficiariesParam, GetUserCODlimitRoutesParam, GetUserOrderBeneficiariesParam, InitialisePaymentParam, MerchantOnBoardingParam, OauthGetUrlParam, PatchMerchantAggregatorPaymentModeDetailsParam, PatchMerchantPaymentOptionParam, PatchMerchantPaymentOptionVersionParam, PaymentStatusBulkParam, PollingPaymentLinkParam, RepaymentDetailsParam, ResendOrCancelPaymentParam, ResendPaymentLinkParam, RevokeOauthTokenParam, SaveBrandPaymentGatewayConfigParam, SetMerchantModeControlRoutesParam, SetPaymentModeCustomConfigParam, SetUserCODlimitRoutesParam, UpdateEdcDeviceParam, UpdateMerchantRefundPriorityParam, UpdatePaymentSessionParam, UpdateRefundSessionParam, ValidateCustomerAndCreditSummaryParam, VerifyCustomerForPaymentParam };
474
358
  }
475
359
  type AddEdcDeviceParam = {
476
360
  /**
477
361
  * - Terminal unique identifier
478
362
  */
479
363
  terminalUniqueIdentifier: string;
480
- body: PaymentPlatformModel.EdcUpdateRequest;
481
- };
482
- type AddRefundBankAccountParam = {
483
- body: PaymentPlatformModel.AddBeneficiaryDetailsOTPRequest;
364
+ body: PaymentPlatformModel.EdcUpdate;
484
365
  };
485
366
  type AddRefundBankAccountUsingOTPParam = {
486
- body: PaymentPlatformModel.AddBeneficiaryDetailsOTPRequest;
367
+ body: PaymentPlatformModel.AddBeneficiaryDetailsOTPCreation;
487
368
  };
488
369
  type CancelPaymentLinkParam = {
489
- body: PaymentPlatformModel.CancelOrResendPaymentLinkRequest;
370
+ body: PaymentPlatformModel.CancelOrResendPaymentLinkCreation;
490
371
  };
491
372
  type CheckAndUpdatePaymentStatusParam = {
492
- body: PaymentPlatformModel.PaymentStatusUpdateRequest;
373
+ body: PaymentPlatformModel.PaymentStatusUpdateCreation;
493
374
  };
494
375
  type ConfirmPaymentParam = {
495
- body: PaymentPlatformModel.PaymentConfirmationRequest;
496
- };
497
- type CopyConfigAggPaymentModesParam = {
498
- /**
499
- * - Aggregator Id
500
- */
501
- aggregatorId: string;
502
- body: PaymentPlatformModel.PlatformPaymentModeCopyConfigRequest;
503
- };
504
- type CopyConfigPaymentModesParam = {
505
- body: PaymentPlatformModel.PlatformPaymentModeCopyConfigRequest;
376
+ body: PaymentPlatformModel.PaymentConfirmationCreation;
506
377
  };
507
378
  type CreateMerchantRefundPriorityParam = {
508
379
  /**
509
380
  * - Configuration for merchant or customer
510
381
  */
511
382
  configType: string;
512
- /**
513
- * - Business unit storefront or pos
514
- */
515
- businessUnit: string;
516
- body: PaymentPlatformModel.RefundPriorityRequestSerializer;
383
+ body: PaymentPlatformModel.RefundPriorityCreation;
517
384
  };
518
385
  type CreatePaymentLinkParam = {
519
- body: PaymentPlatformModel.CreatePaymentLinkRequest;
386
+ body: PaymentPlatformModel.CreatePaymentLinkCreation;
520
387
  };
521
388
  type CreatePaymentOrderParam = {
522
- body: PaymentPlatformModel.PaymentOrderRequest;
523
- };
524
- type DeleteBeneficiaryDetailsParam = {
525
- body: PaymentPlatformModel.DeleteBeneficiaryRequest;
389
+ body: PaymentPlatformModel.PaymentOrderCreation;
526
390
  };
527
391
  type EdcDeviceListParam = {
528
392
  pageNo?: number;
@@ -531,28 +395,6 @@ type EdcDeviceListParam = {
531
395
  storeId?: number;
532
396
  deviceTag?: string;
533
397
  };
534
- type GetAggregatorCredentialParam = {
535
- /**
536
- * - The aggregator for which credentials are requested
537
- */
538
- aggregator: string;
539
- /**
540
- * - The configuration type for which credentials
541
- * are requested
542
- */
543
- configType: string;
544
- };
545
- type GetAggregatorCredentialHistoryParam = {
546
- /**
547
- * - The aggregator for which credentials are requested
548
- */
549
- aggregator: string;
550
- /**
551
- * - The configuration type for which credentials
552
- * are requested
553
- */
554
- configType: string;
555
- };
556
398
  type GetBankAccountDetailsOpenAPIParam = {
557
399
  orderId: string;
558
400
  requestHash?: string;
@@ -588,30 +430,15 @@ type GetMerchantAggregatorPaymentModeDetailsParam = {
588
430
  businessUnit: string;
589
431
  device: string;
590
432
  };
591
- type GetMerchantPaymentOptionParam = {
592
- /**
593
- * - Payment Option Type, Expected value
594
- * - advance (Optional)
595
- */
596
- paymentOptionType?: string;
597
- };
598
433
  type GetMerchantRefundPriorityParam = {
599
434
  /**
600
435
  * - Configuration for merchant or customer
601
436
  */
602
437
  configType: string;
603
- /**
604
- * - Business unit storefront or pos
605
- */
606
- businessUnit: string;
607
438
  };
608
439
  type GetPaymentLinkParam = {
609
440
  paymentLinkId: string;
610
441
  };
611
- type GetPaymentLinkIdParam = {
612
- id: string;
613
- paymentLinkId: string;
614
- };
615
442
  type GetPaymentModeControlRoutesParam = {
616
443
  /**
617
444
  * - Offline / advance modes to get the payment modes
@@ -625,19 +452,33 @@ type GetPaymentModeCustomConfigParam = {
625
452
  mode: string;
626
453
  };
627
454
  type GetPaymentModeRoutesParam = {
628
- refresh: boolean;
629
- amount: number;
630
- requestType: string;
455
+ /**
456
+ * - Flag to refresh the cache and retrieve the
457
+ * updated payment option
458
+ */
459
+ refresh?: boolean;
460
+ /**
461
+ * - Type of payment request, i.e. self
462
+ */
463
+ requestType?: string;
464
+ /**
465
+ * - Order id for the payment
466
+ */
631
467
  orderId?: string;
468
+ /**
469
+ * - Shipment id for the payment
470
+ */
632
471
  shipmentId?: string;
633
- };
634
- type GetPaymentModeSequencingParam = {
635
- businessUnit: string;
636
- device: string;
472
+ /**
473
+ * - Amount for the payment
474
+ */
475
+ amount?: number;
637
476
  };
638
477
  type GetPaymentSessionParam = {
639
478
  /**
640
- * - Transaction id
479
+ * - Global identifier of the entity (e.g. order, cart
480
+ * etc.) against which payment session was initiated. This is generated by
481
+ * Fynd payments platform and is unique.
641
482
  */
642
483
  gid: string;
643
484
  /**
@@ -652,6 +493,11 @@ type GetPaymentSessionParam = {
652
493
  lineItem?: boolean;
653
494
  };
654
495
  type GetPosPaymentModeRoutesParam = {
496
+ /**
497
+ * - Optional header to identify the
498
+ * ordering source used to determine\ applicable payment options for business unit.
499
+ */
500
+ xOrderingSource?: string;
655
501
  /**
656
502
  * - Payable amount.
657
503
  */
@@ -699,41 +545,9 @@ type GetPosPaymentModeRoutesParam = {
699
545
  advancePayment?: boolean;
700
546
  shipmentId?: string;
701
547
  };
702
- type GetSelectedRefundOptionParam = {
703
- /**
704
- * - Shipment Id
705
- */
706
- shipmentId: string;
707
- /**
708
- * - Order Id
709
- */
710
- orderId: string;
711
- };
712
- type GetShipmentBeneficiaryParam = {
713
- /**
714
- * - Shipment id
715
- */
716
- shipmentId: string;
717
- };
718
548
  type GetUserBeneficiariesParam = {
719
549
  orderId: string;
720
550
  };
721
- type GetUserBeneficiariesDetailV2Param = {
722
- /**
723
- * - A unique number used for identifying and
724
- * tracking your orders.
725
- */
726
- orderId?: string;
727
- /**
728
- * - A unique number used for identifying and
729
- * tracking your orders.
730
- */
731
- shipmentId?: string;
732
- /**
733
- * - Mode of payment for which beneficiary data required
734
- */
735
- mop?: string;
736
- };
737
551
  type GetUserCODlimitRoutesParam = {
738
552
  merchantUserId: string;
739
553
  mobileNo: string;
@@ -742,10 +556,10 @@ type GetUserOrderBeneficiariesParam = {
742
556
  orderId: string;
743
557
  };
744
558
  type InitialisePaymentParam = {
745
- body: PaymentPlatformModel.PaymentInitializationRequest;
559
+ body: PaymentPlatformModel.PaymentInitializationCreation;
746
560
  };
747
561
  type MerchantOnBoardingParam = {
748
- body: PaymentPlatformModel.MerchantOnBoardingRequest;
562
+ body: PaymentPlatformModel.MerchantOnBoardingCreation;
749
563
  };
750
564
  type OauthGetUrlParam = {
751
565
  /**
@@ -760,35 +574,32 @@ type PatchMerchantAggregatorPaymentModeDetailsParam = {
760
574
  * - Aggregators Id
761
575
  */
762
576
  aggregatorId: number;
763
- body: PaymentPlatformModel.PlatformPaymentModeRequest;
577
+ body: PaymentPlatformModel.PlatformPaymentModeDetails;
764
578
  };
765
579
  type PatchMerchantPaymentOptionParam = {
766
- body: PaymentPlatformModel.MerchantPaymentModeRequest;
580
+ body: PaymentPlatformModel.MerchnatPaymentModeCreation;
767
581
  };
768
582
  type PatchMerchantPaymentOptionVersionParam = {
769
583
  /**
770
584
  * - Aggregators Id
771
585
  */
772
586
  aggregatorId: number;
773
- body: PaymentPlatformModel.AggregatorControlRequest;
774
- };
775
- type PatchPaymentModeSequencingParam = {
776
- body: PaymentPlatformModel.PlatformPaymentModeRequest;
587
+ body: PaymentPlatformModel.PatchAggregatorControl;
777
588
  };
778
589
  type PaymentStatusBulkParam = {
779
- body: PaymentPlatformModel.PaymentStatusBulkHandlerRequest;
590
+ body: PaymentPlatformModel.PaymentStatusBulkHandlerCreation;
780
591
  };
781
592
  type PollingPaymentLinkParam = {
782
- paymentLinkId?: string;
593
+ paymentLinkId: string;
783
594
  };
784
595
  type RepaymentDetailsParam = {
785
596
  body: PaymentPlatformModel.RepaymentDetailsSerialiserPayAll;
786
597
  };
787
598
  type ResendOrCancelPaymentParam = {
788
- body: PaymentPlatformModel.ResendOrCancelPaymentRequest;
599
+ body: PaymentPlatformModel.ResendOrCancelPaymentCreation;
789
600
  };
790
601
  type ResendPaymentLinkParam = {
791
- body: PaymentPlatformModel.CancelOrResendPaymentLinkRequest;
602
+ body: PaymentPlatformModel.CancelOrResendPaymentLinkCreation;
792
603
  };
793
604
  type RevokeOauthTokenParam = {
794
605
  /**
@@ -797,14 +608,14 @@ type RevokeOauthTokenParam = {
797
608
  aggregator: string;
798
609
  };
799
610
  type SaveBrandPaymentGatewayConfigParam = {
800
- body: PaymentPlatformModel.PaymentGatewayConfigRequest;
611
+ body: PaymentPlatformModel.PaymentGatewayConfigCreation;
801
612
  };
802
613
  type SetMerchantModeControlRoutesParam = {
803
614
  /**
804
- * - Offline / advance modes to get the payment modes
615
+ * - Offline / advance payment mode
805
616
  */
806
617
  mode: string;
807
- body: PaymentPlatformModel.PlatformOfflineAdvanceRequest;
618
+ body: PaymentPlatformModel.MerchantPaymentModeCreation;
808
619
  };
809
620
  type SetPaymentModeCustomConfigParam = {
810
621
  /**
@@ -813,31 +624,18 @@ type SetPaymentModeCustomConfigParam = {
813
624
  mode: string;
814
625
  body: PaymentPlatformModel.PaymentCustomConfigRequestSchema;
815
626
  };
816
- type SetRefundOptionforShipmentParam = {
817
- body: PaymentPlatformModel.ShipmentRefundRequest;
818
- };
819
627
  type SetUserCODlimitRoutesParam = {
820
- body: PaymentPlatformModel.SetCODForUserRequest;
821
- };
822
- type UpdateAggregatorCredentialParam = {
823
- body: PaymentPlatformModel.AggregatorCredentialRequest;
824
- };
825
- type UpdateDefaultBeneficiaryParam = {
826
- body: PaymentPlatformModel.SetDefaultBeneficiaryRequest;
628
+ body: PaymentPlatformModel.SetCODForUserCreation;
827
629
  };
828
630
  type UpdateEdcDeviceParam = {
829
- body: PaymentPlatformModel.EdcAddRequest;
631
+ body: PaymentPlatformModel.EdcAddCreation;
830
632
  };
831
633
  type UpdateMerchantRefundPriorityParam = {
832
634
  /**
833
635
  * - Configuration for merchant or customer
834
636
  */
835
637
  configType: string;
836
- /**
837
- * - Business unit storefront or pos
838
- */
839
- businessUnit: string;
840
- body: PaymentPlatformModel.RefundPriorityRequestSerializer;
638
+ body: PaymentPlatformModel.RefundPriorityCreation;
841
639
  };
842
640
  type UpdatePaymentSessionParam = {
843
641
  /**
@@ -846,10 +644,7 @@ type UpdatePaymentSessionParam = {
846
644
  * Fynd payments platform and is unique.
847
645
  */
848
646
  gid: string;
849
- body: PaymentPlatformModel.PaymentSessionRequestSerializer;
850
- };
851
- type UpdatePennyDropValidationParam = {
852
- body: PaymentPlatformModel.UpdatePennyDropValidationRequest;
647
+ body: PaymentPlatformModel.PaymentSessionCreation;
853
648
  };
854
649
  type UpdateRefundSessionParam = {
855
650
  /**
@@ -863,18 +658,17 @@ type UpdateRefundSessionParam = {
863
658
  * session. This is generated by Fynd platform and is usually shipment_id.
864
659
  */
865
660
  requestId: string;
866
- body: PaymentPlatformModel.RefundSessionRequestSerializer;
661
+ body: PaymentPlatformModel.RefundSessionCreation;
867
662
  };
868
- type ValidateBeneficiaryAddressParam = {
869
- body: PaymentPlatformModel.ValidateValidateAddressRequest;
663
+ type ValidateCustomerAndCreditSummaryParam = {
664
+ body: PaymentPlatformModel.CustomerValidationSchema;
870
665
  };
871
666
  type VerifyCustomerForPaymentParam = {
872
- body: PaymentPlatformModel.ValidateCustomerRequest;
667
+ body: PaymentPlatformModel.ValidateCustomerCreation;
873
668
  };
874
669
  type EdcAggregatorsAndModelListParam = any;
875
670
  type EdcDeviceStatsParam = any;
876
- type GetDevicesParam = any;
671
+ type GetMerchantPaymentOptionParam = any;
877
672
  type GetPGConfigAggregatorsParam = any;
878
673
  type GetPaymentCodeOptionParam = any;
879
- type GetPennyDropValidationParam = any;
880
674
  import PaymentPlatformModel = require("./PaymentPlatformModel");