@gofynd/fdk-client-javascript 1.4.15-beta.3 → 1.4.15-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 (238) 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 -19
  14. package/sdk/application/Content/ContentApplicationClient.js +54 -28
  15. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +8 -8
  16. package/sdk/application/FileStorage/FileStorageApplicationClient.js +7 -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 -89
  21. package/sdk/application/Order/OrderApplicationClient.d.ts +12 -22
  22. package/sdk/application/Order/OrderApplicationClient.js +8 -47
  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/partner/FileStorage/FileStoragePartnerClient.d.ts +12 -86
  34. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +24 -582
  35. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +19 -116
  36. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +14 -121
  37. package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +1 -8
  38. package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -51
  39. package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
  40. package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
  41. package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
  42. package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
  43. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +20 -126
  44. package/sdk/partner/Logistics/LogisticsPartnerClient.js +20 -970
  45. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +167 -1200
  46. package/sdk/partner/Logistics/LogisticsPartnerModel.js +160 -571
  47. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +0 -10
  48. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +7 -121
  49. package/sdk/partner/OAuthClient.js +1 -0
  50. package/sdk/partner/Theme/ThemePartnerClient.d.ts +10 -8
  51. package/sdk/partner/Theme/ThemePartnerClient.js +16 -14
  52. package/sdk/partner/Theme/ThemePartnerModel.d.ts +37 -96
  53. package/sdk/partner/Theme/ThemePartnerModel.js +36 -90
  54. package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
  55. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +18 -28
  56. package/sdk/partner/Webhook/WebhookPartnerClient.js +18 -103
  57. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +179 -612
  58. package/sdk/partner/Webhook/WebhookPartnerModel.js +150 -253
  59. package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +0 -1
  60. package/sdk/partner/Webhook/WebhookPartnerValidator.js +3 -11
  61. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +4 -5
  62. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +8 -14
  63. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +9 -59
  64. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +4 -40
  65. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +32 -2
  66. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +243 -3
  67. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +130 -11
  68. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +152 -12
  69. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +39 -1
  70. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +35 -0
  71. package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
  72. package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
  73. package/sdk/platform/Billing/BillingPlatformModel.d.ts +388 -443
  74. package/sdk/platform/Billing/BillingPlatformModel.js +263 -280
  75. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +18 -16
  76. package/sdk/platform/Billing/BillingPlatformValidator.js +9 -8
  77. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +103 -134
  78. package/sdk/platform/Cart/CartPlatformApplicationClient.js +115 -419
  79. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +65 -118
  80. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +44 -109
  81. package/sdk/platform/Cart/CartPlatformModel.d.ts +1298 -5037
  82. package/sdk/platform/Cart/CartPlatformModel.js +1217 -1976
  83. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +183 -209
  84. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +400 -457
  85. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +142 -185
  86. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +78 -96
  87. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +117 -154
  88. package/sdk/platform/Catalog/CatalogPlatformClient.js +172 -292
  89. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1647 -6385
  90. package/sdk/platform/Catalog/CatalogPlatformModel.js +1680 -3217
  91. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +31 -72
  92. package/sdk/platform/Catalog/CatalogPlatformValidator.js +24 -50
  93. package/sdk/platform/Common/CommonPlatformClient.d.ts +2 -3
  94. package/sdk/platform/Common/CommonPlatformClient.js +2 -3
  95. package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
  96. package/sdk/platform/Common/CommonPlatformModel.js +6 -6
  97. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +17 -16
  98. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +17 -16
  99. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
  100. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
  101. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +33 -43
  102. package/sdk/platform/Communication/CommunicationPlatformModel.js +34 -38
  103. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +42 -46
  104. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +43 -47
  105. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
  106. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +212 -210
  107. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
  108. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
  109. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +33 -46
  110. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +54 -67
  111. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
  112. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
  113. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +24 -45
  114. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +30 -134
  115. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +131 -283
  116. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +97 -219
  117. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +9 -37
  118. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +8 -27
  119. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +141 -124
  120. package/sdk/platform/Content/ContentPlatformApplicationClient.js +422 -449
  121. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +141 -179
  122. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +130 -168
  123. package/sdk/platform/Content/ContentPlatformClient.d.ts +106 -142
  124. package/sdk/platform/Content/ContentPlatformClient.js +336 -523
  125. package/sdk/platform/Content/ContentPlatformModel.d.ts +395 -1241
  126. package/sdk/platform/Content/ContentPlatformModel.js +390 -521
  127. package/sdk/platform/Content/ContentPlatformValidator.d.ts +117 -168
  128. package/sdk/platform/Content/ContentPlatformValidator.js +108 -162
  129. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +12 -14
  130. package/sdk/platform/Discount/DiscountPlatformClient.js +12 -14
  131. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
  132. package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
  133. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
  134. package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
  135. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +36 -94
  136. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +60 -462
  137. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +15 -62
  138. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +13 -75
  139. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +19 -19
  140. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +21 -21
  141. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +101 -370
  142. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +84 -313
  143. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
  144. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
  145. package/sdk/platform/Finance/FinancePlatformClient.d.ts +320 -0
  146. package/sdk/platform/Finance/FinancePlatformClient.js +2333 -0
  147. package/sdk/platform/Finance/FinancePlatformModel.d.ts +2890 -0
  148. package/sdk/platform/Finance/FinancePlatformModel.js +2148 -0
  149. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +284 -0
  150. package/sdk/platform/Finance/FinancePlatformValidator.js +354 -0
  151. package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
  152. package/sdk/platform/Lead/LeadPlatformClient.js +2 -2
  153. package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -5
  154. package/sdk/platform/Lead/LeadPlatformModel.js +16 -16
  155. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +6 -17
  156. package/sdk/platform/Order/OrderPlatformApplicationClient.js +7 -85
  157. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +24 -95
  158. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +19 -39
  159. package/sdk/platform/Order/OrderPlatformClient.d.ts +96 -153
  160. package/sdk/platform/Order/OrderPlatformClient.js +198 -416
  161. package/sdk/platform/Order/OrderPlatformModel.d.ts +1286 -7619
  162. package/sdk/platform/Order/OrderPlatformModel.js +1265 -3922
  163. package/sdk/platform/Order/OrderPlatformValidator.d.ts +109 -270
  164. package/sdk/platform/Order/OrderPlatformValidator.js +77 -135
  165. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -6
  166. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +7 -9
  167. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
  168. package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
  169. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +105 -93
  170. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +141 -129
  171. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +48 -48
  172. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +48 -48
  173. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
  174. package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
  175. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +319 -333
  176. package/sdk/platform/Payment/PaymentPlatformModel.js +278 -288
  177. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
  178. package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
  179. package/sdk/platform/PlatformClient.d.ts +2 -0
  180. package/sdk/platform/PlatformClient.js +4 -0
  181. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
  182. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
  183. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
  184. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
  185. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +9 -9
  186. package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
  187. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +36 -46
  188. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +41 -132
  189. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +17 -46
  190. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +14 -34
  191. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +46 -40
  192. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +64 -58
  193. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +612 -1845
  194. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +554 -886
  195. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +46 -42
  196. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +28 -26
  197. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
  198. package/sdk/platform/Share/SharePlatformApplicationClient.js +2 -2
  199. package/sdk/platform/Share/SharePlatformModel.d.ts +5 -36
  200. package/sdk/platform/Share/SharePlatformModel.js +4 -27
  201. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
  202. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +4 -8
  203. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +0 -5
  204. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +0 -2
  205. package/sdk/platform/Theme/ThemePlatformModel.d.ts +11 -37
  206. package/sdk/platform/Theme/ThemePlatformModel.js +15 -33
  207. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
  208. package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
  209. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
  210. package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
  211. package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
  212. package/sdk/platform/User/UserPlatformModel.js +23 -23
  213. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +78 -25
  214. package/sdk/platform/Webhook/WebhookPlatformClient.js +470 -75
  215. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +427 -720
  216. package/sdk/platform/Webhook/WebhookPlatformModel.js +386 -410
  217. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +55 -10
  218. package/sdk/platform/Webhook/WebhookPlatformValidator.js +72 -12
  219. package/sdk/platform/index.d.ts +1 -0
  220. package/sdk/platform/index.js +2 -0
  221. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +2 -3
  222. package/sdk/public/Configuration/ConfigurationPublicClient.js +5 -6
  223. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
  224. package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
  225. package/sdk/public/Content/ContentPublicClient.d.ts +2 -112
  226. package/sdk/public/Content/ContentPublicClient.js +5 -791
  227. package/sdk/public/Content/ContentPublicModel.d.ts +3 -549
  228. package/sdk/public/Content/ContentPublicModel.js +3 -649
  229. package/sdk/public/Content/ContentPublicValidator.d.ts +3 -69
  230. package/sdk/public/Content/ContentPublicValidator.js +2 -88
  231. package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
  232. package/sdk/public/Webhook/WebhookPublicClient.js +8 -8
  233. package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
  234. package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
  235. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
  236. package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
  237. package/sdk/application/Finance/FinanceApplicationClient.d.ts +0 -29
  238. package/sdk/application/Finance/FinanceApplicationClient.js +0 -105
