@gofynd/fdk-client-javascript 1.1.6 → 1.3.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 +52 -3
- package/index.js +0 -3
- package/package.json +1 -2
- package/sdk/application/ApplicationAPIClient.d.ts +15 -1
- package/sdk/application/ApplicationAPIClient.js +12 -3
- package/sdk/application/ApplicationClient.d.ts +36 -6
- package/sdk/application/ApplicationClient.js +30 -43
- package/sdk/application/ApplicationConfig.d.ts +92 -12
- package/sdk/application/ApplicationConfig.js +48 -14
- package/sdk/application/Cart/CartApplicationClient.d.ts +200 -357
- package/sdk/application/Cart/CartApplicationClient.js +711 -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 +274 -422
- package/sdk/application/Catalog/CatalogApplicationClient.js +865 -630
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +2320 -117
- package/sdk/application/Catalog/CatalogApplicationModel.js +1566 -172
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +798 -31
- package/sdk/application/Catalog/CatalogApplicationValidator.js +318 -3
- package/sdk/application/Common/CommonApplicationClient.d.ts +16 -21
- package/sdk/application/Common/CommonApplicationClient.js +52 -33
- package/sdk/application/Common/CommonApplicationModel.d.ts +368 -19
- package/sdk/application/Common/CommonApplicationModel.js +192 -40
- package/sdk/application/Common/CommonApplicationValidator.d.ts +42 -4
- package/sdk/application/Common/CommonApplicationValidator.js +21 -3
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +31 -18
- package/sdk/application/Communication/CommunicationApplicationClient.js +86 -47
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +157 -14
- package/sdk/application/Communication/CommunicationApplicationModel.js +104 -23
- package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +27 -4
- package/sdk/application/Communication/CommunicationApplicationValidator.js +21 -5
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +149 -118
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +457 -260
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +2235 -110
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +1113 -193
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +160 -8
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +88 -4
- package/sdk/application/Content/ContentApplicationClient.d.ts +149 -139
- package/sdk/application/Content/ContentApplicationClient.js +489 -278
- package/sdk/application/Content/ContentApplicationModel.d.ts +1010 -105
- package/sdk/application/Content/ContentApplicationModel.js +737 -396
- package/sdk/application/Content/ContentApplicationValidator.d.ts +214 -12
- package/sdk/application/Content/ContentApplicationValidator.js +113 -3
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +23 -29
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +74 -47
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +148 -20
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +100 -87
- package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +55 -5
- package/sdk/application/FileStorage/FileStorageApplicationValidator.js +33 -6
- package/sdk/application/Lead/LeadApplicationClient.d.ts +57 -53
- package/sdk/application/Lead/LeadApplicationClient.js +188 -103
- package/sdk/application/Lead/LeadApplicationModel.d.ts +686 -54
- package/sdk/application/Lead/LeadApplicationModel.js +330 -244
- package/sdk/application/Lead/LeadApplicationValidator.d.ts +91 -9
- package/sdk/application/Lead/LeadApplicationValidator.js +51 -6
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +40 -33
- package/sdk/application/Logistic/LogisticApplicationClient.js +131 -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 +93 -133
- package/sdk/application/Order/OrderApplicationClient.js +329 -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 +400 -366
- package/sdk/application/Payment/PaymentApplicationClient.js +1176 -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 +205 -350
- package/sdk/application/PosCart/PosCartApplicationClient.js +720 -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 +58 -47
- package/sdk/application/Rewards/RewardsApplicationClient.js +187 -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 +52 -50
- package/sdk/application/Share/ShareApplicationClient.js +185 -97
- package/sdk/application/Share/ShareApplicationModel.d.ts +198 -15
- package/sdk/application/Share/ShareApplicationModel.js +131 -31
- package/sdk/application/Share/ShareApplicationValidator.d.ts +86 -8
- package/sdk/application/Share/ShareApplicationValidator.js +48 -4
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +30 -27
- package/sdk/application/Theme/ThemeApplicationClient.js +102 -56
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +1291 -48
- package/sdk/application/Theme/ThemeApplicationModel.js +895 -134
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +49 -5
- package/sdk/application/Theme/ThemeApplicationValidator.js +26 -3
- package/sdk/application/User/UserApplicationClient.d.ts +260 -305
- package/sdk/application/User/UserApplicationClient.js +910 -522
- package/sdk/application/User/UserApplicationModel.d.ts +992 -101
- package/sdk/application/User/UserApplicationModel.js +699 -248
- package/sdk/application/User/UserApplicationValidator.d.ts +457 -33
- package/sdk/application/User/UserApplicationValidator.js +265 -31
- package/sdk/common/AxiosHelper.js +7 -2
- package/sdk/common/FDKError.d.ts +3 -0
- package/sdk/common/FDKError.js +8 -0
- package/sdk/common/Paginator.d.ts +27 -12
- package/sdk/common/Paginator.js +15 -0
- package/sdk/common/RequestSigner.js +0 -1
- package/sdk/common/utils.d.ts +3 -0
- package/sdk/common/utils.js +29 -0
- package/sdk/partner/PartnerAPIClient.d.ts +16 -1
- package/sdk/partner/PartnerAPIClient.js +12 -2
- package/sdk/partner/PartnerClient.d.ts +22 -3
- package/sdk/partner/PartnerClient.js +20 -0
- package/sdk/partner/PartnerConfig.d.ts +40 -14
- package/sdk/partner/PartnerConfig.js +31 -6
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +299 -0
- package/sdk/partner/Theme/ThemePartnerClient.js +768 -0
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +1706 -0
- package/sdk/partner/Theme/ThemePartnerModel.js +1409 -0
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +22 -0
- package/sdk/partner/Theme/ThemePartnerValidator.js +157 -0
- package/sdk/partner/index.d.ts +3 -1
- package/sdk/partner/index.js +3 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +30 -25
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +104 -53
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +190 -17
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +132 -15
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +52 -5
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +30 -4
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +133 -97
- package/sdk/platform/Billing/BillingPlatformClient.js +561 -191
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +1071 -68
- package/sdk/platform/Billing/BillingPlatformModel.js +762 -151
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +175 -12
- package/sdk/platform/Billing/BillingPlatformValidator.js +118 -8
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +454 -635
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +1646 -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 +3839 -175
- package/sdk/platform/Cart/CartPlatformModel.js +2423 -217
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +528 -638
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +1600 -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 +652 -826
- package/sdk/platform/Catalog/CatalogPlatformClient.js +1979 -1264
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +6869 -326
- package/sdk/platform/Catalog/CatalogPlatformModel.js +4215 -351
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +1361 -71
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +624 -30
- package/sdk/platform/Common/CommonPlatformClient.d.ts +16 -21
- package/sdk/platform/Common/CommonPlatformClient.js +50 -33
- package/sdk/platform/Common/CommonPlatformModel.d.ts +423 -19
- package/sdk/platform/Common/CommonPlatformModel.js +214 -40
- package/sdk/platform/Common/CommonPlatformValidator.d.ts +37 -4
- package/sdk/platform/Common/CommonPlatformValidator.js +20 -3
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +731 -303
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +3095 -785
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +699 -41
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +463 -27
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +19 -5
- package/sdk/platform/Communication/CommunicationPlatformClient.js +59 -19
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +1708 -102
- package/sdk/platform/Communication/CommunicationPlatformModel.js +1360 -235
- package/sdk/platform/Communication/CommunicationPlatformValidator.d.ts +16 -3
- package/sdk/platform/Communication/CommunicationPlatformValidator.js +11 -3
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +127 -111
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +435 -225
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +882 -43
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +666 -78
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +184 -13
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +105 -10
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +327 -240
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +922 -438
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +297 -22
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +191 -17
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +184 -178
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +555 -311
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +4337 -188
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +2178 -248
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +332 -19
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +153 -10
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +605 -578
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1996 -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 +1472 -108
- package/sdk/platform/Content/ContentPlatformModel.js +1085 -204
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +85 -82
- package/sdk/platform/Discount/DiscountPlatformClient.js +333 -175
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +281 -15
- package/sdk/platform/Discount/DiscountPlatformModel.js +189 -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 +109 -52
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +570 -105
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +141 -6
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +118 -7
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +43 -63
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +153 -135
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +426 -20
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +379 -40
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +106 -8
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +60 -8
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +260 -129
- package/sdk/platform/Finance/FinancePlatformClient.js +1182 -194
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +1267 -50
- package/sdk/platform/Finance/FinancePlatformModel.js +1252 -38
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +233 -15
- package/sdk/platform/Finance/FinancePlatformValidator.js +229 -16
- package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +111 -97
- package/sdk/platform/Inventory/InventoryPlatformClient.js +330 -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 +100 -106
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +372 -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 +89 -104
- package/sdk/platform/Lead/LeadPlatformClient.js +305 -180
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +1045 -54
- package/sdk/platform/Lead/LeadPlatformModel.js +504 -142
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +173 -12
- package/sdk/platform/Lead/LeadPlatformValidator.js +92 -15
- package/sdk/platform/OAuthClient.js +6 -2
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +20 -14
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +58 -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 +437 -556
- package/sdk/platform/Order/OrderPlatformClient.js +1500 -760
- package/sdk/platform/Order/OrderPlatformModel.d.ts +5225 -247
- package/sdk/platform/Order/OrderPlatformModel.js +3473 -260
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +859 -37
- package/sdk/platform/Order/OrderPlatformValidator.js +435 -23
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +16 -42
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +52 -155
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +37 -6
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +19 -17
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +78 -45
- package/sdk/platform/Partner/PartnerPlatformModel.js +43 -369
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +418 -288
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +1509 -505
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +438 -30
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +312 -19
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +83 -73
- package/sdk/platform/Payment/PaymentPlatformClient.js +259 -154
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +3200 -93
- package/sdk/platform/Payment/PaymentPlatformModel.js +1334 -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 +31 -12581
- package/sdk/platform/PlatformClient.js +30 -15089
- package/sdk/platform/PlatformConfig.d.ts +37 -11
- package/sdk/platform/PlatformConfig.js +32 -6
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +96 -92
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +344 -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 +360 -23
- package/sdk/platform/Rewards/RewardsPlatformModel.js +238 -22
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +159 -92
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +473 -208
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +138 -13
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +100 -14
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +166 -178
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +518 -329
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +1408 -96
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +1034 -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 +41 -66
- package/sdk/platform/Share/SharePlatformApplicationClient.js +149 -116
- 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 +167 -19
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +229 -193
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +976 -352
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +345 -24
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +206 -14
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +37 -0
- package/sdk/platform/Theme/ThemePlatformClient.js +235 -0
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +1527 -48
- package/sdk/platform/Theme/ThemePlatformModel.js +1099 -118
- package/sdk/platform/Theme/ThemePlatformValidator.d.ts +32 -0
- package/sdk/platform/Theme/ThemePlatformValidator.js +38 -0
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +138 -152
- package/sdk/platform/User/UserPlatformApplicationClient.js +470 -244
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +242 -18
- package/sdk/platform/User/UserPlatformApplicationValidator.js +129 -12
- package/sdk/platform/User/UserPlatformModel.d.ts +653 -101
- package/sdk/platform/User/UserPlatformModel.js +467 -424
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +153 -49
- package/sdk/platform/Webhook/WebhookPlatformClient.js +896 -88
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +632 -16
- package/sdk/platform/Webhook/WebhookPlatformModel.js +502 -54
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +170 -7
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +157 -7
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +16 -21
- package/sdk/public/Configuration/ConfigurationPublicClient.js +48 -33
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +370 -19
- package/sdk/public/Configuration/ConfigurationPublicModel.js +191 -40
- package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +42 -4
- package/sdk/public/Configuration/ConfigurationPublicValidator.js +21 -3
- package/sdk/public/Inventory/InventoryPublicClient.d.ts +54 -48
- package/sdk/public/Inventory/InventoryPublicClient.js +161 -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/Partner/PartnerPublicClient.d.ts +22 -0
- package/sdk/public/Partner/PartnerPublicClient.js +110 -0
- package/sdk/public/Partner/PartnerPublicModel.d.ts +240 -0
- package/sdk/public/Partner/PartnerPublicModel.js +280 -0
- package/sdk/public/Partner/PartnerPublicValidator.d.ts +18 -0
- package/sdk/public/Partner/PartnerPublicValidator.js +19 -0
- package/sdk/public/PublicAPIClient.d.ts +14 -1
- package/sdk/public/PublicAPIClient.js +7 -1
- package/sdk/public/PublicClient.d.ts +21 -3
- package/sdk/public/PublicClient.js +20 -0
- package/sdk/public/PublicConfig.d.ts +27 -6
- package/sdk/public/PublicConfig.js +17 -1
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +16 -11
- package/sdk/public/Webhook/WebhookPublicClient.js +48 -27
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +52 -16
- package/sdk/public/Webhook/WebhookPublicModel.js +33 -113
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +18 -3
- package/sdk/public/Webhook/WebhookPublicValidator.js +14 -4
- package/sdk/public/index.d.ts +1 -0
- package/sdk/public/index.js +2 -0
- package/sdk/application/ApplicationModels.d.ts +0 -3
- package/sdk/application/ApplicationModels.js +0 -20
- package/sdk/platform/Partner/PartnerPlatformClient.d.ts +0 -145
- package/sdk/platform/Partner/PartnerPlatformClient.js +0 -799
- package/sdk/platform/Partner/PartnerPlatformValidator.d.ts +0 -14
- package/sdk/platform/Partner/PartnerPlatformValidator.js +0 -87
|
@@ -49,463 +49,497 @@ declare class Payment {
|
|
|
49
49
|
_urls: {};
|
|
50
50
|
updateUrls(urls: any): void;
|
|
51
51
|
/**
|
|
52
|
-
* @param {
|
|
53
|
-
* @param {
|
|
54
|
-
* @
|
|
52
|
+
* @param {PaymentApplicationValidator.AddBeneficiaryDetailsParam} arg - Arg object.
|
|
53
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
54
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
55
|
+
* @returns {Promise<PaymentApplicationModel.RefundAccountResponse>} -
|
|
56
|
+
* Success response
|
|
57
|
+
* @name addBeneficiaryDetails
|
|
55
58
|
* @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.
|
|
57
|
-
*/
|
|
58
|
-
addBeneficiaryDetails({ body }?: {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
*
|
|
63
|
-
* @param {
|
|
64
|
-
* @
|
|
59
|
+
* @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/).
|
|
60
|
+
*/
|
|
61
|
+
addBeneficiaryDetails({ body, requestHeaders }?: PaymentApplicationValidator.AddBeneficiaryDetailsParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.RefundAccountResponse>;
|
|
62
|
+
/**
|
|
63
|
+
* @param {PaymentApplicationValidator.AddRefundBankAccountUsingOTPParam} arg
|
|
64
|
+
* - Arg object.
|
|
65
|
+
*
|
|
66
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
67
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
68
|
+
* @returns {Promise<PaymentApplicationModel.RefundAccountResponse>} -
|
|
69
|
+
* Success response
|
|
70
|
+
* @name addRefundBankAccountUsingOTP
|
|
65
71
|
* @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.
|
|
72
|
+
* @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
73
|
*/
|
|
68
|
-
addRefundBankAccountUsingOTP({ body }?: {
|
|
69
|
-
body: AddBeneficiaryDetailsOTPRequest;
|
|
70
|
-
}): Promise<RefundAccountResponse>;
|
|
74
|
+
addRefundBankAccountUsingOTP({ body, requestHeaders }?: PaymentApplicationValidator.AddRefundBankAccountUsingOTPParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.RefundAccountResponse>;
|
|
71
75
|
/**
|
|
72
|
-
* @param {
|
|
73
|
-
* @param {
|
|
74
|
-
* @
|
|
76
|
+
* @param {PaymentApplicationValidator.AttachCardToCustomerParam} arg - Arg object.
|
|
77
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
78
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
79
|
+
* @returns {Promise<PaymentApplicationModel.AttachCardsResponse>} - Success response
|
|
80
|
+
* @name attachCardToCustomer
|
|
75
81
|
* @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.
|
|
82
|
+
* @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
83
|
*/
|
|
78
|
-
attachCardToCustomer({ body }?: {
|
|
79
|
-
body: AttachCardRequest;
|
|
80
|
-
}): Promise<AttachCardsResponse>;
|
|
84
|
+
attachCardToCustomer({ body, requestHeaders }?: PaymentApplicationValidator.AttachCardToCustomerParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.AttachCardsResponse>;
|
|
81
85
|
/**
|
|
82
|
-
* @param {
|
|
83
|
-
* @param {
|
|
84
|
-
* @
|
|
86
|
+
* @param {PaymentApplicationValidator.CancelPaymentLinkParam} arg - Arg object.
|
|
87
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
88
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
89
|
+
* @returns {Promise<PaymentApplicationModel.CancelPaymentLinkResponse>} -
|
|
90
|
+
* Success response
|
|
91
|
+
* @name cancelPaymentLink
|
|
85
92
|
* @summary: Cancel payment link
|
|
86
|
-
* @description: Use this API to cancel a payment link for the customer
|
|
93
|
+
* @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
94
|
*/
|
|
88
|
-
cancelPaymentLink({ body }?: {
|
|
89
|
-
body: CancelOrResendPaymentLinkRequest;
|
|
90
|
-
}): Promise<CancelPaymentLinkResponse>;
|
|
95
|
+
cancelPaymentLink({ body, requestHeaders }?: PaymentApplicationValidator.CancelPaymentLinkParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.CancelPaymentLinkResponse>;
|
|
91
96
|
/**
|
|
92
|
-
* @param {
|
|
93
|
-
* @param {
|
|
94
|
-
* @param {
|
|
95
|
-
* @returns {Promise<CardDetailsResponse>} - Success response
|
|
97
|
+
* @param {PaymentApplicationValidator.CardDetailsParam} arg - Arg object.
|
|
98
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
99
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
100
|
+
* @returns {Promise<PaymentApplicationModel.CardDetailsResponse>} - Success response
|
|
101
|
+
* @name cardDetails
|
|
96
102
|
* @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
|
-
* @param {
|
|
106
|
-
* @returns {Promise<PaymentStatusUpdateResponse>}
|
|
103
|
+
* @description: API to get Card info from PG - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/cardDetails/).
|
|
104
|
+
*/
|
|
105
|
+
cardDetails({ cardInfo, aggregator, requestHeaders }?: PaymentApplicationValidator.CardDetailsParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.CardDetailsResponse>;
|
|
106
|
+
/**
|
|
107
|
+
* @param {PaymentApplicationValidator.CheckAndUpdatePaymentStatusParam} arg
|
|
108
|
+
* - Arg object.
|
|
109
|
+
*
|
|
110
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
111
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
112
|
+
* @returns {Promise<PaymentApplicationModel.PaymentStatusUpdateResponse>}
|
|
113
|
+
* - Success response
|
|
114
|
+
*
|
|
115
|
+
* @name checkAndUpdatePaymentStatus
|
|
107
116
|
* @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
|
-
* @
|
|
117
|
+
* @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/).
|
|
118
|
+
*/
|
|
119
|
+
checkAndUpdatePaymentStatus({ body, requestHeaders }?: PaymentApplicationValidator.CheckAndUpdatePaymentStatusParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.PaymentStatusUpdateResponse>;
|
|
120
|
+
/**
|
|
121
|
+
* @param {PaymentApplicationValidator.CheckAndUpdatePaymentStatusPaymentLinkParam} arg
|
|
122
|
+
* - Arg object.
|
|
123
|
+
*
|
|
124
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
125
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
126
|
+
* @returns {Promise<PaymentApplicationModel.PaymentStatusUpdateResponse>}
|
|
127
|
+
* - Success response
|
|
128
|
+
*
|
|
129
|
+
* @name checkAndUpdatePaymentStatusPaymentLink
|
|
117
130
|
* @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.
|
|
131
|
+
* @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
132
|
*/
|
|
120
|
-
checkAndUpdatePaymentStatusPaymentLink({ body }?: {
|
|
121
|
-
body: PaymentStatusUpdateRequest;
|
|
122
|
-
}): Promise<PaymentStatusUpdateResponse>;
|
|
133
|
+
checkAndUpdatePaymentStatusPaymentLink({ body, requestHeaders }?: PaymentApplicationValidator.CheckAndUpdatePaymentStatusPaymentLinkParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.PaymentStatusUpdateResponse>;
|
|
123
134
|
/**
|
|
124
|
-
* @param {
|
|
125
|
-
* @param {
|
|
126
|
-
* @
|
|
135
|
+
* @param {PaymentApplicationValidator.CheckCreditParam} arg - Arg object.
|
|
136
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
137
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
138
|
+
* @returns {Promise<PaymentApplicationModel.CheckCreditResponse>} - Success response
|
|
139
|
+
* @name checkCredit
|
|
127
140
|
* @summary: API to fetch the customer credit summary
|
|
128
|
-
* @description: Use this API to fetch the customer credit summary.
|
|
129
|
-
*/
|
|
130
|
-
checkCredit({ aggregator }?: {
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
*
|
|
135
|
-
* @param {
|
|
136
|
-
* @
|
|
141
|
+
* @description: Use this API to fetch the customer credit summary. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/checkCredit/).
|
|
142
|
+
*/
|
|
143
|
+
checkCredit({ aggregator, requestHeaders }?: PaymentApplicationValidator.CheckCreditParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.CheckCreditResponse>;
|
|
144
|
+
/**
|
|
145
|
+
* @param {PaymentApplicationValidator.CreateOrderHandlerPaymentLinkParam} arg
|
|
146
|
+
* - Arg object.
|
|
147
|
+
*
|
|
148
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
149
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
150
|
+
* @returns {Promise<PaymentApplicationModel.CreateOrderUserResponse>} -
|
|
151
|
+
* Success response
|
|
152
|
+
* @name createOrderHandlerPaymentLink
|
|
137
153
|
* @summary: Create Order user
|
|
138
|
-
* @description: Use this API to create a order and payment on aggregator side
|
|
154
|
+
* @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
155
|
*/
|
|
140
|
-
createOrderHandlerPaymentLink({ body }?: {
|
|
141
|
-
body: CreateOrderUserRequest;
|
|
142
|
-
}): Promise<CreateOrderUserResponse>;
|
|
156
|
+
createOrderHandlerPaymentLink({ body, requestHeaders }?: PaymentApplicationValidator.CreateOrderHandlerPaymentLinkParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.CreateOrderUserResponse>;
|
|
143
157
|
/**
|
|
144
|
-
* @param {
|
|
145
|
-
* @param {
|
|
146
|
-
* @
|
|
158
|
+
* @param {PaymentApplicationValidator.CreatePaymentLinkParam} arg - Arg object.
|
|
159
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
160
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
161
|
+
* @returns {Promise<PaymentApplicationModel.CreatePaymentLinkResponse>} -
|
|
162
|
+
* Success response
|
|
163
|
+
* @name createPaymentLink
|
|
147
164
|
* @summary: Create payment link
|
|
148
|
-
* @description: Use this API to create a payment link for the customer
|
|
165
|
+
* @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
166
|
*/
|
|
150
|
-
createPaymentLink({ body }?: {
|
|
151
|
-
body: CreatePaymentLinkRequest;
|
|
152
|
-
}): Promise<CreatePaymentLinkResponse>;
|
|
167
|
+
createPaymentLink({ body, requestHeaders }?: PaymentApplicationValidator.CreatePaymentLinkParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.CreatePaymentLinkResponse>;
|
|
153
168
|
/**
|
|
154
|
-
* @param {
|
|
155
|
-
* @param {
|
|
156
|
-
* @
|
|
169
|
+
* @param {PaymentApplicationValidator.CustomerCreditSummaryParam} arg - Arg object.
|
|
170
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
171
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
172
|
+
* @returns {Promise<PaymentApplicationModel.CustomerCreditSummaryResponse>}
|
|
173
|
+
* - Success response
|
|
174
|
+
*
|
|
175
|
+
* @name customerCreditSummary
|
|
157
176
|
* @summary: API to fetch the customer credit summary
|
|
158
|
-
* @description: Use this API to fetch the customer credit summary.
|
|
177
|
+
* @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
178
|
*/
|
|
160
|
-
customerCreditSummary({ aggregator }?: {
|
|
161
|
-
aggregator?: string;
|
|
162
|
-
}): Promise<CustomerCreditSummaryResponse>;
|
|
179
|
+
customerCreditSummary({ aggregator, requestHeaders }?: PaymentApplicationValidator.CustomerCreditSummaryParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.CustomerCreditSummaryResponse>;
|
|
163
180
|
/**
|
|
164
|
-
* @param {
|
|
165
|
-
* @param {
|
|
166
|
-
* @
|
|
181
|
+
* @param {PaymentApplicationValidator.CustomerOnboardParam} arg - Arg object.
|
|
182
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
183
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
184
|
+
* @returns {Promise<PaymentApplicationModel.CustomerOnboardingResponse>} -
|
|
185
|
+
* Success response
|
|
186
|
+
* @name customerOnboard
|
|
167
187
|
* @summary: API to fetch the customer credit summary
|
|
168
|
-
* @description: Use this API to fetch the customer credit summary.
|
|
188
|
+
* @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
189
|
*/
|
|
170
|
-
customerOnboard({ body }?: {
|
|
171
|
-
body: CustomerOnboardingRequest;
|
|
172
|
-
}): Promise<CustomerOnboardingResponse>;
|
|
190
|
+
customerOnboard({ body, requestHeaders }?: PaymentApplicationValidator.CustomerOnboardParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.CustomerOnboardingResponse>;
|
|
173
191
|
/**
|
|
174
|
-
* @param {
|
|
175
|
-
* @param {
|
|
176
|
-
* @
|
|
192
|
+
* @param {PaymentApplicationValidator.DeleteUserCardParam} arg - Arg object.
|
|
193
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
194
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
195
|
+
* @returns {Promise<PaymentApplicationModel.DeleteCardsResponse>} - Success response
|
|
196
|
+
* @name deleteUserCard
|
|
177
197
|
* @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
|
-
* @
|
|
198
|
+
* @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/).
|
|
199
|
+
*/
|
|
200
|
+
deleteUserCard({ body, requestHeaders }?: PaymentApplicationValidator.DeleteUserCardParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.DeleteCardsResponse>;
|
|
201
|
+
/**
|
|
202
|
+
* @param {PaymentApplicationValidator.EnableOrDisableRefundTransferModeParam} arg
|
|
203
|
+
* - Arg object.
|
|
204
|
+
*
|
|
205
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
206
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
207
|
+
* @returns {Promise<PaymentApplicationModel.UpdateRefundTransferModeResponse>}
|
|
208
|
+
* - Success response
|
|
209
|
+
*
|
|
210
|
+
* @name enableOrDisableRefundTransferMode
|
|
187
211
|
* @summary: Enable/Disable a mode for transferring a refund
|
|
188
|
-
* @description: Activate or Deactivate Transfer Mode to collect Beneficiary Details for Refund
|
|
212
|
+
* @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
213
|
*/
|
|
190
|
-
enableOrDisableRefundTransferMode({ body }?: {
|
|
191
|
-
body: UpdateRefundTransferModeRequest;
|
|
192
|
-
}): Promise<UpdateRefundTransferModeResponse>;
|
|
214
|
+
enableOrDisableRefundTransferMode({ body, requestHeaders }?: PaymentApplicationValidator.EnableOrDisableRefundTransferModeParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.UpdateRefundTransferModeResponse>;
|
|
193
215
|
/**
|
|
194
|
-
* @param {
|
|
195
|
-
* @param {
|
|
196
|
-
* @
|
|
216
|
+
* @param {PaymentApplicationValidator.GetActiveCardAggregatorParam} arg - Arg object.
|
|
217
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
218
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
219
|
+
* @returns {Promise<PaymentApplicationModel.ActiveCardPaymentGatewayResponse>}
|
|
220
|
+
* - Success response
|
|
221
|
+
*
|
|
222
|
+
* @name getActiveCardAggregator
|
|
197
223
|
* @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.
|
|
224
|
+
* @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
225
|
*/
|
|
200
|
-
getActiveCardAggregator({ refresh }?: {
|
|
201
|
-
refresh?: boolean;
|
|
202
|
-
}): Promise<ActiveCardPaymentGatewayResponse>;
|
|
226
|
+
getActiveCardAggregator({ refresh, requestHeaders }?: PaymentApplicationValidator.GetActiveCardAggregatorParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.ActiveCardPaymentGatewayResponse>;
|
|
203
227
|
/**
|
|
204
|
-
* @param {
|
|
205
|
-
*
|
|
228
|
+
* @param {PaymentApplicationValidator.GetActiveRefundTransferModesParam} arg
|
|
229
|
+
* - Arg object.
|
|
230
|
+
*
|
|
231
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
232
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
233
|
+
* @returns {Promise<PaymentApplicationModel.TransferModeResponse>} - Success response
|
|
234
|
+
* @name getActiveRefundTransferModes
|
|
206
235
|
* @summary: Lists the mode of refund
|
|
207
|
-
* @description: Use this API to retrieve eligible refund modes (such as Netbanking) and add the beneficiary details.
|
|
236
|
+
* @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
237
|
*/
|
|
209
|
-
getActiveRefundTransferModes({}?: any): Promise<TransferModeResponse>;
|
|
238
|
+
getActiveRefundTransferModes({ requestHeaders }?: any, { responseHeaders }?: object): Promise<PaymentApplicationModel.TransferModeResponse>;
|
|
210
239
|
/**
|
|
211
|
-
* @param {
|
|
212
|
-
* @param {
|
|
213
|
-
* @
|
|
240
|
+
* @param {PaymentApplicationValidator.GetActiveUserCardsParam} arg - Arg object.
|
|
241
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
242
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
243
|
+
* @returns {Promise<PaymentApplicationModel.ListCardsResponse>} - Success response
|
|
244
|
+
* @name getActiveUserCards
|
|
214
245
|
* @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
|
-
forceRefresh?: boolean;
|
|
219
|
-
}): Promise<ListCardsResponse>;
|
|
220
|
-
/**
|
|
221
|
-
* @param {Object} arg - Arg object.
|
|
222
|
-
* @param {string} [arg.xApiToken] - Used for basic authentication.
|
|
223
|
-
* @param {boolean} [arg.refresh] - This is a boolean value. Select `true`
|
|
224
|
-
* to remove temporary cache files on payment gateway and replace with the
|
|
225
|
-
* latest one.
|
|
226
|
-
* @returns {Promise<AggregatorsConfigDetailResponse>} - Success response
|
|
227
|
-
* @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.
|
|
246
|
+
* @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/).
|
|
229
247
|
*/
|
|
230
|
-
|
|
231
|
-
xApiToken?: string;
|
|
232
|
-
refresh?: boolean;
|
|
233
|
-
}): Promise<AggregatorsConfigDetailResponse>;
|
|
248
|
+
getActiveUserCards({ forceRefresh, requestHeaders }?: PaymentApplicationValidator.GetActiveUserCardsParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.ListCardsResponse>;
|
|
234
249
|
/**
|
|
235
|
-
* @param {
|
|
236
|
-
* @
|
|
250
|
+
* @param {PaymentApplicationValidator.GetAggregatorsConfigParam} arg - Arg object.
|
|
251
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
252
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
253
|
+
* @returns {Promise<PaymentApplicationModel.AggregatorsConfigDetailResponse>}
|
|
254
|
+
* - Success response
|
|
255
|
+
*
|
|
256
|
+
* @name getAggregatorsConfig
|
|
257
|
+
* @summary: Get payment gateway keys
|
|
258
|
+
* @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/).
|
|
259
|
+
*/
|
|
260
|
+
getAggregatorsConfig({ xApiToken, refresh, requestHeaders }?: PaymentApplicationValidator.GetAggregatorsConfigParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.AggregatorsConfigDetailResponse>;
|
|
261
|
+
/**
|
|
262
|
+
* @param {PaymentApplicationValidator.GetEpaylaterBannerDetailsParam} arg
|
|
263
|
+
* - Arg object.
|
|
264
|
+
*
|
|
265
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
266
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
267
|
+
* @returns {Promise<PaymentApplicationModel.EpaylaterBannerResponse>} -
|
|
268
|
+
* Success response
|
|
269
|
+
* @name getEpaylaterBannerDetails
|
|
237
270
|
* @summary: Get Epaylater Enabled
|
|
238
|
-
* @description: Get Epaylater Enabled if user is tentatively approved by epaylater
|
|
239
|
-
*/
|
|
240
|
-
getEpaylaterBannerDetails({}?: any): Promise<EpaylaterBannerResponse>;
|
|
241
|
-
/**
|
|
242
|
-
* @param {
|
|
243
|
-
*
|
|
244
|
-
*
|
|
245
|
-
* @
|
|
271
|
+
* @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/).
|
|
272
|
+
*/
|
|
273
|
+
getEpaylaterBannerDetails({ requestHeaders }?: any, { responseHeaders }?: object): Promise<PaymentApplicationModel.EpaylaterBannerResponse>;
|
|
274
|
+
/**
|
|
275
|
+
* @param {PaymentApplicationValidator.GetOrderBeneficiariesDetailParam} arg
|
|
276
|
+
* - Arg object.
|
|
277
|
+
*
|
|
278
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
279
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
280
|
+
* @returns {Promise<PaymentApplicationModel.OrderBeneficiaryResponse>} -
|
|
281
|
+
* Success response
|
|
282
|
+
* @name getOrderBeneficiariesDetail
|
|
246
283
|
* @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.
|
|
284
|
+
* @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
285
|
*/
|
|
249
|
-
getOrderBeneficiariesDetail({ orderId }?: {
|
|
250
|
-
orderId: string;
|
|
251
|
-
}): Promise<OrderBeneficiaryResponse>;
|
|
286
|
+
getOrderBeneficiariesDetail({ orderId, requestHeaders }?: PaymentApplicationValidator.GetOrderBeneficiariesDetailParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.OrderBeneficiaryResponse>;
|
|
252
287
|
/**
|
|
253
|
-
* @param {
|
|
254
|
-
* @param {
|
|
255
|
-
* @
|
|
288
|
+
* @param {PaymentApplicationValidator.GetPaymentLinkParam} arg - Arg object.
|
|
289
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
290
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
291
|
+
* @returns {Promise<PaymentApplicationModel.GetPaymentLinkResponse>} -
|
|
292
|
+
* Success response
|
|
293
|
+
* @name getPaymentLink
|
|
256
294
|
* @summary: Get payment link
|
|
257
|
-
* @description: Use this API to get a payment link
|
|
258
|
-
*/
|
|
259
|
-
getPaymentLink({ paymentLinkId }?: {
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
* @param {
|
|
264
|
-
* @
|
|
265
|
-
*
|
|
266
|
-
* @
|
|
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
|
|
295
|
+
* @description: Use this API to get a payment link - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getPaymentLink/).
|
|
296
|
+
*/
|
|
297
|
+
getPaymentLink({ paymentLinkId, requestHeaders }?: PaymentApplicationValidator.GetPaymentLinkParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.GetPaymentLinkResponse>;
|
|
298
|
+
/**
|
|
299
|
+
* @param {PaymentApplicationValidator.GetPaymentModeRoutesParam} arg - Arg object.
|
|
300
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
301
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
302
|
+
* @returns {Promise<PaymentApplicationModel.PaymentModeRouteResponse>} -
|
|
303
|
+
* Success response
|
|
304
|
+
* @name getPaymentModeRoutes
|
|
276
305
|
* @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
|
|
306
|
+
* @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/).
|
|
307
|
+
*/
|
|
308
|
+
getPaymentModeRoutes({ amount, cartId, pincode, checkoutMode, refresh, cardReference, userDetails, requestHeaders, }?: PaymentApplicationValidator.GetPaymentModeRoutesParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.PaymentModeRouteResponse>;
|
|
309
|
+
/**
|
|
310
|
+
* @param {PaymentApplicationValidator.GetPaymentModeRoutesPaymentLinkParam} arg
|
|
311
|
+
* - Arg object.
|
|
312
|
+
*
|
|
313
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
314
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
315
|
+
* @returns {Promise<PaymentApplicationModel.PaymentModeRouteResponse>} -
|
|
316
|
+
* Success response
|
|
317
|
+
* @name getPaymentModeRoutesPaymentLink
|
|
292
318
|
* @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
|
-
* @param {
|
|
300
|
-
* @
|
|
301
|
-
*
|
|
302
|
-
* @
|
|
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
|
|
319
|
+
* @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/).
|
|
320
|
+
*/
|
|
321
|
+
getPaymentModeRoutesPaymentLink({ paymentLinkId, requestHeaders }?: PaymentApplicationValidator.GetPaymentModeRoutesPaymentLinkParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.PaymentModeRouteResponse>;
|
|
322
|
+
/**
|
|
323
|
+
* @param {PaymentApplicationValidator.GetPosPaymentModeRoutesParam} arg - Arg object.
|
|
324
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
325
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
326
|
+
* @returns {Promise<PaymentApplicationModel.PaymentModeRouteResponse>} -
|
|
327
|
+
* Success response
|
|
328
|
+
* @name getPosPaymentModeRoutes
|
|
315
329
|
* @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
|
-
amount: number;
|
|
320
|
-
cartId: string;
|
|
321
|
-
pincode: string;
|
|
322
|
-
checkoutMode: string;
|
|
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
|
|
331
|
-
* @summary: Get CreditLine Offer
|
|
332
|
-
* @description: Get CreditLine Offer if user is tentatively approved by rupifi
|
|
330
|
+
* @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/).
|
|
333
331
|
*/
|
|
334
|
-
|
|
332
|
+
getPosPaymentModeRoutes({ amount, cartId, pincode, checkoutMode, orderType, refresh, cardReference, userDetails, requestHeaders, }?: PaymentApplicationValidator.GetPosPaymentModeRoutesParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.PaymentModeRouteResponse>;
|
|
335
333
|
/**
|
|
336
|
-
* @param {
|
|
337
|
-
* @param {
|
|
338
|
-
*
|
|
339
|
-
* @returns {Promise<
|
|
334
|
+
* @param {PaymentApplicationValidator.GetRupifiBannerDetailsParam} arg - Arg object.
|
|
335
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
336
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
337
|
+
* @returns {Promise<PaymentApplicationModel.RupifiBannerResponse>} - Success response
|
|
338
|
+
* @name getRupifiBannerDetails
|
|
339
|
+
* @summary: Get CreditLine Offer
|
|
340
|
+
* @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/).
|
|
341
|
+
*/
|
|
342
|
+
getRupifiBannerDetails({ requestHeaders }?: any, { responseHeaders }?: object): Promise<PaymentApplicationModel.RupifiBannerResponse>;
|
|
343
|
+
/**
|
|
344
|
+
* @param {PaymentApplicationValidator.GetUserBeneficiariesDetailParam} arg
|
|
345
|
+
* - Arg object.
|
|
346
|
+
*
|
|
347
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
348
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
349
|
+
* @returns {Promise<PaymentApplicationModel.OrderBeneficiaryResponse>} -
|
|
350
|
+
* Success response
|
|
351
|
+
* @name getUserBeneficiariesDetail
|
|
340
352
|
* @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.
|
|
353
|
+
* @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
354
|
*/
|
|
343
|
-
getUserBeneficiariesDetail({ orderId }?: {
|
|
344
|
-
orderId: string;
|
|
345
|
-
}): Promise<OrderBeneficiaryResponse>;
|
|
355
|
+
getUserBeneficiariesDetail({ orderId, requestHeaders }?: PaymentApplicationValidator.GetUserBeneficiariesDetailParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.OrderBeneficiaryResponse>;
|
|
346
356
|
/**
|
|
347
|
-
* @param {
|
|
348
|
-
* @param {
|
|
349
|
-
* @
|
|
357
|
+
* @param {PaymentApplicationValidator.InitialisePaymentParam} arg - Arg object.
|
|
358
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
359
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
360
|
+
* @returns {Promise<PaymentApplicationModel.PaymentInitializationResponse>}
|
|
361
|
+
* - Success response
|
|
362
|
+
*
|
|
363
|
+
* @name initialisePayment
|
|
350
364
|
* @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
|
-
* @
|
|
365
|
+
* @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/).
|
|
366
|
+
*/
|
|
367
|
+
initialisePayment({ body, requestHeaders }?: PaymentApplicationValidator.InitialisePaymentParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.PaymentInitializationResponse>;
|
|
368
|
+
/**
|
|
369
|
+
* @param {PaymentApplicationValidator.InitialisePaymentPaymentLinkParam} arg
|
|
370
|
+
* - Arg object.
|
|
371
|
+
*
|
|
372
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
373
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
374
|
+
* @returns {Promise<PaymentApplicationModel.PaymentInitializationResponse>}
|
|
375
|
+
* - Success response
|
|
376
|
+
*
|
|
377
|
+
* @name initialisePaymentPaymentLink
|
|
360
378
|
* @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.
|
|
379
|
+
* @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
380
|
*/
|
|
363
|
-
initialisePaymentPaymentLink({ body }?: {
|
|
364
|
-
body: PaymentInitializationRequest;
|
|
365
|
-
}): Promise<PaymentInitializationResponse>;
|
|
381
|
+
initialisePaymentPaymentLink({ body, requestHeaders }?: PaymentApplicationValidator.InitialisePaymentPaymentLinkParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.PaymentInitializationResponse>;
|
|
366
382
|
/**
|
|
367
|
-
* @param {
|
|
368
|
-
* @param {
|
|
369
|
-
* @
|
|
383
|
+
* @param {PaymentApplicationValidator.OutstandingOrderDetailsParam} arg - Arg object.
|
|
384
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
385
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
386
|
+
* @returns {Promise<PaymentApplicationModel.OutstandingOrderDetailsResponse>}
|
|
387
|
+
* - Success response
|
|
388
|
+
*
|
|
389
|
+
* @name outstandingOrderDetails
|
|
370
390
|
* @summary: API to fetch the outstanding order details
|
|
371
|
-
* @description: Use this API to fetch the outstanding order details.
|
|
391
|
+
* @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
392
|
*/
|
|
373
|
-
outstandingOrderDetails({ aggregator }?: {
|
|
374
|
-
aggregator?: string;
|
|
375
|
-
}): Promise<OutstandingOrderDetailsResponse>;
|
|
393
|
+
outstandingOrderDetails({ aggregator, requestHeaders }?: PaymentApplicationValidator.OutstandingOrderDetailsParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.OutstandingOrderDetailsResponse>;
|
|
376
394
|
/**
|
|
377
|
-
* @param {
|
|
378
|
-
* @param {
|
|
379
|
-
* @
|
|
395
|
+
* @param {PaymentApplicationValidator.PaidOrderDetailsParam} arg - Arg object.
|
|
396
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
397
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
398
|
+
* @returns {Promise<PaymentApplicationModel.PaidOrderDetailsResponse>} -
|
|
399
|
+
* Success response
|
|
400
|
+
* @name paidOrderDetails
|
|
380
401
|
* @summary: API to fetch the paid order details
|
|
381
|
-
* @description: Use this API to fetch the paid order details.
|
|
402
|
+
* @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
403
|
*/
|
|
383
|
-
paidOrderDetails({ aggregator }?: {
|
|
384
|
-
aggregator?: string;
|
|
385
|
-
}): Promise<PaidOrderDetailsResponse>;
|
|
404
|
+
paidOrderDetails({ aggregator, requestHeaders }?: PaymentApplicationValidator.PaidOrderDetailsParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.PaidOrderDetailsResponse>;
|
|
386
405
|
/**
|
|
387
|
-
* @param {
|
|
388
|
-
* @param {
|
|
389
|
-
* @
|
|
406
|
+
* @param {PaymentApplicationValidator.PollingPaymentLinkParam} arg - Arg object.
|
|
407
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
408
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
409
|
+
* @returns {Promise<PaymentApplicationModel.PollingPaymentLinkResponse>} -
|
|
410
|
+
* Success response
|
|
411
|
+
* @name pollingPaymentLink
|
|
390
412
|
* @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
|
-
* @param {
|
|
398
|
-
* @
|
|
399
|
-
*
|
|
400
|
-
*
|
|
401
|
-
*
|
|
402
|
-
* @returns {Promise<RedirectToAggregatorResponse>} - Success response
|
|
413
|
+
* @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/).
|
|
414
|
+
*/
|
|
415
|
+
pollingPaymentLink({ paymentLinkId, requestHeaders }?: PaymentApplicationValidator.PollingPaymentLinkParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.PollingPaymentLinkResponse>;
|
|
416
|
+
/**
|
|
417
|
+
* @param {PaymentApplicationValidator.RedirectToAggregatorParam} arg - Arg object.
|
|
418
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
419
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
420
|
+
* @returns {Promise<PaymentApplicationModel.RedirectToAggregatorResponse>}
|
|
421
|
+
* - Success response
|
|
422
|
+
*
|
|
423
|
+
* @name redirectToAggregator
|
|
403
424
|
* @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
|
|
425
|
+
* @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
426
|
*/
|
|
406
|
-
redirectToAggregator({ source, aggregator }?: {
|
|
407
|
-
source?: string;
|
|
408
|
-
aggregator?: string;
|
|
409
|
-
}): Promise<RedirectToAggregatorResponse>;
|
|
427
|
+
redirectToAggregator({ source, aggregator, requestHeaders }?: PaymentApplicationValidator.RedirectToAggregatorParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.RedirectToAggregatorResponse>;
|
|
410
428
|
/**
|
|
411
|
-
* @param {
|
|
412
|
-
* @param {
|
|
413
|
-
* @
|
|
429
|
+
* @param {PaymentApplicationValidator.RenderHTMLParam} arg - Arg object.
|
|
430
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
431
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
432
|
+
* @returns {Promise<PaymentApplicationModel.renderHTMLResponse>} - Success response
|
|
433
|
+
* @name renderHTML
|
|
414
434
|
* @summary: Convert base64 string to HTML form
|
|
415
|
-
* @description: Use this API to decode base64 html form to plain HTML string.
|
|
435
|
+
* @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
436
|
*/
|
|
417
|
-
renderHTML({ body }?: {
|
|
418
|
-
body: renderHTMLRequest;
|
|
419
|
-
}): Promise<renderHTMLResponse>;
|
|
437
|
+
renderHTML({ body, requestHeaders }?: PaymentApplicationValidator.RenderHTMLParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.renderHTMLResponse>;
|
|
420
438
|
/**
|
|
421
|
-
* @param {
|
|
422
|
-
* @param {
|
|
423
|
-
* @
|
|
439
|
+
* @param {PaymentApplicationValidator.ResendOrCancelPaymentParam} arg - Arg object.
|
|
440
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
441
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
442
|
+
* @returns {Promise<PaymentApplicationModel.ResendOrCancelPaymentResponse>}
|
|
443
|
+
* - Success response
|
|
444
|
+
*
|
|
445
|
+
* @name resendOrCancelPayment
|
|
424
446
|
* @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.
|
|
447
|
+
* @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
448
|
*/
|
|
427
|
-
resendOrCancelPayment({ body }?: {
|
|
428
|
-
body: ResendOrCancelPaymentRequest;
|
|
429
|
-
}): Promise<ResendOrCancelPaymentResponse>;
|
|
449
|
+
resendOrCancelPayment({ body, requestHeaders }?: PaymentApplicationValidator.ResendOrCancelPaymentParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.ResendOrCancelPaymentResponse>;
|
|
430
450
|
/**
|
|
431
|
-
* @param {
|
|
432
|
-
* @param {
|
|
433
|
-
* @
|
|
451
|
+
* @param {PaymentApplicationValidator.ResendPaymentLinkParam} arg - Arg object.
|
|
452
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
453
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
454
|
+
* @returns {Promise<PaymentApplicationModel.ResendPaymentLinkResponse>} -
|
|
455
|
+
* Success response
|
|
456
|
+
* @name resendPaymentLink
|
|
434
457
|
* @summary: Resend payment link
|
|
435
|
-
* @description: Use this API to resend a payment link for the customer
|
|
436
|
-
*/
|
|
437
|
-
resendPaymentLink({ body }?: {
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
* @param {
|
|
442
|
-
* @param {
|
|
443
|
-
* @returns {Promise<SetDefaultBeneficiaryResponse>}
|
|
458
|
+
* @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/).
|
|
459
|
+
*/
|
|
460
|
+
resendPaymentLink({ body, requestHeaders }?: PaymentApplicationValidator.ResendPaymentLinkParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.ResendPaymentLinkResponse>;
|
|
461
|
+
/**
|
|
462
|
+
* @param {PaymentApplicationValidator.UpdateDefaultBeneficiaryParam} arg -
|
|
463
|
+
* Arg object.
|
|
464
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
465
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
466
|
+
* @returns {Promise<PaymentApplicationModel.SetDefaultBeneficiaryResponse>}
|
|
467
|
+
* - Success response
|
|
468
|
+
*
|
|
469
|
+
* @name updateDefaultBeneficiary
|
|
444
470
|
* @summary: Set a default beneficiary for a refund
|
|
445
|
-
* @description: Use this API to set a default beneficiary for getting a refund.
|
|
471
|
+
* @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
472
|
*/
|
|
447
|
-
updateDefaultBeneficiary({ body }?: {
|
|
448
|
-
body: SetDefaultBeneficiaryRequest;
|
|
449
|
-
}): Promise<SetDefaultBeneficiaryResponse>;
|
|
473
|
+
updateDefaultBeneficiary({ body, requestHeaders }?: PaymentApplicationValidator.UpdateDefaultBeneficiaryParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.SetDefaultBeneficiaryResponse>;
|
|
450
474
|
/**
|
|
451
|
-
* @param {
|
|
452
|
-
* @param {
|
|
453
|
-
* @
|
|
475
|
+
* @param {PaymentApplicationValidator.ValidateVPAParam} arg - Arg object.
|
|
476
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
477
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
478
|
+
* @returns {Promise<PaymentApplicationModel.ValidateVPAResponse>} - Success response
|
|
479
|
+
* @name validateVPA
|
|
454
480
|
* @summary: API to Validate UPI ID
|
|
455
|
-
* @description: API to Validate UPI ID
|
|
481
|
+
* @description: API to Validate UPI ID - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/validateVPA/).
|
|
456
482
|
*/
|
|
457
|
-
validateVPA({ body }?: {
|
|
458
|
-
body: ValidateVPARequest;
|
|
459
|
-
}): Promise<ValidateVPAResponse>;
|
|
483
|
+
validateVPA({ body, requestHeaders }?: PaymentApplicationValidator.ValidateVPAParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.ValidateVPAResponse>;
|
|
460
484
|
/**
|
|
461
|
-
* @param {
|
|
462
|
-
* @param {
|
|
463
|
-
* @
|
|
485
|
+
* @param {PaymentApplicationValidator.VerifyAndChargePaymentParam} arg - Arg object.
|
|
486
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
487
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
488
|
+
* @returns {Promise<PaymentApplicationModel.ChargeCustomerResponse>} -
|
|
489
|
+
* Success response
|
|
490
|
+
* @name verifyAndChargePayment
|
|
464
491
|
* @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.
|
|
492
|
+
* @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
493
|
*/
|
|
467
|
-
verifyAndChargePayment({ body }?: {
|
|
468
|
-
body: ChargeCustomerRequest;
|
|
469
|
-
}): Promise<ChargeCustomerResponse>;
|
|
494
|
+
verifyAndChargePayment({ body, requestHeaders }?: PaymentApplicationValidator.VerifyAndChargePaymentParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.ChargeCustomerResponse>;
|
|
470
495
|
/**
|
|
471
|
-
* @param {
|
|
472
|
-
*
|
|
473
|
-
* @
|
|
496
|
+
* @param {PaymentApplicationValidator.VerifyCustomerForPaymentParam} arg -
|
|
497
|
+
* Arg object.
|
|
498
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
499
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
500
|
+
* @returns {Promise<PaymentApplicationModel.ValidateCustomerResponse>} -
|
|
501
|
+
* Success response
|
|
502
|
+
* @name verifyCustomerForPayment
|
|
474
503
|
* @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.
|
|
504
|
+
* @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
505
|
*/
|
|
477
|
-
verifyCustomerForPayment({ body }?: {
|
|
478
|
-
body: ValidateCustomerRequest;
|
|
479
|
-
}): Promise<ValidateCustomerResponse>;
|
|
506
|
+
verifyCustomerForPayment({ body, requestHeaders }?: PaymentApplicationValidator.VerifyCustomerForPaymentParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.ValidateCustomerResponse>;
|
|
480
507
|
/**
|
|
481
|
-
* @param {
|
|
482
|
-
* @param {
|
|
483
|
-
*
|
|
484
|
-
* @returns {Promise<IfscCodeResponse>} - Success response
|
|
508
|
+
* @param {PaymentApplicationValidator.VerifyIfscCodeParam} arg - Arg object.
|
|
509
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
510
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
511
|
+
* @returns {Promise<PaymentApplicationModel.IfscCodeResponse>} - Success response
|
|
512
|
+
* @name verifyIfscCode
|
|
485
513
|
* @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
|
-
* @
|
|
514
|
+
* @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/).
|
|
515
|
+
*/
|
|
516
|
+
verifyIfscCode({ ifscCode, requestHeaders }?: PaymentApplicationValidator.VerifyIfscCodeParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.IfscCodeResponse>;
|
|
517
|
+
/**
|
|
518
|
+
* @param {PaymentApplicationValidator.VerifyOtpAndAddBeneficiaryForBankParam} arg
|
|
519
|
+
* - Arg object.
|
|
520
|
+
*
|
|
521
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
522
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
523
|
+
* @returns {Promise<PaymentApplicationModel.AddBeneficiaryViaOtpVerificationResponse>}
|
|
524
|
+
* - Success response
|
|
525
|
+
*
|
|
526
|
+
* @name verifyOtpAndAddBeneficiaryForBank
|
|
495
527
|
* @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.
|
|
528
|
+
* @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
529
|
*/
|
|
498
|
-
verifyOtpAndAddBeneficiaryForBank({ body }?: {
|
|
499
|
-
body: AddBeneficiaryViaOtpVerificationRequest;
|
|
500
|
-
}): Promise<AddBeneficiaryViaOtpVerificationResponse>;
|
|
530
|
+
verifyOtpAndAddBeneficiaryForBank({ body, requestHeaders }?: PaymentApplicationValidator.VerifyOtpAndAddBeneficiaryForBankParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.AddBeneficiaryViaOtpVerificationResponse>;
|
|
501
531
|
/**
|
|
502
|
-
* @param {
|
|
503
|
-
*
|
|
504
|
-
*
|
|
532
|
+
* @param {PaymentApplicationValidator.VerifyOtpAndAddBeneficiaryForWalletParam} arg
|
|
533
|
+
* - Arg object.
|
|
534
|
+
*
|
|
535
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
536
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
537
|
+
* @returns {Promise<PaymentApplicationModel.WalletOtpResponse>} - Success response
|
|
538
|
+
* @name verifyOtpAndAddBeneficiaryForWallet
|
|
505
539
|
* @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.
|
|
540
|
+
* @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
541
|
*/
|
|
508
|
-
verifyOtpAndAddBeneficiaryForWallet({ body }?: {
|
|
509
|
-
body: WalletOtpRequest;
|
|
510
|
-
}): Promise<WalletOtpResponse>;
|
|
542
|
+
verifyOtpAndAddBeneficiaryForWallet({ body, requestHeaders }?: PaymentApplicationValidator.VerifyOtpAndAddBeneficiaryForWalletParam, { responseHeaders }?: object): Promise<PaymentApplicationModel.WalletOtpResponse>;
|
|
511
543
|
}
|
|
544
|
+
import PaymentApplicationValidator = require("./PaymentApplicationValidator");
|
|
545
|
+
import PaymentApplicationModel = require("./PaymentApplicationModel");
|