@gofynd/fdk-client-javascript 1.4.14 → 1.4.15-beta.10
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 +2 -2
- package/application.d.ts +1 -2
- package/application.js +2 -3
- package/index.d.ts +1 -2
- package/index.js +7 -1
- package/package.json +2 -3
- package/sdk/application/ApplicationClient.d.ts +0 -2
- package/sdk/application/ApplicationClient.js +0 -20
- package/sdk/application/Cart/CartApplicationClient.d.ts +55 -97
- package/sdk/application/Cart/CartApplicationClient.js +60 -1262
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +80 -162
- package/sdk/application/Catalog/CatalogApplicationClient.js +148 -1313
- package/sdk/application/Common/CommonApplicationClient.d.ts +4 -9
- package/sdk/application/Common/CommonApplicationClient.js +5 -90
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +6 -19
- package/sdk/application/Communication/CommunicationApplicationClient.js +6 -145
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +32 -80
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +31 -725
- package/sdk/application/Content/ContentApplicationClient.d.ts +63 -85
- package/sdk/application/Content/ContentApplicationClient.js +126 -942
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +11 -15
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +26 -130
- package/sdk/application/Lead/LeadApplicationClient.d.ts +10 -17
- package/sdk/application/Lead/LeadApplicationClient.js +32 -201
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +22 -62
- package/sdk/application/Logistic/LogisticApplicationClient.js +51 -647
- package/sdk/application/Order/OrderApplicationClient.d.ts +22 -56
- package/sdk/application/Order/OrderApplicationClient.js +86 -555
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +92 -209
- package/sdk/application/Payment/PaymentApplicationClient.js +57 -2099
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +15 -26
- package/sdk/application/Rewards/RewardsApplicationClient.js +17 -303
- package/sdk/application/Share/ShareApplicationClient.d.ts +14 -24
- package/sdk/application/Share/ShareApplicationClient.js +34 -294
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -14
- package/sdk/application/Theme/ThemeApplicationClient.js +30 -166
- package/sdk/application/User/UserApplicationClient.d.ts +87 -138
- package/sdk/application/User/UserApplicationClient.js +47 -1817
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -7
- package/sdk/application/Webhook/WebhookApplicationClient.js +6 -49
- package/sdk/application/index.d.ts +0 -19
- package/sdk/application/index.js +0 -35
- 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 +12 -86
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +24 -582
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +21 -116
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +16 -121
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +1 -8
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -51
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
- package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
- package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +20 -126
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +20 -970
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +85 -767
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +76 -429
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +0 -10
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +6 -120
- package/sdk/partner/OAuthClient.js +1 -0
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +10 -8
- package/sdk/partner/Theme/ThemePartnerClient.js +16 -14
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +39 -135
- package/sdk/partner/Theme/ThemePartnerModel.js +38 -114
- package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +18 -28
- package/sdk/partner/Webhook/WebhookPartnerClient.js +18 -103
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +179 -612
- package/sdk/partner/Webhook/WebhookPartnerModel.js +150 -253
- package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +0 -1
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +3 -11
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +4 -5
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +8 -14
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +9 -59
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +4 -40
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +32 -2
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +243 -3
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +130 -11
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +152 -12
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +39 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +35 -0
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
- package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +388 -443
- package/sdk/platform/Billing/BillingPlatformModel.js +263 -280
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +18 -16
- package/sdk/platform/Billing/BillingPlatformValidator.js +9 -8
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +103 -134
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +112 -407
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +65 -111
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +44 -106
- package/sdk/platform/Cart/CartPlatformModel.d.ts +1328 -4975
- package/sdk/platform/Cart/CartPlatformModel.js +1229 -1922
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +183 -208
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +358 -383
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +126 -122
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +68 -66
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +118 -141
- package/sdk/platform/Catalog/CatalogPlatformClient.js +170 -193
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1744 -1501
- package/sdk/platform/Catalog/CatalogPlatformModel.js +1211 -1383
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +18 -18
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +18 -18
- package/sdk/platform/Common/CommonPlatformClient.d.ts +2 -3
- package/sdk/platform/Common/CommonPlatformClient.js +2 -3
- package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
- package/sdk/platform/Common/CommonPlatformModel.js +6 -6
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +17 -16
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +17 -16
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +33 -43
- package/sdk/platform/Communication/CommunicationPlatformModel.js +34 -38
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +42 -46
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +43 -47
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +212 -210
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +33 -46
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +54 -67
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +24 -45
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +30 -134
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +138 -283
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +100 -219
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +9 -37
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +8 -27
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +141 -124
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +422 -449
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +141 -179
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +130 -168
- package/sdk/platform/Content/ContentPlatformClient.d.ts +106 -142
- package/sdk/platform/Content/ContentPlatformClient.js +336 -523
- package/sdk/platform/Content/ContentPlatformModel.d.ts +395 -1241
- package/sdk/platform/Content/ContentPlatformModel.js +390 -521
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +117 -168
- package/sdk/platform/Content/ContentPlatformValidator.js +108 -162
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +12 -14
- package/sdk/platform/Discount/DiscountPlatformClient.js +12 -14
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
- package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +39 -95
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +63 -462
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +15 -62
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +13 -75
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +22 -20
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +24 -21
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +116 -370
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +104 -313
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +320 -0
- package/sdk/platform/Finance/FinancePlatformClient.js +2333 -0
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +2890 -0
- package/sdk/platform/Finance/FinancePlatformModel.js +2148 -0
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +284 -0
- package/sdk/platform/Finance/FinancePlatformValidator.js +354 -0
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
- package/sdk/platform/Lead/LeadPlatformClient.js +2 -2
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -5
- package/sdk/platform/Lead/LeadPlatformModel.js +16 -16
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +4 -25
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +5 -175
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +4 -52
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +3 -34
- package/sdk/platform/Order/OrderPlatformClient.d.ts +103 -174
- package/sdk/platform/Order/OrderPlatformClient.js +275 -528
- package/sdk/platform/Order/OrderPlatformModel.d.ts +3078 -5449
- package/sdk/platform/Order/OrderPlatformModel.js +1659 -3501
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +219 -234
- package/sdk/platform/Order/OrderPlatformValidator.js +118 -146
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -6
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +7 -9
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
- package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +106 -94
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +146 -131
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +93 -64
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +70 -62
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
- package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +507 -386
- package/sdk/platform/Payment/PaymentPlatformModel.js +376 -323
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +10 -10
- package/sdk/platform/Payment/PaymentPlatformValidator.js +10 -10
- package/sdk/platform/PlatformClient.d.ts +2 -0
- package/sdk/platform/PlatformClient.js +4 -0
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +9 -9
- package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +35 -45
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +38 -117
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +13 -22
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +12 -24
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +46 -40
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +68 -62
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +396 -620
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +326 -501
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +11 -11
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +10 -10
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Share/SharePlatformApplicationClient.js +2 -2
- package/sdk/platform/Share/SharePlatformModel.d.ts +5 -36
- package/sdk/platform/Share/SharePlatformModel.js +4 -27
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +4 -8
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +0 -5
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +0 -2
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +13 -76
- package/sdk/platform/Theme/ThemePlatformModel.js +17 -57
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
- package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
- package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
- package/sdk/platform/User/UserPlatformModel.js +23 -23
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +78 -25
- package/sdk/platform/Webhook/WebhookPlatformClient.js +470 -75
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +427 -720
- package/sdk/platform/Webhook/WebhookPlatformModel.js +386 -410
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +55 -10
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +72 -12
- package/sdk/platform/index.d.ts +1 -0
- package/sdk/platform/index.js +2 -0
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +2 -3
- package/sdk/public/Configuration/ConfigurationPublicClient.js +10 -8
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
- package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
- package/sdk/public/Content/ContentPublicClient.d.ts +2 -112
- package/sdk/public/Content/ContentPublicClient.js +19 -793
- package/sdk/public/Content/ContentPublicModel.d.ts +3 -549
- package/sdk/public/Content/ContentPublicModel.js +3 -649
- package/sdk/public/Content/ContentPublicValidator.d.ts +3 -69
- package/sdk/public/Content/ContentPublicValidator.js +2 -88
- package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
- package/sdk/public/Partner/PartnerPublicClient.js +14 -2
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
- package/sdk/public/Webhook/WebhookPublicClient.js +13 -10
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
- package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
- package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
- package/sdk/application/Cart/CartApplicationModel.d.ts +0 -4340
- package/sdk/application/Cart/CartApplicationModel.js +0 -2718
- package/sdk/application/Cart/CartApplicationValidator.d.ts +0 -788
- package/sdk/application/Cart/CartApplicationValidator.js +0 -546
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +0 -3909
- package/sdk/application/Catalog/CatalogApplicationModel.js +0 -2667
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +0 -791
- package/sdk/application/Catalog/CatalogApplicationValidator.js +0 -551
- package/sdk/application/Common/CommonApplicationModel.d.ts +0 -449
- package/sdk/application/Common/CommonApplicationModel.js +0 -308
- package/sdk/application/Common/CommonApplicationValidator.d.ts +0 -46
- package/sdk/application/Common/CommonApplicationValidator.js +0 -38
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +0 -293
- package/sdk/application/Communication/CommunicationApplicationModel.js +0 -201
- package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +0 -29
- package/sdk/application/Communication/CommunicationApplicationValidator.js +0 -38
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +0 -2544
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +0 -1875
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +0 -179
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +0 -176
- package/sdk/application/Content/ContentApplicationModel.d.ts +0 -2189
- package/sdk/application/Content/ContentApplicationModel.js +0 -1640
- package/sdk/application/Content/ContentApplicationValidator.d.ts +0 -290
- package/sdk/application/Content/ContentApplicationValidator.js +0 -269
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +0 -270
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +0 -188
- package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +0 -56
- package/sdk/application/FileStorage/FileStorageApplicationValidator.js +0 -53
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +0 -36
- package/sdk/application/Finance/FinanceApplicationClient.js +0 -202
- package/sdk/application/Finance/FinanceApplicationModel.d.ts +0 -289
- package/sdk/application/Finance/FinanceApplicationModel.js +0 -208
- package/sdk/application/Finance/FinanceApplicationValidator.d.ts +0 -25
- package/sdk/application/Finance/FinanceApplicationValidator.js +0 -31
- package/sdk/application/Lead/LeadApplicationModel.d.ts +0 -590
- package/sdk/application/Lead/LeadApplicationModel.js +0 -480
- package/sdk/application/Lead/LeadApplicationValidator.d.ts +0 -68
- package/sdk/application/Lead/LeadApplicationValidator.js +0 -71
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +0 -2034
- package/sdk/application/Logistic/LogisticApplicationModel.js +0 -1391
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +0 -299
- package/sdk/application/Logistic/LogisticApplicationValidator.js +0 -224
- package/sdk/application/Order/OrderApplicationModel.d.ts +0 -2612
- package/sdk/application/Order/OrderApplicationModel.js +0 -1669
- package/sdk/application/Order/OrderApplicationValidator.d.ts +0 -279
- package/sdk/application/Order/OrderApplicationValidator.js +0 -210
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +0 -4062
- package/sdk/application/Payment/PaymentApplicationModel.js +0 -2632
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +0 -576
- package/sdk/application/Payment/PaymentApplicationValidator.js +0 -594
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +0 -365
- package/sdk/application/Rewards/RewardsApplicationModel.js +0 -396
- package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +0 -73
- package/sdk/application/Rewards/RewardsApplicationValidator.js +0 -84
- package/sdk/application/Share/ShareApplicationModel.d.ts +0 -339
- package/sdk/application/Share/ShareApplicationModel.js +0 -234
- package/sdk/application/Share/ShareApplicationValidator.d.ts +0 -90
- package/sdk/application/Share/ShareApplicationValidator.js +0 -91
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +0 -1744
- package/sdk/application/Theme/ThemeApplicationModel.js +0 -1446
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +0 -79
- package/sdk/application/Theme/ThemeApplicationValidator.js +0 -65
- package/sdk/application/User/UserApplicationModel.d.ts +0 -1943
- package/sdk/application/User/UserApplicationModel.js +0 -1382
- package/sdk/application/User/UserApplicationValidator.d.ts +0 -560
- package/sdk/application/User/UserApplicationValidator.js +0 -573
- package/sdk/application/Webhook/WebhookApplicationModel.d.ts +0 -54
- package/sdk/application/Webhook/WebhookApplicationModel.js +0 -48
- package/sdk/application/Webhook/WebhookApplicationValidator.d.ts +0 -16
- package/sdk/application/Webhook/WebhookApplicationValidator.js +0 -19
- package/sdk/common/Clickstream.d.ts +0 -1
- package/sdk/common/Clickstream.js +0 -464
|
@@ -53,534 +53,417 @@ declare class Payment {
|
|
|
53
53
|
_urls: {};
|
|
54
54
|
updateUrls(urls: any): void;
|
|
55
55
|
/**
|
|
56
|
-
* @param {PaymentApplicationValidator.AddBeneficiaryDetailsParam} arg - Arg object.
|
|
57
56
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
58
57
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
59
|
-
* @returns {Promise<
|
|
58
|
+
* @returns {Promise<RefundAccountResponse>} - Success response
|
|
60
59
|
* @name addBeneficiaryDetails
|
|
61
60
|
* @summary: Add beneficiary for refund
|
|
62
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/).
|
|
63
62
|
*/
|
|
64
|
-
addBeneficiaryDetails({ body, requestHeaders }?:
|
|
63
|
+
addBeneficiaryDetails({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<RefundAccountResponse>;
|
|
65
64
|
/**
|
|
66
|
-
* @param {PaymentApplicationValidator.AddRefundBankAccountUsingOTPParam} arg
|
|
67
|
-
* - Arg object.
|
|
68
|
-
*
|
|
69
65
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
70
66
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
71
|
-
* @returns {Promise<
|
|
67
|
+
* @returns {Promise<RefundAccountResponse>} - Success response
|
|
72
68
|
* @name addRefundBankAccountUsingOTP
|
|
73
69
|
* @summary: Add refund account using OTP verification
|
|
74
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/).
|
|
75
71
|
*/
|
|
76
|
-
addRefundBankAccountUsingOTP({ body, requestHeaders }?:
|
|
72
|
+
addRefundBankAccountUsingOTP({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<RefundAccountResponse>;
|
|
77
73
|
/**
|
|
78
|
-
* @param {PaymentApplicationValidator.AttachCardToCustomerParam} arg - Arg object.
|
|
79
74
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
80
75
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
81
|
-
* @returns {Promise<
|
|
76
|
+
* @returns {Promise<AttachCardsResponse>} - Success response
|
|
82
77
|
* @name attachCardToCustomer
|
|
83
78
|
* @summary: Link payment card to customer
|
|
84
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/).
|
|
85
80
|
*/
|
|
86
|
-
attachCardToCustomer({ body, requestHeaders }?:
|
|
81
|
+
attachCardToCustomer({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<AttachCardsResponse>;
|
|
87
82
|
/**
|
|
88
|
-
* @param {PaymentApplicationValidator.CancelPaymentLinkParam} arg - Arg object.
|
|
89
83
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
90
84
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
91
|
-
* @returns {Promise<
|
|
92
|
-
* Success response
|
|
85
|
+
* @returns {Promise<CancelPaymentLinkResponse>} - Success response
|
|
93
86
|
* @name cancelPaymentLink
|
|
94
87
|
* @summary: Cancel payment link
|
|
95
88
|
* @description: Cancel previously generated payment link. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/cancelPaymentLink/).
|
|
96
89
|
*/
|
|
97
|
-
cancelPaymentLink({ body, requestHeaders }?:
|
|
90
|
+
cancelPaymentLink({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CancelPaymentLinkResponse>;
|
|
98
91
|
/**
|
|
99
|
-
* @param {PaymentApplicationValidator.CardDetailsParam} arg - Arg object.
|
|
100
92
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
101
93
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
102
|
-
* @returns {Promise<
|
|
103
|
-
* Success response
|
|
94
|
+
* @returns {Promise<CardDetailsResponse>} - Success response
|
|
104
95
|
* @name cardDetails
|
|
105
96
|
* @summary: Get card details
|
|
106
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/).
|
|
107
98
|
*/
|
|
108
|
-
cardDetails({ cardInfo, aggregator, requestHeaders }?:
|
|
99
|
+
cardDetails({ cardInfo, aggregator, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<CardDetailsResponse>;
|
|
109
100
|
/**
|
|
110
|
-
* @param {PaymentApplicationValidator.CheckAndUpdatePaymentStatusParam} arg
|
|
111
|
-
* - Arg object.
|
|
112
|
-
*
|
|
113
101
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
114
102
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
115
|
-
* @returns {Promise<
|
|
116
|
-
* Success response
|
|
103
|
+
* @returns {Promise<PaymentStatusUpdateResponse>} - Success response
|
|
117
104
|
* @name checkAndUpdatePaymentStatus
|
|
118
105
|
* @summary: Update payment status
|
|
119
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/).
|
|
120
107
|
*/
|
|
121
|
-
checkAndUpdatePaymentStatus({ body, requestHeaders }?:
|
|
108
|
+
checkAndUpdatePaymentStatus({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PaymentStatusUpdateResponse>;
|
|
122
109
|
/**
|
|
123
|
-
* @param {PaymentApplicationValidator.CheckAndUpdatePaymentStatusPaymentLinkParam} arg
|
|
124
|
-
* - Arg object.
|
|
125
|
-
*
|
|
126
110
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
127
111
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
128
|
-
* @returns {Promise<
|
|
129
|
-
* Success response
|
|
112
|
+
* @returns {Promise<PaymentStatusUpdateResponse>} - Success response
|
|
130
113
|
* @name checkAndUpdatePaymentStatusPaymentLink
|
|
131
114
|
* @summary: Update payment link status
|
|
132
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/).
|
|
133
116
|
*/
|
|
134
|
-
checkAndUpdatePaymentStatusPaymentLink({ body, requestHeaders }?:
|
|
117
|
+
checkAndUpdatePaymentStatusPaymentLink({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PaymentStatusUpdateResponse>;
|
|
135
118
|
/**
|
|
136
|
-
* @param {PaymentApplicationValidator.CheckCreditParam} arg - Arg object.
|
|
137
119
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
138
120
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
139
|
-
* @returns {Promise<
|
|
121
|
+
* @returns {Promise<CheckCreditResponse>} - Success response
|
|
140
122
|
* @name checkCredit
|
|
141
123
|
* @summary: Verify credit availability and status
|
|
142
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/).
|
|
143
125
|
*/
|
|
144
|
-
checkCredit({ aggregator, requestHeaders }?:
|
|
126
|
+
checkCredit({ aggregator, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CheckCreditResponse>;
|
|
145
127
|
/**
|
|
146
|
-
* @param {PaymentApplicationValidator.CreateOrderHandlerPaymentLinkParam} arg
|
|
147
|
-
* - Arg object.
|
|
148
|
-
*
|
|
149
128
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
150
129
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
151
|
-
* @returns {Promise<
|
|
152
|
-
* Success response
|
|
130
|
+
* @returns {Promise<CreateOrderUserResponse>} - Success response
|
|
153
131
|
* @name createOrderHandlerPaymentLink
|
|
154
132
|
* @summary: Create order for payment via link
|
|
155
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/).
|
|
156
134
|
*/
|
|
157
|
-
createOrderHandlerPaymentLink({ body, requestHeaders }?:
|
|
135
|
+
createOrderHandlerPaymentLink({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CreateOrderUserResponse>;
|
|
158
136
|
/**
|
|
159
|
-
* @param {PaymentApplicationValidator.CreatePaymentLinkParam} arg - Arg object.
|
|
160
137
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
161
138
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
162
|
-
* @returns {Promise<
|
|
163
|
-
* Success response
|
|
139
|
+
* @returns {Promise<CreatePaymentLinkResponse>} - Success response
|
|
164
140
|
* @name createPaymentLink
|
|
165
141
|
* @summary: Create payment link
|
|
166
142
|
* @description: Create new payment link for transactions. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/createPaymentLink/).
|
|
167
143
|
*/
|
|
168
|
-
createPaymentLink({ body, requestHeaders }?:
|
|
144
|
+
createPaymentLink({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CreatePaymentLinkResponse>;
|
|
169
145
|
/**
|
|
170
|
-
* @param {PaymentApplicationValidator.CreatePaymentOrderParam} arg - Arg object.
|
|
171
146
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
172
147
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
173
|
-
* @returns {Promise<
|
|
148
|
+
* @returns {Promise<PaymentOrderResponse>} - Success response
|
|
174
149
|
* @name createPaymentOrder
|
|
175
150
|
* @summary: Create Order
|
|
176
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/).
|
|
177
152
|
*/
|
|
178
|
-
createPaymentOrder({ body, requestHeaders }?:
|
|
153
|
+
createPaymentOrder({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PaymentOrderResponse>;
|
|
179
154
|
/**
|
|
180
|
-
* @param {PaymentApplicationValidator.CustomerCreditSummaryParam} arg - Arg object.
|
|
181
155
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
182
156
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
183
|
-
* @returns {Promise<
|
|
184
|
-
* - Success response
|
|
185
|
-
*
|
|
157
|
+
* @returns {Promise<CustomerCreditSummaryResponse>} - Success response
|
|
186
158
|
* @name customerCreditSummary
|
|
187
159
|
* @summary: Credit summary
|
|
188
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/).
|
|
189
161
|
*/
|
|
190
|
-
customerCreditSummary({ aggregator, requestHeaders }?:
|
|
162
|
+
customerCreditSummary({ aggregator, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CustomerCreditSummaryResponse>;
|
|
191
163
|
/**
|
|
192
|
-
* @param {PaymentApplicationValidator.CustomerOnboardParam} arg - Arg object.
|
|
193
164
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
194
165
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
195
|
-
* @returns {Promise<
|
|
196
|
-
* Success response
|
|
166
|
+
* @returns {Promise<CustomerOnboardingResponse>} - Success response
|
|
197
167
|
* @name customerOnboard
|
|
198
168
|
* @summary: Onboard customer for payment
|
|
199
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/).
|
|
200
170
|
*/
|
|
201
|
-
customerOnboard({ body, requestHeaders }?:
|
|
171
|
+
customerOnboard({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CustomerOnboardingResponse>;
|
|
202
172
|
/**
|
|
203
|
-
* @param {PaymentApplicationValidator.DeleteUserCardParam} arg - Arg object.
|
|
204
173
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
205
174
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
206
|
-
* @returns {Promise<
|
|
175
|
+
* @returns {Promise<DeleteCardsResponse>} - Success response
|
|
207
176
|
* @name deleteUserCard
|
|
208
177
|
* @summary: Delete customer card
|
|
209
178
|
* @description: Delete payment card from the user's account. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/deleteUserCard/).
|
|
210
179
|
*/
|
|
211
|
-
deleteUserCard({ body, requestHeaders }?:
|
|
180
|
+
deleteUserCard({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<DeleteCardsResponse>;
|
|
212
181
|
/**
|
|
213
|
-
* @param {PaymentApplicationValidator.DelinkWalletParam} arg - Arg object.
|
|
214
182
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
215
183
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
216
|
-
* @returns {Promise<
|
|
184
|
+
* @returns {Promise<WalletResponseSchema>} - Success response
|
|
217
185
|
* @name delinkWallet
|
|
218
186
|
* @summary: Delink the wallet
|
|
219
187
|
* @description: Delink the wallet. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/delinkWallet/).
|
|
220
188
|
*/
|
|
221
|
-
delinkWallet({ body, requestHeaders }?:
|
|
189
|
+
delinkWallet({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<WalletResponseSchema>;
|
|
222
190
|
/**
|
|
223
|
-
* @param {PaymentApplicationValidator.EnableOrDisableRefundTransferModeParam} arg
|
|
224
|
-
* - Arg object.
|
|
225
|
-
*
|
|
226
191
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
227
192
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
228
|
-
* @returns {Promise<
|
|
229
|
-
* - Success response
|
|
230
|
-
*
|
|
193
|
+
* @returns {Promise<UpdateRefundTransferModeResponse>} - Success response
|
|
231
194
|
* @name enableOrDisableRefundTransferMode
|
|
232
195
|
* @summary: Toggle refund mode
|
|
233
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/).
|
|
234
197
|
*/
|
|
235
|
-
enableOrDisableRefundTransferMode({ body, requestHeaders }?:
|
|
198
|
+
enableOrDisableRefundTransferMode({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<UpdateRefundTransferModeResponse>;
|
|
236
199
|
/**
|
|
237
|
-
* @param {PaymentApplicationValidator.GetActiveCardAggregatorParam} arg - Arg object.
|
|
238
200
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
239
201
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
240
|
-
* @returns {Promise<
|
|
241
|
-
* - Success response
|
|
242
|
-
*
|
|
202
|
+
* @returns {Promise<ActiveCardPaymentGatewayResponse>} - Success response
|
|
243
203
|
* @name getActiveCardAggregator
|
|
244
204
|
* @summary: Retrieve active card aggregator
|
|
245
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/).
|
|
246
206
|
*/
|
|
247
|
-
getActiveCardAggregator({ refresh, requestHeaders }?:
|
|
207
|
+
getActiveCardAggregator({ refresh, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ActiveCardPaymentGatewayResponse>;
|
|
248
208
|
/**
|
|
249
|
-
* @param {PaymentApplicationValidator.GetActiveRefundTransferModesParam} arg
|
|
250
|
-
* - Arg object.
|
|
251
|
-
*
|
|
252
209
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
253
210
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
254
|
-
* @returns {Promise<
|
|
255
|
-
* Success response
|
|
211
|
+
* @returns {Promise<TransferModeResponse>} - Success response
|
|
256
212
|
* @name getActiveRefundTransferModes
|
|
257
213
|
* @summary: Get refund transfer modes
|
|
258
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/).
|
|
259
215
|
*/
|
|
260
|
-
getActiveRefundTransferModes({ requestHeaders }?:
|
|
216
|
+
getActiveRefundTransferModes({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<TransferModeResponse>;
|
|
261
217
|
/**
|
|
262
|
-
* @param {PaymentApplicationValidator.GetActiveUserCardsParam} arg - Arg object.
|
|
263
218
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
264
219
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
265
|
-
* @returns {Promise<
|
|
220
|
+
* @returns {Promise<ListCardsResponse>} - Success response
|
|
266
221
|
* @name getActiveUserCards
|
|
267
222
|
* @summary: Get customer cards
|
|
268
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/).
|
|
269
224
|
*/
|
|
270
|
-
getActiveUserCards({ forceRefresh, requestHeaders }?:
|
|
225
|
+
getActiveUserCards({ forceRefresh, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ListCardsResponse>;
|
|
271
226
|
/**
|
|
272
|
-
* @param {PaymentApplicationValidator.GetAggregatorsConfigParam} arg - Arg object.
|
|
273
227
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
274
228
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
275
|
-
* @returns {Promise<
|
|
276
|
-
* Success response
|
|
229
|
+
* @returns {Promise<AggregatorsConfigDetailResponse>} - Success response
|
|
277
230
|
* @name getAggregatorsConfig
|
|
278
231
|
* @summary: Get payment aggregators
|
|
279
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/).
|
|
280
233
|
*/
|
|
281
|
-
getAggregatorsConfig({ xApiToken, refresh, requestHeaders }?:
|
|
234
|
+
getAggregatorsConfig({ xApiToken, refresh, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<AggregatorsConfigDetailResponse>;
|
|
282
235
|
/**
|
|
283
|
-
* @param {PaymentApplicationValidator.GetEpaylaterBannerDetailsParam} arg
|
|
284
|
-
* - Arg object.
|
|
285
|
-
*
|
|
286
236
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
287
237
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
288
|
-
* @returns {Promise<
|
|
289
|
-
* Success response
|
|
238
|
+
* @returns {Promise<EpaylaterBannerResponse>} - Success response
|
|
290
239
|
* @name getEpaylaterBannerDetails
|
|
291
240
|
* @summary: Epaylater banner info
|
|
292
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/).
|
|
293
242
|
*/
|
|
294
|
-
getEpaylaterBannerDetails({ requestHeaders }?:
|
|
243
|
+
getEpaylaterBannerDetails({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<EpaylaterBannerResponse>;
|
|
295
244
|
/**
|
|
296
|
-
* @param {PaymentApplicationValidator.GetOrderBeneficiariesDetailParam} arg
|
|
297
|
-
* - Arg object.
|
|
298
|
-
*
|
|
299
245
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
300
246
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
301
|
-
* @returns {Promise<
|
|
302
|
-
* - Success response
|
|
303
|
-
*
|
|
247
|
+
* @returns {Promise<OrderBeneficiaryResponse>} - Success response
|
|
304
248
|
* @name getOrderBeneficiariesDetail
|
|
305
249
|
* @summary: Retrieve beneficiary details
|
|
306
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/).
|
|
307
251
|
*/
|
|
308
|
-
getOrderBeneficiariesDetail({ orderId, requestHeaders }?:
|
|
252
|
+
getOrderBeneficiariesDetail({ orderId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<OrderBeneficiaryResponse>;
|
|
309
253
|
/**
|
|
310
|
-
* @param {PaymentApplicationValidator.GetPaymentLinkParam} arg - Arg object.
|
|
311
254
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
312
255
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
313
|
-
* @returns {Promise<
|
|
314
|
-
* Success response
|
|
256
|
+
* @returns {Promise<GetPaymentLinkResponse>} - Success response
|
|
315
257
|
* @name getPaymentLink
|
|
316
258
|
* @summary: Get payment link
|
|
317
259
|
* @description: Get a generated payment link. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getPaymentLink/).
|
|
318
260
|
*/
|
|
319
|
-
getPaymentLink({ paymentLinkId, requestHeaders }?:
|
|
261
|
+
getPaymentLink({ paymentLinkId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<GetPaymentLinkResponse>;
|
|
320
262
|
/**
|
|
321
|
-
* @param {PaymentApplicationValidator.GetPaymentModeRoutesParam} arg - Arg object.
|
|
322
263
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
323
264
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
324
|
-
* @returns {Promise<
|
|
325
|
-
* Success response
|
|
265
|
+
* @returns {Promise<PaymentModeRouteResponse>} - Success response
|
|
326
266
|
* @name getPaymentModeRoutes
|
|
327
267
|
* @summary: Get payment modes
|
|
328
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/).
|
|
329
269
|
*/
|
|
330
|
-
getPaymentModeRoutes({ amount, cartId, checkoutMode, refresh, orderId, cardReference, userDetails, displaySplit, advancePayment, shipmentId, requestHeaders, }?:
|
|
270
|
+
getPaymentModeRoutes({ amount, cartId, checkoutMode, refresh, orderId, cardReference, userDetails, displaySplit, advancePayment, shipmentId, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PaymentModeRouteResponse>;
|
|
331
271
|
/**
|
|
332
|
-
* @param {PaymentApplicationValidator.GetPaymentModeRoutesPaymentLinkParam} arg
|
|
333
|
-
* - Arg object.
|
|
334
|
-
*
|
|
335
272
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
336
273
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
337
|
-
* @returns {Promise<
|
|
338
|
-
* Success response
|
|
274
|
+
* @returns {Promise<PaymentModeRouteResponse>} - Success response
|
|
339
275
|
* @name getPaymentModeRoutesPaymentLink
|
|
340
276
|
* @summary: Payment modes for payment link
|
|
341
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/).
|
|
342
278
|
*/
|
|
343
|
-
getPaymentModeRoutesPaymentLink({ paymentLinkId, requestHeaders }?:
|
|
279
|
+
getPaymentModeRoutesPaymentLink({ paymentLinkId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PaymentModeRouteResponse>;
|
|
344
280
|
/**
|
|
345
|
-
* @param {PaymentApplicationValidator.GetPosPaymentModeRoutesParam} arg - Arg object.
|
|
346
281
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
347
282
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
348
|
-
* @returns {Promise<
|
|
349
|
-
* Success response
|
|
283
|
+
* @returns {Promise<PaymentModeRouteResponse>} - Success response
|
|
350
284
|
* @name getPosPaymentModeRoutes
|
|
351
285
|
* @summary: POS payment modes
|
|
352
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/).
|
|
353
287
|
*/
|
|
354
|
-
getPosPaymentModeRoutes({ amount, pincode, orderType, cartId, checkoutMode, refresh, cardReference, userDetails, requestHeaders, }?:
|
|
288
|
+
getPosPaymentModeRoutes({ amount, pincode, orderType, cartId, checkoutMode, refresh, cardReference, userDetails, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PaymentModeRouteResponse>;
|
|
355
289
|
/**
|
|
356
|
-
* @param {PaymentApplicationValidator.GetRupifiBannerDetailsParam} arg - Arg object.
|
|
357
290
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
358
291
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
359
|
-
* @returns {Promise<
|
|
292
|
+
* @returns {Promise<RupifiBannerResponse>} - Success response
|
|
360
293
|
* @name getRupifiBannerDetails
|
|
361
294
|
* @summary: Rupifi banner info
|
|
362
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/).
|
|
363
296
|
*/
|
|
364
|
-
getRupifiBannerDetails({ requestHeaders }?:
|
|
297
|
+
getRupifiBannerDetails({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<RupifiBannerResponse>;
|
|
365
298
|
/**
|
|
366
|
-
* @param {PaymentApplicationValidator.GetUserBeneficiariesDetailParam} arg
|
|
367
|
-
* - Arg object.
|
|
368
|
-
*
|
|
369
299
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
370
300
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
371
|
-
* @returns {Promise<
|
|
372
|
-
* - Success response
|
|
373
|
-
*
|
|
301
|
+
* @returns {Promise<OrderBeneficiaryResponse>} - Success response
|
|
374
302
|
* @name getUserBeneficiariesDetail
|
|
375
303
|
* @summary: Retrieve beneficiary details
|
|
376
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/).
|
|
377
305
|
*/
|
|
378
|
-
getUserBeneficiariesDetail({ orderId, requestHeaders }?:
|
|
306
|
+
getUserBeneficiariesDetail({ orderId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<OrderBeneficiaryResponse>;
|
|
379
307
|
/**
|
|
380
|
-
* @param {PaymentApplicationValidator.InitialisePaymentParam} arg - Arg object.
|
|
381
308
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
382
309
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
383
|
-
* @returns {Promise<
|
|
384
|
-
* - Success response
|
|
385
|
-
*
|
|
310
|
+
* @returns {Promise<PaymentInitializationResponse>} - Success response
|
|
386
311
|
* @name initialisePayment
|
|
387
312
|
* @summary: Start payment process
|
|
388
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/).
|
|
389
314
|
*/
|
|
390
|
-
initialisePayment({ body, requestHeaders }?:
|
|
315
|
+
initialisePayment({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PaymentInitializationResponse>;
|
|
391
316
|
/**
|
|
392
|
-
* @param {PaymentApplicationValidator.InitialisePaymentPaymentLinkParam} arg
|
|
393
|
-
* - Arg object.
|
|
394
|
-
*
|
|
395
317
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
396
318
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
397
|
-
* @returns {Promise<
|
|
398
|
-
* - Success response
|
|
399
|
-
*
|
|
319
|
+
* @returns {Promise<PaymentInitializationResponse>} - Success response
|
|
400
320
|
* @name initialisePaymentPaymentLink
|
|
401
321
|
* @summary: Initialize payment link
|
|
402
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/).
|
|
403
323
|
*/
|
|
404
|
-
initialisePaymentPaymentLink({ body, requestHeaders }?:
|
|
324
|
+
initialisePaymentPaymentLink({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PaymentInitializationResponse>;
|
|
405
325
|
/**
|
|
406
|
-
* @param {PaymentApplicationValidator.LinkWalletParam} arg - Arg object.
|
|
407
326
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
408
327
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
409
|
-
* @returns {Promise<
|
|
328
|
+
* @returns {Promise<WalletResponseSchema>} - Success response
|
|
410
329
|
* @name linkWallet
|
|
411
330
|
* @summary: OTP verification
|
|
412
331
|
* @description: Verify the linking of wallet using OTP for further processing of payment. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/linkWallet/).
|
|
413
332
|
*/
|
|
414
|
-
linkWallet({ body, requestHeaders }?:
|
|
333
|
+
linkWallet({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<WalletResponseSchema>;
|
|
415
334
|
/**
|
|
416
|
-
* @param {PaymentApplicationValidator.OutstandingOrderDetailsParam} arg - Arg object.
|
|
417
335
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
418
336
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
419
|
-
* @returns {Promise<
|
|
420
|
-
* Success response
|
|
337
|
+
* @returns {Promise<OutstandingOrderDetailsResponse>} - Success response
|
|
421
338
|
* @name outstandingOrderDetails
|
|
422
339
|
* @summary: Outstanding orders
|
|
423
340
|
* @description: Get details of orders with outstanding payments. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/outstandingOrderDetails/).
|
|
424
341
|
*/
|
|
425
|
-
outstandingOrderDetails({ aggregator, requestHeaders }?:
|
|
342
|
+
outstandingOrderDetails({ aggregator, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<OutstandingOrderDetailsResponse>;
|
|
426
343
|
/**
|
|
427
|
-
* @param {PaymentApplicationValidator.PaidOrderDetailsParam} arg - Arg object.
|
|
428
344
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
429
345
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
430
|
-
* @returns {Promise<
|
|
346
|
+
* @returns {Promise<PaidOrderDetailsResponse>} - Success response
|
|
431
347
|
* @name paidOrderDetails
|
|
432
348
|
* @summary: Retrieve details of paid orders
|
|
433
349
|
* @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/).
|
|
434
350
|
*/
|
|
435
|
-
paidOrderDetails({ aggregator, requestHeaders }?:
|
|
351
|
+
paidOrderDetails({ aggregator, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PaidOrderDetailsResponse>;
|
|
436
352
|
/**
|
|
437
|
-
* @param {PaymentApplicationValidator.PollingPaymentLinkParam} arg - Arg object.
|
|
438
353
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
439
354
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
440
|
-
* @returns {Promise<
|
|
441
|
-
* Success response
|
|
355
|
+
* @returns {Promise<PollingPaymentLinkResponse>} - Success response
|
|
442
356
|
* @name pollingPaymentLink
|
|
443
357
|
* @summary: Poll status of payment link
|
|
444
358
|
* @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/).
|
|
445
359
|
*/
|
|
446
|
-
pollingPaymentLink({ paymentLinkId, requestHeaders }?:
|
|
360
|
+
pollingPaymentLink({ paymentLinkId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PollingPaymentLinkResponse>;
|
|
447
361
|
/**
|
|
448
|
-
* @param {PaymentApplicationValidator.RedirectToAggregatorParam} arg - Arg object.
|
|
449
362
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
450
363
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
451
|
-
* @returns {Promise<
|
|
452
|
-
* - Success response
|
|
453
|
-
*
|
|
364
|
+
* @returns {Promise<RedirectToAggregatorResponse>} - Success response
|
|
454
365
|
* @name redirectToAggregator
|
|
455
366
|
* @summary: Redirects users to the payment aggregator's interface
|
|
456
367
|
* @description: Get details about the active card aggregator used by the user, including the aggregator's name. You can refresh the data by setting the 'refresh' parameter to true if needed. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/redirectToAggregator/).
|
|
457
368
|
*/
|
|
458
|
-
redirectToAggregator({ source, aggregator, requestHeaders }?:
|
|
369
|
+
redirectToAggregator({ source, aggregator, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<RedirectToAggregatorResponse>;
|
|
459
370
|
/**
|
|
460
|
-
* @param {PaymentApplicationValidator.RenderHTMLParam} arg - Arg object.
|
|
461
371
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
462
372
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
463
|
-
* @returns {Promise<
|
|
373
|
+
* @returns {Promise<renderHTMLResponse>} - Success response
|
|
464
374
|
* @name renderHTML
|
|
465
375
|
* @summary: Render HTML
|
|
466
376
|
* @description: Render HTML for a payment aggregator page. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/renderHTML/).
|
|
467
377
|
*/
|
|
468
|
-
renderHTML({ body, requestHeaders }?:
|
|
378
|
+
renderHTML({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<renderHTMLResponse>;
|
|
469
379
|
/**
|
|
470
|
-
* @param {PaymentApplicationValidator.ResendOrCancelPaymentParam} arg - Arg object.
|
|
471
380
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
472
381
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
473
|
-
* @returns {Promise<
|
|
474
|
-
* - Success response
|
|
475
|
-
*
|
|
382
|
+
* @returns {Promise<ResendOrCancelPaymentResponse>} - Success response
|
|
476
383
|
* @name resendOrCancelPayment
|
|
477
384
|
* @summary: Resend or cancel a pending payment transaction
|
|
478
385
|
* @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/).
|
|
479
386
|
*/
|
|
480
|
-
resendOrCancelPayment({ body, requestHeaders }?:
|
|
387
|
+
resendOrCancelPayment({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ResendOrCancelPaymentResponse>;
|
|
481
388
|
/**
|
|
482
|
-
* @param {PaymentApplicationValidator.ResendPaymentLinkParam} arg - Arg object.
|
|
483
389
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
484
390
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
485
|
-
* @returns {Promise<
|
|
486
|
-
* Success response
|
|
391
|
+
* @returns {Promise<ResendPaymentLinkResponse>} - Success response
|
|
487
392
|
* @name resendPaymentLink
|
|
488
393
|
* @summary: Resend payment link
|
|
489
394
|
* @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/).
|
|
490
395
|
*/
|
|
491
|
-
resendPaymentLink({ body, requestHeaders }?:
|
|
396
|
+
resendPaymentLink({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ResendPaymentLinkResponse>;
|
|
492
397
|
/**
|
|
493
|
-
* @param {PaymentApplicationValidator.UpdateDefaultBeneficiaryParam} arg -
|
|
494
|
-
* Arg object.
|
|
495
398
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
496
399
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
497
|
-
* @returns {Promise<
|
|
498
|
-
* - Success response
|
|
499
|
-
*
|
|
400
|
+
* @returns {Promise<SetDefaultBeneficiaryResponse>} - Success response
|
|
500
401
|
* @name updateDefaultBeneficiary
|
|
501
402
|
* @summary: Set default beneficiary for refund
|
|
502
403
|
* @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/).
|
|
503
404
|
*/
|
|
504
|
-
updateDefaultBeneficiary({ body, requestHeaders }?:
|
|
405
|
+
updateDefaultBeneficiary({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<SetDefaultBeneficiaryResponse>;
|
|
505
406
|
/**
|
|
506
|
-
* @param {PaymentApplicationValidator.ValidateVPAParam} arg - Arg object.
|
|
507
407
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
508
408
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
509
|
-
* @returns {Promise<
|
|
409
|
+
* @returns {Promise<ValidateVPAResponse>} - Success response
|
|
510
410
|
* @name validateVPA
|
|
511
411
|
* @summary: Validate VPA
|
|
512
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/).
|
|
513
413
|
*/
|
|
514
|
-
validateVPA({ body, requestHeaders }?:
|
|
414
|
+
validateVPA({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ValidateVPAResponse>;
|
|
515
415
|
/**
|
|
516
|
-
* @param {PaymentApplicationValidator.VerifyAndChargePaymentParam} arg - Arg object.
|
|
517
416
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
518
417
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
519
|
-
* @returns {Promise<
|
|
520
|
-
* Success response
|
|
418
|
+
* @returns {Promise<ChargeCustomerResponse>} - Success response
|
|
521
419
|
* @name verifyAndChargePayment
|
|
522
420
|
* @summary: Verify order confirmation and charge
|
|
523
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/).
|
|
524
422
|
*/
|
|
525
|
-
verifyAndChargePayment({ body, requestHeaders }?:
|
|
423
|
+
verifyAndChargePayment({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ChargeCustomerResponse>;
|
|
526
424
|
/**
|
|
527
|
-
* @param {PaymentApplicationValidator.VerifyCustomerForPaymentParam} arg -
|
|
528
|
-
* Arg object.
|
|
529
425
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
530
426
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
531
|
-
* @returns {Promise<
|
|
532
|
-
* Success response
|
|
427
|
+
* @returns {Promise<ValidateCustomerResponse>} - Success response
|
|
533
428
|
* @name verifyCustomerForPayment
|
|
534
429
|
* @summary: Verify payment customer
|
|
535
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/).
|
|
536
431
|
*/
|
|
537
|
-
verifyCustomerForPayment({ body, requestHeaders }?:
|
|
432
|
+
verifyCustomerForPayment({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ValidateCustomerResponse>;
|
|
538
433
|
/**
|
|
539
|
-
* @param {PaymentApplicationValidator.VerifyIfscCodeParam} arg - Arg object.
|
|
540
434
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
541
435
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
542
|
-
* @returns {Promise<
|
|
436
|
+
* @returns {Promise<IfscCodeResponse>} - Success response
|
|
543
437
|
* @name verifyIfscCode
|
|
544
438
|
* @summary: Verify IFSC
|
|
545
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/).
|
|
546
440
|
*/
|
|
547
|
-
verifyIfscCode({ ifscCode, requestHeaders }?:
|
|
441
|
+
verifyIfscCode({ ifscCode, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<IfscCodeResponse>;
|
|
548
442
|
/**
|
|
549
|
-
* @param {PaymentApplicationValidator.VerifyOtpAndAddBeneficiaryForBankParam} arg
|
|
550
|
-
* - Arg object.
|
|
551
|
-
*
|
|
552
443
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
553
444
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
554
|
-
* @returns {Promise<
|
|
555
|
-
* - Success response
|
|
556
|
-
*
|
|
445
|
+
* @returns {Promise<AddBeneficiaryViaOtpVerificationResponse>} - Success response
|
|
557
446
|
* @name verifyOtpAndAddBeneficiaryForBank
|
|
558
447
|
* @summary: Verify OTP for bank and add beneficiary
|
|
559
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/).
|
|
560
449
|
*/
|
|
561
|
-
verifyOtpAndAddBeneficiaryForBank({ body, requestHeaders }?:
|
|
450
|
+
verifyOtpAndAddBeneficiaryForBank({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<AddBeneficiaryViaOtpVerificationResponse>;
|
|
562
451
|
/**
|
|
563
|
-
* @param {PaymentApplicationValidator.VerifyOtpAndAddBeneficiaryForWalletParam} arg
|
|
564
|
-
* - Arg object.
|
|
565
|
-
*
|
|
566
452
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
567
453
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
568
|
-
* @returns {Promise<
|
|
454
|
+
* @returns {Promise<WalletOtpResponse>} - Success response
|
|
569
455
|
* @name verifyOtpAndAddBeneficiaryForWallet
|
|
570
456
|
* @summary: Verify OTP for wallet
|
|
571
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/).
|
|
572
458
|
*/
|
|
573
|
-
verifyOtpAndAddBeneficiaryForWallet({ body, requestHeaders }?:
|
|
459
|
+
verifyOtpAndAddBeneficiaryForWallet({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<WalletOtpResponse>;
|
|
574
460
|
/**
|
|
575
|
-
* @param {PaymentApplicationValidator.WalletLinkInitiateParam} arg - Arg object.
|
|
576
461
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
577
462
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
578
|
-
* @returns {Promise<
|
|
463
|
+
* @returns {Promise<WalletResponseSchema>} - Success response
|
|
579
464
|
* @name walletLinkInitiate
|
|
580
465
|
* @summary: Initiate linking of wallet
|
|
581
466
|
* @description: Link wallet for the aggregator for processing of payment. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/walletLinkInitiate/).
|
|
582
467
|
*/
|
|
583
|
-
walletLinkInitiate({ body, requestHeaders }?:
|
|
468
|
+
walletLinkInitiate({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<WalletResponseSchema>;
|
|
584
469
|
}
|
|
585
|
-
import PaymentApplicationValidator = require("./PaymentApplicationValidator");
|
|
586
|
-
import PaymentApplicationModel = require("./PaymentApplicationModel");
|