@gofynd/fdk-client-javascript 1.4.2-beta.7 → 1.4.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 (254) hide show
  1. package/README.md +1 -10
  2. package/application.d.ts +3 -3
  3. package/common.d.ts +3 -3
  4. package/index.d.ts +15 -15
  5. package/package.json +5 -3
  6. package/partner.d.ts +3 -3
  7. package/platform.d.ts +3 -3
  8. package/public.d.ts +2 -2
  9. package/sdk/application/ApplicationAPIClient.d.ts +1 -1
  10. package/sdk/application/ApplicationAPIClient.js +0 -1
  11. package/sdk/application/ApplicationClient.d.ts +17 -17
  12. package/sdk/application/ApplicationConfig.d.ts +3 -3
  13. package/sdk/application/Cart/CartApplicationClient.d.ts +58 -58
  14. package/sdk/application/Cart/CartApplicationClient.js +56 -56
  15. package/sdk/application/Cart/CartApplicationValidator.d.ts +1 -1
  16. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +72 -72
  17. package/sdk/application/Catalog/CatalogApplicationClient.js +69 -69
  18. package/sdk/application/Common/CommonApplicationClient.d.ts +6 -6
  19. package/sdk/application/Common/CommonApplicationClient.js +4 -4
  20. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +8 -8
  21. package/sdk/application/Communication/CommunicationApplicationClient.js +6 -6
  22. package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +1 -1
  23. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +34 -34
  24. package/sdk/application/Configuration/ConfigurationApplicationClient.js +32 -32
  25. package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +1 -1
  26. package/sdk/application/Content/ContentApplicationClient.d.ts +48 -48
  27. package/sdk/application/Content/ContentApplicationClient.js +45 -45
  28. package/sdk/application/Content/ContentApplicationModel.d.ts +18 -18
  29. package/sdk/application/Content/ContentApplicationModel.js +26 -26
  30. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +7 -7
  31. package/sdk/application/FileStorage/FileStorageApplicationClient.js +15 -9
  32. package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +1 -1
  33. package/sdk/application/Lead/LeadApplicationClient.d.ts +12 -12
  34. package/sdk/application/Lead/LeadApplicationClient.js +10 -10
  35. package/sdk/application/Lead/LeadApplicationModel.d.ts +64 -77
  36. package/sdk/application/Lead/LeadApplicationModel.js +42 -52
  37. package/sdk/application/Lead/LeadApplicationValidator.d.ts +1 -1
  38. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +24 -24
  39. package/sdk/application/Logistic/LogisticApplicationClient.js +22 -22
  40. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +1 -1
  41. package/sdk/application/Order/OrderApplicationClient.d.ts +19 -30
  42. package/sdk/application/Order/OrderApplicationClient.js +17 -97
  43. package/sdk/application/Order/OrderApplicationValidator.d.ts +2 -16
  44. package/sdk/application/Order/OrderApplicationValidator.js +0 -13
  45. package/sdk/application/Payment/PaymentApplicationClient.d.ts +91 -91
  46. package/sdk/application/Payment/PaymentApplicationClient.js +94 -94
  47. package/sdk/application/Payment/PaymentApplicationModel.d.ts +5 -2
  48. package/sdk/application/Payment/PaymentApplicationModel.js +4 -2
  49. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +6 -6
  50. package/sdk/application/Payment/PaymentApplicationValidator.js +3 -3
  51. package/sdk/application/PosCart/PosCartApplicationClient.d.ts +29 -29
  52. package/sdk/application/PosCart/PosCartApplicationClient.js +27 -27
  53. package/sdk/application/PosCart/PosCartApplicationValidator.d.ts +1 -1
  54. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +9 -9
  55. package/sdk/application/Rewards/RewardsApplicationClient.js +7 -7
  56. package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +1 -1
  57. package/sdk/application/Share/ShareApplicationClient.d.ts +9 -9
  58. package/sdk/application/Share/ShareApplicationClient.js +7 -7
  59. package/sdk/application/Share/ShareApplicationModel.d.ts +2 -0
  60. package/sdk/application/Share/ShareApplicationModel.js +2 -0
  61. package/sdk/application/Share/ShareApplicationValidator.d.ts +1 -1
  62. package/sdk/application/Theme/ThemeApplicationClient.d.ts +10 -10
  63. package/sdk/application/Theme/ThemeApplicationClient.js +8 -8
  64. package/sdk/application/Theme/ThemeApplicationModel.d.ts +25 -32
  65. package/sdk/application/Theme/ThemeApplicationModel.js +30 -40
  66. package/sdk/application/User/UserApplicationClient.d.ts +76 -76
  67. package/sdk/application/User/UserApplicationClient.js +74 -74
  68. package/sdk/application/User/UserApplicationModel.d.ts +44 -13
  69. package/sdk/application/User/UserApplicationModel.js +17 -13
  70. package/sdk/application/User/UserApplicationValidator.d.ts +1 -1
  71. package/sdk/application/index.d.ts +18 -18
  72. package/sdk/common/AxiosHelper.d.ts +1 -1
  73. package/sdk/common/AxiosHelper.js +38 -17
  74. package/sdk/common/Clickstream.js +22 -16
  75. package/sdk/common/curlHelper.js +1 -3
  76. package/sdk/common/utils.d.ts +15 -0
  77. package/sdk/common/utils.js +30 -0
  78. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +3 -3
  79. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +2 -2
  80. package/sdk/partner/Lead/LeadPartnerClient.d.ts +3 -3
  81. package/sdk/partner/Lead/LeadPartnerClient.js +1 -1
  82. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +5 -5
  83. package/sdk/partner/Logistics/LogisticsPartnerClient.js +4 -4
  84. package/sdk/partner/OAuthClient.d.ts +4 -4
  85. package/sdk/partner/PartnerAPIClient.d.ts +1 -1
  86. package/sdk/partner/PartnerAPIClient.js +0 -1
  87. package/sdk/partner/PartnerClient.d.ts +6 -6
  88. package/sdk/partner/PartnerConfig.d.ts +4 -4
  89. package/sdk/partner/Theme/ThemePartnerClient.d.ts +20 -20
  90. package/sdk/partner/Theme/ThemePartnerClient.js +19 -19
  91. package/sdk/partner/Theme/ThemePartnerModel.d.ts +25 -32
  92. package/sdk/partner/Theme/ThemePartnerModel.js +30 -40
  93. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +3 -3
  94. package/sdk/partner/Webhook/WebhookPartnerClient.js +2 -2
  95. package/sdk/partner/index.d.ts +7 -7
  96. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +8 -8
  97. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +6 -6
  98. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -1
  99. package/sdk/platform/Billing/BillingPlatformClient.d.ts +25 -25
  100. package/sdk/platform/Billing/BillingPlatformClient.js +23 -23
  101. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +1 -1
  102. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +115 -115
  103. package/sdk/platform/Cart/CartPlatformApplicationClient.js +113 -113
  104. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +1 -1
  105. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +147 -146
  106. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +146 -145
  107. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +1 -1
  108. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +156 -156
  109. package/sdk/platform/Catalog/CatalogPlatformClient.js +153 -153
  110. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +65 -28
  111. package/sdk/platform/Catalog/CatalogPlatformModel.js +68 -36
  112. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +1 -1
  113. package/sdk/platform/Common/CommonPlatformClient.d.ts +5 -5
  114. package/sdk/platform/Common/CommonPlatformClient.js +3 -3
  115. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +133 -133
  116. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +131 -131
  117. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +1 -1
  118. package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +4 -4
  119. package/sdk/platform/Communication/CommunicationPlatformClient.js +2 -2
  120. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +12 -0
  121. package/sdk/platform/Communication/CommunicationPlatformModel.js +12 -0
  122. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +28 -28
  123. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +25 -25
  124. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +2 -0
  125. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +2 -0
  126. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +1 -1
  127. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +52 -52
  128. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +50 -50
  129. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +1 -1
  130. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +31 -31
  131. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +29 -29
  132. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +1 -1
  133. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +128 -128
  134. package/sdk/platform/Content/ContentPlatformApplicationClient.js +131 -131
  135. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +5 -5
  136. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +4 -4
  137. package/sdk/platform/Content/ContentPlatformClient.d.ts +33 -33
  138. package/sdk/platform/Content/ContentPlatformClient.js +37 -37
  139. package/sdk/platform/Content/ContentPlatformModel.d.ts +18 -18
  140. package/sdk/platform/Content/ContentPlatformModel.js +26 -26
  141. package/sdk/platform/Content/ContentPlatformValidator.d.ts +5 -5
  142. package/sdk/platform/Content/ContentPlatformValidator.js +4 -4
  143. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +24 -24
  144. package/sdk/platform/Discount/DiscountPlatformClient.js +22 -22
  145. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +1 -1
  146. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +24 -23
  147. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +32 -25
  148. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +1 -1
  149. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +15 -15
  150. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +28 -19
  151. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +12 -1
  152. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +16 -2
  153. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +1 -1
  154. package/sdk/platform/Finance/FinancePlatformClient.d.ts +30 -30
  155. package/sdk/platform/Finance/FinancePlatformClient.js +28 -28
  156. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +1 -1
  157. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +19 -19
  158. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +17 -17
  159. package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +1 -1
  160. package/sdk/platform/Lead/LeadPlatformClient.d.ts +20 -20
  161. package/sdk/platform/Lead/LeadPlatformClient.js +18 -18
  162. package/sdk/platform/Lead/LeadPlatformModel.d.ts +62 -77
  163. package/sdk/platform/Lead/LeadPlatformModel.js +40 -52
  164. package/sdk/platform/Lead/LeadPlatformValidator.d.ts +1 -1
  165. package/sdk/platform/OAuthClient.d.ts +3 -3
  166. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +12 -12
  167. package/sdk/platform/Order/OrderPlatformApplicationClient.js +10 -10
  168. package/sdk/platform/Order/OrderPlatformClient.d.ts +111 -122
  169. package/sdk/platform/Order/OrderPlatformClient.js +109 -204
  170. package/sdk/platform/Order/OrderPlatformModel.d.ts +18 -2
  171. package/sdk/platform/Order/OrderPlatformModel.js +12 -2
  172. package/sdk/platform/Order/OrderPlatformValidator.d.ts +2 -34
  173. package/sdk/platform/Order/OrderPlatformValidator.js +0 -20
  174. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -6
  175. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +4 -4
  176. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +1 -1
  177. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +97 -97
  178. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +95 -95
  179. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +1 -1
  180. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +13 -13
  181. package/sdk/platform/Payment/PaymentPlatformClient.js +11 -11
  182. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +7 -0
  183. package/sdk/platform/Payment/PaymentPlatformModel.js +3 -0
  184. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +1 -1
  185. package/sdk/platform/PlatformAPIClient.d.ts +1 -1
  186. package/sdk/platform/PlatformAPIClient.js +0 -1
  187. package/sdk/platform/PlatformApplicationClient.d.ts +16 -16
  188. package/sdk/platform/PlatformClient.d.ts +19 -21
  189. package/sdk/platform/PlatformClient.js +0 -4
  190. package/sdk/platform/PlatformConfig.d.ts +4 -4
  191. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +14 -14
  192. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +12 -12
  193. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +1 -1
  194. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +42 -42
  195. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +40 -40
  196. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +1 -1
  197. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +55 -54
  198. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +53 -52
  199. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +2 -2
  200. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +4 -2
  201. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +1 -1
  202. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +7 -7
  203. package/sdk/platform/Share/SharePlatformApplicationClient.js +5 -5
  204. package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +1 -1
  205. package/sdk/platform/Share/SharePlatformModel.d.ts +4 -0
  206. package/sdk/platform/Share/SharePlatformModel.js +4 -0
  207. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +42 -112
  208. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +40 -597
  209. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +2 -101
  210. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +0 -92
  211. package/sdk/platform/Theme/ThemePlatformClient.d.ts +8 -8
  212. package/sdk/platform/Theme/ThemePlatformClient.js +6 -6
  213. package/sdk/platform/Theme/ThemePlatformModel.d.ts +25 -32
  214. package/sdk/platform/Theme/ThemePlatformModel.js +30 -40
  215. package/sdk/platform/Theme/ThemePlatformValidator.d.ts +1 -1
  216. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +37 -37
  217. package/sdk/platform/User/UserPlatformApplicationClient.js +35 -35
  218. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +1 -1
  219. package/sdk/platform/User/UserPlatformModel.d.ts +48 -13
  220. package/sdk/platform/User/UserPlatformModel.js +21 -13
  221. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +20 -19
  222. package/sdk/platform/Webhook/WebhookPlatformClient.js +18 -17
  223. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +2 -2
  224. package/sdk/platform/Webhook/WebhookPlatformModel.js +1 -1
  225. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +1 -1
  226. package/sdk/platform/index.d.ts +24 -25
  227. package/sdk/platform/index.js +0 -2
  228. package/sdk/public/Billing/BillingPublicClient.d.ts +3 -3
  229. package/sdk/public/Billing/BillingPublicClient.js +4 -4
  230. package/sdk/public/Billing/BillingPublicValidator.d.ts +2 -2
  231. package/sdk/public/Billing/BillingPublicValidator.js +2 -2
  232. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +3 -3
  233. package/sdk/public/Configuration/ConfigurationPublicClient.js +1 -1
  234. package/sdk/public/Content/ContentPublicClient.d.ts +2 -2
  235. package/sdk/public/Content/ContentPublicValidator.d.ts +2 -2
  236. package/sdk/public/Content/ContentPublicValidator.js +3 -3
  237. package/sdk/public/Inventory/InventoryPublicClient.d.ts +2 -2
  238. package/sdk/public/Inventory/InventoryPublicModel.d.ts +8 -8
  239. package/sdk/public/Inventory/InventoryPublicModel.js +8 -8
  240. package/sdk/public/Inventory/InventoryPublicValidator.d.ts +1 -1
  241. package/sdk/public/Partner/PartnerPublicClient.d.ts +3 -3
  242. package/sdk/public/Partner/PartnerPublicClient.js +1 -1
  243. package/sdk/public/PublicAPIClient.d.ts +1 -1
  244. package/sdk/public/PublicClient.d.ts +7 -7
  245. package/sdk/public/Webhook/WebhookPublicClient.d.ts +4 -4
  246. package/sdk/public/Webhook/WebhookPublicClient.js +2 -2
  247. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +1 -1
  248. package/sdk/public/index.d.ts +8 -8
  249. package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +0 -152
  250. package/sdk/platform/Inventory/InventoryPlatformClient.js +0 -1017
  251. package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +0 -1355
  252. package/sdk/platform/Inventory/InventoryPlatformModel.js +0 -1544
  253. package/sdk/platform/Inventory/InventoryPlatformValidator.d.ts +0 -171
  254. package/sdk/platform/Inventory/InventoryPlatformValidator.js +0 -159
