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

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 (239) 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 +118 -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 +51 -30
  14. package/sdk/application/Content/ContentApplicationClient.js +161 -56
  15. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +9 -11
  16. package/sdk/application/FileStorage/FileStorageApplicationClient.js +7 -10
  17. package/sdk/application/Finance/FinanceApplicationClient.d.ts +29 -0
  18. package/sdk/application/Finance/FinanceApplicationClient.js +111 -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 +101 -8
  23. package/sdk/application/Order/OrderApplicationClient.d.ts +22 -12
  24. package/sdk/application/Order/OrderApplicationClient.js +56 -8
  25. package/sdk/application/Payment/PaymentApplicationClient.d.ts +87 -87
  26. package/sdk/application/Payment/PaymentApplicationClient.js +46 -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 -21
  38. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +121 -16
  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 +5070 -1296
  83. package/sdk/platform/Cart/CartPlatformModel.js +1992 -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 +6512 -1770
  91. package/sdk/platform/Catalog/CatalogPlatformModel.js +3228 -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 +204 -141
  121. package/sdk/platform/Content/ContentPlatformApplicationClient.js +1076 -478
  122. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +253 -141
  123. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +256 -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 +1372 -400
  127. package/sdk/platform/Content/ContentPlatformModel.js +631 -394
  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 +95 -39
  137. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +462 -63
  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 +20 -22
  141. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +21 -24
  142. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +370 -116
  143. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +313 -104
  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 +7607 -1267
  157. package/sdk/platform/Order/OrderPlatformModel.js +3929 -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 +46 -36
  183. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +132 -41
  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 +40 -46
  187. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +58 -64
  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 +5 -5
  193. package/sdk/platform/Share/SharePlatformApplicationClient.js +9 -9
  194. package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +3 -6
  195. package/sdk/platform/Share/SharePlatformApplicationValidator.js +2 -2
  196. package/sdk/platform/Share/SharePlatformModel.d.ts +46 -7
  197. package/sdk/platform/Share/SharePlatformModel.js +31 -6
  198. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
  199. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +8 -4
  200. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +5 -0
  201. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +2 -0
  202. package/sdk/platform/Theme/ThemePlatformModel.d.ts +37 -11
  203. package/sdk/platform/Theme/ThemePlatformModel.js +33 -15
  204. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
  205. package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
  206. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
  207. package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
  208. package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
  209. package/sdk/platform/User/UserPlatformModel.js +23 -23
  210. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +25 -78
  211. package/sdk/platform/Webhook/WebhookPlatformClient.js +75 -470
  212. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +720 -427
  213. package/sdk/platform/Webhook/WebhookPlatformModel.js +410 -386
  214. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
  215. package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
  216. package/sdk/platform/index.d.ts +0 -1
  217. package/sdk/platform/index.js +0 -2
  218. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +3 -2
  219. package/sdk/public/Configuration/ConfigurationPublicClient.js +6 -5
  220. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
  221. package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
  222. package/sdk/public/Content/ContentPublicClient.d.ts +112 -2
  223. package/sdk/public/Content/ContentPublicClient.js +810 -6
  224. package/sdk/public/Content/ContentPublicModel.d.ts +549 -3
  225. package/sdk/public/Content/ContentPublicModel.js +649 -3
  226. package/sdk/public/Content/ContentPublicValidator.d.ts +69 -3
  227. package/sdk/public/Content/ContentPublicValidator.js +88 -2
  228. package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
  229. package/sdk/public/Webhook/WebhookPublicClient.js +8 -8
  230. package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
  231. package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
  232. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
  233. package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
  234. package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -320
  235. package/sdk/platform/Finance/FinancePlatformClient.js +0 -2333
  236. package/sdk/platform/Finance/FinancePlatformModel.d.ts +0 -2890
  237. package/sdk/platform/Finance/FinancePlatformModel.js +0 -2148
  238. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
  239. package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
