@gofynd/fdk-client-javascript 1.4.16-beta.2 → 1.4.16-beta.4

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