@@ -89,7 +89,7 @@ class Payment {
89
89
  "/service/application/payment/v1.0/refund/verification/bank",
90
90
  verifyOtpAndAddBeneficiaryForWallet:
91
91
  "/service/application/payment/v1.0/refund/verification/wallet",
92
- walletLinkInitate:
92
+ walletLinkInitiate:
93
93
  "/service/application/payment/v1.0/payment/options/wallet/link",
94
94
  };
95
95
  this._urls = Object.entries(this._relativeUrls).reduce(
@@ -115,8 +115,8 @@ class Payment {
115
115
  * @returns {Promise<PaymentApplicationModel.RefundAccountResponse>} -
116
116
  * Success response
117
117
  * @name addBeneficiaryDetails
118
- * @summary: Add beneficiary.
119
- * @description: Adds beneficiary details for future transactions. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/addBeneficiaryDetails/).
118
+ * @summary: Add beneficiary for refund
119
+ * @description: Adds 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/).
120
120
  */
121
121
  async addBeneficiaryDetails(
122
122
  { body, requestHeaders } = { requestHeaders: {} },
@@ -198,8 +198,8 @@ class Payment {
198
198
  * @returns {Promise<PaymentApplicationModel.RefundAccountResponse>} -
199
199
  * Success response
200
200
  * @name addRefundBankAccountUsingOTP
201
- * @summary: Add refund account.
202
- * @description: Adds a bank account for refunds using OTP verification. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/addRefundBankAccountUsingOTP/).
201
+ * @summary: Add refund account using OTP verification
202
+ * @description: The addition of a bank account specifically for refunds, employing OTP verification for security - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/addRefundBankAccountUsingOTP/).
203
203
  */
