@gofynd/fdk-client-javascript 1.4.12 → 1.4.14
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 +2 -2
- package/sdk/application/ApplicationClient.d.ts +2 -0
- package/sdk/application/ApplicationClient.js +2 -0
- package/sdk/application/Cart/CartApplicationClient.d.ts +60 -53
- package/sdk/application/Cart/CartApplicationClient.js +130 -53
- package/sdk/application/Cart/CartApplicationModel.d.ts +489 -143
- package/sdk/application/Cart/CartApplicationModel.js +380 -159
- package/sdk/application/Cart/CartApplicationValidator.d.ts +38 -19
- package/sdk/application/Cart/CartApplicationValidator.js +34 -18
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +88 -68
- package/sdk/application/Catalog/CatalogApplicationClient.js +114 -94
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +194 -142
- package/sdk/application/Catalog/CatalogApplicationModel.js +171 -133
- package/sdk/application/Common/CommonApplicationClient.d.ts +3 -2
- package/sdk/application/Common/CommonApplicationClient.js +6 -5
- package/sdk/application/Common/CommonApplicationModel.d.ts +9 -9
- package/sdk/application/Common/CommonApplicationModel.js +6 -6
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +34 -27
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +34 -27
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +45 -57
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +35 -47
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +2 -2
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +2 -2
- package/sdk/application/Content/ContentApplicationClient.d.ts +23 -33
- package/sdk/application/Content/ContentApplicationClient.js +54 -75
- package/sdk/application/Content/ContentApplicationModel.d.ts +96 -39
- package/sdk/application/Content/ContentApplicationModel.js +88 -34
- package/sdk/application/Content/ContentApplicationValidator.d.ts +23 -17
- package/sdk/application/Content/ContentApplicationValidator.js +15 -10
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +9 -8
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +14 -13
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +23 -25
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +16 -18
- package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +6 -6
- package/sdk/application/FileStorage/FileStorageApplicationValidator.js +6 -6
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +36 -0
- package/sdk/application/Finance/FinanceApplicationClient.js +202 -0
- package/sdk/application/Finance/FinanceApplicationModel.d.ts +289 -0
- package/sdk/application/Finance/FinanceApplicationModel.js +208 -0
- package/sdk/application/Finance/FinanceApplicationValidator.d.ts +25 -0
- package/sdk/application/Finance/FinanceApplicationValidator.js +31 -0
- package/sdk/application/Lead/LeadApplicationClient.d.ts +2 -3
- package/sdk/application/Lead/LeadApplicationClient.js +2 -3
- package/sdk/application/Lead/LeadApplicationModel.d.ts +11 -11
- package/sdk/application/Lead/LeadApplicationModel.js +19 -19
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +39 -16
- package/sdk/application/Logistic/LogisticApplicationClient.js +189 -21
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +532 -173
- package/sdk/application/Logistic/LogisticApplicationModel.js +409 -139
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +54 -9
- package/sdk/application/Logistic/LogisticApplicationValidator.js +42 -8
- package/sdk/application/Order/OrderApplicationClient.d.ts +24 -10
- package/sdk/application/Order/OrderApplicationClient.js +96 -13
- package/sdk/application/Order/OrderApplicationModel.d.ts +434 -102
- package/sdk/application/Order/OrderApplicationModel.js +278 -73
- package/sdk/application/Order/OrderApplicationValidator.d.ts +17 -3
- package/sdk/application/Order/OrderApplicationValidator.js +15 -2
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +96 -99
- package/sdk/application/Payment/PaymentApplicationClient.js +111 -114
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +293 -289
- package/sdk/application/Payment/PaymentApplicationModel.js +243 -241
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +46 -46
- package/sdk/application/Payment/PaymentApplicationValidator.js +46 -46
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +13 -16
- package/sdk/application/Rewards/RewardsApplicationClient.js +19 -22
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +37 -37
- package/sdk/application/Rewards/RewardsApplicationModel.js +29 -29
- package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +6 -6
- package/sdk/application/Rewards/RewardsApplicationValidator.js +6 -6
- package/sdk/application/Share/ShareApplicationModel.js +1 -1
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +2 -2
- package/sdk/application/Theme/ThemeApplicationClient.js +8 -6
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +51 -19
- package/sdk/application/Theme/ThemeApplicationModel.js +47 -24
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +16 -3
- package/sdk/application/Theme/ThemeApplicationValidator.js +9 -2
- package/sdk/application/User/UserApplicationClient.d.ts +10 -10
- package/sdk/application/User/UserApplicationClient.js +10 -10
- package/sdk/application/User/UserApplicationModel.d.ts +17 -17
- package/sdk/application/User/UserApplicationModel.js +16 -16
- package/sdk/application/User/UserApplicationValidator.d.ts +2 -2
- package/sdk/application/User/UserApplicationValidator.js +2 -2
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
- package/sdk/application/Webhook/WebhookApplicationClient.js +4 -4
- package/sdk/application/Webhook/WebhookApplicationModel.d.ts +11 -9
- package/sdk/application/Webhook/WebhookApplicationModel.js +8 -6
- package/sdk/application/Webhook/WebhookApplicationValidator.d.ts +2 -2
- package/sdk/application/Webhook/WebhookApplicationValidator.js +2 -2
- package/sdk/application/index.d.ts +1 -0
- package/sdk/application/index.js +2 -0
- package/sdk/common/Clickstream.js +12 -0
- package/sdk/common/Constant.d.ts +5 -0
- package/sdk/common/Constant.js +5 -0
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +86 -12
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +582 -24
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +116 -19
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +121 -14
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +8 -1
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +51 -4
- 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 +126 -20
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +970 -20
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +767 -85
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +429 -76
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +10 -0
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +120 -6
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +8 -10
- package/sdk/partner/Theme/ThemePartnerClient.js +14 -16
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +99 -39
- package/sdk/partner/Theme/ThemePartnerModel.js +95 -38
- package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +28 -18
- package/sdk/partner/Webhook/WebhookPartnerClient.js +103 -18
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +612 -179
- package/sdk/partner/Webhook/WebhookPartnerModel.js +253 -150
- package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +1 -0
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +11 -3
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +5 -4
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +14 -8
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +59 -9
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +40 -4
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +2 -32
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +3 -243
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +11 -130
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +12 -152
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -39
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +0 -35
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
- package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +443 -388
- package/sdk/platform/Billing/BillingPlatformModel.js +280 -263
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +16 -18
- package/sdk/platform/Billing/BillingPlatformValidator.js +8 -9
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +134 -103
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +407 -112
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +111 -65
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +106 -44
- package/sdk/platform/Cart/CartPlatformModel.d.ts +4978 -1303
- package/sdk/platform/Cart/CartPlatformModel.js +1922 -1217
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +192 -164
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +371 -343
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +99 -99
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +54 -54
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +139 -116
- package/sdk/platform/Catalog/CatalogPlatformClient.js +191 -168
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1374 -749
- package/sdk/platform/Catalog/CatalogPlatformModel.js +1241 -830
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +18 -18
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +18 -18
- package/sdk/platform/Common/CommonPlatformClient.d.ts +3 -2
- package/sdk/platform/Common/CommonPlatformClient.js +3 -2
- package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
- package/sdk/platform/Common/CommonPlatformModel.js +6 -6
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +16 -17
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +16 -17
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +43 -33
- package/sdk/platform/Communication/CommunicationPlatformModel.js +38 -34
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +46 -42
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +47 -43
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +210 -212
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +46 -33
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +67 -54
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +45 -24
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +134 -30
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +283 -124
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +219 -94
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +37 -9
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +27 -8
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +124 -141
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +449 -422
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +179 -141
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +168 -130
- package/sdk/platform/Content/ContentPlatformClient.d.ts +142 -106
- package/sdk/platform/Content/ContentPlatformClient.js +523 -336
- package/sdk/platform/Content/ContentPlatformModel.d.ts +1244 -397
- package/sdk/platform/Content/ContentPlatformModel.js +526 -392
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +168 -117
- package/sdk/platform/Content/ContentPlatformValidator.js +162 -108
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +14 -12
- package/sdk/platform/Discount/DiscountPlatformClient.js +14 -12
- 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 +94 -36
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +462 -60
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +62 -15
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +75 -13
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +19 -19
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +21 -21
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +370 -101
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +313 -84
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
- 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 +15 -4
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +83 -5
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +25 -4
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +16 -3
- package/sdk/platform/Order/OrderPlatformClient.d.ts +138 -101
- package/sdk/platform/Order/OrderPlatformClient.js +267 -203
- package/sdk/platform/Order/OrderPlatformModel.d.ts +4497 -877
- package/sdk/platform/Order/OrderPlatformModel.js +2336 -812
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +147 -50
- package/sdk/platform/Order/OrderPlatformValidator.js +75 -46
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +9 -7
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
- package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +93 -105
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +129 -141
- 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 +327 -313
- package/sdk/platform/Payment/PaymentPlatformModel.js +283 -273
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
- package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
- package/sdk/platform/PlatformClient.d.ts +0 -2
- package/sdk/platform/PlatformClient.js +0 -4
- 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 +45 -35
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +117 -38
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +22 -13
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +24 -12
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +40 -46
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +58 -64
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +602 -341
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +483 -284
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +8 -8
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Share/SharePlatformApplicationClient.js +2 -2
- package/sdk/platform/Share/SharePlatformModel.d.ts +36 -5
- package/sdk/platform/Share/SharePlatformModel.js +27 -4
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +8 -4
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +5 -0
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +2 -0
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +40 -13
- package/sdk/platform/Theme/ThemePlatformModel.js +38 -17
- 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 +25 -78
- package/sdk/platform/Webhook/WebhookPlatformClient.js +75 -470
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +720 -427
- package/sdk/platform/Webhook/WebhookPlatformModel.js +410 -386
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
- package/sdk/platform/index.d.ts +0 -1
- package/sdk/platform/index.js +0 -2
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +3 -2
- package/sdk/public/Configuration/ConfigurationPublicClient.js +6 -5
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
- package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
- package/sdk/public/Content/ContentPublicClient.d.ts +112 -2
- package/sdk/public/Content/ContentPublicClient.js +791 -5
- package/sdk/public/Content/ContentPublicModel.d.ts +549 -3
- package/sdk/public/Content/ContentPublicModel.js +649 -3
- package/sdk/public/Content/ContentPublicValidator.d.ts +69 -3
- package/sdk/public/Content/ContentPublicValidator.js +88 -2
- 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/platform/Finance/FinancePlatformClient.d.ts +0 -320
- package/sdk/platform/Finance/FinancePlatformClient.js +0 -2333
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +0 -2890
- package/sdk/platform/Finance/FinancePlatformModel.js +0 -2148
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
- package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
|
@@ -112,8 +112,7 @@ class Payment {
|
|
|
112
112
|
* @param {PaymentApplicationValidator.AddBeneficiaryDetailsParam} arg - Arg object.
|
|
113
113
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
114
114
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
115
|
-
* @returns {Promise<PaymentApplicationModel.
|
|
116
|
-
* Success response
|
|
115
|
+
* @returns {Promise<PaymentApplicationModel.RefundAccountDetails>} - Success response
|
|
117
116
|
* @name addBeneficiaryDetails
|
|
118
117
|
* @summary: Add beneficiary for refund
|
|
119
118
|
* @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/).
|
|
@@ -170,7 +169,7 @@ class Payment {
|
|
|
170
169
|
|
|
171
170
|
const {
|
|
172
171
|
error: res_error,
|
|
173
|
-
} = PaymentApplicationModel.
|
|
172
|
+
} = PaymentApplicationModel.RefundAccountDetails().validate(responseData, {
|
|
174
173
|
abortEarly: false,
|
|
175
174
|
allowUnknown: true,
|
|
176
175
|
});
|
|
@@ -195,8 +194,7 @@ class Payment {
|
|
|
195
194
|
*
|
|
196
195
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
197
196
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
198
|
-
* @returns {Promise<PaymentApplicationModel.
|
|
199
|
-
* Success response
|
|
197
|
+
* @returns {Promise<PaymentApplicationModel.RefundAccountDetails>} - Success response
|
|
200
198
|
* @name addRefundBankAccountUsingOTP
|
|
201
199
|
* @summary: Add refund account using OTP verification
|
|
202
200
|
* @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/).
|
|
@@ -253,7 +251,7 @@ class Payment {
|
|
|
253
251
|
|
|
254
252
|
const {
|
|
255
253
|
error: res_error,
|
|
256
|
-
} = PaymentApplicationModel.
|
|
254
|
+
} = PaymentApplicationModel.RefundAccountDetails().validate(responseData, {
|
|
257
255
|
abortEarly: false,
|
|
258
256
|
allowUnknown: true,
|
|
259
257
|
});
|
|
@@ -276,7 +274,7 @@ class Payment {
|
|
|
276
274
|
* @param {PaymentApplicationValidator.AttachCardToCustomerParam} arg - Arg object.
|
|
277
275
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
278
276
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
279
|
-
* @returns {Promise<PaymentApplicationModel.
|
|
277
|
+
* @returns {Promise<PaymentApplicationModel.AttachCardsDetails>} - Success response
|
|
280
278
|
* @name attachCardToCustomer
|
|
281
279
|
* @summary: Link payment card to customer
|
|
282
280
|
* @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/).
|
|
@@ -333,7 +331,7 @@ class Payment {
|
|
|
333
331
|
|
|
334
332
|
const {
|
|
335
333
|
error: res_error,
|
|
336
|
-
} = PaymentApplicationModel.
|
|
334
|
+
} = PaymentApplicationModel.AttachCardsDetails().validate(responseData, {
|
|
337
335
|
abortEarly: false,
|
|
338
336
|
allowUnknown: true,
|
|
339
337
|
});
|
|
@@ -356,7 +354,7 @@ class Payment {
|
|
|
356
354
|
* @param {PaymentApplicationValidator.CancelPaymentLinkParam} arg - Arg object.
|
|
357
355
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
358
356
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
359
|
-
* @returns {Promise<PaymentApplicationModel.
|
|
357
|
+
* @returns {Promise<PaymentApplicationModel.CancelPaymentLinkDetails>} -
|
|
360
358
|
* Success response
|
|
361
359
|
* @name cancelPaymentLink
|
|
362
360
|
* @summary: Cancel payment link
|
|
@@ -412,7 +410,7 @@ class Payment {
|
|
|
412
410
|
|
|
413
411
|
const {
|
|
414
412
|
error: res_error,
|
|
415
|
-
} = PaymentApplicationModel.
|
|
413
|
+
} = PaymentApplicationModel.CancelPaymentLinkDetails().validate(
|
|
416
414
|
responseData,
|
|
417
415
|
{ abortEarly: false, allowUnknown: true }
|
|
418
416
|
);
|
|
@@ -435,7 +433,8 @@ class Payment {
|
|
|
435
433
|
* @param {PaymentApplicationValidator.CardDetailsParam} arg - Arg object.
|
|
436
434
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
437
435
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
438
|
-
* @returns {Promise<PaymentApplicationModel.
|
|
436
|
+
* @returns {Promise<PaymentApplicationModel.CardDetailsFetchedDetails>} -
|
|
437
|
+
* Success response
|
|
439
438
|
* @name cardDetails
|
|
440
439
|
* @summary: Get card details
|
|
441
440
|
* @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/).
|
|
@@ -491,10 +490,10 @@ class Payment {
|
|
|
491
490
|
|
|
492
491
|
const {
|
|
493
492
|
error: res_error,
|
|
494
|
-
} = PaymentApplicationModel.
|
|
495
|
-
|
|
496
|
-
allowUnknown: true
|
|
497
|
-
|
|
493
|
+
} = PaymentApplicationModel.CardDetailsFetchedDetails().validate(
|
|
494
|
+
responseData,
|
|
495
|
+
{ abortEarly: false, allowUnknown: true }
|
|
496
|
+
);
|
|
498
497
|
|
|
499
498
|
if (res_error) {
|
|
500
499
|
if (this._conf.options.strictResponseCheck === true) {
|
|
@@ -516,9 +515,8 @@ class Payment {
|
|
|
516
515
|
*
|
|
517
516
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
518
517
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
519
|
-
* @returns {Promise<PaymentApplicationModel.
|
|
520
|
-
*
|
|
521
|
-
*
|
|
518
|
+
* @returns {Promise<PaymentApplicationModel.PaymentStatusUpdateDetails>} -
|
|
519
|
+
* Success response
|
|
522
520
|
* @name checkAndUpdatePaymentStatus
|
|
523
521
|
* @summary: Update payment status
|
|
524
522
|
* @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/).
|
|
@@ -575,7 +573,7 @@ class Payment {
|
|
|
575
573
|
|
|
576
574
|
const {
|
|
577
575
|
error: res_error,
|
|
578
|
-
} = PaymentApplicationModel.
|
|
576
|
+
} = PaymentApplicationModel.PaymentStatusUpdateDetails().validate(
|
|
579
577
|
responseData,
|
|
580
578
|
{ abortEarly: false, allowUnknown: true }
|
|
581
579
|
);
|
|
@@ -600,9 +598,8 @@ class Payment {
|
|
|
600
598
|
*
|
|
601
599
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
602
600
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
603
|
-
* @returns {Promise<PaymentApplicationModel.
|
|
604
|
-
*
|
|
605
|
-
*
|
|
601
|
+
* @returns {Promise<PaymentApplicationModel.PaymentStatusUpdateDetails>} -
|
|
602
|
+
* Success response
|
|
606
603
|
* @name checkAndUpdatePaymentStatusPaymentLink
|
|
607
604
|
* @summary: Update payment link status
|
|
608
605
|
* @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/).
|
|
@@ -659,7 +656,7 @@ class Payment {
|
|
|
659
656
|
|
|
660
657
|
const {
|
|
661
658
|
error: res_error,
|
|
662
|
-
} = PaymentApplicationModel.
|
|
659
|
+
} = PaymentApplicationModel.PaymentStatusUpdateDetails().validate(
|
|
663
660
|
responseData,
|
|
664
661
|
{ abortEarly: false, allowUnknown: true }
|
|
665
662
|
);
|
|
@@ -682,7 +679,7 @@ class Payment {
|
|
|
682
679
|
* @param {PaymentApplicationValidator.CheckCreditParam} arg - Arg object.
|
|
683
680
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
684
681
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
685
|
-
* @returns {Promise<PaymentApplicationModel.
|
|
682
|
+
* @returns {Promise<PaymentApplicationModel.CheckCreditDetails>} - Success response
|
|
686
683
|
* @name checkCredit
|
|
687
684
|
* @summary: Verify credit availability and status
|
|
688
685
|
* @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/).
|
|
@@ -738,7 +735,7 @@ class Payment {
|
|
|
738
735
|
|
|
739
736
|
const {
|
|
740
737
|
error: res_error,
|
|
741
|
-
} = PaymentApplicationModel.
|
|
738
|
+
} = PaymentApplicationModel.CheckCreditDetails().validate(responseData, {
|
|
742
739
|
abortEarly: false,
|
|
743
740
|
allowUnknown: true,
|
|
744
741
|
});
|
|
@@ -763,7 +760,7 @@ class Payment {
|
|
|
763
760
|
*
|
|
764
761
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
765
762
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
766
|
-
* @returns {Promise<PaymentApplicationModel.
|
|
763
|
+
* @returns {Promise<PaymentApplicationModel.CreateOrderUserDetails>} -
|
|
767
764
|
* Success response
|
|
768
765
|
* @name createOrderHandlerPaymentLink
|
|
769
766
|
* @summary: Create order for payment via link
|
|
@@ -821,7 +818,7 @@ class Payment {
|
|
|
821
818
|
|
|
822
819
|
const {
|
|
823
820
|
error: res_error,
|
|
824
|
-
} = PaymentApplicationModel.
|
|
821
|
+
} = PaymentApplicationModel.CreateOrderUserDetails().validate(
|
|
825
822
|
responseData,
|
|
826
823
|
{ abortEarly: false, allowUnknown: true }
|
|
827
824
|
);
|
|
@@ -844,7 +841,7 @@ class Payment {
|
|
|
844
841
|
* @param {PaymentApplicationValidator.CreatePaymentLinkParam} arg - Arg object.
|
|
845
842
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
846
843
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
847
|
-
* @returns {Promise<PaymentApplicationModel.
|
|
844
|
+
* @returns {Promise<PaymentApplicationModel.CreatePaymentLinkDetails>} -
|
|
848
845
|
* Success response
|
|
849
846
|
* @name createPaymentLink
|
|
850
847
|
* @summary: Create payment link
|
|
@@ -900,7 +897,7 @@ class Payment {
|
|
|
900
897
|
|
|
901
898
|
const {
|
|
902
899
|
error: res_error,
|
|
903
|
-
} = PaymentApplicationModel.
|
|
900
|
+
} = PaymentApplicationModel.CreatePaymentLinkDetails().validate(
|
|
904
901
|
responseData,
|
|
905
902
|
{ abortEarly: false, allowUnknown: true }
|
|
906
903
|
);
|
|
@@ -923,7 +920,7 @@ class Payment {
|
|
|
923
920
|
* @param {PaymentApplicationValidator.CreatePaymentOrderParam} arg - Arg object.
|
|
924
921
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
925
922
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
926
|
-
* @returns {Promise<PaymentApplicationModel.
|
|
923
|
+
* @returns {Promise<PaymentApplicationModel.PaymentOrderDetails>} - Success response
|
|
927
924
|
* @name createPaymentOrder
|
|
928
925
|
* @summary: Create Order
|
|
929
926
|
* @description: Create an order and payment on the aggregator side. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/createPaymentOrder/).
|
|
@@ -978,7 +975,7 @@ class Payment {
|
|
|
978
975
|
|
|
979
976
|
const {
|
|
980
977
|
error: res_error,
|
|
981
|
-
} = PaymentApplicationModel.
|
|
978
|
+
} = PaymentApplicationModel.PaymentOrderDetails().validate(responseData, {
|
|
982
979
|
abortEarly: false,
|
|
983
980
|
allowUnknown: true,
|
|
984
981
|
});
|
|
@@ -1001,7 +998,7 @@ class Payment {
|
|
|
1001
998
|
* @param {PaymentApplicationValidator.CustomerCreditSummaryParam} arg - Arg object.
|
|
1002
999
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1003
1000
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1004
|
-
* @returns {Promise<PaymentApplicationModel.
|
|
1001
|
+
* @returns {Promise<PaymentApplicationModel.CustomerCreditSummaryDetails>}
|
|
1005
1002
|
* - Success response
|
|
1006
1003
|
*
|
|
1007
1004
|
* @name customerCreditSummary
|
|
@@ -1061,7 +1058,7 @@ class Payment {
|
|
|
1061
1058
|
|
|
1062
1059
|
const {
|
|
1063
1060
|
error: res_error,
|
|
1064
|
-
} = PaymentApplicationModel.
|
|
1061
|
+
} = PaymentApplicationModel.CustomerCreditSummaryDetails().validate(
|
|
1065
1062
|
responseData,
|
|
1066
1063
|
{ abortEarly: false, allowUnknown: true }
|
|
1067
1064
|
);
|
|
@@ -1084,7 +1081,7 @@ class Payment {
|
|
|
1084
1081
|
* @param {PaymentApplicationValidator.CustomerOnboardParam} arg - Arg object.
|
|
1085
1082
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1086
1083
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1087
|
-
* @returns {Promise<PaymentApplicationModel.
|
|
1084
|
+
* @returns {Promise<PaymentApplicationModel.CustomerOnboardingDetails>} -
|
|
1088
1085
|
* Success response
|
|
1089
1086
|
* @name customerOnboard
|
|
1090
1087
|
* @summary: Onboard customer for payment
|
|
@@ -1140,7 +1137,7 @@ class Payment {
|
|
|
1140
1137
|
|
|
1141
1138
|
const {
|
|
1142
1139
|
error: res_error,
|
|
1143
|
-
} = PaymentApplicationModel.
|
|
1140
|
+
} = PaymentApplicationModel.CustomerOnboardingDetails().validate(
|
|
1144
1141
|
responseData,
|
|
1145
1142
|
{ abortEarly: false, allowUnknown: true }
|
|
1146
1143
|
);
|
|
@@ -1163,7 +1160,7 @@ class Payment {
|
|
|
1163
1160
|
* @param {PaymentApplicationValidator.DeleteUserCardParam} arg - Arg object.
|
|
1164
1161
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1165
1162
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1166
|
-
* @returns {Promise<PaymentApplicationModel.
|
|
1163
|
+
* @returns {Promise<PaymentApplicationModel.DeleteCardsDetails>} - Success response
|
|
1167
1164
|
* @name deleteUserCard
|
|
1168
1165
|
* @summary: Delete customer card
|
|
1169
1166
|
* @description: Delete payment card from the user's account. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/deleteUserCard/).
|
|
@@ -1218,7 +1215,7 @@ class Payment {
|
|
|
1218
1215
|
|
|
1219
1216
|
const {
|
|
1220
1217
|
error: res_error,
|
|
1221
|
-
} = PaymentApplicationModel.
|
|
1218
|
+
} = PaymentApplicationModel.DeleteCardsDetails().validate(responseData, {
|
|
1222
1219
|
abortEarly: false,
|
|
1223
1220
|
allowUnknown: true,
|
|
1224
1221
|
});
|
|
@@ -1321,7 +1318,7 @@ class Payment {
|
|
|
1321
1318
|
*
|
|
1322
1319
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1323
1320
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1324
|
-
* @returns {Promise<PaymentApplicationModel.
|
|
1321
|
+
* @returns {Promise<PaymentApplicationModel.RefundTransferModeUpdateDetails>}
|
|
1325
1322
|
* - Success response
|
|
1326
1323
|
*
|
|
1327
1324
|
* @name enableOrDisableRefundTransferMode
|
|
@@ -1380,7 +1377,7 @@ class Payment {
|
|
|
1380
1377
|
|
|
1381
1378
|
const {
|
|
1382
1379
|
error: res_error,
|
|
1383
|
-
} = PaymentApplicationModel.
|
|
1380
|
+
} = PaymentApplicationModel.RefundTransferModeUpdateDetails().validate(
|
|
1384
1381
|
responseData,
|
|
1385
1382
|
{ abortEarly: false, allowUnknown: true }
|
|
1386
1383
|
);
|
|
@@ -1403,7 +1400,7 @@ class Payment {
|
|
|
1403
1400
|
* @param {PaymentApplicationValidator.GetActiveCardAggregatorParam} arg - Arg object.
|
|
1404
1401
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1405
1402
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1406
|
-
* @returns {Promise<PaymentApplicationModel.
|
|
1403
|
+
* @returns {Promise<PaymentApplicationModel.ActiveCardPaymentGatewayDetails>}
|
|
1407
1404
|
* - Success response
|
|
1408
1405
|
*
|
|
1409
1406
|
* @name getActiveCardAggregator
|
|
@@ -1463,7 +1460,7 @@ class Payment {
|
|
|
1463
1460
|
|
|
1464
1461
|
const {
|
|
1465
1462
|
error: res_error,
|
|
1466
|
-
} = PaymentApplicationModel.
|
|
1463
|
+
} = PaymentApplicationModel.ActiveCardPaymentGatewayDetails().validate(
|
|
1467
1464
|
responseData,
|
|
1468
1465
|
{ abortEarly: false, allowUnknown: true }
|
|
1469
1466
|
);
|
|
@@ -1488,7 +1485,8 @@ class Payment {
|
|
|
1488
1485
|
*
|
|
1489
1486
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1490
1487
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1491
|
-
* @returns {Promise<PaymentApplicationModel.
|
|
1488
|
+
* @returns {Promise<PaymentApplicationModel.TransferModeFetchDetails>} -
|
|
1489
|
+
* Success response
|
|
1492
1490
|
* @name getActiveRefundTransferModes
|
|
1493
1491
|
* @summary: Get refund transfer modes
|
|
1494
1492
|
* @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/).
|
|
@@ -1545,10 +1543,10 @@ class Payment {
|
|
|
1545
1543
|
|
|
1546
1544
|
const {
|
|
1547
1545
|
error: res_error,
|
|
1548
|
-
} = PaymentApplicationModel.
|
|
1549
|
-
|
|
1550
|
-
allowUnknown: true
|
|
1551
|
-
|
|
1546
|
+
} = PaymentApplicationModel.TransferModeFetchDetails().validate(
|
|
1547
|
+
responseData,
|
|
1548
|
+
{ abortEarly: false, allowUnknown: true }
|
|
1549
|
+
);
|
|
1552
1550
|
|
|
1553
1551
|
if (res_error) {
|
|
1554
1552
|
if (this._conf.options.strictResponseCheck === true) {
|
|
@@ -1568,7 +1566,7 @@ class Payment {
|
|
|
1568
1566
|
* @param {PaymentApplicationValidator.GetActiveUserCardsParam} arg - Arg object.
|
|
1569
1567
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1570
1568
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1571
|
-
* @returns {Promise<PaymentApplicationModel.
|
|
1569
|
+
* @returns {Promise<PaymentApplicationModel.ListCardsDetails>} - Success response
|
|
1572
1570
|
* @name getActiveUserCards
|
|
1573
1571
|
* @summary: Get customer cards
|
|
1574
1572
|
* @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/).
|
|
@@ -1624,7 +1622,7 @@ class Payment {
|
|
|
1624
1622
|
|
|
1625
1623
|
const {
|
|
1626
1624
|
error: res_error,
|
|
1627
|
-
} = PaymentApplicationModel.
|
|
1625
|
+
} = PaymentApplicationModel.ListCardsDetails().validate(responseData, {
|
|
1628
1626
|
abortEarly: false,
|
|
1629
1627
|
allowUnknown: true,
|
|
1630
1628
|
});
|
|
@@ -1647,9 +1645,8 @@ class Payment {
|
|
|
1647
1645
|
* @param {PaymentApplicationValidator.GetAggregatorsConfigParam} arg - Arg object.
|
|
1648
1646
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1649
1647
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1650
|
-
* @returns {Promise<PaymentApplicationModel.
|
|
1651
|
-
*
|
|
1652
|
-
*
|
|
1648
|
+
* @returns {Promise<PaymentApplicationModel.AggregatorsConfigDetail>} -
|
|
1649
|
+
* Success response
|
|
1653
1650
|
* @name getAggregatorsConfig
|
|
1654
1651
|
* @summary: Get payment aggregators
|
|
1655
1652
|
* @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/).
|
|
@@ -1708,7 +1705,7 @@ class Payment {
|
|
|
1708
1705
|
|
|
1709
1706
|
const {
|
|
1710
1707
|
error: res_error,
|
|
1711
|
-
} = PaymentApplicationModel.
|
|
1708
|
+
} = PaymentApplicationModel.AggregatorsConfigDetail().validate(
|
|
1712
1709
|
responseData,
|
|
1713
1710
|
{ abortEarly: false, allowUnknown: true }
|
|
1714
1711
|
);
|
|
@@ -1733,7 +1730,7 @@ class Payment {
|
|
|
1733
1730
|
*
|
|
1734
1731
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1735
1732
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1736
|
-
* @returns {Promise<PaymentApplicationModel.
|
|
1733
|
+
* @returns {Promise<PaymentApplicationModel.EpaylaterBannerDetails>} -
|
|
1737
1734
|
* Success response
|
|
1738
1735
|
* @name getEpaylaterBannerDetails
|
|
1739
1736
|
* @summary: Epaylater banner info
|
|
@@ -1791,7 +1788,7 @@ class Payment {
|
|
|
1791
1788
|
|
|
1792
1789
|
const {
|
|
1793
1790
|
error: res_error,
|
|
1794
|
-
} = PaymentApplicationModel.
|
|
1791
|
+
} = PaymentApplicationModel.EpaylaterBannerDetails().validate(
|
|
1795
1792
|
responseData,
|
|
1796
1793
|
{ abortEarly: false, allowUnknown: true }
|
|
1797
1794
|
);
|
|
@@ -1816,8 +1813,9 @@ class Payment {
|
|
|
1816
1813
|
*
|
|
1817
1814
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1818
1815
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1819
|
-
* @returns {Promise<PaymentApplicationModel.
|
|
1820
|
-
* Success response
|
|
1816
|
+
* @returns {Promise<PaymentApplicationModel.OrderBeneficiaryFetchDetails>}
|
|
1817
|
+
* - Success response
|
|
1818
|
+
*
|
|
1821
1819
|
* @name getOrderBeneficiariesDetail
|
|
1822
1820
|
* @summary: Retrieve beneficiary details
|
|
1823
1821
|
* @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/).
|
|
@@ -1875,7 +1873,7 @@ class Payment {
|
|
|
1875
1873
|
|
|
1876
1874
|
const {
|
|
1877
1875
|
error: res_error,
|
|
1878
|
-
} = PaymentApplicationModel.
|
|
1876
|
+
} = PaymentApplicationModel.OrderBeneficiaryFetchDetails().validate(
|
|
1879
1877
|
responseData,
|
|
1880
1878
|
{ abortEarly: false, allowUnknown: true }
|
|
1881
1879
|
);
|
|
@@ -1898,7 +1896,7 @@ class Payment {
|
|
|
1898
1896
|
* @param {PaymentApplicationValidator.GetPaymentLinkParam} arg - Arg object.
|
|
1899
1897
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1900
1898
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1901
|
-
* @returns {Promise<PaymentApplicationModel.
|
|
1899
|
+
* @returns {Promise<PaymentApplicationModel.GetPaymentLinkDetails>} -
|
|
1902
1900
|
* Success response
|
|
1903
1901
|
* @name getPaymentLink
|
|
1904
1902
|
* @summary: Get payment link
|
|
@@ -1955,10 +1953,10 @@ class Payment {
|
|
|
1955
1953
|
|
|
1956
1954
|
const {
|
|
1957
1955
|
error: res_error,
|
|
1958
|
-
} = PaymentApplicationModel.
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
);
|
|
1956
|
+
} = PaymentApplicationModel.GetPaymentLinkDetails().validate(responseData, {
|
|
1957
|
+
abortEarly: false,
|
|
1958
|
+
allowUnknown: true,
|
|
1959
|
+
});
|
|
1962
1960
|
|
|
1963
1961
|
if (res_error) {
|
|
1964
1962
|
if (this._conf.options.strictResponseCheck === true) {
|
|
@@ -1978,7 +1976,7 @@ class Payment {
|
|
|
1978
1976
|
* @param {PaymentApplicationValidator.GetPaymentModeRoutesParam} arg - Arg object.
|
|
1979
1977
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1980
1978
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1981
|
-
* @returns {Promise<PaymentApplicationModel.
|
|
1979
|
+
* @returns {Promise<PaymentApplicationModel.PaymentModeRouteDetails>} -
|
|
1982
1980
|
* Success response
|
|
1983
1981
|
* @name getPaymentModeRoutes
|
|
1984
1982
|
* @summary: Get payment modes
|
|
@@ -2080,7 +2078,7 @@ class Payment {
|
|
|
2080
2078
|
|
|
2081
2079
|
const {
|
|
2082
2080
|
error: res_error,
|
|
2083
|
-
} = PaymentApplicationModel.
|
|
2081
|
+
} = PaymentApplicationModel.PaymentModeRouteDetails().validate(
|
|
2084
2082
|
responseData,
|
|
2085
2083
|
{ abortEarly: false, allowUnknown: true }
|
|
2086
2084
|
);
|
|
@@ -2105,7 +2103,7 @@ class Payment {
|
|
|
2105
2103
|
*
|
|
2106
2104
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
2107
2105
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
2108
|
-
* @returns {Promise<PaymentApplicationModel.
|
|
2106
|
+
* @returns {Promise<PaymentApplicationModel.PaymentModeRouteDetails>} -
|
|
2109
2107
|
* Success response
|
|
2110
2108
|
* @name getPaymentModeRoutesPaymentLink
|
|
2111
2109
|
* @summary: Payment modes for payment link
|
|
@@ -2164,7 +2162,7 @@ class Payment {
|
|
|
2164
2162
|
|
|
2165
2163
|
const {
|
|
2166
2164
|
error: res_error,
|
|
2167
|
-
} = PaymentApplicationModel.
|
|
2165
|
+
} = PaymentApplicationModel.PaymentModeRouteDetails().validate(
|
|
2168
2166
|
responseData,
|
|
2169
2167
|
{ abortEarly: false, allowUnknown: true }
|
|
2170
2168
|
);
|
|
@@ -2187,7 +2185,7 @@ class Payment {
|
|
|
2187
2185
|
* @param {PaymentApplicationValidator.GetPosPaymentModeRoutesParam} arg - Arg object.
|
|
2188
2186
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
2189
2187
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
2190
|
-
* @returns {Promise<PaymentApplicationModel.
|
|
2188
|
+
* @returns {Promise<PaymentApplicationModel.PaymentModeRouteDetails>} -
|
|
2191
2189
|
* Success response
|
|
2192
2190
|
* @name getPosPaymentModeRoutes
|
|
2193
2191
|
* @summary: POS payment modes
|
|
@@ -2281,7 +2279,7 @@ class Payment {
|
|
|
2281
2279
|
|
|
2282
2280
|
const {
|
|
2283
2281
|
error: res_error,
|
|
2284
|
-
} = PaymentApplicationModel.
|
|
2282
|
+
} = PaymentApplicationModel.PaymentModeRouteDetails().validate(
|
|
2285
2283
|
responseData,
|
|
2286
2284
|
{ abortEarly: false, allowUnknown: true }
|
|
2287
2285
|
);
|
|
@@ -2304,7 +2302,7 @@ class Payment {
|
|
|
2304
2302
|
* @param {PaymentApplicationValidator.GetRupifiBannerDetailsParam} arg - Arg object.
|
|
2305
2303
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
2306
2304
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
2307
|
-
* @returns {Promise<PaymentApplicationModel.
|
|
2305
|
+
* @returns {Promise<PaymentApplicationModel.RupifiBannerDetails>} - Success response
|
|
2308
2306
|
* @name getRupifiBannerDetails
|
|
2309
2307
|
* @summary: Rupifi banner info
|
|
2310
2308
|
* @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/).
|
|
@@ -2361,7 +2359,7 @@ class Payment {
|
|
|
2361
2359
|
|
|
2362
2360
|
const {
|
|
2363
2361
|
error: res_error,
|
|
2364
|
-
} = PaymentApplicationModel.
|
|
2362
|
+
} = PaymentApplicationModel.RupifiBannerDetails().validate(responseData, {
|
|
2365
2363
|
abortEarly: false,
|
|
2366
2364
|
allowUnknown: true,
|
|
2367
2365
|
});
|
|
@@ -2386,8 +2384,9 @@ class Payment {
|
|
|
2386
2384
|
*
|
|
2387
2385
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
2388
2386
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
2389
|
-
* @returns {Promise<PaymentApplicationModel.
|
|
2390
|
-
* Success response
|
|
2387
|
+
* @returns {Promise<PaymentApplicationModel.OrderBeneficiaryFetchDetails>}
|
|
2388
|
+
* - Success response
|
|
2389
|
+
*
|
|
2391
2390
|
* @name getUserBeneficiariesDetail
|
|
2392
2391
|
* @summary: Retrieve beneficiary details
|
|
2393
2392
|
* @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/).
|
|
@@ -2445,7 +2444,7 @@ class Payment {
|
|
|
2445
2444
|
|
|
2446
2445
|
const {
|
|
2447
2446
|
error: res_error,
|
|
2448
|
-
} = PaymentApplicationModel.
|
|
2447
|
+
} = PaymentApplicationModel.OrderBeneficiaryFetchDetails().validate(
|
|
2449
2448
|
responseData,
|
|
2450
2449
|
{ abortEarly: false, allowUnknown: true }
|
|
2451
2450
|
);
|
|
@@ -2468,7 +2467,7 @@ class Payment {
|
|
|
2468
2467
|
* @param {PaymentApplicationValidator.InitialisePaymentParam} arg - Arg object.
|
|
2469
2468
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
2470
2469
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
2471
|
-
* @returns {Promise<PaymentApplicationModel.
|
|
2470
|
+
* @returns {Promise<PaymentApplicationModel.PaymentInitializationDetails>}
|
|
2472
2471
|
* - Success response
|
|
2473
2472
|
*
|
|
2474
2473
|
* @name initialisePayment
|
|
@@ -2525,7 +2524,7 @@ class Payment {
|
|
|
2525
2524
|
|
|
2526
2525
|
const {
|
|
2527
2526
|
error: res_error,
|
|
2528
|
-
} = PaymentApplicationModel.
|
|
2527
|
+
} = PaymentApplicationModel.PaymentInitializationDetails().validate(
|
|
2529
2528
|
responseData,
|
|
2530
2529
|
{ abortEarly: false, allowUnknown: true }
|
|
2531
2530
|
);
|
|
@@ -2550,7 +2549,7 @@ class Payment {
|
|
|
2550
2549
|
*
|
|
2551
2550
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
2552
2551
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
2553
|
-
* @returns {Promise<PaymentApplicationModel.
|
|
2552
|
+
* @returns {Promise<PaymentApplicationModel.PaymentInitializationDetails>}
|
|
2554
2553
|
* - Success response
|
|
2555
2554
|
*
|
|
2556
2555
|
* @name initialisePaymentPaymentLink
|
|
@@ -2609,7 +2608,7 @@ class Payment {
|
|
|
2609
2608
|
|
|
2610
2609
|
const {
|
|
2611
2610
|
error: res_error,
|
|
2612
|
-
} = PaymentApplicationModel.
|
|
2611
|
+
} = PaymentApplicationModel.PaymentInitializationDetails().validate(
|
|
2613
2612
|
responseData,
|
|
2614
2613
|
{ abortEarly: false, allowUnknown: true }
|
|
2615
2614
|
);
|
|
@@ -2710,9 +2709,8 @@ class Payment {
|
|
|
2710
2709
|
* @param {PaymentApplicationValidator.OutstandingOrderDetailsParam} arg - Arg object.
|
|
2711
2710
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
2712
2711
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
2713
|
-
* @returns {Promise<PaymentApplicationModel.
|
|
2714
|
-
*
|
|
2715
|
-
*
|
|
2712
|
+
* @returns {Promise<PaymentApplicationModel.OutstandingOrderDetails>} -
|
|
2713
|
+
* Success response
|
|
2716
2714
|
* @name outstandingOrderDetails
|
|
2717
2715
|
* @summary: Outstanding orders
|
|
2718
2716
|
* @description: Get details of orders with outstanding payments. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/outstandingOrderDetails/).
|
|
@@ -2770,7 +2768,7 @@ class Payment {
|
|
|
2770
2768
|
|
|
2771
2769
|
const {
|
|
2772
2770
|
error: res_error,
|
|
2773
|
-
} = PaymentApplicationModel.
|
|
2771
|
+
} = PaymentApplicationModel.OutstandingOrderDetails().validate(
|
|
2774
2772
|
responseData,
|
|
2775
2773
|
{ abortEarly: false, allowUnknown: true }
|
|
2776
2774
|
);
|
|
@@ -2793,8 +2791,7 @@ class Payment {
|
|
|
2793
2791
|
* @param {PaymentApplicationValidator.PaidOrderDetailsParam} arg - Arg object.
|
|
2794
2792
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
2795
2793
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
2796
|
-
* @returns {Promise<PaymentApplicationModel.
|
|
2797
|
-
* Success response
|
|
2794
|
+
* @returns {Promise<PaymentApplicationModel.PaidOrderDetails>} - Success response
|
|
2798
2795
|
* @name paidOrderDetails
|
|
2799
2796
|
* @summary: Retrieve details of paid orders
|
|
2800
2797
|
* @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/).
|
|
@@ -2850,10 +2847,10 @@ class Payment {
|
|
|
2850
2847
|
|
|
2851
2848
|
const {
|
|
2852
2849
|
error: res_error,
|
|
2853
|
-
} = PaymentApplicationModel.
|
|
2854
|
-
|
|
2855
|
-
|
|
2856
|
-
);
|
|
2850
|
+
} = PaymentApplicationModel.PaidOrderDetails().validate(responseData, {
|
|
2851
|
+
abortEarly: false,
|
|
2852
|
+
allowUnknown: true,
|
|
2853
|
+
});
|
|
2857
2854
|
|
|
2858
2855
|
if (res_error) {
|
|
2859
2856
|
if (this._conf.options.strictResponseCheck === true) {
|
|
@@ -2873,7 +2870,7 @@ class Payment {
|
|
|
2873
2870
|
* @param {PaymentApplicationValidator.PollingPaymentLinkParam} arg - Arg object.
|
|
2874
2871
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
2875
2872
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
2876
|
-
* @returns {Promise<PaymentApplicationModel.
|
|
2873
|
+
* @returns {Promise<PaymentApplicationModel.PollingPaymentLinkDetails>} -
|
|
2877
2874
|
* Success response
|
|
2878
2875
|
* @name pollingPaymentLink
|
|
2879
2876
|
* @summary: Poll status of payment link
|
|
@@ -2930,7 +2927,7 @@ class Payment {
|
|
|
2930
2927
|
|
|
2931
2928
|
const {
|
|
2932
2929
|
error: res_error,
|
|
2933
|
-
} = PaymentApplicationModel.
|
|
2930
|
+
} = PaymentApplicationModel.PollingPaymentLinkDetails().validate(
|
|
2934
2931
|
responseData,
|
|
2935
2932
|
{ abortEarly: false, allowUnknown: true }
|
|
2936
2933
|
);
|
|
@@ -2953,7 +2950,7 @@ class Payment {
|
|
|
2953
2950
|
* @param {PaymentApplicationValidator.RedirectToAggregatorParam} arg - Arg object.
|
|
2954
2951
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
2955
2952
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
2956
|
-
* @returns {Promise<PaymentApplicationModel.
|
|
2953
|
+
* @returns {Promise<PaymentApplicationModel.RedirectToAggregatorDetails>}
|
|
2957
2954
|
* - Success response
|
|
2958
2955
|
*
|
|
2959
2956
|
* @name redirectToAggregator
|
|
@@ -3014,7 +3011,7 @@ class Payment {
|
|
|
3014
3011
|
|
|
3015
3012
|
const {
|
|
3016
3013
|
error: res_error,
|
|
3017
|
-
} = PaymentApplicationModel.
|
|
3014
|
+
} = PaymentApplicationModel.RedirectToAggregatorDetails().validate(
|
|
3018
3015
|
responseData,
|
|
3019
3016
|
{ abortEarly: false, allowUnknown: true }
|
|
3020
3017
|
);
|
|
@@ -3037,7 +3034,7 @@ class Payment {
|
|
|
3037
3034
|
* @param {PaymentApplicationValidator.RenderHTMLParam} arg - Arg object.
|
|
3038
3035
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
3039
3036
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
3040
|
-
* @returns {Promise<PaymentApplicationModel.
|
|
3037
|
+
* @returns {Promise<PaymentApplicationModel.RenderHTMLDetails>} - Success response
|
|
3041
3038
|
* @name renderHTML
|
|
3042
3039
|
* @summary: Render HTML
|
|
3043
3040
|
* @description: Render HTML for a payment aggregator page. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/renderHTML/).
|
|
@@ -3092,7 +3089,7 @@ class Payment {
|
|
|
3092
3089
|
|
|
3093
3090
|
const {
|
|
3094
3091
|
error: res_error,
|
|
3095
|
-
} = PaymentApplicationModel.
|
|
3092
|
+
} = PaymentApplicationModel.RenderHTMLDetails().validate(responseData, {
|
|
3096
3093
|
abortEarly: false,
|
|
3097
3094
|
allowUnknown: true,
|
|
3098
3095
|
});
|
|
@@ -3115,7 +3112,7 @@ class Payment {
|
|
|
3115
3112
|
* @param {PaymentApplicationValidator.ResendOrCancelPaymentParam} arg - Arg object.
|
|
3116
3113
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
3117
3114
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
3118
|
-
* @returns {Promise<PaymentApplicationModel.
|
|
3115
|
+
* @returns {Promise<PaymentApplicationModel.ResendOrCancelPaymentDetails>}
|
|
3119
3116
|
* - Success response
|
|
3120
3117
|
*
|
|
3121
3118
|
* @name resendOrCancelPayment
|
|
@@ -3174,7 +3171,7 @@ class Payment {
|
|
|
3174
3171
|
|
|
3175
3172
|
const {
|
|
3176
3173
|
error: res_error,
|
|
3177
|
-
} = PaymentApplicationModel.
|
|
3174
|
+
} = PaymentApplicationModel.ResendOrCancelPaymentDetails().validate(
|
|
3178
3175
|
responseData,
|
|
3179
3176
|
{ abortEarly: false, allowUnknown: true }
|
|
3180
3177
|
);
|
|
@@ -3197,7 +3194,7 @@ class Payment {
|
|
|
3197
3194
|
* @param {PaymentApplicationValidator.ResendPaymentLinkParam} arg - Arg object.
|
|
3198
3195
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
3199
3196
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
3200
|
-
* @returns {Promise<PaymentApplicationModel.
|
|
3197
|
+
* @returns {Promise<PaymentApplicationModel.ResendPaymentLinkDetails>} -
|
|
3201
3198
|
* Success response
|
|
3202
3199
|
* @name resendPaymentLink
|
|
3203
3200
|
* @summary: Resend payment link
|
|
@@ -3253,7 +3250,7 @@ class Payment {
|
|
|
3253
3250
|
|
|
3254
3251
|
const {
|
|
3255
3252
|
error: res_error,
|
|
3256
|
-
} = PaymentApplicationModel.
|
|
3253
|
+
} = PaymentApplicationModel.ResendPaymentLinkDetails().validate(
|
|
3257
3254
|
responseData,
|
|
3258
3255
|
{ abortEarly: false, allowUnknown: true }
|
|
3259
3256
|
);
|
|
@@ -3277,7 +3274,7 @@ class Payment {
|
|
|
3277
3274
|
* Arg object.
|
|
3278
3275
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
3279
3276
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
3280
|
-
* @returns {Promise<PaymentApplicationModel.
|
|
3277
|
+
* @returns {Promise<PaymentApplicationModel.SetDefaultBeneficiaryDetails>}
|
|
3281
3278
|
* - Success response
|
|
3282
3279
|
*
|
|
3283
3280
|
* @name updateDefaultBeneficiary
|
|
@@ -3336,7 +3333,7 @@ class Payment {
|
|
|
3336
3333
|
|
|
3337
3334
|
const {
|
|
3338
3335
|
error: res_error,
|
|
3339
|
-
} = PaymentApplicationModel.
|
|
3336
|
+
} = PaymentApplicationModel.SetDefaultBeneficiaryDetails().validate(
|
|
3340
3337
|
responseData,
|
|
3341
3338
|
{ abortEarly: false, allowUnknown: true }
|
|
3342
3339
|
);
|
|
@@ -3359,7 +3356,7 @@ class Payment {
|
|
|
3359
3356
|
* @param {PaymentApplicationValidator.ValidateVPAParam} arg - Arg object.
|
|
3360
3357
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
3361
3358
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
3362
|
-
* @returns {Promise<PaymentApplicationModel.
|
|
3359
|
+
* @returns {Promise<PaymentApplicationModel.ValidateVPADetails>} - Success response
|
|
3363
3360
|
* @name validateVPA
|
|
3364
3361
|
* @summary: Validate VPA
|
|
3365
3362
|
* @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/).
|
|
@@ -3414,7 +3411,7 @@ class Payment {
|
|
|
3414
3411
|
|
|
3415
3412
|
const {
|
|
3416
3413
|
error: res_error,
|
|
3417
|
-
} = PaymentApplicationModel.
|
|
3414
|
+
} = PaymentApplicationModel.ValidateVPADetails().validate(responseData, {
|
|
3418
3415
|
abortEarly: false,
|
|
3419
3416
|
allowUnknown: true,
|
|
3420
3417
|
});
|
|
@@ -3437,7 +3434,7 @@ class Payment {
|
|
|
3437
3434
|
* @param {PaymentApplicationValidator.VerifyAndChargePaymentParam} arg - Arg object.
|
|
3438
3435
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
3439
3436
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
3440
|
-
* @returns {Promise<PaymentApplicationModel.
|
|
3437
|
+
* @returns {Promise<PaymentApplicationModel.ChargeCustomerDetails>} -
|
|
3441
3438
|
* Success response
|
|
3442
3439
|
* @name verifyAndChargePayment
|
|
3443
3440
|
* @summary: Verify order confirmation and charge
|
|
@@ -3495,10 +3492,10 @@ class Payment {
|
|
|
3495
3492
|
|
|
3496
3493
|
const {
|
|
3497
3494
|
error: res_error,
|
|
3498
|
-
} = PaymentApplicationModel.
|
|
3499
|
-
|
|
3500
|
-
|
|
3501
|
-
);
|
|
3495
|
+
} = PaymentApplicationModel.ChargeCustomerDetails().validate(responseData, {
|
|
3496
|
+
abortEarly: false,
|
|
3497
|
+
allowUnknown: true,
|
|
3498
|
+
});
|
|
3502
3499
|
|
|
3503
3500
|
if (res_error) {
|
|
3504
3501
|
if (this._conf.options.strictResponseCheck === true) {
|
|
@@ -3519,7 +3516,7 @@ class Payment {
|
|
|
3519
3516
|
* Arg object.
|
|
3520
3517
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
3521
3518
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
3522
|
-
* @returns {Promise<PaymentApplicationModel.
|
|
3519
|
+
* @returns {Promise<PaymentApplicationModel.ValidateCustomerDetails>} -
|
|
3523
3520
|
* Success response
|
|
3524
3521
|
* @name verifyCustomerForPayment
|
|
3525
3522
|
* @summary: Verify payment customer
|
|
@@ -3577,7 +3574,7 @@ class Payment {
|
|
|
3577
3574
|
|
|
3578
3575
|
const {
|
|
3579
3576
|
error: res_error,
|
|
3580
|
-
} = PaymentApplicationModel.
|
|
3577
|
+
} = PaymentApplicationModel.ValidateCustomerDetails().validate(
|
|
3581
3578
|
responseData,
|
|
3582
3579
|
{ abortEarly: false, allowUnknown: true }
|
|
3583
3580
|
);
|
|
@@ -3600,7 +3597,7 @@ class Payment {
|
|
|
3600
3597
|
* @param {PaymentApplicationValidator.VerifyIfscCodeParam} arg - Arg object.
|
|
3601
3598
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
3602
3599
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
3603
|
-
* @returns {Promise<PaymentApplicationModel.
|
|
3600
|
+
* @returns {Promise<PaymentApplicationModel.IfscCodeDetails>} - Success response
|
|
3604
3601
|
* @name verifyIfscCode
|
|
3605
3602
|
* @summary: Verify IFSC
|
|
3606
3603
|
* @description: Validate IFSC code and returns bank details if valid. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/verifyIfscCode/).
|
|
@@ -3656,7 +3653,7 @@ class Payment {
|
|
|
3656
3653
|
|
|
3657
3654
|
const {
|
|
3658
3655
|
error: res_error,
|
|
3659
|
-
} = PaymentApplicationModel.
|
|
3656
|
+
} = PaymentApplicationModel.IfscCodeDetails().validate(responseData, {
|
|
3660
3657
|
abortEarly: false,
|
|
3661
3658
|
allowUnknown: true,
|
|
3662
3659
|
});
|
|
@@ -3681,7 +3678,7 @@ class Payment {
|
|
|
3681
3678
|
*
|
|
3682
3679
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
3683
3680
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
3684
|
-
* @returns {Promise<PaymentApplicationModel.
|
|
3681
|
+
* @returns {Promise<PaymentApplicationModel.AddBeneficiaryViaOtpVerificationDetails>}
|
|
3685
3682
|
* - Success response
|
|
3686
3683
|
*
|
|
3687
3684
|
* @name verifyOtpAndAddBeneficiaryForBank
|
|
@@ -3740,7 +3737,7 @@ class Payment {
|
|
|
3740
3737
|
|
|
3741
3738
|
const {
|
|
3742
3739
|
error: res_error,
|
|
3743
|
-
} = PaymentApplicationModel.
|
|
3740
|
+
} = PaymentApplicationModel.AddBeneficiaryViaOtpVerificationDetails().validate(
|
|
3744
3741
|
responseData,
|
|
3745
3742
|
{ abortEarly: false, allowUnknown: true }
|
|
3746
3743
|
);
|
|
@@ -3765,7 +3762,7 @@ class Payment {
|
|
|
3765
3762
|
*
|
|
3766
3763
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
3767
3764
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
3768
|
-
* @returns {Promise<PaymentApplicationModel.
|
|
3765
|
+
* @returns {Promise<PaymentApplicationModel.WalletOtpDetails>} - Success response
|
|
3769
3766
|
* @name verifyOtpAndAddBeneficiaryForWallet
|
|
3770
3767
|
* @summary: Verify OTP for wallet
|
|
3771
3768
|
* @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/).
|
|
@@ -3822,7 +3819,7 @@ class Payment {
|
|
|
3822
3819
|
|
|
3823
3820
|
const {
|
|
3824
3821
|
error: res_error,
|
|
3825
|
-
} = PaymentApplicationModel.
|
|
3822
|
+
} = PaymentApplicationModel.WalletOtpDetails().validate(responseData, {
|
|
3826
3823
|
abortEarly: false,
|
|
3827
3824
|
allowUnknown: true,
|
|
3828
3825
|
});
|