@gofynd/fdk-client-javascript 3.1.0-beta.1 → 3.2.0
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 +81 -101
- package/sdk/application/Cart/CartApplicationClient.js +173 -511
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +110 -110
- package/sdk/application/Catalog/CatalogApplicationClient.js +214 -447
- package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
- package/sdk/application/Common/CommonApplicationClient.js +4 -19
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +3 -43
- package/sdk/application/Communication/CommunicationApplicationClient.js +4 -214
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +41 -54
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +39 -192
- package/sdk/application/Content/ContentApplicationClient.d.ts +61 -61
- package/sdk/application/Content/ContentApplicationClient.js +183 -366
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +2 -2
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +11 -30
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +29 -0
- package/sdk/application/Finance/FinanceApplicationClient.js +111 -0
- package/sdk/application/Lead/LeadApplicationClient.d.ts +6 -6
- package/sdk/application/Lead/LeadApplicationClient.js +24 -55
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +28 -117
- package/sdk/application/Logistic/LogisticApplicationClient.js +99 -492
- package/sdk/application/Order/OrderApplicationClient.d.ts +31 -51
- package/sdk/application/Order/OrderApplicationClient.js +89 -293
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +108 -218
- package/sdk/application/Payment/PaymentApplicationClient.js +100 -1081
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +14 -14
- package/sdk/application/Rewards/RewardsApplicationClient.js +13 -66
- package/sdk/application/Share/ShareApplicationClient.d.ts +11 -11
- package/sdk/application/Share/ShareApplicationClient.js +35 -89
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +5 -25
- package/sdk/application/Theme/ThemeApplicationClient.js +24 -150
- package/sdk/application/User/UserApplicationClient.d.ts +23 -13
- package/sdk/application/User/UserApplicationClient.js +49 -407
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
- package/sdk/application/Webhook/WebhookApplicationClient.js +4 -11
- package/sdk/common/Utility.d.ts +1 -1
- package/sdk/common/Utility.js +10 -7
- package/sdk/common/Validator.d.ts +1 -0
- package/sdk/common/Validator.js +20 -0
- package/sdk/common/utils.d.ts +0 -1
- package/sdk/common/utils.js +0 -14
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +10 -54
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +32 -364
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +54 -1
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +43 -0
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +1 -5
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -35
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +5 -5
- package/sdk/partner/Lead/LeadPartnerClient.js +4 -4
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +52 -98
- package/sdk/partner/Lead/LeadPartnerModel.js +76 -100
- package/sdk/partner/Lead/LeadPartnerValidator.js +1 -1
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +172 -41
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +1222 -85
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +1921 -297
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +973 -258
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +13 -1
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +148 -16
- package/sdk/partner/PartnerClient.d.ts +0 -6
- package/sdk/partner/PartnerClient.js +0 -9
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +21 -63
- package/sdk/partner/Theme/ThemePartnerClient.js +67 -392
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +72 -104
- package/sdk/partner/Theme/ThemePartnerModel.js +75 -101
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +1 -5
- package/sdk/partner/Theme/ThemePartnerValidator.js +12 -42
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +18 -18
- package/sdk/partner/Webhook/WebhookPartnerClient.js +18 -18
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +673 -189
- package/sdk/partner/Webhook/WebhookPartnerModel.js +270 -159
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +3 -3
- package/sdk/partner/index.d.ts +0 -3
- package/sdk/partner/index.js +0 -6
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +4 -1
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +1 -1
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +3 -3
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +3 -3
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +2 -32
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +3 -243
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +49 -145
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +20 -171
- 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 +172 -251
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +577 -648
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +270 -165
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +192 -108
- package/sdk/platform/Cart/CartPlatformModel.d.ts +4554 -3154
- package/sdk/platform/Cart/CartPlatformModel.js +1935 -2854
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +380 -976
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +2004 -6464
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +161 -1082
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +80 -884
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +568 -325
- package/sdk/platform/Catalog/CatalogPlatformClient.js +1560 -1162
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +9772 -7871
- package/sdk/platform/Catalog/CatalogPlatformModel.js +6978 -9516
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +231 -240
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +180 -188
- package/sdk/platform/Common/CommonPlatformClient.d.ts +6 -5
- package/sdk/platform/Common/CommonPlatformClient.js +6 -5
- package/sdk/platform/Common/CommonPlatformModel.d.ts +19 -25
- package/sdk/platform/Common/CommonPlatformModel.js +11 -14
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +240 -376
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +589 -874
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +139 -170
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +126 -145
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +3 -56
- package/sdk/platform/Communication/CommunicationPlatformClient.js +4 -307
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +330 -502
- package/sdk/platform/Communication/CommunicationPlatformModel.js +376 -610
- package/sdk/platform/Communication/CommunicationPlatformValidator.d.ts +3 -62
- package/sdk/platform/Communication/CommunicationPlatformValidator.js +2 -48
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +72 -100
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +88 -146
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +270 -241
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +248 -226
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +20 -31
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +20 -25
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +117 -332
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +409 -1470
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +55 -158
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +41 -163
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +65 -142
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +103 -568
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +562 -1289
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +368 -1037
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +34 -80
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +24 -79
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +302 -248
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1292 -773
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +330 -218
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +325 -208
- package/sdk/platform/Content/ContentPlatformClient.d.ts +279 -118
- package/sdk/platform/Content/ContentPlatformClient.js +1617 -492
- package/sdk/platform/Content/ContentPlatformModel.d.ts +2391 -924
- package/sdk/platform/Content/ContentPlatformModel.js +1314 -970
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +272 -134
- package/sdk/platform/Content/ContentPlatformValidator.js +295 -118
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +53 -43
- package/sdk/platform/Discount/DiscountPlatformClient.js +53 -43
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +383 -110
- package/sdk/platform/Discount/DiscountPlatformModel.js +117 -108
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +56 -36
- package/sdk/platform/Discount/DiscountPlatformValidator.js +29 -19
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +4 -163
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +4 -1078
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +5 -141
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +4 -177
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +8 -8
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +8 -8
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +30 -1123
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +24 -1135
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +17 -17
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +33 -33
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +19 -19
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +14 -14
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +24 -4
- package/sdk/platform/Lead/LeadPlatformClient.js +160 -4
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +60 -140
- package/sdk/platform/Lead/LeadPlatformModel.js +81 -162
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +29 -3
- package/sdk/platform/Lead/LeadPlatformValidator.js +28 -2
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +19 -98
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +27 -662
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +91 -118
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +32 -127
- package/sdk/platform/Order/OrderPlatformClient.d.ts +406 -403
- package/sdk/platform/Order/OrderPlatformClient.js +1200 -1343
- package/sdk/platform/Order/OrderPlatformModel.d.ts +8665 -4505
- package/sdk/platform/Order/OrderPlatformModel.js +4088 -3601
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +666 -442
- package/sdk/platform/Order/OrderPlatformValidator.js +353 -312
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +9 -7
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +67 -19
- package/sdk/platform/Partner/PartnerPlatformModel.js +26 -17
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +135 -382
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +937 -2452
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +100 -306
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +74 -305
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +56 -66
- package/sdk/platform/Payment/PaymentPlatformClient.js +124 -269
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +1307 -3536
- package/sdk/platform/Payment/PaymentPlatformModel.js +1389 -3692
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +35 -64
- package/sdk/platform/Payment/PaymentPlatformValidator.js +34 -60
- 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 +12 -12
- package/sdk/platform/Rewards/RewardsPlatformModel.js +10 -10
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +64 -136
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +111 -521
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +75 -117
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +50 -105
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +160 -149
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +766 -545
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +6196 -3978
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +3181 -3895
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +294 -220
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +205 -149
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +16 -4
- package/sdk/platform/Share/SharePlatformApplicationClient.js +86 -8
- package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +23 -6
- package/sdk/platform/Share/SharePlatformApplicationValidator.js +16 -3
- package/sdk/platform/Share/SharePlatformModel.d.ts +53 -9
- package/sdk/platform/Share/SharePlatformModel.js +45 -5
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +17 -37
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +66 -204
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +25 -26
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +20 -31
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +8 -18
- package/sdk/platform/Theme/ThemePlatformClient.js +8 -85
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +17 -425
- package/sdk/platform/Theme/ThemePlatformModel.js +23 -329
- package/sdk/platform/Theme/ThemePlatformValidator.d.ts +3 -7
- package/sdk/platform/Theme/ThemePlatformValidator.js +2 -9
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +81 -18
- package/sdk/platform/User/UserPlatformApplicationClient.js +491 -27
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +126 -10
- package/sdk/platform/User/UserPlatformApplicationValidator.js +92 -7
- package/sdk/platform/User/UserPlatformModel.d.ts +317 -218
- package/sdk/platform/User/UserPlatformModel.js +253 -210
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +25 -78
- package/sdk/platform/Webhook/WebhookPlatformClient.js +75 -470
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +813 -426
- package/sdk/platform/Webhook/WebhookPlatformModel.js +446 -395
- 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/Catalog/CatalogPublicClient.d.ts +22 -0
- package/sdk/public/Catalog/CatalogPublicClient.js +133 -0
- package/sdk/public/Catalog/CatalogPublicModel.d.ts +158 -0
- package/sdk/public/Catalog/CatalogPublicModel.js +116 -0
- package/sdk/public/Catalog/CatalogPublicValidator.d.ts +55 -0
- package/sdk/public/Catalog/CatalogPublicValidator.js +35 -0
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +4 -14
- package/sdk/public/Configuration/ConfigurationPublicClient.js +10 -113
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +46 -114
- package/sdk/public/Configuration/ConfigurationPublicModel.js +32 -117
- package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +1 -11
- package/sdk/public/Configuration/ConfigurationPublicValidator.js +0 -12
- package/sdk/public/Content/ContentPublicClient.d.ts +36 -25
- package/sdk/public/Content/ContentPublicClient.js +254 -280
- package/sdk/public/Content/ContentPublicModel.d.ts +151 -38
- package/sdk/public/Content/ContentPublicModel.js +98 -44
- package/sdk/public/Content/ContentPublicValidator.d.ts +18 -17
- package/sdk/public/Content/ContentPublicValidator.js +26 -19
- package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
- package/sdk/public/Partner/PartnerPublicClient.js +6 -11
- package/sdk/public/Partner/PartnerPublicModel.d.ts +248 -72
- package/sdk/public/Partner/PartnerPublicModel.js +81 -71
- package/sdk/public/Partner/PartnerPublicValidator.d.ts +2 -2
- package/sdk/public/Partner/PartnerPublicValidator.js +1 -1
- package/sdk/public/PublicClient.d.ts +2 -0
- package/sdk/public/PublicClient.js +4 -0
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
- package/sdk/public/Webhook/WebhookPublicClient.js +9 -48
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +215 -67
- package/sdk/public/Webhook/WebhookPublicModel.js +66 -61
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
- package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
- package/sdk/public/index.d.ts +1 -0
- package/sdk/public/index.js +2 -0
- package/sdk/partner/Authorization/AuthorizationPartnerClient.d.ts +0 -66
- package/sdk/partner/Authorization/AuthorizationPartnerClient.js +0 -431
- package/sdk/partner/Authorization/AuthorizationPartnerModel.d.ts +0 -231
- package/sdk/partner/Authorization/AuthorizationPartnerModel.js +0 -152
- package/sdk/partner/Authorization/AuthorizationPartnerValidator.d.ts +0 -8
- package/sdk/partner/Authorization/AuthorizationPartnerValidator.js +0 -39
- package/sdk/partner/Catalog/CatalogPartnerClient.d.ts +0 -26
- package/sdk/partner/Catalog/CatalogPartnerClient.js +0 -173
- package/sdk/partner/Catalog/CatalogPartnerModel.d.ts +0 -238
- package/sdk/partner/Catalog/CatalogPartnerModel.js +0 -248
- package/sdk/partner/Catalog/CatalogPartnerValidator.d.ts +0 -5
- package/sdk/partner/Catalog/CatalogPartnerValidator.js +0 -19
- package/sdk/partner/Payment/PaymentPartnerClient.d.ts +0 -116
- package/sdk/partner/Payment/PaymentPartnerClient.js +0 -857
- package/sdk/partner/Payment/PaymentPartnerModel.d.ts +0 -388
- package/sdk/partner/Payment/PaymentPartnerModel.js +0 -442
- package/sdk/partner/Payment/PaymentPartnerValidator.d.ts +0 -14
- package/sdk/partner/Payment/PaymentPartnerValidator.js +0 -74
- 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 -2895
- package/sdk/platform/Finance/FinancePlatformModel.js +0 -2150
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
- package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
|
@@ -11,13 +11,11 @@ declare class Payment {
|
|
|
11
11
|
checkAndUpdatePaymentStatus: string;
|
|
12
12
|
checkAndUpdatePaymentStatusPaymentLink: string;
|
|
13
13
|
checkCredit: string;
|
|
14
|
-
confirmPayment: string;
|
|
15
14
|
createOrderHandlerPaymentLink: string;
|
|
16
15
|
createPaymentLink: string;
|
|
17
16
|
createPaymentOrder: string;
|
|
18
17
|
customerCreditSummary: string;
|
|
19
18
|
customerOnboard: string;
|
|
20
|
-
deleteBeneficiaryDetails: string;
|
|
21
19
|
deleteUserCard: string;
|
|
22
20
|
delinkWallet: string;
|
|
23
21
|
enableOrDisableRefundTransferMode: string;
|
|
@@ -25,34 +23,25 @@ declare class Payment {
|
|
|
25
23
|
getActiveRefundTransferModes: string;
|
|
26
24
|
getActiveUserCards: string;
|
|
27
25
|
getAggregatorsConfig: string;
|
|
28
|
-
getBenficiaryOrder: string;
|
|
29
26
|
getEpaylaterBannerDetails: string;
|
|
30
27
|
getOrderBeneficiariesDetail: string;
|
|
31
28
|
getPaymentLink: string;
|
|
32
|
-
getPaymentLinkId: string;
|
|
33
29
|
getPaymentModeRoutes: string;
|
|
34
30
|
getPaymentModeRoutesPaymentLink: string;
|
|
35
31
|
getPosPaymentModeRoutes: string;
|
|
36
32
|
getRupifiBannerDetails: string;
|
|
37
|
-
getSelectedRefundOption: string;
|
|
38
33
|
getUserBeneficiariesDetail: string;
|
|
39
|
-
getUserBeneficiariesDetailV2: string;
|
|
40
|
-
getotpOrderBeneficiariesDetail: string;
|
|
41
34
|
initialisePayment: string;
|
|
42
35
|
initialisePaymentPaymentLink: string;
|
|
43
36
|
linkWallet: string;
|
|
44
|
-
outstandingOrderDetails: string;
|
|
45
37
|
paidOrderDetails: string;
|
|
46
38
|
pollingPaymentLink: string;
|
|
47
39
|
redirectToAggregator: string;
|
|
48
40
|
renderHTML: string;
|
|
49
41
|
resendOrCancelPayment: string;
|
|
50
42
|
resendPaymentLink: string;
|
|
51
|
-
setRefundOptionforShipment: string;
|
|
52
|
-
updateActiveCards: string;
|
|
53
43
|
updateDefaultBeneficiary: string;
|
|
54
|
-
|
|
55
|
-
validateBeneficiaryAddress: string;
|
|
44
|
+
validateCustomerAndCreditSummary: string;
|
|
56
45
|
validateVPA: string;
|
|
57
46
|
verifyAndChargePayment: string;
|
|
58
47
|
verifyCustomerForPayment: string;
|
|
@@ -66,147 +55,129 @@ declare class Payment {
|
|
|
66
55
|
/**
|
|
67
56
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
68
57
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
69
|
-
* @returns {Promise<
|
|
58
|
+
* @returns {Promise<RefundAccountDetails>} - Success response
|
|
70
59
|
* @name addBeneficiaryDetails
|
|
71
60
|
* @summary: Add beneficiary for refund
|
|
72
61
|
* @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/).
|
|
73
62
|
*/
|
|
74
|
-
addBeneficiaryDetails({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
63
|
+
addBeneficiaryDetails({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<RefundAccountDetails>;
|
|
75
64
|
/**
|
|
76
65
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
77
66
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
78
|
-
* @returns {Promise<
|
|
67
|
+
* @returns {Promise<RefundAccountDetails>} - Success response
|
|
79
68
|
* @name addRefundBankAccountUsingOTP
|
|
80
|
-
* @summary:
|
|
69
|
+
* @summary: Add refund account using OTP verification
|
|
81
70
|
* @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/).
|
|
82
71
|
*/
|
|
83
|
-
addRefundBankAccountUsingOTP({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
72
|
+
addRefundBankAccountUsingOTP({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<RefundAccountDetails>;
|
|
84
73
|
/**
|
|
85
74
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
86
75
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
87
|
-
* @returns {Promise<
|
|
76
|
+
* @returns {Promise<AttachCardsDetails>} - Success response
|
|
88
77
|
* @name attachCardToCustomer
|
|
89
78
|
* @summary: Link payment card to customer
|
|
90
79
|
* @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/).
|
|
91
80
|
*/
|
|
92
|
-
attachCardToCustomer({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
81
|
+
attachCardToCustomer({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<AttachCardsDetails>;
|
|
93
82
|
/**
|
|
94
83
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
95
84
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
96
|
-
* @returns {Promise<
|
|
85
|
+
* @returns {Promise<CancelPaymentLinkDetails>} - Success response
|
|
97
86
|
* @name cancelPaymentLink
|
|
98
87
|
* @summary: Cancel payment link
|
|
99
88
|
* @description: Cancel previously generated payment link. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/cancelPaymentLink/).
|
|
100
89
|
*/
|
|
101
|
-
cancelPaymentLink({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
90
|
+
cancelPaymentLink({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CancelPaymentLinkDetails>;
|
|
102
91
|
/**
|
|
103
92
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
104
93
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
105
|
-
* @returns {Promise<
|
|
94
|
+
* @returns {Promise<CardDetailsFetchedDetails>} - Success response
|
|
106
95
|
* @name cardDetails
|
|
107
96
|
* @summary: Get card details
|
|
108
97
|
* @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/).
|
|
109
98
|
*/
|
|
110
|
-
cardDetails({ cardInfo, aggregator, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
99
|
+
cardDetails({ cardInfo, aggregator, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<CardDetailsFetchedDetails>;
|
|
111
100
|
/**
|
|
112
101
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
113
102
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
114
|
-
* @returns {Promise<
|
|
103
|
+
* @returns {Promise<PaymentStatusUpdateDetails>} - Success response
|
|
115
104
|
* @name checkAndUpdatePaymentStatus
|
|
116
105
|
* @summary: Update payment status
|
|
117
106
|
* @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/).
|
|
118
107
|
*/
|
|
119
|
-
checkAndUpdatePaymentStatus({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
108
|
+
checkAndUpdatePaymentStatus({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PaymentStatusUpdateDetails>;
|
|
120
109
|
/**
|
|
121
110
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
122
111
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
123
|
-
* @returns {Promise<
|
|
112
|
+
* @returns {Promise<PaymentStatusUpdateDetails>} - Success response
|
|
124
113
|
* @name checkAndUpdatePaymentStatusPaymentLink
|
|
125
|
-
* @summary:
|
|
114
|
+
* @summary: Update payment link status
|
|
126
115
|
* @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/).
|
|
127
116
|
*/
|
|
128
|
-
checkAndUpdatePaymentStatusPaymentLink({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
117
|
+
checkAndUpdatePaymentStatusPaymentLink({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PaymentStatusUpdateDetails>;
|
|
129
118
|
/**
|
|
130
119
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
131
120
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
132
|
-
* @returns {Promise<
|
|
121
|
+
* @returns {Promise<CheckCreditDetails>} - Success response
|
|
133
122
|
* @name checkCredit
|
|
134
123
|
* @summary: Verify credit availability and status
|
|
135
124
|
* @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/).
|
|
136
125
|
*/
|
|
137
|
-
checkCredit({ aggregator, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
126
|
+
checkCredit({ aggregator, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CheckCreditDetails>;
|
|
138
127
|
/**
|
|
139
128
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
140
129
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
141
|
-
* @returns {Promise<
|
|
142
|
-
* @name confirmPayment
|
|
143
|
-
* @summary: Confirm payment after successful payment from payment gateway
|
|
144
|
-
* @description: confirm payment after payment gateway accepted payment. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/confirmPayment/).
|
|
145
|
-
*/
|
|
146
|
-
confirmPayment({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PaymentConfirmationResponse>;
|
|
147
|
-
/**
|
|
148
|
-
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
149
|
-
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
150
|
-
* @returns {Promise<CreateOrderUserResponse>} - Success response
|
|
130
|
+
* @returns {Promise<CreateOrderUserDetails>} - Success response
|
|
151
131
|
* @name createOrderHandlerPaymentLink
|
|
152
|
-
* @summary:
|
|
132
|
+
* @summary: Create order for payment via link
|
|
153
133
|
* @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/).
|
|
154
134
|
*/
|
|
155
|
-
createOrderHandlerPaymentLink({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
135
|
+
createOrderHandlerPaymentLink({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CreateOrderUserDetails>;
|
|
156
136
|
/**
|
|
157
137
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
158
138
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
159
|
-
* @returns {Promise<
|
|
139
|
+
* @returns {Promise<CreatePaymentLinkDetails>} - Success response
|
|
160
140
|
* @name createPaymentLink
|
|
161
|
-
* @summary: Create payment link
|
|
141
|
+
* @summary: Create payment link
|
|
162
142
|
* @description: Create new payment link for transactions. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/createPaymentLink/).
|
|
163
143
|
*/
|
|
164
|
-
createPaymentLink({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
144
|
+
createPaymentLink({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CreatePaymentLinkDetails>;
|
|
165
145
|
/**
|
|
166
146
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
167
147
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
168
|
-
* @returns {Promise<
|
|
148
|
+
* @returns {Promise<PaymentOrderDetails>} - Success response
|
|
169
149
|
* @name createPaymentOrder
|
|
170
150
|
* @summary: Create Order
|
|
171
151
|
* @description: Create an order and payment on the aggregator side. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/createPaymentOrder/).
|
|
172
152
|
*/
|
|
173
|
-
createPaymentOrder({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
153
|
+
createPaymentOrder({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PaymentOrderDetails>;
|
|
174
154
|
/**
|
|
175
155
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
176
156
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
177
|
-
* @returns {Promise<
|
|
157
|
+
* @returns {Promise<CustomerCreditSummaryDetails>} - Success response
|
|
178
158
|
* @name customerCreditSummary
|
|
179
|
-
* @summary: Credit summary
|
|
159
|
+
* @summary: Credit summary
|
|
180
160
|
* @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/).
|
|
181
161
|
*/
|
|
182
|
-
customerCreditSummary({ aggregator, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
162
|
+
customerCreditSummary({ aggregator, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CustomerCreditSummaryDetails>;
|
|
183
163
|
/**
|
|
184
164
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
185
165
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
186
|
-
* @returns {Promise<
|
|
166
|
+
* @returns {Promise<CustomerOnboardingDetails>} - Success response
|
|
187
167
|
* @name customerOnboard
|
|
188
168
|
* @summary: Onboard customer for payment
|
|
189
169
|
* @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/).
|
|
190
170
|
*/
|
|
191
|
-
customerOnboard({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
192
|
-
/**
|
|
193
|
-
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
194
|
-
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
195
|
-
* @returns {Promise<DeleteRefundAccountResponse>} - Success response
|
|
196
|
-
* @name deleteBeneficiaryDetails
|
|
197
|
-
* @summary: Delete saved beneficiary details of customers
|
|
198
|
-
* @description: Use this API to delete the saved beneficiary details provided beneficiary Id. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/deleteBeneficiaryDetails/).
|
|
199
|
-
*/
|
|
200
|
-
deleteBeneficiaryDetails({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<DeleteRefundAccountResponse>;
|
|
171
|
+
customerOnboard({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CustomerOnboardingDetails>;
|
|
201
172
|
/**
|
|
202
173
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
203
174
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
204
|
-
* @returns {Promise<
|
|
175
|
+
* @returns {Promise<DeleteCardsDetails>} - Success response
|
|
205
176
|
* @name deleteUserCard
|
|
206
177
|
* @summary: Delete customer card
|
|
207
178
|
* @description: Delete payment card from the user's account. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/deleteUserCard/).
|
|
208
179
|
*/
|
|
209
|
-
deleteUserCard({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
180
|
+
deleteUserCard({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<DeleteCardsDetails>;
|
|
210
181
|
/**
|
|
211
182
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
212
183
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
@@ -219,183 +190,138 @@ declare class Payment {
|
|
|
219
190
|
/**
|
|
220
191
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
221
192
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
222
|
-
* @returns {Promise<
|
|
193
|
+
* @returns {Promise<RefundTransferModeUpdateDetails>} - Success response
|
|
223
194
|
* @name enableOrDisableRefundTransferMode
|
|
224
195
|
* @summary: Toggle refund mode
|
|
225
196
|
* @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/).
|
|
226
197
|
*/
|
|
227
|
-
enableOrDisableRefundTransferMode({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
198
|
+
enableOrDisableRefundTransferMode({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<RefundTransferModeUpdateDetails>;
|
|
228
199
|
/**
|
|
229
200
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
230
201
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
231
|
-
* @returns {Promise<
|
|
202
|
+
* @returns {Promise<ActiveCardPaymentGatewayDetails>} - Success response
|
|
232
203
|
* @name getActiveCardAggregator
|
|
233
204
|
* @summary: Retrieve active card aggregator
|
|
234
205
|
* @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/).
|
|
235
206
|
*/
|
|
236
|
-
getActiveCardAggregator({ refresh, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
207
|
+
getActiveCardAggregator({ refresh, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ActiveCardPaymentGatewayDetails>;
|
|
237
208
|
/**
|
|
238
209
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
239
210
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
240
|
-
* @returns {Promise<
|
|
211
|
+
* @returns {Promise<TransferModeFetchDetails>} - Success response
|
|
241
212
|
* @name getActiveRefundTransferModes
|
|
242
213
|
* @summary: Get refund transfer modes
|
|
243
214
|
* @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/).
|
|
244
215
|
*/
|
|
245
|
-
getActiveRefundTransferModes({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
216
|
+
getActiveRefundTransferModes({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<TransferModeFetchDetails>;
|
|
246
217
|
/**
|
|
247
218
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
248
219
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
249
|
-
* @returns {Promise<
|
|
220
|
+
* @returns {Promise<ListCardsDetails>} - Success response
|
|
250
221
|
* @name getActiveUserCards
|
|
251
|
-
* @summary:
|
|
222
|
+
* @summary: Get customer cards
|
|
252
223
|
* @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/).
|
|
253
224
|
*/
|
|
254
|
-
getActiveUserCards({ forceRefresh, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
225
|
+
getActiveUserCards({ forceRefresh, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ListCardsDetails>;
|
|
255
226
|
/**
|
|
256
227
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
257
228
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
258
|
-
* @returns {Promise<
|
|
229
|
+
* @returns {Promise<AggregatorsConfigDetail>} - Success response
|
|
259
230
|
* @name getAggregatorsConfig
|
|
260
231
|
* @summary: Get payment aggregators
|
|
261
232
|
* @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/).
|
|
262
233
|
*/
|
|
263
|
-
getAggregatorsConfig({
|
|
264
|
-
/**
|
|
265
|
-
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
266
|
-
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
267
|
-
* @returns {Promise<RefundOrderBenResponse>} - Success response
|
|
268
|
-
* @name getBenficiaryOrder
|
|
269
|
-
* @summary: Get Payment status and information for a list of order_ids
|
|
270
|
-
* @description: Use this API to get Payment status and information for a list of order_ids. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getBenficiaryOrder/).
|
|
271
|
-
*/
|
|
272
|
-
getBenficiaryOrder({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<RefundOrderBenResponse>;
|
|
234
|
+
getAggregatorsConfig({ refresh, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<AggregatorsConfigDetail>;
|
|
273
235
|
/**
|
|
274
236
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
275
237
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
276
|
-
* @returns {Promise<
|
|
238
|
+
* @returns {Promise<EpaylaterBannerDetails>} - Success response
|
|
277
239
|
* @name getEpaylaterBannerDetails
|
|
278
240
|
* @summary: Epaylater banner info
|
|
279
241
|
* @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/).
|
|
280
242
|
*/
|
|
281
|
-
getEpaylaterBannerDetails({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
243
|
+
getEpaylaterBannerDetails({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<EpaylaterBannerDetails>;
|
|
282
244
|
/**
|
|
283
245
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
284
246
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
285
|
-
* @returns {Promise<
|
|
247
|
+
* @returns {Promise<OrderBeneficiaryFetchDetails>} - Success response
|
|
286
248
|
* @name getOrderBeneficiariesDetail
|
|
287
249
|
* @summary: Retrieve beneficiary details
|
|
288
250
|
* @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/).
|
|
289
251
|
*/
|
|
290
|
-
getOrderBeneficiariesDetail({ orderId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
252
|
+
getOrderBeneficiariesDetail({ orderId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<OrderBeneficiaryFetchDetails>;
|
|
291
253
|
/**
|
|
292
254
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
293
255
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
294
|
-
* @returns {Promise<
|
|
256
|
+
* @returns {Promise<GetPaymentLinkDetails>} - Success response
|
|
295
257
|
* @name getPaymentLink
|
|
296
|
-
* @summary: Fetch payment link.
|
|
297
|
-
* @description: Get a generated payment link. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getPaymentLink/).
|
|
298
|
-
*/
|
|
299
|
-
getPaymentLink({ paymentLinkId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<GetPaymentLinkResponse>;
|
|
300
|
-
/**
|
|
301
|
-
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
302
|
-
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
303
|
-
* @returns {Promise<GetPaymentLinkResponse>} - Success response
|
|
304
|
-
* @name getPaymentLinkId
|
|
305
258
|
* @summary: Get payment link
|
|
306
|
-
* @description:
|
|
259
|
+
* @description: Get a generated payment link. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getPaymentLink/).
|
|
307
260
|
*/
|
|
308
|
-
|
|
261
|
+
getPaymentLink({ paymentLinkId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<GetPaymentLinkDetails>;
|
|
309
262
|
/**
|
|
310
263
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
311
264
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
312
|
-
* @returns {Promise<
|
|
265
|
+
* @returns {Promise<PaymentModeRouteDetails>} - Success response
|
|
313
266
|
* @name getPaymentModeRoutes
|
|
314
267
|
* @summary: Get payment modes
|
|
315
268
|
* @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/).
|
|
316
269
|
*/
|
|
317
|
-
getPaymentModeRoutes({ amount, cartId, checkoutMode, refresh, orderId, cardReference, userDetails, displaySplit, advancePayment, shipmentId, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
270
|
+
getPaymentModeRoutes({ amount, cartId, checkoutMode, refresh, orderId, cardReference, userDetails, displaySplit, advancePayment, shipmentId, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PaymentModeRouteDetails>;
|
|
318
271
|
/**
|
|
319
272
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
320
273
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
321
|
-
* @returns {Promise<
|
|
274
|
+
* @returns {Promise<PaymentModeRouteDetails>} - Success response
|
|
322
275
|
* @name getPaymentModeRoutesPaymentLink
|
|
323
|
-
* @summary: Payment link
|
|
276
|
+
* @summary: Payment modes for payment link
|
|
324
277
|
* @description: List payment modes available for a given payment link. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getPaymentModeRoutesPaymentLink/).
|
|
325
278
|
*/
|
|
326
|
-
getPaymentModeRoutesPaymentLink({ paymentLinkId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
279
|
+
getPaymentModeRoutesPaymentLink({ paymentLinkId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PaymentModeRouteDetails>;
|
|
327
280
|
/**
|
|
328
281
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
329
282
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
330
|
-
* @returns {Promise<
|
|
283
|
+
* @returns {Promise<PaymentModeRouteDetails>} - Success response
|
|
331
284
|
* @name getPosPaymentModeRoutes
|
|
332
285
|
* @summary: POS payment modes
|
|
333
286
|
* @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/).
|
|
334
287
|
*/
|
|
335
|
-
getPosPaymentModeRoutes({ amount, pincode, orderType,
|
|
288
|
+
getPosPaymentModeRoutes({ amount, cartId, pincode, orderType, checkoutMode, refresh, cardReference, userDetails, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PaymentModeRouteDetails>;
|
|
336
289
|
/**
|
|
337
290
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
338
291
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
339
|
-
* @returns {Promise<
|
|
292
|
+
* @returns {Promise<RupifiBannerDetails>} - Success response
|
|
340
293
|
* @name getRupifiBannerDetails
|
|
341
|
-
* @summary: Rupifi banner info
|
|
294
|
+
* @summary: Rupifi banner info
|
|
342
295
|
* @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/).
|
|
343
296
|
*/
|
|
344
|
-
getRupifiBannerDetails({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
297
|
+
getRupifiBannerDetails({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<RupifiBannerDetails>;
|
|
345
298
|
/**
|
|
346
299
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
347
300
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
348
|
-
* @returns {Promise<
|
|
349
|
-
* @name getSelectedRefundOption
|
|
350
|
-
* @summary: get the selected refund options for shipment id
|
|
351
|
-
* @description: get the selected refund options for shipment id. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getSelectedRefundOption/).
|
|
352
|
-
*/
|
|
353
|
-
getSelectedRefundOption({ shipmentId, orderId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<SelectedRefundOptionResponse>;
|
|
354
|
-
/**
|
|
355
|
-
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
356
|
-
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
357
|
-
* @returns {Promise<OrderBeneficiaryResponse>} - Success response
|
|
301
|
+
* @returns {Promise<OrderBeneficiaryFetchDetails>} - Success response
|
|
358
302
|
* @name getUserBeneficiariesDetail
|
|
359
303
|
* @summary: Retrieve beneficiary details
|
|
360
304
|
* @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/).
|
|
361
305
|
*/
|
|
362
|
-
getUserBeneficiariesDetail({ orderId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
306
|
+
getUserBeneficiariesDetail({ orderId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<OrderBeneficiaryFetchDetails>;
|
|
363
307
|
/**
|
|
364
308
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
365
309
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
366
|
-
* @returns {Promise<
|
|
367
|
-
* @name getUserBeneficiariesDetailV2
|
|
368
|
-
* @summary: Retrieve beneficiary details
|
|
369
|
-
* @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/getUserBeneficiariesDetailV2/).
|
|
370
|
-
*/
|
|
371
|
-
getUserBeneficiariesDetailV2({ orderId, shipmentId, mop, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<OrderBeneficiaryResponseSchemaV2>;
|
|
372
|
-
/**
|
|
373
|
-
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
374
|
-
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
375
|
-
* @returns {Promise<AddBeneficiaryDetailsOTPResponse>} - Success response
|
|
376
|
-
* @name getotpOrderBeneficiariesDetail
|
|
377
|
-
* @summary: Lists the beneficiary of a refund
|
|
378
|
-
* @description: Get the details of all active beneficiary added by a user for refund. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getotpOrderBeneficiariesDetail/).
|
|
379
|
-
*/
|
|
380
|
-
getotpOrderBeneficiariesDetail({ orderId, requestHash, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<AddBeneficiaryDetailsOTPResponse>;
|
|
381
|
-
/**
|
|
382
|
-
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
383
|
-
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
384
|
-
* @returns {Promise<PaymentInitializationResponse>} - Success response
|
|
310
|
+
* @returns {Promise<PaymentInitializationDetails>} - Success response
|
|
385
311
|
* @name initialisePayment
|
|
386
|
-
* @summary: Start payment process
|
|
312
|
+
* @summary: Start payment process
|
|
387
313
|
* @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/).
|
|
388
314
|
*/
|
|
389
|
-
initialisePayment({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
315
|
+
initialisePayment({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PaymentInitializationDetails>;
|
|
390
316
|
/**
|
|
391
317
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
392
318
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
393
|
-
* @returns {Promise<
|
|
319
|
+
* @returns {Promise<PaymentInitializationDetails>} - Success response
|
|
394
320
|
* @name initialisePaymentPaymentLink
|
|
395
|
-
* @summary:
|
|
321
|
+
* @summary: Initialize payment link
|
|
396
322
|
* @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/).
|
|
397
323
|
*/
|
|
398
|
-
initialisePaymentPaymentLink({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
324
|
+
initialisePaymentPaymentLink({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PaymentInitializationDetails>;
|
|
399
325
|
/**
|
|
400
326
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
401
327
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
@@ -408,165 +334,129 @@ declare class Payment {
|
|
|
408
334
|
/**
|
|
409
335
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
410
336
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
411
|
-
* @returns {Promise<
|
|
412
|
-
* @name outstandingOrderDetails
|
|
413
|
-
* @summary: Outstanding orders.
|
|
414
|
-
* @description: Get details of orders with outstanding payments. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/outstandingOrderDetails/).
|
|
415
|
-
*/
|
|
416
|
-
outstandingOrderDetails({ aggregator, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<OutstandingOrderDetailsResponse>;
|
|
417
|
-
/**
|
|
418
|
-
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
419
|
-
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
420
|
-
* @returns {Promise<PaidOrderDetailsResponse>} - Success response
|
|
337
|
+
* @returns {Promise<PaidOrderDetails>} - Success response
|
|
421
338
|
* @name paidOrderDetails
|
|
422
339
|
* @summary: Retrieve details of paid orders
|
|
423
340
|
* @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/).
|
|
424
341
|
*/
|
|
425
|
-
paidOrderDetails({ aggregator, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
342
|
+
paidOrderDetails({ aggregator, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PaidOrderDetails>;
|
|
426
343
|
/**
|
|
427
344
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
428
345
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
429
|
-
* @returns {Promise<
|
|
346
|
+
* @returns {Promise<PollingPaymentLinkDetails>} - Success response
|
|
430
347
|
* @name pollingPaymentLink
|
|
431
|
-
* @summary: Poll payment link
|
|
348
|
+
* @summary: Poll status of payment link
|
|
432
349
|
* @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/).
|
|
433
350
|
*/
|
|
434
|
-
pollingPaymentLink({ paymentLinkId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
351
|
+
pollingPaymentLink({ paymentLinkId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PollingPaymentLinkDetails>;
|
|
435
352
|
/**
|
|
436
353
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
437
354
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
438
|
-
* @returns {Promise<
|
|
355
|
+
* @returns {Promise<RedirectToAggregatorDetails>} - Success response
|
|
439
356
|
* @name redirectToAggregator
|
|
440
357
|
* @summary: Redirects users to the payment aggregator's interface
|
|
441
|
-
* @description:
|
|
358
|
+
* @description: This endpoint is used to redirect users to the payment aggregator's platform where they can complete the payment process. The request may include necessary details for initiating the payment on the aggregator’s side, and the user is transferred seamlessly to their interface. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/redirectToAggregator/).
|
|
442
359
|
*/
|
|
443
|
-
redirectToAggregator({
|
|
360
|
+
redirectToAggregator({ aggregator, source, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<RedirectToAggregatorDetails>;
|
|
444
361
|
/**
|
|
445
362
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
446
363
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
447
|
-
* @returns {Promise<
|
|
364
|
+
* @returns {Promise<RenderHTMLDetails>} - Success response
|
|
448
365
|
* @name renderHTML
|
|
449
|
-
* @summary: Render HTML
|
|
366
|
+
* @summary: Render HTML
|
|
450
367
|
* @description: Render HTML for a payment aggregator page. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/renderHTML/).
|
|
451
368
|
*/
|
|
452
|
-
renderHTML({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
369
|
+
renderHTML({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<RenderHTMLDetails>;
|
|
453
370
|
/**
|
|
454
371
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
455
372
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
456
|
-
* @returns {Promise<
|
|
373
|
+
* @returns {Promise<ResendOrCancelPaymentDetails>} - Success response
|
|
457
374
|
* @name resendOrCancelPayment
|
|
458
375
|
* @summary: Resend or cancel a pending payment transaction
|
|
459
376
|
* @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/).
|
|
460
377
|
*/
|
|
461
|
-
resendOrCancelPayment({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
378
|
+
resendOrCancelPayment({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ResendOrCancelPaymentDetails>;
|
|
462
379
|
/**
|
|
463
380
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
464
381
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
465
|
-
* @returns {Promise<
|
|
382
|
+
* @returns {Promise<ResendPaymentLinkDetails>} - Success response
|
|
466
383
|
* @name resendPaymentLink
|
|
467
384
|
* @summary: Resend payment link
|
|
468
385
|
* @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/).
|
|
469
386
|
*/
|
|
470
|
-
resendPaymentLink({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
387
|
+
resendPaymentLink({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ResendPaymentLinkDetails>;
|
|
471
388
|
/**
|
|
472
389
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
473
390
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
474
|
-
* @returns {Promise<
|
|
475
|
-
* @name setRefundOptionforShipment
|
|
476
|
-
* @summary: Save refund source against shipment and order
|
|
477
|
-
* @description: Save refund source against shipment and order. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/setRefundOptionforShipment/).
|
|
478
|
-
*/
|
|
479
|
-
setRefundOptionforShipment({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ShipmentRefundResponse>;
|
|
480
|
-
/**
|
|
481
|
-
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
482
|
-
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
483
|
-
* @returns {Promise<UpdateCardResponse>} - Success response
|
|
484
|
-
* @name updateActiveCards
|
|
485
|
-
* @summary: update a card
|
|
486
|
-
* @description: Use this API to update a card list added by a user on the payment gateway. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/updateActiveCards/).
|
|
487
|
-
*/
|
|
488
|
-
updateActiveCards({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<UpdateCardResponse>;
|
|
489
|
-
/**
|
|
490
|
-
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
491
|
-
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
492
|
-
* @returns {Promise<SetDefaultBeneficiaryResponse>} - Success response
|
|
391
|
+
* @returns {Promise<SetDefaultBeneficiaryDetails>} - Success response
|
|
493
392
|
* @name updateDefaultBeneficiary
|
|
494
393
|
* @summary: Set default beneficiary for refund
|
|
495
394
|
* @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/).
|
|
496
395
|
*/
|
|
497
|
-
updateDefaultBeneficiary({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
498
|
-
/**
|
|
499
|
-
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
500
|
-
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
501
|
-
* @returns {Promise<UpdateAggregatorCardResponse>} - Success response
|
|
502
|
-
* @name updateUserCard
|
|
503
|
-
* @summary: card aggregator
|
|
504
|
-
* @description: Use this API to get card of user. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/updateUserCard/).
|
|
505
|
-
*/
|
|
506
|
-
updateUserCard({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<UpdateAggregatorCardResponse>;
|
|
396
|
+
updateDefaultBeneficiary({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<SetDefaultBeneficiaryDetails>;
|
|
507
397
|
/**
|
|
508
398
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
509
399
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
510
|
-
* @returns {Promise<
|
|
511
|
-
* @name
|
|
512
|
-
* @summary:
|
|
513
|
-
* @description:
|
|
400
|
+
* @returns {Promise<ValidateCustomerCreditSchema>} - Success response
|
|
401
|
+
* @name validateCustomerAndCreditSummary
|
|
402
|
+
* @summary: Verify payment customer and show credit summary
|
|
403
|
+
* @description: Verify if the user is eligible for payment and also show credit summary if activated. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/validateCustomerAndCreditSummary/).
|
|
514
404
|
*/
|
|
515
|
-
|
|
405
|
+
validateCustomerAndCreditSummary({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ValidateCustomerCreditSchema>;
|
|
516
406
|
/**
|
|
517
407
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
518
408
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
519
|
-
* @returns {Promise<
|
|
409
|
+
* @returns {Promise<ValidateVPADetails>} - Success response
|
|
520
410
|
* @name validateVPA
|
|
521
|
-
* @summary: Validate VPA
|
|
411
|
+
* @summary: Validate VPA
|
|
522
412
|
* @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/).
|
|
523
413
|
*/
|
|
524
|
-
validateVPA({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
414
|
+
validateVPA({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ValidateVPADetails>;
|
|
525
415
|
/**
|
|
526
416
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
527
417
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
528
|
-
* @returns {Promise<
|
|
418
|
+
* @returns {Promise<ChargeCustomerDetails>} - Success response
|
|
529
419
|
* @name verifyAndChargePayment
|
|
530
420
|
* @summary: Verify order confirmation and charge
|
|
531
421
|
* @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/).
|
|
532
422
|
*/
|
|
533
|
-
verifyAndChargePayment({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
423
|
+
verifyAndChargePayment({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ChargeCustomerDetails>;
|
|
534
424
|
/**
|
|
535
425
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
536
426
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
537
|
-
* @returns {Promise<
|
|
427
|
+
* @returns {Promise<ValidateCustomerDetails>} - Success response
|
|
538
428
|
* @name verifyCustomerForPayment
|
|
539
|
-
* @summary: Verify payment customer
|
|
429
|
+
* @summary: Verify payment customer
|
|
540
430
|
* @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/).
|
|
541
431
|
*/
|
|
542
|
-
verifyCustomerForPayment({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
432
|
+
verifyCustomerForPayment({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ValidateCustomerDetails>;
|
|
543
433
|
/**
|
|
544
434
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
545
435
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
546
|
-
* @returns {Promise<
|
|
436
|
+
* @returns {Promise<IfscCodeDetails>} - Success response
|
|
547
437
|
* @name verifyIfscCode
|
|
548
438
|
* @summary: Verify IFSC
|
|
549
439
|
* @description: Validate IFSC code and returns bank details if valid. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/verifyIfscCode/).
|
|
550
440
|
*/
|
|
551
|
-
verifyIfscCode({ ifscCode, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
441
|
+
verifyIfscCode({ ifscCode, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<IfscCodeDetails>;
|
|
552
442
|
/**
|
|
553
443
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
554
444
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
555
|
-
* @returns {Promise<
|
|
445
|
+
* @returns {Promise<AddBeneficiaryViaOtpVerificationDetails>} - Success response
|
|
556
446
|
* @name verifyOtpAndAddBeneficiaryForBank
|
|
557
|
-
* @summary: Verify OTP for bank
|
|
447
|
+
* @summary: Verify OTP for bank and add beneficiary
|
|
558
448
|
* @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/).
|
|
559
449
|
*/
|
|
560
|
-
verifyOtpAndAddBeneficiaryForBank({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
450
|
+
verifyOtpAndAddBeneficiaryForBank({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<AddBeneficiaryViaOtpVerificationDetails>;
|
|
561
451
|
/**
|
|
562
452
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
563
453
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
564
|
-
* @returns {Promise<
|
|
454
|
+
* @returns {Promise<WalletOtpDetails>} - Success response
|
|
565
455
|
* @name verifyOtpAndAddBeneficiaryForWallet
|
|
566
|
-
* @summary: Verify OTP for wallet
|
|
456
|
+
* @summary: Verify OTP for wallet
|
|
567
457
|
* @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/).
|
|
568
458
|
*/
|
|
569
|
-
verifyOtpAndAddBeneficiaryForWallet({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
459
|
+
verifyOtpAndAddBeneficiaryForWallet({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<WalletOtpDetails>;
|
|
570
460
|
/**
|
|
571
461
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
572
462
|
* @param {import("../ApplicationAPIClient").Options} - Options
|