@gofynd/fdk-client-javascript 1.4.16-beta.2 → 1.4.16-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
- package/sdk/application/ApplicationClient.d.ts +0 -2
- package/sdk/application/ApplicationClient.js +0 -2
- package/sdk/application/Cart/CartApplicationClient.d.ts +48 -68
- package/sdk/application/Cart/CartApplicationClient.js +27 -114
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +58 -59
- package/sdk/application/Catalog/CatalogApplicationClient.js +29 -30
- package/sdk/application/Common/CommonApplicationClient.d.ts +2 -2
- package/sdk/application/Common/CommonApplicationClient.js +1 -1
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +20 -20
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +10 -10
- package/sdk/application/Content/ContentApplicationClient.d.ts +30 -51
- package/sdk/application/Content/ContentApplicationClient.js +56 -161
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +11 -9
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +10 -7
- package/sdk/application/Lead/LeadApplicationClient.d.ts +2 -2
- package/sdk/application/Lead/LeadApplicationClient.js +1 -1
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +15 -35
- package/sdk/application/Logistic/LogisticApplicationClient.js +8 -101
- package/sdk/application/Order/OrderApplicationClient.d.ts +12 -22
- package/sdk/application/Order/OrderApplicationClient.js +8 -56
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +87 -87
- package/sdk/application/Payment/PaymentApplicationClient.js +46 -46
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +13 -13
- package/sdk/application/Rewards/RewardsApplicationClient.js +7 -7
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +2 -2
- package/sdk/application/Theme/ThemeApplicationClient.js +2 -4
- package/sdk/application/User/UserApplicationClient.d.ts +10 -10
- package/sdk/application/User/UserApplicationClient.js +6 -6
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
- package/sdk/application/Webhook/WebhookApplicationClient.js +3 -3
- package/sdk/common/Utility.js +6 -3
- package/sdk/common/utils.d.ts +0 -1
- package/sdk/common/utils.js +0 -14
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +12 -86
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +24 -582
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +21 -116
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +16 -121
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +1 -8
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -51
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
- package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
- package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +20 -126
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +20 -970
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +167 -1200
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +160 -571
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +0 -10
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +7 -121
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +10 -8
- package/sdk/partner/Theme/ThemePartnerClient.js +16 -14
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +37 -96
- package/sdk/partner/Theme/ThemePartnerModel.js +36 -90
- package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +18 -28
- package/sdk/partner/Webhook/WebhookPartnerClient.js +18 -103
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +179 -612
- package/sdk/partner/Webhook/WebhookPartnerModel.js +150 -253
- package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +0 -1
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +3 -11
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +4 -5
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +8 -14
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +9 -59
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +4 -40
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +32 -2
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +243 -3
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +130 -11
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +152 -12
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +39 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +35 -0
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
- package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +388 -443
- package/sdk/platform/Billing/BillingPlatformModel.js +263 -280
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +18 -16
- package/sdk/platform/Billing/BillingPlatformValidator.js +9 -8
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +103 -134
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +115 -419
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +65 -121
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +44 -109
- package/sdk/platform/Cart/CartPlatformModel.d.ts +1294 -5068
- package/sdk/platform/Cart/CartPlatformModel.js +1217 -1992
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +183 -209
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +400 -457
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +142 -185
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +78 -96
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +117 -154
- package/sdk/platform/Catalog/CatalogPlatformClient.js +172 -292
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1647 -6389
- package/sdk/platform/Catalog/CatalogPlatformModel.js +1681 -3222
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +31 -72
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +24 -50
- package/sdk/platform/Common/CommonPlatformClient.d.ts +2 -3
- package/sdk/platform/Common/CommonPlatformClient.js +2 -3
- package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
- package/sdk/platform/Common/CommonPlatformModel.js +6 -6
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +17 -16
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +17 -16
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +33 -43
- package/sdk/platform/Communication/CommunicationPlatformModel.js +34 -38
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +42 -46
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +43 -47
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +212 -210
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +33 -46
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +54 -67
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +24 -45
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +30 -134
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +131 -283
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +97 -219
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +9 -37
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +8 -27
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +141 -204
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +475 -1073
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +141 -253
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +130 -256
- package/sdk/platform/Content/ContentPlatformClient.d.ts +106 -142
- package/sdk/platform/Content/ContentPlatformClient.js +336 -523
- package/sdk/platform/Content/ContentPlatformModel.d.ts +403 -1375
- package/sdk/platform/Content/ContentPlatformModel.js +394 -631
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +117 -168
- package/sdk/platform/Content/ContentPlatformValidator.js +108 -162
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +12 -14
- package/sdk/platform/Discount/DiscountPlatformClient.js +12 -14
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
- package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +39 -95
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +63 -462
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +15 -62
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +13 -75
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +22 -20
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +24 -21
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +116 -370
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +104 -313
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +320 -0
- package/sdk/platform/Finance/FinancePlatformClient.js +2333 -0
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +2890 -0
- package/sdk/platform/Finance/FinancePlatformModel.js +2148 -0
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +284 -0
- package/sdk/platform/Finance/FinancePlatformValidator.js +354 -0
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
- package/sdk/platform/Lead/LeadPlatformClient.js +2 -2
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -5
- package/sdk/platform/Lead/LeadPlatformModel.js +16 -16
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +6 -17
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +7 -85
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +24 -95
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +19 -39
- package/sdk/platform/Order/OrderPlatformClient.d.ts +96 -153
- package/sdk/platform/Order/OrderPlatformClient.js +198 -416
- package/sdk/platform/Order/OrderPlatformModel.d.ts +1286 -7619
- package/sdk/platform/Order/OrderPlatformModel.js +1265 -3922
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +109 -270
- package/sdk/platform/Order/OrderPlatformValidator.js +77 -135
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -6
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +7 -9
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
- package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +105 -93
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +141 -129
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +48 -48
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +48 -48
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
- package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +319 -333
- package/sdk/platform/Payment/PaymentPlatformModel.js +278 -288
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
- package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
- package/sdk/platform/PlatformClient.d.ts +2 -0
- package/sdk/platform/PlatformClient.js +4 -0
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +9 -9
- package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +36 -46
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +41 -132
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +17 -46
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +14 -34
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +46 -40
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +68 -62
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +612 -1845
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +554 -886
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +49 -45
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +30 -28
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +5 -5
- package/sdk/platform/Share/SharePlatformApplicationClient.js +9 -9
- package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +6 -3
- package/sdk/platform/Share/SharePlatformApplicationValidator.js +2 -2
- package/sdk/platform/Share/SharePlatformModel.d.ts +7 -46
- package/sdk/platform/Share/SharePlatformModel.js +6 -31
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +4 -8
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +0 -5
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +0 -2
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +11 -37
- package/sdk/platform/Theme/ThemePlatformModel.js +15 -33
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
- package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
- package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
- package/sdk/platform/User/UserPlatformModel.js +23 -23
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +78 -25
- package/sdk/platform/Webhook/WebhookPlatformClient.js +470 -75
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +427 -720
- package/sdk/platform/Webhook/WebhookPlatformModel.js +386 -410
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +55 -10
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +72 -12
- package/sdk/platform/index.d.ts +1 -0
- package/sdk/platform/index.js +2 -0
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +2 -3
- package/sdk/public/Configuration/ConfigurationPublicClient.js +5 -6
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
- package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
- package/sdk/public/Content/ContentPublicClient.d.ts +2 -112
- package/sdk/public/Content/ContentPublicClient.js +6 -810
- package/sdk/public/Content/ContentPublicModel.d.ts +3 -549
- package/sdk/public/Content/ContentPublicModel.js +3 -649
- package/sdk/public/Content/ContentPublicValidator.d.ts +3 -69
- package/sdk/public/Content/ContentPublicValidator.js +2 -88
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
- package/sdk/public/Webhook/WebhookPublicClient.js +8 -8
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
- package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
- package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +0 -29
- package/sdk/application/Finance/FinanceApplicationClient.js +0 -111
|
@@ -109,7 +109,7 @@ class Payment {
|
|
|
109
109
|
/**
|
|
110
110
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
111
111
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
112
|
-
* @returns {Promise<
|
|
112
|
+
* @returns {Promise<RefundAccountResponse>} - Success response
|
|
113
113
|
* @name addBeneficiaryDetails
|
|
114
114
|
* @summary: Add beneficiary for refund
|
|
115
115
|
* @description: Add beneficiary details specifically for refund transactions, including account holder name, account number and bank details. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/addBeneficiaryDetails/).
|
|
@@ -146,7 +146,7 @@ class Payment {
|
|
|
146
146
|
/**
|
|
147
147
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
148
148
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
149
|
-
* @returns {Promise<
|
|
149
|
+
* @returns {Promise<RefundAccountResponse>} - Success response
|
|
150
150
|
* @name addRefundBankAccountUsingOTP
|
|
151
151
|
* @summary: Add refund account using OTP verification
|
|
152
152
|
* @description: Add bank account specifically for refunds, employing OTP verification for security. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/addRefundBankAccountUsingOTP/).
|
|
@@ -183,7 +183,7 @@ class Payment {
|
|
|
183
183
|
/**
|
|
184
184
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
185
185
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
186
|
-
* @returns {Promise<
|
|
186
|
+
* @returns {Promise<AttachCardsResponse>} - Success response
|
|
187
187
|
* @name attachCardToCustomer
|
|
188
188
|
* @summary: Link payment card to customer
|
|
189
189
|
* @description: Link payment card to a user account for seamless transactions. Upon successful linking, the card becomes associated with the user's profile, enabling secure and convenient payments. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/attachCardToCustomer/).
|
|
@@ -220,7 +220,7 @@ class Payment {
|
|
|
220
220
|
/**
|
|
221
221
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
222
222
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
223
|
-
* @returns {Promise<
|
|
223
|
+
* @returns {Promise<CancelPaymentLinkResponse>} - Success response
|
|
224
224
|
* @name cancelPaymentLink
|
|
225
225
|
* @summary: Cancel payment link
|
|
226
226
|
* @description: Cancel previously generated payment link. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/cancelPaymentLink/).
|
|
@@ -257,7 +257,7 @@ class Payment {
|
|
|
257
257
|
/**
|
|
258
258
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
259
259
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
260
|
-
* @returns {Promise<
|
|
260
|
+
* @returns {Promise<CardDetailsResponse>} - Success response
|
|
261
261
|
* @name cardDetails
|
|
262
262
|
* @summary: Get card details
|
|
263
263
|
* @description: Get details of a specified payment card, including information such as the card type, brand, country, and expiration date. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/cardDetails/).
|
|
@@ -304,7 +304,7 @@ class Payment {
|
|
|
304
304
|
/**
|
|
305
305
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
306
306
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
307
|
-
* @returns {Promise<
|
|
307
|
+
* @returns {Promise<PaymentStatusUpdateResponse>} - Success response
|
|
308
308
|
* @name checkAndUpdatePaymentStatus
|
|
309
309
|
* @summary: Update payment status
|
|
310
310
|
* @description: Polling process to confirm the payment status. It periodically checks and updates the current status of a payment, ensuring timely and accurate confirmation of payment transactions. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/checkAndUpdatePaymentStatus/).
|
|
@@ -341,7 +341,7 @@ class Payment {
|
|
|
341
341
|
/**
|
|
342
342
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
343
343
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
344
|
-
* @returns {Promise<
|
|
344
|
+
* @returns {Promise<PaymentStatusUpdateResponse>} - Success response
|
|
345
345
|
* @name checkAndUpdatePaymentStatusPaymentLink
|
|
346
346
|
* @summary: Update payment link status
|
|
347
347
|
* @description: Verify and update status of a payment made through a link.Upon successful verification and update, the response includes details about the aggregator name, payment status, and whether retrying the process is required. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/checkAndUpdatePaymentStatusPaymentLink/).
|
|
@@ -378,7 +378,7 @@ class Payment {
|
|
|
378
378
|
/**
|
|
379
379
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
380
380
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
381
|
-
* @returns {Promise<
|
|
381
|
+
* @returns {Promise<CheckCreditResponse>} - Success response
|
|
382
382
|
* @name checkCredit
|
|
383
383
|
* @summary: Verify credit availability and status
|
|
384
384
|
* @description: Check the availability and status of customer credit, providing the status of payment along with registration information and signup URL if the customer is not registered. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/checkCredit/).
|
|
@@ -416,7 +416,7 @@ class Payment {
|
|
|
416
416
|
/**
|
|
417
417
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
418
418
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
419
|
-
* @returns {Promise<
|
|
419
|
+
* @returns {Promise<CreateOrderUserResponse>} - Success response
|
|
420
420
|
* @name createOrderHandlerPaymentLink
|
|
421
421
|
* @summary: Create order for payment via link
|
|
422
422
|
* @description: Initiate the creation of an order handler for processing payments through a link. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/createOrderHandlerPaymentLink/).
|
|
@@ -453,7 +453,7 @@ class Payment {
|
|
|
453
453
|
/**
|
|
454
454
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
455
455
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
456
|
-
* @returns {Promise<
|
|
456
|
+
* @returns {Promise<CreatePaymentLinkResponse>} - Success response
|
|
457
457
|
* @name createPaymentLink
|
|
458
458
|
* @summary: Create payment link
|
|
459
459
|
* @description: Create new payment link for transactions. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/createPaymentLink/).
|
|
@@ -490,7 +490,7 @@ class Payment {
|
|
|
490
490
|
/**
|
|
491
491
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
492
492
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
493
|
-
* @returns {Promise<
|
|
493
|
+
* @returns {Promise<PaymentOrderResponse>} - Success response
|
|
494
494
|
* @name createPaymentOrder
|
|
495
495
|
* @summary: Create Order
|
|
496
496
|
* @description: Create an order and payment on the aggregator side. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/createPaymentOrder/).
|
|
@@ -527,7 +527,7 @@ class Payment {
|
|
|
527
527
|
/**
|
|
528
528
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
529
529
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
530
|
-
* @returns {Promise<
|
|
530
|
+
* @returns {Promise<CustomerCreditSummaryResponse>} - Success response
|
|
531
531
|
* @name customerCreditSummary
|
|
532
532
|
* @summary: Credit summary
|
|
533
533
|
* @description: Get summary of the customer's credit information, including details such as merchant customer reference ID, status, balance, limit, due amount, used amount, due date, days overdue, total due amount, and a repayment URL. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/customerCreditSummary/).
|
|
@@ -565,7 +565,7 @@ class Payment {
|
|
|
565
565
|
/**
|
|
566
566
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
567
567
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
568
|
-
* @returns {Promise<
|
|
568
|
+
* @returns {Promise<CustomerOnboardingResponse>} - Success response
|
|
569
569
|
* @name customerOnboard
|
|
570
570
|
* @summary: Onboard customer for payment
|
|
571
571
|
* @description: Initiate the onboarding process for payment services, providing personal, business, and device information, along with marketplace details, to enable customer registration and credit availability. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/customerOnboard/).
|
|
@@ -602,7 +602,7 @@ class Payment {
|
|
|
602
602
|
/**
|
|
603
603
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
604
604
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
605
|
-
* @returns {Promise<
|
|
605
|
+
* @returns {Promise<DeleteCardsResponse>} - Success response
|
|
606
606
|
* @name deleteUserCard
|
|
607
607
|
* @summary: Delete customer card
|
|
608
608
|
* @description: Delete payment card from the user's account. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/deleteUserCard/).
|
|
@@ -676,7 +676,7 @@ class Payment {
|
|
|
676
676
|
/**
|
|
677
677
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
678
678
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
679
|
-
* @returns {Promise<
|
|
679
|
+
* @returns {Promise<UpdateRefundTransferModeResponse>} - Success response
|
|
680
680
|
* @name enableOrDisableRefundTransferMode
|
|
681
681
|
* @summary: Toggle refund mode
|
|
682
682
|
* @description: Enable/Disable a particular refund transfer mode based on the request body parameters, indicating whether the mode should be enabled or disabled. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/enableOrDisableRefundTransferMode/).
|
|
@@ -713,7 +713,7 @@ class Payment {
|
|
|
713
713
|
/**
|
|
714
714
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
715
715
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
716
|
-
* @returns {Promise<
|
|
716
|
+
* @returns {Promise<ActiveCardPaymentGatewayResponse>} - Success response
|
|
717
717
|
* @name getActiveCardAggregator
|
|
718
718
|
* @summary: Retrieve active card aggregator
|
|
719
719
|
* @description: Get details about the active card aggregator used by the user, including the aggregator name.You can refresh the data by setting the 'refresh' parameter to true if needed. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getActiveCardAggregator/).
|
|
@@ -751,7 +751,7 @@ class Payment {
|
|
|
751
751
|
/**
|
|
752
752
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
753
753
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
754
|
-
* @returns {Promise<
|
|
754
|
+
* @returns {Promise<TransferModeResponse>} - Success response
|
|
755
755
|
* @name getActiveRefundTransferModes
|
|
756
756
|
* @summary: Get refund transfer modes
|
|
757
757
|
* @description: Lists available refund modes, such as UPI, providing details like display name, logo, and ID for each mode. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getActiveRefundTransferModes/).
|
|
@@ -788,7 +788,7 @@ class Payment {
|
|
|
788
788
|
/**
|
|
789
789
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
790
790
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
791
|
-
* @returns {Promise<
|
|
791
|
+
* @returns {Promise<ListCardsResponse>} - Success response
|
|
792
792
|
* @name getActiveUserCards
|
|
793
793
|
* @summary: Get customer cards
|
|
794
794
|
* @description: List all active cards saved by the user.Includes details such as the card's aggregator name, card ID, token, reference, number, expiration date, type, issuer, brand, nickname, and whether it has expired. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getActiveUserCards/).
|
|
@@ -826,7 +826,7 @@ class Payment {
|
|
|
826
826
|
/**
|
|
827
827
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
828
828
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
829
|
-
* @returns {Promise<
|
|
829
|
+
* @returns {Promise<AggregatorsConfigDetailResponse>} - Success response
|
|
830
830
|
* @name getAggregatorsConfig
|
|
831
831
|
* @summary: Get payment aggregators
|
|
832
832
|
* @description: Get aggregator secret key of all payment gateways utilized for payments when using the SDK for the payment gateway. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getAggregatorsConfig/).
|
|
@@ -865,7 +865,7 @@ class Payment {
|
|
|
865
865
|
/**
|
|
866
866
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
867
867
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
868
|
-
* @returns {Promise<
|
|
868
|
+
* @returns {Promise<EpaylaterBannerResponse>} - Success response
|
|
869
869
|
* @name getEpaylaterBannerDetails
|
|
870
870
|
* @summary: Epaylater banner info
|
|
871
871
|
* @description: Get Epaylater payment banner details. It provides information about the banner's display status, along with relevant messages and the user's registration status. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getEpaylaterBannerDetails/).
|
|
@@ -902,7 +902,7 @@ class Payment {
|
|
|
902
902
|
/**
|
|
903
903
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
904
904
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
905
|
-
* @returns {Promise<
|
|
905
|
+
* @returns {Promise<OrderBeneficiaryResponse>} - Success response
|
|
906
906
|
* @name getOrderBeneficiariesDetail
|
|
907
907
|
* @summary: Retrieve beneficiary details
|
|
908
908
|
* @description: Get beneficiary details like bank name , ifsc code , branch name associated with a specific order for refund processing. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getOrderBeneficiariesDetail/).
|
|
@@ -940,7 +940,7 @@ class Payment {
|
|
|
940
940
|
/**
|
|
941
941
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
942
942
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
943
|
-
* @returns {Promise<
|
|
943
|
+
* @returns {Promise<GetPaymentLinkResponse>} - Success response
|
|
944
944
|
* @name getPaymentLink
|
|
945
945
|
* @summary: Get payment link
|
|
946
946
|
* @description: Get a generated payment link. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getPaymentLink/).
|
|
@@ -978,7 +978,7 @@ class Payment {
|
|
|
978
978
|
/**
|
|
979
979
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
980
980
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
981
|
-
* @returns {Promise<
|
|
981
|
+
* @returns {Promise<PaymentModeRouteResponse>} - Success response
|
|
982
982
|
* @name getPaymentModeRoutes
|
|
983
983
|
* @summary: Get payment modes
|
|
984
984
|
* @description: Get available payment methods on the payment page, specifying the aggregator for each option, such as 'Netbanking powered by Juspay' and 'Card powered by Razorpay'. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getPaymentModeRoutes/).
|
|
@@ -1037,7 +1037,7 @@ class Payment {
|
|
|
1037
1037
|
/**
|
|
1038
1038
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1039
1039
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1040
|
-
* @returns {Promise<
|
|
1040
|
+
* @returns {Promise<PaymentModeRouteResponse>} - Success response
|
|
1041
1041
|
* @name getPaymentModeRoutesPaymentLink
|
|
1042
1042
|
* @summary: Payment modes for payment link
|
|
1043
1043
|
* @description: List payment modes available for a given payment link. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getPaymentModeRoutesPaymentLink/).
|
|
@@ -1075,7 +1075,7 @@ class Payment {
|
|
|
1075
1075
|
/**
|
|
1076
1076
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1077
1077
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1078
|
-
* @returns {Promise<
|
|
1078
|
+
* @returns {Promise<PaymentModeRouteResponse>} - Success response
|
|
1079
1079
|
* @name getPosPaymentModeRoutes
|
|
1080
1080
|
* @summary: POS payment modes
|
|
1081
1081
|
* @description: Get available payment methods on the payment page for POS, specifying the aggregator for each option, such as 'CARD powered by Juspay' and 'QR powered by Razorpay'. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getPosPaymentModeRoutes/).
|
|
@@ -1083,9 +1083,9 @@ class Payment {
|
|
|
1083
1083
|
async getPosPaymentModeRoutes(
|
|
1084
1084
|
{
|
|
1085
1085
|
amount,
|
|
1086
|
-
cartId,
|
|
1087
1086
|
pincode,
|
|
1088
1087
|
orderType,
|
|
1088
|
+
cartId,
|
|
1089
1089
|
checkoutMode,
|
|
1090
1090
|
refresh,
|
|
1091
1091
|
cardReference,
|
|
@@ -1130,7 +1130,7 @@ class Payment {
|
|
|
1130
1130
|
/**
|
|
1131
1131
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1132
1132
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1133
|
-
* @returns {Promise<
|
|
1133
|
+
* @returns {Promise<RupifiBannerResponse>} - Success response
|
|
1134
1134
|
* @name getRupifiBannerDetails
|
|
1135
1135
|
* @summary: Rupifi banner info
|
|
1136
1136
|
* @description: Get Rupifi payment banner details. It provides information such as the KYC URL and the current status of the Rupifi payment banner. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getRupifiBannerDetails/).
|
|
@@ -1167,7 +1167,7 @@ class Payment {
|
|
|
1167
1167
|
/**
|
|
1168
1168
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1169
1169
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1170
|
-
* @returns {Promise<
|
|
1170
|
+
* @returns {Promise<OrderBeneficiaryResponse>} - Success response
|
|
1171
1171
|
* @name getUserBeneficiariesDetail
|
|
1172
1172
|
* @summary: Retrieve beneficiary details
|
|
1173
1173
|
* @description: Get beneficiaries associated with the user for processing refunds, based on the provided order ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getUserBeneficiariesDetail/).
|
|
@@ -1205,7 +1205,7 @@ class Payment {
|
|
|
1205
1205
|
/**
|
|
1206
1206
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1207
1207
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1208
|
-
* @returns {Promise<
|
|
1208
|
+
* @returns {Promise<PaymentInitializationResponse>} - Success response
|
|
1209
1209
|
* @name initialisePayment
|
|
1210
1210
|
* @summary: Start payment process
|
|
1211
1211
|
* @description: Initiate the payment procedure for an order. Upon successful initiation, it returns a details including the success status, aggregator information, payment method, status, merchant order ID aggregator order , polling URL, timeout, virtual ID, Razorpay payment ID, customer ID, and device ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/initialisePayment/).
|
|
@@ -1242,7 +1242,7 @@ class Payment {
|
|
|
1242
1242
|
/**
|
|
1243
1243
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1244
1244
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1245
|
-
* @returns {Promise<
|
|
1245
|
+
* @returns {Promise<PaymentInitializationResponse>} - Success response
|
|
1246
1246
|
* @name initialisePaymentPaymentLink
|
|
1247
1247
|
* @summary: Initialize payment link
|
|
1248
1248
|
* @description: Begin payment process for an order by initializing it through a payment link.Upon successful initialization, the response includes details about the payment status, aggregator details, order IDs, polling URL for status updates, and other relevant information. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/initialisePaymentPaymentLink/).
|
|
@@ -1316,7 +1316,7 @@ class Payment {
|
|
|
1316
1316
|
/**
|
|
1317
1317
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1318
1318
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1319
|
-
* @returns {Promise<
|
|
1319
|
+
* @returns {Promise<OutstandingOrderDetailsResponse>} - Success response
|
|
1320
1320
|
* @name outstandingOrderDetails
|
|
1321
1321
|
* @summary: Outstanding orders
|
|
1322
1322
|
* @description: Get details of orders with outstanding payments. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/outstandingOrderDetails/).
|
|
@@ -1354,7 +1354,7 @@ class Payment {
|
|
|
1354
1354
|
/**
|
|
1355
1355
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1356
1356
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1357
|
-
* @returns {Promise<
|
|
1357
|
+
* @returns {Promise<PaidOrderDetailsResponse>} - Success response
|
|
1358
1358
|
* @name paidOrderDetails
|
|
1359
1359
|
* @summary: Retrieve details of paid orders
|
|
1360
1360
|
* @description: Get details of orders that have been paid for, including shipment ID, order ID, due date, payment date, amount, and transaction ID, based on the aggregator merchant user ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/paidOrderDetails/).
|
|
@@ -1392,7 +1392,7 @@ class Payment {
|
|
|
1392
1392
|
/**
|
|
1393
1393
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1394
1394
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1395
|
-
* @returns {Promise<
|
|
1395
|
+
* @returns {Promise<PollingPaymentLinkResponse>} - Success response
|
|
1396
1396
|
* @name pollingPaymentLink
|
|
1397
1397
|
* @summary: Poll status of payment link
|
|
1398
1398
|
* @description: Get real-time information about the payment link's current status, such as whether it has been processed, cancelled, or expired. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/pollingPaymentLink/).
|
|
@@ -1430,13 +1430,13 @@ class Payment {
|
|
|
1430
1430
|
/**
|
|
1431
1431
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1432
1432
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1433
|
-
* @returns {Promise<
|
|
1433
|
+
* @returns {Promise<RedirectToAggregatorResponse>} - Success response
|
|
1434
1434
|
* @name redirectToAggregator
|
|
1435
1435
|
* @summary: Redirects users to the payment aggregator's interface
|
|
1436
|
-
* @description:
|
|
1436
|
+
* @description: Get details about the active card aggregator used by the user, including the aggregator's name. You can refresh the data by setting the 'refresh' parameter to true if needed. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/redirectToAggregator/).
|
|
1437
1437
|
*/
|
|
1438
1438
|
async redirectToAggregator(
|
|
1439
|
-
{
|
|
1439
|
+
{ source, aggregator, requestHeaders } = { requestHeaders: {} },
|
|
1440
1440
|
{ responseHeaders } = { responseHeaders: false }
|
|
1441
1441
|
) {
|
|
1442
1442
|
const query_params = {};
|
|
@@ -1469,7 +1469,7 @@ class Payment {
|
|
|
1469
1469
|
/**
|
|
1470
1470
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1471
1471
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1472
|
-
* @returns {Promise<
|
|
1472
|
+
* @returns {Promise<renderHTMLResponse>} - Success response
|
|
1473
1473
|
* @name renderHTML
|
|
1474
1474
|
* @summary: Render HTML
|
|
1475
1475
|
* @description: Render HTML for a payment aggregator page. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/renderHTML/).
|
|
@@ -1506,7 +1506,7 @@ class Payment {
|
|
|
1506
1506
|
/**
|
|
1507
1507
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1508
1508
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1509
|
-
* @returns {Promise<
|
|
1509
|
+
* @returns {Promise<ResendOrCancelPaymentResponse>} - Success response
|
|
1510
1510
|
* @name resendOrCancelPayment
|
|
1511
1511
|
* @summary: Resend or cancel a pending payment transaction
|
|
1512
1512
|
* @description: Resend or cancel payment link that have been initiated but may require modification or cancellation for various reasons, ensuring flexibility and control in payment processing. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/resendOrCancelPayment/).
|
|
@@ -1543,7 +1543,7 @@ class Payment {
|
|
|
1543
1543
|
/**
|
|
1544
1544
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1545
1545
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1546
|
-
* @returns {Promise<
|
|
1546
|
+
* @returns {Promise<ResendPaymentLinkResponse>} - Success response
|
|
1547
1547
|
* @name resendPaymentLink
|
|
1548
1548
|
* @summary: Resend payment link
|
|
1549
1549
|
* @description: Resend an existing payment link to the user to complete the payment. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/resendPaymentLink/).
|
|
@@ -1580,7 +1580,7 @@ class Payment {
|
|
|
1580
1580
|
/**
|
|
1581
1581
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1582
1582
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1583
|
-
* @returns {Promise<
|
|
1583
|
+
* @returns {Promise<SetDefaultBeneficiaryResponse>} - Success response
|
|
1584
1584
|
* @name updateDefaultBeneficiary
|
|
1585
1585
|
* @summary: Set default beneficiary for refund
|
|
1586
1586
|
* @description: Update default beneficiary for the order refund of the user. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/updateDefaultBeneficiary/).
|
|
@@ -1617,7 +1617,7 @@ class Payment {
|
|
|
1617
1617
|
/**
|
|
1618
1618
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1619
1619
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1620
|
-
* @returns {Promise<
|
|
1620
|
+
* @returns {Promise<ValidateVPAResponse>} - Success response
|
|
1621
1621
|
* @name validateVPA
|
|
1622
1622
|
* @summary: Validate VPA
|
|
1623
1623
|
* @description: Validate if a Virtual Payment Address (VPA) is valid for processing payments and returns the validation result.is_valid boolean value indicating whether the VPA is valid for payments. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/validateVPA/).
|
|
@@ -1654,7 +1654,7 @@ class Payment {
|
|
|
1654
1654
|
/**
|
|
1655
1655
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1656
1656
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1657
|
-
* @returns {Promise<
|
|
1657
|
+
* @returns {Promise<ChargeCustomerResponse>} - Success response
|
|
1658
1658
|
* @name verifyAndChargePayment
|
|
1659
1659
|
* @summary: Verify order confirmation and charge
|
|
1660
1660
|
* @description: Verify the payment status and charge from the customer's BNPL (Buy Now, Pay Later) account after order confirmation. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/verifyAndChargePayment/).
|
|
@@ -1691,7 +1691,7 @@ class Payment {
|
|
|
1691
1691
|
/**
|
|
1692
1692
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1693
1693
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1694
|
-
* @returns {Promise<
|
|
1694
|
+
* @returns {Promise<ValidateCustomerResponse>} - Success response
|
|
1695
1695
|
* @name verifyCustomerForPayment
|
|
1696
1696
|
* @summary: Verify payment customer
|
|
1697
1697
|
* @description: Verify if the user is eligible for pay-later payment from the payment aggregator side using the customer's phone number. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/verifyCustomerForPayment/).
|
|
@@ -1728,7 +1728,7 @@ class Payment {
|
|
|
1728
1728
|
/**
|
|
1729
1729
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1730
1730
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1731
|
-
* @returns {Promise<
|
|
1731
|
+
* @returns {Promise<IfscCodeResponse>} - Success response
|
|
1732
1732
|
* @name verifyIfscCode
|
|
1733
1733
|
* @summary: Verify IFSC
|
|
1734
1734
|
* @description: Validate IFSC code and returns bank details if valid. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/verifyIfscCode/).
|
|
@@ -1766,7 +1766,7 @@ class Payment {
|
|
|
1766
1766
|
/**
|
|
1767
1767
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1768
1768
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1769
|
-
* @returns {Promise<
|
|
1769
|
+
* @returns {Promise<AddBeneficiaryViaOtpVerificationResponse>} - Success response
|
|
1770
1770
|
* @name verifyOtpAndAddBeneficiaryForBank
|
|
1771
1771
|
* @summary: Verify OTP for bank and add beneficiary
|
|
1772
1772
|
* @description: Verify the OTP provided by the user and adds a bank beneficiary for refund processing. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/verifyOtpAndAddBeneficiaryForBank/).
|
|
@@ -1803,7 +1803,7 @@ class Payment {
|
|
|
1803
1803
|
/**
|
|
1804
1804
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1805
1805
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1806
|
-
* @returns {Promise<
|
|
1806
|
+
* @returns {Promise<WalletOtpResponse>} - Success response
|
|
1807
1807
|
* @name verifyOtpAndAddBeneficiaryForWallet
|
|
1808
1808
|
* @summary: Verify OTP for wallet
|
|
1809
1809
|
* @description: Verify OTP provided by the user and adds a wallet beneficiary. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/verifyOtpAndAddBeneficiaryForWallet/).
|
|
@@ -16,12 +16,12 @@ declare class Rewards {
|
|
|
16
16
|
/**
|
|
17
17
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
18
18
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
19
|
-
* @returns {Promise<
|
|
19
|
+
* @returns {Promise<CatalogueOrderResponse>} - Success response
|
|
20
20
|
* @name catalogueOrder
|
|
21
21
|
* @summary: Order from catalogue
|
|
22
|
-
* @description: Place
|
|
22
|
+
* @description: Place an reward on order items available in the catalogue. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/catalogueOrder/).
|
|
23
23
|
*/
|
|
24
|
-
catalogueOrder({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
24
|
+
catalogueOrder({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CatalogueOrderResponse>;
|
|
25
25
|
/**
|
|
26
26
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
27
27
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
@@ -34,46 +34,46 @@ declare class Rewards {
|
|
|
34
34
|
/**
|
|
35
35
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
36
36
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
37
|
-
* @returns {Promise<
|
|
37
|
+
* @returns {Promise<OrderDiscountResponse>} - Success response
|
|
38
38
|
* @name getOrderDiscount
|
|
39
39
|
* @summary: Order discount
|
|
40
40
|
* @description: Retrieve the discount applied to a specific order. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/getOrderDiscount/).
|
|
41
41
|
*/
|
|
42
|
-
getOrderDiscount({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
42
|
+
getOrderDiscount({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<OrderDiscountResponse>;
|
|
43
43
|
/**
|
|
44
44
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
45
45
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
46
|
-
* @returns {Promise<
|
|
46
|
+
* @returns {Promise<PointsResponse>} - Success response
|
|
47
47
|
* @name getUserPoints
|
|
48
48
|
* @summary: Current points
|
|
49
49
|
* @description: Retrieves the current reward points balance for the user. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/getUserPoints/).
|
|
50
50
|
*/
|
|
51
|
-
getUserPoints({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
51
|
+
getUserPoints({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PointsResponse>;
|
|
52
52
|
/**
|
|
53
53
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
54
54
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
55
|
-
* @returns {Promise<
|
|
55
|
+
* @returns {Promise<PointsHistoryResponse>} - Success response
|
|
56
56
|
* @name getUserPointsHistory
|
|
57
57
|
* @summary: Points history
|
|
58
58
|
* @description: Gets the historical data of points earned or spent by the user. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/getUserPointsHistory/).
|
|
59
59
|
*/
|
|
60
|
-
getUserPointsHistory({ pageId, pageSize, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
60
|
+
getUserPointsHistory({ pageId, pageSize, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PointsHistoryResponse>;
|
|
61
61
|
/**
|
|
62
62
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
63
63
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
64
|
-
* @returns {Promise<
|
|
64
|
+
* @returns {Promise<ReferralDetailsResponse>} - Success response
|
|
65
65
|
* @name getUserReferralDetails
|
|
66
66
|
* @summary: Referral details
|
|
67
67
|
* @description: Gets the details of the user’s referral status and codes. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/getUserReferralDetails/).
|
|
68
68
|
*/
|
|
69
|
-
getUserReferralDetails({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
69
|
+
getUserReferralDetails({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ReferralDetailsResponse>;
|
|
70
70
|
/**
|
|
71
71
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
72
72
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
73
|
-
* @returns {Promise<
|
|
73
|
+
* @returns {Promise<RedeemReferralCodeResponse>} - Success response
|
|
74
74
|
* @name redeemReferralCode
|
|
75
75
|
* @summary: Redeem code
|
|
76
76
|
* @description: Applies a referral code to earn or redeem rewards. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/redeemReferralCode/).
|
|
77
77
|
*/
|
|
78
|
-
redeemReferralCode({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
78
|
+
redeemReferralCode({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<RedeemReferralCodeResponse>;
|
|
79
79
|
}
|
|
@@ -44,10 +44,10 @@ class Rewards {
|
|
|
44
44
|
/**
|
|
45
45
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
46
46
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
47
|
-
* @returns {Promise<
|
|
47
|
+
* @returns {Promise<CatalogueOrderResponse>} - Success response
|
|
48
48
|
* @name catalogueOrder
|
|
49
49
|
* @summary: Order from catalogue
|
|
50
|
-
* @description: Place
|
|
50
|
+
* @description: Place an reward on order items available in the catalogue. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/catalogueOrder/).
|
|
51
51
|
*/
|
|
52
52
|
async catalogueOrder(
|
|
53
53
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -127,7 +127,7 @@ class Rewards {
|
|
|
127
127
|
/**
|
|
128
128
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
129
129
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
130
|
-
* @returns {Promise<
|
|
130
|
+
* @returns {Promise<OrderDiscountResponse>} - Success response
|
|
131
131
|
* @name getOrderDiscount
|
|
132
132
|
* @summary: Order discount
|
|
133
133
|
* @description: Retrieve the discount applied to a specific order. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/getOrderDiscount/).
|
|
@@ -164,7 +164,7 @@ class Rewards {
|
|
|
164
164
|
/**
|
|
165
165
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
166
166
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
167
|
-
* @returns {Promise<
|
|
167
|
+
* @returns {Promise<PointsResponse>} - Success response
|
|
168
168
|
* @name getUserPoints
|
|
169
169
|
* @summary: Current points
|
|
170
170
|
* @description: Retrieves the current reward points balance for the user. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/getUserPoints/).
|
|
@@ -201,7 +201,7 @@ class Rewards {
|
|
|
201
201
|
/**
|
|
202
202
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
203
203
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
204
|
-
* @returns {Promise<
|
|
204
|
+
* @returns {Promise<PointsHistoryResponse>} - Success response
|
|
205
205
|
* @name getUserPointsHistory
|
|
206
206
|
* @summary: Points history
|
|
207
207
|
* @description: Gets the historical data of points earned or spent by the user. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/getUserPointsHistory/).
|
|
@@ -240,7 +240,7 @@ class Rewards {
|
|
|
240
240
|
/**
|
|
241
241
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
242
242
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
243
|
-
* @returns {Promise<
|
|
243
|
+
* @returns {Promise<ReferralDetailsResponse>} - Success response
|
|
244
244
|
* @name getUserReferralDetails
|
|
245
245
|
* @summary: Referral details
|
|
246
246
|
* @description: Gets the details of the user’s referral status and codes. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/getUserReferralDetails/).
|
|
@@ -277,7 +277,7 @@ class Rewards {
|
|
|
277
277
|
/**
|
|
278
278
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
279
279
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
280
|
-
* @returns {Promise<
|
|
280
|
+
* @returns {Promise<RedeemReferralCodeResponse>} - Success response
|
|
281
281
|
* @name redeemReferralCode
|
|
282
282
|
* @summary: Redeem code
|
|
283
283
|
* @description: Applies a referral code to earn or redeem rewards. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/redeemReferralCode/).
|
|
@@ -27,7 +27,7 @@ declare class Theme {
|
|
|
27
27
|
* @summary: Get applied theme
|
|
28
28
|
* @description: Gets the theme configuration and template details of a theme applied to the application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/theme/getAppliedTheme/).
|
|
29
29
|
*/
|
|
30
|
-
getAppliedTheme({
|
|
30
|
+
getAppliedTheme({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ThemesSchema>;
|
|
31
31
|
/**
|
|
32
32
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
33
33
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
@@ -45,5 +45,5 @@ declare class Theme {
|
|
|
45
45
|
* @summary: Get theme for preview
|
|
46
46
|
* @description: Gets the theme configuration and template details of a theme by theme id. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/theme/getThemeForPreview/).
|
|
47
47
|
*/
|
|
48
|
-
getThemeForPreview({ themeId,
|
|
48
|
+
getThemeForPreview({ themeId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<ThemesSchema>;
|
|
49
49
|
}
|
|
@@ -88,11 +88,10 @@ class Theme {
|
|
|
88
88
|
* @description: Gets the theme configuration and template details of a theme applied to the application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/theme/getAppliedTheme/).
|
|
89
89
|
*/
|
|
90
90
|
async getAppliedTheme(
|
|
91
|
-
{
|
|
91
|
+
{ requestHeaders } = { requestHeaders: {} },
|
|
92
92
|
{ responseHeaders } = { responseHeaders: false }
|
|
93
93
|
) {
|
|
94
94
|
const query_params = {};
|
|
95
|
-
query_params["filters"] = filters;
|
|
96
95
|
|
|
97
96
|
const xHeaders = {};
|
|
98
97
|
|
|
@@ -185,7 +184,7 @@ class Theme {
|
|
|
185
184
|
* @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/).
|
|
186
185
|
*/
|
|
187
186
|
async getThemeForPreview(
|
|
188
|
-
{ themeId,
|
|
187
|
+
{ themeId, requestHeaders } = { requestHeaders: {} },
|
|
189
188
|
{ responseHeaders } = { responseHeaders: false }
|
|
190
189
|
) {
|
|
191
190
|
const errors = validateRequiredParams(arguments[0], ["themeId"]);
|
|
@@ -198,7 +197,6 @@ class Theme {
|
|
|
198
197
|
}
|
|
199
198
|
|
|
200
199
|
const query_params = {};
|
|
201
|
-
query_params["filters"] = filters;
|
|
202
200
|
|
|
203
201
|
const xHeaders = {};
|
|
204
202
|
|