@gofynd/fdk-client-javascript 1.4.15-beta.6 → 1.4.16-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 (237) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/ApplicationClient.d.ts +2 -0
  4. package/sdk/application/ApplicationClient.js +2 -0
  5. package/sdk/application/Cart/CartApplicationClient.d.ts +68 -48
  6. package/sdk/application/Cart/CartApplicationClient.js +130 -27
  7. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +59 -58
  8. package/sdk/application/Catalog/CatalogApplicationClient.js +30 -29
  9. package/sdk/application/Common/CommonApplicationClient.d.ts +2 -2
  10. package/sdk/application/Common/CommonApplicationClient.js +1 -1
  11. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +20 -20
  12. package/sdk/application/Configuration/ConfigurationApplicationClient.js +10 -10
  13. package/sdk/application/Content/ContentApplicationClient.d.ts +19 -30
  14. package/sdk/application/Content/ContentApplicationClient.js +40 -60
  15. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +8 -8
  16. package/sdk/application/FileStorage/FileStorageApplicationClient.js +7 -7
  17. package/sdk/application/Finance/FinanceApplicationClient.d.ts +29 -0
  18. package/sdk/application/Finance/FinanceApplicationClient.js +126 -0
  19. package/sdk/application/Lead/LeadApplicationClient.d.ts +2 -2
  20. package/sdk/application/Lead/LeadApplicationClient.js +1 -1
  21. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +35 -15
  22. package/sdk/application/Logistic/LogisticApplicationClient.js +118 -8
  23. package/sdk/application/Order/OrderApplicationClient.d.ts +22 -12
  24. package/sdk/application/Order/OrderApplicationClient.js +62 -8
  25. package/sdk/application/Payment/PaymentApplicationClient.d.ts +87 -87
  26. package/sdk/application/Payment/PaymentApplicationClient.js +65 -46
  27. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +13 -13
  28. package/sdk/application/Rewards/RewardsApplicationClient.js +7 -7
  29. package/sdk/application/Theme/ThemeApplicationClient.d.ts +2 -2
  30. package/sdk/application/Theme/ThemeApplicationClient.js +4 -2
  31. package/sdk/application/User/UserApplicationClient.d.ts +10 -10
  32. package/sdk/application/User/UserApplicationClient.js +6 -6
  33. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
  34. package/sdk/application/Webhook/WebhookApplicationClient.js +3 -3
  35. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +86 -12
  36. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +582 -24
  37. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +116 -19
  38. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +121 -14
  39. package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +8 -1
  40. package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +51 -4
  41. package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
  42. package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
  43. package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
  44. package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
  45. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +126 -20
  46. package/sdk/partner/Logistics/LogisticsPartnerClient.js +970 -20
  47. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +1200 -167
  48. package/sdk/partner/Logistics/LogisticsPartnerModel.js +571 -160
  49. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +10 -0
  50. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +121 -7
  51. package/sdk/partner/Theme/ThemePartnerClient.d.ts +8 -10
  52. package/sdk/partner/Theme/ThemePartnerClient.js +14 -16
  53. package/sdk/partner/Theme/ThemePartnerModel.d.ts +96 -37
  54. package/sdk/partner/Theme/ThemePartnerModel.js +90 -36
  55. package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
  56. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +28 -18
  57. package/sdk/partner/Webhook/WebhookPartnerClient.js +103 -18
  58. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +612 -179
  59. package/sdk/partner/Webhook/WebhookPartnerModel.js +253 -150
  60. package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +1 -0
  61. package/sdk/partner/Webhook/WebhookPartnerValidator.js +11 -3
  62. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +5 -4
  63. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +14 -8
  64. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +59 -9
  65. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +40 -4
  66. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +2 -32
  67. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +3 -243
  68. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +11 -130
  69. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +12 -152
  70. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -39
  71. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +0 -35
  72. package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
  73. package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
  74. package/sdk/platform/Billing/BillingPlatformModel.d.ts +443 -388
  75. package/sdk/platform/Billing/BillingPlatformModel.js +280 -263
  76. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +16 -18
  77. package/sdk/platform/Billing/BillingPlatformValidator.js +8 -9
  78. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +134 -103
  79. package/sdk/platform/Cart/CartPlatformApplicationClient.js +419 -115
  80. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +121 -65
  81. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +109 -44
  82. package/sdk/platform/Cart/CartPlatformModel.d.ts +5039 -1300
  83. package/sdk/platform/Cart/CartPlatformModel.js +1976 -1217
  84. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +209 -183
  85. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +452 -395
  86. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +185 -142
  87. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +96 -78
  88. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +154 -117
  89. package/sdk/platform/Catalog/CatalogPlatformClient.js +292 -172
  90. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +6941 -2203
  91. package/sdk/platform/Catalog/CatalogPlatformModel.js +3224 -1687
  92. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +72 -31
  93. package/sdk/platform/Catalog/CatalogPlatformValidator.js +50 -24
  94. package/sdk/platform/Common/CommonPlatformClient.d.ts +3 -2
  95. package/sdk/platform/Common/CommonPlatformClient.js +3 -2
  96. package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
  97. package/sdk/platform/Common/CommonPlatformModel.js +6 -6
  98. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +16 -17
  99. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +16 -17
  100. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
  101. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
  102. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +43 -33
  103. package/sdk/platform/Communication/CommunicationPlatformModel.js +38 -34
  104. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +46 -42
  105. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +47 -43
  106. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
  107. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +210 -212
  108. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
  109. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
  110. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +46 -33
  111. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +67 -54
  112. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
  113. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
  114. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +45 -24
  115. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +134 -30
  116. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +283 -124
  117. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +219 -94
  118. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +37 -9
  119. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +27 -8
  120. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +124 -141
  121. package/sdk/platform/Content/ContentPlatformApplicationClient.js +449 -422
  122. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +179 -141
  123. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +168 -130
  124. package/sdk/platform/Content/ContentPlatformClient.d.ts +142 -106
  125. package/sdk/platform/Content/ContentPlatformClient.js +523 -336
  126. package/sdk/platform/Content/ContentPlatformModel.d.ts +1241 -395
  127. package/sdk/platform/Content/ContentPlatformModel.js +521 -390
  128. package/sdk/platform/Content/ContentPlatformValidator.d.ts +168 -117
  129. package/sdk/platform/Content/ContentPlatformValidator.js +162 -108
  130. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +14 -12
  131. package/sdk/platform/Discount/DiscountPlatformClient.js +14 -12
  132. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
  133. package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
  134. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
  135. package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
  136. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +94 -36
  137. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +462 -60
  138. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +62 -15
  139. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +75 -13
  140. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +19 -19
  141. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +21 -21
  142. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +370 -101
  143. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +313 -84
  144. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
  145. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
  146. package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
  147. package/sdk/platform/Lead/LeadPlatformClient.js +2 -2
  148. package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -5
  149. package/sdk/platform/Lead/LeadPlatformModel.js +16 -16
  150. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +17 -6
  151. package/sdk/platform/Order/OrderPlatformApplicationClient.js +85 -7
  152. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +95 -24
  153. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +39 -19
  154. package/sdk/platform/Order/OrderPlatformClient.d.ts +153 -96
  155. package/sdk/platform/Order/OrderPlatformClient.js +416 -198
  156. package/sdk/platform/Order/OrderPlatformModel.d.ts +7602 -1269
  157. package/sdk/platform/Order/OrderPlatformModel.js +3926 -1269
  158. package/sdk/platform/Order/OrderPlatformValidator.d.ts +270 -109
  159. package/sdk/platform/Order/OrderPlatformValidator.js +135 -77
  160. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -4
  161. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +9 -7
  162. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
  163. package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
  164. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +93 -105
  165. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +129 -141
  166. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +48 -48
  167. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +48 -48
  168. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
  169. package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
  170. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +333 -319
  171. package/sdk/platform/Payment/PaymentPlatformModel.js +288 -278
  172. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
  173. package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
  174. package/sdk/platform/PlatformClient.d.ts +0 -2
  175. package/sdk/platform/PlatformClient.js +0 -4
  176. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
  177. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
  178. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
  179. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
  180. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +9 -9
  181. package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
  182. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +48 -38
  183. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +134 -43
  184. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +46 -17
  185. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +34 -14
  186. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +38 -44
  187. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +56 -62
  188. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +1842 -609
  189. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +886 -554
  190. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +42 -46
  191. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +26 -28
  192. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
  193. package/sdk/platform/Share/SharePlatformApplicationClient.js +2 -2
  194. package/sdk/platform/Share/SharePlatformModel.d.ts +36 -5
  195. package/sdk/platform/Share/SharePlatformModel.js +27 -4
  196. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
  197. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +8 -4
  198. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +5 -0
  199. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +2 -0
  200. package/sdk/platform/Theme/ThemePlatformModel.d.ts +37 -11
  201. package/sdk/platform/Theme/ThemePlatformModel.js +33 -15
  202. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
  203. package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
  204. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
  205. package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
  206. package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
  207. package/sdk/platform/User/UserPlatformModel.js +23 -23
  208. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +25 -78
  209. package/sdk/platform/Webhook/WebhookPlatformClient.js +75 -470
  210. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +720 -427
  211. package/sdk/platform/Webhook/WebhookPlatformModel.js +410 -386
  212. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
  213. package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
  214. package/sdk/platform/index.d.ts +0 -1
  215. package/sdk/platform/index.js +0 -2
  216. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +3 -2
  217. package/sdk/public/Configuration/ConfigurationPublicClient.js +6 -5
  218. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
  219. package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
  220. package/sdk/public/Content/ContentPublicClient.d.ts +112 -2
  221. package/sdk/public/Content/ContentPublicClient.js +895 -8
  222. package/sdk/public/Content/ContentPublicModel.d.ts +549 -3
  223. package/sdk/public/Content/ContentPublicModel.js +649 -3
  224. package/sdk/public/Content/ContentPublicValidator.d.ts +69 -3
  225. package/sdk/public/Content/ContentPublicValidator.js +88 -2
  226. package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
  227. package/sdk/public/Webhook/WebhookPublicClient.js +8 -8
  228. package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
  229. package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
  230. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
  231. package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
  232. package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -320
  233. package/sdk/platform/Finance/FinancePlatformClient.js +0 -2333
  234. package/sdk/platform/Finance/FinancePlatformModel.d.ts +0 -2890
  235. package/sdk/platform/Finance/FinancePlatformModel.js +0 -2148
  236. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
  237. package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