@@ -109,7 +109,7 @@ class Payment {
109
109
  /**
110
110
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
111
111
  * @param {import("../ApplicationAPIClient").Options} - Options
112
- * @returns {Promise<RefundAccountResponse>} - Success response
112
+ * @returns {Promise<RefundAccountDetails>} - Success response
113
113
  * @name addBeneficiaryDetails
114
114
  * @summary: Add beneficiary for refund
115
115
  * @description: Add beneficiary details specifically for refund transactions, including account holder name, account number and bank details. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/addBeneficiaryDetails/).
@@ -146,7 +146,7 @@ class Payment {
146
146
  /**
147
147
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
148
148
  * @param {import("../ApplicationAPIClient").Options} - Options
149
- * @returns {Promise<RefundAccountResponse>} - Success response
149
+ * @returns {Promise<RefundAccountDetails>} - Success response
150
150
  * @name addRefundBankAccountUsingOTP
151
151
  * @summary: Add refund account using OTP verification
152
152
  * @description: Add bank account specifically for refunds, employing OTP verification for security. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/addRefundBankAccountUsingOTP/).
@@ -183,7 +183,7 @@ class Payment {
183
183
  /**
184
184
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
185
185
  * @param {import("../ApplicationAPIClient").Options} - Options
186
- * @returns {Promise<AttachCardsResponse>} - Success response
186
+ * @returns {Promise<AttachCardsDetails>} - Success response
187
187
  * @name attachCardToCustomer
188
188
  * @summary: Link payment card to customer
189
189
  * @description: Link payment card to a user account for seamless transactions. Upon successful linking, the card becomes associated with the user's profile, enabling secure and convenient payments. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/attachCardToCustomer/).
@@ -220,7 +220,7 @@ class Payment {
220
220
  /**
221
221
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
222
222
  * @param {import("../ApplicationAPIClient").Options} - Options
223
- * @returns {Promise<CancelPaymentLinkResponse>} - Success response
223
+ * @returns {Promise<CancelPaymentLinkDetails>} - Success response
224
224
  * @name cancelPaymentLink
225
225
  * @summary: Cancel payment link
226
226
  * @description: Cancel previously generated payment link. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/cancelPaymentLink/).
@@ -257,7 +257,7 @@ class Payment {
257
257
  /**
258
258
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
259
259
  * @param {import("../ApplicationAPIClient").Options} - Options
260
- * @returns {Promise<CardDetailsResponse>} - Success response
260
+ * @returns {Promise<CardDetailsFetchedDetails>} - Success response
261
261
  * @name cardDetails
262
262
  * @summary: Get card details
263
263
  * @description: Get details of a specified payment card, including information such as the card type, brand, country, and expiration date. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/cardDetails/).
@@ -304,7 +304,7 @@ class Payment {
304
304
  /**
305
305
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
306
306
  * @param {import("../ApplicationAPIClient").Options} - Options
307
- * @returns {Promise<PaymentStatusUpdateResponse>} - Success response
307
+ * @returns {Promise<PaymentStatusUpdateDetails>} - Success response
308
308
  * @name checkAndUpdatePaymentStatus
309
309
  * @summary: Update payment status
310
310
  * @description: Polling process to confirm the payment status. It periodically checks and updates the current status of a payment, ensuring timely and accurate confirmation of payment transactions. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/checkAndUpdatePaymentStatus/).
@@ -341,7 +341,7 @@ class Payment {
341
341
  /**
342
342
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
343
343
  * @param {import("../ApplicationAPIClient").Options} - Options
344
- * @returns {Promise<PaymentStatusUpdateResponse>} - Success response
344
+ * @returns {Promise<PaymentStatusUpdateDetails>} - Success response
345
345
  * @name checkAndUpdatePaymentStatusPaymentLink
346
346
  * @summary: Update payment link status
347
347
  * @description: Verify and update status of a payment made through a link.Upon successful verification and update, the response includes details about the aggregator name, payment status, and whether retrying the process is required. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/checkAndUpdatePaymentStatusPaymentLink/).
@@ -378,7 +378,7 @@ class Payment {
378
378
  /**
379
379
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
380
380
  * @param {import("../ApplicationAPIClient").Options} - Options
381
- * @returns {Promise<CheckCreditResponse>} - Success response
381
+ * @returns {Promise<CheckCreditDetails>} - Success response
382
382
  * @name checkCredit
383
383
  * @summary: Verify credit availability and status
384
384
  * @description: Check the availability and status of customer credit, providing the status of payment along with registration information and signup URL if the customer is not registered. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/checkCredit/).
@@ -416,7 +416,7 @@ class Payment {
416
416
  /**
417
417
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
418
418
  * @param {import("../ApplicationAPIClient").Options} - Options
419
- * @returns {Promise<CreateOrderUserResponse>} - Success response
419
+ * @returns {Promise<CreateOrderUserDetails>} - Success response
420
420
  * @name createOrderHandlerPaymentLink
421
421
  * @summary: Create order for payment via link
422
422
  * @description: Initiate the creation of an order handler for processing payments through a link. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/createOrderHandlerPaymentLink/).
@@ -453,7 +453,7 @@ class Payment {
453
453
  /**
454
454
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
455
455
  * @param {import("../ApplicationAPIClient").Options} - Options
456
- * @returns {Promise<CreatePaymentLinkResponse>} - Success response
456
+ * @returns {Promise<CreatePaymentLinkDetails>} - Success response
457
457
  * @name createPaymentLink
458
458
  * @summary: Create payment link
459
459
  * @description: Create new payment link for transactions. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/createPaymentLink/).
@@ -490,7 +490,7 @@ class Payment {
490
490
  /**
491
491
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
492
492
  * @param {import("../ApplicationAPIClient").Options} - Options
493
- * @returns {Promise<PaymentOrderResponse>} - Success response
493
+ * @returns {Promise<PaymentOrderDetails>} - Success response
494
494
  * @name createPaymentOrder
495
495
  * @summary: Create Order
496
496
  * @description: Create an order and payment on the aggregator side. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/createPaymentOrder/).
@@ -527,7 +527,7 @@ class Payment {
527
527
  /**
528
528
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
529
529
  * @param {import("../ApplicationAPIClient").Options} - Options
530
- * @returns {Promise<CustomerCreditSummaryResponse>} - Success response
530
+ * @returns {Promise<CustomerCreditSummaryDetails>} - Success response
531
531
  * @name customerCreditSummary
532
532
  * @summary: Credit summary
533
533
  * @description: Get summary of the customer's credit information, including details such as merchant customer reference ID, status, balance, limit, due amount, used amount, due date, days overdue, total due amount, and a repayment URL. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/customerCreditSummary/).
@@ -565,7 +565,7 @@ class Payment {
565
565
  /**
566
566
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
567
567
  * @param {import("../ApplicationAPIClient").Options} - Options
568
- * @returns {Promise<CustomerOnboardingResponse>} - Success response
568
+ * @returns {Promise<CustomerOnboardingDetails>} - Success response
569
569
  * @name customerOnboard
570
570
  * @summary: Onboard customer for payment
571
571
  * @description: Initiate the onboarding process for payment services, providing personal, business, and device information, along with marketplace details, to enable customer registration and credit availability. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/customerOnboard/).
@@ -602,7 +602,7 @@ class Payment {
602
602
  /**
603
603
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
604
604
  * @param {import("../ApplicationAPIClient").Options} - Options
605
- * @returns {Promise<DeleteCardsResponse>} - Success response
605
+ * @returns {Promise<DeleteCardsDetails>} - Success response
606
606
  * @name deleteUserCard
607
607
  * @summary: Delete customer card
608
608
  * @description: Delete payment card from the user's account. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/deleteUserCard/).
@@ -676,7 +676,7 @@ class Payment {
676
676
  /**
677
677
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
678
678
  * @param {import("../ApplicationAPIClient").Options} - Options
679
- * @returns {Promise<UpdateRefundTransferModeResponse>} - Success response
679
+ * @returns {Promise<RefundTransferModeUpdateDetails>} - Success response
680
680
  * @name enableOrDisableRefundTransferMode
681
681
  * @summary: Toggle refund mode
682
682
  * @description: Enable/Disable a particular refund transfer mode based on the request body parameters, indicating whether the mode should be enabled or disabled. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/enableOrDisableRefundTransferMode/).
@@ -713,7 +713,7 @@ class Payment {
713
713
  /**
714
714
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
715
715
  * @param {import("../ApplicationAPIClient").Options} - Options
716
- * @returns {Promise<ActiveCardPaymentGatewayResponse>} - Success response
716
+ * @returns {Promise<ActiveCardPaymentGatewayDetails>} - Success response
717
717
  * @name getActiveCardAggregator
718
718
  * @summary: Retrieve active card aggregator
719
719
  * @description: Get details about the active card aggregator used by the user, including the aggregator name.You can refresh the data by setting the 'refresh' parameter to true if needed. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getActiveCardAggregator/).
@@ -751,7 +751,7 @@ class Payment {
751
751
  /**
752
752
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
753
753
  * @param {import("../ApplicationAPIClient").Options} - Options
754
- * @returns {Promise<TransferModeResponse>} - Success response
754
+ * @returns {Promise<TransferModeFetchDetails>} - Success response
755
755
  * @name getActiveRefundTransferModes
756
756
  * @summary: Get refund transfer modes
757
757
  * @description: Lists available refund modes, such as UPI, providing details like display name, logo, and ID for each mode. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getActiveRefundTransferModes/).
@@ -788,7 +788,7 @@ class Payment {
788
788
  /**
789
789
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
790
790
  * @param {import("../ApplicationAPIClient").Options} - Options
791
- * @returns {Promise<ListCardsResponse>} - Success response
791
+ * @returns {Promise<ListCardsDetails>} - Success response
792
792
  * @name getActiveUserCards
793
793
  * @summary: Get customer cards
794
794
  * @description: List all active cards saved by the user.Includes details such as the card's aggregator name, card ID, token, reference, number, expiration date, type, issuer, brand, nickname, and whether it has expired. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getActiveUserCards/).
@@ -826,7 +826,7 @@ class Payment {
826
826
  /**
827
827
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
828
828
  * @param {import("../ApplicationAPIClient").Options} - Options
829
- * @returns {Promise<AggregatorsConfigDetailResponse>} - Success response
829
+ * @returns {Promise<AggregatorsConfigDetail>} - Success response
830
830
  * @name getAggregatorsConfig
831
831
  * @summary: Get payment aggregators
832
832
  * @description: Get aggregator secret key of all payment gateways utilized for payments when using the SDK for the payment gateway. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getAggregatorsConfig/).
@@ -865,7 +865,7 @@ class Payment {
865
865
  /**
866
866
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
867
867
  * @param {import("../ApplicationAPIClient").Options} - Options
868
- * @returns {Promise<EpaylaterBannerResponse>} - Success response
868
+ * @returns {Promise<EpaylaterBannerDetails>} - Success response
869
869
  * @name getEpaylaterBannerDetails
870
870
  * @summary: Epaylater banner info
871
871
  * @description: Get Epaylater payment banner details. It provides information about the banner's display status, along with relevant messages and the user's registration status. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getEpaylaterBannerDetails/).
@@ -902,7 +902,7 @@ class Payment {
902
902
  /**
903
903
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
904
904
  * @param {import("../ApplicationAPIClient").Options} - Options
905
- * @returns {Promise<OrderBeneficiaryResponse>} - Success response
905
+ * @returns {Promise<OrderBeneficiaryFetchDetails>} - Success response
906
906
  * @name getOrderBeneficiariesDetail
907
907
  * @summary: Retrieve beneficiary details
908
908
  * @description: Get beneficiary details like bank name , ifsc code , branch name associated with a specific order for refund processing. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getOrderBeneficiariesDetail/).
@@ -940,7 +940,7 @@ class Payment {
940
940
  /**
941
941
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
942
942
  * @param {import("../ApplicationAPIClient").Options} - Options
943
- * @returns {Promise<GetPaymentLinkResponse>} - Success response
943
+ * @returns {Promise<GetPaymentLinkDetails>} - Success response
944
944
  * @name getPaymentLink
945
945
  * @summary: Get payment link
946
946
  * @description: Get a generated payment link. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getPaymentLink/).
@@ -978,7 +978,7 @@ class Payment {
978
978
  /**
979
979
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
980
980
  * @param {import("../ApplicationAPIClient").Options} - Options
981
- * @returns {Promise<PaymentModeRouteResponse>} - Success response
981
+ * @returns {Promise<PaymentModeRouteDetails>} - Success response
982
982
  * @name getPaymentModeRoutes
983
983
  * @summary: Get payment modes
984
984
  * @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/application/payment/getPaymentModeRoutes/).
@@ -1037,7 +1037,7 @@ class Payment {
1037
1037
  /**
1038
1038
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1039
1039
  * @param {import("../ApplicationAPIClient").Options} - Options
1040
- * @returns {Promise<PaymentModeRouteResponse>} - Success response
1040
+ * @returns {Promise<PaymentModeRouteDetails>} - Success response
1041
1041
  * @name getPaymentModeRoutesPaymentLink
1042
1042
  * @summary: Payment modes for payment link
1043
1043
  * @description: List payment modes available for a given payment link. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getPaymentModeRoutesPaymentLink/).
@@ -1075,7 +1075,7 @@ class Payment {
1075
1075
  /**
1076
1076
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1077
1077
  * @param {import("../ApplicationAPIClient").Options} - Options
1078
- * @returns {Promise<PaymentModeRouteResponse>} - Success response
1078
+ * @returns {Promise<PaymentModeRouteDetails>} - Success response
1079
1079
  * @name getPosPaymentModeRoutes
1080
1080
  * @summary: POS payment modes
1081
1081
  * @description: Get 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/application/payment/getPosPaymentModeRoutes/).
@@ -1083,9 +1083,9 @@ class Payment {
1083
1083
  async getPosPaymentModeRoutes(
1084
1084
  {
1085
1085
  amount,
1086
+ cartId,
1086
1087
  pincode,
1087
1088
  orderType,
1088
- cartId,
1089
1089
  checkoutMode,
1090
1090
  refresh,
1091
1091
  cardReference,
@@ -1130,7 +1130,7 @@ class Payment {
1130
1130
  /**
1131
1131
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1132
1132
  * @param {import("../ApplicationAPIClient").Options} - Options
1133
- * @returns {Promise<RupifiBannerResponse>} - Success response
1133
+ * @returns {Promise<RupifiBannerDetails>} - Success response
1134
1134
  * @name getRupifiBannerDetails
1135
1135
  * @summary: Rupifi banner info
1136
1136
  * @description: Get Rupifi payment banner details. It provides information such as the KYC URL and the current status of the Rupifi payment banner. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getRupifiBannerDetails/).
@@ -1167,7 +1167,7 @@ class Payment {
1167
1167
  /**
1168
1168
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1169
1169
  * @param {import("../ApplicationAPIClient").Options} - Options
1170
- * @returns {Promise<OrderBeneficiaryResponse>} - Success response
1170
+ * @returns {Promise<OrderBeneficiaryFetchDetails>} - Success response
1171
1171
  * @name getUserBeneficiariesDetail
1172
1172
  * @summary: Retrieve beneficiary details
1173
1173
  * @description: Get beneficiaries associated with the user for processing refunds, based on the provided order ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getUserBeneficiariesDetail/).
@@ -1205,7 +1205,7 @@ class Payment {
1205
1205
  /**
1206
1206
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1207
1207
  * @param {import("../ApplicationAPIClient").Options} - Options
1208
- * @returns {Promise<PaymentInitializationResponse>} - Success response
1208
+ * @returns {Promise<PaymentInitializationDetails>} - Success response
1209
1209
  * @name initialisePayment
1210
1210
  * @summary: Start payment process
1211
1211
  * @description: Initiate the payment procedure for an order. Upon successful initiation, it returns a details including the success status, aggregator information, payment method, status, merchant order ID aggregator order , polling URL, timeout, virtual ID, Razorpay payment ID, customer ID, and device ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/initialisePayment/).
@@ -1242,7 +1242,7 @@ class Payment {
1242
1242
  /**
1243
1243
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1244
1244
  * @param {import("../ApplicationAPIClient").Options} - Options
1245
- * @returns {Promise<PaymentInitializationResponse>} - Success response
1245
+ * @returns {Promise<PaymentInitializationDetails>} - Success response
1246
1246
  * @name initialisePaymentPaymentLink
1247
1247
  * @summary: Initialize payment link
1248
1248
  * @description: Begin payment process for an order by initializing it through a payment link.Upon successful initialization, the response includes details about the payment status, aggregator details, order IDs, polling URL for status updates, and other relevant information. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/initialisePaymentPaymentLink/).
@@ -1316,7 +1316,7 @@ class Payment {
1316
1316
  /**
1317
1317
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1318
1318
  * @param {import("../ApplicationAPIClient").Options} - Options
1319
- * @returns {Promise<OutstandingOrderDetailsResponse>} - Success response
1319
+ * @returns {Promise<OutstandingOrderDetails>} - Success response
1320
1320
  * @name outstandingOrderDetails
1321
1321
  * @summary: Outstanding orders
1322
1322
  * @description: Get details of orders with outstanding payments. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/outstandingOrderDetails/).
@@ -1354,7 +1354,7 @@ class Payment {
1354
1354
  /**
1355
1355
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1356
1356
  * @param {import("../ApplicationAPIClient").Options} - Options
1357
- * @returns {Promise<PaidOrderDetailsResponse>} - Success response
1357
+ * @returns {Promise<PaidOrderDetails>} - Success response
1358
1358
  * @name paidOrderDetails
1359
1359
  * @summary: Retrieve details of paid orders
1360
1360
  * @description: Get details of orders that have been paid for, including shipment ID, order ID, due date, payment date, amount, and transaction ID, based on the aggregator merchant user ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/paidOrderDetails/).
@@ -1392,7 +1392,7 @@ class Payment {
1392
1392
  /**
1393
1393
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1394
1394
  * @param {import("../ApplicationAPIClient").Options} - Options
1395
- * @returns {Promise<PollingPaymentLinkResponse>} - Success response
1395
+ * @returns {Promise<PollingPaymentLinkDetails>} - Success response
1396
1396
  * @name pollingPaymentLink
1397
1397
  * @summary: Poll status of payment link
1398
1398
  * @description: Get real-time information about the payment link's current status, such as whether it has been processed, cancelled, or expired. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/pollingPaymentLink/).
@@ -1430,13 +1430,13 @@ class Payment {
1430
1430
  /**
1431
1431
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1432
1432
  * @param {import("../ApplicationAPIClient").Options} - Options
1433
- * @returns {Promise<RedirectToAggregatorResponse>} - Success response
1433
+ * @returns {Promise<RedirectToAggregatorDetails>} - Success response
1434
1434
  * @name redirectToAggregator
1435
1435
  * @summary: Redirects users to the payment aggregator's interface
1436
- * @description: Get details about the active card aggregator used by the user, including the aggregator's name. You can refresh the data by setting the 'refresh' parameter to true if needed. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/redirectToAggregator/).
1436
+ * @description: This endpoint is used to redirect users to the payment aggregator's platform where they can complete the payment process. The request may include necessary details for initiating the payment on the aggregator’s side, and the user is transferred seamlessly to their interface. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/redirectToAggregator/).
1437
1437
  */
1438
1438
  async redirectToAggregator(
1439
- { source, aggregator, requestHeaders } = { requestHeaders: {} },
1439
+ { aggregator, source, requestHeaders } = { requestHeaders: {} },
1440
1440
  { responseHeaders } = { responseHeaders: false }
1441
1441
  ) {
1442
1442
  const query_params = {};
@@ -1469,7 +1469,7 @@ class Payment {
1469
1469
  /**
1470
1470
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1471
1471
  * @param {import("../ApplicationAPIClient").Options} - Options
1472
- * @returns {Promise<renderHTMLResponse>} - Success response
1472
+ * @returns {Promise<RenderHTMLDetails>} - Success response
1473
1473
  * @name renderHTML
1474
1474
  * @summary: Render HTML
1475
1475
  * @description: Render HTML for a payment aggregator page. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/renderHTML/).
@@ -1506,7 +1506,7 @@ class Payment {
1506
1506
  /**
1507
1507
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1508
1508
  * @param {import("../ApplicationAPIClient").Options} - Options
1509
- * @returns {Promise<ResendOrCancelPaymentResponse>} - Success response
1509
+ * @returns {Promise<ResendOrCancelPaymentDetails>} - Success response
1510
1510
  * @name resendOrCancelPayment
1511
1511
  * @summary: Resend or cancel a pending payment transaction
1512
1512
  * @description: Resend or cancel payment link that have been initiated but may require modification or cancellation for various reasons, ensuring flexibility and control in payment processing. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/resendOrCancelPayment/).
@@ -1543,7 +1543,7 @@ class Payment {
1543
1543
  /**
1544
1544
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1545
1545
  * @param {import("../ApplicationAPIClient").Options} - Options
1546
- * @returns {Promise<ResendPaymentLinkResponse>} - Success response
1546
+ * @returns {Promise<ResendPaymentLinkDetails>} - Success response
1547
1547
  * @name resendPaymentLink
1548
1548
  * @summary: Resend payment link
1549
1549
  * @description: Resend an existing payment link to the user to complete the payment. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/resendPaymentLink/).
@@ -1580,7 +1580,7 @@ class Payment {
1580
1580
  /**
1581
1581
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1582
1582
  * @param {import("../ApplicationAPIClient").Options} - Options
1583
- * @returns {Promise<SetDefaultBeneficiaryResponse>} - Success response
1583
+ * @returns {Promise<SetDefaultBeneficiaryDetails>} - Success response
1584
1584
  * @name updateDefaultBeneficiary
1585
1585
  * @summary: Set default beneficiary for refund
1586
1586
  * @description: Update default beneficiary for the order refund of the user. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/updateDefaultBeneficiary/).
@@ -1617,7 +1617,7 @@ class Payment {
1617
1617
  /**
1618
1618
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1619
1619
  * @param {import("../ApplicationAPIClient").Options} - Options
1620
- * @returns {Promise<ValidateVPAResponse>} - Success response
1620
+ * @returns {Promise<ValidateVPADetails>} - Success response
1621
1621
  * @name validateVPA
1622
1622
  * @summary: Validate VPA
1623
1623
  * @description: Validate if a Virtual Payment Address (VPA) is valid for processing payments and returns the validation result.is_valid boolean value indicating whether the VPA is valid for payments. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/validateVPA/).
@@ -1654,7 +1654,7 @@ class Payment {
1654
1654
  /**
1655
1655
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1656
1656
  * @param {import("../ApplicationAPIClient").Options} - Options
1657
- * @returns {Promise<ChargeCustomerResponse>} - Success response
1657
+ * @returns {Promise<ChargeCustomerDetails>} - Success response
1658
1658
  * @name verifyAndChargePayment
1659
1659
  * @summary: Verify order confirmation and charge
1660
1660
  * @description: Verify the payment status and charge from the customer's BNPL (Buy Now, Pay Later) account after order confirmation. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/verifyAndChargePayment/).
@@ -1691,7 +1691,7 @@ class Payment {
1691
1691
  /**
1692
1692
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1693
1693
  * @param {import("../ApplicationAPIClient").Options} - Options
1694
- * @returns {Promise<ValidateCustomerResponse>} - Success response
1694
+ * @returns {Promise<ValidateCustomerDetails>} - Success response
1695
1695
  * @name verifyCustomerForPayment
1696
1696
  * @summary: Verify payment customer
1697
1697
  * @description: Verify if the user is eligible for pay-later payment from the payment aggregator side using the customer's phone number. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/verifyCustomerForPayment/).
@@ -1728,7 +1728,7 @@ class Payment {
1728
1728
  /**
1729
1729
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1730
1730
  * @param {import("../ApplicationAPIClient").Options} - Options
1731
- * @returns {Promise<IfscCodeResponse>} - Success response
1731
+ * @returns {Promise<IfscCodeDetails>} - Success response
1732
1732
  * @name verifyIfscCode
1733
1733
  * @summary: Verify IFSC
1734
1734
  * @description: Validate IFSC code and returns bank details if valid. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/verifyIfscCode/).
@@ -1766,7 +1766,7 @@ class Payment {
1766
1766
  /**
1767
1767
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1768
1768
  * @param {import("../ApplicationAPIClient").Options} - Options
1769
- * @returns {Promise<AddBeneficiaryViaOtpVerificationResponse>} - Success response
1769
+ * @returns {Promise<AddBeneficiaryViaOtpVerificationDetails>} - Success response
1770
1770
  * @name verifyOtpAndAddBeneficiaryForBank
1771
1771
  * @summary: Verify OTP for bank and add beneficiary
1772
1772
  * @description: Verify the OTP provided by the user and adds a bank beneficiary for refund processing. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/verifyOtpAndAddBeneficiaryForBank/).
@@ -1803,7 +1803,7 @@ class Payment {
1803
1803
  /**
1804
1804
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1805
1805
  * @param {import("../ApplicationAPIClient").Options} - Options
1806
- * @returns {Promise<WalletOtpResponse>} - Success response
1806
+ * @returns {Promise<WalletOtpDetails>} - Success response
1807
1807
  * @name verifyOtpAndAddBeneficiaryForWallet
1808
1808
  * @summary: Verify OTP for wallet
1809
1809
  * @description: Verify OTP provided by the user and adds a wallet beneficiary. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/verifyOtpAndAddBeneficiaryForWallet/).
@@ -16,12 +16,12 @@ declare class Rewards {
16
16
  /**
17
17
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
18
18
  * @param {import("../ApplicationAPIClient").Options} - Options
19
- * @returns {Promise<CatalogueOrderResponse>} - Success response
19
+ * @returns {Promise<CatalogueOrderDetails>} - Success response
20
20
  * @name catalogueOrder
21
21
  * @summary: Order from catalogue
22
- * @description: Place an reward on order items available in the catalogue. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/catalogueOrder/).
22
+ * @description: Place a reward on order items available in the catalogue. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/catalogueOrder/).
23
23
  */
24
- catalogueOrder({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CatalogueOrderResponse>;
24
+ catalogueOrder({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CatalogueOrderDetails>;
25
25
  /**
26
26
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
27
27
  * @param {import("../ApplicationAPIClient").Options} - Options
@@ -34,46 +34,46 @@ declare class Rewards {
34
34
  /**
35
35
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
36
36
  * @param {import("../ApplicationAPIClient").Options} - Options
37
- * @returns {Promise<OrderDiscountResponse>} - Success response
37
+ * @returns {Promise<OrderDiscountDetails>} - Success response
38
38
  * @name getOrderDiscount
39
39
  * @summary: Order discount
40
40
  * @description: Retrieve the discount applied to a specific order. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/getOrderDiscount/).
41
41
  */
42
- getOrderDiscount({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<OrderDiscountResponse>;
42
+ getOrderDiscount({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<OrderDiscountDetails>;
43
43
  /**
44
44
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
45
45
  * @param {import("../ApplicationAPIClient").Options} - Options
46
- * @returns {Promise<PointsResponse>} - Success response
46
+ * @returns {Promise<PointsDetails>} - Success response
47
47
  * @name getUserPoints
48
48
  * @summary: Current points
49
49
  * @description: Retrieves the current reward points balance for the user. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/getUserPoints/).
50
50
  */
51
- getUserPoints({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PointsResponse>;
51
+ getUserPoints({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PointsDetails>;
52
52
  /**
53
53
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
54
54
  * @param {import("../ApplicationAPIClient").Options} - Options
55
- * @returns {Promise<PointsHistoryResponse>} - Success response
55
+ * @returns {Promise<PointsHistoryDetails>} - Success response
56
56
  * @name getUserPointsHistory
57
57
  * @summary: Points history
58
58
  * @description: Gets the historical data of points earned or spent by the user. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/getUserPointsHistory/).
59
59
  */
60
- getUserPointsHistory({ pageId, pageSize, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PointsHistoryResponse>;
60
+ getUserPointsHistory({ pageId, pageSize, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PointsHistoryDetails>;
61
61
  /**
62
62
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
63
63
  * @param {import("../ApplicationAPIClient").Options} - Options
64
- * @returns {Promise<ReferralDetailsResponse>} - Success response
64
+ * @returns {Promise<ReferralDetails>} - Success response
65
65
  * @name getUserReferralDetails
66
66
  * @summary: Referral details
67
67
  * @description: Gets the details of the user’s referral status and codes. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/getUserReferralDetails/).
68
68
  */
69
- getUserReferralDetails({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ReferralDetailsResponse>;
69
+ getUserReferralDetails({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ReferralDetails>;
70
70
  /**
71
71
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
72
72
  * @param {import("../ApplicationAPIClient").Options} - Options
73
- * @returns {Promise<RedeemReferralCodeResponse>} - Success response
73
+ * @returns {Promise<RedeemReferralCodeDetails>} - Success response
74
74
  * @name redeemReferralCode
75
75
  * @summary: Redeem code
76
76
  * @description: Applies a referral code to earn or redeem rewards. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/redeemReferralCode/).
77
77
  */
78
- redeemReferralCode({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<RedeemReferralCodeResponse>;
78
+ redeemReferralCode({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<RedeemReferralCodeDetails>;
79
79
  }
@@ -44,10 +44,10 @@ class Rewards {
44
44
  /**
45
45
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
46
46
  * @param {import("../ApplicationAPIClient").Options} - Options
47
- * @returns {Promise<CatalogueOrderResponse>} - Success response
47
+ * @returns {Promise<CatalogueOrderDetails>} - Success response
48
48
  * @name catalogueOrder
49
49
  * @summary: Order from catalogue
50
- * @description: Place an reward on order items available in the catalogue. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/catalogueOrder/).
50
+ * @description: Place a reward on order items available in the catalogue. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/catalogueOrder/).
51
51
  */
52
52
  async catalogueOrder(
53
53
  { body, requestHeaders } = { requestHeaders: {} },
@@ -127,7 +127,7 @@ class Rewards {
127
127
  /**
128
128
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
129
129
  * @param {import("../ApplicationAPIClient").Options} - Options
130
- * @returns {Promise<OrderDiscountResponse>} - Success response
130
+ * @returns {Promise<OrderDiscountDetails>} - Success response
131
131
  * @name getOrderDiscount
132
132
  * @summary: Order discount
133
133
  * @description: Retrieve the discount applied to a specific order. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/getOrderDiscount/).
@@ -164,7 +164,7 @@ class Rewards {
164
164
  /**
165
165
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
166
166
  * @param {import("../ApplicationAPIClient").Options} - Options
167
- * @returns {Promise<PointsResponse>} - Success response
167
+ * @returns {Promise<PointsDetails>} - Success response
168
168
  * @name getUserPoints
169
169
  * @summary: Current points
170
170
  * @description: Retrieves the current reward points balance for the user. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/getUserPoints/).
@@ -201,7 +201,7 @@ class Rewards {
201
201
  /**
202
202
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
203
203
  * @param {import("../ApplicationAPIClient").Options} - Options
204
- * @returns {Promise<PointsHistoryResponse>} - Success response
204
+ * @returns {Promise<PointsHistoryDetails>} - Success response
205
205
  * @name getUserPointsHistory
206
206
  * @summary: Points history
207
207
  * @description: Gets the historical data of points earned or spent by the user. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/getUserPointsHistory/).
@@ -240,7 +240,7 @@ class Rewards {
240
240
  /**
241
241
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
242
242
  * @param {import("../ApplicationAPIClient").Options} - Options
243
- * @returns {Promise<ReferralDetailsResponse>} - Success response
243
+ * @returns {Promise<ReferralDetails>} - Success response
244
244
  * @name getUserReferralDetails
245
245
  * @summary: Referral details
246
246
  * @description: Gets the details of the user’s referral status and codes. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/getUserReferralDetails/).
@@ -277,7 +277,7 @@ class Rewards {
277
277
  /**
278
278
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
279
279
  * @param {import("../ApplicationAPIClient").Options} - Options
280
- * @returns {Promise<RedeemReferralCodeResponse>} - Success response
280
+ * @returns {Promise<RedeemReferralCodeDetails>} - Success response
281
281
  * @name redeemReferralCode
282
282
  * @summary: Redeem code
283
283
  * @description: Applies a referral code to earn or redeem rewards. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/redeemReferralCode/).
@@ -27,7 +27,7 @@ declare class Theme {
27
27
  * @summary: Get applied theme
28
28
  * @description: Gets the theme configuration and template details of a theme applied to the application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/theme/getAppliedTheme/).
29
29
  */
30
- getAppliedTheme({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ThemesSchema>;
30
+ getAppliedTheme({ filters, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ThemesSchema>;
31
31
  /**
32
32
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
33
33
  * @param {import("../ApplicationAPIClient").Options} - Options
@@ -45,5 +45,5 @@ declare class Theme {
45
45
  * @summary: Get theme for preview
46
46
  * @description: Gets the theme configuration and template details of a theme by theme id. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/theme/getThemeForPreview/).
47
47
  */
48
- getThemeForPreview({ themeId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<ThemesSchema>;
48
+ getThemeForPreview({ themeId, filters, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<ThemesSchema>;
49
49
  }
@@ -88,10 +88,11 @@ class Theme {
88
88
  * @description: Gets the theme configuration and template details of a theme applied to the application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/theme/getAppliedTheme/).
89
89
  */
90
90
  async getAppliedTheme(
91
- { requestHeaders } = { requestHeaders: {} },
91
+ { filters, requestHeaders } = { requestHeaders: {} },
92
92
  { responseHeaders } = { responseHeaders: false }
93
93
  ) {
94
94
  const query_params = {};
95
+ query_params["filters"] = filters;
95
96
 
96
97
  const xHeaders = {};
97
98
 
@@ -184,7 +185,7 @@ class Theme {
184
185
  * @description: Gets the theme configuration and template details of a theme by theme id. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/theme/getThemeForPreview/).
185
186
  */
186
187
  async getThemeForPreview(
187
- { themeId, requestHeaders } = { requestHeaders: {} },
188
+ { themeId, filters, requestHeaders } = { requestHeaders: {} },
188
189
  { responseHeaders } = { responseHeaders: false }
189
190
  ) {
190
191
  const errors = validateRequiredParams(arguments[0], ["themeId"]);
@@ -197,6 +198,7 @@ class Theme {
197
198
  }
198
199
 
199
200
  const query_params = {};
201
+ query_params["filters"] = filters;
200
202
 
201
203
  const xHeaders = {};
202
204