@@ -103,7 +103,7 @@ class Payment {
103
103
  /**
104
104
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
105
105
  * @param {import("../ApplicationAPIClient").Options} - Options
106
- * @returns {Promise<RefundAccountDetails>} - Success response
106
+ * @returns {Promise<RefundAccountResponse>} - Success response
107
107
  * @name addBeneficiaryDetails
108
108
  * @summary: Add beneficiary for refund
109
109
  * @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/).
@@ -140,7 +140,7 @@ class Payment {
140
140
  /**
141
141
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
142
142
  * @param {import("../ApplicationAPIClient").Options} - Options
143
- * @returns {Promise<RefundAccountDetails>} - Success response
143
+ * @returns {Promise<RefundAccountResponse>} - Success response
144
144
  * @name addRefundBankAccountUsingOTP
145
145
  * @summary: Add refund account using OTP verification
146
146
  * @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/).
@@ -177,7 +177,7 @@ class Payment {
177
177
  /**
178
178
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
179
179
  * @param {import("../ApplicationAPIClient").Options} - Options
180
- * @returns {Promise<AttachCardsDetails>} - Success response
180
+ * @returns {Promise<AttachCardsResponse>} - Success response
181
181
  * @name attachCardToCustomer
182
182
  * @summary: Link payment card to customer
183
183
  * @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/).
@@ -214,7 +214,7 @@ class Payment {
214
214
  /**
215
215
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
216
216
  * @param {import("../ApplicationAPIClient").Options} - Options
217
- * @returns {Promise<CancelPaymentLinkDetails>} - Success response
217
+ * @returns {Promise<CancelPaymentLinkResponse>} - Success response
218
218
  * @name cancelPaymentLink
219
219
  * @summary: Cancel payment link
220
220
  * @description: Cancel previously generated payment link. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/cancelPaymentLink/).
@@ -251,7 +251,7 @@ class Payment {
251
251
  /**
252
252
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
253
253
  * @param {import("../ApplicationAPIClient").Options} - Options
254
- * @returns {Promise<CardDetailsFetchedDetails>} - Success response
254
+ * @returns {Promise<CardDetailsResponse>} - Success response
255
255
  * @name cardDetails
256
256
  * @summary: Get card details
257
257
  * @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/).
@@ -289,7 +289,7 @@ class Payment {
289
289
  /**
290
290
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
291
291
  * @param {import("../ApplicationAPIClient").Options} - Options
292
- * @returns {Promise<PaymentStatusUpdateDetails>} - Success response
292
+ * @returns {Promise<PaymentStatusUpdateResponse>} - Success response
293
293
  * @name checkAndUpdatePaymentStatus
294
294
  * @summary: Update payment status
295
295
  * @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/).
@@ -326,7 +326,7 @@ class Payment {
326
326
  /**
327
327
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
328
328
  * @param {import("../ApplicationAPIClient").Options} - Options
329
- * @returns {Promise<PaymentStatusUpdateDetails>} - Success response
329
+ * @returns {Promise<PaymentStatusUpdateResponse>} - Success response
330
330
  * @name checkAndUpdatePaymentStatusPaymentLink
331
331
  * @summary: Update payment link status
332
332
  * @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/).
@@ -363,7 +363,7 @@ class Payment {
363
363
  /**
364
364
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
365
365
  * @param {import("../ApplicationAPIClient").Options} - Options
366
- * @returns {Promise<CheckCreditDetails>} - Success response
366
+ * @returns {Promise<CheckCreditResponse>} - Success response
367
367
  * @name checkCredit
368
368
  * @summary: Verify credit availability and status
369
369
  * @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/).
@@ -401,7 +401,7 @@ class Payment {
401
401
  /**
402
402
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
403
403
  * @param {import("../ApplicationAPIClient").Options} - Options
404
- * @returns {Promise<CreateOrderUserDetails>} - Success response
404
+ * @returns {Promise<CreateOrderUserResponse>} - Success response
405
405
  * @name createOrderHandlerPaymentLink
406
406
  * @summary: Create order for payment via link
407
407
  * @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/).
@@ -438,7 +438,7 @@ class Payment {
438
438
  /**
439
439
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
440
440
  * @param {import("../ApplicationAPIClient").Options} - Options
441
- * @returns {Promise<CreatePaymentLinkDetails>} - Success response
441
+ * @returns {Promise<CreatePaymentLinkResponse>} - Success response
442
442
  * @name createPaymentLink
443
443
  * @summary: Create payment link
444
444
  * @description: Create new payment link for transactions. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/createPaymentLink/).
@@ -475,7 +475,7 @@ class Payment {
475
475
  /**
476
476
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
477
477
  * @param {import("../ApplicationAPIClient").Options} - Options
478
- * @returns {Promise<PaymentOrderDetails>} - Success response
478
+ * @returns {Promise<PaymentOrderResponse>} - Success response
479
479
  * @name createPaymentOrder
480
480
  * @summary: Create Order
481
481
  * @description: Create an order and payment on the aggregator side. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/createPaymentOrder/).
@@ -512,7 +512,7 @@ class Payment {
512
512
  /**
513
513
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
514
514
  * @param {import("../ApplicationAPIClient").Options} - Options
515
- * @returns {Promise<CustomerCreditSummaryDetails>} - Success response
515
+ * @returns {Promise<CustomerCreditSummaryResponse>} - Success response
516
516
  * @name customerCreditSummary
517
517
  * @summary: Credit summary
518
518
  * @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/).
@@ -550,7 +550,7 @@ class Payment {
550
550
  /**
551
551
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
552
552
  * @param {import("../ApplicationAPIClient").Options} - Options
553
- * @returns {Promise<CustomerOnboardingDetails>} - Success response
553
+ * @returns {Promise<CustomerOnboardingResponse>} - Success response
554
554
  * @name customerOnboard
555
555
  * @summary: Onboard customer for payment
556
556
  * @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/).
@@ -587,7 +587,7 @@ class Payment {
587
587
  /**
588
588
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
589
589
  * @param {import("../ApplicationAPIClient").Options} - Options
590
- * @returns {Promise<DeleteCardsDetails>} - Success response
590
+ * @returns {Promise<DeleteCardsResponse>} - Success response
591
591
  * @name deleteUserCard
592
592
  * @summary: Delete customer card
593
593
  * @description: Delete payment card from the user's account. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/deleteUserCard/).
@@ -661,7 +661,7 @@ class Payment {
661
661
  /**
662
662
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
663
663
  * @param {import("../ApplicationAPIClient").Options} - Options
664
- * @returns {Promise<RefundTransferModeUpdateDetails>} - Success response
664
+ * @returns {Promise<UpdateRefundTransferModeResponse>} - Success response
665
665
  * @name enableOrDisableRefundTransferMode
666
666
  * @summary: Toggle refund mode
667
667
  * @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/).
@@ -698,7 +698,7 @@ class Payment {
698
698
  /**
699
699
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
700
700
  * @param {import("../ApplicationAPIClient").Options} - Options
701
- * @returns {Promise<ActiveCardPaymentGatewayDetails>} - Success response
701
+ * @returns {Promise<ActiveCardPaymentGatewayResponse>} - Success response
702
702
  * @name getActiveCardAggregator
703
703
  * @summary: Retrieve active card aggregator
704
704
  * @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/).
@@ -736,7 +736,7 @@ class Payment {
736
736
  /**
737
737
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
738
738
  * @param {import("../ApplicationAPIClient").Options} - Options
739
- * @returns {Promise<TransferModeFetchDetails>} - Success response
739
+ * @returns {Promise<TransferModeResponse>} - Success response
740
740
  * @name getActiveRefundTransferModes
741
741
  * @summary: Get refund transfer modes
742
742
  * @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/).
@@ -773,7 +773,7 @@ class Payment {
773
773
  /**
774
774
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
775
775
  * @param {import("../ApplicationAPIClient").Options} - Options
776
- * @returns {Promise<ListCardsDetails>} - Success response
776
+ * @returns {Promise<ListCardsResponse>} - Success response
777
777
  * @name getActiveUserCards
778
778
  * @summary: Get customer cards
779
779
  * @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/).
@@ -811,7 +811,7 @@ class Payment {
811
811
  /**
812
812
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
813
813
  * @param {import("../ApplicationAPIClient").Options} - Options
814
- * @returns {Promise<AggregatorsConfigDetail>} - Success response
814
+ * @returns {Promise<AggregatorsConfigDetailResponse>} - Success response
815
815
  * @name getAggregatorsConfig
816
816
  * @summary: Get payment aggregators
817
817
  * @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/).
@@ -850,7 +850,7 @@ class Payment {
850
850
  /**
851
851
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
852
852
  * @param {import("../ApplicationAPIClient").Options} - Options
853
- * @returns {Promise<EpaylaterBannerDetails>} - Success response
853
+ * @returns {Promise<EpaylaterBannerResponse>} - Success response
854
854
  * @name getEpaylaterBannerDetails
855
855
  * @summary: Epaylater banner info
856
856
  * @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/).
@@ -887,7 +887,7 @@ class Payment {
887
887
  /**
888
888
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
889
889
  * @param {import("../ApplicationAPIClient").Options} - Options
890
- * @returns {Promise<OrderBeneficiaryFetchDetails>} - Success response
890
+ * @returns {Promise<OrderBeneficiaryResponse>} - Success response
891
891
  * @name getOrderBeneficiariesDetail
892
892
  * @summary: Retrieve beneficiary details
893
893
  * @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/).
@@ -925,7 +925,7 @@ class Payment {
925
925
  /**
926
926
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
927
927
  * @param {import("../ApplicationAPIClient").Options} - Options
928
- * @returns {Promise<GetPaymentLinkDetails>} - Success response
928
+ * @returns {Promise<GetPaymentLinkResponse>} - Success response
929
929
  * @name getPaymentLink
930
930
  * @summary: Get payment link
931
931
  * @description: Get a generated payment link. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getPaymentLink/).
@@ -963,7 +963,7 @@ class Payment {
963
963
  /**
964
964
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
965
965
  * @param {import("../ApplicationAPIClient").Options} - Options
966
- * @returns {Promise<PaymentModeRouteDetails>} - Success response
966
+ * @returns {Promise<PaymentModeRouteResponse>} - Success response
967
967
  * @name getPaymentModeRoutes
968
968
  * @summary: Get payment modes
969
969
  * @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/).
@@ -1022,7 +1022,7 @@ class Payment {
1022
1022
  /**
1023
1023
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1024
1024
  * @param {import("../ApplicationAPIClient").Options} - Options
1025
- * @returns {Promise<PaymentModeRouteDetails>} - Success response
1025
+ * @returns {Promise<PaymentModeRouteResponse>} - Success response
1026
1026
  * @name getPaymentModeRoutesPaymentLink
1027
1027
  * @summary: Payment modes for payment link
1028
1028
  * @description: List payment modes available for a given payment link. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getPaymentModeRoutesPaymentLink/).
@@ -1060,7 +1060,7 @@ class Payment {
1060
1060
  /**
1061
1061
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1062
1062
  * @param {import("../ApplicationAPIClient").Options} - Options
1063
- * @returns {Promise<PaymentModeRouteDetails>} - Success response
1063
+ * @returns {Promise<PaymentModeRouteResponse>} - Success response
1064
1064
  * @name getPosPaymentModeRoutes
1065
1065
  * @summary: POS payment modes
1066
1066
  * @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/).
@@ -1068,9 +1068,9 @@ class Payment {
1068
1068
  async getPosPaymentModeRoutes(
1069
1069
  {
1070
1070
  amount,
1071
- cartId,
1072
1071
  pincode,
1073
1072
  orderType,
1073
+ cartId,
1074
1074
  checkoutMode,
1075
1075
  refresh,
1076
1076
  cardReference,
@@ -1115,7 +1115,7 @@ class Payment {
1115
1115
  /**
1116
1116
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1117
1117
  * @param {import("../ApplicationAPIClient").Options} - Options
1118
- * @returns {Promise<RupifiBannerDetails>} - Success response
1118
+ * @returns {Promise<RupifiBannerResponse>} - Success response
1119
1119
  * @name getRupifiBannerDetails
1120
1120
  * @summary: Rupifi banner info
1121
1121
  * @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/).
@@ -1152,7 +1152,7 @@ class Payment {
1152
1152
  /**
1153
1153
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1154
1154
  * @param {import("../ApplicationAPIClient").Options} - Options
1155
- * @returns {Promise<OrderBeneficiaryFetchDetails>} - Success response
1155
+ * @returns {Promise<OrderBeneficiaryResponse>} - Success response
1156
1156
  * @name getUserBeneficiariesDetail
1157
1157
  * @summary: Retrieve beneficiary details
1158
1158
  * @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/).
@@ -1190,7 +1190,7 @@ class Payment {
1190
1190
  /**
1191
1191
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1192
1192
  * @param {import("../ApplicationAPIClient").Options} - Options
1193
- * @returns {Promise<PaymentInitializationDetails>} - Success response
1193
+ * @returns {Promise<PaymentInitializationResponse>} - Success response
1194
1194
  * @name initialisePayment
1195
1195
  * @summary: Start payment process
1196
1196
  * @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/).
@@ -1227,7 +1227,7 @@ class Payment {
1227
1227
  /**
1228
1228
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1229
1229
  * @param {import("../ApplicationAPIClient").Options} - Options
1230
- * @returns {Promise<PaymentInitializationDetails>} - Success response
1230
+ * @returns {Promise<PaymentInitializationResponse>} - Success response
1231
1231
  * @name initialisePaymentPaymentLink
1232
1232
  * @summary: Initialize payment link
1233
1233
  * @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/).
@@ -1301,7 +1301,7 @@ class Payment {
1301
1301
  /**
1302
1302
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1303
1303
  * @param {import("../ApplicationAPIClient").Options} - Options
1304
- * @returns {Promise<OutstandingOrderDetails>} - Success response
1304
+ * @returns {Promise<OutstandingOrderDetailsResponse>} - Success response
1305
1305
  * @name outstandingOrderDetails
1306
1306
  * @summary: Outstanding orders
1307
1307
  * @description: Get details of orders with outstanding payments. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/outstandingOrderDetails/).
@@ -1339,7 +1339,7 @@ class Payment {
1339
1339
  /**
1340
1340
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1341
1341
  * @param {import("../ApplicationAPIClient").Options} - Options
1342
- * @returns {Promise<PaidOrderDetails>} - Success response
1342
+ * @returns {Promise<PaidOrderDetailsResponse>} - Success response
1343
1343
  * @name paidOrderDetails
1344
1344
  * @summary: Retrieve details of paid orders
1345
1345
  * @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/).
@@ -1377,7 +1377,7 @@ class Payment {
1377
1377
  /**
1378
1378
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1379
1379
  * @param {import("../ApplicationAPIClient").Options} - Options
1380
- * @returns {Promise<PollingPaymentLinkDetails>} - Success response
1380
+ * @returns {Promise<PollingPaymentLinkResponse>} - Success response
1381
1381
  * @name pollingPaymentLink
1382
1382
  * @summary: Poll status of payment link
1383
1383
  * @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/).
@@ -1415,13 +1415,13 @@ class Payment {
1415
1415
  /**
1416
1416
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1417
1417
  * @param {import("../ApplicationAPIClient").Options} - Options
1418
- * @returns {Promise<RedirectToAggregatorDetails>} - Success response
1418
+ * @returns {Promise<RedirectToAggregatorResponse>} - Success response
1419
1419
  * @name redirectToAggregator
1420
1420
  * @summary: Redirects users to the payment aggregator's interface
1421
- * @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/).
1421
+ * @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/).
1422
1422
  */
1423
1423
  async redirectToAggregator(
1424
- { aggregator, source, requestHeaders } = { requestHeaders: {} },
1424
+ { source, aggregator, requestHeaders } = { requestHeaders: {} },
1425
1425
  { responseHeaders } = { responseHeaders: false }
1426
1426
  ) {
1427
1427
  const query_params = {};
@@ -1454,7 +1454,7 @@ class Payment {
1454
1454
  /**
1455
1455
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1456
1456
  * @param {import("../ApplicationAPIClient").Options} - Options
1457
- * @returns {Promise<RenderHTMLDetails>} - Success response
1457
+ * @returns {Promise<renderHTMLResponse>} - Success response
1458
1458
  * @name renderHTML
1459
1459
  * @summary: Render HTML
1460
1460
  * @description: Render HTML for a payment aggregator page. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/renderHTML/).
@@ -1491,7 +1491,7 @@ class Payment {
1491
1491
  /**
1492
1492
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1493
1493
  * @param {import("../ApplicationAPIClient").Options} - Options
1494
- * @returns {Promise<ResendOrCancelPaymentDetails>} - Success response
1494
+ * @returns {Promise<ResendOrCancelPaymentResponse>} - Success response
1495
1495
  * @name resendOrCancelPayment
1496
1496
  * @summary: Resend or cancel a pending payment transaction
1497
1497
  * @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/).
@@ -1528,7 +1528,7 @@ class Payment {
1528
1528
  /**
1529
1529
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1530
1530
  * @param {import("../ApplicationAPIClient").Options} - Options
1531
- * @returns {Promise<ResendPaymentLinkDetails>} - Success response
1531
+ * @returns {Promise<ResendPaymentLinkResponse>} - Success response
1532
1532
  * @name resendPaymentLink
1533
1533
  * @summary: Resend payment link
1534
1534
  * @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/).
@@ -1565,7 +1565,7 @@ class Payment {
1565
1565
  /**
1566
1566
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1567
1567
  * @param {import("../ApplicationAPIClient").Options} - Options
1568
- * @returns {Promise<SetDefaultBeneficiaryDetails>} - Success response
1568
+ * @returns {Promise<SetDefaultBeneficiaryResponse>} - Success response
1569
1569
  * @name updateDefaultBeneficiary
1570
1570
  * @summary: Set default beneficiary for refund
1571
1571
  * @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/).
@@ -1602,7 +1602,7 @@ class Payment {
1602
1602
  /**
1603
1603
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1604
1604
  * @param {import("../ApplicationAPIClient").Options} - Options
1605
- * @returns {Promise<ValidateVPADetails>} - Success response
1605
+ * @returns {Promise<ValidateVPAResponse>} - Success response
1606
1606
  * @name validateVPA
1607
1607
  * @summary: Validate VPA
1608
1608
  * @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/).
@@ -1639,7 +1639,7 @@ class Payment {
1639
1639
  /**
1640
1640
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1641
1641
  * @param {import("../ApplicationAPIClient").Options} - Options
1642
- * @returns {Promise<ChargeCustomerDetails>} - Success response
1642
+ * @returns {Promise<ChargeCustomerResponse>} - Success response
1643
1643
  * @name verifyAndChargePayment
1644
1644
  * @summary: Verify order confirmation and charge
1645
1645
  * @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/).
@@ -1676,7 +1676,7 @@ class Payment {
1676
1676
  /**
1677
1677
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1678
1678
  * @param {import("../ApplicationAPIClient").Options} - Options
1679
- * @returns {Promise<ValidateCustomerDetails>} - Success response
1679
+ * @returns {Promise<ValidateCustomerResponse>} - Success response
1680
1680
  * @name verifyCustomerForPayment
1681
1681
  * @summary: Verify payment customer
1682
1682
  * @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/).
@@ -1713,7 +1713,7 @@ class Payment {
1713
1713
  /**
1714
1714
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1715
1715
  * @param {import("../ApplicationAPIClient").Options} - Options
1716
- * @returns {Promise<IfscCodeDetails>} - Success response
1716
+ * @returns {Promise<IfscCodeResponse>} - Success response
1717
1717
  * @name verifyIfscCode
1718
1718
  * @summary: Verify IFSC
1719
1719
  * @description: Validate IFSC code and returns bank details if valid. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/verifyIfscCode/).
@@ -1751,7 +1751,7 @@ class Payment {
1751
1751
  /**
1752
1752
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1753
1753
  * @param {import("../ApplicationAPIClient").Options} - Options
1754
- * @returns {Promise<AddBeneficiaryViaOtpVerificationDetails>} - Success response
1754
+ * @returns {Promise<AddBeneficiaryViaOtpVerificationResponse>} - Success response
1755
1755
  * @name verifyOtpAndAddBeneficiaryForBank
1756
1756
  * @summary: Verify OTP for bank and add beneficiary
1757
1757
  * @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/).
@@ -1788,7 +1788,7 @@ class Payment {
1788
1788
  /**
1789
1789
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1790
1790
  * @param {import("../ApplicationAPIClient").Options} - Options
1791
- * @returns {Promise<WalletOtpDetails>} - Success response
1791
+ * @returns {Promise<WalletOtpResponse>} - Success response
1792
1792
  * @name verifyOtpAndAddBeneficiaryForWallet
1793
1793
  * @summary: Verify OTP for wallet
1794
1794
  * @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<CatalogueOrderDetails>} - Success response
19
+ * @returns {Promise<CatalogueOrderResponse>} - Success response
20
20
  * @name catalogueOrder
21
21
  * @summary: Order from catalogue
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/).
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/).
23
23
  */
24
- catalogueOrder({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CatalogueOrderDetails>;
24
+ catalogueOrder({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CatalogueOrderResponse>;
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<OrderDiscountDetails>} - Success response
37
+ * @returns {Promise<OrderDiscountResponse>} - 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<OrderDiscountDetails>;
42
+ getOrderDiscount({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<OrderDiscountResponse>;
43
43
  /**
44
44
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
45
45
  * @param {import("../ApplicationAPIClient").Options} - Options
46
- * @returns {Promise<PointsDetails>} - Success response
46
+ * @returns {Promise<PointsResponse>} - 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<PointsDetails>;
51
+ getUserPoints({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PointsResponse>;
52
52
  /**
53
53
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
54
54
  * @param {import("../ApplicationAPIClient").Options} - Options
55
- * @returns {Promise<PointsHistoryDetails>} - Success response
55
+ * @returns {Promise<PointsHistoryResponse>} - 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<PointsHistoryDetails>;
60
+ getUserPointsHistory({ pageId, pageSize, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PointsHistoryResponse>;
61
61
  /**
62
62
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
63
63
  * @param {import("../ApplicationAPIClient").Options} - Options
64
- * @returns {Promise<ReferralDetails>} - Success response
64
+ * @returns {Promise<ReferralDetailsResponse>} - 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<ReferralDetails>;
69
+ getUserReferralDetails({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ReferralDetailsResponse>;
70
70
  /**
71
71
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
72
72
  * @param {import("../ApplicationAPIClient").Options} - Options
73
- * @returns {Promise<RedeemReferralCodeDetails>} - Success response
73
+ * @returns {Promise<RedeemReferralCodeResponse>} - 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<RedeemReferralCodeDetails>;
78
+ redeemReferralCode({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<RedeemReferralCodeResponse>;
79
79
  }
@@ -38,10 +38,10 @@ class Rewards {
38
38
  /**
39
39
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
40
40
  * @param {import("../ApplicationAPIClient").Options} - Options
41
- * @returns {Promise<CatalogueOrderDetails>} - Success response
41
+ * @returns {Promise<CatalogueOrderResponse>} - Success response
42
42
  * @name catalogueOrder
43
43
  * @summary: Order from catalogue
44
- * @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/).
44
+ * @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/).
45
45
  */
46
46
  async catalogueOrder(
47
47
  { body, requestHeaders } = { requestHeaders: {} },
@@ -112,7 +112,7 @@ class Rewards {
112
112
  /**
113
113
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
114
114
  * @param {import("../ApplicationAPIClient").Options} - Options
115
- * @returns {Promise<OrderDiscountDetails>} - Success response
115
+ * @returns {Promise<OrderDiscountResponse>} - Success response
116
116
  * @name getOrderDiscount
117
117
  * @summary: Order discount
118
118
  * @description: Retrieve the discount applied to a specific order. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/getOrderDiscount/).
@@ -149,7 +149,7 @@ class Rewards {
149
149
  /**
150
150
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
151
151
  * @param {import("../ApplicationAPIClient").Options} - Options
152
- * @returns {Promise<PointsDetails>} - Success response
152
+ * @returns {Promise<PointsResponse>} - Success response
153
153
  * @name getUserPoints
154
154
  * @summary: Current points
155
155
  * @description: Retrieves the current reward points balance for the user. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/getUserPoints/).
@@ -186,7 +186,7 @@ class Rewards {
186
186
  /**
187
187
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
188
188
  * @param {import("../ApplicationAPIClient").Options} - Options
189
- * @returns {Promise<PointsHistoryDetails>} - Success response
189
+ * @returns {Promise<PointsHistoryResponse>} - Success response
190
190
  * @name getUserPointsHistory
191
191
  * @summary: Points history
192
192
  * @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/).
@@ -225,7 +225,7 @@ class Rewards {
225
225
  /**
226
226
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
227
227
  * @param {import("../ApplicationAPIClient").Options} - Options
228
- * @returns {Promise<ReferralDetails>} - Success response
228
+ * @returns {Promise<ReferralDetailsResponse>} - Success response
229
229
  * @name getUserReferralDetails
230
230
  * @summary: Referral details
231
231
  * @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/).
@@ -262,7 +262,7 @@ class Rewards {
262
262
  /**
263
263
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
264
264
  * @param {import("../ApplicationAPIClient").Options} - Options
265
- * @returns {Promise<RedeemReferralCodeDetails>} - Success response
265
+ * @returns {Promise<RedeemReferralCodeResponse>} - Success response
266
266
  * @name redeemReferralCode
267
267
  * @summary: Redeem code
268
268
  * @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({ filters, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ThemesSchema>;
30
+ getAppliedTheme({ 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, filters, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ThemesSchema>;
48
+ getThemeForPreview({ themeId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ThemesSchema>;
49
49
  }
@@ -73,11 +73,10 @@ class Theme {
73
73
  * @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/).
74
74
  */
75
75
  async getAppliedTheme(
76
- { filters, requestHeaders } = { requestHeaders: {} },
76
+ { requestHeaders } = { requestHeaders: {} },
77
77
  { responseHeaders } = { responseHeaders: false }
78
78
  ) {
79
79
  const query_params = {};
80
- query_params["filters"] = filters;
81
80
 
82
81
  const xHeaders = {};
83
82
 
@@ -158,11 +157,10 @@ class Theme {
158
157
  * @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/).
159
158
  */
160
159
  async getThemeForPreview(
161
- { themeId, filters, requestHeaders } = { requestHeaders: {} },
160
+ { themeId, requestHeaders } = { requestHeaders: {} },
162
161
  { responseHeaders } = { responseHeaders: false }
163
162
  ) {
164
163
  const query_params = {};
165
- query_params["filters"] = filters;
166
164
 
167
165
  const xHeaders = {};
168
166