@@ -19,7 +19,7 @@ class Payment {
19
19
  * @param {PaymentPlatformApplicationValidator.AddEdcDeviceParam} arg - Arg object
20
20
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
21
21
  * @param {import("../PlatformAPIClient").Options} - Options
22
- * @returns {Promise<PaymentPlatformModel.EdcDeviceUpdateResponse>} - Success response
22
+ * @returns {Promise<PaymentPlatformModel.EdcDeviceUpdateDetails>} - Success response
23
23
  * @name addEdcDevice
24
24
  * @summary: Create an EDC device
25
25
  * @description: Registration and addition of a new EDC device to the system - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/addEdcDevice/).
@@ -77,7 +77,7 @@ class Payment {
77
77
 
78
78
  const {
79
79
  error: res_error,
80
- } = PaymentPlatformModel.EdcDeviceUpdateResponse().validate(responseData, {
80
+ } = PaymentPlatformModel.EdcDeviceUpdateDetails().validate(responseData, {
81
81
  abortEarly: false,
82
82
  allowUnknown: true,
83
83
  });
@@ -102,7 +102,7 @@ class Payment {
102
102
  *
103
103
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
104
104
  * @param {import("../PlatformAPIClient").Options} - Options
105
- * @returns {Promise<PaymentPlatformModel.RefundAccountResponse>} - Success response
105
+ * @returns {Promise<PaymentPlatformModel.RefundAccountDetails>} - Success response
106
106
  * @name addRefundBankAccountUsingOTP
107
107
  * @summary: Create refund account
108
108
  * @description: The addition of a bank account specifically for refunds, employing OTP verification for security - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/addRefundBankAccountUsingOTP/).
@@ -158,7 +158,7 @@ class Payment {
158
158
 
159
159
  const {
160
160
  error: res_error,
161
- } = PaymentPlatformModel.RefundAccountResponse().validate(responseData, {
161
+ } = PaymentPlatformModel.RefundAccountDetails().validate(responseData, {
162
162
  abortEarly: false,
163
163
  allowUnknown: true,
164
164
  });
@@ -183,7 +183,7 @@ class Payment {
183
183
  *
184
184
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
185
185
  * @param {import("../PlatformAPIClient").Options} - Options
186
- * @returns {Promise<PaymentPlatformModel.CancelPaymentLinkResponse>} -
186
+ * @returns {Promise<PaymentPlatformModel.CancelPaymentLinkDetails>} -
187
187
  * Success response
188
188
  * @name cancelPaymentLink
189
189
  * @summary: Cancel payment link
@@ -240,10 +240,10 @@ class Payment {
240
240
 
241
241
  const {
242
242
  error: res_error,
243
- } = PaymentPlatformModel.CancelPaymentLinkResponse().validate(
244
- responseData,
245
- { abortEarly: false, allowUnknown: true }
246
- );
243
+ } = PaymentPlatformModel.CancelPaymentLinkDetails().validate(responseData, {
244
+ abortEarly: false,
245
+ allowUnknown: true,
246
+ });
247
247
 
248
248
  if (res_error) {
249
249
  if (this.config.options.strictResponseCheck === true) {
@@ -265,7 +265,7 @@ class Payment {
265
265
  *
266
266
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
267
267
  * @param {import("../PlatformAPIClient").Options} - Options
268
- * @returns {Promise<PaymentPlatformModel.PaymentStatusUpdateResponse>} -
268
+ * @returns {Promise<PaymentPlatformModel.PaymentStatusUpdateDetails>} -
269
269
  * Success response
270
270
  * @name checkAndUpdatePaymentStatus
271
271
  * @summary: Poll and update payment status
@@ -322,7 +322,7 @@ class Payment {
322
322
 
323
323
  const {
324
324
  error: res_error,
325
- } = PaymentPlatformModel.PaymentStatusUpdateResponse().validate(
325
+ } = PaymentPlatformModel.PaymentStatusUpdateDetails().validate(
326
326
  responseData,
327
327
  { abortEarly: false, allowUnknown: true }
328
328
  );
@@ -345,7 +345,7 @@ class Payment {
345
345
  * @param {PaymentPlatformApplicationValidator.ConfirmPaymentParam} arg - Arg object
346
346
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
347
347
  * @param {import("../PlatformAPIClient").Options} - Options
348
- * @returns {Promise<PaymentPlatformModel.PaymentConfirmationResponse>} -
348
+ * @returns {Promise<PaymentPlatformModel.PaymentConfirmationDetails>} -
349
349
  * Success response
350
350
  * @name confirmPayment
351
351
  * @summary: Payment confirmation
@@ -402,7 +402,7 @@ class Payment {
402
402
 
403
403
  const {
404
404
  error: res_error,
405
- } = PaymentPlatformModel.PaymentConfirmationResponse().validate(
405
+ } = PaymentPlatformModel.PaymentConfirmationDetails().validate(
406
406
  responseData,
407
407
  { abortEarly: false, allowUnknown: true }
408
408
  );
@@ -427,9 +427,7 @@ class Payment {
427
427
  *
428
428
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
429
429
  * @param {import("../PlatformAPIClient").Options} - Options
430
- * @returns {Promise<PaymentPlatformModel.RefundPriorityResponseSerializer>}
431
- * - Success response
432
- *
430
+ * @returns {Promise<PaymentPlatformModel.RefundPriorityDetails>} - Success response
433
431
  * @name createMerchantRefundPriority
434
432
  * @summary: Create merchant refund priority
435
433
  * @description: Create merchant refund priority configurations, with the provided refund sources priority details, and return the status of the operation. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/createMerchantRefundPriority/).
@@ -487,10 +485,10 @@ class Payment {
487
485
 
488
486
  const {
489
487
  error: res_error,
490
- } = PaymentPlatformModel.RefundPriorityResponseSerializer().validate(
491
- responseData,
492
- { abortEarly: false, allowUnknown: true }
493
- );
488
+ } = PaymentPlatformModel.RefundPriorityDetails().validate(responseData, {
489
+ abortEarly: false,
490
+ allowUnknown: true,
491
+ });
494
492
 
495
493
  if (res_error) {
496
494
  if (this.config.options.strictResponseCheck === true) {
@@ -512,7 +510,7 @@ class Payment {
512
510
  *
513
511
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
514
512
  * @param {import("../PlatformAPIClient").Options} - Options
515
- * @returns {Promise<PaymentPlatformModel.CreatePaymentLinkResponse>} -
513
+ * @returns {Promise<PaymentPlatformModel.CreatePaymentLinkDetails>} -
516
514
  * Success response
517
515
  * @name createPaymentLink
518
516
  * @summary: Create payment link
@@ -569,10 +567,10 @@ class Payment {
569
567
 
570
568
  const {
571
569
  error: res_error,
572
- } = PaymentPlatformModel.CreatePaymentLinkResponse().validate(
573
- responseData,
574
- { abortEarly: false, allowUnknown: true }
575
- );
570
+ } = PaymentPlatformModel.CreatePaymentLinkDetails().validate(responseData, {
571
+ abortEarly: false,
572
+ allowUnknown: true,
573
+ });
576
574
 
577
575
  if (res_error) {
578
576
  if (this.config.options.strictResponseCheck === true) {
@@ -594,7 +592,7 @@ class Payment {
594
592
  *
595
593
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
596
594
  * @param {import("../PlatformAPIClient").Options} - Options
597
- * @returns {Promise<PaymentPlatformModel.PaymentOrderResponse>} - Success response
595
+ * @returns {Promise<PaymentPlatformModel.PaymentOrderDetails>} - Success response
598
596
  * @name createPaymentOrder
599
597
  * @summary: Create Order
600
598
  * @description: Create an order and payment on the aggregator side - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/createPaymentOrder/).
@@ -650,7 +648,7 @@ class Payment {
650
648
 
651
649
  const {
652
650
  error: res_error,
653
- } = PaymentPlatformModel.PaymentOrderResponse().validate(responseData, {
651
+ } = PaymentPlatformModel.PaymentOrderDetails().validate(responseData, {
654
652
  abortEarly: false,
655
653
  allowUnknown: true,
656
654
  });
@@ -675,7 +673,7 @@ class Payment {
675
673
  *
676
674
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
677
675
  * @param {import("../PlatformAPIClient").Options} - Options
678
- * @returns {Promise<PaymentPlatformModel.EdcAggregatorAndModelListResponse>}
676
+ * @returns {Promise<PaymentPlatformModel.EdcAggregatorAndModelListDetails>}
679
677
  * - Success response
680
678
  *
681
679
  * @name edcAggregatorsAndModelList
@@ -729,7 +727,7 @@ class Payment {
729
727
 
730
728
  const {
731
729
  error: res_error,
732
- } = PaymentPlatformModel.EdcAggregatorAndModelListResponse().validate(
730
+ } = PaymentPlatformModel.EdcAggregatorAndModelListDetails().validate(
733
731
  responseData,
734
732
  { abortEarly: false, allowUnknown: true }
735
733
  );
@@ -752,7 +750,7 @@ class Payment {
752
750
  * @param {PaymentPlatformApplicationValidator.EdcDeviceListParam} arg - Arg object
753
751
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
754
752
  * @param {import("../PlatformAPIClient").Options} - Options
755
- * @returns {Promise<PaymentPlatformModel.EdcDeviceListResponse>} - Success response
753
+ * @returns {Promise<PaymentPlatformModel.EdcDeviceListDetails>} - Success response
756
754
  * @name edcDeviceList
757
755
  * @summary: List EDC devices
758
756
  * @description: Retrieves a list of available Electronic Data Capture (EDC) devices. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/edcDeviceList/).
@@ -823,7 +821,7 @@ class Payment {
823
821
 
824
822
  const {
825
823
  error: res_error,
826
- } = PaymentPlatformModel.EdcDeviceListResponse().validate(responseData, {
824
+ } = PaymentPlatformModel.EdcDeviceListDetails().validate(responseData, {
827
825
  abortEarly: false,
828
826
  allowUnknown: true,
829
827
  });
@@ -846,7 +844,7 @@ class Payment {
846
844
  * @param {PaymentPlatformApplicationValidator.EdcDeviceStatsParam} arg - Arg object
847
845
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
848
846
  * @param {import("../PlatformAPIClient").Options} - Options
849
- * @returns {Promise<PaymentPlatformModel.EdcDeviceStatsResponse>} - Success response
847
+ * @returns {Promise<PaymentPlatformModel.EdcDeviceStatsDetails>} - Success response
850
848
  * @name edcDeviceStats
851
849
  * @summary: EDC device stats
852
850
  * @description: Information about EDC (Electronic Data Capture) devices linked to a specific application within a company. It provides statistics such as the count of active and inactive devices. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/edcDeviceStats/).
@@ -898,7 +896,7 @@ class Payment {
898
896
 
899
897
  const {
900
898
  error: res_error,
901
- } = PaymentPlatformModel.EdcDeviceStatsResponse().validate(responseData, {
899
+ } = PaymentPlatformModel.EdcDeviceStatsDetails().validate(responseData, {
902
900
  abortEarly: false,
903
901
  allowUnknown: true,
904
902
  });
@@ -923,7 +921,7 @@ class Payment {
923
921
  *
924
922
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
925
923
  * @param {import("../PlatformAPIClient").Options} - Options
926
- * @returns {Promise<PaymentPlatformModel.RefundAccountResponse>} - Success response
924
+ * @returns {Promise<PaymentPlatformModel.RefundAccountDetails>} - Success response
927
925
  * @name getBankAccountDetailsOpenAPI
928
926
  * @summary: Get bank account details
929
927
  * @description: Retrieve bank account information - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getBankAccountDetailsOpenAPI/).
@@ -985,7 +983,7 @@ class Payment {
985
983
 
986
984
  const {
987
985
  error: res_error,
988
- } = PaymentPlatformModel.RefundAccountResponse().validate(responseData, {
986
+ } = PaymentPlatformModel.RefundAccountDetails().validate(responseData, {
989
987
  abortEarly: false,
990
988
  allowUnknown: true,
991
989
  });
@@ -1010,7 +1008,7 @@ class Payment {
1010
1008
  *
1011
1009
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1012
1010
  * @param {import("../PlatformAPIClient").Options} - Options
1013
- * @returns {Promise<PaymentPlatformModel.PaymentGatewayConfigResponse>} -
1011
+ * @returns {Promise<PaymentPlatformModel.PaymentGatewayConfigDetails>} -
1014
1012
  * Success response
1015
1013
  * @name getBrandPaymentGatewayConfig
1016
1014
  * @summary: Get secrets for brand payment gateway
@@ -1071,7 +1069,7 @@ class Payment {
1071
1069
 
1072
1070
  const {
1073
1071
  error: res_error,
1074
- } = PaymentPlatformModel.PaymentGatewayConfigResponse().validate(
1072
+ } = PaymentPlatformModel.PaymentGatewayConfigDetails().validate(
1075
1073
  responseData,
1076
1074
  { abortEarly: false, allowUnknown: true }
1077
1075
  );
@@ -1094,8 +1092,7 @@ class Payment {
1094
1092
  * @param {PaymentPlatformApplicationValidator.GetEdcDeviceParam} arg - Arg object
1095
1093
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1096
1094
  * @param {import("../PlatformAPIClient").Options} - Options
1097
- * @returns {Promise<PaymentPlatformModel.EdcDeviceDetailsResponse>} -
1098
- * Success response
1095
+ * @returns {Promise<PaymentPlatformModel.EdcDeviceDetails>} - Success response
1099
1096
  * @name getEdcDevice
1100
1097
  * @summary: Get an EDC device
1101
1098
  * @description: Retrieve comprehensive details regarding an Electronic Data Capture (EDC) device associated with a particular terminal unique identifier within a company's application.Upon success, it returns the detailed information of the EDC device, including terminal serial number, EDC device serial number, merchant store POS code, store ID, aggregator ID and name, device tag, activation status, and EDC model. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getEdcDevice/).
@@ -1151,7 +1148,7 @@ class Payment {
1151
1148
 
1152
1149
  const {
1153
1150
  error: res_error,
1154
- } = PaymentPlatformModel.EdcDeviceDetailsResponse().validate(responseData, {
1151
+ } = PaymentPlatformModel.EdcDeviceDetails().validate(responseData, {
1155
1152
  abortEarly: false,
1156
1153
  allowUnknown: true,
1157
1154
  });
@@ -1176,7 +1173,7 @@ class Payment {
1176
1173
  *
1177
1174
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1178
1175
  * @param {import("../PlatformAPIClient").Options} - Options
1179
- * @returns {Promise<PaymentPlatformModel.AggregatorVersionResponse>} -
1176
+ * @returns {Promise<PaymentPlatformModel.AggregatorVersionDetails>} -
1180
1177
  * Success response
1181
1178
  * @name getMerchantAggregatorAppVersion
1182
1179
  * @summary: Get app version for Aggregator
@@ -1252,10 +1249,10 @@ class Payment {
1252
1249
 
1253
1250
  const {
1254
1251
  error: res_error,
1255
- } = PaymentPlatformModel.AggregatorVersionResponse().validate(
1256
- responseData,
1257
- { abortEarly: false, allowUnknown: true }
1258
- );
1252
+ } = PaymentPlatformModel.AggregatorVersionDetails().validate(responseData, {
1253
+ abortEarly: false,
1254
+ allowUnknown: true,
1255
+ });
1259
1256
 
1260
1257
  if (res_error) {
1261
1258
  if (this.config.options.strictResponseCheck === true) {
@@ -1277,7 +1274,7 @@ class Payment {
1277
1274
  *
1278
1275
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1279
1276
  * @param {import("../PlatformAPIClient").Options} - Options
1280
- * @returns {Promise<PaymentPlatformModel.PlatformPaymentModeResponse>} -
1277
+ * @returns {Promise<PaymentPlatformModel.PlatformPaymentModeDetails>} -
1281
1278
  * Success response
1282
1279
  * @name getMerchantAggregatorPaymentModeDetails
1283
1280
  * @summary: Get merchant aggregator and their payment mode
@@ -1342,7 +1339,7 @@ class Payment {
1342
1339
 
1343
1340
  const {
1344
1341
  error: res_error,
1345
- } = PaymentPlatformModel.PlatformPaymentModeResponse().validate(
1342
+ } = PaymentPlatformModel.PlatformPaymentModeDetails().validate(
1346
1343
  responseData,
1347
1344
  { abortEarly: false, allowUnknown: true }
1348
1345
  );
@@ -1367,7 +1364,7 @@ class Payment {
1367
1364
  *
1368
1365
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1369
1366
  * @param {import("../PlatformAPIClient").Options} - Options
1370
- * @returns {Promise<PaymentPlatformModel.PlatformPaymentModeResponse>} -
1367
+ * @returns {Promise<PaymentPlatformModel.PlatformPaymentModeDetails>} -
1371
1368
  * Success response
1372
1369
  * @name getMerchantPaymentOption
1373
1370
  * @summary: Get merchant payment option
@@ -1420,7 +1417,7 @@ class Payment {
1420
1417
 
1421
1418
  const {
1422
1419
  error: res_error,
1423
- } = PaymentPlatformModel.PlatformPaymentModeResponse().validate(
1420
+ } = PaymentPlatformModel.PlatformPaymentModeDetails().validate(
1424
1421
  responseData,
1425
1422
  { abortEarly: false, allowUnknown: true }
1426
1423
  );
@@ -1445,9 +1442,7 @@ class Payment {
1445
1442
  *
1446
1443
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1447
1444
  * @param {import("../PlatformAPIClient").Options} - Options
1448
- * @returns {Promise<PaymentPlatformModel.RefundPriorityResponseSerializer>}
1449
- * - Success response
1450
- *
1445
+ * @returns {Promise<PaymentPlatformModel.RefundPriorityDetails>} - Success response
1451
1446
  * @name getMerchantRefundPriority
1452
1447
  * @summary: Get merchant refund priority
1453
1448
  * @description: Retrieve merchant refund priority configurations, returning the status of the update and the refund sources priority with their descriptions and priorities. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getMerchantRefundPriority/).
@@ -1503,10 +1498,10 @@ class Payment {
1503
1498
 
1504
1499
  const {
1505
1500
  error: res_error,
1506
- } = PaymentPlatformModel.RefundPriorityResponseSerializer().validate(
1507
- responseData,
1508
- { abortEarly: false, allowUnknown: true }
1509
- );
1501
+ } = PaymentPlatformModel.RefundPriorityDetails().validate(responseData, {
1502
+ abortEarly: false,
1503
+ allowUnknown: true,
1504
+ });
1510
1505
 
1511
1506
  if (res_error) {
1512
1507
  if (this.config.options.strictResponseCheck === true) {
@@ -1528,7 +1523,7 @@ class Payment {
1528
1523
  *
1529
1524
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1530
1525
  * @param {import("../PlatformAPIClient").Options} - Options
1531
- * @returns {Promise<PaymentPlatformModel.PlatformPaymentModeResponse>} -
1526
+ * @returns {Promise<PaymentPlatformModel.PlatformPaymentModeDetails>} -
1532
1527
  * Success response
1533
1528
  * @name getPGConfigAggregators
1534
1529
  * @summary: Get merchant aggregator payment mode
@@ -1581,7 +1576,7 @@ class Payment {
1581
1576
 
1582
1577
  const {
1583
1578
  error: res_error,
1584
- } = PaymentPlatformModel.PlatformPaymentModeResponse().validate(
1579
+ } = PaymentPlatformModel.PlatformPaymentModeDetails().validate(
1585
1580
  responseData,
1586
1581
  { abortEarly: false, allowUnknown: true }
1587
1582
  );
@@ -1606,7 +1601,7 @@ class Payment {
1606
1601
  *
1607
1602
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1608
1603
  * @param {import("../PlatformAPIClient").Options} - Options
1609
- * @returns {Promise<PaymentPlatformModel.GetPaymentCodeResponse>} - Success response
1604
+ * @returns {Promise<PaymentPlatformModel.GetPaymentCodeDetails>} - Success response
1610
1605
  * @name getPaymentCodeOption
1611
1606
  * @summary: Get payment mode codes
1612
1607
  * @description: Enables users to retrieve options for payment codes.users can access information such as payment method names, networks, and associated codes, facilitating seamless integration and management of payment modes - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getPaymentCodeOption/).
@@ -1658,7 +1653,7 @@ class Payment {
1658
1653
 
1659
1654
  const {
1660
1655
  error: res_error,
1661
- } = PaymentPlatformModel.GetPaymentCodeResponse().validate(responseData, {
1656
+ } = PaymentPlatformModel.GetPaymentCodeDetails().validate(responseData, {
1662
1657
  abortEarly: false,
1663
1658
  allowUnknown: true,
1664
1659
  });
@@ -1681,7 +1676,7 @@ class Payment {
1681
1676
  * @param {PaymentPlatformApplicationValidator.GetPaymentLinkParam} arg - Arg object
1682
1677
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1683
1678
  * @param {import("../PlatformAPIClient").Options} - Options
1684
- * @returns {Promise<PaymentPlatformModel.GetPaymentLinkResponse>} - Success response
1679
+ * @returns {Promise<PaymentPlatformModel.GetPaymentLinkDetails>} - Success response
1685
1680
  * @name getPaymentLink
1686
1681
  * @summary: Get payment link
1687
1682
  * @description: Retrieve a payment link for making payments. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getPaymentLink/).
@@ -1738,7 +1733,7 @@ class Payment {
1738
1733
 
1739
1734
  const {
1740
1735
  error: res_error,
1741
- } = PaymentPlatformModel.GetPaymentLinkResponse().validate(responseData, {
1736
+ } = PaymentPlatformModel.GetPaymentLinkDetails().validate(responseData, {
1742
1737
  abortEarly: false,
1743
1738
  allowUnknown: true,
1744
1739
  });
@@ -1763,7 +1758,7 @@ class Payment {
1763
1758
  *
1764
1759
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1765
1760
  * @param {import("../PlatformAPIClient").Options} - Options
1766
- * @returns {Promise<PaymentPlatformModel.PlatformPaymentModeResponse>} -
1761
+ * @returns {Promise<PaymentPlatformModel.PlatformPaymentModeDetails>} -
1767
1762
  * Success response
1768
1763
  * @name getPaymentModeControlRoutes
1769
1764
  * @summary: Get offline/advance payment mode
@@ -1820,7 +1815,7 @@ class Payment {
1820
1815
 
1821
1816
  const {
1822
1817
  error: res_error,
1823
- } = PaymentPlatformModel.PlatformPaymentModeResponse().validate(
1818
+ } = PaymentPlatformModel.PlatformPaymentModeDetails().validate(
1824
1819
  responseData,
1825
1820
  { abortEarly: false, allowUnknown: true }
1826
1821
  );
@@ -1928,7 +1923,7 @@ class Payment {
1928
1923
  *
1929
1924
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1930
1925
  * @param {import("../PlatformAPIClient").Options} - Options
1931
- * @returns {Promise<PaymentPlatformModel.PaymentOptionsResponse>} - Success response
1926
+ * @returns {Promise<PaymentPlatformModel.PaymentOptionsDetails>} - Success response
1932
1927
  * @name getPaymentModeRoutes
1933
1928
  * @summary: Get payment modes
1934
1929
  * @description: Get available payment methods on the payment page, specifying the aggregator for each option, such as 'Netbanking powered by Juspay' and 'Card powered by Razorpay'. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getPaymentModeRoutes/).
@@ -1999,7 +1994,7 @@ class Payment {
1999
1994
 
2000
1995
  const {
2001
1996
  error: res_error,
2002
- } = PaymentPlatformModel.PaymentOptionsResponse().validate(responseData, {
1997
+ } = PaymentPlatformModel.PaymentOptionsDetails().validate(responseData, {
2003
1998
  abortEarly: false,
2004
1999
  allowUnknown: true,
2005
2000
  });
@@ -2024,7 +2019,7 @@ class Payment {
2024
2019
  *
2025
2020
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
2026
2021
  * @param {import("../PlatformAPIClient").Options} - Options
2027
- * @returns {Promise<PaymentPlatformModel.PaymentSessionSerializer>} -
2022
+ * @returns {Promise<PaymentPlatformModel.PaymentSessionFetchDetails>} -
2028
2023
  * Success response
2029
2024
  * @name getPaymentSession
2030
2025
  * @summary: Get payment session
@@ -2084,10 +2079,10 @@ class Payment {
2084
2079
 
2085
2080
  const {
2086
2081
  error: res_error,
2087
- } = PaymentPlatformModel.PaymentSessionSerializer().validate(responseData, {
2088
- abortEarly: false,
2089
- allowUnknown: true,
2090
- });
2082
+ } = PaymentPlatformModel.PaymentSessionFetchDetails().validate(
2083
+ responseData,
2084
+ { abortEarly: false, allowUnknown: true }
2085
+ );
2091
2086
 
2092
2087
  if (res_error) {
2093
2088
  if (this.config.options.strictResponseCheck === true) {
@@ -2109,8 +2104,7 @@ class Payment {
2109
2104
  *
2110
2105
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
2111
2106
  * @param {import("../PlatformAPIClient").Options} - Options
2112
- * @returns {Promise<PaymentPlatformModel.PaymentModeRouteResponse>} -
2113
- * Success response
2107
+ * @returns {Promise<PaymentPlatformModel.PaymentModeRouteDetails>} - Success response
2114
2108
  * @name getPosPaymentModeRoutes
2115
2109
  * @summary: List POS payment modes
2116
2110
  * @description: Available payment methods on the payment page for POS, specifying the aggregator for each option, such as 'CARD powered by Juspay' and 'QR powered by Razorpay'. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getPosPaymentModeRoutes/).
@@ -2214,7 +2208,7 @@ class Payment {
2214
2208
 
2215
2209
  const {
2216
2210
  error: res_error,
2217
- } = PaymentPlatformModel.PaymentModeRouteResponse().validate(responseData, {
2211
+ } = PaymentPlatformModel.PaymentModeRouteDetails().validate(responseData, {
2218
2212
  abortEarly: false,
2219
2213
  allowUnknown: true,
2220
2214
  });
@@ -2239,7 +2233,7 @@ class Payment {
2239
2233
  *
2240
2234
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
2241
2235
  * @param {import("../PlatformAPIClient").Options} - Options
2242
- * @returns {Promise<PaymentPlatformModel.OrderBeneficiaryResponse>} -
2236
+ * @returns {Promise<PaymentPlatformModel.OrderBeneficiaryFetchResults>} -
2243
2237
  * Success response
2244
2238
  * @name getUserBeneficiaries
2245
2239
  * @summary: Get user beneficiaries
@@ -2293,10 +2287,10 @@ class Payment {
2293
2287
 
2294
2288
  const {
2295
2289
  error: res_error,
2296
- } = PaymentPlatformModel.OrderBeneficiaryResponse().validate(responseData, {
2297
- abortEarly: false,
2298
- allowUnknown: true,
2299
- });
2290
+ } = PaymentPlatformModel.OrderBeneficiaryFetchResults().validate(
2291
+ responseData,
2292
+ { abortEarly: false, allowUnknown: true }
2293
+ );
2300
2294
 
2301
2295
  if (res_error) {
2302
2296
  if (this.config.options.strictResponseCheck === true) {
@@ -2318,7 +2312,7 @@ class Payment {
2318
2312
  *
2319
2313
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
2320
2314
  * @param {import("../PlatformAPIClient").Options} - Options
2321
- * @returns {Promise<PaymentPlatformModel.GetUserCODLimitResponse>} - Success response
2315
+ * @returns {Promise<PaymentPlatformModel.GetUserCODLimitDetails>} - Success response
2322
2316
  * @name getUserCODlimitRoutes
2323
2317
  * @summary: Get user COD
2324
2318
  * @description: Retrieve user cod limt data of user i.e cod is active or not for user and remaining limit - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getUserCODlimitRoutes/).
@@ -2378,7 +2372,7 @@ class Payment {
2378
2372
 
2379
2373
  const {
2380
2374
  error: res_error,
2381
- } = PaymentPlatformModel.GetUserCODLimitResponse().validate(responseData, {
2375
+ } = PaymentPlatformModel.GetUserCODLimitDetails().validate(responseData, {
2382
2376
  abortEarly: false,
2383
2377
  allowUnknown: true,
2384
2378
  });
@@ -2403,7 +2397,7 @@ class Payment {
2403
2397
  *
2404
2398
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
2405
2399
  * @param {import("../PlatformAPIClient").Options} - Options
2406
- * @returns {Promise<PaymentPlatformModel.OrderBeneficiaryResponse>} -
2400
+ * @returns {Promise<PaymentPlatformModel.OrderBeneficiaryFetchResults>} -
2407
2401
  * Success response
2408
2402
  * @name getUserOrderBeneficiaries
2409
2403
  * @summary: Get user order beneficiaries
@@ -2457,10 +2451,10 @@ class Payment {
2457
2451
 
2458
2452
  const {
2459
2453
  error: res_error,
2460
- } = PaymentPlatformModel.OrderBeneficiaryResponse().validate(responseData, {
2461
- abortEarly: false,
2462
- allowUnknown: true,
2463
- });
2454
+ } = PaymentPlatformModel.OrderBeneficiaryFetchResults().validate(
2455
+ responseData,
2456
+ { abortEarly: false, allowUnknown: true }
2457
+ );
2464
2458
 
2465
2459
  if (res_error) {
2466
2460
  if (this.config.options.strictResponseCheck === true) {
@@ -2482,7 +2476,7 @@ class Payment {
2482
2476
  *
2483
2477
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
2484
2478
  * @param {import("../PlatformAPIClient").Options} - Options
2485
- * @returns {Promise<PaymentPlatformModel.PaymentInitializationResponse>} -
2479
+ * @returns {Promise<PaymentPlatformModel.PaymentInitializationDetails>} -
2486
2480
  * Success response
2487
2481
  * @name initialisePayment
2488
2482
  * @summary: Start payment process
@@ -2539,7 +2533,7 @@ class Payment {
2539
2533
 
2540
2534
  const {
2541
2535
  error: res_error,
2542
- } = PaymentPlatformModel.PaymentInitializationResponse().validate(
2536
+ } = PaymentPlatformModel.PaymentInitializationDetails().validate(
2543
2537
  responseData,
2544
2538
  { abortEarly: false, allowUnknown: true }
2545
2539
  );
@@ -2564,7 +2558,7 @@ class Payment {
2564
2558
  *
2565
2559
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
2566
2560
  * @param {import("../PlatformAPIClient").Options} - Options
2567
- * @returns {Promise<PaymentPlatformModel.MerchantOnBoardingResponse>} -
2561
+ * @returns {Promise<PaymentPlatformModel.MerchantOnBoardingDetails>} -
2568
2562
  * Success response
2569
2563
  * @name merchantOnBoarding
2570
2564
  * @summary: Merchant onboarding for BNPL
@@ -2621,7 +2615,7 @@ class Payment {
2621
2615
 
2622
2616
  const {
2623
2617
  error: res_error,
2624
- } = PaymentPlatformModel.MerchantOnBoardingResponse().validate(
2618
+ } = PaymentPlatformModel.MerchantOnBoardingDetails().validate(
2625
2619
  responseData,
2626
2620
  { abortEarly: false, allowUnknown: true }
2627
2621
  );
@@ -2644,7 +2638,7 @@ class Payment {
2644
2638
  * @param {PaymentPlatformApplicationValidator.OauthGetUrlParam} arg - Arg object
2645
2639
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
2646
2640
  * @param {import("../PlatformAPIClient").Options} - Options
2647
- * @returns {Promise<PaymentPlatformModel.GetOauthUrlResponse>} - Success response
2641
+ * @returns {Promise<PaymentPlatformModel.GetOauthUrlDetails>} - Success response
2648
2642
  * @name oauthGetUrl
2649
2643
  * @summary: Get OAuth URL
2650
2644
  * @description: This has been used when merchant is setup their razorpay payment gateway, they will redirect to razorpay site after submitting all their secrets for authetication. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/oauthGetUrl/).
@@ -2708,7 +2702,7 @@ class Payment {
2708
2702
 
2709
2703
  const {
2710
2704
  error: res_error,
2711
- } = PaymentPlatformModel.GetOauthUrlResponse().validate(responseData, {
2705
+ } = PaymentPlatformModel.GetOauthUrlDetails().validate(responseData, {
2712
2706
  abortEarly: false,
2713
2707
  allowUnknown: true,
2714
2708
  });
@@ -2733,7 +2727,7 @@ class Payment {
2733
2727
  *
2734
2728
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
2735
2729
  * @param {import("../PlatformAPIClient").Options} - Options
2736
- * @returns {Promise<PaymentPlatformModel.PlatformPaymentModeResponse>} -
2730
+ * @returns {Promise<PaymentPlatformModel.PlatformPaymentModeDetails>} -
2737
2731
  * Success response
2738
2732
  * @name patchMerchantAggregatorPaymentModeDetails
2739
2733
  * @summary: Update merchant aggregator payment mode
@@ -2792,7 +2786,7 @@ class Payment {
2792
2786
 
2793
2787
  const {
2794
2788
  error: res_error,
2795
- } = PaymentPlatformModel.PlatformPaymentModeResponse().validate(
2789
+ } = PaymentPlatformModel.PlatformPaymentModeDetails().validate(
2796
2790
  responseData,
2797
2791
  { abortEarly: false, allowUnknown: true }
2798
2792
  );
@@ -2817,7 +2811,7 @@ class Payment {
2817
2811
  *
2818
2812
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
2819
2813
  * @param {import("../PlatformAPIClient").Options} - Options
2820
- * @returns {Promise<PaymentPlatformModel.PlatformPaymentModeResponse>} -
2814
+ * @returns {Promise<PaymentPlatformModel.PlatformPaymentModeDetails>} -
2821
2815
  * Success response
2822
2816
  * @name patchMerchantPaymentOption
2823
2817
  * @summary: Update payment gateways and payment mode
@@ -2874,7 +2868,7 @@ class Payment {
2874
2868
 
2875
2869
  const {
2876
2870
  error: res_error,
2877
- } = PaymentPlatformModel.PlatformPaymentModeResponse().validate(
2871
+ } = PaymentPlatformModel.PlatformPaymentModeDetails().validate(
2878
2872
  responseData,
2879
2873
  { abortEarly: false, allowUnknown: true }
2880
2874
  );
@@ -2899,7 +2893,7 @@ class Payment {
2899
2893
  *
2900
2894
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
2901
2895
  * @param {import("../PlatformAPIClient").Options} - Options
2902
- * @returns {Promise<PaymentPlatformModel.PlatformPaymentModeResponse>} -
2896
+ * @returns {Promise<PaymentPlatformModel.PlatformPaymentModeDetails>} -
2903
2897
  * Success response
2904
2898
  * @name patchMerchantPaymentOptionVersion
2905
2899
  * @summary: Update app version for Aggrgator
@@ -2958,7 +2952,7 @@ class Payment {
2958
2952
 
2959
2953
  const {
2960
2954
  error: res_error,
2961
- } = PaymentPlatformModel.PlatformPaymentModeResponse().validate(
2955
+ } = PaymentPlatformModel.PlatformPaymentModeDetails().validate(
2962
2956
  responseData,
2963
2957
  { abortEarly: false, allowUnknown: true }
2964
2958
  );
@@ -2983,7 +2977,7 @@ class Payment {
2983
2977
  *
2984
2978
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
2985
2979
  * @param {import("../PlatformAPIClient").Options} - Options
2986
- * @returns {Promise<PaymentPlatformModel.PaymentStatusBulkHandlerResponse>}
2980
+ * @returns {Promise<PaymentPlatformModel.PaymentStatusBulkHandlerDetails>}
2987
2981
  * - Success response
2988
2982
  *
2989
2983
  * @name paymentStatusBulk
@@ -3041,7 +3035,7 @@ class Payment {
3041
3035
 
3042
3036
  const {
3043
3037
  error: res_error,
3044
- } = PaymentPlatformModel.PaymentStatusBulkHandlerResponse().validate(
3038
+ } = PaymentPlatformModel.PaymentStatusBulkHandlerDetails().validate(
3045
3039
  responseData,
3046
3040
  { abortEarly: false, allowUnknown: true }
3047
3041
  );
@@ -3066,7 +3060,7 @@ class Payment {
3066
3060
  *
3067
3061
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
3068
3062
  * @param {import("../PlatformAPIClient").Options} - Options
3069
- * @returns {Promise<PaymentPlatformModel.PollingPaymentLinkResponse>} -
3063
+ * @returns {Promise<PaymentPlatformModel.PollingPaymentLinkDetails>} -
3070
3064
  * Success response
3071
3065
  * @name pollingPaymentLink
3072
3066
  * @summary: Poll status of payment link
@@ -3124,7 +3118,7 @@ class Payment {
3124
3118
 
3125
3119
  const {
3126
3120
  error: res_error,
3127
- } = PaymentPlatformModel.PollingPaymentLinkResponse().validate(
3121
+ } = PaymentPlatformModel.PollingPaymentLinkDetails().validate(
3128
3122
  responseData,
3129
3123
  { abortEarly: false, allowUnknown: true }
3130
3124
  );
@@ -3147,7 +3141,7 @@ class Payment {
3147
3141
  * @param {PaymentPlatformApplicationValidator.RepaymentDetailsParam} arg - Arg object
3148
3142
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
3149
3143
  * @param {import("../PlatformAPIClient").Options} - Options
3150
- * @returns {Promise<PaymentPlatformModel.RepaymentResponse>} - Success response
3144
+ * @returns {Promise<PaymentPlatformModel.RepaymentDetails>} - Success response
3151
3145
  * @name repaymentDetails
3152
3146
  * @summary: Repayment details for BNPL
3153
3147
  * @description: Retrieve repayment details for Buy Now Pay Later (BNPL) payment - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/repaymentDetails/).
@@ -3203,7 +3197,7 @@ class Payment {
3203
3197
 
3204
3198
  const {
3205
3199
  error: res_error,
3206
- } = PaymentPlatformModel.RepaymentResponse().validate(responseData, {
3200
+ } = PaymentPlatformModel.RepaymentDetails().validate(responseData, {
3207
3201
  abortEarly: false,
3208
3202
  allowUnknown: true,
3209
3203
  });
@@ -3228,7 +3222,7 @@ class Payment {
3228
3222
  *
3229
3223
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
3230
3224
  * @param {import("../PlatformAPIClient").Options} - Options
3231
- * @returns {Promise<PaymentPlatformModel.ResendOrCancelPaymentResponse>} -
3225
+ * @returns {Promise<PaymentPlatformModel.ResendOrCancelPaymentDetails>} -
3232
3226
  * Success response
3233
3227
  * @name resendOrCancelPayment
3234
3228
  * @summary: Resend or cancel payment
@@ -3285,7 +3279,7 @@ class Payment {
3285
3279
 
3286
3280
  const {
3287
3281
  error: res_error,
3288
- } = PaymentPlatformModel.ResendOrCancelPaymentResponse().validate(
3282
+ } = PaymentPlatformModel.ResendOrCancelPaymentDetails().validate(
3289
3283
  responseData,
3290
3284
  { abortEarly: false, allowUnknown: true }
3291
3285
  );
@@ -3310,7 +3304,7 @@ class Payment {
3310
3304
  *
3311
3305
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
3312
3306
  * @param {import("../PlatformAPIClient").Options} - Options
3313
- * @returns {Promise<PaymentPlatformModel.ResendPaymentLinkResponse>} -
3307
+ * @returns {Promise<PaymentPlatformModel.ResendPaymentLinkDetails>} -
3314
3308
  * Success response
3315
3309
  * @name resendPaymentLink
3316
3310
  * @summary: Resend payment link
@@ -3367,10 +3361,10 @@ class Payment {
3367
3361
 
3368
3362
  const {
3369
3363
  error: res_error,
3370
- } = PaymentPlatformModel.ResendPaymentLinkResponse().validate(
3371
- responseData,
3372
- { abortEarly: false, allowUnknown: true }
3373
- );
3364
+ } = PaymentPlatformModel.ResendPaymentLinkDetails().validate(responseData, {
3365
+ abortEarly: false,
3366
+ allowUnknown: true,
3367
+ });
3374
3368
 
3375
3369
  if (res_error) {
3376
3370
  if (this.config.options.strictResponseCheck === true) {
@@ -3553,7 +3547,7 @@ class Payment {
3553
3547
  *
3554
3548
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
3555
3549
  * @param {import("../PlatformAPIClient").Options} - Options
3556
- * @returns {Promise<PaymentPlatformModel.PlatformPaymentModeResponse>} -
3550
+ * @returns {Promise<PaymentPlatformModel.PlatformPaymentModeDetails>} -
3557
3551
  * Success response
3558
3552
  * @name setMerchantModeControlRoutes
3559
3553
  * @summary: Update offline payment mode
@@ -3612,7 +3606,7 @@ class Payment {
3612
3606
 
3613
3607
  const {
3614
3608
  error: res_error,
3615
- } = PaymentPlatformModel.PlatformPaymentModeResponse().validate(
3609
+ } = PaymentPlatformModel.PlatformPaymentModeDetails().validate(
3616
3610
  responseData,
3617
3611
  { abortEarly: false, allowUnknown: true }
3618
3612
  );
@@ -3722,7 +3716,7 @@ class Payment {
3722
3716
  *
3723
3717
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
3724
3718
  * @param {import("../PlatformAPIClient").Options} - Options
3725
- * @returns {Promise<PaymentPlatformModel.SetCODOptionResponse>} - Success response
3719
+ * @returns {Promise<PaymentPlatformModel.SetCODOptionDetails>} - Success response
3726
3720
  * @name setUserCODlimitRoutes
3727
3721
  * @summary: Set user COD
3728
3722
  * @description: This allows access to seller to enable disable cod of specific user - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/setUserCODlimitRoutes/).
@@ -3778,7 +3772,7 @@ class Payment {
3778
3772
 
3779
3773
  const {
3780
3774
  error: res_error,
3781
- } = PaymentPlatformModel.SetCODOptionResponse().validate(responseData, {
3775
+ } = PaymentPlatformModel.SetCODOptionDetails().validate(responseData, {
3782
3776
  abortEarly: false,
3783
3777
  allowUnknown: true,
3784
3778
  });
@@ -3801,7 +3795,7 @@ class Payment {
3801
3795
  * @param {PaymentPlatformApplicationValidator.UpdateEdcDeviceParam} arg - Arg object
3802
3796
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
3803
3797
  * @param {import("../PlatformAPIClient").Options} - Options
3804
- * @returns {Promise<PaymentPlatformModel.EdcDeviceAddResponse>} - Success response
3798
+ * @returns {Promise<PaymentPlatformModel.EdcDeviceAddDetails>} - Success response
3805
3799
  * @name updateEdcDevice
3806
3800
  * @summary: Update EDC device
3807
3801
  * @description: Enables the modification of settings and details associated with an Electronic Data Capture (EDC) device linked to a specific application within a company. Upon success, it returns the updated information of the EDC device. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/updateEdcDevice/).
@@ -3857,7 +3851,7 @@ class Payment {
3857
3851
 
3858
3852
  const {
3859
3853
  error: res_error,
3860
- } = PaymentPlatformModel.EdcDeviceAddResponse().validate(responseData, {
3854
+ } = PaymentPlatformModel.EdcDeviceAddDetails().validate(responseData, {
3861
3855
  abortEarly: false,
3862
3856
  allowUnknown: true,
3863
3857
  });
@@ -3882,9 +3876,7 @@ class Payment {
3882
3876
  *
3883
3877
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
3884
3878
  * @param {import("../PlatformAPIClient").Options} - Options
3885
- * @returns {Promise<PaymentPlatformModel.RefundPriorityResponseSerializer>}
3886
- * - Success response
3887
- *
3879
+ * @returns {Promise<PaymentPlatformModel.RefundPriorityDetails>} - Success response
3888
3880
  * @name updateMerchantRefundPriority
3889
3881
  * @summary: Update merchant refund priority
3890
3882
  * @description: Update merchant refund priority configurations, with the provided refund sources priority details, and return the status of the operation. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/updateMerchantRefundPriority/).
@@ -3942,10 +3934,10 @@ class Payment {
3942
3934
 
3943
3935
  const {
3944
3936
  error: res_error,
3945
- } = PaymentPlatformModel.RefundPriorityResponseSerializer().validate(
3946
- responseData,
3947
- { abortEarly: false, allowUnknown: true }
3948
- );
3937
+ } = PaymentPlatformModel.RefundPriorityDetails().validate(responseData, {
3938
+ abortEarly: false,
3939
+ allowUnknown: true,
3940
+ });
3949
3941
 
3950
3942
  if (res_error) {
3951
3943
  if (this.config.options.strictResponseCheck === true) {
@@ -3967,9 +3959,8 @@ class Payment {
3967
3959
  *
3968
3960
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
3969
3961
  * @param {import("../PlatformAPIClient").Options} - Options
3970
- * @returns {Promise<PaymentPlatformModel.PaymentSessionResponseSerializer>}
3971
- * - Success response
3972
- *
3962
+ * @returns {Promise<PaymentPlatformModel.PaymentSessionPutDetails>} -
3963
+ * Success response
3973
3964
  * @name updatePaymentSession
3974
3965
  * @summary: Update payment session
3975
3966
  * @description: Update the details of a payment session associated with a given order ID or transaction ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/updatePaymentSession/).
@@ -4027,10 +4018,10 @@ class Payment {
4027
4018
 
4028
4019
  const {
4029
4020
  error: res_error,
4030
- } = PaymentPlatformModel.PaymentSessionResponseSerializer().validate(
4031
- responseData,
4032
- { abortEarly: false, allowUnknown: true }
4033
- );
4021
+ } = PaymentPlatformModel.PaymentSessionPutDetails().validate(responseData, {
4022
+ abortEarly: false,
4023
+ allowUnknown: true,
4024
+ });
4034
4025
 
4035
4026
  if (res_error) {
4036
4027
  if (this.config.options.strictResponseCheck === true) {
@@ -4052,9 +4043,7 @@ class Payment {
4052
4043
  *
4053
4044
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
4054
4045
  * @param {import("../PlatformAPIClient").Options} - Options
4055
- * @returns {Promise<PaymentPlatformModel.RefundSessionResponseSerializer>}
4056
- * - Success response
4057
- *
4046
+ * @returns {Promise<PaymentPlatformModel.RefundSessionDetails>} - Success response
4058
4047
  * @name updateRefundSession
4059
4048
  * @summary: Update refund session
4060
4049
  * @description: Allows users to update the details of a refund session associated with a specific global identifier (GID) and request ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/updateRefundSession/).
@@ -4114,10 +4103,10 @@ class Payment {
4114
4103
 
4115
4104
  const {
4116
4105
  error: res_error,
4117
- } = PaymentPlatformModel.RefundSessionResponseSerializer().validate(
4118
- responseData,
4119
- { abortEarly: false, allowUnknown: true }
4120
- );
4106
+ } = PaymentPlatformModel.RefundSessionDetails().validate(responseData, {
4107
+ abortEarly: false,
4108
+ allowUnknown: true,
4109
+ });
4121
4110
 
4122
4111
  if (res_error) {
4123
4112
  if (this.config.options.strictResponseCheck === true) {
@@ -4139,8 +4128,7 @@ class Payment {
4139
4128
  *
4140
4129
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
4141
4130
  * @param {import("../PlatformAPIClient").Options} - Options
4142
- * @returns {Promise<PaymentPlatformModel.ValidateCustomerResponse>} -
4143
- * Success response
4131
+ * @returns {Promise<PaymentPlatformModel.ValidateCustomerDetails>} - Success response
4144
4132
  * @name verifyCustomerForPayment
4145
4133
  * @summary: Validate customer for paylater
4146
4134
  * @description: Verify whether the user is eligible for pay-later payment from the payment aggregator's side using the customer's phone number - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/verifyCustomerForPayment/).
@@ -4196,7 +4184,7 @@ class Payment {
4196
4184
 
4197
4185
  const {
4198
4186
  error: res_error,
4199
- } = PaymentPlatformModel.ValidateCustomerResponse().validate(responseData, {
4187
+ } = PaymentPlatformModel.ValidateCustomerDetails().validate(responseData, {
4200
4188
  abortEarly: false,
4201
4189
  allowUnknown: true,
4202
4190
  });