@gofynd/fdk-client-javascript 1.4.15-beta.6 → 1.4.16-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (237) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/ApplicationClient.d.ts +2 -0
  4. package/sdk/application/ApplicationClient.js +2 -0
  5. package/sdk/application/Cart/CartApplicationClient.d.ts +68 -48
  6. package/sdk/application/Cart/CartApplicationClient.js +130 -27
  7. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +59 -58
  8. package/sdk/application/Catalog/CatalogApplicationClient.js +30 -29
  9. package/sdk/application/Common/CommonApplicationClient.d.ts +2 -2
  10. package/sdk/application/Common/CommonApplicationClient.js +1 -1
  11. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +20 -20
  12. package/sdk/application/Configuration/ConfigurationApplicationClient.js +10 -10
  13. package/sdk/application/Content/ContentApplicationClient.d.ts +19 -30
  14. package/sdk/application/Content/ContentApplicationClient.js +40 -60
  15. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +8 -8
  16. package/sdk/application/FileStorage/FileStorageApplicationClient.js +7 -7
  17. package/sdk/application/Finance/FinanceApplicationClient.d.ts +29 -0
  18. package/sdk/application/Finance/FinanceApplicationClient.js +126 -0
  19. package/sdk/application/Lead/LeadApplicationClient.d.ts +2 -2
  20. package/sdk/application/Lead/LeadApplicationClient.js +1 -1
  21. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +35 -15
  22. package/sdk/application/Logistic/LogisticApplicationClient.js +118 -8
  23. package/sdk/application/Order/OrderApplicationClient.d.ts +22 -12
  24. package/sdk/application/Order/OrderApplicationClient.js +62 -8
  25. package/sdk/application/Payment/PaymentApplicationClient.d.ts +87 -87
  26. package/sdk/application/Payment/PaymentApplicationClient.js +65 -46
  27. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +13 -13
  28. package/sdk/application/Rewards/RewardsApplicationClient.js +7 -7
  29. package/sdk/application/Theme/ThemeApplicationClient.d.ts +2 -2
  30. package/sdk/application/Theme/ThemeApplicationClient.js +4 -2
  31. package/sdk/application/User/UserApplicationClient.d.ts +10 -10
  32. package/sdk/application/User/UserApplicationClient.js +6 -6
  33. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
  34. package/sdk/application/Webhook/WebhookApplicationClient.js +3 -3
  35. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +86 -12
  36. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +582 -24
  37. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +116 -19
  38. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +121 -14
  39. package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +8 -1
  40. package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +51 -4
  41. package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
  42. package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
  43. package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
  44. package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
  45. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +126 -20
  46. package/sdk/partner/Logistics/LogisticsPartnerClient.js +970 -20
  47. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +1200 -167
  48. package/sdk/partner/Logistics/LogisticsPartnerModel.js +571 -160
  49. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +10 -0
  50. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +121 -7
  51. package/sdk/partner/Theme/ThemePartnerClient.d.ts +8 -10
  52. package/sdk/partner/Theme/ThemePartnerClient.js +14 -16
  53. package/sdk/partner/Theme/ThemePartnerModel.d.ts +96 -37
  54. package/sdk/partner/Theme/ThemePartnerModel.js +90 -36
  55. package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
  56. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +28 -18
  57. package/sdk/partner/Webhook/WebhookPartnerClient.js +103 -18
  58. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +612 -179
  59. package/sdk/partner/Webhook/WebhookPartnerModel.js +253 -150
  60. package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +1 -0
  61. package/sdk/partner/Webhook/WebhookPartnerValidator.js +11 -3
  62. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +5 -4
  63. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +14 -8
  64. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +59 -9
  65. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +40 -4
  66. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +2 -32
  67. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +3 -243
  68. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +11 -130
  69. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +12 -152
  70. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -39
  71. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +0 -35
  72. package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
  73. package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
  74. package/sdk/platform/Billing/BillingPlatformModel.d.ts +443 -388
  75. package/sdk/platform/Billing/BillingPlatformModel.js +280 -263
  76. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +16 -18
  77. package/sdk/platform/Billing/BillingPlatformValidator.js +8 -9
  78. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +134 -103
  79. package/sdk/platform/Cart/CartPlatformApplicationClient.js +419 -115
  80. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +121 -65
  81. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +109 -44
  82. package/sdk/platform/Cart/CartPlatformModel.d.ts +5039 -1300
  83. package/sdk/platform/Cart/CartPlatformModel.js +1976 -1217
  84. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +209 -183
  85. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +452 -395
  86. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +185 -142
  87. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +96 -78
  88. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +154 -117
  89. package/sdk/platform/Catalog/CatalogPlatformClient.js +292 -172
  90. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +6941 -2203
  91. package/sdk/platform/Catalog/CatalogPlatformModel.js +3224 -1687
  92. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +72 -31
  93. package/sdk/platform/Catalog/CatalogPlatformValidator.js +50 -24
  94. package/sdk/platform/Common/CommonPlatformClient.d.ts +3 -2
  95. package/sdk/platform/Common/CommonPlatformClient.js +3 -2
  96. package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
  97. package/sdk/platform/Common/CommonPlatformModel.js +6 -6
  98. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +16 -17
  99. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +16 -17
  100. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
  101. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
  102. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +43 -33
  103. package/sdk/platform/Communication/CommunicationPlatformModel.js +38 -34
  104. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +46 -42
  105. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +47 -43
  106. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
  107. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +210 -212
  108. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
  109. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
  110. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +46 -33
  111. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +67 -54
  112. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
  113. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
  114. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +45 -24
  115. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +134 -30
  116. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +283 -124
  117. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +219 -94
  118. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +37 -9
  119. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +27 -8
  120. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +124 -141
  121. package/sdk/platform/Content/ContentPlatformApplicationClient.js +449 -422
  122. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +179 -141
  123. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +168 -130
  124. package/sdk/platform/Content/ContentPlatformClient.d.ts +142 -106
  125. package/sdk/platform/Content/ContentPlatformClient.js +523 -336
  126. package/sdk/platform/Content/ContentPlatformModel.d.ts +1241 -395
  127. package/sdk/platform/Content/ContentPlatformModel.js +521 -390
  128. package/sdk/platform/Content/ContentPlatformValidator.d.ts +168 -117
  129. package/sdk/platform/Content/ContentPlatformValidator.js +162 -108
  130. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +14 -12
  131. package/sdk/platform/Discount/DiscountPlatformClient.js +14 -12
  132. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
  133. package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
  134. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
  135. package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
  136. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +94 -36
  137. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +462 -60
  138. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +62 -15
  139. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +75 -13
  140. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +19 -19
  141. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +21 -21
  142. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +370 -101
  143. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +313 -84
  144. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
  145. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
  146. package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
  147. package/sdk/platform/Lead/LeadPlatformClient.js +2 -2
  148. package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -5
  149. package/sdk/platform/Lead/LeadPlatformModel.js +16 -16
  150. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +17 -6
  151. package/sdk/platform/Order/OrderPlatformApplicationClient.js +85 -7
  152. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +95 -24
  153. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +39 -19
  154. package/sdk/platform/Order/OrderPlatformClient.d.ts +153 -96
  155. package/sdk/platform/Order/OrderPlatformClient.js +416 -198
  156. package/sdk/platform/Order/OrderPlatformModel.d.ts +7602 -1269
  157. package/sdk/platform/Order/OrderPlatformModel.js +3926 -1269
  158. package/sdk/platform/Order/OrderPlatformValidator.d.ts +270 -109
  159. package/sdk/platform/Order/OrderPlatformValidator.js +135 -77
  160. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -4
  161. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +9 -7
  162. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
  163. package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
  164. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +93 -105
  165. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +129 -141
  166. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +48 -48
  167. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +48 -48
  168. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
  169. package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
  170. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +333 -319
  171. package/sdk/platform/Payment/PaymentPlatformModel.js +288 -278
  172. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
  173. package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
  174. package/sdk/platform/PlatformClient.d.ts +0 -2
  175. package/sdk/platform/PlatformClient.js +0 -4
  176. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
  177. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
  178. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
  179. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
  180. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +9 -9
  181. package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
  182. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +48 -38
  183. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +134 -43
  184. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +46 -17
  185. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +34 -14
  186. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +38 -44
  187. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +56 -62
  188. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +1842 -609
  189. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +886 -554
  190. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +42 -46
  191. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +26 -28
  192. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
  193. package/sdk/platform/Share/SharePlatformApplicationClient.js +2 -2
  194. package/sdk/platform/Share/SharePlatformModel.d.ts +36 -5
  195. package/sdk/platform/Share/SharePlatformModel.js +27 -4
  196. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
  197. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +8 -4
  198. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +5 -0
  199. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +2 -0
  200. package/sdk/platform/Theme/ThemePlatformModel.d.ts +37 -11
  201. package/sdk/platform/Theme/ThemePlatformModel.js +33 -15
  202. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
  203. package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
  204. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
  205. package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
  206. package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
  207. package/sdk/platform/User/UserPlatformModel.js +23 -23
  208. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +25 -78
  209. package/sdk/platform/Webhook/WebhookPlatformClient.js +75 -470
  210. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +720 -427
  211. package/sdk/platform/Webhook/WebhookPlatformModel.js +410 -386
  212. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
  213. package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
  214. package/sdk/platform/index.d.ts +0 -1
  215. package/sdk/platform/index.js +0 -2
  216. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +3 -2
  217. package/sdk/public/Configuration/ConfigurationPublicClient.js +6 -5
  218. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
  219. package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
  220. package/sdk/public/Content/ContentPublicClient.d.ts +112 -2
  221. package/sdk/public/Content/ContentPublicClient.js +895 -8
  222. package/sdk/public/Content/ContentPublicModel.d.ts +549 -3
  223. package/sdk/public/Content/ContentPublicModel.js +649 -3
  224. package/sdk/public/Content/ContentPublicValidator.d.ts +69 -3
  225. package/sdk/public/Content/ContentPublicValidator.js +88 -2
  226. package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
  227. package/sdk/public/Webhook/WebhookPublicClient.js +8 -8
  228. package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
  229. package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
  230. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
  231. package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
  232. package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -320
  233. package/sdk/platform/Finance/FinancePlatformClient.js +0 -2333
  234. package/sdk/platform/Finance/FinancePlatformModel.d.ts +0 -2890
  235. package/sdk/platform/Finance/FinancePlatformModel.js +0 -2148
  236. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
  237. package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