204
204
  async addRefundBankAccountUsingOTP(
205
205
  { body, requestHeaders } = { requestHeaders: {} },
@@ -278,8 +278,8 @@ class Payment {
278
278
  * @param {import("../ApplicationAPIClient").Options} - Options
279
279
  * @returns {Promise<PaymentApplicationModel.AttachCardsResponse>} - Success response
280
280
  * @name attachCardToCustomer
281
- * @summary: Attach card to user.
282
- * @description: Links a payment card to a customer's account. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/attachCardToCustomer/).
281
+ * @summary: Link payment card to customer
282
+ * @description: Linking of a payment card to a user's 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/).
283
283
  */
284
284
  async attachCardToCustomer(
285
285
  { body, requestHeaders } = { requestHeaders: {} },
@@ -359,7 +359,7 @@ class Payment {
359
359
  * @returns {Promise<PaymentApplicationModel.CancelPaymentLinkResponse>} -
360
360
  * Success response
361
361
  * @name cancelPaymentLink
362
- * @summary: Cancel link.
362
+ * @summary: Cancel payment link
363
363
  * @description: Cancels a previously generated payment link. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/cancelPaymentLink/).
364
364
  */
365
365
  async cancelPaymentLink(
@@ -437,8 +437,8 @@ class Payment {
437
437
  * @param {import("../ApplicationAPIClient").Options} - Options
438
438
  * @returns {Promise<PaymentApplicationModel.CardDetailsResponse>} - Success response
439
439
  * @name cardDetails
440
- * @summary: Fetch card details.
441
- * @description: Gets the details of a specified payment card. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/cardDetails/).
440
+ * @summary: Get card details
441
+ * @description: Fetches the 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/).
442
442
  */
443
443
  async cardDetails(
444
444
  { cardInfo, aggregator, requestHeaders } = { requestHeaders: {} },
@@ -520,8 +520,8 @@ class Payment {
520
520
  * - Success response
521
521
  *
522
522
  * @name checkAndUpdatePaymentStatus
523
- * @summary: Update payment status.
524
- * @description: Checks and updates the current status of a payment. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/checkAndUpdatePaymentStatus/).
523
+ * @summary: Update payment status
524
+ * @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/).
525
525
  */
526
526
  async checkAndUpdatePaymentStatus(
527
527
  { body, requestHeaders } = { requestHeaders: {} },
@@ -604,8 +604,8 @@ class Payment {
604
604
  * - Success response
605
605
  *
606
606
  * @name checkAndUpdatePaymentStatusPaymentLink
607
- * @summary: Update link status.
608
- * @description: Checks and updates the status of payment via a link. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/checkAndUpdatePaymentStatusPaymentLink/).
607
+ * @summary: Update payment link status
608
+ * @description: Verifies and updates the 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/).
609
609
  */
610
610
  async checkAndUpdatePaymentStatusPaymentLink(
611
611
  { body, requestHeaders } = { requestHeaders: {} },
@@ -684,8 +684,8 @@ class Payment {
684
684
  * @param {import("../ApplicationAPIClient").Options} - Options
685
685
  * @returns {Promise<PaymentApplicationModel.CheckCreditResponse>} - Success response
686
686
  * @name checkCredit
687
- * @summary: Verify credit.
688
- * @description: Checks the availability and status of customer credit. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/checkCredit/).
687
+ * @summary: Verify credit availability and status
688
+ * @description: Checks 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/).
689
689
  */
690
690
  async checkCredit(
691
691
  { aggregator, requestHeaders } = { requestHeaders: {} },
@@ -766,8 +766,8 @@ class Payment {
766
766
  * @returns {Promise<PaymentApplicationModel.CreateOrderUserResponse>} -
767
767
  * Success response
768
768
  * @name createOrderHandlerPaymentLink
769
- * @summary: Order via link.
770
- * @description: Creates an order handler for payment through a link. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/createOrderHandlerPaymentLink/).
769
+ * @summary: Create order for payment via link
770
+ * @description: Initiates 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/).
771
771
  */
772
772
  async createOrderHandlerPaymentLink(
773
773
  { body, requestHeaders } = { requestHeaders: {} },
@@ -847,7 +847,7 @@ class Payment {
847
847
  * @returns {Promise<PaymentApplicationModel.CreatePaymentLinkResponse>} -
848
848
  * Success response
849
849
  * @name createPaymentLink
850
- * @summary: Create payment link.
850
+ * @summary: Create payment link
851
851
  * @description: Generates a new payment link for transactions. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/createPaymentLink/).
852
852
  */
853
853
  async createPaymentLink(
@@ -926,7 +926,7 @@ class Payment {
926
926
  * @returns {Promise<PaymentApplicationModel.PaymentOrderResponse>} - Success response
927
927
  * @name createPaymentOrder
928
928
  * @summary: Create Order
929
- * @description: Use this API to create a order and payment on aggregator side - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/createPaymentOrder/).
929
+ * @description: Create an order and payment on the aggregator side - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/createPaymentOrder/).
930
930
  */
931
931
  async createPaymentOrder(
932
932
  { body, requestHeaders } = { requestHeaders: {} },
@@ -1005,8 +1005,8 @@ class Payment {
1005
1005
  * - Success response
1006
1006
  *
1007
1007
  * @name customerCreditSummary
1008
- * @summary: Credit summary.
1009
- * @description: Retrieves a summary of the customer's credit details. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/customerCreditSummary/).
1008
+ * @summary: Credit summary
1009
+ * @description: Fetches a 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/).
1010
1010
  */
1011
1011
  async customerCreditSummary(
1012
1012
  { aggregator, requestHeaders } = { requestHeaders: {} },
@@ -1087,8 +1087,8 @@ class Payment {
1087
1087
  * @returns {Promise<PaymentApplicationModel.CustomerOnboardingResponse>} -
1088
1088
  * Success response
1089
1089
  * @name customerOnboard
1090
- * @summary: Onboard customer.
1091
- * @description: Initiates the onboarding process for payment services. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/customerOnboard/).
1090
+ * @summary: Onboard customer for payment
1091
+ * @description: Initiates 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/).
1092
1092
  */
1093
1093
  async customerOnboard(
1094
1094
  { body, requestHeaders } = { requestHeaders: {} },
@@ -1165,8 +1165,8 @@ class Payment {
1165
1165
  * @param {import("../ApplicationAPIClient").Options} - Options
1166
1166
  * @returns {Promise<PaymentApplicationModel.DeleteCardsResponse>} - Success response
1167
1167
  * @name deleteUserCard
1168
- * @summary: Remove user's card.
1169
- * @description: Deletes a payment card from the user's account. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/deleteUserCard/).
1168
+ * @summary: Delete customer card
1169
+ * @description: Deletion of a payment card from the user's account - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/deleteUserCard/).
1170
1170
  */
1171
1171
  async deleteUserCard(
1172
1172
  { body, requestHeaders } = { requestHeaders: {} },
@@ -1244,7 +1244,7 @@ class Payment {
1244
1244
  * @returns {Promise<PaymentApplicationModel.WalletResponseSchema>} - Success response
1245
1245
  * @name delinkWallet
1246
1246
  * @summary: Delink the wallet
1247
- * @description: It Removes already linked wallet - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/delinkWallet/).
1247
+ * @description: User removes already linked wallet. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/delinkWallet/).
1248
1248
  */
1249
1249
  async delinkWallet(
1250
1250
  { body, requestHeaders } = { requestHeaders: {} },
@@ -1325,8 +1325,8 @@ class Payment {
1325
1325
  * - Success response
1326
1326
  *
1327
1327
  * @name enableOrDisableRefundTransferMode
1328
- * @summary: Toggle refund mode.
1329
- * @description: Enables or disables a particular refund transfer mode. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/enableOrDisableRefundTransferMode/).
1328
+ * @summary: Toggle refund mode
1329
+ * @description: Enables or disables 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/).
1330
1330
  */
1331
1331
  async enableOrDisableRefundTransferMode(
1332
1332
  { body, requestHeaders } = { requestHeaders: {} },
@@ -1407,8 +1407,8 @@ class Payment {
1407
1407
  * - Success response
1408
1408
  *
1409
1409
  * @name getActiveCardAggregator
1410
- * @summary: Active card info.
1411
- * @description: Gets the active card aggregator for the user. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getActiveCardAggregator/).
1410
+ * @summary: Retrieve active card aggregator
1411
+ * @description: Fetches 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/getActiveCardAggregator/).
1412
1412
  */
1413
1413
  async getActiveCardAggregator(
1414
1414
  { refresh, requestHeaders } = { requestHeaders: {} },
@@ -1490,8 +1490,8 @@ class Payment {
1490
1490
  * @param {import("../ApplicationAPIClient").Options} - Options
1491
1491
  * @returns {Promise<PaymentApplicationModel.TransferModeResponse>} - Success response
1492
1492
  * @name getActiveRefundTransferModes
1493
- * @summary: Refund modes.
1494
- * @description: Lists the active transfer modes for refunds. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getActiveRefundTransferModes/).
1493
+ * @summary: Get refund transfer modes
1494
+ * @description: Lists the 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/).
1495
1495
  */
1496
1496
  async getActiveRefundTransferModes(
1497
1497
  { requestHeaders } = { requestHeaders: {} },
@@ -1570,8 +1570,8 @@ class Payment {
1570
1570
  * @param {import("../ApplicationAPIClient").Options} - Options
1571
1571
  * @returns {Promise<PaymentApplicationModel.ListCardsResponse>} - Success response
1572
1572
  * @name getActiveUserCards
1573
- * @summary: List user's cards.
1574
- * @description: Retrieves all active cards linked to a user. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getActiveUserCards/).
1573
+ * @summary: Get customer cards
1574
+ * @description: Retrieves a list of 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/).
1575
1575
  */
1576
1576
  async getActiveUserCards(
1577
1577
  { forceRefresh, requestHeaders } = { requestHeaders: {} },
@@ -1651,8 +1651,8 @@ class Payment {
1651
1651
  * - Success response
1652
1652
  *
1653
1653
  * @name getAggregatorsConfig
1654
- * @summary: Fetch payment aggregators.
1655
- * @description: Retrieves configuration details for available payment aggregators. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getAggregatorsConfig/).
1654
+ * @summary: Get payment aggregators
1655
+ * @description: Retrieve the 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/).
1656
1656
  */
1657
1657
  async getAggregatorsConfig(
1658
1658
  { xApiToken, refresh, requestHeaders } = { requestHeaders: {} },
@@ -1736,8 +1736,8 @@ class Payment {
1736
1736
  * @returns {Promise<PaymentApplicationModel.EpaylaterBannerResponse>} -
1737
1737
  * Success response
1738
1738
  * @name getEpaylaterBannerDetails
1739
- * @summary: Epay banner info.
1740
- * @description: Gets details for displaying the Epaylater payment banner. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getEpaylaterBannerDetails/).
1739
+ * @summary: Epaylater banner info
1740
+ * @description: Retrieves details required to display the Epaylater payment banner. 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/).
1741
1741
  */
1742
1742
  async getEpaylaterBannerDetails(
1743
1743
  { requestHeaders } = { requestHeaders: {} },
@@ -1819,8 +1819,8 @@ class Payment {
1819
1819
  * @returns {Promise<PaymentApplicationModel.OrderBeneficiaryResponse>} -
1820
1820
  * Success response
1821
1821
  * @name getOrderBeneficiariesDetail
1822
- * @summary: Order beneficiaries.
1823
- * @description: Retrieve the beneficiary details related to an order. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getOrderBeneficiariesDetail/).
1822
+ * @summary: Retrieve beneficiary details
1823
+ * @description: Retrieve 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/).
1824
1824
  */
1825
1825
  async getOrderBeneficiariesDetail(
1826
1826
  { orderId, requestHeaders } = { requestHeaders: {} },
@@ -1901,7 +1901,7 @@ class Payment {
1901
1901
  * @returns {Promise<PaymentApplicationModel.GetPaymentLinkResponse>} -
1902
1902
  * Success response
1903
1903
  * @name getPaymentLink
1904
- * @summary: Fetch payment link.
1904
+ * @summary: Get payment link
1905
1905
  * @description: Retrieves a generated payment link. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getPaymentLink/).
1906
1906
  */
1907
1907
  async getPaymentLink(
@@ -1981,8 +1981,8 @@ class Payment {
1981
1981
  * @returns {Promise<PaymentApplicationModel.PaymentModeRouteResponse>} -
1982
1982
  * Success response
1983
1983
  * @name getPaymentModeRoutes
1984
- * @summary: Get payment modes.
1985
- * @description: Lists the payment mode options and their routing details. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getPaymentModeRoutes/).
1984
+ * @summary: Get payment modes
1985
+ * @description: 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/).
1986
1986
  */
1987
1987
  async getPaymentModeRoutes(
1988
1988
  {
@@ -2108,7 +2108,7 @@ class Payment {
2108
2108
  * @returns {Promise<PaymentApplicationModel.PaymentModeRouteResponse>} -
2109
2109
  * Success response
2110
2110
  * @name getPaymentModeRoutesPaymentLink
2111
- * @summary: Payment link modes.
2111
+ * @summary: Payment modes for payment link
2112
2112
  * @description: Lists payment modes available for a given payment link. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getPaymentModeRoutesPaymentLink/).
2113
2113
  */
2114
2114
  async getPaymentModeRoutesPaymentLink(
@@ -2190,8 +2190,8 @@ class Payment {
2190
2190
  * @returns {Promise<PaymentApplicationModel.PaymentModeRouteResponse>} -
2191
2191
  * Success response
2192
2192
  * @name getPosPaymentModeRoutes
2193
- * @summary: POS payment modes.
2194
- * @description: Lists payment modes available for Point-of-Sale (POS). - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getPosPaymentModeRoutes/).
2193
+ * @summary: POS payment modes
2194
+ * @description: Available payment methods on the payment page for POS, specifying the aggregator for each option, such as 'CARD powered by Juspay' and 'QR powered by Razorpay'. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getPosPaymentModeRoutes/).
2195
2195
  */
2196
2196
  async getPosPaymentModeRoutes(
2197
2197
  {
@@ -2306,8 +2306,8 @@ class Payment {
2306
2306
  * @param {import("../ApplicationAPIClient").Options} - Options
2307
2307
  * @returns {Promise<PaymentApplicationModel.RupifiBannerResponse>} - Success response
2308
2308
  * @name getRupifiBannerDetails
2309
- * @summary: Rupifi banner info.
2310
- * @description: Retrieve details for displaying the Rupifi payment banner. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getRupifiBannerDetails/).
2309
+ * @summary: Rupifi banner info
2310
+ * @description: Retrieves details necessary for displaying the Rupifi payment banner. 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/).
2311
2311
  */
2312
2312
  async getRupifiBannerDetails(
2313
2313
  { requestHeaders } = { requestHeaders: {} },
@@ -2389,8 +2389,8 @@ class Payment {
2389
2389
  * @returns {Promise<PaymentApplicationModel.OrderBeneficiaryResponse>} -
2390
2390
  * Success response
2391
2391
  * @name getUserBeneficiariesDetail
2392
- * @summary: Beneficiary info.
2393
- * @description: Retrieves details of beneficiaries linked to the user. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getUserBeneficiariesDetail/).
2392
+ * @summary: Retrieve beneficiary details
2393
+ * @description: Retrieves information about 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/).
2394
2394
  */
2395
2395
  async getUserBeneficiariesDetail(
2396
2396
  { orderId, requestHeaders } = { requestHeaders: {} },
@@ -2472,8 +2472,8 @@ class Payment {
2472
2472
  * - Success response
2473
2473
  *
2474
2474
  * @name initialisePayment
2475
- * @summary: Start payment process.
2476
- * @description: Initializes the payment procedure for an order. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/initialisePayment/).
2475
+ * @summary: Start payment process
2476
+ * @description: Initiates 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/).
2477
2477
  */
2478
2478
  async initialisePayment(
2479
2479
  { body, requestHeaders } = { requestHeaders: {} },
@@ -2554,8 +2554,8 @@ class Payment {
2554
2554
  * - Success response
2555
2555
  *
2556
2556
  * @name initialisePaymentPaymentLink
2557
- * @summary: Initialise link payment.
2558
- * @description: Initializes payment for an order via a payment link. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/initialisePaymentPaymentLink/).
2557
+ * @summary: Initialize payment link
2558
+ * @description: Begins the 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/).
2559
2559
  */
2560
2560
  async initialisePaymentPaymentLink(
2561
2561
  { body, requestHeaders } = { requestHeaders: {} },
@@ -2634,8 +2634,8 @@ class Payment {
2634
2634
  * @param {import("../ApplicationAPIClient").Options} - Options
2635
2635
  * @returns {Promise<PaymentApplicationModel.WalletResponseSchema>} - Success response
2636
2636
  * @name linkWallet
2637
- * @summary: OTP verification for linking of wallet
2638
- * @description: It Verifies the linking of wallet using OTP - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/linkWallet/).
2637
+ * @summary: OTP verification
2638
+ * @description: Verifies the linking of wallet using OTP for further processing of payment. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/linkWallet/).
2639
2639
  */
2640
2640
  async linkWallet(
2641
2641
  { body, requestHeaders } = { requestHeaders: {} },
@@ -2714,8 +2714,8 @@ class Payment {
2714
2714
  * - Success response
2715
2715
  *
2716
2716
  * @name outstandingOrderDetails
2717
- * @summary: Outstanding orders.
2718
- * @description: Lists details of orders with outstanding payments. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/outstandingOrderDetails/).
2717
+ * @summary: Outstanding orders
2718
+ * @description: Retrieve details of orders with outstanding payments. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/outstandingOrderDetails/).
2719
2719
  */
2720
2720
  async outstandingOrderDetails(
2721
2721
  { aggregator, requestHeaders } = { requestHeaders: {} },
@@ -2796,8 +2796,8 @@ class Payment {
2796
2796
  * @returns {Promise<PaymentApplicationModel.PaidOrderDetailsResponse>} -
2797
2797
  * Success response
2798
2798
  * @name paidOrderDetails
2799
- * @summary: Paid orders.
2800
- * @description: Retrieves details of orders that have been paid for. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/paidOrderDetails/).
2799
+ * @summary: Retrieve details of paid orders
2800
+ * @description: Retrieves 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's merchant user ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/paidOrderDetails/).
2801
2801
  */
2802
2802
  async paidOrderDetails(
2803
2803
  { aggregator, requestHeaders } = { requestHeaders: {} },
@@ -2876,8 +2876,8 @@ class Payment {
2876
2876
  * @returns {Promise<PaymentApplicationModel.PollingPaymentLinkResponse>} -
2877
2877
  * Success response
2878
2878
  * @name pollingPaymentLink
2879
- * @summary: Poll payment link.
2880
- * @description: Polls the status of a payment link for updates. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/pollingPaymentLink/).
2879
+ * @summary: Poll status of payment link
2880
+ * @description: Periodically checks the status of a payment link to monitor for any updates or changes.retrieve 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/).
2881
2881
  */
2882
2882
  async pollingPaymentLink(
2883
2883
  { paymentLinkId, requestHeaders } = { requestHeaders: {} },
@@ -2957,8 +2957,8 @@ class Payment {
2957
2957
  * - Success response
2958
2958
  *
2959
2959
  * @name redirectToAggregator
2960
- * @summary: Redirect for payment.
2961
- * @description: Redirects the user to the payment aggregator's interface. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/redirectToAggregator/).
2960
+ * @summary: Redirects users to the payment aggregator's interface
2961
+ * @description: Redirects users to the payment aggregator's interface and provides necessary parameters such as the callback URL and aggregator name. Returns the status of the payment along with the redirect URL and signup URL. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/redirectToAggregator/).
2962
2962
  */
2963
2963
  async redirectToAggregator(
2964
2964
  { source, aggregator, requestHeaders } = { requestHeaders: {} },
@@ -3039,8 +3039,8 @@ class Payment {
3039
3039
  * @param {import("../ApplicationAPIClient").Options} - Options
3040
3040
  * @returns {Promise<PaymentApplicationModel.renderHTMLResponse>} - Success response
3041
3041
  * @name renderHTML
3042
- * @summary: Render HTML.
3043
- * @description: Generates HTML for payment-related interfaces. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/renderHTML/).
3042
+ * @summary: Render HTML
3043
+ * @description: Render HTML for a payment aggregator page - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/renderHTML/).
3044
3044
  */
3045
3045
  async renderHTML(
3046
3046
  { body, requestHeaders } = { requestHeaders: {} },
@@ -3119,8 +3119,8 @@ class Payment {
3119
3119
  * - Success response
3120
3120
  *
3121
3121
  * @name resendOrCancelPayment
3122
- * @summary: Manage payment.
3123
- * @description: Resends or cancels a pending payment transaction. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/resendOrCancelPayment/).
3122
+ * @summary: Resend or cancel a pending payment transaction
3123
+ * @description: Enable you to perform actions related to the resending and cancellation of payment links through SMS or E-mail. 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/).
3124
3124
  */
3125
3125
  async resendOrCancelPayment(
3126
3126
  { body, requestHeaders } = { requestHeaders: {} },
@@ -3200,8 +3200,8 @@ class Payment {
3200
3200
  * @returns {Promise<PaymentApplicationModel.ResendPaymentLinkResponse>} -
3201
3201
  * Success response
3202
3202
  * @name resendPaymentLink
3203
- * @summary: Resend link.
3204
- * @description: Resends an existing payment link to the user. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/resendPaymentLink/).
3203
+ * @summary: Resend payment link
3204
+ * @description: Resends 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/).
3205
3205
  */
3206
3206
  async resendPaymentLink(
3207
3207
  { body, requestHeaders } = { requestHeaders: {} },
@@ -3281,8 +3281,8 @@ class Payment {
3281
3281
  * - Success response
3282
3282
  *
3283
3283
  * @name updateDefaultBeneficiary
3284
- * @summary: Set default beneficiary.
3285
- * @description: Updates the default beneficiary for the user. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/updateDefaultBeneficiary/).
3284
+ * @summary: Set default beneficiary for refund
3285
+ * @description: Updates the default beneficiary for the order refund of the user. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/updateDefaultBeneficiary/).
3286
3286
  */
3287
3287
  async updateDefaultBeneficiary(
3288
3288
  { body, requestHeaders } = { requestHeaders: {} },
@@ -3361,8 +3361,8 @@ class Payment {
3361
3361
  * @param {import("../ApplicationAPIClient").Options} - Options
3362
3362
  * @returns {Promise<PaymentApplicationModel.ValidateVPAResponse>} - Success response
3363
3363
  * @name validateVPA
3364
- * @summary: Validate VPA.
3365
- * @description: Checks the validity of a Virtual Payment Address (VPA). - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/validateVPA/).
3364
+ * @summary: Validate VPA
3365
+ * @description: Checks whether 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/).
3366
3366
  */
3367
3367
  async validateVPA(
3368
3368
  { body, requestHeaders } = { requestHeaders: {} },
@@ -3440,8 +3440,8 @@ class Payment {
3440
3440
  * @returns {Promise<PaymentApplicationModel.ChargeCustomerResponse>} -
3441
3441
  * Success response
3442
3442
  * @name verifyAndChargePayment
3443
- * @summary: Verify and charge.
3444
- * @description: Validates and processes a payment transaction. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/verifyAndChargePayment/).
3443
+ * @summary: Verify order confirmation and charge
3444
+ * @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/).
3445
3445
  */
3446
3446
  async verifyAndChargePayment(
3447
3447
  { body, requestHeaders } = { requestHeaders: {} },
@@ -3522,8 +3522,8 @@ class Payment {
3522
3522
  * @returns {Promise<PaymentApplicationModel.ValidateCustomerResponse>} -
3523
3523
  * Success response
3524
3524
  * @name verifyCustomerForPayment
3525
- * @summary: Verify payment customer.
3526
- * @description: Checks the user's validity for proceeding with payment. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/verifyCustomerForPayment/).
3525
+ * @summary: Verify payment customer
3526
+ * @description: Verify whether the user is eligible for pay-later payment from the payment aggregator's side using the customer's phone number - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/verifyCustomerForPayment/).
3527
3527
  */
3528
3528
  async verifyCustomerForPayment(
3529
3529
  { body, requestHeaders } = { requestHeaders: {} },
@@ -3602,8 +3602,8 @@ class Payment {
3602
3602
  * @param {import("../ApplicationAPIClient").Options} - Options
3603
3603
  * @returns {Promise<PaymentApplicationModel.IfscCodeResponse>} - Success response
3604
3604
  * @name verifyIfscCode
3605
- * @summary: Verify IFSC.
3606
- * @description: Checks the validity of an IFSC code for bank transactions. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/verifyIfscCode/).
3605
+ * @summary: Verify IFSC
3606
+ * @description: Checks the validity of the provided IFSC code and returns bank details if valid. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/verifyIfscCode/).
3607
3607
  */
3608
3608
  async verifyIfscCode(
3609
3609
  { ifscCode, requestHeaders } = { requestHeaders: {} },
@@ -3685,8 +3685,8 @@ class Payment {
3685
3685
  * - Success response
3686
3686
  *
3687
3687
  * @name verifyOtpAndAddBeneficiaryForBank
3688
- * @summary: Verify OTP for bank.
3689
- * @description: Confirms OTP and adds a bank beneficiary. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/verifyOtpAndAddBeneficiaryForBank/).
3688
+ * @summary: Verify OTP for bank and add beneficiary
3689
+ * @description: This endpoint confirms 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/).
3690
3690
  */
3691
3691
  async verifyOtpAndAddBeneficiaryForBank(
3692
3692
  { body, requestHeaders } = { requestHeaders: {} },
@@ -3767,8 +3767,8 @@ class Payment {
3767
3767
  * @param {import("../ApplicationAPIClient").Options} - Options
3768
3768
  * @returns {Promise<PaymentApplicationModel.WalletOtpResponse>} - Success response
3769
3769
  * @name verifyOtpAndAddBeneficiaryForWallet
3770
- * @summary: Verify OTP for wallet.
3771
- * @description: Confirms OTP and adds a wallet beneficiary. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/verifyOtpAndAddBeneficiaryForWallet/).
3770
+ * @summary: Verify OTP for wallet
3771
+ * @description: Confirm OTP provided by the user and adds a wallet beneficiary - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/verifyOtpAndAddBeneficiaryForWallet/).
3772
3772
  */
3773
3773
  async verifyOtpAndAddBeneficiaryForWallet(
3774
3774
  { body, requestHeaders } = { requestHeaders: {} },
@@ -3842,19 +3842,19 @@ class Payment {
3842
3842
  }
3843
3843
 
3844
3844
  /**
3845
- * @param {PaymentApplicationValidator.WalletLinkInitateParam} arg - Arg object.
3845
+ * @param {PaymentApplicationValidator.WalletLinkInitiateParam} arg - Arg object.
3846
3846
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
3847
3847
  * @param {import("../ApplicationAPIClient").Options} - Options
3848
3848
  * @returns {Promise<PaymentApplicationModel.WalletResponseSchema>} - Success response
3849
- * @name walletLinkInitate
3849
+ * @name walletLinkInitiate
3850
3850
  * @summary: Initiate linking of wallet
3851
- * @description: It will initiate linking of wallet for the aggregator. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/walletLinkInitate/).
3851
+ * @description: Link wallet for the aggregator for processing of payment. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/walletLinkInitiate/).
3852
3852
  */
3853
- async walletLinkInitate(
3853
+ async walletLinkInitiate(
3854
3854
  { body, requestHeaders } = { requestHeaders: {} },
3855
3855
  { responseHeaders } = { responseHeaders: false }
3856
3856
  ) {
3857
- const { error } = PaymentApplicationValidator.walletLinkInitate().validate(
3857
+ const { error } = PaymentApplicationValidator.walletLinkInitiate().validate(
3858
3858
  { body },
3859
3859
  { abortEarly: false, allowUnknown: true }
3860
3860
  );
@@ -3865,14 +3865,14 @@ class Payment {
3865
3865
  // Showing warrnings if extra unknown parameters are found
3866
3866
  const {
3867
3867
  error: warrning,
3868
- } = PaymentApplicationValidator.walletLinkInitate().validate(
3868
+ } = PaymentApplicationValidator.walletLinkInitiate().validate(
3869
3869
  { body },
3870
3870
  { abortEarly: false, allowUnknown: false }
3871
3871
  );
3872
3872
  if (warrning) {
3873
3873
  Logger({
3874
3874
  level: "WARN",
3875
- message: `Parameter Validation warrnings for application > Payment > walletLinkInitate \n ${warrning}`,
3875
+ message: `Parameter Validation warrnings for application > Payment > walletLinkInitiate \n ${warrning}`,
3876
3876
  });
3877
3877
  }
3878
3878
 
@@ -3884,7 +3884,7 @@ class Payment {
3884
3884
  this._conf,
3885
3885
  "post",
3886
3886
  constructUrl({
3887
- url: this._urls["walletLinkInitate"],
3887
+ url: this._urls["walletLinkInitiate"],
3888
3888
  params: {},
3889
3889
  }),
3890
3890
  query_params,
@@ -3911,7 +3911,7 @@ class Payment {
3911
3911
  } else {
3912
3912
  Logger({
3913
3913
  level: "WARN",
3914
- message: `Response Validation Warnings for application > Payment > walletLinkInitate \n ${res_error}`,
3914
+ message: `Response Validation Warnings for application > Payment > walletLinkInitiate \n ${res_error}`,
3915
3915
  });
3916
3916
  }
3917
3917
  }
@@ -293,7 +293,7 @@ export = PaymentApplicationModel;
293
293
  */
294
294
  /**
295
295
  * @typedef PaymentOptionAndFlow
296
- * @property {RootPaymentMode} payment_option
296
+ * @property {RootPaymentMode[]} payment_option - Payment options
297
297
  * @property {PaymentFlow} payment_flows
298
298
  * @property {PaymentDefaultSelection} [payment_default_selection]
299
299
  */
@@ -1897,7 +1897,10 @@ type PaymentFlow = {
1897
1897
  /** @returns {PaymentOptionAndFlow} */
1898
1898
  declare function PaymentOptionAndFlow(): PaymentOptionAndFlow;
1899
1899
  type PaymentOptionAndFlow = {
1900
- payment_option: RootPaymentMode;
1900
+ /**
1901
+ * - Payment options
1902
+ */
1903
+ payment_option: RootPaymentMode[];
1901
1904
  payment_flows: PaymentFlow;
1902
1905
  payment_default_selection?: PaymentDefaultSelection;
1903
1906
  };
@@ -322,7 +322,7 @@ const Joi = require("joi");
322
322
 
323
323
  /**
324
324
  * @typedef PaymentOptionAndFlow
325
- * @property {RootPaymentMode} payment_option
325
+ * @property {RootPaymentMode[]} payment_option - Payment options
326
326
  * @property {PaymentFlow} payment_flows
327
327
  * @property {PaymentDefaultSelection} [payment_default_selection]
328
328
  */
@@ -1551,7 +1551,9 @@ class PaymentApplicationModel {
1551
1551
  /** @returns {PaymentOptionAndFlow} */
1552
1552
  static PaymentOptionAndFlow() {
1553
1553
  return Joi.object({
1554
- payment_option: PaymentApplicationModel.RootPaymentMode().required(),
1554
+ payment_option: Joi.array()
1555
+ .items(PaymentApplicationModel.RootPaymentMode())
1556
+ .required(),
1555
1557
  payment_flows: PaymentApplicationModel.PaymentFlow().required(),
1556
1558
  payment_default_selection: PaymentApplicationModel.PaymentDefaultSelection(),
1557
1559
  });
@@ -202,7 +202,7 @@ export = PaymentApplicationValidator;
202
202
  * @property {PaymentApplicationModel.WalletOtpRequest} body
203
203
  */
204
204
  /**
205
- * @typedef WalletLinkInitateParam
205
+ * @typedef WalletLinkInitiateParam
206
206
  * @property {PaymentApplicationModel.WalletLinkRequestSchema} body
207
207
  */
208
208
  declare class PaymentApplicationValidator {
@@ -296,11 +296,11 @@ declare class PaymentApplicationValidator {
296
296
  static verifyOtpAndAddBeneficiaryForBank(): VerifyOtpAndAddBeneficiaryForBankParam;
297
297
  /** @returns {VerifyOtpAndAddBeneficiaryForWalletParam} */
298
298
  static verifyOtpAndAddBeneficiaryForWallet(): VerifyOtpAndAddBeneficiaryForWalletParam;
299
- /** @returns {WalletLinkInitateParam} */
300
- static walletLinkInitate(): WalletLinkInitateParam;
299
+ /** @returns {WalletLinkInitiateParam} */
300
+ static walletLinkInitiate(): WalletLinkInitiateParam;
301
301
  }
302
302
  declare namespace PaymentApplicationValidator {
303
- export { AddBeneficiaryDetailsParam, AddRefundBankAccountUsingOTPParam, AttachCardToCustomerParam, CancelPaymentLinkParam, CardDetailsParam, CheckAndUpdatePaymentStatusParam, CheckAndUpdatePaymentStatusPaymentLinkParam, CheckCreditParam, CreateOrderHandlerPaymentLinkParam, CreatePaymentLinkParam, CreatePaymentOrderParam, CustomerCreditSummaryParam, CustomerOnboardParam, DeleteUserCardParam, DelinkWalletParam, EnableOrDisableRefundTransferModeParam, GetActiveCardAggregatorParam, GetActiveRefundTransferModesParam, GetActiveUserCardsParam, GetAggregatorsConfigParam, GetEpaylaterBannerDetailsParam, GetOrderBeneficiariesDetailParam, GetPaymentLinkParam, GetPaymentModeRoutesParam, GetPaymentModeRoutesPaymentLinkParam, GetPosPaymentModeRoutesParam, GetRupifiBannerDetailsParam, GetUserBeneficiariesDetailParam, InitialisePaymentParam, InitialisePaymentPaymentLinkParam, LinkWalletParam, OutstandingOrderDetailsParam, PaidOrderDetailsParam, PollingPaymentLinkParam, RedirectToAggregatorParam, RenderHTMLParam, ResendOrCancelPaymentParam, ResendPaymentLinkParam, UpdateDefaultBeneficiaryParam, ValidateVPAParam, VerifyAndChargePaymentParam, VerifyCustomerForPaymentParam, VerifyIfscCodeParam, VerifyOtpAndAddBeneficiaryForBankParam, VerifyOtpAndAddBeneficiaryForWalletParam, WalletLinkInitateParam };
303
+ export { AddBeneficiaryDetailsParam, AddRefundBankAccountUsingOTPParam, AttachCardToCustomerParam, CancelPaymentLinkParam, CardDetailsParam, CheckAndUpdatePaymentStatusParam, CheckAndUpdatePaymentStatusPaymentLinkParam, CheckCreditParam, CreateOrderHandlerPaymentLinkParam, CreatePaymentLinkParam, CreatePaymentOrderParam, CustomerCreditSummaryParam, CustomerOnboardParam, DeleteUserCardParam, DelinkWalletParam, EnableOrDisableRefundTransferModeParam, GetActiveCardAggregatorParam, GetActiveRefundTransferModesParam, GetActiveUserCardsParam, GetAggregatorsConfigParam, GetEpaylaterBannerDetailsParam, GetOrderBeneficiariesDetailParam, GetPaymentLinkParam, GetPaymentModeRoutesParam, GetPaymentModeRoutesPaymentLinkParam, GetPosPaymentModeRoutesParam, GetRupifiBannerDetailsParam, GetUserBeneficiariesDetailParam, InitialisePaymentParam, InitialisePaymentPaymentLinkParam, LinkWalletParam, OutstandingOrderDetailsParam, PaidOrderDetailsParam, PollingPaymentLinkParam, RedirectToAggregatorParam, RenderHTMLParam, ResendOrCancelPaymentParam, ResendPaymentLinkParam, UpdateDefaultBeneficiaryParam, ValidateVPAParam, VerifyAndChargePaymentParam, VerifyCustomerForPaymentParam, VerifyIfscCodeParam, VerifyOtpAndAddBeneficiaryForBankParam, VerifyOtpAndAddBeneficiaryForWalletParam, WalletLinkInitiateParam };
304
304
  }
305
305
  type AddBeneficiaryDetailsParam = {
306
306
  body: PaymentApplicationModel.AddBeneficiaryDetailsRequest;
@@ -534,10 +534,10 @@ type VerifyOtpAndAddBeneficiaryForBankParam = {
534
534
  type VerifyOtpAndAddBeneficiaryForWalletParam = {
535
535
  body: PaymentApplicationModel.WalletOtpRequest;
536
536
  };
537
- type WalletLinkInitateParam = {
537
+ type WalletLinkInitiateParam = {
538
538
  body: PaymentApplicationModel.WalletLinkRequestSchema;
539
539
  };
540
540
  type GetActiveRefundTransferModesParam = any;
541
541
  type GetEpaylaterBannerDetailsParam = any;
542
542
  type GetRupifiBannerDetailsParam = any;
543
- import PaymentApplicationModel = require("./PaymentApplicationModel");
543
+ import PaymentApplicationModel = require("sdk/output/javascript/code/sdk/application/Payment/PaymentApplicationModel");