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

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