@@ -108,7 +108,7 @@ class Payment {
108
108
  /**
109
109
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
110
110
  * @param {import("../ApplicationAPIClient").Options} - Options
111
- * @returns {Promise<RefundAccountResponse>} - Success response
111
+ * @returns {Promise<RefundAccountDetails>} - Success response
112
112
  * @name addBeneficiaryDetails
113
113
  * @summary: Add beneficiary for refund
114
114
  * @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/).
@@ -153,7 +153,7 @@ class Payment {
153
153
  /**
154
154
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
155
155
  * @param {import("../ApplicationAPIClient").Options} - Options
156
- * @returns {Promise<RefundAccountResponse>} - Success response
156
+ * @returns {Promise<RefundAccountDetails>} - Success response
157
157
  * @name addRefundBankAccountUsingOTP
158
158
  * @summary: Add refund account using OTP verification
159
159
  * @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/).
@@ -198,7 +198,7 @@ class Payment {
198
198
  /**
199
199
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
200
200
  * @param {import("../ApplicationAPIClient").Options} - Options
201
- * @returns {Promise<AttachCardsResponse>} - Success response
201
+ * @returns {Promise<AttachCardsDetails>} - Success response
202
202
  * @name attachCardToCustomer
203
203
  * @summary: Link payment card to customer
204
204
  * @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/).
@@ -243,7 +243,7 @@ class Payment {
243
243
  /**
244
244
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
245
245
  * @param {import("../ApplicationAPIClient").Options} - Options
246
- * @returns {Promise<CancelPaymentLinkResponse>} - Success response
246
+ * @returns {Promise<CancelPaymentLinkDetails>} - Success response
247
247
  * @name cancelPaymentLink
248
248
  * @summary: Cancel payment link
249
249
  * @description: Cancel previously generated payment link. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/cancelPaymentLink/).
@@ -288,7 +288,7 @@ class Payment {
288
288
  /**
289
289
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
290
290
  * @param {import("../ApplicationAPIClient").Options} - Options
291
- * @returns {Promise<CardDetailsResponse>} - Success response
291
+ * @returns {Promise<CardDetailsFetchedDetails>} - Success response
292
292
  * @name cardDetails
293
293
  * @summary: Get card details
294
294
  * @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/).
@@ -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 checkAndUpdatePaymentStatus
346
346
  * @summary: Update payment status
347
347
  * @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/).
@@ -386,7 +386,7 @@ class Payment {
386
386
  /**
387
387
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
388
388
  * @param {import("../ApplicationAPIClient").Options} - Options
389
- * @returns {Promise<PaymentStatusUpdateResponse>} - Success response
389
+ * @returns {Promise<PaymentStatusUpdateDetails>} - Success response
390
390
  * @name checkAndUpdatePaymentStatusPaymentLink
391
391
  * @summary: Update payment link status
392
392
  * @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/).
@@ -431,7 +431,7 @@ class Payment {
431
431
  /**
432
432
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
433
433
  * @param {import("../ApplicationAPIClient").Options} - Options
434
- * @returns {Promise<CheckCreditResponse>} - Success response
434
+ * @returns {Promise<CheckCreditDetails>} - Success response
435
435
  * @name checkCredit
436
436
  * @summary: Verify credit availability and status
437
437
  * @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/).
@@ -477,7 +477,7 @@ class Payment {
477
477
  /**
478
478
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
479
479
  * @param {import("../ApplicationAPIClient").Options} - Options
480
- * @returns {Promise<CreateOrderUserResponse>} - Success response
480
+ * @returns {Promise<CreateOrderUserDetails>} - Success response
481
481
  * @name createOrderHandlerPaymentLink
482
482
  * @summary: Create order for payment via link
483
483
  * @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/).
@@ -522,7 +522,7 @@ class Payment {
522
522
  /**
523
523
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
524
524
  * @param {import("../ApplicationAPIClient").Options} - Options
525
- * @returns {Promise<CreatePaymentLinkResponse>} - Success response
525
+ * @returns {Promise<CreatePaymentLinkDetails>} - Success response
526
526
  * @name createPaymentLink
527
527
  * @summary: Create payment link
528
528
  * @description: Create new payment link for transactions. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/createPaymentLink/).
@@ -567,7 +567,7 @@ class Payment {
567
567
  /**
568
568
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
569
569
  * @param {import("../ApplicationAPIClient").Options} - Options
570
- * @returns {Promise<PaymentOrderResponse>} - Success response
570
+ * @returns {Promise<PaymentOrderDetails>} - Success response
571
571
  * @name createPaymentOrder
572
572
  * @summary: Create Order
573
573
  * @description: Create an order and payment on the aggregator side. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/createPaymentOrder/).
@@ -612,7 +612,7 @@ class Payment {
612
612
  /**
613
613
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
614
614
  * @param {import("../ApplicationAPIClient").Options} - Options
615
- * @returns {Promise<CustomerCreditSummaryResponse>} - Success response
615
+ * @returns {Promise<CustomerCreditSummaryDetails>} - Success response
616
616
  * @name customerCreditSummary
617
617
  * @summary: Credit summary
618
618
  * @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/).
@@ -658,7 +658,7 @@ class Payment {
658
658
  /**
659
659
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
660
660
  * @param {import("../ApplicationAPIClient").Options} - Options
661
- * @returns {Promise<CustomerOnboardingResponse>} - Success response
661
+ * @returns {Promise<CustomerOnboardingDetails>} - Success response
662
662
  * @name customerOnboard
663
663
  * @summary: Onboard customer for payment
664
664
  * @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/).
@@ -703,7 +703,7 @@ class Payment {
703
703
  /**
704
704
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
705
705
  * @param {import("../ApplicationAPIClient").Options} - Options
706
- * @returns {Promise<DeleteCardsResponse>} - Success response
706
+ * @returns {Promise<DeleteCardsDetails>} - Success response
707
707
  * @name deleteUserCard
708
708
  * @summary: Delete customer card
709
709
  * @description: Delete payment card from the user's account. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/deleteUserCard/).
@@ -793,7 +793,7 @@ class Payment {
793
793
  /**
794
794
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
795
795
  * @param {import("../ApplicationAPIClient").Options} - Options
796
- * @returns {Promise<UpdateRefundTransferModeResponse>} - Success response
796
+ * @returns {Promise<RefundTransferModeUpdateDetails>} - Success response
797
797
  * @name enableOrDisableRefundTransferMode
798
798
  * @summary: Toggle refund mode
799
799
  * @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/).
@@ -838,7 +838,7 @@ class Payment {
838
838
  /**
839
839
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
840
840
  * @param {import("../ApplicationAPIClient").Options} - Options
841
- * @returns {Promise<ActiveCardPaymentGatewayResponse>} - Success response
841
+ * @returns {Promise<ActiveCardPaymentGatewayDetails>} - Success response
842
842
  * @name getActiveCardAggregator
843
843
  * @summary: Retrieve active card aggregator
844
844
  * @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/).
@@ -884,7 +884,7 @@ class Payment {
884
884
  /**
885
885
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
886
886
  * @param {import("../ApplicationAPIClient").Options} - Options
887
- * @returns {Promise<TransferModeResponse>} - Success response
887
+ * @returns {Promise<TransferModeFetchDetails>} - Success response
888
888
  * @name getActiveRefundTransferModes
889
889
  * @summary: Get refund transfer modes
890
890
  * @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/).
@@ -929,7 +929,7 @@ class Payment {
929
929
  /**
930
930
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
931
931
  * @param {import("../ApplicationAPIClient").Options} - Options
932
- * @returns {Promise<ListCardsResponse>} - Success response
932
+ * @returns {Promise<ListCardsDetails>} - Success response
933
933
  * @name getActiveUserCards
934
934
  * @summary: Get customer cards
935
935
  * @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/).
@@ -975,7 +975,7 @@ class Payment {
975
975
  /**
976
976
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
977
977
  * @param {import("../ApplicationAPIClient").Options} - Options
978
- * @returns {Promise<AggregatorsConfigDetailResponse>} - Success response
978
+ * @returns {Promise<AggregatorsConfigDetail>} - Success response
979
979
  * @name getAggregatorsConfig
980
980
  * @summary: Get payment aggregators
981
981
  * @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/).
@@ -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<EpaylaterBannerResponse>} - Success response
1025
+ * @returns {Promise<EpaylaterBannerDetails>} - Success response
1026
1026
  * @name getEpaylaterBannerDetails
1027
1027
  * @summary: Epaylater banner info
1028
1028
  * @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/).
@@ -1067,7 +1067,7 @@ class Payment {
1067
1067
  /**
1068
1068
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1069
1069
  * @param {import("../ApplicationAPIClient").Options} - Options
1070
- * @returns {Promise<OrderBeneficiaryResponse>} - Success response
1070
+ * @returns {Promise<OrderBeneficiaryFetchDetails>} - Success response
1071
1071
  * @name getOrderBeneficiariesDetail
1072
1072
  * @summary: Retrieve beneficiary details
1073
1073
  * @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/).
@@ -1120,7 +1120,7 @@ class Payment {
1120
1120
  /**
1121
1121
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1122
1122
  * @param {import("../ApplicationAPIClient").Options} - Options
1123
- * @returns {Promise<GetPaymentLinkResponse>} - Success response
1123
+ * @returns {Promise<GetPaymentLinkDetails>} - Success response
1124
1124
  * @name getPaymentLink
1125
1125
  * @summary: Get payment link
1126
1126
  * @description: Get a generated payment link. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getPaymentLink/).
@@ -1166,7 +1166,7 @@ class Payment {
1166
1166
  /**
1167
1167
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1168
1168
  * @param {import("../ApplicationAPIClient").Options} - Options
1169
- * @returns {Promise<PaymentModeRouteResponse>} - Success response
1169
+ * @returns {Promise<PaymentModeRouteDetails>} - Success response
1170
1170
  * @name getPaymentModeRoutes
1171
1171
  * @summary: Get payment modes
1172
1172
  * @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/).
@@ -1195,6 +1195,12 @@ class Payment {
1195
1195
  path: ["amount"],
1196
1196
  });
1197
1197
  }
1198
+ if (!cartId) {
1199
+ invalidInput.push({
1200
+ message: `The 'cartId' field is required.`,
1201
+ path: ["cartId"],
1202
+ });
1203
+ }
1198
1204
  if (invalidInput.length) {
1199
1205
  const error = new Error();
1200
1206
  error.message = "Missing required field";
@@ -1240,7 +1246,7 @@ class Payment {
1240
1246
  /**
1241
1247
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1242
1248
  * @param {import("../ApplicationAPIClient").Options} - Options
1243
- * @returns {Promise<PaymentModeRouteResponse>} - Success response
1249
+ * @returns {Promise<PaymentModeRouteDetails>} - Success response
1244
1250
  * @name getPaymentModeRoutesPaymentLink
1245
1251
  * @summary: Payment modes for payment link
1246
1252
  * @description: List payment modes available for a given payment link. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getPaymentModeRoutesPaymentLink/).
@@ -1293,7 +1299,7 @@ class Payment {
1293
1299
  /**
1294
1300
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1295
1301
  * @param {import("../ApplicationAPIClient").Options} - Options
1296
- * @returns {Promise<PaymentModeRouteResponse>} - Success response
1302
+ * @returns {Promise<PaymentModeRouteDetails>} - Success response
1297
1303
  * @name getPosPaymentModeRoutes
1298
1304
  * @summary: POS payment modes
1299
1305
  * @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/).
@@ -1301,9 +1307,9 @@ class Payment {
1301
1307
  async getPosPaymentModeRoutes(
1302
1308
  {
1303
1309
  amount,
1310
+ cartId,
1304
1311
  pincode,
1305
1312
  orderType,
1306
- cartId,
1307
1313
  checkoutMode,
1308
1314
  refresh,
1309
1315
  cardReference,
@@ -1320,6 +1326,12 @@ class Payment {
1320
1326
  path: ["amount"],
1321
1327
  });
1322
1328
  }
1329
+ if (!cartId) {
1330
+ invalidInput.push({
1331
+ message: `The 'cartId' field is required.`,
1332
+ path: ["cartId"],
1333
+ });
1334
+ }
1323
1335
  if (!pincode) {
1324
1336
  invalidInput.push({
1325
1337
  message: `The 'pincode' field is required.`,
@@ -1375,7 +1387,7 @@ class Payment {
1375
1387
  /**
1376
1388
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1377
1389
  * @param {import("../ApplicationAPIClient").Options} - Options
1378
- * @returns {Promise<RupifiBannerResponse>} - Success response
1390
+ * @returns {Promise<RupifiBannerDetails>} - Success response
1379
1391
  * @name getRupifiBannerDetails
1380
1392
  * @summary: Rupifi banner info
1381
1393
  * @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/).
@@ -1420,7 +1432,7 @@ class Payment {
1420
1432
  /**
1421
1433
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1422
1434
  * @param {import("../ApplicationAPIClient").Options} - Options
1423
- * @returns {Promise<OrderBeneficiaryResponse>} - Success response
1435
+ * @returns {Promise<OrderBeneficiaryFetchDetails>} - Success response
1424
1436
  * @name getUserBeneficiariesDetail
1425
1437
  * @summary: Retrieve beneficiary details
1426
1438
  * @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/).
@@ -1473,7 +1485,7 @@ class Payment {
1473
1485
  /**
1474
1486
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1475
1487
  * @param {import("../ApplicationAPIClient").Options} - Options
1476
- * @returns {Promise<PaymentInitializationResponse>} - Success response
1488
+ * @returns {Promise<PaymentInitializationDetails>} - Success response
1477
1489
  * @name initialisePayment
1478
1490
  * @summary: Start payment process
1479
1491
  * @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/).
@@ -1518,7 +1530,7 @@ class Payment {
1518
1530
  /**
1519
1531
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1520
1532
  * @param {import("../ApplicationAPIClient").Options} - Options
1521
- * @returns {Promise<PaymentInitializationResponse>} - Success response
1533
+ * @returns {Promise<PaymentInitializationDetails>} - Success response
1522
1534
  * @name initialisePaymentPaymentLink
1523
1535
  * @summary: Initialize payment link
1524
1536
  * @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/).
@@ -1608,7 +1620,7 @@ class Payment {
1608
1620
  /**
1609
1621
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1610
1622
  * @param {import("../ApplicationAPIClient").Options} - Options
1611
- * @returns {Promise<OutstandingOrderDetailsResponse>} - Success response
1623
+ * @returns {Promise<OutstandingOrderDetails>} - Success response
1612
1624
  * @name outstandingOrderDetails
1613
1625
  * @summary: Outstanding orders
1614
1626
  * @description: Get details of orders with outstanding payments. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/outstandingOrderDetails/).
@@ -1654,7 +1666,7 @@ class Payment {
1654
1666
  /**
1655
1667
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1656
1668
  * @param {import("../ApplicationAPIClient").Options} - Options
1657
- * @returns {Promise<PaidOrderDetailsResponse>} - Success response
1669
+ * @returns {Promise<PaidOrderDetails>} - Success response
1658
1670
  * @name paidOrderDetails
1659
1671
  * @summary: Retrieve details of paid orders
1660
1672
  * @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/).
@@ -1700,7 +1712,7 @@ class Payment {
1700
1712
  /**
1701
1713
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1702
1714
  * @param {import("../ApplicationAPIClient").Options} - Options
1703
- * @returns {Promise<PollingPaymentLinkResponse>} - Success response
1715
+ * @returns {Promise<PollingPaymentLinkDetails>} - Success response
1704
1716
  * @name pollingPaymentLink
1705
1717
  * @summary: Poll status of payment link
1706
1718
  * @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/).
@@ -1746,16 +1758,23 @@ class Payment {
1746
1758
  /**
1747
1759
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1748
1760
  * @param {import("../ApplicationAPIClient").Options} - Options
1749
- * @returns {Promise<RedirectToAggregatorResponse>} - Success response
1761
+ * @returns {Promise<RedirectToAggregatorDetails>} - Success response
1750
1762
  * @name redirectToAggregator
1751
1763
  * @summary: Redirects users to the payment aggregator's interface
1752
- * @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/).
1764
+ * @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/).
1753
1765
  */
1754
1766
  async redirectToAggregator(
1755
- { source, aggregator, requestHeaders } = { requestHeaders: {} },
1767
+ { aggregator, source, requestHeaders } = { requestHeaders: {} },
1756
1768
  { responseHeaders } = { responseHeaders: false }
1757
1769
  ) {
1758
1770
  let invalidInput = [];
1771
+
1772
+ if (!aggregator) {
1773
+ invalidInput.push({
1774
+ message: `The 'aggregator' field is required.`,
1775
+ path: ["aggregator"],
1776
+ });
1777
+ }
1759
1778
  if (invalidInput.length) {
1760
1779
  const error = new Error();
1761
1780
  error.message = "Missing required field";
@@ -1793,7 +1812,7 @@ class Payment {
1793
1812
  /**
1794
1813
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1795
1814
  * @param {import("../ApplicationAPIClient").Options} - Options
1796
- * @returns {Promise<renderHTMLResponse>} - Success response
1815
+ * @returns {Promise<RenderHTMLDetails>} - Success response
1797
1816
  * @name renderHTML
1798
1817
  * @summary: Render HTML
1799
1818
  * @description: Render HTML for a payment aggregator page. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/renderHTML/).
@@ -1838,7 +1857,7 @@ class Payment {
1838
1857
  /**
1839
1858
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1840
1859
  * @param {import("../ApplicationAPIClient").Options} - Options
1841
- * @returns {Promise<ResendOrCancelPaymentResponse>} - Success response
1860
+ * @returns {Promise<ResendOrCancelPaymentDetails>} - Success response
1842
1861
  * @name resendOrCancelPayment
1843
1862
  * @summary: Resend or cancel a pending payment transaction
1844
1863
  * @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/).
@@ -1883,7 +1902,7 @@ class Payment {
1883
1902
  /**
1884
1903
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1885
1904
  * @param {import("../ApplicationAPIClient").Options} - Options
1886
- * @returns {Promise<ResendPaymentLinkResponse>} - Success response
1905
+ * @returns {Promise<ResendPaymentLinkDetails>} - Success response
1887
1906
  * @name resendPaymentLink
1888
1907
  * @summary: Resend payment link
1889
1908
  * @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/).
@@ -1928,7 +1947,7 @@ class Payment {
1928
1947
  /**
1929
1948
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1930
1949
  * @param {import("../ApplicationAPIClient").Options} - Options
1931
- * @returns {Promise<SetDefaultBeneficiaryResponse>} - Success response
1950
+ * @returns {Promise<SetDefaultBeneficiaryDetails>} - Success response
1932
1951
  * @name updateDefaultBeneficiary
1933
1952
  * @summary: Set default beneficiary for refund
1934
1953
  * @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/).
@@ -1973,7 +1992,7 @@ class Payment {
1973
1992
  /**
1974
1993
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1975
1994
  * @param {import("../ApplicationAPIClient").Options} - Options
1976
- * @returns {Promise<ValidateVPAResponse>} - Success response
1995
+ * @returns {Promise<ValidateVPADetails>} - Success response
1977
1996
  * @name validateVPA
1978
1997
  * @summary: Validate VPA
1979
1998
  * @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/).
@@ -2018,7 +2037,7 @@ class Payment {
2018
2037
  /**
2019
2038
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
2020
2039
  * @param {import("../ApplicationAPIClient").Options} - Options
2021
- * @returns {Promise<ChargeCustomerResponse>} - Success response
2040
+ * @returns {Promise<ChargeCustomerDetails>} - Success response
2022
2041
  * @name verifyAndChargePayment
2023
2042
  * @summary: Verify order confirmation and charge
2024
2043
  * @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/).
@@ -2063,7 +2082,7 @@ class Payment {
2063
2082
  /**
2064
2083
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
2065
2084
  * @param {import("../ApplicationAPIClient").Options} - Options
2066
- * @returns {Promise<ValidateCustomerResponse>} - Success response
2085
+ * @returns {Promise<ValidateCustomerDetails>} - Success response
2067
2086
  * @name verifyCustomerForPayment
2068
2087
  * @summary: Verify payment customer
2069
2088
  * @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/).
@@ -2108,7 +2127,7 @@ class Payment {
2108
2127
  /**
2109
2128
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
2110
2129
  * @param {import("../ApplicationAPIClient").Options} - Options
2111
- * @returns {Promise<IfscCodeResponse>} - Success response
2130
+ * @returns {Promise<IfscCodeDetails>} - Success response
2112
2131
  * @name verifyIfscCode
2113
2132
  * @summary: Verify IFSC
2114
2133
  * @description: Validate IFSC code and returns bank details if valid. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/verifyIfscCode/).
@@ -2154,7 +2173,7 @@ class Payment {
2154
2173
  /**
2155
2174
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
2156
2175
  * @param {import("../ApplicationAPIClient").Options} - Options
2157
- * @returns {Promise<AddBeneficiaryViaOtpVerificationResponse>} - Success response
2176
+ * @returns {Promise<AddBeneficiaryViaOtpVerificationDetails>} - Success response
2158
2177
  * @name verifyOtpAndAddBeneficiaryForBank
2159
2178
  * @summary: Verify OTP for bank and add beneficiary
2160
2179
  * @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/).
@@ -2199,7 +2218,7 @@ class Payment {
2199
2218
  /**
2200
2219
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
2201
2220
  * @param {import("../ApplicationAPIClient").Options} - Options
2202
- * @returns {Promise<WalletOtpResponse>} - Success response
2221
+ * @returns {Promise<WalletOtpDetails>} - Success response
2203
2222
  * @name verifyOtpAndAddBeneficiaryForWallet
2204
2223
  * @summary: Verify OTP for wallet
2205
2224
  * @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
  }
@@ -43,10 +43,10 @@ class Rewards {
43
43
  /**
44
44
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
45
45
  * @param {import("../ApplicationAPIClient").Options} - Options
46
- * @returns {Promise<CatalogueOrderResponse>} - Success response
46
+ * @returns {Promise<CatalogueOrderDetails>} - Success response
47
47
  * @name catalogueOrder
48
48
  * @summary: Order from catalogue
49
- * @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/).
49
+ * @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/).
50
50
  */
51
51
  async catalogueOrder(
52
52
  { body, requestHeaders } = { requestHeaders: {} },
@@ -140,7 +140,7 @@ class Rewards {
140
140
  /**
141
141
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
142
142
  * @param {import("../ApplicationAPIClient").Options} - Options
143
- * @returns {Promise<OrderDiscountResponse>} - Success response
143
+ * @returns {Promise<OrderDiscountDetails>} - Success response
144
144
  * @name getOrderDiscount
145
145
  * @summary: Order discount
146
146
  * @description: Retrieve the discount applied to a specific order. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/getOrderDiscount/).
@@ -185,7 +185,7 @@ class Rewards {
185
185
  /**
186
186
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
187
187
  * @param {import("../ApplicationAPIClient").Options} - Options
188
- * @returns {Promise<PointsResponse>} - Success response
188
+ * @returns {Promise<PointsDetails>} - Success response
189
189
  * @name getUserPoints
190
190
  * @summary: Current points
191
191
  * @description: Retrieves the current reward points balance for the user. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/getUserPoints/).
@@ -230,7 +230,7 @@ class Rewards {
230
230
  /**
231
231
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
232
232
  * @param {import("../ApplicationAPIClient").Options} - Options
233
- * @returns {Promise<PointsHistoryResponse>} - Success response
233
+ * @returns {Promise<PointsHistoryDetails>} - Success response
234
234
  * @name getUserPointsHistory
235
235
  * @summary: Points history
236
236
  * @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/).
@@ -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<ReferralDetailsResponse>} - Success response
280
+ * @returns {Promise<ReferralDetails>} - Success response
281
281
  * @name getUserReferralDetails
282
282
  * @summary: Referral details
283
283
  * @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/).
@@ -322,7 +322,7 @@ class Rewards {
322
322
  /**
323
323
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
324
324
  * @param {import("../ApplicationAPIClient").Options} - Options
325
- * @returns {Promise<RedeemReferralCodeResponse>} - Success response
325
+ * @returns {Promise<RedeemReferralCodeDetails>} - Success response
326
326
  * @name redeemReferralCode
327
327
  * @summary: Redeem code
328
328
  * @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): Promise<ThemesSchema>;
48
+ getThemeForPreview({ themeId, filters, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ThemesSchema>;
49
49
  }
@@ -93,7 +93,7 @@ class Theme {
93
93
  * @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/).
94
94
  */
95
95
  async getAppliedTheme(
96
- { requestHeaders } = { requestHeaders: {} },
96
+ { filters, requestHeaders } = { requestHeaders: {} },
97
97
  { responseHeaders } = { responseHeaders: false }
98
98
  ) {
99
99
  let invalidInput = [];
@@ -105,6 +105,7 @@ class Theme {
105
105
  }
106
106
 
107
107
  const query_params = {};
108
+ query_params["filters"] = filters;
108
109
 
109
110
  const xHeaders = {};
110
111
 
@@ -206,7 +207,7 @@ class Theme {
206
207
  * @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/).
207
208
  */
208
209
  async getThemeForPreview(
209
- { themeId, requestHeaders } = { requestHeaders: {} },
210
+ { themeId, filters, requestHeaders } = { requestHeaders: {} },
210
211
  { responseHeaders } = { responseHeaders: false }
211
212
  ) {
212
213
  let invalidInput = [];
@@ -225,6 +226,7 @@ class Theme {
225
226
  }
226
227
 
227
228
  const query_params = {};
229
+ query_params["filters"] = filters;
228
230
 
229
231
  const xHeaders = {};
230
232