@gofynd/fdk-client-javascript 1.1.6 → 1.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 +12 -0
- package/index.js +0 -3
- package/package.json +1 -1
- package/sdk/application/ApplicationAPIClient.d.ts +15 -1
- package/sdk/application/ApplicationAPIClient.js +8 -1
- package/sdk/application/ApplicationClient.d.ts +37 -6
- package/sdk/application/ApplicationClient.js +31 -0
- package/sdk/application/ApplicationConfig.d.ts +52 -12
- package/sdk/application/ApplicationConfig.js +37 -2
- package/sdk/application/ApplicationModels.d.ts +46 -1
- package/sdk/application/ApplicationModels.js +18 -0
- package/sdk/application/Cart/CartApplicationClient.d.ts +172 -357
- package/sdk/application/Cart/CartApplicationClient.js +620 -483
- package/sdk/application/Cart/CartApplicationModel.d.ts +2054 -96
- package/sdk/application/Cart/CartApplicationModel.js +1224 -93
- package/sdk/application/Cart/CartApplicationValidator.d.ts +508 -30
- package/sdk/application/Cart/CartApplicationValidator.js +270 -15
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +234 -413
- package/sdk/application/Catalog/CatalogApplicationClient.js +777 -630
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +2218 -117
- package/sdk/application/Catalog/CatalogApplicationModel.js +1499 -170
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +798 -31
- package/sdk/application/Catalog/CatalogApplicationValidator.js +318 -3
- package/sdk/application/Common/CommonApplicationClient.d.ts +14 -21
- package/sdk/application/Common/CommonApplicationClient.js +50 -33
- package/sdk/application/Common/CommonApplicationModel.d.ts +448 -19
- package/sdk/application/Common/CommonApplicationModel.js +224 -16
- package/sdk/application/Common/CommonApplicationValidator.d.ts +42 -4
- package/sdk/application/Common/CommonApplicationValidator.js +21 -3
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +25 -18
- package/sdk/application/Communication/CommunicationApplicationClient.js +74 -47
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +190 -14
- package/sdk/application/Communication/CommunicationApplicationModel.js +124 -7
- package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +27 -4
- package/sdk/application/Communication/CommunicationApplicationValidator.js +21 -5
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +113 -112
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +381 -260
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +2453 -110
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +1254 -108
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +160 -8
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +88 -4
- package/sdk/application/Content/ContentApplicationClient.d.ts +120 -138
- package/sdk/application/Content/ContentApplicationClient.js +409 -277
- package/sdk/application/Content/ContentApplicationModel.d.ts +1627 -105
- package/sdk/application/Content/ContentApplicationModel.js +1202 -109
- package/sdk/application/Content/ContentApplicationValidator.d.ts +214 -12
- package/sdk/application/Content/ContentApplicationValidator.js +113 -3
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +20 -29
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +68 -47
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +299 -20
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +209 -16
- package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +55 -5
- package/sdk/application/FileStorage/FileStorageApplicationValidator.js +33 -6
- package/sdk/application/Lead/LeadApplicationClient.d.ts +50 -53
- package/sdk/application/Lead/LeadApplicationClient.js +169 -103
- package/sdk/application/Lead/LeadApplicationModel.d.ts +1405 -54
- package/sdk/application/Lead/LeadApplicationModel.js +619 -73
- package/sdk/application/Lead/LeadApplicationValidator.d.ts +91 -9
- package/sdk/application/Lead/LeadApplicationValidator.js +51 -6
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +34 -33
- package/sdk/application/Logistic/LogisticApplicationClient.js +110 -73
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +399 -28
- package/sdk/application/Logistic/LogisticApplicationModel.js +293 -24
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +48 -6
- package/sdk/application/Logistic/LogisticApplicationValidator.js +34 -6
- package/sdk/application/Order/OrderApplicationClient.d.ts +81 -133
- package/sdk/application/Order/OrderApplicationClient.js +297 -217
- package/sdk/application/Order/OrderApplicationModel.d.ts +1101 -66
- package/sdk/application/Order/OrderApplicationModel.js +776 -57
- package/sdk/application/Order/OrderApplicationValidator.d.ts +249 -14
- package/sdk/application/Order/OrderApplicationValidator.js +114 -5
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +341 -356
- package/sdk/application/Payment/PaymentApplicationClient.js +1077 -703
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +3125 -99
- package/sdk/application/Payment/PaymentApplicationModel.js +1158 -62
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +494 -41
- package/sdk/application/Payment/PaymentApplicationValidator.js +297 -25
- package/sdk/application/PosCart/PosCartApplicationClient.d.ts +178 -350
- package/sdk/application/PosCart/PosCartApplicationClient.js +636 -491
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +1823 -89
- package/sdk/application/PosCart/PosCartApplicationModel.js +1117 -85
- package/sdk/application/PosCart/PosCartApplicationValidator.d.ts +480 -29
- package/sdk/application/PosCart/PosCartApplicationValidator.js +262 -15
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +49 -47
- package/sdk/application/Rewards/RewardsApplicationClient.js +160 -102
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +343 -22
- package/sdk/application/Rewards/RewardsApplicationModel.js +230 -15
- package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +70 -7
- package/sdk/application/Rewards/RewardsApplicationValidator.js +45 -6
- package/sdk/application/Share/ShareApplicationClient.d.ts +44 -50
- package/sdk/application/Share/ShareApplicationClient.js +165 -97
- package/sdk/application/Share/ShareApplicationModel.d.ts +230 -15
- package/sdk/application/Share/ShareApplicationModel.js +154 -16
- package/sdk/application/Share/ShareApplicationValidator.d.ts +86 -8
- package/sdk/application/Share/ShareApplicationValidator.js +48 -4
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +25 -27
- package/sdk/application/Theme/ThemeApplicationClient.js +83 -54
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +621 -48
- package/sdk/application/Theme/ThemeApplicationModel.js +464 -40
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +49 -5
- package/sdk/application/Theme/ThemeApplicationValidator.js +26 -3
- package/sdk/application/User/UserApplicationClient.d.ts +219 -303
- package/sdk/application/User/UserApplicationClient.js +819 -522
- package/sdk/application/User/UserApplicationModel.d.ts +1390 -101
- package/sdk/application/User/UserApplicationModel.js +983 -44
- package/sdk/application/User/UserApplicationValidator.d.ts +457 -33
- package/sdk/application/User/UserApplicationValidator.js +265 -31
- package/sdk/common/AxiosHelper.js +8 -2
- package/sdk/common/Paginator.d.ts +27 -12
- package/sdk/common/Paginator.js +15 -0
- package/sdk/common/RequestSigner.js +0 -1
- package/sdk/partner/PartnerAPIClient.d.ts +15 -1
- package/sdk/partner/PartnerAPIClient.js +8 -1
- package/sdk/partner/PartnerClient.d.ts +20 -3
- package/sdk/partner/PartnerClient.js +17 -0
- package/sdk/partner/PartnerConfig.d.ts +40 -14
- package/sdk/partner/PartnerConfig.js +31 -6
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +26 -25
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +82 -53
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +202 -17
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +139 -10
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +42 -5
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +26 -4
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +88 -97
- package/sdk/platform/Billing/BillingPlatformClient.js +310 -191
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +1211 -68
- package/sdk/platform/Billing/BillingPlatformModel.js +824 -59
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +153 -12
- package/sdk/platform/Billing/BillingPlatformValidator.js +87 -8
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +392 -634
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +1480 -957
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +827 -57
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +492 -34
- package/sdk/platform/Cart/CartPlatformModel.d.ts +3639 -175
- package/sdk/platform/Cart/CartPlatformModel.js +2368 -212
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +438 -615
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +1449 -984
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +1081 -49
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +482 -23
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +573 -824
- package/sdk/platform/Catalog/CatalogPlatformClient.js +1773 -1264
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +6871 -326
- package/sdk/platform/Catalog/CatalogPlatformModel.js +4215 -349
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +1331 -71
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +611 -30
- package/sdk/platform/Common/CommonPlatformClient.d.ts +14 -21
- package/sdk/platform/Common/CommonPlatformClient.js +48 -33
- package/sdk/platform/Common/CommonPlatformModel.d.ts +448 -19
- package/sdk/platform/Common/CommonPlatformModel.js +224 -16
- package/sdk/platform/Common/CommonPlatformValidator.d.ts +42 -4
- package/sdk/platform/Common/CommonPlatformValidator.js +21 -3
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +457 -279
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +1423 -553
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +581 -42
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +294 -22
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +18 -5
- package/sdk/platform/Communication/CommunicationPlatformClient.js +58 -19
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +1630 -102
- package/sdk/platform/Communication/CommunicationPlatformModel.js +1150 -85
- package/sdk/platform/Communication/CommunicationPlatformValidator.d.ts +16 -3
- package/sdk/platform/Communication/CommunicationPlatformValidator.js +11 -3
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +102 -111
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +321 -225
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +830 -43
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +612 -78
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +180 -13
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +98 -10
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +232 -212
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +737 -438
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +293 -22
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +184 -17
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +166 -178
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +519 -310
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +4504 -188
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +2242 -204
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +332 -19
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +153 -10
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +495 -560
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1777 -987
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +872 -62
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +487 -35
- package/sdk/platform/Content/ContentPlatformModel.d.ts +1661 -108
- package/sdk/platform/Content/ContentPlatformModel.js +1217 -113
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +67 -101
- package/sdk/platform/Discount/DiscountPlatformClient.js +240 -176
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +242 -15
- package/sdk/platform/Discount/DiscountPlatformModel.js +162 -10
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +185 -13
- package/sdk/platform/Discount/DiscountPlatformValidator.js +88 -8
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +32 -41
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +106 -74
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +77 -6
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +41 -6
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +39 -54
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +124 -99
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +299 -20
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +207 -16
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +98 -8
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +54 -7
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +85 -91
- package/sdk/platform/Finance/FinancePlatformClient.js +272 -180
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +619 -50
- package/sdk/platform/Finance/FinancePlatformModel.js +458 -30
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +123 -15
- package/sdk/platform/Finance/FinancePlatformValidator.js +95 -16
- package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +99 -97
- package/sdk/platform/Inventory/InventoryPlatformClient.js +288 -199
- package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +1354 -61
- package/sdk/platform/Inventory/InventoryPlatformModel.js +916 -83
- package/sdk/platform/Inventory/InventoryPlatformValidator.d.ts +168 -12
- package/sdk/platform/Inventory/InventoryPlatformValidator.js +82 -6
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +86 -106
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +326 -186
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +180 -14
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +94 -9
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +75 -101
- package/sdk/platform/Lead/LeadPlatformClient.js +240 -174
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +1403 -54
- package/sdk/platform/Lead/LeadPlatformModel.js +618 -73
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +173 -12
- package/sdk/platform/Lead/LeadPlatformValidator.js +85 -8
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +18 -14
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +56 -29
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +26 -4
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +16 -3
- package/sdk/platform/Order/OrderPlatformClient.d.ts +343 -556
- package/sdk/platform/Order/OrderPlatformClient.js +969 -762
- package/sdk/platform/Order/OrderPlatformModel.d.ts +4967 -247
- package/sdk/platform/Order/OrderPlatformModel.js +3249 -259
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +758 -37
- package/sdk/platform/Order/OrderPlatformValidator.js +351 -22
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +28 -36
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +103 -59
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +66 -6
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +32 -4
- package/sdk/platform/Partner/PartnerPlatformClient.d.ts +68 -107
- package/sdk/platform/Partner/PartnerPlatformClient.js +253 -174
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +767 -45
- package/sdk/platform/Partner/PartnerPlatformModel.js +524 -41
- package/sdk/platform/Partner/PartnerPlatformValidator.d.ts +207 -13
- package/sdk/platform/Partner/PartnerPlatformValidator.js +87 -5
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +255 -260
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +860 -504
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +348 -30
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +221 -19
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +73 -73
- package/sdk/platform/Payment/PaymentPlatformClient.js +238 -154
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +2658 -93
- package/sdk/platform/Payment/PaymentPlatformModel.js +1035 -36
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +111 -11
- package/sdk/platform/Payment/PaymentPlatformValidator.js +68 -7
- package/sdk/platform/PlatformAPIClient.d.ts +16 -1
- package/sdk/platform/PlatformAPIClient.js +9 -1
- package/sdk/platform/PlatformApplicationClient.d.ts +22 -1798
- package/sdk/platform/PlatformApplicationClient.js +17 -1899
- package/sdk/platform/PlatformClient.d.ts +29 -12579
- package/sdk/platform/PlatformClient.js +26 -15085
- package/sdk/platform/PlatformConfig.d.ts +37 -11
- package/sdk/platform/PlatformConfig.js +32 -6
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +80 -92
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +307 -177
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +149 -12
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +82 -8
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +371 -23
- package/sdk/platform/Rewards/RewardsPlatformModel.js +246 -16
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +120 -89
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +349 -201
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +128 -12
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +85 -11
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +148 -178
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +454 -329
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +1399 -96
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +1022 -71
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +280 -18
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +134 -11
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +38 -47
- package/sdk/platform/Share/SharePlatformApplicationClient.js +137 -73
- package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +87 -7
- package/sdk/platform/Share/SharePlatformApplicationValidator.js +42 -5
- package/sdk/platform/Share/SharePlatformModel.d.ts +250 -16
- package/sdk/platform/Share/SharePlatformModel.js +165 -17
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +149 -183
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +579 -330
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +308 -24
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +162 -10
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +621 -48
- package/sdk/platform/Theme/ThemePlatformModel.js +464 -40
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +119 -151
- package/sdk/platform/User/UserPlatformApplicationClient.js +411 -244
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +235 -18
- package/sdk/platform/User/UserPlatformApplicationValidator.js +126 -12
- package/sdk/platform/User/UserPlatformModel.d.ts +1390 -101
- package/sdk/platform/User/UserPlatformModel.js +983 -44
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +38 -47
- package/sdk/platform/Webhook/WebhookPlatformClient.js +137 -87
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +242 -16
- package/sdk/platform/Webhook/WebhookPlatformModel.js +167 -18
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +83 -7
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +43 -5
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +14 -21
- package/sdk/public/Configuration/ConfigurationPublicClient.js +46 -33
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +473 -19
- package/sdk/public/Configuration/ConfigurationPublicModel.js +224 -16
- package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +42 -4
- package/sdk/public/Configuration/ConfigurationPublicValidator.js +21 -3
- package/sdk/public/Inventory/InventoryPublicClient.d.ts +48 -48
- package/sdk/public/Inventory/InventoryPublicClient.js +146 -98
- package/sdk/public/Inventory/InventoryPublicModel.d.ts +392 -21
- package/sdk/public/Inventory/InventoryPublicModel.js +267 -27
- package/sdk/public/Inventory/InventoryPublicValidator.d.ts +90 -8
- package/sdk/public/Inventory/InventoryPublicValidator.js +44 -4
- package/sdk/public/PublicClient.d.ts +19 -3
- package/sdk/public/PublicClient.js +16 -0
- package/sdk/public/PublicConfig.d.ts +27 -6
- package/sdk/public/PublicConfig.js +17 -1
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +13 -11
- package/sdk/public/Webhook/WebhookPublicClient.js +42 -27
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +242 -16
- package/sdk/public/Webhook/WebhookPublicModel.js +167 -18
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +18 -3
- package/sdk/public/Webhook/WebhookPublicValidator.js +14 -4
|
@@ -49,463 +49,448 @@ declare class Payment {
|
|
|
49
49
|
_urls: {};
|
|
50
50
|
updateUrls(urls: any): void;
|
|
51
51
|
/**
|
|
52
|
-
* @param {
|
|
53
|
-
* @param {
|
|
54
|
-
* @returns {Promise<RefundAccountResponse>} -
|
|
52
|
+
* @param {PaymentApplicationValidator.AddBeneficiaryDetailsParam} arg - Arg object.
|
|
53
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
54
|
+
* @returns {Promise<PaymentApplicationModel.RefundAccountResponse>} -
|
|
55
|
+
* Success response
|
|
56
|
+
* @name addBeneficiaryDetails
|
|
55
57
|
* @summary: Save bank details for cancelled/returned order
|
|
56
|
-
* @description: Use this API to save the bank details for a returned or cancelled order to refund the amount.
|
|
58
|
+
* @description: Use this API to save the bank details for a returned or cancelled order to refund the amount. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/addBeneficiaryDetails/).
|
|
57
59
|
*/
|
|
58
|
-
addBeneficiaryDetails({ body }?: {
|
|
59
|
-
body: AddBeneficiaryDetailsRequest;
|
|
60
|
-
}): Promise<RefundAccountResponse>;
|
|
60
|
+
addBeneficiaryDetails({ body }?: PaymentApplicationValidator.AddBeneficiaryDetailsParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.RefundAccountResponse>;
|
|
61
61
|
/**
|
|
62
|
-
* @param {
|
|
63
|
-
*
|
|
64
|
-
*
|
|
62
|
+
* @param {PaymentApplicationValidator.AddRefundBankAccountUsingOTPParam} arg
|
|
63
|
+
* - Arg object.
|
|
64
|
+
*
|
|
65
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
66
|
+
* @returns {Promise<PaymentApplicationModel.RefundAccountResponse>} -
|
|
67
|
+
* Success response
|
|
68
|
+
* @name addRefundBankAccountUsingOTP
|
|
65
69
|
* @summary: Save bank details for cancelled/returned order
|
|
66
|
-
* @description: Use this API to save bank details for returned/cancelled order to refund amount in his account.
|
|
70
|
+
* @description: Use this API to save bank details for returned/cancelled order to refund amount in his account. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/addRefundBankAccountUsingOTP/).
|
|
67
71
|
*/
|
|
68
|
-
addRefundBankAccountUsingOTP({ body }?: {
|
|
69
|
-
body: AddBeneficiaryDetailsOTPRequest;
|
|
70
|
-
}): Promise<RefundAccountResponse>;
|
|
72
|
+
addRefundBankAccountUsingOTP({ body }?: PaymentApplicationValidator.AddRefundBankAccountUsingOTPParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.RefundAccountResponse>;
|
|
71
73
|
/**
|
|
72
|
-
* @param {
|
|
73
|
-
* @param {
|
|
74
|
-
* @returns {Promise<AttachCardsResponse>} - Success response
|
|
74
|
+
* @param {PaymentApplicationValidator.AttachCardToCustomerParam} arg - Arg object.
|
|
75
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
76
|
+
* @returns {Promise<PaymentApplicationModel.AttachCardsResponse>} - Success response
|
|
77
|
+
* @name attachCardToCustomer
|
|
75
78
|
* @summary: Attach a saved card to customer.
|
|
76
|
-
* @description: Use this API to attach a customer's saved card at the payment gateway, such as Stripe, Juspay.
|
|
79
|
+
* @description: Use this API to attach a customer's saved card at the payment gateway, such as Stripe, Juspay. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/attachCardToCustomer/).
|
|
77
80
|
*/
|
|
78
|
-
attachCardToCustomer({ body }?: {
|
|
79
|
-
body: AttachCardRequest;
|
|
80
|
-
}): Promise<AttachCardsResponse>;
|
|
81
|
+
attachCardToCustomer({ body }?: PaymentApplicationValidator.AttachCardToCustomerParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.AttachCardsResponse>;
|
|
81
82
|
/**
|
|
82
|
-
* @param {
|
|
83
|
-
* @param {
|
|
84
|
-
* @returns {Promise<CancelPaymentLinkResponse>} -
|
|
83
|
+
* @param {PaymentApplicationValidator.CancelPaymentLinkParam} arg - Arg object.
|
|
84
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
85
|
+
* @returns {Promise<PaymentApplicationModel.CancelPaymentLinkResponse>} -
|
|
86
|
+
* Success response
|
|
87
|
+
* @name cancelPaymentLink
|
|
85
88
|
* @summary: Cancel payment link
|
|
86
|
-
* @description: Use this API to cancel a payment link for the customer
|
|
89
|
+
* @description: Use this API to cancel a payment link for the customer - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/cancelPaymentLink/).
|
|
87
90
|
*/
|
|
88
|
-
cancelPaymentLink({ body }?: {
|
|
89
|
-
body: CancelOrResendPaymentLinkRequest;
|
|
90
|
-
}): Promise<CancelPaymentLinkResponse>;
|
|
91
|
+
cancelPaymentLink({ body }?: PaymentApplicationValidator.CancelPaymentLinkParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.CancelPaymentLinkResponse>;
|
|
91
92
|
/**
|
|
92
|
-
* @param {
|
|
93
|
-
* @param {
|
|
94
|
-
* @
|
|
95
|
-
* @
|
|
93
|
+
* @param {PaymentApplicationValidator.CardDetailsParam} arg - Arg object.
|
|
94
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
95
|
+
* @returns {Promise<PaymentApplicationModel.CardDetailsResponse>} - Success response
|
|
96
|
+
* @name cardDetails
|
|
96
97
|
* @summary: API to get Card info from PG
|
|
97
|
-
* @description: API to get Card info from PG
|
|
98
|
-
*/
|
|
99
|
-
cardDetails({ cardInfo, aggregator }?: {
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
* @param {
|
|
105
|
-
* @
|
|
106
|
-
*
|
|
98
|
+
* @description: API to get Card info from PG - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/cardDetails/).
|
|
99
|
+
*/
|
|
100
|
+
cardDetails({ cardInfo, aggregator }?: PaymentApplicationValidator.CardDetailsParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.CardDetailsResponse>;
|
|
101
|
+
/**
|
|
102
|
+
* @param {PaymentApplicationValidator.CheckAndUpdatePaymentStatusParam} arg
|
|
103
|
+
* - Arg object.
|
|
104
|
+
*
|
|
105
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
106
|
+
* @returns {Promise<PaymentApplicationModel.PaymentStatusUpdateResponse>}
|
|
107
|
+
* - Success response
|
|
108
|
+
*
|
|
109
|
+
* @name checkAndUpdatePaymentStatus
|
|
107
110
|
* @summary: Performs continuous polling to check status of payment on the server
|
|
108
|
-
* @description: Use this API to perform continuous polling at intervals to check the status of payment until timeout.
|
|
109
|
-
*/
|
|
110
|
-
checkAndUpdatePaymentStatus({ body }?: {
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
*
|
|
115
|
-
* @param {
|
|
116
|
-
* @returns {Promise<PaymentStatusUpdateResponse>}
|
|
111
|
+
* @description: Use this API to perform continuous polling at intervals to check the status of payment until timeout. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/checkAndUpdatePaymentStatus/).
|
|
112
|
+
*/
|
|
113
|
+
checkAndUpdatePaymentStatus({ body }?: PaymentApplicationValidator.CheckAndUpdatePaymentStatusParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.PaymentStatusUpdateResponse>;
|
|
114
|
+
/**
|
|
115
|
+
* @param {PaymentApplicationValidator.CheckAndUpdatePaymentStatusPaymentLinkParam} arg
|
|
116
|
+
* - Arg object.
|
|
117
|
+
*
|
|
118
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
119
|
+
* @returns {Promise<PaymentApplicationModel.PaymentStatusUpdateResponse>}
|
|
120
|
+
* - Success response
|
|
121
|
+
*
|
|
122
|
+
* @name checkAndUpdatePaymentStatusPaymentLink
|
|
117
123
|
* @summary: Performs continuous polling to check status of payment on the server
|
|
118
|
-
* @description: Use this API to perform continuous polling at intervals to check the status of payment until timeout.
|
|
124
|
+
* @description: Use this API to perform continuous polling at intervals to check the status of payment until timeout. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/checkAndUpdatePaymentStatusPaymentLink/).
|
|
119
125
|
*/
|
|
120
|
-
checkAndUpdatePaymentStatusPaymentLink({ body }?: {
|
|
121
|
-
body: PaymentStatusUpdateRequest;
|
|
122
|
-
}): Promise<PaymentStatusUpdateResponse>;
|
|
126
|
+
checkAndUpdatePaymentStatusPaymentLink({ body }?: PaymentApplicationValidator.CheckAndUpdatePaymentStatusPaymentLinkParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.PaymentStatusUpdateResponse>;
|
|
123
127
|
/**
|
|
124
|
-
* @param {
|
|
125
|
-
* @param {
|
|
126
|
-
* @returns {Promise<CheckCreditResponse>} - Success response
|
|
128
|
+
* @param {PaymentApplicationValidator.CheckCreditParam} arg - Arg object.
|
|
129
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
130
|
+
* @returns {Promise<PaymentApplicationModel.CheckCreditResponse>} - Success response
|
|
131
|
+
* @name checkCredit
|
|
127
132
|
* @summary: API to fetch the customer credit summary
|
|
128
|
-
* @description: Use this API to fetch the customer credit summary.
|
|
133
|
+
* @description: Use this API to fetch the customer credit summary. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/checkCredit/).
|
|
129
134
|
*/
|
|
130
|
-
checkCredit({ aggregator }?: {
|
|
131
|
-
aggregator?: string;
|
|
132
|
-
}): Promise<CheckCreditResponse>;
|
|
135
|
+
checkCredit({ aggregator }?: PaymentApplicationValidator.CheckCreditParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.CheckCreditResponse>;
|
|
133
136
|
/**
|
|
134
|
-
* @param {
|
|
135
|
-
*
|
|
136
|
-
*
|
|
137
|
+
* @param {PaymentApplicationValidator.CreateOrderHandlerPaymentLinkParam} arg
|
|
138
|
+
* - Arg object.
|
|
139
|
+
*
|
|
140
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
141
|
+
* @returns {Promise<PaymentApplicationModel.CreateOrderUserResponse>} -
|
|
142
|
+
* Success response
|
|
143
|
+
* @name createOrderHandlerPaymentLink
|
|
137
144
|
* @summary: Create Order user
|
|
138
|
-
* @description: Use this API to create a order and payment on aggregator side
|
|
145
|
+
* @description: Use this API to create a order and payment on aggregator side - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/createOrderHandlerPaymentLink/).
|
|
139
146
|
*/
|
|
140
|
-
createOrderHandlerPaymentLink({ body }?: {
|
|
141
|
-
body: CreateOrderUserRequest;
|
|
142
|
-
}): Promise<CreateOrderUserResponse>;
|
|
147
|
+
createOrderHandlerPaymentLink({ body }?: PaymentApplicationValidator.CreateOrderHandlerPaymentLinkParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.CreateOrderUserResponse>;
|
|
143
148
|
/**
|
|
144
|
-
* @param {
|
|
145
|
-
* @param {
|
|
146
|
-
* @returns {Promise<CreatePaymentLinkResponse>} -
|
|
149
|
+
* @param {PaymentApplicationValidator.CreatePaymentLinkParam} arg - Arg object.
|
|
150
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
151
|
+
* @returns {Promise<PaymentApplicationModel.CreatePaymentLinkResponse>} -
|
|
152
|
+
* Success response
|
|
153
|
+
* @name createPaymentLink
|
|
147
154
|
* @summary: Create payment link
|
|
148
|
-
* @description: Use this API to create a payment link for the customer
|
|
155
|
+
* @description: Use this API to create a payment link for the customer - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/createPaymentLink/).
|
|
149
156
|
*/
|
|
150
|
-
createPaymentLink({ body }?: {
|
|
151
|
-
body: CreatePaymentLinkRequest;
|
|
152
|
-
}): Promise<CreatePaymentLinkResponse>;
|
|
157
|
+
createPaymentLink({ body }?: PaymentApplicationValidator.CreatePaymentLinkParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.CreatePaymentLinkResponse>;
|
|
153
158
|
/**
|
|
154
|
-
* @param {
|
|
155
|
-
* @param {
|
|
156
|
-
* @returns {Promise<CustomerCreditSummaryResponse>}
|
|
159
|
+
* @param {PaymentApplicationValidator.CustomerCreditSummaryParam} arg - Arg object.
|
|
160
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
161
|
+
* @returns {Promise<PaymentApplicationModel.CustomerCreditSummaryResponse>}
|
|
162
|
+
* - Success response
|
|
163
|
+
*
|
|
164
|
+
* @name customerCreditSummary
|
|
157
165
|
* @summary: API to fetch the customer credit summary
|
|
158
|
-
* @description: Use this API to fetch the customer credit summary.
|
|
166
|
+
* @description: Use this API to fetch the customer credit summary. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/customerCreditSummary/).
|
|
159
167
|
*/
|
|
160
|
-
customerCreditSummary({ aggregator }?: {
|
|
161
|
-
aggregator?: string;
|
|
162
|
-
}): Promise<CustomerCreditSummaryResponse>;
|
|
168
|
+
customerCreditSummary({ aggregator }?: PaymentApplicationValidator.CustomerCreditSummaryParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.CustomerCreditSummaryResponse>;
|
|
163
169
|
/**
|
|
164
|
-
* @param {
|
|
165
|
-
* @param {
|
|
166
|
-
* @returns {Promise<CustomerOnboardingResponse>} -
|
|
170
|
+
* @param {PaymentApplicationValidator.CustomerOnboardParam} arg - Arg object.
|
|
171
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
172
|
+
* @returns {Promise<PaymentApplicationModel.CustomerOnboardingResponse>} -
|
|
173
|
+
* Success response
|
|
174
|
+
* @name customerOnboard
|
|
167
175
|
* @summary: API to fetch the customer credit summary
|
|
168
|
-
* @description: Use this API to fetch the customer credit summary.
|
|
176
|
+
* @description: Use this API to fetch the customer credit summary. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/customerOnboard/).
|
|
169
177
|
*/
|
|
170
|
-
customerOnboard({ body }?: {
|
|
171
|
-
body: CustomerOnboardingRequest;
|
|
172
|
-
}): Promise<CustomerOnboardingResponse>;
|
|
178
|
+
customerOnboard({ body }?: PaymentApplicationValidator.CustomerOnboardParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.CustomerOnboardingResponse>;
|
|
173
179
|
/**
|
|
174
|
-
* @param {
|
|
175
|
-
* @param {
|
|
176
|
-
* @returns {Promise<DeleteCardsResponse>} - Success response
|
|
180
|
+
* @param {PaymentApplicationValidator.DeleteUserCardParam} arg - Arg object.
|
|
181
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
182
|
+
* @returns {Promise<PaymentApplicationModel.DeleteCardsResponse>} - Success response
|
|
183
|
+
* @name deleteUserCard
|
|
177
184
|
* @summary: Delete a card
|
|
178
|
-
* @description: Use this API to delete a card added by a user on the payment gateway and clear the cache.
|
|
179
|
-
*/
|
|
180
|
-
deleteUserCard({ body }?: {
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
*
|
|
185
|
-
* @param {
|
|
186
|
-
* @returns {Promise<UpdateRefundTransferModeResponse>}
|
|
185
|
+
* @description: Use this API to delete a card added by a user on the payment gateway and clear the cache. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/deleteUserCard/).
|
|
186
|
+
*/
|
|
187
|
+
deleteUserCard({ body }?: PaymentApplicationValidator.DeleteUserCardParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.DeleteCardsResponse>;
|
|
188
|
+
/**
|
|
189
|
+
* @param {PaymentApplicationValidator.EnableOrDisableRefundTransferModeParam} arg
|
|
190
|
+
* - Arg object.
|
|
191
|
+
*
|
|
192
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
193
|
+
* @returns {Promise<PaymentApplicationModel.UpdateRefundTransferModeResponse>}
|
|
194
|
+
* - Success response
|
|
195
|
+
*
|
|
196
|
+
* @name enableOrDisableRefundTransferMode
|
|
187
197
|
* @summary: Enable/Disable a mode for transferring a refund
|
|
188
|
-
* @description: Activate or Deactivate Transfer Mode to collect Beneficiary Details for Refund
|
|
198
|
+
* @description: Activate or Deactivate Transfer Mode to collect Beneficiary Details for Refund - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/enableOrDisableRefundTransferMode/).
|
|
189
199
|
*/
|
|
190
|
-
enableOrDisableRefundTransferMode({ body }?: {
|
|
191
|
-
body: UpdateRefundTransferModeRequest;
|
|
192
|
-
}): Promise<UpdateRefundTransferModeResponse>;
|
|
200
|
+
enableOrDisableRefundTransferMode({ body }?: PaymentApplicationValidator.EnableOrDisableRefundTransferModeParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.UpdateRefundTransferModeResponse>;
|
|
193
201
|
/**
|
|
194
|
-
* @param {
|
|
195
|
-
* @param {
|
|
196
|
-
* @returns {Promise<ActiveCardPaymentGatewayResponse>}
|
|
202
|
+
* @param {PaymentApplicationValidator.GetActiveCardAggregatorParam} arg - Arg object.
|
|
203
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
204
|
+
* @returns {Promise<PaymentApplicationModel.ActiveCardPaymentGatewayResponse>}
|
|
205
|
+
* - Success response
|
|
206
|
+
*
|
|
207
|
+
* @name getActiveCardAggregator
|
|
197
208
|
* @summary: Fetch active payment gateway for card payments
|
|
198
|
-
* @description: Use this API to retrieve an active payment aggregator along with the Customer ID. This is applicable for cards payments only.
|
|
209
|
+
* @description: Use this API to retrieve an active payment aggregator along with the Customer ID. This is applicable for cards payments only. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getActiveCardAggregator/).
|
|
199
210
|
*/
|
|
200
|
-
getActiveCardAggregator({ refresh }?: {
|
|
201
|
-
refresh?: boolean;
|
|
202
|
-
}): Promise<ActiveCardPaymentGatewayResponse>;
|
|
211
|
+
getActiveCardAggregator({ refresh }?: PaymentApplicationValidator.GetActiveCardAggregatorParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.ActiveCardPaymentGatewayResponse>;
|
|
203
212
|
/**
|
|
204
|
-
* @param {
|
|
205
|
-
* @returns {Promise<TransferModeResponse>} - Success response
|
|
213
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
214
|
+
* @returns {Promise<PaymentApplicationModel.TransferModeResponse>} - Success response
|
|
215
|
+
* @name getActiveRefundTransferModes
|
|
206
216
|
* @summary: Lists the mode of refund
|
|
207
|
-
* @description: Use this API to retrieve eligible refund modes (such as Netbanking) and add the beneficiary details.
|
|
217
|
+
* @description: Use this API to retrieve eligible refund modes (such as Netbanking) and add the beneficiary details. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getActiveRefundTransferModes/).
|
|
208
218
|
*/
|
|
209
|
-
getActiveRefundTransferModes({}?:
|
|
219
|
+
getActiveRefundTransferModes({ headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.TransferModeResponse>;
|
|
210
220
|
/**
|
|
211
|
-
* @param {
|
|
212
|
-
* @param {
|
|
213
|
-
* @returns {Promise<ListCardsResponse>} - Success response
|
|
221
|
+
* @param {PaymentApplicationValidator.GetActiveUserCardsParam} arg - Arg object.
|
|
222
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
223
|
+
* @returns {Promise<PaymentApplicationModel.ListCardsResponse>} - Success response
|
|
224
|
+
* @name getActiveUserCards
|
|
214
225
|
* @summary: Fetch the list of cards saved by the user
|
|
215
|
-
* @description: Use this API to retrieve a list of cards stored by user from an active payment gateway.
|
|
216
|
-
*/
|
|
217
|
-
getActiveUserCards({ forceRefresh }?: {
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
* @
|
|
222
|
-
*
|
|
223
|
-
*
|
|
224
|
-
*
|
|
225
|
-
* latest one.
|
|
226
|
-
* @returns {Promise<AggregatorsConfigDetailResponse>} - Success response
|
|
226
|
+
* @description: Use this API to retrieve a list of cards stored by user from an active payment gateway. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getActiveUserCards/).
|
|
227
|
+
*/
|
|
228
|
+
getActiveUserCards({ forceRefresh }?: PaymentApplicationValidator.GetActiveUserCardsParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.ListCardsResponse>;
|
|
229
|
+
/**
|
|
230
|
+
* @param {PaymentApplicationValidator.GetAggregatorsConfigParam} arg - Arg object.
|
|
231
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
232
|
+
* @returns {Promise<PaymentApplicationModel.AggregatorsConfigDetailResponse>}
|
|
233
|
+
* - Success response
|
|
234
|
+
*
|
|
235
|
+
* @name getAggregatorsConfig
|
|
227
236
|
* @summary: Get payment gateway keys
|
|
228
|
-
* @description: Use this API to retrieve the payment gateway key, secrets, merchant, SDK/API details to complete a payment at front-end.
|
|
237
|
+
* @description: Use this API to retrieve the payment gateway key, secrets, merchant, SDK/API details to complete a payment at front-end. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getAggregatorsConfig/).
|
|
229
238
|
*/
|
|
230
|
-
getAggregatorsConfig({ xApiToken, refresh }?: {
|
|
231
|
-
xApiToken?: string;
|
|
232
|
-
refresh?: boolean;
|
|
233
|
-
}): Promise<AggregatorsConfigDetailResponse>;
|
|
239
|
+
getAggregatorsConfig({ xApiToken, refresh }?: PaymentApplicationValidator.GetAggregatorsConfigParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.AggregatorsConfigDetailResponse>;
|
|
234
240
|
/**
|
|
235
|
-
* @param {
|
|
236
|
-
* @returns {Promise<EpaylaterBannerResponse>} -
|
|
241
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
242
|
+
* @returns {Promise<PaymentApplicationModel.EpaylaterBannerResponse>} -
|
|
243
|
+
* Success response
|
|
244
|
+
* @name getEpaylaterBannerDetails
|
|
237
245
|
* @summary: Get Epaylater Enabled
|
|
238
|
-
* @description: Get Epaylater Enabled if user is tentatively approved by epaylater
|
|
246
|
+
* @description: Get Epaylater Enabled if user is tentatively approved by epaylater - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getEpaylaterBannerDetails/).
|
|
239
247
|
*/
|
|
240
|
-
getEpaylaterBannerDetails({}?:
|
|
248
|
+
getEpaylaterBannerDetails({ headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.EpaylaterBannerResponse>;
|
|
241
249
|
/**
|
|
242
|
-
* @param {
|
|
243
|
-
*
|
|
244
|
-
*
|
|
245
|
-
* @
|
|
250
|
+
* @param {PaymentApplicationValidator.GetOrderBeneficiariesDetailParam} arg
|
|
251
|
+
* - Arg object.
|
|
252
|
+
*
|
|
253
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
254
|
+
* @returns {Promise<PaymentApplicationModel.OrderBeneficiaryResponse>} -
|
|
255
|
+
* Success response
|
|
256
|
+
* @name getOrderBeneficiariesDetail
|
|
246
257
|
* @summary: Lists the beneficiary of a refund
|
|
247
|
-
* @description: Use this API to get the details of all active beneficiary added by a user for refund.
|
|
258
|
+
* @description: Use this API to 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/getOrderBeneficiariesDetail/).
|
|
248
259
|
*/
|
|
249
|
-
getOrderBeneficiariesDetail({ orderId }?: {
|
|
250
|
-
orderId: string;
|
|
251
|
-
}): Promise<OrderBeneficiaryResponse>;
|
|
260
|
+
getOrderBeneficiariesDetail({ orderId }?: PaymentApplicationValidator.GetOrderBeneficiariesDetailParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.OrderBeneficiaryResponse>;
|
|
252
261
|
/**
|
|
253
|
-
* @param {
|
|
254
|
-
* @param {
|
|
255
|
-
* @returns {Promise<GetPaymentLinkResponse>} -
|
|
262
|
+
* @param {PaymentApplicationValidator.GetPaymentLinkParam} arg - Arg object.
|
|
263
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
264
|
+
* @returns {Promise<PaymentApplicationModel.GetPaymentLinkResponse>} -
|
|
265
|
+
* Success response
|
|
266
|
+
* @name getPaymentLink
|
|
256
267
|
* @summary: Get payment link
|
|
257
|
-
* @description: Use this API to get a payment link
|
|
258
|
-
*/
|
|
259
|
-
getPaymentLink({ paymentLinkId }?: {
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
* @
|
|
264
|
-
*
|
|
265
|
-
* @
|
|
266
|
-
* @param {string} arg.pincode - The PIN Code of the destination address, e.g. 400059
|
|
267
|
-
* @param {string} arg.checkoutMode - Option to checkout for self or for others.
|
|
268
|
-
* @param {boolean} [arg.refresh] - This is a boolean value. Select `true`
|
|
269
|
-
* to remove temporary cache files on payment gateway and replace with the
|
|
270
|
-
* latest one.
|
|
271
|
-
* @param {string} [arg.cardReference] - Card reference id of user's debit
|
|
272
|
-
* or credit card.
|
|
273
|
-
* @param {string} [arg.userDetails] - URIencoded JSON containing details of
|
|
274
|
-
* an anonymous user.
|
|
275
|
-
* @returns {Promise<PaymentModeRouteResponse>} - Success response
|
|
268
|
+
* @description: Use this API to get a payment link - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getPaymentLink/).
|
|
269
|
+
*/
|
|
270
|
+
getPaymentLink({ paymentLinkId }?: PaymentApplicationValidator.GetPaymentLinkParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.GetPaymentLinkResponse>;
|
|
271
|
+
/**
|
|
272
|
+
* @param {PaymentApplicationValidator.GetPaymentModeRoutesParam} arg - Arg object.
|
|
273
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
274
|
+
* @returns {Promise<PaymentApplicationModel.PaymentModeRouteResponse>} -
|
|
275
|
+
* Success response
|
|
276
|
+
* @name getPaymentModeRoutes
|
|
276
277
|
* @summary: Get applicable payment options
|
|
277
|
-
* @description: Use this API to get all valid payment options for doing a payment.
|
|
278
|
-
*/
|
|
279
|
-
getPaymentModeRoutes({ amount, cartId, pincode, checkoutMode, refresh, cardReference, userDetails, }?: {
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
/**
|
|
289
|
-
* @param {Object} arg - Arg object.
|
|
290
|
-
* @param {string} arg.paymentLinkId - Payment link id
|
|
291
|
-
* @returns {Promise<PaymentModeRouteResponse>} - Success response
|
|
278
|
+
* @description: Use this API to get all valid payment options for doing a payment. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getPaymentModeRoutes/).
|
|
279
|
+
*/
|
|
280
|
+
getPaymentModeRoutes({ amount, cartId, pincode, checkoutMode, refresh, cardReference, userDetails, }?: PaymentApplicationValidator.GetPaymentModeRoutesParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.PaymentModeRouteResponse>;
|
|
281
|
+
/**
|
|
282
|
+
* @param {PaymentApplicationValidator.GetPaymentModeRoutesPaymentLinkParam} arg
|
|
283
|
+
* - Arg object.
|
|
284
|
+
*
|
|
285
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
286
|
+
* @returns {Promise<PaymentApplicationModel.PaymentModeRouteResponse>} -
|
|
287
|
+
* Success response
|
|
288
|
+
* @name getPaymentModeRoutesPaymentLink
|
|
292
289
|
* @summary: Get applicable payment options for payment link
|
|
293
|
-
* @description: Use this API to get all valid payment options for doing a payment through payment link
|
|
294
|
-
*/
|
|
295
|
-
getPaymentModeRoutesPaymentLink({ paymentLinkId }?: {
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
* @
|
|
300
|
-
*
|
|
301
|
-
* @
|
|
302
|
-
* @param {string} arg.pincode - The PIN Code of the destination address, e.g. 400059
|
|
303
|
-
* @param {string} arg.checkoutMode - Option to checkout for self or for others.
|
|
304
|
-
* @param {boolean} [arg.refresh] - This is a boolean value. Select `true`
|
|
305
|
-
* to remove temporary cache files on payment gateway and replace with the
|
|
306
|
-
* latest one.
|
|
307
|
-
* @param {string} [arg.cardReference] - Card reference id of user's debit
|
|
308
|
-
* or credit card.
|
|
309
|
-
* @param {string} arg.orderType - The order type of shipment * HomeDelivery
|
|
310
|
-
* - If the customer wants the order home-delivered * PickAtStore - If the
|
|
311
|
-
* customer wants the handover of an order at the store itself.
|
|
312
|
-
* @param {string} [arg.userDetails] - URIencoded JSON containing details of
|
|
313
|
-
* an anonymous user.
|
|
314
|
-
* @returns {Promise<PaymentModeRouteResponse>} - Success response
|
|
290
|
+
* @description: Use this API to get all valid payment options for doing a payment through payment link - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getPaymentModeRoutesPaymentLink/).
|
|
291
|
+
*/
|
|
292
|
+
getPaymentModeRoutesPaymentLink({ paymentLinkId }?: PaymentApplicationValidator.GetPaymentModeRoutesPaymentLinkParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.PaymentModeRouteResponse>;
|
|
293
|
+
/**
|
|
294
|
+
* @param {PaymentApplicationValidator.GetPosPaymentModeRoutesParam} arg - Arg object.
|
|
295
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
296
|
+
* @returns {Promise<PaymentApplicationModel.PaymentModeRouteResponse>} -
|
|
297
|
+
* Success response
|
|
298
|
+
* @name getPosPaymentModeRoutes
|
|
315
299
|
* @summary: Get applicable payment options for Point-of-Sale (POS)
|
|
316
|
-
* @description: Use this API to get all valid payment options for doing a payment in POS.
|
|
317
|
-
*/
|
|
318
|
-
getPosPaymentModeRoutes({ amount, cartId, pincode, checkoutMode, orderType, refresh, cardReference, userDetails, }?: {
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
refresh?: boolean;
|
|
324
|
-
cardReference?: string;
|
|
325
|
-
orderType: string;
|
|
326
|
-
userDetails?: string;
|
|
327
|
-
}): Promise<PaymentModeRouteResponse>;
|
|
328
|
-
/**
|
|
329
|
-
* @param {Object} arg - Arg object.
|
|
330
|
-
* @returns {Promise<RupifiBannerResponse>} - Success response
|
|
300
|
+
* @description: Use this API to get all valid payment options for doing a payment in POS. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getPosPaymentModeRoutes/).
|
|
301
|
+
*/
|
|
302
|
+
getPosPaymentModeRoutes({ amount, cartId, pincode, checkoutMode, orderType, refresh, cardReference, userDetails, }?: PaymentApplicationValidator.GetPosPaymentModeRoutesParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.PaymentModeRouteResponse>;
|
|
303
|
+
/**
|
|
304
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
305
|
+
* @returns {Promise<PaymentApplicationModel.RupifiBannerResponse>} - Success response
|
|
306
|
+
* @name getRupifiBannerDetails
|
|
331
307
|
* @summary: Get CreditLine Offer
|
|
332
|
-
* @description: Get CreditLine Offer if user is tentatively approved by rupifi
|
|
308
|
+
* @description: Get CreditLine Offer if user is tentatively approved by rupifi - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getRupifiBannerDetails/).
|
|
333
309
|
*/
|
|
334
|
-
getRupifiBannerDetails({}?:
|
|
310
|
+
getRupifiBannerDetails({ headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.RupifiBannerResponse>;
|
|
335
311
|
/**
|
|
336
|
-
* @param {
|
|
337
|
-
*
|
|
338
|
-
*
|
|
339
|
-
* @
|
|
312
|
+
* @param {PaymentApplicationValidator.GetUserBeneficiariesDetailParam} arg
|
|
313
|
+
* - Arg object.
|
|
314
|
+
*
|
|
315
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
316
|
+
* @returns {Promise<PaymentApplicationModel.OrderBeneficiaryResponse>} -
|
|
317
|
+
* Success response
|
|
318
|
+
* @name getUserBeneficiariesDetail
|
|
340
319
|
* @summary: Lists the beneficiary of a refund
|
|
341
|
-
* @description: Use this API to get the details of all active beneficiary added by a user for refund.
|
|
320
|
+
* @description: Use this API to 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/getUserBeneficiariesDetail/).
|
|
342
321
|
*/
|
|
343
|
-
getUserBeneficiariesDetail({ orderId }?: {
|
|
344
|
-
orderId: string;
|
|
345
|
-
}): Promise<OrderBeneficiaryResponse>;
|
|
322
|
+
getUserBeneficiariesDetail({ orderId }?: PaymentApplicationValidator.GetUserBeneficiariesDetailParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.OrderBeneficiaryResponse>;
|
|
346
323
|
/**
|
|
347
|
-
* @param {
|
|
348
|
-
* @param {
|
|
349
|
-
* @returns {Promise<PaymentInitializationResponse>}
|
|
324
|
+
* @param {PaymentApplicationValidator.InitialisePaymentParam} arg - Arg object.
|
|
325
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
326
|
+
* @returns {Promise<PaymentApplicationModel.PaymentInitializationResponse>}
|
|
327
|
+
* - Success response
|
|
328
|
+
*
|
|
329
|
+
* @name initialisePayment
|
|
350
330
|
* @summary: Initialize a payment (server-to-server) for UPI and BharatQR
|
|
351
|
-
* @description: PUse this API to inititate payment using UPI, BharatQR, wherein the UPI requests are send to the app and QR code is displayed on the screen.
|
|
352
|
-
*/
|
|
353
|
-
initialisePayment({ body }?: {
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
*
|
|
358
|
-
* @param {
|
|
359
|
-
* @returns {Promise<PaymentInitializationResponse>}
|
|
331
|
+
* @description: PUse this API to inititate payment using UPI, BharatQR, wherein the UPI requests are send to the app and QR code is displayed on the screen. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/initialisePayment/).
|
|
332
|
+
*/
|
|
333
|
+
initialisePayment({ body }?: PaymentApplicationValidator.InitialisePaymentParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.PaymentInitializationResponse>;
|
|
334
|
+
/**
|
|
335
|
+
* @param {PaymentApplicationValidator.InitialisePaymentPaymentLinkParam} arg
|
|
336
|
+
* - Arg object.
|
|
337
|
+
*
|
|
338
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
339
|
+
* @returns {Promise<PaymentApplicationModel.PaymentInitializationResponse>}
|
|
340
|
+
* - Success response
|
|
341
|
+
*
|
|
342
|
+
* @name initialisePaymentPaymentLink
|
|
360
343
|
* @summary: Initialize a payment (server-to-server) for UPI and BharatQR
|
|
361
|
-
* @description: Use this API to inititate payment using UPI, BharatQR, wherein the UPI requests are send to the app and QR code is displayed on the screen.
|
|
344
|
+
* @description: Use this API to inititate payment using UPI, BharatQR, wherein the UPI requests are send to the app and QR code is displayed on the screen. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/initialisePaymentPaymentLink/).
|
|
362
345
|
*/
|
|
363
|
-
initialisePaymentPaymentLink({ body }?: {
|
|
364
|
-
body: PaymentInitializationRequest;
|
|
365
|
-
}): Promise<PaymentInitializationResponse>;
|
|
346
|
+
initialisePaymentPaymentLink({ body }?: PaymentApplicationValidator.InitialisePaymentPaymentLinkParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.PaymentInitializationResponse>;
|
|
366
347
|
/**
|
|
367
|
-
* @param {
|
|
368
|
-
* @param {
|
|
369
|
-
* @returns {Promise<OutstandingOrderDetailsResponse>}
|
|
348
|
+
* @param {PaymentApplicationValidator.OutstandingOrderDetailsParam} arg - Arg object.
|
|
349
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
350
|
+
* @returns {Promise<PaymentApplicationModel.OutstandingOrderDetailsResponse>}
|
|
351
|
+
* - Success response
|
|
352
|
+
*
|
|
353
|
+
* @name outstandingOrderDetails
|
|
370
354
|
* @summary: API to fetch the outstanding order details
|
|
371
|
-
* @description: Use this API to fetch the outstanding order details.
|
|
355
|
+
* @description: Use this API to fetch the outstanding order details. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/outstandingOrderDetails/).
|
|
372
356
|
*/
|
|
373
|
-
outstandingOrderDetails({ aggregator }?: {
|
|
374
|
-
aggregator?: string;
|
|
375
|
-
}): Promise<OutstandingOrderDetailsResponse>;
|
|
357
|
+
outstandingOrderDetails({ aggregator }?: PaymentApplicationValidator.OutstandingOrderDetailsParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.OutstandingOrderDetailsResponse>;
|
|
376
358
|
/**
|
|
377
|
-
* @param {
|
|
378
|
-
* @param {
|
|
379
|
-
* @returns {Promise<PaidOrderDetailsResponse>} -
|
|
359
|
+
* @param {PaymentApplicationValidator.PaidOrderDetailsParam} arg - Arg object.
|
|
360
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
361
|
+
* @returns {Promise<PaymentApplicationModel.PaidOrderDetailsResponse>} -
|
|
362
|
+
* Success response
|
|
363
|
+
* @name paidOrderDetails
|
|
380
364
|
* @summary: API to fetch the paid order details
|
|
381
|
-
* @description: Use this API to fetch the paid order details.
|
|
365
|
+
* @description: Use this API to fetch the paid order details. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/paidOrderDetails/).
|
|
382
366
|
*/
|
|
383
|
-
paidOrderDetails({ aggregator }?: {
|
|
384
|
-
aggregator?: string;
|
|
385
|
-
}): Promise<PaidOrderDetailsResponse>;
|
|
367
|
+
paidOrderDetails({ aggregator }?: PaymentApplicationValidator.PaidOrderDetailsParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.PaidOrderDetailsResponse>;
|
|
386
368
|
/**
|
|
387
|
-
* @param {
|
|
388
|
-
* @param {
|
|
389
|
-
* @returns {Promise<PollingPaymentLinkResponse>} -
|
|
369
|
+
* @param {PaymentApplicationValidator.PollingPaymentLinkParam} arg - Arg object.
|
|
370
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
371
|
+
* @returns {Promise<PaymentApplicationModel.PollingPaymentLinkResponse>} -
|
|
372
|
+
* Success response
|
|
373
|
+
* @name pollingPaymentLink
|
|
390
374
|
* @summary: Used for polling if payment successful or not
|
|
391
|
-
* @description: Use this API to poll if payment through payment was successful or not
|
|
392
|
-
*/
|
|
393
|
-
pollingPaymentLink({ paymentLinkId }?: {
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
* @
|
|
398
|
-
*
|
|
399
|
-
*
|
|
400
|
-
* @
|
|
401
|
-
* aggregator name as value.
|
|
402
|
-
* @returns {Promise<RedirectToAggregatorResponse>} - Success response
|
|
375
|
+
* @description: Use this API to poll if payment through payment was successful or not - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/pollingPaymentLink/).
|
|
376
|
+
*/
|
|
377
|
+
pollingPaymentLink({ paymentLinkId }?: PaymentApplicationValidator.PollingPaymentLinkParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.PollingPaymentLinkResponse>;
|
|
378
|
+
/**
|
|
379
|
+
* @param {PaymentApplicationValidator.RedirectToAggregatorParam} arg - Arg object.
|
|
380
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
381
|
+
* @returns {Promise<PaymentApplicationModel.RedirectToAggregatorResponse>}
|
|
382
|
+
* - Success response
|
|
383
|
+
*
|
|
384
|
+
* @name redirectToAggregator
|
|
403
385
|
* @summary: API to get the redirect url to redirect the user to aggregator's page
|
|
404
|
-
* @description: Use this API to get the redirect url to redirect the user to aggregator's page
|
|
386
|
+
* @description: Use this API to get the redirect url to redirect the user to aggregator's page - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/redirectToAggregator/).
|
|
405
387
|
*/
|
|
406
|
-
redirectToAggregator({ source, aggregator }?: {
|
|
407
|
-
source?: string;
|
|
408
|
-
aggregator?: string;
|
|
409
|
-
}): Promise<RedirectToAggregatorResponse>;
|
|
388
|
+
redirectToAggregator({ source, aggregator }?: PaymentApplicationValidator.RedirectToAggregatorParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.RedirectToAggregatorResponse>;
|
|
410
389
|
/**
|
|
411
|
-
* @param {
|
|
412
|
-
* @param {
|
|
413
|
-
* @returns {Promise<renderHTMLResponse>} - Success response
|
|
390
|
+
* @param {PaymentApplicationValidator.RenderHTMLParam} arg - Arg object.
|
|
391
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
392
|
+
* @returns {Promise<PaymentApplicationModel.renderHTMLResponse>} - Success response
|
|
393
|
+
* @name renderHTML
|
|
414
394
|
* @summary: Convert base64 string to HTML form
|
|
415
|
-
* @description: Use this API to decode base64 html form to plain HTML string.
|
|
395
|
+
* @description: Use this API to decode base64 html form to plain HTML string. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/renderHTML/).
|
|
416
396
|
*/
|
|
417
|
-
renderHTML({ body }?: {
|
|
418
|
-
body: renderHTMLRequest;
|
|
419
|
-
}): Promise<renderHTMLResponse>;
|
|
397
|
+
renderHTML({ body }?: PaymentApplicationValidator.RenderHTMLParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.renderHTMLResponse>;
|
|
420
398
|
/**
|
|
421
|
-
* @param {
|
|
422
|
-
* @param {
|
|
423
|
-
* @returns {Promise<ResendOrCancelPaymentResponse>}
|
|
399
|
+
* @param {PaymentApplicationValidator.ResendOrCancelPaymentParam} arg - Arg object.
|
|
400
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
401
|
+
* @returns {Promise<PaymentApplicationModel.ResendOrCancelPaymentResponse>}
|
|
402
|
+
* - Success response
|
|
403
|
+
*
|
|
404
|
+
* @name resendOrCancelPayment
|
|
424
405
|
* @summary: API to resend and cancel a payment link which was already generated.
|
|
425
|
-
* @description: Use this API to perform resend or cancel a payment link based on request payload.
|
|
406
|
+
* @description: Use this API to perform resend or cancel a payment link based on request payload. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/resendOrCancelPayment/).
|
|
426
407
|
*/
|
|
427
|
-
resendOrCancelPayment({ body }?: {
|
|
428
|
-
body: ResendOrCancelPaymentRequest;
|
|
429
|
-
}): Promise<ResendOrCancelPaymentResponse>;
|
|
408
|
+
resendOrCancelPayment({ body }?: PaymentApplicationValidator.ResendOrCancelPaymentParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.ResendOrCancelPaymentResponse>;
|
|
430
409
|
/**
|
|
431
|
-
* @param {
|
|
432
|
-
* @param {
|
|
433
|
-
* @returns {Promise<ResendPaymentLinkResponse>} -
|
|
410
|
+
* @param {PaymentApplicationValidator.ResendPaymentLinkParam} arg - Arg object.
|
|
411
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
412
|
+
* @returns {Promise<PaymentApplicationModel.ResendPaymentLinkResponse>} -
|
|
413
|
+
* Success response
|
|
414
|
+
* @name resendPaymentLink
|
|
434
415
|
* @summary: Resend payment link
|
|
435
|
-
* @description: Use this API to resend a payment link for the customer
|
|
416
|
+
* @description: Use this API to resend a payment link for the customer - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/resendPaymentLink/).
|
|
436
417
|
*/
|
|
437
|
-
resendPaymentLink({ body }?: {
|
|
438
|
-
body: CancelOrResendPaymentLinkRequest;
|
|
439
|
-
}): Promise<ResendPaymentLinkResponse>;
|
|
418
|
+
resendPaymentLink({ body }?: PaymentApplicationValidator.ResendPaymentLinkParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.ResendPaymentLinkResponse>;
|
|
440
419
|
/**
|
|
441
|
-
* @param {
|
|
442
|
-
*
|
|
443
|
-
* @
|
|
420
|
+
* @param {PaymentApplicationValidator.UpdateDefaultBeneficiaryParam} arg -
|
|
421
|
+
* Arg object.
|
|
422
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
423
|
+
* @returns {Promise<PaymentApplicationModel.SetDefaultBeneficiaryResponse>}
|
|
424
|
+
* - Success response
|
|
425
|
+
*
|
|
426
|
+
* @name updateDefaultBeneficiary
|
|
444
427
|
* @summary: Set a default beneficiary for a refund
|
|
445
|
-
* @description: Use this API to set a default beneficiary for getting a refund.
|
|
428
|
+
* @description: Use this API to set a default beneficiary for getting a refund. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/updateDefaultBeneficiary/).
|
|
446
429
|
*/
|
|
447
|
-
updateDefaultBeneficiary({ body }?: {
|
|
448
|
-
body: SetDefaultBeneficiaryRequest;
|
|
449
|
-
}): Promise<SetDefaultBeneficiaryResponse>;
|
|
430
|
+
updateDefaultBeneficiary({ body }?: PaymentApplicationValidator.UpdateDefaultBeneficiaryParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.SetDefaultBeneficiaryResponse>;
|
|
450
431
|
/**
|
|
451
|
-
* @param {
|
|
452
|
-
* @param {
|
|
453
|
-
* @returns {Promise<ValidateVPAResponse>} - Success response
|
|
432
|
+
* @param {PaymentApplicationValidator.ValidateVPAParam} arg - Arg object.
|
|
433
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
434
|
+
* @returns {Promise<PaymentApplicationModel.ValidateVPAResponse>} - Success response
|
|
435
|
+
* @name validateVPA
|
|
454
436
|
* @summary: API to Validate UPI ID
|
|
455
|
-
* @description: API to Validate UPI ID
|
|
437
|
+
* @description: API to Validate UPI ID - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/validateVPA/).
|
|
456
438
|
*/
|
|
457
|
-
validateVPA({ body }?: {
|
|
458
|
-
body: ValidateVPARequest;
|
|
459
|
-
}): Promise<ValidateVPAResponse>;
|
|
439
|
+
validateVPA({ body }?: PaymentApplicationValidator.ValidateVPAParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.ValidateVPAResponse>;
|
|
460
440
|
/**
|
|
461
|
-
* @param {
|
|
462
|
-
* @param {
|
|
463
|
-
* @returns {Promise<ChargeCustomerResponse>} -
|
|
441
|
+
* @param {PaymentApplicationValidator.VerifyAndChargePaymentParam} arg - Arg object.
|
|
442
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
443
|
+
* @returns {Promise<PaymentApplicationModel.ChargeCustomerResponse>} -
|
|
444
|
+
* Success response
|
|
445
|
+
* @name verifyAndChargePayment
|
|
464
446
|
* @summary: Verify and charge payment
|
|
465
|
-
* @description: Use this API to verify and check the status of a payment transaction (server-to-server) made through aggregators like Simpl and Mswipe.
|
|
447
|
+
* @description: Use this API to verify and check the status of a payment transaction (server-to-server) made through aggregators like Simpl and Mswipe. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/verifyAndChargePayment/).
|
|
466
448
|
*/
|
|
467
|
-
verifyAndChargePayment({ body }?: {
|
|
468
|
-
body: ChargeCustomerRequest;
|
|
469
|
-
}): Promise<ChargeCustomerResponse>;
|
|
449
|
+
verifyAndChargePayment({ body }?: PaymentApplicationValidator.VerifyAndChargePaymentParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.ChargeCustomerResponse>;
|
|
470
450
|
/**
|
|
471
|
-
* @param {
|
|
472
|
-
*
|
|
473
|
-
* @
|
|
451
|
+
* @param {PaymentApplicationValidator.VerifyCustomerForPaymentParam} arg -
|
|
452
|
+
* Arg object.
|
|
453
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
454
|
+
* @returns {Promise<PaymentApplicationModel.ValidateCustomerResponse>} -
|
|
455
|
+
* Success response
|
|
456
|
+
* @name verifyCustomerForPayment
|
|
474
457
|
* @summary: Validate customer for payment
|
|
475
|
-
* @description: Use this API to check if the customer is eligible to use credit-line facilities such as Simpl Pay Later and Rupifi.
|
|
458
|
+
* @description: Use this API to check if the customer is eligible to use credit-line facilities such as Simpl Pay Later and Rupifi. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/verifyCustomerForPayment/).
|
|
476
459
|
*/
|
|
477
|
-
verifyCustomerForPayment({ body }?: {
|
|
478
|
-
body: ValidateCustomerRequest;
|
|
479
|
-
}): Promise<ValidateCustomerResponse>;
|
|
460
|
+
verifyCustomerForPayment({ body }?: PaymentApplicationValidator.VerifyCustomerForPaymentParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.ValidateCustomerResponse>;
|
|
480
461
|
/**
|
|
481
|
-
* @param {
|
|
482
|
-
* @param {
|
|
483
|
-
*
|
|
484
|
-
* @
|
|
462
|
+
* @param {PaymentApplicationValidator.VerifyIfscCodeParam} arg - Arg object.
|
|
463
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
464
|
+
* @returns {Promise<PaymentApplicationModel.IfscCodeResponse>} - Success response
|
|
465
|
+
* @name verifyIfscCode
|
|
485
466
|
* @summary: Verify IFSC Code
|
|
486
|
-
* @description: Use this API to check whether the 11-digit IFSC code is valid and to fetch the bank details for refund.
|
|
487
|
-
*/
|
|
488
|
-
verifyIfscCode({ ifscCode }?: {
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
*
|
|
493
|
-
* @param {
|
|
494
|
-
* @returns {Promise<AddBeneficiaryViaOtpVerificationResponse>}
|
|
467
|
+
* @description: Use this API to check whether the 11-digit IFSC code is valid and to fetch the bank details for refund. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/verifyIfscCode/).
|
|
468
|
+
*/
|
|
469
|
+
verifyIfscCode({ ifscCode }?: PaymentApplicationValidator.VerifyIfscCodeParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.IfscCodeResponse>;
|
|
470
|
+
/**
|
|
471
|
+
* @param {PaymentApplicationValidator.VerifyOtpAndAddBeneficiaryForBankParam} arg
|
|
472
|
+
* - Arg object.
|
|
473
|
+
*
|
|
474
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
475
|
+
* @returns {Promise<PaymentApplicationModel.AddBeneficiaryViaOtpVerificationResponse>}
|
|
476
|
+
* - Success response
|
|
477
|
+
*
|
|
478
|
+
* @name verifyOtpAndAddBeneficiaryForBank
|
|
495
479
|
* @summary: Verify the beneficiary details using OTP
|
|
496
|
-
* @description: Use this API to perform an OTP validation before saving the beneficiary details added for a refund.
|
|
480
|
+
* @description: Use this API to perform an OTP validation before saving the beneficiary details added for a refund. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/verifyOtpAndAddBeneficiaryForBank/).
|
|
497
481
|
*/
|
|
498
|
-
verifyOtpAndAddBeneficiaryForBank({ body }?: {
|
|
499
|
-
body: AddBeneficiaryViaOtpVerificationRequest;
|
|
500
|
-
}): Promise<AddBeneficiaryViaOtpVerificationResponse>;
|
|
482
|
+
verifyOtpAndAddBeneficiaryForBank({ body }?: PaymentApplicationValidator.VerifyOtpAndAddBeneficiaryForBankParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.AddBeneficiaryViaOtpVerificationResponse>;
|
|
501
483
|
/**
|
|
502
|
-
* @param {
|
|
503
|
-
*
|
|
504
|
-
*
|
|
484
|
+
* @param {PaymentApplicationValidator.VerifyOtpAndAddBeneficiaryForWalletParam} arg
|
|
485
|
+
* - Arg object.
|
|
486
|
+
*
|
|
487
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
488
|
+
* @returns {Promise<PaymentApplicationModel.WalletOtpResponse>} - Success response
|
|
489
|
+
* @name verifyOtpAndAddBeneficiaryForWallet
|
|
505
490
|
* @summary: Send OTP on adding a wallet beneficiary
|
|
506
|
-
* @description: Use this API to send an OTP while adding a wallet beneficiary by mobile no. verification.
|
|
491
|
+
* @description: Use this API to send an OTP while adding a wallet beneficiary by mobile no. verification. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/verifyOtpAndAddBeneficiaryForWallet/).
|
|
507
492
|
*/
|
|
508
|
-
verifyOtpAndAddBeneficiaryForWallet({ body }?: {
|
|
509
|
-
body: WalletOtpRequest;
|
|
510
|
-
}): Promise<WalletOtpResponse>;
|
|
493
|
+
verifyOtpAndAddBeneficiaryForWallet({ body }?: PaymentApplicationValidator.VerifyOtpAndAddBeneficiaryForWalletParam, { headers }?: import("../ApplicationAPIClient").Options): Promise<PaymentApplicationModel.WalletOtpResponse>;
|
|
511
494
|
}
|
|
495
|
+
import PaymentApplicationValidator = require("./PaymentApplicationValidator");
|
|
496
|
+
import PaymentApplicationModel = require("./PaymentApplicationModel");
|